1 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3 * libspi/accessible.c (spi_accessible_new ()) :
4 Added check to see if AtkObject is an SpiRemoteObject before
5 creating an SpiAccessible.
7 2002-02-01 Bill Haneman <bill.haneman@sun.com>
9 * libspi/remoteobject.h:
10 * libspi/remoteobject.c:
11 Added definitions for special AtkObject subtype, required for
12 support of remote components (specifically, used by BonoboControl
13 accessibility implementation).
15 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
17 * cspi/spi.h: synched relation types with ATK
19 * cspi/spi_accessible.c: Added implementations of
20 AcccessibleRelation_* methods
22 * idl/Accessibility_Relation.idl: added getRelationTypeName
23 method. Synched known relation types with ATK. Allowed for
24 relation type extension with the RELATION_EXTENDED type.
26 * libspi/relation.c: Provided implementations for
27 AccessibleRelation methods.
29 2002-01-01 Bill Haneman <bill.haneman@sun.com>
31 API tweaks for today's API 'freeze'.
34 Added placeholder functions to allow future compatible expansion
35 of the IDL interfaces.
37 * idl/Accessibility_Registry.idl:
38 Changed generateKeyEvent to generateKeyboardEvent. Changed
39 signature of this method to accept an optional keystring in
40 parameter (for complex text input synthesis) and changed use of
41 simple 'boolean' parameter in registerKeystrokeListener to a
42 struct, EventListenerMode.
44 * cspi/spi_accessible.c:
46 * cspi/spi_streamablecontent.c:
47 Added references to AccessibleStreamableContent interface, and
48 definition and implementation of AccessibleStreamableContent
51 * cspi/spi_registry.c:
53 Changed generateKeyEvent API to generateKeyboardEvent,
54 taking a new (optional) keystring parameter to support complex
59 Renamed directory (to better reflect its actual purpose, bridging
60 from at-spi to ATK). The .so module is also now named
63 * idl/Accessibility_Hypertext.idl:
64 * libspi/accessible.c:
67 Changed Accessibility_Hypertext to *not* derive from
70 * cspi/spi_registry.c:
71 Added list of legal event type names for 'window' events, which
72 completes the registry event API.
74 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
76 * at-bridge/bridge.c: Added registration for separate
77 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
78 signals. If either of the first two parameters to the generic
79 bridge signal handler are ints, they are passed on as event
80 details. This allows an AT to determine what text was inserted.
82 2001-12-21 Bill Haneman <bill.haneman@sun.com>
84 * registryd/deviceeventcontroller.c:
85 Fixed regressions in generateKeyEvent caused by the removal of
86 gdk_init from registryd; we now use pure X calls to connect to the
87 display, which makes sense because deviceeventcontroller already
88 uses a fair bit of X API (should eventually be migrated to a
91 * registryd/desktop.c:
92 Fixed minor regression in spi_desktop_init, changed the way the
93 desktop name is being set to work with new spi_base API
94 (gobject-based, rather than AtkObject-based).
96 * registryd/Makefile.am:
97 Minor revision of makefile to use XTST_LIBS variable rather than
98 hard-wiring the Xtst LD_ADD element.
100 * test/keysynth-demo.c:
101 Tweaked an output message; added initialization of the
102 'keystrings' member of the "switch listener" key_set.
105 Squashed compile-time warning.
107 * libspi/accessible.c:
108 Cosmetic and formatting fixes, renamed a static method.
110 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
112 * libspi/accessible.c
114 * libspi/application.c
118 * libspi/editabletext.c
126 * registryd/desktop.c:
127 Changed SpiBase to contain a GObject pointer rather than an AtkObject
129 2001-12-17 Bill Haneman <bill.haneman@sun.com>
131 * idl/Accessibility_Registry.idl:
132 Added boolean member 'is_text' to DeviceEvent. This is for the
133 use of key events, and helps prevent ambiguity between composed
134 key strings and keysym names, since both may potentially be
135 returned in the 'event_string' member.
137 * at-bridge/bridge.c:
138 * registryd/deviceeventcontroller.c:
139 Use the 'is_text' member when notifying device event listeners.
140 Knon issue: composed characters are not dealt with correctly by
141 the global key listener implementation yet.
143 2001-12-17 Bill Haneman <bill.haneman@sun.com>
145 * at-bridge/bridge.c:
146 Namespaced local static methods to spi_atk_bridge_* where
147 previously named bridge_*, and spi_* elsewhere.
149 * at-bridge/bridge.c:
150 * cspi/bonobo/cspi-bonobo-listener.c:
151 Added demarshalling/conversion for string member of
152 Accessibility_DeviceEvent to AccessibleKeystroke.
154 * registryd/deviceeventcontroller.c:
155 Added code to fill the Accessibility_DeviceEvent key string value
156 member for global key events (i.e. from XGrabKey), to match
157 behavior of Accessibility_DeviceEvent from the toolkit key events
158 from the bridge. Fixed timestamp in global key event notifications.
161 Added printout of key event's string value to
162 report_ordinary_key_event, for demo/debugging purposes.
164 2001-12-15 Bill Haneman <bill.haneman@sun.com>
166 * idl/Accessibility_Registry.idl:
167 Removed Accessibility_KeyStroke structure in favor of generic
168 Accessibility_DeviceEvent structure.
169 Changed Accessibility_ControllerEventMask from a struct to an
172 * at-bridge/bridge.c:
173 Changed APIs to use DeviceEvent structure as above, and removed
174 bogus casting between these event structures.
176 * cspi/spi-listener.h:
177 Added keystring member of AccessibleKeystroke structure, to enable
178 matching on event "names" rather than only hardware codes and
182 Added keystrings member of AccessibleKeySet struct, to allow
183 matching on event names (as above).
184 Added declarations for SPI_createAccessibleKeySet and
185 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
186 event modmasks directly as unsigned ints rather than structs with
187 refcounts, in the DeviceEventController methods.
189 * cspi/spi_registry.c:
190 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
192 * cspi/spi-roletypes.h:
193 Added documentation of newly added SPI Roles.
195 * cspi/bonobo/cspi-bonobo-listener.c:
196 Changes in support of API changes above.
198 * libspi/accessible.c:
199 Converted APIs to use DeviceEvent structure (see IDL changes
202 * registryd/deviceeventcontroller.c:
203 Added DEControllerGrabMask structure to track keygrabs not only by
204 modmask but by keyset as well; this allows us to do "global"
205 (i.e. X) keygrabs on a per-key or keyset basis rather than always
206 grabbing on AnyKey and then filtering after-the-fact.
207 Bugfixes for event filtration mean that we don't get false matches
208 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
210 * registryd/deviceeventcontroller.c:
211 Namespaced a number of static methods to use spi_ prefix. Major
212 revision to internals of global (i.e. X) key grabs.
214 * registryd/deviceeventcontroller.h:
215 Removed keymask_list and added keygrabs_list to
216 SpiDeviceEventController struct.
219 Added use of SPI_createAccessibleKeySet API when creating a
220 listener for only one key. Attach a listener to "shift spacebar
221 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
222 X key event names to SPI key event names, so that listeners are
223 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
225 * test/keysynth-demo.c:
226 Changed (incorrect) use of X key event names (KeyPressed,
227 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
230 2001-12-12 Bill Haneman <bill.haneman@sun.com>
232 * libspi/accessible.c:
233 Convert all AtkRole enumerations to Accessibility_Role enums when
234 getting a role from an AtkObject.
236 * cspi/spi_accessible.c:
237 Complete the conversion of Accessibility_Role enums at runtime to
238 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
239 role enums correctly match those given in spi-roletypes.h.
240 Re-synchronize the local names list for AccessibleRole_getName ().
241 AccessibleRole_getName is now deprecated, since it duplicates the
242 more reliable Accessible_getRoleName.
243 Added some role types from Accessibility_Role.idl.
245 * idl/Accessibility_Role.idl:
246 Added some role types used by AtkRole.
248 2001-12-12 Bill Haneman <bill.haneman@sun.com>
251 * cspi/spi_registry.c:
253 * cspi/cspi-bonobo-listener.c:
254 Namespaced all methods that did not begin with an "SPI_" or
255 "Accessible" prefix to "SPI_".
258 Homogenized internal function namespace to "cspi_" for statics.
261 Patched tests to use the new CSPI API.
263 * docs/reference/cspi/at-spi-cspi-sections.txt:
264 Updated docs to reflect namespace changes, and added a number of
265 methods to the documentation.
267 * registryd/registry.c:
268 Changed use of strings and string hashes in listener event
269 matching and parse_event_string to use GQuark, which is guaranteed
272 * registryd/registry.h:
273 Squashed annoying warning.
275 * idl/Accessibility_Role.idl:
276 Extended range of available Accessibility_Role values.
278 * cspi/spi_accessible.c:
279 Re-ordered role names.
281 2001-12-12 Bill Haneman <bill.haneman@sun.com>
283 * idl/Accessibility_Value.idl:
284 Revert use of union back to CORBA_double, since the double type is
285 more efficient and can contain the other types without loss of
288 * idl/Accessibility_Accessible.idl:
289 Added method Accessibility:Accessible:getRoleName, to complement
290 Accessibility:Accessible:getRole.
292 * cspi/spi_accessible.c:
294 Added C binding for above, Accessible_getRoleName (), and changed
295 signature of Accessible_getRole () to return an AccessibleRole.
297 * cspi/spi-roletypes.h:
298 Changed AccessibleRole_getName to return a char * instead of a
299 const char *. This method is now at least temporarily deprecated
300 in favor of asking Accessibles for their RoleNames directly.
303 Revert to match Accessibility_Value.idl;
307 Change signature of AccessibleValue methods to use double rather
311 * cspi/spi_accessible.c:
312 Changed Accessible_getRole to return an AccessibleRole enum rather
313 than a UTF-8 string. The UTF-8 string can still be obtained via
314 AccessibleRole_getName ().
316 * test/test-simple.c:
317 Add test_action. Small fixup to match API change to Accessible_getRole.
320 Bugfix for get_action_from_servant ().
322 2001-12-11 Michael Meeks <michael@ximian.com>
324 * libspi/libspi.h: remove registry.h and
325 desktop.h, deviceeventcontroller.h
327 * libspi/Makefile.am: remove registry.[ch],
328 desktop.[ch], deviceeventcontroller.[ch]
330 * registryd/Makefile.am: add registry.[ch],
331 desktop.[ch], rename registryd.c to registry-main.c.
332 add deviceeventcontroller.[ch]
334 2001-12-11 Bill Haneman <bill.haneman@sun.com>
337 Replace setenv() call with putenv ().
339 * libspi/component.c:
340 Bugfix in AccessibleComponent_getExtents (),
343 2001-12-11 Michael Meeks <michael@ximian.com>
345 * libspi/image.c (impl_getImageExtents): impl.
346 (spi_image_class_init): upd.
349 (AccessibleImage_getImageDescription): fix daft bug
352 * test/test-simple.c (global_listener_cb): update
353 to only quit if not --poke
354 (main): catch --poke.
355 (validate_accessible): upd. dumping, call test_image
358 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
361 * idl/Accessibility.idl: update all IDL includes.
363 * idl/*.idl - rename to namespace - this sucks, blame
364 mjs' bad decision for oafd.
366 * test/test-simple.c (create_test_window): add more tests.
367 (create_tree): split this out.
368 (validate_accessible): bugfix.
370 2001-12-11 Michael Meeks <michael@ximian.com>
372 * cspi/bonobo/cspi-bonobo-listener.c:
373 (cspi_kestroke_listener_unref),
374 (cspi_event_listener_unref): impl. undoing previous
375 homenous environment - for Bill.
377 * cspi/spi_table.c (long_seq_to_array): use
380 * cspi/spi_main.c: split out all bonoboish bits into
383 * cspi/spi-impl.h: upd. typedefs.
385 * cspi/spi_registry.c: update to lowlevel API,
386 return booleans to indicate success in some places.
388 * cspi/spi_event.c: update to lowlevel API.
390 * cspi/bonobo/Makefile.am: add.
392 * cspi/bonobo/cspi-lowlevel.h: add
394 * cspi/bonobo/cspi-bonobo.c: add
396 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
398 * cspi/Makefile.am: remove spi-listener-impl.[ch],
399 (SUBDIRS): add bonobo, link in the libs.
401 * cspi/spi-util.c: kill this file.
403 * TODO: merge in my bits.
405 2001-12-11 Michael Meeks <michael@ximian.com>
407 * test/test-simple.c (test_value, test_table, main):
408 remove unused variables causing warnings.
410 * configure.in: cleanup checks - require gail.
412 2001-12-11 Bill Haneman <bill.haneman@sun.com>
415 Changed Value interface to use SValue (scalars) rather than
416 assuming all values are floats. This allows floats, doubles,
417 longs, shorts, and unsigned values to be manipulated.
418 Introduced Accessibility:SValue union.
421 Updated to use new API above, and to work correctly with GValues
422 of different types in AtkValue.
425 Updated to use new API above. cspi's API is as yet unchanged.
428 Updated the Value revision action item.
430 2001-12-10 Bill Haneman <bill.haneman@sun.com>
432 * test/test-simple.c:
433 Added test_table (GtkTreeView widget in test window to follow).
434 Un-commented test_value, added GtkRange widget.
435 Added GtkTreeView widget with GtkListStore. It passes regression
436 test but leaks one SPI object for some reason.
439 Fixed bug in impl__set_currentValue.
441 2001-12-10 Michael Meeks <michael@ximian.com>
443 * cspi/spi_text.c: audit for exception handling,
444 tolerating NULL object references safely etc.
446 * cspi/spi_value.c: ditto.
448 * cspi/spi_table.c (AccessibleTable_getSummary),
449 (AccessibleTable_getAccessibleAt),
450 (AccessibleTable_getRowHeader),
451 (AccessibleTable_getColumnHeader),
452 (AccessibleTable_getCaption): fix bugs hidden by
454 (long_seq_to_array): impl.
455 (AccessibleTable_getSelectedRows),
456 (AccessibleTable_getSelectedColumns): use it.
458 2001-12-10 Bill Haneman <bill.haneman@sun.com>
461 Added a TODO list (rough and short for now).
463 * cspi/spi_hyperlink.c:
464 * cspi/spi_hypertext.c:
465 Fixed macro name typos, and remove use of obsolete macro in
466 AccessibleHyperlink_getLink.
469 * cspi/spi_accessible.c:
470 * cspi/spi_application.c:
471 * cspi/spi_component.c:
472 * cspi/spi_selection.c:
475 Documentation fixes (removed return values from ref/unref methods).
477 2001-12-10 Michael Meeks <michael@ximian.com>
479 * cspi/spi_action.c: audit for exception handling,
480 tolerating NULL object references safely etc.
482 * cspi/spi_accessible.c: ditto.
484 * cspi/spi_component.c: ditto.
486 * cspi/spi_editabletext.c: ditto.
488 * cspi/spi_hyperlink.c: ditto.
490 * cspi/spi_hypertext.c: ditto.
492 * cspi/spi_image.c: ditto.
494 * cspi/spi_selection.c: ditto.
496 2001-12-10 Michael Meeks <michael@ximian.com>
498 * configure.in: use cspi/libspi.pc.in instead.
500 * Makefile.am (pkgconfig_DATA): upd. to match.
502 * test/simple-at.c (report_focus_event): kill hacks around
503 bad return values, use putenv not setenv
505 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
506 fire ChildGone - I killed it.
509 (impl_accessibility_component_get_extents): remove
512 * idl/Accessible.idl: kill ChildGone exception.
514 * cspi/*.[ch]: kill int return from ref / unref.
516 * cspi/spi_main.c (cspi_object_add_check): fold into
517 (cspi_object_add): here.
519 * cspi/spi_component.c (AccessibleComponent_getExtents):
520 handle exceptions elegantly.
522 * cspi/spi-private.h (cspi_check_ev_return),
523 (cspi_return_if_fail): impl.
525 * cspi/spi_accessible.c: use extensively.
526 (AccessibleStateSet_equals): add direct compare check.
528 * cspi/spi_selection.c: tolerate NULL objs, and check
529 exceptions before return.
531 * cspi/spi-util.c (cspi_warn_ev): rename to
532 (cspi_check_ev): this & don't pass ev in; no point.
534 2001-12-10 Michael Meeks <michael@ximian.com>
536 * test/test-simple.c: use putenv not setenv
537 (get_environment_vars): more chatty if you're not using
540 * test/simple-at.c: do the setenv so more people see the
543 2001-12-10 Bill Haneman <bill.haneman@sun.com>
546 Changed check of CORBA_environment on notification to be a warning
547 instead of an error for the moment, since we can recover from this
548 error when caused by a queued notification from a dead app.
551 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
552 used by all current implementors of AtkValue), and coerce to
553 CORBA_float. (Proper general case fix may require change to Value.idl).
555 2001-12-09 Bill Haneman <bill.haneman@sun.com>
559 * cspi/spi_accessible.c:
560 Documentation fixes: added user_data params to documentation for
561 listeners and callbacks.
563 * cspi/spi_accessible.c:
564 Changed AccessibleStateSet_compare to return a
565 StateSet rather than return the difference set into a third parameter.
568 2001-12-09 Bill Haneman <bill.haneman@sun.com>
571 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
572 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
576 Remove subdirectory po from SUBDIRS for now.
578 * at-bridge/bridge.c:
579 Beefed up a couple of debug printouts.
580 One-line fix for signal notification name formatting.
582 * libspi/accessible.c:
583 Added assertion to spi_accessible_new ().
585 * libspi/application.c:
586 Put #ifdef qualifiers around a printf.
589 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
591 * registryd/Makefile.am:
593 Replaces use of XML_I18N_MERGE_SERVER_RULE with
594 INTLTOOL_SERVER_RULE macro.
597 Added an event listener for several ATK signals, for
598 testing and debugging. Removed a few g_warnings.
599 Added test output if focussed item implements the Value interface.
601 * test/test-simple.c:
602 Added test_value () function (known not to pass at the moment, so
603 not actually called yet.
605 2001-12-08 Michael Meeks <michael@ximian.com>
607 * at-bridge/bridge.c (bridge_focus_tracker),
608 (emit_eventv): fix the same ref. leak.
609 (register_atk_event_listeners): don't leak.
611 * cspi/spi-listener-impl.c (cspi_event): more
612 protection from client code.
614 * test/test-simple.c (test_desktop): unref the app.
616 * test/Makefile.am: upd. TESTS.
618 * at-bridge/bridge.c (bridge_exit_func): release the registry.
620 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
622 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
624 * cspi/spi_registry.c: constify in strings.
625 (deregisterGlobalEventListenerAll): don't release the ref.
627 * cspi/spi.h: start removing redundant / conflicting
628 gtkdoc comments, making the API readable at a glance :-)
630 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
632 * test/keysynth-demo.c (keysynth_exit, main): upd.
634 * test/simple-at.c (main, simple_at_exit): upd.
636 * test/test-simple.c (unutterable_horror): kill.
637 (utterable_normal_derefs): kill.
638 (main): upd & do a setenv before gtk_init, so that we
639 can use memprof - and to save the pain of remembering
640 this, if we're running under memprof - don't exit.
642 * cspi/spi_main.c (SPI_exit): return exit status
644 (SPI_event_quit): impl.
645 (SPI_event_main): simplify.
646 (cspi_is_gnome_app): kill.
647 (SPI_init): kill isGNOMEapp arg.
649 * at-bridge/bridge.c (register_atk_event_listeners):
650 re-instate the unref.
651 (bridge_exit_func): don't re-activate the registry,
652 protect vs. theoretical re-entry, use the
653 AT_BRIDGE_SHUTDOWN env. var to determine whether to
654 assert a clean shutdown - for regression tests.
656 2001-12-08 Abel Cheung <maddog@linux.org.hk>
658 * configure.in: Comment out dummy i18n support for now,
659 otherwise it fails to build.
660 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
661 EXTRA_DIST. They are missing in tarball.
663 2001-12-07 Michael Meeks <michael@ximian.com>
665 * util/magnifier.c: kill bonobo activation reg. race.
668 (impl_accessibility_component_get_extents): make it match
671 * libspi/registry.c (_registry_notify_listeners):
672 re-remove X headers & reconcile conflicts.
673 (spi_listener_struct_free): bad conflict resolve.
674 (impl_accessibility_registry_register_application):
675 more bad merging fixed.
676 (impl_accessibility_registry_deregister_application): ditto.
677 (spi_registry_new): ditto.
678 (spi_registry_init): don't have an applications field.
680 [ merge fixups2 branch to here ]
681 2001-12-07 Michael Meeks <michael@ximian.com>
683 * test/simple-at.c (report_focus_event),
684 (report_focussed_accessible): remove g_warning debug.
686 2001-12-07 Michael Meeks <michael@ximian.com>
688 * test/test-simple.c (validate_tree): comment out some checks.
689 (test_desktop): app now not registered idly - horay.
691 2001-12-07 Michael Meeks <michael@ximian.com>
693 * cspi/spi_registry.c
694 (registerAccessibleKeystrokeListener): clean, stop it leaking
695 great swathes of memory, and device event controller references.
696 ensure we always pass valid sequences.
697 (deregisterAccessibleKeystrokeListener): ditto.
698 (generateKeyEvent): upd.
700 * at-bridge/bridge.c (bridge_key_listener): handle
701 registry dead exception gracefully.
702 (bridge_focus_tracker, emit_eventv): free ev.
704 * test/simple-at.c (report_focus_event): fix polarity.
706 * libspi/application.c (notify_listeners): kill the ev
707 argument, and make sure we init the ev we use.
708 (spi_application_object_event_listener): split out a chunk
709 (get_atk_object_ref): here & fixup.
710 (reverse_lookup_name_for_toolkit_event): make const.
711 (spi_application_toolkit_event_listener): fixup, kill leaks
714 * at-bridge/bridge.c (register_atk_event_listeners):
715 don't unref the noop object - causes grief.
717 * libspi/registry.c: remove the X headers.
718 turn off the debug churn.
720 * libspi/accessible.c (spi_accessible_new_return): only
721 release the ref if we are supposed to [doh]
723 * test/simple-at.c (report_button_press, report_focus_event):
724 guard vs. unexpected exit.
726 * at-bridge/bridge.c (gtk_module_init): prune printf.
727 (bridge_exit_func): fix app unref.
729 * libspi/Makefile.am: don't install registry or desktop.h
731 * libspi/*.h: update includes.
733 * libspi/application.h: don't include ourself, or
734 other redundant headers.
736 2001-12-06 Michael Meeks <michael@ximian.com>
738 * libspi/accessible.c
739 (get_accessible_from_servant): impl.
740 Upd. all CORBA impl.s to use it killing cut and paste.
742 * cspi/spi_main.c (cspi_cleanup): guard vs. double
744 (SPI_init): register atexit cleanup handler here.
746 2001-12-06 Michael Meeks <michael@ximian.com>
748 * at-bridge/bridge.c (gtk_module_init): g_error on
751 2001-12-06 Michael Meeks <michael@ximian.com>
753 * at-bridge/bridge.c (gtk_module_init): some sort of
754 confusing merge clash - reverted.
755 (bridge_idle_init): ditto.
757 * test/test-simple.c (main, utterable_normal_derefs):
758 merge from Bill - somehow not committed.
760 2001-12-06 Michael Meeks <michael@ximian.com>
762 * libspi/value.c (spi_value_class_init): upd.
763 (spi_value_finalize): kill.
765 * libspi/table.c (spi_table_finalize): kill.
766 (spi_table_interface_new): upd.
767 (spi_table_class_init): upd.
768 (get_table_from_servant): impl.
769 Upd. all CORBA impl.s to use it killing yet more cut and paste.
771 * libspi/selection.c (spi_selection_finalize): kill.
772 (spi_selection_interface_new): upd.
773 (spi_selection_class_init): upd.
774 (get_selection_from_servant): impl.
775 Upd. all CORBA impl.s to use it killing yet more cut and paste.
777 * libspi/relation.c (spi_relation_finalize): kill.
778 (spi_relation_class_init, spi_relation_new): upd
780 * libspi/image.c (spi_image_finalize): kill.
781 (spi_image_class_init): upd.
782 (spi_image_interface_new): upd.
783 (get_image_from_servant): impl.
784 Upd. all CORBA impl.s to use it killing yet more cut and paste.
786 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
787 (spi_hyperlink_finalize): kill.
788 (spi_hyperlink_new): upd.
789 (get_hyperlink_from_servant): impl.
790 Upd. all CORBA impl.s to use it killing yet more cut and paste.
792 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
793 (spi_hypertext_finalize): kill.
794 (spi_hypertext_class_init): upd.
795 (get_hypertext_from_servant): impl.
796 Upd. all CORBA impl.s to use it killing yet more cut and paste.
798 * libspi/editabletext.c (spi_editable_text_finalize): kill.
799 (spi_editable_text_interface_new): upd.
800 (get_editable_text_from_servant): impl.
801 Upd. all CORBA impl.s to use it killing yet more cut and paste.
803 * libspi/text.c (get_text_from_servant): impl.
804 All impls - update to use it killing more cut and paste,
805 also fix bad string returns on duff args ( a somewhat
806 impossible case to handle - but hey ).
807 (spi_text_construct): impl.
808 (spi_text_interface_new): upd.
809 (spi_text_object_finalize): kill.
812 (accessibility_component_object_finalize): kill.
813 (spi_component_class_init): upd.
814 (get_component_from_servant): impl. helper to kill cut & paste.
815 (impl_accessibility_component_contains):
816 (impl_accessibility_component_get_accessible_at_point):
817 (impl_accessibility_component_get_position):
818 (impl_accessibility_component_get_extents):
819 (impl_accessibility_component_get_mdi_z_order):
820 (impl_accessibility_component_get_layer):
821 (spi_component_interface_new): upd.
823 * libspi/action.c (spi_action_finalize): kill.
824 (spi_action_class_init): upd. inherit from SpiObject.
825 (spi_action_interface_new): upd.
826 (get_action_from_servant): impl. helper to reduce cut & paste.
827 (impl_getKeyBinding, impl_getName, impl_doAction),
828 (impl_getDescription): Use it everywhere.
830 * cspi/spi_main.c (get_live_refs): a pointer hash.
831 (spi_object_hash, spi_object_equal): comment out.
832 There are issues with CORBA object hashing that need
835 * libspi/application.c (spi_application_init),
836 (spi_application_new): upd.
838 * libspi/accessible.c (spi_accessible_object_finalize): kill.
839 (spi_accessible_class_init): upd.
840 s/accessible/object/ in epv methods.
842 2001-12-05 Bill Haneman <bill.haneman@sun.com>
844 * at-bridge/bridge.c:
845 Reorder the bridge initialization into the bridge gtk_module_init,
846 an immediate call to bridge_register_app, and an idle_add for
847 register_atk_event_listeners (the only code that *must* wait until
848 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
849 the activation, creates the application's Accessible object, and
850 queues the bridge_idle_init function. Restored call to
851 Accessibility_Registry_deregisterApplication().
852 Prior to making this call we obtain a new reference to the
853 registry, which is a temporary hack that helps us handle apps that
854 shut down the bonobo mainloop before we get there.
857 Fix string leakage in debug block, and don't segv if a an app
858 dies before its event notifications have been propagated.
861 Modify cspi_check_ev() to call g_warning() rather than g_error(),
862 as stopgap measure until we get proper exception handling when
863 objects die during or before interrogation.
867 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
868 Also changed default value of is_gnome_app to TRUE.
871 * test/keysynth-demo.c:
872 Changed use of SPI_init and SPI_event_main to reflect API change above.
875 Made report_focus_event check the warning value from getName
876 before reporting on focussed accessible; simplifies handling of
877 notifications from dead objects.
879 * test/test-simple.c: (Changes not in this patch since source is
882 2001-12-05 Michael Meeks <michael@ximian.com>
884 * registryd/registryd.c (main): protect against
885 bonobo-activation startup race condition.
887 * cspi/spi_main.c (cspi_object_add_check): cope
888 with the exception elegantly.
890 * idl/Accessible.idl: decl. ChildGone
892 * libspi/desktop.c (spi_desktop_dispose): impl.
893 (spi_desktop_class_init): upd.
894 (spi_desktop_add_application),
895 (spi_desktop_remove_application),
896 (abnormal_application_termination): impl.
897 (impl_desktop_get_child_at_index): re-impl.
900 (impl_accessibility_registry_deregister_application),
901 (impl_accessibility_registry_register_application):
902 kill excessive debug clutter.
904 * test/test-simple.c (test_misc): test some NULL
905 tolerance. (main): upd.
907 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
908 implements no interfaces - so let's not crash.
910 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
912 * libspi/accessible.c (spi_accessible_new_return): impl.
913 helper to calm the cut and paste, to cope with
914 NULL AtkObjects effectively and efficiently, and to kill
915 the referencing bugs.
917 * libspi/table.c (impl_getAccessibleAt),
918 (impl_getRowHeader, impl_getColumnHeader): upd.
920 * libspi/hyperlink.c (impl_getObject): upd.
922 * libspi/accessible.c
923 (impl_accessibility_accessible_get_child_at_index): upd.
926 (impl_accessibility_component_get_accessible_at_point): upd.
928 * test/test-simple.c (test_editable_text, test_text): impl.
931 * cspi/spi_editabletext.c
932 (AccessibleEditableText_insertText): constify.
934 * test/test-simple.c (focus_me): make more robust.
936 * libspi/accessible.c: remove some printfs in methods that
937 we test and work fine, so we can get a clean tree dump.
939 * test/test-simple.c (validate_accessible),
940 (validate_tree): make tree dumping pretty too.
942 * at-bridge/bridge.c (bridge_signal_listener): upd. so
943 it builds without debug on.
945 * test/test-simple.c (validate_accessible): fix the most
948 * cspi/spi_main.c (spi_object_release): leave the nicely
949 blanked memory around if in debug mode.
951 * cspi/spi-listener-impl.c (cspi_event): use add_check.
953 [committed to fixups2]
954 2001-12-05 Michael Meeks <michael@ximian.com>
956 * libspi/editabletext.c
957 (spi_editable_text_class_init): g_type_class_peek_parent,
958 not interface peek - so we finalize cleanly.
960 * libspi/accessible.c (spi_accessible_new): kill debug.
962 * test/test-simple.c (validate_accessible): fix ref.
963 leak, print strings before freeing them; sigh, comment a
964 chunk out due to strangeness.
965 (validate_tree): unref the child after use.
967 * cspi/spi_component.c (AccessibleComponent_getLayer):
968 add missing break statement, switch on zlayer not the
969 uninitialized retval.
971 * cspi/spi_main.c (cspi_object_add): add assert, local ref
972 before (possibly re-entering) remote unref.
974 * test/simple-at.c (main): unref the desktop.
976 * cspi/spi_accessible.c (cspi_accessible_is_a): move
979 * cspi/spi_main.c (cspi_accessible_is_a): here to
980 isolate bonobo API usage more.
982 * libspi/registry.c (impl_accessibility_registry_register_application):
985 2001-12-04 Michael Meeks <michael@ximian.com>
987 * test/test-simple.c (validate_tree): upd.
988 IndexInParent check to make it more lucid.
989 (validate_accessible): dump the tree.
991 * libspi/accessible.c (de_register_public_ref),
992 (get_public_refs): impl.
993 (spi_accessible_new): make more efficient & intuitive.
994 Now IndexInParent check works.
996 2001-12-04 Michael Meeks <michael@ximian.com>
998 * cspi/spi-util.h: remove.
1000 * cspi/spi.h: move SPI_freeString here
1002 * libspi/component.c (impl_accessibility_component_get_layer):
1004 (impl_accessibility_component_get_mdi_z_order): ditto,
1005 return -1 on error - is this ok ?
1007 * test/test-simple.c (test_application): impl.
1009 * cspi/spi_accessible.c (Accessible_getApplication),
1010 (Accessible_isApplication): impl.
1012 * libspi/registry.c (spi_listener_struct_free): release
1013 the CORBA reference too.
1015 * libspi/accessible.c
1016 (impl_accessibility_accessible_get_parent): fix ref leak.
1018 * libspi/registry.c (spi_registry_new): make the registry
1019 immortal - we don't want it to go away ever.
1021 * libspi/application.c
1022 (spi_accessible_application_finalize): impl. cleanup.
1024 * cspi/spi_registry.c
1025 (deregisterGlobalEventListenerAll),
1026 (deregisterGlobalEventListener),
1027 (deregisterAccessibleKeystrokeListener): fix ref leak.
1029 * cspi/spi_main.c (SPI_init): remove redundant ref.
1031 * test/test-simple.c (unutterable_horror): impl. to force a
1036 (impl_accessibility_registry_deregister_application): release
1037 the application when we de-register it.
1039 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1040 until we have the infastructure to get it right.
1042 2001-12-03 Michael Meeks <michael@ximian.com>
1044 * libspi/Makefile.am: only build eventlistener.[ch]
1046 * libspi/accessible.c
1047 (impl_accessibility_accessible_get_child_at_index): don't leak.
1049 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1050 before we hit the idle handler.
1052 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1053 debugging than exit.
1055 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1057 * libspi/listener.c (impl_notify_event): check source
1058 not NIL before unref.
1060 * libspi/registry.c (impl_registry_notify_event): ditto.
1062 * libspi/eventlistener.c
1063 (impl_accessible_event_notify_event): unref the source.
1065 * libspi/accessibleeventlistener.c
1066 (impl_accessible_event_notify_event): unref the source.
1068 * idl/Event.idl: remove 'hash_id' attribute - of no
1071 * libspi/application.c (notify_listeners): upd list
1073 (spi_application_object_event_listener),
1074 (spi_application_toolkit_event_listener): upd to do correct
1078 (_registry_notify_listeners): update.
1079 (parse_event_type): this method also leaks like a sieve.
1080 (impl_accessibility_registry_deregister_global_event_listener):
1081 fix ETYPE_WINDOW case.
1083 * libspi/application.c
1084 (impl_accessibility_application_register_object_event_listener):
1087 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1089 * libspi/hypertext.c (impl_getLink): ditto.
1091 * cspi/spi_main.c (cspi_object_add): remove
1092 bogus CORBA_Object_duplicate.
1094 * cspi/spi-listener-impl.c (cspi_event): dup/ref
1097 * cspi/spi_accessible.c
1098 (Accessible_getRelationSet): fix leak / referencing issue.
1100 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1101 (cspi_object_add, cspi_object_unref): upd.
1102 (spi_object_release, get_live_refs): impl.
1103 (cspi_cleanup): simplify.
1105 * *.[ch]: s/boolean/SpiBoolean/
1107 * cspi/spi_accessible.c (role_names): actualy order so it
1108 corresponds with the enum !
1110 * test/test-simple.c (test_roles): check some role strings
1111 vs. enums to detect offset errors.
1113 2001-12-01 Michael Meeks <michael@ximian.com>
1115 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1117 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1119 (Accessible_getChildAtIndex): use cspi_add_check so we
1120 check the ev before using a (possibly) invalid value.
1122 * libspi/accessible.c
1123 (impl_accessibility_accessible_get_parent): don't segv
1126 * at-bridge/bridge.c (gtk_module_init): upd.
1127 (bridge_property_event_listener): don't leak strings
1129 (bridge_state_event_listener),
1130 (bridge_property_event_listener): don't use a static
1131 buffer in case of recursive event emission &
1132 re-enterancy - split out the swathe of cut and paste
1134 (emit_eventv): and fix 2 ref leaks here & comply to the
1136 (bridge_register_app): rename to
1137 (bridge_idle_init): this and kill arg parsing, split
1138 various inits & bonobo-activation registration to module
1139 init time, kill referencing error.
1140 (bridge_exit_func): fix the same leak.
1141 (bridge_focus_tracker): don't leak event structures
1143 (bridge_signal_listener): more leakage and cut & paste
1145 (bridge_key_listener): return the result - FIXME is
1146 this polarity correct ?
1147 (accessibility_keystroke_from_atk_key_event): rename
1148 (accessibility_init_keystroke_from_atk_key_event): and stop
1150 (gtk_module_init): return a value - not that it is checked by
1152 (bridge_key_listener): register my horror at casting between
1153 IDL defined structs.
1154 (bridge_get_registry): kill - not used.
1156 * cspi/spi_accessible.c (Accessible_getRole): make return const.
1158 * test/test-simple.c (test_roles): impl.
1159 (test_desktop, validate_accessible, validate_tree): impl.
1161 * cspi/spi_accessible.c (role_names): fixup bogus
1162 MAX_ROLES setup, make constants const for efficient linkage
1163 (AccessibleRole_getName): conform to coding style, make
1166 2001-11-30 Michael Meeks <michael@ximian.com>
1168 * cspi/spi.h: add missing prototype.
1170 * libspi/registry.c (spi_listener_struct_new): fix sig.
1172 * test/Makefile.am: add test-simple
1174 * test/test-simple.c: add
1176 * test/test.sh: add.
1178 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1180 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1181 do it straight - since otherwise we often get an activation race.
1183 [ work before Bill duplicated a chunk of it ... ]
1184 2001-11-30 Michael Meeks <michael@ximian.com>
1186 * libspi/keystrokelistener.c
1187 (spi_keystroke_listener_class_init): fixup arg
1190 * libspi/eventlistener.c
1191 (spi_event_listener_class_init): ditto.
1193 * tests/test.sh: add.
1195 * cspi/spi-listener-impl.h: update macros.
1197 * cspi/spi-listener-impl.c
1198 (cspi_event_listener_remove_callback): add
1199 correct pre-conditions.
1201 * cspi/spi_main.c (SPI_exit): guard vs. double
1202 exits, exit the mainloop nicely.
1203 (SPI_event_main): make more sense.
1204 (SPI_init): move the atexit evilness here so we
1205 always do it (yuck).
1206 (SPI_event_main): upd.
1208 * test/simple-at.c: update for listener changes.
1210 * registryd/registryd.c (main): prune kruft.
1212 * libspi/libspi.h: upd.
1214 * libspi/eventlistener.[ch]: rename broken macros.
1216 * libspi/accessibleeventlistener.[ch]: remove.
1218 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
1220 * test/test-simple.c: Add - automated tests.
1222 * cspi/spi-listener-impl.c (cspi_event),
1223 (cspi_key_event): add user_data to invoke.
1224 (cspi_keystroke_listener_finalize): impl.
1225 (cspi_keystroke_listener_class_init): upd.
1228 (createAccessibleEventListener),
1229 (AccessibleEventListener_addCallback),
1230 (createAccessibleKeystrokeListener),
1231 (AccessibleKeystrokeListener_addCallback): upd.
1233 * libspi/deviceeventcontroller.c
1234 (spi_device_event_controller_check_key_event): add public proto.
1237 (impl_accessibility_registry_deregister_global_event_listener):
1238 always init listeners.
1239 (_registry_notify_listeners): yes it is.
1241 * cspi/spi-listener-impl.c (cspi_key_event):
1243 (cspi_event_listener_finalize): impl.
1244 (cspi_event_listener_class_init): hook up.
1245 (event_handler_new, event_handler_free),
1246 (event_list_remove_by_callback): impl.
1247 (cspi_event_listener_remove_callback),
1248 (cspi_keystroke_listener_remove_callback),
1249 (cspi_keystroke_listener_add_callback),
1250 (cspi_event_listener_add_callback): upd.
1252 * libspi/keystrokelistener.c
1253 (keystroke_listener_object_finalize): kill
1254 (spi_keystroke_listener_class_init): upd.
1255 (spi_keystroke_listener_add_callback),
1256 (spi_keystroke_listener_remove_callback): kill,
1258 (impl_key_event): prune drasticaly.
1260 * libspi/eventlistener.c
1261 (spi_event_listener_add_callback),
1262 (spi_event_listener_remove_callback): kill, use
1264 (impl_accessible_event_notify_event): upd.
1265 (spi_event_listener_object_finalize): remove.
1267 * libspi/Makefile.am: use eventlistener.[ch]
1269 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1271 * libspi/registry.c (_registry_notify_listeners):
1272 Changed listener loop iteration to use preferred convention.
1273 Got rid of string memory leaks caused be calling g_strconcat
1274 inside function calls.
1276 * libspi/registry.c (parse_event_type):
1277 Stopped g_strconcat memory leaks, free the g_strsplit return,
1278 g_strdup the split pieces when used, etc.
1280 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1283 Change method 'compare' to return a 'difference set' rather than
1284 taking a StateSet as an out parameter (more Java-friendly).
1286 * idl/Accessible.idl:
1287 Added CORBA struct 'BoundingBox', to faciliate API changes below:
1289 * idl/Component.idl:
1291 Changed methods 'getExtents' and 'getImageExtents' in these
1292 interfaces to return a BoundingBox structure.
1293 (getPosition and getSize are redundant and possibly should be
1294 removed, rather than creating a corresponding Point struct.)
1296 * cspi/spi_component.c:
1297 Modify implementation of getExtents to reflect the above IDL
1302 Add (missing) AccessibleImage_getExtents () API.
1304 * docs/reference/cspi/at-spi-cspi-sections.txt:
1305 Added AccessibleImage_getImageExtents () to docs.
1307 2001-12-03 Bill Haneman <bill.haneman@sun.com>
1309 * idl/Component.idl:
1310 Added two methods, getLayer () and getMDIZOrder (), to reflect
1311 the new ATK methods atk_object_get_layer and
1312 atk_object_get_mdi_z_order. (Which arguably should be part of the
1313 AtkComponent API and AtkObject). Also added an enum,
1314 ComponentLayer, for the first method's return value.
1316 * libspi/component.c:
1317 Added implementations for these methods.
1319 * cspi/spi_component.c:
1321 Added cspi binding methods for above,
1322 AccessibleComponent_getLayer() and
1323 AccessibleComponent_getMDIZOrder().
1324 Added cspi enum 'AccessibleComponentLayer'.
1326 * docs/reference/cspi/at-spi-cspi-sections.txt:
1327 Added above methods to docs.
1331 Changed typedef for 'boolean' type (and all references to it) to
1332 SPIBoolean, to avoid keyword clashes with C++.
1335 Changed usages of 'boolean' to SPIBoolean.
1337 * test/keysynth-demo.c:
1338 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
1339 app), except where SPIBoolean is required by the callbacks API.
1341 2001-12-02 Bill Haneman <bill.haneman@sun.com>
1343 * cspi/spi_registry.c:
1344 Removed obsolete X event loop for passive keygrabs (which now
1347 * registryd/registryd.c:
1348 Removed unnecessary call to gdk_init() [cruft]. This also allows
1349 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
1352 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1354 * docs/reference/cspi:
1355 Included docs for SPI_freeString in generated documentation.
1358 Renamed spi_freeString to SPI_freeString, for consistency. Added
1359 documentation for this function.
1362 Renamed spi_freeString to SPI_freeString, for consistency.
1363 Removed obsolete method declaration string_from_corba_string.
1365 * test/keysynth-demo.c:
1366 Small tweak to comments.
1369 Stopped leaking the strings returned from CSPI.
1371 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1373 Merged Michael's branch (see his ChangeLog entries below).
1375 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
1376 bridge is alive, release on exit.
1378 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
1379 Fix type check macro.
1382 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
1385 Added is_gnome_app static, and method cspi_is_gnome_app(),
1386 so we can call the appropriate shutdown routine at exit in SPI_exit.
1388 * cspi/spi_main.c (cspi_object_ref):
1389 Duplicate the corba object passed in, since we're keeping it around.
1391 * cspi/SPI_exit.c, cspi_cleanup:
1392 Moved the releasing of the live refs to its own function, so we
1393 can put it in g_atexit (). Call the appropriate shutdown API
1394 depending on whethe calling client is a gnome app or not
1395 (bonobo_main_quit or CORBA_ORB_shutdown).
1397 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
1398 Unref the listener when this method is called, after
1399 deregistration. Updated the API docs to note this behavior.
1401 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
1402 Bugfixes: Ref the bonobo object when returning a parent or child
1403 reference, or an AccessibleRelation. Generally made sure
1404 BonoboObject refcount is incremented whenever we return an
1407 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
1408 Fixed typo/bug in signal declaration.
1410 * libspi/accessibleeventlistener.h:
1413 * libspi/application.c (spi_application_new):
1414 Fixed leak in initialization.
1417 Remembered to increment bonobo-object refcount when returning
1418 children (applications) from desktop object.
1419 Added (empty) finalize method.
1421 * libspi/deviceeventcontroller.c:
1422 Hold a ref to listeners inside DEControllerKeyListeners.
1423 Added dec_key_listener_free() method. Use prepend instead of
1424 append in key_listener list. Fixed some refcount madness and
1425 leaks in the listener registration/deregistration - deregistration
1426 now calls dec_key_listener_free() on listeners, and on the
1427 temporarily constructed dec_key_listener() used to perform the search/match.
1429 * libspi/hypertext.c (spi_hypertest_finalize):
1430 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
1431 class. Also fixed spi_hypertext_interface_new() and
1432 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
1434 * libspi/hypertext.h:
1435 Removed pointless and duplicate AtkObject pointer from
1438 * libspi/keystrokelistener.c:
1439 Fixed incorrect type of keystroke_listener_parent_class,
1440 renamed keystroke_listener_object_finalize to
1441 spi_keystroke_listener_object_finalize.
1442 Fixed typo in signal declaration
1443 (spi_keystroke_listener_class_init).
1445 * libspi/registry.c:
1446 Added funcsions spi_listener_struct_new() and
1447 spi_listener_struct_free() to help with memory management issues.
1448 We also now use these methods instead of gnew + poking stuff into
1449 the struct, and to decrement listener counts/free the listeners
1450 when deregistering them.
1451 Fix more refcount bugs in getDesktop() and
1452 getDeviceEventController().
1455 De-ref the desktop after enumerating the applications. Explicitly
1456 decrement the refcounts on the created listeners on exit (using
1457 _unref for keystroke listeners, and via the
1458 deregisterGlobalEventListenerAll command for other event
1461 2001-11-27 Michael Meeks <michael@ximian.com>
1463 * cspi/spi-listener.h: fixup enum.
1465 2001-11-27 Michael Meeks <michael@ximian.com>
1467 * cspi/spi-listener-impl.c (cspi_event_listener_new),
1468 (cspi_keystroke_listener_new): Use the cspi variants.
1470 2001-11-26 Michael Meeks <michael@ximian.com>
1472 * test/keysynth-demo.c: fix 2 compile warnings, missing
1475 * test/simple-at.c (report_focussed_accessible),
1476 (report_focus_event, report_button_press),
1477 (check_property_change, is_command_key),
1478 (report_ordinary_key_event, report_command_key_event): upd.
1480 * util/mag_client.h: include pre-requisites.
1482 * libspi/accessibleeventlistener.c
1483 (spi_event_listener_object_finalize): free any lingering
1486 * libspi/keystrokelistener.c
1487 (keystroke_listener_object_finalize): ditto.
1489 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1490 callbacks, with cspi types.
1492 * cspi/spi_event.c (createAccessibleEventListener): chain to
1493 (AccessibleEventListener_addCallback): here.
1494 (createAccessibleKeystrokeListener): chain to
1495 (AccessibleKeystrokeListener_addCallback): here.
1497 * libspi/keystrokelistener.c
1498 (spi_keystroke_listener_class_init): add signal.
1499 (impl_key_event): emit the event.
1500 (boolean_handled_accumulator): impl.
1501 (marshal_BOOLEAN__POINTER): add, gack.
1503 * libspi/accessibleeventlistener.c
1504 (spi_event_listener_class_init): add signal.
1505 (impl_accessible_event_notify_event): emit the signal &
1506 make the loop efficient.
1507 (spi_event_listener_add_callback): prepend the callback.
1509 * libspi/accessibleeventlistener.h: add an 'event' signal,
1510 decl type on callback.
1512 * libspi/keystrokelistener.h: ditto.
1514 * cspi/spi-listener.h: make methods typesafe and
1515 make them use the new event typedefs.
1517 * test/simple-at.c (report_focussed_accessible):
1518 include mag_client.h
1519 Use *(void *)text_interface not the other thing.
1521 * configure.in: add gtk to registryd bits - since we use
1524 * util/magnifier.c: include libbonobo.h
1526 2001-11-25 Bill Haneman <bill.haneman@sun.com>
1528 * test/keysynth-demo.c:
1529 Turned this into a simple scanning keyboard, to demonstrate the
1530 use of g_timeout_add () as a means of creating timers for
1531 scanning, and the use of GtkStyle for visually indicating when
1532 virtual keyboard elements are selected.
1534 keysynth-demo now listens to any keyboard keys with zero-valued
1535 keycodes (i.e. 'unused' keys) and interprets them as
1538 Reworked the shiftlatch code so that shift-down state isn't held
1539 for long periods (it's only synthesized immediately prior to
1540 the keysynth event it's modifying). Note that shiftlatch in this
1541 demo is a convenience, not intended to take the place of AccessX
1542 which is the better choice for getting 'sticky' modifier keys.
1544 * libspi/deviceeventcontroller.c:
1545 * at-bridge/bridge.c:
1546 * cspi/spi_registry.c:
1547 Removed some debug print stuff, and put other verbosity in #ifdef
1552 Implemented some more of the magnifier IDL for the simple
1553 magnifier: namely, getZoomRegionParams.
1554 Added mag_x and mag_y members to MagnifierData struct, aid of this
1556 Added GtkWindow::realize signal handler to magnifier, to keep it
1557 from receiving keyboard focus from the WM.
1559 2001-11-23 Mark McLoughlin <mark@skynet.ie>
1561 * cspi/spi-private.h: my guess at what michael forgot
1562 before he ran off to NZ :-)
1564 2001-11-23 Michael Meeks <michael@ximian.com>
1566 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
1567 comment out non existant method invoke so we link.
1569 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
1570 use bonobo_exception_get_text for more friendly warnings.
1572 * cspi/spi.c (Obj_Add): move into spi_main & rename
1573 spi_object_add; kill spi.c
1575 * cspi/spi_registry.c
1576 (deregisterGlobalEventListener),
1577 (deregisterGlobalEventListenerAll),
1578 (registerGlobalEventListener): fix exception leaks.
1580 * cspi/spi_main.c (spi_exception): impl. helper, so we
1581 don't leak exceptions.
1583 * cspi/spi_selection.c
1584 (AccessibleSelection_deselectSelectedChild): return the
1587 * cspi/spi_main.c (spi_ev): impl; hack - gack.
1588 (spi_registry): ditto.
1589 (SPI_init): guard against double inits.
1591 * cspi/*.c: use spi_ev (), and spi_registry () where
1592 appropriate - a temporary hack until we have something
1593 better. Use spi_object_add
1595 2001-11-22 Michael Meeks <michael@ximian.com>
1597 * cspi/Makefile.am: re organise, install the headers.
1599 * cspi/*.h: add G_BEGIN/END_DECLS
1601 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1604 Added non-preemptive keylistener for key events with no modifiers
1605 and shift-only modifier.
1607 * libspi/keystrokelistener.c:
1608 Removed some verbose diagnostics printout.
1610 * cspi/spi_registry.c:
1611 Fixed a bug that caused all key listeners to be registered as
1614 * libspi/deviceeventcontroller.c:
1615 Fixed bug that caused XGrabKey (preemptive key grab) to be called
1616 for non-preemptive key masks.
1619 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1621 * docs/reference/idl/at-spi-idl-docs.sgml:
1622 * docs/reference/idl/at-spi-idl-sections.txt:
1623 * docs/reference/idl/at-spi-idl-overrides.txt:
1624 Added missing files.
1626 * docs/reference/Makefile.am:
1627 removed idl from SUBDIRS until we can figure a way to get gtk-doc
1628 to scan the IDL files :-(
1633 Added .cvsignore files.
1635 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1637 * libspi/deviceeventcontroller.c:
1638 * libspi/keystrokelistener.c:
1640 * cspi/spi_registry.c:
1641 Added filters for KeySets, KeyEventSeq, and event types to key
1642 event dispatching, so listeners should only receive those events
1643 that they requested :-)
1645 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1650 * docs/reference:Makefile.am:
1651 * docs/reference/cspi:
1652 * docs/reference/cspi:Makefile.am:
1653 * docs/reference/cspi:tmpl:
1654 * docs/reference/cspi:tmpl:*.sgml:
1655 * docs/reference/idl:
1656 * docs/reference/idl:Makefile.am:
1657 * docs/reference/idl:at-spi-idl-sections.txt:
1658 * docs/reference/idl:at-spi-idl-docs.sgml:
1659 * docs/reference/idl:tmpl:
1660 * docs/reference/idl:tmpl:*.sgml:
1662 Restructured docs directory to allow separate 'reference' docs
1663 section, and forked idl and cspi docs. Added the sgml template
1664 files to CVS. Added the first sections/structural sgml for the
1667 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
1669 * configure.in, libspi/Makefile.am: find libXtst.
1671 2001-11-21 Michael Meeks <michael@ximian.com>
1673 * test/accessx-gui.c: s/spi_value/value/ - doh.
1675 * libspi/base.[ch]: add.
1677 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1679 * idl/Accessible.idl:
1680 * idl/Application.idl:
1683 Started gtk-doc cleanup on IDL.
1685 * libspi/deviceeventcontroller.c:
1686 Added and connected non-preemptive key notification from the
1687 toolkits (in addition to the pre-emptive support from XServer
1688 which we had before, but which causes 'focus flashing'). Filters
1689 are presently limited to key modifiers and global/non-global,
1690 KeySets are presently ignored, as are KeyEvent masks.
1692 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1693 structs into the persistant structure rather than just storing
1694 pointers to things that might not persist across servant
1697 The XGrabKey call now does async keygrabs, because synchronous
1698 ones were deadlocking with GDK_event code in a very nasty way.
1700 Added boolean to internal method notify_keylisteners, to indicate
1701 whether the event came from the 'toolkit source' or the 'global
1702 (XServer) source' - this is used in the notification process to
1703 determine which listeners to send the event to.
1705 deviceeventcontroller.c is now warning-free.
1707 * libspi/registry.c:
1708 Fixed regression in application de-registration.
1709 Also fixed some really brain-dead weirdness having to do with
1710 event dispatching - event structs are now duplicated before being
1711 re-marshalled in the dispatch to listeners. This also fixes a
1712 Solaris build problem.
1715 2001-20-11 Michael Meeks <michael@ximian.com>
1718 (impl_accessibility_registry_deregister_global_event_listener):
1721 * libspi/deviceeventcontroller.c
1722 (spi_device_event_controller_check_key_event): return
1723 FALSE on no virtual method.
1725 * libspi/*..h: make includes work on a correctly pathed install.
1727 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
1729 * libspi/application.h: kill unused ( and whacked out )
1730 gboolean *spi_application_set_id (AtkObject *app, long id);
1732 2001-20-11 Michael Meeks <michael@ximian.com>
1734 * libspi/*.[ch]: further convert to bonobo's type func
1735 macros, remove redundnant casts etc.
1737 * libspi/text.c s/accessibility_text/spi_text/g,
1738 re-order to de-cruft.
1740 * libspi/hypertext.c: re-order to kill a huge slew
1741 of redundant forward decls.
1743 * libspi/relation.c: ditto.
1745 * libspi/image.c: ditto.
1747 * */.cvsignore: update
1749 2001-20-11 Michael Meeks <michael@ximian.com>
1751 * libspi/deviceeventcontroller.c
1752 (_controller_register_with_devices): use g_getenv,
1753 kill stdlib.h include.
1755 * libspi/keystrokelistener.c
1756 (spi_keystroke_listener_get_type): kill
1757 (spi_keystroke_listener_class_init),
1758 (spi_keystroke_listener_init): rename to this.
1760 * libspi/text.c (impl_getAttributes): fix warning / bug.
1762 * libspi/*.[ch]: more headers, includes and over commenting.
1764 2001-20-11 Michael Meeks <michael@ximian.com>
1766 * libspi/*.[ch]: fixup headers, includes and over commenting.
1768 * libspi/image.c (impl__get_imageDescription): const
1769 correctness warning fix. remove redundant casting.
1771 * libspi/table.c (impl_getRowDescription): ditto.
1772 (impl_getColumnDescription): ditto.
1774 * libspi/libspi.h: add.
1776 2001-19-11 Michael Meeks <michael@ximian.com>
1778 * libspi/editabletext.c (impl_setAttributes): fix warnings.
1780 * libspi/component.c (accessibility_component_get_type):
1781 rename to (spi_component_get_type): and macroify.
1782 (accessibility_component_init): rename to
1783 (spi_component_init): this
1784 (accessibility_component_class_init): rename to
1785 (spi_component_class_init): this
1787 * libspi/action.c (spi_action_get_type): kill, use the macro.
1789 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
1792 * libspi/application.c (spi_application_object_event_listener),
1793 (impl_accessibility_application_register_object_event_listener):
1794 warning fixes / const understanding updates.
1796 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
1799 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1801 * libspi/spi_accessible.c: Added docs and C bindings for
1802 AccessibleStateSet. (No implementations yet). Documentation
1803 coverage for C bindings now 100%. Made docs for event listeners
1808 boolean notifyListenersSync (in DeviceEventListener listener,
1809 in DeviceEvent event);
1811 oneway void notifyListenersAsync (in DeviceEventListener listener,
1812 in DeviceEvent event);
1814 Added DeviceEventListener and DeviceEvent structs (may deprecate
1815 KeyStroke and KeystrokeListener in favor of this generic
1816 event/listener framework for devices).
1818 * libspi/deviceeventcontroller.c:
1820 Changed some key listener code to take masks, etc., and paved the
1821 way for integration of toolkit/non-preemptive key events. Changed
1822 signatures of some internal methods.
1824 * at-bridge/bridge.c:
1825 Fixed regression connecting to interface signals, apparently
1826 caused by GTK+ changes.
1828 Added an internal bridge_state_listener to deal with
1829 property-change:accessible-state signals.
1831 Changed the key_listeners GList to store structs (including masks,
1832 etc.) instead of just CORBA_Objects (required for full
1833 implementation of key listener API).
1835 Connected the bridge to all currently supported Atk signals.
1836 Events now supported:
1837 object:property-change
1838 object:property-change:accessible-name
1839 object:property-change:accessible-state
1840 object:property-change:accessible-description
1841 object:property-change:accessible-parent
1842 object:property-change:accessible-value
1843 object:property-change:accessible-role
1844 object:property-change:accessible-table-caption
1845 object:property-change:accessible-table-column-description
1846 object:property-change:accessible-table-column-header
1847 object:property-change:accessible-table-row-description
1848 object:property-change:accessible-table-row-header
1849 object:property-change:accessible-table-summary
1850 object:children-changed
1851 object:visible-data-changed
1852 object:selection-changed
1853 object:text-selection-changed
1855 object:text-caret-moved
1857 object:row-reordered
1859 object:column-inserted
1860 object:column-reordered
1861 object:column-deleted
1862 object:model-changed
1864 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1866 * libspi/hyperlink.c,h:
1867 Fixed some broken stuff in hyperlink.
1869 * libspi/relation.h:
1870 * libspi/relation.c:
1871 * cspi/spi_accessible.c:
1872 Initial implementations of AccessibleRelation methods, and docs.
1874 * libspi/accessible.c:
1875 Fixed a bug that caused SEGV if an accessible
1876 object's description is NULL, and a client
1877 requests it. An empty string is now returned.
1879 * cspi/spi_editabletext.c:
1880 * cspi/spi_hypertext.c:
1882 * cspi/spi_hyperlink.c:
1886 Doc coverage now 95%.
1888 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1890 One last namespacing revision:
1891 * libspi/accessibleeventlistener.[ch]:
1892 Renamed SpiAccessibleEventListener to SpiEventListener,
1893 (no need for two namespaces ;-)
1895 And lots of documentation fixes:
1897 * docs/at-spi-docs.sgml:
1898 Fixed 'underscore vs. hyphen' bug that was preventing
1899 the gtk-doc API docs from being automatically generated.
1902 * cspi/spi-listener.h
1904 * cspi/spi_accessible.c
1906 * cspi/spi_application.c
1907 * cspi/spi_component.c
1908 * cspi/spi_editabletext.c
1910 * cspi/spi_hypertext.c
1912 * cspi/spi_registry.c
1913 * cspi/spi_selection.c
1917 * docs/at-spi-docs.sgml
1918 * docs/at-spi-sections.txt
1920 Added and fixed up gtk-doc documentation in cspi.
1922 Interfaces now (fully) documented (subject to revision and enhancement):
1924 Event Listener Support
1926 AccessibleApplication
1930 AccessibleEditableText
1937 AccessibleRelationSet
1942 2001-14-11 Bill Haneman <bill.haneman@sun.com>
1944 * at-bridge/bridge.c:
1945 Initial work for toolkit-level key snooper connection by bridge.
1950 New typedefs and fixes to support new namespacing, and cleaner
1951 separation of cspi bindings from libspi bonobo implementation.
1952 Removed inconsistent and extraneous Spi* namespace prefix that
1953 had crept into cspi headers.
1954 Lots of comment fixes that sed had missed.
1956 * cspi/spi-roletypes.h:
1957 * cspi/spi-statetypes.h:
1958 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
1959 to AccessibleRoleType.
1961 * libspi/accessibleeventlistener.h:
1962 Fixed minor namespacing weirdness.
1964 * libspi/deviceeventcontroller.c:
1965 Reordered some internal API for device listeners.
1966 Changed the key registry final boolean to 'is_system_global'
1967 rather than 'is_synchronous', which is more descriptive of its
1969 Added spi_device_event_controller_new().
1970 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
1972 * libspi/keystrokelistener.[ch]:
1973 Namespaced KeystrokeListener to SpiKeystrokeListener.
1974 Changed uses of keymasks to use SPI_ prefix, and did other
1977 * libspi/keymasks.h:
1978 Namespaced keymask constants with SPI_ prefix.
1980 * libspi/registry.c:
1981 Some warning fixes, and knock-on fixes from namespace changes.
1984 Added rules for accessx-gui test program.
1986 * test/accessx-gui.c:
1987 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
1988 utility. It doesn't actually use at-spi, but it's still cool and
1991 * test/keysynth-demo.c:
1995 Fixes so that these test clients work properly with the namespaced
1996 libraries. (Incompletely tested for technical reasons, fixes may follow)
1999 2001-13-11 Michael Meeks <michael@ximian.com>
2001 * libspi/application.c
2002 (impl_accessibility_application_get_version),
2003 (impl_accessibility_application_get_toolkit_name):
2005 (impl_accessibility_application_set_id),
2006 (impl_accessibility_application_get_id): remove
2007 redundant casting code.
2009 * libspi/action.c (impl_getDescription): fix warnings.
2011 * libspi/accessible.c
2012 (impl_accessibility_accessible_get_parent),
2013 (impl_accessibility_accessible_get_child_at_index),
2014 (impl_accessibility_accessible_get_state),
2015 (impl_accessibility_accessible_get_relation_set):
2016 warning fixes & include action.h
2018 2001-13-11 Michael Meeks <michael@ximian.com>
2020 * *.[ch] fix bits I screwed up:
2022 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2023 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2025 2001-13-11 Michael Meeks <michael@ximian.com>
2027 * *.[ch] Namespace libspi into spi_ and Spi.
2029 2001-13-11 Michael Meeks <michael@ximian.com>
2031 * Makefile.am: dist & install at-spi-1.0.pc
2033 * libspi/Makefile.am: install into at-spi-1.0
2035 * idl/Makefile.am (idldir): install into at-spi-1.0
2037 * at-spi-1.0.pc.in: add.
2039 * configure.in: build it.
2041 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2043 * test/keysynth-demo.c:
2044 Use a 'realize' signal-handler to set the WM properties for
2045 the virtual keyboard, rather than making it a "POPUP" type
2046 override-redirect window (thanks to anders carlsson for that
2049 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2052 * test/keysynth-demo.c:
2053 Added new test of key synthesis, which creates a simple
2054 (mouse-operated) onscreen keyboard. It inserts key events into
2055 the currently-focused window, thus it does not grab keyboard focus
2058 * cspi/spi_registry.c:
2059 Added C binding for AT-SPI generateKeyEvent.
2061 * libspi/deviceeventcontroller.c:
2062 Added call to XFilterEvent so that key listener works with XIM (we
2063 hope). Added event_synth_type to generateKeyEvent, so that we can
2064 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2065 synthesize a press/release pair for KeySyms.
2067 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2069 * libspi/Makefile.am:
2070 * registryd/Makefile.am:
2071 (temporary) hack to include libXtst in libspi and registryd.
2072 (Needed for keystroke synthesis, see below).
2075 Improved API for registerKeystrokeListener, in accordance with
2076 discussions with Gnopernicus team and X server research.
2078 * libspi/registry.c:
2079 * libspi/deviceeventcontroller.c:
2080 * libspi/accessible.c:
2081 * libspi/keystrokelistener.c:
2082 Changes and fixes to support keylisteners for potentially
2083 consumed key events (that is, 'passive grabs').
2084 Added implementation for generateKeyEvent() [untested].
2087 Changes to registerKeystrokeListener() API, as above.
2088 Added deregisterGlobalEventListenerAll(), and
2089 deregisterKeystrokeListener(), which are needed for clean exit of
2091 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2092 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2094 * cspi/spi_registry.c:
2095 Added implementations of function prototypes mentioned above.
2097 * registryd/registryd.c:
2098 Added the key listener event source as a g_timeout(), to allow
2099 receipt of key events that are not caught by GDK (since GDK
2100 doesn't support passive keygrabs, this was necessary).
2103 Changed to attach a keylistener to 'Alt' keys, and
2104 respond to the following keycommands: Alt-M (toggle magnifier);
2105 Alt-F (toggle speech); Alt-Q (quit).
2106 Added an exit routine to deregister the listeners, and a key
2107 listener that prints some key info to the console when a key
2108 matches the listener mask (and is thus received by the listener).
2110 * util/idl/Magnifier.idl:
2111 Changes to magnifier API to support multiple zoom regions,
2112 non-uniform scaling in x and y, markDirty, and a host of other
2113 features that would be useful to magnification.
2116 * util/mag_client.c:
2117 * util/mag_client.h:
2118 * util/mag_control.c:
2120 Source code changes to support the above IDL changes.
2123 As above, and also changes to use a (slower) generic conversion
2124 path for colormap conversions, since the fast RGB conversions have been
2125 reported to fail for 16-bit displays.
2127 2001-10-26 Michael Meeks <michael@ximian.com>
2129 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2131 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
2133 * at-bridge/Makefile.am: fix LDFLAGS.
2135 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2137 * at-bridge/bridge.c:
2138 Re-worked listeners for toolkit events, now we have signal
2139 and property listeners. Added a private method
2140 register_atk_event_listeners(), which registers with the
2141 various atk and gtk signals we need to monitor in order to emit
2143 Added emission hook for AtkObject:property-change events, to
2144 support the 'property listeners'.
2145 Fixed some alloc()s of Accessibility_Event structs to use CORBA
2148 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2149 which emit warnings and exit, respectively, if CORBA errors occur
2150 during remote calls, and we now use these methods to check most of
2151 our CORBA calls in the C bindings.
2153 * cspi/spi_accessible.c:
2154 Changed AccessibleSelection_refSelectedChild() to
2155 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2156 now increment refcounts.
2158 * cspi/spi_component.c:
2159 Fixed some long pointer casts (dangerous!) to pass pointers to
2160 CORBA_longs of the proper type to the CORBA stubs, and copy the
2161 data into the longs that were passed into the C bindings code.
2163 * at-bridge/bridge.c:
2165 * libspi/accessible.c:
2166 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2167 hyperlinks, AtkHyperlink is an object type.
2169 * libspi/application.c:
2170 Added various conversions to and from "generic" event types and
2171 atk-specific types; this is really part of the 'bridge'
2172 implementation but is valid for all AtkObject-based accessibility
2175 * libspi/editabletext.c:
2176 Fixed nasty bug wherein editable text's finalize method was
2177 unref'ing tha AtkObject reference that the text parent class was
2178 about to unref _again_. There was also a nasty inheritance bug
2179 that meant that the AccessibleEditableText class was corrupt.
2181 * libspi/selection.c:
2182 Provided implementations for some selection API that was broken.
2184 * idl/Application.idl:
2185 Added registerObjectEventListener () method.
2188 Fixed a number of return values that were Bonobo_Unknowns from
2189 bonobo_object_corba_objref(), which I
2190 forgot to dup before returning. Changed instances of
2191 bonobo_object_corba_objref (bonobo_object(o)) to
2192 BONOBO_OBJREF(o), for concision and clarity.
2194 <2001-10-13 Louise Miller <louise.miller@sun.com>
2196 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2197 idl/Event.idl, idl/Registry.idl
2198 Changed these files to include Bonobo_Unknown.idl instead
2201 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
2203 * libspi/component.c libspi/component.h:
2204 Fixed typo. Added assertions for object checks in
2205 AccessibleComponent code.
2207 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2209 * idl/Accessible.idl:
2210 Added 'isEqual (Accessible *object)'
2211 method for Accessible. (Not Yet Implemented).
2214 Changed signature of registerKeystrokeListener() to
2215 take a KeySet and KeyEventSeq so that specific keys and event
2216 types could be requested for monitoring, and added a flag
2217 is_synchronous so that either synchronous or asynchronous
2218 notification could be requested. (However this is not all
2219 implemented yet). This also meant adding two new typedefs,
2220 KeyEventSeq and KeySet.
2223 Added two new relations, RELATION_TOOLTIP_FOR and
2224 RELATION_LEAFNODE_OF.
2227 Added new state, STATE_HAS_TOOLTIP.
2229 * libspi/text.c, editabletext.c:
2230 Added new assertions to all casts of bonobo-objects from
2231 CORBA servants, to prevent Text API calls on non-text objects.
2232 Changed suspect casts of int-pointer types, so that we
2233 always send a valid CORBA_long pointer to the CORBA APIs that use
2234 in/out long parameters. We then have to copy from the CORBA_long
2235 into the regular long or int for return to the C bindings, or
2236 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
2239 * libspi/deviceeventcontroller.c:
2240 Cleaned these sources up.
2242 Changed return type for getCharacterAtOffset to
2243 CORBA_unsigned_long, to allow for 32-bit characters.
2246 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
2250 Fixed 'make dist' so that distro compiles...
2251 * libspi/keymasks.h:
2253 * cspi/spi-listener.c:
2254 KeystrokeListenerCB now returns a boolean.
2256 Added KeyEventType struct, and KeyStroke.
2257 Also added createKeystrokeListener(),
2258 KeystrokeListener_addCallback(),
2259 KeystrokeListener_removeCallback(), and added a keymask to
2260 registerKeystrokeListener().
2261 * cspi/spi_accessible.c:
2262 Changed numerous return types for interfaces from
2263 AccessibleComponent to Accessible<InterfaceName>; this was
2264 probably a cut-and-paste error.
2266 Implementations of new KeystrokeListener api (from spi.h,
2269 Changes to key modifier mapping.
2270 Created ControllerEventMask struct.
2271 Made DeviceEventController derive from Bonobo::Unknown.
2273 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
2274 * libspi/deviceeventcontroller.c:
2275 Added a number of new internal (private) methods.
2276 * libspi/editabletext.c:
2277 * libspi/editabletext.h:
2278 Fixed a number of bugs related to the fact that
2279 editabletext inherits from text. Fixed the EditableText struct,
2280 the init() call, and use correct casts when calling Text methods
2281 from an EditableText object. Removed (duplicate) atko from the
2282 EditableText structure, we use the one in the parent Text
2283 structure via the casts mentioned above.
2284 * libspi/keystrokelistener.[ch]:
2285 * libspi/registry.c:
2286 Changes in support of keyboard handling (above).
2288 Keyboard handling, though partly functional, is still not
2289 recommended for at-spi client use as there is considerable
2290 work yet to be done.
2293 Changed some places where pointers to various int types
2294 are cast to be pointers to CORBA_long types and vice-versa:
2295 pointer casting is not safe so we pass pointers of the correct
2296 types and then cast the result before putting it into the target
2299 * libspi/text.h: minor typos corrected.
2301 We now speak not only the name of a Text element, but the
2302 first sentence of its content, when it receives focus.
2303 I also changed the text compression to 75% from 50%.
2304 * util/Accessibility_Util.server.in:
2305 Changed the default magnifier type to be a 3x vertical
2306 splitscreen magnifier (was previously a 2x horizontal one).
2308 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
2310 * libspi/keystrokelistener.h:
2311 * libspi/keystrokelistener.c:
2312 Initial functional implementations of KeystrokeListener.
2315 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
2317 Fixed string handling for NULL strings in libspi.
2318 Added spi_freeString to free strings returned by C bindings.
2320 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
2322 * libspi/keystrokelistener.h:
2323 * libspi/keystrokelistener.c:
2324 Began (no-op) implementations of KeystrokeListener
2326 * libspi/deviceeventcontroller.c:
2327 * libspi/deviceeventcontroller.h:
2328 Began creating implementations of DeviceEventController,
2329 to handle keystroke and mouse event listening and
2331 * libspi/accessible.c:
2332 Stubbed-in the implementations for
2333 Accessibility_Accessible_getState and
2334 Accessibility_Accessible_getRelationSet.
2335 * libspi/registry.c:
2336 Improved de-registration process and fixed some bugs,
2337 deregistration now works correctly.
2339 Added initialization of applications list (to NULL).
2341 Reduced speech compression from 0.5 to 0.7, for demo.
2342 Changed call to gdk_window_set_decorations()
2343 to gtk_window_set_decorated().
2344 * at-bridge/bridge.c:
2345 Bridge now deregisters when app exits, via
2346 registration of a cleanup function
2347 with the g_atexit() call.
2348 Required making 'app' static, renamed 'this_app'.
2349 Fixed broken use of bonobo_init, passing argv wrongly.
2351 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
2355 Created a new directory for
2356 accessibility-related utilities, primarily for
2357 testing and demo purposes, but with possible
2364 Onscreen magnifier utility that
2365 is implemented as a bonobo service.
2367 * util/mag_client.c:
2368 * util/mag_client.h:
2369 Client-side support (simple C bindings)
2370 for Magnification service
2372 * util/mag_control.c:
2373 Client program example for
2374 Magnification service
2376 * util/Accessibility_Magnifier.server.in:
2377 Bonobo-activation file for the
2378 Magnification service.
2381 * util/idl/Magnifier.idl:
2382 IDL defining the bonobo Magnification
2386 Modifications to use the bonobo-activated magnifier
2387 above, in place of trying to connect to an existing
2388 magnifier that uses socket-listening IPC.
2390 If env variable MAGNIFIER is set, a magnifier service
2391 will be started if one does not exist.
2393 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
2394 * at-bridge/bridge.c:
2395 applied patch from Marc to build and run
2396 against new glib and gtk+ (seemed like a change
2397 to bonobo_init signature was made ?)
2399 made festival-server support turned off by default.
2400 Added support for a simple magnifier (off by default)
2401 which will be added to a 'util' directory later.
2402 * at-bridge/Makefile.am:
2403 Changed "application.h" header from a 'source'
2404 to a 'dependency' of libat-bridge.
2406 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2414 Added interface implementation c files to list of
2415 includes so they are included in libcspi.
2418 Changed prototype of AccessibleAction_doAction to return a
2420 Changed prototype of AccessibleTable_getCaption to
2421 return an Accessible.
2422 Changed prototype of AccessibleTable_getSelectedRows
2423 and AccessibleTable_getSelectedColumns to
2424 return a long (returns the number of selected rows
2425 or columns respectively).
2426 Changed name of AccessibleText_refRunAttributes to
2427 AccessibleText_getAttributes.
2428 Changed prototype of AccessibleText_getCharacterExtents to
2429 return a void rather than a boolean.
2430 Added support for a AccessibleCoordType parameter
2431 specifying what type of coordinates are desired.
2432 Added an AccessibleCordType parameter to
2433 AccessibleText_getPointAtOffset.
2435 * cspi/spi_accessible.c:
2436 Added code to return the outstanding interfaces from
2437 Accessible_queryInterface.
2439 * cspi/spi_action.c:
2441 Corrected call to getNActions to call the c binding
2444 * cspi/spi_editabletext.c:
2446 Changed name from setRunAttributes to setAttributes.
2448 * cspi/spi_hyperlink.c:
2450 Changed call to getNAnchors to correctly call the c
2451 binding for an attribute.
2453 * cspi/spi_hypertext.c:
2455 Changed getImageDescription to correctly call the
2456 binding for an attribute.
2458 * cspi/spi_selection.c:
2459 Changed getNSelectedChildren to correctly call the c
2460 binding for the attribute.
2461 Changed refSelectedChild to getSelectedChild.
2465 Changed getCaption to return an Accessible.
2466 Fixed calls which retrieve attributes.
2467 Changed refAt to getAccessibleAt.
2468 Changed getNSelectedRows and getNSelectedColumns to
2472 Changed getCharacterExtents and getPointAtOffset to accept an
2473 AccessibleCoordType.
2475 Changed calls which retrieve attributes.
2476 Changed refRunAttributes to getAttributes.
2481 * idl/Hyperlink.idl:
2482 Changed n_anchors attribute to nAnchors to keep naming
2483 convention consistent.
2486 Made Table inherit from Bonobo::Unknown.
2487 Added nSelectedColumns and nSelectedRows attributes.
2490 Made Value inherit from Bonobo::Unknown.
2492 * libspi/hyperlink.c:
2493 Change for nAnchors attributte name change.
2495 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2503 Added interface implementation c files to list of
2504 includes so they are included in libcspi.
2507 Changed prototype of AccessibleAction_doAction to return a
2509 Changed prototype of AccessibleTable_getCaption to
2510 return an Accessible.
2511 Changed prototype of AccessibleTable_getSelectedRows
2512 and AccessibleTable_getSelectedColumns to
2513 return a long (returns the number of selected rows
2514 or columns respectively).
2515 Changed name of AccessibleText_refRunAttributes to
2516 AccessibleText_getAttributes.
2517 Changed prototype of AccessibleText_getCharacterExtents to
2518 return a void rather than a boolean.
2519 Added support for a AccessibleCoordType parameter
2520 specifying what type of coordinates are desired.
2521 Added an AccessibleCordType parameter to
2522 AccessibleText_getPointAtOffset.
2524 * cspi/spi_accessible.c:
2525 Added code to return the outstanding interfaces from
2526 Accessible_queryInterface.
2528 * cspi/spi_action.c:
2530 Corrected call to getNActions to call the c binding
2533 * cspi/spi_editabletext.c:
2535 Changed name from setRunAttributes to setAttributes.
2537 * cspi/spi_hyperlink.c:
2539 Changed call to getNAnchors to correctly call the c
2540 binding for an attribute.
2542 * cspi/spi_hypertext.c:
2544 Changed getImageDescription to correctly call the
2545 binding for an attribute.
2547 * cspi/spi_selection.c:
2548 Changed getNSelectedChildren to correctly call the c
2549 binding for the attribute.
2550 Changed refSelectedChild to getSelectedChild.
2554 Changed getCaption to return an Accessible.
2555 Fixed calls which retrieve attributes.
2556 Changed refAt to getAccessibleAt.
2557 Changed getNSelectedRows and getNSelectedColumns to
2561 Changed getCharacterExtents and getPointAtOffset to accept an
2562 AccessibleCoordType.
2564 Changed calls which retrieve attributes.
2565 Changed refRunAttributes to getAttributes.
2570 * idl/Hyperlink.idl:
2571 Changed n_anchors attribute to nAnchors to keep naming
2572 convention consistent.
2575 Made Table inherit from Bonobo::Unknown.
2576 Added nSelectedColumns and nSelectedRows attributes.
2579 Made Value inherit from Bonobo::Unknown.
2581 * libspi/hyperlink.c:
2582 Change for nAnchors attributte name change.
2585 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
2587 implementations-- made server implementations own AtkObject pointers
2588 rather than their respective AtkInterrface pointers to fix
2589 refcounting. AtkHyperlink is still broken.
2591 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
2592 * cspi/spi_accessible.c:
2593 Added method Accessible_Role_getName(),
2594 and requisite string array (role_names).
2595 Added conversion string_from_corba_strin() call
2596 to Accessible_getName and _getDescription.
2597 * libspi/accessible.c:
2598 Added implementation for Accessible_getRole()
2600 Added festival support, used if environment variable
2603 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2605 * at-bridge/bridge.c:
2606 Now allocate Accessibility_Event using
2607 Accessibility_Event__alloc() instead of g_new0().
2608 * libspi/accessibleeventlistener.c:
2609 Initialize AccessibleEventListener->callbacks to NULL.
2610 Fixed accessible__event_listener_init() param, changed to
2611 "AccessibleEventListener *" type.
2612 Changed a bonobo_object_release_unref() call to
2613 Accessibility_Accessible_unref().
2614 * libspi/listener.c:
2615 Changed Bonobo_Unknown_unref to (equivalent)
2616 Accessibility_Accessible_unref.
2617 * libspi/registry.c:
2618 Changed bonobo_object_release_unref to
2619 Accessibility_Accessible_unref.
2621 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2624 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
2625 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
2626 spi-util.c spi-util.h
2627 Implementations for C bindings to remaining accessibility
2630 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2633 changed return value of Action from void to boolean to
2634 bring in line with ATK.
2637 Changed getText funcions to return "out" start and end offsets.
2638 Changed getAttributes to take and offset and return the start
2639 and end offset of the attribute run.
2640 Changed getOffsetAtPoint and getCharacterExtents to take an
2641 enum describing whether coordinates are window or screen.
2644 libspi/action.c libspi/action.h libspi/editabletext.c
2645 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
2646 libspi/hypertext.c libspi/hypertext.h libspi/image.c
2647 libspi/image.h libspi/selection.c libspi/selection.h
2648 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
2649 libspi/value.c libspi/value.h
2650 Added server implementations for outstanding ATK interfaces
2651 not yet implemented.
2653 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2656 Added (missing) getName() method.
2657 Made nActions an attribute.
2658 * idl/EditableText.idl:
2659 Changed order of params in setAttributes.
2660 * idl/Hyperlink.idl:
2661 Removed getAnchor, added getURI.
2663 Changed attributes to methods, for efficiency
2664 (so that getting extents can be done in one call)
2665 * idl/Selection.idl:
2666 Changed nSelectedChildren to attribute, and re-indented.
2667 * idl/Table.idl: changed nrows, ncolumns, caption, summary
2669 * idl/Text.idl: reformatted to match our coding style.
2670 (temporarily?) removed getRowColumnAtOffset().
2671 Changed text selection API to support multi-select and
2672 non-contiguous selections, as in ATK.
2673 * idl/Value.idl: changed some methods to attributes.
2675 2001-08-24 Mark McLoughlin <mark@skynet.ie>
2677 * libspi/listener.c(impl_notify_event):
2678 BonoboUnkown_unref the source instead
2679 of bonobo_object_release_unref - the ORB
2680 handles the releasing.
2682 * configure.in: require ORBit-2.3.94 for
2685 2001-08-21 Bill Haneman <bill.haneman@sun.com>
2687 Tagged CVS repository 'EA_1_0'.
2688 * README.EARLY_ACCESS:
2689 Alphabetized acknowledgements list, and
2691 Listed some known dependencies of at-spi.
2693 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2695 * docs/at-spi-docs.sgml:
2696 * docs/at-spi-sections.txt:
2697 * docs/at-spi-overrides.txt: (Added zero-length file)
2698 Documentation improvements - gtk-doc should build
2699 docs for all implemented C bindings now.
2702 * cspi/spi.c: (New file)
2703 * cspi/spi_event.c: (New file)
2704 * cspi/spi_registry.c: (New file)
2705 * cspi/spi_accessible.c: (New file)
2706 * cspi/spi_application.c: (New file)
2707 * cspi/spi_component.c: (New file)
2708 Split spi_main.c into six parts, and included them from
2709 "spi.c". This is a bit of a hack, probably temporary,
2710 but required by gtk-doc, apparently.
2712 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2715 * docs/at-spi-docs.sgml:
2716 * docs/at-spi-sections.txt:
2718 Initial checkins/modifications for gtk-doc generation.
2721 Added (missing) interface query methods to Accessible's C binding.
2723 Added GenericInterface type definition.
2725 Added query for AccessibleComponent interface to focus event handler.
2726 Added printout of bounding box for focussed component.
2727 * libspi/component.c:
2728 Added partial implementation for AccessibleComponent to C binding.
2729 * idl/Application.idl:
2730 * libspi/registry.c:
2731 * libspi/listener.c:
2732 * libspi/application.c:
2733 * libspi/application.h:
2734 Changed "ID" attribute type from string to long.
2736 2001-08-19 Bill Haneman <bill.haneman@sun.com>
2740 Made method naming consistent: methods taking object args
2741 start with uppercase, other methods (except those using
2742 acronyms) start with lowercase. Underscores delimit between
2743 object names and method names:
2744 SPI_init() - uppercase since it starts with an acronym.
2745 getDesktopCount () - lowercase start since no object param0.
2746 Accessible_getName() - uppercase object type name, studlyCaps method
2750 Added gtk-doc documentation for all currently implemented
2751 methods in the C bindings API.
2753 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2755 * Makefile.am : changed build order to build test last.
2758 Changed "createEventListener" to "CreateEventListener".
2759 * libspi/accessibleeventlistener.c :
2760 Bugfix for addition of callbacks.
2761 * test/Makefile.am :
2762 * test/simple-at.c :
2763 Added new test that uses the C bindings API.
2765 * libspi/listener.c :
2766 * libspi/registry.c :
2767 * libspi/accessibleeventlistener.c :
2768 * at-bridge/bridge.c :
2769 Renamed member "target" of Accessibility_Event to "source",
2770 which is more descriptive.
2773 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2777 * cspi/Makefile.am :
2778 Added makefile support for at-spi/cspi directory.
2781 * cspi/spi-listener.h : (NEW FILE)
2782 Added support for/use of spi-listener.h.
2784 C bindings now build successfully, with no warnings.
2785 * libspi/accessibleeventlistener.h : (NEW FILE)
2786 * libspi/accessibleeventlistener.c : (NEW FILE)
2787 * libspi/Makefile.am :
2788 Added new object type "AccessibleEventListener"
2789 which inherits from Listener, and allows attachment
2790 of in-process callbacks (so that a client with a listening
2791 object instance can add functionality to the local
2792 implementation, dynamically).
2794 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2796 * libspi/accessible.c:
2797 Add implementation for get_index_in_parent().
2799 Added #include of "spi-roletypes.h", and
2800 added enumerated type AccessibleCoordType.
2801 Added definition for KeystrokeListener (function type).
2804 * cspi/spi-statetypes.h :
2805 * cspi/spi-roletypes.h :
2807 Added these headers, used by spi.h.
2809 Added code (NOTE: not yet built by make).
2811 2001-08-18 Mark McLoughlin <mark@skynet.ie>
2813 * libspi/Makefile.am: generate imodule
2814 at the same time as other idl compiler
2817 2001-08-17 Bill Haneman <bill.haneman@sun.com>
2818 * libspi/registry.c :
2819 * libspi/application.c :
2820 * idl/Application.idl :
2821 Made registration with toolkit an application method,
2822 which is required since each app has its own toolkit static
2823 environment. Thus the bridge must register for
2824 notification of toolkit events from each application in turn.
2825 Toolkit notifications are now successfully registered for, and
2826 sent to the listening at client.
2828 Changed toolkit event string to use hyphens rather than underscores.
2829 * libspi/listener.c :
2830 listner now gives more info in debug mode - it reports the
2831 name of the event received, as well as the name of the source.
2834 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2836 * libspi/registry.c :
2837 added more implementation for toolkit events.
2838 Fixed bug such that toolkit event registrations
2839 (via atk) use the whole event name string, not
2841 Removed a useless call to an ORBit_ method.
2842 * at-bridge/bridge.c :
2843 Removed unused local sbuf[] variable.
2845 We now register for Gtk:GtkWidget:button_press_event
2846 events as well as "focus:" events.
2848 Add some more API from Registry.idl that was missing,
2849 for keystroke listening, keystroke and mouse event
2850 synthesis, and enumeration of accessible desktops.
2852 2001-08-16 Michael Meeks <michael@ximian.com>
2854 * configure.in: use AM_GLIB_GNU_GETTEXT.
2856 * Makefile.am (SUBDIRS): kill intl.
2858 2001-08-15 Michael Meeks <michael@ximian.com>
2860 * registryd/Makefile.am: s/oaf/server/ relocate info file.
2862 * configure.in: upd.
2864 * configure.in: depend on a recent bonobo-activation that
2865 will find our server files ...
2867 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2869 * libspi/accessible.c : accessible_new() :
2870 Now we add the Component interface via bonobo_object_add_interface,
2871 if the contained AtkObject implements AtkComponent.
2872 * libspi/accessible.h : now include "component.h"
2873 * libspi/component.h :
2874 * libspi/component.c : added files - implementation of
2875 bonobo wrapper object for Accessibility/Component
2876 * libspi/listener.c :
2877 Added test code to check for Accessibility/Component:1.0
2878 interface and report whether it is implemented by the
2880 * libspi/registry.c :
2881 Now we check for not only the hash of the whole event
2882 string before relaying the event, we also check the
2883 "minor" event string (without the detail string).
2884 This allows event listeners to be registered against
2885 all events of a certain major+minor type, or just
2886 against a specific major+minor+detail type.
2887 * libspi/accessible.c :
2888 Added implementations for Accessible:get_parent(),
2889 Accessible:getChildCount(), and Accessible:getChildAtIndex().
2890 * libspi/registry.c :
2891 * libspi/listener.c :
2892 Replaced calls to Accessibility_Accessible_ref() and
2893 Accessibility_Accessible_unref() with
2894 calls to bonobo_object_dup_ref() and
2895 bonobo_object_release_unref(), so that the CORBA object
2896 is dup-ed and released when relayed, as well as the bonobo object.
2898 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2900 * libspi/Makefile.am,
2901 registryd/Makefile.am,
2902 at-bridge/Makefile.am.
2903 test/Makefile.am, configure.in:
2904 reverse previous changes.
2906 * /idl/Image.idl: fix typo.
2908 * test/Makefile.am: put DEBUG_FLAGS
2911 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2913 * test/app.c: use argv[0] instead of
2916 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2918 * libspi/Makefile.am,
2919 registryd/Makefile.am,
2920 at-bridge/Makefile.am.
2921 test/Makefile.am, configure.in:
2922 cleanup, replace individual LIBS/CFLAGS with
2923 AT_COMMON_{LIBS|CFLAGS}.
2927 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2929 * configure.in, libspi/Makefile.am:
2930 Change IDL path checking for bonobo-activation
2933 2001-08-15 Bill Haneman <bill.haneman@sun.com>
2935 * registryd/registry.c : separated event listeners to use
2936 3 separate lists (focus, window, toolkit). Began testing
2937 event names against hashes before relaying events.
2938 * test/at.c : now register for events of type "focus:"
2939 * test/app.c : now generate events of type "focus:"
2940 * at-bridge/bridge.c : register with ATK for focus events,
2941 and we now relay those focus events to any "focus:" listeners.
2942 This now works with the bridge as a GTK_MODULE when running test/at.
2943 * libspi/registry.c :
2944 * libspi/listener.c :
2945 now we ref event sources before propagating, and unref on receipt.
2946 * libspi/registry.c :
2947 some changes to internal structs, to support event typestring hashes.
2948 * text/app.c : changed the way the appname is generated.
2949 * cspi : added directory that will hold the C bindings library for
2950 non-CORBA/bonobo-savvy clients.
2951 * cspi/spi.h : header file that contains the function prototypes for the C binding.
2952 * idl/Component.idl : added in parameter to indicate coord system for
2953 geometry-related calls.
2954 * idl/Hyperlink.idl : added readonly n_links attribute
2955 * idl/Image.idl : changed methods to attributes.
2957 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2959 * at-bridge/Makefile.am: link against
2960 ../libspi/libspi.la instead of -lspi.
2962 * at-spi/test/app.c: include
2963 bonobo-activation.h. Use a default appname
2964 if one is not provided.
2966 2001-08-14 Bill Haneman <bill.haneman@sun.com>
2968 * idl/Registry.idl : temporarily changed register_Application
2969 to oneway, to work around issue with initial registration
2971 * idl/Application.idl : changed attribute "id" from readonly
2972 to read-write, since it needs to be assigned by Registry.
2973 * registryd/registryd.c : added call to set application id
2975 * registryd/registry.c : changed de-registration procedure to
2976 use CORBA_Object_hash() to find matching object ref in application
2977 lists and listener lists.
2978 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
2979 began distinguishing between event types (work in progress).
2981 2001-08-13 Bill Haneman <bill.haneman@sun.com>
2984 * libspi/application.c:
2985 Added implementations for get/set id, get_toolkitName,
2987 * registryd/registryd.c :
2991 Converted from use of OAF to bonobo-activation.
2992 * libspi/desktop.h :
2993 * libspi/desktop.c :
2995 Removed references to atksimpleobject, since base atkobject
2996 implementation now provides functionality we need.
2997 * libspi/atksimpleobject.c :
2998 * libspi/atksimpleobject.h :
3003 * at-bridge/Makefile.am
3004 * at-bridge/bridge.c
3007 Added directory "bridge" and contents, and added dependencies
3008 in Makefile.am/configure.in.
3009 Initial checkin of "at-bridge".
3010 This code is a GTK_MODULE which automatically registers
3011 GTK+ apps with the accessibility registry, using an object
3012 reference to the root ATK object.
3014 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3016 * po/Makefile.in.in: Remove. Again. If this
3017 doesn't get autogenerated - you need to update
3020 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3022 * po/Makefile.in.in: Add. Again.
3024 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3026 * libspi/accessible.c : added support for 'description' property.
3027 * libspi/accessible.c
3029 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3030 (since the two are now equivalent in libbonobo)
3038 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3039 Bonobo::Unknown as does Accessibility::Accessible.
3040 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3041 interface with Bonobo::Stream, since it was redundant with it.
3042 (The Stream returned by a StreamableContext object is expected to
3043 implement only a subset of Bonobo::Stream)
3045 2001-07-28 Anders Carlsson <andersca@gnome.org>
3047 * libspi/accessible.c (accessible_object_finalize): Change
3048 g_free to g_object_unref since the AtkObject is a GObject.
3050 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3052 * idl/Accessibility.idl: add new IDL files
3055 * idl/Action.idl: Definitions of actionable UI object
3056 * idl/Component.idl: Definitions of UI component geometry, etc.
3057 * idl/Hyperlink.idl: Defs of hyperlink behavior
3058 * idl/Image.idl: Def of accessible image
3059 * idl/Selection.idl: Definition of UI object with selectable children
3060 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3061 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3062 * idl/Text.idl: Interface defs for UI elements with complex textual content
3063 * idl/Value.idl: Definition of UI element that is a value controller or display
3065 2001-07-27 Michael Meeks <michael@ximian.com>
3067 * po/Makefile.in.in: remove autogenerated file from CVS.
3069 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3072 * idl/Registry.idl: include guard.
3074 * idl/Accessibility.idl: Add, and include all the other IDL
3077 * idl/*.idl: remove mass of pragmas etc.
3079 2001-07-26 Michael Meeks <michael@ximian.com>
3081 * registryd/Makefile.am (registryd_SOURCES): remove
3084 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3086 * libspi/.cvsignore, registryd/.cvsignore,
3087 test/.cvsignore: updated.
3089 * po/Makefile.in.in: gettext update.
3091 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3093 * initial CVS checkin
3095 2001-06-29 Michael Meeks <michael@ximian.com>
3097 * configure.in: add AM_CONFIG_HEADER to gen config.h