1 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4 Add missing declaration for magnifier_exit,
5 used by mag_control.c - Forte compiler didn't like
6 the implicit redeclaration of the function :-(
8 2002-04-16 Bill Haneman <bill.haneman@sun.com>
11 Revved version to 0.12 due to API change (see below).
13 * cspi/spi-roletypes.h:
14 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
15 definition from the inline docs, and added docs
16 for SPI_ROLE_LAST_DEFINED.
19 * cspi/spi_streamablecontent.c:
20 Added missing seek_type parameter to
21 (so far unused) method,
22 AccessibleStreamableContent_seek().
23 [ RT approval JodyG. ]
26 Fixed docs for SPI_createAccessibleKeystrokeListener.
28 * cspi/spi_registry.c:
29 Fixed docs for SPI_KEYSET_ALL_KEYS.
31 * docs/reference/cspi/at-spi-cspi-sections.txt:
32 Added a number of missing APIs to SECTIONS.
34 2002-04-16 Bill Haneman <bill.haneman@sun.com>
36 * registryd/Makefile.am:
38 * cspi/bonobo/Makefile.am:
39 Add $(X_LIBS) to makefiles.
41 2002-04-15 Bill Haneman <bill.haneman@sun.com>
44 Revved version to 0.11.
47 Added implementation for grabFocus.
49 * idl/Accessibility_Component.idl
50 (Accessibility_Component_grabFocus):
51 Made this method return boolean to indicate success or failure, to
52 be consistent with cspi and the corresponding ATK method.
54 * idl/Accessibility_Selection.idl
55 (Accessibility_Selection_selectAll) :
56 Made these methods return boolean to indicate success or
57 failure, to be consistent with cspi and the corresponding ATK methods.
59 * idl/Accessibility_EditableText.idl
60 (Accessibility_EditableText_setTextContents,
61 Accessibility_EditableText_insertText,
62 Accessibility_EditableText_cutText,
63 Accessibility_EditableText_deleteText,
64 Accessibility_EditableText_pasteText):
65 Made these methods return boolean to indicate
68 * cspi/spi_editabletext.c:
69 Made these methods return booleans.
73 * libspi/editabletext.c:
74 Connected the boolean returns from ATK
75 to the server-side code referenced above.
77 2002-04-14 Bill Haneman <bill.haneman@sun.com>
79 * idl/Accessibility_Table.idl: Added missing methods,
80 Accessibility_Table_addRowSelection,
81 Accessibility_Table_addColumnSelection,
82 Accessibility_Table_removeRowSelection,
83 Accessibility_Table_removeColumnSelection.
86 Added C wrappers for above IDL:
87 AccessibleTable_addRowSelection,
88 AccessibleTable_addColumnSelection,
89 AccessibleTable_removeRowSelection,
90 AccessibleTable_removeColumnSelection.
93 Added server-side implementation code for IDL above, connecting
94 to pre-existing ATK api.
96 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
98 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
100 * libspi/accessible.c: Added implementation fo
101 Accessibility_Accessible_get_state.
103 * libspi/libspi.h: Added stateset.h to the list of includes.
105 * libspi/stateset.c: Fixed broken implementation.
107 2002-04-13 Bill Haneman <bill.haneman@sun.com>
110 Added implementation code for Accessibility_Magnifier_exit ().
112 * util/mag_control.c:
113 Added test code for above method; you can
114 now kill an existing magnifier via
115 ./mag_control q, from the util directory.
117 * test/key-listener-test.c:
119 Added a new test, for our key listener API.
121 2002-04-11 Bill Haneman <bill.haneman@sun.com>
123 * test/app.c, test/keysynth-demo.c:
125 Replace use of snprintf with g_snprintf.
126 (fix for bugzilla 78249)
128 2002-03-27 Michael Meeks <michael@ximian.com>
132 * util/Makefile.am (INCLUDES): fix.
133 (DONT_DIST_SOURCE): don't distribute the
136 * libspi/Makefile.am (dist-hook): ditto.
138 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
140 * libspi/hypertext.c:
141 Fix warnings when yelp is used with atk-bridge
143 2002-03-21 Michael Meeks <michael@ximian.com>
145 * libspi/application.c (spi_application_new):
146 use spi_accessible_construct so we use the AtkObject
149 2002-03-19 Michael Meeks <michael@ximian.com>
151 * registryd/registry.c (desktop_remove_application),
152 (desktop_add_application): clean coding style.
154 * registryd/desktop.c (spi_desktop_remove_application),
155 (spi_desktop_add_application): kill re-enterency hazards.
156 (spi_desktop_dispose): remove bogus redundant cast
157 obscuring bug; fix bug too.
158 (spi_desktop_init): make the desktop object immortal.
160 2002-03-16 Bill Haneman <bill.haneman@sun.com>
163 Added a #define-guarded tree-traversal step
164 when enumerating the apps (diagnostic tool).
166 2002-03-15 Bill Haneman <bill.haneman@sun.com>
168 * idl/Accessibility_Role.idl:
169 Added ROLE_DRAWING_AREA which seemed to be missing from the
172 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
174 * cspi/spi-roletypes.h cspi/spi_accessible.c
175 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
178 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
179 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
180 AT when applications are added and removed from the desktop. This
181 reverts the previous broken implementation using the backing
182 AtkObject for the SpiDesktop.
184 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
186 * registryd/desktop.c: emit the "children-changed::add" and
187 "children-changed::remove" signals on the backing ATK object for
188 the desktop so AT can tell when applications are started and shut
191 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
193 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
195 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
197 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
199 * cspi/spi_accessible.c: Implemented c bindings for stateset support
201 * cspi/state-types.h: synched with IDL and ATK
203 2002-03-13 Bill Haneman <bill.haneman@sun.com>
205 * libspi/accessible.c
206 (impl_accessibility_accessible_get_child_at_index):
207 Change return value for g_return_if_fail ()
208 to CORBA_OBJECT_NIL instead of "0" (!)
210 * registryd/Makefile.am:
211 * registryd/Accessibility_Register.server.in:
212 Changed name of executable, "registryd",
213 to something more informative:
216 2002-03-13 Michael Meeks <michael@ximian.com>
218 * atk-bridge/bridge.c (atk_bridge_init): don't register
219 if we're in a bonobo-component, rather than a bonobo app.
221 2002-03-13 Michael Meeks <michael@ximian.com>
223 * atk-bridge/bridge.c (gtk_module_init): split
224 out body to (atk_bridge_init): here, since otherwise
225 we get symbol conflicts and oddness when invoked
226 from (gnome_accessibility_module_init): here (upd.)
228 2002-03-11 Bill Haneman <bill.haneman@sun.com>
231 New file. Explicitly allow "build sheriff" putbacks provided
232 they are tested on Solaris.
234 * docs/reference/cspi/Makefile.am:
235 Added '-' to the "cp" command for index.sgml.
236 ("patch by thomasvs, soon coming to a GUADEC near you")
239 Incremented version number (0.9.0) for new release.
240 Changed macro that checks for popt, to better detect
241 obsolete versions of popt.
244 Added X_LIBS to AC_SUBST, for applications
245 that call Xlib API directly.
248 2002-03-07 Bill Haneman <bill.haneman@sun.com>
251 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
254 Fix regression caused by hard-coding major
255 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
258 * test/test-simple.c (test_editable_text),
259 (test_test): revert previous change (error was
260 a regression in gail which is now fixed).
262 2002-03-04 Michael Meeks <michael@ximian.com>
264 * test/test-simple.c (test_editable_text),
265 (test_text): pass G_MAXINT instead of '-1' for
266 whole string - is this a good thing !?
268 * cspi/spi_accessible.c
269 (Accessible_getRelationSet): fix crasher bug
270 overwriting the end of the array.
272 * test/test-simple.c (validate_accessible): free,
273 not g_free returned relation set.
275 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
277 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
278 implemented stateset support
280 * idl/Accessibility_State.idl: Made necessary changes to
281 the IDL to support state sets.
283 2002-02-12 Bill Haneman <bill.haneman@sun.com>
285 * registryd/deviceeventcontroller.c:
286 Added implementation for generateMouseEvent.
288 * cspi/spi_registry.c:
289 Connected new implementation for generateMouseEvent
292 2002-02-12 Bill Haneman <bill.haneman@sun.com>
295 Incremented revision (but no change in public API
296 outside of 'utils', which are not installed public yet.)
298 * libspi/component.c:
299 Changed to use atk_component API for layers and
300 mdi_zorder, instead of deprecated atk_object API.
302 Magnification Utility Enhancements:
305 Added implementation of createZoomRegion, clearAllZoomRegions,
306 resizeZoomRegion. Added new commandline argument
307 "--no-initial-region". Note that clearAllZoomRegions doesn't
308 unmap the old '0' region as it should (yet), and the other
309 methods only work when creating/resizing a single region,
311 (Code for multiple region support will be added later.)
314 Now we raise the magnifier window each time it's refreshed;
315 this will help keep it on top.
318 Added simple wrappers for above, used by mag_control.
319 For general use, it's recommended to use the bonobo magnifier
320 control API directly instead of using these wrappers.
323 Moved ZoomRegionData from magnifier.c to this file.
325 * util/mag_control.c:
326 Added some code to exercise new IDL implementations.
328 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
330 * libspi/text.c: Provide implementation for getAttributes.
332 2002-02-04 Bill Haneman <bill.haneman@sun.com>
335 Incremented revision.
337 * test/test-simple.c:
338 Replaced use of deprecated g_main_iteration with
339 g_main_context_iteration.
341 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
344 Incremented revision for desktop alpha 2.
346 2002-01-28 Mark McLoughlin <mark@skynet.ie>
348 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
351 * test/simple-at.c: include netinet/in.h.
353 2002-01-24 Mark McLoughlin <mark@skynet.ie>
355 * cspi/spi_accessible.c: (Accessible_getRelationSet):
356 use NULL, not CORBA_OBJECT_NIL.
358 * libspi/accessible.c:
359 (impl_accessibility_accessible_get_relation_set):
360 allocate the sequence correctly.
362 * libspi/remoteobject.h: kill spi_remote_object_new.
364 * test/test-simple.c: (validate_accessible): add code
365 to test relation sets, now all we need is to figure
366 out how to excercise this code path :/
368 2002-01-18 Michael Meeks <michael@ximian.com>
371 (key_listener_cb): consume the key.
372 (test_keylisteners): update.
373 (main): wait for any pending unrefs on events.
375 * registryd/deviceeventcontroller.c
376 (spi_controller_update_key_grabs): only re-issue the
377 grab on a key release.
378 (spi_device_event_controller_forward_key_event):
379 refresh the keygrabs before we notify the listeners,
380 to reduce the X ungrab / re-grab race.
381 (spi_controller_register_with_devices): remove
382 XSelectInput - we do that with the gdk_window_ call.
383 (_spi_controller_device_error_handler): return a value.
384 s/GDK_DISPLAY/spi_get_display/
386 2002-01-17 Michael Meeks <michael@ximian.com>
388 * registryd/deviceeventcontroller.c
389 (_deregister_keygrab): don't blow out the later
392 * test/test-simple.c (test_keylisteners): do a
393 more intelligent validation.
395 2002-01-14 Michael Meeks <michael@ximian.com>
397 * atk-bridge/bridge.c
398 (gnome_accessibility_module_init),
399 (gnome_accessibility_module_shutdown): impl.
400 (gtk_module_init): protect vs. double inits.
401 (add_signal_listener): impl.
402 (spi_atk_bridge_state_event_listener): kill
403 (deregister_application): split out of
404 (spi_atk_bridge_exit_func): here.
406 2002-01-18 Bill Haneman <bill.haneman@sun.com>
409 Added caret tracking when using magnifier, and
410 now use text bounds for focus tracking of text elements, rather than
411 the component bounds - this is helpful for short text fields in long
412 table cells, at high magnification.
414 2002-01-16 Bill Haneman <bill.haneman@sun.com>
416 * registryd/deviceeventcontroller.c:
417 Regression fix for keylistener de-registration; global keygrabs
418 were not being released when deregisterKeystrokeListener was
419 called in cspi, since
420 Accessibility_DeviceEventController_deregisterKeystrokeListener
421 was called with a zero-length keyset. That is because the cspi
422 method, SPI_deregisterKeystrokeListener, does not take a keyset
423 parameter but instead should remove all the key grabs held be a
425 The code in impl_deregister_keystroke_listener was changed to copy
426 the keylist from the listener instance previously registered with
427 the DeviceEventController before releasing the grabs.
429 * registryd/registry.c:
430 * registryd/deviceeventcontroller.c:
431 * libspi/spi-private.h:
433 Changed spelling of "re-enterant" to "re-entrant" globally.
435 2002-01-16 Bill Haneman <bill.haneman@sun.com>
437 * test/test-simple.c:
438 Changed key listeners test - the test was slightly mis-using the
439 (admittedly poorly documented) SPI_generateKeyboardEvent API.
440 It now uses '=' as the key event listened to and generated,
441 relying on a keysym match rather than assuming that keycode 33
442 is always equal to keysym '!'.
444 2002-01-15 Bill Haneman <bill.haneman@sun.com>
447 Changed simple-at to use a specific keyset, rather than
448 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
449 manager, desktop, etc.
451 2002-01-11 Bill Haneman <bill.haneman@sun.com>
453 * registryd/deviceeventcontroller.c:
454 Replaced standard X error handler with a special handler that
455 is non-fatal for failed keygrabs. This works around
456 problems with keygrab clashes sometimes observed on
458 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
459 mouse handling code as yet).
461 2002-01-11 Bill Haneman <bill.haneman@sun.com>
464 Incremented revision for desktop alpha release.
467 Fixed a couple of the more glaring errors (still not
470 2002-01-11 Michael Meeks <michael@ximian.com>
472 * registryd/deviceeventcontroller.c
473 (spi_device_event_controller_forward_key_event): kill
474 XUngrabKey / XKeyGrab race.
475 (spi_controller_grab_keyboard): rename to
476 (spi_controller_update_key_grabs): this, and deal
477 with incremental adding / removing grabs more
479 (_register_keygrab): ensure we're not pending a remove.
480 (spi_grab_mask_free): impl.
481 (spi_controller_register_global_keygrabs): split out
483 (handle_keygrab): impl.
484 (_deregister_keygrab): impl.
485 (spi_controller_deregister_global_keygrabs): impl.
486 (spi_controller_update_key_grabs): re-issue the grab if
487 we just recieved a notification.
489 * test/test-simple.c (key_listener_cb): remove debug.
491 * registryd/deviceeventcontroller.c
492 (spi_controller_register_device_listener): after
493 registering a global keygrab, actualy register it !
494 don't wait for a timeout; doh !
496 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
497 to make it more readable / manipulable.
498 s/grabmask/grab_mask/ s/refcount/ref_count/
499 s/keyval/key_val/ s/modmask/mod_mask
501 2002-01-08 Michael Meeks <michael@ximian.com>
503 * registryd/deviceeventcontroller.c
504 (spi_controller_register_with_devices): use gdk calls to
506 (global_filter_fn): implement the filter.
507 (spi_device_event_controller_check_key_event): rename to
508 (spi_device_event_controller_forward_key_event): this & upd.
509 (spi_get_display): replace with GDK_DISPLAY.
511 * registryd/deviceeventcontroller.c
512 (spi_controller_deregister_device_listener): unroll into
513 (impl_deregister_keystroke_listener): here to simplify.
514 (spi_controller_register_global_keygrabs): split cut and
515 paste (!) out into (_register_keygrab): here, shorter & sweeter.
516 (spi_controller_deregister_device_listener): remove.
517 (impl_register_mouse_listener): remove, no mouse listener
518 support in at-spi-1.0
520 * registryd/registry.c
521 (_device_event_controller_hook): kill.
522 (spi_registry_init): upd.
524 * registryd/deviceeventcontroller.c
525 (spi_device_event_controller_class_init): upd.
526 (spi_check_key_event): merge into.
527 (spi_device_event_controller_check_key_event):
528 here and kill strange static ev init, don't leak
529 the x_event - nor dynamicaly allocate it.
531 * registryd/registry-main.c (main): re-direct
532 timeout to remove strange vtable mess.
534 * registryd/deviceeventcontroller.c
535 (remove_listener_cb): impl.
536 (spi_controller_deregister_device_listener):
537 fix re-enterancy hazard.
539 2002-01-07 Michael Meeks <michael@ximian.com>
541 * registryd/deviceeventcontroller.c
542 (spi_device_event_controller_new): upd.
543 (impl_notify_listeners_sync): upd. debug.
544 (spi_notify_keylisteners): fix re-enterancy hazards,
545 prettify, remove O(n*n) iteration.
546 (spi_controller_grab_keyboard): fix iteration.
547 (spi_check_key_event): re-format to suit coding style.
548 Clean all the warnings - we're warning free.
550 * registryd/deviceeventcontroller.h:
551 * registryd/registry.h: make mutualy referential with
552 typesafe forward references instead of (!) void pointer
555 2002-01-11 Michael Meeks <michael@ximian.com>
557 * cspi/spi_accessible.c (role_names): add a role name
558 to sync this array with the enum; and make the regression
561 2002-01-10 Michael Meeks <michael@ximian.com>
563 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
564 allow expansion of enumeration & kill warning.
566 * test/test-simple.c (key_listener_cb): impl.
567 (test_keylisteners): impl.
569 * cspi/spi-listener.h: make listener signatures const
570 on the provided (const) events.
572 * test/keysynth-demo.c: upd. to const events.
574 * test/simple-at.c: ditto.
576 2002-01-11 Bill Haneman <bill.haneman@sun.com>
579 Rev the version to 0.5 (the previous tarball was named 0.4,
580 even though the micro number was 3), so we need to rev upwards
581 again for beta2/"desktop-alpha"
584 Checked in a demo script, which requires editing before use!
585 Proceed with caution.
588 Fixed typo in header which was redefining SPI_ACTION_CLASS.
590 * cspi/spi_accessible.c:
591 Add a couple of missing enum initializations, and fix some enum
594 * cspi/spi_registry.c:
595 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
597 * docs/reference/cspi/at-spi-cspi-sections.txt:
598 Remove/fix a couple of broken document references.
601 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
602 as Alt-Control to listen for commands, since on some systems
603 Control-Alt may already be grabbed.
605 2002-01-10 Bill Haneman <bill.haneman@sun.com>
608 Update version number to 0.4 for Beta2.
610 * libspi/accessible.c, libspi/accessible.h:
611 Expose spi_accessible_construct, to enable libgail-gnome
612 construction from spi_accessible subtype.
615 Workaround for bug in some non-gnome-compliant window managers
616 which made magnifier resize improperly.
618 2002-01-09 Bill Haneman <bill.haneman@sun.com>
620 * libspi/accessible.c: (spi_accessible_new) :
621 Move the test for SPI_IS_REMOTE_OBJECT to
622 spi_accessible_new_return, fixing a bug and compile time warning.
624 2002-01-08 Michael Meeks <michael@ximian.com>
626 * registryd/registry.c (parse_event_type): remove strndup.
628 * libspi/Makefile.am (libspi_la_SOURCES): remove
629 sources already included in the headers section.
631 * libspi/util.c: add.
633 * libspi/spi-private.h: add.
635 * registryd/registry.c: update to moved list iterators.
637 2002-01-05 Michael Meeks <michael@ximian.com>
639 * test/simple-at.c (main): upd. auto-module set to atk-bridge
641 * test/test-simple.c (main): ditto.
643 2002-01-04 Michael Meeks <michael@ximian.com>
645 * libspi/accessible.c (spi_accessible_new): remove 2nd,
648 * registryd/registry.c
649 (get_listener_list): impl.
650 (impl_accessibility_registry_register_global_event_listener):
651 re-impl. to simplify using ~, remove dodgy const cast off.
652 (parse_event_type): constify.
653 (impl_accessibility_registry_deregister_global_event_listener_all):
654 re-write, more efficiency and simplicity, kill re-enterancy
656 (compare_listener_corbaref, compare_corba_objects),
657 (compare_listener_quarks): define out.
658 (impl_accessibility_registry_deregister_global_event_listener):
659 re-write for effiency, and nail re-enterancy hazard.
660 (impl_accessibility_registry_get_desktop_list): impl.
661 (re_enterant_list_delete_link): impl.
662 (re_enterant_list_foreach): impl.
663 (remove_listener_cb): impl.
664 (_registry_notify_listeners): kill.
665 (notify_listeners_cb): impl.
667 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
668 (SPI_getDesktopList): impl.
670 * test/test-simple.c (test_desktop): test the methods.
672 2002-01-03 Michael Meeks <michael@ximian.com>
674 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
675 keystrings since we free them
676 (SPI_freeAccessibleKeySet): in here.
678 * libspi/accessible.c (spi_accessible_new): kill warning,
679 wonder what is going on with the constructor here.
681 2002-03-01 Bill Haneman <bill.haneman@sun.com>
683 * libspi/accessible.c (spi_accessible_new ()) :
684 Added check to see if AtkObject is an SpiRemoteObject before
685 creating an SpiAccessible.
687 2002-05-01 Bill Haneman <bill.haneman@sun.com>
689 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
690 Enable keygrabs using the Control modifier, now that they are
691 working properly (they were previously disabled).
694 Change the command keygrab for this demo to "Control+Alt", so as
695 to conflict with fewer other key commands on the system; this
696 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
698 Removed a pointlessly-chatty keylistener for unshifted keys
699 (shifted keys are still reported).
701 2002-02-01 Bill Haneman <bill.haneman@sun.com>
703 * libspi/remoteobject.h:
704 * libspi/remoteobject.c:
705 Added definitions for special AtkObject subtype, required for
706 support of remote components (specifically, used by BonoboControl
707 accessibility implementation).
709 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
711 * cspi/spi.h: synched relation types with ATK
713 * cspi/spi_accessible.c: Added implementations of
714 AcccessibleRelation_* methods
716 * idl/Accessibility_Relation.idl: added getRelationTypeName
717 method. Synched known relation types with ATK. Allowed for
718 relation type extension with the RELATION_EXTENDED type.
720 * libspi/relation.c: Provided implementations for
721 AccessibleRelation methods.
723 2002-01-01 Bill Haneman <bill.haneman@sun.com>
725 API tweaks for today's API 'freeze'.
728 Added placeholder functions to allow future compatible expansion
729 of the IDL interfaces.
731 * idl/Accessibility_Registry.idl:
732 Changed generateKeyEvent to generateKeyboardEvent. Changed
733 signature of this method to accept an optional keystring in
734 parameter (for complex text input synthesis) and changed use of
735 simple 'boolean' parameter in registerKeystrokeListener to a
736 struct, EventListenerMode.
738 * cspi/spi_accessible.c:
740 * cspi/spi_streamablecontent.c:
741 Added references to AccessibleStreamableContent interface, and
742 definition and implementation of AccessibleStreamableContent
745 * cspi/spi_registry.c:
747 Changed generateKeyEvent API to generateKeyboardEvent,
748 taking a new (optional) keystring parameter to support complex
753 Renamed directory (to better reflect its actual purpose, bridging
754 from at-spi to ATK). The .so module is also now named
757 * idl/Accessibility_Hypertext.idl:
758 * libspi/accessible.c:
759 * libspi/hypertext.h:
760 * libspi/hypertext.c:
761 Changed Accessibility_Hypertext to *not* derive from
764 * cspi/spi_registry.c:
765 Added list of legal event type names for 'window' events, which
766 completes the registry event API.
768 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
770 * at-bridge/bridge.c: Added registration for separate
771 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
772 signals. If either of the first two parameters to the generic
773 bridge signal handler are ints, they are passed on as event
774 details. This allows an AT to determine what text was inserted.
776 2001-12-21 Bill Haneman <bill.haneman@sun.com>
778 * registryd/deviceeventcontroller.c:
779 Fixed regressions in generateKeyEvent caused by the removal of
780 gdk_init from registryd; we now use pure X calls to connect to the
781 display, which makes sense because deviceeventcontroller already
782 uses a fair bit of X API (should eventually be migrated to a
783 'portability layer').
785 * registryd/desktop.c:
786 Fixed minor regression in spi_desktop_init, changed the way the
787 desktop name is being set to work with new spi_base API
788 (gobject-based, rather than AtkObject-based).
790 * registryd/Makefile.am:
791 Minor revision of makefile to use XTST_LIBS variable rather than
792 hard-wiring the Xtst LD_ADD element.
794 * test/keysynth-demo.c:
795 Tweaked an output message; added initialization of the
796 'keystrings' member of the "switch listener" key_set.
799 Squashed compile-time warning.
801 * libspi/accessible.c:
802 Cosmetic and formatting fixes, renamed a static method.
804 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
806 * libspi/accessible.c
808 * libspi/application.c
812 * libspi/editabletext.c
820 * registryd/desktop.c:
821 Changed SpiBase to contain a GObject pointer rather than an AtkObject
823 2001-12-17 Bill Haneman <bill.haneman@sun.com>
825 * idl/Accessibility_Registry.idl:
826 Added boolean member 'is_text' to DeviceEvent. This is for the
827 use of key events, and helps prevent ambiguity between composed
828 key strings and keysym names, since both may potentially be
829 returned in the 'event_string' member.
831 * at-bridge/bridge.c:
832 * registryd/deviceeventcontroller.c:
833 Use the 'is_text' member when notifying device event listeners.
834 Knon issue: composed characters are not dealt with correctly by
835 the global key listener implementation yet.
837 2001-12-17 Bill Haneman <bill.haneman@sun.com>
839 * at-bridge/bridge.c:
840 Namespaced local static methods to spi_atk_bridge_* where
841 previously named bridge_*, and spi_* elsewhere.
843 * at-bridge/bridge.c:
844 * cspi/bonobo/cspi-bonobo-listener.c:
845 Added demarshalling/conversion for string member of
846 Accessibility_DeviceEvent to AccessibleKeystroke.
848 * registryd/deviceeventcontroller.c:
849 Added code to fill the Accessibility_DeviceEvent key string value
850 member for global key events (i.e. from XGrabKey), to match
851 behavior of Accessibility_DeviceEvent from the toolkit key events
852 from the bridge. Fixed timestamp in global key event notifications.
855 Added printout of key event's string value to
856 report_ordinary_key_event, for demo/debugging purposes.
858 2001-12-15 Bill Haneman <bill.haneman@sun.com>
860 * idl/Accessibility_Registry.idl:
861 Removed Accessibility_KeyStroke structure in favor of generic
862 Accessibility_DeviceEvent structure.
863 Changed Accessibility_ControllerEventMask from a struct to an
866 * at-bridge/bridge.c:
867 Changed APIs to use DeviceEvent structure as above, and removed
868 bogus casting between these event structures.
870 * cspi/spi-listener.h:
871 Added keystring member of AccessibleKeystroke structure, to enable
872 matching on event "names" rather than only hardware codes and
876 Added keystrings member of AccessibleKeySet struct, to allow
877 matching on event names (as above).
878 Added declarations for SPI_createAccessibleKeySet and
879 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
880 event modmasks directly as unsigned ints rather than structs with
881 refcounts, in the DeviceEventController methods.
883 * cspi/spi_registry.c:
884 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
886 * cspi/spi-roletypes.h:
887 Added documentation of newly added SPI Roles.
889 * cspi/bonobo/cspi-bonobo-listener.c:
890 Changes in support of API changes above.
892 * libspi/accessible.c:
893 Converted APIs to use DeviceEvent structure (see IDL changes
896 * registryd/deviceeventcontroller.c:
897 Added DEControllerGrabMask structure to track keygrabs not only by
898 modmask but by keyset as well; this allows us to do "global"
899 (i.e. X) keygrabs on a per-key or keyset basis rather than always
900 grabbing on AnyKey and then filtering after-the-fact.
901 Bugfixes for event filtration mean that we don't get false matches
902 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
904 * registryd/deviceeventcontroller.c:
905 Namespaced a number of static methods to use spi_ prefix. Major
906 revision to internals of global (i.e. X) key grabs.
908 * registryd/deviceeventcontroller.h:
909 Removed keymask_list and added keygrabs_list to
910 SpiDeviceEventController struct.
913 Added use of SPI_createAccessibleKeySet API when creating a
914 listener for only one key. Attach a listener to "shift spacebar
915 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
916 X key event names to SPI key event names, so that listeners are
917 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
919 * test/keysynth-demo.c:
920 Changed (incorrect) use of X key event names (KeyPressed,
921 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
924 2001-12-12 Bill Haneman <bill.haneman@sun.com>
926 * libspi/accessible.c:
927 Convert all AtkRole enumerations to Accessibility_Role enums when
928 getting a role from an AtkObject.
930 * cspi/spi_accessible.c:
931 Complete the conversion of Accessibility_Role enums at runtime to
932 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
933 role enums correctly match those given in spi-roletypes.h.
934 Re-synchronize the local names list for AccessibleRole_getName ().
935 AccessibleRole_getName is now deprecated, since it duplicates the
936 more reliable Accessible_getRoleName.
937 Added some role types from Accessibility_Role.idl.
939 * idl/Accessibility_Role.idl:
940 Added some role types used by AtkRole.
942 2001-12-12 Bill Haneman <bill.haneman@sun.com>
945 * cspi/spi_registry.c:
947 * cspi/cspi-bonobo-listener.c:
948 Namespaced all methods that did not begin with an "SPI_" or
949 "Accessible" prefix to "SPI_".
952 Homogenized internal function namespace to "cspi_" for statics.
955 Patched tests to use the new CSPI API.
957 * docs/reference/cspi/at-spi-cspi-sections.txt:
958 Updated docs to reflect namespace changes, and added a number of
959 methods to the documentation.
961 * registryd/registry.c:
962 Changed use of strings and string hashes in listener event
963 matching and parse_event_string to use GQuark, which is guaranteed
966 * registryd/registry.h:
967 Squashed annoying warning.
969 * idl/Accessibility_Role.idl:
970 Extended range of available Accessibility_Role values.
972 * cspi/spi_accessible.c:
973 Re-ordered role names.
975 2001-12-12 Bill Haneman <bill.haneman@sun.com>
977 * idl/Accessibility_Value.idl:
978 Revert use of union back to CORBA_double, since the double type is
979 more efficient and can contain the other types without loss of
982 * idl/Accessibility_Accessible.idl:
983 Added method Accessibility:Accessible:getRoleName, to complement
984 Accessibility:Accessible:getRole.
986 * cspi/spi_accessible.c:
988 Added C binding for above, Accessible_getRoleName (), and changed
989 signature of Accessible_getRole () to return an AccessibleRole.
991 * cspi/spi-roletypes.h:
992 Changed AccessibleRole_getName to return a char * instead of a
993 const char *. This method is now at least temporarily deprecated
994 in favor of asking Accessibles for their RoleNames directly.
997 Revert to match Accessibility_Value.idl;
1001 Change signature of AccessibleValue methods to use double rather
1005 * cspi/spi_accessible.c:
1006 Changed Accessible_getRole to return an AccessibleRole enum rather
1007 than a UTF-8 string. The UTF-8 string can still be obtained via
1008 AccessibleRole_getName ().
1010 * test/test-simple.c:
1011 Add test_action. Small fixup to match API change to Accessible_getRole.
1014 Bugfix for get_action_from_servant ().
1016 2001-12-11 Michael Meeks <michael@ximian.com>
1018 * libspi/libspi.h: remove registry.h and
1019 desktop.h, deviceeventcontroller.h
1021 * libspi/Makefile.am: remove registry.[ch],
1022 desktop.[ch], deviceeventcontroller.[ch]
1024 * registryd/Makefile.am: add registry.[ch],
1025 desktop.[ch], rename registryd.c to registry-main.c.
1026 add deviceeventcontroller.[ch]
1028 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1031 Replace setenv() call with putenv ().
1033 * libspi/component.c:
1034 Bugfix in AccessibleComponent_getExtents (),
1037 2001-12-11 Michael Meeks <michael@ximian.com>
1039 * libspi/image.c (impl_getImageExtents): impl.
1040 (spi_image_class_init): upd.
1043 (AccessibleImage_getImageDescription): fix daft bug
1046 * test/test-simple.c (global_listener_cb): update
1047 to only quit if not --poke
1048 (main): catch --poke.
1049 (validate_accessible): upd. dumping, call test_image
1052 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1055 * idl/Accessibility.idl: update all IDL includes.
1057 * idl/*.idl - rename to namespace - this sucks, blame
1058 mjs' bad decision for oafd.
1060 * test/test-simple.c (create_test_window): add more tests.
1061 (create_tree): split this out.
1062 (validate_accessible): bugfix.
1064 2001-12-11 Michael Meeks <michael@ximian.com>
1066 * cspi/bonobo/cspi-bonobo-listener.c:
1067 (cspi_kestroke_listener_unref),
1068 (cspi_event_listener_unref): impl. undoing previous
1069 homenous environment - for Bill.
1071 * cspi/spi_table.c (long_seq_to_array): use
1074 * cspi/spi_main.c: split out all bonoboish bits into
1077 * cspi/spi-impl.h: upd. typedefs.
1079 * cspi/spi_registry.c: update to lowlevel API,
1080 return booleans to indicate success in some places.
1082 * cspi/spi_event.c: update to lowlevel API.
1084 * cspi/bonobo/Makefile.am: add.
1086 * cspi/bonobo/cspi-lowlevel.h: add
1088 * cspi/bonobo/cspi-bonobo.c: add
1090 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1092 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1093 (SUBDIRS): add bonobo, link in the libs.
1095 * cspi/spi-util.c: kill this file.
1097 * TODO: merge in my bits.
1099 2001-12-11 Michael Meeks <michael@ximian.com>
1101 * test/test-simple.c (test_value, test_table, main):
1102 remove unused variables causing warnings.
1104 * configure.in: cleanup checks - require gail.
1106 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1109 Changed Value interface to use SValue (scalars) rather than
1110 assuming all values are floats. This allows floats, doubles,
1111 longs, shorts, and unsigned values to be manipulated.
1112 Introduced Accessibility:SValue union.
1115 Updated to use new API above, and to work correctly with GValues
1116 of different types in AtkValue.
1119 Updated to use new API above. cspi's API is as yet unchanged.
1122 Updated the Value revision action item.
1124 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1126 * test/test-simple.c:
1127 Added test_table (GtkTreeView widget in test window to follow).
1128 Un-commented test_value, added GtkRange widget.
1129 Added GtkTreeView widget with GtkListStore. It passes regression
1130 test but leaks one SPI object for some reason.
1133 Fixed bug in impl__set_currentValue.
1135 2001-12-10 Michael Meeks <michael@ximian.com>
1137 * cspi/spi_text.c: audit for exception handling,
1138 tolerating NULL object references safely etc.
1140 * cspi/spi_value.c: ditto.
1142 * cspi/spi_table.c (AccessibleTable_getSummary),
1143 (AccessibleTable_getAccessibleAt),
1144 (AccessibleTable_getRowHeader),
1145 (AccessibleTable_getColumnHeader),
1146 (AccessibleTable_getCaption): fix bugs hidden by
1148 (long_seq_to_array): impl.
1149 (AccessibleTable_getSelectedRows),
1150 (AccessibleTable_getSelectedColumns): use it.
1152 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1155 Added a TODO list (rough and short for now).
1157 * cspi/spi_hyperlink.c:
1158 * cspi/spi_hypertext.c:
1159 Fixed macro name typos, and remove use of obsolete macro in
1160 AccessibleHyperlink_getLink.
1162 * cspi/spi_action.c:
1163 * cspi/spi_accessible.c:
1164 * cspi/spi_application.c:
1165 * cspi/spi_component.c:
1166 * cspi/spi_selection.c:
1169 Documentation fixes (removed return values from ref/unref methods).
1171 2001-12-10 Michael Meeks <michael@ximian.com>
1173 * cspi/spi_action.c: audit for exception handling,
1174 tolerating NULL object references safely etc.
1176 * cspi/spi_accessible.c: ditto.
1178 * cspi/spi_component.c: ditto.
1180 * cspi/spi_editabletext.c: ditto.
1182 * cspi/spi_hyperlink.c: ditto.
1184 * cspi/spi_hypertext.c: ditto.
1186 * cspi/spi_image.c: ditto.
1188 * cspi/spi_selection.c: ditto.
1190 2001-12-10 Michael Meeks <michael@ximian.com>
1192 * configure.in: use cspi/libspi.pc.in instead.
1194 * Makefile.am (pkgconfig_DATA): upd. to match.
1196 * test/simple-at.c (report_focus_event): kill hacks around
1197 bad return values, use putenv not setenv
1199 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
1200 fire ChildGone - I killed it.
1202 * libspi/component.c
1203 (impl_accessibility_component_get_extents): remove
1206 * idl/Accessible.idl: kill ChildGone exception.
1208 * cspi/*.[ch]: kill int return from ref / unref.
1210 * cspi/spi_main.c (cspi_object_add_check): fold into
1211 (cspi_object_add): here.
1213 * cspi/spi_component.c (AccessibleComponent_getExtents):
1214 handle exceptions elegantly.
1216 * cspi/spi-private.h (cspi_check_ev_return),
1217 (cspi_return_if_fail): impl.
1219 * cspi/spi_accessible.c: use extensively.
1220 (AccessibleStateSet_equals): add direct compare check.
1222 * cspi/spi_selection.c: tolerate NULL objs, and check
1223 exceptions before return.
1225 * cspi/spi-util.c (cspi_warn_ev): rename to
1226 (cspi_check_ev): this & don't pass ev in; no point.
1228 2001-12-10 Michael Meeks <michael@ximian.com>
1230 * test/test-simple.c: use putenv not setenv
1231 (get_environment_vars): more chatty if you're not using
1234 * test/simple-at.c: do the setenv so more people see the
1237 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1239 * libspi/registry.c:
1240 Changed check of CORBA_environment on notification to be a warning
1241 instead of an error for the moment, since we can recover from this
1242 error when caused by a queued notification from a dead app.
1245 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
1246 used by all current implementors of AtkValue), and coerce to
1247 CORBA_float. (Proper general case fix may require change to Value.idl).
1249 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1253 * cspi/spi_accessible.c:
1254 Documentation fixes: added user_data params to documentation for
1255 listeners and callbacks.
1257 * cspi/spi_accessible.c:
1258 Changed AccessibleStateSet_compare to return a
1259 StateSet rather than return the difference set into a third parameter.
1262 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1265 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
1266 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
1270 Remove subdirectory po from SUBDIRS for now.
1272 * at-bridge/bridge.c:
1273 Beefed up a couple of debug printouts.
1274 One-line fix for signal notification name formatting.
1276 * libspi/accessible.c:
1277 Added assertion to spi_accessible_new ().
1279 * libspi/application.c:
1280 Put #ifdef qualifiers around a printf.
1283 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
1285 * registryd/Makefile.am:
1287 Replaces use of XML_I18N_MERGE_SERVER_RULE with
1288 INTLTOOL_SERVER_RULE macro.
1291 Added an event listener for several ATK signals, for
1292 testing and debugging. Removed a few g_warnings.
1293 Added test output if focussed item implements the Value interface.
1295 * test/test-simple.c:
1296 Added test_value () function (known not to pass at the moment, so
1297 not actually called yet.
1299 2001-12-08 Michael Meeks <michael@ximian.com>
1301 * at-bridge/bridge.c (bridge_focus_tracker),
1302 (emit_eventv): fix the same ref. leak.
1303 (register_atk_event_listeners): don't leak.
1305 * cspi/spi-listener-impl.c (cspi_event): more
1306 protection from client code.
1308 * test/test-simple.c (test_desktop): unref the app.
1310 * test/Makefile.am: upd. TESTS.
1312 * at-bridge/bridge.c (bridge_exit_func): release the registry.
1314 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
1316 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
1318 * cspi/spi_registry.c: constify in strings.
1319 (deregisterGlobalEventListenerAll): don't release the ref.
1321 * cspi/spi.h: start removing redundant / conflicting
1322 gtkdoc comments, making the API readable at a glance :-)
1324 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
1326 * test/keysynth-demo.c (keysynth_exit, main): upd.
1328 * test/simple-at.c (main, simple_at_exit): upd.
1330 * test/test-simple.c (unutterable_horror): kill.
1331 (utterable_normal_derefs): kill.
1332 (main): upd & do a setenv before gtk_init, so that we
1333 can use memprof - and to save the pain of remembering
1334 this, if we're running under memprof - don't exit.
1336 * cspi/spi_main.c (SPI_exit): return exit status
1338 (SPI_event_quit): impl.
1339 (SPI_event_main): simplify.
1340 (cspi_is_gnome_app): kill.
1341 (SPI_init): kill isGNOMEapp arg.
1343 * at-bridge/bridge.c (register_atk_event_listeners):
1344 re-instate the unref.
1345 (bridge_exit_func): don't re-activate the registry,
1346 protect vs. theoretical re-entry, use the
1347 AT_BRIDGE_SHUTDOWN env. var to determine whether to
1348 assert a clean shutdown - for regression tests.
1350 2001-12-08 Abel Cheung <maddog@linux.org.hk>
1352 * configure.in: Comment out dummy i18n support for now,
1353 otherwise it fails to build.
1354 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
1355 EXTRA_DIST. They are missing in tarball.
1357 2001-12-07 Michael Meeks <michael@ximian.com>
1359 * util/magnifier.c: kill bonobo activation reg. race.
1361 * libspi/component.c
1362 (impl_accessibility_component_get_extents): make it match
1365 * libspi/registry.c (_registry_notify_listeners):
1366 re-remove X headers & reconcile conflicts.
1367 (spi_listener_struct_free): bad conflict resolve.
1368 (impl_accessibility_registry_register_application):
1369 more bad merging fixed.
1370 (impl_accessibility_registry_deregister_application): ditto.
1371 (spi_registry_new): ditto.
1372 (spi_registry_init): don't have an applications field.
1374 [ merge fixups2 branch to here ]
1375 2001-12-07 Michael Meeks <michael@ximian.com>
1377 * test/simple-at.c (report_focus_event),
1378 (report_focussed_accessible): remove g_warning debug.
1380 2001-12-07 Michael Meeks <michael@ximian.com>
1382 * test/test-simple.c (validate_tree): comment out some checks.
1383 (test_desktop): app now not registered idly - horay.
1385 2001-12-07 Michael Meeks <michael@ximian.com>
1387 * cspi/spi_registry.c
1388 (registerAccessibleKeystrokeListener): clean, stop it leaking
1389 great swathes of memory, and device event controller references.
1390 ensure we always pass valid sequences.
1391 (deregisterAccessibleKeystrokeListener): ditto.
1392 (generateKeyEvent): upd.
1394 * at-bridge/bridge.c (bridge_key_listener): handle
1395 registry dead exception gracefully.
1396 (bridge_focus_tracker, emit_eventv): free ev.
1398 * test/simple-at.c (report_focus_event): fix polarity.
1400 * libspi/application.c (notify_listeners): kill the ev
1401 argument, and make sure we init the ev we use.
1402 (spi_application_object_event_listener): split out a chunk
1403 (get_atk_object_ref): here & fixup.
1404 (reverse_lookup_name_for_toolkit_event): make const.
1405 (spi_application_toolkit_event_listener): fixup, kill leaks
1408 * at-bridge/bridge.c (register_atk_event_listeners):
1409 don't unref the noop object - causes grief.
1411 * libspi/registry.c: remove the X headers.
1412 turn off the debug churn.
1414 * libspi/accessible.c (spi_accessible_new_return): only
1415 release the ref if we are supposed to [doh]
1417 * test/simple-at.c (report_button_press, report_focus_event):
1418 guard vs. unexpected exit.
1420 * at-bridge/bridge.c (gtk_module_init): prune printf.
1421 (bridge_exit_func): fix app unref.
1423 * libspi/Makefile.am: don't install registry or desktop.h
1425 * libspi/*.h: update includes.
1427 * libspi/application.h: don't include ourself, or
1428 other redundant headers.
1430 2001-12-06 Michael Meeks <michael@ximian.com>
1432 * libspi/accessible.c
1433 (get_accessible_from_servant): impl.
1434 Upd. all CORBA impl.s to use it killing cut and paste.
1436 * cspi/spi_main.c (cspi_cleanup): guard vs. double
1438 (SPI_init): register atexit cleanup handler here.
1440 2001-12-06 Michael Meeks <michael@ximian.com>
1442 * at-bridge/bridge.c (gtk_module_init): g_error on
1443 activation exception
1445 2001-12-06 Michael Meeks <michael@ximian.com>
1447 * at-bridge/bridge.c (gtk_module_init): some sort of
1448 confusing merge clash - reverted.
1449 (bridge_idle_init): ditto.
1451 * test/test-simple.c (main, utterable_normal_derefs):
1452 merge from Bill - somehow not committed.
1454 2001-12-06 Michael Meeks <michael@ximian.com>
1456 * libspi/value.c (spi_value_class_init): upd.
1457 (spi_value_finalize): kill.
1459 * libspi/table.c (spi_table_finalize): kill.
1460 (spi_table_interface_new): upd.
1461 (spi_table_class_init): upd.
1462 (get_table_from_servant): impl.
1463 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1465 * libspi/selection.c (spi_selection_finalize): kill.
1466 (spi_selection_interface_new): upd.
1467 (spi_selection_class_init): upd.
1468 (get_selection_from_servant): impl.
1469 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1471 * libspi/relation.c (spi_relation_finalize): kill.
1472 (spi_relation_class_init, spi_relation_new): upd
1474 * libspi/image.c (spi_image_finalize): kill.
1475 (spi_image_class_init): upd.
1476 (spi_image_interface_new): upd.
1477 (get_image_from_servant): impl.
1478 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1480 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
1481 (spi_hyperlink_finalize): kill.
1482 (spi_hyperlink_new): upd.
1483 (get_hyperlink_from_servant): impl.
1484 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1486 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
1487 (spi_hypertext_finalize): kill.
1488 (spi_hypertext_class_init): upd.
1489 (get_hypertext_from_servant): impl.
1490 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1492 * libspi/editabletext.c (spi_editable_text_finalize): kill.
1493 (spi_editable_text_interface_new): upd.
1494 (get_editable_text_from_servant): impl.
1495 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1497 * libspi/text.c (get_text_from_servant): impl.
1498 All impls - update to use it killing more cut and paste,
1499 also fix bad string returns on duff args ( a somewhat
1500 impossible case to handle - but hey ).
1501 (spi_text_construct): impl.
1502 (spi_text_interface_new): upd.
1503 (spi_text_object_finalize): kill.
1505 * libspi/component.c
1506 (accessibility_component_object_finalize): kill.
1507 (spi_component_class_init): upd.
1508 (get_component_from_servant): impl. helper to kill cut & paste.
1509 (impl_accessibility_component_contains):
1510 (impl_accessibility_component_get_accessible_at_point):
1511 (impl_accessibility_component_get_position):
1512 (impl_accessibility_component_get_extents):
1513 (impl_accessibility_component_get_mdi_z_order):
1514 (impl_accessibility_component_get_layer):
1515 (spi_component_interface_new): upd.
1517 * libspi/action.c (spi_action_finalize): kill.
1518 (spi_action_class_init): upd. inherit from SpiObject.
1519 (spi_action_interface_new): upd.
1520 (get_action_from_servant): impl. helper to reduce cut & paste.
1521 (impl_getKeyBinding, impl_getName, impl_doAction),
1522 (impl_getDescription): Use it everywhere.
1524 * cspi/spi_main.c (get_live_refs): a pointer hash.
1525 (spi_object_hash, spi_object_equal): comment out.
1526 There are issues with CORBA object hashing that need
1529 * libspi/application.c (spi_application_init),
1530 (spi_application_new): upd.
1532 * libspi/accessible.c (spi_accessible_object_finalize): kill.
1533 (spi_accessible_class_init): upd.
1534 s/accessible/object/ in epv methods.
1536 2001-12-05 Bill Haneman <bill.haneman@sun.com>
1538 * at-bridge/bridge.c:
1539 Reorder the bridge initialization into the bridge gtk_module_init,
1540 an immediate call to bridge_register_app, and an idle_add for
1541 register_atk_event_listeners (the only code that *must* wait until
1542 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
1543 the activation, creates the application's Accessible object, and
1544 queues the bridge_idle_init function. Restored call to
1545 Accessibility_Registry_deregisterApplication().
1546 Prior to making this call we obtain a new reference to the
1547 registry, which is a temporary hack that helps us handle apps that
1548 shut down the bonobo mainloop before we get there.
1550 * libspi/registry.c:
1551 Fix string leakage in debug block, and don't segv if a an app
1552 dies before its event notifications have been propagated.
1555 Modify cspi_check_ev() to call g_warning() rather than g_error(),
1556 as stopgap measure until we get proper exception handling when
1557 objects die during or before interrogation.
1561 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
1562 Also changed default value of is_gnome_app to TRUE.
1565 * test/keysynth-demo.c:
1566 Changed use of SPI_init and SPI_event_main to reflect API change above.
1569 Made report_focus_event check the warning value from getName
1570 before reporting on focussed accessible; simplifies handling of
1571 notifications from dead objects.
1573 * test/test-simple.c: (Changes not in this patch since source is
1576 2001-12-05 Michael Meeks <michael@ximian.com>
1578 * registryd/registryd.c (main): protect against
1579 bonobo-activation startup race condition.
1581 * cspi/spi_main.c (cspi_object_add_check): cope
1582 with the exception elegantly.
1584 * idl/Accessible.idl: decl. ChildGone
1586 * libspi/desktop.c (spi_desktop_dispose): impl.
1587 (spi_desktop_class_init): upd.
1588 (spi_desktop_add_application),
1589 (spi_desktop_remove_application),
1590 (abnormal_application_termination): impl.
1591 (impl_desktop_get_child_at_index): re-impl.
1594 (impl_accessibility_registry_deregister_application),
1595 (impl_accessibility_registry_register_application):
1596 kill excessive debug clutter.
1598 * test/test-simple.c (test_misc): test some NULL
1599 tolerance. (main): upd.
1601 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
1602 implements no interfaces - so let's not crash.
1604 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
1606 * libspi/accessible.c (spi_accessible_new_return): impl.
1607 helper to calm the cut and paste, to cope with
1608 NULL AtkObjects effectively and efficiently, and to kill
1609 the referencing bugs.
1611 * libspi/table.c (impl_getAccessibleAt),
1612 (impl_getRowHeader, impl_getColumnHeader): upd.
1614 * libspi/hyperlink.c (impl_getObject): upd.
1616 * libspi/accessible.c
1617 (impl_accessibility_accessible_get_child_at_index): upd.
1619 * libspi/component.c
1620 (impl_accessibility_component_get_accessible_at_point): upd.
1622 * test/test-simple.c (test_editable_text, test_text): impl.
1625 * cspi/spi_editabletext.c
1626 (AccessibleEditableText_insertText): constify.
1628 * test/test-simple.c (focus_me): make more robust.
1630 * libspi/accessible.c: remove some printfs in methods that
1631 we test and work fine, so we can get a clean tree dump.
1633 * test/test-simple.c (validate_accessible),
1634 (validate_tree): make tree dumping pretty too.
1636 * at-bridge/bridge.c (bridge_signal_listener): upd. so
1637 it builds without debug on.
1639 * test/test-simple.c (validate_accessible): fix the most
1642 * cspi/spi_main.c (spi_object_release): leave the nicely
1643 blanked memory around if in debug mode.
1645 * cspi/spi-listener-impl.c (cspi_event): use add_check.
1647 [committed to fixups2]
1648 2001-12-05 Michael Meeks <michael@ximian.com>
1650 * libspi/editabletext.c
1651 (spi_editable_text_class_init): g_type_class_peek_parent,
1652 not interface peek - so we finalize cleanly.
1654 * libspi/accessible.c (spi_accessible_new): kill debug.
1656 * test/test-simple.c (validate_accessible): fix ref.
1657 leak, print strings before freeing them; sigh, comment a
1658 chunk out due to strangeness.
1659 (validate_tree): unref the child after use.
1661 * cspi/spi_component.c (AccessibleComponent_getLayer):
1662 add missing break statement, switch on zlayer not the
1663 uninitialized retval.
1665 * cspi/spi_main.c (cspi_object_add): add assert, local ref
1666 before (possibly re-entering) remote unref.
1668 * test/simple-at.c (main): unref the desktop.
1670 * cspi/spi_accessible.c (cspi_accessible_is_a): move
1673 * cspi/spi_main.c (cspi_accessible_is_a): here to
1674 isolate bonobo API usage more.
1676 * libspi/registry.c (impl_accessibility_registry_register_application):
1677 prune bogus comment.
1679 2001-12-04 Michael Meeks <michael@ximian.com>
1681 * test/test-simple.c (validate_tree): upd.
1682 IndexInParent check to make it more lucid.
1683 (validate_accessible): dump the tree.
1685 * libspi/accessible.c (de_register_public_ref),
1686 (get_public_refs): impl.
1687 (spi_accessible_new): make more efficient & intuitive.
1688 Now IndexInParent check works.
1690 2001-12-04 Michael Meeks <michael@ximian.com>
1692 * cspi/spi-util.h: remove.
1694 * cspi/spi.h: move SPI_freeString here
1696 * libspi/component.c (impl_accessibility_component_get_layer):
1698 (impl_accessibility_component_get_mdi_z_order): ditto,
1699 return -1 on error - is this ok ?
1701 * test/test-simple.c (test_application): impl.
1703 * cspi/spi_accessible.c (Accessible_getApplication),
1704 (Accessible_isApplication): impl.
1706 * libspi/registry.c (spi_listener_struct_free): release
1707 the CORBA reference too.
1709 * libspi/accessible.c
1710 (impl_accessibility_accessible_get_parent): fix ref leak.
1712 * libspi/registry.c (spi_registry_new): make the registry
1713 immortal - we don't want it to go away ever.
1715 * libspi/application.c
1716 (spi_accessible_application_finalize): impl. cleanup.
1718 * cspi/spi_registry.c
1719 (deregisterGlobalEventListenerAll),
1720 (deregisterGlobalEventListener),
1721 (deregisterAccessibleKeystrokeListener): fix ref leak.
1723 * cspi/spi_main.c (SPI_init): remove redundant ref.
1725 * test/test-simple.c (unutterable_horror): impl. to force a
1730 (impl_accessibility_registry_deregister_application): release
1731 the application when we de-register it.
1733 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1734 until we have the infastructure to get it right.
1736 2001-12-03 Michael Meeks <michael@ximian.com>
1738 * libspi/Makefile.am: only build eventlistener.[ch]
1740 * libspi/accessible.c
1741 (impl_accessibility_accessible_get_child_at_index): don't leak.
1743 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1744 before we hit the idle handler.
1746 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1747 debugging than exit.
1749 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1751 * libspi/listener.c (impl_notify_event): check source
1752 not NIL before unref.
1754 * libspi/registry.c (impl_registry_notify_event): ditto.
1756 * libspi/eventlistener.c
1757 (impl_accessible_event_notify_event): unref the source.
1759 * libspi/accessibleeventlistener.c
1760 (impl_accessible_event_notify_event): unref the source.
1762 * idl/Event.idl: remove 'hash_id' attribute - of no
1765 * libspi/application.c (notify_listeners): upd list
1767 (spi_application_object_event_listener),
1768 (spi_application_toolkit_event_listener): upd to do correct
1772 (_registry_notify_listeners): update.
1773 (parse_event_type): this method also leaks like a sieve.
1774 (impl_accessibility_registry_deregister_global_event_listener):
1775 fix ETYPE_WINDOW case.
1777 * libspi/application.c
1778 (impl_accessibility_application_register_object_event_listener):
1781 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1783 * libspi/hypertext.c (impl_getLink): ditto.
1785 * cspi/spi_main.c (cspi_object_add): remove
1786 bogus CORBA_Object_duplicate.
1788 * cspi/spi-listener-impl.c (cspi_event): dup/ref
1791 * cspi/spi_accessible.c
1792 (Accessible_getRelationSet): fix leak / referencing issue.
1794 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1795 (cspi_object_add, cspi_object_unref): upd.
1796 (spi_object_release, get_live_refs): impl.
1797 (cspi_cleanup): simplify.
1799 * *.[ch]: s/boolean/SpiBoolean/
1801 * cspi/spi_accessible.c (role_names): actualy order so it
1802 corresponds with the enum !
1804 * test/test-simple.c (test_roles): check some role strings
1805 vs. enums to detect offset errors.
1807 2001-12-01 Michael Meeks <michael@ximian.com>
1809 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1811 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1813 (Accessible_getChildAtIndex): use cspi_add_check so we
1814 check the ev before using a (possibly) invalid value.
1816 * libspi/accessible.c
1817 (impl_accessibility_accessible_get_parent): don't segv
1820 * at-bridge/bridge.c (gtk_module_init): upd.
1821 (bridge_property_event_listener): don't leak strings
1823 (bridge_state_event_listener),
1824 (bridge_property_event_listener): don't use a static
1825 buffer in case of recursive event emission &
1826 re-enterancy - split out the swathe of cut and paste
1828 (emit_eventv): and fix 2 ref leaks here & comply to the
1830 (bridge_register_app): rename to
1831 (bridge_idle_init): this and kill arg parsing, split
1832 various inits & bonobo-activation registration to module
1833 init time, kill referencing error.
1834 (bridge_exit_func): fix the same leak.
1835 (bridge_focus_tracker): don't leak event structures
1837 (bridge_signal_listener): more leakage and cut & paste
1839 (bridge_key_listener): return the result - FIXME is
1840 this polarity correct ?
1841 (accessibility_keystroke_from_atk_key_event): rename
1842 (accessibility_init_keystroke_from_atk_key_event): and stop
1844 (gtk_module_init): return a value - not that it is checked by
1846 (bridge_key_listener): register my horror at casting between
1847 IDL defined structs.
1848 (bridge_get_registry): kill - not used.
1850 * cspi/spi_accessible.c (Accessible_getRole): make return const.
1852 * test/test-simple.c (test_roles): impl.
1853 (test_desktop, validate_accessible, validate_tree): impl.
1855 * cspi/spi_accessible.c (role_names): fixup bogus
1856 MAX_ROLES setup, make constants const for efficient linkage
1857 (AccessibleRole_getName): conform to coding style, make
1860 2001-11-30 Michael Meeks <michael@ximian.com>
1862 * cspi/spi.h: add missing prototype.
1864 * libspi/registry.c (spi_listener_struct_new): fix sig.
1866 * test/Makefile.am: add test-simple
1868 * test/test-simple.c: add
1870 * test/test.sh: add.
1872 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1874 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1875 do it straight - since otherwise we often get an activation race.
1877 [ work before Bill duplicated a chunk of it ... ]
1878 2001-11-30 Michael Meeks <michael@ximian.com>
1880 * libspi/keystrokelistener.c
1881 (spi_keystroke_listener_class_init): fixup arg
1884 * libspi/eventlistener.c
1885 (spi_event_listener_class_init): ditto.
1887 * tests/test.sh: add.
1889 * cspi/spi-listener-impl.h: update macros.
1891 * cspi/spi-listener-impl.c
1892 (cspi_event_listener_remove_callback): add
1893 correct pre-conditions.
1895 * cspi/spi_main.c (SPI_exit): guard vs. double
1896 exits, exit the mainloop nicely.
1897 (SPI_event_main): make more sense.
1898 (SPI_init): move the atexit evilness here so we
1899 always do it (yuck).
1900 (SPI_event_main): upd.
1902 * test/simple-at.c: update for listener changes.
1904 * registryd/registryd.c (main): prune kruft.
1906 * libspi/libspi.h: upd.
1908 * libspi/eventlistener.[ch]: rename broken macros.
1910 * libspi/accessibleeventlistener.[ch]: remove.
1912 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
1914 * test/test-simple.c: Add - automated tests.
1916 * cspi/spi-listener-impl.c (cspi_event),
1917 (cspi_key_event): add user_data to invoke.
1918 (cspi_keystroke_listener_finalize): impl.
1919 (cspi_keystroke_listener_class_init): upd.
1922 (createAccessibleEventListener),
1923 (AccessibleEventListener_addCallback),
1924 (createAccessibleKeystrokeListener),
1925 (AccessibleKeystrokeListener_addCallback): upd.
1927 * libspi/deviceeventcontroller.c
1928 (spi_device_event_controller_check_key_event): add public proto.
1931 (impl_accessibility_registry_deregister_global_event_listener):
1932 always init listeners.
1933 (_registry_notify_listeners): yes it is.
1935 * cspi/spi-listener-impl.c (cspi_key_event):
1937 (cspi_event_listener_finalize): impl.
1938 (cspi_event_listener_class_init): hook up.
1939 (event_handler_new, event_handler_free),
1940 (event_list_remove_by_callback): impl.
1941 (cspi_event_listener_remove_callback),
1942 (cspi_keystroke_listener_remove_callback),
1943 (cspi_keystroke_listener_add_callback),
1944 (cspi_event_listener_add_callback): upd.
1946 * libspi/keystrokelistener.c
1947 (keystroke_listener_object_finalize): kill
1948 (spi_keystroke_listener_class_init): upd.
1949 (spi_keystroke_listener_add_callback),
1950 (spi_keystroke_listener_remove_callback): kill,
1952 (impl_key_event): prune drasticaly.
1954 * libspi/eventlistener.c
1955 (spi_event_listener_add_callback),
1956 (spi_event_listener_remove_callback): kill, use
1958 (impl_accessible_event_notify_event): upd.
1959 (spi_event_listener_object_finalize): remove.
1961 * libspi/Makefile.am: use eventlistener.[ch]
1963 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1965 * libspi/registry.c (_registry_notify_listeners):
1966 Changed listener loop iteration to use preferred convention.
1967 Got rid of string memory leaks caused be calling g_strconcat
1968 inside function calls.
1970 * libspi/registry.c (parse_event_type):
1971 Stopped g_strconcat memory leaks, free the g_strsplit return,
1972 g_strdup the split pieces when used, etc.
1974 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1977 Change method 'compare' to return a 'difference set' rather than
1978 taking a StateSet as an out parameter (more Java-friendly).
1980 * idl/Accessible.idl:
1981 Added CORBA struct 'BoundingBox', to faciliate API changes below:
1983 * idl/Component.idl:
1985 Changed methods 'getExtents' and 'getImageExtents' in these
1986 interfaces to return a BoundingBox structure.
1987 (getPosition and getSize are redundant and possibly should be
1988 removed, rather than creating a corresponding Point struct.)
1990 * cspi/spi_component.c:
1991 Modify implementation of getExtents to reflect the above IDL
1996 Add (missing) AccessibleImage_getExtents () API.
1998 * docs/reference/cspi/at-spi-cspi-sections.txt:
1999 Added AccessibleImage_getImageExtents () to docs.
2001 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2003 * idl/Component.idl:
2004 Added two methods, getLayer () and getMDIZOrder (), to reflect
2005 the new ATK methods atk_object_get_layer and
2006 atk_object_get_mdi_z_order. (Which arguably should be part of the
2007 AtkComponent API and AtkObject). Also added an enum,
2008 ComponentLayer, for the first method's return value.
2010 * libspi/component.c:
2011 Added implementations for these methods.
2013 * cspi/spi_component.c:
2015 Added cspi binding methods for above,
2016 AccessibleComponent_getLayer() and
2017 AccessibleComponent_getMDIZOrder().
2018 Added cspi enum 'AccessibleComponentLayer'.
2020 * docs/reference/cspi/at-spi-cspi-sections.txt:
2021 Added above methods to docs.
2025 Changed typedef for 'boolean' type (and all references to it) to
2026 SPIBoolean, to avoid keyword clashes with C++.
2029 Changed usages of 'boolean' to SPIBoolean.
2031 * test/keysynth-demo.c:
2032 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2033 app), except where SPIBoolean is required by the callbacks API.
2035 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2037 * cspi/spi_registry.c:
2038 Removed obsolete X event loop for passive keygrabs (which now
2041 * registryd/registryd.c:
2042 Removed unnecessary call to gdk_init() [cruft]. This also allows
2043 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2046 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2048 * docs/reference/cspi:
2049 Included docs for SPI_freeString in generated documentation.
2052 Renamed spi_freeString to SPI_freeString, for consistency. Added
2053 documentation for this function.
2056 Renamed spi_freeString to SPI_freeString, for consistency.
2057 Removed obsolete method declaration string_from_corba_string.
2059 * test/keysynth-demo.c:
2060 Small tweak to comments.
2063 Stopped leaking the strings returned from CSPI.
2065 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2067 Merged Michael's branch (see his ChangeLog entries below).
2069 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2070 bridge is alive, release on exit.
2072 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2073 Fix type check macro.
2076 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2079 Added is_gnome_app static, and method cspi_is_gnome_app(),
2080 so we can call the appropriate shutdown routine at exit in SPI_exit.
2082 * cspi/spi_main.c (cspi_object_ref):
2083 Duplicate the corba object passed in, since we're keeping it around.
2085 * cspi/SPI_exit.c, cspi_cleanup:
2086 Moved the releasing of the live refs to its own function, so we
2087 can put it in g_atexit (). Call the appropriate shutdown API
2088 depending on whethe calling client is a gnome app or not
2089 (bonobo_main_quit or CORBA_ORB_shutdown).
2091 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2092 Unref the listener when this method is called, after
2093 deregistration. Updated the API docs to note this behavior.
2095 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2096 Bugfixes: Ref the bonobo object when returning a parent or child
2097 reference, or an AccessibleRelation. Generally made sure
2098 BonoboObject refcount is incremented whenever we return an
2101 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2102 Fixed typo/bug in signal declaration.
2104 * libspi/accessibleeventlistener.h:
2107 * libspi/application.c (spi_application_new):
2108 Fixed leak in initialization.
2111 Remembered to increment bonobo-object refcount when returning
2112 children (applications) from desktop object.
2113 Added (empty) finalize method.
2115 * libspi/deviceeventcontroller.c:
2116 Hold a ref to listeners inside DEControllerKeyListeners.
2117 Added dec_key_listener_free() method. Use prepend instead of
2118 append in key_listener list. Fixed some refcount madness and
2119 leaks in the listener registration/deregistration - deregistration
2120 now calls dec_key_listener_free() on listeners, and on the
2121 temporarily constructed dec_key_listener() used to perform the search/match.
2123 * libspi/hypertext.c (spi_hypertest_finalize):
2124 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2125 class. Also fixed spi_hypertext_interface_new() and
2126 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2128 * libspi/hypertext.h:
2129 Removed pointless and duplicate AtkObject pointer from
2132 * libspi/keystrokelistener.c:
2133 Fixed incorrect type of keystroke_listener_parent_class,
2134 renamed keystroke_listener_object_finalize to
2135 spi_keystroke_listener_object_finalize.
2136 Fixed typo in signal declaration
2137 (spi_keystroke_listener_class_init).
2139 * libspi/registry.c:
2140 Added funcsions spi_listener_struct_new() and
2141 spi_listener_struct_free() to help with memory management issues.
2142 We also now use these methods instead of gnew + poking stuff into
2143 the struct, and to decrement listener counts/free the listeners
2144 when deregistering them.
2145 Fix more refcount bugs in getDesktop() and
2146 getDeviceEventController().
2149 De-ref the desktop after enumerating the applications. Explicitly
2150 decrement the refcounts on the created listeners on exit (using
2151 _unref for keystroke listeners, and via the
2152 deregisterGlobalEventListenerAll command for other event
2155 2001-11-27 Michael Meeks <michael@ximian.com>
2157 * cspi/spi-listener.h: fixup enum.
2159 2001-11-27 Michael Meeks <michael@ximian.com>
2161 * cspi/spi-listener-impl.c (cspi_event_listener_new),
2162 (cspi_keystroke_listener_new): Use the cspi variants.
2164 2001-11-26 Michael Meeks <michael@ximian.com>
2166 * test/keysynth-demo.c: fix 2 compile warnings, missing
2169 * test/simple-at.c (report_focussed_accessible),
2170 (report_focus_event, report_button_press),
2171 (check_property_change, is_command_key),
2172 (report_ordinary_key_event, report_command_key_event): upd.
2174 * util/mag_client.h: include pre-requisites.
2176 * libspi/accessibleeventlistener.c
2177 (spi_event_listener_object_finalize): free any lingering
2180 * libspi/keystrokelistener.c
2181 (keystroke_listener_object_finalize): ditto.
2183 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
2184 callbacks, with cspi types.
2186 * cspi/spi_event.c (createAccessibleEventListener): chain to
2187 (AccessibleEventListener_addCallback): here.
2188 (createAccessibleKeystrokeListener): chain to
2189 (AccessibleKeystrokeListener_addCallback): here.
2191 * libspi/keystrokelistener.c
2192 (spi_keystroke_listener_class_init): add signal.
2193 (impl_key_event): emit the event.
2194 (boolean_handled_accumulator): impl.
2195 (marshal_BOOLEAN__POINTER): add, gack.
2197 * libspi/accessibleeventlistener.c
2198 (spi_event_listener_class_init): add signal.
2199 (impl_accessible_event_notify_event): emit the signal &
2200 make the loop efficient.
2201 (spi_event_listener_add_callback): prepend the callback.
2203 * libspi/accessibleeventlistener.h: add an 'event' signal,
2204 decl type on callback.
2206 * libspi/keystrokelistener.h: ditto.
2208 * cspi/spi-listener.h: make methods typesafe and
2209 make them use the new event typedefs.
2211 * test/simple-at.c (report_focussed_accessible):
2212 include mag_client.h
2213 Use *(void *)text_interface not the other thing.
2215 * configure.in: add gtk to registryd bits - since we use
2218 * util/magnifier.c: include libbonobo.h
2220 2001-11-25 Bill Haneman <bill.haneman@sun.com>
2222 * test/keysynth-demo.c:
2223 Turned this into a simple scanning keyboard, to demonstrate the
2224 use of g_timeout_add () as a means of creating timers for
2225 scanning, and the use of GtkStyle for visually indicating when
2226 virtual keyboard elements are selected.
2228 keysynth-demo now listens to any keyboard keys with zero-valued
2229 keycodes (i.e. 'unused' keys) and interprets them as
2232 Reworked the shiftlatch code so that shift-down state isn't held
2233 for long periods (it's only synthesized immediately prior to
2234 the keysynth event it's modifying). Note that shiftlatch in this
2235 demo is a convenience, not intended to take the place of AccessX
2236 which is the better choice for getting 'sticky' modifier keys.
2238 * libspi/deviceeventcontroller.c:
2239 * at-bridge/bridge.c:
2240 * cspi/spi_registry.c:
2241 Removed some debug print stuff, and put other verbosity in #ifdef
2246 Implemented some more of the magnifier IDL for the simple
2247 magnifier: namely, getZoomRegionParams.
2248 Added mag_x and mag_y members to MagnifierData struct, aid of this
2250 Added GtkWindow::realize signal handler to magnifier, to keep it
2251 from receiving keyboard focus from the WM.
2253 2001-11-23 Mark McLoughlin <mark@skynet.ie>
2255 * cspi/spi-private.h: my guess at what michael forgot
2256 before he ran off to NZ :-)
2258 2001-11-23 Michael Meeks <michael@ximian.com>
2260 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
2261 comment out non existant method invoke so we link.
2263 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
2264 use bonobo_exception_get_text for more friendly warnings.
2266 * cspi/spi.c (Obj_Add): move into spi_main & rename
2267 spi_object_add; kill spi.c
2269 * cspi/spi_registry.c
2270 (deregisterGlobalEventListener),
2271 (deregisterGlobalEventListenerAll),
2272 (registerGlobalEventListener): fix exception leaks.
2274 * cspi/spi_main.c (spi_exception): impl. helper, so we
2275 don't leak exceptions.
2277 * cspi/spi_selection.c
2278 (AccessibleSelection_deselectSelectedChild): return the
2281 * cspi/spi_main.c (spi_ev): impl; hack - gack.
2282 (spi_registry): ditto.
2283 (SPI_init): guard against double inits.
2285 * cspi/*.c: use spi_ev (), and spi_registry () where
2286 appropriate - a temporary hack until we have something
2287 better. Use spi_object_add
2289 2001-11-22 Michael Meeks <michael@ximian.com>
2291 * cspi/Makefile.am: re organise, install the headers.
2293 * cspi/*.h: add G_BEGIN/END_DECLS
2295 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2298 Added non-preemptive keylistener for key events with no modifiers
2299 and shift-only modifier.
2301 * libspi/keystrokelistener.c:
2302 Removed some verbose diagnostics printout.
2304 * cspi/spi_registry.c:
2305 Fixed a bug that caused all key listeners to be registered as
2308 * libspi/deviceeventcontroller.c:
2309 Fixed bug that caused XGrabKey (preemptive key grab) to be called
2310 for non-preemptive key masks.
2313 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2315 * docs/reference/idl/at-spi-idl-docs.sgml:
2316 * docs/reference/idl/at-spi-idl-sections.txt:
2317 * docs/reference/idl/at-spi-idl-overrides.txt:
2318 Added missing files.
2320 * docs/reference/Makefile.am:
2321 removed idl from SUBDIRS until we can figure a way to get gtk-doc
2322 to scan the IDL files :-(
2327 Added .cvsignore files.
2329 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2331 * libspi/deviceeventcontroller.c:
2332 * libspi/keystrokelistener.c:
2334 * cspi/spi_registry.c:
2335 Added filters for KeySets, KeyEventSeq, and event types to key
2336 event dispatching, so listeners should only receive those events
2337 that they requested :-)
2339 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2344 * docs/reference:Makefile.am:
2345 * docs/reference/cspi:
2346 * docs/reference/cspi:Makefile.am:
2347 * docs/reference/cspi:tmpl:
2348 * docs/reference/cspi:tmpl:*.sgml:
2349 * docs/reference/idl:
2350 * docs/reference/idl:Makefile.am:
2351 * docs/reference/idl:at-spi-idl-sections.txt:
2352 * docs/reference/idl:at-spi-idl-docs.sgml:
2353 * docs/reference/idl:tmpl:
2354 * docs/reference/idl:tmpl:*.sgml:
2356 Restructured docs directory to allow separate 'reference' docs
2357 section, and forked idl and cspi docs. Added the sgml template
2358 files to CVS. Added the first sections/structural sgml for the
2361 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
2363 * configure.in, libspi/Makefile.am: find libXtst.
2365 2001-11-21 Michael Meeks <michael@ximian.com>
2367 * test/accessx-gui.c: s/spi_value/value/ - doh.
2369 * libspi/base.[ch]: add.
2371 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2373 * idl/Accessible.idl:
2374 * idl/Application.idl:
2377 Started gtk-doc cleanup on IDL.
2379 * libspi/deviceeventcontroller.c:
2380 Added and connected non-preemptive key notification from the
2381 toolkits (in addition to the pre-emptive support from XServer
2382 which we had before, but which causes 'focus flashing'). Filters
2383 are presently limited to key modifiers and global/non-global,
2384 KeySets are presently ignored, as are KeyEvent masks.
2386 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
2387 structs into the persistant structure rather than just storing
2388 pointers to things that might not persist across servant
2391 The XGrabKey call now does async keygrabs, because synchronous
2392 ones were deadlocking with GDK_event code in a very nasty way.
2394 Added boolean to internal method notify_keylisteners, to indicate
2395 whether the event came from the 'toolkit source' or the 'global
2396 (XServer) source' - this is used in the notification process to
2397 determine which listeners to send the event to.
2399 deviceeventcontroller.c is now warning-free.
2401 * libspi/registry.c:
2402 Fixed regression in application de-registration.
2403 Also fixed some really brain-dead weirdness having to do with
2404 event dispatching - event structs are now duplicated before being
2405 re-marshalled in the dispatch to listeners. This also fixes a
2406 Solaris build problem.
2409 2001-20-11 Michael Meeks <michael@ximian.com>
2412 (impl_accessibility_registry_deregister_global_event_listener):
2415 * libspi/deviceeventcontroller.c
2416 (spi_device_event_controller_check_key_event): return
2417 FALSE on no virtual method.
2419 * libspi/*..h: make includes work on a correctly pathed install.
2421 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
2423 * libspi/application.h: kill unused ( and whacked out )
2424 gboolean *spi_application_set_id (AtkObject *app, long id);
2426 2001-20-11 Michael Meeks <michael@ximian.com>
2428 * libspi/*.[ch]: further convert to bonobo's type func
2429 macros, remove redundnant casts etc.
2431 * libspi/text.c s/accessibility_text/spi_text/g,
2432 re-order to de-cruft.
2434 * libspi/hypertext.c: re-order to kill a huge slew
2435 of redundant forward decls.
2437 * libspi/relation.c: ditto.
2439 * libspi/image.c: ditto.
2441 * */.cvsignore: update
2443 2001-20-11 Michael Meeks <michael@ximian.com>
2445 * libspi/deviceeventcontroller.c
2446 (_controller_register_with_devices): use g_getenv,
2447 kill stdlib.h include.
2449 * libspi/keystrokelistener.c
2450 (spi_keystroke_listener_get_type): kill
2451 (spi_keystroke_listener_class_init),
2452 (spi_keystroke_listener_init): rename to this.
2454 * libspi/text.c (impl_getAttributes): fix warning / bug.
2456 * libspi/*.[ch]: more headers, includes and over commenting.
2458 2001-20-11 Michael Meeks <michael@ximian.com>
2460 * libspi/*.[ch]: fixup headers, includes and over commenting.
2462 * libspi/image.c (impl__get_imageDescription): const
2463 correctness warning fix. remove redundant casting.
2465 * libspi/table.c (impl_getRowDescription): ditto.
2466 (impl_getColumnDescription): ditto.
2468 * libspi/libspi.h: add.
2470 2001-19-11 Michael Meeks <michael@ximian.com>
2472 * libspi/editabletext.c (impl_setAttributes): fix warnings.
2474 * libspi/component.c (accessibility_component_get_type):
2475 rename to (spi_component_get_type): and macroify.
2476 (accessibility_component_init): rename to
2477 (spi_component_init): this
2478 (accessibility_component_class_init): rename to
2479 (spi_component_class_init): this
2481 * libspi/action.c (spi_action_get_type): kill, use the macro.
2483 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
2486 * libspi/application.c (spi_application_object_event_listener),
2487 (impl_accessibility_application_register_object_event_listener):
2488 warning fixes / const understanding updates.
2490 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
2493 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2495 * libspi/spi_accessible.c: Added docs and C bindings for
2496 AccessibleStateSet. (No implementations yet). Documentation
2497 coverage for C bindings now 100%. Made docs for event listeners
2502 boolean notifyListenersSync (in DeviceEventListener listener,
2503 in DeviceEvent event);
2505 oneway void notifyListenersAsync (in DeviceEventListener listener,
2506 in DeviceEvent event);
2508 Added DeviceEventListener and DeviceEvent structs (may deprecate
2509 KeyStroke and KeystrokeListener in favor of this generic
2510 event/listener framework for devices).
2512 * libspi/deviceeventcontroller.c:
2514 Changed some key listener code to take masks, etc., and paved the
2515 way for integration of toolkit/non-preemptive key events. Changed
2516 signatures of some internal methods.
2518 * at-bridge/bridge.c:
2519 Fixed regression connecting to interface signals, apparently
2520 caused by GTK+ changes.
2522 Added an internal bridge_state_listener to deal with
2523 property-change:accessible-state signals.
2525 Changed the key_listeners GList to store structs (including masks,
2526 etc.) instead of just CORBA_Objects (required for full
2527 implementation of key listener API).
2529 Connected the bridge to all currently supported Atk signals.
2530 Events now supported:
2531 object:property-change
2532 object:property-change:accessible-name
2533 object:property-change:accessible-state
2534 object:property-change:accessible-description
2535 object:property-change:accessible-parent
2536 object:property-change:accessible-value
2537 object:property-change:accessible-role
2538 object:property-change:accessible-table-caption
2539 object:property-change:accessible-table-column-description
2540 object:property-change:accessible-table-column-header
2541 object:property-change:accessible-table-row-description
2542 object:property-change:accessible-table-row-header
2543 object:property-change:accessible-table-summary
2544 object:children-changed
2545 object:visible-data-changed
2546 object:selection-changed
2547 object:text-selection-changed
2549 object:text-caret-moved
2551 object:row-reordered
2553 object:column-inserted
2554 object:column-reordered
2555 object:column-deleted
2556 object:model-changed
2558 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2560 * libspi/hyperlink.c,h:
2561 Fixed some broken stuff in hyperlink.
2563 * libspi/relation.h:
2564 * libspi/relation.c:
2565 * cspi/spi_accessible.c:
2566 Initial implementations of AccessibleRelation methods, and docs.
2568 * libspi/accessible.c:
2569 Fixed a bug that caused SEGV if an accessible
2570 object's description is NULL, and a client
2571 requests it. An empty string is now returned.
2573 * cspi/spi_editabletext.c:
2574 * cspi/spi_hypertext.c:
2576 * cspi/spi_hyperlink.c:
2580 Doc coverage now 95%.
2582 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2584 One last namespacing revision:
2585 * libspi/accessibleeventlistener.[ch]:
2586 Renamed SpiAccessibleEventListener to SpiEventListener,
2587 (no need for two namespaces ;-)
2589 And lots of documentation fixes:
2591 * docs/at-spi-docs.sgml:
2592 Fixed 'underscore vs. hyphen' bug that was preventing
2593 the gtk-doc API docs from being automatically generated.
2596 * cspi/spi-listener.h
2598 * cspi/spi_accessible.c
2600 * cspi/spi_application.c
2601 * cspi/spi_component.c
2602 * cspi/spi_editabletext.c
2604 * cspi/spi_hypertext.c
2606 * cspi/spi_registry.c
2607 * cspi/spi_selection.c
2611 * docs/at-spi-docs.sgml
2612 * docs/at-spi-sections.txt
2614 Added and fixed up gtk-doc documentation in cspi.
2616 Interfaces now (fully) documented (subject to revision and enhancement):
2618 Event Listener Support
2620 AccessibleApplication
2624 AccessibleEditableText
2631 AccessibleRelationSet
2636 2001-14-11 Bill Haneman <bill.haneman@sun.com>
2638 * at-bridge/bridge.c:
2639 Initial work for toolkit-level key snooper connection by bridge.
2644 New typedefs and fixes to support new namespacing, and cleaner
2645 separation of cspi bindings from libspi bonobo implementation.
2646 Removed inconsistent and extraneous Spi* namespace prefix that
2647 had crept into cspi headers.
2648 Lots of comment fixes that sed had missed.
2650 * cspi/spi-roletypes.h:
2651 * cspi/spi-statetypes.h:
2652 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
2653 to AccessibleRoleType.
2655 * libspi/accessibleeventlistener.h:
2656 Fixed minor namespacing weirdness.
2658 * libspi/deviceeventcontroller.c:
2659 Reordered some internal API for device listeners.
2660 Changed the key registry final boolean to 'is_system_global'
2661 rather than 'is_synchronous', which is more descriptive of its
2663 Added spi_device_event_controller_new().
2664 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
2666 * libspi/keystrokelistener.[ch]:
2667 Namespaced KeystrokeListener to SpiKeystrokeListener.
2668 Changed uses of keymasks to use SPI_ prefix, and did other
2671 * libspi/keymasks.h:
2672 Namespaced keymask constants with SPI_ prefix.
2674 * libspi/registry.c:
2675 Some warning fixes, and knock-on fixes from namespace changes.
2678 Added rules for accessx-gui test program.
2680 * test/accessx-gui.c:
2681 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2682 utility. It doesn't actually use at-spi, but it's still cool and
2685 * test/keysynth-demo.c:
2689 Fixes so that these test clients work properly with the namespaced
2690 libraries. (Incompletely tested for technical reasons, fixes may follow)
2693 2001-13-11 Michael Meeks <michael@ximian.com>
2695 * libspi/application.c
2696 (impl_accessibility_application_get_version),
2697 (impl_accessibility_application_get_toolkit_name):
2699 (impl_accessibility_application_set_id),
2700 (impl_accessibility_application_get_id): remove
2701 redundant casting code.
2703 * libspi/action.c (impl_getDescription): fix warnings.
2705 * libspi/accessible.c
2706 (impl_accessibility_accessible_get_parent),
2707 (impl_accessibility_accessible_get_child_at_index),
2708 (impl_accessibility_accessible_get_state),
2709 (impl_accessibility_accessible_get_relation_set):
2710 warning fixes & include action.h
2712 2001-13-11 Michael Meeks <michael@ximian.com>
2714 * *.[ch] fix bits I screwed up:
2716 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2717 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2719 2001-13-11 Michael Meeks <michael@ximian.com>
2721 * *.[ch] Namespace libspi into spi_ and Spi.
2723 2001-13-11 Michael Meeks <michael@ximian.com>
2725 * Makefile.am: dist & install at-spi-1.0.pc
2727 * libspi/Makefile.am: install into at-spi-1.0
2729 * idl/Makefile.am (idldir): install into at-spi-1.0
2731 * at-spi-1.0.pc.in: add.
2733 * configure.in: build it.
2735 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2737 * test/keysynth-demo.c:
2738 Use a 'realize' signal-handler to set the WM properties for
2739 the virtual keyboard, rather than making it a "POPUP" type
2740 override-redirect window (thanks to anders carlsson for that
2743 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2746 * test/keysynth-demo.c:
2747 Added new test of key synthesis, which creates a simple
2748 (mouse-operated) onscreen keyboard. It inserts key events into
2749 the currently-focused window, thus it does not grab keyboard focus
2752 * cspi/spi_registry.c:
2753 Added C binding for AT-SPI generateKeyEvent.
2755 * libspi/deviceeventcontroller.c:
2756 Added call to XFilterEvent so that key listener works with XIM (we
2757 hope). Added event_synth_type to generateKeyEvent, so that we can
2758 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2759 synthesize a press/release pair for KeySyms.
2761 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2763 * libspi/Makefile.am:
2764 * registryd/Makefile.am:
2765 (temporary) hack to include libXtst in libspi and registryd.
2766 (Needed for keystroke synthesis, see below).
2769 Improved API for registerKeystrokeListener, in accordance with
2770 discussions with Gnopernicus team and X server research.
2772 * libspi/registry.c:
2773 * libspi/deviceeventcontroller.c:
2774 * libspi/accessible.c:
2775 * libspi/keystrokelistener.c:
2776 Changes and fixes to support keylisteners for potentially
2777 consumed key events (that is, 'passive grabs').
2778 Added implementation for generateKeyEvent() [untested].
2781 Changes to registerKeystrokeListener() API, as above.
2782 Added deregisterGlobalEventListenerAll(), and
2783 deregisterKeystrokeListener(), which are needed for clean exit of
2785 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2786 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2788 * cspi/spi_registry.c:
2789 Added implementations of function prototypes mentioned above.
2791 * registryd/registryd.c:
2792 Added the key listener event source as a g_timeout(), to allow
2793 receipt of key events that are not caught by GDK (since GDK
2794 doesn't support passive keygrabs, this was necessary).
2797 Changed to attach a keylistener to 'Alt' keys, and
2798 respond to the following keycommands: Alt-M (toggle magnifier);
2799 Alt-F (toggle speech); Alt-Q (quit).
2800 Added an exit routine to deregister the listeners, and a key
2801 listener that prints some key info to the console when a key
2802 matches the listener mask (and is thus received by the listener).
2804 * util/idl/Magnifier.idl:
2805 Changes to magnifier API to support multiple zoom regions,
2806 non-uniform scaling in x and y, markDirty, and a host of other
2807 features that would be useful to magnification.
2810 * util/mag_client.c:
2811 * util/mag_client.h:
2812 * util/mag_control.c:
2814 Source code changes to support the above IDL changes.
2817 As above, and also changes to use a (slower) generic conversion
2818 path for colormap conversions, since the fast RGB conversions have been
2819 reported to fail for 16-bit displays.
2821 2001-10-26 Michael Meeks <michael@ximian.com>
2823 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2825 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
2827 * at-bridge/Makefile.am: fix LDFLAGS.
2829 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2831 * at-bridge/bridge.c:
2832 Re-worked listeners for toolkit events, now we have signal
2833 and property listeners. Added a private method
2834 register_atk_event_listeners(), which registers with the
2835 various atk and gtk signals we need to monitor in order to emit
2837 Added emission hook for AtkObject:property-change events, to
2838 support the 'property listeners'.
2839 Fixed some alloc()s of Accessibility_Event structs to use CORBA
2842 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2843 which emit warnings and exit, respectively, if CORBA errors occur
2844 during remote calls, and we now use these methods to check most of
2845 our CORBA calls in the C bindings.
2847 * cspi/spi_accessible.c:
2848 Changed AccessibleSelection_refSelectedChild() to
2849 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2850 now increment refcounts.
2852 * cspi/spi_component.c:
2853 Fixed some long pointer casts (dangerous!) to pass pointers to
2854 CORBA_longs of the proper type to the CORBA stubs, and copy the
2855 data into the longs that were passed into the C bindings code.
2857 * at-bridge/bridge.c:
2859 * libspi/accessible.c:
2860 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2861 hyperlinks, AtkHyperlink is an object type.
2863 * libspi/application.c:
2864 Added various conversions to and from "generic" event types and
2865 atk-specific types; this is really part of the 'bridge'
2866 implementation but is valid for all AtkObject-based accessibility
2869 * libspi/editabletext.c:
2870 Fixed nasty bug wherein editable text's finalize method was
2871 unref'ing tha AtkObject reference that the text parent class was
2872 about to unref _again_. There was also a nasty inheritance bug
2873 that meant that the AccessibleEditableText class was corrupt.
2875 * libspi/selection.c:
2876 Provided implementations for some selection API that was broken.
2878 * idl/Application.idl:
2879 Added registerObjectEventListener () method.
2882 Fixed a number of return values that were Bonobo_Unknowns from
2883 bonobo_object_corba_objref(), which I
2884 forgot to dup before returning. Changed instances of
2885 bonobo_object_corba_objref (bonobo_object(o)) to
2886 BONOBO_OBJREF(o), for concision and clarity.
2888 <2001-10-13 Louise Miller <louise.miller@sun.com>
2890 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2891 idl/Event.idl, idl/Registry.idl
2892 Changed these files to include Bonobo_Unknown.idl instead
2895 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
2897 * libspi/component.c libspi/component.h:
2898 Fixed typo. Added assertions for object checks in
2899 AccessibleComponent code.
2901 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2903 * idl/Accessible.idl:
2904 Added 'isEqual (Accessible *object)'
2905 method for Accessible. (Not Yet Implemented).
2908 Changed signature of registerKeystrokeListener() to
2909 take a KeySet and KeyEventSeq so that specific keys and event
2910 types could be requested for monitoring, and added a flag
2911 is_synchronous so that either synchronous or asynchronous
2912 notification could be requested. (However this is not all
2913 implemented yet). This also meant adding two new typedefs,
2914 KeyEventSeq and KeySet.
2917 Added two new relations, RELATION_TOOLTIP_FOR and
2918 RELATION_LEAFNODE_OF.
2921 Added new state, STATE_HAS_TOOLTIP.
2923 * libspi/text.c, editabletext.c:
2924 Added new assertions to all casts of bonobo-objects from
2925 CORBA servants, to prevent Text API calls on non-text objects.
2926 Changed suspect casts of int-pointer types, so that we
2927 always send a valid CORBA_long pointer to the CORBA APIs that use
2928 in/out long parameters. We then have to copy from the CORBA_long
2929 into the regular long or int for return to the C bindings, or
2930 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
2933 * libspi/deviceeventcontroller.c:
2934 Cleaned these sources up.
2936 Changed return type for getCharacterAtOffset to
2937 CORBA_unsigned_long, to allow for 32-bit characters.
2940 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
2944 Fixed 'make dist' so that distro compiles...
2945 * libspi/keymasks.h:
2947 * cspi/spi-listener.c:
2948 KeystrokeListenerCB now returns a boolean.
2950 Added KeyEventType struct, and KeyStroke.
2951 Also added createKeystrokeListener(),
2952 KeystrokeListener_addCallback(),
2953 KeystrokeListener_removeCallback(), and added a keymask to
2954 registerKeystrokeListener().
2955 * cspi/spi_accessible.c:
2956 Changed numerous return types for interfaces from
2957 AccessibleComponent to Accessible<InterfaceName>; this was
2958 probably a cut-and-paste error.
2960 Implementations of new KeystrokeListener api (from spi.h,
2963 Changes to key modifier mapping.
2964 Created ControllerEventMask struct.
2965 Made DeviceEventController derive from Bonobo::Unknown.
2967 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
2968 * libspi/deviceeventcontroller.c:
2969 Added a number of new internal (private) methods.
2970 * libspi/editabletext.c:
2971 * libspi/editabletext.h:
2972 Fixed a number of bugs related to the fact that
2973 editabletext inherits from text. Fixed the EditableText struct,
2974 the init() call, and use correct casts when calling Text methods
2975 from an EditableText object. Removed (duplicate) atko from the
2976 EditableText structure, we use the one in the parent Text
2977 structure via the casts mentioned above.
2978 * libspi/keystrokelistener.[ch]:
2979 * libspi/registry.c:
2980 Changes in support of keyboard handling (above).
2982 Keyboard handling, though partly functional, is still not
2983 recommended for at-spi client use as there is considerable
2984 work yet to be done.
2987 Changed some places where pointers to various int types
2988 are cast to be pointers to CORBA_long types and vice-versa:
2989 pointer casting is not safe so we pass pointers of the correct
2990 types and then cast the result before putting it into the target
2993 * libspi/text.h: minor typos corrected.
2995 We now speak not only the name of a Text element, but the
2996 first sentence of its content, when it receives focus.
2997 I also changed the text compression to 75% from 50%.
2998 * util/Accessibility_Util.server.in:
2999 Changed the default magnifier type to be a 3x vertical
3000 splitscreen magnifier (was previously a 2x horizontal one).
3002 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
3004 * libspi/keystrokelistener.h:
3005 * libspi/keystrokelistener.c:
3006 Initial functional implementations of KeystrokeListener.
3009 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3011 Fixed string handling for NULL strings in libspi.
3012 Added spi_freeString to free strings returned by C bindings.
3014 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
3016 * libspi/keystrokelistener.h:
3017 * libspi/keystrokelistener.c:
3018 Began (no-op) implementations of KeystrokeListener
3020 * libspi/deviceeventcontroller.c:
3021 * libspi/deviceeventcontroller.h:
3022 Began creating implementations of DeviceEventController,
3023 to handle keystroke and mouse event listening and
3025 * libspi/accessible.c:
3026 Stubbed-in the implementations for
3027 Accessibility_Accessible_getState and
3028 Accessibility_Accessible_getRelationSet.
3029 * libspi/registry.c:
3030 Improved de-registration process and fixed some bugs,
3031 deregistration now works correctly.
3033 Added initialization of applications list (to NULL).
3035 Reduced speech compression from 0.5 to 0.7, for demo.
3036 Changed call to gdk_window_set_decorations()
3037 to gtk_window_set_decorated().
3038 * at-bridge/bridge.c:
3039 Bridge now deregisters when app exits, via
3040 registration of a cleanup function
3041 with the g_atexit() call.
3042 Required making 'app' static, renamed 'this_app'.
3043 Fixed broken use of bonobo_init, passing argv wrongly.
3045 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
3049 Created a new directory for
3050 accessibility-related utilities, primarily for
3051 testing and demo purposes, but with possible
3058 Onscreen magnifier utility that
3059 is implemented as a bonobo service.
3061 * util/mag_client.c:
3062 * util/mag_client.h:
3063 Client-side support (simple C bindings)
3064 for Magnification service
3066 * util/mag_control.c:
3067 Client program example for
3068 Magnification service
3070 * util/Accessibility_Magnifier.server.in:
3071 Bonobo-activation file for the
3072 Magnification service.
3075 * util/idl/Magnifier.idl:
3076 IDL defining the bonobo Magnification
3080 Modifications to use the bonobo-activated magnifier
3081 above, in place of trying to connect to an existing
3082 magnifier that uses socket-listening IPC.
3084 If env variable MAGNIFIER is set, a magnifier service
3085 will be started if one does not exist.
3087 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
3088 * at-bridge/bridge.c:
3089 applied patch from Marc to build and run
3090 against new glib and gtk+ (seemed like a change
3091 to bonobo_init signature was made ?)
3093 made festival-server support turned off by default.
3094 Added support for a simple magnifier (off by default)
3095 which will be added to a 'util' directory later.
3096 * at-bridge/Makefile.am:
3097 Changed "application.h" header from a 'source'
3098 to a 'dependency' of libat-bridge.
3100 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3108 Added interface implementation c files to list of
3109 includes so they are included in libcspi.
3112 Changed prototype of AccessibleAction_doAction to return a
3114 Changed prototype of AccessibleTable_getCaption to
3115 return an Accessible.
3116 Changed prototype of AccessibleTable_getSelectedRows
3117 and AccessibleTable_getSelectedColumns to
3118 return a long (returns the number of selected rows
3119 or columns respectively).
3120 Changed name of AccessibleText_refRunAttributes to
3121 AccessibleText_getAttributes.
3122 Changed prototype of AccessibleText_getCharacterExtents to
3123 return a void rather than a boolean.
3124 Added support for a AccessibleCoordType parameter
3125 specifying what type of coordinates are desired.
3126 Added an AccessibleCordType parameter to
3127 AccessibleText_getPointAtOffset.
3129 * cspi/spi_accessible.c:
3130 Added code to return the outstanding interfaces from
3131 Accessible_queryInterface.
3133 * cspi/spi_action.c:
3135 Corrected call to getNActions to call the c binding
3138 * cspi/spi_editabletext.c:
3140 Changed name from setRunAttributes to setAttributes.
3142 * cspi/spi_hyperlink.c:
3144 Changed call to getNAnchors to correctly call the c
3145 binding for an attribute.
3147 * cspi/spi_hypertext.c:
3149 Changed getImageDescription to correctly call the
3150 binding for an attribute.
3152 * cspi/spi_selection.c:
3153 Changed getNSelectedChildren to correctly call the c
3154 binding for the attribute.
3155 Changed refSelectedChild to getSelectedChild.
3159 Changed getCaption to return an Accessible.
3160 Fixed calls which retrieve attributes.
3161 Changed refAt to getAccessibleAt.
3162 Changed getNSelectedRows and getNSelectedColumns to
3166 Changed getCharacterExtents and getPointAtOffset to accept an
3167 AccessibleCoordType.
3169 Changed calls which retrieve attributes.
3170 Changed refRunAttributes to getAttributes.
3175 * idl/Hyperlink.idl:
3176 Changed n_anchors attribute to nAnchors to keep naming
3177 convention consistent.
3180 Made Table inherit from Bonobo::Unknown.
3181 Added nSelectedColumns and nSelectedRows attributes.
3184 Made Value inherit from Bonobo::Unknown.
3186 * libspi/hyperlink.c:
3187 Change for nAnchors attributte name change.
3189 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3197 Added interface implementation c files to list of
3198 includes so they are included in libcspi.
3201 Changed prototype of AccessibleAction_doAction to return a
3203 Changed prototype of AccessibleTable_getCaption to
3204 return an Accessible.
3205 Changed prototype of AccessibleTable_getSelectedRows
3206 and AccessibleTable_getSelectedColumns to
3207 return a long (returns the number of selected rows
3208 or columns respectively).
3209 Changed name of AccessibleText_refRunAttributes to
3210 AccessibleText_getAttributes.
3211 Changed prototype of AccessibleText_getCharacterExtents to
3212 return a void rather than a boolean.
3213 Added support for a AccessibleCoordType parameter
3214 specifying what type of coordinates are desired.
3215 Added an AccessibleCordType parameter to
3216 AccessibleText_getPointAtOffset.
3218 * cspi/spi_accessible.c:
3219 Added code to return the outstanding interfaces from
3220 Accessible_queryInterface.
3222 * cspi/spi_action.c:
3224 Corrected call to getNActions to call the c binding
3227 * cspi/spi_editabletext.c:
3229 Changed name from setRunAttributes to setAttributes.
3231 * cspi/spi_hyperlink.c:
3233 Changed call to getNAnchors to correctly call the c
3234 binding for an attribute.
3236 * cspi/spi_hypertext.c:
3238 Changed getImageDescription to correctly call the
3239 binding for an attribute.
3241 * cspi/spi_selection.c:
3242 Changed getNSelectedChildren to correctly call the c
3243 binding for the attribute.
3244 Changed refSelectedChild to getSelectedChild.
3248 Changed getCaption to return an Accessible.
3249 Fixed calls which retrieve attributes.
3250 Changed refAt to getAccessibleAt.
3251 Changed getNSelectedRows and getNSelectedColumns to
3255 Changed getCharacterExtents and getPointAtOffset to accept an
3256 AccessibleCoordType.
3258 Changed calls which retrieve attributes.
3259 Changed refRunAttributes to getAttributes.
3264 * idl/Hyperlink.idl:
3265 Changed n_anchors attribute to nAnchors to keep naming
3266 convention consistent.
3269 Made Table inherit from Bonobo::Unknown.
3270 Added nSelectedColumns and nSelectedRows attributes.
3273 Made Value inherit from Bonobo::Unknown.
3275 * libspi/hyperlink.c:
3276 Change for nAnchors attributte name change.
3279 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
3281 implementations-- made server implementations own AtkObject pointers
3282 rather than their respective AtkInterrface pointers to fix
3283 refcounting. AtkHyperlink is still broken.
3285 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
3286 * cspi/spi_accessible.c:
3287 Added method Accessible_Role_getName(),
3288 and requisite string array (role_names).
3289 Added conversion string_from_corba_strin() call
3290 to Accessible_getName and _getDescription.
3291 * libspi/accessible.c:
3292 Added implementation for Accessible_getRole()
3294 Added festival support, used if environment variable
3297 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3299 * at-bridge/bridge.c:
3300 Now allocate Accessibility_Event using
3301 Accessibility_Event__alloc() instead of g_new0().
3302 * libspi/accessibleeventlistener.c:
3303 Initialize AccessibleEventListener->callbacks to NULL.
3304 Fixed accessible__event_listener_init() param, changed to
3305 "AccessibleEventListener *" type.
3306 Changed a bonobo_object_release_unref() call to
3307 Accessibility_Accessible_unref().
3308 * libspi/listener.c:
3309 Changed Bonobo_Unknown_unref to (equivalent)
3310 Accessibility_Accessible_unref.
3311 * libspi/registry.c:
3312 Changed bonobo_object_release_unref to
3313 Accessibility_Accessible_unref.
3315 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3318 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
3319 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
3320 spi-util.c spi-util.h
3321 Implementations for C bindings to remaining accessibility
3324 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3327 changed return value of Action from void to boolean to
3328 bring in line with ATK.
3331 Changed getText funcions to return "out" start and end offsets.
3332 Changed getAttributes to take and offset and return the start
3333 and end offset of the attribute run.
3334 Changed getOffsetAtPoint and getCharacterExtents to take an
3335 enum describing whether coordinates are window or screen.
3338 libspi/action.c libspi/action.h libspi/editabletext.c
3339 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
3340 libspi/hypertext.c libspi/hypertext.h libspi/image.c
3341 libspi/image.h libspi/selection.c libspi/selection.h
3342 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
3343 libspi/value.c libspi/value.h
3344 Added server implementations for outstanding ATK interfaces
3345 not yet implemented.
3347 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3350 Added (missing) getName() method.
3351 Made nActions an attribute.
3352 * idl/EditableText.idl:
3353 Changed order of params in setAttributes.
3354 * idl/Hyperlink.idl:
3355 Removed getAnchor, added getURI.
3357 Changed attributes to methods, for efficiency
3358 (so that getting extents can be done in one call)
3359 * idl/Selection.idl:
3360 Changed nSelectedChildren to attribute, and re-indented.
3361 * idl/Table.idl: changed nrows, ncolumns, caption, summary
3363 * idl/Text.idl: reformatted to match our coding style.
3364 (temporarily?) removed getRowColumnAtOffset().
3365 Changed text selection API to support multi-select and
3366 non-contiguous selections, as in ATK.
3367 * idl/Value.idl: changed some methods to attributes.
3369 2001-08-24 Mark McLoughlin <mark@skynet.ie>
3371 * libspi/listener.c(impl_notify_event):
3372 BonoboUnkown_unref the source instead
3373 of bonobo_object_release_unref - the ORB
3374 handles the releasing.
3376 * configure.in: require ORBit-2.3.94 for
3379 2001-08-21 Bill Haneman <bill.haneman@sun.com>
3381 Tagged CVS repository 'EA_1_0'.
3382 * README.EARLY_ACCESS:
3383 Alphabetized acknowledgements list, and
3385 Listed some known dependencies of at-spi.
3387 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3389 * docs/at-spi-docs.sgml:
3390 * docs/at-spi-sections.txt:
3391 * docs/at-spi-overrides.txt: (Added zero-length file)
3392 Documentation improvements - gtk-doc should build
3393 docs for all implemented C bindings now.
3396 * cspi/spi.c: (New file)
3397 * cspi/spi_event.c: (New file)
3398 * cspi/spi_registry.c: (New file)
3399 * cspi/spi_accessible.c: (New file)
3400 * cspi/spi_application.c: (New file)
3401 * cspi/spi_component.c: (New file)
3402 Split spi_main.c into six parts, and included them from
3403 "spi.c". This is a bit of a hack, probably temporary,
3404 but required by gtk-doc, apparently.
3406 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3409 * docs/at-spi-docs.sgml:
3410 * docs/at-spi-sections.txt:
3412 Initial checkins/modifications for gtk-doc generation.
3415 Added (missing) interface query methods to Accessible's C binding.
3417 Added GenericInterface type definition.
3419 Added query for AccessibleComponent interface to focus event handler.
3420 Added printout of bounding box for focussed component.
3421 * libspi/component.c:
3422 Added partial implementation for AccessibleComponent to C binding.
3423 * idl/Application.idl:
3424 * libspi/registry.c:
3425 * libspi/listener.c:
3426 * libspi/application.c:
3427 * libspi/application.h:
3428 Changed "ID" attribute type from string to long.
3430 2001-08-19 Bill Haneman <bill.haneman@sun.com>
3434 Made method naming consistent: methods taking object args
3435 start with uppercase, other methods (except those using
3436 acronyms) start with lowercase. Underscores delimit between
3437 object names and method names:
3438 SPI_init() - uppercase since it starts with an acronym.
3439 getDesktopCount () - lowercase start since no object param0.
3440 Accessible_getName() - uppercase object type name, studlyCaps method
3444 Added gtk-doc documentation for all currently implemented
3445 methods in the C bindings API.
3447 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3449 * Makefile.am : changed build order to build test last.
3452 Changed "createEventListener" to "CreateEventListener".
3453 * libspi/accessibleeventlistener.c :
3454 Bugfix for addition of callbacks.
3455 * test/Makefile.am :
3456 * test/simple-at.c :
3457 Added new test that uses the C bindings API.
3459 * libspi/listener.c :
3460 * libspi/registry.c :
3461 * libspi/accessibleeventlistener.c :
3462 * at-bridge/bridge.c :
3463 Renamed member "target" of Accessibility_Event to "source",
3464 which is more descriptive.
3467 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3471 * cspi/Makefile.am :
3472 Added makefile support for at-spi/cspi directory.
3475 * cspi/spi-listener.h : (NEW FILE)
3476 Added support for/use of spi-listener.h.
3478 C bindings now build successfully, with no warnings.
3479 * libspi/accessibleeventlistener.h : (NEW FILE)
3480 * libspi/accessibleeventlistener.c : (NEW FILE)
3481 * libspi/Makefile.am :
3482 Added new object type "AccessibleEventListener"
3483 which inherits from Listener, and allows attachment
3484 of in-process callbacks (so that a client with a listening
3485 object instance can add functionality to the local
3486 implementation, dynamically).
3488 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3490 * libspi/accessible.c:
3491 Add implementation for get_index_in_parent().
3493 Added #include of "spi-roletypes.h", and
3494 added enumerated type AccessibleCoordType.
3495 Added definition for KeystrokeListener (function type).
3498 * cspi/spi-statetypes.h :
3499 * cspi/spi-roletypes.h :
3501 Added these headers, used by spi.h.
3503 Added code (NOTE: not yet built by make).
3505 2001-08-18 Mark McLoughlin <mark@skynet.ie>
3507 * libspi/Makefile.am: generate imodule
3508 at the same time as other idl compiler
3511 2001-08-17 Bill Haneman <bill.haneman@sun.com>
3512 * libspi/registry.c :
3513 * libspi/application.c :
3514 * idl/Application.idl :
3515 Made registration with toolkit an application method,
3516 which is required since each app has its own toolkit static
3517 environment. Thus the bridge must register for
3518 notification of toolkit events from each application in turn.
3519 Toolkit notifications are now successfully registered for, and
3520 sent to the listening at client.
3522 Changed toolkit event string to use hyphens rather than underscores.
3523 * libspi/listener.c :
3524 listner now gives more info in debug mode - it reports the
3525 name of the event received, as well as the name of the source.
3528 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3530 * libspi/registry.c :
3531 added more implementation for toolkit events.
3532 Fixed bug such that toolkit event registrations
3533 (via atk) use the whole event name string, not
3535 Removed a useless call to an ORBit_ method.
3536 * at-bridge/bridge.c :
3537 Removed unused local sbuf[] variable.
3539 We now register for Gtk:GtkWidget:button_press_event
3540 events as well as "focus:" events.
3542 Add some more API from Registry.idl that was missing,
3543 for keystroke listening, keystroke and mouse event
3544 synthesis, and enumeration of accessible desktops.
3546 2001-08-16 Michael Meeks <michael@ximian.com>
3548 * configure.in: use AM_GLIB_GNU_GETTEXT.
3550 * Makefile.am (SUBDIRS): kill intl.
3552 2001-08-15 Michael Meeks <michael@ximian.com>
3554 * registryd/Makefile.am: s/oaf/server/ relocate info file.
3556 * configure.in: upd.
3558 * configure.in: depend on a recent bonobo-activation that
3559 will find our server files ...
3561 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3563 * libspi/accessible.c : accessible_new() :
3564 Now we add the Component interface via bonobo_object_add_interface,
3565 if the contained AtkObject implements AtkComponent.
3566 * libspi/accessible.h : now include "component.h"
3567 * libspi/component.h :
3568 * libspi/component.c : added files - implementation of
3569 bonobo wrapper object for Accessibility/Component
3570 * libspi/listener.c :
3571 Added test code to check for Accessibility/Component:1.0
3572 interface and report whether it is implemented by the
3574 * libspi/registry.c :
3575 Now we check for not only the hash of the whole event
3576 string before relaying the event, we also check the
3577 "minor" event string (without the detail string).
3578 This allows event listeners to be registered against
3579 all events of a certain major+minor type, or just
3580 against a specific major+minor+detail type.
3581 * libspi/accessible.c :
3582 Added implementations for Accessible:get_parent(),
3583 Accessible:getChildCount(), and Accessible:getChildAtIndex().
3584 * libspi/registry.c :
3585 * libspi/listener.c :
3586 Replaced calls to Accessibility_Accessible_ref() and
3587 Accessibility_Accessible_unref() with
3588 calls to bonobo_object_dup_ref() and
3589 bonobo_object_release_unref(), so that the CORBA object
3590 is dup-ed and released when relayed, as well as the bonobo object.
3592 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3594 * libspi/Makefile.am,
3595 registryd/Makefile.am,
3596 at-bridge/Makefile.am.
3597 test/Makefile.am, configure.in:
3598 reverse previous changes.
3600 * /idl/Image.idl: fix typo.
3602 * test/Makefile.am: put DEBUG_FLAGS
3605 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3607 * test/app.c: use argv[0] instead of
3610 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3612 * libspi/Makefile.am,
3613 registryd/Makefile.am,
3614 at-bridge/Makefile.am.
3615 test/Makefile.am, configure.in:
3616 cleanup, replace individual LIBS/CFLAGS with
3617 AT_COMMON_{LIBS|CFLAGS}.
3621 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3623 * configure.in, libspi/Makefile.am:
3624 Change IDL path checking for bonobo-activation
3627 2001-08-15 Bill Haneman <bill.haneman@sun.com>
3629 * registryd/registry.c : separated event listeners to use
3630 3 separate lists (focus, window, toolkit). Began testing
3631 event names against hashes before relaying events.
3632 * test/at.c : now register for events of type "focus:"
3633 * test/app.c : now generate events of type "focus:"
3634 * at-bridge/bridge.c : register with ATK for focus events,
3635 and we now relay those focus events to any "focus:" listeners.
3636 This now works with the bridge as a GTK_MODULE when running test/at.
3637 * libspi/registry.c :
3638 * libspi/listener.c :
3639 now we ref event sources before propagating, and unref on receipt.
3640 * libspi/registry.c :
3641 some changes to internal structs, to support event typestring hashes.
3642 * text/app.c : changed the way the appname is generated.
3643 * cspi : added directory that will hold the C bindings library for
3644 non-CORBA/bonobo-savvy clients.
3645 * cspi/spi.h : header file that contains the function prototypes for the C binding.
3646 * idl/Component.idl : added in parameter to indicate coord system for
3647 geometry-related calls.
3648 * idl/Hyperlink.idl : added readonly n_links attribute
3649 * idl/Image.idl : changed methods to attributes.
3651 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3653 * at-bridge/Makefile.am: link against
3654 ../libspi/libspi.la instead of -lspi.
3656 * at-spi/test/app.c: include
3657 bonobo-activation.h. Use a default appname
3658 if one is not provided.
3660 2001-08-14 Bill Haneman <bill.haneman@sun.com>
3662 * idl/Registry.idl : temporarily changed register_Application
3663 to oneway, to work around issue with initial registration
3665 * idl/Application.idl : changed attribute "id" from readonly
3666 to read-write, since it needs to be assigned by Registry.
3667 * registryd/registryd.c : added call to set application id
3669 * registryd/registry.c : changed de-registration procedure to
3670 use CORBA_Object_hash() to find matching object ref in application
3671 lists and listener lists.
3672 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
3673 began distinguishing between event types (work in progress).
3675 2001-08-13 Bill Haneman <bill.haneman@sun.com>
3678 * libspi/application.c:
3679 Added implementations for get/set id, get_toolkitName,
3681 * registryd/registryd.c :
3685 Converted from use of OAF to bonobo-activation.
3686 * libspi/desktop.h :
3687 * libspi/desktop.c :
3689 Removed references to atksimpleobject, since base atkobject
3690 implementation now provides functionality we need.
3691 * libspi/atksimpleobject.c :
3692 * libspi/atksimpleobject.h :
3697 * at-bridge/Makefile.am
3698 * at-bridge/bridge.c
3701 Added directory "bridge" and contents, and added dependencies
3702 in Makefile.am/configure.in.
3703 Initial checkin of "at-bridge".
3704 This code is a GTK_MODULE which automatically registers
3705 GTK+ apps with the accessibility registry, using an object
3706 reference to the root ATK object.
3708 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3710 * po/Makefile.in.in: Remove. Again. If this
3711 doesn't get autogenerated - you need to update
3714 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3716 * po/Makefile.in.in: Add. Again.
3718 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3720 * libspi/accessible.c : added support for 'description' property.
3721 * libspi/accessible.c
3723 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3724 (since the two are now equivalent in libbonobo)
3732 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3733 Bonobo::Unknown as does Accessibility::Accessible.
3734 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3735 interface with Bonobo::Stream, since it was redundant with it.
3736 (The Stream returned by a StreamableContext object is expected to
3737 implement only a subset of Bonobo::Stream)
3739 2001-07-28 Anders Carlsson <andersca@gnome.org>
3741 * libspi/accessible.c (accessible_object_finalize): Change
3742 g_free to g_object_unref since the AtkObject is a GObject.
3744 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3746 * idl/Accessibility.idl: add new IDL files
3749 * idl/Action.idl: Definitions of actionable UI object
3750 * idl/Component.idl: Definitions of UI component geometry, etc.
3751 * idl/Hyperlink.idl: Defs of hyperlink behavior
3752 * idl/Image.idl: Def of accessible image
3753 * idl/Selection.idl: Definition of UI object with selectable children
3754 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3755 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3756 * idl/Text.idl: Interface defs for UI elements with complex textual content
3757 * idl/Value.idl: Definition of UI element that is a value controller or display
3759 2001-07-27 Michael Meeks <michael@ximian.com>
3761 * po/Makefile.in.in: remove autogenerated file from CVS.
3763 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3766 * idl/Registry.idl: include guard.
3768 * idl/Accessibility.idl: Add, and include all the other IDL
3771 * idl/*.idl: remove mass of pragmas etc.
3773 2001-07-26 Michael Meeks <michael@ximian.com>
3775 * registryd/Makefile.am (registryd_SOURCES): remove
3778 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3780 * libspi/.cvsignore, registryd/.cvsignore,
3781 test/.cvsignore: updated.
3783 * po/Makefile.in.in: gettext update.
3785 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3787 * initial CVS checkin
3789 2001-06-29 Michael Meeks <michael@ximian.com>
3791 * configure.in: add AM_CONFIG_HEADER to gen config.h