1 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3 * libspi/remoteobject.h:
4 * libspi/remoteobject.c:
5 Added definitions for special AtkObject subtype, required for
6 support of remote components (specifically, used by BonoboControl
7 accessibility implementation).
9 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
11 * cspi/spi.h: synched relation types with ATK
13 * cspi/spi_accessible.c: Added implementations of
14 AcccessibleRelation_* methods
16 * idl/Accessibility_Relation.idl: added getRelationTypeName
17 method. Synched known relation types with ATK. Allowed for
18 relation type extension with the RELATION_EXTENDED type.
20 * libspi/relation.c: Provided implementations for
21 AccessibleRelation methods.
23 2002-01-01 Bill Haneman <bill.haneman@sun.com>
25 API tweaks for today's API 'freeze'.
28 Added placeholder functions to allow future compatible expansion
29 of the IDL interfaces.
31 * idl/Accessibility_Registry.idl:
32 Changed generateKeyEvent to generateKeyboardEvent. Changed
33 signature of this method to accept an optional keystring in
34 parameter (for complex text input synthesis) and changed use of
35 simple 'boolean' parameter in registerKeystrokeListener to a
36 struct, EventListenerMode.
38 * cspi/spi_accessible.c:
40 * cspi/spi_streamablecontent.c:
41 Added references to AccessibleStreamableContent interface, and
42 definition and implementation of AccessibleStreamableContent
45 * cspi/spi_registry.c:
47 Changed generateKeyEvent API to generateKeyboardEvent,
48 taking a new (optional) keystring parameter to support complex
53 Renamed directory (to better reflect its actual purpose, bridging
54 from at-spi to ATK). The .so module is also now named
57 * idl/Accessibility_Hypertext.idl:
58 * libspi/accessible.c:
61 Changed Accessibility_Hypertext to *not* derive from
64 * cspi/spi_registry.c:
65 Added list of legal event type names for 'window' events, which
66 completes the registry event API.
68 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
70 * at-bridge/bridge.c: Added registration for separate
71 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
72 signals. If either of the first two parameters to the generic
73 bridge signal handler are ints, they are passed on as event
74 details. This allows an AT to determine what text was inserted.
76 2001-12-21 Bill Haneman <bill.haneman@sun.com>
78 * registryd/deviceeventcontroller.c:
79 Fixed regressions in generateKeyEvent caused by the removal of
80 gdk_init from registryd; we now use pure X calls to connect to the
81 display, which makes sense because deviceeventcontroller already
82 uses a fair bit of X API (should eventually be migrated to a
85 * registryd/desktop.c:
86 Fixed minor regression in spi_desktop_init, changed the way the
87 desktop name is being set to work with new spi_base API
88 (gobject-based, rather than AtkObject-based).
90 * registryd/Makefile.am:
91 Minor revision of makefile to use XTST_LIBS variable rather than
92 hard-wiring the Xtst LD_ADD element.
94 * test/keysynth-demo.c:
95 Tweaked an output message; added initialization of the
96 'keystrings' member of the "switch listener" key_set.
99 Squashed compile-time warning.
101 * libspi/accessible.c:
102 Cosmetic and formatting fixes, renamed a static method.
104 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
106 * libspi/accessible.c
108 * libspi/application.c
112 * libspi/editabletext.c
120 * registryd/desktop.c:
121 Changed SpiBase to contain a GObject pointer rather than an AtkObject
123 2001-12-17 Bill Haneman <bill.haneman@sun.com>
125 * idl/Accessibility_Registry.idl:
126 Added boolean member 'is_text' to DeviceEvent. This is for the
127 use of key events, and helps prevent ambiguity between composed
128 key strings and keysym names, since both may potentially be
129 returned in the 'event_string' member.
131 * at-bridge/bridge.c:
132 * registryd/deviceeventcontroller.c:
133 Use the 'is_text' member when notifying device event listeners.
134 Knon issue: composed characters are not dealt with correctly by
135 the global key listener implementation yet.
137 2001-12-17 Bill Haneman <bill.haneman@sun.com>
139 * at-bridge/bridge.c:
140 Namespaced local static methods to spi_atk_bridge_* where
141 previously named bridge_*, and spi_* elsewhere.
143 * at-bridge/bridge.c:
144 * cspi/bonobo/cspi-bonobo-listener.c:
145 Added demarshalling/conversion for string member of
146 Accessibility_DeviceEvent to AccessibleKeystroke.
148 * registryd/deviceeventcontroller.c:
149 Added code to fill the Accessibility_DeviceEvent key string value
150 member for global key events (i.e. from XGrabKey), to match
151 behavior of Accessibility_DeviceEvent from the toolkit key events
152 from the bridge. Fixed timestamp in global key event notifications.
155 Added printout of key event's string value to
156 report_ordinary_key_event, for demo/debugging purposes.
158 2001-12-15 Bill Haneman <bill.haneman@sun.com>
160 * idl/Accessibility_Registry.idl:
161 Removed Accessibility_KeyStroke structure in favor of generic
162 Accessibility_DeviceEvent structure.
163 Changed Accessibility_ControllerEventMask from a struct to an
166 * at-bridge/bridge.c:
167 Changed APIs to use DeviceEvent structure as above, and removed
168 bogus casting between these event structures.
170 * cspi/spi-listener.h:
171 Added keystring member of AccessibleKeystroke structure, to enable
172 matching on event "names" rather than only hardware codes and
176 Added keystrings member of AccessibleKeySet struct, to allow
177 matching on event names (as above).
178 Added declarations for SPI_createAccessibleKeySet and
179 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
180 event modmasks directly as unsigned ints rather than structs with
181 refcounts, in the DeviceEventController methods.
183 * cspi/spi_registry.c:
184 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
186 * cspi/spi-roletypes.h:
187 Added documentation of newly added SPI Roles.
189 * cspi/bonobo/cspi-bonobo-listener.c:
190 Changes in support of API changes above.
192 * libspi/accessible.c:
193 Converted APIs to use DeviceEvent structure (see IDL changes
196 * registryd/deviceeventcontroller.c:
197 Added DEControllerGrabMask structure to track keygrabs not only by
198 modmask but by keyset as well; this allows us to do "global"
199 (i.e. X) keygrabs on a per-key or keyset basis rather than always
200 grabbing on AnyKey and then filtering after-the-fact.
201 Bugfixes for event filtration mean that we don't get false matches
202 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
204 * registryd/deviceeventcontroller.c:
205 Namespaced a number of static methods to use spi_ prefix. Major
206 revision to internals of global (i.e. X) key grabs.
208 * registryd/deviceeventcontroller.h:
209 Removed keymask_list and added keygrabs_list to
210 SpiDeviceEventController struct.
213 Added use of SPI_createAccessibleKeySet API when creating a
214 listener for only one key. Attach a listener to "shift spacebar
215 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
216 X key event names to SPI key event names, so that listeners are
217 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
219 * test/keysynth-demo.c:
220 Changed (incorrect) use of X key event names (KeyPressed,
221 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
224 2001-12-12 Bill Haneman <bill.haneman@sun.com>
226 * libspi/accessible.c:
227 Convert all AtkRole enumerations to Accessibility_Role enums when
228 getting a role from an AtkObject.
230 * cspi/spi_accessible.c:
231 Complete the conversion of Accessibility_Role enums at runtime to
232 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
233 role enums correctly match those given in spi-roletypes.h.
234 Re-synchronize the local names list for AccessibleRole_getName ().
235 AccessibleRole_getName is now deprecated, since it duplicates the
236 more reliable Accessible_getRoleName.
237 Added some role types from Accessibility_Role.idl.
239 * idl/Accessibility_Role.idl:
240 Added some role types used by AtkRole.
242 2001-12-12 Bill Haneman <bill.haneman@sun.com>
245 * cspi/spi_registry.c:
247 * cspi/cspi-bonobo-listener.c:
248 Namespaced all methods that did not begin with an "SPI_" or
249 "Accessible" prefix to "SPI_".
252 Homogenized internal function namespace to "cspi_" for statics.
255 Patched tests to use the new CSPI API.
257 * docs/reference/cspi/at-spi-cspi-sections.txt:
258 Updated docs to reflect namespace changes, and added a number of
259 methods to the documentation.
261 * registryd/registry.c:
262 Changed use of strings and string hashes in listener event
263 matching and parse_event_string to use GQuark, which is guaranteed
266 * registryd/registry.h:
267 Squashed annoying warning.
269 * idl/Accessibility_Role.idl:
270 Extended range of available Accessibility_Role values.
272 * cspi/spi_accessible.c:
273 Re-ordered role names.
275 2001-12-12 Bill Haneman <bill.haneman@sun.com>
277 * idl/Accessibility_Value.idl:
278 Revert use of union back to CORBA_double, since the double type is
279 more efficient and can contain the other types without loss of
282 * idl/Accessibility_Accessible.idl:
283 Added method Accessibility:Accessible:getRoleName, to complement
284 Accessibility:Accessible:getRole.
286 * cspi/spi_accessible.c:
288 Added C binding for above, Accessible_getRoleName (), and changed
289 signature of Accessible_getRole () to return an AccessibleRole.
291 * cspi/spi-roletypes.h:
292 Changed AccessibleRole_getName to return a char * instead of a
293 const char *. This method is now at least temporarily deprecated
294 in favor of asking Accessibles for their RoleNames directly.
297 Revert to match Accessibility_Value.idl;
301 Change signature of AccessibleValue methods to use double rather
305 * cspi/spi_accessible.c:
306 Changed Accessible_getRole to return an AccessibleRole enum rather
307 than a UTF-8 string. The UTF-8 string can still be obtained via
308 AccessibleRole_getName ().
310 * test/test-simple.c:
311 Add test_action. Small fixup to match API change to Accessible_getRole.
314 Bugfix for get_action_from_servant ().
316 2001-12-11 Michael Meeks <michael@ximian.com>
318 * libspi/libspi.h: remove registry.h and
319 desktop.h, deviceeventcontroller.h
321 * libspi/Makefile.am: remove registry.[ch],
322 desktop.[ch], deviceeventcontroller.[ch]
324 * registryd/Makefile.am: add registry.[ch],
325 desktop.[ch], rename registryd.c to registry-main.c.
326 add deviceeventcontroller.[ch]
328 2001-12-11 Bill Haneman <bill.haneman@sun.com>
331 Replace setenv() call with putenv ().
333 * libspi/component.c:
334 Bugfix in AccessibleComponent_getExtents (),
337 2001-12-11 Michael Meeks <michael@ximian.com>
339 * libspi/image.c (impl_getImageExtents): impl.
340 (spi_image_class_init): upd.
343 (AccessibleImage_getImageDescription): fix daft bug
346 * test/test-simple.c (global_listener_cb): update
347 to only quit if not --poke
348 (main): catch --poke.
349 (validate_accessible): upd. dumping, call test_image
352 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
355 * idl/Accessibility.idl: update all IDL includes.
357 * idl/*.idl - rename to namespace - this sucks, blame
358 mjs' bad decision for oafd.
360 * test/test-simple.c (create_test_window): add more tests.
361 (create_tree): split this out.
362 (validate_accessible): bugfix.
364 2001-12-11 Michael Meeks <michael@ximian.com>
366 * cspi/bonobo/cspi-bonobo-listener.c:
367 (cspi_kestroke_listener_unref),
368 (cspi_event_listener_unref): impl. undoing previous
369 homenous environment - for Bill.
371 * cspi/spi_table.c (long_seq_to_array): use
374 * cspi/spi_main.c: split out all bonoboish bits into
377 * cspi/spi-impl.h: upd. typedefs.
379 * cspi/spi_registry.c: update to lowlevel API,
380 return booleans to indicate success in some places.
382 * cspi/spi_event.c: update to lowlevel API.
384 * cspi/bonobo/Makefile.am: add.
386 * cspi/bonobo/cspi-lowlevel.h: add
388 * cspi/bonobo/cspi-bonobo.c: add
390 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
392 * cspi/Makefile.am: remove spi-listener-impl.[ch],
393 (SUBDIRS): add bonobo, link in the libs.
395 * cspi/spi-util.c: kill this file.
397 * TODO: merge in my bits.
399 2001-12-11 Michael Meeks <michael@ximian.com>
401 * test/test-simple.c (test_value, test_table, main):
402 remove unused variables causing warnings.
404 * configure.in: cleanup checks - require gail.
406 2001-12-11 Bill Haneman <bill.haneman@sun.com>
409 Changed Value interface to use SValue (scalars) rather than
410 assuming all values are floats. This allows floats, doubles,
411 longs, shorts, and unsigned values to be manipulated.
412 Introduced Accessibility:SValue union.
415 Updated to use new API above, and to work correctly with GValues
416 of different types in AtkValue.
419 Updated to use new API above. cspi's API is as yet unchanged.
422 Updated the Value revision action item.
424 2001-12-10 Bill Haneman <bill.haneman@sun.com>
426 * test/test-simple.c:
427 Added test_table (GtkTreeView widget in test window to follow).
428 Un-commented test_value, added GtkRange widget.
429 Added GtkTreeView widget with GtkListStore. It passes regression
430 test but leaks one SPI object for some reason.
433 Fixed bug in impl__set_currentValue.
435 2001-12-10 Michael Meeks <michael@ximian.com>
437 * cspi/spi_text.c: audit for exception handling,
438 tolerating NULL object references safely etc.
440 * cspi/spi_value.c: ditto.
442 * cspi/spi_table.c (AccessibleTable_getSummary),
443 (AccessibleTable_getAccessibleAt),
444 (AccessibleTable_getRowHeader),
445 (AccessibleTable_getColumnHeader),
446 (AccessibleTable_getCaption): fix bugs hidden by
448 (long_seq_to_array): impl.
449 (AccessibleTable_getSelectedRows),
450 (AccessibleTable_getSelectedColumns): use it.
452 2001-12-10 Bill Haneman <bill.haneman@sun.com>
455 Added a TODO list (rough and short for now).
457 * cspi/spi_hyperlink.c:
458 * cspi/spi_hypertext.c:
459 Fixed macro name typos, and remove use of obsolete macro in
460 AccessibleHyperlink_getLink.
463 * cspi/spi_accessible.c:
464 * cspi/spi_application.c:
465 * cspi/spi_component.c:
466 * cspi/spi_selection.c:
469 Documentation fixes (removed return values from ref/unref methods).
471 2001-12-10 Michael Meeks <michael@ximian.com>
473 * cspi/spi_action.c: audit for exception handling,
474 tolerating NULL object references safely etc.
476 * cspi/spi_accessible.c: ditto.
478 * cspi/spi_component.c: ditto.
480 * cspi/spi_editabletext.c: ditto.
482 * cspi/spi_hyperlink.c: ditto.
484 * cspi/spi_hypertext.c: ditto.
486 * cspi/spi_image.c: ditto.
488 * cspi/spi_selection.c: ditto.
490 2001-12-10 Michael Meeks <michael@ximian.com>
492 * configure.in: use cspi/libspi.pc.in instead.
494 * Makefile.am (pkgconfig_DATA): upd. to match.
496 * test/simple-at.c (report_focus_event): kill hacks around
497 bad return values, use putenv not setenv
499 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
500 fire ChildGone - I killed it.
503 (impl_accessibility_component_get_extents): remove
506 * idl/Accessible.idl: kill ChildGone exception.
508 * cspi/*.[ch]: kill int return from ref / unref.
510 * cspi/spi_main.c (cspi_object_add_check): fold into
511 (cspi_object_add): here.
513 * cspi/spi_component.c (AccessibleComponent_getExtents):
514 handle exceptions elegantly.
516 * cspi/spi-private.h (cspi_check_ev_return),
517 (cspi_return_if_fail): impl.
519 * cspi/spi_accessible.c: use extensively.
520 (AccessibleStateSet_equals): add direct compare check.
522 * cspi/spi_selection.c: tolerate NULL objs, and check
523 exceptions before return.
525 * cspi/spi-util.c (cspi_warn_ev): rename to
526 (cspi_check_ev): this & don't pass ev in; no point.
528 2001-12-10 Michael Meeks <michael@ximian.com>
530 * test/test-simple.c: use putenv not setenv
531 (get_environment_vars): more chatty if you're not using
534 * test/simple-at.c: do the setenv so more people see the
537 2001-12-10 Bill Haneman <bill.haneman@sun.com>
540 Changed check of CORBA_environment on notification to be a warning
541 instead of an error for the moment, since we can recover from this
542 error when caused by a queued notification from a dead app.
545 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
546 used by all current implementors of AtkValue), and coerce to
547 CORBA_float. (Proper general case fix may require change to Value.idl).
549 2001-12-09 Bill Haneman <bill.haneman@sun.com>
553 * cspi/spi_accessible.c:
554 Documentation fixes: added user_data params to documentation for
555 listeners and callbacks.
557 * cspi/spi_accessible.c:
558 Changed AccessibleStateSet_compare to return a
559 StateSet rather than return the difference set into a third parameter.
562 2001-12-09 Bill Haneman <bill.haneman@sun.com>
565 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
566 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
570 Remove subdirectory po from SUBDIRS for now.
572 * at-bridge/bridge.c:
573 Beefed up a couple of debug printouts.
574 One-line fix for signal notification name formatting.
576 * libspi/accessible.c:
577 Added assertion to spi_accessible_new ().
579 * libspi/application.c:
580 Put #ifdef qualifiers around a printf.
583 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
585 * registryd/Makefile.am:
587 Replaces use of XML_I18N_MERGE_SERVER_RULE with
588 INTLTOOL_SERVER_RULE macro.
591 Added an event listener for several ATK signals, for
592 testing and debugging. Removed a few g_warnings.
593 Added test output if focussed item implements the Value interface.
595 * test/test-simple.c:
596 Added test_value () function (known not to pass at the moment, so
597 not actually called yet.
599 2001-12-08 Michael Meeks <michael@ximian.com>
601 * at-bridge/bridge.c (bridge_focus_tracker),
602 (emit_eventv): fix the same ref. leak.
603 (register_atk_event_listeners): don't leak.
605 * cspi/spi-listener-impl.c (cspi_event): more
606 protection from client code.
608 * test/test-simple.c (test_desktop): unref the app.
610 * test/Makefile.am: upd. TESTS.
612 * at-bridge/bridge.c (bridge_exit_func): release the registry.
614 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
616 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
618 * cspi/spi_registry.c: constify in strings.
619 (deregisterGlobalEventListenerAll): don't release the ref.
621 * cspi/spi.h: start removing redundant / conflicting
622 gtkdoc comments, making the API readable at a glance :-)
624 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
626 * test/keysynth-demo.c (keysynth_exit, main): upd.
628 * test/simple-at.c (main, simple_at_exit): upd.
630 * test/test-simple.c (unutterable_horror): kill.
631 (utterable_normal_derefs): kill.
632 (main): upd & do a setenv before gtk_init, so that we
633 can use memprof - and to save the pain of remembering
634 this, if we're running under memprof - don't exit.
636 * cspi/spi_main.c (SPI_exit): return exit status
638 (SPI_event_quit): impl.
639 (SPI_event_main): simplify.
640 (cspi_is_gnome_app): kill.
641 (SPI_init): kill isGNOMEapp arg.
643 * at-bridge/bridge.c (register_atk_event_listeners):
644 re-instate the unref.
645 (bridge_exit_func): don't re-activate the registry,
646 protect vs. theoretical re-entry, use the
647 AT_BRIDGE_SHUTDOWN env. var to determine whether to
648 assert a clean shutdown - for regression tests.
650 2001-12-08 Abel Cheung <maddog@linux.org.hk>
652 * configure.in: Comment out dummy i18n support for now,
653 otherwise it fails to build.
654 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
655 EXTRA_DIST. They are missing in tarball.
657 2001-12-07 Michael Meeks <michael@ximian.com>
659 * util/magnifier.c: kill bonobo activation reg. race.
662 (impl_accessibility_component_get_extents): make it match
665 * libspi/registry.c (_registry_notify_listeners):
666 re-remove X headers & reconcile conflicts.
667 (spi_listener_struct_free): bad conflict resolve.
668 (impl_accessibility_registry_register_application):
669 more bad merging fixed.
670 (impl_accessibility_registry_deregister_application): ditto.
671 (spi_registry_new): ditto.
672 (spi_registry_init): don't have an applications field.
674 [ merge fixups2 branch to here ]
675 2001-12-07 Michael Meeks <michael@ximian.com>
677 * test/simple-at.c (report_focus_event),
678 (report_focussed_accessible): remove g_warning debug.
680 2001-12-07 Michael Meeks <michael@ximian.com>
682 * test/test-simple.c (validate_tree): comment out some checks.
683 (test_desktop): app now not registered idly - horay.
685 2001-12-07 Michael Meeks <michael@ximian.com>
687 * cspi/spi_registry.c
688 (registerAccessibleKeystrokeListener): clean, stop it leaking
689 great swathes of memory, and device event controller references.
690 ensure we always pass valid sequences.
691 (deregisterAccessibleKeystrokeListener): ditto.
692 (generateKeyEvent): upd.
694 * at-bridge/bridge.c (bridge_key_listener): handle
695 registry dead exception gracefully.
696 (bridge_focus_tracker, emit_eventv): free ev.
698 * test/simple-at.c (report_focus_event): fix polarity.
700 * libspi/application.c (notify_listeners): kill the ev
701 argument, and make sure we init the ev we use.
702 (spi_application_object_event_listener): split out a chunk
703 (get_atk_object_ref): here & fixup.
704 (reverse_lookup_name_for_toolkit_event): make const.
705 (spi_application_toolkit_event_listener): fixup, kill leaks
708 * at-bridge/bridge.c (register_atk_event_listeners):
709 don't unref the noop object - causes grief.
711 * libspi/registry.c: remove the X headers.
712 turn off the debug churn.
714 * libspi/accessible.c (spi_accessible_new_return): only
715 release the ref if we are supposed to [doh]
717 * test/simple-at.c (report_button_press, report_focus_event):
718 guard vs. unexpected exit.
720 * at-bridge/bridge.c (gtk_module_init): prune printf.
721 (bridge_exit_func): fix app unref.
723 * libspi/Makefile.am: don't install registry or desktop.h
725 * libspi/*.h: update includes.
727 * libspi/application.h: don't include ourself, or
728 other redundant headers.
730 2001-12-06 Michael Meeks <michael@ximian.com>
732 * libspi/accessible.c
733 (get_accessible_from_servant): impl.
734 Upd. all CORBA impl.s to use it killing cut and paste.
736 * cspi/spi_main.c (cspi_cleanup): guard vs. double
738 (SPI_init): register atexit cleanup handler here.
740 2001-12-06 Michael Meeks <michael@ximian.com>
742 * at-bridge/bridge.c (gtk_module_init): g_error on
745 2001-12-06 Michael Meeks <michael@ximian.com>
747 * at-bridge/bridge.c (gtk_module_init): some sort of
748 confusing merge clash - reverted.
749 (bridge_idle_init): ditto.
751 * test/test-simple.c (main, utterable_normal_derefs):
752 merge from Bill - somehow not committed.
754 2001-12-06 Michael Meeks <michael@ximian.com>
756 * libspi/value.c (spi_value_class_init): upd.
757 (spi_value_finalize): kill.
759 * libspi/table.c (spi_table_finalize): kill.
760 (spi_table_interface_new): upd.
761 (spi_table_class_init): upd.
762 (get_table_from_servant): impl.
763 Upd. all CORBA impl.s to use it killing yet more cut and paste.
765 * libspi/selection.c (spi_selection_finalize): kill.
766 (spi_selection_interface_new): upd.
767 (spi_selection_class_init): upd.
768 (get_selection_from_servant): impl.
769 Upd. all CORBA impl.s to use it killing yet more cut and paste.
771 * libspi/relation.c (spi_relation_finalize): kill.
772 (spi_relation_class_init, spi_relation_new): upd
774 * libspi/image.c (spi_image_finalize): kill.
775 (spi_image_class_init): upd.
776 (spi_image_interface_new): upd.
777 (get_image_from_servant): impl.
778 Upd. all CORBA impl.s to use it killing yet more cut and paste.
780 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
781 (spi_hyperlink_finalize): kill.
782 (spi_hyperlink_new): upd.
783 (get_hyperlink_from_servant): impl.
784 Upd. all CORBA impl.s to use it killing yet more cut and paste.
786 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
787 (spi_hypertext_finalize): kill.
788 (spi_hypertext_class_init): upd.
789 (get_hypertext_from_servant): impl.
790 Upd. all CORBA impl.s to use it killing yet more cut and paste.
792 * libspi/editabletext.c (spi_editable_text_finalize): kill.
793 (spi_editable_text_interface_new): upd.
794 (get_editable_text_from_servant): impl.
795 Upd. all CORBA impl.s to use it killing yet more cut and paste.
797 * libspi/text.c (get_text_from_servant): impl.
798 All impls - update to use it killing more cut and paste,
799 also fix bad string returns on duff args ( a somewhat
800 impossible case to handle - but hey ).
801 (spi_text_construct): impl.
802 (spi_text_interface_new): upd.
803 (spi_text_object_finalize): kill.
806 (accessibility_component_object_finalize): kill.
807 (spi_component_class_init): upd.
808 (get_component_from_servant): impl. helper to kill cut & paste.
809 (impl_accessibility_component_contains):
810 (impl_accessibility_component_get_accessible_at_point):
811 (impl_accessibility_component_get_position):
812 (impl_accessibility_component_get_extents):
813 (impl_accessibility_component_get_mdi_z_order):
814 (impl_accessibility_component_get_layer):
815 (spi_component_interface_new): upd.
817 * libspi/action.c (spi_action_finalize): kill.
818 (spi_action_class_init): upd. inherit from SpiObject.
819 (spi_action_interface_new): upd.
820 (get_action_from_servant): impl. helper to reduce cut & paste.
821 (impl_getKeyBinding, impl_getName, impl_doAction),
822 (impl_getDescription): Use it everywhere.
824 * cspi/spi_main.c (get_live_refs): a pointer hash.
825 (spi_object_hash, spi_object_equal): comment out.
826 There are issues with CORBA object hashing that need
829 * libspi/application.c (spi_application_init),
830 (spi_application_new): upd.
832 * libspi/accessible.c (spi_accessible_object_finalize): kill.
833 (spi_accessible_class_init): upd.
834 s/accessible/object/ in epv methods.
836 2001-12-05 Bill Haneman <bill.haneman@sun.com>
838 * at-bridge/bridge.c:
839 Reorder the bridge initialization into the bridge gtk_module_init,
840 an immediate call to bridge_register_app, and an idle_add for
841 register_atk_event_listeners (the only code that *must* wait until
842 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
843 the activation, creates the application's Accessible object, and
844 queues the bridge_idle_init function. Restored call to
845 Accessibility_Registry_deregisterApplication().
846 Prior to making this call we obtain a new reference to the
847 registry, which is a temporary hack that helps us handle apps that
848 shut down the bonobo mainloop before we get there.
851 Fix string leakage in debug block, and don't segv if a an app
852 dies before its event notifications have been propagated.
855 Modify cspi_check_ev() to call g_warning() rather than g_error(),
856 as stopgap measure until we get proper exception handling when
857 objects die during or before interrogation.
861 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
862 Also changed default value of is_gnome_app to TRUE.
865 * test/keysynth-demo.c:
866 Changed use of SPI_init and SPI_event_main to reflect API change above.
869 Made report_focus_event check the warning value from getName
870 before reporting on focussed accessible; simplifies handling of
871 notifications from dead objects.
873 * test/test-simple.c: (Changes not in this patch since source is
876 2001-12-05 Michael Meeks <michael@ximian.com>
878 * registryd/registryd.c (main): protect against
879 bonobo-activation startup race condition.
881 * cspi/spi_main.c (cspi_object_add_check): cope
882 with the exception elegantly.
884 * idl/Accessible.idl: decl. ChildGone
886 * libspi/desktop.c (spi_desktop_dispose): impl.
887 (spi_desktop_class_init): upd.
888 (spi_desktop_add_application),
889 (spi_desktop_remove_application),
890 (abnormal_application_termination): impl.
891 (impl_desktop_get_child_at_index): re-impl.
894 (impl_accessibility_registry_deregister_application),
895 (impl_accessibility_registry_register_application):
896 kill excessive debug clutter.
898 * test/test-simple.c (test_misc): test some NULL
899 tolerance. (main): upd.
901 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
902 implements no interfaces - so let's not crash.
904 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
906 * libspi/accessible.c (spi_accessible_new_return): impl.
907 helper to calm the cut and paste, to cope with
908 NULL AtkObjects effectively and efficiently, and to kill
909 the referencing bugs.
911 * libspi/table.c (impl_getAccessibleAt),
912 (impl_getRowHeader, impl_getColumnHeader): upd.
914 * libspi/hyperlink.c (impl_getObject): upd.
916 * libspi/accessible.c
917 (impl_accessibility_accessible_get_child_at_index): upd.
920 (impl_accessibility_component_get_accessible_at_point): upd.
922 * test/test-simple.c (test_editable_text, test_text): impl.
925 * cspi/spi_editabletext.c
926 (AccessibleEditableText_insertText): constify.
928 * test/test-simple.c (focus_me): make more robust.
930 * libspi/accessible.c: remove some printfs in methods that
931 we test and work fine, so we can get a clean tree dump.
933 * test/test-simple.c (validate_accessible),
934 (validate_tree): make tree dumping pretty too.
936 * at-bridge/bridge.c (bridge_signal_listener): upd. so
937 it builds without debug on.
939 * test/test-simple.c (validate_accessible): fix the most
942 * cspi/spi_main.c (spi_object_release): leave the nicely
943 blanked memory around if in debug mode.
945 * cspi/spi-listener-impl.c (cspi_event): use add_check.
947 [committed to fixups2]
948 2001-12-05 Michael Meeks <michael@ximian.com>
950 * libspi/editabletext.c
951 (spi_editable_text_class_init): g_type_class_peek_parent,
952 not interface peek - so we finalize cleanly.
954 * libspi/accessible.c (spi_accessible_new): kill debug.
956 * test/test-simple.c (validate_accessible): fix ref.
957 leak, print strings before freeing them; sigh, comment a
958 chunk out due to strangeness.
959 (validate_tree): unref the child after use.
961 * cspi/spi_component.c (AccessibleComponent_getLayer):
962 add missing break statement, switch on zlayer not the
963 uninitialized retval.
965 * cspi/spi_main.c (cspi_object_add): add assert, local ref
966 before (possibly re-entering) remote unref.
968 * test/simple-at.c (main): unref the desktop.
970 * cspi/spi_accessible.c (cspi_accessible_is_a): move
973 * cspi/spi_main.c (cspi_accessible_is_a): here to
974 isolate bonobo API usage more.
976 * libspi/registry.c (impl_accessibility_registry_register_application):
979 2001-12-04 Michael Meeks <michael@ximian.com>
981 * test/test-simple.c (validate_tree): upd.
982 IndexInParent check to make it more lucid.
983 (validate_accessible): dump the tree.
985 * libspi/accessible.c (de_register_public_ref),
986 (get_public_refs): impl.
987 (spi_accessible_new): make more efficient & intuitive.
988 Now IndexInParent check works.
990 2001-12-04 Michael Meeks <michael@ximian.com>
992 * cspi/spi-util.h: remove.
994 * cspi/spi.h: move SPI_freeString here
996 * libspi/component.c (impl_accessibility_component_get_layer):
998 (impl_accessibility_component_get_mdi_z_order): ditto,
999 return -1 on error - is this ok ?
1001 * test/test-simple.c (test_application): impl.
1003 * cspi/spi_accessible.c (Accessible_getApplication),
1004 (Accessible_isApplication): impl.
1006 * libspi/registry.c (spi_listener_struct_free): release
1007 the CORBA reference too.
1009 * libspi/accessible.c
1010 (impl_accessibility_accessible_get_parent): fix ref leak.
1012 * libspi/registry.c (spi_registry_new): make the registry
1013 immortal - we don't want it to go away ever.
1015 * libspi/application.c
1016 (spi_accessible_application_finalize): impl. cleanup.
1018 * cspi/spi_registry.c
1019 (deregisterGlobalEventListenerAll),
1020 (deregisterGlobalEventListener),
1021 (deregisterAccessibleKeystrokeListener): fix ref leak.
1023 * cspi/spi_main.c (SPI_init): remove redundant ref.
1025 * test/test-simple.c (unutterable_horror): impl. to force a
1030 (impl_accessibility_registry_deregister_application): release
1031 the application when we de-register it.
1033 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1034 until we have the infastructure to get it right.
1036 2001-12-03 Michael Meeks <michael@ximian.com>
1038 * libspi/Makefile.am: only build eventlistener.[ch]
1040 * libspi/accessible.c
1041 (impl_accessibility_accessible_get_child_at_index): don't leak.
1043 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1044 before we hit the idle handler.
1046 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1047 debugging than exit.
1049 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1051 * libspi/listener.c (impl_notify_event): check source
1052 not NIL before unref.
1054 * libspi/registry.c (impl_registry_notify_event): ditto.
1056 * libspi/eventlistener.c
1057 (impl_accessible_event_notify_event): unref the source.
1059 * libspi/accessibleeventlistener.c
1060 (impl_accessible_event_notify_event): unref the source.
1062 * idl/Event.idl: remove 'hash_id' attribute - of no
1065 * libspi/application.c (notify_listeners): upd list
1067 (spi_application_object_event_listener),
1068 (spi_application_toolkit_event_listener): upd to do correct
1072 (_registry_notify_listeners): update.
1073 (parse_event_type): this method also leaks like a sieve.
1074 (impl_accessibility_registry_deregister_global_event_listener):
1075 fix ETYPE_WINDOW case.
1077 * libspi/application.c
1078 (impl_accessibility_application_register_object_event_listener):
1081 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1083 * libspi/hypertext.c (impl_getLink): ditto.
1085 * cspi/spi_main.c (cspi_object_add): remove
1086 bogus CORBA_Object_duplicate.
1088 * cspi/spi-listener-impl.c (cspi_event): dup/ref
1091 * cspi/spi_accessible.c
1092 (Accessible_getRelationSet): fix leak / referencing issue.
1094 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1095 (cspi_object_add, cspi_object_unref): upd.
1096 (spi_object_release, get_live_refs): impl.
1097 (cspi_cleanup): simplify.
1099 * *.[ch]: s/boolean/SpiBoolean/
1101 * cspi/spi_accessible.c (role_names): actualy order so it
1102 corresponds with the enum !
1104 * test/test-simple.c (test_roles): check some role strings
1105 vs. enums to detect offset errors.
1107 2001-12-01 Michael Meeks <michael@ximian.com>
1109 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1111 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1113 (Accessible_getChildAtIndex): use cspi_add_check so we
1114 check the ev before using a (possibly) invalid value.
1116 * libspi/accessible.c
1117 (impl_accessibility_accessible_get_parent): don't segv
1120 * at-bridge/bridge.c (gtk_module_init): upd.
1121 (bridge_property_event_listener): don't leak strings
1123 (bridge_state_event_listener),
1124 (bridge_property_event_listener): don't use a static
1125 buffer in case of recursive event emission &
1126 re-enterancy - split out the swathe of cut and paste
1128 (emit_eventv): and fix 2 ref leaks here & comply to the
1130 (bridge_register_app): rename to
1131 (bridge_idle_init): this and kill arg parsing, split
1132 various inits & bonobo-activation registration to module
1133 init time, kill referencing error.
1134 (bridge_exit_func): fix the same leak.
1135 (bridge_focus_tracker): don't leak event structures
1137 (bridge_signal_listener): more leakage and cut & paste
1139 (bridge_key_listener): return the result - FIXME is
1140 this polarity correct ?
1141 (accessibility_keystroke_from_atk_key_event): rename
1142 (accessibility_init_keystroke_from_atk_key_event): and stop
1144 (gtk_module_init): return a value - not that it is checked by
1146 (bridge_key_listener): register my horror at casting between
1147 IDL defined structs.
1148 (bridge_get_registry): kill - not used.
1150 * cspi/spi_accessible.c (Accessible_getRole): make return const.
1152 * test/test-simple.c (test_roles): impl.
1153 (test_desktop, validate_accessible, validate_tree): impl.
1155 * cspi/spi_accessible.c (role_names): fixup bogus
1156 MAX_ROLES setup, make constants const for efficient linkage
1157 (AccessibleRole_getName): conform to coding style, make
1160 2001-11-30 Michael Meeks <michael@ximian.com>
1162 * cspi/spi.h: add missing prototype.
1164 * libspi/registry.c (spi_listener_struct_new): fix sig.
1166 * test/Makefile.am: add test-simple
1168 * test/test-simple.c: add
1170 * test/test.sh: add.
1172 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1174 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1175 do it straight - since otherwise we often get an activation race.
1177 [ work before Bill duplicated a chunk of it ... ]
1178 2001-11-30 Michael Meeks <michael@ximian.com>
1180 * libspi/keystrokelistener.c
1181 (spi_keystroke_listener_class_init): fixup arg
1184 * libspi/eventlistener.c
1185 (spi_event_listener_class_init): ditto.
1187 * tests/test.sh: add.
1189 * cspi/spi-listener-impl.h: update macros.
1191 * cspi/spi-listener-impl.c
1192 (cspi_event_listener_remove_callback): add
1193 correct pre-conditions.
1195 * cspi/spi_main.c (SPI_exit): guard vs. double
1196 exits, exit the mainloop nicely.
1197 (SPI_event_main): make more sense.
1198 (SPI_init): move the atexit evilness here so we
1199 always do it (yuck).
1200 (SPI_event_main): upd.
1202 * test/simple-at.c: update for listener changes.
1204 * registryd/registryd.c (main): prune kruft.
1206 * libspi/libspi.h: upd.
1208 * libspi/eventlistener.[ch]: rename broken macros.
1210 * libspi/accessibleeventlistener.[ch]: remove.
1212 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
1214 * test/test-simple.c: Add - automated tests.
1216 * cspi/spi-listener-impl.c (cspi_event),
1217 (cspi_key_event): add user_data to invoke.
1218 (cspi_keystroke_listener_finalize): impl.
1219 (cspi_keystroke_listener_class_init): upd.
1222 (createAccessibleEventListener),
1223 (AccessibleEventListener_addCallback),
1224 (createAccessibleKeystrokeListener),
1225 (AccessibleKeystrokeListener_addCallback): upd.
1227 * libspi/deviceeventcontroller.c
1228 (spi_device_event_controller_check_key_event): add public proto.
1231 (impl_accessibility_registry_deregister_global_event_listener):
1232 always init listeners.
1233 (_registry_notify_listeners): yes it is.
1235 * cspi/spi-listener-impl.c (cspi_key_event):
1237 (cspi_event_listener_finalize): impl.
1238 (cspi_event_listener_class_init): hook up.
1239 (event_handler_new, event_handler_free),
1240 (event_list_remove_by_callback): impl.
1241 (cspi_event_listener_remove_callback),
1242 (cspi_keystroke_listener_remove_callback),
1243 (cspi_keystroke_listener_add_callback),
1244 (cspi_event_listener_add_callback): upd.
1246 * libspi/keystrokelistener.c
1247 (keystroke_listener_object_finalize): kill
1248 (spi_keystroke_listener_class_init): upd.
1249 (spi_keystroke_listener_add_callback),
1250 (spi_keystroke_listener_remove_callback): kill,
1252 (impl_key_event): prune drasticaly.
1254 * libspi/eventlistener.c
1255 (spi_event_listener_add_callback),
1256 (spi_event_listener_remove_callback): kill, use
1258 (impl_accessible_event_notify_event): upd.
1259 (spi_event_listener_object_finalize): remove.
1261 * libspi/Makefile.am: use eventlistener.[ch]
1263 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1265 * libspi/registry.c (_registry_notify_listeners):
1266 Changed listener loop iteration to use preferred convention.
1267 Got rid of string memory leaks caused be calling g_strconcat
1268 inside function calls.
1270 * libspi/registry.c (parse_event_type):
1271 Stopped g_strconcat memory leaks, free the g_strsplit return,
1272 g_strdup the split pieces when used, etc.
1274 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1277 Change method 'compare' to return a 'difference set' rather than
1278 taking a StateSet as an out parameter (more Java-friendly).
1280 * idl/Accessible.idl:
1281 Added CORBA struct 'BoundingBox', to faciliate API changes below:
1283 * idl/Component.idl:
1285 Changed methods 'getExtents' and 'getImageExtents' in these
1286 interfaces to return a BoundingBox structure.
1287 (getPosition and getSize are redundant and possibly should be
1288 removed, rather than creating a corresponding Point struct.)
1290 * cspi/spi_component.c:
1291 Modify implementation of getExtents to reflect the above IDL
1296 Add (missing) AccessibleImage_getExtents () API.
1298 * docs/reference/cspi/at-spi-cspi-sections.txt:
1299 Added AccessibleImage_getImageExtents () to docs.
1301 2001-12-03 Bill Haneman <bill.haneman@sun.com>
1303 * idl/Component.idl:
1304 Added two methods, getLayer () and getMDIZOrder (), to reflect
1305 the new ATK methods atk_object_get_layer and
1306 atk_object_get_mdi_z_order. (Which arguably should be part of the
1307 AtkComponent API and AtkObject). Also added an enum,
1308 ComponentLayer, for the first method's return value.
1310 * libspi/component.c:
1311 Added implementations for these methods.
1313 * cspi/spi_component.c:
1315 Added cspi binding methods for above,
1316 AccessibleComponent_getLayer() and
1317 AccessibleComponent_getMDIZOrder().
1318 Added cspi enum 'AccessibleComponentLayer'.
1320 * docs/reference/cspi/at-spi-cspi-sections.txt:
1321 Added above methods to docs.
1325 Changed typedef for 'boolean' type (and all references to it) to
1326 SPIBoolean, to avoid keyword clashes with C++.
1329 Changed usages of 'boolean' to SPIBoolean.
1331 * test/keysynth-demo.c:
1332 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
1333 app), except where SPIBoolean is required by the callbacks API.
1335 2001-12-02 Bill Haneman <bill.haneman@sun.com>
1337 * cspi/spi_registry.c:
1338 Removed obsolete X event loop for passive keygrabs (which now
1341 * registryd/registryd.c:
1342 Removed unnecessary call to gdk_init() [cruft]. This also allows
1343 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
1346 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1348 * docs/reference/cspi:
1349 Included docs for SPI_freeString in generated documentation.
1352 Renamed spi_freeString to SPI_freeString, for consistency. Added
1353 documentation for this function.
1356 Renamed spi_freeString to SPI_freeString, for consistency.
1357 Removed obsolete method declaration string_from_corba_string.
1359 * test/keysynth-demo.c:
1360 Small tweak to comments.
1363 Stopped leaking the strings returned from CSPI.
1365 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1367 Merged Michael's branch (see his ChangeLog entries below).
1369 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
1370 bridge is alive, release on exit.
1372 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
1373 Fix type check macro.
1376 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
1379 Added is_gnome_app static, and method cspi_is_gnome_app(),
1380 so we can call the appropriate shutdown routine at exit in SPI_exit.
1382 * cspi/spi_main.c (cspi_object_ref):
1383 Duplicate the corba object passed in, since we're keeping it around.
1385 * cspi/SPI_exit.c, cspi_cleanup:
1386 Moved the releasing of the live refs to its own function, so we
1387 can put it in g_atexit (). Call the appropriate shutdown API
1388 depending on whethe calling client is a gnome app or not
1389 (bonobo_main_quit or CORBA_ORB_shutdown).
1391 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
1392 Unref the listener when this method is called, after
1393 deregistration. Updated the API docs to note this behavior.
1395 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
1396 Bugfixes: Ref the bonobo object when returning a parent or child
1397 reference, or an AccessibleRelation. Generally made sure
1398 BonoboObject refcount is incremented whenever we return an
1401 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
1402 Fixed typo/bug in signal declaration.
1404 * libspi/accessibleeventlistener.h:
1407 * libspi/application.c (spi_application_new):
1408 Fixed leak in initialization.
1411 Remembered to increment bonobo-object refcount when returning
1412 children (applications) from desktop object.
1413 Added (empty) finalize method.
1415 * libspi/deviceeventcontroller.c:
1416 Hold a ref to listeners inside DEControllerKeyListeners.
1417 Added dec_key_listener_free() method. Use prepend instead of
1418 append in key_listener list. Fixed some refcount madness and
1419 leaks in the listener registration/deregistration - deregistration
1420 now calls dec_key_listener_free() on listeners, and on the
1421 temporarily constructed dec_key_listener() used to perform the search/match.
1423 * libspi/hypertext.c (spi_hypertest_finalize):
1424 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
1425 class. Also fixed spi_hypertext_interface_new() and
1426 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
1428 * libspi/hypertext.h:
1429 Removed pointless and duplicate AtkObject pointer from
1432 * libspi/keystrokelistener.c:
1433 Fixed incorrect type of keystroke_listener_parent_class,
1434 renamed keystroke_listener_object_finalize to
1435 spi_keystroke_listener_object_finalize.
1436 Fixed typo in signal declaration
1437 (spi_keystroke_listener_class_init).
1439 * libspi/registry.c:
1440 Added funcsions spi_listener_struct_new() and
1441 spi_listener_struct_free() to help with memory management issues.
1442 We also now use these methods instead of gnew + poking stuff into
1443 the struct, and to decrement listener counts/free the listeners
1444 when deregistering them.
1445 Fix more refcount bugs in getDesktop() and
1446 getDeviceEventController().
1449 De-ref the desktop after enumerating the applications. Explicitly
1450 decrement the refcounts on the created listeners on exit (using
1451 _unref for keystroke listeners, and via the
1452 deregisterGlobalEventListenerAll command for other event
1455 2001-11-27 Michael Meeks <michael@ximian.com>
1457 * cspi/spi-listener.h: fixup enum.
1459 2001-11-27 Michael Meeks <michael@ximian.com>
1461 * cspi/spi-listener-impl.c (cspi_event_listener_new),
1462 (cspi_keystroke_listener_new): Use the cspi variants.
1464 2001-11-26 Michael Meeks <michael@ximian.com>
1466 * test/keysynth-demo.c: fix 2 compile warnings, missing
1469 * test/simple-at.c (report_focussed_accessible),
1470 (report_focus_event, report_button_press),
1471 (check_property_change, is_command_key),
1472 (report_ordinary_key_event, report_command_key_event): upd.
1474 * util/mag_client.h: include pre-requisites.
1476 * libspi/accessibleeventlistener.c
1477 (spi_event_listener_object_finalize): free any lingering
1480 * libspi/keystrokelistener.c
1481 (keystroke_listener_object_finalize): ditto.
1483 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1484 callbacks, with cspi types.
1486 * cspi/spi_event.c (createAccessibleEventListener): chain to
1487 (AccessibleEventListener_addCallback): here.
1488 (createAccessibleKeystrokeListener): chain to
1489 (AccessibleKeystrokeListener_addCallback): here.
1491 * libspi/keystrokelistener.c
1492 (spi_keystroke_listener_class_init): add signal.
1493 (impl_key_event): emit the event.
1494 (boolean_handled_accumulator): impl.
1495 (marshal_BOOLEAN__POINTER): add, gack.
1497 * libspi/accessibleeventlistener.c
1498 (spi_event_listener_class_init): add signal.
1499 (impl_accessible_event_notify_event): emit the signal &
1500 make the loop efficient.
1501 (spi_event_listener_add_callback): prepend the callback.
1503 * libspi/accessibleeventlistener.h: add an 'event' signal,
1504 decl type on callback.
1506 * libspi/keystrokelistener.h: ditto.
1508 * cspi/spi-listener.h: make methods typesafe and
1509 make them use the new event typedefs.
1511 * test/simple-at.c (report_focussed_accessible):
1512 include mag_client.h
1513 Use *(void *)text_interface not the other thing.
1515 * configure.in: add gtk to registryd bits - since we use
1518 * util/magnifier.c: include libbonobo.h
1520 2001-11-25 Bill Haneman <bill.haneman@sun.com>
1522 * test/keysynth-demo.c:
1523 Turned this into a simple scanning keyboard, to demonstrate the
1524 use of g_timeout_add () as a means of creating timers for
1525 scanning, and the use of GtkStyle for visually indicating when
1526 virtual keyboard elements are selected.
1528 keysynth-demo now listens to any keyboard keys with zero-valued
1529 keycodes (i.e. 'unused' keys) and interprets them as
1532 Reworked the shiftlatch code so that shift-down state isn't held
1533 for long periods (it's only synthesized immediately prior to
1534 the keysynth event it's modifying). Note that shiftlatch in this
1535 demo is a convenience, not intended to take the place of AccessX
1536 which is the better choice for getting 'sticky' modifier keys.
1538 * libspi/deviceeventcontroller.c:
1539 * at-bridge/bridge.c:
1540 * cspi/spi_registry.c:
1541 Removed some debug print stuff, and put other verbosity in #ifdef
1546 Implemented some more of the magnifier IDL for the simple
1547 magnifier: namely, getZoomRegionParams.
1548 Added mag_x and mag_y members to MagnifierData struct, aid of this
1550 Added GtkWindow::realize signal handler to magnifier, to keep it
1551 from receiving keyboard focus from the WM.
1553 2001-11-23 Mark McLoughlin <mark@skynet.ie>
1555 * cspi/spi-private.h: my guess at what michael forgot
1556 before he ran off to NZ :-)
1558 2001-11-23 Michael Meeks <michael@ximian.com>
1560 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
1561 comment out non existant method invoke so we link.
1563 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
1564 use bonobo_exception_get_text for more friendly warnings.
1566 * cspi/spi.c (Obj_Add): move into spi_main & rename
1567 spi_object_add; kill spi.c
1569 * cspi/spi_registry.c
1570 (deregisterGlobalEventListener),
1571 (deregisterGlobalEventListenerAll),
1572 (registerGlobalEventListener): fix exception leaks.
1574 * cspi/spi_main.c (spi_exception): impl. helper, so we
1575 don't leak exceptions.
1577 * cspi/spi_selection.c
1578 (AccessibleSelection_deselectSelectedChild): return the
1581 * cspi/spi_main.c (spi_ev): impl; hack - gack.
1582 (spi_registry): ditto.
1583 (SPI_init): guard against double inits.
1585 * cspi/*.c: use spi_ev (), and spi_registry () where
1586 appropriate - a temporary hack until we have something
1587 better. Use spi_object_add
1589 2001-11-22 Michael Meeks <michael@ximian.com>
1591 * cspi/Makefile.am: re organise, install the headers.
1593 * cspi/*.h: add G_BEGIN/END_DECLS
1595 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1598 Added non-preemptive keylistener for key events with no modifiers
1599 and shift-only modifier.
1601 * libspi/keystrokelistener.c:
1602 Removed some verbose diagnostics printout.
1604 * cspi/spi_registry.c:
1605 Fixed a bug that caused all key listeners to be registered as
1608 * libspi/deviceeventcontroller.c:
1609 Fixed bug that caused XGrabKey (preemptive key grab) to be called
1610 for non-preemptive key masks.
1613 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1615 * docs/reference/idl/at-spi-idl-docs.sgml:
1616 * docs/reference/idl/at-spi-idl-sections.txt:
1617 * docs/reference/idl/at-spi-idl-overrides.txt:
1618 Added missing files.
1620 * docs/reference/Makefile.am:
1621 removed idl from SUBDIRS until we can figure a way to get gtk-doc
1622 to scan the IDL files :-(
1627 Added .cvsignore files.
1629 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1631 * libspi/deviceeventcontroller.c:
1632 * libspi/keystrokelistener.c:
1634 * cspi/spi_registry.c:
1635 Added filters for KeySets, KeyEventSeq, and event types to key
1636 event dispatching, so listeners should only receive those events
1637 that they requested :-)
1639 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1644 * docs/reference:Makefile.am:
1645 * docs/reference/cspi:
1646 * docs/reference/cspi:Makefile.am:
1647 * docs/reference/cspi:tmpl:
1648 * docs/reference/cspi:tmpl:*.sgml:
1649 * docs/reference/idl:
1650 * docs/reference/idl:Makefile.am:
1651 * docs/reference/idl:at-spi-idl-sections.txt:
1652 * docs/reference/idl:at-spi-idl-docs.sgml:
1653 * docs/reference/idl:tmpl:
1654 * docs/reference/idl:tmpl:*.sgml:
1656 Restructured docs directory to allow separate 'reference' docs
1657 section, and forked idl and cspi docs. Added the sgml template
1658 files to CVS. Added the first sections/structural sgml for the
1661 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
1663 * configure.in, libspi/Makefile.am: find libXtst.
1665 2001-11-21 Michael Meeks <michael@ximian.com>
1667 * test/accessx-gui.c: s/spi_value/value/ - doh.
1669 * libspi/base.[ch]: add.
1671 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1673 * idl/Accessible.idl:
1674 * idl/Application.idl:
1677 Started gtk-doc cleanup on IDL.
1679 * libspi/deviceeventcontroller.c:
1680 Added and connected non-preemptive key notification from the
1681 toolkits (in addition to the pre-emptive support from XServer
1682 which we had before, but which causes 'focus flashing'). Filters
1683 are presently limited to key modifiers and global/non-global,
1684 KeySets are presently ignored, as are KeyEvent masks.
1686 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1687 structs into the persistant structure rather than just storing
1688 pointers to things that might not persist across servant
1691 The XGrabKey call now does async keygrabs, because synchronous
1692 ones were deadlocking with GDK_event code in a very nasty way.
1694 Added boolean to internal method notify_keylisteners, to indicate
1695 whether the event came from the 'toolkit source' or the 'global
1696 (XServer) source' - this is used in the notification process to
1697 determine which listeners to send the event to.
1699 deviceeventcontroller.c is now warning-free.
1701 * libspi/registry.c:
1702 Fixed regression in application de-registration.
1703 Also fixed some really brain-dead weirdness having to do with
1704 event dispatching - event structs are now duplicated before being
1705 re-marshalled in the dispatch to listeners. This also fixes a
1706 Solaris build problem.
1709 2001-20-11 Michael Meeks <michael@ximian.com>
1712 (impl_accessibility_registry_deregister_global_event_listener):
1715 * libspi/deviceeventcontroller.c
1716 (spi_device_event_controller_check_key_event): return
1717 FALSE on no virtual method.
1719 * libspi/*..h: make includes work on a correctly pathed install.
1721 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
1723 * libspi/application.h: kill unused ( and whacked out )
1724 gboolean *spi_application_set_id (AtkObject *app, long id);
1726 2001-20-11 Michael Meeks <michael@ximian.com>
1728 * libspi/*.[ch]: further convert to bonobo's type func
1729 macros, remove redundnant casts etc.
1731 * libspi/text.c s/accessibility_text/spi_text/g,
1732 re-order to de-cruft.
1734 * libspi/hypertext.c: re-order to kill a huge slew
1735 of redundant forward decls.
1737 * libspi/relation.c: ditto.
1739 * libspi/image.c: ditto.
1741 * */.cvsignore: update
1743 2001-20-11 Michael Meeks <michael@ximian.com>
1745 * libspi/deviceeventcontroller.c
1746 (_controller_register_with_devices): use g_getenv,
1747 kill stdlib.h include.
1749 * libspi/keystrokelistener.c
1750 (spi_keystroke_listener_get_type): kill
1751 (spi_keystroke_listener_class_init),
1752 (spi_keystroke_listener_init): rename to this.
1754 * libspi/text.c (impl_getAttributes): fix warning / bug.
1756 * libspi/*.[ch]: more headers, includes and over commenting.
1758 2001-20-11 Michael Meeks <michael@ximian.com>
1760 * libspi/*.[ch]: fixup headers, includes and over commenting.
1762 * libspi/image.c (impl__get_imageDescription): const
1763 correctness warning fix. remove redundant casting.
1765 * libspi/table.c (impl_getRowDescription): ditto.
1766 (impl_getColumnDescription): ditto.
1768 * libspi/libspi.h: add.
1770 2001-19-11 Michael Meeks <michael@ximian.com>
1772 * libspi/editabletext.c (impl_setAttributes): fix warnings.
1774 * libspi/component.c (accessibility_component_get_type):
1775 rename to (spi_component_get_type): and macroify.
1776 (accessibility_component_init): rename to
1777 (spi_component_init): this
1778 (accessibility_component_class_init): rename to
1779 (spi_component_class_init): this
1781 * libspi/action.c (spi_action_get_type): kill, use the macro.
1783 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
1786 * libspi/application.c (spi_application_object_event_listener),
1787 (impl_accessibility_application_register_object_event_listener):
1788 warning fixes / const understanding updates.
1790 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
1793 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1795 * libspi/spi_accessible.c: Added docs and C bindings for
1796 AccessibleStateSet. (No implementations yet). Documentation
1797 coverage for C bindings now 100%. Made docs for event listeners
1802 boolean notifyListenersSync (in DeviceEventListener listener,
1803 in DeviceEvent event);
1805 oneway void notifyListenersAsync (in DeviceEventListener listener,
1806 in DeviceEvent event);
1808 Added DeviceEventListener and DeviceEvent structs (may deprecate
1809 KeyStroke and KeystrokeListener in favor of this generic
1810 event/listener framework for devices).
1812 * libspi/deviceeventcontroller.c:
1814 Changed some key listener code to take masks, etc., and paved the
1815 way for integration of toolkit/non-preemptive key events. Changed
1816 signatures of some internal methods.
1818 * at-bridge/bridge.c:
1819 Fixed regression connecting to interface signals, apparently
1820 caused by GTK+ changes.
1822 Added an internal bridge_state_listener to deal with
1823 property-change:accessible-state signals.
1825 Changed the key_listeners GList to store structs (including masks,
1826 etc.) instead of just CORBA_Objects (required for full
1827 implementation of key listener API).
1829 Connected the bridge to all currently supported Atk signals.
1830 Events now supported:
1831 object:property-change
1832 object:property-change:accessible-name
1833 object:property-change:accessible-state
1834 object:property-change:accessible-description
1835 object:property-change:accessible-parent
1836 object:property-change:accessible-value
1837 object:property-change:accessible-role
1838 object:property-change:accessible-table-caption
1839 object:property-change:accessible-table-column-description
1840 object:property-change:accessible-table-column-header
1841 object:property-change:accessible-table-row-description
1842 object:property-change:accessible-table-row-header
1843 object:property-change:accessible-table-summary
1844 object:children-changed
1845 object:visible-data-changed
1846 object:selection-changed
1847 object:text-selection-changed
1849 object:text-caret-moved
1851 object:row-reordered
1853 object:column-inserted
1854 object:column-reordered
1855 object:column-deleted
1856 object:model-changed
1858 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1860 * libspi/hyperlink.c,h:
1861 Fixed some broken stuff in hyperlink.
1863 * libspi/relation.h:
1864 * libspi/relation.c:
1865 * cspi/spi_accessible.c:
1866 Initial implementations of AccessibleRelation methods, and docs.
1868 * libspi/accessible.c:
1869 Fixed a bug that caused SEGV if an accessible
1870 object's description is NULL, and a client
1871 requests it. An empty string is now returned.
1873 * cspi/spi_editabletext.c:
1874 * cspi/spi_hypertext.c:
1876 * cspi/spi_hyperlink.c:
1880 Doc coverage now 95%.
1882 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1884 One last namespacing revision:
1885 * libspi/accessibleeventlistener.[ch]:
1886 Renamed SpiAccessibleEventListener to SpiEventListener,
1887 (no need for two namespaces ;-)
1889 And lots of documentation fixes:
1891 * docs/at-spi-docs.sgml:
1892 Fixed 'underscore vs. hyphen' bug that was preventing
1893 the gtk-doc API docs from being automatically generated.
1896 * cspi/spi-listener.h
1898 * cspi/spi_accessible.c
1900 * cspi/spi_application.c
1901 * cspi/spi_component.c
1902 * cspi/spi_editabletext.c
1904 * cspi/spi_hypertext.c
1906 * cspi/spi_registry.c
1907 * cspi/spi_selection.c
1911 * docs/at-spi-docs.sgml
1912 * docs/at-spi-sections.txt
1914 Added and fixed up gtk-doc documentation in cspi.
1916 Interfaces now (fully) documented (subject to revision and enhancement):
1918 Event Listener Support
1920 AccessibleApplication
1924 AccessibleEditableText
1931 AccessibleRelationSet
1936 2001-14-11 Bill Haneman <bill.haneman@sun.com>
1938 * at-bridge/bridge.c:
1939 Initial work for toolkit-level key snooper connection by bridge.
1944 New typedefs and fixes to support new namespacing, and cleaner
1945 separation of cspi bindings from libspi bonobo implementation.
1946 Removed inconsistent and extraneous Spi* namespace prefix that
1947 had crept into cspi headers.
1948 Lots of comment fixes that sed had missed.
1950 * cspi/spi-roletypes.h:
1951 * cspi/spi-statetypes.h:
1952 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
1953 to AccessibleRoleType.
1955 * libspi/accessibleeventlistener.h:
1956 Fixed minor namespacing weirdness.
1958 * libspi/deviceeventcontroller.c:
1959 Reordered some internal API for device listeners.
1960 Changed the key registry final boolean to 'is_system_global'
1961 rather than 'is_synchronous', which is more descriptive of its
1963 Added spi_device_event_controller_new().
1964 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
1966 * libspi/keystrokelistener.[ch]:
1967 Namespaced KeystrokeListener to SpiKeystrokeListener.
1968 Changed uses of keymasks to use SPI_ prefix, and did other
1971 * libspi/keymasks.h:
1972 Namespaced keymask constants with SPI_ prefix.
1974 * libspi/registry.c:
1975 Some warning fixes, and knock-on fixes from namespace changes.
1978 Added rules for accessx-gui test program.
1980 * test/accessx-gui.c:
1981 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
1982 utility. It doesn't actually use at-spi, but it's still cool and
1985 * test/keysynth-demo.c:
1989 Fixes so that these test clients work properly with the namespaced
1990 libraries. (Incompletely tested for technical reasons, fixes may follow)
1993 2001-13-11 Michael Meeks <michael@ximian.com>
1995 * libspi/application.c
1996 (impl_accessibility_application_get_version),
1997 (impl_accessibility_application_get_toolkit_name):
1999 (impl_accessibility_application_set_id),
2000 (impl_accessibility_application_get_id): remove
2001 redundant casting code.
2003 * libspi/action.c (impl_getDescription): fix warnings.
2005 * libspi/accessible.c
2006 (impl_accessibility_accessible_get_parent),
2007 (impl_accessibility_accessible_get_child_at_index),
2008 (impl_accessibility_accessible_get_state),
2009 (impl_accessibility_accessible_get_relation_set):
2010 warning fixes & include action.h
2012 2001-13-11 Michael Meeks <michael@ximian.com>
2014 * *.[ch] fix bits I screwed up:
2016 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2017 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2019 2001-13-11 Michael Meeks <michael@ximian.com>
2021 * *.[ch] Namespace libspi into spi_ and Spi.
2023 2001-13-11 Michael Meeks <michael@ximian.com>
2025 * Makefile.am: dist & install at-spi-1.0.pc
2027 * libspi/Makefile.am: install into at-spi-1.0
2029 * idl/Makefile.am (idldir): install into at-spi-1.0
2031 * at-spi-1.0.pc.in: add.
2033 * configure.in: build it.
2035 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2037 * test/keysynth-demo.c:
2038 Use a 'realize' signal-handler to set the WM properties for
2039 the virtual keyboard, rather than making it a "POPUP" type
2040 override-redirect window (thanks to anders carlsson for that
2043 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2046 * test/keysynth-demo.c:
2047 Added new test of key synthesis, which creates a simple
2048 (mouse-operated) onscreen keyboard. It inserts key events into
2049 the currently-focused window, thus it does not grab keyboard focus
2052 * cspi/spi_registry.c:
2053 Added C binding for AT-SPI generateKeyEvent.
2055 * libspi/deviceeventcontroller.c:
2056 Added call to XFilterEvent so that key listener works with XIM (we
2057 hope). Added event_synth_type to generateKeyEvent, so that we can
2058 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2059 synthesize a press/release pair for KeySyms.
2061 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2063 * libspi/Makefile.am:
2064 * registryd/Makefile.am:
2065 (temporary) hack to include libXtst in libspi and registryd.
2066 (Needed for keystroke synthesis, see below).
2069 Improved API for registerKeystrokeListener, in accordance with
2070 discussions with Gnopernicus team and X server research.
2072 * libspi/registry.c:
2073 * libspi/deviceeventcontroller.c:
2074 * libspi/accessible.c:
2075 * libspi/keystrokelistener.c:
2076 Changes and fixes to support keylisteners for potentially
2077 consumed key events (that is, 'passive grabs').
2078 Added implementation for generateKeyEvent() [untested].
2081 Changes to registerKeystrokeListener() API, as above.
2082 Added deregisterGlobalEventListenerAll(), and
2083 deregisterKeystrokeListener(), which are needed for clean exit of
2085 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2086 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2088 * cspi/spi_registry.c:
2089 Added implementations of function prototypes mentioned above.
2091 * registryd/registryd.c:
2092 Added the key listener event source as a g_timeout(), to allow
2093 receipt of key events that are not caught by GDK (since GDK
2094 doesn't support passive keygrabs, this was necessary).
2097 Changed to attach a keylistener to 'Alt' keys, and
2098 respond to the following keycommands: Alt-M (toggle magnifier);
2099 Alt-F (toggle speech); Alt-Q (quit).
2100 Added an exit routine to deregister the listeners, and a key
2101 listener that prints some key info to the console when a key
2102 matches the listener mask (and is thus received by the listener).
2104 * util/idl/Magnifier.idl:
2105 Changes to magnifier API to support multiple zoom regions,
2106 non-uniform scaling in x and y, markDirty, and a host of other
2107 features that would be useful to magnification.
2110 * util/mag_client.c:
2111 * util/mag_client.h:
2112 * util/mag_control.c:
2114 Source code changes to support the above IDL changes.
2117 As above, and also changes to use a (slower) generic conversion
2118 path for colormap conversions, since the fast RGB conversions have been
2119 reported to fail for 16-bit displays.
2121 2001-10-26 Michael Meeks <michael@ximian.com>
2123 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2125 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
2127 * at-bridge/Makefile.am: fix LDFLAGS.
2129 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2131 * at-bridge/bridge.c:
2132 Re-worked listeners for toolkit events, now we have signal
2133 and property listeners. Added a private method
2134 register_atk_event_listeners(), which registers with the
2135 various atk and gtk signals we need to monitor in order to emit
2137 Added emission hook for AtkObject:property-change events, to
2138 support the 'property listeners'.
2139 Fixed some alloc()s of Accessibility_Event structs to use CORBA
2142 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2143 which emit warnings and exit, respectively, if CORBA errors occur
2144 during remote calls, and we now use these methods to check most of
2145 our CORBA calls in the C bindings.
2147 * cspi/spi_accessible.c:
2148 Changed AccessibleSelection_refSelectedChild() to
2149 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2150 now increment refcounts.
2152 * cspi/spi_component.c:
2153 Fixed some long pointer casts (dangerous!) to pass pointers to
2154 CORBA_longs of the proper type to the CORBA stubs, and copy the
2155 data into the longs that were passed into the C bindings code.
2157 * at-bridge/bridge.c:
2159 * libspi/accessible.c:
2160 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2161 hyperlinks, AtkHyperlink is an object type.
2163 * libspi/application.c:
2164 Added various conversions to and from "generic" event types and
2165 atk-specific types; this is really part of the 'bridge'
2166 implementation but is valid for all AtkObject-based accessibility
2169 * libspi/editabletext.c:
2170 Fixed nasty bug wherein editable text's finalize method was
2171 unref'ing tha AtkObject reference that the text parent class was
2172 about to unref _again_. There was also a nasty inheritance bug
2173 that meant that the AccessibleEditableText class was corrupt.
2175 * libspi/selection.c:
2176 Provided implementations for some selection API that was broken.
2178 * idl/Application.idl:
2179 Added registerObjectEventListener () method.
2182 Fixed a number of return values that were Bonobo_Unknowns from
2183 bonobo_object_corba_objref(), which I
2184 forgot to dup before returning. Changed instances of
2185 bonobo_object_corba_objref (bonobo_object(o)) to
2186 BONOBO_OBJREF(o), for concision and clarity.
2188 <2001-10-13 Louise Miller <louise.miller@sun.com>
2190 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2191 idl/Event.idl, idl/Registry.idl
2192 Changed these files to include Bonobo_Unknown.idl instead
2195 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
2197 * libspi/component.c libspi/component.h:
2198 Fixed typo. Added assertions for object checks in
2199 AccessibleComponent code.
2201 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2203 * idl/Accessible.idl:
2204 Added 'isEqual (Accessible *object)'
2205 method for Accessible. (Not Yet Implemented).
2208 Changed signature of registerKeystrokeListener() to
2209 take a KeySet and KeyEventSeq so that specific keys and event
2210 types could be requested for monitoring, and added a flag
2211 is_synchronous so that either synchronous or asynchronous
2212 notification could be requested. (However this is not all
2213 implemented yet). This also meant adding two new typedefs,
2214 KeyEventSeq and KeySet.
2217 Added two new relations, RELATION_TOOLTIP_FOR and
2218 RELATION_LEAFNODE_OF.
2221 Added new state, STATE_HAS_TOOLTIP.
2223 * libspi/text.c, editabletext.c:
2224 Added new assertions to all casts of bonobo-objects from
2225 CORBA servants, to prevent Text API calls on non-text objects.
2226 Changed suspect casts of int-pointer types, so that we
2227 always send a valid CORBA_long pointer to the CORBA APIs that use
2228 in/out long parameters. We then have to copy from the CORBA_long
2229 into the regular long or int for return to the C bindings, or
2230 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
2233 * libspi/deviceeventcontroller.c:
2234 Cleaned these sources up.
2236 Changed return type for getCharacterAtOffset to
2237 CORBA_unsigned_long, to allow for 32-bit characters.
2240 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
2244 Fixed 'make dist' so that distro compiles...
2245 * libspi/keymasks.h:
2247 * cspi/spi-listener.c:
2248 KeystrokeListenerCB now returns a boolean.
2250 Added KeyEventType struct, and KeyStroke.
2251 Also added createKeystrokeListener(),
2252 KeystrokeListener_addCallback(),
2253 KeystrokeListener_removeCallback(), and added a keymask to
2254 registerKeystrokeListener().
2255 * cspi/spi_accessible.c:
2256 Changed numerous return types for interfaces from
2257 AccessibleComponent to Accessible<InterfaceName>; this was
2258 probably a cut-and-paste error.
2260 Implementations of new KeystrokeListener api (from spi.h,
2263 Changes to key modifier mapping.
2264 Created ControllerEventMask struct.
2265 Made DeviceEventController derive from Bonobo::Unknown.
2267 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
2268 * libspi/deviceeventcontroller.c:
2269 Added a number of new internal (private) methods.
2270 * libspi/editabletext.c:
2271 * libspi/editabletext.h:
2272 Fixed a number of bugs related to the fact that
2273 editabletext inherits from text. Fixed the EditableText struct,
2274 the init() call, and use correct casts when calling Text methods
2275 from an EditableText object. Removed (duplicate) atko from the
2276 EditableText structure, we use the one in the parent Text
2277 structure via the casts mentioned above.
2278 * libspi/keystrokelistener.[ch]:
2279 * libspi/registry.c:
2280 Changes in support of keyboard handling (above).
2282 Keyboard handling, though partly functional, is still not
2283 recommended for at-spi client use as there is considerable
2284 work yet to be done.
2287 Changed some places where pointers to various int types
2288 are cast to be pointers to CORBA_long types and vice-versa:
2289 pointer casting is not safe so we pass pointers of the correct
2290 types and then cast the result before putting it into the target
2293 * libspi/text.h: minor typos corrected.
2295 We now speak not only the name of a Text element, but the
2296 first sentence of its content, when it receives focus.
2297 I also changed the text compression to 75% from 50%.
2298 * util/Accessibility_Util.server.in:
2299 Changed the default magnifier type to be a 3x vertical
2300 splitscreen magnifier (was previously a 2x horizontal one).
2302 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
2304 * libspi/keystrokelistener.h:
2305 * libspi/keystrokelistener.c:
2306 Initial functional implementations of KeystrokeListener.
2309 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
2311 Fixed string handling for NULL strings in libspi.
2312 Added spi_freeString to free strings returned by C bindings.
2314 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
2316 * libspi/keystrokelistener.h:
2317 * libspi/keystrokelistener.c:
2318 Began (no-op) implementations of KeystrokeListener
2320 * libspi/deviceeventcontroller.c:
2321 * libspi/deviceeventcontroller.h:
2322 Began creating implementations of DeviceEventController,
2323 to handle keystroke and mouse event listening and
2325 * libspi/accessible.c:
2326 Stubbed-in the implementations for
2327 Accessibility_Accessible_getState and
2328 Accessibility_Accessible_getRelationSet.
2329 * libspi/registry.c:
2330 Improved de-registration process and fixed some bugs,
2331 deregistration now works correctly.
2333 Added initialization of applications list (to NULL).
2335 Reduced speech compression from 0.5 to 0.7, for demo.
2336 Changed call to gdk_window_set_decorations()
2337 to gtk_window_set_decorated().
2338 * at-bridge/bridge.c:
2339 Bridge now deregisters when app exits, via
2340 registration of a cleanup function
2341 with the g_atexit() call.
2342 Required making 'app' static, renamed 'this_app'.
2343 Fixed broken use of bonobo_init, passing argv wrongly.
2345 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
2349 Created a new directory for
2350 accessibility-related utilities, primarily for
2351 testing and demo purposes, but with possible
2358 Onscreen magnifier utility that
2359 is implemented as a bonobo service.
2361 * util/mag_client.c:
2362 * util/mag_client.h:
2363 Client-side support (simple C bindings)
2364 for Magnification service
2366 * util/mag_control.c:
2367 Client program example for
2368 Magnification service
2370 * util/Accessibility_Magnifier.server.in:
2371 Bonobo-activation file for the
2372 Magnification service.
2375 * util/idl/Magnifier.idl:
2376 IDL defining the bonobo Magnification
2380 Modifications to use the bonobo-activated magnifier
2381 above, in place of trying to connect to an existing
2382 magnifier that uses socket-listening IPC.
2384 If env variable MAGNIFIER is set, a magnifier service
2385 will be started if one does not exist.
2387 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
2388 * at-bridge/bridge.c:
2389 applied patch from Marc to build and run
2390 against new glib and gtk+ (seemed like a change
2391 to bonobo_init signature was made ?)
2393 made festival-server support turned off by default.
2394 Added support for a simple magnifier (off by default)
2395 which will be added to a 'util' directory later.
2396 * at-bridge/Makefile.am:
2397 Changed "application.h" header from a 'source'
2398 to a 'dependency' of libat-bridge.
2400 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2408 Added interface implementation c files to list of
2409 includes so they are included in libcspi.
2412 Changed prototype of AccessibleAction_doAction to return a
2414 Changed prototype of AccessibleTable_getCaption to
2415 return an Accessible.
2416 Changed prototype of AccessibleTable_getSelectedRows
2417 and AccessibleTable_getSelectedColumns to
2418 return a long (returns the number of selected rows
2419 or columns respectively).
2420 Changed name of AccessibleText_refRunAttributes to
2421 AccessibleText_getAttributes.
2422 Changed prototype of AccessibleText_getCharacterExtents to
2423 return a void rather than a boolean.
2424 Added support for a AccessibleCoordType parameter
2425 specifying what type of coordinates are desired.
2426 Added an AccessibleCordType parameter to
2427 AccessibleText_getPointAtOffset.
2429 * cspi/spi_accessible.c:
2430 Added code to return the outstanding interfaces from
2431 Accessible_queryInterface.
2433 * cspi/spi_action.c:
2435 Corrected call to getNActions to call the c binding
2438 * cspi/spi_editabletext.c:
2440 Changed name from setRunAttributes to setAttributes.
2442 * cspi/spi_hyperlink.c:
2444 Changed call to getNAnchors to correctly call the c
2445 binding for an attribute.
2447 * cspi/spi_hypertext.c:
2449 Changed getImageDescription to correctly call the
2450 binding for an attribute.
2452 * cspi/spi_selection.c:
2453 Changed getNSelectedChildren to correctly call the c
2454 binding for the attribute.
2455 Changed refSelectedChild to getSelectedChild.
2459 Changed getCaption to return an Accessible.
2460 Fixed calls which retrieve attributes.
2461 Changed refAt to getAccessibleAt.
2462 Changed getNSelectedRows and getNSelectedColumns to
2466 Changed getCharacterExtents and getPointAtOffset to accept an
2467 AccessibleCoordType.
2469 Changed calls which retrieve attributes.
2470 Changed refRunAttributes to getAttributes.
2475 * idl/Hyperlink.idl:
2476 Changed n_anchors attribute to nAnchors to keep naming
2477 convention consistent.
2480 Made Table inherit from Bonobo::Unknown.
2481 Added nSelectedColumns and nSelectedRows attributes.
2484 Made Value inherit from Bonobo::Unknown.
2486 * libspi/hyperlink.c:
2487 Change for nAnchors attributte name change.
2489 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2497 Added interface implementation c files to list of
2498 includes so they are included in libcspi.
2501 Changed prototype of AccessibleAction_doAction to return a
2503 Changed prototype of AccessibleTable_getCaption to
2504 return an Accessible.
2505 Changed prototype of AccessibleTable_getSelectedRows
2506 and AccessibleTable_getSelectedColumns to
2507 return a long (returns the number of selected rows
2508 or columns respectively).
2509 Changed name of AccessibleText_refRunAttributes to
2510 AccessibleText_getAttributes.
2511 Changed prototype of AccessibleText_getCharacterExtents to
2512 return a void rather than a boolean.
2513 Added support for a AccessibleCoordType parameter
2514 specifying what type of coordinates are desired.
2515 Added an AccessibleCordType parameter to
2516 AccessibleText_getPointAtOffset.
2518 * cspi/spi_accessible.c:
2519 Added code to return the outstanding interfaces from
2520 Accessible_queryInterface.
2522 * cspi/spi_action.c:
2524 Corrected call to getNActions to call the c binding
2527 * cspi/spi_editabletext.c:
2529 Changed name from setRunAttributes to setAttributes.
2531 * cspi/spi_hyperlink.c:
2533 Changed call to getNAnchors to correctly call the c
2534 binding for an attribute.
2536 * cspi/spi_hypertext.c:
2538 Changed getImageDescription to correctly call the
2539 binding for an attribute.
2541 * cspi/spi_selection.c:
2542 Changed getNSelectedChildren to correctly call the c
2543 binding for the attribute.
2544 Changed refSelectedChild to getSelectedChild.
2548 Changed getCaption to return an Accessible.
2549 Fixed calls which retrieve attributes.
2550 Changed refAt to getAccessibleAt.
2551 Changed getNSelectedRows and getNSelectedColumns to
2555 Changed getCharacterExtents and getPointAtOffset to accept an
2556 AccessibleCoordType.
2558 Changed calls which retrieve attributes.
2559 Changed refRunAttributes to getAttributes.
2564 * idl/Hyperlink.idl:
2565 Changed n_anchors attribute to nAnchors to keep naming
2566 convention consistent.
2569 Made Table inherit from Bonobo::Unknown.
2570 Added nSelectedColumns and nSelectedRows attributes.
2573 Made Value inherit from Bonobo::Unknown.
2575 * libspi/hyperlink.c:
2576 Change for nAnchors attributte name change.
2579 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
2581 implementations-- made server implementations own AtkObject pointers
2582 rather than their respective AtkInterrface pointers to fix
2583 refcounting. AtkHyperlink is still broken.
2585 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
2586 * cspi/spi_accessible.c:
2587 Added method Accessible_Role_getName(),
2588 and requisite string array (role_names).
2589 Added conversion string_from_corba_strin() call
2590 to Accessible_getName and _getDescription.
2591 * libspi/accessible.c:
2592 Added implementation for Accessible_getRole()
2594 Added festival support, used if environment variable
2597 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2599 * at-bridge/bridge.c:
2600 Now allocate Accessibility_Event using
2601 Accessibility_Event__alloc() instead of g_new0().
2602 * libspi/accessibleeventlistener.c:
2603 Initialize AccessibleEventListener->callbacks to NULL.
2604 Fixed accessible__event_listener_init() param, changed to
2605 "AccessibleEventListener *" type.
2606 Changed a bonobo_object_release_unref() call to
2607 Accessibility_Accessible_unref().
2608 * libspi/listener.c:
2609 Changed Bonobo_Unknown_unref to (equivalent)
2610 Accessibility_Accessible_unref.
2611 * libspi/registry.c:
2612 Changed bonobo_object_release_unref to
2613 Accessibility_Accessible_unref.
2615 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2618 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
2619 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
2620 spi-util.c spi-util.h
2621 Implementations for C bindings to remaining accessibility
2624 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2627 changed return value of Action from void to boolean to
2628 bring in line with ATK.
2631 Changed getText funcions to return "out" start and end offsets.
2632 Changed getAttributes to take and offset and return the start
2633 and end offset of the attribute run.
2634 Changed getOffsetAtPoint and getCharacterExtents to take an
2635 enum describing whether coordinates are window or screen.
2638 libspi/action.c libspi/action.h libspi/editabletext.c
2639 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
2640 libspi/hypertext.c libspi/hypertext.h libspi/image.c
2641 libspi/image.h libspi/selection.c libspi/selection.h
2642 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
2643 libspi/value.c libspi/value.h
2644 Added server implementations for outstanding ATK interfaces
2645 not yet implemented.
2647 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2650 Added (missing) getName() method.
2651 Made nActions an attribute.
2652 * idl/EditableText.idl:
2653 Changed order of params in setAttributes.
2654 * idl/Hyperlink.idl:
2655 Removed getAnchor, added getURI.
2657 Changed attributes to methods, for efficiency
2658 (so that getting extents can be done in one call)
2659 * idl/Selection.idl:
2660 Changed nSelectedChildren to attribute, and re-indented.
2661 * idl/Table.idl: changed nrows, ncolumns, caption, summary
2663 * idl/Text.idl: reformatted to match our coding style.
2664 (temporarily?) removed getRowColumnAtOffset().
2665 Changed text selection API to support multi-select and
2666 non-contiguous selections, as in ATK.
2667 * idl/Value.idl: changed some methods to attributes.
2669 2001-08-24 Mark McLoughlin <mark@skynet.ie>
2671 * libspi/listener.c(impl_notify_event):
2672 BonoboUnkown_unref the source instead
2673 of bonobo_object_release_unref - the ORB
2674 handles the releasing.
2676 * configure.in: require ORBit-2.3.94 for
2679 2001-08-21 Bill Haneman <bill.haneman@sun.com>
2681 Tagged CVS repository 'EA_1_0'.
2682 * README.EARLY_ACCESS:
2683 Alphabetized acknowledgements list, and
2685 Listed some known dependencies of at-spi.
2687 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2689 * docs/at-spi-docs.sgml:
2690 * docs/at-spi-sections.txt:
2691 * docs/at-spi-overrides.txt: (Added zero-length file)
2692 Documentation improvements - gtk-doc should build
2693 docs for all implemented C bindings now.
2696 * cspi/spi.c: (New file)
2697 * cspi/spi_event.c: (New file)
2698 * cspi/spi_registry.c: (New file)
2699 * cspi/spi_accessible.c: (New file)
2700 * cspi/spi_application.c: (New file)
2701 * cspi/spi_component.c: (New file)
2702 Split spi_main.c into six parts, and included them from
2703 "spi.c". This is a bit of a hack, probably temporary,
2704 but required by gtk-doc, apparently.
2706 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2709 * docs/at-spi-docs.sgml:
2710 * docs/at-spi-sections.txt:
2712 Initial checkins/modifications for gtk-doc generation.
2715 Added (missing) interface query methods to Accessible's C binding.
2717 Added GenericInterface type definition.
2719 Added query for AccessibleComponent interface to focus event handler.
2720 Added printout of bounding box for focussed component.
2721 * libspi/component.c:
2722 Added partial implementation for AccessibleComponent to C binding.
2723 * idl/Application.idl:
2724 * libspi/registry.c:
2725 * libspi/listener.c:
2726 * libspi/application.c:
2727 * libspi/application.h:
2728 Changed "ID" attribute type from string to long.
2730 2001-08-19 Bill Haneman <bill.haneman@sun.com>
2734 Made method naming consistent: methods taking object args
2735 start with uppercase, other methods (except those using
2736 acronyms) start with lowercase. Underscores delimit between
2737 object names and method names:
2738 SPI_init() - uppercase since it starts with an acronym.
2739 getDesktopCount () - lowercase start since no object param0.
2740 Accessible_getName() - uppercase object type name, studlyCaps method
2744 Added gtk-doc documentation for all currently implemented
2745 methods in the C bindings API.
2747 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2749 * Makefile.am : changed build order to build test last.
2752 Changed "createEventListener" to "CreateEventListener".
2753 * libspi/accessibleeventlistener.c :
2754 Bugfix for addition of callbacks.
2755 * test/Makefile.am :
2756 * test/simple-at.c :
2757 Added new test that uses the C bindings API.
2759 * libspi/listener.c :
2760 * libspi/registry.c :
2761 * libspi/accessibleeventlistener.c :
2762 * at-bridge/bridge.c :
2763 Renamed member "target" of Accessibility_Event to "source",
2764 which is more descriptive.
2767 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2771 * cspi/Makefile.am :
2772 Added makefile support for at-spi/cspi directory.
2775 * cspi/spi-listener.h : (NEW FILE)
2776 Added support for/use of spi-listener.h.
2778 C bindings now build successfully, with no warnings.
2779 * libspi/accessibleeventlistener.h : (NEW FILE)
2780 * libspi/accessibleeventlistener.c : (NEW FILE)
2781 * libspi/Makefile.am :
2782 Added new object type "AccessibleEventListener"
2783 which inherits from Listener, and allows attachment
2784 of in-process callbacks (so that a client with a listening
2785 object instance can add functionality to the local
2786 implementation, dynamically).
2788 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2790 * libspi/accessible.c:
2791 Add implementation for get_index_in_parent().
2793 Added #include of "spi-roletypes.h", and
2794 added enumerated type AccessibleCoordType.
2795 Added definition for KeystrokeListener (function type).
2798 * cspi/spi-statetypes.h :
2799 * cspi/spi-roletypes.h :
2801 Added these headers, used by spi.h.
2803 Added code (NOTE: not yet built by make).
2805 2001-08-18 Mark McLoughlin <mark@skynet.ie>
2807 * libspi/Makefile.am: generate imodule
2808 at the same time as other idl compiler
2811 2001-08-17 Bill Haneman <bill.haneman@sun.com>
2812 * libspi/registry.c :
2813 * libspi/application.c :
2814 * idl/Application.idl :
2815 Made registration with toolkit an application method,
2816 which is required since each app has its own toolkit static
2817 environment. Thus the bridge must register for
2818 notification of toolkit events from each application in turn.
2819 Toolkit notifications are now successfully registered for, and
2820 sent to the listening at client.
2822 Changed toolkit event string to use hyphens rather than underscores.
2823 * libspi/listener.c :
2824 listner now gives more info in debug mode - it reports the
2825 name of the event received, as well as the name of the source.
2828 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2830 * libspi/registry.c :
2831 added more implementation for toolkit events.
2832 Fixed bug such that toolkit event registrations
2833 (via atk) use the whole event name string, not
2835 Removed a useless call to an ORBit_ method.
2836 * at-bridge/bridge.c :
2837 Removed unused local sbuf[] variable.
2839 We now register for Gtk:GtkWidget:button_press_event
2840 events as well as "focus:" events.
2842 Add some more API from Registry.idl that was missing,
2843 for keystroke listening, keystroke and mouse event
2844 synthesis, and enumeration of accessible desktops.
2846 2001-08-16 Michael Meeks <michael@ximian.com>
2848 * configure.in: use AM_GLIB_GNU_GETTEXT.
2850 * Makefile.am (SUBDIRS): kill intl.
2852 2001-08-15 Michael Meeks <michael@ximian.com>
2854 * registryd/Makefile.am: s/oaf/server/ relocate info file.
2856 * configure.in: upd.
2858 * configure.in: depend on a recent bonobo-activation that
2859 will find our server files ...
2861 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2863 * libspi/accessible.c : accessible_new() :
2864 Now we add the Component interface via bonobo_object_add_interface,
2865 if the contained AtkObject implements AtkComponent.
2866 * libspi/accessible.h : now include "component.h"
2867 * libspi/component.h :
2868 * libspi/component.c : added files - implementation of
2869 bonobo wrapper object for Accessibility/Component
2870 * libspi/listener.c :
2871 Added test code to check for Accessibility/Component:1.0
2872 interface and report whether it is implemented by the
2874 * libspi/registry.c :
2875 Now we check for not only the hash of the whole event
2876 string before relaying the event, we also check the
2877 "minor" event string (without the detail string).
2878 This allows event listeners to be registered against
2879 all events of a certain major+minor type, or just
2880 against a specific major+minor+detail type.
2881 * libspi/accessible.c :
2882 Added implementations for Accessible:get_parent(),
2883 Accessible:getChildCount(), and Accessible:getChildAtIndex().
2884 * libspi/registry.c :
2885 * libspi/listener.c :
2886 Replaced calls to Accessibility_Accessible_ref() and
2887 Accessibility_Accessible_unref() with
2888 calls to bonobo_object_dup_ref() and
2889 bonobo_object_release_unref(), so that the CORBA object
2890 is dup-ed and released when relayed, as well as the bonobo object.
2892 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2894 * libspi/Makefile.am,
2895 registryd/Makefile.am,
2896 at-bridge/Makefile.am.
2897 test/Makefile.am, configure.in:
2898 reverse previous changes.
2900 * /idl/Image.idl: fix typo.
2902 * test/Makefile.am: put DEBUG_FLAGS
2905 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2907 * test/app.c: use argv[0] instead of
2910 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2912 * libspi/Makefile.am,
2913 registryd/Makefile.am,
2914 at-bridge/Makefile.am.
2915 test/Makefile.am, configure.in:
2916 cleanup, replace individual LIBS/CFLAGS with
2917 AT_COMMON_{LIBS|CFLAGS}.
2921 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2923 * configure.in, libspi/Makefile.am:
2924 Change IDL path checking for bonobo-activation
2927 2001-08-15 Bill Haneman <bill.haneman@sun.com>
2929 * registryd/registry.c : separated event listeners to use
2930 3 separate lists (focus, window, toolkit). Began testing
2931 event names against hashes before relaying events.
2932 * test/at.c : now register for events of type "focus:"
2933 * test/app.c : now generate events of type "focus:"
2934 * at-bridge/bridge.c : register with ATK for focus events,
2935 and we now relay those focus events to any "focus:" listeners.
2936 This now works with the bridge as a GTK_MODULE when running test/at.
2937 * libspi/registry.c :
2938 * libspi/listener.c :
2939 now we ref event sources before propagating, and unref on receipt.
2940 * libspi/registry.c :
2941 some changes to internal structs, to support event typestring hashes.
2942 * text/app.c : changed the way the appname is generated.
2943 * cspi : added directory that will hold the C bindings library for
2944 non-CORBA/bonobo-savvy clients.
2945 * cspi/spi.h : header file that contains the function prototypes for the C binding.
2946 * idl/Component.idl : added in parameter to indicate coord system for
2947 geometry-related calls.
2948 * idl/Hyperlink.idl : added readonly n_links attribute
2949 * idl/Image.idl : changed methods to attributes.
2951 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2953 * at-bridge/Makefile.am: link against
2954 ../libspi/libspi.la instead of -lspi.
2956 * at-spi/test/app.c: include
2957 bonobo-activation.h. Use a default appname
2958 if one is not provided.
2960 2001-08-14 Bill Haneman <bill.haneman@sun.com>
2962 * idl/Registry.idl : temporarily changed register_Application
2963 to oneway, to work around issue with initial registration
2965 * idl/Application.idl : changed attribute "id" from readonly
2966 to read-write, since it needs to be assigned by Registry.
2967 * registryd/registryd.c : added call to set application id
2969 * registryd/registry.c : changed de-registration procedure to
2970 use CORBA_Object_hash() to find matching object ref in application
2971 lists and listener lists.
2972 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
2973 began distinguishing between event types (work in progress).
2975 2001-08-13 Bill Haneman <bill.haneman@sun.com>
2978 * libspi/application.c:
2979 Added implementations for get/set id, get_toolkitName,
2981 * registryd/registryd.c :
2985 Converted from use of OAF to bonobo-activation.
2986 * libspi/desktop.h :
2987 * libspi/desktop.c :
2989 Removed references to atksimpleobject, since base atkobject
2990 implementation now provides functionality we need.
2991 * libspi/atksimpleobject.c :
2992 * libspi/atksimpleobject.h :
2997 * at-bridge/Makefile.am
2998 * at-bridge/bridge.c
3001 Added directory "bridge" and contents, and added dependencies
3002 in Makefile.am/configure.in.
3003 Initial checkin of "at-bridge".
3004 This code is a GTK_MODULE which automatically registers
3005 GTK+ apps with the accessibility registry, using an object
3006 reference to the root ATK object.
3008 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3010 * po/Makefile.in.in: Remove. Again. If this
3011 doesn't get autogenerated - you need to update
3014 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3016 * po/Makefile.in.in: Add. Again.
3018 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3020 * libspi/accessible.c : added support for 'description' property.
3021 * libspi/accessible.c
3023 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3024 (since the two are now equivalent in libbonobo)
3032 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3033 Bonobo::Unknown as does Accessibility::Accessible.
3034 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3035 interface with Bonobo::Stream, since it was redundant with it.
3036 (The Stream returned by a StreamableContext object is expected to
3037 implement only a subset of Bonobo::Stream)
3039 2001-07-28 Anders Carlsson <andersca@gnome.org>
3041 * libspi/accessible.c (accessible_object_finalize): Change
3042 g_free to g_object_unref since the AtkObject is a GObject.
3044 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3046 * idl/Accessibility.idl: add new IDL files
3049 * idl/Action.idl: Definitions of actionable UI object
3050 * idl/Component.idl: Definitions of UI component geometry, etc.
3051 * idl/Hyperlink.idl: Defs of hyperlink behavior
3052 * idl/Image.idl: Def of accessible image
3053 * idl/Selection.idl: Definition of UI object with selectable children
3054 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3055 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3056 * idl/Text.idl: Interface defs for UI elements with complex textual content
3057 * idl/Value.idl: Definition of UI element that is a value controller or display
3059 2001-07-27 Michael Meeks <michael@ximian.com>
3061 * po/Makefile.in.in: remove autogenerated file from CVS.
3063 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3066 * idl/Registry.idl: include guard.
3068 * idl/Accessibility.idl: Add, and include all the other IDL
3071 * idl/*.idl: remove mass of pragmas etc.
3073 2001-07-26 Michael Meeks <michael@ximian.com>
3075 * registryd/Makefile.am (registryd_SOURCES): remove
3078 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3080 * libspi/.cvsignore, registryd/.cvsignore,
3081 test/.cvsignore: updated.
3083 * po/Makefile.in.in: gettext update.
3085 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3087 * initial CVS checkin
3089 2001-06-29 Michael Meeks <michael@ximian.com>
3091 * configure.in: add AM_CONFIG_HEADER to gen config.h