1 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3 * libspi/accessible.c: (spi_accessible_new) :
4 Move the test for SPI_IS_REMOTE_OBJECT to
5 spi_accessible_new_return, fixing a bug and compile time warning.
7 2002-01-08 Michael Meeks <michael@ximian.com>
9 * registryd/registry.c (parse_event_type): remove strndup.
11 * libspi/Makefile.am (libspi_la_SOURCES): remove
12 sources already included in the headers section.
16 * libspi/spi-private.h: add.
18 * registryd/registry.c: update to moved list iterators.
20 2002-01-05 Michael Meeks <michael@ximian.com>
22 * test/simple-at.c (main): upd. auto-module set to atk-bridge
24 * test/test-simple.c (main): ditto.
26 2002-01-04 Michael Meeks <michael@ximian.com>
28 * libspi/accessible.c (spi_accessible_new): remove 2nd,
31 * registryd/registry.c
32 (get_listener_list): impl.
33 (impl_accessibility_registry_register_global_event_listener):
34 re-impl. to simplify using ~, remove dodgy const cast off.
35 (parse_event_type): constify.
36 (impl_accessibility_registry_deregister_global_event_listener_all):
37 re-write, more efficiency and simplicity, kill re-enterancy
39 (compare_listener_corbaref, compare_corba_objects),
40 (compare_listener_quarks): define out.
41 (impl_accessibility_registry_deregister_global_event_listener):
42 re-write for effiency, and nail re-enterancy hazard.
43 (impl_accessibility_registry_get_desktop_list): impl.
44 (re_enterant_list_delete_link): impl.
45 (re_enterant_list_foreach): impl.
46 (remove_listener_cb): impl.
47 (_registry_notify_listeners): kill.
48 (notify_listeners_cb): impl.
50 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
51 (SPI_getDesktopList): impl.
53 * test/test-simple.c (test_desktop): test the methods.
55 2002-01-03 Michael Meeks <michael@ximian.com>
57 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
58 keystrings since we free them
59 (SPI_freeAccessibleKeySet): in here.
61 * libspi/accessible.c (spi_accessible_new): kill warning,
62 wonder what is going on with the constructor here.
64 2002-03-01 Bill Haneman <bill.haneman@sun.com>
66 * libspi/accessible.c (spi_accessible_new ()) :
67 Added check to see if AtkObject is an SpiRemoteObject before
68 creating an SpiAccessible.
70 2002-05-01 Bill Haneman <bill.haneman@sun.com>
72 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
73 Enable keygrabs using the Control modifier, now that they are
74 working properly (they were previously disabled).
77 Change the command keygrab for this demo to "Control+Alt", so as
78 to conflict with fewer other key commands on the system; this
79 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
81 Removed a pointlessly-chatty keylistener for unshifted keys
82 (shifted keys are still reported).
84 2002-02-01 Bill Haneman <bill.haneman@sun.com>
86 * libspi/remoteobject.h:
87 * libspi/remoteobject.c:
88 Added definitions for special AtkObject subtype, required for
89 support of remote components (specifically, used by BonoboControl
90 accessibility implementation).
92 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
94 * cspi/spi.h: synched relation types with ATK
96 * cspi/spi_accessible.c: Added implementations of
97 AcccessibleRelation_* methods
99 * idl/Accessibility_Relation.idl: added getRelationTypeName
100 method. Synched known relation types with ATK. Allowed for
101 relation type extension with the RELATION_EXTENDED type.
103 * libspi/relation.c: Provided implementations for
104 AccessibleRelation methods.
106 2002-01-01 Bill Haneman <bill.haneman@sun.com>
108 API tweaks for today's API 'freeze'.
111 Added placeholder functions to allow future compatible expansion
112 of the IDL interfaces.
114 * idl/Accessibility_Registry.idl:
115 Changed generateKeyEvent to generateKeyboardEvent. Changed
116 signature of this method to accept an optional keystring in
117 parameter (for complex text input synthesis) and changed use of
118 simple 'boolean' parameter in registerKeystrokeListener to a
119 struct, EventListenerMode.
121 * cspi/spi_accessible.c:
123 * cspi/spi_streamablecontent.c:
124 Added references to AccessibleStreamableContent interface, and
125 definition and implementation of AccessibleStreamableContent
128 * cspi/spi_registry.c:
130 Changed generateKeyEvent API to generateKeyboardEvent,
131 taking a new (optional) keystring parameter to support complex
136 Renamed directory (to better reflect its actual purpose, bridging
137 from at-spi to ATK). The .so module is also now named
140 * idl/Accessibility_Hypertext.idl:
141 * libspi/accessible.c:
142 * libspi/hypertext.h:
143 * libspi/hypertext.c:
144 Changed Accessibility_Hypertext to *not* derive from
147 * cspi/spi_registry.c:
148 Added list of legal event type names for 'window' events, which
149 completes the registry event API.
151 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
153 * at-bridge/bridge.c: Added registration for separate
154 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
155 signals. If either of the first two parameters to the generic
156 bridge signal handler are ints, they are passed on as event
157 details. This allows an AT to determine what text was inserted.
159 2001-12-21 Bill Haneman <bill.haneman@sun.com>
161 * registryd/deviceeventcontroller.c:
162 Fixed regressions in generateKeyEvent caused by the removal of
163 gdk_init from registryd; we now use pure X calls to connect to the
164 display, which makes sense because deviceeventcontroller already
165 uses a fair bit of X API (should eventually be migrated to a
166 'portability layer').
168 * registryd/desktop.c:
169 Fixed minor regression in spi_desktop_init, changed the way the
170 desktop name is being set to work with new spi_base API
171 (gobject-based, rather than AtkObject-based).
173 * registryd/Makefile.am:
174 Minor revision of makefile to use XTST_LIBS variable rather than
175 hard-wiring the Xtst LD_ADD element.
177 * test/keysynth-demo.c:
178 Tweaked an output message; added initialization of the
179 'keystrings' member of the "switch listener" key_set.
182 Squashed compile-time warning.
184 * libspi/accessible.c:
185 Cosmetic and formatting fixes, renamed a static method.
187 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
189 * libspi/accessible.c
191 * libspi/application.c
195 * libspi/editabletext.c
203 * registryd/desktop.c:
204 Changed SpiBase to contain a GObject pointer rather than an AtkObject
206 2001-12-17 Bill Haneman <bill.haneman@sun.com>
208 * idl/Accessibility_Registry.idl:
209 Added boolean member 'is_text' to DeviceEvent. This is for the
210 use of key events, and helps prevent ambiguity between composed
211 key strings and keysym names, since both may potentially be
212 returned in the 'event_string' member.
214 * at-bridge/bridge.c:
215 * registryd/deviceeventcontroller.c:
216 Use the 'is_text' member when notifying device event listeners.
217 Knon issue: composed characters are not dealt with correctly by
218 the global key listener implementation yet.
220 2001-12-17 Bill Haneman <bill.haneman@sun.com>
222 * at-bridge/bridge.c:
223 Namespaced local static methods to spi_atk_bridge_* where
224 previously named bridge_*, and spi_* elsewhere.
226 * at-bridge/bridge.c:
227 * cspi/bonobo/cspi-bonobo-listener.c:
228 Added demarshalling/conversion for string member of
229 Accessibility_DeviceEvent to AccessibleKeystroke.
231 * registryd/deviceeventcontroller.c:
232 Added code to fill the Accessibility_DeviceEvent key string value
233 member for global key events (i.e. from XGrabKey), to match
234 behavior of Accessibility_DeviceEvent from the toolkit key events
235 from the bridge. Fixed timestamp in global key event notifications.
238 Added printout of key event's string value to
239 report_ordinary_key_event, for demo/debugging purposes.
241 2001-12-15 Bill Haneman <bill.haneman@sun.com>
243 * idl/Accessibility_Registry.idl:
244 Removed Accessibility_KeyStroke structure in favor of generic
245 Accessibility_DeviceEvent structure.
246 Changed Accessibility_ControllerEventMask from a struct to an
249 * at-bridge/bridge.c:
250 Changed APIs to use DeviceEvent structure as above, and removed
251 bogus casting between these event structures.
253 * cspi/spi-listener.h:
254 Added keystring member of AccessibleKeystroke structure, to enable
255 matching on event "names" rather than only hardware codes and
259 Added keystrings member of AccessibleKeySet struct, to allow
260 matching on event names (as above).
261 Added declarations for SPI_createAccessibleKeySet and
262 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
263 event modmasks directly as unsigned ints rather than structs with
264 refcounts, in the DeviceEventController methods.
266 * cspi/spi_registry.c:
267 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
269 * cspi/spi-roletypes.h:
270 Added documentation of newly added SPI Roles.
272 * cspi/bonobo/cspi-bonobo-listener.c:
273 Changes in support of API changes above.
275 * libspi/accessible.c:
276 Converted APIs to use DeviceEvent structure (see IDL changes
279 * registryd/deviceeventcontroller.c:
280 Added DEControllerGrabMask structure to track keygrabs not only by
281 modmask but by keyset as well; this allows us to do "global"
282 (i.e. X) keygrabs on a per-key or keyset basis rather than always
283 grabbing on AnyKey and then filtering after-the-fact.
284 Bugfixes for event filtration mean that we don't get false matches
285 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
287 * registryd/deviceeventcontroller.c:
288 Namespaced a number of static methods to use spi_ prefix. Major
289 revision to internals of global (i.e. X) key grabs.
291 * registryd/deviceeventcontroller.h:
292 Removed keymask_list and added keygrabs_list to
293 SpiDeviceEventController struct.
296 Added use of SPI_createAccessibleKeySet API when creating a
297 listener for only one key. Attach a listener to "shift spacebar
298 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
299 X key event names to SPI key event names, so that listeners are
300 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
302 * test/keysynth-demo.c:
303 Changed (incorrect) use of X key event names (KeyPressed,
304 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
307 2001-12-12 Bill Haneman <bill.haneman@sun.com>
309 * libspi/accessible.c:
310 Convert all AtkRole enumerations to Accessibility_Role enums when
311 getting a role from an AtkObject.
313 * cspi/spi_accessible.c:
314 Complete the conversion of Accessibility_Role enums at runtime to
315 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
316 role enums correctly match those given in spi-roletypes.h.
317 Re-synchronize the local names list for AccessibleRole_getName ().
318 AccessibleRole_getName is now deprecated, since it duplicates the
319 more reliable Accessible_getRoleName.
320 Added some role types from Accessibility_Role.idl.
322 * idl/Accessibility_Role.idl:
323 Added some role types used by AtkRole.
325 2001-12-12 Bill Haneman <bill.haneman@sun.com>
328 * cspi/spi_registry.c:
330 * cspi/cspi-bonobo-listener.c:
331 Namespaced all methods that did not begin with an "SPI_" or
332 "Accessible" prefix to "SPI_".
335 Homogenized internal function namespace to "cspi_" for statics.
338 Patched tests to use the new CSPI API.
340 * docs/reference/cspi/at-spi-cspi-sections.txt:
341 Updated docs to reflect namespace changes, and added a number of
342 methods to the documentation.
344 * registryd/registry.c:
345 Changed use of strings and string hashes in listener event
346 matching and parse_event_string to use GQuark, which is guaranteed
349 * registryd/registry.h:
350 Squashed annoying warning.
352 * idl/Accessibility_Role.idl:
353 Extended range of available Accessibility_Role values.
355 * cspi/spi_accessible.c:
356 Re-ordered role names.
358 2001-12-12 Bill Haneman <bill.haneman@sun.com>
360 * idl/Accessibility_Value.idl:
361 Revert use of union back to CORBA_double, since the double type is
362 more efficient and can contain the other types without loss of
365 * idl/Accessibility_Accessible.idl:
366 Added method Accessibility:Accessible:getRoleName, to complement
367 Accessibility:Accessible:getRole.
369 * cspi/spi_accessible.c:
371 Added C binding for above, Accessible_getRoleName (), and changed
372 signature of Accessible_getRole () to return an AccessibleRole.
374 * cspi/spi-roletypes.h:
375 Changed AccessibleRole_getName to return a char * instead of a
376 const char *. This method is now at least temporarily deprecated
377 in favor of asking Accessibles for their RoleNames directly.
380 Revert to match Accessibility_Value.idl;
384 Change signature of AccessibleValue methods to use double rather
388 * cspi/spi_accessible.c:
389 Changed Accessible_getRole to return an AccessibleRole enum rather
390 than a UTF-8 string. The UTF-8 string can still be obtained via
391 AccessibleRole_getName ().
393 * test/test-simple.c:
394 Add test_action. Small fixup to match API change to Accessible_getRole.
397 Bugfix for get_action_from_servant ().
399 2001-12-11 Michael Meeks <michael@ximian.com>
401 * libspi/libspi.h: remove registry.h and
402 desktop.h, deviceeventcontroller.h
404 * libspi/Makefile.am: remove registry.[ch],
405 desktop.[ch], deviceeventcontroller.[ch]
407 * registryd/Makefile.am: add registry.[ch],
408 desktop.[ch], rename registryd.c to registry-main.c.
409 add deviceeventcontroller.[ch]
411 2001-12-11 Bill Haneman <bill.haneman@sun.com>
414 Replace setenv() call with putenv ().
416 * libspi/component.c:
417 Bugfix in AccessibleComponent_getExtents (),
420 2001-12-11 Michael Meeks <michael@ximian.com>
422 * libspi/image.c (impl_getImageExtents): impl.
423 (spi_image_class_init): upd.
426 (AccessibleImage_getImageDescription): fix daft bug
429 * test/test-simple.c (global_listener_cb): update
430 to only quit if not --poke
431 (main): catch --poke.
432 (validate_accessible): upd. dumping, call test_image
435 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
438 * idl/Accessibility.idl: update all IDL includes.
440 * idl/*.idl - rename to namespace - this sucks, blame
441 mjs' bad decision for oafd.
443 * test/test-simple.c (create_test_window): add more tests.
444 (create_tree): split this out.
445 (validate_accessible): bugfix.
447 2001-12-11 Michael Meeks <michael@ximian.com>
449 * cspi/bonobo/cspi-bonobo-listener.c:
450 (cspi_kestroke_listener_unref),
451 (cspi_event_listener_unref): impl. undoing previous
452 homenous environment - for Bill.
454 * cspi/spi_table.c (long_seq_to_array): use
457 * cspi/spi_main.c: split out all bonoboish bits into
460 * cspi/spi-impl.h: upd. typedefs.
462 * cspi/spi_registry.c: update to lowlevel API,
463 return booleans to indicate success in some places.
465 * cspi/spi_event.c: update to lowlevel API.
467 * cspi/bonobo/Makefile.am: add.
469 * cspi/bonobo/cspi-lowlevel.h: add
471 * cspi/bonobo/cspi-bonobo.c: add
473 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
475 * cspi/Makefile.am: remove spi-listener-impl.[ch],
476 (SUBDIRS): add bonobo, link in the libs.
478 * cspi/spi-util.c: kill this file.
480 * TODO: merge in my bits.
482 2001-12-11 Michael Meeks <michael@ximian.com>
484 * test/test-simple.c (test_value, test_table, main):
485 remove unused variables causing warnings.
487 * configure.in: cleanup checks - require gail.
489 2001-12-11 Bill Haneman <bill.haneman@sun.com>
492 Changed Value interface to use SValue (scalars) rather than
493 assuming all values are floats. This allows floats, doubles,
494 longs, shorts, and unsigned values to be manipulated.
495 Introduced Accessibility:SValue union.
498 Updated to use new API above, and to work correctly with GValues
499 of different types in AtkValue.
502 Updated to use new API above. cspi's API is as yet unchanged.
505 Updated the Value revision action item.
507 2001-12-10 Bill Haneman <bill.haneman@sun.com>
509 * test/test-simple.c:
510 Added test_table (GtkTreeView widget in test window to follow).
511 Un-commented test_value, added GtkRange widget.
512 Added GtkTreeView widget with GtkListStore. It passes regression
513 test but leaks one SPI object for some reason.
516 Fixed bug in impl__set_currentValue.
518 2001-12-10 Michael Meeks <michael@ximian.com>
520 * cspi/spi_text.c: audit for exception handling,
521 tolerating NULL object references safely etc.
523 * cspi/spi_value.c: ditto.
525 * cspi/spi_table.c (AccessibleTable_getSummary),
526 (AccessibleTable_getAccessibleAt),
527 (AccessibleTable_getRowHeader),
528 (AccessibleTable_getColumnHeader),
529 (AccessibleTable_getCaption): fix bugs hidden by
531 (long_seq_to_array): impl.
532 (AccessibleTable_getSelectedRows),
533 (AccessibleTable_getSelectedColumns): use it.
535 2001-12-10 Bill Haneman <bill.haneman@sun.com>
538 Added a TODO list (rough and short for now).
540 * cspi/spi_hyperlink.c:
541 * cspi/spi_hypertext.c:
542 Fixed macro name typos, and remove use of obsolete macro in
543 AccessibleHyperlink_getLink.
546 * cspi/spi_accessible.c:
547 * cspi/spi_application.c:
548 * cspi/spi_component.c:
549 * cspi/spi_selection.c:
552 Documentation fixes (removed return values from ref/unref methods).
554 2001-12-10 Michael Meeks <michael@ximian.com>
556 * cspi/spi_action.c: audit for exception handling,
557 tolerating NULL object references safely etc.
559 * cspi/spi_accessible.c: ditto.
561 * cspi/spi_component.c: ditto.
563 * cspi/spi_editabletext.c: ditto.
565 * cspi/spi_hyperlink.c: ditto.
567 * cspi/spi_hypertext.c: ditto.
569 * cspi/spi_image.c: ditto.
571 * cspi/spi_selection.c: ditto.
573 2001-12-10 Michael Meeks <michael@ximian.com>
575 * configure.in: use cspi/libspi.pc.in instead.
577 * Makefile.am (pkgconfig_DATA): upd. to match.
579 * test/simple-at.c (report_focus_event): kill hacks around
580 bad return values, use putenv not setenv
582 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
583 fire ChildGone - I killed it.
586 (impl_accessibility_component_get_extents): remove
589 * idl/Accessible.idl: kill ChildGone exception.
591 * cspi/*.[ch]: kill int return from ref / unref.
593 * cspi/spi_main.c (cspi_object_add_check): fold into
594 (cspi_object_add): here.
596 * cspi/spi_component.c (AccessibleComponent_getExtents):
597 handle exceptions elegantly.
599 * cspi/spi-private.h (cspi_check_ev_return),
600 (cspi_return_if_fail): impl.
602 * cspi/spi_accessible.c: use extensively.
603 (AccessibleStateSet_equals): add direct compare check.
605 * cspi/spi_selection.c: tolerate NULL objs, and check
606 exceptions before return.
608 * cspi/spi-util.c (cspi_warn_ev): rename to
609 (cspi_check_ev): this & don't pass ev in; no point.
611 2001-12-10 Michael Meeks <michael@ximian.com>
613 * test/test-simple.c: use putenv not setenv
614 (get_environment_vars): more chatty if you're not using
617 * test/simple-at.c: do the setenv so more people see the
620 2001-12-10 Bill Haneman <bill.haneman@sun.com>
623 Changed check of CORBA_environment on notification to be a warning
624 instead of an error for the moment, since we can recover from this
625 error when caused by a queued notification from a dead app.
628 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
629 used by all current implementors of AtkValue), and coerce to
630 CORBA_float. (Proper general case fix may require change to Value.idl).
632 2001-12-09 Bill Haneman <bill.haneman@sun.com>
636 * cspi/spi_accessible.c:
637 Documentation fixes: added user_data params to documentation for
638 listeners and callbacks.
640 * cspi/spi_accessible.c:
641 Changed AccessibleStateSet_compare to return a
642 StateSet rather than return the difference set into a third parameter.
645 2001-12-09 Bill Haneman <bill.haneman@sun.com>
648 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
649 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
653 Remove subdirectory po from SUBDIRS for now.
655 * at-bridge/bridge.c:
656 Beefed up a couple of debug printouts.
657 One-line fix for signal notification name formatting.
659 * libspi/accessible.c:
660 Added assertion to spi_accessible_new ().
662 * libspi/application.c:
663 Put #ifdef qualifiers around a printf.
666 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
668 * registryd/Makefile.am:
670 Replaces use of XML_I18N_MERGE_SERVER_RULE with
671 INTLTOOL_SERVER_RULE macro.
674 Added an event listener for several ATK signals, for
675 testing and debugging. Removed a few g_warnings.
676 Added test output if focussed item implements the Value interface.
678 * test/test-simple.c:
679 Added test_value () function (known not to pass at the moment, so
680 not actually called yet.
682 2001-12-08 Michael Meeks <michael@ximian.com>
684 * at-bridge/bridge.c (bridge_focus_tracker),
685 (emit_eventv): fix the same ref. leak.
686 (register_atk_event_listeners): don't leak.
688 * cspi/spi-listener-impl.c (cspi_event): more
689 protection from client code.
691 * test/test-simple.c (test_desktop): unref the app.
693 * test/Makefile.am: upd. TESTS.
695 * at-bridge/bridge.c (bridge_exit_func): release the registry.
697 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
699 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
701 * cspi/spi_registry.c: constify in strings.
702 (deregisterGlobalEventListenerAll): don't release the ref.
704 * cspi/spi.h: start removing redundant / conflicting
705 gtkdoc comments, making the API readable at a glance :-)
707 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
709 * test/keysynth-demo.c (keysynth_exit, main): upd.
711 * test/simple-at.c (main, simple_at_exit): upd.
713 * test/test-simple.c (unutterable_horror): kill.
714 (utterable_normal_derefs): kill.
715 (main): upd & do a setenv before gtk_init, so that we
716 can use memprof - and to save the pain of remembering
717 this, if we're running under memprof - don't exit.
719 * cspi/spi_main.c (SPI_exit): return exit status
721 (SPI_event_quit): impl.
722 (SPI_event_main): simplify.
723 (cspi_is_gnome_app): kill.
724 (SPI_init): kill isGNOMEapp arg.
726 * at-bridge/bridge.c (register_atk_event_listeners):
727 re-instate the unref.
728 (bridge_exit_func): don't re-activate the registry,
729 protect vs. theoretical re-entry, use the
730 AT_BRIDGE_SHUTDOWN env. var to determine whether to
731 assert a clean shutdown - for regression tests.
733 2001-12-08 Abel Cheung <maddog@linux.org.hk>
735 * configure.in: Comment out dummy i18n support for now,
736 otherwise it fails to build.
737 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
738 EXTRA_DIST. They are missing in tarball.
740 2001-12-07 Michael Meeks <michael@ximian.com>
742 * util/magnifier.c: kill bonobo activation reg. race.
745 (impl_accessibility_component_get_extents): make it match
748 * libspi/registry.c (_registry_notify_listeners):
749 re-remove X headers & reconcile conflicts.
750 (spi_listener_struct_free): bad conflict resolve.
751 (impl_accessibility_registry_register_application):
752 more bad merging fixed.
753 (impl_accessibility_registry_deregister_application): ditto.
754 (spi_registry_new): ditto.
755 (spi_registry_init): don't have an applications field.
757 [ merge fixups2 branch to here ]
758 2001-12-07 Michael Meeks <michael@ximian.com>
760 * test/simple-at.c (report_focus_event),
761 (report_focussed_accessible): remove g_warning debug.
763 2001-12-07 Michael Meeks <michael@ximian.com>
765 * test/test-simple.c (validate_tree): comment out some checks.
766 (test_desktop): app now not registered idly - horay.
768 2001-12-07 Michael Meeks <michael@ximian.com>
770 * cspi/spi_registry.c
771 (registerAccessibleKeystrokeListener): clean, stop it leaking
772 great swathes of memory, and device event controller references.
773 ensure we always pass valid sequences.
774 (deregisterAccessibleKeystrokeListener): ditto.
775 (generateKeyEvent): upd.
777 * at-bridge/bridge.c (bridge_key_listener): handle
778 registry dead exception gracefully.
779 (bridge_focus_tracker, emit_eventv): free ev.
781 * test/simple-at.c (report_focus_event): fix polarity.
783 * libspi/application.c (notify_listeners): kill the ev
784 argument, and make sure we init the ev we use.
785 (spi_application_object_event_listener): split out a chunk
786 (get_atk_object_ref): here & fixup.
787 (reverse_lookup_name_for_toolkit_event): make const.
788 (spi_application_toolkit_event_listener): fixup, kill leaks
791 * at-bridge/bridge.c (register_atk_event_listeners):
792 don't unref the noop object - causes grief.
794 * libspi/registry.c: remove the X headers.
795 turn off the debug churn.
797 * libspi/accessible.c (spi_accessible_new_return): only
798 release the ref if we are supposed to [doh]
800 * test/simple-at.c (report_button_press, report_focus_event):
801 guard vs. unexpected exit.
803 * at-bridge/bridge.c (gtk_module_init): prune printf.
804 (bridge_exit_func): fix app unref.
806 * libspi/Makefile.am: don't install registry or desktop.h
808 * libspi/*.h: update includes.
810 * libspi/application.h: don't include ourself, or
811 other redundant headers.
813 2001-12-06 Michael Meeks <michael@ximian.com>
815 * libspi/accessible.c
816 (get_accessible_from_servant): impl.
817 Upd. all CORBA impl.s to use it killing cut and paste.
819 * cspi/spi_main.c (cspi_cleanup): guard vs. double
821 (SPI_init): register atexit cleanup handler here.
823 2001-12-06 Michael Meeks <michael@ximian.com>
825 * at-bridge/bridge.c (gtk_module_init): g_error on
828 2001-12-06 Michael Meeks <michael@ximian.com>
830 * at-bridge/bridge.c (gtk_module_init): some sort of
831 confusing merge clash - reverted.
832 (bridge_idle_init): ditto.
834 * test/test-simple.c (main, utterable_normal_derefs):
835 merge from Bill - somehow not committed.
837 2001-12-06 Michael Meeks <michael@ximian.com>
839 * libspi/value.c (spi_value_class_init): upd.
840 (spi_value_finalize): kill.
842 * libspi/table.c (spi_table_finalize): kill.
843 (spi_table_interface_new): upd.
844 (spi_table_class_init): upd.
845 (get_table_from_servant): impl.
846 Upd. all CORBA impl.s to use it killing yet more cut and paste.
848 * libspi/selection.c (spi_selection_finalize): kill.
849 (spi_selection_interface_new): upd.
850 (spi_selection_class_init): upd.
851 (get_selection_from_servant): impl.
852 Upd. all CORBA impl.s to use it killing yet more cut and paste.
854 * libspi/relation.c (spi_relation_finalize): kill.
855 (spi_relation_class_init, spi_relation_new): upd
857 * libspi/image.c (spi_image_finalize): kill.
858 (spi_image_class_init): upd.
859 (spi_image_interface_new): upd.
860 (get_image_from_servant): impl.
861 Upd. all CORBA impl.s to use it killing yet more cut and paste.
863 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
864 (spi_hyperlink_finalize): kill.
865 (spi_hyperlink_new): upd.
866 (get_hyperlink_from_servant): impl.
867 Upd. all CORBA impl.s to use it killing yet more cut and paste.
869 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
870 (spi_hypertext_finalize): kill.
871 (spi_hypertext_class_init): upd.
872 (get_hypertext_from_servant): impl.
873 Upd. all CORBA impl.s to use it killing yet more cut and paste.
875 * libspi/editabletext.c (spi_editable_text_finalize): kill.
876 (spi_editable_text_interface_new): upd.
877 (get_editable_text_from_servant): impl.
878 Upd. all CORBA impl.s to use it killing yet more cut and paste.
880 * libspi/text.c (get_text_from_servant): impl.
881 All impls - update to use it killing more cut and paste,
882 also fix bad string returns on duff args ( a somewhat
883 impossible case to handle - but hey ).
884 (spi_text_construct): impl.
885 (spi_text_interface_new): upd.
886 (spi_text_object_finalize): kill.
889 (accessibility_component_object_finalize): kill.
890 (spi_component_class_init): upd.
891 (get_component_from_servant): impl. helper to kill cut & paste.
892 (impl_accessibility_component_contains):
893 (impl_accessibility_component_get_accessible_at_point):
894 (impl_accessibility_component_get_position):
895 (impl_accessibility_component_get_extents):
896 (impl_accessibility_component_get_mdi_z_order):
897 (impl_accessibility_component_get_layer):
898 (spi_component_interface_new): upd.
900 * libspi/action.c (spi_action_finalize): kill.
901 (spi_action_class_init): upd. inherit from SpiObject.
902 (spi_action_interface_new): upd.
903 (get_action_from_servant): impl. helper to reduce cut & paste.
904 (impl_getKeyBinding, impl_getName, impl_doAction),
905 (impl_getDescription): Use it everywhere.
907 * cspi/spi_main.c (get_live_refs): a pointer hash.
908 (spi_object_hash, spi_object_equal): comment out.
909 There are issues with CORBA object hashing that need
912 * libspi/application.c (spi_application_init),
913 (spi_application_new): upd.
915 * libspi/accessible.c (spi_accessible_object_finalize): kill.
916 (spi_accessible_class_init): upd.
917 s/accessible/object/ in epv methods.
919 2001-12-05 Bill Haneman <bill.haneman@sun.com>
921 * at-bridge/bridge.c:
922 Reorder the bridge initialization into the bridge gtk_module_init,
923 an immediate call to bridge_register_app, and an idle_add for
924 register_atk_event_listeners (the only code that *must* wait until
925 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
926 the activation, creates the application's Accessible object, and
927 queues the bridge_idle_init function. Restored call to
928 Accessibility_Registry_deregisterApplication().
929 Prior to making this call we obtain a new reference to the
930 registry, which is a temporary hack that helps us handle apps that
931 shut down the bonobo mainloop before we get there.
934 Fix string leakage in debug block, and don't segv if a an app
935 dies before its event notifications have been propagated.
938 Modify cspi_check_ev() to call g_warning() rather than g_error(),
939 as stopgap measure until we get proper exception handling when
940 objects die during or before interrogation.
944 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
945 Also changed default value of is_gnome_app to TRUE.
948 * test/keysynth-demo.c:
949 Changed use of SPI_init and SPI_event_main to reflect API change above.
952 Made report_focus_event check the warning value from getName
953 before reporting on focussed accessible; simplifies handling of
954 notifications from dead objects.
956 * test/test-simple.c: (Changes not in this patch since source is
959 2001-12-05 Michael Meeks <michael@ximian.com>
961 * registryd/registryd.c (main): protect against
962 bonobo-activation startup race condition.
964 * cspi/spi_main.c (cspi_object_add_check): cope
965 with the exception elegantly.
967 * idl/Accessible.idl: decl. ChildGone
969 * libspi/desktop.c (spi_desktop_dispose): impl.
970 (spi_desktop_class_init): upd.
971 (spi_desktop_add_application),
972 (spi_desktop_remove_application),
973 (abnormal_application_termination): impl.
974 (impl_desktop_get_child_at_index): re-impl.
977 (impl_accessibility_registry_deregister_application),
978 (impl_accessibility_registry_register_application):
979 kill excessive debug clutter.
981 * test/test-simple.c (test_misc): test some NULL
982 tolerance. (main): upd.
984 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
985 implements no interfaces - so let's not crash.
987 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
989 * libspi/accessible.c (spi_accessible_new_return): impl.
990 helper to calm the cut and paste, to cope with
991 NULL AtkObjects effectively and efficiently, and to kill
992 the referencing bugs.
994 * libspi/table.c (impl_getAccessibleAt),
995 (impl_getRowHeader, impl_getColumnHeader): upd.
997 * libspi/hyperlink.c (impl_getObject): upd.
999 * libspi/accessible.c
1000 (impl_accessibility_accessible_get_child_at_index): upd.
1002 * libspi/component.c
1003 (impl_accessibility_component_get_accessible_at_point): upd.
1005 * test/test-simple.c (test_editable_text, test_text): impl.
1008 * cspi/spi_editabletext.c
1009 (AccessibleEditableText_insertText): constify.
1011 * test/test-simple.c (focus_me): make more robust.
1013 * libspi/accessible.c: remove some printfs in methods that
1014 we test and work fine, so we can get a clean tree dump.
1016 * test/test-simple.c (validate_accessible),
1017 (validate_tree): make tree dumping pretty too.
1019 * at-bridge/bridge.c (bridge_signal_listener): upd. so
1020 it builds without debug on.
1022 * test/test-simple.c (validate_accessible): fix the most
1025 * cspi/spi_main.c (spi_object_release): leave the nicely
1026 blanked memory around if in debug mode.
1028 * cspi/spi-listener-impl.c (cspi_event): use add_check.
1030 [committed to fixups2]
1031 2001-12-05 Michael Meeks <michael@ximian.com>
1033 * libspi/editabletext.c
1034 (spi_editable_text_class_init): g_type_class_peek_parent,
1035 not interface peek - so we finalize cleanly.
1037 * libspi/accessible.c (spi_accessible_new): kill debug.
1039 * test/test-simple.c (validate_accessible): fix ref.
1040 leak, print strings before freeing them; sigh, comment a
1041 chunk out due to strangeness.
1042 (validate_tree): unref the child after use.
1044 * cspi/spi_component.c (AccessibleComponent_getLayer):
1045 add missing break statement, switch on zlayer not the
1046 uninitialized retval.
1048 * cspi/spi_main.c (cspi_object_add): add assert, local ref
1049 before (possibly re-entering) remote unref.
1051 * test/simple-at.c (main): unref the desktop.
1053 * cspi/spi_accessible.c (cspi_accessible_is_a): move
1056 * cspi/spi_main.c (cspi_accessible_is_a): here to
1057 isolate bonobo API usage more.
1059 * libspi/registry.c (impl_accessibility_registry_register_application):
1060 prune bogus comment.
1062 2001-12-04 Michael Meeks <michael@ximian.com>
1064 * test/test-simple.c (validate_tree): upd.
1065 IndexInParent check to make it more lucid.
1066 (validate_accessible): dump the tree.
1068 * libspi/accessible.c (de_register_public_ref),
1069 (get_public_refs): impl.
1070 (spi_accessible_new): make more efficient & intuitive.
1071 Now IndexInParent check works.
1073 2001-12-04 Michael Meeks <michael@ximian.com>
1075 * cspi/spi-util.h: remove.
1077 * cspi/spi.h: move SPI_freeString here
1079 * libspi/component.c (impl_accessibility_component_get_layer):
1081 (impl_accessibility_component_get_mdi_z_order): ditto,
1082 return -1 on error - is this ok ?
1084 * test/test-simple.c (test_application): impl.
1086 * cspi/spi_accessible.c (Accessible_getApplication),
1087 (Accessible_isApplication): impl.
1089 * libspi/registry.c (spi_listener_struct_free): release
1090 the CORBA reference too.
1092 * libspi/accessible.c
1093 (impl_accessibility_accessible_get_parent): fix ref leak.
1095 * libspi/registry.c (spi_registry_new): make the registry
1096 immortal - we don't want it to go away ever.
1098 * libspi/application.c
1099 (spi_accessible_application_finalize): impl. cleanup.
1101 * cspi/spi_registry.c
1102 (deregisterGlobalEventListenerAll),
1103 (deregisterGlobalEventListener),
1104 (deregisterAccessibleKeystrokeListener): fix ref leak.
1106 * cspi/spi_main.c (SPI_init): remove redundant ref.
1108 * test/test-simple.c (unutterable_horror): impl. to force a
1113 (impl_accessibility_registry_deregister_application): release
1114 the application when we de-register it.
1116 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1117 until we have the infastructure to get it right.
1119 2001-12-03 Michael Meeks <michael@ximian.com>
1121 * libspi/Makefile.am: only build eventlistener.[ch]
1123 * libspi/accessible.c
1124 (impl_accessibility_accessible_get_child_at_index): don't leak.
1126 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1127 before we hit the idle handler.
1129 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1130 debugging than exit.
1132 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1134 * libspi/listener.c (impl_notify_event): check source
1135 not NIL before unref.
1137 * libspi/registry.c (impl_registry_notify_event): ditto.
1139 * libspi/eventlistener.c
1140 (impl_accessible_event_notify_event): unref the source.
1142 * libspi/accessibleeventlistener.c
1143 (impl_accessible_event_notify_event): unref the source.
1145 * idl/Event.idl: remove 'hash_id' attribute - of no
1148 * libspi/application.c (notify_listeners): upd list
1150 (spi_application_object_event_listener),
1151 (spi_application_toolkit_event_listener): upd to do correct
1155 (_registry_notify_listeners): update.
1156 (parse_event_type): this method also leaks like a sieve.
1157 (impl_accessibility_registry_deregister_global_event_listener):
1158 fix ETYPE_WINDOW case.
1160 * libspi/application.c
1161 (impl_accessibility_application_register_object_event_listener):
1164 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1166 * libspi/hypertext.c (impl_getLink): ditto.
1168 * cspi/spi_main.c (cspi_object_add): remove
1169 bogus CORBA_Object_duplicate.
1171 * cspi/spi-listener-impl.c (cspi_event): dup/ref
1174 * cspi/spi_accessible.c
1175 (Accessible_getRelationSet): fix leak / referencing issue.
1177 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1178 (cspi_object_add, cspi_object_unref): upd.
1179 (spi_object_release, get_live_refs): impl.
1180 (cspi_cleanup): simplify.
1182 * *.[ch]: s/boolean/SpiBoolean/
1184 * cspi/spi_accessible.c (role_names): actualy order so it
1185 corresponds with the enum !
1187 * test/test-simple.c (test_roles): check some role strings
1188 vs. enums to detect offset errors.
1190 2001-12-01 Michael Meeks <michael@ximian.com>
1192 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1194 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1196 (Accessible_getChildAtIndex): use cspi_add_check so we
1197 check the ev before using a (possibly) invalid value.
1199 * libspi/accessible.c
1200 (impl_accessibility_accessible_get_parent): don't segv
1203 * at-bridge/bridge.c (gtk_module_init): upd.
1204 (bridge_property_event_listener): don't leak strings
1206 (bridge_state_event_listener),
1207 (bridge_property_event_listener): don't use a static
1208 buffer in case of recursive event emission &
1209 re-enterancy - split out the swathe of cut and paste
1211 (emit_eventv): and fix 2 ref leaks here & comply to the
1213 (bridge_register_app): rename to
1214 (bridge_idle_init): this and kill arg parsing, split
1215 various inits & bonobo-activation registration to module
1216 init time, kill referencing error.
1217 (bridge_exit_func): fix the same leak.
1218 (bridge_focus_tracker): don't leak event structures
1220 (bridge_signal_listener): more leakage and cut & paste
1222 (bridge_key_listener): return the result - FIXME is
1223 this polarity correct ?
1224 (accessibility_keystroke_from_atk_key_event): rename
1225 (accessibility_init_keystroke_from_atk_key_event): and stop
1227 (gtk_module_init): return a value - not that it is checked by
1229 (bridge_key_listener): register my horror at casting between
1230 IDL defined structs.
1231 (bridge_get_registry): kill - not used.
1233 * cspi/spi_accessible.c (Accessible_getRole): make return const.
1235 * test/test-simple.c (test_roles): impl.
1236 (test_desktop, validate_accessible, validate_tree): impl.
1238 * cspi/spi_accessible.c (role_names): fixup bogus
1239 MAX_ROLES setup, make constants const for efficient linkage
1240 (AccessibleRole_getName): conform to coding style, make
1243 2001-11-30 Michael Meeks <michael@ximian.com>
1245 * cspi/spi.h: add missing prototype.
1247 * libspi/registry.c (spi_listener_struct_new): fix sig.
1249 * test/Makefile.am: add test-simple
1251 * test/test-simple.c: add
1253 * test/test.sh: add.
1255 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1257 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1258 do it straight - since otherwise we often get an activation race.
1260 [ work before Bill duplicated a chunk of it ... ]
1261 2001-11-30 Michael Meeks <michael@ximian.com>
1263 * libspi/keystrokelistener.c
1264 (spi_keystroke_listener_class_init): fixup arg
1267 * libspi/eventlistener.c
1268 (spi_event_listener_class_init): ditto.
1270 * tests/test.sh: add.
1272 * cspi/spi-listener-impl.h: update macros.
1274 * cspi/spi-listener-impl.c
1275 (cspi_event_listener_remove_callback): add
1276 correct pre-conditions.
1278 * cspi/spi_main.c (SPI_exit): guard vs. double
1279 exits, exit the mainloop nicely.
1280 (SPI_event_main): make more sense.
1281 (SPI_init): move the atexit evilness here so we
1282 always do it (yuck).
1283 (SPI_event_main): upd.
1285 * test/simple-at.c: update for listener changes.
1287 * registryd/registryd.c (main): prune kruft.
1289 * libspi/libspi.h: upd.
1291 * libspi/eventlistener.[ch]: rename broken macros.
1293 * libspi/accessibleeventlistener.[ch]: remove.
1295 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
1297 * test/test-simple.c: Add - automated tests.
1299 * cspi/spi-listener-impl.c (cspi_event),
1300 (cspi_key_event): add user_data to invoke.
1301 (cspi_keystroke_listener_finalize): impl.
1302 (cspi_keystroke_listener_class_init): upd.
1305 (createAccessibleEventListener),
1306 (AccessibleEventListener_addCallback),
1307 (createAccessibleKeystrokeListener),
1308 (AccessibleKeystrokeListener_addCallback): upd.
1310 * libspi/deviceeventcontroller.c
1311 (spi_device_event_controller_check_key_event): add public proto.
1314 (impl_accessibility_registry_deregister_global_event_listener):
1315 always init listeners.
1316 (_registry_notify_listeners): yes it is.
1318 * cspi/spi-listener-impl.c (cspi_key_event):
1320 (cspi_event_listener_finalize): impl.
1321 (cspi_event_listener_class_init): hook up.
1322 (event_handler_new, event_handler_free),
1323 (event_list_remove_by_callback): impl.
1324 (cspi_event_listener_remove_callback),
1325 (cspi_keystroke_listener_remove_callback),
1326 (cspi_keystroke_listener_add_callback),
1327 (cspi_event_listener_add_callback): upd.
1329 * libspi/keystrokelistener.c
1330 (keystroke_listener_object_finalize): kill
1331 (spi_keystroke_listener_class_init): upd.
1332 (spi_keystroke_listener_add_callback),
1333 (spi_keystroke_listener_remove_callback): kill,
1335 (impl_key_event): prune drasticaly.
1337 * libspi/eventlistener.c
1338 (spi_event_listener_add_callback),
1339 (spi_event_listener_remove_callback): kill, use
1341 (impl_accessible_event_notify_event): upd.
1342 (spi_event_listener_object_finalize): remove.
1344 * libspi/Makefile.am: use eventlistener.[ch]
1346 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1348 * libspi/registry.c (_registry_notify_listeners):
1349 Changed listener loop iteration to use preferred convention.
1350 Got rid of string memory leaks caused be calling g_strconcat
1351 inside function calls.
1353 * libspi/registry.c (parse_event_type):
1354 Stopped g_strconcat memory leaks, free the g_strsplit return,
1355 g_strdup the split pieces when used, etc.
1357 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1360 Change method 'compare' to return a 'difference set' rather than
1361 taking a StateSet as an out parameter (more Java-friendly).
1363 * idl/Accessible.idl:
1364 Added CORBA struct 'BoundingBox', to faciliate API changes below:
1366 * idl/Component.idl:
1368 Changed methods 'getExtents' and 'getImageExtents' in these
1369 interfaces to return a BoundingBox structure.
1370 (getPosition and getSize are redundant and possibly should be
1371 removed, rather than creating a corresponding Point struct.)
1373 * cspi/spi_component.c:
1374 Modify implementation of getExtents to reflect the above IDL
1379 Add (missing) AccessibleImage_getExtents () API.
1381 * docs/reference/cspi/at-spi-cspi-sections.txt:
1382 Added AccessibleImage_getImageExtents () to docs.
1384 2001-12-03 Bill Haneman <bill.haneman@sun.com>
1386 * idl/Component.idl:
1387 Added two methods, getLayer () and getMDIZOrder (), to reflect
1388 the new ATK methods atk_object_get_layer and
1389 atk_object_get_mdi_z_order. (Which arguably should be part of the
1390 AtkComponent API and AtkObject). Also added an enum,
1391 ComponentLayer, for the first method's return value.
1393 * libspi/component.c:
1394 Added implementations for these methods.
1396 * cspi/spi_component.c:
1398 Added cspi binding methods for above,
1399 AccessibleComponent_getLayer() and
1400 AccessibleComponent_getMDIZOrder().
1401 Added cspi enum 'AccessibleComponentLayer'.
1403 * docs/reference/cspi/at-spi-cspi-sections.txt:
1404 Added above methods to docs.
1408 Changed typedef for 'boolean' type (and all references to it) to
1409 SPIBoolean, to avoid keyword clashes with C++.
1412 Changed usages of 'boolean' to SPIBoolean.
1414 * test/keysynth-demo.c:
1415 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
1416 app), except where SPIBoolean is required by the callbacks API.
1418 2001-12-02 Bill Haneman <bill.haneman@sun.com>
1420 * cspi/spi_registry.c:
1421 Removed obsolete X event loop for passive keygrabs (which now
1424 * registryd/registryd.c:
1425 Removed unnecessary call to gdk_init() [cruft]. This also allows
1426 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
1429 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1431 * docs/reference/cspi:
1432 Included docs for SPI_freeString in generated documentation.
1435 Renamed spi_freeString to SPI_freeString, for consistency. Added
1436 documentation for this function.
1439 Renamed spi_freeString to SPI_freeString, for consistency.
1440 Removed obsolete method declaration string_from_corba_string.
1442 * test/keysynth-demo.c:
1443 Small tweak to comments.
1446 Stopped leaking the strings returned from CSPI.
1448 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1450 Merged Michael's branch (see his ChangeLog entries below).
1452 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
1453 bridge is alive, release on exit.
1455 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
1456 Fix type check macro.
1459 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
1462 Added is_gnome_app static, and method cspi_is_gnome_app(),
1463 so we can call the appropriate shutdown routine at exit in SPI_exit.
1465 * cspi/spi_main.c (cspi_object_ref):
1466 Duplicate the corba object passed in, since we're keeping it around.
1468 * cspi/SPI_exit.c, cspi_cleanup:
1469 Moved the releasing of the live refs to its own function, so we
1470 can put it in g_atexit (). Call the appropriate shutdown API
1471 depending on whethe calling client is a gnome app or not
1472 (bonobo_main_quit or CORBA_ORB_shutdown).
1474 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
1475 Unref the listener when this method is called, after
1476 deregistration. Updated the API docs to note this behavior.
1478 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
1479 Bugfixes: Ref the bonobo object when returning a parent or child
1480 reference, or an AccessibleRelation. Generally made sure
1481 BonoboObject refcount is incremented whenever we return an
1484 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
1485 Fixed typo/bug in signal declaration.
1487 * libspi/accessibleeventlistener.h:
1490 * libspi/application.c (spi_application_new):
1491 Fixed leak in initialization.
1494 Remembered to increment bonobo-object refcount when returning
1495 children (applications) from desktop object.
1496 Added (empty) finalize method.
1498 * libspi/deviceeventcontroller.c:
1499 Hold a ref to listeners inside DEControllerKeyListeners.
1500 Added dec_key_listener_free() method. Use prepend instead of
1501 append in key_listener list. Fixed some refcount madness and
1502 leaks in the listener registration/deregistration - deregistration
1503 now calls dec_key_listener_free() on listeners, and on the
1504 temporarily constructed dec_key_listener() used to perform the search/match.
1506 * libspi/hypertext.c (spi_hypertest_finalize):
1507 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
1508 class. Also fixed spi_hypertext_interface_new() and
1509 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
1511 * libspi/hypertext.h:
1512 Removed pointless and duplicate AtkObject pointer from
1515 * libspi/keystrokelistener.c:
1516 Fixed incorrect type of keystroke_listener_parent_class,
1517 renamed keystroke_listener_object_finalize to
1518 spi_keystroke_listener_object_finalize.
1519 Fixed typo in signal declaration
1520 (spi_keystroke_listener_class_init).
1522 * libspi/registry.c:
1523 Added funcsions spi_listener_struct_new() and
1524 spi_listener_struct_free() to help with memory management issues.
1525 We also now use these methods instead of gnew + poking stuff into
1526 the struct, and to decrement listener counts/free the listeners
1527 when deregistering them.
1528 Fix more refcount bugs in getDesktop() and
1529 getDeviceEventController().
1532 De-ref the desktop after enumerating the applications. Explicitly
1533 decrement the refcounts on the created listeners on exit (using
1534 _unref for keystroke listeners, and via the
1535 deregisterGlobalEventListenerAll command for other event
1538 2001-11-27 Michael Meeks <michael@ximian.com>
1540 * cspi/spi-listener.h: fixup enum.
1542 2001-11-27 Michael Meeks <michael@ximian.com>
1544 * cspi/spi-listener-impl.c (cspi_event_listener_new),
1545 (cspi_keystroke_listener_new): Use the cspi variants.
1547 2001-11-26 Michael Meeks <michael@ximian.com>
1549 * test/keysynth-demo.c: fix 2 compile warnings, missing
1552 * test/simple-at.c (report_focussed_accessible),
1553 (report_focus_event, report_button_press),
1554 (check_property_change, is_command_key),
1555 (report_ordinary_key_event, report_command_key_event): upd.
1557 * util/mag_client.h: include pre-requisites.
1559 * libspi/accessibleeventlistener.c
1560 (spi_event_listener_object_finalize): free any lingering
1563 * libspi/keystrokelistener.c
1564 (keystroke_listener_object_finalize): ditto.
1566 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1567 callbacks, with cspi types.
1569 * cspi/spi_event.c (createAccessibleEventListener): chain to
1570 (AccessibleEventListener_addCallback): here.
1571 (createAccessibleKeystrokeListener): chain to
1572 (AccessibleKeystrokeListener_addCallback): here.
1574 * libspi/keystrokelistener.c
1575 (spi_keystroke_listener_class_init): add signal.
1576 (impl_key_event): emit the event.
1577 (boolean_handled_accumulator): impl.
1578 (marshal_BOOLEAN__POINTER): add, gack.
1580 * libspi/accessibleeventlistener.c
1581 (spi_event_listener_class_init): add signal.
1582 (impl_accessible_event_notify_event): emit the signal &
1583 make the loop efficient.
1584 (spi_event_listener_add_callback): prepend the callback.
1586 * libspi/accessibleeventlistener.h: add an 'event' signal,
1587 decl type on callback.
1589 * libspi/keystrokelistener.h: ditto.
1591 * cspi/spi-listener.h: make methods typesafe and
1592 make them use the new event typedefs.
1594 * test/simple-at.c (report_focussed_accessible):
1595 include mag_client.h
1596 Use *(void *)text_interface not the other thing.
1598 * configure.in: add gtk to registryd bits - since we use
1601 * util/magnifier.c: include libbonobo.h
1603 2001-11-25 Bill Haneman <bill.haneman@sun.com>
1605 * test/keysynth-demo.c:
1606 Turned this into a simple scanning keyboard, to demonstrate the
1607 use of g_timeout_add () as a means of creating timers for
1608 scanning, and the use of GtkStyle for visually indicating when
1609 virtual keyboard elements are selected.
1611 keysynth-demo now listens to any keyboard keys with zero-valued
1612 keycodes (i.e. 'unused' keys) and interprets them as
1615 Reworked the shiftlatch code so that shift-down state isn't held
1616 for long periods (it's only synthesized immediately prior to
1617 the keysynth event it's modifying). Note that shiftlatch in this
1618 demo is a convenience, not intended to take the place of AccessX
1619 which is the better choice for getting 'sticky' modifier keys.
1621 * libspi/deviceeventcontroller.c:
1622 * at-bridge/bridge.c:
1623 * cspi/spi_registry.c:
1624 Removed some debug print stuff, and put other verbosity in #ifdef
1629 Implemented some more of the magnifier IDL for the simple
1630 magnifier: namely, getZoomRegionParams.
1631 Added mag_x and mag_y members to MagnifierData struct, aid of this
1633 Added GtkWindow::realize signal handler to magnifier, to keep it
1634 from receiving keyboard focus from the WM.
1636 2001-11-23 Mark McLoughlin <mark@skynet.ie>
1638 * cspi/spi-private.h: my guess at what michael forgot
1639 before he ran off to NZ :-)
1641 2001-11-23 Michael Meeks <michael@ximian.com>
1643 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
1644 comment out non existant method invoke so we link.
1646 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
1647 use bonobo_exception_get_text for more friendly warnings.
1649 * cspi/spi.c (Obj_Add): move into spi_main & rename
1650 spi_object_add; kill spi.c
1652 * cspi/spi_registry.c
1653 (deregisterGlobalEventListener),
1654 (deregisterGlobalEventListenerAll),
1655 (registerGlobalEventListener): fix exception leaks.
1657 * cspi/spi_main.c (spi_exception): impl. helper, so we
1658 don't leak exceptions.
1660 * cspi/spi_selection.c
1661 (AccessibleSelection_deselectSelectedChild): return the
1664 * cspi/spi_main.c (spi_ev): impl; hack - gack.
1665 (spi_registry): ditto.
1666 (SPI_init): guard against double inits.
1668 * cspi/*.c: use spi_ev (), and spi_registry () where
1669 appropriate - a temporary hack until we have something
1670 better. Use spi_object_add
1672 2001-11-22 Michael Meeks <michael@ximian.com>
1674 * cspi/Makefile.am: re organise, install the headers.
1676 * cspi/*.h: add G_BEGIN/END_DECLS
1678 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1681 Added non-preemptive keylistener for key events with no modifiers
1682 and shift-only modifier.
1684 * libspi/keystrokelistener.c:
1685 Removed some verbose diagnostics printout.
1687 * cspi/spi_registry.c:
1688 Fixed a bug that caused all key listeners to be registered as
1691 * libspi/deviceeventcontroller.c:
1692 Fixed bug that caused XGrabKey (preemptive key grab) to be called
1693 for non-preemptive key masks.
1696 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1698 * docs/reference/idl/at-spi-idl-docs.sgml:
1699 * docs/reference/idl/at-spi-idl-sections.txt:
1700 * docs/reference/idl/at-spi-idl-overrides.txt:
1701 Added missing files.
1703 * docs/reference/Makefile.am:
1704 removed idl from SUBDIRS until we can figure a way to get gtk-doc
1705 to scan the IDL files :-(
1710 Added .cvsignore files.
1712 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1714 * libspi/deviceeventcontroller.c:
1715 * libspi/keystrokelistener.c:
1717 * cspi/spi_registry.c:
1718 Added filters for KeySets, KeyEventSeq, and event types to key
1719 event dispatching, so listeners should only receive those events
1720 that they requested :-)
1722 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1727 * docs/reference:Makefile.am:
1728 * docs/reference/cspi:
1729 * docs/reference/cspi:Makefile.am:
1730 * docs/reference/cspi:tmpl:
1731 * docs/reference/cspi:tmpl:*.sgml:
1732 * docs/reference/idl:
1733 * docs/reference/idl:Makefile.am:
1734 * docs/reference/idl:at-spi-idl-sections.txt:
1735 * docs/reference/idl:at-spi-idl-docs.sgml:
1736 * docs/reference/idl:tmpl:
1737 * docs/reference/idl:tmpl:*.sgml:
1739 Restructured docs directory to allow separate 'reference' docs
1740 section, and forked idl and cspi docs. Added the sgml template
1741 files to CVS. Added the first sections/structural sgml for the
1744 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
1746 * configure.in, libspi/Makefile.am: find libXtst.
1748 2001-11-21 Michael Meeks <michael@ximian.com>
1750 * test/accessx-gui.c: s/spi_value/value/ - doh.
1752 * libspi/base.[ch]: add.
1754 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1756 * idl/Accessible.idl:
1757 * idl/Application.idl:
1760 Started gtk-doc cleanup on IDL.
1762 * libspi/deviceeventcontroller.c:
1763 Added and connected non-preemptive key notification from the
1764 toolkits (in addition to the pre-emptive support from XServer
1765 which we had before, but which causes 'focus flashing'). Filters
1766 are presently limited to key modifiers and global/non-global,
1767 KeySets are presently ignored, as are KeyEvent masks.
1769 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1770 structs into the persistant structure rather than just storing
1771 pointers to things that might not persist across servant
1774 The XGrabKey call now does async keygrabs, because synchronous
1775 ones were deadlocking with GDK_event code in a very nasty way.
1777 Added boolean to internal method notify_keylisteners, to indicate
1778 whether the event came from the 'toolkit source' or the 'global
1779 (XServer) source' - this is used in the notification process to
1780 determine which listeners to send the event to.
1782 deviceeventcontroller.c is now warning-free.
1784 * libspi/registry.c:
1785 Fixed regression in application de-registration.
1786 Also fixed some really brain-dead weirdness having to do with
1787 event dispatching - event structs are now duplicated before being
1788 re-marshalled in the dispatch to listeners. This also fixes a
1789 Solaris build problem.
1792 2001-20-11 Michael Meeks <michael@ximian.com>
1795 (impl_accessibility_registry_deregister_global_event_listener):
1798 * libspi/deviceeventcontroller.c
1799 (spi_device_event_controller_check_key_event): return
1800 FALSE on no virtual method.
1802 * libspi/*..h: make includes work on a correctly pathed install.
1804 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
1806 * libspi/application.h: kill unused ( and whacked out )
1807 gboolean *spi_application_set_id (AtkObject *app, long id);
1809 2001-20-11 Michael Meeks <michael@ximian.com>
1811 * libspi/*.[ch]: further convert to bonobo's type func
1812 macros, remove redundnant casts etc.
1814 * libspi/text.c s/accessibility_text/spi_text/g,
1815 re-order to de-cruft.
1817 * libspi/hypertext.c: re-order to kill a huge slew
1818 of redundant forward decls.
1820 * libspi/relation.c: ditto.
1822 * libspi/image.c: ditto.
1824 * */.cvsignore: update
1826 2001-20-11 Michael Meeks <michael@ximian.com>
1828 * libspi/deviceeventcontroller.c
1829 (_controller_register_with_devices): use g_getenv,
1830 kill stdlib.h include.
1832 * libspi/keystrokelistener.c
1833 (spi_keystroke_listener_get_type): kill
1834 (spi_keystroke_listener_class_init),
1835 (spi_keystroke_listener_init): rename to this.
1837 * libspi/text.c (impl_getAttributes): fix warning / bug.
1839 * libspi/*.[ch]: more headers, includes and over commenting.
1841 2001-20-11 Michael Meeks <michael@ximian.com>
1843 * libspi/*.[ch]: fixup headers, includes and over commenting.
1845 * libspi/image.c (impl__get_imageDescription): const
1846 correctness warning fix. remove redundant casting.
1848 * libspi/table.c (impl_getRowDescription): ditto.
1849 (impl_getColumnDescription): ditto.
1851 * libspi/libspi.h: add.
1853 2001-19-11 Michael Meeks <michael@ximian.com>
1855 * libspi/editabletext.c (impl_setAttributes): fix warnings.
1857 * libspi/component.c (accessibility_component_get_type):
1858 rename to (spi_component_get_type): and macroify.
1859 (accessibility_component_init): rename to
1860 (spi_component_init): this
1861 (accessibility_component_class_init): rename to
1862 (spi_component_class_init): this
1864 * libspi/action.c (spi_action_get_type): kill, use the macro.
1866 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
1869 * libspi/application.c (spi_application_object_event_listener),
1870 (impl_accessibility_application_register_object_event_listener):
1871 warning fixes / const understanding updates.
1873 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
1876 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1878 * libspi/spi_accessible.c: Added docs and C bindings for
1879 AccessibleStateSet. (No implementations yet). Documentation
1880 coverage for C bindings now 100%. Made docs for event listeners
1885 boolean notifyListenersSync (in DeviceEventListener listener,
1886 in DeviceEvent event);
1888 oneway void notifyListenersAsync (in DeviceEventListener listener,
1889 in DeviceEvent event);
1891 Added DeviceEventListener and DeviceEvent structs (may deprecate
1892 KeyStroke and KeystrokeListener in favor of this generic
1893 event/listener framework for devices).
1895 * libspi/deviceeventcontroller.c:
1897 Changed some key listener code to take masks, etc., and paved the
1898 way for integration of toolkit/non-preemptive key events. Changed
1899 signatures of some internal methods.
1901 * at-bridge/bridge.c:
1902 Fixed regression connecting to interface signals, apparently
1903 caused by GTK+ changes.
1905 Added an internal bridge_state_listener to deal with
1906 property-change:accessible-state signals.
1908 Changed the key_listeners GList to store structs (including masks,
1909 etc.) instead of just CORBA_Objects (required for full
1910 implementation of key listener API).
1912 Connected the bridge to all currently supported Atk signals.
1913 Events now supported:
1914 object:property-change
1915 object:property-change:accessible-name
1916 object:property-change:accessible-state
1917 object:property-change:accessible-description
1918 object:property-change:accessible-parent
1919 object:property-change:accessible-value
1920 object:property-change:accessible-role
1921 object:property-change:accessible-table-caption
1922 object:property-change:accessible-table-column-description
1923 object:property-change:accessible-table-column-header
1924 object:property-change:accessible-table-row-description
1925 object:property-change:accessible-table-row-header
1926 object:property-change:accessible-table-summary
1927 object:children-changed
1928 object:visible-data-changed
1929 object:selection-changed
1930 object:text-selection-changed
1932 object:text-caret-moved
1934 object:row-reordered
1936 object:column-inserted
1937 object:column-reordered
1938 object:column-deleted
1939 object:model-changed
1941 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1943 * libspi/hyperlink.c,h:
1944 Fixed some broken stuff in hyperlink.
1946 * libspi/relation.h:
1947 * libspi/relation.c:
1948 * cspi/spi_accessible.c:
1949 Initial implementations of AccessibleRelation methods, and docs.
1951 * libspi/accessible.c:
1952 Fixed a bug that caused SEGV if an accessible
1953 object's description is NULL, and a client
1954 requests it. An empty string is now returned.
1956 * cspi/spi_editabletext.c:
1957 * cspi/spi_hypertext.c:
1959 * cspi/spi_hyperlink.c:
1963 Doc coverage now 95%.
1965 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1967 One last namespacing revision:
1968 * libspi/accessibleeventlistener.[ch]:
1969 Renamed SpiAccessibleEventListener to SpiEventListener,
1970 (no need for two namespaces ;-)
1972 And lots of documentation fixes:
1974 * docs/at-spi-docs.sgml:
1975 Fixed 'underscore vs. hyphen' bug that was preventing
1976 the gtk-doc API docs from being automatically generated.
1979 * cspi/spi-listener.h
1981 * cspi/spi_accessible.c
1983 * cspi/spi_application.c
1984 * cspi/spi_component.c
1985 * cspi/spi_editabletext.c
1987 * cspi/spi_hypertext.c
1989 * cspi/spi_registry.c
1990 * cspi/spi_selection.c
1994 * docs/at-spi-docs.sgml
1995 * docs/at-spi-sections.txt
1997 Added and fixed up gtk-doc documentation in cspi.
1999 Interfaces now (fully) documented (subject to revision and enhancement):
2001 Event Listener Support
2003 AccessibleApplication
2007 AccessibleEditableText
2014 AccessibleRelationSet
2019 2001-14-11 Bill Haneman <bill.haneman@sun.com>
2021 * at-bridge/bridge.c:
2022 Initial work for toolkit-level key snooper connection by bridge.
2027 New typedefs and fixes to support new namespacing, and cleaner
2028 separation of cspi bindings from libspi bonobo implementation.
2029 Removed inconsistent and extraneous Spi* namespace prefix that
2030 had crept into cspi headers.
2031 Lots of comment fixes that sed had missed.
2033 * cspi/spi-roletypes.h:
2034 * cspi/spi-statetypes.h:
2035 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
2036 to AccessibleRoleType.
2038 * libspi/accessibleeventlistener.h:
2039 Fixed minor namespacing weirdness.
2041 * libspi/deviceeventcontroller.c:
2042 Reordered some internal API for device listeners.
2043 Changed the key registry final boolean to 'is_system_global'
2044 rather than 'is_synchronous', which is more descriptive of its
2046 Added spi_device_event_controller_new().
2047 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
2049 * libspi/keystrokelistener.[ch]:
2050 Namespaced KeystrokeListener to SpiKeystrokeListener.
2051 Changed uses of keymasks to use SPI_ prefix, and did other
2054 * libspi/keymasks.h:
2055 Namespaced keymask constants with SPI_ prefix.
2057 * libspi/registry.c:
2058 Some warning fixes, and knock-on fixes from namespace changes.
2061 Added rules for accessx-gui test program.
2063 * test/accessx-gui.c:
2064 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2065 utility. It doesn't actually use at-spi, but it's still cool and
2068 * test/keysynth-demo.c:
2072 Fixes so that these test clients work properly with the namespaced
2073 libraries. (Incompletely tested for technical reasons, fixes may follow)
2076 2001-13-11 Michael Meeks <michael@ximian.com>
2078 * libspi/application.c
2079 (impl_accessibility_application_get_version),
2080 (impl_accessibility_application_get_toolkit_name):
2082 (impl_accessibility_application_set_id),
2083 (impl_accessibility_application_get_id): remove
2084 redundant casting code.
2086 * libspi/action.c (impl_getDescription): fix warnings.
2088 * libspi/accessible.c
2089 (impl_accessibility_accessible_get_parent),
2090 (impl_accessibility_accessible_get_child_at_index),
2091 (impl_accessibility_accessible_get_state),
2092 (impl_accessibility_accessible_get_relation_set):
2093 warning fixes & include action.h
2095 2001-13-11 Michael Meeks <michael@ximian.com>
2097 * *.[ch] fix bits I screwed up:
2099 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2100 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2102 2001-13-11 Michael Meeks <michael@ximian.com>
2104 * *.[ch] Namespace libspi into spi_ and Spi.
2106 2001-13-11 Michael Meeks <michael@ximian.com>
2108 * Makefile.am: dist & install at-spi-1.0.pc
2110 * libspi/Makefile.am: install into at-spi-1.0
2112 * idl/Makefile.am (idldir): install into at-spi-1.0
2114 * at-spi-1.0.pc.in: add.
2116 * configure.in: build it.
2118 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2120 * test/keysynth-demo.c:
2121 Use a 'realize' signal-handler to set the WM properties for
2122 the virtual keyboard, rather than making it a "POPUP" type
2123 override-redirect window (thanks to anders carlsson for that
2126 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2129 * test/keysynth-demo.c:
2130 Added new test of key synthesis, which creates a simple
2131 (mouse-operated) onscreen keyboard. It inserts key events into
2132 the currently-focused window, thus it does not grab keyboard focus
2135 * cspi/spi_registry.c:
2136 Added C binding for AT-SPI generateKeyEvent.
2138 * libspi/deviceeventcontroller.c:
2139 Added call to XFilterEvent so that key listener works with XIM (we
2140 hope). Added event_synth_type to generateKeyEvent, so that we can
2141 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2142 synthesize a press/release pair for KeySyms.
2144 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2146 * libspi/Makefile.am:
2147 * registryd/Makefile.am:
2148 (temporary) hack to include libXtst in libspi and registryd.
2149 (Needed for keystroke synthesis, see below).
2152 Improved API for registerKeystrokeListener, in accordance with
2153 discussions with Gnopernicus team and X server research.
2155 * libspi/registry.c:
2156 * libspi/deviceeventcontroller.c:
2157 * libspi/accessible.c:
2158 * libspi/keystrokelistener.c:
2159 Changes and fixes to support keylisteners for potentially
2160 consumed key events (that is, 'passive grabs').
2161 Added implementation for generateKeyEvent() [untested].
2164 Changes to registerKeystrokeListener() API, as above.
2165 Added deregisterGlobalEventListenerAll(), and
2166 deregisterKeystrokeListener(), which are needed for clean exit of
2168 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2169 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2171 * cspi/spi_registry.c:
2172 Added implementations of function prototypes mentioned above.
2174 * registryd/registryd.c:
2175 Added the key listener event source as a g_timeout(), to allow
2176 receipt of key events that are not caught by GDK (since GDK
2177 doesn't support passive keygrabs, this was necessary).
2180 Changed to attach a keylistener to 'Alt' keys, and
2181 respond to the following keycommands: Alt-M (toggle magnifier);
2182 Alt-F (toggle speech); Alt-Q (quit).
2183 Added an exit routine to deregister the listeners, and a key
2184 listener that prints some key info to the console when a key
2185 matches the listener mask (and is thus received by the listener).
2187 * util/idl/Magnifier.idl:
2188 Changes to magnifier API to support multiple zoom regions,
2189 non-uniform scaling in x and y, markDirty, and a host of other
2190 features that would be useful to magnification.
2193 * util/mag_client.c:
2194 * util/mag_client.h:
2195 * util/mag_control.c:
2197 Source code changes to support the above IDL changes.
2200 As above, and also changes to use a (slower) generic conversion
2201 path for colormap conversions, since the fast RGB conversions have been
2202 reported to fail for 16-bit displays.
2204 2001-10-26 Michael Meeks <michael@ximian.com>
2206 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2208 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
2210 * at-bridge/Makefile.am: fix LDFLAGS.
2212 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2214 * at-bridge/bridge.c:
2215 Re-worked listeners for toolkit events, now we have signal
2216 and property listeners. Added a private method
2217 register_atk_event_listeners(), which registers with the
2218 various atk and gtk signals we need to monitor in order to emit
2220 Added emission hook for AtkObject:property-change events, to
2221 support the 'property listeners'.
2222 Fixed some alloc()s of Accessibility_Event structs to use CORBA
2225 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2226 which emit warnings and exit, respectively, if CORBA errors occur
2227 during remote calls, and we now use these methods to check most of
2228 our CORBA calls in the C bindings.
2230 * cspi/spi_accessible.c:
2231 Changed AccessibleSelection_refSelectedChild() to
2232 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2233 now increment refcounts.
2235 * cspi/spi_component.c:
2236 Fixed some long pointer casts (dangerous!) to pass pointers to
2237 CORBA_longs of the proper type to the CORBA stubs, and copy the
2238 data into the longs that were passed into the C bindings code.
2240 * at-bridge/bridge.c:
2242 * libspi/accessible.c:
2243 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2244 hyperlinks, AtkHyperlink is an object type.
2246 * libspi/application.c:
2247 Added various conversions to and from "generic" event types and
2248 atk-specific types; this is really part of the 'bridge'
2249 implementation but is valid for all AtkObject-based accessibility
2252 * libspi/editabletext.c:
2253 Fixed nasty bug wherein editable text's finalize method was
2254 unref'ing tha AtkObject reference that the text parent class was
2255 about to unref _again_. There was also a nasty inheritance bug
2256 that meant that the AccessibleEditableText class was corrupt.
2258 * libspi/selection.c:
2259 Provided implementations for some selection API that was broken.
2261 * idl/Application.idl:
2262 Added registerObjectEventListener () method.
2265 Fixed a number of return values that were Bonobo_Unknowns from
2266 bonobo_object_corba_objref(), which I
2267 forgot to dup before returning. Changed instances of
2268 bonobo_object_corba_objref (bonobo_object(o)) to
2269 BONOBO_OBJREF(o), for concision and clarity.
2271 <2001-10-13 Louise Miller <louise.miller@sun.com>
2273 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2274 idl/Event.idl, idl/Registry.idl
2275 Changed these files to include Bonobo_Unknown.idl instead
2278 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
2280 * libspi/component.c libspi/component.h:
2281 Fixed typo. Added assertions for object checks in
2282 AccessibleComponent code.
2284 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2286 * idl/Accessible.idl:
2287 Added 'isEqual (Accessible *object)'
2288 method for Accessible. (Not Yet Implemented).
2291 Changed signature of registerKeystrokeListener() to
2292 take a KeySet and KeyEventSeq so that specific keys and event
2293 types could be requested for monitoring, and added a flag
2294 is_synchronous so that either synchronous or asynchronous
2295 notification could be requested. (However this is not all
2296 implemented yet). This also meant adding two new typedefs,
2297 KeyEventSeq and KeySet.
2300 Added two new relations, RELATION_TOOLTIP_FOR and
2301 RELATION_LEAFNODE_OF.
2304 Added new state, STATE_HAS_TOOLTIP.
2306 * libspi/text.c, editabletext.c:
2307 Added new assertions to all casts of bonobo-objects from
2308 CORBA servants, to prevent Text API calls on non-text objects.
2309 Changed suspect casts of int-pointer types, so that we
2310 always send a valid CORBA_long pointer to the CORBA APIs that use
2311 in/out long parameters. We then have to copy from the CORBA_long
2312 into the regular long or int for return to the C bindings, or
2313 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
2316 * libspi/deviceeventcontroller.c:
2317 Cleaned these sources up.
2319 Changed return type for getCharacterAtOffset to
2320 CORBA_unsigned_long, to allow for 32-bit characters.
2323 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
2327 Fixed 'make dist' so that distro compiles...
2328 * libspi/keymasks.h:
2330 * cspi/spi-listener.c:
2331 KeystrokeListenerCB now returns a boolean.
2333 Added KeyEventType struct, and KeyStroke.
2334 Also added createKeystrokeListener(),
2335 KeystrokeListener_addCallback(),
2336 KeystrokeListener_removeCallback(), and added a keymask to
2337 registerKeystrokeListener().
2338 * cspi/spi_accessible.c:
2339 Changed numerous return types for interfaces from
2340 AccessibleComponent to Accessible<InterfaceName>; this was
2341 probably a cut-and-paste error.
2343 Implementations of new KeystrokeListener api (from spi.h,
2346 Changes to key modifier mapping.
2347 Created ControllerEventMask struct.
2348 Made DeviceEventController derive from Bonobo::Unknown.
2350 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
2351 * libspi/deviceeventcontroller.c:
2352 Added a number of new internal (private) methods.
2353 * libspi/editabletext.c:
2354 * libspi/editabletext.h:
2355 Fixed a number of bugs related to the fact that
2356 editabletext inherits from text. Fixed the EditableText struct,
2357 the init() call, and use correct casts when calling Text methods
2358 from an EditableText object. Removed (duplicate) atko from the
2359 EditableText structure, we use the one in the parent Text
2360 structure via the casts mentioned above.
2361 * libspi/keystrokelistener.[ch]:
2362 * libspi/registry.c:
2363 Changes in support of keyboard handling (above).
2365 Keyboard handling, though partly functional, is still not
2366 recommended for at-spi client use as there is considerable
2367 work yet to be done.
2370 Changed some places where pointers to various int types
2371 are cast to be pointers to CORBA_long types and vice-versa:
2372 pointer casting is not safe so we pass pointers of the correct
2373 types and then cast the result before putting it into the target
2376 * libspi/text.h: minor typos corrected.
2378 We now speak not only the name of a Text element, but the
2379 first sentence of its content, when it receives focus.
2380 I also changed the text compression to 75% from 50%.
2381 * util/Accessibility_Util.server.in:
2382 Changed the default magnifier type to be a 3x vertical
2383 splitscreen magnifier (was previously a 2x horizontal one).
2385 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
2387 * libspi/keystrokelistener.h:
2388 * libspi/keystrokelistener.c:
2389 Initial functional implementations of KeystrokeListener.
2392 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
2394 Fixed string handling for NULL strings in libspi.
2395 Added spi_freeString to free strings returned by C bindings.
2397 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
2399 * libspi/keystrokelistener.h:
2400 * libspi/keystrokelistener.c:
2401 Began (no-op) implementations of KeystrokeListener
2403 * libspi/deviceeventcontroller.c:
2404 * libspi/deviceeventcontroller.h:
2405 Began creating implementations of DeviceEventController,
2406 to handle keystroke and mouse event listening and
2408 * libspi/accessible.c:
2409 Stubbed-in the implementations for
2410 Accessibility_Accessible_getState and
2411 Accessibility_Accessible_getRelationSet.
2412 * libspi/registry.c:
2413 Improved de-registration process and fixed some bugs,
2414 deregistration now works correctly.
2416 Added initialization of applications list (to NULL).
2418 Reduced speech compression from 0.5 to 0.7, for demo.
2419 Changed call to gdk_window_set_decorations()
2420 to gtk_window_set_decorated().
2421 * at-bridge/bridge.c:
2422 Bridge now deregisters when app exits, via
2423 registration of a cleanup function
2424 with the g_atexit() call.
2425 Required making 'app' static, renamed 'this_app'.
2426 Fixed broken use of bonobo_init, passing argv wrongly.
2428 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
2432 Created a new directory for
2433 accessibility-related utilities, primarily for
2434 testing and demo purposes, but with possible
2441 Onscreen magnifier utility that
2442 is implemented as a bonobo service.
2444 * util/mag_client.c:
2445 * util/mag_client.h:
2446 Client-side support (simple C bindings)
2447 for Magnification service
2449 * util/mag_control.c:
2450 Client program example for
2451 Magnification service
2453 * util/Accessibility_Magnifier.server.in:
2454 Bonobo-activation file for the
2455 Magnification service.
2458 * util/idl/Magnifier.idl:
2459 IDL defining the bonobo Magnification
2463 Modifications to use the bonobo-activated magnifier
2464 above, in place of trying to connect to an existing
2465 magnifier that uses socket-listening IPC.
2467 If env variable MAGNIFIER is set, a magnifier service
2468 will be started if one does not exist.
2470 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
2471 * at-bridge/bridge.c:
2472 applied patch from Marc to build and run
2473 against new glib and gtk+ (seemed like a change
2474 to bonobo_init signature was made ?)
2476 made festival-server support turned off by default.
2477 Added support for a simple magnifier (off by default)
2478 which will be added to a 'util' directory later.
2479 * at-bridge/Makefile.am:
2480 Changed "application.h" header from a 'source'
2481 to a 'dependency' of libat-bridge.
2483 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2491 Added interface implementation c files to list of
2492 includes so they are included in libcspi.
2495 Changed prototype of AccessibleAction_doAction to return a
2497 Changed prototype of AccessibleTable_getCaption to
2498 return an Accessible.
2499 Changed prototype of AccessibleTable_getSelectedRows
2500 and AccessibleTable_getSelectedColumns to
2501 return a long (returns the number of selected rows
2502 or columns respectively).
2503 Changed name of AccessibleText_refRunAttributes to
2504 AccessibleText_getAttributes.
2505 Changed prototype of AccessibleText_getCharacterExtents to
2506 return a void rather than a boolean.
2507 Added support for a AccessibleCoordType parameter
2508 specifying what type of coordinates are desired.
2509 Added an AccessibleCordType parameter to
2510 AccessibleText_getPointAtOffset.
2512 * cspi/spi_accessible.c:
2513 Added code to return the outstanding interfaces from
2514 Accessible_queryInterface.
2516 * cspi/spi_action.c:
2518 Corrected call to getNActions to call the c binding
2521 * cspi/spi_editabletext.c:
2523 Changed name from setRunAttributes to setAttributes.
2525 * cspi/spi_hyperlink.c:
2527 Changed call to getNAnchors to correctly call the c
2528 binding for an attribute.
2530 * cspi/spi_hypertext.c:
2532 Changed getImageDescription to correctly call the
2533 binding for an attribute.
2535 * cspi/spi_selection.c:
2536 Changed getNSelectedChildren to correctly call the c
2537 binding for the attribute.
2538 Changed refSelectedChild to getSelectedChild.
2542 Changed getCaption to return an Accessible.
2543 Fixed calls which retrieve attributes.
2544 Changed refAt to getAccessibleAt.
2545 Changed getNSelectedRows and getNSelectedColumns to
2549 Changed getCharacterExtents and getPointAtOffset to accept an
2550 AccessibleCoordType.
2552 Changed calls which retrieve attributes.
2553 Changed refRunAttributes to getAttributes.
2558 * idl/Hyperlink.idl:
2559 Changed n_anchors attribute to nAnchors to keep naming
2560 convention consistent.
2563 Made Table inherit from Bonobo::Unknown.
2564 Added nSelectedColumns and nSelectedRows attributes.
2567 Made Value inherit from Bonobo::Unknown.
2569 * libspi/hyperlink.c:
2570 Change for nAnchors attributte name change.
2572 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2580 Added interface implementation c files to list of
2581 includes so they are included in libcspi.
2584 Changed prototype of AccessibleAction_doAction to return a
2586 Changed prototype of AccessibleTable_getCaption to
2587 return an Accessible.
2588 Changed prototype of AccessibleTable_getSelectedRows
2589 and AccessibleTable_getSelectedColumns to
2590 return a long (returns the number of selected rows
2591 or columns respectively).
2592 Changed name of AccessibleText_refRunAttributes to
2593 AccessibleText_getAttributes.
2594 Changed prototype of AccessibleText_getCharacterExtents to
2595 return a void rather than a boolean.
2596 Added support for a AccessibleCoordType parameter
2597 specifying what type of coordinates are desired.
2598 Added an AccessibleCordType parameter to
2599 AccessibleText_getPointAtOffset.
2601 * cspi/spi_accessible.c:
2602 Added code to return the outstanding interfaces from
2603 Accessible_queryInterface.
2605 * cspi/spi_action.c:
2607 Corrected call to getNActions to call the c binding
2610 * cspi/spi_editabletext.c:
2612 Changed name from setRunAttributes to setAttributes.
2614 * cspi/spi_hyperlink.c:
2616 Changed call to getNAnchors to correctly call the c
2617 binding for an attribute.
2619 * cspi/spi_hypertext.c:
2621 Changed getImageDescription to correctly call the
2622 binding for an attribute.
2624 * cspi/spi_selection.c:
2625 Changed getNSelectedChildren to correctly call the c
2626 binding for the attribute.
2627 Changed refSelectedChild to getSelectedChild.
2631 Changed getCaption to return an Accessible.
2632 Fixed calls which retrieve attributes.
2633 Changed refAt to getAccessibleAt.
2634 Changed getNSelectedRows and getNSelectedColumns to
2638 Changed getCharacterExtents and getPointAtOffset to accept an
2639 AccessibleCoordType.
2641 Changed calls which retrieve attributes.
2642 Changed refRunAttributes to getAttributes.
2647 * idl/Hyperlink.idl:
2648 Changed n_anchors attribute to nAnchors to keep naming
2649 convention consistent.
2652 Made Table inherit from Bonobo::Unknown.
2653 Added nSelectedColumns and nSelectedRows attributes.
2656 Made Value inherit from Bonobo::Unknown.
2658 * libspi/hyperlink.c:
2659 Change for nAnchors attributte name change.
2662 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
2664 implementations-- made server implementations own AtkObject pointers
2665 rather than their respective AtkInterrface pointers to fix
2666 refcounting. AtkHyperlink is still broken.
2668 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
2669 * cspi/spi_accessible.c:
2670 Added method Accessible_Role_getName(),
2671 and requisite string array (role_names).
2672 Added conversion string_from_corba_strin() call
2673 to Accessible_getName and _getDescription.
2674 * libspi/accessible.c:
2675 Added implementation for Accessible_getRole()
2677 Added festival support, used if environment variable
2680 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2682 * at-bridge/bridge.c:
2683 Now allocate Accessibility_Event using
2684 Accessibility_Event__alloc() instead of g_new0().
2685 * libspi/accessibleeventlistener.c:
2686 Initialize AccessibleEventListener->callbacks to NULL.
2687 Fixed accessible__event_listener_init() param, changed to
2688 "AccessibleEventListener *" type.
2689 Changed a bonobo_object_release_unref() call to
2690 Accessibility_Accessible_unref().
2691 * libspi/listener.c:
2692 Changed Bonobo_Unknown_unref to (equivalent)
2693 Accessibility_Accessible_unref.
2694 * libspi/registry.c:
2695 Changed bonobo_object_release_unref to
2696 Accessibility_Accessible_unref.
2698 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2701 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
2702 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
2703 spi-util.c spi-util.h
2704 Implementations for C bindings to remaining accessibility
2707 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2710 changed return value of Action from void to boolean to
2711 bring in line with ATK.
2714 Changed getText funcions to return "out" start and end offsets.
2715 Changed getAttributes to take and offset and return the start
2716 and end offset of the attribute run.
2717 Changed getOffsetAtPoint and getCharacterExtents to take an
2718 enum describing whether coordinates are window or screen.
2721 libspi/action.c libspi/action.h libspi/editabletext.c
2722 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
2723 libspi/hypertext.c libspi/hypertext.h libspi/image.c
2724 libspi/image.h libspi/selection.c libspi/selection.h
2725 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
2726 libspi/value.c libspi/value.h
2727 Added server implementations for outstanding ATK interfaces
2728 not yet implemented.
2730 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2733 Added (missing) getName() method.
2734 Made nActions an attribute.
2735 * idl/EditableText.idl:
2736 Changed order of params in setAttributes.
2737 * idl/Hyperlink.idl:
2738 Removed getAnchor, added getURI.
2740 Changed attributes to methods, for efficiency
2741 (so that getting extents can be done in one call)
2742 * idl/Selection.idl:
2743 Changed nSelectedChildren to attribute, and re-indented.
2744 * idl/Table.idl: changed nrows, ncolumns, caption, summary
2746 * idl/Text.idl: reformatted to match our coding style.
2747 (temporarily?) removed getRowColumnAtOffset().
2748 Changed text selection API to support multi-select and
2749 non-contiguous selections, as in ATK.
2750 * idl/Value.idl: changed some methods to attributes.
2752 2001-08-24 Mark McLoughlin <mark@skynet.ie>
2754 * libspi/listener.c(impl_notify_event):
2755 BonoboUnkown_unref the source instead
2756 of bonobo_object_release_unref - the ORB
2757 handles the releasing.
2759 * configure.in: require ORBit-2.3.94 for
2762 2001-08-21 Bill Haneman <bill.haneman@sun.com>
2764 Tagged CVS repository 'EA_1_0'.
2765 * README.EARLY_ACCESS:
2766 Alphabetized acknowledgements list, and
2768 Listed some known dependencies of at-spi.
2770 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2772 * docs/at-spi-docs.sgml:
2773 * docs/at-spi-sections.txt:
2774 * docs/at-spi-overrides.txt: (Added zero-length file)
2775 Documentation improvements - gtk-doc should build
2776 docs for all implemented C bindings now.
2779 * cspi/spi.c: (New file)
2780 * cspi/spi_event.c: (New file)
2781 * cspi/spi_registry.c: (New file)
2782 * cspi/spi_accessible.c: (New file)
2783 * cspi/spi_application.c: (New file)
2784 * cspi/spi_component.c: (New file)
2785 Split spi_main.c into six parts, and included them from
2786 "spi.c". This is a bit of a hack, probably temporary,
2787 but required by gtk-doc, apparently.
2789 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2792 * docs/at-spi-docs.sgml:
2793 * docs/at-spi-sections.txt:
2795 Initial checkins/modifications for gtk-doc generation.
2798 Added (missing) interface query methods to Accessible's C binding.
2800 Added GenericInterface type definition.
2802 Added query for AccessibleComponent interface to focus event handler.
2803 Added printout of bounding box for focussed component.
2804 * libspi/component.c:
2805 Added partial implementation for AccessibleComponent to C binding.
2806 * idl/Application.idl:
2807 * libspi/registry.c:
2808 * libspi/listener.c:
2809 * libspi/application.c:
2810 * libspi/application.h:
2811 Changed "ID" attribute type from string to long.
2813 2001-08-19 Bill Haneman <bill.haneman@sun.com>
2817 Made method naming consistent: methods taking object args
2818 start with uppercase, other methods (except those using
2819 acronyms) start with lowercase. Underscores delimit between
2820 object names and method names:
2821 SPI_init() - uppercase since it starts with an acronym.
2822 getDesktopCount () - lowercase start since no object param0.
2823 Accessible_getName() - uppercase object type name, studlyCaps method
2827 Added gtk-doc documentation for all currently implemented
2828 methods in the C bindings API.
2830 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2832 * Makefile.am : changed build order to build test last.
2835 Changed "createEventListener" to "CreateEventListener".
2836 * libspi/accessibleeventlistener.c :
2837 Bugfix for addition of callbacks.
2838 * test/Makefile.am :
2839 * test/simple-at.c :
2840 Added new test that uses the C bindings API.
2842 * libspi/listener.c :
2843 * libspi/registry.c :
2844 * libspi/accessibleeventlistener.c :
2845 * at-bridge/bridge.c :
2846 Renamed member "target" of Accessibility_Event to "source",
2847 which is more descriptive.
2850 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2854 * cspi/Makefile.am :
2855 Added makefile support for at-spi/cspi directory.
2858 * cspi/spi-listener.h : (NEW FILE)
2859 Added support for/use of spi-listener.h.
2861 C bindings now build successfully, with no warnings.
2862 * libspi/accessibleeventlistener.h : (NEW FILE)
2863 * libspi/accessibleeventlistener.c : (NEW FILE)
2864 * libspi/Makefile.am :
2865 Added new object type "AccessibleEventListener"
2866 which inherits from Listener, and allows attachment
2867 of in-process callbacks (so that a client with a listening
2868 object instance can add functionality to the local
2869 implementation, dynamically).
2871 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2873 * libspi/accessible.c:
2874 Add implementation for get_index_in_parent().
2876 Added #include of "spi-roletypes.h", and
2877 added enumerated type AccessibleCoordType.
2878 Added definition for KeystrokeListener (function type).
2881 * cspi/spi-statetypes.h :
2882 * cspi/spi-roletypes.h :
2884 Added these headers, used by spi.h.
2886 Added code (NOTE: not yet built by make).
2888 2001-08-18 Mark McLoughlin <mark@skynet.ie>
2890 * libspi/Makefile.am: generate imodule
2891 at the same time as other idl compiler
2894 2001-08-17 Bill Haneman <bill.haneman@sun.com>
2895 * libspi/registry.c :
2896 * libspi/application.c :
2897 * idl/Application.idl :
2898 Made registration with toolkit an application method,
2899 which is required since each app has its own toolkit static
2900 environment. Thus the bridge must register for
2901 notification of toolkit events from each application in turn.
2902 Toolkit notifications are now successfully registered for, and
2903 sent to the listening at client.
2905 Changed toolkit event string to use hyphens rather than underscores.
2906 * libspi/listener.c :
2907 listner now gives more info in debug mode - it reports the
2908 name of the event received, as well as the name of the source.
2911 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2913 * libspi/registry.c :
2914 added more implementation for toolkit events.
2915 Fixed bug such that toolkit event registrations
2916 (via atk) use the whole event name string, not
2918 Removed a useless call to an ORBit_ method.
2919 * at-bridge/bridge.c :
2920 Removed unused local sbuf[] variable.
2922 We now register for Gtk:GtkWidget:button_press_event
2923 events as well as "focus:" events.
2925 Add some more API from Registry.idl that was missing,
2926 for keystroke listening, keystroke and mouse event
2927 synthesis, and enumeration of accessible desktops.
2929 2001-08-16 Michael Meeks <michael@ximian.com>
2931 * configure.in: use AM_GLIB_GNU_GETTEXT.
2933 * Makefile.am (SUBDIRS): kill intl.
2935 2001-08-15 Michael Meeks <michael@ximian.com>
2937 * registryd/Makefile.am: s/oaf/server/ relocate info file.
2939 * configure.in: upd.
2941 * configure.in: depend on a recent bonobo-activation that
2942 will find our server files ...
2944 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2946 * libspi/accessible.c : accessible_new() :
2947 Now we add the Component interface via bonobo_object_add_interface,
2948 if the contained AtkObject implements AtkComponent.
2949 * libspi/accessible.h : now include "component.h"
2950 * libspi/component.h :
2951 * libspi/component.c : added files - implementation of
2952 bonobo wrapper object for Accessibility/Component
2953 * libspi/listener.c :
2954 Added test code to check for Accessibility/Component:1.0
2955 interface and report whether it is implemented by the
2957 * libspi/registry.c :
2958 Now we check for not only the hash of the whole event
2959 string before relaying the event, we also check the
2960 "minor" event string (without the detail string).
2961 This allows event listeners to be registered against
2962 all events of a certain major+minor type, or just
2963 against a specific major+minor+detail type.
2964 * libspi/accessible.c :
2965 Added implementations for Accessible:get_parent(),
2966 Accessible:getChildCount(), and Accessible:getChildAtIndex().
2967 * libspi/registry.c :
2968 * libspi/listener.c :
2969 Replaced calls to Accessibility_Accessible_ref() and
2970 Accessibility_Accessible_unref() with
2971 calls to bonobo_object_dup_ref() and
2972 bonobo_object_release_unref(), so that the CORBA object
2973 is dup-ed and released when relayed, as well as the bonobo object.
2975 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2977 * libspi/Makefile.am,
2978 registryd/Makefile.am,
2979 at-bridge/Makefile.am.
2980 test/Makefile.am, configure.in:
2981 reverse previous changes.
2983 * /idl/Image.idl: fix typo.
2985 * test/Makefile.am: put DEBUG_FLAGS
2988 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2990 * test/app.c: use argv[0] instead of
2993 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2995 * libspi/Makefile.am,
2996 registryd/Makefile.am,
2997 at-bridge/Makefile.am.
2998 test/Makefile.am, configure.in:
2999 cleanup, replace individual LIBS/CFLAGS with
3000 AT_COMMON_{LIBS|CFLAGS}.
3004 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3006 * configure.in, libspi/Makefile.am:
3007 Change IDL path checking for bonobo-activation
3010 2001-08-15 Bill Haneman <bill.haneman@sun.com>
3012 * registryd/registry.c : separated event listeners to use
3013 3 separate lists (focus, window, toolkit). Began testing
3014 event names against hashes before relaying events.
3015 * test/at.c : now register for events of type "focus:"
3016 * test/app.c : now generate events of type "focus:"
3017 * at-bridge/bridge.c : register with ATK for focus events,
3018 and we now relay those focus events to any "focus:" listeners.
3019 This now works with the bridge as a GTK_MODULE when running test/at.
3020 * libspi/registry.c :
3021 * libspi/listener.c :
3022 now we ref event sources before propagating, and unref on receipt.
3023 * libspi/registry.c :
3024 some changes to internal structs, to support event typestring hashes.
3025 * text/app.c : changed the way the appname is generated.
3026 * cspi : added directory that will hold the C bindings library for
3027 non-CORBA/bonobo-savvy clients.
3028 * cspi/spi.h : header file that contains the function prototypes for the C binding.
3029 * idl/Component.idl : added in parameter to indicate coord system for
3030 geometry-related calls.
3031 * idl/Hyperlink.idl : added readonly n_links attribute
3032 * idl/Image.idl : changed methods to attributes.
3034 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3036 * at-bridge/Makefile.am: link against
3037 ../libspi/libspi.la instead of -lspi.
3039 * at-spi/test/app.c: include
3040 bonobo-activation.h. Use a default appname
3041 if one is not provided.
3043 2001-08-14 Bill Haneman <bill.haneman@sun.com>
3045 * idl/Registry.idl : temporarily changed register_Application
3046 to oneway, to work around issue with initial registration
3048 * idl/Application.idl : changed attribute "id" from readonly
3049 to read-write, since it needs to be assigned by Registry.
3050 * registryd/registryd.c : added call to set application id
3052 * registryd/registry.c : changed de-registration procedure to
3053 use CORBA_Object_hash() to find matching object ref in application
3054 lists and listener lists.
3055 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
3056 began distinguishing between event types (work in progress).
3058 2001-08-13 Bill Haneman <bill.haneman@sun.com>
3061 * libspi/application.c:
3062 Added implementations for get/set id, get_toolkitName,
3064 * registryd/registryd.c :
3068 Converted from use of OAF to bonobo-activation.
3069 * libspi/desktop.h :
3070 * libspi/desktop.c :
3072 Removed references to atksimpleobject, since base atkobject
3073 implementation now provides functionality we need.
3074 * libspi/atksimpleobject.c :
3075 * libspi/atksimpleobject.h :
3080 * at-bridge/Makefile.am
3081 * at-bridge/bridge.c
3084 Added directory "bridge" and contents, and added dependencies
3085 in Makefile.am/configure.in.
3086 Initial checkin of "at-bridge".
3087 This code is a GTK_MODULE which automatically registers
3088 GTK+ apps with the accessibility registry, using an object
3089 reference to the root ATK object.
3091 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3093 * po/Makefile.in.in: Remove. Again. If this
3094 doesn't get autogenerated - you need to update
3097 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3099 * po/Makefile.in.in: Add. Again.
3101 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3103 * libspi/accessible.c : added support for 'description' property.
3104 * libspi/accessible.c
3106 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3107 (since the two are now equivalent in libbonobo)
3115 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3116 Bonobo::Unknown as does Accessibility::Accessible.
3117 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3118 interface with Bonobo::Stream, since it was redundant with it.
3119 (The Stream returned by a StreamableContext object is expected to
3120 implement only a subset of Bonobo::Stream)
3122 2001-07-28 Anders Carlsson <andersca@gnome.org>
3124 * libspi/accessible.c (accessible_object_finalize): Change
3125 g_free to g_object_unref since the AtkObject is a GObject.
3127 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3129 * idl/Accessibility.idl: add new IDL files
3132 * idl/Action.idl: Definitions of actionable UI object
3133 * idl/Component.idl: Definitions of UI component geometry, etc.
3134 * idl/Hyperlink.idl: Defs of hyperlink behavior
3135 * idl/Image.idl: Def of accessible image
3136 * idl/Selection.idl: Definition of UI object with selectable children
3137 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3138 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3139 * idl/Text.idl: Interface defs for UI elements with complex textual content
3140 * idl/Value.idl: Definition of UI element that is a value controller or display
3142 2001-07-27 Michael Meeks <michael@ximian.com>
3144 * po/Makefile.in.in: remove autogenerated file from CVS.
3146 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3149 * idl/Registry.idl: include guard.
3151 * idl/Accessibility.idl: Add, and include all the other IDL
3154 * idl/*.idl: remove mass of pragmas etc.
3156 2001-07-26 Michael Meeks <michael@ximian.com>
3158 * registryd/Makefile.am (registryd_SOURCES): remove
3161 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3163 * libspi/.cvsignore, registryd/.cvsignore,
3164 test/.cvsignore: updated.
3166 * po/Makefile.in.in: gettext update.
3168 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3170 * initial CVS checkin
3172 2001-06-29 Michael Meeks <michael@ximian.com>
3174 * configure.in: add AM_CONFIG_HEADER to gen config.h