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-05-01 Bill Haneman <bill.haneman@sun.com>
9 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
10 Enable keygrabs using the Control modifier, now that they are
11 working properly (they were previously disabled).
14 Change the command keygrab for this demo to "Control+Alt", so as
15 to conflict with fewer other key commands on the system; this
16 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
18 Removed a pointlessly-chatty keylistener for unshifted keys
19 (shifted keys are still reported).
21 2002-02-01 Bill Haneman <bill.haneman@sun.com>
23 * libspi/remoteobject.h:
24 * libspi/remoteobject.c:
25 Added definitions for special AtkObject subtype, required for
26 support of remote components (specifically, used by BonoboControl
27 accessibility implementation).
29 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
31 * cspi/spi.h: synched relation types with ATK
33 * cspi/spi_accessible.c: Added implementations of
34 AcccessibleRelation_* methods
36 * idl/Accessibility_Relation.idl: added getRelationTypeName
37 method. Synched known relation types with ATK. Allowed for
38 relation type extension with the RELATION_EXTENDED type.
40 * libspi/relation.c: Provided implementations for
41 AccessibleRelation methods.
43 2002-01-01 Bill Haneman <bill.haneman@sun.com>
45 API tweaks for today's API 'freeze'.
48 Added placeholder functions to allow future compatible expansion
49 of the IDL interfaces.
51 * idl/Accessibility_Registry.idl:
52 Changed generateKeyEvent to generateKeyboardEvent. Changed
53 signature of this method to accept an optional keystring in
54 parameter (for complex text input synthesis) and changed use of
55 simple 'boolean' parameter in registerKeystrokeListener to a
56 struct, EventListenerMode.
58 * cspi/spi_accessible.c:
60 * cspi/spi_streamablecontent.c:
61 Added references to AccessibleStreamableContent interface, and
62 definition and implementation of AccessibleStreamableContent
65 * cspi/spi_registry.c:
67 Changed generateKeyEvent API to generateKeyboardEvent,
68 taking a new (optional) keystring parameter to support complex
73 Renamed directory (to better reflect its actual purpose, bridging
74 from at-spi to ATK). The .so module is also now named
77 * idl/Accessibility_Hypertext.idl:
78 * libspi/accessible.c:
81 Changed Accessibility_Hypertext to *not* derive from
84 * cspi/spi_registry.c:
85 Added list of legal event type names for 'window' events, which
86 completes the registry event API.
88 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
90 * at-bridge/bridge.c: Added registration for separate
91 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
92 signals. If either of the first two parameters to the generic
93 bridge signal handler are ints, they are passed on as event
94 details. This allows an AT to determine what text was inserted.
96 2001-12-21 Bill Haneman <bill.haneman@sun.com>
98 * registryd/deviceeventcontroller.c:
99 Fixed regressions in generateKeyEvent caused by the removal of
100 gdk_init from registryd; we now use pure X calls to connect to the
101 display, which makes sense because deviceeventcontroller already
102 uses a fair bit of X API (should eventually be migrated to a
103 'portability layer').
105 * registryd/desktop.c:
106 Fixed minor regression in spi_desktop_init, changed the way the
107 desktop name is being set to work with new spi_base API
108 (gobject-based, rather than AtkObject-based).
110 * registryd/Makefile.am:
111 Minor revision of makefile to use XTST_LIBS variable rather than
112 hard-wiring the Xtst LD_ADD element.
114 * test/keysynth-demo.c:
115 Tweaked an output message; added initialization of the
116 'keystrings' member of the "switch listener" key_set.
119 Squashed compile-time warning.
121 * libspi/accessible.c:
122 Cosmetic and formatting fixes, renamed a static method.
124 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
126 * libspi/accessible.c
128 * libspi/application.c
132 * libspi/editabletext.c
140 * registryd/desktop.c:
141 Changed SpiBase to contain a GObject pointer rather than an AtkObject
143 2001-12-17 Bill Haneman <bill.haneman@sun.com>
145 * idl/Accessibility_Registry.idl:
146 Added boolean member 'is_text' to DeviceEvent. This is for the
147 use of key events, and helps prevent ambiguity between composed
148 key strings and keysym names, since both may potentially be
149 returned in the 'event_string' member.
151 * at-bridge/bridge.c:
152 * registryd/deviceeventcontroller.c:
153 Use the 'is_text' member when notifying device event listeners.
154 Knon issue: composed characters are not dealt with correctly by
155 the global key listener implementation yet.
157 2001-12-17 Bill Haneman <bill.haneman@sun.com>
159 * at-bridge/bridge.c:
160 Namespaced local static methods to spi_atk_bridge_* where
161 previously named bridge_*, and spi_* elsewhere.
163 * at-bridge/bridge.c:
164 * cspi/bonobo/cspi-bonobo-listener.c:
165 Added demarshalling/conversion for string member of
166 Accessibility_DeviceEvent to AccessibleKeystroke.
168 * registryd/deviceeventcontroller.c:
169 Added code to fill the Accessibility_DeviceEvent key string value
170 member for global key events (i.e. from XGrabKey), to match
171 behavior of Accessibility_DeviceEvent from the toolkit key events
172 from the bridge. Fixed timestamp in global key event notifications.
175 Added printout of key event's string value to
176 report_ordinary_key_event, for demo/debugging purposes.
178 2001-12-15 Bill Haneman <bill.haneman@sun.com>
180 * idl/Accessibility_Registry.idl:
181 Removed Accessibility_KeyStroke structure in favor of generic
182 Accessibility_DeviceEvent structure.
183 Changed Accessibility_ControllerEventMask from a struct to an
186 * at-bridge/bridge.c:
187 Changed APIs to use DeviceEvent structure as above, and removed
188 bogus casting between these event structures.
190 * cspi/spi-listener.h:
191 Added keystring member of AccessibleKeystroke structure, to enable
192 matching on event "names" rather than only hardware codes and
196 Added keystrings member of AccessibleKeySet struct, to allow
197 matching on event names (as above).
198 Added declarations for SPI_createAccessibleKeySet and
199 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
200 event modmasks directly as unsigned ints rather than structs with
201 refcounts, in the DeviceEventController methods.
203 * cspi/spi_registry.c:
204 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
206 * cspi/spi-roletypes.h:
207 Added documentation of newly added SPI Roles.
209 * cspi/bonobo/cspi-bonobo-listener.c:
210 Changes in support of API changes above.
212 * libspi/accessible.c:
213 Converted APIs to use DeviceEvent structure (see IDL changes
216 * registryd/deviceeventcontroller.c:
217 Added DEControllerGrabMask structure to track keygrabs not only by
218 modmask but by keyset as well; this allows us to do "global"
219 (i.e. X) keygrabs on a per-key or keyset basis rather than always
220 grabbing on AnyKey and then filtering after-the-fact.
221 Bugfixes for event filtration mean that we don't get false matches
222 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
224 * registryd/deviceeventcontroller.c:
225 Namespaced a number of static methods to use spi_ prefix. Major
226 revision to internals of global (i.e. X) key grabs.
228 * registryd/deviceeventcontroller.h:
229 Removed keymask_list and added keygrabs_list to
230 SpiDeviceEventController struct.
233 Added use of SPI_createAccessibleKeySet API when creating a
234 listener for only one key. Attach a listener to "shift spacebar
235 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
236 X key event names to SPI key event names, so that listeners are
237 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
239 * test/keysynth-demo.c:
240 Changed (incorrect) use of X key event names (KeyPressed,
241 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
244 2001-12-12 Bill Haneman <bill.haneman@sun.com>
246 * libspi/accessible.c:
247 Convert all AtkRole enumerations to Accessibility_Role enums when
248 getting a role from an AtkObject.
250 * cspi/spi_accessible.c:
251 Complete the conversion of Accessibility_Role enums at runtime to
252 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
253 role enums correctly match those given in spi-roletypes.h.
254 Re-synchronize the local names list for AccessibleRole_getName ().
255 AccessibleRole_getName is now deprecated, since it duplicates the
256 more reliable Accessible_getRoleName.
257 Added some role types from Accessibility_Role.idl.
259 * idl/Accessibility_Role.idl:
260 Added some role types used by AtkRole.
262 2001-12-12 Bill Haneman <bill.haneman@sun.com>
265 * cspi/spi_registry.c:
267 * cspi/cspi-bonobo-listener.c:
268 Namespaced all methods that did not begin with an "SPI_" or
269 "Accessible" prefix to "SPI_".
272 Homogenized internal function namespace to "cspi_" for statics.
275 Patched tests to use the new CSPI API.
277 * docs/reference/cspi/at-spi-cspi-sections.txt:
278 Updated docs to reflect namespace changes, and added a number of
279 methods to the documentation.
281 * registryd/registry.c:
282 Changed use of strings and string hashes in listener event
283 matching and parse_event_string to use GQuark, which is guaranteed
286 * registryd/registry.h:
287 Squashed annoying warning.
289 * idl/Accessibility_Role.idl:
290 Extended range of available Accessibility_Role values.
292 * cspi/spi_accessible.c:
293 Re-ordered role names.
295 2001-12-12 Bill Haneman <bill.haneman@sun.com>
297 * idl/Accessibility_Value.idl:
298 Revert use of union back to CORBA_double, since the double type is
299 more efficient and can contain the other types without loss of
302 * idl/Accessibility_Accessible.idl:
303 Added method Accessibility:Accessible:getRoleName, to complement
304 Accessibility:Accessible:getRole.
306 * cspi/spi_accessible.c:
308 Added C binding for above, Accessible_getRoleName (), and changed
309 signature of Accessible_getRole () to return an AccessibleRole.
311 * cspi/spi-roletypes.h:
312 Changed AccessibleRole_getName to return a char * instead of a
313 const char *. This method is now at least temporarily deprecated
314 in favor of asking Accessibles for their RoleNames directly.
317 Revert to match Accessibility_Value.idl;
321 Change signature of AccessibleValue methods to use double rather
325 * cspi/spi_accessible.c:
326 Changed Accessible_getRole to return an AccessibleRole enum rather
327 than a UTF-8 string. The UTF-8 string can still be obtained via
328 AccessibleRole_getName ().
330 * test/test-simple.c:
331 Add test_action. Small fixup to match API change to Accessible_getRole.
334 Bugfix for get_action_from_servant ().
336 2001-12-11 Michael Meeks <michael@ximian.com>
338 * libspi/libspi.h: remove registry.h and
339 desktop.h, deviceeventcontroller.h
341 * libspi/Makefile.am: remove registry.[ch],
342 desktop.[ch], deviceeventcontroller.[ch]
344 * registryd/Makefile.am: add registry.[ch],
345 desktop.[ch], rename registryd.c to registry-main.c.
346 add deviceeventcontroller.[ch]
348 2001-12-11 Bill Haneman <bill.haneman@sun.com>
351 Replace setenv() call with putenv ().
353 * libspi/component.c:
354 Bugfix in AccessibleComponent_getExtents (),
357 2001-12-11 Michael Meeks <michael@ximian.com>
359 * libspi/image.c (impl_getImageExtents): impl.
360 (spi_image_class_init): upd.
363 (AccessibleImage_getImageDescription): fix daft bug
366 * test/test-simple.c (global_listener_cb): update
367 to only quit if not --poke
368 (main): catch --poke.
369 (validate_accessible): upd. dumping, call test_image
372 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
375 * idl/Accessibility.idl: update all IDL includes.
377 * idl/*.idl - rename to namespace - this sucks, blame
378 mjs' bad decision for oafd.
380 * test/test-simple.c (create_test_window): add more tests.
381 (create_tree): split this out.
382 (validate_accessible): bugfix.
384 2001-12-11 Michael Meeks <michael@ximian.com>
386 * cspi/bonobo/cspi-bonobo-listener.c:
387 (cspi_kestroke_listener_unref),
388 (cspi_event_listener_unref): impl. undoing previous
389 homenous environment - for Bill.
391 * cspi/spi_table.c (long_seq_to_array): use
394 * cspi/spi_main.c: split out all bonoboish bits into
397 * cspi/spi-impl.h: upd. typedefs.
399 * cspi/spi_registry.c: update to lowlevel API,
400 return booleans to indicate success in some places.
402 * cspi/spi_event.c: update to lowlevel API.
404 * cspi/bonobo/Makefile.am: add.
406 * cspi/bonobo/cspi-lowlevel.h: add
408 * cspi/bonobo/cspi-bonobo.c: add
410 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
412 * cspi/Makefile.am: remove spi-listener-impl.[ch],
413 (SUBDIRS): add bonobo, link in the libs.
415 * cspi/spi-util.c: kill this file.
417 * TODO: merge in my bits.
419 2001-12-11 Michael Meeks <michael@ximian.com>
421 * test/test-simple.c (test_value, test_table, main):
422 remove unused variables causing warnings.
424 * configure.in: cleanup checks - require gail.
426 2001-12-11 Bill Haneman <bill.haneman@sun.com>
429 Changed Value interface to use SValue (scalars) rather than
430 assuming all values are floats. This allows floats, doubles,
431 longs, shorts, and unsigned values to be manipulated.
432 Introduced Accessibility:SValue union.
435 Updated to use new API above, and to work correctly with GValues
436 of different types in AtkValue.
439 Updated to use new API above. cspi's API is as yet unchanged.
442 Updated the Value revision action item.
444 2001-12-10 Bill Haneman <bill.haneman@sun.com>
446 * test/test-simple.c:
447 Added test_table (GtkTreeView widget in test window to follow).
448 Un-commented test_value, added GtkRange widget.
449 Added GtkTreeView widget with GtkListStore. It passes regression
450 test but leaks one SPI object for some reason.
453 Fixed bug in impl__set_currentValue.
455 2001-12-10 Michael Meeks <michael@ximian.com>
457 * cspi/spi_text.c: audit for exception handling,
458 tolerating NULL object references safely etc.
460 * cspi/spi_value.c: ditto.
462 * cspi/spi_table.c (AccessibleTable_getSummary),
463 (AccessibleTable_getAccessibleAt),
464 (AccessibleTable_getRowHeader),
465 (AccessibleTable_getColumnHeader),
466 (AccessibleTable_getCaption): fix bugs hidden by
468 (long_seq_to_array): impl.
469 (AccessibleTable_getSelectedRows),
470 (AccessibleTable_getSelectedColumns): use it.
472 2001-12-10 Bill Haneman <bill.haneman@sun.com>
475 Added a TODO list (rough and short for now).
477 * cspi/spi_hyperlink.c:
478 * cspi/spi_hypertext.c:
479 Fixed macro name typos, and remove use of obsolete macro in
480 AccessibleHyperlink_getLink.
483 * cspi/spi_accessible.c:
484 * cspi/spi_application.c:
485 * cspi/spi_component.c:
486 * cspi/spi_selection.c:
489 Documentation fixes (removed return values from ref/unref methods).
491 2001-12-10 Michael Meeks <michael@ximian.com>
493 * cspi/spi_action.c: audit for exception handling,
494 tolerating NULL object references safely etc.
496 * cspi/spi_accessible.c: ditto.
498 * cspi/spi_component.c: ditto.
500 * cspi/spi_editabletext.c: ditto.
502 * cspi/spi_hyperlink.c: ditto.
504 * cspi/spi_hypertext.c: ditto.
506 * cspi/spi_image.c: ditto.
508 * cspi/spi_selection.c: ditto.
510 2001-12-10 Michael Meeks <michael@ximian.com>
512 * configure.in: use cspi/libspi.pc.in instead.
514 * Makefile.am (pkgconfig_DATA): upd. to match.
516 * test/simple-at.c (report_focus_event): kill hacks around
517 bad return values, use putenv not setenv
519 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
520 fire ChildGone - I killed it.
523 (impl_accessibility_component_get_extents): remove
526 * idl/Accessible.idl: kill ChildGone exception.
528 * cspi/*.[ch]: kill int return from ref / unref.
530 * cspi/spi_main.c (cspi_object_add_check): fold into
531 (cspi_object_add): here.
533 * cspi/spi_component.c (AccessibleComponent_getExtents):
534 handle exceptions elegantly.
536 * cspi/spi-private.h (cspi_check_ev_return),
537 (cspi_return_if_fail): impl.
539 * cspi/spi_accessible.c: use extensively.
540 (AccessibleStateSet_equals): add direct compare check.
542 * cspi/spi_selection.c: tolerate NULL objs, and check
543 exceptions before return.
545 * cspi/spi-util.c (cspi_warn_ev): rename to
546 (cspi_check_ev): this & don't pass ev in; no point.
548 2001-12-10 Michael Meeks <michael@ximian.com>
550 * test/test-simple.c: use putenv not setenv
551 (get_environment_vars): more chatty if you're not using
554 * test/simple-at.c: do the setenv so more people see the
557 2001-12-10 Bill Haneman <bill.haneman@sun.com>
560 Changed check of CORBA_environment on notification to be a warning
561 instead of an error for the moment, since we can recover from this
562 error when caused by a queued notification from a dead app.
565 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
566 used by all current implementors of AtkValue), and coerce to
567 CORBA_float. (Proper general case fix may require change to Value.idl).
569 2001-12-09 Bill Haneman <bill.haneman@sun.com>
573 * cspi/spi_accessible.c:
574 Documentation fixes: added user_data params to documentation for
575 listeners and callbacks.
577 * cspi/spi_accessible.c:
578 Changed AccessibleStateSet_compare to return a
579 StateSet rather than return the difference set into a third parameter.
582 2001-12-09 Bill Haneman <bill.haneman@sun.com>
585 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
586 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
590 Remove subdirectory po from SUBDIRS for now.
592 * at-bridge/bridge.c:
593 Beefed up a couple of debug printouts.
594 One-line fix for signal notification name formatting.
596 * libspi/accessible.c:
597 Added assertion to spi_accessible_new ().
599 * libspi/application.c:
600 Put #ifdef qualifiers around a printf.
603 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
605 * registryd/Makefile.am:
607 Replaces use of XML_I18N_MERGE_SERVER_RULE with
608 INTLTOOL_SERVER_RULE macro.
611 Added an event listener for several ATK signals, for
612 testing and debugging. Removed a few g_warnings.
613 Added test output if focussed item implements the Value interface.
615 * test/test-simple.c:
616 Added test_value () function (known not to pass at the moment, so
617 not actually called yet.
619 2001-12-08 Michael Meeks <michael@ximian.com>
621 * at-bridge/bridge.c (bridge_focus_tracker),
622 (emit_eventv): fix the same ref. leak.
623 (register_atk_event_listeners): don't leak.
625 * cspi/spi-listener-impl.c (cspi_event): more
626 protection from client code.
628 * test/test-simple.c (test_desktop): unref the app.
630 * test/Makefile.am: upd. TESTS.
632 * at-bridge/bridge.c (bridge_exit_func): release the registry.
634 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
636 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
638 * cspi/spi_registry.c: constify in strings.
639 (deregisterGlobalEventListenerAll): don't release the ref.
641 * cspi/spi.h: start removing redundant / conflicting
642 gtkdoc comments, making the API readable at a glance :-)
644 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
646 * test/keysynth-demo.c (keysynth_exit, main): upd.
648 * test/simple-at.c (main, simple_at_exit): upd.
650 * test/test-simple.c (unutterable_horror): kill.
651 (utterable_normal_derefs): kill.
652 (main): upd & do a setenv before gtk_init, so that we
653 can use memprof - and to save the pain of remembering
654 this, if we're running under memprof - don't exit.
656 * cspi/spi_main.c (SPI_exit): return exit status
658 (SPI_event_quit): impl.
659 (SPI_event_main): simplify.
660 (cspi_is_gnome_app): kill.
661 (SPI_init): kill isGNOMEapp arg.
663 * at-bridge/bridge.c (register_atk_event_listeners):
664 re-instate the unref.
665 (bridge_exit_func): don't re-activate the registry,
666 protect vs. theoretical re-entry, use the
667 AT_BRIDGE_SHUTDOWN env. var to determine whether to
668 assert a clean shutdown - for regression tests.
670 2001-12-08 Abel Cheung <maddog@linux.org.hk>
672 * configure.in: Comment out dummy i18n support for now,
673 otherwise it fails to build.
674 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
675 EXTRA_DIST. They are missing in tarball.
677 2001-12-07 Michael Meeks <michael@ximian.com>
679 * util/magnifier.c: kill bonobo activation reg. race.
682 (impl_accessibility_component_get_extents): make it match
685 * libspi/registry.c (_registry_notify_listeners):
686 re-remove X headers & reconcile conflicts.
687 (spi_listener_struct_free): bad conflict resolve.
688 (impl_accessibility_registry_register_application):
689 more bad merging fixed.
690 (impl_accessibility_registry_deregister_application): ditto.
691 (spi_registry_new): ditto.
692 (spi_registry_init): don't have an applications field.
694 [ merge fixups2 branch to here ]
695 2001-12-07 Michael Meeks <michael@ximian.com>
697 * test/simple-at.c (report_focus_event),
698 (report_focussed_accessible): remove g_warning debug.
700 2001-12-07 Michael Meeks <michael@ximian.com>
702 * test/test-simple.c (validate_tree): comment out some checks.
703 (test_desktop): app now not registered idly - horay.
705 2001-12-07 Michael Meeks <michael@ximian.com>
707 * cspi/spi_registry.c
708 (registerAccessibleKeystrokeListener): clean, stop it leaking
709 great swathes of memory, and device event controller references.
710 ensure we always pass valid sequences.
711 (deregisterAccessibleKeystrokeListener): ditto.
712 (generateKeyEvent): upd.
714 * at-bridge/bridge.c (bridge_key_listener): handle
715 registry dead exception gracefully.
716 (bridge_focus_tracker, emit_eventv): free ev.
718 * test/simple-at.c (report_focus_event): fix polarity.
720 * libspi/application.c (notify_listeners): kill the ev
721 argument, and make sure we init the ev we use.
722 (spi_application_object_event_listener): split out a chunk
723 (get_atk_object_ref): here & fixup.
724 (reverse_lookup_name_for_toolkit_event): make const.
725 (spi_application_toolkit_event_listener): fixup, kill leaks
728 * at-bridge/bridge.c (register_atk_event_listeners):
729 don't unref the noop object - causes grief.
731 * libspi/registry.c: remove the X headers.
732 turn off the debug churn.
734 * libspi/accessible.c (spi_accessible_new_return): only
735 release the ref if we are supposed to [doh]
737 * test/simple-at.c (report_button_press, report_focus_event):
738 guard vs. unexpected exit.
740 * at-bridge/bridge.c (gtk_module_init): prune printf.
741 (bridge_exit_func): fix app unref.
743 * libspi/Makefile.am: don't install registry or desktop.h
745 * libspi/*.h: update includes.
747 * libspi/application.h: don't include ourself, or
748 other redundant headers.
750 2001-12-06 Michael Meeks <michael@ximian.com>
752 * libspi/accessible.c
753 (get_accessible_from_servant): impl.
754 Upd. all CORBA impl.s to use it killing cut and paste.
756 * cspi/spi_main.c (cspi_cleanup): guard vs. double
758 (SPI_init): register atexit cleanup handler here.
760 2001-12-06 Michael Meeks <michael@ximian.com>
762 * at-bridge/bridge.c (gtk_module_init): g_error on
765 2001-12-06 Michael Meeks <michael@ximian.com>
767 * at-bridge/bridge.c (gtk_module_init): some sort of
768 confusing merge clash - reverted.
769 (bridge_idle_init): ditto.
771 * test/test-simple.c (main, utterable_normal_derefs):
772 merge from Bill - somehow not committed.
774 2001-12-06 Michael Meeks <michael@ximian.com>
776 * libspi/value.c (spi_value_class_init): upd.
777 (spi_value_finalize): kill.
779 * libspi/table.c (spi_table_finalize): kill.
780 (spi_table_interface_new): upd.
781 (spi_table_class_init): upd.
782 (get_table_from_servant): impl.
783 Upd. all CORBA impl.s to use it killing yet more cut and paste.
785 * libspi/selection.c (spi_selection_finalize): kill.
786 (spi_selection_interface_new): upd.
787 (spi_selection_class_init): upd.
788 (get_selection_from_servant): impl.
789 Upd. all CORBA impl.s to use it killing yet more cut and paste.
791 * libspi/relation.c (spi_relation_finalize): kill.
792 (spi_relation_class_init, spi_relation_new): upd
794 * libspi/image.c (spi_image_finalize): kill.
795 (spi_image_class_init): upd.
796 (spi_image_interface_new): upd.
797 (get_image_from_servant): impl.
798 Upd. all CORBA impl.s to use it killing yet more cut and paste.
800 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
801 (spi_hyperlink_finalize): kill.
802 (spi_hyperlink_new): upd.
803 (get_hyperlink_from_servant): impl.
804 Upd. all CORBA impl.s to use it killing yet more cut and paste.
806 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
807 (spi_hypertext_finalize): kill.
808 (spi_hypertext_class_init): upd.
809 (get_hypertext_from_servant): impl.
810 Upd. all CORBA impl.s to use it killing yet more cut and paste.
812 * libspi/editabletext.c (spi_editable_text_finalize): kill.
813 (spi_editable_text_interface_new): upd.
814 (get_editable_text_from_servant): impl.
815 Upd. all CORBA impl.s to use it killing yet more cut and paste.
817 * libspi/text.c (get_text_from_servant): impl.
818 All impls - update to use it killing more cut and paste,
819 also fix bad string returns on duff args ( a somewhat
820 impossible case to handle - but hey ).
821 (spi_text_construct): impl.
822 (spi_text_interface_new): upd.
823 (spi_text_object_finalize): kill.
826 (accessibility_component_object_finalize): kill.
827 (spi_component_class_init): upd.
828 (get_component_from_servant): impl. helper to kill cut & paste.
829 (impl_accessibility_component_contains):
830 (impl_accessibility_component_get_accessible_at_point):
831 (impl_accessibility_component_get_position):
832 (impl_accessibility_component_get_extents):
833 (impl_accessibility_component_get_mdi_z_order):
834 (impl_accessibility_component_get_layer):
835 (spi_component_interface_new): upd.
837 * libspi/action.c (spi_action_finalize): kill.
838 (spi_action_class_init): upd. inherit from SpiObject.
839 (spi_action_interface_new): upd.
840 (get_action_from_servant): impl. helper to reduce cut & paste.
841 (impl_getKeyBinding, impl_getName, impl_doAction),
842 (impl_getDescription): Use it everywhere.
844 * cspi/spi_main.c (get_live_refs): a pointer hash.
845 (spi_object_hash, spi_object_equal): comment out.
846 There are issues with CORBA object hashing that need
849 * libspi/application.c (spi_application_init),
850 (spi_application_new): upd.
852 * libspi/accessible.c (spi_accessible_object_finalize): kill.
853 (spi_accessible_class_init): upd.
854 s/accessible/object/ in epv methods.
856 2001-12-05 Bill Haneman <bill.haneman@sun.com>
858 * at-bridge/bridge.c:
859 Reorder the bridge initialization into the bridge gtk_module_init,
860 an immediate call to bridge_register_app, and an idle_add for
861 register_atk_event_listeners (the only code that *must* wait until
862 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
863 the activation, creates the application's Accessible object, and
864 queues the bridge_idle_init function. Restored call to
865 Accessibility_Registry_deregisterApplication().
866 Prior to making this call we obtain a new reference to the
867 registry, which is a temporary hack that helps us handle apps that
868 shut down the bonobo mainloop before we get there.
871 Fix string leakage in debug block, and don't segv if a an app
872 dies before its event notifications have been propagated.
875 Modify cspi_check_ev() to call g_warning() rather than g_error(),
876 as stopgap measure until we get proper exception handling when
877 objects die during or before interrogation.
881 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
882 Also changed default value of is_gnome_app to TRUE.
885 * test/keysynth-demo.c:
886 Changed use of SPI_init and SPI_event_main to reflect API change above.
889 Made report_focus_event check the warning value from getName
890 before reporting on focussed accessible; simplifies handling of
891 notifications from dead objects.
893 * test/test-simple.c: (Changes not in this patch since source is
896 2001-12-05 Michael Meeks <michael@ximian.com>
898 * registryd/registryd.c (main): protect against
899 bonobo-activation startup race condition.
901 * cspi/spi_main.c (cspi_object_add_check): cope
902 with the exception elegantly.
904 * idl/Accessible.idl: decl. ChildGone
906 * libspi/desktop.c (spi_desktop_dispose): impl.
907 (spi_desktop_class_init): upd.
908 (spi_desktop_add_application),
909 (spi_desktop_remove_application),
910 (abnormal_application_termination): impl.
911 (impl_desktop_get_child_at_index): re-impl.
914 (impl_accessibility_registry_deregister_application),
915 (impl_accessibility_registry_register_application):
916 kill excessive debug clutter.
918 * test/test-simple.c (test_misc): test some NULL
919 tolerance. (main): upd.
921 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
922 implements no interfaces - so let's not crash.
924 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
926 * libspi/accessible.c (spi_accessible_new_return): impl.
927 helper to calm the cut and paste, to cope with
928 NULL AtkObjects effectively and efficiently, and to kill
929 the referencing bugs.
931 * libspi/table.c (impl_getAccessibleAt),
932 (impl_getRowHeader, impl_getColumnHeader): upd.
934 * libspi/hyperlink.c (impl_getObject): upd.
936 * libspi/accessible.c
937 (impl_accessibility_accessible_get_child_at_index): upd.
940 (impl_accessibility_component_get_accessible_at_point): upd.
942 * test/test-simple.c (test_editable_text, test_text): impl.
945 * cspi/spi_editabletext.c
946 (AccessibleEditableText_insertText): constify.
948 * test/test-simple.c (focus_me): make more robust.
950 * libspi/accessible.c: remove some printfs in methods that
951 we test and work fine, so we can get a clean tree dump.
953 * test/test-simple.c (validate_accessible),
954 (validate_tree): make tree dumping pretty too.
956 * at-bridge/bridge.c (bridge_signal_listener): upd. so
957 it builds without debug on.
959 * test/test-simple.c (validate_accessible): fix the most
962 * cspi/spi_main.c (spi_object_release): leave the nicely
963 blanked memory around if in debug mode.
965 * cspi/spi-listener-impl.c (cspi_event): use add_check.
967 [committed to fixups2]
968 2001-12-05 Michael Meeks <michael@ximian.com>
970 * libspi/editabletext.c
971 (spi_editable_text_class_init): g_type_class_peek_parent,
972 not interface peek - so we finalize cleanly.
974 * libspi/accessible.c (spi_accessible_new): kill debug.
976 * test/test-simple.c (validate_accessible): fix ref.
977 leak, print strings before freeing them; sigh, comment a
978 chunk out due to strangeness.
979 (validate_tree): unref the child after use.
981 * cspi/spi_component.c (AccessibleComponent_getLayer):
982 add missing break statement, switch on zlayer not the
983 uninitialized retval.
985 * cspi/spi_main.c (cspi_object_add): add assert, local ref
986 before (possibly re-entering) remote unref.
988 * test/simple-at.c (main): unref the desktop.
990 * cspi/spi_accessible.c (cspi_accessible_is_a): move
993 * cspi/spi_main.c (cspi_accessible_is_a): here to
994 isolate bonobo API usage more.
996 * libspi/registry.c (impl_accessibility_registry_register_application):
999 2001-12-04 Michael Meeks <michael@ximian.com>
1001 * test/test-simple.c (validate_tree): upd.
1002 IndexInParent check to make it more lucid.
1003 (validate_accessible): dump the tree.
1005 * libspi/accessible.c (de_register_public_ref),
1006 (get_public_refs): impl.
1007 (spi_accessible_new): make more efficient & intuitive.
1008 Now IndexInParent check works.
1010 2001-12-04 Michael Meeks <michael@ximian.com>
1012 * cspi/spi-util.h: remove.
1014 * cspi/spi.h: move SPI_freeString here
1016 * libspi/component.c (impl_accessibility_component_get_layer):
1018 (impl_accessibility_component_get_mdi_z_order): ditto,
1019 return -1 on error - is this ok ?
1021 * test/test-simple.c (test_application): impl.
1023 * cspi/spi_accessible.c (Accessible_getApplication),
1024 (Accessible_isApplication): impl.
1026 * libspi/registry.c (spi_listener_struct_free): release
1027 the CORBA reference too.
1029 * libspi/accessible.c
1030 (impl_accessibility_accessible_get_parent): fix ref leak.
1032 * libspi/registry.c (spi_registry_new): make the registry
1033 immortal - we don't want it to go away ever.
1035 * libspi/application.c
1036 (spi_accessible_application_finalize): impl. cleanup.
1038 * cspi/spi_registry.c
1039 (deregisterGlobalEventListenerAll),
1040 (deregisterGlobalEventListener),
1041 (deregisterAccessibleKeystrokeListener): fix ref leak.
1043 * cspi/spi_main.c (SPI_init): remove redundant ref.
1045 * test/test-simple.c (unutterable_horror): impl. to force a
1050 (impl_accessibility_registry_deregister_application): release
1051 the application when we de-register it.
1053 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1054 until we have the infastructure to get it right.
1056 2001-12-03 Michael Meeks <michael@ximian.com>
1058 * libspi/Makefile.am: only build eventlistener.[ch]
1060 * libspi/accessible.c
1061 (impl_accessibility_accessible_get_child_at_index): don't leak.
1063 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1064 before we hit the idle handler.
1066 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1067 debugging than exit.
1069 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1071 * libspi/listener.c (impl_notify_event): check source
1072 not NIL before unref.
1074 * libspi/registry.c (impl_registry_notify_event): ditto.
1076 * libspi/eventlistener.c
1077 (impl_accessible_event_notify_event): unref the source.
1079 * libspi/accessibleeventlistener.c
1080 (impl_accessible_event_notify_event): unref the source.
1082 * idl/Event.idl: remove 'hash_id' attribute - of no
1085 * libspi/application.c (notify_listeners): upd list
1087 (spi_application_object_event_listener),
1088 (spi_application_toolkit_event_listener): upd to do correct
1092 (_registry_notify_listeners): update.
1093 (parse_event_type): this method also leaks like a sieve.
1094 (impl_accessibility_registry_deregister_global_event_listener):
1095 fix ETYPE_WINDOW case.
1097 * libspi/application.c
1098 (impl_accessibility_application_register_object_event_listener):
1101 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1103 * libspi/hypertext.c (impl_getLink): ditto.
1105 * cspi/spi_main.c (cspi_object_add): remove
1106 bogus CORBA_Object_duplicate.
1108 * cspi/spi-listener-impl.c (cspi_event): dup/ref
1111 * cspi/spi_accessible.c
1112 (Accessible_getRelationSet): fix leak / referencing issue.
1114 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1115 (cspi_object_add, cspi_object_unref): upd.
1116 (spi_object_release, get_live_refs): impl.
1117 (cspi_cleanup): simplify.
1119 * *.[ch]: s/boolean/SpiBoolean/
1121 * cspi/spi_accessible.c (role_names): actualy order so it
1122 corresponds with the enum !
1124 * test/test-simple.c (test_roles): check some role strings
1125 vs. enums to detect offset errors.
1127 2001-12-01 Michael Meeks <michael@ximian.com>
1129 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1131 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1133 (Accessible_getChildAtIndex): use cspi_add_check so we
1134 check the ev before using a (possibly) invalid value.
1136 * libspi/accessible.c
1137 (impl_accessibility_accessible_get_parent): don't segv
1140 * at-bridge/bridge.c (gtk_module_init): upd.
1141 (bridge_property_event_listener): don't leak strings
1143 (bridge_state_event_listener),
1144 (bridge_property_event_listener): don't use a static
1145 buffer in case of recursive event emission &
1146 re-enterancy - split out the swathe of cut and paste
1148 (emit_eventv): and fix 2 ref leaks here & comply to the
1150 (bridge_register_app): rename to
1151 (bridge_idle_init): this and kill arg parsing, split
1152 various inits & bonobo-activation registration to module
1153 init time, kill referencing error.
1154 (bridge_exit_func): fix the same leak.
1155 (bridge_focus_tracker): don't leak event structures
1157 (bridge_signal_listener): more leakage and cut & paste
1159 (bridge_key_listener): return the result - FIXME is
1160 this polarity correct ?
1161 (accessibility_keystroke_from_atk_key_event): rename
1162 (accessibility_init_keystroke_from_atk_key_event): and stop
1164 (gtk_module_init): return a value - not that it is checked by
1166 (bridge_key_listener): register my horror at casting between
1167 IDL defined structs.
1168 (bridge_get_registry): kill - not used.
1170 * cspi/spi_accessible.c (Accessible_getRole): make return const.
1172 * test/test-simple.c (test_roles): impl.
1173 (test_desktop, validate_accessible, validate_tree): impl.
1175 * cspi/spi_accessible.c (role_names): fixup bogus
1176 MAX_ROLES setup, make constants const for efficient linkage
1177 (AccessibleRole_getName): conform to coding style, make
1180 2001-11-30 Michael Meeks <michael@ximian.com>
1182 * cspi/spi.h: add missing prototype.
1184 * libspi/registry.c (spi_listener_struct_new): fix sig.
1186 * test/Makefile.am: add test-simple
1188 * test/test-simple.c: add
1190 * test/test.sh: add.
1192 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1194 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1195 do it straight - since otherwise we often get an activation race.
1197 [ work before Bill duplicated a chunk of it ... ]
1198 2001-11-30 Michael Meeks <michael@ximian.com>
1200 * libspi/keystrokelistener.c
1201 (spi_keystroke_listener_class_init): fixup arg
1204 * libspi/eventlistener.c
1205 (spi_event_listener_class_init): ditto.
1207 * tests/test.sh: add.
1209 * cspi/spi-listener-impl.h: update macros.
1211 * cspi/spi-listener-impl.c
1212 (cspi_event_listener_remove_callback): add
1213 correct pre-conditions.
1215 * cspi/spi_main.c (SPI_exit): guard vs. double
1216 exits, exit the mainloop nicely.
1217 (SPI_event_main): make more sense.
1218 (SPI_init): move the atexit evilness here so we
1219 always do it (yuck).
1220 (SPI_event_main): upd.
1222 * test/simple-at.c: update for listener changes.
1224 * registryd/registryd.c (main): prune kruft.
1226 * libspi/libspi.h: upd.
1228 * libspi/eventlistener.[ch]: rename broken macros.
1230 * libspi/accessibleeventlistener.[ch]: remove.
1232 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
1234 * test/test-simple.c: Add - automated tests.
1236 * cspi/spi-listener-impl.c (cspi_event),
1237 (cspi_key_event): add user_data to invoke.
1238 (cspi_keystroke_listener_finalize): impl.
1239 (cspi_keystroke_listener_class_init): upd.
1242 (createAccessibleEventListener),
1243 (AccessibleEventListener_addCallback),
1244 (createAccessibleKeystrokeListener),
1245 (AccessibleKeystrokeListener_addCallback): upd.
1247 * libspi/deviceeventcontroller.c
1248 (spi_device_event_controller_check_key_event): add public proto.
1251 (impl_accessibility_registry_deregister_global_event_listener):
1252 always init listeners.
1253 (_registry_notify_listeners): yes it is.
1255 * cspi/spi-listener-impl.c (cspi_key_event):
1257 (cspi_event_listener_finalize): impl.
1258 (cspi_event_listener_class_init): hook up.
1259 (event_handler_new, event_handler_free),
1260 (event_list_remove_by_callback): impl.
1261 (cspi_event_listener_remove_callback),
1262 (cspi_keystroke_listener_remove_callback),
1263 (cspi_keystroke_listener_add_callback),
1264 (cspi_event_listener_add_callback): upd.
1266 * libspi/keystrokelistener.c
1267 (keystroke_listener_object_finalize): kill
1268 (spi_keystroke_listener_class_init): upd.
1269 (spi_keystroke_listener_add_callback),
1270 (spi_keystroke_listener_remove_callback): kill,
1272 (impl_key_event): prune drasticaly.
1274 * libspi/eventlistener.c
1275 (spi_event_listener_add_callback),
1276 (spi_event_listener_remove_callback): kill, use
1278 (impl_accessible_event_notify_event): upd.
1279 (spi_event_listener_object_finalize): remove.
1281 * libspi/Makefile.am: use eventlistener.[ch]
1283 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1285 * libspi/registry.c (_registry_notify_listeners):
1286 Changed listener loop iteration to use preferred convention.
1287 Got rid of string memory leaks caused be calling g_strconcat
1288 inside function calls.
1290 * libspi/registry.c (parse_event_type):
1291 Stopped g_strconcat memory leaks, free the g_strsplit return,
1292 g_strdup the split pieces when used, etc.
1294 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1297 Change method 'compare' to return a 'difference set' rather than
1298 taking a StateSet as an out parameter (more Java-friendly).
1300 * idl/Accessible.idl:
1301 Added CORBA struct 'BoundingBox', to faciliate API changes below:
1303 * idl/Component.idl:
1305 Changed methods 'getExtents' and 'getImageExtents' in these
1306 interfaces to return a BoundingBox structure.
1307 (getPosition and getSize are redundant and possibly should be
1308 removed, rather than creating a corresponding Point struct.)
1310 * cspi/spi_component.c:
1311 Modify implementation of getExtents to reflect the above IDL
1316 Add (missing) AccessibleImage_getExtents () API.
1318 * docs/reference/cspi/at-spi-cspi-sections.txt:
1319 Added AccessibleImage_getImageExtents () to docs.
1321 2001-12-03 Bill Haneman <bill.haneman@sun.com>
1323 * idl/Component.idl:
1324 Added two methods, getLayer () and getMDIZOrder (), to reflect
1325 the new ATK methods atk_object_get_layer and
1326 atk_object_get_mdi_z_order. (Which arguably should be part of the
1327 AtkComponent API and AtkObject). Also added an enum,
1328 ComponentLayer, for the first method's return value.
1330 * libspi/component.c:
1331 Added implementations for these methods.
1333 * cspi/spi_component.c:
1335 Added cspi binding methods for above,
1336 AccessibleComponent_getLayer() and
1337 AccessibleComponent_getMDIZOrder().
1338 Added cspi enum 'AccessibleComponentLayer'.
1340 * docs/reference/cspi/at-spi-cspi-sections.txt:
1341 Added above methods to docs.
1345 Changed typedef for 'boolean' type (and all references to it) to
1346 SPIBoolean, to avoid keyword clashes with C++.
1349 Changed usages of 'boolean' to SPIBoolean.
1351 * test/keysynth-demo.c:
1352 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
1353 app), except where SPIBoolean is required by the callbacks API.
1355 2001-12-02 Bill Haneman <bill.haneman@sun.com>
1357 * cspi/spi_registry.c:
1358 Removed obsolete X event loop for passive keygrabs (which now
1361 * registryd/registryd.c:
1362 Removed unnecessary call to gdk_init() [cruft]. This also allows
1363 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
1366 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1368 * docs/reference/cspi:
1369 Included docs for SPI_freeString in generated documentation.
1372 Renamed spi_freeString to SPI_freeString, for consistency. Added
1373 documentation for this function.
1376 Renamed spi_freeString to SPI_freeString, for consistency.
1377 Removed obsolete method declaration string_from_corba_string.
1379 * test/keysynth-demo.c:
1380 Small tweak to comments.
1383 Stopped leaking the strings returned from CSPI.
1385 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1387 Merged Michael's branch (see his ChangeLog entries below).
1389 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
1390 bridge is alive, release on exit.
1392 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
1393 Fix type check macro.
1396 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
1399 Added is_gnome_app static, and method cspi_is_gnome_app(),
1400 so we can call the appropriate shutdown routine at exit in SPI_exit.
1402 * cspi/spi_main.c (cspi_object_ref):
1403 Duplicate the corba object passed in, since we're keeping it around.
1405 * cspi/SPI_exit.c, cspi_cleanup:
1406 Moved the releasing of the live refs to its own function, so we
1407 can put it in g_atexit (). Call the appropriate shutdown API
1408 depending on whethe calling client is a gnome app or not
1409 (bonobo_main_quit or CORBA_ORB_shutdown).
1411 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
1412 Unref the listener when this method is called, after
1413 deregistration. Updated the API docs to note this behavior.
1415 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
1416 Bugfixes: Ref the bonobo object when returning a parent or child
1417 reference, or an AccessibleRelation. Generally made sure
1418 BonoboObject refcount is incremented whenever we return an
1421 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
1422 Fixed typo/bug in signal declaration.
1424 * libspi/accessibleeventlistener.h:
1427 * libspi/application.c (spi_application_new):
1428 Fixed leak in initialization.
1431 Remembered to increment bonobo-object refcount when returning
1432 children (applications) from desktop object.
1433 Added (empty) finalize method.
1435 * libspi/deviceeventcontroller.c:
1436 Hold a ref to listeners inside DEControllerKeyListeners.
1437 Added dec_key_listener_free() method. Use prepend instead of
1438 append in key_listener list. Fixed some refcount madness and
1439 leaks in the listener registration/deregistration - deregistration
1440 now calls dec_key_listener_free() on listeners, and on the
1441 temporarily constructed dec_key_listener() used to perform the search/match.
1443 * libspi/hypertext.c (spi_hypertest_finalize):
1444 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
1445 class. Also fixed spi_hypertext_interface_new() and
1446 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
1448 * libspi/hypertext.h:
1449 Removed pointless and duplicate AtkObject pointer from
1452 * libspi/keystrokelistener.c:
1453 Fixed incorrect type of keystroke_listener_parent_class,
1454 renamed keystroke_listener_object_finalize to
1455 spi_keystroke_listener_object_finalize.
1456 Fixed typo in signal declaration
1457 (spi_keystroke_listener_class_init).
1459 * libspi/registry.c:
1460 Added funcsions spi_listener_struct_new() and
1461 spi_listener_struct_free() to help with memory management issues.
1462 We also now use these methods instead of gnew + poking stuff into
1463 the struct, and to decrement listener counts/free the listeners
1464 when deregistering them.
1465 Fix more refcount bugs in getDesktop() and
1466 getDeviceEventController().
1469 De-ref the desktop after enumerating the applications. Explicitly
1470 decrement the refcounts on the created listeners on exit (using
1471 _unref for keystroke listeners, and via the
1472 deregisterGlobalEventListenerAll command for other event
1475 2001-11-27 Michael Meeks <michael@ximian.com>
1477 * cspi/spi-listener.h: fixup enum.
1479 2001-11-27 Michael Meeks <michael@ximian.com>
1481 * cspi/spi-listener-impl.c (cspi_event_listener_new),
1482 (cspi_keystroke_listener_new): Use the cspi variants.
1484 2001-11-26 Michael Meeks <michael@ximian.com>
1486 * test/keysynth-demo.c: fix 2 compile warnings, missing
1489 * test/simple-at.c (report_focussed_accessible),
1490 (report_focus_event, report_button_press),
1491 (check_property_change, is_command_key),
1492 (report_ordinary_key_event, report_command_key_event): upd.
1494 * util/mag_client.h: include pre-requisites.
1496 * libspi/accessibleeventlistener.c
1497 (spi_event_listener_object_finalize): free any lingering
1500 * libspi/keystrokelistener.c
1501 (keystroke_listener_object_finalize): ditto.
1503 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1504 callbacks, with cspi types.
1506 * cspi/spi_event.c (createAccessibleEventListener): chain to
1507 (AccessibleEventListener_addCallback): here.
1508 (createAccessibleKeystrokeListener): chain to
1509 (AccessibleKeystrokeListener_addCallback): here.
1511 * libspi/keystrokelistener.c
1512 (spi_keystroke_listener_class_init): add signal.
1513 (impl_key_event): emit the event.
1514 (boolean_handled_accumulator): impl.
1515 (marshal_BOOLEAN__POINTER): add, gack.
1517 * libspi/accessibleeventlistener.c
1518 (spi_event_listener_class_init): add signal.
1519 (impl_accessible_event_notify_event): emit the signal &
1520 make the loop efficient.
1521 (spi_event_listener_add_callback): prepend the callback.
1523 * libspi/accessibleeventlistener.h: add an 'event' signal,
1524 decl type on callback.
1526 * libspi/keystrokelistener.h: ditto.
1528 * cspi/spi-listener.h: make methods typesafe and
1529 make them use the new event typedefs.
1531 * test/simple-at.c (report_focussed_accessible):
1532 include mag_client.h
1533 Use *(void *)text_interface not the other thing.
1535 * configure.in: add gtk to registryd bits - since we use
1538 * util/magnifier.c: include libbonobo.h
1540 2001-11-25 Bill Haneman <bill.haneman@sun.com>
1542 * test/keysynth-demo.c:
1543 Turned this into a simple scanning keyboard, to demonstrate the
1544 use of g_timeout_add () as a means of creating timers for
1545 scanning, and the use of GtkStyle for visually indicating when
1546 virtual keyboard elements are selected.
1548 keysynth-demo now listens to any keyboard keys with zero-valued
1549 keycodes (i.e. 'unused' keys) and interprets them as
1552 Reworked the shiftlatch code so that shift-down state isn't held
1553 for long periods (it's only synthesized immediately prior to
1554 the keysynth event it's modifying). Note that shiftlatch in this
1555 demo is a convenience, not intended to take the place of AccessX
1556 which is the better choice for getting 'sticky' modifier keys.
1558 * libspi/deviceeventcontroller.c:
1559 * at-bridge/bridge.c:
1560 * cspi/spi_registry.c:
1561 Removed some debug print stuff, and put other verbosity in #ifdef
1566 Implemented some more of the magnifier IDL for the simple
1567 magnifier: namely, getZoomRegionParams.
1568 Added mag_x and mag_y members to MagnifierData struct, aid of this
1570 Added GtkWindow::realize signal handler to magnifier, to keep it
1571 from receiving keyboard focus from the WM.
1573 2001-11-23 Mark McLoughlin <mark@skynet.ie>
1575 * cspi/spi-private.h: my guess at what michael forgot
1576 before he ran off to NZ :-)
1578 2001-11-23 Michael Meeks <michael@ximian.com>
1580 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
1581 comment out non existant method invoke so we link.
1583 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
1584 use bonobo_exception_get_text for more friendly warnings.
1586 * cspi/spi.c (Obj_Add): move into spi_main & rename
1587 spi_object_add; kill spi.c
1589 * cspi/spi_registry.c
1590 (deregisterGlobalEventListener),
1591 (deregisterGlobalEventListenerAll),
1592 (registerGlobalEventListener): fix exception leaks.
1594 * cspi/spi_main.c (spi_exception): impl. helper, so we
1595 don't leak exceptions.
1597 * cspi/spi_selection.c
1598 (AccessibleSelection_deselectSelectedChild): return the
1601 * cspi/spi_main.c (spi_ev): impl; hack - gack.
1602 (spi_registry): ditto.
1603 (SPI_init): guard against double inits.
1605 * cspi/*.c: use spi_ev (), and spi_registry () where
1606 appropriate - a temporary hack until we have something
1607 better. Use spi_object_add
1609 2001-11-22 Michael Meeks <michael@ximian.com>
1611 * cspi/Makefile.am: re organise, install the headers.
1613 * cspi/*.h: add G_BEGIN/END_DECLS
1615 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1618 Added non-preemptive keylistener for key events with no modifiers
1619 and shift-only modifier.
1621 * libspi/keystrokelistener.c:
1622 Removed some verbose diagnostics printout.
1624 * cspi/spi_registry.c:
1625 Fixed a bug that caused all key listeners to be registered as
1628 * libspi/deviceeventcontroller.c:
1629 Fixed bug that caused XGrabKey (preemptive key grab) to be called
1630 for non-preemptive key masks.
1633 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1635 * docs/reference/idl/at-spi-idl-docs.sgml:
1636 * docs/reference/idl/at-spi-idl-sections.txt:
1637 * docs/reference/idl/at-spi-idl-overrides.txt:
1638 Added missing files.
1640 * docs/reference/Makefile.am:
1641 removed idl from SUBDIRS until we can figure a way to get gtk-doc
1642 to scan the IDL files :-(
1647 Added .cvsignore files.
1649 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1651 * libspi/deviceeventcontroller.c:
1652 * libspi/keystrokelistener.c:
1654 * cspi/spi_registry.c:
1655 Added filters for KeySets, KeyEventSeq, and event types to key
1656 event dispatching, so listeners should only receive those events
1657 that they requested :-)
1659 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1664 * docs/reference:Makefile.am:
1665 * docs/reference/cspi:
1666 * docs/reference/cspi:Makefile.am:
1667 * docs/reference/cspi:tmpl:
1668 * docs/reference/cspi:tmpl:*.sgml:
1669 * docs/reference/idl:
1670 * docs/reference/idl:Makefile.am:
1671 * docs/reference/idl:at-spi-idl-sections.txt:
1672 * docs/reference/idl:at-spi-idl-docs.sgml:
1673 * docs/reference/idl:tmpl:
1674 * docs/reference/idl:tmpl:*.sgml:
1676 Restructured docs directory to allow separate 'reference' docs
1677 section, and forked idl and cspi docs. Added the sgml template
1678 files to CVS. Added the first sections/structural sgml for the
1681 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
1683 * configure.in, libspi/Makefile.am: find libXtst.
1685 2001-11-21 Michael Meeks <michael@ximian.com>
1687 * test/accessx-gui.c: s/spi_value/value/ - doh.
1689 * libspi/base.[ch]: add.
1691 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1693 * idl/Accessible.idl:
1694 * idl/Application.idl:
1697 Started gtk-doc cleanup on IDL.
1699 * libspi/deviceeventcontroller.c:
1700 Added and connected non-preemptive key notification from the
1701 toolkits (in addition to the pre-emptive support from XServer
1702 which we had before, but which causes 'focus flashing'). Filters
1703 are presently limited to key modifiers and global/non-global,
1704 KeySets are presently ignored, as are KeyEvent masks.
1706 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1707 structs into the persistant structure rather than just storing
1708 pointers to things that might not persist across servant
1711 The XGrabKey call now does async keygrabs, because synchronous
1712 ones were deadlocking with GDK_event code in a very nasty way.
1714 Added boolean to internal method notify_keylisteners, to indicate
1715 whether the event came from the 'toolkit source' or the 'global
1716 (XServer) source' - this is used in the notification process to
1717 determine which listeners to send the event to.
1719 deviceeventcontroller.c is now warning-free.
1721 * libspi/registry.c:
1722 Fixed regression in application de-registration.
1723 Also fixed some really brain-dead weirdness having to do with
1724 event dispatching - event structs are now duplicated before being
1725 re-marshalled in the dispatch to listeners. This also fixes a
1726 Solaris build problem.
1729 2001-20-11 Michael Meeks <michael@ximian.com>
1732 (impl_accessibility_registry_deregister_global_event_listener):
1735 * libspi/deviceeventcontroller.c
1736 (spi_device_event_controller_check_key_event): return
1737 FALSE on no virtual method.
1739 * libspi/*..h: make includes work on a correctly pathed install.
1741 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
1743 * libspi/application.h: kill unused ( and whacked out )
1744 gboolean *spi_application_set_id (AtkObject *app, long id);
1746 2001-20-11 Michael Meeks <michael@ximian.com>
1748 * libspi/*.[ch]: further convert to bonobo's type func
1749 macros, remove redundnant casts etc.
1751 * libspi/text.c s/accessibility_text/spi_text/g,
1752 re-order to de-cruft.
1754 * libspi/hypertext.c: re-order to kill a huge slew
1755 of redundant forward decls.
1757 * libspi/relation.c: ditto.
1759 * libspi/image.c: ditto.
1761 * */.cvsignore: update
1763 2001-20-11 Michael Meeks <michael@ximian.com>
1765 * libspi/deviceeventcontroller.c
1766 (_controller_register_with_devices): use g_getenv,
1767 kill stdlib.h include.
1769 * libspi/keystrokelistener.c
1770 (spi_keystroke_listener_get_type): kill
1771 (spi_keystroke_listener_class_init),
1772 (spi_keystroke_listener_init): rename to this.
1774 * libspi/text.c (impl_getAttributes): fix warning / bug.
1776 * libspi/*.[ch]: more headers, includes and over commenting.
1778 2001-20-11 Michael Meeks <michael@ximian.com>
1780 * libspi/*.[ch]: fixup headers, includes and over commenting.
1782 * libspi/image.c (impl__get_imageDescription): const
1783 correctness warning fix. remove redundant casting.
1785 * libspi/table.c (impl_getRowDescription): ditto.
1786 (impl_getColumnDescription): ditto.
1788 * libspi/libspi.h: add.
1790 2001-19-11 Michael Meeks <michael@ximian.com>
1792 * libspi/editabletext.c (impl_setAttributes): fix warnings.
1794 * libspi/component.c (accessibility_component_get_type):
1795 rename to (spi_component_get_type): and macroify.
1796 (accessibility_component_init): rename to
1797 (spi_component_init): this
1798 (accessibility_component_class_init): rename to
1799 (spi_component_class_init): this
1801 * libspi/action.c (spi_action_get_type): kill, use the macro.
1803 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
1806 * libspi/application.c (spi_application_object_event_listener),
1807 (impl_accessibility_application_register_object_event_listener):
1808 warning fixes / const understanding updates.
1810 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
1813 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1815 * libspi/spi_accessible.c: Added docs and C bindings for
1816 AccessibleStateSet. (No implementations yet). Documentation
1817 coverage for C bindings now 100%. Made docs for event listeners
1822 boolean notifyListenersSync (in DeviceEventListener listener,
1823 in DeviceEvent event);
1825 oneway void notifyListenersAsync (in DeviceEventListener listener,
1826 in DeviceEvent event);
1828 Added DeviceEventListener and DeviceEvent structs (may deprecate
1829 KeyStroke and KeystrokeListener in favor of this generic
1830 event/listener framework for devices).
1832 * libspi/deviceeventcontroller.c:
1834 Changed some key listener code to take masks, etc., and paved the
1835 way for integration of toolkit/non-preemptive key events. Changed
1836 signatures of some internal methods.
1838 * at-bridge/bridge.c:
1839 Fixed regression connecting to interface signals, apparently
1840 caused by GTK+ changes.
1842 Added an internal bridge_state_listener to deal with
1843 property-change:accessible-state signals.
1845 Changed the key_listeners GList to store structs (including masks,
1846 etc.) instead of just CORBA_Objects (required for full
1847 implementation of key listener API).
1849 Connected the bridge to all currently supported Atk signals.
1850 Events now supported:
1851 object:property-change
1852 object:property-change:accessible-name
1853 object:property-change:accessible-state
1854 object:property-change:accessible-description
1855 object:property-change:accessible-parent
1856 object:property-change:accessible-value
1857 object:property-change:accessible-role
1858 object:property-change:accessible-table-caption
1859 object:property-change:accessible-table-column-description
1860 object:property-change:accessible-table-column-header
1861 object:property-change:accessible-table-row-description
1862 object:property-change:accessible-table-row-header
1863 object:property-change:accessible-table-summary
1864 object:children-changed
1865 object:visible-data-changed
1866 object:selection-changed
1867 object:text-selection-changed
1869 object:text-caret-moved
1871 object:row-reordered
1873 object:column-inserted
1874 object:column-reordered
1875 object:column-deleted
1876 object:model-changed
1878 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1880 * libspi/hyperlink.c,h:
1881 Fixed some broken stuff in hyperlink.
1883 * libspi/relation.h:
1884 * libspi/relation.c:
1885 * cspi/spi_accessible.c:
1886 Initial implementations of AccessibleRelation methods, and docs.
1888 * libspi/accessible.c:
1889 Fixed a bug that caused SEGV if an accessible
1890 object's description is NULL, and a client
1891 requests it. An empty string is now returned.
1893 * cspi/spi_editabletext.c:
1894 * cspi/spi_hypertext.c:
1896 * cspi/spi_hyperlink.c:
1900 Doc coverage now 95%.
1902 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1904 One last namespacing revision:
1905 * libspi/accessibleeventlistener.[ch]:
1906 Renamed SpiAccessibleEventListener to SpiEventListener,
1907 (no need for two namespaces ;-)
1909 And lots of documentation fixes:
1911 * docs/at-spi-docs.sgml:
1912 Fixed 'underscore vs. hyphen' bug that was preventing
1913 the gtk-doc API docs from being automatically generated.
1916 * cspi/spi-listener.h
1918 * cspi/spi_accessible.c
1920 * cspi/spi_application.c
1921 * cspi/spi_component.c
1922 * cspi/spi_editabletext.c
1924 * cspi/spi_hypertext.c
1926 * cspi/spi_registry.c
1927 * cspi/spi_selection.c
1931 * docs/at-spi-docs.sgml
1932 * docs/at-spi-sections.txt
1934 Added and fixed up gtk-doc documentation in cspi.
1936 Interfaces now (fully) documented (subject to revision and enhancement):
1938 Event Listener Support
1940 AccessibleApplication
1944 AccessibleEditableText
1951 AccessibleRelationSet
1956 2001-14-11 Bill Haneman <bill.haneman@sun.com>
1958 * at-bridge/bridge.c:
1959 Initial work for toolkit-level key snooper connection by bridge.
1964 New typedefs and fixes to support new namespacing, and cleaner
1965 separation of cspi bindings from libspi bonobo implementation.
1966 Removed inconsistent and extraneous Spi* namespace prefix that
1967 had crept into cspi headers.
1968 Lots of comment fixes that sed had missed.
1970 * cspi/spi-roletypes.h:
1971 * cspi/spi-statetypes.h:
1972 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
1973 to AccessibleRoleType.
1975 * libspi/accessibleeventlistener.h:
1976 Fixed minor namespacing weirdness.
1978 * libspi/deviceeventcontroller.c:
1979 Reordered some internal API for device listeners.
1980 Changed the key registry final boolean to 'is_system_global'
1981 rather than 'is_synchronous', which is more descriptive of its
1983 Added spi_device_event_controller_new().
1984 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
1986 * libspi/keystrokelistener.[ch]:
1987 Namespaced KeystrokeListener to SpiKeystrokeListener.
1988 Changed uses of keymasks to use SPI_ prefix, and did other
1991 * libspi/keymasks.h:
1992 Namespaced keymask constants with SPI_ prefix.
1994 * libspi/registry.c:
1995 Some warning fixes, and knock-on fixes from namespace changes.
1998 Added rules for accessx-gui test program.
2000 * test/accessx-gui.c:
2001 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2002 utility. It doesn't actually use at-spi, but it's still cool and
2005 * test/keysynth-demo.c:
2009 Fixes so that these test clients work properly with the namespaced
2010 libraries. (Incompletely tested for technical reasons, fixes may follow)
2013 2001-13-11 Michael Meeks <michael@ximian.com>
2015 * libspi/application.c
2016 (impl_accessibility_application_get_version),
2017 (impl_accessibility_application_get_toolkit_name):
2019 (impl_accessibility_application_set_id),
2020 (impl_accessibility_application_get_id): remove
2021 redundant casting code.
2023 * libspi/action.c (impl_getDescription): fix warnings.
2025 * libspi/accessible.c
2026 (impl_accessibility_accessible_get_parent),
2027 (impl_accessibility_accessible_get_child_at_index),
2028 (impl_accessibility_accessible_get_state),
2029 (impl_accessibility_accessible_get_relation_set):
2030 warning fixes & include action.h
2032 2001-13-11 Michael Meeks <michael@ximian.com>
2034 * *.[ch] fix bits I screwed up:
2036 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2037 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2039 2001-13-11 Michael Meeks <michael@ximian.com>
2041 * *.[ch] Namespace libspi into spi_ and Spi.
2043 2001-13-11 Michael Meeks <michael@ximian.com>
2045 * Makefile.am: dist & install at-spi-1.0.pc
2047 * libspi/Makefile.am: install into at-spi-1.0
2049 * idl/Makefile.am (idldir): install into at-spi-1.0
2051 * at-spi-1.0.pc.in: add.
2053 * configure.in: build it.
2055 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2057 * test/keysynth-demo.c:
2058 Use a 'realize' signal-handler to set the WM properties for
2059 the virtual keyboard, rather than making it a "POPUP" type
2060 override-redirect window (thanks to anders carlsson for that
2063 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2066 * test/keysynth-demo.c:
2067 Added new test of key synthesis, which creates a simple
2068 (mouse-operated) onscreen keyboard. It inserts key events into
2069 the currently-focused window, thus it does not grab keyboard focus
2072 * cspi/spi_registry.c:
2073 Added C binding for AT-SPI generateKeyEvent.
2075 * libspi/deviceeventcontroller.c:
2076 Added call to XFilterEvent so that key listener works with XIM (we
2077 hope). Added event_synth_type to generateKeyEvent, so that we can
2078 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2079 synthesize a press/release pair for KeySyms.
2081 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2083 * libspi/Makefile.am:
2084 * registryd/Makefile.am:
2085 (temporary) hack to include libXtst in libspi and registryd.
2086 (Needed for keystroke synthesis, see below).
2089 Improved API for registerKeystrokeListener, in accordance with
2090 discussions with Gnopernicus team and X server research.
2092 * libspi/registry.c:
2093 * libspi/deviceeventcontroller.c:
2094 * libspi/accessible.c:
2095 * libspi/keystrokelistener.c:
2096 Changes and fixes to support keylisteners for potentially
2097 consumed key events (that is, 'passive grabs').
2098 Added implementation for generateKeyEvent() [untested].
2101 Changes to registerKeystrokeListener() API, as above.
2102 Added deregisterGlobalEventListenerAll(), and
2103 deregisterKeystrokeListener(), which are needed for clean exit of
2105 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2106 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2108 * cspi/spi_registry.c:
2109 Added implementations of function prototypes mentioned above.
2111 * registryd/registryd.c:
2112 Added the key listener event source as a g_timeout(), to allow
2113 receipt of key events that are not caught by GDK (since GDK
2114 doesn't support passive keygrabs, this was necessary).
2117 Changed to attach a keylistener to 'Alt' keys, and
2118 respond to the following keycommands: Alt-M (toggle magnifier);
2119 Alt-F (toggle speech); Alt-Q (quit).
2120 Added an exit routine to deregister the listeners, and a key
2121 listener that prints some key info to the console when a key
2122 matches the listener mask (and is thus received by the listener).
2124 * util/idl/Magnifier.idl:
2125 Changes to magnifier API to support multiple zoom regions,
2126 non-uniform scaling in x and y, markDirty, and a host of other
2127 features that would be useful to magnification.
2130 * util/mag_client.c:
2131 * util/mag_client.h:
2132 * util/mag_control.c:
2134 Source code changes to support the above IDL changes.
2137 As above, and also changes to use a (slower) generic conversion
2138 path for colormap conversions, since the fast RGB conversions have been
2139 reported to fail for 16-bit displays.
2141 2001-10-26 Michael Meeks <michael@ximian.com>
2143 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2145 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
2147 * at-bridge/Makefile.am: fix LDFLAGS.
2149 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2151 * at-bridge/bridge.c:
2152 Re-worked listeners for toolkit events, now we have signal
2153 and property listeners. Added a private method
2154 register_atk_event_listeners(), which registers with the
2155 various atk and gtk signals we need to monitor in order to emit
2157 Added emission hook for AtkObject:property-change events, to
2158 support the 'property listeners'.
2159 Fixed some alloc()s of Accessibility_Event structs to use CORBA
2162 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2163 which emit warnings and exit, respectively, if CORBA errors occur
2164 during remote calls, and we now use these methods to check most of
2165 our CORBA calls in the C bindings.
2167 * cspi/spi_accessible.c:
2168 Changed AccessibleSelection_refSelectedChild() to
2169 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2170 now increment refcounts.
2172 * cspi/spi_component.c:
2173 Fixed some long pointer casts (dangerous!) to pass pointers to
2174 CORBA_longs of the proper type to the CORBA stubs, and copy the
2175 data into the longs that were passed into the C bindings code.
2177 * at-bridge/bridge.c:
2179 * libspi/accessible.c:
2180 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2181 hyperlinks, AtkHyperlink is an object type.
2183 * libspi/application.c:
2184 Added various conversions to and from "generic" event types and
2185 atk-specific types; this is really part of the 'bridge'
2186 implementation but is valid for all AtkObject-based accessibility
2189 * libspi/editabletext.c:
2190 Fixed nasty bug wherein editable text's finalize method was
2191 unref'ing tha AtkObject reference that the text parent class was
2192 about to unref _again_. There was also a nasty inheritance bug
2193 that meant that the AccessibleEditableText class was corrupt.
2195 * libspi/selection.c:
2196 Provided implementations for some selection API that was broken.
2198 * idl/Application.idl:
2199 Added registerObjectEventListener () method.
2202 Fixed a number of return values that were Bonobo_Unknowns from
2203 bonobo_object_corba_objref(), which I
2204 forgot to dup before returning. Changed instances of
2205 bonobo_object_corba_objref (bonobo_object(o)) to
2206 BONOBO_OBJREF(o), for concision and clarity.
2208 <2001-10-13 Louise Miller <louise.miller@sun.com>
2210 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2211 idl/Event.idl, idl/Registry.idl
2212 Changed these files to include Bonobo_Unknown.idl instead
2215 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
2217 * libspi/component.c libspi/component.h:
2218 Fixed typo. Added assertions for object checks in
2219 AccessibleComponent code.
2221 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2223 * idl/Accessible.idl:
2224 Added 'isEqual (Accessible *object)'
2225 method for Accessible. (Not Yet Implemented).
2228 Changed signature of registerKeystrokeListener() to
2229 take a KeySet and KeyEventSeq so that specific keys and event
2230 types could be requested for monitoring, and added a flag
2231 is_synchronous so that either synchronous or asynchronous
2232 notification could be requested. (However this is not all
2233 implemented yet). This also meant adding two new typedefs,
2234 KeyEventSeq and KeySet.
2237 Added two new relations, RELATION_TOOLTIP_FOR and
2238 RELATION_LEAFNODE_OF.
2241 Added new state, STATE_HAS_TOOLTIP.
2243 * libspi/text.c, editabletext.c:
2244 Added new assertions to all casts of bonobo-objects from
2245 CORBA servants, to prevent Text API calls on non-text objects.
2246 Changed suspect casts of int-pointer types, so that we
2247 always send a valid CORBA_long pointer to the CORBA APIs that use
2248 in/out long parameters. We then have to copy from the CORBA_long
2249 into the regular long or int for return to the C bindings, or
2250 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
2253 * libspi/deviceeventcontroller.c:
2254 Cleaned these sources up.
2256 Changed return type for getCharacterAtOffset to
2257 CORBA_unsigned_long, to allow for 32-bit characters.
2260 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
2264 Fixed 'make dist' so that distro compiles...
2265 * libspi/keymasks.h:
2267 * cspi/spi-listener.c:
2268 KeystrokeListenerCB now returns a boolean.
2270 Added KeyEventType struct, and KeyStroke.
2271 Also added createKeystrokeListener(),
2272 KeystrokeListener_addCallback(),
2273 KeystrokeListener_removeCallback(), and added a keymask to
2274 registerKeystrokeListener().
2275 * cspi/spi_accessible.c:
2276 Changed numerous return types for interfaces from
2277 AccessibleComponent to Accessible<InterfaceName>; this was
2278 probably a cut-and-paste error.
2280 Implementations of new KeystrokeListener api (from spi.h,
2283 Changes to key modifier mapping.
2284 Created ControllerEventMask struct.
2285 Made DeviceEventController derive from Bonobo::Unknown.
2287 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
2288 * libspi/deviceeventcontroller.c:
2289 Added a number of new internal (private) methods.
2290 * libspi/editabletext.c:
2291 * libspi/editabletext.h:
2292 Fixed a number of bugs related to the fact that
2293 editabletext inherits from text. Fixed the EditableText struct,
2294 the init() call, and use correct casts when calling Text methods
2295 from an EditableText object. Removed (duplicate) atko from the
2296 EditableText structure, we use the one in the parent Text
2297 structure via the casts mentioned above.
2298 * libspi/keystrokelistener.[ch]:
2299 * libspi/registry.c:
2300 Changes in support of keyboard handling (above).
2302 Keyboard handling, though partly functional, is still not
2303 recommended for at-spi client use as there is considerable
2304 work yet to be done.
2307 Changed some places where pointers to various int types
2308 are cast to be pointers to CORBA_long types and vice-versa:
2309 pointer casting is not safe so we pass pointers of the correct
2310 types and then cast the result before putting it into the target
2313 * libspi/text.h: minor typos corrected.
2315 We now speak not only the name of a Text element, but the
2316 first sentence of its content, when it receives focus.
2317 I also changed the text compression to 75% from 50%.
2318 * util/Accessibility_Util.server.in:
2319 Changed the default magnifier type to be a 3x vertical
2320 splitscreen magnifier (was previously a 2x horizontal one).
2322 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
2324 * libspi/keystrokelistener.h:
2325 * libspi/keystrokelistener.c:
2326 Initial functional implementations of KeystrokeListener.
2329 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
2331 Fixed string handling for NULL strings in libspi.
2332 Added spi_freeString to free strings returned by C bindings.
2334 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
2336 * libspi/keystrokelistener.h:
2337 * libspi/keystrokelistener.c:
2338 Began (no-op) implementations of KeystrokeListener
2340 * libspi/deviceeventcontroller.c:
2341 * libspi/deviceeventcontroller.h:
2342 Began creating implementations of DeviceEventController,
2343 to handle keystroke and mouse event listening and
2345 * libspi/accessible.c:
2346 Stubbed-in the implementations for
2347 Accessibility_Accessible_getState and
2348 Accessibility_Accessible_getRelationSet.
2349 * libspi/registry.c:
2350 Improved de-registration process and fixed some bugs,
2351 deregistration now works correctly.
2353 Added initialization of applications list (to NULL).
2355 Reduced speech compression from 0.5 to 0.7, for demo.
2356 Changed call to gdk_window_set_decorations()
2357 to gtk_window_set_decorated().
2358 * at-bridge/bridge.c:
2359 Bridge now deregisters when app exits, via
2360 registration of a cleanup function
2361 with the g_atexit() call.
2362 Required making 'app' static, renamed 'this_app'.
2363 Fixed broken use of bonobo_init, passing argv wrongly.
2365 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
2369 Created a new directory for
2370 accessibility-related utilities, primarily for
2371 testing and demo purposes, but with possible
2378 Onscreen magnifier utility that
2379 is implemented as a bonobo service.
2381 * util/mag_client.c:
2382 * util/mag_client.h:
2383 Client-side support (simple C bindings)
2384 for Magnification service
2386 * util/mag_control.c:
2387 Client program example for
2388 Magnification service
2390 * util/Accessibility_Magnifier.server.in:
2391 Bonobo-activation file for the
2392 Magnification service.
2395 * util/idl/Magnifier.idl:
2396 IDL defining the bonobo Magnification
2400 Modifications to use the bonobo-activated magnifier
2401 above, in place of trying to connect to an existing
2402 magnifier that uses socket-listening IPC.
2404 If env variable MAGNIFIER is set, a magnifier service
2405 will be started if one does not exist.
2407 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
2408 * at-bridge/bridge.c:
2409 applied patch from Marc to build and run
2410 against new glib and gtk+ (seemed like a change
2411 to bonobo_init signature was made ?)
2413 made festival-server support turned off by default.
2414 Added support for a simple magnifier (off by default)
2415 which will be added to a 'util' directory later.
2416 * at-bridge/Makefile.am:
2417 Changed "application.h" header from a 'source'
2418 to a 'dependency' of libat-bridge.
2420 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2428 Added interface implementation c files to list of
2429 includes so they are included in libcspi.
2432 Changed prototype of AccessibleAction_doAction to return a
2434 Changed prototype of AccessibleTable_getCaption to
2435 return an Accessible.
2436 Changed prototype of AccessibleTable_getSelectedRows
2437 and AccessibleTable_getSelectedColumns to
2438 return a long (returns the number of selected rows
2439 or columns respectively).
2440 Changed name of AccessibleText_refRunAttributes to
2441 AccessibleText_getAttributes.
2442 Changed prototype of AccessibleText_getCharacterExtents to
2443 return a void rather than a boolean.
2444 Added support for a AccessibleCoordType parameter
2445 specifying what type of coordinates are desired.
2446 Added an AccessibleCordType parameter to
2447 AccessibleText_getPointAtOffset.
2449 * cspi/spi_accessible.c:
2450 Added code to return the outstanding interfaces from
2451 Accessible_queryInterface.
2453 * cspi/spi_action.c:
2455 Corrected call to getNActions to call the c binding
2458 * cspi/spi_editabletext.c:
2460 Changed name from setRunAttributes to setAttributes.
2462 * cspi/spi_hyperlink.c:
2464 Changed call to getNAnchors to correctly call the c
2465 binding for an attribute.
2467 * cspi/spi_hypertext.c:
2469 Changed getImageDescription to correctly call the
2470 binding for an attribute.
2472 * cspi/spi_selection.c:
2473 Changed getNSelectedChildren to correctly call the c
2474 binding for the attribute.
2475 Changed refSelectedChild to getSelectedChild.
2479 Changed getCaption to return an Accessible.
2480 Fixed calls which retrieve attributes.
2481 Changed refAt to getAccessibleAt.
2482 Changed getNSelectedRows and getNSelectedColumns to
2486 Changed getCharacterExtents and getPointAtOffset to accept an
2487 AccessibleCoordType.
2489 Changed calls which retrieve attributes.
2490 Changed refRunAttributes to getAttributes.
2495 * idl/Hyperlink.idl:
2496 Changed n_anchors attribute to nAnchors to keep naming
2497 convention consistent.
2500 Made Table inherit from Bonobo::Unknown.
2501 Added nSelectedColumns and nSelectedRows attributes.
2504 Made Value inherit from Bonobo::Unknown.
2506 * libspi/hyperlink.c:
2507 Change for nAnchors attributte name change.
2509 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2517 Added interface implementation c files to list of
2518 includes so they are included in libcspi.
2521 Changed prototype of AccessibleAction_doAction to return a
2523 Changed prototype of AccessibleTable_getCaption to
2524 return an Accessible.
2525 Changed prototype of AccessibleTable_getSelectedRows
2526 and AccessibleTable_getSelectedColumns to
2527 return a long (returns the number of selected rows
2528 or columns respectively).
2529 Changed name of AccessibleText_refRunAttributes to
2530 AccessibleText_getAttributes.
2531 Changed prototype of AccessibleText_getCharacterExtents to
2532 return a void rather than a boolean.
2533 Added support for a AccessibleCoordType parameter
2534 specifying what type of coordinates are desired.
2535 Added an AccessibleCordType parameter to
2536 AccessibleText_getPointAtOffset.
2538 * cspi/spi_accessible.c:
2539 Added code to return the outstanding interfaces from
2540 Accessible_queryInterface.
2542 * cspi/spi_action.c:
2544 Corrected call to getNActions to call the c binding
2547 * cspi/spi_editabletext.c:
2549 Changed name from setRunAttributes to setAttributes.
2551 * cspi/spi_hyperlink.c:
2553 Changed call to getNAnchors to correctly call the c
2554 binding for an attribute.
2556 * cspi/spi_hypertext.c:
2558 Changed getImageDescription to correctly call the
2559 binding for an attribute.
2561 * cspi/spi_selection.c:
2562 Changed getNSelectedChildren to correctly call the c
2563 binding for the attribute.
2564 Changed refSelectedChild to getSelectedChild.
2568 Changed getCaption to return an Accessible.
2569 Fixed calls which retrieve attributes.
2570 Changed refAt to getAccessibleAt.
2571 Changed getNSelectedRows and getNSelectedColumns to
2575 Changed getCharacterExtents and getPointAtOffset to accept an
2576 AccessibleCoordType.
2578 Changed calls which retrieve attributes.
2579 Changed refRunAttributes to getAttributes.
2584 * idl/Hyperlink.idl:
2585 Changed n_anchors attribute to nAnchors to keep naming
2586 convention consistent.
2589 Made Table inherit from Bonobo::Unknown.
2590 Added nSelectedColumns and nSelectedRows attributes.
2593 Made Value inherit from Bonobo::Unknown.
2595 * libspi/hyperlink.c:
2596 Change for nAnchors attributte name change.
2599 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
2601 implementations-- made server implementations own AtkObject pointers
2602 rather than their respective AtkInterrface pointers to fix
2603 refcounting. AtkHyperlink is still broken.
2605 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
2606 * cspi/spi_accessible.c:
2607 Added method Accessible_Role_getName(),
2608 and requisite string array (role_names).
2609 Added conversion string_from_corba_strin() call
2610 to Accessible_getName and _getDescription.
2611 * libspi/accessible.c:
2612 Added implementation for Accessible_getRole()
2614 Added festival support, used if environment variable
2617 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2619 * at-bridge/bridge.c:
2620 Now allocate Accessibility_Event using
2621 Accessibility_Event__alloc() instead of g_new0().
2622 * libspi/accessibleeventlistener.c:
2623 Initialize AccessibleEventListener->callbacks to NULL.
2624 Fixed accessible__event_listener_init() param, changed to
2625 "AccessibleEventListener *" type.
2626 Changed a bonobo_object_release_unref() call to
2627 Accessibility_Accessible_unref().
2628 * libspi/listener.c:
2629 Changed Bonobo_Unknown_unref to (equivalent)
2630 Accessibility_Accessible_unref.
2631 * libspi/registry.c:
2632 Changed bonobo_object_release_unref to
2633 Accessibility_Accessible_unref.
2635 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2638 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
2639 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
2640 spi-util.c spi-util.h
2641 Implementations for C bindings to remaining accessibility
2644 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2647 changed return value of Action from void to boolean to
2648 bring in line with ATK.
2651 Changed getText funcions to return "out" start and end offsets.
2652 Changed getAttributes to take and offset and return the start
2653 and end offset of the attribute run.
2654 Changed getOffsetAtPoint and getCharacterExtents to take an
2655 enum describing whether coordinates are window or screen.
2658 libspi/action.c libspi/action.h libspi/editabletext.c
2659 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
2660 libspi/hypertext.c libspi/hypertext.h libspi/image.c
2661 libspi/image.h libspi/selection.c libspi/selection.h
2662 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
2663 libspi/value.c libspi/value.h
2664 Added server implementations for outstanding ATK interfaces
2665 not yet implemented.
2667 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2670 Added (missing) getName() method.
2671 Made nActions an attribute.
2672 * idl/EditableText.idl:
2673 Changed order of params in setAttributes.
2674 * idl/Hyperlink.idl:
2675 Removed getAnchor, added getURI.
2677 Changed attributes to methods, for efficiency
2678 (so that getting extents can be done in one call)
2679 * idl/Selection.idl:
2680 Changed nSelectedChildren to attribute, and re-indented.
2681 * idl/Table.idl: changed nrows, ncolumns, caption, summary
2683 * idl/Text.idl: reformatted to match our coding style.
2684 (temporarily?) removed getRowColumnAtOffset().
2685 Changed text selection API to support multi-select and
2686 non-contiguous selections, as in ATK.
2687 * idl/Value.idl: changed some methods to attributes.
2689 2001-08-24 Mark McLoughlin <mark@skynet.ie>
2691 * libspi/listener.c(impl_notify_event):
2692 BonoboUnkown_unref the source instead
2693 of bonobo_object_release_unref - the ORB
2694 handles the releasing.
2696 * configure.in: require ORBit-2.3.94 for
2699 2001-08-21 Bill Haneman <bill.haneman@sun.com>
2701 Tagged CVS repository 'EA_1_0'.
2702 * README.EARLY_ACCESS:
2703 Alphabetized acknowledgements list, and
2705 Listed some known dependencies of at-spi.
2707 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2709 * docs/at-spi-docs.sgml:
2710 * docs/at-spi-sections.txt:
2711 * docs/at-spi-overrides.txt: (Added zero-length file)
2712 Documentation improvements - gtk-doc should build
2713 docs for all implemented C bindings now.
2716 * cspi/spi.c: (New file)
2717 * cspi/spi_event.c: (New file)
2718 * cspi/spi_registry.c: (New file)
2719 * cspi/spi_accessible.c: (New file)
2720 * cspi/spi_application.c: (New file)
2721 * cspi/spi_component.c: (New file)
2722 Split spi_main.c into six parts, and included them from
2723 "spi.c". This is a bit of a hack, probably temporary,
2724 but required by gtk-doc, apparently.
2726 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2729 * docs/at-spi-docs.sgml:
2730 * docs/at-spi-sections.txt:
2732 Initial checkins/modifications for gtk-doc generation.
2735 Added (missing) interface query methods to Accessible's C binding.
2737 Added GenericInterface type definition.
2739 Added query for AccessibleComponent interface to focus event handler.
2740 Added printout of bounding box for focussed component.
2741 * libspi/component.c:
2742 Added partial implementation for AccessibleComponent to C binding.
2743 * idl/Application.idl:
2744 * libspi/registry.c:
2745 * libspi/listener.c:
2746 * libspi/application.c:
2747 * libspi/application.h:
2748 Changed "ID" attribute type from string to long.
2750 2001-08-19 Bill Haneman <bill.haneman@sun.com>
2754 Made method naming consistent: methods taking object args
2755 start with uppercase, other methods (except those using
2756 acronyms) start with lowercase. Underscores delimit between
2757 object names and method names:
2758 SPI_init() - uppercase since it starts with an acronym.
2759 getDesktopCount () - lowercase start since no object param0.
2760 Accessible_getName() - uppercase object type name, studlyCaps method
2764 Added gtk-doc documentation for all currently implemented
2765 methods in the C bindings API.
2767 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2769 * Makefile.am : changed build order to build test last.
2772 Changed "createEventListener" to "CreateEventListener".
2773 * libspi/accessibleeventlistener.c :
2774 Bugfix for addition of callbacks.
2775 * test/Makefile.am :
2776 * test/simple-at.c :
2777 Added new test that uses the C bindings API.
2779 * libspi/listener.c :
2780 * libspi/registry.c :
2781 * libspi/accessibleeventlistener.c :
2782 * at-bridge/bridge.c :
2783 Renamed member "target" of Accessibility_Event to "source",
2784 which is more descriptive.
2787 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2791 * cspi/Makefile.am :
2792 Added makefile support for at-spi/cspi directory.
2795 * cspi/spi-listener.h : (NEW FILE)
2796 Added support for/use of spi-listener.h.
2798 C bindings now build successfully, with no warnings.
2799 * libspi/accessibleeventlistener.h : (NEW FILE)
2800 * libspi/accessibleeventlistener.c : (NEW FILE)
2801 * libspi/Makefile.am :
2802 Added new object type "AccessibleEventListener"
2803 which inherits from Listener, and allows attachment
2804 of in-process callbacks (so that a client with a listening
2805 object instance can add functionality to the local
2806 implementation, dynamically).
2808 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2810 * libspi/accessible.c:
2811 Add implementation for get_index_in_parent().
2813 Added #include of "spi-roletypes.h", and
2814 added enumerated type AccessibleCoordType.
2815 Added definition for KeystrokeListener (function type).
2818 * cspi/spi-statetypes.h :
2819 * cspi/spi-roletypes.h :
2821 Added these headers, used by spi.h.
2823 Added code (NOTE: not yet built by make).
2825 2001-08-18 Mark McLoughlin <mark@skynet.ie>
2827 * libspi/Makefile.am: generate imodule
2828 at the same time as other idl compiler
2831 2001-08-17 Bill Haneman <bill.haneman@sun.com>
2832 * libspi/registry.c :
2833 * libspi/application.c :
2834 * idl/Application.idl :
2835 Made registration with toolkit an application method,
2836 which is required since each app has its own toolkit static
2837 environment. Thus the bridge must register for
2838 notification of toolkit events from each application in turn.
2839 Toolkit notifications are now successfully registered for, and
2840 sent to the listening at client.
2842 Changed toolkit event string to use hyphens rather than underscores.
2843 * libspi/listener.c :
2844 listner now gives more info in debug mode - it reports the
2845 name of the event received, as well as the name of the source.
2848 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2850 * libspi/registry.c :
2851 added more implementation for toolkit events.
2852 Fixed bug such that toolkit event registrations
2853 (via atk) use the whole event name string, not
2855 Removed a useless call to an ORBit_ method.
2856 * at-bridge/bridge.c :
2857 Removed unused local sbuf[] variable.
2859 We now register for Gtk:GtkWidget:button_press_event
2860 events as well as "focus:" events.
2862 Add some more API from Registry.idl that was missing,
2863 for keystroke listening, keystroke and mouse event
2864 synthesis, and enumeration of accessible desktops.
2866 2001-08-16 Michael Meeks <michael@ximian.com>
2868 * configure.in: use AM_GLIB_GNU_GETTEXT.
2870 * Makefile.am (SUBDIRS): kill intl.
2872 2001-08-15 Michael Meeks <michael@ximian.com>
2874 * registryd/Makefile.am: s/oaf/server/ relocate info file.
2876 * configure.in: upd.
2878 * configure.in: depend on a recent bonobo-activation that
2879 will find our server files ...
2881 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2883 * libspi/accessible.c : accessible_new() :
2884 Now we add the Component interface via bonobo_object_add_interface,
2885 if the contained AtkObject implements AtkComponent.
2886 * libspi/accessible.h : now include "component.h"
2887 * libspi/component.h :
2888 * libspi/component.c : added files - implementation of
2889 bonobo wrapper object for Accessibility/Component
2890 * libspi/listener.c :
2891 Added test code to check for Accessibility/Component:1.0
2892 interface and report whether it is implemented by the
2894 * libspi/registry.c :
2895 Now we check for not only the hash of the whole event
2896 string before relaying the event, we also check the
2897 "minor" event string (without the detail string).
2898 This allows event listeners to be registered against
2899 all events of a certain major+minor type, or just
2900 against a specific major+minor+detail type.
2901 * libspi/accessible.c :
2902 Added implementations for Accessible:get_parent(),
2903 Accessible:getChildCount(), and Accessible:getChildAtIndex().
2904 * libspi/registry.c :
2905 * libspi/listener.c :
2906 Replaced calls to Accessibility_Accessible_ref() and
2907 Accessibility_Accessible_unref() with
2908 calls to bonobo_object_dup_ref() and
2909 bonobo_object_release_unref(), so that the CORBA object
2910 is dup-ed and released when relayed, as well as the bonobo object.
2912 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2914 * libspi/Makefile.am,
2915 registryd/Makefile.am,
2916 at-bridge/Makefile.am.
2917 test/Makefile.am, configure.in:
2918 reverse previous changes.
2920 * /idl/Image.idl: fix typo.
2922 * test/Makefile.am: put DEBUG_FLAGS
2925 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2927 * test/app.c: use argv[0] instead of
2930 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2932 * libspi/Makefile.am,
2933 registryd/Makefile.am,
2934 at-bridge/Makefile.am.
2935 test/Makefile.am, configure.in:
2936 cleanup, replace individual LIBS/CFLAGS with
2937 AT_COMMON_{LIBS|CFLAGS}.
2941 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2943 * configure.in, libspi/Makefile.am:
2944 Change IDL path checking for bonobo-activation
2947 2001-08-15 Bill Haneman <bill.haneman@sun.com>
2949 * registryd/registry.c : separated event listeners to use
2950 3 separate lists (focus, window, toolkit). Began testing
2951 event names against hashes before relaying events.
2952 * test/at.c : now register for events of type "focus:"
2953 * test/app.c : now generate events of type "focus:"
2954 * at-bridge/bridge.c : register with ATK for focus events,
2955 and we now relay those focus events to any "focus:" listeners.
2956 This now works with the bridge as a GTK_MODULE when running test/at.
2957 * libspi/registry.c :
2958 * libspi/listener.c :
2959 now we ref event sources before propagating, and unref on receipt.
2960 * libspi/registry.c :
2961 some changes to internal structs, to support event typestring hashes.
2962 * text/app.c : changed the way the appname is generated.
2963 * cspi : added directory that will hold the C bindings library for
2964 non-CORBA/bonobo-savvy clients.
2965 * cspi/spi.h : header file that contains the function prototypes for the C binding.
2966 * idl/Component.idl : added in parameter to indicate coord system for
2967 geometry-related calls.
2968 * idl/Hyperlink.idl : added readonly n_links attribute
2969 * idl/Image.idl : changed methods to attributes.
2971 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2973 * at-bridge/Makefile.am: link against
2974 ../libspi/libspi.la instead of -lspi.
2976 * at-spi/test/app.c: include
2977 bonobo-activation.h. Use a default appname
2978 if one is not provided.
2980 2001-08-14 Bill Haneman <bill.haneman@sun.com>
2982 * idl/Registry.idl : temporarily changed register_Application
2983 to oneway, to work around issue with initial registration
2985 * idl/Application.idl : changed attribute "id" from readonly
2986 to read-write, since it needs to be assigned by Registry.
2987 * registryd/registryd.c : added call to set application id
2989 * registryd/registry.c : changed de-registration procedure to
2990 use CORBA_Object_hash() to find matching object ref in application
2991 lists and listener lists.
2992 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
2993 began distinguishing between event types (work in progress).
2995 2001-08-13 Bill Haneman <bill.haneman@sun.com>
2998 * libspi/application.c:
2999 Added implementations for get/set id, get_toolkitName,
3001 * registryd/registryd.c :
3005 Converted from use of OAF to bonobo-activation.
3006 * libspi/desktop.h :
3007 * libspi/desktop.c :
3009 Removed references to atksimpleobject, since base atkobject
3010 implementation now provides functionality we need.
3011 * libspi/atksimpleobject.c :
3012 * libspi/atksimpleobject.h :
3017 * at-bridge/Makefile.am
3018 * at-bridge/bridge.c
3021 Added directory "bridge" and contents, and added dependencies
3022 in Makefile.am/configure.in.
3023 Initial checkin of "at-bridge".
3024 This code is a GTK_MODULE which automatically registers
3025 GTK+ apps with the accessibility registry, using an object
3026 reference to the root ATK object.
3028 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3030 * po/Makefile.in.in: Remove. Again. If this
3031 doesn't get autogenerated - you need to update
3034 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3036 * po/Makefile.in.in: Add. Again.
3038 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3040 * libspi/accessible.c : added support for 'description' property.
3041 * libspi/accessible.c
3043 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3044 (since the two are now equivalent in libbonobo)
3052 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3053 Bonobo::Unknown as does Accessibility::Accessible.
3054 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3055 interface with Bonobo::Stream, since it was redundant with it.
3056 (The Stream returned by a StreamableContext object is expected to
3057 implement only a subset of Bonobo::Stream)
3059 2001-07-28 Anders Carlsson <andersca@gnome.org>
3061 * libspi/accessible.c (accessible_object_finalize): Change
3062 g_free to g_object_unref since the AtkObject is a GObject.
3064 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3066 * idl/Accessibility.idl: add new IDL files
3069 * idl/Action.idl: Definitions of actionable UI object
3070 * idl/Component.idl: Definitions of UI component geometry, etc.
3071 * idl/Hyperlink.idl: Defs of hyperlink behavior
3072 * idl/Image.idl: Def of accessible image
3073 * idl/Selection.idl: Definition of UI object with selectable children
3074 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3075 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3076 * idl/Text.idl: Interface defs for UI elements with complex textual content
3077 * idl/Value.idl: Definition of UI element that is a value controller or display
3079 2001-07-27 Michael Meeks <michael@ximian.com>
3081 * po/Makefile.in.in: remove autogenerated file from CVS.
3083 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3086 * idl/Registry.idl: include guard.
3088 * idl/Accessibility.idl: Add, and include all the other IDL
3091 * idl/*.idl: remove mass of pragmas etc.
3093 2001-07-26 Michael Meeks <michael@ximian.com>
3095 * registryd/Makefile.am (registryd_SOURCES): remove
3098 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3100 * libspi/.cvsignore, registryd/.cvsignore,
3101 test/.cvsignore: updated.
3103 * po/Makefile.in.in: gettext update.
3105 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3107 * initial CVS checkin
3109 2001-06-29 Michael Meeks <michael@ximian.com>
3111 * configure.in: add AM_CONFIG_HEADER to gen config.h