1 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
3 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
5 2003-07-28 Changwoo Ryu <cwryu@debian.org>
7 * configure.in: Added "ko" to ALL_LINGUAS.
9 2003-07-28 Ole Laursen <olau@hardworking.dk>
11 * configure.in: Added "da" to the commented out ALL_LINGUAS.
13 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
15 * configure.in: Added "sq" to ALL_LINGUAS.
17 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
19 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
21 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
23 * configure.in: updated ALL_LINGUAS list
25 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
27 * configure.in: Added Belarusian to ALL_LINGUAS.
29 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
31 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
33 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
34 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
36 This fixes bug #116949.
38 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
40 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
41 Correct CSPI to SPI in function documentation.
43 This fixes bug #118054.
45 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
47 * configure.in: Added Russian to ALL_LINGUAS.
49 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
51 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
53 2003-07-14 Danilo Ĺ egan <dsegan@gmx.net>
55 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
57 2003-07-10 Joel Brich <joel.brich@laposte.net>
59 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
61 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
63 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
65 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
67 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
68 resources allocated for AccessibleEvent. See cspi_event().
70 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
71 static variable streams to NULL.
73 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
74 Update so that AcessibleEvent_ref will work.
76 This fixes bug #116624.
78 2003-07-06 Jordi Mallach <jordi@sindominio.net>
80 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
82 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
84 * configure.in: Added "fr" (French) to ALL_LINGUAS.
86 2003-07-02 Christian Neumair <chris@gnome-de.org>
88 * configure.in: Added "de" (German) to ALL_LINGUAS.
90 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
92 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
94 2003-07-01 Miloslav Trmac <mitr@volny.cz>
96 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
98 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
100 * configure.in: Added "pl" to ALL_LINGUAS.
102 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
104 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
106 2003-06-30 Bill Haneman <bill.haneman@sun.com>
109 (get_action_from_servant):
110 Removed assertion that action is implemented on an AtkObject.
112 * libspi/hyperlink.c:
114 Aggregate AccessibleAction interface on the hyperlink object if
115 the object implements AtkAction. (This convention is used in
118 2003-06-30 Bill Haneman <bill.haneman@sun.com>
120 * configure.in: Revved to 1.3.5.
122 * registryd/Accessibility_Registry.server.in.in:
123 Marked up appropriate strings for translation.
125 * atk-bridge/bridge.c: Marked a couple of
126 user-visible warnings for translation. Questionable
127 whether they are really useful, but possibly so.
130 2003-06-28 Christian Rose <menthos@menthos.com>
132 * configure.in: Added "sv" to ALL_LINGUAS.
134 2003-06-26 Bill Haneman <bill.haneman@sun.com>
136 * registryd/registry.c:
137 (spi_registry_object_finalize): Unref the deviceeventcontroller.
138 (registry_defer_on_event): Defer focus: events, this is an
139 improvement to the patch for bug #108664.
141 * TODO: Update with 2.4/"Dev Complete" items.
143 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
145 * atk-bridge/bridge.c:
146 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
147 looks up signals once.
148 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
149 if doing registration.
150 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
151 when doing registration.
153 This fixes bug #115014.
155 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
157 * atk-bridge/bridge.c:
158 (atk_bridge_init): Add signal handler for children-changed:remove on
159 root when in a BonoboComponent.
160 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
161 for first toplevel only other incrememt variable toplevels.
162 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
163 application and remove listeners.
164 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
166 (spi_atk_deregister_event_listeners): New function which removes
168 (reinit_register_vars): New fuction which reinitializes variables.
170 This fixes bug #111578.
172 2003-06-13 Bill Haneman <bill.haneman@sun.com>
174 * configure.in: version 1.3.4.
176 * cspi/spi_accessible.c:
177 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
180 2003-06-13 Michael Meeks <michael@ximian.com>
182 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
184 * cspi/spi_main.c (cspi_peek_ev): impl.
186 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
188 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
190 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
192 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
193 SPI_ROLE_AUTOCOMPLETE
195 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
197 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
198 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
200 2003-06-11 Bill Haneman <bill.haneman@sun.com>
202 * libspi/streamablecontent.h:
203 * libspi/streamablecontent.c:
204 New files, provide implementation/wrappers for
205 Accessibility_StreamableContent.
207 * cspi/spi_streamablecontent.c:
208 Connected the C wrappers to the libspi C bindings.
209 (AccessibleStreamableContent_close): New method.
212 (AccessibleStreamableContent_close): New method, needed
213 since we have an "open, [seek], read, close" model in cspi.
215 2003-06-11 Bill Haneman <bill.haneman@sun.com>
217 Fix for #108664; Padraig's revision of my original patch.
219 * registryd/registry.h:
220 Added event queue list, is_queuing, and exit_notify_timeout
221 to the registry struct.
223 * registryd/registry.c:
224 (registry_init): Initialize new struct from registry.h.
225 (impl_registry_notify_event):
226 Filter events before notifying, in case some need to be
228 (registry_filter_event): New,
229 we defer certain incoming events (for instance
230 window:deactivate) because we may wish to hide
231 or reject them based on pending events. This is
232 mostly a workaround for bug #108664.
233 (registry_queue_event, registry_start_queue): New.
234 (registry_defer_on_event): Test event to see if it
236 (registry_reset_on_event): Returns TRUE if the
237 event should cause a queue reset.
238 (registry_discard_on_event): Returns TRUE if the event
239 should cause the previous queue contents to be discarded.
240 (registry_timeout_flush_queue): Flushes the pending event
241 queue if no reset/discard-triggering events have come in
242 within the timeout period.
243 (registry_emit_event): New.
244 (registry_clone_notify_context): New, used when queueing the
245 event notify contexts.
247 2003-06-10 Bill Haneman <bill.haneman@sun.com>
249 * configure.in: Version revved to 1.3.2, lt 0.9.2
250 Incremented ATK required version to 1.3.4.
252 * cspi/spi_registry.c:
253 (SPI_generateKeyEvent):
254 We now pass the keystring along if it's non-null.
256 * registryd/deviceeventcontroller.c:
257 (keysym_mod_mask): New method, returns modifier mask
258 required to generate a keysym from a given keycode.
259 (dec_synth_keysym): New method.
260 (dec_synth_keystring): New method.
261 (dec_get_modifier_state): New method.
262 (dec_lock_modifiers): New
263 (dec_unlock_modifiers): New.
264 (dec_keysym_for_unichar): New, rather brute-force
265 conversion from UCS-4 to X KeySyms. Only works for
266 Latin at the moment, with partial implementations for
267 Greek, Hebrew, and (incomplete) Katakana.
268 (impl_generate_keyboard_event): Now implement
269 "KEYSTRING" synthesis and implement "KEYSYM"
271 (keycode_from_keysym): Improved, passes a returned
272 modmask value now if the corresponding param is non-NULL.
274 Fixes bugs #92143 and #109776.
277 * test/keysynth-test.c:
278 New test program for key synthesis, to confirm fixes for
282 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
284 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
286 * cspi/spi_accessible.c (cspi_init_relation_type_table):
287 Add line for RELATION_POPUP_FOR
289 * docs/reference/cspi/tmpl/spi_relation.sgml:
290 Add relation SPI_RELATION_POPUP_FOR
292 * docs/reference/cspi/tmpl/spi_stateset.sgml:
293 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
295 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
297 * libspi/relation.c (spi_init_relation_type_table):
298 Add line for RELATION_POPUP_FOR
300 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
302 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
303 there are still windows which have not been deleted and emit
304 window:deactivate, if necessary and window:destroy events.
305 This fixes bug #114370. The change on June 5th was not correct.
307 2003-06-09 Bill Haneman <bill.haneman@sun.com>
309 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
312 (SPI_dupString): Allow dup-ing of a string such that it's safe to
314 New methods for client exception handling and interception.
315 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
316 (SPI_exceptionHandlerPop): You guessed it...
317 (SPI_getSourceType): Return the type of object which offended.
318 (SPI_getExceptionCode): Return an enum code telling, possibly,
319 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
320 (SPIAccessibleException_getSource): get the source object for
321 exceptions that come from Accessibles, if SPIExceptionSourceType is
322 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
323 (SPIException_getDescription): New, returns a string description of
324 the problem. [Not yet a stable ABI, strings are not frozen]
326 * cspi/spi-private.h:
327 Added implementation details of opaque SPIException
331 Implementations of above. Also
332 (_cspi_exception_throw): new private method that
333 dispatches exceptions to handlers, called from cspi-bonobo.c
335 * cspi/bonobo/cspi-bonobo.c:
336 (cspi_check_ev): call _cspi_exception_throw.
337 Don't print a warning message if the exception has been
338 handled by _cspi_exception_throw.
340 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
342 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
343 there are still windows which have not been deleted and emit
344 window:deactivate, if necessary and window:destroy events.
345 This fixes bug #114370.
347 2003-06-03 Bill Haneman <bill.haneman@sun.com>
350 (cspi_accessible_is_a): Make non-fatal
351 if the object reference is dead.
353 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
355 * cspi/spi_main.c: #include <stdio.h>
356 * test/simple-at.c: ditto
357 * test/event-listener-test.c: ditto
358 * test/screen-review-test.c: ditto
360 2003-05-30 Michael Meeks <michael@ximian.com>
362 * test/test-simple.c (main): use CORBA_ORB_perform_work
363 instead of an unnecessary linc_ call.
365 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
367 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
368 Add SPI_STATE_INDETERMINATE.
370 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
373 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
375 * libspi/stateset.c (init_state_type_tables): Add support for
378 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
380 * configure: Update versions of atk and gail required.
381 This fixes bug #113268.
383 2003-05-02 Bill Haneman <bill.haneman@sun.com>
385 * configure.in: Revved micro version to 1.3.1 (because of build fix).
387 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
389 * libspi/Makefile.am:
390 Ensure headers are generated before being used by c sources.
392 2003-05-01 Bill Haneman <bill.haneman@sun.com>
395 Simplified lt versioning rules.
396 Incremented version to 1.3.0, to indicate that we're on the
399 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
401 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
402 Add MKDB_OPTIONS=--outtput-format=xml
404 * docs/reference/cspi/at-spi-cspi-docs.sgml
405 docs/reference/idl/at-spi-idl-docs.sgml:
406 Convert to Docbook XML.
408 This fixes bug #111793.
410 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
412 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
413 AcccessibleKeyEventType, AccessibleKeyMaskType.
415 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
417 * cspi/state-types.h: Add documentation for AccessibleState.
419 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
420 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
421 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
422 AccessibleComponentLayer.
424 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
427 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
429 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
430 Accessible. Add description of AccessibleEvent,
431 AccessibleEventListenerCB.
433 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
436 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
437 documentation. Add description of AccessibleKeystrokeListenerCB,
438 AccessibleKeyEventMask, AccessibleModifierMaskType,
439 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
440 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
442 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
445 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
448 This fixes bug #104730.
450 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
452 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
453 Set is_text field of Accessibility_DeviceEvent data structure.
455 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
456 is-text field of AccessibleDeviceEvent data structure.
458 This addresses part of bug #108666.
460 * registryd/devcieeventcontroller.c: Unset debug option.
462 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
465 (cpi_initial_relation_type_table): New function which initializes
466 mapping between Accessibility_RelationType and AccessibleRelationType.
467 (cspi_relation_type_from_spi_relation_type): New function which
468 translates an Accessibility_RelationType into an AccessibleRelationType.
469 (AccessibleRelation_getRelationType): Use
470 cpi_relation_type_get_spi_relation_type to return correct value.
471 (spi_state_to_corba): Return correct type for default case.
473 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
474 Use Accessibility_EventType instead of Accessibility_KeyEventType.
476 * cspi/cspi-bonobo-listener.c:
477 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
480 * libspi/accessible.c, libspi/action.c, libspi/application.c,
481 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
482 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
483 libspi/image.c, libspi/listener.c, libspi/selection.c,
484 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
485 registryd/desktop.c, registryd/registry.c:
486 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
488 * libspi/eventlistener.c
489 Remove semicolon after BONOBO_TYPE_FUNC.
492 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
493 (spi_init_relation_type_table): Initialize using correct type.
495 * registryd/desktop.c:
496 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
497 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
498 of Accessibility_KeyEventType.
500 * test/key-listener-test.c (report_tab_key_event): Use fprintf
503 * tests/simple-at.c, tests/screen-review-test.c:
504 Add include for <strings.h>.
506 * tests.stress-test.c:
507 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
509 These changes fix compiler warnings when using FORTE compiler on
510 Solaris; fixes bug #107479.
513 2003-04-10 Bill Haneman <bill.haneman@sun.com>
516 * configure.in: revved to 1.1.10
519 (SPI_KEYMASK_NUMLOCK): Added.
521 * registryd/deviceeventcontroller.c:
522 (spi_key_event_matches_listener): AND with a smaller
523 bitmask (as we should).
524 (spi_dec_translate_mask):
525 New method, sets the virtual NumLock modifier bit
526 if numlock is on. Eventually it can handle other virtual
527 modifier bits if needed, or other marshalling from
528 at-spi modifier masks to platform (X) masks.
529 (spi_dec_key_listener_new):
530 Call spi_dec_translate_mask to set up virtual mod bits
531 in the 'mask' field when creating a new listener struct.
532 (spi_dec_emit_modifier_event):
533 Set the virtual (i.e. NumLock) bits before emitting event.
534 (spi_controller_register_with_devices):
535 Query for the NumLock modifier 'physical' bit if Xkb is
536 present, for use in above methods.
540 2003-04-10 Bill Haneman <bill.haneman@sun.com>
542 * registryd/deviceeventcontroller.c:
543 (spi_keystroke_from_x_key_event):
544 Instead of checking to see if the keysym is
545 printable, check the string from XLookupString
546 if available, get the first unicode character from it,
547 and call g_unichar_isprint to determine whether the
548 is_text flag should be TRUE or FALSE.
552 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
554 * atk-bridge/bridge.c: Add support for extended events
555 * cspi/spi_event.c: Add documentation and implementation for
557 * tests/event-listener-test.c: Add tests for extended events.
559 This fixes bugs #100424 and #100426.
561 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
563 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
564 of LT_CURRENT. This fixes bug #89350.
566 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
568 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
569 number of signal parameter values before accessing them. This fixes
572 2003-04-01 Bill Haneman <bill.haneman@sun.com>
574 * configure.in: Fixed duplicate inclusion of -lspi.
575 * branched for gnome-2-2/HEAD.
576 [created tag "gnome-2-2"]
578 2003-03-07 Bill Haneman <bill.haneman@sun.com>
580 * configure.in: 1.1.9 release.
583 2003-03-07 Bill Haneman <bill.haneman@sun.com>
585 [needed by GOK, to fix bugs 107985 and 107988]
586 * registryd/deviceeventcontroller.c:
587 (spi_dec_clear_unlatch_pending):
588 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
589 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
590 (spi_dec_init_mouse_listener):Emit warning if mouse button
592 (spi_device_event_controller_forward_mouse_event):
593 Removed unnecessary parens from a conditional.
594 (global_filter_fn):Added TODO comment.
595 (impl_generate_keyboard_event):
596 Cancel a pending relatch if a 'delatching' key was
599 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
601 * atk-bridge/bridge.c:
602 Change atk_signal_child_changed to atk_signal_children_changed.
603 Reorganize code in spi_atk_bridge_signal_listener().
605 * test/event-listener-test.c:
606 Add children_changed_listener and report_children_changed_event()
607 to test AccessibleChildEvent_getChildAccessible.
609 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
611 * cspi/spi_event.c (cspi_internal_event_get_text): Change
612 g_strdup to CORBA_String_dup (bug #105291)
614 * test/event-listener-test.c (report_text_event): Add call to
617 2003-02-28 Bill Haneman <bill.haneman@sun.com>
619 * registryd/deviceeventcontroller.c:
620 (spi_keystroke_from_x_key_event):
621 Fix string and keysym return codes to match modifier state.
624 2003-02-28 Bill Haneman <bill.haneman@sun.com>
626 * registryd/deviceeventcontroller.c:
627 (spi_keystroke_from_x_key_event):
628 Fix segv due to improper use of isprint(c). [bug #107254]
630 2003-02-24 Bill Haneman <bill.haneman@sun.com>
633 (get_accessible_text_boundary_type):
634 Move default return value to (new) default case in switch.
635 (get_accessible_text_clip_type):
636 Move default return value to (new) default case in switch.
638 * libspi/application.c:
639 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
640 Remove unused methods.
641 (impl_accessibility_application_register_object_event_listener):
642 Remove unused methods.
645 Added #include of <math.h>.
647 * registryd/deviceeventcontroller.c:
648 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
649 we don't currently use this method.
650 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
652 (impl_generate_key_event):
653 Remove unused variables.
654 (impl_generate_mouse_event):
655 Initialize button to zero, just in case we get an invalid
656 input. Added support for mouse buttons 4 and 5.
657 (spi_device_event_controller_new):
658 Removed unused variable declaration for 'private'.
660 Added #include of <gdk/gdk.h>
662 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
664 * configure.in: Update to work when X is not installed in expected
665 location. Fixes bug #105836.
667 * atk-bridge/bridge.c
668 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
670 (spi_atk_register_event_listener): Add signal listener for
672 (spi_atk_bridge_signal_listener): Event event when link-selected
673 signal is emitted. (bug #104622)
675 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
676 on returned string. (bug #105291)
678 * test/event-listener-test.c: Add test for link-selected.
680 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
682 * atk-bridge/Makefile.am: Correct typo in previous commit.
684 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
686 * atk-bridge/Makefile.am: Allow for build directory to be different
687 from source directory
689 * registryd/Makefile.am: Allow for build directory to be different
690 from source directory
694 2003-01-29 Bill Haneman <bill.haneman@sun.com>
697 Fixed dependencies for libcspi so that libspi gets pulled in
698 properly. Fixes 104741.
702 Clean up inline docs a little.
704 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
706 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
707 This is done by implementing AtkComponent for SpiAtkDesktop, which is
708 the AtkObject within an SpiDesktop.
709 This addresses bug #101524.
711 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
712 Remove call to gdk_init().
714 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
715 so that Display is set when SpiDesktop is created.
717 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
719 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
720 This fixes bug #102830.
722 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
724 * test/test-simple.c: Update to take account of fact that GailButton
725 now implements AtkText.
726 (create_text_window): Set name on AtkObject for GtkEntry.
727 (validate_accessible): Check accessible name before calling test_text().
729 * libspi/Makefile.am: Fix problem with building outside of source
730 directory. Bug #98120.
732 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
733 typo in documentation comments. Bug #94275.
735 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
737 * libspi/text.c (impl_getBoundedRanges): Bug fix.
739 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
742 Add includes to avoid compiler warnings on Solaris.
743 (impl_getRangeExtents): Bug fix.
745 2002-12-17 Bill Haneman <bill.haneman@sun.com>
747 Fix for 100944, [API addition approved by Gman and murrayc].
754 * idl/Accessibility_Text.idl:
755 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
756 (Text::getRangeExtents): New method for efficient
757 bounds query of a text range.
758 (Text::getBoundedRanges): New method for efficient
759 clipping of text to bounding boxes.
760 (unImplemented7, unImplemented8):
761 Removed these padding methods to preserve bincompat.
764 (impl_getRangeExtents): implementation of new IDL.
765 (impl_getBoundedRanges): implementation of new IDL.
766 (SpiTextRect): Internal use struct.
767 (_spi_text_rect_union): internal method, calculates union of two
768 SpiTextRect bounding rects.
769 (_spi_text_range_seq_from_gslist): internal method, allows us
770 to build our sequence efficiently as a gslist then convert it
772 (_spi_bounds_contain): internal method, determines whether
773 a text character is "in" or "out" of a clip rect according to
774 values of TEXT_CLIP_TYPE.
775 (spi_text_class_init): Initialize the new methods in the epv.
778 (AccessibleTextClipType): New enum used by screen review api.
779 (AccessibleTextRange): New struct used by screen review api.
780 (AccessibleText_getRangeExtents):
781 cspi binding for Accessibility_Text_getRangeExtents.
782 (AccessibleText_getBoundedRanges):
783 cspi binding for Accessibility_Text_getBoundedRanges.
784 (AccessibleTextRange_freeRanges): convenience method.
787 (AccessibleText_getRangeExtents):
788 cspi binding for Accessibility_Text_getRangeExtents.
789 (AccessibleText_getBoundedRanges):
790 cspi binding for Accessibility_Text_getBoundedRanges.
791 (AccessibleTextRange_freeRanges): convenience method.
792 (get_accessible_text_clip_type): internal conversion method.
793 (get_accessible_text_ranges_from_range_seq): internal conversion method.
795 * registryd/deviceeventcontroller.c:
796 (spi_dec_mouse_check):
797 Improved behavior for mouse:abs events
798 [same granularity as mouse:rel events, and no
799 events when mouse is idle].
801 2002-12-16 Michael Meeks <michael@ximian.com>
803 * cspi/spi_accessible.c (spi_state_to_corba): rename.
805 * libspi/stateset.c (state_spi_to_atk): split out
806 ( fix several remote array bounds nasties )
807 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
808 (impl_remove): make safe from array bounds issues.
809 (spi_atk_state_from_spi_state): impl.
811 * libspi/stateset.h (spi_state_set_cache_is_empty):
812 add a set of wrapper defines to get layering right.
814 * cspi/spi_accessible.c: update state set stuff to
817 2002-12-14 Michael Meeks <michael@ximian.com>
819 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
820 to avoid 2 roundtrips to the registry per key event
821 (spi_atk_bridge_key_listener): upd.
822 (deregister_application): release the dec.
824 * registryd/registry.c (notify_listeners_cb):
825 bin lots of re-enterant complexity - we no longer
826 do a round-trip bonobo ref here, ensure that a single
827 listener's exception failure won't poison all other
829 (impl_registry_notify_event): bin obvious memory leak.
831 2002-12-13 Michael Meeks <michael@ximian.com>
833 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
834 init the ev so the error is meaningful.
835 (spi_atk_bridge_key_listener): ditto.
837 * cspi/spi_main.c (cspi_ev): init the ev so we start
838 with a clean slate, otherwise the first exception
841 * cspi/spi_text.c (get_accessible_text_boundary_type):
842 add a fallthrough for no warnings.
844 * cspi/spi_registry.c: prune unused warnings.
846 * cspi/spi_main.c (cspi_object_take): fix
847 mind-blowing brokenness ( by watching the compile
850 * cspi/spi_accessible.c (Accessible_getStateSet):
851 re-impl. to use an AtkStateSet.
852 (spi_state_type_from_accessible_state),
853 (init_state_table): bin these.
855 * libspi/stateset.c (spi_atk_state_set_from_sequence):
857 (atk_state_set_from_accessibility_state_set): here.
859 * cspi/spi_accessible.c (spi_state_to_atk): impl.
860 (AccessibleStateSet_contains, AccessibleStateSet_ref),
861 (AccessibleStateSet_unref, AccessibleStateSet_contains),
862 (AccessibleStateSet_add, AccessibleStateSet_remove),
863 (AccessibleStateSet_equals, AccessibleStateSet_compare),
864 (AccessibleStateSet_isEmpty): re-write to use a local
867 2002-12-13 Bill Haneman <bill.haneman@sun.com>
869 * configure.in: Revved to 1.1.7 (new keymask vals).
871 2002-12-10 Bill Haneman <bill.haneman@sun.com>
874 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
876 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
879 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
880 to compare two CORBA_TypeCodes.
881 (cspi_internal_event_add): Silence warning from FORTE compiler.
883 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
884 avoid implicit declaration of functions.
886 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
888 * atk-bridge/bridge.c:
889 (spi_atk_bridge_init_event_type_consts): Store signal id for
890 active-descendant-changed signal.
891 (spi_atk_register_event_listeners): Add signal listener for
892 active-descendant-changed signal,
893 (spi_atk_bridge_signal_listener): Move code in function
894 spi_atk-signal_emit_event() into this function.
895 Add support for active-descendant-changed
896 Update support for child-changed signal.
897 (spi_bridge_window_event_listener): Silence warning.
899 * libspi/spi_private.[ch]:
900 (spi_init_any_object): Change second parameter from CORBA_Object to
902 Omit call to CORBA_Object_duplicate().
903 Set CORBA_any's _value to CORBA_Object*.
905 2002-12-06 Bill Haneman <bill.haneman@sun.com>
911 (AccessibleEvent_ref, AccessibleEvent_unref):
912 New methods, for persisting an event outside the emission context.
913 Must be used if the new accessor methods are to be called
914 outside of the event listener's callback.
916 * cspi/bonobo/cspi-bonobo.c:
917 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
918 as second parameter instead of NULL, so we can call
919 cspi_check_ev afterwards.
922 (cspi_object_take): New internal method,
923 converts a CORBA_Object reference to a hard ref on
924 an Accessible if possible, returning NULL if the object
925 reference is invalid or an Accessible * otherwise.
928 (AccessibleEvent_ref):
929 Increment the event's internal private refcount, and
930 add the event's internal struct to an internal cache
931 if it's not already there.
932 (AccessibleEvent_unref):
933 Decrement the event's refcount and remove it from
934 the cspi event cache if refcount==0.
935 (cspi_event_compare): New private method.
936 Compares two event structs via their ids. Used
938 (cspi_internal_event_lookup): New private method.
939 (cspi_internal_event_check): New private method,
940 a 0-order sanity check for events to make sure their
941 private data is intact.
942 (cspi_internal_event_add, cspi_internal_event_remove):
943 New private methods for managiing the event cache.
945 * cspi/bonobo/cspi-bonobo-listener.c:
947 Initialize the new private data elements (id, magic, ref_count).
949 * atk-bridge/bridge.c:
950 (spi_atk_bridge_signal_listener):
951 Fixed bug #100530, passing wrong params to emission func.
953 * registryd/deviceeventcontroller.c:
954 (spi_dec_button_update_and_emit):
955 Fixed type in mask bit operations; fix for #99799.
957 2002-12-02 Bill Haneman <bill.haneman@sun.com>
959 Removed some of the more dangerous workarounds from
960 previous commit; they are only needed by GOK, which
961 in reality should be using another method to accomplish
962 the goals. So on reconsideration some of the workarounds
965 * registryd/deviceeventcontroller.c:
966 (spi_keycodes_contain, spi_dec_init_keycode_list):
967 Removed these methods, used only by a nasty hack to try
968 and detect whether a key synthesis should be allowed
969 to reset the XKB latch state or not. This code was only
970 required to work around an interaction between GOK,
971 button events, and XKB.
972 (impl_generate_key_event):
973 Removed hack at end of key generation that tried to
974 "do the right thing" if XKB latch keys were generated
975 in the midst of button press/release pairs.
978 Added a check for HAVE_XINPUT. Not normally used yet.
980 2002-11-25 Bill Haneman <bill.haneman@sun.com>
982 Workarounds and fixes for mouse event/XKB interaction.
984 * registryd/deviceeventcontroller.c:
985 (spi_keycodes_contain, spi_dec_init_keycode_list):
986 New internal methods.
987 (spi_dec_set_unlatch_pending):
988 Split the method that tells XKB to expect an
989 unlatch (and revert it) out of the rest of the
990 event handling code. This method is called by the
991 two mouse event handlers (the poll and the filter).
992 (spi_dec_update_and_emit, spi_dec_mouse_check):
993 New methods split from spi_dec_poll_mouse_moved.
994 The second one is now called from inside the filterFn
995 when an XKB delatch event is received, to determine
996 whether to revert the delatch or not.
997 (spi_poll_mouse_moved): Refactor; also we can now
998 properly handle the case where multiple button states
999 have changed between polling cycles and we didn't get
1000 notified due to another client's grab.
1002 Synchronize the server while handling an XKB notification.
1003 Ugly, but apparently necessary to avoid nasty races.
1004 Check the mouse state on receipt of an XKB latch change,
1005 to decide whether to revert the latch or not. (Latches are
1006 reverted if there is an immediately preceding mouse button
1007 event that a client has consumed, in which case we don't want
1008 the user to see the side-effect of the event).
1009 (spi_device_event_controller_forward_mouse_event):
1010 Check for modifier events and fire before resetting mouse_mask_state,
1011 prevents losing modifier events.
1013 (impl_generate_keyboard_event):
1014 If we've just generated a keyboard event for a non-shift key,
1015 we don't want to revert the pending XKB latch.
1016 Otherwise, check the modifier state (via a call to
1017 spi_dev_mouse_check) and set the relatch mask to
1018 that state before returning.
1020 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1023 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1026 * atk-bridge/bridge.c:
1027 (spi_atk_register_event_listeners):
1028 Don't re-register for ATK events if the registry has died
1029 and the app needs to re-register; the ATK listeners are in
1030 process and doing so will cause duplicate emission.
1032 * registryd/deviceeventcontroller.c:
1033 (spi_poll_mouse_moved):
1034 Reformat the source, detect and emit multiple button-change
1035 events (i.e. if multiple buttons have changed between poll
1037 Add code to detect mouse-down events even when the pointer
1038 is grabbed; workaround for GOK bug 98420.
1039 (spi_controller_register_with_devices):
1040 Call XTestGrabControl with 'impervious' flag set to True,
1041 allows us to synthesize events and query the pointer even during
1042 an active grab by another client.
1043 (spi_device_event_controller_forward_mouse_event):
1044 Set the mouse_mask_state to the mouse_button_state from
1045 the intercepted event, to synchronize the grab listener with
1048 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1050 * cspi/spi_accessible.c:
1051 (AccessibleRole_getName):
1052 Added necessary strings for making this (deprecated)
1053 method work with the new role types.
1054 (init_role_table, role_table):
1055 Added definition of SPI_ROLE_APPLICATION.
1057 * libspi/spi-roletypes.h:
1058 Added SPI_ROLE_APPLICATION.
1060 * idl/Accessibility_Role.idl:
1061 Added ROLE_APPLICATION.
1063 * docs/reference/cspi/at-spi-cspi-decl.txt:
1064 Added SPI_ROLE_APPLICATION to docs.
1066 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1068 * cspi/spi_accessible.c
1069 (cspi_init_role_table): Do not write beyond end of role_table.
1070 (Accessible_getRole): Use correct type for value returned by
1071 Accessibility_Accessible_getRole().
1073 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1074 beyond end of role_table. (This fixes bug #98269)
1076 * libspi/application.c: Add include file spi-private.h for
1077 definition of spi_init_any_nil.
1079 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1083 * libspi/spi-private.h:
1084 Added DGB() macro, and extern int _dbg declaration.
1086 * registryd/registry.c:
1087 (definitions) storage for _dbg.
1088 (spi_registry_init):
1089 Get environment variable "AT_SPI_DEBUG".
1090 (spi_registry_set_debug):
1091 New method, to initialize _dbg value.
1092 (spi_listener_struct_new, spi_registry_object_finalize):
1093 (notify_listeners_cb):
1094 Changed fprintfs to use DBG and g_warning().
1096 * registryd/deviceeventcontroller.c:
1097 (_deregister_keygrab, spi_controller_register_device_listener):
1098 Changed debug/warning messages to use DBG macro.
1100 * libspi/listener.c:
1101 (impl_notify_event):
1102 Changed warning messages to use DBG macro and g_warning().
1104 * atk-bridge/bridge.c:
1105 (atk_bridge_init, spi_atk_bridge_get_registry):
1106 (spi_atk_bridge_exit_func):
1107 (spi_atk_bridge_property_event_listener):
1108 Changed status, warning, and error messages to use
1109 g_warning, g_message, and DBG macros.
1112 Read the state of the AT_SPI_DEBUG environment variable
1113 and set a local '_dbg' accordingly.
1115 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1117 FIXES for 98836, 98842, other bugs.
1120 Revved to 1.1.4, interface-age=4, binary-age=4.
1122 * registryd/deviceeventcontroller.c:
1124 Fixed crasher bug in last_mouse_pos initialization.
1126 * registryd/registry.c:
1127 (desktop_add_application, desktop_remove_application):
1128 Added (and then commented out) some support for
1129 object context marshalling. [TODO]
1131 * atk-bridge/bridge.c:
1132 (spi_atk_bridge_event_context_create):
1133 Commented out object context creation until it can
1134 be properly tested and debugged.
1136 * registryd/registry.c:
1137 (impl_registry_notify_event):
1138 Fixed crasher bug, we were calling
1139 spi_re_entrant_list_foreach () with an empty list.
1141 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1143 * idl/Accessibility_Action.idl:
1144 * idl/Accessibility_Component.idl:
1145 * idl/Accessibility_Desktop.idl:
1146 * idl/Accessibility_Event.idl:
1147 * idl/Accessibility_Hyperlink.idl:
1148 * idl/Accessibility_Image.idl:
1149 * idl/Accessibility_Relation.idl:
1150 * idl/Accessibility_Selection.idl:
1151 * idl/Accessibility_State.idl:
1152 * idl/Accessibility_Value.idl:
1153 Updated unimplemented slot count to minimum of
1154 four for all interfaces, for ABI freeze.
1156 * idl/Accessibility_EditableText.idl:
1157 * idl/Accessibility_Text.idl:
1158 Updated unimplemented slot count to six
1161 * idl/Accessibility_Registry.idl:
1162 Updated unimplemented slot count to six
1163 (also for DeviceEventController),
1166 * idl/Accessibility_Table.idl:
1167 Updated unimplemented slot count to eight,
1170 * idl/Accessibility_Event.idl:
1171 Added CORBA_any "any_data" member to Event struct.
1173 * idl/Accessibility_Event.idl:
1174 Added CORBA_any "any_data" member to Event struct.
1176 * atk-bridge/bridge.c:
1178 atk_signal_text_changed, atk_signal_child_changed,
1179 signal ids queried from gtype system.
1180 (AtkBridgeEventContextType): New enum.
1181 (AtkBridgeEventContextData): New struct.
1182 (AtkBridgeEventContext): New struct.
1183 (atk_bridge_init_event_type_consts):
1184 New method, initializes type contants for comparison
1185 prior to emit_eventv.
1186 (atk_bridge_event_context_init): New method,
1187 initializes a CORBA_any from an AtkBridgeEventContext.
1188 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1189 initialize the event.any_data struct.
1190 (spi_atk_bridge_event_context_create): New method,
1191 creates an AtkBridgeEventContext from signal/event info.
1192 (spi_atk_bridge_event_context_free): New method.
1193 (spi_atk_emit_eventv): Changed to take an
1194 AtkBridgeEventContext parameter. We now initialize
1195 the event.any_data member prior to notifying the
1196 Registry, via the AtkBridgeEventContext.
1197 (spi_atk_bridge_property_event_listener):
1198 (spi_atk_bridge_state_event_listener):
1199 Match emit_eventv signature.
1200 (spi_atk_bridge_object_event_listener):
1201 Match emit_eventv signature, and create an
1202 event context from the event details.
1203 Free the event context afterwards.
1204 (spi_atk_bridge_window_event_listener):
1205 Create an event context, pass it to the
1209 (AccessibleEvent_getContextString):
1210 (AccessibleEvent_getContextObject):
1211 New methods, allow query of AccessibleEvent objects
1212 for more context details (via the "any_data" member
1213 of the Event struct, above).
1216 Definitions for AccessibleEvent_getContextString
1217 and AccessibleEvent_getContextObject.
1219 * cspi/spi_listener.h:
1220 (InternalEvent): New struct.
1223 (AccessibleEvent_getContextString):
1224 (AccessibleEvent_getContextObject):
1225 Implementations of new methods, for obtaining
1226 additional context information from some event types.
1228 * cspi/spi_registry.c:
1229 (SPI_registerGlobalEventListener):
1230 Added mention of active-descendant-changed event in docs.
1232 * cspi/cspi-bonobo-listener.c:
1234 Marshal the any into the AccessibleEvent via
1237 * libspi/spi-private.h:
1238 #include <orbit/orbit.h>
1240 (spi_init_any_string):
1241 (spi_init_any_object):
1242 New convenience function declarations.
1246 (spi_init_any_string):
1247 (spi_init_any_object):
1248 New convenience function implementations.
1250 * registryd/deviceeventcontroller.c:
1251 (spi_poll_dec_mouse_moved):
1252 (spi_device_event_controller_forward_mous_event):
1253 Initialize any_data member of event.
1254 (spi_deregister_controller_device_listener):
1255 Fix incorrect param pass which was preventing deregistration.
1257 * registryd/registry.c:
1258 (desktop_add_application):
1259 (desktop_remove_application):
1260 Add object data to event's any_data before dispatch.
1262 Fix for error messages from GAIL.
1264 * test/event-listener-test.c:
1265 Test new ContextString and "any_data" API:
1266 (report_text_event): New method query and output context string.
1267 (main): register a new text listener with report_text_event
1270 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1272 Fixes for bugs 98127 and 97914.
1273 * cspi/spi-roletypes.h:
1274 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1276 * cspi/spi-statetypes.h:
1277 Added SPI_STATE_MANAGES_DESCENDANTS
1279 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1280 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1281 * cspi/spi_accessible.c:
1282 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1283 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1284 Accessibility_STATE_MANAGES_DESCENDANTS
1285 * libspi/accessible.c:
1286 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1287 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1288 As requested by Bill, I also cleaned up the alignment.
1289 * libspi/relation.c:
1290 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1291 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1292 * libspi/stateset.c:
1293 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1294 Accessibility_STATE_MANAGES_DESCENDANTS
1295 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1296 Document changes reflecting modifications to roles.
1297 * docs/reference/cspi/tmpl/spi_relation.sgml:
1298 Document changes reflecting modifications to relations.
1299 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1300 Document changes reflecting modifications to states.
1302 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1305 Revved to 1.1.3, interface-age=3, binary-age=3.
1306 Added REBUILD macro.
1309 Removed accessx-gui from the tests, since we have a nice
1310 keyboard accessibility capplet now :-)
1312 * test/keysynth-demo.c:
1313 (increment_scan): removed do-nothing default: case,
1316 * test/visual-bell.c:
1317 (main) : removed do-nothing default: case,
1320 * cspi/spi_action.c:
1321 (AccessibleAction_getKeyBinding_):
1322 Documented keybinding string format.
1326 (AccessibleText_getAttributes):
1327 Documented the text attribute string format.
1328 It's changed to use semicolon delimiters also,
1329 to prevent clashes with CSS attributes, but the old
1330 trick of looking for ", " strings will still work
1331 (as unreliably as ever). Fix for bug related to 97916.
1334 Include <cspi/bonobo/cspi-bonobo-listener.h>
1335 Fixes build warning.
1336 (SPI_freeAccessibleKeySet):
1337 (AccessibleKeystrokeListener_addCallback):
1338 (AccessibleKeystrokeListener_removeCallback):
1339 Modify to use AccessibleDeviceListener API internally,
1340 instead of AccessibleKeystrokeListener.
1342 * idl/Accessibility_Event.idl:
1343 Added two more empty slots to EventListener (for a total of four).
1345 * idl/Accessibility_Accessible.idl:
1346 Added four empty slots to Accessible interface.
1348 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1350 * idl/Accessibility_Registry.idl:
1351 (KeyEventType, EventType):
1352 Marked KeyEventType as deprecated; it duplicates
1353 functionality of EventType, which has been extended to
1354 include Mouse-button events.
1355 (KeyEventTypeSeq): defined in terms of EventType.
1356 (registerDeviceEventListener, deregisterDeviceEventListener):
1357 New methods, for managing listeners to device events,
1358 which potentially may consume them.
1361 Added definition for AccessibleDeviceListener.
1363 * cspi/spi-listener.h:
1364 (enum AccessibleDeviceEventType):
1365 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1366 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1367 for backwards compat.
1368 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1369 and typedef'd AccessibleKeystroke to it for back-compat.
1370 (AccessibleDeviceListenerCB):
1371 New function prototype typedef.
1374 (AccessibleDeviceEventMask): New typedef.
1375 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1376 (AccessibleKeyMaskType):
1377 Set equivalent to AccessibleModifierMaskType for back-compat.
1378 (SPI_createAccessibleKeystrokeListener):
1379 (AccessibleKeystrokeListener_unref):
1380 Deprecated in favor of equivalent (better-named) new API below..
1381 keystroke listeners are like all device listeners.
1382 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1383 New API names for old features :-).
1384 (AccessibleDeviceListener_addCallback):
1385 (AccessibleDeviceListener_removeCallback):
1386 (SPI_registerDeviceEventListener):
1387 (SPI_deregisterDeviceEventListener):
1391 (SPI_createAccessibleKeystrokeListener):
1392 Use new preferred API, cspi_device_listener_new() and
1393 cspi_device_listener_add_cb().
1394 (AccessibleKeystrokeListener_removeCallback):
1395 Use new preferred API, cspi_device_listener_remove_cb().
1396 (AccessibleKeystrokeListener_unref):
1397 Use new preferred API, cspi_device_listener_unref().
1398 (SPI_createAccessibleDeviceListener):
1399 (AccessibleDeviceListener_addCallback):
1400 (AccessibleDeviceListener_removeCallback):
1401 Implementation of new API.
1403 * cspi/spi_registry.c:
1404 (SPI_registerDeviceEventListener):
1405 (SPI_deregisterDeviceEventListener):
1406 Implementation of new API. Fixed memory leak and removed need to
1407 allocate EventTypeSeq (thanks Michael for catching this).
1408 Squashed a wayward CORBA_exception_free that shouldn't get called.
1410 * cspi/bonobo/cspi-bonobo-listener.c:
1412 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1413 (cspi_key_event): renamed to cspi_device_event().
1414 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1415 Extended to handle mouse button events as well as key events.
1416 (CSpiKeystrokeListener):
1417 Class superceded by CSpiDeviceListener.
1418 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1419 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1421 * cspi/bonobo/cspi-bonobo-listener.h:
1422 (CSpiKeystrokeListener):
1423 Class superceded by CSpiDeviceListener.
1424 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1425 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1427 * libspi/Makefile.am:
1428 Replaced keystrokelistener.h and keystrokelistener.c
1429 with devicelistener.h and devicelistener.c; keystrokelisener.h
1430 stub retained for back-compat.
1432 * libspi/keystrokelistener.c:
1436 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1438 * registryd/deviceeventcontroller.c:
1439 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1440 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1441 (DEControllerPrivateData): Added xkb settings data.
1442 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1443 button release events (which can't be captured via XGrabButton).
1444 Don't dispatch via the 'normal' event mechanism if the device event was
1446 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1447 Handle the typeseq data in its new location (see above).
1448 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1449 New methods, for "generic" device listeners.
1450 (spi_controller_register_device_listener):
1451 Now handle mouse event listeners as well as key listeners.
1452 (spi_controller_notify_mouselisteners):
1453 New internal method.
1454 (spi_device_event_controller_forward_mouse_event):
1455 Now we notify mouse device listeners as well as generating the
1456 non-consumable "mouse:" events.
1458 We must check and restore the XKB
1459 modifier map if we consume the event, since the act of triggering
1460 a mouse event will normally reset the XKB latch. This is required for
1462 (spi_controller_register_with_devices):
1463 Load the XKB settings when registering, and register for XKB
1464 state notify events.
1465 (spi_key_eventtype_seq_contains_event):
1466 Renamed spi_eventtype_seq_contains_event, since it's used
1467 internally for all device event types now.
1468 (spi_key_event_matches_listener):
1469 Uses spi_eventtype_seq_contains_event now.
1470 (spi_device_event_controller_object_finalize):
1471 Free the private data and the XkbKeyboard struct.
1472 (impl_register_device_listener, impl_deregister_device_listener):
1473 Implementation of new IDL.
1474 (spi_deregister_controller_device_listener):
1475 New internal method.
1476 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1477 More efficient implementation, we don't have to create a new
1478 XkbControls structure every time we query.
1479 (spi_device_event_controller_class_init):
1480 Initialize the epv entries for the new IDL. Assign the
1481 "spi-dec-private" quark.
1482 (spi_device_event_controller_init):
1483 Initialize the private data.
1484 (spi_device_event_controller_forward_key_event):
1485 Removed a bogus CORBA_exception_free() call.
1487 * registryd/deviceeventcontroller.h:
1488 Replaced inclusion of keystrokelistener.h with
1491 * test/event-listener-test.c:
1492 (report_mouse_event):
1495 Added mouse-event device listener.
1497 * test/test-simple.c:
1498 (create_test_window):
1499 Fixed regression (we were instantiating a GtkRange,
1500 which is now an abstract class). Also fixed to match
1501 existing AtkRole names, this seems to have changed in ATK
1502 awhile ago; too late now I think, and the new
1503 mechanism is at least elegant and consistent with the
1504 glib enum "nick" APIs.
1506 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1508 * idl/Accessibility_Relation.idl:
1509 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1510 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1511 * idl/Accessibility_Role.idl:
1512 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1513 * idl/Accessibility_State.idl:
1514 add STATE_MANAGES_DESCENDANTS
1515 * test/event-listener-test.c:
1516 Added a listener for active-descendant events.
1518 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1520 * atk-bridge/bridge.c
1521 (atk_bridge_init): If application is Bonobo component wait until top
1522 level is added before registering
1523 (spi_atk_bridge_do_registration): New function which contains code,
1524 formerly in atk_bridge_init, to do application registration.
1525 (spi_atk_bridge_toplevel_added): Signal called when top level
1526 added to Bonobo component
1528 This fixes bug #83134.
1530 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1532 * registryd/deviceeventcontroller.c
1533 Fixed compilation error caused by calling gettimeofday()
1536 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1541 Added template for HAVE_XKB.
1544 Changes to check for XKB, and to set the HAVE_XKB #define if it
1547 * libspi/listener.c:
1548 ()impl_notify_event): Make failure to get event source name
1551 * registryd/deviceeventcontroller.c:
1552 (#include): include X11/XKBlib.h.
1553 (DEControllerPrivateData) : New struct.
1554 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1556 (dec_synth_keycode_press) (dec_synth_keycode_release):
1557 New methods; split the key synthesis code into these methods.
1558 They check XKB settings before determining the "time" values to
1559 pass to Xtest; this fixes bug #95828.
1560 (impl_generate_keyboard_event): Changed to use methods above,
1561 instead of callng Xtest directly.
1562 (spi_device_event_controller_init): Initialize new privae struct s
1564 (spi_device_event_controllr_object_finalize):
1565 Free the (new) private data.
1567 * registryd/deviceeventcontroller.h:
1568 Add new gpointer to end of struct data.
1570 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1573 Incremented revision to 1.1.2, SONAME is still '.so', library
1574 extensions are ".so.0.0.2".
1576 * registryd/deviceeventcontroller.c:
1577 FIXES FOR #93592 and #95940.
1578 (statics): renamed mouse_button_state to mouse_mask_state,
1579 added key_modifier_mask.
1580 (spi_dec_poll_mouse_moved):
1581 Added key modifier checks, and emit "keyboard:modifiers"
1582 events when the key modifiers currently in use change.
1583 Also generate "mouse:abs" events periodically, even if the mouse
1584 is stationary (should we?).
1585 Alternatively we could generate "mouse:abs" events for either all
1586 mouse movements, or every 'nth' mouse movement, or at the
1587 beginning and end of every "active" mouse period.
1589 * test/event-listener-test.c:
1590 (main): Added listener for "keyboard:modifiers" events.
1592 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1594 * libspi/keymasks.h:
1595 Added key mask #defines for mouse buttons; e.g.
1596 SPI_KEYMASK_BUTTON1, etc.
1599 Incremented dependency on ATK to version 1.1.0. (This dependency
1600 is probably premature but will soon be real enough).
1602 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1604 * libspi/hyperlink.[ch]
1605 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1606 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1609 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1614 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1616 * registryd/deviceeventcontroller.c
1617 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1618 events to be ignored.
1619 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1620 keyboard_mode so that XAllowEvents() can be called.
1624 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1626 * cspi/spi-accessible.c: Correct names of roles returned by
1627 AccessibleRole_getName(). Fixes bug #95055.
1629 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1631 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1634 * registryd/registry.c
1635 (desktop_remove_application: Write diagnostic message to stderr for
1638 (impl_accessibility_registry_deregister_global_event_listener):
1639 Correct size of lists array. This addresses bug #94555).
1641 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1643 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1646 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1648 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1651 * registryd/registry.c (impl_registry_notify_event): Remove
1652 unnecessary call to parser_event_type().
1654 * docs/reference/cspi/tmpl/spi_component.sgml:
1655 Add reference to SPI_LAYER_WINDOW.
1657 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1659 * registryd/registry.c
1660 (desktop_add_application): Remove leak.
1661 (desktop_remove_application): Remove leak.
1662 (parser_event_type): Remove leak.
1664 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1666 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1667 bogus call to CORBA_string_dup(). Also removed unnecessary
1668 g_string_dup/g_free calls.
1670 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1672 * registryd/deviceeventcontroller.c:
1673 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1675 * test/event-listener-test.c:
1676 main: commented out three redundant listeners, to reduce output
1677 noise. (They still are potentially useful for testing).
1680 2002-09-13 Michael Meeks <michael@ximian.com>
1682 * Update all the copyrights to include Ximian.
1684 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1686 * cspi/spi.h: add SPI_LAYER_WINDOW.
1688 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1689 add Accessibility_LAYER_WINDOW case.
1691 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1693 * libspi/component.c: (impl_accessibility_component_get_layer):
1694 add ATK_LAYER_WINDOW case.
1696 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1698 * configure.in: incremented micro version.
1700 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1702 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1705 Clarified and reworded our commit policy.
1708 Started an API "todo" addition list for 2.2.
1711 (impl_getSelection):
1712 Free char pointer from atk_text_get_selection, which was being leaked.
1714 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1717 Small revision to author acknowledgement.
1719 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1721 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1722 If signal has detail add it to the type of the event.
1725 2002-08-12 Michael Meeks <michael@ximian.com>
1727 * test/test-simple.c (global_listener_cb): bin bogosity.
1728 (test_keylisteners): disable, still doesn't work reliably,
1729 certainly not on my system anyway.
1731 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1732 don't leak a reference on the DEC. This round-trip
1733 fetching of the DEC per keystroke sucks, it should be
1736 * cspi/spi-private.h,
1737 * cspi/cspi-lowlevel.h,
1738 * cspi/bonobo/cspi-bonobo-listener.[ch],
1739 * cspi/bonobo/cspi-bonobo.c: get the copyright
1740 notices better - there is still a large amount of
1741 work in at-spi falsely attributed solely to Sun.
1743 * cspi/spi_main.c (cspi_object_ref): kill bogus
1744 hash lookup, just increment the ref.
1745 (SPI_freeString): make explicit the fact that we
1746 handle NULL strings just fine.
1747 (report_leaked_ref): obey coding standards.
1748 (cspi_object_hash, cspi_object_equal): kill retval.
1749 (cspi_object_release): only release if not on loan.
1750 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1751 (cspi_object_borrow, cspi_object_return): impl.
1753 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1754 use cspi_object_borrow / return.
1756 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1758 * cspi/bonobo/cspi-bonobo-listener.c:
1760 Don't call cspi_oject_new() because this is creating a new Accessible
1761 every single time that an event is fired. This causes ATs like at-poke
1762 to nolonger recognise the source of the event and thus ignore it.
1763 Re-use the object from the cache, ref it and then unref it after the
1764 listeners have been called.
1766 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1768 * test/event-listener-test.c:
1769 Added command-line options to disable mouse events (m) and
1772 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1774 * configure.in: Update required versions of ATK, GTK+ and GAIL
1776 * cspi-1.0.pc.in: Add dependency for X include files
1779 * cspi/bonobo/Makefile.am:
1780 Add $(X_CFLAGS) so that X include files
1781 are picked up even if not in standard place (bug #71686)
1783 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1785 * registryd/deviceeventcontroller.c: fix for 84261
1786 (spi_dec_mouse_moved):
1787 Added test of mouse button mask, so that we can detect mouse
1788 button release. Unfortunately we can't otherwise detect mouse
1789 button release events without consuming the mouse press event,
1790 because of the way XGrabButton works. This means that our mouse
1791 release events have a latency dependent on the polling period
1792 while the mouse button is down. At least in this case we only
1793 have to poll while the button is down, and not at other times.
1794 If the button masks don't match with what the last press event
1795 reported, we report the appropriate button release event.
1796 (spi_dec_ungrab_mouse):
1797 New method (not yet called).
1798 (spi_device_event_controller_forward_mouse_event):
1799 New method, sends mouse press event from GdkFilter.
1800 (spi_dec_init_mouse_listener):
1801 Added code to call XGrabButton, redirecting mouse button events to
1802 the root window and our Gdk event loop.
1804 Added code to filter mouse button events, and reordered.
1806 * test/event-listener-test.c:
1808 Added registration for mouse events of type "mouse:button".
1810 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1812 * registryd/deviceeventcontroller.c: partial fix for 84261
1813 (spi_dec_poll_mouse_idle):
1814 New method, a timeout which checks to see if the mouse
1816 (spi_dec_poll_mouse_moving):
1817 A timeout to be called when mouse motion is underway.
1818 (spi_dec_poll_mouse_moved):
1819 A method which fires an event if the mouse has moved, and reports
1820 whether or not it did so.
1821 (spi_dec_init_mouse_listener):
1822 A method which sets up the timeouts above.
1823 (spi_device_event_controller_new):
1824 Now calls spi_dec_init_mouse_listener.
1826 * registryd/registry.c:
1827 (spi_registry_init):
1828 Now we initialize the device event controller when the registry is
1829 initialized, instead of waiting until a client has requested a key
1830 event notification; this is because we need the event controller
1831 for mouse events, but the mouse event registration API is a
1832 "registry" call and doesn't explicitly call the
1833 deviceeventcontroller.
1834 We now report mouse motion events with a 100 ms idle latency and
1835 a 20 ms granularity when motion is in progress.
1837 * test/event-listener-test.c:
1839 We now register the "detail listener" for events of type
1840 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1841 delivered only for the first mouse event received, and thereafter
1842 "mouse:abs" events are delivered.)
1844 * cspi/spi_registry.c:
1845 DOCS: Documented the above mouse event typestrings.
1847 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1849 Happy Summer Solstice...
1851 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1852 (spi_controller_notify_keylisteners):
1853 Changes to remove a listener from the listener list, freeing its
1854 open keygrabs, if a notification to that listener fails. This
1855 means that although a dead listener can continue to hold a passive
1856 keygrab, a maximum of one dispatch to such a listener can fail
1857 before the listener is removed from the list, thus the keygrab
1858 will be released on the next occurrence.
1859 As part of this fix:
1860 (spi_notify_keylisteners):
1861 Renamed to spi_controller_notify_keylisteners, as the controller
1862 instance must now be passed as an argument.
1863 The copied 'notify' GList is now a list of DEControllerKeyListener
1864 objects, since we need more than just the CORBA reference if a
1865 notify fails and we need to deregister the listener.
1866 (impl_notify_listeners_sync):
1867 (impl_notify_listeners_async):
1868 (spi_device_event_controller_forward_key_event):
1869 Modify use of notify_keylisteners in accordance with above
1871 (spi_deregister_controller_key_listener):
1872 New method introduced by refactoring, from
1873 impl_deregister_keystroke_listener.
1874 (impl_deregister_keystroke_listener):
1875 Call spi_deregister_controller_key_listener.
1876 (spi_key_listener_clone):
1877 New method to copy a key listner without doing a 'ref' on the
1878 remote object instance; used to create a notifier list.
1879 (spi_key_listener_data_free):
1880 New method, frees data without unreffing the source.
1882 (spi_key_listener_clone_free): new method.
1883 (spi_key_listener_free):
1884 refactored to call spi_key_listener_data_free.
1886 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1888 * registryd/registry.c: [fix for bug 86048]
1889 (notify_listeners_cb):
1890 Clear CORBA system exceptions which occur when notifying
1891 listeners, before returning to the source of the original event,
1892 since the event source doesn't care if the relayed notify failed.
1893 In other words, don't complain to the atk-bridge if the registry
1894 could not notify all its listeners, that's no fault of the
1895 application and thus should not appear to be an error from the
1896 application's perspective.
1898 * cspi/spi_main.c: [fix for bug 85980]
1900 Replaced use of bonobo_object_dup_ref with call to the wrapper
1901 method, csou_dup_ref (); this silences a compiler warning and
1902 provided more portability.
1904 Ping the registry before return, and restart if necessary.
1906 * cspi/bonobo/cspi-bonobo.c:
1908 New internal method.
1910 Fixed this method to return an object reference, as it should have
1913 * cspi/cspi-lowlevel.h:
1914 Added internal definition for cspi_ping() and fixed
1915 return type of cspi_dup_ref().
1918 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1920 * atk-bridge/bridge.c: [fix for bug 85305]
1921 (spi_atk_bridge_register_application):
1922 New method where the initial application registry calls have been
1923 moved; it allows an application to re-register in response to
1924 certain error conditions (such as a registry restart, see below).
1926 Moved some initialization code to the method
1927 spi_atk_bridge_get_registry, below.
1928 (spi_atk_bridge_get_registry):
1929 New, private accessor function for the Accessibility_Registry
1930 instance. If the registry has not been started before, or has
1931 died (as detected by failure of a CORBA exception), it is
1932 restarted before return, and spi_atk_bridge_register_application
1933 is called again to register with the new bridge instance.
1934 (spi_atk_emit_eventv):
1935 Set registry_died on error; use spi_atk_bridge_get_registry () to
1936 access the registry.
1938 * registryd/registry.c:
1939 (impl_accessibility_registry_register_global_event_listener):
1940 Set listener's event_type_quark to etype.minor instead of
1941 etype.major (fix for bug 84856).
1943 * test/event-listener-test.c:
1944 (report_detail_event):
1945 Change the output string so that user/tester can tell that the
1946 'detail listener' was called instead of the 'generic listener'.
1948 2002-06-18 Bill Haneman <bill.haneman@sun.com>
1950 Fixes for bugs 84900, 84908, 84897, 84898.
1955 Revved version to 1.1.0
1956 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
1957 version is going to HEAD which will be used for gnome-2-0-1 and later.)
1959 * idl/Accessibility_Registry.idl:
1960 (EventListener::notifyEvent):
1961 Removed 'oneway' directive after extensive consulation with
1962 ORBit2 team and others. This means also that unref() of the event
1963 source can and should be done synchronously after emission, rather
1964 than remotely in the client, after servicing the notify call on
1967 NOTE: This change speeds up listener performance considerably, but
1968 introduces new latency on the application side. We may want to
1969 add an event queue to the atk-bridge.
1971 * atk-bridge/bridge.c:
1972 (spi_atk_bridge_focus_tracker):
1973 Do a local unref() on the event source after emission.
1975 * registryd/registry.c:
1976 (desktop_remove_application):
1977 Do an unref() on the event source after emission.
1978 (desktop_add_application):
1979 Do an unref() on the event source after emission.
1980 (notify_listeners_cb):
1981 When relaying an event, don't automatically add the event source
1982 to the local object cache, just CORBA_dup it instead. Likewise,
1983 if this method reenters, release the ref rather than calling
1985 (impl_registry_notify_event):
1986 No longer call remote unref() on the event source after dispatch.
1988 * libspi/eventlistener.c:
1989 (impl_accessible_event_notify_event):
1990 Removed remote unref ()
1992 * cspi/bonobo/cspi-bonobo-listener.c:
1994 We now call cspi_object_new() instead of cspi_object_add() on
1995 receipt of an event; thus we only have an implicit object ref
1996 while the cspi_event method is being executed. If we need to keep
1997 a reference to the object, the listener must call ref() on the
1998 object. Thus also we don't need to call cspi_object_unref() after
1999 invoking the listener callbacks in this method.
2003 New internal API for creating a new cspi object, without adding it
2004 to the object cache.
2006 Now uses cspi_object_new() to create the cspi object instance.
2008 Now checks to see if the object is in the internal object cache,
2009 and adds it if necessary before incrementing its refcount (note
2010 that new objects are added with a refcount of 1).
2011 (report_leaked_ref):
2012 New method which gives some information on leaked object instances
2013 if leak detection is turned on.
2015 * test/event-listener-test.c:
2016 (timing_test_event):
2017 New method, used for testing event delivery timing for special
2018 events of type "object:test". It reports elapsed time and
2019 events/sec every 500 events.
2021 Added a new listener, 'test listener', to check timing of event
2022 receipt as noted above.
2024 Added some timing output here also, reports elapsed time every 100
2027 * test/stress-test.c:
2028 Emit events of type "object:test", for use with "event-listener-test".
2030 * test/test-simple.c:
2031 (global_listener_cb):
2032 Call Accessible_ref() on the event source before calling
2033 validate_accessible, since the validation process does pointer
2034 comparisons on the event source, meaning that the event source
2035 needs to be added to the local object cache first. Any use of
2036 such pointer comparisons between Accessible objects requires that
2037 the caller hold an explicit reference to those objects.
2038 We also must therefore call Accessible_unref() when leaving this method.
2040 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2042 * registryd/deviceeventcontroller.c:
2043 (spi_controller_update_key_grabs):
2044 Fix for #84735, subsequent keygrab listeners not informed of
2045 registration failure.
2048 (spi_base_construct):
2049 Add an assertion on construct, to make sure the GObject passed in
2050 is really a GObject.
2052 Explicitly initialize object->gobj pointer to NULL;
2054 * cspi/bonobo/cspi-bonobo-listener.c:
2055 (cspi_object_add_ref):
2056 New method, can specify whether to dup-ref a bonobo object passed
2057 in if it's newly added to the object cache.
2059 Now calls cspi_object_add_ref with second param of "FALSE". This
2060 prevents us from doing a pointless dup-ref followed by
2061 release-unref for all those cases where the object is already in
2062 our object cache (fix for #85205).
2064 * atk-bridge/bridge.c:
2065 (spi_atk_bridge_idle_init):
2066 Removed this method, we don't need to initialize in an idle
2069 Changed to call spi_atk_register_event_listeners directly, not via an
2070 idle handler. (fix for #81139)
2071 (gnome_accessibility_module_shutdown):
2072 Removed conditional around deregistration of listeners, since we
2073 don't use the idle handler and thus have always registered when
2075 (spi_init_keystroke_from_atk_key_event):
2076 Changed references to Accessibility_KEY_PRESSED to
2077 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2079 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2081 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2086 * test/stress-test.c:
2089 (may have been an incomplete commit yesterday?)
2091 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2094 Added target for new stress-test.
2096 * test/stress-test.c:
2097 New test, sends 1000 focus notifies in quick succession.
2099 * test/key-listener-test.c:
2100 Now we report whether a keylistener registration
2101 request succeeded or failed.
2103 * test/event-listener-test.c:
2104 Uncommented some listeners which are now implemented.
2107 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2109 * registryd/deviceeventcontroller.c:
2110 (spi_controller_update_key_grabs):
2111 Fix for #82509, lack of failure notification when
2112 ALL_WINDOWS keygrabs fail due to XGrabKey
2113 failure: we synchronize the server when
2114 registering a passive grab, to make sure we get the
2115 error message before the call returns.
2117 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2119 * test/test-simple.c:
2121 Removed #ifdef KEY_IMPL_WORKS guards.
2122 (test_keylisteners):
2123 Removed #ifdef KEY_IMPL_WORKS guards.
2124 Fixed bug which was causing a hang waiting for a
2125 "press" event (which was already overwritten by a "release"
2126 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2128 Added code to set globals 'key_press_received' and
2129 'key_release_received'.
2132 Added section "1.1 API Proposed Additions" which
2133 lists API additions desired for at-spi-1.1 (only one so far).
2134 Updated TODO list a little.
2136 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2138 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2141 * configure.in: Revved to 1.0.0.
2143 * idl/Accessibility_Registry.idl:
2144 (registerKeystrokeListener):
2145 Added boolean return value.
2147 * registryd/registry.c:
2148 (notify_listeners_cb): Minor fix to debug output.
2150 * registryd/Accessibility_Registry.server.in.in:
2151 Revved version number in OAFIID to 1.0.
2153 * registryd/registryd.c:
2155 Use new OAFIID version.
2157 * cspi/bonobo/cspi-bonobo.c:
2159 Use new OAFIID version.
2165 * atk-bridge/bridge.c:
2167 Use new OAFIID version.
2169 * registryd/deviceeventcontroller.c:
2170 (impl_register_keystroke_listener):
2171 Added CORBA_boolean return value.
2172 (spi_controller_register_device_listener):
2173 Added gboolean return value.
2174 (spi_controller_register_global_keygrabs):
2175 Added gboolean return value.
2176 (spi_key_set_contains_key):
2177 Added implementation for many more control keys,
2178 for instance F1-F12, arrow keys, End, Home, Page_Up,
2180 [TODO: some still not implemented].
2182 * text/screen-review-test.c:
2183 (text_chunk_pad_string):
2184 New function: it provides mapping between coordinate
2185 positions of text chunks and character positions in the
2186 screen-review-line output string.
2187 (text_chunk_to_string):
2188 New function, calls text_chunk_pad_string with various
2189 pad/delimiter characters. Pushbuttons are delimited with
2190 square brackets, Frames with vertical 'pipe' lines, and
2191 other text with double quotes.
2192 (text_chunk_list_to_string):
2193 Calls new function text_chunk_to_string.
2194 (toplevel_composite):
2195 New function to composite layers CANVAS through
2196 POPUP in each toplevel (other layers are composited
2197 across toplevels, i.e. BACKGROUND and OVERLAY).
2198 (review_buffer_composite):
2199 Revise to use new methods.
2205 2002-05-31 Laszlo Peter <laca@sun.com>
2207 * configure.in: add the Xtst libdir to the runpath on Solaris,
2208 since it's not in the default library search path.
2210 2002-05-29 jacob berkman <jacob@ximian.com>
2212 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2214 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2216 * test/screen-review-test.c:
2217 (text_chunk_pad_string):
2218 Added method, which pads the string according to the
2219 text bounds of the chunk. It also takes a 3-character
2220 string as a param which indicates the characters to be
2221 used for start, padding, and end delimitation of the chunk.
2222 (text_chunk_to_string):
2223 Changed to use text_chunk_pad_string.
2225 * configure.in: Fixed bug in AC_OUTPUT that was
2226 causing path substitution in Accessibility_Registry.server
2229 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2231 * text/screen-review-test.c:
2232 (guess_string_clip):
2233 New method which attempts a best-guess at clipping
2234 text from components (like Java labels) which don't
2235 actually implement AccessibleText. This inaccurate
2236 clip is based on the assumption that the label is
2237 justified left-and-right, and monospaced.
2238 (text_chunk_get_clipped_string):
2239 We now call guess_string_clip() for text-containing
2240 components that don't implement AccessibleText.
2242 * test/screen-review-test.c:
2243 (review_buffer_get_text_chunk):
2244 We now pull "name" from labels if they do not implement
2245 AccessibleText (i.e. for Java labels).
2246 (get_screen_review_line_at):
2247 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2250 Replaceded AC_OUTPUT target
2251 registryd/Accessibility_Registry.server with
2252 registryd/Accessibility_Registry.server.in.
2254 * registryd/Accessibility_Registry.server.in:
2255 Removed (this is now a Makefile target).
2257 * registryd/Accessibility_Registry.server.in.in:
2258 Added (source for target above). We now use $(libexecdir) as
2259 prefix for the executable at-spi-registryd.
2261 * registry/Makefile.am:
2262 Now install at-spi-registryd into $(libexecdir), and build .server
2263 file with path (see above).
2265 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2267 * test/screen-review-test.c:
2268 (text_chunk_get_clipped_string):
2269 We now check to see if words fall within clip bounds
2270 before resorting to character-by-character clip bounds testing.
2272 * TODO: Added a section for "2.2 Proposed API Additions".
2274 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2276 * test/screen-review-test.c:
2278 Added a screen review benchmarking and test program to test
2281 * cspi/spi_accessible.c:
2283 Made some of the debug strings passed to cspi_check_ev a
2284 little more specific.
2286 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2288 * test/screen-review-test.c: Fix crashes in debug statements
2290 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2292 * test/screen-review-test.c: Added this file.
2294 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2296 * atk-bridge/bridge.c: changed "object:state-change" to
2297 "object:state-changed" to match docs.
2299 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2301 * atk-bridge/bridge.c: Hooked up state-change event details.
2303 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2305 * registryd/registry.c:
2306 Fixed quarking bug in event string parsing; now events with
2307 detail parameters get matched correctly to listeners.
2310 * util/idl/Magnifier.idl: remove.
2312 * util/*.[ch]: Remove.
2313 Magnification utilities and IDL are now in module gnome-mag.
2315 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2317 * registryd/deviceeventcontroller.c:
2318 Fixed bug in grab key conversion which was causing keycode grabs
2319 to be converted to AnyKey grabs.
2322 updated NEWS file to reflect recent spin-off of gnome-mag.
2324 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2326 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2327 busted AccessibleStateSet_compare. Removed redundant casts.
2329 * cspi/spi-action.c: Removed redundant casts.
2331 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2333 * cspi/spi_component.c: Fixed typos and casting error.
2335 * cspi/spi_editabletext.c: Removed redundant casts.
2337 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2339 * cspi/spi_hypertext.c: Eliminated redundant casts.
2341 * cspi/spi_image.c: Eliminated redundant casts.
2343 * cspi/spi_registry.c: Eliminated redundant casts.
2344 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2345 * cspi/spi_selection.c: Removed redundant casts.
2346 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2347 handling. Screen geometry and text offsets were being returned as 0
2348 on error which is technically valid-- changed these to return -1.
2349 Added marshaller for text boundary types to fix bug with boundary
2350 types being passed incorrectly to atk.
2352 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2355 * cspi/spi_registry.c:
2356 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2357 which was uncovered by the recent key changes.
2359 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2361 * test/event-listener-test.c:
2363 Added new test, "event-listener-test";
2364 this code does two things; it benchmarks traversal time
2365 for the accessible hierarchy for the first running accessible
2366 app, and it connects listeners for all supported event types.
2367 It is thus useful as an example event listener and for
2368 diagnostics/debugging of event generation.
2370 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2373 Removed unnecessary dependency on libutil.
2376 Revved micro version: 0.13.1
2378 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2381 Removed util/Makefile from targets.
2384 Removed util subdir from SUBDIRS (temporarily,
2385 pending removal of magnifier-only code
2389 #ifdef-ed out magnifier dependencies, since
2390 magnifier IDL, headers, and binary now live in
2391 module gnome-mag and we don't want at-spi to depend
2392 on gnome-mag. A magnifier demo which can run alongside
2393 simple-at is forthcoming in the gnome-mag module.
2395 NOTE: Split magnifier binary, IDL, and magnification
2396 activation code from at-spi into module gnome-mag.
2398 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2400 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2401 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2403 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2406 Revved to version 0.13.0
2408 * idl/Accessibility_Registry.idl:
2409 Changed definition of KeySet from sequence of longs to sequence of
2410 KeyDefinitions, and added KeyDefinition struct.
2411 Required for fix to bug 80616.
2413 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2414 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2415 to use new definition (see above).
2417 * registryd/deviceeventcontroller.c: handle_keygrab(),
2418 spi_keyset_contains_key():
2419 Changed to make use of new struct; this allows matching based on
2420 string key-name, for instance "Tab". This also allows matching of
2421 composed characters, non-alphanumeric characters in a way that
2422 doesn't involve dependencies on X keysym codes directly, etc.
2424 * test/key-listener-test.c:
2425 Added test for Alt-Tab key using "string" specification of keyset,
2426 and modified one of the tests to use a keycode-based keyset.
2427 Thus this test both tests and demonstrates the creation and use of
2428 keysets of three forms: specified via keycode array,
2429 keysym array, and string array. (The string case only contains a
2430 single string, i.e. a string array of length 1).
2433 Turned on PRINT_TREE option by default. Also fixed a
2434 string-freeing bug in the PRINT_TREE code.
2435 Added a listener to window:minimize events.
2437 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2439 * atk-bridge/bridge.c:
2440 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2441 for window:activate and window:deactiveate
2442 (atk_bridge_property_event_listener atk_bridge_signal_listener
2443 atk_bridge_window_event_listener) Tidy debug code
2445 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2447 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2448 Fixed handling for NULL return value from ATK.
2450 * libspi/action.c libspi/component.c libspi/editabletext.
2451 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2452 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2453 Removed redundant casts.
2455 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2456 Fixed off by one bug.
2458 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2459 function not present in idl)
2461 2002-05-02 jacob berkman <jacob@ximian.com>
2463 * atk-bridge/Makefile.am: make atk-bridge a real module
2465 2002-04-26 Radek Doulik <rodo@ximian.com>
2467 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2468 atk_state_types table
2470 2002-04-22 jacob berkman <jacob@ximian.com>
2473 * libspi/Makefile.am: add deps on the built files to help
2474 automake, and don't version the ORBit typelib
2476 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2478 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2479 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2480 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2481 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2482 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2483 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2484 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2485 libspi/accessible.h libspi/accessible.h libspi/base.h
2486 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2487 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2488 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2489 libspi/spi-private.h libspi/statetset.h libspi/table.h
2490 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2491 util/mag_client.h util/mag_control.c util/mag_image.c
2492 util/mag_image.h util/magnifier.c util/magnifier.h:
2493 Add missing file headers; standardize existing ones
2495 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2497 * atk-bridge/bridge.c: Added window event support.
2499 2002-04-18 Michael Meeks <michael@ximian.com>
2501 * libspi/relation.c (impl_getNTargets): impl.
2502 (impl_getTarget): impl.
2504 * libspi/Makefile.am: fix stateset install.
2506 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2509 Started putting useful info in this file.
2511 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2513 * atk-bridge/bridge.c:
2514 Propagate state-changed notifications to ATs
2516 * cspi/spi_registry.c: update docs to reflect actual behavior of
2517 state-change events.
2519 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2522 Incremented version to 0.12.1
2524 * util/mag_client.h:
2525 Add missing declaration for magnifier_exit,
2526 used by mag_control.c - Forte compiler didn't like
2527 the implicit redeclaration of the function :-(
2530 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2533 Revved version to 0.12 due to API change (see below).
2535 * cspi/spi-roletypes.h:
2536 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2537 definition from the inline docs, and added docs
2538 for SPI_ROLE_LAST_DEFINED.
2541 * cspi/spi_streamablecontent.c:
2542 Added missing seek_type parameter to
2543 (so far unused) method,
2544 AccessibleStreamableContent_seek().
2545 [ RT approval JodyG. ]
2548 Fixed docs for SPI_createAccessibleKeystrokeListener.
2550 * cspi/spi_registry.c:
2551 Fixed docs for SPI_KEYSET_ALL_KEYS.
2553 * docs/reference/cspi/at-spi-cspi-sections.txt:
2554 Added a number of missing APIs to SECTIONS.
2556 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2558 * registryd/Makefile.am:
2560 * cspi/bonobo/Makefile.am:
2561 Add $(X_LIBS) to makefiles.
2563 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2566 Revved version to 0.11.
2568 * libspi/component.c:
2569 Added implementation for grabFocus.
2571 * idl/Accessibility_Component.idl
2572 (Accessibility_Component_grabFocus):
2573 Made this method return boolean to indicate success or failure, to
2574 be consistent with cspi and the corresponding ATK method.
2576 * idl/Accessibility_Selection.idl
2577 (Accessibility_Selection_selectAll) :
2578 Made these methods return boolean to indicate success or
2579 failure, to be consistent with cspi and the corresponding ATK methods.
2581 * idl/Accessibility_EditableText.idl
2582 (Accessibility_EditableText_setTextContents,
2583 Accessibility_EditableText_insertText,
2584 Accessibility_EditableText_cutText,
2585 Accessibility_EditableText_deleteText,
2586 Accessibility_EditableText_pasteText):
2587 Made these methods return boolean to indicate
2590 * cspi/spi_editabletext.c:
2591 Made these methods return booleans.
2593 * libspi/selection.c:
2594 * libspi/component.c:
2595 * libspi/editabletext.c:
2596 Connected the boolean returns from ATK
2597 to the server-side code referenced above.
2599 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2601 * idl/Accessibility_Table.idl: Added missing methods,
2602 Accessibility_Table_addRowSelection,
2603 Accessibility_Table_addColumnSelection,
2604 Accessibility_Table_removeRowSelection,
2605 Accessibility_Table_removeColumnSelection.
2608 Added C wrappers for above IDL:
2609 AccessibleTable_addRowSelection,
2610 AccessibleTable_addColumnSelection,
2611 AccessibleTable_removeRowSelection,
2612 AccessibleTable_removeColumnSelection.
2615 Added server-side implementation code for IDL above, connecting
2616 to pre-existing ATK api.
2618 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2620 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2622 * libspi/accessible.c: Added implementation fo
2623 Accessibility_Accessible_get_state.
2625 * libspi/libspi.h: Added stateset.h to the list of includes.
2627 * libspi/stateset.c: Fixed broken implementation.
2629 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2632 Added implementation code for Accessibility_Magnifier_exit ().
2634 * util/mag_control.c:
2635 Added test code for above method; you can
2636 now kill an existing magnifier via
2637 ./mag_control q, from the util directory.
2639 * test/key-listener-test.c:
2641 Added a new test, for our key listener API.
2643 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2645 * test/app.c, test/keysynth-demo.c:
2647 Replace use of snprintf with g_snprintf.
2648 (fix for bugzilla 78249)
2650 2002-03-27 Michael Meeks <michael@ximian.com>
2654 * util/Makefile.am (INCLUDES): fix.
2655 (DONT_DIST_SOURCE): don't distribute the
2658 * libspi/Makefile.am (dist-hook): ditto.
2660 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2662 * libspi/hypertext.c:
2663 Fix warnings when yelp is used with atk-bridge
2665 2002-03-21 Michael Meeks <michael@ximian.com>
2667 * libspi/application.c (spi_application_new):
2668 use spi_accessible_construct so we use the AtkObject
2671 2002-03-19 Michael Meeks <michael@ximian.com>
2673 * registryd/registry.c (desktop_remove_application),
2674 (desktop_add_application): clean coding style.
2676 * registryd/desktop.c (spi_desktop_remove_application),
2677 (spi_desktop_add_application): kill re-enterency hazards.
2678 (spi_desktop_dispose): remove bogus redundant cast
2679 obscuring bug; fix bug too.
2680 (spi_desktop_init): make the desktop object immortal.
2682 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2685 Added a #define-guarded tree-traversal step
2686 when enumerating the apps (diagnostic tool).
2688 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2690 * idl/Accessibility_Role.idl:
2691 Added ROLE_DRAWING_AREA which seemed to be missing from the
2694 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2696 * cspi/spi-roletypes.h cspi/spi_accessible.c
2697 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2700 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2701 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2702 AT when applications are added and removed from the desktop. This
2703 reverts the previous broken implementation using the backing
2704 AtkObject for the SpiDesktop.
2706 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2708 * registryd/desktop.c: emit the "children-changed::add" and
2709 "children-changed::remove" signals on the backing ATK object for
2710 the desktop so AT can tell when applications are started and shut
2713 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2715 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2717 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2719 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2721 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2723 * cspi/state-types.h: synched with IDL and ATK
2725 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2727 * libspi/accessible.c
2728 (impl_accessibility_accessible_get_child_at_index):
2729 Change return value for g_return_if_fail ()
2730 to CORBA_OBJECT_NIL instead of "0" (!)
2732 * registryd/Makefile.am:
2733 * registryd/Accessibility_Register.server.in:
2734 Changed name of executable, "registryd",
2735 to something more informative:
2738 2002-03-13 Michael Meeks <michael@ximian.com>
2740 * atk-bridge/bridge.c (atk_bridge_init): don't register
2741 if we're in a bonobo-component, rather than a bonobo app.
2743 2002-03-13 Michael Meeks <michael@ximian.com>
2745 * atk-bridge/bridge.c (gtk_module_init): split
2746 out body to (atk_bridge_init): here, since otherwise
2747 we get symbol conflicts and oddness when invoked
2748 from (gnome_accessibility_module_init): here (upd.)
2750 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2753 New file. Explicitly allow "build sheriff" putbacks provided
2754 they are tested on Solaris.
2756 * docs/reference/cspi/Makefile.am:
2757 Added '-' to the "cp" command for index.sgml.
2758 ("patch by thomasvs, soon coming to a GUADEC near you")
2761 Incremented version number (0.9.0) for new release.
2762 Changed macro that checks for popt, to better detect
2763 obsolete versions of popt.
2766 Added X_LIBS to AC_SUBST, for applications
2767 that call Xlib API directly.
2770 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2773 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2776 Fix regression caused by hard-coding major
2777 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2780 * test/test-simple.c (test_editable_text),
2781 (test_test): revert previous change (error was
2782 a regression in gail which is now fixed).
2784 2002-03-04 Michael Meeks <michael@ximian.com>
2786 * test/test-simple.c (test_editable_text),
2787 (test_text): pass G_MAXINT instead of '-1' for
2788 whole string - is this a good thing !?
2790 * cspi/spi_accessible.c
2791 (Accessible_getRelationSet): fix crasher bug
2792 overwriting the end of the array.
2794 * test/test-simple.c (validate_accessible): free,
2795 not g_free returned relation set.
2797 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2799 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2800 implemented stateset support
2802 * idl/Accessibility_State.idl: Made necessary changes to
2803 the IDL to support state sets.
2805 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2807 * registryd/deviceeventcontroller.c:
2808 Added implementation for generateMouseEvent.
2810 * cspi/spi_registry.c:
2811 Connected new implementation for generateMouseEvent
2814 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2817 Incremented revision (but no change in public API
2818 outside of 'utils', which are not installed public yet.)
2820 * libspi/component.c:
2821 Changed to use atk_component API for layers and
2822 mdi_zorder, instead of deprecated atk_object API.
2824 Magnification Utility Enhancements:
2827 Added implementation of createZoomRegion, clearAllZoomRegions,
2828 resizeZoomRegion. Added new commandline argument
2829 "--no-initial-region". Note that clearAllZoomRegions doesn't
2830 unmap the old '0' region as it should (yet), and the other
2831 methods only work when creating/resizing a single region,
2832 which is "region 0".
2833 (Code for multiple region support will be added later.)
2836 Now we raise the magnifier window each time it's refreshed;
2837 this will help keep it on top.
2839 * util/mag_client.h:
2840 Added simple wrappers for above, used by mag_control.
2841 For general use, it's recommended to use the bonobo magnifier
2842 control API directly instead of using these wrappers.
2845 Moved ZoomRegionData from magnifier.c to this file.
2847 * util/mag_control.c:
2848 Added some code to exercise new IDL implementations.
2850 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2852 * libspi/text.c: Provide implementation for getAttributes.
2854 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2857 Incremented revision.
2859 * test/test-simple.c:
2860 Replaced use of deprecated g_main_iteration with
2861 g_main_context_iteration.
2863 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2866 Incremented revision for desktop alpha 2.
2868 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2870 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2873 * test/simple-at.c: include netinet/in.h.
2875 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2877 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2878 use NULL, not CORBA_OBJECT_NIL.
2880 * libspi/accessible.c:
2881 (impl_accessibility_accessible_get_relation_set):
2882 allocate the sequence correctly.
2884 * libspi/remoteobject.h: kill spi_remote_object_new.
2886 * test/test-simple.c: (validate_accessible): add code
2887 to test relation sets, now all we need is to figure
2888 out how to excercise this code path :/
2890 2002-01-18 Michael Meeks <michael@ximian.com>
2892 * test/test-simple.c
2893 (key_listener_cb): consume the key.
2894 (test_keylisteners): update.
2895 (main): wait for any pending unrefs on events.
2897 * registryd/deviceeventcontroller.c
2898 (spi_controller_update_key_grabs): only re-issue the
2899 grab on a key release.
2900 (spi_device_event_controller_forward_key_event):
2901 refresh the keygrabs before we notify the listeners,
2902 to reduce the X ungrab / re-grab race.
2903 (spi_controller_register_with_devices): remove
2904 XSelectInput - we do that with the gdk_window_ call.
2905 (_spi_controller_device_error_handler): return a value.
2906 s/GDK_DISPLAY/spi_get_display/
2908 2002-01-17 Michael Meeks <michael@ximian.com>
2910 * registryd/deviceeventcontroller.c
2911 (_deregister_keygrab): don't blow out the later
2914 * test/test-simple.c (test_keylisteners): do a
2915 more intelligent validation.
2917 2002-01-14 Michael Meeks <michael@ximian.com>
2919 * atk-bridge/bridge.c
2920 (gnome_accessibility_module_init),
2921 (gnome_accessibility_module_shutdown): impl.
2922 (gtk_module_init): protect vs. double inits.
2923 (add_signal_listener): impl.
2924 (spi_atk_bridge_state_event_listener): kill
2925 (deregister_application): split out of
2926 (spi_atk_bridge_exit_func): here.
2928 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2931 Added caret tracking when using magnifier, and
2932 now use text bounds for focus tracking of text elements, rather than
2933 the component bounds - this is helpful for short text fields in long
2934 table cells, at high magnification.
2936 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2938 * registryd/deviceeventcontroller.c:
2939 Regression fix for keylistener de-registration; global keygrabs
2940 were not being released when deregisterKeystrokeListener was
2941 called in cspi, since
2942 Accessibility_DeviceEventController_deregisterKeystrokeListener
2943 was called with a zero-length keyset. That is because the cspi
2944 method, SPI_deregisterKeystrokeListener, does not take a keyset
2945 parameter but instead should remove all the key grabs held be a
2947 The code in impl_deregister_keystroke_listener was changed to copy
2948 the keylist from the listener instance previously registered with
2949 the DeviceEventController before releasing the grabs.
2951 * registryd/registry.c:
2952 * registryd/deviceeventcontroller.c:
2953 * libspi/spi-private.h:
2955 Changed spelling of "re-enterant" to "re-entrant" globally.
2957 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2959 * test/test-simple.c:
2960 Changed key listeners test - the test was slightly mis-using the
2961 (admittedly poorly documented) SPI_generateKeyboardEvent API.
2962 It now uses '=' as the key event listened to and generated,
2963 relying on a keysym match rather than assuming that keycode 33
2964 is always equal to keysym '!'.
2966 2002-01-15 Bill Haneman <bill.haneman@sun.com>
2969 Changed simple-at to use a specific keyset, rather than
2970 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
2971 manager, desktop, etc.
2973 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2975 * registryd/deviceeventcontroller.c:
2976 Replaced standard X error handler with a special handler that
2977 is non-fatal for failed keygrabs. This works around
2978 problems with keygrab clashes sometimes observed on
2980 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
2981 mouse handling code as yet).
2983 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2986 Incremented revision for desktop alpha release.
2989 Fixed a couple of the more glaring errors (still not
2992 2002-01-11 Michael Meeks <michael@ximian.com>
2994 * registryd/deviceeventcontroller.c
2995 (spi_device_event_controller_forward_key_event): kill
2996 XUngrabKey / XKeyGrab race.
2997 (spi_controller_grab_keyboard): rename to
2998 (spi_controller_update_key_grabs): this, and deal
2999 with incremental adding / removing grabs more
3001 (_register_keygrab): ensure we're not pending a remove.
3002 (spi_grab_mask_free): impl.
3003 (spi_controller_register_global_keygrabs): split out
3005 (handle_keygrab): impl.
3006 (_deregister_keygrab): impl.
3007 (spi_controller_deregister_global_keygrabs): impl.
3008 (spi_controller_update_key_grabs): re-issue the grab if
3009 we just recieved a notification.
3011 * test/test-simple.c (key_listener_cb): remove debug.
3013 * registryd/deviceeventcontroller.c
3014 (spi_controller_register_device_listener): after
3015 registering a global keygrab, actualy register it !
3016 don't wait for a timeout; doh !
3018 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3019 to make it more readable / manipulable.
3020 s/grabmask/grab_mask/ s/refcount/ref_count/
3021 s/keyval/key_val/ s/modmask/mod_mask
3023 2002-01-08 Michael Meeks <michael@ximian.com>
3025 * registryd/deviceeventcontroller.c
3026 (spi_controller_register_with_devices): use gdk calls to
3028 (global_filter_fn): implement the filter.
3029 (spi_device_event_controller_check_key_event): rename to
3030 (spi_device_event_controller_forward_key_event): this & upd.
3031 (spi_get_display): replace with GDK_DISPLAY.
3033 * registryd/deviceeventcontroller.c
3034 (spi_controller_deregister_device_listener): unroll into
3035 (impl_deregister_keystroke_listener): here to simplify.
3036 (spi_controller_register_global_keygrabs): split cut and
3037 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3038 (spi_controller_deregister_device_listener): remove.
3039 (impl_register_mouse_listener): remove, no mouse listener
3040 support in at-spi-1.0
3042 * registryd/registry.c
3043 (_device_event_controller_hook): kill.
3044 (spi_registry_init): upd.
3046 * registryd/deviceeventcontroller.c
3047 (spi_device_event_controller_class_init): upd.
3048 (spi_check_key_event): merge into.
3049 (spi_device_event_controller_check_key_event):
3050 here and kill strange static ev init, don't leak
3051 the x_event - nor dynamicaly allocate it.
3053 * registryd/registry-main.c (main): re-direct
3054 timeout to remove strange vtable mess.
3056 * registryd/deviceeventcontroller.c
3057 (remove_listener_cb): impl.
3058 (spi_controller_deregister_device_listener):
3059 fix re-enterancy hazard.
3061 2002-01-07 Michael Meeks <michael@ximian.com>
3063 * registryd/deviceeventcontroller.c
3064 (spi_device_event_controller_new): upd.
3065 (impl_notify_listeners_sync): upd. debug.
3066 (spi_notify_keylisteners): fix re-enterancy hazards,
3067 prettify, remove O(n*n) iteration.
3068 (spi_controller_grab_keyboard): fix iteration.
3069 (spi_check_key_event): re-format to suit coding style.
3070 Clean all the warnings - we're warning free.
3072 * registryd/deviceeventcontroller.h:
3073 * registryd/registry.h: make mutualy referential with
3074 typesafe forward references instead of (!) void pointer
3077 2002-01-11 Michael Meeks <michael@ximian.com>
3079 * cspi/spi_accessible.c (role_names): add a role name
3080 to sync this array with the enum; and make the regression
3083 2002-01-10 Michael Meeks <michael@ximian.com>
3085 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3086 allow expansion of enumeration & kill warning.
3088 * test/test-simple.c (key_listener_cb): impl.
3089 (test_keylisteners): impl.
3091 * cspi/spi-listener.h: make listener signatures const
3092 on the provided (const) events.
3094 * test/keysynth-demo.c: upd. to const events.
3096 * test/simple-at.c: ditto.
3098 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3101 Rev the version to 0.5 (the previous tarball was named 0.4,
3102 even though the micro number was 3), so we need to rev upwards
3103 again for beta2/"desktop-alpha"
3106 Checked in a demo script, which requires editing before use!
3107 Proceed with caution.
3110 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3112 * cspi/spi_accessible.c:
3113 Add a couple of missing enum initializations, and fix some enum
3116 * cspi/spi_registry.c:
3117 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3119 * docs/reference/cspi/at-spi-cspi-sections.txt:
3120 Remove/fix a couple of broken document references.
3123 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3124 as Alt-Control to listen for commands, since on some systems
3125 Control-Alt may already be grabbed.
3127 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3130 Update version number to 0.4 for Beta2.
3132 * libspi/accessible.c, libspi/accessible.h:
3133 Expose spi_accessible_construct, to enable libgail-gnome
3134 construction from spi_accessible subtype.
3136 * utils/magnifier.c:
3137 Workaround for bug in some non-gnome-compliant window managers
3138 which made magnifier resize improperly.
3140 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3142 * libspi/accessible.c: (spi_accessible_new) :
3143 Move the test for SPI_IS_REMOTE_OBJECT to
3144 spi_accessible_new_return, fixing a bug and compile time warning.
3146 2002-01-08 Michael Meeks <michael@ximian.com>
3148 * registryd/registry.c (parse_event_type): remove strndup.
3150 * libspi/Makefile.am (libspi_la_SOURCES): remove
3151 sources already included in the headers section.
3153 * libspi/util.c: add.
3155 * libspi/spi-private.h: add.
3157 * registryd/registry.c: update to moved list iterators.
3159 2002-01-05 Michael Meeks <michael@ximian.com>
3161 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3163 * test/test-simple.c (main): ditto.
3165 2002-01-04 Michael Meeks <michael@ximian.com>
3167 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3168 redundant construct.
3170 * registryd/registry.c
3171 (get_listener_list): impl.
3172 (impl_accessibility_registry_register_global_event_listener):
3173 re-impl. to simplify using ~, remove dodgy const cast off.
3174 (parse_event_type): constify.
3175 (impl_accessibility_registry_deregister_global_event_listener_all):
3176 re-write, more efficiency and simplicity, kill re-enterancy
3178 (compare_listener_corbaref, compare_corba_objects),
3179 (compare_listener_quarks): define out.
3180 (impl_accessibility_registry_deregister_global_event_listener):
3181 re-write for effiency, and nail re-enterancy hazard.
3182 (impl_accessibility_registry_get_desktop_list): impl.
3183 (re_enterant_list_delete_link): impl.
3184 (re_enterant_list_foreach): impl.
3185 (remove_listener_cb): impl.
3186 (_registry_notify_listeners): kill.
3187 (notify_listeners_cb): impl.
3189 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3190 (SPI_getDesktopList): impl.
3192 * test/test-simple.c (test_desktop): test the methods.
3194 2002-01-03 Michael Meeks <michael@ximian.com>
3196 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3197 keystrings since we free them
3198 (SPI_freeAccessibleKeySet): in here.
3200 * libspi/accessible.c (spi_accessible_new): kill warning,
3201 wonder what is going on with the constructor here.
3203 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3205 * libspi/accessible.c (spi_accessible_new ()) :
3206 Added check to see if AtkObject is an SpiRemoteObject before
3207 creating an SpiAccessible.
3209 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3211 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3212 Enable keygrabs using the Control modifier, now that they are
3213 working properly (they were previously disabled).
3216 Change the command keygrab for this demo to "Control+Alt", so as
3217 to conflict with fewer other key commands on the system; this
3218 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3220 Removed a pointlessly-chatty keylistener for unshifted keys
3221 (shifted keys are still reported).
3223 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3225 * libspi/remoteobject.h:
3226 * libspi/remoteobject.c:
3227 Added definitions for special AtkObject subtype, required for
3228 support of remote components (specifically, used by BonoboControl
3229 accessibility implementation).
3231 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3233 * cspi/spi.h: synched relation types with ATK
3235 * cspi/spi_accessible.c: Added implementations of
3236 AcccessibleRelation_* methods
3238 * idl/Accessibility_Relation.idl: added getRelationTypeName
3239 method. Synched known relation types with ATK. Allowed for
3240 relation type extension with the RELATION_EXTENDED type.
3242 * libspi/relation.c: Provided implementations for
3243 AccessibleRelation methods.
3245 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3247 API tweaks for today's API 'freeze'.
3250 Added placeholder functions to allow future compatible expansion
3251 of the IDL interfaces.
3253 * idl/Accessibility_Registry.idl:
3254 Changed generateKeyEvent to generateKeyboardEvent. Changed
3255 signature of this method to accept an optional keystring in
3256 parameter (for complex text input synthesis) and changed use of
3257 simple 'boolean' parameter in registerKeystrokeListener to a
3258 struct, EventListenerMode.
3260 * cspi/spi_accessible.c:
3262 * cspi/spi_streamablecontent.c:
3263 Added references to AccessibleStreamableContent interface, and
3264 definition and implementation of AccessibleStreamableContent
3267 * cspi/spi_registry.c:
3269 Changed generateKeyEvent API to generateKeyboardEvent,
3270 taking a new (optional) keystring parameter to support complex
3275 Renamed directory (to better reflect its actual purpose, bridging
3276 from at-spi to ATK). The .so module is also now named
3279 * idl/Accessibility_Hypertext.idl:
3280 * libspi/accessible.c:
3281 * libspi/hypertext.h:
3282 * libspi/hypertext.c:
3283 Changed Accessibility_Hypertext to *not* derive from
3286 * cspi/spi_registry.c:
3287 Added list of legal event type names for 'window' events, which
3288 completes the registry event API.
3290 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3292 * at-bridge/bridge.c: Added registration for separate
3293 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3294 signals. If either of the first two parameters to the generic
3295 bridge signal handler are ints, they are passed on as event
3296 details. This allows an AT to determine what text was inserted.
3298 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3300 * registryd/deviceeventcontroller.c:
3301 Fixed regressions in generateKeyEvent caused by the removal of
3302 gdk_init from registryd; we now use pure X calls to connect to the
3303 display, which makes sense because deviceeventcontroller already
3304 uses a fair bit of X API (should eventually be migrated to a
3305 'portability layer').
3307 * registryd/desktop.c:
3308 Fixed minor regression in spi_desktop_init, changed the way the
3309 desktop name is being set to work with new spi_base API
3310 (gobject-based, rather than AtkObject-based).
3312 * registryd/Makefile.am:
3313 Minor revision of makefile to use XTST_LIBS variable rather than
3314 hard-wiring the Xtst LD_ADD element.
3316 * test/keysynth-demo.c:
3317 Tweaked an output message; added initialization of the
3318 'keystrings' member of the "switch listener" key_set.
3320 * libspi/relation.c:
3321 Squashed compile-time warning.
3323 * libspi/accessible.c:
3324 Cosmetic and formatting fixes, renamed a static method.
3326 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3328 * libspi/accessible.c
3330 * libspi/application.c
3333 * libspi/component.c
3334 * libspi/editabletext.c
3335 * libspi/hyperlink.c
3336 * libspi/hypertext.c
3338 * libspi/selection.c
3342 * registryd/desktop.c:
3343 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3345 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3347 * idl/Accessibility_Registry.idl:
3348 Added boolean member 'is_text' to DeviceEvent. This is for the
3349 use of key events, and helps prevent ambiguity between composed
3350 key strings and keysym names, since both may potentially be
3351 returned in the 'event_string' member.
3353 * at-bridge/bridge.c:
3354 * registryd/deviceeventcontroller.c:
3355 Use the 'is_text' member when notifying device event listeners.
3356 Knon issue: composed characters are not dealt with correctly by
3357 the global key listener implementation yet.
3359 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3361 * at-bridge/bridge.c:
3362 Namespaced local static methods to spi_atk_bridge_* where
3363 previously named bridge_*, and spi_* elsewhere.
3365 * at-bridge/bridge.c:
3366 * cspi/bonobo/cspi-bonobo-listener.c:
3367 Added demarshalling/conversion for string member of
3368 Accessibility_DeviceEvent to AccessibleKeystroke.
3370 * registryd/deviceeventcontroller.c:
3371 Added code to fill the Accessibility_DeviceEvent key string value
3372 member for global key events (i.e. from XGrabKey), to match
3373 behavior of Accessibility_DeviceEvent from the toolkit key events
3374 from the bridge. Fixed timestamp in global key event notifications.
3377 Added printout of key event's string value to
3378 report_ordinary_key_event, for demo/debugging purposes.
3380 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3382 * idl/Accessibility_Registry.idl:
3383 Removed Accessibility_KeyStroke structure in favor of generic
3384 Accessibility_DeviceEvent structure.
3385 Changed Accessibility_ControllerEventMask from a struct to an
3388 * at-bridge/bridge.c:
3389 Changed APIs to use DeviceEvent structure as above, and removed
3390 bogus casting between these event structures.
3392 * cspi/spi-listener.h:
3393 Added keystring member of AccessibleKeystroke structure, to enable
3394 matching on event "names" rather than only hardware codes and
3398 Added keystrings member of AccessibleKeySet struct, to allow
3399 matching on event names (as above).
3400 Added declarations for SPI_createAccessibleKeySet and
3401 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3402 event modmasks directly as unsigned ints rather than structs with
3403 refcounts, in the DeviceEventController methods.
3405 * cspi/spi_registry.c:
3406 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3408 * cspi/spi-roletypes.h:
3409 Added documentation of newly added SPI Roles.
3411 * cspi/bonobo/cspi-bonobo-listener.c:
3412 Changes in support of API changes above.
3414 * libspi/accessible.c:
3415 Converted APIs to use DeviceEvent structure (see IDL changes
3418 * registryd/deviceeventcontroller.c:
3419 Added DEControllerGrabMask structure to track keygrabs not only by
3420 modmask but by keyset as well; this allows us to do "global"
3421 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3422 grabbing on AnyKey and then filtering after-the-fact.
3423 Bugfixes for event filtration mean that we don't get false matches
3424 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3426 * registryd/deviceeventcontroller.c:
3427 Namespaced a number of static methods to use spi_ prefix. Major
3428 revision to internals of global (i.e. X) key grabs.
3430 * registryd/deviceeventcontroller.h:
3431 Removed keymask_list and added keygrabs_list to
3432 SpiDeviceEventController struct.
3435 Added use of SPI_createAccessibleKeySet API when creating a
3436 listener for only one key. Attach a listener to "shift spacebar
3437 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3438 X key event names to SPI key event names, so that listeners are
3439 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3441 * test/keysynth-demo.c:
3442 Changed (incorrect) use of X key event names (KeyPressed,
3443 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3446 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3448 * libspi/accessible.c:
3449 Convert all AtkRole enumerations to Accessibility_Role enums when
3450 getting a role from an AtkObject.
3452 * cspi/spi_accessible.c:
3453 Complete the conversion of Accessibility_Role enums at runtime to
3454 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3455 role enums correctly match those given in spi-roletypes.h.
3456 Re-synchronize the local names list for AccessibleRole_getName ().
3457 AccessibleRole_getName is now deprecated, since it duplicates the
3458 more reliable Accessible_getRoleName.
3459 Added some role types from Accessibility_Role.idl.
3461 * idl/Accessibility_Role.idl:
3462 Added some role types used by AtkRole.
3464 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3467 * cspi/spi_registry.c:
3469 * cspi/cspi-bonobo-listener.c:
3470 Namespaced all methods that did not begin with an "SPI_" or
3471 "Accessible" prefix to "SPI_".
3474 Homogenized internal function namespace to "cspi_" for statics.
3477 Patched tests to use the new CSPI API.
3479 * docs/reference/cspi/at-spi-cspi-sections.txt:
3480 Updated docs to reflect namespace changes, and added a number of
3481 methods to the documentation.
3483 * registryd/registry.c:
3484 Changed use of strings and string hashes in listener event
3485 matching and parse_event_string to use GQuark, which is guaranteed
3488 * registryd/registry.h:
3489 Squashed annoying warning.
3491 * idl/Accessibility_Role.idl:
3492 Extended range of available Accessibility_Role values.
3494 * cspi/spi_accessible.c:
3495 Re-ordered role names.
3497 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3499 * idl/Accessibility_Value.idl:
3500 Revert use of union back to CORBA_double, since the double type is
3501 more efficient and can contain the other types without loss of
3504 * idl/Accessibility_Accessible.idl:
3505 Added method Accessibility:Accessible:getRoleName, to complement
3506 Accessibility:Accessible:getRole.
3508 * cspi/spi_accessible.c:
3510 Added C binding for above, Accessible_getRoleName (), and changed
3511 signature of Accessible_getRole () to return an AccessibleRole.
3513 * cspi/spi-roletypes.h:
3514 Changed AccessibleRole_getName to return a char * instead of a
3515 const char *. This method is now at least temporarily deprecated
3516 in favor of asking Accessibles for their RoleNames directly.
3519 Revert to match Accessibility_Value.idl;
3523 Change signature of AccessibleValue methods to use double rather
3527 * cspi/spi_accessible.c:
3528 Changed Accessible_getRole to return an AccessibleRole enum rather
3529 than a UTF-8 string. The UTF-8 string can still be obtained via
3530 AccessibleRole_getName ().
3532 * test/test-simple.c:
3533 Add test_action. Small fixup to match API change to Accessible_getRole.
3536 Bugfix for get_action_from_servant ().
3538 2001-12-11 Michael Meeks <michael@ximian.com>
3540 * libspi/libspi.h: remove registry.h and
3541 desktop.h, deviceeventcontroller.h
3543 * libspi/Makefile.am: remove registry.[ch],
3544 desktop.[ch], deviceeventcontroller.[ch]
3546 * registryd/Makefile.am: add registry.[ch],
3547 desktop.[ch], rename registryd.c to registry-main.c.
3548 add deviceeventcontroller.[ch]
3550 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3553 Replace setenv() call with putenv ().
3555 * libspi/component.c:
3556 Bugfix in AccessibleComponent_getExtents (),
3559 2001-12-11 Michael Meeks <michael@ximian.com>
3561 * libspi/image.c (impl_getImageExtents): impl.
3562 (spi_image_class_init): upd.
3565 (AccessibleImage_getImageDescription): fix daft bug
3568 * test/test-simple.c (global_listener_cb): update
3569 to only quit if not --poke
3570 (main): catch --poke.
3571 (validate_accessible): upd. dumping, call test_image
3574 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3577 * idl/Accessibility.idl: update all IDL includes.
3579 * idl/*.idl - rename to namespace - this sucks, blame
3580 mjs' bad decision for oafd.
3582 * test/test-simple.c (create_test_window): add more tests.
3583 (create_tree): split this out.
3584 (validate_accessible): bugfix.
3586 2001-12-11 Michael Meeks <michael@ximian.com>
3588 * cspi/bonobo/cspi-bonobo-listener.c:
3589 (cspi_kestroke_listener_unref),
3590 (cspi_event_listener_unref): impl. undoing previous
3591 homenous environment - for Bill.
3593 * cspi/spi_table.c (long_seq_to_array): use
3596 * cspi/spi_main.c: split out all bonoboish bits into
3599 * cspi/spi-impl.h: upd. typedefs.
3601 * cspi/spi_registry.c: update to lowlevel API,
3602 return booleans to indicate success in some places.
3604 * cspi/spi_event.c: update to lowlevel API.
3606 * cspi/bonobo/Makefile.am: add.
3608 * cspi/bonobo/cspi-lowlevel.h: add
3610 * cspi/bonobo/cspi-bonobo.c: add
3612 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3614 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3615 (SUBDIRS): add bonobo, link in the libs.
3617 * cspi/spi-util.c: kill this file.
3619 * TODO: merge in my bits.
3621 2001-12-11 Michael Meeks <michael@ximian.com>
3623 * test/test-simple.c (test_value, test_table, main):
3624 remove unused variables causing warnings.
3626 * configure.in: cleanup checks - require gail.
3628 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3631 Changed Value interface to use SValue (scalars) rather than
3632 assuming all values are floats. This allows floats, doubles,
3633 longs, shorts, and unsigned values to be manipulated.
3634 Introduced Accessibility:SValue union.
3637 Updated to use new API above, and to work correctly with GValues
3638 of different types in AtkValue.
3641 Updated to use new API above. cspi's API is as yet unchanged.
3644 Updated the Value revision action item.
3646 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3648 * test/test-simple.c:
3649 Added test_table (GtkTreeView widget in test window to follow).
3650 Un-commented test_value, added GtkRange widget.
3651 Added GtkTreeView widget with GtkListStore. It passes regression
3652 test but leaks one SPI object for some reason.
3655 Fixed bug in impl__set_currentValue.
3657 2001-12-10 Michael Meeks <michael@ximian.com>
3659 * cspi/spi_text.c: audit for exception handling,
3660 tolerating NULL object references safely etc.
3662 * cspi/spi_value.c: ditto.
3664 * cspi/spi_table.c (AccessibleTable_getSummary),
3665 (AccessibleTable_getAccessibleAt),
3666 (AccessibleTable_getRowHeader),
3667 (AccessibleTable_getColumnHeader),
3668 (AccessibleTable_getCaption): fix bugs hidden by
3670 (long_seq_to_array): impl.
3671 (AccessibleTable_getSelectedRows),
3672 (AccessibleTable_getSelectedColumns): use it.
3674 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3677 Added a TODO list (rough and short for now).
3679 * cspi/spi_hyperlink.c:
3680 * cspi/spi_hypertext.c:
3681 Fixed macro name typos, and remove use of obsolete macro in
3682 AccessibleHyperlink_getLink.
3684 * cspi/spi_action.c:
3685 * cspi/spi_accessible.c:
3686 * cspi/spi_application.c:
3687 * cspi/spi_component.c:
3688 * cspi/spi_selection.c:
3691 Documentation fixes (removed return values from ref/unref methods).
3693 2001-12-10 Michael Meeks <michael@ximian.com>
3695 * cspi/spi_action.c: audit for exception handling,
3696 tolerating NULL object references safely etc.
3698 * cspi/spi_accessible.c: ditto.
3700 * cspi/spi_component.c: ditto.
3702 * cspi/spi_editabletext.c: ditto.
3704 * cspi/spi_hyperlink.c: ditto.
3706 * cspi/spi_hypertext.c: ditto.
3708 * cspi/spi_image.c: ditto.
3710 * cspi/spi_selection.c: ditto.
3712 2001-12-10 Michael Meeks <michael@ximian.com>
3714 * configure.in: use cspi/libspi.pc.in instead.
3716 * Makefile.am (pkgconfig_DATA): upd. to match.
3718 * test/simple-at.c (report_focus_event): kill hacks around
3719 bad return values, use putenv not setenv
3721 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3722 fire ChildGone - I killed it.
3724 * libspi/component.c
3725 (impl_accessibility_component_get_extents): remove
3728 * idl/Accessible.idl: kill ChildGone exception.
3730 * cspi/*.[ch]: kill int return from ref / unref.
3732 * cspi/spi_main.c (cspi_object_add_check): fold into
3733 (cspi_object_add): here.
3735 * cspi/spi_component.c (AccessibleComponent_getExtents):
3736 handle exceptions elegantly.
3738 * cspi/spi-private.h (cspi_check_ev_return),
3739 (cspi_return_if_fail): impl.
3741 * cspi/spi_accessible.c: use extensively.
3742 (AccessibleStateSet_equals): add direct compare check.
3744 * cspi/spi_selection.c: tolerate NULL objs, and check
3745 exceptions before return.
3747 * cspi/spi-util.c (cspi_warn_ev): rename to
3748 (cspi_check_ev): this & don't pass ev in; no point.
3750 2001-12-10 Michael Meeks <michael@ximian.com>
3752 * test/test-simple.c: use putenv not setenv
3753 (get_environment_vars): more chatty if you're not using
3756 * test/simple-at.c: do the setenv so more people see the
3759 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3761 * libspi/registry.c:
3762 Changed check of CORBA_environment on notification to be a warning
3763 instead of an error for the moment, since we can recover from this
3764 error when caused by a queued notification from a dead app.
3767 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3768 used by all current implementors of AtkValue), and coerce to
3769 CORBA_float. (Proper general case fix may require change to Value.idl).
3771 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3775 * cspi/spi_accessible.c:
3776 Documentation fixes: added user_data params to documentation for
3777 listeners and callbacks.
3779 * cspi/spi_accessible.c:
3780 Changed AccessibleStateSet_compare to return a
3781 StateSet rather than return the difference set into a third parameter.
3784 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3787 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3788 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3792 Remove subdirectory po from SUBDIRS for now.
3794 * at-bridge/bridge.c:
3795 Beefed up a couple of debug printouts.
3796 One-line fix for signal notification name formatting.
3798 * libspi/accessible.c:
3799 Added assertion to spi_accessible_new ().
3801 * libspi/application.c:
3802 Put #ifdef qualifiers around a printf.
3805 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3807 * registryd/Makefile.am:
3809 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3810 INTLTOOL_SERVER_RULE macro.
3813 Added an event listener for several ATK signals, for
3814 testing and debugging. Removed a few g_warnings.
3815 Added test output if focussed item implements the Value interface.
3817 * test/test-simple.c:
3818 Added test_value () function (known not to pass at the moment, so
3819 not actually called yet.
3821 2001-12-08 Michael Meeks <michael@ximian.com>
3823 * at-bridge/bridge.c (bridge_focus_tracker),
3824 (emit_eventv): fix the same ref. leak.
3825 (register_atk_event_listeners): don't leak.
3827 * cspi/spi-listener-impl.c (cspi_event): more
3828 protection from client code.
3830 * test/test-simple.c (test_desktop): unref the app.
3832 * test/Makefile.am: upd. TESTS.
3834 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3836 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3838 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3840 * cspi/spi_registry.c: constify in strings.
3841 (deregisterGlobalEventListenerAll): don't release the ref.
3843 * cspi/spi.h: start removing redundant / conflicting
3844 gtkdoc comments, making the API readable at a glance :-)
3846 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3848 * test/keysynth-demo.c (keysynth_exit, main): upd.
3850 * test/simple-at.c (main, simple_at_exit): upd.
3852 * test/test-simple.c (unutterable_horror): kill.
3853 (utterable_normal_derefs): kill.
3854 (main): upd & do a setenv before gtk_init, so that we
3855 can use memprof - and to save the pain of remembering
3856 this, if we're running under memprof - don't exit.
3858 * cspi/spi_main.c (SPI_exit): return exit status
3860 (SPI_event_quit): impl.
3861 (SPI_event_main): simplify.
3862 (cspi_is_gnome_app): kill.
3863 (SPI_init): kill isGNOMEapp arg.
3865 * at-bridge/bridge.c (register_atk_event_listeners):
3866 re-instate the unref.
3867 (bridge_exit_func): don't re-activate the registry,
3868 protect vs. theoretical re-entry, use the
3869 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3870 assert a clean shutdown - for regression tests.
3872 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3874 * configure.in: Comment out dummy i18n support for now,
3875 otherwise it fails to build.
3876 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3877 EXTRA_DIST. They are missing in tarball.
3879 2001-12-07 Michael Meeks <michael@ximian.com>
3881 * util/magnifier.c: kill bonobo activation reg. race.
3883 * libspi/component.c
3884 (impl_accessibility_component_get_extents): make it match
3887 * libspi/registry.c (_registry_notify_listeners):
3888 re-remove X headers & reconcile conflicts.
3889 (spi_listener_struct_free): bad conflict resolve.
3890 (impl_accessibility_registry_register_application):
3891 more bad merging fixed.
3892 (impl_accessibility_registry_deregister_application): ditto.
3893 (spi_registry_new): ditto.
3894 (spi_registry_init): don't have an applications field.
3896 [ merge fixups2 branch to here ]
3897 2001-12-07 Michael Meeks <michael@ximian.com>
3899 * test/simple-at.c (report_focus_event),
3900 (report_focussed_accessible): remove g_warning debug.
3902 2001-12-07 Michael Meeks <michael@ximian.com>
3904 * test/test-simple.c (validate_tree): comment out some checks.
3905 (test_desktop): app now not registered idly - horay.
3907 2001-12-07 Michael Meeks <michael@ximian.com>
3909 * cspi/spi_registry.c
3910 (registerAccessibleKeystrokeListener): clean, stop it leaking
3911 great swathes of memory, and device event controller references.
3912 ensure we always pass valid sequences.
3913 (deregisterAccessibleKeystrokeListener): ditto.
3914 (generateKeyEvent): upd.
3916 * at-bridge/bridge.c (bridge_key_listener): handle
3917 registry dead exception gracefully.
3918 (bridge_focus_tracker, emit_eventv): free ev.
3920 * test/simple-at.c (report_focus_event): fix polarity.
3922 * libspi/application.c (notify_listeners): kill the ev
3923 argument, and make sure we init the ev we use.
3924 (spi_application_object_event_listener): split out a chunk
3925 (get_atk_object_ref): here & fixup.
3926 (reverse_lookup_name_for_toolkit_event): make const.
3927 (spi_application_toolkit_event_listener): fixup, kill leaks
3930 * at-bridge/bridge.c (register_atk_event_listeners):
3931 don't unref the noop object - causes grief.
3933 * libspi/registry.c: remove the X headers.
3934 turn off the debug churn.
3936 * libspi/accessible.c (spi_accessible_new_return): only
3937 release the ref if we are supposed to [doh]
3939 * test/simple-at.c (report_button_press, report_focus_event):
3940 guard vs. unexpected exit.
3942 * at-bridge/bridge.c (gtk_module_init): prune printf.
3943 (bridge_exit_func): fix app unref.
3945 * libspi/Makefile.am: don't install registry or desktop.h
3947 * libspi/*.h: update includes.
3949 * libspi/application.h: don't include ourself, or
3950 other redundant headers.
3952 2001-12-06 Michael Meeks <michael@ximian.com>
3954 * libspi/accessible.c
3955 (get_accessible_from_servant): impl.
3956 Upd. all CORBA impl.s to use it killing cut and paste.
3958 * cspi/spi_main.c (cspi_cleanup): guard vs. double
3960 (SPI_init): register atexit cleanup handler here.
3962 2001-12-06 Michael Meeks <michael@ximian.com>
3964 * at-bridge/bridge.c (gtk_module_init): g_error on
3965 activation exception
3967 2001-12-06 Michael Meeks <michael@ximian.com>
3969 * at-bridge/bridge.c (gtk_module_init): some sort of
3970 confusing merge clash - reverted.
3971 (bridge_idle_init): ditto.
3973 * test/test-simple.c (main, utterable_normal_derefs):
3974 merge from Bill - somehow not committed.
3976 2001-12-06 Michael Meeks <michael@ximian.com>
3978 * libspi/value.c (spi_value_class_init): upd.
3979 (spi_value_finalize): kill.
3981 * libspi/table.c (spi_table_finalize): kill.
3982 (spi_table_interface_new): upd.
3983 (spi_table_class_init): upd.
3984 (get_table_from_servant): impl.
3985 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3987 * libspi/selection.c (spi_selection_finalize): kill.
3988 (spi_selection_interface_new): upd.
3989 (spi_selection_class_init): upd.
3990 (get_selection_from_servant): impl.
3991 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3993 * libspi/relation.c (spi_relation_finalize): kill.
3994 (spi_relation_class_init, spi_relation_new): upd
3996 * libspi/image.c (spi_image_finalize): kill.
3997 (spi_image_class_init): upd.
3998 (spi_image_interface_new): upd.
3999 (get_image_from_servant): impl.
4000 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4002 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4003 (spi_hyperlink_finalize): kill.
4004 (spi_hyperlink_new): upd.
4005 (get_hyperlink_from_servant): impl.
4006 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4008 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4009 (spi_hypertext_finalize): kill.
4010 (spi_hypertext_class_init): upd.
4011 (get_hypertext_from_servant): impl.
4012 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4014 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4015 (spi_editable_text_interface_new): upd.
4016 (get_editable_text_from_servant): impl.
4017 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4019 * libspi/text.c (get_text_from_servant): impl.
4020 All impls - update to use it killing more cut and paste,
4021 also fix bad string returns on duff args ( a somewhat
4022 impossible case to handle - but hey ).
4023 (spi_text_construct): impl.
4024 (spi_text_interface_new): upd.
4025 (spi_text_object_finalize): kill.
4027 * libspi/component.c
4028 (accessibility_component_object_finalize): kill.
4029 (spi_component_class_init): upd.
4030 (get_component_from_servant): impl. helper to kill cut & paste.
4031 (impl_accessibility_component_contains):
4032 (impl_accessibility_component_get_accessible_at_point):
4033 (impl_accessibility_component_get_position):
4034 (impl_accessibility_component_get_extents):
4035 (impl_accessibility_component_get_mdi_z_order):
4036 (impl_accessibility_component_get_layer):
4037 (spi_component_interface_new): upd.
4039 * libspi/action.c (spi_action_finalize): kill.
4040 (spi_action_class_init): upd. inherit from SpiObject.
4041 (spi_action_interface_new): upd.
4042 (get_action_from_servant): impl. helper to reduce cut & paste.
4043 (impl_getKeyBinding, impl_getName, impl_doAction),
4044 (impl_getDescription): Use it everywhere.
4046 * cspi/spi_main.c (get_live_refs): a pointer hash.
4047 (spi_object_hash, spi_object_equal): comment out.
4048 There are issues with CORBA object hashing that need
4051 * libspi/application.c (spi_application_init),
4052 (spi_application_new): upd.
4054 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4055 (spi_accessible_class_init): upd.
4056 s/accessible/object/ in epv methods.
4058 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4060 * at-bridge/bridge.c:
4061 Reorder the bridge initialization into the bridge gtk_module_init,
4062 an immediate call to bridge_register_app, and an idle_add for
4063 register_atk_event_listeners (the only code that *must* wait until
4064 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4065 the activation, creates the application's Accessible object, and
4066 queues the bridge_idle_init function. Restored call to
4067 Accessibility_Registry_deregisterApplication().
4068 Prior to making this call we obtain a new reference to the
4069 registry, which is a temporary hack that helps us handle apps that
4070 shut down the bonobo mainloop before we get there.
4072 * libspi/registry.c:
4073 Fix string leakage in debug block, and don't segv if a an app
4074 dies before its event notifications have been propagated.
4077 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4078 as stopgap measure until we get proper exception handling when
4079 objects die during or before interrogation.
4083 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4084 Also changed default value of is_gnome_app to TRUE.
4087 * test/keysynth-demo.c:
4088 Changed use of SPI_init and SPI_event_main to reflect API change above.
4091 Made report_focus_event check the warning value from getName
4092 before reporting on focussed accessible; simplifies handling of
4093 notifications from dead objects.
4095 * test/test-simple.c: (Changes not in this patch since source is
4098 2001-12-05 Michael Meeks <michael@ximian.com>
4100 * registryd/registryd.c (main): protect against
4101 bonobo-activation startup race condition.
4103 * cspi/spi_main.c (cspi_object_add_check): cope
4104 with the exception elegantly.
4106 * idl/Accessible.idl: decl. ChildGone
4108 * libspi/desktop.c (spi_desktop_dispose): impl.
4109 (spi_desktop_class_init): upd.
4110 (spi_desktop_add_application),
4111 (spi_desktop_remove_application),
4112 (abnormal_application_termination): impl.
4113 (impl_desktop_get_child_at_index): re-impl.
4116 (impl_accessibility_registry_deregister_application),
4117 (impl_accessibility_registry_register_application):
4118 kill excessive debug clutter.
4120 * test/test-simple.c (test_misc): test some NULL
4121 tolerance. (main): upd.
4123 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4124 implements no interfaces - so let's not crash.
4126 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4128 * libspi/accessible.c (spi_accessible_new_return): impl.
4129 helper to calm the cut and paste, to cope with
4130 NULL AtkObjects effectively and efficiently, and to kill
4131 the referencing bugs.
4133 * libspi/table.c (impl_getAccessibleAt),
4134 (impl_getRowHeader, impl_getColumnHeader): upd.
4136 * libspi/hyperlink.c (impl_getObject): upd.
4138 * libspi/accessible.c
4139 (impl_accessibility_accessible_get_child_at_index): upd.
4141 * libspi/component.c
4142 (impl_accessibility_component_get_accessible_at_point): upd.
4144 * test/test-simple.c (test_editable_text, test_text): impl.
4147 * cspi/spi_editabletext.c
4148 (AccessibleEditableText_insertText): constify.
4150 * test/test-simple.c (focus_me): make more robust.
4152 * libspi/accessible.c: remove some printfs in methods that
4153 we test and work fine, so we can get a clean tree dump.
4155 * test/test-simple.c (validate_accessible),
4156 (validate_tree): make tree dumping pretty too.
4158 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4159 it builds without debug on.
4161 * test/test-simple.c (validate_accessible): fix the most
4164 * cspi/spi_main.c (spi_object_release): leave the nicely
4165 blanked memory around if in debug mode.
4167 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4169 [committed to fixups2]
4170 2001-12-05 Michael Meeks <michael@ximian.com>
4172 * libspi/editabletext.c
4173 (spi_editable_text_class_init): g_type_class_peek_parent,
4174 not interface peek - so we finalize cleanly.
4176 * libspi/accessible.c (spi_accessible_new): kill debug.
4178 * test/test-simple.c (validate_accessible): fix ref.
4179 leak, print strings before freeing them; sigh, comment a
4180 chunk out due to strangeness.
4181 (validate_tree): unref the child after use.
4183 * cspi/spi_component.c (AccessibleComponent_getLayer):
4184 add missing break statement, switch on zlayer not the
4185 uninitialized retval.
4187 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4188 before (possibly re-entering) remote unref.
4190 * test/simple-at.c (main): unref the desktop.
4192 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4195 * cspi/spi_main.c (cspi_accessible_is_a): here to
4196 isolate bonobo API usage more.
4198 * libspi/registry.c (impl_accessibility_registry_register_application):
4199 prune bogus comment.
4201 2001-12-04 Michael Meeks <michael@ximian.com>
4203 * test/test-simple.c (validate_tree): upd.
4204 IndexInParent check to make it more lucid.
4205 (validate_accessible): dump the tree.
4207 * libspi/accessible.c (de_register_public_ref),
4208 (get_public_refs): impl.
4209 (spi_accessible_new): make more efficient & intuitive.
4210 Now IndexInParent check works.
4212 2001-12-04 Michael Meeks <michael@ximian.com>
4214 * cspi/spi-util.h: remove.
4216 * cspi/spi.h: move SPI_freeString here
4218 * libspi/component.c (impl_accessibility_component_get_layer):
4220 (impl_accessibility_component_get_mdi_z_order): ditto,
4221 return -1 on error - is this ok ?
4223 * test/test-simple.c (test_application): impl.
4225 * cspi/spi_accessible.c (Accessible_getApplication),
4226 (Accessible_isApplication): impl.
4228 * libspi/registry.c (spi_listener_struct_free): release
4229 the CORBA reference too.
4231 * libspi/accessible.c
4232 (impl_accessibility_accessible_get_parent): fix ref leak.
4234 * libspi/registry.c (spi_registry_new): make the registry
4235 immortal - we don't want it to go away ever.
4237 * libspi/application.c
4238 (spi_accessible_application_finalize): impl. cleanup.
4240 * cspi/spi_registry.c
4241 (deregisterGlobalEventListenerAll),
4242 (deregisterGlobalEventListener),
4243 (deregisterAccessibleKeystrokeListener): fix ref leak.
4245 * cspi/spi_main.c (SPI_init): remove redundant ref.
4247 * test/test-simple.c (unutterable_horror): impl. to force a
4252 (impl_accessibility_registry_deregister_application): release
4253 the application when we de-register it.
4255 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4256 until we have the infastructure to get it right.
4258 2001-12-03 Michael Meeks <michael@ximian.com>
4260 * libspi/Makefile.am: only build eventlistener.[ch]
4262 * libspi/accessible.c
4263 (impl_accessibility_accessible_get_child_at_index): don't leak.
4265 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4266 before we hit the idle handler.
4268 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4269 debugging than exit.
4271 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4273 * libspi/listener.c (impl_notify_event): check source
4274 not NIL before unref.
4276 * libspi/registry.c (impl_registry_notify_event): ditto.
4278 * libspi/eventlistener.c
4279 (impl_accessible_event_notify_event): unref the source.
4281 * libspi/accessibleeventlistener.c
4282 (impl_accessible_event_notify_event): unref the source.
4284 * idl/Event.idl: remove 'hash_id' attribute - of no
4287 * libspi/application.c (notify_listeners): upd list
4289 (spi_application_object_event_listener),
4290 (spi_application_toolkit_event_listener): upd to do correct
4294 (_registry_notify_listeners): update.
4295 (parse_event_type): this method also leaks like a sieve.
4296 (impl_accessibility_registry_deregister_global_event_listener):
4297 fix ETYPE_WINDOW case.
4299 * libspi/application.c
4300 (impl_accessibility_application_register_object_event_listener):
4303 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4305 * libspi/hypertext.c (impl_getLink): ditto.
4307 * cspi/spi_main.c (cspi_object_add): remove
4308 bogus CORBA_Object_duplicate.
4310 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4313 * cspi/spi_accessible.c
4314 (Accessible_getRelationSet): fix leak / referencing issue.
4316 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4317 (cspi_object_add, cspi_object_unref): upd.
4318 (spi_object_release, get_live_refs): impl.
4319 (cspi_cleanup): simplify.
4321 * *.[ch]: s/boolean/SpiBoolean/
4323 * cspi/spi_accessible.c (role_names): actualy order so it
4324 corresponds with the enum !
4326 * test/test-simple.c (test_roles): check some role strings
4327 vs. enums to detect offset errors.
4329 2001-12-01 Michael Meeks <michael@ximian.com>
4331 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4333 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4335 (Accessible_getChildAtIndex): use cspi_add_check so we
4336 check the ev before using a (possibly) invalid value.
4338 * libspi/accessible.c
4339 (impl_accessibility_accessible_get_parent): don't segv
4342 * at-bridge/bridge.c (gtk_module_init): upd.
4343 (bridge_property_event_listener): don't leak strings
4345 (bridge_state_event_listener),
4346 (bridge_property_event_listener): don't use a static
4347 buffer in case of recursive event emission &
4348 re-enterancy - split out the swathe of cut and paste
4350 (emit_eventv): and fix 2 ref leaks here & comply to the
4352 (bridge_register_app): rename to
4353 (bridge_idle_init): this and kill arg parsing, split
4354 various inits & bonobo-activation registration to module
4355 init time, kill referencing error.
4356 (bridge_exit_func): fix the same leak.
4357 (bridge_focus_tracker): don't leak event structures
4359 (bridge_signal_listener): more leakage and cut & paste
4361 (bridge_key_listener): return the result - FIXME is
4362 this polarity correct ?
4363 (accessibility_keystroke_from_atk_key_event): rename
4364 (accessibility_init_keystroke_from_atk_key_event): and stop
4366 (gtk_module_init): return a value - not that it is checked by
4368 (bridge_key_listener): register my horror at casting between
4369 IDL defined structs.
4370 (bridge_get_registry): kill - not used.
4372 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4374 * test/test-simple.c (test_roles): impl.
4375 (test_desktop, validate_accessible, validate_tree): impl.
4377 * cspi/spi_accessible.c (role_names): fixup bogus
4378 MAX_ROLES setup, make constants const for efficient linkage
4379 (AccessibleRole_getName): conform to coding style, make
4382 2001-11-30 Michael Meeks <michael@ximian.com>
4384 * cspi/spi.h: add missing prototype.
4386 * libspi/registry.c (spi_listener_struct_new): fix sig.
4388 * test/Makefile.am: add test-simple
4390 * test/test-simple.c: add
4392 * test/test.sh: add.
4394 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4396 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4397 do it straight - since otherwise we often get an activation race.
4399 [ work before Bill duplicated a chunk of it ... ]
4400 2001-11-30 Michael Meeks <michael@ximian.com>
4402 * libspi/keystrokelistener.c
4403 (spi_keystroke_listener_class_init): fixup arg
4406 * libspi/eventlistener.c
4407 (spi_event_listener_class_init): ditto.
4409 * tests/test.sh: add.
4411 * cspi/spi-listener-impl.h: update macros.
4413 * cspi/spi-listener-impl.c
4414 (cspi_event_listener_remove_callback): add
4415 correct pre-conditions.
4417 * cspi/spi_main.c (SPI_exit): guard vs. double
4418 exits, exit the mainloop nicely.
4419 (SPI_event_main): make more sense.
4420 (SPI_init): move the atexit evilness here so we
4421 always do it (yuck).
4422 (SPI_event_main): upd.
4424 * test/simple-at.c: update for listener changes.
4426 * registryd/registryd.c (main): prune kruft.
4428 * libspi/libspi.h: upd.
4430 * libspi/eventlistener.[ch]: rename broken macros.
4432 * libspi/accessibleeventlistener.[ch]: remove.
4434 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4436 * test/test-simple.c: Add - automated tests.
4438 * cspi/spi-listener-impl.c (cspi_event),
4439 (cspi_key_event): add user_data to invoke.
4440 (cspi_keystroke_listener_finalize): impl.
4441 (cspi_keystroke_listener_class_init): upd.
4444 (createAccessibleEventListener),
4445 (AccessibleEventListener_addCallback),
4446 (createAccessibleKeystrokeListener),
4447 (AccessibleKeystrokeListener_addCallback): upd.
4449 * libspi/deviceeventcontroller.c
4450 (spi_device_event_controller_check_key_event): add public proto.
4453 (impl_accessibility_registry_deregister_global_event_listener):
4454 always init listeners.
4455 (_registry_notify_listeners): yes it is.
4457 * cspi/spi-listener-impl.c (cspi_key_event):
4459 (cspi_event_listener_finalize): impl.
4460 (cspi_event_listener_class_init): hook up.
4461 (event_handler_new, event_handler_free),
4462 (event_list_remove_by_callback): impl.
4463 (cspi_event_listener_remove_callback),
4464 (cspi_keystroke_listener_remove_callback),
4465 (cspi_keystroke_listener_add_callback),
4466 (cspi_event_listener_add_callback): upd.
4468 * libspi/keystrokelistener.c
4469 (keystroke_listener_object_finalize): kill
4470 (spi_keystroke_listener_class_init): upd.
4471 (spi_keystroke_listener_add_callback),
4472 (spi_keystroke_listener_remove_callback): kill,
4474 (impl_key_event): prune drasticaly.
4476 * libspi/eventlistener.c
4477 (spi_event_listener_add_callback),
4478 (spi_event_listener_remove_callback): kill, use
4480 (impl_accessible_event_notify_event): upd.
4481 (spi_event_listener_object_finalize): remove.
4483 * libspi/Makefile.am: use eventlistener.[ch]
4485 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4487 * libspi/registry.c (_registry_notify_listeners):
4488 Changed listener loop iteration to use preferred convention.
4489 Got rid of string memory leaks caused be calling g_strconcat
4490 inside function calls.
4492 * libspi/registry.c (parse_event_type):
4493 Stopped g_strconcat memory leaks, free the g_strsplit return,
4494 g_strdup the split pieces when used, etc.
4496 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4499 Change method 'compare' to return a 'difference set' rather than
4500 taking a StateSet as an out parameter (more Java-friendly).
4502 * idl/Accessible.idl:
4503 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4505 * idl/Component.idl:
4507 Changed methods 'getExtents' and 'getImageExtents' in these
4508 interfaces to return a BoundingBox structure.
4509 (getPosition and getSize are redundant and possibly should be
4510 removed, rather than creating a corresponding Point struct.)
4512 * cspi/spi_component.c:
4513 Modify implementation of getExtents to reflect the above IDL
4518 Add (missing) AccessibleImage_getExtents () API.
4520 * docs/reference/cspi/at-spi-cspi-sections.txt:
4521 Added AccessibleImage_getImageExtents () to docs.
4523 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4525 * idl/Component.idl:
4526 Added two methods, getLayer () and getMDIZOrder (), to reflect
4527 the new ATK methods atk_object_get_layer and
4528 atk_object_get_mdi_z_order. (Which arguably should be part of the
4529 AtkComponent API and AtkObject). Also added an enum,
4530 ComponentLayer, for the first method's return value.
4532 * libspi/component.c:
4533 Added implementations for these methods.
4535 * cspi/spi_component.c:
4537 Added cspi binding methods for above,
4538 AccessibleComponent_getLayer() and
4539 AccessibleComponent_getMDIZOrder().
4540 Added cspi enum 'AccessibleComponentLayer'.
4542 * docs/reference/cspi/at-spi-cspi-sections.txt:
4543 Added above methods to docs.
4547 Changed typedef for 'boolean' type (and all references to it) to
4548 SPIBoolean, to avoid keyword clashes with C++.
4551 Changed usages of 'boolean' to SPIBoolean.
4553 * test/keysynth-demo.c:
4554 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4555 app), except where SPIBoolean is required by the callbacks API.
4557 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4559 * cspi/spi_registry.c:
4560 Removed obsolete X event loop for passive keygrabs (which now
4563 * registryd/registryd.c:
4564 Removed unnecessary call to gdk_init() [cruft]. This also allows
4565 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4568 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4570 * docs/reference/cspi:
4571 Included docs for SPI_freeString in generated documentation.
4574 Renamed spi_freeString to SPI_freeString, for consistency. Added
4575 documentation for this function.
4578 Renamed spi_freeString to SPI_freeString, for consistency.
4579 Removed obsolete method declaration string_from_corba_string.
4581 * test/keysynth-demo.c:
4582 Small tweak to comments.
4585 Stopped leaking the strings returned from CSPI.
4587 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4589 Merged Michael's branch (see his ChangeLog entries below).
4591 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4592 bridge is alive, release on exit.
4594 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4595 Fix type check macro.
4598 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4601 Added is_gnome_app static, and method cspi_is_gnome_app(),
4602 so we can call the appropriate shutdown routine at exit in SPI_exit.
4604 * cspi/spi_main.c (cspi_object_ref):
4605 Duplicate the corba object passed in, since we're keeping it around.
4607 * cspi/SPI_exit.c, cspi_cleanup:
4608 Moved the releasing of the live refs to its own function, so we
4609 can put it in g_atexit (). Call the appropriate shutdown API
4610 depending on whethe calling client is a gnome app or not
4611 (bonobo_main_quit or CORBA_ORB_shutdown).
4613 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4614 Unref the listener when this method is called, after
4615 deregistration. Updated the API docs to note this behavior.
4617 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4618 Bugfixes: Ref the bonobo object when returning a parent or child
4619 reference, or an AccessibleRelation. Generally made sure
4620 BonoboObject refcount is incremented whenever we return an
4623 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4624 Fixed typo/bug in signal declaration.
4626 * libspi/accessibleeventlistener.h:
4629 * libspi/application.c (spi_application_new):
4630 Fixed leak in initialization.
4633 Remembered to increment bonobo-object refcount when returning
4634 children (applications) from desktop object.
4635 Added (empty) finalize method.
4637 * libspi/deviceeventcontroller.c:
4638 Hold a ref to listeners inside DEControllerKeyListeners.
4639 Added dec_key_listener_free() method. Use prepend instead of
4640 append in key_listener list. Fixed some refcount madness and
4641 leaks in the listener registration/deregistration - deregistration
4642 now calls dec_key_listener_free() on listeners, and on the
4643 temporarily constructed dec_key_listener() used to perform the search/match.
4645 * libspi/hypertext.c (spi_hypertest_finalize):
4646 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4647 class. Also fixed spi_hypertext_interface_new() and
4648 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4650 * libspi/hypertext.h:
4651 Removed pointless and duplicate AtkObject pointer from
4654 * libspi/keystrokelistener.c:
4655 Fixed incorrect type of keystroke_listener_parent_class,
4656 renamed keystroke_listener_object_finalize to
4657 spi_keystroke_listener_object_finalize.
4658 Fixed typo in signal declaration
4659 (spi_keystroke_listener_class_init).
4661 * libspi/registry.c:
4662 Added funcsions spi_listener_struct_new() and
4663 spi_listener_struct_free() to help with memory management issues.
4664 We also now use these methods instead of gnew + poking stuff into
4665 the struct, and to decrement listener counts/free the listeners
4666 when deregistering them.
4667 Fix more refcount bugs in getDesktop() and
4668 getDeviceEventController().
4671 De-ref the desktop after enumerating the applications. Explicitly
4672 decrement the refcounts on the created listeners on exit (using
4673 _unref for keystroke listeners, and via the
4674 deregisterGlobalEventListenerAll command for other event
4677 2001-11-27 Michael Meeks <michael@ximian.com>
4679 * cspi/spi-listener.h: fixup enum.
4681 2001-11-27 Michael Meeks <michael@ximian.com>
4683 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4684 (cspi_keystroke_listener_new): Use the cspi variants.
4686 2001-11-26 Michael Meeks <michael@ximian.com>
4688 * test/keysynth-demo.c: fix 2 compile warnings, missing
4691 * test/simple-at.c (report_focussed_accessible),
4692 (report_focus_event, report_button_press),
4693 (check_property_change, is_command_key),
4694 (report_ordinary_key_event, report_command_key_event): upd.
4696 * util/mag_client.h: include pre-requisites.
4698 * libspi/accessibleeventlistener.c
4699 (spi_event_listener_object_finalize): free any lingering
4702 * libspi/keystrokelistener.c
4703 (keystroke_listener_object_finalize): ditto.
4705 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4706 callbacks, with cspi types.
4708 * cspi/spi_event.c (createAccessibleEventListener): chain to
4709 (AccessibleEventListener_addCallback): here.
4710 (createAccessibleKeystrokeListener): chain to
4711 (AccessibleKeystrokeListener_addCallback): here.
4713 * libspi/keystrokelistener.c
4714 (spi_keystroke_listener_class_init): add signal.
4715 (impl_key_event): emit the event.
4716 (boolean_handled_accumulator): impl.
4717 (marshal_BOOLEAN__POINTER): add, gack.
4719 * libspi/accessibleeventlistener.c
4720 (spi_event_listener_class_init): add signal.
4721 (impl_accessible_event_notify_event): emit the signal &
4722 make the loop efficient.
4723 (spi_event_listener_add_callback): prepend the callback.
4725 * libspi/accessibleeventlistener.h: add an 'event' signal,
4726 decl type on callback.
4728 * libspi/keystrokelistener.h: ditto.
4730 * cspi/spi-listener.h: make methods typesafe and
4731 make them use the new event typedefs.
4733 * test/simple-at.c (report_focussed_accessible):
4734 include mag_client.h
4735 Use *(void *)text_interface not the other thing.
4737 * configure.in: add gtk to registryd bits - since we use
4740 * util/magnifier.c: include libbonobo.h
4742 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4744 * test/keysynth-demo.c:
4745 Turned this into a simple scanning keyboard, to demonstrate the
4746 use of g_timeout_add () as a means of creating timers for
4747 scanning, and the use of GtkStyle for visually indicating when
4748 virtual keyboard elements are selected.
4750 keysynth-demo now listens to any keyboard keys with zero-valued
4751 keycodes (i.e. 'unused' keys) and interprets them as
4754 Reworked the shiftlatch code so that shift-down state isn't held
4755 for long periods (it's only synthesized immediately prior to
4756 the keysynth event it's modifying). Note that shiftlatch in this
4757 demo is a convenience, not intended to take the place of AccessX
4758 which is the better choice for getting 'sticky' modifier keys.
4760 * libspi/deviceeventcontroller.c:
4761 * at-bridge/bridge.c:
4762 * cspi/spi_registry.c:
4763 Removed some debug print stuff, and put other verbosity in #ifdef
4768 Implemented some more of the magnifier IDL for the simple
4769 magnifier: namely, getZoomRegionParams.
4770 Added mag_x and mag_y members to MagnifierData struct, aid of this
4772 Added GtkWindow::realize signal handler to magnifier, to keep it
4773 from receiving keyboard focus from the WM.
4775 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4777 * cspi/spi-private.h: my guess at what michael forgot
4778 before he ran off to NZ :-)
4780 2001-11-23 Michael Meeks <michael@ximian.com>
4782 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4783 comment out non existant method invoke so we link.
4785 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4786 use bonobo_exception_get_text for more friendly warnings.
4788 * cspi/spi.c (Obj_Add): move into spi_main & rename
4789 spi_object_add; kill spi.c
4791 * cspi/spi_registry.c
4792 (deregisterGlobalEventListener),
4793 (deregisterGlobalEventListenerAll),
4794 (registerGlobalEventListener): fix exception leaks.
4796 * cspi/spi_main.c (spi_exception): impl. helper, so we
4797 don't leak exceptions.
4799 * cspi/spi_selection.c
4800 (AccessibleSelection_deselectSelectedChild): return the
4803 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4804 (spi_registry): ditto.
4805 (SPI_init): guard against double inits.
4807 * cspi/*.c: use spi_ev (), and spi_registry () where
4808 appropriate - a temporary hack until we have something
4809 better. Use spi_object_add
4811 2001-11-22 Michael Meeks <michael@ximian.com>
4813 * cspi/Makefile.am: re organise, install the headers.
4815 * cspi/*.h: add G_BEGIN/END_DECLS
4817 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4820 Added non-preemptive keylistener for key events with no modifiers
4821 and shift-only modifier.
4823 * libspi/keystrokelistener.c:
4824 Removed some verbose diagnostics printout.
4826 * cspi/spi_registry.c:
4827 Fixed a bug that caused all key listeners to be registered as
4830 * libspi/deviceeventcontroller.c:
4831 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4832 for non-preemptive key masks.
4835 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4837 * docs/reference/idl/at-spi-idl-docs.sgml:
4838 * docs/reference/idl/at-spi-idl-sections.txt:
4839 * docs/reference/idl/at-spi-idl-overrides.txt:
4840 Added missing files.
4842 * docs/reference/Makefile.am:
4843 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4844 to scan the IDL files :-(
4849 Added .cvsignore files.
4851 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4853 * libspi/deviceeventcontroller.c:
4854 * libspi/keystrokelistener.c:
4856 * cspi/spi_registry.c:
4857 Added filters for KeySets, KeyEventSeq, and event types to key
4858 event dispatching, so listeners should only receive those events
4859 that they requested :-)
4861 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4866 * docs/reference:Makefile.am:
4867 * docs/reference/cspi:
4868 * docs/reference/cspi:Makefile.am:
4869 * docs/reference/cspi:tmpl:
4870 * docs/reference/cspi:tmpl:*.sgml:
4871 * docs/reference/idl:
4872 * docs/reference/idl:Makefile.am:
4873 * docs/reference/idl:at-spi-idl-sections.txt:
4874 * docs/reference/idl:at-spi-idl-docs.sgml:
4875 * docs/reference/idl:tmpl:
4876 * docs/reference/idl:tmpl:*.sgml:
4878 Restructured docs directory to allow separate 'reference' docs
4879 section, and forked idl and cspi docs. Added the sgml template
4880 files to CVS. Added the first sections/structural sgml for the
4883 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4885 * configure.in, libspi/Makefile.am: find libXtst.
4887 2001-11-21 Michael Meeks <michael@ximian.com>
4889 * test/accessx-gui.c: s/spi_value/value/ - doh.
4891 * libspi/base.[ch]: add.
4893 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4895 * idl/Accessible.idl:
4896 * idl/Application.idl:
4899 Started gtk-doc cleanup on IDL.
4901 * libspi/deviceeventcontroller.c:
4902 Added and connected non-preemptive key notification from the
4903 toolkits (in addition to the pre-emptive support from XServer
4904 which we had before, but which causes 'focus flashing'). Filters
4905 are presently limited to key modifiers and global/non-global,
4906 KeySets are presently ignored, as are KeyEvent masks.
4908 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4909 structs into the persistant structure rather than just storing
4910 pointers to things that might not persist across servant
4913 The XGrabKey call now does async keygrabs, because synchronous
4914 ones were deadlocking with GDK_event code in a very nasty way.
4916 Added boolean to internal method notify_keylisteners, to indicate
4917 whether the event came from the 'toolkit source' or the 'global
4918 (XServer) source' - this is used in the notification process to
4919 determine which listeners to send the event to.
4921 deviceeventcontroller.c is now warning-free.
4923 * libspi/registry.c:
4924 Fixed regression in application de-registration.
4925 Also fixed some really brain-dead weirdness having to do with
4926 event dispatching - event structs are now duplicated before being
4927 re-marshalled in the dispatch to listeners. This also fixes a
4928 Solaris build problem.
4931 2001-11-20 Michael Meeks <michael@ximian.com>
4934 (impl_accessibility_registry_deregister_global_event_listener):
4937 * libspi/deviceeventcontroller.c
4938 (spi_device_event_controller_check_key_event): return
4939 FALSE on no virtual method.
4941 * libspi/*..h: make includes work on a correctly pathed install.
4943 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4945 * libspi/application.h: kill unused ( and whacked out )
4946 gboolean *spi_application_set_id (AtkObject *app, long id);
4948 2001-11-20 Michael Meeks <michael@ximian.com>
4950 * libspi/*.[ch]: further convert to bonobo's type func
4951 macros, remove redundnant casts etc.
4953 * libspi/text.c s/accessibility_text/spi_text/g,
4954 re-order to de-cruft.
4956 * libspi/hypertext.c: re-order to kill a huge slew
4957 of redundant forward decls.
4959 * libspi/relation.c: ditto.
4961 * libspi/image.c: ditto.
4963 * */.cvsignore: update
4965 2001-11-20 Michael Meeks <michael@ximian.com>
4967 * libspi/deviceeventcontroller.c
4968 (_controller_register_with_devices): use g_getenv,
4969 kill stdlib.h include.
4971 * libspi/keystrokelistener.c
4972 (spi_keystroke_listener_get_type): kill
4973 (spi_keystroke_listener_class_init),
4974 (spi_keystroke_listener_init): rename to this.
4976 * libspi/text.c (impl_getAttributes): fix warning / bug.
4978 * libspi/*.[ch]: more headers, includes and over commenting.
4980 2001-11-20 Michael Meeks <michael@ximian.com>
4982 * libspi/*.[ch]: fixup headers, includes and over commenting.
4984 * libspi/image.c (impl__get_imageDescription): const
4985 correctness warning fix. remove redundant casting.
4987 * libspi/table.c (impl_getRowDescription): ditto.
4988 (impl_getColumnDescription): ditto.
4990 * libspi/libspi.h: add.
4992 2001-11-19 Michael Meeks <michael@ximian.com>
4994 * libspi/editabletext.c (impl_setAttributes): fix warnings.
4996 * libspi/component.c (accessibility_component_get_type):
4997 rename to (spi_component_get_type): and macroify.
4998 (accessibility_component_init): rename to
4999 (spi_component_init): this
5000 (accessibility_component_class_init): rename to
5001 (spi_component_class_init): this
5003 * libspi/action.c (spi_action_get_type): kill, use the macro.
5005 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5008 * libspi/application.c (spi_application_object_event_listener),
5009 (impl_accessibility_application_register_object_event_listener):
5010 warning fixes / const understanding updates.
5012 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5015 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5017 * libspi/spi_accessible.c: Added docs and C bindings for
5018 AccessibleStateSet. (No implementations yet). Documentation
5019 coverage for C bindings now 100%. Made docs for event listeners
5024 boolean notifyListenersSync (in DeviceEventListener listener,
5025 in DeviceEvent event);
5027 oneway void notifyListenersAsync (in DeviceEventListener listener,
5028 in DeviceEvent event);
5030 Added DeviceEventListener and DeviceEvent structs (may deprecate
5031 KeyStroke and KeystrokeListener in favor of this generic
5032 event/listener framework for devices).
5034 * libspi/deviceeventcontroller.c:
5036 Changed some key listener code to take masks, etc., and paved the
5037 way for integration of toolkit/non-preemptive key events. Changed
5038 signatures of some internal methods.
5040 * at-bridge/bridge.c:
5041 Fixed regression connecting to interface signals, apparently
5042 caused by GTK+ changes.
5044 Added an internal bridge_state_listener to deal with
5045 property-change:accessible-state signals.
5047 Changed the key_listeners GList to store structs (including masks,
5048 etc.) instead of just CORBA_Objects (required for full
5049 implementation of key listener API).
5051 Connected the bridge to all currently supported Atk signals.
5052 Events now supported:
5053 object:property-change
5054 object:property-change:accessible-name
5055 object:property-change:accessible-state
5056 object:property-change:accessible-description
5057 object:property-change:accessible-parent
5058 object:property-change:accessible-value
5059 object:property-change:accessible-role
5060 object:property-change:accessible-table-caption
5061 object:property-change:accessible-table-column-description
5062 object:property-change:accessible-table-column-header
5063 object:property-change:accessible-table-row-description
5064 object:property-change:accessible-table-row-header
5065 object:property-change:accessible-table-summary
5066 object:children-changed
5067 object:visible-data-changed
5068 object:selection-changed
5069 object:text-selection-changed
5071 object:text-caret-moved
5073 object:row-reordered
5075 object:column-inserted
5076 object:column-reordered
5077 object:column-deleted
5078 object:model-changed
5080 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5082 * libspi/hyperlink.c,h:
5083 Fixed some broken stuff in hyperlink.
5085 * libspi/relation.h:
5086 * libspi/relation.c:
5087 * cspi/spi_accessible.c:
5088 Initial implementations of AccessibleRelation methods, and docs.
5090 * libspi/accessible.c:
5091 Fixed a bug that caused SEGV if an accessible
5092 object's description is NULL, and a client
5093 requests it. An empty string is now returned.
5095 * cspi/spi_editabletext.c:
5096 * cspi/spi_hypertext.c:
5098 * cspi/spi_hyperlink.c:
5102 Doc coverage now 95%.
5104 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5106 One last namespacing revision:
5107 * libspi/accessibleeventlistener.[ch]:
5108 Renamed SpiAccessibleEventListener to SpiEventListener,
5109 (no need for two namespaces ;-)
5111 And lots of documentation fixes:
5113 * docs/at-spi-docs.sgml:
5114 Fixed 'underscore vs. hyphen' bug that was preventing
5115 the gtk-doc API docs from being automatically generated.
5118 * cspi/spi-listener.h
5120 * cspi/spi_accessible.c
5122 * cspi/spi_application.c
5123 * cspi/spi_component.c
5124 * cspi/spi_editabletext.c
5126 * cspi/spi_hypertext.c
5128 * cspi/spi_registry.c
5129 * cspi/spi_selection.c
5133 * docs/at-spi-docs.sgml
5134 * docs/at-spi-sections.txt
5136 Added and fixed up gtk-doc documentation in cspi.
5138 Interfaces now (fully) documented (subject to revision and enhancement):
5140 Event Listener Support
5142 AccessibleApplication
5146 AccessibleEditableText
5153 AccessibleRelationSet
5158 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5160 * at-bridge/bridge.c:
5161 Initial work for toolkit-level key snooper connection by bridge.
5166 New typedefs and fixes to support new namespacing, and cleaner
5167 separation of cspi bindings from libspi bonobo implementation.
5168 Removed inconsistent and extraneous Spi* namespace prefix that
5169 had crept into cspi headers.
5170 Lots of comment fixes that sed had missed.
5172 * cspi/spi-roletypes.h:
5173 * cspi/spi-statetypes.h:
5174 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5175 to AccessibleRoleType.
5177 * libspi/accessibleeventlistener.h:
5178 Fixed minor namespacing weirdness.
5180 * libspi/deviceeventcontroller.c:
5181 Reordered some internal API for device listeners.
5182 Changed the key registry final boolean to 'is_system_global'
5183 rather than 'is_synchronous', which is more descriptive of its
5185 Added spi_device_event_controller_new().
5186 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5188 * libspi/keystrokelistener.[ch]:
5189 Namespaced KeystrokeListener to SpiKeystrokeListener.
5190 Changed uses of keymasks to use SPI_ prefix, and did other
5193 * libspi/keymasks.h:
5194 Namespaced keymask constants with SPI_ prefix.
5196 * libspi/registry.c:
5197 Some warning fixes, and knock-on fixes from namespace changes.
5200 Added rules for accessx-gui test program.
5202 * test/accessx-gui.c:
5203 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5204 utility. It doesn't actually use at-spi, but it's still cool and
5207 * test/keysynth-demo.c:
5211 Fixes so that these test clients work properly with the namespaced
5212 libraries. (Incompletely tested for technical reasons, fixes may follow)
5215 2001-11-13 Michael Meeks <michael@ximian.com>
5217 * libspi/application.c
5218 (impl_accessibility_application_get_version),
5219 (impl_accessibility_application_get_toolkit_name):
5221 (impl_accessibility_application_set_id),
5222 (impl_accessibility_application_get_id): remove
5223 redundant casting code.
5225 * libspi/action.c (impl_getDescription): fix warnings.
5227 * libspi/accessible.c
5228 (impl_accessibility_accessible_get_parent),
5229 (impl_accessibility_accessible_get_child_at_index),
5230 (impl_accessibility_accessible_get_state),
5231 (impl_accessibility_accessible_get_relation_set):
5232 warning fixes & include action.h
5234 2001-11-13 Michael Meeks <michael@ximian.com>
5236 * *.[ch] fix bits I screwed up:
5238 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5239 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5241 2001-11-13 Michael Meeks <michael@ximian.com>
5243 * *.[ch] Namespace libspi into spi_ and Spi.
5245 2001-13-11 Michael Meeks <michael@ximian.com>
5247 * Makefile.am: dist & install at-spi-1.0.pc
5249 * libspi/Makefile.am: install into at-spi-1.0
5251 * idl/Makefile.am (idldir): install into at-spi-1.0
5253 * at-spi-1.0.pc.in: add.
5255 * configure.in: build it.
5257 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5259 * test/keysynth-demo.c:
5260 Use a 'realize' signal-handler to set the WM properties for
5261 the virtual keyboard, rather than making it a "POPUP" type
5262 override-redirect window (thanks to anders carlsson for that
5265 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5268 * test/keysynth-demo.c:
5269 Added new test of key synthesis, which creates a simple
5270 (mouse-operated) onscreen keyboard. It inserts key events into
5271 the currently-focused window, thus it does not grab keyboard focus
5274 * cspi/spi_registry.c:
5275 Added C binding for AT-SPI generateKeyEvent.
5277 * libspi/deviceeventcontroller.c:
5278 Added call to XFilterEvent so that key listener works with XIM (we
5279 hope). Added event_synth_type to generateKeyEvent, so that we can
5280 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5281 synthesize a press/release pair for KeySyms.
5283 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5285 * libspi/Makefile.am:
5286 * registryd/Makefile.am:
5287 (temporary) hack to include libXtst in libspi and registryd.
5288 (Needed for keystroke synthesis, see below).
5291 Improved API for registerKeystrokeListener, in accordance with
5292 discussions with Gnopernicus team and X server research.
5294 * libspi/registry.c:
5295 * libspi/deviceeventcontroller.c:
5296 * libspi/accessible.c:
5297 * libspi/keystrokelistener.c:
5298 Changes and fixes to support keylisteners for potentially
5299 consumed key events (that is, 'passive grabs').
5300 Added implementation for generateKeyEvent() [untested].
5303 Changes to registerKeystrokeListener() API, as above.
5304 Added deregisterGlobalEventListenerAll(), and
5305 deregisterKeystrokeListener(), which are needed for clean exit of
5307 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5308 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5310 * cspi/spi_registry.c:
5311 Added implementations of function prototypes mentioned above.
5313 * registryd/registryd.c:
5314 Added the key listener event source as a g_timeout(), to allow
5315 receipt of key events that are not caught by GDK (since GDK
5316 doesn't support passive keygrabs, this was necessary).
5319 Changed to attach a keylistener to 'Alt' keys, and
5320 respond to the following keycommands: Alt-M (toggle magnifier);
5321 Alt-F (toggle speech); Alt-Q (quit).
5322 Added an exit routine to deregister the listeners, and a key
5323 listener that prints some key info to the console when a key
5324 matches the listener mask (and is thus received by the listener).
5326 * util/idl/Magnifier.idl:
5327 Changes to magnifier API to support multiple zoom regions,
5328 non-uniform scaling in x and y, markDirty, and a host of other
5329 features that would be useful to magnification.
5332 * util/mag_client.c:
5333 * util/mag_client.h:
5334 * util/mag_control.c:
5336 Source code changes to support the above IDL changes.
5339 As above, and also changes to use a (slower) generic conversion
5340 path for colormap conversions, since the fast RGB conversions have been
5341 reported to fail for 16-bit displays.
5343 2001-10-26 Michael Meeks <michael@ximian.com>
5345 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5347 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5349 * at-bridge/Makefile.am: fix LDFLAGS.
5351 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5353 * at-bridge/bridge.c:
5354 Re-worked listeners for toolkit events, now we have signal
5355 and property listeners. Added a private method
5356 register_atk_event_listeners(), which registers with the
5357 various atk and gtk signals we need to monitor in order to emit
5359 Added emission hook for AtkObject:property-change events, to
5360 support the 'property listeners'.
5361 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5364 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5365 which emit warnings and exit, respectively, if CORBA errors occur
5366 during remote calls, and we now use these methods to check most of
5367 our CORBA calls in the C bindings.
5369 * cspi/spi_accessible.c:
5370 Changed AccessibleSelection_refSelectedChild() to
5371 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5372 now increment refcounts.
5374 * cspi/spi_component.c:
5375 Fixed some long pointer casts (dangerous!) to pass pointers to
5376 CORBA_longs of the proper type to the CORBA stubs, and copy the
5377 data into the longs that were passed into the C bindings code.
5379 * at-bridge/bridge.c:
5381 * libspi/accessible.c:
5382 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5383 hyperlinks, AtkHyperlink is an object type.
5385 * libspi/application.c:
5386 Added various conversions to and from "generic" event types and
5387 atk-specific types; this is really part of the 'bridge'
5388 implementation but is valid for all AtkObject-based accessibility
5391 * libspi/editabletext.c:
5392 Fixed nasty bug wherein editable text's finalize method was
5393 unref'ing tha AtkObject reference that the text parent class was
5394 about to unref _again_. There was also a nasty inheritance bug
5395 that meant that the AccessibleEditableText class was corrupt.
5397 * libspi/selection.c:
5398 Provided implementations for some selection API that was broken.
5400 * idl/Application.idl:
5401 Added registerObjectEventListener () method.
5404 Fixed a number of return values that were Bonobo_Unknowns from
5405 bonobo_object_corba_objref(), which I
5406 forgot to dup before returning. Changed instances of
5407 bonobo_object_corba_objref (bonobo_object(o)) to
5408 BONOBO_OBJREF(o), for concision and clarity.
5410 2001-10-13 Louise Miller <louise.miller@sun.com>
5412 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5413 idl/Event.idl, idl/Registry.idl
5414 Changed these files to include Bonobo_Unknown.idl instead
5417 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5419 * libspi/component.c libspi/component.h:
5420 Fixed typo. Added assertions for object checks in
5421 AccessibleComponent code.
5423 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5425 * idl/Accessible.idl:
5426 Added 'isEqual (Accessible *object)'
5427 method for Accessible. (Not Yet Implemented).
5430 Changed signature of registerKeystrokeListener() to
5431 take a KeySet and KeyEventSeq so that specific keys and event
5432 types could be requested for monitoring, and added a flag
5433 is_synchronous so that either synchronous or asynchronous
5434 notification could be requested. (However this is not all
5435 implemented yet). This also meant adding two new typedefs,
5436 KeyEventSeq and KeySet.
5439 Added two new relations, RELATION_TOOLTIP_FOR and
5440 RELATION_LEAFNODE_OF.
5443 Added new state, STATE_HAS_TOOLTIP.
5445 * libspi/text.c, editabletext.c:
5446 Added new assertions to all casts of bonobo-objects from
5447 CORBA servants, to prevent Text API calls on non-text objects.
5448 Changed suspect casts of int-pointer types, so that we
5449 always send a valid CORBA_long pointer to the CORBA APIs that use
5450 in/out long parameters. We then have to copy from the CORBA_long
5451 into the regular long or int for return to the C bindings, or
5452 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5455 * libspi/deviceeventcontroller.c:
5456 Cleaned these sources up.
5458 Changed return type for getCharacterAtOffset to
5459 CORBA_unsigned_long, to allow for 32-bit characters.
5462 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5466 Fixed 'make dist' so that distro compiles...
5467 * libspi/keymasks.h:
5469 * cspi/spi-listener.c:
5470 KeystrokeListenerCB now returns a boolean.
5472 Added KeyEventType struct, and KeyStroke.
5473 Also added createKeystrokeListener(),
5474 KeystrokeListener_addCallback(),
5475 KeystrokeListener_removeCallback(), and added a keymask to
5476 registerKeystrokeListener().
5477 * cspi/spi_accessible.c:
5478 Changed numerous return types for interfaces from
5479 AccessibleComponent to Accessible<InterfaceName>; this was
5480 probably a cut-and-paste error.
5482 Implementations of new KeystrokeListener api (from spi.h,
5485 Changes to key modifier mapping.
5486 Created ControllerEventMask struct.
5487 Made DeviceEventController derive from Bonobo::Unknown.
5489 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5490 * libspi/deviceeventcontroller.c:
5491 Added a number of new internal (private) methods.
5492 * libspi/editabletext.c:
5493 * libspi/editabletext.h:
5494 Fixed a number of bugs related to the fact that
5495 editabletext inherits from text. Fixed the EditableText struct,
5496 the init() call, and use correct casts when calling Text methods
5497 from an EditableText object. Removed (duplicate) atko from the
5498 EditableText structure, we use the one in the parent Text
5499 structure via the casts mentioned above.
5500 * libspi/keystrokelistener.[ch]:
5501 * libspi/registry.c:
5502 Changes in support of keyboard handling (above).
5504 Keyboard handling, though partly functional, is still not
5505 recommended for at-spi client use as there is considerable
5506 work yet to be done.
5509 Changed some places where pointers to various int types
5510 are cast to be pointers to CORBA_long types and vice-versa:
5511 pointer casting is not safe so we pass pointers of the correct
5512 types and then cast the result before putting it into the target
5515 * libspi/text.h: minor typos corrected.
5517 We now speak not only the name of a Text element, but the
5518 first sentence of its content, when it receives focus.
5519 I also changed the text compression to 75% from 50%.
5520 * util/Accessibility_Util.server.in:
5521 Changed the default magnifier type to be a 3x vertical
5522 splitscreen magnifier (was previously a 2x horizontal one).
5524 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5526 * libspi/keystrokelistener.h:
5527 * libspi/keystrokelistener.c:
5528 Initial functional implementations of KeystrokeListener.
5531 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5533 Fixed string handling for NULL strings in libspi.
5534 Added spi_freeString to free strings returned by C bindings.
5536 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5538 * libspi/keystrokelistener.h:
5539 * libspi/keystrokelistener.c:
5540 Began (no-op) implementations of KeystrokeListener
5542 * libspi/deviceeventcontroller.c:
5543 * libspi/deviceeventcontroller.h:
5544 Began creating implementations of DeviceEventController,
5545 to handle keystroke and mouse event listening and
5547 * libspi/accessible.c:
5548 Stubbed-in the implementations for
5549 Accessibility_Accessible_getState and
5550 Accessibility_Accessible_getRelationSet.
5551 * libspi/registry.c:
5552 Improved de-registration process and fixed some bugs,
5553 deregistration now works correctly.
5555 Added initialization of applications list (to NULL).
5557 Reduced speech compression from 0.5 to 0.7, for demo.
5558 Changed call to gdk_window_set_decorations()
5559 to gtk_window_set_decorated().
5560 * at-bridge/bridge.c:
5561 Bridge now deregisters when app exits, via
5562 registration of a cleanup function
5563 with the g_atexit() call.
5564 Required making 'app' static, renamed 'this_app'.
5565 Fixed broken use of bonobo_init, passing argv wrongly.
5567 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5571 Created a new directory for
5572 accessibility-related utilities, primarily for
5573 testing and demo purposes, but with possible
5580 Onscreen magnifier utility that
5581 is implemented as a bonobo service.
5583 * util/mag_client.c:
5584 * util/mag_client.h:
5585 Client-side support (simple C bindings)
5586 for Magnification service
5588 * util/mag_control.c:
5589 Client program example for
5590 Magnification service
5592 * util/Accessibility_Magnifier.server.in:
5593 Bonobo-activation file for the
5594 Magnification service.
5597 * util/idl/Magnifier.idl:
5598 IDL defining the bonobo Magnification
5602 Modifications to use the bonobo-activated magnifier
5603 above, in place of trying to connect to an existing
5604 magnifier that uses socket-listening IPC.
5606 If env variable MAGNIFIER is set, a magnifier service
5607 will be started if one does not exist.
5609 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5611 * at-bridge/bridge.c:
5612 applied patch from Marc to build and run
5613 against new glib and gtk+ (seemed like a change
5614 to bonobo_init signature was made ?)
5616 made festival-server support turned off by default.
5617 Added support for a simple magnifier (off by default)
5618 which will be added to a 'util' directory later.
5619 * at-bridge/Makefile.am:
5620 Changed "application.h" header from a 'source'
5621 to a 'dependency' of libat-bridge.
5623 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5632 Added interface implementation c files to list of
5633 includes so they are included in libcspi.
5636 Changed prototype of AccessibleAction_doAction to return a
5638 Changed prototype of AccessibleTable_getCaption to
5639 return an Accessible.
5640 Changed prototype of AccessibleTable_getSelectedRows
5641 and AccessibleTable_getSelectedColumns to
5642 return a long (returns the number of selected rows
5643 or columns respectively).
5644 Changed name of AccessibleText_refRunAttributes to
5645 AccessibleText_getAttributes.
5646 Changed prototype of AccessibleText_getCharacterExtents to
5647 return a void rather than a boolean.
5648 Added support for a AccessibleCoordType parameter
5649 specifying what type of coordinates are desired.
5650 Added an AccessibleCordType parameter to
5651 AccessibleText_getPointAtOffset.
5653 * cspi/spi_accessible.c:
5654 Added code to return the outstanding interfaces from
5655 Accessible_queryInterface.
5657 * cspi/spi_action.c:
5659 Corrected call to getNActions to call the c binding
5662 * cspi/spi_editabletext.c:
5664 Changed name from setRunAttributes to setAttributes.
5666 * cspi/spi_hyperlink.c:
5668 Changed call to getNAnchors to correctly call the c
5669 binding for an attribute.
5671 * cspi/spi_hypertext.c:
5673 Changed getImageDescription to correctly call the
5674 binding for an attribute.
5676 * cspi/spi_selection.c:
5677 Changed getNSelectedChildren to correctly call the c
5678 binding for the attribute.
5679 Changed refSelectedChild to getSelectedChild.
5683 Changed getCaption to return an Accessible.
5684 Fixed calls which retrieve attributes.
5685 Changed refAt to getAccessibleAt.
5686 Changed getNSelectedRows and getNSelectedColumns to
5690 Changed getCharacterExtents and getPointAtOffset to accept an
5691 AccessibleCoordType.
5693 Changed calls which retrieve attributes.
5694 Changed refRunAttributes to getAttributes.
5699 * idl/Hyperlink.idl:
5700 Changed n_anchors attribute to nAnchors to keep naming
5701 convention consistent.
5704 Made Table inherit from Bonobo::Unknown.
5705 Added nSelectedColumns and nSelectedRows attributes.
5708 Made Value inherit from Bonobo::Unknown.
5710 * libspi/hyperlink.c:
5711 Change for nAnchors attributte name change.
5713 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5721 Added interface implementation c files to list of
5722 includes so they are included in libcspi.
5725 Changed prototype of AccessibleAction_doAction to return a
5727 Changed prototype of AccessibleTable_getCaption to
5728 return an Accessible.
5729 Changed prototype of AccessibleTable_getSelectedRows
5730 and AccessibleTable_getSelectedColumns to
5731 return a long (returns the number of selected rows
5732 or columns respectively).
5733 Changed name of AccessibleText_refRunAttributes to
5734 AccessibleText_getAttributes.
5735 Changed prototype of AccessibleText_getCharacterExtents to
5736 return a void rather than a boolean.
5737 Added support for a AccessibleCoordType parameter
5738 specifying what type of coordinates are desired.
5739 Added an AccessibleCordType parameter to
5740 AccessibleText_getPointAtOffset.
5742 * cspi/spi_accessible.c:
5743 Added code to return the outstanding interfaces from
5744 Accessible_queryInterface.
5746 * cspi/spi_action.c:
5748 Corrected call to getNActions to call the c binding
5751 * cspi/spi_editabletext.c:
5753 Changed name from setRunAttributes to setAttributes.
5755 * cspi/spi_hyperlink.c:
5757 Changed call to getNAnchors to correctly call the c
5758 binding for an attribute.
5760 * cspi/spi_hypertext.c:
5762 Changed getImageDescription to correctly call the
5763 binding for an attribute.
5765 * cspi/spi_selection.c:
5766 Changed getNSelectedChildren to correctly call the c
5767 binding for the attribute.
5768 Changed refSelectedChild to getSelectedChild.
5772 Changed getCaption to return an Accessible.
5773 Fixed calls which retrieve attributes.
5774 Changed refAt to getAccessibleAt.
5775 Changed getNSelectedRows and getNSelectedColumns to
5779 Changed getCharacterExtents and getPointAtOffset to accept an
5780 AccessibleCoordType.
5782 Changed calls which retrieve attributes.
5783 Changed refRunAttributes to getAttributes.
5788 * idl/Hyperlink.idl:
5789 Changed n_anchors attribute to nAnchors to keep naming
5790 convention consistent.
5793 Made Table inherit from Bonobo::Unknown.
5794 Added nSelectedColumns and nSelectedRows attributes.
5797 Made Value inherit from Bonobo::Unknown.
5799 * libspi/hyperlink.c:
5800 Change for nAnchors attributte name change.
5803 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5805 implementations-- made server implementations own AtkObject pointers
5806 rather than their respective AtkInterrface pointers to fix
5807 refcounting. AtkHyperlink is still broken.
5809 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5810 * cspi/spi_accessible.c:
5811 Added method Accessible_Role_getName(),
5812 and requisite string array (role_names).
5813 Added conversion string_from_corba_strin() call
5814 to Accessible_getName and _getDescription.
5815 * libspi/accessible.c:
5816 Added implementation for Accessible_getRole()
5818 Added festival support, used if environment variable
5821 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5823 * at-bridge/bridge.c:
5824 Now allocate Accessibility_Event using
5825 Accessibility_Event__alloc() instead of g_new0().
5826 * libspi/accessibleeventlistener.c:
5827 Initialize AccessibleEventListener->callbacks to NULL.
5828 Fixed accessible__event_listener_init() param, changed to
5829 "AccessibleEventListener *" type.
5830 Changed a bonobo_object_release_unref() call to
5831 Accessibility_Accessible_unref().
5832 * libspi/listener.c:
5833 Changed Bonobo_Unknown_unref to (equivalent)
5834 Accessibility_Accessible_unref.
5835 * libspi/registry.c:
5836 Changed bonobo_object_release_unref to
5837 Accessibility_Accessible_unref.
5839 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5842 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5843 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5844 spi-util.c spi-util.h
5845 Implementations for C bindings to remaining accessibility
5848 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5851 changed return value of Action from void to boolean to
5852 bring in line with ATK.
5855 Changed getText funcions to return "out" start and end offsets.
5856 Changed getAttributes to take and offset and return the start
5857 and end offset of the attribute run.
5858 Changed getOffsetAtPoint and getCharacterExtents to take an
5859 enum describing whether coordinates are window or screen.
5862 libspi/action.c libspi/action.h libspi/editabletext.c
5863 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5864 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5865 libspi/image.h libspi/selection.c libspi/selection.h
5866 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5867 libspi/value.c libspi/value.h
5868 Added server implementations for outstanding ATK interfaces
5869 not yet implemented.
5871 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5874 Added (missing) getName() method.
5875 Made nActions an attribute.
5876 * idl/EditableText.idl:
5877 Changed order of params in setAttributes.
5878 * idl/Hyperlink.idl:
5879 Removed getAnchor, added getURI.
5881 Changed attributes to methods, for efficiency
5882 (so that getting extents can be done in one call)
5883 * idl/Selection.idl:
5884 Changed nSelectedChildren to attribute, and re-indented.
5885 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5887 * idl/Text.idl: reformatted to match our coding style.
5888 (temporarily?) removed getRowColumnAtOffset().
5889 Changed text selection API to support multi-select and
5890 non-contiguous selections, as in ATK.
5891 * idl/Value.idl: changed some methods to attributes.
5893 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5895 * libspi/listener.c(impl_notify_event):
5896 BonoboUnkown_unref the source instead
5897 of bonobo_object_release_unref - the ORB
5898 handles the releasing.
5900 * configure.in: require ORBit-2.3.94 for
5903 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5905 Tagged CVS repository 'EA_1_0'.
5906 * README.EARLY_ACCESS:
5907 Alphabetized acknowledgements list, and
5909 Listed some known dependencies of at-spi.
5911 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5913 * docs/at-spi-docs.sgml:
5914 * docs/at-spi-sections.txt:
5915 * docs/at-spi-overrides.txt: (Added zero-length file)
5916 Documentation improvements - gtk-doc should build
5917 docs for all implemented C bindings now.
5920 * cspi/spi.c: (New file)
5921 * cspi/spi_event.c: (New file)
5922 * cspi/spi_registry.c: (New file)
5923 * cspi/spi_accessible.c: (New file)
5924 * cspi/spi_application.c: (New file)
5925 * cspi/spi_component.c: (New file)
5926 Split spi_main.c into six parts, and included them from
5927 "spi.c". This is a bit of a hack, probably temporary,
5928 but required by gtk-doc, apparently.
5930 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5933 * docs/at-spi-docs.sgml:
5934 * docs/at-spi-sections.txt:
5936 Initial checkins/modifications for gtk-doc generation.
5939 Added (missing) interface query methods to Accessible's C binding.
5941 Added GenericInterface type definition.
5943 Added query for AccessibleComponent interface to focus event handler.
5944 Added printout of bounding box for focussed component.
5945 * libspi/component.c:
5946 Added partial implementation for AccessibleComponent to C binding.
5947 * idl/Application.idl:
5948 * libspi/registry.c:
5949 * libspi/listener.c:
5950 * libspi/application.c:
5951 * libspi/application.h:
5952 Changed "ID" attribute type from string to long.
5954 2001-08-19 Bill Haneman <bill.haneman@sun.com>
5958 Made method naming consistent: methods taking object args
5959 start with uppercase, other methods (except those using
5960 acronyms) start with lowercase. Underscores delimit between
5961 object names and method names:
5962 SPI_init() - uppercase since it starts with an acronym.
5963 getDesktopCount () - lowercase start since no object param0.
5964 Accessible_getName() - uppercase object type name, studlyCaps method
5968 Added gtk-doc documentation for all currently implemented
5969 methods in the C bindings API.
5971 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5973 * Makefile.am : changed build order to build test last.
5976 Changed "createEventListener" to "CreateEventListener".
5977 * libspi/accessibleeventlistener.c :
5978 Bugfix for addition of callbacks.
5979 * test/Makefile.am :
5980 * test/simple-at.c :
5981 Added new test that uses the C bindings API.
5983 * libspi/listener.c :
5984 * libspi/registry.c :
5985 * libspi/accessibleeventlistener.c :
5986 * at-bridge/bridge.c :
5987 Renamed member "target" of Accessibility_Event to "source",
5988 which is more descriptive.
5991 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5995 * cspi/Makefile.am :
5996 Added makefile support for at-spi/cspi directory.
5999 * cspi/spi-listener.h : (NEW FILE)
6000 Added support for/use of spi-listener.h.
6002 C bindings now build successfully, with no warnings.
6003 * libspi/accessibleeventlistener.h : (NEW FILE)
6004 * libspi/accessibleeventlistener.c : (NEW FILE)
6005 * libspi/Makefile.am :
6006 Added new object type "AccessibleEventListener"
6007 which inherits from Listener, and allows attachment
6008 of in-process callbacks (so that a client with a listening
6009 object instance can add functionality to the local
6010 implementation, dynamically).
6012 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6014 * libspi/accessible.c:
6015 Add implementation for get_index_in_parent().
6017 Added #include of "spi-roletypes.h", and
6018 added enumerated type AccessibleCoordType.
6019 Added definition for KeystrokeListener (function type).
6022 * cspi/spi-statetypes.h :
6023 * cspi/spi-roletypes.h :
6025 Added these headers, used by spi.h.
6027 Added code (NOTE: not yet built by make).
6029 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6031 * libspi/Makefile.am: generate imodule
6032 at the same time as other idl compiler
6035 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6036 * libspi/registry.c :
6037 * libspi/application.c :
6038 * idl/Application.idl :
6039 Made registration with toolkit an application method,
6040 which is required since each app has its own toolkit static
6041 environment. Thus the bridge must register for
6042 notification of toolkit events from each application in turn.
6043 Toolkit notifications are now successfully registered for, and
6044 sent to the listening at client.
6046 Changed toolkit event string to use hyphens rather than underscores.
6047 * libspi/listener.c :
6048 listner now gives more info in debug mode - it reports the
6049 name of the event received, as well as the name of the source.
6052 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6054 * libspi/registry.c :
6055 added more implementation for toolkit events.
6056 Fixed bug such that toolkit event registrations
6057 (via atk) use the whole event name string, not
6059 Removed a useless call to an ORBit_ method.
6060 * at-bridge/bridge.c :
6061 Removed unused local sbuf[] variable.
6063 We now register for Gtk:GtkWidget:button_press_event
6064 events as well as "focus:" events.
6066 Add some more API from Registry.idl that was missing,
6067 for keystroke listening, keystroke and mouse event
6068 synthesis, and enumeration of accessible desktops.
6070 2001-08-16 Michael Meeks <michael@ximian.com>
6072 * configure.in: use AM_GLIB_GNU_GETTEXT.
6074 * Makefile.am (SUBDIRS): kill intl.
6076 2001-08-15 Michael Meeks <michael@ximian.com>
6078 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6080 * configure.in: upd.
6082 * configure.in: depend on a recent bonobo-activation that
6083 will find our server files ...
6085 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6087 * libspi/accessible.c : accessible_new() :
6088 Now we add the Component interface via bonobo_object_add_interface,
6089 if the contained AtkObject implements AtkComponent.
6090 * libspi/accessible.h : now include "component.h"
6091 * libspi/component.h :
6092 * libspi/component.c : added files - implementation of
6093 bonobo wrapper object for Accessibility/Component
6094 * libspi/listener.c :
6095 Added test code to check for Accessibility/Component:1.0
6096 interface and report whether it is implemented by the
6098 * libspi/registry.c :
6099 Now we check for not only the hash of the whole event
6100 string before relaying the event, we also check the
6101 "minor" event string (without the detail string).
6102 This allows event listeners to be registered against
6103 all events of a certain major+minor type, or just
6104 against a specific major+minor+detail type.
6105 * libspi/accessible.c :
6106 Added implementations for Accessible:get_parent(),
6107 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6108 * libspi/registry.c :
6109 * libspi/listener.c :
6110 Replaced calls to Accessibility_Accessible_ref() and
6111 Accessibility_Accessible_unref() with
6112 calls to bonobo_object_dup_ref() and
6113 bonobo_object_release_unref(), so that the CORBA object
6114 is dup-ed and released when relayed, as well as the bonobo object.
6116 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6118 * libspi/Makefile.am,
6119 registryd/Makefile.am,
6120 at-bridge/Makefile.am.
6121 test/Makefile.am, configure.in:
6122 reverse previous changes.
6124 * /idl/Image.idl: fix typo.
6126 * test/Makefile.am: put DEBUG_FLAGS
6129 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6131 * test/app.c: use argv[0] instead of
6134 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6136 * libspi/Makefile.am,
6137 registryd/Makefile.am,
6138 at-bridge/Makefile.am.
6139 test/Makefile.am, configure.in:
6140 cleanup, replace individual LIBS/CFLAGS with
6141 AT_COMMON_{LIBS|CFLAGS}.
6145 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6147 * configure.in, libspi/Makefile.am:
6148 Change IDL path checking for bonobo-activation
6151 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6153 * registryd/registry.c : separated event listeners to use
6154 3 separate lists (focus, window, toolkit). Began testing
6155 event names against hashes before relaying events.
6156 * test/at.c : now register for events of type "focus:"
6157 * test/app.c : now generate events of type "focus:"
6158 * at-bridge/bridge.c : register with ATK for focus events,
6159 and we now relay those focus events to any "focus:" listeners.
6160 This now works with the bridge as a GTK_MODULE when running test/at.
6161 * libspi/registry.c :
6162 * libspi/listener.c :
6163 now we ref event sources before propagating, and unref on receipt.
6164 * libspi/registry.c :
6165 some changes to internal structs, to support event typestring hashes.
6166 * text/app.c : changed the way the appname is generated.
6167 * cspi : added directory that will hold the C bindings library for
6168 non-CORBA/bonobo-savvy clients.
6169 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6170 * idl/Component.idl : added in parameter to indicate coord system for
6171 geometry-related calls.
6172 * idl/Hyperlink.idl : added readonly n_links attribute
6173 * idl/Image.idl : changed methods to attributes.
6175 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6177 * at-bridge/Makefile.am: link against
6178 ../libspi/libspi.la instead of -lspi.
6180 * at-spi/test/app.c: include
6181 bonobo-activation.h. Use a default appname
6182 if one is not provided.
6184 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6186 * idl/Registry.idl : temporarily changed register_Application
6187 to oneway, to work around issue with initial registration
6189 * idl/Application.idl : changed attribute "id" from readonly
6190 to read-write, since it needs to be assigned by Registry.
6191 * registryd/registryd.c : added call to set application id
6193 * registryd/registry.c : changed de-registration procedure to
6194 use CORBA_Object_hash() to find matching object ref in application
6195 lists and listener lists.
6196 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6197 began distinguishing between event types (work in progress).
6199 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6202 * libspi/application.c:
6203 Added implementations for get/set id, get_toolkitName,
6205 * registryd/registryd.c :
6209 Converted from use of OAF to bonobo-activation.
6210 * libspi/desktop.h :
6211 * libspi/desktop.c :
6213 Removed references to atksimpleobject, since base atkobject
6214 implementation now provides functionality we need.
6215 * libspi/atksimpleobject.c :
6216 * libspi/atksimpleobject.h :
6221 * at-bridge/Makefile.am
6222 * at-bridge/bridge.c
6225 Added directory "bridge" and contents, and added dependencies
6226 in Makefile.am/configure.in.
6227 Initial checkin of "at-bridge".
6228 This code is a GTK_MODULE which automatically registers
6229 GTK+ apps with the accessibility registry, using an object
6230 reference to the root ATK object.
6232 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6234 * po/Makefile.in.in: Remove. Again. If this
6235 doesn't get autogenerated - you need to update
6238 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6240 * po/Makefile.in.in: Add. Again.
6242 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6244 * libspi/accessible.c : added support for 'description' property.
6245 * libspi/accessible.c
6247 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6248 (since the two are now equivalent in libbonobo)
6256 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6257 Bonobo::Unknown as does Accessibility::Accessible.
6258 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6259 interface with Bonobo::Stream, since it was redundant with it.
6260 (The Stream returned by a StreamableContext object is expected to
6261 implement only a subset of Bonobo::Stream)
6263 2001-07-28 Anders Carlsson <andersca@gnome.org>
6265 * libspi/accessible.c (accessible_object_finalize): Change
6266 g_free to g_object_unref since the AtkObject is a GObject.
6268 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6270 * idl/Accessibility.idl: add new IDL files
6273 * idl/Action.idl: Definitions of actionable UI object
6274 * idl/Component.idl: Definitions of UI component geometry, etc.
6275 * idl/Hyperlink.idl: Defs of hyperlink behavior
6276 * idl/Image.idl: Def of accessible image
6277 * idl/Selection.idl: Definition of UI object with selectable children
6278 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6279 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6280 * idl/Text.idl: Interface defs for UI elements with complex textual content
6281 * idl/Value.idl: Definition of UI element that is a value controller or display
6283 2001-07-27 Michael Meeks <michael@ximian.com>
6285 * po/Makefile.in.in: remove autogenerated file from CVS.
6287 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6290 * idl/Registry.idl: include guard.
6292 * idl/Accessibility.idl: Add, and include all the other IDL
6295 * idl/*.idl: remove mass of pragmas etc.
6297 2001-07-26 Michael Meeks <michael@ximian.com>
6299 * registryd/Makefile.am (registryd_SOURCES): remove
6302 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6304 * libspi/.cvsignore, registryd/.cvsignore,
6305 test/.cvsignore: updated.
6307 * po/Makefile.in.in: gettext update.
6309 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6311 * initial CVS checkin
6313 2001-06-29 Michael Meeks <michael@ximian.com>
6315 * configure.in: add AM_CONFIG_HEADER to gen config.h