1 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4 (impl_accessibility_accessible_get_child_at_index):
5 Change return value for g_return_if_fail ()
6 to CORBA_OBJECT_NIL instead of "0" (!)
8 2002-03-13 Michael Meeks <michael@ximian.com>
10 * atk-bridge/bridge.c (atk_bridge_init): don't register
11 if we're in a bonobo-component, rather than a bonobo app.
13 2002-03-13 Michael Meeks <michael@ximian.com>
15 * atk-bridge/bridge.c (gtk_module_init): split
16 out body to (atk_bridge_init): here, since otherwise
17 we get symbol conflicts and oddness when invoked
18 from (gnome_accessibility_module_init): here (upd.)
20 2002-03-11 Bill Haneman <bill.haneman@sun.com>
23 New file. Explicitly allow "build sheriff" putbacks provided
24 they are tested on Solaris.
26 * docs/reference/cspi/Makefile.am:
27 Added '-' to the "cp" command for index.sgml.
28 ("patch by thomasvs, soon coming to a GUADEC near you")
31 Incremented version number (0.9.0) for new release.
32 Changed macro that checks for popt, to better detect
33 obsolete versions of popt.
36 Added X_LIBS to AC_SUBST, for applications
37 that call Xlib API directly.
40 2002-03-07 Bill Haneman <bill.haneman@sun.com>
43 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
46 Fix regression caused by hard-coding major
47 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
50 * test/test-simple.c (test_editable_text),
51 (test_test): revert previous change (error was
52 a regression in gail which is now fixed).
54 2002-03-04 Michael Meeks <michael@ximian.com>
56 * test/test-simple.c (test_editable_text),
57 (test_text): pass G_MAXINT instead of '-1' for
58 whole string - is this a good thing !?
60 * cspi/spi_accessible.c
61 (Accessible_getRelationSet): fix crasher bug
62 overwriting the end of the array.
64 * test/test-simple.c (validate_accessible): free,
65 not g_free returned relation set.
67 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
69 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
70 implemented stateset support
72 * idl/Accessibility_State.idl: Made necessary changes to
73 the IDL to support state sets.
75 2002-02-12 Bill Haneman <bill.haneman@sun.com>
77 * registryd/deviceeventcontroller.c:
78 Added implementation for generateMouseEvent.
80 * cspi/spi_registry.c:
81 Connected new implementation for generateMouseEvent
84 2002-02-12 Bill Haneman <bill.haneman@sun.com>
87 Incremented revision (but no change in public API
88 outside of 'utils', which are not installed public yet.)
91 Changed to use atk_component API for layers and
92 mdi_zorder, instead of deprecated atk_object API.
94 Magnification Utility Enhancements:
97 Added implementation of createZoomRegion, clearAllZoomRegions,
98 resizeZoomRegion. Added new commandline argument
99 "--no-initial-region". Note that clearAllZoomRegions doesn't
100 unmap the old '0' region as it should (yet), and the other
101 methods only work when creating/resizing a single region,
103 (Code for multiple region support will be added later.)
106 Now we raise the magnifier window each time it's refreshed;
107 this will help keep it on top.
110 Added simple wrappers for above, used by mag_control.
111 For general use, it's recommended to use the bonobo magnifier
112 control API directly instead of using these wrappers.
115 Moved ZoomRegionData from magnifier.c to this file.
117 * util/mag_control.c:
118 Added some code to exercise new IDL implementations.
120 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
122 * libspi/text.c: Provide implementation for getAttributes.
124 2002-02-04 Bill Haneman <bill.haneman@sun.com>
127 Incremented revision.
129 * test/test-simple.c:
130 Replaced use of deprecated g_main_iteration with
131 g_main_context_iteration.
133 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
136 Incremented revision for desktop alpha 2.
138 2002-01-28 Mark McLoughlin <mark@skynet.ie>
140 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
143 * test/simple-at.c: include netinet/in.h.
145 2002-01-24 Mark McLoughlin <mark@skynet.ie>
147 * cspi/spi_accessible.c: (Accessible_getRelationSet):
148 use NULL, not CORBA_OBJECT_NIL.
150 * libspi/accessible.c:
151 (impl_accessibility_accessible_get_relation_set):
152 allocate the sequence correctly.
154 * libspi/remoteobject.h: kill spi_remote_object_new.
156 * test/test-simple.c: (validate_accessible): add code
157 to test relation sets, now all we need is to figure
158 out how to excercise this code path :/
160 2002-01-18 Michael Meeks <michael@ximian.com>
163 (key_listener_cb): consume the key.
164 (test_keylisteners): update.
165 (main): wait for any pending unrefs on events.
167 * registryd/deviceeventcontroller.c
168 (spi_controller_update_key_grabs): only re-issue the
169 grab on a key release.
170 (spi_device_event_controller_forward_key_event):
171 refresh the keygrabs before we notify the listeners,
172 to reduce the X ungrab / re-grab race.
173 (spi_controller_register_with_devices): remove
174 XSelectInput - we do that with the gdk_window_ call.
175 (_spi_controller_device_error_handler): return a value.
176 s/GDK_DISPLAY/spi_get_display/
178 2002-01-17 Michael Meeks <michael@ximian.com>
180 * registryd/deviceeventcontroller.c
181 (_deregister_keygrab): don't blow out the later
184 * test/test-simple.c (test_keylisteners): do a
185 more intelligent validation.
187 2002-01-14 Michael Meeks <michael@ximian.com>
189 * atk-bridge/bridge.c
190 (gnome_accessibility_module_init),
191 (gnome_accessibility_module_shutdown): impl.
192 (gtk_module_init): protect vs. double inits.
193 (add_signal_listener): impl.
194 (spi_atk_bridge_state_event_listener): kill
195 (deregister_application): split out of
196 (spi_atk_bridge_exit_func): here.
198 2002-01-18 Bill Haneman <bill.haneman@sun.com>
201 Added caret tracking when using magnifier, and
202 now use text bounds for focus tracking of text elements, rather than
203 the component bounds - this is helpful for short text fields in long
204 table cells, at high magnification.
206 2002-01-16 Bill Haneman <bill.haneman@sun.com>
208 * registryd/deviceeventcontroller.c:
209 Regression fix for keylistener de-registration; global keygrabs
210 were not being released when deregisterKeystrokeListener was
211 called in cspi, since
212 Accessibility_DeviceEventController_deregisterKeystrokeListener
213 was called with a zero-length keyset. That is because the cspi
214 method, SPI_deregisterKeystrokeListener, does not take a keyset
215 parameter but instead should remove all the key grabs held be a
217 The code in impl_deregister_keystroke_listener was changed to copy
218 the keylist from the listener instance previously registered with
219 the DeviceEventController before releasing the grabs.
221 * registryd/registry.c:
222 * registryd/deviceeventcontroller.c:
223 * libspi/spi-private.h:
225 Changed spelling of "re-enterant" to "re-entrant" globally.
227 2002-01-16 Bill Haneman <bill.haneman@sun.com>
229 * test/test-simple.c:
230 Changed key listeners test - the test was slightly mis-using the
231 (admittedly poorly documented) SPI_generateKeyboardEvent API.
232 It now uses '=' as the key event listened to and generated,
233 relying on a keysym match rather than assuming that keycode 33
234 is always equal to keysym '!'.
236 2002-01-15 Bill Haneman <bill.haneman@sun.com>
239 Changed simple-at to use a specific keyset, rather than
240 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
241 manager, desktop, etc.
243 2002-01-11 Bill Haneman <bill.haneman@sun.com>
245 * registryd/deviceeventcontroller.c:
246 Replaced standard X error handler with a special handler that
247 is non-fatal for failed keygrabs. This works around
248 problems with keygrab clashes sometimes observed on
250 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
251 mouse handling code as yet).
253 2002-01-11 Bill Haneman <bill.haneman@sun.com>
256 Incremented revision for desktop alpha release.
259 Fixed a couple of the more glaring errors (still not
262 2002-01-11 Michael Meeks <michael@ximian.com>
264 * registryd/deviceeventcontroller.c
265 (spi_device_event_controller_forward_key_event): kill
266 XUngrabKey / XKeyGrab race.
267 (spi_controller_grab_keyboard): rename to
268 (spi_controller_update_key_grabs): this, and deal
269 with incremental adding / removing grabs more
271 (_register_keygrab): ensure we're not pending a remove.
272 (spi_grab_mask_free): impl.
273 (spi_controller_register_global_keygrabs): split out
275 (handle_keygrab): impl.
276 (_deregister_keygrab): impl.
277 (spi_controller_deregister_global_keygrabs): impl.
278 (spi_controller_update_key_grabs): re-issue the grab if
279 we just recieved a notification.
281 * test/test-simple.c (key_listener_cb): remove debug.
283 * registryd/deviceeventcontroller.c
284 (spi_controller_register_device_listener): after
285 registering a global keygrab, actualy register it !
286 don't wait for a timeout; doh !
288 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
289 to make it more readable / manipulable.
290 s/grabmask/grab_mask/ s/refcount/ref_count/
291 s/keyval/key_val/ s/modmask/mod_mask
293 2002-01-08 Michael Meeks <michael@ximian.com>
295 * registryd/deviceeventcontroller.c
296 (spi_controller_register_with_devices): use gdk calls to
298 (global_filter_fn): implement the filter.
299 (spi_device_event_controller_check_key_event): rename to
300 (spi_device_event_controller_forward_key_event): this & upd.
301 (spi_get_display): replace with GDK_DISPLAY.
303 * registryd/deviceeventcontroller.c
304 (spi_controller_deregister_device_listener): unroll into
305 (impl_deregister_keystroke_listener): here to simplify.
306 (spi_controller_register_global_keygrabs): split cut and
307 paste (!) out into (_register_keygrab): here, shorter & sweeter.
308 (spi_controller_deregister_device_listener): remove.
309 (impl_register_mouse_listener): remove, no mouse listener
310 support in at-spi-1.0
312 * registryd/registry.c
313 (_device_event_controller_hook): kill.
314 (spi_registry_init): upd.
316 * registryd/deviceeventcontroller.c
317 (spi_device_event_controller_class_init): upd.
318 (spi_check_key_event): merge into.
319 (spi_device_event_controller_check_key_event):
320 here and kill strange static ev init, don't leak
321 the x_event - nor dynamicaly allocate it.
323 * registryd/registry-main.c (main): re-direct
324 timeout to remove strange vtable mess.
326 * registryd/deviceeventcontroller.c
327 (remove_listener_cb): impl.
328 (spi_controller_deregister_device_listener):
329 fix re-enterancy hazard.
331 2002-01-07 Michael Meeks <michael@ximian.com>
333 * registryd/deviceeventcontroller.c
334 (spi_device_event_controller_new): upd.
335 (impl_notify_listeners_sync): upd. debug.
336 (spi_notify_keylisteners): fix re-enterancy hazards,
337 prettify, remove O(n*n) iteration.
338 (spi_controller_grab_keyboard): fix iteration.
339 (spi_check_key_event): re-format to suit coding style.
340 Clean all the warnings - we're warning free.
342 * registryd/deviceeventcontroller.h:
343 * registryd/registry.h: make mutualy referential with
344 typesafe forward references instead of (!) void pointer
347 2002-01-11 Michael Meeks <michael@ximian.com>
349 * cspi/spi_accessible.c (role_names): add a role name
350 to sync this array with the enum; and make the regression
353 2002-01-10 Michael Meeks <michael@ximian.com>
355 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
356 allow expansion of enumeration & kill warning.
358 * test/test-simple.c (key_listener_cb): impl.
359 (test_keylisteners): impl.
361 * cspi/spi-listener.h: make listener signatures const
362 on the provided (const) events.
364 * test/keysynth-demo.c: upd. to const events.
366 * test/simple-at.c: ditto.
368 2002-01-11 Bill Haneman <bill.haneman@sun.com>
371 Rev the version to 0.5 (the previous tarball was named 0.4,
372 even though the micro number was 3), so we need to rev upwards
373 again for beta2/"desktop-alpha"
376 Checked in a demo script, which requires editing before use!
377 Proceed with caution.
380 Fixed typo in header which was redefining SPI_ACTION_CLASS.
382 * cspi/spi_accessible.c:
383 Add a couple of missing enum initializations, and fix some enum
386 * cspi/spi_registry.c:
387 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
389 * docs/reference/cspi/at-spi-cspi-sections.txt:
390 Remove/fix a couple of broken document references.
393 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
394 as Alt-Control to listen for commands, since on some systems
395 Control-Alt may already be grabbed.
397 2002-01-10 Bill Haneman <bill.haneman@sun.com>
400 Update version number to 0.4 for Beta2.
402 * libspi/accessible.c, libspi/accessible.h:
403 Expose spi_accessible_construct, to enable libgail-gnome
404 construction from spi_accessible subtype.
407 Workaround for bug in some non-gnome-compliant window managers
408 which made magnifier resize improperly.
410 2002-01-09 Bill Haneman <bill.haneman@sun.com>
412 * libspi/accessible.c: (spi_accessible_new) :
413 Move the test for SPI_IS_REMOTE_OBJECT to
414 spi_accessible_new_return, fixing a bug and compile time warning.
416 2002-01-08 Michael Meeks <michael@ximian.com>
418 * registryd/registry.c (parse_event_type): remove strndup.
420 * libspi/Makefile.am (libspi_la_SOURCES): remove
421 sources already included in the headers section.
423 * libspi/util.c: add.
425 * libspi/spi-private.h: add.
427 * registryd/registry.c: update to moved list iterators.
429 2002-01-05 Michael Meeks <michael@ximian.com>
431 * test/simple-at.c (main): upd. auto-module set to atk-bridge
433 * test/test-simple.c (main): ditto.
435 2002-01-04 Michael Meeks <michael@ximian.com>
437 * libspi/accessible.c (spi_accessible_new): remove 2nd,
440 * registryd/registry.c
441 (get_listener_list): impl.
442 (impl_accessibility_registry_register_global_event_listener):
443 re-impl. to simplify using ~, remove dodgy const cast off.
444 (parse_event_type): constify.
445 (impl_accessibility_registry_deregister_global_event_listener_all):
446 re-write, more efficiency and simplicity, kill re-enterancy
448 (compare_listener_corbaref, compare_corba_objects),
449 (compare_listener_quarks): define out.
450 (impl_accessibility_registry_deregister_global_event_listener):
451 re-write for effiency, and nail re-enterancy hazard.
452 (impl_accessibility_registry_get_desktop_list): impl.
453 (re_enterant_list_delete_link): impl.
454 (re_enterant_list_foreach): impl.
455 (remove_listener_cb): impl.
456 (_registry_notify_listeners): kill.
457 (notify_listeners_cb): impl.
459 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
460 (SPI_getDesktopList): impl.
462 * test/test-simple.c (test_desktop): test the methods.
464 2002-01-03 Michael Meeks <michael@ximian.com>
466 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
467 keystrings since we free them
468 (SPI_freeAccessibleKeySet): in here.
470 * libspi/accessible.c (spi_accessible_new): kill warning,
471 wonder what is going on with the constructor here.
473 2002-03-01 Bill Haneman <bill.haneman@sun.com>
475 * libspi/accessible.c (spi_accessible_new ()) :
476 Added check to see if AtkObject is an SpiRemoteObject before
477 creating an SpiAccessible.
479 2002-05-01 Bill Haneman <bill.haneman@sun.com>
481 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
482 Enable keygrabs using the Control modifier, now that they are
483 working properly (they were previously disabled).
486 Change the command keygrab for this demo to "Control+Alt", so as
487 to conflict with fewer other key commands on the system; this
488 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
490 Removed a pointlessly-chatty keylistener for unshifted keys
491 (shifted keys are still reported).
493 2002-02-01 Bill Haneman <bill.haneman@sun.com>
495 * libspi/remoteobject.h:
496 * libspi/remoteobject.c:
497 Added definitions for special AtkObject subtype, required for
498 support of remote components (specifically, used by BonoboControl
499 accessibility implementation).
501 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
503 * cspi/spi.h: synched relation types with ATK
505 * cspi/spi_accessible.c: Added implementations of
506 AcccessibleRelation_* methods
508 * idl/Accessibility_Relation.idl: added getRelationTypeName
509 method. Synched known relation types with ATK. Allowed for
510 relation type extension with the RELATION_EXTENDED type.
512 * libspi/relation.c: Provided implementations for
513 AccessibleRelation methods.
515 2002-01-01 Bill Haneman <bill.haneman@sun.com>
517 API tweaks for today's API 'freeze'.
520 Added placeholder functions to allow future compatible expansion
521 of the IDL interfaces.
523 * idl/Accessibility_Registry.idl:
524 Changed generateKeyEvent to generateKeyboardEvent. Changed
525 signature of this method to accept an optional keystring in
526 parameter (for complex text input synthesis) and changed use of
527 simple 'boolean' parameter in registerKeystrokeListener to a
528 struct, EventListenerMode.
530 * cspi/spi_accessible.c:
532 * cspi/spi_streamablecontent.c:
533 Added references to AccessibleStreamableContent interface, and
534 definition and implementation of AccessibleStreamableContent
537 * cspi/spi_registry.c:
539 Changed generateKeyEvent API to generateKeyboardEvent,
540 taking a new (optional) keystring parameter to support complex
545 Renamed directory (to better reflect its actual purpose, bridging
546 from at-spi to ATK). The .so module is also now named
549 * idl/Accessibility_Hypertext.idl:
550 * libspi/accessible.c:
551 * libspi/hypertext.h:
552 * libspi/hypertext.c:
553 Changed Accessibility_Hypertext to *not* derive from
556 * cspi/spi_registry.c:
557 Added list of legal event type names for 'window' events, which
558 completes the registry event API.
560 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
562 * at-bridge/bridge.c: Added registration for separate
563 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
564 signals. If either of the first two parameters to the generic
565 bridge signal handler are ints, they are passed on as event
566 details. This allows an AT to determine what text was inserted.
568 2001-12-21 Bill Haneman <bill.haneman@sun.com>
570 * registryd/deviceeventcontroller.c:
571 Fixed regressions in generateKeyEvent caused by the removal of
572 gdk_init from registryd; we now use pure X calls to connect to the
573 display, which makes sense because deviceeventcontroller already
574 uses a fair bit of X API (should eventually be migrated to a
575 'portability layer').
577 * registryd/desktop.c:
578 Fixed minor regression in spi_desktop_init, changed the way the
579 desktop name is being set to work with new spi_base API
580 (gobject-based, rather than AtkObject-based).
582 * registryd/Makefile.am:
583 Minor revision of makefile to use XTST_LIBS variable rather than
584 hard-wiring the Xtst LD_ADD element.
586 * test/keysynth-demo.c:
587 Tweaked an output message; added initialization of the
588 'keystrings' member of the "switch listener" key_set.
591 Squashed compile-time warning.
593 * libspi/accessible.c:
594 Cosmetic and formatting fixes, renamed a static method.
596 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
598 * libspi/accessible.c
600 * libspi/application.c
604 * libspi/editabletext.c
612 * registryd/desktop.c:
613 Changed SpiBase to contain a GObject pointer rather than an AtkObject
615 2001-12-17 Bill Haneman <bill.haneman@sun.com>
617 * idl/Accessibility_Registry.idl:
618 Added boolean member 'is_text' to DeviceEvent. This is for the
619 use of key events, and helps prevent ambiguity between composed
620 key strings and keysym names, since both may potentially be
621 returned in the 'event_string' member.
623 * at-bridge/bridge.c:
624 * registryd/deviceeventcontroller.c:
625 Use the 'is_text' member when notifying device event listeners.
626 Knon issue: composed characters are not dealt with correctly by
627 the global key listener implementation yet.
629 2001-12-17 Bill Haneman <bill.haneman@sun.com>
631 * at-bridge/bridge.c:
632 Namespaced local static methods to spi_atk_bridge_* where
633 previously named bridge_*, and spi_* elsewhere.
635 * at-bridge/bridge.c:
636 * cspi/bonobo/cspi-bonobo-listener.c:
637 Added demarshalling/conversion for string member of
638 Accessibility_DeviceEvent to AccessibleKeystroke.
640 * registryd/deviceeventcontroller.c:
641 Added code to fill the Accessibility_DeviceEvent key string value
642 member for global key events (i.e. from XGrabKey), to match
643 behavior of Accessibility_DeviceEvent from the toolkit key events
644 from the bridge. Fixed timestamp in global key event notifications.
647 Added printout of key event's string value to
648 report_ordinary_key_event, for demo/debugging purposes.
650 2001-12-15 Bill Haneman <bill.haneman@sun.com>
652 * idl/Accessibility_Registry.idl:
653 Removed Accessibility_KeyStroke structure in favor of generic
654 Accessibility_DeviceEvent structure.
655 Changed Accessibility_ControllerEventMask from a struct to an
658 * at-bridge/bridge.c:
659 Changed APIs to use DeviceEvent structure as above, and removed
660 bogus casting between these event structures.
662 * cspi/spi-listener.h:
663 Added keystring member of AccessibleKeystroke structure, to enable
664 matching on event "names" rather than only hardware codes and
668 Added keystrings member of AccessibleKeySet struct, to allow
669 matching on event names (as above).
670 Added declarations for SPI_createAccessibleKeySet and
671 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
672 event modmasks directly as unsigned ints rather than structs with
673 refcounts, in the DeviceEventController methods.
675 * cspi/spi_registry.c:
676 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
678 * cspi/spi-roletypes.h:
679 Added documentation of newly added SPI Roles.
681 * cspi/bonobo/cspi-bonobo-listener.c:
682 Changes in support of API changes above.
684 * libspi/accessible.c:
685 Converted APIs to use DeviceEvent structure (see IDL changes
688 * registryd/deviceeventcontroller.c:
689 Added DEControllerGrabMask structure to track keygrabs not only by
690 modmask but by keyset as well; this allows us to do "global"
691 (i.e. X) keygrabs on a per-key or keyset basis rather than always
692 grabbing on AnyKey and then filtering after-the-fact.
693 Bugfixes for event filtration mean that we don't get false matches
694 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
696 * registryd/deviceeventcontroller.c:
697 Namespaced a number of static methods to use spi_ prefix. Major
698 revision to internals of global (i.e. X) key grabs.
700 * registryd/deviceeventcontroller.h:
701 Removed keymask_list and added keygrabs_list to
702 SpiDeviceEventController struct.
705 Added use of SPI_createAccessibleKeySet API when creating a
706 listener for only one key. Attach a listener to "shift spacebar
707 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
708 X key event names to SPI key event names, so that listeners are
709 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
711 * test/keysynth-demo.c:
712 Changed (incorrect) use of X key event names (KeyPressed,
713 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
716 2001-12-12 Bill Haneman <bill.haneman@sun.com>
718 * libspi/accessible.c:
719 Convert all AtkRole enumerations to Accessibility_Role enums when
720 getting a role from an AtkObject.
722 * cspi/spi_accessible.c:
723 Complete the conversion of Accessibility_Role enums at runtime to
724 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
725 role enums correctly match those given in spi-roletypes.h.
726 Re-synchronize the local names list for AccessibleRole_getName ().
727 AccessibleRole_getName is now deprecated, since it duplicates the
728 more reliable Accessible_getRoleName.
729 Added some role types from Accessibility_Role.idl.
731 * idl/Accessibility_Role.idl:
732 Added some role types used by AtkRole.
734 2001-12-12 Bill Haneman <bill.haneman@sun.com>
737 * cspi/spi_registry.c:
739 * cspi/cspi-bonobo-listener.c:
740 Namespaced all methods that did not begin with an "SPI_" or
741 "Accessible" prefix to "SPI_".
744 Homogenized internal function namespace to "cspi_" for statics.
747 Patched tests to use the new CSPI API.
749 * docs/reference/cspi/at-spi-cspi-sections.txt:
750 Updated docs to reflect namespace changes, and added a number of
751 methods to the documentation.
753 * registryd/registry.c:
754 Changed use of strings and string hashes in listener event
755 matching and parse_event_string to use GQuark, which is guaranteed
758 * registryd/registry.h:
759 Squashed annoying warning.
761 * idl/Accessibility_Role.idl:
762 Extended range of available Accessibility_Role values.
764 * cspi/spi_accessible.c:
765 Re-ordered role names.
767 2001-12-12 Bill Haneman <bill.haneman@sun.com>
769 * idl/Accessibility_Value.idl:
770 Revert use of union back to CORBA_double, since the double type is
771 more efficient and can contain the other types without loss of
774 * idl/Accessibility_Accessible.idl:
775 Added method Accessibility:Accessible:getRoleName, to complement
776 Accessibility:Accessible:getRole.
778 * cspi/spi_accessible.c:
780 Added C binding for above, Accessible_getRoleName (), and changed
781 signature of Accessible_getRole () to return an AccessibleRole.
783 * cspi/spi-roletypes.h:
784 Changed AccessibleRole_getName to return a char * instead of a
785 const char *. This method is now at least temporarily deprecated
786 in favor of asking Accessibles for their RoleNames directly.
789 Revert to match Accessibility_Value.idl;
793 Change signature of AccessibleValue methods to use double rather
797 * cspi/spi_accessible.c:
798 Changed Accessible_getRole to return an AccessibleRole enum rather
799 than a UTF-8 string. The UTF-8 string can still be obtained via
800 AccessibleRole_getName ().
802 * test/test-simple.c:
803 Add test_action. Small fixup to match API change to Accessible_getRole.
806 Bugfix for get_action_from_servant ().
808 2001-12-11 Michael Meeks <michael@ximian.com>
810 * libspi/libspi.h: remove registry.h and
811 desktop.h, deviceeventcontroller.h
813 * libspi/Makefile.am: remove registry.[ch],
814 desktop.[ch], deviceeventcontroller.[ch]
816 * registryd/Makefile.am: add registry.[ch],
817 desktop.[ch], rename registryd.c to registry-main.c.
818 add deviceeventcontroller.[ch]
820 2001-12-11 Bill Haneman <bill.haneman@sun.com>
823 Replace setenv() call with putenv ().
825 * libspi/component.c:
826 Bugfix in AccessibleComponent_getExtents (),
829 2001-12-11 Michael Meeks <michael@ximian.com>
831 * libspi/image.c (impl_getImageExtents): impl.
832 (spi_image_class_init): upd.
835 (AccessibleImage_getImageDescription): fix daft bug
838 * test/test-simple.c (global_listener_cb): update
839 to only quit if not --poke
840 (main): catch --poke.
841 (validate_accessible): upd. dumping, call test_image
844 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
847 * idl/Accessibility.idl: update all IDL includes.
849 * idl/*.idl - rename to namespace - this sucks, blame
850 mjs' bad decision for oafd.
852 * test/test-simple.c (create_test_window): add more tests.
853 (create_tree): split this out.
854 (validate_accessible): bugfix.
856 2001-12-11 Michael Meeks <michael@ximian.com>
858 * cspi/bonobo/cspi-bonobo-listener.c:
859 (cspi_kestroke_listener_unref),
860 (cspi_event_listener_unref): impl. undoing previous
861 homenous environment - for Bill.
863 * cspi/spi_table.c (long_seq_to_array): use
866 * cspi/spi_main.c: split out all bonoboish bits into
869 * cspi/spi-impl.h: upd. typedefs.
871 * cspi/spi_registry.c: update to lowlevel API,
872 return booleans to indicate success in some places.
874 * cspi/spi_event.c: update to lowlevel API.
876 * cspi/bonobo/Makefile.am: add.
878 * cspi/bonobo/cspi-lowlevel.h: add
880 * cspi/bonobo/cspi-bonobo.c: add
882 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
884 * cspi/Makefile.am: remove spi-listener-impl.[ch],
885 (SUBDIRS): add bonobo, link in the libs.
887 * cspi/spi-util.c: kill this file.
889 * TODO: merge in my bits.
891 2001-12-11 Michael Meeks <michael@ximian.com>
893 * test/test-simple.c (test_value, test_table, main):
894 remove unused variables causing warnings.
896 * configure.in: cleanup checks - require gail.
898 2001-12-11 Bill Haneman <bill.haneman@sun.com>
901 Changed Value interface to use SValue (scalars) rather than
902 assuming all values are floats. This allows floats, doubles,
903 longs, shorts, and unsigned values to be manipulated.
904 Introduced Accessibility:SValue union.
907 Updated to use new API above, and to work correctly with GValues
908 of different types in AtkValue.
911 Updated to use new API above. cspi's API is as yet unchanged.
914 Updated the Value revision action item.
916 2001-12-10 Bill Haneman <bill.haneman@sun.com>
918 * test/test-simple.c:
919 Added test_table (GtkTreeView widget in test window to follow).
920 Un-commented test_value, added GtkRange widget.
921 Added GtkTreeView widget with GtkListStore. It passes regression
922 test but leaks one SPI object for some reason.
925 Fixed bug in impl__set_currentValue.
927 2001-12-10 Michael Meeks <michael@ximian.com>
929 * cspi/spi_text.c: audit for exception handling,
930 tolerating NULL object references safely etc.
932 * cspi/spi_value.c: ditto.
934 * cspi/spi_table.c (AccessibleTable_getSummary),
935 (AccessibleTable_getAccessibleAt),
936 (AccessibleTable_getRowHeader),
937 (AccessibleTable_getColumnHeader),
938 (AccessibleTable_getCaption): fix bugs hidden by
940 (long_seq_to_array): impl.
941 (AccessibleTable_getSelectedRows),
942 (AccessibleTable_getSelectedColumns): use it.
944 2001-12-10 Bill Haneman <bill.haneman@sun.com>
947 Added a TODO list (rough and short for now).
949 * cspi/spi_hyperlink.c:
950 * cspi/spi_hypertext.c:
951 Fixed macro name typos, and remove use of obsolete macro in
952 AccessibleHyperlink_getLink.
955 * cspi/spi_accessible.c:
956 * cspi/spi_application.c:
957 * cspi/spi_component.c:
958 * cspi/spi_selection.c:
961 Documentation fixes (removed return values from ref/unref methods).
963 2001-12-10 Michael Meeks <michael@ximian.com>
965 * cspi/spi_action.c: audit for exception handling,
966 tolerating NULL object references safely etc.
968 * cspi/spi_accessible.c: ditto.
970 * cspi/spi_component.c: ditto.
972 * cspi/spi_editabletext.c: ditto.
974 * cspi/spi_hyperlink.c: ditto.
976 * cspi/spi_hypertext.c: ditto.
978 * cspi/spi_image.c: ditto.
980 * cspi/spi_selection.c: ditto.
982 2001-12-10 Michael Meeks <michael@ximian.com>
984 * configure.in: use cspi/libspi.pc.in instead.
986 * Makefile.am (pkgconfig_DATA): upd. to match.
988 * test/simple-at.c (report_focus_event): kill hacks around
989 bad return values, use putenv not setenv
991 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
992 fire ChildGone - I killed it.
995 (impl_accessibility_component_get_extents): remove
998 * idl/Accessible.idl: kill ChildGone exception.
1000 * cspi/*.[ch]: kill int return from ref / unref.
1002 * cspi/spi_main.c (cspi_object_add_check): fold into
1003 (cspi_object_add): here.
1005 * cspi/spi_component.c (AccessibleComponent_getExtents):
1006 handle exceptions elegantly.
1008 * cspi/spi-private.h (cspi_check_ev_return),
1009 (cspi_return_if_fail): impl.
1011 * cspi/spi_accessible.c: use extensively.
1012 (AccessibleStateSet_equals): add direct compare check.
1014 * cspi/spi_selection.c: tolerate NULL objs, and check
1015 exceptions before return.
1017 * cspi/spi-util.c (cspi_warn_ev): rename to
1018 (cspi_check_ev): this & don't pass ev in; no point.
1020 2001-12-10 Michael Meeks <michael@ximian.com>
1022 * test/test-simple.c: use putenv not setenv
1023 (get_environment_vars): more chatty if you're not using
1026 * test/simple-at.c: do the setenv so more people see the
1029 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1031 * libspi/registry.c:
1032 Changed check of CORBA_environment on notification to be a warning
1033 instead of an error for the moment, since we can recover from this
1034 error when caused by a queued notification from a dead app.
1037 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
1038 used by all current implementors of AtkValue), and coerce to
1039 CORBA_float. (Proper general case fix may require change to Value.idl).
1041 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1045 * cspi/spi_accessible.c:
1046 Documentation fixes: added user_data params to documentation for
1047 listeners and callbacks.
1049 * cspi/spi_accessible.c:
1050 Changed AccessibleStateSet_compare to return a
1051 StateSet rather than return the difference set into a third parameter.
1054 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1057 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
1058 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
1062 Remove subdirectory po from SUBDIRS for now.
1064 * at-bridge/bridge.c:
1065 Beefed up a couple of debug printouts.
1066 One-line fix for signal notification name formatting.
1068 * libspi/accessible.c:
1069 Added assertion to spi_accessible_new ().
1071 * libspi/application.c:
1072 Put #ifdef qualifiers around a printf.
1075 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
1077 * registryd/Makefile.am:
1079 Replaces use of XML_I18N_MERGE_SERVER_RULE with
1080 INTLTOOL_SERVER_RULE macro.
1083 Added an event listener for several ATK signals, for
1084 testing and debugging. Removed a few g_warnings.
1085 Added test output if focussed item implements the Value interface.
1087 * test/test-simple.c:
1088 Added test_value () function (known not to pass at the moment, so
1089 not actually called yet.
1091 2001-12-08 Michael Meeks <michael@ximian.com>
1093 * at-bridge/bridge.c (bridge_focus_tracker),
1094 (emit_eventv): fix the same ref. leak.
1095 (register_atk_event_listeners): don't leak.
1097 * cspi/spi-listener-impl.c (cspi_event): more
1098 protection from client code.
1100 * test/test-simple.c (test_desktop): unref the app.
1102 * test/Makefile.am: upd. TESTS.
1104 * at-bridge/bridge.c (bridge_exit_func): release the registry.
1106 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
1108 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
1110 * cspi/spi_registry.c: constify in strings.
1111 (deregisterGlobalEventListenerAll): don't release the ref.
1113 * cspi/spi.h: start removing redundant / conflicting
1114 gtkdoc comments, making the API readable at a glance :-)
1116 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
1118 * test/keysynth-demo.c (keysynth_exit, main): upd.
1120 * test/simple-at.c (main, simple_at_exit): upd.
1122 * test/test-simple.c (unutterable_horror): kill.
1123 (utterable_normal_derefs): kill.
1124 (main): upd & do a setenv before gtk_init, so that we
1125 can use memprof - and to save the pain of remembering
1126 this, if we're running under memprof - don't exit.
1128 * cspi/spi_main.c (SPI_exit): return exit status
1130 (SPI_event_quit): impl.
1131 (SPI_event_main): simplify.
1132 (cspi_is_gnome_app): kill.
1133 (SPI_init): kill isGNOMEapp arg.
1135 * at-bridge/bridge.c (register_atk_event_listeners):
1136 re-instate the unref.
1137 (bridge_exit_func): don't re-activate the registry,
1138 protect vs. theoretical re-entry, use the
1139 AT_BRIDGE_SHUTDOWN env. var to determine whether to
1140 assert a clean shutdown - for regression tests.
1142 2001-12-08 Abel Cheung <maddog@linux.org.hk>
1144 * configure.in: Comment out dummy i18n support for now,
1145 otherwise it fails to build.
1146 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
1147 EXTRA_DIST. They are missing in tarball.
1149 2001-12-07 Michael Meeks <michael@ximian.com>
1151 * util/magnifier.c: kill bonobo activation reg. race.
1153 * libspi/component.c
1154 (impl_accessibility_component_get_extents): make it match
1157 * libspi/registry.c (_registry_notify_listeners):
1158 re-remove X headers & reconcile conflicts.
1159 (spi_listener_struct_free): bad conflict resolve.
1160 (impl_accessibility_registry_register_application):
1161 more bad merging fixed.
1162 (impl_accessibility_registry_deregister_application): ditto.
1163 (spi_registry_new): ditto.
1164 (spi_registry_init): don't have an applications field.
1166 [ merge fixups2 branch to here ]
1167 2001-12-07 Michael Meeks <michael@ximian.com>
1169 * test/simple-at.c (report_focus_event),
1170 (report_focussed_accessible): remove g_warning debug.
1172 2001-12-07 Michael Meeks <michael@ximian.com>
1174 * test/test-simple.c (validate_tree): comment out some checks.
1175 (test_desktop): app now not registered idly - horay.
1177 2001-12-07 Michael Meeks <michael@ximian.com>
1179 * cspi/spi_registry.c
1180 (registerAccessibleKeystrokeListener): clean, stop it leaking
1181 great swathes of memory, and device event controller references.
1182 ensure we always pass valid sequences.
1183 (deregisterAccessibleKeystrokeListener): ditto.
1184 (generateKeyEvent): upd.
1186 * at-bridge/bridge.c (bridge_key_listener): handle
1187 registry dead exception gracefully.
1188 (bridge_focus_tracker, emit_eventv): free ev.
1190 * test/simple-at.c (report_focus_event): fix polarity.
1192 * libspi/application.c (notify_listeners): kill the ev
1193 argument, and make sure we init the ev we use.
1194 (spi_application_object_event_listener): split out a chunk
1195 (get_atk_object_ref): here & fixup.
1196 (reverse_lookup_name_for_toolkit_event): make const.
1197 (spi_application_toolkit_event_listener): fixup, kill leaks
1200 * at-bridge/bridge.c (register_atk_event_listeners):
1201 don't unref the noop object - causes grief.
1203 * libspi/registry.c: remove the X headers.
1204 turn off the debug churn.
1206 * libspi/accessible.c (spi_accessible_new_return): only
1207 release the ref if we are supposed to [doh]
1209 * test/simple-at.c (report_button_press, report_focus_event):
1210 guard vs. unexpected exit.
1212 * at-bridge/bridge.c (gtk_module_init): prune printf.
1213 (bridge_exit_func): fix app unref.
1215 * libspi/Makefile.am: don't install registry or desktop.h
1217 * libspi/*.h: update includes.
1219 * libspi/application.h: don't include ourself, or
1220 other redundant headers.
1222 2001-12-06 Michael Meeks <michael@ximian.com>
1224 * libspi/accessible.c
1225 (get_accessible_from_servant): impl.
1226 Upd. all CORBA impl.s to use it killing cut and paste.
1228 * cspi/spi_main.c (cspi_cleanup): guard vs. double
1230 (SPI_init): register atexit cleanup handler here.
1232 2001-12-06 Michael Meeks <michael@ximian.com>
1234 * at-bridge/bridge.c (gtk_module_init): g_error on
1235 activation exception
1237 2001-12-06 Michael Meeks <michael@ximian.com>
1239 * at-bridge/bridge.c (gtk_module_init): some sort of
1240 confusing merge clash - reverted.
1241 (bridge_idle_init): ditto.
1243 * test/test-simple.c (main, utterable_normal_derefs):
1244 merge from Bill - somehow not committed.
1246 2001-12-06 Michael Meeks <michael@ximian.com>
1248 * libspi/value.c (spi_value_class_init): upd.
1249 (spi_value_finalize): kill.
1251 * libspi/table.c (spi_table_finalize): kill.
1252 (spi_table_interface_new): upd.
1253 (spi_table_class_init): upd.
1254 (get_table_from_servant): impl.
1255 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1257 * libspi/selection.c (spi_selection_finalize): kill.
1258 (spi_selection_interface_new): upd.
1259 (spi_selection_class_init): upd.
1260 (get_selection_from_servant): impl.
1261 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1263 * libspi/relation.c (spi_relation_finalize): kill.
1264 (spi_relation_class_init, spi_relation_new): upd
1266 * libspi/image.c (spi_image_finalize): kill.
1267 (spi_image_class_init): upd.
1268 (spi_image_interface_new): upd.
1269 (get_image_from_servant): impl.
1270 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1272 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
1273 (spi_hyperlink_finalize): kill.
1274 (spi_hyperlink_new): upd.
1275 (get_hyperlink_from_servant): impl.
1276 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1278 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
1279 (spi_hypertext_finalize): kill.
1280 (spi_hypertext_class_init): upd.
1281 (get_hypertext_from_servant): impl.
1282 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1284 * libspi/editabletext.c (spi_editable_text_finalize): kill.
1285 (spi_editable_text_interface_new): upd.
1286 (get_editable_text_from_servant): impl.
1287 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1289 * libspi/text.c (get_text_from_servant): impl.
1290 All impls - update to use it killing more cut and paste,
1291 also fix bad string returns on duff args ( a somewhat
1292 impossible case to handle - but hey ).
1293 (spi_text_construct): impl.
1294 (spi_text_interface_new): upd.
1295 (spi_text_object_finalize): kill.
1297 * libspi/component.c
1298 (accessibility_component_object_finalize): kill.
1299 (spi_component_class_init): upd.
1300 (get_component_from_servant): impl. helper to kill cut & paste.
1301 (impl_accessibility_component_contains):
1302 (impl_accessibility_component_get_accessible_at_point):
1303 (impl_accessibility_component_get_position):
1304 (impl_accessibility_component_get_extents):
1305 (impl_accessibility_component_get_mdi_z_order):
1306 (impl_accessibility_component_get_layer):
1307 (spi_component_interface_new): upd.
1309 * libspi/action.c (spi_action_finalize): kill.
1310 (spi_action_class_init): upd. inherit from SpiObject.
1311 (spi_action_interface_new): upd.
1312 (get_action_from_servant): impl. helper to reduce cut & paste.
1313 (impl_getKeyBinding, impl_getName, impl_doAction),
1314 (impl_getDescription): Use it everywhere.
1316 * cspi/spi_main.c (get_live_refs): a pointer hash.
1317 (spi_object_hash, spi_object_equal): comment out.
1318 There are issues with CORBA object hashing that need
1321 * libspi/application.c (spi_application_init),
1322 (spi_application_new): upd.
1324 * libspi/accessible.c (spi_accessible_object_finalize): kill.
1325 (spi_accessible_class_init): upd.
1326 s/accessible/object/ in epv methods.
1328 2001-12-05 Bill Haneman <bill.haneman@sun.com>
1330 * at-bridge/bridge.c:
1331 Reorder the bridge initialization into the bridge gtk_module_init,
1332 an immediate call to bridge_register_app, and an idle_add for
1333 register_atk_event_listeners (the only code that *must* wait until
1334 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
1335 the activation, creates the application's Accessible object, and
1336 queues the bridge_idle_init function. Restored call to
1337 Accessibility_Registry_deregisterApplication().
1338 Prior to making this call we obtain a new reference to the
1339 registry, which is a temporary hack that helps us handle apps that
1340 shut down the bonobo mainloop before we get there.
1342 * libspi/registry.c:
1343 Fix string leakage in debug block, and don't segv if a an app
1344 dies before its event notifications have been propagated.
1347 Modify cspi_check_ev() to call g_warning() rather than g_error(),
1348 as stopgap measure until we get proper exception handling when
1349 objects die during or before interrogation.
1353 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
1354 Also changed default value of is_gnome_app to TRUE.
1357 * test/keysynth-demo.c:
1358 Changed use of SPI_init and SPI_event_main to reflect API change above.
1361 Made report_focus_event check the warning value from getName
1362 before reporting on focussed accessible; simplifies handling of
1363 notifications from dead objects.
1365 * test/test-simple.c: (Changes not in this patch since source is
1368 2001-12-05 Michael Meeks <michael@ximian.com>
1370 * registryd/registryd.c (main): protect against
1371 bonobo-activation startup race condition.
1373 * cspi/spi_main.c (cspi_object_add_check): cope
1374 with the exception elegantly.
1376 * idl/Accessible.idl: decl. ChildGone
1378 * libspi/desktop.c (spi_desktop_dispose): impl.
1379 (spi_desktop_class_init): upd.
1380 (spi_desktop_add_application),
1381 (spi_desktop_remove_application),
1382 (abnormal_application_termination): impl.
1383 (impl_desktop_get_child_at_index): re-impl.
1386 (impl_accessibility_registry_deregister_application),
1387 (impl_accessibility_registry_register_application):
1388 kill excessive debug clutter.
1390 * test/test-simple.c (test_misc): test some NULL
1391 tolerance. (main): upd.
1393 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
1394 implements no interfaces - so let's not crash.
1396 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
1398 * libspi/accessible.c (spi_accessible_new_return): impl.
1399 helper to calm the cut and paste, to cope with
1400 NULL AtkObjects effectively and efficiently, and to kill
1401 the referencing bugs.
1403 * libspi/table.c (impl_getAccessibleAt),
1404 (impl_getRowHeader, impl_getColumnHeader): upd.
1406 * libspi/hyperlink.c (impl_getObject): upd.
1408 * libspi/accessible.c
1409 (impl_accessibility_accessible_get_child_at_index): upd.
1411 * libspi/component.c
1412 (impl_accessibility_component_get_accessible_at_point): upd.
1414 * test/test-simple.c (test_editable_text, test_text): impl.
1417 * cspi/spi_editabletext.c
1418 (AccessibleEditableText_insertText): constify.
1420 * test/test-simple.c (focus_me): make more robust.
1422 * libspi/accessible.c: remove some printfs in methods that
1423 we test and work fine, so we can get a clean tree dump.
1425 * test/test-simple.c (validate_accessible),
1426 (validate_tree): make tree dumping pretty too.
1428 * at-bridge/bridge.c (bridge_signal_listener): upd. so
1429 it builds without debug on.
1431 * test/test-simple.c (validate_accessible): fix the most
1434 * cspi/spi_main.c (spi_object_release): leave the nicely
1435 blanked memory around if in debug mode.
1437 * cspi/spi-listener-impl.c (cspi_event): use add_check.
1439 [committed to fixups2]
1440 2001-12-05 Michael Meeks <michael@ximian.com>
1442 * libspi/editabletext.c
1443 (spi_editable_text_class_init): g_type_class_peek_parent,
1444 not interface peek - so we finalize cleanly.
1446 * libspi/accessible.c (spi_accessible_new): kill debug.
1448 * test/test-simple.c (validate_accessible): fix ref.
1449 leak, print strings before freeing them; sigh, comment a
1450 chunk out due to strangeness.
1451 (validate_tree): unref the child after use.
1453 * cspi/spi_component.c (AccessibleComponent_getLayer):
1454 add missing break statement, switch on zlayer not the
1455 uninitialized retval.
1457 * cspi/spi_main.c (cspi_object_add): add assert, local ref
1458 before (possibly re-entering) remote unref.
1460 * test/simple-at.c (main): unref the desktop.
1462 * cspi/spi_accessible.c (cspi_accessible_is_a): move
1465 * cspi/spi_main.c (cspi_accessible_is_a): here to
1466 isolate bonobo API usage more.
1468 * libspi/registry.c (impl_accessibility_registry_register_application):
1469 prune bogus comment.
1471 2001-12-04 Michael Meeks <michael@ximian.com>
1473 * test/test-simple.c (validate_tree): upd.
1474 IndexInParent check to make it more lucid.
1475 (validate_accessible): dump the tree.
1477 * libspi/accessible.c (de_register_public_ref),
1478 (get_public_refs): impl.
1479 (spi_accessible_new): make more efficient & intuitive.
1480 Now IndexInParent check works.
1482 2001-12-04 Michael Meeks <michael@ximian.com>
1484 * cspi/spi-util.h: remove.
1486 * cspi/spi.h: move SPI_freeString here
1488 * libspi/component.c (impl_accessibility_component_get_layer):
1490 (impl_accessibility_component_get_mdi_z_order): ditto,
1491 return -1 on error - is this ok ?
1493 * test/test-simple.c (test_application): impl.
1495 * cspi/spi_accessible.c (Accessible_getApplication),
1496 (Accessible_isApplication): impl.
1498 * libspi/registry.c (spi_listener_struct_free): release
1499 the CORBA reference too.
1501 * libspi/accessible.c
1502 (impl_accessibility_accessible_get_parent): fix ref leak.
1504 * libspi/registry.c (spi_registry_new): make the registry
1505 immortal - we don't want it to go away ever.
1507 * libspi/application.c
1508 (spi_accessible_application_finalize): impl. cleanup.
1510 * cspi/spi_registry.c
1511 (deregisterGlobalEventListenerAll),
1512 (deregisterGlobalEventListener),
1513 (deregisterAccessibleKeystrokeListener): fix ref leak.
1515 * cspi/spi_main.c (SPI_init): remove redundant ref.
1517 * test/test-simple.c (unutterable_horror): impl. to force a
1522 (impl_accessibility_registry_deregister_application): release
1523 the application when we de-register it.
1525 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1526 until we have the infastructure to get it right.
1528 2001-12-03 Michael Meeks <michael@ximian.com>
1530 * libspi/Makefile.am: only build eventlistener.[ch]
1532 * libspi/accessible.c
1533 (impl_accessibility_accessible_get_child_at_index): don't leak.
1535 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1536 before we hit the idle handler.
1538 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1539 debugging than exit.
1541 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1543 * libspi/listener.c (impl_notify_event): check source
1544 not NIL before unref.
1546 * libspi/registry.c (impl_registry_notify_event): ditto.
1548 * libspi/eventlistener.c
1549 (impl_accessible_event_notify_event): unref the source.
1551 * libspi/accessibleeventlistener.c
1552 (impl_accessible_event_notify_event): unref the source.
1554 * idl/Event.idl: remove 'hash_id' attribute - of no
1557 * libspi/application.c (notify_listeners): upd list
1559 (spi_application_object_event_listener),
1560 (spi_application_toolkit_event_listener): upd to do correct
1564 (_registry_notify_listeners): update.
1565 (parse_event_type): this method also leaks like a sieve.
1566 (impl_accessibility_registry_deregister_global_event_listener):
1567 fix ETYPE_WINDOW case.
1569 * libspi/application.c
1570 (impl_accessibility_application_register_object_event_listener):
1573 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1575 * libspi/hypertext.c (impl_getLink): ditto.
1577 * cspi/spi_main.c (cspi_object_add): remove
1578 bogus CORBA_Object_duplicate.
1580 * cspi/spi-listener-impl.c (cspi_event): dup/ref
1583 * cspi/spi_accessible.c
1584 (Accessible_getRelationSet): fix leak / referencing issue.
1586 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1587 (cspi_object_add, cspi_object_unref): upd.
1588 (spi_object_release, get_live_refs): impl.
1589 (cspi_cleanup): simplify.
1591 * *.[ch]: s/boolean/SpiBoolean/
1593 * cspi/spi_accessible.c (role_names): actualy order so it
1594 corresponds with the enum !
1596 * test/test-simple.c (test_roles): check some role strings
1597 vs. enums to detect offset errors.
1599 2001-12-01 Michael Meeks <michael@ximian.com>
1601 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1603 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1605 (Accessible_getChildAtIndex): use cspi_add_check so we
1606 check the ev before using a (possibly) invalid value.
1608 * libspi/accessible.c
1609 (impl_accessibility_accessible_get_parent): don't segv
1612 * at-bridge/bridge.c (gtk_module_init): upd.
1613 (bridge_property_event_listener): don't leak strings
1615 (bridge_state_event_listener),
1616 (bridge_property_event_listener): don't use a static
1617 buffer in case of recursive event emission &
1618 re-enterancy - split out the swathe of cut and paste
1620 (emit_eventv): and fix 2 ref leaks here & comply to the
1622 (bridge_register_app): rename to
1623 (bridge_idle_init): this and kill arg parsing, split
1624 various inits & bonobo-activation registration to module
1625 init time, kill referencing error.
1626 (bridge_exit_func): fix the same leak.
1627 (bridge_focus_tracker): don't leak event structures
1629 (bridge_signal_listener): more leakage and cut & paste
1631 (bridge_key_listener): return the result - FIXME is
1632 this polarity correct ?
1633 (accessibility_keystroke_from_atk_key_event): rename
1634 (accessibility_init_keystroke_from_atk_key_event): and stop
1636 (gtk_module_init): return a value - not that it is checked by
1638 (bridge_key_listener): register my horror at casting between
1639 IDL defined structs.
1640 (bridge_get_registry): kill - not used.
1642 * cspi/spi_accessible.c (Accessible_getRole): make return const.
1644 * test/test-simple.c (test_roles): impl.
1645 (test_desktop, validate_accessible, validate_tree): impl.
1647 * cspi/spi_accessible.c (role_names): fixup bogus
1648 MAX_ROLES setup, make constants const for efficient linkage
1649 (AccessibleRole_getName): conform to coding style, make
1652 2001-11-30 Michael Meeks <michael@ximian.com>
1654 * cspi/spi.h: add missing prototype.
1656 * libspi/registry.c (spi_listener_struct_new): fix sig.
1658 * test/Makefile.am: add test-simple
1660 * test/test-simple.c: add
1662 * test/test.sh: add.
1664 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1666 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1667 do it straight - since otherwise we often get an activation race.
1669 [ work before Bill duplicated a chunk of it ... ]
1670 2001-11-30 Michael Meeks <michael@ximian.com>
1672 * libspi/keystrokelistener.c
1673 (spi_keystroke_listener_class_init): fixup arg
1676 * libspi/eventlistener.c
1677 (spi_event_listener_class_init): ditto.
1679 * tests/test.sh: add.
1681 * cspi/spi-listener-impl.h: update macros.
1683 * cspi/spi-listener-impl.c
1684 (cspi_event_listener_remove_callback): add
1685 correct pre-conditions.
1687 * cspi/spi_main.c (SPI_exit): guard vs. double
1688 exits, exit the mainloop nicely.
1689 (SPI_event_main): make more sense.
1690 (SPI_init): move the atexit evilness here so we
1691 always do it (yuck).
1692 (SPI_event_main): upd.
1694 * test/simple-at.c: update for listener changes.
1696 * registryd/registryd.c (main): prune kruft.
1698 * libspi/libspi.h: upd.
1700 * libspi/eventlistener.[ch]: rename broken macros.
1702 * libspi/accessibleeventlistener.[ch]: remove.
1704 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
1706 * test/test-simple.c: Add - automated tests.
1708 * cspi/spi-listener-impl.c (cspi_event),
1709 (cspi_key_event): add user_data to invoke.
1710 (cspi_keystroke_listener_finalize): impl.
1711 (cspi_keystroke_listener_class_init): upd.
1714 (createAccessibleEventListener),
1715 (AccessibleEventListener_addCallback),
1716 (createAccessibleKeystrokeListener),
1717 (AccessibleKeystrokeListener_addCallback): upd.
1719 * libspi/deviceeventcontroller.c
1720 (spi_device_event_controller_check_key_event): add public proto.
1723 (impl_accessibility_registry_deregister_global_event_listener):
1724 always init listeners.
1725 (_registry_notify_listeners): yes it is.
1727 * cspi/spi-listener-impl.c (cspi_key_event):
1729 (cspi_event_listener_finalize): impl.
1730 (cspi_event_listener_class_init): hook up.
1731 (event_handler_new, event_handler_free),
1732 (event_list_remove_by_callback): impl.
1733 (cspi_event_listener_remove_callback),
1734 (cspi_keystroke_listener_remove_callback),
1735 (cspi_keystroke_listener_add_callback),
1736 (cspi_event_listener_add_callback): upd.
1738 * libspi/keystrokelistener.c
1739 (keystroke_listener_object_finalize): kill
1740 (spi_keystroke_listener_class_init): upd.
1741 (spi_keystroke_listener_add_callback),
1742 (spi_keystroke_listener_remove_callback): kill,
1744 (impl_key_event): prune drasticaly.
1746 * libspi/eventlistener.c
1747 (spi_event_listener_add_callback),
1748 (spi_event_listener_remove_callback): kill, use
1750 (impl_accessible_event_notify_event): upd.
1751 (spi_event_listener_object_finalize): remove.
1753 * libspi/Makefile.am: use eventlistener.[ch]
1755 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1757 * libspi/registry.c (_registry_notify_listeners):
1758 Changed listener loop iteration to use preferred convention.
1759 Got rid of string memory leaks caused be calling g_strconcat
1760 inside function calls.
1762 * libspi/registry.c (parse_event_type):
1763 Stopped g_strconcat memory leaks, free the g_strsplit return,
1764 g_strdup the split pieces when used, etc.
1766 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1769 Change method 'compare' to return a 'difference set' rather than
1770 taking a StateSet as an out parameter (more Java-friendly).
1772 * idl/Accessible.idl:
1773 Added CORBA struct 'BoundingBox', to faciliate API changes below:
1775 * idl/Component.idl:
1777 Changed methods 'getExtents' and 'getImageExtents' in these
1778 interfaces to return a BoundingBox structure.
1779 (getPosition and getSize are redundant and possibly should be
1780 removed, rather than creating a corresponding Point struct.)
1782 * cspi/spi_component.c:
1783 Modify implementation of getExtents to reflect the above IDL
1788 Add (missing) AccessibleImage_getExtents () API.
1790 * docs/reference/cspi/at-spi-cspi-sections.txt:
1791 Added AccessibleImage_getImageExtents () to docs.
1793 2001-12-03 Bill Haneman <bill.haneman@sun.com>
1795 * idl/Component.idl:
1796 Added two methods, getLayer () and getMDIZOrder (), to reflect
1797 the new ATK methods atk_object_get_layer and
1798 atk_object_get_mdi_z_order. (Which arguably should be part of the
1799 AtkComponent API and AtkObject). Also added an enum,
1800 ComponentLayer, for the first method's return value.
1802 * libspi/component.c:
1803 Added implementations for these methods.
1805 * cspi/spi_component.c:
1807 Added cspi binding methods for above,
1808 AccessibleComponent_getLayer() and
1809 AccessibleComponent_getMDIZOrder().
1810 Added cspi enum 'AccessibleComponentLayer'.
1812 * docs/reference/cspi/at-spi-cspi-sections.txt:
1813 Added above methods to docs.
1817 Changed typedef for 'boolean' type (and all references to it) to
1818 SPIBoolean, to avoid keyword clashes with C++.
1821 Changed usages of 'boolean' to SPIBoolean.
1823 * test/keysynth-demo.c:
1824 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
1825 app), except where SPIBoolean is required by the callbacks API.
1827 2001-12-02 Bill Haneman <bill.haneman@sun.com>
1829 * cspi/spi_registry.c:
1830 Removed obsolete X event loop for passive keygrabs (which now
1833 * registryd/registryd.c:
1834 Removed unnecessary call to gdk_init() [cruft]. This also allows
1835 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
1838 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1840 * docs/reference/cspi:
1841 Included docs for SPI_freeString in generated documentation.
1844 Renamed spi_freeString to SPI_freeString, for consistency. Added
1845 documentation for this function.
1848 Renamed spi_freeString to SPI_freeString, for consistency.
1849 Removed obsolete method declaration string_from_corba_string.
1851 * test/keysynth-demo.c:
1852 Small tweak to comments.
1855 Stopped leaking the strings returned from CSPI.
1857 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1859 Merged Michael's branch (see his ChangeLog entries below).
1861 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
1862 bridge is alive, release on exit.
1864 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
1865 Fix type check macro.
1868 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
1871 Added is_gnome_app static, and method cspi_is_gnome_app(),
1872 so we can call the appropriate shutdown routine at exit in SPI_exit.
1874 * cspi/spi_main.c (cspi_object_ref):
1875 Duplicate the corba object passed in, since we're keeping it around.
1877 * cspi/SPI_exit.c, cspi_cleanup:
1878 Moved the releasing of the live refs to its own function, so we
1879 can put it in g_atexit (). Call the appropriate shutdown API
1880 depending on whethe calling client is a gnome app or not
1881 (bonobo_main_quit or CORBA_ORB_shutdown).
1883 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
1884 Unref the listener when this method is called, after
1885 deregistration. Updated the API docs to note this behavior.
1887 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
1888 Bugfixes: Ref the bonobo object when returning a parent or child
1889 reference, or an AccessibleRelation. Generally made sure
1890 BonoboObject refcount is incremented whenever we return an
1893 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
1894 Fixed typo/bug in signal declaration.
1896 * libspi/accessibleeventlistener.h:
1899 * libspi/application.c (spi_application_new):
1900 Fixed leak in initialization.
1903 Remembered to increment bonobo-object refcount when returning
1904 children (applications) from desktop object.
1905 Added (empty) finalize method.
1907 * libspi/deviceeventcontroller.c:
1908 Hold a ref to listeners inside DEControllerKeyListeners.
1909 Added dec_key_listener_free() method. Use prepend instead of
1910 append in key_listener list. Fixed some refcount madness and
1911 leaks in the listener registration/deregistration - deregistration
1912 now calls dec_key_listener_free() on listeners, and on the
1913 temporarily constructed dec_key_listener() used to perform the search/match.
1915 * libspi/hypertext.c (spi_hypertest_finalize):
1916 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
1917 class. Also fixed spi_hypertext_interface_new() and
1918 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
1920 * libspi/hypertext.h:
1921 Removed pointless and duplicate AtkObject pointer from
1924 * libspi/keystrokelistener.c:
1925 Fixed incorrect type of keystroke_listener_parent_class,
1926 renamed keystroke_listener_object_finalize to
1927 spi_keystroke_listener_object_finalize.
1928 Fixed typo in signal declaration
1929 (spi_keystroke_listener_class_init).
1931 * libspi/registry.c:
1932 Added funcsions spi_listener_struct_new() and
1933 spi_listener_struct_free() to help with memory management issues.
1934 We also now use these methods instead of gnew + poking stuff into
1935 the struct, and to decrement listener counts/free the listeners
1936 when deregistering them.
1937 Fix more refcount bugs in getDesktop() and
1938 getDeviceEventController().
1941 De-ref the desktop after enumerating the applications. Explicitly
1942 decrement the refcounts on the created listeners on exit (using
1943 _unref for keystroke listeners, and via the
1944 deregisterGlobalEventListenerAll command for other event
1947 2001-11-27 Michael Meeks <michael@ximian.com>
1949 * cspi/spi-listener.h: fixup enum.
1951 2001-11-27 Michael Meeks <michael@ximian.com>
1953 * cspi/spi-listener-impl.c (cspi_event_listener_new),
1954 (cspi_keystroke_listener_new): Use the cspi variants.
1956 2001-11-26 Michael Meeks <michael@ximian.com>
1958 * test/keysynth-demo.c: fix 2 compile warnings, missing
1961 * test/simple-at.c (report_focussed_accessible),
1962 (report_focus_event, report_button_press),
1963 (check_property_change, is_command_key),
1964 (report_ordinary_key_event, report_command_key_event): upd.
1966 * util/mag_client.h: include pre-requisites.
1968 * libspi/accessibleeventlistener.c
1969 (spi_event_listener_object_finalize): free any lingering
1972 * libspi/keystrokelistener.c
1973 (keystroke_listener_object_finalize): ditto.
1975 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1976 callbacks, with cspi types.
1978 * cspi/spi_event.c (createAccessibleEventListener): chain to
1979 (AccessibleEventListener_addCallback): here.
1980 (createAccessibleKeystrokeListener): chain to
1981 (AccessibleKeystrokeListener_addCallback): here.
1983 * libspi/keystrokelistener.c
1984 (spi_keystroke_listener_class_init): add signal.
1985 (impl_key_event): emit the event.
1986 (boolean_handled_accumulator): impl.
1987 (marshal_BOOLEAN__POINTER): add, gack.
1989 * libspi/accessibleeventlistener.c
1990 (spi_event_listener_class_init): add signal.
1991 (impl_accessible_event_notify_event): emit the signal &
1992 make the loop efficient.
1993 (spi_event_listener_add_callback): prepend the callback.
1995 * libspi/accessibleeventlistener.h: add an 'event' signal,
1996 decl type on callback.
1998 * libspi/keystrokelistener.h: ditto.
2000 * cspi/spi-listener.h: make methods typesafe and
2001 make them use the new event typedefs.
2003 * test/simple-at.c (report_focussed_accessible):
2004 include mag_client.h
2005 Use *(void *)text_interface not the other thing.
2007 * configure.in: add gtk to registryd bits - since we use
2010 * util/magnifier.c: include libbonobo.h
2012 2001-11-25 Bill Haneman <bill.haneman@sun.com>
2014 * test/keysynth-demo.c:
2015 Turned this into a simple scanning keyboard, to demonstrate the
2016 use of g_timeout_add () as a means of creating timers for
2017 scanning, and the use of GtkStyle for visually indicating when
2018 virtual keyboard elements are selected.
2020 keysynth-demo now listens to any keyboard keys with zero-valued
2021 keycodes (i.e. 'unused' keys) and interprets them as
2024 Reworked the shiftlatch code so that shift-down state isn't held
2025 for long periods (it's only synthesized immediately prior to
2026 the keysynth event it's modifying). Note that shiftlatch in this
2027 demo is a convenience, not intended to take the place of AccessX
2028 which is the better choice for getting 'sticky' modifier keys.
2030 * libspi/deviceeventcontroller.c:
2031 * at-bridge/bridge.c:
2032 * cspi/spi_registry.c:
2033 Removed some debug print stuff, and put other verbosity in #ifdef
2038 Implemented some more of the magnifier IDL for the simple
2039 magnifier: namely, getZoomRegionParams.
2040 Added mag_x and mag_y members to MagnifierData struct, aid of this
2042 Added GtkWindow::realize signal handler to magnifier, to keep it
2043 from receiving keyboard focus from the WM.
2045 2001-11-23 Mark McLoughlin <mark@skynet.ie>
2047 * cspi/spi-private.h: my guess at what michael forgot
2048 before he ran off to NZ :-)
2050 2001-11-23 Michael Meeks <michael@ximian.com>
2052 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
2053 comment out non existant method invoke so we link.
2055 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
2056 use bonobo_exception_get_text for more friendly warnings.
2058 * cspi/spi.c (Obj_Add): move into spi_main & rename
2059 spi_object_add; kill spi.c
2061 * cspi/spi_registry.c
2062 (deregisterGlobalEventListener),
2063 (deregisterGlobalEventListenerAll),
2064 (registerGlobalEventListener): fix exception leaks.
2066 * cspi/spi_main.c (spi_exception): impl. helper, so we
2067 don't leak exceptions.
2069 * cspi/spi_selection.c
2070 (AccessibleSelection_deselectSelectedChild): return the
2073 * cspi/spi_main.c (spi_ev): impl; hack - gack.
2074 (spi_registry): ditto.
2075 (SPI_init): guard against double inits.
2077 * cspi/*.c: use spi_ev (), and spi_registry () where
2078 appropriate - a temporary hack until we have something
2079 better. Use spi_object_add
2081 2001-11-22 Michael Meeks <michael@ximian.com>
2083 * cspi/Makefile.am: re organise, install the headers.
2085 * cspi/*.h: add G_BEGIN/END_DECLS
2087 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2090 Added non-preemptive keylistener for key events with no modifiers
2091 and shift-only modifier.
2093 * libspi/keystrokelistener.c:
2094 Removed some verbose diagnostics printout.
2096 * cspi/spi_registry.c:
2097 Fixed a bug that caused all key listeners to be registered as
2100 * libspi/deviceeventcontroller.c:
2101 Fixed bug that caused XGrabKey (preemptive key grab) to be called
2102 for non-preemptive key masks.
2105 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2107 * docs/reference/idl/at-spi-idl-docs.sgml:
2108 * docs/reference/idl/at-spi-idl-sections.txt:
2109 * docs/reference/idl/at-spi-idl-overrides.txt:
2110 Added missing files.
2112 * docs/reference/Makefile.am:
2113 removed idl from SUBDIRS until we can figure a way to get gtk-doc
2114 to scan the IDL files :-(
2119 Added .cvsignore files.
2121 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2123 * libspi/deviceeventcontroller.c:
2124 * libspi/keystrokelistener.c:
2126 * cspi/spi_registry.c:
2127 Added filters for KeySets, KeyEventSeq, and event types to key
2128 event dispatching, so listeners should only receive those events
2129 that they requested :-)
2131 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2136 * docs/reference:Makefile.am:
2137 * docs/reference/cspi:
2138 * docs/reference/cspi:Makefile.am:
2139 * docs/reference/cspi:tmpl:
2140 * docs/reference/cspi:tmpl:*.sgml:
2141 * docs/reference/idl:
2142 * docs/reference/idl:Makefile.am:
2143 * docs/reference/idl:at-spi-idl-sections.txt:
2144 * docs/reference/idl:at-spi-idl-docs.sgml:
2145 * docs/reference/idl:tmpl:
2146 * docs/reference/idl:tmpl:*.sgml:
2148 Restructured docs directory to allow separate 'reference' docs
2149 section, and forked idl and cspi docs. Added the sgml template
2150 files to CVS. Added the first sections/structural sgml for the
2153 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
2155 * configure.in, libspi/Makefile.am: find libXtst.
2157 2001-11-21 Michael Meeks <michael@ximian.com>
2159 * test/accessx-gui.c: s/spi_value/value/ - doh.
2161 * libspi/base.[ch]: add.
2163 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2165 * idl/Accessible.idl:
2166 * idl/Application.idl:
2169 Started gtk-doc cleanup on IDL.
2171 * libspi/deviceeventcontroller.c:
2172 Added and connected non-preemptive key notification from the
2173 toolkits (in addition to the pre-emptive support from XServer
2174 which we had before, but which causes 'focus flashing'). Filters
2175 are presently limited to key modifiers and global/non-global,
2176 KeySets are presently ignored, as are KeyEvent masks.
2178 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
2179 structs into the persistant structure rather than just storing
2180 pointers to things that might not persist across servant
2183 The XGrabKey call now does async keygrabs, because synchronous
2184 ones were deadlocking with GDK_event code in a very nasty way.
2186 Added boolean to internal method notify_keylisteners, to indicate
2187 whether the event came from the 'toolkit source' or the 'global
2188 (XServer) source' - this is used in the notification process to
2189 determine which listeners to send the event to.
2191 deviceeventcontroller.c is now warning-free.
2193 * libspi/registry.c:
2194 Fixed regression in application de-registration.
2195 Also fixed some really brain-dead weirdness having to do with
2196 event dispatching - event structs are now duplicated before being
2197 re-marshalled in the dispatch to listeners. This also fixes a
2198 Solaris build problem.
2201 2001-20-11 Michael Meeks <michael@ximian.com>
2204 (impl_accessibility_registry_deregister_global_event_listener):
2207 * libspi/deviceeventcontroller.c
2208 (spi_device_event_controller_check_key_event): return
2209 FALSE on no virtual method.
2211 * libspi/*..h: make includes work on a correctly pathed install.
2213 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
2215 * libspi/application.h: kill unused ( and whacked out )
2216 gboolean *spi_application_set_id (AtkObject *app, long id);
2218 2001-20-11 Michael Meeks <michael@ximian.com>
2220 * libspi/*.[ch]: further convert to bonobo's type func
2221 macros, remove redundnant casts etc.
2223 * libspi/text.c s/accessibility_text/spi_text/g,
2224 re-order to de-cruft.
2226 * libspi/hypertext.c: re-order to kill a huge slew
2227 of redundant forward decls.
2229 * libspi/relation.c: ditto.
2231 * libspi/image.c: ditto.
2233 * */.cvsignore: update
2235 2001-20-11 Michael Meeks <michael@ximian.com>
2237 * libspi/deviceeventcontroller.c
2238 (_controller_register_with_devices): use g_getenv,
2239 kill stdlib.h include.
2241 * libspi/keystrokelistener.c
2242 (spi_keystroke_listener_get_type): kill
2243 (spi_keystroke_listener_class_init),
2244 (spi_keystroke_listener_init): rename to this.
2246 * libspi/text.c (impl_getAttributes): fix warning / bug.
2248 * libspi/*.[ch]: more headers, includes and over commenting.
2250 2001-20-11 Michael Meeks <michael@ximian.com>
2252 * libspi/*.[ch]: fixup headers, includes and over commenting.
2254 * libspi/image.c (impl__get_imageDescription): const
2255 correctness warning fix. remove redundant casting.
2257 * libspi/table.c (impl_getRowDescription): ditto.
2258 (impl_getColumnDescription): ditto.
2260 * libspi/libspi.h: add.
2262 2001-19-11 Michael Meeks <michael@ximian.com>
2264 * libspi/editabletext.c (impl_setAttributes): fix warnings.
2266 * libspi/component.c (accessibility_component_get_type):
2267 rename to (spi_component_get_type): and macroify.
2268 (accessibility_component_init): rename to
2269 (spi_component_init): this
2270 (accessibility_component_class_init): rename to
2271 (spi_component_class_init): this
2273 * libspi/action.c (spi_action_get_type): kill, use the macro.
2275 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
2278 * libspi/application.c (spi_application_object_event_listener),
2279 (impl_accessibility_application_register_object_event_listener):
2280 warning fixes / const understanding updates.
2282 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
2285 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2287 * libspi/spi_accessible.c: Added docs and C bindings for
2288 AccessibleStateSet. (No implementations yet). Documentation
2289 coverage for C bindings now 100%. Made docs for event listeners
2294 boolean notifyListenersSync (in DeviceEventListener listener,
2295 in DeviceEvent event);
2297 oneway void notifyListenersAsync (in DeviceEventListener listener,
2298 in DeviceEvent event);
2300 Added DeviceEventListener and DeviceEvent structs (may deprecate
2301 KeyStroke and KeystrokeListener in favor of this generic
2302 event/listener framework for devices).
2304 * libspi/deviceeventcontroller.c:
2306 Changed some key listener code to take masks, etc., and paved the
2307 way for integration of toolkit/non-preemptive key events. Changed
2308 signatures of some internal methods.
2310 * at-bridge/bridge.c:
2311 Fixed regression connecting to interface signals, apparently
2312 caused by GTK+ changes.
2314 Added an internal bridge_state_listener to deal with
2315 property-change:accessible-state signals.
2317 Changed the key_listeners GList to store structs (including masks,
2318 etc.) instead of just CORBA_Objects (required for full
2319 implementation of key listener API).
2321 Connected the bridge to all currently supported Atk signals.
2322 Events now supported:
2323 object:property-change
2324 object:property-change:accessible-name
2325 object:property-change:accessible-state
2326 object:property-change:accessible-description
2327 object:property-change:accessible-parent
2328 object:property-change:accessible-value
2329 object:property-change:accessible-role
2330 object:property-change:accessible-table-caption
2331 object:property-change:accessible-table-column-description
2332 object:property-change:accessible-table-column-header
2333 object:property-change:accessible-table-row-description
2334 object:property-change:accessible-table-row-header
2335 object:property-change:accessible-table-summary
2336 object:children-changed
2337 object:visible-data-changed
2338 object:selection-changed
2339 object:text-selection-changed
2341 object:text-caret-moved
2343 object:row-reordered
2345 object:column-inserted
2346 object:column-reordered
2347 object:column-deleted
2348 object:model-changed
2350 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2352 * libspi/hyperlink.c,h:
2353 Fixed some broken stuff in hyperlink.
2355 * libspi/relation.h:
2356 * libspi/relation.c:
2357 * cspi/spi_accessible.c:
2358 Initial implementations of AccessibleRelation methods, and docs.
2360 * libspi/accessible.c:
2361 Fixed a bug that caused SEGV if an accessible
2362 object's description is NULL, and a client
2363 requests it. An empty string is now returned.
2365 * cspi/spi_editabletext.c:
2366 * cspi/spi_hypertext.c:
2368 * cspi/spi_hyperlink.c:
2372 Doc coverage now 95%.
2374 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2376 One last namespacing revision:
2377 * libspi/accessibleeventlistener.[ch]:
2378 Renamed SpiAccessibleEventListener to SpiEventListener,
2379 (no need for two namespaces ;-)
2381 And lots of documentation fixes:
2383 * docs/at-spi-docs.sgml:
2384 Fixed 'underscore vs. hyphen' bug that was preventing
2385 the gtk-doc API docs from being automatically generated.
2388 * cspi/spi-listener.h
2390 * cspi/spi_accessible.c
2392 * cspi/spi_application.c
2393 * cspi/spi_component.c
2394 * cspi/spi_editabletext.c
2396 * cspi/spi_hypertext.c
2398 * cspi/spi_registry.c
2399 * cspi/spi_selection.c
2403 * docs/at-spi-docs.sgml
2404 * docs/at-spi-sections.txt
2406 Added and fixed up gtk-doc documentation in cspi.
2408 Interfaces now (fully) documented (subject to revision and enhancement):
2410 Event Listener Support
2412 AccessibleApplication
2416 AccessibleEditableText
2423 AccessibleRelationSet
2428 2001-14-11 Bill Haneman <bill.haneman@sun.com>
2430 * at-bridge/bridge.c:
2431 Initial work for toolkit-level key snooper connection by bridge.
2436 New typedefs and fixes to support new namespacing, and cleaner
2437 separation of cspi bindings from libspi bonobo implementation.
2438 Removed inconsistent and extraneous Spi* namespace prefix that
2439 had crept into cspi headers.
2440 Lots of comment fixes that sed had missed.
2442 * cspi/spi-roletypes.h:
2443 * cspi/spi-statetypes.h:
2444 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
2445 to AccessibleRoleType.
2447 * libspi/accessibleeventlistener.h:
2448 Fixed minor namespacing weirdness.
2450 * libspi/deviceeventcontroller.c:
2451 Reordered some internal API for device listeners.
2452 Changed the key registry final boolean to 'is_system_global'
2453 rather than 'is_synchronous', which is more descriptive of its
2455 Added spi_device_event_controller_new().
2456 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
2458 * libspi/keystrokelistener.[ch]:
2459 Namespaced KeystrokeListener to SpiKeystrokeListener.
2460 Changed uses of keymasks to use SPI_ prefix, and did other
2463 * libspi/keymasks.h:
2464 Namespaced keymask constants with SPI_ prefix.
2466 * libspi/registry.c:
2467 Some warning fixes, and knock-on fixes from namespace changes.
2470 Added rules for accessx-gui test program.
2472 * test/accessx-gui.c:
2473 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2474 utility. It doesn't actually use at-spi, but it's still cool and
2477 * test/keysynth-demo.c:
2481 Fixes so that these test clients work properly with the namespaced
2482 libraries. (Incompletely tested for technical reasons, fixes may follow)
2485 2001-13-11 Michael Meeks <michael@ximian.com>
2487 * libspi/application.c
2488 (impl_accessibility_application_get_version),
2489 (impl_accessibility_application_get_toolkit_name):
2491 (impl_accessibility_application_set_id),
2492 (impl_accessibility_application_get_id): remove
2493 redundant casting code.
2495 * libspi/action.c (impl_getDescription): fix warnings.
2497 * libspi/accessible.c
2498 (impl_accessibility_accessible_get_parent),
2499 (impl_accessibility_accessible_get_child_at_index),
2500 (impl_accessibility_accessible_get_state),
2501 (impl_accessibility_accessible_get_relation_set):
2502 warning fixes & include action.h
2504 2001-13-11 Michael Meeks <michael@ximian.com>
2506 * *.[ch] fix bits I screwed up:
2508 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2509 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2511 2001-13-11 Michael Meeks <michael@ximian.com>
2513 * *.[ch] Namespace libspi into spi_ and Spi.
2515 2001-13-11 Michael Meeks <michael@ximian.com>
2517 * Makefile.am: dist & install at-spi-1.0.pc
2519 * libspi/Makefile.am: install into at-spi-1.0
2521 * idl/Makefile.am (idldir): install into at-spi-1.0
2523 * at-spi-1.0.pc.in: add.
2525 * configure.in: build it.
2527 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2529 * test/keysynth-demo.c:
2530 Use a 'realize' signal-handler to set the WM properties for
2531 the virtual keyboard, rather than making it a "POPUP" type
2532 override-redirect window (thanks to anders carlsson for that
2535 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2538 * test/keysynth-demo.c:
2539 Added new test of key synthesis, which creates a simple
2540 (mouse-operated) onscreen keyboard. It inserts key events into
2541 the currently-focused window, thus it does not grab keyboard focus
2544 * cspi/spi_registry.c:
2545 Added C binding for AT-SPI generateKeyEvent.
2547 * libspi/deviceeventcontroller.c:
2548 Added call to XFilterEvent so that key listener works with XIM (we
2549 hope). Added event_synth_type to generateKeyEvent, so that we can
2550 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2551 synthesize a press/release pair for KeySyms.
2553 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2555 * libspi/Makefile.am:
2556 * registryd/Makefile.am:
2557 (temporary) hack to include libXtst in libspi and registryd.
2558 (Needed for keystroke synthesis, see below).
2561 Improved API for registerKeystrokeListener, in accordance with
2562 discussions with Gnopernicus team and X server research.
2564 * libspi/registry.c:
2565 * libspi/deviceeventcontroller.c:
2566 * libspi/accessible.c:
2567 * libspi/keystrokelistener.c:
2568 Changes and fixes to support keylisteners for potentially
2569 consumed key events (that is, 'passive grabs').
2570 Added implementation for generateKeyEvent() [untested].
2573 Changes to registerKeystrokeListener() API, as above.
2574 Added deregisterGlobalEventListenerAll(), and
2575 deregisterKeystrokeListener(), which are needed for clean exit of
2577 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2578 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2580 * cspi/spi_registry.c:
2581 Added implementations of function prototypes mentioned above.
2583 * registryd/registryd.c:
2584 Added the key listener event source as a g_timeout(), to allow
2585 receipt of key events that are not caught by GDK (since GDK
2586 doesn't support passive keygrabs, this was necessary).
2589 Changed to attach a keylistener to 'Alt' keys, and
2590 respond to the following keycommands: Alt-M (toggle magnifier);
2591 Alt-F (toggle speech); Alt-Q (quit).
2592 Added an exit routine to deregister the listeners, and a key
2593 listener that prints some key info to the console when a key
2594 matches the listener mask (and is thus received by the listener).
2596 * util/idl/Magnifier.idl:
2597 Changes to magnifier API to support multiple zoom regions,
2598 non-uniform scaling in x and y, markDirty, and a host of other
2599 features that would be useful to magnification.
2602 * util/mag_client.c:
2603 * util/mag_client.h:
2604 * util/mag_control.c:
2606 Source code changes to support the above IDL changes.
2609 As above, and also changes to use a (slower) generic conversion
2610 path for colormap conversions, since the fast RGB conversions have been
2611 reported to fail for 16-bit displays.
2613 2001-10-26 Michael Meeks <michael@ximian.com>
2615 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2617 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
2619 * at-bridge/Makefile.am: fix LDFLAGS.
2621 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2623 * at-bridge/bridge.c:
2624 Re-worked listeners for toolkit events, now we have signal
2625 and property listeners. Added a private method
2626 register_atk_event_listeners(), which registers with the
2627 various atk and gtk signals we need to monitor in order to emit
2629 Added emission hook for AtkObject:property-change events, to
2630 support the 'property listeners'.
2631 Fixed some alloc()s of Accessibility_Event structs to use CORBA
2634 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2635 which emit warnings and exit, respectively, if CORBA errors occur
2636 during remote calls, and we now use these methods to check most of
2637 our CORBA calls in the C bindings.
2639 * cspi/spi_accessible.c:
2640 Changed AccessibleSelection_refSelectedChild() to
2641 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2642 now increment refcounts.
2644 * cspi/spi_component.c:
2645 Fixed some long pointer casts (dangerous!) to pass pointers to
2646 CORBA_longs of the proper type to the CORBA stubs, and copy the
2647 data into the longs that were passed into the C bindings code.
2649 * at-bridge/bridge.c:
2651 * libspi/accessible.c:
2652 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2653 hyperlinks, AtkHyperlink is an object type.
2655 * libspi/application.c:
2656 Added various conversions to and from "generic" event types and
2657 atk-specific types; this is really part of the 'bridge'
2658 implementation but is valid for all AtkObject-based accessibility
2661 * libspi/editabletext.c:
2662 Fixed nasty bug wherein editable text's finalize method was
2663 unref'ing tha AtkObject reference that the text parent class was
2664 about to unref _again_. There was also a nasty inheritance bug
2665 that meant that the AccessibleEditableText class was corrupt.
2667 * libspi/selection.c:
2668 Provided implementations for some selection API that was broken.
2670 * idl/Application.idl:
2671 Added registerObjectEventListener () method.
2674 Fixed a number of return values that were Bonobo_Unknowns from
2675 bonobo_object_corba_objref(), which I
2676 forgot to dup before returning. Changed instances of
2677 bonobo_object_corba_objref (bonobo_object(o)) to
2678 BONOBO_OBJREF(o), for concision and clarity.
2680 <2001-10-13 Louise Miller <louise.miller@sun.com>
2682 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2683 idl/Event.idl, idl/Registry.idl
2684 Changed these files to include Bonobo_Unknown.idl instead
2687 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
2689 * libspi/component.c libspi/component.h:
2690 Fixed typo. Added assertions for object checks in
2691 AccessibleComponent code.
2693 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2695 * idl/Accessible.idl:
2696 Added 'isEqual (Accessible *object)'
2697 method for Accessible. (Not Yet Implemented).
2700 Changed signature of registerKeystrokeListener() to
2701 take a KeySet and KeyEventSeq so that specific keys and event
2702 types could be requested for monitoring, and added a flag
2703 is_synchronous so that either synchronous or asynchronous
2704 notification could be requested. (However this is not all
2705 implemented yet). This also meant adding two new typedefs,
2706 KeyEventSeq and KeySet.
2709 Added two new relations, RELATION_TOOLTIP_FOR and
2710 RELATION_LEAFNODE_OF.
2713 Added new state, STATE_HAS_TOOLTIP.
2715 * libspi/text.c, editabletext.c:
2716 Added new assertions to all casts of bonobo-objects from
2717 CORBA servants, to prevent Text API calls on non-text objects.
2718 Changed suspect casts of int-pointer types, so that we
2719 always send a valid CORBA_long pointer to the CORBA APIs that use
2720 in/out long parameters. We then have to copy from the CORBA_long
2721 into the regular long or int for return to the C bindings, or
2722 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
2725 * libspi/deviceeventcontroller.c:
2726 Cleaned these sources up.
2728 Changed return type for getCharacterAtOffset to
2729 CORBA_unsigned_long, to allow for 32-bit characters.
2732 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
2736 Fixed 'make dist' so that distro compiles...
2737 * libspi/keymasks.h:
2739 * cspi/spi-listener.c:
2740 KeystrokeListenerCB now returns a boolean.
2742 Added KeyEventType struct, and KeyStroke.
2743 Also added createKeystrokeListener(),
2744 KeystrokeListener_addCallback(),
2745 KeystrokeListener_removeCallback(), and added a keymask to
2746 registerKeystrokeListener().
2747 * cspi/spi_accessible.c:
2748 Changed numerous return types for interfaces from
2749 AccessibleComponent to Accessible<InterfaceName>; this was
2750 probably a cut-and-paste error.
2752 Implementations of new KeystrokeListener api (from spi.h,
2755 Changes to key modifier mapping.
2756 Created ControllerEventMask struct.
2757 Made DeviceEventController derive from Bonobo::Unknown.
2759 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
2760 * libspi/deviceeventcontroller.c:
2761 Added a number of new internal (private) methods.
2762 * libspi/editabletext.c:
2763 * libspi/editabletext.h:
2764 Fixed a number of bugs related to the fact that
2765 editabletext inherits from text. Fixed the EditableText struct,
2766 the init() call, and use correct casts when calling Text methods
2767 from an EditableText object. Removed (duplicate) atko from the
2768 EditableText structure, we use the one in the parent Text
2769 structure via the casts mentioned above.
2770 * libspi/keystrokelistener.[ch]:
2771 * libspi/registry.c:
2772 Changes in support of keyboard handling (above).
2774 Keyboard handling, though partly functional, is still not
2775 recommended for at-spi client use as there is considerable
2776 work yet to be done.
2779 Changed some places where pointers to various int types
2780 are cast to be pointers to CORBA_long types and vice-versa:
2781 pointer casting is not safe so we pass pointers of the correct
2782 types and then cast the result before putting it into the target
2785 * libspi/text.h: minor typos corrected.
2787 We now speak not only the name of a Text element, but the
2788 first sentence of its content, when it receives focus.
2789 I also changed the text compression to 75% from 50%.
2790 * util/Accessibility_Util.server.in:
2791 Changed the default magnifier type to be a 3x vertical
2792 splitscreen magnifier (was previously a 2x horizontal one).
2794 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
2796 * libspi/keystrokelistener.h:
2797 * libspi/keystrokelistener.c:
2798 Initial functional implementations of KeystrokeListener.
2801 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
2803 Fixed string handling for NULL strings in libspi.
2804 Added spi_freeString to free strings returned by C bindings.
2806 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
2808 * libspi/keystrokelistener.h:
2809 * libspi/keystrokelistener.c:
2810 Began (no-op) implementations of KeystrokeListener
2812 * libspi/deviceeventcontroller.c:
2813 * libspi/deviceeventcontroller.h:
2814 Began creating implementations of DeviceEventController,
2815 to handle keystroke and mouse event listening and
2817 * libspi/accessible.c:
2818 Stubbed-in the implementations for
2819 Accessibility_Accessible_getState and
2820 Accessibility_Accessible_getRelationSet.
2821 * libspi/registry.c:
2822 Improved de-registration process and fixed some bugs,
2823 deregistration now works correctly.
2825 Added initialization of applications list (to NULL).
2827 Reduced speech compression from 0.5 to 0.7, for demo.
2828 Changed call to gdk_window_set_decorations()
2829 to gtk_window_set_decorated().
2830 * at-bridge/bridge.c:
2831 Bridge now deregisters when app exits, via
2832 registration of a cleanup function
2833 with the g_atexit() call.
2834 Required making 'app' static, renamed 'this_app'.
2835 Fixed broken use of bonobo_init, passing argv wrongly.
2837 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
2841 Created a new directory for
2842 accessibility-related utilities, primarily for
2843 testing and demo purposes, but with possible
2850 Onscreen magnifier utility that
2851 is implemented as a bonobo service.
2853 * util/mag_client.c:
2854 * util/mag_client.h:
2855 Client-side support (simple C bindings)
2856 for Magnification service
2858 * util/mag_control.c:
2859 Client program example for
2860 Magnification service
2862 * util/Accessibility_Magnifier.server.in:
2863 Bonobo-activation file for the
2864 Magnification service.
2867 * util/idl/Magnifier.idl:
2868 IDL defining the bonobo Magnification
2872 Modifications to use the bonobo-activated magnifier
2873 above, in place of trying to connect to an existing
2874 magnifier that uses socket-listening IPC.
2876 If env variable MAGNIFIER is set, a magnifier service
2877 will be started if one does not exist.
2879 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
2880 * at-bridge/bridge.c:
2881 applied patch from Marc to build and run
2882 against new glib and gtk+ (seemed like a change
2883 to bonobo_init signature was made ?)
2885 made festival-server support turned off by default.
2886 Added support for a simple magnifier (off by default)
2887 which will be added to a 'util' directory later.
2888 * at-bridge/Makefile.am:
2889 Changed "application.h" header from a 'source'
2890 to a 'dependency' of libat-bridge.
2892 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2900 Added interface implementation c files to list of
2901 includes so they are included in libcspi.
2904 Changed prototype of AccessibleAction_doAction to return a
2906 Changed prototype of AccessibleTable_getCaption to
2907 return an Accessible.
2908 Changed prototype of AccessibleTable_getSelectedRows
2909 and AccessibleTable_getSelectedColumns to
2910 return a long (returns the number of selected rows
2911 or columns respectively).
2912 Changed name of AccessibleText_refRunAttributes to
2913 AccessibleText_getAttributes.
2914 Changed prototype of AccessibleText_getCharacterExtents to
2915 return a void rather than a boolean.
2916 Added support for a AccessibleCoordType parameter
2917 specifying what type of coordinates are desired.
2918 Added an AccessibleCordType parameter to
2919 AccessibleText_getPointAtOffset.
2921 * cspi/spi_accessible.c:
2922 Added code to return the outstanding interfaces from
2923 Accessible_queryInterface.
2925 * cspi/spi_action.c:
2927 Corrected call to getNActions to call the c binding
2930 * cspi/spi_editabletext.c:
2932 Changed name from setRunAttributes to setAttributes.
2934 * cspi/spi_hyperlink.c:
2936 Changed call to getNAnchors to correctly call the c
2937 binding for an attribute.
2939 * cspi/spi_hypertext.c:
2941 Changed getImageDescription to correctly call the
2942 binding for an attribute.
2944 * cspi/spi_selection.c:
2945 Changed getNSelectedChildren to correctly call the c
2946 binding for the attribute.
2947 Changed refSelectedChild to getSelectedChild.
2951 Changed getCaption to return an Accessible.
2952 Fixed calls which retrieve attributes.
2953 Changed refAt to getAccessibleAt.
2954 Changed getNSelectedRows and getNSelectedColumns to
2958 Changed getCharacterExtents and getPointAtOffset to accept an
2959 AccessibleCoordType.
2961 Changed calls which retrieve attributes.
2962 Changed refRunAttributes to getAttributes.
2967 * idl/Hyperlink.idl:
2968 Changed n_anchors attribute to nAnchors to keep naming
2969 convention consistent.
2972 Made Table inherit from Bonobo::Unknown.
2973 Added nSelectedColumns and nSelectedRows attributes.
2976 Made Value inherit from Bonobo::Unknown.
2978 * libspi/hyperlink.c:
2979 Change for nAnchors attributte name change.
2981 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2989 Added interface implementation c files to list of
2990 includes so they are included in libcspi.
2993 Changed prototype of AccessibleAction_doAction to return a
2995 Changed prototype of AccessibleTable_getCaption to
2996 return an Accessible.
2997 Changed prototype of AccessibleTable_getSelectedRows
2998 and AccessibleTable_getSelectedColumns to
2999 return a long (returns the number of selected rows
3000 or columns respectively).
3001 Changed name of AccessibleText_refRunAttributes to
3002 AccessibleText_getAttributes.
3003 Changed prototype of AccessibleText_getCharacterExtents to
3004 return a void rather than a boolean.
3005 Added support for a AccessibleCoordType parameter
3006 specifying what type of coordinates are desired.
3007 Added an AccessibleCordType parameter to
3008 AccessibleText_getPointAtOffset.
3010 * cspi/spi_accessible.c:
3011 Added code to return the outstanding interfaces from
3012 Accessible_queryInterface.
3014 * cspi/spi_action.c:
3016 Corrected call to getNActions to call the c binding
3019 * cspi/spi_editabletext.c:
3021 Changed name from setRunAttributes to setAttributes.
3023 * cspi/spi_hyperlink.c:
3025 Changed call to getNAnchors to correctly call the c
3026 binding for an attribute.
3028 * cspi/spi_hypertext.c:
3030 Changed getImageDescription to correctly call the
3031 binding for an attribute.
3033 * cspi/spi_selection.c:
3034 Changed getNSelectedChildren to correctly call the c
3035 binding for the attribute.
3036 Changed refSelectedChild to getSelectedChild.
3040 Changed getCaption to return an Accessible.
3041 Fixed calls which retrieve attributes.
3042 Changed refAt to getAccessibleAt.
3043 Changed getNSelectedRows and getNSelectedColumns to
3047 Changed getCharacterExtents and getPointAtOffset to accept an
3048 AccessibleCoordType.
3050 Changed calls which retrieve attributes.
3051 Changed refRunAttributes to getAttributes.
3056 * idl/Hyperlink.idl:
3057 Changed n_anchors attribute to nAnchors to keep naming
3058 convention consistent.
3061 Made Table inherit from Bonobo::Unknown.
3062 Added nSelectedColumns and nSelectedRows attributes.
3065 Made Value inherit from Bonobo::Unknown.
3067 * libspi/hyperlink.c:
3068 Change for nAnchors attributte name change.
3071 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
3073 implementations-- made server implementations own AtkObject pointers
3074 rather than their respective AtkInterrface pointers to fix
3075 refcounting. AtkHyperlink is still broken.
3077 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
3078 * cspi/spi_accessible.c:
3079 Added method Accessible_Role_getName(),
3080 and requisite string array (role_names).
3081 Added conversion string_from_corba_strin() call
3082 to Accessible_getName and _getDescription.
3083 * libspi/accessible.c:
3084 Added implementation for Accessible_getRole()
3086 Added festival support, used if environment variable
3089 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3091 * at-bridge/bridge.c:
3092 Now allocate Accessibility_Event using
3093 Accessibility_Event__alloc() instead of g_new0().
3094 * libspi/accessibleeventlistener.c:
3095 Initialize AccessibleEventListener->callbacks to NULL.
3096 Fixed accessible__event_listener_init() param, changed to
3097 "AccessibleEventListener *" type.
3098 Changed a bonobo_object_release_unref() call to
3099 Accessibility_Accessible_unref().
3100 * libspi/listener.c:
3101 Changed Bonobo_Unknown_unref to (equivalent)
3102 Accessibility_Accessible_unref.
3103 * libspi/registry.c:
3104 Changed bonobo_object_release_unref to
3105 Accessibility_Accessible_unref.
3107 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3110 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
3111 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
3112 spi-util.c spi-util.h
3113 Implementations for C bindings to remaining accessibility
3116 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3119 changed return value of Action from void to boolean to
3120 bring in line with ATK.
3123 Changed getText funcions to return "out" start and end offsets.
3124 Changed getAttributes to take and offset and return the start
3125 and end offset of the attribute run.
3126 Changed getOffsetAtPoint and getCharacterExtents to take an
3127 enum describing whether coordinates are window or screen.
3130 libspi/action.c libspi/action.h libspi/editabletext.c
3131 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
3132 libspi/hypertext.c libspi/hypertext.h libspi/image.c
3133 libspi/image.h libspi/selection.c libspi/selection.h
3134 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
3135 libspi/value.c libspi/value.h
3136 Added server implementations for outstanding ATK interfaces
3137 not yet implemented.
3139 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3142 Added (missing) getName() method.
3143 Made nActions an attribute.
3144 * idl/EditableText.idl:
3145 Changed order of params in setAttributes.
3146 * idl/Hyperlink.idl:
3147 Removed getAnchor, added getURI.
3149 Changed attributes to methods, for efficiency
3150 (so that getting extents can be done in one call)
3151 * idl/Selection.idl:
3152 Changed nSelectedChildren to attribute, and re-indented.
3153 * idl/Table.idl: changed nrows, ncolumns, caption, summary
3155 * idl/Text.idl: reformatted to match our coding style.
3156 (temporarily?) removed getRowColumnAtOffset().
3157 Changed text selection API to support multi-select and
3158 non-contiguous selections, as in ATK.
3159 * idl/Value.idl: changed some methods to attributes.
3161 2001-08-24 Mark McLoughlin <mark@skynet.ie>
3163 * libspi/listener.c(impl_notify_event):
3164 BonoboUnkown_unref the source instead
3165 of bonobo_object_release_unref - the ORB
3166 handles the releasing.
3168 * configure.in: require ORBit-2.3.94 for
3171 2001-08-21 Bill Haneman <bill.haneman@sun.com>
3173 Tagged CVS repository 'EA_1_0'.
3174 * README.EARLY_ACCESS:
3175 Alphabetized acknowledgements list, and
3177 Listed some known dependencies of at-spi.
3179 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3181 * docs/at-spi-docs.sgml:
3182 * docs/at-spi-sections.txt:
3183 * docs/at-spi-overrides.txt: (Added zero-length file)
3184 Documentation improvements - gtk-doc should build
3185 docs for all implemented C bindings now.
3188 * cspi/spi.c: (New file)
3189 * cspi/spi_event.c: (New file)
3190 * cspi/spi_registry.c: (New file)
3191 * cspi/spi_accessible.c: (New file)
3192 * cspi/spi_application.c: (New file)
3193 * cspi/spi_component.c: (New file)
3194 Split spi_main.c into six parts, and included them from
3195 "spi.c". This is a bit of a hack, probably temporary,
3196 but required by gtk-doc, apparently.
3198 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3201 * docs/at-spi-docs.sgml:
3202 * docs/at-spi-sections.txt:
3204 Initial checkins/modifications for gtk-doc generation.
3207 Added (missing) interface query methods to Accessible's C binding.
3209 Added GenericInterface type definition.
3211 Added query for AccessibleComponent interface to focus event handler.
3212 Added printout of bounding box for focussed component.
3213 * libspi/component.c:
3214 Added partial implementation for AccessibleComponent to C binding.
3215 * idl/Application.idl:
3216 * libspi/registry.c:
3217 * libspi/listener.c:
3218 * libspi/application.c:
3219 * libspi/application.h:
3220 Changed "ID" attribute type from string to long.
3222 2001-08-19 Bill Haneman <bill.haneman@sun.com>
3226 Made method naming consistent: methods taking object args
3227 start with uppercase, other methods (except those using
3228 acronyms) start with lowercase. Underscores delimit between
3229 object names and method names:
3230 SPI_init() - uppercase since it starts with an acronym.
3231 getDesktopCount () - lowercase start since no object param0.
3232 Accessible_getName() - uppercase object type name, studlyCaps method
3236 Added gtk-doc documentation for all currently implemented
3237 methods in the C bindings API.
3239 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3241 * Makefile.am : changed build order to build test last.
3244 Changed "createEventListener" to "CreateEventListener".
3245 * libspi/accessibleeventlistener.c :
3246 Bugfix for addition of callbacks.
3247 * test/Makefile.am :
3248 * test/simple-at.c :
3249 Added new test that uses the C bindings API.
3251 * libspi/listener.c :
3252 * libspi/registry.c :
3253 * libspi/accessibleeventlistener.c :
3254 * at-bridge/bridge.c :
3255 Renamed member "target" of Accessibility_Event to "source",
3256 which is more descriptive.
3259 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3263 * cspi/Makefile.am :
3264 Added makefile support for at-spi/cspi directory.
3267 * cspi/spi-listener.h : (NEW FILE)
3268 Added support for/use of spi-listener.h.
3270 C bindings now build successfully, with no warnings.
3271 * libspi/accessibleeventlistener.h : (NEW FILE)
3272 * libspi/accessibleeventlistener.c : (NEW FILE)
3273 * libspi/Makefile.am :
3274 Added new object type "AccessibleEventListener"
3275 which inherits from Listener, and allows attachment
3276 of in-process callbacks (so that a client with a listening
3277 object instance can add functionality to the local
3278 implementation, dynamically).
3280 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3282 * libspi/accessible.c:
3283 Add implementation for get_index_in_parent().
3285 Added #include of "spi-roletypes.h", and
3286 added enumerated type AccessibleCoordType.
3287 Added definition for KeystrokeListener (function type).
3290 * cspi/spi-statetypes.h :
3291 * cspi/spi-roletypes.h :
3293 Added these headers, used by spi.h.
3295 Added code (NOTE: not yet built by make).
3297 2001-08-18 Mark McLoughlin <mark@skynet.ie>
3299 * libspi/Makefile.am: generate imodule
3300 at the same time as other idl compiler
3303 2001-08-17 Bill Haneman <bill.haneman@sun.com>
3304 * libspi/registry.c :
3305 * libspi/application.c :
3306 * idl/Application.idl :
3307 Made registration with toolkit an application method,
3308 which is required since each app has its own toolkit static
3309 environment. Thus the bridge must register for
3310 notification of toolkit events from each application in turn.
3311 Toolkit notifications are now successfully registered for, and
3312 sent to the listening at client.
3314 Changed toolkit event string to use hyphens rather than underscores.
3315 * libspi/listener.c :
3316 listner now gives more info in debug mode - it reports the
3317 name of the event received, as well as the name of the source.
3320 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3322 * libspi/registry.c :
3323 added more implementation for toolkit events.
3324 Fixed bug such that toolkit event registrations
3325 (via atk) use the whole event name string, not
3327 Removed a useless call to an ORBit_ method.
3328 * at-bridge/bridge.c :
3329 Removed unused local sbuf[] variable.
3331 We now register for Gtk:GtkWidget:button_press_event
3332 events as well as "focus:" events.
3334 Add some more API from Registry.idl that was missing,
3335 for keystroke listening, keystroke and mouse event
3336 synthesis, and enumeration of accessible desktops.
3338 2001-08-16 Michael Meeks <michael@ximian.com>
3340 * configure.in: use AM_GLIB_GNU_GETTEXT.
3342 * Makefile.am (SUBDIRS): kill intl.
3344 2001-08-15 Michael Meeks <michael@ximian.com>
3346 * registryd/Makefile.am: s/oaf/server/ relocate info file.
3348 * configure.in: upd.
3350 * configure.in: depend on a recent bonobo-activation that
3351 will find our server files ...
3353 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3355 * libspi/accessible.c : accessible_new() :
3356 Now we add the Component interface via bonobo_object_add_interface,
3357 if the contained AtkObject implements AtkComponent.
3358 * libspi/accessible.h : now include "component.h"
3359 * libspi/component.h :
3360 * libspi/component.c : added files - implementation of
3361 bonobo wrapper object for Accessibility/Component
3362 * libspi/listener.c :
3363 Added test code to check for Accessibility/Component:1.0
3364 interface and report whether it is implemented by the
3366 * libspi/registry.c :
3367 Now we check for not only the hash of the whole event
3368 string before relaying the event, we also check the
3369 "minor" event string (without the detail string).
3370 This allows event listeners to be registered against
3371 all events of a certain major+minor type, or just
3372 against a specific major+minor+detail type.
3373 * libspi/accessible.c :
3374 Added implementations for Accessible:get_parent(),
3375 Accessible:getChildCount(), and Accessible:getChildAtIndex().
3376 * libspi/registry.c :
3377 * libspi/listener.c :
3378 Replaced calls to Accessibility_Accessible_ref() and
3379 Accessibility_Accessible_unref() with
3380 calls to bonobo_object_dup_ref() and
3381 bonobo_object_release_unref(), so that the CORBA object
3382 is dup-ed and released when relayed, as well as the bonobo object.
3384 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3386 * libspi/Makefile.am,
3387 registryd/Makefile.am,
3388 at-bridge/Makefile.am.
3389 test/Makefile.am, configure.in:
3390 reverse previous changes.
3392 * /idl/Image.idl: fix typo.
3394 * test/Makefile.am: put DEBUG_FLAGS
3397 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3399 * test/app.c: use argv[0] instead of
3402 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3404 * libspi/Makefile.am,
3405 registryd/Makefile.am,
3406 at-bridge/Makefile.am.
3407 test/Makefile.am, configure.in:
3408 cleanup, replace individual LIBS/CFLAGS with
3409 AT_COMMON_{LIBS|CFLAGS}.
3413 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3415 * configure.in, libspi/Makefile.am:
3416 Change IDL path checking for bonobo-activation
3419 2001-08-15 Bill Haneman <bill.haneman@sun.com>
3421 * registryd/registry.c : separated event listeners to use
3422 3 separate lists (focus, window, toolkit). Began testing
3423 event names against hashes before relaying events.
3424 * test/at.c : now register for events of type "focus:"
3425 * test/app.c : now generate events of type "focus:"
3426 * at-bridge/bridge.c : register with ATK for focus events,
3427 and we now relay those focus events to any "focus:" listeners.
3428 This now works with the bridge as a GTK_MODULE when running test/at.
3429 * libspi/registry.c :
3430 * libspi/listener.c :
3431 now we ref event sources before propagating, and unref on receipt.
3432 * libspi/registry.c :
3433 some changes to internal structs, to support event typestring hashes.
3434 * text/app.c : changed the way the appname is generated.
3435 * cspi : added directory that will hold the C bindings library for
3436 non-CORBA/bonobo-savvy clients.
3437 * cspi/spi.h : header file that contains the function prototypes for the C binding.
3438 * idl/Component.idl : added in parameter to indicate coord system for
3439 geometry-related calls.
3440 * idl/Hyperlink.idl : added readonly n_links attribute
3441 * idl/Image.idl : changed methods to attributes.
3443 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3445 * at-bridge/Makefile.am: link against
3446 ../libspi/libspi.la instead of -lspi.
3448 * at-spi/test/app.c: include
3449 bonobo-activation.h. Use a default appname
3450 if one is not provided.
3452 2001-08-14 Bill Haneman <bill.haneman@sun.com>
3454 * idl/Registry.idl : temporarily changed register_Application
3455 to oneway, to work around issue with initial registration
3457 * idl/Application.idl : changed attribute "id" from readonly
3458 to read-write, since it needs to be assigned by Registry.
3459 * registryd/registryd.c : added call to set application id
3461 * registryd/registry.c : changed de-registration procedure to
3462 use CORBA_Object_hash() to find matching object ref in application
3463 lists and listener lists.
3464 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
3465 began distinguishing between event types (work in progress).
3467 2001-08-13 Bill Haneman <bill.haneman@sun.com>
3470 * libspi/application.c:
3471 Added implementations for get/set id, get_toolkitName,
3473 * registryd/registryd.c :
3477 Converted from use of OAF to bonobo-activation.
3478 * libspi/desktop.h :
3479 * libspi/desktop.c :
3481 Removed references to atksimpleobject, since base atkobject
3482 implementation now provides functionality we need.
3483 * libspi/atksimpleobject.c :
3484 * libspi/atksimpleobject.h :
3489 * at-bridge/Makefile.am
3490 * at-bridge/bridge.c
3493 Added directory "bridge" and contents, and added dependencies
3494 in Makefile.am/configure.in.
3495 Initial checkin of "at-bridge".
3496 This code is a GTK_MODULE which automatically registers
3497 GTK+ apps with the accessibility registry, using an object
3498 reference to the root ATK object.
3500 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3502 * po/Makefile.in.in: Remove. Again. If this
3503 doesn't get autogenerated - you need to update
3506 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3508 * po/Makefile.in.in: Add. Again.
3510 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3512 * libspi/accessible.c : added support for 'description' property.
3513 * libspi/accessible.c
3515 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3516 (since the two are now equivalent in libbonobo)
3524 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3525 Bonobo::Unknown as does Accessibility::Accessible.
3526 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3527 interface with Bonobo::Stream, since it was redundant with it.
3528 (The Stream returned by a StreamableContext object is expected to
3529 implement only a subset of Bonobo::Stream)
3531 2001-07-28 Anders Carlsson <andersca@gnome.org>
3533 * libspi/accessible.c (accessible_object_finalize): Change
3534 g_free to g_object_unref since the AtkObject is a GObject.
3536 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3538 * idl/Accessibility.idl: add new IDL files
3541 * idl/Action.idl: Definitions of actionable UI object
3542 * idl/Component.idl: Definitions of UI component geometry, etc.
3543 * idl/Hyperlink.idl: Defs of hyperlink behavior
3544 * idl/Image.idl: Def of accessible image
3545 * idl/Selection.idl: Definition of UI object with selectable children
3546 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3547 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3548 * idl/Text.idl: Interface defs for UI elements with complex textual content
3549 * idl/Value.idl: Definition of UI element that is a value controller or display
3551 2001-07-27 Michael Meeks <michael@ximian.com>
3553 * po/Makefile.in.in: remove autogenerated file from CVS.
3555 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3558 * idl/Registry.idl: include guard.
3560 * idl/Accessibility.idl: Add, and include all the other IDL
3563 * idl/*.idl: remove mass of pragmas etc.
3565 2001-07-26 Michael Meeks <michael@ximian.com>
3567 * registryd/Makefile.am (registryd_SOURCES): remove
3570 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3572 * libspi/.cvsignore, registryd/.cvsignore,
3573 test/.cvsignore: updated.
3575 * po/Makefile.in.in: gettext update.
3577 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3579 * initial CVS checkin
3581 2001-06-29 Michael Meeks <michael@ximian.com>
3583 * configure.in: add AM_CONFIG_HEADER to gen config.h