1 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
3 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
5 2003-07-14 Danilo Ĺ egan <dsegan@gmx.net>
7 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
9 2003-07-10 Joel Brich <joel.brich@laposte.net>
11 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
13 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
15 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
17 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
19 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
20 resources allocated for AccessibleEvent. See cspi_event().
22 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
23 static variable streams to NULL.
25 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
26 Update so that AcessibleEvent_ref will work.
28 This fixes bug #116624.
30 2003-07-06 Jordi Mallach <jordi@sindominio.net>
32 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
34 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
36 * configure.in: Added "fr" (French) to ALL_LINGUAS.
38 2003-07-02 Christian Neumair <chris@gnome-de.org>
40 * configure.in: Added "de" (German) to ALL_LINGUAS.
42 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
44 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
46 2003-07-01 Miloslav Trmac <mitr@volny.cz>
48 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
50 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
52 * configure.in: Added "pl" to ALL_LINGUAS.
54 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
56 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
58 2003-06-30 Bill Haneman <bill.haneman@sun.com>
61 (get_action_from_servant):
62 Removed assertion that action is implemented on an AtkObject.
66 Aggregate AccessibleAction interface on the hyperlink object if
67 the object implements AtkAction. (This convention is used in
70 2003-06-30 Bill Haneman <bill.haneman@sun.com>
72 * configure.in: Revved to 1.3.5.
74 * registryd/Accessibility_Registry.server.in.in:
75 Marked up appropriate strings for translation.
77 * atk-bridge/bridge.c: Marked a couple of
78 user-visible warnings for translation. Questionable
79 whether they are really useful, but possibly so.
82 2003-06-28 Christian Rose <menthos@menthos.com>
84 * configure.in: Added "sv" to ALL_LINGUAS.
86 2003-06-26 Bill Haneman <bill.haneman@sun.com>
88 * registryd/registry.c:
89 (spi_registry_object_finalize): Unref the deviceeventcontroller.
90 (registry_defer_on_event): Defer focus: events, this is an
91 improvement to the patch for bug #108664.
93 * TODO: Update with 2.4/"Dev Complete" items.
95 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
97 * atk-bridge/bridge.c:
98 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
99 looks up signals once.
100 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
101 if doing registration.
102 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
103 when doing registration.
105 This fixes bug #115014.
107 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
109 * atk-bridge/bridge.c:
110 (atk_bridge_init): Add signal handler for children-changed:remove on
111 root when in a BonoboComponent.
112 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
113 for first toplevel only other incrememt variable toplevels.
114 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
115 application and remove listeners.
116 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
118 (spi_atk_deregister_event_listeners): New function which removes
120 (reinit_register_vars): New fuction which reinitializes variables.
122 This fixes bug #111578.
124 2003-06-13 Bill Haneman <bill.haneman@sun.com>
126 * configure.in: version 1.3.4.
128 * cspi/spi_accessible.c:
129 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
132 2003-06-13 Michael Meeks <michael@ximian.com>
134 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
136 * cspi/spi_main.c (cspi_peek_ev): impl.
138 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
140 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
142 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
144 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
145 SPI_ROLE_AUTOCOMPLETE
147 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
149 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
150 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
152 2003-06-11 Bill Haneman <bill.haneman@sun.com>
154 * libspi/streamablecontent.h:
155 * libspi/streamablecontent.c:
156 New files, provide implementation/wrappers for
157 Accessibility_StreamableContent.
159 * cspi/spi_streamablecontent.c:
160 Connected the C wrappers to the libspi C bindings.
161 (AccessibleStreamableContent_close): New method.
164 (AccessibleStreamableContent_close): New method, needed
165 since we have an "open, [seek], read, close" model in cspi.
167 2003-06-11 Bill Haneman <bill.haneman@sun.com>
169 Fix for #108664; Padraig's revision of my original patch.
171 * registryd/registry.h:
172 Added event queue list, is_queuing, and exit_notify_timeout
173 to the registry struct.
175 * registryd/registry.c:
176 (registry_init): Initialize new struct from registry.h.
177 (impl_registry_notify_event):
178 Filter events before notifying, in case some need to be
180 (registry_filter_event): New,
181 we defer certain incoming events (for instance
182 window:deactivate) because we may wish to hide
183 or reject them based on pending events. This is
184 mostly a workaround for bug #108664.
185 (registry_queue_event, registry_start_queue): New.
186 (registry_defer_on_event): Test event to see if it
188 (registry_reset_on_event): Returns TRUE if the
189 event should cause a queue reset.
190 (registry_discard_on_event): Returns TRUE if the event
191 should cause the previous queue contents to be discarded.
192 (registry_timeout_flush_queue): Flushes the pending event
193 queue if no reset/discard-triggering events have come in
194 within the timeout period.
195 (registry_emit_event): New.
196 (registry_clone_notify_context): New, used when queueing the
197 event notify contexts.
199 2003-06-10 Bill Haneman <bill.haneman@sun.com>
201 * configure.in: Version revved to 1.3.2, lt 0.9.2
202 Incremented ATK required version to 1.3.4.
204 * cspi/spi_registry.c:
205 (SPI_generateKeyEvent):
206 We now pass the keystring along if it's non-null.
208 * registryd/deviceeventcontroller.c:
209 (keysym_mod_mask): New method, returns modifier mask
210 required to generate a keysym from a given keycode.
211 (dec_synth_keysym): New method.
212 (dec_synth_keystring): New method.
213 (dec_get_modifier_state): New method.
214 (dec_lock_modifiers): New
215 (dec_unlock_modifiers): New.
216 (dec_keysym_for_unichar): New, rather brute-force
217 conversion from UCS-4 to X KeySyms. Only works for
218 Latin at the moment, with partial implementations for
219 Greek, Hebrew, and (incomplete) Katakana.
220 (impl_generate_keyboard_event): Now implement
221 "KEYSTRING" synthesis and implement "KEYSYM"
223 (keycode_from_keysym): Improved, passes a returned
224 modmask value now if the corresponding param is non-NULL.
226 Fixes bugs #92143 and #109776.
229 * test/keysynth-test.c:
230 New test program for key synthesis, to confirm fixes for
234 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
236 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
238 * cspi/spi_accessible.c (cspi_init_relation_type_table):
239 Add line for RELATION_POPUP_FOR
241 * docs/reference/cspi/tmpl/spi_relation.sgml:
242 Add relation SPI_RELATION_POPUP_FOR
244 * docs/reference/cspi/tmpl/spi_stateset.sgml:
245 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
247 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
249 * libspi/relation.c (spi_init_relation_type_table):
250 Add line for RELATION_POPUP_FOR
252 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
254 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
255 there are still windows which have not been deleted and emit
256 window:deactivate, if necessary and window:destroy events.
257 This fixes bug #114370. The change on June 5th was not correct.
259 2003-06-09 Bill Haneman <bill.haneman@sun.com>
261 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
264 (SPI_dupString): Allow dup-ing of a string such that it's safe to
266 New methods for client exception handling and interception.
267 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
268 (SPI_exceptionHandlerPop): You guessed it...
269 (SPI_getSourceType): Return the type of object which offended.
270 (SPI_getExceptionCode): Return an enum code telling, possibly,
271 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
272 (SPIAccessibleException_getSource): get the source object for
273 exceptions that come from Accessibles, if SPIExceptionSourceType is
274 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
275 (SPIException_getDescription): New, returns a string description of
276 the problem. [Not yet a stable ABI, strings are not frozen]
278 * cspi/spi-private.h:
279 Added implementation details of opaque SPIException
283 Implementations of above. Also
284 (_cspi_exception_throw): new private method that
285 dispatches exceptions to handlers, called from cspi-bonobo.c
287 * cspi/bonobo/cspi-bonobo.c:
288 (cspi_check_ev): call _cspi_exception_throw.
289 Don't print a warning message if the exception has been
290 handled by _cspi_exception_throw.
292 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
294 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
295 there are still windows which have not been deleted and emit
296 window:deactivate, if necessary and window:destroy events.
297 This fixes bug #114370.
299 2003-06-03 Bill Haneman <bill.haneman@sun.com>
302 (cspi_accessible_is_a): Make non-fatal
303 if the object reference is dead.
305 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
307 * cspi/spi_main.c: #include <stdio.h>
308 * test/simple-at.c: ditto
309 * test/event-listener-test.c: ditto
310 * test/screen-review-test.c: ditto
312 2003-05-30 Michael Meeks <michael@ximian.com>
314 * test/test-simple.c (main): use CORBA_ORB_perform_work
315 instead of an unnecessary linc_ call.
317 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
319 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
320 Add SPI_STATE_INDETERMINATE.
322 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
325 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
327 * libspi/stateset.c (init_state_type_tables): Add support for
330 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
332 * configure: Update versions of atk and gail required.
333 This fixes bug #113268.
335 2003-05-02 Bill Haneman <bill.haneman@sun.com>
337 * configure.in: Revved micro version to 1.3.1 (because of build fix).
339 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
341 * libspi/Makefile.am:
342 Ensure headers are generated before being used by c sources.
344 2003-05-01 Bill Haneman <bill.haneman@sun.com>
347 Simplified lt versioning rules.
348 Incremented version to 1.3.0, to indicate that we're on the
351 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
353 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
354 Add MKDB_OPTIONS=--outtput-format=xml
356 * docs/reference/cspi/at-spi-cspi-docs.sgml
357 docs/reference/idl/at-spi-idl-docs.sgml:
358 Convert to Docbook XML.
360 This fixes bug #111793.
362 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
364 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
365 AcccessibleKeyEventType, AccessibleKeyMaskType.
367 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
369 * cspi/state-types.h: Add documentation for AccessibleState.
371 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
372 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
373 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
374 AccessibleComponentLayer.
376 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
379 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
381 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
382 Accessible. Add description of AccessibleEvent,
383 AccessibleEventListenerCB.
385 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
388 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
389 documentation. Add description of AccessibleKeystrokeListenerCB,
390 AccessibleKeyEventMask, AccessibleModifierMaskType,
391 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
392 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
394 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
397 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
400 This fixes bug #104730.
402 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
404 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
405 Set is_text field of Accessibility_DeviceEvent data structure.
407 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
408 is-text field of AccessibleDeviceEvent data structure.
410 This addresses part of bug #108666.
412 * registryd/devcieeventcontroller.c: Unset debug option.
414 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
417 (cpi_initial_relation_type_table): New function which initializes
418 mapping between Accessibility_RelationType and AccessibleRelationType.
419 (cspi_relation_type_from_spi_relation_type): New function which
420 translates an Accessibility_RelationType into an AccessibleRelationType.
421 (AccessibleRelation_getRelationType): Use
422 cpi_relation_type_get_spi_relation_type to return correct value.
423 (spi_state_to_corba): Return correct type for default case.
425 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
426 Use Accessibility_EventType instead of Accessibility_KeyEventType.
428 * cspi/cspi-bonobo-listener.c:
429 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
432 * libspi/accessible.c, libspi/action.c, libspi/application.c,
433 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
434 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
435 libspi/image.c, libspi/listener.c, libspi/selection.c,
436 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
437 registryd/desktop.c, registryd/registry.c:
438 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
440 * libspi/eventlistener.c
441 Remove semicolon after BONOBO_TYPE_FUNC.
444 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
445 (spi_init_relation_type_table): Initialize using correct type.
447 * registryd/desktop.c:
448 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
449 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
450 of Accessibility_KeyEventType.
452 * test/key-listener-test.c (report_tab_key_event): Use fprintf
455 * tests/simple-at.c, tests/screen-review-test.c:
456 Add include for <strings.h>.
458 * tests.stress-test.c:
459 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
461 These changes fix compiler warnings when using FORTE compiler on
462 Solaris; fixes bug #107479.
465 2003-04-10 Bill Haneman <bill.haneman@sun.com>
468 * configure.in: revved to 1.1.10
471 (SPI_KEYMASK_NUMLOCK): Added.
473 * registryd/deviceeventcontroller.c:
474 (spi_key_event_matches_listener): AND with a smaller
475 bitmask (as we should).
476 (spi_dec_translate_mask):
477 New method, sets the virtual NumLock modifier bit
478 if numlock is on. Eventually it can handle other virtual
479 modifier bits if needed, or other marshalling from
480 at-spi modifier masks to platform (X) masks.
481 (spi_dec_key_listener_new):
482 Call spi_dec_translate_mask to set up virtual mod bits
483 in the 'mask' field when creating a new listener struct.
484 (spi_dec_emit_modifier_event):
485 Set the virtual (i.e. NumLock) bits before emitting event.
486 (spi_controller_register_with_devices):
487 Query for the NumLock modifier 'physical' bit if Xkb is
488 present, for use in above methods.
492 2003-04-10 Bill Haneman <bill.haneman@sun.com>
494 * registryd/deviceeventcontroller.c:
495 (spi_keystroke_from_x_key_event):
496 Instead of checking to see if the keysym is
497 printable, check the string from XLookupString
498 if available, get the first unicode character from it,
499 and call g_unichar_isprint to determine whether the
500 is_text flag should be TRUE or FALSE.
504 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
506 * atk-bridge/bridge.c: Add support for extended events
507 * cspi/spi_event.c: Add documentation and implementation for
509 * tests/event-listener-test.c: Add tests for extended events.
511 This fixes bugs #100424 and #100426.
513 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
515 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
516 of LT_CURRENT. This fixes bug #89350.
518 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
520 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
521 number of signal parameter values before accessing them. This fixes
524 2003-04-01 Bill Haneman <bill.haneman@sun.com>
526 * configure.in: Fixed duplicate inclusion of -lspi.
527 * branched for gnome-2-2/HEAD.
528 [created tag "gnome-2-2"]
530 2003-03-07 Bill Haneman <bill.haneman@sun.com>
532 * configure.in: 1.1.9 release.
535 2003-03-07 Bill Haneman <bill.haneman@sun.com>
537 [needed by GOK, to fix bugs 107985 and 107988]
538 * registryd/deviceeventcontroller.c:
539 (spi_dec_clear_unlatch_pending):
540 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
541 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
542 (spi_dec_init_mouse_listener):Emit warning if mouse button
544 (spi_device_event_controller_forward_mouse_event):
545 Removed unnecessary parens from a conditional.
546 (global_filter_fn):Added TODO comment.
547 (impl_generate_keyboard_event):
548 Cancel a pending relatch if a 'delatching' key was
551 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
553 * atk-bridge/bridge.c:
554 Change atk_signal_child_changed to atk_signal_children_changed.
555 Reorganize code in spi_atk_bridge_signal_listener().
557 * test/event-listener-test.c:
558 Add children_changed_listener and report_children_changed_event()
559 to test AccessibleChildEvent_getChildAccessible.
561 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
563 * cspi/spi_event.c (cspi_internal_event_get_text): Change
564 g_strdup to CORBA_String_dup (bug #105291)
566 * test/event-listener-test.c (report_text_event): Add call to
569 2003-02-28 Bill Haneman <bill.haneman@sun.com>
571 * registryd/deviceeventcontroller.c:
572 (spi_keystroke_from_x_key_event):
573 Fix string and keysym return codes to match modifier state.
576 2003-02-28 Bill Haneman <bill.haneman@sun.com>
578 * registryd/deviceeventcontroller.c:
579 (spi_keystroke_from_x_key_event):
580 Fix segv due to improper use of isprint(c). [bug #107254]
582 2003-02-24 Bill Haneman <bill.haneman@sun.com>
585 (get_accessible_text_boundary_type):
586 Move default return value to (new) default case in switch.
587 (get_accessible_text_clip_type):
588 Move default return value to (new) default case in switch.
590 * libspi/application.c:
591 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
592 Remove unused methods.
593 (impl_accessibility_application_register_object_event_listener):
594 Remove unused methods.
597 Added #include of <math.h>.
599 * registryd/deviceeventcontroller.c:
600 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
601 we don't currently use this method.
602 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
604 (impl_generate_key_event):
605 Remove unused variables.
606 (impl_generate_mouse_event):
607 Initialize button to zero, just in case we get an invalid
608 input. Added support for mouse buttons 4 and 5.
609 (spi_device_event_controller_new):
610 Removed unused variable declaration for 'private'.
612 Added #include of <gdk/gdk.h>
614 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
616 * configure.in: Update to work when X is not installed in expected
617 location. Fixes bug #105836.
619 * atk-bridge/bridge.c
620 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
622 (spi_atk_register_event_listener): Add signal listener for
624 (spi_atk_bridge_signal_listener): Event event when link-selected
625 signal is emitted. (bug #104622)
627 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
628 on returned string. (bug #105291)
630 * test/event-listener-test.c: Add test for link-selected.
632 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
634 * atk-bridge/Makefile.am: Correct typo in previous commit.
636 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
638 * atk-bridge/Makefile.am: Allow for build directory to be different
639 from source directory
641 * registryd/Makefile.am: Allow for build directory to be different
642 from source directory
646 2003-01-29 Bill Haneman <bill.haneman@sun.com>
649 Fixed dependencies for libcspi so that libspi gets pulled in
650 properly. Fixes 104741.
654 Clean up inline docs a little.
656 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
658 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
659 This is done by implementing AtkComponent for SpiAtkDesktop, which is
660 the AtkObject within an SpiDesktop.
661 This addresses bug #101524.
663 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
664 Remove call to gdk_init().
666 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
667 so that Display is set when SpiDesktop is created.
669 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
671 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
672 This fixes bug #102830.
674 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
676 * test/test-simple.c: Update to take account of fact that GailButton
677 now implements AtkText.
678 (create_text_window): Set name on AtkObject for GtkEntry.
679 (validate_accessible): Check accessible name before calling test_text().
681 * libspi/Makefile.am: Fix problem with building outside of source
682 directory. Bug #98120.
684 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
685 typo in documentation comments. Bug #94275.
687 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
689 * libspi/text.c (impl_getBoundedRanges): Bug fix.
691 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
694 Add includes to avoid compiler warnings on Solaris.
695 (impl_getRangeExtents): Bug fix.
697 2002-12-17 Bill Haneman <bill.haneman@sun.com>
699 Fix for 100944, [API addition approved by Gman and murrayc].
706 * idl/Accessibility_Text.idl:
707 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
708 (Text::getRangeExtents): New method for efficient
709 bounds query of a text range.
710 (Text::getBoundedRanges): New method for efficient
711 clipping of text to bounding boxes.
712 (unImplemented7, unImplemented8):
713 Removed these padding methods to preserve bincompat.
716 (impl_getRangeExtents): implementation of new IDL.
717 (impl_getBoundedRanges): implementation of new IDL.
718 (SpiTextRect): Internal use struct.
719 (_spi_text_rect_union): internal method, calculates union of two
720 SpiTextRect bounding rects.
721 (_spi_text_range_seq_from_gslist): internal method, allows us
722 to build our sequence efficiently as a gslist then convert it
724 (_spi_bounds_contain): internal method, determines whether
725 a text character is "in" or "out" of a clip rect according to
726 values of TEXT_CLIP_TYPE.
727 (spi_text_class_init): Initialize the new methods in the epv.
730 (AccessibleTextClipType): New enum used by screen review api.
731 (AccessibleTextRange): New struct used by screen review api.
732 (AccessibleText_getRangeExtents):
733 cspi binding for Accessibility_Text_getRangeExtents.
734 (AccessibleText_getBoundedRanges):
735 cspi binding for Accessibility_Text_getBoundedRanges.
736 (AccessibleTextRange_freeRanges): convenience method.
739 (AccessibleText_getRangeExtents):
740 cspi binding for Accessibility_Text_getRangeExtents.
741 (AccessibleText_getBoundedRanges):
742 cspi binding for Accessibility_Text_getBoundedRanges.
743 (AccessibleTextRange_freeRanges): convenience method.
744 (get_accessible_text_clip_type): internal conversion method.
745 (get_accessible_text_ranges_from_range_seq): internal conversion method.
747 * registryd/deviceeventcontroller.c:
748 (spi_dec_mouse_check):
749 Improved behavior for mouse:abs events
750 [same granularity as mouse:rel events, and no
751 events when mouse is idle].
753 2002-12-16 Michael Meeks <michael@ximian.com>
755 * cspi/spi_accessible.c (spi_state_to_corba): rename.
757 * libspi/stateset.c (state_spi_to_atk): split out
758 ( fix several remote array bounds nasties )
759 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
760 (impl_remove): make safe from array bounds issues.
761 (spi_atk_state_from_spi_state): impl.
763 * libspi/stateset.h (spi_state_set_cache_is_empty):
764 add a set of wrapper defines to get layering right.
766 * cspi/spi_accessible.c: update state set stuff to
769 2002-12-14 Michael Meeks <michael@ximian.com>
771 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
772 to avoid 2 roundtrips to the registry per key event
773 (spi_atk_bridge_key_listener): upd.
774 (deregister_application): release the dec.
776 * registryd/registry.c (notify_listeners_cb):
777 bin lots of re-enterant complexity - we no longer
778 do a round-trip bonobo ref here, ensure that a single
779 listener's exception failure won't poison all other
781 (impl_registry_notify_event): bin obvious memory leak.
783 2002-12-13 Michael Meeks <michael@ximian.com>
785 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
786 init the ev so the error is meaningful.
787 (spi_atk_bridge_key_listener): ditto.
789 * cspi/spi_main.c (cspi_ev): init the ev so we start
790 with a clean slate, otherwise the first exception
793 * cspi/spi_text.c (get_accessible_text_boundary_type):
794 add a fallthrough for no warnings.
796 * cspi/spi_registry.c: prune unused warnings.
798 * cspi/spi_main.c (cspi_object_take): fix
799 mind-blowing brokenness ( by watching the compile
802 * cspi/spi_accessible.c (Accessible_getStateSet):
803 re-impl. to use an AtkStateSet.
804 (spi_state_type_from_accessible_state),
805 (init_state_table): bin these.
807 * libspi/stateset.c (spi_atk_state_set_from_sequence):
809 (atk_state_set_from_accessibility_state_set): here.
811 * cspi/spi_accessible.c (spi_state_to_atk): impl.
812 (AccessibleStateSet_contains, AccessibleStateSet_ref),
813 (AccessibleStateSet_unref, AccessibleStateSet_contains),
814 (AccessibleStateSet_add, AccessibleStateSet_remove),
815 (AccessibleStateSet_equals, AccessibleStateSet_compare),
816 (AccessibleStateSet_isEmpty): re-write to use a local
819 2002-12-13 Bill Haneman <bill.haneman@sun.com>
821 * configure.in: Revved to 1.1.7 (new keymask vals).
823 2002-12-10 Bill Haneman <bill.haneman@sun.com>
826 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
828 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
831 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
832 to compare two CORBA_TypeCodes.
833 (cspi_internal_event_add): Silence warning from FORTE compiler.
835 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
836 avoid implicit declaration of functions.
838 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
840 * atk-bridge/bridge.c:
841 (spi_atk_bridge_init_event_type_consts): Store signal id for
842 active-descendant-changed signal.
843 (spi_atk_register_event_listeners): Add signal listener for
844 active-descendant-changed signal,
845 (spi_atk_bridge_signal_listener): Move code in function
846 spi_atk-signal_emit_event() into this function.
847 Add support for active-descendant-changed
848 Update support for child-changed signal.
849 (spi_bridge_window_event_listener): Silence warning.
851 * libspi/spi_private.[ch]:
852 (spi_init_any_object): Change second parameter from CORBA_Object to
854 Omit call to CORBA_Object_duplicate().
855 Set CORBA_any's _value to CORBA_Object*.
857 2002-12-06 Bill Haneman <bill.haneman@sun.com>
863 (AccessibleEvent_ref, AccessibleEvent_unref):
864 New methods, for persisting an event outside the emission context.
865 Must be used if the new accessor methods are to be called
866 outside of the event listener's callback.
868 * cspi/bonobo/cspi-bonobo.c:
869 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
870 as second parameter instead of NULL, so we can call
871 cspi_check_ev afterwards.
874 (cspi_object_take): New internal method,
875 converts a CORBA_Object reference to a hard ref on
876 an Accessible if possible, returning NULL if the object
877 reference is invalid or an Accessible * otherwise.
880 (AccessibleEvent_ref):
881 Increment the event's internal private refcount, and
882 add the event's internal struct to an internal cache
883 if it's not already there.
884 (AccessibleEvent_unref):
885 Decrement the event's refcount and remove it from
886 the cspi event cache if refcount==0.
887 (cspi_event_compare): New private method.
888 Compares two event structs via their ids. Used
890 (cspi_internal_event_lookup): New private method.
891 (cspi_internal_event_check): New private method,
892 a 0-order sanity check for events to make sure their
893 private data is intact.
894 (cspi_internal_event_add, cspi_internal_event_remove):
895 New private methods for managiing the event cache.
897 * cspi/bonobo/cspi-bonobo-listener.c:
899 Initialize the new private data elements (id, magic, ref_count).
901 * atk-bridge/bridge.c:
902 (spi_atk_bridge_signal_listener):
903 Fixed bug #100530, passing wrong params to emission func.
905 * registryd/deviceeventcontroller.c:
906 (spi_dec_button_update_and_emit):
907 Fixed type in mask bit operations; fix for #99799.
909 2002-12-02 Bill Haneman <bill.haneman@sun.com>
911 Removed some of the more dangerous workarounds from
912 previous commit; they are only needed by GOK, which
913 in reality should be using another method to accomplish
914 the goals. So on reconsideration some of the workarounds
917 * registryd/deviceeventcontroller.c:
918 (spi_keycodes_contain, spi_dec_init_keycode_list):
919 Removed these methods, used only by a nasty hack to try
920 and detect whether a key synthesis should be allowed
921 to reset the XKB latch state or not. This code was only
922 required to work around an interaction between GOK,
923 button events, and XKB.
924 (impl_generate_key_event):
925 Removed hack at end of key generation that tried to
926 "do the right thing" if XKB latch keys were generated
927 in the midst of button press/release pairs.
930 Added a check for HAVE_XINPUT. Not normally used yet.
932 2002-11-25 Bill Haneman <bill.haneman@sun.com>
934 Workarounds and fixes for mouse event/XKB interaction.
936 * registryd/deviceeventcontroller.c:
937 (spi_keycodes_contain, spi_dec_init_keycode_list):
938 New internal methods.
939 (spi_dec_set_unlatch_pending):
940 Split the method that tells XKB to expect an
941 unlatch (and revert it) out of the rest of the
942 event handling code. This method is called by the
943 two mouse event handlers (the poll and the filter).
944 (spi_dec_update_and_emit, spi_dec_mouse_check):
945 New methods split from spi_dec_poll_mouse_moved.
946 The second one is now called from inside the filterFn
947 when an XKB delatch event is received, to determine
948 whether to revert the delatch or not.
949 (spi_poll_mouse_moved): Refactor; also we can now
950 properly handle the case where multiple button states
951 have changed between polling cycles and we didn't get
952 notified due to another client's grab.
954 Synchronize the server while handling an XKB notification.
955 Ugly, but apparently necessary to avoid nasty races.
956 Check the mouse state on receipt of an XKB latch change,
957 to decide whether to revert the latch or not. (Latches are
958 reverted if there is an immediately preceding mouse button
959 event that a client has consumed, in which case we don't want
960 the user to see the side-effect of the event).
961 (spi_device_event_controller_forward_mouse_event):
962 Check for modifier events and fire before resetting mouse_mask_state,
963 prevents losing modifier events.
965 (impl_generate_keyboard_event):
966 If we've just generated a keyboard event for a non-shift key,
967 we don't want to revert the pending XKB latch.
968 Otherwise, check the modifier state (via a call to
969 spi_dev_mouse_check) and set the relatch mask to
970 that state before returning.
972 2002-11-24 Bill Haneman <bill.haneman@sun.com>
975 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
978 * atk-bridge/bridge.c:
979 (spi_atk_register_event_listeners):
980 Don't re-register for ATK events if the registry has died
981 and the app needs to re-register; the ATK listeners are in
982 process and doing so will cause duplicate emission.
984 * registryd/deviceeventcontroller.c:
985 (spi_poll_mouse_moved):
986 Reformat the source, detect and emit multiple button-change
987 events (i.e. if multiple buttons have changed between poll
989 Add code to detect mouse-down events even when the pointer
990 is grabbed; workaround for GOK bug 98420.
991 (spi_controller_register_with_devices):
992 Call XTestGrabControl with 'impervious' flag set to True,
993 allows us to synthesize events and query the pointer even during
994 an active grab by another client.
995 (spi_device_event_controller_forward_mouse_event):
996 Set the mouse_mask_state to the mouse_button_state from
997 the intercepted event, to synchronize the grab listener with
1000 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1002 * cspi/spi_accessible.c:
1003 (AccessibleRole_getName):
1004 Added necessary strings for making this (deprecated)
1005 method work with the new role types.
1006 (init_role_table, role_table):
1007 Added definition of SPI_ROLE_APPLICATION.
1009 * libspi/spi-roletypes.h:
1010 Added SPI_ROLE_APPLICATION.
1012 * idl/Accessibility_Role.idl:
1013 Added ROLE_APPLICATION.
1015 * docs/reference/cspi/at-spi-cspi-decl.txt:
1016 Added SPI_ROLE_APPLICATION to docs.
1018 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1020 * cspi/spi_accessible.c
1021 (cspi_init_role_table): Do not write beyond end of role_table.
1022 (Accessible_getRole): Use correct type for value returned by
1023 Accessibility_Accessible_getRole().
1025 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1026 beyond end of role_table. (This fixes bug #98269)
1028 * libspi/application.c: Add include file spi-private.h for
1029 definition of spi_init_any_nil.
1031 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1035 * libspi/spi-private.h:
1036 Added DGB() macro, and extern int _dbg declaration.
1038 * registryd/registry.c:
1039 (definitions) storage for _dbg.
1040 (spi_registry_init):
1041 Get environment variable "AT_SPI_DEBUG".
1042 (spi_registry_set_debug):
1043 New method, to initialize _dbg value.
1044 (spi_listener_struct_new, spi_registry_object_finalize):
1045 (notify_listeners_cb):
1046 Changed fprintfs to use DBG and g_warning().
1048 * registryd/deviceeventcontroller.c:
1049 (_deregister_keygrab, spi_controller_register_device_listener):
1050 Changed debug/warning messages to use DBG macro.
1052 * libspi/listener.c:
1053 (impl_notify_event):
1054 Changed warning messages to use DBG macro and g_warning().
1056 * atk-bridge/bridge.c:
1057 (atk_bridge_init, spi_atk_bridge_get_registry):
1058 (spi_atk_bridge_exit_func):
1059 (spi_atk_bridge_property_event_listener):
1060 Changed status, warning, and error messages to use
1061 g_warning, g_message, and DBG macros.
1064 Read the state of the AT_SPI_DEBUG environment variable
1065 and set a local '_dbg' accordingly.
1067 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1069 FIXES for 98836, 98842, other bugs.
1072 Revved to 1.1.4, interface-age=4, binary-age=4.
1074 * registryd/deviceeventcontroller.c:
1076 Fixed crasher bug in last_mouse_pos initialization.
1078 * registryd/registry.c:
1079 (desktop_add_application, desktop_remove_application):
1080 Added (and then commented out) some support for
1081 object context marshalling. [TODO]
1083 * atk-bridge/bridge.c:
1084 (spi_atk_bridge_event_context_create):
1085 Commented out object context creation until it can
1086 be properly tested and debugged.
1088 * registryd/registry.c:
1089 (impl_registry_notify_event):
1090 Fixed crasher bug, we were calling
1091 spi_re_entrant_list_foreach () with an empty list.
1093 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1095 * idl/Accessibility_Action.idl:
1096 * idl/Accessibility_Component.idl:
1097 * idl/Accessibility_Desktop.idl:
1098 * idl/Accessibility_Event.idl:
1099 * idl/Accessibility_Hyperlink.idl:
1100 * idl/Accessibility_Image.idl:
1101 * idl/Accessibility_Relation.idl:
1102 * idl/Accessibility_Selection.idl:
1103 * idl/Accessibility_State.idl:
1104 * idl/Accessibility_Value.idl:
1105 Updated unimplemented slot count to minimum of
1106 four for all interfaces, for ABI freeze.
1108 * idl/Accessibility_EditableText.idl:
1109 * idl/Accessibility_Text.idl:
1110 Updated unimplemented slot count to six
1113 * idl/Accessibility_Registry.idl:
1114 Updated unimplemented slot count to six
1115 (also for DeviceEventController),
1118 * idl/Accessibility_Table.idl:
1119 Updated unimplemented slot count to eight,
1122 * idl/Accessibility_Event.idl:
1123 Added CORBA_any "any_data" member to Event struct.
1125 * idl/Accessibility_Event.idl:
1126 Added CORBA_any "any_data" member to Event struct.
1128 * atk-bridge/bridge.c:
1130 atk_signal_text_changed, atk_signal_child_changed,
1131 signal ids queried from gtype system.
1132 (AtkBridgeEventContextType): New enum.
1133 (AtkBridgeEventContextData): New struct.
1134 (AtkBridgeEventContext): New struct.
1135 (atk_bridge_init_event_type_consts):
1136 New method, initializes type contants for comparison
1137 prior to emit_eventv.
1138 (atk_bridge_event_context_init): New method,
1139 initializes a CORBA_any from an AtkBridgeEventContext.
1140 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1141 initialize the event.any_data struct.
1142 (spi_atk_bridge_event_context_create): New method,
1143 creates an AtkBridgeEventContext from signal/event info.
1144 (spi_atk_bridge_event_context_free): New method.
1145 (spi_atk_emit_eventv): Changed to take an
1146 AtkBridgeEventContext parameter. We now initialize
1147 the event.any_data member prior to notifying the
1148 Registry, via the AtkBridgeEventContext.
1149 (spi_atk_bridge_property_event_listener):
1150 (spi_atk_bridge_state_event_listener):
1151 Match emit_eventv signature.
1152 (spi_atk_bridge_object_event_listener):
1153 Match emit_eventv signature, and create an
1154 event context from the event details.
1155 Free the event context afterwards.
1156 (spi_atk_bridge_window_event_listener):
1157 Create an event context, pass it to the
1161 (AccessibleEvent_getContextString):
1162 (AccessibleEvent_getContextObject):
1163 New methods, allow query of AccessibleEvent objects
1164 for more context details (via the "any_data" member
1165 of the Event struct, above).
1168 Definitions for AccessibleEvent_getContextString
1169 and AccessibleEvent_getContextObject.
1171 * cspi/spi_listener.h:
1172 (InternalEvent): New struct.
1175 (AccessibleEvent_getContextString):
1176 (AccessibleEvent_getContextObject):
1177 Implementations of new methods, for obtaining
1178 additional context information from some event types.
1180 * cspi/spi_registry.c:
1181 (SPI_registerGlobalEventListener):
1182 Added mention of active-descendant-changed event in docs.
1184 * cspi/cspi-bonobo-listener.c:
1186 Marshal the any into the AccessibleEvent via
1189 * libspi/spi-private.h:
1190 #include <orbit/orbit.h>
1192 (spi_init_any_string):
1193 (spi_init_any_object):
1194 New convenience function declarations.
1198 (spi_init_any_string):
1199 (spi_init_any_object):
1200 New convenience function implementations.
1202 * registryd/deviceeventcontroller.c:
1203 (spi_poll_dec_mouse_moved):
1204 (spi_device_event_controller_forward_mous_event):
1205 Initialize any_data member of event.
1206 (spi_deregister_controller_device_listener):
1207 Fix incorrect param pass which was preventing deregistration.
1209 * registryd/registry.c:
1210 (desktop_add_application):
1211 (desktop_remove_application):
1212 Add object data to event's any_data before dispatch.
1214 Fix for error messages from GAIL.
1216 * test/event-listener-test.c:
1217 Test new ContextString and "any_data" API:
1218 (report_text_event): New method query and output context string.
1219 (main): register a new text listener with report_text_event
1222 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1224 Fixes for bugs 98127 and 97914.
1225 * cspi/spi-roletypes.h:
1226 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1228 * cspi/spi-statetypes.h:
1229 Added SPI_STATE_MANAGES_DESCENDANTS
1231 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1232 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1233 * cspi/spi_accessible.c:
1234 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1235 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1236 Accessibility_STATE_MANAGES_DESCENDANTS
1237 * libspi/accessible.c:
1238 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1239 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1240 As requested by Bill, I also cleaned up the alignment.
1241 * libspi/relation.c:
1242 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1243 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1244 * libspi/stateset.c:
1245 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1246 Accessibility_STATE_MANAGES_DESCENDANTS
1247 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1248 Document changes reflecting modifications to roles.
1249 * docs/reference/cspi/tmpl/spi_relation.sgml:
1250 Document changes reflecting modifications to relations.
1251 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1252 Document changes reflecting modifications to states.
1254 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1257 Revved to 1.1.3, interface-age=3, binary-age=3.
1258 Added REBUILD macro.
1261 Removed accessx-gui from the tests, since we have a nice
1262 keyboard accessibility capplet now :-)
1264 * test/keysynth-demo.c:
1265 (increment_scan): removed do-nothing default: case,
1268 * test/visual-bell.c:
1269 (main) : removed do-nothing default: case,
1272 * cspi/spi_action.c:
1273 (AccessibleAction_getKeyBinding_):
1274 Documented keybinding string format.
1278 (AccessibleText_getAttributes):
1279 Documented the text attribute string format.
1280 It's changed to use semicolon delimiters also,
1281 to prevent clashes with CSS attributes, but the old
1282 trick of looking for ", " strings will still work
1283 (as unreliably as ever). Fix for bug related to 97916.
1286 Include <cspi/bonobo/cspi-bonobo-listener.h>
1287 Fixes build warning.
1288 (SPI_freeAccessibleKeySet):
1289 (AccessibleKeystrokeListener_addCallback):
1290 (AccessibleKeystrokeListener_removeCallback):
1291 Modify to use AccessibleDeviceListener API internally,
1292 instead of AccessibleKeystrokeListener.
1294 * idl/Accessibility_Event.idl:
1295 Added two more empty slots to EventListener (for a total of four).
1297 * idl/Accessibility_Accessible.idl:
1298 Added four empty slots to Accessible interface.
1300 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1302 * idl/Accessibility_Registry.idl:
1303 (KeyEventType, EventType):
1304 Marked KeyEventType as deprecated; it duplicates
1305 functionality of EventType, which has been extended to
1306 include Mouse-button events.
1307 (KeyEventTypeSeq): defined in terms of EventType.
1308 (registerDeviceEventListener, deregisterDeviceEventListener):
1309 New methods, for managing listeners to device events,
1310 which potentially may consume them.
1313 Added definition for AccessibleDeviceListener.
1315 * cspi/spi-listener.h:
1316 (enum AccessibleDeviceEventType):
1317 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1318 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1319 for backwards compat.
1320 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1321 and typedef'd AccessibleKeystroke to it for back-compat.
1322 (AccessibleDeviceListenerCB):
1323 New function prototype typedef.
1326 (AccessibleDeviceEventMask): New typedef.
1327 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1328 (AccessibleKeyMaskType):
1329 Set equivalent to AccessibleModifierMaskType for back-compat.
1330 (SPI_createAccessibleKeystrokeListener):
1331 (AccessibleKeystrokeListener_unref):
1332 Deprecated in favor of equivalent (better-named) new API below..
1333 keystroke listeners are like all device listeners.
1334 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1335 New API names for old features :-).
1336 (AccessibleDeviceListener_addCallback):
1337 (AccessibleDeviceListener_removeCallback):
1338 (SPI_registerDeviceEventListener):
1339 (SPI_deregisterDeviceEventListener):
1343 (SPI_createAccessibleKeystrokeListener):
1344 Use new preferred API, cspi_device_listener_new() and
1345 cspi_device_listener_add_cb().
1346 (AccessibleKeystrokeListener_removeCallback):
1347 Use new preferred API, cspi_device_listener_remove_cb().
1348 (AccessibleKeystrokeListener_unref):
1349 Use new preferred API, cspi_device_listener_unref().
1350 (SPI_createAccessibleDeviceListener):
1351 (AccessibleDeviceListener_addCallback):
1352 (AccessibleDeviceListener_removeCallback):
1353 Implementation of new API.
1355 * cspi/spi_registry.c:
1356 (SPI_registerDeviceEventListener):
1357 (SPI_deregisterDeviceEventListener):
1358 Implementation of new API. Fixed memory leak and removed need to
1359 allocate EventTypeSeq (thanks Michael for catching this).
1360 Squashed a wayward CORBA_exception_free that shouldn't get called.
1362 * cspi/bonobo/cspi-bonobo-listener.c:
1364 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1365 (cspi_key_event): renamed to cspi_device_event().
1366 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1367 Extended to handle mouse button events as well as key events.
1368 (CSpiKeystrokeListener):
1369 Class superceded by CSpiDeviceListener.
1370 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1371 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1373 * cspi/bonobo/cspi-bonobo-listener.h:
1374 (CSpiKeystrokeListener):
1375 Class superceded by CSpiDeviceListener.
1376 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1377 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1379 * libspi/Makefile.am:
1380 Replaced keystrokelistener.h and keystrokelistener.c
1381 with devicelistener.h and devicelistener.c; keystrokelisener.h
1382 stub retained for back-compat.
1384 * libspi/keystrokelistener.c:
1388 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1390 * registryd/deviceeventcontroller.c:
1391 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1392 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1393 (DEControllerPrivateData): Added xkb settings data.
1394 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1395 button release events (which can't be captured via XGrabButton).
1396 Don't dispatch via the 'normal' event mechanism if the device event was
1398 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1399 Handle the typeseq data in its new location (see above).
1400 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1401 New methods, for "generic" device listeners.
1402 (spi_controller_register_device_listener):
1403 Now handle mouse event listeners as well as key listeners.
1404 (spi_controller_notify_mouselisteners):
1405 New internal method.
1406 (spi_device_event_controller_forward_mouse_event):
1407 Now we notify mouse device listeners as well as generating the
1408 non-consumable "mouse:" events.
1410 We must check and restore the XKB
1411 modifier map if we consume the event, since the act of triggering
1412 a mouse event will normally reset the XKB latch. This is required for
1414 (spi_controller_register_with_devices):
1415 Load the XKB settings when registering, and register for XKB
1416 state notify events.
1417 (spi_key_eventtype_seq_contains_event):
1418 Renamed spi_eventtype_seq_contains_event, since it's used
1419 internally for all device event types now.
1420 (spi_key_event_matches_listener):
1421 Uses spi_eventtype_seq_contains_event now.
1422 (spi_device_event_controller_object_finalize):
1423 Free the private data and the XkbKeyboard struct.
1424 (impl_register_device_listener, impl_deregister_device_listener):
1425 Implementation of new IDL.
1426 (spi_deregister_controller_device_listener):
1427 New internal method.
1428 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1429 More efficient implementation, we don't have to create a new
1430 XkbControls structure every time we query.
1431 (spi_device_event_controller_class_init):
1432 Initialize the epv entries for the new IDL. Assign the
1433 "spi-dec-private" quark.
1434 (spi_device_event_controller_init):
1435 Initialize the private data.
1436 (spi_device_event_controller_forward_key_event):
1437 Removed a bogus CORBA_exception_free() call.
1439 * registryd/deviceeventcontroller.h:
1440 Replaced inclusion of keystrokelistener.h with
1443 * test/event-listener-test.c:
1444 (report_mouse_event):
1447 Added mouse-event device listener.
1449 * test/test-simple.c:
1450 (create_test_window):
1451 Fixed regression (we were instantiating a GtkRange,
1452 which is now an abstract class). Also fixed to match
1453 existing AtkRole names, this seems to have changed in ATK
1454 awhile ago; too late now I think, and the new
1455 mechanism is at least elegant and consistent with the
1456 glib enum "nick" APIs.
1458 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1460 * idl/Accessibility_Relation.idl:
1461 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1462 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1463 * idl/Accessibility_Role.idl:
1464 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1465 * idl/Accessibility_State.idl:
1466 add STATE_MANAGES_DESCENDANTS
1467 * test/event-listener-test.c:
1468 Added a listener for active-descendant events.
1470 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1472 * atk-bridge/bridge.c
1473 (atk_bridge_init): If application is Bonobo component wait until top
1474 level is added before registering
1475 (spi_atk_bridge_do_registration): New function which contains code,
1476 formerly in atk_bridge_init, to do application registration.
1477 (spi_atk_bridge_toplevel_added): Signal called when top level
1478 added to Bonobo component
1480 This fixes bug #83134.
1482 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1484 * registryd/deviceeventcontroller.c
1485 Fixed compilation error caused by calling gettimeofday()
1488 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1493 Added template for HAVE_XKB.
1496 Changes to check for XKB, and to set the HAVE_XKB #define if it
1499 * libspi/listener.c:
1500 ()impl_notify_event): Make failure to get event source name
1503 * registryd/deviceeventcontroller.c:
1504 (#include): include X11/XKBlib.h.
1505 (DEControllerPrivateData) : New struct.
1506 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1508 (dec_synth_keycode_press) (dec_synth_keycode_release):
1509 New methods; split the key synthesis code into these methods.
1510 They check XKB settings before determining the "time" values to
1511 pass to Xtest; this fixes bug #95828.
1512 (impl_generate_keyboard_event): Changed to use methods above,
1513 instead of callng Xtest directly.
1514 (spi_device_event_controller_init): Initialize new privae struct s
1516 (spi_device_event_controllr_object_finalize):
1517 Free the (new) private data.
1519 * registryd/deviceeventcontroller.h:
1520 Add new gpointer to end of struct data.
1522 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1525 Incremented revision to 1.1.2, SONAME is still '.so', library
1526 extensions are ".so.0.0.2".
1528 * registryd/deviceeventcontroller.c:
1529 FIXES FOR #93592 and #95940.
1530 (statics): renamed mouse_button_state to mouse_mask_state,
1531 added key_modifier_mask.
1532 (spi_dec_poll_mouse_moved):
1533 Added key modifier checks, and emit "keyboard:modifiers"
1534 events when the key modifiers currently in use change.
1535 Also generate "mouse:abs" events periodically, even if the mouse
1536 is stationary (should we?).
1537 Alternatively we could generate "mouse:abs" events for either all
1538 mouse movements, or every 'nth' mouse movement, or at the
1539 beginning and end of every "active" mouse period.
1541 * test/event-listener-test.c:
1542 (main): Added listener for "keyboard:modifiers" events.
1544 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1546 * libspi/keymasks.h:
1547 Added key mask #defines for mouse buttons; e.g.
1548 SPI_KEYMASK_BUTTON1, etc.
1551 Incremented dependency on ATK to version 1.1.0. (This dependency
1552 is probably premature but will soon be real enough).
1554 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1556 * libspi/hyperlink.[ch]
1557 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1558 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1561 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1566 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1568 * registryd/deviceeventcontroller.c
1569 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1570 events to be ignored.
1571 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1572 keyboard_mode so that XAllowEvents() can be called.
1576 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1578 * cspi/spi-accessible.c: Correct names of roles returned by
1579 AccessibleRole_getName(). Fixes bug #95055.
1581 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1583 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1586 * registryd/registry.c
1587 (desktop_remove_application: Write diagnostic message to stderr for
1590 (impl_accessibility_registry_deregister_global_event_listener):
1591 Correct size of lists array. This addresses bug #94555).
1593 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1595 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1598 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1600 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1603 * registryd/registry.c (impl_registry_notify_event): Remove
1604 unnecessary call to parser_event_type().
1606 * docs/reference/cspi/tmpl/spi_component.sgml:
1607 Add reference to SPI_LAYER_WINDOW.
1609 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1611 * registryd/registry.c
1612 (desktop_add_application): Remove leak.
1613 (desktop_remove_application): Remove leak.
1614 (parser_event_type): Remove leak.
1616 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1618 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1619 bogus call to CORBA_string_dup(). Also removed unnecessary
1620 g_string_dup/g_free calls.
1622 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1624 * registryd/deviceeventcontroller.c:
1625 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1627 * test/event-listener-test.c:
1628 main: commented out three redundant listeners, to reduce output
1629 noise. (They still are potentially useful for testing).
1632 2002-09-13 Michael Meeks <michael@ximian.com>
1634 * Update all the copyrights to include Ximian.
1636 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1638 * cspi/spi.h: add SPI_LAYER_WINDOW.
1640 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1641 add Accessibility_LAYER_WINDOW case.
1643 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1645 * libspi/component.c: (impl_accessibility_component_get_layer):
1646 add ATK_LAYER_WINDOW case.
1648 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1650 * configure.in: incremented micro version.
1652 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1654 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1657 Clarified and reworded our commit policy.
1660 Started an API "todo" addition list for 2.2.
1663 (impl_getSelection):
1664 Free char pointer from atk_text_get_selection, which was being leaked.
1666 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1669 Small revision to author acknowledgement.
1671 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1673 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1674 If signal has detail add it to the type of the event.
1677 2002-08-12 Michael Meeks <michael@ximian.com>
1679 * test/test-simple.c (global_listener_cb): bin bogosity.
1680 (test_keylisteners): disable, still doesn't work reliably,
1681 certainly not on my system anyway.
1683 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1684 don't leak a reference on the DEC. This round-trip
1685 fetching of the DEC per keystroke sucks, it should be
1688 * cspi/spi-private.h,
1689 * cspi/cspi-lowlevel.h,
1690 * cspi/bonobo/cspi-bonobo-listener.[ch],
1691 * cspi/bonobo/cspi-bonobo.c: get the copyright
1692 notices better - there is still a large amount of
1693 work in at-spi falsely attributed solely to Sun.
1695 * cspi/spi_main.c (cspi_object_ref): kill bogus
1696 hash lookup, just increment the ref.
1697 (SPI_freeString): make explicit the fact that we
1698 handle NULL strings just fine.
1699 (report_leaked_ref): obey coding standards.
1700 (cspi_object_hash, cspi_object_equal): kill retval.
1701 (cspi_object_release): only release if not on loan.
1702 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1703 (cspi_object_borrow, cspi_object_return): impl.
1705 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1706 use cspi_object_borrow / return.
1708 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1710 * cspi/bonobo/cspi-bonobo-listener.c:
1712 Don't call cspi_oject_new() because this is creating a new Accessible
1713 every single time that an event is fired. This causes ATs like at-poke
1714 to nolonger recognise the source of the event and thus ignore it.
1715 Re-use the object from the cache, ref it and then unref it after the
1716 listeners have been called.
1718 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1720 * test/event-listener-test.c:
1721 Added command-line options to disable mouse events (m) and
1724 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1726 * configure.in: Update required versions of ATK, GTK+ and GAIL
1728 * cspi-1.0.pc.in: Add dependency for X include files
1731 * cspi/bonobo/Makefile.am:
1732 Add $(X_CFLAGS) so that X include files
1733 are picked up even if not in standard place (bug #71686)
1735 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1737 * registryd/deviceeventcontroller.c: fix for 84261
1738 (spi_dec_mouse_moved):
1739 Added test of mouse button mask, so that we can detect mouse
1740 button release. Unfortunately we can't otherwise detect mouse
1741 button release events without consuming the mouse press event,
1742 because of the way XGrabButton works. This means that our mouse
1743 release events have a latency dependent on the polling period
1744 while the mouse button is down. At least in this case we only
1745 have to poll while the button is down, and not at other times.
1746 If the button masks don't match with what the last press event
1747 reported, we report the appropriate button release event.
1748 (spi_dec_ungrab_mouse):
1749 New method (not yet called).
1750 (spi_device_event_controller_forward_mouse_event):
1751 New method, sends mouse press event from GdkFilter.
1752 (spi_dec_init_mouse_listener):
1753 Added code to call XGrabButton, redirecting mouse button events to
1754 the root window and our Gdk event loop.
1756 Added code to filter mouse button events, and reordered.
1758 * test/event-listener-test.c:
1760 Added registration for mouse events of type "mouse:button".
1762 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1764 * registryd/deviceeventcontroller.c: partial fix for 84261
1765 (spi_dec_poll_mouse_idle):
1766 New method, a timeout which checks to see if the mouse
1768 (spi_dec_poll_mouse_moving):
1769 A timeout to be called when mouse motion is underway.
1770 (spi_dec_poll_mouse_moved):
1771 A method which fires an event if the mouse has moved, and reports
1772 whether or not it did so.
1773 (spi_dec_init_mouse_listener):
1774 A method which sets up the timeouts above.
1775 (spi_device_event_controller_new):
1776 Now calls spi_dec_init_mouse_listener.
1778 * registryd/registry.c:
1779 (spi_registry_init):
1780 Now we initialize the device event controller when the registry is
1781 initialized, instead of waiting until a client has requested a key
1782 event notification; this is because we need the event controller
1783 for mouse events, but the mouse event registration API is a
1784 "registry" call and doesn't explicitly call the
1785 deviceeventcontroller.
1786 We now report mouse motion events with a 100 ms idle latency and
1787 a 20 ms granularity when motion is in progress.
1789 * test/event-listener-test.c:
1791 We now register the "detail listener" for events of type
1792 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1793 delivered only for the first mouse event received, and thereafter
1794 "mouse:abs" events are delivered.)
1796 * cspi/spi_registry.c:
1797 DOCS: Documented the above mouse event typestrings.
1799 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1801 Happy Summer Solstice...
1803 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1804 (spi_controller_notify_keylisteners):
1805 Changes to remove a listener from the listener list, freeing its
1806 open keygrabs, if a notification to that listener fails. This
1807 means that although a dead listener can continue to hold a passive
1808 keygrab, a maximum of one dispatch to such a listener can fail
1809 before the listener is removed from the list, thus the keygrab
1810 will be released on the next occurrence.
1811 As part of this fix:
1812 (spi_notify_keylisteners):
1813 Renamed to spi_controller_notify_keylisteners, as the controller
1814 instance must now be passed as an argument.
1815 The copied 'notify' GList is now a list of DEControllerKeyListener
1816 objects, since we need more than just the CORBA reference if a
1817 notify fails and we need to deregister the listener.
1818 (impl_notify_listeners_sync):
1819 (impl_notify_listeners_async):
1820 (spi_device_event_controller_forward_key_event):
1821 Modify use of notify_keylisteners in accordance with above
1823 (spi_deregister_controller_key_listener):
1824 New method introduced by refactoring, from
1825 impl_deregister_keystroke_listener.
1826 (impl_deregister_keystroke_listener):
1827 Call spi_deregister_controller_key_listener.
1828 (spi_key_listener_clone):
1829 New method to copy a key listner without doing a 'ref' on the
1830 remote object instance; used to create a notifier list.
1831 (spi_key_listener_data_free):
1832 New method, frees data without unreffing the source.
1834 (spi_key_listener_clone_free): new method.
1835 (spi_key_listener_free):
1836 refactored to call spi_key_listener_data_free.
1838 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1840 * registryd/registry.c: [fix for bug 86048]
1841 (notify_listeners_cb):
1842 Clear CORBA system exceptions which occur when notifying
1843 listeners, before returning to the source of the original event,
1844 since the event source doesn't care if the relayed notify failed.
1845 In other words, don't complain to the atk-bridge if the registry
1846 could not notify all its listeners, that's no fault of the
1847 application and thus should not appear to be an error from the
1848 application's perspective.
1850 * cspi/spi_main.c: [fix for bug 85980]
1852 Replaced use of bonobo_object_dup_ref with call to the wrapper
1853 method, csou_dup_ref (); this silences a compiler warning and
1854 provided more portability.
1856 Ping the registry before return, and restart if necessary.
1858 * cspi/bonobo/cspi-bonobo.c:
1860 New internal method.
1862 Fixed this method to return an object reference, as it should have
1865 * cspi/cspi-lowlevel.h:
1866 Added internal definition for cspi_ping() and fixed
1867 return type of cspi_dup_ref().
1870 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1872 * atk-bridge/bridge.c: [fix for bug 85305]
1873 (spi_atk_bridge_register_application):
1874 New method where the initial application registry calls have been
1875 moved; it allows an application to re-register in response to
1876 certain error conditions (such as a registry restart, see below).
1878 Moved some initialization code to the method
1879 spi_atk_bridge_get_registry, below.
1880 (spi_atk_bridge_get_registry):
1881 New, private accessor function for the Accessibility_Registry
1882 instance. If the registry has not been started before, or has
1883 died (as detected by failure of a CORBA exception), it is
1884 restarted before return, and spi_atk_bridge_register_application
1885 is called again to register with the new bridge instance.
1886 (spi_atk_emit_eventv):
1887 Set registry_died on error; use spi_atk_bridge_get_registry () to
1888 access the registry.
1890 * registryd/registry.c:
1891 (impl_accessibility_registry_register_global_event_listener):
1892 Set listener's event_type_quark to etype.minor instead of
1893 etype.major (fix for bug 84856).
1895 * test/event-listener-test.c:
1896 (report_detail_event):
1897 Change the output string so that user/tester can tell that the
1898 'detail listener' was called instead of the 'generic listener'.
1900 2002-06-18 Bill Haneman <bill.haneman@sun.com>
1902 Fixes for bugs 84900, 84908, 84897, 84898.
1907 Revved version to 1.1.0
1908 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
1909 version is going to HEAD which will be used for gnome-2-0-1 and later.)
1911 * idl/Accessibility_Registry.idl:
1912 (EventListener::notifyEvent):
1913 Removed 'oneway' directive after extensive consulation with
1914 ORBit2 team and others. This means also that unref() of the event
1915 source can and should be done synchronously after emission, rather
1916 than remotely in the client, after servicing the notify call on
1919 NOTE: This change speeds up listener performance considerably, but
1920 introduces new latency on the application side. We may want to
1921 add an event queue to the atk-bridge.
1923 * atk-bridge/bridge.c:
1924 (spi_atk_bridge_focus_tracker):
1925 Do a local unref() on the event source after emission.
1927 * registryd/registry.c:
1928 (desktop_remove_application):
1929 Do an unref() on the event source after emission.
1930 (desktop_add_application):
1931 Do an unref() on the event source after emission.
1932 (notify_listeners_cb):
1933 When relaying an event, don't automatically add the event source
1934 to the local object cache, just CORBA_dup it instead. Likewise,
1935 if this method reenters, release the ref rather than calling
1937 (impl_registry_notify_event):
1938 No longer call remote unref() on the event source after dispatch.
1940 * libspi/eventlistener.c:
1941 (impl_accessible_event_notify_event):
1942 Removed remote unref ()
1944 * cspi/bonobo/cspi-bonobo-listener.c:
1946 We now call cspi_object_new() instead of cspi_object_add() on
1947 receipt of an event; thus we only have an implicit object ref
1948 while the cspi_event method is being executed. If we need to keep
1949 a reference to the object, the listener must call ref() on the
1950 object. Thus also we don't need to call cspi_object_unref() after
1951 invoking the listener callbacks in this method.
1955 New internal API for creating a new cspi object, without adding it
1956 to the object cache.
1958 Now uses cspi_object_new() to create the cspi object instance.
1960 Now checks to see if the object is in the internal object cache,
1961 and adds it if necessary before incrementing its refcount (note
1962 that new objects are added with a refcount of 1).
1963 (report_leaked_ref):
1964 New method which gives some information on leaked object instances
1965 if leak detection is turned on.
1967 * test/event-listener-test.c:
1968 (timing_test_event):
1969 New method, used for testing event delivery timing for special
1970 events of type "object:test". It reports elapsed time and
1971 events/sec every 500 events.
1973 Added a new listener, 'test listener', to check timing of event
1974 receipt as noted above.
1976 Added some timing output here also, reports elapsed time every 100
1979 * test/stress-test.c:
1980 Emit events of type "object:test", for use with "event-listener-test".
1982 * test/test-simple.c:
1983 (global_listener_cb):
1984 Call Accessible_ref() on the event source before calling
1985 validate_accessible, since the validation process does pointer
1986 comparisons on the event source, meaning that the event source
1987 needs to be added to the local object cache first. Any use of
1988 such pointer comparisons between Accessible objects requires that
1989 the caller hold an explicit reference to those objects.
1990 We also must therefore call Accessible_unref() when leaving this method.
1992 2002-06-13 Bill Haneman <bill.haneman@sun.com>
1994 * registryd/deviceeventcontroller.c:
1995 (spi_controller_update_key_grabs):
1996 Fix for #84735, subsequent keygrab listeners not informed of
1997 registration failure.
2000 (spi_base_construct):
2001 Add an assertion on construct, to make sure the GObject passed in
2002 is really a GObject.
2004 Explicitly initialize object->gobj pointer to NULL;
2006 * cspi/bonobo/cspi-bonobo-listener.c:
2007 (cspi_object_add_ref):
2008 New method, can specify whether to dup-ref a bonobo object passed
2009 in if it's newly added to the object cache.
2011 Now calls cspi_object_add_ref with second param of "FALSE". This
2012 prevents us from doing a pointless dup-ref followed by
2013 release-unref for all those cases where the object is already in
2014 our object cache (fix for #85205).
2016 * atk-bridge/bridge.c:
2017 (spi_atk_bridge_idle_init):
2018 Removed this method, we don't need to initialize in an idle
2021 Changed to call spi_atk_register_event_listeners directly, not via an
2022 idle handler. (fix for #81139)
2023 (gnome_accessibility_module_shutdown):
2024 Removed conditional around deregistration of listeners, since we
2025 don't use the idle handler and thus have always registered when
2027 (spi_init_keystroke_from_atk_key_event):
2028 Changed references to Accessibility_KEY_PRESSED to
2029 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2031 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2033 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2038 * test/stress-test.c:
2041 (may have been an incomplete commit yesterday?)
2043 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2046 Added target for new stress-test.
2048 * test/stress-test.c:
2049 New test, sends 1000 focus notifies in quick succession.
2051 * test/key-listener-test.c:
2052 Now we report whether a keylistener registration
2053 request succeeded or failed.
2055 * test/event-listener-test.c:
2056 Uncommented some listeners which are now implemented.
2059 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2061 * registryd/deviceeventcontroller.c:
2062 (spi_controller_update_key_grabs):
2063 Fix for #82509, lack of failure notification when
2064 ALL_WINDOWS keygrabs fail due to XGrabKey
2065 failure: we synchronize the server when
2066 registering a passive grab, to make sure we get the
2067 error message before the call returns.
2069 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2071 * test/test-simple.c:
2073 Removed #ifdef KEY_IMPL_WORKS guards.
2074 (test_keylisteners):
2075 Removed #ifdef KEY_IMPL_WORKS guards.
2076 Fixed bug which was causing a hang waiting for a
2077 "press" event (which was already overwritten by a "release"
2078 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2080 Added code to set globals 'key_press_received' and
2081 'key_release_received'.
2084 Added section "1.1 API Proposed Additions" which
2085 lists API additions desired for at-spi-1.1 (only one so far).
2086 Updated TODO list a little.
2088 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2090 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2093 * configure.in: Revved to 1.0.0.
2095 * idl/Accessibility_Registry.idl:
2096 (registerKeystrokeListener):
2097 Added boolean return value.
2099 * registryd/registry.c:
2100 (notify_listeners_cb): Minor fix to debug output.
2102 * registryd/Accessibility_Registry.server.in.in:
2103 Revved version number in OAFIID to 1.0.
2105 * registryd/registryd.c:
2107 Use new OAFIID version.
2109 * cspi/bonobo/cspi-bonobo.c:
2111 Use new OAFIID version.
2117 * atk-bridge/bridge.c:
2119 Use new OAFIID version.
2121 * registryd/deviceeventcontroller.c:
2122 (impl_register_keystroke_listener):
2123 Added CORBA_boolean return value.
2124 (spi_controller_register_device_listener):
2125 Added gboolean return value.
2126 (spi_controller_register_global_keygrabs):
2127 Added gboolean return value.
2128 (spi_key_set_contains_key):
2129 Added implementation for many more control keys,
2130 for instance F1-F12, arrow keys, End, Home, Page_Up,
2132 [TODO: some still not implemented].
2134 * text/screen-review-test.c:
2135 (text_chunk_pad_string):
2136 New function: it provides mapping between coordinate
2137 positions of text chunks and character positions in the
2138 screen-review-line output string.
2139 (text_chunk_to_string):
2140 New function, calls text_chunk_pad_string with various
2141 pad/delimiter characters. Pushbuttons are delimited with
2142 square brackets, Frames with vertical 'pipe' lines, and
2143 other text with double quotes.
2144 (text_chunk_list_to_string):
2145 Calls new function text_chunk_to_string.
2146 (toplevel_composite):
2147 New function to composite layers CANVAS through
2148 POPUP in each toplevel (other layers are composited
2149 across toplevels, i.e. BACKGROUND and OVERLAY).
2150 (review_buffer_composite):
2151 Revise to use new methods.
2157 2002-05-31 Laszlo Peter <laca@sun.com>
2159 * configure.in: add the Xtst libdir to the runpath on Solaris,
2160 since it's not in the default library search path.
2162 2002-05-29 jacob berkman <jacob@ximian.com>
2164 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2166 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2168 * test/screen-review-test.c:
2169 (text_chunk_pad_string):
2170 Added method, which pads the string according to the
2171 text bounds of the chunk. It also takes a 3-character
2172 string as a param which indicates the characters to be
2173 used for start, padding, and end delimitation of the chunk.
2174 (text_chunk_to_string):
2175 Changed to use text_chunk_pad_string.
2177 * configure.in: Fixed bug in AC_OUTPUT that was
2178 causing path substitution in Accessibility_Registry.server
2181 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2183 * text/screen-review-test.c:
2184 (guess_string_clip):
2185 New method which attempts a best-guess at clipping
2186 text from components (like Java labels) which don't
2187 actually implement AccessibleText. This inaccurate
2188 clip is based on the assumption that the label is
2189 justified left-and-right, and monospaced.
2190 (text_chunk_get_clipped_string):
2191 We now call guess_string_clip() for text-containing
2192 components that don't implement AccessibleText.
2194 * test/screen-review-test.c:
2195 (review_buffer_get_text_chunk):
2196 We now pull "name" from labels if they do not implement
2197 AccessibleText (i.e. for Java labels).
2198 (get_screen_review_line_at):
2199 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2202 Replaceded AC_OUTPUT target
2203 registryd/Accessibility_Registry.server with
2204 registryd/Accessibility_Registry.server.in.
2206 * registryd/Accessibility_Registry.server.in:
2207 Removed (this is now a Makefile target).
2209 * registryd/Accessibility_Registry.server.in.in:
2210 Added (source for target above). We now use $(libexecdir) as
2211 prefix for the executable at-spi-registryd.
2213 * registry/Makefile.am:
2214 Now install at-spi-registryd into $(libexecdir), and build .server
2215 file with path (see above).
2217 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2219 * test/screen-review-test.c:
2220 (text_chunk_get_clipped_string):
2221 We now check to see if words fall within clip bounds
2222 before resorting to character-by-character clip bounds testing.
2224 * TODO: Added a section for "2.2 Proposed API Additions".
2226 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2228 * test/screen-review-test.c:
2230 Added a screen review benchmarking and test program to test
2233 * cspi/spi_accessible.c:
2235 Made some of the debug strings passed to cspi_check_ev a
2236 little more specific.
2238 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2240 * test/screen-review-test.c: Fix crashes in debug statements
2242 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2244 * test/screen-review-test.c: Added this file.
2246 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2248 * atk-bridge/bridge.c: changed "object:state-change" to
2249 "object:state-changed" to match docs.
2251 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2253 * atk-bridge/bridge.c: Hooked up state-change event details.
2255 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2257 * registryd/registry.c:
2258 Fixed quarking bug in event string parsing; now events with
2259 detail parameters get matched correctly to listeners.
2262 * util/idl/Magnifier.idl: remove.
2264 * util/*.[ch]: Remove.
2265 Magnification utilities and IDL are now in module gnome-mag.
2267 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2269 * registryd/deviceeventcontroller.c:
2270 Fixed bug in grab key conversion which was causing keycode grabs
2271 to be converted to AnyKey grabs.
2274 updated NEWS file to reflect recent spin-off of gnome-mag.
2276 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2278 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2279 busted AccessibleStateSet_compare. Removed redundant casts.
2281 * cspi/spi-action.c: Removed redundant casts.
2283 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2285 * cspi/spi_component.c: Fixed typos and casting error.
2287 * cspi/spi_editabletext.c: Removed redundant casts.
2289 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2291 * cspi/spi_hypertext.c: Eliminated redundant casts.
2293 * cspi/spi_image.c: Eliminated redundant casts.
2295 * cspi/spi_registry.c: Eliminated redundant casts.
2296 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2297 * cspi/spi_selection.c: Removed redundant casts.
2298 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2299 handling. Screen geometry and text offsets were being returned as 0
2300 on error which is technically valid-- changed these to return -1.
2301 Added marshaller for text boundary types to fix bug with boundary
2302 types being passed incorrectly to atk.
2304 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2307 * cspi/spi_registry.c:
2308 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2309 which was uncovered by the recent key changes.
2311 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2313 * test/event-listener-test.c:
2315 Added new test, "event-listener-test";
2316 this code does two things; it benchmarks traversal time
2317 for the accessible hierarchy for the first running accessible
2318 app, and it connects listeners for all supported event types.
2319 It is thus useful as an example event listener and for
2320 diagnostics/debugging of event generation.
2322 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2325 Removed unnecessary dependency on libutil.
2328 Revved micro version: 0.13.1
2330 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2333 Removed util/Makefile from targets.
2336 Removed util subdir from SUBDIRS (temporarily,
2337 pending removal of magnifier-only code
2341 #ifdef-ed out magnifier dependencies, since
2342 magnifier IDL, headers, and binary now live in
2343 module gnome-mag and we don't want at-spi to depend
2344 on gnome-mag. A magnifier demo which can run alongside
2345 simple-at is forthcoming in the gnome-mag module.
2347 NOTE: Split magnifier binary, IDL, and magnification
2348 activation code from at-spi into module gnome-mag.
2350 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2352 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2353 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2355 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2358 Revved to version 0.13.0
2360 * idl/Accessibility_Registry.idl:
2361 Changed definition of KeySet from sequence of longs to sequence of
2362 KeyDefinitions, and added KeyDefinition struct.
2363 Required for fix to bug 80616.
2365 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2366 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2367 to use new definition (see above).
2369 * registryd/deviceeventcontroller.c: handle_keygrab(),
2370 spi_keyset_contains_key():
2371 Changed to make use of new struct; this allows matching based on
2372 string key-name, for instance "Tab". This also allows matching of
2373 composed characters, non-alphanumeric characters in a way that
2374 doesn't involve dependencies on X keysym codes directly, etc.
2376 * test/key-listener-test.c:
2377 Added test for Alt-Tab key using "string" specification of keyset,
2378 and modified one of the tests to use a keycode-based keyset.
2379 Thus this test both tests and demonstrates the creation and use of
2380 keysets of three forms: specified via keycode array,
2381 keysym array, and string array. (The string case only contains a
2382 single string, i.e. a string array of length 1).
2385 Turned on PRINT_TREE option by default. Also fixed a
2386 string-freeing bug in the PRINT_TREE code.
2387 Added a listener to window:minimize events.
2389 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2391 * atk-bridge/bridge.c:
2392 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2393 for window:activate and window:deactiveate
2394 (atk_bridge_property_event_listener atk_bridge_signal_listener
2395 atk_bridge_window_event_listener) Tidy debug code
2397 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2399 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2400 Fixed handling for NULL return value from ATK.
2402 * libspi/action.c libspi/component.c libspi/editabletext.
2403 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2404 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2405 Removed redundant casts.
2407 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2408 Fixed off by one bug.
2410 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2411 function not present in idl)
2413 2002-05-02 jacob berkman <jacob@ximian.com>
2415 * atk-bridge/Makefile.am: make atk-bridge a real module
2417 2002-04-26 Radek Doulik <rodo@ximian.com>
2419 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2420 atk_state_types table
2422 2002-04-22 jacob berkman <jacob@ximian.com>
2425 * libspi/Makefile.am: add deps on the built files to help
2426 automake, and don't version the ORBit typelib
2428 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2430 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2431 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2432 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2433 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2434 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2435 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2436 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2437 libspi/accessible.h libspi/accessible.h libspi/base.h
2438 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2439 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2440 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2441 libspi/spi-private.h libspi/statetset.h libspi/table.h
2442 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2443 util/mag_client.h util/mag_control.c util/mag_image.c
2444 util/mag_image.h util/magnifier.c util/magnifier.h:
2445 Add missing file headers; standardize existing ones
2447 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2449 * atk-bridge/bridge.c: Added window event support.
2451 2002-04-18 Michael Meeks <michael@ximian.com>
2453 * libspi/relation.c (impl_getNTargets): impl.
2454 (impl_getTarget): impl.
2456 * libspi/Makefile.am: fix stateset install.
2458 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2461 Started putting useful info in this file.
2463 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2465 * atk-bridge/bridge.c:
2466 Propagate state-changed notifications to ATs
2468 * cspi/spi_registry.c: update docs to reflect actual behavior of
2469 state-change events.
2471 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2474 Incremented version to 0.12.1
2476 * util/mag_client.h:
2477 Add missing declaration for magnifier_exit,
2478 used by mag_control.c - Forte compiler didn't like
2479 the implicit redeclaration of the function :-(
2482 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2485 Revved version to 0.12 due to API change (see below).
2487 * cspi/spi-roletypes.h:
2488 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2489 definition from the inline docs, and added docs
2490 for SPI_ROLE_LAST_DEFINED.
2493 * cspi/spi_streamablecontent.c:
2494 Added missing seek_type parameter to
2495 (so far unused) method,
2496 AccessibleStreamableContent_seek().
2497 [ RT approval JodyG. ]
2500 Fixed docs for SPI_createAccessibleKeystrokeListener.
2502 * cspi/spi_registry.c:
2503 Fixed docs for SPI_KEYSET_ALL_KEYS.
2505 * docs/reference/cspi/at-spi-cspi-sections.txt:
2506 Added a number of missing APIs to SECTIONS.
2508 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2510 * registryd/Makefile.am:
2512 * cspi/bonobo/Makefile.am:
2513 Add $(X_LIBS) to makefiles.
2515 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2518 Revved version to 0.11.
2520 * libspi/component.c:
2521 Added implementation for grabFocus.
2523 * idl/Accessibility_Component.idl
2524 (Accessibility_Component_grabFocus):
2525 Made this method return boolean to indicate success or failure, to
2526 be consistent with cspi and the corresponding ATK method.
2528 * idl/Accessibility_Selection.idl
2529 (Accessibility_Selection_selectAll) :
2530 Made these methods return boolean to indicate success or
2531 failure, to be consistent with cspi and the corresponding ATK methods.
2533 * idl/Accessibility_EditableText.idl
2534 (Accessibility_EditableText_setTextContents,
2535 Accessibility_EditableText_insertText,
2536 Accessibility_EditableText_cutText,
2537 Accessibility_EditableText_deleteText,
2538 Accessibility_EditableText_pasteText):
2539 Made these methods return boolean to indicate
2542 * cspi/spi_editabletext.c:
2543 Made these methods return booleans.
2545 * libspi/selection.c:
2546 * libspi/component.c:
2547 * libspi/editabletext.c:
2548 Connected the boolean returns from ATK
2549 to the server-side code referenced above.
2551 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2553 * idl/Accessibility_Table.idl: Added missing methods,
2554 Accessibility_Table_addRowSelection,
2555 Accessibility_Table_addColumnSelection,
2556 Accessibility_Table_removeRowSelection,
2557 Accessibility_Table_removeColumnSelection.
2560 Added C wrappers for above IDL:
2561 AccessibleTable_addRowSelection,
2562 AccessibleTable_addColumnSelection,
2563 AccessibleTable_removeRowSelection,
2564 AccessibleTable_removeColumnSelection.
2567 Added server-side implementation code for IDL above, connecting
2568 to pre-existing ATK api.
2570 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2572 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2574 * libspi/accessible.c: Added implementation fo
2575 Accessibility_Accessible_get_state.
2577 * libspi/libspi.h: Added stateset.h to the list of includes.
2579 * libspi/stateset.c: Fixed broken implementation.
2581 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2584 Added implementation code for Accessibility_Magnifier_exit ().
2586 * util/mag_control.c:
2587 Added test code for above method; you can
2588 now kill an existing magnifier via
2589 ./mag_control q, from the util directory.
2591 * test/key-listener-test.c:
2593 Added a new test, for our key listener API.
2595 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2597 * test/app.c, test/keysynth-demo.c:
2599 Replace use of snprintf with g_snprintf.
2600 (fix for bugzilla 78249)
2602 2002-03-27 Michael Meeks <michael@ximian.com>
2606 * util/Makefile.am (INCLUDES): fix.
2607 (DONT_DIST_SOURCE): don't distribute the
2610 * libspi/Makefile.am (dist-hook): ditto.
2612 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2614 * libspi/hypertext.c:
2615 Fix warnings when yelp is used with atk-bridge
2617 2002-03-21 Michael Meeks <michael@ximian.com>
2619 * libspi/application.c (spi_application_new):
2620 use spi_accessible_construct so we use the AtkObject
2623 2002-03-19 Michael Meeks <michael@ximian.com>
2625 * registryd/registry.c (desktop_remove_application),
2626 (desktop_add_application): clean coding style.
2628 * registryd/desktop.c (spi_desktop_remove_application),
2629 (spi_desktop_add_application): kill re-enterency hazards.
2630 (spi_desktop_dispose): remove bogus redundant cast
2631 obscuring bug; fix bug too.
2632 (spi_desktop_init): make the desktop object immortal.
2634 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2637 Added a #define-guarded tree-traversal step
2638 when enumerating the apps (diagnostic tool).
2640 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2642 * idl/Accessibility_Role.idl:
2643 Added ROLE_DRAWING_AREA which seemed to be missing from the
2646 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2648 * cspi/spi-roletypes.h cspi/spi_accessible.c
2649 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2652 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2653 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2654 AT when applications are added and removed from the desktop. This
2655 reverts the previous broken implementation using the backing
2656 AtkObject for the SpiDesktop.
2658 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2660 * registryd/desktop.c: emit the "children-changed::add" and
2661 "children-changed::remove" signals on the backing ATK object for
2662 the desktop so AT can tell when applications are started and shut
2665 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2667 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2669 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2671 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2673 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2675 * cspi/state-types.h: synched with IDL and ATK
2677 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2679 * libspi/accessible.c
2680 (impl_accessibility_accessible_get_child_at_index):
2681 Change return value for g_return_if_fail ()
2682 to CORBA_OBJECT_NIL instead of "0" (!)
2684 * registryd/Makefile.am:
2685 * registryd/Accessibility_Register.server.in:
2686 Changed name of executable, "registryd",
2687 to something more informative:
2690 2002-03-13 Michael Meeks <michael@ximian.com>
2692 * atk-bridge/bridge.c (atk_bridge_init): don't register
2693 if we're in a bonobo-component, rather than a bonobo app.
2695 2002-03-13 Michael Meeks <michael@ximian.com>
2697 * atk-bridge/bridge.c (gtk_module_init): split
2698 out body to (atk_bridge_init): here, since otherwise
2699 we get symbol conflicts and oddness when invoked
2700 from (gnome_accessibility_module_init): here (upd.)
2702 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2705 New file. Explicitly allow "build sheriff" putbacks provided
2706 they are tested on Solaris.
2708 * docs/reference/cspi/Makefile.am:
2709 Added '-' to the "cp" command for index.sgml.
2710 ("patch by thomasvs, soon coming to a GUADEC near you")
2713 Incremented version number (0.9.0) for new release.
2714 Changed macro that checks for popt, to better detect
2715 obsolete versions of popt.
2718 Added X_LIBS to AC_SUBST, for applications
2719 that call Xlib API directly.
2722 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2725 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2728 Fix regression caused by hard-coding major
2729 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2732 * test/test-simple.c (test_editable_text),
2733 (test_test): revert previous change (error was
2734 a regression in gail which is now fixed).
2736 2002-03-04 Michael Meeks <michael@ximian.com>
2738 * test/test-simple.c (test_editable_text),
2739 (test_text): pass G_MAXINT instead of '-1' for
2740 whole string - is this a good thing !?
2742 * cspi/spi_accessible.c
2743 (Accessible_getRelationSet): fix crasher bug
2744 overwriting the end of the array.
2746 * test/test-simple.c (validate_accessible): free,
2747 not g_free returned relation set.
2749 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2751 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2752 implemented stateset support
2754 * idl/Accessibility_State.idl: Made necessary changes to
2755 the IDL to support state sets.
2757 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2759 * registryd/deviceeventcontroller.c:
2760 Added implementation for generateMouseEvent.
2762 * cspi/spi_registry.c:
2763 Connected new implementation for generateMouseEvent
2766 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2769 Incremented revision (but no change in public API
2770 outside of 'utils', which are not installed public yet.)
2772 * libspi/component.c:
2773 Changed to use atk_component API for layers and
2774 mdi_zorder, instead of deprecated atk_object API.
2776 Magnification Utility Enhancements:
2779 Added implementation of createZoomRegion, clearAllZoomRegions,
2780 resizeZoomRegion. Added new commandline argument
2781 "--no-initial-region". Note that clearAllZoomRegions doesn't
2782 unmap the old '0' region as it should (yet), and the other
2783 methods only work when creating/resizing a single region,
2784 which is "region 0".
2785 (Code for multiple region support will be added later.)
2788 Now we raise the magnifier window each time it's refreshed;
2789 this will help keep it on top.
2791 * util/mag_client.h:
2792 Added simple wrappers for above, used by mag_control.
2793 For general use, it's recommended to use the bonobo magnifier
2794 control API directly instead of using these wrappers.
2797 Moved ZoomRegionData from magnifier.c to this file.
2799 * util/mag_control.c:
2800 Added some code to exercise new IDL implementations.
2802 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2804 * libspi/text.c: Provide implementation for getAttributes.
2806 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2809 Incremented revision.
2811 * test/test-simple.c:
2812 Replaced use of deprecated g_main_iteration with
2813 g_main_context_iteration.
2815 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2818 Incremented revision for desktop alpha 2.
2820 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2822 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2825 * test/simple-at.c: include netinet/in.h.
2827 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2829 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2830 use NULL, not CORBA_OBJECT_NIL.
2832 * libspi/accessible.c:
2833 (impl_accessibility_accessible_get_relation_set):
2834 allocate the sequence correctly.
2836 * libspi/remoteobject.h: kill spi_remote_object_new.
2838 * test/test-simple.c: (validate_accessible): add code
2839 to test relation sets, now all we need is to figure
2840 out how to excercise this code path :/
2842 2002-01-18 Michael Meeks <michael@ximian.com>
2844 * test/test-simple.c
2845 (key_listener_cb): consume the key.
2846 (test_keylisteners): update.
2847 (main): wait for any pending unrefs on events.
2849 * registryd/deviceeventcontroller.c
2850 (spi_controller_update_key_grabs): only re-issue the
2851 grab on a key release.
2852 (spi_device_event_controller_forward_key_event):
2853 refresh the keygrabs before we notify the listeners,
2854 to reduce the X ungrab / re-grab race.
2855 (spi_controller_register_with_devices): remove
2856 XSelectInput - we do that with the gdk_window_ call.
2857 (_spi_controller_device_error_handler): return a value.
2858 s/GDK_DISPLAY/spi_get_display/
2860 2002-01-17 Michael Meeks <michael@ximian.com>
2862 * registryd/deviceeventcontroller.c
2863 (_deregister_keygrab): don't blow out the later
2866 * test/test-simple.c (test_keylisteners): do a
2867 more intelligent validation.
2869 2002-01-14 Michael Meeks <michael@ximian.com>
2871 * atk-bridge/bridge.c
2872 (gnome_accessibility_module_init),
2873 (gnome_accessibility_module_shutdown): impl.
2874 (gtk_module_init): protect vs. double inits.
2875 (add_signal_listener): impl.
2876 (spi_atk_bridge_state_event_listener): kill
2877 (deregister_application): split out of
2878 (spi_atk_bridge_exit_func): here.
2880 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2883 Added caret tracking when using magnifier, and
2884 now use text bounds for focus tracking of text elements, rather than
2885 the component bounds - this is helpful for short text fields in long
2886 table cells, at high magnification.
2888 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2890 * registryd/deviceeventcontroller.c:
2891 Regression fix for keylistener de-registration; global keygrabs
2892 were not being released when deregisterKeystrokeListener was
2893 called in cspi, since
2894 Accessibility_DeviceEventController_deregisterKeystrokeListener
2895 was called with a zero-length keyset. That is because the cspi
2896 method, SPI_deregisterKeystrokeListener, does not take a keyset
2897 parameter but instead should remove all the key grabs held be a
2899 The code in impl_deregister_keystroke_listener was changed to copy
2900 the keylist from the listener instance previously registered with
2901 the DeviceEventController before releasing the grabs.
2903 * registryd/registry.c:
2904 * registryd/deviceeventcontroller.c:
2905 * libspi/spi-private.h:
2907 Changed spelling of "re-enterant" to "re-entrant" globally.
2909 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2911 * test/test-simple.c:
2912 Changed key listeners test - the test was slightly mis-using the
2913 (admittedly poorly documented) SPI_generateKeyboardEvent API.
2914 It now uses '=' as the key event listened to and generated,
2915 relying on a keysym match rather than assuming that keycode 33
2916 is always equal to keysym '!'.
2918 2002-01-15 Bill Haneman <bill.haneman@sun.com>
2921 Changed simple-at to use a specific keyset, rather than
2922 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
2923 manager, desktop, etc.
2925 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2927 * registryd/deviceeventcontroller.c:
2928 Replaced standard X error handler with a special handler that
2929 is non-fatal for failed keygrabs. This works around
2930 problems with keygrab clashes sometimes observed on
2932 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
2933 mouse handling code as yet).
2935 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2938 Incremented revision for desktop alpha release.
2941 Fixed a couple of the more glaring errors (still not
2944 2002-01-11 Michael Meeks <michael@ximian.com>
2946 * registryd/deviceeventcontroller.c
2947 (spi_device_event_controller_forward_key_event): kill
2948 XUngrabKey / XKeyGrab race.
2949 (spi_controller_grab_keyboard): rename to
2950 (spi_controller_update_key_grabs): this, and deal
2951 with incremental adding / removing grabs more
2953 (_register_keygrab): ensure we're not pending a remove.
2954 (spi_grab_mask_free): impl.
2955 (spi_controller_register_global_keygrabs): split out
2957 (handle_keygrab): impl.
2958 (_deregister_keygrab): impl.
2959 (spi_controller_deregister_global_keygrabs): impl.
2960 (spi_controller_update_key_grabs): re-issue the grab if
2961 we just recieved a notification.
2963 * test/test-simple.c (key_listener_cb): remove debug.
2965 * registryd/deviceeventcontroller.c
2966 (spi_controller_register_device_listener): after
2967 registering a global keygrab, actualy register it !
2968 don't wait for a timeout; doh !
2970 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
2971 to make it more readable / manipulable.
2972 s/grabmask/grab_mask/ s/refcount/ref_count/
2973 s/keyval/key_val/ s/modmask/mod_mask
2975 2002-01-08 Michael Meeks <michael@ximian.com>
2977 * registryd/deviceeventcontroller.c
2978 (spi_controller_register_with_devices): use gdk calls to
2980 (global_filter_fn): implement the filter.
2981 (spi_device_event_controller_check_key_event): rename to
2982 (spi_device_event_controller_forward_key_event): this & upd.
2983 (spi_get_display): replace with GDK_DISPLAY.
2985 * registryd/deviceeventcontroller.c
2986 (spi_controller_deregister_device_listener): unroll into
2987 (impl_deregister_keystroke_listener): here to simplify.
2988 (spi_controller_register_global_keygrabs): split cut and
2989 paste (!) out into (_register_keygrab): here, shorter & sweeter.
2990 (spi_controller_deregister_device_listener): remove.
2991 (impl_register_mouse_listener): remove, no mouse listener
2992 support in at-spi-1.0
2994 * registryd/registry.c
2995 (_device_event_controller_hook): kill.
2996 (spi_registry_init): upd.
2998 * registryd/deviceeventcontroller.c
2999 (spi_device_event_controller_class_init): upd.
3000 (spi_check_key_event): merge into.
3001 (spi_device_event_controller_check_key_event):
3002 here and kill strange static ev init, don't leak
3003 the x_event - nor dynamicaly allocate it.
3005 * registryd/registry-main.c (main): re-direct
3006 timeout to remove strange vtable mess.
3008 * registryd/deviceeventcontroller.c
3009 (remove_listener_cb): impl.
3010 (spi_controller_deregister_device_listener):
3011 fix re-enterancy hazard.
3013 2002-01-07 Michael Meeks <michael@ximian.com>
3015 * registryd/deviceeventcontroller.c
3016 (spi_device_event_controller_new): upd.
3017 (impl_notify_listeners_sync): upd. debug.
3018 (spi_notify_keylisteners): fix re-enterancy hazards,
3019 prettify, remove O(n*n) iteration.
3020 (spi_controller_grab_keyboard): fix iteration.
3021 (spi_check_key_event): re-format to suit coding style.
3022 Clean all the warnings - we're warning free.
3024 * registryd/deviceeventcontroller.h:
3025 * registryd/registry.h: make mutualy referential with
3026 typesafe forward references instead of (!) void pointer
3029 2002-01-11 Michael Meeks <michael@ximian.com>
3031 * cspi/spi_accessible.c (role_names): add a role name
3032 to sync this array with the enum; and make the regression
3035 2002-01-10 Michael Meeks <michael@ximian.com>
3037 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3038 allow expansion of enumeration & kill warning.
3040 * test/test-simple.c (key_listener_cb): impl.
3041 (test_keylisteners): impl.
3043 * cspi/spi-listener.h: make listener signatures const
3044 on the provided (const) events.
3046 * test/keysynth-demo.c: upd. to const events.
3048 * test/simple-at.c: ditto.
3050 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3053 Rev the version to 0.5 (the previous tarball was named 0.4,
3054 even though the micro number was 3), so we need to rev upwards
3055 again for beta2/"desktop-alpha"
3058 Checked in a demo script, which requires editing before use!
3059 Proceed with caution.
3062 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3064 * cspi/spi_accessible.c:
3065 Add a couple of missing enum initializations, and fix some enum
3068 * cspi/spi_registry.c:
3069 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3071 * docs/reference/cspi/at-spi-cspi-sections.txt:
3072 Remove/fix a couple of broken document references.
3075 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3076 as Alt-Control to listen for commands, since on some systems
3077 Control-Alt may already be grabbed.
3079 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3082 Update version number to 0.4 for Beta2.
3084 * libspi/accessible.c, libspi/accessible.h:
3085 Expose spi_accessible_construct, to enable libgail-gnome
3086 construction from spi_accessible subtype.
3088 * utils/magnifier.c:
3089 Workaround for bug in some non-gnome-compliant window managers
3090 which made magnifier resize improperly.
3092 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3094 * libspi/accessible.c: (spi_accessible_new) :
3095 Move the test for SPI_IS_REMOTE_OBJECT to
3096 spi_accessible_new_return, fixing a bug and compile time warning.
3098 2002-01-08 Michael Meeks <michael@ximian.com>
3100 * registryd/registry.c (parse_event_type): remove strndup.
3102 * libspi/Makefile.am (libspi_la_SOURCES): remove
3103 sources already included in the headers section.
3105 * libspi/util.c: add.
3107 * libspi/spi-private.h: add.
3109 * registryd/registry.c: update to moved list iterators.
3111 2002-01-05 Michael Meeks <michael@ximian.com>
3113 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3115 * test/test-simple.c (main): ditto.
3117 2002-01-04 Michael Meeks <michael@ximian.com>
3119 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3120 redundant construct.
3122 * registryd/registry.c
3123 (get_listener_list): impl.
3124 (impl_accessibility_registry_register_global_event_listener):
3125 re-impl. to simplify using ~, remove dodgy const cast off.
3126 (parse_event_type): constify.
3127 (impl_accessibility_registry_deregister_global_event_listener_all):
3128 re-write, more efficiency and simplicity, kill re-enterancy
3130 (compare_listener_corbaref, compare_corba_objects),
3131 (compare_listener_quarks): define out.
3132 (impl_accessibility_registry_deregister_global_event_listener):
3133 re-write for effiency, and nail re-enterancy hazard.
3134 (impl_accessibility_registry_get_desktop_list): impl.
3135 (re_enterant_list_delete_link): impl.
3136 (re_enterant_list_foreach): impl.
3137 (remove_listener_cb): impl.
3138 (_registry_notify_listeners): kill.
3139 (notify_listeners_cb): impl.
3141 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3142 (SPI_getDesktopList): impl.
3144 * test/test-simple.c (test_desktop): test the methods.
3146 2002-01-03 Michael Meeks <michael@ximian.com>
3148 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3149 keystrings since we free them
3150 (SPI_freeAccessibleKeySet): in here.
3152 * libspi/accessible.c (spi_accessible_new): kill warning,
3153 wonder what is going on with the constructor here.
3155 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3157 * libspi/accessible.c (spi_accessible_new ()) :
3158 Added check to see if AtkObject is an SpiRemoteObject before
3159 creating an SpiAccessible.
3161 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3163 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3164 Enable keygrabs using the Control modifier, now that they are
3165 working properly (they were previously disabled).
3168 Change the command keygrab for this demo to "Control+Alt", so as
3169 to conflict with fewer other key commands on the system; this
3170 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3172 Removed a pointlessly-chatty keylistener for unshifted keys
3173 (shifted keys are still reported).
3175 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3177 * libspi/remoteobject.h:
3178 * libspi/remoteobject.c:
3179 Added definitions for special AtkObject subtype, required for
3180 support of remote components (specifically, used by BonoboControl
3181 accessibility implementation).
3183 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3185 * cspi/spi.h: synched relation types with ATK
3187 * cspi/spi_accessible.c: Added implementations of
3188 AcccessibleRelation_* methods
3190 * idl/Accessibility_Relation.idl: added getRelationTypeName
3191 method. Synched known relation types with ATK. Allowed for
3192 relation type extension with the RELATION_EXTENDED type.
3194 * libspi/relation.c: Provided implementations for
3195 AccessibleRelation methods.
3197 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3199 API tweaks for today's API 'freeze'.
3202 Added placeholder functions to allow future compatible expansion
3203 of the IDL interfaces.
3205 * idl/Accessibility_Registry.idl:
3206 Changed generateKeyEvent to generateKeyboardEvent. Changed
3207 signature of this method to accept an optional keystring in
3208 parameter (for complex text input synthesis) and changed use of
3209 simple 'boolean' parameter in registerKeystrokeListener to a
3210 struct, EventListenerMode.
3212 * cspi/spi_accessible.c:
3214 * cspi/spi_streamablecontent.c:
3215 Added references to AccessibleStreamableContent interface, and
3216 definition and implementation of AccessibleStreamableContent
3219 * cspi/spi_registry.c:
3221 Changed generateKeyEvent API to generateKeyboardEvent,
3222 taking a new (optional) keystring parameter to support complex
3227 Renamed directory (to better reflect its actual purpose, bridging
3228 from at-spi to ATK). The .so module is also now named
3231 * idl/Accessibility_Hypertext.idl:
3232 * libspi/accessible.c:
3233 * libspi/hypertext.h:
3234 * libspi/hypertext.c:
3235 Changed Accessibility_Hypertext to *not* derive from
3238 * cspi/spi_registry.c:
3239 Added list of legal event type names for 'window' events, which
3240 completes the registry event API.
3242 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3244 * at-bridge/bridge.c: Added registration for separate
3245 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3246 signals. If either of the first two parameters to the generic
3247 bridge signal handler are ints, they are passed on as event
3248 details. This allows an AT to determine what text was inserted.
3250 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3252 * registryd/deviceeventcontroller.c:
3253 Fixed regressions in generateKeyEvent caused by the removal of
3254 gdk_init from registryd; we now use pure X calls to connect to the
3255 display, which makes sense because deviceeventcontroller already
3256 uses a fair bit of X API (should eventually be migrated to a
3257 'portability layer').
3259 * registryd/desktop.c:
3260 Fixed minor regression in spi_desktop_init, changed the way the
3261 desktop name is being set to work with new spi_base API
3262 (gobject-based, rather than AtkObject-based).
3264 * registryd/Makefile.am:
3265 Minor revision of makefile to use XTST_LIBS variable rather than
3266 hard-wiring the Xtst LD_ADD element.
3268 * test/keysynth-demo.c:
3269 Tweaked an output message; added initialization of the
3270 'keystrings' member of the "switch listener" key_set.
3272 * libspi/relation.c:
3273 Squashed compile-time warning.
3275 * libspi/accessible.c:
3276 Cosmetic and formatting fixes, renamed a static method.
3278 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3280 * libspi/accessible.c
3282 * libspi/application.c
3285 * libspi/component.c
3286 * libspi/editabletext.c
3287 * libspi/hyperlink.c
3288 * libspi/hypertext.c
3290 * libspi/selection.c
3294 * registryd/desktop.c:
3295 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3297 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3299 * idl/Accessibility_Registry.idl:
3300 Added boolean member 'is_text' to DeviceEvent. This is for the
3301 use of key events, and helps prevent ambiguity between composed
3302 key strings and keysym names, since both may potentially be
3303 returned in the 'event_string' member.
3305 * at-bridge/bridge.c:
3306 * registryd/deviceeventcontroller.c:
3307 Use the 'is_text' member when notifying device event listeners.
3308 Knon issue: composed characters are not dealt with correctly by
3309 the global key listener implementation yet.
3311 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3313 * at-bridge/bridge.c:
3314 Namespaced local static methods to spi_atk_bridge_* where
3315 previously named bridge_*, and spi_* elsewhere.
3317 * at-bridge/bridge.c:
3318 * cspi/bonobo/cspi-bonobo-listener.c:
3319 Added demarshalling/conversion for string member of
3320 Accessibility_DeviceEvent to AccessibleKeystroke.
3322 * registryd/deviceeventcontroller.c:
3323 Added code to fill the Accessibility_DeviceEvent key string value
3324 member for global key events (i.e. from XGrabKey), to match
3325 behavior of Accessibility_DeviceEvent from the toolkit key events
3326 from the bridge. Fixed timestamp in global key event notifications.
3329 Added printout of key event's string value to
3330 report_ordinary_key_event, for demo/debugging purposes.
3332 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3334 * idl/Accessibility_Registry.idl:
3335 Removed Accessibility_KeyStroke structure in favor of generic
3336 Accessibility_DeviceEvent structure.
3337 Changed Accessibility_ControllerEventMask from a struct to an
3340 * at-bridge/bridge.c:
3341 Changed APIs to use DeviceEvent structure as above, and removed
3342 bogus casting between these event structures.
3344 * cspi/spi-listener.h:
3345 Added keystring member of AccessibleKeystroke structure, to enable
3346 matching on event "names" rather than only hardware codes and
3350 Added keystrings member of AccessibleKeySet struct, to allow
3351 matching on event names (as above).
3352 Added declarations for SPI_createAccessibleKeySet and
3353 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3354 event modmasks directly as unsigned ints rather than structs with
3355 refcounts, in the DeviceEventController methods.
3357 * cspi/spi_registry.c:
3358 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3360 * cspi/spi-roletypes.h:
3361 Added documentation of newly added SPI Roles.
3363 * cspi/bonobo/cspi-bonobo-listener.c:
3364 Changes in support of API changes above.
3366 * libspi/accessible.c:
3367 Converted APIs to use DeviceEvent structure (see IDL changes
3370 * registryd/deviceeventcontroller.c:
3371 Added DEControllerGrabMask structure to track keygrabs not only by
3372 modmask but by keyset as well; this allows us to do "global"
3373 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3374 grabbing on AnyKey and then filtering after-the-fact.
3375 Bugfixes for event filtration mean that we don't get false matches
3376 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3378 * registryd/deviceeventcontroller.c:
3379 Namespaced a number of static methods to use spi_ prefix. Major
3380 revision to internals of global (i.e. X) key grabs.
3382 * registryd/deviceeventcontroller.h:
3383 Removed keymask_list and added keygrabs_list to
3384 SpiDeviceEventController struct.
3387 Added use of SPI_createAccessibleKeySet API when creating a
3388 listener for only one key. Attach a listener to "shift spacebar
3389 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3390 X key event names to SPI key event names, so that listeners are
3391 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3393 * test/keysynth-demo.c:
3394 Changed (incorrect) use of X key event names (KeyPressed,
3395 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3398 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3400 * libspi/accessible.c:
3401 Convert all AtkRole enumerations to Accessibility_Role enums when
3402 getting a role from an AtkObject.
3404 * cspi/spi_accessible.c:
3405 Complete the conversion of Accessibility_Role enums at runtime to
3406 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3407 role enums correctly match those given in spi-roletypes.h.
3408 Re-synchronize the local names list for AccessibleRole_getName ().
3409 AccessibleRole_getName is now deprecated, since it duplicates the
3410 more reliable Accessible_getRoleName.
3411 Added some role types from Accessibility_Role.idl.
3413 * idl/Accessibility_Role.idl:
3414 Added some role types used by AtkRole.
3416 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3419 * cspi/spi_registry.c:
3421 * cspi/cspi-bonobo-listener.c:
3422 Namespaced all methods that did not begin with an "SPI_" or
3423 "Accessible" prefix to "SPI_".
3426 Homogenized internal function namespace to "cspi_" for statics.
3429 Patched tests to use the new CSPI API.
3431 * docs/reference/cspi/at-spi-cspi-sections.txt:
3432 Updated docs to reflect namespace changes, and added a number of
3433 methods to the documentation.
3435 * registryd/registry.c:
3436 Changed use of strings and string hashes in listener event
3437 matching and parse_event_string to use GQuark, which is guaranteed
3440 * registryd/registry.h:
3441 Squashed annoying warning.
3443 * idl/Accessibility_Role.idl:
3444 Extended range of available Accessibility_Role values.
3446 * cspi/spi_accessible.c:
3447 Re-ordered role names.
3449 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3451 * idl/Accessibility_Value.idl:
3452 Revert use of union back to CORBA_double, since the double type is
3453 more efficient and can contain the other types without loss of
3456 * idl/Accessibility_Accessible.idl:
3457 Added method Accessibility:Accessible:getRoleName, to complement
3458 Accessibility:Accessible:getRole.
3460 * cspi/spi_accessible.c:
3462 Added C binding for above, Accessible_getRoleName (), and changed
3463 signature of Accessible_getRole () to return an AccessibleRole.
3465 * cspi/spi-roletypes.h:
3466 Changed AccessibleRole_getName to return a char * instead of a
3467 const char *. This method is now at least temporarily deprecated
3468 in favor of asking Accessibles for their RoleNames directly.
3471 Revert to match Accessibility_Value.idl;
3475 Change signature of AccessibleValue methods to use double rather
3479 * cspi/spi_accessible.c:
3480 Changed Accessible_getRole to return an AccessibleRole enum rather
3481 than a UTF-8 string. The UTF-8 string can still be obtained via
3482 AccessibleRole_getName ().
3484 * test/test-simple.c:
3485 Add test_action. Small fixup to match API change to Accessible_getRole.
3488 Bugfix for get_action_from_servant ().
3490 2001-12-11 Michael Meeks <michael@ximian.com>
3492 * libspi/libspi.h: remove registry.h and
3493 desktop.h, deviceeventcontroller.h
3495 * libspi/Makefile.am: remove registry.[ch],
3496 desktop.[ch], deviceeventcontroller.[ch]
3498 * registryd/Makefile.am: add registry.[ch],
3499 desktop.[ch], rename registryd.c to registry-main.c.
3500 add deviceeventcontroller.[ch]
3502 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3505 Replace setenv() call with putenv ().
3507 * libspi/component.c:
3508 Bugfix in AccessibleComponent_getExtents (),
3511 2001-12-11 Michael Meeks <michael@ximian.com>
3513 * libspi/image.c (impl_getImageExtents): impl.
3514 (spi_image_class_init): upd.
3517 (AccessibleImage_getImageDescription): fix daft bug
3520 * test/test-simple.c (global_listener_cb): update
3521 to only quit if not --poke
3522 (main): catch --poke.
3523 (validate_accessible): upd. dumping, call test_image
3526 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3529 * idl/Accessibility.idl: update all IDL includes.
3531 * idl/*.idl - rename to namespace - this sucks, blame
3532 mjs' bad decision for oafd.
3534 * test/test-simple.c (create_test_window): add more tests.
3535 (create_tree): split this out.
3536 (validate_accessible): bugfix.
3538 2001-12-11 Michael Meeks <michael@ximian.com>
3540 * cspi/bonobo/cspi-bonobo-listener.c:
3541 (cspi_kestroke_listener_unref),
3542 (cspi_event_listener_unref): impl. undoing previous
3543 homenous environment - for Bill.
3545 * cspi/spi_table.c (long_seq_to_array): use
3548 * cspi/spi_main.c: split out all bonoboish bits into
3551 * cspi/spi-impl.h: upd. typedefs.
3553 * cspi/spi_registry.c: update to lowlevel API,
3554 return booleans to indicate success in some places.
3556 * cspi/spi_event.c: update to lowlevel API.
3558 * cspi/bonobo/Makefile.am: add.
3560 * cspi/bonobo/cspi-lowlevel.h: add
3562 * cspi/bonobo/cspi-bonobo.c: add
3564 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3566 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3567 (SUBDIRS): add bonobo, link in the libs.
3569 * cspi/spi-util.c: kill this file.
3571 * TODO: merge in my bits.
3573 2001-12-11 Michael Meeks <michael@ximian.com>
3575 * test/test-simple.c (test_value, test_table, main):
3576 remove unused variables causing warnings.
3578 * configure.in: cleanup checks - require gail.
3580 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3583 Changed Value interface to use SValue (scalars) rather than
3584 assuming all values are floats. This allows floats, doubles,
3585 longs, shorts, and unsigned values to be manipulated.
3586 Introduced Accessibility:SValue union.
3589 Updated to use new API above, and to work correctly with GValues
3590 of different types in AtkValue.
3593 Updated to use new API above. cspi's API is as yet unchanged.
3596 Updated the Value revision action item.
3598 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3600 * test/test-simple.c:
3601 Added test_table (GtkTreeView widget in test window to follow).
3602 Un-commented test_value, added GtkRange widget.
3603 Added GtkTreeView widget with GtkListStore. It passes regression
3604 test but leaks one SPI object for some reason.
3607 Fixed bug in impl__set_currentValue.
3609 2001-12-10 Michael Meeks <michael@ximian.com>
3611 * cspi/spi_text.c: audit for exception handling,
3612 tolerating NULL object references safely etc.
3614 * cspi/spi_value.c: ditto.
3616 * cspi/spi_table.c (AccessibleTable_getSummary),
3617 (AccessibleTable_getAccessibleAt),
3618 (AccessibleTable_getRowHeader),
3619 (AccessibleTable_getColumnHeader),
3620 (AccessibleTable_getCaption): fix bugs hidden by
3622 (long_seq_to_array): impl.
3623 (AccessibleTable_getSelectedRows),
3624 (AccessibleTable_getSelectedColumns): use it.
3626 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3629 Added a TODO list (rough and short for now).
3631 * cspi/spi_hyperlink.c:
3632 * cspi/spi_hypertext.c:
3633 Fixed macro name typos, and remove use of obsolete macro in
3634 AccessibleHyperlink_getLink.
3636 * cspi/spi_action.c:
3637 * cspi/spi_accessible.c:
3638 * cspi/spi_application.c:
3639 * cspi/spi_component.c:
3640 * cspi/spi_selection.c:
3643 Documentation fixes (removed return values from ref/unref methods).
3645 2001-12-10 Michael Meeks <michael@ximian.com>
3647 * cspi/spi_action.c: audit for exception handling,
3648 tolerating NULL object references safely etc.
3650 * cspi/spi_accessible.c: ditto.
3652 * cspi/spi_component.c: ditto.
3654 * cspi/spi_editabletext.c: ditto.
3656 * cspi/spi_hyperlink.c: ditto.
3658 * cspi/spi_hypertext.c: ditto.
3660 * cspi/spi_image.c: ditto.
3662 * cspi/spi_selection.c: ditto.
3664 2001-12-10 Michael Meeks <michael@ximian.com>
3666 * configure.in: use cspi/libspi.pc.in instead.
3668 * Makefile.am (pkgconfig_DATA): upd. to match.
3670 * test/simple-at.c (report_focus_event): kill hacks around
3671 bad return values, use putenv not setenv
3673 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3674 fire ChildGone - I killed it.
3676 * libspi/component.c
3677 (impl_accessibility_component_get_extents): remove
3680 * idl/Accessible.idl: kill ChildGone exception.
3682 * cspi/*.[ch]: kill int return from ref / unref.
3684 * cspi/spi_main.c (cspi_object_add_check): fold into
3685 (cspi_object_add): here.
3687 * cspi/spi_component.c (AccessibleComponent_getExtents):
3688 handle exceptions elegantly.
3690 * cspi/spi-private.h (cspi_check_ev_return),
3691 (cspi_return_if_fail): impl.
3693 * cspi/spi_accessible.c: use extensively.
3694 (AccessibleStateSet_equals): add direct compare check.
3696 * cspi/spi_selection.c: tolerate NULL objs, and check
3697 exceptions before return.
3699 * cspi/spi-util.c (cspi_warn_ev): rename to
3700 (cspi_check_ev): this & don't pass ev in; no point.
3702 2001-12-10 Michael Meeks <michael@ximian.com>
3704 * test/test-simple.c: use putenv not setenv
3705 (get_environment_vars): more chatty if you're not using
3708 * test/simple-at.c: do the setenv so more people see the
3711 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3713 * libspi/registry.c:
3714 Changed check of CORBA_environment on notification to be a warning
3715 instead of an error for the moment, since we can recover from this
3716 error when caused by a queued notification from a dead app.
3719 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3720 used by all current implementors of AtkValue), and coerce to
3721 CORBA_float. (Proper general case fix may require change to Value.idl).
3723 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3727 * cspi/spi_accessible.c:
3728 Documentation fixes: added user_data params to documentation for
3729 listeners and callbacks.
3731 * cspi/spi_accessible.c:
3732 Changed AccessibleStateSet_compare to return a
3733 StateSet rather than return the difference set into a third parameter.
3736 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3739 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3740 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3744 Remove subdirectory po from SUBDIRS for now.
3746 * at-bridge/bridge.c:
3747 Beefed up a couple of debug printouts.
3748 One-line fix for signal notification name formatting.
3750 * libspi/accessible.c:
3751 Added assertion to spi_accessible_new ().
3753 * libspi/application.c:
3754 Put #ifdef qualifiers around a printf.
3757 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3759 * registryd/Makefile.am:
3761 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3762 INTLTOOL_SERVER_RULE macro.
3765 Added an event listener for several ATK signals, for
3766 testing and debugging. Removed a few g_warnings.
3767 Added test output if focussed item implements the Value interface.
3769 * test/test-simple.c:
3770 Added test_value () function (known not to pass at the moment, so
3771 not actually called yet.
3773 2001-12-08 Michael Meeks <michael@ximian.com>
3775 * at-bridge/bridge.c (bridge_focus_tracker),
3776 (emit_eventv): fix the same ref. leak.
3777 (register_atk_event_listeners): don't leak.
3779 * cspi/spi-listener-impl.c (cspi_event): more
3780 protection from client code.
3782 * test/test-simple.c (test_desktop): unref the app.
3784 * test/Makefile.am: upd. TESTS.
3786 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3788 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3790 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3792 * cspi/spi_registry.c: constify in strings.
3793 (deregisterGlobalEventListenerAll): don't release the ref.
3795 * cspi/spi.h: start removing redundant / conflicting
3796 gtkdoc comments, making the API readable at a glance :-)
3798 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3800 * test/keysynth-demo.c (keysynth_exit, main): upd.
3802 * test/simple-at.c (main, simple_at_exit): upd.
3804 * test/test-simple.c (unutterable_horror): kill.
3805 (utterable_normal_derefs): kill.
3806 (main): upd & do a setenv before gtk_init, so that we
3807 can use memprof - and to save the pain of remembering
3808 this, if we're running under memprof - don't exit.
3810 * cspi/spi_main.c (SPI_exit): return exit status
3812 (SPI_event_quit): impl.
3813 (SPI_event_main): simplify.
3814 (cspi_is_gnome_app): kill.
3815 (SPI_init): kill isGNOMEapp arg.
3817 * at-bridge/bridge.c (register_atk_event_listeners):
3818 re-instate the unref.
3819 (bridge_exit_func): don't re-activate the registry,
3820 protect vs. theoretical re-entry, use the
3821 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3822 assert a clean shutdown - for regression tests.
3824 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3826 * configure.in: Comment out dummy i18n support for now,
3827 otherwise it fails to build.
3828 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3829 EXTRA_DIST. They are missing in tarball.
3831 2001-12-07 Michael Meeks <michael@ximian.com>
3833 * util/magnifier.c: kill bonobo activation reg. race.
3835 * libspi/component.c
3836 (impl_accessibility_component_get_extents): make it match
3839 * libspi/registry.c (_registry_notify_listeners):
3840 re-remove X headers & reconcile conflicts.
3841 (spi_listener_struct_free): bad conflict resolve.
3842 (impl_accessibility_registry_register_application):
3843 more bad merging fixed.
3844 (impl_accessibility_registry_deregister_application): ditto.
3845 (spi_registry_new): ditto.
3846 (spi_registry_init): don't have an applications field.
3848 [ merge fixups2 branch to here ]
3849 2001-12-07 Michael Meeks <michael@ximian.com>
3851 * test/simple-at.c (report_focus_event),
3852 (report_focussed_accessible): remove g_warning debug.
3854 2001-12-07 Michael Meeks <michael@ximian.com>
3856 * test/test-simple.c (validate_tree): comment out some checks.
3857 (test_desktop): app now not registered idly - horay.
3859 2001-12-07 Michael Meeks <michael@ximian.com>
3861 * cspi/spi_registry.c
3862 (registerAccessibleKeystrokeListener): clean, stop it leaking
3863 great swathes of memory, and device event controller references.
3864 ensure we always pass valid sequences.
3865 (deregisterAccessibleKeystrokeListener): ditto.
3866 (generateKeyEvent): upd.
3868 * at-bridge/bridge.c (bridge_key_listener): handle
3869 registry dead exception gracefully.
3870 (bridge_focus_tracker, emit_eventv): free ev.
3872 * test/simple-at.c (report_focus_event): fix polarity.
3874 * libspi/application.c (notify_listeners): kill the ev
3875 argument, and make sure we init the ev we use.
3876 (spi_application_object_event_listener): split out a chunk
3877 (get_atk_object_ref): here & fixup.
3878 (reverse_lookup_name_for_toolkit_event): make const.
3879 (spi_application_toolkit_event_listener): fixup, kill leaks
3882 * at-bridge/bridge.c (register_atk_event_listeners):
3883 don't unref the noop object - causes grief.
3885 * libspi/registry.c: remove the X headers.
3886 turn off the debug churn.
3888 * libspi/accessible.c (spi_accessible_new_return): only
3889 release the ref if we are supposed to [doh]
3891 * test/simple-at.c (report_button_press, report_focus_event):
3892 guard vs. unexpected exit.
3894 * at-bridge/bridge.c (gtk_module_init): prune printf.
3895 (bridge_exit_func): fix app unref.
3897 * libspi/Makefile.am: don't install registry or desktop.h
3899 * libspi/*.h: update includes.
3901 * libspi/application.h: don't include ourself, or
3902 other redundant headers.
3904 2001-12-06 Michael Meeks <michael@ximian.com>
3906 * libspi/accessible.c
3907 (get_accessible_from_servant): impl.
3908 Upd. all CORBA impl.s to use it killing cut and paste.
3910 * cspi/spi_main.c (cspi_cleanup): guard vs. double
3912 (SPI_init): register atexit cleanup handler here.
3914 2001-12-06 Michael Meeks <michael@ximian.com>
3916 * at-bridge/bridge.c (gtk_module_init): g_error on
3917 activation exception
3919 2001-12-06 Michael Meeks <michael@ximian.com>
3921 * at-bridge/bridge.c (gtk_module_init): some sort of
3922 confusing merge clash - reverted.
3923 (bridge_idle_init): ditto.
3925 * test/test-simple.c (main, utterable_normal_derefs):
3926 merge from Bill - somehow not committed.
3928 2001-12-06 Michael Meeks <michael@ximian.com>
3930 * libspi/value.c (spi_value_class_init): upd.
3931 (spi_value_finalize): kill.
3933 * libspi/table.c (spi_table_finalize): kill.
3934 (spi_table_interface_new): upd.
3935 (spi_table_class_init): upd.
3936 (get_table_from_servant): impl.
3937 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3939 * libspi/selection.c (spi_selection_finalize): kill.
3940 (spi_selection_interface_new): upd.
3941 (spi_selection_class_init): upd.
3942 (get_selection_from_servant): impl.
3943 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3945 * libspi/relation.c (spi_relation_finalize): kill.
3946 (spi_relation_class_init, spi_relation_new): upd
3948 * libspi/image.c (spi_image_finalize): kill.
3949 (spi_image_class_init): upd.
3950 (spi_image_interface_new): upd.
3951 (get_image_from_servant): impl.
3952 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3954 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
3955 (spi_hyperlink_finalize): kill.
3956 (spi_hyperlink_new): upd.
3957 (get_hyperlink_from_servant): impl.
3958 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3960 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
3961 (spi_hypertext_finalize): kill.
3962 (spi_hypertext_class_init): upd.
3963 (get_hypertext_from_servant): impl.
3964 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3966 * libspi/editabletext.c (spi_editable_text_finalize): kill.
3967 (spi_editable_text_interface_new): upd.
3968 (get_editable_text_from_servant): impl.
3969 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3971 * libspi/text.c (get_text_from_servant): impl.
3972 All impls - update to use it killing more cut and paste,
3973 also fix bad string returns on duff args ( a somewhat
3974 impossible case to handle - but hey ).
3975 (spi_text_construct): impl.
3976 (spi_text_interface_new): upd.
3977 (spi_text_object_finalize): kill.
3979 * libspi/component.c
3980 (accessibility_component_object_finalize): kill.
3981 (spi_component_class_init): upd.
3982 (get_component_from_servant): impl. helper to kill cut & paste.
3983 (impl_accessibility_component_contains):
3984 (impl_accessibility_component_get_accessible_at_point):
3985 (impl_accessibility_component_get_position):
3986 (impl_accessibility_component_get_extents):
3987 (impl_accessibility_component_get_mdi_z_order):
3988 (impl_accessibility_component_get_layer):
3989 (spi_component_interface_new): upd.
3991 * libspi/action.c (spi_action_finalize): kill.
3992 (spi_action_class_init): upd. inherit from SpiObject.
3993 (spi_action_interface_new): upd.
3994 (get_action_from_servant): impl. helper to reduce cut & paste.
3995 (impl_getKeyBinding, impl_getName, impl_doAction),
3996 (impl_getDescription): Use it everywhere.
3998 * cspi/spi_main.c (get_live_refs): a pointer hash.
3999 (spi_object_hash, spi_object_equal): comment out.
4000 There are issues with CORBA object hashing that need
4003 * libspi/application.c (spi_application_init),
4004 (spi_application_new): upd.
4006 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4007 (spi_accessible_class_init): upd.
4008 s/accessible/object/ in epv methods.
4010 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4012 * at-bridge/bridge.c:
4013 Reorder the bridge initialization into the bridge gtk_module_init,
4014 an immediate call to bridge_register_app, and an idle_add for
4015 register_atk_event_listeners (the only code that *must* wait until
4016 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4017 the activation, creates the application's Accessible object, and
4018 queues the bridge_idle_init function. Restored call to
4019 Accessibility_Registry_deregisterApplication().
4020 Prior to making this call we obtain a new reference to the
4021 registry, which is a temporary hack that helps us handle apps that
4022 shut down the bonobo mainloop before we get there.
4024 * libspi/registry.c:
4025 Fix string leakage in debug block, and don't segv if a an app
4026 dies before its event notifications have been propagated.
4029 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4030 as stopgap measure until we get proper exception handling when
4031 objects die during or before interrogation.
4035 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4036 Also changed default value of is_gnome_app to TRUE.
4039 * test/keysynth-demo.c:
4040 Changed use of SPI_init and SPI_event_main to reflect API change above.
4043 Made report_focus_event check the warning value from getName
4044 before reporting on focussed accessible; simplifies handling of
4045 notifications from dead objects.
4047 * test/test-simple.c: (Changes not in this patch since source is
4050 2001-12-05 Michael Meeks <michael@ximian.com>
4052 * registryd/registryd.c (main): protect against
4053 bonobo-activation startup race condition.
4055 * cspi/spi_main.c (cspi_object_add_check): cope
4056 with the exception elegantly.
4058 * idl/Accessible.idl: decl. ChildGone
4060 * libspi/desktop.c (spi_desktop_dispose): impl.
4061 (spi_desktop_class_init): upd.
4062 (spi_desktop_add_application),
4063 (spi_desktop_remove_application),
4064 (abnormal_application_termination): impl.
4065 (impl_desktop_get_child_at_index): re-impl.
4068 (impl_accessibility_registry_deregister_application),
4069 (impl_accessibility_registry_register_application):
4070 kill excessive debug clutter.
4072 * test/test-simple.c (test_misc): test some NULL
4073 tolerance. (main): upd.
4075 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4076 implements no interfaces - so let's not crash.
4078 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4080 * libspi/accessible.c (spi_accessible_new_return): impl.
4081 helper to calm the cut and paste, to cope with
4082 NULL AtkObjects effectively and efficiently, and to kill
4083 the referencing bugs.
4085 * libspi/table.c (impl_getAccessibleAt),
4086 (impl_getRowHeader, impl_getColumnHeader): upd.
4088 * libspi/hyperlink.c (impl_getObject): upd.
4090 * libspi/accessible.c
4091 (impl_accessibility_accessible_get_child_at_index): upd.
4093 * libspi/component.c
4094 (impl_accessibility_component_get_accessible_at_point): upd.
4096 * test/test-simple.c (test_editable_text, test_text): impl.
4099 * cspi/spi_editabletext.c
4100 (AccessibleEditableText_insertText): constify.
4102 * test/test-simple.c (focus_me): make more robust.
4104 * libspi/accessible.c: remove some printfs in methods that
4105 we test and work fine, so we can get a clean tree dump.
4107 * test/test-simple.c (validate_accessible),
4108 (validate_tree): make tree dumping pretty too.
4110 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4111 it builds without debug on.
4113 * test/test-simple.c (validate_accessible): fix the most
4116 * cspi/spi_main.c (spi_object_release): leave the nicely
4117 blanked memory around if in debug mode.
4119 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4121 [committed to fixups2]
4122 2001-12-05 Michael Meeks <michael@ximian.com>
4124 * libspi/editabletext.c
4125 (spi_editable_text_class_init): g_type_class_peek_parent,
4126 not interface peek - so we finalize cleanly.
4128 * libspi/accessible.c (spi_accessible_new): kill debug.
4130 * test/test-simple.c (validate_accessible): fix ref.
4131 leak, print strings before freeing them; sigh, comment a
4132 chunk out due to strangeness.
4133 (validate_tree): unref the child after use.
4135 * cspi/spi_component.c (AccessibleComponent_getLayer):
4136 add missing break statement, switch on zlayer not the
4137 uninitialized retval.
4139 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4140 before (possibly re-entering) remote unref.
4142 * test/simple-at.c (main): unref the desktop.
4144 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4147 * cspi/spi_main.c (cspi_accessible_is_a): here to
4148 isolate bonobo API usage more.
4150 * libspi/registry.c (impl_accessibility_registry_register_application):
4151 prune bogus comment.
4153 2001-12-04 Michael Meeks <michael@ximian.com>
4155 * test/test-simple.c (validate_tree): upd.
4156 IndexInParent check to make it more lucid.
4157 (validate_accessible): dump the tree.
4159 * libspi/accessible.c (de_register_public_ref),
4160 (get_public_refs): impl.
4161 (spi_accessible_new): make more efficient & intuitive.
4162 Now IndexInParent check works.
4164 2001-12-04 Michael Meeks <michael@ximian.com>
4166 * cspi/spi-util.h: remove.
4168 * cspi/spi.h: move SPI_freeString here
4170 * libspi/component.c (impl_accessibility_component_get_layer):
4172 (impl_accessibility_component_get_mdi_z_order): ditto,
4173 return -1 on error - is this ok ?
4175 * test/test-simple.c (test_application): impl.
4177 * cspi/spi_accessible.c (Accessible_getApplication),
4178 (Accessible_isApplication): impl.
4180 * libspi/registry.c (spi_listener_struct_free): release
4181 the CORBA reference too.
4183 * libspi/accessible.c
4184 (impl_accessibility_accessible_get_parent): fix ref leak.
4186 * libspi/registry.c (spi_registry_new): make the registry
4187 immortal - we don't want it to go away ever.
4189 * libspi/application.c
4190 (spi_accessible_application_finalize): impl. cleanup.
4192 * cspi/spi_registry.c
4193 (deregisterGlobalEventListenerAll),
4194 (deregisterGlobalEventListener),
4195 (deregisterAccessibleKeystrokeListener): fix ref leak.
4197 * cspi/spi_main.c (SPI_init): remove redundant ref.
4199 * test/test-simple.c (unutterable_horror): impl. to force a
4204 (impl_accessibility_registry_deregister_application): release
4205 the application when we de-register it.
4207 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4208 until we have the infastructure to get it right.
4210 2001-12-03 Michael Meeks <michael@ximian.com>
4212 * libspi/Makefile.am: only build eventlistener.[ch]
4214 * libspi/accessible.c
4215 (impl_accessibility_accessible_get_child_at_index): don't leak.
4217 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4218 before we hit the idle handler.
4220 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4221 debugging than exit.
4223 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4225 * libspi/listener.c (impl_notify_event): check source
4226 not NIL before unref.
4228 * libspi/registry.c (impl_registry_notify_event): ditto.
4230 * libspi/eventlistener.c
4231 (impl_accessible_event_notify_event): unref the source.
4233 * libspi/accessibleeventlistener.c
4234 (impl_accessible_event_notify_event): unref the source.
4236 * idl/Event.idl: remove 'hash_id' attribute - of no
4239 * libspi/application.c (notify_listeners): upd list
4241 (spi_application_object_event_listener),
4242 (spi_application_toolkit_event_listener): upd to do correct
4246 (_registry_notify_listeners): update.
4247 (parse_event_type): this method also leaks like a sieve.
4248 (impl_accessibility_registry_deregister_global_event_listener):
4249 fix ETYPE_WINDOW case.
4251 * libspi/application.c
4252 (impl_accessibility_application_register_object_event_listener):
4255 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4257 * libspi/hypertext.c (impl_getLink): ditto.
4259 * cspi/spi_main.c (cspi_object_add): remove
4260 bogus CORBA_Object_duplicate.
4262 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4265 * cspi/spi_accessible.c
4266 (Accessible_getRelationSet): fix leak / referencing issue.
4268 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4269 (cspi_object_add, cspi_object_unref): upd.
4270 (spi_object_release, get_live_refs): impl.
4271 (cspi_cleanup): simplify.
4273 * *.[ch]: s/boolean/SpiBoolean/
4275 * cspi/spi_accessible.c (role_names): actualy order so it
4276 corresponds with the enum !
4278 * test/test-simple.c (test_roles): check some role strings
4279 vs. enums to detect offset errors.
4281 2001-12-01 Michael Meeks <michael@ximian.com>
4283 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4285 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4287 (Accessible_getChildAtIndex): use cspi_add_check so we
4288 check the ev before using a (possibly) invalid value.
4290 * libspi/accessible.c
4291 (impl_accessibility_accessible_get_parent): don't segv
4294 * at-bridge/bridge.c (gtk_module_init): upd.
4295 (bridge_property_event_listener): don't leak strings
4297 (bridge_state_event_listener),
4298 (bridge_property_event_listener): don't use a static
4299 buffer in case of recursive event emission &
4300 re-enterancy - split out the swathe of cut and paste
4302 (emit_eventv): and fix 2 ref leaks here & comply to the
4304 (bridge_register_app): rename to
4305 (bridge_idle_init): this and kill arg parsing, split
4306 various inits & bonobo-activation registration to module
4307 init time, kill referencing error.
4308 (bridge_exit_func): fix the same leak.
4309 (bridge_focus_tracker): don't leak event structures
4311 (bridge_signal_listener): more leakage and cut & paste
4313 (bridge_key_listener): return the result - FIXME is
4314 this polarity correct ?
4315 (accessibility_keystroke_from_atk_key_event): rename
4316 (accessibility_init_keystroke_from_atk_key_event): and stop
4318 (gtk_module_init): return a value - not that it is checked by
4320 (bridge_key_listener): register my horror at casting between
4321 IDL defined structs.
4322 (bridge_get_registry): kill - not used.
4324 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4326 * test/test-simple.c (test_roles): impl.
4327 (test_desktop, validate_accessible, validate_tree): impl.
4329 * cspi/spi_accessible.c (role_names): fixup bogus
4330 MAX_ROLES setup, make constants const for efficient linkage
4331 (AccessibleRole_getName): conform to coding style, make
4334 2001-11-30 Michael Meeks <michael@ximian.com>
4336 * cspi/spi.h: add missing prototype.
4338 * libspi/registry.c (spi_listener_struct_new): fix sig.
4340 * test/Makefile.am: add test-simple
4342 * test/test-simple.c: add
4344 * test/test.sh: add.
4346 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4348 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4349 do it straight - since otherwise we often get an activation race.
4351 [ work before Bill duplicated a chunk of it ... ]
4352 2001-11-30 Michael Meeks <michael@ximian.com>
4354 * libspi/keystrokelistener.c
4355 (spi_keystroke_listener_class_init): fixup arg
4358 * libspi/eventlistener.c
4359 (spi_event_listener_class_init): ditto.
4361 * tests/test.sh: add.
4363 * cspi/spi-listener-impl.h: update macros.
4365 * cspi/spi-listener-impl.c
4366 (cspi_event_listener_remove_callback): add
4367 correct pre-conditions.
4369 * cspi/spi_main.c (SPI_exit): guard vs. double
4370 exits, exit the mainloop nicely.
4371 (SPI_event_main): make more sense.
4372 (SPI_init): move the atexit evilness here so we
4373 always do it (yuck).
4374 (SPI_event_main): upd.
4376 * test/simple-at.c: update for listener changes.
4378 * registryd/registryd.c (main): prune kruft.
4380 * libspi/libspi.h: upd.
4382 * libspi/eventlistener.[ch]: rename broken macros.
4384 * libspi/accessibleeventlistener.[ch]: remove.
4386 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4388 * test/test-simple.c: Add - automated tests.
4390 * cspi/spi-listener-impl.c (cspi_event),
4391 (cspi_key_event): add user_data to invoke.
4392 (cspi_keystroke_listener_finalize): impl.
4393 (cspi_keystroke_listener_class_init): upd.
4396 (createAccessibleEventListener),
4397 (AccessibleEventListener_addCallback),
4398 (createAccessibleKeystrokeListener),
4399 (AccessibleKeystrokeListener_addCallback): upd.
4401 * libspi/deviceeventcontroller.c
4402 (spi_device_event_controller_check_key_event): add public proto.
4405 (impl_accessibility_registry_deregister_global_event_listener):
4406 always init listeners.
4407 (_registry_notify_listeners): yes it is.
4409 * cspi/spi-listener-impl.c (cspi_key_event):
4411 (cspi_event_listener_finalize): impl.
4412 (cspi_event_listener_class_init): hook up.
4413 (event_handler_new, event_handler_free),
4414 (event_list_remove_by_callback): impl.
4415 (cspi_event_listener_remove_callback),
4416 (cspi_keystroke_listener_remove_callback),
4417 (cspi_keystroke_listener_add_callback),
4418 (cspi_event_listener_add_callback): upd.
4420 * libspi/keystrokelistener.c
4421 (keystroke_listener_object_finalize): kill
4422 (spi_keystroke_listener_class_init): upd.
4423 (spi_keystroke_listener_add_callback),
4424 (spi_keystroke_listener_remove_callback): kill,
4426 (impl_key_event): prune drasticaly.
4428 * libspi/eventlistener.c
4429 (spi_event_listener_add_callback),
4430 (spi_event_listener_remove_callback): kill, use
4432 (impl_accessible_event_notify_event): upd.
4433 (spi_event_listener_object_finalize): remove.
4435 * libspi/Makefile.am: use eventlistener.[ch]
4437 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4439 * libspi/registry.c (_registry_notify_listeners):
4440 Changed listener loop iteration to use preferred convention.
4441 Got rid of string memory leaks caused be calling g_strconcat
4442 inside function calls.
4444 * libspi/registry.c (parse_event_type):
4445 Stopped g_strconcat memory leaks, free the g_strsplit return,
4446 g_strdup the split pieces when used, etc.
4448 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4451 Change method 'compare' to return a 'difference set' rather than
4452 taking a StateSet as an out parameter (more Java-friendly).
4454 * idl/Accessible.idl:
4455 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4457 * idl/Component.idl:
4459 Changed methods 'getExtents' and 'getImageExtents' in these
4460 interfaces to return a BoundingBox structure.
4461 (getPosition and getSize are redundant and possibly should be
4462 removed, rather than creating a corresponding Point struct.)
4464 * cspi/spi_component.c:
4465 Modify implementation of getExtents to reflect the above IDL
4470 Add (missing) AccessibleImage_getExtents () API.
4472 * docs/reference/cspi/at-spi-cspi-sections.txt:
4473 Added AccessibleImage_getImageExtents () to docs.
4475 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4477 * idl/Component.idl:
4478 Added two methods, getLayer () and getMDIZOrder (), to reflect
4479 the new ATK methods atk_object_get_layer and
4480 atk_object_get_mdi_z_order. (Which arguably should be part of the
4481 AtkComponent API and AtkObject). Also added an enum,
4482 ComponentLayer, for the first method's return value.
4484 * libspi/component.c:
4485 Added implementations for these methods.
4487 * cspi/spi_component.c:
4489 Added cspi binding methods for above,
4490 AccessibleComponent_getLayer() and
4491 AccessibleComponent_getMDIZOrder().
4492 Added cspi enum 'AccessibleComponentLayer'.
4494 * docs/reference/cspi/at-spi-cspi-sections.txt:
4495 Added above methods to docs.
4499 Changed typedef for 'boolean' type (and all references to it) to
4500 SPIBoolean, to avoid keyword clashes with C++.
4503 Changed usages of 'boolean' to SPIBoolean.
4505 * test/keysynth-demo.c:
4506 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4507 app), except where SPIBoolean is required by the callbacks API.
4509 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4511 * cspi/spi_registry.c:
4512 Removed obsolete X event loop for passive keygrabs (which now
4515 * registryd/registryd.c:
4516 Removed unnecessary call to gdk_init() [cruft]. This also allows
4517 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4520 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4522 * docs/reference/cspi:
4523 Included docs for SPI_freeString in generated documentation.
4526 Renamed spi_freeString to SPI_freeString, for consistency. Added
4527 documentation for this function.
4530 Renamed spi_freeString to SPI_freeString, for consistency.
4531 Removed obsolete method declaration string_from_corba_string.
4533 * test/keysynth-demo.c:
4534 Small tweak to comments.
4537 Stopped leaking the strings returned from CSPI.
4539 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4541 Merged Michael's branch (see his ChangeLog entries below).
4543 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4544 bridge is alive, release on exit.
4546 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4547 Fix type check macro.
4550 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4553 Added is_gnome_app static, and method cspi_is_gnome_app(),
4554 so we can call the appropriate shutdown routine at exit in SPI_exit.
4556 * cspi/spi_main.c (cspi_object_ref):
4557 Duplicate the corba object passed in, since we're keeping it around.
4559 * cspi/SPI_exit.c, cspi_cleanup:
4560 Moved the releasing of the live refs to its own function, so we
4561 can put it in g_atexit (). Call the appropriate shutdown API
4562 depending on whethe calling client is a gnome app or not
4563 (bonobo_main_quit or CORBA_ORB_shutdown).
4565 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4566 Unref the listener when this method is called, after
4567 deregistration. Updated the API docs to note this behavior.
4569 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4570 Bugfixes: Ref the bonobo object when returning a parent or child
4571 reference, or an AccessibleRelation. Generally made sure
4572 BonoboObject refcount is incremented whenever we return an
4575 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4576 Fixed typo/bug in signal declaration.
4578 * libspi/accessibleeventlistener.h:
4581 * libspi/application.c (spi_application_new):
4582 Fixed leak in initialization.
4585 Remembered to increment bonobo-object refcount when returning
4586 children (applications) from desktop object.
4587 Added (empty) finalize method.
4589 * libspi/deviceeventcontroller.c:
4590 Hold a ref to listeners inside DEControllerKeyListeners.
4591 Added dec_key_listener_free() method. Use prepend instead of
4592 append in key_listener list. Fixed some refcount madness and
4593 leaks in the listener registration/deregistration - deregistration
4594 now calls dec_key_listener_free() on listeners, and on the
4595 temporarily constructed dec_key_listener() used to perform the search/match.
4597 * libspi/hypertext.c (spi_hypertest_finalize):
4598 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4599 class. Also fixed spi_hypertext_interface_new() and
4600 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4602 * libspi/hypertext.h:
4603 Removed pointless and duplicate AtkObject pointer from
4606 * libspi/keystrokelistener.c:
4607 Fixed incorrect type of keystroke_listener_parent_class,
4608 renamed keystroke_listener_object_finalize to
4609 spi_keystroke_listener_object_finalize.
4610 Fixed typo in signal declaration
4611 (spi_keystroke_listener_class_init).
4613 * libspi/registry.c:
4614 Added funcsions spi_listener_struct_new() and
4615 spi_listener_struct_free() to help with memory management issues.
4616 We also now use these methods instead of gnew + poking stuff into
4617 the struct, and to decrement listener counts/free the listeners
4618 when deregistering them.
4619 Fix more refcount bugs in getDesktop() and
4620 getDeviceEventController().
4623 De-ref the desktop after enumerating the applications. Explicitly
4624 decrement the refcounts on the created listeners on exit (using
4625 _unref for keystroke listeners, and via the
4626 deregisterGlobalEventListenerAll command for other event
4629 2001-11-27 Michael Meeks <michael@ximian.com>
4631 * cspi/spi-listener.h: fixup enum.
4633 2001-11-27 Michael Meeks <michael@ximian.com>
4635 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4636 (cspi_keystroke_listener_new): Use the cspi variants.
4638 2001-11-26 Michael Meeks <michael@ximian.com>
4640 * test/keysynth-demo.c: fix 2 compile warnings, missing
4643 * test/simple-at.c (report_focussed_accessible),
4644 (report_focus_event, report_button_press),
4645 (check_property_change, is_command_key),
4646 (report_ordinary_key_event, report_command_key_event): upd.
4648 * util/mag_client.h: include pre-requisites.
4650 * libspi/accessibleeventlistener.c
4651 (spi_event_listener_object_finalize): free any lingering
4654 * libspi/keystrokelistener.c
4655 (keystroke_listener_object_finalize): ditto.
4657 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4658 callbacks, with cspi types.
4660 * cspi/spi_event.c (createAccessibleEventListener): chain to
4661 (AccessibleEventListener_addCallback): here.
4662 (createAccessibleKeystrokeListener): chain to
4663 (AccessibleKeystrokeListener_addCallback): here.
4665 * libspi/keystrokelistener.c
4666 (spi_keystroke_listener_class_init): add signal.
4667 (impl_key_event): emit the event.
4668 (boolean_handled_accumulator): impl.
4669 (marshal_BOOLEAN__POINTER): add, gack.
4671 * libspi/accessibleeventlistener.c
4672 (spi_event_listener_class_init): add signal.
4673 (impl_accessible_event_notify_event): emit the signal &
4674 make the loop efficient.
4675 (spi_event_listener_add_callback): prepend the callback.
4677 * libspi/accessibleeventlistener.h: add an 'event' signal,
4678 decl type on callback.
4680 * libspi/keystrokelistener.h: ditto.
4682 * cspi/spi-listener.h: make methods typesafe and
4683 make them use the new event typedefs.
4685 * test/simple-at.c (report_focussed_accessible):
4686 include mag_client.h
4687 Use *(void *)text_interface not the other thing.
4689 * configure.in: add gtk to registryd bits - since we use
4692 * util/magnifier.c: include libbonobo.h
4694 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4696 * test/keysynth-demo.c:
4697 Turned this into a simple scanning keyboard, to demonstrate the
4698 use of g_timeout_add () as a means of creating timers for
4699 scanning, and the use of GtkStyle for visually indicating when
4700 virtual keyboard elements are selected.
4702 keysynth-demo now listens to any keyboard keys with zero-valued
4703 keycodes (i.e. 'unused' keys) and interprets them as
4706 Reworked the shiftlatch code so that shift-down state isn't held
4707 for long periods (it's only synthesized immediately prior to
4708 the keysynth event it's modifying). Note that shiftlatch in this
4709 demo is a convenience, not intended to take the place of AccessX
4710 which is the better choice for getting 'sticky' modifier keys.
4712 * libspi/deviceeventcontroller.c:
4713 * at-bridge/bridge.c:
4714 * cspi/spi_registry.c:
4715 Removed some debug print stuff, and put other verbosity in #ifdef
4720 Implemented some more of the magnifier IDL for the simple
4721 magnifier: namely, getZoomRegionParams.
4722 Added mag_x and mag_y members to MagnifierData struct, aid of this
4724 Added GtkWindow::realize signal handler to magnifier, to keep it
4725 from receiving keyboard focus from the WM.
4727 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4729 * cspi/spi-private.h: my guess at what michael forgot
4730 before he ran off to NZ :-)
4732 2001-11-23 Michael Meeks <michael@ximian.com>
4734 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4735 comment out non existant method invoke so we link.
4737 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4738 use bonobo_exception_get_text for more friendly warnings.
4740 * cspi/spi.c (Obj_Add): move into spi_main & rename
4741 spi_object_add; kill spi.c
4743 * cspi/spi_registry.c
4744 (deregisterGlobalEventListener),
4745 (deregisterGlobalEventListenerAll),
4746 (registerGlobalEventListener): fix exception leaks.
4748 * cspi/spi_main.c (spi_exception): impl. helper, so we
4749 don't leak exceptions.
4751 * cspi/spi_selection.c
4752 (AccessibleSelection_deselectSelectedChild): return the
4755 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4756 (spi_registry): ditto.
4757 (SPI_init): guard against double inits.
4759 * cspi/*.c: use spi_ev (), and spi_registry () where
4760 appropriate - a temporary hack until we have something
4761 better. Use spi_object_add
4763 2001-11-22 Michael Meeks <michael@ximian.com>
4765 * cspi/Makefile.am: re organise, install the headers.
4767 * cspi/*.h: add G_BEGIN/END_DECLS
4769 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4772 Added non-preemptive keylistener for key events with no modifiers
4773 and shift-only modifier.
4775 * libspi/keystrokelistener.c:
4776 Removed some verbose diagnostics printout.
4778 * cspi/spi_registry.c:
4779 Fixed a bug that caused all key listeners to be registered as
4782 * libspi/deviceeventcontroller.c:
4783 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4784 for non-preemptive key masks.
4787 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4789 * docs/reference/idl/at-spi-idl-docs.sgml:
4790 * docs/reference/idl/at-spi-idl-sections.txt:
4791 * docs/reference/idl/at-spi-idl-overrides.txt:
4792 Added missing files.
4794 * docs/reference/Makefile.am:
4795 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4796 to scan the IDL files :-(
4801 Added .cvsignore files.
4803 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4805 * libspi/deviceeventcontroller.c:
4806 * libspi/keystrokelistener.c:
4808 * cspi/spi_registry.c:
4809 Added filters for KeySets, KeyEventSeq, and event types to key
4810 event dispatching, so listeners should only receive those events
4811 that they requested :-)
4813 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4818 * docs/reference:Makefile.am:
4819 * docs/reference/cspi:
4820 * docs/reference/cspi:Makefile.am:
4821 * docs/reference/cspi:tmpl:
4822 * docs/reference/cspi:tmpl:*.sgml:
4823 * docs/reference/idl:
4824 * docs/reference/idl:Makefile.am:
4825 * docs/reference/idl:at-spi-idl-sections.txt:
4826 * docs/reference/idl:at-spi-idl-docs.sgml:
4827 * docs/reference/idl:tmpl:
4828 * docs/reference/idl:tmpl:*.sgml:
4830 Restructured docs directory to allow separate 'reference' docs
4831 section, and forked idl and cspi docs. Added the sgml template
4832 files to CVS. Added the first sections/structural sgml for the
4835 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4837 * configure.in, libspi/Makefile.am: find libXtst.
4839 2001-11-21 Michael Meeks <michael@ximian.com>
4841 * test/accessx-gui.c: s/spi_value/value/ - doh.
4843 * libspi/base.[ch]: add.
4845 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4847 * idl/Accessible.idl:
4848 * idl/Application.idl:
4851 Started gtk-doc cleanup on IDL.
4853 * libspi/deviceeventcontroller.c:
4854 Added and connected non-preemptive key notification from the
4855 toolkits (in addition to the pre-emptive support from XServer
4856 which we had before, but which causes 'focus flashing'). Filters
4857 are presently limited to key modifiers and global/non-global,
4858 KeySets are presently ignored, as are KeyEvent masks.
4860 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4861 structs into the persistant structure rather than just storing
4862 pointers to things that might not persist across servant
4865 The XGrabKey call now does async keygrabs, because synchronous
4866 ones were deadlocking with GDK_event code in a very nasty way.
4868 Added boolean to internal method notify_keylisteners, to indicate
4869 whether the event came from the 'toolkit source' or the 'global
4870 (XServer) source' - this is used in the notification process to
4871 determine which listeners to send the event to.
4873 deviceeventcontroller.c is now warning-free.
4875 * libspi/registry.c:
4876 Fixed regression in application de-registration.
4877 Also fixed some really brain-dead weirdness having to do with
4878 event dispatching - event structs are now duplicated before being
4879 re-marshalled in the dispatch to listeners. This also fixes a
4880 Solaris build problem.
4883 2001-11-20 Michael Meeks <michael@ximian.com>
4886 (impl_accessibility_registry_deregister_global_event_listener):
4889 * libspi/deviceeventcontroller.c
4890 (spi_device_event_controller_check_key_event): return
4891 FALSE on no virtual method.
4893 * libspi/*..h: make includes work on a correctly pathed install.
4895 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4897 * libspi/application.h: kill unused ( and whacked out )
4898 gboolean *spi_application_set_id (AtkObject *app, long id);
4900 2001-11-20 Michael Meeks <michael@ximian.com>
4902 * libspi/*.[ch]: further convert to bonobo's type func
4903 macros, remove redundnant casts etc.
4905 * libspi/text.c s/accessibility_text/spi_text/g,
4906 re-order to de-cruft.
4908 * libspi/hypertext.c: re-order to kill a huge slew
4909 of redundant forward decls.
4911 * libspi/relation.c: ditto.
4913 * libspi/image.c: ditto.
4915 * */.cvsignore: update
4917 2001-11-20 Michael Meeks <michael@ximian.com>
4919 * libspi/deviceeventcontroller.c
4920 (_controller_register_with_devices): use g_getenv,
4921 kill stdlib.h include.
4923 * libspi/keystrokelistener.c
4924 (spi_keystroke_listener_get_type): kill
4925 (spi_keystroke_listener_class_init),
4926 (spi_keystroke_listener_init): rename to this.
4928 * libspi/text.c (impl_getAttributes): fix warning / bug.
4930 * libspi/*.[ch]: more headers, includes and over commenting.
4932 2001-11-20 Michael Meeks <michael@ximian.com>
4934 * libspi/*.[ch]: fixup headers, includes and over commenting.
4936 * libspi/image.c (impl__get_imageDescription): const
4937 correctness warning fix. remove redundant casting.
4939 * libspi/table.c (impl_getRowDescription): ditto.
4940 (impl_getColumnDescription): ditto.
4942 * libspi/libspi.h: add.
4944 2001-11-19 Michael Meeks <michael@ximian.com>
4946 * libspi/editabletext.c (impl_setAttributes): fix warnings.
4948 * libspi/component.c (accessibility_component_get_type):
4949 rename to (spi_component_get_type): and macroify.
4950 (accessibility_component_init): rename to
4951 (spi_component_init): this
4952 (accessibility_component_class_init): rename to
4953 (spi_component_class_init): this
4955 * libspi/action.c (spi_action_get_type): kill, use the macro.
4957 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
4960 * libspi/application.c (spi_application_object_event_listener),
4961 (impl_accessibility_application_register_object_event_listener):
4962 warning fixes / const understanding updates.
4964 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
4967 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4969 * libspi/spi_accessible.c: Added docs and C bindings for
4970 AccessibleStateSet. (No implementations yet). Documentation
4971 coverage for C bindings now 100%. Made docs for event listeners
4976 boolean notifyListenersSync (in DeviceEventListener listener,
4977 in DeviceEvent event);
4979 oneway void notifyListenersAsync (in DeviceEventListener listener,
4980 in DeviceEvent event);
4982 Added DeviceEventListener and DeviceEvent structs (may deprecate
4983 KeyStroke and KeystrokeListener in favor of this generic
4984 event/listener framework for devices).
4986 * libspi/deviceeventcontroller.c:
4988 Changed some key listener code to take masks, etc., and paved the
4989 way for integration of toolkit/non-preemptive key events. Changed
4990 signatures of some internal methods.
4992 * at-bridge/bridge.c:
4993 Fixed regression connecting to interface signals, apparently
4994 caused by GTK+ changes.
4996 Added an internal bridge_state_listener to deal with
4997 property-change:accessible-state signals.
4999 Changed the key_listeners GList to store structs (including masks,
5000 etc.) instead of just CORBA_Objects (required for full
5001 implementation of key listener API).
5003 Connected the bridge to all currently supported Atk signals.
5004 Events now supported:
5005 object:property-change
5006 object:property-change:accessible-name
5007 object:property-change:accessible-state
5008 object:property-change:accessible-description
5009 object:property-change:accessible-parent
5010 object:property-change:accessible-value
5011 object:property-change:accessible-role
5012 object:property-change:accessible-table-caption
5013 object:property-change:accessible-table-column-description
5014 object:property-change:accessible-table-column-header
5015 object:property-change:accessible-table-row-description
5016 object:property-change:accessible-table-row-header
5017 object:property-change:accessible-table-summary
5018 object:children-changed
5019 object:visible-data-changed
5020 object:selection-changed
5021 object:text-selection-changed
5023 object:text-caret-moved
5025 object:row-reordered
5027 object:column-inserted
5028 object:column-reordered
5029 object:column-deleted
5030 object:model-changed
5032 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5034 * libspi/hyperlink.c,h:
5035 Fixed some broken stuff in hyperlink.
5037 * libspi/relation.h:
5038 * libspi/relation.c:
5039 * cspi/spi_accessible.c:
5040 Initial implementations of AccessibleRelation methods, and docs.
5042 * libspi/accessible.c:
5043 Fixed a bug that caused SEGV if an accessible
5044 object's description is NULL, and a client
5045 requests it. An empty string is now returned.
5047 * cspi/spi_editabletext.c:
5048 * cspi/spi_hypertext.c:
5050 * cspi/spi_hyperlink.c:
5054 Doc coverage now 95%.
5056 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5058 One last namespacing revision:
5059 * libspi/accessibleeventlistener.[ch]:
5060 Renamed SpiAccessibleEventListener to SpiEventListener,
5061 (no need for two namespaces ;-)
5063 And lots of documentation fixes:
5065 * docs/at-spi-docs.sgml:
5066 Fixed 'underscore vs. hyphen' bug that was preventing
5067 the gtk-doc API docs from being automatically generated.
5070 * cspi/spi-listener.h
5072 * cspi/spi_accessible.c
5074 * cspi/spi_application.c
5075 * cspi/spi_component.c
5076 * cspi/spi_editabletext.c
5078 * cspi/spi_hypertext.c
5080 * cspi/spi_registry.c
5081 * cspi/spi_selection.c
5085 * docs/at-spi-docs.sgml
5086 * docs/at-spi-sections.txt
5088 Added and fixed up gtk-doc documentation in cspi.
5090 Interfaces now (fully) documented (subject to revision and enhancement):
5092 Event Listener Support
5094 AccessibleApplication
5098 AccessibleEditableText
5105 AccessibleRelationSet
5110 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5112 * at-bridge/bridge.c:
5113 Initial work for toolkit-level key snooper connection by bridge.
5118 New typedefs and fixes to support new namespacing, and cleaner
5119 separation of cspi bindings from libspi bonobo implementation.
5120 Removed inconsistent and extraneous Spi* namespace prefix that
5121 had crept into cspi headers.
5122 Lots of comment fixes that sed had missed.
5124 * cspi/spi-roletypes.h:
5125 * cspi/spi-statetypes.h:
5126 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5127 to AccessibleRoleType.
5129 * libspi/accessibleeventlistener.h:
5130 Fixed minor namespacing weirdness.
5132 * libspi/deviceeventcontroller.c:
5133 Reordered some internal API for device listeners.
5134 Changed the key registry final boolean to 'is_system_global'
5135 rather than 'is_synchronous', which is more descriptive of its
5137 Added spi_device_event_controller_new().
5138 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5140 * libspi/keystrokelistener.[ch]:
5141 Namespaced KeystrokeListener to SpiKeystrokeListener.
5142 Changed uses of keymasks to use SPI_ prefix, and did other
5145 * libspi/keymasks.h:
5146 Namespaced keymask constants with SPI_ prefix.
5148 * libspi/registry.c:
5149 Some warning fixes, and knock-on fixes from namespace changes.
5152 Added rules for accessx-gui test program.
5154 * test/accessx-gui.c:
5155 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5156 utility. It doesn't actually use at-spi, but it's still cool and
5159 * test/keysynth-demo.c:
5163 Fixes so that these test clients work properly with the namespaced
5164 libraries. (Incompletely tested for technical reasons, fixes may follow)
5167 2001-11-13 Michael Meeks <michael@ximian.com>
5169 * libspi/application.c
5170 (impl_accessibility_application_get_version),
5171 (impl_accessibility_application_get_toolkit_name):
5173 (impl_accessibility_application_set_id),
5174 (impl_accessibility_application_get_id): remove
5175 redundant casting code.
5177 * libspi/action.c (impl_getDescription): fix warnings.
5179 * libspi/accessible.c
5180 (impl_accessibility_accessible_get_parent),
5181 (impl_accessibility_accessible_get_child_at_index),
5182 (impl_accessibility_accessible_get_state),
5183 (impl_accessibility_accessible_get_relation_set):
5184 warning fixes & include action.h
5186 2001-11-13 Michael Meeks <michael@ximian.com>
5188 * *.[ch] fix bits I screwed up:
5190 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5191 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5193 2001-11-13 Michael Meeks <michael@ximian.com>
5195 * *.[ch] Namespace libspi into spi_ and Spi.
5197 2001-13-11 Michael Meeks <michael@ximian.com>
5199 * Makefile.am: dist & install at-spi-1.0.pc
5201 * libspi/Makefile.am: install into at-spi-1.0
5203 * idl/Makefile.am (idldir): install into at-spi-1.0
5205 * at-spi-1.0.pc.in: add.
5207 * configure.in: build it.
5209 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5211 * test/keysynth-demo.c:
5212 Use a 'realize' signal-handler to set the WM properties for
5213 the virtual keyboard, rather than making it a "POPUP" type
5214 override-redirect window (thanks to anders carlsson for that
5217 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5220 * test/keysynth-demo.c:
5221 Added new test of key synthesis, which creates a simple
5222 (mouse-operated) onscreen keyboard. It inserts key events into
5223 the currently-focused window, thus it does not grab keyboard focus
5226 * cspi/spi_registry.c:
5227 Added C binding for AT-SPI generateKeyEvent.
5229 * libspi/deviceeventcontroller.c:
5230 Added call to XFilterEvent so that key listener works with XIM (we
5231 hope). Added event_synth_type to generateKeyEvent, so that we can
5232 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5233 synthesize a press/release pair for KeySyms.
5235 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5237 * libspi/Makefile.am:
5238 * registryd/Makefile.am:
5239 (temporary) hack to include libXtst in libspi and registryd.
5240 (Needed for keystroke synthesis, see below).
5243 Improved API for registerKeystrokeListener, in accordance with
5244 discussions with Gnopernicus team and X server research.
5246 * libspi/registry.c:
5247 * libspi/deviceeventcontroller.c:
5248 * libspi/accessible.c:
5249 * libspi/keystrokelistener.c:
5250 Changes and fixes to support keylisteners for potentially
5251 consumed key events (that is, 'passive grabs').
5252 Added implementation for generateKeyEvent() [untested].
5255 Changes to registerKeystrokeListener() API, as above.
5256 Added deregisterGlobalEventListenerAll(), and
5257 deregisterKeystrokeListener(), which are needed for clean exit of
5259 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5260 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5262 * cspi/spi_registry.c:
5263 Added implementations of function prototypes mentioned above.
5265 * registryd/registryd.c:
5266 Added the key listener event source as a g_timeout(), to allow
5267 receipt of key events that are not caught by GDK (since GDK
5268 doesn't support passive keygrabs, this was necessary).
5271 Changed to attach a keylistener to 'Alt' keys, and
5272 respond to the following keycommands: Alt-M (toggle magnifier);
5273 Alt-F (toggle speech); Alt-Q (quit).
5274 Added an exit routine to deregister the listeners, and a key
5275 listener that prints some key info to the console when a key
5276 matches the listener mask (and is thus received by the listener).
5278 * util/idl/Magnifier.idl:
5279 Changes to magnifier API to support multiple zoom regions,
5280 non-uniform scaling in x and y, markDirty, and a host of other
5281 features that would be useful to magnification.
5284 * util/mag_client.c:
5285 * util/mag_client.h:
5286 * util/mag_control.c:
5288 Source code changes to support the above IDL changes.
5291 As above, and also changes to use a (slower) generic conversion
5292 path for colormap conversions, since the fast RGB conversions have been
5293 reported to fail for 16-bit displays.
5295 2001-10-26 Michael Meeks <michael@ximian.com>
5297 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5299 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5301 * at-bridge/Makefile.am: fix LDFLAGS.
5303 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5305 * at-bridge/bridge.c:
5306 Re-worked listeners for toolkit events, now we have signal
5307 and property listeners. Added a private method
5308 register_atk_event_listeners(), which registers with the
5309 various atk and gtk signals we need to monitor in order to emit
5311 Added emission hook for AtkObject:property-change events, to
5312 support the 'property listeners'.
5313 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5316 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5317 which emit warnings and exit, respectively, if CORBA errors occur
5318 during remote calls, and we now use these methods to check most of
5319 our CORBA calls in the C bindings.
5321 * cspi/spi_accessible.c:
5322 Changed AccessibleSelection_refSelectedChild() to
5323 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5324 now increment refcounts.
5326 * cspi/spi_component.c:
5327 Fixed some long pointer casts (dangerous!) to pass pointers to
5328 CORBA_longs of the proper type to the CORBA stubs, and copy the
5329 data into the longs that were passed into the C bindings code.
5331 * at-bridge/bridge.c:
5333 * libspi/accessible.c:
5334 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5335 hyperlinks, AtkHyperlink is an object type.
5337 * libspi/application.c:
5338 Added various conversions to and from "generic" event types and
5339 atk-specific types; this is really part of the 'bridge'
5340 implementation but is valid for all AtkObject-based accessibility
5343 * libspi/editabletext.c:
5344 Fixed nasty bug wherein editable text's finalize method was
5345 unref'ing tha AtkObject reference that the text parent class was
5346 about to unref _again_. There was also a nasty inheritance bug
5347 that meant that the AccessibleEditableText class was corrupt.
5349 * libspi/selection.c:
5350 Provided implementations for some selection API that was broken.
5352 * idl/Application.idl:
5353 Added registerObjectEventListener () method.
5356 Fixed a number of return values that were Bonobo_Unknowns from
5357 bonobo_object_corba_objref(), which I
5358 forgot to dup before returning. Changed instances of
5359 bonobo_object_corba_objref (bonobo_object(o)) to
5360 BONOBO_OBJREF(o), for concision and clarity.
5362 2001-10-13 Louise Miller <louise.miller@sun.com>
5364 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5365 idl/Event.idl, idl/Registry.idl
5366 Changed these files to include Bonobo_Unknown.idl instead
5369 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5371 * libspi/component.c libspi/component.h:
5372 Fixed typo. Added assertions for object checks in
5373 AccessibleComponent code.
5375 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5377 * idl/Accessible.idl:
5378 Added 'isEqual (Accessible *object)'
5379 method for Accessible. (Not Yet Implemented).
5382 Changed signature of registerKeystrokeListener() to
5383 take a KeySet and KeyEventSeq so that specific keys and event
5384 types could be requested for monitoring, and added a flag
5385 is_synchronous so that either synchronous or asynchronous
5386 notification could be requested. (However this is not all
5387 implemented yet). This also meant adding two new typedefs,
5388 KeyEventSeq and KeySet.
5391 Added two new relations, RELATION_TOOLTIP_FOR and
5392 RELATION_LEAFNODE_OF.
5395 Added new state, STATE_HAS_TOOLTIP.
5397 * libspi/text.c, editabletext.c:
5398 Added new assertions to all casts of bonobo-objects from
5399 CORBA servants, to prevent Text API calls on non-text objects.
5400 Changed suspect casts of int-pointer types, so that we
5401 always send a valid CORBA_long pointer to the CORBA APIs that use
5402 in/out long parameters. We then have to copy from the CORBA_long
5403 into the regular long or int for return to the C bindings, or
5404 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5407 * libspi/deviceeventcontroller.c:
5408 Cleaned these sources up.
5410 Changed return type for getCharacterAtOffset to
5411 CORBA_unsigned_long, to allow for 32-bit characters.
5414 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5418 Fixed 'make dist' so that distro compiles...
5419 * libspi/keymasks.h:
5421 * cspi/spi-listener.c:
5422 KeystrokeListenerCB now returns a boolean.
5424 Added KeyEventType struct, and KeyStroke.
5425 Also added createKeystrokeListener(),
5426 KeystrokeListener_addCallback(),
5427 KeystrokeListener_removeCallback(), and added a keymask to
5428 registerKeystrokeListener().
5429 * cspi/spi_accessible.c:
5430 Changed numerous return types for interfaces from
5431 AccessibleComponent to Accessible<InterfaceName>; this was
5432 probably a cut-and-paste error.
5434 Implementations of new KeystrokeListener api (from spi.h,
5437 Changes to key modifier mapping.
5438 Created ControllerEventMask struct.
5439 Made DeviceEventController derive from Bonobo::Unknown.
5441 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5442 * libspi/deviceeventcontroller.c:
5443 Added a number of new internal (private) methods.
5444 * libspi/editabletext.c:
5445 * libspi/editabletext.h:
5446 Fixed a number of bugs related to the fact that
5447 editabletext inherits from text. Fixed the EditableText struct,
5448 the init() call, and use correct casts when calling Text methods
5449 from an EditableText object. Removed (duplicate) atko from the
5450 EditableText structure, we use the one in the parent Text
5451 structure via the casts mentioned above.
5452 * libspi/keystrokelistener.[ch]:
5453 * libspi/registry.c:
5454 Changes in support of keyboard handling (above).
5456 Keyboard handling, though partly functional, is still not
5457 recommended for at-spi client use as there is considerable
5458 work yet to be done.
5461 Changed some places where pointers to various int types
5462 are cast to be pointers to CORBA_long types and vice-versa:
5463 pointer casting is not safe so we pass pointers of the correct
5464 types and then cast the result before putting it into the target
5467 * libspi/text.h: minor typos corrected.
5469 We now speak not only the name of a Text element, but the
5470 first sentence of its content, when it receives focus.
5471 I also changed the text compression to 75% from 50%.
5472 * util/Accessibility_Util.server.in:
5473 Changed the default magnifier type to be a 3x vertical
5474 splitscreen magnifier (was previously a 2x horizontal one).
5476 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5478 * libspi/keystrokelistener.h:
5479 * libspi/keystrokelistener.c:
5480 Initial functional implementations of KeystrokeListener.
5483 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5485 Fixed string handling for NULL strings in libspi.
5486 Added spi_freeString to free strings returned by C bindings.
5488 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5490 * libspi/keystrokelistener.h:
5491 * libspi/keystrokelistener.c:
5492 Began (no-op) implementations of KeystrokeListener
5494 * libspi/deviceeventcontroller.c:
5495 * libspi/deviceeventcontroller.h:
5496 Began creating implementations of DeviceEventController,
5497 to handle keystroke and mouse event listening and
5499 * libspi/accessible.c:
5500 Stubbed-in the implementations for
5501 Accessibility_Accessible_getState and
5502 Accessibility_Accessible_getRelationSet.
5503 * libspi/registry.c:
5504 Improved de-registration process and fixed some bugs,
5505 deregistration now works correctly.
5507 Added initialization of applications list (to NULL).
5509 Reduced speech compression from 0.5 to 0.7, for demo.
5510 Changed call to gdk_window_set_decorations()
5511 to gtk_window_set_decorated().
5512 * at-bridge/bridge.c:
5513 Bridge now deregisters when app exits, via
5514 registration of a cleanup function
5515 with the g_atexit() call.
5516 Required making 'app' static, renamed 'this_app'.
5517 Fixed broken use of bonobo_init, passing argv wrongly.
5519 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5523 Created a new directory for
5524 accessibility-related utilities, primarily for
5525 testing and demo purposes, but with possible
5532 Onscreen magnifier utility that
5533 is implemented as a bonobo service.
5535 * util/mag_client.c:
5536 * util/mag_client.h:
5537 Client-side support (simple C bindings)
5538 for Magnification service
5540 * util/mag_control.c:
5541 Client program example for
5542 Magnification service
5544 * util/Accessibility_Magnifier.server.in:
5545 Bonobo-activation file for the
5546 Magnification service.
5549 * util/idl/Magnifier.idl:
5550 IDL defining the bonobo Magnification
5554 Modifications to use the bonobo-activated magnifier
5555 above, in place of trying to connect to an existing
5556 magnifier that uses socket-listening IPC.
5558 If env variable MAGNIFIER is set, a magnifier service
5559 will be started if one does not exist.
5561 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5563 * at-bridge/bridge.c:
5564 applied patch from Marc to build and run
5565 against new glib and gtk+ (seemed like a change
5566 to bonobo_init signature was made ?)
5568 made festival-server support turned off by default.
5569 Added support for a simple magnifier (off by default)
5570 which will be added to a 'util' directory later.
5571 * at-bridge/Makefile.am:
5572 Changed "application.h" header from a 'source'
5573 to a 'dependency' of libat-bridge.
5575 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5584 Added interface implementation c files to list of
5585 includes so they are included in libcspi.
5588 Changed prototype of AccessibleAction_doAction to return a
5590 Changed prototype of AccessibleTable_getCaption to
5591 return an Accessible.
5592 Changed prototype of AccessibleTable_getSelectedRows
5593 and AccessibleTable_getSelectedColumns to
5594 return a long (returns the number of selected rows
5595 or columns respectively).
5596 Changed name of AccessibleText_refRunAttributes to
5597 AccessibleText_getAttributes.
5598 Changed prototype of AccessibleText_getCharacterExtents to
5599 return a void rather than a boolean.
5600 Added support for a AccessibleCoordType parameter
5601 specifying what type of coordinates are desired.
5602 Added an AccessibleCordType parameter to
5603 AccessibleText_getPointAtOffset.
5605 * cspi/spi_accessible.c:
5606 Added code to return the outstanding interfaces from
5607 Accessible_queryInterface.
5609 * cspi/spi_action.c:
5611 Corrected call to getNActions to call the c binding
5614 * cspi/spi_editabletext.c:
5616 Changed name from setRunAttributes to setAttributes.
5618 * cspi/spi_hyperlink.c:
5620 Changed call to getNAnchors to correctly call the c
5621 binding for an attribute.
5623 * cspi/spi_hypertext.c:
5625 Changed getImageDescription to correctly call the
5626 binding for an attribute.
5628 * cspi/spi_selection.c:
5629 Changed getNSelectedChildren to correctly call the c
5630 binding for the attribute.
5631 Changed refSelectedChild to getSelectedChild.
5635 Changed getCaption to return an Accessible.
5636 Fixed calls which retrieve attributes.
5637 Changed refAt to getAccessibleAt.
5638 Changed getNSelectedRows and getNSelectedColumns to
5642 Changed getCharacterExtents and getPointAtOffset to accept an
5643 AccessibleCoordType.
5645 Changed calls which retrieve attributes.
5646 Changed refRunAttributes to getAttributes.
5651 * idl/Hyperlink.idl:
5652 Changed n_anchors attribute to nAnchors to keep naming
5653 convention consistent.
5656 Made Table inherit from Bonobo::Unknown.
5657 Added nSelectedColumns and nSelectedRows attributes.
5660 Made Value inherit from Bonobo::Unknown.
5662 * libspi/hyperlink.c:
5663 Change for nAnchors attributte name change.
5665 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5673 Added interface implementation c files to list of
5674 includes so they are included in libcspi.
5677 Changed prototype of AccessibleAction_doAction to return a
5679 Changed prototype of AccessibleTable_getCaption to
5680 return an Accessible.
5681 Changed prototype of AccessibleTable_getSelectedRows
5682 and AccessibleTable_getSelectedColumns to
5683 return a long (returns the number of selected rows
5684 or columns respectively).
5685 Changed name of AccessibleText_refRunAttributes to
5686 AccessibleText_getAttributes.
5687 Changed prototype of AccessibleText_getCharacterExtents to
5688 return a void rather than a boolean.
5689 Added support for a AccessibleCoordType parameter
5690 specifying what type of coordinates are desired.
5691 Added an AccessibleCordType parameter to
5692 AccessibleText_getPointAtOffset.
5694 * cspi/spi_accessible.c:
5695 Added code to return the outstanding interfaces from
5696 Accessible_queryInterface.
5698 * cspi/spi_action.c:
5700 Corrected call to getNActions to call the c binding
5703 * cspi/spi_editabletext.c:
5705 Changed name from setRunAttributes to setAttributes.
5707 * cspi/spi_hyperlink.c:
5709 Changed call to getNAnchors to correctly call the c
5710 binding for an attribute.
5712 * cspi/spi_hypertext.c:
5714 Changed getImageDescription to correctly call the
5715 binding for an attribute.
5717 * cspi/spi_selection.c:
5718 Changed getNSelectedChildren to correctly call the c
5719 binding for the attribute.
5720 Changed refSelectedChild to getSelectedChild.
5724 Changed getCaption to return an Accessible.
5725 Fixed calls which retrieve attributes.
5726 Changed refAt to getAccessibleAt.
5727 Changed getNSelectedRows and getNSelectedColumns to
5731 Changed getCharacterExtents and getPointAtOffset to accept an
5732 AccessibleCoordType.
5734 Changed calls which retrieve attributes.
5735 Changed refRunAttributes to getAttributes.
5740 * idl/Hyperlink.idl:
5741 Changed n_anchors attribute to nAnchors to keep naming
5742 convention consistent.
5745 Made Table inherit from Bonobo::Unknown.
5746 Added nSelectedColumns and nSelectedRows attributes.
5749 Made Value inherit from Bonobo::Unknown.
5751 * libspi/hyperlink.c:
5752 Change for nAnchors attributte name change.
5755 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5757 implementations-- made server implementations own AtkObject pointers
5758 rather than their respective AtkInterrface pointers to fix
5759 refcounting. AtkHyperlink is still broken.
5761 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5762 * cspi/spi_accessible.c:
5763 Added method Accessible_Role_getName(),
5764 and requisite string array (role_names).
5765 Added conversion string_from_corba_strin() call
5766 to Accessible_getName and _getDescription.
5767 * libspi/accessible.c:
5768 Added implementation for Accessible_getRole()
5770 Added festival support, used if environment variable
5773 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5775 * at-bridge/bridge.c:
5776 Now allocate Accessibility_Event using
5777 Accessibility_Event__alloc() instead of g_new0().
5778 * libspi/accessibleeventlistener.c:
5779 Initialize AccessibleEventListener->callbacks to NULL.
5780 Fixed accessible__event_listener_init() param, changed to
5781 "AccessibleEventListener *" type.
5782 Changed a bonobo_object_release_unref() call to
5783 Accessibility_Accessible_unref().
5784 * libspi/listener.c:
5785 Changed Bonobo_Unknown_unref to (equivalent)
5786 Accessibility_Accessible_unref.
5787 * libspi/registry.c:
5788 Changed bonobo_object_release_unref to
5789 Accessibility_Accessible_unref.
5791 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5794 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5795 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5796 spi-util.c spi-util.h
5797 Implementations for C bindings to remaining accessibility
5800 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5803 changed return value of Action from void to boolean to
5804 bring in line with ATK.
5807 Changed getText funcions to return "out" start and end offsets.
5808 Changed getAttributes to take and offset and return the start
5809 and end offset of the attribute run.
5810 Changed getOffsetAtPoint and getCharacterExtents to take an
5811 enum describing whether coordinates are window or screen.
5814 libspi/action.c libspi/action.h libspi/editabletext.c
5815 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5816 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5817 libspi/image.h libspi/selection.c libspi/selection.h
5818 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5819 libspi/value.c libspi/value.h
5820 Added server implementations for outstanding ATK interfaces
5821 not yet implemented.
5823 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5826 Added (missing) getName() method.
5827 Made nActions an attribute.
5828 * idl/EditableText.idl:
5829 Changed order of params in setAttributes.
5830 * idl/Hyperlink.idl:
5831 Removed getAnchor, added getURI.
5833 Changed attributes to methods, for efficiency
5834 (so that getting extents can be done in one call)
5835 * idl/Selection.idl:
5836 Changed nSelectedChildren to attribute, and re-indented.
5837 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5839 * idl/Text.idl: reformatted to match our coding style.
5840 (temporarily?) removed getRowColumnAtOffset().
5841 Changed text selection API to support multi-select and
5842 non-contiguous selections, as in ATK.
5843 * idl/Value.idl: changed some methods to attributes.
5845 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5847 * libspi/listener.c(impl_notify_event):
5848 BonoboUnkown_unref the source instead
5849 of bonobo_object_release_unref - the ORB
5850 handles the releasing.
5852 * configure.in: require ORBit-2.3.94 for
5855 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5857 Tagged CVS repository 'EA_1_0'.
5858 * README.EARLY_ACCESS:
5859 Alphabetized acknowledgements list, and
5861 Listed some known dependencies of at-spi.
5863 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5865 * docs/at-spi-docs.sgml:
5866 * docs/at-spi-sections.txt:
5867 * docs/at-spi-overrides.txt: (Added zero-length file)
5868 Documentation improvements - gtk-doc should build
5869 docs for all implemented C bindings now.
5872 * cspi/spi.c: (New file)
5873 * cspi/spi_event.c: (New file)
5874 * cspi/spi_registry.c: (New file)
5875 * cspi/spi_accessible.c: (New file)
5876 * cspi/spi_application.c: (New file)
5877 * cspi/spi_component.c: (New file)
5878 Split spi_main.c into six parts, and included them from
5879 "spi.c". This is a bit of a hack, probably temporary,
5880 but required by gtk-doc, apparently.
5882 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5885 * docs/at-spi-docs.sgml:
5886 * docs/at-spi-sections.txt:
5888 Initial checkins/modifications for gtk-doc generation.
5891 Added (missing) interface query methods to Accessible's C binding.
5893 Added GenericInterface type definition.
5895 Added query for AccessibleComponent interface to focus event handler.
5896 Added printout of bounding box for focussed component.
5897 * libspi/component.c:
5898 Added partial implementation for AccessibleComponent to C binding.
5899 * idl/Application.idl:
5900 * libspi/registry.c:
5901 * libspi/listener.c:
5902 * libspi/application.c:
5903 * libspi/application.h:
5904 Changed "ID" attribute type from string to long.
5906 2001-08-19 Bill Haneman <bill.haneman@sun.com>
5910 Made method naming consistent: methods taking object args
5911 start with uppercase, other methods (except those using
5912 acronyms) start with lowercase. Underscores delimit between
5913 object names and method names:
5914 SPI_init() - uppercase since it starts with an acronym.
5915 getDesktopCount () - lowercase start since no object param0.
5916 Accessible_getName() - uppercase object type name, studlyCaps method
5920 Added gtk-doc documentation for all currently implemented
5921 methods in the C bindings API.
5923 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5925 * Makefile.am : changed build order to build test last.
5928 Changed "createEventListener" to "CreateEventListener".
5929 * libspi/accessibleeventlistener.c :
5930 Bugfix for addition of callbacks.
5931 * test/Makefile.am :
5932 * test/simple-at.c :
5933 Added new test that uses the C bindings API.
5935 * libspi/listener.c :
5936 * libspi/registry.c :
5937 * libspi/accessibleeventlistener.c :
5938 * at-bridge/bridge.c :
5939 Renamed member "target" of Accessibility_Event to "source",
5940 which is more descriptive.
5943 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5947 * cspi/Makefile.am :
5948 Added makefile support for at-spi/cspi directory.
5951 * cspi/spi-listener.h : (NEW FILE)
5952 Added support for/use of spi-listener.h.
5954 C bindings now build successfully, with no warnings.
5955 * libspi/accessibleeventlistener.h : (NEW FILE)
5956 * libspi/accessibleeventlistener.c : (NEW FILE)
5957 * libspi/Makefile.am :
5958 Added new object type "AccessibleEventListener"
5959 which inherits from Listener, and allows attachment
5960 of in-process callbacks (so that a client with a listening
5961 object instance can add functionality to the local
5962 implementation, dynamically).
5964 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5966 * libspi/accessible.c:
5967 Add implementation for get_index_in_parent().
5969 Added #include of "spi-roletypes.h", and
5970 added enumerated type AccessibleCoordType.
5971 Added definition for KeystrokeListener (function type).
5974 * cspi/spi-statetypes.h :
5975 * cspi/spi-roletypes.h :
5977 Added these headers, used by spi.h.
5979 Added code (NOTE: not yet built by make).
5981 2001-08-18 Mark McLoughlin <mark@skynet.ie>
5983 * libspi/Makefile.am: generate imodule
5984 at the same time as other idl compiler
5987 2001-08-17 Bill Haneman <bill.haneman@sun.com>
5988 * libspi/registry.c :
5989 * libspi/application.c :
5990 * idl/Application.idl :
5991 Made registration with toolkit an application method,
5992 which is required since each app has its own toolkit static
5993 environment. Thus the bridge must register for
5994 notification of toolkit events from each application in turn.
5995 Toolkit notifications are now successfully registered for, and
5996 sent to the listening at client.
5998 Changed toolkit event string to use hyphens rather than underscores.
5999 * libspi/listener.c :
6000 listner now gives more info in debug mode - it reports the
6001 name of the event received, as well as the name of the source.
6004 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6006 * libspi/registry.c :
6007 added more implementation for toolkit events.
6008 Fixed bug such that toolkit event registrations
6009 (via atk) use the whole event name string, not
6011 Removed a useless call to an ORBit_ method.
6012 * at-bridge/bridge.c :
6013 Removed unused local sbuf[] variable.
6015 We now register for Gtk:GtkWidget:button_press_event
6016 events as well as "focus:" events.
6018 Add some more API from Registry.idl that was missing,
6019 for keystroke listening, keystroke and mouse event
6020 synthesis, and enumeration of accessible desktops.
6022 2001-08-16 Michael Meeks <michael@ximian.com>
6024 * configure.in: use AM_GLIB_GNU_GETTEXT.
6026 * Makefile.am (SUBDIRS): kill intl.
6028 2001-08-15 Michael Meeks <michael@ximian.com>
6030 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6032 * configure.in: upd.
6034 * configure.in: depend on a recent bonobo-activation that
6035 will find our server files ...
6037 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6039 * libspi/accessible.c : accessible_new() :
6040 Now we add the Component interface via bonobo_object_add_interface,
6041 if the contained AtkObject implements AtkComponent.
6042 * libspi/accessible.h : now include "component.h"
6043 * libspi/component.h :
6044 * libspi/component.c : added files - implementation of
6045 bonobo wrapper object for Accessibility/Component
6046 * libspi/listener.c :
6047 Added test code to check for Accessibility/Component:1.0
6048 interface and report whether it is implemented by the
6050 * libspi/registry.c :
6051 Now we check for not only the hash of the whole event
6052 string before relaying the event, we also check the
6053 "minor" event string (without the detail string).
6054 This allows event listeners to be registered against
6055 all events of a certain major+minor type, or just
6056 against a specific major+minor+detail type.
6057 * libspi/accessible.c :
6058 Added implementations for Accessible:get_parent(),
6059 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6060 * libspi/registry.c :
6061 * libspi/listener.c :
6062 Replaced calls to Accessibility_Accessible_ref() and
6063 Accessibility_Accessible_unref() with
6064 calls to bonobo_object_dup_ref() and
6065 bonobo_object_release_unref(), so that the CORBA object
6066 is dup-ed and released when relayed, as well as the bonobo object.
6068 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6070 * libspi/Makefile.am,
6071 registryd/Makefile.am,
6072 at-bridge/Makefile.am.
6073 test/Makefile.am, configure.in:
6074 reverse previous changes.
6076 * /idl/Image.idl: fix typo.
6078 * test/Makefile.am: put DEBUG_FLAGS
6081 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6083 * test/app.c: use argv[0] instead of
6086 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6088 * libspi/Makefile.am,
6089 registryd/Makefile.am,
6090 at-bridge/Makefile.am.
6091 test/Makefile.am, configure.in:
6092 cleanup, replace individual LIBS/CFLAGS with
6093 AT_COMMON_{LIBS|CFLAGS}.
6097 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6099 * configure.in, libspi/Makefile.am:
6100 Change IDL path checking for bonobo-activation
6103 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6105 * registryd/registry.c : separated event listeners to use
6106 3 separate lists (focus, window, toolkit). Began testing
6107 event names against hashes before relaying events.
6108 * test/at.c : now register for events of type "focus:"
6109 * test/app.c : now generate events of type "focus:"
6110 * at-bridge/bridge.c : register with ATK for focus events,
6111 and we now relay those focus events to any "focus:" listeners.
6112 This now works with the bridge as a GTK_MODULE when running test/at.
6113 * libspi/registry.c :
6114 * libspi/listener.c :
6115 now we ref event sources before propagating, and unref on receipt.
6116 * libspi/registry.c :
6117 some changes to internal structs, to support event typestring hashes.
6118 * text/app.c : changed the way the appname is generated.
6119 * cspi : added directory that will hold the C bindings library for
6120 non-CORBA/bonobo-savvy clients.
6121 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6122 * idl/Component.idl : added in parameter to indicate coord system for
6123 geometry-related calls.
6124 * idl/Hyperlink.idl : added readonly n_links attribute
6125 * idl/Image.idl : changed methods to attributes.
6127 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6129 * at-bridge/Makefile.am: link against
6130 ../libspi/libspi.la instead of -lspi.
6132 * at-spi/test/app.c: include
6133 bonobo-activation.h. Use a default appname
6134 if one is not provided.
6136 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6138 * idl/Registry.idl : temporarily changed register_Application
6139 to oneway, to work around issue with initial registration
6141 * idl/Application.idl : changed attribute "id" from readonly
6142 to read-write, since it needs to be assigned by Registry.
6143 * registryd/registryd.c : added call to set application id
6145 * registryd/registry.c : changed de-registration procedure to
6146 use CORBA_Object_hash() to find matching object ref in application
6147 lists and listener lists.
6148 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6149 began distinguishing between event types (work in progress).
6151 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6154 * libspi/application.c:
6155 Added implementations for get/set id, get_toolkitName,
6157 * registryd/registryd.c :
6161 Converted from use of OAF to bonobo-activation.
6162 * libspi/desktop.h :
6163 * libspi/desktop.c :
6165 Removed references to atksimpleobject, since base atkobject
6166 implementation now provides functionality we need.
6167 * libspi/atksimpleobject.c :
6168 * libspi/atksimpleobject.h :
6173 * at-bridge/Makefile.am
6174 * at-bridge/bridge.c
6177 Added directory "bridge" and contents, and added dependencies
6178 in Makefile.am/configure.in.
6179 Initial checkin of "at-bridge".
6180 This code is a GTK_MODULE which automatically registers
6181 GTK+ apps with the accessibility registry, using an object
6182 reference to the root ATK object.
6184 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6186 * po/Makefile.in.in: Remove. Again. If this
6187 doesn't get autogenerated - you need to update
6190 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6192 * po/Makefile.in.in: Add. Again.
6194 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6196 * libspi/accessible.c : added support for 'description' property.
6197 * libspi/accessible.c
6199 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6200 (since the two are now equivalent in libbonobo)
6208 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6209 Bonobo::Unknown as does Accessibility::Accessible.
6210 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6211 interface with Bonobo::Stream, since it was redundant with it.
6212 (The Stream returned by a StreamableContext object is expected to
6213 implement only a subset of Bonobo::Stream)
6215 2001-07-28 Anders Carlsson <andersca@gnome.org>
6217 * libspi/accessible.c (accessible_object_finalize): Change
6218 g_free to g_object_unref since the AtkObject is a GObject.
6220 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6222 * idl/Accessibility.idl: add new IDL files
6225 * idl/Action.idl: Definitions of actionable UI object
6226 * idl/Component.idl: Definitions of UI component geometry, etc.
6227 * idl/Hyperlink.idl: Defs of hyperlink behavior
6228 * idl/Image.idl: Def of accessible image
6229 * idl/Selection.idl: Definition of UI object with selectable children
6230 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6231 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6232 * idl/Text.idl: Interface defs for UI elements with complex textual content
6233 * idl/Value.idl: Definition of UI element that is a value controller or display
6235 2001-07-27 Michael Meeks <michael@ximian.com>
6237 * po/Makefile.in.in: remove autogenerated file from CVS.
6239 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6242 * idl/Registry.idl: include guard.
6244 * idl/Accessibility.idl: Add, and include all the other IDL
6247 * idl/*.idl: remove mass of pragmas etc.
6249 2001-07-26 Michael Meeks <michael@ximian.com>
6251 * registryd/Makefile.am (registryd_SOURCES): remove
6254 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6256 * libspi/.cvsignore, registryd/.cvsignore,
6257 test/.cvsignore: updated.
6259 * po/Makefile.in.in: gettext update.
6261 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6263 * initial CVS checkin
6265 2001-06-29 Michael Meeks <michael@ximian.com>
6267 * configure.in: add AM_CONFIG_HEADER to gen config.h