1 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
3 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
5 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
7 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
8 resources allocated for AccessibleEvent. See cspi_event().
10 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
11 static variable streams to NULL.
13 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
14 Update so that AcessibleEvent_ref will work.
16 This fixes bug #116624.
18 2003-07-06 Jordi Mallach <jordi@sindominio.net>
20 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
22 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
24 * configure.in: Added "fr" (French) to ALL_LINGUAS.
26 2003-07-02 Christian Neumair <chris@gnome-de.org>
28 * configure.in: Added "de" (German) to ALL_LINGUAS.
30 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
32 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
34 2003-07-01 Miloslav Trmac <mitr@volny.cz>
36 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
38 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
40 * configure.in: Added "pl" to ALL_LINGUAS.
42 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
44 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
46 2003-06-30 Bill Haneman <bill.haneman@sun.com>
49 (get_action_from_servant):
50 Removed assertion that action is implemented on an AtkObject.
54 Aggregate AccessibleAction interface on the hyperlink object if
55 the object implements AtkAction. (This convention is used in
58 2003-06-30 Bill Haneman <bill.haneman@sun.com>
60 * configure.in: Revved to 1.3.5.
62 * registryd/Accessibility_Registry.server.in.in:
63 Marked up appropriate strings for translation.
65 * atk-bridge/bridge.c: Marked a couple of
66 user-visible warnings for translation. Questionable
67 whether they are really useful, but possibly so.
70 2003-06-28 Christian Rose <menthos@menthos.com>
72 * configure.in: Added "sv" to ALL_LINGUAS.
74 2003-06-26 Bill Haneman <bill.haneman@sun.com>
76 * registryd/registry.c:
77 (spi_registry_object_finalize): Unref the deviceeventcontroller.
78 (registry_defer_on_event): Defer focus: events, this is an
79 improvement to the patch for bug #108664.
81 * TODO: Update with 2.4/"Dev Complete" items.
83 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
85 * atk-bridge/bridge.c:
86 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
87 looks up signals once.
88 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
89 if doing registration.
90 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
91 when doing registration.
93 This fixes bug #115014.
95 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
97 * atk-bridge/bridge.c:
98 (atk_bridge_init): Add signal handler for children-changed:remove on
99 root when in a BonoboComponent.
100 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
101 for first toplevel only other incrememt variable toplevels.
102 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
103 application and remove listeners.
104 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
106 (spi_atk_deregister_event_listeners): New function which removes
108 (reinit_register_vars): New fuction which reinitializes variables.
110 This fixes bug #111578.
112 2003-06-13 Bill Haneman <bill.haneman@sun.com>
114 * configure.in: version 1.3.4.
116 * cspi/spi_accessible.c:
117 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
120 2003-06-13 Michael Meeks <michael@ximian.com>
122 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
124 * cspi/spi_main.c (cspi_peek_ev): impl.
126 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
128 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
130 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
132 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
133 SPI_ROLE_AUTOCOMPLETE
135 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
137 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
138 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
140 2003-06-11 Bill Haneman <bill.haneman@sun.com>
142 * libspi/streamablecontent.h:
143 * libspi/streamablecontent.c:
144 New files, provide implementation/wrappers for
145 Accessibility_StreamableContent.
147 * cspi/spi_streamablecontent.c:
148 Connected the C wrappers to the libspi C bindings.
149 (AccessibleStreamableContent_close): New method.
152 (AccessibleStreamableContent_close): New method, needed
153 since we have an "open, [seek], read, close" model in cspi.
155 2003-06-11 Bill Haneman <bill.haneman@sun.com>
157 Fix for #108664; Padraig's revision of my original patch.
159 * registryd/registry.h:
160 Added event queue list, is_queuing, and exit_notify_timeout
161 to the registry struct.
163 * registryd/registry.c:
164 (registry_init): Initialize new struct from registry.h.
165 (impl_registry_notify_event):
166 Filter events before notifying, in case some need to be
168 (registry_filter_event): New,
169 we defer certain incoming events (for instance
170 window:deactivate) because we may wish to hide
171 or reject them based on pending events. This is
172 mostly a workaround for bug #108664.
173 (registry_queue_event, registry_start_queue): New.
174 (registry_defer_on_event): Test event to see if it
176 (registry_reset_on_event): Returns TRUE if the
177 event should cause a queue reset.
178 (registry_discard_on_event): Returns TRUE if the event
179 should cause the previous queue contents to be discarded.
180 (registry_timeout_flush_queue): Flushes the pending event
181 queue if no reset/discard-triggering events have come in
182 within the timeout period.
183 (registry_emit_event): New.
184 (registry_clone_notify_context): New, used when queueing the
185 event notify contexts.
187 2003-06-10 Bill Haneman <bill.haneman@sun.com>
189 * configure.in: Version revved to 1.3.2, lt 0.9.2
190 Incremented ATK required version to 1.3.4.
192 * cspi/spi_registry.c:
193 (SPI_generateKeyEvent):
194 We now pass the keystring along if it's non-null.
196 * registryd/deviceeventcontroller.c:
197 (keysym_mod_mask): New method, returns modifier mask
198 required to generate a keysym from a given keycode.
199 (dec_synth_keysym): New method.
200 (dec_synth_keystring): New method.
201 (dec_get_modifier_state): New method.
202 (dec_lock_modifiers): New
203 (dec_unlock_modifiers): New.
204 (dec_keysym_for_unichar): New, rather brute-force
205 conversion from UCS-4 to X KeySyms. Only works for
206 Latin at the moment, with partial implementations for
207 Greek, Hebrew, and (incomplete) Katakana.
208 (impl_generate_keyboard_event): Now implement
209 "KEYSTRING" synthesis and implement "KEYSYM"
211 (keycode_from_keysym): Improved, passes a returned
212 modmask value now if the corresponding param is non-NULL.
214 Fixes bugs #92143 and #109776.
217 * test/keysynth-test.c:
218 New test program for key synthesis, to confirm fixes for
222 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
224 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
226 * cspi/spi_accessible.c (cspi_init_relation_type_table):
227 Add line for RELATION_POPUP_FOR
229 * docs/reference/cspi/tmpl/spi_relation.sgml:
230 Add relation SPI_RELATION_POPUP_FOR
232 * docs/reference/cspi/tmpl/spi_stateset.sgml:
233 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
235 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
237 * libspi/relation.c (spi_init_relation_type_table):
238 Add line for RELATION_POPUP_FOR
240 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
242 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
243 there are still windows which have not been deleted and emit
244 window:deactivate, if necessary and window:destroy events.
245 This fixes bug #114370. The change on June 5th was not correct.
247 2003-06-09 Bill Haneman <bill.haneman@sun.com>
249 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
252 (SPI_dupString): Allow dup-ing of a string such that it's safe to
254 New methods for client exception handling and interception.
255 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
256 (SPI_exceptionHandlerPop): You guessed it...
257 (SPI_getSourceType): Return the type of object which offended.
258 (SPI_getExceptionCode): Return an enum code telling, possibly,
259 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
260 (SPIAccessibleException_getSource): get the source object for
261 exceptions that come from Accessibles, if SPIExceptionSourceType is
262 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
263 (SPIException_getDescription): New, returns a string description of
264 the problem. [Not yet a stable ABI, strings are not frozen]
266 * cspi/spi-private.h:
267 Added implementation details of opaque SPIException
271 Implementations of above. Also
272 (_cspi_exception_throw): new private method that
273 dispatches exceptions to handlers, called from cspi-bonobo.c
275 * cspi/bonobo/cspi-bonobo.c:
276 (cspi_check_ev): call _cspi_exception_throw.
277 Don't print a warning message if the exception has been
278 handled by _cspi_exception_throw.
280 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
282 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
283 there are still windows which have not been deleted and emit
284 window:deactivate, if necessary and window:destroy events.
285 This fixes bug #114370.
287 2003-06-03 Bill Haneman <bill.haneman@sun.com>
290 (cspi_accessible_is_a): Make non-fatal
291 if the object reference is dead.
293 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
295 * cspi/spi_main.c: #include <stdio.h>
296 * test/simple-at.c: ditto
297 * test/event-listener-test.c: ditto
298 * test/screen-review-test.c: ditto
300 2003-05-30 Michael Meeks <michael@ximian.com>
302 * test/test-simple.c (main): use CORBA_ORB_perform_work
303 instead of an unnecessary linc_ call.
305 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
307 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
308 Add SPI_STATE_INDETERMINATE.
310 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
313 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
315 * libspi/stateset.c (init_state_type_tables): Add support for
318 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
320 * configure: Update versions of atk and gail required.
321 This fixes bug #113268.
323 2003-05-02 Bill Haneman <bill.haneman@sun.com>
325 * configure.in: Revved micro version to 1.3.1 (because of build fix).
327 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
329 * libspi/Makefile.am:
330 Ensure headers are generated before being used by c sources.
332 2003-05-01 Bill Haneman <bill.haneman@sun.com>
335 Simplified lt versioning rules.
336 Incremented version to 1.3.0, to indicate that we're on the
339 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
341 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
342 Add MKDB_OPTIONS=--outtput-format=xml
344 * docs/reference/cspi/at-spi-cspi-docs.sgml
345 docs/reference/idl/at-spi-idl-docs.sgml:
346 Convert to Docbook XML.
348 This fixes bug #111793.
350 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
352 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
353 AcccessibleKeyEventType, AccessibleKeyMaskType.
355 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
357 * cspi/state-types.h: Add documentation for AccessibleState.
359 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
360 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
361 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
362 AccessibleComponentLayer.
364 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
367 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
369 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
370 Accessible. Add description of AccessibleEvent,
371 AccessibleEventListenerCB.
373 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
376 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
377 documentation. Add description of AccessibleKeystrokeListenerCB,
378 AccessibleKeyEventMask, AccessibleModifierMaskType,
379 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
380 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
382 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
385 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
388 This fixes bug #104730.
390 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
392 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
393 Set is_text field of Accessibility_DeviceEvent data structure.
395 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
396 is-text field of AccessibleDeviceEvent data structure.
398 This addresses part of bug #108666.
400 * registryd/devcieeventcontroller.c: Unset debug option.
402 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
405 (cpi_initial_relation_type_table): New function which initializes
406 mapping between Accessibility_RelationType and AccessibleRelationType.
407 (cspi_relation_type_from_spi_relation_type): New function which
408 translates an Accessibility_RelationType into an AccessibleRelationType.
409 (AccessibleRelation_getRelationType): Use
410 cpi_relation_type_get_spi_relation_type to return correct value.
411 (spi_state_to_corba): Return correct type for default case.
413 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
414 Use Accessibility_EventType instead of Accessibility_KeyEventType.
416 * cspi/cspi-bonobo-listener.c:
417 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
420 * libspi/accessible.c, libspi/action.c, libspi/application.c,
421 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
422 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
423 libspi/image.c, libspi/listener.c, libspi/selection.c,
424 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
425 registryd/desktop.c, registryd/registry.c:
426 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
428 * libspi/eventlistener.c
429 Remove semicolon after BONOBO_TYPE_FUNC.
432 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
433 (spi_init_relation_type_table): Initialize using correct type.
435 * registryd/desktop.c:
436 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
437 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
438 of Accessibility_KeyEventType.
440 * test/key-listener-test.c (report_tab_key_event): Use fprintf
443 * tests/simple-at.c, tests/screen-review-test.c:
444 Add include for <strings.h>.
446 * tests.stress-test.c:
447 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
449 These changes fix compiler warnings when using FORTE compiler on
450 Solaris; fixes bug #107479.
453 2003-04-10 Bill Haneman <bill.haneman@sun.com>
456 * configure.in: revved to 1.1.10
459 (SPI_KEYMASK_NUMLOCK): Added.
461 * registryd/deviceeventcontroller.c:
462 (spi_key_event_matches_listener): AND with a smaller
463 bitmask (as we should).
464 (spi_dec_translate_mask):
465 New method, sets the virtual NumLock modifier bit
466 if numlock is on. Eventually it can handle other virtual
467 modifier bits if needed, or other marshalling from
468 at-spi modifier masks to platform (X) masks.
469 (spi_dec_key_listener_new):
470 Call spi_dec_translate_mask to set up virtual mod bits
471 in the 'mask' field when creating a new listener struct.
472 (spi_dec_emit_modifier_event):
473 Set the virtual (i.e. NumLock) bits before emitting event.
474 (spi_controller_register_with_devices):
475 Query for the NumLock modifier 'physical' bit if Xkb is
476 present, for use in above methods.
480 2003-04-10 Bill Haneman <bill.haneman@sun.com>
482 * registryd/deviceeventcontroller.c:
483 (spi_keystroke_from_x_key_event):
484 Instead of checking to see if the keysym is
485 printable, check the string from XLookupString
486 if available, get the first unicode character from it,
487 and call g_unichar_isprint to determine whether the
488 is_text flag should be TRUE or FALSE.
492 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
494 * atk-bridge/bridge.c: Add support for extended events
495 * cspi/spi_event.c: Add documentation and implementation for
497 * tests/event-listener-test.c: Add tests for extended events.
499 This fixes bugs #100424 and #100426.
501 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
503 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
504 of LT_CURRENT. This fixes bug #89350.
506 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
508 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
509 number of signal parameter values before accessing them. This fixes
512 2003-04-01 Bill Haneman <bill.haneman@sun.com>
514 * configure.in: Fixed duplicate inclusion of -lspi.
515 * branched for gnome-2-2/HEAD.
516 [created tag "gnome-2-2"]
518 2003-03-07 Bill Haneman <bill.haneman@sun.com>
520 * configure.in: 1.1.9 release.
523 2003-03-07 Bill Haneman <bill.haneman@sun.com>
525 [needed by GOK, to fix bugs 107985 and 107988]
526 * registryd/deviceeventcontroller.c:
527 (spi_dec_clear_unlatch_pending):
528 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
529 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
530 (spi_dec_init_mouse_listener):Emit warning if mouse button
532 (spi_device_event_controller_forward_mouse_event):
533 Removed unnecessary parens from a conditional.
534 (global_filter_fn):Added TODO comment.
535 (impl_generate_keyboard_event):
536 Cancel a pending relatch if a 'delatching' key was
539 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
541 * atk-bridge/bridge.c:
542 Change atk_signal_child_changed to atk_signal_children_changed.
543 Reorganize code in spi_atk_bridge_signal_listener().
545 * test/event-listener-test.c:
546 Add children_changed_listener and report_children_changed_event()
547 to test AccessibleChildEvent_getChildAccessible.
549 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
551 * cspi/spi_event.c (cspi_internal_event_get_text): Change
552 g_strdup to CORBA_String_dup (bug #105291)
554 * test/event-listener-test.c (report_text_event): Add call to
557 2003-02-28 Bill Haneman <bill.haneman@sun.com>
559 * registryd/deviceeventcontroller.c:
560 (spi_keystroke_from_x_key_event):
561 Fix string and keysym return codes to match modifier state.
564 2003-02-28 Bill Haneman <bill.haneman@sun.com>
566 * registryd/deviceeventcontroller.c:
567 (spi_keystroke_from_x_key_event):
568 Fix segv due to improper use of isprint(c). [bug #107254]
570 2003-02-24 Bill Haneman <bill.haneman@sun.com>
573 (get_accessible_text_boundary_type):
574 Move default return value to (new) default case in switch.
575 (get_accessible_text_clip_type):
576 Move default return value to (new) default case in switch.
578 * libspi/application.c:
579 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
580 Remove unused methods.
581 (impl_accessibility_application_register_object_event_listener):
582 Remove unused methods.
585 Added #include of <math.h>.
587 * registryd/deviceeventcontroller.c:
588 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
589 we don't currently use this method.
590 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
592 (impl_generate_key_event):
593 Remove unused variables.
594 (impl_generate_mouse_event):
595 Initialize button to zero, just in case we get an invalid
596 input. Added support for mouse buttons 4 and 5.
597 (spi_device_event_controller_new):
598 Removed unused variable declaration for 'private'.
600 Added #include of <gdk/gdk.h>
602 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
604 * configure.in: Update to work when X is not installed in expected
605 location. Fixes bug #105836.
607 * atk-bridge/bridge.c
608 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
610 (spi_atk_register_event_listener): Add signal listener for
612 (spi_atk_bridge_signal_listener): Event event when link-selected
613 signal is emitted. (bug #104622)
615 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
616 on returned string. (bug #105291)
618 * test/event-listener-test.c: Add test for link-selected.
620 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
622 * atk-bridge/Makefile.am: Correct typo in previous commit.
624 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
626 * atk-bridge/Makefile.am: Allow for build directory to be different
627 from source directory
629 * registryd/Makefile.am: Allow for build directory to be different
630 from source directory
634 2003-01-29 Bill Haneman <bill.haneman@sun.com>
637 Fixed dependencies for libcspi so that libspi gets pulled in
638 properly. Fixes 104741.
642 Clean up inline docs a little.
644 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
646 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
647 This is done by implementing AtkComponent for SpiAtkDesktop, which is
648 the AtkObject within an SpiDesktop.
649 This addresses bug #101524.
651 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
652 Remove call to gdk_init().
654 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
655 so that Display is set when SpiDesktop is created.
657 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
659 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
660 This fixes bug #102830.
662 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
664 * test/test-simple.c: Update to take account of fact that GailButton
665 now implements AtkText.
666 (create_text_window): Set name on AtkObject for GtkEntry.
667 (validate_accessible): Check accessible name before calling test_text().
669 * libspi/Makefile.am: Fix problem with building outside of source
670 directory. Bug #98120.
672 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
673 typo in documentation comments. Bug #94275.
675 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
677 * libspi/text.c (impl_getBoundedRanges): Bug fix.
679 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
682 Add includes to avoid compiler warnings on Solaris.
683 (impl_getRangeExtents): Bug fix.
685 2002-12-17 Bill Haneman <bill.haneman@sun.com>
687 Fix for 100944, [API addition approved by Gman and murrayc].
694 * idl/Accessibility_Text.idl:
695 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
696 (Text::getRangeExtents): New method for efficient
697 bounds query of a text range.
698 (Text::getBoundedRanges): New method for efficient
699 clipping of text to bounding boxes.
700 (unImplemented7, unImplemented8):
701 Removed these padding methods to preserve bincompat.
704 (impl_getRangeExtents): implementation of new IDL.
705 (impl_getBoundedRanges): implementation of new IDL.
706 (SpiTextRect): Internal use struct.
707 (_spi_text_rect_union): internal method, calculates union of two
708 SpiTextRect bounding rects.
709 (_spi_text_range_seq_from_gslist): internal method, allows us
710 to build our sequence efficiently as a gslist then convert it
712 (_spi_bounds_contain): internal method, determines whether
713 a text character is "in" or "out" of a clip rect according to
714 values of TEXT_CLIP_TYPE.
715 (spi_text_class_init): Initialize the new methods in the epv.
718 (AccessibleTextClipType): New enum used by screen review api.
719 (AccessibleTextRange): New struct used by screen review api.
720 (AccessibleText_getRangeExtents):
721 cspi binding for Accessibility_Text_getRangeExtents.
722 (AccessibleText_getBoundedRanges):
723 cspi binding for Accessibility_Text_getBoundedRanges.
724 (AccessibleTextRange_freeRanges): convenience method.
727 (AccessibleText_getRangeExtents):
728 cspi binding for Accessibility_Text_getRangeExtents.
729 (AccessibleText_getBoundedRanges):
730 cspi binding for Accessibility_Text_getBoundedRanges.
731 (AccessibleTextRange_freeRanges): convenience method.
732 (get_accessible_text_clip_type): internal conversion method.
733 (get_accessible_text_ranges_from_range_seq): internal conversion method.
735 * registryd/deviceeventcontroller.c:
736 (spi_dec_mouse_check):
737 Improved behavior for mouse:abs events
738 [same granularity as mouse:rel events, and no
739 events when mouse is idle].
741 2002-12-16 Michael Meeks <michael@ximian.com>
743 * cspi/spi_accessible.c (spi_state_to_corba): rename.
745 * libspi/stateset.c (state_spi_to_atk): split out
746 ( fix several remote array bounds nasties )
747 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
748 (impl_remove): make safe from array bounds issues.
749 (spi_atk_state_from_spi_state): impl.
751 * libspi/stateset.h (spi_state_set_cache_is_empty):
752 add a set of wrapper defines to get layering right.
754 * cspi/spi_accessible.c: update state set stuff to
757 2002-12-14 Michael Meeks <michael@ximian.com>
759 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
760 to avoid 2 roundtrips to the registry per key event
761 (spi_atk_bridge_key_listener): upd.
762 (deregister_application): release the dec.
764 * registryd/registry.c (notify_listeners_cb):
765 bin lots of re-enterant complexity - we no longer
766 do a round-trip bonobo ref here, ensure that a single
767 listener's exception failure won't poison all other
769 (impl_registry_notify_event): bin obvious memory leak.
771 2002-12-13 Michael Meeks <michael@ximian.com>
773 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
774 init the ev so the error is meaningful.
775 (spi_atk_bridge_key_listener): ditto.
777 * cspi/spi_main.c (cspi_ev): init the ev so we start
778 with a clean slate, otherwise the first exception
781 * cspi/spi_text.c (get_accessible_text_boundary_type):
782 add a fallthrough for no warnings.
784 * cspi/spi_registry.c: prune unused warnings.
786 * cspi/spi_main.c (cspi_object_take): fix
787 mind-blowing brokenness ( by watching the compile
790 * cspi/spi_accessible.c (Accessible_getStateSet):
791 re-impl. to use an AtkStateSet.
792 (spi_state_type_from_accessible_state),
793 (init_state_table): bin these.
795 * libspi/stateset.c (spi_atk_state_set_from_sequence):
797 (atk_state_set_from_accessibility_state_set): here.
799 * cspi/spi_accessible.c (spi_state_to_atk): impl.
800 (AccessibleStateSet_contains, AccessibleStateSet_ref),
801 (AccessibleStateSet_unref, AccessibleStateSet_contains),
802 (AccessibleStateSet_add, AccessibleStateSet_remove),
803 (AccessibleStateSet_equals, AccessibleStateSet_compare),
804 (AccessibleStateSet_isEmpty): re-write to use a local
807 2002-12-13 Bill Haneman <bill.haneman@sun.com>
809 * configure.in: Revved to 1.1.7 (new keymask vals).
811 2002-12-10 Bill Haneman <bill.haneman@sun.com>
814 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
816 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
819 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
820 to compare two CORBA_TypeCodes.
821 (cspi_internal_event_add): Silence warning from FORTE compiler.
823 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
824 avoid implicit declaration of functions.
826 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
828 * atk-bridge/bridge.c:
829 (spi_atk_bridge_init_event_type_consts): Store signal id for
830 active-descendant-changed signal.
831 (spi_atk_register_event_listeners): Add signal listener for
832 active-descendant-changed signal,
833 (spi_atk_bridge_signal_listener): Move code in function
834 spi_atk-signal_emit_event() into this function.
835 Add support for active-descendant-changed
836 Update support for child-changed signal.
837 (spi_bridge_window_event_listener): Silence warning.
839 * libspi/spi_private.[ch]:
840 (spi_init_any_object): Change second parameter from CORBA_Object to
842 Omit call to CORBA_Object_duplicate().
843 Set CORBA_any's _value to CORBA_Object*.
845 2002-12-06 Bill Haneman <bill.haneman@sun.com>
851 (AccessibleEvent_ref, AccessibleEvent_unref):
852 New methods, for persisting an event outside the emission context.
853 Must be used if the new accessor methods are to be called
854 outside of the event listener's callback.
856 * cspi/bonobo/cspi-bonobo.c:
857 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
858 as second parameter instead of NULL, so we can call
859 cspi_check_ev afterwards.
862 (cspi_object_take): New internal method,
863 converts a CORBA_Object reference to a hard ref on
864 an Accessible if possible, returning NULL if the object
865 reference is invalid or an Accessible * otherwise.
868 (AccessibleEvent_ref):
869 Increment the event's internal private refcount, and
870 add the event's internal struct to an internal cache
871 if it's not already there.
872 (AccessibleEvent_unref):
873 Decrement the event's refcount and remove it from
874 the cspi event cache if refcount==0.
875 (cspi_event_compare): New private method.
876 Compares two event structs via their ids. Used
878 (cspi_internal_event_lookup): New private method.
879 (cspi_internal_event_check): New private method,
880 a 0-order sanity check for events to make sure their
881 private data is intact.
882 (cspi_internal_event_add, cspi_internal_event_remove):
883 New private methods for managiing the event cache.
885 * cspi/bonobo/cspi-bonobo-listener.c:
887 Initialize the new private data elements (id, magic, ref_count).
889 * atk-bridge/bridge.c:
890 (spi_atk_bridge_signal_listener):
891 Fixed bug #100530, passing wrong params to emission func.
893 * registryd/deviceeventcontroller.c:
894 (spi_dec_button_update_and_emit):
895 Fixed type in mask bit operations; fix for #99799.
897 2002-12-02 Bill Haneman <bill.haneman@sun.com>
899 Removed some of the more dangerous workarounds from
900 previous commit; they are only needed by GOK, which
901 in reality should be using another method to accomplish
902 the goals. So on reconsideration some of the workarounds
905 * registryd/deviceeventcontroller.c:
906 (spi_keycodes_contain, spi_dec_init_keycode_list):
907 Removed these methods, used only by a nasty hack to try
908 and detect whether a key synthesis should be allowed
909 to reset the XKB latch state or not. This code was only
910 required to work around an interaction between GOK,
911 button events, and XKB.
912 (impl_generate_key_event):
913 Removed hack at end of key generation that tried to
914 "do the right thing" if XKB latch keys were generated
915 in the midst of button press/release pairs.
918 Added a check for HAVE_XINPUT. Not normally used yet.
920 2002-11-25 Bill Haneman <bill.haneman@sun.com>
922 Workarounds and fixes for mouse event/XKB interaction.
924 * registryd/deviceeventcontroller.c:
925 (spi_keycodes_contain, spi_dec_init_keycode_list):
926 New internal methods.
927 (spi_dec_set_unlatch_pending):
928 Split the method that tells XKB to expect an
929 unlatch (and revert it) out of the rest of the
930 event handling code. This method is called by the
931 two mouse event handlers (the poll and the filter).
932 (spi_dec_update_and_emit, spi_dec_mouse_check):
933 New methods split from spi_dec_poll_mouse_moved.
934 The second one is now called from inside the filterFn
935 when an XKB delatch event is received, to determine
936 whether to revert the delatch or not.
937 (spi_poll_mouse_moved): Refactor; also we can now
938 properly handle the case where multiple button states
939 have changed between polling cycles and we didn't get
940 notified due to another client's grab.
942 Synchronize the server while handling an XKB notification.
943 Ugly, but apparently necessary to avoid nasty races.
944 Check the mouse state on receipt of an XKB latch change,
945 to decide whether to revert the latch or not. (Latches are
946 reverted if there is an immediately preceding mouse button
947 event that a client has consumed, in which case we don't want
948 the user to see the side-effect of the event).
949 (spi_device_event_controller_forward_mouse_event):
950 Check for modifier events and fire before resetting mouse_mask_state,
951 prevents losing modifier events.
953 (impl_generate_keyboard_event):
954 If we've just generated a keyboard event for a non-shift key,
955 we don't want to revert the pending XKB latch.
956 Otherwise, check the modifier state (via a call to
957 spi_dev_mouse_check) and set the relatch mask to
958 that state before returning.
960 2002-11-24 Bill Haneman <bill.haneman@sun.com>
963 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
966 * atk-bridge/bridge.c:
967 (spi_atk_register_event_listeners):
968 Don't re-register for ATK events if the registry has died
969 and the app needs to re-register; the ATK listeners are in
970 process and doing so will cause duplicate emission.
972 * registryd/deviceeventcontroller.c:
973 (spi_poll_mouse_moved):
974 Reformat the source, detect and emit multiple button-change
975 events (i.e. if multiple buttons have changed between poll
977 Add code to detect mouse-down events even when the pointer
978 is grabbed; workaround for GOK bug 98420.
979 (spi_controller_register_with_devices):
980 Call XTestGrabControl with 'impervious' flag set to True,
981 allows us to synthesize events and query the pointer even during
982 an active grab by another client.
983 (spi_device_event_controller_forward_mouse_event):
984 Set the mouse_mask_state to the mouse_button_state from
985 the intercepted event, to synchronize the grab listener with
988 2002-11-20 Bill Haneman <bill.haneman@sun.com>
990 * cspi/spi_accessible.c:
991 (AccessibleRole_getName):
992 Added necessary strings for making this (deprecated)
993 method work with the new role types.
994 (init_role_table, role_table):
995 Added definition of SPI_ROLE_APPLICATION.
997 * libspi/spi-roletypes.h:
998 Added SPI_ROLE_APPLICATION.
1000 * idl/Accessibility_Role.idl:
1001 Added ROLE_APPLICATION.
1003 * docs/reference/cspi/at-spi-cspi-decl.txt:
1004 Added SPI_ROLE_APPLICATION to docs.
1006 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1008 * cspi/spi_accessible.c
1009 (cspi_init_role_table): Do not write beyond end of role_table.
1010 (Accessible_getRole): Use correct type for value returned by
1011 Accessibility_Accessible_getRole().
1013 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1014 beyond end of role_table. (This fixes bug #98269)
1016 * libspi/application.c: Add include file spi-private.h for
1017 definition of spi_init_any_nil.
1019 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1023 * libspi/spi-private.h:
1024 Added DGB() macro, and extern int _dbg declaration.
1026 * registryd/registry.c:
1027 (definitions) storage for _dbg.
1028 (spi_registry_init):
1029 Get environment variable "AT_SPI_DEBUG".
1030 (spi_registry_set_debug):
1031 New method, to initialize _dbg value.
1032 (spi_listener_struct_new, spi_registry_object_finalize):
1033 (notify_listeners_cb):
1034 Changed fprintfs to use DBG and g_warning().
1036 * registryd/deviceeventcontroller.c:
1037 (_deregister_keygrab, spi_controller_register_device_listener):
1038 Changed debug/warning messages to use DBG macro.
1040 * libspi/listener.c:
1041 (impl_notify_event):
1042 Changed warning messages to use DBG macro and g_warning().
1044 * atk-bridge/bridge.c:
1045 (atk_bridge_init, spi_atk_bridge_get_registry):
1046 (spi_atk_bridge_exit_func):
1047 (spi_atk_bridge_property_event_listener):
1048 Changed status, warning, and error messages to use
1049 g_warning, g_message, and DBG macros.
1052 Read the state of the AT_SPI_DEBUG environment variable
1053 and set a local '_dbg' accordingly.
1055 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1057 FIXES for 98836, 98842, other bugs.
1060 Revved to 1.1.4, interface-age=4, binary-age=4.
1062 * registryd/deviceeventcontroller.c:
1064 Fixed crasher bug in last_mouse_pos initialization.
1066 * registryd/registry.c:
1067 (desktop_add_application, desktop_remove_application):
1068 Added (and then commented out) some support for
1069 object context marshalling. [TODO]
1071 * atk-bridge/bridge.c:
1072 (spi_atk_bridge_event_context_create):
1073 Commented out object context creation until it can
1074 be properly tested and debugged.
1076 * registryd/registry.c:
1077 (impl_registry_notify_event):
1078 Fixed crasher bug, we were calling
1079 spi_re_entrant_list_foreach () with an empty list.
1081 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1083 * idl/Accessibility_Action.idl:
1084 * idl/Accessibility_Component.idl:
1085 * idl/Accessibility_Desktop.idl:
1086 * idl/Accessibility_Event.idl:
1087 * idl/Accessibility_Hyperlink.idl:
1088 * idl/Accessibility_Image.idl:
1089 * idl/Accessibility_Relation.idl:
1090 * idl/Accessibility_Selection.idl:
1091 * idl/Accessibility_State.idl:
1092 * idl/Accessibility_Value.idl:
1093 Updated unimplemented slot count to minimum of
1094 four for all interfaces, for ABI freeze.
1096 * idl/Accessibility_EditableText.idl:
1097 * idl/Accessibility_Text.idl:
1098 Updated unimplemented slot count to six
1101 * idl/Accessibility_Registry.idl:
1102 Updated unimplemented slot count to six
1103 (also for DeviceEventController),
1106 * idl/Accessibility_Table.idl:
1107 Updated unimplemented slot count to eight,
1110 * idl/Accessibility_Event.idl:
1111 Added CORBA_any "any_data" member to Event struct.
1113 * idl/Accessibility_Event.idl:
1114 Added CORBA_any "any_data" member to Event struct.
1116 * atk-bridge/bridge.c:
1118 atk_signal_text_changed, atk_signal_child_changed,
1119 signal ids queried from gtype system.
1120 (AtkBridgeEventContextType): New enum.
1121 (AtkBridgeEventContextData): New struct.
1122 (AtkBridgeEventContext): New struct.
1123 (atk_bridge_init_event_type_consts):
1124 New method, initializes type contants for comparison
1125 prior to emit_eventv.
1126 (atk_bridge_event_context_init): New method,
1127 initializes a CORBA_any from an AtkBridgeEventContext.
1128 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1129 initialize the event.any_data struct.
1130 (spi_atk_bridge_event_context_create): New method,
1131 creates an AtkBridgeEventContext from signal/event info.
1132 (spi_atk_bridge_event_context_free): New method.
1133 (spi_atk_emit_eventv): Changed to take an
1134 AtkBridgeEventContext parameter. We now initialize
1135 the event.any_data member prior to notifying the
1136 Registry, via the AtkBridgeEventContext.
1137 (spi_atk_bridge_property_event_listener):
1138 (spi_atk_bridge_state_event_listener):
1139 Match emit_eventv signature.
1140 (spi_atk_bridge_object_event_listener):
1141 Match emit_eventv signature, and create an
1142 event context from the event details.
1143 Free the event context afterwards.
1144 (spi_atk_bridge_window_event_listener):
1145 Create an event context, pass it to the
1149 (AccessibleEvent_getContextString):
1150 (AccessibleEvent_getContextObject):
1151 New methods, allow query of AccessibleEvent objects
1152 for more context details (via the "any_data" member
1153 of the Event struct, above).
1156 Definitions for AccessibleEvent_getContextString
1157 and AccessibleEvent_getContextObject.
1159 * cspi/spi_listener.h:
1160 (InternalEvent): New struct.
1163 (AccessibleEvent_getContextString):
1164 (AccessibleEvent_getContextObject):
1165 Implementations of new methods, for obtaining
1166 additional context information from some event types.
1168 * cspi/spi_registry.c:
1169 (SPI_registerGlobalEventListener):
1170 Added mention of active-descendant-changed event in docs.
1172 * cspi/cspi-bonobo-listener.c:
1174 Marshal the any into the AccessibleEvent via
1177 * libspi/spi-private.h:
1178 #include <orbit/orbit.h>
1180 (spi_init_any_string):
1181 (spi_init_any_object):
1182 New convenience function declarations.
1186 (spi_init_any_string):
1187 (spi_init_any_object):
1188 New convenience function implementations.
1190 * registryd/deviceeventcontroller.c:
1191 (spi_poll_dec_mouse_moved):
1192 (spi_device_event_controller_forward_mous_event):
1193 Initialize any_data member of event.
1194 (spi_deregister_controller_device_listener):
1195 Fix incorrect param pass which was preventing deregistration.
1197 * registryd/registry.c:
1198 (desktop_add_application):
1199 (desktop_remove_application):
1200 Add object data to event's any_data before dispatch.
1202 Fix for error messages from GAIL.
1204 * test/event-listener-test.c:
1205 Test new ContextString and "any_data" API:
1206 (report_text_event): New method query and output context string.
1207 (main): register a new text listener with report_text_event
1210 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1212 Fixes for bugs 98127 and 97914.
1213 * cspi/spi-roletypes.h:
1214 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1216 * cspi/spi-statetypes.h:
1217 Added SPI_STATE_MANAGES_DESCENDANTS
1219 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1220 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1221 * cspi/spi_accessible.c:
1222 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1223 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1224 Accessibility_STATE_MANAGES_DESCENDANTS
1225 * libspi/accessible.c:
1226 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1227 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1228 As requested by Bill, I also cleaned up the alignment.
1229 * libspi/relation.c:
1230 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1231 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1232 * libspi/stateset.c:
1233 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1234 Accessibility_STATE_MANAGES_DESCENDANTS
1235 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1236 Document changes reflecting modifications to roles.
1237 * docs/reference/cspi/tmpl/spi_relation.sgml:
1238 Document changes reflecting modifications to relations.
1239 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1240 Document changes reflecting modifications to states.
1242 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1245 Revved to 1.1.3, interface-age=3, binary-age=3.
1246 Added REBUILD macro.
1249 Removed accessx-gui from the tests, since we have a nice
1250 keyboard accessibility capplet now :-)
1252 * test/keysynth-demo.c:
1253 (increment_scan): removed do-nothing default: case,
1256 * test/visual-bell.c:
1257 (main) : removed do-nothing default: case,
1260 * cspi/spi_action.c:
1261 (AccessibleAction_getKeyBinding_):
1262 Documented keybinding string format.
1266 (AccessibleText_getAttributes):
1267 Documented the text attribute string format.
1268 It's changed to use semicolon delimiters also,
1269 to prevent clashes with CSS attributes, but the old
1270 trick of looking for ", " strings will still work
1271 (as unreliably as ever). Fix for bug related to 97916.
1274 Include <cspi/bonobo/cspi-bonobo-listener.h>
1275 Fixes build warning.
1276 (SPI_freeAccessibleKeySet):
1277 (AccessibleKeystrokeListener_addCallback):
1278 (AccessibleKeystrokeListener_removeCallback):
1279 Modify to use AccessibleDeviceListener API internally,
1280 instead of AccessibleKeystrokeListener.
1282 * idl/Accessibility_Event.idl:
1283 Added two more empty slots to EventListener (for a total of four).
1285 * idl/Accessibility_Accessible.idl:
1286 Added four empty slots to Accessible interface.
1288 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1290 * idl/Accessibility_Registry.idl:
1291 (KeyEventType, EventType):
1292 Marked KeyEventType as deprecated; it duplicates
1293 functionality of EventType, which has been extended to
1294 include Mouse-button events.
1295 (KeyEventTypeSeq): defined in terms of EventType.
1296 (registerDeviceEventListener, deregisterDeviceEventListener):
1297 New methods, for managing listeners to device events,
1298 which potentially may consume them.
1301 Added definition for AccessibleDeviceListener.
1303 * cspi/spi-listener.h:
1304 (enum AccessibleDeviceEventType):
1305 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1306 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1307 for backwards compat.
1308 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1309 and typedef'd AccessibleKeystroke to it for back-compat.
1310 (AccessibleDeviceListenerCB):
1311 New function prototype typedef.
1314 (AccessibleDeviceEventMask): New typedef.
1315 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1316 (AccessibleKeyMaskType):
1317 Set equivalent to AccessibleModifierMaskType for back-compat.
1318 (SPI_createAccessibleKeystrokeListener):
1319 (AccessibleKeystrokeListener_unref):
1320 Deprecated in favor of equivalent (better-named) new API below..
1321 keystroke listeners are like all device listeners.
1322 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1323 New API names for old features :-).
1324 (AccessibleDeviceListener_addCallback):
1325 (AccessibleDeviceListener_removeCallback):
1326 (SPI_registerDeviceEventListener):
1327 (SPI_deregisterDeviceEventListener):
1331 (SPI_createAccessibleKeystrokeListener):
1332 Use new preferred API, cspi_device_listener_new() and
1333 cspi_device_listener_add_cb().
1334 (AccessibleKeystrokeListener_removeCallback):
1335 Use new preferred API, cspi_device_listener_remove_cb().
1336 (AccessibleKeystrokeListener_unref):
1337 Use new preferred API, cspi_device_listener_unref().
1338 (SPI_createAccessibleDeviceListener):
1339 (AccessibleDeviceListener_addCallback):
1340 (AccessibleDeviceListener_removeCallback):
1341 Implementation of new API.
1343 * cspi/spi_registry.c:
1344 (SPI_registerDeviceEventListener):
1345 (SPI_deregisterDeviceEventListener):
1346 Implementation of new API. Fixed memory leak and removed need to
1347 allocate EventTypeSeq (thanks Michael for catching this).
1348 Squashed a wayward CORBA_exception_free that shouldn't get called.
1350 * cspi/bonobo/cspi-bonobo-listener.c:
1352 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1353 (cspi_key_event): renamed to cspi_device_event().
1354 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1355 Extended to handle mouse button events as well as key events.
1356 (CSpiKeystrokeListener):
1357 Class superceded by CSpiDeviceListener.
1358 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1359 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1361 * cspi/bonobo/cspi-bonobo-listener.h:
1362 (CSpiKeystrokeListener):
1363 Class superceded by CSpiDeviceListener.
1364 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1365 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1367 * libspi/Makefile.am:
1368 Replaced keystrokelistener.h and keystrokelistener.c
1369 with devicelistener.h and devicelistener.c; keystrokelisener.h
1370 stub retained for back-compat.
1372 * libspi/keystrokelistener.c:
1376 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1378 * registryd/deviceeventcontroller.c:
1379 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1380 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1381 (DEControllerPrivateData): Added xkb settings data.
1382 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1383 button release events (which can't be captured via XGrabButton).
1384 Don't dispatch via the 'normal' event mechanism if the device event was
1386 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1387 Handle the typeseq data in its new location (see above).
1388 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1389 New methods, for "generic" device listeners.
1390 (spi_controller_register_device_listener):
1391 Now handle mouse event listeners as well as key listeners.
1392 (spi_controller_notify_mouselisteners):
1393 New internal method.
1394 (spi_device_event_controller_forward_mouse_event):
1395 Now we notify mouse device listeners as well as generating the
1396 non-consumable "mouse:" events.
1398 We must check and restore the XKB
1399 modifier map if we consume the event, since the act of triggering
1400 a mouse event will normally reset the XKB latch. This is required for
1402 (spi_controller_register_with_devices):
1403 Load the XKB settings when registering, and register for XKB
1404 state notify events.
1405 (spi_key_eventtype_seq_contains_event):
1406 Renamed spi_eventtype_seq_contains_event, since it's used
1407 internally for all device event types now.
1408 (spi_key_event_matches_listener):
1409 Uses spi_eventtype_seq_contains_event now.
1410 (spi_device_event_controller_object_finalize):
1411 Free the private data and the XkbKeyboard struct.
1412 (impl_register_device_listener, impl_deregister_device_listener):
1413 Implementation of new IDL.
1414 (spi_deregister_controller_device_listener):
1415 New internal method.
1416 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1417 More efficient implementation, we don't have to create a new
1418 XkbControls structure every time we query.
1419 (spi_device_event_controller_class_init):
1420 Initialize the epv entries for the new IDL. Assign the
1421 "spi-dec-private" quark.
1422 (spi_device_event_controller_init):
1423 Initialize the private data.
1424 (spi_device_event_controller_forward_key_event):
1425 Removed a bogus CORBA_exception_free() call.
1427 * registryd/deviceeventcontroller.h:
1428 Replaced inclusion of keystrokelistener.h with
1431 * test/event-listener-test.c:
1432 (report_mouse_event):
1435 Added mouse-event device listener.
1437 * test/test-simple.c:
1438 (create_test_window):
1439 Fixed regression (we were instantiating a GtkRange,
1440 which is now an abstract class). Also fixed to match
1441 existing AtkRole names, this seems to have changed in ATK
1442 awhile ago; too late now I think, and the new
1443 mechanism is at least elegant and consistent with the
1444 glib enum "nick" APIs.
1446 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1448 * idl/Accessibility_Relation.idl:
1449 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1450 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1451 * idl/Accessibility_Role.idl:
1452 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1453 * idl/Accessibility_State.idl:
1454 add STATE_MANAGES_DESCENDANTS
1455 * test/event-listener-test.c:
1456 Added a listener for active-descendant events.
1458 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1460 * atk-bridge/bridge.c
1461 (atk_bridge_init): If application is Bonobo component wait until top
1462 level is added before registering
1463 (spi_atk_bridge_do_registration): New function which contains code,
1464 formerly in atk_bridge_init, to do application registration.
1465 (spi_atk_bridge_toplevel_added): Signal called when top level
1466 added to Bonobo component
1468 This fixes bug #83134.
1470 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1472 * registryd/deviceeventcontroller.c
1473 Fixed compilation error caused by calling gettimeofday()
1476 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1481 Added template for HAVE_XKB.
1484 Changes to check for XKB, and to set the HAVE_XKB #define if it
1487 * libspi/listener.c:
1488 ()impl_notify_event): Make failure to get event source name
1491 * registryd/deviceeventcontroller.c:
1492 (#include): include X11/XKBlib.h.
1493 (DEControllerPrivateData) : New struct.
1494 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1496 (dec_synth_keycode_press) (dec_synth_keycode_release):
1497 New methods; split the key synthesis code into these methods.
1498 They check XKB settings before determining the "time" values to
1499 pass to Xtest; this fixes bug #95828.
1500 (impl_generate_keyboard_event): Changed to use methods above,
1501 instead of callng Xtest directly.
1502 (spi_device_event_controller_init): Initialize new privae struct s
1504 (spi_device_event_controllr_object_finalize):
1505 Free the (new) private data.
1507 * registryd/deviceeventcontroller.h:
1508 Add new gpointer to end of struct data.
1510 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1513 Incremented revision to 1.1.2, SONAME is still '.so', library
1514 extensions are ".so.0.0.2".
1516 * registryd/deviceeventcontroller.c:
1517 FIXES FOR #93592 and #95940.
1518 (statics): renamed mouse_button_state to mouse_mask_state,
1519 added key_modifier_mask.
1520 (spi_dec_poll_mouse_moved):
1521 Added key modifier checks, and emit "keyboard:modifiers"
1522 events when the key modifiers currently in use change.
1523 Also generate "mouse:abs" events periodically, even if the mouse
1524 is stationary (should we?).
1525 Alternatively we could generate "mouse:abs" events for either all
1526 mouse movements, or every 'nth' mouse movement, or at the
1527 beginning and end of every "active" mouse period.
1529 * test/event-listener-test.c:
1530 (main): Added listener for "keyboard:modifiers" events.
1532 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1534 * libspi/keymasks.h:
1535 Added key mask #defines for mouse buttons; e.g.
1536 SPI_KEYMASK_BUTTON1, etc.
1539 Incremented dependency on ATK to version 1.1.0. (This dependency
1540 is probably premature but will soon be real enough).
1542 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1544 * libspi/hyperlink.[ch]
1545 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1546 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1549 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1554 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1556 * registryd/deviceeventcontroller.c
1557 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1558 events to be ignored.
1559 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1560 keyboard_mode so that XAllowEvents() can be called.
1564 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1566 * cspi/spi-accessible.c: Correct names of roles returned by
1567 AccessibleRole_getName(). Fixes bug #95055.
1569 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1571 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1574 * registryd/registry.c
1575 (desktop_remove_application: Write diagnostic message to stderr for
1578 (impl_accessibility_registry_deregister_global_event_listener):
1579 Correct size of lists array. This addresses bug #94555).
1581 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1583 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1586 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1588 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1591 * registryd/registry.c (impl_registry_notify_event): Remove
1592 unnecessary call to parser_event_type().
1594 * docs/reference/cspi/tmpl/spi_component.sgml:
1595 Add reference to SPI_LAYER_WINDOW.
1597 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1599 * registryd/registry.c
1600 (desktop_add_application): Remove leak.
1601 (desktop_remove_application): Remove leak.
1602 (parser_event_type): Remove leak.
1604 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1606 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1607 bogus call to CORBA_string_dup(). Also removed unnecessary
1608 g_string_dup/g_free calls.
1610 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1612 * registryd/deviceeventcontroller.c:
1613 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1615 * test/event-listener-test.c:
1616 main: commented out three redundant listeners, to reduce output
1617 noise. (They still are potentially useful for testing).
1620 2002-09-13 Michael Meeks <michael@ximian.com>
1622 * Update all the copyrights to include Ximian.
1624 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1626 * cspi/spi.h: add SPI_LAYER_WINDOW.
1628 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1629 add Accessibility_LAYER_WINDOW case.
1631 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1633 * libspi/component.c: (impl_accessibility_component_get_layer):
1634 add ATK_LAYER_WINDOW case.
1636 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1638 * configure.in: incremented micro version.
1640 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1642 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1645 Clarified and reworded our commit policy.
1648 Started an API "todo" addition list for 2.2.
1651 (impl_getSelection):
1652 Free char pointer from atk_text_get_selection, which was being leaked.
1654 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1657 Small revision to author acknowledgement.
1659 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1661 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1662 If signal has detail add it to the type of the event.
1665 2002-08-12 Michael Meeks <michael@ximian.com>
1667 * test/test-simple.c (global_listener_cb): bin bogosity.
1668 (test_keylisteners): disable, still doesn't work reliably,
1669 certainly not on my system anyway.
1671 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1672 don't leak a reference on the DEC. This round-trip
1673 fetching of the DEC per keystroke sucks, it should be
1676 * cspi/spi-private.h,
1677 * cspi/cspi-lowlevel.h,
1678 * cspi/bonobo/cspi-bonobo-listener.[ch],
1679 * cspi/bonobo/cspi-bonobo.c: get the copyright
1680 notices better - there is still a large amount of
1681 work in at-spi falsely attributed solely to Sun.
1683 * cspi/spi_main.c (cspi_object_ref): kill bogus
1684 hash lookup, just increment the ref.
1685 (SPI_freeString): make explicit the fact that we
1686 handle NULL strings just fine.
1687 (report_leaked_ref): obey coding standards.
1688 (cspi_object_hash, cspi_object_equal): kill retval.
1689 (cspi_object_release): only release if not on loan.
1690 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1691 (cspi_object_borrow, cspi_object_return): impl.
1693 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1694 use cspi_object_borrow / return.
1696 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1698 * cspi/bonobo/cspi-bonobo-listener.c:
1700 Don't call cspi_oject_new() because this is creating a new Accessible
1701 every single time that an event is fired. This causes ATs like at-poke
1702 to nolonger recognise the source of the event and thus ignore it.
1703 Re-use the object from the cache, ref it and then unref it after the
1704 listeners have been called.
1706 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1708 * test/event-listener-test.c:
1709 Added command-line options to disable mouse events (m) and
1712 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1714 * configure.in: Update required versions of ATK, GTK+ and GAIL
1716 * cspi-1.0.pc.in: Add dependency for X include files
1719 * cspi/bonobo/Makefile.am:
1720 Add $(X_CFLAGS) so that X include files
1721 are picked up even if not in standard place (bug #71686)
1723 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1725 * registryd/deviceeventcontroller.c: fix for 84261
1726 (spi_dec_mouse_moved):
1727 Added test of mouse button mask, so that we can detect mouse
1728 button release. Unfortunately we can't otherwise detect mouse
1729 button release events without consuming the mouse press event,
1730 because of the way XGrabButton works. This means that our mouse
1731 release events have a latency dependent on the polling period
1732 while the mouse button is down. At least in this case we only
1733 have to poll while the button is down, and not at other times.
1734 If the button masks don't match with what the last press event
1735 reported, we report the appropriate button release event.
1736 (spi_dec_ungrab_mouse):
1737 New method (not yet called).
1738 (spi_device_event_controller_forward_mouse_event):
1739 New method, sends mouse press event from GdkFilter.
1740 (spi_dec_init_mouse_listener):
1741 Added code to call XGrabButton, redirecting mouse button events to
1742 the root window and our Gdk event loop.
1744 Added code to filter mouse button events, and reordered.
1746 * test/event-listener-test.c:
1748 Added registration for mouse events of type "mouse:button".
1750 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1752 * registryd/deviceeventcontroller.c: partial fix for 84261
1753 (spi_dec_poll_mouse_idle):
1754 New method, a timeout which checks to see if the mouse
1756 (spi_dec_poll_mouse_moving):
1757 A timeout to be called when mouse motion is underway.
1758 (spi_dec_poll_mouse_moved):
1759 A method which fires an event if the mouse has moved, and reports
1760 whether or not it did so.
1761 (spi_dec_init_mouse_listener):
1762 A method which sets up the timeouts above.
1763 (spi_device_event_controller_new):
1764 Now calls spi_dec_init_mouse_listener.
1766 * registryd/registry.c:
1767 (spi_registry_init):
1768 Now we initialize the device event controller when the registry is
1769 initialized, instead of waiting until a client has requested a key
1770 event notification; this is because we need the event controller
1771 for mouse events, but the mouse event registration API is a
1772 "registry" call and doesn't explicitly call the
1773 deviceeventcontroller.
1774 We now report mouse motion events with a 100 ms idle latency and
1775 a 20 ms granularity when motion is in progress.
1777 * test/event-listener-test.c:
1779 We now register the "detail listener" for events of type
1780 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1781 delivered only for the first mouse event received, and thereafter
1782 "mouse:abs" events are delivered.)
1784 * cspi/spi_registry.c:
1785 DOCS: Documented the above mouse event typestrings.
1787 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1789 Happy Summer Solstice...
1791 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1792 (spi_controller_notify_keylisteners):
1793 Changes to remove a listener from the listener list, freeing its
1794 open keygrabs, if a notification to that listener fails. This
1795 means that although a dead listener can continue to hold a passive
1796 keygrab, a maximum of one dispatch to such a listener can fail
1797 before the listener is removed from the list, thus the keygrab
1798 will be released on the next occurrence.
1799 As part of this fix:
1800 (spi_notify_keylisteners):
1801 Renamed to spi_controller_notify_keylisteners, as the controller
1802 instance must now be passed as an argument.
1803 The copied 'notify' GList is now a list of DEControllerKeyListener
1804 objects, since we need more than just the CORBA reference if a
1805 notify fails and we need to deregister the listener.
1806 (impl_notify_listeners_sync):
1807 (impl_notify_listeners_async):
1808 (spi_device_event_controller_forward_key_event):
1809 Modify use of notify_keylisteners in accordance with above
1811 (spi_deregister_controller_key_listener):
1812 New method introduced by refactoring, from
1813 impl_deregister_keystroke_listener.
1814 (impl_deregister_keystroke_listener):
1815 Call spi_deregister_controller_key_listener.
1816 (spi_key_listener_clone):
1817 New method to copy a key listner without doing a 'ref' on the
1818 remote object instance; used to create a notifier list.
1819 (spi_key_listener_data_free):
1820 New method, frees data without unreffing the source.
1822 (spi_key_listener_clone_free): new method.
1823 (spi_key_listener_free):
1824 refactored to call spi_key_listener_data_free.
1826 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1828 * registryd/registry.c: [fix for bug 86048]
1829 (notify_listeners_cb):
1830 Clear CORBA system exceptions which occur when notifying
1831 listeners, before returning to the source of the original event,
1832 since the event source doesn't care if the relayed notify failed.
1833 In other words, don't complain to the atk-bridge if the registry
1834 could not notify all its listeners, that's no fault of the
1835 application and thus should not appear to be an error from the
1836 application's perspective.
1838 * cspi/spi_main.c: [fix for bug 85980]
1840 Replaced use of bonobo_object_dup_ref with call to the wrapper
1841 method, csou_dup_ref (); this silences a compiler warning and
1842 provided more portability.
1844 Ping the registry before return, and restart if necessary.
1846 * cspi/bonobo/cspi-bonobo.c:
1848 New internal method.
1850 Fixed this method to return an object reference, as it should have
1853 * cspi/cspi-lowlevel.h:
1854 Added internal definition for cspi_ping() and fixed
1855 return type of cspi_dup_ref().
1858 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1860 * atk-bridge/bridge.c: [fix for bug 85305]
1861 (spi_atk_bridge_register_application):
1862 New method where the initial application registry calls have been
1863 moved; it allows an application to re-register in response to
1864 certain error conditions (such as a registry restart, see below).
1866 Moved some initialization code to the method
1867 spi_atk_bridge_get_registry, below.
1868 (spi_atk_bridge_get_registry):
1869 New, private accessor function for the Accessibility_Registry
1870 instance. If the registry has not been started before, or has
1871 died (as detected by failure of a CORBA exception), it is
1872 restarted before return, and spi_atk_bridge_register_application
1873 is called again to register with the new bridge instance.
1874 (spi_atk_emit_eventv):
1875 Set registry_died on error; use spi_atk_bridge_get_registry () to
1876 access the registry.
1878 * registryd/registry.c:
1879 (impl_accessibility_registry_register_global_event_listener):
1880 Set listener's event_type_quark to etype.minor instead of
1881 etype.major (fix for bug 84856).
1883 * test/event-listener-test.c:
1884 (report_detail_event):
1885 Change the output string so that user/tester can tell that the
1886 'detail listener' was called instead of the 'generic listener'.
1888 2002-06-18 Bill Haneman <bill.haneman@sun.com>
1890 Fixes for bugs 84900, 84908, 84897, 84898.
1895 Revved version to 1.1.0
1896 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
1897 version is going to HEAD which will be used for gnome-2-0-1 and later.)
1899 * idl/Accessibility_Registry.idl:
1900 (EventListener::notifyEvent):
1901 Removed 'oneway' directive after extensive consulation with
1902 ORBit2 team and others. This means also that unref() of the event
1903 source can and should be done synchronously after emission, rather
1904 than remotely in the client, after servicing the notify call on
1907 NOTE: This change speeds up listener performance considerably, but
1908 introduces new latency on the application side. We may want to
1909 add an event queue to the atk-bridge.
1911 * atk-bridge/bridge.c:
1912 (spi_atk_bridge_focus_tracker):
1913 Do a local unref() on the event source after emission.
1915 * registryd/registry.c:
1916 (desktop_remove_application):
1917 Do an unref() on the event source after emission.
1918 (desktop_add_application):
1919 Do an unref() on the event source after emission.
1920 (notify_listeners_cb):
1921 When relaying an event, don't automatically add the event source
1922 to the local object cache, just CORBA_dup it instead. Likewise,
1923 if this method reenters, release the ref rather than calling
1925 (impl_registry_notify_event):
1926 No longer call remote unref() on the event source after dispatch.
1928 * libspi/eventlistener.c:
1929 (impl_accessible_event_notify_event):
1930 Removed remote unref ()
1932 * cspi/bonobo/cspi-bonobo-listener.c:
1934 We now call cspi_object_new() instead of cspi_object_add() on
1935 receipt of an event; thus we only have an implicit object ref
1936 while the cspi_event method is being executed. If we need to keep
1937 a reference to the object, the listener must call ref() on the
1938 object. Thus also we don't need to call cspi_object_unref() after
1939 invoking the listener callbacks in this method.
1943 New internal API for creating a new cspi object, without adding it
1944 to the object cache.
1946 Now uses cspi_object_new() to create the cspi object instance.
1948 Now checks to see if the object is in the internal object cache,
1949 and adds it if necessary before incrementing its refcount (note
1950 that new objects are added with a refcount of 1).
1951 (report_leaked_ref):
1952 New method which gives some information on leaked object instances
1953 if leak detection is turned on.
1955 * test/event-listener-test.c:
1956 (timing_test_event):
1957 New method, used for testing event delivery timing for special
1958 events of type "object:test". It reports elapsed time and
1959 events/sec every 500 events.
1961 Added a new listener, 'test listener', to check timing of event
1962 receipt as noted above.
1964 Added some timing output here also, reports elapsed time every 100
1967 * test/stress-test.c:
1968 Emit events of type "object:test", for use with "event-listener-test".
1970 * test/test-simple.c:
1971 (global_listener_cb):
1972 Call Accessible_ref() on the event source before calling
1973 validate_accessible, since the validation process does pointer
1974 comparisons on the event source, meaning that the event source
1975 needs to be added to the local object cache first. Any use of
1976 such pointer comparisons between Accessible objects requires that
1977 the caller hold an explicit reference to those objects.
1978 We also must therefore call Accessible_unref() when leaving this method.
1980 2002-06-13 Bill Haneman <bill.haneman@sun.com>
1982 * registryd/deviceeventcontroller.c:
1983 (spi_controller_update_key_grabs):
1984 Fix for #84735, subsequent keygrab listeners not informed of
1985 registration failure.
1988 (spi_base_construct):
1989 Add an assertion on construct, to make sure the GObject passed in
1990 is really a GObject.
1992 Explicitly initialize object->gobj pointer to NULL;
1994 * cspi/bonobo/cspi-bonobo-listener.c:
1995 (cspi_object_add_ref):
1996 New method, can specify whether to dup-ref a bonobo object passed
1997 in if it's newly added to the object cache.
1999 Now calls cspi_object_add_ref with second param of "FALSE". This
2000 prevents us from doing a pointless dup-ref followed by
2001 release-unref for all those cases where the object is already in
2002 our object cache (fix for #85205).
2004 * atk-bridge/bridge.c:
2005 (spi_atk_bridge_idle_init):
2006 Removed this method, we don't need to initialize in an idle
2009 Changed to call spi_atk_register_event_listeners directly, not via an
2010 idle handler. (fix for #81139)
2011 (gnome_accessibility_module_shutdown):
2012 Removed conditional around deregistration of listeners, since we
2013 don't use the idle handler and thus have always registered when
2015 (spi_init_keystroke_from_atk_key_event):
2016 Changed references to Accessibility_KEY_PRESSED to
2017 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2019 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2021 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2026 * test/stress-test.c:
2029 (may have been an incomplete commit yesterday?)
2031 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2034 Added target for new stress-test.
2036 * test/stress-test.c:
2037 New test, sends 1000 focus notifies in quick succession.
2039 * test/key-listener-test.c:
2040 Now we report whether a keylistener registration
2041 request succeeded or failed.
2043 * test/event-listener-test.c:
2044 Uncommented some listeners which are now implemented.
2047 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2049 * registryd/deviceeventcontroller.c:
2050 (spi_controller_update_key_grabs):
2051 Fix for #82509, lack of failure notification when
2052 ALL_WINDOWS keygrabs fail due to XGrabKey
2053 failure: we synchronize the server when
2054 registering a passive grab, to make sure we get the
2055 error message before the call returns.
2057 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2059 * test/test-simple.c:
2061 Removed #ifdef KEY_IMPL_WORKS guards.
2062 (test_keylisteners):
2063 Removed #ifdef KEY_IMPL_WORKS guards.
2064 Fixed bug which was causing a hang waiting for a
2065 "press" event (which was already overwritten by a "release"
2066 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2068 Added code to set globals 'key_press_received' and
2069 'key_release_received'.
2072 Added section "1.1 API Proposed Additions" which
2073 lists API additions desired for at-spi-1.1 (only one so far).
2074 Updated TODO list a little.
2076 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2078 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2081 * configure.in: Revved to 1.0.0.
2083 * idl/Accessibility_Registry.idl:
2084 (registerKeystrokeListener):
2085 Added boolean return value.
2087 * registryd/registry.c:
2088 (notify_listeners_cb): Minor fix to debug output.
2090 * registryd/Accessibility_Registry.server.in.in:
2091 Revved version number in OAFIID to 1.0.
2093 * registryd/registryd.c:
2095 Use new OAFIID version.
2097 * cspi/bonobo/cspi-bonobo.c:
2099 Use new OAFIID version.
2105 * atk-bridge/bridge.c:
2107 Use new OAFIID version.
2109 * registryd/deviceeventcontroller.c:
2110 (impl_register_keystroke_listener):
2111 Added CORBA_boolean return value.
2112 (spi_controller_register_device_listener):
2113 Added gboolean return value.
2114 (spi_controller_register_global_keygrabs):
2115 Added gboolean return value.
2116 (spi_key_set_contains_key):
2117 Added implementation for many more control keys,
2118 for instance F1-F12, arrow keys, End, Home, Page_Up,
2120 [TODO: some still not implemented].
2122 * text/screen-review-test.c:
2123 (text_chunk_pad_string):
2124 New function: it provides mapping between coordinate
2125 positions of text chunks and character positions in the
2126 screen-review-line output string.
2127 (text_chunk_to_string):
2128 New function, calls text_chunk_pad_string with various
2129 pad/delimiter characters. Pushbuttons are delimited with
2130 square brackets, Frames with vertical 'pipe' lines, and
2131 other text with double quotes.
2132 (text_chunk_list_to_string):
2133 Calls new function text_chunk_to_string.
2134 (toplevel_composite):
2135 New function to composite layers CANVAS through
2136 POPUP in each toplevel (other layers are composited
2137 across toplevels, i.e. BACKGROUND and OVERLAY).
2138 (review_buffer_composite):
2139 Revise to use new methods.
2145 2002-05-31 Laszlo Peter <laca@sun.com>
2147 * configure.in: add the Xtst libdir to the runpath on Solaris,
2148 since it's not in the default library search path.
2150 2002-05-29 jacob berkman <jacob@ximian.com>
2152 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2154 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2156 * test/screen-review-test.c:
2157 (text_chunk_pad_string):
2158 Added method, which pads the string according to the
2159 text bounds of the chunk. It also takes a 3-character
2160 string as a param which indicates the characters to be
2161 used for start, padding, and end delimitation of the chunk.
2162 (text_chunk_to_string):
2163 Changed to use text_chunk_pad_string.
2165 * configure.in: Fixed bug in AC_OUTPUT that was
2166 causing path substitution in Accessibility_Registry.server
2169 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2171 * text/screen-review-test.c:
2172 (guess_string_clip):
2173 New method which attempts a best-guess at clipping
2174 text from components (like Java labels) which don't
2175 actually implement AccessibleText. This inaccurate
2176 clip is based on the assumption that the label is
2177 justified left-and-right, and monospaced.
2178 (text_chunk_get_clipped_string):
2179 We now call guess_string_clip() for text-containing
2180 components that don't implement AccessibleText.
2182 * test/screen-review-test.c:
2183 (review_buffer_get_text_chunk):
2184 We now pull "name" from labels if they do not implement
2185 AccessibleText (i.e. for Java labels).
2186 (get_screen_review_line_at):
2187 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2190 Replaceded AC_OUTPUT target
2191 registryd/Accessibility_Registry.server with
2192 registryd/Accessibility_Registry.server.in.
2194 * registryd/Accessibility_Registry.server.in:
2195 Removed (this is now a Makefile target).
2197 * registryd/Accessibility_Registry.server.in.in:
2198 Added (source for target above). We now use $(libexecdir) as
2199 prefix for the executable at-spi-registryd.
2201 * registry/Makefile.am:
2202 Now install at-spi-registryd into $(libexecdir), and build .server
2203 file with path (see above).
2205 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2207 * test/screen-review-test.c:
2208 (text_chunk_get_clipped_string):
2209 We now check to see if words fall within clip bounds
2210 before resorting to character-by-character clip bounds testing.
2212 * TODO: Added a section for "2.2 Proposed API Additions".
2214 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2216 * test/screen-review-test.c:
2218 Added a screen review benchmarking and test program to test
2221 * cspi/spi_accessible.c:
2223 Made some of the debug strings passed to cspi_check_ev a
2224 little more specific.
2226 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2228 * test/screen-review-test.c: Fix crashes in debug statements
2230 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2232 * test/screen-review-test.c: Added this file.
2234 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2236 * atk-bridge/bridge.c: changed "object:state-change" to
2237 "object:state-changed" to match docs.
2239 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2241 * atk-bridge/bridge.c: Hooked up state-change event details.
2243 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2245 * registryd/registry.c:
2246 Fixed quarking bug in event string parsing; now events with
2247 detail parameters get matched correctly to listeners.
2250 * util/idl/Magnifier.idl: remove.
2252 * util/*.[ch]: Remove.
2253 Magnification utilities and IDL are now in module gnome-mag.
2255 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2257 * registryd/deviceeventcontroller.c:
2258 Fixed bug in grab key conversion which was causing keycode grabs
2259 to be converted to AnyKey grabs.
2262 updated NEWS file to reflect recent spin-off of gnome-mag.
2264 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2266 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2267 busted AccessibleStateSet_compare. Removed redundant casts.
2269 * cspi/spi-action.c: Removed redundant casts.
2271 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2273 * cspi/spi_component.c: Fixed typos and casting error.
2275 * cspi/spi_editabletext.c: Removed redundant casts.
2277 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2279 * cspi/spi_hypertext.c: Eliminated redundant casts.
2281 * cspi/spi_image.c: Eliminated redundant casts.
2283 * cspi/spi_registry.c: Eliminated redundant casts.
2284 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2285 * cspi/spi_selection.c: Removed redundant casts.
2286 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2287 handling. Screen geometry and text offsets were being returned as 0
2288 on error which is technically valid-- changed these to return -1.
2289 Added marshaller for text boundary types to fix bug with boundary
2290 types being passed incorrectly to atk.
2292 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2295 * cspi/spi_registry.c:
2296 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2297 which was uncovered by the recent key changes.
2299 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2301 * test/event-listener-test.c:
2303 Added new test, "event-listener-test";
2304 this code does two things; it benchmarks traversal time
2305 for the accessible hierarchy for the first running accessible
2306 app, and it connects listeners for all supported event types.
2307 It is thus useful as an example event listener and for
2308 diagnostics/debugging of event generation.
2310 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2313 Removed unnecessary dependency on libutil.
2316 Revved micro version: 0.13.1
2318 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2321 Removed util/Makefile from targets.
2324 Removed util subdir from SUBDIRS (temporarily,
2325 pending removal of magnifier-only code
2329 #ifdef-ed out magnifier dependencies, since
2330 magnifier IDL, headers, and binary now live in
2331 module gnome-mag and we don't want at-spi to depend
2332 on gnome-mag. A magnifier demo which can run alongside
2333 simple-at is forthcoming in the gnome-mag module.
2335 NOTE: Split magnifier binary, IDL, and magnification
2336 activation code from at-spi into module gnome-mag.
2338 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2340 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2341 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2343 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2346 Revved to version 0.13.0
2348 * idl/Accessibility_Registry.idl:
2349 Changed definition of KeySet from sequence of longs to sequence of
2350 KeyDefinitions, and added KeyDefinition struct.
2351 Required for fix to bug 80616.
2353 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2354 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2355 to use new definition (see above).
2357 * registryd/deviceeventcontroller.c: handle_keygrab(),
2358 spi_keyset_contains_key():
2359 Changed to make use of new struct; this allows matching based on
2360 string key-name, for instance "Tab". This also allows matching of
2361 composed characters, non-alphanumeric characters in a way that
2362 doesn't involve dependencies on X keysym codes directly, etc.
2364 * test/key-listener-test.c:
2365 Added test for Alt-Tab key using "string" specification of keyset,
2366 and modified one of the tests to use a keycode-based keyset.
2367 Thus this test both tests and demonstrates the creation and use of
2368 keysets of three forms: specified via keycode array,
2369 keysym array, and string array. (The string case only contains a
2370 single string, i.e. a string array of length 1).
2373 Turned on PRINT_TREE option by default. Also fixed a
2374 string-freeing bug in the PRINT_TREE code.
2375 Added a listener to window:minimize events.
2377 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2379 * atk-bridge/bridge.c:
2380 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2381 for window:activate and window:deactiveate
2382 (atk_bridge_property_event_listener atk_bridge_signal_listener
2383 atk_bridge_window_event_listener) Tidy debug code
2385 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2387 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2388 Fixed handling for NULL return value from ATK.
2390 * libspi/action.c libspi/component.c libspi/editabletext.
2391 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2392 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2393 Removed redundant casts.
2395 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2396 Fixed off by one bug.
2398 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2399 function not present in idl)
2401 2002-05-02 jacob berkman <jacob@ximian.com>
2403 * atk-bridge/Makefile.am: make atk-bridge a real module
2405 2002-04-26 Radek Doulik <rodo@ximian.com>
2407 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2408 atk_state_types table
2410 2002-04-22 jacob berkman <jacob@ximian.com>
2413 * libspi/Makefile.am: add deps on the built files to help
2414 automake, and don't version the ORBit typelib
2416 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2418 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2419 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2420 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2421 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2422 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2423 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2424 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2425 libspi/accessible.h libspi/accessible.h libspi/base.h
2426 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2427 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2428 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2429 libspi/spi-private.h libspi/statetset.h libspi/table.h
2430 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2431 util/mag_client.h util/mag_control.c util/mag_image.c
2432 util/mag_image.h util/magnifier.c util/magnifier.h:
2433 Add missing file headers; standardize existing ones
2435 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2437 * atk-bridge/bridge.c: Added window event support.
2439 2002-04-18 Michael Meeks <michael@ximian.com>
2441 * libspi/relation.c (impl_getNTargets): impl.
2442 (impl_getTarget): impl.
2444 * libspi/Makefile.am: fix stateset install.
2446 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2449 Started putting useful info in this file.
2451 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2453 * atk-bridge/bridge.c:
2454 Propagate state-changed notifications to ATs
2456 * cspi/spi_registry.c: update docs to reflect actual behavior of
2457 state-change events.
2459 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2462 Incremented version to 0.12.1
2464 * util/mag_client.h:
2465 Add missing declaration for magnifier_exit,
2466 used by mag_control.c - Forte compiler didn't like
2467 the implicit redeclaration of the function :-(
2470 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2473 Revved version to 0.12 due to API change (see below).
2475 * cspi/spi-roletypes.h:
2476 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2477 definition from the inline docs, and added docs
2478 for SPI_ROLE_LAST_DEFINED.
2481 * cspi/spi_streamablecontent.c:
2482 Added missing seek_type parameter to
2483 (so far unused) method,
2484 AccessibleStreamableContent_seek().
2485 [ RT approval JodyG. ]
2488 Fixed docs for SPI_createAccessibleKeystrokeListener.
2490 * cspi/spi_registry.c:
2491 Fixed docs for SPI_KEYSET_ALL_KEYS.
2493 * docs/reference/cspi/at-spi-cspi-sections.txt:
2494 Added a number of missing APIs to SECTIONS.
2496 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2498 * registryd/Makefile.am:
2500 * cspi/bonobo/Makefile.am:
2501 Add $(X_LIBS) to makefiles.
2503 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2506 Revved version to 0.11.
2508 * libspi/component.c:
2509 Added implementation for grabFocus.
2511 * idl/Accessibility_Component.idl
2512 (Accessibility_Component_grabFocus):
2513 Made this method return boolean to indicate success or failure, to
2514 be consistent with cspi and the corresponding ATK method.
2516 * idl/Accessibility_Selection.idl
2517 (Accessibility_Selection_selectAll) :
2518 Made these methods return boolean to indicate success or
2519 failure, to be consistent with cspi and the corresponding ATK methods.
2521 * idl/Accessibility_EditableText.idl
2522 (Accessibility_EditableText_setTextContents,
2523 Accessibility_EditableText_insertText,
2524 Accessibility_EditableText_cutText,
2525 Accessibility_EditableText_deleteText,
2526 Accessibility_EditableText_pasteText):
2527 Made these methods return boolean to indicate
2530 * cspi/spi_editabletext.c:
2531 Made these methods return booleans.
2533 * libspi/selection.c:
2534 * libspi/component.c:
2535 * libspi/editabletext.c:
2536 Connected the boolean returns from ATK
2537 to the server-side code referenced above.
2539 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2541 * idl/Accessibility_Table.idl: Added missing methods,
2542 Accessibility_Table_addRowSelection,
2543 Accessibility_Table_addColumnSelection,
2544 Accessibility_Table_removeRowSelection,
2545 Accessibility_Table_removeColumnSelection.
2548 Added C wrappers for above IDL:
2549 AccessibleTable_addRowSelection,
2550 AccessibleTable_addColumnSelection,
2551 AccessibleTable_removeRowSelection,
2552 AccessibleTable_removeColumnSelection.
2555 Added server-side implementation code for IDL above, connecting
2556 to pre-existing ATK api.
2558 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2560 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2562 * libspi/accessible.c: Added implementation fo
2563 Accessibility_Accessible_get_state.
2565 * libspi/libspi.h: Added stateset.h to the list of includes.
2567 * libspi/stateset.c: Fixed broken implementation.
2569 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2572 Added implementation code for Accessibility_Magnifier_exit ().
2574 * util/mag_control.c:
2575 Added test code for above method; you can
2576 now kill an existing magnifier via
2577 ./mag_control q, from the util directory.
2579 * test/key-listener-test.c:
2581 Added a new test, for our key listener API.
2583 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2585 * test/app.c, test/keysynth-demo.c:
2587 Replace use of snprintf with g_snprintf.
2588 (fix for bugzilla 78249)
2590 2002-03-27 Michael Meeks <michael@ximian.com>
2594 * util/Makefile.am (INCLUDES): fix.
2595 (DONT_DIST_SOURCE): don't distribute the
2598 * libspi/Makefile.am (dist-hook): ditto.
2600 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2602 * libspi/hypertext.c:
2603 Fix warnings when yelp is used with atk-bridge
2605 2002-03-21 Michael Meeks <michael@ximian.com>
2607 * libspi/application.c (spi_application_new):
2608 use spi_accessible_construct so we use the AtkObject
2611 2002-03-19 Michael Meeks <michael@ximian.com>
2613 * registryd/registry.c (desktop_remove_application),
2614 (desktop_add_application): clean coding style.
2616 * registryd/desktop.c (spi_desktop_remove_application),
2617 (spi_desktop_add_application): kill re-enterency hazards.
2618 (spi_desktop_dispose): remove bogus redundant cast
2619 obscuring bug; fix bug too.
2620 (spi_desktop_init): make the desktop object immortal.
2622 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2625 Added a #define-guarded tree-traversal step
2626 when enumerating the apps (diagnostic tool).
2628 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2630 * idl/Accessibility_Role.idl:
2631 Added ROLE_DRAWING_AREA which seemed to be missing from the
2634 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2636 * cspi/spi-roletypes.h cspi/spi_accessible.c
2637 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2640 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2641 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2642 AT when applications are added and removed from the desktop. This
2643 reverts the previous broken implementation using the backing
2644 AtkObject for the SpiDesktop.
2646 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2648 * registryd/desktop.c: emit the "children-changed::add" and
2649 "children-changed::remove" signals on the backing ATK object for
2650 the desktop so AT can tell when applications are started and shut
2653 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2655 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2657 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2659 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2661 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2663 * cspi/state-types.h: synched with IDL and ATK
2665 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2667 * libspi/accessible.c
2668 (impl_accessibility_accessible_get_child_at_index):
2669 Change return value for g_return_if_fail ()
2670 to CORBA_OBJECT_NIL instead of "0" (!)
2672 * registryd/Makefile.am:
2673 * registryd/Accessibility_Register.server.in:
2674 Changed name of executable, "registryd",
2675 to something more informative:
2678 2002-03-13 Michael Meeks <michael@ximian.com>
2680 * atk-bridge/bridge.c (atk_bridge_init): don't register
2681 if we're in a bonobo-component, rather than a bonobo app.
2683 2002-03-13 Michael Meeks <michael@ximian.com>
2685 * atk-bridge/bridge.c (gtk_module_init): split
2686 out body to (atk_bridge_init): here, since otherwise
2687 we get symbol conflicts and oddness when invoked
2688 from (gnome_accessibility_module_init): here (upd.)
2690 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2693 New file. Explicitly allow "build sheriff" putbacks provided
2694 they are tested on Solaris.
2696 * docs/reference/cspi/Makefile.am:
2697 Added '-' to the "cp" command for index.sgml.
2698 ("patch by thomasvs, soon coming to a GUADEC near you")
2701 Incremented version number (0.9.0) for new release.
2702 Changed macro that checks for popt, to better detect
2703 obsolete versions of popt.
2706 Added X_LIBS to AC_SUBST, for applications
2707 that call Xlib API directly.
2710 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2713 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2716 Fix regression caused by hard-coding major
2717 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2720 * test/test-simple.c (test_editable_text),
2721 (test_test): revert previous change (error was
2722 a regression in gail which is now fixed).
2724 2002-03-04 Michael Meeks <michael@ximian.com>
2726 * test/test-simple.c (test_editable_text),
2727 (test_text): pass G_MAXINT instead of '-1' for
2728 whole string - is this a good thing !?
2730 * cspi/spi_accessible.c
2731 (Accessible_getRelationSet): fix crasher bug
2732 overwriting the end of the array.
2734 * test/test-simple.c (validate_accessible): free,
2735 not g_free returned relation set.
2737 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2739 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2740 implemented stateset support
2742 * idl/Accessibility_State.idl: Made necessary changes to
2743 the IDL to support state sets.
2745 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2747 * registryd/deviceeventcontroller.c:
2748 Added implementation for generateMouseEvent.
2750 * cspi/spi_registry.c:
2751 Connected new implementation for generateMouseEvent
2754 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2757 Incremented revision (but no change in public API
2758 outside of 'utils', which are not installed public yet.)
2760 * libspi/component.c:
2761 Changed to use atk_component API for layers and
2762 mdi_zorder, instead of deprecated atk_object API.
2764 Magnification Utility Enhancements:
2767 Added implementation of createZoomRegion, clearAllZoomRegions,
2768 resizeZoomRegion. Added new commandline argument
2769 "--no-initial-region". Note that clearAllZoomRegions doesn't
2770 unmap the old '0' region as it should (yet), and the other
2771 methods only work when creating/resizing a single region,
2772 which is "region 0".
2773 (Code for multiple region support will be added later.)
2776 Now we raise the magnifier window each time it's refreshed;
2777 this will help keep it on top.
2779 * util/mag_client.h:
2780 Added simple wrappers for above, used by mag_control.
2781 For general use, it's recommended to use the bonobo magnifier
2782 control API directly instead of using these wrappers.
2785 Moved ZoomRegionData from magnifier.c to this file.
2787 * util/mag_control.c:
2788 Added some code to exercise new IDL implementations.
2790 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2792 * libspi/text.c: Provide implementation for getAttributes.
2794 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2797 Incremented revision.
2799 * test/test-simple.c:
2800 Replaced use of deprecated g_main_iteration with
2801 g_main_context_iteration.
2803 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2806 Incremented revision for desktop alpha 2.
2808 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2810 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2813 * test/simple-at.c: include netinet/in.h.
2815 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2817 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2818 use NULL, not CORBA_OBJECT_NIL.
2820 * libspi/accessible.c:
2821 (impl_accessibility_accessible_get_relation_set):
2822 allocate the sequence correctly.
2824 * libspi/remoteobject.h: kill spi_remote_object_new.
2826 * test/test-simple.c: (validate_accessible): add code
2827 to test relation sets, now all we need is to figure
2828 out how to excercise this code path :/
2830 2002-01-18 Michael Meeks <michael@ximian.com>
2832 * test/test-simple.c
2833 (key_listener_cb): consume the key.
2834 (test_keylisteners): update.
2835 (main): wait for any pending unrefs on events.
2837 * registryd/deviceeventcontroller.c
2838 (spi_controller_update_key_grabs): only re-issue the
2839 grab on a key release.
2840 (spi_device_event_controller_forward_key_event):
2841 refresh the keygrabs before we notify the listeners,
2842 to reduce the X ungrab / re-grab race.
2843 (spi_controller_register_with_devices): remove
2844 XSelectInput - we do that with the gdk_window_ call.
2845 (_spi_controller_device_error_handler): return a value.
2846 s/GDK_DISPLAY/spi_get_display/
2848 2002-01-17 Michael Meeks <michael@ximian.com>
2850 * registryd/deviceeventcontroller.c
2851 (_deregister_keygrab): don't blow out the later
2854 * test/test-simple.c (test_keylisteners): do a
2855 more intelligent validation.
2857 2002-01-14 Michael Meeks <michael@ximian.com>
2859 * atk-bridge/bridge.c
2860 (gnome_accessibility_module_init),
2861 (gnome_accessibility_module_shutdown): impl.
2862 (gtk_module_init): protect vs. double inits.
2863 (add_signal_listener): impl.
2864 (spi_atk_bridge_state_event_listener): kill
2865 (deregister_application): split out of
2866 (spi_atk_bridge_exit_func): here.
2868 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2871 Added caret tracking when using magnifier, and
2872 now use text bounds for focus tracking of text elements, rather than
2873 the component bounds - this is helpful for short text fields in long
2874 table cells, at high magnification.
2876 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2878 * registryd/deviceeventcontroller.c:
2879 Regression fix for keylistener de-registration; global keygrabs
2880 were not being released when deregisterKeystrokeListener was
2881 called in cspi, since
2882 Accessibility_DeviceEventController_deregisterKeystrokeListener
2883 was called with a zero-length keyset. That is because the cspi
2884 method, SPI_deregisterKeystrokeListener, does not take a keyset
2885 parameter but instead should remove all the key grabs held be a
2887 The code in impl_deregister_keystroke_listener was changed to copy
2888 the keylist from the listener instance previously registered with
2889 the DeviceEventController before releasing the grabs.
2891 * registryd/registry.c:
2892 * registryd/deviceeventcontroller.c:
2893 * libspi/spi-private.h:
2895 Changed spelling of "re-enterant" to "re-entrant" globally.
2897 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2899 * test/test-simple.c:
2900 Changed key listeners test - the test was slightly mis-using the
2901 (admittedly poorly documented) SPI_generateKeyboardEvent API.
2902 It now uses '=' as the key event listened to and generated,
2903 relying on a keysym match rather than assuming that keycode 33
2904 is always equal to keysym '!'.
2906 2002-01-15 Bill Haneman <bill.haneman@sun.com>
2909 Changed simple-at to use a specific keyset, rather than
2910 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
2911 manager, desktop, etc.
2913 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2915 * registryd/deviceeventcontroller.c:
2916 Replaced standard X error handler with a special handler that
2917 is non-fatal for failed keygrabs. This works around
2918 problems with keygrab clashes sometimes observed on
2920 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
2921 mouse handling code as yet).
2923 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2926 Incremented revision for desktop alpha release.
2929 Fixed a couple of the more glaring errors (still not
2932 2002-01-11 Michael Meeks <michael@ximian.com>
2934 * registryd/deviceeventcontroller.c
2935 (spi_device_event_controller_forward_key_event): kill
2936 XUngrabKey / XKeyGrab race.
2937 (spi_controller_grab_keyboard): rename to
2938 (spi_controller_update_key_grabs): this, and deal
2939 with incremental adding / removing grabs more
2941 (_register_keygrab): ensure we're not pending a remove.
2942 (spi_grab_mask_free): impl.
2943 (spi_controller_register_global_keygrabs): split out
2945 (handle_keygrab): impl.
2946 (_deregister_keygrab): impl.
2947 (spi_controller_deregister_global_keygrabs): impl.
2948 (spi_controller_update_key_grabs): re-issue the grab if
2949 we just recieved a notification.
2951 * test/test-simple.c (key_listener_cb): remove debug.
2953 * registryd/deviceeventcontroller.c
2954 (spi_controller_register_device_listener): after
2955 registering a global keygrab, actualy register it !
2956 don't wait for a timeout; doh !
2958 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
2959 to make it more readable / manipulable.
2960 s/grabmask/grab_mask/ s/refcount/ref_count/
2961 s/keyval/key_val/ s/modmask/mod_mask
2963 2002-01-08 Michael Meeks <michael@ximian.com>
2965 * registryd/deviceeventcontroller.c
2966 (spi_controller_register_with_devices): use gdk calls to
2968 (global_filter_fn): implement the filter.
2969 (spi_device_event_controller_check_key_event): rename to
2970 (spi_device_event_controller_forward_key_event): this & upd.
2971 (spi_get_display): replace with GDK_DISPLAY.
2973 * registryd/deviceeventcontroller.c
2974 (spi_controller_deregister_device_listener): unroll into
2975 (impl_deregister_keystroke_listener): here to simplify.
2976 (spi_controller_register_global_keygrabs): split cut and
2977 paste (!) out into (_register_keygrab): here, shorter & sweeter.
2978 (spi_controller_deregister_device_listener): remove.
2979 (impl_register_mouse_listener): remove, no mouse listener
2980 support in at-spi-1.0
2982 * registryd/registry.c
2983 (_device_event_controller_hook): kill.
2984 (spi_registry_init): upd.
2986 * registryd/deviceeventcontroller.c
2987 (spi_device_event_controller_class_init): upd.
2988 (spi_check_key_event): merge into.
2989 (spi_device_event_controller_check_key_event):
2990 here and kill strange static ev init, don't leak
2991 the x_event - nor dynamicaly allocate it.
2993 * registryd/registry-main.c (main): re-direct
2994 timeout to remove strange vtable mess.
2996 * registryd/deviceeventcontroller.c
2997 (remove_listener_cb): impl.
2998 (spi_controller_deregister_device_listener):
2999 fix re-enterancy hazard.
3001 2002-01-07 Michael Meeks <michael@ximian.com>
3003 * registryd/deviceeventcontroller.c
3004 (spi_device_event_controller_new): upd.
3005 (impl_notify_listeners_sync): upd. debug.
3006 (spi_notify_keylisteners): fix re-enterancy hazards,
3007 prettify, remove O(n*n) iteration.
3008 (spi_controller_grab_keyboard): fix iteration.
3009 (spi_check_key_event): re-format to suit coding style.
3010 Clean all the warnings - we're warning free.
3012 * registryd/deviceeventcontroller.h:
3013 * registryd/registry.h: make mutualy referential with
3014 typesafe forward references instead of (!) void pointer
3017 2002-01-11 Michael Meeks <michael@ximian.com>
3019 * cspi/spi_accessible.c (role_names): add a role name
3020 to sync this array with the enum; and make the regression
3023 2002-01-10 Michael Meeks <michael@ximian.com>
3025 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3026 allow expansion of enumeration & kill warning.
3028 * test/test-simple.c (key_listener_cb): impl.
3029 (test_keylisteners): impl.
3031 * cspi/spi-listener.h: make listener signatures const
3032 on the provided (const) events.
3034 * test/keysynth-demo.c: upd. to const events.
3036 * test/simple-at.c: ditto.
3038 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3041 Rev the version to 0.5 (the previous tarball was named 0.4,
3042 even though the micro number was 3), so we need to rev upwards
3043 again for beta2/"desktop-alpha"
3046 Checked in a demo script, which requires editing before use!
3047 Proceed with caution.
3050 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3052 * cspi/spi_accessible.c:
3053 Add a couple of missing enum initializations, and fix some enum
3056 * cspi/spi_registry.c:
3057 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3059 * docs/reference/cspi/at-spi-cspi-sections.txt:
3060 Remove/fix a couple of broken document references.
3063 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3064 as Alt-Control to listen for commands, since on some systems
3065 Control-Alt may already be grabbed.
3067 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3070 Update version number to 0.4 for Beta2.
3072 * libspi/accessible.c, libspi/accessible.h:
3073 Expose spi_accessible_construct, to enable libgail-gnome
3074 construction from spi_accessible subtype.
3076 * utils/magnifier.c:
3077 Workaround for bug in some non-gnome-compliant window managers
3078 which made magnifier resize improperly.
3080 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3082 * libspi/accessible.c: (spi_accessible_new) :
3083 Move the test for SPI_IS_REMOTE_OBJECT to
3084 spi_accessible_new_return, fixing a bug and compile time warning.
3086 2002-01-08 Michael Meeks <michael@ximian.com>
3088 * registryd/registry.c (parse_event_type): remove strndup.
3090 * libspi/Makefile.am (libspi_la_SOURCES): remove
3091 sources already included in the headers section.
3093 * libspi/util.c: add.
3095 * libspi/spi-private.h: add.
3097 * registryd/registry.c: update to moved list iterators.
3099 2002-01-05 Michael Meeks <michael@ximian.com>
3101 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3103 * test/test-simple.c (main): ditto.
3105 2002-01-04 Michael Meeks <michael@ximian.com>
3107 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3108 redundant construct.
3110 * registryd/registry.c
3111 (get_listener_list): impl.
3112 (impl_accessibility_registry_register_global_event_listener):
3113 re-impl. to simplify using ~, remove dodgy const cast off.
3114 (parse_event_type): constify.
3115 (impl_accessibility_registry_deregister_global_event_listener_all):
3116 re-write, more efficiency and simplicity, kill re-enterancy
3118 (compare_listener_corbaref, compare_corba_objects),
3119 (compare_listener_quarks): define out.
3120 (impl_accessibility_registry_deregister_global_event_listener):
3121 re-write for effiency, and nail re-enterancy hazard.
3122 (impl_accessibility_registry_get_desktop_list): impl.
3123 (re_enterant_list_delete_link): impl.
3124 (re_enterant_list_foreach): impl.
3125 (remove_listener_cb): impl.
3126 (_registry_notify_listeners): kill.
3127 (notify_listeners_cb): impl.
3129 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3130 (SPI_getDesktopList): impl.
3132 * test/test-simple.c (test_desktop): test the methods.
3134 2002-01-03 Michael Meeks <michael@ximian.com>
3136 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3137 keystrings since we free them
3138 (SPI_freeAccessibleKeySet): in here.
3140 * libspi/accessible.c (spi_accessible_new): kill warning,
3141 wonder what is going on with the constructor here.
3143 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3145 * libspi/accessible.c (spi_accessible_new ()) :
3146 Added check to see if AtkObject is an SpiRemoteObject before
3147 creating an SpiAccessible.
3149 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3151 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3152 Enable keygrabs using the Control modifier, now that they are
3153 working properly (they were previously disabled).
3156 Change the command keygrab for this demo to "Control+Alt", so as
3157 to conflict with fewer other key commands on the system; this
3158 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3160 Removed a pointlessly-chatty keylistener for unshifted keys
3161 (shifted keys are still reported).
3163 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3165 * libspi/remoteobject.h:
3166 * libspi/remoteobject.c:
3167 Added definitions for special AtkObject subtype, required for
3168 support of remote components (specifically, used by BonoboControl
3169 accessibility implementation).
3171 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3173 * cspi/spi.h: synched relation types with ATK
3175 * cspi/spi_accessible.c: Added implementations of
3176 AcccessibleRelation_* methods
3178 * idl/Accessibility_Relation.idl: added getRelationTypeName
3179 method. Synched known relation types with ATK. Allowed for
3180 relation type extension with the RELATION_EXTENDED type.
3182 * libspi/relation.c: Provided implementations for
3183 AccessibleRelation methods.
3185 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3187 API tweaks for today's API 'freeze'.
3190 Added placeholder functions to allow future compatible expansion
3191 of the IDL interfaces.
3193 * idl/Accessibility_Registry.idl:
3194 Changed generateKeyEvent to generateKeyboardEvent. Changed
3195 signature of this method to accept an optional keystring in
3196 parameter (for complex text input synthesis) and changed use of
3197 simple 'boolean' parameter in registerKeystrokeListener to a
3198 struct, EventListenerMode.
3200 * cspi/spi_accessible.c:
3202 * cspi/spi_streamablecontent.c:
3203 Added references to AccessibleStreamableContent interface, and
3204 definition and implementation of AccessibleStreamableContent
3207 * cspi/spi_registry.c:
3209 Changed generateKeyEvent API to generateKeyboardEvent,
3210 taking a new (optional) keystring parameter to support complex
3215 Renamed directory (to better reflect its actual purpose, bridging
3216 from at-spi to ATK). The .so module is also now named
3219 * idl/Accessibility_Hypertext.idl:
3220 * libspi/accessible.c:
3221 * libspi/hypertext.h:
3222 * libspi/hypertext.c:
3223 Changed Accessibility_Hypertext to *not* derive from
3226 * cspi/spi_registry.c:
3227 Added list of legal event type names for 'window' events, which
3228 completes the registry event API.
3230 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3232 * at-bridge/bridge.c: Added registration for separate
3233 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3234 signals. If either of the first two parameters to the generic
3235 bridge signal handler are ints, they are passed on as event
3236 details. This allows an AT to determine what text was inserted.
3238 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3240 * registryd/deviceeventcontroller.c:
3241 Fixed regressions in generateKeyEvent caused by the removal of
3242 gdk_init from registryd; we now use pure X calls to connect to the
3243 display, which makes sense because deviceeventcontroller already
3244 uses a fair bit of X API (should eventually be migrated to a
3245 'portability layer').
3247 * registryd/desktop.c:
3248 Fixed minor regression in spi_desktop_init, changed the way the
3249 desktop name is being set to work with new spi_base API
3250 (gobject-based, rather than AtkObject-based).
3252 * registryd/Makefile.am:
3253 Minor revision of makefile to use XTST_LIBS variable rather than
3254 hard-wiring the Xtst LD_ADD element.
3256 * test/keysynth-demo.c:
3257 Tweaked an output message; added initialization of the
3258 'keystrings' member of the "switch listener" key_set.
3260 * libspi/relation.c:
3261 Squashed compile-time warning.
3263 * libspi/accessible.c:
3264 Cosmetic and formatting fixes, renamed a static method.
3266 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3268 * libspi/accessible.c
3270 * libspi/application.c
3273 * libspi/component.c
3274 * libspi/editabletext.c
3275 * libspi/hyperlink.c
3276 * libspi/hypertext.c
3278 * libspi/selection.c
3282 * registryd/desktop.c:
3283 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3285 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3287 * idl/Accessibility_Registry.idl:
3288 Added boolean member 'is_text' to DeviceEvent. This is for the
3289 use of key events, and helps prevent ambiguity between composed
3290 key strings and keysym names, since both may potentially be
3291 returned in the 'event_string' member.
3293 * at-bridge/bridge.c:
3294 * registryd/deviceeventcontroller.c:
3295 Use the 'is_text' member when notifying device event listeners.
3296 Knon issue: composed characters are not dealt with correctly by
3297 the global key listener implementation yet.
3299 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3301 * at-bridge/bridge.c:
3302 Namespaced local static methods to spi_atk_bridge_* where
3303 previously named bridge_*, and spi_* elsewhere.
3305 * at-bridge/bridge.c:
3306 * cspi/bonobo/cspi-bonobo-listener.c:
3307 Added demarshalling/conversion for string member of
3308 Accessibility_DeviceEvent to AccessibleKeystroke.
3310 * registryd/deviceeventcontroller.c:
3311 Added code to fill the Accessibility_DeviceEvent key string value
3312 member for global key events (i.e. from XGrabKey), to match
3313 behavior of Accessibility_DeviceEvent from the toolkit key events
3314 from the bridge. Fixed timestamp in global key event notifications.
3317 Added printout of key event's string value to
3318 report_ordinary_key_event, for demo/debugging purposes.
3320 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3322 * idl/Accessibility_Registry.idl:
3323 Removed Accessibility_KeyStroke structure in favor of generic
3324 Accessibility_DeviceEvent structure.
3325 Changed Accessibility_ControllerEventMask from a struct to an
3328 * at-bridge/bridge.c:
3329 Changed APIs to use DeviceEvent structure as above, and removed
3330 bogus casting between these event structures.
3332 * cspi/spi-listener.h:
3333 Added keystring member of AccessibleKeystroke structure, to enable
3334 matching on event "names" rather than only hardware codes and
3338 Added keystrings member of AccessibleKeySet struct, to allow
3339 matching on event names (as above).
3340 Added declarations for SPI_createAccessibleKeySet and
3341 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3342 event modmasks directly as unsigned ints rather than structs with
3343 refcounts, in the DeviceEventController methods.
3345 * cspi/spi_registry.c:
3346 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3348 * cspi/spi-roletypes.h:
3349 Added documentation of newly added SPI Roles.
3351 * cspi/bonobo/cspi-bonobo-listener.c:
3352 Changes in support of API changes above.
3354 * libspi/accessible.c:
3355 Converted APIs to use DeviceEvent structure (see IDL changes
3358 * registryd/deviceeventcontroller.c:
3359 Added DEControllerGrabMask structure to track keygrabs not only by
3360 modmask but by keyset as well; this allows us to do "global"
3361 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3362 grabbing on AnyKey and then filtering after-the-fact.
3363 Bugfixes for event filtration mean that we don't get false matches
3364 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3366 * registryd/deviceeventcontroller.c:
3367 Namespaced a number of static methods to use spi_ prefix. Major
3368 revision to internals of global (i.e. X) key grabs.
3370 * registryd/deviceeventcontroller.h:
3371 Removed keymask_list and added keygrabs_list to
3372 SpiDeviceEventController struct.
3375 Added use of SPI_createAccessibleKeySet API when creating a
3376 listener for only one key. Attach a listener to "shift spacebar
3377 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3378 X key event names to SPI key event names, so that listeners are
3379 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3381 * test/keysynth-demo.c:
3382 Changed (incorrect) use of X key event names (KeyPressed,
3383 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3386 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3388 * libspi/accessible.c:
3389 Convert all AtkRole enumerations to Accessibility_Role enums when
3390 getting a role from an AtkObject.
3392 * cspi/spi_accessible.c:
3393 Complete the conversion of Accessibility_Role enums at runtime to
3394 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3395 role enums correctly match those given in spi-roletypes.h.
3396 Re-synchronize the local names list for AccessibleRole_getName ().
3397 AccessibleRole_getName is now deprecated, since it duplicates the
3398 more reliable Accessible_getRoleName.
3399 Added some role types from Accessibility_Role.idl.
3401 * idl/Accessibility_Role.idl:
3402 Added some role types used by AtkRole.
3404 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3407 * cspi/spi_registry.c:
3409 * cspi/cspi-bonobo-listener.c:
3410 Namespaced all methods that did not begin with an "SPI_" or
3411 "Accessible" prefix to "SPI_".
3414 Homogenized internal function namespace to "cspi_" for statics.
3417 Patched tests to use the new CSPI API.
3419 * docs/reference/cspi/at-spi-cspi-sections.txt:
3420 Updated docs to reflect namespace changes, and added a number of
3421 methods to the documentation.
3423 * registryd/registry.c:
3424 Changed use of strings and string hashes in listener event
3425 matching and parse_event_string to use GQuark, which is guaranteed
3428 * registryd/registry.h:
3429 Squashed annoying warning.
3431 * idl/Accessibility_Role.idl:
3432 Extended range of available Accessibility_Role values.
3434 * cspi/spi_accessible.c:
3435 Re-ordered role names.
3437 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3439 * idl/Accessibility_Value.idl:
3440 Revert use of union back to CORBA_double, since the double type is
3441 more efficient and can contain the other types without loss of
3444 * idl/Accessibility_Accessible.idl:
3445 Added method Accessibility:Accessible:getRoleName, to complement
3446 Accessibility:Accessible:getRole.
3448 * cspi/spi_accessible.c:
3450 Added C binding for above, Accessible_getRoleName (), and changed
3451 signature of Accessible_getRole () to return an AccessibleRole.
3453 * cspi/spi-roletypes.h:
3454 Changed AccessibleRole_getName to return a char * instead of a
3455 const char *. This method is now at least temporarily deprecated
3456 in favor of asking Accessibles for their RoleNames directly.
3459 Revert to match Accessibility_Value.idl;
3463 Change signature of AccessibleValue methods to use double rather
3467 * cspi/spi_accessible.c:
3468 Changed Accessible_getRole to return an AccessibleRole enum rather
3469 than a UTF-8 string. The UTF-8 string can still be obtained via
3470 AccessibleRole_getName ().
3472 * test/test-simple.c:
3473 Add test_action. Small fixup to match API change to Accessible_getRole.
3476 Bugfix for get_action_from_servant ().
3478 2001-12-11 Michael Meeks <michael@ximian.com>
3480 * libspi/libspi.h: remove registry.h and
3481 desktop.h, deviceeventcontroller.h
3483 * libspi/Makefile.am: remove registry.[ch],
3484 desktop.[ch], deviceeventcontroller.[ch]
3486 * registryd/Makefile.am: add registry.[ch],
3487 desktop.[ch], rename registryd.c to registry-main.c.
3488 add deviceeventcontroller.[ch]
3490 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3493 Replace setenv() call with putenv ().
3495 * libspi/component.c:
3496 Bugfix in AccessibleComponent_getExtents (),
3499 2001-12-11 Michael Meeks <michael@ximian.com>
3501 * libspi/image.c (impl_getImageExtents): impl.
3502 (spi_image_class_init): upd.
3505 (AccessibleImage_getImageDescription): fix daft bug
3508 * test/test-simple.c (global_listener_cb): update
3509 to only quit if not --poke
3510 (main): catch --poke.
3511 (validate_accessible): upd. dumping, call test_image
3514 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3517 * idl/Accessibility.idl: update all IDL includes.
3519 * idl/*.idl - rename to namespace - this sucks, blame
3520 mjs' bad decision for oafd.
3522 * test/test-simple.c (create_test_window): add more tests.
3523 (create_tree): split this out.
3524 (validate_accessible): bugfix.
3526 2001-12-11 Michael Meeks <michael@ximian.com>
3528 * cspi/bonobo/cspi-bonobo-listener.c:
3529 (cspi_kestroke_listener_unref),
3530 (cspi_event_listener_unref): impl. undoing previous
3531 homenous environment - for Bill.
3533 * cspi/spi_table.c (long_seq_to_array): use
3536 * cspi/spi_main.c: split out all bonoboish bits into
3539 * cspi/spi-impl.h: upd. typedefs.
3541 * cspi/spi_registry.c: update to lowlevel API,
3542 return booleans to indicate success in some places.
3544 * cspi/spi_event.c: update to lowlevel API.
3546 * cspi/bonobo/Makefile.am: add.
3548 * cspi/bonobo/cspi-lowlevel.h: add
3550 * cspi/bonobo/cspi-bonobo.c: add
3552 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3554 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3555 (SUBDIRS): add bonobo, link in the libs.
3557 * cspi/spi-util.c: kill this file.
3559 * TODO: merge in my bits.
3561 2001-12-11 Michael Meeks <michael@ximian.com>
3563 * test/test-simple.c (test_value, test_table, main):
3564 remove unused variables causing warnings.
3566 * configure.in: cleanup checks - require gail.
3568 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3571 Changed Value interface to use SValue (scalars) rather than
3572 assuming all values are floats. This allows floats, doubles,
3573 longs, shorts, and unsigned values to be manipulated.
3574 Introduced Accessibility:SValue union.
3577 Updated to use new API above, and to work correctly with GValues
3578 of different types in AtkValue.
3581 Updated to use new API above. cspi's API is as yet unchanged.
3584 Updated the Value revision action item.
3586 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3588 * test/test-simple.c:
3589 Added test_table (GtkTreeView widget in test window to follow).
3590 Un-commented test_value, added GtkRange widget.
3591 Added GtkTreeView widget with GtkListStore. It passes regression
3592 test but leaks one SPI object for some reason.
3595 Fixed bug in impl__set_currentValue.
3597 2001-12-10 Michael Meeks <michael@ximian.com>
3599 * cspi/spi_text.c: audit for exception handling,
3600 tolerating NULL object references safely etc.
3602 * cspi/spi_value.c: ditto.
3604 * cspi/spi_table.c (AccessibleTable_getSummary),
3605 (AccessibleTable_getAccessibleAt),
3606 (AccessibleTable_getRowHeader),
3607 (AccessibleTable_getColumnHeader),
3608 (AccessibleTable_getCaption): fix bugs hidden by
3610 (long_seq_to_array): impl.
3611 (AccessibleTable_getSelectedRows),
3612 (AccessibleTable_getSelectedColumns): use it.
3614 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3617 Added a TODO list (rough and short for now).
3619 * cspi/spi_hyperlink.c:
3620 * cspi/spi_hypertext.c:
3621 Fixed macro name typos, and remove use of obsolete macro in
3622 AccessibleHyperlink_getLink.
3624 * cspi/spi_action.c:
3625 * cspi/spi_accessible.c:
3626 * cspi/spi_application.c:
3627 * cspi/spi_component.c:
3628 * cspi/spi_selection.c:
3631 Documentation fixes (removed return values from ref/unref methods).
3633 2001-12-10 Michael Meeks <michael@ximian.com>
3635 * cspi/spi_action.c: audit for exception handling,
3636 tolerating NULL object references safely etc.
3638 * cspi/spi_accessible.c: ditto.
3640 * cspi/spi_component.c: ditto.
3642 * cspi/spi_editabletext.c: ditto.
3644 * cspi/spi_hyperlink.c: ditto.
3646 * cspi/spi_hypertext.c: ditto.
3648 * cspi/spi_image.c: ditto.
3650 * cspi/spi_selection.c: ditto.
3652 2001-12-10 Michael Meeks <michael@ximian.com>
3654 * configure.in: use cspi/libspi.pc.in instead.
3656 * Makefile.am (pkgconfig_DATA): upd. to match.
3658 * test/simple-at.c (report_focus_event): kill hacks around
3659 bad return values, use putenv not setenv
3661 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3662 fire ChildGone - I killed it.
3664 * libspi/component.c
3665 (impl_accessibility_component_get_extents): remove
3668 * idl/Accessible.idl: kill ChildGone exception.
3670 * cspi/*.[ch]: kill int return from ref / unref.
3672 * cspi/spi_main.c (cspi_object_add_check): fold into
3673 (cspi_object_add): here.
3675 * cspi/spi_component.c (AccessibleComponent_getExtents):
3676 handle exceptions elegantly.
3678 * cspi/spi-private.h (cspi_check_ev_return),
3679 (cspi_return_if_fail): impl.
3681 * cspi/spi_accessible.c: use extensively.
3682 (AccessibleStateSet_equals): add direct compare check.
3684 * cspi/spi_selection.c: tolerate NULL objs, and check
3685 exceptions before return.
3687 * cspi/spi-util.c (cspi_warn_ev): rename to
3688 (cspi_check_ev): this & don't pass ev in; no point.
3690 2001-12-10 Michael Meeks <michael@ximian.com>
3692 * test/test-simple.c: use putenv not setenv
3693 (get_environment_vars): more chatty if you're not using
3696 * test/simple-at.c: do the setenv so more people see the
3699 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3701 * libspi/registry.c:
3702 Changed check of CORBA_environment on notification to be a warning
3703 instead of an error for the moment, since we can recover from this
3704 error when caused by a queued notification from a dead app.
3707 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3708 used by all current implementors of AtkValue), and coerce to
3709 CORBA_float. (Proper general case fix may require change to Value.idl).
3711 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3715 * cspi/spi_accessible.c:
3716 Documentation fixes: added user_data params to documentation for
3717 listeners and callbacks.
3719 * cspi/spi_accessible.c:
3720 Changed AccessibleStateSet_compare to return a
3721 StateSet rather than return the difference set into a third parameter.
3724 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3727 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3728 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3732 Remove subdirectory po from SUBDIRS for now.
3734 * at-bridge/bridge.c:
3735 Beefed up a couple of debug printouts.
3736 One-line fix for signal notification name formatting.
3738 * libspi/accessible.c:
3739 Added assertion to spi_accessible_new ().
3741 * libspi/application.c:
3742 Put #ifdef qualifiers around a printf.
3745 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3747 * registryd/Makefile.am:
3749 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3750 INTLTOOL_SERVER_RULE macro.
3753 Added an event listener for several ATK signals, for
3754 testing and debugging. Removed a few g_warnings.
3755 Added test output if focussed item implements the Value interface.
3757 * test/test-simple.c:
3758 Added test_value () function (known not to pass at the moment, so
3759 not actually called yet.
3761 2001-12-08 Michael Meeks <michael@ximian.com>
3763 * at-bridge/bridge.c (bridge_focus_tracker),
3764 (emit_eventv): fix the same ref. leak.
3765 (register_atk_event_listeners): don't leak.
3767 * cspi/spi-listener-impl.c (cspi_event): more
3768 protection from client code.
3770 * test/test-simple.c (test_desktop): unref the app.
3772 * test/Makefile.am: upd. TESTS.
3774 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3776 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3778 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3780 * cspi/spi_registry.c: constify in strings.
3781 (deregisterGlobalEventListenerAll): don't release the ref.
3783 * cspi/spi.h: start removing redundant / conflicting
3784 gtkdoc comments, making the API readable at a glance :-)
3786 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3788 * test/keysynth-demo.c (keysynth_exit, main): upd.
3790 * test/simple-at.c (main, simple_at_exit): upd.
3792 * test/test-simple.c (unutterable_horror): kill.
3793 (utterable_normal_derefs): kill.
3794 (main): upd & do a setenv before gtk_init, so that we
3795 can use memprof - and to save the pain of remembering
3796 this, if we're running under memprof - don't exit.
3798 * cspi/spi_main.c (SPI_exit): return exit status
3800 (SPI_event_quit): impl.
3801 (SPI_event_main): simplify.
3802 (cspi_is_gnome_app): kill.
3803 (SPI_init): kill isGNOMEapp arg.
3805 * at-bridge/bridge.c (register_atk_event_listeners):
3806 re-instate the unref.
3807 (bridge_exit_func): don't re-activate the registry,
3808 protect vs. theoretical re-entry, use the
3809 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3810 assert a clean shutdown - for regression tests.
3812 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3814 * configure.in: Comment out dummy i18n support for now,
3815 otherwise it fails to build.
3816 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3817 EXTRA_DIST. They are missing in tarball.
3819 2001-12-07 Michael Meeks <michael@ximian.com>
3821 * util/magnifier.c: kill bonobo activation reg. race.
3823 * libspi/component.c
3824 (impl_accessibility_component_get_extents): make it match
3827 * libspi/registry.c (_registry_notify_listeners):
3828 re-remove X headers & reconcile conflicts.
3829 (spi_listener_struct_free): bad conflict resolve.
3830 (impl_accessibility_registry_register_application):
3831 more bad merging fixed.
3832 (impl_accessibility_registry_deregister_application): ditto.
3833 (spi_registry_new): ditto.
3834 (spi_registry_init): don't have an applications field.
3836 [ merge fixups2 branch to here ]
3837 2001-12-07 Michael Meeks <michael@ximian.com>
3839 * test/simple-at.c (report_focus_event),
3840 (report_focussed_accessible): remove g_warning debug.
3842 2001-12-07 Michael Meeks <michael@ximian.com>
3844 * test/test-simple.c (validate_tree): comment out some checks.
3845 (test_desktop): app now not registered idly - horay.
3847 2001-12-07 Michael Meeks <michael@ximian.com>
3849 * cspi/spi_registry.c
3850 (registerAccessibleKeystrokeListener): clean, stop it leaking
3851 great swathes of memory, and device event controller references.
3852 ensure we always pass valid sequences.
3853 (deregisterAccessibleKeystrokeListener): ditto.
3854 (generateKeyEvent): upd.
3856 * at-bridge/bridge.c (bridge_key_listener): handle
3857 registry dead exception gracefully.
3858 (bridge_focus_tracker, emit_eventv): free ev.
3860 * test/simple-at.c (report_focus_event): fix polarity.
3862 * libspi/application.c (notify_listeners): kill the ev
3863 argument, and make sure we init the ev we use.
3864 (spi_application_object_event_listener): split out a chunk
3865 (get_atk_object_ref): here & fixup.
3866 (reverse_lookup_name_for_toolkit_event): make const.
3867 (spi_application_toolkit_event_listener): fixup, kill leaks
3870 * at-bridge/bridge.c (register_atk_event_listeners):
3871 don't unref the noop object - causes grief.
3873 * libspi/registry.c: remove the X headers.
3874 turn off the debug churn.
3876 * libspi/accessible.c (spi_accessible_new_return): only
3877 release the ref if we are supposed to [doh]
3879 * test/simple-at.c (report_button_press, report_focus_event):
3880 guard vs. unexpected exit.
3882 * at-bridge/bridge.c (gtk_module_init): prune printf.
3883 (bridge_exit_func): fix app unref.
3885 * libspi/Makefile.am: don't install registry or desktop.h
3887 * libspi/*.h: update includes.
3889 * libspi/application.h: don't include ourself, or
3890 other redundant headers.
3892 2001-12-06 Michael Meeks <michael@ximian.com>
3894 * libspi/accessible.c
3895 (get_accessible_from_servant): impl.
3896 Upd. all CORBA impl.s to use it killing cut and paste.
3898 * cspi/spi_main.c (cspi_cleanup): guard vs. double
3900 (SPI_init): register atexit cleanup handler here.
3902 2001-12-06 Michael Meeks <michael@ximian.com>
3904 * at-bridge/bridge.c (gtk_module_init): g_error on
3905 activation exception
3907 2001-12-06 Michael Meeks <michael@ximian.com>
3909 * at-bridge/bridge.c (gtk_module_init): some sort of
3910 confusing merge clash - reverted.
3911 (bridge_idle_init): ditto.
3913 * test/test-simple.c (main, utterable_normal_derefs):
3914 merge from Bill - somehow not committed.
3916 2001-12-06 Michael Meeks <michael@ximian.com>
3918 * libspi/value.c (spi_value_class_init): upd.
3919 (spi_value_finalize): kill.
3921 * libspi/table.c (spi_table_finalize): kill.
3922 (spi_table_interface_new): upd.
3923 (spi_table_class_init): upd.
3924 (get_table_from_servant): impl.
3925 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3927 * libspi/selection.c (spi_selection_finalize): kill.
3928 (spi_selection_interface_new): upd.
3929 (spi_selection_class_init): upd.
3930 (get_selection_from_servant): impl.
3931 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3933 * libspi/relation.c (spi_relation_finalize): kill.
3934 (spi_relation_class_init, spi_relation_new): upd
3936 * libspi/image.c (spi_image_finalize): kill.
3937 (spi_image_class_init): upd.
3938 (spi_image_interface_new): upd.
3939 (get_image_from_servant): impl.
3940 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3942 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
3943 (spi_hyperlink_finalize): kill.
3944 (spi_hyperlink_new): upd.
3945 (get_hyperlink_from_servant): impl.
3946 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3948 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
3949 (spi_hypertext_finalize): kill.
3950 (spi_hypertext_class_init): upd.
3951 (get_hypertext_from_servant): impl.
3952 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3954 * libspi/editabletext.c (spi_editable_text_finalize): kill.
3955 (spi_editable_text_interface_new): upd.
3956 (get_editable_text_from_servant): impl.
3957 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3959 * libspi/text.c (get_text_from_servant): impl.
3960 All impls - update to use it killing more cut and paste,
3961 also fix bad string returns on duff args ( a somewhat
3962 impossible case to handle - but hey ).
3963 (spi_text_construct): impl.
3964 (spi_text_interface_new): upd.
3965 (spi_text_object_finalize): kill.
3967 * libspi/component.c
3968 (accessibility_component_object_finalize): kill.
3969 (spi_component_class_init): upd.
3970 (get_component_from_servant): impl. helper to kill cut & paste.
3971 (impl_accessibility_component_contains):
3972 (impl_accessibility_component_get_accessible_at_point):
3973 (impl_accessibility_component_get_position):
3974 (impl_accessibility_component_get_extents):
3975 (impl_accessibility_component_get_mdi_z_order):
3976 (impl_accessibility_component_get_layer):
3977 (spi_component_interface_new): upd.
3979 * libspi/action.c (spi_action_finalize): kill.
3980 (spi_action_class_init): upd. inherit from SpiObject.
3981 (spi_action_interface_new): upd.
3982 (get_action_from_servant): impl. helper to reduce cut & paste.
3983 (impl_getKeyBinding, impl_getName, impl_doAction),
3984 (impl_getDescription): Use it everywhere.
3986 * cspi/spi_main.c (get_live_refs): a pointer hash.
3987 (spi_object_hash, spi_object_equal): comment out.
3988 There are issues with CORBA object hashing that need
3991 * libspi/application.c (spi_application_init),
3992 (spi_application_new): upd.
3994 * libspi/accessible.c (spi_accessible_object_finalize): kill.
3995 (spi_accessible_class_init): upd.
3996 s/accessible/object/ in epv methods.
3998 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4000 * at-bridge/bridge.c:
4001 Reorder the bridge initialization into the bridge gtk_module_init,
4002 an immediate call to bridge_register_app, and an idle_add for
4003 register_atk_event_listeners (the only code that *must* wait until
4004 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4005 the activation, creates the application's Accessible object, and
4006 queues the bridge_idle_init function. Restored call to
4007 Accessibility_Registry_deregisterApplication().
4008 Prior to making this call we obtain a new reference to the
4009 registry, which is a temporary hack that helps us handle apps that
4010 shut down the bonobo mainloop before we get there.
4012 * libspi/registry.c:
4013 Fix string leakage in debug block, and don't segv if a an app
4014 dies before its event notifications have been propagated.
4017 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4018 as stopgap measure until we get proper exception handling when
4019 objects die during or before interrogation.
4023 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4024 Also changed default value of is_gnome_app to TRUE.
4027 * test/keysynth-demo.c:
4028 Changed use of SPI_init and SPI_event_main to reflect API change above.
4031 Made report_focus_event check the warning value from getName
4032 before reporting on focussed accessible; simplifies handling of
4033 notifications from dead objects.
4035 * test/test-simple.c: (Changes not in this patch since source is
4038 2001-12-05 Michael Meeks <michael@ximian.com>
4040 * registryd/registryd.c (main): protect against
4041 bonobo-activation startup race condition.
4043 * cspi/spi_main.c (cspi_object_add_check): cope
4044 with the exception elegantly.
4046 * idl/Accessible.idl: decl. ChildGone
4048 * libspi/desktop.c (spi_desktop_dispose): impl.
4049 (spi_desktop_class_init): upd.
4050 (spi_desktop_add_application),
4051 (spi_desktop_remove_application),
4052 (abnormal_application_termination): impl.
4053 (impl_desktop_get_child_at_index): re-impl.
4056 (impl_accessibility_registry_deregister_application),
4057 (impl_accessibility_registry_register_application):
4058 kill excessive debug clutter.
4060 * test/test-simple.c (test_misc): test some NULL
4061 tolerance. (main): upd.
4063 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4064 implements no interfaces - so let's not crash.
4066 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4068 * libspi/accessible.c (spi_accessible_new_return): impl.
4069 helper to calm the cut and paste, to cope with
4070 NULL AtkObjects effectively and efficiently, and to kill
4071 the referencing bugs.
4073 * libspi/table.c (impl_getAccessibleAt),
4074 (impl_getRowHeader, impl_getColumnHeader): upd.
4076 * libspi/hyperlink.c (impl_getObject): upd.
4078 * libspi/accessible.c
4079 (impl_accessibility_accessible_get_child_at_index): upd.
4081 * libspi/component.c
4082 (impl_accessibility_component_get_accessible_at_point): upd.
4084 * test/test-simple.c (test_editable_text, test_text): impl.
4087 * cspi/spi_editabletext.c
4088 (AccessibleEditableText_insertText): constify.
4090 * test/test-simple.c (focus_me): make more robust.
4092 * libspi/accessible.c: remove some printfs in methods that
4093 we test and work fine, so we can get a clean tree dump.
4095 * test/test-simple.c (validate_accessible),
4096 (validate_tree): make tree dumping pretty too.
4098 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4099 it builds without debug on.
4101 * test/test-simple.c (validate_accessible): fix the most
4104 * cspi/spi_main.c (spi_object_release): leave the nicely
4105 blanked memory around if in debug mode.
4107 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4109 [committed to fixups2]
4110 2001-12-05 Michael Meeks <michael@ximian.com>
4112 * libspi/editabletext.c
4113 (spi_editable_text_class_init): g_type_class_peek_parent,
4114 not interface peek - so we finalize cleanly.
4116 * libspi/accessible.c (spi_accessible_new): kill debug.
4118 * test/test-simple.c (validate_accessible): fix ref.
4119 leak, print strings before freeing them; sigh, comment a
4120 chunk out due to strangeness.
4121 (validate_tree): unref the child after use.
4123 * cspi/spi_component.c (AccessibleComponent_getLayer):
4124 add missing break statement, switch on zlayer not the
4125 uninitialized retval.
4127 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4128 before (possibly re-entering) remote unref.
4130 * test/simple-at.c (main): unref the desktop.
4132 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4135 * cspi/spi_main.c (cspi_accessible_is_a): here to
4136 isolate bonobo API usage more.
4138 * libspi/registry.c (impl_accessibility_registry_register_application):
4139 prune bogus comment.
4141 2001-12-04 Michael Meeks <michael@ximian.com>
4143 * test/test-simple.c (validate_tree): upd.
4144 IndexInParent check to make it more lucid.
4145 (validate_accessible): dump the tree.
4147 * libspi/accessible.c (de_register_public_ref),
4148 (get_public_refs): impl.
4149 (spi_accessible_new): make more efficient & intuitive.
4150 Now IndexInParent check works.
4152 2001-12-04 Michael Meeks <michael@ximian.com>
4154 * cspi/spi-util.h: remove.
4156 * cspi/spi.h: move SPI_freeString here
4158 * libspi/component.c (impl_accessibility_component_get_layer):
4160 (impl_accessibility_component_get_mdi_z_order): ditto,
4161 return -1 on error - is this ok ?
4163 * test/test-simple.c (test_application): impl.
4165 * cspi/spi_accessible.c (Accessible_getApplication),
4166 (Accessible_isApplication): impl.
4168 * libspi/registry.c (spi_listener_struct_free): release
4169 the CORBA reference too.
4171 * libspi/accessible.c
4172 (impl_accessibility_accessible_get_parent): fix ref leak.
4174 * libspi/registry.c (spi_registry_new): make the registry
4175 immortal - we don't want it to go away ever.
4177 * libspi/application.c
4178 (spi_accessible_application_finalize): impl. cleanup.
4180 * cspi/spi_registry.c
4181 (deregisterGlobalEventListenerAll),
4182 (deregisterGlobalEventListener),
4183 (deregisterAccessibleKeystrokeListener): fix ref leak.
4185 * cspi/spi_main.c (SPI_init): remove redundant ref.
4187 * test/test-simple.c (unutterable_horror): impl. to force a
4192 (impl_accessibility_registry_deregister_application): release
4193 the application when we de-register it.
4195 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4196 until we have the infastructure to get it right.
4198 2001-12-03 Michael Meeks <michael@ximian.com>
4200 * libspi/Makefile.am: only build eventlistener.[ch]
4202 * libspi/accessible.c
4203 (impl_accessibility_accessible_get_child_at_index): don't leak.
4205 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4206 before we hit the idle handler.
4208 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4209 debugging than exit.
4211 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4213 * libspi/listener.c (impl_notify_event): check source
4214 not NIL before unref.
4216 * libspi/registry.c (impl_registry_notify_event): ditto.
4218 * libspi/eventlistener.c
4219 (impl_accessible_event_notify_event): unref the source.
4221 * libspi/accessibleeventlistener.c
4222 (impl_accessible_event_notify_event): unref the source.
4224 * idl/Event.idl: remove 'hash_id' attribute - of no
4227 * libspi/application.c (notify_listeners): upd list
4229 (spi_application_object_event_listener),
4230 (spi_application_toolkit_event_listener): upd to do correct
4234 (_registry_notify_listeners): update.
4235 (parse_event_type): this method also leaks like a sieve.
4236 (impl_accessibility_registry_deregister_global_event_listener):
4237 fix ETYPE_WINDOW case.
4239 * libspi/application.c
4240 (impl_accessibility_application_register_object_event_listener):
4243 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4245 * libspi/hypertext.c (impl_getLink): ditto.
4247 * cspi/spi_main.c (cspi_object_add): remove
4248 bogus CORBA_Object_duplicate.
4250 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4253 * cspi/spi_accessible.c
4254 (Accessible_getRelationSet): fix leak / referencing issue.
4256 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4257 (cspi_object_add, cspi_object_unref): upd.
4258 (spi_object_release, get_live_refs): impl.
4259 (cspi_cleanup): simplify.
4261 * *.[ch]: s/boolean/SpiBoolean/
4263 * cspi/spi_accessible.c (role_names): actualy order so it
4264 corresponds with the enum !
4266 * test/test-simple.c (test_roles): check some role strings
4267 vs. enums to detect offset errors.
4269 2001-12-01 Michael Meeks <michael@ximian.com>
4271 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4273 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4275 (Accessible_getChildAtIndex): use cspi_add_check so we
4276 check the ev before using a (possibly) invalid value.
4278 * libspi/accessible.c
4279 (impl_accessibility_accessible_get_parent): don't segv
4282 * at-bridge/bridge.c (gtk_module_init): upd.
4283 (bridge_property_event_listener): don't leak strings
4285 (bridge_state_event_listener),
4286 (bridge_property_event_listener): don't use a static
4287 buffer in case of recursive event emission &
4288 re-enterancy - split out the swathe of cut and paste
4290 (emit_eventv): and fix 2 ref leaks here & comply to the
4292 (bridge_register_app): rename to
4293 (bridge_idle_init): this and kill arg parsing, split
4294 various inits & bonobo-activation registration to module
4295 init time, kill referencing error.
4296 (bridge_exit_func): fix the same leak.
4297 (bridge_focus_tracker): don't leak event structures
4299 (bridge_signal_listener): more leakage and cut & paste
4301 (bridge_key_listener): return the result - FIXME is
4302 this polarity correct ?
4303 (accessibility_keystroke_from_atk_key_event): rename
4304 (accessibility_init_keystroke_from_atk_key_event): and stop
4306 (gtk_module_init): return a value - not that it is checked by
4308 (bridge_key_listener): register my horror at casting between
4309 IDL defined structs.
4310 (bridge_get_registry): kill - not used.
4312 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4314 * test/test-simple.c (test_roles): impl.
4315 (test_desktop, validate_accessible, validate_tree): impl.
4317 * cspi/spi_accessible.c (role_names): fixup bogus
4318 MAX_ROLES setup, make constants const for efficient linkage
4319 (AccessibleRole_getName): conform to coding style, make
4322 2001-11-30 Michael Meeks <michael@ximian.com>
4324 * cspi/spi.h: add missing prototype.
4326 * libspi/registry.c (spi_listener_struct_new): fix sig.
4328 * test/Makefile.am: add test-simple
4330 * test/test-simple.c: add
4332 * test/test.sh: add.
4334 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4336 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4337 do it straight - since otherwise we often get an activation race.
4339 [ work before Bill duplicated a chunk of it ... ]
4340 2001-11-30 Michael Meeks <michael@ximian.com>
4342 * libspi/keystrokelistener.c
4343 (spi_keystroke_listener_class_init): fixup arg
4346 * libspi/eventlistener.c
4347 (spi_event_listener_class_init): ditto.
4349 * tests/test.sh: add.
4351 * cspi/spi-listener-impl.h: update macros.
4353 * cspi/spi-listener-impl.c
4354 (cspi_event_listener_remove_callback): add
4355 correct pre-conditions.
4357 * cspi/spi_main.c (SPI_exit): guard vs. double
4358 exits, exit the mainloop nicely.
4359 (SPI_event_main): make more sense.
4360 (SPI_init): move the atexit evilness here so we
4361 always do it (yuck).
4362 (SPI_event_main): upd.
4364 * test/simple-at.c: update for listener changes.
4366 * registryd/registryd.c (main): prune kruft.
4368 * libspi/libspi.h: upd.
4370 * libspi/eventlistener.[ch]: rename broken macros.
4372 * libspi/accessibleeventlistener.[ch]: remove.
4374 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4376 * test/test-simple.c: Add - automated tests.
4378 * cspi/spi-listener-impl.c (cspi_event),
4379 (cspi_key_event): add user_data to invoke.
4380 (cspi_keystroke_listener_finalize): impl.
4381 (cspi_keystroke_listener_class_init): upd.
4384 (createAccessibleEventListener),
4385 (AccessibleEventListener_addCallback),
4386 (createAccessibleKeystrokeListener),
4387 (AccessibleKeystrokeListener_addCallback): upd.
4389 * libspi/deviceeventcontroller.c
4390 (spi_device_event_controller_check_key_event): add public proto.
4393 (impl_accessibility_registry_deregister_global_event_listener):
4394 always init listeners.
4395 (_registry_notify_listeners): yes it is.
4397 * cspi/spi-listener-impl.c (cspi_key_event):
4399 (cspi_event_listener_finalize): impl.
4400 (cspi_event_listener_class_init): hook up.
4401 (event_handler_new, event_handler_free),
4402 (event_list_remove_by_callback): impl.
4403 (cspi_event_listener_remove_callback),
4404 (cspi_keystroke_listener_remove_callback),
4405 (cspi_keystroke_listener_add_callback),
4406 (cspi_event_listener_add_callback): upd.
4408 * libspi/keystrokelistener.c
4409 (keystroke_listener_object_finalize): kill
4410 (spi_keystroke_listener_class_init): upd.
4411 (spi_keystroke_listener_add_callback),
4412 (spi_keystroke_listener_remove_callback): kill,
4414 (impl_key_event): prune drasticaly.
4416 * libspi/eventlistener.c
4417 (spi_event_listener_add_callback),
4418 (spi_event_listener_remove_callback): kill, use
4420 (impl_accessible_event_notify_event): upd.
4421 (spi_event_listener_object_finalize): remove.
4423 * libspi/Makefile.am: use eventlistener.[ch]
4425 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4427 * libspi/registry.c (_registry_notify_listeners):
4428 Changed listener loop iteration to use preferred convention.
4429 Got rid of string memory leaks caused be calling g_strconcat
4430 inside function calls.
4432 * libspi/registry.c (parse_event_type):
4433 Stopped g_strconcat memory leaks, free the g_strsplit return,
4434 g_strdup the split pieces when used, etc.
4436 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4439 Change method 'compare' to return a 'difference set' rather than
4440 taking a StateSet as an out parameter (more Java-friendly).
4442 * idl/Accessible.idl:
4443 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4445 * idl/Component.idl:
4447 Changed methods 'getExtents' and 'getImageExtents' in these
4448 interfaces to return a BoundingBox structure.
4449 (getPosition and getSize are redundant and possibly should be
4450 removed, rather than creating a corresponding Point struct.)
4452 * cspi/spi_component.c:
4453 Modify implementation of getExtents to reflect the above IDL
4458 Add (missing) AccessibleImage_getExtents () API.
4460 * docs/reference/cspi/at-spi-cspi-sections.txt:
4461 Added AccessibleImage_getImageExtents () to docs.
4463 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4465 * idl/Component.idl:
4466 Added two methods, getLayer () and getMDIZOrder (), to reflect
4467 the new ATK methods atk_object_get_layer and
4468 atk_object_get_mdi_z_order. (Which arguably should be part of the
4469 AtkComponent API and AtkObject). Also added an enum,
4470 ComponentLayer, for the first method's return value.
4472 * libspi/component.c:
4473 Added implementations for these methods.
4475 * cspi/spi_component.c:
4477 Added cspi binding methods for above,
4478 AccessibleComponent_getLayer() and
4479 AccessibleComponent_getMDIZOrder().
4480 Added cspi enum 'AccessibleComponentLayer'.
4482 * docs/reference/cspi/at-spi-cspi-sections.txt:
4483 Added above methods to docs.
4487 Changed typedef for 'boolean' type (and all references to it) to
4488 SPIBoolean, to avoid keyword clashes with C++.
4491 Changed usages of 'boolean' to SPIBoolean.
4493 * test/keysynth-demo.c:
4494 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4495 app), except where SPIBoolean is required by the callbacks API.
4497 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4499 * cspi/spi_registry.c:
4500 Removed obsolete X event loop for passive keygrabs (which now
4503 * registryd/registryd.c:
4504 Removed unnecessary call to gdk_init() [cruft]. This also allows
4505 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4508 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4510 * docs/reference/cspi:
4511 Included docs for SPI_freeString in generated documentation.
4514 Renamed spi_freeString to SPI_freeString, for consistency. Added
4515 documentation for this function.
4518 Renamed spi_freeString to SPI_freeString, for consistency.
4519 Removed obsolete method declaration string_from_corba_string.
4521 * test/keysynth-demo.c:
4522 Small tweak to comments.
4525 Stopped leaking the strings returned from CSPI.
4527 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4529 Merged Michael's branch (see his ChangeLog entries below).
4531 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4532 bridge is alive, release on exit.
4534 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4535 Fix type check macro.
4538 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4541 Added is_gnome_app static, and method cspi_is_gnome_app(),
4542 so we can call the appropriate shutdown routine at exit in SPI_exit.
4544 * cspi/spi_main.c (cspi_object_ref):
4545 Duplicate the corba object passed in, since we're keeping it around.
4547 * cspi/SPI_exit.c, cspi_cleanup:
4548 Moved the releasing of the live refs to its own function, so we
4549 can put it in g_atexit (). Call the appropriate shutdown API
4550 depending on whethe calling client is a gnome app or not
4551 (bonobo_main_quit or CORBA_ORB_shutdown).
4553 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4554 Unref the listener when this method is called, after
4555 deregistration. Updated the API docs to note this behavior.
4557 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4558 Bugfixes: Ref the bonobo object when returning a parent or child
4559 reference, or an AccessibleRelation. Generally made sure
4560 BonoboObject refcount is incremented whenever we return an
4563 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4564 Fixed typo/bug in signal declaration.
4566 * libspi/accessibleeventlistener.h:
4569 * libspi/application.c (spi_application_new):
4570 Fixed leak in initialization.
4573 Remembered to increment bonobo-object refcount when returning
4574 children (applications) from desktop object.
4575 Added (empty) finalize method.
4577 * libspi/deviceeventcontroller.c:
4578 Hold a ref to listeners inside DEControllerKeyListeners.
4579 Added dec_key_listener_free() method. Use prepend instead of
4580 append in key_listener list. Fixed some refcount madness and
4581 leaks in the listener registration/deregistration - deregistration
4582 now calls dec_key_listener_free() on listeners, and on the
4583 temporarily constructed dec_key_listener() used to perform the search/match.
4585 * libspi/hypertext.c (spi_hypertest_finalize):
4586 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4587 class. Also fixed spi_hypertext_interface_new() and
4588 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4590 * libspi/hypertext.h:
4591 Removed pointless and duplicate AtkObject pointer from
4594 * libspi/keystrokelistener.c:
4595 Fixed incorrect type of keystroke_listener_parent_class,
4596 renamed keystroke_listener_object_finalize to
4597 spi_keystroke_listener_object_finalize.
4598 Fixed typo in signal declaration
4599 (spi_keystroke_listener_class_init).
4601 * libspi/registry.c:
4602 Added funcsions spi_listener_struct_new() and
4603 spi_listener_struct_free() to help with memory management issues.
4604 We also now use these methods instead of gnew + poking stuff into
4605 the struct, and to decrement listener counts/free the listeners
4606 when deregistering them.
4607 Fix more refcount bugs in getDesktop() and
4608 getDeviceEventController().
4611 De-ref the desktop after enumerating the applications. Explicitly
4612 decrement the refcounts on the created listeners on exit (using
4613 _unref for keystroke listeners, and via the
4614 deregisterGlobalEventListenerAll command for other event
4617 2001-11-27 Michael Meeks <michael@ximian.com>
4619 * cspi/spi-listener.h: fixup enum.
4621 2001-11-27 Michael Meeks <michael@ximian.com>
4623 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4624 (cspi_keystroke_listener_new): Use the cspi variants.
4626 2001-11-26 Michael Meeks <michael@ximian.com>
4628 * test/keysynth-demo.c: fix 2 compile warnings, missing
4631 * test/simple-at.c (report_focussed_accessible),
4632 (report_focus_event, report_button_press),
4633 (check_property_change, is_command_key),
4634 (report_ordinary_key_event, report_command_key_event): upd.
4636 * util/mag_client.h: include pre-requisites.
4638 * libspi/accessibleeventlistener.c
4639 (spi_event_listener_object_finalize): free any lingering
4642 * libspi/keystrokelistener.c
4643 (keystroke_listener_object_finalize): ditto.
4645 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4646 callbacks, with cspi types.
4648 * cspi/spi_event.c (createAccessibleEventListener): chain to
4649 (AccessibleEventListener_addCallback): here.
4650 (createAccessibleKeystrokeListener): chain to
4651 (AccessibleKeystrokeListener_addCallback): here.
4653 * libspi/keystrokelistener.c
4654 (spi_keystroke_listener_class_init): add signal.
4655 (impl_key_event): emit the event.
4656 (boolean_handled_accumulator): impl.
4657 (marshal_BOOLEAN__POINTER): add, gack.
4659 * libspi/accessibleeventlistener.c
4660 (spi_event_listener_class_init): add signal.
4661 (impl_accessible_event_notify_event): emit the signal &
4662 make the loop efficient.
4663 (spi_event_listener_add_callback): prepend the callback.
4665 * libspi/accessibleeventlistener.h: add an 'event' signal,
4666 decl type on callback.
4668 * libspi/keystrokelistener.h: ditto.
4670 * cspi/spi-listener.h: make methods typesafe and
4671 make them use the new event typedefs.
4673 * test/simple-at.c (report_focussed_accessible):
4674 include mag_client.h
4675 Use *(void *)text_interface not the other thing.
4677 * configure.in: add gtk to registryd bits - since we use
4680 * util/magnifier.c: include libbonobo.h
4682 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4684 * test/keysynth-demo.c:
4685 Turned this into a simple scanning keyboard, to demonstrate the
4686 use of g_timeout_add () as a means of creating timers for
4687 scanning, and the use of GtkStyle for visually indicating when
4688 virtual keyboard elements are selected.
4690 keysynth-demo now listens to any keyboard keys with zero-valued
4691 keycodes (i.e. 'unused' keys) and interprets them as
4694 Reworked the shiftlatch code so that shift-down state isn't held
4695 for long periods (it's only synthesized immediately prior to
4696 the keysynth event it's modifying). Note that shiftlatch in this
4697 demo is a convenience, not intended to take the place of AccessX
4698 which is the better choice for getting 'sticky' modifier keys.
4700 * libspi/deviceeventcontroller.c:
4701 * at-bridge/bridge.c:
4702 * cspi/spi_registry.c:
4703 Removed some debug print stuff, and put other verbosity in #ifdef
4708 Implemented some more of the magnifier IDL for the simple
4709 magnifier: namely, getZoomRegionParams.
4710 Added mag_x and mag_y members to MagnifierData struct, aid of this
4712 Added GtkWindow::realize signal handler to magnifier, to keep it
4713 from receiving keyboard focus from the WM.
4715 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4717 * cspi/spi-private.h: my guess at what michael forgot
4718 before he ran off to NZ :-)
4720 2001-11-23 Michael Meeks <michael@ximian.com>
4722 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4723 comment out non existant method invoke so we link.
4725 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4726 use bonobo_exception_get_text for more friendly warnings.
4728 * cspi/spi.c (Obj_Add): move into spi_main & rename
4729 spi_object_add; kill spi.c
4731 * cspi/spi_registry.c
4732 (deregisterGlobalEventListener),
4733 (deregisterGlobalEventListenerAll),
4734 (registerGlobalEventListener): fix exception leaks.
4736 * cspi/spi_main.c (spi_exception): impl. helper, so we
4737 don't leak exceptions.
4739 * cspi/spi_selection.c
4740 (AccessibleSelection_deselectSelectedChild): return the
4743 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4744 (spi_registry): ditto.
4745 (SPI_init): guard against double inits.
4747 * cspi/*.c: use spi_ev (), and spi_registry () where
4748 appropriate - a temporary hack until we have something
4749 better. Use spi_object_add
4751 2001-11-22 Michael Meeks <michael@ximian.com>
4753 * cspi/Makefile.am: re organise, install the headers.
4755 * cspi/*.h: add G_BEGIN/END_DECLS
4757 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4760 Added non-preemptive keylistener for key events with no modifiers
4761 and shift-only modifier.
4763 * libspi/keystrokelistener.c:
4764 Removed some verbose diagnostics printout.
4766 * cspi/spi_registry.c:
4767 Fixed a bug that caused all key listeners to be registered as
4770 * libspi/deviceeventcontroller.c:
4771 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4772 for non-preemptive key masks.
4775 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4777 * docs/reference/idl/at-spi-idl-docs.sgml:
4778 * docs/reference/idl/at-spi-idl-sections.txt:
4779 * docs/reference/idl/at-spi-idl-overrides.txt:
4780 Added missing files.
4782 * docs/reference/Makefile.am:
4783 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4784 to scan the IDL files :-(
4789 Added .cvsignore files.
4791 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4793 * libspi/deviceeventcontroller.c:
4794 * libspi/keystrokelistener.c:
4796 * cspi/spi_registry.c:
4797 Added filters for KeySets, KeyEventSeq, and event types to key
4798 event dispatching, so listeners should only receive those events
4799 that they requested :-)
4801 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4806 * docs/reference:Makefile.am:
4807 * docs/reference/cspi:
4808 * docs/reference/cspi:Makefile.am:
4809 * docs/reference/cspi:tmpl:
4810 * docs/reference/cspi:tmpl:*.sgml:
4811 * docs/reference/idl:
4812 * docs/reference/idl:Makefile.am:
4813 * docs/reference/idl:at-spi-idl-sections.txt:
4814 * docs/reference/idl:at-spi-idl-docs.sgml:
4815 * docs/reference/idl:tmpl:
4816 * docs/reference/idl:tmpl:*.sgml:
4818 Restructured docs directory to allow separate 'reference' docs
4819 section, and forked idl and cspi docs. Added the sgml template
4820 files to CVS. Added the first sections/structural sgml for the
4823 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4825 * configure.in, libspi/Makefile.am: find libXtst.
4827 2001-11-21 Michael Meeks <michael@ximian.com>
4829 * test/accessx-gui.c: s/spi_value/value/ - doh.
4831 * libspi/base.[ch]: add.
4833 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4835 * idl/Accessible.idl:
4836 * idl/Application.idl:
4839 Started gtk-doc cleanup on IDL.
4841 * libspi/deviceeventcontroller.c:
4842 Added and connected non-preemptive key notification from the
4843 toolkits (in addition to the pre-emptive support from XServer
4844 which we had before, but which causes 'focus flashing'). Filters
4845 are presently limited to key modifiers and global/non-global,
4846 KeySets are presently ignored, as are KeyEvent masks.
4848 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4849 structs into the persistant structure rather than just storing
4850 pointers to things that might not persist across servant
4853 The XGrabKey call now does async keygrabs, because synchronous
4854 ones were deadlocking with GDK_event code in a very nasty way.
4856 Added boolean to internal method notify_keylisteners, to indicate
4857 whether the event came from the 'toolkit source' or the 'global
4858 (XServer) source' - this is used in the notification process to
4859 determine which listeners to send the event to.
4861 deviceeventcontroller.c is now warning-free.
4863 * libspi/registry.c:
4864 Fixed regression in application de-registration.
4865 Also fixed some really brain-dead weirdness having to do with
4866 event dispatching - event structs are now duplicated before being
4867 re-marshalled in the dispatch to listeners. This also fixes a
4868 Solaris build problem.
4871 2001-11-20 Michael Meeks <michael@ximian.com>
4874 (impl_accessibility_registry_deregister_global_event_listener):
4877 * libspi/deviceeventcontroller.c
4878 (spi_device_event_controller_check_key_event): return
4879 FALSE on no virtual method.
4881 * libspi/*..h: make includes work on a correctly pathed install.
4883 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4885 * libspi/application.h: kill unused ( and whacked out )
4886 gboolean *spi_application_set_id (AtkObject *app, long id);
4888 2001-11-20 Michael Meeks <michael@ximian.com>
4890 * libspi/*.[ch]: further convert to bonobo's type func
4891 macros, remove redundnant casts etc.
4893 * libspi/text.c s/accessibility_text/spi_text/g,
4894 re-order to de-cruft.
4896 * libspi/hypertext.c: re-order to kill a huge slew
4897 of redundant forward decls.
4899 * libspi/relation.c: ditto.
4901 * libspi/image.c: ditto.
4903 * */.cvsignore: update
4905 2001-11-20 Michael Meeks <michael@ximian.com>
4907 * libspi/deviceeventcontroller.c
4908 (_controller_register_with_devices): use g_getenv,
4909 kill stdlib.h include.
4911 * libspi/keystrokelistener.c
4912 (spi_keystroke_listener_get_type): kill
4913 (spi_keystroke_listener_class_init),
4914 (spi_keystroke_listener_init): rename to this.
4916 * libspi/text.c (impl_getAttributes): fix warning / bug.
4918 * libspi/*.[ch]: more headers, includes and over commenting.
4920 2001-11-20 Michael Meeks <michael@ximian.com>
4922 * libspi/*.[ch]: fixup headers, includes and over commenting.
4924 * libspi/image.c (impl__get_imageDescription): const
4925 correctness warning fix. remove redundant casting.
4927 * libspi/table.c (impl_getRowDescription): ditto.
4928 (impl_getColumnDescription): ditto.
4930 * libspi/libspi.h: add.
4932 2001-11-19 Michael Meeks <michael@ximian.com>
4934 * libspi/editabletext.c (impl_setAttributes): fix warnings.
4936 * libspi/component.c (accessibility_component_get_type):
4937 rename to (spi_component_get_type): and macroify.
4938 (accessibility_component_init): rename to
4939 (spi_component_init): this
4940 (accessibility_component_class_init): rename to
4941 (spi_component_class_init): this
4943 * libspi/action.c (spi_action_get_type): kill, use the macro.
4945 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
4948 * libspi/application.c (spi_application_object_event_listener),
4949 (impl_accessibility_application_register_object_event_listener):
4950 warning fixes / const understanding updates.
4952 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
4955 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4957 * libspi/spi_accessible.c: Added docs and C bindings for
4958 AccessibleStateSet. (No implementations yet). Documentation
4959 coverage for C bindings now 100%. Made docs for event listeners
4964 boolean notifyListenersSync (in DeviceEventListener listener,
4965 in DeviceEvent event);
4967 oneway void notifyListenersAsync (in DeviceEventListener listener,
4968 in DeviceEvent event);
4970 Added DeviceEventListener and DeviceEvent structs (may deprecate
4971 KeyStroke and KeystrokeListener in favor of this generic
4972 event/listener framework for devices).
4974 * libspi/deviceeventcontroller.c:
4976 Changed some key listener code to take masks, etc., and paved the
4977 way for integration of toolkit/non-preemptive key events. Changed
4978 signatures of some internal methods.
4980 * at-bridge/bridge.c:
4981 Fixed regression connecting to interface signals, apparently
4982 caused by GTK+ changes.
4984 Added an internal bridge_state_listener to deal with
4985 property-change:accessible-state signals.
4987 Changed the key_listeners GList to store structs (including masks,
4988 etc.) instead of just CORBA_Objects (required for full
4989 implementation of key listener API).
4991 Connected the bridge to all currently supported Atk signals.
4992 Events now supported:
4993 object:property-change
4994 object:property-change:accessible-name
4995 object:property-change:accessible-state
4996 object:property-change:accessible-description
4997 object:property-change:accessible-parent
4998 object:property-change:accessible-value
4999 object:property-change:accessible-role
5000 object:property-change:accessible-table-caption
5001 object:property-change:accessible-table-column-description
5002 object:property-change:accessible-table-column-header
5003 object:property-change:accessible-table-row-description
5004 object:property-change:accessible-table-row-header
5005 object:property-change:accessible-table-summary
5006 object:children-changed
5007 object:visible-data-changed
5008 object:selection-changed
5009 object:text-selection-changed
5011 object:text-caret-moved
5013 object:row-reordered
5015 object:column-inserted
5016 object:column-reordered
5017 object:column-deleted
5018 object:model-changed
5020 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5022 * libspi/hyperlink.c,h:
5023 Fixed some broken stuff in hyperlink.
5025 * libspi/relation.h:
5026 * libspi/relation.c:
5027 * cspi/spi_accessible.c:
5028 Initial implementations of AccessibleRelation methods, and docs.
5030 * libspi/accessible.c:
5031 Fixed a bug that caused SEGV if an accessible
5032 object's description is NULL, and a client
5033 requests it. An empty string is now returned.
5035 * cspi/spi_editabletext.c:
5036 * cspi/spi_hypertext.c:
5038 * cspi/spi_hyperlink.c:
5042 Doc coverage now 95%.
5044 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5046 One last namespacing revision:
5047 * libspi/accessibleeventlistener.[ch]:
5048 Renamed SpiAccessibleEventListener to SpiEventListener,
5049 (no need for two namespaces ;-)
5051 And lots of documentation fixes:
5053 * docs/at-spi-docs.sgml:
5054 Fixed 'underscore vs. hyphen' bug that was preventing
5055 the gtk-doc API docs from being automatically generated.
5058 * cspi/spi-listener.h
5060 * cspi/spi_accessible.c
5062 * cspi/spi_application.c
5063 * cspi/spi_component.c
5064 * cspi/spi_editabletext.c
5066 * cspi/spi_hypertext.c
5068 * cspi/spi_registry.c
5069 * cspi/spi_selection.c
5073 * docs/at-spi-docs.sgml
5074 * docs/at-spi-sections.txt
5076 Added and fixed up gtk-doc documentation in cspi.
5078 Interfaces now (fully) documented (subject to revision and enhancement):
5080 Event Listener Support
5082 AccessibleApplication
5086 AccessibleEditableText
5093 AccessibleRelationSet
5098 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5100 * at-bridge/bridge.c:
5101 Initial work for toolkit-level key snooper connection by bridge.
5106 New typedefs and fixes to support new namespacing, and cleaner
5107 separation of cspi bindings from libspi bonobo implementation.
5108 Removed inconsistent and extraneous Spi* namespace prefix that
5109 had crept into cspi headers.
5110 Lots of comment fixes that sed had missed.
5112 * cspi/spi-roletypes.h:
5113 * cspi/spi-statetypes.h:
5114 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5115 to AccessibleRoleType.
5117 * libspi/accessibleeventlistener.h:
5118 Fixed minor namespacing weirdness.
5120 * libspi/deviceeventcontroller.c:
5121 Reordered some internal API for device listeners.
5122 Changed the key registry final boolean to 'is_system_global'
5123 rather than 'is_synchronous', which is more descriptive of its
5125 Added spi_device_event_controller_new().
5126 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5128 * libspi/keystrokelistener.[ch]:
5129 Namespaced KeystrokeListener to SpiKeystrokeListener.
5130 Changed uses of keymasks to use SPI_ prefix, and did other
5133 * libspi/keymasks.h:
5134 Namespaced keymask constants with SPI_ prefix.
5136 * libspi/registry.c:
5137 Some warning fixes, and knock-on fixes from namespace changes.
5140 Added rules for accessx-gui test program.
5142 * test/accessx-gui.c:
5143 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5144 utility. It doesn't actually use at-spi, but it's still cool and
5147 * test/keysynth-demo.c:
5151 Fixes so that these test clients work properly with the namespaced
5152 libraries. (Incompletely tested for technical reasons, fixes may follow)
5155 2001-11-13 Michael Meeks <michael@ximian.com>
5157 * libspi/application.c
5158 (impl_accessibility_application_get_version),
5159 (impl_accessibility_application_get_toolkit_name):
5161 (impl_accessibility_application_set_id),
5162 (impl_accessibility_application_get_id): remove
5163 redundant casting code.
5165 * libspi/action.c (impl_getDescription): fix warnings.
5167 * libspi/accessible.c
5168 (impl_accessibility_accessible_get_parent),
5169 (impl_accessibility_accessible_get_child_at_index),
5170 (impl_accessibility_accessible_get_state),
5171 (impl_accessibility_accessible_get_relation_set):
5172 warning fixes & include action.h
5174 2001-11-13 Michael Meeks <michael@ximian.com>
5176 * *.[ch] fix bits I screwed up:
5178 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5179 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5181 2001-11-13 Michael Meeks <michael@ximian.com>
5183 * *.[ch] Namespace libspi into spi_ and Spi.
5185 2001-13-11 Michael Meeks <michael@ximian.com>
5187 * Makefile.am: dist & install at-spi-1.0.pc
5189 * libspi/Makefile.am: install into at-spi-1.0
5191 * idl/Makefile.am (idldir): install into at-spi-1.0
5193 * at-spi-1.0.pc.in: add.
5195 * configure.in: build it.
5197 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5199 * test/keysynth-demo.c:
5200 Use a 'realize' signal-handler to set the WM properties for
5201 the virtual keyboard, rather than making it a "POPUP" type
5202 override-redirect window (thanks to anders carlsson for that
5205 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5208 * test/keysynth-demo.c:
5209 Added new test of key synthesis, which creates a simple
5210 (mouse-operated) onscreen keyboard. It inserts key events into
5211 the currently-focused window, thus it does not grab keyboard focus
5214 * cspi/spi_registry.c:
5215 Added C binding for AT-SPI generateKeyEvent.
5217 * libspi/deviceeventcontroller.c:
5218 Added call to XFilterEvent so that key listener works with XIM (we
5219 hope). Added event_synth_type to generateKeyEvent, so that we can
5220 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5221 synthesize a press/release pair for KeySyms.
5223 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5225 * libspi/Makefile.am:
5226 * registryd/Makefile.am:
5227 (temporary) hack to include libXtst in libspi and registryd.
5228 (Needed for keystroke synthesis, see below).
5231 Improved API for registerKeystrokeListener, in accordance with
5232 discussions with Gnopernicus team and X server research.
5234 * libspi/registry.c:
5235 * libspi/deviceeventcontroller.c:
5236 * libspi/accessible.c:
5237 * libspi/keystrokelistener.c:
5238 Changes and fixes to support keylisteners for potentially
5239 consumed key events (that is, 'passive grabs').
5240 Added implementation for generateKeyEvent() [untested].
5243 Changes to registerKeystrokeListener() API, as above.
5244 Added deregisterGlobalEventListenerAll(), and
5245 deregisterKeystrokeListener(), which are needed for clean exit of
5247 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5248 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5250 * cspi/spi_registry.c:
5251 Added implementations of function prototypes mentioned above.
5253 * registryd/registryd.c:
5254 Added the key listener event source as a g_timeout(), to allow
5255 receipt of key events that are not caught by GDK (since GDK
5256 doesn't support passive keygrabs, this was necessary).
5259 Changed to attach a keylistener to 'Alt' keys, and
5260 respond to the following keycommands: Alt-M (toggle magnifier);
5261 Alt-F (toggle speech); Alt-Q (quit).
5262 Added an exit routine to deregister the listeners, and a key
5263 listener that prints some key info to the console when a key
5264 matches the listener mask (and is thus received by the listener).
5266 * util/idl/Magnifier.idl:
5267 Changes to magnifier API to support multiple zoom regions,
5268 non-uniform scaling in x and y, markDirty, and a host of other
5269 features that would be useful to magnification.
5272 * util/mag_client.c:
5273 * util/mag_client.h:
5274 * util/mag_control.c:
5276 Source code changes to support the above IDL changes.
5279 As above, and also changes to use a (slower) generic conversion
5280 path for colormap conversions, since the fast RGB conversions have been
5281 reported to fail for 16-bit displays.
5283 2001-10-26 Michael Meeks <michael@ximian.com>
5285 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5287 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5289 * at-bridge/Makefile.am: fix LDFLAGS.
5291 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5293 * at-bridge/bridge.c:
5294 Re-worked listeners for toolkit events, now we have signal
5295 and property listeners. Added a private method
5296 register_atk_event_listeners(), which registers with the
5297 various atk and gtk signals we need to monitor in order to emit
5299 Added emission hook for AtkObject:property-change events, to
5300 support the 'property listeners'.
5301 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5304 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5305 which emit warnings and exit, respectively, if CORBA errors occur
5306 during remote calls, and we now use these methods to check most of
5307 our CORBA calls in the C bindings.
5309 * cspi/spi_accessible.c:
5310 Changed AccessibleSelection_refSelectedChild() to
5311 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5312 now increment refcounts.
5314 * cspi/spi_component.c:
5315 Fixed some long pointer casts (dangerous!) to pass pointers to
5316 CORBA_longs of the proper type to the CORBA stubs, and copy the
5317 data into the longs that were passed into the C bindings code.
5319 * at-bridge/bridge.c:
5321 * libspi/accessible.c:
5322 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5323 hyperlinks, AtkHyperlink is an object type.
5325 * libspi/application.c:
5326 Added various conversions to and from "generic" event types and
5327 atk-specific types; this is really part of the 'bridge'
5328 implementation but is valid for all AtkObject-based accessibility
5331 * libspi/editabletext.c:
5332 Fixed nasty bug wherein editable text's finalize method was
5333 unref'ing tha AtkObject reference that the text parent class was
5334 about to unref _again_. There was also a nasty inheritance bug
5335 that meant that the AccessibleEditableText class was corrupt.
5337 * libspi/selection.c:
5338 Provided implementations for some selection API that was broken.
5340 * idl/Application.idl:
5341 Added registerObjectEventListener () method.
5344 Fixed a number of return values that were Bonobo_Unknowns from
5345 bonobo_object_corba_objref(), which I
5346 forgot to dup before returning. Changed instances of
5347 bonobo_object_corba_objref (bonobo_object(o)) to
5348 BONOBO_OBJREF(o), for concision and clarity.
5350 2001-10-13 Louise Miller <louise.miller@sun.com>
5352 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5353 idl/Event.idl, idl/Registry.idl
5354 Changed these files to include Bonobo_Unknown.idl instead
5357 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5359 * libspi/component.c libspi/component.h:
5360 Fixed typo. Added assertions for object checks in
5361 AccessibleComponent code.
5363 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5365 * idl/Accessible.idl:
5366 Added 'isEqual (Accessible *object)'
5367 method for Accessible. (Not Yet Implemented).
5370 Changed signature of registerKeystrokeListener() to
5371 take a KeySet and KeyEventSeq so that specific keys and event
5372 types could be requested for monitoring, and added a flag
5373 is_synchronous so that either synchronous or asynchronous
5374 notification could be requested. (However this is not all
5375 implemented yet). This also meant adding two new typedefs,
5376 KeyEventSeq and KeySet.
5379 Added two new relations, RELATION_TOOLTIP_FOR and
5380 RELATION_LEAFNODE_OF.
5383 Added new state, STATE_HAS_TOOLTIP.
5385 * libspi/text.c, editabletext.c:
5386 Added new assertions to all casts of bonobo-objects from
5387 CORBA servants, to prevent Text API calls on non-text objects.
5388 Changed suspect casts of int-pointer types, so that we
5389 always send a valid CORBA_long pointer to the CORBA APIs that use
5390 in/out long parameters. We then have to copy from the CORBA_long
5391 into the regular long or int for return to the C bindings, or
5392 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5395 * libspi/deviceeventcontroller.c:
5396 Cleaned these sources up.
5398 Changed return type for getCharacterAtOffset to
5399 CORBA_unsigned_long, to allow for 32-bit characters.
5402 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5406 Fixed 'make dist' so that distro compiles...
5407 * libspi/keymasks.h:
5409 * cspi/spi-listener.c:
5410 KeystrokeListenerCB now returns a boolean.
5412 Added KeyEventType struct, and KeyStroke.
5413 Also added createKeystrokeListener(),
5414 KeystrokeListener_addCallback(),
5415 KeystrokeListener_removeCallback(), and added a keymask to
5416 registerKeystrokeListener().
5417 * cspi/spi_accessible.c:
5418 Changed numerous return types for interfaces from
5419 AccessibleComponent to Accessible<InterfaceName>; this was
5420 probably a cut-and-paste error.
5422 Implementations of new KeystrokeListener api (from spi.h,
5425 Changes to key modifier mapping.
5426 Created ControllerEventMask struct.
5427 Made DeviceEventController derive from Bonobo::Unknown.
5429 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5430 * libspi/deviceeventcontroller.c:
5431 Added a number of new internal (private) methods.
5432 * libspi/editabletext.c:
5433 * libspi/editabletext.h:
5434 Fixed a number of bugs related to the fact that
5435 editabletext inherits from text. Fixed the EditableText struct,
5436 the init() call, and use correct casts when calling Text methods
5437 from an EditableText object. Removed (duplicate) atko from the
5438 EditableText structure, we use the one in the parent Text
5439 structure via the casts mentioned above.
5440 * libspi/keystrokelistener.[ch]:
5441 * libspi/registry.c:
5442 Changes in support of keyboard handling (above).
5444 Keyboard handling, though partly functional, is still not
5445 recommended for at-spi client use as there is considerable
5446 work yet to be done.
5449 Changed some places where pointers to various int types
5450 are cast to be pointers to CORBA_long types and vice-versa:
5451 pointer casting is not safe so we pass pointers of the correct
5452 types and then cast the result before putting it into the target
5455 * libspi/text.h: minor typos corrected.
5457 We now speak not only the name of a Text element, but the
5458 first sentence of its content, when it receives focus.
5459 I also changed the text compression to 75% from 50%.
5460 * util/Accessibility_Util.server.in:
5461 Changed the default magnifier type to be a 3x vertical
5462 splitscreen magnifier (was previously a 2x horizontal one).
5464 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5466 * libspi/keystrokelistener.h:
5467 * libspi/keystrokelistener.c:
5468 Initial functional implementations of KeystrokeListener.
5471 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5473 Fixed string handling for NULL strings in libspi.
5474 Added spi_freeString to free strings returned by C bindings.
5476 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5478 * libspi/keystrokelistener.h:
5479 * libspi/keystrokelistener.c:
5480 Began (no-op) implementations of KeystrokeListener
5482 * libspi/deviceeventcontroller.c:
5483 * libspi/deviceeventcontroller.h:
5484 Began creating implementations of DeviceEventController,
5485 to handle keystroke and mouse event listening and
5487 * libspi/accessible.c:
5488 Stubbed-in the implementations for
5489 Accessibility_Accessible_getState and
5490 Accessibility_Accessible_getRelationSet.
5491 * libspi/registry.c:
5492 Improved de-registration process and fixed some bugs,
5493 deregistration now works correctly.
5495 Added initialization of applications list (to NULL).
5497 Reduced speech compression from 0.5 to 0.7, for demo.
5498 Changed call to gdk_window_set_decorations()
5499 to gtk_window_set_decorated().
5500 * at-bridge/bridge.c:
5501 Bridge now deregisters when app exits, via
5502 registration of a cleanup function
5503 with the g_atexit() call.
5504 Required making 'app' static, renamed 'this_app'.
5505 Fixed broken use of bonobo_init, passing argv wrongly.
5507 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5511 Created a new directory for
5512 accessibility-related utilities, primarily for
5513 testing and demo purposes, but with possible
5520 Onscreen magnifier utility that
5521 is implemented as a bonobo service.
5523 * util/mag_client.c:
5524 * util/mag_client.h:
5525 Client-side support (simple C bindings)
5526 for Magnification service
5528 * util/mag_control.c:
5529 Client program example for
5530 Magnification service
5532 * util/Accessibility_Magnifier.server.in:
5533 Bonobo-activation file for the
5534 Magnification service.
5537 * util/idl/Magnifier.idl:
5538 IDL defining the bonobo Magnification
5542 Modifications to use the bonobo-activated magnifier
5543 above, in place of trying to connect to an existing
5544 magnifier that uses socket-listening IPC.
5546 If env variable MAGNIFIER is set, a magnifier service
5547 will be started if one does not exist.
5549 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5551 * at-bridge/bridge.c:
5552 applied patch from Marc to build and run
5553 against new glib and gtk+ (seemed like a change
5554 to bonobo_init signature was made ?)
5556 made festival-server support turned off by default.
5557 Added support for a simple magnifier (off by default)
5558 which will be added to a 'util' directory later.
5559 * at-bridge/Makefile.am:
5560 Changed "application.h" header from a 'source'
5561 to a 'dependency' of libat-bridge.
5563 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5572 Added interface implementation c files to list of
5573 includes so they are included in libcspi.
5576 Changed prototype of AccessibleAction_doAction to return a
5578 Changed prototype of AccessibleTable_getCaption to
5579 return an Accessible.
5580 Changed prototype of AccessibleTable_getSelectedRows
5581 and AccessibleTable_getSelectedColumns to
5582 return a long (returns the number of selected rows
5583 or columns respectively).
5584 Changed name of AccessibleText_refRunAttributes to
5585 AccessibleText_getAttributes.
5586 Changed prototype of AccessibleText_getCharacterExtents to
5587 return a void rather than a boolean.
5588 Added support for a AccessibleCoordType parameter
5589 specifying what type of coordinates are desired.
5590 Added an AccessibleCordType parameter to
5591 AccessibleText_getPointAtOffset.
5593 * cspi/spi_accessible.c:
5594 Added code to return the outstanding interfaces from
5595 Accessible_queryInterface.
5597 * cspi/spi_action.c:
5599 Corrected call to getNActions to call the c binding
5602 * cspi/spi_editabletext.c:
5604 Changed name from setRunAttributes to setAttributes.
5606 * cspi/spi_hyperlink.c:
5608 Changed call to getNAnchors to correctly call the c
5609 binding for an attribute.
5611 * cspi/spi_hypertext.c:
5613 Changed getImageDescription to correctly call the
5614 binding for an attribute.
5616 * cspi/spi_selection.c:
5617 Changed getNSelectedChildren to correctly call the c
5618 binding for the attribute.
5619 Changed refSelectedChild to getSelectedChild.
5623 Changed getCaption to return an Accessible.
5624 Fixed calls which retrieve attributes.
5625 Changed refAt to getAccessibleAt.
5626 Changed getNSelectedRows and getNSelectedColumns to
5630 Changed getCharacterExtents and getPointAtOffset to accept an
5631 AccessibleCoordType.
5633 Changed calls which retrieve attributes.
5634 Changed refRunAttributes to getAttributes.
5639 * idl/Hyperlink.idl:
5640 Changed n_anchors attribute to nAnchors to keep naming
5641 convention consistent.
5644 Made Table inherit from Bonobo::Unknown.
5645 Added nSelectedColumns and nSelectedRows attributes.
5648 Made Value inherit from Bonobo::Unknown.
5650 * libspi/hyperlink.c:
5651 Change for nAnchors attributte name change.
5653 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5661 Added interface implementation c files to list of
5662 includes so they are included in libcspi.
5665 Changed prototype of AccessibleAction_doAction to return a
5667 Changed prototype of AccessibleTable_getCaption to
5668 return an Accessible.
5669 Changed prototype of AccessibleTable_getSelectedRows
5670 and AccessibleTable_getSelectedColumns to
5671 return a long (returns the number of selected rows
5672 or columns respectively).
5673 Changed name of AccessibleText_refRunAttributes to
5674 AccessibleText_getAttributes.
5675 Changed prototype of AccessibleText_getCharacterExtents to
5676 return a void rather than a boolean.
5677 Added support for a AccessibleCoordType parameter
5678 specifying what type of coordinates are desired.
5679 Added an AccessibleCordType parameter to
5680 AccessibleText_getPointAtOffset.
5682 * cspi/spi_accessible.c:
5683 Added code to return the outstanding interfaces from
5684 Accessible_queryInterface.
5686 * cspi/spi_action.c:
5688 Corrected call to getNActions to call the c binding
5691 * cspi/spi_editabletext.c:
5693 Changed name from setRunAttributes to setAttributes.
5695 * cspi/spi_hyperlink.c:
5697 Changed call to getNAnchors to correctly call the c
5698 binding for an attribute.
5700 * cspi/spi_hypertext.c:
5702 Changed getImageDescription to correctly call the
5703 binding for an attribute.
5705 * cspi/spi_selection.c:
5706 Changed getNSelectedChildren to correctly call the c
5707 binding for the attribute.
5708 Changed refSelectedChild to getSelectedChild.
5712 Changed getCaption to return an Accessible.
5713 Fixed calls which retrieve attributes.
5714 Changed refAt to getAccessibleAt.
5715 Changed getNSelectedRows and getNSelectedColumns to
5719 Changed getCharacterExtents and getPointAtOffset to accept an
5720 AccessibleCoordType.
5722 Changed calls which retrieve attributes.
5723 Changed refRunAttributes to getAttributes.
5728 * idl/Hyperlink.idl:
5729 Changed n_anchors attribute to nAnchors to keep naming
5730 convention consistent.
5733 Made Table inherit from Bonobo::Unknown.
5734 Added nSelectedColumns and nSelectedRows attributes.
5737 Made Value inherit from Bonobo::Unknown.
5739 * libspi/hyperlink.c:
5740 Change for nAnchors attributte name change.
5743 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5745 implementations-- made server implementations own AtkObject pointers
5746 rather than their respective AtkInterrface pointers to fix
5747 refcounting. AtkHyperlink is still broken.
5749 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5750 * cspi/spi_accessible.c:
5751 Added method Accessible_Role_getName(),
5752 and requisite string array (role_names).
5753 Added conversion string_from_corba_strin() call
5754 to Accessible_getName and _getDescription.
5755 * libspi/accessible.c:
5756 Added implementation for Accessible_getRole()
5758 Added festival support, used if environment variable
5761 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5763 * at-bridge/bridge.c:
5764 Now allocate Accessibility_Event using
5765 Accessibility_Event__alloc() instead of g_new0().
5766 * libspi/accessibleeventlistener.c:
5767 Initialize AccessibleEventListener->callbacks to NULL.
5768 Fixed accessible__event_listener_init() param, changed to
5769 "AccessibleEventListener *" type.
5770 Changed a bonobo_object_release_unref() call to
5771 Accessibility_Accessible_unref().
5772 * libspi/listener.c:
5773 Changed Bonobo_Unknown_unref to (equivalent)
5774 Accessibility_Accessible_unref.
5775 * libspi/registry.c:
5776 Changed bonobo_object_release_unref to
5777 Accessibility_Accessible_unref.
5779 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5782 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5783 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5784 spi-util.c spi-util.h
5785 Implementations for C bindings to remaining accessibility
5788 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5791 changed return value of Action from void to boolean to
5792 bring in line with ATK.
5795 Changed getText funcions to return "out" start and end offsets.
5796 Changed getAttributes to take and offset and return the start
5797 and end offset of the attribute run.
5798 Changed getOffsetAtPoint and getCharacterExtents to take an
5799 enum describing whether coordinates are window or screen.
5802 libspi/action.c libspi/action.h libspi/editabletext.c
5803 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5804 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5805 libspi/image.h libspi/selection.c libspi/selection.h
5806 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5807 libspi/value.c libspi/value.h
5808 Added server implementations for outstanding ATK interfaces
5809 not yet implemented.
5811 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5814 Added (missing) getName() method.
5815 Made nActions an attribute.
5816 * idl/EditableText.idl:
5817 Changed order of params in setAttributes.
5818 * idl/Hyperlink.idl:
5819 Removed getAnchor, added getURI.
5821 Changed attributes to methods, for efficiency
5822 (so that getting extents can be done in one call)
5823 * idl/Selection.idl:
5824 Changed nSelectedChildren to attribute, and re-indented.
5825 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5827 * idl/Text.idl: reformatted to match our coding style.
5828 (temporarily?) removed getRowColumnAtOffset().
5829 Changed text selection API to support multi-select and
5830 non-contiguous selections, as in ATK.
5831 * idl/Value.idl: changed some methods to attributes.
5833 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5835 * libspi/listener.c(impl_notify_event):
5836 BonoboUnkown_unref the source instead
5837 of bonobo_object_release_unref - the ORB
5838 handles the releasing.
5840 * configure.in: require ORBit-2.3.94 for
5843 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5845 Tagged CVS repository 'EA_1_0'.
5846 * README.EARLY_ACCESS:
5847 Alphabetized acknowledgements list, and
5849 Listed some known dependencies of at-spi.
5851 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5853 * docs/at-spi-docs.sgml:
5854 * docs/at-spi-sections.txt:
5855 * docs/at-spi-overrides.txt: (Added zero-length file)
5856 Documentation improvements - gtk-doc should build
5857 docs for all implemented C bindings now.
5860 * cspi/spi.c: (New file)
5861 * cspi/spi_event.c: (New file)
5862 * cspi/spi_registry.c: (New file)
5863 * cspi/spi_accessible.c: (New file)
5864 * cspi/spi_application.c: (New file)
5865 * cspi/spi_component.c: (New file)
5866 Split spi_main.c into six parts, and included them from
5867 "spi.c". This is a bit of a hack, probably temporary,
5868 but required by gtk-doc, apparently.
5870 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5873 * docs/at-spi-docs.sgml:
5874 * docs/at-spi-sections.txt:
5876 Initial checkins/modifications for gtk-doc generation.
5879 Added (missing) interface query methods to Accessible's C binding.
5881 Added GenericInterface type definition.
5883 Added query for AccessibleComponent interface to focus event handler.
5884 Added printout of bounding box for focussed component.
5885 * libspi/component.c:
5886 Added partial implementation for AccessibleComponent to C binding.
5887 * idl/Application.idl:
5888 * libspi/registry.c:
5889 * libspi/listener.c:
5890 * libspi/application.c:
5891 * libspi/application.h:
5892 Changed "ID" attribute type from string to long.
5894 2001-08-19 Bill Haneman <bill.haneman@sun.com>
5898 Made method naming consistent: methods taking object args
5899 start with uppercase, other methods (except those using
5900 acronyms) start with lowercase. Underscores delimit between
5901 object names and method names:
5902 SPI_init() - uppercase since it starts with an acronym.
5903 getDesktopCount () - lowercase start since no object param0.
5904 Accessible_getName() - uppercase object type name, studlyCaps method
5908 Added gtk-doc documentation for all currently implemented
5909 methods in the C bindings API.
5911 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5913 * Makefile.am : changed build order to build test last.
5916 Changed "createEventListener" to "CreateEventListener".
5917 * libspi/accessibleeventlistener.c :
5918 Bugfix for addition of callbacks.
5919 * test/Makefile.am :
5920 * test/simple-at.c :
5921 Added new test that uses the C bindings API.
5923 * libspi/listener.c :
5924 * libspi/registry.c :
5925 * libspi/accessibleeventlistener.c :
5926 * at-bridge/bridge.c :
5927 Renamed member "target" of Accessibility_Event to "source",
5928 which is more descriptive.
5931 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5935 * cspi/Makefile.am :
5936 Added makefile support for at-spi/cspi directory.
5939 * cspi/spi-listener.h : (NEW FILE)
5940 Added support for/use of spi-listener.h.
5942 C bindings now build successfully, with no warnings.
5943 * libspi/accessibleeventlistener.h : (NEW FILE)
5944 * libspi/accessibleeventlistener.c : (NEW FILE)
5945 * libspi/Makefile.am :
5946 Added new object type "AccessibleEventListener"
5947 which inherits from Listener, and allows attachment
5948 of in-process callbacks (so that a client with a listening
5949 object instance can add functionality to the local
5950 implementation, dynamically).
5952 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5954 * libspi/accessible.c:
5955 Add implementation for get_index_in_parent().
5957 Added #include of "spi-roletypes.h", and
5958 added enumerated type AccessibleCoordType.
5959 Added definition for KeystrokeListener (function type).
5962 * cspi/spi-statetypes.h :
5963 * cspi/spi-roletypes.h :
5965 Added these headers, used by spi.h.
5967 Added code (NOTE: not yet built by make).
5969 2001-08-18 Mark McLoughlin <mark@skynet.ie>
5971 * libspi/Makefile.am: generate imodule
5972 at the same time as other idl compiler
5975 2001-08-17 Bill Haneman <bill.haneman@sun.com>
5976 * libspi/registry.c :
5977 * libspi/application.c :
5978 * idl/Application.idl :
5979 Made registration with toolkit an application method,
5980 which is required since each app has its own toolkit static
5981 environment. Thus the bridge must register for
5982 notification of toolkit events from each application in turn.
5983 Toolkit notifications are now successfully registered for, and
5984 sent to the listening at client.
5986 Changed toolkit event string to use hyphens rather than underscores.
5987 * libspi/listener.c :
5988 listner now gives more info in debug mode - it reports the
5989 name of the event received, as well as the name of the source.
5992 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5994 * libspi/registry.c :
5995 added more implementation for toolkit events.
5996 Fixed bug such that toolkit event registrations
5997 (via atk) use the whole event name string, not
5999 Removed a useless call to an ORBit_ method.
6000 * at-bridge/bridge.c :
6001 Removed unused local sbuf[] variable.
6003 We now register for Gtk:GtkWidget:button_press_event
6004 events as well as "focus:" events.
6006 Add some more API from Registry.idl that was missing,
6007 for keystroke listening, keystroke and mouse event
6008 synthesis, and enumeration of accessible desktops.
6010 2001-08-16 Michael Meeks <michael@ximian.com>
6012 * configure.in: use AM_GLIB_GNU_GETTEXT.
6014 * Makefile.am (SUBDIRS): kill intl.
6016 2001-08-15 Michael Meeks <michael@ximian.com>
6018 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6020 * configure.in: upd.
6022 * configure.in: depend on a recent bonobo-activation that
6023 will find our server files ...
6025 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6027 * libspi/accessible.c : accessible_new() :
6028 Now we add the Component interface via bonobo_object_add_interface,
6029 if the contained AtkObject implements AtkComponent.
6030 * libspi/accessible.h : now include "component.h"
6031 * libspi/component.h :
6032 * libspi/component.c : added files - implementation of
6033 bonobo wrapper object for Accessibility/Component
6034 * libspi/listener.c :
6035 Added test code to check for Accessibility/Component:1.0
6036 interface and report whether it is implemented by the
6038 * libspi/registry.c :
6039 Now we check for not only the hash of the whole event
6040 string before relaying the event, we also check the
6041 "minor" event string (without the detail string).
6042 This allows event listeners to be registered against
6043 all events of a certain major+minor type, or just
6044 against a specific major+minor+detail type.
6045 * libspi/accessible.c :
6046 Added implementations for Accessible:get_parent(),
6047 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6048 * libspi/registry.c :
6049 * libspi/listener.c :
6050 Replaced calls to Accessibility_Accessible_ref() and
6051 Accessibility_Accessible_unref() with
6052 calls to bonobo_object_dup_ref() and
6053 bonobo_object_release_unref(), so that the CORBA object
6054 is dup-ed and released when relayed, as well as the bonobo object.
6056 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6058 * libspi/Makefile.am,
6059 registryd/Makefile.am,
6060 at-bridge/Makefile.am.
6061 test/Makefile.am, configure.in:
6062 reverse previous changes.
6064 * /idl/Image.idl: fix typo.
6066 * test/Makefile.am: put DEBUG_FLAGS
6069 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6071 * test/app.c: use argv[0] instead of
6074 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6076 * libspi/Makefile.am,
6077 registryd/Makefile.am,
6078 at-bridge/Makefile.am.
6079 test/Makefile.am, configure.in:
6080 cleanup, replace individual LIBS/CFLAGS with
6081 AT_COMMON_{LIBS|CFLAGS}.
6085 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6087 * configure.in, libspi/Makefile.am:
6088 Change IDL path checking for bonobo-activation
6091 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6093 * registryd/registry.c : separated event listeners to use
6094 3 separate lists (focus, window, toolkit). Began testing
6095 event names against hashes before relaying events.
6096 * test/at.c : now register for events of type "focus:"
6097 * test/app.c : now generate events of type "focus:"
6098 * at-bridge/bridge.c : register with ATK for focus events,
6099 and we now relay those focus events to any "focus:" listeners.
6100 This now works with the bridge as a GTK_MODULE when running test/at.
6101 * libspi/registry.c :
6102 * libspi/listener.c :
6103 now we ref event sources before propagating, and unref on receipt.
6104 * libspi/registry.c :
6105 some changes to internal structs, to support event typestring hashes.
6106 * text/app.c : changed the way the appname is generated.
6107 * cspi : added directory that will hold the C bindings library for
6108 non-CORBA/bonobo-savvy clients.
6109 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6110 * idl/Component.idl : added in parameter to indicate coord system for
6111 geometry-related calls.
6112 * idl/Hyperlink.idl : added readonly n_links attribute
6113 * idl/Image.idl : changed methods to attributes.
6115 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6117 * at-bridge/Makefile.am: link against
6118 ../libspi/libspi.la instead of -lspi.
6120 * at-spi/test/app.c: include
6121 bonobo-activation.h. Use a default appname
6122 if one is not provided.
6124 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6126 * idl/Registry.idl : temporarily changed register_Application
6127 to oneway, to work around issue with initial registration
6129 * idl/Application.idl : changed attribute "id" from readonly
6130 to read-write, since it needs to be assigned by Registry.
6131 * registryd/registryd.c : added call to set application id
6133 * registryd/registry.c : changed de-registration procedure to
6134 use CORBA_Object_hash() to find matching object ref in application
6135 lists and listener lists.
6136 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6137 began distinguishing between event types (work in progress).
6139 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6142 * libspi/application.c:
6143 Added implementations for get/set id, get_toolkitName,
6145 * registryd/registryd.c :
6149 Converted from use of OAF to bonobo-activation.
6150 * libspi/desktop.h :
6151 * libspi/desktop.c :
6153 Removed references to atksimpleobject, since base atkobject
6154 implementation now provides functionality we need.
6155 * libspi/atksimpleobject.c :
6156 * libspi/atksimpleobject.h :
6161 * at-bridge/Makefile.am
6162 * at-bridge/bridge.c
6165 Added directory "bridge" and contents, and added dependencies
6166 in Makefile.am/configure.in.
6167 Initial checkin of "at-bridge".
6168 This code is a GTK_MODULE which automatically registers
6169 GTK+ apps with the accessibility registry, using an object
6170 reference to the root ATK object.
6172 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6174 * po/Makefile.in.in: Remove. Again. If this
6175 doesn't get autogenerated - you need to update
6178 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6180 * po/Makefile.in.in: Add. Again.
6182 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6184 * libspi/accessible.c : added support for 'description' property.
6185 * libspi/accessible.c
6187 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6188 (since the two are now equivalent in libbonobo)
6196 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6197 Bonobo::Unknown as does Accessibility::Accessible.
6198 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6199 interface with Bonobo::Stream, since it was redundant with it.
6200 (The Stream returned by a StreamableContext object is expected to
6201 implement only a subset of Bonobo::Stream)
6203 2001-07-28 Anders Carlsson <andersca@gnome.org>
6205 * libspi/accessible.c (accessible_object_finalize): Change
6206 g_free to g_object_unref since the AtkObject is a GObject.
6208 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6210 * idl/Accessibility.idl: add new IDL files
6213 * idl/Action.idl: Definitions of actionable UI object
6214 * idl/Component.idl: Definitions of UI component geometry, etc.
6215 * idl/Hyperlink.idl: Defs of hyperlink behavior
6216 * idl/Image.idl: Def of accessible image
6217 * idl/Selection.idl: Definition of UI object with selectable children
6218 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6219 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6220 * idl/Text.idl: Interface defs for UI elements with complex textual content
6221 * idl/Value.idl: Definition of UI element that is a value controller or display
6223 2001-07-27 Michael Meeks <michael@ximian.com>
6225 * po/Makefile.in.in: remove autogenerated file from CVS.
6227 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6230 * idl/Registry.idl: include guard.
6232 * idl/Accessibility.idl: Add, and include all the other IDL
6235 * idl/*.idl: remove mass of pragmas etc.
6237 2001-07-26 Michael Meeks <michael@ximian.com>
6239 * registryd/Makefile.am (registryd_SOURCES): remove
6242 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6244 * libspi/.cvsignore, registryd/.cvsignore,
6245 test/.cvsignore: updated.
6247 * po/Makefile.in.in: gettext update.
6249 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6251 * initial CVS checkin
6253 2001-06-29 Michael Meeks <michael@ximian.com>
6255 * configure.in: add AM_CONFIG_HEADER to gen config.h