1 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
6 * test/simple-at.c: include netinet/in.h.
8 2002-01-24 Mark McLoughlin <mark@skynet.ie>
10 * cspi/spi_accessible.c: (Accessible_getRelationSet):
11 use NULL, not CORBA_OBJECT_NIL.
13 * libspi/accessible.c:
14 (impl_accessibility_accessible_get_relation_set):
15 allocate the sequence correctly.
17 * libspi/remoteobject.h: kill spi_remote_object_new.
19 * test/test-simple.c: (validate_accessible): add code
20 to test relation sets, now all we need is to figure
21 out how to excercise this code path :/
23 2002-01-18 Michael Meeks <michael@ximian.com>
26 (key_listener_cb): consume the key.
27 (test_keylisteners): update.
28 (main): wait for any pending unrefs on events.
30 * registryd/deviceeventcontroller.c
31 (spi_controller_update_key_grabs): only re-issue the
32 grab on a key release.
33 (spi_device_event_controller_forward_key_event):
34 refresh the keygrabs before we notify the listeners,
35 to reduce the X ungrab / re-grab race.
36 (spi_controller_register_with_devices): remove
37 XSelectInput - we do that with the gdk_window_ call.
38 (_spi_controller_device_error_handler): return a value.
39 s/GDK_DISPLAY/spi_get_display/
41 2002-01-17 Michael Meeks <michael@ximian.com>
43 * registryd/deviceeventcontroller.c
44 (_deregister_keygrab): don't blow out the later
47 * test/test-simple.c (test_keylisteners): do a
48 more intelligent validation.
50 2002-01-14 Michael Meeks <michael@ximian.com>
53 (gnome_accessibility_module_init),
54 (gnome_accessibility_module_shutdown): impl.
55 (gtk_module_init): protect vs. double inits.
56 (add_signal_listener): impl.
57 (spi_atk_bridge_state_event_listener): kill
58 (deregister_application): split out of
59 (spi_atk_bridge_exit_func): here.
61 2002-01-18 Bill Haneman <bill.haneman@sun.com>
64 Added caret tracking when using magnifier, and
65 now use text bounds for focus tracking of text elements, rather than
66 the component bounds - this is helpful for short text fields in long
67 table cells, at high magnification.
69 2002-01-16 Bill Haneman <bill.haneman@sun.com>
71 * registryd/deviceeventcontroller.c:
72 Regression fix for keylistener de-registration; global keygrabs
73 were not being released when deregisterKeystrokeListener was
75 Accessibility_DeviceEventController_deregisterKeystrokeListener
76 was called with a zero-length keyset. That is because the cspi
77 method, SPI_deregisterKeystrokeListener, does not take a keyset
78 parameter but instead should remove all the key grabs held be a
80 The code in impl_deregister_keystroke_listener was changed to copy
81 the keylist from the listener instance previously registered with
82 the DeviceEventController before releasing the grabs.
84 * registryd/registry.c:
85 * registryd/deviceeventcontroller.c:
86 * libspi/spi-private.h:
88 Changed spelling of "re-enterant" to "re-entrant" globally.
90 2002-01-16 Bill Haneman <bill.haneman@sun.com>
93 Changed key listeners test - the test was slightly mis-using the
94 (admittedly poorly documented) SPI_generateKeyboardEvent API.
95 It now uses '=' as the key event listened to and generated,
96 relying on a keysym match rather than assuming that keycode 33
97 is always equal to keysym '!'.
99 2002-01-15 Bill Haneman <bill.haneman@sun.com>
102 Changed simple-at to use a specific keyset, rather than
103 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
104 manager, desktop, etc.
106 2002-01-11 Bill Haneman <bill.haneman@sun.com>
108 * registryd/deviceeventcontroller.c:
109 Replaced standard X error handler with a special handler that
110 is non-fatal for failed keygrabs. This works around
111 problems with keygrab clashes sometimes observed on
113 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
114 mouse handling code as yet).
116 2002-01-11 Bill Haneman <bill.haneman@sun.com>
119 Incremented revision for desktop alpha release.
122 Fixed a couple of the more glaring errors (still not
125 2002-01-11 Michael Meeks <michael@ximian.com>
127 * registryd/deviceeventcontroller.c
128 (spi_device_event_controller_forward_key_event): kill
129 XUngrabKey / XKeyGrab race.
130 (spi_controller_grab_keyboard): rename to
131 (spi_controller_update_key_grabs): this, and deal
132 with incremental adding / removing grabs more
134 (_register_keygrab): ensure we're not pending a remove.
135 (spi_grab_mask_free): impl.
136 (spi_controller_register_global_keygrabs): split out
138 (handle_keygrab): impl.
139 (_deregister_keygrab): impl.
140 (spi_controller_deregister_global_keygrabs): impl.
141 (spi_controller_update_key_grabs): re-issue the grab if
142 we just recieved a notification.
144 * test/test-simple.c (key_listener_cb): remove debug.
146 * registryd/deviceeventcontroller.c
147 (spi_controller_register_device_listener): after
148 registering a global keygrab, actualy register it !
149 don't wait for a timeout; doh !
151 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
152 to make it more readable / manipulable.
153 s/grabmask/grab_mask/ s/refcount/ref_count/
154 s/keyval/key_val/ s/modmask/mod_mask
156 2002-01-08 Michael Meeks <michael@ximian.com>
158 * registryd/deviceeventcontroller.c
159 (spi_controller_register_with_devices): use gdk calls to
161 (global_filter_fn): implement the filter.
162 (spi_device_event_controller_check_key_event): rename to
163 (spi_device_event_controller_forward_key_event): this & upd.
164 (spi_get_display): replace with GDK_DISPLAY.
166 * registryd/deviceeventcontroller.c
167 (spi_controller_deregister_device_listener): unroll into
168 (impl_deregister_keystroke_listener): here to simplify.
169 (spi_controller_register_global_keygrabs): split cut and
170 paste (!) out into (_register_keygrab): here, shorter & sweeter.
171 (spi_controller_deregister_device_listener): remove.
172 (impl_register_mouse_listener): remove, no mouse listener
173 support in at-spi-1.0
175 * registryd/registry.c
176 (_device_event_controller_hook): kill.
177 (spi_registry_init): upd.
179 * registryd/deviceeventcontroller.c
180 (spi_device_event_controller_class_init): upd.
181 (spi_check_key_event): merge into.
182 (spi_device_event_controller_check_key_event):
183 here and kill strange static ev init, don't leak
184 the x_event - nor dynamicaly allocate it.
186 * registryd/registry-main.c (main): re-direct
187 timeout to remove strange vtable mess.
189 * registryd/deviceeventcontroller.c
190 (remove_listener_cb): impl.
191 (spi_controller_deregister_device_listener):
192 fix re-enterancy hazard.
194 2002-01-07 Michael Meeks <michael@ximian.com>
196 * registryd/deviceeventcontroller.c
197 (spi_device_event_controller_new): upd.
198 (impl_notify_listeners_sync): upd. debug.
199 (spi_notify_keylisteners): fix re-enterancy hazards,
200 prettify, remove O(n*n) iteration.
201 (spi_controller_grab_keyboard): fix iteration.
202 (spi_check_key_event): re-format to suit coding style.
203 Clean all the warnings - we're warning free.
205 * registryd/deviceeventcontroller.h:
206 * registryd/registry.h: make mutualy referential with
207 typesafe forward references instead of (!) void pointer
210 2002-01-11 Michael Meeks <michael@ximian.com>
212 * cspi/spi_accessible.c (role_names): add a role name
213 to sync this array with the enum; and make the regression
216 2002-01-10 Michael Meeks <michael@ximian.com>
218 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
219 allow expansion of enumeration & kill warning.
221 * test/test-simple.c (key_listener_cb): impl.
222 (test_keylisteners): impl.
224 * cspi/spi-listener.h: make listener signatures const
225 on the provided (const) events.
227 * test/keysynth-demo.c: upd. to const events.
229 * test/simple-at.c: ditto.
231 2002-01-11 Bill Haneman <bill.haneman@sun.com>
234 Rev the version to 0.5 (the previous tarball was named 0.4,
235 even though the micro number was 3), so we need to rev upwards
236 again for beta2/"desktop-alpha"
239 Checked in a demo script, which requires editing before use!
240 Proceed with caution.
243 Fixed typo in header which was redefining SPI_ACTION_CLASS.
245 * cspi/spi_accessible.c:
246 Add a couple of missing enum initializations, and fix some enum
249 * cspi/spi_registry.c:
250 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
252 * docs/reference/cspi/at-spi-cspi-sections.txt:
253 Remove/fix a couple of broken document references.
256 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
257 as Alt-Control to listen for commands, since on some systems
258 Control-Alt may already be grabbed.
260 2002-01-10 Bill Haneman <bill.haneman@sun.com>
263 Update version number to 0.4 for Beta2.
265 * libspi/accessible.c, libspi/accessible.h:
266 Expose spi_accessible_construct, to enable libgail-gnome
267 construction from spi_accessible subtype.
270 Workaround for bug in some non-gnome-compliant window managers
271 which made magnifier resize improperly.
273 2002-01-09 Bill Haneman <bill.haneman@sun.com>
275 * libspi/accessible.c: (spi_accessible_new) :
276 Move the test for SPI_IS_REMOTE_OBJECT to
277 spi_accessible_new_return, fixing a bug and compile time warning.
279 2002-01-08 Michael Meeks <michael@ximian.com>
281 * registryd/registry.c (parse_event_type): remove strndup.
283 * libspi/Makefile.am (libspi_la_SOURCES): remove
284 sources already included in the headers section.
286 * libspi/util.c: add.
288 * libspi/spi-private.h: add.
290 * registryd/registry.c: update to moved list iterators.
292 2002-01-05 Michael Meeks <michael@ximian.com>
294 * test/simple-at.c (main): upd. auto-module set to atk-bridge
296 * test/test-simple.c (main): ditto.
298 2002-01-04 Michael Meeks <michael@ximian.com>
300 * libspi/accessible.c (spi_accessible_new): remove 2nd,
303 * registryd/registry.c
304 (get_listener_list): impl.
305 (impl_accessibility_registry_register_global_event_listener):
306 re-impl. to simplify using ~, remove dodgy const cast off.
307 (parse_event_type): constify.
308 (impl_accessibility_registry_deregister_global_event_listener_all):
309 re-write, more efficiency and simplicity, kill re-enterancy
311 (compare_listener_corbaref, compare_corba_objects),
312 (compare_listener_quarks): define out.
313 (impl_accessibility_registry_deregister_global_event_listener):
314 re-write for effiency, and nail re-enterancy hazard.
315 (impl_accessibility_registry_get_desktop_list): impl.
316 (re_enterant_list_delete_link): impl.
317 (re_enterant_list_foreach): impl.
318 (remove_listener_cb): impl.
319 (_registry_notify_listeners): kill.
320 (notify_listeners_cb): impl.
322 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
323 (SPI_getDesktopList): impl.
325 * test/test-simple.c (test_desktop): test the methods.
327 2002-01-03 Michael Meeks <michael@ximian.com>
329 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
330 keystrings since we free them
331 (SPI_freeAccessibleKeySet): in here.
333 * libspi/accessible.c (spi_accessible_new): kill warning,
334 wonder what is going on with the constructor here.
336 2002-03-01 Bill Haneman <bill.haneman@sun.com>
338 * libspi/accessible.c (spi_accessible_new ()) :
339 Added check to see if AtkObject is an SpiRemoteObject before
340 creating an SpiAccessible.
342 2002-05-01 Bill Haneman <bill.haneman@sun.com>
344 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
345 Enable keygrabs using the Control modifier, now that they are
346 working properly (they were previously disabled).
349 Change the command keygrab for this demo to "Control+Alt", so as
350 to conflict with fewer other key commands on the system; this
351 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
353 Removed a pointlessly-chatty keylistener for unshifted keys
354 (shifted keys are still reported).
356 2002-02-01 Bill Haneman <bill.haneman@sun.com>
358 * libspi/remoteobject.h:
359 * libspi/remoteobject.c:
360 Added definitions for special AtkObject subtype, required for
361 support of remote components (specifically, used by BonoboControl
362 accessibility implementation).
364 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
366 * cspi/spi.h: synched relation types with ATK
368 * cspi/spi_accessible.c: Added implementations of
369 AcccessibleRelation_* methods
371 * idl/Accessibility_Relation.idl: added getRelationTypeName
372 method. Synched known relation types with ATK. Allowed for
373 relation type extension with the RELATION_EXTENDED type.
375 * libspi/relation.c: Provided implementations for
376 AccessibleRelation methods.
378 2002-01-01 Bill Haneman <bill.haneman@sun.com>
380 API tweaks for today's API 'freeze'.
383 Added placeholder functions to allow future compatible expansion
384 of the IDL interfaces.
386 * idl/Accessibility_Registry.idl:
387 Changed generateKeyEvent to generateKeyboardEvent. Changed
388 signature of this method to accept an optional keystring in
389 parameter (for complex text input synthesis) and changed use of
390 simple 'boolean' parameter in registerKeystrokeListener to a
391 struct, EventListenerMode.
393 * cspi/spi_accessible.c:
395 * cspi/spi_streamablecontent.c:
396 Added references to AccessibleStreamableContent interface, and
397 definition and implementation of AccessibleStreamableContent
400 * cspi/spi_registry.c:
402 Changed generateKeyEvent API to generateKeyboardEvent,
403 taking a new (optional) keystring parameter to support complex
408 Renamed directory (to better reflect its actual purpose, bridging
409 from at-spi to ATK). The .so module is also now named
412 * idl/Accessibility_Hypertext.idl:
413 * libspi/accessible.c:
414 * libspi/hypertext.h:
415 * libspi/hypertext.c:
416 Changed Accessibility_Hypertext to *not* derive from
419 * cspi/spi_registry.c:
420 Added list of legal event type names for 'window' events, which
421 completes the registry event API.
423 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
425 * at-bridge/bridge.c: Added registration for separate
426 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
427 signals. If either of the first two parameters to the generic
428 bridge signal handler are ints, they are passed on as event
429 details. This allows an AT to determine what text was inserted.
431 2001-12-21 Bill Haneman <bill.haneman@sun.com>
433 * registryd/deviceeventcontroller.c:
434 Fixed regressions in generateKeyEvent caused by the removal of
435 gdk_init from registryd; we now use pure X calls to connect to the
436 display, which makes sense because deviceeventcontroller already
437 uses a fair bit of X API (should eventually be migrated to a
438 'portability layer').
440 * registryd/desktop.c:
441 Fixed minor regression in spi_desktop_init, changed the way the
442 desktop name is being set to work with new spi_base API
443 (gobject-based, rather than AtkObject-based).
445 * registryd/Makefile.am:
446 Minor revision of makefile to use XTST_LIBS variable rather than
447 hard-wiring the Xtst LD_ADD element.
449 * test/keysynth-demo.c:
450 Tweaked an output message; added initialization of the
451 'keystrings' member of the "switch listener" key_set.
454 Squashed compile-time warning.
456 * libspi/accessible.c:
457 Cosmetic and formatting fixes, renamed a static method.
459 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
461 * libspi/accessible.c
463 * libspi/application.c
467 * libspi/editabletext.c
475 * registryd/desktop.c:
476 Changed SpiBase to contain a GObject pointer rather than an AtkObject
478 2001-12-17 Bill Haneman <bill.haneman@sun.com>
480 * idl/Accessibility_Registry.idl:
481 Added boolean member 'is_text' to DeviceEvent. This is for the
482 use of key events, and helps prevent ambiguity between composed
483 key strings and keysym names, since both may potentially be
484 returned in the 'event_string' member.
486 * at-bridge/bridge.c:
487 * registryd/deviceeventcontroller.c:
488 Use the 'is_text' member when notifying device event listeners.
489 Knon issue: composed characters are not dealt with correctly by
490 the global key listener implementation yet.
492 2001-12-17 Bill Haneman <bill.haneman@sun.com>
494 * at-bridge/bridge.c:
495 Namespaced local static methods to spi_atk_bridge_* where
496 previously named bridge_*, and spi_* elsewhere.
498 * at-bridge/bridge.c:
499 * cspi/bonobo/cspi-bonobo-listener.c:
500 Added demarshalling/conversion for string member of
501 Accessibility_DeviceEvent to AccessibleKeystroke.
503 * registryd/deviceeventcontroller.c:
504 Added code to fill the Accessibility_DeviceEvent key string value
505 member for global key events (i.e. from XGrabKey), to match
506 behavior of Accessibility_DeviceEvent from the toolkit key events
507 from the bridge. Fixed timestamp in global key event notifications.
510 Added printout of key event's string value to
511 report_ordinary_key_event, for demo/debugging purposes.
513 2001-12-15 Bill Haneman <bill.haneman@sun.com>
515 * idl/Accessibility_Registry.idl:
516 Removed Accessibility_KeyStroke structure in favor of generic
517 Accessibility_DeviceEvent structure.
518 Changed Accessibility_ControllerEventMask from a struct to an
521 * at-bridge/bridge.c:
522 Changed APIs to use DeviceEvent structure as above, and removed
523 bogus casting between these event structures.
525 * cspi/spi-listener.h:
526 Added keystring member of AccessibleKeystroke structure, to enable
527 matching on event "names" rather than only hardware codes and
531 Added keystrings member of AccessibleKeySet struct, to allow
532 matching on event names (as above).
533 Added declarations for SPI_createAccessibleKeySet and
534 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
535 event modmasks directly as unsigned ints rather than structs with
536 refcounts, in the DeviceEventController methods.
538 * cspi/spi_registry.c:
539 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
541 * cspi/spi-roletypes.h:
542 Added documentation of newly added SPI Roles.
544 * cspi/bonobo/cspi-bonobo-listener.c:
545 Changes in support of API changes above.
547 * libspi/accessible.c:
548 Converted APIs to use DeviceEvent structure (see IDL changes
551 * registryd/deviceeventcontroller.c:
552 Added DEControllerGrabMask structure to track keygrabs not only by
553 modmask but by keyset as well; this allows us to do "global"
554 (i.e. X) keygrabs on a per-key or keyset basis rather than always
555 grabbing on AnyKey and then filtering after-the-fact.
556 Bugfixes for event filtration mean that we don't get false matches
557 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
559 * registryd/deviceeventcontroller.c:
560 Namespaced a number of static methods to use spi_ prefix. Major
561 revision to internals of global (i.e. X) key grabs.
563 * registryd/deviceeventcontroller.h:
564 Removed keymask_list and added keygrabs_list to
565 SpiDeviceEventController struct.
568 Added use of SPI_createAccessibleKeySet API when creating a
569 listener for only one key. Attach a listener to "shift spacebar
570 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
571 X key event names to SPI key event names, so that listeners are
572 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
574 * test/keysynth-demo.c:
575 Changed (incorrect) use of X key event names (KeyPressed,
576 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
579 2001-12-12 Bill Haneman <bill.haneman@sun.com>
581 * libspi/accessible.c:
582 Convert all AtkRole enumerations to Accessibility_Role enums when
583 getting a role from an AtkObject.
585 * cspi/spi_accessible.c:
586 Complete the conversion of Accessibility_Role enums at runtime to
587 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
588 role enums correctly match those given in spi-roletypes.h.
589 Re-synchronize the local names list for AccessibleRole_getName ().
590 AccessibleRole_getName is now deprecated, since it duplicates the
591 more reliable Accessible_getRoleName.
592 Added some role types from Accessibility_Role.idl.
594 * idl/Accessibility_Role.idl:
595 Added some role types used by AtkRole.
597 2001-12-12 Bill Haneman <bill.haneman@sun.com>
600 * cspi/spi_registry.c:
602 * cspi/cspi-bonobo-listener.c:
603 Namespaced all methods that did not begin with an "SPI_" or
604 "Accessible" prefix to "SPI_".
607 Homogenized internal function namespace to "cspi_" for statics.
610 Patched tests to use the new CSPI API.
612 * docs/reference/cspi/at-spi-cspi-sections.txt:
613 Updated docs to reflect namespace changes, and added a number of
614 methods to the documentation.
616 * registryd/registry.c:
617 Changed use of strings and string hashes in listener event
618 matching and parse_event_string to use GQuark, which is guaranteed
621 * registryd/registry.h:
622 Squashed annoying warning.
624 * idl/Accessibility_Role.idl:
625 Extended range of available Accessibility_Role values.
627 * cspi/spi_accessible.c:
628 Re-ordered role names.
630 2001-12-12 Bill Haneman <bill.haneman@sun.com>
632 * idl/Accessibility_Value.idl:
633 Revert use of union back to CORBA_double, since the double type is
634 more efficient and can contain the other types without loss of
637 * idl/Accessibility_Accessible.idl:
638 Added method Accessibility:Accessible:getRoleName, to complement
639 Accessibility:Accessible:getRole.
641 * cspi/spi_accessible.c:
643 Added C binding for above, Accessible_getRoleName (), and changed
644 signature of Accessible_getRole () to return an AccessibleRole.
646 * cspi/spi-roletypes.h:
647 Changed AccessibleRole_getName to return a char * instead of a
648 const char *. This method is now at least temporarily deprecated
649 in favor of asking Accessibles for their RoleNames directly.
652 Revert to match Accessibility_Value.idl;
656 Change signature of AccessibleValue methods to use double rather
660 * cspi/spi_accessible.c:
661 Changed Accessible_getRole to return an AccessibleRole enum rather
662 than a UTF-8 string. The UTF-8 string can still be obtained via
663 AccessibleRole_getName ().
665 * test/test-simple.c:
666 Add test_action. Small fixup to match API change to Accessible_getRole.
669 Bugfix for get_action_from_servant ().
671 2001-12-11 Michael Meeks <michael@ximian.com>
673 * libspi/libspi.h: remove registry.h and
674 desktop.h, deviceeventcontroller.h
676 * libspi/Makefile.am: remove registry.[ch],
677 desktop.[ch], deviceeventcontroller.[ch]
679 * registryd/Makefile.am: add registry.[ch],
680 desktop.[ch], rename registryd.c to registry-main.c.
681 add deviceeventcontroller.[ch]
683 2001-12-11 Bill Haneman <bill.haneman@sun.com>
686 Replace setenv() call with putenv ().
688 * libspi/component.c:
689 Bugfix in AccessibleComponent_getExtents (),
692 2001-12-11 Michael Meeks <michael@ximian.com>
694 * libspi/image.c (impl_getImageExtents): impl.
695 (spi_image_class_init): upd.
698 (AccessibleImage_getImageDescription): fix daft bug
701 * test/test-simple.c (global_listener_cb): update
702 to only quit if not --poke
703 (main): catch --poke.
704 (validate_accessible): upd. dumping, call test_image
707 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
710 * idl/Accessibility.idl: update all IDL includes.
712 * idl/*.idl - rename to namespace - this sucks, blame
713 mjs' bad decision for oafd.
715 * test/test-simple.c (create_test_window): add more tests.
716 (create_tree): split this out.
717 (validate_accessible): bugfix.
719 2001-12-11 Michael Meeks <michael@ximian.com>
721 * cspi/bonobo/cspi-bonobo-listener.c:
722 (cspi_kestroke_listener_unref),
723 (cspi_event_listener_unref): impl. undoing previous
724 homenous environment - for Bill.
726 * cspi/spi_table.c (long_seq_to_array): use
729 * cspi/spi_main.c: split out all bonoboish bits into
732 * cspi/spi-impl.h: upd. typedefs.
734 * cspi/spi_registry.c: update to lowlevel API,
735 return booleans to indicate success in some places.
737 * cspi/spi_event.c: update to lowlevel API.
739 * cspi/bonobo/Makefile.am: add.
741 * cspi/bonobo/cspi-lowlevel.h: add
743 * cspi/bonobo/cspi-bonobo.c: add
745 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
747 * cspi/Makefile.am: remove spi-listener-impl.[ch],
748 (SUBDIRS): add bonobo, link in the libs.
750 * cspi/spi-util.c: kill this file.
752 * TODO: merge in my bits.
754 2001-12-11 Michael Meeks <michael@ximian.com>
756 * test/test-simple.c (test_value, test_table, main):
757 remove unused variables causing warnings.
759 * configure.in: cleanup checks - require gail.
761 2001-12-11 Bill Haneman <bill.haneman@sun.com>
764 Changed Value interface to use SValue (scalars) rather than
765 assuming all values are floats. This allows floats, doubles,
766 longs, shorts, and unsigned values to be manipulated.
767 Introduced Accessibility:SValue union.
770 Updated to use new API above, and to work correctly with GValues
771 of different types in AtkValue.
774 Updated to use new API above. cspi's API is as yet unchanged.
777 Updated the Value revision action item.
779 2001-12-10 Bill Haneman <bill.haneman@sun.com>
781 * test/test-simple.c:
782 Added test_table (GtkTreeView widget in test window to follow).
783 Un-commented test_value, added GtkRange widget.
784 Added GtkTreeView widget with GtkListStore. It passes regression
785 test but leaks one SPI object for some reason.
788 Fixed bug in impl__set_currentValue.
790 2001-12-10 Michael Meeks <michael@ximian.com>
792 * cspi/spi_text.c: audit for exception handling,
793 tolerating NULL object references safely etc.
795 * cspi/spi_value.c: ditto.
797 * cspi/spi_table.c (AccessibleTable_getSummary),
798 (AccessibleTable_getAccessibleAt),
799 (AccessibleTable_getRowHeader),
800 (AccessibleTable_getColumnHeader),
801 (AccessibleTable_getCaption): fix bugs hidden by
803 (long_seq_to_array): impl.
804 (AccessibleTable_getSelectedRows),
805 (AccessibleTable_getSelectedColumns): use it.
807 2001-12-10 Bill Haneman <bill.haneman@sun.com>
810 Added a TODO list (rough and short for now).
812 * cspi/spi_hyperlink.c:
813 * cspi/spi_hypertext.c:
814 Fixed macro name typos, and remove use of obsolete macro in
815 AccessibleHyperlink_getLink.
818 * cspi/spi_accessible.c:
819 * cspi/spi_application.c:
820 * cspi/spi_component.c:
821 * cspi/spi_selection.c:
824 Documentation fixes (removed return values from ref/unref methods).
826 2001-12-10 Michael Meeks <michael@ximian.com>
828 * cspi/spi_action.c: audit for exception handling,
829 tolerating NULL object references safely etc.
831 * cspi/spi_accessible.c: ditto.
833 * cspi/spi_component.c: ditto.
835 * cspi/spi_editabletext.c: ditto.
837 * cspi/spi_hyperlink.c: ditto.
839 * cspi/spi_hypertext.c: ditto.
841 * cspi/spi_image.c: ditto.
843 * cspi/spi_selection.c: ditto.
845 2001-12-10 Michael Meeks <michael@ximian.com>
847 * configure.in: use cspi/libspi.pc.in instead.
849 * Makefile.am (pkgconfig_DATA): upd. to match.
851 * test/simple-at.c (report_focus_event): kill hacks around
852 bad return values, use putenv not setenv
854 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
855 fire ChildGone - I killed it.
858 (impl_accessibility_component_get_extents): remove
861 * idl/Accessible.idl: kill ChildGone exception.
863 * cspi/*.[ch]: kill int return from ref / unref.
865 * cspi/spi_main.c (cspi_object_add_check): fold into
866 (cspi_object_add): here.
868 * cspi/spi_component.c (AccessibleComponent_getExtents):
869 handle exceptions elegantly.
871 * cspi/spi-private.h (cspi_check_ev_return),
872 (cspi_return_if_fail): impl.
874 * cspi/spi_accessible.c: use extensively.
875 (AccessibleStateSet_equals): add direct compare check.
877 * cspi/spi_selection.c: tolerate NULL objs, and check
878 exceptions before return.
880 * cspi/spi-util.c (cspi_warn_ev): rename to
881 (cspi_check_ev): this & don't pass ev in; no point.
883 2001-12-10 Michael Meeks <michael@ximian.com>
885 * test/test-simple.c: use putenv not setenv
886 (get_environment_vars): more chatty if you're not using
889 * test/simple-at.c: do the setenv so more people see the
892 2001-12-10 Bill Haneman <bill.haneman@sun.com>
895 Changed check of CORBA_environment on notification to be a warning
896 instead of an error for the moment, since we can recover from this
897 error when caused by a queued notification from a dead app.
900 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
901 used by all current implementors of AtkValue), and coerce to
902 CORBA_float. (Proper general case fix may require change to Value.idl).
904 2001-12-09 Bill Haneman <bill.haneman@sun.com>
908 * cspi/spi_accessible.c:
909 Documentation fixes: added user_data params to documentation for
910 listeners and callbacks.
912 * cspi/spi_accessible.c:
913 Changed AccessibleStateSet_compare to return a
914 StateSet rather than return the difference set into a third parameter.
917 2001-12-09 Bill Haneman <bill.haneman@sun.com>
920 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
921 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
925 Remove subdirectory po from SUBDIRS for now.
927 * at-bridge/bridge.c:
928 Beefed up a couple of debug printouts.
929 One-line fix for signal notification name formatting.
931 * libspi/accessible.c:
932 Added assertion to spi_accessible_new ().
934 * libspi/application.c:
935 Put #ifdef qualifiers around a printf.
938 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
940 * registryd/Makefile.am:
942 Replaces use of XML_I18N_MERGE_SERVER_RULE with
943 INTLTOOL_SERVER_RULE macro.
946 Added an event listener for several ATK signals, for
947 testing and debugging. Removed a few g_warnings.
948 Added test output if focussed item implements the Value interface.
950 * test/test-simple.c:
951 Added test_value () function (known not to pass at the moment, so
952 not actually called yet.
954 2001-12-08 Michael Meeks <michael@ximian.com>
956 * at-bridge/bridge.c (bridge_focus_tracker),
957 (emit_eventv): fix the same ref. leak.
958 (register_atk_event_listeners): don't leak.
960 * cspi/spi-listener-impl.c (cspi_event): more
961 protection from client code.
963 * test/test-simple.c (test_desktop): unref the app.
965 * test/Makefile.am: upd. TESTS.
967 * at-bridge/bridge.c (bridge_exit_func): release the registry.
969 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
971 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
973 * cspi/spi_registry.c: constify in strings.
974 (deregisterGlobalEventListenerAll): don't release the ref.
976 * cspi/spi.h: start removing redundant / conflicting
977 gtkdoc comments, making the API readable at a glance :-)
979 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
981 * test/keysynth-demo.c (keysynth_exit, main): upd.
983 * test/simple-at.c (main, simple_at_exit): upd.
985 * test/test-simple.c (unutterable_horror): kill.
986 (utterable_normal_derefs): kill.
987 (main): upd & do a setenv before gtk_init, so that we
988 can use memprof - and to save the pain of remembering
989 this, if we're running under memprof - don't exit.
991 * cspi/spi_main.c (SPI_exit): return exit status
993 (SPI_event_quit): impl.
994 (SPI_event_main): simplify.
995 (cspi_is_gnome_app): kill.
996 (SPI_init): kill isGNOMEapp arg.
998 * at-bridge/bridge.c (register_atk_event_listeners):
999 re-instate the unref.
1000 (bridge_exit_func): don't re-activate the registry,
1001 protect vs. theoretical re-entry, use the
1002 AT_BRIDGE_SHUTDOWN env. var to determine whether to
1003 assert a clean shutdown - for regression tests.
1005 2001-12-08 Abel Cheung <maddog@linux.org.hk>
1007 * configure.in: Comment out dummy i18n support for now,
1008 otherwise it fails to build.
1009 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
1010 EXTRA_DIST. They are missing in tarball.
1012 2001-12-07 Michael Meeks <michael@ximian.com>
1014 * util/magnifier.c: kill bonobo activation reg. race.
1016 * libspi/component.c
1017 (impl_accessibility_component_get_extents): make it match
1020 * libspi/registry.c (_registry_notify_listeners):
1021 re-remove X headers & reconcile conflicts.
1022 (spi_listener_struct_free): bad conflict resolve.
1023 (impl_accessibility_registry_register_application):
1024 more bad merging fixed.
1025 (impl_accessibility_registry_deregister_application): ditto.
1026 (spi_registry_new): ditto.
1027 (spi_registry_init): don't have an applications field.
1029 [ merge fixups2 branch to here ]
1030 2001-12-07 Michael Meeks <michael@ximian.com>
1032 * test/simple-at.c (report_focus_event),
1033 (report_focussed_accessible): remove g_warning debug.
1035 2001-12-07 Michael Meeks <michael@ximian.com>
1037 * test/test-simple.c (validate_tree): comment out some checks.
1038 (test_desktop): app now not registered idly - horay.
1040 2001-12-07 Michael Meeks <michael@ximian.com>
1042 * cspi/spi_registry.c
1043 (registerAccessibleKeystrokeListener): clean, stop it leaking
1044 great swathes of memory, and device event controller references.
1045 ensure we always pass valid sequences.
1046 (deregisterAccessibleKeystrokeListener): ditto.
1047 (generateKeyEvent): upd.
1049 * at-bridge/bridge.c (bridge_key_listener): handle
1050 registry dead exception gracefully.
1051 (bridge_focus_tracker, emit_eventv): free ev.
1053 * test/simple-at.c (report_focus_event): fix polarity.
1055 * libspi/application.c (notify_listeners): kill the ev
1056 argument, and make sure we init the ev we use.
1057 (spi_application_object_event_listener): split out a chunk
1058 (get_atk_object_ref): here & fixup.
1059 (reverse_lookup_name_for_toolkit_event): make const.
1060 (spi_application_toolkit_event_listener): fixup, kill leaks
1063 * at-bridge/bridge.c (register_atk_event_listeners):
1064 don't unref the noop object - causes grief.
1066 * libspi/registry.c: remove the X headers.
1067 turn off the debug churn.
1069 * libspi/accessible.c (spi_accessible_new_return): only
1070 release the ref if we are supposed to [doh]
1072 * test/simple-at.c (report_button_press, report_focus_event):
1073 guard vs. unexpected exit.
1075 * at-bridge/bridge.c (gtk_module_init): prune printf.
1076 (bridge_exit_func): fix app unref.
1078 * libspi/Makefile.am: don't install registry or desktop.h
1080 * libspi/*.h: update includes.
1082 * libspi/application.h: don't include ourself, or
1083 other redundant headers.
1085 2001-12-06 Michael Meeks <michael@ximian.com>
1087 * libspi/accessible.c
1088 (get_accessible_from_servant): impl.
1089 Upd. all CORBA impl.s to use it killing cut and paste.
1091 * cspi/spi_main.c (cspi_cleanup): guard vs. double
1093 (SPI_init): register atexit cleanup handler here.
1095 2001-12-06 Michael Meeks <michael@ximian.com>
1097 * at-bridge/bridge.c (gtk_module_init): g_error on
1098 activation exception
1100 2001-12-06 Michael Meeks <michael@ximian.com>
1102 * at-bridge/bridge.c (gtk_module_init): some sort of
1103 confusing merge clash - reverted.
1104 (bridge_idle_init): ditto.
1106 * test/test-simple.c (main, utterable_normal_derefs):
1107 merge from Bill - somehow not committed.
1109 2001-12-06 Michael Meeks <michael@ximian.com>
1111 * libspi/value.c (spi_value_class_init): upd.
1112 (spi_value_finalize): kill.
1114 * libspi/table.c (spi_table_finalize): kill.
1115 (spi_table_interface_new): upd.
1116 (spi_table_class_init): upd.
1117 (get_table_from_servant): impl.
1118 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1120 * libspi/selection.c (spi_selection_finalize): kill.
1121 (spi_selection_interface_new): upd.
1122 (spi_selection_class_init): upd.
1123 (get_selection_from_servant): impl.
1124 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1126 * libspi/relation.c (spi_relation_finalize): kill.
1127 (spi_relation_class_init, spi_relation_new): upd
1129 * libspi/image.c (spi_image_finalize): kill.
1130 (spi_image_class_init): upd.
1131 (spi_image_interface_new): upd.
1132 (get_image_from_servant): impl.
1133 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1135 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
1136 (spi_hyperlink_finalize): kill.
1137 (spi_hyperlink_new): upd.
1138 (get_hyperlink_from_servant): impl.
1139 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1141 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
1142 (spi_hypertext_finalize): kill.
1143 (spi_hypertext_class_init): upd.
1144 (get_hypertext_from_servant): impl.
1145 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1147 * libspi/editabletext.c (spi_editable_text_finalize): kill.
1148 (spi_editable_text_interface_new): upd.
1149 (get_editable_text_from_servant): impl.
1150 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1152 * libspi/text.c (get_text_from_servant): impl.
1153 All impls - update to use it killing more cut and paste,
1154 also fix bad string returns on duff args ( a somewhat
1155 impossible case to handle - but hey ).
1156 (spi_text_construct): impl.
1157 (spi_text_interface_new): upd.
1158 (spi_text_object_finalize): kill.
1160 * libspi/component.c
1161 (accessibility_component_object_finalize): kill.
1162 (spi_component_class_init): upd.
1163 (get_component_from_servant): impl. helper to kill cut & paste.
1164 (impl_accessibility_component_contains):
1165 (impl_accessibility_component_get_accessible_at_point):
1166 (impl_accessibility_component_get_position):
1167 (impl_accessibility_component_get_extents):
1168 (impl_accessibility_component_get_mdi_z_order):
1169 (impl_accessibility_component_get_layer):
1170 (spi_component_interface_new): upd.
1172 * libspi/action.c (spi_action_finalize): kill.
1173 (spi_action_class_init): upd. inherit from SpiObject.
1174 (spi_action_interface_new): upd.
1175 (get_action_from_servant): impl. helper to reduce cut & paste.
1176 (impl_getKeyBinding, impl_getName, impl_doAction),
1177 (impl_getDescription): Use it everywhere.
1179 * cspi/spi_main.c (get_live_refs): a pointer hash.
1180 (spi_object_hash, spi_object_equal): comment out.
1181 There are issues with CORBA object hashing that need
1184 * libspi/application.c (spi_application_init),
1185 (spi_application_new): upd.
1187 * libspi/accessible.c (spi_accessible_object_finalize): kill.
1188 (spi_accessible_class_init): upd.
1189 s/accessible/object/ in epv methods.
1191 2001-12-05 Bill Haneman <bill.haneman@sun.com>
1193 * at-bridge/bridge.c:
1194 Reorder the bridge initialization into the bridge gtk_module_init,
1195 an immediate call to bridge_register_app, and an idle_add for
1196 register_atk_event_listeners (the only code that *must* wait until
1197 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
1198 the activation, creates the application's Accessible object, and
1199 queues the bridge_idle_init function. Restored call to
1200 Accessibility_Registry_deregisterApplication().
1201 Prior to making this call we obtain a new reference to the
1202 registry, which is a temporary hack that helps us handle apps that
1203 shut down the bonobo mainloop before we get there.
1205 * libspi/registry.c:
1206 Fix string leakage in debug block, and don't segv if a an app
1207 dies before its event notifications have been propagated.
1210 Modify cspi_check_ev() to call g_warning() rather than g_error(),
1211 as stopgap measure until we get proper exception handling when
1212 objects die during or before interrogation.
1216 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
1217 Also changed default value of is_gnome_app to TRUE.
1220 * test/keysynth-demo.c:
1221 Changed use of SPI_init and SPI_event_main to reflect API change above.
1224 Made report_focus_event check the warning value from getName
1225 before reporting on focussed accessible; simplifies handling of
1226 notifications from dead objects.
1228 * test/test-simple.c: (Changes not in this patch since source is
1231 2001-12-05 Michael Meeks <michael@ximian.com>
1233 * registryd/registryd.c (main): protect against
1234 bonobo-activation startup race condition.
1236 * cspi/spi_main.c (cspi_object_add_check): cope
1237 with the exception elegantly.
1239 * idl/Accessible.idl: decl. ChildGone
1241 * libspi/desktop.c (spi_desktop_dispose): impl.
1242 (spi_desktop_class_init): upd.
1243 (spi_desktop_add_application),
1244 (spi_desktop_remove_application),
1245 (abnormal_application_termination): impl.
1246 (impl_desktop_get_child_at_index): re-impl.
1249 (impl_accessibility_registry_deregister_application),
1250 (impl_accessibility_registry_register_application):
1251 kill excessive debug clutter.
1253 * test/test-simple.c (test_misc): test some NULL
1254 tolerance. (main): upd.
1256 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
1257 implements no interfaces - so let's not crash.
1259 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
1261 * libspi/accessible.c (spi_accessible_new_return): impl.
1262 helper to calm the cut and paste, to cope with
1263 NULL AtkObjects effectively and efficiently, and to kill
1264 the referencing bugs.
1266 * libspi/table.c (impl_getAccessibleAt),
1267 (impl_getRowHeader, impl_getColumnHeader): upd.
1269 * libspi/hyperlink.c (impl_getObject): upd.
1271 * libspi/accessible.c
1272 (impl_accessibility_accessible_get_child_at_index): upd.
1274 * libspi/component.c
1275 (impl_accessibility_component_get_accessible_at_point): upd.
1277 * test/test-simple.c (test_editable_text, test_text): impl.
1280 * cspi/spi_editabletext.c
1281 (AccessibleEditableText_insertText): constify.
1283 * test/test-simple.c (focus_me): make more robust.
1285 * libspi/accessible.c: remove some printfs in methods that
1286 we test and work fine, so we can get a clean tree dump.
1288 * test/test-simple.c (validate_accessible),
1289 (validate_tree): make tree dumping pretty too.
1291 * at-bridge/bridge.c (bridge_signal_listener): upd. so
1292 it builds without debug on.
1294 * test/test-simple.c (validate_accessible): fix the most
1297 * cspi/spi_main.c (spi_object_release): leave the nicely
1298 blanked memory around if in debug mode.
1300 * cspi/spi-listener-impl.c (cspi_event): use add_check.
1302 [committed to fixups2]
1303 2001-12-05 Michael Meeks <michael@ximian.com>
1305 * libspi/editabletext.c
1306 (spi_editable_text_class_init): g_type_class_peek_parent,
1307 not interface peek - so we finalize cleanly.
1309 * libspi/accessible.c (spi_accessible_new): kill debug.
1311 * test/test-simple.c (validate_accessible): fix ref.
1312 leak, print strings before freeing them; sigh, comment a
1313 chunk out due to strangeness.
1314 (validate_tree): unref the child after use.
1316 * cspi/spi_component.c (AccessibleComponent_getLayer):
1317 add missing break statement, switch on zlayer not the
1318 uninitialized retval.
1320 * cspi/spi_main.c (cspi_object_add): add assert, local ref
1321 before (possibly re-entering) remote unref.
1323 * test/simple-at.c (main): unref the desktop.
1325 * cspi/spi_accessible.c (cspi_accessible_is_a): move
1328 * cspi/spi_main.c (cspi_accessible_is_a): here to
1329 isolate bonobo API usage more.
1331 * libspi/registry.c (impl_accessibility_registry_register_application):
1332 prune bogus comment.
1334 2001-12-04 Michael Meeks <michael@ximian.com>
1336 * test/test-simple.c (validate_tree): upd.
1337 IndexInParent check to make it more lucid.
1338 (validate_accessible): dump the tree.
1340 * libspi/accessible.c (de_register_public_ref),
1341 (get_public_refs): impl.
1342 (spi_accessible_new): make more efficient & intuitive.
1343 Now IndexInParent check works.
1345 2001-12-04 Michael Meeks <michael@ximian.com>
1347 * cspi/spi-util.h: remove.
1349 * cspi/spi.h: move SPI_freeString here
1351 * libspi/component.c (impl_accessibility_component_get_layer):
1353 (impl_accessibility_component_get_mdi_z_order): ditto,
1354 return -1 on error - is this ok ?
1356 * test/test-simple.c (test_application): impl.
1358 * cspi/spi_accessible.c (Accessible_getApplication),
1359 (Accessible_isApplication): impl.
1361 * libspi/registry.c (spi_listener_struct_free): release
1362 the CORBA reference too.
1364 * libspi/accessible.c
1365 (impl_accessibility_accessible_get_parent): fix ref leak.
1367 * libspi/registry.c (spi_registry_new): make the registry
1368 immortal - we don't want it to go away ever.
1370 * libspi/application.c
1371 (spi_accessible_application_finalize): impl. cleanup.
1373 * cspi/spi_registry.c
1374 (deregisterGlobalEventListenerAll),
1375 (deregisterGlobalEventListener),
1376 (deregisterAccessibleKeystrokeListener): fix ref leak.
1378 * cspi/spi_main.c (SPI_init): remove redundant ref.
1380 * test/test-simple.c (unutterable_horror): impl. to force a
1385 (impl_accessibility_registry_deregister_application): release
1386 the application when we de-register it.
1388 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1389 until we have the infastructure to get it right.
1391 2001-12-03 Michael Meeks <michael@ximian.com>
1393 * libspi/Makefile.am: only build eventlistener.[ch]
1395 * libspi/accessible.c
1396 (impl_accessibility_accessible_get_child_at_index): don't leak.
1398 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1399 before we hit the idle handler.
1401 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1402 debugging than exit.
1404 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1406 * libspi/listener.c (impl_notify_event): check source
1407 not NIL before unref.
1409 * libspi/registry.c (impl_registry_notify_event): ditto.
1411 * libspi/eventlistener.c
1412 (impl_accessible_event_notify_event): unref the source.
1414 * libspi/accessibleeventlistener.c
1415 (impl_accessible_event_notify_event): unref the source.
1417 * idl/Event.idl: remove 'hash_id' attribute - of no
1420 * libspi/application.c (notify_listeners): upd list
1422 (spi_application_object_event_listener),
1423 (spi_application_toolkit_event_listener): upd to do correct
1427 (_registry_notify_listeners): update.
1428 (parse_event_type): this method also leaks like a sieve.
1429 (impl_accessibility_registry_deregister_global_event_listener):
1430 fix ETYPE_WINDOW case.
1432 * libspi/application.c
1433 (impl_accessibility_application_register_object_event_listener):
1436 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1438 * libspi/hypertext.c (impl_getLink): ditto.
1440 * cspi/spi_main.c (cspi_object_add): remove
1441 bogus CORBA_Object_duplicate.
1443 * cspi/spi-listener-impl.c (cspi_event): dup/ref
1446 * cspi/spi_accessible.c
1447 (Accessible_getRelationSet): fix leak / referencing issue.
1449 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1450 (cspi_object_add, cspi_object_unref): upd.
1451 (spi_object_release, get_live_refs): impl.
1452 (cspi_cleanup): simplify.
1454 * *.[ch]: s/boolean/SpiBoolean/
1456 * cspi/spi_accessible.c (role_names): actualy order so it
1457 corresponds with the enum !
1459 * test/test-simple.c (test_roles): check some role strings
1460 vs. enums to detect offset errors.
1462 2001-12-01 Michael Meeks <michael@ximian.com>
1464 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1466 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1468 (Accessible_getChildAtIndex): use cspi_add_check so we
1469 check the ev before using a (possibly) invalid value.
1471 * libspi/accessible.c
1472 (impl_accessibility_accessible_get_parent): don't segv
1475 * at-bridge/bridge.c (gtk_module_init): upd.
1476 (bridge_property_event_listener): don't leak strings
1478 (bridge_state_event_listener),
1479 (bridge_property_event_listener): don't use a static
1480 buffer in case of recursive event emission &
1481 re-enterancy - split out the swathe of cut and paste
1483 (emit_eventv): and fix 2 ref leaks here & comply to the
1485 (bridge_register_app): rename to
1486 (bridge_idle_init): this and kill arg parsing, split
1487 various inits & bonobo-activation registration to module
1488 init time, kill referencing error.
1489 (bridge_exit_func): fix the same leak.
1490 (bridge_focus_tracker): don't leak event structures
1492 (bridge_signal_listener): more leakage and cut & paste
1494 (bridge_key_listener): return the result - FIXME is
1495 this polarity correct ?
1496 (accessibility_keystroke_from_atk_key_event): rename
1497 (accessibility_init_keystroke_from_atk_key_event): and stop
1499 (gtk_module_init): return a value - not that it is checked by
1501 (bridge_key_listener): register my horror at casting between
1502 IDL defined structs.
1503 (bridge_get_registry): kill - not used.
1505 * cspi/spi_accessible.c (Accessible_getRole): make return const.
1507 * test/test-simple.c (test_roles): impl.
1508 (test_desktop, validate_accessible, validate_tree): impl.
1510 * cspi/spi_accessible.c (role_names): fixup bogus
1511 MAX_ROLES setup, make constants const for efficient linkage
1512 (AccessibleRole_getName): conform to coding style, make
1515 2001-11-30 Michael Meeks <michael@ximian.com>
1517 * cspi/spi.h: add missing prototype.
1519 * libspi/registry.c (spi_listener_struct_new): fix sig.
1521 * test/Makefile.am: add test-simple
1523 * test/test-simple.c: add
1525 * test/test.sh: add.
1527 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1529 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1530 do it straight - since otherwise we often get an activation race.
1532 [ work before Bill duplicated a chunk of it ... ]
1533 2001-11-30 Michael Meeks <michael@ximian.com>
1535 * libspi/keystrokelistener.c
1536 (spi_keystroke_listener_class_init): fixup arg
1539 * libspi/eventlistener.c
1540 (spi_event_listener_class_init): ditto.
1542 * tests/test.sh: add.
1544 * cspi/spi-listener-impl.h: update macros.
1546 * cspi/spi-listener-impl.c
1547 (cspi_event_listener_remove_callback): add
1548 correct pre-conditions.
1550 * cspi/spi_main.c (SPI_exit): guard vs. double
1551 exits, exit the mainloop nicely.
1552 (SPI_event_main): make more sense.
1553 (SPI_init): move the atexit evilness here so we
1554 always do it (yuck).
1555 (SPI_event_main): upd.
1557 * test/simple-at.c: update for listener changes.
1559 * registryd/registryd.c (main): prune kruft.
1561 * libspi/libspi.h: upd.
1563 * libspi/eventlistener.[ch]: rename broken macros.
1565 * libspi/accessibleeventlistener.[ch]: remove.
1567 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
1569 * test/test-simple.c: Add - automated tests.
1571 * cspi/spi-listener-impl.c (cspi_event),
1572 (cspi_key_event): add user_data to invoke.
1573 (cspi_keystroke_listener_finalize): impl.
1574 (cspi_keystroke_listener_class_init): upd.
1577 (createAccessibleEventListener),
1578 (AccessibleEventListener_addCallback),
1579 (createAccessibleKeystrokeListener),
1580 (AccessibleKeystrokeListener_addCallback): upd.
1582 * libspi/deviceeventcontroller.c
1583 (spi_device_event_controller_check_key_event): add public proto.
1586 (impl_accessibility_registry_deregister_global_event_listener):
1587 always init listeners.
1588 (_registry_notify_listeners): yes it is.
1590 * cspi/spi-listener-impl.c (cspi_key_event):
1592 (cspi_event_listener_finalize): impl.
1593 (cspi_event_listener_class_init): hook up.
1594 (event_handler_new, event_handler_free),
1595 (event_list_remove_by_callback): impl.
1596 (cspi_event_listener_remove_callback),
1597 (cspi_keystroke_listener_remove_callback),
1598 (cspi_keystroke_listener_add_callback),
1599 (cspi_event_listener_add_callback): upd.
1601 * libspi/keystrokelistener.c
1602 (keystroke_listener_object_finalize): kill
1603 (spi_keystroke_listener_class_init): upd.
1604 (spi_keystroke_listener_add_callback),
1605 (spi_keystroke_listener_remove_callback): kill,
1607 (impl_key_event): prune drasticaly.
1609 * libspi/eventlistener.c
1610 (spi_event_listener_add_callback),
1611 (spi_event_listener_remove_callback): kill, use
1613 (impl_accessible_event_notify_event): upd.
1614 (spi_event_listener_object_finalize): remove.
1616 * libspi/Makefile.am: use eventlistener.[ch]
1618 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1620 * libspi/registry.c (_registry_notify_listeners):
1621 Changed listener loop iteration to use preferred convention.
1622 Got rid of string memory leaks caused be calling g_strconcat
1623 inside function calls.
1625 * libspi/registry.c (parse_event_type):
1626 Stopped g_strconcat memory leaks, free the g_strsplit return,
1627 g_strdup the split pieces when used, etc.
1629 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1632 Change method 'compare' to return a 'difference set' rather than
1633 taking a StateSet as an out parameter (more Java-friendly).
1635 * idl/Accessible.idl:
1636 Added CORBA struct 'BoundingBox', to faciliate API changes below:
1638 * idl/Component.idl:
1640 Changed methods 'getExtents' and 'getImageExtents' in these
1641 interfaces to return a BoundingBox structure.
1642 (getPosition and getSize are redundant and possibly should be
1643 removed, rather than creating a corresponding Point struct.)
1645 * cspi/spi_component.c:
1646 Modify implementation of getExtents to reflect the above IDL
1651 Add (missing) AccessibleImage_getExtents () API.
1653 * docs/reference/cspi/at-spi-cspi-sections.txt:
1654 Added AccessibleImage_getImageExtents () to docs.
1656 2001-12-03 Bill Haneman <bill.haneman@sun.com>
1658 * idl/Component.idl:
1659 Added two methods, getLayer () and getMDIZOrder (), to reflect
1660 the new ATK methods atk_object_get_layer and
1661 atk_object_get_mdi_z_order. (Which arguably should be part of the
1662 AtkComponent API and AtkObject). Also added an enum,
1663 ComponentLayer, for the first method's return value.
1665 * libspi/component.c:
1666 Added implementations for these methods.
1668 * cspi/spi_component.c:
1670 Added cspi binding methods for above,
1671 AccessibleComponent_getLayer() and
1672 AccessibleComponent_getMDIZOrder().
1673 Added cspi enum 'AccessibleComponentLayer'.
1675 * docs/reference/cspi/at-spi-cspi-sections.txt:
1676 Added above methods to docs.
1680 Changed typedef for 'boolean' type (and all references to it) to
1681 SPIBoolean, to avoid keyword clashes with C++.
1684 Changed usages of 'boolean' to SPIBoolean.
1686 * test/keysynth-demo.c:
1687 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
1688 app), except where SPIBoolean is required by the callbacks API.
1690 2001-12-02 Bill Haneman <bill.haneman@sun.com>
1692 * cspi/spi_registry.c:
1693 Removed obsolete X event loop for passive keygrabs (which now
1696 * registryd/registryd.c:
1697 Removed unnecessary call to gdk_init() [cruft]. This also allows
1698 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
1701 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1703 * docs/reference/cspi:
1704 Included docs for SPI_freeString in generated documentation.
1707 Renamed spi_freeString to SPI_freeString, for consistency. Added
1708 documentation for this function.
1711 Renamed spi_freeString to SPI_freeString, for consistency.
1712 Removed obsolete method declaration string_from_corba_string.
1714 * test/keysynth-demo.c:
1715 Small tweak to comments.
1718 Stopped leaking the strings returned from CSPI.
1720 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1722 Merged Michael's branch (see his ChangeLog entries below).
1724 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
1725 bridge is alive, release on exit.
1727 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
1728 Fix type check macro.
1731 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
1734 Added is_gnome_app static, and method cspi_is_gnome_app(),
1735 so we can call the appropriate shutdown routine at exit in SPI_exit.
1737 * cspi/spi_main.c (cspi_object_ref):
1738 Duplicate the corba object passed in, since we're keeping it around.
1740 * cspi/SPI_exit.c, cspi_cleanup:
1741 Moved the releasing of the live refs to its own function, so we
1742 can put it in g_atexit (). Call the appropriate shutdown API
1743 depending on whethe calling client is a gnome app or not
1744 (bonobo_main_quit or CORBA_ORB_shutdown).
1746 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
1747 Unref the listener when this method is called, after
1748 deregistration. Updated the API docs to note this behavior.
1750 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
1751 Bugfixes: Ref the bonobo object when returning a parent or child
1752 reference, or an AccessibleRelation. Generally made sure
1753 BonoboObject refcount is incremented whenever we return an
1756 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
1757 Fixed typo/bug in signal declaration.
1759 * libspi/accessibleeventlistener.h:
1762 * libspi/application.c (spi_application_new):
1763 Fixed leak in initialization.
1766 Remembered to increment bonobo-object refcount when returning
1767 children (applications) from desktop object.
1768 Added (empty) finalize method.
1770 * libspi/deviceeventcontroller.c:
1771 Hold a ref to listeners inside DEControllerKeyListeners.
1772 Added dec_key_listener_free() method. Use prepend instead of
1773 append in key_listener list. Fixed some refcount madness and
1774 leaks in the listener registration/deregistration - deregistration
1775 now calls dec_key_listener_free() on listeners, and on the
1776 temporarily constructed dec_key_listener() used to perform the search/match.
1778 * libspi/hypertext.c (spi_hypertest_finalize):
1779 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
1780 class. Also fixed spi_hypertext_interface_new() and
1781 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
1783 * libspi/hypertext.h:
1784 Removed pointless and duplicate AtkObject pointer from
1787 * libspi/keystrokelistener.c:
1788 Fixed incorrect type of keystroke_listener_parent_class,
1789 renamed keystroke_listener_object_finalize to
1790 spi_keystroke_listener_object_finalize.
1791 Fixed typo in signal declaration
1792 (spi_keystroke_listener_class_init).
1794 * libspi/registry.c:
1795 Added funcsions spi_listener_struct_new() and
1796 spi_listener_struct_free() to help with memory management issues.
1797 We also now use these methods instead of gnew + poking stuff into
1798 the struct, and to decrement listener counts/free the listeners
1799 when deregistering them.
1800 Fix more refcount bugs in getDesktop() and
1801 getDeviceEventController().
1804 De-ref the desktop after enumerating the applications. Explicitly
1805 decrement the refcounts on the created listeners on exit (using
1806 _unref for keystroke listeners, and via the
1807 deregisterGlobalEventListenerAll command for other event
1810 2001-11-27 Michael Meeks <michael@ximian.com>
1812 * cspi/spi-listener.h: fixup enum.
1814 2001-11-27 Michael Meeks <michael@ximian.com>
1816 * cspi/spi-listener-impl.c (cspi_event_listener_new),
1817 (cspi_keystroke_listener_new): Use the cspi variants.
1819 2001-11-26 Michael Meeks <michael@ximian.com>
1821 * test/keysynth-demo.c: fix 2 compile warnings, missing
1824 * test/simple-at.c (report_focussed_accessible),
1825 (report_focus_event, report_button_press),
1826 (check_property_change, is_command_key),
1827 (report_ordinary_key_event, report_command_key_event): upd.
1829 * util/mag_client.h: include pre-requisites.
1831 * libspi/accessibleeventlistener.c
1832 (spi_event_listener_object_finalize): free any lingering
1835 * libspi/keystrokelistener.c
1836 (keystroke_listener_object_finalize): ditto.
1838 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1839 callbacks, with cspi types.
1841 * cspi/spi_event.c (createAccessibleEventListener): chain to
1842 (AccessibleEventListener_addCallback): here.
1843 (createAccessibleKeystrokeListener): chain to
1844 (AccessibleKeystrokeListener_addCallback): here.
1846 * libspi/keystrokelistener.c
1847 (spi_keystroke_listener_class_init): add signal.
1848 (impl_key_event): emit the event.
1849 (boolean_handled_accumulator): impl.
1850 (marshal_BOOLEAN__POINTER): add, gack.
1852 * libspi/accessibleeventlistener.c
1853 (spi_event_listener_class_init): add signal.
1854 (impl_accessible_event_notify_event): emit the signal &
1855 make the loop efficient.
1856 (spi_event_listener_add_callback): prepend the callback.
1858 * libspi/accessibleeventlistener.h: add an 'event' signal,
1859 decl type on callback.
1861 * libspi/keystrokelistener.h: ditto.
1863 * cspi/spi-listener.h: make methods typesafe and
1864 make them use the new event typedefs.
1866 * test/simple-at.c (report_focussed_accessible):
1867 include mag_client.h
1868 Use *(void *)text_interface not the other thing.
1870 * configure.in: add gtk to registryd bits - since we use
1873 * util/magnifier.c: include libbonobo.h
1875 2001-11-25 Bill Haneman <bill.haneman@sun.com>
1877 * test/keysynth-demo.c:
1878 Turned this into a simple scanning keyboard, to demonstrate the
1879 use of g_timeout_add () as a means of creating timers for
1880 scanning, and the use of GtkStyle for visually indicating when
1881 virtual keyboard elements are selected.
1883 keysynth-demo now listens to any keyboard keys with zero-valued
1884 keycodes (i.e. 'unused' keys) and interprets them as
1887 Reworked the shiftlatch code so that shift-down state isn't held
1888 for long periods (it's only synthesized immediately prior to
1889 the keysynth event it's modifying). Note that shiftlatch in this
1890 demo is a convenience, not intended to take the place of AccessX
1891 which is the better choice for getting 'sticky' modifier keys.
1893 * libspi/deviceeventcontroller.c:
1894 * at-bridge/bridge.c:
1895 * cspi/spi_registry.c:
1896 Removed some debug print stuff, and put other verbosity in #ifdef
1901 Implemented some more of the magnifier IDL for the simple
1902 magnifier: namely, getZoomRegionParams.
1903 Added mag_x and mag_y members to MagnifierData struct, aid of this
1905 Added GtkWindow::realize signal handler to magnifier, to keep it
1906 from receiving keyboard focus from the WM.
1908 2001-11-23 Mark McLoughlin <mark@skynet.ie>
1910 * cspi/spi-private.h: my guess at what michael forgot
1911 before he ran off to NZ :-)
1913 2001-11-23 Michael Meeks <michael@ximian.com>
1915 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
1916 comment out non existant method invoke so we link.
1918 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
1919 use bonobo_exception_get_text for more friendly warnings.
1921 * cspi/spi.c (Obj_Add): move into spi_main & rename
1922 spi_object_add; kill spi.c
1924 * cspi/spi_registry.c
1925 (deregisterGlobalEventListener),
1926 (deregisterGlobalEventListenerAll),
1927 (registerGlobalEventListener): fix exception leaks.
1929 * cspi/spi_main.c (spi_exception): impl. helper, so we
1930 don't leak exceptions.
1932 * cspi/spi_selection.c
1933 (AccessibleSelection_deselectSelectedChild): return the
1936 * cspi/spi_main.c (spi_ev): impl; hack - gack.
1937 (spi_registry): ditto.
1938 (SPI_init): guard against double inits.
1940 * cspi/*.c: use spi_ev (), and spi_registry () where
1941 appropriate - a temporary hack until we have something
1942 better. Use spi_object_add
1944 2001-11-22 Michael Meeks <michael@ximian.com>
1946 * cspi/Makefile.am: re organise, install the headers.
1948 * cspi/*.h: add G_BEGIN/END_DECLS
1950 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1953 Added non-preemptive keylistener for key events with no modifiers
1954 and shift-only modifier.
1956 * libspi/keystrokelistener.c:
1957 Removed some verbose diagnostics printout.
1959 * cspi/spi_registry.c:
1960 Fixed a bug that caused all key listeners to be registered as
1963 * libspi/deviceeventcontroller.c:
1964 Fixed bug that caused XGrabKey (preemptive key grab) to be called
1965 for non-preemptive key masks.
1968 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1970 * docs/reference/idl/at-spi-idl-docs.sgml:
1971 * docs/reference/idl/at-spi-idl-sections.txt:
1972 * docs/reference/idl/at-spi-idl-overrides.txt:
1973 Added missing files.
1975 * docs/reference/Makefile.am:
1976 removed idl from SUBDIRS until we can figure a way to get gtk-doc
1977 to scan the IDL files :-(
1982 Added .cvsignore files.
1984 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1986 * libspi/deviceeventcontroller.c:
1987 * libspi/keystrokelistener.c:
1989 * cspi/spi_registry.c:
1990 Added filters for KeySets, KeyEventSeq, and event types to key
1991 event dispatching, so listeners should only receive those events
1992 that they requested :-)
1994 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1999 * docs/reference:Makefile.am:
2000 * docs/reference/cspi:
2001 * docs/reference/cspi:Makefile.am:
2002 * docs/reference/cspi:tmpl:
2003 * docs/reference/cspi:tmpl:*.sgml:
2004 * docs/reference/idl:
2005 * docs/reference/idl:Makefile.am:
2006 * docs/reference/idl:at-spi-idl-sections.txt:
2007 * docs/reference/idl:at-spi-idl-docs.sgml:
2008 * docs/reference/idl:tmpl:
2009 * docs/reference/idl:tmpl:*.sgml:
2011 Restructured docs directory to allow separate 'reference' docs
2012 section, and forked idl and cspi docs. Added the sgml template
2013 files to CVS. Added the first sections/structural sgml for the
2016 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
2018 * configure.in, libspi/Makefile.am: find libXtst.
2020 2001-11-21 Michael Meeks <michael@ximian.com>
2022 * test/accessx-gui.c: s/spi_value/value/ - doh.
2024 * libspi/base.[ch]: add.
2026 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2028 * idl/Accessible.idl:
2029 * idl/Application.idl:
2032 Started gtk-doc cleanup on IDL.
2034 * libspi/deviceeventcontroller.c:
2035 Added and connected non-preemptive key notification from the
2036 toolkits (in addition to the pre-emptive support from XServer
2037 which we had before, but which causes 'focus flashing'). Filters
2038 are presently limited to key modifiers and global/non-global,
2039 KeySets are presently ignored, as are KeyEvent masks.
2041 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
2042 structs into the persistant structure rather than just storing
2043 pointers to things that might not persist across servant
2046 The XGrabKey call now does async keygrabs, because synchronous
2047 ones were deadlocking with GDK_event code in a very nasty way.
2049 Added boolean to internal method notify_keylisteners, to indicate
2050 whether the event came from the 'toolkit source' or the 'global
2051 (XServer) source' - this is used in the notification process to
2052 determine which listeners to send the event to.
2054 deviceeventcontroller.c is now warning-free.
2056 * libspi/registry.c:
2057 Fixed regression in application de-registration.
2058 Also fixed some really brain-dead weirdness having to do with
2059 event dispatching - event structs are now duplicated before being
2060 re-marshalled in the dispatch to listeners. This also fixes a
2061 Solaris build problem.
2064 2001-20-11 Michael Meeks <michael@ximian.com>
2067 (impl_accessibility_registry_deregister_global_event_listener):
2070 * libspi/deviceeventcontroller.c
2071 (spi_device_event_controller_check_key_event): return
2072 FALSE on no virtual method.
2074 * libspi/*..h: make includes work on a correctly pathed install.
2076 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
2078 * libspi/application.h: kill unused ( and whacked out )
2079 gboolean *spi_application_set_id (AtkObject *app, long id);
2081 2001-20-11 Michael Meeks <michael@ximian.com>
2083 * libspi/*.[ch]: further convert to bonobo's type func
2084 macros, remove redundnant casts etc.
2086 * libspi/text.c s/accessibility_text/spi_text/g,
2087 re-order to de-cruft.
2089 * libspi/hypertext.c: re-order to kill a huge slew
2090 of redundant forward decls.
2092 * libspi/relation.c: ditto.
2094 * libspi/image.c: ditto.
2096 * */.cvsignore: update
2098 2001-20-11 Michael Meeks <michael@ximian.com>
2100 * libspi/deviceeventcontroller.c
2101 (_controller_register_with_devices): use g_getenv,
2102 kill stdlib.h include.
2104 * libspi/keystrokelistener.c
2105 (spi_keystroke_listener_get_type): kill
2106 (spi_keystroke_listener_class_init),
2107 (spi_keystroke_listener_init): rename to this.
2109 * libspi/text.c (impl_getAttributes): fix warning / bug.
2111 * libspi/*.[ch]: more headers, includes and over commenting.
2113 2001-20-11 Michael Meeks <michael@ximian.com>
2115 * libspi/*.[ch]: fixup headers, includes and over commenting.
2117 * libspi/image.c (impl__get_imageDescription): const
2118 correctness warning fix. remove redundant casting.
2120 * libspi/table.c (impl_getRowDescription): ditto.
2121 (impl_getColumnDescription): ditto.
2123 * libspi/libspi.h: add.
2125 2001-19-11 Michael Meeks <michael@ximian.com>
2127 * libspi/editabletext.c (impl_setAttributes): fix warnings.
2129 * libspi/component.c (accessibility_component_get_type):
2130 rename to (spi_component_get_type): and macroify.
2131 (accessibility_component_init): rename to
2132 (spi_component_init): this
2133 (accessibility_component_class_init): rename to
2134 (spi_component_class_init): this
2136 * libspi/action.c (spi_action_get_type): kill, use the macro.
2138 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
2141 * libspi/application.c (spi_application_object_event_listener),
2142 (impl_accessibility_application_register_object_event_listener):
2143 warning fixes / const understanding updates.
2145 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
2148 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2150 * libspi/spi_accessible.c: Added docs and C bindings for
2151 AccessibleStateSet. (No implementations yet). Documentation
2152 coverage for C bindings now 100%. Made docs for event listeners
2157 boolean notifyListenersSync (in DeviceEventListener listener,
2158 in DeviceEvent event);
2160 oneway void notifyListenersAsync (in DeviceEventListener listener,
2161 in DeviceEvent event);
2163 Added DeviceEventListener and DeviceEvent structs (may deprecate
2164 KeyStroke and KeystrokeListener in favor of this generic
2165 event/listener framework for devices).
2167 * libspi/deviceeventcontroller.c:
2169 Changed some key listener code to take masks, etc., and paved the
2170 way for integration of toolkit/non-preemptive key events. Changed
2171 signatures of some internal methods.
2173 * at-bridge/bridge.c:
2174 Fixed regression connecting to interface signals, apparently
2175 caused by GTK+ changes.
2177 Added an internal bridge_state_listener to deal with
2178 property-change:accessible-state signals.
2180 Changed the key_listeners GList to store structs (including masks,
2181 etc.) instead of just CORBA_Objects (required for full
2182 implementation of key listener API).
2184 Connected the bridge to all currently supported Atk signals.
2185 Events now supported:
2186 object:property-change
2187 object:property-change:accessible-name
2188 object:property-change:accessible-state
2189 object:property-change:accessible-description
2190 object:property-change:accessible-parent
2191 object:property-change:accessible-value
2192 object:property-change:accessible-role
2193 object:property-change:accessible-table-caption
2194 object:property-change:accessible-table-column-description
2195 object:property-change:accessible-table-column-header
2196 object:property-change:accessible-table-row-description
2197 object:property-change:accessible-table-row-header
2198 object:property-change:accessible-table-summary
2199 object:children-changed
2200 object:visible-data-changed
2201 object:selection-changed
2202 object:text-selection-changed
2204 object:text-caret-moved
2206 object:row-reordered
2208 object:column-inserted
2209 object:column-reordered
2210 object:column-deleted
2211 object:model-changed
2213 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2215 * libspi/hyperlink.c,h:
2216 Fixed some broken stuff in hyperlink.
2218 * libspi/relation.h:
2219 * libspi/relation.c:
2220 * cspi/spi_accessible.c:
2221 Initial implementations of AccessibleRelation methods, and docs.
2223 * libspi/accessible.c:
2224 Fixed a bug that caused SEGV if an accessible
2225 object's description is NULL, and a client
2226 requests it. An empty string is now returned.
2228 * cspi/spi_editabletext.c:
2229 * cspi/spi_hypertext.c:
2231 * cspi/spi_hyperlink.c:
2235 Doc coverage now 95%.
2237 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2239 One last namespacing revision:
2240 * libspi/accessibleeventlistener.[ch]:
2241 Renamed SpiAccessibleEventListener to SpiEventListener,
2242 (no need for two namespaces ;-)
2244 And lots of documentation fixes:
2246 * docs/at-spi-docs.sgml:
2247 Fixed 'underscore vs. hyphen' bug that was preventing
2248 the gtk-doc API docs from being automatically generated.
2251 * cspi/spi-listener.h
2253 * cspi/spi_accessible.c
2255 * cspi/spi_application.c
2256 * cspi/spi_component.c
2257 * cspi/spi_editabletext.c
2259 * cspi/spi_hypertext.c
2261 * cspi/spi_registry.c
2262 * cspi/spi_selection.c
2266 * docs/at-spi-docs.sgml
2267 * docs/at-spi-sections.txt
2269 Added and fixed up gtk-doc documentation in cspi.
2271 Interfaces now (fully) documented (subject to revision and enhancement):
2273 Event Listener Support
2275 AccessibleApplication
2279 AccessibleEditableText
2286 AccessibleRelationSet
2291 2001-14-11 Bill Haneman <bill.haneman@sun.com>
2293 * at-bridge/bridge.c:
2294 Initial work for toolkit-level key snooper connection by bridge.
2299 New typedefs and fixes to support new namespacing, and cleaner
2300 separation of cspi bindings from libspi bonobo implementation.
2301 Removed inconsistent and extraneous Spi* namespace prefix that
2302 had crept into cspi headers.
2303 Lots of comment fixes that sed had missed.
2305 * cspi/spi-roletypes.h:
2306 * cspi/spi-statetypes.h:
2307 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
2308 to AccessibleRoleType.
2310 * libspi/accessibleeventlistener.h:
2311 Fixed minor namespacing weirdness.
2313 * libspi/deviceeventcontroller.c:
2314 Reordered some internal API for device listeners.
2315 Changed the key registry final boolean to 'is_system_global'
2316 rather than 'is_synchronous', which is more descriptive of its
2318 Added spi_device_event_controller_new().
2319 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
2321 * libspi/keystrokelistener.[ch]:
2322 Namespaced KeystrokeListener to SpiKeystrokeListener.
2323 Changed uses of keymasks to use SPI_ prefix, and did other
2326 * libspi/keymasks.h:
2327 Namespaced keymask constants with SPI_ prefix.
2329 * libspi/registry.c:
2330 Some warning fixes, and knock-on fixes from namespace changes.
2333 Added rules for accessx-gui test program.
2335 * test/accessx-gui.c:
2336 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2337 utility. It doesn't actually use at-spi, but it's still cool and
2340 * test/keysynth-demo.c:
2344 Fixes so that these test clients work properly with the namespaced
2345 libraries. (Incompletely tested for technical reasons, fixes may follow)
2348 2001-13-11 Michael Meeks <michael@ximian.com>
2350 * libspi/application.c
2351 (impl_accessibility_application_get_version),
2352 (impl_accessibility_application_get_toolkit_name):
2354 (impl_accessibility_application_set_id),
2355 (impl_accessibility_application_get_id): remove
2356 redundant casting code.
2358 * libspi/action.c (impl_getDescription): fix warnings.
2360 * libspi/accessible.c
2361 (impl_accessibility_accessible_get_parent),
2362 (impl_accessibility_accessible_get_child_at_index),
2363 (impl_accessibility_accessible_get_state),
2364 (impl_accessibility_accessible_get_relation_set):
2365 warning fixes & include action.h
2367 2001-13-11 Michael Meeks <michael@ximian.com>
2369 * *.[ch] fix bits I screwed up:
2371 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2372 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2374 2001-13-11 Michael Meeks <michael@ximian.com>
2376 * *.[ch] Namespace libspi into spi_ and Spi.
2378 2001-13-11 Michael Meeks <michael@ximian.com>
2380 * Makefile.am: dist & install at-spi-1.0.pc
2382 * libspi/Makefile.am: install into at-spi-1.0
2384 * idl/Makefile.am (idldir): install into at-spi-1.0
2386 * at-spi-1.0.pc.in: add.
2388 * configure.in: build it.
2390 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2392 * test/keysynth-demo.c:
2393 Use a 'realize' signal-handler to set the WM properties for
2394 the virtual keyboard, rather than making it a "POPUP" type
2395 override-redirect window (thanks to anders carlsson for that
2398 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2401 * test/keysynth-demo.c:
2402 Added new test of key synthesis, which creates a simple
2403 (mouse-operated) onscreen keyboard. It inserts key events into
2404 the currently-focused window, thus it does not grab keyboard focus
2407 * cspi/spi_registry.c:
2408 Added C binding for AT-SPI generateKeyEvent.
2410 * libspi/deviceeventcontroller.c:
2411 Added call to XFilterEvent so that key listener works with XIM (we
2412 hope). Added event_synth_type to generateKeyEvent, so that we can
2413 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2414 synthesize a press/release pair for KeySyms.
2416 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2418 * libspi/Makefile.am:
2419 * registryd/Makefile.am:
2420 (temporary) hack to include libXtst in libspi and registryd.
2421 (Needed for keystroke synthesis, see below).
2424 Improved API for registerKeystrokeListener, in accordance with
2425 discussions with Gnopernicus team and X server research.
2427 * libspi/registry.c:
2428 * libspi/deviceeventcontroller.c:
2429 * libspi/accessible.c:
2430 * libspi/keystrokelistener.c:
2431 Changes and fixes to support keylisteners for potentially
2432 consumed key events (that is, 'passive grabs').
2433 Added implementation for generateKeyEvent() [untested].
2436 Changes to registerKeystrokeListener() API, as above.
2437 Added deregisterGlobalEventListenerAll(), and
2438 deregisterKeystrokeListener(), which are needed for clean exit of
2440 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2441 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2443 * cspi/spi_registry.c:
2444 Added implementations of function prototypes mentioned above.
2446 * registryd/registryd.c:
2447 Added the key listener event source as a g_timeout(), to allow
2448 receipt of key events that are not caught by GDK (since GDK
2449 doesn't support passive keygrabs, this was necessary).
2452 Changed to attach a keylistener to 'Alt' keys, and
2453 respond to the following keycommands: Alt-M (toggle magnifier);
2454 Alt-F (toggle speech); Alt-Q (quit).
2455 Added an exit routine to deregister the listeners, and a key
2456 listener that prints some key info to the console when a key
2457 matches the listener mask (and is thus received by the listener).
2459 * util/idl/Magnifier.idl:
2460 Changes to magnifier API to support multiple zoom regions,
2461 non-uniform scaling in x and y, markDirty, and a host of other
2462 features that would be useful to magnification.
2465 * util/mag_client.c:
2466 * util/mag_client.h:
2467 * util/mag_control.c:
2469 Source code changes to support the above IDL changes.
2472 As above, and also changes to use a (slower) generic conversion
2473 path for colormap conversions, since the fast RGB conversions have been
2474 reported to fail for 16-bit displays.
2476 2001-10-26 Michael Meeks <michael@ximian.com>
2478 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2480 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
2482 * at-bridge/Makefile.am: fix LDFLAGS.
2484 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2486 * at-bridge/bridge.c:
2487 Re-worked listeners for toolkit events, now we have signal
2488 and property listeners. Added a private method
2489 register_atk_event_listeners(), which registers with the
2490 various atk and gtk signals we need to monitor in order to emit
2492 Added emission hook for AtkObject:property-change events, to
2493 support the 'property listeners'.
2494 Fixed some alloc()s of Accessibility_Event structs to use CORBA
2497 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2498 which emit warnings and exit, respectively, if CORBA errors occur
2499 during remote calls, and we now use these methods to check most of
2500 our CORBA calls in the C bindings.
2502 * cspi/spi_accessible.c:
2503 Changed AccessibleSelection_refSelectedChild() to
2504 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2505 now increment refcounts.
2507 * cspi/spi_component.c:
2508 Fixed some long pointer casts (dangerous!) to pass pointers to
2509 CORBA_longs of the proper type to the CORBA stubs, and copy the
2510 data into the longs that were passed into the C bindings code.
2512 * at-bridge/bridge.c:
2514 * libspi/accessible.c:
2515 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2516 hyperlinks, AtkHyperlink is an object type.
2518 * libspi/application.c:
2519 Added various conversions to and from "generic" event types and
2520 atk-specific types; this is really part of the 'bridge'
2521 implementation but is valid for all AtkObject-based accessibility
2524 * libspi/editabletext.c:
2525 Fixed nasty bug wherein editable text's finalize method was
2526 unref'ing tha AtkObject reference that the text parent class was
2527 about to unref _again_. There was also a nasty inheritance bug
2528 that meant that the AccessibleEditableText class was corrupt.
2530 * libspi/selection.c:
2531 Provided implementations for some selection API that was broken.
2533 * idl/Application.idl:
2534 Added registerObjectEventListener () method.
2537 Fixed a number of return values that were Bonobo_Unknowns from
2538 bonobo_object_corba_objref(), which I
2539 forgot to dup before returning. Changed instances of
2540 bonobo_object_corba_objref (bonobo_object(o)) to
2541 BONOBO_OBJREF(o), for concision and clarity.
2543 <2001-10-13 Louise Miller <louise.miller@sun.com>
2545 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2546 idl/Event.idl, idl/Registry.idl
2547 Changed these files to include Bonobo_Unknown.idl instead
2550 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
2552 * libspi/component.c libspi/component.h:
2553 Fixed typo. Added assertions for object checks in
2554 AccessibleComponent code.
2556 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2558 * idl/Accessible.idl:
2559 Added 'isEqual (Accessible *object)'
2560 method for Accessible. (Not Yet Implemented).
2563 Changed signature of registerKeystrokeListener() to
2564 take a KeySet and KeyEventSeq so that specific keys and event
2565 types could be requested for monitoring, and added a flag
2566 is_synchronous so that either synchronous or asynchronous
2567 notification could be requested. (However this is not all
2568 implemented yet). This also meant adding two new typedefs,
2569 KeyEventSeq and KeySet.
2572 Added two new relations, RELATION_TOOLTIP_FOR and
2573 RELATION_LEAFNODE_OF.
2576 Added new state, STATE_HAS_TOOLTIP.
2578 * libspi/text.c, editabletext.c:
2579 Added new assertions to all casts of bonobo-objects from
2580 CORBA servants, to prevent Text API calls on non-text objects.
2581 Changed suspect casts of int-pointer types, so that we
2582 always send a valid CORBA_long pointer to the CORBA APIs that use
2583 in/out long parameters. We then have to copy from the CORBA_long
2584 into the regular long or int for return to the C bindings, or
2585 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
2588 * libspi/deviceeventcontroller.c:
2589 Cleaned these sources up.
2591 Changed return type for getCharacterAtOffset to
2592 CORBA_unsigned_long, to allow for 32-bit characters.
2595 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
2599 Fixed 'make dist' so that distro compiles...
2600 * libspi/keymasks.h:
2602 * cspi/spi-listener.c:
2603 KeystrokeListenerCB now returns a boolean.
2605 Added KeyEventType struct, and KeyStroke.
2606 Also added createKeystrokeListener(),
2607 KeystrokeListener_addCallback(),
2608 KeystrokeListener_removeCallback(), and added a keymask to
2609 registerKeystrokeListener().
2610 * cspi/spi_accessible.c:
2611 Changed numerous return types for interfaces from
2612 AccessibleComponent to Accessible<InterfaceName>; this was
2613 probably a cut-and-paste error.
2615 Implementations of new KeystrokeListener api (from spi.h,
2618 Changes to key modifier mapping.
2619 Created ControllerEventMask struct.
2620 Made DeviceEventController derive from Bonobo::Unknown.
2622 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
2623 * libspi/deviceeventcontroller.c:
2624 Added a number of new internal (private) methods.
2625 * libspi/editabletext.c:
2626 * libspi/editabletext.h:
2627 Fixed a number of bugs related to the fact that
2628 editabletext inherits from text. Fixed the EditableText struct,
2629 the init() call, and use correct casts when calling Text methods
2630 from an EditableText object. Removed (duplicate) atko from the
2631 EditableText structure, we use the one in the parent Text
2632 structure via the casts mentioned above.
2633 * libspi/keystrokelistener.[ch]:
2634 * libspi/registry.c:
2635 Changes in support of keyboard handling (above).
2637 Keyboard handling, though partly functional, is still not
2638 recommended for at-spi client use as there is considerable
2639 work yet to be done.
2642 Changed some places where pointers to various int types
2643 are cast to be pointers to CORBA_long types and vice-versa:
2644 pointer casting is not safe so we pass pointers of the correct
2645 types and then cast the result before putting it into the target
2648 * libspi/text.h: minor typos corrected.
2650 We now speak not only the name of a Text element, but the
2651 first sentence of its content, when it receives focus.
2652 I also changed the text compression to 75% from 50%.
2653 * util/Accessibility_Util.server.in:
2654 Changed the default magnifier type to be a 3x vertical
2655 splitscreen magnifier (was previously a 2x horizontal one).
2657 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
2659 * libspi/keystrokelistener.h:
2660 * libspi/keystrokelistener.c:
2661 Initial functional implementations of KeystrokeListener.
2664 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
2666 Fixed string handling for NULL strings in libspi.
2667 Added spi_freeString to free strings returned by C bindings.
2669 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
2671 * libspi/keystrokelistener.h:
2672 * libspi/keystrokelistener.c:
2673 Began (no-op) implementations of KeystrokeListener
2675 * libspi/deviceeventcontroller.c:
2676 * libspi/deviceeventcontroller.h:
2677 Began creating implementations of DeviceEventController,
2678 to handle keystroke and mouse event listening and
2680 * libspi/accessible.c:
2681 Stubbed-in the implementations for
2682 Accessibility_Accessible_getState and
2683 Accessibility_Accessible_getRelationSet.
2684 * libspi/registry.c:
2685 Improved de-registration process and fixed some bugs,
2686 deregistration now works correctly.
2688 Added initialization of applications list (to NULL).
2690 Reduced speech compression from 0.5 to 0.7, for demo.
2691 Changed call to gdk_window_set_decorations()
2692 to gtk_window_set_decorated().
2693 * at-bridge/bridge.c:
2694 Bridge now deregisters when app exits, via
2695 registration of a cleanup function
2696 with the g_atexit() call.
2697 Required making 'app' static, renamed 'this_app'.
2698 Fixed broken use of bonobo_init, passing argv wrongly.
2700 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
2704 Created a new directory for
2705 accessibility-related utilities, primarily for
2706 testing and demo purposes, but with possible
2713 Onscreen magnifier utility that
2714 is implemented as a bonobo service.
2716 * util/mag_client.c:
2717 * util/mag_client.h:
2718 Client-side support (simple C bindings)
2719 for Magnification service
2721 * util/mag_control.c:
2722 Client program example for
2723 Magnification service
2725 * util/Accessibility_Magnifier.server.in:
2726 Bonobo-activation file for the
2727 Magnification service.
2730 * util/idl/Magnifier.idl:
2731 IDL defining the bonobo Magnification
2735 Modifications to use the bonobo-activated magnifier
2736 above, in place of trying to connect to an existing
2737 magnifier that uses socket-listening IPC.
2739 If env variable MAGNIFIER is set, a magnifier service
2740 will be started if one does not exist.
2742 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
2743 * at-bridge/bridge.c:
2744 applied patch from Marc to build and run
2745 against new glib and gtk+ (seemed like a change
2746 to bonobo_init signature was made ?)
2748 made festival-server support turned off by default.
2749 Added support for a simple magnifier (off by default)
2750 which will be added to a 'util' directory later.
2751 * at-bridge/Makefile.am:
2752 Changed "application.h" header from a 'source'
2753 to a 'dependency' of libat-bridge.
2755 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2763 Added interface implementation c files to list of
2764 includes so they are included in libcspi.
2767 Changed prototype of AccessibleAction_doAction to return a
2769 Changed prototype of AccessibleTable_getCaption to
2770 return an Accessible.
2771 Changed prototype of AccessibleTable_getSelectedRows
2772 and AccessibleTable_getSelectedColumns to
2773 return a long (returns the number of selected rows
2774 or columns respectively).
2775 Changed name of AccessibleText_refRunAttributes to
2776 AccessibleText_getAttributes.
2777 Changed prototype of AccessibleText_getCharacterExtents to
2778 return a void rather than a boolean.
2779 Added support for a AccessibleCoordType parameter
2780 specifying what type of coordinates are desired.
2781 Added an AccessibleCordType parameter to
2782 AccessibleText_getPointAtOffset.
2784 * cspi/spi_accessible.c:
2785 Added code to return the outstanding interfaces from
2786 Accessible_queryInterface.
2788 * cspi/spi_action.c:
2790 Corrected call to getNActions to call the c binding
2793 * cspi/spi_editabletext.c:
2795 Changed name from setRunAttributes to setAttributes.
2797 * cspi/spi_hyperlink.c:
2799 Changed call to getNAnchors to correctly call the c
2800 binding for an attribute.
2802 * cspi/spi_hypertext.c:
2804 Changed getImageDescription to correctly call the
2805 binding for an attribute.
2807 * cspi/spi_selection.c:
2808 Changed getNSelectedChildren to correctly call the c
2809 binding for the attribute.
2810 Changed refSelectedChild to getSelectedChild.
2814 Changed getCaption to return an Accessible.
2815 Fixed calls which retrieve attributes.
2816 Changed refAt to getAccessibleAt.
2817 Changed getNSelectedRows and getNSelectedColumns to
2821 Changed getCharacterExtents and getPointAtOffset to accept an
2822 AccessibleCoordType.
2824 Changed calls which retrieve attributes.
2825 Changed refRunAttributes to getAttributes.
2830 * idl/Hyperlink.idl:
2831 Changed n_anchors attribute to nAnchors to keep naming
2832 convention consistent.
2835 Made Table inherit from Bonobo::Unknown.
2836 Added nSelectedColumns and nSelectedRows attributes.
2839 Made Value inherit from Bonobo::Unknown.
2841 * libspi/hyperlink.c:
2842 Change for nAnchors attributte name change.
2844 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2852 Added interface implementation c files to list of
2853 includes so they are included in libcspi.
2856 Changed prototype of AccessibleAction_doAction to return a
2858 Changed prototype of AccessibleTable_getCaption to
2859 return an Accessible.
2860 Changed prototype of AccessibleTable_getSelectedRows
2861 and AccessibleTable_getSelectedColumns to
2862 return a long (returns the number of selected rows
2863 or columns respectively).
2864 Changed name of AccessibleText_refRunAttributes to
2865 AccessibleText_getAttributes.
2866 Changed prototype of AccessibleText_getCharacterExtents to
2867 return a void rather than a boolean.
2868 Added support for a AccessibleCoordType parameter
2869 specifying what type of coordinates are desired.
2870 Added an AccessibleCordType parameter to
2871 AccessibleText_getPointAtOffset.
2873 * cspi/spi_accessible.c:
2874 Added code to return the outstanding interfaces from
2875 Accessible_queryInterface.
2877 * cspi/spi_action.c:
2879 Corrected call to getNActions to call the c binding
2882 * cspi/spi_editabletext.c:
2884 Changed name from setRunAttributes to setAttributes.
2886 * cspi/spi_hyperlink.c:
2888 Changed call to getNAnchors to correctly call the c
2889 binding for an attribute.
2891 * cspi/spi_hypertext.c:
2893 Changed getImageDescription to correctly call the
2894 binding for an attribute.
2896 * cspi/spi_selection.c:
2897 Changed getNSelectedChildren to correctly call the c
2898 binding for the attribute.
2899 Changed refSelectedChild to getSelectedChild.
2903 Changed getCaption to return an Accessible.
2904 Fixed calls which retrieve attributes.
2905 Changed refAt to getAccessibleAt.
2906 Changed getNSelectedRows and getNSelectedColumns to
2910 Changed getCharacterExtents and getPointAtOffset to accept an
2911 AccessibleCoordType.
2913 Changed calls which retrieve attributes.
2914 Changed refRunAttributes to getAttributes.
2919 * idl/Hyperlink.idl:
2920 Changed n_anchors attribute to nAnchors to keep naming
2921 convention consistent.
2924 Made Table inherit from Bonobo::Unknown.
2925 Added nSelectedColumns and nSelectedRows attributes.
2928 Made Value inherit from Bonobo::Unknown.
2930 * libspi/hyperlink.c:
2931 Change for nAnchors attributte name change.
2934 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
2936 implementations-- made server implementations own AtkObject pointers
2937 rather than their respective AtkInterrface pointers to fix
2938 refcounting. AtkHyperlink is still broken.
2940 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
2941 * cspi/spi_accessible.c:
2942 Added method Accessible_Role_getName(),
2943 and requisite string array (role_names).
2944 Added conversion string_from_corba_strin() call
2945 to Accessible_getName and _getDescription.
2946 * libspi/accessible.c:
2947 Added implementation for Accessible_getRole()
2949 Added festival support, used if environment variable
2952 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2954 * at-bridge/bridge.c:
2955 Now allocate Accessibility_Event using
2956 Accessibility_Event__alloc() instead of g_new0().
2957 * libspi/accessibleeventlistener.c:
2958 Initialize AccessibleEventListener->callbacks to NULL.
2959 Fixed accessible__event_listener_init() param, changed to
2960 "AccessibleEventListener *" type.
2961 Changed a bonobo_object_release_unref() call to
2962 Accessibility_Accessible_unref().
2963 * libspi/listener.c:
2964 Changed Bonobo_Unknown_unref to (equivalent)
2965 Accessibility_Accessible_unref.
2966 * libspi/registry.c:
2967 Changed bonobo_object_release_unref to
2968 Accessibility_Accessible_unref.
2970 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2973 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
2974 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
2975 spi-util.c spi-util.h
2976 Implementations for C bindings to remaining accessibility
2979 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2982 changed return value of Action from void to boolean to
2983 bring in line with ATK.
2986 Changed getText funcions to return "out" start and end offsets.
2987 Changed getAttributes to take and offset and return the start
2988 and end offset of the attribute run.
2989 Changed getOffsetAtPoint and getCharacterExtents to take an
2990 enum describing whether coordinates are window or screen.
2993 libspi/action.c libspi/action.h libspi/editabletext.c
2994 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
2995 libspi/hypertext.c libspi/hypertext.h libspi/image.c
2996 libspi/image.h libspi/selection.c libspi/selection.h
2997 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
2998 libspi/value.c libspi/value.h
2999 Added server implementations for outstanding ATK interfaces
3000 not yet implemented.
3002 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3005 Added (missing) getName() method.
3006 Made nActions an attribute.
3007 * idl/EditableText.idl:
3008 Changed order of params in setAttributes.
3009 * idl/Hyperlink.idl:
3010 Removed getAnchor, added getURI.
3012 Changed attributes to methods, for efficiency
3013 (so that getting extents can be done in one call)
3014 * idl/Selection.idl:
3015 Changed nSelectedChildren to attribute, and re-indented.
3016 * idl/Table.idl: changed nrows, ncolumns, caption, summary
3018 * idl/Text.idl: reformatted to match our coding style.
3019 (temporarily?) removed getRowColumnAtOffset().
3020 Changed text selection API to support multi-select and
3021 non-contiguous selections, as in ATK.
3022 * idl/Value.idl: changed some methods to attributes.
3024 2001-08-24 Mark McLoughlin <mark@skynet.ie>
3026 * libspi/listener.c(impl_notify_event):
3027 BonoboUnkown_unref the source instead
3028 of bonobo_object_release_unref - the ORB
3029 handles the releasing.
3031 * configure.in: require ORBit-2.3.94 for
3034 2001-08-21 Bill Haneman <bill.haneman@sun.com>
3036 Tagged CVS repository 'EA_1_0'.
3037 * README.EARLY_ACCESS:
3038 Alphabetized acknowledgements list, and
3040 Listed some known dependencies of at-spi.
3042 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3044 * docs/at-spi-docs.sgml:
3045 * docs/at-spi-sections.txt:
3046 * docs/at-spi-overrides.txt: (Added zero-length file)
3047 Documentation improvements - gtk-doc should build
3048 docs for all implemented C bindings now.
3051 * cspi/spi.c: (New file)
3052 * cspi/spi_event.c: (New file)
3053 * cspi/spi_registry.c: (New file)
3054 * cspi/spi_accessible.c: (New file)
3055 * cspi/spi_application.c: (New file)
3056 * cspi/spi_component.c: (New file)
3057 Split spi_main.c into six parts, and included them from
3058 "spi.c". This is a bit of a hack, probably temporary,
3059 but required by gtk-doc, apparently.
3061 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3064 * docs/at-spi-docs.sgml:
3065 * docs/at-spi-sections.txt:
3067 Initial checkins/modifications for gtk-doc generation.
3070 Added (missing) interface query methods to Accessible's C binding.
3072 Added GenericInterface type definition.
3074 Added query for AccessibleComponent interface to focus event handler.
3075 Added printout of bounding box for focussed component.
3076 * libspi/component.c:
3077 Added partial implementation for AccessibleComponent to C binding.
3078 * idl/Application.idl:
3079 * libspi/registry.c:
3080 * libspi/listener.c:
3081 * libspi/application.c:
3082 * libspi/application.h:
3083 Changed "ID" attribute type from string to long.
3085 2001-08-19 Bill Haneman <bill.haneman@sun.com>
3089 Made method naming consistent: methods taking object args
3090 start with uppercase, other methods (except those using
3091 acronyms) start with lowercase. Underscores delimit between
3092 object names and method names:
3093 SPI_init() - uppercase since it starts with an acronym.
3094 getDesktopCount () - lowercase start since no object param0.
3095 Accessible_getName() - uppercase object type name, studlyCaps method
3099 Added gtk-doc documentation for all currently implemented
3100 methods in the C bindings API.
3102 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3104 * Makefile.am : changed build order to build test last.
3107 Changed "createEventListener" to "CreateEventListener".
3108 * libspi/accessibleeventlistener.c :
3109 Bugfix for addition of callbacks.
3110 * test/Makefile.am :
3111 * test/simple-at.c :
3112 Added new test that uses the C bindings API.
3114 * libspi/listener.c :
3115 * libspi/registry.c :
3116 * libspi/accessibleeventlistener.c :
3117 * at-bridge/bridge.c :
3118 Renamed member "target" of Accessibility_Event to "source",
3119 which is more descriptive.
3122 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3126 * cspi/Makefile.am :
3127 Added makefile support for at-spi/cspi directory.
3130 * cspi/spi-listener.h : (NEW FILE)
3131 Added support for/use of spi-listener.h.
3133 C bindings now build successfully, with no warnings.
3134 * libspi/accessibleeventlistener.h : (NEW FILE)
3135 * libspi/accessibleeventlistener.c : (NEW FILE)
3136 * libspi/Makefile.am :
3137 Added new object type "AccessibleEventListener"
3138 which inherits from Listener, and allows attachment
3139 of in-process callbacks (so that a client with a listening
3140 object instance can add functionality to the local
3141 implementation, dynamically).
3143 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3145 * libspi/accessible.c:
3146 Add implementation for get_index_in_parent().
3148 Added #include of "spi-roletypes.h", and
3149 added enumerated type AccessibleCoordType.
3150 Added definition for KeystrokeListener (function type).
3153 * cspi/spi-statetypes.h :
3154 * cspi/spi-roletypes.h :
3156 Added these headers, used by spi.h.
3158 Added code (NOTE: not yet built by make).
3160 2001-08-18 Mark McLoughlin <mark@skynet.ie>
3162 * libspi/Makefile.am: generate imodule
3163 at the same time as other idl compiler
3166 2001-08-17 Bill Haneman <bill.haneman@sun.com>
3167 * libspi/registry.c :
3168 * libspi/application.c :
3169 * idl/Application.idl :
3170 Made registration with toolkit an application method,
3171 which is required since each app has its own toolkit static
3172 environment. Thus the bridge must register for
3173 notification of toolkit events from each application in turn.
3174 Toolkit notifications are now successfully registered for, and
3175 sent to the listening at client.
3177 Changed toolkit event string to use hyphens rather than underscores.
3178 * libspi/listener.c :
3179 listner now gives more info in debug mode - it reports the
3180 name of the event received, as well as the name of the source.
3183 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3185 * libspi/registry.c :
3186 added more implementation for toolkit events.
3187 Fixed bug such that toolkit event registrations
3188 (via atk) use the whole event name string, not
3190 Removed a useless call to an ORBit_ method.
3191 * at-bridge/bridge.c :
3192 Removed unused local sbuf[] variable.
3194 We now register for Gtk:GtkWidget:button_press_event
3195 events as well as "focus:" events.
3197 Add some more API from Registry.idl that was missing,
3198 for keystroke listening, keystroke and mouse event
3199 synthesis, and enumeration of accessible desktops.
3201 2001-08-16 Michael Meeks <michael@ximian.com>
3203 * configure.in: use AM_GLIB_GNU_GETTEXT.
3205 * Makefile.am (SUBDIRS): kill intl.
3207 2001-08-15 Michael Meeks <michael@ximian.com>
3209 * registryd/Makefile.am: s/oaf/server/ relocate info file.
3211 * configure.in: upd.
3213 * configure.in: depend on a recent bonobo-activation that
3214 will find our server files ...
3216 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3218 * libspi/accessible.c : accessible_new() :
3219 Now we add the Component interface via bonobo_object_add_interface,
3220 if the contained AtkObject implements AtkComponent.
3221 * libspi/accessible.h : now include "component.h"
3222 * libspi/component.h :
3223 * libspi/component.c : added files - implementation of
3224 bonobo wrapper object for Accessibility/Component
3225 * libspi/listener.c :
3226 Added test code to check for Accessibility/Component:1.0
3227 interface and report whether it is implemented by the
3229 * libspi/registry.c :
3230 Now we check for not only the hash of the whole event
3231 string before relaying the event, we also check the
3232 "minor" event string (without the detail string).
3233 This allows event listeners to be registered against
3234 all events of a certain major+minor type, or just
3235 against a specific major+minor+detail type.
3236 * libspi/accessible.c :
3237 Added implementations for Accessible:get_parent(),
3238 Accessible:getChildCount(), and Accessible:getChildAtIndex().
3239 * libspi/registry.c :
3240 * libspi/listener.c :
3241 Replaced calls to Accessibility_Accessible_ref() and
3242 Accessibility_Accessible_unref() with
3243 calls to bonobo_object_dup_ref() and
3244 bonobo_object_release_unref(), so that the CORBA object
3245 is dup-ed and released when relayed, as well as the bonobo object.
3247 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3249 * libspi/Makefile.am,
3250 registryd/Makefile.am,
3251 at-bridge/Makefile.am.
3252 test/Makefile.am, configure.in:
3253 reverse previous changes.
3255 * /idl/Image.idl: fix typo.
3257 * test/Makefile.am: put DEBUG_FLAGS
3260 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3262 * test/app.c: use argv[0] instead of
3265 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3267 * libspi/Makefile.am,
3268 registryd/Makefile.am,
3269 at-bridge/Makefile.am.
3270 test/Makefile.am, configure.in:
3271 cleanup, replace individual LIBS/CFLAGS with
3272 AT_COMMON_{LIBS|CFLAGS}.
3276 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3278 * configure.in, libspi/Makefile.am:
3279 Change IDL path checking for bonobo-activation
3282 2001-08-15 Bill Haneman <bill.haneman@sun.com>
3284 * registryd/registry.c : separated event listeners to use
3285 3 separate lists (focus, window, toolkit). Began testing
3286 event names against hashes before relaying events.
3287 * test/at.c : now register for events of type "focus:"
3288 * test/app.c : now generate events of type "focus:"
3289 * at-bridge/bridge.c : register with ATK for focus events,
3290 and we now relay those focus events to any "focus:" listeners.
3291 This now works with the bridge as a GTK_MODULE when running test/at.
3292 * libspi/registry.c :
3293 * libspi/listener.c :
3294 now we ref event sources before propagating, and unref on receipt.
3295 * libspi/registry.c :
3296 some changes to internal structs, to support event typestring hashes.
3297 * text/app.c : changed the way the appname is generated.
3298 * cspi : added directory that will hold the C bindings library for
3299 non-CORBA/bonobo-savvy clients.
3300 * cspi/spi.h : header file that contains the function prototypes for the C binding.
3301 * idl/Component.idl : added in parameter to indicate coord system for
3302 geometry-related calls.
3303 * idl/Hyperlink.idl : added readonly n_links attribute
3304 * idl/Image.idl : changed methods to attributes.
3306 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3308 * at-bridge/Makefile.am: link against
3309 ../libspi/libspi.la instead of -lspi.
3311 * at-spi/test/app.c: include
3312 bonobo-activation.h. Use a default appname
3313 if one is not provided.
3315 2001-08-14 Bill Haneman <bill.haneman@sun.com>
3317 * idl/Registry.idl : temporarily changed register_Application
3318 to oneway, to work around issue with initial registration
3320 * idl/Application.idl : changed attribute "id" from readonly
3321 to read-write, since it needs to be assigned by Registry.
3322 * registryd/registryd.c : added call to set application id
3324 * registryd/registry.c : changed de-registration procedure to
3325 use CORBA_Object_hash() to find matching object ref in application
3326 lists and listener lists.
3327 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
3328 began distinguishing between event types (work in progress).
3330 2001-08-13 Bill Haneman <bill.haneman@sun.com>
3333 * libspi/application.c:
3334 Added implementations for get/set id, get_toolkitName,
3336 * registryd/registryd.c :
3340 Converted from use of OAF to bonobo-activation.
3341 * libspi/desktop.h :
3342 * libspi/desktop.c :
3344 Removed references to atksimpleobject, since base atkobject
3345 implementation now provides functionality we need.
3346 * libspi/atksimpleobject.c :
3347 * libspi/atksimpleobject.h :
3352 * at-bridge/Makefile.am
3353 * at-bridge/bridge.c
3356 Added directory "bridge" and contents, and added dependencies
3357 in Makefile.am/configure.in.
3358 Initial checkin of "at-bridge".
3359 This code is a GTK_MODULE which automatically registers
3360 GTK+ apps with the accessibility registry, using an object
3361 reference to the root ATK object.
3363 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3365 * po/Makefile.in.in: Remove. Again. If this
3366 doesn't get autogenerated - you need to update
3369 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3371 * po/Makefile.in.in: Add. Again.
3373 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3375 * libspi/accessible.c : added support for 'description' property.
3376 * libspi/accessible.c
3378 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3379 (since the two are now equivalent in libbonobo)
3387 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3388 Bonobo::Unknown as does Accessibility::Accessible.
3389 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3390 interface with Bonobo::Stream, since it was redundant with it.
3391 (The Stream returned by a StreamableContext object is expected to
3392 implement only a subset of Bonobo::Stream)
3394 2001-07-28 Anders Carlsson <andersca@gnome.org>
3396 * libspi/accessible.c (accessible_object_finalize): Change
3397 g_free to g_object_unref since the AtkObject is a GObject.
3399 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3401 * idl/Accessibility.idl: add new IDL files
3404 * idl/Action.idl: Definitions of actionable UI object
3405 * idl/Component.idl: Definitions of UI component geometry, etc.
3406 * idl/Hyperlink.idl: Defs of hyperlink behavior
3407 * idl/Image.idl: Def of accessible image
3408 * idl/Selection.idl: Definition of UI object with selectable children
3409 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3410 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3411 * idl/Text.idl: Interface defs for UI elements with complex textual content
3412 * idl/Value.idl: Definition of UI element that is a value controller or display
3414 2001-07-27 Michael Meeks <michael@ximian.com>
3416 * po/Makefile.in.in: remove autogenerated file from CVS.
3418 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3421 * idl/Registry.idl: include guard.
3423 * idl/Accessibility.idl: Add, and include all the other IDL
3426 * idl/*.idl: remove mass of pragmas etc.
3428 2001-07-26 Michael Meeks <michael@ximian.com>
3430 * registryd/Makefile.am (registryd_SOURCES): remove
3433 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3435 * libspi/.cvsignore, registryd/.cvsignore,
3436 test/.cvsignore: updated.
3438 * po/Makefile.in.in: gettext update.
3440 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3442 * initial CVS checkin
3444 2001-06-29 Michael Meeks <michael@ximian.com>
3446 * configure.in: add AM_CONFIG_HEADER to gen config.h