1 2002-04-17 Bill Haneman <bill.haneman@sun.com>
4 Started putting useful info in this file.
6 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
9 Propagate state-changed notifications to ATs
11 * cspi/spi_registry.c: update docs to reflect actual behavior of
14 2002-04-17 Bill Haneman <bill.haneman@sun.com>
17 Incremented version to 0.12.1
20 Add missing declaration for magnifier_exit,
21 used by mag_control.c - Forte compiler didn't like
22 the implicit redeclaration of the function :-(
25 2002-04-16 Bill Haneman <bill.haneman@sun.com>
28 Revved version to 0.12 due to API change (see below).
30 * cspi/spi-roletypes.h:
31 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
32 definition from the inline docs, and added docs
33 for SPI_ROLE_LAST_DEFINED.
36 * cspi/spi_streamablecontent.c:
37 Added missing seek_type parameter to
38 (so far unused) method,
39 AccessibleStreamableContent_seek().
40 [ RT approval JodyG. ]
43 Fixed docs for SPI_createAccessibleKeystrokeListener.
45 * cspi/spi_registry.c:
46 Fixed docs for SPI_KEYSET_ALL_KEYS.
48 * docs/reference/cspi/at-spi-cspi-sections.txt:
49 Added a number of missing APIs to SECTIONS.
51 2002-04-16 Bill Haneman <bill.haneman@sun.com>
53 * registryd/Makefile.am:
55 * cspi/bonobo/Makefile.am:
56 Add $(X_LIBS) to makefiles.
58 2002-04-15 Bill Haneman <bill.haneman@sun.com>
61 Revved version to 0.11.
64 Added implementation for grabFocus.
66 * idl/Accessibility_Component.idl
67 (Accessibility_Component_grabFocus):
68 Made this method return boolean to indicate success or failure, to
69 be consistent with cspi and the corresponding ATK method.
71 * idl/Accessibility_Selection.idl
72 (Accessibility_Selection_selectAll) :
73 Made these methods return boolean to indicate success or
74 failure, to be consistent with cspi and the corresponding ATK methods.
76 * idl/Accessibility_EditableText.idl
77 (Accessibility_EditableText_setTextContents,
78 Accessibility_EditableText_insertText,
79 Accessibility_EditableText_cutText,
80 Accessibility_EditableText_deleteText,
81 Accessibility_EditableText_pasteText):
82 Made these methods return boolean to indicate
85 * cspi/spi_editabletext.c:
86 Made these methods return booleans.
90 * libspi/editabletext.c:
91 Connected the boolean returns from ATK
92 to the server-side code referenced above.
94 2002-04-14 Bill Haneman <bill.haneman@sun.com>
96 * idl/Accessibility_Table.idl: Added missing methods,
97 Accessibility_Table_addRowSelection,
98 Accessibility_Table_addColumnSelection,
99 Accessibility_Table_removeRowSelection,
100 Accessibility_Table_removeColumnSelection.
103 Added C wrappers for above IDL:
104 AccessibleTable_addRowSelection,
105 AccessibleTable_addColumnSelection,
106 AccessibleTable_removeRowSelection,
107 AccessibleTable_removeColumnSelection.
110 Added server-side implementation code for IDL above, connecting
111 to pre-existing ATK api.
113 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
115 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
117 * libspi/accessible.c: Added implementation fo
118 Accessibility_Accessible_get_state.
120 * libspi/libspi.h: Added stateset.h to the list of includes.
122 * libspi/stateset.c: Fixed broken implementation.
124 2002-04-13 Bill Haneman <bill.haneman@sun.com>
127 Added implementation code for Accessibility_Magnifier_exit ().
129 * util/mag_control.c:
130 Added test code for above method; you can
131 now kill an existing magnifier via
132 ./mag_control q, from the util directory.
134 * test/key-listener-test.c:
136 Added a new test, for our key listener API.
138 2002-04-11 Bill Haneman <bill.haneman@sun.com>
140 * test/app.c, test/keysynth-demo.c:
142 Replace use of snprintf with g_snprintf.
143 (fix for bugzilla 78249)
145 2002-03-27 Michael Meeks <michael@ximian.com>
149 * util/Makefile.am (INCLUDES): fix.
150 (DONT_DIST_SOURCE): don't distribute the
153 * libspi/Makefile.am (dist-hook): ditto.
155 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
157 * libspi/hypertext.c:
158 Fix warnings when yelp is used with atk-bridge
160 2002-03-21 Michael Meeks <michael@ximian.com>
162 * libspi/application.c (spi_application_new):
163 use spi_accessible_construct so we use the AtkObject
166 2002-03-19 Michael Meeks <michael@ximian.com>
168 * registryd/registry.c (desktop_remove_application),
169 (desktop_add_application): clean coding style.
171 * registryd/desktop.c (spi_desktop_remove_application),
172 (spi_desktop_add_application): kill re-enterency hazards.
173 (spi_desktop_dispose): remove bogus redundant cast
174 obscuring bug; fix bug too.
175 (spi_desktop_init): make the desktop object immortal.
177 2002-03-16 Bill Haneman <bill.haneman@sun.com>
180 Added a #define-guarded tree-traversal step
181 when enumerating the apps (diagnostic tool).
183 2002-03-15 Bill Haneman <bill.haneman@sun.com>
185 * idl/Accessibility_Role.idl:
186 Added ROLE_DRAWING_AREA which seemed to be missing from the
189 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
191 * cspi/spi-roletypes.h cspi/spi_accessible.c
192 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
195 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
196 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
197 AT when applications are added and removed from the desktop. This
198 reverts the previous broken implementation using the backing
199 AtkObject for the SpiDesktop.
201 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
203 * registryd/desktop.c: emit the "children-changed::add" and
204 "children-changed::remove" signals on the backing ATK object for
205 the desktop so AT can tell when applications are started and shut
208 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
210 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
212 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
214 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
216 * cspi/spi_accessible.c: Implemented c bindings for stateset support
218 * cspi/state-types.h: synched with IDL and ATK
220 2002-03-13 Bill Haneman <bill.haneman@sun.com>
222 * libspi/accessible.c
223 (impl_accessibility_accessible_get_child_at_index):
224 Change return value for g_return_if_fail ()
225 to CORBA_OBJECT_NIL instead of "0" (!)
227 * registryd/Makefile.am:
228 * registryd/Accessibility_Register.server.in:
229 Changed name of executable, "registryd",
230 to something more informative:
233 2002-03-13 Michael Meeks <michael@ximian.com>
235 * atk-bridge/bridge.c (atk_bridge_init): don't register
236 if we're in a bonobo-component, rather than a bonobo app.
238 2002-03-13 Michael Meeks <michael@ximian.com>
240 * atk-bridge/bridge.c (gtk_module_init): split
241 out body to (atk_bridge_init): here, since otherwise
242 we get symbol conflicts and oddness when invoked
243 from (gnome_accessibility_module_init): here (upd.)
245 2002-03-11 Bill Haneman <bill.haneman@sun.com>
248 New file. Explicitly allow "build sheriff" putbacks provided
249 they are tested on Solaris.
251 * docs/reference/cspi/Makefile.am:
252 Added '-' to the "cp" command for index.sgml.
253 ("patch by thomasvs, soon coming to a GUADEC near you")
256 Incremented version number (0.9.0) for new release.
257 Changed macro that checks for popt, to better detect
258 obsolete versions of popt.
261 Added X_LIBS to AC_SUBST, for applications
262 that call Xlib API directly.
265 2002-03-07 Bill Haneman <bill.haneman@sun.com>
268 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
271 Fix regression caused by hard-coding major
272 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
275 * test/test-simple.c (test_editable_text),
276 (test_test): revert previous change (error was
277 a regression in gail which is now fixed).
279 2002-03-04 Michael Meeks <michael@ximian.com>
281 * test/test-simple.c (test_editable_text),
282 (test_text): pass G_MAXINT instead of '-1' for
283 whole string - is this a good thing !?
285 * cspi/spi_accessible.c
286 (Accessible_getRelationSet): fix crasher bug
287 overwriting the end of the array.
289 * test/test-simple.c (validate_accessible): free,
290 not g_free returned relation set.
292 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
294 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
295 implemented stateset support
297 * idl/Accessibility_State.idl: Made necessary changes to
298 the IDL to support state sets.
300 2002-02-12 Bill Haneman <bill.haneman@sun.com>
302 * registryd/deviceeventcontroller.c:
303 Added implementation for generateMouseEvent.
305 * cspi/spi_registry.c:
306 Connected new implementation for generateMouseEvent
309 2002-02-12 Bill Haneman <bill.haneman@sun.com>
312 Incremented revision (but no change in public API
313 outside of 'utils', which are not installed public yet.)
315 * libspi/component.c:
316 Changed to use atk_component API for layers and
317 mdi_zorder, instead of deprecated atk_object API.
319 Magnification Utility Enhancements:
322 Added implementation of createZoomRegion, clearAllZoomRegions,
323 resizeZoomRegion. Added new commandline argument
324 "--no-initial-region". Note that clearAllZoomRegions doesn't
325 unmap the old '0' region as it should (yet), and the other
326 methods only work when creating/resizing a single region,
328 (Code for multiple region support will be added later.)
331 Now we raise the magnifier window each time it's refreshed;
332 this will help keep it on top.
335 Added simple wrappers for above, used by mag_control.
336 For general use, it's recommended to use the bonobo magnifier
337 control API directly instead of using these wrappers.
340 Moved ZoomRegionData from magnifier.c to this file.
342 * util/mag_control.c:
343 Added some code to exercise new IDL implementations.
345 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
347 * libspi/text.c: Provide implementation for getAttributes.
349 2002-02-04 Bill Haneman <bill.haneman@sun.com>
352 Incremented revision.
354 * test/test-simple.c:
355 Replaced use of deprecated g_main_iteration with
356 g_main_context_iteration.
358 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
361 Incremented revision for desktop alpha 2.
363 2002-01-28 Mark McLoughlin <mark@skynet.ie>
365 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
368 * test/simple-at.c: include netinet/in.h.
370 2002-01-24 Mark McLoughlin <mark@skynet.ie>
372 * cspi/spi_accessible.c: (Accessible_getRelationSet):
373 use NULL, not CORBA_OBJECT_NIL.
375 * libspi/accessible.c:
376 (impl_accessibility_accessible_get_relation_set):
377 allocate the sequence correctly.
379 * libspi/remoteobject.h: kill spi_remote_object_new.
381 * test/test-simple.c: (validate_accessible): add code
382 to test relation sets, now all we need is to figure
383 out how to excercise this code path :/
385 2002-01-18 Michael Meeks <michael@ximian.com>
388 (key_listener_cb): consume the key.
389 (test_keylisteners): update.
390 (main): wait for any pending unrefs on events.
392 * registryd/deviceeventcontroller.c
393 (spi_controller_update_key_grabs): only re-issue the
394 grab on a key release.
395 (spi_device_event_controller_forward_key_event):
396 refresh the keygrabs before we notify the listeners,
397 to reduce the X ungrab / re-grab race.
398 (spi_controller_register_with_devices): remove
399 XSelectInput - we do that with the gdk_window_ call.
400 (_spi_controller_device_error_handler): return a value.
401 s/GDK_DISPLAY/spi_get_display/
403 2002-01-17 Michael Meeks <michael@ximian.com>
405 * registryd/deviceeventcontroller.c
406 (_deregister_keygrab): don't blow out the later
409 * test/test-simple.c (test_keylisteners): do a
410 more intelligent validation.
412 2002-01-14 Michael Meeks <michael@ximian.com>
414 * atk-bridge/bridge.c
415 (gnome_accessibility_module_init),
416 (gnome_accessibility_module_shutdown): impl.
417 (gtk_module_init): protect vs. double inits.
418 (add_signal_listener): impl.
419 (spi_atk_bridge_state_event_listener): kill
420 (deregister_application): split out of
421 (spi_atk_bridge_exit_func): here.
423 2002-01-18 Bill Haneman <bill.haneman@sun.com>
426 Added caret tracking when using magnifier, and
427 now use text bounds for focus tracking of text elements, rather than
428 the component bounds - this is helpful for short text fields in long
429 table cells, at high magnification.
431 2002-01-16 Bill Haneman <bill.haneman@sun.com>
433 * registryd/deviceeventcontroller.c:
434 Regression fix for keylistener de-registration; global keygrabs
435 were not being released when deregisterKeystrokeListener was
436 called in cspi, since
437 Accessibility_DeviceEventController_deregisterKeystrokeListener
438 was called with a zero-length keyset. That is because the cspi
439 method, SPI_deregisterKeystrokeListener, does not take a keyset
440 parameter but instead should remove all the key grabs held be a
442 The code in impl_deregister_keystroke_listener was changed to copy
443 the keylist from the listener instance previously registered with
444 the DeviceEventController before releasing the grabs.
446 * registryd/registry.c:
447 * registryd/deviceeventcontroller.c:
448 * libspi/spi-private.h:
450 Changed spelling of "re-enterant" to "re-entrant" globally.
452 2002-01-16 Bill Haneman <bill.haneman@sun.com>
454 * test/test-simple.c:
455 Changed key listeners test - the test was slightly mis-using the
456 (admittedly poorly documented) SPI_generateKeyboardEvent API.
457 It now uses '=' as the key event listened to and generated,
458 relying on a keysym match rather than assuming that keycode 33
459 is always equal to keysym '!'.
461 2002-01-15 Bill Haneman <bill.haneman@sun.com>
464 Changed simple-at to use a specific keyset, rather than
465 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
466 manager, desktop, etc.
468 2002-01-11 Bill Haneman <bill.haneman@sun.com>
470 * registryd/deviceeventcontroller.c:
471 Replaced standard X error handler with a special handler that
472 is non-fatal for failed keygrabs. This works around
473 problems with keygrab clashes sometimes observed on
475 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
476 mouse handling code as yet).
478 2002-01-11 Bill Haneman <bill.haneman@sun.com>
481 Incremented revision for desktop alpha release.
484 Fixed a couple of the more glaring errors (still not
487 2002-01-11 Michael Meeks <michael@ximian.com>
489 * registryd/deviceeventcontroller.c
490 (spi_device_event_controller_forward_key_event): kill
491 XUngrabKey / XKeyGrab race.
492 (spi_controller_grab_keyboard): rename to
493 (spi_controller_update_key_grabs): this, and deal
494 with incremental adding / removing grabs more
496 (_register_keygrab): ensure we're not pending a remove.
497 (spi_grab_mask_free): impl.
498 (spi_controller_register_global_keygrabs): split out
500 (handle_keygrab): impl.
501 (_deregister_keygrab): impl.
502 (spi_controller_deregister_global_keygrabs): impl.
503 (spi_controller_update_key_grabs): re-issue the grab if
504 we just recieved a notification.
506 * test/test-simple.c (key_listener_cb): remove debug.
508 * registryd/deviceeventcontroller.c
509 (spi_controller_register_device_listener): after
510 registering a global keygrab, actualy register it !
511 don't wait for a timeout; doh !
513 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
514 to make it more readable / manipulable.
515 s/grabmask/grab_mask/ s/refcount/ref_count/
516 s/keyval/key_val/ s/modmask/mod_mask
518 2002-01-08 Michael Meeks <michael@ximian.com>
520 * registryd/deviceeventcontroller.c
521 (spi_controller_register_with_devices): use gdk calls to
523 (global_filter_fn): implement the filter.
524 (spi_device_event_controller_check_key_event): rename to
525 (spi_device_event_controller_forward_key_event): this & upd.
526 (spi_get_display): replace with GDK_DISPLAY.
528 * registryd/deviceeventcontroller.c
529 (spi_controller_deregister_device_listener): unroll into
530 (impl_deregister_keystroke_listener): here to simplify.
531 (spi_controller_register_global_keygrabs): split cut and
532 paste (!) out into (_register_keygrab): here, shorter & sweeter.
533 (spi_controller_deregister_device_listener): remove.
534 (impl_register_mouse_listener): remove, no mouse listener
535 support in at-spi-1.0
537 * registryd/registry.c
538 (_device_event_controller_hook): kill.
539 (spi_registry_init): upd.
541 * registryd/deviceeventcontroller.c
542 (spi_device_event_controller_class_init): upd.
543 (spi_check_key_event): merge into.
544 (spi_device_event_controller_check_key_event):
545 here and kill strange static ev init, don't leak
546 the x_event - nor dynamicaly allocate it.
548 * registryd/registry-main.c (main): re-direct
549 timeout to remove strange vtable mess.
551 * registryd/deviceeventcontroller.c
552 (remove_listener_cb): impl.
553 (spi_controller_deregister_device_listener):
554 fix re-enterancy hazard.
556 2002-01-07 Michael Meeks <michael@ximian.com>
558 * registryd/deviceeventcontroller.c
559 (spi_device_event_controller_new): upd.
560 (impl_notify_listeners_sync): upd. debug.
561 (spi_notify_keylisteners): fix re-enterancy hazards,
562 prettify, remove O(n*n) iteration.
563 (spi_controller_grab_keyboard): fix iteration.
564 (spi_check_key_event): re-format to suit coding style.
565 Clean all the warnings - we're warning free.
567 * registryd/deviceeventcontroller.h:
568 * registryd/registry.h: make mutualy referential with
569 typesafe forward references instead of (!) void pointer
572 2002-01-11 Michael Meeks <michael@ximian.com>
574 * cspi/spi_accessible.c (role_names): add a role name
575 to sync this array with the enum; and make the regression
578 2002-01-10 Michael Meeks <michael@ximian.com>
580 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
581 allow expansion of enumeration & kill warning.
583 * test/test-simple.c (key_listener_cb): impl.
584 (test_keylisteners): impl.
586 * cspi/spi-listener.h: make listener signatures const
587 on the provided (const) events.
589 * test/keysynth-demo.c: upd. to const events.
591 * test/simple-at.c: ditto.
593 2002-01-11 Bill Haneman <bill.haneman@sun.com>
596 Rev the version to 0.5 (the previous tarball was named 0.4,
597 even though the micro number was 3), so we need to rev upwards
598 again for beta2/"desktop-alpha"
601 Checked in a demo script, which requires editing before use!
602 Proceed with caution.
605 Fixed typo in header which was redefining SPI_ACTION_CLASS.
607 * cspi/spi_accessible.c:
608 Add a couple of missing enum initializations, and fix some enum
611 * cspi/spi_registry.c:
612 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
614 * docs/reference/cspi/at-spi-cspi-sections.txt:
615 Remove/fix a couple of broken document references.
618 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
619 as Alt-Control to listen for commands, since on some systems
620 Control-Alt may already be grabbed.
622 2002-01-10 Bill Haneman <bill.haneman@sun.com>
625 Update version number to 0.4 for Beta2.
627 * libspi/accessible.c, libspi/accessible.h:
628 Expose spi_accessible_construct, to enable libgail-gnome
629 construction from spi_accessible subtype.
632 Workaround for bug in some non-gnome-compliant window managers
633 which made magnifier resize improperly.
635 2002-01-09 Bill Haneman <bill.haneman@sun.com>
637 * libspi/accessible.c: (spi_accessible_new) :
638 Move the test for SPI_IS_REMOTE_OBJECT to
639 spi_accessible_new_return, fixing a bug and compile time warning.
641 2002-01-08 Michael Meeks <michael@ximian.com>
643 * registryd/registry.c (parse_event_type): remove strndup.
645 * libspi/Makefile.am (libspi_la_SOURCES): remove
646 sources already included in the headers section.
648 * libspi/util.c: add.
650 * libspi/spi-private.h: add.
652 * registryd/registry.c: update to moved list iterators.
654 2002-01-05 Michael Meeks <michael@ximian.com>
656 * test/simple-at.c (main): upd. auto-module set to atk-bridge
658 * test/test-simple.c (main): ditto.
660 2002-01-04 Michael Meeks <michael@ximian.com>
662 * libspi/accessible.c (spi_accessible_new): remove 2nd,
665 * registryd/registry.c
666 (get_listener_list): impl.
667 (impl_accessibility_registry_register_global_event_listener):
668 re-impl. to simplify using ~, remove dodgy const cast off.
669 (parse_event_type): constify.
670 (impl_accessibility_registry_deregister_global_event_listener_all):
671 re-write, more efficiency and simplicity, kill re-enterancy
673 (compare_listener_corbaref, compare_corba_objects),
674 (compare_listener_quarks): define out.
675 (impl_accessibility_registry_deregister_global_event_listener):
676 re-write for effiency, and nail re-enterancy hazard.
677 (impl_accessibility_registry_get_desktop_list): impl.
678 (re_enterant_list_delete_link): impl.
679 (re_enterant_list_foreach): impl.
680 (remove_listener_cb): impl.
681 (_registry_notify_listeners): kill.
682 (notify_listeners_cb): impl.
684 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
685 (SPI_getDesktopList): impl.
687 * test/test-simple.c (test_desktop): test the methods.
689 2002-01-03 Michael Meeks <michael@ximian.com>
691 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
692 keystrings since we free them
693 (SPI_freeAccessibleKeySet): in here.
695 * libspi/accessible.c (spi_accessible_new): kill warning,
696 wonder what is going on with the constructor here.
698 2002-03-01 Bill Haneman <bill.haneman@sun.com>
700 * libspi/accessible.c (spi_accessible_new ()) :
701 Added check to see if AtkObject is an SpiRemoteObject before
702 creating an SpiAccessible.
704 2002-05-01 Bill Haneman <bill.haneman@sun.com>
706 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
707 Enable keygrabs using the Control modifier, now that they are
708 working properly (they were previously disabled).
711 Change the command keygrab for this demo to "Control+Alt", so as
712 to conflict with fewer other key commands on the system; this
713 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
715 Removed a pointlessly-chatty keylistener for unshifted keys
716 (shifted keys are still reported).
718 2002-02-01 Bill Haneman <bill.haneman@sun.com>
720 * libspi/remoteobject.h:
721 * libspi/remoteobject.c:
722 Added definitions for special AtkObject subtype, required for
723 support of remote components (specifically, used by BonoboControl
724 accessibility implementation).
726 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
728 * cspi/spi.h: synched relation types with ATK
730 * cspi/spi_accessible.c: Added implementations of
731 AcccessibleRelation_* methods
733 * idl/Accessibility_Relation.idl: added getRelationTypeName
734 method. Synched known relation types with ATK. Allowed for
735 relation type extension with the RELATION_EXTENDED type.
737 * libspi/relation.c: Provided implementations for
738 AccessibleRelation methods.
740 2002-01-01 Bill Haneman <bill.haneman@sun.com>
742 API tweaks for today's API 'freeze'.
745 Added placeholder functions to allow future compatible expansion
746 of the IDL interfaces.
748 * idl/Accessibility_Registry.idl:
749 Changed generateKeyEvent to generateKeyboardEvent. Changed
750 signature of this method to accept an optional keystring in
751 parameter (for complex text input synthesis) and changed use of
752 simple 'boolean' parameter in registerKeystrokeListener to a
753 struct, EventListenerMode.
755 * cspi/spi_accessible.c:
757 * cspi/spi_streamablecontent.c:
758 Added references to AccessibleStreamableContent interface, and
759 definition and implementation of AccessibleStreamableContent
762 * cspi/spi_registry.c:
764 Changed generateKeyEvent API to generateKeyboardEvent,
765 taking a new (optional) keystring parameter to support complex
770 Renamed directory (to better reflect its actual purpose, bridging
771 from at-spi to ATK). The .so module is also now named
774 * idl/Accessibility_Hypertext.idl:
775 * libspi/accessible.c:
776 * libspi/hypertext.h:
777 * libspi/hypertext.c:
778 Changed Accessibility_Hypertext to *not* derive from
781 * cspi/spi_registry.c:
782 Added list of legal event type names for 'window' events, which
783 completes the registry event API.
785 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
787 * at-bridge/bridge.c: Added registration for separate
788 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
789 signals. If either of the first two parameters to the generic
790 bridge signal handler are ints, they are passed on as event
791 details. This allows an AT to determine what text was inserted.
793 2001-12-21 Bill Haneman <bill.haneman@sun.com>
795 * registryd/deviceeventcontroller.c:
796 Fixed regressions in generateKeyEvent caused by the removal of
797 gdk_init from registryd; we now use pure X calls to connect to the
798 display, which makes sense because deviceeventcontroller already
799 uses a fair bit of X API (should eventually be migrated to a
800 'portability layer').
802 * registryd/desktop.c:
803 Fixed minor regression in spi_desktop_init, changed the way the
804 desktop name is being set to work with new spi_base API
805 (gobject-based, rather than AtkObject-based).
807 * registryd/Makefile.am:
808 Minor revision of makefile to use XTST_LIBS variable rather than
809 hard-wiring the Xtst LD_ADD element.
811 * test/keysynth-demo.c:
812 Tweaked an output message; added initialization of the
813 'keystrings' member of the "switch listener" key_set.
816 Squashed compile-time warning.
818 * libspi/accessible.c:
819 Cosmetic and formatting fixes, renamed a static method.
821 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
823 * libspi/accessible.c
825 * libspi/application.c
829 * libspi/editabletext.c
837 * registryd/desktop.c:
838 Changed SpiBase to contain a GObject pointer rather than an AtkObject
840 2001-12-17 Bill Haneman <bill.haneman@sun.com>
842 * idl/Accessibility_Registry.idl:
843 Added boolean member 'is_text' to DeviceEvent. This is for the
844 use of key events, and helps prevent ambiguity between composed
845 key strings and keysym names, since both may potentially be
846 returned in the 'event_string' member.
848 * at-bridge/bridge.c:
849 * registryd/deviceeventcontroller.c:
850 Use the 'is_text' member when notifying device event listeners.
851 Knon issue: composed characters are not dealt with correctly by
852 the global key listener implementation yet.
854 2001-12-17 Bill Haneman <bill.haneman@sun.com>
856 * at-bridge/bridge.c:
857 Namespaced local static methods to spi_atk_bridge_* where
858 previously named bridge_*, and spi_* elsewhere.
860 * at-bridge/bridge.c:
861 * cspi/bonobo/cspi-bonobo-listener.c:
862 Added demarshalling/conversion for string member of
863 Accessibility_DeviceEvent to AccessibleKeystroke.
865 * registryd/deviceeventcontroller.c:
866 Added code to fill the Accessibility_DeviceEvent key string value
867 member for global key events (i.e. from XGrabKey), to match
868 behavior of Accessibility_DeviceEvent from the toolkit key events
869 from the bridge. Fixed timestamp in global key event notifications.
872 Added printout of key event's string value to
873 report_ordinary_key_event, for demo/debugging purposes.
875 2001-12-15 Bill Haneman <bill.haneman@sun.com>
877 * idl/Accessibility_Registry.idl:
878 Removed Accessibility_KeyStroke structure in favor of generic
879 Accessibility_DeviceEvent structure.
880 Changed Accessibility_ControllerEventMask from a struct to an
883 * at-bridge/bridge.c:
884 Changed APIs to use DeviceEvent structure as above, and removed
885 bogus casting between these event structures.
887 * cspi/spi-listener.h:
888 Added keystring member of AccessibleKeystroke structure, to enable
889 matching on event "names" rather than only hardware codes and
893 Added keystrings member of AccessibleKeySet struct, to allow
894 matching on event names (as above).
895 Added declarations for SPI_createAccessibleKeySet and
896 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
897 event modmasks directly as unsigned ints rather than structs with
898 refcounts, in the DeviceEventController methods.
900 * cspi/spi_registry.c:
901 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
903 * cspi/spi-roletypes.h:
904 Added documentation of newly added SPI Roles.
906 * cspi/bonobo/cspi-bonobo-listener.c:
907 Changes in support of API changes above.
909 * libspi/accessible.c:
910 Converted APIs to use DeviceEvent structure (see IDL changes
913 * registryd/deviceeventcontroller.c:
914 Added DEControllerGrabMask structure to track keygrabs not only by
915 modmask but by keyset as well; this allows us to do "global"
916 (i.e. X) keygrabs on a per-key or keyset basis rather than always
917 grabbing on AnyKey and then filtering after-the-fact.
918 Bugfixes for event filtration mean that we don't get false matches
919 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
921 * registryd/deviceeventcontroller.c:
922 Namespaced a number of static methods to use spi_ prefix. Major
923 revision to internals of global (i.e. X) key grabs.
925 * registryd/deviceeventcontroller.h:
926 Removed keymask_list and added keygrabs_list to
927 SpiDeviceEventController struct.
930 Added use of SPI_createAccessibleKeySet API when creating a
931 listener for only one key. Attach a listener to "shift spacebar
932 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
933 X key event names to SPI key event names, so that listeners are
934 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
936 * test/keysynth-demo.c:
937 Changed (incorrect) use of X key event names (KeyPressed,
938 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
941 2001-12-12 Bill Haneman <bill.haneman@sun.com>
943 * libspi/accessible.c:
944 Convert all AtkRole enumerations to Accessibility_Role enums when
945 getting a role from an AtkObject.
947 * cspi/spi_accessible.c:
948 Complete the conversion of Accessibility_Role enums at runtime to
949 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
950 role enums correctly match those given in spi-roletypes.h.
951 Re-synchronize the local names list for AccessibleRole_getName ().
952 AccessibleRole_getName is now deprecated, since it duplicates the
953 more reliable Accessible_getRoleName.
954 Added some role types from Accessibility_Role.idl.
956 * idl/Accessibility_Role.idl:
957 Added some role types used by AtkRole.
959 2001-12-12 Bill Haneman <bill.haneman@sun.com>
962 * cspi/spi_registry.c:
964 * cspi/cspi-bonobo-listener.c:
965 Namespaced all methods that did not begin with an "SPI_" or
966 "Accessible" prefix to "SPI_".
969 Homogenized internal function namespace to "cspi_" for statics.
972 Patched tests to use the new CSPI API.
974 * docs/reference/cspi/at-spi-cspi-sections.txt:
975 Updated docs to reflect namespace changes, and added a number of
976 methods to the documentation.
978 * registryd/registry.c:
979 Changed use of strings and string hashes in listener event
980 matching and parse_event_string to use GQuark, which is guaranteed
983 * registryd/registry.h:
984 Squashed annoying warning.
986 * idl/Accessibility_Role.idl:
987 Extended range of available Accessibility_Role values.
989 * cspi/spi_accessible.c:
990 Re-ordered role names.
992 2001-12-12 Bill Haneman <bill.haneman@sun.com>
994 * idl/Accessibility_Value.idl:
995 Revert use of union back to CORBA_double, since the double type is
996 more efficient and can contain the other types without loss of
999 * idl/Accessibility_Accessible.idl:
1000 Added method Accessibility:Accessible:getRoleName, to complement
1001 Accessibility:Accessible:getRole.
1003 * cspi/spi_accessible.c:
1005 Added C binding for above, Accessible_getRoleName (), and changed
1006 signature of Accessible_getRole () to return an AccessibleRole.
1008 * cspi/spi-roletypes.h:
1009 Changed AccessibleRole_getName to return a char * instead of a
1010 const char *. This method is now at least temporarily deprecated
1011 in favor of asking Accessibles for their RoleNames directly.
1014 Revert to match Accessibility_Value.idl;
1018 Change signature of AccessibleValue methods to use double rather
1022 * cspi/spi_accessible.c:
1023 Changed Accessible_getRole to return an AccessibleRole enum rather
1024 than a UTF-8 string. The UTF-8 string can still be obtained via
1025 AccessibleRole_getName ().
1027 * test/test-simple.c:
1028 Add test_action. Small fixup to match API change to Accessible_getRole.
1031 Bugfix for get_action_from_servant ().
1033 2001-12-11 Michael Meeks <michael@ximian.com>
1035 * libspi/libspi.h: remove registry.h and
1036 desktop.h, deviceeventcontroller.h
1038 * libspi/Makefile.am: remove registry.[ch],
1039 desktop.[ch], deviceeventcontroller.[ch]
1041 * registryd/Makefile.am: add registry.[ch],
1042 desktop.[ch], rename registryd.c to registry-main.c.
1043 add deviceeventcontroller.[ch]
1045 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1048 Replace setenv() call with putenv ().
1050 * libspi/component.c:
1051 Bugfix in AccessibleComponent_getExtents (),
1054 2001-12-11 Michael Meeks <michael@ximian.com>
1056 * libspi/image.c (impl_getImageExtents): impl.
1057 (spi_image_class_init): upd.
1060 (AccessibleImage_getImageDescription): fix daft bug
1063 * test/test-simple.c (global_listener_cb): update
1064 to only quit if not --poke
1065 (main): catch --poke.
1066 (validate_accessible): upd. dumping, call test_image
1069 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1072 * idl/Accessibility.idl: update all IDL includes.
1074 * idl/*.idl - rename to namespace - this sucks, blame
1075 mjs' bad decision for oafd.
1077 * test/test-simple.c (create_test_window): add more tests.
1078 (create_tree): split this out.
1079 (validate_accessible): bugfix.
1081 2001-12-11 Michael Meeks <michael@ximian.com>
1083 * cspi/bonobo/cspi-bonobo-listener.c:
1084 (cspi_kestroke_listener_unref),
1085 (cspi_event_listener_unref): impl. undoing previous
1086 homenous environment - for Bill.
1088 * cspi/spi_table.c (long_seq_to_array): use
1091 * cspi/spi_main.c: split out all bonoboish bits into
1094 * cspi/spi-impl.h: upd. typedefs.
1096 * cspi/spi_registry.c: update to lowlevel API,
1097 return booleans to indicate success in some places.
1099 * cspi/spi_event.c: update to lowlevel API.
1101 * cspi/bonobo/Makefile.am: add.
1103 * cspi/bonobo/cspi-lowlevel.h: add
1105 * cspi/bonobo/cspi-bonobo.c: add
1107 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1109 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1110 (SUBDIRS): add bonobo, link in the libs.
1112 * cspi/spi-util.c: kill this file.
1114 * TODO: merge in my bits.
1116 2001-12-11 Michael Meeks <michael@ximian.com>
1118 * test/test-simple.c (test_value, test_table, main):
1119 remove unused variables causing warnings.
1121 * configure.in: cleanup checks - require gail.
1123 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1126 Changed Value interface to use SValue (scalars) rather than
1127 assuming all values are floats. This allows floats, doubles,
1128 longs, shorts, and unsigned values to be manipulated.
1129 Introduced Accessibility:SValue union.
1132 Updated to use new API above, and to work correctly with GValues
1133 of different types in AtkValue.
1136 Updated to use new API above. cspi's API is as yet unchanged.
1139 Updated the Value revision action item.
1141 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1143 * test/test-simple.c:
1144 Added test_table (GtkTreeView widget in test window to follow).
1145 Un-commented test_value, added GtkRange widget.
1146 Added GtkTreeView widget with GtkListStore. It passes regression
1147 test but leaks one SPI object for some reason.
1150 Fixed bug in impl__set_currentValue.
1152 2001-12-10 Michael Meeks <michael@ximian.com>
1154 * cspi/spi_text.c: audit for exception handling,
1155 tolerating NULL object references safely etc.
1157 * cspi/spi_value.c: ditto.
1159 * cspi/spi_table.c (AccessibleTable_getSummary),
1160 (AccessibleTable_getAccessibleAt),
1161 (AccessibleTable_getRowHeader),
1162 (AccessibleTable_getColumnHeader),
1163 (AccessibleTable_getCaption): fix bugs hidden by
1165 (long_seq_to_array): impl.
1166 (AccessibleTable_getSelectedRows),
1167 (AccessibleTable_getSelectedColumns): use it.
1169 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1172 Added a TODO list (rough and short for now).
1174 * cspi/spi_hyperlink.c:
1175 * cspi/spi_hypertext.c:
1176 Fixed macro name typos, and remove use of obsolete macro in
1177 AccessibleHyperlink_getLink.
1179 * cspi/spi_action.c:
1180 * cspi/spi_accessible.c:
1181 * cspi/spi_application.c:
1182 * cspi/spi_component.c:
1183 * cspi/spi_selection.c:
1186 Documentation fixes (removed return values from ref/unref methods).
1188 2001-12-10 Michael Meeks <michael@ximian.com>
1190 * cspi/spi_action.c: audit for exception handling,
1191 tolerating NULL object references safely etc.
1193 * cspi/spi_accessible.c: ditto.
1195 * cspi/spi_component.c: ditto.
1197 * cspi/spi_editabletext.c: ditto.
1199 * cspi/spi_hyperlink.c: ditto.
1201 * cspi/spi_hypertext.c: ditto.
1203 * cspi/spi_image.c: ditto.
1205 * cspi/spi_selection.c: ditto.
1207 2001-12-10 Michael Meeks <michael@ximian.com>
1209 * configure.in: use cspi/libspi.pc.in instead.
1211 * Makefile.am (pkgconfig_DATA): upd. to match.
1213 * test/simple-at.c (report_focus_event): kill hacks around
1214 bad return values, use putenv not setenv
1216 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
1217 fire ChildGone - I killed it.
1219 * libspi/component.c
1220 (impl_accessibility_component_get_extents): remove
1223 * idl/Accessible.idl: kill ChildGone exception.
1225 * cspi/*.[ch]: kill int return from ref / unref.
1227 * cspi/spi_main.c (cspi_object_add_check): fold into
1228 (cspi_object_add): here.
1230 * cspi/spi_component.c (AccessibleComponent_getExtents):
1231 handle exceptions elegantly.
1233 * cspi/spi-private.h (cspi_check_ev_return),
1234 (cspi_return_if_fail): impl.
1236 * cspi/spi_accessible.c: use extensively.
1237 (AccessibleStateSet_equals): add direct compare check.
1239 * cspi/spi_selection.c: tolerate NULL objs, and check
1240 exceptions before return.
1242 * cspi/spi-util.c (cspi_warn_ev): rename to
1243 (cspi_check_ev): this & don't pass ev in; no point.
1245 2001-12-10 Michael Meeks <michael@ximian.com>
1247 * test/test-simple.c: use putenv not setenv
1248 (get_environment_vars): more chatty if you're not using
1251 * test/simple-at.c: do the setenv so more people see the
1254 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1256 * libspi/registry.c:
1257 Changed check of CORBA_environment on notification to be a warning
1258 instead of an error for the moment, since we can recover from this
1259 error when caused by a queued notification from a dead app.
1262 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
1263 used by all current implementors of AtkValue), and coerce to
1264 CORBA_float. (Proper general case fix may require change to Value.idl).
1266 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1270 * cspi/spi_accessible.c:
1271 Documentation fixes: added user_data params to documentation for
1272 listeners and callbacks.
1274 * cspi/spi_accessible.c:
1275 Changed AccessibleStateSet_compare to return a
1276 StateSet rather than return the difference set into a third parameter.
1279 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1282 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
1283 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
1287 Remove subdirectory po from SUBDIRS for now.
1289 * at-bridge/bridge.c:
1290 Beefed up a couple of debug printouts.
1291 One-line fix for signal notification name formatting.
1293 * libspi/accessible.c:
1294 Added assertion to spi_accessible_new ().
1296 * libspi/application.c:
1297 Put #ifdef qualifiers around a printf.
1300 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
1302 * registryd/Makefile.am:
1304 Replaces use of XML_I18N_MERGE_SERVER_RULE with
1305 INTLTOOL_SERVER_RULE macro.
1308 Added an event listener for several ATK signals, for
1309 testing and debugging. Removed a few g_warnings.
1310 Added test output if focussed item implements the Value interface.
1312 * test/test-simple.c:
1313 Added test_value () function (known not to pass at the moment, so
1314 not actually called yet.
1316 2001-12-08 Michael Meeks <michael@ximian.com>
1318 * at-bridge/bridge.c (bridge_focus_tracker),
1319 (emit_eventv): fix the same ref. leak.
1320 (register_atk_event_listeners): don't leak.
1322 * cspi/spi-listener-impl.c (cspi_event): more
1323 protection from client code.
1325 * test/test-simple.c (test_desktop): unref the app.
1327 * test/Makefile.am: upd. TESTS.
1329 * at-bridge/bridge.c (bridge_exit_func): release the registry.
1331 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
1333 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
1335 * cspi/spi_registry.c: constify in strings.
1336 (deregisterGlobalEventListenerAll): don't release the ref.
1338 * cspi/spi.h: start removing redundant / conflicting
1339 gtkdoc comments, making the API readable at a glance :-)
1341 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
1343 * test/keysynth-demo.c (keysynth_exit, main): upd.
1345 * test/simple-at.c (main, simple_at_exit): upd.
1347 * test/test-simple.c (unutterable_horror): kill.
1348 (utterable_normal_derefs): kill.
1349 (main): upd & do a setenv before gtk_init, so that we
1350 can use memprof - and to save the pain of remembering
1351 this, if we're running under memprof - don't exit.
1353 * cspi/spi_main.c (SPI_exit): return exit status
1355 (SPI_event_quit): impl.
1356 (SPI_event_main): simplify.
1357 (cspi_is_gnome_app): kill.
1358 (SPI_init): kill isGNOMEapp arg.
1360 * at-bridge/bridge.c (register_atk_event_listeners):
1361 re-instate the unref.
1362 (bridge_exit_func): don't re-activate the registry,
1363 protect vs. theoretical re-entry, use the
1364 AT_BRIDGE_SHUTDOWN env. var to determine whether to
1365 assert a clean shutdown - for regression tests.
1367 2001-12-08 Abel Cheung <maddog@linux.org.hk>
1369 * configure.in: Comment out dummy i18n support for now,
1370 otherwise it fails to build.
1371 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
1372 EXTRA_DIST. They are missing in tarball.
1374 2001-12-07 Michael Meeks <michael@ximian.com>
1376 * util/magnifier.c: kill bonobo activation reg. race.
1378 * libspi/component.c
1379 (impl_accessibility_component_get_extents): make it match
1382 * libspi/registry.c (_registry_notify_listeners):
1383 re-remove X headers & reconcile conflicts.
1384 (spi_listener_struct_free): bad conflict resolve.
1385 (impl_accessibility_registry_register_application):
1386 more bad merging fixed.
1387 (impl_accessibility_registry_deregister_application): ditto.
1388 (spi_registry_new): ditto.
1389 (spi_registry_init): don't have an applications field.
1391 [ merge fixups2 branch to here ]
1392 2001-12-07 Michael Meeks <michael@ximian.com>
1394 * test/simple-at.c (report_focus_event),
1395 (report_focussed_accessible): remove g_warning debug.
1397 2001-12-07 Michael Meeks <michael@ximian.com>
1399 * test/test-simple.c (validate_tree): comment out some checks.
1400 (test_desktop): app now not registered idly - horay.
1402 2001-12-07 Michael Meeks <michael@ximian.com>
1404 * cspi/spi_registry.c
1405 (registerAccessibleKeystrokeListener): clean, stop it leaking
1406 great swathes of memory, and device event controller references.
1407 ensure we always pass valid sequences.
1408 (deregisterAccessibleKeystrokeListener): ditto.
1409 (generateKeyEvent): upd.
1411 * at-bridge/bridge.c (bridge_key_listener): handle
1412 registry dead exception gracefully.
1413 (bridge_focus_tracker, emit_eventv): free ev.
1415 * test/simple-at.c (report_focus_event): fix polarity.
1417 * libspi/application.c (notify_listeners): kill the ev
1418 argument, and make sure we init the ev we use.
1419 (spi_application_object_event_listener): split out a chunk
1420 (get_atk_object_ref): here & fixup.
1421 (reverse_lookup_name_for_toolkit_event): make const.
1422 (spi_application_toolkit_event_listener): fixup, kill leaks
1425 * at-bridge/bridge.c (register_atk_event_listeners):
1426 don't unref the noop object - causes grief.
1428 * libspi/registry.c: remove the X headers.
1429 turn off the debug churn.
1431 * libspi/accessible.c (spi_accessible_new_return): only
1432 release the ref if we are supposed to [doh]
1434 * test/simple-at.c (report_button_press, report_focus_event):
1435 guard vs. unexpected exit.
1437 * at-bridge/bridge.c (gtk_module_init): prune printf.
1438 (bridge_exit_func): fix app unref.
1440 * libspi/Makefile.am: don't install registry or desktop.h
1442 * libspi/*.h: update includes.
1444 * libspi/application.h: don't include ourself, or
1445 other redundant headers.
1447 2001-12-06 Michael Meeks <michael@ximian.com>
1449 * libspi/accessible.c
1450 (get_accessible_from_servant): impl.
1451 Upd. all CORBA impl.s to use it killing cut and paste.
1453 * cspi/spi_main.c (cspi_cleanup): guard vs. double
1455 (SPI_init): register atexit cleanup handler here.
1457 2001-12-06 Michael Meeks <michael@ximian.com>
1459 * at-bridge/bridge.c (gtk_module_init): g_error on
1460 activation exception
1462 2001-12-06 Michael Meeks <michael@ximian.com>
1464 * at-bridge/bridge.c (gtk_module_init): some sort of
1465 confusing merge clash - reverted.
1466 (bridge_idle_init): ditto.
1468 * test/test-simple.c (main, utterable_normal_derefs):
1469 merge from Bill - somehow not committed.
1471 2001-12-06 Michael Meeks <michael@ximian.com>
1473 * libspi/value.c (spi_value_class_init): upd.
1474 (spi_value_finalize): kill.
1476 * libspi/table.c (spi_table_finalize): kill.
1477 (spi_table_interface_new): upd.
1478 (spi_table_class_init): upd.
1479 (get_table_from_servant): impl.
1480 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1482 * libspi/selection.c (spi_selection_finalize): kill.
1483 (spi_selection_interface_new): upd.
1484 (spi_selection_class_init): upd.
1485 (get_selection_from_servant): impl.
1486 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1488 * libspi/relation.c (spi_relation_finalize): kill.
1489 (spi_relation_class_init, spi_relation_new): upd
1491 * libspi/image.c (spi_image_finalize): kill.
1492 (spi_image_class_init): upd.
1493 (spi_image_interface_new): upd.
1494 (get_image_from_servant): impl.
1495 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1497 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
1498 (spi_hyperlink_finalize): kill.
1499 (spi_hyperlink_new): upd.
1500 (get_hyperlink_from_servant): impl.
1501 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1503 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
1504 (spi_hypertext_finalize): kill.
1505 (spi_hypertext_class_init): upd.
1506 (get_hypertext_from_servant): impl.
1507 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1509 * libspi/editabletext.c (spi_editable_text_finalize): kill.
1510 (spi_editable_text_interface_new): upd.
1511 (get_editable_text_from_servant): impl.
1512 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1514 * libspi/text.c (get_text_from_servant): impl.
1515 All impls - update to use it killing more cut and paste,
1516 also fix bad string returns on duff args ( a somewhat
1517 impossible case to handle - but hey ).
1518 (spi_text_construct): impl.
1519 (spi_text_interface_new): upd.
1520 (spi_text_object_finalize): kill.
1522 * libspi/component.c
1523 (accessibility_component_object_finalize): kill.
1524 (spi_component_class_init): upd.
1525 (get_component_from_servant): impl. helper to kill cut & paste.
1526 (impl_accessibility_component_contains):
1527 (impl_accessibility_component_get_accessible_at_point):
1528 (impl_accessibility_component_get_position):
1529 (impl_accessibility_component_get_extents):
1530 (impl_accessibility_component_get_mdi_z_order):
1531 (impl_accessibility_component_get_layer):
1532 (spi_component_interface_new): upd.
1534 * libspi/action.c (spi_action_finalize): kill.
1535 (spi_action_class_init): upd. inherit from SpiObject.
1536 (spi_action_interface_new): upd.
1537 (get_action_from_servant): impl. helper to reduce cut & paste.
1538 (impl_getKeyBinding, impl_getName, impl_doAction),
1539 (impl_getDescription): Use it everywhere.
1541 * cspi/spi_main.c (get_live_refs): a pointer hash.
1542 (spi_object_hash, spi_object_equal): comment out.
1543 There are issues with CORBA object hashing that need
1546 * libspi/application.c (spi_application_init),
1547 (spi_application_new): upd.
1549 * libspi/accessible.c (spi_accessible_object_finalize): kill.
1550 (spi_accessible_class_init): upd.
1551 s/accessible/object/ in epv methods.
1553 2001-12-05 Bill Haneman <bill.haneman@sun.com>
1555 * at-bridge/bridge.c:
1556 Reorder the bridge initialization into the bridge gtk_module_init,
1557 an immediate call to bridge_register_app, and an idle_add for
1558 register_atk_event_listeners (the only code that *must* wait until
1559 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
1560 the activation, creates the application's Accessible object, and
1561 queues the bridge_idle_init function. Restored call to
1562 Accessibility_Registry_deregisterApplication().
1563 Prior to making this call we obtain a new reference to the
1564 registry, which is a temporary hack that helps us handle apps that
1565 shut down the bonobo mainloop before we get there.
1567 * libspi/registry.c:
1568 Fix string leakage in debug block, and don't segv if a an app
1569 dies before its event notifications have been propagated.
1572 Modify cspi_check_ev() to call g_warning() rather than g_error(),
1573 as stopgap measure until we get proper exception handling when
1574 objects die during or before interrogation.
1578 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
1579 Also changed default value of is_gnome_app to TRUE.
1582 * test/keysynth-demo.c:
1583 Changed use of SPI_init and SPI_event_main to reflect API change above.
1586 Made report_focus_event check the warning value from getName
1587 before reporting on focussed accessible; simplifies handling of
1588 notifications from dead objects.
1590 * test/test-simple.c: (Changes not in this patch since source is
1593 2001-12-05 Michael Meeks <michael@ximian.com>
1595 * registryd/registryd.c (main): protect against
1596 bonobo-activation startup race condition.
1598 * cspi/spi_main.c (cspi_object_add_check): cope
1599 with the exception elegantly.
1601 * idl/Accessible.idl: decl. ChildGone
1603 * libspi/desktop.c (spi_desktop_dispose): impl.
1604 (spi_desktop_class_init): upd.
1605 (spi_desktop_add_application),
1606 (spi_desktop_remove_application),
1607 (abnormal_application_termination): impl.
1608 (impl_desktop_get_child_at_index): re-impl.
1611 (impl_accessibility_registry_deregister_application),
1612 (impl_accessibility_registry_register_application):
1613 kill excessive debug clutter.
1615 * test/test-simple.c (test_misc): test some NULL
1616 tolerance. (main): upd.
1618 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
1619 implements no interfaces - so let's not crash.
1621 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
1623 * libspi/accessible.c (spi_accessible_new_return): impl.
1624 helper to calm the cut and paste, to cope with
1625 NULL AtkObjects effectively and efficiently, and to kill
1626 the referencing bugs.
1628 * libspi/table.c (impl_getAccessibleAt),
1629 (impl_getRowHeader, impl_getColumnHeader): upd.
1631 * libspi/hyperlink.c (impl_getObject): upd.
1633 * libspi/accessible.c
1634 (impl_accessibility_accessible_get_child_at_index): upd.
1636 * libspi/component.c
1637 (impl_accessibility_component_get_accessible_at_point): upd.
1639 * test/test-simple.c (test_editable_text, test_text): impl.
1642 * cspi/spi_editabletext.c
1643 (AccessibleEditableText_insertText): constify.
1645 * test/test-simple.c (focus_me): make more robust.
1647 * libspi/accessible.c: remove some printfs in methods that
1648 we test and work fine, so we can get a clean tree dump.
1650 * test/test-simple.c (validate_accessible),
1651 (validate_tree): make tree dumping pretty too.
1653 * at-bridge/bridge.c (bridge_signal_listener): upd. so
1654 it builds without debug on.
1656 * test/test-simple.c (validate_accessible): fix the most
1659 * cspi/spi_main.c (spi_object_release): leave the nicely
1660 blanked memory around if in debug mode.
1662 * cspi/spi-listener-impl.c (cspi_event): use add_check.
1664 [committed to fixups2]
1665 2001-12-05 Michael Meeks <michael@ximian.com>
1667 * libspi/editabletext.c
1668 (spi_editable_text_class_init): g_type_class_peek_parent,
1669 not interface peek - so we finalize cleanly.
1671 * libspi/accessible.c (spi_accessible_new): kill debug.
1673 * test/test-simple.c (validate_accessible): fix ref.
1674 leak, print strings before freeing them; sigh, comment a
1675 chunk out due to strangeness.
1676 (validate_tree): unref the child after use.
1678 * cspi/spi_component.c (AccessibleComponent_getLayer):
1679 add missing break statement, switch on zlayer not the
1680 uninitialized retval.
1682 * cspi/spi_main.c (cspi_object_add): add assert, local ref
1683 before (possibly re-entering) remote unref.
1685 * test/simple-at.c (main): unref the desktop.
1687 * cspi/spi_accessible.c (cspi_accessible_is_a): move
1690 * cspi/spi_main.c (cspi_accessible_is_a): here to
1691 isolate bonobo API usage more.
1693 * libspi/registry.c (impl_accessibility_registry_register_application):
1694 prune bogus comment.
1696 2001-12-04 Michael Meeks <michael@ximian.com>
1698 * test/test-simple.c (validate_tree): upd.
1699 IndexInParent check to make it more lucid.
1700 (validate_accessible): dump the tree.
1702 * libspi/accessible.c (de_register_public_ref),
1703 (get_public_refs): impl.
1704 (spi_accessible_new): make more efficient & intuitive.
1705 Now IndexInParent check works.
1707 2001-12-04 Michael Meeks <michael@ximian.com>
1709 * cspi/spi-util.h: remove.
1711 * cspi/spi.h: move SPI_freeString here
1713 * libspi/component.c (impl_accessibility_component_get_layer):
1715 (impl_accessibility_component_get_mdi_z_order): ditto,
1716 return -1 on error - is this ok ?
1718 * test/test-simple.c (test_application): impl.
1720 * cspi/spi_accessible.c (Accessible_getApplication),
1721 (Accessible_isApplication): impl.
1723 * libspi/registry.c (spi_listener_struct_free): release
1724 the CORBA reference too.
1726 * libspi/accessible.c
1727 (impl_accessibility_accessible_get_parent): fix ref leak.
1729 * libspi/registry.c (spi_registry_new): make the registry
1730 immortal - we don't want it to go away ever.
1732 * libspi/application.c
1733 (spi_accessible_application_finalize): impl. cleanup.
1735 * cspi/spi_registry.c
1736 (deregisterGlobalEventListenerAll),
1737 (deregisterGlobalEventListener),
1738 (deregisterAccessibleKeystrokeListener): fix ref leak.
1740 * cspi/spi_main.c (SPI_init): remove redundant ref.
1742 * test/test-simple.c (unutterable_horror): impl. to force a
1747 (impl_accessibility_registry_deregister_application): release
1748 the application when we de-register it.
1750 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1751 until we have the infastructure to get it right.
1753 2001-12-03 Michael Meeks <michael@ximian.com>
1755 * libspi/Makefile.am: only build eventlistener.[ch]
1757 * libspi/accessible.c
1758 (impl_accessibility_accessible_get_child_at_index): don't leak.
1760 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1761 before we hit the idle handler.
1763 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1764 debugging than exit.
1766 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1768 * libspi/listener.c (impl_notify_event): check source
1769 not NIL before unref.
1771 * libspi/registry.c (impl_registry_notify_event): ditto.
1773 * libspi/eventlistener.c
1774 (impl_accessible_event_notify_event): unref the source.
1776 * libspi/accessibleeventlistener.c
1777 (impl_accessible_event_notify_event): unref the source.
1779 * idl/Event.idl: remove 'hash_id' attribute - of no
1782 * libspi/application.c (notify_listeners): upd list
1784 (spi_application_object_event_listener),
1785 (spi_application_toolkit_event_listener): upd to do correct
1789 (_registry_notify_listeners): update.
1790 (parse_event_type): this method also leaks like a sieve.
1791 (impl_accessibility_registry_deregister_global_event_listener):
1792 fix ETYPE_WINDOW case.
1794 * libspi/application.c
1795 (impl_accessibility_application_register_object_event_listener):
1798 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1800 * libspi/hypertext.c (impl_getLink): ditto.
1802 * cspi/spi_main.c (cspi_object_add): remove
1803 bogus CORBA_Object_duplicate.
1805 * cspi/spi-listener-impl.c (cspi_event): dup/ref
1808 * cspi/spi_accessible.c
1809 (Accessible_getRelationSet): fix leak / referencing issue.
1811 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1812 (cspi_object_add, cspi_object_unref): upd.
1813 (spi_object_release, get_live_refs): impl.
1814 (cspi_cleanup): simplify.
1816 * *.[ch]: s/boolean/SpiBoolean/
1818 * cspi/spi_accessible.c (role_names): actualy order so it
1819 corresponds with the enum !
1821 * test/test-simple.c (test_roles): check some role strings
1822 vs. enums to detect offset errors.
1824 2001-12-01 Michael Meeks <michael@ximian.com>
1826 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1828 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1830 (Accessible_getChildAtIndex): use cspi_add_check so we
1831 check the ev before using a (possibly) invalid value.
1833 * libspi/accessible.c
1834 (impl_accessibility_accessible_get_parent): don't segv
1837 * at-bridge/bridge.c (gtk_module_init): upd.
1838 (bridge_property_event_listener): don't leak strings
1840 (bridge_state_event_listener),
1841 (bridge_property_event_listener): don't use a static
1842 buffer in case of recursive event emission &
1843 re-enterancy - split out the swathe of cut and paste
1845 (emit_eventv): and fix 2 ref leaks here & comply to the
1847 (bridge_register_app): rename to
1848 (bridge_idle_init): this and kill arg parsing, split
1849 various inits & bonobo-activation registration to module
1850 init time, kill referencing error.
1851 (bridge_exit_func): fix the same leak.
1852 (bridge_focus_tracker): don't leak event structures
1854 (bridge_signal_listener): more leakage and cut & paste
1856 (bridge_key_listener): return the result - FIXME is
1857 this polarity correct ?
1858 (accessibility_keystroke_from_atk_key_event): rename
1859 (accessibility_init_keystroke_from_atk_key_event): and stop
1861 (gtk_module_init): return a value - not that it is checked by
1863 (bridge_key_listener): register my horror at casting between
1864 IDL defined structs.
1865 (bridge_get_registry): kill - not used.
1867 * cspi/spi_accessible.c (Accessible_getRole): make return const.
1869 * test/test-simple.c (test_roles): impl.
1870 (test_desktop, validate_accessible, validate_tree): impl.
1872 * cspi/spi_accessible.c (role_names): fixup bogus
1873 MAX_ROLES setup, make constants const for efficient linkage
1874 (AccessibleRole_getName): conform to coding style, make
1877 2001-11-30 Michael Meeks <michael@ximian.com>
1879 * cspi/spi.h: add missing prototype.
1881 * libspi/registry.c (spi_listener_struct_new): fix sig.
1883 * test/Makefile.am: add test-simple
1885 * test/test-simple.c: add
1887 * test/test.sh: add.
1889 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1891 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1892 do it straight - since otherwise we often get an activation race.
1894 [ work before Bill duplicated a chunk of it ... ]
1895 2001-11-30 Michael Meeks <michael@ximian.com>
1897 * libspi/keystrokelistener.c
1898 (spi_keystroke_listener_class_init): fixup arg
1901 * libspi/eventlistener.c
1902 (spi_event_listener_class_init): ditto.
1904 * tests/test.sh: add.
1906 * cspi/spi-listener-impl.h: update macros.
1908 * cspi/spi-listener-impl.c
1909 (cspi_event_listener_remove_callback): add
1910 correct pre-conditions.
1912 * cspi/spi_main.c (SPI_exit): guard vs. double
1913 exits, exit the mainloop nicely.
1914 (SPI_event_main): make more sense.
1915 (SPI_init): move the atexit evilness here so we
1916 always do it (yuck).
1917 (SPI_event_main): upd.
1919 * test/simple-at.c: update for listener changes.
1921 * registryd/registryd.c (main): prune kruft.
1923 * libspi/libspi.h: upd.
1925 * libspi/eventlistener.[ch]: rename broken macros.
1927 * libspi/accessibleeventlistener.[ch]: remove.
1929 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
1931 * test/test-simple.c: Add - automated tests.
1933 * cspi/spi-listener-impl.c (cspi_event),
1934 (cspi_key_event): add user_data to invoke.
1935 (cspi_keystroke_listener_finalize): impl.
1936 (cspi_keystroke_listener_class_init): upd.
1939 (createAccessibleEventListener),
1940 (AccessibleEventListener_addCallback),
1941 (createAccessibleKeystrokeListener),
1942 (AccessibleKeystrokeListener_addCallback): upd.
1944 * libspi/deviceeventcontroller.c
1945 (spi_device_event_controller_check_key_event): add public proto.
1948 (impl_accessibility_registry_deregister_global_event_listener):
1949 always init listeners.
1950 (_registry_notify_listeners): yes it is.
1952 * cspi/spi-listener-impl.c (cspi_key_event):
1954 (cspi_event_listener_finalize): impl.
1955 (cspi_event_listener_class_init): hook up.
1956 (event_handler_new, event_handler_free),
1957 (event_list_remove_by_callback): impl.
1958 (cspi_event_listener_remove_callback),
1959 (cspi_keystroke_listener_remove_callback),
1960 (cspi_keystroke_listener_add_callback),
1961 (cspi_event_listener_add_callback): upd.
1963 * libspi/keystrokelistener.c
1964 (keystroke_listener_object_finalize): kill
1965 (spi_keystroke_listener_class_init): upd.
1966 (spi_keystroke_listener_add_callback),
1967 (spi_keystroke_listener_remove_callback): kill,
1969 (impl_key_event): prune drasticaly.
1971 * libspi/eventlistener.c
1972 (spi_event_listener_add_callback),
1973 (spi_event_listener_remove_callback): kill, use
1975 (impl_accessible_event_notify_event): upd.
1976 (spi_event_listener_object_finalize): remove.
1978 * libspi/Makefile.am: use eventlistener.[ch]
1980 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1982 * libspi/registry.c (_registry_notify_listeners):
1983 Changed listener loop iteration to use preferred convention.
1984 Got rid of string memory leaks caused be calling g_strconcat
1985 inside function calls.
1987 * libspi/registry.c (parse_event_type):
1988 Stopped g_strconcat memory leaks, free the g_strsplit return,
1989 g_strdup the split pieces when used, etc.
1991 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1994 Change method 'compare' to return a 'difference set' rather than
1995 taking a StateSet as an out parameter (more Java-friendly).
1997 * idl/Accessible.idl:
1998 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2000 * idl/Component.idl:
2002 Changed methods 'getExtents' and 'getImageExtents' in these
2003 interfaces to return a BoundingBox structure.
2004 (getPosition and getSize are redundant and possibly should be
2005 removed, rather than creating a corresponding Point struct.)
2007 * cspi/spi_component.c:
2008 Modify implementation of getExtents to reflect the above IDL
2013 Add (missing) AccessibleImage_getExtents () API.
2015 * docs/reference/cspi/at-spi-cspi-sections.txt:
2016 Added AccessibleImage_getImageExtents () to docs.
2018 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2020 * idl/Component.idl:
2021 Added two methods, getLayer () and getMDIZOrder (), to reflect
2022 the new ATK methods atk_object_get_layer and
2023 atk_object_get_mdi_z_order. (Which arguably should be part of the
2024 AtkComponent API and AtkObject). Also added an enum,
2025 ComponentLayer, for the first method's return value.
2027 * libspi/component.c:
2028 Added implementations for these methods.
2030 * cspi/spi_component.c:
2032 Added cspi binding methods for above,
2033 AccessibleComponent_getLayer() and
2034 AccessibleComponent_getMDIZOrder().
2035 Added cspi enum 'AccessibleComponentLayer'.
2037 * docs/reference/cspi/at-spi-cspi-sections.txt:
2038 Added above methods to docs.
2042 Changed typedef for 'boolean' type (and all references to it) to
2043 SPIBoolean, to avoid keyword clashes with C++.
2046 Changed usages of 'boolean' to SPIBoolean.
2048 * test/keysynth-demo.c:
2049 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2050 app), except where SPIBoolean is required by the callbacks API.
2052 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2054 * cspi/spi_registry.c:
2055 Removed obsolete X event loop for passive keygrabs (which now
2058 * registryd/registryd.c:
2059 Removed unnecessary call to gdk_init() [cruft]. This also allows
2060 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2063 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2065 * docs/reference/cspi:
2066 Included docs for SPI_freeString in generated documentation.
2069 Renamed spi_freeString to SPI_freeString, for consistency. Added
2070 documentation for this function.
2073 Renamed spi_freeString to SPI_freeString, for consistency.
2074 Removed obsolete method declaration string_from_corba_string.
2076 * test/keysynth-demo.c:
2077 Small tweak to comments.
2080 Stopped leaking the strings returned from CSPI.
2082 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2084 Merged Michael's branch (see his ChangeLog entries below).
2086 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2087 bridge is alive, release on exit.
2089 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2090 Fix type check macro.
2093 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2096 Added is_gnome_app static, and method cspi_is_gnome_app(),
2097 so we can call the appropriate shutdown routine at exit in SPI_exit.
2099 * cspi/spi_main.c (cspi_object_ref):
2100 Duplicate the corba object passed in, since we're keeping it around.
2102 * cspi/SPI_exit.c, cspi_cleanup:
2103 Moved the releasing of the live refs to its own function, so we
2104 can put it in g_atexit (). Call the appropriate shutdown API
2105 depending on whethe calling client is a gnome app or not
2106 (bonobo_main_quit or CORBA_ORB_shutdown).
2108 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2109 Unref the listener when this method is called, after
2110 deregistration. Updated the API docs to note this behavior.
2112 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2113 Bugfixes: Ref the bonobo object when returning a parent or child
2114 reference, or an AccessibleRelation. Generally made sure
2115 BonoboObject refcount is incremented whenever we return an
2118 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2119 Fixed typo/bug in signal declaration.
2121 * libspi/accessibleeventlistener.h:
2124 * libspi/application.c (spi_application_new):
2125 Fixed leak in initialization.
2128 Remembered to increment bonobo-object refcount when returning
2129 children (applications) from desktop object.
2130 Added (empty) finalize method.
2132 * libspi/deviceeventcontroller.c:
2133 Hold a ref to listeners inside DEControllerKeyListeners.
2134 Added dec_key_listener_free() method. Use prepend instead of
2135 append in key_listener list. Fixed some refcount madness and
2136 leaks in the listener registration/deregistration - deregistration
2137 now calls dec_key_listener_free() on listeners, and on the
2138 temporarily constructed dec_key_listener() used to perform the search/match.
2140 * libspi/hypertext.c (spi_hypertest_finalize):
2141 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2142 class. Also fixed spi_hypertext_interface_new() and
2143 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2145 * libspi/hypertext.h:
2146 Removed pointless and duplicate AtkObject pointer from
2149 * libspi/keystrokelistener.c:
2150 Fixed incorrect type of keystroke_listener_parent_class,
2151 renamed keystroke_listener_object_finalize to
2152 spi_keystroke_listener_object_finalize.
2153 Fixed typo in signal declaration
2154 (spi_keystroke_listener_class_init).
2156 * libspi/registry.c:
2157 Added funcsions spi_listener_struct_new() and
2158 spi_listener_struct_free() to help with memory management issues.
2159 We also now use these methods instead of gnew + poking stuff into
2160 the struct, and to decrement listener counts/free the listeners
2161 when deregistering them.
2162 Fix more refcount bugs in getDesktop() and
2163 getDeviceEventController().
2166 De-ref the desktop after enumerating the applications. Explicitly
2167 decrement the refcounts on the created listeners on exit (using
2168 _unref for keystroke listeners, and via the
2169 deregisterGlobalEventListenerAll command for other event
2172 2001-11-27 Michael Meeks <michael@ximian.com>
2174 * cspi/spi-listener.h: fixup enum.
2176 2001-11-27 Michael Meeks <michael@ximian.com>
2178 * cspi/spi-listener-impl.c (cspi_event_listener_new),
2179 (cspi_keystroke_listener_new): Use the cspi variants.
2181 2001-11-26 Michael Meeks <michael@ximian.com>
2183 * test/keysynth-demo.c: fix 2 compile warnings, missing
2186 * test/simple-at.c (report_focussed_accessible),
2187 (report_focus_event, report_button_press),
2188 (check_property_change, is_command_key),
2189 (report_ordinary_key_event, report_command_key_event): upd.
2191 * util/mag_client.h: include pre-requisites.
2193 * libspi/accessibleeventlistener.c
2194 (spi_event_listener_object_finalize): free any lingering
2197 * libspi/keystrokelistener.c
2198 (keystroke_listener_object_finalize): ditto.
2200 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
2201 callbacks, with cspi types.
2203 * cspi/spi_event.c (createAccessibleEventListener): chain to
2204 (AccessibleEventListener_addCallback): here.
2205 (createAccessibleKeystrokeListener): chain to
2206 (AccessibleKeystrokeListener_addCallback): here.
2208 * libspi/keystrokelistener.c
2209 (spi_keystroke_listener_class_init): add signal.
2210 (impl_key_event): emit the event.
2211 (boolean_handled_accumulator): impl.
2212 (marshal_BOOLEAN__POINTER): add, gack.
2214 * libspi/accessibleeventlistener.c
2215 (spi_event_listener_class_init): add signal.
2216 (impl_accessible_event_notify_event): emit the signal &
2217 make the loop efficient.
2218 (spi_event_listener_add_callback): prepend the callback.
2220 * libspi/accessibleeventlistener.h: add an 'event' signal,
2221 decl type on callback.
2223 * libspi/keystrokelistener.h: ditto.
2225 * cspi/spi-listener.h: make methods typesafe and
2226 make them use the new event typedefs.
2228 * test/simple-at.c (report_focussed_accessible):
2229 include mag_client.h
2230 Use *(void *)text_interface not the other thing.
2232 * configure.in: add gtk to registryd bits - since we use
2235 * util/magnifier.c: include libbonobo.h
2237 2001-11-25 Bill Haneman <bill.haneman@sun.com>
2239 * test/keysynth-demo.c:
2240 Turned this into a simple scanning keyboard, to demonstrate the
2241 use of g_timeout_add () as a means of creating timers for
2242 scanning, and the use of GtkStyle for visually indicating when
2243 virtual keyboard elements are selected.
2245 keysynth-demo now listens to any keyboard keys with zero-valued
2246 keycodes (i.e. 'unused' keys) and interprets them as
2249 Reworked the shiftlatch code so that shift-down state isn't held
2250 for long periods (it's only synthesized immediately prior to
2251 the keysynth event it's modifying). Note that shiftlatch in this
2252 demo is a convenience, not intended to take the place of AccessX
2253 which is the better choice for getting 'sticky' modifier keys.
2255 * libspi/deviceeventcontroller.c:
2256 * at-bridge/bridge.c:
2257 * cspi/spi_registry.c:
2258 Removed some debug print stuff, and put other verbosity in #ifdef
2263 Implemented some more of the magnifier IDL for the simple
2264 magnifier: namely, getZoomRegionParams.
2265 Added mag_x and mag_y members to MagnifierData struct, aid of this
2267 Added GtkWindow::realize signal handler to magnifier, to keep it
2268 from receiving keyboard focus from the WM.
2270 2001-11-23 Mark McLoughlin <mark@skynet.ie>
2272 * cspi/spi-private.h: my guess at what michael forgot
2273 before he ran off to NZ :-)
2275 2001-11-23 Michael Meeks <michael@ximian.com>
2277 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
2278 comment out non existant method invoke so we link.
2280 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
2281 use bonobo_exception_get_text for more friendly warnings.
2283 * cspi/spi.c (Obj_Add): move into spi_main & rename
2284 spi_object_add; kill spi.c
2286 * cspi/spi_registry.c
2287 (deregisterGlobalEventListener),
2288 (deregisterGlobalEventListenerAll),
2289 (registerGlobalEventListener): fix exception leaks.
2291 * cspi/spi_main.c (spi_exception): impl. helper, so we
2292 don't leak exceptions.
2294 * cspi/spi_selection.c
2295 (AccessibleSelection_deselectSelectedChild): return the
2298 * cspi/spi_main.c (spi_ev): impl; hack - gack.
2299 (spi_registry): ditto.
2300 (SPI_init): guard against double inits.
2302 * cspi/*.c: use spi_ev (), and spi_registry () where
2303 appropriate - a temporary hack until we have something
2304 better. Use spi_object_add
2306 2001-11-22 Michael Meeks <michael@ximian.com>
2308 * cspi/Makefile.am: re organise, install the headers.
2310 * cspi/*.h: add G_BEGIN/END_DECLS
2312 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2315 Added non-preemptive keylistener for key events with no modifiers
2316 and shift-only modifier.
2318 * libspi/keystrokelistener.c:
2319 Removed some verbose diagnostics printout.
2321 * cspi/spi_registry.c:
2322 Fixed a bug that caused all key listeners to be registered as
2325 * libspi/deviceeventcontroller.c:
2326 Fixed bug that caused XGrabKey (preemptive key grab) to be called
2327 for non-preemptive key masks.
2330 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2332 * docs/reference/idl/at-spi-idl-docs.sgml:
2333 * docs/reference/idl/at-spi-idl-sections.txt:
2334 * docs/reference/idl/at-spi-idl-overrides.txt:
2335 Added missing files.
2337 * docs/reference/Makefile.am:
2338 removed idl from SUBDIRS until we can figure a way to get gtk-doc
2339 to scan the IDL files :-(
2344 Added .cvsignore files.
2346 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2348 * libspi/deviceeventcontroller.c:
2349 * libspi/keystrokelistener.c:
2351 * cspi/spi_registry.c:
2352 Added filters for KeySets, KeyEventSeq, and event types to key
2353 event dispatching, so listeners should only receive those events
2354 that they requested :-)
2356 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2361 * docs/reference:Makefile.am:
2362 * docs/reference/cspi:
2363 * docs/reference/cspi:Makefile.am:
2364 * docs/reference/cspi:tmpl:
2365 * docs/reference/cspi:tmpl:*.sgml:
2366 * docs/reference/idl:
2367 * docs/reference/idl:Makefile.am:
2368 * docs/reference/idl:at-spi-idl-sections.txt:
2369 * docs/reference/idl:at-spi-idl-docs.sgml:
2370 * docs/reference/idl:tmpl:
2371 * docs/reference/idl:tmpl:*.sgml:
2373 Restructured docs directory to allow separate 'reference' docs
2374 section, and forked idl and cspi docs. Added the sgml template
2375 files to CVS. Added the first sections/structural sgml for the
2378 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
2380 * configure.in, libspi/Makefile.am: find libXtst.
2382 2001-11-21 Michael Meeks <michael@ximian.com>
2384 * test/accessx-gui.c: s/spi_value/value/ - doh.
2386 * libspi/base.[ch]: add.
2388 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2390 * idl/Accessible.idl:
2391 * idl/Application.idl:
2394 Started gtk-doc cleanup on IDL.
2396 * libspi/deviceeventcontroller.c:
2397 Added and connected non-preemptive key notification from the
2398 toolkits (in addition to the pre-emptive support from XServer
2399 which we had before, but which causes 'focus flashing'). Filters
2400 are presently limited to key modifiers and global/non-global,
2401 KeySets are presently ignored, as are KeyEvent masks.
2403 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
2404 structs into the persistant structure rather than just storing
2405 pointers to things that might not persist across servant
2408 The XGrabKey call now does async keygrabs, because synchronous
2409 ones were deadlocking with GDK_event code in a very nasty way.
2411 Added boolean to internal method notify_keylisteners, to indicate
2412 whether the event came from the 'toolkit source' or the 'global
2413 (XServer) source' - this is used in the notification process to
2414 determine which listeners to send the event to.
2416 deviceeventcontroller.c is now warning-free.
2418 * libspi/registry.c:
2419 Fixed regression in application de-registration.
2420 Also fixed some really brain-dead weirdness having to do with
2421 event dispatching - event structs are now duplicated before being
2422 re-marshalled in the dispatch to listeners. This also fixes a
2423 Solaris build problem.
2426 2001-20-11 Michael Meeks <michael@ximian.com>
2429 (impl_accessibility_registry_deregister_global_event_listener):
2432 * libspi/deviceeventcontroller.c
2433 (spi_device_event_controller_check_key_event): return
2434 FALSE on no virtual method.
2436 * libspi/*..h: make includes work on a correctly pathed install.
2438 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
2440 * libspi/application.h: kill unused ( and whacked out )
2441 gboolean *spi_application_set_id (AtkObject *app, long id);
2443 2001-20-11 Michael Meeks <michael@ximian.com>
2445 * libspi/*.[ch]: further convert to bonobo's type func
2446 macros, remove redundnant casts etc.
2448 * libspi/text.c s/accessibility_text/spi_text/g,
2449 re-order to de-cruft.
2451 * libspi/hypertext.c: re-order to kill a huge slew
2452 of redundant forward decls.
2454 * libspi/relation.c: ditto.
2456 * libspi/image.c: ditto.
2458 * */.cvsignore: update
2460 2001-20-11 Michael Meeks <michael@ximian.com>
2462 * libspi/deviceeventcontroller.c
2463 (_controller_register_with_devices): use g_getenv,
2464 kill stdlib.h include.
2466 * libspi/keystrokelistener.c
2467 (spi_keystroke_listener_get_type): kill
2468 (spi_keystroke_listener_class_init),
2469 (spi_keystroke_listener_init): rename to this.
2471 * libspi/text.c (impl_getAttributes): fix warning / bug.
2473 * libspi/*.[ch]: more headers, includes and over commenting.
2475 2001-20-11 Michael Meeks <michael@ximian.com>
2477 * libspi/*.[ch]: fixup headers, includes and over commenting.
2479 * libspi/image.c (impl__get_imageDescription): const
2480 correctness warning fix. remove redundant casting.
2482 * libspi/table.c (impl_getRowDescription): ditto.
2483 (impl_getColumnDescription): ditto.
2485 * libspi/libspi.h: add.
2487 2001-19-11 Michael Meeks <michael@ximian.com>
2489 * libspi/editabletext.c (impl_setAttributes): fix warnings.
2491 * libspi/component.c (accessibility_component_get_type):
2492 rename to (spi_component_get_type): and macroify.
2493 (accessibility_component_init): rename to
2494 (spi_component_init): this
2495 (accessibility_component_class_init): rename to
2496 (spi_component_class_init): this
2498 * libspi/action.c (spi_action_get_type): kill, use the macro.
2500 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
2503 * libspi/application.c (spi_application_object_event_listener),
2504 (impl_accessibility_application_register_object_event_listener):
2505 warning fixes / const understanding updates.
2507 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
2510 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2512 * libspi/spi_accessible.c: Added docs and C bindings for
2513 AccessibleStateSet. (No implementations yet). Documentation
2514 coverage for C bindings now 100%. Made docs for event listeners
2519 boolean notifyListenersSync (in DeviceEventListener listener,
2520 in DeviceEvent event);
2522 oneway void notifyListenersAsync (in DeviceEventListener listener,
2523 in DeviceEvent event);
2525 Added DeviceEventListener and DeviceEvent structs (may deprecate
2526 KeyStroke and KeystrokeListener in favor of this generic
2527 event/listener framework for devices).
2529 * libspi/deviceeventcontroller.c:
2531 Changed some key listener code to take masks, etc., and paved the
2532 way for integration of toolkit/non-preemptive key events. Changed
2533 signatures of some internal methods.
2535 * at-bridge/bridge.c:
2536 Fixed regression connecting to interface signals, apparently
2537 caused by GTK+ changes.
2539 Added an internal bridge_state_listener to deal with
2540 property-change:accessible-state signals.
2542 Changed the key_listeners GList to store structs (including masks,
2543 etc.) instead of just CORBA_Objects (required for full
2544 implementation of key listener API).
2546 Connected the bridge to all currently supported Atk signals.
2547 Events now supported:
2548 object:property-change
2549 object:property-change:accessible-name
2550 object:property-change:accessible-state
2551 object:property-change:accessible-description
2552 object:property-change:accessible-parent
2553 object:property-change:accessible-value
2554 object:property-change:accessible-role
2555 object:property-change:accessible-table-caption
2556 object:property-change:accessible-table-column-description
2557 object:property-change:accessible-table-column-header
2558 object:property-change:accessible-table-row-description
2559 object:property-change:accessible-table-row-header
2560 object:property-change:accessible-table-summary
2561 object:children-changed
2562 object:visible-data-changed
2563 object:selection-changed
2564 object:text-selection-changed
2566 object:text-caret-moved
2568 object:row-reordered
2570 object:column-inserted
2571 object:column-reordered
2572 object:column-deleted
2573 object:model-changed
2575 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2577 * libspi/hyperlink.c,h:
2578 Fixed some broken stuff in hyperlink.
2580 * libspi/relation.h:
2581 * libspi/relation.c:
2582 * cspi/spi_accessible.c:
2583 Initial implementations of AccessibleRelation methods, and docs.
2585 * libspi/accessible.c:
2586 Fixed a bug that caused SEGV if an accessible
2587 object's description is NULL, and a client
2588 requests it. An empty string is now returned.
2590 * cspi/spi_editabletext.c:
2591 * cspi/spi_hypertext.c:
2593 * cspi/spi_hyperlink.c:
2597 Doc coverage now 95%.
2599 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2601 One last namespacing revision:
2602 * libspi/accessibleeventlistener.[ch]:
2603 Renamed SpiAccessibleEventListener to SpiEventListener,
2604 (no need for two namespaces ;-)
2606 And lots of documentation fixes:
2608 * docs/at-spi-docs.sgml:
2609 Fixed 'underscore vs. hyphen' bug that was preventing
2610 the gtk-doc API docs from being automatically generated.
2613 * cspi/spi-listener.h
2615 * cspi/spi_accessible.c
2617 * cspi/spi_application.c
2618 * cspi/spi_component.c
2619 * cspi/spi_editabletext.c
2621 * cspi/spi_hypertext.c
2623 * cspi/spi_registry.c
2624 * cspi/spi_selection.c
2628 * docs/at-spi-docs.sgml
2629 * docs/at-spi-sections.txt
2631 Added and fixed up gtk-doc documentation in cspi.
2633 Interfaces now (fully) documented (subject to revision and enhancement):
2635 Event Listener Support
2637 AccessibleApplication
2641 AccessibleEditableText
2648 AccessibleRelationSet
2653 2001-14-11 Bill Haneman <bill.haneman@sun.com>
2655 * at-bridge/bridge.c:
2656 Initial work for toolkit-level key snooper connection by bridge.
2661 New typedefs and fixes to support new namespacing, and cleaner
2662 separation of cspi bindings from libspi bonobo implementation.
2663 Removed inconsistent and extraneous Spi* namespace prefix that
2664 had crept into cspi headers.
2665 Lots of comment fixes that sed had missed.
2667 * cspi/spi-roletypes.h:
2668 * cspi/spi-statetypes.h:
2669 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
2670 to AccessibleRoleType.
2672 * libspi/accessibleeventlistener.h:
2673 Fixed minor namespacing weirdness.
2675 * libspi/deviceeventcontroller.c:
2676 Reordered some internal API for device listeners.
2677 Changed the key registry final boolean to 'is_system_global'
2678 rather than 'is_synchronous', which is more descriptive of its
2680 Added spi_device_event_controller_new().
2681 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
2683 * libspi/keystrokelistener.[ch]:
2684 Namespaced KeystrokeListener to SpiKeystrokeListener.
2685 Changed uses of keymasks to use SPI_ prefix, and did other
2688 * libspi/keymasks.h:
2689 Namespaced keymask constants with SPI_ prefix.
2691 * libspi/registry.c:
2692 Some warning fixes, and knock-on fixes from namespace changes.
2695 Added rules for accessx-gui test program.
2697 * test/accessx-gui.c:
2698 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2699 utility. It doesn't actually use at-spi, but it's still cool and
2702 * test/keysynth-demo.c:
2706 Fixes so that these test clients work properly with the namespaced
2707 libraries. (Incompletely tested for technical reasons, fixes may follow)
2710 2001-13-11 Michael Meeks <michael@ximian.com>
2712 * libspi/application.c
2713 (impl_accessibility_application_get_version),
2714 (impl_accessibility_application_get_toolkit_name):
2716 (impl_accessibility_application_set_id),
2717 (impl_accessibility_application_get_id): remove
2718 redundant casting code.
2720 * libspi/action.c (impl_getDescription): fix warnings.
2722 * libspi/accessible.c
2723 (impl_accessibility_accessible_get_parent),
2724 (impl_accessibility_accessible_get_child_at_index),
2725 (impl_accessibility_accessible_get_state),
2726 (impl_accessibility_accessible_get_relation_set):
2727 warning fixes & include action.h
2729 2001-13-11 Michael Meeks <michael@ximian.com>
2731 * *.[ch] fix bits I screwed up:
2733 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2734 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2736 2001-13-11 Michael Meeks <michael@ximian.com>
2738 * *.[ch] Namespace libspi into spi_ and Spi.
2740 2001-13-11 Michael Meeks <michael@ximian.com>
2742 * Makefile.am: dist & install at-spi-1.0.pc
2744 * libspi/Makefile.am: install into at-spi-1.0
2746 * idl/Makefile.am (idldir): install into at-spi-1.0
2748 * at-spi-1.0.pc.in: add.
2750 * configure.in: build it.
2752 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2754 * test/keysynth-demo.c:
2755 Use a 'realize' signal-handler to set the WM properties for
2756 the virtual keyboard, rather than making it a "POPUP" type
2757 override-redirect window (thanks to anders carlsson for that
2760 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2763 * test/keysynth-demo.c:
2764 Added new test of key synthesis, which creates a simple
2765 (mouse-operated) onscreen keyboard. It inserts key events into
2766 the currently-focused window, thus it does not grab keyboard focus
2769 * cspi/spi_registry.c:
2770 Added C binding for AT-SPI generateKeyEvent.
2772 * libspi/deviceeventcontroller.c:
2773 Added call to XFilterEvent so that key listener works with XIM (we
2774 hope). Added event_synth_type to generateKeyEvent, so that we can
2775 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2776 synthesize a press/release pair for KeySyms.
2778 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2780 * libspi/Makefile.am:
2781 * registryd/Makefile.am:
2782 (temporary) hack to include libXtst in libspi and registryd.
2783 (Needed for keystroke synthesis, see below).
2786 Improved API for registerKeystrokeListener, in accordance with
2787 discussions with Gnopernicus team and X server research.
2789 * libspi/registry.c:
2790 * libspi/deviceeventcontroller.c:
2791 * libspi/accessible.c:
2792 * libspi/keystrokelistener.c:
2793 Changes and fixes to support keylisteners for potentially
2794 consumed key events (that is, 'passive grabs').
2795 Added implementation for generateKeyEvent() [untested].
2798 Changes to registerKeystrokeListener() API, as above.
2799 Added deregisterGlobalEventListenerAll(), and
2800 deregisterKeystrokeListener(), which are needed for clean exit of
2802 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2803 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2805 * cspi/spi_registry.c:
2806 Added implementations of function prototypes mentioned above.
2808 * registryd/registryd.c:
2809 Added the key listener event source as a g_timeout(), to allow
2810 receipt of key events that are not caught by GDK (since GDK
2811 doesn't support passive keygrabs, this was necessary).
2814 Changed to attach a keylistener to 'Alt' keys, and
2815 respond to the following keycommands: Alt-M (toggle magnifier);
2816 Alt-F (toggle speech); Alt-Q (quit).
2817 Added an exit routine to deregister the listeners, and a key
2818 listener that prints some key info to the console when a key
2819 matches the listener mask (and is thus received by the listener).
2821 * util/idl/Magnifier.idl:
2822 Changes to magnifier API to support multiple zoom regions,
2823 non-uniform scaling in x and y, markDirty, and a host of other
2824 features that would be useful to magnification.
2827 * util/mag_client.c:
2828 * util/mag_client.h:
2829 * util/mag_control.c:
2831 Source code changes to support the above IDL changes.
2834 As above, and also changes to use a (slower) generic conversion
2835 path for colormap conversions, since the fast RGB conversions have been
2836 reported to fail for 16-bit displays.
2838 2001-10-26 Michael Meeks <michael@ximian.com>
2840 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2842 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
2844 * at-bridge/Makefile.am: fix LDFLAGS.
2846 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2848 * at-bridge/bridge.c:
2849 Re-worked listeners for toolkit events, now we have signal
2850 and property listeners. Added a private method
2851 register_atk_event_listeners(), which registers with the
2852 various atk and gtk signals we need to monitor in order to emit
2854 Added emission hook for AtkObject:property-change events, to
2855 support the 'property listeners'.
2856 Fixed some alloc()s of Accessibility_Event structs to use CORBA
2859 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2860 which emit warnings and exit, respectively, if CORBA errors occur
2861 during remote calls, and we now use these methods to check most of
2862 our CORBA calls in the C bindings.
2864 * cspi/spi_accessible.c:
2865 Changed AccessibleSelection_refSelectedChild() to
2866 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2867 now increment refcounts.
2869 * cspi/spi_component.c:
2870 Fixed some long pointer casts (dangerous!) to pass pointers to
2871 CORBA_longs of the proper type to the CORBA stubs, and copy the
2872 data into the longs that were passed into the C bindings code.
2874 * at-bridge/bridge.c:
2876 * libspi/accessible.c:
2877 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2878 hyperlinks, AtkHyperlink is an object type.
2880 * libspi/application.c:
2881 Added various conversions to and from "generic" event types and
2882 atk-specific types; this is really part of the 'bridge'
2883 implementation but is valid for all AtkObject-based accessibility
2886 * libspi/editabletext.c:
2887 Fixed nasty bug wherein editable text's finalize method was
2888 unref'ing tha AtkObject reference that the text parent class was
2889 about to unref _again_. There was also a nasty inheritance bug
2890 that meant that the AccessibleEditableText class was corrupt.
2892 * libspi/selection.c:
2893 Provided implementations for some selection API that was broken.
2895 * idl/Application.idl:
2896 Added registerObjectEventListener () method.
2899 Fixed a number of return values that were Bonobo_Unknowns from
2900 bonobo_object_corba_objref(), which I
2901 forgot to dup before returning. Changed instances of
2902 bonobo_object_corba_objref (bonobo_object(o)) to
2903 BONOBO_OBJREF(o), for concision and clarity.
2905 <2001-10-13 Louise Miller <louise.miller@sun.com>
2907 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2908 idl/Event.idl, idl/Registry.idl
2909 Changed these files to include Bonobo_Unknown.idl instead
2912 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
2914 * libspi/component.c libspi/component.h:
2915 Fixed typo. Added assertions for object checks in
2916 AccessibleComponent code.
2918 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2920 * idl/Accessible.idl:
2921 Added 'isEqual (Accessible *object)'
2922 method for Accessible. (Not Yet Implemented).
2925 Changed signature of registerKeystrokeListener() to
2926 take a KeySet and KeyEventSeq so that specific keys and event
2927 types could be requested for monitoring, and added a flag
2928 is_synchronous so that either synchronous or asynchronous
2929 notification could be requested. (However this is not all
2930 implemented yet). This also meant adding two new typedefs,
2931 KeyEventSeq and KeySet.
2934 Added two new relations, RELATION_TOOLTIP_FOR and
2935 RELATION_LEAFNODE_OF.
2938 Added new state, STATE_HAS_TOOLTIP.
2940 * libspi/text.c, editabletext.c:
2941 Added new assertions to all casts of bonobo-objects from
2942 CORBA servants, to prevent Text API calls on non-text objects.
2943 Changed suspect casts of int-pointer types, so that we
2944 always send a valid CORBA_long pointer to the CORBA APIs that use
2945 in/out long parameters. We then have to copy from the CORBA_long
2946 into the regular long or int for return to the C bindings, or
2947 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
2950 * libspi/deviceeventcontroller.c:
2951 Cleaned these sources up.
2953 Changed return type for getCharacterAtOffset to
2954 CORBA_unsigned_long, to allow for 32-bit characters.
2957 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
2961 Fixed 'make dist' so that distro compiles...
2962 * libspi/keymasks.h:
2964 * cspi/spi-listener.c:
2965 KeystrokeListenerCB now returns a boolean.
2967 Added KeyEventType struct, and KeyStroke.
2968 Also added createKeystrokeListener(),
2969 KeystrokeListener_addCallback(),
2970 KeystrokeListener_removeCallback(), and added a keymask to
2971 registerKeystrokeListener().
2972 * cspi/spi_accessible.c:
2973 Changed numerous return types for interfaces from
2974 AccessibleComponent to Accessible<InterfaceName>; this was
2975 probably a cut-and-paste error.
2977 Implementations of new KeystrokeListener api (from spi.h,
2980 Changes to key modifier mapping.
2981 Created ControllerEventMask struct.
2982 Made DeviceEventController derive from Bonobo::Unknown.
2984 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
2985 * libspi/deviceeventcontroller.c:
2986 Added a number of new internal (private) methods.
2987 * libspi/editabletext.c:
2988 * libspi/editabletext.h:
2989 Fixed a number of bugs related to the fact that
2990 editabletext inherits from text. Fixed the EditableText struct,
2991 the init() call, and use correct casts when calling Text methods
2992 from an EditableText object. Removed (duplicate) atko from the
2993 EditableText structure, we use the one in the parent Text
2994 structure via the casts mentioned above.
2995 * libspi/keystrokelistener.[ch]:
2996 * libspi/registry.c:
2997 Changes in support of keyboard handling (above).
2999 Keyboard handling, though partly functional, is still not
3000 recommended for at-spi client use as there is considerable
3001 work yet to be done.
3004 Changed some places where pointers to various int types
3005 are cast to be pointers to CORBA_long types and vice-versa:
3006 pointer casting is not safe so we pass pointers of the correct
3007 types and then cast the result before putting it into the target
3010 * libspi/text.h: minor typos corrected.
3012 We now speak not only the name of a Text element, but the
3013 first sentence of its content, when it receives focus.
3014 I also changed the text compression to 75% from 50%.
3015 * util/Accessibility_Util.server.in:
3016 Changed the default magnifier type to be a 3x vertical
3017 splitscreen magnifier (was previously a 2x horizontal one).
3019 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
3021 * libspi/keystrokelistener.h:
3022 * libspi/keystrokelistener.c:
3023 Initial functional implementations of KeystrokeListener.
3026 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3028 Fixed string handling for NULL strings in libspi.
3029 Added spi_freeString to free strings returned by C bindings.
3031 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
3033 * libspi/keystrokelistener.h:
3034 * libspi/keystrokelistener.c:
3035 Began (no-op) implementations of KeystrokeListener
3037 * libspi/deviceeventcontroller.c:
3038 * libspi/deviceeventcontroller.h:
3039 Began creating implementations of DeviceEventController,
3040 to handle keystroke and mouse event listening and
3042 * libspi/accessible.c:
3043 Stubbed-in the implementations for
3044 Accessibility_Accessible_getState and
3045 Accessibility_Accessible_getRelationSet.
3046 * libspi/registry.c:
3047 Improved de-registration process and fixed some bugs,
3048 deregistration now works correctly.
3050 Added initialization of applications list (to NULL).
3052 Reduced speech compression from 0.5 to 0.7, for demo.
3053 Changed call to gdk_window_set_decorations()
3054 to gtk_window_set_decorated().
3055 * at-bridge/bridge.c:
3056 Bridge now deregisters when app exits, via
3057 registration of a cleanup function
3058 with the g_atexit() call.
3059 Required making 'app' static, renamed 'this_app'.
3060 Fixed broken use of bonobo_init, passing argv wrongly.
3062 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
3066 Created a new directory for
3067 accessibility-related utilities, primarily for
3068 testing and demo purposes, but with possible
3075 Onscreen magnifier utility that
3076 is implemented as a bonobo service.
3078 * util/mag_client.c:
3079 * util/mag_client.h:
3080 Client-side support (simple C bindings)
3081 for Magnification service
3083 * util/mag_control.c:
3084 Client program example for
3085 Magnification service
3087 * util/Accessibility_Magnifier.server.in:
3088 Bonobo-activation file for the
3089 Magnification service.
3092 * util/idl/Magnifier.idl:
3093 IDL defining the bonobo Magnification
3097 Modifications to use the bonobo-activated magnifier
3098 above, in place of trying to connect to an existing
3099 magnifier that uses socket-listening IPC.
3101 If env variable MAGNIFIER is set, a magnifier service
3102 will be started if one does not exist.
3104 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
3105 * at-bridge/bridge.c:
3106 applied patch from Marc to build and run
3107 against new glib and gtk+ (seemed like a change
3108 to bonobo_init signature was made ?)
3110 made festival-server support turned off by default.
3111 Added support for a simple magnifier (off by default)
3112 which will be added to a 'util' directory later.
3113 * at-bridge/Makefile.am:
3114 Changed "application.h" header from a 'source'
3115 to a 'dependency' of libat-bridge.
3117 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3125 Added interface implementation c files to list of
3126 includes so they are included in libcspi.
3129 Changed prototype of AccessibleAction_doAction to return a
3131 Changed prototype of AccessibleTable_getCaption to
3132 return an Accessible.
3133 Changed prototype of AccessibleTable_getSelectedRows
3134 and AccessibleTable_getSelectedColumns to
3135 return a long (returns the number of selected rows
3136 or columns respectively).
3137 Changed name of AccessibleText_refRunAttributes to
3138 AccessibleText_getAttributes.
3139 Changed prototype of AccessibleText_getCharacterExtents to
3140 return a void rather than a boolean.
3141 Added support for a AccessibleCoordType parameter
3142 specifying what type of coordinates are desired.
3143 Added an AccessibleCordType parameter to
3144 AccessibleText_getPointAtOffset.
3146 * cspi/spi_accessible.c:
3147 Added code to return the outstanding interfaces from
3148 Accessible_queryInterface.
3150 * cspi/spi_action.c:
3152 Corrected call to getNActions to call the c binding
3155 * cspi/spi_editabletext.c:
3157 Changed name from setRunAttributes to setAttributes.
3159 * cspi/spi_hyperlink.c:
3161 Changed call to getNAnchors to correctly call the c
3162 binding for an attribute.
3164 * cspi/spi_hypertext.c:
3166 Changed getImageDescription to correctly call the
3167 binding for an attribute.
3169 * cspi/spi_selection.c:
3170 Changed getNSelectedChildren to correctly call the c
3171 binding for the attribute.
3172 Changed refSelectedChild to getSelectedChild.
3176 Changed getCaption to return an Accessible.
3177 Fixed calls which retrieve attributes.
3178 Changed refAt to getAccessibleAt.
3179 Changed getNSelectedRows and getNSelectedColumns to
3183 Changed getCharacterExtents and getPointAtOffset to accept an
3184 AccessibleCoordType.
3186 Changed calls which retrieve attributes.
3187 Changed refRunAttributes to getAttributes.
3192 * idl/Hyperlink.idl:
3193 Changed n_anchors attribute to nAnchors to keep naming
3194 convention consistent.
3197 Made Table inherit from Bonobo::Unknown.
3198 Added nSelectedColumns and nSelectedRows attributes.
3201 Made Value inherit from Bonobo::Unknown.
3203 * libspi/hyperlink.c:
3204 Change for nAnchors attributte name change.
3206 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3214 Added interface implementation c files to list of
3215 includes so they are included in libcspi.
3218 Changed prototype of AccessibleAction_doAction to return a
3220 Changed prototype of AccessibleTable_getCaption to
3221 return an Accessible.
3222 Changed prototype of AccessibleTable_getSelectedRows
3223 and AccessibleTable_getSelectedColumns to
3224 return a long (returns the number of selected rows
3225 or columns respectively).
3226 Changed name of AccessibleText_refRunAttributes to
3227 AccessibleText_getAttributes.
3228 Changed prototype of AccessibleText_getCharacterExtents to
3229 return a void rather than a boolean.
3230 Added support for a AccessibleCoordType parameter
3231 specifying what type of coordinates are desired.
3232 Added an AccessibleCordType parameter to
3233 AccessibleText_getPointAtOffset.
3235 * cspi/spi_accessible.c:
3236 Added code to return the outstanding interfaces from
3237 Accessible_queryInterface.
3239 * cspi/spi_action.c:
3241 Corrected call to getNActions to call the c binding
3244 * cspi/spi_editabletext.c:
3246 Changed name from setRunAttributes to setAttributes.
3248 * cspi/spi_hyperlink.c:
3250 Changed call to getNAnchors to correctly call the c
3251 binding for an attribute.
3253 * cspi/spi_hypertext.c:
3255 Changed getImageDescription to correctly call the
3256 binding for an attribute.
3258 * cspi/spi_selection.c:
3259 Changed getNSelectedChildren to correctly call the c
3260 binding for the attribute.
3261 Changed refSelectedChild to getSelectedChild.
3265 Changed getCaption to return an Accessible.
3266 Fixed calls which retrieve attributes.
3267 Changed refAt to getAccessibleAt.
3268 Changed getNSelectedRows and getNSelectedColumns to
3272 Changed getCharacterExtents and getPointAtOffset to accept an
3273 AccessibleCoordType.
3275 Changed calls which retrieve attributes.
3276 Changed refRunAttributes to getAttributes.
3281 * idl/Hyperlink.idl:
3282 Changed n_anchors attribute to nAnchors to keep naming
3283 convention consistent.
3286 Made Table inherit from Bonobo::Unknown.
3287 Added nSelectedColumns and nSelectedRows attributes.
3290 Made Value inherit from Bonobo::Unknown.
3292 * libspi/hyperlink.c:
3293 Change for nAnchors attributte name change.
3296 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
3298 implementations-- made server implementations own AtkObject pointers
3299 rather than their respective AtkInterrface pointers to fix
3300 refcounting. AtkHyperlink is still broken.
3302 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
3303 * cspi/spi_accessible.c:
3304 Added method Accessible_Role_getName(),
3305 and requisite string array (role_names).
3306 Added conversion string_from_corba_strin() call
3307 to Accessible_getName and _getDescription.
3308 * libspi/accessible.c:
3309 Added implementation for Accessible_getRole()
3311 Added festival support, used if environment variable
3314 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3316 * at-bridge/bridge.c:
3317 Now allocate Accessibility_Event using
3318 Accessibility_Event__alloc() instead of g_new0().
3319 * libspi/accessibleeventlistener.c:
3320 Initialize AccessibleEventListener->callbacks to NULL.
3321 Fixed accessible__event_listener_init() param, changed to
3322 "AccessibleEventListener *" type.
3323 Changed a bonobo_object_release_unref() call to
3324 Accessibility_Accessible_unref().
3325 * libspi/listener.c:
3326 Changed Bonobo_Unknown_unref to (equivalent)
3327 Accessibility_Accessible_unref.
3328 * libspi/registry.c:
3329 Changed bonobo_object_release_unref to
3330 Accessibility_Accessible_unref.
3332 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3335 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
3336 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
3337 spi-util.c spi-util.h
3338 Implementations for C bindings to remaining accessibility
3341 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3344 changed return value of Action from void to boolean to
3345 bring in line with ATK.
3348 Changed getText funcions to return "out" start and end offsets.
3349 Changed getAttributes to take and offset and return the start
3350 and end offset of the attribute run.
3351 Changed getOffsetAtPoint and getCharacterExtents to take an
3352 enum describing whether coordinates are window or screen.
3355 libspi/action.c libspi/action.h libspi/editabletext.c
3356 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
3357 libspi/hypertext.c libspi/hypertext.h libspi/image.c
3358 libspi/image.h libspi/selection.c libspi/selection.h
3359 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
3360 libspi/value.c libspi/value.h
3361 Added server implementations for outstanding ATK interfaces
3362 not yet implemented.
3364 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3367 Added (missing) getName() method.
3368 Made nActions an attribute.
3369 * idl/EditableText.idl:
3370 Changed order of params in setAttributes.
3371 * idl/Hyperlink.idl:
3372 Removed getAnchor, added getURI.
3374 Changed attributes to methods, for efficiency
3375 (so that getting extents can be done in one call)
3376 * idl/Selection.idl:
3377 Changed nSelectedChildren to attribute, and re-indented.
3378 * idl/Table.idl: changed nrows, ncolumns, caption, summary
3380 * idl/Text.idl: reformatted to match our coding style.
3381 (temporarily?) removed getRowColumnAtOffset().
3382 Changed text selection API to support multi-select and
3383 non-contiguous selections, as in ATK.
3384 * idl/Value.idl: changed some methods to attributes.
3386 2001-08-24 Mark McLoughlin <mark@skynet.ie>
3388 * libspi/listener.c(impl_notify_event):
3389 BonoboUnkown_unref the source instead
3390 of bonobo_object_release_unref - the ORB
3391 handles the releasing.
3393 * configure.in: require ORBit-2.3.94 for
3396 2001-08-21 Bill Haneman <bill.haneman@sun.com>
3398 Tagged CVS repository 'EA_1_0'.
3399 * README.EARLY_ACCESS:
3400 Alphabetized acknowledgements list, and
3402 Listed some known dependencies of at-spi.
3404 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3406 * docs/at-spi-docs.sgml:
3407 * docs/at-spi-sections.txt:
3408 * docs/at-spi-overrides.txt: (Added zero-length file)
3409 Documentation improvements - gtk-doc should build
3410 docs for all implemented C bindings now.
3413 * cspi/spi.c: (New file)
3414 * cspi/spi_event.c: (New file)
3415 * cspi/spi_registry.c: (New file)
3416 * cspi/spi_accessible.c: (New file)
3417 * cspi/spi_application.c: (New file)
3418 * cspi/spi_component.c: (New file)
3419 Split spi_main.c into six parts, and included them from
3420 "spi.c". This is a bit of a hack, probably temporary,
3421 but required by gtk-doc, apparently.
3423 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3426 * docs/at-spi-docs.sgml:
3427 * docs/at-spi-sections.txt:
3429 Initial checkins/modifications for gtk-doc generation.
3432 Added (missing) interface query methods to Accessible's C binding.
3434 Added GenericInterface type definition.
3436 Added query for AccessibleComponent interface to focus event handler.
3437 Added printout of bounding box for focussed component.
3438 * libspi/component.c:
3439 Added partial implementation for AccessibleComponent to C binding.
3440 * idl/Application.idl:
3441 * libspi/registry.c:
3442 * libspi/listener.c:
3443 * libspi/application.c:
3444 * libspi/application.h:
3445 Changed "ID" attribute type from string to long.
3447 2001-08-19 Bill Haneman <bill.haneman@sun.com>
3451 Made method naming consistent: methods taking object args
3452 start with uppercase, other methods (except those using
3453 acronyms) start with lowercase. Underscores delimit between
3454 object names and method names:
3455 SPI_init() - uppercase since it starts with an acronym.
3456 getDesktopCount () - lowercase start since no object param0.
3457 Accessible_getName() - uppercase object type name, studlyCaps method
3461 Added gtk-doc documentation for all currently implemented
3462 methods in the C bindings API.
3464 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3466 * Makefile.am : changed build order to build test last.
3469 Changed "createEventListener" to "CreateEventListener".
3470 * libspi/accessibleeventlistener.c :
3471 Bugfix for addition of callbacks.
3472 * test/Makefile.am :
3473 * test/simple-at.c :
3474 Added new test that uses the C bindings API.
3476 * libspi/listener.c :
3477 * libspi/registry.c :
3478 * libspi/accessibleeventlistener.c :
3479 * at-bridge/bridge.c :
3480 Renamed member "target" of Accessibility_Event to "source",
3481 which is more descriptive.
3484 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3488 * cspi/Makefile.am :
3489 Added makefile support for at-spi/cspi directory.
3492 * cspi/spi-listener.h : (NEW FILE)
3493 Added support for/use of spi-listener.h.
3495 C bindings now build successfully, with no warnings.
3496 * libspi/accessibleeventlistener.h : (NEW FILE)
3497 * libspi/accessibleeventlistener.c : (NEW FILE)
3498 * libspi/Makefile.am :
3499 Added new object type "AccessibleEventListener"
3500 which inherits from Listener, and allows attachment
3501 of in-process callbacks (so that a client with a listening
3502 object instance can add functionality to the local
3503 implementation, dynamically).
3505 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3507 * libspi/accessible.c:
3508 Add implementation for get_index_in_parent().
3510 Added #include of "spi-roletypes.h", and
3511 added enumerated type AccessibleCoordType.
3512 Added definition for KeystrokeListener (function type).
3515 * cspi/spi-statetypes.h :
3516 * cspi/spi-roletypes.h :
3518 Added these headers, used by spi.h.
3520 Added code (NOTE: not yet built by make).
3522 2001-08-18 Mark McLoughlin <mark@skynet.ie>
3524 * libspi/Makefile.am: generate imodule
3525 at the same time as other idl compiler
3528 2001-08-17 Bill Haneman <bill.haneman@sun.com>
3529 * libspi/registry.c :
3530 * libspi/application.c :
3531 * idl/Application.idl :
3532 Made registration with toolkit an application method,
3533 which is required since each app has its own toolkit static
3534 environment. Thus the bridge must register for
3535 notification of toolkit events from each application in turn.
3536 Toolkit notifications are now successfully registered for, and
3537 sent to the listening at client.
3539 Changed toolkit event string to use hyphens rather than underscores.
3540 * libspi/listener.c :
3541 listner now gives more info in debug mode - it reports the
3542 name of the event received, as well as the name of the source.
3545 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3547 * libspi/registry.c :
3548 added more implementation for toolkit events.
3549 Fixed bug such that toolkit event registrations
3550 (via atk) use the whole event name string, not
3552 Removed a useless call to an ORBit_ method.
3553 * at-bridge/bridge.c :
3554 Removed unused local sbuf[] variable.
3556 We now register for Gtk:GtkWidget:button_press_event
3557 events as well as "focus:" events.
3559 Add some more API from Registry.idl that was missing,
3560 for keystroke listening, keystroke and mouse event
3561 synthesis, and enumeration of accessible desktops.
3563 2001-08-16 Michael Meeks <michael@ximian.com>
3565 * configure.in: use AM_GLIB_GNU_GETTEXT.
3567 * Makefile.am (SUBDIRS): kill intl.
3569 2001-08-15 Michael Meeks <michael@ximian.com>
3571 * registryd/Makefile.am: s/oaf/server/ relocate info file.
3573 * configure.in: upd.
3575 * configure.in: depend on a recent bonobo-activation that
3576 will find our server files ...
3578 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3580 * libspi/accessible.c : accessible_new() :
3581 Now we add the Component interface via bonobo_object_add_interface,
3582 if the contained AtkObject implements AtkComponent.
3583 * libspi/accessible.h : now include "component.h"
3584 * libspi/component.h :
3585 * libspi/component.c : added files - implementation of
3586 bonobo wrapper object for Accessibility/Component
3587 * libspi/listener.c :
3588 Added test code to check for Accessibility/Component:1.0
3589 interface and report whether it is implemented by the
3591 * libspi/registry.c :
3592 Now we check for not only the hash of the whole event
3593 string before relaying the event, we also check the
3594 "minor" event string (without the detail string).
3595 This allows event listeners to be registered against
3596 all events of a certain major+minor type, or just
3597 against a specific major+minor+detail type.
3598 * libspi/accessible.c :
3599 Added implementations for Accessible:get_parent(),
3600 Accessible:getChildCount(), and Accessible:getChildAtIndex().
3601 * libspi/registry.c :
3602 * libspi/listener.c :
3603 Replaced calls to Accessibility_Accessible_ref() and
3604 Accessibility_Accessible_unref() with
3605 calls to bonobo_object_dup_ref() and
3606 bonobo_object_release_unref(), so that the CORBA object
3607 is dup-ed and released when relayed, as well as the bonobo object.
3609 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3611 * libspi/Makefile.am,
3612 registryd/Makefile.am,
3613 at-bridge/Makefile.am.
3614 test/Makefile.am, configure.in:
3615 reverse previous changes.
3617 * /idl/Image.idl: fix typo.
3619 * test/Makefile.am: put DEBUG_FLAGS
3622 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3624 * test/app.c: use argv[0] instead of
3627 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3629 * libspi/Makefile.am,
3630 registryd/Makefile.am,
3631 at-bridge/Makefile.am.
3632 test/Makefile.am, configure.in:
3633 cleanup, replace individual LIBS/CFLAGS with
3634 AT_COMMON_{LIBS|CFLAGS}.
3638 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3640 * configure.in, libspi/Makefile.am:
3641 Change IDL path checking for bonobo-activation
3644 2001-08-15 Bill Haneman <bill.haneman@sun.com>
3646 * registryd/registry.c : separated event listeners to use
3647 3 separate lists (focus, window, toolkit). Began testing
3648 event names against hashes before relaying events.
3649 * test/at.c : now register for events of type "focus:"
3650 * test/app.c : now generate events of type "focus:"
3651 * at-bridge/bridge.c : register with ATK for focus events,
3652 and we now relay those focus events to any "focus:" listeners.
3653 This now works with the bridge as a GTK_MODULE when running test/at.
3654 * libspi/registry.c :
3655 * libspi/listener.c :
3656 now we ref event sources before propagating, and unref on receipt.
3657 * libspi/registry.c :
3658 some changes to internal structs, to support event typestring hashes.
3659 * text/app.c : changed the way the appname is generated.
3660 * cspi : added directory that will hold the C bindings library for
3661 non-CORBA/bonobo-savvy clients.
3662 * cspi/spi.h : header file that contains the function prototypes for the C binding.
3663 * idl/Component.idl : added in parameter to indicate coord system for
3664 geometry-related calls.
3665 * idl/Hyperlink.idl : added readonly n_links attribute
3666 * idl/Image.idl : changed methods to attributes.
3668 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3670 * at-bridge/Makefile.am: link against
3671 ../libspi/libspi.la instead of -lspi.
3673 * at-spi/test/app.c: include
3674 bonobo-activation.h. Use a default appname
3675 if one is not provided.
3677 2001-08-14 Bill Haneman <bill.haneman@sun.com>
3679 * idl/Registry.idl : temporarily changed register_Application
3680 to oneway, to work around issue with initial registration
3682 * idl/Application.idl : changed attribute "id" from readonly
3683 to read-write, since it needs to be assigned by Registry.
3684 * registryd/registryd.c : added call to set application id
3686 * registryd/registry.c : changed de-registration procedure to
3687 use CORBA_Object_hash() to find matching object ref in application
3688 lists and listener lists.
3689 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
3690 began distinguishing between event types (work in progress).
3692 2001-08-13 Bill Haneman <bill.haneman@sun.com>
3695 * libspi/application.c:
3696 Added implementations for get/set id, get_toolkitName,
3698 * registryd/registryd.c :
3702 Converted from use of OAF to bonobo-activation.
3703 * libspi/desktop.h :
3704 * libspi/desktop.c :
3706 Removed references to atksimpleobject, since base atkobject
3707 implementation now provides functionality we need.
3708 * libspi/atksimpleobject.c :
3709 * libspi/atksimpleobject.h :
3714 * at-bridge/Makefile.am
3715 * at-bridge/bridge.c
3718 Added directory "bridge" and contents, and added dependencies
3719 in Makefile.am/configure.in.
3720 Initial checkin of "at-bridge".
3721 This code is a GTK_MODULE which automatically registers
3722 GTK+ apps with the accessibility registry, using an object
3723 reference to the root ATK object.
3725 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3727 * po/Makefile.in.in: Remove. Again. If this
3728 doesn't get autogenerated - you need to update
3731 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3733 * po/Makefile.in.in: Add. Again.
3735 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3737 * libspi/accessible.c : added support for 'description' property.
3738 * libspi/accessible.c
3740 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3741 (since the two are now equivalent in libbonobo)
3749 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3750 Bonobo::Unknown as does Accessibility::Accessible.
3751 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3752 interface with Bonobo::Stream, since it was redundant with it.
3753 (The Stream returned by a StreamableContext object is expected to
3754 implement only a subset of Bonobo::Stream)
3756 2001-07-28 Anders Carlsson <andersca@gnome.org>
3758 * libspi/accessible.c (accessible_object_finalize): Change
3759 g_free to g_object_unref since the AtkObject is a GObject.
3761 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3763 * idl/Accessibility.idl: add new IDL files
3766 * idl/Action.idl: Definitions of actionable UI object
3767 * idl/Component.idl: Definitions of UI component geometry, etc.
3768 * idl/Hyperlink.idl: Defs of hyperlink behavior
3769 * idl/Image.idl: Def of accessible image
3770 * idl/Selection.idl: Definition of UI object with selectable children
3771 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3772 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3773 * idl/Text.idl: Interface defs for UI elements with complex textual content
3774 * idl/Value.idl: Definition of UI element that is a value controller or display
3776 2001-07-27 Michael Meeks <michael@ximian.com>
3778 * po/Makefile.in.in: remove autogenerated file from CVS.
3780 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3783 * idl/Registry.idl: include guard.
3785 * idl/Accessibility.idl: Add, and include all the other IDL
3788 * idl/*.idl: remove mass of pragmas etc.
3790 2001-07-26 Michael Meeks <michael@ximian.com>
3792 * registryd/Makefile.am (registryd_SOURCES): remove
3795 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3797 * libspi/.cvsignore, registryd/.cvsignore,
3798 test/.cvsignore: updated.
3800 * po/Makefile.in.in: gettext update.
3802 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3804 * initial CVS checkin
3806 2001-06-29 Michael Meeks <michael@ximian.com>
3808 * configure.in: add AM_CONFIG_HEADER to gen config.h