1 2003-07-10 Joel Brich <joel.brich@laposte.net>
3 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
5 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
7 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
9 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
11 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
12 resources allocated for AccessibleEvent. See cspi_event().
14 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
15 static variable streams to NULL.
17 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
18 Update so that AcessibleEvent_ref will work.
20 This fixes bug #116624.
22 2003-07-06 Jordi Mallach <jordi@sindominio.net>
24 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
26 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
28 * configure.in: Added "fr" (French) to ALL_LINGUAS.
30 2003-07-02 Christian Neumair <chris@gnome-de.org>
32 * configure.in: Added "de" (German) to ALL_LINGUAS.
34 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
36 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
38 2003-07-01 Miloslav Trmac <mitr@volny.cz>
40 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
42 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
44 * configure.in: Added "pl" to ALL_LINGUAS.
46 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
48 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
50 2003-06-30 Bill Haneman <bill.haneman@sun.com>
53 (get_action_from_servant):
54 Removed assertion that action is implemented on an AtkObject.
58 Aggregate AccessibleAction interface on the hyperlink object if
59 the object implements AtkAction. (This convention is used in
62 2003-06-30 Bill Haneman <bill.haneman@sun.com>
64 * configure.in: Revved to 1.3.5.
66 * registryd/Accessibility_Registry.server.in.in:
67 Marked up appropriate strings for translation.
69 * atk-bridge/bridge.c: Marked a couple of
70 user-visible warnings for translation. Questionable
71 whether they are really useful, but possibly so.
74 2003-06-28 Christian Rose <menthos@menthos.com>
76 * configure.in: Added "sv" to ALL_LINGUAS.
78 2003-06-26 Bill Haneman <bill.haneman@sun.com>
80 * registryd/registry.c:
81 (spi_registry_object_finalize): Unref the deviceeventcontroller.
82 (registry_defer_on_event): Defer focus: events, this is an
83 improvement to the patch for bug #108664.
85 * TODO: Update with 2.4/"Dev Complete" items.
87 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
89 * atk-bridge/bridge.c:
90 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
91 looks up signals once.
92 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
93 if doing registration.
94 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
95 when doing registration.
97 This fixes bug #115014.
99 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
101 * atk-bridge/bridge.c:
102 (atk_bridge_init): Add signal handler for children-changed:remove on
103 root when in a BonoboComponent.
104 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
105 for first toplevel only other incrememt variable toplevels.
106 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
107 application and remove listeners.
108 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
110 (spi_atk_deregister_event_listeners): New function which removes
112 (reinit_register_vars): New fuction which reinitializes variables.
114 This fixes bug #111578.
116 2003-06-13 Bill Haneman <bill.haneman@sun.com>
118 * configure.in: version 1.3.4.
120 * cspi/spi_accessible.c:
121 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
124 2003-06-13 Michael Meeks <michael@ximian.com>
126 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
128 * cspi/spi_main.c (cspi_peek_ev): impl.
130 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
132 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
134 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
136 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
137 SPI_ROLE_AUTOCOMPLETE
139 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
141 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
142 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
144 2003-06-11 Bill Haneman <bill.haneman@sun.com>
146 * libspi/streamablecontent.h:
147 * libspi/streamablecontent.c:
148 New files, provide implementation/wrappers for
149 Accessibility_StreamableContent.
151 * cspi/spi_streamablecontent.c:
152 Connected the C wrappers to the libspi C bindings.
153 (AccessibleStreamableContent_close): New method.
156 (AccessibleStreamableContent_close): New method, needed
157 since we have an "open, [seek], read, close" model in cspi.
159 2003-06-11 Bill Haneman <bill.haneman@sun.com>
161 Fix for #108664; Padraig's revision of my original patch.
163 * registryd/registry.h:
164 Added event queue list, is_queuing, and exit_notify_timeout
165 to the registry struct.
167 * registryd/registry.c:
168 (registry_init): Initialize new struct from registry.h.
169 (impl_registry_notify_event):
170 Filter events before notifying, in case some need to be
172 (registry_filter_event): New,
173 we defer certain incoming events (for instance
174 window:deactivate) because we may wish to hide
175 or reject them based on pending events. This is
176 mostly a workaround for bug #108664.
177 (registry_queue_event, registry_start_queue): New.
178 (registry_defer_on_event): Test event to see if it
180 (registry_reset_on_event): Returns TRUE if the
181 event should cause a queue reset.
182 (registry_discard_on_event): Returns TRUE if the event
183 should cause the previous queue contents to be discarded.
184 (registry_timeout_flush_queue): Flushes the pending event
185 queue if no reset/discard-triggering events have come in
186 within the timeout period.
187 (registry_emit_event): New.
188 (registry_clone_notify_context): New, used when queueing the
189 event notify contexts.
191 2003-06-10 Bill Haneman <bill.haneman@sun.com>
193 * configure.in: Version revved to 1.3.2, lt 0.9.2
194 Incremented ATK required version to 1.3.4.
196 * cspi/spi_registry.c:
197 (SPI_generateKeyEvent):
198 We now pass the keystring along if it's non-null.
200 * registryd/deviceeventcontroller.c:
201 (keysym_mod_mask): New method, returns modifier mask
202 required to generate a keysym from a given keycode.
203 (dec_synth_keysym): New method.
204 (dec_synth_keystring): New method.
205 (dec_get_modifier_state): New method.
206 (dec_lock_modifiers): New
207 (dec_unlock_modifiers): New.
208 (dec_keysym_for_unichar): New, rather brute-force
209 conversion from UCS-4 to X KeySyms. Only works for
210 Latin at the moment, with partial implementations for
211 Greek, Hebrew, and (incomplete) Katakana.
212 (impl_generate_keyboard_event): Now implement
213 "KEYSTRING" synthesis and implement "KEYSYM"
215 (keycode_from_keysym): Improved, passes a returned
216 modmask value now if the corresponding param is non-NULL.
218 Fixes bugs #92143 and #109776.
221 * test/keysynth-test.c:
222 New test program for key synthesis, to confirm fixes for
226 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
228 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
230 * cspi/spi_accessible.c (cspi_init_relation_type_table):
231 Add line for RELATION_POPUP_FOR
233 * docs/reference/cspi/tmpl/spi_relation.sgml:
234 Add relation SPI_RELATION_POPUP_FOR
236 * docs/reference/cspi/tmpl/spi_stateset.sgml:
237 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
239 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
241 * libspi/relation.c (spi_init_relation_type_table):
242 Add line for RELATION_POPUP_FOR
244 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
246 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
247 there are still windows which have not been deleted and emit
248 window:deactivate, if necessary and window:destroy events.
249 This fixes bug #114370. The change on June 5th was not correct.
251 2003-06-09 Bill Haneman <bill.haneman@sun.com>
253 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
256 (SPI_dupString): Allow dup-ing of a string such that it's safe to
258 New methods for client exception handling and interception.
259 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
260 (SPI_exceptionHandlerPop): You guessed it...
261 (SPI_getSourceType): Return the type of object which offended.
262 (SPI_getExceptionCode): Return an enum code telling, possibly,
263 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
264 (SPIAccessibleException_getSource): get the source object for
265 exceptions that come from Accessibles, if SPIExceptionSourceType is
266 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
267 (SPIException_getDescription): New, returns a string description of
268 the problem. [Not yet a stable ABI, strings are not frozen]
270 * cspi/spi-private.h:
271 Added implementation details of opaque SPIException
275 Implementations of above. Also
276 (_cspi_exception_throw): new private method that
277 dispatches exceptions to handlers, called from cspi-bonobo.c
279 * cspi/bonobo/cspi-bonobo.c:
280 (cspi_check_ev): call _cspi_exception_throw.
281 Don't print a warning message if the exception has been
282 handled by _cspi_exception_throw.
284 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
286 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
287 there are still windows which have not been deleted and emit
288 window:deactivate, if necessary and window:destroy events.
289 This fixes bug #114370.
291 2003-06-03 Bill Haneman <bill.haneman@sun.com>
294 (cspi_accessible_is_a): Make non-fatal
295 if the object reference is dead.
297 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
299 * cspi/spi_main.c: #include <stdio.h>
300 * test/simple-at.c: ditto
301 * test/event-listener-test.c: ditto
302 * test/screen-review-test.c: ditto
304 2003-05-30 Michael Meeks <michael@ximian.com>
306 * test/test-simple.c (main): use CORBA_ORB_perform_work
307 instead of an unnecessary linc_ call.
309 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
311 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
312 Add SPI_STATE_INDETERMINATE.
314 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
317 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
319 * libspi/stateset.c (init_state_type_tables): Add support for
322 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
324 * configure: Update versions of atk and gail required.
325 This fixes bug #113268.
327 2003-05-02 Bill Haneman <bill.haneman@sun.com>
329 * configure.in: Revved micro version to 1.3.1 (because of build fix).
331 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
333 * libspi/Makefile.am:
334 Ensure headers are generated before being used by c sources.
336 2003-05-01 Bill Haneman <bill.haneman@sun.com>
339 Simplified lt versioning rules.
340 Incremented version to 1.3.0, to indicate that we're on the
343 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
345 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
346 Add MKDB_OPTIONS=--outtput-format=xml
348 * docs/reference/cspi/at-spi-cspi-docs.sgml
349 docs/reference/idl/at-spi-idl-docs.sgml:
350 Convert to Docbook XML.
352 This fixes bug #111793.
354 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
356 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
357 AcccessibleKeyEventType, AccessibleKeyMaskType.
359 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
361 * cspi/state-types.h: Add documentation for AccessibleState.
363 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
364 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
365 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
366 AccessibleComponentLayer.
368 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
371 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
373 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
374 Accessible. Add description of AccessibleEvent,
375 AccessibleEventListenerCB.
377 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
380 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
381 documentation. Add description of AccessibleKeystrokeListenerCB,
382 AccessibleKeyEventMask, AccessibleModifierMaskType,
383 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
384 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
386 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
389 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
392 This fixes bug #104730.
394 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
396 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
397 Set is_text field of Accessibility_DeviceEvent data structure.
399 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
400 is-text field of AccessibleDeviceEvent data structure.
402 This addresses part of bug #108666.
404 * registryd/devcieeventcontroller.c: Unset debug option.
406 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
409 (cpi_initial_relation_type_table): New function which initializes
410 mapping between Accessibility_RelationType and AccessibleRelationType.
411 (cspi_relation_type_from_spi_relation_type): New function which
412 translates an Accessibility_RelationType into an AccessibleRelationType.
413 (AccessibleRelation_getRelationType): Use
414 cpi_relation_type_get_spi_relation_type to return correct value.
415 (spi_state_to_corba): Return correct type for default case.
417 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
418 Use Accessibility_EventType instead of Accessibility_KeyEventType.
420 * cspi/cspi-bonobo-listener.c:
421 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
424 * libspi/accessible.c, libspi/action.c, libspi/application.c,
425 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
426 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
427 libspi/image.c, libspi/listener.c, libspi/selection.c,
428 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
429 registryd/desktop.c, registryd/registry.c:
430 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
432 * libspi/eventlistener.c
433 Remove semicolon after BONOBO_TYPE_FUNC.
436 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
437 (spi_init_relation_type_table): Initialize using correct type.
439 * registryd/desktop.c:
440 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
441 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
442 of Accessibility_KeyEventType.
444 * test/key-listener-test.c (report_tab_key_event): Use fprintf
447 * tests/simple-at.c, tests/screen-review-test.c:
448 Add include for <strings.h>.
450 * tests.stress-test.c:
451 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
453 These changes fix compiler warnings when using FORTE compiler on
454 Solaris; fixes bug #107479.
457 2003-04-10 Bill Haneman <bill.haneman@sun.com>
460 * configure.in: revved to 1.1.10
463 (SPI_KEYMASK_NUMLOCK): Added.
465 * registryd/deviceeventcontroller.c:
466 (spi_key_event_matches_listener): AND with a smaller
467 bitmask (as we should).
468 (spi_dec_translate_mask):
469 New method, sets the virtual NumLock modifier bit
470 if numlock is on. Eventually it can handle other virtual
471 modifier bits if needed, or other marshalling from
472 at-spi modifier masks to platform (X) masks.
473 (spi_dec_key_listener_new):
474 Call spi_dec_translate_mask to set up virtual mod bits
475 in the 'mask' field when creating a new listener struct.
476 (spi_dec_emit_modifier_event):
477 Set the virtual (i.e. NumLock) bits before emitting event.
478 (spi_controller_register_with_devices):
479 Query for the NumLock modifier 'physical' bit if Xkb is
480 present, for use in above methods.
484 2003-04-10 Bill Haneman <bill.haneman@sun.com>
486 * registryd/deviceeventcontroller.c:
487 (spi_keystroke_from_x_key_event):
488 Instead of checking to see if the keysym is
489 printable, check the string from XLookupString
490 if available, get the first unicode character from it,
491 and call g_unichar_isprint to determine whether the
492 is_text flag should be TRUE or FALSE.
496 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
498 * atk-bridge/bridge.c: Add support for extended events
499 * cspi/spi_event.c: Add documentation and implementation for
501 * tests/event-listener-test.c: Add tests for extended events.
503 This fixes bugs #100424 and #100426.
505 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
507 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
508 of LT_CURRENT. This fixes bug #89350.
510 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
512 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
513 number of signal parameter values before accessing them. This fixes
516 2003-04-01 Bill Haneman <bill.haneman@sun.com>
518 * configure.in: Fixed duplicate inclusion of -lspi.
519 * branched for gnome-2-2/HEAD.
520 [created tag "gnome-2-2"]
522 2003-03-07 Bill Haneman <bill.haneman@sun.com>
524 * configure.in: 1.1.9 release.
527 2003-03-07 Bill Haneman <bill.haneman@sun.com>
529 [needed by GOK, to fix bugs 107985 and 107988]
530 * registryd/deviceeventcontroller.c:
531 (spi_dec_clear_unlatch_pending):
532 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
533 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
534 (spi_dec_init_mouse_listener):Emit warning if mouse button
536 (spi_device_event_controller_forward_mouse_event):
537 Removed unnecessary parens from a conditional.
538 (global_filter_fn):Added TODO comment.
539 (impl_generate_keyboard_event):
540 Cancel a pending relatch if a 'delatching' key was
543 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
545 * atk-bridge/bridge.c:
546 Change atk_signal_child_changed to atk_signal_children_changed.
547 Reorganize code in spi_atk_bridge_signal_listener().
549 * test/event-listener-test.c:
550 Add children_changed_listener and report_children_changed_event()
551 to test AccessibleChildEvent_getChildAccessible.
553 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
555 * cspi/spi_event.c (cspi_internal_event_get_text): Change
556 g_strdup to CORBA_String_dup (bug #105291)
558 * test/event-listener-test.c (report_text_event): Add call to
561 2003-02-28 Bill Haneman <bill.haneman@sun.com>
563 * registryd/deviceeventcontroller.c:
564 (spi_keystroke_from_x_key_event):
565 Fix string and keysym return codes to match modifier state.
568 2003-02-28 Bill Haneman <bill.haneman@sun.com>
570 * registryd/deviceeventcontroller.c:
571 (spi_keystroke_from_x_key_event):
572 Fix segv due to improper use of isprint(c). [bug #107254]
574 2003-02-24 Bill Haneman <bill.haneman@sun.com>
577 (get_accessible_text_boundary_type):
578 Move default return value to (new) default case in switch.
579 (get_accessible_text_clip_type):
580 Move default return value to (new) default case in switch.
582 * libspi/application.c:
583 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
584 Remove unused methods.
585 (impl_accessibility_application_register_object_event_listener):
586 Remove unused methods.
589 Added #include of <math.h>.
591 * registryd/deviceeventcontroller.c:
592 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
593 we don't currently use this method.
594 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
596 (impl_generate_key_event):
597 Remove unused variables.
598 (impl_generate_mouse_event):
599 Initialize button to zero, just in case we get an invalid
600 input. Added support for mouse buttons 4 and 5.
601 (spi_device_event_controller_new):
602 Removed unused variable declaration for 'private'.
604 Added #include of <gdk/gdk.h>
606 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
608 * configure.in: Update to work when X is not installed in expected
609 location. Fixes bug #105836.
611 * atk-bridge/bridge.c
612 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
614 (spi_atk_register_event_listener): Add signal listener for
616 (spi_atk_bridge_signal_listener): Event event when link-selected
617 signal is emitted. (bug #104622)
619 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
620 on returned string. (bug #105291)
622 * test/event-listener-test.c: Add test for link-selected.
624 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
626 * atk-bridge/Makefile.am: Correct typo in previous commit.
628 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
630 * atk-bridge/Makefile.am: Allow for build directory to be different
631 from source directory
633 * registryd/Makefile.am: Allow for build directory to be different
634 from source directory
638 2003-01-29 Bill Haneman <bill.haneman@sun.com>
641 Fixed dependencies for libcspi so that libspi gets pulled in
642 properly. Fixes 104741.
646 Clean up inline docs a little.
648 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
650 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
651 This is done by implementing AtkComponent for SpiAtkDesktop, which is
652 the AtkObject within an SpiDesktop.
653 This addresses bug #101524.
655 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
656 Remove call to gdk_init().
658 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
659 so that Display is set when SpiDesktop is created.
661 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
663 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
664 This fixes bug #102830.
666 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
668 * test/test-simple.c: Update to take account of fact that GailButton
669 now implements AtkText.
670 (create_text_window): Set name on AtkObject for GtkEntry.
671 (validate_accessible): Check accessible name before calling test_text().
673 * libspi/Makefile.am: Fix problem with building outside of source
674 directory. Bug #98120.
676 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
677 typo in documentation comments. Bug #94275.
679 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
681 * libspi/text.c (impl_getBoundedRanges): Bug fix.
683 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
686 Add includes to avoid compiler warnings on Solaris.
687 (impl_getRangeExtents): Bug fix.
689 2002-12-17 Bill Haneman <bill.haneman@sun.com>
691 Fix for 100944, [API addition approved by Gman and murrayc].
698 * idl/Accessibility_Text.idl:
699 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
700 (Text::getRangeExtents): New method for efficient
701 bounds query of a text range.
702 (Text::getBoundedRanges): New method for efficient
703 clipping of text to bounding boxes.
704 (unImplemented7, unImplemented8):
705 Removed these padding methods to preserve bincompat.
708 (impl_getRangeExtents): implementation of new IDL.
709 (impl_getBoundedRanges): implementation of new IDL.
710 (SpiTextRect): Internal use struct.
711 (_spi_text_rect_union): internal method, calculates union of two
712 SpiTextRect bounding rects.
713 (_spi_text_range_seq_from_gslist): internal method, allows us
714 to build our sequence efficiently as a gslist then convert it
716 (_spi_bounds_contain): internal method, determines whether
717 a text character is "in" or "out" of a clip rect according to
718 values of TEXT_CLIP_TYPE.
719 (spi_text_class_init): Initialize the new methods in the epv.
722 (AccessibleTextClipType): New enum used by screen review api.
723 (AccessibleTextRange): New struct used by screen review api.
724 (AccessibleText_getRangeExtents):
725 cspi binding for Accessibility_Text_getRangeExtents.
726 (AccessibleText_getBoundedRanges):
727 cspi binding for Accessibility_Text_getBoundedRanges.
728 (AccessibleTextRange_freeRanges): convenience method.
731 (AccessibleText_getRangeExtents):
732 cspi binding for Accessibility_Text_getRangeExtents.
733 (AccessibleText_getBoundedRanges):
734 cspi binding for Accessibility_Text_getBoundedRanges.
735 (AccessibleTextRange_freeRanges): convenience method.
736 (get_accessible_text_clip_type): internal conversion method.
737 (get_accessible_text_ranges_from_range_seq): internal conversion method.
739 * registryd/deviceeventcontroller.c:
740 (spi_dec_mouse_check):
741 Improved behavior for mouse:abs events
742 [same granularity as mouse:rel events, and no
743 events when mouse is idle].
745 2002-12-16 Michael Meeks <michael@ximian.com>
747 * cspi/spi_accessible.c (spi_state_to_corba): rename.
749 * libspi/stateset.c (state_spi_to_atk): split out
750 ( fix several remote array bounds nasties )
751 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
752 (impl_remove): make safe from array bounds issues.
753 (spi_atk_state_from_spi_state): impl.
755 * libspi/stateset.h (spi_state_set_cache_is_empty):
756 add a set of wrapper defines to get layering right.
758 * cspi/spi_accessible.c: update state set stuff to
761 2002-12-14 Michael Meeks <michael@ximian.com>
763 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
764 to avoid 2 roundtrips to the registry per key event
765 (spi_atk_bridge_key_listener): upd.
766 (deregister_application): release the dec.
768 * registryd/registry.c (notify_listeners_cb):
769 bin lots of re-enterant complexity - we no longer
770 do a round-trip bonobo ref here, ensure that a single
771 listener's exception failure won't poison all other
773 (impl_registry_notify_event): bin obvious memory leak.
775 2002-12-13 Michael Meeks <michael@ximian.com>
777 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
778 init the ev so the error is meaningful.
779 (spi_atk_bridge_key_listener): ditto.
781 * cspi/spi_main.c (cspi_ev): init the ev so we start
782 with a clean slate, otherwise the first exception
785 * cspi/spi_text.c (get_accessible_text_boundary_type):
786 add a fallthrough for no warnings.
788 * cspi/spi_registry.c: prune unused warnings.
790 * cspi/spi_main.c (cspi_object_take): fix
791 mind-blowing brokenness ( by watching the compile
794 * cspi/spi_accessible.c (Accessible_getStateSet):
795 re-impl. to use an AtkStateSet.
796 (spi_state_type_from_accessible_state),
797 (init_state_table): bin these.
799 * libspi/stateset.c (spi_atk_state_set_from_sequence):
801 (atk_state_set_from_accessibility_state_set): here.
803 * cspi/spi_accessible.c (spi_state_to_atk): impl.
804 (AccessibleStateSet_contains, AccessibleStateSet_ref),
805 (AccessibleStateSet_unref, AccessibleStateSet_contains),
806 (AccessibleStateSet_add, AccessibleStateSet_remove),
807 (AccessibleStateSet_equals, AccessibleStateSet_compare),
808 (AccessibleStateSet_isEmpty): re-write to use a local
811 2002-12-13 Bill Haneman <bill.haneman@sun.com>
813 * configure.in: Revved to 1.1.7 (new keymask vals).
815 2002-12-10 Bill Haneman <bill.haneman@sun.com>
818 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
820 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
823 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
824 to compare two CORBA_TypeCodes.
825 (cspi_internal_event_add): Silence warning from FORTE compiler.
827 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
828 avoid implicit declaration of functions.
830 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
832 * atk-bridge/bridge.c:
833 (spi_atk_bridge_init_event_type_consts): Store signal id for
834 active-descendant-changed signal.
835 (spi_atk_register_event_listeners): Add signal listener for
836 active-descendant-changed signal,
837 (spi_atk_bridge_signal_listener): Move code in function
838 spi_atk-signal_emit_event() into this function.
839 Add support for active-descendant-changed
840 Update support for child-changed signal.
841 (spi_bridge_window_event_listener): Silence warning.
843 * libspi/spi_private.[ch]:
844 (spi_init_any_object): Change second parameter from CORBA_Object to
846 Omit call to CORBA_Object_duplicate().
847 Set CORBA_any's _value to CORBA_Object*.
849 2002-12-06 Bill Haneman <bill.haneman@sun.com>
855 (AccessibleEvent_ref, AccessibleEvent_unref):
856 New methods, for persisting an event outside the emission context.
857 Must be used if the new accessor methods are to be called
858 outside of the event listener's callback.
860 * cspi/bonobo/cspi-bonobo.c:
861 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
862 as second parameter instead of NULL, so we can call
863 cspi_check_ev afterwards.
866 (cspi_object_take): New internal method,
867 converts a CORBA_Object reference to a hard ref on
868 an Accessible if possible, returning NULL if the object
869 reference is invalid or an Accessible * otherwise.
872 (AccessibleEvent_ref):
873 Increment the event's internal private refcount, and
874 add the event's internal struct to an internal cache
875 if it's not already there.
876 (AccessibleEvent_unref):
877 Decrement the event's refcount and remove it from
878 the cspi event cache if refcount==0.
879 (cspi_event_compare): New private method.
880 Compares two event structs via their ids. Used
882 (cspi_internal_event_lookup): New private method.
883 (cspi_internal_event_check): New private method,
884 a 0-order sanity check for events to make sure their
885 private data is intact.
886 (cspi_internal_event_add, cspi_internal_event_remove):
887 New private methods for managiing the event cache.
889 * cspi/bonobo/cspi-bonobo-listener.c:
891 Initialize the new private data elements (id, magic, ref_count).
893 * atk-bridge/bridge.c:
894 (spi_atk_bridge_signal_listener):
895 Fixed bug #100530, passing wrong params to emission func.
897 * registryd/deviceeventcontroller.c:
898 (spi_dec_button_update_and_emit):
899 Fixed type in mask bit operations; fix for #99799.
901 2002-12-02 Bill Haneman <bill.haneman@sun.com>
903 Removed some of the more dangerous workarounds from
904 previous commit; they are only needed by GOK, which
905 in reality should be using another method to accomplish
906 the goals. So on reconsideration some of the workarounds
909 * registryd/deviceeventcontroller.c:
910 (spi_keycodes_contain, spi_dec_init_keycode_list):
911 Removed these methods, used only by a nasty hack to try
912 and detect whether a key synthesis should be allowed
913 to reset the XKB latch state or not. This code was only
914 required to work around an interaction between GOK,
915 button events, and XKB.
916 (impl_generate_key_event):
917 Removed hack at end of key generation that tried to
918 "do the right thing" if XKB latch keys were generated
919 in the midst of button press/release pairs.
922 Added a check for HAVE_XINPUT. Not normally used yet.
924 2002-11-25 Bill Haneman <bill.haneman@sun.com>
926 Workarounds and fixes for mouse event/XKB interaction.
928 * registryd/deviceeventcontroller.c:
929 (spi_keycodes_contain, spi_dec_init_keycode_list):
930 New internal methods.
931 (spi_dec_set_unlatch_pending):
932 Split the method that tells XKB to expect an
933 unlatch (and revert it) out of the rest of the
934 event handling code. This method is called by the
935 two mouse event handlers (the poll and the filter).
936 (spi_dec_update_and_emit, spi_dec_mouse_check):
937 New methods split from spi_dec_poll_mouse_moved.
938 The second one is now called from inside the filterFn
939 when an XKB delatch event is received, to determine
940 whether to revert the delatch or not.
941 (spi_poll_mouse_moved): Refactor; also we can now
942 properly handle the case where multiple button states
943 have changed between polling cycles and we didn't get
944 notified due to another client's grab.
946 Synchronize the server while handling an XKB notification.
947 Ugly, but apparently necessary to avoid nasty races.
948 Check the mouse state on receipt of an XKB latch change,
949 to decide whether to revert the latch or not. (Latches are
950 reverted if there is an immediately preceding mouse button
951 event that a client has consumed, in which case we don't want
952 the user to see the side-effect of the event).
953 (spi_device_event_controller_forward_mouse_event):
954 Check for modifier events and fire before resetting mouse_mask_state,
955 prevents losing modifier events.
957 (impl_generate_keyboard_event):
958 If we've just generated a keyboard event for a non-shift key,
959 we don't want to revert the pending XKB latch.
960 Otherwise, check the modifier state (via a call to
961 spi_dev_mouse_check) and set the relatch mask to
962 that state before returning.
964 2002-11-24 Bill Haneman <bill.haneman@sun.com>
967 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
970 * atk-bridge/bridge.c:
971 (spi_atk_register_event_listeners):
972 Don't re-register for ATK events if the registry has died
973 and the app needs to re-register; the ATK listeners are in
974 process and doing so will cause duplicate emission.
976 * registryd/deviceeventcontroller.c:
977 (spi_poll_mouse_moved):
978 Reformat the source, detect and emit multiple button-change
979 events (i.e. if multiple buttons have changed between poll
981 Add code to detect mouse-down events even when the pointer
982 is grabbed; workaround for GOK bug 98420.
983 (spi_controller_register_with_devices):
984 Call XTestGrabControl with 'impervious' flag set to True,
985 allows us to synthesize events and query the pointer even during
986 an active grab by another client.
987 (spi_device_event_controller_forward_mouse_event):
988 Set the mouse_mask_state to the mouse_button_state from
989 the intercepted event, to synchronize the grab listener with
992 2002-11-20 Bill Haneman <bill.haneman@sun.com>
994 * cspi/spi_accessible.c:
995 (AccessibleRole_getName):
996 Added necessary strings for making this (deprecated)
997 method work with the new role types.
998 (init_role_table, role_table):
999 Added definition of SPI_ROLE_APPLICATION.
1001 * libspi/spi-roletypes.h:
1002 Added SPI_ROLE_APPLICATION.
1004 * idl/Accessibility_Role.idl:
1005 Added ROLE_APPLICATION.
1007 * docs/reference/cspi/at-spi-cspi-decl.txt:
1008 Added SPI_ROLE_APPLICATION to docs.
1010 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1012 * cspi/spi_accessible.c
1013 (cspi_init_role_table): Do not write beyond end of role_table.
1014 (Accessible_getRole): Use correct type for value returned by
1015 Accessibility_Accessible_getRole().
1017 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1018 beyond end of role_table. (This fixes bug #98269)
1020 * libspi/application.c: Add include file spi-private.h for
1021 definition of spi_init_any_nil.
1023 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1027 * libspi/spi-private.h:
1028 Added DGB() macro, and extern int _dbg declaration.
1030 * registryd/registry.c:
1031 (definitions) storage for _dbg.
1032 (spi_registry_init):
1033 Get environment variable "AT_SPI_DEBUG".
1034 (spi_registry_set_debug):
1035 New method, to initialize _dbg value.
1036 (spi_listener_struct_new, spi_registry_object_finalize):
1037 (notify_listeners_cb):
1038 Changed fprintfs to use DBG and g_warning().
1040 * registryd/deviceeventcontroller.c:
1041 (_deregister_keygrab, spi_controller_register_device_listener):
1042 Changed debug/warning messages to use DBG macro.
1044 * libspi/listener.c:
1045 (impl_notify_event):
1046 Changed warning messages to use DBG macro and g_warning().
1048 * atk-bridge/bridge.c:
1049 (atk_bridge_init, spi_atk_bridge_get_registry):
1050 (spi_atk_bridge_exit_func):
1051 (spi_atk_bridge_property_event_listener):
1052 Changed status, warning, and error messages to use
1053 g_warning, g_message, and DBG macros.
1056 Read the state of the AT_SPI_DEBUG environment variable
1057 and set a local '_dbg' accordingly.
1059 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1061 FIXES for 98836, 98842, other bugs.
1064 Revved to 1.1.4, interface-age=4, binary-age=4.
1066 * registryd/deviceeventcontroller.c:
1068 Fixed crasher bug in last_mouse_pos initialization.
1070 * registryd/registry.c:
1071 (desktop_add_application, desktop_remove_application):
1072 Added (and then commented out) some support for
1073 object context marshalling. [TODO]
1075 * atk-bridge/bridge.c:
1076 (spi_atk_bridge_event_context_create):
1077 Commented out object context creation until it can
1078 be properly tested and debugged.
1080 * registryd/registry.c:
1081 (impl_registry_notify_event):
1082 Fixed crasher bug, we were calling
1083 spi_re_entrant_list_foreach () with an empty list.
1085 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1087 * idl/Accessibility_Action.idl:
1088 * idl/Accessibility_Component.idl:
1089 * idl/Accessibility_Desktop.idl:
1090 * idl/Accessibility_Event.idl:
1091 * idl/Accessibility_Hyperlink.idl:
1092 * idl/Accessibility_Image.idl:
1093 * idl/Accessibility_Relation.idl:
1094 * idl/Accessibility_Selection.idl:
1095 * idl/Accessibility_State.idl:
1096 * idl/Accessibility_Value.idl:
1097 Updated unimplemented slot count to minimum of
1098 four for all interfaces, for ABI freeze.
1100 * idl/Accessibility_EditableText.idl:
1101 * idl/Accessibility_Text.idl:
1102 Updated unimplemented slot count to six
1105 * idl/Accessibility_Registry.idl:
1106 Updated unimplemented slot count to six
1107 (also for DeviceEventController),
1110 * idl/Accessibility_Table.idl:
1111 Updated unimplemented slot count to eight,
1114 * idl/Accessibility_Event.idl:
1115 Added CORBA_any "any_data" member to Event struct.
1117 * idl/Accessibility_Event.idl:
1118 Added CORBA_any "any_data" member to Event struct.
1120 * atk-bridge/bridge.c:
1122 atk_signal_text_changed, atk_signal_child_changed,
1123 signal ids queried from gtype system.
1124 (AtkBridgeEventContextType): New enum.
1125 (AtkBridgeEventContextData): New struct.
1126 (AtkBridgeEventContext): New struct.
1127 (atk_bridge_init_event_type_consts):
1128 New method, initializes type contants for comparison
1129 prior to emit_eventv.
1130 (atk_bridge_event_context_init): New method,
1131 initializes a CORBA_any from an AtkBridgeEventContext.
1132 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1133 initialize the event.any_data struct.
1134 (spi_atk_bridge_event_context_create): New method,
1135 creates an AtkBridgeEventContext from signal/event info.
1136 (spi_atk_bridge_event_context_free): New method.
1137 (spi_atk_emit_eventv): Changed to take an
1138 AtkBridgeEventContext parameter. We now initialize
1139 the event.any_data member prior to notifying the
1140 Registry, via the AtkBridgeEventContext.
1141 (spi_atk_bridge_property_event_listener):
1142 (spi_atk_bridge_state_event_listener):
1143 Match emit_eventv signature.
1144 (spi_atk_bridge_object_event_listener):
1145 Match emit_eventv signature, and create an
1146 event context from the event details.
1147 Free the event context afterwards.
1148 (spi_atk_bridge_window_event_listener):
1149 Create an event context, pass it to the
1153 (AccessibleEvent_getContextString):
1154 (AccessibleEvent_getContextObject):
1155 New methods, allow query of AccessibleEvent objects
1156 for more context details (via the "any_data" member
1157 of the Event struct, above).
1160 Definitions for AccessibleEvent_getContextString
1161 and AccessibleEvent_getContextObject.
1163 * cspi/spi_listener.h:
1164 (InternalEvent): New struct.
1167 (AccessibleEvent_getContextString):
1168 (AccessibleEvent_getContextObject):
1169 Implementations of new methods, for obtaining
1170 additional context information from some event types.
1172 * cspi/spi_registry.c:
1173 (SPI_registerGlobalEventListener):
1174 Added mention of active-descendant-changed event in docs.
1176 * cspi/cspi-bonobo-listener.c:
1178 Marshal the any into the AccessibleEvent via
1181 * libspi/spi-private.h:
1182 #include <orbit/orbit.h>
1184 (spi_init_any_string):
1185 (spi_init_any_object):
1186 New convenience function declarations.
1190 (spi_init_any_string):
1191 (spi_init_any_object):
1192 New convenience function implementations.
1194 * registryd/deviceeventcontroller.c:
1195 (spi_poll_dec_mouse_moved):
1196 (spi_device_event_controller_forward_mous_event):
1197 Initialize any_data member of event.
1198 (spi_deregister_controller_device_listener):
1199 Fix incorrect param pass which was preventing deregistration.
1201 * registryd/registry.c:
1202 (desktop_add_application):
1203 (desktop_remove_application):
1204 Add object data to event's any_data before dispatch.
1206 Fix for error messages from GAIL.
1208 * test/event-listener-test.c:
1209 Test new ContextString and "any_data" API:
1210 (report_text_event): New method query and output context string.
1211 (main): register a new text listener with report_text_event
1214 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1216 Fixes for bugs 98127 and 97914.
1217 * cspi/spi-roletypes.h:
1218 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1220 * cspi/spi-statetypes.h:
1221 Added SPI_STATE_MANAGES_DESCENDANTS
1223 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1224 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1225 * cspi/spi_accessible.c:
1226 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1227 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1228 Accessibility_STATE_MANAGES_DESCENDANTS
1229 * libspi/accessible.c:
1230 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1231 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1232 As requested by Bill, I also cleaned up the alignment.
1233 * libspi/relation.c:
1234 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1235 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1236 * libspi/stateset.c:
1237 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1238 Accessibility_STATE_MANAGES_DESCENDANTS
1239 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1240 Document changes reflecting modifications to roles.
1241 * docs/reference/cspi/tmpl/spi_relation.sgml:
1242 Document changes reflecting modifications to relations.
1243 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1244 Document changes reflecting modifications to states.
1246 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1249 Revved to 1.1.3, interface-age=3, binary-age=3.
1250 Added REBUILD macro.
1253 Removed accessx-gui from the tests, since we have a nice
1254 keyboard accessibility capplet now :-)
1256 * test/keysynth-demo.c:
1257 (increment_scan): removed do-nothing default: case,
1260 * test/visual-bell.c:
1261 (main) : removed do-nothing default: case,
1264 * cspi/spi_action.c:
1265 (AccessibleAction_getKeyBinding_):
1266 Documented keybinding string format.
1270 (AccessibleText_getAttributes):
1271 Documented the text attribute string format.
1272 It's changed to use semicolon delimiters also,
1273 to prevent clashes with CSS attributes, but the old
1274 trick of looking for ", " strings will still work
1275 (as unreliably as ever). Fix for bug related to 97916.
1278 Include <cspi/bonobo/cspi-bonobo-listener.h>
1279 Fixes build warning.
1280 (SPI_freeAccessibleKeySet):
1281 (AccessibleKeystrokeListener_addCallback):
1282 (AccessibleKeystrokeListener_removeCallback):
1283 Modify to use AccessibleDeviceListener API internally,
1284 instead of AccessibleKeystrokeListener.
1286 * idl/Accessibility_Event.idl:
1287 Added two more empty slots to EventListener (for a total of four).
1289 * idl/Accessibility_Accessible.idl:
1290 Added four empty slots to Accessible interface.
1292 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1294 * idl/Accessibility_Registry.idl:
1295 (KeyEventType, EventType):
1296 Marked KeyEventType as deprecated; it duplicates
1297 functionality of EventType, which has been extended to
1298 include Mouse-button events.
1299 (KeyEventTypeSeq): defined in terms of EventType.
1300 (registerDeviceEventListener, deregisterDeviceEventListener):
1301 New methods, for managing listeners to device events,
1302 which potentially may consume them.
1305 Added definition for AccessibleDeviceListener.
1307 * cspi/spi-listener.h:
1308 (enum AccessibleDeviceEventType):
1309 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1310 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1311 for backwards compat.
1312 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1313 and typedef'd AccessibleKeystroke to it for back-compat.
1314 (AccessibleDeviceListenerCB):
1315 New function prototype typedef.
1318 (AccessibleDeviceEventMask): New typedef.
1319 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1320 (AccessibleKeyMaskType):
1321 Set equivalent to AccessibleModifierMaskType for back-compat.
1322 (SPI_createAccessibleKeystrokeListener):
1323 (AccessibleKeystrokeListener_unref):
1324 Deprecated in favor of equivalent (better-named) new API below..
1325 keystroke listeners are like all device listeners.
1326 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1327 New API names for old features :-).
1328 (AccessibleDeviceListener_addCallback):
1329 (AccessibleDeviceListener_removeCallback):
1330 (SPI_registerDeviceEventListener):
1331 (SPI_deregisterDeviceEventListener):
1335 (SPI_createAccessibleKeystrokeListener):
1336 Use new preferred API, cspi_device_listener_new() and
1337 cspi_device_listener_add_cb().
1338 (AccessibleKeystrokeListener_removeCallback):
1339 Use new preferred API, cspi_device_listener_remove_cb().
1340 (AccessibleKeystrokeListener_unref):
1341 Use new preferred API, cspi_device_listener_unref().
1342 (SPI_createAccessibleDeviceListener):
1343 (AccessibleDeviceListener_addCallback):
1344 (AccessibleDeviceListener_removeCallback):
1345 Implementation of new API.
1347 * cspi/spi_registry.c:
1348 (SPI_registerDeviceEventListener):
1349 (SPI_deregisterDeviceEventListener):
1350 Implementation of new API. Fixed memory leak and removed need to
1351 allocate EventTypeSeq (thanks Michael for catching this).
1352 Squashed a wayward CORBA_exception_free that shouldn't get called.
1354 * cspi/bonobo/cspi-bonobo-listener.c:
1356 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1357 (cspi_key_event): renamed to cspi_device_event().
1358 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1359 Extended to handle mouse button events as well as key events.
1360 (CSpiKeystrokeListener):
1361 Class superceded by CSpiDeviceListener.
1362 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1363 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1365 * cspi/bonobo/cspi-bonobo-listener.h:
1366 (CSpiKeystrokeListener):
1367 Class superceded by CSpiDeviceListener.
1368 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1369 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1371 * libspi/Makefile.am:
1372 Replaced keystrokelistener.h and keystrokelistener.c
1373 with devicelistener.h and devicelistener.c; keystrokelisener.h
1374 stub retained for back-compat.
1376 * libspi/keystrokelistener.c:
1380 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1382 * registryd/deviceeventcontroller.c:
1383 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1384 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1385 (DEControllerPrivateData): Added xkb settings data.
1386 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1387 button release events (which can't be captured via XGrabButton).
1388 Don't dispatch via the 'normal' event mechanism if the device event was
1390 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1391 Handle the typeseq data in its new location (see above).
1392 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1393 New methods, for "generic" device listeners.
1394 (spi_controller_register_device_listener):
1395 Now handle mouse event listeners as well as key listeners.
1396 (spi_controller_notify_mouselisteners):
1397 New internal method.
1398 (spi_device_event_controller_forward_mouse_event):
1399 Now we notify mouse device listeners as well as generating the
1400 non-consumable "mouse:" events.
1402 We must check and restore the XKB
1403 modifier map if we consume the event, since the act of triggering
1404 a mouse event will normally reset the XKB latch. This is required for
1406 (spi_controller_register_with_devices):
1407 Load the XKB settings when registering, and register for XKB
1408 state notify events.
1409 (spi_key_eventtype_seq_contains_event):
1410 Renamed spi_eventtype_seq_contains_event, since it's used
1411 internally for all device event types now.
1412 (spi_key_event_matches_listener):
1413 Uses spi_eventtype_seq_contains_event now.
1414 (spi_device_event_controller_object_finalize):
1415 Free the private data and the XkbKeyboard struct.
1416 (impl_register_device_listener, impl_deregister_device_listener):
1417 Implementation of new IDL.
1418 (spi_deregister_controller_device_listener):
1419 New internal method.
1420 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1421 More efficient implementation, we don't have to create a new
1422 XkbControls structure every time we query.
1423 (spi_device_event_controller_class_init):
1424 Initialize the epv entries for the new IDL. Assign the
1425 "spi-dec-private" quark.
1426 (spi_device_event_controller_init):
1427 Initialize the private data.
1428 (spi_device_event_controller_forward_key_event):
1429 Removed a bogus CORBA_exception_free() call.
1431 * registryd/deviceeventcontroller.h:
1432 Replaced inclusion of keystrokelistener.h with
1435 * test/event-listener-test.c:
1436 (report_mouse_event):
1439 Added mouse-event device listener.
1441 * test/test-simple.c:
1442 (create_test_window):
1443 Fixed regression (we were instantiating a GtkRange,
1444 which is now an abstract class). Also fixed to match
1445 existing AtkRole names, this seems to have changed in ATK
1446 awhile ago; too late now I think, and the new
1447 mechanism is at least elegant and consistent with the
1448 glib enum "nick" APIs.
1450 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1452 * idl/Accessibility_Relation.idl:
1453 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1454 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1455 * idl/Accessibility_Role.idl:
1456 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1457 * idl/Accessibility_State.idl:
1458 add STATE_MANAGES_DESCENDANTS
1459 * test/event-listener-test.c:
1460 Added a listener for active-descendant events.
1462 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1464 * atk-bridge/bridge.c
1465 (atk_bridge_init): If application is Bonobo component wait until top
1466 level is added before registering
1467 (spi_atk_bridge_do_registration): New function which contains code,
1468 formerly in atk_bridge_init, to do application registration.
1469 (spi_atk_bridge_toplevel_added): Signal called when top level
1470 added to Bonobo component
1472 This fixes bug #83134.
1474 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1476 * registryd/deviceeventcontroller.c
1477 Fixed compilation error caused by calling gettimeofday()
1480 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1485 Added template for HAVE_XKB.
1488 Changes to check for XKB, and to set the HAVE_XKB #define if it
1491 * libspi/listener.c:
1492 ()impl_notify_event): Make failure to get event source name
1495 * registryd/deviceeventcontroller.c:
1496 (#include): include X11/XKBlib.h.
1497 (DEControllerPrivateData) : New struct.
1498 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1500 (dec_synth_keycode_press) (dec_synth_keycode_release):
1501 New methods; split the key synthesis code into these methods.
1502 They check XKB settings before determining the "time" values to
1503 pass to Xtest; this fixes bug #95828.
1504 (impl_generate_keyboard_event): Changed to use methods above,
1505 instead of callng Xtest directly.
1506 (spi_device_event_controller_init): Initialize new privae struct s
1508 (spi_device_event_controllr_object_finalize):
1509 Free the (new) private data.
1511 * registryd/deviceeventcontroller.h:
1512 Add new gpointer to end of struct data.
1514 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1517 Incremented revision to 1.1.2, SONAME is still '.so', library
1518 extensions are ".so.0.0.2".
1520 * registryd/deviceeventcontroller.c:
1521 FIXES FOR #93592 and #95940.
1522 (statics): renamed mouse_button_state to mouse_mask_state,
1523 added key_modifier_mask.
1524 (spi_dec_poll_mouse_moved):
1525 Added key modifier checks, and emit "keyboard:modifiers"
1526 events when the key modifiers currently in use change.
1527 Also generate "mouse:abs" events periodically, even if the mouse
1528 is stationary (should we?).
1529 Alternatively we could generate "mouse:abs" events for either all
1530 mouse movements, or every 'nth' mouse movement, or at the
1531 beginning and end of every "active" mouse period.
1533 * test/event-listener-test.c:
1534 (main): Added listener for "keyboard:modifiers" events.
1536 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1538 * libspi/keymasks.h:
1539 Added key mask #defines for mouse buttons; e.g.
1540 SPI_KEYMASK_BUTTON1, etc.
1543 Incremented dependency on ATK to version 1.1.0. (This dependency
1544 is probably premature but will soon be real enough).
1546 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1548 * libspi/hyperlink.[ch]
1549 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1550 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1553 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1558 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1560 * registryd/deviceeventcontroller.c
1561 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1562 events to be ignored.
1563 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1564 keyboard_mode so that XAllowEvents() can be called.
1568 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1570 * cspi/spi-accessible.c: Correct names of roles returned by
1571 AccessibleRole_getName(). Fixes bug #95055.
1573 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1575 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1578 * registryd/registry.c
1579 (desktop_remove_application: Write diagnostic message to stderr for
1582 (impl_accessibility_registry_deregister_global_event_listener):
1583 Correct size of lists array. This addresses bug #94555).
1585 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1587 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1590 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1592 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1595 * registryd/registry.c (impl_registry_notify_event): Remove
1596 unnecessary call to parser_event_type().
1598 * docs/reference/cspi/tmpl/spi_component.sgml:
1599 Add reference to SPI_LAYER_WINDOW.
1601 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1603 * registryd/registry.c
1604 (desktop_add_application): Remove leak.
1605 (desktop_remove_application): Remove leak.
1606 (parser_event_type): Remove leak.
1608 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1610 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1611 bogus call to CORBA_string_dup(). Also removed unnecessary
1612 g_string_dup/g_free calls.
1614 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1616 * registryd/deviceeventcontroller.c:
1617 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1619 * test/event-listener-test.c:
1620 main: commented out three redundant listeners, to reduce output
1621 noise. (They still are potentially useful for testing).
1624 2002-09-13 Michael Meeks <michael@ximian.com>
1626 * Update all the copyrights to include Ximian.
1628 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1630 * cspi/spi.h: add SPI_LAYER_WINDOW.
1632 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1633 add Accessibility_LAYER_WINDOW case.
1635 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1637 * libspi/component.c: (impl_accessibility_component_get_layer):
1638 add ATK_LAYER_WINDOW case.
1640 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1642 * configure.in: incremented micro version.
1644 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1646 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1649 Clarified and reworded our commit policy.
1652 Started an API "todo" addition list for 2.2.
1655 (impl_getSelection):
1656 Free char pointer from atk_text_get_selection, which was being leaked.
1658 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1661 Small revision to author acknowledgement.
1663 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1665 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1666 If signal has detail add it to the type of the event.
1669 2002-08-12 Michael Meeks <michael@ximian.com>
1671 * test/test-simple.c (global_listener_cb): bin bogosity.
1672 (test_keylisteners): disable, still doesn't work reliably,
1673 certainly not on my system anyway.
1675 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1676 don't leak a reference on the DEC. This round-trip
1677 fetching of the DEC per keystroke sucks, it should be
1680 * cspi/spi-private.h,
1681 * cspi/cspi-lowlevel.h,
1682 * cspi/bonobo/cspi-bonobo-listener.[ch],
1683 * cspi/bonobo/cspi-bonobo.c: get the copyright
1684 notices better - there is still a large amount of
1685 work in at-spi falsely attributed solely to Sun.
1687 * cspi/spi_main.c (cspi_object_ref): kill bogus
1688 hash lookup, just increment the ref.
1689 (SPI_freeString): make explicit the fact that we
1690 handle NULL strings just fine.
1691 (report_leaked_ref): obey coding standards.
1692 (cspi_object_hash, cspi_object_equal): kill retval.
1693 (cspi_object_release): only release if not on loan.
1694 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1695 (cspi_object_borrow, cspi_object_return): impl.
1697 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1698 use cspi_object_borrow / return.
1700 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1702 * cspi/bonobo/cspi-bonobo-listener.c:
1704 Don't call cspi_oject_new() because this is creating a new Accessible
1705 every single time that an event is fired. This causes ATs like at-poke
1706 to nolonger recognise the source of the event and thus ignore it.
1707 Re-use the object from the cache, ref it and then unref it after the
1708 listeners have been called.
1710 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1712 * test/event-listener-test.c:
1713 Added command-line options to disable mouse events (m) and
1716 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1718 * configure.in: Update required versions of ATK, GTK+ and GAIL
1720 * cspi-1.0.pc.in: Add dependency for X include files
1723 * cspi/bonobo/Makefile.am:
1724 Add $(X_CFLAGS) so that X include files
1725 are picked up even if not in standard place (bug #71686)
1727 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1729 * registryd/deviceeventcontroller.c: fix for 84261
1730 (spi_dec_mouse_moved):
1731 Added test of mouse button mask, so that we can detect mouse
1732 button release. Unfortunately we can't otherwise detect mouse
1733 button release events without consuming the mouse press event,
1734 because of the way XGrabButton works. This means that our mouse
1735 release events have a latency dependent on the polling period
1736 while the mouse button is down. At least in this case we only
1737 have to poll while the button is down, and not at other times.
1738 If the button masks don't match with what the last press event
1739 reported, we report the appropriate button release event.
1740 (spi_dec_ungrab_mouse):
1741 New method (not yet called).
1742 (spi_device_event_controller_forward_mouse_event):
1743 New method, sends mouse press event from GdkFilter.
1744 (spi_dec_init_mouse_listener):
1745 Added code to call XGrabButton, redirecting mouse button events to
1746 the root window and our Gdk event loop.
1748 Added code to filter mouse button events, and reordered.
1750 * test/event-listener-test.c:
1752 Added registration for mouse events of type "mouse:button".
1754 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1756 * registryd/deviceeventcontroller.c: partial fix for 84261
1757 (spi_dec_poll_mouse_idle):
1758 New method, a timeout which checks to see if the mouse
1760 (spi_dec_poll_mouse_moving):
1761 A timeout to be called when mouse motion is underway.
1762 (spi_dec_poll_mouse_moved):
1763 A method which fires an event if the mouse has moved, and reports
1764 whether or not it did so.
1765 (spi_dec_init_mouse_listener):
1766 A method which sets up the timeouts above.
1767 (spi_device_event_controller_new):
1768 Now calls spi_dec_init_mouse_listener.
1770 * registryd/registry.c:
1771 (spi_registry_init):
1772 Now we initialize the device event controller when the registry is
1773 initialized, instead of waiting until a client has requested a key
1774 event notification; this is because we need the event controller
1775 for mouse events, but the mouse event registration API is a
1776 "registry" call and doesn't explicitly call the
1777 deviceeventcontroller.
1778 We now report mouse motion events with a 100 ms idle latency and
1779 a 20 ms granularity when motion is in progress.
1781 * test/event-listener-test.c:
1783 We now register the "detail listener" for events of type
1784 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1785 delivered only for the first mouse event received, and thereafter
1786 "mouse:abs" events are delivered.)
1788 * cspi/spi_registry.c:
1789 DOCS: Documented the above mouse event typestrings.
1791 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1793 Happy Summer Solstice...
1795 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1796 (spi_controller_notify_keylisteners):
1797 Changes to remove a listener from the listener list, freeing its
1798 open keygrabs, if a notification to that listener fails. This
1799 means that although a dead listener can continue to hold a passive
1800 keygrab, a maximum of one dispatch to such a listener can fail
1801 before the listener is removed from the list, thus the keygrab
1802 will be released on the next occurrence.
1803 As part of this fix:
1804 (spi_notify_keylisteners):
1805 Renamed to spi_controller_notify_keylisteners, as the controller
1806 instance must now be passed as an argument.
1807 The copied 'notify' GList is now a list of DEControllerKeyListener
1808 objects, since we need more than just the CORBA reference if a
1809 notify fails and we need to deregister the listener.
1810 (impl_notify_listeners_sync):
1811 (impl_notify_listeners_async):
1812 (spi_device_event_controller_forward_key_event):
1813 Modify use of notify_keylisteners in accordance with above
1815 (spi_deregister_controller_key_listener):
1816 New method introduced by refactoring, from
1817 impl_deregister_keystroke_listener.
1818 (impl_deregister_keystroke_listener):
1819 Call spi_deregister_controller_key_listener.
1820 (spi_key_listener_clone):
1821 New method to copy a key listner without doing a 'ref' on the
1822 remote object instance; used to create a notifier list.
1823 (spi_key_listener_data_free):
1824 New method, frees data without unreffing the source.
1826 (spi_key_listener_clone_free): new method.
1827 (spi_key_listener_free):
1828 refactored to call spi_key_listener_data_free.
1830 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1832 * registryd/registry.c: [fix for bug 86048]
1833 (notify_listeners_cb):
1834 Clear CORBA system exceptions which occur when notifying
1835 listeners, before returning to the source of the original event,
1836 since the event source doesn't care if the relayed notify failed.
1837 In other words, don't complain to the atk-bridge if the registry
1838 could not notify all its listeners, that's no fault of the
1839 application and thus should not appear to be an error from the
1840 application's perspective.
1842 * cspi/spi_main.c: [fix for bug 85980]
1844 Replaced use of bonobo_object_dup_ref with call to the wrapper
1845 method, csou_dup_ref (); this silences a compiler warning and
1846 provided more portability.
1848 Ping the registry before return, and restart if necessary.
1850 * cspi/bonobo/cspi-bonobo.c:
1852 New internal method.
1854 Fixed this method to return an object reference, as it should have
1857 * cspi/cspi-lowlevel.h:
1858 Added internal definition for cspi_ping() and fixed
1859 return type of cspi_dup_ref().
1862 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1864 * atk-bridge/bridge.c: [fix for bug 85305]
1865 (spi_atk_bridge_register_application):
1866 New method where the initial application registry calls have been
1867 moved; it allows an application to re-register in response to
1868 certain error conditions (such as a registry restart, see below).
1870 Moved some initialization code to the method
1871 spi_atk_bridge_get_registry, below.
1872 (spi_atk_bridge_get_registry):
1873 New, private accessor function for the Accessibility_Registry
1874 instance. If the registry has not been started before, or has
1875 died (as detected by failure of a CORBA exception), it is
1876 restarted before return, and spi_atk_bridge_register_application
1877 is called again to register with the new bridge instance.
1878 (spi_atk_emit_eventv):
1879 Set registry_died on error; use spi_atk_bridge_get_registry () to
1880 access the registry.
1882 * registryd/registry.c:
1883 (impl_accessibility_registry_register_global_event_listener):
1884 Set listener's event_type_quark to etype.minor instead of
1885 etype.major (fix for bug 84856).
1887 * test/event-listener-test.c:
1888 (report_detail_event):
1889 Change the output string so that user/tester can tell that the
1890 'detail listener' was called instead of the 'generic listener'.
1892 2002-06-18 Bill Haneman <bill.haneman@sun.com>
1894 Fixes for bugs 84900, 84908, 84897, 84898.
1899 Revved version to 1.1.0
1900 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
1901 version is going to HEAD which will be used for gnome-2-0-1 and later.)
1903 * idl/Accessibility_Registry.idl:
1904 (EventListener::notifyEvent):
1905 Removed 'oneway' directive after extensive consulation with
1906 ORBit2 team and others. This means also that unref() of the event
1907 source can and should be done synchronously after emission, rather
1908 than remotely in the client, after servicing the notify call on
1911 NOTE: This change speeds up listener performance considerably, but
1912 introduces new latency on the application side. We may want to
1913 add an event queue to the atk-bridge.
1915 * atk-bridge/bridge.c:
1916 (spi_atk_bridge_focus_tracker):
1917 Do a local unref() on the event source after emission.
1919 * registryd/registry.c:
1920 (desktop_remove_application):
1921 Do an unref() on the event source after emission.
1922 (desktop_add_application):
1923 Do an unref() on the event source after emission.
1924 (notify_listeners_cb):
1925 When relaying an event, don't automatically add the event source
1926 to the local object cache, just CORBA_dup it instead. Likewise,
1927 if this method reenters, release the ref rather than calling
1929 (impl_registry_notify_event):
1930 No longer call remote unref() on the event source after dispatch.
1932 * libspi/eventlistener.c:
1933 (impl_accessible_event_notify_event):
1934 Removed remote unref ()
1936 * cspi/bonobo/cspi-bonobo-listener.c:
1938 We now call cspi_object_new() instead of cspi_object_add() on
1939 receipt of an event; thus we only have an implicit object ref
1940 while the cspi_event method is being executed. If we need to keep
1941 a reference to the object, the listener must call ref() on the
1942 object. Thus also we don't need to call cspi_object_unref() after
1943 invoking the listener callbacks in this method.
1947 New internal API for creating a new cspi object, without adding it
1948 to the object cache.
1950 Now uses cspi_object_new() to create the cspi object instance.
1952 Now checks to see if the object is in the internal object cache,
1953 and adds it if necessary before incrementing its refcount (note
1954 that new objects are added with a refcount of 1).
1955 (report_leaked_ref):
1956 New method which gives some information on leaked object instances
1957 if leak detection is turned on.
1959 * test/event-listener-test.c:
1960 (timing_test_event):
1961 New method, used for testing event delivery timing for special
1962 events of type "object:test". It reports elapsed time and
1963 events/sec every 500 events.
1965 Added a new listener, 'test listener', to check timing of event
1966 receipt as noted above.
1968 Added some timing output here also, reports elapsed time every 100
1971 * test/stress-test.c:
1972 Emit events of type "object:test", for use with "event-listener-test".
1974 * test/test-simple.c:
1975 (global_listener_cb):
1976 Call Accessible_ref() on the event source before calling
1977 validate_accessible, since the validation process does pointer
1978 comparisons on the event source, meaning that the event source
1979 needs to be added to the local object cache first. Any use of
1980 such pointer comparisons between Accessible objects requires that
1981 the caller hold an explicit reference to those objects.
1982 We also must therefore call Accessible_unref() when leaving this method.
1984 2002-06-13 Bill Haneman <bill.haneman@sun.com>
1986 * registryd/deviceeventcontroller.c:
1987 (spi_controller_update_key_grabs):
1988 Fix for #84735, subsequent keygrab listeners not informed of
1989 registration failure.
1992 (spi_base_construct):
1993 Add an assertion on construct, to make sure the GObject passed in
1994 is really a GObject.
1996 Explicitly initialize object->gobj pointer to NULL;
1998 * cspi/bonobo/cspi-bonobo-listener.c:
1999 (cspi_object_add_ref):
2000 New method, can specify whether to dup-ref a bonobo object passed
2001 in if it's newly added to the object cache.
2003 Now calls cspi_object_add_ref with second param of "FALSE". This
2004 prevents us from doing a pointless dup-ref followed by
2005 release-unref for all those cases where the object is already in
2006 our object cache (fix for #85205).
2008 * atk-bridge/bridge.c:
2009 (spi_atk_bridge_idle_init):
2010 Removed this method, we don't need to initialize in an idle
2013 Changed to call spi_atk_register_event_listeners directly, not via an
2014 idle handler. (fix for #81139)
2015 (gnome_accessibility_module_shutdown):
2016 Removed conditional around deregistration of listeners, since we
2017 don't use the idle handler and thus have always registered when
2019 (spi_init_keystroke_from_atk_key_event):
2020 Changed references to Accessibility_KEY_PRESSED to
2021 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2023 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2025 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2030 * test/stress-test.c:
2033 (may have been an incomplete commit yesterday?)
2035 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2038 Added target for new stress-test.
2040 * test/stress-test.c:
2041 New test, sends 1000 focus notifies in quick succession.
2043 * test/key-listener-test.c:
2044 Now we report whether a keylistener registration
2045 request succeeded or failed.
2047 * test/event-listener-test.c:
2048 Uncommented some listeners which are now implemented.
2051 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2053 * registryd/deviceeventcontroller.c:
2054 (spi_controller_update_key_grabs):
2055 Fix for #82509, lack of failure notification when
2056 ALL_WINDOWS keygrabs fail due to XGrabKey
2057 failure: we synchronize the server when
2058 registering a passive grab, to make sure we get the
2059 error message before the call returns.
2061 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2063 * test/test-simple.c:
2065 Removed #ifdef KEY_IMPL_WORKS guards.
2066 (test_keylisteners):
2067 Removed #ifdef KEY_IMPL_WORKS guards.
2068 Fixed bug which was causing a hang waiting for a
2069 "press" event (which was already overwritten by a "release"
2070 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2072 Added code to set globals 'key_press_received' and
2073 'key_release_received'.
2076 Added section "1.1 API Proposed Additions" which
2077 lists API additions desired for at-spi-1.1 (only one so far).
2078 Updated TODO list a little.
2080 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2082 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2085 * configure.in: Revved to 1.0.0.
2087 * idl/Accessibility_Registry.idl:
2088 (registerKeystrokeListener):
2089 Added boolean return value.
2091 * registryd/registry.c:
2092 (notify_listeners_cb): Minor fix to debug output.
2094 * registryd/Accessibility_Registry.server.in.in:
2095 Revved version number in OAFIID to 1.0.
2097 * registryd/registryd.c:
2099 Use new OAFIID version.
2101 * cspi/bonobo/cspi-bonobo.c:
2103 Use new OAFIID version.
2109 * atk-bridge/bridge.c:
2111 Use new OAFIID version.
2113 * registryd/deviceeventcontroller.c:
2114 (impl_register_keystroke_listener):
2115 Added CORBA_boolean return value.
2116 (spi_controller_register_device_listener):
2117 Added gboolean return value.
2118 (spi_controller_register_global_keygrabs):
2119 Added gboolean return value.
2120 (spi_key_set_contains_key):
2121 Added implementation for many more control keys,
2122 for instance F1-F12, arrow keys, End, Home, Page_Up,
2124 [TODO: some still not implemented].
2126 * text/screen-review-test.c:
2127 (text_chunk_pad_string):
2128 New function: it provides mapping between coordinate
2129 positions of text chunks and character positions in the
2130 screen-review-line output string.
2131 (text_chunk_to_string):
2132 New function, calls text_chunk_pad_string with various
2133 pad/delimiter characters. Pushbuttons are delimited with
2134 square brackets, Frames with vertical 'pipe' lines, and
2135 other text with double quotes.
2136 (text_chunk_list_to_string):
2137 Calls new function text_chunk_to_string.
2138 (toplevel_composite):
2139 New function to composite layers CANVAS through
2140 POPUP in each toplevel (other layers are composited
2141 across toplevels, i.e. BACKGROUND and OVERLAY).
2142 (review_buffer_composite):
2143 Revise to use new methods.
2149 2002-05-31 Laszlo Peter <laca@sun.com>
2151 * configure.in: add the Xtst libdir to the runpath on Solaris,
2152 since it's not in the default library search path.
2154 2002-05-29 jacob berkman <jacob@ximian.com>
2156 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2158 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2160 * test/screen-review-test.c:
2161 (text_chunk_pad_string):
2162 Added method, which pads the string according to the
2163 text bounds of the chunk. It also takes a 3-character
2164 string as a param which indicates the characters to be
2165 used for start, padding, and end delimitation of the chunk.
2166 (text_chunk_to_string):
2167 Changed to use text_chunk_pad_string.
2169 * configure.in: Fixed bug in AC_OUTPUT that was
2170 causing path substitution in Accessibility_Registry.server
2173 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2175 * text/screen-review-test.c:
2176 (guess_string_clip):
2177 New method which attempts a best-guess at clipping
2178 text from components (like Java labels) which don't
2179 actually implement AccessibleText. This inaccurate
2180 clip is based on the assumption that the label is
2181 justified left-and-right, and monospaced.
2182 (text_chunk_get_clipped_string):
2183 We now call guess_string_clip() for text-containing
2184 components that don't implement AccessibleText.
2186 * test/screen-review-test.c:
2187 (review_buffer_get_text_chunk):
2188 We now pull "name" from labels if they do not implement
2189 AccessibleText (i.e. for Java labels).
2190 (get_screen_review_line_at):
2191 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2194 Replaceded AC_OUTPUT target
2195 registryd/Accessibility_Registry.server with
2196 registryd/Accessibility_Registry.server.in.
2198 * registryd/Accessibility_Registry.server.in:
2199 Removed (this is now a Makefile target).
2201 * registryd/Accessibility_Registry.server.in.in:
2202 Added (source for target above). We now use $(libexecdir) as
2203 prefix for the executable at-spi-registryd.
2205 * registry/Makefile.am:
2206 Now install at-spi-registryd into $(libexecdir), and build .server
2207 file with path (see above).
2209 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2211 * test/screen-review-test.c:
2212 (text_chunk_get_clipped_string):
2213 We now check to see if words fall within clip bounds
2214 before resorting to character-by-character clip bounds testing.
2216 * TODO: Added a section for "2.2 Proposed API Additions".
2218 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2220 * test/screen-review-test.c:
2222 Added a screen review benchmarking and test program to test
2225 * cspi/spi_accessible.c:
2227 Made some of the debug strings passed to cspi_check_ev a
2228 little more specific.
2230 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2232 * test/screen-review-test.c: Fix crashes in debug statements
2234 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2236 * test/screen-review-test.c: Added this file.
2238 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2240 * atk-bridge/bridge.c: changed "object:state-change" to
2241 "object:state-changed" to match docs.
2243 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2245 * atk-bridge/bridge.c: Hooked up state-change event details.
2247 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2249 * registryd/registry.c:
2250 Fixed quarking bug in event string parsing; now events with
2251 detail parameters get matched correctly to listeners.
2254 * util/idl/Magnifier.idl: remove.
2256 * util/*.[ch]: Remove.
2257 Magnification utilities and IDL are now in module gnome-mag.
2259 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2261 * registryd/deviceeventcontroller.c:
2262 Fixed bug in grab key conversion which was causing keycode grabs
2263 to be converted to AnyKey grabs.
2266 updated NEWS file to reflect recent spin-off of gnome-mag.
2268 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2270 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2271 busted AccessibleStateSet_compare. Removed redundant casts.
2273 * cspi/spi-action.c: Removed redundant casts.
2275 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2277 * cspi/spi_component.c: Fixed typos and casting error.
2279 * cspi/spi_editabletext.c: Removed redundant casts.
2281 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2283 * cspi/spi_hypertext.c: Eliminated redundant casts.
2285 * cspi/spi_image.c: Eliminated redundant casts.
2287 * cspi/spi_registry.c: Eliminated redundant casts.
2288 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2289 * cspi/spi_selection.c: Removed redundant casts.
2290 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2291 handling. Screen geometry and text offsets were being returned as 0
2292 on error which is technically valid-- changed these to return -1.
2293 Added marshaller for text boundary types to fix bug with boundary
2294 types being passed incorrectly to atk.
2296 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2299 * cspi/spi_registry.c:
2300 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2301 which was uncovered by the recent key changes.
2303 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2305 * test/event-listener-test.c:
2307 Added new test, "event-listener-test";
2308 this code does two things; it benchmarks traversal time
2309 for the accessible hierarchy for the first running accessible
2310 app, and it connects listeners for all supported event types.
2311 It is thus useful as an example event listener and for
2312 diagnostics/debugging of event generation.
2314 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2317 Removed unnecessary dependency on libutil.
2320 Revved micro version: 0.13.1
2322 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2325 Removed util/Makefile from targets.
2328 Removed util subdir from SUBDIRS (temporarily,
2329 pending removal of magnifier-only code
2333 #ifdef-ed out magnifier dependencies, since
2334 magnifier IDL, headers, and binary now live in
2335 module gnome-mag and we don't want at-spi to depend
2336 on gnome-mag. A magnifier demo which can run alongside
2337 simple-at is forthcoming in the gnome-mag module.
2339 NOTE: Split magnifier binary, IDL, and magnification
2340 activation code from at-spi into module gnome-mag.
2342 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2344 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2345 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2347 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2350 Revved to version 0.13.0
2352 * idl/Accessibility_Registry.idl:
2353 Changed definition of KeySet from sequence of longs to sequence of
2354 KeyDefinitions, and added KeyDefinition struct.
2355 Required for fix to bug 80616.
2357 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2358 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2359 to use new definition (see above).
2361 * registryd/deviceeventcontroller.c: handle_keygrab(),
2362 spi_keyset_contains_key():
2363 Changed to make use of new struct; this allows matching based on
2364 string key-name, for instance "Tab". This also allows matching of
2365 composed characters, non-alphanumeric characters in a way that
2366 doesn't involve dependencies on X keysym codes directly, etc.
2368 * test/key-listener-test.c:
2369 Added test for Alt-Tab key using "string" specification of keyset,
2370 and modified one of the tests to use a keycode-based keyset.
2371 Thus this test both tests and demonstrates the creation and use of
2372 keysets of three forms: specified via keycode array,
2373 keysym array, and string array. (The string case only contains a
2374 single string, i.e. a string array of length 1).
2377 Turned on PRINT_TREE option by default. Also fixed a
2378 string-freeing bug in the PRINT_TREE code.
2379 Added a listener to window:minimize events.
2381 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2383 * atk-bridge/bridge.c:
2384 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2385 for window:activate and window:deactiveate
2386 (atk_bridge_property_event_listener atk_bridge_signal_listener
2387 atk_bridge_window_event_listener) Tidy debug code
2389 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2391 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2392 Fixed handling for NULL return value from ATK.
2394 * libspi/action.c libspi/component.c libspi/editabletext.
2395 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2396 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2397 Removed redundant casts.
2399 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2400 Fixed off by one bug.
2402 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2403 function not present in idl)
2405 2002-05-02 jacob berkman <jacob@ximian.com>
2407 * atk-bridge/Makefile.am: make atk-bridge a real module
2409 2002-04-26 Radek Doulik <rodo@ximian.com>
2411 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2412 atk_state_types table
2414 2002-04-22 jacob berkman <jacob@ximian.com>
2417 * libspi/Makefile.am: add deps on the built files to help
2418 automake, and don't version the ORBit typelib
2420 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2422 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2423 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2424 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2425 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2426 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2427 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2428 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2429 libspi/accessible.h libspi/accessible.h libspi/base.h
2430 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2431 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2432 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2433 libspi/spi-private.h libspi/statetset.h libspi/table.h
2434 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2435 util/mag_client.h util/mag_control.c util/mag_image.c
2436 util/mag_image.h util/magnifier.c util/magnifier.h:
2437 Add missing file headers; standardize existing ones
2439 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2441 * atk-bridge/bridge.c: Added window event support.
2443 2002-04-18 Michael Meeks <michael@ximian.com>
2445 * libspi/relation.c (impl_getNTargets): impl.
2446 (impl_getTarget): impl.
2448 * libspi/Makefile.am: fix stateset install.
2450 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2453 Started putting useful info in this file.
2455 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2457 * atk-bridge/bridge.c:
2458 Propagate state-changed notifications to ATs
2460 * cspi/spi_registry.c: update docs to reflect actual behavior of
2461 state-change events.
2463 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2466 Incremented version to 0.12.1
2468 * util/mag_client.h:
2469 Add missing declaration for magnifier_exit,
2470 used by mag_control.c - Forte compiler didn't like
2471 the implicit redeclaration of the function :-(
2474 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2477 Revved version to 0.12 due to API change (see below).
2479 * cspi/spi-roletypes.h:
2480 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2481 definition from the inline docs, and added docs
2482 for SPI_ROLE_LAST_DEFINED.
2485 * cspi/spi_streamablecontent.c:
2486 Added missing seek_type parameter to
2487 (so far unused) method,
2488 AccessibleStreamableContent_seek().
2489 [ RT approval JodyG. ]
2492 Fixed docs for SPI_createAccessibleKeystrokeListener.
2494 * cspi/spi_registry.c:
2495 Fixed docs for SPI_KEYSET_ALL_KEYS.
2497 * docs/reference/cspi/at-spi-cspi-sections.txt:
2498 Added a number of missing APIs to SECTIONS.
2500 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2502 * registryd/Makefile.am:
2504 * cspi/bonobo/Makefile.am:
2505 Add $(X_LIBS) to makefiles.
2507 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2510 Revved version to 0.11.
2512 * libspi/component.c:
2513 Added implementation for grabFocus.
2515 * idl/Accessibility_Component.idl
2516 (Accessibility_Component_grabFocus):
2517 Made this method return boolean to indicate success or failure, to
2518 be consistent with cspi and the corresponding ATK method.
2520 * idl/Accessibility_Selection.idl
2521 (Accessibility_Selection_selectAll) :
2522 Made these methods return boolean to indicate success or
2523 failure, to be consistent with cspi and the corresponding ATK methods.
2525 * idl/Accessibility_EditableText.idl
2526 (Accessibility_EditableText_setTextContents,
2527 Accessibility_EditableText_insertText,
2528 Accessibility_EditableText_cutText,
2529 Accessibility_EditableText_deleteText,
2530 Accessibility_EditableText_pasteText):
2531 Made these methods return boolean to indicate
2534 * cspi/spi_editabletext.c:
2535 Made these methods return booleans.
2537 * libspi/selection.c:
2538 * libspi/component.c:
2539 * libspi/editabletext.c:
2540 Connected the boolean returns from ATK
2541 to the server-side code referenced above.
2543 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2545 * idl/Accessibility_Table.idl: Added missing methods,
2546 Accessibility_Table_addRowSelection,
2547 Accessibility_Table_addColumnSelection,
2548 Accessibility_Table_removeRowSelection,
2549 Accessibility_Table_removeColumnSelection.
2552 Added C wrappers for above IDL:
2553 AccessibleTable_addRowSelection,
2554 AccessibleTable_addColumnSelection,
2555 AccessibleTable_removeRowSelection,
2556 AccessibleTable_removeColumnSelection.
2559 Added server-side implementation code for IDL above, connecting
2560 to pre-existing ATK api.
2562 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2564 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2566 * libspi/accessible.c: Added implementation fo
2567 Accessibility_Accessible_get_state.
2569 * libspi/libspi.h: Added stateset.h to the list of includes.
2571 * libspi/stateset.c: Fixed broken implementation.
2573 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2576 Added implementation code for Accessibility_Magnifier_exit ().
2578 * util/mag_control.c:
2579 Added test code for above method; you can
2580 now kill an existing magnifier via
2581 ./mag_control q, from the util directory.
2583 * test/key-listener-test.c:
2585 Added a new test, for our key listener API.
2587 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2589 * test/app.c, test/keysynth-demo.c:
2591 Replace use of snprintf with g_snprintf.
2592 (fix for bugzilla 78249)
2594 2002-03-27 Michael Meeks <michael@ximian.com>
2598 * util/Makefile.am (INCLUDES): fix.
2599 (DONT_DIST_SOURCE): don't distribute the
2602 * libspi/Makefile.am (dist-hook): ditto.
2604 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2606 * libspi/hypertext.c:
2607 Fix warnings when yelp is used with atk-bridge
2609 2002-03-21 Michael Meeks <michael@ximian.com>
2611 * libspi/application.c (spi_application_new):
2612 use spi_accessible_construct so we use the AtkObject
2615 2002-03-19 Michael Meeks <michael@ximian.com>
2617 * registryd/registry.c (desktop_remove_application),
2618 (desktop_add_application): clean coding style.
2620 * registryd/desktop.c (spi_desktop_remove_application),
2621 (spi_desktop_add_application): kill re-enterency hazards.
2622 (spi_desktop_dispose): remove bogus redundant cast
2623 obscuring bug; fix bug too.
2624 (spi_desktop_init): make the desktop object immortal.
2626 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2629 Added a #define-guarded tree-traversal step
2630 when enumerating the apps (diagnostic tool).
2632 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2634 * idl/Accessibility_Role.idl:
2635 Added ROLE_DRAWING_AREA which seemed to be missing from the
2638 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2640 * cspi/spi-roletypes.h cspi/spi_accessible.c
2641 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2644 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2645 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2646 AT when applications are added and removed from the desktop. This
2647 reverts the previous broken implementation using the backing
2648 AtkObject for the SpiDesktop.
2650 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2652 * registryd/desktop.c: emit the "children-changed::add" and
2653 "children-changed::remove" signals on the backing ATK object for
2654 the desktop so AT can tell when applications are started and shut
2657 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2659 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2661 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2663 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2665 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2667 * cspi/state-types.h: synched with IDL and ATK
2669 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2671 * libspi/accessible.c
2672 (impl_accessibility_accessible_get_child_at_index):
2673 Change return value for g_return_if_fail ()
2674 to CORBA_OBJECT_NIL instead of "0" (!)
2676 * registryd/Makefile.am:
2677 * registryd/Accessibility_Register.server.in:
2678 Changed name of executable, "registryd",
2679 to something more informative:
2682 2002-03-13 Michael Meeks <michael@ximian.com>
2684 * atk-bridge/bridge.c (atk_bridge_init): don't register
2685 if we're in a bonobo-component, rather than a bonobo app.
2687 2002-03-13 Michael Meeks <michael@ximian.com>
2689 * atk-bridge/bridge.c (gtk_module_init): split
2690 out body to (atk_bridge_init): here, since otherwise
2691 we get symbol conflicts and oddness when invoked
2692 from (gnome_accessibility_module_init): here (upd.)
2694 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2697 New file. Explicitly allow "build sheriff" putbacks provided
2698 they are tested on Solaris.
2700 * docs/reference/cspi/Makefile.am:
2701 Added '-' to the "cp" command for index.sgml.
2702 ("patch by thomasvs, soon coming to a GUADEC near you")
2705 Incremented version number (0.9.0) for new release.
2706 Changed macro that checks for popt, to better detect
2707 obsolete versions of popt.
2710 Added X_LIBS to AC_SUBST, for applications
2711 that call Xlib API directly.
2714 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2717 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2720 Fix regression caused by hard-coding major
2721 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2724 * test/test-simple.c (test_editable_text),
2725 (test_test): revert previous change (error was
2726 a regression in gail which is now fixed).
2728 2002-03-04 Michael Meeks <michael@ximian.com>
2730 * test/test-simple.c (test_editable_text),
2731 (test_text): pass G_MAXINT instead of '-1' for
2732 whole string - is this a good thing !?
2734 * cspi/spi_accessible.c
2735 (Accessible_getRelationSet): fix crasher bug
2736 overwriting the end of the array.
2738 * test/test-simple.c (validate_accessible): free,
2739 not g_free returned relation set.
2741 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2743 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2744 implemented stateset support
2746 * idl/Accessibility_State.idl: Made necessary changes to
2747 the IDL to support state sets.
2749 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2751 * registryd/deviceeventcontroller.c:
2752 Added implementation for generateMouseEvent.
2754 * cspi/spi_registry.c:
2755 Connected new implementation for generateMouseEvent
2758 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2761 Incremented revision (but no change in public API
2762 outside of 'utils', which are not installed public yet.)
2764 * libspi/component.c:
2765 Changed to use atk_component API for layers and
2766 mdi_zorder, instead of deprecated atk_object API.
2768 Magnification Utility Enhancements:
2771 Added implementation of createZoomRegion, clearAllZoomRegions,
2772 resizeZoomRegion. Added new commandline argument
2773 "--no-initial-region". Note that clearAllZoomRegions doesn't
2774 unmap the old '0' region as it should (yet), and the other
2775 methods only work when creating/resizing a single region,
2776 which is "region 0".
2777 (Code for multiple region support will be added later.)
2780 Now we raise the magnifier window each time it's refreshed;
2781 this will help keep it on top.
2783 * util/mag_client.h:
2784 Added simple wrappers for above, used by mag_control.
2785 For general use, it's recommended to use the bonobo magnifier
2786 control API directly instead of using these wrappers.
2789 Moved ZoomRegionData from magnifier.c to this file.
2791 * util/mag_control.c:
2792 Added some code to exercise new IDL implementations.
2794 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2796 * libspi/text.c: Provide implementation for getAttributes.
2798 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2801 Incremented revision.
2803 * test/test-simple.c:
2804 Replaced use of deprecated g_main_iteration with
2805 g_main_context_iteration.
2807 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2810 Incremented revision for desktop alpha 2.
2812 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2814 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2817 * test/simple-at.c: include netinet/in.h.
2819 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2821 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2822 use NULL, not CORBA_OBJECT_NIL.
2824 * libspi/accessible.c:
2825 (impl_accessibility_accessible_get_relation_set):
2826 allocate the sequence correctly.
2828 * libspi/remoteobject.h: kill spi_remote_object_new.
2830 * test/test-simple.c: (validate_accessible): add code
2831 to test relation sets, now all we need is to figure
2832 out how to excercise this code path :/
2834 2002-01-18 Michael Meeks <michael@ximian.com>
2836 * test/test-simple.c
2837 (key_listener_cb): consume the key.
2838 (test_keylisteners): update.
2839 (main): wait for any pending unrefs on events.
2841 * registryd/deviceeventcontroller.c
2842 (spi_controller_update_key_grabs): only re-issue the
2843 grab on a key release.
2844 (spi_device_event_controller_forward_key_event):
2845 refresh the keygrabs before we notify the listeners,
2846 to reduce the X ungrab / re-grab race.
2847 (spi_controller_register_with_devices): remove
2848 XSelectInput - we do that with the gdk_window_ call.
2849 (_spi_controller_device_error_handler): return a value.
2850 s/GDK_DISPLAY/spi_get_display/
2852 2002-01-17 Michael Meeks <michael@ximian.com>
2854 * registryd/deviceeventcontroller.c
2855 (_deregister_keygrab): don't blow out the later
2858 * test/test-simple.c (test_keylisteners): do a
2859 more intelligent validation.
2861 2002-01-14 Michael Meeks <michael@ximian.com>
2863 * atk-bridge/bridge.c
2864 (gnome_accessibility_module_init),
2865 (gnome_accessibility_module_shutdown): impl.
2866 (gtk_module_init): protect vs. double inits.
2867 (add_signal_listener): impl.
2868 (spi_atk_bridge_state_event_listener): kill
2869 (deregister_application): split out of
2870 (spi_atk_bridge_exit_func): here.
2872 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2875 Added caret tracking when using magnifier, and
2876 now use text bounds for focus tracking of text elements, rather than
2877 the component bounds - this is helpful for short text fields in long
2878 table cells, at high magnification.
2880 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2882 * registryd/deviceeventcontroller.c:
2883 Regression fix for keylistener de-registration; global keygrabs
2884 were not being released when deregisterKeystrokeListener was
2885 called in cspi, since
2886 Accessibility_DeviceEventController_deregisterKeystrokeListener
2887 was called with a zero-length keyset. That is because the cspi
2888 method, SPI_deregisterKeystrokeListener, does not take a keyset
2889 parameter but instead should remove all the key grabs held be a
2891 The code in impl_deregister_keystroke_listener was changed to copy
2892 the keylist from the listener instance previously registered with
2893 the DeviceEventController before releasing the grabs.
2895 * registryd/registry.c:
2896 * registryd/deviceeventcontroller.c:
2897 * libspi/spi-private.h:
2899 Changed spelling of "re-enterant" to "re-entrant" globally.
2901 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2903 * test/test-simple.c:
2904 Changed key listeners test - the test was slightly mis-using the
2905 (admittedly poorly documented) SPI_generateKeyboardEvent API.
2906 It now uses '=' as the key event listened to and generated,
2907 relying on a keysym match rather than assuming that keycode 33
2908 is always equal to keysym '!'.
2910 2002-01-15 Bill Haneman <bill.haneman@sun.com>
2913 Changed simple-at to use a specific keyset, rather than
2914 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
2915 manager, desktop, etc.
2917 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2919 * registryd/deviceeventcontroller.c:
2920 Replaced standard X error handler with a special handler that
2921 is non-fatal for failed keygrabs. This works around
2922 problems with keygrab clashes sometimes observed on
2924 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
2925 mouse handling code as yet).
2927 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2930 Incremented revision for desktop alpha release.
2933 Fixed a couple of the more glaring errors (still not
2936 2002-01-11 Michael Meeks <michael@ximian.com>
2938 * registryd/deviceeventcontroller.c
2939 (spi_device_event_controller_forward_key_event): kill
2940 XUngrabKey / XKeyGrab race.
2941 (spi_controller_grab_keyboard): rename to
2942 (spi_controller_update_key_grabs): this, and deal
2943 with incremental adding / removing grabs more
2945 (_register_keygrab): ensure we're not pending a remove.
2946 (spi_grab_mask_free): impl.
2947 (spi_controller_register_global_keygrabs): split out
2949 (handle_keygrab): impl.
2950 (_deregister_keygrab): impl.
2951 (spi_controller_deregister_global_keygrabs): impl.
2952 (spi_controller_update_key_grabs): re-issue the grab if
2953 we just recieved a notification.
2955 * test/test-simple.c (key_listener_cb): remove debug.
2957 * registryd/deviceeventcontroller.c
2958 (spi_controller_register_device_listener): after
2959 registering a global keygrab, actualy register it !
2960 don't wait for a timeout; doh !
2962 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
2963 to make it more readable / manipulable.
2964 s/grabmask/grab_mask/ s/refcount/ref_count/
2965 s/keyval/key_val/ s/modmask/mod_mask
2967 2002-01-08 Michael Meeks <michael@ximian.com>
2969 * registryd/deviceeventcontroller.c
2970 (spi_controller_register_with_devices): use gdk calls to
2972 (global_filter_fn): implement the filter.
2973 (spi_device_event_controller_check_key_event): rename to
2974 (spi_device_event_controller_forward_key_event): this & upd.
2975 (spi_get_display): replace with GDK_DISPLAY.
2977 * registryd/deviceeventcontroller.c
2978 (spi_controller_deregister_device_listener): unroll into
2979 (impl_deregister_keystroke_listener): here to simplify.
2980 (spi_controller_register_global_keygrabs): split cut and
2981 paste (!) out into (_register_keygrab): here, shorter & sweeter.
2982 (spi_controller_deregister_device_listener): remove.
2983 (impl_register_mouse_listener): remove, no mouse listener
2984 support in at-spi-1.0
2986 * registryd/registry.c
2987 (_device_event_controller_hook): kill.
2988 (spi_registry_init): upd.
2990 * registryd/deviceeventcontroller.c
2991 (spi_device_event_controller_class_init): upd.
2992 (spi_check_key_event): merge into.
2993 (spi_device_event_controller_check_key_event):
2994 here and kill strange static ev init, don't leak
2995 the x_event - nor dynamicaly allocate it.
2997 * registryd/registry-main.c (main): re-direct
2998 timeout to remove strange vtable mess.
3000 * registryd/deviceeventcontroller.c
3001 (remove_listener_cb): impl.
3002 (spi_controller_deregister_device_listener):
3003 fix re-enterancy hazard.
3005 2002-01-07 Michael Meeks <michael@ximian.com>
3007 * registryd/deviceeventcontroller.c
3008 (spi_device_event_controller_new): upd.
3009 (impl_notify_listeners_sync): upd. debug.
3010 (spi_notify_keylisteners): fix re-enterancy hazards,
3011 prettify, remove O(n*n) iteration.
3012 (spi_controller_grab_keyboard): fix iteration.
3013 (spi_check_key_event): re-format to suit coding style.
3014 Clean all the warnings - we're warning free.
3016 * registryd/deviceeventcontroller.h:
3017 * registryd/registry.h: make mutualy referential with
3018 typesafe forward references instead of (!) void pointer
3021 2002-01-11 Michael Meeks <michael@ximian.com>
3023 * cspi/spi_accessible.c (role_names): add a role name
3024 to sync this array with the enum; and make the regression
3027 2002-01-10 Michael Meeks <michael@ximian.com>
3029 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3030 allow expansion of enumeration & kill warning.
3032 * test/test-simple.c (key_listener_cb): impl.
3033 (test_keylisteners): impl.
3035 * cspi/spi-listener.h: make listener signatures const
3036 on the provided (const) events.
3038 * test/keysynth-demo.c: upd. to const events.
3040 * test/simple-at.c: ditto.
3042 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3045 Rev the version to 0.5 (the previous tarball was named 0.4,
3046 even though the micro number was 3), so we need to rev upwards
3047 again for beta2/"desktop-alpha"
3050 Checked in a demo script, which requires editing before use!
3051 Proceed with caution.
3054 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3056 * cspi/spi_accessible.c:
3057 Add a couple of missing enum initializations, and fix some enum
3060 * cspi/spi_registry.c:
3061 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3063 * docs/reference/cspi/at-spi-cspi-sections.txt:
3064 Remove/fix a couple of broken document references.
3067 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3068 as Alt-Control to listen for commands, since on some systems
3069 Control-Alt may already be grabbed.
3071 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3074 Update version number to 0.4 for Beta2.
3076 * libspi/accessible.c, libspi/accessible.h:
3077 Expose spi_accessible_construct, to enable libgail-gnome
3078 construction from spi_accessible subtype.
3080 * utils/magnifier.c:
3081 Workaround for bug in some non-gnome-compliant window managers
3082 which made magnifier resize improperly.
3084 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3086 * libspi/accessible.c: (spi_accessible_new) :
3087 Move the test for SPI_IS_REMOTE_OBJECT to
3088 spi_accessible_new_return, fixing a bug and compile time warning.
3090 2002-01-08 Michael Meeks <michael@ximian.com>
3092 * registryd/registry.c (parse_event_type): remove strndup.
3094 * libspi/Makefile.am (libspi_la_SOURCES): remove
3095 sources already included in the headers section.
3097 * libspi/util.c: add.
3099 * libspi/spi-private.h: add.
3101 * registryd/registry.c: update to moved list iterators.
3103 2002-01-05 Michael Meeks <michael@ximian.com>
3105 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3107 * test/test-simple.c (main): ditto.
3109 2002-01-04 Michael Meeks <michael@ximian.com>
3111 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3112 redundant construct.
3114 * registryd/registry.c
3115 (get_listener_list): impl.
3116 (impl_accessibility_registry_register_global_event_listener):
3117 re-impl. to simplify using ~, remove dodgy const cast off.
3118 (parse_event_type): constify.
3119 (impl_accessibility_registry_deregister_global_event_listener_all):
3120 re-write, more efficiency and simplicity, kill re-enterancy
3122 (compare_listener_corbaref, compare_corba_objects),
3123 (compare_listener_quarks): define out.
3124 (impl_accessibility_registry_deregister_global_event_listener):
3125 re-write for effiency, and nail re-enterancy hazard.
3126 (impl_accessibility_registry_get_desktop_list): impl.
3127 (re_enterant_list_delete_link): impl.
3128 (re_enterant_list_foreach): impl.
3129 (remove_listener_cb): impl.
3130 (_registry_notify_listeners): kill.
3131 (notify_listeners_cb): impl.
3133 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3134 (SPI_getDesktopList): impl.
3136 * test/test-simple.c (test_desktop): test the methods.
3138 2002-01-03 Michael Meeks <michael@ximian.com>
3140 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3141 keystrings since we free them
3142 (SPI_freeAccessibleKeySet): in here.
3144 * libspi/accessible.c (spi_accessible_new): kill warning,
3145 wonder what is going on with the constructor here.
3147 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3149 * libspi/accessible.c (spi_accessible_new ()) :
3150 Added check to see if AtkObject is an SpiRemoteObject before
3151 creating an SpiAccessible.
3153 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3155 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3156 Enable keygrabs using the Control modifier, now that they are
3157 working properly (they were previously disabled).
3160 Change the command keygrab for this demo to "Control+Alt", so as
3161 to conflict with fewer other key commands on the system; this
3162 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3164 Removed a pointlessly-chatty keylistener for unshifted keys
3165 (shifted keys are still reported).
3167 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3169 * libspi/remoteobject.h:
3170 * libspi/remoteobject.c:
3171 Added definitions for special AtkObject subtype, required for
3172 support of remote components (specifically, used by BonoboControl
3173 accessibility implementation).
3175 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3177 * cspi/spi.h: synched relation types with ATK
3179 * cspi/spi_accessible.c: Added implementations of
3180 AcccessibleRelation_* methods
3182 * idl/Accessibility_Relation.idl: added getRelationTypeName
3183 method. Synched known relation types with ATK. Allowed for
3184 relation type extension with the RELATION_EXTENDED type.
3186 * libspi/relation.c: Provided implementations for
3187 AccessibleRelation methods.
3189 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3191 API tweaks for today's API 'freeze'.
3194 Added placeholder functions to allow future compatible expansion
3195 of the IDL interfaces.
3197 * idl/Accessibility_Registry.idl:
3198 Changed generateKeyEvent to generateKeyboardEvent. Changed
3199 signature of this method to accept an optional keystring in
3200 parameter (for complex text input synthesis) and changed use of
3201 simple 'boolean' parameter in registerKeystrokeListener to a
3202 struct, EventListenerMode.
3204 * cspi/spi_accessible.c:
3206 * cspi/spi_streamablecontent.c:
3207 Added references to AccessibleStreamableContent interface, and
3208 definition and implementation of AccessibleStreamableContent
3211 * cspi/spi_registry.c:
3213 Changed generateKeyEvent API to generateKeyboardEvent,
3214 taking a new (optional) keystring parameter to support complex
3219 Renamed directory (to better reflect its actual purpose, bridging
3220 from at-spi to ATK). The .so module is also now named
3223 * idl/Accessibility_Hypertext.idl:
3224 * libspi/accessible.c:
3225 * libspi/hypertext.h:
3226 * libspi/hypertext.c:
3227 Changed Accessibility_Hypertext to *not* derive from
3230 * cspi/spi_registry.c:
3231 Added list of legal event type names for 'window' events, which
3232 completes the registry event API.
3234 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3236 * at-bridge/bridge.c: Added registration for separate
3237 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3238 signals. If either of the first two parameters to the generic
3239 bridge signal handler are ints, they are passed on as event
3240 details. This allows an AT to determine what text was inserted.
3242 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3244 * registryd/deviceeventcontroller.c:
3245 Fixed regressions in generateKeyEvent caused by the removal of
3246 gdk_init from registryd; we now use pure X calls to connect to the
3247 display, which makes sense because deviceeventcontroller already
3248 uses a fair bit of X API (should eventually be migrated to a
3249 'portability layer').
3251 * registryd/desktop.c:
3252 Fixed minor regression in spi_desktop_init, changed the way the
3253 desktop name is being set to work with new spi_base API
3254 (gobject-based, rather than AtkObject-based).
3256 * registryd/Makefile.am:
3257 Minor revision of makefile to use XTST_LIBS variable rather than
3258 hard-wiring the Xtst LD_ADD element.
3260 * test/keysynth-demo.c:
3261 Tweaked an output message; added initialization of the
3262 'keystrings' member of the "switch listener" key_set.
3264 * libspi/relation.c:
3265 Squashed compile-time warning.
3267 * libspi/accessible.c:
3268 Cosmetic and formatting fixes, renamed a static method.
3270 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3272 * libspi/accessible.c
3274 * libspi/application.c
3277 * libspi/component.c
3278 * libspi/editabletext.c
3279 * libspi/hyperlink.c
3280 * libspi/hypertext.c
3282 * libspi/selection.c
3286 * registryd/desktop.c:
3287 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3289 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3291 * idl/Accessibility_Registry.idl:
3292 Added boolean member 'is_text' to DeviceEvent. This is for the
3293 use of key events, and helps prevent ambiguity between composed
3294 key strings and keysym names, since both may potentially be
3295 returned in the 'event_string' member.
3297 * at-bridge/bridge.c:
3298 * registryd/deviceeventcontroller.c:
3299 Use the 'is_text' member when notifying device event listeners.
3300 Knon issue: composed characters are not dealt with correctly by
3301 the global key listener implementation yet.
3303 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3305 * at-bridge/bridge.c:
3306 Namespaced local static methods to spi_atk_bridge_* where
3307 previously named bridge_*, and spi_* elsewhere.
3309 * at-bridge/bridge.c:
3310 * cspi/bonobo/cspi-bonobo-listener.c:
3311 Added demarshalling/conversion for string member of
3312 Accessibility_DeviceEvent to AccessibleKeystroke.
3314 * registryd/deviceeventcontroller.c:
3315 Added code to fill the Accessibility_DeviceEvent key string value
3316 member for global key events (i.e. from XGrabKey), to match
3317 behavior of Accessibility_DeviceEvent from the toolkit key events
3318 from the bridge. Fixed timestamp in global key event notifications.
3321 Added printout of key event's string value to
3322 report_ordinary_key_event, for demo/debugging purposes.
3324 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3326 * idl/Accessibility_Registry.idl:
3327 Removed Accessibility_KeyStroke structure in favor of generic
3328 Accessibility_DeviceEvent structure.
3329 Changed Accessibility_ControllerEventMask from a struct to an
3332 * at-bridge/bridge.c:
3333 Changed APIs to use DeviceEvent structure as above, and removed
3334 bogus casting between these event structures.
3336 * cspi/spi-listener.h:
3337 Added keystring member of AccessibleKeystroke structure, to enable
3338 matching on event "names" rather than only hardware codes and
3342 Added keystrings member of AccessibleKeySet struct, to allow
3343 matching on event names (as above).
3344 Added declarations for SPI_createAccessibleKeySet and
3345 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3346 event modmasks directly as unsigned ints rather than structs with
3347 refcounts, in the DeviceEventController methods.
3349 * cspi/spi_registry.c:
3350 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3352 * cspi/spi-roletypes.h:
3353 Added documentation of newly added SPI Roles.
3355 * cspi/bonobo/cspi-bonobo-listener.c:
3356 Changes in support of API changes above.
3358 * libspi/accessible.c:
3359 Converted APIs to use DeviceEvent structure (see IDL changes
3362 * registryd/deviceeventcontroller.c:
3363 Added DEControllerGrabMask structure to track keygrabs not only by
3364 modmask but by keyset as well; this allows us to do "global"
3365 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3366 grabbing on AnyKey and then filtering after-the-fact.
3367 Bugfixes for event filtration mean that we don't get false matches
3368 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3370 * registryd/deviceeventcontroller.c:
3371 Namespaced a number of static methods to use spi_ prefix. Major
3372 revision to internals of global (i.e. X) key grabs.
3374 * registryd/deviceeventcontroller.h:
3375 Removed keymask_list and added keygrabs_list to
3376 SpiDeviceEventController struct.
3379 Added use of SPI_createAccessibleKeySet API when creating a
3380 listener for only one key. Attach a listener to "shift spacebar
3381 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3382 X key event names to SPI key event names, so that listeners are
3383 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3385 * test/keysynth-demo.c:
3386 Changed (incorrect) use of X key event names (KeyPressed,
3387 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3390 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3392 * libspi/accessible.c:
3393 Convert all AtkRole enumerations to Accessibility_Role enums when
3394 getting a role from an AtkObject.
3396 * cspi/spi_accessible.c:
3397 Complete the conversion of Accessibility_Role enums at runtime to
3398 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3399 role enums correctly match those given in spi-roletypes.h.
3400 Re-synchronize the local names list for AccessibleRole_getName ().
3401 AccessibleRole_getName is now deprecated, since it duplicates the
3402 more reliable Accessible_getRoleName.
3403 Added some role types from Accessibility_Role.idl.
3405 * idl/Accessibility_Role.idl:
3406 Added some role types used by AtkRole.
3408 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3411 * cspi/spi_registry.c:
3413 * cspi/cspi-bonobo-listener.c:
3414 Namespaced all methods that did not begin with an "SPI_" or
3415 "Accessible" prefix to "SPI_".
3418 Homogenized internal function namespace to "cspi_" for statics.
3421 Patched tests to use the new CSPI API.
3423 * docs/reference/cspi/at-spi-cspi-sections.txt:
3424 Updated docs to reflect namespace changes, and added a number of
3425 methods to the documentation.
3427 * registryd/registry.c:
3428 Changed use of strings and string hashes in listener event
3429 matching and parse_event_string to use GQuark, which is guaranteed
3432 * registryd/registry.h:
3433 Squashed annoying warning.
3435 * idl/Accessibility_Role.idl:
3436 Extended range of available Accessibility_Role values.
3438 * cspi/spi_accessible.c:
3439 Re-ordered role names.
3441 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3443 * idl/Accessibility_Value.idl:
3444 Revert use of union back to CORBA_double, since the double type is
3445 more efficient and can contain the other types without loss of
3448 * idl/Accessibility_Accessible.idl:
3449 Added method Accessibility:Accessible:getRoleName, to complement
3450 Accessibility:Accessible:getRole.
3452 * cspi/spi_accessible.c:
3454 Added C binding for above, Accessible_getRoleName (), and changed
3455 signature of Accessible_getRole () to return an AccessibleRole.
3457 * cspi/spi-roletypes.h:
3458 Changed AccessibleRole_getName to return a char * instead of a
3459 const char *. This method is now at least temporarily deprecated
3460 in favor of asking Accessibles for their RoleNames directly.
3463 Revert to match Accessibility_Value.idl;
3467 Change signature of AccessibleValue methods to use double rather
3471 * cspi/spi_accessible.c:
3472 Changed Accessible_getRole to return an AccessibleRole enum rather
3473 than a UTF-8 string. The UTF-8 string can still be obtained via
3474 AccessibleRole_getName ().
3476 * test/test-simple.c:
3477 Add test_action. Small fixup to match API change to Accessible_getRole.
3480 Bugfix for get_action_from_servant ().
3482 2001-12-11 Michael Meeks <michael@ximian.com>
3484 * libspi/libspi.h: remove registry.h and
3485 desktop.h, deviceeventcontroller.h
3487 * libspi/Makefile.am: remove registry.[ch],
3488 desktop.[ch], deviceeventcontroller.[ch]
3490 * registryd/Makefile.am: add registry.[ch],
3491 desktop.[ch], rename registryd.c to registry-main.c.
3492 add deviceeventcontroller.[ch]
3494 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3497 Replace setenv() call with putenv ().
3499 * libspi/component.c:
3500 Bugfix in AccessibleComponent_getExtents (),
3503 2001-12-11 Michael Meeks <michael@ximian.com>
3505 * libspi/image.c (impl_getImageExtents): impl.
3506 (spi_image_class_init): upd.
3509 (AccessibleImage_getImageDescription): fix daft bug
3512 * test/test-simple.c (global_listener_cb): update
3513 to only quit if not --poke
3514 (main): catch --poke.
3515 (validate_accessible): upd. dumping, call test_image
3518 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3521 * idl/Accessibility.idl: update all IDL includes.
3523 * idl/*.idl - rename to namespace - this sucks, blame
3524 mjs' bad decision for oafd.
3526 * test/test-simple.c (create_test_window): add more tests.
3527 (create_tree): split this out.
3528 (validate_accessible): bugfix.
3530 2001-12-11 Michael Meeks <michael@ximian.com>
3532 * cspi/bonobo/cspi-bonobo-listener.c:
3533 (cspi_kestroke_listener_unref),
3534 (cspi_event_listener_unref): impl. undoing previous
3535 homenous environment - for Bill.
3537 * cspi/spi_table.c (long_seq_to_array): use
3540 * cspi/spi_main.c: split out all bonoboish bits into
3543 * cspi/spi-impl.h: upd. typedefs.
3545 * cspi/spi_registry.c: update to lowlevel API,
3546 return booleans to indicate success in some places.
3548 * cspi/spi_event.c: update to lowlevel API.
3550 * cspi/bonobo/Makefile.am: add.
3552 * cspi/bonobo/cspi-lowlevel.h: add
3554 * cspi/bonobo/cspi-bonobo.c: add
3556 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3558 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3559 (SUBDIRS): add bonobo, link in the libs.
3561 * cspi/spi-util.c: kill this file.
3563 * TODO: merge in my bits.
3565 2001-12-11 Michael Meeks <michael@ximian.com>
3567 * test/test-simple.c (test_value, test_table, main):
3568 remove unused variables causing warnings.
3570 * configure.in: cleanup checks - require gail.
3572 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3575 Changed Value interface to use SValue (scalars) rather than
3576 assuming all values are floats. This allows floats, doubles,
3577 longs, shorts, and unsigned values to be manipulated.
3578 Introduced Accessibility:SValue union.
3581 Updated to use new API above, and to work correctly with GValues
3582 of different types in AtkValue.
3585 Updated to use new API above. cspi's API is as yet unchanged.
3588 Updated the Value revision action item.
3590 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3592 * test/test-simple.c:
3593 Added test_table (GtkTreeView widget in test window to follow).
3594 Un-commented test_value, added GtkRange widget.
3595 Added GtkTreeView widget with GtkListStore. It passes regression
3596 test but leaks one SPI object for some reason.
3599 Fixed bug in impl__set_currentValue.
3601 2001-12-10 Michael Meeks <michael@ximian.com>
3603 * cspi/spi_text.c: audit for exception handling,
3604 tolerating NULL object references safely etc.
3606 * cspi/spi_value.c: ditto.
3608 * cspi/spi_table.c (AccessibleTable_getSummary),
3609 (AccessibleTable_getAccessibleAt),
3610 (AccessibleTable_getRowHeader),
3611 (AccessibleTable_getColumnHeader),
3612 (AccessibleTable_getCaption): fix bugs hidden by
3614 (long_seq_to_array): impl.
3615 (AccessibleTable_getSelectedRows),
3616 (AccessibleTable_getSelectedColumns): use it.
3618 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3621 Added a TODO list (rough and short for now).
3623 * cspi/spi_hyperlink.c:
3624 * cspi/spi_hypertext.c:
3625 Fixed macro name typos, and remove use of obsolete macro in
3626 AccessibleHyperlink_getLink.
3628 * cspi/spi_action.c:
3629 * cspi/spi_accessible.c:
3630 * cspi/spi_application.c:
3631 * cspi/spi_component.c:
3632 * cspi/spi_selection.c:
3635 Documentation fixes (removed return values from ref/unref methods).
3637 2001-12-10 Michael Meeks <michael@ximian.com>
3639 * cspi/spi_action.c: audit for exception handling,
3640 tolerating NULL object references safely etc.
3642 * cspi/spi_accessible.c: ditto.
3644 * cspi/spi_component.c: ditto.
3646 * cspi/spi_editabletext.c: ditto.
3648 * cspi/spi_hyperlink.c: ditto.
3650 * cspi/spi_hypertext.c: ditto.
3652 * cspi/spi_image.c: ditto.
3654 * cspi/spi_selection.c: ditto.
3656 2001-12-10 Michael Meeks <michael@ximian.com>
3658 * configure.in: use cspi/libspi.pc.in instead.
3660 * Makefile.am (pkgconfig_DATA): upd. to match.
3662 * test/simple-at.c (report_focus_event): kill hacks around
3663 bad return values, use putenv not setenv
3665 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3666 fire ChildGone - I killed it.
3668 * libspi/component.c
3669 (impl_accessibility_component_get_extents): remove
3672 * idl/Accessible.idl: kill ChildGone exception.
3674 * cspi/*.[ch]: kill int return from ref / unref.
3676 * cspi/spi_main.c (cspi_object_add_check): fold into
3677 (cspi_object_add): here.
3679 * cspi/spi_component.c (AccessibleComponent_getExtents):
3680 handle exceptions elegantly.
3682 * cspi/spi-private.h (cspi_check_ev_return),
3683 (cspi_return_if_fail): impl.
3685 * cspi/spi_accessible.c: use extensively.
3686 (AccessibleStateSet_equals): add direct compare check.
3688 * cspi/spi_selection.c: tolerate NULL objs, and check
3689 exceptions before return.
3691 * cspi/spi-util.c (cspi_warn_ev): rename to
3692 (cspi_check_ev): this & don't pass ev in; no point.
3694 2001-12-10 Michael Meeks <michael@ximian.com>
3696 * test/test-simple.c: use putenv not setenv
3697 (get_environment_vars): more chatty if you're not using
3700 * test/simple-at.c: do the setenv so more people see the
3703 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3705 * libspi/registry.c:
3706 Changed check of CORBA_environment on notification to be a warning
3707 instead of an error for the moment, since we can recover from this
3708 error when caused by a queued notification from a dead app.
3711 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3712 used by all current implementors of AtkValue), and coerce to
3713 CORBA_float. (Proper general case fix may require change to Value.idl).
3715 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3719 * cspi/spi_accessible.c:
3720 Documentation fixes: added user_data params to documentation for
3721 listeners and callbacks.
3723 * cspi/spi_accessible.c:
3724 Changed AccessibleStateSet_compare to return a
3725 StateSet rather than return the difference set into a third parameter.
3728 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3731 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3732 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3736 Remove subdirectory po from SUBDIRS for now.
3738 * at-bridge/bridge.c:
3739 Beefed up a couple of debug printouts.
3740 One-line fix for signal notification name formatting.
3742 * libspi/accessible.c:
3743 Added assertion to spi_accessible_new ().
3745 * libspi/application.c:
3746 Put #ifdef qualifiers around a printf.
3749 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3751 * registryd/Makefile.am:
3753 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3754 INTLTOOL_SERVER_RULE macro.
3757 Added an event listener for several ATK signals, for
3758 testing and debugging. Removed a few g_warnings.
3759 Added test output if focussed item implements the Value interface.
3761 * test/test-simple.c:
3762 Added test_value () function (known not to pass at the moment, so
3763 not actually called yet.
3765 2001-12-08 Michael Meeks <michael@ximian.com>
3767 * at-bridge/bridge.c (bridge_focus_tracker),
3768 (emit_eventv): fix the same ref. leak.
3769 (register_atk_event_listeners): don't leak.
3771 * cspi/spi-listener-impl.c (cspi_event): more
3772 protection from client code.
3774 * test/test-simple.c (test_desktop): unref the app.
3776 * test/Makefile.am: upd. TESTS.
3778 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3780 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3782 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3784 * cspi/spi_registry.c: constify in strings.
3785 (deregisterGlobalEventListenerAll): don't release the ref.
3787 * cspi/spi.h: start removing redundant / conflicting
3788 gtkdoc comments, making the API readable at a glance :-)
3790 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3792 * test/keysynth-demo.c (keysynth_exit, main): upd.
3794 * test/simple-at.c (main, simple_at_exit): upd.
3796 * test/test-simple.c (unutterable_horror): kill.
3797 (utterable_normal_derefs): kill.
3798 (main): upd & do a setenv before gtk_init, so that we
3799 can use memprof - and to save the pain of remembering
3800 this, if we're running under memprof - don't exit.
3802 * cspi/spi_main.c (SPI_exit): return exit status
3804 (SPI_event_quit): impl.
3805 (SPI_event_main): simplify.
3806 (cspi_is_gnome_app): kill.
3807 (SPI_init): kill isGNOMEapp arg.
3809 * at-bridge/bridge.c (register_atk_event_listeners):
3810 re-instate the unref.
3811 (bridge_exit_func): don't re-activate the registry,
3812 protect vs. theoretical re-entry, use the
3813 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3814 assert a clean shutdown - for regression tests.
3816 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3818 * configure.in: Comment out dummy i18n support for now,
3819 otherwise it fails to build.
3820 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3821 EXTRA_DIST. They are missing in tarball.
3823 2001-12-07 Michael Meeks <michael@ximian.com>
3825 * util/magnifier.c: kill bonobo activation reg. race.
3827 * libspi/component.c
3828 (impl_accessibility_component_get_extents): make it match
3831 * libspi/registry.c (_registry_notify_listeners):
3832 re-remove X headers & reconcile conflicts.
3833 (spi_listener_struct_free): bad conflict resolve.
3834 (impl_accessibility_registry_register_application):
3835 more bad merging fixed.
3836 (impl_accessibility_registry_deregister_application): ditto.
3837 (spi_registry_new): ditto.
3838 (spi_registry_init): don't have an applications field.
3840 [ merge fixups2 branch to here ]
3841 2001-12-07 Michael Meeks <michael@ximian.com>
3843 * test/simple-at.c (report_focus_event),
3844 (report_focussed_accessible): remove g_warning debug.
3846 2001-12-07 Michael Meeks <michael@ximian.com>
3848 * test/test-simple.c (validate_tree): comment out some checks.
3849 (test_desktop): app now not registered idly - horay.
3851 2001-12-07 Michael Meeks <michael@ximian.com>
3853 * cspi/spi_registry.c
3854 (registerAccessibleKeystrokeListener): clean, stop it leaking
3855 great swathes of memory, and device event controller references.
3856 ensure we always pass valid sequences.
3857 (deregisterAccessibleKeystrokeListener): ditto.
3858 (generateKeyEvent): upd.
3860 * at-bridge/bridge.c (bridge_key_listener): handle
3861 registry dead exception gracefully.
3862 (bridge_focus_tracker, emit_eventv): free ev.
3864 * test/simple-at.c (report_focus_event): fix polarity.
3866 * libspi/application.c (notify_listeners): kill the ev
3867 argument, and make sure we init the ev we use.
3868 (spi_application_object_event_listener): split out a chunk
3869 (get_atk_object_ref): here & fixup.
3870 (reverse_lookup_name_for_toolkit_event): make const.
3871 (spi_application_toolkit_event_listener): fixup, kill leaks
3874 * at-bridge/bridge.c (register_atk_event_listeners):
3875 don't unref the noop object - causes grief.
3877 * libspi/registry.c: remove the X headers.
3878 turn off the debug churn.
3880 * libspi/accessible.c (spi_accessible_new_return): only
3881 release the ref if we are supposed to [doh]
3883 * test/simple-at.c (report_button_press, report_focus_event):
3884 guard vs. unexpected exit.
3886 * at-bridge/bridge.c (gtk_module_init): prune printf.
3887 (bridge_exit_func): fix app unref.
3889 * libspi/Makefile.am: don't install registry or desktop.h
3891 * libspi/*.h: update includes.
3893 * libspi/application.h: don't include ourself, or
3894 other redundant headers.
3896 2001-12-06 Michael Meeks <michael@ximian.com>
3898 * libspi/accessible.c
3899 (get_accessible_from_servant): impl.
3900 Upd. all CORBA impl.s to use it killing cut and paste.
3902 * cspi/spi_main.c (cspi_cleanup): guard vs. double
3904 (SPI_init): register atexit cleanup handler here.
3906 2001-12-06 Michael Meeks <michael@ximian.com>
3908 * at-bridge/bridge.c (gtk_module_init): g_error on
3909 activation exception
3911 2001-12-06 Michael Meeks <michael@ximian.com>
3913 * at-bridge/bridge.c (gtk_module_init): some sort of
3914 confusing merge clash - reverted.
3915 (bridge_idle_init): ditto.
3917 * test/test-simple.c (main, utterable_normal_derefs):
3918 merge from Bill - somehow not committed.
3920 2001-12-06 Michael Meeks <michael@ximian.com>
3922 * libspi/value.c (spi_value_class_init): upd.
3923 (spi_value_finalize): kill.
3925 * libspi/table.c (spi_table_finalize): kill.
3926 (spi_table_interface_new): upd.
3927 (spi_table_class_init): upd.
3928 (get_table_from_servant): impl.
3929 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3931 * libspi/selection.c (spi_selection_finalize): kill.
3932 (spi_selection_interface_new): upd.
3933 (spi_selection_class_init): upd.
3934 (get_selection_from_servant): impl.
3935 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3937 * libspi/relation.c (spi_relation_finalize): kill.
3938 (spi_relation_class_init, spi_relation_new): upd
3940 * libspi/image.c (spi_image_finalize): kill.
3941 (spi_image_class_init): upd.
3942 (spi_image_interface_new): upd.
3943 (get_image_from_servant): impl.
3944 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3946 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
3947 (spi_hyperlink_finalize): kill.
3948 (spi_hyperlink_new): upd.
3949 (get_hyperlink_from_servant): impl.
3950 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3952 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
3953 (spi_hypertext_finalize): kill.
3954 (spi_hypertext_class_init): upd.
3955 (get_hypertext_from_servant): impl.
3956 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3958 * libspi/editabletext.c (spi_editable_text_finalize): kill.
3959 (spi_editable_text_interface_new): upd.
3960 (get_editable_text_from_servant): impl.
3961 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3963 * libspi/text.c (get_text_from_servant): impl.
3964 All impls - update to use it killing more cut and paste,
3965 also fix bad string returns on duff args ( a somewhat
3966 impossible case to handle - but hey ).
3967 (spi_text_construct): impl.
3968 (spi_text_interface_new): upd.
3969 (spi_text_object_finalize): kill.
3971 * libspi/component.c
3972 (accessibility_component_object_finalize): kill.
3973 (spi_component_class_init): upd.
3974 (get_component_from_servant): impl. helper to kill cut & paste.
3975 (impl_accessibility_component_contains):
3976 (impl_accessibility_component_get_accessible_at_point):
3977 (impl_accessibility_component_get_position):
3978 (impl_accessibility_component_get_extents):
3979 (impl_accessibility_component_get_mdi_z_order):
3980 (impl_accessibility_component_get_layer):
3981 (spi_component_interface_new): upd.
3983 * libspi/action.c (spi_action_finalize): kill.
3984 (spi_action_class_init): upd. inherit from SpiObject.
3985 (spi_action_interface_new): upd.
3986 (get_action_from_servant): impl. helper to reduce cut & paste.
3987 (impl_getKeyBinding, impl_getName, impl_doAction),
3988 (impl_getDescription): Use it everywhere.
3990 * cspi/spi_main.c (get_live_refs): a pointer hash.
3991 (spi_object_hash, spi_object_equal): comment out.
3992 There are issues with CORBA object hashing that need
3995 * libspi/application.c (spi_application_init),
3996 (spi_application_new): upd.
3998 * libspi/accessible.c (spi_accessible_object_finalize): kill.
3999 (spi_accessible_class_init): upd.
4000 s/accessible/object/ in epv methods.
4002 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4004 * at-bridge/bridge.c:
4005 Reorder the bridge initialization into the bridge gtk_module_init,
4006 an immediate call to bridge_register_app, and an idle_add for
4007 register_atk_event_listeners (the only code that *must* wait until
4008 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4009 the activation, creates the application's Accessible object, and
4010 queues the bridge_idle_init function. Restored call to
4011 Accessibility_Registry_deregisterApplication().
4012 Prior to making this call we obtain a new reference to the
4013 registry, which is a temporary hack that helps us handle apps that
4014 shut down the bonobo mainloop before we get there.
4016 * libspi/registry.c:
4017 Fix string leakage in debug block, and don't segv if a an app
4018 dies before its event notifications have been propagated.
4021 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4022 as stopgap measure until we get proper exception handling when
4023 objects die during or before interrogation.
4027 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4028 Also changed default value of is_gnome_app to TRUE.
4031 * test/keysynth-demo.c:
4032 Changed use of SPI_init and SPI_event_main to reflect API change above.
4035 Made report_focus_event check the warning value from getName
4036 before reporting on focussed accessible; simplifies handling of
4037 notifications from dead objects.
4039 * test/test-simple.c: (Changes not in this patch since source is
4042 2001-12-05 Michael Meeks <michael@ximian.com>
4044 * registryd/registryd.c (main): protect against
4045 bonobo-activation startup race condition.
4047 * cspi/spi_main.c (cspi_object_add_check): cope
4048 with the exception elegantly.
4050 * idl/Accessible.idl: decl. ChildGone
4052 * libspi/desktop.c (spi_desktop_dispose): impl.
4053 (spi_desktop_class_init): upd.
4054 (spi_desktop_add_application),
4055 (spi_desktop_remove_application),
4056 (abnormal_application_termination): impl.
4057 (impl_desktop_get_child_at_index): re-impl.
4060 (impl_accessibility_registry_deregister_application),
4061 (impl_accessibility_registry_register_application):
4062 kill excessive debug clutter.
4064 * test/test-simple.c (test_misc): test some NULL
4065 tolerance. (main): upd.
4067 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4068 implements no interfaces - so let's not crash.
4070 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4072 * libspi/accessible.c (spi_accessible_new_return): impl.
4073 helper to calm the cut and paste, to cope with
4074 NULL AtkObjects effectively and efficiently, and to kill
4075 the referencing bugs.
4077 * libspi/table.c (impl_getAccessibleAt),
4078 (impl_getRowHeader, impl_getColumnHeader): upd.
4080 * libspi/hyperlink.c (impl_getObject): upd.
4082 * libspi/accessible.c
4083 (impl_accessibility_accessible_get_child_at_index): upd.
4085 * libspi/component.c
4086 (impl_accessibility_component_get_accessible_at_point): upd.
4088 * test/test-simple.c (test_editable_text, test_text): impl.
4091 * cspi/spi_editabletext.c
4092 (AccessibleEditableText_insertText): constify.
4094 * test/test-simple.c (focus_me): make more robust.
4096 * libspi/accessible.c: remove some printfs in methods that
4097 we test and work fine, so we can get a clean tree dump.
4099 * test/test-simple.c (validate_accessible),
4100 (validate_tree): make tree dumping pretty too.
4102 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4103 it builds without debug on.
4105 * test/test-simple.c (validate_accessible): fix the most
4108 * cspi/spi_main.c (spi_object_release): leave the nicely
4109 blanked memory around if in debug mode.
4111 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4113 [committed to fixups2]
4114 2001-12-05 Michael Meeks <michael@ximian.com>
4116 * libspi/editabletext.c
4117 (spi_editable_text_class_init): g_type_class_peek_parent,
4118 not interface peek - so we finalize cleanly.
4120 * libspi/accessible.c (spi_accessible_new): kill debug.
4122 * test/test-simple.c (validate_accessible): fix ref.
4123 leak, print strings before freeing them; sigh, comment a
4124 chunk out due to strangeness.
4125 (validate_tree): unref the child after use.
4127 * cspi/spi_component.c (AccessibleComponent_getLayer):
4128 add missing break statement, switch on zlayer not the
4129 uninitialized retval.
4131 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4132 before (possibly re-entering) remote unref.
4134 * test/simple-at.c (main): unref the desktop.
4136 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4139 * cspi/spi_main.c (cspi_accessible_is_a): here to
4140 isolate bonobo API usage more.
4142 * libspi/registry.c (impl_accessibility_registry_register_application):
4143 prune bogus comment.
4145 2001-12-04 Michael Meeks <michael@ximian.com>
4147 * test/test-simple.c (validate_tree): upd.
4148 IndexInParent check to make it more lucid.
4149 (validate_accessible): dump the tree.
4151 * libspi/accessible.c (de_register_public_ref),
4152 (get_public_refs): impl.
4153 (spi_accessible_new): make more efficient & intuitive.
4154 Now IndexInParent check works.
4156 2001-12-04 Michael Meeks <michael@ximian.com>
4158 * cspi/spi-util.h: remove.
4160 * cspi/spi.h: move SPI_freeString here
4162 * libspi/component.c (impl_accessibility_component_get_layer):
4164 (impl_accessibility_component_get_mdi_z_order): ditto,
4165 return -1 on error - is this ok ?
4167 * test/test-simple.c (test_application): impl.
4169 * cspi/spi_accessible.c (Accessible_getApplication),
4170 (Accessible_isApplication): impl.
4172 * libspi/registry.c (spi_listener_struct_free): release
4173 the CORBA reference too.
4175 * libspi/accessible.c
4176 (impl_accessibility_accessible_get_parent): fix ref leak.
4178 * libspi/registry.c (spi_registry_new): make the registry
4179 immortal - we don't want it to go away ever.
4181 * libspi/application.c
4182 (spi_accessible_application_finalize): impl. cleanup.
4184 * cspi/spi_registry.c
4185 (deregisterGlobalEventListenerAll),
4186 (deregisterGlobalEventListener),
4187 (deregisterAccessibleKeystrokeListener): fix ref leak.
4189 * cspi/spi_main.c (SPI_init): remove redundant ref.
4191 * test/test-simple.c (unutterable_horror): impl. to force a
4196 (impl_accessibility_registry_deregister_application): release
4197 the application when we de-register it.
4199 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4200 until we have the infastructure to get it right.
4202 2001-12-03 Michael Meeks <michael@ximian.com>
4204 * libspi/Makefile.am: only build eventlistener.[ch]
4206 * libspi/accessible.c
4207 (impl_accessibility_accessible_get_child_at_index): don't leak.
4209 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4210 before we hit the idle handler.
4212 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4213 debugging than exit.
4215 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4217 * libspi/listener.c (impl_notify_event): check source
4218 not NIL before unref.
4220 * libspi/registry.c (impl_registry_notify_event): ditto.
4222 * libspi/eventlistener.c
4223 (impl_accessible_event_notify_event): unref the source.
4225 * libspi/accessibleeventlistener.c
4226 (impl_accessible_event_notify_event): unref the source.
4228 * idl/Event.idl: remove 'hash_id' attribute - of no
4231 * libspi/application.c (notify_listeners): upd list
4233 (spi_application_object_event_listener),
4234 (spi_application_toolkit_event_listener): upd to do correct
4238 (_registry_notify_listeners): update.
4239 (parse_event_type): this method also leaks like a sieve.
4240 (impl_accessibility_registry_deregister_global_event_listener):
4241 fix ETYPE_WINDOW case.
4243 * libspi/application.c
4244 (impl_accessibility_application_register_object_event_listener):
4247 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4249 * libspi/hypertext.c (impl_getLink): ditto.
4251 * cspi/spi_main.c (cspi_object_add): remove
4252 bogus CORBA_Object_duplicate.
4254 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4257 * cspi/spi_accessible.c
4258 (Accessible_getRelationSet): fix leak / referencing issue.
4260 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4261 (cspi_object_add, cspi_object_unref): upd.
4262 (spi_object_release, get_live_refs): impl.
4263 (cspi_cleanup): simplify.
4265 * *.[ch]: s/boolean/SpiBoolean/
4267 * cspi/spi_accessible.c (role_names): actualy order so it
4268 corresponds with the enum !
4270 * test/test-simple.c (test_roles): check some role strings
4271 vs. enums to detect offset errors.
4273 2001-12-01 Michael Meeks <michael@ximian.com>
4275 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4277 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4279 (Accessible_getChildAtIndex): use cspi_add_check so we
4280 check the ev before using a (possibly) invalid value.
4282 * libspi/accessible.c
4283 (impl_accessibility_accessible_get_parent): don't segv
4286 * at-bridge/bridge.c (gtk_module_init): upd.
4287 (bridge_property_event_listener): don't leak strings
4289 (bridge_state_event_listener),
4290 (bridge_property_event_listener): don't use a static
4291 buffer in case of recursive event emission &
4292 re-enterancy - split out the swathe of cut and paste
4294 (emit_eventv): and fix 2 ref leaks here & comply to the
4296 (bridge_register_app): rename to
4297 (bridge_idle_init): this and kill arg parsing, split
4298 various inits & bonobo-activation registration to module
4299 init time, kill referencing error.
4300 (bridge_exit_func): fix the same leak.
4301 (bridge_focus_tracker): don't leak event structures
4303 (bridge_signal_listener): more leakage and cut & paste
4305 (bridge_key_listener): return the result - FIXME is
4306 this polarity correct ?
4307 (accessibility_keystroke_from_atk_key_event): rename
4308 (accessibility_init_keystroke_from_atk_key_event): and stop
4310 (gtk_module_init): return a value - not that it is checked by
4312 (bridge_key_listener): register my horror at casting between
4313 IDL defined structs.
4314 (bridge_get_registry): kill - not used.
4316 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4318 * test/test-simple.c (test_roles): impl.
4319 (test_desktop, validate_accessible, validate_tree): impl.
4321 * cspi/spi_accessible.c (role_names): fixup bogus
4322 MAX_ROLES setup, make constants const for efficient linkage
4323 (AccessibleRole_getName): conform to coding style, make
4326 2001-11-30 Michael Meeks <michael@ximian.com>
4328 * cspi/spi.h: add missing prototype.
4330 * libspi/registry.c (spi_listener_struct_new): fix sig.
4332 * test/Makefile.am: add test-simple
4334 * test/test-simple.c: add
4336 * test/test.sh: add.
4338 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4340 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4341 do it straight - since otherwise we often get an activation race.
4343 [ work before Bill duplicated a chunk of it ... ]
4344 2001-11-30 Michael Meeks <michael@ximian.com>
4346 * libspi/keystrokelistener.c
4347 (spi_keystroke_listener_class_init): fixup arg
4350 * libspi/eventlistener.c
4351 (spi_event_listener_class_init): ditto.
4353 * tests/test.sh: add.
4355 * cspi/spi-listener-impl.h: update macros.
4357 * cspi/spi-listener-impl.c
4358 (cspi_event_listener_remove_callback): add
4359 correct pre-conditions.
4361 * cspi/spi_main.c (SPI_exit): guard vs. double
4362 exits, exit the mainloop nicely.
4363 (SPI_event_main): make more sense.
4364 (SPI_init): move the atexit evilness here so we
4365 always do it (yuck).
4366 (SPI_event_main): upd.
4368 * test/simple-at.c: update for listener changes.
4370 * registryd/registryd.c (main): prune kruft.
4372 * libspi/libspi.h: upd.
4374 * libspi/eventlistener.[ch]: rename broken macros.
4376 * libspi/accessibleeventlistener.[ch]: remove.
4378 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4380 * test/test-simple.c: Add - automated tests.
4382 * cspi/spi-listener-impl.c (cspi_event),
4383 (cspi_key_event): add user_data to invoke.
4384 (cspi_keystroke_listener_finalize): impl.
4385 (cspi_keystroke_listener_class_init): upd.
4388 (createAccessibleEventListener),
4389 (AccessibleEventListener_addCallback),
4390 (createAccessibleKeystrokeListener),
4391 (AccessibleKeystrokeListener_addCallback): upd.
4393 * libspi/deviceeventcontroller.c
4394 (spi_device_event_controller_check_key_event): add public proto.
4397 (impl_accessibility_registry_deregister_global_event_listener):
4398 always init listeners.
4399 (_registry_notify_listeners): yes it is.
4401 * cspi/spi-listener-impl.c (cspi_key_event):
4403 (cspi_event_listener_finalize): impl.
4404 (cspi_event_listener_class_init): hook up.
4405 (event_handler_new, event_handler_free),
4406 (event_list_remove_by_callback): impl.
4407 (cspi_event_listener_remove_callback),
4408 (cspi_keystroke_listener_remove_callback),
4409 (cspi_keystroke_listener_add_callback),
4410 (cspi_event_listener_add_callback): upd.
4412 * libspi/keystrokelistener.c
4413 (keystroke_listener_object_finalize): kill
4414 (spi_keystroke_listener_class_init): upd.
4415 (spi_keystroke_listener_add_callback),
4416 (spi_keystroke_listener_remove_callback): kill,
4418 (impl_key_event): prune drasticaly.
4420 * libspi/eventlistener.c
4421 (spi_event_listener_add_callback),
4422 (spi_event_listener_remove_callback): kill, use
4424 (impl_accessible_event_notify_event): upd.
4425 (spi_event_listener_object_finalize): remove.
4427 * libspi/Makefile.am: use eventlistener.[ch]
4429 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4431 * libspi/registry.c (_registry_notify_listeners):
4432 Changed listener loop iteration to use preferred convention.
4433 Got rid of string memory leaks caused be calling g_strconcat
4434 inside function calls.
4436 * libspi/registry.c (parse_event_type):
4437 Stopped g_strconcat memory leaks, free the g_strsplit return,
4438 g_strdup the split pieces when used, etc.
4440 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4443 Change method 'compare' to return a 'difference set' rather than
4444 taking a StateSet as an out parameter (more Java-friendly).
4446 * idl/Accessible.idl:
4447 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4449 * idl/Component.idl:
4451 Changed methods 'getExtents' and 'getImageExtents' in these
4452 interfaces to return a BoundingBox structure.
4453 (getPosition and getSize are redundant and possibly should be
4454 removed, rather than creating a corresponding Point struct.)
4456 * cspi/spi_component.c:
4457 Modify implementation of getExtents to reflect the above IDL
4462 Add (missing) AccessibleImage_getExtents () API.
4464 * docs/reference/cspi/at-spi-cspi-sections.txt:
4465 Added AccessibleImage_getImageExtents () to docs.
4467 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4469 * idl/Component.idl:
4470 Added two methods, getLayer () and getMDIZOrder (), to reflect
4471 the new ATK methods atk_object_get_layer and
4472 atk_object_get_mdi_z_order. (Which arguably should be part of the
4473 AtkComponent API and AtkObject). Also added an enum,
4474 ComponentLayer, for the first method's return value.
4476 * libspi/component.c:
4477 Added implementations for these methods.
4479 * cspi/spi_component.c:
4481 Added cspi binding methods for above,
4482 AccessibleComponent_getLayer() and
4483 AccessibleComponent_getMDIZOrder().
4484 Added cspi enum 'AccessibleComponentLayer'.
4486 * docs/reference/cspi/at-spi-cspi-sections.txt:
4487 Added above methods to docs.
4491 Changed typedef for 'boolean' type (and all references to it) to
4492 SPIBoolean, to avoid keyword clashes with C++.
4495 Changed usages of 'boolean' to SPIBoolean.
4497 * test/keysynth-demo.c:
4498 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4499 app), except where SPIBoolean is required by the callbacks API.
4501 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4503 * cspi/spi_registry.c:
4504 Removed obsolete X event loop for passive keygrabs (which now
4507 * registryd/registryd.c:
4508 Removed unnecessary call to gdk_init() [cruft]. This also allows
4509 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4512 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4514 * docs/reference/cspi:
4515 Included docs for SPI_freeString in generated documentation.
4518 Renamed spi_freeString to SPI_freeString, for consistency. Added
4519 documentation for this function.
4522 Renamed spi_freeString to SPI_freeString, for consistency.
4523 Removed obsolete method declaration string_from_corba_string.
4525 * test/keysynth-demo.c:
4526 Small tweak to comments.
4529 Stopped leaking the strings returned from CSPI.
4531 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4533 Merged Michael's branch (see his ChangeLog entries below).
4535 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4536 bridge is alive, release on exit.
4538 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4539 Fix type check macro.
4542 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4545 Added is_gnome_app static, and method cspi_is_gnome_app(),
4546 so we can call the appropriate shutdown routine at exit in SPI_exit.
4548 * cspi/spi_main.c (cspi_object_ref):
4549 Duplicate the corba object passed in, since we're keeping it around.
4551 * cspi/SPI_exit.c, cspi_cleanup:
4552 Moved the releasing of the live refs to its own function, so we
4553 can put it in g_atexit (). Call the appropriate shutdown API
4554 depending on whethe calling client is a gnome app or not
4555 (bonobo_main_quit or CORBA_ORB_shutdown).
4557 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4558 Unref the listener when this method is called, after
4559 deregistration. Updated the API docs to note this behavior.
4561 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4562 Bugfixes: Ref the bonobo object when returning a parent or child
4563 reference, or an AccessibleRelation. Generally made sure
4564 BonoboObject refcount is incremented whenever we return an
4567 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4568 Fixed typo/bug in signal declaration.
4570 * libspi/accessibleeventlistener.h:
4573 * libspi/application.c (spi_application_new):
4574 Fixed leak in initialization.
4577 Remembered to increment bonobo-object refcount when returning
4578 children (applications) from desktop object.
4579 Added (empty) finalize method.
4581 * libspi/deviceeventcontroller.c:
4582 Hold a ref to listeners inside DEControllerKeyListeners.
4583 Added dec_key_listener_free() method. Use prepend instead of
4584 append in key_listener list. Fixed some refcount madness and
4585 leaks in the listener registration/deregistration - deregistration
4586 now calls dec_key_listener_free() on listeners, and on the
4587 temporarily constructed dec_key_listener() used to perform the search/match.
4589 * libspi/hypertext.c (spi_hypertest_finalize):
4590 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4591 class. Also fixed spi_hypertext_interface_new() and
4592 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4594 * libspi/hypertext.h:
4595 Removed pointless and duplicate AtkObject pointer from
4598 * libspi/keystrokelistener.c:
4599 Fixed incorrect type of keystroke_listener_parent_class,
4600 renamed keystroke_listener_object_finalize to
4601 spi_keystroke_listener_object_finalize.
4602 Fixed typo in signal declaration
4603 (spi_keystroke_listener_class_init).
4605 * libspi/registry.c:
4606 Added funcsions spi_listener_struct_new() and
4607 spi_listener_struct_free() to help with memory management issues.
4608 We also now use these methods instead of gnew + poking stuff into
4609 the struct, and to decrement listener counts/free the listeners
4610 when deregistering them.
4611 Fix more refcount bugs in getDesktop() and
4612 getDeviceEventController().
4615 De-ref the desktop after enumerating the applications. Explicitly
4616 decrement the refcounts on the created listeners on exit (using
4617 _unref for keystroke listeners, and via the
4618 deregisterGlobalEventListenerAll command for other event
4621 2001-11-27 Michael Meeks <michael@ximian.com>
4623 * cspi/spi-listener.h: fixup enum.
4625 2001-11-27 Michael Meeks <michael@ximian.com>
4627 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4628 (cspi_keystroke_listener_new): Use the cspi variants.
4630 2001-11-26 Michael Meeks <michael@ximian.com>
4632 * test/keysynth-demo.c: fix 2 compile warnings, missing
4635 * test/simple-at.c (report_focussed_accessible),
4636 (report_focus_event, report_button_press),
4637 (check_property_change, is_command_key),
4638 (report_ordinary_key_event, report_command_key_event): upd.
4640 * util/mag_client.h: include pre-requisites.
4642 * libspi/accessibleeventlistener.c
4643 (spi_event_listener_object_finalize): free any lingering
4646 * libspi/keystrokelistener.c
4647 (keystroke_listener_object_finalize): ditto.
4649 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4650 callbacks, with cspi types.
4652 * cspi/spi_event.c (createAccessibleEventListener): chain to
4653 (AccessibleEventListener_addCallback): here.
4654 (createAccessibleKeystrokeListener): chain to
4655 (AccessibleKeystrokeListener_addCallback): here.
4657 * libspi/keystrokelistener.c
4658 (spi_keystroke_listener_class_init): add signal.
4659 (impl_key_event): emit the event.
4660 (boolean_handled_accumulator): impl.
4661 (marshal_BOOLEAN__POINTER): add, gack.
4663 * libspi/accessibleeventlistener.c
4664 (spi_event_listener_class_init): add signal.
4665 (impl_accessible_event_notify_event): emit the signal &
4666 make the loop efficient.
4667 (spi_event_listener_add_callback): prepend the callback.
4669 * libspi/accessibleeventlistener.h: add an 'event' signal,
4670 decl type on callback.
4672 * libspi/keystrokelistener.h: ditto.
4674 * cspi/spi-listener.h: make methods typesafe and
4675 make them use the new event typedefs.
4677 * test/simple-at.c (report_focussed_accessible):
4678 include mag_client.h
4679 Use *(void *)text_interface not the other thing.
4681 * configure.in: add gtk to registryd bits - since we use
4684 * util/magnifier.c: include libbonobo.h
4686 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4688 * test/keysynth-demo.c:
4689 Turned this into a simple scanning keyboard, to demonstrate the
4690 use of g_timeout_add () as a means of creating timers for
4691 scanning, and the use of GtkStyle for visually indicating when
4692 virtual keyboard elements are selected.
4694 keysynth-demo now listens to any keyboard keys with zero-valued
4695 keycodes (i.e. 'unused' keys) and interprets them as
4698 Reworked the shiftlatch code so that shift-down state isn't held
4699 for long periods (it's only synthesized immediately prior to
4700 the keysynth event it's modifying). Note that shiftlatch in this
4701 demo is a convenience, not intended to take the place of AccessX
4702 which is the better choice for getting 'sticky' modifier keys.
4704 * libspi/deviceeventcontroller.c:
4705 * at-bridge/bridge.c:
4706 * cspi/spi_registry.c:
4707 Removed some debug print stuff, and put other verbosity in #ifdef
4712 Implemented some more of the magnifier IDL for the simple
4713 magnifier: namely, getZoomRegionParams.
4714 Added mag_x and mag_y members to MagnifierData struct, aid of this
4716 Added GtkWindow::realize signal handler to magnifier, to keep it
4717 from receiving keyboard focus from the WM.
4719 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4721 * cspi/spi-private.h: my guess at what michael forgot
4722 before he ran off to NZ :-)
4724 2001-11-23 Michael Meeks <michael@ximian.com>
4726 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4727 comment out non existant method invoke so we link.
4729 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4730 use bonobo_exception_get_text for more friendly warnings.
4732 * cspi/spi.c (Obj_Add): move into spi_main & rename
4733 spi_object_add; kill spi.c
4735 * cspi/spi_registry.c
4736 (deregisterGlobalEventListener),
4737 (deregisterGlobalEventListenerAll),
4738 (registerGlobalEventListener): fix exception leaks.
4740 * cspi/spi_main.c (spi_exception): impl. helper, so we
4741 don't leak exceptions.
4743 * cspi/spi_selection.c
4744 (AccessibleSelection_deselectSelectedChild): return the
4747 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4748 (spi_registry): ditto.
4749 (SPI_init): guard against double inits.
4751 * cspi/*.c: use spi_ev (), and spi_registry () where
4752 appropriate - a temporary hack until we have something
4753 better. Use spi_object_add
4755 2001-11-22 Michael Meeks <michael@ximian.com>
4757 * cspi/Makefile.am: re organise, install the headers.
4759 * cspi/*.h: add G_BEGIN/END_DECLS
4761 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4764 Added non-preemptive keylistener for key events with no modifiers
4765 and shift-only modifier.
4767 * libspi/keystrokelistener.c:
4768 Removed some verbose diagnostics printout.
4770 * cspi/spi_registry.c:
4771 Fixed a bug that caused all key listeners to be registered as
4774 * libspi/deviceeventcontroller.c:
4775 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4776 for non-preemptive key masks.
4779 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4781 * docs/reference/idl/at-spi-idl-docs.sgml:
4782 * docs/reference/idl/at-spi-idl-sections.txt:
4783 * docs/reference/idl/at-spi-idl-overrides.txt:
4784 Added missing files.
4786 * docs/reference/Makefile.am:
4787 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4788 to scan the IDL files :-(
4793 Added .cvsignore files.
4795 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4797 * libspi/deviceeventcontroller.c:
4798 * libspi/keystrokelistener.c:
4800 * cspi/spi_registry.c:
4801 Added filters for KeySets, KeyEventSeq, and event types to key
4802 event dispatching, so listeners should only receive those events
4803 that they requested :-)
4805 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4810 * docs/reference:Makefile.am:
4811 * docs/reference/cspi:
4812 * docs/reference/cspi:Makefile.am:
4813 * docs/reference/cspi:tmpl:
4814 * docs/reference/cspi:tmpl:*.sgml:
4815 * docs/reference/idl:
4816 * docs/reference/idl:Makefile.am:
4817 * docs/reference/idl:at-spi-idl-sections.txt:
4818 * docs/reference/idl:at-spi-idl-docs.sgml:
4819 * docs/reference/idl:tmpl:
4820 * docs/reference/idl:tmpl:*.sgml:
4822 Restructured docs directory to allow separate 'reference' docs
4823 section, and forked idl and cspi docs. Added the sgml template
4824 files to CVS. Added the first sections/structural sgml for the
4827 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4829 * configure.in, libspi/Makefile.am: find libXtst.
4831 2001-11-21 Michael Meeks <michael@ximian.com>
4833 * test/accessx-gui.c: s/spi_value/value/ - doh.
4835 * libspi/base.[ch]: add.
4837 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4839 * idl/Accessible.idl:
4840 * idl/Application.idl:
4843 Started gtk-doc cleanup on IDL.
4845 * libspi/deviceeventcontroller.c:
4846 Added and connected non-preemptive key notification from the
4847 toolkits (in addition to the pre-emptive support from XServer
4848 which we had before, but which causes 'focus flashing'). Filters
4849 are presently limited to key modifiers and global/non-global,
4850 KeySets are presently ignored, as are KeyEvent masks.
4852 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4853 structs into the persistant structure rather than just storing
4854 pointers to things that might not persist across servant
4857 The XGrabKey call now does async keygrabs, because synchronous
4858 ones were deadlocking with GDK_event code in a very nasty way.
4860 Added boolean to internal method notify_keylisteners, to indicate
4861 whether the event came from the 'toolkit source' or the 'global
4862 (XServer) source' - this is used in the notification process to
4863 determine which listeners to send the event to.
4865 deviceeventcontroller.c is now warning-free.
4867 * libspi/registry.c:
4868 Fixed regression in application de-registration.
4869 Also fixed some really brain-dead weirdness having to do with
4870 event dispatching - event structs are now duplicated before being
4871 re-marshalled in the dispatch to listeners. This also fixes a
4872 Solaris build problem.
4875 2001-11-20 Michael Meeks <michael@ximian.com>
4878 (impl_accessibility_registry_deregister_global_event_listener):
4881 * libspi/deviceeventcontroller.c
4882 (spi_device_event_controller_check_key_event): return
4883 FALSE on no virtual method.
4885 * libspi/*..h: make includes work on a correctly pathed install.
4887 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4889 * libspi/application.h: kill unused ( and whacked out )
4890 gboolean *spi_application_set_id (AtkObject *app, long id);
4892 2001-11-20 Michael Meeks <michael@ximian.com>
4894 * libspi/*.[ch]: further convert to bonobo's type func
4895 macros, remove redundnant casts etc.
4897 * libspi/text.c s/accessibility_text/spi_text/g,
4898 re-order to de-cruft.
4900 * libspi/hypertext.c: re-order to kill a huge slew
4901 of redundant forward decls.
4903 * libspi/relation.c: ditto.
4905 * libspi/image.c: ditto.
4907 * */.cvsignore: update
4909 2001-11-20 Michael Meeks <michael@ximian.com>
4911 * libspi/deviceeventcontroller.c
4912 (_controller_register_with_devices): use g_getenv,
4913 kill stdlib.h include.
4915 * libspi/keystrokelistener.c
4916 (spi_keystroke_listener_get_type): kill
4917 (spi_keystroke_listener_class_init),
4918 (spi_keystroke_listener_init): rename to this.
4920 * libspi/text.c (impl_getAttributes): fix warning / bug.
4922 * libspi/*.[ch]: more headers, includes and over commenting.
4924 2001-11-20 Michael Meeks <michael@ximian.com>
4926 * libspi/*.[ch]: fixup headers, includes and over commenting.
4928 * libspi/image.c (impl__get_imageDescription): const
4929 correctness warning fix. remove redundant casting.
4931 * libspi/table.c (impl_getRowDescription): ditto.
4932 (impl_getColumnDescription): ditto.
4934 * libspi/libspi.h: add.
4936 2001-11-19 Michael Meeks <michael@ximian.com>
4938 * libspi/editabletext.c (impl_setAttributes): fix warnings.
4940 * libspi/component.c (accessibility_component_get_type):
4941 rename to (spi_component_get_type): and macroify.
4942 (accessibility_component_init): rename to
4943 (spi_component_init): this
4944 (accessibility_component_class_init): rename to
4945 (spi_component_class_init): this
4947 * libspi/action.c (spi_action_get_type): kill, use the macro.
4949 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
4952 * libspi/application.c (spi_application_object_event_listener),
4953 (impl_accessibility_application_register_object_event_listener):
4954 warning fixes / const understanding updates.
4956 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
4959 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4961 * libspi/spi_accessible.c: Added docs and C bindings for
4962 AccessibleStateSet. (No implementations yet). Documentation
4963 coverage for C bindings now 100%. Made docs for event listeners
4968 boolean notifyListenersSync (in DeviceEventListener listener,
4969 in DeviceEvent event);
4971 oneway void notifyListenersAsync (in DeviceEventListener listener,
4972 in DeviceEvent event);
4974 Added DeviceEventListener and DeviceEvent structs (may deprecate
4975 KeyStroke and KeystrokeListener in favor of this generic
4976 event/listener framework for devices).
4978 * libspi/deviceeventcontroller.c:
4980 Changed some key listener code to take masks, etc., and paved the
4981 way for integration of toolkit/non-preemptive key events. Changed
4982 signatures of some internal methods.
4984 * at-bridge/bridge.c:
4985 Fixed regression connecting to interface signals, apparently
4986 caused by GTK+ changes.
4988 Added an internal bridge_state_listener to deal with
4989 property-change:accessible-state signals.
4991 Changed the key_listeners GList to store structs (including masks,
4992 etc.) instead of just CORBA_Objects (required for full
4993 implementation of key listener API).
4995 Connected the bridge to all currently supported Atk signals.
4996 Events now supported:
4997 object:property-change
4998 object:property-change:accessible-name
4999 object:property-change:accessible-state
5000 object:property-change:accessible-description
5001 object:property-change:accessible-parent
5002 object:property-change:accessible-value
5003 object:property-change:accessible-role
5004 object:property-change:accessible-table-caption
5005 object:property-change:accessible-table-column-description
5006 object:property-change:accessible-table-column-header
5007 object:property-change:accessible-table-row-description
5008 object:property-change:accessible-table-row-header
5009 object:property-change:accessible-table-summary
5010 object:children-changed
5011 object:visible-data-changed
5012 object:selection-changed
5013 object:text-selection-changed
5015 object:text-caret-moved
5017 object:row-reordered
5019 object:column-inserted
5020 object:column-reordered
5021 object:column-deleted
5022 object:model-changed
5024 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5026 * libspi/hyperlink.c,h:
5027 Fixed some broken stuff in hyperlink.
5029 * libspi/relation.h:
5030 * libspi/relation.c:
5031 * cspi/spi_accessible.c:
5032 Initial implementations of AccessibleRelation methods, and docs.
5034 * libspi/accessible.c:
5035 Fixed a bug that caused SEGV if an accessible
5036 object's description is NULL, and a client
5037 requests it. An empty string is now returned.
5039 * cspi/spi_editabletext.c:
5040 * cspi/spi_hypertext.c:
5042 * cspi/spi_hyperlink.c:
5046 Doc coverage now 95%.
5048 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5050 One last namespacing revision:
5051 * libspi/accessibleeventlistener.[ch]:
5052 Renamed SpiAccessibleEventListener to SpiEventListener,
5053 (no need for two namespaces ;-)
5055 And lots of documentation fixes:
5057 * docs/at-spi-docs.sgml:
5058 Fixed 'underscore vs. hyphen' bug that was preventing
5059 the gtk-doc API docs from being automatically generated.
5062 * cspi/spi-listener.h
5064 * cspi/spi_accessible.c
5066 * cspi/spi_application.c
5067 * cspi/spi_component.c
5068 * cspi/spi_editabletext.c
5070 * cspi/spi_hypertext.c
5072 * cspi/spi_registry.c
5073 * cspi/spi_selection.c
5077 * docs/at-spi-docs.sgml
5078 * docs/at-spi-sections.txt
5080 Added and fixed up gtk-doc documentation in cspi.
5082 Interfaces now (fully) documented (subject to revision and enhancement):
5084 Event Listener Support
5086 AccessibleApplication
5090 AccessibleEditableText
5097 AccessibleRelationSet
5102 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5104 * at-bridge/bridge.c:
5105 Initial work for toolkit-level key snooper connection by bridge.
5110 New typedefs and fixes to support new namespacing, and cleaner
5111 separation of cspi bindings from libspi bonobo implementation.
5112 Removed inconsistent and extraneous Spi* namespace prefix that
5113 had crept into cspi headers.
5114 Lots of comment fixes that sed had missed.
5116 * cspi/spi-roletypes.h:
5117 * cspi/spi-statetypes.h:
5118 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5119 to AccessibleRoleType.
5121 * libspi/accessibleeventlistener.h:
5122 Fixed minor namespacing weirdness.
5124 * libspi/deviceeventcontroller.c:
5125 Reordered some internal API for device listeners.
5126 Changed the key registry final boolean to 'is_system_global'
5127 rather than 'is_synchronous', which is more descriptive of its
5129 Added spi_device_event_controller_new().
5130 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5132 * libspi/keystrokelistener.[ch]:
5133 Namespaced KeystrokeListener to SpiKeystrokeListener.
5134 Changed uses of keymasks to use SPI_ prefix, and did other
5137 * libspi/keymasks.h:
5138 Namespaced keymask constants with SPI_ prefix.
5140 * libspi/registry.c:
5141 Some warning fixes, and knock-on fixes from namespace changes.
5144 Added rules for accessx-gui test program.
5146 * test/accessx-gui.c:
5147 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5148 utility. It doesn't actually use at-spi, but it's still cool and
5151 * test/keysynth-demo.c:
5155 Fixes so that these test clients work properly with the namespaced
5156 libraries. (Incompletely tested for technical reasons, fixes may follow)
5159 2001-11-13 Michael Meeks <michael@ximian.com>
5161 * libspi/application.c
5162 (impl_accessibility_application_get_version),
5163 (impl_accessibility_application_get_toolkit_name):
5165 (impl_accessibility_application_set_id),
5166 (impl_accessibility_application_get_id): remove
5167 redundant casting code.
5169 * libspi/action.c (impl_getDescription): fix warnings.
5171 * libspi/accessible.c
5172 (impl_accessibility_accessible_get_parent),
5173 (impl_accessibility_accessible_get_child_at_index),
5174 (impl_accessibility_accessible_get_state),
5175 (impl_accessibility_accessible_get_relation_set):
5176 warning fixes & include action.h
5178 2001-11-13 Michael Meeks <michael@ximian.com>
5180 * *.[ch] fix bits I screwed up:
5182 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5183 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5185 2001-11-13 Michael Meeks <michael@ximian.com>
5187 * *.[ch] Namespace libspi into spi_ and Spi.
5189 2001-13-11 Michael Meeks <michael@ximian.com>
5191 * Makefile.am: dist & install at-spi-1.0.pc
5193 * libspi/Makefile.am: install into at-spi-1.0
5195 * idl/Makefile.am (idldir): install into at-spi-1.0
5197 * at-spi-1.0.pc.in: add.
5199 * configure.in: build it.
5201 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5203 * test/keysynth-demo.c:
5204 Use a 'realize' signal-handler to set the WM properties for
5205 the virtual keyboard, rather than making it a "POPUP" type
5206 override-redirect window (thanks to anders carlsson for that
5209 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5212 * test/keysynth-demo.c:
5213 Added new test of key synthesis, which creates a simple
5214 (mouse-operated) onscreen keyboard. It inserts key events into
5215 the currently-focused window, thus it does not grab keyboard focus
5218 * cspi/spi_registry.c:
5219 Added C binding for AT-SPI generateKeyEvent.
5221 * libspi/deviceeventcontroller.c:
5222 Added call to XFilterEvent so that key listener works with XIM (we
5223 hope). Added event_synth_type to generateKeyEvent, so that we can
5224 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5225 synthesize a press/release pair for KeySyms.
5227 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5229 * libspi/Makefile.am:
5230 * registryd/Makefile.am:
5231 (temporary) hack to include libXtst in libspi and registryd.
5232 (Needed for keystroke synthesis, see below).
5235 Improved API for registerKeystrokeListener, in accordance with
5236 discussions with Gnopernicus team and X server research.
5238 * libspi/registry.c:
5239 * libspi/deviceeventcontroller.c:
5240 * libspi/accessible.c:
5241 * libspi/keystrokelistener.c:
5242 Changes and fixes to support keylisteners for potentially
5243 consumed key events (that is, 'passive grabs').
5244 Added implementation for generateKeyEvent() [untested].
5247 Changes to registerKeystrokeListener() API, as above.
5248 Added deregisterGlobalEventListenerAll(), and
5249 deregisterKeystrokeListener(), which are needed for clean exit of
5251 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5252 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5254 * cspi/spi_registry.c:
5255 Added implementations of function prototypes mentioned above.
5257 * registryd/registryd.c:
5258 Added the key listener event source as a g_timeout(), to allow
5259 receipt of key events that are not caught by GDK (since GDK
5260 doesn't support passive keygrabs, this was necessary).
5263 Changed to attach a keylistener to 'Alt' keys, and
5264 respond to the following keycommands: Alt-M (toggle magnifier);
5265 Alt-F (toggle speech); Alt-Q (quit).
5266 Added an exit routine to deregister the listeners, and a key
5267 listener that prints some key info to the console when a key
5268 matches the listener mask (and is thus received by the listener).
5270 * util/idl/Magnifier.idl:
5271 Changes to magnifier API to support multiple zoom regions,
5272 non-uniform scaling in x and y, markDirty, and a host of other
5273 features that would be useful to magnification.
5276 * util/mag_client.c:
5277 * util/mag_client.h:
5278 * util/mag_control.c:
5280 Source code changes to support the above IDL changes.
5283 As above, and also changes to use a (slower) generic conversion
5284 path for colormap conversions, since the fast RGB conversions have been
5285 reported to fail for 16-bit displays.
5287 2001-10-26 Michael Meeks <michael@ximian.com>
5289 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5291 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5293 * at-bridge/Makefile.am: fix LDFLAGS.
5295 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5297 * at-bridge/bridge.c:
5298 Re-worked listeners for toolkit events, now we have signal
5299 and property listeners. Added a private method
5300 register_atk_event_listeners(), which registers with the
5301 various atk and gtk signals we need to monitor in order to emit
5303 Added emission hook for AtkObject:property-change events, to
5304 support the 'property listeners'.
5305 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5308 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5309 which emit warnings and exit, respectively, if CORBA errors occur
5310 during remote calls, and we now use these methods to check most of
5311 our CORBA calls in the C bindings.
5313 * cspi/spi_accessible.c:
5314 Changed AccessibleSelection_refSelectedChild() to
5315 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5316 now increment refcounts.
5318 * cspi/spi_component.c:
5319 Fixed some long pointer casts (dangerous!) to pass pointers to
5320 CORBA_longs of the proper type to the CORBA stubs, and copy the
5321 data into the longs that were passed into the C bindings code.
5323 * at-bridge/bridge.c:
5325 * libspi/accessible.c:
5326 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5327 hyperlinks, AtkHyperlink is an object type.
5329 * libspi/application.c:
5330 Added various conversions to and from "generic" event types and
5331 atk-specific types; this is really part of the 'bridge'
5332 implementation but is valid for all AtkObject-based accessibility
5335 * libspi/editabletext.c:
5336 Fixed nasty bug wherein editable text's finalize method was
5337 unref'ing tha AtkObject reference that the text parent class was
5338 about to unref _again_. There was also a nasty inheritance bug
5339 that meant that the AccessibleEditableText class was corrupt.
5341 * libspi/selection.c:
5342 Provided implementations for some selection API that was broken.
5344 * idl/Application.idl:
5345 Added registerObjectEventListener () method.
5348 Fixed a number of return values that were Bonobo_Unknowns from
5349 bonobo_object_corba_objref(), which I
5350 forgot to dup before returning. Changed instances of
5351 bonobo_object_corba_objref (bonobo_object(o)) to
5352 BONOBO_OBJREF(o), for concision and clarity.
5354 2001-10-13 Louise Miller <louise.miller@sun.com>
5356 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5357 idl/Event.idl, idl/Registry.idl
5358 Changed these files to include Bonobo_Unknown.idl instead
5361 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5363 * libspi/component.c libspi/component.h:
5364 Fixed typo. Added assertions for object checks in
5365 AccessibleComponent code.
5367 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5369 * idl/Accessible.idl:
5370 Added 'isEqual (Accessible *object)'
5371 method for Accessible. (Not Yet Implemented).
5374 Changed signature of registerKeystrokeListener() to
5375 take a KeySet and KeyEventSeq so that specific keys and event
5376 types could be requested for monitoring, and added a flag
5377 is_synchronous so that either synchronous or asynchronous
5378 notification could be requested. (However this is not all
5379 implemented yet). This also meant adding two new typedefs,
5380 KeyEventSeq and KeySet.
5383 Added two new relations, RELATION_TOOLTIP_FOR and
5384 RELATION_LEAFNODE_OF.
5387 Added new state, STATE_HAS_TOOLTIP.
5389 * libspi/text.c, editabletext.c:
5390 Added new assertions to all casts of bonobo-objects from
5391 CORBA servants, to prevent Text API calls on non-text objects.
5392 Changed suspect casts of int-pointer types, so that we
5393 always send a valid CORBA_long pointer to the CORBA APIs that use
5394 in/out long parameters. We then have to copy from the CORBA_long
5395 into the regular long or int for return to the C bindings, or
5396 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5399 * libspi/deviceeventcontroller.c:
5400 Cleaned these sources up.
5402 Changed return type for getCharacterAtOffset to
5403 CORBA_unsigned_long, to allow for 32-bit characters.
5406 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5410 Fixed 'make dist' so that distro compiles...
5411 * libspi/keymasks.h:
5413 * cspi/spi-listener.c:
5414 KeystrokeListenerCB now returns a boolean.
5416 Added KeyEventType struct, and KeyStroke.
5417 Also added createKeystrokeListener(),
5418 KeystrokeListener_addCallback(),
5419 KeystrokeListener_removeCallback(), and added a keymask to
5420 registerKeystrokeListener().
5421 * cspi/spi_accessible.c:
5422 Changed numerous return types for interfaces from
5423 AccessibleComponent to Accessible<InterfaceName>; this was
5424 probably a cut-and-paste error.
5426 Implementations of new KeystrokeListener api (from spi.h,
5429 Changes to key modifier mapping.
5430 Created ControllerEventMask struct.
5431 Made DeviceEventController derive from Bonobo::Unknown.
5433 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5434 * libspi/deviceeventcontroller.c:
5435 Added a number of new internal (private) methods.
5436 * libspi/editabletext.c:
5437 * libspi/editabletext.h:
5438 Fixed a number of bugs related to the fact that
5439 editabletext inherits from text. Fixed the EditableText struct,
5440 the init() call, and use correct casts when calling Text methods
5441 from an EditableText object. Removed (duplicate) atko from the
5442 EditableText structure, we use the one in the parent Text
5443 structure via the casts mentioned above.
5444 * libspi/keystrokelistener.[ch]:
5445 * libspi/registry.c:
5446 Changes in support of keyboard handling (above).
5448 Keyboard handling, though partly functional, is still not
5449 recommended for at-spi client use as there is considerable
5450 work yet to be done.
5453 Changed some places where pointers to various int types
5454 are cast to be pointers to CORBA_long types and vice-versa:
5455 pointer casting is not safe so we pass pointers of the correct
5456 types and then cast the result before putting it into the target
5459 * libspi/text.h: minor typos corrected.
5461 We now speak not only the name of a Text element, but the
5462 first sentence of its content, when it receives focus.
5463 I also changed the text compression to 75% from 50%.
5464 * util/Accessibility_Util.server.in:
5465 Changed the default magnifier type to be a 3x vertical
5466 splitscreen magnifier (was previously a 2x horizontal one).
5468 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5470 * libspi/keystrokelistener.h:
5471 * libspi/keystrokelistener.c:
5472 Initial functional implementations of KeystrokeListener.
5475 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5477 Fixed string handling for NULL strings in libspi.
5478 Added spi_freeString to free strings returned by C bindings.
5480 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5482 * libspi/keystrokelistener.h:
5483 * libspi/keystrokelistener.c:
5484 Began (no-op) implementations of KeystrokeListener
5486 * libspi/deviceeventcontroller.c:
5487 * libspi/deviceeventcontroller.h:
5488 Began creating implementations of DeviceEventController,
5489 to handle keystroke and mouse event listening and
5491 * libspi/accessible.c:
5492 Stubbed-in the implementations for
5493 Accessibility_Accessible_getState and
5494 Accessibility_Accessible_getRelationSet.
5495 * libspi/registry.c:
5496 Improved de-registration process and fixed some bugs,
5497 deregistration now works correctly.
5499 Added initialization of applications list (to NULL).
5501 Reduced speech compression from 0.5 to 0.7, for demo.
5502 Changed call to gdk_window_set_decorations()
5503 to gtk_window_set_decorated().
5504 * at-bridge/bridge.c:
5505 Bridge now deregisters when app exits, via
5506 registration of a cleanup function
5507 with the g_atexit() call.
5508 Required making 'app' static, renamed 'this_app'.
5509 Fixed broken use of bonobo_init, passing argv wrongly.
5511 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5515 Created a new directory for
5516 accessibility-related utilities, primarily for
5517 testing and demo purposes, but with possible
5524 Onscreen magnifier utility that
5525 is implemented as a bonobo service.
5527 * util/mag_client.c:
5528 * util/mag_client.h:
5529 Client-side support (simple C bindings)
5530 for Magnification service
5532 * util/mag_control.c:
5533 Client program example for
5534 Magnification service
5536 * util/Accessibility_Magnifier.server.in:
5537 Bonobo-activation file for the
5538 Magnification service.
5541 * util/idl/Magnifier.idl:
5542 IDL defining the bonobo Magnification
5546 Modifications to use the bonobo-activated magnifier
5547 above, in place of trying to connect to an existing
5548 magnifier that uses socket-listening IPC.
5550 If env variable MAGNIFIER is set, a magnifier service
5551 will be started if one does not exist.
5553 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5555 * at-bridge/bridge.c:
5556 applied patch from Marc to build and run
5557 against new glib and gtk+ (seemed like a change
5558 to bonobo_init signature was made ?)
5560 made festival-server support turned off by default.
5561 Added support for a simple magnifier (off by default)
5562 which will be added to a 'util' directory later.
5563 * at-bridge/Makefile.am:
5564 Changed "application.h" header from a 'source'
5565 to a 'dependency' of libat-bridge.
5567 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5576 Added interface implementation c files to list of
5577 includes so they are included in libcspi.
5580 Changed prototype of AccessibleAction_doAction to return a
5582 Changed prototype of AccessibleTable_getCaption to
5583 return an Accessible.
5584 Changed prototype of AccessibleTable_getSelectedRows
5585 and AccessibleTable_getSelectedColumns to
5586 return a long (returns the number of selected rows
5587 or columns respectively).
5588 Changed name of AccessibleText_refRunAttributes to
5589 AccessibleText_getAttributes.
5590 Changed prototype of AccessibleText_getCharacterExtents to
5591 return a void rather than a boolean.
5592 Added support for a AccessibleCoordType parameter
5593 specifying what type of coordinates are desired.
5594 Added an AccessibleCordType parameter to
5595 AccessibleText_getPointAtOffset.
5597 * cspi/spi_accessible.c:
5598 Added code to return the outstanding interfaces from
5599 Accessible_queryInterface.
5601 * cspi/spi_action.c:
5603 Corrected call to getNActions to call the c binding
5606 * cspi/spi_editabletext.c:
5608 Changed name from setRunAttributes to setAttributes.
5610 * cspi/spi_hyperlink.c:
5612 Changed call to getNAnchors to correctly call the c
5613 binding for an attribute.
5615 * cspi/spi_hypertext.c:
5617 Changed getImageDescription to correctly call the
5618 binding for an attribute.
5620 * cspi/spi_selection.c:
5621 Changed getNSelectedChildren to correctly call the c
5622 binding for the attribute.
5623 Changed refSelectedChild to getSelectedChild.
5627 Changed getCaption to return an Accessible.
5628 Fixed calls which retrieve attributes.
5629 Changed refAt to getAccessibleAt.
5630 Changed getNSelectedRows and getNSelectedColumns to
5634 Changed getCharacterExtents and getPointAtOffset to accept an
5635 AccessibleCoordType.
5637 Changed calls which retrieve attributes.
5638 Changed refRunAttributes to getAttributes.
5643 * idl/Hyperlink.idl:
5644 Changed n_anchors attribute to nAnchors to keep naming
5645 convention consistent.
5648 Made Table inherit from Bonobo::Unknown.
5649 Added nSelectedColumns and nSelectedRows attributes.
5652 Made Value inherit from Bonobo::Unknown.
5654 * libspi/hyperlink.c:
5655 Change for nAnchors attributte name change.
5657 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5665 Added interface implementation c files to list of
5666 includes so they are included in libcspi.
5669 Changed prototype of AccessibleAction_doAction to return a
5671 Changed prototype of AccessibleTable_getCaption to
5672 return an Accessible.
5673 Changed prototype of AccessibleTable_getSelectedRows
5674 and AccessibleTable_getSelectedColumns to
5675 return a long (returns the number of selected rows
5676 or columns respectively).
5677 Changed name of AccessibleText_refRunAttributes to
5678 AccessibleText_getAttributes.
5679 Changed prototype of AccessibleText_getCharacterExtents to
5680 return a void rather than a boolean.
5681 Added support for a AccessibleCoordType parameter
5682 specifying what type of coordinates are desired.
5683 Added an AccessibleCordType parameter to
5684 AccessibleText_getPointAtOffset.
5686 * cspi/spi_accessible.c:
5687 Added code to return the outstanding interfaces from
5688 Accessible_queryInterface.
5690 * cspi/spi_action.c:
5692 Corrected call to getNActions to call the c binding
5695 * cspi/spi_editabletext.c:
5697 Changed name from setRunAttributes to setAttributes.
5699 * cspi/spi_hyperlink.c:
5701 Changed call to getNAnchors to correctly call the c
5702 binding for an attribute.
5704 * cspi/spi_hypertext.c:
5706 Changed getImageDescription to correctly call the
5707 binding for an attribute.
5709 * cspi/spi_selection.c:
5710 Changed getNSelectedChildren to correctly call the c
5711 binding for the attribute.
5712 Changed refSelectedChild to getSelectedChild.
5716 Changed getCaption to return an Accessible.
5717 Fixed calls which retrieve attributes.
5718 Changed refAt to getAccessibleAt.
5719 Changed getNSelectedRows and getNSelectedColumns to
5723 Changed getCharacterExtents and getPointAtOffset to accept an
5724 AccessibleCoordType.
5726 Changed calls which retrieve attributes.
5727 Changed refRunAttributes to getAttributes.
5732 * idl/Hyperlink.idl:
5733 Changed n_anchors attribute to nAnchors to keep naming
5734 convention consistent.
5737 Made Table inherit from Bonobo::Unknown.
5738 Added nSelectedColumns and nSelectedRows attributes.
5741 Made Value inherit from Bonobo::Unknown.
5743 * libspi/hyperlink.c:
5744 Change for nAnchors attributte name change.
5747 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5749 implementations-- made server implementations own AtkObject pointers
5750 rather than their respective AtkInterrface pointers to fix
5751 refcounting. AtkHyperlink is still broken.
5753 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5754 * cspi/spi_accessible.c:
5755 Added method Accessible_Role_getName(),
5756 and requisite string array (role_names).
5757 Added conversion string_from_corba_strin() call
5758 to Accessible_getName and _getDescription.
5759 * libspi/accessible.c:
5760 Added implementation for Accessible_getRole()
5762 Added festival support, used if environment variable
5765 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5767 * at-bridge/bridge.c:
5768 Now allocate Accessibility_Event using
5769 Accessibility_Event__alloc() instead of g_new0().
5770 * libspi/accessibleeventlistener.c:
5771 Initialize AccessibleEventListener->callbacks to NULL.
5772 Fixed accessible__event_listener_init() param, changed to
5773 "AccessibleEventListener *" type.
5774 Changed a bonobo_object_release_unref() call to
5775 Accessibility_Accessible_unref().
5776 * libspi/listener.c:
5777 Changed Bonobo_Unknown_unref to (equivalent)
5778 Accessibility_Accessible_unref.
5779 * libspi/registry.c:
5780 Changed bonobo_object_release_unref to
5781 Accessibility_Accessible_unref.
5783 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5786 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5787 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5788 spi-util.c spi-util.h
5789 Implementations for C bindings to remaining accessibility
5792 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5795 changed return value of Action from void to boolean to
5796 bring in line with ATK.
5799 Changed getText funcions to return "out" start and end offsets.
5800 Changed getAttributes to take and offset and return the start
5801 and end offset of the attribute run.
5802 Changed getOffsetAtPoint and getCharacterExtents to take an
5803 enum describing whether coordinates are window or screen.
5806 libspi/action.c libspi/action.h libspi/editabletext.c
5807 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5808 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5809 libspi/image.h libspi/selection.c libspi/selection.h
5810 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5811 libspi/value.c libspi/value.h
5812 Added server implementations for outstanding ATK interfaces
5813 not yet implemented.
5815 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5818 Added (missing) getName() method.
5819 Made nActions an attribute.
5820 * idl/EditableText.idl:
5821 Changed order of params in setAttributes.
5822 * idl/Hyperlink.idl:
5823 Removed getAnchor, added getURI.
5825 Changed attributes to methods, for efficiency
5826 (so that getting extents can be done in one call)
5827 * idl/Selection.idl:
5828 Changed nSelectedChildren to attribute, and re-indented.
5829 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5831 * idl/Text.idl: reformatted to match our coding style.
5832 (temporarily?) removed getRowColumnAtOffset().
5833 Changed text selection API to support multi-select and
5834 non-contiguous selections, as in ATK.
5835 * idl/Value.idl: changed some methods to attributes.
5837 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5839 * libspi/listener.c(impl_notify_event):
5840 BonoboUnkown_unref the source instead
5841 of bonobo_object_release_unref - the ORB
5842 handles the releasing.
5844 * configure.in: require ORBit-2.3.94 for
5847 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5849 Tagged CVS repository 'EA_1_0'.
5850 * README.EARLY_ACCESS:
5851 Alphabetized acknowledgements list, and
5853 Listed some known dependencies of at-spi.
5855 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5857 * docs/at-spi-docs.sgml:
5858 * docs/at-spi-sections.txt:
5859 * docs/at-spi-overrides.txt: (Added zero-length file)
5860 Documentation improvements - gtk-doc should build
5861 docs for all implemented C bindings now.
5864 * cspi/spi.c: (New file)
5865 * cspi/spi_event.c: (New file)
5866 * cspi/spi_registry.c: (New file)
5867 * cspi/spi_accessible.c: (New file)
5868 * cspi/spi_application.c: (New file)
5869 * cspi/spi_component.c: (New file)
5870 Split spi_main.c into six parts, and included them from
5871 "spi.c". This is a bit of a hack, probably temporary,
5872 but required by gtk-doc, apparently.
5874 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5877 * docs/at-spi-docs.sgml:
5878 * docs/at-spi-sections.txt:
5880 Initial checkins/modifications for gtk-doc generation.
5883 Added (missing) interface query methods to Accessible's C binding.
5885 Added GenericInterface type definition.
5887 Added query for AccessibleComponent interface to focus event handler.
5888 Added printout of bounding box for focussed component.
5889 * libspi/component.c:
5890 Added partial implementation for AccessibleComponent to C binding.
5891 * idl/Application.idl:
5892 * libspi/registry.c:
5893 * libspi/listener.c:
5894 * libspi/application.c:
5895 * libspi/application.h:
5896 Changed "ID" attribute type from string to long.
5898 2001-08-19 Bill Haneman <bill.haneman@sun.com>
5902 Made method naming consistent: methods taking object args
5903 start with uppercase, other methods (except those using
5904 acronyms) start with lowercase. Underscores delimit between
5905 object names and method names:
5906 SPI_init() - uppercase since it starts with an acronym.
5907 getDesktopCount () - lowercase start since no object param0.
5908 Accessible_getName() - uppercase object type name, studlyCaps method
5912 Added gtk-doc documentation for all currently implemented
5913 methods in the C bindings API.
5915 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5917 * Makefile.am : changed build order to build test last.
5920 Changed "createEventListener" to "CreateEventListener".
5921 * libspi/accessibleeventlistener.c :
5922 Bugfix for addition of callbacks.
5923 * test/Makefile.am :
5924 * test/simple-at.c :
5925 Added new test that uses the C bindings API.
5927 * libspi/listener.c :
5928 * libspi/registry.c :
5929 * libspi/accessibleeventlistener.c :
5930 * at-bridge/bridge.c :
5931 Renamed member "target" of Accessibility_Event to "source",
5932 which is more descriptive.
5935 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5939 * cspi/Makefile.am :
5940 Added makefile support for at-spi/cspi directory.
5943 * cspi/spi-listener.h : (NEW FILE)
5944 Added support for/use of spi-listener.h.
5946 C bindings now build successfully, with no warnings.
5947 * libspi/accessibleeventlistener.h : (NEW FILE)
5948 * libspi/accessibleeventlistener.c : (NEW FILE)
5949 * libspi/Makefile.am :
5950 Added new object type "AccessibleEventListener"
5951 which inherits from Listener, and allows attachment
5952 of in-process callbacks (so that a client with a listening
5953 object instance can add functionality to the local
5954 implementation, dynamically).
5956 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5958 * libspi/accessible.c:
5959 Add implementation for get_index_in_parent().
5961 Added #include of "spi-roletypes.h", and
5962 added enumerated type AccessibleCoordType.
5963 Added definition for KeystrokeListener (function type).
5966 * cspi/spi-statetypes.h :
5967 * cspi/spi-roletypes.h :
5969 Added these headers, used by spi.h.
5971 Added code (NOTE: not yet built by make).
5973 2001-08-18 Mark McLoughlin <mark@skynet.ie>
5975 * libspi/Makefile.am: generate imodule
5976 at the same time as other idl compiler
5979 2001-08-17 Bill Haneman <bill.haneman@sun.com>
5980 * libspi/registry.c :
5981 * libspi/application.c :
5982 * idl/Application.idl :
5983 Made registration with toolkit an application method,
5984 which is required since each app has its own toolkit static
5985 environment. Thus the bridge must register for
5986 notification of toolkit events from each application in turn.
5987 Toolkit notifications are now successfully registered for, and
5988 sent to the listening at client.
5990 Changed toolkit event string to use hyphens rather than underscores.
5991 * libspi/listener.c :
5992 listner now gives more info in debug mode - it reports the
5993 name of the event received, as well as the name of the source.
5996 2001-08-16 Bill Haneman <bill.haneman@sun.com>
5998 * libspi/registry.c :
5999 added more implementation for toolkit events.
6000 Fixed bug such that toolkit event registrations
6001 (via atk) use the whole event name string, not
6003 Removed a useless call to an ORBit_ method.
6004 * at-bridge/bridge.c :
6005 Removed unused local sbuf[] variable.
6007 We now register for Gtk:GtkWidget:button_press_event
6008 events as well as "focus:" events.
6010 Add some more API from Registry.idl that was missing,
6011 for keystroke listening, keystroke and mouse event
6012 synthesis, and enumeration of accessible desktops.
6014 2001-08-16 Michael Meeks <michael@ximian.com>
6016 * configure.in: use AM_GLIB_GNU_GETTEXT.
6018 * Makefile.am (SUBDIRS): kill intl.
6020 2001-08-15 Michael Meeks <michael@ximian.com>
6022 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6024 * configure.in: upd.
6026 * configure.in: depend on a recent bonobo-activation that
6027 will find our server files ...
6029 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6031 * libspi/accessible.c : accessible_new() :
6032 Now we add the Component interface via bonobo_object_add_interface,
6033 if the contained AtkObject implements AtkComponent.
6034 * libspi/accessible.h : now include "component.h"
6035 * libspi/component.h :
6036 * libspi/component.c : added files - implementation of
6037 bonobo wrapper object for Accessibility/Component
6038 * libspi/listener.c :
6039 Added test code to check for Accessibility/Component:1.0
6040 interface and report whether it is implemented by the
6042 * libspi/registry.c :
6043 Now we check for not only the hash of the whole event
6044 string before relaying the event, we also check the
6045 "minor" event string (without the detail string).
6046 This allows event listeners to be registered against
6047 all events of a certain major+minor type, or just
6048 against a specific major+minor+detail type.
6049 * libspi/accessible.c :
6050 Added implementations for Accessible:get_parent(),
6051 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6052 * libspi/registry.c :
6053 * libspi/listener.c :
6054 Replaced calls to Accessibility_Accessible_ref() and
6055 Accessibility_Accessible_unref() with
6056 calls to bonobo_object_dup_ref() and
6057 bonobo_object_release_unref(), so that the CORBA object
6058 is dup-ed and released when relayed, as well as the bonobo object.
6060 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6062 * libspi/Makefile.am,
6063 registryd/Makefile.am,
6064 at-bridge/Makefile.am.
6065 test/Makefile.am, configure.in:
6066 reverse previous changes.
6068 * /idl/Image.idl: fix typo.
6070 * test/Makefile.am: put DEBUG_FLAGS
6073 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6075 * test/app.c: use argv[0] instead of
6078 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6080 * libspi/Makefile.am,
6081 registryd/Makefile.am,
6082 at-bridge/Makefile.am.
6083 test/Makefile.am, configure.in:
6084 cleanup, replace individual LIBS/CFLAGS with
6085 AT_COMMON_{LIBS|CFLAGS}.
6089 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6091 * configure.in, libspi/Makefile.am:
6092 Change IDL path checking for bonobo-activation
6095 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6097 * registryd/registry.c : separated event listeners to use
6098 3 separate lists (focus, window, toolkit). Began testing
6099 event names against hashes before relaying events.
6100 * test/at.c : now register for events of type "focus:"
6101 * test/app.c : now generate events of type "focus:"
6102 * at-bridge/bridge.c : register with ATK for focus events,
6103 and we now relay those focus events to any "focus:" listeners.
6104 This now works with the bridge as a GTK_MODULE when running test/at.
6105 * libspi/registry.c :
6106 * libspi/listener.c :
6107 now we ref event sources before propagating, and unref on receipt.
6108 * libspi/registry.c :
6109 some changes to internal structs, to support event typestring hashes.
6110 * text/app.c : changed the way the appname is generated.
6111 * cspi : added directory that will hold the C bindings library for
6112 non-CORBA/bonobo-savvy clients.
6113 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6114 * idl/Component.idl : added in parameter to indicate coord system for
6115 geometry-related calls.
6116 * idl/Hyperlink.idl : added readonly n_links attribute
6117 * idl/Image.idl : changed methods to attributes.
6119 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6121 * at-bridge/Makefile.am: link against
6122 ../libspi/libspi.la instead of -lspi.
6124 * at-spi/test/app.c: include
6125 bonobo-activation.h. Use a default appname
6126 if one is not provided.
6128 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6130 * idl/Registry.idl : temporarily changed register_Application
6131 to oneway, to work around issue with initial registration
6133 * idl/Application.idl : changed attribute "id" from readonly
6134 to read-write, since it needs to be assigned by Registry.
6135 * registryd/registryd.c : added call to set application id
6137 * registryd/registry.c : changed de-registration procedure to
6138 use CORBA_Object_hash() to find matching object ref in application
6139 lists and listener lists.
6140 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6141 began distinguishing between event types (work in progress).
6143 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6146 * libspi/application.c:
6147 Added implementations for get/set id, get_toolkitName,
6149 * registryd/registryd.c :
6153 Converted from use of OAF to bonobo-activation.
6154 * libspi/desktop.h :
6155 * libspi/desktop.c :
6157 Removed references to atksimpleobject, since base atkobject
6158 implementation now provides functionality we need.
6159 * libspi/atksimpleobject.c :
6160 * libspi/atksimpleobject.h :
6165 * at-bridge/Makefile.am
6166 * at-bridge/bridge.c
6169 Added directory "bridge" and contents, and added dependencies
6170 in Makefile.am/configure.in.
6171 Initial checkin of "at-bridge".
6172 This code is a GTK_MODULE which automatically registers
6173 GTK+ apps with the accessibility registry, using an object
6174 reference to the root ATK object.
6176 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6178 * po/Makefile.in.in: Remove. Again. If this
6179 doesn't get autogenerated - you need to update
6182 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6184 * po/Makefile.in.in: Add. Again.
6186 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6188 * libspi/accessible.c : added support for 'description' property.
6189 * libspi/accessible.c
6191 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6192 (since the two are now equivalent in libbonobo)
6200 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6201 Bonobo::Unknown as does Accessibility::Accessible.
6202 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6203 interface with Bonobo::Stream, since it was redundant with it.
6204 (The Stream returned by a StreamableContext object is expected to
6205 implement only a subset of Bonobo::Stream)
6207 2001-07-28 Anders Carlsson <andersca@gnome.org>
6209 * libspi/accessible.c (accessible_object_finalize): Change
6210 g_free to g_object_unref since the AtkObject is a GObject.
6212 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6214 * idl/Accessibility.idl: add new IDL files
6217 * idl/Action.idl: Definitions of actionable UI object
6218 * idl/Component.idl: Definitions of UI component geometry, etc.
6219 * idl/Hyperlink.idl: Defs of hyperlink behavior
6220 * idl/Image.idl: Def of accessible image
6221 * idl/Selection.idl: Definition of UI object with selectable children
6222 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6223 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6224 * idl/Text.idl: Interface defs for UI elements with complex textual content
6225 * idl/Value.idl: Definition of UI element that is a value controller or display
6227 2001-07-27 Michael Meeks <michael@ximian.com>
6229 * po/Makefile.in.in: remove autogenerated file from CVS.
6231 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6234 * idl/Registry.idl: include guard.
6236 * idl/Accessibility.idl: Add, and include all the other IDL
6239 * idl/*.idl: remove mass of pragmas etc.
6241 2001-07-26 Michael Meeks <michael@ximian.com>
6243 * registryd/Makefile.am (registryd_SOURCES): remove
6246 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6248 * libspi/.cvsignore, registryd/.cvsignore,
6249 test/.cvsignore: updated.
6251 * po/Makefile.in.in: gettext update.
6253 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6255 * initial CVS checkin
6257 2001-06-29 Michael Meeks <michael@ximian.com>
6259 * configure.in: add AM_CONFIG_HEADER to gen config.h