1 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4 New file. Explicitly allow "build sheriff" putbacks provided
5 they are tested on Solaris.
7 * docs/reference/cspi/Makefile.am:
8 Added '-' to the "cp" command for index.sgml.
9 ("patch by thomasvs, soon coming to a GUADEC near you")
12 Incremented version number (0.9.0) for new release.
13 Changed macro that checks for popt, to better detect
14 obsolete versions of popt.
17 Added X_LIBS to AC_SUBST, for applications
18 that call Xlib API directly.
21 2002-03-07 Bill Haneman <bill.haneman@sun.com>
24 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
27 Fix regression caused by hard-coding major
28 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
31 * test/test-simple.c (test_editable_text),
32 (test_test): revert previous change (error was
33 a regression in gail which is now fixed).
35 2002-03-04 Michael Meeks <michael@ximian.com>
37 * test/test-simple.c (test_editable_text),
38 (test_text): pass G_MAXINT instead of '-1' for
39 whole string - is this a good thing !?
41 * cspi/spi_accessible.c
42 (Accessible_getRelationSet): fix crasher bug
43 overwriting the end of the array.
45 * test/test-simple.c (validate_accessible): free,
46 not g_free returned relation set.
48 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
50 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
51 implemented stateset support
53 * idl/Accessibility_State.idl: Made necessary changes to
54 the IDL to support state sets.
56 2002-02-12 Bill Haneman <bill.haneman@sun.com>
58 * registryd/deviceeventcontroller.c:
59 Added implementation for generateMouseEvent.
61 * cspi/spi_registry.c:
62 Connected new implementation for generateMouseEvent
65 2002-02-12 Bill Haneman <bill.haneman@sun.com>
68 Incremented revision (but no change in public API
69 outside of 'utils', which are not installed public yet.)
72 Changed to use atk_component API for layers and
73 mdi_zorder, instead of deprecated atk_object API.
75 Magnification Utility Enhancements:
78 Added implementation of createZoomRegion, clearAllZoomRegions,
79 resizeZoomRegion. Added new commandline argument
80 "--no-initial-region". Note that clearAllZoomRegions doesn't
81 unmap the old '0' region as it should (yet), and the other
82 methods only work when creating/resizing a single region,
84 (Code for multiple region support will be added later.)
87 Now we raise the magnifier window each time it's refreshed;
88 this will help keep it on top.
91 Added simple wrappers for above, used by mag_control.
92 For general use, it's recommended to use the bonobo magnifier
93 control API directly instead of using these wrappers.
96 Moved ZoomRegionData from magnifier.c to this file.
99 Added some code to exercise new IDL implementations.
101 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
103 * libspi/text.c: Provide implementation for getAttributes.
105 2002-02-04 Bill Haneman <bill.haneman@sun.com>
108 Incremented revision.
110 * test/test-simple.c:
111 Replaced use of deprecated g_main_iteration with
112 g_main_context_iteration.
114 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
117 Incremented revision for desktop alpha 2.
119 2002-01-28 Mark McLoughlin <mark@skynet.ie>
121 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
124 * test/simple-at.c: include netinet/in.h.
126 2002-01-24 Mark McLoughlin <mark@skynet.ie>
128 * cspi/spi_accessible.c: (Accessible_getRelationSet):
129 use NULL, not CORBA_OBJECT_NIL.
131 * libspi/accessible.c:
132 (impl_accessibility_accessible_get_relation_set):
133 allocate the sequence correctly.
135 * libspi/remoteobject.h: kill spi_remote_object_new.
137 * test/test-simple.c: (validate_accessible): add code
138 to test relation sets, now all we need is to figure
139 out how to excercise this code path :/
141 2002-01-18 Michael Meeks <michael@ximian.com>
144 (key_listener_cb): consume the key.
145 (test_keylisteners): update.
146 (main): wait for any pending unrefs on events.
148 * registryd/deviceeventcontroller.c
149 (spi_controller_update_key_grabs): only re-issue the
150 grab on a key release.
151 (spi_device_event_controller_forward_key_event):
152 refresh the keygrabs before we notify the listeners,
153 to reduce the X ungrab / re-grab race.
154 (spi_controller_register_with_devices): remove
155 XSelectInput - we do that with the gdk_window_ call.
156 (_spi_controller_device_error_handler): return a value.
157 s/GDK_DISPLAY/spi_get_display/
159 2002-01-17 Michael Meeks <michael@ximian.com>
161 * registryd/deviceeventcontroller.c
162 (_deregister_keygrab): don't blow out the later
165 * test/test-simple.c (test_keylisteners): do a
166 more intelligent validation.
168 2002-01-14 Michael Meeks <michael@ximian.com>
170 * atk-bridge/bridge.c
171 (gnome_accessibility_module_init),
172 (gnome_accessibility_module_shutdown): impl.
173 (gtk_module_init): protect vs. double inits.
174 (add_signal_listener): impl.
175 (spi_atk_bridge_state_event_listener): kill
176 (deregister_application): split out of
177 (spi_atk_bridge_exit_func): here.
179 2002-01-18 Bill Haneman <bill.haneman@sun.com>
182 Added caret tracking when using magnifier, and
183 now use text bounds for focus tracking of text elements, rather than
184 the component bounds - this is helpful for short text fields in long
185 table cells, at high magnification.
187 2002-01-16 Bill Haneman <bill.haneman@sun.com>
189 * registryd/deviceeventcontroller.c:
190 Regression fix for keylistener de-registration; global keygrabs
191 were not being released when deregisterKeystrokeListener was
192 called in cspi, since
193 Accessibility_DeviceEventController_deregisterKeystrokeListener
194 was called with a zero-length keyset. That is because the cspi
195 method, SPI_deregisterKeystrokeListener, does not take a keyset
196 parameter but instead should remove all the key grabs held be a
198 The code in impl_deregister_keystroke_listener was changed to copy
199 the keylist from the listener instance previously registered with
200 the DeviceEventController before releasing the grabs.
202 * registryd/registry.c:
203 * registryd/deviceeventcontroller.c:
204 * libspi/spi-private.h:
206 Changed spelling of "re-enterant" to "re-entrant" globally.
208 2002-01-16 Bill Haneman <bill.haneman@sun.com>
210 * test/test-simple.c:
211 Changed key listeners test - the test was slightly mis-using the
212 (admittedly poorly documented) SPI_generateKeyboardEvent API.
213 It now uses '=' as the key event listened to and generated,
214 relying on a keysym match rather than assuming that keycode 33
215 is always equal to keysym '!'.
217 2002-01-15 Bill Haneman <bill.haneman@sun.com>
220 Changed simple-at to use a specific keyset, rather than
221 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
222 manager, desktop, etc.
224 2002-01-11 Bill Haneman <bill.haneman@sun.com>
226 * registryd/deviceeventcontroller.c:
227 Replaced standard X error handler with a special handler that
228 is non-fatal for failed keygrabs. This works around
229 problems with keygrab clashes sometimes observed on
231 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
232 mouse handling code as yet).
234 2002-01-11 Bill Haneman <bill.haneman@sun.com>
237 Incremented revision for desktop alpha release.
240 Fixed a couple of the more glaring errors (still not
243 2002-01-11 Michael Meeks <michael@ximian.com>
245 * registryd/deviceeventcontroller.c
246 (spi_device_event_controller_forward_key_event): kill
247 XUngrabKey / XKeyGrab race.
248 (spi_controller_grab_keyboard): rename to
249 (spi_controller_update_key_grabs): this, and deal
250 with incremental adding / removing grabs more
252 (_register_keygrab): ensure we're not pending a remove.
253 (spi_grab_mask_free): impl.
254 (spi_controller_register_global_keygrabs): split out
256 (handle_keygrab): impl.
257 (_deregister_keygrab): impl.
258 (spi_controller_deregister_global_keygrabs): impl.
259 (spi_controller_update_key_grabs): re-issue the grab if
260 we just recieved a notification.
262 * test/test-simple.c (key_listener_cb): remove debug.
264 * registryd/deviceeventcontroller.c
265 (spi_controller_register_device_listener): after
266 registering a global keygrab, actualy register it !
267 don't wait for a timeout; doh !
269 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
270 to make it more readable / manipulable.
271 s/grabmask/grab_mask/ s/refcount/ref_count/
272 s/keyval/key_val/ s/modmask/mod_mask
274 2002-01-08 Michael Meeks <michael@ximian.com>
276 * registryd/deviceeventcontroller.c
277 (spi_controller_register_with_devices): use gdk calls to
279 (global_filter_fn): implement the filter.
280 (spi_device_event_controller_check_key_event): rename to
281 (spi_device_event_controller_forward_key_event): this & upd.
282 (spi_get_display): replace with GDK_DISPLAY.
284 * registryd/deviceeventcontroller.c
285 (spi_controller_deregister_device_listener): unroll into
286 (impl_deregister_keystroke_listener): here to simplify.
287 (spi_controller_register_global_keygrabs): split cut and
288 paste (!) out into (_register_keygrab): here, shorter & sweeter.
289 (spi_controller_deregister_device_listener): remove.
290 (impl_register_mouse_listener): remove, no mouse listener
291 support in at-spi-1.0
293 * registryd/registry.c
294 (_device_event_controller_hook): kill.
295 (spi_registry_init): upd.
297 * registryd/deviceeventcontroller.c
298 (spi_device_event_controller_class_init): upd.
299 (spi_check_key_event): merge into.
300 (spi_device_event_controller_check_key_event):
301 here and kill strange static ev init, don't leak
302 the x_event - nor dynamicaly allocate it.
304 * registryd/registry-main.c (main): re-direct
305 timeout to remove strange vtable mess.
307 * registryd/deviceeventcontroller.c
308 (remove_listener_cb): impl.
309 (spi_controller_deregister_device_listener):
310 fix re-enterancy hazard.
312 2002-01-07 Michael Meeks <michael@ximian.com>
314 * registryd/deviceeventcontroller.c
315 (spi_device_event_controller_new): upd.
316 (impl_notify_listeners_sync): upd. debug.
317 (spi_notify_keylisteners): fix re-enterancy hazards,
318 prettify, remove O(n*n) iteration.
319 (spi_controller_grab_keyboard): fix iteration.
320 (spi_check_key_event): re-format to suit coding style.
321 Clean all the warnings - we're warning free.
323 * registryd/deviceeventcontroller.h:
324 * registryd/registry.h: make mutualy referential with
325 typesafe forward references instead of (!) void pointer
328 2002-01-11 Michael Meeks <michael@ximian.com>
330 * cspi/spi_accessible.c (role_names): add a role name
331 to sync this array with the enum; and make the regression
334 2002-01-10 Michael Meeks <michael@ximian.com>
336 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
337 allow expansion of enumeration & kill warning.
339 * test/test-simple.c (key_listener_cb): impl.
340 (test_keylisteners): impl.
342 * cspi/spi-listener.h: make listener signatures const
343 on the provided (const) events.
345 * test/keysynth-demo.c: upd. to const events.
347 * test/simple-at.c: ditto.
349 2002-01-11 Bill Haneman <bill.haneman@sun.com>
352 Rev the version to 0.5 (the previous tarball was named 0.4,
353 even though the micro number was 3), so we need to rev upwards
354 again for beta2/"desktop-alpha"
357 Checked in a demo script, which requires editing before use!
358 Proceed with caution.
361 Fixed typo in header which was redefining SPI_ACTION_CLASS.
363 * cspi/spi_accessible.c:
364 Add a couple of missing enum initializations, and fix some enum
367 * cspi/spi_registry.c:
368 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
370 * docs/reference/cspi/at-spi-cspi-sections.txt:
371 Remove/fix a couple of broken document references.
374 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
375 as Alt-Control to listen for commands, since on some systems
376 Control-Alt may already be grabbed.
378 2002-01-10 Bill Haneman <bill.haneman@sun.com>
381 Update version number to 0.4 for Beta2.
383 * libspi/accessible.c, libspi/accessible.h:
384 Expose spi_accessible_construct, to enable libgail-gnome
385 construction from spi_accessible subtype.
388 Workaround for bug in some non-gnome-compliant window managers
389 which made magnifier resize improperly.
391 2002-01-09 Bill Haneman <bill.haneman@sun.com>
393 * libspi/accessible.c: (spi_accessible_new) :
394 Move the test for SPI_IS_REMOTE_OBJECT to
395 spi_accessible_new_return, fixing a bug and compile time warning.
397 2002-01-08 Michael Meeks <michael@ximian.com>
399 * registryd/registry.c (parse_event_type): remove strndup.
401 * libspi/Makefile.am (libspi_la_SOURCES): remove
402 sources already included in the headers section.
404 * libspi/util.c: add.
406 * libspi/spi-private.h: add.
408 * registryd/registry.c: update to moved list iterators.
410 2002-01-05 Michael Meeks <michael@ximian.com>
412 * test/simple-at.c (main): upd. auto-module set to atk-bridge
414 * test/test-simple.c (main): ditto.
416 2002-01-04 Michael Meeks <michael@ximian.com>
418 * libspi/accessible.c (spi_accessible_new): remove 2nd,
421 * registryd/registry.c
422 (get_listener_list): impl.
423 (impl_accessibility_registry_register_global_event_listener):
424 re-impl. to simplify using ~, remove dodgy const cast off.
425 (parse_event_type): constify.
426 (impl_accessibility_registry_deregister_global_event_listener_all):
427 re-write, more efficiency and simplicity, kill re-enterancy
429 (compare_listener_corbaref, compare_corba_objects),
430 (compare_listener_quarks): define out.
431 (impl_accessibility_registry_deregister_global_event_listener):
432 re-write for effiency, and nail re-enterancy hazard.
433 (impl_accessibility_registry_get_desktop_list): impl.
434 (re_enterant_list_delete_link): impl.
435 (re_enterant_list_foreach): impl.
436 (remove_listener_cb): impl.
437 (_registry_notify_listeners): kill.
438 (notify_listeners_cb): impl.
440 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
441 (SPI_getDesktopList): impl.
443 * test/test-simple.c (test_desktop): test the methods.
445 2002-01-03 Michael Meeks <michael@ximian.com>
447 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
448 keystrings since we free them
449 (SPI_freeAccessibleKeySet): in here.
451 * libspi/accessible.c (spi_accessible_new): kill warning,
452 wonder what is going on with the constructor here.
454 2002-03-01 Bill Haneman <bill.haneman@sun.com>
456 * libspi/accessible.c (spi_accessible_new ()) :
457 Added check to see if AtkObject is an SpiRemoteObject before
458 creating an SpiAccessible.
460 2002-05-01 Bill Haneman <bill.haneman@sun.com>
462 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
463 Enable keygrabs using the Control modifier, now that they are
464 working properly (they were previously disabled).
467 Change the command keygrab for this demo to "Control+Alt", so as
468 to conflict with fewer other key commands on the system; this
469 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
471 Removed a pointlessly-chatty keylistener for unshifted keys
472 (shifted keys are still reported).
474 2002-02-01 Bill Haneman <bill.haneman@sun.com>
476 * libspi/remoteobject.h:
477 * libspi/remoteobject.c:
478 Added definitions for special AtkObject subtype, required for
479 support of remote components (specifically, used by BonoboControl
480 accessibility implementation).
482 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
484 * cspi/spi.h: synched relation types with ATK
486 * cspi/spi_accessible.c: Added implementations of
487 AcccessibleRelation_* methods
489 * idl/Accessibility_Relation.idl: added getRelationTypeName
490 method. Synched known relation types with ATK. Allowed for
491 relation type extension with the RELATION_EXTENDED type.
493 * libspi/relation.c: Provided implementations for
494 AccessibleRelation methods.
496 2002-01-01 Bill Haneman <bill.haneman@sun.com>
498 API tweaks for today's API 'freeze'.
501 Added placeholder functions to allow future compatible expansion
502 of the IDL interfaces.
504 * idl/Accessibility_Registry.idl:
505 Changed generateKeyEvent to generateKeyboardEvent. Changed
506 signature of this method to accept an optional keystring in
507 parameter (for complex text input synthesis) and changed use of
508 simple 'boolean' parameter in registerKeystrokeListener to a
509 struct, EventListenerMode.
511 * cspi/spi_accessible.c:
513 * cspi/spi_streamablecontent.c:
514 Added references to AccessibleStreamableContent interface, and
515 definition and implementation of AccessibleStreamableContent
518 * cspi/spi_registry.c:
520 Changed generateKeyEvent API to generateKeyboardEvent,
521 taking a new (optional) keystring parameter to support complex
526 Renamed directory (to better reflect its actual purpose, bridging
527 from at-spi to ATK). The .so module is also now named
530 * idl/Accessibility_Hypertext.idl:
531 * libspi/accessible.c:
532 * libspi/hypertext.h:
533 * libspi/hypertext.c:
534 Changed Accessibility_Hypertext to *not* derive from
537 * cspi/spi_registry.c:
538 Added list of legal event type names for 'window' events, which
539 completes the registry event API.
541 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
543 * at-bridge/bridge.c: Added registration for separate
544 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
545 signals. If either of the first two parameters to the generic
546 bridge signal handler are ints, they are passed on as event
547 details. This allows an AT to determine what text was inserted.
549 2001-12-21 Bill Haneman <bill.haneman@sun.com>
551 * registryd/deviceeventcontroller.c:
552 Fixed regressions in generateKeyEvent caused by the removal of
553 gdk_init from registryd; we now use pure X calls to connect to the
554 display, which makes sense because deviceeventcontroller already
555 uses a fair bit of X API (should eventually be migrated to a
556 'portability layer').
558 * registryd/desktop.c:
559 Fixed minor regression in spi_desktop_init, changed the way the
560 desktop name is being set to work with new spi_base API
561 (gobject-based, rather than AtkObject-based).
563 * registryd/Makefile.am:
564 Minor revision of makefile to use XTST_LIBS variable rather than
565 hard-wiring the Xtst LD_ADD element.
567 * test/keysynth-demo.c:
568 Tweaked an output message; added initialization of the
569 'keystrings' member of the "switch listener" key_set.
572 Squashed compile-time warning.
574 * libspi/accessible.c:
575 Cosmetic and formatting fixes, renamed a static method.
577 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
579 * libspi/accessible.c
581 * libspi/application.c
585 * libspi/editabletext.c
593 * registryd/desktop.c:
594 Changed SpiBase to contain a GObject pointer rather than an AtkObject
596 2001-12-17 Bill Haneman <bill.haneman@sun.com>
598 * idl/Accessibility_Registry.idl:
599 Added boolean member 'is_text' to DeviceEvent. This is for the
600 use of key events, and helps prevent ambiguity between composed
601 key strings and keysym names, since both may potentially be
602 returned in the 'event_string' member.
604 * at-bridge/bridge.c:
605 * registryd/deviceeventcontroller.c:
606 Use the 'is_text' member when notifying device event listeners.
607 Knon issue: composed characters are not dealt with correctly by
608 the global key listener implementation yet.
610 2001-12-17 Bill Haneman <bill.haneman@sun.com>
612 * at-bridge/bridge.c:
613 Namespaced local static methods to spi_atk_bridge_* where
614 previously named bridge_*, and spi_* elsewhere.
616 * at-bridge/bridge.c:
617 * cspi/bonobo/cspi-bonobo-listener.c:
618 Added demarshalling/conversion for string member of
619 Accessibility_DeviceEvent to AccessibleKeystroke.
621 * registryd/deviceeventcontroller.c:
622 Added code to fill the Accessibility_DeviceEvent key string value
623 member for global key events (i.e. from XGrabKey), to match
624 behavior of Accessibility_DeviceEvent from the toolkit key events
625 from the bridge. Fixed timestamp in global key event notifications.
628 Added printout of key event's string value to
629 report_ordinary_key_event, for demo/debugging purposes.
631 2001-12-15 Bill Haneman <bill.haneman@sun.com>
633 * idl/Accessibility_Registry.idl:
634 Removed Accessibility_KeyStroke structure in favor of generic
635 Accessibility_DeviceEvent structure.
636 Changed Accessibility_ControllerEventMask from a struct to an
639 * at-bridge/bridge.c:
640 Changed APIs to use DeviceEvent structure as above, and removed
641 bogus casting between these event structures.
643 * cspi/spi-listener.h:
644 Added keystring member of AccessibleKeystroke structure, to enable
645 matching on event "names" rather than only hardware codes and
649 Added keystrings member of AccessibleKeySet struct, to allow
650 matching on event names (as above).
651 Added declarations for SPI_createAccessibleKeySet and
652 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
653 event modmasks directly as unsigned ints rather than structs with
654 refcounts, in the DeviceEventController methods.
656 * cspi/spi_registry.c:
657 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
659 * cspi/spi-roletypes.h:
660 Added documentation of newly added SPI Roles.
662 * cspi/bonobo/cspi-bonobo-listener.c:
663 Changes in support of API changes above.
665 * libspi/accessible.c:
666 Converted APIs to use DeviceEvent structure (see IDL changes
669 * registryd/deviceeventcontroller.c:
670 Added DEControllerGrabMask structure to track keygrabs not only by
671 modmask but by keyset as well; this allows us to do "global"
672 (i.e. X) keygrabs on a per-key or keyset basis rather than always
673 grabbing on AnyKey and then filtering after-the-fact.
674 Bugfixes for event filtration mean that we don't get false matches
675 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
677 * registryd/deviceeventcontroller.c:
678 Namespaced a number of static methods to use spi_ prefix. Major
679 revision to internals of global (i.e. X) key grabs.
681 * registryd/deviceeventcontroller.h:
682 Removed keymask_list and added keygrabs_list to
683 SpiDeviceEventController struct.
686 Added use of SPI_createAccessibleKeySet API when creating a
687 listener for only one key. Attach a listener to "shift spacebar
688 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
689 X key event names to SPI key event names, so that listeners are
690 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
692 * test/keysynth-demo.c:
693 Changed (incorrect) use of X key event names (KeyPressed,
694 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
697 2001-12-12 Bill Haneman <bill.haneman@sun.com>
699 * libspi/accessible.c:
700 Convert all AtkRole enumerations to Accessibility_Role enums when
701 getting a role from an AtkObject.
703 * cspi/spi_accessible.c:
704 Complete the conversion of Accessibility_Role enums at runtime to
705 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
706 role enums correctly match those given in spi-roletypes.h.
707 Re-synchronize the local names list for AccessibleRole_getName ().
708 AccessibleRole_getName is now deprecated, since it duplicates the
709 more reliable Accessible_getRoleName.
710 Added some role types from Accessibility_Role.idl.
712 * idl/Accessibility_Role.idl:
713 Added some role types used by AtkRole.
715 2001-12-12 Bill Haneman <bill.haneman@sun.com>
718 * cspi/spi_registry.c:
720 * cspi/cspi-bonobo-listener.c:
721 Namespaced all methods that did not begin with an "SPI_" or
722 "Accessible" prefix to "SPI_".
725 Homogenized internal function namespace to "cspi_" for statics.
728 Patched tests to use the new CSPI API.
730 * docs/reference/cspi/at-spi-cspi-sections.txt:
731 Updated docs to reflect namespace changes, and added a number of
732 methods to the documentation.
734 * registryd/registry.c:
735 Changed use of strings and string hashes in listener event
736 matching and parse_event_string to use GQuark, which is guaranteed
739 * registryd/registry.h:
740 Squashed annoying warning.
742 * idl/Accessibility_Role.idl:
743 Extended range of available Accessibility_Role values.
745 * cspi/spi_accessible.c:
746 Re-ordered role names.
748 2001-12-12 Bill Haneman <bill.haneman@sun.com>
750 * idl/Accessibility_Value.idl:
751 Revert use of union back to CORBA_double, since the double type is
752 more efficient and can contain the other types without loss of
755 * idl/Accessibility_Accessible.idl:
756 Added method Accessibility:Accessible:getRoleName, to complement
757 Accessibility:Accessible:getRole.
759 * cspi/spi_accessible.c:
761 Added C binding for above, Accessible_getRoleName (), and changed
762 signature of Accessible_getRole () to return an AccessibleRole.
764 * cspi/spi-roletypes.h:
765 Changed AccessibleRole_getName to return a char * instead of a
766 const char *. This method is now at least temporarily deprecated
767 in favor of asking Accessibles for their RoleNames directly.
770 Revert to match Accessibility_Value.idl;
774 Change signature of AccessibleValue methods to use double rather
778 * cspi/spi_accessible.c:
779 Changed Accessible_getRole to return an AccessibleRole enum rather
780 than a UTF-8 string. The UTF-8 string can still be obtained via
781 AccessibleRole_getName ().
783 * test/test-simple.c:
784 Add test_action. Small fixup to match API change to Accessible_getRole.
787 Bugfix for get_action_from_servant ().
789 2001-12-11 Michael Meeks <michael@ximian.com>
791 * libspi/libspi.h: remove registry.h and
792 desktop.h, deviceeventcontroller.h
794 * libspi/Makefile.am: remove registry.[ch],
795 desktop.[ch], deviceeventcontroller.[ch]
797 * registryd/Makefile.am: add registry.[ch],
798 desktop.[ch], rename registryd.c to registry-main.c.
799 add deviceeventcontroller.[ch]
801 2001-12-11 Bill Haneman <bill.haneman@sun.com>
804 Replace setenv() call with putenv ().
806 * libspi/component.c:
807 Bugfix in AccessibleComponent_getExtents (),
810 2001-12-11 Michael Meeks <michael@ximian.com>
812 * libspi/image.c (impl_getImageExtents): impl.
813 (spi_image_class_init): upd.
816 (AccessibleImage_getImageDescription): fix daft bug
819 * test/test-simple.c (global_listener_cb): update
820 to only quit if not --poke
821 (main): catch --poke.
822 (validate_accessible): upd. dumping, call test_image
825 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
828 * idl/Accessibility.idl: update all IDL includes.
830 * idl/*.idl - rename to namespace - this sucks, blame
831 mjs' bad decision for oafd.
833 * test/test-simple.c (create_test_window): add more tests.
834 (create_tree): split this out.
835 (validate_accessible): bugfix.
837 2001-12-11 Michael Meeks <michael@ximian.com>
839 * cspi/bonobo/cspi-bonobo-listener.c:
840 (cspi_kestroke_listener_unref),
841 (cspi_event_listener_unref): impl. undoing previous
842 homenous environment - for Bill.
844 * cspi/spi_table.c (long_seq_to_array): use
847 * cspi/spi_main.c: split out all bonoboish bits into
850 * cspi/spi-impl.h: upd. typedefs.
852 * cspi/spi_registry.c: update to lowlevel API,
853 return booleans to indicate success in some places.
855 * cspi/spi_event.c: update to lowlevel API.
857 * cspi/bonobo/Makefile.am: add.
859 * cspi/bonobo/cspi-lowlevel.h: add
861 * cspi/bonobo/cspi-bonobo.c: add
863 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
865 * cspi/Makefile.am: remove spi-listener-impl.[ch],
866 (SUBDIRS): add bonobo, link in the libs.
868 * cspi/spi-util.c: kill this file.
870 * TODO: merge in my bits.
872 2001-12-11 Michael Meeks <michael@ximian.com>
874 * test/test-simple.c (test_value, test_table, main):
875 remove unused variables causing warnings.
877 * configure.in: cleanup checks - require gail.
879 2001-12-11 Bill Haneman <bill.haneman@sun.com>
882 Changed Value interface to use SValue (scalars) rather than
883 assuming all values are floats. This allows floats, doubles,
884 longs, shorts, and unsigned values to be manipulated.
885 Introduced Accessibility:SValue union.
888 Updated to use new API above, and to work correctly with GValues
889 of different types in AtkValue.
892 Updated to use new API above. cspi's API is as yet unchanged.
895 Updated the Value revision action item.
897 2001-12-10 Bill Haneman <bill.haneman@sun.com>
899 * test/test-simple.c:
900 Added test_table (GtkTreeView widget in test window to follow).
901 Un-commented test_value, added GtkRange widget.
902 Added GtkTreeView widget with GtkListStore. It passes regression
903 test but leaks one SPI object for some reason.
906 Fixed bug in impl__set_currentValue.
908 2001-12-10 Michael Meeks <michael@ximian.com>
910 * cspi/spi_text.c: audit for exception handling,
911 tolerating NULL object references safely etc.
913 * cspi/spi_value.c: ditto.
915 * cspi/spi_table.c (AccessibleTable_getSummary),
916 (AccessibleTable_getAccessibleAt),
917 (AccessibleTable_getRowHeader),
918 (AccessibleTable_getColumnHeader),
919 (AccessibleTable_getCaption): fix bugs hidden by
921 (long_seq_to_array): impl.
922 (AccessibleTable_getSelectedRows),
923 (AccessibleTable_getSelectedColumns): use it.
925 2001-12-10 Bill Haneman <bill.haneman@sun.com>
928 Added a TODO list (rough and short for now).
930 * cspi/spi_hyperlink.c:
931 * cspi/spi_hypertext.c:
932 Fixed macro name typos, and remove use of obsolete macro in
933 AccessibleHyperlink_getLink.
936 * cspi/spi_accessible.c:
937 * cspi/spi_application.c:
938 * cspi/spi_component.c:
939 * cspi/spi_selection.c:
942 Documentation fixes (removed return values from ref/unref methods).
944 2001-12-10 Michael Meeks <michael@ximian.com>
946 * cspi/spi_action.c: audit for exception handling,
947 tolerating NULL object references safely etc.
949 * cspi/spi_accessible.c: ditto.
951 * cspi/spi_component.c: ditto.
953 * cspi/spi_editabletext.c: ditto.
955 * cspi/spi_hyperlink.c: ditto.
957 * cspi/spi_hypertext.c: ditto.
959 * cspi/spi_image.c: ditto.
961 * cspi/spi_selection.c: ditto.
963 2001-12-10 Michael Meeks <michael@ximian.com>
965 * configure.in: use cspi/libspi.pc.in instead.
967 * Makefile.am (pkgconfig_DATA): upd. to match.
969 * test/simple-at.c (report_focus_event): kill hacks around
970 bad return values, use putenv not setenv
972 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
973 fire ChildGone - I killed it.
976 (impl_accessibility_component_get_extents): remove
979 * idl/Accessible.idl: kill ChildGone exception.
981 * cspi/*.[ch]: kill int return from ref / unref.
983 * cspi/spi_main.c (cspi_object_add_check): fold into
984 (cspi_object_add): here.
986 * cspi/spi_component.c (AccessibleComponent_getExtents):
987 handle exceptions elegantly.
989 * cspi/spi-private.h (cspi_check_ev_return),
990 (cspi_return_if_fail): impl.
992 * cspi/spi_accessible.c: use extensively.
993 (AccessibleStateSet_equals): add direct compare check.
995 * cspi/spi_selection.c: tolerate NULL objs, and check
996 exceptions before return.
998 * cspi/spi-util.c (cspi_warn_ev): rename to
999 (cspi_check_ev): this & don't pass ev in; no point.
1001 2001-12-10 Michael Meeks <michael@ximian.com>
1003 * test/test-simple.c: use putenv not setenv
1004 (get_environment_vars): more chatty if you're not using
1007 * test/simple-at.c: do the setenv so more people see the
1010 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1012 * libspi/registry.c:
1013 Changed check of CORBA_environment on notification to be a warning
1014 instead of an error for the moment, since we can recover from this
1015 error when caused by a queued notification from a dead app.
1018 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
1019 used by all current implementors of AtkValue), and coerce to
1020 CORBA_float. (Proper general case fix may require change to Value.idl).
1022 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1026 * cspi/spi_accessible.c:
1027 Documentation fixes: added user_data params to documentation for
1028 listeners and callbacks.
1030 * cspi/spi_accessible.c:
1031 Changed AccessibleStateSet_compare to return a
1032 StateSet rather than return the difference set into a third parameter.
1035 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1038 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
1039 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
1043 Remove subdirectory po from SUBDIRS for now.
1045 * at-bridge/bridge.c:
1046 Beefed up a couple of debug printouts.
1047 One-line fix for signal notification name formatting.
1049 * libspi/accessible.c:
1050 Added assertion to spi_accessible_new ().
1052 * libspi/application.c:
1053 Put #ifdef qualifiers around a printf.
1056 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
1058 * registryd/Makefile.am:
1060 Replaces use of XML_I18N_MERGE_SERVER_RULE with
1061 INTLTOOL_SERVER_RULE macro.
1064 Added an event listener for several ATK signals, for
1065 testing and debugging. Removed a few g_warnings.
1066 Added test output if focussed item implements the Value interface.
1068 * test/test-simple.c:
1069 Added test_value () function (known not to pass at the moment, so
1070 not actually called yet.
1072 2001-12-08 Michael Meeks <michael@ximian.com>
1074 * at-bridge/bridge.c (bridge_focus_tracker),
1075 (emit_eventv): fix the same ref. leak.
1076 (register_atk_event_listeners): don't leak.
1078 * cspi/spi-listener-impl.c (cspi_event): more
1079 protection from client code.
1081 * test/test-simple.c (test_desktop): unref the app.
1083 * test/Makefile.am: upd. TESTS.
1085 * at-bridge/bridge.c (bridge_exit_func): release the registry.
1087 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
1089 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
1091 * cspi/spi_registry.c: constify in strings.
1092 (deregisterGlobalEventListenerAll): don't release the ref.
1094 * cspi/spi.h: start removing redundant / conflicting
1095 gtkdoc comments, making the API readable at a glance :-)
1097 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
1099 * test/keysynth-demo.c (keysynth_exit, main): upd.
1101 * test/simple-at.c (main, simple_at_exit): upd.
1103 * test/test-simple.c (unutterable_horror): kill.
1104 (utterable_normal_derefs): kill.
1105 (main): upd & do a setenv before gtk_init, so that we
1106 can use memprof - and to save the pain of remembering
1107 this, if we're running under memprof - don't exit.
1109 * cspi/spi_main.c (SPI_exit): return exit status
1111 (SPI_event_quit): impl.
1112 (SPI_event_main): simplify.
1113 (cspi_is_gnome_app): kill.
1114 (SPI_init): kill isGNOMEapp arg.
1116 * at-bridge/bridge.c (register_atk_event_listeners):
1117 re-instate the unref.
1118 (bridge_exit_func): don't re-activate the registry,
1119 protect vs. theoretical re-entry, use the
1120 AT_BRIDGE_SHUTDOWN env. var to determine whether to
1121 assert a clean shutdown - for regression tests.
1123 2001-12-08 Abel Cheung <maddog@linux.org.hk>
1125 * configure.in: Comment out dummy i18n support for now,
1126 otherwise it fails to build.
1127 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
1128 EXTRA_DIST. They are missing in tarball.
1130 2001-12-07 Michael Meeks <michael@ximian.com>
1132 * util/magnifier.c: kill bonobo activation reg. race.
1134 * libspi/component.c
1135 (impl_accessibility_component_get_extents): make it match
1138 * libspi/registry.c (_registry_notify_listeners):
1139 re-remove X headers & reconcile conflicts.
1140 (spi_listener_struct_free): bad conflict resolve.
1141 (impl_accessibility_registry_register_application):
1142 more bad merging fixed.
1143 (impl_accessibility_registry_deregister_application): ditto.
1144 (spi_registry_new): ditto.
1145 (spi_registry_init): don't have an applications field.
1147 [ merge fixups2 branch to here ]
1148 2001-12-07 Michael Meeks <michael@ximian.com>
1150 * test/simple-at.c (report_focus_event),
1151 (report_focussed_accessible): remove g_warning debug.
1153 2001-12-07 Michael Meeks <michael@ximian.com>
1155 * test/test-simple.c (validate_tree): comment out some checks.
1156 (test_desktop): app now not registered idly - horay.
1158 2001-12-07 Michael Meeks <michael@ximian.com>
1160 * cspi/spi_registry.c
1161 (registerAccessibleKeystrokeListener): clean, stop it leaking
1162 great swathes of memory, and device event controller references.
1163 ensure we always pass valid sequences.
1164 (deregisterAccessibleKeystrokeListener): ditto.
1165 (generateKeyEvent): upd.
1167 * at-bridge/bridge.c (bridge_key_listener): handle
1168 registry dead exception gracefully.
1169 (bridge_focus_tracker, emit_eventv): free ev.
1171 * test/simple-at.c (report_focus_event): fix polarity.
1173 * libspi/application.c (notify_listeners): kill the ev
1174 argument, and make sure we init the ev we use.
1175 (spi_application_object_event_listener): split out a chunk
1176 (get_atk_object_ref): here & fixup.
1177 (reverse_lookup_name_for_toolkit_event): make const.
1178 (spi_application_toolkit_event_listener): fixup, kill leaks
1181 * at-bridge/bridge.c (register_atk_event_listeners):
1182 don't unref the noop object - causes grief.
1184 * libspi/registry.c: remove the X headers.
1185 turn off the debug churn.
1187 * libspi/accessible.c (spi_accessible_new_return): only
1188 release the ref if we are supposed to [doh]
1190 * test/simple-at.c (report_button_press, report_focus_event):
1191 guard vs. unexpected exit.
1193 * at-bridge/bridge.c (gtk_module_init): prune printf.
1194 (bridge_exit_func): fix app unref.
1196 * libspi/Makefile.am: don't install registry or desktop.h
1198 * libspi/*.h: update includes.
1200 * libspi/application.h: don't include ourself, or
1201 other redundant headers.
1203 2001-12-06 Michael Meeks <michael@ximian.com>
1205 * libspi/accessible.c
1206 (get_accessible_from_servant): impl.
1207 Upd. all CORBA impl.s to use it killing cut and paste.
1209 * cspi/spi_main.c (cspi_cleanup): guard vs. double
1211 (SPI_init): register atexit cleanup handler here.
1213 2001-12-06 Michael Meeks <michael@ximian.com>
1215 * at-bridge/bridge.c (gtk_module_init): g_error on
1216 activation exception
1218 2001-12-06 Michael Meeks <michael@ximian.com>
1220 * at-bridge/bridge.c (gtk_module_init): some sort of
1221 confusing merge clash - reverted.
1222 (bridge_idle_init): ditto.
1224 * test/test-simple.c (main, utterable_normal_derefs):
1225 merge from Bill - somehow not committed.
1227 2001-12-06 Michael Meeks <michael@ximian.com>
1229 * libspi/value.c (spi_value_class_init): upd.
1230 (spi_value_finalize): kill.
1232 * libspi/table.c (spi_table_finalize): kill.
1233 (spi_table_interface_new): upd.
1234 (spi_table_class_init): upd.
1235 (get_table_from_servant): impl.
1236 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1238 * libspi/selection.c (spi_selection_finalize): kill.
1239 (spi_selection_interface_new): upd.
1240 (spi_selection_class_init): upd.
1241 (get_selection_from_servant): impl.
1242 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1244 * libspi/relation.c (spi_relation_finalize): kill.
1245 (spi_relation_class_init, spi_relation_new): upd
1247 * libspi/image.c (spi_image_finalize): kill.
1248 (spi_image_class_init): upd.
1249 (spi_image_interface_new): upd.
1250 (get_image_from_servant): impl.
1251 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1253 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
1254 (spi_hyperlink_finalize): kill.
1255 (spi_hyperlink_new): upd.
1256 (get_hyperlink_from_servant): impl.
1257 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1259 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
1260 (spi_hypertext_finalize): kill.
1261 (spi_hypertext_class_init): upd.
1262 (get_hypertext_from_servant): impl.
1263 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1265 * libspi/editabletext.c (spi_editable_text_finalize): kill.
1266 (spi_editable_text_interface_new): upd.
1267 (get_editable_text_from_servant): impl.
1268 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1270 * libspi/text.c (get_text_from_servant): impl.
1271 All impls - update to use it killing more cut and paste,
1272 also fix bad string returns on duff args ( a somewhat
1273 impossible case to handle - but hey ).
1274 (spi_text_construct): impl.
1275 (spi_text_interface_new): upd.
1276 (spi_text_object_finalize): kill.
1278 * libspi/component.c
1279 (accessibility_component_object_finalize): kill.
1280 (spi_component_class_init): upd.
1281 (get_component_from_servant): impl. helper to kill cut & paste.
1282 (impl_accessibility_component_contains):
1283 (impl_accessibility_component_get_accessible_at_point):
1284 (impl_accessibility_component_get_position):
1285 (impl_accessibility_component_get_extents):
1286 (impl_accessibility_component_get_mdi_z_order):
1287 (impl_accessibility_component_get_layer):
1288 (spi_component_interface_new): upd.
1290 * libspi/action.c (spi_action_finalize): kill.
1291 (spi_action_class_init): upd. inherit from SpiObject.
1292 (spi_action_interface_new): upd.
1293 (get_action_from_servant): impl. helper to reduce cut & paste.
1294 (impl_getKeyBinding, impl_getName, impl_doAction),
1295 (impl_getDescription): Use it everywhere.
1297 * cspi/spi_main.c (get_live_refs): a pointer hash.
1298 (spi_object_hash, spi_object_equal): comment out.
1299 There are issues with CORBA object hashing that need
1302 * libspi/application.c (spi_application_init),
1303 (spi_application_new): upd.
1305 * libspi/accessible.c (spi_accessible_object_finalize): kill.
1306 (spi_accessible_class_init): upd.
1307 s/accessible/object/ in epv methods.
1309 2001-12-05 Bill Haneman <bill.haneman@sun.com>
1311 * at-bridge/bridge.c:
1312 Reorder the bridge initialization into the bridge gtk_module_init,
1313 an immediate call to bridge_register_app, and an idle_add for
1314 register_atk_event_listeners (the only code that *must* wait until
1315 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
1316 the activation, creates the application's Accessible object, and
1317 queues the bridge_idle_init function. Restored call to
1318 Accessibility_Registry_deregisterApplication().
1319 Prior to making this call we obtain a new reference to the
1320 registry, which is a temporary hack that helps us handle apps that
1321 shut down the bonobo mainloop before we get there.
1323 * libspi/registry.c:
1324 Fix string leakage in debug block, and don't segv if a an app
1325 dies before its event notifications have been propagated.
1328 Modify cspi_check_ev() to call g_warning() rather than g_error(),
1329 as stopgap measure until we get proper exception handling when
1330 objects die during or before interrogation.
1334 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
1335 Also changed default value of is_gnome_app to TRUE.
1338 * test/keysynth-demo.c:
1339 Changed use of SPI_init and SPI_event_main to reflect API change above.
1342 Made report_focus_event check the warning value from getName
1343 before reporting on focussed accessible; simplifies handling of
1344 notifications from dead objects.
1346 * test/test-simple.c: (Changes not in this patch since source is
1349 2001-12-05 Michael Meeks <michael@ximian.com>
1351 * registryd/registryd.c (main): protect against
1352 bonobo-activation startup race condition.
1354 * cspi/spi_main.c (cspi_object_add_check): cope
1355 with the exception elegantly.
1357 * idl/Accessible.idl: decl. ChildGone
1359 * libspi/desktop.c (spi_desktop_dispose): impl.
1360 (spi_desktop_class_init): upd.
1361 (spi_desktop_add_application),
1362 (spi_desktop_remove_application),
1363 (abnormal_application_termination): impl.
1364 (impl_desktop_get_child_at_index): re-impl.
1367 (impl_accessibility_registry_deregister_application),
1368 (impl_accessibility_registry_register_application):
1369 kill excessive debug clutter.
1371 * test/test-simple.c (test_misc): test some NULL
1372 tolerance. (main): upd.
1374 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
1375 implements no interfaces - so let's not crash.
1377 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
1379 * libspi/accessible.c (spi_accessible_new_return): impl.
1380 helper to calm the cut and paste, to cope with
1381 NULL AtkObjects effectively and efficiently, and to kill
1382 the referencing bugs.
1384 * libspi/table.c (impl_getAccessibleAt),
1385 (impl_getRowHeader, impl_getColumnHeader): upd.
1387 * libspi/hyperlink.c (impl_getObject): upd.
1389 * libspi/accessible.c
1390 (impl_accessibility_accessible_get_child_at_index): upd.
1392 * libspi/component.c
1393 (impl_accessibility_component_get_accessible_at_point): upd.
1395 * test/test-simple.c (test_editable_text, test_text): impl.
1398 * cspi/spi_editabletext.c
1399 (AccessibleEditableText_insertText): constify.
1401 * test/test-simple.c (focus_me): make more robust.
1403 * libspi/accessible.c: remove some printfs in methods that
1404 we test and work fine, so we can get a clean tree dump.
1406 * test/test-simple.c (validate_accessible),
1407 (validate_tree): make tree dumping pretty too.
1409 * at-bridge/bridge.c (bridge_signal_listener): upd. so
1410 it builds without debug on.
1412 * test/test-simple.c (validate_accessible): fix the most
1415 * cspi/spi_main.c (spi_object_release): leave the nicely
1416 blanked memory around if in debug mode.
1418 * cspi/spi-listener-impl.c (cspi_event): use add_check.
1420 [committed to fixups2]
1421 2001-12-05 Michael Meeks <michael@ximian.com>
1423 * libspi/editabletext.c
1424 (spi_editable_text_class_init): g_type_class_peek_parent,
1425 not interface peek - so we finalize cleanly.
1427 * libspi/accessible.c (spi_accessible_new): kill debug.
1429 * test/test-simple.c (validate_accessible): fix ref.
1430 leak, print strings before freeing them; sigh, comment a
1431 chunk out due to strangeness.
1432 (validate_tree): unref the child after use.
1434 * cspi/spi_component.c (AccessibleComponent_getLayer):
1435 add missing break statement, switch on zlayer not the
1436 uninitialized retval.
1438 * cspi/spi_main.c (cspi_object_add): add assert, local ref
1439 before (possibly re-entering) remote unref.
1441 * test/simple-at.c (main): unref the desktop.
1443 * cspi/spi_accessible.c (cspi_accessible_is_a): move
1446 * cspi/spi_main.c (cspi_accessible_is_a): here to
1447 isolate bonobo API usage more.
1449 * libspi/registry.c (impl_accessibility_registry_register_application):
1450 prune bogus comment.
1452 2001-12-04 Michael Meeks <michael@ximian.com>
1454 * test/test-simple.c (validate_tree): upd.
1455 IndexInParent check to make it more lucid.
1456 (validate_accessible): dump the tree.
1458 * libspi/accessible.c (de_register_public_ref),
1459 (get_public_refs): impl.
1460 (spi_accessible_new): make more efficient & intuitive.
1461 Now IndexInParent check works.
1463 2001-12-04 Michael Meeks <michael@ximian.com>
1465 * cspi/spi-util.h: remove.
1467 * cspi/spi.h: move SPI_freeString here
1469 * libspi/component.c (impl_accessibility_component_get_layer):
1471 (impl_accessibility_component_get_mdi_z_order): ditto,
1472 return -1 on error - is this ok ?
1474 * test/test-simple.c (test_application): impl.
1476 * cspi/spi_accessible.c (Accessible_getApplication),
1477 (Accessible_isApplication): impl.
1479 * libspi/registry.c (spi_listener_struct_free): release
1480 the CORBA reference too.
1482 * libspi/accessible.c
1483 (impl_accessibility_accessible_get_parent): fix ref leak.
1485 * libspi/registry.c (spi_registry_new): make the registry
1486 immortal - we don't want it to go away ever.
1488 * libspi/application.c
1489 (spi_accessible_application_finalize): impl. cleanup.
1491 * cspi/spi_registry.c
1492 (deregisterGlobalEventListenerAll),
1493 (deregisterGlobalEventListener),
1494 (deregisterAccessibleKeystrokeListener): fix ref leak.
1496 * cspi/spi_main.c (SPI_init): remove redundant ref.
1498 * test/test-simple.c (unutterable_horror): impl. to force a
1503 (impl_accessibility_registry_deregister_application): release
1504 the application when we de-register it.
1506 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1507 until we have the infastructure to get it right.
1509 2001-12-03 Michael Meeks <michael@ximian.com>
1511 * libspi/Makefile.am: only build eventlistener.[ch]
1513 * libspi/accessible.c
1514 (impl_accessibility_accessible_get_child_at_index): don't leak.
1516 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1517 before we hit the idle handler.
1519 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1520 debugging than exit.
1522 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1524 * libspi/listener.c (impl_notify_event): check source
1525 not NIL before unref.
1527 * libspi/registry.c (impl_registry_notify_event): ditto.
1529 * libspi/eventlistener.c
1530 (impl_accessible_event_notify_event): unref the source.
1532 * libspi/accessibleeventlistener.c
1533 (impl_accessible_event_notify_event): unref the source.
1535 * idl/Event.idl: remove 'hash_id' attribute - of no
1538 * libspi/application.c (notify_listeners): upd list
1540 (spi_application_object_event_listener),
1541 (spi_application_toolkit_event_listener): upd to do correct
1545 (_registry_notify_listeners): update.
1546 (parse_event_type): this method also leaks like a sieve.
1547 (impl_accessibility_registry_deregister_global_event_listener):
1548 fix ETYPE_WINDOW case.
1550 * libspi/application.c
1551 (impl_accessibility_application_register_object_event_listener):
1554 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1556 * libspi/hypertext.c (impl_getLink): ditto.
1558 * cspi/spi_main.c (cspi_object_add): remove
1559 bogus CORBA_Object_duplicate.
1561 * cspi/spi-listener-impl.c (cspi_event): dup/ref
1564 * cspi/spi_accessible.c
1565 (Accessible_getRelationSet): fix leak / referencing issue.
1567 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1568 (cspi_object_add, cspi_object_unref): upd.
1569 (spi_object_release, get_live_refs): impl.
1570 (cspi_cleanup): simplify.
1572 * *.[ch]: s/boolean/SpiBoolean/
1574 * cspi/spi_accessible.c (role_names): actualy order so it
1575 corresponds with the enum !
1577 * test/test-simple.c (test_roles): check some role strings
1578 vs. enums to detect offset errors.
1580 2001-12-01 Michael Meeks <michael@ximian.com>
1582 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1584 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1586 (Accessible_getChildAtIndex): use cspi_add_check so we
1587 check the ev before using a (possibly) invalid value.
1589 * libspi/accessible.c
1590 (impl_accessibility_accessible_get_parent): don't segv
1593 * at-bridge/bridge.c (gtk_module_init): upd.
1594 (bridge_property_event_listener): don't leak strings
1596 (bridge_state_event_listener),
1597 (bridge_property_event_listener): don't use a static
1598 buffer in case of recursive event emission &
1599 re-enterancy - split out the swathe of cut and paste
1601 (emit_eventv): and fix 2 ref leaks here & comply to the
1603 (bridge_register_app): rename to
1604 (bridge_idle_init): this and kill arg parsing, split
1605 various inits & bonobo-activation registration to module
1606 init time, kill referencing error.
1607 (bridge_exit_func): fix the same leak.
1608 (bridge_focus_tracker): don't leak event structures
1610 (bridge_signal_listener): more leakage and cut & paste
1612 (bridge_key_listener): return the result - FIXME is
1613 this polarity correct ?
1614 (accessibility_keystroke_from_atk_key_event): rename
1615 (accessibility_init_keystroke_from_atk_key_event): and stop
1617 (gtk_module_init): return a value - not that it is checked by
1619 (bridge_key_listener): register my horror at casting between
1620 IDL defined structs.
1621 (bridge_get_registry): kill - not used.
1623 * cspi/spi_accessible.c (Accessible_getRole): make return const.
1625 * test/test-simple.c (test_roles): impl.
1626 (test_desktop, validate_accessible, validate_tree): impl.
1628 * cspi/spi_accessible.c (role_names): fixup bogus
1629 MAX_ROLES setup, make constants const for efficient linkage
1630 (AccessibleRole_getName): conform to coding style, make
1633 2001-11-30 Michael Meeks <michael@ximian.com>
1635 * cspi/spi.h: add missing prototype.
1637 * libspi/registry.c (spi_listener_struct_new): fix sig.
1639 * test/Makefile.am: add test-simple
1641 * test/test-simple.c: add
1643 * test/test.sh: add.
1645 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1647 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1648 do it straight - since otherwise we often get an activation race.
1650 [ work before Bill duplicated a chunk of it ... ]
1651 2001-11-30 Michael Meeks <michael@ximian.com>
1653 * libspi/keystrokelistener.c
1654 (spi_keystroke_listener_class_init): fixup arg
1657 * libspi/eventlistener.c
1658 (spi_event_listener_class_init): ditto.
1660 * tests/test.sh: add.
1662 * cspi/spi-listener-impl.h: update macros.
1664 * cspi/spi-listener-impl.c
1665 (cspi_event_listener_remove_callback): add
1666 correct pre-conditions.
1668 * cspi/spi_main.c (SPI_exit): guard vs. double
1669 exits, exit the mainloop nicely.
1670 (SPI_event_main): make more sense.
1671 (SPI_init): move the atexit evilness here so we
1672 always do it (yuck).
1673 (SPI_event_main): upd.
1675 * test/simple-at.c: update for listener changes.
1677 * registryd/registryd.c (main): prune kruft.
1679 * libspi/libspi.h: upd.
1681 * libspi/eventlistener.[ch]: rename broken macros.
1683 * libspi/accessibleeventlistener.[ch]: remove.
1685 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
1687 * test/test-simple.c: Add - automated tests.
1689 * cspi/spi-listener-impl.c (cspi_event),
1690 (cspi_key_event): add user_data to invoke.
1691 (cspi_keystroke_listener_finalize): impl.
1692 (cspi_keystroke_listener_class_init): upd.
1695 (createAccessibleEventListener),
1696 (AccessibleEventListener_addCallback),
1697 (createAccessibleKeystrokeListener),
1698 (AccessibleKeystrokeListener_addCallback): upd.
1700 * libspi/deviceeventcontroller.c
1701 (spi_device_event_controller_check_key_event): add public proto.
1704 (impl_accessibility_registry_deregister_global_event_listener):
1705 always init listeners.
1706 (_registry_notify_listeners): yes it is.
1708 * cspi/spi-listener-impl.c (cspi_key_event):
1710 (cspi_event_listener_finalize): impl.
1711 (cspi_event_listener_class_init): hook up.
1712 (event_handler_new, event_handler_free),
1713 (event_list_remove_by_callback): impl.
1714 (cspi_event_listener_remove_callback),
1715 (cspi_keystroke_listener_remove_callback),
1716 (cspi_keystroke_listener_add_callback),
1717 (cspi_event_listener_add_callback): upd.
1719 * libspi/keystrokelistener.c
1720 (keystroke_listener_object_finalize): kill
1721 (spi_keystroke_listener_class_init): upd.
1722 (spi_keystroke_listener_add_callback),
1723 (spi_keystroke_listener_remove_callback): kill,
1725 (impl_key_event): prune drasticaly.
1727 * libspi/eventlistener.c
1728 (spi_event_listener_add_callback),
1729 (spi_event_listener_remove_callback): kill, use
1731 (impl_accessible_event_notify_event): upd.
1732 (spi_event_listener_object_finalize): remove.
1734 * libspi/Makefile.am: use eventlistener.[ch]
1736 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1738 * libspi/registry.c (_registry_notify_listeners):
1739 Changed listener loop iteration to use preferred convention.
1740 Got rid of string memory leaks caused be calling g_strconcat
1741 inside function calls.
1743 * libspi/registry.c (parse_event_type):
1744 Stopped g_strconcat memory leaks, free the g_strsplit return,
1745 g_strdup the split pieces when used, etc.
1747 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1750 Change method 'compare' to return a 'difference set' rather than
1751 taking a StateSet as an out parameter (more Java-friendly).
1753 * idl/Accessible.idl:
1754 Added CORBA struct 'BoundingBox', to faciliate API changes below:
1756 * idl/Component.idl:
1758 Changed methods 'getExtents' and 'getImageExtents' in these
1759 interfaces to return a BoundingBox structure.
1760 (getPosition and getSize are redundant and possibly should be
1761 removed, rather than creating a corresponding Point struct.)
1763 * cspi/spi_component.c:
1764 Modify implementation of getExtents to reflect the above IDL
1769 Add (missing) AccessibleImage_getExtents () API.
1771 * docs/reference/cspi/at-spi-cspi-sections.txt:
1772 Added AccessibleImage_getImageExtents () to docs.
1774 2001-12-03 Bill Haneman <bill.haneman@sun.com>
1776 * idl/Component.idl:
1777 Added two methods, getLayer () and getMDIZOrder (), to reflect
1778 the new ATK methods atk_object_get_layer and
1779 atk_object_get_mdi_z_order. (Which arguably should be part of the
1780 AtkComponent API and AtkObject). Also added an enum,
1781 ComponentLayer, for the first method's return value.
1783 * libspi/component.c:
1784 Added implementations for these methods.
1786 * cspi/spi_component.c:
1788 Added cspi binding methods for above,
1789 AccessibleComponent_getLayer() and
1790 AccessibleComponent_getMDIZOrder().
1791 Added cspi enum 'AccessibleComponentLayer'.
1793 * docs/reference/cspi/at-spi-cspi-sections.txt:
1794 Added above methods to docs.
1798 Changed typedef for 'boolean' type (and all references to it) to
1799 SPIBoolean, to avoid keyword clashes with C++.
1802 Changed usages of 'boolean' to SPIBoolean.
1804 * test/keysynth-demo.c:
1805 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
1806 app), except where SPIBoolean is required by the callbacks API.
1808 2001-12-02 Bill Haneman <bill.haneman@sun.com>
1810 * cspi/spi_registry.c:
1811 Removed obsolete X event loop for passive keygrabs (which now
1814 * registryd/registryd.c:
1815 Removed unnecessary call to gdk_init() [cruft]. This also allows
1816 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
1819 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1821 * docs/reference/cspi:
1822 Included docs for SPI_freeString in generated documentation.
1825 Renamed spi_freeString to SPI_freeString, for consistency. Added
1826 documentation for this function.
1829 Renamed spi_freeString to SPI_freeString, for consistency.
1830 Removed obsolete method declaration string_from_corba_string.
1832 * test/keysynth-demo.c:
1833 Small tweak to comments.
1836 Stopped leaking the strings returned from CSPI.
1838 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1840 Merged Michael's branch (see his ChangeLog entries below).
1842 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
1843 bridge is alive, release on exit.
1845 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
1846 Fix type check macro.
1849 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
1852 Added is_gnome_app static, and method cspi_is_gnome_app(),
1853 so we can call the appropriate shutdown routine at exit in SPI_exit.
1855 * cspi/spi_main.c (cspi_object_ref):
1856 Duplicate the corba object passed in, since we're keeping it around.
1858 * cspi/SPI_exit.c, cspi_cleanup:
1859 Moved the releasing of the live refs to its own function, so we
1860 can put it in g_atexit (). Call the appropriate shutdown API
1861 depending on whethe calling client is a gnome app or not
1862 (bonobo_main_quit or CORBA_ORB_shutdown).
1864 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
1865 Unref the listener when this method is called, after
1866 deregistration. Updated the API docs to note this behavior.
1868 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
1869 Bugfixes: Ref the bonobo object when returning a parent or child
1870 reference, or an AccessibleRelation. Generally made sure
1871 BonoboObject refcount is incremented whenever we return an
1874 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
1875 Fixed typo/bug in signal declaration.
1877 * libspi/accessibleeventlistener.h:
1880 * libspi/application.c (spi_application_new):
1881 Fixed leak in initialization.
1884 Remembered to increment bonobo-object refcount when returning
1885 children (applications) from desktop object.
1886 Added (empty) finalize method.
1888 * libspi/deviceeventcontroller.c:
1889 Hold a ref to listeners inside DEControllerKeyListeners.
1890 Added dec_key_listener_free() method. Use prepend instead of
1891 append in key_listener list. Fixed some refcount madness and
1892 leaks in the listener registration/deregistration - deregistration
1893 now calls dec_key_listener_free() on listeners, and on the
1894 temporarily constructed dec_key_listener() used to perform the search/match.
1896 * libspi/hypertext.c (spi_hypertest_finalize):
1897 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
1898 class. Also fixed spi_hypertext_interface_new() and
1899 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
1901 * libspi/hypertext.h:
1902 Removed pointless and duplicate AtkObject pointer from
1905 * libspi/keystrokelistener.c:
1906 Fixed incorrect type of keystroke_listener_parent_class,
1907 renamed keystroke_listener_object_finalize to
1908 spi_keystroke_listener_object_finalize.
1909 Fixed typo in signal declaration
1910 (spi_keystroke_listener_class_init).
1912 * libspi/registry.c:
1913 Added funcsions spi_listener_struct_new() and
1914 spi_listener_struct_free() to help with memory management issues.
1915 We also now use these methods instead of gnew + poking stuff into
1916 the struct, and to decrement listener counts/free the listeners
1917 when deregistering them.
1918 Fix more refcount bugs in getDesktop() and
1919 getDeviceEventController().
1922 De-ref the desktop after enumerating the applications. Explicitly
1923 decrement the refcounts on the created listeners on exit (using
1924 _unref for keystroke listeners, and via the
1925 deregisterGlobalEventListenerAll command for other event
1928 2001-11-27 Michael Meeks <michael@ximian.com>
1930 * cspi/spi-listener.h: fixup enum.
1932 2001-11-27 Michael Meeks <michael@ximian.com>
1934 * cspi/spi-listener-impl.c (cspi_event_listener_new),
1935 (cspi_keystroke_listener_new): Use the cspi variants.
1937 2001-11-26 Michael Meeks <michael@ximian.com>
1939 * test/keysynth-demo.c: fix 2 compile warnings, missing
1942 * test/simple-at.c (report_focussed_accessible),
1943 (report_focus_event, report_button_press),
1944 (check_property_change, is_command_key),
1945 (report_ordinary_key_event, report_command_key_event): upd.
1947 * util/mag_client.h: include pre-requisites.
1949 * libspi/accessibleeventlistener.c
1950 (spi_event_listener_object_finalize): free any lingering
1953 * libspi/keystrokelistener.c
1954 (keystroke_listener_object_finalize): ditto.
1956 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1957 callbacks, with cspi types.
1959 * cspi/spi_event.c (createAccessibleEventListener): chain to
1960 (AccessibleEventListener_addCallback): here.
1961 (createAccessibleKeystrokeListener): chain to
1962 (AccessibleKeystrokeListener_addCallback): here.
1964 * libspi/keystrokelistener.c
1965 (spi_keystroke_listener_class_init): add signal.
1966 (impl_key_event): emit the event.
1967 (boolean_handled_accumulator): impl.
1968 (marshal_BOOLEAN__POINTER): add, gack.
1970 * libspi/accessibleeventlistener.c
1971 (spi_event_listener_class_init): add signal.
1972 (impl_accessible_event_notify_event): emit the signal &
1973 make the loop efficient.
1974 (spi_event_listener_add_callback): prepend the callback.
1976 * libspi/accessibleeventlistener.h: add an 'event' signal,
1977 decl type on callback.
1979 * libspi/keystrokelistener.h: ditto.
1981 * cspi/spi-listener.h: make methods typesafe and
1982 make them use the new event typedefs.
1984 * test/simple-at.c (report_focussed_accessible):
1985 include mag_client.h
1986 Use *(void *)text_interface not the other thing.
1988 * configure.in: add gtk to registryd bits - since we use
1991 * util/magnifier.c: include libbonobo.h
1993 2001-11-25 Bill Haneman <bill.haneman@sun.com>
1995 * test/keysynth-demo.c:
1996 Turned this into a simple scanning keyboard, to demonstrate the
1997 use of g_timeout_add () as a means of creating timers for
1998 scanning, and the use of GtkStyle for visually indicating when
1999 virtual keyboard elements are selected.
2001 keysynth-demo now listens to any keyboard keys with zero-valued
2002 keycodes (i.e. 'unused' keys) and interprets them as
2005 Reworked the shiftlatch code so that shift-down state isn't held
2006 for long periods (it's only synthesized immediately prior to
2007 the keysynth event it's modifying). Note that shiftlatch in this
2008 demo is a convenience, not intended to take the place of AccessX
2009 which is the better choice for getting 'sticky' modifier keys.
2011 * libspi/deviceeventcontroller.c:
2012 * at-bridge/bridge.c:
2013 * cspi/spi_registry.c:
2014 Removed some debug print stuff, and put other verbosity in #ifdef
2019 Implemented some more of the magnifier IDL for the simple
2020 magnifier: namely, getZoomRegionParams.
2021 Added mag_x and mag_y members to MagnifierData struct, aid of this
2023 Added GtkWindow::realize signal handler to magnifier, to keep it
2024 from receiving keyboard focus from the WM.
2026 2001-11-23 Mark McLoughlin <mark@skynet.ie>
2028 * cspi/spi-private.h: my guess at what michael forgot
2029 before he ran off to NZ :-)
2031 2001-11-23 Michael Meeks <michael@ximian.com>
2033 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
2034 comment out non existant method invoke so we link.
2036 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
2037 use bonobo_exception_get_text for more friendly warnings.
2039 * cspi/spi.c (Obj_Add): move into spi_main & rename
2040 spi_object_add; kill spi.c
2042 * cspi/spi_registry.c
2043 (deregisterGlobalEventListener),
2044 (deregisterGlobalEventListenerAll),
2045 (registerGlobalEventListener): fix exception leaks.
2047 * cspi/spi_main.c (spi_exception): impl. helper, so we
2048 don't leak exceptions.
2050 * cspi/spi_selection.c
2051 (AccessibleSelection_deselectSelectedChild): return the
2054 * cspi/spi_main.c (spi_ev): impl; hack - gack.
2055 (spi_registry): ditto.
2056 (SPI_init): guard against double inits.
2058 * cspi/*.c: use spi_ev (), and spi_registry () where
2059 appropriate - a temporary hack until we have something
2060 better. Use spi_object_add
2062 2001-11-22 Michael Meeks <michael@ximian.com>
2064 * cspi/Makefile.am: re organise, install the headers.
2066 * cspi/*.h: add G_BEGIN/END_DECLS
2068 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2071 Added non-preemptive keylistener for key events with no modifiers
2072 and shift-only modifier.
2074 * libspi/keystrokelistener.c:
2075 Removed some verbose diagnostics printout.
2077 * cspi/spi_registry.c:
2078 Fixed a bug that caused all key listeners to be registered as
2081 * libspi/deviceeventcontroller.c:
2082 Fixed bug that caused XGrabKey (preemptive key grab) to be called
2083 for non-preemptive key masks.
2086 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2088 * docs/reference/idl/at-spi-idl-docs.sgml:
2089 * docs/reference/idl/at-spi-idl-sections.txt:
2090 * docs/reference/idl/at-spi-idl-overrides.txt:
2091 Added missing files.
2093 * docs/reference/Makefile.am:
2094 removed idl from SUBDIRS until we can figure a way to get gtk-doc
2095 to scan the IDL files :-(
2100 Added .cvsignore files.
2102 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2104 * libspi/deviceeventcontroller.c:
2105 * libspi/keystrokelistener.c:
2107 * cspi/spi_registry.c:
2108 Added filters for KeySets, KeyEventSeq, and event types to key
2109 event dispatching, so listeners should only receive those events
2110 that they requested :-)
2112 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2117 * docs/reference:Makefile.am:
2118 * docs/reference/cspi:
2119 * docs/reference/cspi:Makefile.am:
2120 * docs/reference/cspi:tmpl:
2121 * docs/reference/cspi:tmpl:*.sgml:
2122 * docs/reference/idl:
2123 * docs/reference/idl:Makefile.am:
2124 * docs/reference/idl:at-spi-idl-sections.txt:
2125 * docs/reference/idl:at-spi-idl-docs.sgml:
2126 * docs/reference/idl:tmpl:
2127 * docs/reference/idl:tmpl:*.sgml:
2129 Restructured docs directory to allow separate 'reference' docs
2130 section, and forked idl and cspi docs. Added the sgml template
2131 files to CVS. Added the first sections/structural sgml for the
2134 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
2136 * configure.in, libspi/Makefile.am: find libXtst.
2138 2001-11-21 Michael Meeks <michael@ximian.com>
2140 * test/accessx-gui.c: s/spi_value/value/ - doh.
2142 * libspi/base.[ch]: add.
2144 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2146 * idl/Accessible.idl:
2147 * idl/Application.idl:
2150 Started gtk-doc cleanup on IDL.
2152 * libspi/deviceeventcontroller.c:
2153 Added and connected non-preemptive key notification from the
2154 toolkits (in addition to the pre-emptive support from XServer
2155 which we had before, but which causes 'focus flashing'). Filters
2156 are presently limited to key modifiers and global/non-global,
2157 KeySets are presently ignored, as are KeyEvent masks.
2159 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
2160 structs into the persistant structure rather than just storing
2161 pointers to things that might not persist across servant
2164 The XGrabKey call now does async keygrabs, because synchronous
2165 ones were deadlocking with GDK_event code in a very nasty way.
2167 Added boolean to internal method notify_keylisteners, to indicate
2168 whether the event came from the 'toolkit source' or the 'global
2169 (XServer) source' - this is used in the notification process to
2170 determine which listeners to send the event to.
2172 deviceeventcontroller.c is now warning-free.
2174 * libspi/registry.c:
2175 Fixed regression in application de-registration.
2176 Also fixed some really brain-dead weirdness having to do with
2177 event dispatching - event structs are now duplicated before being
2178 re-marshalled in the dispatch to listeners. This also fixes a
2179 Solaris build problem.
2182 2001-20-11 Michael Meeks <michael@ximian.com>
2185 (impl_accessibility_registry_deregister_global_event_listener):
2188 * libspi/deviceeventcontroller.c
2189 (spi_device_event_controller_check_key_event): return
2190 FALSE on no virtual method.
2192 * libspi/*..h: make includes work on a correctly pathed install.
2194 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
2196 * libspi/application.h: kill unused ( and whacked out )
2197 gboolean *spi_application_set_id (AtkObject *app, long id);
2199 2001-20-11 Michael Meeks <michael@ximian.com>
2201 * libspi/*.[ch]: further convert to bonobo's type func
2202 macros, remove redundnant casts etc.
2204 * libspi/text.c s/accessibility_text/spi_text/g,
2205 re-order to de-cruft.
2207 * libspi/hypertext.c: re-order to kill a huge slew
2208 of redundant forward decls.
2210 * libspi/relation.c: ditto.
2212 * libspi/image.c: ditto.
2214 * */.cvsignore: update
2216 2001-20-11 Michael Meeks <michael@ximian.com>
2218 * libspi/deviceeventcontroller.c
2219 (_controller_register_with_devices): use g_getenv,
2220 kill stdlib.h include.
2222 * libspi/keystrokelistener.c
2223 (spi_keystroke_listener_get_type): kill
2224 (spi_keystroke_listener_class_init),
2225 (spi_keystroke_listener_init): rename to this.
2227 * libspi/text.c (impl_getAttributes): fix warning / bug.
2229 * libspi/*.[ch]: more headers, includes and over commenting.
2231 2001-20-11 Michael Meeks <michael@ximian.com>
2233 * libspi/*.[ch]: fixup headers, includes and over commenting.
2235 * libspi/image.c (impl__get_imageDescription): const
2236 correctness warning fix. remove redundant casting.
2238 * libspi/table.c (impl_getRowDescription): ditto.
2239 (impl_getColumnDescription): ditto.
2241 * libspi/libspi.h: add.
2243 2001-19-11 Michael Meeks <michael@ximian.com>
2245 * libspi/editabletext.c (impl_setAttributes): fix warnings.
2247 * libspi/component.c (accessibility_component_get_type):
2248 rename to (spi_component_get_type): and macroify.
2249 (accessibility_component_init): rename to
2250 (spi_component_init): this
2251 (accessibility_component_class_init): rename to
2252 (spi_component_class_init): this
2254 * libspi/action.c (spi_action_get_type): kill, use the macro.
2256 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
2259 * libspi/application.c (spi_application_object_event_listener),
2260 (impl_accessibility_application_register_object_event_listener):
2261 warning fixes / const understanding updates.
2263 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
2266 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2268 * libspi/spi_accessible.c: Added docs and C bindings for
2269 AccessibleStateSet. (No implementations yet). Documentation
2270 coverage for C bindings now 100%. Made docs for event listeners
2275 boolean notifyListenersSync (in DeviceEventListener listener,
2276 in DeviceEvent event);
2278 oneway void notifyListenersAsync (in DeviceEventListener listener,
2279 in DeviceEvent event);
2281 Added DeviceEventListener and DeviceEvent structs (may deprecate
2282 KeyStroke and KeystrokeListener in favor of this generic
2283 event/listener framework for devices).
2285 * libspi/deviceeventcontroller.c:
2287 Changed some key listener code to take masks, etc., and paved the
2288 way for integration of toolkit/non-preemptive key events. Changed
2289 signatures of some internal methods.
2291 * at-bridge/bridge.c:
2292 Fixed regression connecting to interface signals, apparently
2293 caused by GTK+ changes.
2295 Added an internal bridge_state_listener to deal with
2296 property-change:accessible-state signals.
2298 Changed the key_listeners GList to store structs (including masks,
2299 etc.) instead of just CORBA_Objects (required for full
2300 implementation of key listener API).
2302 Connected the bridge to all currently supported Atk signals.
2303 Events now supported:
2304 object:property-change
2305 object:property-change:accessible-name
2306 object:property-change:accessible-state
2307 object:property-change:accessible-description
2308 object:property-change:accessible-parent
2309 object:property-change:accessible-value
2310 object:property-change:accessible-role
2311 object:property-change:accessible-table-caption
2312 object:property-change:accessible-table-column-description
2313 object:property-change:accessible-table-column-header
2314 object:property-change:accessible-table-row-description
2315 object:property-change:accessible-table-row-header
2316 object:property-change:accessible-table-summary
2317 object:children-changed
2318 object:visible-data-changed
2319 object:selection-changed
2320 object:text-selection-changed
2322 object:text-caret-moved
2324 object:row-reordered
2326 object:column-inserted
2327 object:column-reordered
2328 object:column-deleted
2329 object:model-changed
2331 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2333 * libspi/hyperlink.c,h:
2334 Fixed some broken stuff in hyperlink.
2336 * libspi/relation.h:
2337 * libspi/relation.c:
2338 * cspi/spi_accessible.c:
2339 Initial implementations of AccessibleRelation methods, and docs.
2341 * libspi/accessible.c:
2342 Fixed a bug that caused SEGV if an accessible
2343 object's description is NULL, and a client
2344 requests it. An empty string is now returned.
2346 * cspi/spi_editabletext.c:
2347 * cspi/spi_hypertext.c:
2349 * cspi/spi_hyperlink.c:
2353 Doc coverage now 95%.
2355 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2357 One last namespacing revision:
2358 * libspi/accessibleeventlistener.[ch]:
2359 Renamed SpiAccessibleEventListener to SpiEventListener,
2360 (no need for two namespaces ;-)
2362 And lots of documentation fixes:
2364 * docs/at-spi-docs.sgml:
2365 Fixed 'underscore vs. hyphen' bug that was preventing
2366 the gtk-doc API docs from being automatically generated.
2369 * cspi/spi-listener.h
2371 * cspi/spi_accessible.c
2373 * cspi/spi_application.c
2374 * cspi/spi_component.c
2375 * cspi/spi_editabletext.c
2377 * cspi/spi_hypertext.c
2379 * cspi/spi_registry.c
2380 * cspi/spi_selection.c
2384 * docs/at-spi-docs.sgml
2385 * docs/at-spi-sections.txt
2387 Added and fixed up gtk-doc documentation in cspi.
2389 Interfaces now (fully) documented (subject to revision and enhancement):
2391 Event Listener Support
2393 AccessibleApplication
2397 AccessibleEditableText
2404 AccessibleRelationSet
2409 2001-14-11 Bill Haneman <bill.haneman@sun.com>
2411 * at-bridge/bridge.c:
2412 Initial work for toolkit-level key snooper connection by bridge.
2417 New typedefs and fixes to support new namespacing, and cleaner
2418 separation of cspi bindings from libspi bonobo implementation.
2419 Removed inconsistent and extraneous Spi* namespace prefix that
2420 had crept into cspi headers.
2421 Lots of comment fixes that sed had missed.
2423 * cspi/spi-roletypes.h:
2424 * cspi/spi-statetypes.h:
2425 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
2426 to AccessibleRoleType.
2428 * libspi/accessibleeventlistener.h:
2429 Fixed minor namespacing weirdness.
2431 * libspi/deviceeventcontroller.c:
2432 Reordered some internal API for device listeners.
2433 Changed the key registry final boolean to 'is_system_global'
2434 rather than 'is_synchronous', which is more descriptive of its
2436 Added spi_device_event_controller_new().
2437 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
2439 * libspi/keystrokelistener.[ch]:
2440 Namespaced KeystrokeListener to SpiKeystrokeListener.
2441 Changed uses of keymasks to use SPI_ prefix, and did other
2444 * libspi/keymasks.h:
2445 Namespaced keymask constants with SPI_ prefix.
2447 * libspi/registry.c:
2448 Some warning fixes, and knock-on fixes from namespace changes.
2451 Added rules for accessx-gui test program.
2453 * test/accessx-gui.c:
2454 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2455 utility. It doesn't actually use at-spi, but it's still cool and
2458 * test/keysynth-demo.c:
2462 Fixes so that these test clients work properly with the namespaced
2463 libraries. (Incompletely tested for technical reasons, fixes may follow)
2466 2001-13-11 Michael Meeks <michael@ximian.com>
2468 * libspi/application.c
2469 (impl_accessibility_application_get_version),
2470 (impl_accessibility_application_get_toolkit_name):
2472 (impl_accessibility_application_set_id),
2473 (impl_accessibility_application_get_id): remove
2474 redundant casting code.
2476 * libspi/action.c (impl_getDescription): fix warnings.
2478 * libspi/accessible.c
2479 (impl_accessibility_accessible_get_parent),
2480 (impl_accessibility_accessible_get_child_at_index),
2481 (impl_accessibility_accessible_get_state),
2482 (impl_accessibility_accessible_get_relation_set):
2483 warning fixes & include action.h
2485 2001-13-11 Michael Meeks <michael@ximian.com>
2487 * *.[ch] fix bits I screwed up:
2489 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2490 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2492 2001-13-11 Michael Meeks <michael@ximian.com>
2494 * *.[ch] Namespace libspi into spi_ and Spi.
2496 2001-13-11 Michael Meeks <michael@ximian.com>
2498 * Makefile.am: dist & install at-spi-1.0.pc
2500 * libspi/Makefile.am: install into at-spi-1.0
2502 * idl/Makefile.am (idldir): install into at-spi-1.0
2504 * at-spi-1.0.pc.in: add.
2506 * configure.in: build it.
2508 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2510 * test/keysynth-demo.c:
2511 Use a 'realize' signal-handler to set the WM properties for
2512 the virtual keyboard, rather than making it a "POPUP" type
2513 override-redirect window (thanks to anders carlsson for that
2516 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2519 * test/keysynth-demo.c:
2520 Added new test of key synthesis, which creates a simple
2521 (mouse-operated) onscreen keyboard. It inserts key events into
2522 the currently-focused window, thus it does not grab keyboard focus
2525 * cspi/spi_registry.c:
2526 Added C binding for AT-SPI generateKeyEvent.
2528 * libspi/deviceeventcontroller.c:
2529 Added call to XFilterEvent so that key listener works with XIM (we
2530 hope). Added event_synth_type to generateKeyEvent, so that we can
2531 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2532 synthesize a press/release pair for KeySyms.
2534 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2536 * libspi/Makefile.am:
2537 * registryd/Makefile.am:
2538 (temporary) hack to include libXtst in libspi and registryd.
2539 (Needed for keystroke synthesis, see below).
2542 Improved API for registerKeystrokeListener, in accordance with
2543 discussions with Gnopernicus team and X server research.
2545 * libspi/registry.c:
2546 * libspi/deviceeventcontroller.c:
2547 * libspi/accessible.c:
2548 * libspi/keystrokelistener.c:
2549 Changes and fixes to support keylisteners for potentially
2550 consumed key events (that is, 'passive grabs').
2551 Added implementation for generateKeyEvent() [untested].
2554 Changes to registerKeystrokeListener() API, as above.
2555 Added deregisterGlobalEventListenerAll(), and
2556 deregisterKeystrokeListener(), which are needed for clean exit of
2558 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2559 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2561 * cspi/spi_registry.c:
2562 Added implementations of function prototypes mentioned above.
2564 * registryd/registryd.c:
2565 Added the key listener event source as a g_timeout(), to allow
2566 receipt of key events that are not caught by GDK (since GDK
2567 doesn't support passive keygrabs, this was necessary).
2570 Changed to attach a keylistener to 'Alt' keys, and
2571 respond to the following keycommands: Alt-M (toggle magnifier);
2572 Alt-F (toggle speech); Alt-Q (quit).
2573 Added an exit routine to deregister the listeners, and a key
2574 listener that prints some key info to the console when a key
2575 matches the listener mask (and is thus received by the listener).
2577 * util/idl/Magnifier.idl:
2578 Changes to magnifier API to support multiple zoom regions,
2579 non-uniform scaling in x and y, markDirty, and a host of other
2580 features that would be useful to magnification.
2583 * util/mag_client.c:
2584 * util/mag_client.h:
2585 * util/mag_control.c:
2587 Source code changes to support the above IDL changes.
2590 As above, and also changes to use a (slower) generic conversion
2591 path for colormap conversions, since the fast RGB conversions have been
2592 reported to fail for 16-bit displays.
2594 2001-10-26 Michael Meeks <michael@ximian.com>
2596 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2598 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
2600 * at-bridge/Makefile.am: fix LDFLAGS.
2602 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2604 * at-bridge/bridge.c:
2605 Re-worked listeners for toolkit events, now we have signal
2606 and property listeners. Added a private method
2607 register_atk_event_listeners(), which registers with the
2608 various atk and gtk signals we need to monitor in order to emit
2610 Added emission hook for AtkObject:property-change events, to
2611 support the 'property listeners'.
2612 Fixed some alloc()s of Accessibility_Event structs to use CORBA
2615 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2616 which emit warnings and exit, respectively, if CORBA errors occur
2617 during remote calls, and we now use these methods to check most of
2618 our CORBA calls in the C bindings.
2620 * cspi/spi_accessible.c:
2621 Changed AccessibleSelection_refSelectedChild() to
2622 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2623 now increment refcounts.
2625 * cspi/spi_component.c:
2626 Fixed some long pointer casts (dangerous!) to pass pointers to
2627 CORBA_longs of the proper type to the CORBA stubs, and copy the
2628 data into the longs that were passed into the C bindings code.
2630 * at-bridge/bridge.c:
2632 * libspi/accessible.c:
2633 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2634 hyperlinks, AtkHyperlink is an object type.
2636 * libspi/application.c:
2637 Added various conversions to and from "generic" event types and
2638 atk-specific types; this is really part of the 'bridge'
2639 implementation but is valid for all AtkObject-based accessibility
2642 * libspi/editabletext.c:
2643 Fixed nasty bug wherein editable text's finalize method was
2644 unref'ing tha AtkObject reference that the text parent class was
2645 about to unref _again_. There was also a nasty inheritance bug
2646 that meant that the AccessibleEditableText class was corrupt.
2648 * libspi/selection.c:
2649 Provided implementations for some selection API that was broken.
2651 * idl/Application.idl:
2652 Added registerObjectEventListener () method.
2655 Fixed a number of return values that were Bonobo_Unknowns from
2656 bonobo_object_corba_objref(), which I
2657 forgot to dup before returning. Changed instances of
2658 bonobo_object_corba_objref (bonobo_object(o)) to
2659 BONOBO_OBJREF(o), for concision and clarity.
2661 <2001-10-13 Louise Miller <louise.miller@sun.com>
2663 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2664 idl/Event.idl, idl/Registry.idl
2665 Changed these files to include Bonobo_Unknown.idl instead
2668 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
2670 * libspi/component.c libspi/component.h:
2671 Fixed typo. Added assertions for object checks in
2672 AccessibleComponent code.
2674 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2676 * idl/Accessible.idl:
2677 Added 'isEqual (Accessible *object)'
2678 method for Accessible. (Not Yet Implemented).
2681 Changed signature of registerKeystrokeListener() to
2682 take a KeySet and KeyEventSeq so that specific keys and event
2683 types could be requested for monitoring, and added a flag
2684 is_synchronous so that either synchronous or asynchronous
2685 notification could be requested. (However this is not all
2686 implemented yet). This also meant adding two new typedefs,
2687 KeyEventSeq and KeySet.
2690 Added two new relations, RELATION_TOOLTIP_FOR and
2691 RELATION_LEAFNODE_OF.
2694 Added new state, STATE_HAS_TOOLTIP.
2696 * libspi/text.c, editabletext.c:
2697 Added new assertions to all casts of bonobo-objects from
2698 CORBA servants, to prevent Text API calls on non-text objects.
2699 Changed suspect casts of int-pointer types, so that we
2700 always send a valid CORBA_long pointer to the CORBA APIs that use
2701 in/out long parameters. We then have to copy from the CORBA_long
2702 into the regular long or int for return to the C bindings, or
2703 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
2706 * libspi/deviceeventcontroller.c:
2707 Cleaned these sources up.
2709 Changed return type for getCharacterAtOffset to
2710 CORBA_unsigned_long, to allow for 32-bit characters.
2713 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
2717 Fixed 'make dist' so that distro compiles...
2718 * libspi/keymasks.h:
2720 * cspi/spi-listener.c:
2721 KeystrokeListenerCB now returns a boolean.
2723 Added KeyEventType struct, and KeyStroke.
2724 Also added createKeystrokeListener(),
2725 KeystrokeListener_addCallback(),
2726 KeystrokeListener_removeCallback(), and added a keymask to
2727 registerKeystrokeListener().
2728 * cspi/spi_accessible.c:
2729 Changed numerous return types for interfaces from
2730 AccessibleComponent to Accessible<InterfaceName>; this was
2731 probably a cut-and-paste error.
2733 Implementations of new KeystrokeListener api (from spi.h,
2736 Changes to key modifier mapping.
2737 Created ControllerEventMask struct.
2738 Made DeviceEventController derive from Bonobo::Unknown.
2740 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
2741 * libspi/deviceeventcontroller.c:
2742 Added a number of new internal (private) methods.
2743 * libspi/editabletext.c:
2744 * libspi/editabletext.h:
2745 Fixed a number of bugs related to the fact that
2746 editabletext inherits from text. Fixed the EditableText struct,
2747 the init() call, and use correct casts when calling Text methods
2748 from an EditableText object. Removed (duplicate) atko from the
2749 EditableText structure, we use the one in the parent Text
2750 structure via the casts mentioned above.
2751 * libspi/keystrokelistener.[ch]:
2752 * libspi/registry.c:
2753 Changes in support of keyboard handling (above).
2755 Keyboard handling, though partly functional, is still not
2756 recommended for at-spi client use as there is considerable
2757 work yet to be done.
2760 Changed some places where pointers to various int types
2761 are cast to be pointers to CORBA_long types and vice-versa:
2762 pointer casting is not safe so we pass pointers of the correct
2763 types and then cast the result before putting it into the target
2766 * libspi/text.h: minor typos corrected.
2768 We now speak not only the name of a Text element, but the
2769 first sentence of its content, when it receives focus.
2770 I also changed the text compression to 75% from 50%.
2771 * util/Accessibility_Util.server.in:
2772 Changed the default magnifier type to be a 3x vertical
2773 splitscreen magnifier (was previously a 2x horizontal one).
2775 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
2777 * libspi/keystrokelistener.h:
2778 * libspi/keystrokelistener.c:
2779 Initial functional implementations of KeystrokeListener.
2782 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
2784 Fixed string handling for NULL strings in libspi.
2785 Added spi_freeString to free strings returned by C bindings.
2787 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
2789 * libspi/keystrokelistener.h:
2790 * libspi/keystrokelistener.c:
2791 Began (no-op) implementations of KeystrokeListener
2793 * libspi/deviceeventcontroller.c:
2794 * libspi/deviceeventcontroller.h:
2795 Began creating implementations of DeviceEventController,
2796 to handle keystroke and mouse event listening and
2798 * libspi/accessible.c:
2799 Stubbed-in the implementations for
2800 Accessibility_Accessible_getState and
2801 Accessibility_Accessible_getRelationSet.
2802 * libspi/registry.c:
2803 Improved de-registration process and fixed some bugs,
2804 deregistration now works correctly.
2806 Added initialization of applications list (to NULL).
2808 Reduced speech compression from 0.5 to 0.7, for demo.
2809 Changed call to gdk_window_set_decorations()
2810 to gtk_window_set_decorated().
2811 * at-bridge/bridge.c:
2812 Bridge now deregisters when app exits, via
2813 registration of a cleanup function
2814 with the g_atexit() call.
2815 Required making 'app' static, renamed 'this_app'.
2816 Fixed broken use of bonobo_init, passing argv wrongly.
2818 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
2822 Created a new directory for
2823 accessibility-related utilities, primarily for
2824 testing and demo purposes, but with possible
2831 Onscreen magnifier utility that
2832 is implemented as a bonobo service.
2834 * util/mag_client.c:
2835 * util/mag_client.h:
2836 Client-side support (simple C bindings)
2837 for Magnification service
2839 * util/mag_control.c:
2840 Client program example for
2841 Magnification service
2843 * util/Accessibility_Magnifier.server.in:
2844 Bonobo-activation file for the
2845 Magnification service.
2848 * util/idl/Magnifier.idl:
2849 IDL defining the bonobo Magnification
2853 Modifications to use the bonobo-activated magnifier
2854 above, in place of trying to connect to an existing
2855 magnifier that uses socket-listening IPC.
2857 If env variable MAGNIFIER is set, a magnifier service
2858 will be started if one does not exist.
2860 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
2861 * at-bridge/bridge.c:
2862 applied patch from Marc to build and run
2863 against new glib and gtk+ (seemed like a change
2864 to bonobo_init signature was made ?)
2866 made festival-server support turned off by default.
2867 Added support for a simple magnifier (off by default)
2868 which will be added to a 'util' directory later.
2869 * at-bridge/Makefile.am:
2870 Changed "application.h" header from a 'source'
2871 to a 'dependency' of libat-bridge.
2873 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2881 Added interface implementation c files to list of
2882 includes so they are included in libcspi.
2885 Changed prototype of AccessibleAction_doAction to return a
2887 Changed prototype of AccessibleTable_getCaption to
2888 return an Accessible.
2889 Changed prototype of AccessibleTable_getSelectedRows
2890 and AccessibleTable_getSelectedColumns to
2891 return a long (returns the number of selected rows
2892 or columns respectively).
2893 Changed name of AccessibleText_refRunAttributes to
2894 AccessibleText_getAttributes.
2895 Changed prototype of AccessibleText_getCharacterExtents to
2896 return a void rather than a boolean.
2897 Added support for a AccessibleCoordType parameter
2898 specifying what type of coordinates are desired.
2899 Added an AccessibleCordType parameter to
2900 AccessibleText_getPointAtOffset.
2902 * cspi/spi_accessible.c:
2903 Added code to return the outstanding interfaces from
2904 Accessible_queryInterface.
2906 * cspi/spi_action.c:
2908 Corrected call to getNActions to call the c binding
2911 * cspi/spi_editabletext.c:
2913 Changed name from setRunAttributes to setAttributes.
2915 * cspi/spi_hyperlink.c:
2917 Changed call to getNAnchors to correctly call the c
2918 binding for an attribute.
2920 * cspi/spi_hypertext.c:
2922 Changed getImageDescription to correctly call the
2923 binding for an attribute.
2925 * cspi/spi_selection.c:
2926 Changed getNSelectedChildren to correctly call the c
2927 binding for the attribute.
2928 Changed refSelectedChild to getSelectedChild.
2932 Changed getCaption to return an Accessible.
2933 Fixed calls which retrieve attributes.
2934 Changed refAt to getAccessibleAt.
2935 Changed getNSelectedRows and getNSelectedColumns to
2939 Changed getCharacterExtents and getPointAtOffset to accept an
2940 AccessibleCoordType.
2942 Changed calls which retrieve attributes.
2943 Changed refRunAttributes to getAttributes.
2948 * idl/Hyperlink.idl:
2949 Changed n_anchors attribute to nAnchors to keep naming
2950 convention consistent.
2953 Made Table inherit from Bonobo::Unknown.
2954 Added nSelectedColumns and nSelectedRows attributes.
2957 Made Value inherit from Bonobo::Unknown.
2959 * libspi/hyperlink.c:
2960 Change for nAnchors attributte name change.
2962 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2970 Added interface implementation c files to list of
2971 includes so they are included in libcspi.
2974 Changed prototype of AccessibleAction_doAction to return a
2976 Changed prototype of AccessibleTable_getCaption to
2977 return an Accessible.
2978 Changed prototype of AccessibleTable_getSelectedRows
2979 and AccessibleTable_getSelectedColumns to
2980 return a long (returns the number of selected rows
2981 or columns respectively).
2982 Changed name of AccessibleText_refRunAttributes to
2983 AccessibleText_getAttributes.
2984 Changed prototype of AccessibleText_getCharacterExtents to
2985 return a void rather than a boolean.
2986 Added support for a AccessibleCoordType parameter
2987 specifying what type of coordinates are desired.
2988 Added an AccessibleCordType parameter to
2989 AccessibleText_getPointAtOffset.
2991 * cspi/spi_accessible.c:
2992 Added code to return the outstanding interfaces from
2993 Accessible_queryInterface.
2995 * cspi/spi_action.c:
2997 Corrected call to getNActions to call the c binding
3000 * cspi/spi_editabletext.c:
3002 Changed name from setRunAttributes to setAttributes.
3004 * cspi/spi_hyperlink.c:
3006 Changed call to getNAnchors to correctly call the c
3007 binding for an attribute.
3009 * cspi/spi_hypertext.c:
3011 Changed getImageDescription to correctly call the
3012 binding for an attribute.
3014 * cspi/spi_selection.c:
3015 Changed getNSelectedChildren to correctly call the c
3016 binding for the attribute.
3017 Changed refSelectedChild to getSelectedChild.
3021 Changed getCaption to return an Accessible.
3022 Fixed calls which retrieve attributes.
3023 Changed refAt to getAccessibleAt.
3024 Changed getNSelectedRows and getNSelectedColumns to
3028 Changed getCharacterExtents and getPointAtOffset to accept an
3029 AccessibleCoordType.
3031 Changed calls which retrieve attributes.
3032 Changed refRunAttributes to getAttributes.
3037 * idl/Hyperlink.idl:
3038 Changed n_anchors attribute to nAnchors to keep naming
3039 convention consistent.
3042 Made Table inherit from Bonobo::Unknown.
3043 Added nSelectedColumns and nSelectedRows attributes.
3046 Made Value inherit from Bonobo::Unknown.
3048 * libspi/hyperlink.c:
3049 Change for nAnchors attributte name change.
3052 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
3054 implementations-- made server implementations own AtkObject pointers
3055 rather than their respective AtkInterrface pointers to fix
3056 refcounting. AtkHyperlink is still broken.
3058 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
3059 * cspi/spi_accessible.c:
3060 Added method Accessible_Role_getName(),
3061 and requisite string array (role_names).
3062 Added conversion string_from_corba_strin() call
3063 to Accessible_getName and _getDescription.
3064 * libspi/accessible.c:
3065 Added implementation for Accessible_getRole()
3067 Added festival support, used if environment variable
3070 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3072 * at-bridge/bridge.c:
3073 Now allocate Accessibility_Event using
3074 Accessibility_Event__alloc() instead of g_new0().
3075 * libspi/accessibleeventlistener.c:
3076 Initialize AccessibleEventListener->callbacks to NULL.
3077 Fixed accessible__event_listener_init() param, changed to
3078 "AccessibleEventListener *" type.
3079 Changed a bonobo_object_release_unref() call to
3080 Accessibility_Accessible_unref().
3081 * libspi/listener.c:
3082 Changed Bonobo_Unknown_unref to (equivalent)
3083 Accessibility_Accessible_unref.
3084 * libspi/registry.c:
3085 Changed bonobo_object_release_unref to
3086 Accessibility_Accessible_unref.
3088 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3091 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
3092 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
3093 spi-util.c spi-util.h
3094 Implementations for C bindings to remaining accessibility
3097 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3100 changed return value of Action from void to boolean to
3101 bring in line with ATK.
3104 Changed getText funcions to return "out" start and end offsets.
3105 Changed getAttributes to take and offset and return the start
3106 and end offset of the attribute run.
3107 Changed getOffsetAtPoint and getCharacterExtents to take an
3108 enum describing whether coordinates are window or screen.
3111 libspi/action.c libspi/action.h libspi/editabletext.c
3112 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
3113 libspi/hypertext.c libspi/hypertext.h libspi/image.c
3114 libspi/image.h libspi/selection.c libspi/selection.h
3115 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
3116 libspi/value.c libspi/value.h
3117 Added server implementations for outstanding ATK interfaces
3118 not yet implemented.
3120 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3123 Added (missing) getName() method.
3124 Made nActions an attribute.
3125 * idl/EditableText.idl:
3126 Changed order of params in setAttributes.
3127 * idl/Hyperlink.idl:
3128 Removed getAnchor, added getURI.
3130 Changed attributes to methods, for efficiency
3131 (so that getting extents can be done in one call)
3132 * idl/Selection.idl:
3133 Changed nSelectedChildren to attribute, and re-indented.
3134 * idl/Table.idl: changed nrows, ncolumns, caption, summary
3136 * idl/Text.idl: reformatted to match our coding style.
3137 (temporarily?) removed getRowColumnAtOffset().
3138 Changed text selection API to support multi-select and
3139 non-contiguous selections, as in ATK.
3140 * idl/Value.idl: changed some methods to attributes.
3142 2001-08-24 Mark McLoughlin <mark@skynet.ie>
3144 * libspi/listener.c(impl_notify_event):
3145 BonoboUnkown_unref the source instead
3146 of bonobo_object_release_unref - the ORB
3147 handles the releasing.
3149 * configure.in: require ORBit-2.3.94 for
3152 2001-08-21 Bill Haneman <bill.haneman@sun.com>
3154 Tagged CVS repository 'EA_1_0'.
3155 * README.EARLY_ACCESS:
3156 Alphabetized acknowledgements list, and
3158 Listed some known dependencies of at-spi.
3160 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3162 * docs/at-spi-docs.sgml:
3163 * docs/at-spi-sections.txt:
3164 * docs/at-spi-overrides.txt: (Added zero-length file)
3165 Documentation improvements - gtk-doc should build
3166 docs for all implemented C bindings now.
3169 * cspi/spi.c: (New file)
3170 * cspi/spi_event.c: (New file)
3171 * cspi/spi_registry.c: (New file)
3172 * cspi/spi_accessible.c: (New file)
3173 * cspi/spi_application.c: (New file)
3174 * cspi/spi_component.c: (New file)
3175 Split spi_main.c into six parts, and included them from
3176 "spi.c". This is a bit of a hack, probably temporary,
3177 but required by gtk-doc, apparently.
3179 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3182 * docs/at-spi-docs.sgml:
3183 * docs/at-spi-sections.txt:
3185 Initial checkins/modifications for gtk-doc generation.
3188 Added (missing) interface query methods to Accessible's C binding.
3190 Added GenericInterface type definition.
3192 Added query for AccessibleComponent interface to focus event handler.
3193 Added printout of bounding box for focussed component.
3194 * libspi/component.c:
3195 Added partial implementation for AccessibleComponent to C binding.
3196 * idl/Application.idl:
3197 * libspi/registry.c:
3198 * libspi/listener.c:
3199 * libspi/application.c:
3200 * libspi/application.h:
3201 Changed "ID" attribute type from string to long.
3203 2001-08-19 Bill Haneman <bill.haneman@sun.com>
3207 Made method naming consistent: methods taking object args
3208 start with uppercase, other methods (except those using
3209 acronyms) start with lowercase. Underscores delimit between
3210 object names and method names:
3211 SPI_init() - uppercase since it starts with an acronym.
3212 getDesktopCount () - lowercase start since no object param0.
3213 Accessible_getName() - uppercase object type name, studlyCaps method
3217 Added gtk-doc documentation for all currently implemented
3218 methods in the C bindings API.
3220 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3222 * Makefile.am : changed build order to build test last.
3225 Changed "createEventListener" to "CreateEventListener".
3226 * libspi/accessibleeventlistener.c :
3227 Bugfix for addition of callbacks.
3228 * test/Makefile.am :
3229 * test/simple-at.c :
3230 Added new test that uses the C bindings API.
3232 * libspi/listener.c :
3233 * libspi/registry.c :
3234 * libspi/accessibleeventlistener.c :
3235 * at-bridge/bridge.c :
3236 Renamed member "target" of Accessibility_Event to "source",
3237 which is more descriptive.
3240 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3244 * cspi/Makefile.am :
3245 Added makefile support for at-spi/cspi directory.
3248 * cspi/spi-listener.h : (NEW FILE)
3249 Added support for/use of spi-listener.h.
3251 C bindings now build successfully, with no warnings.
3252 * libspi/accessibleeventlistener.h : (NEW FILE)
3253 * libspi/accessibleeventlistener.c : (NEW FILE)
3254 * libspi/Makefile.am :
3255 Added new object type "AccessibleEventListener"
3256 which inherits from Listener, and allows attachment
3257 of in-process callbacks (so that a client with a listening
3258 object instance can add functionality to the local
3259 implementation, dynamically).
3261 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3263 * libspi/accessible.c:
3264 Add implementation for get_index_in_parent().
3266 Added #include of "spi-roletypes.h", and
3267 added enumerated type AccessibleCoordType.
3268 Added definition for KeystrokeListener (function type).
3271 * cspi/spi-statetypes.h :
3272 * cspi/spi-roletypes.h :
3274 Added these headers, used by spi.h.
3276 Added code (NOTE: not yet built by make).
3278 2001-08-18 Mark McLoughlin <mark@skynet.ie>
3280 * libspi/Makefile.am: generate imodule
3281 at the same time as other idl compiler
3284 2001-08-17 Bill Haneman <bill.haneman@sun.com>
3285 * libspi/registry.c :
3286 * libspi/application.c :
3287 * idl/Application.idl :
3288 Made registration with toolkit an application method,
3289 which is required since each app has its own toolkit static
3290 environment. Thus the bridge must register for
3291 notification of toolkit events from each application in turn.
3292 Toolkit notifications are now successfully registered for, and
3293 sent to the listening at client.
3295 Changed toolkit event string to use hyphens rather than underscores.
3296 * libspi/listener.c :
3297 listner now gives more info in debug mode - it reports the
3298 name of the event received, as well as the name of the source.
3301 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3303 * libspi/registry.c :
3304 added more implementation for toolkit events.
3305 Fixed bug such that toolkit event registrations
3306 (via atk) use the whole event name string, not
3308 Removed a useless call to an ORBit_ method.
3309 * at-bridge/bridge.c :
3310 Removed unused local sbuf[] variable.
3312 We now register for Gtk:GtkWidget:button_press_event
3313 events as well as "focus:" events.
3315 Add some more API from Registry.idl that was missing,
3316 for keystroke listening, keystroke and mouse event
3317 synthesis, and enumeration of accessible desktops.
3319 2001-08-16 Michael Meeks <michael@ximian.com>
3321 * configure.in: use AM_GLIB_GNU_GETTEXT.
3323 * Makefile.am (SUBDIRS): kill intl.
3325 2001-08-15 Michael Meeks <michael@ximian.com>
3327 * registryd/Makefile.am: s/oaf/server/ relocate info file.
3329 * configure.in: upd.
3331 * configure.in: depend on a recent bonobo-activation that
3332 will find our server files ...
3334 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3336 * libspi/accessible.c : accessible_new() :
3337 Now we add the Component interface via bonobo_object_add_interface,
3338 if the contained AtkObject implements AtkComponent.
3339 * libspi/accessible.h : now include "component.h"
3340 * libspi/component.h :
3341 * libspi/component.c : added files - implementation of
3342 bonobo wrapper object for Accessibility/Component
3343 * libspi/listener.c :
3344 Added test code to check for Accessibility/Component:1.0
3345 interface and report whether it is implemented by the
3347 * libspi/registry.c :
3348 Now we check for not only the hash of the whole event
3349 string before relaying the event, we also check the
3350 "minor" event string (without the detail string).
3351 This allows event listeners to be registered against
3352 all events of a certain major+minor type, or just
3353 against a specific major+minor+detail type.
3354 * libspi/accessible.c :
3355 Added implementations for Accessible:get_parent(),
3356 Accessible:getChildCount(), and Accessible:getChildAtIndex().
3357 * libspi/registry.c :
3358 * libspi/listener.c :
3359 Replaced calls to Accessibility_Accessible_ref() and
3360 Accessibility_Accessible_unref() with
3361 calls to bonobo_object_dup_ref() and
3362 bonobo_object_release_unref(), so that the CORBA object
3363 is dup-ed and released when relayed, as well as the bonobo object.
3365 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3367 * libspi/Makefile.am,
3368 registryd/Makefile.am,
3369 at-bridge/Makefile.am.
3370 test/Makefile.am, configure.in:
3371 reverse previous changes.
3373 * /idl/Image.idl: fix typo.
3375 * test/Makefile.am: put DEBUG_FLAGS
3378 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3380 * test/app.c: use argv[0] instead of
3383 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3385 * libspi/Makefile.am,
3386 registryd/Makefile.am,
3387 at-bridge/Makefile.am.
3388 test/Makefile.am, configure.in:
3389 cleanup, replace individual LIBS/CFLAGS with
3390 AT_COMMON_{LIBS|CFLAGS}.
3394 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3396 * configure.in, libspi/Makefile.am:
3397 Change IDL path checking for bonobo-activation
3400 2001-08-15 Bill Haneman <bill.haneman@sun.com>
3402 * registryd/registry.c : separated event listeners to use
3403 3 separate lists (focus, window, toolkit). Began testing
3404 event names against hashes before relaying events.
3405 * test/at.c : now register for events of type "focus:"
3406 * test/app.c : now generate events of type "focus:"
3407 * at-bridge/bridge.c : register with ATK for focus events,
3408 and we now relay those focus events to any "focus:" listeners.
3409 This now works with the bridge as a GTK_MODULE when running test/at.
3410 * libspi/registry.c :
3411 * libspi/listener.c :
3412 now we ref event sources before propagating, and unref on receipt.
3413 * libspi/registry.c :
3414 some changes to internal structs, to support event typestring hashes.
3415 * text/app.c : changed the way the appname is generated.
3416 * cspi : added directory that will hold the C bindings library for
3417 non-CORBA/bonobo-savvy clients.
3418 * cspi/spi.h : header file that contains the function prototypes for the C binding.
3419 * idl/Component.idl : added in parameter to indicate coord system for
3420 geometry-related calls.
3421 * idl/Hyperlink.idl : added readonly n_links attribute
3422 * idl/Image.idl : changed methods to attributes.
3424 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3426 * at-bridge/Makefile.am: link against
3427 ../libspi/libspi.la instead of -lspi.
3429 * at-spi/test/app.c: include
3430 bonobo-activation.h. Use a default appname
3431 if one is not provided.
3433 2001-08-14 Bill Haneman <bill.haneman@sun.com>
3435 * idl/Registry.idl : temporarily changed register_Application
3436 to oneway, to work around issue with initial registration
3438 * idl/Application.idl : changed attribute "id" from readonly
3439 to read-write, since it needs to be assigned by Registry.
3440 * registryd/registryd.c : added call to set application id
3442 * registryd/registry.c : changed de-registration procedure to
3443 use CORBA_Object_hash() to find matching object ref in application
3444 lists and listener lists.
3445 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
3446 began distinguishing between event types (work in progress).
3448 2001-08-13 Bill Haneman <bill.haneman@sun.com>
3451 * libspi/application.c:
3452 Added implementations for get/set id, get_toolkitName,
3454 * registryd/registryd.c :
3458 Converted from use of OAF to bonobo-activation.
3459 * libspi/desktop.h :
3460 * libspi/desktop.c :
3462 Removed references to atksimpleobject, since base atkobject
3463 implementation now provides functionality we need.
3464 * libspi/atksimpleobject.c :
3465 * libspi/atksimpleobject.h :
3470 * at-bridge/Makefile.am
3471 * at-bridge/bridge.c
3474 Added directory "bridge" and contents, and added dependencies
3475 in Makefile.am/configure.in.
3476 Initial checkin of "at-bridge".
3477 This code is a GTK_MODULE which automatically registers
3478 GTK+ apps with the accessibility registry, using an object
3479 reference to the root ATK object.
3481 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3483 * po/Makefile.in.in: Remove. Again. If this
3484 doesn't get autogenerated - you need to update
3487 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3489 * po/Makefile.in.in: Add. Again.
3491 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3493 * libspi/accessible.c : added support for 'description' property.
3494 * libspi/accessible.c
3496 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3497 (since the two are now equivalent in libbonobo)
3505 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3506 Bonobo::Unknown as does Accessibility::Accessible.
3507 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3508 interface with Bonobo::Stream, since it was redundant with it.
3509 (The Stream returned by a StreamableContext object is expected to
3510 implement only a subset of Bonobo::Stream)
3512 2001-07-28 Anders Carlsson <andersca@gnome.org>
3514 * libspi/accessible.c (accessible_object_finalize): Change
3515 g_free to g_object_unref since the AtkObject is a GObject.
3517 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3519 * idl/Accessibility.idl: add new IDL files
3522 * idl/Action.idl: Definitions of actionable UI object
3523 * idl/Component.idl: Definitions of UI component geometry, etc.
3524 * idl/Hyperlink.idl: Defs of hyperlink behavior
3525 * idl/Image.idl: Def of accessible image
3526 * idl/Selection.idl: Definition of UI object with selectable children
3527 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3528 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3529 * idl/Text.idl: Interface defs for UI elements with complex textual content
3530 * idl/Value.idl: Definition of UI element that is a value controller or display
3532 2001-07-27 Michael Meeks <michael@ximian.com>
3534 * po/Makefile.in.in: remove autogenerated file from CVS.
3536 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3539 * idl/Registry.idl: include guard.
3541 * idl/Accessibility.idl: Add, and include all the other IDL
3544 * idl/*.idl: remove mass of pragmas etc.
3546 2001-07-26 Michael Meeks <michael@ximian.com>
3548 * registryd/Makefile.am (registryd_SOURCES): remove
3551 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3553 * libspi/.cvsignore, registryd/.cvsignore,
3554 test/.cvsignore: updated.
3556 * po/Makefile.in.in: gettext update.
3558 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3560 * initial CVS checkin
3562 2001-06-29 Michael Meeks <michael@ximian.com>
3564 * configure.in: add AM_CONFIG_HEADER to gen config.h