1 2002-04-18 Michael Meeks <michael@ximian.com>
3 * libspi/relation.c (impl_getNTargets): impl.
4 (impl_getTarget): impl.
6 * libspi/Makefile.am: fix stateset install.
8 2002-04-17 Bill Haneman <bill.haneman@sun.com>
11 Started putting useful info in this file.
13 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
15 * atk-bridge/bridge.c:
16 Propagate state-changed notifications to ATs
18 * cspi/spi_registry.c: update docs to reflect actual behavior of
21 2002-04-17 Bill Haneman <bill.haneman@sun.com>
24 Incremented version to 0.12.1
27 Add missing declaration for magnifier_exit,
28 used by mag_control.c - Forte compiler didn't like
29 the implicit redeclaration of the function :-(
32 2002-04-16 Bill Haneman <bill.haneman@sun.com>
35 Revved version to 0.12 due to API change (see below).
37 * cspi/spi-roletypes.h:
38 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
39 definition from the inline docs, and added docs
40 for SPI_ROLE_LAST_DEFINED.
43 * cspi/spi_streamablecontent.c:
44 Added missing seek_type parameter to
45 (so far unused) method,
46 AccessibleStreamableContent_seek().
47 [ RT approval JodyG. ]
50 Fixed docs for SPI_createAccessibleKeystrokeListener.
52 * cspi/spi_registry.c:
53 Fixed docs for SPI_KEYSET_ALL_KEYS.
55 * docs/reference/cspi/at-spi-cspi-sections.txt:
56 Added a number of missing APIs to SECTIONS.
58 2002-04-16 Bill Haneman <bill.haneman@sun.com>
60 * registryd/Makefile.am:
62 * cspi/bonobo/Makefile.am:
63 Add $(X_LIBS) to makefiles.
65 2002-04-15 Bill Haneman <bill.haneman@sun.com>
68 Revved version to 0.11.
71 Added implementation for grabFocus.
73 * idl/Accessibility_Component.idl
74 (Accessibility_Component_grabFocus):
75 Made this method return boolean to indicate success or failure, to
76 be consistent with cspi and the corresponding ATK method.
78 * idl/Accessibility_Selection.idl
79 (Accessibility_Selection_selectAll) :
80 Made these methods return boolean to indicate success or
81 failure, to be consistent with cspi and the corresponding ATK methods.
83 * idl/Accessibility_EditableText.idl
84 (Accessibility_EditableText_setTextContents,
85 Accessibility_EditableText_insertText,
86 Accessibility_EditableText_cutText,
87 Accessibility_EditableText_deleteText,
88 Accessibility_EditableText_pasteText):
89 Made these methods return boolean to indicate
92 * cspi/spi_editabletext.c:
93 Made these methods return booleans.
97 * libspi/editabletext.c:
98 Connected the boolean returns from ATK
99 to the server-side code referenced above.
101 2002-04-14 Bill Haneman <bill.haneman@sun.com>
103 * idl/Accessibility_Table.idl: Added missing methods,
104 Accessibility_Table_addRowSelection,
105 Accessibility_Table_addColumnSelection,
106 Accessibility_Table_removeRowSelection,
107 Accessibility_Table_removeColumnSelection.
110 Added C wrappers for above IDL:
111 AccessibleTable_addRowSelection,
112 AccessibleTable_addColumnSelection,
113 AccessibleTable_removeRowSelection,
114 AccessibleTable_removeColumnSelection.
117 Added server-side implementation code for IDL above, connecting
118 to pre-existing ATK api.
120 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
122 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
124 * libspi/accessible.c: Added implementation fo
125 Accessibility_Accessible_get_state.
127 * libspi/libspi.h: Added stateset.h to the list of includes.
129 * libspi/stateset.c: Fixed broken implementation.
131 2002-04-13 Bill Haneman <bill.haneman@sun.com>
134 Added implementation code for Accessibility_Magnifier_exit ().
136 * util/mag_control.c:
137 Added test code for above method; you can
138 now kill an existing magnifier via
139 ./mag_control q, from the util directory.
141 * test/key-listener-test.c:
143 Added a new test, for our key listener API.
145 2002-04-11 Bill Haneman <bill.haneman@sun.com>
147 * test/app.c, test/keysynth-demo.c:
149 Replace use of snprintf with g_snprintf.
150 (fix for bugzilla 78249)
152 2002-03-27 Michael Meeks <michael@ximian.com>
156 * util/Makefile.am (INCLUDES): fix.
157 (DONT_DIST_SOURCE): don't distribute the
160 * libspi/Makefile.am (dist-hook): ditto.
162 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
164 * libspi/hypertext.c:
165 Fix warnings when yelp is used with atk-bridge
167 2002-03-21 Michael Meeks <michael@ximian.com>
169 * libspi/application.c (spi_application_new):
170 use spi_accessible_construct so we use the AtkObject
173 2002-03-19 Michael Meeks <michael@ximian.com>
175 * registryd/registry.c (desktop_remove_application),
176 (desktop_add_application): clean coding style.
178 * registryd/desktop.c (spi_desktop_remove_application),
179 (spi_desktop_add_application): kill re-enterency hazards.
180 (spi_desktop_dispose): remove bogus redundant cast
181 obscuring bug; fix bug too.
182 (spi_desktop_init): make the desktop object immortal.
184 2002-03-16 Bill Haneman <bill.haneman@sun.com>
187 Added a #define-guarded tree-traversal step
188 when enumerating the apps (diagnostic tool).
190 2002-03-15 Bill Haneman <bill.haneman@sun.com>
192 * idl/Accessibility_Role.idl:
193 Added ROLE_DRAWING_AREA which seemed to be missing from the
196 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
198 * cspi/spi-roletypes.h cspi/spi_accessible.c
199 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
202 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
203 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
204 AT when applications are added and removed from the desktop. This
205 reverts the previous broken implementation using the backing
206 AtkObject for the SpiDesktop.
208 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
210 * registryd/desktop.c: emit the "children-changed::add" and
211 "children-changed::remove" signals on the backing ATK object for
212 the desktop so AT can tell when applications are started and shut
215 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
217 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
219 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
221 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
223 * cspi/spi_accessible.c: Implemented c bindings for stateset support
225 * cspi/state-types.h: synched with IDL and ATK
227 2002-03-13 Bill Haneman <bill.haneman@sun.com>
229 * libspi/accessible.c
230 (impl_accessibility_accessible_get_child_at_index):
231 Change return value for g_return_if_fail ()
232 to CORBA_OBJECT_NIL instead of "0" (!)
234 * registryd/Makefile.am:
235 * registryd/Accessibility_Register.server.in:
236 Changed name of executable, "registryd",
237 to something more informative:
240 2002-03-13 Michael Meeks <michael@ximian.com>
242 * atk-bridge/bridge.c (atk_bridge_init): don't register
243 if we're in a bonobo-component, rather than a bonobo app.
245 2002-03-13 Michael Meeks <michael@ximian.com>
247 * atk-bridge/bridge.c (gtk_module_init): split
248 out body to (atk_bridge_init): here, since otherwise
249 we get symbol conflicts and oddness when invoked
250 from (gnome_accessibility_module_init): here (upd.)
252 2002-03-11 Bill Haneman <bill.haneman@sun.com>
255 New file. Explicitly allow "build sheriff" putbacks provided
256 they are tested on Solaris.
258 * docs/reference/cspi/Makefile.am:
259 Added '-' to the "cp" command for index.sgml.
260 ("patch by thomasvs, soon coming to a GUADEC near you")
263 Incremented version number (0.9.0) for new release.
264 Changed macro that checks for popt, to better detect
265 obsolete versions of popt.
268 Added X_LIBS to AC_SUBST, for applications
269 that call Xlib API directly.
272 2002-03-07 Bill Haneman <bill.haneman@sun.com>
275 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
278 Fix regression caused by hard-coding major
279 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
282 * test/test-simple.c (test_editable_text),
283 (test_test): revert previous change (error was
284 a regression in gail which is now fixed).
286 2002-03-04 Michael Meeks <michael@ximian.com>
288 * test/test-simple.c (test_editable_text),
289 (test_text): pass G_MAXINT instead of '-1' for
290 whole string - is this a good thing !?
292 * cspi/spi_accessible.c
293 (Accessible_getRelationSet): fix crasher bug
294 overwriting the end of the array.
296 * test/test-simple.c (validate_accessible): free,
297 not g_free returned relation set.
299 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
301 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
302 implemented stateset support
304 * idl/Accessibility_State.idl: Made necessary changes to
305 the IDL to support state sets.
307 2002-02-12 Bill Haneman <bill.haneman@sun.com>
309 * registryd/deviceeventcontroller.c:
310 Added implementation for generateMouseEvent.
312 * cspi/spi_registry.c:
313 Connected new implementation for generateMouseEvent
316 2002-02-12 Bill Haneman <bill.haneman@sun.com>
319 Incremented revision (but no change in public API
320 outside of 'utils', which are not installed public yet.)
322 * libspi/component.c:
323 Changed to use atk_component API for layers and
324 mdi_zorder, instead of deprecated atk_object API.
326 Magnification Utility Enhancements:
329 Added implementation of createZoomRegion, clearAllZoomRegions,
330 resizeZoomRegion. Added new commandline argument
331 "--no-initial-region". Note that clearAllZoomRegions doesn't
332 unmap the old '0' region as it should (yet), and the other
333 methods only work when creating/resizing a single region,
335 (Code for multiple region support will be added later.)
338 Now we raise the magnifier window each time it's refreshed;
339 this will help keep it on top.
342 Added simple wrappers for above, used by mag_control.
343 For general use, it's recommended to use the bonobo magnifier
344 control API directly instead of using these wrappers.
347 Moved ZoomRegionData from magnifier.c to this file.
349 * util/mag_control.c:
350 Added some code to exercise new IDL implementations.
352 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
354 * libspi/text.c: Provide implementation for getAttributes.
356 2002-02-04 Bill Haneman <bill.haneman@sun.com>
359 Incremented revision.
361 * test/test-simple.c:
362 Replaced use of deprecated g_main_iteration with
363 g_main_context_iteration.
365 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
368 Incremented revision for desktop alpha 2.
370 2002-01-28 Mark McLoughlin <mark@skynet.ie>
372 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
375 * test/simple-at.c: include netinet/in.h.
377 2002-01-24 Mark McLoughlin <mark@skynet.ie>
379 * cspi/spi_accessible.c: (Accessible_getRelationSet):
380 use NULL, not CORBA_OBJECT_NIL.
382 * libspi/accessible.c:
383 (impl_accessibility_accessible_get_relation_set):
384 allocate the sequence correctly.
386 * libspi/remoteobject.h: kill spi_remote_object_new.
388 * test/test-simple.c: (validate_accessible): add code
389 to test relation sets, now all we need is to figure
390 out how to excercise this code path :/
392 2002-01-18 Michael Meeks <michael@ximian.com>
395 (key_listener_cb): consume the key.
396 (test_keylisteners): update.
397 (main): wait for any pending unrefs on events.
399 * registryd/deviceeventcontroller.c
400 (spi_controller_update_key_grabs): only re-issue the
401 grab on a key release.
402 (spi_device_event_controller_forward_key_event):
403 refresh the keygrabs before we notify the listeners,
404 to reduce the X ungrab / re-grab race.
405 (spi_controller_register_with_devices): remove
406 XSelectInput - we do that with the gdk_window_ call.
407 (_spi_controller_device_error_handler): return a value.
408 s/GDK_DISPLAY/spi_get_display/
410 2002-01-17 Michael Meeks <michael@ximian.com>
412 * registryd/deviceeventcontroller.c
413 (_deregister_keygrab): don't blow out the later
416 * test/test-simple.c (test_keylisteners): do a
417 more intelligent validation.
419 2002-01-14 Michael Meeks <michael@ximian.com>
421 * atk-bridge/bridge.c
422 (gnome_accessibility_module_init),
423 (gnome_accessibility_module_shutdown): impl.
424 (gtk_module_init): protect vs. double inits.
425 (add_signal_listener): impl.
426 (spi_atk_bridge_state_event_listener): kill
427 (deregister_application): split out of
428 (spi_atk_bridge_exit_func): here.
430 2002-01-18 Bill Haneman <bill.haneman@sun.com>
433 Added caret tracking when using magnifier, and
434 now use text bounds for focus tracking of text elements, rather than
435 the component bounds - this is helpful for short text fields in long
436 table cells, at high magnification.
438 2002-01-16 Bill Haneman <bill.haneman@sun.com>
440 * registryd/deviceeventcontroller.c:
441 Regression fix for keylistener de-registration; global keygrabs
442 were not being released when deregisterKeystrokeListener was
443 called in cspi, since
444 Accessibility_DeviceEventController_deregisterKeystrokeListener
445 was called with a zero-length keyset. That is because the cspi
446 method, SPI_deregisterKeystrokeListener, does not take a keyset
447 parameter but instead should remove all the key grabs held be a
449 The code in impl_deregister_keystroke_listener was changed to copy
450 the keylist from the listener instance previously registered with
451 the DeviceEventController before releasing the grabs.
453 * registryd/registry.c:
454 * registryd/deviceeventcontroller.c:
455 * libspi/spi-private.h:
457 Changed spelling of "re-enterant" to "re-entrant" globally.
459 2002-01-16 Bill Haneman <bill.haneman@sun.com>
461 * test/test-simple.c:
462 Changed key listeners test - the test was slightly mis-using the
463 (admittedly poorly documented) SPI_generateKeyboardEvent API.
464 It now uses '=' as the key event listened to and generated,
465 relying on a keysym match rather than assuming that keycode 33
466 is always equal to keysym '!'.
468 2002-01-15 Bill Haneman <bill.haneman@sun.com>
471 Changed simple-at to use a specific keyset, rather than
472 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
473 manager, desktop, etc.
475 2002-01-11 Bill Haneman <bill.haneman@sun.com>
477 * registryd/deviceeventcontroller.c:
478 Replaced standard X error handler with a special handler that
479 is non-fatal for failed keygrabs. This works around
480 problems with keygrab clashes sometimes observed on
482 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
483 mouse handling code as yet).
485 2002-01-11 Bill Haneman <bill.haneman@sun.com>
488 Incremented revision for desktop alpha release.
491 Fixed a couple of the more glaring errors (still not
494 2002-01-11 Michael Meeks <michael@ximian.com>
496 * registryd/deviceeventcontroller.c
497 (spi_device_event_controller_forward_key_event): kill
498 XUngrabKey / XKeyGrab race.
499 (spi_controller_grab_keyboard): rename to
500 (spi_controller_update_key_grabs): this, and deal
501 with incremental adding / removing grabs more
503 (_register_keygrab): ensure we're not pending a remove.
504 (spi_grab_mask_free): impl.
505 (spi_controller_register_global_keygrabs): split out
507 (handle_keygrab): impl.
508 (_deregister_keygrab): impl.
509 (spi_controller_deregister_global_keygrabs): impl.
510 (spi_controller_update_key_grabs): re-issue the grab if
511 we just recieved a notification.
513 * test/test-simple.c (key_listener_cb): remove debug.
515 * registryd/deviceeventcontroller.c
516 (spi_controller_register_device_listener): after
517 registering a global keygrab, actualy register it !
518 don't wait for a timeout; doh !
520 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
521 to make it more readable / manipulable.
522 s/grabmask/grab_mask/ s/refcount/ref_count/
523 s/keyval/key_val/ s/modmask/mod_mask
525 2002-01-08 Michael Meeks <michael@ximian.com>
527 * registryd/deviceeventcontroller.c
528 (spi_controller_register_with_devices): use gdk calls to
530 (global_filter_fn): implement the filter.
531 (spi_device_event_controller_check_key_event): rename to
532 (spi_device_event_controller_forward_key_event): this & upd.
533 (spi_get_display): replace with GDK_DISPLAY.
535 * registryd/deviceeventcontroller.c
536 (spi_controller_deregister_device_listener): unroll into
537 (impl_deregister_keystroke_listener): here to simplify.
538 (spi_controller_register_global_keygrabs): split cut and
539 paste (!) out into (_register_keygrab): here, shorter & sweeter.
540 (spi_controller_deregister_device_listener): remove.
541 (impl_register_mouse_listener): remove, no mouse listener
542 support in at-spi-1.0
544 * registryd/registry.c
545 (_device_event_controller_hook): kill.
546 (spi_registry_init): upd.
548 * registryd/deviceeventcontroller.c
549 (spi_device_event_controller_class_init): upd.
550 (spi_check_key_event): merge into.
551 (spi_device_event_controller_check_key_event):
552 here and kill strange static ev init, don't leak
553 the x_event - nor dynamicaly allocate it.
555 * registryd/registry-main.c (main): re-direct
556 timeout to remove strange vtable mess.
558 * registryd/deviceeventcontroller.c
559 (remove_listener_cb): impl.
560 (spi_controller_deregister_device_listener):
561 fix re-enterancy hazard.
563 2002-01-07 Michael Meeks <michael@ximian.com>
565 * registryd/deviceeventcontroller.c
566 (spi_device_event_controller_new): upd.
567 (impl_notify_listeners_sync): upd. debug.
568 (spi_notify_keylisteners): fix re-enterancy hazards,
569 prettify, remove O(n*n) iteration.
570 (spi_controller_grab_keyboard): fix iteration.
571 (spi_check_key_event): re-format to suit coding style.
572 Clean all the warnings - we're warning free.
574 * registryd/deviceeventcontroller.h:
575 * registryd/registry.h: make mutualy referential with
576 typesafe forward references instead of (!) void pointer
579 2002-01-11 Michael Meeks <michael@ximian.com>
581 * cspi/spi_accessible.c (role_names): add a role name
582 to sync this array with the enum; and make the regression
585 2002-01-10 Michael Meeks <michael@ximian.com>
587 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
588 allow expansion of enumeration & kill warning.
590 * test/test-simple.c (key_listener_cb): impl.
591 (test_keylisteners): impl.
593 * cspi/spi-listener.h: make listener signatures const
594 on the provided (const) events.
596 * test/keysynth-demo.c: upd. to const events.
598 * test/simple-at.c: ditto.
600 2002-01-11 Bill Haneman <bill.haneman@sun.com>
603 Rev the version to 0.5 (the previous tarball was named 0.4,
604 even though the micro number was 3), so we need to rev upwards
605 again for beta2/"desktop-alpha"
608 Checked in a demo script, which requires editing before use!
609 Proceed with caution.
612 Fixed typo in header which was redefining SPI_ACTION_CLASS.
614 * cspi/spi_accessible.c:
615 Add a couple of missing enum initializations, and fix some enum
618 * cspi/spi_registry.c:
619 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
621 * docs/reference/cspi/at-spi-cspi-sections.txt:
622 Remove/fix a couple of broken document references.
625 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
626 as Alt-Control to listen for commands, since on some systems
627 Control-Alt may already be grabbed.
629 2002-01-10 Bill Haneman <bill.haneman@sun.com>
632 Update version number to 0.4 for Beta2.
634 * libspi/accessible.c, libspi/accessible.h:
635 Expose spi_accessible_construct, to enable libgail-gnome
636 construction from spi_accessible subtype.
639 Workaround for bug in some non-gnome-compliant window managers
640 which made magnifier resize improperly.
642 2002-01-09 Bill Haneman <bill.haneman@sun.com>
644 * libspi/accessible.c: (spi_accessible_new) :
645 Move the test for SPI_IS_REMOTE_OBJECT to
646 spi_accessible_new_return, fixing a bug and compile time warning.
648 2002-01-08 Michael Meeks <michael@ximian.com>
650 * registryd/registry.c (parse_event_type): remove strndup.
652 * libspi/Makefile.am (libspi_la_SOURCES): remove
653 sources already included in the headers section.
655 * libspi/util.c: add.
657 * libspi/spi-private.h: add.
659 * registryd/registry.c: update to moved list iterators.
661 2002-01-05 Michael Meeks <michael@ximian.com>
663 * test/simple-at.c (main): upd. auto-module set to atk-bridge
665 * test/test-simple.c (main): ditto.
667 2002-01-04 Michael Meeks <michael@ximian.com>
669 * libspi/accessible.c (spi_accessible_new): remove 2nd,
672 * registryd/registry.c
673 (get_listener_list): impl.
674 (impl_accessibility_registry_register_global_event_listener):
675 re-impl. to simplify using ~, remove dodgy const cast off.
676 (parse_event_type): constify.
677 (impl_accessibility_registry_deregister_global_event_listener_all):
678 re-write, more efficiency and simplicity, kill re-enterancy
680 (compare_listener_corbaref, compare_corba_objects),
681 (compare_listener_quarks): define out.
682 (impl_accessibility_registry_deregister_global_event_listener):
683 re-write for effiency, and nail re-enterancy hazard.
684 (impl_accessibility_registry_get_desktop_list): impl.
685 (re_enterant_list_delete_link): impl.
686 (re_enterant_list_foreach): impl.
687 (remove_listener_cb): impl.
688 (_registry_notify_listeners): kill.
689 (notify_listeners_cb): impl.
691 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
692 (SPI_getDesktopList): impl.
694 * test/test-simple.c (test_desktop): test the methods.
696 2002-01-03 Michael Meeks <michael@ximian.com>
698 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
699 keystrings since we free them
700 (SPI_freeAccessibleKeySet): in here.
702 * libspi/accessible.c (spi_accessible_new): kill warning,
703 wonder what is going on with the constructor here.
705 2002-03-01 Bill Haneman <bill.haneman@sun.com>
707 * libspi/accessible.c (spi_accessible_new ()) :
708 Added check to see if AtkObject is an SpiRemoteObject before
709 creating an SpiAccessible.
711 2002-05-01 Bill Haneman <bill.haneman@sun.com>
713 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
714 Enable keygrabs using the Control modifier, now that they are
715 working properly (they were previously disabled).
718 Change the command keygrab for this demo to "Control+Alt", so as
719 to conflict with fewer other key commands on the system; this
720 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
722 Removed a pointlessly-chatty keylistener for unshifted keys
723 (shifted keys are still reported).
725 2002-02-01 Bill Haneman <bill.haneman@sun.com>
727 * libspi/remoteobject.h:
728 * libspi/remoteobject.c:
729 Added definitions for special AtkObject subtype, required for
730 support of remote components (specifically, used by BonoboControl
731 accessibility implementation).
733 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
735 * cspi/spi.h: synched relation types with ATK
737 * cspi/spi_accessible.c: Added implementations of
738 AcccessibleRelation_* methods
740 * idl/Accessibility_Relation.idl: added getRelationTypeName
741 method. Synched known relation types with ATK. Allowed for
742 relation type extension with the RELATION_EXTENDED type.
744 * libspi/relation.c: Provided implementations for
745 AccessibleRelation methods.
747 2002-01-01 Bill Haneman <bill.haneman@sun.com>
749 API tweaks for today's API 'freeze'.
752 Added placeholder functions to allow future compatible expansion
753 of the IDL interfaces.
755 * idl/Accessibility_Registry.idl:
756 Changed generateKeyEvent to generateKeyboardEvent. Changed
757 signature of this method to accept an optional keystring in
758 parameter (for complex text input synthesis) and changed use of
759 simple 'boolean' parameter in registerKeystrokeListener to a
760 struct, EventListenerMode.
762 * cspi/spi_accessible.c:
764 * cspi/spi_streamablecontent.c:
765 Added references to AccessibleStreamableContent interface, and
766 definition and implementation of AccessibleStreamableContent
769 * cspi/spi_registry.c:
771 Changed generateKeyEvent API to generateKeyboardEvent,
772 taking a new (optional) keystring parameter to support complex
777 Renamed directory (to better reflect its actual purpose, bridging
778 from at-spi to ATK). The .so module is also now named
781 * idl/Accessibility_Hypertext.idl:
782 * libspi/accessible.c:
783 * libspi/hypertext.h:
784 * libspi/hypertext.c:
785 Changed Accessibility_Hypertext to *not* derive from
788 * cspi/spi_registry.c:
789 Added list of legal event type names for 'window' events, which
790 completes the registry event API.
792 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
794 * at-bridge/bridge.c: Added registration for separate
795 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
796 signals. If either of the first two parameters to the generic
797 bridge signal handler are ints, they are passed on as event
798 details. This allows an AT to determine what text was inserted.
800 2001-12-21 Bill Haneman <bill.haneman@sun.com>
802 * registryd/deviceeventcontroller.c:
803 Fixed regressions in generateKeyEvent caused by the removal of
804 gdk_init from registryd; we now use pure X calls to connect to the
805 display, which makes sense because deviceeventcontroller already
806 uses a fair bit of X API (should eventually be migrated to a
807 'portability layer').
809 * registryd/desktop.c:
810 Fixed minor regression in spi_desktop_init, changed the way the
811 desktop name is being set to work with new spi_base API
812 (gobject-based, rather than AtkObject-based).
814 * registryd/Makefile.am:
815 Minor revision of makefile to use XTST_LIBS variable rather than
816 hard-wiring the Xtst LD_ADD element.
818 * test/keysynth-demo.c:
819 Tweaked an output message; added initialization of the
820 'keystrings' member of the "switch listener" key_set.
823 Squashed compile-time warning.
825 * libspi/accessible.c:
826 Cosmetic and formatting fixes, renamed a static method.
828 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
830 * libspi/accessible.c
832 * libspi/application.c
836 * libspi/editabletext.c
844 * registryd/desktop.c:
845 Changed SpiBase to contain a GObject pointer rather than an AtkObject
847 2001-12-17 Bill Haneman <bill.haneman@sun.com>
849 * idl/Accessibility_Registry.idl:
850 Added boolean member 'is_text' to DeviceEvent. This is for the
851 use of key events, and helps prevent ambiguity between composed
852 key strings and keysym names, since both may potentially be
853 returned in the 'event_string' member.
855 * at-bridge/bridge.c:
856 * registryd/deviceeventcontroller.c:
857 Use the 'is_text' member when notifying device event listeners.
858 Knon issue: composed characters are not dealt with correctly by
859 the global key listener implementation yet.
861 2001-12-17 Bill Haneman <bill.haneman@sun.com>
863 * at-bridge/bridge.c:
864 Namespaced local static methods to spi_atk_bridge_* where
865 previously named bridge_*, and spi_* elsewhere.
867 * at-bridge/bridge.c:
868 * cspi/bonobo/cspi-bonobo-listener.c:
869 Added demarshalling/conversion for string member of
870 Accessibility_DeviceEvent to AccessibleKeystroke.
872 * registryd/deviceeventcontroller.c:
873 Added code to fill the Accessibility_DeviceEvent key string value
874 member for global key events (i.e. from XGrabKey), to match
875 behavior of Accessibility_DeviceEvent from the toolkit key events
876 from the bridge. Fixed timestamp in global key event notifications.
879 Added printout of key event's string value to
880 report_ordinary_key_event, for demo/debugging purposes.
882 2001-12-15 Bill Haneman <bill.haneman@sun.com>
884 * idl/Accessibility_Registry.idl:
885 Removed Accessibility_KeyStroke structure in favor of generic
886 Accessibility_DeviceEvent structure.
887 Changed Accessibility_ControllerEventMask from a struct to an
890 * at-bridge/bridge.c:
891 Changed APIs to use DeviceEvent structure as above, and removed
892 bogus casting between these event structures.
894 * cspi/spi-listener.h:
895 Added keystring member of AccessibleKeystroke structure, to enable
896 matching on event "names" rather than only hardware codes and
900 Added keystrings member of AccessibleKeySet struct, to allow
901 matching on event names (as above).
902 Added declarations for SPI_createAccessibleKeySet and
903 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
904 event modmasks directly as unsigned ints rather than structs with
905 refcounts, in the DeviceEventController methods.
907 * cspi/spi_registry.c:
908 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
910 * cspi/spi-roletypes.h:
911 Added documentation of newly added SPI Roles.
913 * cspi/bonobo/cspi-bonobo-listener.c:
914 Changes in support of API changes above.
916 * libspi/accessible.c:
917 Converted APIs to use DeviceEvent structure (see IDL changes
920 * registryd/deviceeventcontroller.c:
921 Added DEControllerGrabMask structure to track keygrabs not only by
922 modmask but by keyset as well; this allows us to do "global"
923 (i.e. X) keygrabs on a per-key or keyset basis rather than always
924 grabbing on AnyKey and then filtering after-the-fact.
925 Bugfixes for event filtration mean that we don't get false matches
926 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
928 * registryd/deviceeventcontroller.c:
929 Namespaced a number of static methods to use spi_ prefix. Major
930 revision to internals of global (i.e. X) key grabs.
932 * registryd/deviceeventcontroller.h:
933 Removed keymask_list and added keygrabs_list to
934 SpiDeviceEventController struct.
937 Added use of SPI_createAccessibleKeySet API when creating a
938 listener for only one key. Attach a listener to "shift spacebar
939 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
940 X key event names to SPI key event names, so that listeners are
941 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
943 * test/keysynth-demo.c:
944 Changed (incorrect) use of X key event names (KeyPressed,
945 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
948 2001-12-12 Bill Haneman <bill.haneman@sun.com>
950 * libspi/accessible.c:
951 Convert all AtkRole enumerations to Accessibility_Role enums when
952 getting a role from an AtkObject.
954 * cspi/spi_accessible.c:
955 Complete the conversion of Accessibility_Role enums at runtime to
956 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
957 role enums correctly match those given in spi-roletypes.h.
958 Re-synchronize the local names list for AccessibleRole_getName ().
959 AccessibleRole_getName is now deprecated, since it duplicates the
960 more reliable Accessible_getRoleName.
961 Added some role types from Accessibility_Role.idl.
963 * idl/Accessibility_Role.idl:
964 Added some role types used by AtkRole.
966 2001-12-12 Bill Haneman <bill.haneman@sun.com>
969 * cspi/spi_registry.c:
971 * cspi/cspi-bonobo-listener.c:
972 Namespaced all methods that did not begin with an "SPI_" or
973 "Accessible" prefix to "SPI_".
976 Homogenized internal function namespace to "cspi_" for statics.
979 Patched tests to use the new CSPI API.
981 * docs/reference/cspi/at-spi-cspi-sections.txt:
982 Updated docs to reflect namespace changes, and added a number of
983 methods to the documentation.
985 * registryd/registry.c:
986 Changed use of strings and string hashes in listener event
987 matching and parse_event_string to use GQuark, which is guaranteed
990 * registryd/registry.h:
991 Squashed annoying warning.
993 * idl/Accessibility_Role.idl:
994 Extended range of available Accessibility_Role values.
996 * cspi/spi_accessible.c:
997 Re-ordered role names.
999 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1001 * idl/Accessibility_Value.idl:
1002 Revert use of union back to CORBA_double, since the double type is
1003 more efficient and can contain the other types without loss of
1006 * idl/Accessibility_Accessible.idl:
1007 Added method Accessibility:Accessible:getRoleName, to complement
1008 Accessibility:Accessible:getRole.
1010 * cspi/spi_accessible.c:
1012 Added C binding for above, Accessible_getRoleName (), and changed
1013 signature of Accessible_getRole () to return an AccessibleRole.
1015 * cspi/spi-roletypes.h:
1016 Changed AccessibleRole_getName to return a char * instead of a
1017 const char *. This method is now at least temporarily deprecated
1018 in favor of asking Accessibles for their RoleNames directly.
1021 Revert to match Accessibility_Value.idl;
1025 Change signature of AccessibleValue methods to use double rather
1029 * cspi/spi_accessible.c:
1030 Changed Accessible_getRole to return an AccessibleRole enum rather
1031 than a UTF-8 string. The UTF-8 string can still be obtained via
1032 AccessibleRole_getName ().
1034 * test/test-simple.c:
1035 Add test_action. Small fixup to match API change to Accessible_getRole.
1038 Bugfix for get_action_from_servant ().
1040 2001-12-11 Michael Meeks <michael@ximian.com>
1042 * libspi/libspi.h: remove registry.h and
1043 desktop.h, deviceeventcontroller.h
1045 * libspi/Makefile.am: remove registry.[ch],
1046 desktop.[ch], deviceeventcontroller.[ch]
1048 * registryd/Makefile.am: add registry.[ch],
1049 desktop.[ch], rename registryd.c to registry-main.c.
1050 add deviceeventcontroller.[ch]
1052 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1055 Replace setenv() call with putenv ().
1057 * libspi/component.c:
1058 Bugfix in AccessibleComponent_getExtents (),
1061 2001-12-11 Michael Meeks <michael@ximian.com>
1063 * libspi/image.c (impl_getImageExtents): impl.
1064 (spi_image_class_init): upd.
1067 (AccessibleImage_getImageDescription): fix daft bug
1070 * test/test-simple.c (global_listener_cb): update
1071 to only quit if not --poke
1072 (main): catch --poke.
1073 (validate_accessible): upd. dumping, call test_image
1076 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1079 * idl/Accessibility.idl: update all IDL includes.
1081 * idl/*.idl - rename to namespace - this sucks, blame
1082 mjs' bad decision for oafd.
1084 * test/test-simple.c (create_test_window): add more tests.
1085 (create_tree): split this out.
1086 (validate_accessible): bugfix.
1088 2001-12-11 Michael Meeks <michael@ximian.com>
1090 * cspi/bonobo/cspi-bonobo-listener.c:
1091 (cspi_kestroke_listener_unref),
1092 (cspi_event_listener_unref): impl. undoing previous
1093 homenous environment - for Bill.
1095 * cspi/spi_table.c (long_seq_to_array): use
1098 * cspi/spi_main.c: split out all bonoboish bits into
1101 * cspi/spi-impl.h: upd. typedefs.
1103 * cspi/spi_registry.c: update to lowlevel API,
1104 return booleans to indicate success in some places.
1106 * cspi/spi_event.c: update to lowlevel API.
1108 * cspi/bonobo/Makefile.am: add.
1110 * cspi/bonobo/cspi-lowlevel.h: add
1112 * cspi/bonobo/cspi-bonobo.c: add
1114 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1116 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1117 (SUBDIRS): add bonobo, link in the libs.
1119 * cspi/spi-util.c: kill this file.
1121 * TODO: merge in my bits.
1123 2001-12-11 Michael Meeks <michael@ximian.com>
1125 * test/test-simple.c (test_value, test_table, main):
1126 remove unused variables causing warnings.
1128 * configure.in: cleanup checks - require gail.
1130 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1133 Changed Value interface to use SValue (scalars) rather than
1134 assuming all values are floats. This allows floats, doubles,
1135 longs, shorts, and unsigned values to be manipulated.
1136 Introduced Accessibility:SValue union.
1139 Updated to use new API above, and to work correctly with GValues
1140 of different types in AtkValue.
1143 Updated to use new API above. cspi's API is as yet unchanged.
1146 Updated the Value revision action item.
1148 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1150 * test/test-simple.c:
1151 Added test_table (GtkTreeView widget in test window to follow).
1152 Un-commented test_value, added GtkRange widget.
1153 Added GtkTreeView widget with GtkListStore. It passes regression
1154 test but leaks one SPI object for some reason.
1157 Fixed bug in impl__set_currentValue.
1159 2001-12-10 Michael Meeks <michael@ximian.com>
1161 * cspi/spi_text.c: audit for exception handling,
1162 tolerating NULL object references safely etc.
1164 * cspi/spi_value.c: ditto.
1166 * cspi/spi_table.c (AccessibleTable_getSummary),
1167 (AccessibleTable_getAccessibleAt),
1168 (AccessibleTable_getRowHeader),
1169 (AccessibleTable_getColumnHeader),
1170 (AccessibleTable_getCaption): fix bugs hidden by
1172 (long_seq_to_array): impl.
1173 (AccessibleTable_getSelectedRows),
1174 (AccessibleTable_getSelectedColumns): use it.
1176 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1179 Added a TODO list (rough and short for now).
1181 * cspi/spi_hyperlink.c:
1182 * cspi/spi_hypertext.c:
1183 Fixed macro name typos, and remove use of obsolete macro in
1184 AccessibleHyperlink_getLink.
1186 * cspi/spi_action.c:
1187 * cspi/spi_accessible.c:
1188 * cspi/spi_application.c:
1189 * cspi/spi_component.c:
1190 * cspi/spi_selection.c:
1193 Documentation fixes (removed return values from ref/unref methods).
1195 2001-12-10 Michael Meeks <michael@ximian.com>
1197 * cspi/spi_action.c: audit for exception handling,
1198 tolerating NULL object references safely etc.
1200 * cspi/spi_accessible.c: ditto.
1202 * cspi/spi_component.c: ditto.
1204 * cspi/spi_editabletext.c: ditto.
1206 * cspi/spi_hyperlink.c: ditto.
1208 * cspi/spi_hypertext.c: ditto.
1210 * cspi/spi_image.c: ditto.
1212 * cspi/spi_selection.c: ditto.
1214 2001-12-10 Michael Meeks <michael@ximian.com>
1216 * configure.in: use cspi/libspi.pc.in instead.
1218 * Makefile.am (pkgconfig_DATA): upd. to match.
1220 * test/simple-at.c (report_focus_event): kill hacks around
1221 bad return values, use putenv not setenv
1223 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
1224 fire ChildGone - I killed it.
1226 * libspi/component.c
1227 (impl_accessibility_component_get_extents): remove
1230 * idl/Accessible.idl: kill ChildGone exception.
1232 * cspi/*.[ch]: kill int return from ref / unref.
1234 * cspi/spi_main.c (cspi_object_add_check): fold into
1235 (cspi_object_add): here.
1237 * cspi/spi_component.c (AccessibleComponent_getExtents):
1238 handle exceptions elegantly.
1240 * cspi/spi-private.h (cspi_check_ev_return),
1241 (cspi_return_if_fail): impl.
1243 * cspi/spi_accessible.c: use extensively.
1244 (AccessibleStateSet_equals): add direct compare check.
1246 * cspi/spi_selection.c: tolerate NULL objs, and check
1247 exceptions before return.
1249 * cspi/spi-util.c (cspi_warn_ev): rename to
1250 (cspi_check_ev): this & don't pass ev in; no point.
1252 2001-12-10 Michael Meeks <michael@ximian.com>
1254 * test/test-simple.c: use putenv not setenv
1255 (get_environment_vars): more chatty if you're not using
1258 * test/simple-at.c: do the setenv so more people see the
1261 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1263 * libspi/registry.c:
1264 Changed check of CORBA_environment on notification to be a warning
1265 instead of an error for the moment, since we can recover from this
1266 error when caused by a queued notification from a dead app.
1269 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
1270 used by all current implementors of AtkValue), and coerce to
1271 CORBA_float. (Proper general case fix may require change to Value.idl).
1273 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1277 * cspi/spi_accessible.c:
1278 Documentation fixes: added user_data params to documentation for
1279 listeners and callbacks.
1281 * cspi/spi_accessible.c:
1282 Changed AccessibleStateSet_compare to return a
1283 StateSet rather than return the difference set into a third parameter.
1286 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1289 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
1290 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
1294 Remove subdirectory po from SUBDIRS for now.
1296 * at-bridge/bridge.c:
1297 Beefed up a couple of debug printouts.
1298 One-line fix for signal notification name formatting.
1300 * libspi/accessible.c:
1301 Added assertion to spi_accessible_new ().
1303 * libspi/application.c:
1304 Put #ifdef qualifiers around a printf.
1307 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
1309 * registryd/Makefile.am:
1311 Replaces use of XML_I18N_MERGE_SERVER_RULE with
1312 INTLTOOL_SERVER_RULE macro.
1315 Added an event listener for several ATK signals, for
1316 testing and debugging. Removed a few g_warnings.
1317 Added test output if focussed item implements the Value interface.
1319 * test/test-simple.c:
1320 Added test_value () function (known not to pass at the moment, so
1321 not actually called yet.
1323 2001-12-08 Michael Meeks <michael@ximian.com>
1325 * at-bridge/bridge.c (bridge_focus_tracker),
1326 (emit_eventv): fix the same ref. leak.
1327 (register_atk_event_listeners): don't leak.
1329 * cspi/spi-listener-impl.c (cspi_event): more
1330 protection from client code.
1332 * test/test-simple.c (test_desktop): unref the app.
1334 * test/Makefile.am: upd. TESTS.
1336 * at-bridge/bridge.c (bridge_exit_func): release the registry.
1338 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
1340 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
1342 * cspi/spi_registry.c: constify in strings.
1343 (deregisterGlobalEventListenerAll): don't release the ref.
1345 * cspi/spi.h: start removing redundant / conflicting
1346 gtkdoc comments, making the API readable at a glance :-)
1348 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
1350 * test/keysynth-demo.c (keysynth_exit, main): upd.
1352 * test/simple-at.c (main, simple_at_exit): upd.
1354 * test/test-simple.c (unutterable_horror): kill.
1355 (utterable_normal_derefs): kill.
1356 (main): upd & do a setenv before gtk_init, so that we
1357 can use memprof - and to save the pain of remembering
1358 this, if we're running under memprof - don't exit.
1360 * cspi/spi_main.c (SPI_exit): return exit status
1362 (SPI_event_quit): impl.
1363 (SPI_event_main): simplify.
1364 (cspi_is_gnome_app): kill.
1365 (SPI_init): kill isGNOMEapp arg.
1367 * at-bridge/bridge.c (register_atk_event_listeners):
1368 re-instate the unref.
1369 (bridge_exit_func): don't re-activate the registry,
1370 protect vs. theoretical re-entry, use the
1371 AT_BRIDGE_SHUTDOWN env. var to determine whether to
1372 assert a clean shutdown - for regression tests.
1374 2001-12-08 Abel Cheung <maddog@linux.org.hk>
1376 * configure.in: Comment out dummy i18n support for now,
1377 otherwise it fails to build.
1378 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
1379 EXTRA_DIST. They are missing in tarball.
1381 2001-12-07 Michael Meeks <michael@ximian.com>
1383 * util/magnifier.c: kill bonobo activation reg. race.
1385 * libspi/component.c
1386 (impl_accessibility_component_get_extents): make it match
1389 * libspi/registry.c (_registry_notify_listeners):
1390 re-remove X headers & reconcile conflicts.
1391 (spi_listener_struct_free): bad conflict resolve.
1392 (impl_accessibility_registry_register_application):
1393 more bad merging fixed.
1394 (impl_accessibility_registry_deregister_application): ditto.
1395 (spi_registry_new): ditto.
1396 (spi_registry_init): don't have an applications field.
1398 [ merge fixups2 branch to here ]
1399 2001-12-07 Michael Meeks <michael@ximian.com>
1401 * test/simple-at.c (report_focus_event),
1402 (report_focussed_accessible): remove g_warning debug.
1404 2001-12-07 Michael Meeks <michael@ximian.com>
1406 * test/test-simple.c (validate_tree): comment out some checks.
1407 (test_desktop): app now not registered idly - horay.
1409 2001-12-07 Michael Meeks <michael@ximian.com>
1411 * cspi/spi_registry.c
1412 (registerAccessibleKeystrokeListener): clean, stop it leaking
1413 great swathes of memory, and device event controller references.
1414 ensure we always pass valid sequences.
1415 (deregisterAccessibleKeystrokeListener): ditto.
1416 (generateKeyEvent): upd.
1418 * at-bridge/bridge.c (bridge_key_listener): handle
1419 registry dead exception gracefully.
1420 (bridge_focus_tracker, emit_eventv): free ev.
1422 * test/simple-at.c (report_focus_event): fix polarity.
1424 * libspi/application.c (notify_listeners): kill the ev
1425 argument, and make sure we init the ev we use.
1426 (spi_application_object_event_listener): split out a chunk
1427 (get_atk_object_ref): here & fixup.
1428 (reverse_lookup_name_for_toolkit_event): make const.
1429 (spi_application_toolkit_event_listener): fixup, kill leaks
1432 * at-bridge/bridge.c (register_atk_event_listeners):
1433 don't unref the noop object - causes grief.
1435 * libspi/registry.c: remove the X headers.
1436 turn off the debug churn.
1438 * libspi/accessible.c (spi_accessible_new_return): only
1439 release the ref if we are supposed to [doh]
1441 * test/simple-at.c (report_button_press, report_focus_event):
1442 guard vs. unexpected exit.
1444 * at-bridge/bridge.c (gtk_module_init): prune printf.
1445 (bridge_exit_func): fix app unref.
1447 * libspi/Makefile.am: don't install registry or desktop.h
1449 * libspi/*.h: update includes.
1451 * libspi/application.h: don't include ourself, or
1452 other redundant headers.
1454 2001-12-06 Michael Meeks <michael@ximian.com>
1456 * libspi/accessible.c
1457 (get_accessible_from_servant): impl.
1458 Upd. all CORBA impl.s to use it killing cut and paste.
1460 * cspi/spi_main.c (cspi_cleanup): guard vs. double
1462 (SPI_init): register atexit cleanup handler here.
1464 2001-12-06 Michael Meeks <michael@ximian.com>
1466 * at-bridge/bridge.c (gtk_module_init): g_error on
1467 activation exception
1469 2001-12-06 Michael Meeks <michael@ximian.com>
1471 * at-bridge/bridge.c (gtk_module_init): some sort of
1472 confusing merge clash - reverted.
1473 (bridge_idle_init): ditto.
1475 * test/test-simple.c (main, utterable_normal_derefs):
1476 merge from Bill - somehow not committed.
1478 2001-12-06 Michael Meeks <michael@ximian.com>
1480 * libspi/value.c (spi_value_class_init): upd.
1481 (spi_value_finalize): kill.
1483 * libspi/table.c (spi_table_finalize): kill.
1484 (spi_table_interface_new): upd.
1485 (spi_table_class_init): upd.
1486 (get_table_from_servant): impl.
1487 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1489 * libspi/selection.c (spi_selection_finalize): kill.
1490 (spi_selection_interface_new): upd.
1491 (spi_selection_class_init): upd.
1492 (get_selection_from_servant): impl.
1493 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1495 * libspi/relation.c (spi_relation_finalize): kill.
1496 (spi_relation_class_init, spi_relation_new): upd
1498 * libspi/image.c (spi_image_finalize): kill.
1499 (spi_image_class_init): upd.
1500 (spi_image_interface_new): upd.
1501 (get_image_from_servant): impl.
1502 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1504 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
1505 (spi_hyperlink_finalize): kill.
1506 (spi_hyperlink_new): upd.
1507 (get_hyperlink_from_servant): impl.
1508 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1510 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
1511 (spi_hypertext_finalize): kill.
1512 (spi_hypertext_class_init): upd.
1513 (get_hypertext_from_servant): impl.
1514 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1516 * libspi/editabletext.c (spi_editable_text_finalize): kill.
1517 (spi_editable_text_interface_new): upd.
1518 (get_editable_text_from_servant): impl.
1519 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1521 * libspi/text.c (get_text_from_servant): impl.
1522 All impls - update to use it killing more cut and paste,
1523 also fix bad string returns on duff args ( a somewhat
1524 impossible case to handle - but hey ).
1525 (spi_text_construct): impl.
1526 (spi_text_interface_new): upd.
1527 (spi_text_object_finalize): kill.
1529 * libspi/component.c
1530 (accessibility_component_object_finalize): kill.
1531 (spi_component_class_init): upd.
1532 (get_component_from_servant): impl. helper to kill cut & paste.
1533 (impl_accessibility_component_contains):
1534 (impl_accessibility_component_get_accessible_at_point):
1535 (impl_accessibility_component_get_position):
1536 (impl_accessibility_component_get_extents):
1537 (impl_accessibility_component_get_mdi_z_order):
1538 (impl_accessibility_component_get_layer):
1539 (spi_component_interface_new): upd.
1541 * libspi/action.c (spi_action_finalize): kill.
1542 (spi_action_class_init): upd. inherit from SpiObject.
1543 (spi_action_interface_new): upd.
1544 (get_action_from_servant): impl. helper to reduce cut & paste.
1545 (impl_getKeyBinding, impl_getName, impl_doAction),
1546 (impl_getDescription): Use it everywhere.
1548 * cspi/spi_main.c (get_live_refs): a pointer hash.
1549 (spi_object_hash, spi_object_equal): comment out.
1550 There are issues with CORBA object hashing that need
1553 * libspi/application.c (spi_application_init),
1554 (spi_application_new): upd.
1556 * libspi/accessible.c (spi_accessible_object_finalize): kill.
1557 (spi_accessible_class_init): upd.
1558 s/accessible/object/ in epv methods.
1560 2001-12-05 Bill Haneman <bill.haneman@sun.com>
1562 * at-bridge/bridge.c:
1563 Reorder the bridge initialization into the bridge gtk_module_init,
1564 an immediate call to bridge_register_app, and an idle_add for
1565 register_atk_event_listeners (the only code that *must* wait until
1566 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
1567 the activation, creates the application's Accessible object, and
1568 queues the bridge_idle_init function. Restored call to
1569 Accessibility_Registry_deregisterApplication().
1570 Prior to making this call we obtain a new reference to the
1571 registry, which is a temporary hack that helps us handle apps that
1572 shut down the bonobo mainloop before we get there.
1574 * libspi/registry.c:
1575 Fix string leakage in debug block, and don't segv if a an app
1576 dies before its event notifications have been propagated.
1579 Modify cspi_check_ev() to call g_warning() rather than g_error(),
1580 as stopgap measure until we get proper exception handling when
1581 objects die during or before interrogation.
1585 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
1586 Also changed default value of is_gnome_app to TRUE.
1589 * test/keysynth-demo.c:
1590 Changed use of SPI_init and SPI_event_main to reflect API change above.
1593 Made report_focus_event check the warning value from getName
1594 before reporting on focussed accessible; simplifies handling of
1595 notifications from dead objects.
1597 * test/test-simple.c: (Changes not in this patch since source is
1600 2001-12-05 Michael Meeks <michael@ximian.com>
1602 * registryd/registryd.c (main): protect against
1603 bonobo-activation startup race condition.
1605 * cspi/spi_main.c (cspi_object_add_check): cope
1606 with the exception elegantly.
1608 * idl/Accessible.idl: decl. ChildGone
1610 * libspi/desktop.c (spi_desktop_dispose): impl.
1611 (spi_desktop_class_init): upd.
1612 (spi_desktop_add_application),
1613 (spi_desktop_remove_application),
1614 (abnormal_application_termination): impl.
1615 (impl_desktop_get_child_at_index): re-impl.
1618 (impl_accessibility_registry_deregister_application),
1619 (impl_accessibility_registry_register_application):
1620 kill excessive debug clutter.
1622 * test/test-simple.c (test_misc): test some NULL
1623 tolerance. (main): upd.
1625 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
1626 implements no interfaces - so let's not crash.
1628 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
1630 * libspi/accessible.c (spi_accessible_new_return): impl.
1631 helper to calm the cut and paste, to cope with
1632 NULL AtkObjects effectively and efficiently, and to kill
1633 the referencing bugs.
1635 * libspi/table.c (impl_getAccessibleAt),
1636 (impl_getRowHeader, impl_getColumnHeader): upd.
1638 * libspi/hyperlink.c (impl_getObject): upd.
1640 * libspi/accessible.c
1641 (impl_accessibility_accessible_get_child_at_index): upd.
1643 * libspi/component.c
1644 (impl_accessibility_component_get_accessible_at_point): upd.
1646 * test/test-simple.c (test_editable_text, test_text): impl.
1649 * cspi/spi_editabletext.c
1650 (AccessibleEditableText_insertText): constify.
1652 * test/test-simple.c (focus_me): make more robust.
1654 * libspi/accessible.c: remove some printfs in methods that
1655 we test and work fine, so we can get a clean tree dump.
1657 * test/test-simple.c (validate_accessible),
1658 (validate_tree): make tree dumping pretty too.
1660 * at-bridge/bridge.c (bridge_signal_listener): upd. so
1661 it builds without debug on.
1663 * test/test-simple.c (validate_accessible): fix the most
1666 * cspi/spi_main.c (spi_object_release): leave the nicely
1667 blanked memory around if in debug mode.
1669 * cspi/spi-listener-impl.c (cspi_event): use add_check.
1671 [committed to fixups2]
1672 2001-12-05 Michael Meeks <michael@ximian.com>
1674 * libspi/editabletext.c
1675 (spi_editable_text_class_init): g_type_class_peek_parent,
1676 not interface peek - so we finalize cleanly.
1678 * libspi/accessible.c (spi_accessible_new): kill debug.
1680 * test/test-simple.c (validate_accessible): fix ref.
1681 leak, print strings before freeing them; sigh, comment a
1682 chunk out due to strangeness.
1683 (validate_tree): unref the child after use.
1685 * cspi/spi_component.c (AccessibleComponent_getLayer):
1686 add missing break statement, switch on zlayer not the
1687 uninitialized retval.
1689 * cspi/spi_main.c (cspi_object_add): add assert, local ref
1690 before (possibly re-entering) remote unref.
1692 * test/simple-at.c (main): unref the desktop.
1694 * cspi/spi_accessible.c (cspi_accessible_is_a): move
1697 * cspi/spi_main.c (cspi_accessible_is_a): here to
1698 isolate bonobo API usage more.
1700 * libspi/registry.c (impl_accessibility_registry_register_application):
1701 prune bogus comment.
1703 2001-12-04 Michael Meeks <michael@ximian.com>
1705 * test/test-simple.c (validate_tree): upd.
1706 IndexInParent check to make it more lucid.
1707 (validate_accessible): dump the tree.
1709 * libspi/accessible.c (de_register_public_ref),
1710 (get_public_refs): impl.
1711 (spi_accessible_new): make more efficient & intuitive.
1712 Now IndexInParent check works.
1714 2001-12-04 Michael Meeks <michael@ximian.com>
1716 * cspi/spi-util.h: remove.
1718 * cspi/spi.h: move SPI_freeString here
1720 * libspi/component.c (impl_accessibility_component_get_layer):
1722 (impl_accessibility_component_get_mdi_z_order): ditto,
1723 return -1 on error - is this ok ?
1725 * test/test-simple.c (test_application): impl.
1727 * cspi/spi_accessible.c (Accessible_getApplication),
1728 (Accessible_isApplication): impl.
1730 * libspi/registry.c (spi_listener_struct_free): release
1731 the CORBA reference too.
1733 * libspi/accessible.c
1734 (impl_accessibility_accessible_get_parent): fix ref leak.
1736 * libspi/registry.c (spi_registry_new): make the registry
1737 immortal - we don't want it to go away ever.
1739 * libspi/application.c
1740 (spi_accessible_application_finalize): impl. cleanup.
1742 * cspi/spi_registry.c
1743 (deregisterGlobalEventListenerAll),
1744 (deregisterGlobalEventListener),
1745 (deregisterAccessibleKeystrokeListener): fix ref leak.
1747 * cspi/spi_main.c (SPI_init): remove redundant ref.
1749 * test/test-simple.c (unutterable_horror): impl. to force a
1754 (impl_accessibility_registry_deregister_application): release
1755 the application when we de-register it.
1757 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1758 until we have the infastructure to get it right.
1760 2001-12-03 Michael Meeks <michael@ximian.com>
1762 * libspi/Makefile.am: only build eventlistener.[ch]
1764 * libspi/accessible.c
1765 (impl_accessibility_accessible_get_child_at_index): don't leak.
1767 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1768 before we hit the idle handler.
1770 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1771 debugging than exit.
1773 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1775 * libspi/listener.c (impl_notify_event): check source
1776 not NIL before unref.
1778 * libspi/registry.c (impl_registry_notify_event): ditto.
1780 * libspi/eventlistener.c
1781 (impl_accessible_event_notify_event): unref the source.
1783 * libspi/accessibleeventlistener.c
1784 (impl_accessible_event_notify_event): unref the source.
1786 * idl/Event.idl: remove 'hash_id' attribute - of no
1789 * libspi/application.c (notify_listeners): upd list
1791 (spi_application_object_event_listener),
1792 (spi_application_toolkit_event_listener): upd to do correct
1796 (_registry_notify_listeners): update.
1797 (parse_event_type): this method also leaks like a sieve.
1798 (impl_accessibility_registry_deregister_global_event_listener):
1799 fix ETYPE_WINDOW case.
1801 * libspi/application.c
1802 (impl_accessibility_application_register_object_event_listener):
1805 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1807 * libspi/hypertext.c (impl_getLink): ditto.
1809 * cspi/spi_main.c (cspi_object_add): remove
1810 bogus CORBA_Object_duplicate.
1812 * cspi/spi-listener-impl.c (cspi_event): dup/ref
1815 * cspi/spi_accessible.c
1816 (Accessible_getRelationSet): fix leak / referencing issue.
1818 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1819 (cspi_object_add, cspi_object_unref): upd.
1820 (spi_object_release, get_live_refs): impl.
1821 (cspi_cleanup): simplify.
1823 * *.[ch]: s/boolean/SpiBoolean/
1825 * cspi/spi_accessible.c (role_names): actualy order so it
1826 corresponds with the enum !
1828 * test/test-simple.c (test_roles): check some role strings
1829 vs. enums to detect offset errors.
1831 2001-12-01 Michael Meeks <michael@ximian.com>
1833 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1835 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1837 (Accessible_getChildAtIndex): use cspi_add_check so we
1838 check the ev before using a (possibly) invalid value.
1840 * libspi/accessible.c
1841 (impl_accessibility_accessible_get_parent): don't segv
1844 * at-bridge/bridge.c (gtk_module_init): upd.
1845 (bridge_property_event_listener): don't leak strings
1847 (bridge_state_event_listener),
1848 (bridge_property_event_listener): don't use a static
1849 buffer in case of recursive event emission &
1850 re-enterancy - split out the swathe of cut and paste
1852 (emit_eventv): and fix 2 ref leaks here & comply to the
1854 (bridge_register_app): rename to
1855 (bridge_idle_init): this and kill arg parsing, split
1856 various inits & bonobo-activation registration to module
1857 init time, kill referencing error.
1858 (bridge_exit_func): fix the same leak.
1859 (bridge_focus_tracker): don't leak event structures
1861 (bridge_signal_listener): more leakage and cut & paste
1863 (bridge_key_listener): return the result - FIXME is
1864 this polarity correct ?
1865 (accessibility_keystroke_from_atk_key_event): rename
1866 (accessibility_init_keystroke_from_atk_key_event): and stop
1868 (gtk_module_init): return a value - not that it is checked by
1870 (bridge_key_listener): register my horror at casting between
1871 IDL defined structs.
1872 (bridge_get_registry): kill - not used.
1874 * cspi/spi_accessible.c (Accessible_getRole): make return const.
1876 * test/test-simple.c (test_roles): impl.
1877 (test_desktop, validate_accessible, validate_tree): impl.
1879 * cspi/spi_accessible.c (role_names): fixup bogus
1880 MAX_ROLES setup, make constants const for efficient linkage
1881 (AccessibleRole_getName): conform to coding style, make
1884 2001-11-30 Michael Meeks <michael@ximian.com>
1886 * cspi/spi.h: add missing prototype.
1888 * libspi/registry.c (spi_listener_struct_new): fix sig.
1890 * test/Makefile.am: add test-simple
1892 * test/test-simple.c: add
1894 * test/test.sh: add.
1896 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1898 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1899 do it straight - since otherwise we often get an activation race.
1901 [ work before Bill duplicated a chunk of it ... ]
1902 2001-11-30 Michael Meeks <michael@ximian.com>
1904 * libspi/keystrokelistener.c
1905 (spi_keystroke_listener_class_init): fixup arg
1908 * libspi/eventlistener.c
1909 (spi_event_listener_class_init): ditto.
1911 * tests/test.sh: add.
1913 * cspi/spi-listener-impl.h: update macros.
1915 * cspi/spi-listener-impl.c
1916 (cspi_event_listener_remove_callback): add
1917 correct pre-conditions.
1919 * cspi/spi_main.c (SPI_exit): guard vs. double
1920 exits, exit the mainloop nicely.
1921 (SPI_event_main): make more sense.
1922 (SPI_init): move the atexit evilness here so we
1923 always do it (yuck).
1924 (SPI_event_main): upd.
1926 * test/simple-at.c: update for listener changes.
1928 * registryd/registryd.c (main): prune kruft.
1930 * libspi/libspi.h: upd.
1932 * libspi/eventlistener.[ch]: rename broken macros.
1934 * libspi/accessibleeventlistener.[ch]: remove.
1936 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
1938 * test/test-simple.c: Add - automated tests.
1940 * cspi/spi-listener-impl.c (cspi_event),
1941 (cspi_key_event): add user_data to invoke.
1942 (cspi_keystroke_listener_finalize): impl.
1943 (cspi_keystroke_listener_class_init): upd.
1946 (createAccessibleEventListener),
1947 (AccessibleEventListener_addCallback),
1948 (createAccessibleKeystrokeListener),
1949 (AccessibleKeystrokeListener_addCallback): upd.
1951 * libspi/deviceeventcontroller.c
1952 (spi_device_event_controller_check_key_event): add public proto.
1955 (impl_accessibility_registry_deregister_global_event_listener):
1956 always init listeners.
1957 (_registry_notify_listeners): yes it is.
1959 * cspi/spi-listener-impl.c (cspi_key_event):
1961 (cspi_event_listener_finalize): impl.
1962 (cspi_event_listener_class_init): hook up.
1963 (event_handler_new, event_handler_free),
1964 (event_list_remove_by_callback): impl.
1965 (cspi_event_listener_remove_callback),
1966 (cspi_keystroke_listener_remove_callback),
1967 (cspi_keystroke_listener_add_callback),
1968 (cspi_event_listener_add_callback): upd.
1970 * libspi/keystrokelistener.c
1971 (keystroke_listener_object_finalize): kill
1972 (spi_keystroke_listener_class_init): upd.
1973 (spi_keystroke_listener_add_callback),
1974 (spi_keystroke_listener_remove_callback): kill,
1976 (impl_key_event): prune drasticaly.
1978 * libspi/eventlistener.c
1979 (spi_event_listener_add_callback),
1980 (spi_event_listener_remove_callback): kill, use
1982 (impl_accessible_event_notify_event): upd.
1983 (spi_event_listener_object_finalize): remove.
1985 * libspi/Makefile.am: use eventlistener.[ch]
1987 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1989 * libspi/registry.c (_registry_notify_listeners):
1990 Changed listener loop iteration to use preferred convention.
1991 Got rid of string memory leaks caused be calling g_strconcat
1992 inside function calls.
1994 * libspi/registry.c (parse_event_type):
1995 Stopped g_strconcat memory leaks, free the g_strsplit return,
1996 g_strdup the split pieces when used, etc.
1998 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2001 Change method 'compare' to return a 'difference set' rather than
2002 taking a StateSet as an out parameter (more Java-friendly).
2004 * idl/Accessible.idl:
2005 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2007 * idl/Component.idl:
2009 Changed methods 'getExtents' and 'getImageExtents' in these
2010 interfaces to return a BoundingBox structure.
2011 (getPosition and getSize are redundant and possibly should be
2012 removed, rather than creating a corresponding Point struct.)
2014 * cspi/spi_component.c:
2015 Modify implementation of getExtents to reflect the above IDL
2020 Add (missing) AccessibleImage_getExtents () API.
2022 * docs/reference/cspi/at-spi-cspi-sections.txt:
2023 Added AccessibleImage_getImageExtents () to docs.
2025 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2027 * idl/Component.idl:
2028 Added two methods, getLayer () and getMDIZOrder (), to reflect
2029 the new ATK methods atk_object_get_layer and
2030 atk_object_get_mdi_z_order. (Which arguably should be part of the
2031 AtkComponent API and AtkObject). Also added an enum,
2032 ComponentLayer, for the first method's return value.
2034 * libspi/component.c:
2035 Added implementations for these methods.
2037 * cspi/spi_component.c:
2039 Added cspi binding methods for above,
2040 AccessibleComponent_getLayer() and
2041 AccessibleComponent_getMDIZOrder().
2042 Added cspi enum 'AccessibleComponentLayer'.
2044 * docs/reference/cspi/at-spi-cspi-sections.txt:
2045 Added above methods to docs.
2049 Changed typedef for 'boolean' type (and all references to it) to
2050 SPIBoolean, to avoid keyword clashes with C++.
2053 Changed usages of 'boolean' to SPIBoolean.
2055 * test/keysynth-demo.c:
2056 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2057 app), except where SPIBoolean is required by the callbacks API.
2059 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2061 * cspi/spi_registry.c:
2062 Removed obsolete X event loop for passive keygrabs (which now
2065 * registryd/registryd.c:
2066 Removed unnecessary call to gdk_init() [cruft]. This also allows
2067 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2070 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2072 * docs/reference/cspi:
2073 Included docs for SPI_freeString in generated documentation.
2076 Renamed spi_freeString to SPI_freeString, for consistency. Added
2077 documentation for this function.
2080 Renamed spi_freeString to SPI_freeString, for consistency.
2081 Removed obsolete method declaration string_from_corba_string.
2083 * test/keysynth-demo.c:
2084 Small tweak to comments.
2087 Stopped leaking the strings returned from CSPI.
2089 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2091 Merged Michael's branch (see his ChangeLog entries below).
2093 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2094 bridge is alive, release on exit.
2096 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2097 Fix type check macro.
2100 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2103 Added is_gnome_app static, and method cspi_is_gnome_app(),
2104 so we can call the appropriate shutdown routine at exit in SPI_exit.
2106 * cspi/spi_main.c (cspi_object_ref):
2107 Duplicate the corba object passed in, since we're keeping it around.
2109 * cspi/SPI_exit.c, cspi_cleanup:
2110 Moved the releasing of the live refs to its own function, so we
2111 can put it in g_atexit (). Call the appropriate shutdown API
2112 depending on whethe calling client is a gnome app or not
2113 (bonobo_main_quit or CORBA_ORB_shutdown).
2115 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2116 Unref the listener when this method is called, after
2117 deregistration. Updated the API docs to note this behavior.
2119 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2120 Bugfixes: Ref the bonobo object when returning a parent or child
2121 reference, or an AccessibleRelation. Generally made sure
2122 BonoboObject refcount is incremented whenever we return an
2125 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2126 Fixed typo/bug in signal declaration.
2128 * libspi/accessibleeventlistener.h:
2131 * libspi/application.c (spi_application_new):
2132 Fixed leak in initialization.
2135 Remembered to increment bonobo-object refcount when returning
2136 children (applications) from desktop object.
2137 Added (empty) finalize method.
2139 * libspi/deviceeventcontroller.c:
2140 Hold a ref to listeners inside DEControllerKeyListeners.
2141 Added dec_key_listener_free() method. Use prepend instead of
2142 append in key_listener list. Fixed some refcount madness and
2143 leaks in the listener registration/deregistration - deregistration
2144 now calls dec_key_listener_free() on listeners, and on the
2145 temporarily constructed dec_key_listener() used to perform the search/match.
2147 * libspi/hypertext.c (spi_hypertest_finalize):
2148 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2149 class. Also fixed spi_hypertext_interface_new() and
2150 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2152 * libspi/hypertext.h:
2153 Removed pointless and duplicate AtkObject pointer from
2156 * libspi/keystrokelistener.c:
2157 Fixed incorrect type of keystroke_listener_parent_class,
2158 renamed keystroke_listener_object_finalize to
2159 spi_keystroke_listener_object_finalize.
2160 Fixed typo in signal declaration
2161 (spi_keystroke_listener_class_init).
2163 * libspi/registry.c:
2164 Added funcsions spi_listener_struct_new() and
2165 spi_listener_struct_free() to help with memory management issues.
2166 We also now use these methods instead of gnew + poking stuff into
2167 the struct, and to decrement listener counts/free the listeners
2168 when deregistering them.
2169 Fix more refcount bugs in getDesktop() and
2170 getDeviceEventController().
2173 De-ref the desktop after enumerating the applications. Explicitly
2174 decrement the refcounts on the created listeners on exit (using
2175 _unref for keystroke listeners, and via the
2176 deregisterGlobalEventListenerAll command for other event
2179 2001-11-27 Michael Meeks <michael@ximian.com>
2181 * cspi/spi-listener.h: fixup enum.
2183 2001-11-27 Michael Meeks <michael@ximian.com>
2185 * cspi/spi-listener-impl.c (cspi_event_listener_new),
2186 (cspi_keystroke_listener_new): Use the cspi variants.
2188 2001-11-26 Michael Meeks <michael@ximian.com>
2190 * test/keysynth-demo.c: fix 2 compile warnings, missing
2193 * test/simple-at.c (report_focussed_accessible),
2194 (report_focus_event, report_button_press),
2195 (check_property_change, is_command_key),
2196 (report_ordinary_key_event, report_command_key_event): upd.
2198 * util/mag_client.h: include pre-requisites.
2200 * libspi/accessibleeventlistener.c
2201 (spi_event_listener_object_finalize): free any lingering
2204 * libspi/keystrokelistener.c
2205 (keystroke_listener_object_finalize): ditto.
2207 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
2208 callbacks, with cspi types.
2210 * cspi/spi_event.c (createAccessibleEventListener): chain to
2211 (AccessibleEventListener_addCallback): here.
2212 (createAccessibleKeystrokeListener): chain to
2213 (AccessibleKeystrokeListener_addCallback): here.
2215 * libspi/keystrokelistener.c
2216 (spi_keystroke_listener_class_init): add signal.
2217 (impl_key_event): emit the event.
2218 (boolean_handled_accumulator): impl.
2219 (marshal_BOOLEAN__POINTER): add, gack.
2221 * libspi/accessibleeventlistener.c
2222 (spi_event_listener_class_init): add signal.
2223 (impl_accessible_event_notify_event): emit the signal &
2224 make the loop efficient.
2225 (spi_event_listener_add_callback): prepend the callback.
2227 * libspi/accessibleeventlistener.h: add an 'event' signal,
2228 decl type on callback.
2230 * libspi/keystrokelistener.h: ditto.
2232 * cspi/spi-listener.h: make methods typesafe and
2233 make them use the new event typedefs.
2235 * test/simple-at.c (report_focussed_accessible):
2236 include mag_client.h
2237 Use *(void *)text_interface not the other thing.
2239 * configure.in: add gtk to registryd bits - since we use
2242 * util/magnifier.c: include libbonobo.h
2244 2001-11-25 Bill Haneman <bill.haneman@sun.com>
2246 * test/keysynth-demo.c:
2247 Turned this into a simple scanning keyboard, to demonstrate the
2248 use of g_timeout_add () as a means of creating timers for
2249 scanning, and the use of GtkStyle for visually indicating when
2250 virtual keyboard elements are selected.
2252 keysynth-demo now listens to any keyboard keys with zero-valued
2253 keycodes (i.e. 'unused' keys) and interprets them as
2256 Reworked the shiftlatch code so that shift-down state isn't held
2257 for long periods (it's only synthesized immediately prior to
2258 the keysynth event it's modifying). Note that shiftlatch in this
2259 demo is a convenience, not intended to take the place of AccessX
2260 which is the better choice for getting 'sticky' modifier keys.
2262 * libspi/deviceeventcontroller.c:
2263 * at-bridge/bridge.c:
2264 * cspi/spi_registry.c:
2265 Removed some debug print stuff, and put other verbosity in #ifdef
2270 Implemented some more of the magnifier IDL for the simple
2271 magnifier: namely, getZoomRegionParams.
2272 Added mag_x and mag_y members to MagnifierData struct, aid of this
2274 Added GtkWindow::realize signal handler to magnifier, to keep it
2275 from receiving keyboard focus from the WM.
2277 2001-11-23 Mark McLoughlin <mark@skynet.ie>
2279 * cspi/spi-private.h: my guess at what michael forgot
2280 before he ran off to NZ :-)
2282 2001-11-23 Michael Meeks <michael@ximian.com>
2284 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
2285 comment out non existant method invoke so we link.
2287 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
2288 use bonobo_exception_get_text for more friendly warnings.
2290 * cspi/spi.c (Obj_Add): move into spi_main & rename
2291 spi_object_add; kill spi.c
2293 * cspi/spi_registry.c
2294 (deregisterGlobalEventListener),
2295 (deregisterGlobalEventListenerAll),
2296 (registerGlobalEventListener): fix exception leaks.
2298 * cspi/spi_main.c (spi_exception): impl. helper, so we
2299 don't leak exceptions.
2301 * cspi/spi_selection.c
2302 (AccessibleSelection_deselectSelectedChild): return the
2305 * cspi/spi_main.c (spi_ev): impl; hack - gack.
2306 (spi_registry): ditto.
2307 (SPI_init): guard against double inits.
2309 * cspi/*.c: use spi_ev (), and spi_registry () where
2310 appropriate - a temporary hack until we have something
2311 better. Use spi_object_add
2313 2001-11-22 Michael Meeks <michael@ximian.com>
2315 * cspi/Makefile.am: re organise, install the headers.
2317 * cspi/*.h: add G_BEGIN/END_DECLS
2319 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2322 Added non-preemptive keylistener for key events with no modifiers
2323 and shift-only modifier.
2325 * libspi/keystrokelistener.c:
2326 Removed some verbose diagnostics printout.
2328 * cspi/spi_registry.c:
2329 Fixed a bug that caused all key listeners to be registered as
2332 * libspi/deviceeventcontroller.c:
2333 Fixed bug that caused XGrabKey (preemptive key grab) to be called
2334 for non-preemptive key masks.
2337 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2339 * docs/reference/idl/at-spi-idl-docs.sgml:
2340 * docs/reference/idl/at-spi-idl-sections.txt:
2341 * docs/reference/idl/at-spi-idl-overrides.txt:
2342 Added missing files.
2344 * docs/reference/Makefile.am:
2345 removed idl from SUBDIRS until we can figure a way to get gtk-doc
2346 to scan the IDL files :-(
2351 Added .cvsignore files.
2353 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2355 * libspi/deviceeventcontroller.c:
2356 * libspi/keystrokelistener.c:
2358 * cspi/spi_registry.c:
2359 Added filters for KeySets, KeyEventSeq, and event types to key
2360 event dispatching, so listeners should only receive those events
2361 that they requested :-)
2363 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2368 * docs/reference:Makefile.am:
2369 * docs/reference/cspi:
2370 * docs/reference/cspi:Makefile.am:
2371 * docs/reference/cspi:tmpl:
2372 * docs/reference/cspi:tmpl:*.sgml:
2373 * docs/reference/idl:
2374 * docs/reference/idl:Makefile.am:
2375 * docs/reference/idl:at-spi-idl-sections.txt:
2376 * docs/reference/idl:at-spi-idl-docs.sgml:
2377 * docs/reference/idl:tmpl:
2378 * docs/reference/idl:tmpl:*.sgml:
2380 Restructured docs directory to allow separate 'reference' docs
2381 section, and forked idl and cspi docs. Added the sgml template
2382 files to CVS. Added the first sections/structural sgml for the
2385 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
2387 * configure.in, libspi/Makefile.am: find libXtst.
2389 2001-11-21 Michael Meeks <michael@ximian.com>
2391 * test/accessx-gui.c: s/spi_value/value/ - doh.
2393 * libspi/base.[ch]: add.
2395 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2397 * idl/Accessible.idl:
2398 * idl/Application.idl:
2401 Started gtk-doc cleanup on IDL.
2403 * libspi/deviceeventcontroller.c:
2404 Added and connected non-preemptive key notification from the
2405 toolkits (in addition to the pre-emptive support from XServer
2406 which we had before, but which causes 'focus flashing'). Filters
2407 are presently limited to key modifiers and global/non-global,
2408 KeySets are presently ignored, as are KeyEvent masks.
2410 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
2411 structs into the persistant structure rather than just storing
2412 pointers to things that might not persist across servant
2415 The XGrabKey call now does async keygrabs, because synchronous
2416 ones were deadlocking with GDK_event code in a very nasty way.
2418 Added boolean to internal method notify_keylisteners, to indicate
2419 whether the event came from the 'toolkit source' or the 'global
2420 (XServer) source' - this is used in the notification process to
2421 determine which listeners to send the event to.
2423 deviceeventcontroller.c is now warning-free.
2425 * libspi/registry.c:
2426 Fixed regression in application de-registration.
2427 Also fixed some really brain-dead weirdness having to do with
2428 event dispatching - event structs are now duplicated before being
2429 re-marshalled in the dispatch to listeners. This also fixes a
2430 Solaris build problem.
2433 2001-20-11 Michael Meeks <michael@ximian.com>
2436 (impl_accessibility_registry_deregister_global_event_listener):
2439 * libspi/deviceeventcontroller.c
2440 (spi_device_event_controller_check_key_event): return
2441 FALSE on no virtual method.
2443 * libspi/*..h: make includes work on a correctly pathed install.
2445 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
2447 * libspi/application.h: kill unused ( and whacked out )
2448 gboolean *spi_application_set_id (AtkObject *app, long id);
2450 2001-20-11 Michael Meeks <michael@ximian.com>
2452 * libspi/*.[ch]: further convert to bonobo's type func
2453 macros, remove redundnant casts etc.
2455 * libspi/text.c s/accessibility_text/spi_text/g,
2456 re-order to de-cruft.
2458 * libspi/hypertext.c: re-order to kill a huge slew
2459 of redundant forward decls.
2461 * libspi/relation.c: ditto.
2463 * libspi/image.c: ditto.
2465 * */.cvsignore: update
2467 2001-20-11 Michael Meeks <michael@ximian.com>
2469 * libspi/deviceeventcontroller.c
2470 (_controller_register_with_devices): use g_getenv,
2471 kill stdlib.h include.
2473 * libspi/keystrokelistener.c
2474 (spi_keystroke_listener_get_type): kill
2475 (spi_keystroke_listener_class_init),
2476 (spi_keystroke_listener_init): rename to this.
2478 * libspi/text.c (impl_getAttributes): fix warning / bug.
2480 * libspi/*.[ch]: more headers, includes and over commenting.
2482 2001-20-11 Michael Meeks <michael@ximian.com>
2484 * libspi/*.[ch]: fixup headers, includes and over commenting.
2486 * libspi/image.c (impl__get_imageDescription): const
2487 correctness warning fix. remove redundant casting.
2489 * libspi/table.c (impl_getRowDescription): ditto.
2490 (impl_getColumnDescription): ditto.
2492 * libspi/libspi.h: add.
2494 2001-19-11 Michael Meeks <michael@ximian.com>
2496 * libspi/editabletext.c (impl_setAttributes): fix warnings.
2498 * libspi/component.c (accessibility_component_get_type):
2499 rename to (spi_component_get_type): and macroify.
2500 (accessibility_component_init): rename to
2501 (spi_component_init): this
2502 (accessibility_component_class_init): rename to
2503 (spi_component_class_init): this
2505 * libspi/action.c (spi_action_get_type): kill, use the macro.
2507 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
2510 * libspi/application.c (spi_application_object_event_listener),
2511 (impl_accessibility_application_register_object_event_listener):
2512 warning fixes / const understanding updates.
2514 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
2517 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2519 * libspi/spi_accessible.c: Added docs and C bindings for
2520 AccessibleStateSet. (No implementations yet). Documentation
2521 coverage for C bindings now 100%. Made docs for event listeners
2526 boolean notifyListenersSync (in DeviceEventListener listener,
2527 in DeviceEvent event);
2529 oneway void notifyListenersAsync (in DeviceEventListener listener,
2530 in DeviceEvent event);
2532 Added DeviceEventListener and DeviceEvent structs (may deprecate
2533 KeyStroke and KeystrokeListener in favor of this generic
2534 event/listener framework for devices).
2536 * libspi/deviceeventcontroller.c:
2538 Changed some key listener code to take masks, etc., and paved the
2539 way for integration of toolkit/non-preemptive key events. Changed
2540 signatures of some internal methods.
2542 * at-bridge/bridge.c:
2543 Fixed regression connecting to interface signals, apparently
2544 caused by GTK+ changes.
2546 Added an internal bridge_state_listener to deal with
2547 property-change:accessible-state signals.
2549 Changed the key_listeners GList to store structs (including masks,
2550 etc.) instead of just CORBA_Objects (required for full
2551 implementation of key listener API).
2553 Connected the bridge to all currently supported Atk signals.
2554 Events now supported:
2555 object:property-change
2556 object:property-change:accessible-name
2557 object:property-change:accessible-state
2558 object:property-change:accessible-description
2559 object:property-change:accessible-parent
2560 object:property-change:accessible-value
2561 object:property-change:accessible-role
2562 object:property-change:accessible-table-caption
2563 object:property-change:accessible-table-column-description
2564 object:property-change:accessible-table-column-header
2565 object:property-change:accessible-table-row-description
2566 object:property-change:accessible-table-row-header
2567 object:property-change:accessible-table-summary
2568 object:children-changed
2569 object:visible-data-changed
2570 object:selection-changed
2571 object:text-selection-changed
2573 object:text-caret-moved
2575 object:row-reordered
2577 object:column-inserted
2578 object:column-reordered
2579 object:column-deleted
2580 object:model-changed
2582 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2584 * libspi/hyperlink.c,h:
2585 Fixed some broken stuff in hyperlink.
2587 * libspi/relation.h:
2588 * libspi/relation.c:
2589 * cspi/spi_accessible.c:
2590 Initial implementations of AccessibleRelation methods, and docs.
2592 * libspi/accessible.c:
2593 Fixed a bug that caused SEGV if an accessible
2594 object's description is NULL, and a client
2595 requests it. An empty string is now returned.
2597 * cspi/spi_editabletext.c:
2598 * cspi/spi_hypertext.c:
2600 * cspi/spi_hyperlink.c:
2604 Doc coverage now 95%.
2606 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2608 One last namespacing revision:
2609 * libspi/accessibleeventlistener.[ch]:
2610 Renamed SpiAccessibleEventListener to SpiEventListener,
2611 (no need for two namespaces ;-)
2613 And lots of documentation fixes:
2615 * docs/at-spi-docs.sgml:
2616 Fixed 'underscore vs. hyphen' bug that was preventing
2617 the gtk-doc API docs from being automatically generated.
2620 * cspi/spi-listener.h
2622 * cspi/spi_accessible.c
2624 * cspi/spi_application.c
2625 * cspi/spi_component.c
2626 * cspi/spi_editabletext.c
2628 * cspi/spi_hypertext.c
2630 * cspi/spi_registry.c
2631 * cspi/spi_selection.c
2635 * docs/at-spi-docs.sgml
2636 * docs/at-spi-sections.txt
2638 Added and fixed up gtk-doc documentation in cspi.
2640 Interfaces now (fully) documented (subject to revision and enhancement):
2642 Event Listener Support
2644 AccessibleApplication
2648 AccessibleEditableText
2655 AccessibleRelationSet
2660 2001-14-11 Bill Haneman <bill.haneman@sun.com>
2662 * at-bridge/bridge.c:
2663 Initial work for toolkit-level key snooper connection by bridge.
2668 New typedefs and fixes to support new namespacing, and cleaner
2669 separation of cspi bindings from libspi bonobo implementation.
2670 Removed inconsistent and extraneous Spi* namespace prefix that
2671 had crept into cspi headers.
2672 Lots of comment fixes that sed had missed.
2674 * cspi/spi-roletypes.h:
2675 * cspi/spi-statetypes.h:
2676 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
2677 to AccessibleRoleType.
2679 * libspi/accessibleeventlistener.h:
2680 Fixed minor namespacing weirdness.
2682 * libspi/deviceeventcontroller.c:
2683 Reordered some internal API for device listeners.
2684 Changed the key registry final boolean to 'is_system_global'
2685 rather than 'is_synchronous', which is more descriptive of its
2687 Added spi_device_event_controller_new().
2688 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
2690 * libspi/keystrokelistener.[ch]:
2691 Namespaced KeystrokeListener to SpiKeystrokeListener.
2692 Changed uses of keymasks to use SPI_ prefix, and did other
2695 * libspi/keymasks.h:
2696 Namespaced keymask constants with SPI_ prefix.
2698 * libspi/registry.c:
2699 Some warning fixes, and knock-on fixes from namespace changes.
2702 Added rules for accessx-gui test program.
2704 * test/accessx-gui.c:
2705 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2706 utility. It doesn't actually use at-spi, but it's still cool and
2709 * test/keysynth-demo.c:
2713 Fixes so that these test clients work properly with the namespaced
2714 libraries. (Incompletely tested for technical reasons, fixes may follow)
2717 2001-13-11 Michael Meeks <michael@ximian.com>
2719 * libspi/application.c
2720 (impl_accessibility_application_get_version),
2721 (impl_accessibility_application_get_toolkit_name):
2723 (impl_accessibility_application_set_id),
2724 (impl_accessibility_application_get_id): remove
2725 redundant casting code.
2727 * libspi/action.c (impl_getDescription): fix warnings.
2729 * libspi/accessible.c
2730 (impl_accessibility_accessible_get_parent),
2731 (impl_accessibility_accessible_get_child_at_index),
2732 (impl_accessibility_accessible_get_state),
2733 (impl_accessibility_accessible_get_relation_set):
2734 warning fixes & include action.h
2736 2001-13-11 Michael Meeks <michael@ximian.com>
2738 * *.[ch] fix bits I screwed up:
2740 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2741 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2743 2001-13-11 Michael Meeks <michael@ximian.com>
2745 * *.[ch] Namespace libspi into spi_ and Spi.
2747 2001-13-11 Michael Meeks <michael@ximian.com>
2749 * Makefile.am: dist & install at-spi-1.0.pc
2751 * libspi/Makefile.am: install into at-spi-1.0
2753 * idl/Makefile.am (idldir): install into at-spi-1.0
2755 * at-spi-1.0.pc.in: add.
2757 * configure.in: build it.
2759 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2761 * test/keysynth-demo.c:
2762 Use a 'realize' signal-handler to set the WM properties for
2763 the virtual keyboard, rather than making it a "POPUP" type
2764 override-redirect window (thanks to anders carlsson for that
2767 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2770 * test/keysynth-demo.c:
2771 Added new test of key synthesis, which creates a simple
2772 (mouse-operated) onscreen keyboard. It inserts key events into
2773 the currently-focused window, thus it does not grab keyboard focus
2776 * cspi/spi_registry.c:
2777 Added C binding for AT-SPI generateKeyEvent.
2779 * libspi/deviceeventcontroller.c:
2780 Added call to XFilterEvent so that key listener works with XIM (we
2781 hope). Added event_synth_type to generateKeyEvent, so that we can
2782 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2783 synthesize a press/release pair for KeySyms.
2785 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2787 * libspi/Makefile.am:
2788 * registryd/Makefile.am:
2789 (temporary) hack to include libXtst in libspi and registryd.
2790 (Needed for keystroke synthesis, see below).
2793 Improved API for registerKeystrokeListener, in accordance with
2794 discussions with Gnopernicus team and X server research.
2796 * libspi/registry.c:
2797 * libspi/deviceeventcontroller.c:
2798 * libspi/accessible.c:
2799 * libspi/keystrokelistener.c:
2800 Changes and fixes to support keylisteners for potentially
2801 consumed key events (that is, 'passive grabs').
2802 Added implementation for generateKeyEvent() [untested].
2805 Changes to registerKeystrokeListener() API, as above.
2806 Added deregisterGlobalEventListenerAll(), and
2807 deregisterKeystrokeListener(), which are needed for clean exit of
2809 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2810 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2812 * cspi/spi_registry.c:
2813 Added implementations of function prototypes mentioned above.
2815 * registryd/registryd.c:
2816 Added the key listener event source as a g_timeout(), to allow
2817 receipt of key events that are not caught by GDK (since GDK
2818 doesn't support passive keygrabs, this was necessary).
2821 Changed to attach a keylistener to 'Alt' keys, and
2822 respond to the following keycommands: Alt-M (toggle magnifier);
2823 Alt-F (toggle speech); Alt-Q (quit).
2824 Added an exit routine to deregister the listeners, and a key
2825 listener that prints some key info to the console when a key
2826 matches the listener mask (and is thus received by the listener).
2828 * util/idl/Magnifier.idl:
2829 Changes to magnifier API to support multiple zoom regions,
2830 non-uniform scaling in x and y, markDirty, and a host of other
2831 features that would be useful to magnification.
2834 * util/mag_client.c:
2835 * util/mag_client.h:
2836 * util/mag_control.c:
2838 Source code changes to support the above IDL changes.
2841 As above, and also changes to use a (slower) generic conversion
2842 path for colormap conversions, since the fast RGB conversions have been
2843 reported to fail for 16-bit displays.
2845 2001-10-26 Michael Meeks <michael@ximian.com>
2847 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2849 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
2851 * at-bridge/Makefile.am: fix LDFLAGS.
2853 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2855 * at-bridge/bridge.c:
2856 Re-worked listeners for toolkit events, now we have signal
2857 and property listeners. Added a private method
2858 register_atk_event_listeners(), which registers with the
2859 various atk and gtk signals we need to monitor in order to emit
2861 Added emission hook for AtkObject:property-change events, to
2862 support the 'property listeners'.
2863 Fixed some alloc()s of Accessibility_Event structs to use CORBA
2866 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2867 which emit warnings and exit, respectively, if CORBA errors occur
2868 during remote calls, and we now use these methods to check most of
2869 our CORBA calls in the C bindings.
2871 * cspi/spi_accessible.c:
2872 Changed AccessibleSelection_refSelectedChild() to
2873 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2874 now increment refcounts.
2876 * cspi/spi_component.c:
2877 Fixed some long pointer casts (dangerous!) to pass pointers to
2878 CORBA_longs of the proper type to the CORBA stubs, and copy the
2879 data into the longs that were passed into the C bindings code.
2881 * at-bridge/bridge.c:
2883 * libspi/accessible.c:
2884 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2885 hyperlinks, AtkHyperlink is an object type.
2887 * libspi/application.c:
2888 Added various conversions to and from "generic" event types and
2889 atk-specific types; this is really part of the 'bridge'
2890 implementation but is valid for all AtkObject-based accessibility
2893 * libspi/editabletext.c:
2894 Fixed nasty bug wherein editable text's finalize method was
2895 unref'ing tha AtkObject reference that the text parent class was
2896 about to unref _again_. There was also a nasty inheritance bug
2897 that meant that the AccessibleEditableText class was corrupt.
2899 * libspi/selection.c:
2900 Provided implementations for some selection API that was broken.
2902 * idl/Application.idl:
2903 Added registerObjectEventListener () method.
2906 Fixed a number of return values that were Bonobo_Unknowns from
2907 bonobo_object_corba_objref(), which I
2908 forgot to dup before returning. Changed instances of
2909 bonobo_object_corba_objref (bonobo_object(o)) to
2910 BONOBO_OBJREF(o), for concision and clarity.
2912 <2001-10-13 Louise Miller <louise.miller@sun.com>
2914 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2915 idl/Event.idl, idl/Registry.idl
2916 Changed these files to include Bonobo_Unknown.idl instead
2919 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
2921 * libspi/component.c libspi/component.h:
2922 Fixed typo. Added assertions for object checks in
2923 AccessibleComponent code.
2925 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2927 * idl/Accessible.idl:
2928 Added 'isEqual (Accessible *object)'
2929 method for Accessible. (Not Yet Implemented).
2932 Changed signature of registerKeystrokeListener() to
2933 take a KeySet and KeyEventSeq so that specific keys and event
2934 types could be requested for monitoring, and added a flag
2935 is_synchronous so that either synchronous or asynchronous
2936 notification could be requested. (However this is not all
2937 implemented yet). This also meant adding two new typedefs,
2938 KeyEventSeq and KeySet.
2941 Added two new relations, RELATION_TOOLTIP_FOR and
2942 RELATION_LEAFNODE_OF.
2945 Added new state, STATE_HAS_TOOLTIP.
2947 * libspi/text.c, editabletext.c:
2948 Added new assertions to all casts of bonobo-objects from
2949 CORBA servants, to prevent Text API calls on non-text objects.
2950 Changed suspect casts of int-pointer types, so that we
2951 always send a valid CORBA_long pointer to the CORBA APIs that use
2952 in/out long parameters. We then have to copy from the CORBA_long
2953 into the regular long or int for return to the C bindings, or
2954 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
2957 * libspi/deviceeventcontroller.c:
2958 Cleaned these sources up.
2960 Changed return type for getCharacterAtOffset to
2961 CORBA_unsigned_long, to allow for 32-bit characters.
2964 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
2968 Fixed 'make dist' so that distro compiles...
2969 * libspi/keymasks.h:
2971 * cspi/spi-listener.c:
2972 KeystrokeListenerCB now returns a boolean.
2974 Added KeyEventType struct, and KeyStroke.
2975 Also added createKeystrokeListener(),
2976 KeystrokeListener_addCallback(),
2977 KeystrokeListener_removeCallback(), and added a keymask to
2978 registerKeystrokeListener().
2979 * cspi/spi_accessible.c:
2980 Changed numerous return types for interfaces from
2981 AccessibleComponent to Accessible<InterfaceName>; this was
2982 probably a cut-and-paste error.
2984 Implementations of new KeystrokeListener api (from spi.h,
2987 Changes to key modifier mapping.
2988 Created ControllerEventMask struct.
2989 Made DeviceEventController derive from Bonobo::Unknown.
2991 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
2992 * libspi/deviceeventcontroller.c:
2993 Added a number of new internal (private) methods.
2994 * libspi/editabletext.c:
2995 * libspi/editabletext.h:
2996 Fixed a number of bugs related to the fact that
2997 editabletext inherits from text. Fixed the EditableText struct,
2998 the init() call, and use correct casts when calling Text methods
2999 from an EditableText object. Removed (duplicate) atko from the
3000 EditableText structure, we use the one in the parent Text
3001 structure via the casts mentioned above.
3002 * libspi/keystrokelistener.[ch]:
3003 * libspi/registry.c:
3004 Changes in support of keyboard handling (above).
3006 Keyboard handling, though partly functional, is still not
3007 recommended for at-spi client use as there is considerable
3008 work yet to be done.
3011 Changed some places where pointers to various int types
3012 are cast to be pointers to CORBA_long types and vice-versa:
3013 pointer casting is not safe so we pass pointers of the correct
3014 types and then cast the result before putting it into the target
3017 * libspi/text.h: minor typos corrected.
3019 We now speak not only the name of a Text element, but the
3020 first sentence of its content, when it receives focus.
3021 I also changed the text compression to 75% from 50%.
3022 * util/Accessibility_Util.server.in:
3023 Changed the default magnifier type to be a 3x vertical
3024 splitscreen magnifier (was previously a 2x horizontal one).
3026 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
3028 * libspi/keystrokelistener.h:
3029 * libspi/keystrokelistener.c:
3030 Initial functional implementations of KeystrokeListener.
3033 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3035 Fixed string handling for NULL strings in libspi.
3036 Added spi_freeString to free strings returned by C bindings.
3038 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
3040 * libspi/keystrokelistener.h:
3041 * libspi/keystrokelistener.c:
3042 Began (no-op) implementations of KeystrokeListener
3044 * libspi/deviceeventcontroller.c:
3045 * libspi/deviceeventcontroller.h:
3046 Began creating implementations of DeviceEventController,
3047 to handle keystroke and mouse event listening and
3049 * libspi/accessible.c:
3050 Stubbed-in the implementations for
3051 Accessibility_Accessible_getState and
3052 Accessibility_Accessible_getRelationSet.
3053 * libspi/registry.c:
3054 Improved de-registration process and fixed some bugs,
3055 deregistration now works correctly.
3057 Added initialization of applications list (to NULL).
3059 Reduced speech compression from 0.5 to 0.7, for demo.
3060 Changed call to gdk_window_set_decorations()
3061 to gtk_window_set_decorated().
3062 * at-bridge/bridge.c:
3063 Bridge now deregisters when app exits, via
3064 registration of a cleanup function
3065 with the g_atexit() call.
3066 Required making 'app' static, renamed 'this_app'.
3067 Fixed broken use of bonobo_init, passing argv wrongly.
3069 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
3073 Created a new directory for
3074 accessibility-related utilities, primarily for
3075 testing and demo purposes, but with possible
3082 Onscreen magnifier utility that
3083 is implemented as a bonobo service.
3085 * util/mag_client.c:
3086 * util/mag_client.h:
3087 Client-side support (simple C bindings)
3088 for Magnification service
3090 * util/mag_control.c:
3091 Client program example for
3092 Magnification service
3094 * util/Accessibility_Magnifier.server.in:
3095 Bonobo-activation file for the
3096 Magnification service.
3099 * util/idl/Magnifier.idl:
3100 IDL defining the bonobo Magnification
3104 Modifications to use the bonobo-activated magnifier
3105 above, in place of trying to connect to an existing
3106 magnifier that uses socket-listening IPC.
3108 If env variable MAGNIFIER is set, a magnifier service
3109 will be started if one does not exist.
3111 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
3112 * at-bridge/bridge.c:
3113 applied patch from Marc to build and run
3114 against new glib and gtk+ (seemed like a change
3115 to bonobo_init signature was made ?)
3117 made festival-server support turned off by default.
3118 Added support for a simple magnifier (off by default)
3119 which will be added to a 'util' directory later.
3120 * at-bridge/Makefile.am:
3121 Changed "application.h" header from a 'source'
3122 to a 'dependency' of libat-bridge.
3124 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3132 Added interface implementation c files to list of
3133 includes so they are included in libcspi.
3136 Changed prototype of AccessibleAction_doAction to return a
3138 Changed prototype of AccessibleTable_getCaption to
3139 return an Accessible.
3140 Changed prototype of AccessibleTable_getSelectedRows
3141 and AccessibleTable_getSelectedColumns to
3142 return a long (returns the number of selected rows
3143 or columns respectively).
3144 Changed name of AccessibleText_refRunAttributes to
3145 AccessibleText_getAttributes.
3146 Changed prototype of AccessibleText_getCharacterExtents to
3147 return a void rather than a boolean.
3148 Added support for a AccessibleCoordType parameter
3149 specifying what type of coordinates are desired.
3150 Added an AccessibleCordType parameter to
3151 AccessibleText_getPointAtOffset.
3153 * cspi/spi_accessible.c:
3154 Added code to return the outstanding interfaces from
3155 Accessible_queryInterface.
3157 * cspi/spi_action.c:
3159 Corrected call to getNActions to call the c binding
3162 * cspi/spi_editabletext.c:
3164 Changed name from setRunAttributes to setAttributes.
3166 * cspi/spi_hyperlink.c:
3168 Changed call to getNAnchors to correctly call the c
3169 binding for an attribute.
3171 * cspi/spi_hypertext.c:
3173 Changed getImageDescription to correctly call the
3174 binding for an attribute.
3176 * cspi/spi_selection.c:
3177 Changed getNSelectedChildren to correctly call the c
3178 binding for the attribute.
3179 Changed refSelectedChild to getSelectedChild.
3183 Changed getCaption to return an Accessible.
3184 Fixed calls which retrieve attributes.
3185 Changed refAt to getAccessibleAt.
3186 Changed getNSelectedRows and getNSelectedColumns to
3190 Changed getCharacterExtents and getPointAtOffset to accept an
3191 AccessibleCoordType.
3193 Changed calls which retrieve attributes.
3194 Changed refRunAttributes to getAttributes.
3199 * idl/Hyperlink.idl:
3200 Changed n_anchors attribute to nAnchors to keep naming
3201 convention consistent.
3204 Made Table inherit from Bonobo::Unknown.
3205 Added nSelectedColumns and nSelectedRows attributes.
3208 Made Value inherit from Bonobo::Unknown.
3210 * libspi/hyperlink.c:
3211 Change for nAnchors attributte name change.
3213 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3221 Added interface implementation c files to list of
3222 includes so they are included in libcspi.
3225 Changed prototype of AccessibleAction_doAction to return a
3227 Changed prototype of AccessibleTable_getCaption to
3228 return an Accessible.
3229 Changed prototype of AccessibleTable_getSelectedRows
3230 and AccessibleTable_getSelectedColumns to
3231 return a long (returns the number of selected rows
3232 or columns respectively).
3233 Changed name of AccessibleText_refRunAttributes to
3234 AccessibleText_getAttributes.
3235 Changed prototype of AccessibleText_getCharacterExtents to
3236 return a void rather than a boolean.
3237 Added support for a AccessibleCoordType parameter
3238 specifying what type of coordinates are desired.
3239 Added an AccessibleCordType parameter to
3240 AccessibleText_getPointAtOffset.
3242 * cspi/spi_accessible.c:
3243 Added code to return the outstanding interfaces from
3244 Accessible_queryInterface.
3246 * cspi/spi_action.c:
3248 Corrected call to getNActions to call the c binding
3251 * cspi/spi_editabletext.c:
3253 Changed name from setRunAttributes to setAttributes.
3255 * cspi/spi_hyperlink.c:
3257 Changed call to getNAnchors to correctly call the c
3258 binding for an attribute.
3260 * cspi/spi_hypertext.c:
3262 Changed getImageDescription to correctly call the
3263 binding for an attribute.
3265 * cspi/spi_selection.c:
3266 Changed getNSelectedChildren to correctly call the c
3267 binding for the attribute.
3268 Changed refSelectedChild to getSelectedChild.
3272 Changed getCaption to return an Accessible.
3273 Fixed calls which retrieve attributes.
3274 Changed refAt to getAccessibleAt.
3275 Changed getNSelectedRows and getNSelectedColumns to
3279 Changed getCharacterExtents and getPointAtOffset to accept an
3280 AccessibleCoordType.
3282 Changed calls which retrieve attributes.
3283 Changed refRunAttributes to getAttributes.
3288 * idl/Hyperlink.idl:
3289 Changed n_anchors attribute to nAnchors to keep naming
3290 convention consistent.
3293 Made Table inherit from Bonobo::Unknown.
3294 Added nSelectedColumns and nSelectedRows attributes.
3297 Made Value inherit from Bonobo::Unknown.
3299 * libspi/hyperlink.c:
3300 Change for nAnchors attributte name change.
3303 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
3305 implementations-- made server implementations own AtkObject pointers
3306 rather than their respective AtkInterrface pointers to fix
3307 refcounting. AtkHyperlink is still broken.
3309 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
3310 * cspi/spi_accessible.c:
3311 Added method Accessible_Role_getName(),
3312 and requisite string array (role_names).
3313 Added conversion string_from_corba_strin() call
3314 to Accessible_getName and _getDescription.
3315 * libspi/accessible.c:
3316 Added implementation for Accessible_getRole()
3318 Added festival support, used if environment variable
3321 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3323 * at-bridge/bridge.c:
3324 Now allocate Accessibility_Event using
3325 Accessibility_Event__alloc() instead of g_new0().
3326 * libspi/accessibleeventlistener.c:
3327 Initialize AccessibleEventListener->callbacks to NULL.
3328 Fixed accessible__event_listener_init() param, changed to
3329 "AccessibleEventListener *" type.
3330 Changed a bonobo_object_release_unref() call to
3331 Accessibility_Accessible_unref().
3332 * libspi/listener.c:
3333 Changed Bonobo_Unknown_unref to (equivalent)
3334 Accessibility_Accessible_unref.
3335 * libspi/registry.c:
3336 Changed bonobo_object_release_unref to
3337 Accessibility_Accessible_unref.
3339 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3342 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
3343 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
3344 spi-util.c spi-util.h
3345 Implementations for C bindings to remaining accessibility
3348 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3351 changed return value of Action from void to boolean to
3352 bring in line with ATK.
3355 Changed getText funcions to return "out" start and end offsets.
3356 Changed getAttributes to take and offset and return the start
3357 and end offset of the attribute run.
3358 Changed getOffsetAtPoint and getCharacterExtents to take an
3359 enum describing whether coordinates are window or screen.
3362 libspi/action.c libspi/action.h libspi/editabletext.c
3363 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
3364 libspi/hypertext.c libspi/hypertext.h libspi/image.c
3365 libspi/image.h libspi/selection.c libspi/selection.h
3366 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
3367 libspi/value.c libspi/value.h
3368 Added server implementations for outstanding ATK interfaces
3369 not yet implemented.
3371 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3374 Added (missing) getName() method.
3375 Made nActions an attribute.
3376 * idl/EditableText.idl:
3377 Changed order of params in setAttributes.
3378 * idl/Hyperlink.idl:
3379 Removed getAnchor, added getURI.
3381 Changed attributes to methods, for efficiency
3382 (so that getting extents can be done in one call)
3383 * idl/Selection.idl:
3384 Changed nSelectedChildren to attribute, and re-indented.
3385 * idl/Table.idl: changed nrows, ncolumns, caption, summary
3387 * idl/Text.idl: reformatted to match our coding style.
3388 (temporarily?) removed getRowColumnAtOffset().
3389 Changed text selection API to support multi-select and
3390 non-contiguous selections, as in ATK.
3391 * idl/Value.idl: changed some methods to attributes.
3393 2001-08-24 Mark McLoughlin <mark@skynet.ie>
3395 * libspi/listener.c(impl_notify_event):
3396 BonoboUnkown_unref the source instead
3397 of bonobo_object_release_unref - the ORB
3398 handles the releasing.
3400 * configure.in: require ORBit-2.3.94 for
3403 2001-08-21 Bill Haneman <bill.haneman@sun.com>
3405 Tagged CVS repository 'EA_1_0'.
3406 * README.EARLY_ACCESS:
3407 Alphabetized acknowledgements list, and
3409 Listed some known dependencies of at-spi.
3411 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3413 * docs/at-spi-docs.sgml:
3414 * docs/at-spi-sections.txt:
3415 * docs/at-spi-overrides.txt: (Added zero-length file)
3416 Documentation improvements - gtk-doc should build
3417 docs for all implemented C bindings now.
3420 * cspi/spi.c: (New file)
3421 * cspi/spi_event.c: (New file)
3422 * cspi/spi_registry.c: (New file)
3423 * cspi/spi_accessible.c: (New file)
3424 * cspi/spi_application.c: (New file)
3425 * cspi/spi_component.c: (New file)
3426 Split spi_main.c into six parts, and included them from
3427 "spi.c". This is a bit of a hack, probably temporary,
3428 but required by gtk-doc, apparently.
3430 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3433 * docs/at-spi-docs.sgml:
3434 * docs/at-spi-sections.txt:
3436 Initial checkins/modifications for gtk-doc generation.
3439 Added (missing) interface query methods to Accessible's C binding.
3441 Added GenericInterface type definition.
3443 Added query for AccessibleComponent interface to focus event handler.
3444 Added printout of bounding box for focussed component.
3445 * libspi/component.c:
3446 Added partial implementation for AccessibleComponent to C binding.
3447 * idl/Application.idl:
3448 * libspi/registry.c:
3449 * libspi/listener.c:
3450 * libspi/application.c:
3451 * libspi/application.h:
3452 Changed "ID" attribute type from string to long.
3454 2001-08-19 Bill Haneman <bill.haneman@sun.com>
3458 Made method naming consistent: methods taking object args
3459 start with uppercase, other methods (except those using
3460 acronyms) start with lowercase. Underscores delimit between
3461 object names and method names:
3462 SPI_init() - uppercase since it starts with an acronym.
3463 getDesktopCount () - lowercase start since no object param0.
3464 Accessible_getName() - uppercase object type name, studlyCaps method
3468 Added gtk-doc documentation for all currently implemented
3469 methods in the C bindings API.
3471 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3473 * Makefile.am : changed build order to build test last.
3476 Changed "createEventListener" to "CreateEventListener".
3477 * libspi/accessibleeventlistener.c :
3478 Bugfix for addition of callbacks.
3479 * test/Makefile.am :
3480 * test/simple-at.c :
3481 Added new test that uses the C bindings API.
3483 * libspi/listener.c :
3484 * libspi/registry.c :
3485 * libspi/accessibleeventlistener.c :
3486 * at-bridge/bridge.c :
3487 Renamed member "target" of Accessibility_Event to "source",
3488 which is more descriptive.
3491 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3495 * cspi/Makefile.am :
3496 Added makefile support for at-spi/cspi directory.
3499 * cspi/spi-listener.h : (NEW FILE)
3500 Added support for/use of spi-listener.h.
3502 C bindings now build successfully, with no warnings.
3503 * libspi/accessibleeventlistener.h : (NEW FILE)
3504 * libspi/accessibleeventlistener.c : (NEW FILE)
3505 * libspi/Makefile.am :
3506 Added new object type "AccessibleEventListener"
3507 which inherits from Listener, and allows attachment
3508 of in-process callbacks (so that a client with a listening
3509 object instance can add functionality to the local
3510 implementation, dynamically).
3512 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3514 * libspi/accessible.c:
3515 Add implementation for get_index_in_parent().
3517 Added #include of "spi-roletypes.h", and
3518 added enumerated type AccessibleCoordType.
3519 Added definition for KeystrokeListener (function type).
3522 * cspi/spi-statetypes.h :
3523 * cspi/spi-roletypes.h :
3525 Added these headers, used by spi.h.
3527 Added code (NOTE: not yet built by make).
3529 2001-08-18 Mark McLoughlin <mark@skynet.ie>
3531 * libspi/Makefile.am: generate imodule
3532 at the same time as other idl compiler
3535 2001-08-17 Bill Haneman <bill.haneman@sun.com>
3536 * libspi/registry.c :
3537 * libspi/application.c :
3538 * idl/Application.idl :
3539 Made registration with toolkit an application method,
3540 which is required since each app has its own toolkit static
3541 environment. Thus the bridge must register for
3542 notification of toolkit events from each application in turn.
3543 Toolkit notifications are now successfully registered for, and
3544 sent to the listening at client.
3546 Changed toolkit event string to use hyphens rather than underscores.
3547 * libspi/listener.c :
3548 listner now gives more info in debug mode - it reports the
3549 name of the event received, as well as the name of the source.
3552 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3554 * libspi/registry.c :
3555 added more implementation for toolkit events.
3556 Fixed bug such that toolkit event registrations
3557 (via atk) use the whole event name string, not
3559 Removed a useless call to an ORBit_ method.
3560 * at-bridge/bridge.c :
3561 Removed unused local sbuf[] variable.
3563 We now register for Gtk:GtkWidget:button_press_event
3564 events as well as "focus:" events.
3566 Add some more API from Registry.idl that was missing,
3567 for keystroke listening, keystroke and mouse event
3568 synthesis, and enumeration of accessible desktops.
3570 2001-08-16 Michael Meeks <michael@ximian.com>
3572 * configure.in: use AM_GLIB_GNU_GETTEXT.
3574 * Makefile.am (SUBDIRS): kill intl.
3576 2001-08-15 Michael Meeks <michael@ximian.com>
3578 * registryd/Makefile.am: s/oaf/server/ relocate info file.
3580 * configure.in: upd.
3582 * configure.in: depend on a recent bonobo-activation that
3583 will find our server files ...
3585 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3587 * libspi/accessible.c : accessible_new() :
3588 Now we add the Component interface via bonobo_object_add_interface,
3589 if the contained AtkObject implements AtkComponent.
3590 * libspi/accessible.h : now include "component.h"
3591 * libspi/component.h :
3592 * libspi/component.c : added files - implementation of
3593 bonobo wrapper object for Accessibility/Component
3594 * libspi/listener.c :
3595 Added test code to check for Accessibility/Component:1.0
3596 interface and report whether it is implemented by the
3598 * libspi/registry.c :
3599 Now we check for not only the hash of the whole event
3600 string before relaying the event, we also check the
3601 "minor" event string (without the detail string).
3602 This allows event listeners to be registered against
3603 all events of a certain major+minor type, or just
3604 against a specific major+minor+detail type.
3605 * libspi/accessible.c :
3606 Added implementations for Accessible:get_parent(),
3607 Accessible:getChildCount(), and Accessible:getChildAtIndex().
3608 * libspi/registry.c :
3609 * libspi/listener.c :
3610 Replaced calls to Accessibility_Accessible_ref() and
3611 Accessibility_Accessible_unref() with
3612 calls to bonobo_object_dup_ref() and
3613 bonobo_object_release_unref(), so that the CORBA object
3614 is dup-ed and released when relayed, as well as the bonobo object.
3616 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3618 * libspi/Makefile.am,
3619 registryd/Makefile.am,
3620 at-bridge/Makefile.am.
3621 test/Makefile.am, configure.in:
3622 reverse previous changes.
3624 * /idl/Image.idl: fix typo.
3626 * test/Makefile.am: put DEBUG_FLAGS
3629 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3631 * test/app.c: use argv[0] instead of
3634 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3636 * libspi/Makefile.am,
3637 registryd/Makefile.am,
3638 at-bridge/Makefile.am.
3639 test/Makefile.am, configure.in:
3640 cleanup, replace individual LIBS/CFLAGS with
3641 AT_COMMON_{LIBS|CFLAGS}.
3645 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3647 * configure.in, libspi/Makefile.am:
3648 Change IDL path checking for bonobo-activation
3651 2001-08-15 Bill Haneman <bill.haneman@sun.com>
3653 * registryd/registry.c : separated event listeners to use
3654 3 separate lists (focus, window, toolkit). Began testing
3655 event names against hashes before relaying events.
3656 * test/at.c : now register for events of type "focus:"
3657 * test/app.c : now generate events of type "focus:"
3658 * at-bridge/bridge.c : register with ATK for focus events,
3659 and we now relay those focus events to any "focus:" listeners.
3660 This now works with the bridge as a GTK_MODULE when running test/at.
3661 * libspi/registry.c :
3662 * libspi/listener.c :
3663 now we ref event sources before propagating, and unref on receipt.
3664 * libspi/registry.c :
3665 some changes to internal structs, to support event typestring hashes.
3666 * text/app.c : changed the way the appname is generated.
3667 * cspi : added directory that will hold the C bindings library for
3668 non-CORBA/bonobo-savvy clients.
3669 * cspi/spi.h : header file that contains the function prototypes for the C binding.
3670 * idl/Component.idl : added in parameter to indicate coord system for
3671 geometry-related calls.
3672 * idl/Hyperlink.idl : added readonly n_links attribute
3673 * idl/Image.idl : changed methods to attributes.
3675 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3677 * at-bridge/Makefile.am: link against
3678 ../libspi/libspi.la instead of -lspi.
3680 * at-spi/test/app.c: include
3681 bonobo-activation.h. Use a default appname
3682 if one is not provided.
3684 2001-08-14 Bill Haneman <bill.haneman@sun.com>
3686 * idl/Registry.idl : temporarily changed register_Application
3687 to oneway, to work around issue with initial registration
3689 * idl/Application.idl : changed attribute "id" from readonly
3690 to read-write, since it needs to be assigned by Registry.
3691 * registryd/registryd.c : added call to set application id
3693 * registryd/registry.c : changed de-registration procedure to
3694 use CORBA_Object_hash() to find matching object ref in application
3695 lists and listener lists.
3696 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
3697 began distinguishing between event types (work in progress).
3699 2001-08-13 Bill Haneman <bill.haneman@sun.com>
3702 * libspi/application.c:
3703 Added implementations for get/set id, get_toolkitName,
3705 * registryd/registryd.c :
3709 Converted from use of OAF to bonobo-activation.
3710 * libspi/desktop.h :
3711 * libspi/desktop.c :
3713 Removed references to atksimpleobject, since base atkobject
3714 implementation now provides functionality we need.
3715 * libspi/atksimpleobject.c :
3716 * libspi/atksimpleobject.h :
3721 * at-bridge/Makefile.am
3722 * at-bridge/bridge.c
3725 Added directory "bridge" and contents, and added dependencies
3726 in Makefile.am/configure.in.
3727 Initial checkin of "at-bridge".
3728 This code is a GTK_MODULE which automatically registers
3729 GTK+ apps with the accessibility registry, using an object
3730 reference to the root ATK object.
3732 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3734 * po/Makefile.in.in: Remove. Again. If this
3735 doesn't get autogenerated - you need to update
3738 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3740 * po/Makefile.in.in: Add. Again.
3742 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3744 * libspi/accessible.c : added support for 'description' property.
3745 * libspi/accessible.c
3747 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3748 (since the two are now equivalent in libbonobo)
3756 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3757 Bonobo::Unknown as does Accessibility::Accessible.
3758 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3759 interface with Bonobo::Stream, since it was redundant with it.
3760 (The Stream returned by a StreamableContext object is expected to
3761 implement only a subset of Bonobo::Stream)
3763 2001-07-28 Anders Carlsson <andersca@gnome.org>
3765 * libspi/accessible.c (accessible_object_finalize): Change
3766 g_free to g_object_unref since the AtkObject is a GObject.
3768 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3770 * idl/Accessibility.idl: add new IDL files
3773 * idl/Action.idl: Definitions of actionable UI object
3774 * idl/Component.idl: Definitions of UI component geometry, etc.
3775 * idl/Hyperlink.idl: Defs of hyperlink behavior
3776 * idl/Image.idl: Def of accessible image
3777 * idl/Selection.idl: Definition of UI object with selectable children
3778 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3779 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3780 * idl/Text.idl: Interface defs for UI elements with complex textual content
3781 * idl/Value.idl: Definition of UI element that is a value controller or display
3783 2001-07-27 Michael Meeks <michael@ximian.com>
3785 * po/Makefile.in.in: remove autogenerated file from CVS.
3787 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3790 * idl/Registry.idl: include guard.
3792 * idl/Accessibility.idl: Add, and include all the other IDL
3795 * idl/*.idl: remove mass of pragmas etc.
3797 2001-07-26 Michael Meeks <michael@ximian.com>
3799 * registryd/Makefile.am (registryd_SOURCES): remove
3802 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3804 * libspi/.cvsignore, registryd/.cvsignore,
3805 test/.cvsignore: updated.
3807 * po/Makefile.in.in: gettext update.
3809 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3811 * initial CVS checkin
3813 2001-06-29 Michael Meeks <michael@ximian.com>
3815 * configure.in: add AM_CONFIG_HEADER to gen config.h