1 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
3 * configure.in: Added "sq" to ALL_LINGUAS.
5 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
7 * configue.in: Added 'ms' (Malay) in ALL_LINGUAS.
9 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
11 * configure.in: updated ALL_LINGUAS list
13 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
15 * configure.in: Added Belarusian to ALL_LINGUAS.
17 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
19 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
21 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
22 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
24 This fixes bug #116949.
26 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
28 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
29 Correct CSPI to SPI in function documentation.
31 This fixes bug #118054.
33 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
35 * configure.in: Added Russian to ALL_LINGUAS.
37 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
39 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
41 2003-07-14 Danilo Ĺ egan <dsegan@gmx.net>
43 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
45 2003-07-10 Joel Brich <joel.brich@laposte.net>
47 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
49 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
51 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
53 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
55 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
56 resources allocated for AccessibleEvent. See cspi_event().
58 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
59 static variable streams to NULL.
61 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
62 Update so that AcessibleEvent_ref will work.
64 This fixes bug #116624.
66 2003-07-06 Jordi Mallach <jordi@sindominio.net>
68 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
70 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
72 * configure.in: Added "fr" (French) to ALL_LINGUAS.
74 2003-07-02 Christian Neumair <chris@gnome-de.org>
76 * configure.in: Added "de" (German) to ALL_LINGUAS.
78 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
80 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
82 2003-07-01 Miloslav Trmac <mitr@volny.cz>
84 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
86 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
88 * configure.in: Added "pl" to ALL_LINGUAS.
90 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
92 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
94 2003-06-30 Bill Haneman <bill.haneman@sun.com>
97 (get_action_from_servant):
98 Removed assertion that action is implemented on an AtkObject.
100 * libspi/hyperlink.c:
102 Aggregate AccessibleAction interface on the hyperlink object if
103 the object implements AtkAction. (This convention is used in
106 2003-06-30 Bill Haneman <bill.haneman@sun.com>
108 * configure.in: Revved to 1.3.5.
110 * registryd/Accessibility_Registry.server.in.in:
111 Marked up appropriate strings for translation.
113 * atk-bridge/bridge.c: Marked a couple of
114 user-visible warnings for translation. Questionable
115 whether they are really useful, but possibly so.
118 2003-06-28 Christian Rose <menthos@menthos.com>
120 * configure.in: Added "sv" to ALL_LINGUAS.
122 2003-06-26 Bill Haneman <bill.haneman@sun.com>
124 * registryd/registry.c:
125 (spi_registry_object_finalize): Unref the deviceeventcontroller.
126 (registry_defer_on_event): Defer focus: events, this is an
127 improvement to the patch for bug #108664.
129 * TODO: Update with 2.4/"Dev Complete" items.
131 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
133 * atk-bridge/bridge.c:
134 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
135 looks up signals once.
136 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
137 if doing registration.
138 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
139 when doing registration.
141 This fixes bug #115014.
143 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
145 * atk-bridge/bridge.c:
146 (atk_bridge_init): Add signal handler for children-changed:remove on
147 root when in a BonoboComponent.
148 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
149 for first toplevel only other incrememt variable toplevels.
150 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
151 application and remove listeners.
152 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
154 (spi_atk_deregister_event_listeners): New function which removes
156 (reinit_register_vars): New fuction which reinitializes variables.
158 This fixes bug #111578.
160 2003-06-13 Bill Haneman <bill.haneman@sun.com>
162 * configure.in: version 1.3.4.
164 * cspi/spi_accessible.c:
165 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
168 2003-06-13 Michael Meeks <michael@ximian.com>
170 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
172 * cspi/spi_main.c (cspi_peek_ev): impl.
174 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
176 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
178 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
180 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
181 SPI_ROLE_AUTOCOMPLETE
183 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
185 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
186 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
188 2003-06-11 Bill Haneman <bill.haneman@sun.com>
190 * libspi/streamablecontent.h:
191 * libspi/streamablecontent.c:
192 New files, provide implementation/wrappers for
193 Accessibility_StreamableContent.
195 * cspi/spi_streamablecontent.c:
196 Connected the C wrappers to the libspi C bindings.
197 (AccessibleStreamableContent_close): New method.
200 (AccessibleStreamableContent_close): New method, needed
201 since we have an "open, [seek], read, close" model in cspi.
203 2003-06-11 Bill Haneman <bill.haneman@sun.com>
205 Fix for #108664; Padraig's revision of my original patch.
207 * registryd/registry.h:
208 Added event queue list, is_queuing, and exit_notify_timeout
209 to the registry struct.
211 * registryd/registry.c:
212 (registry_init): Initialize new struct from registry.h.
213 (impl_registry_notify_event):
214 Filter events before notifying, in case some need to be
216 (registry_filter_event): New,
217 we defer certain incoming events (for instance
218 window:deactivate) because we may wish to hide
219 or reject them based on pending events. This is
220 mostly a workaround for bug #108664.
221 (registry_queue_event, registry_start_queue): New.
222 (registry_defer_on_event): Test event to see if it
224 (registry_reset_on_event): Returns TRUE if the
225 event should cause a queue reset.
226 (registry_discard_on_event): Returns TRUE if the event
227 should cause the previous queue contents to be discarded.
228 (registry_timeout_flush_queue): Flushes the pending event
229 queue if no reset/discard-triggering events have come in
230 within the timeout period.
231 (registry_emit_event): New.
232 (registry_clone_notify_context): New, used when queueing the
233 event notify contexts.
235 2003-06-10 Bill Haneman <bill.haneman@sun.com>
237 * configure.in: Version revved to 1.3.2, lt 0.9.2
238 Incremented ATK required version to 1.3.4.
240 * cspi/spi_registry.c:
241 (SPI_generateKeyEvent):
242 We now pass the keystring along if it's non-null.
244 * registryd/deviceeventcontroller.c:
245 (keysym_mod_mask): New method, returns modifier mask
246 required to generate a keysym from a given keycode.
247 (dec_synth_keysym): New method.
248 (dec_synth_keystring): New method.
249 (dec_get_modifier_state): New method.
250 (dec_lock_modifiers): New
251 (dec_unlock_modifiers): New.
252 (dec_keysym_for_unichar): New, rather brute-force
253 conversion from UCS-4 to X KeySyms. Only works for
254 Latin at the moment, with partial implementations for
255 Greek, Hebrew, and (incomplete) Katakana.
256 (impl_generate_keyboard_event): Now implement
257 "KEYSTRING" synthesis and implement "KEYSYM"
259 (keycode_from_keysym): Improved, passes a returned
260 modmask value now if the corresponding param is non-NULL.
262 Fixes bugs #92143 and #109776.
265 * test/keysynth-test.c:
266 New test program for key synthesis, to confirm fixes for
270 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
272 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
274 * cspi/spi_accessible.c (cspi_init_relation_type_table):
275 Add line for RELATION_POPUP_FOR
277 * docs/reference/cspi/tmpl/spi_relation.sgml:
278 Add relation SPI_RELATION_POPUP_FOR
280 * docs/reference/cspi/tmpl/spi_stateset.sgml:
281 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
283 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
285 * libspi/relation.c (spi_init_relation_type_table):
286 Add line for RELATION_POPUP_FOR
288 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
290 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
291 there are still windows which have not been deleted and emit
292 window:deactivate, if necessary and window:destroy events.
293 This fixes bug #114370. The change on June 5th was not correct.
295 2003-06-09 Bill Haneman <bill.haneman@sun.com>
297 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
300 (SPI_dupString): Allow dup-ing of a string such that it's safe to
302 New methods for client exception handling and interception.
303 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
304 (SPI_exceptionHandlerPop): You guessed it...
305 (SPI_getSourceType): Return the type of object which offended.
306 (SPI_getExceptionCode): Return an enum code telling, possibly,
307 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
308 (SPIAccessibleException_getSource): get the source object for
309 exceptions that come from Accessibles, if SPIExceptionSourceType is
310 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
311 (SPIException_getDescription): New, returns a string description of
312 the problem. [Not yet a stable ABI, strings are not frozen]
314 * cspi/spi-private.h:
315 Added implementation details of opaque SPIException
319 Implementations of above. Also
320 (_cspi_exception_throw): new private method that
321 dispatches exceptions to handlers, called from cspi-bonobo.c
323 * cspi/bonobo/cspi-bonobo.c:
324 (cspi_check_ev): call _cspi_exception_throw.
325 Don't print a warning message if the exception has been
326 handled by _cspi_exception_throw.
328 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
330 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
331 there are still windows which have not been deleted and emit
332 window:deactivate, if necessary and window:destroy events.
333 This fixes bug #114370.
335 2003-06-03 Bill Haneman <bill.haneman@sun.com>
338 (cspi_accessible_is_a): Make non-fatal
339 if the object reference is dead.
341 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
343 * cspi/spi_main.c: #include <stdio.h>
344 * test/simple-at.c: ditto
345 * test/event-listener-test.c: ditto
346 * test/screen-review-test.c: ditto
348 2003-05-30 Michael Meeks <michael@ximian.com>
350 * test/test-simple.c (main): use CORBA_ORB_perform_work
351 instead of an unnecessary linc_ call.
353 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
355 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
356 Add SPI_STATE_INDETERMINATE.
358 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
361 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
363 * libspi/stateset.c (init_state_type_tables): Add support for
366 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
368 * configure: Update versions of atk and gail required.
369 This fixes bug #113268.
371 2003-05-02 Bill Haneman <bill.haneman@sun.com>
373 * configure.in: Revved micro version to 1.3.1 (because of build fix).
375 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
377 * libspi/Makefile.am:
378 Ensure headers are generated before being used by c sources.
380 2003-05-01 Bill Haneman <bill.haneman@sun.com>
383 Simplified lt versioning rules.
384 Incremented version to 1.3.0, to indicate that we're on the
387 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
389 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
390 Add MKDB_OPTIONS=--outtput-format=xml
392 * docs/reference/cspi/at-spi-cspi-docs.sgml
393 docs/reference/idl/at-spi-idl-docs.sgml:
394 Convert to Docbook XML.
396 This fixes bug #111793.
398 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
400 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
401 AcccessibleKeyEventType, AccessibleKeyMaskType.
403 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
405 * cspi/state-types.h: Add documentation for AccessibleState.
407 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
408 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
409 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
410 AccessibleComponentLayer.
412 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
415 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
417 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
418 Accessible. Add description of AccessibleEvent,
419 AccessibleEventListenerCB.
421 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
424 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
425 documentation. Add description of AccessibleKeystrokeListenerCB,
426 AccessibleKeyEventMask, AccessibleModifierMaskType,
427 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
428 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
430 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
433 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
436 This fixes bug #104730.
438 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
440 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
441 Set is_text field of Accessibility_DeviceEvent data structure.
443 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
444 is-text field of AccessibleDeviceEvent data structure.
446 This addresses part of bug #108666.
448 * registryd/devcieeventcontroller.c: Unset debug option.
450 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
453 (cpi_initial_relation_type_table): New function which initializes
454 mapping between Accessibility_RelationType and AccessibleRelationType.
455 (cspi_relation_type_from_spi_relation_type): New function which
456 translates an Accessibility_RelationType into an AccessibleRelationType.
457 (AccessibleRelation_getRelationType): Use
458 cpi_relation_type_get_spi_relation_type to return correct value.
459 (spi_state_to_corba): Return correct type for default case.
461 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
462 Use Accessibility_EventType instead of Accessibility_KeyEventType.
464 * cspi/cspi-bonobo-listener.c:
465 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
468 * libspi/accessible.c, libspi/action.c, libspi/application.c,
469 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
470 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
471 libspi/image.c, libspi/listener.c, libspi/selection.c,
472 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
473 registryd/desktop.c, registryd/registry.c:
474 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
476 * libspi/eventlistener.c
477 Remove semicolon after BONOBO_TYPE_FUNC.
480 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
481 (spi_init_relation_type_table): Initialize using correct type.
483 * registryd/desktop.c:
484 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
485 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
486 of Accessibility_KeyEventType.
488 * test/key-listener-test.c (report_tab_key_event): Use fprintf
491 * tests/simple-at.c, tests/screen-review-test.c:
492 Add include for <strings.h>.
494 * tests.stress-test.c:
495 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
497 These changes fix compiler warnings when using FORTE compiler on
498 Solaris; fixes bug #107479.
501 2003-04-10 Bill Haneman <bill.haneman@sun.com>
504 * configure.in: revved to 1.1.10
507 (SPI_KEYMASK_NUMLOCK): Added.
509 * registryd/deviceeventcontroller.c:
510 (spi_key_event_matches_listener): AND with a smaller
511 bitmask (as we should).
512 (spi_dec_translate_mask):
513 New method, sets the virtual NumLock modifier bit
514 if numlock is on. Eventually it can handle other virtual
515 modifier bits if needed, or other marshalling from
516 at-spi modifier masks to platform (X) masks.
517 (spi_dec_key_listener_new):
518 Call spi_dec_translate_mask to set up virtual mod bits
519 in the 'mask' field when creating a new listener struct.
520 (spi_dec_emit_modifier_event):
521 Set the virtual (i.e. NumLock) bits before emitting event.
522 (spi_controller_register_with_devices):
523 Query for the NumLock modifier 'physical' bit if Xkb is
524 present, for use in above methods.
528 2003-04-10 Bill Haneman <bill.haneman@sun.com>
530 * registryd/deviceeventcontroller.c:
531 (spi_keystroke_from_x_key_event):
532 Instead of checking to see if the keysym is
533 printable, check the string from XLookupString
534 if available, get the first unicode character from it,
535 and call g_unichar_isprint to determine whether the
536 is_text flag should be TRUE or FALSE.
540 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
542 * atk-bridge/bridge.c: Add support for extended events
543 * cspi/spi_event.c: Add documentation and implementation for
545 * tests/event-listener-test.c: Add tests for extended events.
547 This fixes bugs #100424 and #100426.
549 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
551 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
552 of LT_CURRENT. This fixes bug #89350.
554 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
556 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
557 number of signal parameter values before accessing them. This fixes
560 2003-04-01 Bill Haneman <bill.haneman@sun.com>
562 * configure.in: Fixed duplicate inclusion of -lspi.
563 * branched for gnome-2-2/HEAD.
564 [created tag "gnome-2-2"]
566 2003-03-07 Bill Haneman <bill.haneman@sun.com>
568 * configure.in: 1.1.9 release.
571 2003-03-07 Bill Haneman <bill.haneman@sun.com>
573 [needed by GOK, to fix bugs 107985 and 107988]
574 * registryd/deviceeventcontroller.c:
575 (spi_dec_clear_unlatch_pending):
576 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
577 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
578 (spi_dec_init_mouse_listener):Emit warning if mouse button
580 (spi_device_event_controller_forward_mouse_event):
581 Removed unnecessary parens from a conditional.
582 (global_filter_fn):Added TODO comment.
583 (impl_generate_keyboard_event):
584 Cancel a pending relatch if a 'delatching' key was
587 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
589 * atk-bridge/bridge.c:
590 Change atk_signal_child_changed to atk_signal_children_changed.
591 Reorganize code in spi_atk_bridge_signal_listener().
593 * test/event-listener-test.c:
594 Add children_changed_listener and report_children_changed_event()
595 to test AccessibleChildEvent_getChildAccessible.
597 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
599 * cspi/spi_event.c (cspi_internal_event_get_text): Change
600 g_strdup to CORBA_String_dup (bug #105291)
602 * test/event-listener-test.c (report_text_event): Add call to
605 2003-02-28 Bill Haneman <bill.haneman@sun.com>
607 * registryd/deviceeventcontroller.c:
608 (spi_keystroke_from_x_key_event):
609 Fix string and keysym return codes to match modifier state.
612 2003-02-28 Bill Haneman <bill.haneman@sun.com>
614 * registryd/deviceeventcontroller.c:
615 (spi_keystroke_from_x_key_event):
616 Fix segv due to improper use of isprint(c). [bug #107254]
618 2003-02-24 Bill Haneman <bill.haneman@sun.com>
621 (get_accessible_text_boundary_type):
622 Move default return value to (new) default case in switch.
623 (get_accessible_text_clip_type):
624 Move default return value to (new) default case in switch.
626 * libspi/application.c:
627 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
628 Remove unused methods.
629 (impl_accessibility_application_register_object_event_listener):
630 Remove unused methods.
633 Added #include of <math.h>.
635 * registryd/deviceeventcontroller.c:
636 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
637 we don't currently use this method.
638 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
640 (impl_generate_key_event):
641 Remove unused variables.
642 (impl_generate_mouse_event):
643 Initialize button to zero, just in case we get an invalid
644 input. Added support for mouse buttons 4 and 5.
645 (spi_device_event_controller_new):
646 Removed unused variable declaration for 'private'.
648 Added #include of <gdk/gdk.h>
650 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
652 * configure.in: Update to work when X is not installed in expected
653 location. Fixes bug #105836.
655 * atk-bridge/bridge.c
656 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
658 (spi_atk_register_event_listener): Add signal listener for
660 (spi_atk_bridge_signal_listener): Event event when link-selected
661 signal is emitted. (bug #104622)
663 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
664 on returned string. (bug #105291)
666 * test/event-listener-test.c: Add test for link-selected.
668 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
670 * atk-bridge/Makefile.am: Correct typo in previous commit.
672 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
674 * atk-bridge/Makefile.am: Allow for build directory to be different
675 from source directory
677 * registryd/Makefile.am: Allow for build directory to be different
678 from source directory
682 2003-01-29 Bill Haneman <bill.haneman@sun.com>
685 Fixed dependencies for libcspi so that libspi gets pulled in
686 properly. Fixes 104741.
690 Clean up inline docs a little.
692 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
694 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
695 This is done by implementing AtkComponent for SpiAtkDesktop, which is
696 the AtkObject within an SpiDesktop.
697 This addresses bug #101524.
699 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
700 Remove call to gdk_init().
702 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
703 so that Display is set when SpiDesktop is created.
705 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
707 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
708 This fixes bug #102830.
710 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
712 * test/test-simple.c: Update to take account of fact that GailButton
713 now implements AtkText.
714 (create_text_window): Set name on AtkObject for GtkEntry.
715 (validate_accessible): Check accessible name before calling test_text().
717 * libspi/Makefile.am: Fix problem with building outside of source
718 directory. Bug #98120.
720 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
721 typo in documentation comments. Bug #94275.
723 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
725 * libspi/text.c (impl_getBoundedRanges): Bug fix.
727 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
730 Add includes to avoid compiler warnings on Solaris.
731 (impl_getRangeExtents): Bug fix.
733 2002-12-17 Bill Haneman <bill.haneman@sun.com>
735 Fix for 100944, [API addition approved by Gman and murrayc].
742 * idl/Accessibility_Text.idl:
743 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
744 (Text::getRangeExtents): New method for efficient
745 bounds query of a text range.
746 (Text::getBoundedRanges): New method for efficient
747 clipping of text to bounding boxes.
748 (unImplemented7, unImplemented8):
749 Removed these padding methods to preserve bincompat.
752 (impl_getRangeExtents): implementation of new IDL.
753 (impl_getBoundedRanges): implementation of new IDL.
754 (SpiTextRect): Internal use struct.
755 (_spi_text_rect_union): internal method, calculates union of two
756 SpiTextRect bounding rects.
757 (_spi_text_range_seq_from_gslist): internal method, allows us
758 to build our sequence efficiently as a gslist then convert it
760 (_spi_bounds_contain): internal method, determines whether
761 a text character is "in" or "out" of a clip rect according to
762 values of TEXT_CLIP_TYPE.
763 (spi_text_class_init): Initialize the new methods in the epv.
766 (AccessibleTextClipType): New enum used by screen review api.
767 (AccessibleTextRange): New struct used by screen review api.
768 (AccessibleText_getRangeExtents):
769 cspi binding for Accessibility_Text_getRangeExtents.
770 (AccessibleText_getBoundedRanges):
771 cspi binding for Accessibility_Text_getBoundedRanges.
772 (AccessibleTextRange_freeRanges): convenience method.
775 (AccessibleText_getRangeExtents):
776 cspi binding for Accessibility_Text_getRangeExtents.
777 (AccessibleText_getBoundedRanges):
778 cspi binding for Accessibility_Text_getBoundedRanges.
779 (AccessibleTextRange_freeRanges): convenience method.
780 (get_accessible_text_clip_type): internal conversion method.
781 (get_accessible_text_ranges_from_range_seq): internal conversion method.
783 * registryd/deviceeventcontroller.c:
784 (spi_dec_mouse_check):
785 Improved behavior for mouse:abs events
786 [same granularity as mouse:rel events, and no
787 events when mouse is idle].
789 2002-12-16 Michael Meeks <michael@ximian.com>
791 * cspi/spi_accessible.c (spi_state_to_corba): rename.
793 * libspi/stateset.c (state_spi_to_atk): split out
794 ( fix several remote array bounds nasties )
795 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
796 (impl_remove): make safe from array bounds issues.
797 (spi_atk_state_from_spi_state): impl.
799 * libspi/stateset.h (spi_state_set_cache_is_empty):
800 add a set of wrapper defines to get layering right.
802 * cspi/spi_accessible.c: update state set stuff to
805 2002-12-14 Michael Meeks <michael@ximian.com>
807 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
808 to avoid 2 roundtrips to the registry per key event
809 (spi_atk_bridge_key_listener): upd.
810 (deregister_application): release the dec.
812 * registryd/registry.c (notify_listeners_cb):
813 bin lots of re-enterant complexity - we no longer
814 do a round-trip bonobo ref here, ensure that a single
815 listener's exception failure won't poison all other
817 (impl_registry_notify_event): bin obvious memory leak.
819 2002-12-13 Michael Meeks <michael@ximian.com>
821 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
822 init the ev so the error is meaningful.
823 (spi_atk_bridge_key_listener): ditto.
825 * cspi/spi_main.c (cspi_ev): init the ev so we start
826 with a clean slate, otherwise the first exception
829 * cspi/spi_text.c (get_accessible_text_boundary_type):
830 add a fallthrough for no warnings.
832 * cspi/spi_registry.c: prune unused warnings.
834 * cspi/spi_main.c (cspi_object_take): fix
835 mind-blowing brokenness ( by watching the compile
838 * cspi/spi_accessible.c (Accessible_getStateSet):
839 re-impl. to use an AtkStateSet.
840 (spi_state_type_from_accessible_state),
841 (init_state_table): bin these.
843 * libspi/stateset.c (spi_atk_state_set_from_sequence):
845 (atk_state_set_from_accessibility_state_set): here.
847 * cspi/spi_accessible.c (spi_state_to_atk): impl.
848 (AccessibleStateSet_contains, AccessibleStateSet_ref),
849 (AccessibleStateSet_unref, AccessibleStateSet_contains),
850 (AccessibleStateSet_add, AccessibleStateSet_remove),
851 (AccessibleStateSet_equals, AccessibleStateSet_compare),
852 (AccessibleStateSet_isEmpty): re-write to use a local
855 2002-12-13 Bill Haneman <bill.haneman@sun.com>
857 * configure.in: Revved to 1.1.7 (new keymask vals).
859 2002-12-10 Bill Haneman <bill.haneman@sun.com>
862 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
864 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
867 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
868 to compare two CORBA_TypeCodes.
869 (cspi_internal_event_add): Silence warning from FORTE compiler.
871 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
872 avoid implicit declaration of functions.
874 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
876 * atk-bridge/bridge.c:
877 (spi_atk_bridge_init_event_type_consts): Store signal id for
878 active-descendant-changed signal.
879 (spi_atk_register_event_listeners): Add signal listener for
880 active-descendant-changed signal,
881 (spi_atk_bridge_signal_listener): Move code in function
882 spi_atk-signal_emit_event() into this function.
883 Add support for active-descendant-changed
884 Update support for child-changed signal.
885 (spi_bridge_window_event_listener): Silence warning.
887 * libspi/spi_private.[ch]:
888 (spi_init_any_object): Change second parameter from CORBA_Object to
890 Omit call to CORBA_Object_duplicate().
891 Set CORBA_any's _value to CORBA_Object*.
893 2002-12-06 Bill Haneman <bill.haneman@sun.com>
899 (AccessibleEvent_ref, AccessibleEvent_unref):
900 New methods, for persisting an event outside the emission context.
901 Must be used if the new accessor methods are to be called
902 outside of the event listener's callback.
904 * cspi/bonobo/cspi-bonobo.c:
905 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
906 as second parameter instead of NULL, so we can call
907 cspi_check_ev afterwards.
910 (cspi_object_take): New internal method,
911 converts a CORBA_Object reference to a hard ref on
912 an Accessible if possible, returning NULL if the object
913 reference is invalid or an Accessible * otherwise.
916 (AccessibleEvent_ref):
917 Increment the event's internal private refcount, and
918 add the event's internal struct to an internal cache
919 if it's not already there.
920 (AccessibleEvent_unref):
921 Decrement the event's refcount and remove it from
922 the cspi event cache if refcount==0.
923 (cspi_event_compare): New private method.
924 Compares two event structs via their ids. Used
926 (cspi_internal_event_lookup): New private method.
927 (cspi_internal_event_check): New private method,
928 a 0-order sanity check for events to make sure their
929 private data is intact.
930 (cspi_internal_event_add, cspi_internal_event_remove):
931 New private methods for managiing the event cache.
933 * cspi/bonobo/cspi-bonobo-listener.c:
935 Initialize the new private data elements (id, magic, ref_count).
937 * atk-bridge/bridge.c:
938 (spi_atk_bridge_signal_listener):
939 Fixed bug #100530, passing wrong params to emission func.
941 * registryd/deviceeventcontroller.c:
942 (spi_dec_button_update_and_emit):
943 Fixed type in mask bit operations; fix for #99799.
945 2002-12-02 Bill Haneman <bill.haneman@sun.com>
947 Removed some of the more dangerous workarounds from
948 previous commit; they are only needed by GOK, which
949 in reality should be using another method to accomplish
950 the goals. So on reconsideration some of the workarounds
953 * registryd/deviceeventcontroller.c:
954 (spi_keycodes_contain, spi_dec_init_keycode_list):
955 Removed these methods, used only by a nasty hack to try
956 and detect whether a key synthesis should be allowed
957 to reset the XKB latch state or not. This code was only
958 required to work around an interaction between GOK,
959 button events, and XKB.
960 (impl_generate_key_event):
961 Removed hack at end of key generation that tried to
962 "do the right thing" if XKB latch keys were generated
963 in the midst of button press/release pairs.
966 Added a check for HAVE_XINPUT. Not normally used yet.
968 2002-11-25 Bill Haneman <bill.haneman@sun.com>
970 Workarounds and fixes for mouse event/XKB interaction.
972 * registryd/deviceeventcontroller.c:
973 (spi_keycodes_contain, spi_dec_init_keycode_list):
974 New internal methods.
975 (spi_dec_set_unlatch_pending):
976 Split the method that tells XKB to expect an
977 unlatch (and revert it) out of the rest of the
978 event handling code. This method is called by the
979 two mouse event handlers (the poll and the filter).
980 (spi_dec_update_and_emit, spi_dec_mouse_check):
981 New methods split from spi_dec_poll_mouse_moved.
982 The second one is now called from inside the filterFn
983 when an XKB delatch event is received, to determine
984 whether to revert the delatch or not.
985 (spi_poll_mouse_moved): Refactor; also we can now
986 properly handle the case where multiple button states
987 have changed between polling cycles and we didn't get
988 notified due to another client's grab.
990 Synchronize the server while handling an XKB notification.
991 Ugly, but apparently necessary to avoid nasty races.
992 Check the mouse state on receipt of an XKB latch change,
993 to decide whether to revert the latch or not. (Latches are
994 reverted if there is an immediately preceding mouse button
995 event that a client has consumed, in which case we don't want
996 the user to see the side-effect of the event).
997 (spi_device_event_controller_forward_mouse_event):
998 Check for modifier events and fire before resetting mouse_mask_state,
999 prevents losing modifier events.
1001 (impl_generate_keyboard_event):
1002 If we've just generated a keyboard event for a non-shift key,
1003 we don't want to revert the pending XKB latch.
1004 Otherwise, check the modifier state (via a call to
1005 spi_dev_mouse_check) and set the relatch mask to
1006 that state before returning.
1008 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1011 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1014 * atk-bridge/bridge.c:
1015 (spi_atk_register_event_listeners):
1016 Don't re-register for ATK events if the registry has died
1017 and the app needs to re-register; the ATK listeners are in
1018 process and doing so will cause duplicate emission.
1020 * registryd/deviceeventcontroller.c:
1021 (spi_poll_mouse_moved):
1022 Reformat the source, detect and emit multiple button-change
1023 events (i.e. if multiple buttons have changed between poll
1025 Add code to detect mouse-down events even when the pointer
1026 is grabbed; workaround for GOK bug 98420.
1027 (spi_controller_register_with_devices):
1028 Call XTestGrabControl with 'impervious' flag set to True,
1029 allows us to synthesize events and query the pointer even during
1030 an active grab by another client.
1031 (spi_device_event_controller_forward_mouse_event):
1032 Set the mouse_mask_state to the mouse_button_state from
1033 the intercepted event, to synchronize the grab listener with
1036 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1038 * cspi/spi_accessible.c:
1039 (AccessibleRole_getName):
1040 Added necessary strings for making this (deprecated)
1041 method work with the new role types.
1042 (init_role_table, role_table):
1043 Added definition of SPI_ROLE_APPLICATION.
1045 * libspi/spi-roletypes.h:
1046 Added SPI_ROLE_APPLICATION.
1048 * idl/Accessibility_Role.idl:
1049 Added ROLE_APPLICATION.
1051 * docs/reference/cspi/at-spi-cspi-decl.txt:
1052 Added SPI_ROLE_APPLICATION to docs.
1054 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1056 * cspi/spi_accessible.c
1057 (cspi_init_role_table): Do not write beyond end of role_table.
1058 (Accessible_getRole): Use correct type for value returned by
1059 Accessibility_Accessible_getRole().
1061 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1062 beyond end of role_table. (This fixes bug #98269)
1064 * libspi/application.c: Add include file spi-private.h for
1065 definition of spi_init_any_nil.
1067 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1071 * libspi/spi-private.h:
1072 Added DGB() macro, and extern int _dbg declaration.
1074 * registryd/registry.c:
1075 (definitions) storage for _dbg.
1076 (spi_registry_init):
1077 Get environment variable "AT_SPI_DEBUG".
1078 (spi_registry_set_debug):
1079 New method, to initialize _dbg value.
1080 (spi_listener_struct_new, spi_registry_object_finalize):
1081 (notify_listeners_cb):
1082 Changed fprintfs to use DBG and g_warning().
1084 * registryd/deviceeventcontroller.c:
1085 (_deregister_keygrab, spi_controller_register_device_listener):
1086 Changed debug/warning messages to use DBG macro.
1088 * libspi/listener.c:
1089 (impl_notify_event):
1090 Changed warning messages to use DBG macro and g_warning().
1092 * atk-bridge/bridge.c:
1093 (atk_bridge_init, spi_atk_bridge_get_registry):
1094 (spi_atk_bridge_exit_func):
1095 (spi_atk_bridge_property_event_listener):
1096 Changed status, warning, and error messages to use
1097 g_warning, g_message, and DBG macros.
1100 Read the state of the AT_SPI_DEBUG environment variable
1101 and set a local '_dbg' accordingly.
1103 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1105 FIXES for 98836, 98842, other bugs.
1108 Revved to 1.1.4, interface-age=4, binary-age=4.
1110 * registryd/deviceeventcontroller.c:
1112 Fixed crasher bug in last_mouse_pos initialization.
1114 * registryd/registry.c:
1115 (desktop_add_application, desktop_remove_application):
1116 Added (and then commented out) some support for
1117 object context marshalling. [TODO]
1119 * atk-bridge/bridge.c:
1120 (spi_atk_bridge_event_context_create):
1121 Commented out object context creation until it can
1122 be properly tested and debugged.
1124 * registryd/registry.c:
1125 (impl_registry_notify_event):
1126 Fixed crasher bug, we were calling
1127 spi_re_entrant_list_foreach () with an empty list.
1129 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1131 * idl/Accessibility_Action.idl:
1132 * idl/Accessibility_Component.idl:
1133 * idl/Accessibility_Desktop.idl:
1134 * idl/Accessibility_Event.idl:
1135 * idl/Accessibility_Hyperlink.idl:
1136 * idl/Accessibility_Image.idl:
1137 * idl/Accessibility_Relation.idl:
1138 * idl/Accessibility_Selection.idl:
1139 * idl/Accessibility_State.idl:
1140 * idl/Accessibility_Value.idl:
1141 Updated unimplemented slot count to minimum of
1142 four for all interfaces, for ABI freeze.
1144 * idl/Accessibility_EditableText.idl:
1145 * idl/Accessibility_Text.idl:
1146 Updated unimplemented slot count to six
1149 * idl/Accessibility_Registry.idl:
1150 Updated unimplemented slot count to six
1151 (also for DeviceEventController),
1154 * idl/Accessibility_Table.idl:
1155 Updated unimplemented slot count to eight,
1158 * idl/Accessibility_Event.idl:
1159 Added CORBA_any "any_data" member to Event struct.
1161 * idl/Accessibility_Event.idl:
1162 Added CORBA_any "any_data" member to Event struct.
1164 * atk-bridge/bridge.c:
1166 atk_signal_text_changed, atk_signal_child_changed,
1167 signal ids queried from gtype system.
1168 (AtkBridgeEventContextType): New enum.
1169 (AtkBridgeEventContextData): New struct.
1170 (AtkBridgeEventContext): New struct.
1171 (atk_bridge_init_event_type_consts):
1172 New method, initializes type contants for comparison
1173 prior to emit_eventv.
1174 (atk_bridge_event_context_init): New method,
1175 initializes a CORBA_any from an AtkBridgeEventContext.
1176 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1177 initialize the event.any_data struct.
1178 (spi_atk_bridge_event_context_create): New method,
1179 creates an AtkBridgeEventContext from signal/event info.
1180 (spi_atk_bridge_event_context_free): New method.
1181 (spi_atk_emit_eventv): Changed to take an
1182 AtkBridgeEventContext parameter. We now initialize
1183 the event.any_data member prior to notifying the
1184 Registry, via the AtkBridgeEventContext.
1185 (spi_atk_bridge_property_event_listener):
1186 (spi_atk_bridge_state_event_listener):
1187 Match emit_eventv signature.
1188 (spi_atk_bridge_object_event_listener):
1189 Match emit_eventv signature, and create an
1190 event context from the event details.
1191 Free the event context afterwards.
1192 (spi_atk_bridge_window_event_listener):
1193 Create an event context, pass it to the
1197 (AccessibleEvent_getContextString):
1198 (AccessibleEvent_getContextObject):
1199 New methods, allow query of AccessibleEvent objects
1200 for more context details (via the "any_data" member
1201 of the Event struct, above).
1204 Definitions for AccessibleEvent_getContextString
1205 and AccessibleEvent_getContextObject.
1207 * cspi/spi_listener.h:
1208 (InternalEvent): New struct.
1211 (AccessibleEvent_getContextString):
1212 (AccessibleEvent_getContextObject):
1213 Implementations of new methods, for obtaining
1214 additional context information from some event types.
1216 * cspi/spi_registry.c:
1217 (SPI_registerGlobalEventListener):
1218 Added mention of active-descendant-changed event in docs.
1220 * cspi/cspi-bonobo-listener.c:
1222 Marshal the any into the AccessibleEvent via
1225 * libspi/spi-private.h:
1226 #include <orbit/orbit.h>
1228 (spi_init_any_string):
1229 (spi_init_any_object):
1230 New convenience function declarations.
1234 (spi_init_any_string):
1235 (spi_init_any_object):
1236 New convenience function implementations.
1238 * registryd/deviceeventcontroller.c:
1239 (spi_poll_dec_mouse_moved):
1240 (spi_device_event_controller_forward_mous_event):
1241 Initialize any_data member of event.
1242 (spi_deregister_controller_device_listener):
1243 Fix incorrect param pass which was preventing deregistration.
1245 * registryd/registry.c:
1246 (desktop_add_application):
1247 (desktop_remove_application):
1248 Add object data to event's any_data before dispatch.
1250 Fix for error messages from GAIL.
1252 * test/event-listener-test.c:
1253 Test new ContextString and "any_data" API:
1254 (report_text_event): New method query and output context string.
1255 (main): register a new text listener with report_text_event
1258 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1260 Fixes for bugs 98127 and 97914.
1261 * cspi/spi-roletypes.h:
1262 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1264 * cspi/spi-statetypes.h:
1265 Added SPI_STATE_MANAGES_DESCENDANTS
1267 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1268 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1269 * cspi/spi_accessible.c:
1270 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1271 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1272 Accessibility_STATE_MANAGES_DESCENDANTS
1273 * libspi/accessible.c:
1274 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1275 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1276 As requested by Bill, I also cleaned up the alignment.
1277 * libspi/relation.c:
1278 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1279 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1280 * libspi/stateset.c:
1281 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1282 Accessibility_STATE_MANAGES_DESCENDANTS
1283 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1284 Document changes reflecting modifications to roles.
1285 * docs/reference/cspi/tmpl/spi_relation.sgml:
1286 Document changes reflecting modifications to relations.
1287 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1288 Document changes reflecting modifications to states.
1290 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1293 Revved to 1.1.3, interface-age=3, binary-age=3.
1294 Added REBUILD macro.
1297 Removed accessx-gui from the tests, since we have a nice
1298 keyboard accessibility capplet now :-)
1300 * test/keysynth-demo.c:
1301 (increment_scan): removed do-nothing default: case,
1304 * test/visual-bell.c:
1305 (main) : removed do-nothing default: case,
1308 * cspi/spi_action.c:
1309 (AccessibleAction_getKeyBinding_):
1310 Documented keybinding string format.
1314 (AccessibleText_getAttributes):
1315 Documented the text attribute string format.
1316 It's changed to use semicolon delimiters also,
1317 to prevent clashes with CSS attributes, but the old
1318 trick of looking for ", " strings will still work
1319 (as unreliably as ever). Fix for bug related to 97916.
1322 Include <cspi/bonobo/cspi-bonobo-listener.h>
1323 Fixes build warning.
1324 (SPI_freeAccessibleKeySet):
1325 (AccessibleKeystrokeListener_addCallback):
1326 (AccessibleKeystrokeListener_removeCallback):
1327 Modify to use AccessibleDeviceListener API internally,
1328 instead of AccessibleKeystrokeListener.
1330 * idl/Accessibility_Event.idl:
1331 Added two more empty slots to EventListener (for a total of four).
1333 * idl/Accessibility_Accessible.idl:
1334 Added four empty slots to Accessible interface.
1336 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1338 * idl/Accessibility_Registry.idl:
1339 (KeyEventType, EventType):
1340 Marked KeyEventType as deprecated; it duplicates
1341 functionality of EventType, which has been extended to
1342 include Mouse-button events.
1343 (KeyEventTypeSeq): defined in terms of EventType.
1344 (registerDeviceEventListener, deregisterDeviceEventListener):
1345 New methods, for managing listeners to device events,
1346 which potentially may consume them.
1349 Added definition for AccessibleDeviceListener.
1351 * cspi/spi-listener.h:
1352 (enum AccessibleDeviceEventType):
1353 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1354 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1355 for backwards compat.
1356 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1357 and typedef'd AccessibleKeystroke to it for back-compat.
1358 (AccessibleDeviceListenerCB):
1359 New function prototype typedef.
1362 (AccessibleDeviceEventMask): New typedef.
1363 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1364 (AccessibleKeyMaskType):
1365 Set equivalent to AccessibleModifierMaskType for back-compat.
1366 (SPI_createAccessibleKeystrokeListener):
1367 (AccessibleKeystrokeListener_unref):
1368 Deprecated in favor of equivalent (better-named) new API below..
1369 keystroke listeners are like all device listeners.
1370 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1371 New API names for old features :-).
1372 (AccessibleDeviceListener_addCallback):
1373 (AccessibleDeviceListener_removeCallback):
1374 (SPI_registerDeviceEventListener):
1375 (SPI_deregisterDeviceEventListener):
1379 (SPI_createAccessibleKeystrokeListener):
1380 Use new preferred API, cspi_device_listener_new() and
1381 cspi_device_listener_add_cb().
1382 (AccessibleKeystrokeListener_removeCallback):
1383 Use new preferred API, cspi_device_listener_remove_cb().
1384 (AccessibleKeystrokeListener_unref):
1385 Use new preferred API, cspi_device_listener_unref().
1386 (SPI_createAccessibleDeviceListener):
1387 (AccessibleDeviceListener_addCallback):
1388 (AccessibleDeviceListener_removeCallback):
1389 Implementation of new API.
1391 * cspi/spi_registry.c:
1392 (SPI_registerDeviceEventListener):
1393 (SPI_deregisterDeviceEventListener):
1394 Implementation of new API. Fixed memory leak and removed need to
1395 allocate EventTypeSeq (thanks Michael for catching this).
1396 Squashed a wayward CORBA_exception_free that shouldn't get called.
1398 * cspi/bonobo/cspi-bonobo-listener.c:
1400 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1401 (cspi_key_event): renamed to cspi_device_event().
1402 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1403 Extended to handle mouse button events as well as key events.
1404 (CSpiKeystrokeListener):
1405 Class superceded by CSpiDeviceListener.
1406 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1407 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1409 * cspi/bonobo/cspi-bonobo-listener.h:
1410 (CSpiKeystrokeListener):
1411 Class superceded by CSpiDeviceListener.
1412 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1413 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1415 * libspi/Makefile.am:
1416 Replaced keystrokelistener.h and keystrokelistener.c
1417 with devicelistener.h and devicelistener.c; keystrokelisener.h
1418 stub retained for back-compat.
1420 * libspi/keystrokelistener.c:
1424 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1426 * registryd/deviceeventcontroller.c:
1427 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1428 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1429 (DEControllerPrivateData): Added xkb settings data.
1430 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1431 button release events (which can't be captured via XGrabButton).
1432 Don't dispatch via the 'normal' event mechanism if the device event was
1434 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1435 Handle the typeseq data in its new location (see above).
1436 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1437 New methods, for "generic" device listeners.
1438 (spi_controller_register_device_listener):
1439 Now handle mouse event listeners as well as key listeners.
1440 (spi_controller_notify_mouselisteners):
1441 New internal method.
1442 (spi_device_event_controller_forward_mouse_event):
1443 Now we notify mouse device listeners as well as generating the
1444 non-consumable "mouse:" events.
1446 We must check and restore the XKB
1447 modifier map if we consume the event, since the act of triggering
1448 a mouse event will normally reset the XKB latch. This is required for
1450 (spi_controller_register_with_devices):
1451 Load the XKB settings when registering, and register for XKB
1452 state notify events.
1453 (spi_key_eventtype_seq_contains_event):
1454 Renamed spi_eventtype_seq_contains_event, since it's used
1455 internally for all device event types now.
1456 (spi_key_event_matches_listener):
1457 Uses spi_eventtype_seq_contains_event now.
1458 (spi_device_event_controller_object_finalize):
1459 Free the private data and the XkbKeyboard struct.
1460 (impl_register_device_listener, impl_deregister_device_listener):
1461 Implementation of new IDL.
1462 (spi_deregister_controller_device_listener):
1463 New internal method.
1464 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1465 More efficient implementation, we don't have to create a new
1466 XkbControls structure every time we query.
1467 (spi_device_event_controller_class_init):
1468 Initialize the epv entries for the new IDL. Assign the
1469 "spi-dec-private" quark.
1470 (spi_device_event_controller_init):
1471 Initialize the private data.
1472 (spi_device_event_controller_forward_key_event):
1473 Removed a bogus CORBA_exception_free() call.
1475 * registryd/deviceeventcontroller.h:
1476 Replaced inclusion of keystrokelistener.h with
1479 * test/event-listener-test.c:
1480 (report_mouse_event):
1483 Added mouse-event device listener.
1485 * test/test-simple.c:
1486 (create_test_window):
1487 Fixed regression (we were instantiating a GtkRange,
1488 which is now an abstract class). Also fixed to match
1489 existing AtkRole names, this seems to have changed in ATK
1490 awhile ago; too late now I think, and the new
1491 mechanism is at least elegant and consistent with the
1492 glib enum "nick" APIs.
1494 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1496 * idl/Accessibility_Relation.idl:
1497 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1498 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1499 * idl/Accessibility_Role.idl:
1500 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1501 * idl/Accessibility_State.idl:
1502 add STATE_MANAGES_DESCENDANTS
1503 * test/event-listener-test.c:
1504 Added a listener for active-descendant events.
1506 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1508 * atk-bridge/bridge.c
1509 (atk_bridge_init): If application is Bonobo component wait until top
1510 level is added before registering
1511 (spi_atk_bridge_do_registration): New function which contains code,
1512 formerly in atk_bridge_init, to do application registration.
1513 (spi_atk_bridge_toplevel_added): Signal called when top level
1514 added to Bonobo component
1516 This fixes bug #83134.
1518 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1520 * registryd/deviceeventcontroller.c
1521 Fixed compilation error caused by calling gettimeofday()
1524 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1529 Added template for HAVE_XKB.
1532 Changes to check for XKB, and to set the HAVE_XKB #define if it
1535 * libspi/listener.c:
1536 ()impl_notify_event): Make failure to get event source name
1539 * registryd/deviceeventcontroller.c:
1540 (#include): include X11/XKBlib.h.
1541 (DEControllerPrivateData) : New struct.
1542 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1544 (dec_synth_keycode_press) (dec_synth_keycode_release):
1545 New methods; split the key synthesis code into these methods.
1546 They check XKB settings before determining the "time" values to
1547 pass to Xtest; this fixes bug #95828.
1548 (impl_generate_keyboard_event): Changed to use methods above,
1549 instead of callng Xtest directly.
1550 (spi_device_event_controller_init): Initialize new privae struct s
1552 (spi_device_event_controllr_object_finalize):
1553 Free the (new) private data.
1555 * registryd/deviceeventcontroller.h:
1556 Add new gpointer to end of struct data.
1558 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1561 Incremented revision to 1.1.2, SONAME is still '.so', library
1562 extensions are ".so.0.0.2".
1564 * registryd/deviceeventcontroller.c:
1565 FIXES FOR #93592 and #95940.
1566 (statics): renamed mouse_button_state to mouse_mask_state,
1567 added key_modifier_mask.
1568 (spi_dec_poll_mouse_moved):
1569 Added key modifier checks, and emit "keyboard:modifiers"
1570 events when the key modifiers currently in use change.
1571 Also generate "mouse:abs" events periodically, even if the mouse
1572 is stationary (should we?).
1573 Alternatively we could generate "mouse:abs" events for either all
1574 mouse movements, or every 'nth' mouse movement, or at the
1575 beginning and end of every "active" mouse period.
1577 * test/event-listener-test.c:
1578 (main): Added listener for "keyboard:modifiers" events.
1580 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1582 * libspi/keymasks.h:
1583 Added key mask #defines for mouse buttons; e.g.
1584 SPI_KEYMASK_BUTTON1, etc.
1587 Incremented dependency on ATK to version 1.1.0. (This dependency
1588 is probably premature but will soon be real enough).
1590 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1592 * libspi/hyperlink.[ch]
1593 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1594 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1597 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1602 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1604 * registryd/deviceeventcontroller.c
1605 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1606 events to be ignored.
1607 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1608 keyboard_mode so that XAllowEvents() can be called.
1612 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1614 * cspi/spi-accessible.c: Correct names of roles returned by
1615 AccessibleRole_getName(). Fixes bug #95055.
1617 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1619 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1622 * registryd/registry.c
1623 (desktop_remove_application: Write diagnostic message to stderr for
1626 (impl_accessibility_registry_deregister_global_event_listener):
1627 Correct size of lists array. This addresses bug #94555).
1629 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1631 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1634 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1636 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1639 * registryd/registry.c (impl_registry_notify_event): Remove
1640 unnecessary call to parser_event_type().
1642 * docs/reference/cspi/tmpl/spi_component.sgml:
1643 Add reference to SPI_LAYER_WINDOW.
1645 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1647 * registryd/registry.c
1648 (desktop_add_application): Remove leak.
1649 (desktop_remove_application): Remove leak.
1650 (parser_event_type): Remove leak.
1652 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1654 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1655 bogus call to CORBA_string_dup(). Also removed unnecessary
1656 g_string_dup/g_free calls.
1658 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1660 * registryd/deviceeventcontroller.c:
1661 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1663 * test/event-listener-test.c:
1664 main: commented out three redundant listeners, to reduce output
1665 noise. (They still are potentially useful for testing).
1668 2002-09-13 Michael Meeks <michael@ximian.com>
1670 * Update all the copyrights to include Ximian.
1672 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1674 * cspi/spi.h: add SPI_LAYER_WINDOW.
1676 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1677 add Accessibility_LAYER_WINDOW case.
1679 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1681 * libspi/component.c: (impl_accessibility_component_get_layer):
1682 add ATK_LAYER_WINDOW case.
1684 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1686 * configure.in: incremented micro version.
1688 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1690 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1693 Clarified and reworded our commit policy.
1696 Started an API "todo" addition list for 2.2.
1699 (impl_getSelection):
1700 Free char pointer from atk_text_get_selection, which was being leaked.
1702 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1705 Small revision to author acknowledgement.
1707 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1709 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1710 If signal has detail add it to the type of the event.
1713 2002-08-12 Michael Meeks <michael@ximian.com>
1715 * test/test-simple.c (global_listener_cb): bin bogosity.
1716 (test_keylisteners): disable, still doesn't work reliably,
1717 certainly not on my system anyway.
1719 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1720 don't leak a reference on the DEC. This round-trip
1721 fetching of the DEC per keystroke sucks, it should be
1724 * cspi/spi-private.h,
1725 * cspi/cspi-lowlevel.h,
1726 * cspi/bonobo/cspi-bonobo-listener.[ch],
1727 * cspi/bonobo/cspi-bonobo.c: get the copyright
1728 notices better - there is still a large amount of
1729 work in at-spi falsely attributed solely to Sun.
1731 * cspi/spi_main.c (cspi_object_ref): kill bogus
1732 hash lookup, just increment the ref.
1733 (SPI_freeString): make explicit the fact that we
1734 handle NULL strings just fine.
1735 (report_leaked_ref): obey coding standards.
1736 (cspi_object_hash, cspi_object_equal): kill retval.
1737 (cspi_object_release): only release if not on loan.
1738 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1739 (cspi_object_borrow, cspi_object_return): impl.
1741 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1742 use cspi_object_borrow / return.
1744 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1746 * cspi/bonobo/cspi-bonobo-listener.c:
1748 Don't call cspi_oject_new() because this is creating a new Accessible
1749 every single time that an event is fired. This causes ATs like at-poke
1750 to nolonger recognise the source of the event and thus ignore it.
1751 Re-use the object from the cache, ref it and then unref it after the
1752 listeners have been called.
1754 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1756 * test/event-listener-test.c:
1757 Added command-line options to disable mouse events (m) and
1760 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1762 * configure.in: Update required versions of ATK, GTK+ and GAIL
1764 * cspi-1.0.pc.in: Add dependency for X include files
1767 * cspi/bonobo/Makefile.am:
1768 Add $(X_CFLAGS) so that X include files
1769 are picked up even if not in standard place (bug #71686)
1771 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1773 * registryd/deviceeventcontroller.c: fix for 84261
1774 (spi_dec_mouse_moved):
1775 Added test of mouse button mask, so that we can detect mouse
1776 button release. Unfortunately we can't otherwise detect mouse
1777 button release events without consuming the mouse press event,
1778 because of the way XGrabButton works. This means that our mouse
1779 release events have a latency dependent on the polling period
1780 while the mouse button is down. At least in this case we only
1781 have to poll while the button is down, and not at other times.
1782 If the button masks don't match with what the last press event
1783 reported, we report the appropriate button release event.
1784 (spi_dec_ungrab_mouse):
1785 New method (not yet called).
1786 (spi_device_event_controller_forward_mouse_event):
1787 New method, sends mouse press event from GdkFilter.
1788 (spi_dec_init_mouse_listener):
1789 Added code to call XGrabButton, redirecting mouse button events to
1790 the root window and our Gdk event loop.
1792 Added code to filter mouse button events, and reordered.
1794 * test/event-listener-test.c:
1796 Added registration for mouse events of type "mouse:button".
1798 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1800 * registryd/deviceeventcontroller.c: partial fix for 84261
1801 (spi_dec_poll_mouse_idle):
1802 New method, a timeout which checks to see if the mouse
1804 (spi_dec_poll_mouse_moving):
1805 A timeout to be called when mouse motion is underway.
1806 (spi_dec_poll_mouse_moved):
1807 A method which fires an event if the mouse has moved, and reports
1808 whether or not it did so.
1809 (spi_dec_init_mouse_listener):
1810 A method which sets up the timeouts above.
1811 (spi_device_event_controller_new):
1812 Now calls spi_dec_init_mouse_listener.
1814 * registryd/registry.c:
1815 (spi_registry_init):
1816 Now we initialize the device event controller when the registry is
1817 initialized, instead of waiting until a client has requested a key
1818 event notification; this is because we need the event controller
1819 for mouse events, but the mouse event registration API is a
1820 "registry" call and doesn't explicitly call the
1821 deviceeventcontroller.
1822 We now report mouse motion events with a 100 ms idle latency and
1823 a 20 ms granularity when motion is in progress.
1825 * test/event-listener-test.c:
1827 We now register the "detail listener" for events of type
1828 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1829 delivered only for the first mouse event received, and thereafter
1830 "mouse:abs" events are delivered.)
1832 * cspi/spi_registry.c:
1833 DOCS: Documented the above mouse event typestrings.
1835 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1837 Happy Summer Solstice...
1839 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1840 (spi_controller_notify_keylisteners):
1841 Changes to remove a listener from the listener list, freeing its
1842 open keygrabs, if a notification to that listener fails. This
1843 means that although a dead listener can continue to hold a passive
1844 keygrab, a maximum of one dispatch to such a listener can fail
1845 before the listener is removed from the list, thus the keygrab
1846 will be released on the next occurrence.
1847 As part of this fix:
1848 (spi_notify_keylisteners):
1849 Renamed to spi_controller_notify_keylisteners, as the controller
1850 instance must now be passed as an argument.
1851 The copied 'notify' GList is now a list of DEControllerKeyListener
1852 objects, since we need more than just the CORBA reference if a
1853 notify fails and we need to deregister the listener.
1854 (impl_notify_listeners_sync):
1855 (impl_notify_listeners_async):
1856 (spi_device_event_controller_forward_key_event):
1857 Modify use of notify_keylisteners in accordance with above
1859 (spi_deregister_controller_key_listener):
1860 New method introduced by refactoring, from
1861 impl_deregister_keystroke_listener.
1862 (impl_deregister_keystroke_listener):
1863 Call spi_deregister_controller_key_listener.
1864 (spi_key_listener_clone):
1865 New method to copy a key listner without doing a 'ref' on the
1866 remote object instance; used to create a notifier list.
1867 (spi_key_listener_data_free):
1868 New method, frees data without unreffing the source.
1870 (spi_key_listener_clone_free): new method.
1871 (spi_key_listener_free):
1872 refactored to call spi_key_listener_data_free.
1874 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1876 * registryd/registry.c: [fix for bug 86048]
1877 (notify_listeners_cb):
1878 Clear CORBA system exceptions which occur when notifying
1879 listeners, before returning to the source of the original event,
1880 since the event source doesn't care if the relayed notify failed.
1881 In other words, don't complain to the atk-bridge if the registry
1882 could not notify all its listeners, that's no fault of the
1883 application and thus should not appear to be an error from the
1884 application's perspective.
1886 * cspi/spi_main.c: [fix for bug 85980]
1888 Replaced use of bonobo_object_dup_ref with call to the wrapper
1889 method, csou_dup_ref (); this silences a compiler warning and
1890 provided more portability.
1892 Ping the registry before return, and restart if necessary.
1894 * cspi/bonobo/cspi-bonobo.c:
1896 New internal method.
1898 Fixed this method to return an object reference, as it should have
1901 * cspi/cspi-lowlevel.h:
1902 Added internal definition for cspi_ping() and fixed
1903 return type of cspi_dup_ref().
1906 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1908 * atk-bridge/bridge.c: [fix for bug 85305]
1909 (spi_atk_bridge_register_application):
1910 New method where the initial application registry calls have been
1911 moved; it allows an application to re-register in response to
1912 certain error conditions (such as a registry restart, see below).
1914 Moved some initialization code to the method
1915 spi_atk_bridge_get_registry, below.
1916 (spi_atk_bridge_get_registry):
1917 New, private accessor function for the Accessibility_Registry
1918 instance. If the registry has not been started before, or has
1919 died (as detected by failure of a CORBA exception), it is
1920 restarted before return, and spi_atk_bridge_register_application
1921 is called again to register with the new bridge instance.
1922 (spi_atk_emit_eventv):
1923 Set registry_died on error; use spi_atk_bridge_get_registry () to
1924 access the registry.
1926 * registryd/registry.c:
1927 (impl_accessibility_registry_register_global_event_listener):
1928 Set listener's event_type_quark to etype.minor instead of
1929 etype.major (fix for bug 84856).
1931 * test/event-listener-test.c:
1932 (report_detail_event):
1933 Change the output string so that user/tester can tell that the
1934 'detail listener' was called instead of the 'generic listener'.
1936 2002-06-18 Bill Haneman <bill.haneman@sun.com>
1938 Fixes for bugs 84900, 84908, 84897, 84898.
1943 Revved version to 1.1.0
1944 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
1945 version is going to HEAD which will be used for gnome-2-0-1 and later.)
1947 * idl/Accessibility_Registry.idl:
1948 (EventListener::notifyEvent):
1949 Removed 'oneway' directive after extensive consulation with
1950 ORBit2 team and others. This means also that unref() of the event
1951 source can and should be done synchronously after emission, rather
1952 than remotely in the client, after servicing the notify call on
1955 NOTE: This change speeds up listener performance considerably, but
1956 introduces new latency on the application side. We may want to
1957 add an event queue to the atk-bridge.
1959 * atk-bridge/bridge.c:
1960 (spi_atk_bridge_focus_tracker):
1961 Do a local unref() on the event source after emission.
1963 * registryd/registry.c:
1964 (desktop_remove_application):
1965 Do an unref() on the event source after emission.
1966 (desktop_add_application):
1967 Do an unref() on the event source after emission.
1968 (notify_listeners_cb):
1969 When relaying an event, don't automatically add the event source
1970 to the local object cache, just CORBA_dup it instead. Likewise,
1971 if this method reenters, release the ref rather than calling
1973 (impl_registry_notify_event):
1974 No longer call remote unref() on the event source after dispatch.
1976 * libspi/eventlistener.c:
1977 (impl_accessible_event_notify_event):
1978 Removed remote unref ()
1980 * cspi/bonobo/cspi-bonobo-listener.c:
1982 We now call cspi_object_new() instead of cspi_object_add() on
1983 receipt of an event; thus we only have an implicit object ref
1984 while the cspi_event method is being executed. If we need to keep
1985 a reference to the object, the listener must call ref() on the
1986 object. Thus also we don't need to call cspi_object_unref() after
1987 invoking the listener callbacks in this method.
1991 New internal API for creating a new cspi object, without adding it
1992 to the object cache.
1994 Now uses cspi_object_new() to create the cspi object instance.
1996 Now checks to see if the object is in the internal object cache,
1997 and adds it if necessary before incrementing its refcount (note
1998 that new objects are added with a refcount of 1).
1999 (report_leaked_ref):
2000 New method which gives some information on leaked object instances
2001 if leak detection is turned on.
2003 * test/event-listener-test.c:
2004 (timing_test_event):
2005 New method, used for testing event delivery timing for special
2006 events of type "object:test". It reports elapsed time and
2007 events/sec every 500 events.
2009 Added a new listener, 'test listener', to check timing of event
2010 receipt as noted above.
2012 Added some timing output here also, reports elapsed time every 100
2015 * test/stress-test.c:
2016 Emit events of type "object:test", for use with "event-listener-test".
2018 * test/test-simple.c:
2019 (global_listener_cb):
2020 Call Accessible_ref() on the event source before calling
2021 validate_accessible, since the validation process does pointer
2022 comparisons on the event source, meaning that the event source
2023 needs to be added to the local object cache first. Any use of
2024 such pointer comparisons between Accessible objects requires that
2025 the caller hold an explicit reference to those objects.
2026 We also must therefore call Accessible_unref() when leaving this method.
2028 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2030 * registryd/deviceeventcontroller.c:
2031 (spi_controller_update_key_grabs):
2032 Fix for #84735, subsequent keygrab listeners not informed of
2033 registration failure.
2036 (spi_base_construct):
2037 Add an assertion on construct, to make sure the GObject passed in
2038 is really a GObject.
2040 Explicitly initialize object->gobj pointer to NULL;
2042 * cspi/bonobo/cspi-bonobo-listener.c:
2043 (cspi_object_add_ref):
2044 New method, can specify whether to dup-ref a bonobo object passed
2045 in if it's newly added to the object cache.
2047 Now calls cspi_object_add_ref with second param of "FALSE". This
2048 prevents us from doing a pointless dup-ref followed by
2049 release-unref for all those cases where the object is already in
2050 our object cache (fix for #85205).
2052 * atk-bridge/bridge.c:
2053 (spi_atk_bridge_idle_init):
2054 Removed this method, we don't need to initialize in an idle
2057 Changed to call spi_atk_register_event_listeners directly, not via an
2058 idle handler. (fix for #81139)
2059 (gnome_accessibility_module_shutdown):
2060 Removed conditional around deregistration of listeners, since we
2061 don't use the idle handler and thus have always registered when
2063 (spi_init_keystroke_from_atk_key_event):
2064 Changed references to Accessibility_KEY_PRESSED to
2065 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2067 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2069 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2074 * test/stress-test.c:
2077 (may have been an incomplete commit yesterday?)
2079 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2082 Added target for new stress-test.
2084 * test/stress-test.c:
2085 New test, sends 1000 focus notifies in quick succession.
2087 * test/key-listener-test.c:
2088 Now we report whether a keylistener registration
2089 request succeeded or failed.
2091 * test/event-listener-test.c:
2092 Uncommented some listeners which are now implemented.
2095 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2097 * registryd/deviceeventcontroller.c:
2098 (spi_controller_update_key_grabs):
2099 Fix for #82509, lack of failure notification when
2100 ALL_WINDOWS keygrabs fail due to XGrabKey
2101 failure: we synchronize the server when
2102 registering a passive grab, to make sure we get the
2103 error message before the call returns.
2105 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2107 * test/test-simple.c:
2109 Removed #ifdef KEY_IMPL_WORKS guards.
2110 (test_keylisteners):
2111 Removed #ifdef KEY_IMPL_WORKS guards.
2112 Fixed bug which was causing a hang waiting for a
2113 "press" event (which was already overwritten by a "release"
2114 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2116 Added code to set globals 'key_press_received' and
2117 'key_release_received'.
2120 Added section "1.1 API Proposed Additions" which
2121 lists API additions desired for at-spi-1.1 (only one so far).
2122 Updated TODO list a little.
2124 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2126 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2129 * configure.in: Revved to 1.0.0.
2131 * idl/Accessibility_Registry.idl:
2132 (registerKeystrokeListener):
2133 Added boolean return value.
2135 * registryd/registry.c:
2136 (notify_listeners_cb): Minor fix to debug output.
2138 * registryd/Accessibility_Registry.server.in.in:
2139 Revved version number in OAFIID to 1.0.
2141 * registryd/registryd.c:
2143 Use new OAFIID version.
2145 * cspi/bonobo/cspi-bonobo.c:
2147 Use new OAFIID version.
2153 * atk-bridge/bridge.c:
2155 Use new OAFIID version.
2157 * registryd/deviceeventcontroller.c:
2158 (impl_register_keystroke_listener):
2159 Added CORBA_boolean return value.
2160 (spi_controller_register_device_listener):
2161 Added gboolean return value.
2162 (spi_controller_register_global_keygrabs):
2163 Added gboolean return value.
2164 (spi_key_set_contains_key):
2165 Added implementation for many more control keys,
2166 for instance F1-F12, arrow keys, End, Home, Page_Up,
2168 [TODO: some still not implemented].
2170 * text/screen-review-test.c:
2171 (text_chunk_pad_string):
2172 New function: it provides mapping between coordinate
2173 positions of text chunks and character positions in the
2174 screen-review-line output string.
2175 (text_chunk_to_string):
2176 New function, calls text_chunk_pad_string with various
2177 pad/delimiter characters. Pushbuttons are delimited with
2178 square brackets, Frames with vertical 'pipe' lines, and
2179 other text with double quotes.
2180 (text_chunk_list_to_string):
2181 Calls new function text_chunk_to_string.
2182 (toplevel_composite):
2183 New function to composite layers CANVAS through
2184 POPUP in each toplevel (other layers are composited
2185 across toplevels, i.e. BACKGROUND and OVERLAY).
2186 (review_buffer_composite):
2187 Revise to use new methods.
2193 2002-05-31 Laszlo Peter <laca@sun.com>
2195 * configure.in: add the Xtst libdir to the runpath on Solaris,
2196 since it's not in the default library search path.
2198 2002-05-29 jacob berkman <jacob@ximian.com>
2200 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2202 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2204 * test/screen-review-test.c:
2205 (text_chunk_pad_string):
2206 Added method, which pads the string according to the
2207 text bounds of the chunk. It also takes a 3-character
2208 string as a param which indicates the characters to be
2209 used for start, padding, and end delimitation of the chunk.
2210 (text_chunk_to_string):
2211 Changed to use text_chunk_pad_string.
2213 * configure.in: Fixed bug in AC_OUTPUT that was
2214 causing path substitution in Accessibility_Registry.server
2217 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2219 * text/screen-review-test.c:
2220 (guess_string_clip):
2221 New method which attempts a best-guess at clipping
2222 text from components (like Java labels) which don't
2223 actually implement AccessibleText. This inaccurate
2224 clip is based on the assumption that the label is
2225 justified left-and-right, and monospaced.
2226 (text_chunk_get_clipped_string):
2227 We now call guess_string_clip() for text-containing
2228 components that don't implement AccessibleText.
2230 * test/screen-review-test.c:
2231 (review_buffer_get_text_chunk):
2232 We now pull "name" from labels if they do not implement
2233 AccessibleText (i.e. for Java labels).
2234 (get_screen_review_line_at):
2235 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2238 Replaceded AC_OUTPUT target
2239 registryd/Accessibility_Registry.server with
2240 registryd/Accessibility_Registry.server.in.
2242 * registryd/Accessibility_Registry.server.in:
2243 Removed (this is now a Makefile target).
2245 * registryd/Accessibility_Registry.server.in.in:
2246 Added (source for target above). We now use $(libexecdir) as
2247 prefix for the executable at-spi-registryd.
2249 * registry/Makefile.am:
2250 Now install at-spi-registryd into $(libexecdir), and build .server
2251 file with path (see above).
2253 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2255 * test/screen-review-test.c:
2256 (text_chunk_get_clipped_string):
2257 We now check to see if words fall within clip bounds
2258 before resorting to character-by-character clip bounds testing.
2260 * TODO: Added a section for "2.2 Proposed API Additions".
2262 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2264 * test/screen-review-test.c:
2266 Added a screen review benchmarking and test program to test
2269 * cspi/spi_accessible.c:
2271 Made some of the debug strings passed to cspi_check_ev a
2272 little more specific.
2274 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2276 * test/screen-review-test.c: Fix crashes in debug statements
2278 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2280 * test/screen-review-test.c: Added this file.
2282 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2284 * atk-bridge/bridge.c: changed "object:state-change" to
2285 "object:state-changed" to match docs.
2287 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2289 * atk-bridge/bridge.c: Hooked up state-change event details.
2291 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2293 * registryd/registry.c:
2294 Fixed quarking bug in event string parsing; now events with
2295 detail parameters get matched correctly to listeners.
2298 * util/idl/Magnifier.idl: remove.
2300 * util/*.[ch]: Remove.
2301 Magnification utilities and IDL are now in module gnome-mag.
2303 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2305 * registryd/deviceeventcontroller.c:
2306 Fixed bug in grab key conversion which was causing keycode grabs
2307 to be converted to AnyKey grabs.
2310 updated NEWS file to reflect recent spin-off of gnome-mag.
2312 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2314 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2315 busted AccessibleStateSet_compare. Removed redundant casts.
2317 * cspi/spi-action.c: Removed redundant casts.
2319 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2321 * cspi/spi_component.c: Fixed typos and casting error.
2323 * cspi/spi_editabletext.c: Removed redundant casts.
2325 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2327 * cspi/spi_hypertext.c: Eliminated redundant casts.
2329 * cspi/spi_image.c: Eliminated redundant casts.
2331 * cspi/spi_registry.c: Eliminated redundant casts.
2332 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2333 * cspi/spi_selection.c: Removed redundant casts.
2334 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2335 handling. Screen geometry and text offsets were being returned as 0
2336 on error which is technically valid-- changed these to return -1.
2337 Added marshaller for text boundary types to fix bug with boundary
2338 types being passed incorrectly to atk.
2340 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2343 * cspi/spi_registry.c:
2344 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2345 which was uncovered by the recent key changes.
2347 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2349 * test/event-listener-test.c:
2351 Added new test, "event-listener-test";
2352 this code does two things; it benchmarks traversal time
2353 for the accessible hierarchy for the first running accessible
2354 app, and it connects listeners for all supported event types.
2355 It is thus useful as an example event listener and for
2356 diagnostics/debugging of event generation.
2358 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2361 Removed unnecessary dependency on libutil.
2364 Revved micro version: 0.13.1
2366 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2369 Removed util/Makefile from targets.
2372 Removed util subdir from SUBDIRS (temporarily,
2373 pending removal of magnifier-only code
2377 #ifdef-ed out magnifier dependencies, since
2378 magnifier IDL, headers, and binary now live in
2379 module gnome-mag and we don't want at-spi to depend
2380 on gnome-mag. A magnifier demo which can run alongside
2381 simple-at is forthcoming in the gnome-mag module.
2383 NOTE: Split magnifier binary, IDL, and magnification
2384 activation code from at-spi into module gnome-mag.
2386 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2388 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2389 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2391 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2394 Revved to version 0.13.0
2396 * idl/Accessibility_Registry.idl:
2397 Changed definition of KeySet from sequence of longs to sequence of
2398 KeyDefinitions, and added KeyDefinition struct.
2399 Required for fix to bug 80616.
2401 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2402 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2403 to use new definition (see above).
2405 * registryd/deviceeventcontroller.c: handle_keygrab(),
2406 spi_keyset_contains_key():
2407 Changed to make use of new struct; this allows matching based on
2408 string key-name, for instance "Tab". This also allows matching of
2409 composed characters, non-alphanumeric characters in a way that
2410 doesn't involve dependencies on X keysym codes directly, etc.
2412 * test/key-listener-test.c:
2413 Added test for Alt-Tab key using "string" specification of keyset,
2414 and modified one of the tests to use a keycode-based keyset.
2415 Thus this test both tests and demonstrates the creation and use of
2416 keysets of three forms: specified via keycode array,
2417 keysym array, and string array. (The string case only contains a
2418 single string, i.e. a string array of length 1).
2421 Turned on PRINT_TREE option by default. Also fixed a
2422 string-freeing bug in the PRINT_TREE code.
2423 Added a listener to window:minimize events.
2425 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2427 * atk-bridge/bridge.c:
2428 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2429 for window:activate and window:deactiveate
2430 (atk_bridge_property_event_listener atk_bridge_signal_listener
2431 atk_bridge_window_event_listener) Tidy debug code
2433 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2435 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2436 Fixed handling for NULL return value from ATK.
2438 * libspi/action.c libspi/component.c libspi/editabletext.
2439 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2440 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2441 Removed redundant casts.
2443 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2444 Fixed off by one bug.
2446 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2447 function not present in idl)
2449 2002-05-02 jacob berkman <jacob@ximian.com>
2451 * atk-bridge/Makefile.am: make atk-bridge a real module
2453 2002-04-26 Radek Doulik <rodo@ximian.com>
2455 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2456 atk_state_types table
2458 2002-04-22 jacob berkman <jacob@ximian.com>
2461 * libspi/Makefile.am: add deps on the built files to help
2462 automake, and don't version the ORBit typelib
2464 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2466 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2467 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2468 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2469 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2470 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2471 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2472 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2473 libspi/accessible.h libspi/accessible.h libspi/base.h
2474 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2475 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2476 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2477 libspi/spi-private.h libspi/statetset.h libspi/table.h
2478 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2479 util/mag_client.h util/mag_control.c util/mag_image.c
2480 util/mag_image.h util/magnifier.c util/magnifier.h:
2481 Add missing file headers; standardize existing ones
2483 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2485 * atk-bridge/bridge.c: Added window event support.
2487 2002-04-18 Michael Meeks <michael@ximian.com>
2489 * libspi/relation.c (impl_getNTargets): impl.
2490 (impl_getTarget): impl.
2492 * libspi/Makefile.am: fix stateset install.
2494 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2497 Started putting useful info in this file.
2499 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2501 * atk-bridge/bridge.c:
2502 Propagate state-changed notifications to ATs
2504 * cspi/spi_registry.c: update docs to reflect actual behavior of
2505 state-change events.
2507 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2510 Incremented version to 0.12.1
2512 * util/mag_client.h:
2513 Add missing declaration for magnifier_exit,
2514 used by mag_control.c - Forte compiler didn't like
2515 the implicit redeclaration of the function :-(
2518 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2521 Revved version to 0.12 due to API change (see below).
2523 * cspi/spi-roletypes.h:
2524 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2525 definition from the inline docs, and added docs
2526 for SPI_ROLE_LAST_DEFINED.
2529 * cspi/spi_streamablecontent.c:
2530 Added missing seek_type parameter to
2531 (so far unused) method,
2532 AccessibleStreamableContent_seek().
2533 [ RT approval JodyG. ]
2536 Fixed docs for SPI_createAccessibleKeystrokeListener.
2538 * cspi/spi_registry.c:
2539 Fixed docs for SPI_KEYSET_ALL_KEYS.
2541 * docs/reference/cspi/at-spi-cspi-sections.txt:
2542 Added a number of missing APIs to SECTIONS.
2544 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2546 * registryd/Makefile.am:
2548 * cspi/bonobo/Makefile.am:
2549 Add $(X_LIBS) to makefiles.
2551 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2554 Revved version to 0.11.
2556 * libspi/component.c:
2557 Added implementation for grabFocus.
2559 * idl/Accessibility_Component.idl
2560 (Accessibility_Component_grabFocus):
2561 Made this method return boolean to indicate success or failure, to
2562 be consistent with cspi and the corresponding ATK method.
2564 * idl/Accessibility_Selection.idl
2565 (Accessibility_Selection_selectAll) :
2566 Made these methods return boolean to indicate success or
2567 failure, to be consistent with cspi and the corresponding ATK methods.
2569 * idl/Accessibility_EditableText.idl
2570 (Accessibility_EditableText_setTextContents,
2571 Accessibility_EditableText_insertText,
2572 Accessibility_EditableText_cutText,
2573 Accessibility_EditableText_deleteText,
2574 Accessibility_EditableText_pasteText):
2575 Made these methods return boolean to indicate
2578 * cspi/spi_editabletext.c:
2579 Made these methods return booleans.
2581 * libspi/selection.c:
2582 * libspi/component.c:
2583 * libspi/editabletext.c:
2584 Connected the boolean returns from ATK
2585 to the server-side code referenced above.
2587 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2589 * idl/Accessibility_Table.idl: Added missing methods,
2590 Accessibility_Table_addRowSelection,
2591 Accessibility_Table_addColumnSelection,
2592 Accessibility_Table_removeRowSelection,
2593 Accessibility_Table_removeColumnSelection.
2596 Added C wrappers for above IDL:
2597 AccessibleTable_addRowSelection,
2598 AccessibleTable_addColumnSelection,
2599 AccessibleTable_removeRowSelection,
2600 AccessibleTable_removeColumnSelection.
2603 Added server-side implementation code for IDL above, connecting
2604 to pre-existing ATK api.
2606 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2608 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2610 * libspi/accessible.c: Added implementation fo
2611 Accessibility_Accessible_get_state.
2613 * libspi/libspi.h: Added stateset.h to the list of includes.
2615 * libspi/stateset.c: Fixed broken implementation.
2617 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2620 Added implementation code for Accessibility_Magnifier_exit ().
2622 * util/mag_control.c:
2623 Added test code for above method; you can
2624 now kill an existing magnifier via
2625 ./mag_control q, from the util directory.
2627 * test/key-listener-test.c:
2629 Added a new test, for our key listener API.
2631 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2633 * test/app.c, test/keysynth-demo.c:
2635 Replace use of snprintf with g_snprintf.
2636 (fix for bugzilla 78249)
2638 2002-03-27 Michael Meeks <michael@ximian.com>
2642 * util/Makefile.am (INCLUDES): fix.
2643 (DONT_DIST_SOURCE): don't distribute the
2646 * libspi/Makefile.am (dist-hook): ditto.
2648 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2650 * libspi/hypertext.c:
2651 Fix warnings when yelp is used with atk-bridge
2653 2002-03-21 Michael Meeks <michael@ximian.com>
2655 * libspi/application.c (spi_application_new):
2656 use spi_accessible_construct so we use the AtkObject
2659 2002-03-19 Michael Meeks <michael@ximian.com>
2661 * registryd/registry.c (desktop_remove_application),
2662 (desktop_add_application): clean coding style.
2664 * registryd/desktop.c (spi_desktop_remove_application),
2665 (spi_desktop_add_application): kill re-enterency hazards.
2666 (spi_desktop_dispose): remove bogus redundant cast
2667 obscuring bug; fix bug too.
2668 (spi_desktop_init): make the desktop object immortal.
2670 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2673 Added a #define-guarded tree-traversal step
2674 when enumerating the apps (diagnostic tool).
2676 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2678 * idl/Accessibility_Role.idl:
2679 Added ROLE_DRAWING_AREA which seemed to be missing from the
2682 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2684 * cspi/spi-roletypes.h cspi/spi_accessible.c
2685 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2688 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2689 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2690 AT when applications are added and removed from the desktop. This
2691 reverts the previous broken implementation using the backing
2692 AtkObject for the SpiDesktop.
2694 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2696 * registryd/desktop.c: emit the "children-changed::add" and
2697 "children-changed::remove" signals on the backing ATK object for
2698 the desktop so AT can tell when applications are started and shut
2701 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2703 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2705 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2707 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2709 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2711 * cspi/state-types.h: synched with IDL and ATK
2713 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2715 * libspi/accessible.c
2716 (impl_accessibility_accessible_get_child_at_index):
2717 Change return value for g_return_if_fail ()
2718 to CORBA_OBJECT_NIL instead of "0" (!)
2720 * registryd/Makefile.am:
2721 * registryd/Accessibility_Register.server.in:
2722 Changed name of executable, "registryd",
2723 to something more informative:
2726 2002-03-13 Michael Meeks <michael@ximian.com>
2728 * atk-bridge/bridge.c (atk_bridge_init): don't register
2729 if we're in a bonobo-component, rather than a bonobo app.
2731 2002-03-13 Michael Meeks <michael@ximian.com>
2733 * atk-bridge/bridge.c (gtk_module_init): split
2734 out body to (atk_bridge_init): here, since otherwise
2735 we get symbol conflicts and oddness when invoked
2736 from (gnome_accessibility_module_init): here (upd.)
2738 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2741 New file. Explicitly allow "build sheriff" putbacks provided
2742 they are tested on Solaris.
2744 * docs/reference/cspi/Makefile.am:
2745 Added '-' to the "cp" command for index.sgml.
2746 ("patch by thomasvs, soon coming to a GUADEC near you")
2749 Incremented version number (0.9.0) for new release.
2750 Changed macro that checks for popt, to better detect
2751 obsolete versions of popt.
2754 Added X_LIBS to AC_SUBST, for applications
2755 that call Xlib API directly.
2758 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2761 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2764 Fix regression caused by hard-coding major
2765 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2768 * test/test-simple.c (test_editable_text),
2769 (test_test): revert previous change (error was
2770 a regression in gail which is now fixed).
2772 2002-03-04 Michael Meeks <michael@ximian.com>
2774 * test/test-simple.c (test_editable_text),
2775 (test_text): pass G_MAXINT instead of '-1' for
2776 whole string - is this a good thing !?
2778 * cspi/spi_accessible.c
2779 (Accessible_getRelationSet): fix crasher bug
2780 overwriting the end of the array.
2782 * test/test-simple.c (validate_accessible): free,
2783 not g_free returned relation set.
2785 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2787 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2788 implemented stateset support
2790 * idl/Accessibility_State.idl: Made necessary changes to
2791 the IDL to support state sets.
2793 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2795 * registryd/deviceeventcontroller.c:
2796 Added implementation for generateMouseEvent.
2798 * cspi/spi_registry.c:
2799 Connected new implementation for generateMouseEvent
2802 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2805 Incremented revision (but no change in public API
2806 outside of 'utils', which are not installed public yet.)
2808 * libspi/component.c:
2809 Changed to use atk_component API for layers and
2810 mdi_zorder, instead of deprecated atk_object API.
2812 Magnification Utility Enhancements:
2815 Added implementation of createZoomRegion, clearAllZoomRegions,
2816 resizeZoomRegion. Added new commandline argument
2817 "--no-initial-region". Note that clearAllZoomRegions doesn't
2818 unmap the old '0' region as it should (yet), and the other
2819 methods only work when creating/resizing a single region,
2820 which is "region 0".
2821 (Code for multiple region support will be added later.)
2824 Now we raise the magnifier window each time it's refreshed;
2825 this will help keep it on top.
2827 * util/mag_client.h:
2828 Added simple wrappers for above, used by mag_control.
2829 For general use, it's recommended to use the bonobo magnifier
2830 control API directly instead of using these wrappers.
2833 Moved ZoomRegionData from magnifier.c to this file.
2835 * util/mag_control.c:
2836 Added some code to exercise new IDL implementations.
2838 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2840 * libspi/text.c: Provide implementation for getAttributes.
2842 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2845 Incremented revision.
2847 * test/test-simple.c:
2848 Replaced use of deprecated g_main_iteration with
2849 g_main_context_iteration.
2851 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2854 Incremented revision for desktop alpha 2.
2856 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2858 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2861 * test/simple-at.c: include netinet/in.h.
2863 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2865 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2866 use NULL, not CORBA_OBJECT_NIL.
2868 * libspi/accessible.c:
2869 (impl_accessibility_accessible_get_relation_set):
2870 allocate the sequence correctly.
2872 * libspi/remoteobject.h: kill spi_remote_object_new.
2874 * test/test-simple.c: (validate_accessible): add code
2875 to test relation sets, now all we need is to figure
2876 out how to excercise this code path :/
2878 2002-01-18 Michael Meeks <michael@ximian.com>
2880 * test/test-simple.c
2881 (key_listener_cb): consume the key.
2882 (test_keylisteners): update.
2883 (main): wait for any pending unrefs on events.
2885 * registryd/deviceeventcontroller.c
2886 (spi_controller_update_key_grabs): only re-issue the
2887 grab on a key release.
2888 (spi_device_event_controller_forward_key_event):
2889 refresh the keygrabs before we notify the listeners,
2890 to reduce the X ungrab / re-grab race.
2891 (spi_controller_register_with_devices): remove
2892 XSelectInput - we do that with the gdk_window_ call.
2893 (_spi_controller_device_error_handler): return a value.
2894 s/GDK_DISPLAY/spi_get_display/
2896 2002-01-17 Michael Meeks <michael@ximian.com>
2898 * registryd/deviceeventcontroller.c
2899 (_deregister_keygrab): don't blow out the later
2902 * test/test-simple.c (test_keylisteners): do a
2903 more intelligent validation.
2905 2002-01-14 Michael Meeks <michael@ximian.com>
2907 * atk-bridge/bridge.c
2908 (gnome_accessibility_module_init),
2909 (gnome_accessibility_module_shutdown): impl.
2910 (gtk_module_init): protect vs. double inits.
2911 (add_signal_listener): impl.
2912 (spi_atk_bridge_state_event_listener): kill
2913 (deregister_application): split out of
2914 (spi_atk_bridge_exit_func): here.
2916 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2919 Added caret tracking when using magnifier, and
2920 now use text bounds for focus tracking of text elements, rather than
2921 the component bounds - this is helpful for short text fields in long
2922 table cells, at high magnification.
2924 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2926 * registryd/deviceeventcontroller.c:
2927 Regression fix for keylistener de-registration; global keygrabs
2928 were not being released when deregisterKeystrokeListener was
2929 called in cspi, since
2930 Accessibility_DeviceEventController_deregisterKeystrokeListener
2931 was called with a zero-length keyset. That is because the cspi
2932 method, SPI_deregisterKeystrokeListener, does not take a keyset
2933 parameter but instead should remove all the key grabs held be a
2935 The code in impl_deregister_keystroke_listener was changed to copy
2936 the keylist from the listener instance previously registered with
2937 the DeviceEventController before releasing the grabs.
2939 * registryd/registry.c:
2940 * registryd/deviceeventcontroller.c:
2941 * libspi/spi-private.h:
2943 Changed spelling of "re-enterant" to "re-entrant" globally.
2945 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2947 * test/test-simple.c:
2948 Changed key listeners test - the test was slightly mis-using the
2949 (admittedly poorly documented) SPI_generateKeyboardEvent API.
2950 It now uses '=' as the key event listened to and generated,
2951 relying on a keysym match rather than assuming that keycode 33
2952 is always equal to keysym '!'.
2954 2002-01-15 Bill Haneman <bill.haneman@sun.com>
2957 Changed simple-at to use a specific keyset, rather than
2958 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
2959 manager, desktop, etc.
2961 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2963 * registryd/deviceeventcontroller.c:
2964 Replaced standard X error handler with a special handler that
2965 is non-fatal for failed keygrabs. This works around
2966 problems with keygrab clashes sometimes observed on
2968 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
2969 mouse handling code as yet).
2971 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2974 Incremented revision for desktop alpha release.
2977 Fixed a couple of the more glaring errors (still not
2980 2002-01-11 Michael Meeks <michael@ximian.com>
2982 * registryd/deviceeventcontroller.c
2983 (spi_device_event_controller_forward_key_event): kill
2984 XUngrabKey / XKeyGrab race.
2985 (spi_controller_grab_keyboard): rename to
2986 (spi_controller_update_key_grabs): this, and deal
2987 with incremental adding / removing grabs more
2989 (_register_keygrab): ensure we're not pending a remove.
2990 (spi_grab_mask_free): impl.
2991 (spi_controller_register_global_keygrabs): split out
2993 (handle_keygrab): impl.
2994 (_deregister_keygrab): impl.
2995 (spi_controller_deregister_global_keygrabs): impl.
2996 (spi_controller_update_key_grabs): re-issue the grab if
2997 we just recieved a notification.
2999 * test/test-simple.c (key_listener_cb): remove debug.
3001 * registryd/deviceeventcontroller.c
3002 (spi_controller_register_device_listener): after
3003 registering a global keygrab, actualy register it !
3004 don't wait for a timeout; doh !
3006 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3007 to make it more readable / manipulable.
3008 s/grabmask/grab_mask/ s/refcount/ref_count/
3009 s/keyval/key_val/ s/modmask/mod_mask
3011 2002-01-08 Michael Meeks <michael@ximian.com>
3013 * registryd/deviceeventcontroller.c
3014 (spi_controller_register_with_devices): use gdk calls to
3016 (global_filter_fn): implement the filter.
3017 (spi_device_event_controller_check_key_event): rename to
3018 (spi_device_event_controller_forward_key_event): this & upd.
3019 (spi_get_display): replace with GDK_DISPLAY.
3021 * registryd/deviceeventcontroller.c
3022 (spi_controller_deregister_device_listener): unroll into
3023 (impl_deregister_keystroke_listener): here to simplify.
3024 (spi_controller_register_global_keygrabs): split cut and
3025 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3026 (spi_controller_deregister_device_listener): remove.
3027 (impl_register_mouse_listener): remove, no mouse listener
3028 support in at-spi-1.0
3030 * registryd/registry.c
3031 (_device_event_controller_hook): kill.
3032 (spi_registry_init): upd.
3034 * registryd/deviceeventcontroller.c
3035 (spi_device_event_controller_class_init): upd.
3036 (spi_check_key_event): merge into.
3037 (spi_device_event_controller_check_key_event):
3038 here and kill strange static ev init, don't leak
3039 the x_event - nor dynamicaly allocate it.
3041 * registryd/registry-main.c (main): re-direct
3042 timeout to remove strange vtable mess.
3044 * registryd/deviceeventcontroller.c
3045 (remove_listener_cb): impl.
3046 (spi_controller_deregister_device_listener):
3047 fix re-enterancy hazard.
3049 2002-01-07 Michael Meeks <michael@ximian.com>
3051 * registryd/deviceeventcontroller.c
3052 (spi_device_event_controller_new): upd.
3053 (impl_notify_listeners_sync): upd. debug.
3054 (spi_notify_keylisteners): fix re-enterancy hazards,
3055 prettify, remove O(n*n) iteration.
3056 (spi_controller_grab_keyboard): fix iteration.
3057 (spi_check_key_event): re-format to suit coding style.
3058 Clean all the warnings - we're warning free.
3060 * registryd/deviceeventcontroller.h:
3061 * registryd/registry.h: make mutualy referential with
3062 typesafe forward references instead of (!) void pointer
3065 2002-01-11 Michael Meeks <michael@ximian.com>
3067 * cspi/spi_accessible.c (role_names): add a role name
3068 to sync this array with the enum; and make the regression
3071 2002-01-10 Michael Meeks <michael@ximian.com>
3073 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3074 allow expansion of enumeration & kill warning.
3076 * test/test-simple.c (key_listener_cb): impl.
3077 (test_keylisteners): impl.
3079 * cspi/spi-listener.h: make listener signatures const
3080 on the provided (const) events.
3082 * test/keysynth-demo.c: upd. to const events.
3084 * test/simple-at.c: ditto.
3086 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3089 Rev the version to 0.5 (the previous tarball was named 0.4,
3090 even though the micro number was 3), so we need to rev upwards
3091 again for beta2/"desktop-alpha"
3094 Checked in a demo script, which requires editing before use!
3095 Proceed with caution.
3098 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3100 * cspi/spi_accessible.c:
3101 Add a couple of missing enum initializations, and fix some enum
3104 * cspi/spi_registry.c:
3105 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3107 * docs/reference/cspi/at-spi-cspi-sections.txt:
3108 Remove/fix a couple of broken document references.
3111 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3112 as Alt-Control to listen for commands, since on some systems
3113 Control-Alt may already be grabbed.
3115 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3118 Update version number to 0.4 for Beta2.
3120 * libspi/accessible.c, libspi/accessible.h:
3121 Expose spi_accessible_construct, to enable libgail-gnome
3122 construction from spi_accessible subtype.
3124 * utils/magnifier.c:
3125 Workaround for bug in some non-gnome-compliant window managers
3126 which made magnifier resize improperly.
3128 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3130 * libspi/accessible.c: (spi_accessible_new) :
3131 Move the test for SPI_IS_REMOTE_OBJECT to
3132 spi_accessible_new_return, fixing a bug and compile time warning.
3134 2002-01-08 Michael Meeks <michael@ximian.com>
3136 * registryd/registry.c (parse_event_type): remove strndup.
3138 * libspi/Makefile.am (libspi_la_SOURCES): remove
3139 sources already included in the headers section.
3141 * libspi/util.c: add.
3143 * libspi/spi-private.h: add.
3145 * registryd/registry.c: update to moved list iterators.
3147 2002-01-05 Michael Meeks <michael@ximian.com>
3149 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3151 * test/test-simple.c (main): ditto.
3153 2002-01-04 Michael Meeks <michael@ximian.com>
3155 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3156 redundant construct.
3158 * registryd/registry.c
3159 (get_listener_list): impl.
3160 (impl_accessibility_registry_register_global_event_listener):
3161 re-impl. to simplify using ~, remove dodgy const cast off.
3162 (parse_event_type): constify.
3163 (impl_accessibility_registry_deregister_global_event_listener_all):
3164 re-write, more efficiency and simplicity, kill re-enterancy
3166 (compare_listener_corbaref, compare_corba_objects),
3167 (compare_listener_quarks): define out.
3168 (impl_accessibility_registry_deregister_global_event_listener):
3169 re-write for effiency, and nail re-enterancy hazard.
3170 (impl_accessibility_registry_get_desktop_list): impl.
3171 (re_enterant_list_delete_link): impl.
3172 (re_enterant_list_foreach): impl.
3173 (remove_listener_cb): impl.
3174 (_registry_notify_listeners): kill.
3175 (notify_listeners_cb): impl.
3177 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3178 (SPI_getDesktopList): impl.
3180 * test/test-simple.c (test_desktop): test the methods.
3182 2002-01-03 Michael Meeks <michael@ximian.com>
3184 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3185 keystrings since we free them
3186 (SPI_freeAccessibleKeySet): in here.
3188 * libspi/accessible.c (spi_accessible_new): kill warning,
3189 wonder what is going on with the constructor here.
3191 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3193 * libspi/accessible.c (spi_accessible_new ()) :
3194 Added check to see if AtkObject is an SpiRemoteObject before
3195 creating an SpiAccessible.
3197 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3199 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3200 Enable keygrabs using the Control modifier, now that they are
3201 working properly (they were previously disabled).
3204 Change the command keygrab for this demo to "Control+Alt", so as
3205 to conflict with fewer other key commands on the system; this
3206 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3208 Removed a pointlessly-chatty keylistener for unshifted keys
3209 (shifted keys are still reported).
3211 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3213 * libspi/remoteobject.h:
3214 * libspi/remoteobject.c:
3215 Added definitions for special AtkObject subtype, required for
3216 support of remote components (specifically, used by BonoboControl
3217 accessibility implementation).
3219 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3221 * cspi/spi.h: synched relation types with ATK
3223 * cspi/spi_accessible.c: Added implementations of
3224 AcccessibleRelation_* methods
3226 * idl/Accessibility_Relation.idl: added getRelationTypeName
3227 method. Synched known relation types with ATK. Allowed for
3228 relation type extension with the RELATION_EXTENDED type.
3230 * libspi/relation.c: Provided implementations for
3231 AccessibleRelation methods.
3233 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3235 API tweaks for today's API 'freeze'.
3238 Added placeholder functions to allow future compatible expansion
3239 of the IDL interfaces.
3241 * idl/Accessibility_Registry.idl:
3242 Changed generateKeyEvent to generateKeyboardEvent. Changed
3243 signature of this method to accept an optional keystring in
3244 parameter (for complex text input synthesis) and changed use of
3245 simple 'boolean' parameter in registerKeystrokeListener to a
3246 struct, EventListenerMode.
3248 * cspi/spi_accessible.c:
3250 * cspi/spi_streamablecontent.c:
3251 Added references to AccessibleStreamableContent interface, and
3252 definition and implementation of AccessibleStreamableContent
3255 * cspi/spi_registry.c:
3257 Changed generateKeyEvent API to generateKeyboardEvent,
3258 taking a new (optional) keystring parameter to support complex
3263 Renamed directory (to better reflect its actual purpose, bridging
3264 from at-spi to ATK). The .so module is also now named
3267 * idl/Accessibility_Hypertext.idl:
3268 * libspi/accessible.c:
3269 * libspi/hypertext.h:
3270 * libspi/hypertext.c:
3271 Changed Accessibility_Hypertext to *not* derive from
3274 * cspi/spi_registry.c:
3275 Added list of legal event type names for 'window' events, which
3276 completes the registry event API.
3278 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3280 * at-bridge/bridge.c: Added registration for separate
3281 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3282 signals. If either of the first two parameters to the generic
3283 bridge signal handler are ints, they are passed on as event
3284 details. This allows an AT to determine what text was inserted.
3286 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3288 * registryd/deviceeventcontroller.c:
3289 Fixed regressions in generateKeyEvent caused by the removal of
3290 gdk_init from registryd; we now use pure X calls to connect to the
3291 display, which makes sense because deviceeventcontroller already
3292 uses a fair bit of X API (should eventually be migrated to a
3293 'portability layer').
3295 * registryd/desktop.c:
3296 Fixed minor regression in spi_desktop_init, changed the way the
3297 desktop name is being set to work with new spi_base API
3298 (gobject-based, rather than AtkObject-based).
3300 * registryd/Makefile.am:
3301 Minor revision of makefile to use XTST_LIBS variable rather than
3302 hard-wiring the Xtst LD_ADD element.
3304 * test/keysynth-demo.c:
3305 Tweaked an output message; added initialization of the
3306 'keystrings' member of the "switch listener" key_set.
3308 * libspi/relation.c:
3309 Squashed compile-time warning.
3311 * libspi/accessible.c:
3312 Cosmetic and formatting fixes, renamed a static method.
3314 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3316 * libspi/accessible.c
3318 * libspi/application.c
3321 * libspi/component.c
3322 * libspi/editabletext.c
3323 * libspi/hyperlink.c
3324 * libspi/hypertext.c
3326 * libspi/selection.c
3330 * registryd/desktop.c:
3331 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3333 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3335 * idl/Accessibility_Registry.idl:
3336 Added boolean member 'is_text' to DeviceEvent. This is for the
3337 use of key events, and helps prevent ambiguity between composed
3338 key strings and keysym names, since both may potentially be
3339 returned in the 'event_string' member.
3341 * at-bridge/bridge.c:
3342 * registryd/deviceeventcontroller.c:
3343 Use the 'is_text' member when notifying device event listeners.
3344 Knon issue: composed characters are not dealt with correctly by
3345 the global key listener implementation yet.
3347 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3349 * at-bridge/bridge.c:
3350 Namespaced local static methods to spi_atk_bridge_* where
3351 previously named bridge_*, and spi_* elsewhere.
3353 * at-bridge/bridge.c:
3354 * cspi/bonobo/cspi-bonobo-listener.c:
3355 Added demarshalling/conversion for string member of
3356 Accessibility_DeviceEvent to AccessibleKeystroke.
3358 * registryd/deviceeventcontroller.c:
3359 Added code to fill the Accessibility_DeviceEvent key string value
3360 member for global key events (i.e. from XGrabKey), to match
3361 behavior of Accessibility_DeviceEvent from the toolkit key events
3362 from the bridge. Fixed timestamp in global key event notifications.
3365 Added printout of key event's string value to
3366 report_ordinary_key_event, for demo/debugging purposes.
3368 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3370 * idl/Accessibility_Registry.idl:
3371 Removed Accessibility_KeyStroke structure in favor of generic
3372 Accessibility_DeviceEvent structure.
3373 Changed Accessibility_ControllerEventMask from a struct to an
3376 * at-bridge/bridge.c:
3377 Changed APIs to use DeviceEvent structure as above, and removed
3378 bogus casting between these event structures.
3380 * cspi/spi-listener.h:
3381 Added keystring member of AccessibleKeystroke structure, to enable
3382 matching on event "names" rather than only hardware codes and
3386 Added keystrings member of AccessibleKeySet struct, to allow
3387 matching on event names (as above).
3388 Added declarations for SPI_createAccessibleKeySet and
3389 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3390 event modmasks directly as unsigned ints rather than structs with
3391 refcounts, in the DeviceEventController methods.
3393 * cspi/spi_registry.c:
3394 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3396 * cspi/spi-roletypes.h:
3397 Added documentation of newly added SPI Roles.
3399 * cspi/bonobo/cspi-bonobo-listener.c:
3400 Changes in support of API changes above.
3402 * libspi/accessible.c:
3403 Converted APIs to use DeviceEvent structure (see IDL changes
3406 * registryd/deviceeventcontroller.c:
3407 Added DEControllerGrabMask structure to track keygrabs not only by
3408 modmask but by keyset as well; this allows us to do "global"
3409 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3410 grabbing on AnyKey and then filtering after-the-fact.
3411 Bugfixes for event filtration mean that we don't get false matches
3412 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3414 * registryd/deviceeventcontroller.c:
3415 Namespaced a number of static methods to use spi_ prefix. Major
3416 revision to internals of global (i.e. X) key grabs.
3418 * registryd/deviceeventcontroller.h:
3419 Removed keymask_list and added keygrabs_list to
3420 SpiDeviceEventController struct.
3423 Added use of SPI_createAccessibleKeySet API when creating a
3424 listener for only one key. Attach a listener to "shift spacebar
3425 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3426 X key event names to SPI key event names, so that listeners are
3427 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3429 * test/keysynth-demo.c:
3430 Changed (incorrect) use of X key event names (KeyPressed,
3431 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3434 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3436 * libspi/accessible.c:
3437 Convert all AtkRole enumerations to Accessibility_Role enums when
3438 getting a role from an AtkObject.
3440 * cspi/spi_accessible.c:
3441 Complete the conversion of Accessibility_Role enums at runtime to
3442 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3443 role enums correctly match those given in spi-roletypes.h.
3444 Re-synchronize the local names list for AccessibleRole_getName ().
3445 AccessibleRole_getName is now deprecated, since it duplicates the
3446 more reliable Accessible_getRoleName.
3447 Added some role types from Accessibility_Role.idl.
3449 * idl/Accessibility_Role.idl:
3450 Added some role types used by AtkRole.
3452 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3455 * cspi/spi_registry.c:
3457 * cspi/cspi-bonobo-listener.c:
3458 Namespaced all methods that did not begin with an "SPI_" or
3459 "Accessible" prefix to "SPI_".
3462 Homogenized internal function namespace to "cspi_" for statics.
3465 Patched tests to use the new CSPI API.
3467 * docs/reference/cspi/at-spi-cspi-sections.txt:
3468 Updated docs to reflect namespace changes, and added a number of
3469 methods to the documentation.
3471 * registryd/registry.c:
3472 Changed use of strings and string hashes in listener event
3473 matching and parse_event_string to use GQuark, which is guaranteed
3476 * registryd/registry.h:
3477 Squashed annoying warning.
3479 * idl/Accessibility_Role.idl:
3480 Extended range of available Accessibility_Role values.
3482 * cspi/spi_accessible.c:
3483 Re-ordered role names.
3485 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3487 * idl/Accessibility_Value.idl:
3488 Revert use of union back to CORBA_double, since the double type is
3489 more efficient and can contain the other types without loss of
3492 * idl/Accessibility_Accessible.idl:
3493 Added method Accessibility:Accessible:getRoleName, to complement
3494 Accessibility:Accessible:getRole.
3496 * cspi/spi_accessible.c:
3498 Added C binding for above, Accessible_getRoleName (), and changed
3499 signature of Accessible_getRole () to return an AccessibleRole.
3501 * cspi/spi-roletypes.h:
3502 Changed AccessibleRole_getName to return a char * instead of a
3503 const char *. This method is now at least temporarily deprecated
3504 in favor of asking Accessibles for their RoleNames directly.
3507 Revert to match Accessibility_Value.idl;
3511 Change signature of AccessibleValue methods to use double rather
3515 * cspi/spi_accessible.c:
3516 Changed Accessible_getRole to return an AccessibleRole enum rather
3517 than a UTF-8 string. The UTF-8 string can still be obtained via
3518 AccessibleRole_getName ().
3520 * test/test-simple.c:
3521 Add test_action. Small fixup to match API change to Accessible_getRole.
3524 Bugfix for get_action_from_servant ().
3526 2001-12-11 Michael Meeks <michael@ximian.com>
3528 * libspi/libspi.h: remove registry.h and
3529 desktop.h, deviceeventcontroller.h
3531 * libspi/Makefile.am: remove registry.[ch],
3532 desktop.[ch], deviceeventcontroller.[ch]
3534 * registryd/Makefile.am: add registry.[ch],
3535 desktop.[ch], rename registryd.c to registry-main.c.
3536 add deviceeventcontroller.[ch]
3538 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3541 Replace setenv() call with putenv ().
3543 * libspi/component.c:
3544 Bugfix in AccessibleComponent_getExtents (),
3547 2001-12-11 Michael Meeks <michael@ximian.com>
3549 * libspi/image.c (impl_getImageExtents): impl.
3550 (spi_image_class_init): upd.
3553 (AccessibleImage_getImageDescription): fix daft bug
3556 * test/test-simple.c (global_listener_cb): update
3557 to only quit if not --poke
3558 (main): catch --poke.
3559 (validate_accessible): upd. dumping, call test_image
3562 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3565 * idl/Accessibility.idl: update all IDL includes.
3567 * idl/*.idl - rename to namespace - this sucks, blame
3568 mjs' bad decision for oafd.
3570 * test/test-simple.c (create_test_window): add more tests.
3571 (create_tree): split this out.
3572 (validate_accessible): bugfix.
3574 2001-12-11 Michael Meeks <michael@ximian.com>
3576 * cspi/bonobo/cspi-bonobo-listener.c:
3577 (cspi_kestroke_listener_unref),
3578 (cspi_event_listener_unref): impl. undoing previous
3579 homenous environment - for Bill.
3581 * cspi/spi_table.c (long_seq_to_array): use
3584 * cspi/spi_main.c: split out all bonoboish bits into
3587 * cspi/spi-impl.h: upd. typedefs.
3589 * cspi/spi_registry.c: update to lowlevel API,
3590 return booleans to indicate success in some places.
3592 * cspi/spi_event.c: update to lowlevel API.
3594 * cspi/bonobo/Makefile.am: add.
3596 * cspi/bonobo/cspi-lowlevel.h: add
3598 * cspi/bonobo/cspi-bonobo.c: add
3600 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3602 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3603 (SUBDIRS): add bonobo, link in the libs.
3605 * cspi/spi-util.c: kill this file.
3607 * TODO: merge in my bits.
3609 2001-12-11 Michael Meeks <michael@ximian.com>
3611 * test/test-simple.c (test_value, test_table, main):
3612 remove unused variables causing warnings.
3614 * configure.in: cleanup checks - require gail.
3616 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3619 Changed Value interface to use SValue (scalars) rather than
3620 assuming all values are floats. This allows floats, doubles,
3621 longs, shorts, and unsigned values to be manipulated.
3622 Introduced Accessibility:SValue union.
3625 Updated to use new API above, and to work correctly with GValues
3626 of different types in AtkValue.
3629 Updated to use new API above. cspi's API is as yet unchanged.
3632 Updated the Value revision action item.
3634 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3636 * test/test-simple.c:
3637 Added test_table (GtkTreeView widget in test window to follow).
3638 Un-commented test_value, added GtkRange widget.
3639 Added GtkTreeView widget with GtkListStore. It passes regression
3640 test but leaks one SPI object for some reason.
3643 Fixed bug in impl__set_currentValue.
3645 2001-12-10 Michael Meeks <michael@ximian.com>
3647 * cspi/spi_text.c: audit for exception handling,
3648 tolerating NULL object references safely etc.
3650 * cspi/spi_value.c: ditto.
3652 * cspi/spi_table.c (AccessibleTable_getSummary),
3653 (AccessibleTable_getAccessibleAt),
3654 (AccessibleTable_getRowHeader),
3655 (AccessibleTable_getColumnHeader),
3656 (AccessibleTable_getCaption): fix bugs hidden by
3658 (long_seq_to_array): impl.
3659 (AccessibleTable_getSelectedRows),
3660 (AccessibleTable_getSelectedColumns): use it.
3662 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3665 Added a TODO list (rough and short for now).
3667 * cspi/spi_hyperlink.c:
3668 * cspi/spi_hypertext.c:
3669 Fixed macro name typos, and remove use of obsolete macro in
3670 AccessibleHyperlink_getLink.
3672 * cspi/spi_action.c:
3673 * cspi/spi_accessible.c:
3674 * cspi/spi_application.c:
3675 * cspi/spi_component.c:
3676 * cspi/spi_selection.c:
3679 Documentation fixes (removed return values from ref/unref methods).
3681 2001-12-10 Michael Meeks <michael@ximian.com>
3683 * cspi/spi_action.c: audit for exception handling,
3684 tolerating NULL object references safely etc.
3686 * cspi/spi_accessible.c: ditto.
3688 * cspi/spi_component.c: ditto.
3690 * cspi/spi_editabletext.c: ditto.
3692 * cspi/spi_hyperlink.c: ditto.
3694 * cspi/spi_hypertext.c: ditto.
3696 * cspi/spi_image.c: ditto.
3698 * cspi/spi_selection.c: ditto.
3700 2001-12-10 Michael Meeks <michael@ximian.com>
3702 * configure.in: use cspi/libspi.pc.in instead.
3704 * Makefile.am (pkgconfig_DATA): upd. to match.
3706 * test/simple-at.c (report_focus_event): kill hacks around
3707 bad return values, use putenv not setenv
3709 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3710 fire ChildGone - I killed it.
3712 * libspi/component.c
3713 (impl_accessibility_component_get_extents): remove
3716 * idl/Accessible.idl: kill ChildGone exception.
3718 * cspi/*.[ch]: kill int return from ref / unref.
3720 * cspi/spi_main.c (cspi_object_add_check): fold into
3721 (cspi_object_add): here.
3723 * cspi/spi_component.c (AccessibleComponent_getExtents):
3724 handle exceptions elegantly.
3726 * cspi/spi-private.h (cspi_check_ev_return),
3727 (cspi_return_if_fail): impl.
3729 * cspi/spi_accessible.c: use extensively.
3730 (AccessibleStateSet_equals): add direct compare check.
3732 * cspi/spi_selection.c: tolerate NULL objs, and check
3733 exceptions before return.
3735 * cspi/spi-util.c (cspi_warn_ev): rename to
3736 (cspi_check_ev): this & don't pass ev in; no point.
3738 2001-12-10 Michael Meeks <michael@ximian.com>
3740 * test/test-simple.c: use putenv not setenv
3741 (get_environment_vars): more chatty if you're not using
3744 * test/simple-at.c: do the setenv so more people see the
3747 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3749 * libspi/registry.c:
3750 Changed check of CORBA_environment on notification to be a warning
3751 instead of an error for the moment, since we can recover from this
3752 error when caused by a queued notification from a dead app.
3755 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3756 used by all current implementors of AtkValue), and coerce to
3757 CORBA_float. (Proper general case fix may require change to Value.idl).
3759 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3763 * cspi/spi_accessible.c:
3764 Documentation fixes: added user_data params to documentation for
3765 listeners and callbacks.
3767 * cspi/spi_accessible.c:
3768 Changed AccessibleStateSet_compare to return a
3769 StateSet rather than return the difference set into a third parameter.
3772 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3775 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3776 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3780 Remove subdirectory po from SUBDIRS for now.
3782 * at-bridge/bridge.c:
3783 Beefed up a couple of debug printouts.
3784 One-line fix for signal notification name formatting.
3786 * libspi/accessible.c:
3787 Added assertion to spi_accessible_new ().
3789 * libspi/application.c:
3790 Put #ifdef qualifiers around a printf.
3793 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3795 * registryd/Makefile.am:
3797 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3798 INTLTOOL_SERVER_RULE macro.
3801 Added an event listener for several ATK signals, for
3802 testing and debugging. Removed a few g_warnings.
3803 Added test output if focussed item implements the Value interface.
3805 * test/test-simple.c:
3806 Added test_value () function (known not to pass at the moment, so
3807 not actually called yet.
3809 2001-12-08 Michael Meeks <michael@ximian.com>
3811 * at-bridge/bridge.c (bridge_focus_tracker),
3812 (emit_eventv): fix the same ref. leak.
3813 (register_atk_event_listeners): don't leak.
3815 * cspi/spi-listener-impl.c (cspi_event): more
3816 protection from client code.
3818 * test/test-simple.c (test_desktop): unref the app.
3820 * test/Makefile.am: upd. TESTS.
3822 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3824 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3826 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3828 * cspi/spi_registry.c: constify in strings.
3829 (deregisterGlobalEventListenerAll): don't release the ref.
3831 * cspi/spi.h: start removing redundant / conflicting
3832 gtkdoc comments, making the API readable at a glance :-)
3834 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3836 * test/keysynth-demo.c (keysynth_exit, main): upd.
3838 * test/simple-at.c (main, simple_at_exit): upd.
3840 * test/test-simple.c (unutterable_horror): kill.
3841 (utterable_normal_derefs): kill.
3842 (main): upd & do a setenv before gtk_init, so that we
3843 can use memprof - and to save the pain of remembering
3844 this, if we're running under memprof - don't exit.
3846 * cspi/spi_main.c (SPI_exit): return exit status
3848 (SPI_event_quit): impl.
3849 (SPI_event_main): simplify.
3850 (cspi_is_gnome_app): kill.
3851 (SPI_init): kill isGNOMEapp arg.
3853 * at-bridge/bridge.c (register_atk_event_listeners):
3854 re-instate the unref.
3855 (bridge_exit_func): don't re-activate the registry,
3856 protect vs. theoretical re-entry, use the
3857 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3858 assert a clean shutdown - for regression tests.
3860 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3862 * configure.in: Comment out dummy i18n support for now,
3863 otherwise it fails to build.
3864 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3865 EXTRA_DIST. They are missing in tarball.
3867 2001-12-07 Michael Meeks <michael@ximian.com>
3869 * util/magnifier.c: kill bonobo activation reg. race.
3871 * libspi/component.c
3872 (impl_accessibility_component_get_extents): make it match
3875 * libspi/registry.c (_registry_notify_listeners):
3876 re-remove X headers & reconcile conflicts.
3877 (spi_listener_struct_free): bad conflict resolve.
3878 (impl_accessibility_registry_register_application):
3879 more bad merging fixed.
3880 (impl_accessibility_registry_deregister_application): ditto.
3881 (spi_registry_new): ditto.
3882 (spi_registry_init): don't have an applications field.
3884 [ merge fixups2 branch to here ]
3885 2001-12-07 Michael Meeks <michael@ximian.com>
3887 * test/simple-at.c (report_focus_event),
3888 (report_focussed_accessible): remove g_warning debug.
3890 2001-12-07 Michael Meeks <michael@ximian.com>
3892 * test/test-simple.c (validate_tree): comment out some checks.
3893 (test_desktop): app now not registered idly - horay.
3895 2001-12-07 Michael Meeks <michael@ximian.com>
3897 * cspi/spi_registry.c
3898 (registerAccessibleKeystrokeListener): clean, stop it leaking
3899 great swathes of memory, and device event controller references.
3900 ensure we always pass valid sequences.
3901 (deregisterAccessibleKeystrokeListener): ditto.
3902 (generateKeyEvent): upd.
3904 * at-bridge/bridge.c (bridge_key_listener): handle
3905 registry dead exception gracefully.
3906 (bridge_focus_tracker, emit_eventv): free ev.
3908 * test/simple-at.c (report_focus_event): fix polarity.
3910 * libspi/application.c (notify_listeners): kill the ev
3911 argument, and make sure we init the ev we use.
3912 (spi_application_object_event_listener): split out a chunk
3913 (get_atk_object_ref): here & fixup.
3914 (reverse_lookup_name_for_toolkit_event): make const.
3915 (spi_application_toolkit_event_listener): fixup, kill leaks
3918 * at-bridge/bridge.c (register_atk_event_listeners):
3919 don't unref the noop object - causes grief.
3921 * libspi/registry.c: remove the X headers.
3922 turn off the debug churn.
3924 * libspi/accessible.c (spi_accessible_new_return): only
3925 release the ref if we are supposed to [doh]
3927 * test/simple-at.c (report_button_press, report_focus_event):
3928 guard vs. unexpected exit.
3930 * at-bridge/bridge.c (gtk_module_init): prune printf.
3931 (bridge_exit_func): fix app unref.
3933 * libspi/Makefile.am: don't install registry or desktop.h
3935 * libspi/*.h: update includes.
3937 * libspi/application.h: don't include ourself, or
3938 other redundant headers.
3940 2001-12-06 Michael Meeks <michael@ximian.com>
3942 * libspi/accessible.c
3943 (get_accessible_from_servant): impl.
3944 Upd. all CORBA impl.s to use it killing cut and paste.
3946 * cspi/spi_main.c (cspi_cleanup): guard vs. double
3948 (SPI_init): register atexit cleanup handler here.
3950 2001-12-06 Michael Meeks <michael@ximian.com>
3952 * at-bridge/bridge.c (gtk_module_init): g_error on
3953 activation exception
3955 2001-12-06 Michael Meeks <michael@ximian.com>
3957 * at-bridge/bridge.c (gtk_module_init): some sort of
3958 confusing merge clash - reverted.
3959 (bridge_idle_init): ditto.
3961 * test/test-simple.c (main, utterable_normal_derefs):
3962 merge from Bill - somehow not committed.
3964 2001-12-06 Michael Meeks <michael@ximian.com>
3966 * libspi/value.c (spi_value_class_init): upd.
3967 (spi_value_finalize): kill.
3969 * libspi/table.c (spi_table_finalize): kill.
3970 (spi_table_interface_new): upd.
3971 (spi_table_class_init): upd.
3972 (get_table_from_servant): impl.
3973 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3975 * libspi/selection.c (spi_selection_finalize): kill.
3976 (spi_selection_interface_new): upd.
3977 (spi_selection_class_init): upd.
3978 (get_selection_from_servant): impl.
3979 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3981 * libspi/relation.c (spi_relation_finalize): kill.
3982 (spi_relation_class_init, spi_relation_new): upd
3984 * libspi/image.c (spi_image_finalize): kill.
3985 (spi_image_class_init): upd.
3986 (spi_image_interface_new): upd.
3987 (get_image_from_servant): impl.
3988 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3990 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
3991 (spi_hyperlink_finalize): kill.
3992 (spi_hyperlink_new): upd.
3993 (get_hyperlink_from_servant): impl.
3994 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3996 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
3997 (spi_hypertext_finalize): kill.
3998 (spi_hypertext_class_init): upd.
3999 (get_hypertext_from_servant): impl.
4000 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4002 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4003 (spi_editable_text_interface_new): upd.
4004 (get_editable_text_from_servant): impl.
4005 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4007 * libspi/text.c (get_text_from_servant): impl.
4008 All impls - update to use it killing more cut and paste,
4009 also fix bad string returns on duff args ( a somewhat
4010 impossible case to handle - but hey ).
4011 (spi_text_construct): impl.
4012 (spi_text_interface_new): upd.
4013 (spi_text_object_finalize): kill.
4015 * libspi/component.c
4016 (accessibility_component_object_finalize): kill.
4017 (spi_component_class_init): upd.
4018 (get_component_from_servant): impl. helper to kill cut & paste.
4019 (impl_accessibility_component_contains):
4020 (impl_accessibility_component_get_accessible_at_point):
4021 (impl_accessibility_component_get_position):
4022 (impl_accessibility_component_get_extents):
4023 (impl_accessibility_component_get_mdi_z_order):
4024 (impl_accessibility_component_get_layer):
4025 (spi_component_interface_new): upd.
4027 * libspi/action.c (spi_action_finalize): kill.
4028 (spi_action_class_init): upd. inherit from SpiObject.
4029 (spi_action_interface_new): upd.
4030 (get_action_from_servant): impl. helper to reduce cut & paste.
4031 (impl_getKeyBinding, impl_getName, impl_doAction),
4032 (impl_getDescription): Use it everywhere.
4034 * cspi/spi_main.c (get_live_refs): a pointer hash.
4035 (spi_object_hash, spi_object_equal): comment out.
4036 There are issues with CORBA object hashing that need
4039 * libspi/application.c (spi_application_init),
4040 (spi_application_new): upd.
4042 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4043 (spi_accessible_class_init): upd.
4044 s/accessible/object/ in epv methods.
4046 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4048 * at-bridge/bridge.c:
4049 Reorder the bridge initialization into the bridge gtk_module_init,
4050 an immediate call to bridge_register_app, and an idle_add for
4051 register_atk_event_listeners (the only code that *must* wait until
4052 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4053 the activation, creates the application's Accessible object, and
4054 queues the bridge_idle_init function. Restored call to
4055 Accessibility_Registry_deregisterApplication().
4056 Prior to making this call we obtain a new reference to the
4057 registry, which is a temporary hack that helps us handle apps that
4058 shut down the bonobo mainloop before we get there.
4060 * libspi/registry.c:
4061 Fix string leakage in debug block, and don't segv if a an app
4062 dies before its event notifications have been propagated.
4065 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4066 as stopgap measure until we get proper exception handling when
4067 objects die during or before interrogation.
4071 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4072 Also changed default value of is_gnome_app to TRUE.
4075 * test/keysynth-demo.c:
4076 Changed use of SPI_init and SPI_event_main to reflect API change above.
4079 Made report_focus_event check the warning value from getName
4080 before reporting on focussed accessible; simplifies handling of
4081 notifications from dead objects.
4083 * test/test-simple.c: (Changes not in this patch since source is
4086 2001-12-05 Michael Meeks <michael@ximian.com>
4088 * registryd/registryd.c (main): protect against
4089 bonobo-activation startup race condition.
4091 * cspi/spi_main.c (cspi_object_add_check): cope
4092 with the exception elegantly.
4094 * idl/Accessible.idl: decl. ChildGone
4096 * libspi/desktop.c (spi_desktop_dispose): impl.
4097 (spi_desktop_class_init): upd.
4098 (spi_desktop_add_application),
4099 (spi_desktop_remove_application),
4100 (abnormal_application_termination): impl.
4101 (impl_desktop_get_child_at_index): re-impl.
4104 (impl_accessibility_registry_deregister_application),
4105 (impl_accessibility_registry_register_application):
4106 kill excessive debug clutter.
4108 * test/test-simple.c (test_misc): test some NULL
4109 tolerance. (main): upd.
4111 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4112 implements no interfaces - so let's not crash.
4114 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4116 * libspi/accessible.c (spi_accessible_new_return): impl.
4117 helper to calm the cut and paste, to cope with
4118 NULL AtkObjects effectively and efficiently, and to kill
4119 the referencing bugs.
4121 * libspi/table.c (impl_getAccessibleAt),
4122 (impl_getRowHeader, impl_getColumnHeader): upd.
4124 * libspi/hyperlink.c (impl_getObject): upd.
4126 * libspi/accessible.c
4127 (impl_accessibility_accessible_get_child_at_index): upd.
4129 * libspi/component.c
4130 (impl_accessibility_component_get_accessible_at_point): upd.
4132 * test/test-simple.c (test_editable_text, test_text): impl.
4135 * cspi/spi_editabletext.c
4136 (AccessibleEditableText_insertText): constify.
4138 * test/test-simple.c (focus_me): make more robust.
4140 * libspi/accessible.c: remove some printfs in methods that
4141 we test and work fine, so we can get a clean tree dump.
4143 * test/test-simple.c (validate_accessible),
4144 (validate_tree): make tree dumping pretty too.
4146 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4147 it builds without debug on.
4149 * test/test-simple.c (validate_accessible): fix the most
4152 * cspi/spi_main.c (spi_object_release): leave the nicely
4153 blanked memory around if in debug mode.
4155 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4157 [committed to fixups2]
4158 2001-12-05 Michael Meeks <michael@ximian.com>
4160 * libspi/editabletext.c
4161 (spi_editable_text_class_init): g_type_class_peek_parent,
4162 not interface peek - so we finalize cleanly.
4164 * libspi/accessible.c (spi_accessible_new): kill debug.
4166 * test/test-simple.c (validate_accessible): fix ref.
4167 leak, print strings before freeing them; sigh, comment a
4168 chunk out due to strangeness.
4169 (validate_tree): unref the child after use.
4171 * cspi/spi_component.c (AccessibleComponent_getLayer):
4172 add missing break statement, switch on zlayer not the
4173 uninitialized retval.
4175 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4176 before (possibly re-entering) remote unref.
4178 * test/simple-at.c (main): unref the desktop.
4180 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4183 * cspi/spi_main.c (cspi_accessible_is_a): here to
4184 isolate bonobo API usage more.
4186 * libspi/registry.c (impl_accessibility_registry_register_application):
4187 prune bogus comment.
4189 2001-12-04 Michael Meeks <michael@ximian.com>
4191 * test/test-simple.c (validate_tree): upd.
4192 IndexInParent check to make it more lucid.
4193 (validate_accessible): dump the tree.
4195 * libspi/accessible.c (de_register_public_ref),
4196 (get_public_refs): impl.
4197 (spi_accessible_new): make more efficient & intuitive.
4198 Now IndexInParent check works.
4200 2001-12-04 Michael Meeks <michael@ximian.com>
4202 * cspi/spi-util.h: remove.
4204 * cspi/spi.h: move SPI_freeString here
4206 * libspi/component.c (impl_accessibility_component_get_layer):
4208 (impl_accessibility_component_get_mdi_z_order): ditto,
4209 return -1 on error - is this ok ?
4211 * test/test-simple.c (test_application): impl.
4213 * cspi/spi_accessible.c (Accessible_getApplication),
4214 (Accessible_isApplication): impl.
4216 * libspi/registry.c (spi_listener_struct_free): release
4217 the CORBA reference too.
4219 * libspi/accessible.c
4220 (impl_accessibility_accessible_get_parent): fix ref leak.
4222 * libspi/registry.c (spi_registry_new): make the registry
4223 immortal - we don't want it to go away ever.
4225 * libspi/application.c
4226 (spi_accessible_application_finalize): impl. cleanup.
4228 * cspi/spi_registry.c
4229 (deregisterGlobalEventListenerAll),
4230 (deregisterGlobalEventListener),
4231 (deregisterAccessibleKeystrokeListener): fix ref leak.
4233 * cspi/spi_main.c (SPI_init): remove redundant ref.
4235 * test/test-simple.c (unutterable_horror): impl. to force a
4240 (impl_accessibility_registry_deregister_application): release
4241 the application when we de-register it.
4243 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4244 until we have the infastructure to get it right.
4246 2001-12-03 Michael Meeks <michael@ximian.com>
4248 * libspi/Makefile.am: only build eventlistener.[ch]
4250 * libspi/accessible.c
4251 (impl_accessibility_accessible_get_child_at_index): don't leak.
4253 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4254 before we hit the idle handler.
4256 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4257 debugging than exit.
4259 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4261 * libspi/listener.c (impl_notify_event): check source
4262 not NIL before unref.
4264 * libspi/registry.c (impl_registry_notify_event): ditto.
4266 * libspi/eventlistener.c
4267 (impl_accessible_event_notify_event): unref the source.
4269 * libspi/accessibleeventlistener.c
4270 (impl_accessible_event_notify_event): unref the source.
4272 * idl/Event.idl: remove 'hash_id' attribute - of no
4275 * libspi/application.c (notify_listeners): upd list
4277 (spi_application_object_event_listener),
4278 (spi_application_toolkit_event_listener): upd to do correct
4282 (_registry_notify_listeners): update.
4283 (parse_event_type): this method also leaks like a sieve.
4284 (impl_accessibility_registry_deregister_global_event_listener):
4285 fix ETYPE_WINDOW case.
4287 * libspi/application.c
4288 (impl_accessibility_application_register_object_event_listener):
4291 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4293 * libspi/hypertext.c (impl_getLink): ditto.
4295 * cspi/spi_main.c (cspi_object_add): remove
4296 bogus CORBA_Object_duplicate.
4298 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4301 * cspi/spi_accessible.c
4302 (Accessible_getRelationSet): fix leak / referencing issue.
4304 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4305 (cspi_object_add, cspi_object_unref): upd.
4306 (spi_object_release, get_live_refs): impl.
4307 (cspi_cleanup): simplify.
4309 * *.[ch]: s/boolean/SpiBoolean/
4311 * cspi/spi_accessible.c (role_names): actualy order so it
4312 corresponds with the enum !
4314 * test/test-simple.c (test_roles): check some role strings
4315 vs. enums to detect offset errors.
4317 2001-12-01 Michael Meeks <michael@ximian.com>
4319 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4321 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4323 (Accessible_getChildAtIndex): use cspi_add_check so we
4324 check the ev before using a (possibly) invalid value.
4326 * libspi/accessible.c
4327 (impl_accessibility_accessible_get_parent): don't segv
4330 * at-bridge/bridge.c (gtk_module_init): upd.
4331 (bridge_property_event_listener): don't leak strings
4333 (bridge_state_event_listener),
4334 (bridge_property_event_listener): don't use a static
4335 buffer in case of recursive event emission &
4336 re-enterancy - split out the swathe of cut and paste
4338 (emit_eventv): and fix 2 ref leaks here & comply to the
4340 (bridge_register_app): rename to
4341 (bridge_idle_init): this and kill arg parsing, split
4342 various inits & bonobo-activation registration to module
4343 init time, kill referencing error.
4344 (bridge_exit_func): fix the same leak.
4345 (bridge_focus_tracker): don't leak event structures
4347 (bridge_signal_listener): more leakage and cut & paste
4349 (bridge_key_listener): return the result - FIXME is
4350 this polarity correct ?
4351 (accessibility_keystroke_from_atk_key_event): rename
4352 (accessibility_init_keystroke_from_atk_key_event): and stop
4354 (gtk_module_init): return a value - not that it is checked by
4356 (bridge_key_listener): register my horror at casting between
4357 IDL defined structs.
4358 (bridge_get_registry): kill - not used.
4360 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4362 * test/test-simple.c (test_roles): impl.
4363 (test_desktop, validate_accessible, validate_tree): impl.
4365 * cspi/spi_accessible.c (role_names): fixup bogus
4366 MAX_ROLES setup, make constants const for efficient linkage
4367 (AccessibleRole_getName): conform to coding style, make
4370 2001-11-30 Michael Meeks <michael@ximian.com>
4372 * cspi/spi.h: add missing prototype.
4374 * libspi/registry.c (spi_listener_struct_new): fix sig.
4376 * test/Makefile.am: add test-simple
4378 * test/test-simple.c: add
4380 * test/test.sh: add.
4382 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4384 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4385 do it straight - since otherwise we often get an activation race.
4387 [ work before Bill duplicated a chunk of it ... ]
4388 2001-11-30 Michael Meeks <michael@ximian.com>
4390 * libspi/keystrokelistener.c
4391 (spi_keystroke_listener_class_init): fixup arg
4394 * libspi/eventlistener.c
4395 (spi_event_listener_class_init): ditto.
4397 * tests/test.sh: add.
4399 * cspi/spi-listener-impl.h: update macros.
4401 * cspi/spi-listener-impl.c
4402 (cspi_event_listener_remove_callback): add
4403 correct pre-conditions.
4405 * cspi/spi_main.c (SPI_exit): guard vs. double
4406 exits, exit the mainloop nicely.
4407 (SPI_event_main): make more sense.
4408 (SPI_init): move the atexit evilness here so we
4409 always do it (yuck).
4410 (SPI_event_main): upd.
4412 * test/simple-at.c: update for listener changes.
4414 * registryd/registryd.c (main): prune kruft.
4416 * libspi/libspi.h: upd.
4418 * libspi/eventlistener.[ch]: rename broken macros.
4420 * libspi/accessibleeventlistener.[ch]: remove.
4422 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4424 * test/test-simple.c: Add - automated tests.
4426 * cspi/spi-listener-impl.c (cspi_event),
4427 (cspi_key_event): add user_data to invoke.
4428 (cspi_keystroke_listener_finalize): impl.
4429 (cspi_keystroke_listener_class_init): upd.
4432 (createAccessibleEventListener),
4433 (AccessibleEventListener_addCallback),
4434 (createAccessibleKeystrokeListener),
4435 (AccessibleKeystrokeListener_addCallback): upd.
4437 * libspi/deviceeventcontroller.c
4438 (spi_device_event_controller_check_key_event): add public proto.
4441 (impl_accessibility_registry_deregister_global_event_listener):
4442 always init listeners.
4443 (_registry_notify_listeners): yes it is.
4445 * cspi/spi-listener-impl.c (cspi_key_event):
4447 (cspi_event_listener_finalize): impl.
4448 (cspi_event_listener_class_init): hook up.
4449 (event_handler_new, event_handler_free),
4450 (event_list_remove_by_callback): impl.
4451 (cspi_event_listener_remove_callback),
4452 (cspi_keystroke_listener_remove_callback),
4453 (cspi_keystroke_listener_add_callback),
4454 (cspi_event_listener_add_callback): upd.
4456 * libspi/keystrokelistener.c
4457 (keystroke_listener_object_finalize): kill
4458 (spi_keystroke_listener_class_init): upd.
4459 (spi_keystroke_listener_add_callback),
4460 (spi_keystroke_listener_remove_callback): kill,
4462 (impl_key_event): prune drasticaly.
4464 * libspi/eventlistener.c
4465 (spi_event_listener_add_callback),
4466 (spi_event_listener_remove_callback): kill, use
4468 (impl_accessible_event_notify_event): upd.
4469 (spi_event_listener_object_finalize): remove.
4471 * libspi/Makefile.am: use eventlistener.[ch]
4473 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4475 * libspi/registry.c (_registry_notify_listeners):
4476 Changed listener loop iteration to use preferred convention.
4477 Got rid of string memory leaks caused be calling g_strconcat
4478 inside function calls.
4480 * libspi/registry.c (parse_event_type):
4481 Stopped g_strconcat memory leaks, free the g_strsplit return,
4482 g_strdup the split pieces when used, etc.
4484 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4487 Change method 'compare' to return a 'difference set' rather than
4488 taking a StateSet as an out parameter (more Java-friendly).
4490 * idl/Accessible.idl:
4491 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4493 * idl/Component.idl:
4495 Changed methods 'getExtents' and 'getImageExtents' in these
4496 interfaces to return a BoundingBox structure.
4497 (getPosition and getSize are redundant and possibly should be
4498 removed, rather than creating a corresponding Point struct.)
4500 * cspi/spi_component.c:
4501 Modify implementation of getExtents to reflect the above IDL
4506 Add (missing) AccessibleImage_getExtents () API.
4508 * docs/reference/cspi/at-spi-cspi-sections.txt:
4509 Added AccessibleImage_getImageExtents () to docs.
4511 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4513 * idl/Component.idl:
4514 Added two methods, getLayer () and getMDIZOrder (), to reflect
4515 the new ATK methods atk_object_get_layer and
4516 atk_object_get_mdi_z_order. (Which arguably should be part of the
4517 AtkComponent API and AtkObject). Also added an enum,
4518 ComponentLayer, for the first method's return value.
4520 * libspi/component.c:
4521 Added implementations for these methods.
4523 * cspi/spi_component.c:
4525 Added cspi binding methods for above,
4526 AccessibleComponent_getLayer() and
4527 AccessibleComponent_getMDIZOrder().
4528 Added cspi enum 'AccessibleComponentLayer'.
4530 * docs/reference/cspi/at-spi-cspi-sections.txt:
4531 Added above methods to docs.
4535 Changed typedef for 'boolean' type (and all references to it) to
4536 SPIBoolean, to avoid keyword clashes with C++.
4539 Changed usages of 'boolean' to SPIBoolean.
4541 * test/keysynth-demo.c:
4542 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4543 app), except where SPIBoolean is required by the callbacks API.
4545 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4547 * cspi/spi_registry.c:
4548 Removed obsolete X event loop for passive keygrabs (which now
4551 * registryd/registryd.c:
4552 Removed unnecessary call to gdk_init() [cruft]. This also allows
4553 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4556 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4558 * docs/reference/cspi:
4559 Included docs for SPI_freeString in generated documentation.
4562 Renamed spi_freeString to SPI_freeString, for consistency. Added
4563 documentation for this function.
4566 Renamed spi_freeString to SPI_freeString, for consistency.
4567 Removed obsolete method declaration string_from_corba_string.
4569 * test/keysynth-demo.c:
4570 Small tweak to comments.
4573 Stopped leaking the strings returned from CSPI.
4575 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4577 Merged Michael's branch (see his ChangeLog entries below).
4579 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4580 bridge is alive, release on exit.
4582 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4583 Fix type check macro.
4586 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4589 Added is_gnome_app static, and method cspi_is_gnome_app(),
4590 so we can call the appropriate shutdown routine at exit in SPI_exit.
4592 * cspi/spi_main.c (cspi_object_ref):
4593 Duplicate the corba object passed in, since we're keeping it around.
4595 * cspi/SPI_exit.c, cspi_cleanup:
4596 Moved the releasing of the live refs to its own function, so we
4597 can put it in g_atexit (). Call the appropriate shutdown API
4598 depending on whethe calling client is a gnome app or not
4599 (bonobo_main_quit or CORBA_ORB_shutdown).
4601 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4602 Unref the listener when this method is called, after
4603 deregistration. Updated the API docs to note this behavior.
4605 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4606 Bugfixes: Ref the bonobo object when returning a parent or child
4607 reference, or an AccessibleRelation. Generally made sure
4608 BonoboObject refcount is incremented whenever we return an
4611 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4612 Fixed typo/bug in signal declaration.
4614 * libspi/accessibleeventlistener.h:
4617 * libspi/application.c (spi_application_new):
4618 Fixed leak in initialization.
4621 Remembered to increment bonobo-object refcount when returning
4622 children (applications) from desktop object.
4623 Added (empty) finalize method.
4625 * libspi/deviceeventcontroller.c:
4626 Hold a ref to listeners inside DEControllerKeyListeners.
4627 Added dec_key_listener_free() method. Use prepend instead of
4628 append in key_listener list. Fixed some refcount madness and
4629 leaks in the listener registration/deregistration - deregistration
4630 now calls dec_key_listener_free() on listeners, and on the
4631 temporarily constructed dec_key_listener() used to perform the search/match.
4633 * libspi/hypertext.c (spi_hypertest_finalize):
4634 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4635 class. Also fixed spi_hypertext_interface_new() and
4636 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4638 * libspi/hypertext.h:
4639 Removed pointless and duplicate AtkObject pointer from
4642 * libspi/keystrokelistener.c:
4643 Fixed incorrect type of keystroke_listener_parent_class,
4644 renamed keystroke_listener_object_finalize to
4645 spi_keystroke_listener_object_finalize.
4646 Fixed typo in signal declaration
4647 (spi_keystroke_listener_class_init).
4649 * libspi/registry.c:
4650 Added funcsions spi_listener_struct_new() and
4651 spi_listener_struct_free() to help with memory management issues.
4652 We also now use these methods instead of gnew + poking stuff into
4653 the struct, and to decrement listener counts/free the listeners
4654 when deregistering them.
4655 Fix more refcount bugs in getDesktop() and
4656 getDeviceEventController().
4659 De-ref the desktop after enumerating the applications. Explicitly
4660 decrement the refcounts on the created listeners on exit (using
4661 _unref for keystroke listeners, and via the
4662 deregisterGlobalEventListenerAll command for other event
4665 2001-11-27 Michael Meeks <michael@ximian.com>
4667 * cspi/spi-listener.h: fixup enum.
4669 2001-11-27 Michael Meeks <michael@ximian.com>
4671 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4672 (cspi_keystroke_listener_new): Use the cspi variants.
4674 2001-11-26 Michael Meeks <michael@ximian.com>
4676 * test/keysynth-demo.c: fix 2 compile warnings, missing
4679 * test/simple-at.c (report_focussed_accessible),
4680 (report_focus_event, report_button_press),
4681 (check_property_change, is_command_key),
4682 (report_ordinary_key_event, report_command_key_event): upd.
4684 * util/mag_client.h: include pre-requisites.
4686 * libspi/accessibleeventlistener.c
4687 (spi_event_listener_object_finalize): free any lingering
4690 * libspi/keystrokelistener.c
4691 (keystroke_listener_object_finalize): ditto.
4693 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4694 callbacks, with cspi types.
4696 * cspi/spi_event.c (createAccessibleEventListener): chain to
4697 (AccessibleEventListener_addCallback): here.
4698 (createAccessibleKeystrokeListener): chain to
4699 (AccessibleKeystrokeListener_addCallback): here.
4701 * libspi/keystrokelistener.c
4702 (spi_keystroke_listener_class_init): add signal.
4703 (impl_key_event): emit the event.
4704 (boolean_handled_accumulator): impl.
4705 (marshal_BOOLEAN__POINTER): add, gack.
4707 * libspi/accessibleeventlistener.c
4708 (spi_event_listener_class_init): add signal.
4709 (impl_accessible_event_notify_event): emit the signal &
4710 make the loop efficient.
4711 (spi_event_listener_add_callback): prepend the callback.
4713 * libspi/accessibleeventlistener.h: add an 'event' signal,
4714 decl type on callback.
4716 * libspi/keystrokelistener.h: ditto.
4718 * cspi/spi-listener.h: make methods typesafe and
4719 make them use the new event typedefs.
4721 * test/simple-at.c (report_focussed_accessible):
4722 include mag_client.h
4723 Use *(void *)text_interface not the other thing.
4725 * configure.in: add gtk to registryd bits - since we use
4728 * util/magnifier.c: include libbonobo.h
4730 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4732 * test/keysynth-demo.c:
4733 Turned this into a simple scanning keyboard, to demonstrate the
4734 use of g_timeout_add () as a means of creating timers for
4735 scanning, and the use of GtkStyle for visually indicating when
4736 virtual keyboard elements are selected.
4738 keysynth-demo now listens to any keyboard keys with zero-valued
4739 keycodes (i.e. 'unused' keys) and interprets them as
4742 Reworked the shiftlatch code so that shift-down state isn't held
4743 for long periods (it's only synthesized immediately prior to
4744 the keysynth event it's modifying). Note that shiftlatch in this
4745 demo is a convenience, not intended to take the place of AccessX
4746 which is the better choice for getting 'sticky' modifier keys.
4748 * libspi/deviceeventcontroller.c:
4749 * at-bridge/bridge.c:
4750 * cspi/spi_registry.c:
4751 Removed some debug print stuff, and put other verbosity in #ifdef
4756 Implemented some more of the magnifier IDL for the simple
4757 magnifier: namely, getZoomRegionParams.
4758 Added mag_x and mag_y members to MagnifierData struct, aid of this
4760 Added GtkWindow::realize signal handler to magnifier, to keep it
4761 from receiving keyboard focus from the WM.
4763 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4765 * cspi/spi-private.h: my guess at what michael forgot
4766 before he ran off to NZ :-)
4768 2001-11-23 Michael Meeks <michael@ximian.com>
4770 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4771 comment out non existant method invoke so we link.
4773 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4774 use bonobo_exception_get_text for more friendly warnings.
4776 * cspi/spi.c (Obj_Add): move into spi_main & rename
4777 spi_object_add; kill spi.c
4779 * cspi/spi_registry.c
4780 (deregisterGlobalEventListener),
4781 (deregisterGlobalEventListenerAll),
4782 (registerGlobalEventListener): fix exception leaks.
4784 * cspi/spi_main.c (spi_exception): impl. helper, so we
4785 don't leak exceptions.
4787 * cspi/spi_selection.c
4788 (AccessibleSelection_deselectSelectedChild): return the
4791 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4792 (spi_registry): ditto.
4793 (SPI_init): guard against double inits.
4795 * cspi/*.c: use spi_ev (), and spi_registry () where
4796 appropriate - a temporary hack until we have something
4797 better. Use spi_object_add
4799 2001-11-22 Michael Meeks <michael@ximian.com>
4801 * cspi/Makefile.am: re organise, install the headers.
4803 * cspi/*.h: add G_BEGIN/END_DECLS
4805 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4808 Added non-preemptive keylistener for key events with no modifiers
4809 and shift-only modifier.
4811 * libspi/keystrokelistener.c:
4812 Removed some verbose diagnostics printout.
4814 * cspi/spi_registry.c:
4815 Fixed a bug that caused all key listeners to be registered as
4818 * libspi/deviceeventcontroller.c:
4819 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4820 for non-preemptive key masks.
4823 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4825 * docs/reference/idl/at-spi-idl-docs.sgml:
4826 * docs/reference/idl/at-spi-idl-sections.txt:
4827 * docs/reference/idl/at-spi-idl-overrides.txt:
4828 Added missing files.
4830 * docs/reference/Makefile.am:
4831 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4832 to scan the IDL files :-(
4837 Added .cvsignore files.
4839 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4841 * libspi/deviceeventcontroller.c:
4842 * libspi/keystrokelistener.c:
4844 * cspi/spi_registry.c:
4845 Added filters for KeySets, KeyEventSeq, and event types to key
4846 event dispatching, so listeners should only receive those events
4847 that they requested :-)
4849 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4854 * docs/reference:Makefile.am:
4855 * docs/reference/cspi:
4856 * docs/reference/cspi:Makefile.am:
4857 * docs/reference/cspi:tmpl:
4858 * docs/reference/cspi:tmpl:*.sgml:
4859 * docs/reference/idl:
4860 * docs/reference/idl:Makefile.am:
4861 * docs/reference/idl:at-spi-idl-sections.txt:
4862 * docs/reference/idl:at-spi-idl-docs.sgml:
4863 * docs/reference/idl:tmpl:
4864 * docs/reference/idl:tmpl:*.sgml:
4866 Restructured docs directory to allow separate 'reference' docs
4867 section, and forked idl and cspi docs. Added the sgml template
4868 files to CVS. Added the first sections/structural sgml for the
4871 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4873 * configure.in, libspi/Makefile.am: find libXtst.
4875 2001-11-21 Michael Meeks <michael@ximian.com>
4877 * test/accessx-gui.c: s/spi_value/value/ - doh.
4879 * libspi/base.[ch]: add.
4881 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4883 * idl/Accessible.idl:
4884 * idl/Application.idl:
4887 Started gtk-doc cleanup on IDL.
4889 * libspi/deviceeventcontroller.c:
4890 Added and connected non-preemptive key notification from the
4891 toolkits (in addition to the pre-emptive support from XServer
4892 which we had before, but which causes 'focus flashing'). Filters
4893 are presently limited to key modifiers and global/non-global,
4894 KeySets are presently ignored, as are KeyEvent masks.
4896 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4897 structs into the persistant structure rather than just storing
4898 pointers to things that might not persist across servant
4901 The XGrabKey call now does async keygrabs, because synchronous
4902 ones were deadlocking with GDK_event code in a very nasty way.
4904 Added boolean to internal method notify_keylisteners, to indicate
4905 whether the event came from the 'toolkit source' or the 'global
4906 (XServer) source' - this is used in the notification process to
4907 determine which listeners to send the event to.
4909 deviceeventcontroller.c is now warning-free.
4911 * libspi/registry.c:
4912 Fixed regression in application de-registration.
4913 Also fixed some really brain-dead weirdness having to do with
4914 event dispatching - event structs are now duplicated before being
4915 re-marshalled in the dispatch to listeners. This also fixes a
4916 Solaris build problem.
4919 2001-11-20 Michael Meeks <michael@ximian.com>
4922 (impl_accessibility_registry_deregister_global_event_listener):
4925 * libspi/deviceeventcontroller.c
4926 (spi_device_event_controller_check_key_event): return
4927 FALSE on no virtual method.
4929 * libspi/*..h: make includes work on a correctly pathed install.
4931 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4933 * libspi/application.h: kill unused ( and whacked out )
4934 gboolean *spi_application_set_id (AtkObject *app, long id);
4936 2001-11-20 Michael Meeks <michael@ximian.com>
4938 * libspi/*.[ch]: further convert to bonobo's type func
4939 macros, remove redundnant casts etc.
4941 * libspi/text.c s/accessibility_text/spi_text/g,
4942 re-order to de-cruft.
4944 * libspi/hypertext.c: re-order to kill a huge slew
4945 of redundant forward decls.
4947 * libspi/relation.c: ditto.
4949 * libspi/image.c: ditto.
4951 * */.cvsignore: update
4953 2001-11-20 Michael Meeks <michael@ximian.com>
4955 * libspi/deviceeventcontroller.c
4956 (_controller_register_with_devices): use g_getenv,
4957 kill stdlib.h include.
4959 * libspi/keystrokelistener.c
4960 (spi_keystroke_listener_get_type): kill
4961 (spi_keystroke_listener_class_init),
4962 (spi_keystroke_listener_init): rename to this.
4964 * libspi/text.c (impl_getAttributes): fix warning / bug.
4966 * libspi/*.[ch]: more headers, includes and over commenting.
4968 2001-11-20 Michael Meeks <michael@ximian.com>
4970 * libspi/*.[ch]: fixup headers, includes and over commenting.
4972 * libspi/image.c (impl__get_imageDescription): const
4973 correctness warning fix. remove redundant casting.
4975 * libspi/table.c (impl_getRowDescription): ditto.
4976 (impl_getColumnDescription): ditto.
4978 * libspi/libspi.h: add.
4980 2001-11-19 Michael Meeks <michael@ximian.com>
4982 * libspi/editabletext.c (impl_setAttributes): fix warnings.
4984 * libspi/component.c (accessibility_component_get_type):
4985 rename to (spi_component_get_type): and macroify.
4986 (accessibility_component_init): rename to
4987 (spi_component_init): this
4988 (accessibility_component_class_init): rename to
4989 (spi_component_class_init): this
4991 * libspi/action.c (spi_action_get_type): kill, use the macro.
4993 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
4996 * libspi/application.c (spi_application_object_event_listener),
4997 (impl_accessibility_application_register_object_event_listener):
4998 warning fixes / const understanding updates.
5000 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5003 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5005 * libspi/spi_accessible.c: Added docs and C bindings for
5006 AccessibleStateSet. (No implementations yet). Documentation
5007 coverage for C bindings now 100%. Made docs for event listeners
5012 boolean notifyListenersSync (in DeviceEventListener listener,
5013 in DeviceEvent event);
5015 oneway void notifyListenersAsync (in DeviceEventListener listener,
5016 in DeviceEvent event);
5018 Added DeviceEventListener and DeviceEvent structs (may deprecate
5019 KeyStroke and KeystrokeListener in favor of this generic
5020 event/listener framework for devices).
5022 * libspi/deviceeventcontroller.c:
5024 Changed some key listener code to take masks, etc., and paved the
5025 way for integration of toolkit/non-preemptive key events. Changed
5026 signatures of some internal methods.
5028 * at-bridge/bridge.c:
5029 Fixed regression connecting to interface signals, apparently
5030 caused by GTK+ changes.
5032 Added an internal bridge_state_listener to deal with
5033 property-change:accessible-state signals.
5035 Changed the key_listeners GList to store structs (including masks,
5036 etc.) instead of just CORBA_Objects (required for full
5037 implementation of key listener API).
5039 Connected the bridge to all currently supported Atk signals.
5040 Events now supported:
5041 object:property-change
5042 object:property-change:accessible-name
5043 object:property-change:accessible-state
5044 object:property-change:accessible-description
5045 object:property-change:accessible-parent
5046 object:property-change:accessible-value
5047 object:property-change:accessible-role
5048 object:property-change:accessible-table-caption
5049 object:property-change:accessible-table-column-description
5050 object:property-change:accessible-table-column-header
5051 object:property-change:accessible-table-row-description
5052 object:property-change:accessible-table-row-header
5053 object:property-change:accessible-table-summary
5054 object:children-changed
5055 object:visible-data-changed
5056 object:selection-changed
5057 object:text-selection-changed
5059 object:text-caret-moved
5061 object:row-reordered
5063 object:column-inserted
5064 object:column-reordered
5065 object:column-deleted
5066 object:model-changed
5068 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5070 * libspi/hyperlink.c,h:
5071 Fixed some broken stuff in hyperlink.
5073 * libspi/relation.h:
5074 * libspi/relation.c:
5075 * cspi/spi_accessible.c:
5076 Initial implementations of AccessibleRelation methods, and docs.
5078 * libspi/accessible.c:
5079 Fixed a bug that caused SEGV if an accessible
5080 object's description is NULL, and a client
5081 requests it. An empty string is now returned.
5083 * cspi/spi_editabletext.c:
5084 * cspi/spi_hypertext.c:
5086 * cspi/spi_hyperlink.c:
5090 Doc coverage now 95%.
5092 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5094 One last namespacing revision:
5095 * libspi/accessibleeventlistener.[ch]:
5096 Renamed SpiAccessibleEventListener to SpiEventListener,
5097 (no need for two namespaces ;-)
5099 And lots of documentation fixes:
5101 * docs/at-spi-docs.sgml:
5102 Fixed 'underscore vs. hyphen' bug that was preventing
5103 the gtk-doc API docs from being automatically generated.
5106 * cspi/spi-listener.h
5108 * cspi/spi_accessible.c
5110 * cspi/spi_application.c
5111 * cspi/spi_component.c
5112 * cspi/spi_editabletext.c
5114 * cspi/spi_hypertext.c
5116 * cspi/spi_registry.c
5117 * cspi/spi_selection.c
5121 * docs/at-spi-docs.sgml
5122 * docs/at-spi-sections.txt
5124 Added and fixed up gtk-doc documentation in cspi.
5126 Interfaces now (fully) documented (subject to revision and enhancement):
5128 Event Listener Support
5130 AccessibleApplication
5134 AccessibleEditableText
5141 AccessibleRelationSet
5146 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5148 * at-bridge/bridge.c:
5149 Initial work for toolkit-level key snooper connection by bridge.
5154 New typedefs and fixes to support new namespacing, and cleaner
5155 separation of cspi bindings from libspi bonobo implementation.
5156 Removed inconsistent and extraneous Spi* namespace prefix that
5157 had crept into cspi headers.
5158 Lots of comment fixes that sed had missed.
5160 * cspi/spi-roletypes.h:
5161 * cspi/spi-statetypes.h:
5162 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5163 to AccessibleRoleType.
5165 * libspi/accessibleeventlistener.h:
5166 Fixed minor namespacing weirdness.
5168 * libspi/deviceeventcontroller.c:
5169 Reordered some internal API for device listeners.
5170 Changed the key registry final boolean to 'is_system_global'
5171 rather than 'is_synchronous', which is more descriptive of its
5173 Added spi_device_event_controller_new().
5174 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5176 * libspi/keystrokelistener.[ch]:
5177 Namespaced KeystrokeListener to SpiKeystrokeListener.
5178 Changed uses of keymasks to use SPI_ prefix, and did other
5181 * libspi/keymasks.h:
5182 Namespaced keymask constants with SPI_ prefix.
5184 * libspi/registry.c:
5185 Some warning fixes, and knock-on fixes from namespace changes.
5188 Added rules for accessx-gui test program.
5190 * test/accessx-gui.c:
5191 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5192 utility. It doesn't actually use at-spi, but it's still cool and
5195 * test/keysynth-demo.c:
5199 Fixes so that these test clients work properly with the namespaced
5200 libraries. (Incompletely tested for technical reasons, fixes may follow)
5203 2001-11-13 Michael Meeks <michael@ximian.com>
5205 * libspi/application.c
5206 (impl_accessibility_application_get_version),
5207 (impl_accessibility_application_get_toolkit_name):
5209 (impl_accessibility_application_set_id),
5210 (impl_accessibility_application_get_id): remove
5211 redundant casting code.
5213 * libspi/action.c (impl_getDescription): fix warnings.
5215 * libspi/accessible.c
5216 (impl_accessibility_accessible_get_parent),
5217 (impl_accessibility_accessible_get_child_at_index),
5218 (impl_accessibility_accessible_get_state),
5219 (impl_accessibility_accessible_get_relation_set):
5220 warning fixes & include action.h
5222 2001-11-13 Michael Meeks <michael@ximian.com>
5224 * *.[ch] fix bits I screwed up:
5226 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5227 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5229 2001-11-13 Michael Meeks <michael@ximian.com>
5231 * *.[ch] Namespace libspi into spi_ and Spi.
5233 2001-13-11 Michael Meeks <michael@ximian.com>
5235 * Makefile.am: dist & install at-spi-1.0.pc
5237 * libspi/Makefile.am: install into at-spi-1.0
5239 * idl/Makefile.am (idldir): install into at-spi-1.0
5241 * at-spi-1.0.pc.in: add.
5243 * configure.in: build it.
5245 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5247 * test/keysynth-demo.c:
5248 Use a 'realize' signal-handler to set the WM properties for
5249 the virtual keyboard, rather than making it a "POPUP" type
5250 override-redirect window (thanks to anders carlsson for that
5253 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5256 * test/keysynth-demo.c:
5257 Added new test of key synthesis, which creates a simple
5258 (mouse-operated) onscreen keyboard. It inserts key events into
5259 the currently-focused window, thus it does not grab keyboard focus
5262 * cspi/spi_registry.c:
5263 Added C binding for AT-SPI generateKeyEvent.
5265 * libspi/deviceeventcontroller.c:
5266 Added call to XFilterEvent so that key listener works with XIM (we
5267 hope). Added event_synth_type to generateKeyEvent, so that we can
5268 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5269 synthesize a press/release pair for KeySyms.
5271 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5273 * libspi/Makefile.am:
5274 * registryd/Makefile.am:
5275 (temporary) hack to include libXtst in libspi and registryd.
5276 (Needed for keystroke synthesis, see below).
5279 Improved API for registerKeystrokeListener, in accordance with
5280 discussions with Gnopernicus team and X server research.
5282 * libspi/registry.c:
5283 * libspi/deviceeventcontroller.c:
5284 * libspi/accessible.c:
5285 * libspi/keystrokelistener.c:
5286 Changes and fixes to support keylisteners for potentially
5287 consumed key events (that is, 'passive grabs').
5288 Added implementation for generateKeyEvent() [untested].
5291 Changes to registerKeystrokeListener() API, as above.
5292 Added deregisterGlobalEventListenerAll(), and
5293 deregisterKeystrokeListener(), which are needed for clean exit of
5295 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5296 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5298 * cspi/spi_registry.c:
5299 Added implementations of function prototypes mentioned above.
5301 * registryd/registryd.c:
5302 Added the key listener event source as a g_timeout(), to allow
5303 receipt of key events that are not caught by GDK (since GDK
5304 doesn't support passive keygrabs, this was necessary).
5307 Changed to attach a keylistener to 'Alt' keys, and
5308 respond to the following keycommands: Alt-M (toggle magnifier);
5309 Alt-F (toggle speech); Alt-Q (quit).
5310 Added an exit routine to deregister the listeners, and a key
5311 listener that prints some key info to the console when a key
5312 matches the listener mask (and is thus received by the listener).
5314 * util/idl/Magnifier.idl:
5315 Changes to magnifier API to support multiple zoom regions,
5316 non-uniform scaling in x and y, markDirty, and a host of other
5317 features that would be useful to magnification.
5320 * util/mag_client.c:
5321 * util/mag_client.h:
5322 * util/mag_control.c:
5324 Source code changes to support the above IDL changes.
5327 As above, and also changes to use a (slower) generic conversion
5328 path for colormap conversions, since the fast RGB conversions have been
5329 reported to fail for 16-bit displays.
5331 2001-10-26 Michael Meeks <michael@ximian.com>
5333 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5335 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5337 * at-bridge/Makefile.am: fix LDFLAGS.
5339 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5341 * at-bridge/bridge.c:
5342 Re-worked listeners for toolkit events, now we have signal
5343 and property listeners. Added a private method
5344 register_atk_event_listeners(), which registers with the
5345 various atk and gtk signals we need to monitor in order to emit
5347 Added emission hook for AtkObject:property-change events, to
5348 support the 'property listeners'.
5349 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5352 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5353 which emit warnings and exit, respectively, if CORBA errors occur
5354 during remote calls, and we now use these methods to check most of
5355 our CORBA calls in the C bindings.
5357 * cspi/spi_accessible.c:
5358 Changed AccessibleSelection_refSelectedChild() to
5359 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5360 now increment refcounts.
5362 * cspi/spi_component.c:
5363 Fixed some long pointer casts (dangerous!) to pass pointers to
5364 CORBA_longs of the proper type to the CORBA stubs, and copy the
5365 data into the longs that were passed into the C bindings code.
5367 * at-bridge/bridge.c:
5369 * libspi/accessible.c:
5370 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5371 hyperlinks, AtkHyperlink is an object type.
5373 * libspi/application.c:
5374 Added various conversions to and from "generic" event types and
5375 atk-specific types; this is really part of the 'bridge'
5376 implementation but is valid for all AtkObject-based accessibility
5379 * libspi/editabletext.c:
5380 Fixed nasty bug wherein editable text's finalize method was
5381 unref'ing tha AtkObject reference that the text parent class was
5382 about to unref _again_. There was also a nasty inheritance bug
5383 that meant that the AccessibleEditableText class was corrupt.
5385 * libspi/selection.c:
5386 Provided implementations for some selection API that was broken.
5388 * idl/Application.idl:
5389 Added registerObjectEventListener () method.
5392 Fixed a number of return values that were Bonobo_Unknowns from
5393 bonobo_object_corba_objref(), which I
5394 forgot to dup before returning. Changed instances of
5395 bonobo_object_corba_objref (bonobo_object(o)) to
5396 BONOBO_OBJREF(o), for concision and clarity.
5398 2001-10-13 Louise Miller <louise.miller@sun.com>
5400 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5401 idl/Event.idl, idl/Registry.idl
5402 Changed these files to include Bonobo_Unknown.idl instead
5405 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5407 * libspi/component.c libspi/component.h:
5408 Fixed typo. Added assertions for object checks in
5409 AccessibleComponent code.
5411 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5413 * idl/Accessible.idl:
5414 Added 'isEqual (Accessible *object)'
5415 method for Accessible. (Not Yet Implemented).
5418 Changed signature of registerKeystrokeListener() to
5419 take a KeySet and KeyEventSeq so that specific keys and event
5420 types could be requested for monitoring, and added a flag
5421 is_synchronous so that either synchronous or asynchronous
5422 notification could be requested. (However this is not all
5423 implemented yet). This also meant adding two new typedefs,
5424 KeyEventSeq and KeySet.
5427 Added two new relations, RELATION_TOOLTIP_FOR and
5428 RELATION_LEAFNODE_OF.
5431 Added new state, STATE_HAS_TOOLTIP.
5433 * libspi/text.c, editabletext.c:
5434 Added new assertions to all casts of bonobo-objects from
5435 CORBA servants, to prevent Text API calls on non-text objects.
5436 Changed suspect casts of int-pointer types, so that we
5437 always send a valid CORBA_long pointer to the CORBA APIs that use
5438 in/out long parameters. We then have to copy from the CORBA_long
5439 into the regular long or int for return to the C bindings, or
5440 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5443 * libspi/deviceeventcontroller.c:
5444 Cleaned these sources up.
5446 Changed return type for getCharacterAtOffset to
5447 CORBA_unsigned_long, to allow for 32-bit characters.
5450 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5454 Fixed 'make dist' so that distro compiles...
5455 * libspi/keymasks.h:
5457 * cspi/spi-listener.c:
5458 KeystrokeListenerCB now returns a boolean.
5460 Added KeyEventType struct, and KeyStroke.
5461 Also added createKeystrokeListener(),
5462 KeystrokeListener_addCallback(),
5463 KeystrokeListener_removeCallback(), and added a keymask to
5464 registerKeystrokeListener().
5465 * cspi/spi_accessible.c:
5466 Changed numerous return types for interfaces from
5467 AccessibleComponent to Accessible<InterfaceName>; this was
5468 probably a cut-and-paste error.
5470 Implementations of new KeystrokeListener api (from spi.h,
5473 Changes to key modifier mapping.
5474 Created ControllerEventMask struct.
5475 Made DeviceEventController derive from Bonobo::Unknown.
5477 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5478 * libspi/deviceeventcontroller.c:
5479 Added a number of new internal (private) methods.
5480 * libspi/editabletext.c:
5481 * libspi/editabletext.h:
5482 Fixed a number of bugs related to the fact that
5483 editabletext inherits from text. Fixed the EditableText struct,
5484 the init() call, and use correct casts when calling Text methods
5485 from an EditableText object. Removed (duplicate) atko from the
5486 EditableText structure, we use the one in the parent Text
5487 structure via the casts mentioned above.
5488 * libspi/keystrokelistener.[ch]:
5489 * libspi/registry.c:
5490 Changes in support of keyboard handling (above).
5492 Keyboard handling, though partly functional, is still not
5493 recommended for at-spi client use as there is considerable
5494 work yet to be done.
5497 Changed some places where pointers to various int types
5498 are cast to be pointers to CORBA_long types and vice-versa:
5499 pointer casting is not safe so we pass pointers of the correct
5500 types and then cast the result before putting it into the target
5503 * libspi/text.h: minor typos corrected.
5505 We now speak not only the name of a Text element, but the
5506 first sentence of its content, when it receives focus.
5507 I also changed the text compression to 75% from 50%.
5508 * util/Accessibility_Util.server.in:
5509 Changed the default magnifier type to be a 3x vertical
5510 splitscreen magnifier (was previously a 2x horizontal one).
5512 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5514 * libspi/keystrokelistener.h:
5515 * libspi/keystrokelistener.c:
5516 Initial functional implementations of KeystrokeListener.
5519 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5521 Fixed string handling for NULL strings in libspi.
5522 Added spi_freeString to free strings returned by C bindings.
5524 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5526 * libspi/keystrokelistener.h:
5527 * libspi/keystrokelistener.c:
5528 Began (no-op) implementations of KeystrokeListener
5530 * libspi/deviceeventcontroller.c:
5531 * libspi/deviceeventcontroller.h:
5532 Began creating implementations of DeviceEventController,
5533 to handle keystroke and mouse event listening and
5535 * libspi/accessible.c:
5536 Stubbed-in the implementations for
5537 Accessibility_Accessible_getState and
5538 Accessibility_Accessible_getRelationSet.
5539 * libspi/registry.c:
5540 Improved de-registration process and fixed some bugs,
5541 deregistration now works correctly.
5543 Added initialization of applications list (to NULL).
5545 Reduced speech compression from 0.5 to 0.7, for demo.
5546 Changed call to gdk_window_set_decorations()
5547 to gtk_window_set_decorated().
5548 * at-bridge/bridge.c:
5549 Bridge now deregisters when app exits, via
5550 registration of a cleanup function
5551 with the g_atexit() call.
5552 Required making 'app' static, renamed 'this_app'.
5553 Fixed broken use of bonobo_init, passing argv wrongly.
5555 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5559 Created a new directory for
5560 accessibility-related utilities, primarily for
5561 testing and demo purposes, but with possible
5568 Onscreen magnifier utility that
5569 is implemented as a bonobo service.
5571 * util/mag_client.c:
5572 * util/mag_client.h:
5573 Client-side support (simple C bindings)
5574 for Magnification service
5576 * util/mag_control.c:
5577 Client program example for
5578 Magnification service
5580 * util/Accessibility_Magnifier.server.in:
5581 Bonobo-activation file for the
5582 Magnification service.
5585 * util/idl/Magnifier.idl:
5586 IDL defining the bonobo Magnification
5590 Modifications to use the bonobo-activated magnifier
5591 above, in place of trying to connect to an existing
5592 magnifier that uses socket-listening IPC.
5594 If env variable MAGNIFIER is set, a magnifier service
5595 will be started if one does not exist.
5597 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5599 * at-bridge/bridge.c:
5600 applied patch from Marc to build and run
5601 against new glib and gtk+ (seemed like a change
5602 to bonobo_init signature was made ?)
5604 made festival-server support turned off by default.
5605 Added support for a simple magnifier (off by default)
5606 which will be added to a 'util' directory later.
5607 * at-bridge/Makefile.am:
5608 Changed "application.h" header from a 'source'
5609 to a 'dependency' of libat-bridge.
5611 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5620 Added interface implementation c files to list of
5621 includes so they are included in libcspi.
5624 Changed prototype of AccessibleAction_doAction to return a
5626 Changed prototype of AccessibleTable_getCaption to
5627 return an Accessible.
5628 Changed prototype of AccessibleTable_getSelectedRows
5629 and AccessibleTable_getSelectedColumns to
5630 return a long (returns the number of selected rows
5631 or columns respectively).
5632 Changed name of AccessibleText_refRunAttributes to
5633 AccessibleText_getAttributes.
5634 Changed prototype of AccessibleText_getCharacterExtents to
5635 return a void rather than a boolean.
5636 Added support for a AccessibleCoordType parameter
5637 specifying what type of coordinates are desired.
5638 Added an AccessibleCordType parameter to
5639 AccessibleText_getPointAtOffset.
5641 * cspi/spi_accessible.c:
5642 Added code to return the outstanding interfaces from
5643 Accessible_queryInterface.
5645 * cspi/spi_action.c:
5647 Corrected call to getNActions to call the c binding
5650 * cspi/spi_editabletext.c:
5652 Changed name from setRunAttributes to setAttributes.
5654 * cspi/spi_hyperlink.c:
5656 Changed call to getNAnchors to correctly call the c
5657 binding for an attribute.
5659 * cspi/spi_hypertext.c:
5661 Changed getImageDescription to correctly call the
5662 binding for an attribute.
5664 * cspi/spi_selection.c:
5665 Changed getNSelectedChildren to correctly call the c
5666 binding for the attribute.
5667 Changed refSelectedChild to getSelectedChild.
5671 Changed getCaption to return an Accessible.
5672 Fixed calls which retrieve attributes.
5673 Changed refAt to getAccessibleAt.
5674 Changed getNSelectedRows and getNSelectedColumns to
5678 Changed getCharacterExtents and getPointAtOffset to accept an
5679 AccessibleCoordType.
5681 Changed calls which retrieve attributes.
5682 Changed refRunAttributes to getAttributes.
5687 * idl/Hyperlink.idl:
5688 Changed n_anchors attribute to nAnchors to keep naming
5689 convention consistent.
5692 Made Table inherit from Bonobo::Unknown.
5693 Added nSelectedColumns and nSelectedRows attributes.
5696 Made Value inherit from Bonobo::Unknown.
5698 * libspi/hyperlink.c:
5699 Change for nAnchors attributte name change.
5701 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5709 Added interface implementation c files to list of
5710 includes so they are included in libcspi.
5713 Changed prototype of AccessibleAction_doAction to return a
5715 Changed prototype of AccessibleTable_getCaption to
5716 return an Accessible.
5717 Changed prototype of AccessibleTable_getSelectedRows
5718 and AccessibleTable_getSelectedColumns to
5719 return a long (returns the number of selected rows
5720 or columns respectively).
5721 Changed name of AccessibleText_refRunAttributes to
5722 AccessibleText_getAttributes.
5723 Changed prototype of AccessibleText_getCharacterExtents to
5724 return a void rather than a boolean.
5725 Added support for a AccessibleCoordType parameter
5726 specifying what type of coordinates are desired.
5727 Added an AccessibleCordType parameter to
5728 AccessibleText_getPointAtOffset.
5730 * cspi/spi_accessible.c:
5731 Added code to return the outstanding interfaces from
5732 Accessible_queryInterface.
5734 * cspi/spi_action.c:
5736 Corrected call to getNActions to call the c binding
5739 * cspi/spi_editabletext.c:
5741 Changed name from setRunAttributes to setAttributes.
5743 * cspi/spi_hyperlink.c:
5745 Changed call to getNAnchors to correctly call the c
5746 binding for an attribute.
5748 * cspi/spi_hypertext.c:
5750 Changed getImageDescription to correctly call the
5751 binding for an attribute.
5753 * cspi/spi_selection.c:
5754 Changed getNSelectedChildren to correctly call the c
5755 binding for the attribute.
5756 Changed refSelectedChild to getSelectedChild.
5760 Changed getCaption to return an Accessible.
5761 Fixed calls which retrieve attributes.
5762 Changed refAt to getAccessibleAt.
5763 Changed getNSelectedRows and getNSelectedColumns to
5767 Changed getCharacterExtents and getPointAtOffset to accept an
5768 AccessibleCoordType.
5770 Changed calls which retrieve attributes.
5771 Changed refRunAttributes to getAttributes.
5776 * idl/Hyperlink.idl:
5777 Changed n_anchors attribute to nAnchors to keep naming
5778 convention consistent.
5781 Made Table inherit from Bonobo::Unknown.
5782 Added nSelectedColumns and nSelectedRows attributes.
5785 Made Value inherit from Bonobo::Unknown.
5787 * libspi/hyperlink.c:
5788 Change for nAnchors attributte name change.
5791 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5793 implementations-- made server implementations own AtkObject pointers
5794 rather than their respective AtkInterrface pointers to fix
5795 refcounting. AtkHyperlink is still broken.
5797 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5798 * cspi/spi_accessible.c:
5799 Added method Accessible_Role_getName(),
5800 and requisite string array (role_names).
5801 Added conversion string_from_corba_strin() call
5802 to Accessible_getName and _getDescription.
5803 * libspi/accessible.c:
5804 Added implementation for Accessible_getRole()
5806 Added festival support, used if environment variable
5809 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5811 * at-bridge/bridge.c:
5812 Now allocate Accessibility_Event using
5813 Accessibility_Event__alloc() instead of g_new0().
5814 * libspi/accessibleeventlistener.c:
5815 Initialize AccessibleEventListener->callbacks to NULL.
5816 Fixed accessible__event_listener_init() param, changed to
5817 "AccessibleEventListener *" type.
5818 Changed a bonobo_object_release_unref() call to
5819 Accessibility_Accessible_unref().
5820 * libspi/listener.c:
5821 Changed Bonobo_Unknown_unref to (equivalent)
5822 Accessibility_Accessible_unref.
5823 * libspi/registry.c:
5824 Changed bonobo_object_release_unref to
5825 Accessibility_Accessible_unref.
5827 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5830 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5831 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5832 spi-util.c spi-util.h
5833 Implementations for C bindings to remaining accessibility
5836 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5839 changed return value of Action from void to boolean to
5840 bring in line with ATK.
5843 Changed getText funcions to return "out" start and end offsets.
5844 Changed getAttributes to take and offset and return the start
5845 and end offset of the attribute run.
5846 Changed getOffsetAtPoint and getCharacterExtents to take an
5847 enum describing whether coordinates are window or screen.
5850 libspi/action.c libspi/action.h libspi/editabletext.c
5851 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5852 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5853 libspi/image.h libspi/selection.c libspi/selection.h
5854 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5855 libspi/value.c libspi/value.h
5856 Added server implementations for outstanding ATK interfaces
5857 not yet implemented.
5859 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5862 Added (missing) getName() method.
5863 Made nActions an attribute.
5864 * idl/EditableText.idl:
5865 Changed order of params in setAttributes.
5866 * idl/Hyperlink.idl:
5867 Removed getAnchor, added getURI.
5869 Changed attributes to methods, for efficiency
5870 (so that getting extents can be done in one call)
5871 * idl/Selection.idl:
5872 Changed nSelectedChildren to attribute, and re-indented.
5873 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5875 * idl/Text.idl: reformatted to match our coding style.
5876 (temporarily?) removed getRowColumnAtOffset().
5877 Changed text selection API to support multi-select and
5878 non-contiguous selections, as in ATK.
5879 * idl/Value.idl: changed some methods to attributes.
5881 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5883 * libspi/listener.c(impl_notify_event):
5884 BonoboUnkown_unref the source instead
5885 of bonobo_object_release_unref - the ORB
5886 handles the releasing.
5888 * configure.in: require ORBit-2.3.94 for
5891 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5893 Tagged CVS repository 'EA_1_0'.
5894 * README.EARLY_ACCESS:
5895 Alphabetized acknowledgements list, and
5897 Listed some known dependencies of at-spi.
5899 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5901 * docs/at-spi-docs.sgml:
5902 * docs/at-spi-sections.txt:
5903 * docs/at-spi-overrides.txt: (Added zero-length file)
5904 Documentation improvements - gtk-doc should build
5905 docs for all implemented C bindings now.
5908 * cspi/spi.c: (New file)
5909 * cspi/spi_event.c: (New file)
5910 * cspi/spi_registry.c: (New file)
5911 * cspi/spi_accessible.c: (New file)
5912 * cspi/spi_application.c: (New file)
5913 * cspi/spi_component.c: (New file)
5914 Split spi_main.c into six parts, and included them from
5915 "spi.c". This is a bit of a hack, probably temporary,
5916 but required by gtk-doc, apparently.
5918 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5921 * docs/at-spi-docs.sgml:
5922 * docs/at-spi-sections.txt:
5924 Initial checkins/modifications for gtk-doc generation.
5927 Added (missing) interface query methods to Accessible's C binding.
5929 Added GenericInterface type definition.
5931 Added query for AccessibleComponent interface to focus event handler.
5932 Added printout of bounding box for focussed component.
5933 * libspi/component.c:
5934 Added partial implementation for AccessibleComponent to C binding.
5935 * idl/Application.idl:
5936 * libspi/registry.c:
5937 * libspi/listener.c:
5938 * libspi/application.c:
5939 * libspi/application.h:
5940 Changed "ID" attribute type from string to long.
5942 2001-08-19 Bill Haneman <bill.haneman@sun.com>
5946 Made method naming consistent: methods taking object args
5947 start with uppercase, other methods (except those using
5948 acronyms) start with lowercase. Underscores delimit between
5949 object names and method names:
5950 SPI_init() - uppercase since it starts with an acronym.
5951 getDesktopCount () - lowercase start since no object param0.
5952 Accessible_getName() - uppercase object type name, studlyCaps method
5956 Added gtk-doc documentation for all currently implemented
5957 methods in the C bindings API.
5959 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5961 * Makefile.am : changed build order to build test last.
5964 Changed "createEventListener" to "CreateEventListener".
5965 * libspi/accessibleeventlistener.c :
5966 Bugfix for addition of callbacks.
5967 * test/Makefile.am :
5968 * test/simple-at.c :
5969 Added new test that uses the C bindings API.
5971 * libspi/listener.c :
5972 * libspi/registry.c :
5973 * libspi/accessibleeventlistener.c :
5974 * at-bridge/bridge.c :
5975 Renamed member "target" of Accessibility_Event to "source",
5976 which is more descriptive.
5979 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5983 * cspi/Makefile.am :
5984 Added makefile support for at-spi/cspi directory.
5987 * cspi/spi-listener.h : (NEW FILE)
5988 Added support for/use of spi-listener.h.
5990 C bindings now build successfully, with no warnings.
5991 * libspi/accessibleeventlistener.h : (NEW FILE)
5992 * libspi/accessibleeventlistener.c : (NEW FILE)
5993 * libspi/Makefile.am :
5994 Added new object type "AccessibleEventListener"
5995 which inherits from Listener, and allows attachment
5996 of in-process callbacks (so that a client with a listening
5997 object instance can add functionality to the local
5998 implementation, dynamically).
6000 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6002 * libspi/accessible.c:
6003 Add implementation for get_index_in_parent().
6005 Added #include of "spi-roletypes.h", and
6006 added enumerated type AccessibleCoordType.
6007 Added definition for KeystrokeListener (function type).
6010 * cspi/spi-statetypes.h :
6011 * cspi/spi-roletypes.h :
6013 Added these headers, used by spi.h.
6015 Added code (NOTE: not yet built by make).
6017 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6019 * libspi/Makefile.am: generate imodule
6020 at the same time as other idl compiler
6023 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6024 * libspi/registry.c :
6025 * libspi/application.c :
6026 * idl/Application.idl :
6027 Made registration with toolkit an application method,
6028 which is required since each app has its own toolkit static
6029 environment. Thus the bridge must register for
6030 notification of toolkit events from each application in turn.
6031 Toolkit notifications are now successfully registered for, and
6032 sent to the listening at client.
6034 Changed toolkit event string to use hyphens rather than underscores.
6035 * libspi/listener.c :
6036 listner now gives more info in debug mode - it reports the
6037 name of the event received, as well as the name of the source.
6040 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6042 * libspi/registry.c :
6043 added more implementation for toolkit events.
6044 Fixed bug such that toolkit event registrations
6045 (via atk) use the whole event name string, not
6047 Removed a useless call to an ORBit_ method.
6048 * at-bridge/bridge.c :
6049 Removed unused local sbuf[] variable.
6051 We now register for Gtk:GtkWidget:button_press_event
6052 events as well as "focus:" events.
6054 Add some more API from Registry.idl that was missing,
6055 for keystroke listening, keystroke and mouse event
6056 synthesis, and enumeration of accessible desktops.
6058 2001-08-16 Michael Meeks <michael@ximian.com>
6060 * configure.in: use AM_GLIB_GNU_GETTEXT.
6062 * Makefile.am (SUBDIRS): kill intl.
6064 2001-08-15 Michael Meeks <michael@ximian.com>
6066 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6068 * configure.in: upd.
6070 * configure.in: depend on a recent bonobo-activation that
6071 will find our server files ...
6073 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6075 * libspi/accessible.c : accessible_new() :
6076 Now we add the Component interface via bonobo_object_add_interface,
6077 if the contained AtkObject implements AtkComponent.
6078 * libspi/accessible.h : now include "component.h"
6079 * libspi/component.h :
6080 * libspi/component.c : added files - implementation of
6081 bonobo wrapper object for Accessibility/Component
6082 * libspi/listener.c :
6083 Added test code to check for Accessibility/Component:1.0
6084 interface and report whether it is implemented by the
6086 * libspi/registry.c :
6087 Now we check for not only the hash of the whole event
6088 string before relaying the event, we also check the
6089 "minor" event string (without the detail string).
6090 This allows event listeners to be registered against
6091 all events of a certain major+minor type, or just
6092 against a specific major+minor+detail type.
6093 * libspi/accessible.c :
6094 Added implementations for Accessible:get_parent(),
6095 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6096 * libspi/registry.c :
6097 * libspi/listener.c :
6098 Replaced calls to Accessibility_Accessible_ref() and
6099 Accessibility_Accessible_unref() with
6100 calls to bonobo_object_dup_ref() and
6101 bonobo_object_release_unref(), so that the CORBA object
6102 is dup-ed and released when relayed, as well as the bonobo object.
6104 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6106 * libspi/Makefile.am,
6107 registryd/Makefile.am,
6108 at-bridge/Makefile.am.
6109 test/Makefile.am, configure.in:
6110 reverse previous changes.
6112 * /idl/Image.idl: fix typo.
6114 * test/Makefile.am: put DEBUG_FLAGS
6117 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6119 * test/app.c: use argv[0] instead of
6122 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6124 * libspi/Makefile.am,
6125 registryd/Makefile.am,
6126 at-bridge/Makefile.am.
6127 test/Makefile.am, configure.in:
6128 cleanup, replace individual LIBS/CFLAGS with
6129 AT_COMMON_{LIBS|CFLAGS}.
6133 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6135 * configure.in, libspi/Makefile.am:
6136 Change IDL path checking for bonobo-activation
6139 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6141 * registryd/registry.c : separated event listeners to use
6142 3 separate lists (focus, window, toolkit). Began testing
6143 event names against hashes before relaying events.
6144 * test/at.c : now register for events of type "focus:"
6145 * test/app.c : now generate events of type "focus:"
6146 * at-bridge/bridge.c : register with ATK for focus events,
6147 and we now relay those focus events to any "focus:" listeners.
6148 This now works with the bridge as a GTK_MODULE when running test/at.
6149 * libspi/registry.c :
6150 * libspi/listener.c :
6151 now we ref event sources before propagating, and unref on receipt.
6152 * libspi/registry.c :
6153 some changes to internal structs, to support event typestring hashes.
6154 * text/app.c : changed the way the appname is generated.
6155 * cspi : added directory that will hold the C bindings library for
6156 non-CORBA/bonobo-savvy clients.
6157 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6158 * idl/Component.idl : added in parameter to indicate coord system for
6159 geometry-related calls.
6160 * idl/Hyperlink.idl : added readonly n_links attribute
6161 * idl/Image.idl : changed methods to attributes.
6163 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6165 * at-bridge/Makefile.am: link against
6166 ../libspi/libspi.la instead of -lspi.
6168 * at-spi/test/app.c: include
6169 bonobo-activation.h. Use a default appname
6170 if one is not provided.
6172 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6174 * idl/Registry.idl : temporarily changed register_Application
6175 to oneway, to work around issue with initial registration
6177 * idl/Application.idl : changed attribute "id" from readonly
6178 to read-write, since it needs to be assigned by Registry.
6179 * registryd/registryd.c : added call to set application id
6181 * registryd/registry.c : changed de-registration procedure to
6182 use CORBA_Object_hash() to find matching object ref in application
6183 lists and listener lists.
6184 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6185 began distinguishing between event types (work in progress).
6187 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6190 * libspi/application.c:
6191 Added implementations for get/set id, get_toolkitName,
6193 * registryd/registryd.c :
6197 Converted from use of OAF to bonobo-activation.
6198 * libspi/desktop.h :
6199 * libspi/desktop.c :
6201 Removed references to atksimpleobject, since base atkobject
6202 implementation now provides functionality we need.
6203 * libspi/atksimpleobject.c :
6204 * libspi/atksimpleobject.h :
6209 * at-bridge/Makefile.am
6210 * at-bridge/bridge.c
6213 Added directory "bridge" and contents, and added dependencies
6214 in Makefile.am/configure.in.
6215 Initial checkin of "at-bridge".
6216 This code is a GTK_MODULE which automatically registers
6217 GTK+ apps with the accessibility registry, using an object
6218 reference to the root ATK object.
6220 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6222 * po/Makefile.in.in: Remove. Again. If this
6223 doesn't get autogenerated - you need to update
6226 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6228 * po/Makefile.in.in: Add. Again.
6230 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6232 * libspi/accessible.c : added support for 'description' property.
6233 * libspi/accessible.c
6235 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6236 (since the two are now equivalent in libbonobo)
6244 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6245 Bonobo::Unknown as does Accessibility::Accessible.
6246 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6247 interface with Bonobo::Stream, since it was redundant with it.
6248 (The Stream returned by a StreamableContext object is expected to
6249 implement only a subset of Bonobo::Stream)
6251 2001-07-28 Anders Carlsson <andersca@gnome.org>
6253 * libspi/accessible.c (accessible_object_finalize): Change
6254 g_free to g_object_unref since the AtkObject is a GObject.
6256 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6258 * idl/Accessibility.idl: add new IDL files
6261 * idl/Action.idl: Definitions of actionable UI object
6262 * idl/Component.idl: Definitions of UI component geometry, etc.
6263 * idl/Hyperlink.idl: Defs of hyperlink behavior
6264 * idl/Image.idl: Def of accessible image
6265 * idl/Selection.idl: Definition of UI object with selectable children
6266 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6267 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6268 * idl/Text.idl: Interface defs for UI elements with complex textual content
6269 * idl/Value.idl: Definition of UI element that is a value controller or display
6271 2001-07-27 Michael Meeks <michael@ximian.com>
6273 * po/Makefile.in.in: remove autogenerated file from CVS.
6275 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6278 * idl/Registry.idl: include guard.
6280 * idl/Accessibility.idl: Add, and include all the other IDL
6283 * idl/*.idl: remove mass of pragmas etc.
6285 2001-07-26 Michael Meeks <michael@ximian.com>
6287 * registryd/Makefile.am (registryd_SOURCES): remove
6290 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6292 * libspi/.cvsignore, registryd/.cvsignore,
6293 test/.cvsignore: updated.
6295 * po/Makefile.in.in: gettext update.
6297 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6299 * initial CVS checkin
6301 2001-06-29 Michael Meeks <michael@ximian.com>
6303 * configure.in: add AM_CONFIG_HEADER to gen config.h