1 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4 Revved version to 0.11.
7 Added implementation for grabFocus.
9 * idl/Accessibility_Component.idl
10 (Accessibility_Component_grabFocus):
11 Made this method return boolean to indicate success or failure, to
12 be consistent with cspi and the corresponding ATK method.
14 * idl/Accessibility_Selection.idl
15 (Accessibility_Selection_selectAll) :
16 Made these methods return boolean to indicate success or
17 failure, to be consistent with cspi and the corresponding ATK methods.
19 * idl/Accessibility_EditableText.idl
20 (Accessibility_EditableText_setTextContents,
21 Accessibility_EditableText_insertText,
22 Accessibility_EditableText_cutText,
23 Accessibility_EditableText_deleteText,
24 Accessibility_EditableText_pasteText):
25 Made these methods return boolean to indicate
28 * cspi/spi_editabletext.c:
29 Made these methods return booleans.
33 * libspi/editabletext.c:
34 Connected the boolean returns from ATK
35 to the server-side code referenced above.
37 2002-04-14 Bill Haneman <bill.haneman@sun.com>
39 * idl/Accessibility_Table.idl: Added missing methods,
40 Accessibility_Table_addRowSelection,
41 Accessibility_Table_addColumnSelection,
42 Accessibility_Table_removeRowSelection,
43 Accessibility_Table_removeColumnSelection.
46 Added C wrappers for above IDL:
47 AccessibleTable_addRowSelection,
48 AccessibleTable_addColumnSelection,
49 AccessibleTable_removeRowSelection,
50 AccessibleTable_removeColumnSelection.
53 Added server-side implementation code for IDL above, connecting
54 to pre-existing ATK api.
56 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
58 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
60 * libspi/accessible.c: Added implementation fo
61 Accessibility_Accessible_get_state.
63 * libspi/libspi.h: Added stateset.h to the list of includes.
65 * libspi/stateset.c: Fixed broken implementation.
67 2002-04-13 Bill Haneman <bill.haneman@sun.com>
70 Added implementation code for Accessibility_Magnifier_exit ().
73 Added test code for above method; you can
74 now kill an existing magnifier via
75 ./mag_control q, from the util directory.
77 * test/key-listener-test.c:
79 Added a new test, for our key listener API.
81 2002-04-11 Bill Haneman <bill.haneman@sun.com>
83 * test/app.c, test/keysynth-demo.c:
85 Replace use of snprintf with g_snprintf.
86 (fix for bugzilla 78249)
88 2002-03-27 Michael Meeks <michael@ximian.com>
92 * util/Makefile.am (INCLUDES): fix.
93 (DONT_DIST_SOURCE): don't distribute the
96 * libspi/Makefile.am (dist-hook): ditto.
98 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
100 * libspi/hypertext.c:
101 Fix warnings when yelp is used with atk-bridge
103 2002-03-21 Michael Meeks <michael@ximian.com>
105 * libspi/application.c (spi_application_new):
106 use spi_accessible_construct so we use the AtkObject
109 2002-03-19 Michael Meeks <michael@ximian.com>
111 * registryd/registry.c (desktop_remove_application),
112 (desktop_add_application): clean coding style.
114 * registryd/desktop.c (spi_desktop_remove_application),
115 (spi_desktop_add_application): kill re-enterency hazards.
116 (spi_desktop_dispose): remove bogus redundant cast
117 obscuring bug; fix bug too.
118 (spi_desktop_init): make the desktop object immortal.
120 2002-03-16 Bill Haneman <bill.haneman@sun.com>
123 Added a #define-guarded tree-traversal step
124 when enumerating the apps (diagnostic tool).
126 2002-03-15 Bill Haneman <bill.haneman@sun.com>
128 * idl/Accessibility_Role.idl:
129 Added ROLE_DRAWING_AREA which seemed to be missing from the
132 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
134 * cspi/spi-roletypes.h cspi/spi_accessible.c
135 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
138 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
139 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
140 AT when applications are added and removed from the desktop. This
141 reverts the previous broken implementation using the backing
142 AtkObject for the SpiDesktop.
144 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
146 * registryd/desktop.c: emit the "children-changed::add" and
147 "children-changed::remove" signals on the backing ATK object for
148 the desktop so AT can tell when applications are started and shut
151 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
153 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
155 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
157 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
159 * cspi/spi_accessible.c: Implemented c bindings for stateset support
161 * cspi/state-types.h: synched with IDL and ATK
163 2002-03-13 Bill Haneman <bill.haneman@sun.com>
165 * libspi/accessible.c
166 (impl_accessibility_accessible_get_child_at_index):
167 Change return value for g_return_if_fail ()
168 to CORBA_OBJECT_NIL instead of "0" (!)
170 * registryd/Makefile.am:
171 * registryd/Accessibility_Register.server.in:
172 Changed name of executable, "registryd",
173 to something more informative:
176 2002-03-13 Michael Meeks <michael@ximian.com>
178 * atk-bridge/bridge.c (atk_bridge_init): don't register
179 if we're in a bonobo-component, rather than a bonobo app.
181 2002-03-13 Michael Meeks <michael@ximian.com>
183 * atk-bridge/bridge.c (gtk_module_init): split
184 out body to (atk_bridge_init): here, since otherwise
185 we get symbol conflicts and oddness when invoked
186 from (gnome_accessibility_module_init): here (upd.)
188 2002-03-11 Bill Haneman <bill.haneman@sun.com>
191 New file. Explicitly allow "build sheriff" putbacks provided
192 they are tested on Solaris.
194 * docs/reference/cspi/Makefile.am:
195 Added '-' to the "cp" command for index.sgml.
196 ("patch by thomasvs, soon coming to a GUADEC near you")
199 Incremented version number (0.9.0) for new release.
200 Changed macro that checks for popt, to better detect
201 obsolete versions of popt.
204 Added X_LIBS to AC_SUBST, for applications
205 that call Xlib API directly.
208 2002-03-07 Bill Haneman <bill.haneman@sun.com>
211 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
214 Fix regression caused by hard-coding major
215 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
218 * test/test-simple.c (test_editable_text),
219 (test_test): revert previous change (error was
220 a regression in gail which is now fixed).
222 2002-03-04 Michael Meeks <michael@ximian.com>
224 * test/test-simple.c (test_editable_text),
225 (test_text): pass G_MAXINT instead of '-1' for
226 whole string - is this a good thing !?
228 * cspi/spi_accessible.c
229 (Accessible_getRelationSet): fix crasher bug
230 overwriting the end of the array.
232 * test/test-simple.c (validate_accessible): free,
233 not g_free returned relation set.
235 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
237 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
238 implemented stateset support
240 * idl/Accessibility_State.idl: Made necessary changes to
241 the IDL to support state sets.
243 2002-02-12 Bill Haneman <bill.haneman@sun.com>
245 * registryd/deviceeventcontroller.c:
246 Added implementation for generateMouseEvent.
248 * cspi/spi_registry.c:
249 Connected new implementation for generateMouseEvent
252 2002-02-12 Bill Haneman <bill.haneman@sun.com>
255 Incremented revision (but no change in public API
256 outside of 'utils', which are not installed public yet.)
258 * libspi/component.c:
259 Changed to use atk_component API for layers and
260 mdi_zorder, instead of deprecated atk_object API.
262 Magnification Utility Enhancements:
265 Added implementation of createZoomRegion, clearAllZoomRegions,
266 resizeZoomRegion. Added new commandline argument
267 "--no-initial-region". Note that clearAllZoomRegions doesn't
268 unmap the old '0' region as it should (yet), and the other
269 methods only work when creating/resizing a single region,
271 (Code for multiple region support will be added later.)
274 Now we raise the magnifier window each time it's refreshed;
275 this will help keep it on top.
278 Added simple wrappers for above, used by mag_control.
279 For general use, it's recommended to use the bonobo magnifier
280 control API directly instead of using these wrappers.
283 Moved ZoomRegionData from magnifier.c to this file.
285 * util/mag_control.c:
286 Added some code to exercise new IDL implementations.
288 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
290 * libspi/text.c: Provide implementation for getAttributes.
292 2002-02-04 Bill Haneman <bill.haneman@sun.com>
295 Incremented revision.
297 * test/test-simple.c:
298 Replaced use of deprecated g_main_iteration with
299 g_main_context_iteration.
301 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
304 Incremented revision for desktop alpha 2.
306 2002-01-28 Mark McLoughlin <mark@skynet.ie>
308 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
311 * test/simple-at.c: include netinet/in.h.
313 2002-01-24 Mark McLoughlin <mark@skynet.ie>
315 * cspi/spi_accessible.c: (Accessible_getRelationSet):
316 use NULL, not CORBA_OBJECT_NIL.
318 * libspi/accessible.c:
319 (impl_accessibility_accessible_get_relation_set):
320 allocate the sequence correctly.
322 * libspi/remoteobject.h: kill spi_remote_object_new.
324 * test/test-simple.c: (validate_accessible): add code
325 to test relation sets, now all we need is to figure
326 out how to excercise this code path :/
328 2002-01-18 Michael Meeks <michael@ximian.com>
331 (key_listener_cb): consume the key.
332 (test_keylisteners): update.
333 (main): wait for any pending unrefs on events.
335 * registryd/deviceeventcontroller.c
336 (spi_controller_update_key_grabs): only re-issue the
337 grab on a key release.
338 (spi_device_event_controller_forward_key_event):
339 refresh the keygrabs before we notify the listeners,
340 to reduce the X ungrab / re-grab race.
341 (spi_controller_register_with_devices): remove
342 XSelectInput - we do that with the gdk_window_ call.
343 (_spi_controller_device_error_handler): return a value.
344 s/GDK_DISPLAY/spi_get_display/
346 2002-01-17 Michael Meeks <michael@ximian.com>
348 * registryd/deviceeventcontroller.c
349 (_deregister_keygrab): don't blow out the later
352 * test/test-simple.c (test_keylisteners): do a
353 more intelligent validation.
355 2002-01-14 Michael Meeks <michael@ximian.com>
357 * atk-bridge/bridge.c
358 (gnome_accessibility_module_init),
359 (gnome_accessibility_module_shutdown): impl.
360 (gtk_module_init): protect vs. double inits.
361 (add_signal_listener): impl.
362 (spi_atk_bridge_state_event_listener): kill
363 (deregister_application): split out of
364 (spi_atk_bridge_exit_func): here.
366 2002-01-18 Bill Haneman <bill.haneman@sun.com>
369 Added caret tracking when using magnifier, and
370 now use text bounds for focus tracking of text elements, rather than
371 the component bounds - this is helpful for short text fields in long
372 table cells, at high magnification.
374 2002-01-16 Bill Haneman <bill.haneman@sun.com>
376 * registryd/deviceeventcontroller.c:
377 Regression fix for keylistener de-registration; global keygrabs
378 were not being released when deregisterKeystrokeListener was
379 called in cspi, since
380 Accessibility_DeviceEventController_deregisterKeystrokeListener
381 was called with a zero-length keyset. That is because the cspi
382 method, SPI_deregisterKeystrokeListener, does not take a keyset
383 parameter but instead should remove all the key grabs held be a
385 The code in impl_deregister_keystroke_listener was changed to copy
386 the keylist from the listener instance previously registered with
387 the DeviceEventController before releasing the grabs.
389 * registryd/registry.c:
390 * registryd/deviceeventcontroller.c:
391 * libspi/spi-private.h:
393 Changed spelling of "re-enterant" to "re-entrant" globally.
395 2002-01-16 Bill Haneman <bill.haneman@sun.com>
397 * test/test-simple.c:
398 Changed key listeners test - the test was slightly mis-using the
399 (admittedly poorly documented) SPI_generateKeyboardEvent API.
400 It now uses '=' as the key event listened to and generated,
401 relying on a keysym match rather than assuming that keycode 33
402 is always equal to keysym '!'.
404 2002-01-15 Bill Haneman <bill.haneman@sun.com>
407 Changed simple-at to use a specific keyset, rather than
408 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
409 manager, desktop, etc.
411 2002-01-11 Bill Haneman <bill.haneman@sun.com>
413 * registryd/deviceeventcontroller.c:
414 Replaced standard X error handler with a special handler that
415 is non-fatal for failed keygrabs. This works around
416 problems with keygrab clashes sometimes observed on
418 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
419 mouse handling code as yet).
421 2002-01-11 Bill Haneman <bill.haneman@sun.com>
424 Incremented revision for desktop alpha release.
427 Fixed a couple of the more glaring errors (still not
430 2002-01-11 Michael Meeks <michael@ximian.com>
432 * registryd/deviceeventcontroller.c
433 (spi_device_event_controller_forward_key_event): kill
434 XUngrabKey / XKeyGrab race.
435 (spi_controller_grab_keyboard): rename to
436 (spi_controller_update_key_grabs): this, and deal
437 with incremental adding / removing grabs more
439 (_register_keygrab): ensure we're not pending a remove.
440 (spi_grab_mask_free): impl.
441 (spi_controller_register_global_keygrabs): split out
443 (handle_keygrab): impl.
444 (_deregister_keygrab): impl.
445 (spi_controller_deregister_global_keygrabs): impl.
446 (spi_controller_update_key_grabs): re-issue the grab if
447 we just recieved a notification.
449 * test/test-simple.c (key_listener_cb): remove debug.
451 * registryd/deviceeventcontroller.c
452 (spi_controller_register_device_listener): after
453 registering a global keygrab, actualy register it !
454 don't wait for a timeout; doh !
456 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
457 to make it more readable / manipulable.
458 s/grabmask/grab_mask/ s/refcount/ref_count/
459 s/keyval/key_val/ s/modmask/mod_mask
461 2002-01-08 Michael Meeks <michael@ximian.com>
463 * registryd/deviceeventcontroller.c
464 (spi_controller_register_with_devices): use gdk calls to
466 (global_filter_fn): implement the filter.
467 (spi_device_event_controller_check_key_event): rename to
468 (spi_device_event_controller_forward_key_event): this & upd.
469 (spi_get_display): replace with GDK_DISPLAY.
471 * registryd/deviceeventcontroller.c
472 (spi_controller_deregister_device_listener): unroll into
473 (impl_deregister_keystroke_listener): here to simplify.
474 (spi_controller_register_global_keygrabs): split cut and
475 paste (!) out into (_register_keygrab): here, shorter & sweeter.
476 (spi_controller_deregister_device_listener): remove.
477 (impl_register_mouse_listener): remove, no mouse listener
478 support in at-spi-1.0
480 * registryd/registry.c
481 (_device_event_controller_hook): kill.
482 (spi_registry_init): upd.
484 * registryd/deviceeventcontroller.c
485 (spi_device_event_controller_class_init): upd.
486 (spi_check_key_event): merge into.
487 (spi_device_event_controller_check_key_event):
488 here and kill strange static ev init, don't leak
489 the x_event - nor dynamicaly allocate it.
491 * registryd/registry-main.c (main): re-direct
492 timeout to remove strange vtable mess.
494 * registryd/deviceeventcontroller.c
495 (remove_listener_cb): impl.
496 (spi_controller_deregister_device_listener):
497 fix re-enterancy hazard.
499 2002-01-07 Michael Meeks <michael@ximian.com>
501 * registryd/deviceeventcontroller.c
502 (spi_device_event_controller_new): upd.
503 (impl_notify_listeners_sync): upd. debug.
504 (spi_notify_keylisteners): fix re-enterancy hazards,
505 prettify, remove O(n*n) iteration.
506 (spi_controller_grab_keyboard): fix iteration.
507 (spi_check_key_event): re-format to suit coding style.
508 Clean all the warnings - we're warning free.
510 * registryd/deviceeventcontroller.h:
511 * registryd/registry.h: make mutualy referential with
512 typesafe forward references instead of (!) void pointer
515 2002-01-11 Michael Meeks <michael@ximian.com>
517 * cspi/spi_accessible.c (role_names): add a role name
518 to sync this array with the enum; and make the regression
521 2002-01-10 Michael Meeks <michael@ximian.com>
523 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
524 allow expansion of enumeration & kill warning.
526 * test/test-simple.c (key_listener_cb): impl.
527 (test_keylisteners): impl.
529 * cspi/spi-listener.h: make listener signatures const
530 on the provided (const) events.
532 * test/keysynth-demo.c: upd. to const events.
534 * test/simple-at.c: ditto.
536 2002-01-11 Bill Haneman <bill.haneman@sun.com>
539 Rev the version to 0.5 (the previous tarball was named 0.4,
540 even though the micro number was 3), so we need to rev upwards
541 again for beta2/"desktop-alpha"
544 Checked in a demo script, which requires editing before use!
545 Proceed with caution.
548 Fixed typo in header which was redefining SPI_ACTION_CLASS.
550 * cspi/spi_accessible.c:
551 Add a couple of missing enum initializations, and fix some enum
554 * cspi/spi_registry.c:
555 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
557 * docs/reference/cspi/at-spi-cspi-sections.txt:
558 Remove/fix a couple of broken document references.
561 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
562 as Alt-Control to listen for commands, since on some systems
563 Control-Alt may already be grabbed.
565 2002-01-10 Bill Haneman <bill.haneman@sun.com>
568 Update version number to 0.4 for Beta2.
570 * libspi/accessible.c, libspi/accessible.h:
571 Expose spi_accessible_construct, to enable libgail-gnome
572 construction from spi_accessible subtype.
575 Workaround for bug in some non-gnome-compliant window managers
576 which made magnifier resize improperly.
578 2002-01-09 Bill Haneman <bill.haneman@sun.com>
580 * libspi/accessible.c: (spi_accessible_new) :
581 Move the test for SPI_IS_REMOTE_OBJECT to
582 spi_accessible_new_return, fixing a bug and compile time warning.
584 2002-01-08 Michael Meeks <michael@ximian.com>
586 * registryd/registry.c (parse_event_type): remove strndup.
588 * libspi/Makefile.am (libspi_la_SOURCES): remove
589 sources already included in the headers section.
591 * libspi/util.c: add.
593 * libspi/spi-private.h: add.
595 * registryd/registry.c: update to moved list iterators.
597 2002-01-05 Michael Meeks <michael@ximian.com>
599 * test/simple-at.c (main): upd. auto-module set to atk-bridge
601 * test/test-simple.c (main): ditto.
603 2002-01-04 Michael Meeks <michael@ximian.com>
605 * libspi/accessible.c (spi_accessible_new): remove 2nd,
608 * registryd/registry.c
609 (get_listener_list): impl.
610 (impl_accessibility_registry_register_global_event_listener):
611 re-impl. to simplify using ~, remove dodgy const cast off.
612 (parse_event_type): constify.
613 (impl_accessibility_registry_deregister_global_event_listener_all):
614 re-write, more efficiency and simplicity, kill re-enterancy
616 (compare_listener_corbaref, compare_corba_objects),
617 (compare_listener_quarks): define out.
618 (impl_accessibility_registry_deregister_global_event_listener):
619 re-write for effiency, and nail re-enterancy hazard.
620 (impl_accessibility_registry_get_desktop_list): impl.
621 (re_enterant_list_delete_link): impl.
622 (re_enterant_list_foreach): impl.
623 (remove_listener_cb): impl.
624 (_registry_notify_listeners): kill.
625 (notify_listeners_cb): impl.
627 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
628 (SPI_getDesktopList): impl.
630 * test/test-simple.c (test_desktop): test the methods.
632 2002-01-03 Michael Meeks <michael@ximian.com>
634 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
635 keystrings since we free them
636 (SPI_freeAccessibleKeySet): in here.
638 * libspi/accessible.c (spi_accessible_new): kill warning,
639 wonder what is going on with the constructor here.
641 2002-03-01 Bill Haneman <bill.haneman@sun.com>
643 * libspi/accessible.c (spi_accessible_new ()) :
644 Added check to see if AtkObject is an SpiRemoteObject before
645 creating an SpiAccessible.
647 2002-05-01 Bill Haneman <bill.haneman@sun.com>
649 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
650 Enable keygrabs using the Control modifier, now that they are
651 working properly (they were previously disabled).
654 Change the command keygrab for this demo to "Control+Alt", so as
655 to conflict with fewer other key commands on the system; this
656 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
658 Removed a pointlessly-chatty keylistener for unshifted keys
659 (shifted keys are still reported).
661 2002-02-01 Bill Haneman <bill.haneman@sun.com>
663 * libspi/remoteobject.h:
664 * libspi/remoteobject.c:
665 Added definitions for special AtkObject subtype, required for
666 support of remote components (specifically, used by BonoboControl
667 accessibility implementation).
669 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
671 * cspi/spi.h: synched relation types with ATK
673 * cspi/spi_accessible.c: Added implementations of
674 AcccessibleRelation_* methods
676 * idl/Accessibility_Relation.idl: added getRelationTypeName
677 method. Synched known relation types with ATK. Allowed for
678 relation type extension with the RELATION_EXTENDED type.
680 * libspi/relation.c: Provided implementations for
681 AccessibleRelation methods.
683 2002-01-01 Bill Haneman <bill.haneman@sun.com>
685 API tweaks for today's API 'freeze'.
688 Added placeholder functions to allow future compatible expansion
689 of the IDL interfaces.
691 * idl/Accessibility_Registry.idl:
692 Changed generateKeyEvent to generateKeyboardEvent. Changed
693 signature of this method to accept an optional keystring in
694 parameter (for complex text input synthesis) and changed use of
695 simple 'boolean' parameter in registerKeystrokeListener to a
696 struct, EventListenerMode.
698 * cspi/spi_accessible.c:
700 * cspi/spi_streamablecontent.c:
701 Added references to AccessibleStreamableContent interface, and
702 definition and implementation of AccessibleStreamableContent
705 * cspi/spi_registry.c:
707 Changed generateKeyEvent API to generateKeyboardEvent,
708 taking a new (optional) keystring parameter to support complex
713 Renamed directory (to better reflect its actual purpose, bridging
714 from at-spi to ATK). The .so module is also now named
717 * idl/Accessibility_Hypertext.idl:
718 * libspi/accessible.c:
719 * libspi/hypertext.h:
720 * libspi/hypertext.c:
721 Changed Accessibility_Hypertext to *not* derive from
724 * cspi/spi_registry.c:
725 Added list of legal event type names for 'window' events, which
726 completes the registry event API.
728 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
730 * at-bridge/bridge.c: Added registration for separate
731 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
732 signals. If either of the first two parameters to the generic
733 bridge signal handler are ints, they are passed on as event
734 details. This allows an AT to determine what text was inserted.
736 2001-12-21 Bill Haneman <bill.haneman@sun.com>
738 * registryd/deviceeventcontroller.c:
739 Fixed regressions in generateKeyEvent caused by the removal of
740 gdk_init from registryd; we now use pure X calls to connect to the
741 display, which makes sense because deviceeventcontroller already
742 uses a fair bit of X API (should eventually be migrated to a
743 'portability layer').
745 * registryd/desktop.c:
746 Fixed minor regression in spi_desktop_init, changed the way the
747 desktop name is being set to work with new spi_base API
748 (gobject-based, rather than AtkObject-based).
750 * registryd/Makefile.am:
751 Minor revision of makefile to use XTST_LIBS variable rather than
752 hard-wiring the Xtst LD_ADD element.
754 * test/keysynth-demo.c:
755 Tweaked an output message; added initialization of the
756 'keystrings' member of the "switch listener" key_set.
759 Squashed compile-time warning.
761 * libspi/accessible.c:
762 Cosmetic and formatting fixes, renamed a static method.
764 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
766 * libspi/accessible.c
768 * libspi/application.c
772 * libspi/editabletext.c
780 * registryd/desktop.c:
781 Changed SpiBase to contain a GObject pointer rather than an AtkObject
783 2001-12-17 Bill Haneman <bill.haneman@sun.com>
785 * idl/Accessibility_Registry.idl:
786 Added boolean member 'is_text' to DeviceEvent. This is for the
787 use of key events, and helps prevent ambiguity between composed
788 key strings and keysym names, since both may potentially be
789 returned in the 'event_string' member.
791 * at-bridge/bridge.c:
792 * registryd/deviceeventcontroller.c:
793 Use the 'is_text' member when notifying device event listeners.
794 Knon issue: composed characters are not dealt with correctly by
795 the global key listener implementation yet.
797 2001-12-17 Bill Haneman <bill.haneman@sun.com>
799 * at-bridge/bridge.c:
800 Namespaced local static methods to spi_atk_bridge_* where
801 previously named bridge_*, and spi_* elsewhere.
803 * at-bridge/bridge.c:
804 * cspi/bonobo/cspi-bonobo-listener.c:
805 Added demarshalling/conversion for string member of
806 Accessibility_DeviceEvent to AccessibleKeystroke.
808 * registryd/deviceeventcontroller.c:
809 Added code to fill the Accessibility_DeviceEvent key string value
810 member for global key events (i.e. from XGrabKey), to match
811 behavior of Accessibility_DeviceEvent from the toolkit key events
812 from the bridge. Fixed timestamp in global key event notifications.
815 Added printout of key event's string value to
816 report_ordinary_key_event, for demo/debugging purposes.
818 2001-12-15 Bill Haneman <bill.haneman@sun.com>
820 * idl/Accessibility_Registry.idl:
821 Removed Accessibility_KeyStroke structure in favor of generic
822 Accessibility_DeviceEvent structure.
823 Changed Accessibility_ControllerEventMask from a struct to an
826 * at-bridge/bridge.c:
827 Changed APIs to use DeviceEvent structure as above, and removed
828 bogus casting between these event structures.
830 * cspi/spi-listener.h:
831 Added keystring member of AccessibleKeystroke structure, to enable
832 matching on event "names" rather than only hardware codes and
836 Added keystrings member of AccessibleKeySet struct, to allow
837 matching on event names (as above).
838 Added declarations for SPI_createAccessibleKeySet and
839 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
840 event modmasks directly as unsigned ints rather than structs with
841 refcounts, in the DeviceEventController methods.
843 * cspi/spi_registry.c:
844 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
846 * cspi/spi-roletypes.h:
847 Added documentation of newly added SPI Roles.
849 * cspi/bonobo/cspi-bonobo-listener.c:
850 Changes in support of API changes above.
852 * libspi/accessible.c:
853 Converted APIs to use DeviceEvent structure (see IDL changes
856 * registryd/deviceeventcontroller.c:
857 Added DEControllerGrabMask structure to track keygrabs not only by
858 modmask but by keyset as well; this allows us to do "global"
859 (i.e. X) keygrabs on a per-key or keyset basis rather than always
860 grabbing on AnyKey and then filtering after-the-fact.
861 Bugfixes for event filtration mean that we don't get false matches
862 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
864 * registryd/deviceeventcontroller.c:
865 Namespaced a number of static methods to use spi_ prefix. Major
866 revision to internals of global (i.e. X) key grabs.
868 * registryd/deviceeventcontroller.h:
869 Removed keymask_list and added keygrabs_list to
870 SpiDeviceEventController struct.
873 Added use of SPI_createAccessibleKeySet API when creating a
874 listener for only one key. Attach a listener to "shift spacebar
875 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
876 X key event names to SPI key event names, so that listeners are
877 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
879 * test/keysynth-demo.c:
880 Changed (incorrect) use of X key event names (KeyPressed,
881 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
884 2001-12-12 Bill Haneman <bill.haneman@sun.com>
886 * libspi/accessible.c:
887 Convert all AtkRole enumerations to Accessibility_Role enums when
888 getting a role from an AtkObject.
890 * cspi/spi_accessible.c:
891 Complete the conversion of Accessibility_Role enums at runtime to
892 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
893 role enums correctly match those given in spi-roletypes.h.
894 Re-synchronize the local names list for AccessibleRole_getName ().
895 AccessibleRole_getName is now deprecated, since it duplicates the
896 more reliable Accessible_getRoleName.
897 Added some role types from Accessibility_Role.idl.
899 * idl/Accessibility_Role.idl:
900 Added some role types used by AtkRole.
902 2001-12-12 Bill Haneman <bill.haneman@sun.com>
905 * cspi/spi_registry.c:
907 * cspi/cspi-bonobo-listener.c:
908 Namespaced all methods that did not begin with an "SPI_" or
909 "Accessible" prefix to "SPI_".
912 Homogenized internal function namespace to "cspi_" for statics.
915 Patched tests to use the new CSPI API.
917 * docs/reference/cspi/at-spi-cspi-sections.txt:
918 Updated docs to reflect namespace changes, and added a number of
919 methods to the documentation.
921 * registryd/registry.c:
922 Changed use of strings and string hashes in listener event
923 matching and parse_event_string to use GQuark, which is guaranteed
926 * registryd/registry.h:
927 Squashed annoying warning.
929 * idl/Accessibility_Role.idl:
930 Extended range of available Accessibility_Role values.
932 * cspi/spi_accessible.c:
933 Re-ordered role names.
935 2001-12-12 Bill Haneman <bill.haneman@sun.com>
937 * idl/Accessibility_Value.idl:
938 Revert use of union back to CORBA_double, since the double type is
939 more efficient and can contain the other types without loss of
942 * idl/Accessibility_Accessible.idl:
943 Added method Accessibility:Accessible:getRoleName, to complement
944 Accessibility:Accessible:getRole.
946 * cspi/spi_accessible.c:
948 Added C binding for above, Accessible_getRoleName (), and changed
949 signature of Accessible_getRole () to return an AccessibleRole.
951 * cspi/spi-roletypes.h:
952 Changed AccessibleRole_getName to return a char * instead of a
953 const char *. This method is now at least temporarily deprecated
954 in favor of asking Accessibles for their RoleNames directly.
957 Revert to match Accessibility_Value.idl;
961 Change signature of AccessibleValue methods to use double rather
965 * cspi/spi_accessible.c:
966 Changed Accessible_getRole to return an AccessibleRole enum rather
967 than a UTF-8 string. The UTF-8 string can still be obtained via
968 AccessibleRole_getName ().
970 * test/test-simple.c:
971 Add test_action. Small fixup to match API change to Accessible_getRole.
974 Bugfix for get_action_from_servant ().
976 2001-12-11 Michael Meeks <michael@ximian.com>
978 * libspi/libspi.h: remove registry.h and
979 desktop.h, deviceeventcontroller.h
981 * libspi/Makefile.am: remove registry.[ch],
982 desktop.[ch], deviceeventcontroller.[ch]
984 * registryd/Makefile.am: add registry.[ch],
985 desktop.[ch], rename registryd.c to registry-main.c.
986 add deviceeventcontroller.[ch]
988 2001-12-11 Bill Haneman <bill.haneman@sun.com>
991 Replace setenv() call with putenv ().
993 * libspi/component.c:
994 Bugfix in AccessibleComponent_getExtents (),
997 2001-12-11 Michael Meeks <michael@ximian.com>
999 * libspi/image.c (impl_getImageExtents): impl.
1000 (spi_image_class_init): upd.
1003 (AccessibleImage_getImageDescription): fix daft bug
1006 * test/test-simple.c (global_listener_cb): update
1007 to only quit if not --poke
1008 (main): catch --poke.
1009 (validate_accessible): upd. dumping, call test_image
1012 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1015 * idl/Accessibility.idl: update all IDL includes.
1017 * idl/*.idl - rename to namespace - this sucks, blame
1018 mjs' bad decision for oafd.
1020 * test/test-simple.c (create_test_window): add more tests.
1021 (create_tree): split this out.
1022 (validate_accessible): bugfix.
1024 2001-12-11 Michael Meeks <michael@ximian.com>
1026 * cspi/bonobo/cspi-bonobo-listener.c:
1027 (cspi_kestroke_listener_unref),
1028 (cspi_event_listener_unref): impl. undoing previous
1029 homenous environment - for Bill.
1031 * cspi/spi_table.c (long_seq_to_array): use
1034 * cspi/spi_main.c: split out all bonoboish bits into
1037 * cspi/spi-impl.h: upd. typedefs.
1039 * cspi/spi_registry.c: update to lowlevel API,
1040 return booleans to indicate success in some places.
1042 * cspi/spi_event.c: update to lowlevel API.
1044 * cspi/bonobo/Makefile.am: add.
1046 * cspi/bonobo/cspi-lowlevel.h: add
1048 * cspi/bonobo/cspi-bonobo.c: add
1050 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1052 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1053 (SUBDIRS): add bonobo, link in the libs.
1055 * cspi/spi-util.c: kill this file.
1057 * TODO: merge in my bits.
1059 2001-12-11 Michael Meeks <michael@ximian.com>
1061 * test/test-simple.c (test_value, test_table, main):
1062 remove unused variables causing warnings.
1064 * configure.in: cleanup checks - require gail.
1066 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1069 Changed Value interface to use SValue (scalars) rather than
1070 assuming all values are floats. This allows floats, doubles,
1071 longs, shorts, and unsigned values to be manipulated.
1072 Introduced Accessibility:SValue union.
1075 Updated to use new API above, and to work correctly with GValues
1076 of different types in AtkValue.
1079 Updated to use new API above. cspi's API is as yet unchanged.
1082 Updated the Value revision action item.
1084 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1086 * test/test-simple.c:
1087 Added test_table (GtkTreeView widget in test window to follow).
1088 Un-commented test_value, added GtkRange widget.
1089 Added GtkTreeView widget with GtkListStore. It passes regression
1090 test but leaks one SPI object for some reason.
1093 Fixed bug in impl__set_currentValue.
1095 2001-12-10 Michael Meeks <michael@ximian.com>
1097 * cspi/spi_text.c: audit for exception handling,
1098 tolerating NULL object references safely etc.
1100 * cspi/spi_value.c: ditto.
1102 * cspi/spi_table.c (AccessibleTable_getSummary),
1103 (AccessibleTable_getAccessibleAt),
1104 (AccessibleTable_getRowHeader),
1105 (AccessibleTable_getColumnHeader),
1106 (AccessibleTable_getCaption): fix bugs hidden by
1108 (long_seq_to_array): impl.
1109 (AccessibleTable_getSelectedRows),
1110 (AccessibleTable_getSelectedColumns): use it.
1112 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1115 Added a TODO list (rough and short for now).
1117 * cspi/spi_hyperlink.c:
1118 * cspi/spi_hypertext.c:
1119 Fixed macro name typos, and remove use of obsolete macro in
1120 AccessibleHyperlink_getLink.
1122 * cspi/spi_action.c:
1123 * cspi/spi_accessible.c:
1124 * cspi/spi_application.c:
1125 * cspi/spi_component.c:
1126 * cspi/spi_selection.c:
1129 Documentation fixes (removed return values from ref/unref methods).
1131 2001-12-10 Michael Meeks <michael@ximian.com>
1133 * cspi/spi_action.c: audit for exception handling,
1134 tolerating NULL object references safely etc.
1136 * cspi/spi_accessible.c: ditto.
1138 * cspi/spi_component.c: ditto.
1140 * cspi/spi_editabletext.c: ditto.
1142 * cspi/spi_hyperlink.c: ditto.
1144 * cspi/spi_hypertext.c: ditto.
1146 * cspi/spi_image.c: ditto.
1148 * cspi/spi_selection.c: ditto.
1150 2001-12-10 Michael Meeks <michael@ximian.com>
1152 * configure.in: use cspi/libspi.pc.in instead.
1154 * Makefile.am (pkgconfig_DATA): upd. to match.
1156 * test/simple-at.c (report_focus_event): kill hacks around
1157 bad return values, use putenv not setenv
1159 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
1160 fire ChildGone - I killed it.
1162 * libspi/component.c
1163 (impl_accessibility_component_get_extents): remove
1166 * idl/Accessible.idl: kill ChildGone exception.
1168 * cspi/*.[ch]: kill int return from ref / unref.
1170 * cspi/spi_main.c (cspi_object_add_check): fold into
1171 (cspi_object_add): here.
1173 * cspi/spi_component.c (AccessibleComponent_getExtents):
1174 handle exceptions elegantly.
1176 * cspi/spi-private.h (cspi_check_ev_return),
1177 (cspi_return_if_fail): impl.
1179 * cspi/spi_accessible.c: use extensively.
1180 (AccessibleStateSet_equals): add direct compare check.
1182 * cspi/spi_selection.c: tolerate NULL objs, and check
1183 exceptions before return.
1185 * cspi/spi-util.c (cspi_warn_ev): rename to
1186 (cspi_check_ev): this & don't pass ev in; no point.
1188 2001-12-10 Michael Meeks <michael@ximian.com>
1190 * test/test-simple.c: use putenv not setenv
1191 (get_environment_vars): more chatty if you're not using
1194 * test/simple-at.c: do the setenv so more people see the
1197 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1199 * libspi/registry.c:
1200 Changed check of CORBA_environment on notification to be a warning
1201 instead of an error for the moment, since we can recover from this
1202 error when caused by a queued notification from a dead app.
1205 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
1206 used by all current implementors of AtkValue), and coerce to
1207 CORBA_float. (Proper general case fix may require change to Value.idl).
1209 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1213 * cspi/spi_accessible.c:
1214 Documentation fixes: added user_data params to documentation for
1215 listeners and callbacks.
1217 * cspi/spi_accessible.c:
1218 Changed AccessibleStateSet_compare to return a
1219 StateSet rather than return the difference set into a third parameter.
1222 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1225 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
1226 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
1230 Remove subdirectory po from SUBDIRS for now.
1232 * at-bridge/bridge.c:
1233 Beefed up a couple of debug printouts.
1234 One-line fix for signal notification name formatting.
1236 * libspi/accessible.c:
1237 Added assertion to spi_accessible_new ().
1239 * libspi/application.c:
1240 Put #ifdef qualifiers around a printf.
1243 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
1245 * registryd/Makefile.am:
1247 Replaces use of XML_I18N_MERGE_SERVER_RULE with
1248 INTLTOOL_SERVER_RULE macro.
1251 Added an event listener for several ATK signals, for
1252 testing and debugging. Removed a few g_warnings.
1253 Added test output if focussed item implements the Value interface.
1255 * test/test-simple.c:
1256 Added test_value () function (known not to pass at the moment, so
1257 not actually called yet.
1259 2001-12-08 Michael Meeks <michael@ximian.com>
1261 * at-bridge/bridge.c (bridge_focus_tracker),
1262 (emit_eventv): fix the same ref. leak.
1263 (register_atk_event_listeners): don't leak.
1265 * cspi/spi-listener-impl.c (cspi_event): more
1266 protection from client code.
1268 * test/test-simple.c (test_desktop): unref the app.
1270 * test/Makefile.am: upd. TESTS.
1272 * at-bridge/bridge.c (bridge_exit_func): release the registry.
1274 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
1276 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
1278 * cspi/spi_registry.c: constify in strings.
1279 (deregisterGlobalEventListenerAll): don't release the ref.
1281 * cspi/spi.h: start removing redundant / conflicting
1282 gtkdoc comments, making the API readable at a glance :-)
1284 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
1286 * test/keysynth-demo.c (keysynth_exit, main): upd.
1288 * test/simple-at.c (main, simple_at_exit): upd.
1290 * test/test-simple.c (unutterable_horror): kill.
1291 (utterable_normal_derefs): kill.
1292 (main): upd & do a setenv before gtk_init, so that we
1293 can use memprof - and to save the pain of remembering
1294 this, if we're running under memprof - don't exit.
1296 * cspi/spi_main.c (SPI_exit): return exit status
1298 (SPI_event_quit): impl.
1299 (SPI_event_main): simplify.
1300 (cspi_is_gnome_app): kill.
1301 (SPI_init): kill isGNOMEapp arg.
1303 * at-bridge/bridge.c (register_atk_event_listeners):
1304 re-instate the unref.
1305 (bridge_exit_func): don't re-activate the registry,
1306 protect vs. theoretical re-entry, use the
1307 AT_BRIDGE_SHUTDOWN env. var to determine whether to
1308 assert a clean shutdown - for regression tests.
1310 2001-12-08 Abel Cheung <maddog@linux.org.hk>
1312 * configure.in: Comment out dummy i18n support for now,
1313 otherwise it fails to build.
1314 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
1315 EXTRA_DIST. They are missing in tarball.
1317 2001-12-07 Michael Meeks <michael@ximian.com>
1319 * util/magnifier.c: kill bonobo activation reg. race.
1321 * libspi/component.c
1322 (impl_accessibility_component_get_extents): make it match
1325 * libspi/registry.c (_registry_notify_listeners):
1326 re-remove X headers & reconcile conflicts.
1327 (spi_listener_struct_free): bad conflict resolve.
1328 (impl_accessibility_registry_register_application):
1329 more bad merging fixed.
1330 (impl_accessibility_registry_deregister_application): ditto.
1331 (spi_registry_new): ditto.
1332 (spi_registry_init): don't have an applications field.
1334 [ merge fixups2 branch to here ]
1335 2001-12-07 Michael Meeks <michael@ximian.com>
1337 * test/simple-at.c (report_focus_event),
1338 (report_focussed_accessible): remove g_warning debug.
1340 2001-12-07 Michael Meeks <michael@ximian.com>
1342 * test/test-simple.c (validate_tree): comment out some checks.
1343 (test_desktop): app now not registered idly - horay.
1345 2001-12-07 Michael Meeks <michael@ximian.com>
1347 * cspi/spi_registry.c
1348 (registerAccessibleKeystrokeListener): clean, stop it leaking
1349 great swathes of memory, and device event controller references.
1350 ensure we always pass valid sequences.
1351 (deregisterAccessibleKeystrokeListener): ditto.
1352 (generateKeyEvent): upd.
1354 * at-bridge/bridge.c (bridge_key_listener): handle
1355 registry dead exception gracefully.
1356 (bridge_focus_tracker, emit_eventv): free ev.
1358 * test/simple-at.c (report_focus_event): fix polarity.
1360 * libspi/application.c (notify_listeners): kill the ev
1361 argument, and make sure we init the ev we use.
1362 (spi_application_object_event_listener): split out a chunk
1363 (get_atk_object_ref): here & fixup.
1364 (reverse_lookup_name_for_toolkit_event): make const.
1365 (spi_application_toolkit_event_listener): fixup, kill leaks
1368 * at-bridge/bridge.c (register_atk_event_listeners):
1369 don't unref the noop object - causes grief.
1371 * libspi/registry.c: remove the X headers.
1372 turn off the debug churn.
1374 * libspi/accessible.c (spi_accessible_new_return): only
1375 release the ref if we are supposed to [doh]
1377 * test/simple-at.c (report_button_press, report_focus_event):
1378 guard vs. unexpected exit.
1380 * at-bridge/bridge.c (gtk_module_init): prune printf.
1381 (bridge_exit_func): fix app unref.
1383 * libspi/Makefile.am: don't install registry or desktop.h
1385 * libspi/*.h: update includes.
1387 * libspi/application.h: don't include ourself, or
1388 other redundant headers.
1390 2001-12-06 Michael Meeks <michael@ximian.com>
1392 * libspi/accessible.c
1393 (get_accessible_from_servant): impl.
1394 Upd. all CORBA impl.s to use it killing cut and paste.
1396 * cspi/spi_main.c (cspi_cleanup): guard vs. double
1398 (SPI_init): register atexit cleanup handler here.
1400 2001-12-06 Michael Meeks <michael@ximian.com>
1402 * at-bridge/bridge.c (gtk_module_init): g_error on
1403 activation exception
1405 2001-12-06 Michael Meeks <michael@ximian.com>
1407 * at-bridge/bridge.c (gtk_module_init): some sort of
1408 confusing merge clash - reverted.
1409 (bridge_idle_init): ditto.
1411 * test/test-simple.c (main, utterable_normal_derefs):
1412 merge from Bill - somehow not committed.
1414 2001-12-06 Michael Meeks <michael@ximian.com>
1416 * libspi/value.c (spi_value_class_init): upd.
1417 (spi_value_finalize): kill.
1419 * libspi/table.c (spi_table_finalize): kill.
1420 (spi_table_interface_new): upd.
1421 (spi_table_class_init): upd.
1422 (get_table_from_servant): impl.
1423 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1425 * libspi/selection.c (spi_selection_finalize): kill.
1426 (spi_selection_interface_new): upd.
1427 (spi_selection_class_init): upd.
1428 (get_selection_from_servant): impl.
1429 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1431 * libspi/relation.c (spi_relation_finalize): kill.
1432 (spi_relation_class_init, spi_relation_new): upd
1434 * libspi/image.c (spi_image_finalize): kill.
1435 (spi_image_class_init): upd.
1436 (spi_image_interface_new): upd.
1437 (get_image_from_servant): impl.
1438 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1440 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
1441 (spi_hyperlink_finalize): kill.
1442 (spi_hyperlink_new): upd.
1443 (get_hyperlink_from_servant): impl.
1444 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1446 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
1447 (spi_hypertext_finalize): kill.
1448 (spi_hypertext_class_init): upd.
1449 (get_hypertext_from_servant): impl.
1450 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1452 * libspi/editabletext.c (spi_editable_text_finalize): kill.
1453 (spi_editable_text_interface_new): upd.
1454 (get_editable_text_from_servant): impl.
1455 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1457 * libspi/text.c (get_text_from_servant): impl.
1458 All impls - update to use it killing more cut and paste,
1459 also fix bad string returns on duff args ( a somewhat
1460 impossible case to handle - but hey ).
1461 (spi_text_construct): impl.
1462 (spi_text_interface_new): upd.
1463 (spi_text_object_finalize): kill.
1465 * libspi/component.c
1466 (accessibility_component_object_finalize): kill.
1467 (spi_component_class_init): upd.
1468 (get_component_from_servant): impl. helper to kill cut & paste.
1469 (impl_accessibility_component_contains):
1470 (impl_accessibility_component_get_accessible_at_point):
1471 (impl_accessibility_component_get_position):
1472 (impl_accessibility_component_get_extents):
1473 (impl_accessibility_component_get_mdi_z_order):
1474 (impl_accessibility_component_get_layer):
1475 (spi_component_interface_new): upd.
1477 * libspi/action.c (spi_action_finalize): kill.
1478 (spi_action_class_init): upd. inherit from SpiObject.
1479 (spi_action_interface_new): upd.
1480 (get_action_from_servant): impl. helper to reduce cut & paste.
1481 (impl_getKeyBinding, impl_getName, impl_doAction),
1482 (impl_getDescription): Use it everywhere.
1484 * cspi/spi_main.c (get_live_refs): a pointer hash.
1485 (spi_object_hash, spi_object_equal): comment out.
1486 There are issues with CORBA object hashing that need
1489 * libspi/application.c (spi_application_init),
1490 (spi_application_new): upd.
1492 * libspi/accessible.c (spi_accessible_object_finalize): kill.
1493 (spi_accessible_class_init): upd.
1494 s/accessible/object/ in epv methods.
1496 2001-12-05 Bill Haneman <bill.haneman@sun.com>
1498 * at-bridge/bridge.c:
1499 Reorder the bridge initialization into the bridge gtk_module_init,
1500 an immediate call to bridge_register_app, and an idle_add for
1501 register_atk_event_listeners (the only code that *must* wait until
1502 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
1503 the activation, creates the application's Accessible object, and
1504 queues the bridge_idle_init function. Restored call to
1505 Accessibility_Registry_deregisterApplication().
1506 Prior to making this call we obtain a new reference to the
1507 registry, which is a temporary hack that helps us handle apps that
1508 shut down the bonobo mainloop before we get there.
1510 * libspi/registry.c:
1511 Fix string leakage in debug block, and don't segv if a an app
1512 dies before its event notifications have been propagated.
1515 Modify cspi_check_ev() to call g_warning() rather than g_error(),
1516 as stopgap measure until we get proper exception handling when
1517 objects die during or before interrogation.
1521 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
1522 Also changed default value of is_gnome_app to TRUE.
1525 * test/keysynth-demo.c:
1526 Changed use of SPI_init and SPI_event_main to reflect API change above.
1529 Made report_focus_event check the warning value from getName
1530 before reporting on focussed accessible; simplifies handling of
1531 notifications from dead objects.
1533 * test/test-simple.c: (Changes not in this patch since source is
1536 2001-12-05 Michael Meeks <michael@ximian.com>
1538 * registryd/registryd.c (main): protect against
1539 bonobo-activation startup race condition.
1541 * cspi/spi_main.c (cspi_object_add_check): cope
1542 with the exception elegantly.
1544 * idl/Accessible.idl: decl. ChildGone
1546 * libspi/desktop.c (spi_desktop_dispose): impl.
1547 (spi_desktop_class_init): upd.
1548 (spi_desktop_add_application),
1549 (spi_desktop_remove_application),
1550 (abnormal_application_termination): impl.
1551 (impl_desktop_get_child_at_index): re-impl.
1554 (impl_accessibility_registry_deregister_application),
1555 (impl_accessibility_registry_register_application):
1556 kill excessive debug clutter.
1558 * test/test-simple.c (test_misc): test some NULL
1559 tolerance. (main): upd.
1561 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
1562 implements no interfaces - so let's not crash.
1564 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
1566 * libspi/accessible.c (spi_accessible_new_return): impl.
1567 helper to calm the cut and paste, to cope with
1568 NULL AtkObjects effectively and efficiently, and to kill
1569 the referencing bugs.
1571 * libspi/table.c (impl_getAccessibleAt),
1572 (impl_getRowHeader, impl_getColumnHeader): upd.
1574 * libspi/hyperlink.c (impl_getObject): upd.
1576 * libspi/accessible.c
1577 (impl_accessibility_accessible_get_child_at_index): upd.
1579 * libspi/component.c
1580 (impl_accessibility_component_get_accessible_at_point): upd.
1582 * test/test-simple.c (test_editable_text, test_text): impl.
1585 * cspi/spi_editabletext.c
1586 (AccessibleEditableText_insertText): constify.
1588 * test/test-simple.c (focus_me): make more robust.
1590 * libspi/accessible.c: remove some printfs in methods that
1591 we test and work fine, so we can get a clean tree dump.
1593 * test/test-simple.c (validate_accessible),
1594 (validate_tree): make tree dumping pretty too.
1596 * at-bridge/bridge.c (bridge_signal_listener): upd. so
1597 it builds without debug on.
1599 * test/test-simple.c (validate_accessible): fix the most
1602 * cspi/spi_main.c (spi_object_release): leave the nicely
1603 blanked memory around if in debug mode.
1605 * cspi/spi-listener-impl.c (cspi_event): use add_check.
1607 [committed to fixups2]
1608 2001-12-05 Michael Meeks <michael@ximian.com>
1610 * libspi/editabletext.c
1611 (spi_editable_text_class_init): g_type_class_peek_parent,
1612 not interface peek - so we finalize cleanly.
1614 * libspi/accessible.c (spi_accessible_new): kill debug.
1616 * test/test-simple.c (validate_accessible): fix ref.
1617 leak, print strings before freeing them; sigh, comment a
1618 chunk out due to strangeness.
1619 (validate_tree): unref the child after use.
1621 * cspi/spi_component.c (AccessibleComponent_getLayer):
1622 add missing break statement, switch on zlayer not the
1623 uninitialized retval.
1625 * cspi/spi_main.c (cspi_object_add): add assert, local ref
1626 before (possibly re-entering) remote unref.
1628 * test/simple-at.c (main): unref the desktop.
1630 * cspi/spi_accessible.c (cspi_accessible_is_a): move
1633 * cspi/spi_main.c (cspi_accessible_is_a): here to
1634 isolate bonobo API usage more.
1636 * libspi/registry.c (impl_accessibility_registry_register_application):
1637 prune bogus comment.
1639 2001-12-04 Michael Meeks <michael@ximian.com>
1641 * test/test-simple.c (validate_tree): upd.
1642 IndexInParent check to make it more lucid.
1643 (validate_accessible): dump the tree.
1645 * libspi/accessible.c (de_register_public_ref),
1646 (get_public_refs): impl.
1647 (spi_accessible_new): make more efficient & intuitive.
1648 Now IndexInParent check works.
1650 2001-12-04 Michael Meeks <michael@ximian.com>
1652 * cspi/spi-util.h: remove.
1654 * cspi/spi.h: move SPI_freeString here
1656 * libspi/component.c (impl_accessibility_component_get_layer):
1658 (impl_accessibility_component_get_mdi_z_order): ditto,
1659 return -1 on error - is this ok ?
1661 * test/test-simple.c (test_application): impl.
1663 * cspi/spi_accessible.c (Accessible_getApplication),
1664 (Accessible_isApplication): impl.
1666 * libspi/registry.c (spi_listener_struct_free): release
1667 the CORBA reference too.
1669 * libspi/accessible.c
1670 (impl_accessibility_accessible_get_parent): fix ref leak.
1672 * libspi/registry.c (spi_registry_new): make the registry
1673 immortal - we don't want it to go away ever.
1675 * libspi/application.c
1676 (spi_accessible_application_finalize): impl. cleanup.
1678 * cspi/spi_registry.c
1679 (deregisterGlobalEventListenerAll),
1680 (deregisterGlobalEventListener),
1681 (deregisterAccessibleKeystrokeListener): fix ref leak.
1683 * cspi/spi_main.c (SPI_init): remove redundant ref.
1685 * test/test-simple.c (unutterable_horror): impl. to force a
1690 (impl_accessibility_registry_deregister_application): release
1691 the application when we de-register it.
1693 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1694 until we have the infastructure to get it right.
1696 2001-12-03 Michael Meeks <michael@ximian.com>
1698 * libspi/Makefile.am: only build eventlistener.[ch]
1700 * libspi/accessible.c
1701 (impl_accessibility_accessible_get_child_at_index): don't leak.
1703 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1704 before we hit the idle handler.
1706 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1707 debugging than exit.
1709 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1711 * libspi/listener.c (impl_notify_event): check source
1712 not NIL before unref.
1714 * libspi/registry.c (impl_registry_notify_event): ditto.
1716 * libspi/eventlistener.c
1717 (impl_accessible_event_notify_event): unref the source.
1719 * libspi/accessibleeventlistener.c
1720 (impl_accessible_event_notify_event): unref the source.
1722 * idl/Event.idl: remove 'hash_id' attribute - of no
1725 * libspi/application.c (notify_listeners): upd list
1727 (spi_application_object_event_listener),
1728 (spi_application_toolkit_event_listener): upd to do correct
1732 (_registry_notify_listeners): update.
1733 (parse_event_type): this method also leaks like a sieve.
1734 (impl_accessibility_registry_deregister_global_event_listener):
1735 fix ETYPE_WINDOW case.
1737 * libspi/application.c
1738 (impl_accessibility_application_register_object_event_listener):
1741 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1743 * libspi/hypertext.c (impl_getLink): ditto.
1745 * cspi/spi_main.c (cspi_object_add): remove
1746 bogus CORBA_Object_duplicate.
1748 * cspi/spi-listener-impl.c (cspi_event): dup/ref
1751 * cspi/spi_accessible.c
1752 (Accessible_getRelationSet): fix leak / referencing issue.
1754 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1755 (cspi_object_add, cspi_object_unref): upd.
1756 (spi_object_release, get_live_refs): impl.
1757 (cspi_cleanup): simplify.
1759 * *.[ch]: s/boolean/SpiBoolean/
1761 * cspi/spi_accessible.c (role_names): actualy order so it
1762 corresponds with the enum !
1764 * test/test-simple.c (test_roles): check some role strings
1765 vs. enums to detect offset errors.
1767 2001-12-01 Michael Meeks <michael@ximian.com>
1769 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1771 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1773 (Accessible_getChildAtIndex): use cspi_add_check so we
1774 check the ev before using a (possibly) invalid value.
1776 * libspi/accessible.c
1777 (impl_accessibility_accessible_get_parent): don't segv
1780 * at-bridge/bridge.c (gtk_module_init): upd.
1781 (bridge_property_event_listener): don't leak strings
1783 (bridge_state_event_listener),
1784 (bridge_property_event_listener): don't use a static
1785 buffer in case of recursive event emission &
1786 re-enterancy - split out the swathe of cut and paste
1788 (emit_eventv): and fix 2 ref leaks here & comply to the
1790 (bridge_register_app): rename to
1791 (bridge_idle_init): this and kill arg parsing, split
1792 various inits & bonobo-activation registration to module
1793 init time, kill referencing error.
1794 (bridge_exit_func): fix the same leak.
1795 (bridge_focus_tracker): don't leak event structures
1797 (bridge_signal_listener): more leakage and cut & paste
1799 (bridge_key_listener): return the result - FIXME is
1800 this polarity correct ?
1801 (accessibility_keystroke_from_atk_key_event): rename
1802 (accessibility_init_keystroke_from_atk_key_event): and stop
1804 (gtk_module_init): return a value - not that it is checked by
1806 (bridge_key_listener): register my horror at casting between
1807 IDL defined structs.
1808 (bridge_get_registry): kill - not used.
1810 * cspi/spi_accessible.c (Accessible_getRole): make return const.
1812 * test/test-simple.c (test_roles): impl.
1813 (test_desktop, validate_accessible, validate_tree): impl.
1815 * cspi/spi_accessible.c (role_names): fixup bogus
1816 MAX_ROLES setup, make constants const for efficient linkage
1817 (AccessibleRole_getName): conform to coding style, make
1820 2001-11-30 Michael Meeks <michael@ximian.com>
1822 * cspi/spi.h: add missing prototype.
1824 * libspi/registry.c (spi_listener_struct_new): fix sig.
1826 * test/Makefile.am: add test-simple
1828 * test/test-simple.c: add
1830 * test/test.sh: add.
1832 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1834 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1835 do it straight - since otherwise we often get an activation race.
1837 [ work before Bill duplicated a chunk of it ... ]
1838 2001-11-30 Michael Meeks <michael@ximian.com>
1840 * libspi/keystrokelistener.c
1841 (spi_keystroke_listener_class_init): fixup arg
1844 * libspi/eventlistener.c
1845 (spi_event_listener_class_init): ditto.
1847 * tests/test.sh: add.
1849 * cspi/spi-listener-impl.h: update macros.
1851 * cspi/spi-listener-impl.c
1852 (cspi_event_listener_remove_callback): add
1853 correct pre-conditions.
1855 * cspi/spi_main.c (SPI_exit): guard vs. double
1856 exits, exit the mainloop nicely.
1857 (SPI_event_main): make more sense.
1858 (SPI_init): move the atexit evilness here so we
1859 always do it (yuck).
1860 (SPI_event_main): upd.
1862 * test/simple-at.c: update for listener changes.
1864 * registryd/registryd.c (main): prune kruft.
1866 * libspi/libspi.h: upd.
1868 * libspi/eventlistener.[ch]: rename broken macros.
1870 * libspi/accessibleeventlistener.[ch]: remove.
1872 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
1874 * test/test-simple.c: Add - automated tests.
1876 * cspi/spi-listener-impl.c (cspi_event),
1877 (cspi_key_event): add user_data to invoke.
1878 (cspi_keystroke_listener_finalize): impl.
1879 (cspi_keystroke_listener_class_init): upd.
1882 (createAccessibleEventListener),
1883 (AccessibleEventListener_addCallback),
1884 (createAccessibleKeystrokeListener),
1885 (AccessibleKeystrokeListener_addCallback): upd.
1887 * libspi/deviceeventcontroller.c
1888 (spi_device_event_controller_check_key_event): add public proto.
1891 (impl_accessibility_registry_deregister_global_event_listener):
1892 always init listeners.
1893 (_registry_notify_listeners): yes it is.
1895 * cspi/spi-listener-impl.c (cspi_key_event):
1897 (cspi_event_listener_finalize): impl.
1898 (cspi_event_listener_class_init): hook up.
1899 (event_handler_new, event_handler_free),
1900 (event_list_remove_by_callback): impl.
1901 (cspi_event_listener_remove_callback),
1902 (cspi_keystroke_listener_remove_callback),
1903 (cspi_keystroke_listener_add_callback),
1904 (cspi_event_listener_add_callback): upd.
1906 * libspi/keystrokelistener.c
1907 (keystroke_listener_object_finalize): kill
1908 (spi_keystroke_listener_class_init): upd.
1909 (spi_keystroke_listener_add_callback),
1910 (spi_keystroke_listener_remove_callback): kill,
1912 (impl_key_event): prune drasticaly.
1914 * libspi/eventlistener.c
1915 (spi_event_listener_add_callback),
1916 (spi_event_listener_remove_callback): kill, use
1918 (impl_accessible_event_notify_event): upd.
1919 (spi_event_listener_object_finalize): remove.
1921 * libspi/Makefile.am: use eventlistener.[ch]
1923 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1925 * libspi/registry.c (_registry_notify_listeners):
1926 Changed listener loop iteration to use preferred convention.
1927 Got rid of string memory leaks caused be calling g_strconcat
1928 inside function calls.
1930 * libspi/registry.c (parse_event_type):
1931 Stopped g_strconcat memory leaks, free the g_strsplit return,
1932 g_strdup the split pieces when used, etc.
1934 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1937 Change method 'compare' to return a 'difference set' rather than
1938 taking a StateSet as an out parameter (more Java-friendly).
1940 * idl/Accessible.idl:
1941 Added CORBA struct 'BoundingBox', to faciliate API changes below:
1943 * idl/Component.idl:
1945 Changed methods 'getExtents' and 'getImageExtents' in these
1946 interfaces to return a BoundingBox structure.
1947 (getPosition and getSize are redundant and possibly should be
1948 removed, rather than creating a corresponding Point struct.)
1950 * cspi/spi_component.c:
1951 Modify implementation of getExtents to reflect the above IDL
1956 Add (missing) AccessibleImage_getExtents () API.
1958 * docs/reference/cspi/at-spi-cspi-sections.txt:
1959 Added AccessibleImage_getImageExtents () to docs.
1961 2001-12-03 Bill Haneman <bill.haneman@sun.com>
1963 * idl/Component.idl:
1964 Added two methods, getLayer () and getMDIZOrder (), to reflect
1965 the new ATK methods atk_object_get_layer and
1966 atk_object_get_mdi_z_order. (Which arguably should be part of the
1967 AtkComponent API and AtkObject). Also added an enum,
1968 ComponentLayer, for the first method's return value.
1970 * libspi/component.c:
1971 Added implementations for these methods.
1973 * cspi/spi_component.c:
1975 Added cspi binding methods for above,
1976 AccessibleComponent_getLayer() and
1977 AccessibleComponent_getMDIZOrder().
1978 Added cspi enum 'AccessibleComponentLayer'.
1980 * docs/reference/cspi/at-spi-cspi-sections.txt:
1981 Added above methods to docs.
1985 Changed typedef for 'boolean' type (and all references to it) to
1986 SPIBoolean, to avoid keyword clashes with C++.
1989 Changed usages of 'boolean' to SPIBoolean.
1991 * test/keysynth-demo.c:
1992 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
1993 app), except where SPIBoolean is required by the callbacks API.
1995 2001-12-02 Bill Haneman <bill.haneman@sun.com>
1997 * cspi/spi_registry.c:
1998 Removed obsolete X event loop for passive keygrabs (which now
2001 * registryd/registryd.c:
2002 Removed unnecessary call to gdk_init() [cruft]. This also allows
2003 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2006 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2008 * docs/reference/cspi:
2009 Included docs for SPI_freeString in generated documentation.
2012 Renamed spi_freeString to SPI_freeString, for consistency. Added
2013 documentation for this function.
2016 Renamed spi_freeString to SPI_freeString, for consistency.
2017 Removed obsolete method declaration string_from_corba_string.
2019 * test/keysynth-demo.c:
2020 Small tweak to comments.
2023 Stopped leaking the strings returned from CSPI.
2025 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2027 Merged Michael's branch (see his ChangeLog entries below).
2029 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2030 bridge is alive, release on exit.
2032 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2033 Fix type check macro.
2036 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2039 Added is_gnome_app static, and method cspi_is_gnome_app(),
2040 so we can call the appropriate shutdown routine at exit in SPI_exit.
2042 * cspi/spi_main.c (cspi_object_ref):
2043 Duplicate the corba object passed in, since we're keeping it around.
2045 * cspi/SPI_exit.c, cspi_cleanup:
2046 Moved the releasing of the live refs to its own function, so we
2047 can put it in g_atexit (). Call the appropriate shutdown API
2048 depending on whethe calling client is a gnome app or not
2049 (bonobo_main_quit or CORBA_ORB_shutdown).
2051 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2052 Unref the listener when this method is called, after
2053 deregistration. Updated the API docs to note this behavior.
2055 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2056 Bugfixes: Ref the bonobo object when returning a parent or child
2057 reference, or an AccessibleRelation. Generally made sure
2058 BonoboObject refcount is incremented whenever we return an
2061 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2062 Fixed typo/bug in signal declaration.
2064 * libspi/accessibleeventlistener.h:
2067 * libspi/application.c (spi_application_new):
2068 Fixed leak in initialization.
2071 Remembered to increment bonobo-object refcount when returning
2072 children (applications) from desktop object.
2073 Added (empty) finalize method.
2075 * libspi/deviceeventcontroller.c:
2076 Hold a ref to listeners inside DEControllerKeyListeners.
2077 Added dec_key_listener_free() method. Use prepend instead of
2078 append in key_listener list. Fixed some refcount madness and
2079 leaks in the listener registration/deregistration - deregistration
2080 now calls dec_key_listener_free() on listeners, and on the
2081 temporarily constructed dec_key_listener() used to perform the search/match.
2083 * libspi/hypertext.c (spi_hypertest_finalize):
2084 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2085 class. Also fixed spi_hypertext_interface_new() and
2086 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2088 * libspi/hypertext.h:
2089 Removed pointless and duplicate AtkObject pointer from
2092 * libspi/keystrokelistener.c:
2093 Fixed incorrect type of keystroke_listener_parent_class,
2094 renamed keystroke_listener_object_finalize to
2095 spi_keystroke_listener_object_finalize.
2096 Fixed typo in signal declaration
2097 (spi_keystroke_listener_class_init).
2099 * libspi/registry.c:
2100 Added funcsions spi_listener_struct_new() and
2101 spi_listener_struct_free() to help with memory management issues.
2102 We also now use these methods instead of gnew + poking stuff into
2103 the struct, and to decrement listener counts/free the listeners
2104 when deregistering them.
2105 Fix more refcount bugs in getDesktop() and
2106 getDeviceEventController().
2109 De-ref the desktop after enumerating the applications. Explicitly
2110 decrement the refcounts on the created listeners on exit (using
2111 _unref for keystroke listeners, and via the
2112 deregisterGlobalEventListenerAll command for other event
2115 2001-11-27 Michael Meeks <michael@ximian.com>
2117 * cspi/spi-listener.h: fixup enum.
2119 2001-11-27 Michael Meeks <michael@ximian.com>
2121 * cspi/spi-listener-impl.c (cspi_event_listener_new),
2122 (cspi_keystroke_listener_new): Use the cspi variants.
2124 2001-11-26 Michael Meeks <michael@ximian.com>
2126 * test/keysynth-demo.c: fix 2 compile warnings, missing
2129 * test/simple-at.c (report_focussed_accessible),
2130 (report_focus_event, report_button_press),
2131 (check_property_change, is_command_key),
2132 (report_ordinary_key_event, report_command_key_event): upd.
2134 * util/mag_client.h: include pre-requisites.
2136 * libspi/accessibleeventlistener.c
2137 (spi_event_listener_object_finalize): free any lingering
2140 * libspi/keystrokelistener.c
2141 (keystroke_listener_object_finalize): ditto.
2143 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
2144 callbacks, with cspi types.
2146 * cspi/spi_event.c (createAccessibleEventListener): chain to
2147 (AccessibleEventListener_addCallback): here.
2148 (createAccessibleKeystrokeListener): chain to
2149 (AccessibleKeystrokeListener_addCallback): here.
2151 * libspi/keystrokelistener.c
2152 (spi_keystroke_listener_class_init): add signal.
2153 (impl_key_event): emit the event.
2154 (boolean_handled_accumulator): impl.
2155 (marshal_BOOLEAN__POINTER): add, gack.
2157 * libspi/accessibleeventlistener.c
2158 (spi_event_listener_class_init): add signal.
2159 (impl_accessible_event_notify_event): emit the signal &
2160 make the loop efficient.
2161 (spi_event_listener_add_callback): prepend the callback.
2163 * libspi/accessibleeventlistener.h: add an 'event' signal,
2164 decl type on callback.
2166 * libspi/keystrokelistener.h: ditto.
2168 * cspi/spi-listener.h: make methods typesafe and
2169 make them use the new event typedefs.
2171 * test/simple-at.c (report_focussed_accessible):
2172 include mag_client.h
2173 Use *(void *)text_interface not the other thing.
2175 * configure.in: add gtk to registryd bits - since we use
2178 * util/magnifier.c: include libbonobo.h
2180 2001-11-25 Bill Haneman <bill.haneman@sun.com>
2182 * test/keysynth-demo.c:
2183 Turned this into a simple scanning keyboard, to demonstrate the
2184 use of g_timeout_add () as a means of creating timers for
2185 scanning, and the use of GtkStyle for visually indicating when
2186 virtual keyboard elements are selected.
2188 keysynth-demo now listens to any keyboard keys with zero-valued
2189 keycodes (i.e. 'unused' keys) and interprets them as
2192 Reworked the shiftlatch code so that shift-down state isn't held
2193 for long periods (it's only synthesized immediately prior to
2194 the keysynth event it's modifying). Note that shiftlatch in this
2195 demo is a convenience, not intended to take the place of AccessX
2196 which is the better choice for getting 'sticky' modifier keys.
2198 * libspi/deviceeventcontroller.c:
2199 * at-bridge/bridge.c:
2200 * cspi/spi_registry.c:
2201 Removed some debug print stuff, and put other verbosity in #ifdef
2206 Implemented some more of the magnifier IDL for the simple
2207 magnifier: namely, getZoomRegionParams.
2208 Added mag_x and mag_y members to MagnifierData struct, aid of this
2210 Added GtkWindow::realize signal handler to magnifier, to keep it
2211 from receiving keyboard focus from the WM.
2213 2001-11-23 Mark McLoughlin <mark@skynet.ie>
2215 * cspi/spi-private.h: my guess at what michael forgot
2216 before he ran off to NZ :-)
2218 2001-11-23 Michael Meeks <michael@ximian.com>
2220 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
2221 comment out non existant method invoke so we link.
2223 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
2224 use bonobo_exception_get_text for more friendly warnings.
2226 * cspi/spi.c (Obj_Add): move into spi_main & rename
2227 spi_object_add; kill spi.c
2229 * cspi/spi_registry.c
2230 (deregisterGlobalEventListener),
2231 (deregisterGlobalEventListenerAll),
2232 (registerGlobalEventListener): fix exception leaks.
2234 * cspi/spi_main.c (spi_exception): impl. helper, so we
2235 don't leak exceptions.
2237 * cspi/spi_selection.c
2238 (AccessibleSelection_deselectSelectedChild): return the
2241 * cspi/spi_main.c (spi_ev): impl; hack - gack.
2242 (spi_registry): ditto.
2243 (SPI_init): guard against double inits.
2245 * cspi/*.c: use spi_ev (), and spi_registry () where
2246 appropriate - a temporary hack until we have something
2247 better. Use spi_object_add
2249 2001-11-22 Michael Meeks <michael@ximian.com>
2251 * cspi/Makefile.am: re organise, install the headers.
2253 * cspi/*.h: add G_BEGIN/END_DECLS
2255 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2258 Added non-preemptive keylistener for key events with no modifiers
2259 and shift-only modifier.
2261 * libspi/keystrokelistener.c:
2262 Removed some verbose diagnostics printout.
2264 * cspi/spi_registry.c:
2265 Fixed a bug that caused all key listeners to be registered as
2268 * libspi/deviceeventcontroller.c:
2269 Fixed bug that caused XGrabKey (preemptive key grab) to be called
2270 for non-preemptive key masks.
2273 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2275 * docs/reference/idl/at-spi-idl-docs.sgml:
2276 * docs/reference/idl/at-spi-idl-sections.txt:
2277 * docs/reference/idl/at-spi-idl-overrides.txt:
2278 Added missing files.
2280 * docs/reference/Makefile.am:
2281 removed idl from SUBDIRS until we can figure a way to get gtk-doc
2282 to scan the IDL files :-(
2287 Added .cvsignore files.
2289 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2291 * libspi/deviceeventcontroller.c:
2292 * libspi/keystrokelistener.c:
2294 * cspi/spi_registry.c:
2295 Added filters for KeySets, KeyEventSeq, and event types to key
2296 event dispatching, so listeners should only receive those events
2297 that they requested :-)
2299 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2304 * docs/reference:Makefile.am:
2305 * docs/reference/cspi:
2306 * docs/reference/cspi:Makefile.am:
2307 * docs/reference/cspi:tmpl:
2308 * docs/reference/cspi:tmpl:*.sgml:
2309 * docs/reference/idl:
2310 * docs/reference/idl:Makefile.am:
2311 * docs/reference/idl:at-spi-idl-sections.txt:
2312 * docs/reference/idl:at-spi-idl-docs.sgml:
2313 * docs/reference/idl:tmpl:
2314 * docs/reference/idl:tmpl:*.sgml:
2316 Restructured docs directory to allow separate 'reference' docs
2317 section, and forked idl and cspi docs. Added the sgml template
2318 files to CVS. Added the first sections/structural sgml for the
2321 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
2323 * configure.in, libspi/Makefile.am: find libXtst.
2325 2001-11-21 Michael Meeks <michael@ximian.com>
2327 * test/accessx-gui.c: s/spi_value/value/ - doh.
2329 * libspi/base.[ch]: add.
2331 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2333 * idl/Accessible.idl:
2334 * idl/Application.idl:
2337 Started gtk-doc cleanup on IDL.
2339 * libspi/deviceeventcontroller.c:
2340 Added and connected non-preemptive key notification from the
2341 toolkits (in addition to the pre-emptive support from XServer
2342 which we had before, but which causes 'focus flashing'). Filters
2343 are presently limited to key modifiers and global/non-global,
2344 KeySets are presently ignored, as are KeyEvent masks.
2346 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
2347 structs into the persistant structure rather than just storing
2348 pointers to things that might not persist across servant
2351 The XGrabKey call now does async keygrabs, because synchronous
2352 ones were deadlocking with GDK_event code in a very nasty way.
2354 Added boolean to internal method notify_keylisteners, to indicate
2355 whether the event came from the 'toolkit source' or the 'global
2356 (XServer) source' - this is used in the notification process to
2357 determine which listeners to send the event to.
2359 deviceeventcontroller.c is now warning-free.
2361 * libspi/registry.c:
2362 Fixed regression in application de-registration.
2363 Also fixed some really brain-dead weirdness having to do with
2364 event dispatching - event structs are now duplicated before being
2365 re-marshalled in the dispatch to listeners. This also fixes a
2366 Solaris build problem.
2369 2001-20-11 Michael Meeks <michael@ximian.com>
2372 (impl_accessibility_registry_deregister_global_event_listener):
2375 * libspi/deviceeventcontroller.c
2376 (spi_device_event_controller_check_key_event): return
2377 FALSE on no virtual method.
2379 * libspi/*..h: make includes work on a correctly pathed install.
2381 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
2383 * libspi/application.h: kill unused ( and whacked out )
2384 gboolean *spi_application_set_id (AtkObject *app, long id);
2386 2001-20-11 Michael Meeks <michael@ximian.com>
2388 * libspi/*.[ch]: further convert to bonobo's type func
2389 macros, remove redundnant casts etc.
2391 * libspi/text.c s/accessibility_text/spi_text/g,
2392 re-order to de-cruft.
2394 * libspi/hypertext.c: re-order to kill a huge slew
2395 of redundant forward decls.
2397 * libspi/relation.c: ditto.
2399 * libspi/image.c: ditto.
2401 * */.cvsignore: update
2403 2001-20-11 Michael Meeks <michael@ximian.com>
2405 * libspi/deviceeventcontroller.c
2406 (_controller_register_with_devices): use g_getenv,
2407 kill stdlib.h include.
2409 * libspi/keystrokelistener.c
2410 (spi_keystroke_listener_get_type): kill
2411 (spi_keystroke_listener_class_init),
2412 (spi_keystroke_listener_init): rename to this.
2414 * libspi/text.c (impl_getAttributes): fix warning / bug.
2416 * libspi/*.[ch]: more headers, includes and over commenting.
2418 2001-20-11 Michael Meeks <michael@ximian.com>
2420 * libspi/*.[ch]: fixup headers, includes and over commenting.
2422 * libspi/image.c (impl__get_imageDescription): const
2423 correctness warning fix. remove redundant casting.
2425 * libspi/table.c (impl_getRowDescription): ditto.
2426 (impl_getColumnDescription): ditto.
2428 * libspi/libspi.h: add.
2430 2001-19-11 Michael Meeks <michael@ximian.com>
2432 * libspi/editabletext.c (impl_setAttributes): fix warnings.
2434 * libspi/component.c (accessibility_component_get_type):
2435 rename to (spi_component_get_type): and macroify.
2436 (accessibility_component_init): rename to
2437 (spi_component_init): this
2438 (accessibility_component_class_init): rename to
2439 (spi_component_class_init): this
2441 * libspi/action.c (spi_action_get_type): kill, use the macro.
2443 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
2446 * libspi/application.c (spi_application_object_event_listener),
2447 (impl_accessibility_application_register_object_event_listener):
2448 warning fixes / const understanding updates.
2450 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
2453 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2455 * libspi/spi_accessible.c: Added docs and C bindings for
2456 AccessibleStateSet. (No implementations yet). Documentation
2457 coverage for C bindings now 100%. Made docs for event listeners
2462 boolean notifyListenersSync (in DeviceEventListener listener,
2463 in DeviceEvent event);
2465 oneway void notifyListenersAsync (in DeviceEventListener listener,
2466 in DeviceEvent event);
2468 Added DeviceEventListener and DeviceEvent structs (may deprecate
2469 KeyStroke and KeystrokeListener in favor of this generic
2470 event/listener framework for devices).
2472 * libspi/deviceeventcontroller.c:
2474 Changed some key listener code to take masks, etc., and paved the
2475 way for integration of toolkit/non-preemptive key events. Changed
2476 signatures of some internal methods.
2478 * at-bridge/bridge.c:
2479 Fixed regression connecting to interface signals, apparently
2480 caused by GTK+ changes.
2482 Added an internal bridge_state_listener to deal with
2483 property-change:accessible-state signals.
2485 Changed the key_listeners GList to store structs (including masks,
2486 etc.) instead of just CORBA_Objects (required for full
2487 implementation of key listener API).
2489 Connected the bridge to all currently supported Atk signals.
2490 Events now supported:
2491 object:property-change
2492 object:property-change:accessible-name
2493 object:property-change:accessible-state
2494 object:property-change:accessible-description
2495 object:property-change:accessible-parent
2496 object:property-change:accessible-value
2497 object:property-change:accessible-role
2498 object:property-change:accessible-table-caption
2499 object:property-change:accessible-table-column-description
2500 object:property-change:accessible-table-column-header
2501 object:property-change:accessible-table-row-description
2502 object:property-change:accessible-table-row-header
2503 object:property-change:accessible-table-summary
2504 object:children-changed
2505 object:visible-data-changed
2506 object:selection-changed
2507 object:text-selection-changed
2509 object:text-caret-moved
2511 object:row-reordered
2513 object:column-inserted
2514 object:column-reordered
2515 object:column-deleted
2516 object:model-changed
2518 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2520 * libspi/hyperlink.c,h:
2521 Fixed some broken stuff in hyperlink.
2523 * libspi/relation.h:
2524 * libspi/relation.c:
2525 * cspi/spi_accessible.c:
2526 Initial implementations of AccessibleRelation methods, and docs.
2528 * libspi/accessible.c:
2529 Fixed a bug that caused SEGV if an accessible
2530 object's description is NULL, and a client
2531 requests it. An empty string is now returned.
2533 * cspi/spi_editabletext.c:
2534 * cspi/spi_hypertext.c:
2536 * cspi/spi_hyperlink.c:
2540 Doc coverage now 95%.
2542 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2544 One last namespacing revision:
2545 * libspi/accessibleeventlistener.[ch]:
2546 Renamed SpiAccessibleEventListener to SpiEventListener,
2547 (no need for two namespaces ;-)
2549 And lots of documentation fixes:
2551 * docs/at-spi-docs.sgml:
2552 Fixed 'underscore vs. hyphen' bug that was preventing
2553 the gtk-doc API docs from being automatically generated.
2556 * cspi/spi-listener.h
2558 * cspi/spi_accessible.c
2560 * cspi/spi_application.c
2561 * cspi/spi_component.c
2562 * cspi/spi_editabletext.c
2564 * cspi/spi_hypertext.c
2566 * cspi/spi_registry.c
2567 * cspi/spi_selection.c
2571 * docs/at-spi-docs.sgml
2572 * docs/at-spi-sections.txt
2574 Added and fixed up gtk-doc documentation in cspi.
2576 Interfaces now (fully) documented (subject to revision and enhancement):
2578 Event Listener Support
2580 AccessibleApplication
2584 AccessibleEditableText
2591 AccessibleRelationSet
2596 2001-14-11 Bill Haneman <bill.haneman@sun.com>
2598 * at-bridge/bridge.c:
2599 Initial work for toolkit-level key snooper connection by bridge.
2604 New typedefs and fixes to support new namespacing, and cleaner
2605 separation of cspi bindings from libspi bonobo implementation.
2606 Removed inconsistent and extraneous Spi* namespace prefix that
2607 had crept into cspi headers.
2608 Lots of comment fixes that sed had missed.
2610 * cspi/spi-roletypes.h:
2611 * cspi/spi-statetypes.h:
2612 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
2613 to AccessibleRoleType.
2615 * libspi/accessibleeventlistener.h:
2616 Fixed minor namespacing weirdness.
2618 * libspi/deviceeventcontroller.c:
2619 Reordered some internal API for device listeners.
2620 Changed the key registry final boolean to 'is_system_global'
2621 rather than 'is_synchronous', which is more descriptive of its
2623 Added spi_device_event_controller_new().
2624 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
2626 * libspi/keystrokelistener.[ch]:
2627 Namespaced KeystrokeListener to SpiKeystrokeListener.
2628 Changed uses of keymasks to use SPI_ prefix, and did other
2631 * libspi/keymasks.h:
2632 Namespaced keymask constants with SPI_ prefix.
2634 * libspi/registry.c:
2635 Some warning fixes, and knock-on fixes from namespace changes.
2638 Added rules for accessx-gui test program.
2640 * test/accessx-gui.c:
2641 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2642 utility. It doesn't actually use at-spi, but it's still cool and
2645 * test/keysynth-demo.c:
2649 Fixes so that these test clients work properly with the namespaced
2650 libraries. (Incompletely tested for technical reasons, fixes may follow)
2653 2001-13-11 Michael Meeks <michael@ximian.com>
2655 * libspi/application.c
2656 (impl_accessibility_application_get_version),
2657 (impl_accessibility_application_get_toolkit_name):
2659 (impl_accessibility_application_set_id),
2660 (impl_accessibility_application_get_id): remove
2661 redundant casting code.
2663 * libspi/action.c (impl_getDescription): fix warnings.
2665 * libspi/accessible.c
2666 (impl_accessibility_accessible_get_parent),
2667 (impl_accessibility_accessible_get_child_at_index),
2668 (impl_accessibility_accessible_get_state),
2669 (impl_accessibility_accessible_get_relation_set):
2670 warning fixes & include action.h
2672 2001-13-11 Michael Meeks <michael@ximian.com>
2674 * *.[ch] fix bits I screwed up:
2676 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2677 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2679 2001-13-11 Michael Meeks <michael@ximian.com>
2681 * *.[ch] Namespace libspi into spi_ and Spi.
2683 2001-13-11 Michael Meeks <michael@ximian.com>
2685 * Makefile.am: dist & install at-spi-1.0.pc
2687 * libspi/Makefile.am: install into at-spi-1.0
2689 * idl/Makefile.am (idldir): install into at-spi-1.0
2691 * at-spi-1.0.pc.in: add.
2693 * configure.in: build it.
2695 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2697 * test/keysynth-demo.c:
2698 Use a 'realize' signal-handler to set the WM properties for
2699 the virtual keyboard, rather than making it a "POPUP" type
2700 override-redirect window (thanks to anders carlsson for that
2703 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2706 * test/keysynth-demo.c:
2707 Added new test of key synthesis, which creates a simple
2708 (mouse-operated) onscreen keyboard. It inserts key events into
2709 the currently-focused window, thus it does not grab keyboard focus
2712 * cspi/spi_registry.c:
2713 Added C binding for AT-SPI generateKeyEvent.
2715 * libspi/deviceeventcontroller.c:
2716 Added call to XFilterEvent so that key listener works with XIM (we
2717 hope). Added event_synth_type to generateKeyEvent, so that we can
2718 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2719 synthesize a press/release pair for KeySyms.
2721 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2723 * libspi/Makefile.am:
2724 * registryd/Makefile.am:
2725 (temporary) hack to include libXtst in libspi and registryd.
2726 (Needed for keystroke synthesis, see below).
2729 Improved API for registerKeystrokeListener, in accordance with
2730 discussions with Gnopernicus team and X server research.
2732 * libspi/registry.c:
2733 * libspi/deviceeventcontroller.c:
2734 * libspi/accessible.c:
2735 * libspi/keystrokelistener.c:
2736 Changes and fixes to support keylisteners for potentially
2737 consumed key events (that is, 'passive grabs').
2738 Added implementation for generateKeyEvent() [untested].
2741 Changes to registerKeystrokeListener() API, as above.
2742 Added deregisterGlobalEventListenerAll(), and
2743 deregisterKeystrokeListener(), which are needed for clean exit of
2745 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2746 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2748 * cspi/spi_registry.c:
2749 Added implementations of function prototypes mentioned above.
2751 * registryd/registryd.c:
2752 Added the key listener event source as a g_timeout(), to allow
2753 receipt of key events that are not caught by GDK (since GDK
2754 doesn't support passive keygrabs, this was necessary).
2757 Changed to attach a keylistener to 'Alt' keys, and
2758 respond to the following keycommands: Alt-M (toggle magnifier);
2759 Alt-F (toggle speech); Alt-Q (quit).
2760 Added an exit routine to deregister the listeners, and a key
2761 listener that prints some key info to the console when a key
2762 matches the listener mask (and is thus received by the listener).
2764 * util/idl/Magnifier.idl:
2765 Changes to magnifier API to support multiple zoom regions,
2766 non-uniform scaling in x and y, markDirty, and a host of other
2767 features that would be useful to magnification.
2770 * util/mag_client.c:
2771 * util/mag_client.h:
2772 * util/mag_control.c:
2774 Source code changes to support the above IDL changes.
2777 As above, and also changes to use a (slower) generic conversion
2778 path for colormap conversions, since the fast RGB conversions have been
2779 reported to fail for 16-bit displays.
2781 2001-10-26 Michael Meeks <michael@ximian.com>
2783 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2785 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
2787 * at-bridge/Makefile.am: fix LDFLAGS.
2789 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2791 * at-bridge/bridge.c:
2792 Re-worked listeners for toolkit events, now we have signal
2793 and property listeners. Added a private method
2794 register_atk_event_listeners(), which registers with the
2795 various atk and gtk signals we need to monitor in order to emit
2797 Added emission hook for AtkObject:property-change events, to
2798 support the 'property listeners'.
2799 Fixed some alloc()s of Accessibility_Event structs to use CORBA
2802 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2803 which emit warnings and exit, respectively, if CORBA errors occur
2804 during remote calls, and we now use these methods to check most of
2805 our CORBA calls in the C bindings.
2807 * cspi/spi_accessible.c:
2808 Changed AccessibleSelection_refSelectedChild() to
2809 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2810 now increment refcounts.
2812 * cspi/spi_component.c:
2813 Fixed some long pointer casts (dangerous!) to pass pointers to
2814 CORBA_longs of the proper type to the CORBA stubs, and copy the
2815 data into the longs that were passed into the C bindings code.
2817 * at-bridge/bridge.c:
2819 * libspi/accessible.c:
2820 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2821 hyperlinks, AtkHyperlink is an object type.
2823 * libspi/application.c:
2824 Added various conversions to and from "generic" event types and
2825 atk-specific types; this is really part of the 'bridge'
2826 implementation but is valid for all AtkObject-based accessibility
2829 * libspi/editabletext.c:
2830 Fixed nasty bug wherein editable text's finalize method was
2831 unref'ing tha AtkObject reference that the text parent class was
2832 about to unref _again_. There was also a nasty inheritance bug
2833 that meant that the AccessibleEditableText class was corrupt.
2835 * libspi/selection.c:
2836 Provided implementations for some selection API that was broken.
2838 * idl/Application.idl:
2839 Added registerObjectEventListener () method.
2842 Fixed a number of return values that were Bonobo_Unknowns from
2843 bonobo_object_corba_objref(), which I
2844 forgot to dup before returning. Changed instances of
2845 bonobo_object_corba_objref (bonobo_object(o)) to
2846 BONOBO_OBJREF(o), for concision and clarity.
2848 <2001-10-13 Louise Miller <louise.miller@sun.com>
2850 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2851 idl/Event.idl, idl/Registry.idl
2852 Changed these files to include Bonobo_Unknown.idl instead
2855 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
2857 * libspi/component.c libspi/component.h:
2858 Fixed typo. Added assertions for object checks in
2859 AccessibleComponent code.
2861 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2863 * idl/Accessible.idl:
2864 Added 'isEqual (Accessible *object)'
2865 method for Accessible. (Not Yet Implemented).
2868 Changed signature of registerKeystrokeListener() to
2869 take a KeySet and KeyEventSeq so that specific keys and event
2870 types could be requested for monitoring, and added a flag
2871 is_synchronous so that either synchronous or asynchronous
2872 notification could be requested. (However this is not all
2873 implemented yet). This also meant adding two new typedefs,
2874 KeyEventSeq and KeySet.
2877 Added two new relations, RELATION_TOOLTIP_FOR and
2878 RELATION_LEAFNODE_OF.
2881 Added new state, STATE_HAS_TOOLTIP.
2883 * libspi/text.c, editabletext.c:
2884 Added new assertions to all casts of bonobo-objects from
2885 CORBA servants, to prevent Text API calls on non-text objects.
2886 Changed suspect casts of int-pointer types, so that we
2887 always send a valid CORBA_long pointer to the CORBA APIs that use
2888 in/out long parameters. We then have to copy from the CORBA_long
2889 into the regular long or int for return to the C bindings, or
2890 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
2893 * libspi/deviceeventcontroller.c:
2894 Cleaned these sources up.
2896 Changed return type for getCharacterAtOffset to
2897 CORBA_unsigned_long, to allow for 32-bit characters.
2900 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
2904 Fixed 'make dist' so that distro compiles...
2905 * libspi/keymasks.h:
2907 * cspi/spi-listener.c:
2908 KeystrokeListenerCB now returns a boolean.
2910 Added KeyEventType struct, and KeyStroke.
2911 Also added createKeystrokeListener(),
2912 KeystrokeListener_addCallback(),
2913 KeystrokeListener_removeCallback(), and added a keymask to
2914 registerKeystrokeListener().
2915 * cspi/spi_accessible.c:
2916 Changed numerous return types for interfaces from
2917 AccessibleComponent to Accessible<InterfaceName>; this was
2918 probably a cut-and-paste error.
2920 Implementations of new KeystrokeListener api (from spi.h,
2923 Changes to key modifier mapping.
2924 Created ControllerEventMask struct.
2925 Made DeviceEventController derive from Bonobo::Unknown.
2927 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
2928 * libspi/deviceeventcontroller.c:
2929 Added a number of new internal (private) methods.
2930 * libspi/editabletext.c:
2931 * libspi/editabletext.h:
2932 Fixed a number of bugs related to the fact that
2933 editabletext inherits from text. Fixed the EditableText struct,
2934 the init() call, and use correct casts when calling Text methods
2935 from an EditableText object. Removed (duplicate) atko from the
2936 EditableText structure, we use the one in the parent Text
2937 structure via the casts mentioned above.
2938 * libspi/keystrokelistener.[ch]:
2939 * libspi/registry.c:
2940 Changes in support of keyboard handling (above).
2942 Keyboard handling, though partly functional, is still not
2943 recommended for at-spi client use as there is considerable
2944 work yet to be done.
2947 Changed some places where pointers to various int types
2948 are cast to be pointers to CORBA_long types and vice-versa:
2949 pointer casting is not safe so we pass pointers of the correct
2950 types and then cast the result before putting it into the target
2953 * libspi/text.h: minor typos corrected.
2955 We now speak not only the name of a Text element, but the
2956 first sentence of its content, when it receives focus.
2957 I also changed the text compression to 75% from 50%.
2958 * util/Accessibility_Util.server.in:
2959 Changed the default magnifier type to be a 3x vertical
2960 splitscreen magnifier (was previously a 2x horizontal one).
2962 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
2964 * libspi/keystrokelistener.h:
2965 * libspi/keystrokelistener.c:
2966 Initial functional implementations of KeystrokeListener.
2969 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
2971 Fixed string handling for NULL strings in libspi.
2972 Added spi_freeString to free strings returned by C bindings.
2974 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
2976 * libspi/keystrokelistener.h:
2977 * libspi/keystrokelistener.c:
2978 Began (no-op) implementations of KeystrokeListener
2980 * libspi/deviceeventcontroller.c:
2981 * libspi/deviceeventcontroller.h:
2982 Began creating implementations of DeviceEventController,
2983 to handle keystroke and mouse event listening and
2985 * libspi/accessible.c:
2986 Stubbed-in the implementations for
2987 Accessibility_Accessible_getState and
2988 Accessibility_Accessible_getRelationSet.
2989 * libspi/registry.c:
2990 Improved de-registration process and fixed some bugs,
2991 deregistration now works correctly.
2993 Added initialization of applications list (to NULL).
2995 Reduced speech compression from 0.5 to 0.7, for demo.
2996 Changed call to gdk_window_set_decorations()
2997 to gtk_window_set_decorated().
2998 * at-bridge/bridge.c:
2999 Bridge now deregisters when app exits, via
3000 registration of a cleanup function
3001 with the g_atexit() call.
3002 Required making 'app' static, renamed 'this_app'.
3003 Fixed broken use of bonobo_init, passing argv wrongly.
3005 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
3009 Created a new directory for
3010 accessibility-related utilities, primarily for
3011 testing and demo purposes, but with possible
3018 Onscreen magnifier utility that
3019 is implemented as a bonobo service.
3021 * util/mag_client.c:
3022 * util/mag_client.h:
3023 Client-side support (simple C bindings)
3024 for Magnification service
3026 * util/mag_control.c:
3027 Client program example for
3028 Magnification service
3030 * util/Accessibility_Magnifier.server.in:
3031 Bonobo-activation file for the
3032 Magnification service.
3035 * util/idl/Magnifier.idl:
3036 IDL defining the bonobo Magnification
3040 Modifications to use the bonobo-activated magnifier
3041 above, in place of trying to connect to an existing
3042 magnifier that uses socket-listening IPC.
3044 If env variable MAGNIFIER is set, a magnifier service
3045 will be started if one does not exist.
3047 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
3048 * at-bridge/bridge.c:
3049 applied patch from Marc to build and run
3050 against new glib and gtk+ (seemed like a change
3051 to bonobo_init signature was made ?)
3053 made festival-server support turned off by default.
3054 Added support for a simple magnifier (off by default)
3055 which will be added to a 'util' directory later.
3056 * at-bridge/Makefile.am:
3057 Changed "application.h" header from a 'source'
3058 to a 'dependency' of libat-bridge.
3060 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3068 Added interface implementation c files to list of
3069 includes so they are included in libcspi.
3072 Changed prototype of AccessibleAction_doAction to return a
3074 Changed prototype of AccessibleTable_getCaption to
3075 return an Accessible.
3076 Changed prototype of AccessibleTable_getSelectedRows
3077 and AccessibleTable_getSelectedColumns to
3078 return a long (returns the number of selected rows
3079 or columns respectively).
3080 Changed name of AccessibleText_refRunAttributes to
3081 AccessibleText_getAttributes.
3082 Changed prototype of AccessibleText_getCharacterExtents to
3083 return a void rather than a boolean.
3084 Added support for a AccessibleCoordType parameter
3085 specifying what type of coordinates are desired.
3086 Added an AccessibleCordType parameter to
3087 AccessibleText_getPointAtOffset.
3089 * cspi/spi_accessible.c:
3090 Added code to return the outstanding interfaces from
3091 Accessible_queryInterface.
3093 * cspi/spi_action.c:
3095 Corrected call to getNActions to call the c binding
3098 * cspi/spi_editabletext.c:
3100 Changed name from setRunAttributes to setAttributes.
3102 * cspi/spi_hyperlink.c:
3104 Changed call to getNAnchors to correctly call the c
3105 binding for an attribute.
3107 * cspi/spi_hypertext.c:
3109 Changed getImageDescription to correctly call the
3110 binding for an attribute.
3112 * cspi/spi_selection.c:
3113 Changed getNSelectedChildren to correctly call the c
3114 binding for the attribute.
3115 Changed refSelectedChild to getSelectedChild.
3119 Changed getCaption to return an Accessible.
3120 Fixed calls which retrieve attributes.
3121 Changed refAt to getAccessibleAt.
3122 Changed getNSelectedRows and getNSelectedColumns to
3126 Changed getCharacterExtents and getPointAtOffset to accept an
3127 AccessibleCoordType.
3129 Changed calls which retrieve attributes.
3130 Changed refRunAttributes to getAttributes.
3135 * idl/Hyperlink.idl:
3136 Changed n_anchors attribute to nAnchors to keep naming
3137 convention consistent.
3140 Made Table inherit from Bonobo::Unknown.
3141 Added nSelectedColumns and nSelectedRows attributes.
3144 Made Value inherit from Bonobo::Unknown.
3146 * libspi/hyperlink.c:
3147 Change for nAnchors attributte name change.
3149 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3157 Added interface implementation c files to list of
3158 includes so they are included in libcspi.
3161 Changed prototype of AccessibleAction_doAction to return a
3163 Changed prototype of AccessibleTable_getCaption to
3164 return an Accessible.
3165 Changed prototype of AccessibleTable_getSelectedRows
3166 and AccessibleTable_getSelectedColumns to
3167 return a long (returns the number of selected rows
3168 or columns respectively).
3169 Changed name of AccessibleText_refRunAttributes to
3170 AccessibleText_getAttributes.
3171 Changed prototype of AccessibleText_getCharacterExtents to
3172 return a void rather than a boolean.
3173 Added support for a AccessibleCoordType parameter
3174 specifying what type of coordinates are desired.
3175 Added an AccessibleCordType parameter to
3176 AccessibleText_getPointAtOffset.
3178 * cspi/spi_accessible.c:
3179 Added code to return the outstanding interfaces from
3180 Accessible_queryInterface.
3182 * cspi/spi_action.c:
3184 Corrected call to getNActions to call the c binding
3187 * cspi/spi_editabletext.c:
3189 Changed name from setRunAttributes to setAttributes.
3191 * cspi/spi_hyperlink.c:
3193 Changed call to getNAnchors to correctly call the c
3194 binding for an attribute.
3196 * cspi/spi_hypertext.c:
3198 Changed getImageDescription to correctly call the
3199 binding for an attribute.
3201 * cspi/spi_selection.c:
3202 Changed getNSelectedChildren to correctly call the c
3203 binding for the attribute.
3204 Changed refSelectedChild to getSelectedChild.
3208 Changed getCaption to return an Accessible.
3209 Fixed calls which retrieve attributes.
3210 Changed refAt to getAccessibleAt.
3211 Changed getNSelectedRows and getNSelectedColumns to
3215 Changed getCharacterExtents and getPointAtOffset to accept an
3216 AccessibleCoordType.
3218 Changed calls which retrieve attributes.
3219 Changed refRunAttributes to getAttributes.
3224 * idl/Hyperlink.idl:
3225 Changed n_anchors attribute to nAnchors to keep naming
3226 convention consistent.
3229 Made Table inherit from Bonobo::Unknown.
3230 Added nSelectedColumns and nSelectedRows attributes.
3233 Made Value inherit from Bonobo::Unknown.
3235 * libspi/hyperlink.c:
3236 Change for nAnchors attributte name change.
3239 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
3241 implementations-- made server implementations own AtkObject pointers
3242 rather than their respective AtkInterrface pointers to fix
3243 refcounting. AtkHyperlink is still broken.
3245 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
3246 * cspi/spi_accessible.c:
3247 Added method Accessible_Role_getName(),
3248 and requisite string array (role_names).
3249 Added conversion string_from_corba_strin() call
3250 to Accessible_getName and _getDescription.
3251 * libspi/accessible.c:
3252 Added implementation for Accessible_getRole()
3254 Added festival support, used if environment variable
3257 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3259 * at-bridge/bridge.c:
3260 Now allocate Accessibility_Event using
3261 Accessibility_Event__alloc() instead of g_new0().
3262 * libspi/accessibleeventlistener.c:
3263 Initialize AccessibleEventListener->callbacks to NULL.
3264 Fixed accessible__event_listener_init() param, changed to
3265 "AccessibleEventListener *" type.
3266 Changed a bonobo_object_release_unref() call to
3267 Accessibility_Accessible_unref().
3268 * libspi/listener.c:
3269 Changed Bonobo_Unknown_unref to (equivalent)
3270 Accessibility_Accessible_unref.
3271 * libspi/registry.c:
3272 Changed bonobo_object_release_unref to
3273 Accessibility_Accessible_unref.
3275 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3278 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
3279 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
3280 spi-util.c spi-util.h
3281 Implementations for C bindings to remaining accessibility
3284 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3287 changed return value of Action from void to boolean to
3288 bring in line with ATK.
3291 Changed getText funcions to return "out" start and end offsets.
3292 Changed getAttributes to take and offset and return the start
3293 and end offset of the attribute run.
3294 Changed getOffsetAtPoint and getCharacterExtents to take an
3295 enum describing whether coordinates are window or screen.
3298 libspi/action.c libspi/action.h libspi/editabletext.c
3299 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
3300 libspi/hypertext.c libspi/hypertext.h libspi/image.c
3301 libspi/image.h libspi/selection.c libspi/selection.h
3302 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
3303 libspi/value.c libspi/value.h
3304 Added server implementations for outstanding ATK interfaces
3305 not yet implemented.
3307 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3310 Added (missing) getName() method.
3311 Made nActions an attribute.
3312 * idl/EditableText.idl:
3313 Changed order of params in setAttributes.
3314 * idl/Hyperlink.idl:
3315 Removed getAnchor, added getURI.
3317 Changed attributes to methods, for efficiency
3318 (so that getting extents can be done in one call)
3319 * idl/Selection.idl:
3320 Changed nSelectedChildren to attribute, and re-indented.
3321 * idl/Table.idl: changed nrows, ncolumns, caption, summary
3323 * idl/Text.idl: reformatted to match our coding style.
3324 (temporarily?) removed getRowColumnAtOffset().
3325 Changed text selection API to support multi-select and
3326 non-contiguous selections, as in ATK.
3327 * idl/Value.idl: changed some methods to attributes.
3329 2001-08-24 Mark McLoughlin <mark@skynet.ie>
3331 * libspi/listener.c(impl_notify_event):
3332 BonoboUnkown_unref the source instead
3333 of bonobo_object_release_unref - the ORB
3334 handles the releasing.
3336 * configure.in: require ORBit-2.3.94 for
3339 2001-08-21 Bill Haneman <bill.haneman@sun.com>
3341 Tagged CVS repository 'EA_1_0'.
3342 * README.EARLY_ACCESS:
3343 Alphabetized acknowledgements list, and
3345 Listed some known dependencies of at-spi.
3347 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3349 * docs/at-spi-docs.sgml:
3350 * docs/at-spi-sections.txt:
3351 * docs/at-spi-overrides.txt: (Added zero-length file)
3352 Documentation improvements - gtk-doc should build
3353 docs for all implemented C bindings now.
3356 * cspi/spi.c: (New file)
3357 * cspi/spi_event.c: (New file)
3358 * cspi/spi_registry.c: (New file)
3359 * cspi/spi_accessible.c: (New file)
3360 * cspi/spi_application.c: (New file)
3361 * cspi/spi_component.c: (New file)
3362 Split spi_main.c into six parts, and included them from
3363 "spi.c". This is a bit of a hack, probably temporary,
3364 but required by gtk-doc, apparently.
3366 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3369 * docs/at-spi-docs.sgml:
3370 * docs/at-spi-sections.txt:
3372 Initial checkins/modifications for gtk-doc generation.
3375 Added (missing) interface query methods to Accessible's C binding.
3377 Added GenericInterface type definition.
3379 Added query for AccessibleComponent interface to focus event handler.
3380 Added printout of bounding box for focussed component.
3381 * libspi/component.c:
3382 Added partial implementation for AccessibleComponent to C binding.
3383 * idl/Application.idl:
3384 * libspi/registry.c:
3385 * libspi/listener.c:
3386 * libspi/application.c:
3387 * libspi/application.h:
3388 Changed "ID" attribute type from string to long.
3390 2001-08-19 Bill Haneman <bill.haneman@sun.com>
3394 Made method naming consistent: methods taking object args
3395 start with uppercase, other methods (except those using
3396 acronyms) start with lowercase. Underscores delimit between
3397 object names and method names:
3398 SPI_init() - uppercase since it starts with an acronym.
3399 getDesktopCount () - lowercase start since no object param0.
3400 Accessible_getName() - uppercase object type name, studlyCaps method
3404 Added gtk-doc documentation for all currently implemented
3405 methods in the C bindings API.
3407 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3409 * Makefile.am : changed build order to build test last.
3412 Changed "createEventListener" to "CreateEventListener".
3413 * libspi/accessibleeventlistener.c :
3414 Bugfix for addition of callbacks.
3415 * test/Makefile.am :
3416 * test/simple-at.c :
3417 Added new test that uses the C bindings API.
3419 * libspi/listener.c :
3420 * libspi/registry.c :
3421 * libspi/accessibleeventlistener.c :
3422 * at-bridge/bridge.c :
3423 Renamed member "target" of Accessibility_Event to "source",
3424 which is more descriptive.
3427 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3431 * cspi/Makefile.am :
3432 Added makefile support for at-spi/cspi directory.
3435 * cspi/spi-listener.h : (NEW FILE)
3436 Added support for/use of spi-listener.h.
3438 C bindings now build successfully, with no warnings.
3439 * libspi/accessibleeventlistener.h : (NEW FILE)
3440 * libspi/accessibleeventlistener.c : (NEW FILE)
3441 * libspi/Makefile.am :
3442 Added new object type "AccessibleEventListener"
3443 which inherits from Listener, and allows attachment
3444 of in-process callbacks (so that a client with a listening
3445 object instance can add functionality to the local
3446 implementation, dynamically).
3448 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3450 * libspi/accessible.c:
3451 Add implementation for get_index_in_parent().
3453 Added #include of "spi-roletypes.h", and
3454 added enumerated type AccessibleCoordType.
3455 Added definition for KeystrokeListener (function type).
3458 * cspi/spi-statetypes.h :
3459 * cspi/spi-roletypes.h :
3461 Added these headers, used by spi.h.
3463 Added code (NOTE: not yet built by make).
3465 2001-08-18 Mark McLoughlin <mark@skynet.ie>
3467 * libspi/Makefile.am: generate imodule
3468 at the same time as other idl compiler
3471 2001-08-17 Bill Haneman <bill.haneman@sun.com>
3472 * libspi/registry.c :
3473 * libspi/application.c :
3474 * idl/Application.idl :
3475 Made registration with toolkit an application method,
3476 which is required since each app has its own toolkit static
3477 environment. Thus the bridge must register for
3478 notification of toolkit events from each application in turn.
3479 Toolkit notifications are now successfully registered for, and
3480 sent to the listening at client.
3482 Changed toolkit event string to use hyphens rather than underscores.
3483 * libspi/listener.c :
3484 listner now gives more info in debug mode - it reports the
3485 name of the event received, as well as the name of the source.
3488 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3490 * libspi/registry.c :
3491 added more implementation for toolkit events.
3492 Fixed bug such that toolkit event registrations
3493 (via atk) use the whole event name string, not
3495 Removed a useless call to an ORBit_ method.
3496 * at-bridge/bridge.c :
3497 Removed unused local sbuf[] variable.
3499 We now register for Gtk:GtkWidget:button_press_event
3500 events as well as "focus:" events.
3502 Add some more API from Registry.idl that was missing,
3503 for keystroke listening, keystroke and mouse event
3504 synthesis, and enumeration of accessible desktops.
3506 2001-08-16 Michael Meeks <michael@ximian.com>
3508 * configure.in: use AM_GLIB_GNU_GETTEXT.
3510 * Makefile.am (SUBDIRS): kill intl.
3512 2001-08-15 Michael Meeks <michael@ximian.com>
3514 * registryd/Makefile.am: s/oaf/server/ relocate info file.
3516 * configure.in: upd.
3518 * configure.in: depend on a recent bonobo-activation that
3519 will find our server files ...
3521 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3523 * libspi/accessible.c : accessible_new() :
3524 Now we add the Component interface via bonobo_object_add_interface,
3525 if the contained AtkObject implements AtkComponent.
3526 * libspi/accessible.h : now include "component.h"
3527 * libspi/component.h :
3528 * libspi/component.c : added files - implementation of
3529 bonobo wrapper object for Accessibility/Component
3530 * libspi/listener.c :
3531 Added test code to check for Accessibility/Component:1.0
3532 interface and report whether it is implemented by the
3534 * libspi/registry.c :
3535 Now we check for not only the hash of the whole event
3536 string before relaying the event, we also check the
3537 "minor" event string (without the detail string).
3538 This allows event listeners to be registered against
3539 all events of a certain major+minor type, or just
3540 against a specific major+minor+detail type.
3541 * libspi/accessible.c :
3542 Added implementations for Accessible:get_parent(),
3543 Accessible:getChildCount(), and Accessible:getChildAtIndex().
3544 * libspi/registry.c :
3545 * libspi/listener.c :
3546 Replaced calls to Accessibility_Accessible_ref() and
3547 Accessibility_Accessible_unref() with
3548 calls to bonobo_object_dup_ref() and
3549 bonobo_object_release_unref(), so that the CORBA object
3550 is dup-ed and released when relayed, as well as the bonobo object.
3552 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3554 * libspi/Makefile.am,
3555 registryd/Makefile.am,
3556 at-bridge/Makefile.am.
3557 test/Makefile.am, configure.in:
3558 reverse previous changes.
3560 * /idl/Image.idl: fix typo.
3562 * test/Makefile.am: put DEBUG_FLAGS
3565 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3567 * test/app.c: use argv[0] instead of
3570 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3572 * libspi/Makefile.am,
3573 registryd/Makefile.am,
3574 at-bridge/Makefile.am.
3575 test/Makefile.am, configure.in:
3576 cleanup, replace individual LIBS/CFLAGS with
3577 AT_COMMON_{LIBS|CFLAGS}.
3581 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3583 * configure.in, libspi/Makefile.am:
3584 Change IDL path checking for bonobo-activation
3587 2001-08-15 Bill Haneman <bill.haneman@sun.com>
3589 * registryd/registry.c : separated event listeners to use
3590 3 separate lists (focus, window, toolkit). Began testing
3591 event names against hashes before relaying events.
3592 * test/at.c : now register for events of type "focus:"
3593 * test/app.c : now generate events of type "focus:"
3594 * at-bridge/bridge.c : register with ATK for focus events,
3595 and we now relay those focus events to any "focus:" listeners.
3596 This now works with the bridge as a GTK_MODULE when running test/at.
3597 * libspi/registry.c :
3598 * libspi/listener.c :
3599 now we ref event sources before propagating, and unref on receipt.
3600 * libspi/registry.c :
3601 some changes to internal structs, to support event typestring hashes.
3602 * text/app.c : changed the way the appname is generated.
3603 * cspi : added directory that will hold the C bindings library for
3604 non-CORBA/bonobo-savvy clients.
3605 * cspi/spi.h : header file that contains the function prototypes for the C binding.
3606 * idl/Component.idl : added in parameter to indicate coord system for
3607 geometry-related calls.
3608 * idl/Hyperlink.idl : added readonly n_links attribute
3609 * idl/Image.idl : changed methods to attributes.
3611 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3613 * at-bridge/Makefile.am: link against
3614 ../libspi/libspi.la instead of -lspi.
3616 * at-spi/test/app.c: include
3617 bonobo-activation.h. Use a default appname
3618 if one is not provided.
3620 2001-08-14 Bill Haneman <bill.haneman@sun.com>
3622 * idl/Registry.idl : temporarily changed register_Application
3623 to oneway, to work around issue with initial registration
3625 * idl/Application.idl : changed attribute "id" from readonly
3626 to read-write, since it needs to be assigned by Registry.
3627 * registryd/registryd.c : added call to set application id
3629 * registryd/registry.c : changed de-registration procedure to
3630 use CORBA_Object_hash() to find matching object ref in application
3631 lists and listener lists.
3632 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
3633 began distinguishing between event types (work in progress).
3635 2001-08-13 Bill Haneman <bill.haneman@sun.com>
3638 * libspi/application.c:
3639 Added implementations for get/set id, get_toolkitName,
3641 * registryd/registryd.c :
3645 Converted from use of OAF to bonobo-activation.
3646 * libspi/desktop.h :
3647 * libspi/desktop.c :
3649 Removed references to atksimpleobject, since base atkobject
3650 implementation now provides functionality we need.
3651 * libspi/atksimpleobject.c :
3652 * libspi/atksimpleobject.h :
3657 * at-bridge/Makefile.am
3658 * at-bridge/bridge.c
3661 Added directory "bridge" and contents, and added dependencies
3662 in Makefile.am/configure.in.
3663 Initial checkin of "at-bridge".
3664 This code is a GTK_MODULE which automatically registers
3665 GTK+ apps with the accessibility registry, using an object
3666 reference to the root ATK object.
3668 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3670 * po/Makefile.in.in: Remove. Again. If this
3671 doesn't get autogenerated - you need to update
3674 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3676 * po/Makefile.in.in: Add. Again.
3678 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3680 * libspi/accessible.c : added support for 'description' property.
3681 * libspi/accessible.c
3683 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3684 (since the two are now equivalent in libbonobo)
3692 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3693 Bonobo::Unknown as does Accessibility::Accessible.
3694 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3695 interface with Bonobo::Stream, since it was redundant with it.
3696 (The Stream returned by a StreamableContext object is expected to
3697 implement only a subset of Bonobo::Stream)
3699 2001-07-28 Anders Carlsson <andersca@gnome.org>
3701 * libspi/accessible.c (accessible_object_finalize): Change
3702 g_free to g_object_unref since the AtkObject is a GObject.
3704 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3706 * idl/Accessibility.idl: add new IDL files
3709 * idl/Action.idl: Definitions of actionable UI object
3710 * idl/Component.idl: Definitions of UI component geometry, etc.
3711 * idl/Hyperlink.idl: Defs of hyperlink behavior
3712 * idl/Image.idl: Def of accessible image
3713 * idl/Selection.idl: Definition of UI object with selectable children
3714 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3715 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3716 * idl/Text.idl: Interface defs for UI elements with complex textual content
3717 * idl/Value.idl: Definition of UI element that is a value controller or display
3719 2001-07-27 Michael Meeks <michael@ximian.com>
3721 * po/Makefile.in.in: remove autogenerated file from CVS.
3723 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3726 * idl/Registry.idl: include guard.
3728 * idl/Accessibility.idl: Add, and include all the other IDL
3731 * idl/*.idl: remove mass of pragmas etc.
3733 2001-07-26 Michael Meeks <michael@ximian.com>
3735 * registryd/Makefile.am (registryd_SOURCES): remove
3738 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3740 * libspi/.cvsignore, registryd/.cvsignore,
3741 test/.cvsignore: updated.
3743 * po/Makefile.in.in: gettext update.
3745 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3747 * initial CVS checkin
3749 2001-06-29 Michael Meeks <michael@ximian.com>
3751 * configure.in: add AM_CONFIG_HEADER to gen config.h