1 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3 * registryd/Makefile.am:
5 * cspi/bonobo/Makefile.am:
6 Add $(X_LIBS) to makefiles.
8 2002-04-15 Bill Haneman <bill.haneman@sun.com>
11 Revved version to 0.11.
14 Added implementation for grabFocus.
16 * idl/Accessibility_Component.idl
17 (Accessibility_Component_grabFocus):
18 Made this method return boolean to indicate success or failure, to
19 be consistent with cspi and the corresponding ATK method.
21 * idl/Accessibility_Selection.idl
22 (Accessibility_Selection_selectAll) :
23 Made these methods return boolean to indicate success or
24 failure, to be consistent with cspi and the corresponding ATK methods.
26 * idl/Accessibility_EditableText.idl
27 (Accessibility_EditableText_setTextContents,
28 Accessibility_EditableText_insertText,
29 Accessibility_EditableText_cutText,
30 Accessibility_EditableText_deleteText,
31 Accessibility_EditableText_pasteText):
32 Made these methods return boolean to indicate
35 * cspi/spi_editabletext.c:
36 Made these methods return booleans.
40 * libspi/editabletext.c:
41 Connected the boolean returns from ATK
42 to the server-side code referenced above.
44 2002-04-14 Bill Haneman <bill.haneman@sun.com>
46 * idl/Accessibility_Table.idl: Added missing methods,
47 Accessibility_Table_addRowSelection,
48 Accessibility_Table_addColumnSelection,
49 Accessibility_Table_removeRowSelection,
50 Accessibility_Table_removeColumnSelection.
53 Added C wrappers for above IDL:
54 AccessibleTable_addRowSelection,
55 AccessibleTable_addColumnSelection,
56 AccessibleTable_removeRowSelection,
57 AccessibleTable_removeColumnSelection.
60 Added server-side implementation code for IDL above, connecting
61 to pre-existing ATK api.
63 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
65 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
67 * libspi/accessible.c: Added implementation fo
68 Accessibility_Accessible_get_state.
70 * libspi/libspi.h: Added stateset.h to the list of includes.
72 * libspi/stateset.c: Fixed broken implementation.
74 2002-04-13 Bill Haneman <bill.haneman@sun.com>
77 Added implementation code for Accessibility_Magnifier_exit ().
80 Added test code for above method; you can
81 now kill an existing magnifier via
82 ./mag_control q, from the util directory.
84 * test/key-listener-test.c:
86 Added a new test, for our key listener API.
88 2002-04-11 Bill Haneman <bill.haneman@sun.com>
90 * test/app.c, test/keysynth-demo.c:
92 Replace use of snprintf with g_snprintf.
93 (fix for bugzilla 78249)
95 2002-03-27 Michael Meeks <michael@ximian.com>
99 * util/Makefile.am (INCLUDES): fix.
100 (DONT_DIST_SOURCE): don't distribute the
103 * libspi/Makefile.am (dist-hook): ditto.
105 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
107 * libspi/hypertext.c:
108 Fix warnings when yelp is used with atk-bridge
110 2002-03-21 Michael Meeks <michael@ximian.com>
112 * libspi/application.c (spi_application_new):
113 use spi_accessible_construct so we use the AtkObject
116 2002-03-19 Michael Meeks <michael@ximian.com>
118 * registryd/registry.c (desktop_remove_application),
119 (desktop_add_application): clean coding style.
121 * registryd/desktop.c (spi_desktop_remove_application),
122 (spi_desktop_add_application): kill re-enterency hazards.
123 (spi_desktop_dispose): remove bogus redundant cast
124 obscuring bug; fix bug too.
125 (spi_desktop_init): make the desktop object immortal.
127 2002-03-16 Bill Haneman <bill.haneman@sun.com>
130 Added a #define-guarded tree-traversal step
131 when enumerating the apps (diagnostic tool).
133 2002-03-15 Bill Haneman <bill.haneman@sun.com>
135 * idl/Accessibility_Role.idl:
136 Added ROLE_DRAWING_AREA which seemed to be missing from the
139 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
141 * cspi/spi-roletypes.h cspi/spi_accessible.c
142 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
145 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
146 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
147 AT when applications are added and removed from the desktop. This
148 reverts the previous broken implementation using the backing
149 AtkObject for the SpiDesktop.
151 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
153 * registryd/desktop.c: emit the "children-changed::add" and
154 "children-changed::remove" signals on the backing ATK object for
155 the desktop so AT can tell when applications are started and shut
158 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
160 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
162 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
164 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
166 * cspi/spi_accessible.c: Implemented c bindings for stateset support
168 * cspi/state-types.h: synched with IDL and ATK
170 2002-03-13 Bill Haneman <bill.haneman@sun.com>
172 * libspi/accessible.c
173 (impl_accessibility_accessible_get_child_at_index):
174 Change return value for g_return_if_fail ()
175 to CORBA_OBJECT_NIL instead of "0" (!)
177 * registryd/Makefile.am:
178 * registryd/Accessibility_Register.server.in:
179 Changed name of executable, "registryd",
180 to something more informative:
183 2002-03-13 Michael Meeks <michael@ximian.com>
185 * atk-bridge/bridge.c (atk_bridge_init): don't register
186 if we're in a bonobo-component, rather than a bonobo app.
188 2002-03-13 Michael Meeks <michael@ximian.com>
190 * atk-bridge/bridge.c (gtk_module_init): split
191 out body to (atk_bridge_init): here, since otherwise
192 we get symbol conflicts and oddness when invoked
193 from (gnome_accessibility_module_init): here (upd.)
195 2002-03-11 Bill Haneman <bill.haneman@sun.com>
198 New file. Explicitly allow "build sheriff" putbacks provided
199 they are tested on Solaris.
201 * docs/reference/cspi/Makefile.am:
202 Added '-' to the "cp" command for index.sgml.
203 ("patch by thomasvs, soon coming to a GUADEC near you")
206 Incremented version number (0.9.0) for new release.
207 Changed macro that checks for popt, to better detect
208 obsolete versions of popt.
211 Added X_LIBS to AC_SUBST, for applications
212 that call Xlib API directly.
215 2002-03-07 Bill Haneman <bill.haneman@sun.com>
218 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
221 Fix regression caused by hard-coding major
222 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
225 * test/test-simple.c (test_editable_text),
226 (test_test): revert previous change (error was
227 a regression in gail which is now fixed).
229 2002-03-04 Michael Meeks <michael@ximian.com>
231 * test/test-simple.c (test_editable_text),
232 (test_text): pass G_MAXINT instead of '-1' for
233 whole string - is this a good thing !?
235 * cspi/spi_accessible.c
236 (Accessible_getRelationSet): fix crasher bug
237 overwriting the end of the array.
239 * test/test-simple.c (validate_accessible): free,
240 not g_free returned relation set.
242 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
244 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
245 implemented stateset support
247 * idl/Accessibility_State.idl: Made necessary changes to
248 the IDL to support state sets.
250 2002-02-12 Bill Haneman <bill.haneman@sun.com>
252 * registryd/deviceeventcontroller.c:
253 Added implementation for generateMouseEvent.
255 * cspi/spi_registry.c:
256 Connected new implementation for generateMouseEvent
259 2002-02-12 Bill Haneman <bill.haneman@sun.com>
262 Incremented revision (but no change in public API
263 outside of 'utils', which are not installed public yet.)
265 * libspi/component.c:
266 Changed to use atk_component API for layers and
267 mdi_zorder, instead of deprecated atk_object API.
269 Magnification Utility Enhancements:
272 Added implementation of createZoomRegion, clearAllZoomRegions,
273 resizeZoomRegion. Added new commandline argument
274 "--no-initial-region". Note that clearAllZoomRegions doesn't
275 unmap the old '0' region as it should (yet), and the other
276 methods only work when creating/resizing a single region,
278 (Code for multiple region support will be added later.)
281 Now we raise the magnifier window each time it's refreshed;
282 this will help keep it on top.
285 Added simple wrappers for above, used by mag_control.
286 For general use, it's recommended to use the bonobo magnifier
287 control API directly instead of using these wrappers.
290 Moved ZoomRegionData from magnifier.c to this file.
292 * util/mag_control.c:
293 Added some code to exercise new IDL implementations.
295 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
297 * libspi/text.c: Provide implementation for getAttributes.
299 2002-02-04 Bill Haneman <bill.haneman@sun.com>
302 Incremented revision.
304 * test/test-simple.c:
305 Replaced use of deprecated g_main_iteration with
306 g_main_context_iteration.
308 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
311 Incremented revision for desktop alpha 2.
313 2002-01-28 Mark McLoughlin <mark@skynet.ie>
315 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
318 * test/simple-at.c: include netinet/in.h.
320 2002-01-24 Mark McLoughlin <mark@skynet.ie>
322 * cspi/spi_accessible.c: (Accessible_getRelationSet):
323 use NULL, not CORBA_OBJECT_NIL.
325 * libspi/accessible.c:
326 (impl_accessibility_accessible_get_relation_set):
327 allocate the sequence correctly.
329 * libspi/remoteobject.h: kill spi_remote_object_new.
331 * test/test-simple.c: (validate_accessible): add code
332 to test relation sets, now all we need is to figure
333 out how to excercise this code path :/
335 2002-01-18 Michael Meeks <michael@ximian.com>
338 (key_listener_cb): consume the key.
339 (test_keylisteners): update.
340 (main): wait for any pending unrefs on events.
342 * registryd/deviceeventcontroller.c
343 (spi_controller_update_key_grabs): only re-issue the
344 grab on a key release.
345 (spi_device_event_controller_forward_key_event):
346 refresh the keygrabs before we notify the listeners,
347 to reduce the X ungrab / re-grab race.
348 (spi_controller_register_with_devices): remove
349 XSelectInput - we do that with the gdk_window_ call.
350 (_spi_controller_device_error_handler): return a value.
351 s/GDK_DISPLAY/spi_get_display/
353 2002-01-17 Michael Meeks <michael@ximian.com>
355 * registryd/deviceeventcontroller.c
356 (_deregister_keygrab): don't blow out the later
359 * test/test-simple.c (test_keylisteners): do a
360 more intelligent validation.
362 2002-01-14 Michael Meeks <michael@ximian.com>
364 * atk-bridge/bridge.c
365 (gnome_accessibility_module_init),
366 (gnome_accessibility_module_shutdown): impl.
367 (gtk_module_init): protect vs. double inits.
368 (add_signal_listener): impl.
369 (spi_atk_bridge_state_event_listener): kill
370 (deregister_application): split out of
371 (spi_atk_bridge_exit_func): here.
373 2002-01-18 Bill Haneman <bill.haneman@sun.com>
376 Added caret tracking when using magnifier, and
377 now use text bounds for focus tracking of text elements, rather than
378 the component bounds - this is helpful for short text fields in long
379 table cells, at high magnification.
381 2002-01-16 Bill Haneman <bill.haneman@sun.com>
383 * registryd/deviceeventcontroller.c:
384 Regression fix for keylistener de-registration; global keygrabs
385 were not being released when deregisterKeystrokeListener was
386 called in cspi, since
387 Accessibility_DeviceEventController_deregisterKeystrokeListener
388 was called with a zero-length keyset. That is because the cspi
389 method, SPI_deregisterKeystrokeListener, does not take a keyset
390 parameter but instead should remove all the key grabs held be a
392 The code in impl_deregister_keystroke_listener was changed to copy
393 the keylist from the listener instance previously registered with
394 the DeviceEventController before releasing the grabs.
396 * registryd/registry.c:
397 * registryd/deviceeventcontroller.c:
398 * libspi/spi-private.h:
400 Changed spelling of "re-enterant" to "re-entrant" globally.
402 2002-01-16 Bill Haneman <bill.haneman@sun.com>
404 * test/test-simple.c:
405 Changed key listeners test - the test was slightly mis-using the
406 (admittedly poorly documented) SPI_generateKeyboardEvent API.
407 It now uses '=' as the key event listened to and generated,
408 relying on a keysym match rather than assuming that keycode 33
409 is always equal to keysym '!'.
411 2002-01-15 Bill Haneman <bill.haneman@sun.com>
414 Changed simple-at to use a specific keyset, rather than
415 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
416 manager, desktop, etc.
418 2002-01-11 Bill Haneman <bill.haneman@sun.com>
420 * registryd/deviceeventcontroller.c:
421 Replaced standard X error handler with a special handler that
422 is non-fatal for failed keygrabs. This works around
423 problems with keygrab clashes sometimes observed on
425 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
426 mouse handling code as yet).
428 2002-01-11 Bill Haneman <bill.haneman@sun.com>
431 Incremented revision for desktop alpha release.
434 Fixed a couple of the more glaring errors (still not
437 2002-01-11 Michael Meeks <michael@ximian.com>
439 * registryd/deviceeventcontroller.c
440 (spi_device_event_controller_forward_key_event): kill
441 XUngrabKey / XKeyGrab race.
442 (spi_controller_grab_keyboard): rename to
443 (spi_controller_update_key_grabs): this, and deal
444 with incremental adding / removing grabs more
446 (_register_keygrab): ensure we're not pending a remove.
447 (spi_grab_mask_free): impl.
448 (spi_controller_register_global_keygrabs): split out
450 (handle_keygrab): impl.
451 (_deregister_keygrab): impl.
452 (spi_controller_deregister_global_keygrabs): impl.
453 (spi_controller_update_key_grabs): re-issue the grab if
454 we just recieved a notification.
456 * test/test-simple.c (key_listener_cb): remove debug.
458 * registryd/deviceeventcontroller.c
459 (spi_controller_register_device_listener): after
460 registering a global keygrab, actualy register it !
461 don't wait for a timeout; doh !
463 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
464 to make it more readable / manipulable.
465 s/grabmask/grab_mask/ s/refcount/ref_count/
466 s/keyval/key_val/ s/modmask/mod_mask
468 2002-01-08 Michael Meeks <michael@ximian.com>
470 * registryd/deviceeventcontroller.c
471 (spi_controller_register_with_devices): use gdk calls to
473 (global_filter_fn): implement the filter.
474 (spi_device_event_controller_check_key_event): rename to
475 (spi_device_event_controller_forward_key_event): this & upd.
476 (spi_get_display): replace with GDK_DISPLAY.
478 * registryd/deviceeventcontroller.c
479 (spi_controller_deregister_device_listener): unroll into
480 (impl_deregister_keystroke_listener): here to simplify.
481 (spi_controller_register_global_keygrabs): split cut and
482 paste (!) out into (_register_keygrab): here, shorter & sweeter.
483 (spi_controller_deregister_device_listener): remove.
484 (impl_register_mouse_listener): remove, no mouse listener
485 support in at-spi-1.0
487 * registryd/registry.c
488 (_device_event_controller_hook): kill.
489 (spi_registry_init): upd.
491 * registryd/deviceeventcontroller.c
492 (spi_device_event_controller_class_init): upd.
493 (spi_check_key_event): merge into.
494 (spi_device_event_controller_check_key_event):
495 here and kill strange static ev init, don't leak
496 the x_event - nor dynamicaly allocate it.
498 * registryd/registry-main.c (main): re-direct
499 timeout to remove strange vtable mess.
501 * registryd/deviceeventcontroller.c
502 (remove_listener_cb): impl.
503 (spi_controller_deregister_device_listener):
504 fix re-enterancy hazard.
506 2002-01-07 Michael Meeks <michael@ximian.com>
508 * registryd/deviceeventcontroller.c
509 (spi_device_event_controller_new): upd.
510 (impl_notify_listeners_sync): upd. debug.
511 (spi_notify_keylisteners): fix re-enterancy hazards,
512 prettify, remove O(n*n) iteration.
513 (spi_controller_grab_keyboard): fix iteration.
514 (spi_check_key_event): re-format to suit coding style.
515 Clean all the warnings - we're warning free.
517 * registryd/deviceeventcontroller.h:
518 * registryd/registry.h: make mutualy referential with
519 typesafe forward references instead of (!) void pointer
522 2002-01-11 Michael Meeks <michael@ximian.com>
524 * cspi/spi_accessible.c (role_names): add a role name
525 to sync this array with the enum; and make the regression
528 2002-01-10 Michael Meeks <michael@ximian.com>
530 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
531 allow expansion of enumeration & kill warning.
533 * test/test-simple.c (key_listener_cb): impl.
534 (test_keylisteners): impl.
536 * cspi/spi-listener.h: make listener signatures const
537 on the provided (const) events.
539 * test/keysynth-demo.c: upd. to const events.
541 * test/simple-at.c: ditto.
543 2002-01-11 Bill Haneman <bill.haneman@sun.com>
546 Rev the version to 0.5 (the previous tarball was named 0.4,
547 even though the micro number was 3), so we need to rev upwards
548 again for beta2/"desktop-alpha"
551 Checked in a demo script, which requires editing before use!
552 Proceed with caution.
555 Fixed typo in header which was redefining SPI_ACTION_CLASS.
557 * cspi/spi_accessible.c:
558 Add a couple of missing enum initializations, and fix some enum
561 * cspi/spi_registry.c:
562 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
564 * docs/reference/cspi/at-spi-cspi-sections.txt:
565 Remove/fix a couple of broken document references.
568 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
569 as Alt-Control to listen for commands, since on some systems
570 Control-Alt may already be grabbed.
572 2002-01-10 Bill Haneman <bill.haneman@sun.com>
575 Update version number to 0.4 for Beta2.
577 * libspi/accessible.c, libspi/accessible.h:
578 Expose spi_accessible_construct, to enable libgail-gnome
579 construction from spi_accessible subtype.
582 Workaround for bug in some non-gnome-compliant window managers
583 which made magnifier resize improperly.
585 2002-01-09 Bill Haneman <bill.haneman@sun.com>
587 * libspi/accessible.c: (spi_accessible_new) :
588 Move the test for SPI_IS_REMOTE_OBJECT to
589 spi_accessible_new_return, fixing a bug and compile time warning.
591 2002-01-08 Michael Meeks <michael@ximian.com>
593 * registryd/registry.c (parse_event_type): remove strndup.
595 * libspi/Makefile.am (libspi_la_SOURCES): remove
596 sources already included in the headers section.
598 * libspi/util.c: add.
600 * libspi/spi-private.h: add.
602 * registryd/registry.c: update to moved list iterators.
604 2002-01-05 Michael Meeks <michael@ximian.com>
606 * test/simple-at.c (main): upd. auto-module set to atk-bridge
608 * test/test-simple.c (main): ditto.
610 2002-01-04 Michael Meeks <michael@ximian.com>
612 * libspi/accessible.c (spi_accessible_new): remove 2nd,
615 * registryd/registry.c
616 (get_listener_list): impl.
617 (impl_accessibility_registry_register_global_event_listener):
618 re-impl. to simplify using ~, remove dodgy const cast off.
619 (parse_event_type): constify.
620 (impl_accessibility_registry_deregister_global_event_listener_all):
621 re-write, more efficiency and simplicity, kill re-enterancy
623 (compare_listener_corbaref, compare_corba_objects),
624 (compare_listener_quarks): define out.
625 (impl_accessibility_registry_deregister_global_event_listener):
626 re-write for effiency, and nail re-enterancy hazard.
627 (impl_accessibility_registry_get_desktop_list): impl.
628 (re_enterant_list_delete_link): impl.
629 (re_enterant_list_foreach): impl.
630 (remove_listener_cb): impl.
631 (_registry_notify_listeners): kill.
632 (notify_listeners_cb): impl.
634 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
635 (SPI_getDesktopList): impl.
637 * test/test-simple.c (test_desktop): test the methods.
639 2002-01-03 Michael Meeks <michael@ximian.com>
641 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
642 keystrings since we free them
643 (SPI_freeAccessibleKeySet): in here.
645 * libspi/accessible.c (spi_accessible_new): kill warning,
646 wonder what is going on with the constructor here.
648 2002-03-01 Bill Haneman <bill.haneman@sun.com>
650 * libspi/accessible.c (spi_accessible_new ()) :
651 Added check to see if AtkObject is an SpiRemoteObject before
652 creating an SpiAccessible.
654 2002-05-01 Bill Haneman <bill.haneman@sun.com>
656 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
657 Enable keygrabs using the Control modifier, now that they are
658 working properly (they were previously disabled).
661 Change the command keygrab for this demo to "Control+Alt", so as
662 to conflict with fewer other key commands on the system; this
663 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
665 Removed a pointlessly-chatty keylistener for unshifted keys
666 (shifted keys are still reported).
668 2002-02-01 Bill Haneman <bill.haneman@sun.com>
670 * libspi/remoteobject.h:
671 * libspi/remoteobject.c:
672 Added definitions for special AtkObject subtype, required for
673 support of remote components (specifically, used by BonoboControl
674 accessibility implementation).
676 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
678 * cspi/spi.h: synched relation types with ATK
680 * cspi/spi_accessible.c: Added implementations of
681 AcccessibleRelation_* methods
683 * idl/Accessibility_Relation.idl: added getRelationTypeName
684 method. Synched known relation types with ATK. Allowed for
685 relation type extension with the RELATION_EXTENDED type.
687 * libspi/relation.c: Provided implementations for
688 AccessibleRelation methods.
690 2002-01-01 Bill Haneman <bill.haneman@sun.com>
692 API tweaks for today's API 'freeze'.
695 Added placeholder functions to allow future compatible expansion
696 of the IDL interfaces.
698 * idl/Accessibility_Registry.idl:
699 Changed generateKeyEvent to generateKeyboardEvent. Changed
700 signature of this method to accept an optional keystring in
701 parameter (for complex text input synthesis) and changed use of
702 simple 'boolean' parameter in registerKeystrokeListener to a
703 struct, EventListenerMode.
705 * cspi/spi_accessible.c:
707 * cspi/spi_streamablecontent.c:
708 Added references to AccessibleStreamableContent interface, and
709 definition and implementation of AccessibleStreamableContent
712 * cspi/spi_registry.c:
714 Changed generateKeyEvent API to generateKeyboardEvent,
715 taking a new (optional) keystring parameter to support complex
720 Renamed directory (to better reflect its actual purpose, bridging
721 from at-spi to ATK). The .so module is also now named
724 * idl/Accessibility_Hypertext.idl:
725 * libspi/accessible.c:
726 * libspi/hypertext.h:
727 * libspi/hypertext.c:
728 Changed Accessibility_Hypertext to *not* derive from
731 * cspi/spi_registry.c:
732 Added list of legal event type names for 'window' events, which
733 completes the registry event API.
735 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
737 * at-bridge/bridge.c: Added registration for separate
738 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
739 signals. If either of the first two parameters to the generic
740 bridge signal handler are ints, they are passed on as event
741 details. This allows an AT to determine what text was inserted.
743 2001-12-21 Bill Haneman <bill.haneman@sun.com>
745 * registryd/deviceeventcontroller.c:
746 Fixed regressions in generateKeyEvent caused by the removal of
747 gdk_init from registryd; we now use pure X calls to connect to the
748 display, which makes sense because deviceeventcontroller already
749 uses a fair bit of X API (should eventually be migrated to a
750 'portability layer').
752 * registryd/desktop.c:
753 Fixed minor regression in spi_desktop_init, changed the way the
754 desktop name is being set to work with new spi_base API
755 (gobject-based, rather than AtkObject-based).
757 * registryd/Makefile.am:
758 Minor revision of makefile to use XTST_LIBS variable rather than
759 hard-wiring the Xtst LD_ADD element.
761 * test/keysynth-demo.c:
762 Tweaked an output message; added initialization of the
763 'keystrings' member of the "switch listener" key_set.
766 Squashed compile-time warning.
768 * libspi/accessible.c:
769 Cosmetic and formatting fixes, renamed a static method.
771 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
773 * libspi/accessible.c
775 * libspi/application.c
779 * libspi/editabletext.c
787 * registryd/desktop.c:
788 Changed SpiBase to contain a GObject pointer rather than an AtkObject
790 2001-12-17 Bill Haneman <bill.haneman@sun.com>
792 * idl/Accessibility_Registry.idl:
793 Added boolean member 'is_text' to DeviceEvent. This is for the
794 use of key events, and helps prevent ambiguity between composed
795 key strings and keysym names, since both may potentially be
796 returned in the 'event_string' member.
798 * at-bridge/bridge.c:
799 * registryd/deviceeventcontroller.c:
800 Use the 'is_text' member when notifying device event listeners.
801 Knon issue: composed characters are not dealt with correctly by
802 the global key listener implementation yet.
804 2001-12-17 Bill Haneman <bill.haneman@sun.com>
806 * at-bridge/bridge.c:
807 Namespaced local static methods to spi_atk_bridge_* where
808 previously named bridge_*, and spi_* elsewhere.
810 * at-bridge/bridge.c:
811 * cspi/bonobo/cspi-bonobo-listener.c:
812 Added demarshalling/conversion for string member of
813 Accessibility_DeviceEvent to AccessibleKeystroke.
815 * registryd/deviceeventcontroller.c:
816 Added code to fill the Accessibility_DeviceEvent key string value
817 member for global key events (i.e. from XGrabKey), to match
818 behavior of Accessibility_DeviceEvent from the toolkit key events
819 from the bridge. Fixed timestamp in global key event notifications.
822 Added printout of key event's string value to
823 report_ordinary_key_event, for demo/debugging purposes.
825 2001-12-15 Bill Haneman <bill.haneman@sun.com>
827 * idl/Accessibility_Registry.idl:
828 Removed Accessibility_KeyStroke structure in favor of generic
829 Accessibility_DeviceEvent structure.
830 Changed Accessibility_ControllerEventMask from a struct to an
833 * at-bridge/bridge.c:
834 Changed APIs to use DeviceEvent structure as above, and removed
835 bogus casting between these event structures.
837 * cspi/spi-listener.h:
838 Added keystring member of AccessibleKeystroke structure, to enable
839 matching on event "names" rather than only hardware codes and
843 Added keystrings member of AccessibleKeySet struct, to allow
844 matching on event names (as above).
845 Added declarations for SPI_createAccessibleKeySet and
846 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
847 event modmasks directly as unsigned ints rather than structs with
848 refcounts, in the DeviceEventController methods.
850 * cspi/spi_registry.c:
851 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
853 * cspi/spi-roletypes.h:
854 Added documentation of newly added SPI Roles.
856 * cspi/bonobo/cspi-bonobo-listener.c:
857 Changes in support of API changes above.
859 * libspi/accessible.c:
860 Converted APIs to use DeviceEvent structure (see IDL changes
863 * registryd/deviceeventcontroller.c:
864 Added DEControllerGrabMask structure to track keygrabs not only by
865 modmask but by keyset as well; this allows us to do "global"
866 (i.e. X) keygrabs on a per-key or keyset basis rather than always
867 grabbing on AnyKey and then filtering after-the-fact.
868 Bugfixes for event filtration mean that we don't get false matches
869 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
871 * registryd/deviceeventcontroller.c:
872 Namespaced a number of static methods to use spi_ prefix. Major
873 revision to internals of global (i.e. X) key grabs.
875 * registryd/deviceeventcontroller.h:
876 Removed keymask_list and added keygrabs_list to
877 SpiDeviceEventController struct.
880 Added use of SPI_createAccessibleKeySet API when creating a
881 listener for only one key. Attach a listener to "shift spacebar
882 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
883 X key event names to SPI key event names, so that listeners are
884 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
886 * test/keysynth-demo.c:
887 Changed (incorrect) use of X key event names (KeyPressed,
888 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
891 2001-12-12 Bill Haneman <bill.haneman@sun.com>
893 * libspi/accessible.c:
894 Convert all AtkRole enumerations to Accessibility_Role enums when
895 getting a role from an AtkObject.
897 * cspi/spi_accessible.c:
898 Complete the conversion of Accessibility_Role enums at runtime to
899 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
900 role enums correctly match those given in spi-roletypes.h.
901 Re-synchronize the local names list for AccessibleRole_getName ().
902 AccessibleRole_getName is now deprecated, since it duplicates the
903 more reliable Accessible_getRoleName.
904 Added some role types from Accessibility_Role.idl.
906 * idl/Accessibility_Role.idl:
907 Added some role types used by AtkRole.
909 2001-12-12 Bill Haneman <bill.haneman@sun.com>
912 * cspi/spi_registry.c:
914 * cspi/cspi-bonobo-listener.c:
915 Namespaced all methods that did not begin with an "SPI_" or
916 "Accessible" prefix to "SPI_".
919 Homogenized internal function namespace to "cspi_" for statics.
922 Patched tests to use the new CSPI API.
924 * docs/reference/cspi/at-spi-cspi-sections.txt:
925 Updated docs to reflect namespace changes, and added a number of
926 methods to the documentation.
928 * registryd/registry.c:
929 Changed use of strings and string hashes in listener event
930 matching and parse_event_string to use GQuark, which is guaranteed
933 * registryd/registry.h:
934 Squashed annoying warning.
936 * idl/Accessibility_Role.idl:
937 Extended range of available Accessibility_Role values.
939 * cspi/spi_accessible.c:
940 Re-ordered role names.
942 2001-12-12 Bill Haneman <bill.haneman@sun.com>
944 * idl/Accessibility_Value.idl:
945 Revert use of union back to CORBA_double, since the double type is
946 more efficient and can contain the other types without loss of
949 * idl/Accessibility_Accessible.idl:
950 Added method Accessibility:Accessible:getRoleName, to complement
951 Accessibility:Accessible:getRole.
953 * cspi/spi_accessible.c:
955 Added C binding for above, Accessible_getRoleName (), and changed
956 signature of Accessible_getRole () to return an AccessibleRole.
958 * cspi/spi-roletypes.h:
959 Changed AccessibleRole_getName to return a char * instead of a
960 const char *. This method is now at least temporarily deprecated
961 in favor of asking Accessibles for their RoleNames directly.
964 Revert to match Accessibility_Value.idl;
968 Change signature of AccessibleValue methods to use double rather
972 * cspi/spi_accessible.c:
973 Changed Accessible_getRole to return an AccessibleRole enum rather
974 than a UTF-8 string. The UTF-8 string can still be obtained via
975 AccessibleRole_getName ().
977 * test/test-simple.c:
978 Add test_action. Small fixup to match API change to Accessible_getRole.
981 Bugfix for get_action_from_servant ().
983 2001-12-11 Michael Meeks <michael@ximian.com>
985 * libspi/libspi.h: remove registry.h and
986 desktop.h, deviceeventcontroller.h
988 * libspi/Makefile.am: remove registry.[ch],
989 desktop.[ch], deviceeventcontroller.[ch]
991 * registryd/Makefile.am: add registry.[ch],
992 desktop.[ch], rename registryd.c to registry-main.c.
993 add deviceeventcontroller.[ch]
995 2001-12-11 Bill Haneman <bill.haneman@sun.com>
998 Replace setenv() call with putenv ().
1000 * libspi/component.c:
1001 Bugfix in AccessibleComponent_getExtents (),
1004 2001-12-11 Michael Meeks <michael@ximian.com>
1006 * libspi/image.c (impl_getImageExtents): impl.
1007 (spi_image_class_init): upd.
1010 (AccessibleImage_getImageDescription): fix daft bug
1013 * test/test-simple.c (global_listener_cb): update
1014 to only quit if not --poke
1015 (main): catch --poke.
1016 (validate_accessible): upd. dumping, call test_image
1019 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1022 * idl/Accessibility.idl: update all IDL includes.
1024 * idl/*.idl - rename to namespace - this sucks, blame
1025 mjs' bad decision for oafd.
1027 * test/test-simple.c (create_test_window): add more tests.
1028 (create_tree): split this out.
1029 (validate_accessible): bugfix.
1031 2001-12-11 Michael Meeks <michael@ximian.com>
1033 * cspi/bonobo/cspi-bonobo-listener.c:
1034 (cspi_kestroke_listener_unref),
1035 (cspi_event_listener_unref): impl. undoing previous
1036 homenous environment - for Bill.
1038 * cspi/spi_table.c (long_seq_to_array): use
1041 * cspi/spi_main.c: split out all bonoboish bits into
1044 * cspi/spi-impl.h: upd. typedefs.
1046 * cspi/spi_registry.c: update to lowlevel API,
1047 return booleans to indicate success in some places.
1049 * cspi/spi_event.c: update to lowlevel API.
1051 * cspi/bonobo/Makefile.am: add.
1053 * cspi/bonobo/cspi-lowlevel.h: add
1055 * cspi/bonobo/cspi-bonobo.c: add
1057 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1059 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1060 (SUBDIRS): add bonobo, link in the libs.
1062 * cspi/spi-util.c: kill this file.
1064 * TODO: merge in my bits.
1066 2001-12-11 Michael Meeks <michael@ximian.com>
1068 * test/test-simple.c (test_value, test_table, main):
1069 remove unused variables causing warnings.
1071 * configure.in: cleanup checks - require gail.
1073 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1076 Changed Value interface to use SValue (scalars) rather than
1077 assuming all values are floats. This allows floats, doubles,
1078 longs, shorts, and unsigned values to be manipulated.
1079 Introduced Accessibility:SValue union.
1082 Updated to use new API above, and to work correctly with GValues
1083 of different types in AtkValue.
1086 Updated to use new API above. cspi's API is as yet unchanged.
1089 Updated the Value revision action item.
1091 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1093 * test/test-simple.c:
1094 Added test_table (GtkTreeView widget in test window to follow).
1095 Un-commented test_value, added GtkRange widget.
1096 Added GtkTreeView widget with GtkListStore. It passes regression
1097 test but leaks one SPI object for some reason.
1100 Fixed bug in impl__set_currentValue.
1102 2001-12-10 Michael Meeks <michael@ximian.com>
1104 * cspi/spi_text.c: audit for exception handling,
1105 tolerating NULL object references safely etc.
1107 * cspi/spi_value.c: ditto.
1109 * cspi/spi_table.c (AccessibleTable_getSummary),
1110 (AccessibleTable_getAccessibleAt),
1111 (AccessibleTable_getRowHeader),
1112 (AccessibleTable_getColumnHeader),
1113 (AccessibleTable_getCaption): fix bugs hidden by
1115 (long_seq_to_array): impl.
1116 (AccessibleTable_getSelectedRows),
1117 (AccessibleTable_getSelectedColumns): use it.
1119 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1122 Added a TODO list (rough and short for now).
1124 * cspi/spi_hyperlink.c:
1125 * cspi/spi_hypertext.c:
1126 Fixed macro name typos, and remove use of obsolete macro in
1127 AccessibleHyperlink_getLink.
1129 * cspi/spi_action.c:
1130 * cspi/spi_accessible.c:
1131 * cspi/spi_application.c:
1132 * cspi/spi_component.c:
1133 * cspi/spi_selection.c:
1136 Documentation fixes (removed return values from ref/unref methods).
1138 2001-12-10 Michael Meeks <michael@ximian.com>
1140 * cspi/spi_action.c: audit for exception handling,
1141 tolerating NULL object references safely etc.
1143 * cspi/spi_accessible.c: ditto.
1145 * cspi/spi_component.c: ditto.
1147 * cspi/spi_editabletext.c: ditto.
1149 * cspi/spi_hyperlink.c: ditto.
1151 * cspi/spi_hypertext.c: ditto.
1153 * cspi/spi_image.c: ditto.
1155 * cspi/spi_selection.c: ditto.
1157 2001-12-10 Michael Meeks <michael@ximian.com>
1159 * configure.in: use cspi/libspi.pc.in instead.
1161 * Makefile.am (pkgconfig_DATA): upd. to match.
1163 * test/simple-at.c (report_focus_event): kill hacks around
1164 bad return values, use putenv not setenv
1166 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
1167 fire ChildGone - I killed it.
1169 * libspi/component.c
1170 (impl_accessibility_component_get_extents): remove
1173 * idl/Accessible.idl: kill ChildGone exception.
1175 * cspi/*.[ch]: kill int return from ref / unref.
1177 * cspi/spi_main.c (cspi_object_add_check): fold into
1178 (cspi_object_add): here.
1180 * cspi/spi_component.c (AccessibleComponent_getExtents):
1181 handle exceptions elegantly.
1183 * cspi/spi-private.h (cspi_check_ev_return),
1184 (cspi_return_if_fail): impl.
1186 * cspi/spi_accessible.c: use extensively.
1187 (AccessibleStateSet_equals): add direct compare check.
1189 * cspi/spi_selection.c: tolerate NULL objs, and check
1190 exceptions before return.
1192 * cspi/spi-util.c (cspi_warn_ev): rename to
1193 (cspi_check_ev): this & don't pass ev in; no point.
1195 2001-12-10 Michael Meeks <michael@ximian.com>
1197 * test/test-simple.c: use putenv not setenv
1198 (get_environment_vars): more chatty if you're not using
1201 * test/simple-at.c: do the setenv so more people see the
1204 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1206 * libspi/registry.c:
1207 Changed check of CORBA_environment on notification to be a warning
1208 instead of an error for the moment, since we can recover from this
1209 error when caused by a queued notification from a dead app.
1212 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
1213 used by all current implementors of AtkValue), and coerce to
1214 CORBA_float. (Proper general case fix may require change to Value.idl).
1216 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1220 * cspi/spi_accessible.c:
1221 Documentation fixes: added user_data params to documentation for
1222 listeners and callbacks.
1224 * cspi/spi_accessible.c:
1225 Changed AccessibleStateSet_compare to return a
1226 StateSet rather than return the difference set into a third parameter.
1229 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1232 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
1233 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
1237 Remove subdirectory po from SUBDIRS for now.
1239 * at-bridge/bridge.c:
1240 Beefed up a couple of debug printouts.
1241 One-line fix for signal notification name formatting.
1243 * libspi/accessible.c:
1244 Added assertion to spi_accessible_new ().
1246 * libspi/application.c:
1247 Put #ifdef qualifiers around a printf.
1250 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
1252 * registryd/Makefile.am:
1254 Replaces use of XML_I18N_MERGE_SERVER_RULE with
1255 INTLTOOL_SERVER_RULE macro.
1258 Added an event listener for several ATK signals, for
1259 testing and debugging. Removed a few g_warnings.
1260 Added test output if focussed item implements the Value interface.
1262 * test/test-simple.c:
1263 Added test_value () function (known not to pass at the moment, so
1264 not actually called yet.
1266 2001-12-08 Michael Meeks <michael@ximian.com>
1268 * at-bridge/bridge.c (bridge_focus_tracker),
1269 (emit_eventv): fix the same ref. leak.
1270 (register_atk_event_listeners): don't leak.
1272 * cspi/spi-listener-impl.c (cspi_event): more
1273 protection from client code.
1275 * test/test-simple.c (test_desktop): unref the app.
1277 * test/Makefile.am: upd. TESTS.
1279 * at-bridge/bridge.c (bridge_exit_func): release the registry.
1281 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
1283 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
1285 * cspi/spi_registry.c: constify in strings.
1286 (deregisterGlobalEventListenerAll): don't release the ref.
1288 * cspi/spi.h: start removing redundant / conflicting
1289 gtkdoc comments, making the API readable at a glance :-)
1291 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
1293 * test/keysynth-demo.c (keysynth_exit, main): upd.
1295 * test/simple-at.c (main, simple_at_exit): upd.
1297 * test/test-simple.c (unutterable_horror): kill.
1298 (utterable_normal_derefs): kill.
1299 (main): upd & do a setenv before gtk_init, so that we
1300 can use memprof - and to save the pain of remembering
1301 this, if we're running under memprof - don't exit.
1303 * cspi/spi_main.c (SPI_exit): return exit status
1305 (SPI_event_quit): impl.
1306 (SPI_event_main): simplify.
1307 (cspi_is_gnome_app): kill.
1308 (SPI_init): kill isGNOMEapp arg.
1310 * at-bridge/bridge.c (register_atk_event_listeners):
1311 re-instate the unref.
1312 (bridge_exit_func): don't re-activate the registry,
1313 protect vs. theoretical re-entry, use the
1314 AT_BRIDGE_SHUTDOWN env. var to determine whether to
1315 assert a clean shutdown - for regression tests.
1317 2001-12-08 Abel Cheung <maddog@linux.org.hk>
1319 * configure.in: Comment out dummy i18n support for now,
1320 otherwise it fails to build.
1321 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
1322 EXTRA_DIST. They are missing in tarball.
1324 2001-12-07 Michael Meeks <michael@ximian.com>
1326 * util/magnifier.c: kill bonobo activation reg. race.
1328 * libspi/component.c
1329 (impl_accessibility_component_get_extents): make it match
1332 * libspi/registry.c (_registry_notify_listeners):
1333 re-remove X headers & reconcile conflicts.
1334 (spi_listener_struct_free): bad conflict resolve.
1335 (impl_accessibility_registry_register_application):
1336 more bad merging fixed.
1337 (impl_accessibility_registry_deregister_application): ditto.
1338 (spi_registry_new): ditto.
1339 (spi_registry_init): don't have an applications field.
1341 [ merge fixups2 branch to here ]
1342 2001-12-07 Michael Meeks <michael@ximian.com>
1344 * test/simple-at.c (report_focus_event),
1345 (report_focussed_accessible): remove g_warning debug.
1347 2001-12-07 Michael Meeks <michael@ximian.com>
1349 * test/test-simple.c (validate_tree): comment out some checks.
1350 (test_desktop): app now not registered idly - horay.
1352 2001-12-07 Michael Meeks <michael@ximian.com>
1354 * cspi/spi_registry.c
1355 (registerAccessibleKeystrokeListener): clean, stop it leaking
1356 great swathes of memory, and device event controller references.
1357 ensure we always pass valid sequences.
1358 (deregisterAccessibleKeystrokeListener): ditto.
1359 (generateKeyEvent): upd.
1361 * at-bridge/bridge.c (bridge_key_listener): handle
1362 registry dead exception gracefully.
1363 (bridge_focus_tracker, emit_eventv): free ev.
1365 * test/simple-at.c (report_focus_event): fix polarity.
1367 * libspi/application.c (notify_listeners): kill the ev
1368 argument, and make sure we init the ev we use.
1369 (spi_application_object_event_listener): split out a chunk
1370 (get_atk_object_ref): here & fixup.
1371 (reverse_lookup_name_for_toolkit_event): make const.
1372 (spi_application_toolkit_event_listener): fixup, kill leaks
1375 * at-bridge/bridge.c (register_atk_event_listeners):
1376 don't unref the noop object - causes grief.
1378 * libspi/registry.c: remove the X headers.
1379 turn off the debug churn.
1381 * libspi/accessible.c (spi_accessible_new_return): only
1382 release the ref if we are supposed to [doh]
1384 * test/simple-at.c (report_button_press, report_focus_event):
1385 guard vs. unexpected exit.
1387 * at-bridge/bridge.c (gtk_module_init): prune printf.
1388 (bridge_exit_func): fix app unref.
1390 * libspi/Makefile.am: don't install registry or desktop.h
1392 * libspi/*.h: update includes.
1394 * libspi/application.h: don't include ourself, or
1395 other redundant headers.
1397 2001-12-06 Michael Meeks <michael@ximian.com>
1399 * libspi/accessible.c
1400 (get_accessible_from_servant): impl.
1401 Upd. all CORBA impl.s to use it killing cut and paste.
1403 * cspi/spi_main.c (cspi_cleanup): guard vs. double
1405 (SPI_init): register atexit cleanup handler here.
1407 2001-12-06 Michael Meeks <michael@ximian.com>
1409 * at-bridge/bridge.c (gtk_module_init): g_error on
1410 activation exception
1412 2001-12-06 Michael Meeks <michael@ximian.com>
1414 * at-bridge/bridge.c (gtk_module_init): some sort of
1415 confusing merge clash - reverted.
1416 (bridge_idle_init): ditto.
1418 * test/test-simple.c (main, utterable_normal_derefs):
1419 merge from Bill - somehow not committed.
1421 2001-12-06 Michael Meeks <michael@ximian.com>
1423 * libspi/value.c (spi_value_class_init): upd.
1424 (spi_value_finalize): kill.
1426 * libspi/table.c (spi_table_finalize): kill.
1427 (spi_table_interface_new): upd.
1428 (spi_table_class_init): upd.
1429 (get_table_from_servant): impl.
1430 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1432 * libspi/selection.c (spi_selection_finalize): kill.
1433 (spi_selection_interface_new): upd.
1434 (spi_selection_class_init): upd.
1435 (get_selection_from_servant): impl.
1436 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1438 * libspi/relation.c (spi_relation_finalize): kill.
1439 (spi_relation_class_init, spi_relation_new): upd
1441 * libspi/image.c (spi_image_finalize): kill.
1442 (spi_image_class_init): upd.
1443 (spi_image_interface_new): upd.
1444 (get_image_from_servant): impl.
1445 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1447 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
1448 (spi_hyperlink_finalize): kill.
1449 (spi_hyperlink_new): upd.
1450 (get_hyperlink_from_servant): impl.
1451 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1453 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
1454 (spi_hypertext_finalize): kill.
1455 (spi_hypertext_class_init): upd.
1456 (get_hypertext_from_servant): impl.
1457 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1459 * libspi/editabletext.c (spi_editable_text_finalize): kill.
1460 (spi_editable_text_interface_new): upd.
1461 (get_editable_text_from_servant): impl.
1462 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1464 * libspi/text.c (get_text_from_servant): impl.
1465 All impls - update to use it killing more cut and paste,
1466 also fix bad string returns on duff args ( a somewhat
1467 impossible case to handle - but hey ).
1468 (spi_text_construct): impl.
1469 (spi_text_interface_new): upd.
1470 (spi_text_object_finalize): kill.
1472 * libspi/component.c
1473 (accessibility_component_object_finalize): kill.
1474 (spi_component_class_init): upd.
1475 (get_component_from_servant): impl. helper to kill cut & paste.
1476 (impl_accessibility_component_contains):
1477 (impl_accessibility_component_get_accessible_at_point):
1478 (impl_accessibility_component_get_position):
1479 (impl_accessibility_component_get_extents):
1480 (impl_accessibility_component_get_mdi_z_order):
1481 (impl_accessibility_component_get_layer):
1482 (spi_component_interface_new): upd.
1484 * libspi/action.c (spi_action_finalize): kill.
1485 (spi_action_class_init): upd. inherit from SpiObject.
1486 (spi_action_interface_new): upd.
1487 (get_action_from_servant): impl. helper to reduce cut & paste.
1488 (impl_getKeyBinding, impl_getName, impl_doAction),
1489 (impl_getDescription): Use it everywhere.
1491 * cspi/spi_main.c (get_live_refs): a pointer hash.
1492 (spi_object_hash, spi_object_equal): comment out.
1493 There are issues with CORBA object hashing that need
1496 * libspi/application.c (spi_application_init),
1497 (spi_application_new): upd.
1499 * libspi/accessible.c (spi_accessible_object_finalize): kill.
1500 (spi_accessible_class_init): upd.
1501 s/accessible/object/ in epv methods.
1503 2001-12-05 Bill Haneman <bill.haneman@sun.com>
1505 * at-bridge/bridge.c:
1506 Reorder the bridge initialization into the bridge gtk_module_init,
1507 an immediate call to bridge_register_app, and an idle_add for
1508 register_atk_event_listeners (the only code that *must* wait until
1509 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
1510 the activation, creates the application's Accessible object, and
1511 queues the bridge_idle_init function. Restored call to
1512 Accessibility_Registry_deregisterApplication().
1513 Prior to making this call we obtain a new reference to the
1514 registry, which is a temporary hack that helps us handle apps that
1515 shut down the bonobo mainloop before we get there.
1517 * libspi/registry.c:
1518 Fix string leakage in debug block, and don't segv if a an app
1519 dies before its event notifications have been propagated.
1522 Modify cspi_check_ev() to call g_warning() rather than g_error(),
1523 as stopgap measure until we get proper exception handling when
1524 objects die during or before interrogation.
1528 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
1529 Also changed default value of is_gnome_app to TRUE.
1532 * test/keysynth-demo.c:
1533 Changed use of SPI_init and SPI_event_main to reflect API change above.
1536 Made report_focus_event check the warning value from getName
1537 before reporting on focussed accessible; simplifies handling of
1538 notifications from dead objects.
1540 * test/test-simple.c: (Changes not in this patch since source is
1543 2001-12-05 Michael Meeks <michael@ximian.com>
1545 * registryd/registryd.c (main): protect against
1546 bonobo-activation startup race condition.
1548 * cspi/spi_main.c (cspi_object_add_check): cope
1549 with the exception elegantly.
1551 * idl/Accessible.idl: decl. ChildGone
1553 * libspi/desktop.c (spi_desktop_dispose): impl.
1554 (spi_desktop_class_init): upd.
1555 (spi_desktop_add_application),
1556 (spi_desktop_remove_application),
1557 (abnormal_application_termination): impl.
1558 (impl_desktop_get_child_at_index): re-impl.
1561 (impl_accessibility_registry_deregister_application),
1562 (impl_accessibility_registry_register_application):
1563 kill excessive debug clutter.
1565 * test/test-simple.c (test_misc): test some NULL
1566 tolerance. (main): upd.
1568 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
1569 implements no interfaces - so let's not crash.
1571 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
1573 * libspi/accessible.c (spi_accessible_new_return): impl.
1574 helper to calm the cut and paste, to cope with
1575 NULL AtkObjects effectively and efficiently, and to kill
1576 the referencing bugs.
1578 * libspi/table.c (impl_getAccessibleAt),
1579 (impl_getRowHeader, impl_getColumnHeader): upd.
1581 * libspi/hyperlink.c (impl_getObject): upd.
1583 * libspi/accessible.c
1584 (impl_accessibility_accessible_get_child_at_index): upd.
1586 * libspi/component.c
1587 (impl_accessibility_component_get_accessible_at_point): upd.
1589 * test/test-simple.c (test_editable_text, test_text): impl.
1592 * cspi/spi_editabletext.c
1593 (AccessibleEditableText_insertText): constify.
1595 * test/test-simple.c (focus_me): make more robust.
1597 * libspi/accessible.c: remove some printfs in methods that
1598 we test and work fine, so we can get a clean tree dump.
1600 * test/test-simple.c (validate_accessible),
1601 (validate_tree): make tree dumping pretty too.
1603 * at-bridge/bridge.c (bridge_signal_listener): upd. so
1604 it builds without debug on.
1606 * test/test-simple.c (validate_accessible): fix the most
1609 * cspi/spi_main.c (spi_object_release): leave the nicely
1610 blanked memory around if in debug mode.
1612 * cspi/spi-listener-impl.c (cspi_event): use add_check.
1614 [committed to fixups2]
1615 2001-12-05 Michael Meeks <michael@ximian.com>
1617 * libspi/editabletext.c
1618 (spi_editable_text_class_init): g_type_class_peek_parent,
1619 not interface peek - so we finalize cleanly.
1621 * libspi/accessible.c (spi_accessible_new): kill debug.
1623 * test/test-simple.c (validate_accessible): fix ref.
1624 leak, print strings before freeing them; sigh, comment a
1625 chunk out due to strangeness.
1626 (validate_tree): unref the child after use.
1628 * cspi/spi_component.c (AccessibleComponent_getLayer):
1629 add missing break statement, switch on zlayer not the
1630 uninitialized retval.
1632 * cspi/spi_main.c (cspi_object_add): add assert, local ref
1633 before (possibly re-entering) remote unref.
1635 * test/simple-at.c (main): unref the desktop.
1637 * cspi/spi_accessible.c (cspi_accessible_is_a): move
1640 * cspi/spi_main.c (cspi_accessible_is_a): here to
1641 isolate bonobo API usage more.
1643 * libspi/registry.c (impl_accessibility_registry_register_application):
1644 prune bogus comment.
1646 2001-12-04 Michael Meeks <michael@ximian.com>
1648 * test/test-simple.c (validate_tree): upd.
1649 IndexInParent check to make it more lucid.
1650 (validate_accessible): dump the tree.
1652 * libspi/accessible.c (de_register_public_ref),
1653 (get_public_refs): impl.
1654 (spi_accessible_new): make more efficient & intuitive.
1655 Now IndexInParent check works.
1657 2001-12-04 Michael Meeks <michael@ximian.com>
1659 * cspi/spi-util.h: remove.
1661 * cspi/spi.h: move SPI_freeString here
1663 * libspi/component.c (impl_accessibility_component_get_layer):
1665 (impl_accessibility_component_get_mdi_z_order): ditto,
1666 return -1 on error - is this ok ?
1668 * test/test-simple.c (test_application): impl.
1670 * cspi/spi_accessible.c (Accessible_getApplication),
1671 (Accessible_isApplication): impl.
1673 * libspi/registry.c (spi_listener_struct_free): release
1674 the CORBA reference too.
1676 * libspi/accessible.c
1677 (impl_accessibility_accessible_get_parent): fix ref leak.
1679 * libspi/registry.c (spi_registry_new): make the registry
1680 immortal - we don't want it to go away ever.
1682 * libspi/application.c
1683 (spi_accessible_application_finalize): impl. cleanup.
1685 * cspi/spi_registry.c
1686 (deregisterGlobalEventListenerAll),
1687 (deregisterGlobalEventListener),
1688 (deregisterAccessibleKeystrokeListener): fix ref leak.
1690 * cspi/spi_main.c (SPI_init): remove redundant ref.
1692 * test/test-simple.c (unutterable_horror): impl. to force a
1697 (impl_accessibility_registry_deregister_application): release
1698 the application when we de-register it.
1700 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1701 until we have the infastructure to get it right.
1703 2001-12-03 Michael Meeks <michael@ximian.com>
1705 * libspi/Makefile.am: only build eventlistener.[ch]
1707 * libspi/accessible.c
1708 (impl_accessibility_accessible_get_child_at_index): don't leak.
1710 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1711 before we hit the idle handler.
1713 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1714 debugging than exit.
1716 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1718 * libspi/listener.c (impl_notify_event): check source
1719 not NIL before unref.
1721 * libspi/registry.c (impl_registry_notify_event): ditto.
1723 * libspi/eventlistener.c
1724 (impl_accessible_event_notify_event): unref the source.
1726 * libspi/accessibleeventlistener.c
1727 (impl_accessible_event_notify_event): unref the source.
1729 * idl/Event.idl: remove 'hash_id' attribute - of no
1732 * libspi/application.c (notify_listeners): upd list
1734 (spi_application_object_event_listener),
1735 (spi_application_toolkit_event_listener): upd to do correct
1739 (_registry_notify_listeners): update.
1740 (parse_event_type): this method also leaks like a sieve.
1741 (impl_accessibility_registry_deregister_global_event_listener):
1742 fix ETYPE_WINDOW case.
1744 * libspi/application.c
1745 (impl_accessibility_application_register_object_event_listener):
1748 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1750 * libspi/hypertext.c (impl_getLink): ditto.
1752 * cspi/spi_main.c (cspi_object_add): remove
1753 bogus CORBA_Object_duplicate.
1755 * cspi/spi-listener-impl.c (cspi_event): dup/ref
1758 * cspi/spi_accessible.c
1759 (Accessible_getRelationSet): fix leak / referencing issue.
1761 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1762 (cspi_object_add, cspi_object_unref): upd.
1763 (spi_object_release, get_live_refs): impl.
1764 (cspi_cleanup): simplify.
1766 * *.[ch]: s/boolean/SpiBoolean/
1768 * cspi/spi_accessible.c (role_names): actualy order so it
1769 corresponds with the enum !
1771 * test/test-simple.c (test_roles): check some role strings
1772 vs. enums to detect offset errors.
1774 2001-12-01 Michael Meeks <michael@ximian.com>
1776 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1778 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1780 (Accessible_getChildAtIndex): use cspi_add_check so we
1781 check the ev before using a (possibly) invalid value.
1783 * libspi/accessible.c
1784 (impl_accessibility_accessible_get_parent): don't segv
1787 * at-bridge/bridge.c (gtk_module_init): upd.
1788 (bridge_property_event_listener): don't leak strings
1790 (bridge_state_event_listener),
1791 (bridge_property_event_listener): don't use a static
1792 buffer in case of recursive event emission &
1793 re-enterancy - split out the swathe of cut and paste
1795 (emit_eventv): and fix 2 ref leaks here & comply to the
1797 (bridge_register_app): rename to
1798 (bridge_idle_init): this and kill arg parsing, split
1799 various inits & bonobo-activation registration to module
1800 init time, kill referencing error.
1801 (bridge_exit_func): fix the same leak.
1802 (bridge_focus_tracker): don't leak event structures
1804 (bridge_signal_listener): more leakage and cut & paste
1806 (bridge_key_listener): return the result - FIXME is
1807 this polarity correct ?
1808 (accessibility_keystroke_from_atk_key_event): rename
1809 (accessibility_init_keystroke_from_atk_key_event): and stop
1811 (gtk_module_init): return a value - not that it is checked by
1813 (bridge_key_listener): register my horror at casting between
1814 IDL defined structs.
1815 (bridge_get_registry): kill - not used.
1817 * cspi/spi_accessible.c (Accessible_getRole): make return const.
1819 * test/test-simple.c (test_roles): impl.
1820 (test_desktop, validate_accessible, validate_tree): impl.
1822 * cspi/spi_accessible.c (role_names): fixup bogus
1823 MAX_ROLES setup, make constants const for efficient linkage
1824 (AccessibleRole_getName): conform to coding style, make
1827 2001-11-30 Michael Meeks <michael@ximian.com>
1829 * cspi/spi.h: add missing prototype.
1831 * libspi/registry.c (spi_listener_struct_new): fix sig.
1833 * test/Makefile.am: add test-simple
1835 * test/test-simple.c: add
1837 * test/test.sh: add.
1839 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1841 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1842 do it straight - since otherwise we often get an activation race.
1844 [ work before Bill duplicated a chunk of it ... ]
1845 2001-11-30 Michael Meeks <michael@ximian.com>
1847 * libspi/keystrokelistener.c
1848 (spi_keystroke_listener_class_init): fixup arg
1851 * libspi/eventlistener.c
1852 (spi_event_listener_class_init): ditto.
1854 * tests/test.sh: add.
1856 * cspi/spi-listener-impl.h: update macros.
1858 * cspi/spi-listener-impl.c
1859 (cspi_event_listener_remove_callback): add
1860 correct pre-conditions.
1862 * cspi/spi_main.c (SPI_exit): guard vs. double
1863 exits, exit the mainloop nicely.
1864 (SPI_event_main): make more sense.
1865 (SPI_init): move the atexit evilness here so we
1866 always do it (yuck).
1867 (SPI_event_main): upd.
1869 * test/simple-at.c: update for listener changes.
1871 * registryd/registryd.c (main): prune kruft.
1873 * libspi/libspi.h: upd.
1875 * libspi/eventlistener.[ch]: rename broken macros.
1877 * libspi/accessibleeventlistener.[ch]: remove.
1879 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
1881 * test/test-simple.c: Add - automated tests.
1883 * cspi/spi-listener-impl.c (cspi_event),
1884 (cspi_key_event): add user_data to invoke.
1885 (cspi_keystroke_listener_finalize): impl.
1886 (cspi_keystroke_listener_class_init): upd.
1889 (createAccessibleEventListener),
1890 (AccessibleEventListener_addCallback),
1891 (createAccessibleKeystrokeListener),
1892 (AccessibleKeystrokeListener_addCallback): upd.
1894 * libspi/deviceeventcontroller.c
1895 (spi_device_event_controller_check_key_event): add public proto.
1898 (impl_accessibility_registry_deregister_global_event_listener):
1899 always init listeners.
1900 (_registry_notify_listeners): yes it is.
1902 * cspi/spi-listener-impl.c (cspi_key_event):
1904 (cspi_event_listener_finalize): impl.
1905 (cspi_event_listener_class_init): hook up.
1906 (event_handler_new, event_handler_free),
1907 (event_list_remove_by_callback): impl.
1908 (cspi_event_listener_remove_callback),
1909 (cspi_keystroke_listener_remove_callback),
1910 (cspi_keystroke_listener_add_callback),
1911 (cspi_event_listener_add_callback): upd.
1913 * libspi/keystrokelistener.c
1914 (keystroke_listener_object_finalize): kill
1915 (spi_keystroke_listener_class_init): upd.
1916 (spi_keystroke_listener_add_callback),
1917 (spi_keystroke_listener_remove_callback): kill,
1919 (impl_key_event): prune drasticaly.
1921 * libspi/eventlistener.c
1922 (spi_event_listener_add_callback),
1923 (spi_event_listener_remove_callback): kill, use
1925 (impl_accessible_event_notify_event): upd.
1926 (spi_event_listener_object_finalize): remove.
1928 * libspi/Makefile.am: use eventlistener.[ch]
1930 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1932 * libspi/registry.c (_registry_notify_listeners):
1933 Changed listener loop iteration to use preferred convention.
1934 Got rid of string memory leaks caused be calling g_strconcat
1935 inside function calls.
1937 * libspi/registry.c (parse_event_type):
1938 Stopped g_strconcat memory leaks, free the g_strsplit return,
1939 g_strdup the split pieces when used, etc.
1941 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1944 Change method 'compare' to return a 'difference set' rather than
1945 taking a StateSet as an out parameter (more Java-friendly).
1947 * idl/Accessible.idl:
1948 Added CORBA struct 'BoundingBox', to faciliate API changes below:
1950 * idl/Component.idl:
1952 Changed methods 'getExtents' and 'getImageExtents' in these
1953 interfaces to return a BoundingBox structure.
1954 (getPosition and getSize are redundant and possibly should be
1955 removed, rather than creating a corresponding Point struct.)
1957 * cspi/spi_component.c:
1958 Modify implementation of getExtents to reflect the above IDL
1963 Add (missing) AccessibleImage_getExtents () API.
1965 * docs/reference/cspi/at-spi-cspi-sections.txt:
1966 Added AccessibleImage_getImageExtents () to docs.
1968 2001-12-03 Bill Haneman <bill.haneman@sun.com>
1970 * idl/Component.idl:
1971 Added two methods, getLayer () and getMDIZOrder (), to reflect
1972 the new ATK methods atk_object_get_layer and
1973 atk_object_get_mdi_z_order. (Which arguably should be part of the
1974 AtkComponent API and AtkObject). Also added an enum,
1975 ComponentLayer, for the first method's return value.
1977 * libspi/component.c:
1978 Added implementations for these methods.
1980 * cspi/spi_component.c:
1982 Added cspi binding methods for above,
1983 AccessibleComponent_getLayer() and
1984 AccessibleComponent_getMDIZOrder().
1985 Added cspi enum 'AccessibleComponentLayer'.
1987 * docs/reference/cspi/at-spi-cspi-sections.txt:
1988 Added above methods to docs.
1992 Changed typedef for 'boolean' type (and all references to it) to
1993 SPIBoolean, to avoid keyword clashes with C++.
1996 Changed usages of 'boolean' to SPIBoolean.
1998 * test/keysynth-demo.c:
1999 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2000 app), except where SPIBoolean is required by the callbacks API.
2002 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2004 * cspi/spi_registry.c:
2005 Removed obsolete X event loop for passive keygrabs (which now
2008 * registryd/registryd.c:
2009 Removed unnecessary call to gdk_init() [cruft]. This also allows
2010 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2013 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2015 * docs/reference/cspi:
2016 Included docs for SPI_freeString in generated documentation.
2019 Renamed spi_freeString to SPI_freeString, for consistency. Added
2020 documentation for this function.
2023 Renamed spi_freeString to SPI_freeString, for consistency.
2024 Removed obsolete method declaration string_from_corba_string.
2026 * test/keysynth-demo.c:
2027 Small tweak to comments.
2030 Stopped leaking the strings returned from CSPI.
2032 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2034 Merged Michael's branch (see his ChangeLog entries below).
2036 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2037 bridge is alive, release on exit.
2039 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2040 Fix type check macro.
2043 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2046 Added is_gnome_app static, and method cspi_is_gnome_app(),
2047 so we can call the appropriate shutdown routine at exit in SPI_exit.
2049 * cspi/spi_main.c (cspi_object_ref):
2050 Duplicate the corba object passed in, since we're keeping it around.
2052 * cspi/SPI_exit.c, cspi_cleanup:
2053 Moved the releasing of the live refs to its own function, so we
2054 can put it in g_atexit (). Call the appropriate shutdown API
2055 depending on whethe calling client is a gnome app or not
2056 (bonobo_main_quit or CORBA_ORB_shutdown).
2058 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2059 Unref the listener when this method is called, after
2060 deregistration. Updated the API docs to note this behavior.
2062 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2063 Bugfixes: Ref the bonobo object when returning a parent or child
2064 reference, or an AccessibleRelation. Generally made sure
2065 BonoboObject refcount is incremented whenever we return an
2068 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2069 Fixed typo/bug in signal declaration.
2071 * libspi/accessibleeventlistener.h:
2074 * libspi/application.c (spi_application_new):
2075 Fixed leak in initialization.
2078 Remembered to increment bonobo-object refcount when returning
2079 children (applications) from desktop object.
2080 Added (empty) finalize method.
2082 * libspi/deviceeventcontroller.c:
2083 Hold a ref to listeners inside DEControllerKeyListeners.
2084 Added dec_key_listener_free() method. Use prepend instead of
2085 append in key_listener list. Fixed some refcount madness and
2086 leaks in the listener registration/deregistration - deregistration
2087 now calls dec_key_listener_free() on listeners, and on the
2088 temporarily constructed dec_key_listener() used to perform the search/match.
2090 * libspi/hypertext.c (spi_hypertest_finalize):
2091 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2092 class. Also fixed spi_hypertext_interface_new() and
2093 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2095 * libspi/hypertext.h:
2096 Removed pointless and duplicate AtkObject pointer from
2099 * libspi/keystrokelistener.c:
2100 Fixed incorrect type of keystroke_listener_parent_class,
2101 renamed keystroke_listener_object_finalize to
2102 spi_keystroke_listener_object_finalize.
2103 Fixed typo in signal declaration
2104 (spi_keystroke_listener_class_init).
2106 * libspi/registry.c:
2107 Added funcsions spi_listener_struct_new() and
2108 spi_listener_struct_free() to help with memory management issues.
2109 We also now use these methods instead of gnew + poking stuff into
2110 the struct, and to decrement listener counts/free the listeners
2111 when deregistering them.
2112 Fix more refcount bugs in getDesktop() and
2113 getDeviceEventController().
2116 De-ref the desktop after enumerating the applications. Explicitly
2117 decrement the refcounts on the created listeners on exit (using
2118 _unref for keystroke listeners, and via the
2119 deregisterGlobalEventListenerAll command for other event
2122 2001-11-27 Michael Meeks <michael@ximian.com>
2124 * cspi/spi-listener.h: fixup enum.
2126 2001-11-27 Michael Meeks <michael@ximian.com>
2128 * cspi/spi-listener-impl.c (cspi_event_listener_new),
2129 (cspi_keystroke_listener_new): Use the cspi variants.
2131 2001-11-26 Michael Meeks <michael@ximian.com>
2133 * test/keysynth-demo.c: fix 2 compile warnings, missing
2136 * test/simple-at.c (report_focussed_accessible),
2137 (report_focus_event, report_button_press),
2138 (check_property_change, is_command_key),
2139 (report_ordinary_key_event, report_command_key_event): upd.
2141 * util/mag_client.h: include pre-requisites.
2143 * libspi/accessibleeventlistener.c
2144 (spi_event_listener_object_finalize): free any lingering
2147 * libspi/keystrokelistener.c
2148 (keystroke_listener_object_finalize): ditto.
2150 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
2151 callbacks, with cspi types.
2153 * cspi/spi_event.c (createAccessibleEventListener): chain to
2154 (AccessibleEventListener_addCallback): here.
2155 (createAccessibleKeystrokeListener): chain to
2156 (AccessibleKeystrokeListener_addCallback): here.
2158 * libspi/keystrokelistener.c
2159 (spi_keystroke_listener_class_init): add signal.
2160 (impl_key_event): emit the event.
2161 (boolean_handled_accumulator): impl.
2162 (marshal_BOOLEAN__POINTER): add, gack.
2164 * libspi/accessibleeventlistener.c
2165 (spi_event_listener_class_init): add signal.
2166 (impl_accessible_event_notify_event): emit the signal &
2167 make the loop efficient.
2168 (spi_event_listener_add_callback): prepend the callback.
2170 * libspi/accessibleeventlistener.h: add an 'event' signal,
2171 decl type on callback.
2173 * libspi/keystrokelistener.h: ditto.
2175 * cspi/spi-listener.h: make methods typesafe and
2176 make them use the new event typedefs.
2178 * test/simple-at.c (report_focussed_accessible):
2179 include mag_client.h
2180 Use *(void *)text_interface not the other thing.
2182 * configure.in: add gtk to registryd bits - since we use
2185 * util/magnifier.c: include libbonobo.h
2187 2001-11-25 Bill Haneman <bill.haneman@sun.com>
2189 * test/keysynth-demo.c:
2190 Turned this into a simple scanning keyboard, to demonstrate the
2191 use of g_timeout_add () as a means of creating timers for
2192 scanning, and the use of GtkStyle for visually indicating when
2193 virtual keyboard elements are selected.
2195 keysynth-demo now listens to any keyboard keys with zero-valued
2196 keycodes (i.e. 'unused' keys) and interprets them as
2199 Reworked the shiftlatch code so that shift-down state isn't held
2200 for long periods (it's only synthesized immediately prior to
2201 the keysynth event it's modifying). Note that shiftlatch in this
2202 demo is a convenience, not intended to take the place of AccessX
2203 which is the better choice for getting 'sticky' modifier keys.
2205 * libspi/deviceeventcontroller.c:
2206 * at-bridge/bridge.c:
2207 * cspi/spi_registry.c:
2208 Removed some debug print stuff, and put other verbosity in #ifdef
2213 Implemented some more of the magnifier IDL for the simple
2214 magnifier: namely, getZoomRegionParams.
2215 Added mag_x and mag_y members to MagnifierData struct, aid of this
2217 Added GtkWindow::realize signal handler to magnifier, to keep it
2218 from receiving keyboard focus from the WM.
2220 2001-11-23 Mark McLoughlin <mark@skynet.ie>
2222 * cspi/spi-private.h: my guess at what michael forgot
2223 before he ran off to NZ :-)
2225 2001-11-23 Michael Meeks <michael@ximian.com>
2227 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
2228 comment out non existant method invoke so we link.
2230 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
2231 use bonobo_exception_get_text for more friendly warnings.
2233 * cspi/spi.c (Obj_Add): move into spi_main & rename
2234 spi_object_add; kill spi.c
2236 * cspi/spi_registry.c
2237 (deregisterGlobalEventListener),
2238 (deregisterGlobalEventListenerAll),
2239 (registerGlobalEventListener): fix exception leaks.
2241 * cspi/spi_main.c (spi_exception): impl. helper, so we
2242 don't leak exceptions.
2244 * cspi/spi_selection.c
2245 (AccessibleSelection_deselectSelectedChild): return the
2248 * cspi/spi_main.c (spi_ev): impl; hack - gack.
2249 (spi_registry): ditto.
2250 (SPI_init): guard against double inits.
2252 * cspi/*.c: use spi_ev (), and spi_registry () where
2253 appropriate - a temporary hack until we have something
2254 better. Use spi_object_add
2256 2001-11-22 Michael Meeks <michael@ximian.com>
2258 * cspi/Makefile.am: re organise, install the headers.
2260 * cspi/*.h: add G_BEGIN/END_DECLS
2262 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2265 Added non-preemptive keylistener for key events with no modifiers
2266 and shift-only modifier.
2268 * libspi/keystrokelistener.c:
2269 Removed some verbose diagnostics printout.
2271 * cspi/spi_registry.c:
2272 Fixed a bug that caused all key listeners to be registered as
2275 * libspi/deviceeventcontroller.c:
2276 Fixed bug that caused XGrabKey (preemptive key grab) to be called
2277 for non-preemptive key masks.
2280 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2282 * docs/reference/idl/at-spi-idl-docs.sgml:
2283 * docs/reference/idl/at-spi-idl-sections.txt:
2284 * docs/reference/idl/at-spi-idl-overrides.txt:
2285 Added missing files.
2287 * docs/reference/Makefile.am:
2288 removed idl from SUBDIRS until we can figure a way to get gtk-doc
2289 to scan the IDL files :-(
2294 Added .cvsignore files.
2296 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2298 * libspi/deviceeventcontroller.c:
2299 * libspi/keystrokelistener.c:
2301 * cspi/spi_registry.c:
2302 Added filters for KeySets, KeyEventSeq, and event types to key
2303 event dispatching, so listeners should only receive those events
2304 that they requested :-)
2306 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2311 * docs/reference:Makefile.am:
2312 * docs/reference/cspi:
2313 * docs/reference/cspi:Makefile.am:
2314 * docs/reference/cspi:tmpl:
2315 * docs/reference/cspi:tmpl:*.sgml:
2316 * docs/reference/idl:
2317 * docs/reference/idl:Makefile.am:
2318 * docs/reference/idl:at-spi-idl-sections.txt:
2319 * docs/reference/idl:at-spi-idl-docs.sgml:
2320 * docs/reference/idl:tmpl:
2321 * docs/reference/idl:tmpl:*.sgml:
2323 Restructured docs directory to allow separate 'reference' docs
2324 section, and forked idl and cspi docs. Added the sgml template
2325 files to CVS. Added the first sections/structural sgml for the
2328 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
2330 * configure.in, libspi/Makefile.am: find libXtst.
2332 2001-11-21 Michael Meeks <michael@ximian.com>
2334 * test/accessx-gui.c: s/spi_value/value/ - doh.
2336 * libspi/base.[ch]: add.
2338 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2340 * idl/Accessible.idl:
2341 * idl/Application.idl:
2344 Started gtk-doc cleanup on IDL.
2346 * libspi/deviceeventcontroller.c:
2347 Added and connected non-preemptive key notification from the
2348 toolkits (in addition to the pre-emptive support from XServer
2349 which we had before, but which causes 'focus flashing'). Filters
2350 are presently limited to key modifiers and global/non-global,
2351 KeySets are presently ignored, as are KeyEvent masks.
2353 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
2354 structs into the persistant structure rather than just storing
2355 pointers to things that might not persist across servant
2358 The XGrabKey call now does async keygrabs, because synchronous
2359 ones were deadlocking with GDK_event code in a very nasty way.
2361 Added boolean to internal method notify_keylisteners, to indicate
2362 whether the event came from the 'toolkit source' or the 'global
2363 (XServer) source' - this is used in the notification process to
2364 determine which listeners to send the event to.
2366 deviceeventcontroller.c is now warning-free.
2368 * libspi/registry.c:
2369 Fixed regression in application de-registration.
2370 Also fixed some really brain-dead weirdness having to do with
2371 event dispatching - event structs are now duplicated before being
2372 re-marshalled in the dispatch to listeners. This also fixes a
2373 Solaris build problem.
2376 2001-20-11 Michael Meeks <michael@ximian.com>
2379 (impl_accessibility_registry_deregister_global_event_listener):
2382 * libspi/deviceeventcontroller.c
2383 (spi_device_event_controller_check_key_event): return
2384 FALSE on no virtual method.
2386 * libspi/*..h: make includes work on a correctly pathed install.
2388 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
2390 * libspi/application.h: kill unused ( and whacked out )
2391 gboolean *spi_application_set_id (AtkObject *app, long id);
2393 2001-20-11 Michael Meeks <michael@ximian.com>
2395 * libspi/*.[ch]: further convert to bonobo's type func
2396 macros, remove redundnant casts etc.
2398 * libspi/text.c s/accessibility_text/spi_text/g,
2399 re-order to de-cruft.
2401 * libspi/hypertext.c: re-order to kill a huge slew
2402 of redundant forward decls.
2404 * libspi/relation.c: ditto.
2406 * libspi/image.c: ditto.
2408 * */.cvsignore: update
2410 2001-20-11 Michael Meeks <michael@ximian.com>
2412 * libspi/deviceeventcontroller.c
2413 (_controller_register_with_devices): use g_getenv,
2414 kill stdlib.h include.
2416 * libspi/keystrokelistener.c
2417 (spi_keystroke_listener_get_type): kill
2418 (spi_keystroke_listener_class_init),
2419 (spi_keystroke_listener_init): rename to this.
2421 * libspi/text.c (impl_getAttributes): fix warning / bug.
2423 * libspi/*.[ch]: more headers, includes and over commenting.
2425 2001-20-11 Michael Meeks <michael@ximian.com>
2427 * libspi/*.[ch]: fixup headers, includes and over commenting.
2429 * libspi/image.c (impl__get_imageDescription): const
2430 correctness warning fix. remove redundant casting.
2432 * libspi/table.c (impl_getRowDescription): ditto.
2433 (impl_getColumnDescription): ditto.
2435 * libspi/libspi.h: add.
2437 2001-19-11 Michael Meeks <michael@ximian.com>
2439 * libspi/editabletext.c (impl_setAttributes): fix warnings.
2441 * libspi/component.c (accessibility_component_get_type):
2442 rename to (spi_component_get_type): and macroify.
2443 (accessibility_component_init): rename to
2444 (spi_component_init): this
2445 (accessibility_component_class_init): rename to
2446 (spi_component_class_init): this
2448 * libspi/action.c (spi_action_get_type): kill, use the macro.
2450 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
2453 * libspi/application.c (spi_application_object_event_listener),
2454 (impl_accessibility_application_register_object_event_listener):
2455 warning fixes / const understanding updates.
2457 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
2460 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2462 * libspi/spi_accessible.c: Added docs and C bindings for
2463 AccessibleStateSet. (No implementations yet). Documentation
2464 coverage for C bindings now 100%. Made docs for event listeners
2469 boolean notifyListenersSync (in DeviceEventListener listener,
2470 in DeviceEvent event);
2472 oneway void notifyListenersAsync (in DeviceEventListener listener,
2473 in DeviceEvent event);
2475 Added DeviceEventListener and DeviceEvent structs (may deprecate
2476 KeyStroke and KeystrokeListener in favor of this generic
2477 event/listener framework for devices).
2479 * libspi/deviceeventcontroller.c:
2481 Changed some key listener code to take masks, etc., and paved the
2482 way for integration of toolkit/non-preemptive key events. Changed
2483 signatures of some internal methods.
2485 * at-bridge/bridge.c:
2486 Fixed regression connecting to interface signals, apparently
2487 caused by GTK+ changes.
2489 Added an internal bridge_state_listener to deal with
2490 property-change:accessible-state signals.
2492 Changed the key_listeners GList to store structs (including masks,
2493 etc.) instead of just CORBA_Objects (required for full
2494 implementation of key listener API).
2496 Connected the bridge to all currently supported Atk signals.
2497 Events now supported:
2498 object:property-change
2499 object:property-change:accessible-name
2500 object:property-change:accessible-state
2501 object:property-change:accessible-description
2502 object:property-change:accessible-parent
2503 object:property-change:accessible-value
2504 object:property-change:accessible-role
2505 object:property-change:accessible-table-caption
2506 object:property-change:accessible-table-column-description
2507 object:property-change:accessible-table-column-header
2508 object:property-change:accessible-table-row-description
2509 object:property-change:accessible-table-row-header
2510 object:property-change:accessible-table-summary
2511 object:children-changed
2512 object:visible-data-changed
2513 object:selection-changed
2514 object:text-selection-changed
2516 object:text-caret-moved
2518 object:row-reordered
2520 object:column-inserted
2521 object:column-reordered
2522 object:column-deleted
2523 object:model-changed
2525 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2527 * libspi/hyperlink.c,h:
2528 Fixed some broken stuff in hyperlink.
2530 * libspi/relation.h:
2531 * libspi/relation.c:
2532 * cspi/spi_accessible.c:
2533 Initial implementations of AccessibleRelation methods, and docs.
2535 * libspi/accessible.c:
2536 Fixed a bug that caused SEGV if an accessible
2537 object's description is NULL, and a client
2538 requests it. An empty string is now returned.
2540 * cspi/spi_editabletext.c:
2541 * cspi/spi_hypertext.c:
2543 * cspi/spi_hyperlink.c:
2547 Doc coverage now 95%.
2549 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2551 One last namespacing revision:
2552 * libspi/accessibleeventlistener.[ch]:
2553 Renamed SpiAccessibleEventListener to SpiEventListener,
2554 (no need for two namespaces ;-)
2556 And lots of documentation fixes:
2558 * docs/at-spi-docs.sgml:
2559 Fixed 'underscore vs. hyphen' bug that was preventing
2560 the gtk-doc API docs from being automatically generated.
2563 * cspi/spi-listener.h
2565 * cspi/spi_accessible.c
2567 * cspi/spi_application.c
2568 * cspi/spi_component.c
2569 * cspi/spi_editabletext.c
2571 * cspi/spi_hypertext.c
2573 * cspi/spi_registry.c
2574 * cspi/spi_selection.c
2578 * docs/at-spi-docs.sgml
2579 * docs/at-spi-sections.txt
2581 Added and fixed up gtk-doc documentation in cspi.
2583 Interfaces now (fully) documented (subject to revision and enhancement):
2585 Event Listener Support
2587 AccessibleApplication
2591 AccessibleEditableText
2598 AccessibleRelationSet
2603 2001-14-11 Bill Haneman <bill.haneman@sun.com>
2605 * at-bridge/bridge.c:
2606 Initial work for toolkit-level key snooper connection by bridge.
2611 New typedefs and fixes to support new namespacing, and cleaner
2612 separation of cspi bindings from libspi bonobo implementation.
2613 Removed inconsistent and extraneous Spi* namespace prefix that
2614 had crept into cspi headers.
2615 Lots of comment fixes that sed had missed.
2617 * cspi/spi-roletypes.h:
2618 * cspi/spi-statetypes.h:
2619 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
2620 to AccessibleRoleType.
2622 * libspi/accessibleeventlistener.h:
2623 Fixed minor namespacing weirdness.
2625 * libspi/deviceeventcontroller.c:
2626 Reordered some internal API for device listeners.
2627 Changed the key registry final boolean to 'is_system_global'
2628 rather than 'is_synchronous', which is more descriptive of its
2630 Added spi_device_event_controller_new().
2631 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
2633 * libspi/keystrokelistener.[ch]:
2634 Namespaced KeystrokeListener to SpiKeystrokeListener.
2635 Changed uses of keymasks to use SPI_ prefix, and did other
2638 * libspi/keymasks.h:
2639 Namespaced keymask constants with SPI_ prefix.
2641 * libspi/registry.c:
2642 Some warning fixes, and knock-on fixes from namespace changes.
2645 Added rules for accessx-gui test program.
2647 * test/accessx-gui.c:
2648 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2649 utility. It doesn't actually use at-spi, but it's still cool and
2652 * test/keysynth-demo.c:
2656 Fixes so that these test clients work properly with the namespaced
2657 libraries. (Incompletely tested for technical reasons, fixes may follow)
2660 2001-13-11 Michael Meeks <michael@ximian.com>
2662 * libspi/application.c
2663 (impl_accessibility_application_get_version),
2664 (impl_accessibility_application_get_toolkit_name):
2666 (impl_accessibility_application_set_id),
2667 (impl_accessibility_application_get_id): remove
2668 redundant casting code.
2670 * libspi/action.c (impl_getDescription): fix warnings.
2672 * libspi/accessible.c
2673 (impl_accessibility_accessible_get_parent),
2674 (impl_accessibility_accessible_get_child_at_index),
2675 (impl_accessibility_accessible_get_state),
2676 (impl_accessibility_accessible_get_relation_set):
2677 warning fixes & include action.h
2679 2001-13-11 Michael Meeks <michael@ximian.com>
2681 * *.[ch] fix bits I screwed up:
2683 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2684 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2686 2001-13-11 Michael Meeks <michael@ximian.com>
2688 * *.[ch] Namespace libspi into spi_ and Spi.
2690 2001-13-11 Michael Meeks <michael@ximian.com>
2692 * Makefile.am: dist & install at-spi-1.0.pc
2694 * libspi/Makefile.am: install into at-spi-1.0
2696 * idl/Makefile.am (idldir): install into at-spi-1.0
2698 * at-spi-1.0.pc.in: add.
2700 * configure.in: build it.
2702 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2704 * test/keysynth-demo.c:
2705 Use a 'realize' signal-handler to set the WM properties for
2706 the virtual keyboard, rather than making it a "POPUP" type
2707 override-redirect window (thanks to anders carlsson for that
2710 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2713 * test/keysynth-demo.c:
2714 Added new test of key synthesis, which creates a simple
2715 (mouse-operated) onscreen keyboard. It inserts key events into
2716 the currently-focused window, thus it does not grab keyboard focus
2719 * cspi/spi_registry.c:
2720 Added C binding for AT-SPI generateKeyEvent.
2722 * libspi/deviceeventcontroller.c:
2723 Added call to XFilterEvent so that key listener works with XIM (we
2724 hope). Added event_synth_type to generateKeyEvent, so that we can
2725 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2726 synthesize a press/release pair for KeySyms.
2728 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2730 * libspi/Makefile.am:
2731 * registryd/Makefile.am:
2732 (temporary) hack to include libXtst in libspi and registryd.
2733 (Needed for keystroke synthesis, see below).
2736 Improved API for registerKeystrokeListener, in accordance with
2737 discussions with Gnopernicus team and X server research.
2739 * libspi/registry.c:
2740 * libspi/deviceeventcontroller.c:
2741 * libspi/accessible.c:
2742 * libspi/keystrokelistener.c:
2743 Changes and fixes to support keylisteners for potentially
2744 consumed key events (that is, 'passive grabs').
2745 Added implementation for generateKeyEvent() [untested].
2748 Changes to registerKeystrokeListener() API, as above.
2749 Added deregisterGlobalEventListenerAll(), and
2750 deregisterKeystrokeListener(), which are needed for clean exit of
2752 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2753 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2755 * cspi/spi_registry.c:
2756 Added implementations of function prototypes mentioned above.
2758 * registryd/registryd.c:
2759 Added the key listener event source as a g_timeout(), to allow
2760 receipt of key events that are not caught by GDK (since GDK
2761 doesn't support passive keygrabs, this was necessary).
2764 Changed to attach a keylistener to 'Alt' keys, and
2765 respond to the following keycommands: Alt-M (toggle magnifier);
2766 Alt-F (toggle speech); Alt-Q (quit).
2767 Added an exit routine to deregister the listeners, and a key
2768 listener that prints some key info to the console when a key
2769 matches the listener mask (and is thus received by the listener).
2771 * util/idl/Magnifier.idl:
2772 Changes to magnifier API to support multiple zoom regions,
2773 non-uniform scaling in x and y, markDirty, and a host of other
2774 features that would be useful to magnification.
2777 * util/mag_client.c:
2778 * util/mag_client.h:
2779 * util/mag_control.c:
2781 Source code changes to support the above IDL changes.
2784 As above, and also changes to use a (slower) generic conversion
2785 path for colormap conversions, since the fast RGB conversions have been
2786 reported to fail for 16-bit displays.
2788 2001-10-26 Michael Meeks <michael@ximian.com>
2790 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2792 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
2794 * at-bridge/Makefile.am: fix LDFLAGS.
2796 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2798 * at-bridge/bridge.c:
2799 Re-worked listeners for toolkit events, now we have signal
2800 and property listeners. Added a private method
2801 register_atk_event_listeners(), which registers with the
2802 various atk and gtk signals we need to monitor in order to emit
2804 Added emission hook for AtkObject:property-change events, to
2805 support the 'property listeners'.
2806 Fixed some alloc()s of Accessibility_Event structs to use CORBA
2809 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2810 which emit warnings and exit, respectively, if CORBA errors occur
2811 during remote calls, and we now use these methods to check most of
2812 our CORBA calls in the C bindings.
2814 * cspi/spi_accessible.c:
2815 Changed AccessibleSelection_refSelectedChild() to
2816 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2817 now increment refcounts.
2819 * cspi/spi_component.c:
2820 Fixed some long pointer casts (dangerous!) to pass pointers to
2821 CORBA_longs of the proper type to the CORBA stubs, and copy the
2822 data into the longs that were passed into the C bindings code.
2824 * at-bridge/bridge.c:
2826 * libspi/accessible.c:
2827 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2828 hyperlinks, AtkHyperlink is an object type.
2830 * libspi/application.c:
2831 Added various conversions to and from "generic" event types and
2832 atk-specific types; this is really part of the 'bridge'
2833 implementation but is valid for all AtkObject-based accessibility
2836 * libspi/editabletext.c:
2837 Fixed nasty bug wherein editable text's finalize method was
2838 unref'ing tha AtkObject reference that the text parent class was
2839 about to unref _again_. There was also a nasty inheritance bug
2840 that meant that the AccessibleEditableText class was corrupt.
2842 * libspi/selection.c:
2843 Provided implementations for some selection API that was broken.
2845 * idl/Application.idl:
2846 Added registerObjectEventListener () method.
2849 Fixed a number of return values that were Bonobo_Unknowns from
2850 bonobo_object_corba_objref(), which I
2851 forgot to dup before returning. Changed instances of
2852 bonobo_object_corba_objref (bonobo_object(o)) to
2853 BONOBO_OBJREF(o), for concision and clarity.
2855 <2001-10-13 Louise Miller <louise.miller@sun.com>
2857 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2858 idl/Event.idl, idl/Registry.idl
2859 Changed these files to include Bonobo_Unknown.idl instead
2862 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
2864 * libspi/component.c libspi/component.h:
2865 Fixed typo. Added assertions for object checks in
2866 AccessibleComponent code.
2868 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2870 * idl/Accessible.idl:
2871 Added 'isEqual (Accessible *object)'
2872 method for Accessible. (Not Yet Implemented).
2875 Changed signature of registerKeystrokeListener() to
2876 take a KeySet and KeyEventSeq so that specific keys and event
2877 types could be requested for monitoring, and added a flag
2878 is_synchronous so that either synchronous or asynchronous
2879 notification could be requested. (However this is not all
2880 implemented yet). This also meant adding two new typedefs,
2881 KeyEventSeq and KeySet.
2884 Added two new relations, RELATION_TOOLTIP_FOR and
2885 RELATION_LEAFNODE_OF.
2888 Added new state, STATE_HAS_TOOLTIP.
2890 * libspi/text.c, editabletext.c:
2891 Added new assertions to all casts of bonobo-objects from
2892 CORBA servants, to prevent Text API calls on non-text objects.
2893 Changed suspect casts of int-pointer types, so that we
2894 always send a valid CORBA_long pointer to the CORBA APIs that use
2895 in/out long parameters. We then have to copy from the CORBA_long
2896 into the regular long or int for return to the C bindings, or
2897 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
2900 * libspi/deviceeventcontroller.c:
2901 Cleaned these sources up.
2903 Changed return type for getCharacterAtOffset to
2904 CORBA_unsigned_long, to allow for 32-bit characters.
2907 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
2911 Fixed 'make dist' so that distro compiles...
2912 * libspi/keymasks.h:
2914 * cspi/spi-listener.c:
2915 KeystrokeListenerCB now returns a boolean.
2917 Added KeyEventType struct, and KeyStroke.
2918 Also added createKeystrokeListener(),
2919 KeystrokeListener_addCallback(),
2920 KeystrokeListener_removeCallback(), and added a keymask to
2921 registerKeystrokeListener().
2922 * cspi/spi_accessible.c:
2923 Changed numerous return types for interfaces from
2924 AccessibleComponent to Accessible<InterfaceName>; this was
2925 probably a cut-and-paste error.
2927 Implementations of new KeystrokeListener api (from spi.h,
2930 Changes to key modifier mapping.
2931 Created ControllerEventMask struct.
2932 Made DeviceEventController derive from Bonobo::Unknown.
2934 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
2935 * libspi/deviceeventcontroller.c:
2936 Added a number of new internal (private) methods.
2937 * libspi/editabletext.c:
2938 * libspi/editabletext.h:
2939 Fixed a number of bugs related to the fact that
2940 editabletext inherits from text. Fixed the EditableText struct,
2941 the init() call, and use correct casts when calling Text methods
2942 from an EditableText object. Removed (duplicate) atko from the
2943 EditableText structure, we use the one in the parent Text
2944 structure via the casts mentioned above.
2945 * libspi/keystrokelistener.[ch]:
2946 * libspi/registry.c:
2947 Changes in support of keyboard handling (above).
2949 Keyboard handling, though partly functional, is still not
2950 recommended for at-spi client use as there is considerable
2951 work yet to be done.
2954 Changed some places where pointers to various int types
2955 are cast to be pointers to CORBA_long types and vice-versa:
2956 pointer casting is not safe so we pass pointers of the correct
2957 types and then cast the result before putting it into the target
2960 * libspi/text.h: minor typos corrected.
2962 We now speak not only the name of a Text element, but the
2963 first sentence of its content, when it receives focus.
2964 I also changed the text compression to 75% from 50%.
2965 * util/Accessibility_Util.server.in:
2966 Changed the default magnifier type to be a 3x vertical
2967 splitscreen magnifier (was previously a 2x horizontal one).
2969 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
2971 * libspi/keystrokelistener.h:
2972 * libspi/keystrokelistener.c:
2973 Initial functional implementations of KeystrokeListener.
2976 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
2978 Fixed string handling for NULL strings in libspi.
2979 Added spi_freeString to free strings returned by C bindings.
2981 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
2983 * libspi/keystrokelistener.h:
2984 * libspi/keystrokelistener.c:
2985 Began (no-op) implementations of KeystrokeListener
2987 * libspi/deviceeventcontroller.c:
2988 * libspi/deviceeventcontroller.h:
2989 Began creating implementations of DeviceEventController,
2990 to handle keystroke and mouse event listening and
2992 * libspi/accessible.c:
2993 Stubbed-in the implementations for
2994 Accessibility_Accessible_getState and
2995 Accessibility_Accessible_getRelationSet.
2996 * libspi/registry.c:
2997 Improved de-registration process and fixed some bugs,
2998 deregistration now works correctly.
3000 Added initialization of applications list (to NULL).
3002 Reduced speech compression from 0.5 to 0.7, for demo.
3003 Changed call to gdk_window_set_decorations()
3004 to gtk_window_set_decorated().
3005 * at-bridge/bridge.c:
3006 Bridge now deregisters when app exits, via
3007 registration of a cleanup function
3008 with the g_atexit() call.
3009 Required making 'app' static, renamed 'this_app'.
3010 Fixed broken use of bonobo_init, passing argv wrongly.
3012 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
3016 Created a new directory for
3017 accessibility-related utilities, primarily for
3018 testing and demo purposes, but with possible
3025 Onscreen magnifier utility that
3026 is implemented as a bonobo service.
3028 * util/mag_client.c:
3029 * util/mag_client.h:
3030 Client-side support (simple C bindings)
3031 for Magnification service
3033 * util/mag_control.c:
3034 Client program example for
3035 Magnification service
3037 * util/Accessibility_Magnifier.server.in:
3038 Bonobo-activation file for the
3039 Magnification service.
3042 * util/idl/Magnifier.idl:
3043 IDL defining the bonobo Magnification
3047 Modifications to use the bonobo-activated magnifier
3048 above, in place of trying to connect to an existing
3049 magnifier that uses socket-listening IPC.
3051 If env variable MAGNIFIER is set, a magnifier service
3052 will be started if one does not exist.
3054 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
3055 * at-bridge/bridge.c:
3056 applied patch from Marc to build and run
3057 against new glib and gtk+ (seemed like a change
3058 to bonobo_init signature was made ?)
3060 made festival-server support turned off by default.
3061 Added support for a simple magnifier (off by default)
3062 which will be added to a 'util' directory later.
3063 * at-bridge/Makefile.am:
3064 Changed "application.h" header from a 'source'
3065 to a 'dependency' of libat-bridge.
3067 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3075 Added interface implementation c files to list of
3076 includes so they are included in libcspi.
3079 Changed prototype of AccessibleAction_doAction to return a
3081 Changed prototype of AccessibleTable_getCaption to
3082 return an Accessible.
3083 Changed prototype of AccessibleTable_getSelectedRows
3084 and AccessibleTable_getSelectedColumns to
3085 return a long (returns the number of selected rows
3086 or columns respectively).
3087 Changed name of AccessibleText_refRunAttributes to
3088 AccessibleText_getAttributes.
3089 Changed prototype of AccessibleText_getCharacterExtents to
3090 return a void rather than a boolean.
3091 Added support for a AccessibleCoordType parameter
3092 specifying what type of coordinates are desired.
3093 Added an AccessibleCordType parameter to
3094 AccessibleText_getPointAtOffset.
3096 * cspi/spi_accessible.c:
3097 Added code to return the outstanding interfaces from
3098 Accessible_queryInterface.
3100 * cspi/spi_action.c:
3102 Corrected call to getNActions to call the c binding
3105 * cspi/spi_editabletext.c:
3107 Changed name from setRunAttributes to setAttributes.
3109 * cspi/spi_hyperlink.c:
3111 Changed call to getNAnchors to correctly call the c
3112 binding for an attribute.
3114 * cspi/spi_hypertext.c:
3116 Changed getImageDescription to correctly call the
3117 binding for an attribute.
3119 * cspi/spi_selection.c:
3120 Changed getNSelectedChildren to correctly call the c
3121 binding for the attribute.
3122 Changed refSelectedChild to getSelectedChild.
3126 Changed getCaption to return an Accessible.
3127 Fixed calls which retrieve attributes.
3128 Changed refAt to getAccessibleAt.
3129 Changed getNSelectedRows and getNSelectedColumns to
3133 Changed getCharacterExtents and getPointAtOffset to accept an
3134 AccessibleCoordType.
3136 Changed calls which retrieve attributes.
3137 Changed refRunAttributes to getAttributes.
3142 * idl/Hyperlink.idl:
3143 Changed n_anchors attribute to nAnchors to keep naming
3144 convention consistent.
3147 Made Table inherit from Bonobo::Unknown.
3148 Added nSelectedColumns and nSelectedRows attributes.
3151 Made Value inherit from Bonobo::Unknown.
3153 * libspi/hyperlink.c:
3154 Change for nAnchors attributte name change.
3156 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3164 Added interface implementation c files to list of
3165 includes so they are included in libcspi.
3168 Changed prototype of AccessibleAction_doAction to return a
3170 Changed prototype of AccessibleTable_getCaption to
3171 return an Accessible.
3172 Changed prototype of AccessibleTable_getSelectedRows
3173 and AccessibleTable_getSelectedColumns to
3174 return a long (returns the number of selected rows
3175 or columns respectively).
3176 Changed name of AccessibleText_refRunAttributes to
3177 AccessibleText_getAttributes.
3178 Changed prototype of AccessibleText_getCharacterExtents to
3179 return a void rather than a boolean.
3180 Added support for a AccessibleCoordType parameter
3181 specifying what type of coordinates are desired.
3182 Added an AccessibleCordType parameter to
3183 AccessibleText_getPointAtOffset.
3185 * cspi/spi_accessible.c:
3186 Added code to return the outstanding interfaces from
3187 Accessible_queryInterface.
3189 * cspi/spi_action.c:
3191 Corrected call to getNActions to call the c binding
3194 * cspi/spi_editabletext.c:
3196 Changed name from setRunAttributes to setAttributes.
3198 * cspi/spi_hyperlink.c:
3200 Changed call to getNAnchors to correctly call the c
3201 binding for an attribute.
3203 * cspi/spi_hypertext.c:
3205 Changed getImageDescription to correctly call the
3206 binding for an attribute.
3208 * cspi/spi_selection.c:
3209 Changed getNSelectedChildren to correctly call the c
3210 binding for the attribute.
3211 Changed refSelectedChild to getSelectedChild.
3215 Changed getCaption to return an Accessible.
3216 Fixed calls which retrieve attributes.
3217 Changed refAt to getAccessibleAt.
3218 Changed getNSelectedRows and getNSelectedColumns to
3222 Changed getCharacterExtents and getPointAtOffset to accept an
3223 AccessibleCoordType.
3225 Changed calls which retrieve attributes.
3226 Changed refRunAttributes to getAttributes.
3231 * idl/Hyperlink.idl:
3232 Changed n_anchors attribute to nAnchors to keep naming
3233 convention consistent.
3236 Made Table inherit from Bonobo::Unknown.
3237 Added nSelectedColumns and nSelectedRows attributes.
3240 Made Value inherit from Bonobo::Unknown.
3242 * libspi/hyperlink.c:
3243 Change for nAnchors attributte name change.
3246 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
3248 implementations-- made server implementations own AtkObject pointers
3249 rather than their respective AtkInterrface pointers to fix
3250 refcounting. AtkHyperlink is still broken.
3252 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
3253 * cspi/spi_accessible.c:
3254 Added method Accessible_Role_getName(),
3255 and requisite string array (role_names).
3256 Added conversion string_from_corba_strin() call
3257 to Accessible_getName and _getDescription.
3258 * libspi/accessible.c:
3259 Added implementation for Accessible_getRole()
3261 Added festival support, used if environment variable
3264 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3266 * at-bridge/bridge.c:
3267 Now allocate Accessibility_Event using
3268 Accessibility_Event__alloc() instead of g_new0().
3269 * libspi/accessibleeventlistener.c:
3270 Initialize AccessibleEventListener->callbacks to NULL.
3271 Fixed accessible__event_listener_init() param, changed to
3272 "AccessibleEventListener *" type.
3273 Changed a bonobo_object_release_unref() call to
3274 Accessibility_Accessible_unref().
3275 * libspi/listener.c:
3276 Changed Bonobo_Unknown_unref to (equivalent)
3277 Accessibility_Accessible_unref.
3278 * libspi/registry.c:
3279 Changed bonobo_object_release_unref to
3280 Accessibility_Accessible_unref.
3282 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3285 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
3286 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
3287 spi-util.c spi-util.h
3288 Implementations for C bindings to remaining accessibility
3291 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3294 changed return value of Action from void to boolean to
3295 bring in line with ATK.
3298 Changed getText funcions to return "out" start and end offsets.
3299 Changed getAttributes to take and offset and return the start
3300 and end offset of the attribute run.
3301 Changed getOffsetAtPoint and getCharacterExtents to take an
3302 enum describing whether coordinates are window or screen.
3305 libspi/action.c libspi/action.h libspi/editabletext.c
3306 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
3307 libspi/hypertext.c libspi/hypertext.h libspi/image.c
3308 libspi/image.h libspi/selection.c libspi/selection.h
3309 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
3310 libspi/value.c libspi/value.h
3311 Added server implementations for outstanding ATK interfaces
3312 not yet implemented.
3314 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3317 Added (missing) getName() method.
3318 Made nActions an attribute.
3319 * idl/EditableText.idl:
3320 Changed order of params in setAttributes.
3321 * idl/Hyperlink.idl:
3322 Removed getAnchor, added getURI.
3324 Changed attributes to methods, for efficiency
3325 (so that getting extents can be done in one call)
3326 * idl/Selection.idl:
3327 Changed nSelectedChildren to attribute, and re-indented.
3328 * idl/Table.idl: changed nrows, ncolumns, caption, summary
3330 * idl/Text.idl: reformatted to match our coding style.
3331 (temporarily?) removed getRowColumnAtOffset().
3332 Changed text selection API to support multi-select and
3333 non-contiguous selections, as in ATK.
3334 * idl/Value.idl: changed some methods to attributes.
3336 2001-08-24 Mark McLoughlin <mark@skynet.ie>
3338 * libspi/listener.c(impl_notify_event):
3339 BonoboUnkown_unref the source instead
3340 of bonobo_object_release_unref - the ORB
3341 handles the releasing.
3343 * configure.in: require ORBit-2.3.94 for
3346 2001-08-21 Bill Haneman <bill.haneman@sun.com>
3348 Tagged CVS repository 'EA_1_0'.
3349 * README.EARLY_ACCESS:
3350 Alphabetized acknowledgements list, and
3352 Listed some known dependencies of at-spi.
3354 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3356 * docs/at-spi-docs.sgml:
3357 * docs/at-spi-sections.txt:
3358 * docs/at-spi-overrides.txt: (Added zero-length file)
3359 Documentation improvements - gtk-doc should build
3360 docs for all implemented C bindings now.
3363 * cspi/spi.c: (New file)
3364 * cspi/spi_event.c: (New file)
3365 * cspi/spi_registry.c: (New file)
3366 * cspi/spi_accessible.c: (New file)
3367 * cspi/spi_application.c: (New file)
3368 * cspi/spi_component.c: (New file)
3369 Split spi_main.c into six parts, and included them from
3370 "spi.c". This is a bit of a hack, probably temporary,
3371 but required by gtk-doc, apparently.
3373 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3376 * docs/at-spi-docs.sgml:
3377 * docs/at-spi-sections.txt:
3379 Initial checkins/modifications for gtk-doc generation.
3382 Added (missing) interface query methods to Accessible's C binding.
3384 Added GenericInterface type definition.
3386 Added query for AccessibleComponent interface to focus event handler.
3387 Added printout of bounding box for focussed component.
3388 * libspi/component.c:
3389 Added partial implementation for AccessibleComponent to C binding.
3390 * idl/Application.idl:
3391 * libspi/registry.c:
3392 * libspi/listener.c:
3393 * libspi/application.c:
3394 * libspi/application.h:
3395 Changed "ID" attribute type from string to long.
3397 2001-08-19 Bill Haneman <bill.haneman@sun.com>
3401 Made method naming consistent: methods taking object args
3402 start with uppercase, other methods (except those using
3403 acronyms) start with lowercase. Underscores delimit between
3404 object names and method names:
3405 SPI_init() - uppercase since it starts with an acronym.
3406 getDesktopCount () - lowercase start since no object param0.
3407 Accessible_getName() - uppercase object type name, studlyCaps method
3411 Added gtk-doc documentation for all currently implemented
3412 methods in the C bindings API.
3414 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3416 * Makefile.am : changed build order to build test last.
3419 Changed "createEventListener" to "CreateEventListener".
3420 * libspi/accessibleeventlistener.c :
3421 Bugfix for addition of callbacks.
3422 * test/Makefile.am :
3423 * test/simple-at.c :
3424 Added new test that uses the C bindings API.
3426 * libspi/listener.c :
3427 * libspi/registry.c :
3428 * libspi/accessibleeventlistener.c :
3429 * at-bridge/bridge.c :
3430 Renamed member "target" of Accessibility_Event to "source",
3431 which is more descriptive.
3434 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3438 * cspi/Makefile.am :
3439 Added makefile support for at-spi/cspi directory.
3442 * cspi/spi-listener.h : (NEW FILE)
3443 Added support for/use of spi-listener.h.
3445 C bindings now build successfully, with no warnings.
3446 * libspi/accessibleeventlistener.h : (NEW FILE)
3447 * libspi/accessibleeventlistener.c : (NEW FILE)
3448 * libspi/Makefile.am :
3449 Added new object type "AccessibleEventListener"
3450 which inherits from Listener, and allows attachment
3451 of in-process callbacks (so that a client with a listening
3452 object instance can add functionality to the local
3453 implementation, dynamically).
3455 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3457 * libspi/accessible.c:
3458 Add implementation for get_index_in_parent().
3460 Added #include of "spi-roletypes.h", and
3461 added enumerated type AccessibleCoordType.
3462 Added definition for KeystrokeListener (function type).
3465 * cspi/spi-statetypes.h :
3466 * cspi/spi-roletypes.h :
3468 Added these headers, used by spi.h.
3470 Added code (NOTE: not yet built by make).
3472 2001-08-18 Mark McLoughlin <mark@skynet.ie>
3474 * libspi/Makefile.am: generate imodule
3475 at the same time as other idl compiler
3478 2001-08-17 Bill Haneman <bill.haneman@sun.com>
3479 * libspi/registry.c :
3480 * libspi/application.c :
3481 * idl/Application.idl :
3482 Made registration with toolkit an application method,
3483 which is required since each app has its own toolkit static
3484 environment. Thus the bridge must register for
3485 notification of toolkit events from each application in turn.
3486 Toolkit notifications are now successfully registered for, and
3487 sent to the listening at client.
3489 Changed toolkit event string to use hyphens rather than underscores.
3490 * libspi/listener.c :
3491 listner now gives more info in debug mode - it reports the
3492 name of the event received, as well as the name of the source.
3495 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3497 * libspi/registry.c :
3498 added more implementation for toolkit events.
3499 Fixed bug such that toolkit event registrations
3500 (via atk) use the whole event name string, not
3502 Removed a useless call to an ORBit_ method.
3503 * at-bridge/bridge.c :
3504 Removed unused local sbuf[] variable.
3506 We now register for Gtk:GtkWidget:button_press_event
3507 events as well as "focus:" events.
3509 Add some more API from Registry.idl that was missing,
3510 for keystroke listening, keystroke and mouse event
3511 synthesis, and enumeration of accessible desktops.
3513 2001-08-16 Michael Meeks <michael@ximian.com>
3515 * configure.in: use AM_GLIB_GNU_GETTEXT.
3517 * Makefile.am (SUBDIRS): kill intl.
3519 2001-08-15 Michael Meeks <michael@ximian.com>
3521 * registryd/Makefile.am: s/oaf/server/ relocate info file.
3523 * configure.in: upd.
3525 * configure.in: depend on a recent bonobo-activation that
3526 will find our server files ...
3528 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3530 * libspi/accessible.c : accessible_new() :
3531 Now we add the Component interface via bonobo_object_add_interface,
3532 if the contained AtkObject implements AtkComponent.
3533 * libspi/accessible.h : now include "component.h"
3534 * libspi/component.h :
3535 * libspi/component.c : added files - implementation of
3536 bonobo wrapper object for Accessibility/Component
3537 * libspi/listener.c :
3538 Added test code to check for Accessibility/Component:1.0
3539 interface and report whether it is implemented by the
3541 * libspi/registry.c :
3542 Now we check for not only the hash of the whole event
3543 string before relaying the event, we also check the
3544 "minor" event string (without the detail string).
3545 This allows event listeners to be registered against
3546 all events of a certain major+minor type, or just
3547 against a specific major+minor+detail type.
3548 * libspi/accessible.c :
3549 Added implementations for Accessible:get_parent(),
3550 Accessible:getChildCount(), and Accessible:getChildAtIndex().
3551 * libspi/registry.c :
3552 * libspi/listener.c :
3553 Replaced calls to Accessibility_Accessible_ref() and
3554 Accessibility_Accessible_unref() with
3555 calls to bonobo_object_dup_ref() and
3556 bonobo_object_release_unref(), so that the CORBA object
3557 is dup-ed and released when relayed, as well as the bonobo object.
3559 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3561 * libspi/Makefile.am,
3562 registryd/Makefile.am,
3563 at-bridge/Makefile.am.
3564 test/Makefile.am, configure.in:
3565 reverse previous changes.
3567 * /idl/Image.idl: fix typo.
3569 * test/Makefile.am: put DEBUG_FLAGS
3572 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3574 * test/app.c: use argv[0] instead of
3577 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3579 * libspi/Makefile.am,
3580 registryd/Makefile.am,
3581 at-bridge/Makefile.am.
3582 test/Makefile.am, configure.in:
3583 cleanup, replace individual LIBS/CFLAGS with
3584 AT_COMMON_{LIBS|CFLAGS}.
3588 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3590 * configure.in, libspi/Makefile.am:
3591 Change IDL path checking for bonobo-activation
3594 2001-08-15 Bill Haneman <bill.haneman@sun.com>
3596 * registryd/registry.c : separated event listeners to use
3597 3 separate lists (focus, window, toolkit). Began testing
3598 event names against hashes before relaying events.
3599 * test/at.c : now register for events of type "focus:"
3600 * test/app.c : now generate events of type "focus:"
3601 * at-bridge/bridge.c : register with ATK for focus events,
3602 and we now relay those focus events to any "focus:" listeners.
3603 This now works with the bridge as a GTK_MODULE when running test/at.
3604 * libspi/registry.c :
3605 * libspi/listener.c :
3606 now we ref event sources before propagating, and unref on receipt.
3607 * libspi/registry.c :
3608 some changes to internal structs, to support event typestring hashes.
3609 * text/app.c : changed the way the appname is generated.
3610 * cspi : added directory that will hold the C bindings library for
3611 non-CORBA/bonobo-savvy clients.
3612 * cspi/spi.h : header file that contains the function prototypes for the C binding.
3613 * idl/Component.idl : added in parameter to indicate coord system for
3614 geometry-related calls.
3615 * idl/Hyperlink.idl : added readonly n_links attribute
3616 * idl/Image.idl : changed methods to attributes.
3618 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3620 * at-bridge/Makefile.am: link against
3621 ../libspi/libspi.la instead of -lspi.
3623 * at-spi/test/app.c: include
3624 bonobo-activation.h. Use a default appname
3625 if one is not provided.
3627 2001-08-14 Bill Haneman <bill.haneman@sun.com>
3629 * idl/Registry.idl : temporarily changed register_Application
3630 to oneway, to work around issue with initial registration
3632 * idl/Application.idl : changed attribute "id" from readonly
3633 to read-write, since it needs to be assigned by Registry.
3634 * registryd/registryd.c : added call to set application id
3636 * registryd/registry.c : changed de-registration procedure to
3637 use CORBA_Object_hash() to find matching object ref in application
3638 lists and listener lists.
3639 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
3640 began distinguishing between event types (work in progress).
3642 2001-08-13 Bill Haneman <bill.haneman@sun.com>
3645 * libspi/application.c:
3646 Added implementations for get/set id, get_toolkitName,
3648 * registryd/registryd.c :
3652 Converted from use of OAF to bonobo-activation.
3653 * libspi/desktop.h :
3654 * libspi/desktop.c :
3656 Removed references to atksimpleobject, since base atkobject
3657 implementation now provides functionality we need.
3658 * libspi/atksimpleobject.c :
3659 * libspi/atksimpleobject.h :
3664 * at-bridge/Makefile.am
3665 * at-bridge/bridge.c
3668 Added directory "bridge" and contents, and added dependencies
3669 in Makefile.am/configure.in.
3670 Initial checkin of "at-bridge".
3671 This code is a GTK_MODULE which automatically registers
3672 GTK+ apps with the accessibility registry, using an object
3673 reference to the root ATK object.
3675 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3677 * po/Makefile.in.in: Remove. Again. If this
3678 doesn't get autogenerated - you need to update
3681 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3683 * po/Makefile.in.in: Add. Again.
3685 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3687 * libspi/accessible.c : added support for 'description' property.
3688 * libspi/accessible.c
3690 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3691 (since the two are now equivalent in libbonobo)
3699 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3700 Bonobo::Unknown as does Accessibility::Accessible.
3701 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3702 interface with Bonobo::Stream, since it was redundant with it.
3703 (The Stream returned by a StreamableContext object is expected to
3704 implement only a subset of Bonobo::Stream)
3706 2001-07-28 Anders Carlsson <andersca@gnome.org>
3708 * libspi/accessible.c (accessible_object_finalize): Change
3709 g_free to g_object_unref since the AtkObject is a GObject.
3711 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3713 * idl/Accessibility.idl: add new IDL files
3716 * idl/Action.idl: Definitions of actionable UI object
3717 * idl/Component.idl: Definitions of UI component geometry, etc.
3718 * idl/Hyperlink.idl: Defs of hyperlink behavior
3719 * idl/Image.idl: Def of accessible image
3720 * idl/Selection.idl: Definition of UI object with selectable children
3721 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3722 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3723 * idl/Text.idl: Interface defs for UI elements with complex textual content
3724 * idl/Value.idl: Definition of UI element that is a value controller or display
3726 2001-07-27 Michael Meeks <michael@ximian.com>
3728 * po/Makefile.in.in: remove autogenerated file from CVS.
3730 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3733 * idl/Registry.idl: include guard.
3735 * idl/Accessibility.idl: Add, and include all the other IDL
3738 * idl/*.idl: remove mass of pragmas etc.
3740 2001-07-26 Michael Meeks <michael@ximian.com>
3742 * registryd/Makefile.am (registryd_SOURCES): remove
3745 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3747 * libspi/.cvsignore, registryd/.cvsignore,
3748 test/.cvsignore: updated.
3750 * po/Makefile.in.in: gettext update.
3752 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3754 * initial CVS checkin
3756 2001-06-29 Michael Meeks <michael@ximian.com>
3758 * configure.in: add AM_CONFIG_HEADER to gen config.h