1 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
5 * cspi/spi_accessible.c: Implemented c bindings for stateset support
7 * cspi/state-types.h: synched with IDL and ATK
9 2002-03-13 Bill Haneman <bill.haneman@sun.com>
12 (impl_accessibility_accessible_get_child_at_index):
13 Change return value for g_return_if_fail ()
14 to CORBA_OBJECT_NIL instead of "0" (!)
16 * registryd/Makefile.am:
17 * registryd/Accessibility_Register.server.in:
18 Changed name of executable, "registryd",
19 to something more informative:
22 2002-03-13 Michael Meeks <michael@ximian.com>
24 * atk-bridge/bridge.c (atk_bridge_init): don't register
25 if we're in a bonobo-component, rather than a bonobo app.
27 2002-03-13 Michael Meeks <michael@ximian.com>
29 * atk-bridge/bridge.c (gtk_module_init): split
30 out body to (atk_bridge_init): here, since otherwise
31 we get symbol conflicts and oddness when invoked
32 from (gnome_accessibility_module_init): here (upd.)
34 2002-03-11 Bill Haneman <bill.haneman@sun.com>
37 New file. Explicitly allow "build sheriff" putbacks provided
38 they are tested on Solaris.
40 * docs/reference/cspi/Makefile.am:
41 Added '-' to the "cp" command for index.sgml.
42 ("patch by thomasvs, soon coming to a GUADEC near you")
45 Incremented version number (0.9.0) for new release.
46 Changed macro that checks for popt, to better detect
47 obsolete versions of popt.
50 Added X_LIBS to AC_SUBST, for applications
51 that call Xlib API directly.
54 2002-03-07 Bill Haneman <bill.haneman@sun.com>
57 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
60 Fix regression caused by hard-coding major
61 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
64 * test/test-simple.c (test_editable_text),
65 (test_test): revert previous change (error was
66 a regression in gail which is now fixed).
68 2002-03-04 Michael Meeks <michael@ximian.com>
70 * test/test-simple.c (test_editable_text),
71 (test_text): pass G_MAXINT instead of '-1' for
72 whole string - is this a good thing !?
74 * cspi/spi_accessible.c
75 (Accessible_getRelationSet): fix crasher bug
76 overwriting the end of the array.
78 * test/test-simple.c (validate_accessible): free,
79 not g_free returned relation set.
81 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
83 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
84 implemented stateset support
86 * idl/Accessibility_State.idl: Made necessary changes to
87 the IDL to support state sets.
89 2002-02-12 Bill Haneman <bill.haneman@sun.com>
91 * registryd/deviceeventcontroller.c:
92 Added implementation for generateMouseEvent.
94 * cspi/spi_registry.c:
95 Connected new implementation for generateMouseEvent
98 2002-02-12 Bill Haneman <bill.haneman@sun.com>
101 Incremented revision (but no change in public API
102 outside of 'utils', which are not installed public yet.)
104 * libspi/component.c:
105 Changed to use atk_component API for layers and
106 mdi_zorder, instead of deprecated atk_object API.
108 Magnification Utility Enhancements:
111 Added implementation of createZoomRegion, clearAllZoomRegions,
112 resizeZoomRegion. Added new commandline argument
113 "--no-initial-region". Note that clearAllZoomRegions doesn't
114 unmap the old '0' region as it should (yet), and the other
115 methods only work when creating/resizing a single region,
117 (Code for multiple region support will be added later.)
120 Now we raise the magnifier window each time it's refreshed;
121 this will help keep it on top.
124 Added simple wrappers for above, used by mag_control.
125 For general use, it's recommended to use the bonobo magnifier
126 control API directly instead of using these wrappers.
129 Moved ZoomRegionData from magnifier.c to this file.
131 * util/mag_control.c:
132 Added some code to exercise new IDL implementations.
134 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
136 * libspi/text.c: Provide implementation for getAttributes.
138 2002-02-04 Bill Haneman <bill.haneman@sun.com>
141 Incremented revision.
143 * test/test-simple.c:
144 Replaced use of deprecated g_main_iteration with
145 g_main_context_iteration.
147 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
150 Incremented revision for desktop alpha 2.
152 2002-01-28 Mark McLoughlin <mark@skynet.ie>
154 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
157 * test/simple-at.c: include netinet/in.h.
159 2002-01-24 Mark McLoughlin <mark@skynet.ie>
161 * cspi/spi_accessible.c: (Accessible_getRelationSet):
162 use NULL, not CORBA_OBJECT_NIL.
164 * libspi/accessible.c:
165 (impl_accessibility_accessible_get_relation_set):
166 allocate the sequence correctly.
168 * libspi/remoteobject.h: kill spi_remote_object_new.
170 * test/test-simple.c: (validate_accessible): add code
171 to test relation sets, now all we need is to figure
172 out how to excercise this code path :/
174 2002-01-18 Michael Meeks <michael@ximian.com>
177 (key_listener_cb): consume the key.
178 (test_keylisteners): update.
179 (main): wait for any pending unrefs on events.
181 * registryd/deviceeventcontroller.c
182 (spi_controller_update_key_grabs): only re-issue the
183 grab on a key release.
184 (spi_device_event_controller_forward_key_event):
185 refresh the keygrabs before we notify the listeners,
186 to reduce the X ungrab / re-grab race.
187 (spi_controller_register_with_devices): remove
188 XSelectInput - we do that with the gdk_window_ call.
189 (_spi_controller_device_error_handler): return a value.
190 s/GDK_DISPLAY/spi_get_display/
192 2002-01-17 Michael Meeks <michael@ximian.com>
194 * registryd/deviceeventcontroller.c
195 (_deregister_keygrab): don't blow out the later
198 * test/test-simple.c (test_keylisteners): do a
199 more intelligent validation.
201 2002-01-14 Michael Meeks <michael@ximian.com>
203 * atk-bridge/bridge.c
204 (gnome_accessibility_module_init),
205 (gnome_accessibility_module_shutdown): impl.
206 (gtk_module_init): protect vs. double inits.
207 (add_signal_listener): impl.
208 (spi_atk_bridge_state_event_listener): kill
209 (deregister_application): split out of
210 (spi_atk_bridge_exit_func): here.
212 2002-01-18 Bill Haneman <bill.haneman@sun.com>
215 Added caret tracking when using magnifier, and
216 now use text bounds for focus tracking of text elements, rather than
217 the component bounds - this is helpful for short text fields in long
218 table cells, at high magnification.
220 2002-01-16 Bill Haneman <bill.haneman@sun.com>
222 * registryd/deviceeventcontroller.c:
223 Regression fix for keylistener de-registration; global keygrabs
224 were not being released when deregisterKeystrokeListener was
225 called in cspi, since
226 Accessibility_DeviceEventController_deregisterKeystrokeListener
227 was called with a zero-length keyset. That is because the cspi
228 method, SPI_deregisterKeystrokeListener, does not take a keyset
229 parameter but instead should remove all the key grabs held be a
231 The code in impl_deregister_keystroke_listener was changed to copy
232 the keylist from the listener instance previously registered with
233 the DeviceEventController before releasing the grabs.
235 * registryd/registry.c:
236 * registryd/deviceeventcontroller.c:
237 * libspi/spi-private.h:
239 Changed spelling of "re-enterant" to "re-entrant" globally.
241 2002-01-16 Bill Haneman <bill.haneman@sun.com>
243 * test/test-simple.c:
244 Changed key listeners test - the test was slightly mis-using the
245 (admittedly poorly documented) SPI_generateKeyboardEvent API.
246 It now uses '=' as the key event listened to and generated,
247 relying on a keysym match rather than assuming that keycode 33
248 is always equal to keysym '!'.
250 2002-01-15 Bill Haneman <bill.haneman@sun.com>
253 Changed simple-at to use a specific keyset, rather than
254 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
255 manager, desktop, etc.
257 2002-01-11 Bill Haneman <bill.haneman@sun.com>
259 * registryd/deviceeventcontroller.c:
260 Replaced standard X error handler with a special handler that
261 is non-fatal for failed keygrabs. This works around
262 problems with keygrab clashes sometimes observed on
264 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
265 mouse handling code as yet).
267 2002-01-11 Bill Haneman <bill.haneman@sun.com>
270 Incremented revision for desktop alpha release.
273 Fixed a couple of the more glaring errors (still not
276 2002-01-11 Michael Meeks <michael@ximian.com>
278 * registryd/deviceeventcontroller.c
279 (spi_device_event_controller_forward_key_event): kill
280 XUngrabKey / XKeyGrab race.
281 (spi_controller_grab_keyboard): rename to
282 (spi_controller_update_key_grabs): this, and deal
283 with incremental adding / removing grabs more
285 (_register_keygrab): ensure we're not pending a remove.
286 (spi_grab_mask_free): impl.
287 (spi_controller_register_global_keygrabs): split out
289 (handle_keygrab): impl.
290 (_deregister_keygrab): impl.
291 (spi_controller_deregister_global_keygrabs): impl.
292 (spi_controller_update_key_grabs): re-issue the grab if
293 we just recieved a notification.
295 * test/test-simple.c (key_listener_cb): remove debug.
297 * registryd/deviceeventcontroller.c
298 (spi_controller_register_device_listener): after
299 registering a global keygrab, actualy register it !
300 don't wait for a timeout; doh !
302 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
303 to make it more readable / manipulable.
304 s/grabmask/grab_mask/ s/refcount/ref_count/
305 s/keyval/key_val/ s/modmask/mod_mask
307 2002-01-08 Michael Meeks <michael@ximian.com>
309 * registryd/deviceeventcontroller.c
310 (spi_controller_register_with_devices): use gdk calls to
312 (global_filter_fn): implement the filter.
313 (spi_device_event_controller_check_key_event): rename to
314 (spi_device_event_controller_forward_key_event): this & upd.
315 (spi_get_display): replace with GDK_DISPLAY.
317 * registryd/deviceeventcontroller.c
318 (spi_controller_deregister_device_listener): unroll into
319 (impl_deregister_keystroke_listener): here to simplify.
320 (spi_controller_register_global_keygrabs): split cut and
321 paste (!) out into (_register_keygrab): here, shorter & sweeter.
322 (spi_controller_deregister_device_listener): remove.
323 (impl_register_mouse_listener): remove, no mouse listener
324 support in at-spi-1.0
326 * registryd/registry.c
327 (_device_event_controller_hook): kill.
328 (spi_registry_init): upd.
330 * registryd/deviceeventcontroller.c
331 (spi_device_event_controller_class_init): upd.
332 (spi_check_key_event): merge into.
333 (spi_device_event_controller_check_key_event):
334 here and kill strange static ev init, don't leak
335 the x_event - nor dynamicaly allocate it.
337 * registryd/registry-main.c (main): re-direct
338 timeout to remove strange vtable mess.
340 * registryd/deviceeventcontroller.c
341 (remove_listener_cb): impl.
342 (spi_controller_deregister_device_listener):
343 fix re-enterancy hazard.
345 2002-01-07 Michael Meeks <michael@ximian.com>
347 * registryd/deviceeventcontroller.c
348 (spi_device_event_controller_new): upd.
349 (impl_notify_listeners_sync): upd. debug.
350 (spi_notify_keylisteners): fix re-enterancy hazards,
351 prettify, remove O(n*n) iteration.
352 (spi_controller_grab_keyboard): fix iteration.
353 (spi_check_key_event): re-format to suit coding style.
354 Clean all the warnings - we're warning free.
356 * registryd/deviceeventcontroller.h:
357 * registryd/registry.h: make mutualy referential with
358 typesafe forward references instead of (!) void pointer
361 2002-01-11 Michael Meeks <michael@ximian.com>
363 * cspi/spi_accessible.c (role_names): add a role name
364 to sync this array with the enum; and make the regression
367 2002-01-10 Michael Meeks <michael@ximian.com>
369 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
370 allow expansion of enumeration & kill warning.
372 * test/test-simple.c (key_listener_cb): impl.
373 (test_keylisteners): impl.
375 * cspi/spi-listener.h: make listener signatures const
376 on the provided (const) events.
378 * test/keysynth-demo.c: upd. to const events.
380 * test/simple-at.c: ditto.
382 2002-01-11 Bill Haneman <bill.haneman@sun.com>
385 Rev the version to 0.5 (the previous tarball was named 0.4,
386 even though the micro number was 3), so we need to rev upwards
387 again for beta2/"desktop-alpha"
390 Checked in a demo script, which requires editing before use!
391 Proceed with caution.
394 Fixed typo in header which was redefining SPI_ACTION_CLASS.
396 * cspi/spi_accessible.c:
397 Add a couple of missing enum initializations, and fix some enum
400 * cspi/spi_registry.c:
401 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
403 * docs/reference/cspi/at-spi-cspi-sections.txt:
404 Remove/fix a couple of broken document references.
407 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
408 as Alt-Control to listen for commands, since on some systems
409 Control-Alt may already be grabbed.
411 2002-01-10 Bill Haneman <bill.haneman@sun.com>
414 Update version number to 0.4 for Beta2.
416 * libspi/accessible.c, libspi/accessible.h:
417 Expose spi_accessible_construct, to enable libgail-gnome
418 construction from spi_accessible subtype.
421 Workaround for bug in some non-gnome-compliant window managers
422 which made magnifier resize improperly.
424 2002-01-09 Bill Haneman <bill.haneman@sun.com>
426 * libspi/accessible.c: (spi_accessible_new) :
427 Move the test for SPI_IS_REMOTE_OBJECT to
428 spi_accessible_new_return, fixing a bug and compile time warning.
430 2002-01-08 Michael Meeks <michael@ximian.com>
432 * registryd/registry.c (parse_event_type): remove strndup.
434 * libspi/Makefile.am (libspi_la_SOURCES): remove
435 sources already included in the headers section.
437 * libspi/util.c: add.
439 * libspi/spi-private.h: add.
441 * registryd/registry.c: update to moved list iterators.
443 2002-01-05 Michael Meeks <michael@ximian.com>
445 * test/simple-at.c (main): upd. auto-module set to atk-bridge
447 * test/test-simple.c (main): ditto.
449 2002-01-04 Michael Meeks <michael@ximian.com>
451 * libspi/accessible.c (spi_accessible_new): remove 2nd,
454 * registryd/registry.c
455 (get_listener_list): impl.
456 (impl_accessibility_registry_register_global_event_listener):
457 re-impl. to simplify using ~, remove dodgy const cast off.
458 (parse_event_type): constify.
459 (impl_accessibility_registry_deregister_global_event_listener_all):
460 re-write, more efficiency and simplicity, kill re-enterancy
462 (compare_listener_corbaref, compare_corba_objects),
463 (compare_listener_quarks): define out.
464 (impl_accessibility_registry_deregister_global_event_listener):
465 re-write for effiency, and nail re-enterancy hazard.
466 (impl_accessibility_registry_get_desktop_list): impl.
467 (re_enterant_list_delete_link): impl.
468 (re_enterant_list_foreach): impl.
469 (remove_listener_cb): impl.
470 (_registry_notify_listeners): kill.
471 (notify_listeners_cb): impl.
473 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
474 (SPI_getDesktopList): impl.
476 * test/test-simple.c (test_desktop): test the methods.
478 2002-01-03 Michael Meeks <michael@ximian.com>
480 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
481 keystrings since we free them
482 (SPI_freeAccessibleKeySet): in here.
484 * libspi/accessible.c (spi_accessible_new): kill warning,
485 wonder what is going on with the constructor here.
487 2002-03-01 Bill Haneman <bill.haneman@sun.com>
489 * libspi/accessible.c (spi_accessible_new ()) :
490 Added check to see if AtkObject is an SpiRemoteObject before
491 creating an SpiAccessible.
493 2002-05-01 Bill Haneman <bill.haneman@sun.com>
495 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
496 Enable keygrabs using the Control modifier, now that they are
497 working properly (they were previously disabled).
500 Change the command keygrab for this demo to "Control+Alt", so as
501 to conflict with fewer other key commands on the system; this
502 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
504 Removed a pointlessly-chatty keylistener for unshifted keys
505 (shifted keys are still reported).
507 2002-02-01 Bill Haneman <bill.haneman@sun.com>
509 * libspi/remoteobject.h:
510 * libspi/remoteobject.c:
511 Added definitions for special AtkObject subtype, required for
512 support of remote components (specifically, used by BonoboControl
513 accessibility implementation).
515 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
517 * cspi/spi.h: synched relation types with ATK
519 * cspi/spi_accessible.c: Added implementations of
520 AcccessibleRelation_* methods
522 * idl/Accessibility_Relation.idl: added getRelationTypeName
523 method. Synched known relation types with ATK. Allowed for
524 relation type extension with the RELATION_EXTENDED type.
526 * libspi/relation.c: Provided implementations for
527 AccessibleRelation methods.
529 2002-01-01 Bill Haneman <bill.haneman@sun.com>
531 API tweaks for today's API 'freeze'.
534 Added placeholder functions to allow future compatible expansion
535 of the IDL interfaces.
537 * idl/Accessibility_Registry.idl:
538 Changed generateKeyEvent to generateKeyboardEvent. Changed
539 signature of this method to accept an optional keystring in
540 parameter (for complex text input synthesis) and changed use of
541 simple 'boolean' parameter in registerKeystrokeListener to a
542 struct, EventListenerMode.
544 * cspi/spi_accessible.c:
546 * cspi/spi_streamablecontent.c:
547 Added references to AccessibleStreamableContent interface, and
548 definition and implementation of AccessibleStreamableContent
551 * cspi/spi_registry.c:
553 Changed generateKeyEvent API to generateKeyboardEvent,
554 taking a new (optional) keystring parameter to support complex
559 Renamed directory (to better reflect its actual purpose, bridging
560 from at-spi to ATK). The .so module is also now named
563 * idl/Accessibility_Hypertext.idl:
564 * libspi/accessible.c:
565 * libspi/hypertext.h:
566 * libspi/hypertext.c:
567 Changed Accessibility_Hypertext to *not* derive from
570 * cspi/spi_registry.c:
571 Added list of legal event type names for 'window' events, which
572 completes the registry event API.
574 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
576 * at-bridge/bridge.c: Added registration for separate
577 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
578 signals. If either of the first two parameters to the generic
579 bridge signal handler are ints, they are passed on as event
580 details. This allows an AT to determine what text was inserted.
582 2001-12-21 Bill Haneman <bill.haneman@sun.com>
584 * registryd/deviceeventcontroller.c:
585 Fixed regressions in generateKeyEvent caused by the removal of
586 gdk_init from registryd; we now use pure X calls to connect to the
587 display, which makes sense because deviceeventcontroller already
588 uses a fair bit of X API (should eventually be migrated to a
589 'portability layer').
591 * registryd/desktop.c:
592 Fixed minor regression in spi_desktop_init, changed the way the
593 desktop name is being set to work with new spi_base API
594 (gobject-based, rather than AtkObject-based).
596 * registryd/Makefile.am:
597 Minor revision of makefile to use XTST_LIBS variable rather than
598 hard-wiring the Xtst LD_ADD element.
600 * test/keysynth-demo.c:
601 Tweaked an output message; added initialization of the
602 'keystrings' member of the "switch listener" key_set.
605 Squashed compile-time warning.
607 * libspi/accessible.c:
608 Cosmetic and formatting fixes, renamed a static method.
610 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
612 * libspi/accessible.c
614 * libspi/application.c
618 * libspi/editabletext.c
626 * registryd/desktop.c:
627 Changed SpiBase to contain a GObject pointer rather than an AtkObject
629 2001-12-17 Bill Haneman <bill.haneman@sun.com>
631 * idl/Accessibility_Registry.idl:
632 Added boolean member 'is_text' to DeviceEvent. This is for the
633 use of key events, and helps prevent ambiguity between composed
634 key strings and keysym names, since both may potentially be
635 returned in the 'event_string' member.
637 * at-bridge/bridge.c:
638 * registryd/deviceeventcontroller.c:
639 Use the 'is_text' member when notifying device event listeners.
640 Knon issue: composed characters are not dealt with correctly by
641 the global key listener implementation yet.
643 2001-12-17 Bill Haneman <bill.haneman@sun.com>
645 * at-bridge/bridge.c:
646 Namespaced local static methods to spi_atk_bridge_* where
647 previously named bridge_*, and spi_* elsewhere.
649 * at-bridge/bridge.c:
650 * cspi/bonobo/cspi-bonobo-listener.c:
651 Added demarshalling/conversion for string member of
652 Accessibility_DeviceEvent to AccessibleKeystroke.
654 * registryd/deviceeventcontroller.c:
655 Added code to fill the Accessibility_DeviceEvent key string value
656 member for global key events (i.e. from XGrabKey), to match
657 behavior of Accessibility_DeviceEvent from the toolkit key events
658 from the bridge. Fixed timestamp in global key event notifications.
661 Added printout of key event's string value to
662 report_ordinary_key_event, for demo/debugging purposes.
664 2001-12-15 Bill Haneman <bill.haneman@sun.com>
666 * idl/Accessibility_Registry.idl:
667 Removed Accessibility_KeyStroke structure in favor of generic
668 Accessibility_DeviceEvent structure.
669 Changed Accessibility_ControllerEventMask from a struct to an
672 * at-bridge/bridge.c:
673 Changed APIs to use DeviceEvent structure as above, and removed
674 bogus casting between these event structures.
676 * cspi/spi-listener.h:
677 Added keystring member of AccessibleKeystroke structure, to enable
678 matching on event "names" rather than only hardware codes and
682 Added keystrings member of AccessibleKeySet struct, to allow
683 matching on event names (as above).
684 Added declarations for SPI_createAccessibleKeySet and
685 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
686 event modmasks directly as unsigned ints rather than structs with
687 refcounts, in the DeviceEventController methods.
689 * cspi/spi_registry.c:
690 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
692 * cspi/spi-roletypes.h:
693 Added documentation of newly added SPI Roles.
695 * cspi/bonobo/cspi-bonobo-listener.c:
696 Changes in support of API changes above.
698 * libspi/accessible.c:
699 Converted APIs to use DeviceEvent structure (see IDL changes
702 * registryd/deviceeventcontroller.c:
703 Added DEControllerGrabMask structure to track keygrabs not only by
704 modmask but by keyset as well; this allows us to do "global"
705 (i.e. X) keygrabs on a per-key or keyset basis rather than always
706 grabbing on AnyKey and then filtering after-the-fact.
707 Bugfixes for event filtration mean that we don't get false matches
708 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
710 * registryd/deviceeventcontroller.c:
711 Namespaced a number of static methods to use spi_ prefix. Major
712 revision to internals of global (i.e. X) key grabs.
714 * registryd/deviceeventcontroller.h:
715 Removed keymask_list and added keygrabs_list to
716 SpiDeviceEventController struct.
719 Added use of SPI_createAccessibleKeySet API when creating a
720 listener for only one key. Attach a listener to "shift spacebar
721 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
722 X key event names to SPI key event names, so that listeners are
723 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
725 * test/keysynth-demo.c:
726 Changed (incorrect) use of X key event names (KeyPressed,
727 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
730 2001-12-12 Bill Haneman <bill.haneman@sun.com>
732 * libspi/accessible.c:
733 Convert all AtkRole enumerations to Accessibility_Role enums when
734 getting a role from an AtkObject.
736 * cspi/spi_accessible.c:
737 Complete the conversion of Accessibility_Role enums at runtime to
738 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
739 role enums correctly match those given in spi-roletypes.h.
740 Re-synchronize the local names list for AccessibleRole_getName ().
741 AccessibleRole_getName is now deprecated, since it duplicates the
742 more reliable Accessible_getRoleName.
743 Added some role types from Accessibility_Role.idl.
745 * idl/Accessibility_Role.idl:
746 Added some role types used by AtkRole.
748 2001-12-12 Bill Haneman <bill.haneman@sun.com>
751 * cspi/spi_registry.c:
753 * cspi/cspi-bonobo-listener.c:
754 Namespaced all methods that did not begin with an "SPI_" or
755 "Accessible" prefix to "SPI_".
758 Homogenized internal function namespace to "cspi_" for statics.
761 Patched tests to use the new CSPI API.
763 * docs/reference/cspi/at-spi-cspi-sections.txt:
764 Updated docs to reflect namespace changes, and added a number of
765 methods to the documentation.
767 * registryd/registry.c:
768 Changed use of strings and string hashes in listener event
769 matching and parse_event_string to use GQuark, which is guaranteed
772 * registryd/registry.h:
773 Squashed annoying warning.
775 * idl/Accessibility_Role.idl:
776 Extended range of available Accessibility_Role values.
778 * cspi/spi_accessible.c:
779 Re-ordered role names.
781 2001-12-12 Bill Haneman <bill.haneman@sun.com>
783 * idl/Accessibility_Value.idl:
784 Revert use of union back to CORBA_double, since the double type is
785 more efficient and can contain the other types without loss of
788 * idl/Accessibility_Accessible.idl:
789 Added method Accessibility:Accessible:getRoleName, to complement
790 Accessibility:Accessible:getRole.
792 * cspi/spi_accessible.c:
794 Added C binding for above, Accessible_getRoleName (), and changed
795 signature of Accessible_getRole () to return an AccessibleRole.
797 * cspi/spi-roletypes.h:
798 Changed AccessibleRole_getName to return a char * instead of a
799 const char *. This method is now at least temporarily deprecated
800 in favor of asking Accessibles for their RoleNames directly.
803 Revert to match Accessibility_Value.idl;
807 Change signature of AccessibleValue methods to use double rather
811 * cspi/spi_accessible.c:
812 Changed Accessible_getRole to return an AccessibleRole enum rather
813 than a UTF-8 string. The UTF-8 string can still be obtained via
814 AccessibleRole_getName ().
816 * test/test-simple.c:
817 Add test_action. Small fixup to match API change to Accessible_getRole.
820 Bugfix for get_action_from_servant ().
822 2001-12-11 Michael Meeks <michael@ximian.com>
824 * libspi/libspi.h: remove registry.h and
825 desktop.h, deviceeventcontroller.h
827 * libspi/Makefile.am: remove registry.[ch],
828 desktop.[ch], deviceeventcontroller.[ch]
830 * registryd/Makefile.am: add registry.[ch],
831 desktop.[ch], rename registryd.c to registry-main.c.
832 add deviceeventcontroller.[ch]
834 2001-12-11 Bill Haneman <bill.haneman@sun.com>
837 Replace setenv() call with putenv ().
839 * libspi/component.c:
840 Bugfix in AccessibleComponent_getExtents (),
843 2001-12-11 Michael Meeks <michael@ximian.com>
845 * libspi/image.c (impl_getImageExtents): impl.
846 (spi_image_class_init): upd.
849 (AccessibleImage_getImageDescription): fix daft bug
852 * test/test-simple.c (global_listener_cb): update
853 to only quit if not --poke
854 (main): catch --poke.
855 (validate_accessible): upd. dumping, call test_image
858 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
861 * idl/Accessibility.idl: update all IDL includes.
863 * idl/*.idl - rename to namespace - this sucks, blame
864 mjs' bad decision for oafd.
866 * test/test-simple.c (create_test_window): add more tests.
867 (create_tree): split this out.
868 (validate_accessible): bugfix.
870 2001-12-11 Michael Meeks <michael@ximian.com>
872 * cspi/bonobo/cspi-bonobo-listener.c:
873 (cspi_kestroke_listener_unref),
874 (cspi_event_listener_unref): impl. undoing previous
875 homenous environment - for Bill.
877 * cspi/spi_table.c (long_seq_to_array): use
880 * cspi/spi_main.c: split out all bonoboish bits into
883 * cspi/spi-impl.h: upd. typedefs.
885 * cspi/spi_registry.c: update to lowlevel API,
886 return booleans to indicate success in some places.
888 * cspi/spi_event.c: update to lowlevel API.
890 * cspi/bonobo/Makefile.am: add.
892 * cspi/bonobo/cspi-lowlevel.h: add
894 * cspi/bonobo/cspi-bonobo.c: add
896 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
898 * cspi/Makefile.am: remove spi-listener-impl.[ch],
899 (SUBDIRS): add bonobo, link in the libs.
901 * cspi/spi-util.c: kill this file.
903 * TODO: merge in my bits.
905 2001-12-11 Michael Meeks <michael@ximian.com>
907 * test/test-simple.c (test_value, test_table, main):
908 remove unused variables causing warnings.
910 * configure.in: cleanup checks - require gail.
912 2001-12-11 Bill Haneman <bill.haneman@sun.com>
915 Changed Value interface to use SValue (scalars) rather than
916 assuming all values are floats. This allows floats, doubles,
917 longs, shorts, and unsigned values to be manipulated.
918 Introduced Accessibility:SValue union.
921 Updated to use new API above, and to work correctly with GValues
922 of different types in AtkValue.
925 Updated to use new API above. cspi's API is as yet unchanged.
928 Updated the Value revision action item.
930 2001-12-10 Bill Haneman <bill.haneman@sun.com>
932 * test/test-simple.c:
933 Added test_table (GtkTreeView widget in test window to follow).
934 Un-commented test_value, added GtkRange widget.
935 Added GtkTreeView widget with GtkListStore. It passes regression
936 test but leaks one SPI object for some reason.
939 Fixed bug in impl__set_currentValue.
941 2001-12-10 Michael Meeks <michael@ximian.com>
943 * cspi/spi_text.c: audit for exception handling,
944 tolerating NULL object references safely etc.
946 * cspi/spi_value.c: ditto.
948 * cspi/spi_table.c (AccessibleTable_getSummary),
949 (AccessibleTable_getAccessibleAt),
950 (AccessibleTable_getRowHeader),
951 (AccessibleTable_getColumnHeader),
952 (AccessibleTable_getCaption): fix bugs hidden by
954 (long_seq_to_array): impl.
955 (AccessibleTable_getSelectedRows),
956 (AccessibleTable_getSelectedColumns): use it.
958 2001-12-10 Bill Haneman <bill.haneman@sun.com>
961 Added a TODO list (rough and short for now).
963 * cspi/spi_hyperlink.c:
964 * cspi/spi_hypertext.c:
965 Fixed macro name typos, and remove use of obsolete macro in
966 AccessibleHyperlink_getLink.
969 * cspi/spi_accessible.c:
970 * cspi/spi_application.c:
971 * cspi/spi_component.c:
972 * cspi/spi_selection.c:
975 Documentation fixes (removed return values from ref/unref methods).
977 2001-12-10 Michael Meeks <michael@ximian.com>
979 * cspi/spi_action.c: audit for exception handling,
980 tolerating NULL object references safely etc.
982 * cspi/spi_accessible.c: ditto.
984 * cspi/spi_component.c: ditto.
986 * cspi/spi_editabletext.c: ditto.
988 * cspi/spi_hyperlink.c: ditto.
990 * cspi/spi_hypertext.c: ditto.
992 * cspi/spi_image.c: ditto.
994 * cspi/spi_selection.c: ditto.
996 2001-12-10 Michael Meeks <michael@ximian.com>
998 * configure.in: use cspi/libspi.pc.in instead.
1000 * Makefile.am (pkgconfig_DATA): upd. to match.
1002 * test/simple-at.c (report_focus_event): kill hacks around
1003 bad return values, use putenv not setenv
1005 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
1006 fire ChildGone - I killed it.
1008 * libspi/component.c
1009 (impl_accessibility_component_get_extents): remove
1012 * idl/Accessible.idl: kill ChildGone exception.
1014 * cspi/*.[ch]: kill int return from ref / unref.
1016 * cspi/spi_main.c (cspi_object_add_check): fold into
1017 (cspi_object_add): here.
1019 * cspi/spi_component.c (AccessibleComponent_getExtents):
1020 handle exceptions elegantly.
1022 * cspi/spi-private.h (cspi_check_ev_return),
1023 (cspi_return_if_fail): impl.
1025 * cspi/spi_accessible.c: use extensively.
1026 (AccessibleStateSet_equals): add direct compare check.
1028 * cspi/spi_selection.c: tolerate NULL objs, and check
1029 exceptions before return.
1031 * cspi/spi-util.c (cspi_warn_ev): rename to
1032 (cspi_check_ev): this & don't pass ev in; no point.
1034 2001-12-10 Michael Meeks <michael@ximian.com>
1036 * test/test-simple.c: use putenv not setenv
1037 (get_environment_vars): more chatty if you're not using
1040 * test/simple-at.c: do the setenv so more people see the
1043 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1045 * libspi/registry.c:
1046 Changed check of CORBA_environment on notification to be a warning
1047 instead of an error for the moment, since we can recover from this
1048 error when caused by a queued notification from a dead app.
1051 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
1052 used by all current implementors of AtkValue), and coerce to
1053 CORBA_float. (Proper general case fix may require change to Value.idl).
1055 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1059 * cspi/spi_accessible.c:
1060 Documentation fixes: added user_data params to documentation for
1061 listeners and callbacks.
1063 * cspi/spi_accessible.c:
1064 Changed AccessibleStateSet_compare to return a
1065 StateSet rather than return the difference set into a third parameter.
1068 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1071 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
1072 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
1076 Remove subdirectory po from SUBDIRS for now.
1078 * at-bridge/bridge.c:
1079 Beefed up a couple of debug printouts.
1080 One-line fix for signal notification name formatting.
1082 * libspi/accessible.c:
1083 Added assertion to spi_accessible_new ().
1085 * libspi/application.c:
1086 Put #ifdef qualifiers around a printf.
1089 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
1091 * registryd/Makefile.am:
1093 Replaces use of XML_I18N_MERGE_SERVER_RULE with
1094 INTLTOOL_SERVER_RULE macro.
1097 Added an event listener for several ATK signals, for
1098 testing and debugging. Removed a few g_warnings.
1099 Added test output if focussed item implements the Value interface.
1101 * test/test-simple.c:
1102 Added test_value () function (known not to pass at the moment, so
1103 not actually called yet.
1105 2001-12-08 Michael Meeks <michael@ximian.com>
1107 * at-bridge/bridge.c (bridge_focus_tracker),
1108 (emit_eventv): fix the same ref. leak.
1109 (register_atk_event_listeners): don't leak.
1111 * cspi/spi-listener-impl.c (cspi_event): more
1112 protection from client code.
1114 * test/test-simple.c (test_desktop): unref the app.
1116 * test/Makefile.am: upd. TESTS.
1118 * at-bridge/bridge.c (bridge_exit_func): release the registry.
1120 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
1122 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
1124 * cspi/spi_registry.c: constify in strings.
1125 (deregisterGlobalEventListenerAll): don't release the ref.
1127 * cspi/spi.h: start removing redundant / conflicting
1128 gtkdoc comments, making the API readable at a glance :-)
1130 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
1132 * test/keysynth-demo.c (keysynth_exit, main): upd.
1134 * test/simple-at.c (main, simple_at_exit): upd.
1136 * test/test-simple.c (unutterable_horror): kill.
1137 (utterable_normal_derefs): kill.
1138 (main): upd & do a setenv before gtk_init, so that we
1139 can use memprof - and to save the pain of remembering
1140 this, if we're running under memprof - don't exit.
1142 * cspi/spi_main.c (SPI_exit): return exit status
1144 (SPI_event_quit): impl.
1145 (SPI_event_main): simplify.
1146 (cspi_is_gnome_app): kill.
1147 (SPI_init): kill isGNOMEapp arg.
1149 * at-bridge/bridge.c (register_atk_event_listeners):
1150 re-instate the unref.
1151 (bridge_exit_func): don't re-activate the registry,
1152 protect vs. theoretical re-entry, use the
1153 AT_BRIDGE_SHUTDOWN env. var to determine whether to
1154 assert a clean shutdown - for regression tests.
1156 2001-12-08 Abel Cheung <maddog@linux.org.hk>
1158 * configure.in: Comment out dummy i18n support for now,
1159 otherwise it fails to build.
1160 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
1161 EXTRA_DIST. They are missing in tarball.
1163 2001-12-07 Michael Meeks <michael@ximian.com>
1165 * util/magnifier.c: kill bonobo activation reg. race.
1167 * libspi/component.c
1168 (impl_accessibility_component_get_extents): make it match
1171 * libspi/registry.c (_registry_notify_listeners):
1172 re-remove X headers & reconcile conflicts.
1173 (spi_listener_struct_free): bad conflict resolve.
1174 (impl_accessibility_registry_register_application):
1175 more bad merging fixed.
1176 (impl_accessibility_registry_deregister_application): ditto.
1177 (spi_registry_new): ditto.
1178 (spi_registry_init): don't have an applications field.
1180 [ merge fixups2 branch to here ]
1181 2001-12-07 Michael Meeks <michael@ximian.com>
1183 * test/simple-at.c (report_focus_event),
1184 (report_focussed_accessible): remove g_warning debug.
1186 2001-12-07 Michael Meeks <michael@ximian.com>
1188 * test/test-simple.c (validate_tree): comment out some checks.
1189 (test_desktop): app now not registered idly - horay.
1191 2001-12-07 Michael Meeks <michael@ximian.com>
1193 * cspi/spi_registry.c
1194 (registerAccessibleKeystrokeListener): clean, stop it leaking
1195 great swathes of memory, and device event controller references.
1196 ensure we always pass valid sequences.
1197 (deregisterAccessibleKeystrokeListener): ditto.
1198 (generateKeyEvent): upd.
1200 * at-bridge/bridge.c (bridge_key_listener): handle
1201 registry dead exception gracefully.
1202 (bridge_focus_tracker, emit_eventv): free ev.
1204 * test/simple-at.c (report_focus_event): fix polarity.
1206 * libspi/application.c (notify_listeners): kill the ev
1207 argument, and make sure we init the ev we use.
1208 (spi_application_object_event_listener): split out a chunk
1209 (get_atk_object_ref): here & fixup.
1210 (reverse_lookup_name_for_toolkit_event): make const.
1211 (spi_application_toolkit_event_listener): fixup, kill leaks
1214 * at-bridge/bridge.c (register_atk_event_listeners):
1215 don't unref the noop object - causes grief.
1217 * libspi/registry.c: remove the X headers.
1218 turn off the debug churn.
1220 * libspi/accessible.c (spi_accessible_new_return): only
1221 release the ref if we are supposed to [doh]
1223 * test/simple-at.c (report_button_press, report_focus_event):
1224 guard vs. unexpected exit.
1226 * at-bridge/bridge.c (gtk_module_init): prune printf.
1227 (bridge_exit_func): fix app unref.
1229 * libspi/Makefile.am: don't install registry or desktop.h
1231 * libspi/*.h: update includes.
1233 * libspi/application.h: don't include ourself, or
1234 other redundant headers.
1236 2001-12-06 Michael Meeks <michael@ximian.com>
1238 * libspi/accessible.c
1239 (get_accessible_from_servant): impl.
1240 Upd. all CORBA impl.s to use it killing cut and paste.
1242 * cspi/spi_main.c (cspi_cleanup): guard vs. double
1244 (SPI_init): register atexit cleanup handler here.
1246 2001-12-06 Michael Meeks <michael@ximian.com>
1248 * at-bridge/bridge.c (gtk_module_init): g_error on
1249 activation exception
1251 2001-12-06 Michael Meeks <michael@ximian.com>
1253 * at-bridge/bridge.c (gtk_module_init): some sort of
1254 confusing merge clash - reverted.
1255 (bridge_idle_init): ditto.
1257 * test/test-simple.c (main, utterable_normal_derefs):
1258 merge from Bill - somehow not committed.
1260 2001-12-06 Michael Meeks <michael@ximian.com>
1262 * libspi/value.c (spi_value_class_init): upd.
1263 (spi_value_finalize): kill.
1265 * libspi/table.c (spi_table_finalize): kill.
1266 (spi_table_interface_new): upd.
1267 (spi_table_class_init): upd.
1268 (get_table_from_servant): impl.
1269 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1271 * libspi/selection.c (spi_selection_finalize): kill.
1272 (spi_selection_interface_new): upd.
1273 (spi_selection_class_init): upd.
1274 (get_selection_from_servant): impl.
1275 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1277 * libspi/relation.c (spi_relation_finalize): kill.
1278 (spi_relation_class_init, spi_relation_new): upd
1280 * libspi/image.c (spi_image_finalize): kill.
1281 (spi_image_class_init): upd.
1282 (spi_image_interface_new): upd.
1283 (get_image_from_servant): impl.
1284 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1286 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
1287 (spi_hyperlink_finalize): kill.
1288 (spi_hyperlink_new): upd.
1289 (get_hyperlink_from_servant): impl.
1290 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1292 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
1293 (spi_hypertext_finalize): kill.
1294 (spi_hypertext_class_init): upd.
1295 (get_hypertext_from_servant): impl.
1296 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1298 * libspi/editabletext.c (spi_editable_text_finalize): kill.
1299 (spi_editable_text_interface_new): upd.
1300 (get_editable_text_from_servant): impl.
1301 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1303 * libspi/text.c (get_text_from_servant): impl.
1304 All impls - update to use it killing more cut and paste,
1305 also fix bad string returns on duff args ( a somewhat
1306 impossible case to handle - but hey ).
1307 (spi_text_construct): impl.
1308 (spi_text_interface_new): upd.
1309 (spi_text_object_finalize): kill.
1311 * libspi/component.c
1312 (accessibility_component_object_finalize): kill.
1313 (spi_component_class_init): upd.
1314 (get_component_from_servant): impl. helper to kill cut & paste.
1315 (impl_accessibility_component_contains):
1316 (impl_accessibility_component_get_accessible_at_point):
1317 (impl_accessibility_component_get_position):
1318 (impl_accessibility_component_get_extents):
1319 (impl_accessibility_component_get_mdi_z_order):
1320 (impl_accessibility_component_get_layer):
1321 (spi_component_interface_new): upd.
1323 * libspi/action.c (spi_action_finalize): kill.
1324 (spi_action_class_init): upd. inherit from SpiObject.
1325 (spi_action_interface_new): upd.
1326 (get_action_from_servant): impl. helper to reduce cut & paste.
1327 (impl_getKeyBinding, impl_getName, impl_doAction),
1328 (impl_getDescription): Use it everywhere.
1330 * cspi/spi_main.c (get_live_refs): a pointer hash.
1331 (spi_object_hash, spi_object_equal): comment out.
1332 There are issues with CORBA object hashing that need
1335 * libspi/application.c (spi_application_init),
1336 (spi_application_new): upd.
1338 * libspi/accessible.c (spi_accessible_object_finalize): kill.
1339 (spi_accessible_class_init): upd.
1340 s/accessible/object/ in epv methods.
1342 2001-12-05 Bill Haneman <bill.haneman@sun.com>
1344 * at-bridge/bridge.c:
1345 Reorder the bridge initialization into the bridge gtk_module_init,
1346 an immediate call to bridge_register_app, and an idle_add for
1347 register_atk_event_listeners (the only code that *must* wait until
1348 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
1349 the activation, creates the application's Accessible object, and
1350 queues the bridge_idle_init function. Restored call to
1351 Accessibility_Registry_deregisterApplication().
1352 Prior to making this call we obtain a new reference to the
1353 registry, which is a temporary hack that helps us handle apps that
1354 shut down the bonobo mainloop before we get there.
1356 * libspi/registry.c:
1357 Fix string leakage in debug block, and don't segv if a an app
1358 dies before its event notifications have been propagated.
1361 Modify cspi_check_ev() to call g_warning() rather than g_error(),
1362 as stopgap measure until we get proper exception handling when
1363 objects die during or before interrogation.
1367 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
1368 Also changed default value of is_gnome_app to TRUE.
1371 * test/keysynth-demo.c:
1372 Changed use of SPI_init and SPI_event_main to reflect API change above.
1375 Made report_focus_event check the warning value from getName
1376 before reporting on focussed accessible; simplifies handling of
1377 notifications from dead objects.
1379 * test/test-simple.c: (Changes not in this patch since source is
1382 2001-12-05 Michael Meeks <michael@ximian.com>
1384 * registryd/registryd.c (main): protect against
1385 bonobo-activation startup race condition.
1387 * cspi/spi_main.c (cspi_object_add_check): cope
1388 with the exception elegantly.
1390 * idl/Accessible.idl: decl. ChildGone
1392 * libspi/desktop.c (spi_desktop_dispose): impl.
1393 (spi_desktop_class_init): upd.
1394 (spi_desktop_add_application),
1395 (spi_desktop_remove_application),
1396 (abnormal_application_termination): impl.
1397 (impl_desktop_get_child_at_index): re-impl.
1400 (impl_accessibility_registry_deregister_application),
1401 (impl_accessibility_registry_register_application):
1402 kill excessive debug clutter.
1404 * test/test-simple.c (test_misc): test some NULL
1405 tolerance. (main): upd.
1407 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
1408 implements no interfaces - so let's not crash.
1410 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
1412 * libspi/accessible.c (spi_accessible_new_return): impl.
1413 helper to calm the cut and paste, to cope with
1414 NULL AtkObjects effectively and efficiently, and to kill
1415 the referencing bugs.
1417 * libspi/table.c (impl_getAccessibleAt),
1418 (impl_getRowHeader, impl_getColumnHeader): upd.
1420 * libspi/hyperlink.c (impl_getObject): upd.
1422 * libspi/accessible.c
1423 (impl_accessibility_accessible_get_child_at_index): upd.
1425 * libspi/component.c
1426 (impl_accessibility_component_get_accessible_at_point): upd.
1428 * test/test-simple.c (test_editable_text, test_text): impl.
1431 * cspi/spi_editabletext.c
1432 (AccessibleEditableText_insertText): constify.
1434 * test/test-simple.c (focus_me): make more robust.
1436 * libspi/accessible.c: remove some printfs in methods that
1437 we test and work fine, so we can get a clean tree dump.
1439 * test/test-simple.c (validate_accessible),
1440 (validate_tree): make tree dumping pretty too.
1442 * at-bridge/bridge.c (bridge_signal_listener): upd. so
1443 it builds without debug on.
1445 * test/test-simple.c (validate_accessible): fix the most
1448 * cspi/spi_main.c (spi_object_release): leave the nicely
1449 blanked memory around if in debug mode.
1451 * cspi/spi-listener-impl.c (cspi_event): use add_check.
1453 [committed to fixups2]
1454 2001-12-05 Michael Meeks <michael@ximian.com>
1456 * libspi/editabletext.c
1457 (spi_editable_text_class_init): g_type_class_peek_parent,
1458 not interface peek - so we finalize cleanly.
1460 * libspi/accessible.c (spi_accessible_new): kill debug.
1462 * test/test-simple.c (validate_accessible): fix ref.
1463 leak, print strings before freeing them; sigh, comment a
1464 chunk out due to strangeness.
1465 (validate_tree): unref the child after use.
1467 * cspi/spi_component.c (AccessibleComponent_getLayer):
1468 add missing break statement, switch on zlayer not the
1469 uninitialized retval.
1471 * cspi/spi_main.c (cspi_object_add): add assert, local ref
1472 before (possibly re-entering) remote unref.
1474 * test/simple-at.c (main): unref the desktop.
1476 * cspi/spi_accessible.c (cspi_accessible_is_a): move
1479 * cspi/spi_main.c (cspi_accessible_is_a): here to
1480 isolate bonobo API usage more.
1482 * libspi/registry.c (impl_accessibility_registry_register_application):
1483 prune bogus comment.
1485 2001-12-04 Michael Meeks <michael@ximian.com>
1487 * test/test-simple.c (validate_tree): upd.
1488 IndexInParent check to make it more lucid.
1489 (validate_accessible): dump the tree.
1491 * libspi/accessible.c (de_register_public_ref),
1492 (get_public_refs): impl.
1493 (spi_accessible_new): make more efficient & intuitive.
1494 Now IndexInParent check works.
1496 2001-12-04 Michael Meeks <michael@ximian.com>
1498 * cspi/spi-util.h: remove.
1500 * cspi/spi.h: move SPI_freeString here
1502 * libspi/component.c (impl_accessibility_component_get_layer):
1504 (impl_accessibility_component_get_mdi_z_order): ditto,
1505 return -1 on error - is this ok ?
1507 * test/test-simple.c (test_application): impl.
1509 * cspi/spi_accessible.c (Accessible_getApplication),
1510 (Accessible_isApplication): impl.
1512 * libspi/registry.c (spi_listener_struct_free): release
1513 the CORBA reference too.
1515 * libspi/accessible.c
1516 (impl_accessibility_accessible_get_parent): fix ref leak.
1518 * libspi/registry.c (spi_registry_new): make the registry
1519 immortal - we don't want it to go away ever.
1521 * libspi/application.c
1522 (spi_accessible_application_finalize): impl. cleanup.
1524 * cspi/spi_registry.c
1525 (deregisterGlobalEventListenerAll),
1526 (deregisterGlobalEventListener),
1527 (deregisterAccessibleKeystrokeListener): fix ref leak.
1529 * cspi/spi_main.c (SPI_init): remove redundant ref.
1531 * test/test-simple.c (unutterable_horror): impl. to force a
1536 (impl_accessibility_registry_deregister_application): release
1537 the application when we de-register it.
1539 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1540 until we have the infastructure to get it right.
1542 2001-12-03 Michael Meeks <michael@ximian.com>
1544 * libspi/Makefile.am: only build eventlistener.[ch]
1546 * libspi/accessible.c
1547 (impl_accessibility_accessible_get_child_at_index): don't leak.
1549 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1550 before we hit the idle handler.
1552 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1553 debugging than exit.
1555 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1557 * libspi/listener.c (impl_notify_event): check source
1558 not NIL before unref.
1560 * libspi/registry.c (impl_registry_notify_event): ditto.
1562 * libspi/eventlistener.c
1563 (impl_accessible_event_notify_event): unref the source.
1565 * libspi/accessibleeventlistener.c
1566 (impl_accessible_event_notify_event): unref the source.
1568 * idl/Event.idl: remove 'hash_id' attribute - of no
1571 * libspi/application.c (notify_listeners): upd list
1573 (spi_application_object_event_listener),
1574 (spi_application_toolkit_event_listener): upd to do correct
1578 (_registry_notify_listeners): update.
1579 (parse_event_type): this method also leaks like a sieve.
1580 (impl_accessibility_registry_deregister_global_event_listener):
1581 fix ETYPE_WINDOW case.
1583 * libspi/application.c
1584 (impl_accessibility_application_register_object_event_listener):
1587 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1589 * libspi/hypertext.c (impl_getLink): ditto.
1591 * cspi/spi_main.c (cspi_object_add): remove
1592 bogus CORBA_Object_duplicate.
1594 * cspi/spi-listener-impl.c (cspi_event): dup/ref
1597 * cspi/spi_accessible.c
1598 (Accessible_getRelationSet): fix leak / referencing issue.
1600 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1601 (cspi_object_add, cspi_object_unref): upd.
1602 (spi_object_release, get_live_refs): impl.
1603 (cspi_cleanup): simplify.
1605 * *.[ch]: s/boolean/SpiBoolean/
1607 * cspi/spi_accessible.c (role_names): actualy order so it
1608 corresponds with the enum !
1610 * test/test-simple.c (test_roles): check some role strings
1611 vs. enums to detect offset errors.
1613 2001-12-01 Michael Meeks <michael@ximian.com>
1615 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1617 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1619 (Accessible_getChildAtIndex): use cspi_add_check so we
1620 check the ev before using a (possibly) invalid value.
1622 * libspi/accessible.c
1623 (impl_accessibility_accessible_get_parent): don't segv
1626 * at-bridge/bridge.c (gtk_module_init): upd.
1627 (bridge_property_event_listener): don't leak strings
1629 (bridge_state_event_listener),
1630 (bridge_property_event_listener): don't use a static
1631 buffer in case of recursive event emission &
1632 re-enterancy - split out the swathe of cut and paste
1634 (emit_eventv): and fix 2 ref leaks here & comply to the
1636 (bridge_register_app): rename to
1637 (bridge_idle_init): this and kill arg parsing, split
1638 various inits & bonobo-activation registration to module
1639 init time, kill referencing error.
1640 (bridge_exit_func): fix the same leak.
1641 (bridge_focus_tracker): don't leak event structures
1643 (bridge_signal_listener): more leakage and cut & paste
1645 (bridge_key_listener): return the result - FIXME is
1646 this polarity correct ?
1647 (accessibility_keystroke_from_atk_key_event): rename
1648 (accessibility_init_keystroke_from_atk_key_event): and stop
1650 (gtk_module_init): return a value - not that it is checked by
1652 (bridge_key_listener): register my horror at casting between
1653 IDL defined structs.
1654 (bridge_get_registry): kill - not used.
1656 * cspi/spi_accessible.c (Accessible_getRole): make return const.
1658 * test/test-simple.c (test_roles): impl.
1659 (test_desktop, validate_accessible, validate_tree): impl.
1661 * cspi/spi_accessible.c (role_names): fixup bogus
1662 MAX_ROLES setup, make constants const for efficient linkage
1663 (AccessibleRole_getName): conform to coding style, make
1666 2001-11-30 Michael Meeks <michael@ximian.com>
1668 * cspi/spi.h: add missing prototype.
1670 * libspi/registry.c (spi_listener_struct_new): fix sig.
1672 * test/Makefile.am: add test-simple
1674 * test/test-simple.c: add
1676 * test/test.sh: add.
1678 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1680 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1681 do it straight - since otherwise we often get an activation race.
1683 [ work before Bill duplicated a chunk of it ... ]
1684 2001-11-30 Michael Meeks <michael@ximian.com>
1686 * libspi/keystrokelistener.c
1687 (spi_keystroke_listener_class_init): fixup arg
1690 * libspi/eventlistener.c
1691 (spi_event_listener_class_init): ditto.
1693 * tests/test.sh: add.
1695 * cspi/spi-listener-impl.h: update macros.
1697 * cspi/spi-listener-impl.c
1698 (cspi_event_listener_remove_callback): add
1699 correct pre-conditions.
1701 * cspi/spi_main.c (SPI_exit): guard vs. double
1702 exits, exit the mainloop nicely.
1703 (SPI_event_main): make more sense.
1704 (SPI_init): move the atexit evilness here so we
1705 always do it (yuck).
1706 (SPI_event_main): upd.
1708 * test/simple-at.c: update for listener changes.
1710 * registryd/registryd.c (main): prune kruft.
1712 * libspi/libspi.h: upd.
1714 * libspi/eventlistener.[ch]: rename broken macros.
1716 * libspi/accessibleeventlistener.[ch]: remove.
1718 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
1720 * test/test-simple.c: Add - automated tests.
1722 * cspi/spi-listener-impl.c (cspi_event),
1723 (cspi_key_event): add user_data to invoke.
1724 (cspi_keystroke_listener_finalize): impl.
1725 (cspi_keystroke_listener_class_init): upd.
1728 (createAccessibleEventListener),
1729 (AccessibleEventListener_addCallback),
1730 (createAccessibleKeystrokeListener),
1731 (AccessibleKeystrokeListener_addCallback): upd.
1733 * libspi/deviceeventcontroller.c
1734 (spi_device_event_controller_check_key_event): add public proto.
1737 (impl_accessibility_registry_deregister_global_event_listener):
1738 always init listeners.
1739 (_registry_notify_listeners): yes it is.
1741 * cspi/spi-listener-impl.c (cspi_key_event):
1743 (cspi_event_listener_finalize): impl.
1744 (cspi_event_listener_class_init): hook up.
1745 (event_handler_new, event_handler_free),
1746 (event_list_remove_by_callback): impl.
1747 (cspi_event_listener_remove_callback),
1748 (cspi_keystroke_listener_remove_callback),
1749 (cspi_keystroke_listener_add_callback),
1750 (cspi_event_listener_add_callback): upd.
1752 * libspi/keystrokelistener.c
1753 (keystroke_listener_object_finalize): kill
1754 (spi_keystroke_listener_class_init): upd.
1755 (spi_keystroke_listener_add_callback),
1756 (spi_keystroke_listener_remove_callback): kill,
1758 (impl_key_event): prune drasticaly.
1760 * libspi/eventlistener.c
1761 (spi_event_listener_add_callback),
1762 (spi_event_listener_remove_callback): kill, use
1764 (impl_accessible_event_notify_event): upd.
1765 (spi_event_listener_object_finalize): remove.
1767 * libspi/Makefile.am: use eventlistener.[ch]
1769 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1771 * libspi/registry.c (_registry_notify_listeners):
1772 Changed listener loop iteration to use preferred convention.
1773 Got rid of string memory leaks caused be calling g_strconcat
1774 inside function calls.
1776 * libspi/registry.c (parse_event_type):
1777 Stopped g_strconcat memory leaks, free the g_strsplit return,
1778 g_strdup the split pieces when used, etc.
1780 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1783 Change method 'compare' to return a 'difference set' rather than
1784 taking a StateSet as an out parameter (more Java-friendly).
1786 * idl/Accessible.idl:
1787 Added CORBA struct 'BoundingBox', to faciliate API changes below:
1789 * idl/Component.idl:
1791 Changed methods 'getExtents' and 'getImageExtents' in these
1792 interfaces to return a BoundingBox structure.
1793 (getPosition and getSize are redundant and possibly should be
1794 removed, rather than creating a corresponding Point struct.)
1796 * cspi/spi_component.c:
1797 Modify implementation of getExtents to reflect the above IDL
1802 Add (missing) AccessibleImage_getExtents () API.
1804 * docs/reference/cspi/at-spi-cspi-sections.txt:
1805 Added AccessibleImage_getImageExtents () to docs.
1807 2001-12-03 Bill Haneman <bill.haneman@sun.com>
1809 * idl/Component.idl:
1810 Added two methods, getLayer () and getMDIZOrder (), to reflect
1811 the new ATK methods atk_object_get_layer and
1812 atk_object_get_mdi_z_order. (Which arguably should be part of the
1813 AtkComponent API and AtkObject). Also added an enum,
1814 ComponentLayer, for the first method's return value.
1816 * libspi/component.c:
1817 Added implementations for these methods.
1819 * cspi/spi_component.c:
1821 Added cspi binding methods for above,
1822 AccessibleComponent_getLayer() and
1823 AccessibleComponent_getMDIZOrder().
1824 Added cspi enum 'AccessibleComponentLayer'.
1826 * docs/reference/cspi/at-spi-cspi-sections.txt:
1827 Added above methods to docs.
1831 Changed typedef for 'boolean' type (and all references to it) to
1832 SPIBoolean, to avoid keyword clashes with C++.
1835 Changed usages of 'boolean' to SPIBoolean.
1837 * test/keysynth-demo.c:
1838 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
1839 app), except where SPIBoolean is required by the callbacks API.
1841 2001-12-02 Bill Haneman <bill.haneman@sun.com>
1843 * cspi/spi_registry.c:
1844 Removed obsolete X event loop for passive keygrabs (which now
1847 * registryd/registryd.c:
1848 Removed unnecessary call to gdk_init() [cruft]. This also allows
1849 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
1852 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1854 * docs/reference/cspi:
1855 Included docs for SPI_freeString in generated documentation.
1858 Renamed spi_freeString to SPI_freeString, for consistency. Added
1859 documentation for this function.
1862 Renamed spi_freeString to SPI_freeString, for consistency.
1863 Removed obsolete method declaration string_from_corba_string.
1865 * test/keysynth-demo.c:
1866 Small tweak to comments.
1869 Stopped leaking the strings returned from CSPI.
1871 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1873 Merged Michael's branch (see his ChangeLog entries below).
1875 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
1876 bridge is alive, release on exit.
1878 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
1879 Fix type check macro.
1882 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
1885 Added is_gnome_app static, and method cspi_is_gnome_app(),
1886 so we can call the appropriate shutdown routine at exit in SPI_exit.
1888 * cspi/spi_main.c (cspi_object_ref):
1889 Duplicate the corba object passed in, since we're keeping it around.
1891 * cspi/SPI_exit.c, cspi_cleanup:
1892 Moved the releasing of the live refs to its own function, so we
1893 can put it in g_atexit (). Call the appropriate shutdown API
1894 depending on whethe calling client is a gnome app or not
1895 (bonobo_main_quit or CORBA_ORB_shutdown).
1897 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
1898 Unref the listener when this method is called, after
1899 deregistration. Updated the API docs to note this behavior.
1901 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
1902 Bugfixes: Ref the bonobo object when returning a parent or child
1903 reference, or an AccessibleRelation. Generally made sure
1904 BonoboObject refcount is incremented whenever we return an
1907 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
1908 Fixed typo/bug in signal declaration.
1910 * libspi/accessibleeventlistener.h:
1913 * libspi/application.c (spi_application_new):
1914 Fixed leak in initialization.
1917 Remembered to increment bonobo-object refcount when returning
1918 children (applications) from desktop object.
1919 Added (empty) finalize method.
1921 * libspi/deviceeventcontroller.c:
1922 Hold a ref to listeners inside DEControllerKeyListeners.
1923 Added dec_key_listener_free() method. Use prepend instead of
1924 append in key_listener list. Fixed some refcount madness and
1925 leaks in the listener registration/deregistration - deregistration
1926 now calls dec_key_listener_free() on listeners, and on the
1927 temporarily constructed dec_key_listener() used to perform the search/match.
1929 * libspi/hypertext.c (spi_hypertest_finalize):
1930 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
1931 class. Also fixed spi_hypertext_interface_new() and
1932 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
1934 * libspi/hypertext.h:
1935 Removed pointless and duplicate AtkObject pointer from
1938 * libspi/keystrokelistener.c:
1939 Fixed incorrect type of keystroke_listener_parent_class,
1940 renamed keystroke_listener_object_finalize to
1941 spi_keystroke_listener_object_finalize.
1942 Fixed typo in signal declaration
1943 (spi_keystroke_listener_class_init).
1945 * libspi/registry.c:
1946 Added funcsions spi_listener_struct_new() and
1947 spi_listener_struct_free() to help with memory management issues.
1948 We also now use these methods instead of gnew + poking stuff into
1949 the struct, and to decrement listener counts/free the listeners
1950 when deregistering them.
1951 Fix more refcount bugs in getDesktop() and
1952 getDeviceEventController().
1955 De-ref the desktop after enumerating the applications. Explicitly
1956 decrement the refcounts on the created listeners on exit (using
1957 _unref for keystroke listeners, and via the
1958 deregisterGlobalEventListenerAll command for other event
1961 2001-11-27 Michael Meeks <michael@ximian.com>
1963 * cspi/spi-listener.h: fixup enum.
1965 2001-11-27 Michael Meeks <michael@ximian.com>
1967 * cspi/spi-listener-impl.c (cspi_event_listener_new),
1968 (cspi_keystroke_listener_new): Use the cspi variants.
1970 2001-11-26 Michael Meeks <michael@ximian.com>
1972 * test/keysynth-demo.c: fix 2 compile warnings, missing
1975 * test/simple-at.c (report_focussed_accessible),
1976 (report_focus_event, report_button_press),
1977 (check_property_change, is_command_key),
1978 (report_ordinary_key_event, report_command_key_event): upd.
1980 * util/mag_client.h: include pre-requisites.
1982 * libspi/accessibleeventlistener.c
1983 (spi_event_listener_object_finalize): free any lingering
1986 * libspi/keystrokelistener.c
1987 (keystroke_listener_object_finalize): ditto.
1989 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1990 callbacks, with cspi types.
1992 * cspi/spi_event.c (createAccessibleEventListener): chain to
1993 (AccessibleEventListener_addCallback): here.
1994 (createAccessibleKeystrokeListener): chain to
1995 (AccessibleKeystrokeListener_addCallback): here.
1997 * libspi/keystrokelistener.c
1998 (spi_keystroke_listener_class_init): add signal.
1999 (impl_key_event): emit the event.
2000 (boolean_handled_accumulator): impl.
2001 (marshal_BOOLEAN__POINTER): add, gack.
2003 * libspi/accessibleeventlistener.c
2004 (spi_event_listener_class_init): add signal.
2005 (impl_accessible_event_notify_event): emit the signal &
2006 make the loop efficient.
2007 (spi_event_listener_add_callback): prepend the callback.
2009 * libspi/accessibleeventlistener.h: add an 'event' signal,
2010 decl type on callback.
2012 * libspi/keystrokelistener.h: ditto.
2014 * cspi/spi-listener.h: make methods typesafe and
2015 make them use the new event typedefs.
2017 * test/simple-at.c (report_focussed_accessible):
2018 include mag_client.h
2019 Use *(void *)text_interface not the other thing.
2021 * configure.in: add gtk to registryd bits - since we use
2024 * util/magnifier.c: include libbonobo.h
2026 2001-11-25 Bill Haneman <bill.haneman@sun.com>
2028 * test/keysynth-demo.c:
2029 Turned this into a simple scanning keyboard, to demonstrate the
2030 use of g_timeout_add () as a means of creating timers for
2031 scanning, and the use of GtkStyle for visually indicating when
2032 virtual keyboard elements are selected.
2034 keysynth-demo now listens to any keyboard keys with zero-valued
2035 keycodes (i.e. 'unused' keys) and interprets them as
2038 Reworked the shiftlatch code so that shift-down state isn't held
2039 for long periods (it's only synthesized immediately prior to
2040 the keysynth event it's modifying). Note that shiftlatch in this
2041 demo is a convenience, not intended to take the place of AccessX
2042 which is the better choice for getting 'sticky' modifier keys.
2044 * libspi/deviceeventcontroller.c:
2045 * at-bridge/bridge.c:
2046 * cspi/spi_registry.c:
2047 Removed some debug print stuff, and put other verbosity in #ifdef
2052 Implemented some more of the magnifier IDL for the simple
2053 magnifier: namely, getZoomRegionParams.
2054 Added mag_x and mag_y members to MagnifierData struct, aid of this
2056 Added GtkWindow::realize signal handler to magnifier, to keep it
2057 from receiving keyboard focus from the WM.
2059 2001-11-23 Mark McLoughlin <mark@skynet.ie>
2061 * cspi/spi-private.h: my guess at what michael forgot
2062 before he ran off to NZ :-)
2064 2001-11-23 Michael Meeks <michael@ximian.com>
2066 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
2067 comment out non existant method invoke so we link.
2069 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
2070 use bonobo_exception_get_text for more friendly warnings.
2072 * cspi/spi.c (Obj_Add): move into spi_main & rename
2073 spi_object_add; kill spi.c
2075 * cspi/spi_registry.c
2076 (deregisterGlobalEventListener),
2077 (deregisterGlobalEventListenerAll),
2078 (registerGlobalEventListener): fix exception leaks.
2080 * cspi/spi_main.c (spi_exception): impl. helper, so we
2081 don't leak exceptions.
2083 * cspi/spi_selection.c
2084 (AccessibleSelection_deselectSelectedChild): return the
2087 * cspi/spi_main.c (spi_ev): impl; hack - gack.
2088 (spi_registry): ditto.
2089 (SPI_init): guard against double inits.
2091 * cspi/*.c: use spi_ev (), and spi_registry () where
2092 appropriate - a temporary hack until we have something
2093 better. Use spi_object_add
2095 2001-11-22 Michael Meeks <michael@ximian.com>
2097 * cspi/Makefile.am: re organise, install the headers.
2099 * cspi/*.h: add G_BEGIN/END_DECLS
2101 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2104 Added non-preemptive keylistener for key events with no modifiers
2105 and shift-only modifier.
2107 * libspi/keystrokelistener.c:
2108 Removed some verbose diagnostics printout.
2110 * cspi/spi_registry.c:
2111 Fixed a bug that caused all key listeners to be registered as
2114 * libspi/deviceeventcontroller.c:
2115 Fixed bug that caused XGrabKey (preemptive key grab) to be called
2116 for non-preemptive key masks.
2119 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2121 * docs/reference/idl/at-spi-idl-docs.sgml:
2122 * docs/reference/idl/at-spi-idl-sections.txt:
2123 * docs/reference/idl/at-spi-idl-overrides.txt:
2124 Added missing files.
2126 * docs/reference/Makefile.am:
2127 removed idl from SUBDIRS until we can figure a way to get gtk-doc
2128 to scan the IDL files :-(
2133 Added .cvsignore files.
2135 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2137 * libspi/deviceeventcontroller.c:
2138 * libspi/keystrokelistener.c:
2140 * cspi/spi_registry.c:
2141 Added filters for KeySets, KeyEventSeq, and event types to key
2142 event dispatching, so listeners should only receive those events
2143 that they requested :-)
2145 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2150 * docs/reference:Makefile.am:
2151 * docs/reference/cspi:
2152 * docs/reference/cspi:Makefile.am:
2153 * docs/reference/cspi:tmpl:
2154 * docs/reference/cspi:tmpl:*.sgml:
2155 * docs/reference/idl:
2156 * docs/reference/idl:Makefile.am:
2157 * docs/reference/idl:at-spi-idl-sections.txt:
2158 * docs/reference/idl:at-spi-idl-docs.sgml:
2159 * docs/reference/idl:tmpl:
2160 * docs/reference/idl:tmpl:*.sgml:
2162 Restructured docs directory to allow separate 'reference' docs
2163 section, and forked idl and cspi docs. Added the sgml template
2164 files to CVS. Added the first sections/structural sgml for the
2167 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
2169 * configure.in, libspi/Makefile.am: find libXtst.
2171 2001-11-21 Michael Meeks <michael@ximian.com>
2173 * test/accessx-gui.c: s/spi_value/value/ - doh.
2175 * libspi/base.[ch]: add.
2177 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2179 * idl/Accessible.idl:
2180 * idl/Application.idl:
2183 Started gtk-doc cleanup on IDL.
2185 * libspi/deviceeventcontroller.c:
2186 Added and connected non-preemptive key notification from the
2187 toolkits (in addition to the pre-emptive support from XServer
2188 which we had before, but which causes 'focus flashing'). Filters
2189 are presently limited to key modifiers and global/non-global,
2190 KeySets are presently ignored, as are KeyEvent masks.
2192 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
2193 structs into the persistant structure rather than just storing
2194 pointers to things that might not persist across servant
2197 The XGrabKey call now does async keygrabs, because synchronous
2198 ones were deadlocking with GDK_event code in a very nasty way.
2200 Added boolean to internal method notify_keylisteners, to indicate
2201 whether the event came from the 'toolkit source' or the 'global
2202 (XServer) source' - this is used in the notification process to
2203 determine which listeners to send the event to.
2205 deviceeventcontroller.c is now warning-free.
2207 * libspi/registry.c:
2208 Fixed regression in application de-registration.
2209 Also fixed some really brain-dead weirdness having to do with
2210 event dispatching - event structs are now duplicated before being
2211 re-marshalled in the dispatch to listeners. This also fixes a
2212 Solaris build problem.
2215 2001-20-11 Michael Meeks <michael@ximian.com>
2218 (impl_accessibility_registry_deregister_global_event_listener):
2221 * libspi/deviceeventcontroller.c
2222 (spi_device_event_controller_check_key_event): return
2223 FALSE on no virtual method.
2225 * libspi/*..h: make includes work on a correctly pathed install.
2227 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
2229 * libspi/application.h: kill unused ( and whacked out )
2230 gboolean *spi_application_set_id (AtkObject *app, long id);
2232 2001-20-11 Michael Meeks <michael@ximian.com>
2234 * libspi/*.[ch]: further convert to bonobo's type func
2235 macros, remove redundnant casts etc.
2237 * libspi/text.c s/accessibility_text/spi_text/g,
2238 re-order to de-cruft.
2240 * libspi/hypertext.c: re-order to kill a huge slew
2241 of redundant forward decls.
2243 * libspi/relation.c: ditto.
2245 * libspi/image.c: ditto.
2247 * */.cvsignore: update
2249 2001-20-11 Michael Meeks <michael@ximian.com>
2251 * libspi/deviceeventcontroller.c
2252 (_controller_register_with_devices): use g_getenv,
2253 kill stdlib.h include.
2255 * libspi/keystrokelistener.c
2256 (spi_keystroke_listener_get_type): kill
2257 (spi_keystroke_listener_class_init),
2258 (spi_keystroke_listener_init): rename to this.
2260 * libspi/text.c (impl_getAttributes): fix warning / bug.
2262 * libspi/*.[ch]: more headers, includes and over commenting.
2264 2001-20-11 Michael Meeks <michael@ximian.com>
2266 * libspi/*.[ch]: fixup headers, includes and over commenting.
2268 * libspi/image.c (impl__get_imageDescription): const
2269 correctness warning fix. remove redundant casting.
2271 * libspi/table.c (impl_getRowDescription): ditto.
2272 (impl_getColumnDescription): ditto.
2274 * libspi/libspi.h: add.
2276 2001-19-11 Michael Meeks <michael@ximian.com>
2278 * libspi/editabletext.c (impl_setAttributes): fix warnings.
2280 * libspi/component.c (accessibility_component_get_type):
2281 rename to (spi_component_get_type): and macroify.
2282 (accessibility_component_init): rename to
2283 (spi_component_init): this
2284 (accessibility_component_class_init): rename to
2285 (spi_component_class_init): this
2287 * libspi/action.c (spi_action_get_type): kill, use the macro.
2289 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
2292 * libspi/application.c (spi_application_object_event_listener),
2293 (impl_accessibility_application_register_object_event_listener):
2294 warning fixes / const understanding updates.
2296 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
2299 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2301 * libspi/spi_accessible.c: Added docs and C bindings for
2302 AccessibleStateSet. (No implementations yet). Documentation
2303 coverage for C bindings now 100%. Made docs for event listeners
2308 boolean notifyListenersSync (in DeviceEventListener listener,
2309 in DeviceEvent event);
2311 oneway void notifyListenersAsync (in DeviceEventListener listener,
2312 in DeviceEvent event);
2314 Added DeviceEventListener and DeviceEvent structs (may deprecate
2315 KeyStroke and KeystrokeListener in favor of this generic
2316 event/listener framework for devices).
2318 * libspi/deviceeventcontroller.c:
2320 Changed some key listener code to take masks, etc., and paved the
2321 way for integration of toolkit/non-preemptive key events. Changed
2322 signatures of some internal methods.
2324 * at-bridge/bridge.c:
2325 Fixed regression connecting to interface signals, apparently
2326 caused by GTK+ changes.
2328 Added an internal bridge_state_listener to deal with
2329 property-change:accessible-state signals.
2331 Changed the key_listeners GList to store structs (including masks,
2332 etc.) instead of just CORBA_Objects (required for full
2333 implementation of key listener API).
2335 Connected the bridge to all currently supported Atk signals.
2336 Events now supported:
2337 object:property-change
2338 object:property-change:accessible-name
2339 object:property-change:accessible-state
2340 object:property-change:accessible-description
2341 object:property-change:accessible-parent
2342 object:property-change:accessible-value
2343 object:property-change:accessible-role
2344 object:property-change:accessible-table-caption
2345 object:property-change:accessible-table-column-description
2346 object:property-change:accessible-table-column-header
2347 object:property-change:accessible-table-row-description
2348 object:property-change:accessible-table-row-header
2349 object:property-change:accessible-table-summary
2350 object:children-changed
2351 object:visible-data-changed
2352 object:selection-changed
2353 object:text-selection-changed
2355 object:text-caret-moved
2357 object:row-reordered
2359 object:column-inserted
2360 object:column-reordered
2361 object:column-deleted
2362 object:model-changed
2364 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2366 * libspi/hyperlink.c,h:
2367 Fixed some broken stuff in hyperlink.
2369 * libspi/relation.h:
2370 * libspi/relation.c:
2371 * cspi/spi_accessible.c:
2372 Initial implementations of AccessibleRelation methods, and docs.
2374 * libspi/accessible.c:
2375 Fixed a bug that caused SEGV if an accessible
2376 object's description is NULL, and a client
2377 requests it. An empty string is now returned.
2379 * cspi/spi_editabletext.c:
2380 * cspi/spi_hypertext.c:
2382 * cspi/spi_hyperlink.c:
2386 Doc coverage now 95%.
2388 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2390 One last namespacing revision:
2391 * libspi/accessibleeventlistener.[ch]:
2392 Renamed SpiAccessibleEventListener to SpiEventListener,
2393 (no need for two namespaces ;-)
2395 And lots of documentation fixes:
2397 * docs/at-spi-docs.sgml:
2398 Fixed 'underscore vs. hyphen' bug that was preventing
2399 the gtk-doc API docs from being automatically generated.
2402 * cspi/spi-listener.h
2404 * cspi/spi_accessible.c
2406 * cspi/spi_application.c
2407 * cspi/spi_component.c
2408 * cspi/spi_editabletext.c
2410 * cspi/spi_hypertext.c
2412 * cspi/spi_registry.c
2413 * cspi/spi_selection.c
2417 * docs/at-spi-docs.sgml
2418 * docs/at-spi-sections.txt
2420 Added and fixed up gtk-doc documentation in cspi.
2422 Interfaces now (fully) documented (subject to revision and enhancement):
2424 Event Listener Support
2426 AccessibleApplication
2430 AccessibleEditableText
2437 AccessibleRelationSet
2442 2001-14-11 Bill Haneman <bill.haneman@sun.com>
2444 * at-bridge/bridge.c:
2445 Initial work for toolkit-level key snooper connection by bridge.
2450 New typedefs and fixes to support new namespacing, and cleaner
2451 separation of cspi bindings from libspi bonobo implementation.
2452 Removed inconsistent and extraneous Spi* namespace prefix that
2453 had crept into cspi headers.
2454 Lots of comment fixes that sed had missed.
2456 * cspi/spi-roletypes.h:
2457 * cspi/spi-statetypes.h:
2458 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
2459 to AccessibleRoleType.
2461 * libspi/accessibleeventlistener.h:
2462 Fixed minor namespacing weirdness.
2464 * libspi/deviceeventcontroller.c:
2465 Reordered some internal API for device listeners.
2466 Changed the key registry final boolean to 'is_system_global'
2467 rather than 'is_synchronous', which is more descriptive of its
2469 Added spi_device_event_controller_new().
2470 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
2472 * libspi/keystrokelistener.[ch]:
2473 Namespaced KeystrokeListener to SpiKeystrokeListener.
2474 Changed uses of keymasks to use SPI_ prefix, and did other
2477 * libspi/keymasks.h:
2478 Namespaced keymask constants with SPI_ prefix.
2480 * libspi/registry.c:
2481 Some warning fixes, and knock-on fixes from namespace changes.
2484 Added rules for accessx-gui test program.
2486 * test/accessx-gui.c:
2487 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2488 utility. It doesn't actually use at-spi, but it's still cool and
2491 * test/keysynth-demo.c:
2495 Fixes so that these test clients work properly with the namespaced
2496 libraries. (Incompletely tested for technical reasons, fixes may follow)
2499 2001-13-11 Michael Meeks <michael@ximian.com>
2501 * libspi/application.c
2502 (impl_accessibility_application_get_version),
2503 (impl_accessibility_application_get_toolkit_name):
2505 (impl_accessibility_application_set_id),
2506 (impl_accessibility_application_get_id): remove
2507 redundant casting code.
2509 * libspi/action.c (impl_getDescription): fix warnings.
2511 * libspi/accessible.c
2512 (impl_accessibility_accessible_get_parent),
2513 (impl_accessibility_accessible_get_child_at_index),
2514 (impl_accessibility_accessible_get_state),
2515 (impl_accessibility_accessible_get_relation_set):
2516 warning fixes & include action.h
2518 2001-13-11 Michael Meeks <michael@ximian.com>
2520 * *.[ch] fix bits I screwed up:
2522 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2523 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2525 2001-13-11 Michael Meeks <michael@ximian.com>
2527 * *.[ch] Namespace libspi into spi_ and Spi.
2529 2001-13-11 Michael Meeks <michael@ximian.com>
2531 * Makefile.am: dist & install at-spi-1.0.pc
2533 * libspi/Makefile.am: install into at-spi-1.0
2535 * idl/Makefile.am (idldir): install into at-spi-1.0
2537 * at-spi-1.0.pc.in: add.
2539 * configure.in: build it.
2541 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2543 * test/keysynth-demo.c:
2544 Use a 'realize' signal-handler to set the WM properties for
2545 the virtual keyboard, rather than making it a "POPUP" type
2546 override-redirect window (thanks to anders carlsson for that
2549 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2552 * test/keysynth-demo.c:
2553 Added new test of key synthesis, which creates a simple
2554 (mouse-operated) onscreen keyboard. It inserts key events into
2555 the currently-focused window, thus it does not grab keyboard focus
2558 * cspi/spi_registry.c:
2559 Added C binding for AT-SPI generateKeyEvent.
2561 * libspi/deviceeventcontroller.c:
2562 Added call to XFilterEvent so that key listener works with XIM (we
2563 hope). Added event_synth_type to generateKeyEvent, so that we can
2564 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2565 synthesize a press/release pair for KeySyms.
2567 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2569 * libspi/Makefile.am:
2570 * registryd/Makefile.am:
2571 (temporary) hack to include libXtst in libspi and registryd.
2572 (Needed for keystroke synthesis, see below).
2575 Improved API for registerKeystrokeListener, in accordance with
2576 discussions with Gnopernicus team and X server research.
2578 * libspi/registry.c:
2579 * libspi/deviceeventcontroller.c:
2580 * libspi/accessible.c:
2581 * libspi/keystrokelistener.c:
2582 Changes and fixes to support keylisteners for potentially
2583 consumed key events (that is, 'passive grabs').
2584 Added implementation for generateKeyEvent() [untested].
2587 Changes to registerKeystrokeListener() API, as above.
2588 Added deregisterGlobalEventListenerAll(), and
2589 deregisterKeystrokeListener(), which are needed for clean exit of
2591 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2592 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2594 * cspi/spi_registry.c:
2595 Added implementations of function prototypes mentioned above.
2597 * registryd/registryd.c:
2598 Added the key listener event source as a g_timeout(), to allow
2599 receipt of key events that are not caught by GDK (since GDK
2600 doesn't support passive keygrabs, this was necessary).
2603 Changed to attach a keylistener to 'Alt' keys, and
2604 respond to the following keycommands: Alt-M (toggle magnifier);
2605 Alt-F (toggle speech); Alt-Q (quit).
2606 Added an exit routine to deregister the listeners, and a key
2607 listener that prints some key info to the console when a key
2608 matches the listener mask (and is thus received by the listener).
2610 * util/idl/Magnifier.idl:
2611 Changes to magnifier API to support multiple zoom regions,
2612 non-uniform scaling in x and y, markDirty, and a host of other
2613 features that would be useful to magnification.
2616 * util/mag_client.c:
2617 * util/mag_client.h:
2618 * util/mag_control.c:
2620 Source code changes to support the above IDL changes.
2623 As above, and also changes to use a (slower) generic conversion
2624 path for colormap conversions, since the fast RGB conversions have been
2625 reported to fail for 16-bit displays.
2627 2001-10-26 Michael Meeks <michael@ximian.com>
2629 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2631 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
2633 * at-bridge/Makefile.am: fix LDFLAGS.
2635 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2637 * at-bridge/bridge.c:
2638 Re-worked listeners for toolkit events, now we have signal
2639 and property listeners. Added a private method
2640 register_atk_event_listeners(), which registers with the
2641 various atk and gtk signals we need to monitor in order to emit
2643 Added emission hook for AtkObject:property-change events, to
2644 support the 'property listeners'.
2645 Fixed some alloc()s of Accessibility_Event structs to use CORBA
2648 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2649 which emit warnings and exit, respectively, if CORBA errors occur
2650 during remote calls, and we now use these methods to check most of
2651 our CORBA calls in the C bindings.
2653 * cspi/spi_accessible.c:
2654 Changed AccessibleSelection_refSelectedChild() to
2655 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2656 now increment refcounts.
2658 * cspi/spi_component.c:
2659 Fixed some long pointer casts (dangerous!) to pass pointers to
2660 CORBA_longs of the proper type to the CORBA stubs, and copy the
2661 data into the longs that were passed into the C bindings code.
2663 * at-bridge/bridge.c:
2665 * libspi/accessible.c:
2666 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2667 hyperlinks, AtkHyperlink is an object type.
2669 * libspi/application.c:
2670 Added various conversions to and from "generic" event types and
2671 atk-specific types; this is really part of the 'bridge'
2672 implementation but is valid for all AtkObject-based accessibility
2675 * libspi/editabletext.c:
2676 Fixed nasty bug wherein editable text's finalize method was
2677 unref'ing tha AtkObject reference that the text parent class was
2678 about to unref _again_. There was also a nasty inheritance bug
2679 that meant that the AccessibleEditableText class was corrupt.
2681 * libspi/selection.c:
2682 Provided implementations for some selection API that was broken.
2684 * idl/Application.idl:
2685 Added registerObjectEventListener () method.
2688 Fixed a number of return values that were Bonobo_Unknowns from
2689 bonobo_object_corba_objref(), which I
2690 forgot to dup before returning. Changed instances of
2691 bonobo_object_corba_objref (bonobo_object(o)) to
2692 BONOBO_OBJREF(o), for concision and clarity.
2694 <2001-10-13 Louise Miller <louise.miller@sun.com>
2696 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2697 idl/Event.idl, idl/Registry.idl
2698 Changed these files to include Bonobo_Unknown.idl instead
2701 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
2703 * libspi/component.c libspi/component.h:
2704 Fixed typo. Added assertions for object checks in
2705 AccessibleComponent code.
2707 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2709 * idl/Accessible.idl:
2710 Added 'isEqual (Accessible *object)'
2711 method for Accessible. (Not Yet Implemented).
2714 Changed signature of registerKeystrokeListener() to
2715 take a KeySet and KeyEventSeq so that specific keys and event
2716 types could be requested for monitoring, and added a flag
2717 is_synchronous so that either synchronous or asynchronous
2718 notification could be requested. (However this is not all
2719 implemented yet). This also meant adding two new typedefs,
2720 KeyEventSeq and KeySet.
2723 Added two new relations, RELATION_TOOLTIP_FOR and
2724 RELATION_LEAFNODE_OF.
2727 Added new state, STATE_HAS_TOOLTIP.
2729 * libspi/text.c, editabletext.c:
2730 Added new assertions to all casts of bonobo-objects from
2731 CORBA servants, to prevent Text API calls on non-text objects.
2732 Changed suspect casts of int-pointer types, so that we
2733 always send a valid CORBA_long pointer to the CORBA APIs that use
2734 in/out long parameters. We then have to copy from the CORBA_long
2735 into the regular long or int for return to the C bindings, or
2736 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
2739 * libspi/deviceeventcontroller.c:
2740 Cleaned these sources up.
2742 Changed return type for getCharacterAtOffset to
2743 CORBA_unsigned_long, to allow for 32-bit characters.
2746 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
2750 Fixed 'make dist' so that distro compiles...
2751 * libspi/keymasks.h:
2753 * cspi/spi-listener.c:
2754 KeystrokeListenerCB now returns a boolean.
2756 Added KeyEventType struct, and KeyStroke.
2757 Also added createKeystrokeListener(),
2758 KeystrokeListener_addCallback(),
2759 KeystrokeListener_removeCallback(), and added a keymask to
2760 registerKeystrokeListener().
2761 * cspi/spi_accessible.c:
2762 Changed numerous return types for interfaces from
2763 AccessibleComponent to Accessible<InterfaceName>; this was
2764 probably a cut-and-paste error.
2766 Implementations of new KeystrokeListener api (from spi.h,
2769 Changes to key modifier mapping.
2770 Created ControllerEventMask struct.
2771 Made DeviceEventController derive from Bonobo::Unknown.
2773 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
2774 * libspi/deviceeventcontroller.c:
2775 Added a number of new internal (private) methods.
2776 * libspi/editabletext.c:
2777 * libspi/editabletext.h:
2778 Fixed a number of bugs related to the fact that
2779 editabletext inherits from text. Fixed the EditableText struct,
2780 the init() call, and use correct casts when calling Text methods
2781 from an EditableText object. Removed (duplicate) atko from the
2782 EditableText structure, we use the one in the parent Text
2783 structure via the casts mentioned above.
2784 * libspi/keystrokelistener.[ch]:
2785 * libspi/registry.c:
2786 Changes in support of keyboard handling (above).
2788 Keyboard handling, though partly functional, is still not
2789 recommended for at-spi client use as there is considerable
2790 work yet to be done.
2793 Changed some places where pointers to various int types
2794 are cast to be pointers to CORBA_long types and vice-versa:
2795 pointer casting is not safe so we pass pointers of the correct
2796 types and then cast the result before putting it into the target
2799 * libspi/text.h: minor typos corrected.
2801 We now speak not only the name of a Text element, but the
2802 first sentence of its content, when it receives focus.
2803 I also changed the text compression to 75% from 50%.
2804 * util/Accessibility_Util.server.in:
2805 Changed the default magnifier type to be a 3x vertical
2806 splitscreen magnifier (was previously a 2x horizontal one).
2808 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
2810 * libspi/keystrokelistener.h:
2811 * libspi/keystrokelistener.c:
2812 Initial functional implementations of KeystrokeListener.
2815 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
2817 Fixed string handling for NULL strings in libspi.
2818 Added spi_freeString to free strings returned by C bindings.
2820 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
2822 * libspi/keystrokelistener.h:
2823 * libspi/keystrokelistener.c:
2824 Began (no-op) implementations of KeystrokeListener
2826 * libspi/deviceeventcontroller.c:
2827 * libspi/deviceeventcontroller.h:
2828 Began creating implementations of DeviceEventController,
2829 to handle keystroke and mouse event listening and
2831 * libspi/accessible.c:
2832 Stubbed-in the implementations for
2833 Accessibility_Accessible_getState and
2834 Accessibility_Accessible_getRelationSet.
2835 * libspi/registry.c:
2836 Improved de-registration process and fixed some bugs,
2837 deregistration now works correctly.
2839 Added initialization of applications list (to NULL).
2841 Reduced speech compression from 0.5 to 0.7, for demo.
2842 Changed call to gdk_window_set_decorations()
2843 to gtk_window_set_decorated().
2844 * at-bridge/bridge.c:
2845 Bridge now deregisters when app exits, via
2846 registration of a cleanup function
2847 with the g_atexit() call.
2848 Required making 'app' static, renamed 'this_app'.
2849 Fixed broken use of bonobo_init, passing argv wrongly.
2851 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
2855 Created a new directory for
2856 accessibility-related utilities, primarily for
2857 testing and demo purposes, but with possible
2864 Onscreen magnifier utility that
2865 is implemented as a bonobo service.
2867 * util/mag_client.c:
2868 * util/mag_client.h:
2869 Client-side support (simple C bindings)
2870 for Magnification service
2872 * util/mag_control.c:
2873 Client program example for
2874 Magnification service
2876 * util/Accessibility_Magnifier.server.in:
2877 Bonobo-activation file for the
2878 Magnification service.
2881 * util/idl/Magnifier.idl:
2882 IDL defining the bonobo Magnification
2886 Modifications to use the bonobo-activated magnifier
2887 above, in place of trying to connect to an existing
2888 magnifier that uses socket-listening IPC.
2890 If env variable MAGNIFIER is set, a magnifier service
2891 will be started if one does not exist.
2893 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
2894 * at-bridge/bridge.c:
2895 applied patch from Marc to build and run
2896 against new glib and gtk+ (seemed like a change
2897 to bonobo_init signature was made ?)
2899 made festival-server support turned off by default.
2900 Added support for a simple magnifier (off by default)
2901 which will be added to a 'util' directory later.
2902 * at-bridge/Makefile.am:
2903 Changed "application.h" header from a 'source'
2904 to a 'dependency' of libat-bridge.
2906 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2914 Added interface implementation c files to list of
2915 includes so they are included in libcspi.
2918 Changed prototype of AccessibleAction_doAction to return a
2920 Changed prototype of AccessibleTable_getCaption to
2921 return an Accessible.
2922 Changed prototype of AccessibleTable_getSelectedRows
2923 and AccessibleTable_getSelectedColumns to
2924 return a long (returns the number of selected rows
2925 or columns respectively).
2926 Changed name of AccessibleText_refRunAttributes to
2927 AccessibleText_getAttributes.
2928 Changed prototype of AccessibleText_getCharacterExtents to
2929 return a void rather than a boolean.
2930 Added support for a AccessibleCoordType parameter
2931 specifying what type of coordinates are desired.
2932 Added an AccessibleCordType parameter to
2933 AccessibleText_getPointAtOffset.
2935 * cspi/spi_accessible.c:
2936 Added code to return the outstanding interfaces from
2937 Accessible_queryInterface.
2939 * cspi/spi_action.c:
2941 Corrected call to getNActions to call the c binding
2944 * cspi/spi_editabletext.c:
2946 Changed name from setRunAttributes to setAttributes.
2948 * cspi/spi_hyperlink.c:
2950 Changed call to getNAnchors to correctly call the c
2951 binding for an attribute.
2953 * cspi/spi_hypertext.c:
2955 Changed getImageDescription to correctly call the
2956 binding for an attribute.
2958 * cspi/spi_selection.c:
2959 Changed getNSelectedChildren to correctly call the c
2960 binding for the attribute.
2961 Changed refSelectedChild to getSelectedChild.
2965 Changed getCaption to return an Accessible.
2966 Fixed calls which retrieve attributes.
2967 Changed refAt to getAccessibleAt.
2968 Changed getNSelectedRows and getNSelectedColumns to
2972 Changed getCharacterExtents and getPointAtOffset to accept an
2973 AccessibleCoordType.
2975 Changed calls which retrieve attributes.
2976 Changed refRunAttributes to getAttributes.
2981 * idl/Hyperlink.idl:
2982 Changed n_anchors attribute to nAnchors to keep naming
2983 convention consistent.
2986 Made Table inherit from Bonobo::Unknown.
2987 Added nSelectedColumns and nSelectedRows attributes.
2990 Made Value inherit from Bonobo::Unknown.
2992 * libspi/hyperlink.c:
2993 Change for nAnchors attributte name change.
2995 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3003 Added interface implementation c files to list of
3004 includes so they are included in libcspi.
3007 Changed prototype of AccessibleAction_doAction to return a
3009 Changed prototype of AccessibleTable_getCaption to
3010 return an Accessible.
3011 Changed prototype of AccessibleTable_getSelectedRows
3012 and AccessibleTable_getSelectedColumns to
3013 return a long (returns the number of selected rows
3014 or columns respectively).
3015 Changed name of AccessibleText_refRunAttributes to
3016 AccessibleText_getAttributes.
3017 Changed prototype of AccessibleText_getCharacterExtents to
3018 return a void rather than a boolean.
3019 Added support for a AccessibleCoordType parameter
3020 specifying what type of coordinates are desired.
3021 Added an AccessibleCordType parameter to
3022 AccessibleText_getPointAtOffset.
3024 * cspi/spi_accessible.c:
3025 Added code to return the outstanding interfaces from
3026 Accessible_queryInterface.
3028 * cspi/spi_action.c:
3030 Corrected call to getNActions to call the c binding
3033 * cspi/spi_editabletext.c:
3035 Changed name from setRunAttributes to setAttributes.
3037 * cspi/spi_hyperlink.c:
3039 Changed call to getNAnchors to correctly call the c
3040 binding for an attribute.
3042 * cspi/spi_hypertext.c:
3044 Changed getImageDescription to correctly call the
3045 binding for an attribute.
3047 * cspi/spi_selection.c:
3048 Changed getNSelectedChildren to correctly call the c
3049 binding for the attribute.
3050 Changed refSelectedChild to getSelectedChild.
3054 Changed getCaption to return an Accessible.
3055 Fixed calls which retrieve attributes.
3056 Changed refAt to getAccessibleAt.
3057 Changed getNSelectedRows and getNSelectedColumns to
3061 Changed getCharacterExtents and getPointAtOffset to accept an
3062 AccessibleCoordType.
3064 Changed calls which retrieve attributes.
3065 Changed refRunAttributes to getAttributes.
3070 * idl/Hyperlink.idl:
3071 Changed n_anchors attribute to nAnchors to keep naming
3072 convention consistent.
3075 Made Table inherit from Bonobo::Unknown.
3076 Added nSelectedColumns and nSelectedRows attributes.
3079 Made Value inherit from Bonobo::Unknown.
3081 * libspi/hyperlink.c:
3082 Change for nAnchors attributte name change.
3085 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
3087 implementations-- made server implementations own AtkObject pointers
3088 rather than their respective AtkInterrface pointers to fix
3089 refcounting. AtkHyperlink is still broken.
3091 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
3092 * cspi/spi_accessible.c:
3093 Added method Accessible_Role_getName(),
3094 and requisite string array (role_names).
3095 Added conversion string_from_corba_strin() call
3096 to Accessible_getName and _getDescription.
3097 * libspi/accessible.c:
3098 Added implementation for Accessible_getRole()
3100 Added festival support, used if environment variable
3103 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3105 * at-bridge/bridge.c:
3106 Now allocate Accessibility_Event using
3107 Accessibility_Event__alloc() instead of g_new0().
3108 * libspi/accessibleeventlistener.c:
3109 Initialize AccessibleEventListener->callbacks to NULL.
3110 Fixed accessible__event_listener_init() param, changed to
3111 "AccessibleEventListener *" type.
3112 Changed a bonobo_object_release_unref() call to
3113 Accessibility_Accessible_unref().
3114 * libspi/listener.c:
3115 Changed Bonobo_Unknown_unref to (equivalent)
3116 Accessibility_Accessible_unref.
3117 * libspi/registry.c:
3118 Changed bonobo_object_release_unref to
3119 Accessibility_Accessible_unref.
3121 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3124 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
3125 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
3126 spi-util.c spi-util.h
3127 Implementations for C bindings to remaining accessibility
3130 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3133 changed return value of Action from void to boolean to
3134 bring in line with ATK.
3137 Changed getText funcions to return "out" start and end offsets.
3138 Changed getAttributes to take and offset and return the start
3139 and end offset of the attribute run.
3140 Changed getOffsetAtPoint and getCharacterExtents to take an
3141 enum describing whether coordinates are window or screen.
3144 libspi/action.c libspi/action.h libspi/editabletext.c
3145 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
3146 libspi/hypertext.c libspi/hypertext.h libspi/image.c
3147 libspi/image.h libspi/selection.c libspi/selection.h
3148 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
3149 libspi/value.c libspi/value.h
3150 Added server implementations for outstanding ATK interfaces
3151 not yet implemented.
3153 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3156 Added (missing) getName() method.
3157 Made nActions an attribute.
3158 * idl/EditableText.idl:
3159 Changed order of params in setAttributes.
3160 * idl/Hyperlink.idl:
3161 Removed getAnchor, added getURI.
3163 Changed attributes to methods, for efficiency
3164 (so that getting extents can be done in one call)
3165 * idl/Selection.idl:
3166 Changed nSelectedChildren to attribute, and re-indented.
3167 * idl/Table.idl: changed nrows, ncolumns, caption, summary
3169 * idl/Text.idl: reformatted to match our coding style.
3170 (temporarily?) removed getRowColumnAtOffset().
3171 Changed text selection API to support multi-select and
3172 non-contiguous selections, as in ATK.
3173 * idl/Value.idl: changed some methods to attributes.
3175 2001-08-24 Mark McLoughlin <mark@skynet.ie>
3177 * libspi/listener.c(impl_notify_event):
3178 BonoboUnkown_unref the source instead
3179 of bonobo_object_release_unref - the ORB
3180 handles the releasing.
3182 * configure.in: require ORBit-2.3.94 for
3185 2001-08-21 Bill Haneman <bill.haneman@sun.com>
3187 Tagged CVS repository 'EA_1_0'.
3188 * README.EARLY_ACCESS:
3189 Alphabetized acknowledgements list, and
3191 Listed some known dependencies of at-spi.
3193 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3195 * docs/at-spi-docs.sgml:
3196 * docs/at-spi-sections.txt:
3197 * docs/at-spi-overrides.txt: (Added zero-length file)
3198 Documentation improvements - gtk-doc should build
3199 docs for all implemented C bindings now.
3202 * cspi/spi.c: (New file)
3203 * cspi/spi_event.c: (New file)
3204 * cspi/spi_registry.c: (New file)
3205 * cspi/spi_accessible.c: (New file)
3206 * cspi/spi_application.c: (New file)
3207 * cspi/spi_component.c: (New file)
3208 Split spi_main.c into six parts, and included them from
3209 "spi.c". This is a bit of a hack, probably temporary,
3210 but required by gtk-doc, apparently.
3212 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3215 * docs/at-spi-docs.sgml:
3216 * docs/at-spi-sections.txt:
3218 Initial checkins/modifications for gtk-doc generation.
3221 Added (missing) interface query methods to Accessible's C binding.
3223 Added GenericInterface type definition.
3225 Added query for AccessibleComponent interface to focus event handler.
3226 Added printout of bounding box for focussed component.
3227 * libspi/component.c:
3228 Added partial implementation for AccessibleComponent to C binding.
3229 * idl/Application.idl:
3230 * libspi/registry.c:
3231 * libspi/listener.c:
3232 * libspi/application.c:
3233 * libspi/application.h:
3234 Changed "ID" attribute type from string to long.
3236 2001-08-19 Bill Haneman <bill.haneman@sun.com>
3240 Made method naming consistent: methods taking object args
3241 start with uppercase, other methods (except those using
3242 acronyms) start with lowercase. Underscores delimit between
3243 object names and method names:
3244 SPI_init() - uppercase since it starts with an acronym.
3245 getDesktopCount () - lowercase start since no object param0.
3246 Accessible_getName() - uppercase object type name, studlyCaps method
3250 Added gtk-doc documentation for all currently implemented
3251 methods in the C bindings API.
3253 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3255 * Makefile.am : changed build order to build test last.
3258 Changed "createEventListener" to "CreateEventListener".
3259 * libspi/accessibleeventlistener.c :
3260 Bugfix for addition of callbacks.
3261 * test/Makefile.am :
3262 * test/simple-at.c :
3263 Added new test that uses the C bindings API.
3265 * libspi/listener.c :
3266 * libspi/registry.c :
3267 * libspi/accessibleeventlistener.c :
3268 * at-bridge/bridge.c :
3269 Renamed member "target" of Accessibility_Event to "source",
3270 which is more descriptive.
3273 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3277 * cspi/Makefile.am :
3278 Added makefile support for at-spi/cspi directory.
3281 * cspi/spi-listener.h : (NEW FILE)
3282 Added support for/use of spi-listener.h.
3284 C bindings now build successfully, with no warnings.
3285 * libspi/accessibleeventlistener.h : (NEW FILE)
3286 * libspi/accessibleeventlistener.c : (NEW FILE)
3287 * libspi/Makefile.am :
3288 Added new object type "AccessibleEventListener"
3289 which inherits from Listener, and allows attachment
3290 of in-process callbacks (so that a client with a listening
3291 object instance can add functionality to the local
3292 implementation, dynamically).
3294 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3296 * libspi/accessible.c:
3297 Add implementation for get_index_in_parent().
3299 Added #include of "spi-roletypes.h", and
3300 added enumerated type AccessibleCoordType.
3301 Added definition for KeystrokeListener (function type).
3304 * cspi/spi-statetypes.h :
3305 * cspi/spi-roletypes.h :
3307 Added these headers, used by spi.h.
3309 Added code (NOTE: not yet built by make).
3311 2001-08-18 Mark McLoughlin <mark@skynet.ie>
3313 * libspi/Makefile.am: generate imodule
3314 at the same time as other idl compiler
3317 2001-08-17 Bill Haneman <bill.haneman@sun.com>
3318 * libspi/registry.c :
3319 * libspi/application.c :
3320 * idl/Application.idl :
3321 Made registration with toolkit an application method,
3322 which is required since each app has its own toolkit static
3323 environment. Thus the bridge must register for
3324 notification of toolkit events from each application in turn.
3325 Toolkit notifications are now successfully registered for, and
3326 sent to the listening at client.
3328 Changed toolkit event string to use hyphens rather than underscores.
3329 * libspi/listener.c :
3330 listner now gives more info in debug mode - it reports the
3331 name of the event received, as well as the name of the source.
3334 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3336 * libspi/registry.c :
3337 added more implementation for toolkit events.
3338 Fixed bug such that toolkit event registrations
3339 (via atk) use the whole event name string, not
3341 Removed a useless call to an ORBit_ method.
3342 * at-bridge/bridge.c :
3343 Removed unused local sbuf[] variable.
3345 We now register for Gtk:GtkWidget:button_press_event
3346 events as well as "focus:" events.
3348 Add some more API from Registry.idl that was missing,
3349 for keystroke listening, keystroke and mouse event
3350 synthesis, and enumeration of accessible desktops.
3352 2001-08-16 Michael Meeks <michael@ximian.com>
3354 * configure.in: use AM_GLIB_GNU_GETTEXT.
3356 * Makefile.am (SUBDIRS): kill intl.
3358 2001-08-15 Michael Meeks <michael@ximian.com>
3360 * registryd/Makefile.am: s/oaf/server/ relocate info file.
3362 * configure.in: upd.
3364 * configure.in: depend on a recent bonobo-activation that
3365 will find our server files ...
3367 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3369 * libspi/accessible.c : accessible_new() :
3370 Now we add the Component interface via bonobo_object_add_interface,
3371 if the contained AtkObject implements AtkComponent.
3372 * libspi/accessible.h : now include "component.h"
3373 * libspi/component.h :
3374 * libspi/component.c : added files - implementation of
3375 bonobo wrapper object for Accessibility/Component
3376 * libspi/listener.c :
3377 Added test code to check for Accessibility/Component:1.0
3378 interface and report whether it is implemented by the
3380 * libspi/registry.c :
3381 Now we check for not only the hash of the whole event
3382 string before relaying the event, we also check the
3383 "minor" event string (without the detail string).
3384 This allows event listeners to be registered against
3385 all events of a certain major+minor type, or just
3386 against a specific major+minor+detail type.
3387 * libspi/accessible.c :
3388 Added implementations for Accessible:get_parent(),
3389 Accessible:getChildCount(), and Accessible:getChildAtIndex().
3390 * libspi/registry.c :
3391 * libspi/listener.c :
3392 Replaced calls to Accessibility_Accessible_ref() and
3393 Accessibility_Accessible_unref() with
3394 calls to bonobo_object_dup_ref() and
3395 bonobo_object_release_unref(), so that the CORBA object
3396 is dup-ed and released when relayed, as well as the bonobo object.
3398 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3400 * libspi/Makefile.am,
3401 registryd/Makefile.am,
3402 at-bridge/Makefile.am.
3403 test/Makefile.am, configure.in:
3404 reverse previous changes.
3406 * /idl/Image.idl: fix typo.
3408 * test/Makefile.am: put DEBUG_FLAGS
3411 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3413 * test/app.c: use argv[0] instead of
3416 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3418 * libspi/Makefile.am,
3419 registryd/Makefile.am,
3420 at-bridge/Makefile.am.
3421 test/Makefile.am, configure.in:
3422 cleanup, replace individual LIBS/CFLAGS with
3423 AT_COMMON_{LIBS|CFLAGS}.
3427 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3429 * configure.in, libspi/Makefile.am:
3430 Change IDL path checking for bonobo-activation
3433 2001-08-15 Bill Haneman <bill.haneman@sun.com>
3435 * registryd/registry.c : separated event listeners to use
3436 3 separate lists (focus, window, toolkit). Began testing
3437 event names against hashes before relaying events.
3438 * test/at.c : now register for events of type "focus:"
3439 * test/app.c : now generate events of type "focus:"
3440 * at-bridge/bridge.c : register with ATK for focus events,
3441 and we now relay those focus events to any "focus:" listeners.
3442 This now works with the bridge as a GTK_MODULE when running test/at.
3443 * libspi/registry.c :
3444 * libspi/listener.c :
3445 now we ref event sources before propagating, and unref on receipt.
3446 * libspi/registry.c :
3447 some changes to internal structs, to support event typestring hashes.
3448 * text/app.c : changed the way the appname is generated.
3449 * cspi : added directory that will hold the C bindings library for
3450 non-CORBA/bonobo-savvy clients.
3451 * cspi/spi.h : header file that contains the function prototypes for the C binding.
3452 * idl/Component.idl : added in parameter to indicate coord system for
3453 geometry-related calls.
3454 * idl/Hyperlink.idl : added readonly n_links attribute
3455 * idl/Image.idl : changed methods to attributes.
3457 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3459 * at-bridge/Makefile.am: link against
3460 ../libspi/libspi.la instead of -lspi.
3462 * at-spi/test/app.c: include
3463 bonobo-activation.h. Use a default appname
3464 if one is not provided.
3466 2001-08-14 Bill Haneman <bill.haneman@sun.com>
3468 * idl/Registry.idl : temporarily changed register_Application
3469 to oneway, to work around issue with initial registration
3471 * idl/Application.idl : changed attribute "id" from readonly
3472 to read-write, since it needs to be assigned by Registry.
3473 * registryd/registryd.c : added call to set application id
3475 * registryd/registry.c : changed de-registration procedure to
3476 use CORBA_Object_hash() to find matching object ref in application
3477 lists and listener lists.
3478 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
3479 began distinguishing between event types (work in progress).
3481 2001-08-13 Bill Haneman <bill.haneman@sun.com>
3484 * libspi/application.c:
3485 Added implementations for get/set id, get_toolkitName,
3487 * registryd/registryd.c :
3491 Converted from use of OAF to bonobo-activation.
3492 * libspi/desktop.h :
3493 * libspi/desktop.c :
3495 Removed references to atksimpleobject, since base atkobject
3496 implementation now provides functionality we need.
3497 * libspi/atksimpleobject.c :
3498 * libspi/atksimpleobject.h :
3503 * at-bridge/Makefile.am
3504 * at-bridge/bridge.c
3507 Added directory "bridge" and contents, and added dependencies
3508 in Makefile.am/configure.in.
3509 Initial checkin of "at-bridge".
3510 This code is a GTK_MODULE which automatically registers
3511 GTK+ apps with the accessibility registry, using an object
3512 reference to the root ATK object.
3514 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3516 * po/Makefile.in.in: Remove. Again. If this
3517 doesn't get autogenerated - you need to update
3520 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3522 * po/Makefile.in.in: Add. Again.
3524 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3526 * libspi/accessible.c : added support for 'description' property.
3527 * libspi/accessible.c
3529 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3530 (since the two are now equivalent in libbonobo)
3538 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3539 Bonobo::Unknown as does Accessibility::Accessible.
3540 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3541 interface with Bonobo::Stream, since it was redundant with it.
3542 (The Stream returned by a StreamableContext object is expected to
3543 implement only a subset of Bonobo::Stream)
3545 2001-07-28 Anders Carlsson <andersca@gnome.org>
3547 * libspi/accessible.c (accessible_object_finalize): Change
3548 g_free to g_object_unref since the AtkObject is a GObject.
3550 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3552 * idl/Accessibility.idl: add new IDL files
3555 * idl/Action.idl: Definitions of actionable UI object
3556 * idl/Component.idl: Definitions of UI component geometry, etc.
3557 * idl/Hyperlink.idl: Defs of hyperlink behavior
3558 * idl/Image.idl: Def of accessible image
3559 * idl/Selection.idl: Definition of UI object with selectable children
3560 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3561 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3562 * idl/Text.idl: Interface defs for UI elements with complex textual content
3563 * idl/Value.idl: Definition of UI element that is a value controller or display
3565 2001-07-27 Michael Meeks <michael@ximian.com>
3567 * po/Makefile.in.in: remove autogenerated file from CVS.
3569 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3572 * idl/Registry.idl: include guard.
3574 * idl/Accessibility.idl: Add, and include all the other IDL
3577 * idl/*.idl: remove mass of pragmas etc.
3579 2001-07-26 Michael Meeks <michael@ximian.com>
3581 * registryd/Makefile.am (registryd_SOURCES): remove
3584 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3586 * libspi/.cvsignore, registryd/.cvsignore,
3587 test/.cvsignore: updated.
3589 * po/Makefile.in.in: gettext update.
3591 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3593 * initial CVS checkin
3595 2001-06-29 Michael Meeks <michael@ximian.com>
3597 * configure.in: add AM_CONFIG_HEADER to gen config.h