1 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
5 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
7 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
9 * cspi/spi_accessible.c: Implemented c bindings for stateset support
11 * cspi/state-types.h: synched with IDL and ATK
13 2002-03-13 Bill Haneman <bill.haneman@sun.com>
16 (impl_accessibility_accessible_get_child_at_index):
17 Change return value for g_return_if_fail ()
18 to CORBA_OBJECT_NIL instead of "0" (!)
20 * registryd/Makefile.am:
21 * registryd/Accessibility_Register.server.in:
22 Changed name of executable, "registryd",
23 to something more informative:
26 2002-03-13 Michael Meeks <michael@ximian.com>
28 * atk-bridge/bridge.c (atk_bridge_init): don't register
29 if we're in a bonobo-component, rather than a bonobo app.
31 2002-03-13 Michael Meeks <michael@ximian.com>
33 * atk-bridge/bridge.c (gtk_module_init): split
34 out body to (atk_bridge_init): here, since otherwise
35 we get symbol conflicts and oddness when invoked
36 from (gnome_accessibility_module_init): here (upd.)
38 2002-03-11 Bill Haneman <bill.haneman@sun.com>
41 New file. Explicitly allow "build sheriff" putbacks provided
42 they are tested on Solaris.
44 * docs/reference/cspi/Makefile.am:
45 Added '-' to the "cp" command for index.sgml.
46 ("patch by thomasvs, soon coming to a GUADEC near you")
49 Incremented version number (0.9.0) for new release.
50 Changed macro that checks for popt, to better detect
51 obsolete versions of popt.
54 Added X_LIBS to AC_SUBST, for applications
55 that call Xlib API directly.
58 2002-03-07 Bill Haneman <bill.haneman@sun.com>
61 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
64 Fix regression caused by hard-coding major
65 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
68 * test/test-simple.c (test_editable_text),
69 (test_test): revert previous change (error was
70 a regression in gail which is now fixed).
72 2002-03-04 Michael Meeks <michael@ximian.com>
74 * test/test-simple.c (test_editable_text),
75 (test_text): pass G_MAXINT instead of '-1' for
76 whole string - is this a good thing !?
78 * cspi/spi_accessible.c
79 (Accessible_getRelationSet): fix crasher bug
80 overwriting the end of the array.
82 * test/test-simple.c (validate_accessible): free,
83 not g_free returned relation set.
85 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
87 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
88 implemented stateset support
90 * idl/Accessibility_State.idl: Made necessary changes to
91 the IDL to support state sets.
93 2002-02-12 Bill Haneman <bill.haneman@sun.com>
95 * registryd/deviceeventcontroller.c:
96 Added implementation for generateMouseEvent.
98 * cspi/spi_registry.c:
99 Connected new implementation for generateMouseEvent
102 2002-02-12 Bill Haneman <bill.haneman@sun.com>
105 Incremented revision (but no change in public API
106 outside of 'utils', which are not installed public yet.)
108 * libspi/component.c:
109 Changed to use atk_component API for layers and
110 mdi_zorder, instead of deprecated atk_object API.
112 Magnification Utility Enhancements:
115 Added implementation of createZoomRegion, clearAllZoomRegions,
116 resizeZoomRegion. Added new commandline argument
117 "--no-initial-region". Note that clearAllZoomRegions doesn't
118 unmap the old '0' region as it should (yet), and the other
119 methods only work when creating/resizing a single region,
121 (Code for multiple region support will be added later.)
124 Now we raise the magnifier window each time it's refreshed;
125 this will help keep it on top.
128 Added simple wrappers for above, used by mag_control.
129 For general use, it's recommended to use the bonobo magnifier
130 control API directly instead of using these wrappers.
133 Moved ZoomRegionData from magnifier.c to this file.
135 * util/mag_control.c:
136 Added some code to exercise new IDL implementations.
138 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
140 * libspi/text.c: Provide implementation for getAttributes.
142 2002-02-04 Bill Haneman <bill.haneman@sun.com>
145 Incremented revision.
147 * test/test-simple.c:
148 Replaced use of deprecated g_main_iteration with
149 g_main_context_iteration.
151 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
154 Incremented revision for desktop alpha 2.
156 2002-01-28 Mark McLoughlin <mark@skynet.ie>
158 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
161 * test/simple-at.c: include netinet/in.h.
163 2002-01-24 Mark McLoughlin <mark@skynet.ie>
165 * cspi/spi_accessible.c: (Accessible_getRelationSet):
166 use NULL, not CORBA_OBJECT_NIL.
168 * libspi/accessible.c:
169 (impl_accessibility_accessible_get_relation_set):
170 allocate the sequence correctly.
172 * libspi/remoteobject.h: kill spi_remote_object_new.
174 * test/test-simple.c: (validate_accessible): add code
175 to test relation sets, now all we need is to figure
176 out how to excercise this code path :/
178 2002-01-18 Michael Meeks <michael@ximian.com>
181 (key_listener_cb): consume the key.
182 (test_keylisteners): update.
183 (main): wait for any pending unrefs on events.
185 * registryd/deviceeventcontroller.c
186 (spi_controller_update_key_grabs): only re-issue the
187 grab on a key release.
188 (spi_device_event_controller_forward_key_event):
189 refresh the keygrabs before we notify the listeners,
190 to reduce the X ungrab / re-grab race.
191 (spi_controller_register_with_devices): remove
192 XSelectInput - we do that with the gdk_window_ call.
193 (_spi_controller_device_error_handler): return a value.
194 s/GDK_DISPLAY/spi_get_display/
196 2002-01-17 Michael Meeks <michael@ximian.com>
198 * registryd/deviceeventcontroller.c
199 (_deregister_keygrab): don't blow out the later
202 * test/test-simple.c (test_keylisteners): do a
203 more intelligent validation.
205 2002-01-14 Michael Meeks <michael@ximian.com>
207 * atk-bridge/bridge.c
208 (gnome_accessibility_module_init),
209 (gnome_accessibility_module_shutdown): impl.
210 (gtk_module_init): protect vs. double inits.
211 (add_signal_listener): impl.
212 (spi_atk_bridge_state_event_listener): kill
213 (deregister_application): split out of
214 (spi_atk_bridge_exit_func): here.
216 2002-01-18 Bill Haneman <bill.haneman@sun.com>
219 Added caret tracking when using magnifier, and
220 now use text bounds for focus tracking of text elements, rather than
221 the component bounds - this is helpful for short text fields in long
222 table cells, at high magnification.
224 2002-01-16 Bill Haneman <bill.haneman@sun.com>
226 * registryd/deviceeventcontroller.c:
227 Regression fix for keylistener de-registration; global keygrabs
228 were not being released when deregisterKeystrokeListener was
229 called in cspi, since
230 Accessibility_DeviceEventController_deregisterKeystrokeListener
231 was called with a zero-length keyset. That is because the cspi
232 method, SPI_deregisterKeystrokeListener, does not take a keyset
233 parameter but instead should remove all the key grabs held be a
235 The code in impl_deregister_keystroke_listener was changed to copy
236 the keylist from the listener instance previously registered with
237 the DeviceEventController before releasing the grabs.
239 * registryd/registry.c:
240 * registryd/deviceeventcontroller.c:
241 * libspi/spi-private.h:
243 Changed spelling of "re-enterant" to "re-entrant" globally.
245 2002-01-16 Bill Haneman <bill.haneman@sun.com>
247 * test/test-simple.c:
248 Changed key listeners test - the test was slightly mis-using the
249 (admittedly poorly documented) SPI_generateKeyboardEvent API.
250 It now uses '=' as the key event listened to and generated,
251 relying on a keysym match rather than assuming that keycode 33
252 is always equal to keysym '!'.
254 2002-01-15 Bill Haneman <bill.haneman@sun.com>
257 Changed simple-at to use a specific keyset, rather than
258 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
259 manager, desktop, etc.
261 2002-01-11 Bill Haneman <bill.haneman@sun.com>
263 * registryd/deviceeventcontroller.c:
264 Replaced standard X error handler with a special handler that
265 is non-fatal for failed keygrabs. This works around
266 problems with keygrab clashes sometimes observed on
268 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
269 mouse handling code as yet).
271 2002-01-11 Bill Haneman <bill.haneman@sun.com>
274 Incremented revision for desktop alpha release.
277 Fixed a couple of the more glaring errors (still not
280 2002-01-11 Michael Meeks <michael@ximian.com>
282 * registryd/deviceeventcontroller.c
283 (spi_device_event_controller_forward_key_event): kill
284 XUngrabKey / XKeyGrab race.
285 (spi_controller_grab_keyboard): rename to
286 (spi_controller_update_key_grabs): this, and deal
287 with incremental adding / removing grabs more
289 (_register_keygrab): ensure we're not pending a remove.
290 (spi_grab_mask_free): impl.
291 (spi_controller_register_global_keygrabs): split out
293 (handle_keygrab): impl.
294 (_deregister_keygrab): impl.
295 (spi_controller_deregister_global_keygrabs): impl.
296 (spi_controller_update_key_grabs): re-issue the grab if
297 we just recieved a notification.
299 * test/test-simple.c (key_listener_cb): remove debug.
301 * registryd/deviceeventcontroller.c
302 (spi_controller_register_device_listener): after
303 registering a global keygrab, actualy register it !
304 don't wait for a timeout; doh !
306 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
307 to make it more readable / manipulable.
308 s/grabmask/grab_mask/ s/refcount/ref_count/
309 s/keyval/key_val/ s/modmask/mod_mask
311 2002-01-08 Michael Meeks <michael@ximian.com>
313 * registryd/deviceeventcontroller.c
314 (spi_controller_register_with_devices): use gdk calls to
316 (global_filter_fn): implement the filter.
317 (spi_device_event_controller_check_key_event): rename to
318 (spi_device_event_controller_forward_key_event): this & upd.
319 (spi_get_display): replace with GDK_DISPLAY.
321 * registryd/deviceeventcontroller.c
322 (spi_controller_deregister_device_listener): unroll into
323 (impl_deregister_keystroke_listener): here to simplify.
324 (spi_controller_register_global_keygrabs): split cut and
325 paste (!) out into (_register_keygrab): here, shorter & sweeter.
326 (spi_controller_deregister_device_listener): remove.
327 (impl_register_mouse_listener): remove, no mouse listener
328 support in at-spi-1.0
330 * registryd/registry.c
331 (_device_event_controller_hook): kill.
332 (spi_registry_init): upd.
334 * registryd/deviceeventcontroller.c
335 (spi_device_event_controller_class_init): upd.
336 (spi_check_key_event): merge into.
337 (spi_device_event_controller_check_key_event):
338 here and kill strange static ev init, don't leak
339 the x_event - nor dynamicaly allocate it.
341 * registryd/registry-main.c (main): re-direct
342 timeout to remove strange vtable mess.
344 * registryd/deviceeventcontroller.c
345 (remove_listener_cb): impl.
346 (spi_controller_deregister_device_listener):
347 fix re-enterancy hazard.
349 2002-01-07 Michael Meeks <michael@ximian.com>
351 * registryd/deviceeventcontroller.c
352 (spi_device_event_controller_new): upd.
353 (impl_notify_listeners_sync): upd. debug.
354 (spi_notify_keylisteners): fix re-enterancy hazards,
355 prettify, remove O(n*n) iteration.
356 (spi_controller_grab_keyboard): fix iteration.
357 (spi_check_key_event): re-format to suit coding style.
358 Clean all the warnings - we're warning free.
360 * registryd/deviceeventcontroller.h:
361 * registryd/registry.h: make mutualy referential with
362 typesafe forward references instead of (!) void pointer
365 2002-01-11 Michael Meeks <michael@ximian.com>
367 * cspi/spi_accessible.c (role_names): add a role name
368 to sync this array with the enum; and make the regression
371 2002-01-10 Michael Meeks <michael@ximian.com>
373 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
374 allow expansion of enumeration & kill warning.
376 * test/test-simple.c (key_listener_cb): impl.
377 (test_keylisteners): impl.
379 * cspi/spi-listener.h: make listener signatures const
380 on the provided (const) events.
382 * test/keysynth-demo.c: upd. to const events.
384 * test/simple-at.c: ditto.
386 2002-01-11 Bill Haneman <bill.haneman@sun.com>
389 Rev the version to 0.5 (the previous tarball was named 0.4,
390 even though the micro number was 3), so we need to rev upwards
391 again for beta2/"desktop-alpha"
394 Checked in a demo script, which requires editing before use!
395 Proceed with caution.
398 Fixed typo in header which was redefining SPI_ACTION_CLASS.
400 * cspi/spi_accessible.c:
401 Add a couple of missing enum initializations, and fix some enum
404 * cspi/spi_registry.c:
405 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
407 * docs/reference/cspi/at-spi-cspi-sections.txt:
408 Remove/fix a couple of broken document references.
411 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
412 as Alt-Control to listen for commands, since on some systems
413 Control-Alt may already be grabbed.
415 2002-01-10 Bill Haneman <bill.haneman@sun.com>
418 Update version number to 0.4 for Beta2.
420 * libspi/accessible.c, libspi/accessible.h:
421 Expose spi_accessible_construct, to enable libgail-gnome
422 construction from spi_accessible subtype.
425 Workaround for bug in some non-gnome-compliant window managers
426 which made magnifier resize improperly.
428 2002-01-09 Bill Haneman <bill.haneman@sun.com>
430 * libspi/accessible.c: (spi_accessible_new) :
431 Move the test for SPI_IS_REMOTE_OBJECT to
432 spi_accessible_new_return, fixing a bug and compile time warning.
434 2002-01-08 Michael Meeks <michael@ximian.com>
436 * registryd/registry.c (parse_event_type): remove strndup.
438 * libspi/Makefile.am (libspi_la_SOURCES): remove
439 sources already included in the headers section.
441 * libspi/util.c: add.
443 * libspi/spi-private.h: add.
445 * registryd/registry.c: update to moved list iterators.
447 2002-01-05 Michael Meeks <michael@ximian.com>
449 * test/simple-at.c (main): upd. auto-module set to atk-bridge
451 * test/test-simple.c (main): ditto.
453 2002-01-04 Michael Meeks <michael@ximian.com>
455 * libspi/accessible.c (spi_accessible_new): remove 2nd,
458 * registryd/registry.c
459 (get_listener_list): impl.
460 (impl_accessibility_registry_register_global_event_listener):
461 re-impl. to simplify using ~, remove dodgy const cast off.
462 (parse_event_type): constify.
463 (impl_accessibility_registry_deregister_global_event_listener_all):
464 re-write, more efficiency and simplicity, kill re-enterancy
466 (compare_listener_corbaref, compare_corba_objects),
467 (compare_listener_quarks): define out.
468 (impl_accessibility_registry_deregister_global_event_listener):
469 re-write for effiency, and nail re-enterancy hazard.
470 (impl_accessibility_registry_get_desktop_list): impl.
471 (re_enterant_list_delete_link): impl.
472 (re_enterant_list_foreach): impl.
473 (remove_listener_cb): impl.
474 (_registry_notify_listeners): kill.
475 (notify_listeners_cb): impl.
477 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
478 (SPI_getDesktopList): impl.
480 * test/test-simple.c (test_desktop): test the methods.
482 2002-01-03 Michael Meeks <michael@ximian.com>
484 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
485 keystrings since we free them
486 (SPI_freeAccessibleKeySet): in here.
488 * libspi/accessible.c (spi_accessible_new): kill warning,
489 wonder what is going on with the constructor here.
491 2002-03-01 Bill Haneman <bill.haneman@sun.com>
493 * libspi/accessible.c (spi_accessible_new ()) :
494 Added check to see if AtkObject is an SpiRemoteObject before
495 creating an SpiAccessible.
497 2002-05-01 Bill Haneman <bill.haneman@sun.com>
499 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
500 Enable keygrabs using the Control modifier, now that they are
501 working properly (they were previously disabled).
504 Change the command keygrab for this demo to "Control+Alt", so as
505 to conflict with fewer other key commands on the system; this
506 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
508 Removed a pointlessly-chatty keylistener for unshifted keys
509 (shifted keys are still reported).
511 2002-02-01 Bill Haneman <bill.haneman@sun.com>
513 * libspi/remoteobject.h:
514 * libspi/remoteobject.c:
515 Added definitions for special AtkObject subtype, required for
516 support of remote components (specifically, used by BonoboControl
517 accessibility implementation).
519 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
521 * cspi/spi.h: synched relation types with ATK
523 * cspi/spi_accessible.c: Added implementations of
524 AcccessibleRelation_* methods
526 * idl/Accessibility_Relation.idl: added getRelationTypeName
527 method. Synched known relation types with ATK. Allowed for
528 relation type extension with the RELATION_EXTENDED type.
530 * libspi/relation.c: Provided implementations for
531 AccessibleRelation methods.
533 2002-01-01 Bill Haneman <bill.haneman@sun.com>
535 API tweaks for today's API 'freeze'.
538 Added placeholder functions to allow future compatible expansion
539 of the IDL interfaces.
541 * idl/Accessibility_Registry.idl:
542 Changed generateKeyEvent to generateKeyboardEvent. Changed
543 signature of this method to accept an optional keystring in
544 parameter (for complex text input synthesis) and changed use of
545 simple 'boolean' parameter in registerKeystrokeListener to a
546 struct, EventListenerMode.
548 * cspi/spi_accessible.c:
550 * cspi/spi_streamablecontent.c:
551 Added references to AccessibleStreamableContent interface, and
552 definition and implementation of AccessibleStreamableContent
555 * cspi/spi_registry.c:
557 Changed generateKeyEvent API to generateKeyboardEvent,
558 taking a new (optional) keystring parameter to support complex
563 Renamed directory (to better reflect its actual purpose, bridging
564 from at-spi to ATK). The .so module is also now named
567 * idl/Accessibility_Hypertext.idl:
568 * libspi/accessible.c:
569 * libspi/hypertext.h:
570 * libspi/hypertext.c:
571 Changed Accessibility_Hypertext to *not* derive from
574 * cspi/spi_registry.c:
575 Added list of legal event type names for 'window' events, which
576 completes the registry event API.
578 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
580 * at-bridge/bridge.c: Added registration for separate
581 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
582 signals. If either of the first two parameters to the generic
583 bridge signal handler are ints, they are passed on as event
584 details. This allows an AT to determine what text was inserted.
586 2001-12-21 Bill Haneman <bill.haneman@sun.com>
588 * registryd/deviceeventcontroller.c:
589 Fixed regressions in generateKeyEvent caused by the removal of
590 gdk_init from registryd; we now use pure X calls to connect to the
591 display, which makes sense because deviceeventcontroller already
592 uses a fair bit of X API (should eventually be migrated to a
593 'portability layer').
595 * registryd/desktop.c:
596 Fixed minor regression in spi_desktop_init, changed the way the
597 desktop name is being set to work with new spi_base API
598 (gobject-based, rather than AtkObject-based).
600 * registryd/Makefile.am:
601 Minor revision of makefile to use XTST_LIBS variable rather than
602 hard-wiring the Xtst LD_ADD element.
604 * test/keysynth-demo.c:
605 Tweaked an output message; added initialization of the
606 'keystrings' member of the "switch listener" key_set.
609 Squashed compile-time warning.
611 * libspi/accessible.c:
612 Cosmetic and formatting fixes, renamed a static method.
614 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
616 * libspi/accessible.c
618 * libspi/application.c
622 * libspi/editabletext.c
630 * registryd/desktop.c:
631 Changed SpiBase to contain a GObject pointer rather than an AtkObject
633 2001-12-17 Bill Haneman <bill.haneman@sun.com>
635 * idl/Accessibility_Registry.idl:
636 Added boolean member 'is_text' to DeviceEvent. This is for the
637 use of key events, and helps prevent ambiguity between composed
638 key strings and keysym names, since both may potentially be
639 returned in the 'event_string' member.
641 * at-bridge/bridge.c:
642 * registryd/deviceeventcontroller.c:
643 Use the 'is_text' member when notifying device event listeners.
644 Knon issue: composed characters are not dealt with correctly by
645 the global key listener implementation yet.
647 2001-12-17 Bill Haneman <bill.haneman@sun.com>
649 * at-bridge/bridge.c:
650 Namespaced local static methods to spi_atk_bridge_* where
651 previously named bridge_*, and spi_* elsewhere.
653 * at-bridge/bridge.c:
654 * cspi/bonobo/cspi-bonobo-listener.c:
655 Added demarshalling/conversion for string member of
656 Accessibility_DeviceEvent to AccessibleKeystroke.
658 * registryd/deviceeventcontroller.c:
659 Added code to fill the Accessibility_DeviceEvent key string value
660 member for global key events (i.e. from XGrabKey), to match
661 behavior of Accessibility_DeviceEvent from the toolkit key events
662 from the bridge. Fixed timestamp in global key event notifications.
665 Added printout of key event's string value to
666 report_ordinary_key_event, for demo/debugging purposes.
668 2001-12-15 Bill Haneman <bill.haneman@sun.com>
670 * idl/Accessibility_Registry.idl:
671 Removed Accessibility_KeyStroke structure in favor of generic
672 Accessibility_DeviceEvent structure.
673 Changed Accessibility_ControllerEventMask from a struct to an
676 * at-bridge/bridge.c:
677 Changed APIs to use DeviceEvent structure as above, and removed
678 bogus casting between these event structures.
680 * cspi/spi-listener.h:
681 Added keystring member of AccessibleKeystroke structure, to enable
682 matching on event "names" rather than only hardware codes and
686 Added keystrings member of AccessibleKeySet struct, to allow
687 matching on event names (as above).
688 Added declarations for SPI_createAccessibleKeySet and
689 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
690 event modmasks directly as unsigned ints rather than structs with
691 refcounts, in the DeviceEventController methods.
693 * cspi/spi_registry.c:
694 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
696 * cspi/spi-roletypes.h:
697 Added documentation of newly added SPI Roles.
699 * cspi/bonobo/cspi-bonobo-listener.c:
700 Changes in support of API changes above.
702 * libspi/accessible.c:
703 Converted APIs to use DeviceEvent structure (see IDL changes
706 * registryd/deviceeventcontroller.c:
707 Added DEControllerGrabMask structure to track keygrabs not only by
708 modmask but by keyset as well; this allows us to do "global"
709 (i.e. X) keygrabs on a per-key or keyset basis rather than always
710 grabbing on AnyKey and then filtering after-the-fact.
711 Bugfixes for event filtration mean that we don't get false matches
712 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
714 * registryd/deviceeventcontroller.c:
715 Namespaced a number of static methods to use spi_ prefix. Major
716 revision to internals of global (i.e. X) key grabs.
718 * registryd/deviceeventcontroller.h:
719 Removed keymask_list and added keygrabs_list to
720 SpiDeviceEventController struct.
723 Added use of SPI_createAccessibleKeySet API when creating a
724 listener for only one key. Attach a listener to "shift spacebar
725 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
726 X key event names to SPI key event names, so that listeners are
727 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
729 * test/keysynth-demo.c:
730 Changed (incorrect) use of X key event names (KeyPressed,
731 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
734 2001-12-12 Bill Haneman <bill.haneman@sun.com>
736 * libspi/accessible.c:
737 Convert all AtkRole enumerations to Accessibility_Role enums when
738 getting a role from an AtkObject.
740 * cspi/spi_accessible.c:
741 Complete the conversion of Accessibility_Role enums at runtime to
742 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
743 role enums correctly match those given in spi-roletypes.h.
744 Re-synchronize the local names list for AccessibleRole_getName ().
745 AccessibleRole_getName is now deprecated, since it duplicates the
746 more reliable Accessible_getRoleName.
747 Added some role types from Accessibility_Role.idl.
749 * idl/Accessibility_Role.idl:
750 Added some role types used by AtkRole.
752 2001-12-12 Bill Haneman <bill.haneman@sun.com>
755 * cspi/spi_registry.c:
757 * cspi/cspi-bonobo-listener.c:
758 Namespaced all methods that did not begin with an "SPI_" or
759 "Accessible" prefix to "SPI_".
762 Homogenized internal function namespace to "cspi_" for statics.
765 Patched tests to use the new CSPI API.
767 * docs/reference/cspi/at-spi-cspi-sections.txt:
768 Updated docs to reflect namespace changes, and added a number of
769 methods to the documentation.
771 * registryd/registry.c:
772 Changed use of strings and string hashes in listener event
773 matching and parse_event_string to use GQuark, which is guaranteed
776 * registryd/registry.h:
777 Squashed annoying warning.
779 * idl/Accessibility_Role.idl:
780 Extended range of available Accessibility_Role values.
782 * cspi/spi_accessible.c:
783 Re-ordered role names.
785 2001-12-12 Bill Haneman <bill.haneman@sun.com>
787 * idl/Accessibility_Value.idl:
788 Revert use of union back to CORBA_double, since the double type is
789 more efficient and can contain the other types without loss of
792 * idl/Accessibility_Accessible.idl:
793 Added method Accessibility:Accessible:getRoleName, to complement
794 Accessibility:Accessible:getRole.
796 * cspi/spi_accessible.c:
798 Added C binding for above, Accessible_getRoleName (), and changed
799 signature of Accessible_getRole () to return an AccessibleRole.
801 * cspi/spi-roletypes.h:
802 Changed AccessibleRole_getName to return a char * instead of a
803 const char *. This method is now at least temporarily deprecated
804 in favor of asking Accessibles for their RoleNames directly.
807 Revert to match Accessibility_Value.idl;
811 Change signature of AccessibleValue methods to use double rather
815 * cspi/spi_accessible.c:
816 Changed Accessible_getRole to return an AccessibleRole enum rather
817 than a UTF-8 string. The UTF-8 string can still be obtained via
818 AccessibleRole_getName ().
820 * test/test-simple.c:
821 Add test_action. Small fixup to match API change to Accessible_getRole.
824 Bugfix for get_action_from_servant ().
826 2001-12-11 Michael Meeks <michael@ximian.com>
828 * libspi/libspi.h: remove registry.h and
829 desktop.h, deviceeventcontroller.h
831 * libspi/Makefile.am: remove registry.[ch],
832 desktop.[ch], deviceeventcontroller.[ch]
834 * registryd/Makefile.am: add registry.[ch],
835 desktop.[ch], rename registryd.c to registry-main.c.
836 add deviceeventcontroller.[ch]
838 2001-12-11 Bill Haneman <bill.haneman@sun.com>
841 Replace setenv() call with putenv ().
843 * libspi/component.c:
844 Bugfix in AccessibleComponent_getExtents (),
847 2001-12-11 Michael Meeks <michael@ximian.com>
849 * libspi/image.c (impl_getImageExtents): impl.
850 (spi_image_class_init): upd.
853 (AccessibleImage_getImageDescription): fix daft bug
856 * test/test-simple.c (global_listener_cb): update
857 to only quit if not --poke
858 (main): catch --poke.
859 (validate_accessible): upd. dumping, call test_image
862 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
865 * idl/Accessibility.idl: update all IDL includes.
867 * idl/*.idl - rename to namespace - this sucks, blame
868 mjs' bad decision for oafd.
870 * test/test-simple.c (create_test_window): add more tests.
871 (create_tree): split this out.
872 (validate_accessible): bugfix.
874 2001-12-11 Michael Meeks <michael@ximian.com>
876 * cspi/bonobo/cspi-bonobo-listener.c:
877 (cspi_kestroke_listener_unref),
878 (cspi_event_listener_unref): impl. undoing previous
879 homenous environment - for Bill.
881 * cspi/spi_table.c (long_seq_to_array): use
884 * cspi/spi_main.c: split out all bonoboish bits into
887 * cspi/spi-impl.h: upd. typedefs.
889 * cspi/spi_registry.c: update to lowlevel API,
890 return booleans to indicate success in some places.
892 * cspi/spi_event.c: update to lowlevel API.
894 * cspi/bonobo/Makefile.am: add.
896 * cspi/bonobo/cspi-lowlevel.h: add
898 * cspi/bonobo/cspi-bonobo.c: add
900 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
902 * cspi/Makefile.am: remove spi-listener-impl.[ch],
903 (SUBDIRS): add bonobo, link in the libs.
905 * cspi/spi-util.c: kill this file.
907 * TODO: merge in my bits.
909 2001-12-11 Michael Meeks <michael@ximian.com>
911 * test/test-simple.c (test_value, test_table, main):
912 remove unused variables causing warnings.
914 * configure.in: cleanup checks - require gail.
916 2001-12-11 Bill Haneman <bill.haneman@sun.com>
919 Changed Value interface to use SValue (scalars) rather than
920 assuming all values are floats. This allows floats, doubles,
921 longs, shorts, and unsigned values to be manipulated.
922 Introduced Accessibility:SValue union.
925 Updated to use new API above, and to work correctly with GValues
926 of different types in AtkValue.
929 Updated to use new API above. cspi's API is as yet unchanged.
932 Updated the Value revision action item.
934 2001-12-10 Bill Haneman <bill.haneman@sun.com>
936 * test/test-simple.c:
937 Added test_table (GtkTreeView widget in test window to follow).
938 Un-commented test_value, added GtkRange widget.
939 Added GtkTreeView widget with GtkListStore. It passes regression
940 test but leaks one SPI object for some reason.
943 Fixed bug in impl__set_currentValue.
945 2001-12-10 Michael Meeks <michael@ximian.com>
947 * cspi/spi_text.c: audit for exception handling,
948 tolerating NULL object references safely etc.
950 * cspi/spi_value.c: ditto.
952 * cspi/spi_table.c (AccessibleTable_getSummary),
953 (AccessibleTable_getAccessibleAt),
954 (AccessibleTable_getRowHeader),
955 (AccessibleTable_getColumnHeader),
956 (AccessibleTable_getCaption): fix bugs hidden by
958 (long_seq_to_array): impl.
959 (AccessibleTable_getSelectedRows),
960 (AccessibleTable_getSelectedColumns): use it.
962 2001-12-10 Bill Haneman <bill.haneman@sun.com>
965 Added a TODO list (rough and short for now).
967 * cspi/spi_hyperlink.c:
968 * cspi/spi_hypertext.c:
969 Fixed macro name typos, and remove use of obsolete macro in
970 AccessibleHyperlink_getLink.
973 * cspi/spi_accessible.c:
974 * cspi/spi_application.c:
975 * cspi/spi_component.c:
976 * cspi/spi_selection.c:
979 Documentation fixes (removed return values from ref/unref methods).
981 2001-12-10 Michael Meeks <michael@ximian.com>
983 * cspi/spi_action.c: audit for exception handling,
984 tolerating NULL object references safely etc.
986 * cspi/spi_accessible.c: ditto.
988 * cspi/spi_component.c: ditto.
990 * cspi/spi_editabletext.c: ditto.
992 * cspi/spi_hyperlink.c: ditto.
994 * cspi/spi_hypertext.c: ditto.
996 * cspi/spi_image.c: ditto.
998 * cspi/spi_selection.c: ditto.
1000 2001-12-10 Michael Meeks <michael@ximian.com>
1002 * configure.in: use cspi/libspi.pc.in instead.
1004 * Makefile.am (pkgconfig_DATA): upd. to match.
1006 * test/simple-at.c (report_focus_event): kill hacks around
1007 bad return values, use putenv not setenv
1009 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
1010 fire ChildGone - I killed it.
1012 * libspi/component.c
1013 (impl_accessibility_component_get_extents): remove
1016 * idl/Accessible.idl: kill ChildGone exception.
1018 * cspi/*.[ch]: kill int return from ref / unref.
1020 * cspi/spi_main.c (cspi_object_add_check): fold into
1021 (cspi_object_add): here.
1023 * cspi/spi_component.c (AccessibleComponent_getExtents):
1024 handle exceptions elegantly.
1026 * cspi/spi-private.h (cspi_check_ev_return),
1027 (cspi_return_if_fail): impl.
1029 * cspi/spi_accessible.c: use extensively.
1030 (AccessibleStateSet_equals): add direct compare check.
1032 * cspi/spi_selection.c: tolerate NULL objs, and check
1033 exceptions before return.
1035 * cspi/spi-util.c (cspi_warn_ev): rename to
1036 (cspi_check_ev): this & don't pass ev in; no point.
1038 2001-12-10 Michael Meeks <michael@ximian.com>
1040 * test/test-simple.c: use putenv not setenv
1041 (get_environment_vars): more chatty if you're not using
1044 * test/simple-at.c: do the setenv so more people see the
1047 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1049 * libspi/registry.c:
1050 Changed check of CORBA_environment on notification to be a warning
1051 instead of an error for the moment, since we can recover from this
1052 error when caused by a queued notification from a dead app.
1055 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
1056 used by all current implementors of AtkValue), and coerce to
1057 CORBA_float. (Proper general case fix may require change to Value.idl).
1059 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1063 * cspi/spi_accessible.c:
1064 Documentation fixes: added user_data params to documentation for
1065 listeners and callbacks.
1067 * cspi/spi_accessible.c:
1068 Changed AccessibleStateSet_compare to return a
1069 StateSet rather than return the difference set into a third parameter.
1072 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1075 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
1076 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
1080 Remove subdirectory po from SUBDIRS for now.
1082 * at-bridge/bridge.c:
1083 Beefed up a couple of debug printouts.
1084 One-line fix for signal notification name formatting.
1086 * libspi/accessible.c:
1087 Added assertion to spi_accessible_new ().
1089 * libspi/application.c:
1090 Put #ifdef qualifiers around a printf.
1093 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
1095 * registryd/Makefile.am:
1097 Replaces use of XML_I18N_MERGE_SERVER_RULE with
1098 INTLTOOL_SERVER_RULE macro.
1101 Added an event listener for several ATK signals, for
1102 testing and debugging. Removed a few g_warnings.
1103 Added test output if focussed item implements the Value interface.
1105 * test/test-simple.c:
1106 Added test_value () function (known not to pass at the moment, so
1107 not actually called yet.
1109 2001-12-08 Michael Meeks <michael@ximian.com>
1111 * at-bridge/bridge.c (bridge_focus_tracker),
1112 (emit_eventv): fix the same ref. leak.
1113 (register_atk_event_listeners): don't leak.
1115 * cspi/spi-listener-impl.c (cspi_event): more
1116 protection from client code.
1118 * test/test-simple.c (test_desktop): unref the app.
1120 * test/Makefile.am: upd. TESTS.
1122 * at-bridge/bridge.c (bridge_exit_func): release the registry.
1124 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
1126 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
1128 * cspi/spi_registry.c: constify in strings.
1129 (deregisterGlobalEventListenerAll): don't release the ref.
1131 * cspi/spi.h: start removing redundant / conflicting
1132 gtkdoc comments, making the API readable at a glance :-)
1134 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
1136 * test/keysynth-demo.c (keysynth_exit, main): upd.
1138 * test/simple-at.c (main, simple_at_exit): upd.
1140 * test/test-simple.c (unutterable_horror): kill.
1141 (utterable_normal_derefs): kill.
1142 (main): upd & do a setenv before gtk_init, so that we
1143 can use memprof - and to save the pain of remembering
1144 this, if we're running under memprof - don't exit.
1146 * cspi/spi_main.c (SPI_exit): return exit status
1148 (SPI_event_quit): impl.
1149 (SPI_event_main): simplify.
1150 (cspi_is_gnome_app): kill.
1151 (SPI_init): kill isGNOMEapp arg.
1153 * at-bridge/bridge.c (register_atk_event_listeners):
1154 re-instate the unref.
1155 (bridge_exit_func): don't re-activate the registry,
1156 protect vs. theoretical re-entry, use the
1157 AT_BRIDGE_SHUTDOWN env. var to determine whether to
1158 assert a clean shutdown - for regression tests.
1160 2001-12-08 Abel Cheung <maddog@linux.org.hk>
1162 * configure.in: Comment out dummy i18n support for now,
1163 otherwise it fails to build.
1164 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
1165 EXTRA_DIST. They are missing in tarball.
1167 2001-12-07 Michael Meeks <michael@ximian.com>
1169 * util/magnifier.c: kill bonobo activation reg. race.
1171 * libspi/component.c
1172 (impl_accessibility_component_get_extents): make it match
1175 * libspi/registry.c (_registry_notify_listeners):
1176 re-remove X headers & reconcile conflicts.
1177 (spi_listener_struct_free): bad conflict resolve.
1178 (impl_accessibility_registry_register_application):
1179 more bad merging fixed.
1180 (impl_accessibility_registry_deregister_application): ditto.
1181 (spi_registry_new): ditto.
1182 (spi_registry_init): don't have an applications field.
1184 [ merge fixups2 branch to here ]
1185 2001-12-07 Michael Meeks <michael@ximian.com>
1187 * test/simple-at.c (report_focus_event),
1188 (report_focussed_accessible): remove g_warning debug.
1190 2001-12-07 Michael Meeks <michael@ximian.com>
1192 * test/test-simple.c (validate_tree): comment out some checks.
1193 (test_desktop): app now not registered idly - horay.
1195 2001-12-07 Michael Meeks <michael@ximian.com>
1197 * cspi/spi_registry.c
1198 (registerAccessibleKeystrokeListener): clean, stop it leaking
1199 great swathes of memory, and device event controller references.
1200 ensure we always pass valid sequences.
1201 (deregisterAccessibleKeystrokeListener): ditto.
1202 (generateKeyEvent): upd.
1204 * at-bridge/bridge.c (bridge_key_listener): handle
1205 registry dead exception gracefully.
1206 (bridge_focus_tracker, emit_eventv): free ev.
1208 * test/simple-at.c (report_focus_event): fix polarity.
1210 * libspi/application.c (notify_listeners): kill the ev
1211 argument, and make sure we init the ev we use.
1212 (spi_application_object_event_listener): split out a chunk
1213 (get_atk_object_ref): here & fixup.
1214 (reverse_lookup_name_for_toolkit_event): make const.
1215 (spi_application_toolkit_event_listener): fixup, kill leaks
1218 * at-bridge/bridge.c (register_atk_event_listeners):
1219 don't unref the noop object - causes grief.
1221 * libspi/registry.c: remove the X headers.
1222 turn off the debug churn.
1224 * libspi/accessible.c (spi_accessible_new_return): only
1225 release the ref if we are supposed to [doh]
1227 * test/simple-at.c (report_button_press, report_focus_event):
1228 guard vs. unexpected exit.
1230 * at-bridge/bridge.c (gtk_module_init): prune printf.
1231 (bridge_exit_func): fix app unref.
1233 * libspi/Makefile.am: don't install registry or desktop.h
1235 * libspi/*.h: update includes.
1237 * libspi/application.h: don't include ourself, or
1238 other redundant headers.
1240 2001-12-06 Michael Meeks <michael@ximian.com>
1242 * libspi/accessible.c
1243 (get_accessible_from_servant): impl.
1244 Upd. all CORBA impl.s to use it killing cut and paste.
1246 * cspi/spi_main.c (cspi_cleanup): guard vs. double
1248 (SPI_init): register atexit cleanup handler here.
1250 2001-12-06 Michael Meeks <michael@ximian.com>
1252 * at-bridge/bridge.c (gtk_module_init): g_error on
1253 activation exception
1255 2001-12-06 Michael Meeks <michael@ximian.com>
1257 * at-bridge/bridge.c (gtk_module_init): some sort of
1258 confusing merge clash - reverted.
1259 (bridge_idle_init): ditto.
1261 * test/test-simple.c (main, utterable_normal_derefs):
1262 merge from Bill - somehow not committed.
1264 2001-12-06 Michael Meeks <michael@ximian.com>
1266 * libspi/value.c (spi_value_class_init): upd.
1267 (spi_value_finalize): kill.
1269 * libspi/table.c (spi_table_finalize): kill.
1270 (spi_table_interface_new): upd.
1271 (spi_table_class_init): upd.
1272 (get_table_from_servant): impl.
1273 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1275 * libspi/selection.c (spi_selection_finalize): kill.
1276 (spi_selection_interface_new): upd.
1277 (spi_selection_class_init): upd.
1278 (get_selection_from_servant): impl.
1279 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1281 * libspi/relation.c (spi_relation_finalize): kill.
1282 (spi_relation_class_init, spi_relation_new): upd
1284 * libspi/image.c (spi_image_finalize): kill.
1285 (spi_image_class_init): upd.
1286 (spi_image_interface_new): upd.
1287 (get_image_from_servant): impl.
1288 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1290 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
1291 (spi_hyperlink_finalize): kill.
1292 (spi_hyperlink_new): upd.
1293 (get_hyperlink_from_servant): impl.
1294 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1296 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
1297 (spi_hypertext_finalize): kill.
1298 (spi_hypertext_class_init): upd.
1299 (get_hypertext_from_servant): impl.
1300 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1302 * libspi/editabletext.c (spi_editable_text_finalize): kill.
1303 (spi_editable_text_interface_new): upd.
1304 (get_editable_text_from_servant): impl.
1305 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1307 * libspi/text.c (get_text_from_servant): impl.
1308 All impls - update to use it killing more cut and paste,
1309 also fix bad string returns on duff args ( a somewhat
1310 impossible case to handle - but hey ).
1311 (spi_text_construct): impl.
1312 (spi_text_interface_new): upd.
1313 (spi_text_object_finalize): kill.
1315 * libspi/component.c
1316 (accessibility_component_object_finalize): kill.
1317 (spi_component_class_init): upd.
1318 (get_component_from_servant): impl. helper to kill cut & paste.
1319 (impl_accessibility_component_contains):
1320 (impl_accessibility_component_get_accessible_at_point):
1321 (impl_accessibility_component_get_position):
1322 (impl_accessibility_component_get_extents):
1323 (impl_accessibility_component_get_mdi_z_order):
1324 (impl_accessibility_component_get_layer):
1325 (spi_component_interface_new): upd.
1327 * libspi/action.c (spi_action_finalize): kill.
1328 (spi_action_class_init): upd. inherit from SpiObject.
1329 (spi_action_interface_new): upd.
1330 (get_action_from_servant): impl. helper to reduce cut & paste.
1331 (impl_getKeyBinding, impl_getName, impl_doAction),
1332 (impl_getDescription): Use it everywhere.
1334 * cspi/spi_main.c (get_live_refs): a pointer hash.
1335 (spi_object_hash, spi_object_equal): comment out.
1336 There are issues with CORBA object hashing that need
1339 * libspi/application.c (spi_application_init),
1340 (spi_application_new): upd.
1342 * libspi/accessible.c (spi_accessible_object_finalize): kill.
1343 (spi_accessible_class_init): upd.
1344 s/accessible/object/ in epv methods.
1346 2001-12-05 Bill Haneman <bill.haneman@sun.com>
1348 * at-bridge/bridge.c:
1349 Reorder the bridge initialization into the bridge gtk_module_init,
1350 an immediate call to bridge_register_app, and an idle_add for
1351 register_atk_event_listeners (the only code that *must* wait until
1352 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
1353 the activation, creates the application's Accessible object, and
1354 queues the bridge_idle_init function. Restored call to
1355 Accessibility_Registry_deregisterApplication().
1356 Prior to making this call we obtain a new reference to the
1357 registry, which is a temporary hack that helps us handle apps that
1358 shut down the bonobo mainloop before we get there.
1360 * libspi/registry.c:
1361 Fix string leakage in debug block, and don't segv if a an app
1362 dies before its event notifications have been propagated.
1365 Modify cspi_check_ev() to call g_warning() rather than g_error(),
1366 as stopgap measure until we get proper exception handling when
1367 objects die during or before interrogation.
1371 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
1372 Also changed default value of is_gnome_app to TRUE.
1375 * test/keysynth-demo.c:
1376 Changed use of SPI_init and SPI_event_main to reflect API change above.
1379 Made report_focus_event check the warning value from getName
1380 before reporting on focussed accessible; simplifies handling of
1381 notifications from dead objects.
1383 * test/test-simple.c: (Changes not in this patch since source is
1386 2001-12-05 Michael Meeks <michael@ximian.com>
1388 * registryd/registryd.c (main): protect against
1389 bonobo-activation startup race condition.
1391 * cspi/spi_main.c (cspi_object_add_check): cope
1392 with the exception elegantly.
1394 * idl/Accessible.idl: decl. ChildGone
1396 * libspi/desktop.c (spi_desktop_dispose): impl.
1397 (spi_desktop_class_init): upd.
1398 (spi_desktop_add_application),
1399 (spi_desktop_remove_application),
1400 (abnormal_application_termination): impl.
1401 (impl_desktop_get_child_at_index): re-impl.
1404 (impl_accessibility_registry_deregister_application),
1405 (impl_accessibility_registry_register_application):
1406 kill excessive debug clutter.
1408 * test/test-simple.c (test_misc): test some NULL
1409 tolerance. (main): upd.
1411 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
1412 implements no interfaces - so let's not crash.
1414 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
1416 * libspi/accessible.c (spi_accessible_new_return): impl.
1417 helper to calm the cut and paste, to cope with
1418 NULL AtkObjects effectively and efficiently, and to kill
1419 the referencing bugs.
1421 * libspi/table.c (impl_getAccessibleAt),
1422 (impl_getRowHeader, impl_getColumnHeader): upd.
1424 * libspi/hyperlink.c (impl_getObject): upd.
1426 * libspi/accessible.c
1427 (impl_accessibility_accessible_get_child_at_index): upd.
1429 * libspi/component.c
1430 (impl_accessibility_component_get_accessible_at_point): upd.
1432 * test/test-simple.c (test_editable_text, test_text): impl.
1435 * cspi/spi_editabletext.c
1436 (AccessibleEditableText_insertText): constify.
1438 * test/test-simple.c (focus_me): make more robust.
1440 * libspi/accessible.c: remove some printfs in methods that
1441 we test and work fine, so we can get a clean tree dump.
1443 * test/test-simple.c (validate_accessible),
1444 (validate_tree): make tree dumping pretty too.
1446 * at-bridge/bridge.c (bridge_signal_listener): upd. so
1447 it builds without debug on.
1449 * test/test-simple.c (validate_accessible): fix the most
1452 * cspi/spi_main.c (spi_object_release): leave the nicely
1453 blanked memory around if in debug mode.
1455 * cspi/spi-listener-impl.c (cspi_event): use add_check.
1457 [committed to fixups2]
1458 2001-12-05 Michael Meeks <michael@ximian.com>
1460 * libspi/editabletext.c
1461 (spi_editable_text_class_init): g_type_class_peek_parent,
1462 not interface peek - so we finalize cleanly.
1464 * libspi/accessible.c (spi_accessible_new): kill debug.
1466 * test/test-simple.c (validate_accessible): fix ref.
1467 leak, print strings before freeing them; sigh, comment a
1468 chunk out due to strangeness.
1469 (validate_tree): unref the child after use.
1471 * cspi/spi_component.c (AccessibleComponent_getLayer):
1472 add missing break statement, switch on zlayer not the
1473 uninitialized retval.
1475 * cspi/spi_main.c (cspi_object_add): add assert, local ref
1476 before (possibly re-entering) remote unref.
1478 * test/simple-at.c (main): unref the desktop.
1480 * cspi/spi_accessible.c (cspi_accessible_is_a): move
1483 * cspi/spi_main.c (cspi_accessible_is_a): here to
1484 isolate bonobo API usage more.
1486 * libspi/registry.c (impl_accessibility_registry_register_application):
1487 prune bogus comment.
1489 2001-12-04 Michael Meeks <michael@ximian.com>
1491 * test/test-simple.c (validate_tree): upd.
1492 IndexInParent check to make it more lucid.
1493 (validate_accessible): dump the tree.
1495 * libspi/accessible.c (de_register_public_ref),
1496 (get_public_refs): impl.
1497 (spi_accessible_new): make more efficient & intuitive.
1498 Now IndexInParent check works.
1500 2001-12-04 Michael Meeks <michael@ximian.com>
1502 * cspi/spi-util.h: remove.
1504 * cspi/spi.h: move SPI_freeString here
1506 * libspi/component.c (impl_accessibility_component_get_layer):
1508 (impl_accessibility_component_get_mdi_z_order): ditto,
1509 return -1 on error - is this ok ?
1511 * test/test-simple.c (test_application): impl.
1513 * cspi/spi_accessible.c (Accessible_getApplication),
1514 (Accessible_isApplication): impl.
1516 * libspi/registry.c (spi_listener_struct_free): release
1517 the CORBA reference too.
1519 * libspi/accessible.c
1520 (impl_accessibility_accessible_get_parent): fix ref leak.
1522 * libspi/registry.c (spi_registry_new): make the registry
1523 immortal - we don't want it to go away ever.
1525 * libspi/application.c
1526 (spi_accessible_application_finalize): impl. cleanup.
1528 * cspi/spi_registry.c
1529 (deregisterGlobalEventListenerAll),
1530 (deregisterGlobalEventListener),
1531 (deregisterAccessibleKeystrokeListener): fix ref leak.
1533 * cspi/spi_main.c (SPI_init): remove redundant ref.
1535 * test/test-simple.c (unutterable_horror): impl. to force a
1540 (impl_accessibility_registry_deregister_application): release
1541 the application when we de-register it.
1543 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1544 until we have the infastructure to get it right.
1546 2001-12-03 Michael Meeks <michael@ximian.com>
1548 * libspi/Makefile.am: only build eventlistener.[ch]
1550 * libspi/accessible.c
1551 (impl_accessibility_accessible_get_child_at_index): don't leak.
1553 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1554 before we hit the idle handler.
1556 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1557 debugging than exit.
1559 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1561 * libspi/listener.c (impl_notify_event): check source
1562 not NIL before unref.
1564 * libspi/registry.c (impl_registry_notify_event): ditto.
1566 * libspi/eventlistener.c
1567 (impl_accessible_event_notify_event): unref the source.
1569 * libspi/accessibleeventlistener.c
1570 (impl_accessible_event_notify_event): unref the source.
1572 * idl/Event.idl: remove 'hash_id' attribute - of no
1575 * libspi/application.c (notify_listeners): upd list
1577 (spi_application_object_event_listener),
1578 (spi_application_toolkit_event_listener): upd to do correct
1582 (_registry_notify_listeners): update.
1583 (parse_event_type): this method also leaks like a sieve.
1584 (impl_accessibility_registry_deregister_global_event_listener):
1585 fix ETYPE_WINDOW case.
1587 * libspi/application.c
1588 (impl_accessibility_application_register_object_event_listener):
1591 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1593 * libspi/hypertext.c (impl_getLink): ditto.
1595 * cspi/spi_main.c (cspi_object_add): remove
1596 bogus CORBA_Object_duplicate.
1598 * cspi/spi-listener-impl.c (cspi_event): dup/ref
1601 * cspi/spi_accessible.c
1602 (Accessible_getRelationSet): fix leak / referencing issue.
1604 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1605 (cspi_object_add, cspi_object_unref): upd.
1606 (spi_object_release, get_live_refs): impl.
1607 (cspi_cleanup): simplify.
1609 * *.[ch]: s/boolean/SpiBoolean/
1611 * cspi/spi_accessible.c (role_names): actualy order so it
1612 corresponds with the enum !
1614 * test/test-simple.c (test_roles): check some role strings
1615 vs. enums to detect offset errors.
1617 2001-12-01 Michael Meeks <michael@ximian.com>
1619 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1621 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1623 (Accessible_getChildAtIndex): use cspi_add_check so we
1624 check the ev before using a (possibly) invalid value.
1626 * libspi/accessible.c
1627 (impl_accessibility_accessible_get_parent): don't segv
1630 * at-bridge/bridge.c (gtk_module_init): upd.
1631 (bridge_property_event_listener): don't leak strings
1633 (bridge_state_event_listener),
1634 (bridge_property_event_listener): don't use a static
1635 buffer in case of recursive event emission &
1636 re-enterancy - split out the swathe of cut and paste
1638 (emit_eventv): and fix 2 ref leaks here & comply to the
1640 (bridge_register_app): rename to
1641 (bridge_idle_init): this and kill arg parsing, split
1642 various inits & bonobo-activation registration to module
1643 init time, kill referencing error.
1644 (bridge_exit_func): fix the same leak.
1645 (bridge_focus_tracker): don't leak event structures
1647 (bridge_signal_listener): more leakage and cut & paste
1649 (bridge_key_listener): return the result - FIXME is
1650 this polarity correct ?
1651 (accessibility_keystroke_from_atk_key_event): rename
1652 (accessibility_init_keystroke_from_atk_key_event): and stop
1654 (gtk_module_init): return a value - not that it is checked by
1656 (bridge_key_listener): register my horror at casting between
1657 IDL defined structs.
1658 (bridge_get_registry): kill - not used.
1660 * cspi/spi_accessible.c (Accessible_getRole): make return const.
1662 * test/test-simple.c (test_roles): impl.
1663 (test_desktop, validate_accessible, validate_tree): impl.
1665 * cspi/spi_accessible.c (role_names): fixup bogus
1666 MAX_ROLES setup, make constants const for efficient linkage
1667 (AccessibleRole_getName): conform to coding style, make
1670 2001-11-30 Michael Meeks <michael@ximian.com>
1672 * cspi/spi.h: add missing prototype.
1674 * libspi/registry.c (spi_listener_struct_new): fix sig.
1676 * test/Makefile.am: add test-simple
1678 * test/test-simple.c: add
1680 * test/test.sh: add.
1682 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1684 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1685 do it straight - since otherwise we often get an activation race.
1687 [ work before Bill duplicated a chunk of it ... ]
1688 2001-11-30 Michael Meeks <michael@ximian.com>
1690 * libspi/keystrokelistener.c
1691 (spi_keystroke_listener_class_init): fixup arg
1694 * libspi/eventlistener.c
1695 (spi_event_listener_class_init): ditto.
1697 * tests/test.sh: add.
1699 * cspi/spi-listener-impl.h: update macros.
1701 * cspi/spi-listener-impl.c
1702 (cspi_event_listener_remove_callback): add
1703 correct pre-conditions.
1705 * cspi/spi_main.c (SPI_exit): guard vs. double
1706 exits, exit the mainloop nicely.
1707 (SPI_event_main): make more sense.
1708 (SPI_init): move the atexit evilness here so we
1709 always do it (yuck).
1710 (SPI_event_main): upd.
1712 * test/simple-at.c: update for listener changes.
1714 * registryd/registryd.c (main): prune kruft.
1716 * libspi/libspi.h: upd.
1718 * libspi/eventlistener.[ch]: rename broken macros.
1720 * libspi/accessibleeventlistener.[ch]: remove.
1722 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
1724 * test/test-simple.c: Add - automated tests.
1726 * cspi/spi-listener-impl.c (cspi_event),
1727 (cspi_key_event): add user_data to invoke.
1728 (cspi_keystroke_listener_finalize): impl.
1729 (cspi_keystroke_listener_class_init): upd.
1732 (createAccessibleEventListener),
1733 (AccessibleEventListener_addCallback),
1734 (createAccessibleKeystrokeListener),
1735 (AccessibleKeystrokeListener_addCallback): upd.
1737 * libspi/deviceeventcontroller.c
1738 (spi_device_event_controller_check_key_event): add public proto.
1741 (impl_accessibility_registry_deregister_global_event_listener):
1742 always init listeners.
1743 (_registry_notify_listeners): yes it is.
1745 * cspi/spi-listener-impl.c (cspi_key_event):
1747 (cspi_event_listener_finalize): impl.
1748 (cspi_event_listener_class_init): hook up.
1749 (event_handler_new, event_handler_free),
1750 (event_list_remove_by_callback): impl.
1751 (cspi_event_listener_remove_callback),
1752 (cspi_keystroke_listener_remove_callback),
1753 (cspi_keystroke_listener_add_callback),
1754 (cspi_event_listener_add_callback): upd.
1756 * libspi/keystrokelistener.c
1757 (keystroke_listener_object_finalize): kill
1758 (spi_keystroke_listener_class_init): upd.
1759 (spi_keystroke_listener_add_callback),
1760 (spi_keystroke_listener_remove_callback): kill,
1762 (impl_key_event): prune drasticaly.
1764 * libspi/eventlistener.c
1765 (spi_event_listener_add_callback),
1766 (spi_event_listener_remove_callback): kill, use
1768 (impl_accessible_event_notify_event): upd.
1769 (spi_event_listener_object_finalize): remove.
1771 * libspi/Makefile.am: use eventlistener.[ch]
1773 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1775 * libspi/registry.c (_registry_notify_listeners):
1776 Changed listener loop iteration to use preferred convention.
1777 Got rid of string memory leaks caused be calling g_strconcat
1778 inside function calls.
1780 * libspi/registry.c (parse_event_type):
1781 Stopped g_strconcat memory leaks, free the g_strsplit return,
1782 g_strdup the split pieces when used, etc.
1784 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1787 Change method 'compare' to return a 'difference set' rather than
1788 taking a StateSet as an out parameter (more Java-friendly).
1790 * idl/Accessible.idl:
1791 Added CORBA struct 'BoundingBox', to faciliate API changes below:
1793 * idl/Component.idl:
1795 Changed methods 'getExtents' and 'getImageExtents' in these
1796 interfaces to return a BoundingBox structure.
1797 (getPosition and getSize are redundant and possibly should be
1798 removed, rather than creating a corresponding Point struct.)
1800 * cspi/spi_component.c:
1801 Modify implementation of getExtents to reflect the above IDL
1806 Add (missing) AccessibleImage_getExtents () API.
1808 * docs/reference/cspi/at-spi-cspi-sections.txt:
1809 Added AccessibleImage_getImageExtents () to docs.
1811 2001-12-03 Bill Haneman <bill.haneman@sun.com>
1813 * idl/Component.idl:
1814 Added two methods, getLayer () and getMDIZOrder (), to reflect
1815 the new ATK methods atk_object_get_layer and
1816 atk_object_get_mdi_z_order. (Which arguably should be part of the
1817 AtkComponent API and AtkObject). Also added an enum,
1818 ComponentLayer, for the first method's return value.
1820 * libspi/component.c:
1821 Added implementations for these methods.
1823 * cspi/spi_component.c:
1825 Added cspi binding methods for above,
1826 AccessibleComponent_getLayer() and
1827 AccessibleComponent_getMDIZOrder().
1828 Added cspi enum 'AccessibleComponentLayer'.
1830 * docs/reference/cspi/at-spi-cspi-sections.txt:
1831 Added above methods to docs.
1835 Changed typedef for 'boolean' type (and all references to it) to
1836 SPIBoolean, to avoid keyword clashes with C++.
1839 Changed usages of 'boolean' to SPIBoolean.
1841 * test/keysynth-demo.c:
1842 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
1843 app), except where SPIBoolean is required by the callbacks API.
1845 2001-12-02 Bill Haneman <bill.haneman@sun.com>
1847 * cspi/spi_registry.c:
1848 Removed obsolete X event loop for passive keygrabs (which now
1851 * registryd/registryd.c:
1852 Removed unnecessary call to gdk_init() [cruft]. This also allows
1853 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
1856 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1858 * docs/reference/cspi:
1859 Included docs for SPI_freeString in generated documentation.
1862 Renamed spi_freeString to SPI_freeString, for consistency. Added
1863 documentation for this function.
1866 Renamed spi_freeString to SPI_freeString, for consistency.
1867 Removed obsolete method declaration string_from_corba_string.
1869 * test/keysynth-demo.c:
1870 Small tweak to comments.
1873 Stopped leaking the strings returned from CSPI.
1875 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1877 Merged Michael's branch (see his ChangeLog entries below).
1879 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
1880 bridge is alive, release on exit.
1882 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
1883 Fix type check macro.
1886 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
1889 Added is_gnome_app static, and method cspi_is_gnome_app(),
1890 so we can call the appropriate shutdown routine at exit in SPI_exit.
1892 * cspi/spi_main.c (cspi_object_ref):
1893 Duplicate the corba object passed in, since we're keeping it around.
1895 * cspi/SPI_exit.c, cspi_cleanup:
1896 Moved the releasing of the live refs to its own function, so we
1897 can put it in g_atexit (). Call the appropriate shutdown API
1898 depending on whethe calling client is a gnome app or not
1899 (bonobo_main_quit or CORBA_ORB_shutdown).
1901 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
1902 Unref the listener when this method is called, after
1903 deregistration. Updated the API docs to note this behavior.
1905 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
1906 Bugfixes: Ref the bonobo object when returning a parent or child
1907 reference, or an AccessibleRelation. Generally made sure
1908 BonoboObject refcount is incremented whenever we return an
1911 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
1912 Fixed typo/bug in signal declaration.
1914 * libspi/accessibleeventlistener.h:
1917 * libspi/application.c (spi_application_new):
1918 Fixed leak in initialization.
1921 Remembered to increment bonobo-object refcount when returning
1922 children (applications) from desktop object.
1923 Added (empty) finalize method.
1925 * libspi/deviceeventcontroller.c:
1926 Hold a ref to listeners inside DEControllerKeyListeners.
1927 Added dec_key_listener_free() method. Use prepend instead of
1928 append in key_listener list. Fixed some refcount madness and
1929 leaks in the listener registration/deregistration - deregistration
1930 now calls dec_key_listener_free() on listeners, and on the
1931 temporarily constructed dec_key_listener() used to perform the search/match.
1933 * libspi/hypertext.c (spi_hypertest_finalize):
1934 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
1935 class. Also fixed spi_hypertext_interface_new() and
1936 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
1938 * libspi/hypertext.h:
1939 Removed pointless and duplicate AtkObject pointer from
1942 * libspi/keystrokelistener.c:
1943 Fixed incorrect type of keystroke_listener_parent_class,
1944 renamed keystroke_listener_object_finalize to
1945 spi_keystroke_listener_object_finalize.
1946 Fixed typo in signal declaration
1947 (spi_keystroke_listener_class_init).
1949 * libspi/registry.c:
1950 Added funcsions spi_listener_struct_new() and
1951 spi_listener_struct_free() to help with memory management issues.
1952 We also now use these methods instead of gnew + poking stuff into
1953 the struct, and to decrement listener counts/free the listeners
1954 when deregistering them.
1955 Fix more refcount bugs in getDesktop() and
1956 getDeviceEventController().
1959 De-ref the desktop after enumerating the applications. Explicitly
1960 decrement the refcounts on the created listeners on exit (using
1961 _unref for keystroke listeners, and via the
1962 deregisterGlobalEventListenerAll command for other event
1965 2001-11-27 Michael Meeks <michael@ximian.com>
1967 * cspi/spi-listener.h: fixup enum.
1969 2001-11-27 Michael Meeks <michael@ximian.com>
1971 * cspi/spi-listener-impl.c (cspi_event_listener_new),
1972 (cspi_keystroke_listener_new): Use the cspi variants.
1974 2001-11-26 Michael Meeks <michael@ximian.com>
1976 * test/keysynth-demo.c: fix 2 compile warnings, missing
1979 * test/simple-at.c (report_focussed_accessible),
1980 (report_focus_event, report_button_press),
1981 (check_property_change, is_command_key),
1982 (report_ordinary_key_event, report_command_key_event): upd.
1984 * util/mag_client.h: include pre-requisites.
1986 * libspi/accessibleeventlistener.c
1987 (spi_event_listener_object_finalize): free any lingering
1990 * libspi/keystrokelistener.c
1991 (keystroke_listener_object_finalize): ditto.
1993 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1994 callbacks, with cspi types.
1996 * cspi/spi_event.c (createAccessibleEventListener): chain to
1997 (AccessibleEventListener_addCallback): here.
1998 (createAccessibleKeystrokeListener): chain to
1999 (AccessibleKeystrokeListener_addCallback): here.
2001 * libspi/keystrokelistener.c
2002 (spi_keystroke_listener_class_init): add signal.
2003 (impl_key_event): emit the event.
2004 (boolean_handled_accumulator): impl.
2005 (marshal_BOOLEAN__POINTER): add, gack.
2007 * libspi/accessibleeventlistener.c
2008 (spi_event_listener_class_init): add signal.
2009 (impl_accessible_event_notify_event): emit the signal &
2010 make the loop efficient.
2011 (spi_event_listener_add_callback): prepend the callback.
2013 * libspi/accessibleeventlistener.h: add an 'event' signal,
2014 decl type on callback.
2016 * libspi/keystrokelistener.h: ditto.
2018 * cspi/spi-listener.h: make methods typesafe and
2019 make them use the new event typedefs.
2021 * test/simple-at.c (report_focussed_accessible):
2022 include mag_client.h
2023 Use *(void *)text_interface not the other thing.
2025 * configure.in: add gtk to registryd bits - since we use
2028 * util/magnifier.c: include libbonobo.h
2030 2001-11-25 Bill Haneman <bill.haneman@sun.com>
2032 * test/keysynth-demo.c:
2033 Turned this into a simple scanning keyboard, to demonstrate the
2034 use of g_timeout_add () as a means of creating timers for
2035 scanning, and the use of GtkStyle for visually indicating when
2036 virtual keyboard elements are selected.
2038 keysynth-demo now listens to any keyboard keys with zero-valued
2039 keycodes (i.e. 'unused' keys) and interprets them as
2042 Reworked the shiftlatch code so that shift-down state isn't held
2043 for long periods (it's only synthesized immediately prior to
2044 the keysynth event it's modifying). Note that shiftlatch in this
2045 demo is a convenience, not intended to take the place of AccessX
2046 which is the better choice for getting 'sticky' modifier keys.
2048 * libspi/deviceeventcontroller.c:
2049 * at-bridge/bridge.c:
2050 * cspi/spi_registry.c:
2051 Removed some debug print stuff, and put other verbosity in #ifdef
2056 Implemented some more of the magnifier IDL for the simple
2057 magnifier: namely, getZoomRegionParams.
2058 Added mag_x and mag_y members to MagnifierData struct, aid of this
2060 Added GtkWindow::realize signal handler to magnifier, to keep it
2061 from receiving keyboard focus from the WM.
2063 2001-11-23 Mark McLoughlin <mark@skynet.ie>
2065 * cspi/spi-private.h: my guess at what michael forgot
2066 before he ran off to NZ :-)
2068 2001-11-23 Michael Meeks <michael@ximian.com>
2070 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
2071 comment out non existant method invoke so we link.
2073 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
2074 use bonobo_exception_get_text for more friendly warnings.
2076 * cspi/spi.c (Obj_Add): move into spi_main & rename
2077 spi_object_add; kill spi.c
2079 * cspi/spi_registry.c
2080 (deregisterGlobalEventListener),
2081 (deregisterGlobalEventListenerAll),
2082 (registerGlobalEventListener): fix exception leaks.
2084 * cspi/spi_main.c (spi_exception): impl. helper, so we
2085 don't leak exceptions.
2087 * cspi/spi_selection.c
2088 (AccessibleSelection_deselectSelectedChild): return the
2091 * cspi/spi_main.c (spi_ev): impl; hack - gack.
2092 (spi_registry): ditto.
2093 (SPI_init): guard against double inits.
2095 * cspi/*.c: use spi_ev (), and spi_registry () where
2096 appropriate - a temporary hack until we have something
2097 better. Use spi_object_add
2099 2001-11-22 Michael Meeks <michael@ximian.com>
2101 * cspi/Makefile.am: re organise, install the headers.
2103 * cspi/*.h: add G_BEGIN/END_DECLS
2105 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2108 Added non-preemptive keylistener for key events with no modifiers
2109 and shift-only modifier.
2111 * libspi/keystrokelistener.c:
2112 Removed some verbose diagnostics printout.
2114 * cspi/spi_registry.c:
2115 Fixed a bug that caused all key listeners to be registered as
2118 * libspi/deviceeventcontroller.c:
2119 Fixed bug that caused XGrabKey (preemptive key grab) to be called
2120 for non-preemptive key masks.
2123 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2125 * docs/reference/idl/at-spi-idl-docs.sgml:
2126 * docs/reference/idl/at-spi-idl-sections.txt:
2127 * docs/reference/idl/at-spi-idl-overrides.txt:
2128 Added missing files.
2130 * docs/reference/Makefile.am:
2131 removed idl from SUBDIRS until we can figure a way to get gtk-doc
2132 to scan the IDL files :-(
2137 Added .cvsignore files.
2139 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2141 * libspi/deviceeventcontroller.c:
2142 * libspi/keystrokelistener.c:
2144 * cspi/spi_registry.c:
2145 Added filters for KeySets, KeyEventSeq, and event types to key
2146 event dispatching, so listeners should only receive those events
2147 that they requested :-)
2149 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2154 * docs/reference:Makefile.am:
2155 * docs/reference/cspi:
2156 * docs/reference/cspi:Makefile.am:
2157 * docs/reference/cspi:tmpl:
2158 * docs/reference/cspi:tmpl:*.sgml:
2159 * docs/reference/idl:
2160 * docs/reference/idl:Makefile.am:
2161 * docs/reference/idl:at-spi-idl-sections.txt:
2162 * docs/reference/idl:at-spi-idl-docs.sgml:
2163 * docs/reference/idl:tmpl:
2164 * docs/reference/idl:tmpl:*.sgml:
2166 Restructured docs directory to allow separate 'reference' docs
2167 section, and forked idl and cspi docs. Added the sgml template
2168 files to CVS. Added the first sections/structural sgml for the
2171 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
2173 * configure.in, libspi/Makefile.am: find libXtst.
2175 2001-11-21 Michael Meeks <michael@ximian.com>
2177 * test/accessx-gui.c: s/spi_value/value/ - doh.
2179 * libspi/base.[ch]: add.
2181 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2183 * idl/Accessible.idl:
2184 * idl/Application.idl:
2187 Started gtk-doc cleanup on IDL.
2189 * libspi/deviceeventcontroller.c:
2190 Added and connected non-preemptive key notification from the
2191 toolkits (in addition to the pre-emptive support from XServer
2192 which we had before, but which causes 'focus flashing'). Filters
2193 are presently limited to key modifiers and global/non-global,
2194 KeySets are presently ignored, as are KeyEvent masks.
2196 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
2197 structs into the persistant structure rather than just storing
2198 pointers to things that might not persist across servant
2201 The XGrabKey call now does async keygrabs, because synchronous
2202 ones were deadlocking with GDK_event code in a very nasty way.
2204 Added boolean to internal method notify_keylisteners, to indicate
2205 whether the event came from the 'toolkit source' or the 'global
2206 (XServer) source' - this is used in the notification process to
2207 determine which listeners to send the event to.
2209 deviceeventcontroller.c is now warning-free.
2211 * libspi/registry.c:
2212 Fixed regression in application de-registration.
2213 Also fixed some really brain-dead weirdness having to do with
2214 event dispatching - event structs are now duplicated before being
2215 re-marshalled in the dispatch to listeners. This also fixes a
2216 Solaris build problem.
2219 2001-20-11 Michael Meeks <michael@ximian.com>
2222 (impl_accessibility_registry_deregister_global_event_listener):
2225 * libspi/deviceeventcontroller.c
2226 (spi_device_event_controller_check_key_event): return
2227 FALSE on no virtual method.
2229 * libspi/*..h: make includes work on a correctly pathed install.
2231 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
2233 * libspi/application.h: kill unused ( and whacked out )
2234 gboolean *spi_application_set_id (AtkObject *app, long id);
2236 2001-20-11 Michael Meeks <michael@ximian.com>
2238 * libspi/*.[ch]: further convert to bonobo's type func
2239 macros, remove redundnant casts etc.
2241 * libspi/text.c s/accessibility_text/spi_text/g,
2242 re-order to de-cruft.
2244 * libspi/hypertext.c: re-order to kill a huge slew
2245 of redundant forward decls.
2247 * libspi/relation.c: ditto.
2249 * libspi/image.c: ditto.
2251 * */.cvsignore: update
2253 2001-20-11 Michael Meeks <michael@ximian.com>
2255 * libspi/deviceeventcontroller.c
2256 (_controller_register_with_devices): use g_getenv,
2257 kill stdlib.h include.
2259 * libspi/keystrokelistener.c
2260 (spi_keystroke_listener_get_type): kill
2261 (spi_keystroke_listener_class_init),
2262 (spi_keystroke_listener_init): rename to this.
2264 * libspi/text.c (impl_getAttributes): fix warning / bug.
2266 * libspi/*.[ch]: more headers, includes and over commenting.
2268 2001-20-11 Michael Meeks <michael@ximian.com>
2270 * libspi/*.[ch]: fixup headers, includes and over commenting.
2272 * libspi/image.c (impl__get_imageDescription): const
2273 correctness warning fix. remove redundant casting.
2275 * libspi/table.c (impl_getRowDescription): ditto.
2276 (impl_getColumnDescription): ditto.
2278 * libspi/libspi.h: add.
2280 2001-19-11 Michael Meeks <michael@ximian.com>
2282 * libspi/editabletext.c (impl_setAttributes): fix warnings.
2284 * libspi/component.c (accessibility_component_get_type):
2285 rename to (spi_component_get_type): and macroify.
2286 (accessibility_component_init): rename to
2287 (spi_component_init): this
2288 (accessibility_component_class_init): rename to
2289 (spi_component_class_init): this
2291 * libspi/action.c (spi_action_get_type): kill, use the macro.
2293 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
2296 * libspi/application.c (spi_application_object_event_listener),
2297 (impl_accessibility_application_register_object_event_listener):
2298 warning fixes / const understanding updates.
2300 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
2303 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2305 * libspi/spi_accessible.c: Added docs and C bindings for
2306 AccessibleStateSet. (No implementations yet). Documentation
2307 coverage for C bindings now 100%. Made docs for event listeners
2312 boolean notifyListenersSync (in DeviceEventListener listener,
2313 in DeviceEvent event);
2315 oneway void notifyListenersAsync (in DeviceEventListener listener,
2316 in DeviceEvent event);
2318 Added DeviceEventListener and DeviceEvent structs (may deprecate
2319 KeyStroke and KeystrokeListener in favor of this generic
2320 event/listener framework for devices).
2322 * libspi/deviceeventcontroller.c:
2324 Changed some key listener code to take masks, etc., and paved the
2325 way for integration of toolkit/non-preemptive key events. Changed
2326 signatures of some internal methods.
2328 * at-bridge/bridge.c:
2329 Fixed regression connecting to interface signals, apparently
2330 caused by GTK+ changes.
2332 Added an internal bridge_state_listener to deal with
2333 property-change:accessible-state signals.
2335 Changed the key_listeners GList to store structs (including masks,
2336 etc.) instead of just CORBA_Objects (required for full
2337 implementation of key listener API).
2339 Connected the bridge to all currently supported Atk signals.
2340 Events now supported:
2341 object:property-change
2342 object:property-change:accessible-name
2343 object:property-change:accessible-state
2344 object:property-change:accessible-description
2345 object:property-change:accessible-parent
2346 object:property-change:accessible-value
2347 object:property-change:accessible-role
2348 object:property-change:accessible-table-caption
2349 object:property-change:accessible-table-column-description
2350 object:property-change:accessible-table-column-header
2351 object:property-change:accessible-table-row-description
2352 object:property-change:accessible-table-row-header
2353 object:property-change:accessible-table-summary
2354 object:children-changed
2355 object:visible-data-changed
2356 object:selection-changed
2357 object:text-selection-changed
2359 object:text-caret-moved
2361 object:row-reordered
2363 object:column-inserted
2364 object:column-reordered
2365 object:column-deleted
2366 object:model-changed
2368 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2370 * libspi/hyperlink.c,h:
2371 Fixed some broken stuff in hyperlink.
2373 * libspi/relation.h:
2374 * libspi/relation.c:
2375 * cspi/spi_accessible.c:
2376 Initial implementations of AccessibleRelation methods, and docs.
2378 * libspi/accessible.c:
2379 Fixed a bug that caused SEGV if an accessible
2380 object's description is NULL, and a client
2381 requests it. An empty string is now returned.
2383 * cspi/spi_editabletext.c:
2384 * cspi/spi_hypertext.c:
2386 * cspi/spi_hyperlink.c:
2390 Doc coverage now 95%.
2392 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2394 One last namespacing revision:
2395 * libspi/accessibleeventlistener.[ch]:
2396 Renamed SpiAccessibleEventListener to SpiEventListener,
2397 (no need for two namespaces ;-)
2399 And lots of documentation fixes:
2401 * docs/at-spi-docs.sgml:
2402 Fixed 'underscore vs. hyphen' bug that was preventing
2403 the gtk-doc API docs from being automatically generated.
2406 * cspi/spi-listener.h
2408 * cspi/spi_accessible.c
2410 * cspi/spi_application.c
2411 * cspi/spi_component.c
2412 * cspi/spi_editabletext.c
2414 * cspi/spi_hypertext.c
2416 * cspi/spi_registry.c
2417 * cspi/spi_selection.c
2421 * docs/at-spi-docs.sgml
2422 * docs/at-spi-sections.txt
2424 Added and fixed up gtk-doc documentation in cspi.
2426 Interfaces now (fully) documented (subject to revision and enhancement):
2428 Event Listener Support
2430 AccessibleApplication
2434 AccessibleEditableText
2441 AccessibleRelationSet
2446 2001-14-11 Bill Haneman <bill.haneman@sun.com>
2448 * at-bridge/bridge.c:
2449 Initial work for toolkit-level key snooper connection by bridge.
2454 New typedefs and fixes to support new namespacing, and cleaner
2455 separation of cspi bindings from libspi bonobo implementation.
2456 Removed inconsistent and extraneous Spi* namespace prefix that
2457 had crept into cspi headers.
2458 Lots of comment fixes that sed had missed.
2460 * cspi/spi-roletypes.h:
2461 * cspi/spi-statetypes.h:
2462 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
2463 to AccessibleRoleType.
2465 * libspi/accessibleeventlistener.h:
2466 Fixed minor namespacing weirdness.
2468 * libspi/deviceeventcontroller.c:
2469 Reordered some internal API for device listeners.
2470 Changed the key registry final boolean to 'is_system_global'
2471 rather than 'is_synchronous', which is more descriptive of its
2473 Added spi_device_event_controller_new().
2474 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
2476 * libspi/keystrokelistener.[ch]:
2477 Namespaced KeystrokeListener to SpiKeystrokeListener.
2478 Changed uses of keymasks to use SPI_ prefix, and did other
2481 * libspi/keymasks.h:
2482 Namespaced keymask constants with SPI_ prefix.
2484 * libspi/registry.c:
2485 Some warning fixes, and knock-on fixes from namespace changes.
2488 Added rules for accessx-gui test program.
2490 * test/accessx-gui.c:
2491 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2492 utility. It doesn't actually use at-spi, but it's still cool and
2495 * test/keysynth-demo.c:
2499 Fixes so that these test clients work properly with the namespaced
2500 libraries. (Incompletely tested for technical reasons, fixes may follow)
2503 2001-13-11 Michael Meeks <michael@ximian.com>
2505 * libspi/application.c
2506 (impl_accessibility_application_get_version),
2507 (impl_accessibility_application_get_toolkit_name):
2509 (impl_accessibility_application_set_id),
2510 (impl_accessibility_application_get_id): remove
2511 redundant casting code.
2513 * libspi/action.c (impl_getDescription): fix warnings.
2515 * libspi/accessible.c
2516 (impl_accessibility_accessible_get_parent),
2517 (impl_accessibility_accessible_get_child_at_index),
2518 (impl_accessibility_accessible_get_state),
2519 (impl_accessibility_accessible_get_relation_set):
2520 warning fixes & include action.h
2522 2001-13-11 Michael Meeks <michael@ximian.com>
2524 * *.[ch] fix bits I screwed up:
2526 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2527 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2529 2001-13-11 Michael Meeks <michael@ximian.com>
2531 * *.[ch] Namespace libspi into spi_ and Spi.
2533 2001-13-11 Michael Meeks <michael@ximian.com>
2535 * Makefile.am: dist & install at-spi-1.0.pc
2537 * libspi/Makefile.am: install into at-spi-1.0
2539 * idl/Makefile.am (idldir): install into at-spi-1.0
2541 * at-spi-1.0.pc.in: add.
2543 * configure.in: build it.
2545 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2547 * test/keysynth-demo.c:
2548 Use a 'realize' signal-handler to set the WM properties for
2549 the virtual keyboard, rather than making it a "POPUP" type
2550 override-redirect window (thanks to anders carlsson for that
2553 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2556 * test/keysynth-demo.c:
2557 Added new test of key synthesis, which creates a simple
2558 (mouse-operated) onscreen keyboard. It inserts key events into
2559 the currently-focused window, thus it does not grab keyboard focus
2562 * cspi/spi_registry.c:
2563 Added C binding for AT-SPI generateKeyEvent.
2565 * libspi/deviceeventcontroller.c:
2566 Added call to XFilterEvent so that key listener works with XIM (we
2567 hope). Added event_synth_type to generateKeyEvent, so that we can
2568 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2569 synthesize a press/release pair for KeySyms.
2571 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2573 * libspi/Makefile.am:
2574 * registryd/Makefile.am:
2575 (temporary) hack to include libXtst in libspi and registryd.
2576 (Needed for keystroke synthesis, see below).
2579 Improved API for registerKeystrokeListener, in accordance with
2580 discussions with Gnopernicus team and X server research.
2582 * libspi/registry.c:
2583 * libspi/deviceeventcontroller.c:
2584 * libspi/accessible.c:
2585 * libspi/keystrokelistener.c:
2586 Changes and fixes to support keylisteners for potentially
2587 consumed key events (that is, 'passive grabs').
2588 Added implementation for generateKeyEvent() [untested].
2591 Changes to registerKeystrokeListener() API, as above.
2592 Added deregisterGlobalEventListenerAll(), and
2593 deregisterKeystrokeListener(), which are needed for clean exit of
2595 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2596 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2598 * cspi/spi_registry.c:
2599 Added implementations of function prototypes mentioned above.
2601 * registryd/registryd.c:
2602 Added the key listener event source as a g_timeout(), to allow
2603 receipt of key events that are not caught by GDK (since GDK
2604 doesn't support passive keygrabs, this was necessary).
2607 Changed to attach a keylistener to 'Alt' keys, and
2608 respond to the following keycommands: Alt-M (toggle magnifier);
2609 Alt-F (toggle speech); Alt-Q (quit).
2610 Added an exit routine to deregister the listeners, and a key
2611 listener that prints some key info to the console when a key
2612 matches the listener mask (and is thus received by the listener).
2614 * util/idl/Magnifier.idl:
2615 Changes to magnifier API to support multiple zoom regions,
2616 non-uniform scaling in x and y, markDirty, and a host of other
2617 features that would be useful to magnification.
2620 * util/mag_client.c:
2621 * util/mag_client.h:
2622 * util/mag_control.c:
2624 Source code changes to support the above IDL changes.
2627 As above, and also changes to use a (slower) generic conversion
2628 path for colormap conversions, since the fast RGB conversions have been
2629 reported to fail for 16-bit displays.
2631 2001-10-26 Michael Meeks <michael@ximian.com>
2633 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2635 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
2637 * at-bridge/Makefile.am: fix LDFLAGS.
2639 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2641 * at-bridge/bridge.c:
2642 Re-worked listeners for toolkit events, now we have signal
2643 and property listeners. Added a private method
2644 register_atk_event_listeners(), which registers with the
2645 various atk and gtk signals we need to monitor in order to emit
2647 Added emission hook for AtkObject:property-change events, to
2648 support the 'property listeners'.
2649 Fixed some alloc()s of Accessibility_Event structs to use CORBA
2652 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2653 which emit warnings and exit, respectively, if CORBA errors occur
2654 during remote calls, and we now use these methods to check most of
2655 our CORBA calls in the C bindings.
2657 * cspi/spi_accessible.c:
2658 Changed AccessibleSelection_refSelectedChild() to
2659 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2660 now increment refcounts.
2662 * cspi/spi_component.c:
2663 Fixed some long pointer casts (dangerous!) to pass pointers to
2664 CORBA_longs of the proper type to the CORBA stubs, and copy the
2665 data into the longs that were passed into the C bindings code.
2667 * at-bridge/bridge.c:
2669 * libspi/accessible.c:
2670 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2671 hyperlinks, AtkHyperlink is an object type.
2673 * libspi/application.c:
2674 Added various conversions to and from "generic" event types and
2675 atk-specific types; this is really part of the 'bridge'
2676 implementation but is valid for all AtkObject-based accessibility
2679 * libspi/editabletext.c:
2680 Fixed nasty bug wherein editable text's finalize method was
2681 unref'ing tha AtkObject reference that the text parent class was
2682 about to unref _again_. There was also a nasty inheritance bug
2683 that meant that the AccessibleEditableText class was corrupt.
2685 * libspi/selection.c:
2686 Provided implementations for some selection API that was broken.
2688 * idl/Application.idl:
2689 Added registerObjectEventListener () method.
2692 Fixed a number of return values that were Bonobo_Unknowns from
2693 bonobo_object_corba_objref(), which I
2694 forgot to dup before returning. Changed instances of
2695 bonobo_object_corba_objref (bonobo_object(o)) to
2696 BONOBO_OBJREF(o), for concision and clarity.
2698 <2001-10-13 Louise Miller <louise.miller@sun.com>
2700 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2701 idl/Event.idl, idl/Registry.idl
2702 Changed these files to include Bonobo_Unknown.idl instead
2705 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
2707 * libspi/component.c libspi/component.h:
2708 Fixed typo. Added assertions for object checks in
2709 AccessibleComponent code.
2711 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2713 * idl/Accessible.idl:
2714 Added 'isEqual (Accessible *object)'
2715 method for Accessible. (Not Yet Implemented).
2718 Changed signature of registerKeystrokeListener() to
2719 take a KeySet and KeyEventSeq so that specific keys and event
2720 types could be requested for monitoring, and added a flag
2721 is_synchronous so that either synchronous or asynchronous
2722 notification could be requested. (However this is not all
2723 implemented yet). This also meant adding two new typedefs,
2724 KeyEventSeq and KeySet.
2727 Added two new relations, RELATION_TOOLTIP_FOR and
2728 RELATION_LEAFNODE_OF.
2731 Added new state, STATE_HAS_TOOLTIP.
2733 * libspi/text.c, editabletext.c:
2734 Added new assertions to all casts of bonobo-objects from
2735 CORBA servants, to prevent Text API calls on non-text objects.
2736 Changed suspect casts of int-pointer types, so that we
2737 always send a valid CORBA_long pointer to the CORBA APIs that use
2738 in/out long parameters. We then have to copy from the CORBA_long
2739 into the regular long or int for return to the C bindings, or
2740 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
2743 * libspi/deviceeventcontroller.c:
2744 Cleaned these sources up.
2746 Changed return type for getCharacterAtOffset to
2747 CORBA_unsigned_long, to allow for 32-bit characters.
2750 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
2754 Fixed 'make dist' so that distro compiles...
2755 * libspi/keymasks.h:
2757 * cspi/spi-listener.c:
2758 KeystrokeListenerCB now returns a boolean.
2760 Added KeyEventType struct, and KeyStroke.
2761 Also added createKeystrokeListener(),
2762 KeystrokeListener_addCallback(),
2763 KeystrokeListener_removeCallback(), and added a keymask to
2764 registerKeystrokeListener().
2765 * cspi/spi_accessible.c:
2766 Changed numerous return types for interfaces from
2767 AccessibleComponent to Accessible<InterfaceName>; this was
2768 probably a cut-and-paste error.
2770 Implementations of new KeystrokeListener api (from spi.h,
2773 Changes to key modifier mapping.
2774 Created ControllerEventMask struct.
2775 Made DeviceEventController derive from Bonobo::Unknown.
2777 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
2778 * libspi/deviceeventcontroller.c:
2779 Added a number of new internal (private) methods.
2780 * libspi/editabletext.c:
2781 * libspi/editabletext.h:
2782 Fixed a number of bugs related to the fact that
2783 editabletext inherits from text. Fixed the EditableText struct,
2784 the init() call, and use correct casts when calling Text methods
2785 from an EditableText object. Removed (duplicate) atko from the
2786 EditableText structure, we use the one in the parent Text
2787 structure via the casts mentioned above.
2788 * libspi/keystrokelistener.[ch]:
2789 * libspi/registry.c:
2790 Changes in support of keyboard handling (above).
2792 Keyboard handling, though partly functional, is still not
2793 recommended for at-spi client use as there is considerable
2794 work yet to be done.
2797 Changed some places where pointers to various int types
2798 are cast to be pointers to CORBA_long types and vice-versa:
2799 pointer casting is not safe so we pass pointers of the correct
2800 types and then cast the result before putting it into the target
2803 * libspi/text.h: minor typos corrected.
2805 We now speak not only the name of a Text element, but the
2806 first sentence of its content, when it receives focus.
2807 I also changed the text compression to 75% from 50%.
2808 * util/Accessibility_Util.server.in:
2809 Changed the default magnifier type to be a 3x vertical
2810 splitscreen magnifier (was previously a 2x horizontal one).
2812 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
2814 * libspi/keystrokelistener.h:
2815 * libspi/keystrokelistener.c:
2816 Initial functional implementations of KeystrokeListener.
2819 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
2821 Fixed string handling for NULL strings in libspi.
2822 Added spi_freeString to free strings returned by C bindings.
2824 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
2826 * libspi/keystrokelistener.h:
2827 * libspi/keystrokelistener.c:
2828 Began (no-op) implementations of KeystrokeListener
2830 * libspi/deviceeventcontroller.c:
2831 * libspi/deviceeventcontroller.h:
2832 Began creating implementations of DeviceEventController,
2833 to handle keystroke and mouse event listening and
2835 * libspi/accessible.c:
2836 Stubbed-in the implementations for
2837 Accessibility_Accessible_getState and
2838 Accessibility_Accessible_getRelationSet.
2839 * libspi/registry.c:
2840 Improved de-registration process and fixed some bugs,
2841 deregistration now works correctly.
2843 Added initialization of applications list (to NULL).
2845 Reduced speech compression from 0.5 to 0.7, for demo.
2846 Changed call to gdk_window_set_decorations()
2847 to gtk_window_set_decorated().
2848 * at-bridge/bridge.c:
2849 Bridge now deregisters when app exits, via
2850 registration of a cleanup function
2851 with the g_atexit() call.
2852 Required making 'app' static, renamed 'this_app'.
2853 Fixed broken use of bonobo_init, passing argv wrongly.
2855 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
2859 Created a new directory for
2860 accessibility-related utilities, primarily for
2861 testing and demo purposes, but with possible
2868 Onscreen magnifier utility that
2869 is implemented as a bonobo service.
2871 * util/mag_client.c:
2872 * util/mag_client.h:
2873 Client-side support (simple C bindings)
2874 for Magnification service
2876 * util/mag_control.c:
2877 Client program example for
2878 Magnification service
2880 * util/Accessibility_Magnifier.server.in:
2881 Bonobo-activation file for the
2882 Magnification service.
2885 * util/idl/Magnifier.idl:
2886 IDL defining the bonobo Magnification
2890 Modifications to use the bonobo-activated magnifier
2891 above, in place of trying to connect to an existing
2892 magnifier that uses socket-listening IPC.
2894 If env variable MAGNIFIER is set, a magnifier service
2895 will be started if one does not exist.
2897 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
2898 * at-bridge/bridge.c:
2899 applied patch from Marc to build and run
2900 against new glib and gtk+ (seemed like a change
2901 to bonobo_init signature was made ?)
2903 made festival-server support turned off by default.
2904 Added support for a simple magnifier (off by default)
2905 which will be added to a 'util' directory later.
2906 * at-bridge/Makefile.am:
2907 Changed "application.h" header from a 'source'
2908 to a 'dependency' of libat-bridge.
2910 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2918 Added interface implementation c files to list of
2919 includes so they are included in libcspi.
2922 Changed prototype of AccessibleAction_doAction to return a
2924 Changed prototype of AccessibleTable_getCaption to
2925 return an Accessible.
2926 Changed prototype of AccessibleTable_getSelectedRows
2927 and AccessibleTable_getSelectedColumns to
2928 return a long (returns the number of selected rows
2929 or columns respectively).
2930 Changed name of AccessibleText_refRunAttributes to
2931 AccessibleText_getAttributes.
2932 Changed prototype of AccessibleText_getCharacterExtents to
2933 return a void rather than a boolean.
2934 Added support for a AccessibleCoordType parameter
2935 specifying what type of coordinates are desired.
2936 Added an AccessibleCordType parameter to
2937 AccessibleText_getPointAtOffset.
2939 * cspi/spi_accessible.c:
2940 Added code to return the outstanding interfaces from
2941 Accessible_queryInterface.
2943 * cspi/spi_action.c:
2945 Corrected call to getNActions to call the c binding
2948 * cspi/spi_editabletext.c:
2950 Changed name from setRunAttributes to setAttributes.
2952 * cspi/spi_hyperlink.c:
2954 Changed call to getNAnchors to correctly call the c
2955 binding for an attribute.
2957 * cspi/spi_hypertext.c:
2959 Changed getImageDescription to correctly call the
2960 binding for an attribute.
2962 * cspi/spi_selection.c:
2963 Changed getNSelectedChildren to correctly call the c
2964 binding for the attribute.
2965 Changed refSelectedChild to getSelectedChild.
2969 Changed getCaption to return an Accessible.
2970 Fixed calls which retrieve attributes.
2971 Changed refAt to getAccessibleAt.
2972 Changed getNSelectedRows and getNSelectedColumns to
2976 Changed getCharacterExtents and getPointAtOffset to accept an
2977 AccessibleCoordType.
2979 Changed calls which retrieve attributes.
2980 Changed refRunAttributes to getAttributes.
2985 * idl/Hyperlink.idl:
2986 Changed n_anchors attribute to nAnchors to keep naming
2987 convention consistent.
2990 Made Table inherit from Bonobo::Unknown.
2991 Added nSelectedColumns and nSelectedRows attributes.
2994 Made Value inherit from Bonobo::Unknown.
2996 * libspi/hyperlink.c:
2997 Change for nAnchors attributte name change.
2999 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3007 Added interface implementation c files to list of
3008 includes so they are included in libcspi.
3011 Changed prototype of AccessibleAction_doAction to return a
3013 Changed prototype of AccessibleTable_getCaption to
3014 return an Accessible.
3015 Changed prototype of AccessibleTable_getSelectedRows
3016 and AccessibleTable_getSelectedColumns to
3017 return a long (returns the number of selected rows
3018 or columns respectively).
3019 Changed name of AccessibleText_refRunAttributes to
3020 AccessibleText_getAttributes.
3021 Changed prototype of AccessibleText_getCharacterExtents to
3022 return a void rather than a boolean.
3023 Added support for a AccessibleCoordType parameter
3024 specifying what type of coordinates are desired.
3025 Added an AccessibleCordType parameter to
3026 AccessibleText_getPointAtOffset.
3028 * cspi/spi_accessible.c:
3029 Added code to return the outstanding interfaces from
3030 Accessible_queryInterface.
3032 * cspi/spi_action.c:
3034 Corrected call to getNActions to call the c binding
3037 * cspi/spi_editabletext.c:
3039 Changed name from setRunAttributes to setAttributes.
3041 * cspi/spi_hyperlink.c:
3043 Changed call to getNAnchors to correctly call the c
3044 binding for an attribute.
3046 * cspi/spi_hypertext.c:
3048 Changed getImageDescription to correctly call the
3049 binding for an attribute.
3051 * cspi/spi_selection.c:
3052 Changed getNSelectedChildren to correctly call the c
3053 binding for the attribute.
3054 Changed refSelectedChild to getSelectedChild.
3058 Changed getCaption to return an Accessible.
3059 Fixed calls which retrieve attributes.
3060 Changed refAt to getAccessibleAt.
3061 Changed getNSelectedRows and getNSelectedColumns to
3065 Changed getCharacterExtents and getPointAtOffset to accept an
3066 AccessibleCoordType.
3068 Changed calls which retrieve attributes.
3069 Changed refRunAttributes to getAttributes.
3074 * idl/Hyperlink.idl:
3075 Changed n_anchors attribute to nAnchors to keep naming
3076 convention consistent.
3079 Made Table inherit from Bonobo::Unknown.
3080 Added nSelectedColumns and nSelectedRows attributes.
3083 Made Value inherit from Bonobo::Unknown.
3085 * libspi/hyperlink.c:
3086 Change for nAnchors attributte name change.
3089 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
3091 implementations-- made server implementations own AtkObject pointers
3092 rather than their respective AtkInterrface pointers to fix
3093 refcounting. AtkHyperlink is still broken.
3095 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
3096 * cspi/spi_accessible.c:
3097 Added method Accessible_Role_getName(),
3098 and requisite string array (role_names).
3099 Added conversion string_from_corba_strin() call
3100 to Accessible_getName and _getDescription.
3101 * libspi/accessible.c:
3102 Added implementation for Accessible_getRole()
3104 Added festival support, used if environment variable
3107 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3109 * at-bridge/bridge.c:
3110 Now allocate Accessibility_Event using
3111 Accessibility_Event__alloc() instead of g_new0().
3112 * libspi/accessibleeventlistener.c:
3113 Initialize AccessibleEventListener->callbacks to NULL.
3114 Fixed accessible__event_listener_init() param, changed to
3115 "AccessibleEventListener *" type.
3116 Changed a bonobo_object_release_unref() call to
3117 Accessibility_Accessible_unref().
3118 * libspi/listener.c:
3119 Changed Bonobo_Unknown_unref to (equivalent)
3120 Accessibility_Accessible_unref.
3121 * libspi/registry.c:
3122 Changed bonobo_object_release_unref to
3123 Accessibility_Accessible_unref.
3125 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3128 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
3129 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
3130 spi-util.c spi-util.h
3131 Implementations for C bindings to remaining accessibility
3134 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3137 changed return value of Action from void to boolean to
3138 bring in line with ATK.
3141 Changed getText funcions to return "out" start and end offsets.
3142 Changed getAttributes to take and offset and return the start
3143 and end offset of the attribute run.
3144 Changed getOffsetAtPoint and getCharacterExtents to take an
3145 enum describing whether coordinates are window or screen.
3148 libspi/action.c libspi/action.h libspi/editabletext.c
3149 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
3150 libspi/hypertext.c libspi/hypertext.h libspi/image.c
3151 libspi/image.h libspi/selection.c libspi/selection.h
3152 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
3153 libspi/value.c libspi/value.h
3154 Added server implementations for outstanding ATK interfaces
3155 not yet implemented.
3157 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3160 Added (missing) getName() method.
3161 Made nActions an attribute.
3162 * idl/EditableText.idl:
3163 Changed order of params in setAttributes.
3164 * idl/Hyperlink.idl:
3165 Removed getAnchor, added getURI.
3167 Changed attributes to methods, for efficiency
3168 (so that getting extents can be done in one call)
3169 * idl/Selection.idl:
3170 Changed nSelectedChildren to attribute, and re-indented.
3171 * idl/Table.idl: changed nrows, ncolumns, caption, summary
3173 * idl/Text.idl: reformatted to match our coding style.
3174 (temporarily?) removed getRowColumnAtOffset().
3175 Changed text selection API to support multi-select and
3176 non-contiguous selections, as in ATK.
3177 * idl/Value.idl: changed some methods to attributes.
3179 2001-08-24 Mark McLoughlin <mark@skynet.ie>
3181 * libspi/listener.c(impl_notify_event):
3182 BonoboUnkown_unref the source instead
3183 of bonobo_object_release_unref - the ORB
3184 handles the releasing.
3186 * configure.in: require ORBit-2.3.94 for
3189 2001-08-21 Bill Haneman <bill.haneman@sun.com>
3191 Tagged CVS repository 'EA_1_0'.
3192 * README.EARLY_ACCESS:
3193 Alphabetized acknowledgements list, and
3195 Listed some known dependencies of at-spi.
3197 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3199 * docs/at-spi-docs.sgml:
3200 * docs/at-spi-sections.txt:
3201 * docs/at-spi-overrides.txt: (Added zero-length file)
3202 Documentation improvements - gtk-doc should build
3203 docs for all implemented C bindings now.
3206 * cspi/spi.c: (New file)
3207 * cspi/spi_event.c: (New file)
3208 * cspi/spi_registry.c: (New file)
3209 * cspi/spi_accessible.c: (New file)
3210 * cspi/spi_application.c: (New file)
3211 * cspi/spi_component.c: (New file)
3212 Split spi_main.c into six parts, and included them from
3213 "spi.c". This is a bit of a hack, probably temporary,
3214 but required by gtk-doc, apparently.
3216 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3219 * docs/at-spi-docs.sgml:
3220 * docs/at-spi-sections.txt:
3222 Initial checkins/modifications for gtk-doc generation.
3225 Added (missing) interface query methods to Accessible's C binding.
3227 Added GenericInterface type definition.
3229 Added query for AccessibleComponent interface to focus event handler.
3230 Added printout of bounding box for focussed component.
3231 * libspi/component.c:
3232 Added partial implementation for AccessibleComponent to C binding.
3233 * idl/Application.idl:
3234 * libspi/registry.c:
3235 * libspi/listener.c:
3236 * libspi/application.c:
3237 * libspi/application.h:
3238 Changed "ID" attribute type from string to long.
3240 2001-08-19 Bill Haneman <bill.haneman@sun.com>
3244 Made method naming consistent: methods taking object args
3245 start with uppercase, other methods (except those using
3246 acronyms) start with lowercase. Underscores delimit between
3247 object names and method names:
3248 SPI_init() - uppercase since it starts with an acronym.
3249 getDesktopCount () - lowercase start since no object param0.
3250 Accessible_getName() - uppercase object type name, studlyCaps method
3254 Added gtk-doc documentation for all currently implemented
3255 methods in the C bindings API.
3257 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3259 * Makefile.am : changed build order to build test last.
3262 Changed "createEventListener" to "CreateEventListener".
3263 * libspi/accessibleeventlistener.c :
3264 Bugfix for addition of callbacks.
3265 * test/Makefile.am :
3266 * test/simple-at.c :
3267 Added new test that uses the C bindings API.
3269 * libspi/listener.c :
3270 * libspi/registry.c :
3271 * libspi/accessibleeventlistener.c :
3272 * at-bridge/bridge.c :
3273 Renamed member "target" of Accessibility_Event to "source",
3274 which is more descriptive.
3277 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3281 * cspi/Makefile.am :
3282 Added makefile support for at-spi/cspi directory.
3285 * cspi/spi-listener.h : (NEW FILE)
3286 Added support for/use of spi-listener.h.
3288 C bindings now build successfully, with no warnings.
3289 * libspi/accessibleeventlistener.h : (NEW FILE)
3290 * libspi/accessibleeventlistener.c : (NEW FILE)
3291 * libspi/Makefile.am :
3292 Added new object type "AccessibleEventListener"
3293 which inherits from Listener, and allows attachment
3294 of in-process callbacks (so that a client with a listening
3295 object instance can add functionality to the local
3296 implementation, dynamically).
3298 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3300 * libspi/accessible.c:
3301 Add implementation for get_index_in_parent().
3303 Added #include of "spi-roletypes.h", and
3304 added enumerated type AccessibleCoordType.
3305 Added definition for KeystrokeListener (function type).
3308 * cspi/spi-statetypes.h :
3309 * cspi/spi-roletypes.h :
3311 Added these headers, used by spi.h.
3313 Added code (NOTE: not yet built by make).
3315 2001-08-18 Mark McLoughlin <mark@skynet.ie>
3317 * libspi/Makefile.am: generate imodule
3318 at the same time as other idl compiler
3321 2001-08-17 Bill Haneman <bill.haneman@sun.com>
3322 * libspi/registry.c :
3323 * libspi/application.c :
3324 * idl/Application.idl :
3325 Made registration with toolkit an application method,
3326 which is required since each app has its own toolkit static
3327 environment. Thus the bridge must register for
3328 notification of toolkit events from each application in turn.
3329 Toolkit notifications are now successfully registered for, and
3330 sent to the listening at client.
3332 Changed toolkit event string to use hyphens rather than underscores.
3333 * libspi/listener.c :
3334 listner now gives more info in debug mode - it reports the
3335 name of the event received, as well as the name of the source.
3338 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3340 * libspi/registry.c :
3341 added more implementation for toolkit events.
3342 Fixed bug such that toolkit event registrations
3343 (via atk) use the whole event name string, not
3345 Removed a useless call to an ORBit_ method.
3346 * at-bridge/bridge.c :
3347 Removed unused local sbuf[] variable.
3349 We now register for Gtk:GtkWidget:button_press_event
3350 events as well as "focus:" events.
3352 Add some more API from Registry.idl that was missing,
3353 for keystroke listening, keystroke and mouse event
3354 synthesis, and enumeration of accessible desktops.
3356 2001-08-16 Michael Meeks <michael@ximian.com>
3358 * configure.in: use AM_GLIB_GNU_GETTEXT.
3360 * Makefile.am (SUBDIRS): kill intl.
3362 2001-08-15 Michael Meeks <michael@ximian.com>
3364 * registryd/Makefile.am: s/oaf/server/ relocate info file.
3366 * configure.in: upd.
3368 * configure.in: depend on a recent bonobo-activation that
3369 will find our server files ...
3371 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3373 * libspi/accessible.c : accessible_new() :
3374 Now we add the Component interface via bonobo_object_add_interface,
3375 if the contained AtkObject implements AtkComponent.
3376 * libspi/accessible.h : now include "component.h"
3377 * libspi/component.h :
3378 * libspi/component.c : added files - implementation of
3379 bonobo wrapper object for Accessibility/Component
3380 * libspi/listener.c :
3381 Added test code to check for Accessibility/Component:1.0
3382 interface and report whether it is implemented by the
3384 * libspi/registry.c :
3385 Now we check for not only the hash of the whole event
3386 string before relaying the event, we also check the
3387 "minor" event string (without the detail string).
3388 This allows event listeners to be registered against
3389 all events of a certain major+minor type, or just
3390 against a specific major+minor+detail type.
3391 * libspi/accessible.c :
3392 Added implementations for Accessible:get_parent(),
3393 Accessible:getChildCount(), and Accessible:getChildAtIndex().
3394 * libspi/registry.c :
3395 * libspi/listener.c :
3396 Replaced calls to Accessibility_Accessible_ref() and
3397 Accessibility_Accessible_unref() with
3398 calls to bonobo_object_dup_ref() and
3399 bonobo_object_release_unref(), so that the CORBA object
3400 is dup-ed and released when relayed, as well as the bonobo object.
3402 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3404 * libspi/Makefile.am,
3405 registryd/Makefile.am,
3406 at-bridge/Makefile.am.
3407 test/Makefile.am, configure.in:
3408 reverse previous changes.
3410 * /idl/Image.idl: fix typo.
3412 * test/Makefile.am: put DEBUG_FLAGS
3415 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3417 * test/app.c: use argv[0] instead of
3420 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3422 * libspi/Makefile.am,
3423 registryd/Makefile.am,
3424 at-bridge/Makefile.am.
3425 test/Makefile.am, configure.in:
3426 cleanup, replace individual LIBS/CFLAGS with
3427 AT_COMMON_{LIBS|CFLAGS}.
3431 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3433 * configure.in, libspi/Makefile.am:
3434 Change IDL path checking for bonobo-activation
3437 2001-08-15 Bill Haneman <bill.haneman@sun.com>
3439 * registryd/registry.c : separated event listeners to use
3440 3 separate lists (focus, window, toolkit). Began testing
3441 event names against hashes before relaying events.
3442 * test/at.c : now register for events of type "focus:"
3443 * test/app.c : now generate events of type "focus:"
3444 * at-bridge/bridge.c : register with ATK for focus events,
3445 and we now relay those focus events to any "focus:" listeners.
3446 This now works with the bridge as a GTK_MODULE when running test/at.
3447 * libspi/registry.c :
3448 * libspi/listener.c :
3449 now we ref event sources before propagating, and unref on receipt.
3450 * libspi/registry.c :
3451 some changes to internal structs, to support event typestring hashes.
3452 * text/app.c : changed the way the appname is generated.
3453 * cspi : added directory that will hold the C bindings library for
3454 non-CORBA/bonobo-savvy clients.
3455 * cspi/spi.h : header file that contains the function prototypes for the C binding.
3456 * idl/Component.idl : added in parameter to indicate coord system for
3457 geometry-related calls.
3458 * idl/Hyperlink.idl : added readonly n_links attribute
3459 * idl/Image.idl : changed methods to attributes.
3461 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3463 * at-bridge/Makefile.am: link against
3464 ../libspi/libspi.la instead of -lspi.
3466 * at-spi/test/app.c: include
3467 bonobo-activation.h. Use a default appname
3468 if one is not provided.
3470 2001-08-14 Bill Haneman <bill.haneman@sun.com>
3472 * idl/Registry.idl : temporarily changed register_Application
3473 to oneway, to work around issue with initial registration
3475 * idl/Application.idl : changed attribute "id" from readonly
3476 to read-write, since it needs to be assigned by Registry.
3477 * registryd/registryd.c : added call to set application id
3479 * registryd/registry.c : changed de-registration procedure to
3480 use CORBA_Object_hash() to find matching object ref in application
3481 lists and listener lists.
3482 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
3483 began distinguishing between event types (work in progress).
3485 2001-08-13 Bill Haneman <bill.haneman@sun.com>
3488 * libspi/application.c:
3489 Added implementations for get/set id, get_toolkitName,
3491 * registryd/registryd.c :
3495 Converted from use of OAF to bonobo-activation.
3496 * libspi/desktop.h :
3497 * libspi/desktop.c :
3499 Removed references to atksimpleobject, since base atkobject
3500 implementation now provides functionality we need.
3501 * libspi/atksimpleobject.c :
3502 * libspi/atksimpleobject.h :
3507 * at-bridge/Makefile.am
3508 * at-bridge/bridge.c
3511 Added directory "bridge" and contents, and added dependencies
3512 in Makefile.am/configure.in.
3513 Initial checkin of "at-bridge".
3514 This code is a GTK_MODULE which automatically registers
3515 GTK+ apps with the accessibility registry, using an object
3516 reference to the root ATK object.
3518 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3520 * po/Makefile.in.in: Remove. Again. If this
3521 doesn't get autogenerated - you need to update
3524 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3526 * po/Makefile.in.in: Add. Again.
3528 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3530 * libspi/accessible.c : added support for 'description' property.
3531 * libspi/accessible.c
3533 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3534 (since the two are now equivalent in libbonobo)
3542 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3543 Bonobo::Unknown as does Accessibility::Accessible.
3544 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3545 interface with Bonobo::Stream, since it was redundant with it.
3546 (The Stream returned by a StreamableContext object is expected to
3547 implement only a subset of Bonobo::Stream)
3549 2001-07-28 Anders Carlsson <andersca@gnome.org>
3551 * libspi/accessible.c (accessible_object_finalize): Change
3552 g_free to g_object_unref since the AtkObject is a GObject.
3554 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3556 * idl/Accessibility.idl: add new IDL files
3559 * idl/Action.idl: Definitions of actionable UI object
3560 * idl/Component.idl: Definitions of UI component geometry, etc.
3561 * idl/Hyperlink.idl: Defs of hyperlink behavior
3562 * idl/Image.idl: Def of accessible image
3563 * idl/Selection.idl: Definition of UI object with selectable children
3564 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3565 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3566 * idl/Text.idl: Interface defs for UI elements with complex textual content
3567 * idl/Value.idl: Definition of UI element that is a value controller or display
3569 2001-07-27 Michael Meeks <michael@ximian.com>
3571 * po/Makefile.in.in: remove autogenerated file from CVS.
3573 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3576 * idl/Registry.idl: include guard.
3578 * idl/Accessibility.idl: Add, and include all the other IDL
3581 * idl/*.idl: remove mass of pragmas etc.
3583 2001-07-26 Michael Meeks <michael@ximian.com>
3585 * registryd/Makefile.am (registryd_SOURCES): remove
3588 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3590 * libspi/.cvsignore, registryd/.cvsignore,
3591 test/.cvsignore: updated.
3593 * po/Makefile.in.in: gettext update.
3595 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3597 * initial CVS checkin
3599 2001-06-29 Michael Meeks <michael@ximian.com>
3601 * configure.in: add AM_CONFIG_HEADER to gen config.h