1 2002-01-11 Michael Meeks <michael@ximian.com>
3 * cspi/spi_accessible.c (role_names): add a role name
4 to sync this array with the enum; and make the regression
7 2002-01-10 Michael Meeks <michael@ximian.com>
9 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
10 allow expansion of enumeration & kill warning.
12 * test/test-simple.c (key_listener_cb): impl.
13 (test_keylisteners): impl.
15 * cspi/spi-listener.h: make listener signatures const
16 on the provided (const) events.
18 * test/keysynth-demo.c: upd. to const events.
20 * test/simple-at.c: ditto.
22 2002-10-01 Bill Haneman <bill.haneman@sun.com>
25 Checked in a demo script, which requires editing before use!
29 Fixed typo in header which was redefining SPI_ACTION_CLASS.
31 * cspi/spi_accessible.c:
32 Add a couple of missing enum initializations, and fix some enum
35 * cspi/spi_registry.c:
36 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
38 * docs/reference/cspi/at-spi-cspi-sections.txt:
39 Remove/fix a couple of broken document references.
42 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
43 as Alt-Control to listen for commands, since on some systems
44 Control-Alt may already be grabbed.
46 2002-01-10 Bill Haneman <bill.haneman@sun.com>
49 Update version number to 0.4 for Beta2.
51 * libspi/accessible.c, libspi/accessible.h:
52 Expose spi_accessible_construct, to enable libgail-gnome
53 construction from spi_accessible subtype.
56 Workaround for bug in some non-gnome-compliant window managers
57 which made magnifier resize improperly.
59 2002-01-09 Bill Haneman <bill.haneman@sun.com>
61 * libspi/accessible.c: (spi_accessible_new) :
62 Move the test for SPI_IS_REMOTE_OBJECT to
63 spi_accessible_new_return, fixing a bug and compile time warning.
65 2002-01-08 Michael Meeks <michael@ximian.com>
67 * registryd/registry.c (parse_event_type): remove strndup.
69 * libspi/Makefile.am (libspi_la_SOURCES): remove
70 sources already included in the headers section.
74 * libspi/spi-private.h: add.
76 * registryd/registry.c: update to moved list iterators.
78 2002-01-05 Michael Meeks <michael@ximian.com>
80 * test/simple-at.c (main): upd. auto-module set to atk-bridge
82 * test/test-simple.c (main): ditto.
84 2002-01-04 Michael Meeks <michael@ximian.com>
86 * libspi/accessible.c (spi_accessible_new): remove 2nd,
89 * registryd/registry.c
90 (get_listener_list): impl.
91 (impl_accessibility_registry_register_global_event_listener):
92 re-impl. to simplify using ~, remove dodgy const cast off.
93 (parse_event_type): constify.
94 (impl_accessibility_registry_deregister_global_event_listener_all):
95 re-write, more efficiency and simplicity, kill re-enterancy
97 (compare_listener_corbaref, compare_corba_objects),
98 (compare_listener_quarks): define out.
99 (impl_accessibility_registry_deregister_global_event_listener):
100 re-write for effiency, and nail re-enterancy hazard.
101 (impl_accessibility_registry_get_desktop_list): impl.
102 (re_enterant_list_delete_link): impl.
103 (re_enterant_list_foreach): impl.
104 (remove_listener_cb): impl.
105 (_registry_notify_listeners): kill.
106 (notify_listeners_cb): impl.
108 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
109 (SPI_getDesktopList): impl.
111 * test/test-simple.c (test_desktop): test the methods.
113 2002-01-03 Michael Meeks <michael@ximian.com>
115 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
116 keystrings since we free them
117 (SPI_freeAccessibleKeySet): in here.
119 * libspi/accessible.c (spi_accessible_new): kill warning,
120 wonder what is going on with the constructor here.
122 2002-03-01 Bill Haneman <bill.haneman@sun.com>
124 * libspi/accessible.c (spi_accessible_new ()) :
125 Added check to see if AtkObject is an SpiRemoteObject before
126 creating an SpiAccessible.
128 2002-05-01 Bill Haneman <bill.haneman@sun.com>
130 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
131 Enable keygrabs using the Control modifier, now that they are
132 working properly (they were previously disabled).
135 Change the command keygrab for this demo to "Control+Alt", so as
136 to conflict with fewer other key commands on the system; this
137 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
139 Removed a pointlessly-chatty keylistener for unshifted keys
140 (shifted keys are still reported).
142 2002-02-01 Bill Haneman <bill.haneman@sun.com>
144 * libspi/remoteobject.h:
145 * libspi/remoteobject.c:
146 Added definitions for special AtkObject subtype, required for
147 support of remote components (specifically, used by BonoboControl
148 accessibility implementation).
150 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
152 * cspi/spi.h: synched relation types with ATK
154 * cspi/spi_accessible.c: Added implementations of
155 AcccessibleRelation_* methods
157 * idl/Accessibility_Relation.idl: added getRelationTypeName
158 method. Synched known relation types with ATK. Allowed for
159 relation type extension with the RELATION_EXTENDED type.
161 * libspi/relation.c: Provided implementations for
162 AccessibleRelation methods.
164 2002-01-01 Bill Haneman <bill.haneman@sun.com>
166 API tweaks for today's API 'freeze'.
169 Added placeholder functions to allow future compatible expansion
170 of the IDL interfaces.
172 * idl/Accessibility_Registry.idl:
173 Changed generateKeyEvent to generateKeyboardEvent. Changed
174 signature of this method to accept an optional keystring in
175 parameter (for complex text input synthesis) and changed use of
176 simple 'boolean' parameter in registerKeystrokeListener to a
177 struct, EventListenerMode.
179 * cspi/spi_accessible.c:
181 * cspi/spi_streamablecontent.c:
182 Added references to AccessibleStreamableContent interface, and
183 definition and implementation of AccessibleStreamableContent
186 * cspi/spi_registry.c:
188 Changed generateKeyEvent API to generateKeyboardEvent,
189 taking a new (optional) keystring parameter to support complex
194 Renamed directory (to better reflect its actual purpose, bridging
195 from at-spi to ATK). The .so module is also now named
198 * idl/Accessibility_Hypertext.idl:
199 * libspi/accessible.c:
200 * libspi/hypertext.h:
201 * libspi/hypertext.c:
202 Changed Accessibility_Hypertext to *not* derive from
205 * cspi/spi_registry.c:
206 Added list of legal event type names for 'window' events, which
207 completes the registry event API.
209 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
211 * at-bridge/bridge.c: Added registration for separate
212 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
213 signals. If either of the first two parameters to the generic
214 bridge signal handler are ints, they are passed on as event
215 details. This allows an AT to determine what text was inserted.
217 2001-12-21 Bill Haneman <bill.haneman@sun.com>
219 * registryd/deviceeventcontroller.c:
220 Fixed regressions in generateKeyEvent caused by the removal of
221 gdk_init from registryd; we now use pure X calls to connect to the
222 display, which makes sense because deviceeventcontroller already
223 uses a fair bit of X API (should eventually be migrated to a
224 'portability layer').
226 * registryd/desktop.c:
227 Fixed minor regression in spi_desktop_init, changed the way the
228 desktop name is being set to work with new spi_base API
229 (gobject-based, rather than AtkObject-based).
231 * registryd/Makefile.am:
232 Minor revision of makefile to use XTST_LIBS variable rather than
233 hard-wiring the Xtst LD_ADD element.
235 * test/keysynth-demo.c:
236 Tweaked an output message; added initialization of the
237 'keystrings' member of the "switch listener" key_set.
240 Squashed compile-time warning.
242 * libspi/accessible.c:
243 Cosmetic and formatting fixes, renamed a static method.
245 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
247 * libspi/accessible.c
249 * libspi/application.c
253 * libspi/editabletext.c
261 * registryd/desktop.c:
262 Changed SpiBase to contain a GObject pointer rather than an AtkObject
264 2001-12-17 Bill Haneman <bill.haneman@sun.com>
266 * idl/Accessibility_Registry.idl:
267 Added boolean member 'is_text' to DeviceEvent. This is for the
268 use of key events, and helps prevent ambiguity between composed
269 key strings and keysym names, since both may potentially be
270 returned in the 'event_string' member.
272 * at-bridge/bridge.c:
273 * registryd/deviceeventcontroller.c:
274 Use the 'is_text' member when notifying device event listeners.
275 Knon issue: composed characters are not dealt with correctly by
276 the global key listener implementation yet.
278 2001-12-17 Bill Haneman <bill.haneman@sun.com>
280 * at-bridge/bridge.c:
281 Namespaced local static methods to spi_atk_bridge_* where
282 previously named bridge_*, and spi_* elsewhere.
284 * at-bridge/bridge.c:
285 * cspi/bonobo/cspi-bonobo-listener.c:
286 Added demarshalling/conversion for string member of
287 Accessibility_DeviceEvent to AccessibleKeystroke.
289 * registryd/deviceeventcontroller.c:
290 Added code to fill the Accessibility_DeviceEvent key string value
291 member for global key events (i.e. from XGrabKey), to match
292 behavior of Accessibility_DeviceEvent from the toolkit key events
293 from the bridge. Fixed timestamp in global key event notifications.
296 Added printout of key event's string value to
297 report_ordinary_key_event, for demo/debugging purposes.
299 2001-12-15 Bill Haneman <bill.haneman@sun.com>
301 * idl/Accessibility_Registry.idl:
302 Removed Accessibility_KeyStroke structure in favor of generic
303 Accessibility_DeviceEvent structure.
304 Changed Accessibility_ControllerEventMask from a struct to an
307 * at-bridge/bridge.c:
308 Changed APIs to use DeviceEvent structure as above, and removed
309 bogus casting between these event structures.
311 * cspi/spi-listener.h:
312 Added keystring member of AccessibleKeystroke structure, to enable
313 matching on event "names" rather than only hardware codes and
317 Added keystrings member of AccessibleKeySet struct, to allow
318 matching on event names (as above).
319 Added declarations for SPI_createAccessibleKeySet and
320 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
321 event modmasks directly as unsigned ints rather than structs with
322 refcounts, in the DeviceEventController methods.
324 * cspi/spi_registry.c:
325 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
327 * cspi/spi-roletypes.h:
328 Added documentation of newly added SPI Roles.
330 * cspi/bonobo/cspi-bonobo-listener.c:
331 Changes in support of API changes above.
333 * libspi/accessible.c:
334 Converted APIs to use DeviceEvent structure (see IDL changes
337 * registryd/deviceeventcontroller.c:
338 Added DEControllerGrabMask structure to track keygrabs not only by
339 modmask but by keyset as well; this allows us to do "global"
340 (i.e. X) keygrabs on a per-key or keyset basis rather than always
341 grabbing on AnyKey and then filtering after-the-fact.
342 Bugfixes for event filtration mean that we don't get false matches
343 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
345 * registryd/deviceeventcontroller.c:
346 Namespaced a number of static methods to use spi_ prefix. Major
347 revision to internals of global (i.e. X) key grabs.
349 * registryd/deviceeventcontroller.h:
350 Removed keymask_list and added keygrabs_list to
351 SpiDeviceEventController struct.
354 Added use of SPI_createAccessibleKeySet API when creating a
355 listener for only one key. Attach a listener to "shift spacebar
356 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
357 X key event names to SPI key event names, so that listeners are
358 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
360 * test/keysynth-demo.c:
361 Changed (incorrect) use of X key event names (KeyPressed,
362 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
365 2001-12-12 Bill Haneman <bill.haneman@sun.com>
367 * libspi/accessible.c:
368 Convert all AtkRole enumerations to Accessibility_Role enums when
369 getting a role from an AtkObject.
371 * cspi/spi_accessible.c:
372 Complete the conversion of Accessibility_Role enums at runtime to
373 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
374 role enums correctly match those given in spi-roletypes.h.
375 Re-synchronize the local names list for AccessibleRole_getName ().
376 AccessibleRole_getName is now deprecated, since it duplicates the
377 more reliable Accessible_getRoleName.
378 Added some role types from Accessibility_Role.idl.
380 * idl/Accessibility_Role.idl:
381 Added some role types used by AtkRole.
383 2001-12-12 Bill Haneman <bill.haneman@sun.com>
386 * cspi/spi_registry.c:
388 * cspi/cspi-bonobo-listener.c:
389 Namespaced all methods that did not begin with an "SPI_" or
390 "Accessible" prefix to "SPI_".
393 Homogenized internal function namespace to "cspi_" for statics.
396 Patched tests to use the new CSPI API.
398 * docs/reference/cspi/at-spi-cspi-sections.txt:
399 Updated docs to reflect namespace changes, and added a number of
400 methods to the documentation.
402 * registryd/registry.c:
403 Changed use of strings and string hashes in listener event
404 matching and parse_event_string to use GQuark, which is guaranteed
407 * registryd/registry.h:
408 Squashed annoying warning.
410 * idl/Accessibility_Role.idl:
411 Extended range of available Accessibility_Role values.
413 * cspi/spi_accessible.c:
414 Re-ordered role names.
416 2001-12-12 Bill Haneman <bill.haneman@sun.com>
418 * idl/Accessibility_Value.idl:
419 Revert use of union back to CORBA_double, since the double type is
420 more efficient and can contain the other types without loss of
423 * idl/Accessibility_Accessible.idl:
424 Added method Accessibility:Accessible:getRoleName, to complement
425 Accessibility:Accessible:getRole.
427 * cspi/spi_accessible.c:
429 Added C binding for above, Accessible_getRoleName (), and changed
430 signature of Accessible_getRole () to return an AccessibleRole.
432 * cspi/spi-roletypes.h:
433 Changed AccessibleRole_getName to return a char * instead of a
434 const char *. This method is now at least temporarily deprecated
435 in favor of asking Accessibles for their RoleNames directly.
438 Revert to match Accessibility_Value.idl;
442 Change signature of AccessibleValue methods to use double rather
446 * cspi/spi_accessible.c:
447 Changed Accessible_getRole to return an AccessibleRole enum rather
448 than a UTF-8 string. The UTF-8 string can still be obtained via
449 AccessibleRole_getName ().
451 * test/test-simple.c:
452 Add test_action. Small fixup to match API change to Accessible_getRole.
455 Bugfix for get_action_from_servant ().
457 2001-12-11 Michael Meeks <michael@ximian.com>
459 * libspi/libspi.h: remove registry.h and
460 desktop.h, deviceeventcontroller.h
462 * libspi/Makefile.am: remove registry.[ch],
463 desktop.[ch], deviceeventcontroller.[ch]
465 * registryd/Makefile.am: add registry.[ch],
466 desktop.[ch], rename registryd.c to registry-main.c.
467 add deviceeventcontroller.[ch]
469 2001-12-11 Bill Haneman <bill.haneman@sun.com>
472 Replace setenv() call with putenv ().
474 * libspi/component.c:
475 Bugfix in AccessibleComponent_getExtents (),
478 2001-12-11 Michael Meeks <michael@ximian.com>
480 * libspi/image.c (impl_getImageExtents): impl.
481 (spi_image_class_init): upd.
484 (AccessibleImage_getImageDescription): fix daft bug
487 * test/test-simple.c (global_listener_cb): update
488 to only quit if not --poke
489 (main): catch --poke.
490 (validate_accessible): upd. dumping, call test_image
493 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
496 * idl/Accessibility.idl: update all IDL includes.
498 * idl/*.idl - rename to namespace - this sucks, blame
499 mjs' bad decision for oafd.
501 * test/test-simple.c (create_test_window): add more tests.
502 (create_tree): split this out.
503 (validate_accessible): bugfix.
505 2001-12-11 Michael Meeks <michael@ximian.com>
507 * cspi/bonobo/cspi-bonobo-listener.c:
508 (cspi_kestroke_listener_unref),
509 (cspi_event_listener_unref): impl. undoing previous
510 homenous environment - for Bill.
512 * cspi/spi_table.c (long_seq_to_array): use
515 * cspi/spi_main.c: split out all bonoboish bits into
518 * cspi/spi-impl.h: upd. typedefs.
520 * cspi/spi_registry.c: update to lowlevel API,
521 return booleans to indicate success in some places.
523 * cspi/spi_event.c: update to lowlevel API.
525 * cspi/bonobo/Makefile.am: add.
527 * cspi/bonobo/cspi-lowlevel.h: add
529 * cspi/bonobo/cspi-bonobo.c: add
531 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
533 * cspi/Makefile.am: remove spi-listener-impl.[ch],
534 (SUBDIRS): add bonobo, link in the libs.
536 * cspi/spi-util.c: kill this file.
538 * TODO: merge in my bits.
540 2001-12-11 Michael Meeks <michael@ximian.com>
542 * test/test-simple.c (test_value, test_table, main):
543 remove unused variables causing warnings.
545 * configure.in: cleanup checks - require gail.
547 2001-12-11 Bill Haneman <bill.haneman@sun.com>
550 Changed Value interface to use SValue (scalars) rather than
551 assuming all values are floats. This allows floats, doubles,
552 longs, shorts, and unsigned values to be manipulated.
553 Introduced Accessibility:SValue union.
556 Updated to use new API above, and to work correctly with GValues
557 of different types in AtkValue.
560 Updated to use new API above. cspi's API is as yet unchanged.
563 Updated the Value revision action item.
565 2001-12-10 Bill Haneman <bill.haneman@sun.com>
567 * test/test-simple.c:
568 Added test_table (GtkTreeView widget in test window to follow).
569 Un-commented test_value, added GtkRange widget.
570 Added GtkTreeView widget with GtkListStore. It passes regression
571 test but leaks one SPI object for some reason.
574 Fixed bug in impl__set_currentValue.
576 2001-12-10 Michael Meeks <michael@ximian.com>
578 * cspi/spi_text.c: audit for exception handling,
579 tolerating NULL object references safely etc.
581 * cspi/spi_value.c: ditto.
583 * cspi/spi_table.c (AccessibleTable_getSummary),
584 (AccessibleTable_getAccessibleAt),
585 (AccessibleTable_getRowHeader),
586 (AccessibleTable_getColumnHeader),
587 (AccessibleTable_getCaption): fix bugs hidden by
589 (long_seq_to_array): impl.
590 (AccessibleTable_getSelectedRows),
591 (AccessibleTable_getSelectedColumns): use it.
593 2001-12-10 Bill Haneman <bill.haneman@sun.com>
596 Added a TODO list (rough and short for now).
598 * cspi/spi_hyperlink.c:
599 * cspi/spi_hypertext.c:
600 Fixed macro name typos, and remove use of obsolete macro in
601 AccessibleHyperlink_getLink.
604 * cspi/spi_accessible.c:
605 * cspi/spi_application.c:
606 * cspi/spi_component.c:
607 * cspi/spi_selection.c:
610 Documentation fixes (removed return values from ref/unref methods).
612 2001-12-10 Michael Meeks <michael@ximian.com>
614 * cspi/spi_action.c: audit for exception handling,
615 tolerating NULL object references safely etc.
617 * cspi/spi_accessible.c: ditto.
619 * cspi/spi_component.c: ditto.
621 * cspi/spi_editabletext.c: ditto.
623 * cspi/spi_hyperlink.c: ditto.
625 * cspi/spi_hypertext.c: ditto.
627 * cspi/spi_image.c: ditto.
629 * cspi/spi_selection.c: ditto.
631 2001-12-10 Michael Meeks <michael@ximian.com>
633 * configure.in: use cspi/libspi.pc.in instead.
635 * Makefile.am (pkgconfig_DATA): upd. to match.
637 * test/simple-at.c (report_focus_event): kill hacks around
638 bad return values, use putenv not setenv
640 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
641 fire ChildGone - I killed it.
644 (impl_accessibility_component_get_extents): remove
647 * idl/Accessible.idl: kill ChildGone exception.
649 * cspi/*.[ch]: kill int return from ref / unref.
651 * cspi/spi_main.c (cspi_object_add_check): fold into
652 (cspi_object_add): here.
654 * cspi/spi_component.c (AccessibleComponent_getExtents):
655 handle exceptions elegantly.
657 * cspi/spi-private.h (cspi_check_ev_return),
658 (cspi_return_if_fail): impl.
660 * cspi/spi_accessible.c: use extensively.
661 (AccessibleStateSet_equals): add direct compare check.
663 * cspi/spi_selection.c: tolerate NULL objs, and check
664 exceptions before return.
666 * cspi/spi-util.c (cspi_warn_ev): rename to
667 (cspi_check_ev): this & don't pass ev in; no point.
669 2001-12-10 Michael Meeks <michael@ximian.com>
671 * test/test-simple.c: use putenv not setenv
672 (get_environment_vars): more chatty if you're not using
675 * test/simple-at.c: do the setenv so more people see the
678 2001-12-10 Bill Haneman <bill.haneman@sun.com>
681 Changed check of CORBA_environment on notification to be a warning
682 instead of an error for the moment, since we can recover from this
683 error when caused by a queued notification from a dead app.
686 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
687 used by all current implementors of AtkValue), and coerce to
688 CORBA_float. (Proper general case fix may require change to Value.idl).
690 2001-12-09 Bill Haneman <bill.haneman@sun.com>
694 * cspi/spi_accessible.c:
695 Documentation fixes: added user_data params to documentation for
696 listeners and callbacks.
698 * cspi/spi_accessible.c:
699 Changed AccessibleStateSet_compare to return a
700 StateSet rather than return the difference set into a third parameter.
703 2001-12-09 Bill Haneman <bill.haneman@sun.com>
706 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
707 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
711 Remove subdirectory po from SUBDIRS for now.
713 * at-bridge/bridge.c:
714 Beefed up a couple of debug printouts.
715 One-line fix for signal notification name formatting.
717 * libspi/accessible.c:
718 Added assertion to spi_accessible_new ().
720 * libspi/application.c:
721 Put #ifdef qualifiers around a printf.
724 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
726 * registryd/Makefile.am:
728 Replaces use of XML_I18N_MERGE_SERVER_RULE with
729 INTLTOOL_SERVER_RULE macro.
732 Added an event listener for several ATK signals, for
733 testing and debugging. Removed a few g_warnings.
734 Added test output if focussed item implements the Value interface.
736 * test/test-simple.c:
737 Added test_value () function (known not to pass at the moment, so
738 not actually called yet.
740 2001-12-08 Michael Meeks <michael@ximian.com>
742 * at-bridge/bridge.c (bridge_focus_tracker),
743 (emit_eventv): fix the same ref. leak.
744 (register_atk_event_listeners): don't leak.
746 * cspi/spi-listener-impl.c (cspi_event): more
747 protection from client code.
749 * test/test-simple.c (test_desktop): unref the app.
751 * test/Makefile.am: upd. TESTS.
753 * at-bridge/bridge.c (bridge_exit_func): release the registry.
755 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
757 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
759 * cspi/spi_registry.c: constify in strings.
760 (deregisterGlobalEventListenerAll): don't release the ref.
762 * cspi/spi.h: start removing redundant / conflicting
763 gtkdoc comments, making the API readable at a glance :-)
765 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
767 * test/keysynth-demo.c (keysynth_exit, main): upd.
769 * test/simple-at.c (main, simple_at_exit): upd.
771 * test/test-simple.c (unutterable_horror): kill.
772 (utterable_normal_derefs): kill.
773 (main): upd & do a setenv before gtk_init, so that we
774 can use memprof - and to save the pain of remembering
775 this, if we're running under memprof - don't exit.
777 * cspi/spi_main.c (SPI_exit): return exit status
779 (SPI_event_quit): impl.
780 (SPI_event_main): simplify.
781 (cspi_is_gnome_app): kill.
782 (SPI_init): kill isGNOMEapp arg.
784 * at-bridge/bridge.c (register_atk_event_listeners):
785 re-instate the unref.
786 (bridge_exit_func): don't re-activate the registry,
787 protect vs. theoretical re-entry, use the
788 AT_BRIDGE_SHUTDOWN env. var to determine whether to
789 assert a clean shutdown - for regression tests.
791 2001-12-08 Abel Cheung <maddog@linux.org.hk>
793 * configure.in: Comment out dummy i18n support for now,
794 otherwise it fails to build.
795 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
796 EXTRA_DIST. They are missing in tarball.
798 2001-12-07 Michael Meeks <michael@ximian.com>
800 * util/magnifier.c: kill bonobo activation reg. race.
803 (impl_accessibility_component_get_extents): make it match
806 * libspi/registry.c (_registry_notify_listeners):
807 re-remove X headers & reconcile conflicts.
808 (spi_listener_struct_free): bad conflict resolve.
809 (impl_accessibility_registry_register_application):
810 more bad merging fixed.
811 (impl_accessibility_registry_deregister_application): ditto.
812 (spi_registry_new): ditto.
813 (spi_registry_init): don't have an applications field.
815 [ merge fixups2 branch to here ]
816 2001-12-07 Michael Meeks <michael@ximian.com>
818 * test/simple-at.c (report_focus_event),
819 (report_focussed_accessible): remove g_warning debug.
821 2001-12-07 Michael Meeks <michael@ximian.com>
823 * test/test-simple.c (validate_tree): comment out some checks.
824 (test_desktop): app now not registered idly - horay.
826 2001-12-07 Michael Meeks <michael@ximian.com>
828 * cspi/spi_registry.c
829 (registerAccessibleKeystrokeListener): clean, stop it leaking
830 great swathes of memory, and device event controller references.
831 ensure we always pass valid sequences.
832 (deregisterAccessibleKeystrokeListener): ditto.
833 (generateKeyEvent): upd.
835 * at-bridge/bridge.c (bridge_key_listener): handle
836 registry dead exception gracefully.
837 (bridge_focus_tracker, emit_eventv): free ev.
839 * test/simple-at.c (report_focus_event): fix polarity.
841 * libspi/application.c (notify_listeners): kill the ev
842 argument, and make sure we init the ev we use.
843 (spi_application_object_event_listener): split out a chunk
844 (get_atk_object_ref): here & fixup.
845 (reverse_lookup_name_for_toolkit_event): make const.
846 (spi_application_toolkit_event_listener): fixup, kill leaks
849 * at-bridge/bridge.c (register_atk_event_listeners):
850 don't unref the noop object - causes grief.
852 * libspi/registry.c: remove the X headers.
853 turn off the debug churn.
855 * libspi/accessible.c (spi_accessible_new_return): only
856 release the ref if we are supposed to [doh]
858 * test/simple-at.c (report_button_press, report_focus_event):
859 guard vs. unexpected exit.
861 * at-bridge/bridge.c (gtk_module_init): prune printf.
862 (bridge_exit_func): fix app unref.
864 * libspi/Makefile.am: don't install registry or desktop.h
866 * libspi/*.h: update includes.
868 * libspi/application.h: don't include ourself, or
869 other redundant headers.
871 2001-12-06 Michael Meeks <michael@ximian.com>
873 * libspi/accessible.c
874 (get_accessible_from_servant): impl.
875 Upd. all CORBA impl.s to use it killing cut and paste.
877 * cspi/spi_main.c (cspi_cleanup): guard vs. double
879 (SPI_init): register atexit cleanup handler here.
881 2001-12-06 Michael Meeks <michael@ximian.com>
883 * at-bridge/bridge.c (gtk_module_init): g_error on
886 2001-12-06 Michael Meeks <michael@ximian.com>
888 * at-bridge/bridge.c (gtk_module_init): some sort of
889 confusing merge clash - reverted.
890 (bridge_idle_init): ditto.
892 * test/test-simple.c (main, utterable_normal_derefs):
893 merge from Bill - somehow not committed.
895 2001-12-06 Michael Meeks <michael@ximian.com>
897 * libspi/value.c (spi_value_class_init): upd.
898 (spi_value_finalize): kill.
900 * libspi/table.c (spi_table_finalize): kill.
901 (spi_table_interface_new): upd.
902 (spi_table_class_init): upd.
903 (get_table_from_servant): impl.
904 Upd. all CORBA impl.s to use it killing yet more cut and paste.
906 * libspi/selection.c (spi_selection_finalize): kill.
907 (spi_selection_interface_new): upd.
908 (spi_selection_class_init): upd.
909 (get_selection_from_servant): impl.
910 Upd. all CORBA impl.s to use it killing yet more cut and paste.
912 * libspi/relation.c (spi_relation_finalize): kill.
913 (spi_relation_class_init, spi_relation_new): upd
915 * libspi/image.c (spi_image_finalize): kill.
916 (spi_image_class_init): upd.
917 (spi_image_interface_new): upd.
918 (get_image_from_servant): impl.
919 Upd. all CORBA impl.s to use it killing yet more cut and paste.
921 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
922 (spi_hyperlink_finalize): kill.
923 (spi_hyperlink_new): upd.
924 (get_hyperlink_from_servant): impl.
925 Upd. all CORBA impl.s to use it killing yet more cut and paste.
927 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
928 (spi_hypertext_finalize): kill.
929 (spi_hypertext_class_init): upd.
930 (get_hypertext_from_servant): impl.
931 Upd. all CORBA impl.s to use it killing yet more cut and paste.
933 * libspi/editabletext.c (spi_editable_text_finalize): kill.
934 (spi_editable_text_interface_new): upd.
935 (get_editable_text_from_servant): impl.
936 Upd. all CORBA impl.s to use it killing yet more cut and paste.
938 * libspi/text.c (get_text_from_servant): impl.
939 All impls - update to use it killing more cut and paste,
940 also fix bad string returns on duff args ( a somewhat
941 impossible case to handle - but hey ).
942 (spi_text_construct): impl.
943 (spi_text_interface_new): upd.
944 (spi_text_object_finalize): kill.
947 (accessibility_component_object_finalize): kill.
948 (spi_component_class_init): upd.
949 (get_component_from_servant): impl. helper to kill cut & paste.
950 (impl_accessibility_component_contains):
951 (impl_accessibility_component_get_accessible_at_point):
952 (impl_accessibility_component_get_position):
953 (impl_accessibility_component_get_extents):
954 (impl_accessibility_component_get_mdi_z_order):
955 (impl_accessibility_component_get_layer):
956 (spi_component_interface_new): upd.
958 * libspi/action.c (spi_action_finalize): kill.
959 (spi_action_class_init): upd. inherit from SpiObject.
960 (spi_action_interface_new): upd.
961 (get_action_from_servant): impl. helper to reduce cut & paste.
962 (impl_getKeyBinding, impl_getName, impl_doAction),
963 (impl_getDescription): Use it everywhere.
965 * cspi/spi_main.c (get_live_refs): a pointer hash.
966 (spi_object_hash, spi_object_equal): comment out.
967 There are issues with CORBA object hashing that need
970 * libspi/application.c (spi_application_init),
971 (spi_application_new): upd.
973 * libspi/accessible.c (spi_accessible_object_finalize): kill.
974 (spi_accessible_class_init): upd.
975 s/accessible/object/ in epv methods.
977 2001-12-05 Bill Haneman <bill.haneman@sun.com>
979 * at-bridge/bridge.c:
980 Reorder the bridge initialization into the bridge gtk_module_init,
981 an immediate call to bridge_register_app, and an idle_add for
982 register_atk_event_listeners (the only code that *must* wait until
983 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
984 the activation, creates the application's Accessible object, and
985 queues the bridge_idle_init function. Restored call to
986 Accessibility_Registry_deregisterApplication().
987 Prior to making this call we obtain a new reference to the
988 registry, which is a temporary hack that helps us handle apps that
989 shut down the bonobo mainloop before we get there.
992 Fix string leakage in debug block, and don't segv if a an app
993 dies before its event notifications have been propagated.
996 Modify cspi_check_ev() to call g_warning() rather than g_error(),
997 as stopgap measure until we get proper exception handling when
998 objects die during or before interrogation.
1002 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
1003 Also changed default value of is_gnome_app to TRUE.
1006 * test/keysynth-demo.c:
1007 Changed use of SPI_init and SPI_event_main to reflect API change above.
1010 Made report_focus_event check the warning value from getName
1011 before reporting on focussed accessible; simplifies handling of
1012 notifications from dead objects.
1014 * test/test-simple.c: (Changes not in this patch since source is
1017 2001-12-05 Michael Meeks <michael@ximian.com>
1019 * registryd/registryd.c (main): protect against
1020 bonobo-activation startup race condition.
1022 * cspi/spi_main.c (cspi_object_add_check): cope
1023 with the exception elegantly.
1025 * idl/Accessible.idl: decl. ChildGone
1027 * libspi/desktop.c (spi_desktop_dispose): impl.
1028 (spi_desktop_class_init): upd.
1029 (spi_desktop_add_application),
1030 (spi_desktop_remove_application),
1031 (abnormal_application_termination): impl.
1032 (impl_desktop_get_child_at_index): re-impl.
1035 (impl_accessibility_registry_deregister_application),
1036 (impl_accessibility_registry_register_application):
1037 kill excessive debug clutter.
1039 * test/test-simple.c (test_misc): test some NULL
1040 tolerance. (main): upd.
1042 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
1043 implements no interfaces - so let's not crash.
1045 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
1047 * libspi/accessible.c (spi_accessible_new_return): impl.
1048 helper to calm the cut and paste, to cope with
1049 NULL AtkObjects effectively and efficiently, and to kill
1050 the referencing bugs.
1052 * libspi/table.c (impl_getAccessibleAt),
1053 (impl_getRowHeader, impl_getColumnHeader): upd.
1055 * libspi/hyperlink.c (impl_getObject): upd.
1057 * libspi/accessible.c
1058 (impl_accessibility_accessible_get_child_at_index): upd.
1060 * libspi/component.c
1061 (impl_accessibility_component_get_accessible_at_point): upd.
1063 * test/test-simple.c (test_editable_text, test_text): impl.
1066 * cspi/spi_editabletext.c
1067 (AccessibleEditableText_insertText): constify.
1069 * test/test-simple.c (focus_me): make more robust.
1071 * libspi/accessible.c: remove some printfs in methods that
1072 we test and work fine, so we can get a clean tree dump.
1074 * test/test-simple.c (validate_accessible),
1075 (validate_tree): make tree dumping pretty too.
1077 * at-bridge/bridge.c (bridge_signal_listener): upd. so
1078 it builds without debug on.
1080 * test/test-simple.c (validate_accessible): fix the most
1083 * cspi/spi_main.c (spi_object_release): leave the nicely
1084 blanked memory around if in debug mode.
1086 * cspi/spi-listener-impl.c (cspi_event): use add_check.
1088 [committed to fixups2]
1089 2001-12-05 Michael Meeks <michael@ximian.com>
1091 * libspi/editabletext.c
1092 (spi_editable_text_class_init): g_type_class_peek_parent,
1093 not interface peek - so we finalize cleanly.
1095 * libspi/accessible.c (spi_accessible_new): kill debug.
1097 * test/test-simple.c (validate_accessible): fix ref.
1098 leak, print strings before freeing them; sigh, comment a
1099 chunk out due to strangeness.
1100 (validate_tree): unref the child after use.
1102 * cspi/spi_component.c (AccessibleComponent_getLayer):
1103 add missing break statement, switch on zlayer not the
1104 uninitialized retval.
1106 * cspi/spi_main.c (cspi_object_add): add assert, local ref
1107 before (possibly re-entering) remote unref.
1109 * test/simple-at.c (main): unref the desktop.
1111 * cspi/spi_accessible.c (cspi_accessible_is_a): move
1114 * cspi/spi_main.c (cspi_accessible_is_a): here to
1115 isolate bonobo API usage more.
1117 * libspi/registry.c (impl_accessibility_registry_register_application):
1118 prune bogus comment.
1120 2001-12-04 Michael Meeks <michael@ximian.com>
1122 * test/test-simple.c (validate_tree): upd.
1123 IndexInParent check to make it more lucid.
1124 (validate_accessible): dump the tree.
1126 * libspi/accessible.c (de_register_public_ref),
1127 (get_public_refs): impl.
1128 (spi_accessible_new): make more efficient & intuitive.
1129 Now IndexInParent check works.
1131 2001-12-04 Michael Meeks <michael@ximian.com>
1133 * cspi/spi-util.h: remove.
1135 * cspi/spi.h: move SPI_freeString here
1137 * libspi/component.c (impl_accessibility_component_get_layer):
1139 (impl_accessibility_component_get_mdi_z_order): ditto,
1140 return -1 on error - is this ok ?
1142 * test/test-simple.c (test_application): impl.
1144 * cspi/spi_accessible.c (Accessible_getApplication),
1145 (Accessible_isApplication): impl.
1147 * libspi/registry.c (spi_listener_struct_free): release
1148 the CORBA reference too.
1150 * libspi/accessible.c
1151 (impl_accessibility_accessible_get_parent): fix ref leak.
1153 * libspi/registry.c (spi_registry_new): make the registry
1154 immortal - we don't want it to go away ever.
1156 * libspi/application.c
1157 (spi_accessible_application_finalize): impl. cleanup.
1159 * cspi/spi_registry.c
1160 (deregisterGlobalEventListenerAll),
1161 (deregisterGlobalEventListener),
1162 (deregisterAccessibleKeystrokeListener): fix ref leak.
1164 * cspi/spi_main.c (SPI_init): remove redundant ref.
1166 * test/test-simple.c (unutterable_horror): impl. to force a
1171 (impl_accessibility_registry_deregister_application): release
1172 the application when we de-register it.
1174 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1175 until we have the infastructure to get it right.
1177 2001-12-03 Michael Meeks <michael@ximian.com>
1179 * libspi/Makefile.am: only build eventlistener.[ch]
1181 * libspi/accessible.c
1182 (impl_accessibility_accessible_get_child_at_index): don't leak.
1184 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1185 before we hit the idle handler.
1187 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1188 debugging than exit.
1190 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1192 * libspi/listener.c (impl_notify_event): check source
1193 not NIL before unref.
1195 * libspi/registry.c (impl_registry_notify_event): ditto.
1197 * libspi/eventlistener.c
1198 (impl_accessible_event_notify_event): unref the source.
1200 * libspi/accessibleeventlistener.c
1201 (impl_accessible_event_notify_event): unref the source.
1203 * idl/Event.idl: remove 'hash_id' attribute - of no
1206 * libspi/application.c (notify_listeners): upd list
1208 (spi_application_object_event_listener),
1209 (spi_application_toolkit_event_listener): upd to do correct
1213 (_registry_notify_listeners): update.
1214 (parse_event_type): this method also leaks like a sieve.
1215 (impl_accessibility_registry_deregister_global_event_listener):
1216 fix ETYPE_WINDOW case.
1218 * libspi/application.c
1219 (impl_accessibility_application_register_object_event_listener):
1222 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1224 * libspi/hypertext.c (impl_getLink): ditto.
1226 * cspi/spi_main.c (cspi_object_add): remove
1227 bogus CORBA_Object_duplicate.
1229 * cspi/spi-listener-impl.c (cspi_event): dup/ref
1232 * cspi/spi_accessible.c
1233 (Accessible_getRelationSet): fix leak / referencing issue.
1235 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1236 (cspi_object_add, cspi_object_unref): upd.
1237 (spi_object_release, get_live_refs): impl.
1238 (cspi_cleanup): simplify.
1240 * *.[ch]: s/boolean/SpiBoolean/
1242 * cspi/spi_accessible.c (role_names): actualy order so it
1243 corresponds with the enum !
1245 * test/test-simple.c (test_roles): check some role strings
1246 vs. enums to detect offset errors.
1248 2001-12-01 Michael Meeks <michael@ximian.com>
1250 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1252 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1254 (Accessible_getChildAtIndex): use cspi_add_check so we
1255 check the ev before using a (possibly) invalid value.
1257 * libspi/accessible.c
1258 (impl_accessibility_accessible_get_parent): don't segv
1261 * at-bridge/bridge.c (gtk_module_init): upd.
1262 (bridge_property_event_listener): don't leak strings
1264 (bridge_state_event_listener),
1265 (bridge_property_event_listener): don't use a static
1266 buffer in case of recursive event emission &
1267 re-enterancy - split out the swathe of cut and paste
1269 (emit_eventv): and fix 2 ref leaks here & comply to the
1271 (bridge_register_app): rename to
1272 (bridge_idle_init): this and kill arg parsing, split
1273 various inits & bonobo-activation registration to module
1274 init time, kill referencing error.
1275 (bridge_exit_func): fix the same leak.
1276 (bridge_focus_tracker): don't leak event structures
1278 (bridge_signal_listener): more leakage and cut & paste
1280 (bridge_key_listener): return the result - FIXME is
1281 this polarity correct ?
1282 (accessibility_keystroke_from_atk_key_event): rename
1283 (accessibility_init_keystroke_from_atk_key_event): and stop
1285 (gtk_module_init): return a value - not that it is checked by
1287 (bridge_key_listener): register my horror at casting between
1288 IDL defined structs.
1289 (bridge_get_registry): kill - not used.
1291 * cspi/spi_accessible.c (Accessible_getRole): make return const.
1293 * test/test-simple.c (test_roles): impl.
1294 (test_desktop, validate_accessible, validate_tree): impl.
1296 * cspi/spi_accessible.c (role_names): fixup bogus
1297 MAX_ROLES setup, make constants const for efficient linkage
1298 (AccessibleRole_getName): conform to coding style, make
1301 2001-11-30 Michael Meeks <michael@ximian.com>
1303 * cspi/spi.h: add missing prototype.
1305 * libspi/registry.c (spi_listener_struct_new): fix sig.
1307 * test/Makefile.am: add test-simple
1309 * test/test-simple.c: add
1311 * test/test.sh: add.
1313 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1315 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1316 do it straight - since otherwise we often get an activation race.
1318 [ work before Bill duplicated a chunk of it ... ]
1319 2001-11-30 Michael Meeks <michael@ximian.com>
1321 * libspi/keystrokelistener.c
1322 (spi_keystroke_listener_class_init): fixup arg
1325 * libspi/eventlistener.c
1326 (spi_event_listener_class_init): ditto.
1328 * tests/test.sh: add.
1330 * cspi/spi-listener-impl.h: update macros.
1332 * cspi/spi-listener-impl.c
1333 (cspi_event_listener_remove_callback): add
1334 correct pre-conditions.
1336 * cspi/spi_main.c (SPI_exit): guard vs. double
1337 exits, exit the mainloop nicely.
1338 (SPI_event_main): make more sense.
1339 (SPI_init): move the atexit evilness here so we
1340 always do it (yuck).
1341 (SPI_event_main): upd.
1343 * test/simple-at.c: update for listener changes.
1345 * registryd/registryd.c (main): prune kruft.
1347 * libspi/libspi.h: upd.
1349 * libspi/eventlistener.[ch]: rename broken macros.
1351 * libspi/accessibleeventlistener.[ch]: remove.
1353 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
1355 * test/test-simple.c: Add - automated tests.
1357 * cspi/spi-listener-impl.c (cspi_event),
1358 (cspi_key_event): add user_data to invoke.
1359 (cspi_keystroke_listener_finalize): impl.
1360 (cspi_keystroke_listener_class_init): upd.
1363 (createAccessibleEventListener),
1364 (AccessibleEventListener_addCallback),
1365 (createAccessibleKeystrokeListener),
1366 (AccessibleKeystrokeListener_addCallback): upd.
1368 * libspi/deviceeventcontroller.c
1369 (spi_device_event_controller_check_key_event): add public proto.
1372 (impl_accessibility_registry_deregister_global_event_listener):
1373 always init listeners.
1374 (_registry_notify_listeners): yes it is.
1376 * cspi/spi-listener-impl.c (cspi_key_event):
1378 (cspi_event_listener_finalize): impl.
1379 (cspi_event_listener_class_init): hook up.
1380 (event_handler_new, event_handler_free),
1381 (event_list_remove_by_callback): impl.
1382 (cspi_event_listener_remove_callback),
1383 (cspi_keystroke_listener_remove_callback),
1384 (cspi_keystroke_listener_add_callback),
1385 (cspi_event_listener_add_callback): upd.
1387 * libspi/keystrokelistener.c
1388 (keystroke_listener_object_finalize): kill
1389 (spi_keystroke_listener_class_init): upd.
1390 (spi_keystroke_listener_add_callback),
1391 (spi_keystroke_listener_remove_callback): kill,
1393 (impl_key_event): prune drasticaly.
1395 * libspi/eventlistener.c
1396 (spi_event_listener_add_callback),
1397 (spi_event_listener_remove_callback): kill, use
1399 (impl_accessible_event_notify_event): upd.
1400 (spi_event_listener_object_finalize): remove.
1402 * libspi/Makefile.am: use eventlistener.[ch]
1404 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1406 * libspi/registry.c (_registry_notify_listeners):
1407 Changed listener loop iteration to use preferred convention.
1408 Got rid of string memory leaks caused be calling g_strconcat
1409 inside function calls.
1411 * libspi/registry.c (parse_event_type):
1412 Stopped g_strconcat memory leaks, free the g_strsplit return,
1413 g_strdup the split pieces when used, etc.
1415 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1418 Change method 'compare' to return a 'difference set' rather than
1419 taking a StateSet as an out parameter (more Java-friendly).
1421 * idl/Accessible.idl:
1422 Added CORBA struct 'BoundingBox', to faciliate API changes below:
1424 * idl/Component.idl:
1426 Changed methods 'getExtents' and 'getImageExtents' in these
1427 interfaces to return a BoundingBox structure.
1428 (getPosition and getSize are redundant and possibly should be
1429 removed, rather than creating a corresponding Point struct.)
1431 * cspi/spi_component.c:
1432 Modify implementation of getExtents to reflect the above IDL
1437 Add (missing) AccessibleImage_getExtents () API.
1439 * docs/reference/cspi/at-spi-cspi-sections.txt:
1440 Added AccessibleImage_getImageExtents () to docs.
1442 2001-12-03 Bill Haneman <bill.haneman@sun.com>
1444 * idl/Component.idl:
1445 Added two methods, getLayer () and getMDIZOrder (), to reflect
1446 the new ATK methods atk_object_get_layer and
1447 atk_object_get_mdi_z_order. (Which arguably should be part of the
1448 AtkComponent API and AtkObject). Also added an enum,
1449 ComponentLayer, for the first method's return value.
1451 * libspi/component.c:
1452 Added implementations for these methods.
1454 * cspi/spi_component.c:
1456 Added cspi binding methods for above,
1457 AccessibleComponent_getLayer() and
1458 AccessibleComponent_getMDIZOrder().
1459 Added cspi enum 'AccessibleComponentLayer'.
1461 * docs/reference/cspi/at-spi-cspi-sections.txt:
1462 Added above methods to docs.
1466 Changed typedef for 'boolean' type (and all references to it) to
1467 SPIBoolean, to avoid keyword clashes with C++.
1470 Changed usages of 'boolean' to SPIBoolean.
1472 * test/keysynth-demo.c:
1473 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
1474 app), except where SPIBoolean is required by the callbacks API.
1476 2001-12-02 Bill Haneman <bill.haneman@sun.com>
1478 * cspi/spi_registry.c:
1479 Removed obsolete X event loop for passive keygrabs (which now
1482 * registryd/registryd.c:
1483 Removed unnecessary call to gdk_init() [cruft]. This also allows
1484 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
1487 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1489 * docs/reference/cspi:
1490 Included docs for SPI_freeString in generated documentation.
1493 Renamed spi_freeString to SPI_freeString, for consistency. Added
1494 documentation for this function.
1497 Renamed spi_freeString to SPI_freeString, for consistency.
1498 Removed obsolete method declaration string_from_corba_string.
1500 * test/keysynth-demo.c:
1501 Small tweak to comments.
1504 Stopped leaking the strings returned from CSPI.
1506 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1508 Merged Michael's branch (see his ChangeLog entries below).
1510 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
1511 bridge is alive, release on exit.
1513 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
1514 Fix type check macro.
1517 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
1520 Added is_gnome_app static, and method cspi_is_gnome_app(),
1521 so we can call the appropriate shutdown routine at exit in SPI_exit.
1523 * cspi/spi_main.c (cspi_object_ref):
1524 Duplicate the corba object passed in, since we're keeping it around.
1526 * cspi/SPI_exit.c, cspi_cleanup:
1527 Moved the releasing of the live refs to its own function, so we
1528 can put it in g_atexit (). Call the appropriate shutdown API
1529 depending on whethe calling client is a gnome app or not
1530 (bonobo_main_quit or CORBA_ORB_shutdown).
1532 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
1533 Unref the listener when this method is called, after
1534 deregistration. Updated the API docs to note this behavior.
1536 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
1537 Bugfixes: Ref the bonobo object when returning a parent or child
1538 reference, or an AccessibleRelation. Generally made sure
1539 BonoboObject refcount is incremented whenever we return an
1542 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
1543 Fixed typo/bug in signal declaration.
1545 * libspi/accessibleeventlistener.h:
1548 * libspi/application.c (spi_application_new):
1549 Fixed leak in initialization.
1552 Remembered to increment bonobo-object refcount when returning
1553 children (applications) from desktop object.
1554 Added (empty) finalize method.
1556 * libspi/deviceeventcontroller.c:
1557 Hold a ref to listeners inside DEControllerKeyListeners.
1558 Added dec_key_listener_free() method. Use prepend instead of
1559 append in key_listener list. Fixed some refcount madness and
1560 leaks in the listener registration/deregistration - deregistration
1561 now calls dec_key_listener_free() on listeners, and on the
1562 temporarily constructed dec_key_listener() used to perform the search/match.
1564 * libspi/hypertext.c (spi_hypertest_finalize):
1565 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
1566 class. Also fixed spi_hypertext_interface_new() and
1567 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
1569 * libspi/hypertext.h:
1570 Removed pointless and duplicate AtkObject pointer from
1573 * libspi/keystrokelistener.c:
1574 Fixed incorrect type of keystroke_listener_parent_class,
1575 renamed keystroke_listener_object_finalize to
1576 spi_keystroke_listener_object_finalize.
1577 Fixed typo in signal declaration
1578 (spi_keystroke_listener_class_init).
1580 * libspi/registry.c:
1581 Added funcsions spi_listener_struct_new() and
1582 spi_listener_struct_free() to help with memory management issues.
1583 We also now use these methods instead of gnew + poking stuff into
1584 the struct, and to decrement listener counts/free the listeners
1585 when deregistering them.
1586 Fix more refcount bugs in getDesktop() and
1587 getDeviceEventController().
1590 De-ref the desktop after enumerating the applications. Explicitly
1591 decrement the refcounts on the created listeners on exit (using
1592 _unref for keystroke listeners, and via the
1593 deregisterGlobalEventListenerAll command for other event
1596 2001-11-27 Michael Meeks <michael@ximian.com>
1598 * cspi/spi-listener.h: fixup enum.
1600 2001-11-27 Michael Meeks <michael@ximian.com>
1602 * cspi/spi-listener-impl.c (cspi_event_listener_new),
1603 (cspi_keystroke_listener_new): Use the cspi variants.
1605 2001-11-26 Michael Meeks <michael@ximian.com>
1607 * test/keysynth-demo.c: fix 2 compile warnings, missing
1610 * test/simple-at.c (report_focussed_accessible),
1611 (report_focus_event, report_button_press),
1612 (check_property_change, is_command_key),
1613 (report_ordinary_key_event, report_command_key_event): upd.
1615 * util/mag_client.h: include pre-requisites.
1617 * libspi/accessibleeventlistener.c
1618 (spi_event_listener_object_finalize): free any lingering
1621 * libspi/keystrokelistener.c
1622 (keystroke_listener_object_finalize): ditto.
1624 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1625 callbacks, with cspi types.
1627 * cspi/spi_event.c (createAccessibleEventListener): chain to
1628 (AccessibleEventListener_addCallback): here.
1629 (createAccessibleKeystrokeListener): chain to
1630 (AccessibleKeystrokeListener_addCallback): here.
1632 * libspi/keystrokelistener.c
1633 (spi_keystroke_listener_class_init): add signal.
1634 (impl_key_event): emit the event.
1635 (boolean_handled_accumulator): impl.
1636 (marshal_BOOLEAN__POINTER): add, gack.
1638 * libspi/accessibleeventlistener.c
1639 (spi_event_listener_class_init): add signal.
1640 (impl_accessible_event_notify_event): emit the signal &
1641 make the loop efficient.
1642 (spi_event_listener_add_callback): prepend the callback.
1644 * libspi/accessibleeventlistener.h: add an 'event' signal,
1645 decl type on callback.
1647 * libspi/keystrokelistener.h: ditto.
1649 * cspi/spi-listener.h: make methods typesafe and
1650 make them use the new event typedefs.
1652 * test/simple-at.c (report_focussed_accessible):
1653 include mag_client.h
1654 Use *(void *)text_interface not the other thing.
1656 * configure.in: add gtk to registryd bits - since we use
1659 * util/magnifier.c: include libbonobo.h
1661 2001-11-25 Bill Haneman <bill.haneman@sun.com>
1663 * test/keysynth-demo.c:
1664 Turned this into a simple scanning keyboard, to demonstrate the
1665 use of g_timeout_add () as a means of creating timers for
1666 scanning, and the use of GtkStyle for visually indicating when
1667 virtual keyboard elements are selected.
1669 keysynth-demo now listens to any keyboard keys with zero-valued
1670 keycodes (i.e. 'unused' keys) and interprets them as
1673 Reworked the shiftlatch code so that shift-down state isn't held
1674 for long periods (it's only synthesized immediately prior to
1675 the keysynth event it's modifying). Note that shiftlatch in this
1676 demo is a convenience, not intended to take the place of AccessX
1677 which is the better choice for getting 'sticky' modifier keys.
1679 * libspi/deviceeventcontroller.c:
1680 * at-bridge/bridge.c:
1681 * cspi/spi_registry.c:
1682 Removed some debug print stuff, and put other verbosity in #ifdef
1687 Implemented some more of the magnifier IDL for the simple
1688 magnifier: namely, getZoomRegionParams.
1689 Added mag_x and mag_y members to MagnifierData struct, aid of this
1691 Added GtkWindow::realize signal handler to magnifier, to keep it
1692 from receiving keyboard focus from the WM.
1694 2001-11-23 Mark McLoughlin <mark@skynet.ie>
1696 * cspi/spi-private.h: my guess at what michael forgot
1697 before he ran off to NZ :-)
1699 2001-11-23 Michael Meeks <michael@ximian.com>
1701 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
1702 comment out non existant method invoke so we link.
1704 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
1705 use bonobo_exception_get_text for more friendly warnings.
1707 * cspi/spi.c (Obj_Add): move into spi_main & rename
1708 spi_object_add; kill spi.c
1710 * cspi/spi_registry.c
1711 (deregisterGlobalEventListener),
1712 (deregisterGlobalEventListenerAll),
1713 (registerGlobalEventListener): fix exception leaks.
1715 * cspi/spi_main.c (spi_exception): impl. helper, so we
1716 don't leak exceptions.
1718 * cspi/spi_selection.c
1719 (AccessibleSelection_deselectSelectedChild): return the
1722 * cspi/spi_main.c (spi_ev): impl; hack - gack.
1723 (spi_registry): ditto.
1724 (SPI_init): guard against double inits.
1726 * cspi/*.c: use spi_ev (), and spi_registry () where
1727 appropriate - a temporary hack until we have something
1728 better. Use spi_object_add
1730 2001-11-22 Michael Meeks <michael@ximian.com>
1732 * cspi/Makefile.am: re organise, install the headers.
1734 * cspi/*.h: add G_BEGIN/END_DECLS
1736 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1739 Added non-preemptive keylistener for key events with no modifiers
1740 and shift-only modifier.
1742 * libspi/keystrokelistener.c:
1743 Removed some verbose diagnostics printout.
1745 * cspi/spi_registry.c:
1746 Fixed a bug that caused all key listeners to be registered as
1749 * libspi/deviceeventcontroller.c:
1750 Fixed bug that caused XGrabKey (preemptive key grab) to be called
1751 for non-preemptive key masks.
1754 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1756 * docs/reference/idl/at-spi-idl-docs.sgml:
1757 * docs/reference/idl/at-spi-idl-sections.txt:
1758 * docs/reference/idl/at-spi-idl-overrides.txt:
1759 Added missing files.
1761 * docs/reference/Makefile.am:
1762 removed idl from SUBDIRS until we can figure a way to get gtk-doc
1763 to scan the IDL files :-(
1768 Added .cvsignore files.
1770 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1772 * libspi/deviceeventcontroller.c:
1773 * libspi/keystrokelistener.c:
1775 * cspi/spi_registry.c:
1776 Added filters for KeySets, KeyEventSeq, and event types to key
1777 event dispatching, so listeners should only receive those events
1778 that they requested :-)
1780 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1785 * docs/reference:Makefile.am:
1786 * docs/reference/cspi:
1787 * docs/reference/cspi:Makefile.am:
1788 * docs/reference/cspi:tmpl:
1789 * docs/reference/cspi:tmpl:*.sgml:
1790 * docs/reference/idl:
1791 * docs/reference/idl:Makefile.am:
1792 * docs/reference/idl:at-spi-idl-sections.txt:
1793 * docs/reference/idl:at-spi-idl-docs.sgml:
1794 * docs/reference/idl:tmpl:
1795 * docs/reference/idl:tmpl:*.sgml:
1797 Restructured docs directory to allow separate 'reference' docs
1798 section, and forked idl and cspi docs. Added the sgml template
1799 files to CVS. Added the first sections/structural sgml for the
1802 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
1804 * configure.in, libspi/Makefile.am: find libXtst.
1806 2001-11-21 Michael Meeks <michael@ximian.com>
1808 * test/accessx-gui.c: s/spi_value/value/ - doh.
1810 * libspi/base.[ch]: add.
1812 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1814 * idl/Accessible.idl:
1815 * idl/Application.idl:
1818 Started gtk-doc cleanup on IDL.
1820 * libspi/deviceeventcontroller.c:
1821 Added and connected non-preemptive key notification from the
1822 toolkits (in addition to the pre-emptive support from XServer
1823 which we had before, but which causes 'focus flashing'). Filters
1824 are presently limited to key modifiers and global/non-global,
1825 KeySets are presently ignored, as are KeyEvent masks.
1827 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1828 structs into the persistant structure rather than just storing
1829 pointers to things that might not persist across servant
1832 The XGrabKey call now does async keygrabs, because synchronous
1833 ones were deadlocking with GDK_event code in a very nasty way.
1835 Added boolean to internal method notify_keylisteners, to indicate
1836 whether the event came from the 'toolkit source' or the 'global
1837 (XServer) source' - this is used in the notification process to
1838 determine which listeners to send the event to.
1840 deviceeventcontroller.c is now warning-free.
1842 * libspi/registry.c:
1843 Fixed regression in application de-registration.
1844 Also fixed some really brain-dead weirdness having to do with
1845 event dispatching - event structs are now duplicated before being
1846 re-marshalled in the dispatch to listeners. This also fixes a
1847 Solaris build problem.
1850 2001-20-11 Michael Meeks <michael@ximian.com>
1853 (impl_accessibility_registry_deregister_global_event_listener):
1856 * libspi/deviceeventcontroller.c
1857 (spi_device_event_controller_check_key_event): return
1858 FALSE on no virtual method.
1860 * libspi/*..h: make includes work on a correctly pathed install.
1862 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
1864 * libspi/application.h: kill unused ( and whacked out )
1865 gboolean *spi_application_set_id (AtkObject *app, long id);
1867 2001-20-11 Michael Meeks <michael@ximian.com>
1869 * libspi/*.[ch]: further convert to bonobo's type func
1870 macros, remove redundnant casts etc.
1872 * libspi/text.c s/accessibility_text/spi_text/g,
1873 re-order to de-cruft.
1875 * libspi/hypertext.c: re-order to kill a huge slew
1876 of redundant forward decls.
1878 * libspi/relation.c: ditto.
1880 * libspi/image.c: ditto.
1882 * */.cvsignore: update
1884 2001-20-11 Michael Meeks <michael@ximian.com>
1886 * libspi/deviceeventcontroller.c
1887 (_controller_register_with_devices): use g_getenv,
1888 kill stdlib.h include.
1890 * libspi/keystrokelistener.c
1891 (spi_keystroke_listener_get_type): kill
1892 (spi_keystroke_listener_class_init),
1893 (spi_keystroke_listener_init): rename to this.
1895 * libspi/text.c (impl_getAttributes): fix warning / bug.
1897 * libspi/*.[ch]: more headers, includes and over commenting.
1899 2001-20-11 Michael Meeks <michael@ximian.com>
1901 * libspi/*.[ch]: fixup headers, includes and over commenting.
1903 * libspi/image.c (impl__get_imageDescription): const
1904 correctness warning fix. remove redundant casting.
1906 * libspi/table.c (impl_getRowDescription): ditto.
1907 (impl_getColumnDescription): ditto.
1909 * libspi/libspi.h: add.
1911 2001-19-11 Michael Meeks <michael@ximian.com>
1913 * libspi/editabletext.c (impl_setAttributes): fix warnings.
1915 * libspi/component.c (accessibility_component_get_type):
1916 rename to (spi_component_get_type): and macroify.
1917 (accessibility_component_init): rename to
1918 (spi_component_init): this
1919 (accessibility_component_class_init): rename to
1920 (spi_component_class_init): this
1922 * libspi/action.c (spi_action_get_type): kill, use the macro.
1924 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
1927 * libspi/application.c (spi_application_object_event_listener),
1928 (impl_accessibility_application_register_object_event_listener):
1929 warning fixes / const understanding updates.
1931 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
1934 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1936 * libspi/spi_accessible.c: Added docs and C bindings for
1937 AccessibleStateSet. (No implementations yet). Documentation
1938 coverage for C bindings now 100%. Made docs for event listeners
1943 boolean notifyListenersSync (in DeviceEventListener listener,
1944 in DeviceEvent event);
1946 oneway void notifyListenersAsync (in DeviceEventListener listener,
1947 in DeviceEvent event);
1949 Added DeviceEventListener and DeviceEvent structs (may deprecate
1950 KeyStroke and KeystrokeListener in favor of this generic
1951 event/listener framework for devices).
1953 * libspi/deviceeventcontroller.c:
1955 Changed some key listener code to take masks, etc., and paved the
1956 way for integration of toolkit/non-preemptive key events. Changed
1957 signatures of some internal methods.
1959 * at-bridge/bridge.c:
1960 Fixed regression connecting to interface signals, apparently
1961 caused by GTK+ changes.
1963 Added an internal bridge_state_listener to deal with
1964 property-change:accessible-state signals.
1966 Changed the key_listeners GList to store structs (including masks,
1967 etc.) instead of just CORBA_Objects (required for full
1968 implementation of key listener API).
1970 Connected the bridge to all currently supported Atk signals.
1971 Events now supported:
1972 object:property-change
1973 object:property-change:accessible-name
1974 object:property-change:accessible-state
1975 object:property-change:accessible-description
1976 object:property-change:accessible-parent
1977 object:property-change:accessible-value
1978 object:property-change:accessible-role
1979 object:property-change:accessible-table-caption
1980 object:property-change:accessible-table-column-description
1981 object:property-change:accessible-table-column-header
1982 object:property-change:accessible-table-row-description
1983 object:property-change:accessible-table-row-header
1984 object:property-change:accessible-table-summary
1985 object:children-changed
1986 object:visible-data-changed
1987 object:selection-changed
1988 object:text-selection-changed
1990 object:text-caret-moved
1992 object:row-reordered
1994 object:column-inserted
1995 object:column-reordered
1996 object:column-deleted
1997 object:model-changed
1999 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2001 * libspi/hyperlink.c,h:
2002 Fixed some broken stuff in hyperlink.
2004 * libspi/relation.h:
2005 * libspi/relation.c:
2006 * cspi/spi_accessible.c:
2007 Initial implementations of AccessibleRelation methods, and docs.
2009 * libspi/accessible.c:
2010 Fixed a bug that caused SEGV if an accessible
2011 object's description is NULL, and a client
2012 requests it. An empty string is now returned.
2014 * cspi/spi_editabletext.c:
2015 * cspi/spi_hypertext.c:
2017 * cspi/spi_hyperlink.c:
2021 Doc coverage now 95%.
2023 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2025 One last namespacing revision:
2026 * libspi/accessibleeventlistener.[ch]:
2027 Renamed SpiAccessibleEventListener to SpiEventListener,
2028 (no need for two namespaces ;-)
2030 And lots of documentation fixes:
2032 * docs/at-spi-docs.sgml:
2033 Fixed 'underscore vs. hyphen' bug that was preventing
2034 the gtk-doc API docs from being automatically generated.
2037 * cspi/spi-listener.h
2039 * cspi/spi_accessible.c
2041 * cspi/spi_application.c
2042 * cspi/spi_component.c
2043 * cspi/spi_editabletext.c
2045 * cspi/spi_hypertext.c
2047 * cspi/spi_registry.c
2048 * cspi/spi_selection.c
2052 * docs/at-spi-docs.sgml
2053 * docs/at-spi-sections.txt
2055 Added and fixed up gtk-doc documentation in cspi.
2057 Interfaces now (fully) documented (subject to revision and enhancement):
2059 Event Listener Support
2061 AccessibleApplication
2065 AccessibleEditableText
2072 AccessibleRelationSet
2077 2001-14-11 Bill Haneman <bill.haneman@sun.com>
2079 * at-bridge/bridge.c:
2080 Initial work for toolkit-level key snooper connection by bridge.
2085 New typedefs and fixes to support new namespacing, and cleaner
2086 separation of cspi bindings from libspi bonobo implementation.
2087 Removed inconsistent and extraneous Spi* namespace prefix that
2088 had crept into cspi headers.
2089 Lots of comment fixes that sed had missed.
2091 * cspi/spi-roletypes.h:
2092 * cspi/spi-statetypes.h:
2093 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
2094 to AccessibleRoleType.
2096 * libspi/accessibleeventlistener.h:
2097 Fixed minor namespacing weirdness.
2099 * libspi/deviceeventcontroller.c:
2100 Reordered some internal API for device listeners.
2101 Changed the key registry final boolean to 'is_system_global'
2102 rather than 'is_synchronous', which is more descriptive of its
2104 Added spi_device_event_controller_new().
2105 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
2107 * libspi/keystrokelistener.[ch]:
2108 Namespaced KeystrokeListener to SpiKeystrokeListener.
2109 Changed uses of keymasks to use SPI_ prefix, and did other
2112 * libspi/keymasks.h:
2113 Namespaced keymask constants with SPI_ prefix.
2115 * libspi/registry.c:
2116 Some warning fixes, and knock-on fixes from namespace changes.
2119 Added rules for accessx-gui test program.
2121 * test/accessx-gui.c:
2122 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2123 utility. It doesn't actually use at-spi, but it's still cool and
2126 * test/keysynth-demo.c:
2130 Fixes so that these test clients work properly with the namespaced
2131 libraries. (Incompletely tested for technical reasons, fixes may follow)
2134 2001-13-11 Michael Meeks <michael@ximian.com>
2136 * libspi/application.c
2137 (impl_accessibility_application_get_version),
2138 (impl_accessibility_application_get_toolkit_name):
2140 (impl_accessibility_application_set_id),
2141 (impl_accessibility_application_get_id): remove
2142 redundant casting code.
2144 * libspi/action.c (impl_getDescription): fix warnings.
2146 * libspi/accessible.c
2147 (impl_accessibility_accessible_get_parent),
2148 (impl_accessibility_accessible_get_child_at_index),
2149 (impl_accessibility_accessible_get_state),
2150 (impl_accessibility_accessible_get_relation_set):
2151 warning fixes & include action.h
2153 2001-13-11 Michael Meeks <michael@ximian.com>
2155 * *.[ch] fix bits I screwed up:
2157 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2158 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2160 2001-13-11 Michael Meeks <michael@ximian.com>
2162 * *.[ch] Namespace libspi into spi_ and Spi.
2164 2001-13-11 Michael Meeks <michael@ximian.com>
2166 * Makefile.am: dist & install at-spi-1.0.pc
2168 * libspi/Makefile.am: install into at-spi-1.0
2170 * idl/Makefile.am (idldir): install into at-spi-1.0
2172 * at-spi-1.0.pc.in: add.
2174 * configure.in: build it.
2176 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2178 * test/keysynth-demo.c:
2179 Use a 'realize' signal-handler to set the WM properties for
2180 the virtual keyboard, rather than making it a "POPUP" type
2181 override-redirect window (thanks to anders carlsson for that
2184 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2187 * test/keysynth-demo.c:
2188 Added new test of key synthesis, which creates a simple
2189 (mouse-operated) onscreen keyboard. It inserts key events into
2190 the currently-focused window, thus it does not grab keyboard focus
2193 * cspi/spi_registry.c:
2194 Added C binding for AT-SPI generateKeyEvent.
2196 * libspi/deviceeventcontroller.c:
2197 Added call to XFilterEvent so that key listener works with XIM (we
2198 hope). Added event_synth_type to generateKeyEvent, so that we can
2199 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2200 synthesize a press/release pair for KeySyms.
2202 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2204 * libspi/Makefile.am:
2205 * registryd/Makefile.am:
2206 (temporary) hack to include libXtst in libspi and registryd.
2207 (Needed for keystroke synthesis, see below).
2210 Improved API for registerKeystrokeListener, in accordance with
2211 discussions with Gnopernicus team and X server research.
2213 * libspi/registry.c:
2214 * libspi/deviceeventcontroller.c:
2215 * libspi/accessible.c:
2216 * libspi/keystrokelistener.c:
2217 Changes and fixes to support keylisteners for potentially
2218 consumed key events (that is, 'passive grabs').
2219 Added implementation for generateKeyEvent() [untested].
2222 Changes to registerKeystrokeListener() API, as above.
2223 Added deregisterGlobalEventListenerAll(), and
2224 deregisterKeystrokeListener(), which are needed for clean exit of
2226 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2227 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2229 * cspi/spi_registry.c:
2230 Added implementations of function prototypes mentioned above.
2232 * registryd/registryd.c:
2233 Added the key listener event source as a g_timeout(), to allow
2234 receipt of key events that are not caught by GDK (since GDK
2235 doesn't support passive keygrabs, this was necessary).
2238 Changed to attach a keylistener to 'Alt' keys, and
2239 respond to the following keycommands: Alt-M (toggle magnifier);
2240 Alt-F (toggle speech); Alt-Q (quit).
2241 Added an exit routine to deregister the listeners, and a key
2242 listener that prints some key info to the console when a key
2243 matches the listener mask (and is thus received by the listener).
2245 * util/idl/Magnifier.idl:
2246 Changes to magnifier API to support multiple zoom regions,
2247 non-uniform scaling in x and y, markDirty, and a host of other
2248 features that would be useful to magnification.
2251 * util/mag_client.c:
2252 * util/mag_client.h:
2253 * util/mag_control.c:
2255 Source code changes to support the above IDL changes.
2258 As above, and also changes to use a (slower) generic conversion
2259 path for colormap conversions, since the fast RGB conversions have been
2260 reported to fail for 16-bit displays.
2262 2001-10-26 Michael Meeks <michael@ximian.com>
2264 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2266 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
2268 * at-bridge/Makefile.am: fix LDFLAGS.
2270 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2272 * at-bridge/bridge.c:
2273 Re-worked listeners for toolkit events, now we have signal
2274 and property listeners. Added a private method
2275 register_atk_event_listeners(), which registers with the
2276 various atk and gtk signals we need to monitor in order to emit
2278 Added emission hook for AtkObject:property-change events, to
2279 support the 'property listeners'.
2280 Fixed some alloc()s of Accessibility_Event structs to use CORBA
2283 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2284 which emit warnings and exit, respectively, if CORBA errors occur
2285 during remote calls, and we now use these methods to check most of
2286 our CORBA calls in the C bindings.
2288 * cspi/spi_accessible.c:
2289 Changed AccessibleSelection_refSelectedChild() to
2290 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2291 now increment refcounts.
2293 * cspi/spi_component.c:
2294 Fixed some long pointer casts (dangerous!) to pass pointers to
2295 CORBA_longs of the proper type to the CORBA stubs, and copy the
2296 data into the longs that were passed into the C bindings code.
2298 * at-bridge/bridge.c:
2300 * libspi/accessible.c:
2301 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2302 hyperlinks, AtkHyperlink is an object type.
2304 * libspi/application.c:
2305 Added various conversions to and from "generic" event types and
2306 atk-specific types; this is really part of the 'bridge'
2307 implementation but is valid for all AtkObject-based accessibility
2310 * libspi/editabletext.c:
2311 Fixed nasty bug wherein editable text's finalize method was
2312 unref'ing tha AtkObject reference that the text parent class was
2313 about to unref _again_. There was also a nasty inheritance bug
2314 that meant that the AccessibleEditableText class was corrupt.
2316 * libspi/selection.c:
2317 Provided implementations for some selection API that was broken.
2319 * idl/Application.idl:
2320 Added registerObjectEventListener () method.
2323 Fixed a number of return values that were Bonobo_Unknowns from
2324 bonobo_object_corba_objref(), which I
2325 forgot to dup before returning. Changed instances of
2326 bonobo_object_corba_objref (bonobo_object(o)) to
2327 BONOBO_OBJREF(o), for concision and clarity.
2329 <2001-10-13 Louise Miller <louise.miller@sun.com>
2331 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2332 idl/Event.idl, idl/Registry.idl
2333 Changed these files to include Bonobo_Unknown.idl instead
2336 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
2338 * libspi/component.c libspi/component.h:
2339 Fixed typo. Added assertions for object checks in
2340 AccessibleComponent code.
2342 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2344 * idl/Accessible.idl:
2345 Added 'isEqual (Accessible *object)'
2346 method for Accessible. (Not Yet Implemented).
2349 Changed signature of registerKeystrokeListener() to
2350 take a KeySet and KeyEventSeq so that specific keys and event
2351 types could be requested for monitoring, and added a flag
2352 is_synchronous so that either synchronous or asynchronous
2353 notification could be requested. (However this is not all
2354 implemented yet). This also meant adding two new typedefs,
2355 KeyEventSeq and KeySet.
2358 Added two new relations, RELATION_TOOLTIP_FOR and
2359 RELATION_LEAFNODE_OF.
2362 Added new state, STATE_HAS_TOOLTIP.
2364 * libspi/text.c, editabletext.c:
2365 Added new assertions to all casts of bonobo-objects from
2366 CORBA servants, to prevent Text API calls on non-text objects.
2367 Changed suspect casts of int-pointer types, so that we
2368 always send a valid CORBA_long pointer to the CORBA APIs that use
2369 in/out long parameters. We then have to copy from the CORBA_long
2370 into the regular long or int for return to the C bindings, or
2371 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
2374 * libspi/deviceeventcontroller.c:
2375 Cleaned these sources up.
2377 Changed return type for getCharacterAtOffset to
2378 CORBA_unsigned_long, to allow for 32-bit characters.
2381 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
2385 Fixed 'make dist' so that distro compiles...
2386 * libspi/keymasks.h:
2388 * cspi/spi-listener.c:
2389 KeystrokeListenerCB now returns a boolean.
2391 Added KeyEventType struct, and KeyStroke.
2392 Also added createKeystrokeListener(),
2393 KeystrokeListener_addCallback(),
2394 KeystrokeListener_removeCallback(), and added a keymask to
2395 registerKeystrokeListener().
2396 * cspi/spi_accessible.c:
2397 Changed numerous return types for interfaces from
2398 AccessibleComponent to Accessible<InterfaceName>; this was
2399 probably a cut-and-paste error.
2401 Implementations of new KeystrokeListener api (from spi.h,
2404 Changes to key modifier mapping.
2405 Created ControllerEventMask struct.
2406 Made DeviceEventController derive from Bonobo::Unknown.
2408 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
2409 * libspi/deviceeventcontroller.c:
2410 Added a number of new internal (private) methods.
2411 * libspi/editabletext.c:
2412 * libspi/editabletext.h:
2413 Fixed a number of bugs related to the fact that
2414 editabletext inherits from text. Fixed the EditableText struct,
2415 the init() call, and use correct casts when calling Text methods
2416 from an EditableText object. Removed (duplicate) atko from the
2417 EditableText structure, we use the one in the parent Text
2418 structure via the casts mentioned above.
2419 * libspi/keystrokelistener.[ch]:
2420 * libspi/registry.c:
2421 Changes in support of keyboard handling (above).
2423 Keyboard handling, though partly functional, is still not
2424 recommended for at-spi client use as there is considerable
2425 work yet to be done.
2428 Changed some places where pointers to various int types
2429 are cast to be pointers to CORBA_long types and vice-versa:
2430 pointer casting is not safe so we pass pointers of the correct
2431 types and then cast the result before putting it into the target
2434 * libspi/text.h: minor typos corrected.
2436 We now speak not only the name of a Text element, but the
2437 first sentence of its content, when it receives focus.
2438 I also changed the text compression to 75% from 50%.
2439 * util/Accessibility_Util.server.in:
2440 Changed the default magnifier type to be a 3x vertical
2441 splitscreen magnifier (was previously a 2x horizontal one).
2443 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
2445 * libspi/keystrokelistener.h:
2446 * libspi/keystrokelistener.c:
2447 Initial functional implementations of KeystrokeListener.
2450 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
2452 Fixed string handling for NULL strings in libspi.
2453 Added spi_freeString to free strings returned by C bindings.
2455 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
2457 * libspi/keystrokelistener.h:
2458 * libspi/keystrokelistener.c:
2459 Began (no-op) implementations of KeystrokeListener
2461 * libspi/deviceeventcontroller.c:
2462 * libspi/deviceeventcontroller.h:
2463 Began creating implementations of DeviceEventController,
2464 to handle keystroke and mouse event listening and
2466 * libspi/accessible.c:
2467 Stubbed-in the implementations for
2468 Accessibility_Accessible_getState and
2469 Accessibility_Accessible_getRelationSet.
2470 * libspi/registry.c:
2471 Improved de-registration process and fixed some bugs,
2472 deregistration now works correctly.
2474 Added initialization of applications list (to NULL).
2476 Reduced speech compression from 0.5 to 0.7, for demo.
2477 Changed call to gdk_window_set_decorations()
2478 to gtk_window_set_decorated().
2479 * at-bridge/bridge.c:
2480 Bridge now deregisters when app exits, via
2481 registration of a cleanup function
2482 with the g_atexit() call.
2483 Required making 'app' static, renamed 'this_app'.
2484 Fixed broken use of bonobo_init, passing argv wrongly.
2486 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
2490 Created a new directory for
2491 accessibility-related utilities, primarily for
2492 testing and demo purposes, but with possible
2499 Onscreen magnifier utility that
2500 is implemented as a bonobo service.
2502 * util/mag_client.c:
2503 * util/mag_client.h:
2504 Client-side support (simple C bindings)
2505 for Magnification service
2507 * util/mag_control.c:
2508 Client program example for
2509 Magnification service
2511 * util/Accessibility_Magnifier.server.in:
2512 Bonobo-activation file for the
2513 Magnification service.
2516 * util/idl/Magnifier.idl:
2517 IDL defining the bonobo Magnification
2521 Modifications to use the bonobo-activated magnifier
2522 above, in place of trying to connect to an existing
2523 magnifier that uses socket-listening IPC.
2525 If env variable MAGNIFIER is set, a magnifier service
2526 will be started if one does not exist.
2528 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
2529 * at-bridge/bridge.c:
2530 applied patch from Marc to build and run
2531 against new glib and gtk+ (seemed like a change
2532 to bonobo_init signature was made ?)
2534 made festival-server support turned off by default.
2535 Added support for a simple magnifier (off by default)
2536 which will be added to a 'util' directory later.
2537 * at-bridge/Makefile.am:
2538 Changed "application.h" header from a 'source'
2539 to a 'dependency' of libat-bridge.
2541 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2549 Added interface implementation c files to list of
2550 includes so they are included in libcspi.
2553 Changed prototype of AccessibleAction_doAction to return a
2555 Changed prototype of AccessibleTable_getCaption to
2556 return an Accessible.
2557 Changed prototype of AccessibleTable_getSelectedRows
2558 and AccessibleTable_getSelectedColumns to
2559 return a long (returns the number of selected rows
2560 or columns respectively).
2561 Changed name of AccessibleText_refRunAttributes to
2562 AccessibleText_getAttributes.
2563 Changed prototype of AccessibleText_getCharacterExtents to
2564 return a void rather than a boolean.
2565 Added support for a AccessibleCoordType parameter
2566 specifying what type of coordinates are desired.
2567 Added an AccessibleCordType parameter to
2568 AccessibleText_getPointAtOffset.
2570 * cspi/spi_accessible.c:
2571 Added code to return the outstanding interfaces from
2572 Accessible_queryInterface.
2574 * cspi/spi_action.c:
2576 Corrected call to getNActions to call the c binding
2579 * cspi/spi_editabletext.c:
2581 Changed name from setRunAttributes to setAttributes.
2583 * cspi/spi_hyperlink.c:
2585 Changed call to getNAnchors to correctly call the c
2586 binding for an attribute.
2588 * cspi/spi_hypertext.c:
2590 Changed getImageDescription to correctly call the
2591 binding for an attribute.
2593 * cspi/spi_selection.c:
2594 Changed getNSelectedChildren to correctly call the c
2595 binding for the attribute.
2596 Changed refSelectedChild to getSelectedChild.
2600 Changed getCaption to return an Accessible.
2601 Fixed calls which retrieve attributes.
2602 Changed refAt to getAccessibleAt.
2603 Changed getNSelectedRows and getNSelectedColumns to
2607 Changed getCharacterExtents and getPointAtOffset to accept an
2608 AccessibleCoordType.
2610 Changed calls which retrieve attributes.
2611 Changed refRunAttributes to getAttributes.
2616 * idl/Hyperlink.idl:
2617 Changed n_anchors attribute to nAnchors to keep naming
2618 convention consistent.
2621 Made Table inherit from Bonobo::Unknown.
2622 Added nSelectedColumns and nSelectedRows attributes.
2625 Made Value inherit from Bonobo::Unknown.
2627 * libspi/hyperlink.c:
2628 Change for nAnchors attributte name change.
2630 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2638 Added interface implementation c files to list of
2639 includes so they are included in libcspi.
2642 Changed prototype of AccessibleAction_doAction to return a
2644 Changed prototype of AccessibleTable_getCaption to
2645 return an Accessible.
2646 Changed prototype of AccessibleTable_getSelectedRows
2647 and AccessibleTable_getSelectedColumns to
2648 return a long (returns the number of selected rows
2649 or columns respectively).
2650 Changed name of AccessibleText_refRunAttributes to
2651 AccessibleText_getAttributes.
2652 Changed prototype of AccessibleText_getCharacterExtents to
2653 return a void rather than a boolean.
2654 Added support for a AccessibleCoordType parameter
2655 specifying what type of coordinates are desired.
2656 Added an AccessibleCordType parameter to
2657 AccessibleText_getPointAtOffset.
2659 * cspi/spi_accessible.c:
2660 Added code to return the outstanding interfaces from
2661 Accessible_queryInterface.
2663 * cspi/spi_action.c:
2665 Corrected call to getNActions to call the c binding
2668 * cspi/spi_editabletext.c:
2670 Changed name from setRunAttributes to setAttributes.
2672 * cspi/spi_hyperlink.c:
2674 Changed call to getNAnchors to correctly call the c
2675 binding for an attribute.
2677 * cspi/spi_hypertext.c:
2679 Changed getImageDescription to correctly call the
2680 binding for an attribute.
2682 * cspi/spi_selection.c:
2683 Changed getNSelectedChildren to correctly call the c
2684 binding for the attribute.
2685 Changed refSelectedChild to getSelectedChild.
2689 Changed getCaption to return an Accessible.
2690 Fixed calls which retrieve attributes.
2691 Changed refAt to getAccessibleAt.
2692 Changed getNSelectedRows and getNSelectedColumns to
2696 Changed getCharacterExtents and getPointAtOffset to accept an
2697 AccessibleCoordType.
2699 Changed calls which retrieve attributes.
2700 Changed refRunAttributes to getAttributes.
2705 * idl/Hyperlink.idl:
2706 Changed n_anchors attribute to nAnchors to keep naming
2707 convention consistent.
2710 Made Table inherit from Bonobo::Unknown.
2711 Added nSelectedColumns and nSelectedRows attributes.
2714 Made Value inherit from Bonobo::Unknown.
2716 * libspi/hyperlink.c:
2717 Change for nAnchors attributte name change.
2720 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
2722 implementations-- made server implementations own AtkObject pointers
2723 rather than their respective AtkInterrface pointers to fix
2724 refcounting. AtkHyperlink is still broken.
2726 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
2727 * cspi/spi_accessible.c:
2728 Added method Accessible_Role_getName(),
2729 and requisite string array (role_names).
2730 Added conversion string_from_corba_strin() call
2731 to Accessible_getName and _getDescription.
2732 * libspi/accessible.c:
2733 Added implementation for Accessible_getRole()
2735 Added festival support, used if environment variable
2738 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2740 * at-bridge/bridge.c:
2741 Now allocate Accessibility_Event using
2742 Accessibility_Event__alloc() instead of g_new0().
2743 * libspi/accessibleeventlistener.c:
2744 Initialize AccessibleEventListener->callbacks to NULL.
2745 Fixed accessible__event_listener_init() param, changed to
2746 "AccessibleEventListener *" type.
2747 Changed a bonobo_object_release_unref() call to
2748 Accessibility_Accessible_unref().
2749 * libspi/listener.c:
2750 Changed Bonobo_Unknown_unref to (equivalent)
2751 Accessibility_Accessible_unref.
2752 * libspi/registry.c:
2753 Changed bonobo_object_release_unref to
2754 Accessibility_Accessible_unref.
2756 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2759 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
2760 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
2761 spi-util.c spi-util.h
2762 Implementations for C bindings to remaining accessibility
2765 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2768 changed return value of Action from void to boolean to
2769 bring in line with ATK.
2772 Changed getText funcions to return "out" start and end offsets.
2773 Changed getAttributes to take and offset and return the start
2774 and end offset of the attribute run.
2775 Changed getOffsetAtPoint and getCharacterExtents to take an
2776 enum describing whether coordinates are window or screen.
2779 libspi/action.c libspi/action.h libspi/editabletext.c
2780 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
2781 libspi/hypertext.c libspi/hypertext.h libspi/image.c
2782 libspi/image.h libspi/selection.c libspi/selection.h
2783 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
2784 libspi/value.c libspi/value.h
2785 Added server implementations for outstanding ATK interfaces
2786 not yet implemented.
2788 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2791 Added (missing) getName() method.
2792 Made nActions an attribute.
2793 * idl/EditableText.idl:
2794 Changed order of params in setAttributes.
2795 * idl/Hyperlink.idl:
2796 Removed getAnchor, added getURI.
2798 Changed attributes to methods, for efficiency
2799 (so that getting extents can be done in one call)
2800 * idl/Selection.idl:
2801 Changed nSelectedChildren to attribute, and re-indented.
2802 * idl/Table.idl: changed nrows, ncolumns, caption, summary
2804 * idl/Text.idl: reformatted to match our coding style.
2805 (temporarily?) removed getRowColumnAtOffset().
2806 Changed text selection API to support multi-select and
2807 non-contiguous selections, as in ATK.
2808 * idl/Value.idl: changed some methods to attributes.
2810 2001-08-24 Mark McLoughlin <mark@skynet.ie>
2812 * libspi/listener.c(impl_notify_event):
2813 BonoboUnkown_unref the source instead
2814 of bonobo_object_release_unref - the ORB
2815 handles the releasing.
2817 * configure.in: require ORBit-2.3.94 for
2820 2001-08-21 Bill Haneman <bill.haneman@sun.com>
2822 Tagged CVS repository 'EA_1_0'.
2823 * README.EARLY_ACCESS:
2824 Alphabetized acknowledgements list, and
2826 Listed some known dependencies of at-spi.
2828 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2830 * docs/at-spi-docs.sgml:
2831 * docs/at-spi-sections.txt:
2832 * docs/at-spi-overrides.txt: (Added zero-length file)
2833 Documentation improvements - gtk-doc should build
2834 docs for all implemented C bindings now.
2837 * cspi/spi.c: (New file)
2838 * cspi/spi_event.c: (New file)
2839 * cspi/spi_registry.c: (New file)
2840 * cspi/spi_accessible.c: (New file)
2841 * cspi/spi_application.c: (New file)
2842 * cspi/spi_component.c: (New file)
2843 Split spi_main.c into six parts, and included them from
2844 "spi.c". This is a bit of a hack, probably temporary,
2845 but required by gtk-doc, apparently.
2847 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2850 * docs/at-spi-docs.sgml:
2851 * docs/at-spi-sections.txt:
2853 Initial checkins/modifications for gtk-doc generation.
2856 Added (missing) interface query methods to Accessible's C binding.
2858 Added GenericInterface type definition.
2860 Added query for AccessibleComponent interface to focus event handler.
2861 Added printout of bounding box for focussed component.
2862 * libspi/component.c:
2863 Added partial implementation for AccessibleComponent to C binding.
2864 * idl/Application.idl:
2865 * libspi/registry.c:
2866 * libspi/listener.c:
2867 * libspi/application.c:
2868 * libspi/application.h:
2869 Changed "ID" attribute type from string to long.
2871 2001-08-19 Bill Haneman <bill.haneman@sun.com>
2875 Made method naming consistent: methods taking object args
2876 start with uppercase, other methods (except those using
2877 acronyms) start with lowercase. Underscores delimit between
2878 object names and method names:
2879 SPI_init() - uppercase since it starts with an acronym.
2880 getDesktopCount () - lowercase start since no object param0.
2881 Accessible_getName() - uppercase object type name, studlyCaps method
2885 Added gtk-doc documentation for all currently implemented
2886 methods in the C bindings API.
2888 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2890 * Makefile.am : changed build order to build test last.
2893 Changed "createEventListener" to "CreateEventListener".
2894 * libspi/accessibleeventlistener.c :
2895 Bugfix for addition of callbacks.
2896 * test/Makefile.am :
2897 * test/simple-at.c :
2898 Added new test that uses the C bindings API.
2900 * libspi/listener.c :
2901 * libspi/registry.c :
2902 * libspi/accessibleeventlistener.c :
2903 * at-bridge/bridge.c :
2904 Renamed member "target" of Accessibility_Event to "source",
2905 which is more descriptive.
2908 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2912 * cspi/Makefile.am :
2913 Added makefile support for at-spi/cspi directory.
2916 * cspi/spi-listener.h : (NEW FILE)
2917 Added support for/use of spi-listener.h.
2919 C bindings now build successfully, with no warnings.
2920 * libspi/accessibleeventlistener.h : (NEW FILE)
2921 * libspi/accessibleeventlistener.c : (NEW FILE)
2922 * libspi/Makefile.am :
2923 Added new object type "AccessibleEventListener"
2924 which inherits from Listener, and allows attachment
2925 of in-process callbacks (so that a client with a listening
2926 object instance can add functionality to the local
2927 implementation, dynamically).
2929 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2931 * libspi/accessible.c:
2932 Add implementation for get_index_in_parent().
2934 Added #include of "spi-roletypes.h", and
2935 added enumerated type AccessibleCoordType.
2936 Added definition for KeystrokeListener (function type).
2939 * cspi/spi-statetypes.h :
2940 * cspi/spi-roletypes.h :
2942 Added these headers, used by spi.h.
2944 Added code (NOTE: not yet built by make).
2946 2001-08-18 Mark McLoughlin <mark@skynet.ie>
2948 * libspi/Makefile.am: generate imodule
2949 at the same time as other idl compiler
2952 2001-08-17 Bill Haneman <bill.haneman@sun.com>
2953 * libspi/registry.c :
2954 * libspi/application.c :
2955 * idl/Application.idl :
2956 Made registration with toolkit an application method,
2957 which is required since each app has its own toolkit static
2958 environment. Thus the bridge must register for
2959 notification of toolkit events from each application in turn.
2960 Toolkit notifications are now successfully registered for, and
2961 sent to the listening at client.
2963 Changed toolkit event string to use hyphens rather than underscores.
2964 * libspi/listener.c :
2965 listner now gives more info in debug mode - it reports the
2966 name of the event received, as well as the name of the source.
2969 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2971 * libspi/registry.c :
2972 added more implementation for toolkit events.
2973 Fixed bug such that toolkit event registrations
2974 (via atk) use the whole event name string, not
2976 Removed a useless call to an ORBit_ method.
2977 * at-bridge/bridge.c :
2978 Removed unused local sbuf[] variable.
2980 We now register for Gtk:GtkWidget:button_press_event
2981 events as well as "focus:" events.
2983 Add some more API from Registry.idl that was missing,
2984 for keystroke listening, keystroke and mouse event
2985 synthesis, and enumeration of accessible desktops.
2987 2001-08-16 Michael Meeks <michael@ximian.com>
2989 * configure.in: use AM_GLIB_GNU_GETTEXT.
2991 * Makefile.am (SUBDIRS): kill intl.
2993 2001-08-15 Michael Meeks <michael@ximian.com>
2995 * registryd/Makefile.am: s/oaf/server/ relocate info file.
2997 * configure.in: upd.
2999 * configure.in: depend on a recent bonobo-activation that
3000 will find our server files ...
3002 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3004 * libspi/accessible.c : accessible_new() :
3005 Now we add the Component interface via bonobo_object_add_interface,
3006 if the contained AtkObject implements AtkComponent.
3007 * libspi/accessible.h : now include "component.h"
3008 * libspi/component.h :
3009 * libspi/component.c : added files - implementation of
3010 bonobo wrapper object for Accessibility/Component
3011 * libspi/listener.c :
3012 Added test code to check for Accessibility/Component:1.0
3013 interface and report whether it is implemented by the
3015 * libspi/registry.c :
3016 Now we check for not only the hash of the whole event
3017 string before relaying the event, we also check the
3018 "minor" event string (without the detail string).
3019 This allows event listeners to be registered against
3020 all events of a certain major+minor type, or just
3021 against a specific major+minor+detail type.
3022 * libspi/accessible.c :
3023 Added implementations for Accessible:get_parent(),
3024 Accessible:getChildCount(), and Accessible:getChildAtIndex().
3025 * libspi/registry.c :
3026 * libspi/listener.c :
3027 Replaced calls to Accessibility_Accessible_ref() and
3028 Accessibility_Accessible_unref() with
3029 calls to bonobo_object_dup_ref() and
3030 bonobo_object_release_unref(), so that the CORBA object
3031 is dup-ed and released when relayed, as well as the bonobo object.
3033 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3035 * libspi/Makefile.am,
3036 registryd/Makefile.am,
3037 at-bridge/Makefile.am.
3038 test/Makefile.am, configure.in:
3039 reverse previous changes.
3041 * /idl/Image.idl: fix typo.
3043 * test/Makefile.am: put DEBUG_FLAGS
3046 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3048 * test/app.c: use argv[0] instead of
3051 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3053 * libspi/Makefile.am,
3054 registryd/Makefile.am,
3055 at-bridge/Makefile.am.
3056 test/Makefile.am, configure.in:
3057 cleanup, replace individual LIBS/CFLAGS with
3058 AT_COMMON_{LIBS|CFLAGS}.
3062 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3064 * configure.in, libspi/Makefile.am:
3065 Change IDL path checking for bonobo-activation
3068 2001-08-15 Bill Haneman <bill.haneman@sun.com>
3070 * registryd/registry.c : separated event listeners to use
3071 3 separate lists (focus, window, toolkit). Began testing
3072 event names against hashes before relaying events.
3073 * test/at.c : now register for events of type "focus:"
3074 * test/app.c : now generate events of type "focus:"
3075 * at-bridge/bridge.c : register with ATK for focus events,
3076 and we now relay those focus events to any "focus:" listeners.
3077 This now works with the bridge as a GTK_MODULE when running test/at.
3078 * libspi/registry.c :
3079 * libspi/listener.c :
3080 now we ref event sources before propagating, and unref on receipt.
3081 * libspi/registry.c :
3082 some changes to internal structs, to support event typestring hashes.
3083 * text/app.c : changed the way the appname is generated.
3084 * cspi : added directory that will hold the C bindings library for
3085 non-CORBA/bonobo-savvy clients.
3086 * cspi/spi.h : header file that contains the function prototypes for the C binding.
3087 * idl/Component.idl : added in parameter to indicate coord system for
3088 geometry-related calls.
3089 * idl/Hyperlink.idl : added readonly n_links attribute
3090 * idl/Image.idl : changed methods to attributes.
3092 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3094 * at-bridge/Makefile.am: link against
3095 ../libspi/libspi.la instead of -lspi.
3097 * at-spi/test/app.c: include
3098 bonobo-activation.h. Use a default appname
3099 if one is not provided.
3101 2001-08-14 Bill Haneman <bill.haneman@sun.com>
3103 * idl/Registry.idl : temporarily changed register_Application
3104 to oneway, to work around issue with initial registration
3106 * idl/Application.idl : changed attribute "id" from readonly
3107 to read-write, since it needs to be assigned by Registry.
3108 * registryd/registryd.c : added call to set application id
3110 * registryd/registry.c : changed de-registration procedure to
3111 use CORBA_Object_hash() to find matching object ref in application
3112 lists and listener lists.
3113 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
3114 began distinguishing between event types (work in progress).
3116 2001-08-13 Bill Haneman <bill.haneman@sun.com>
3119 * libspi/application.c:
3120 Added implementations for get/set id, get_toolkitName,
3122 * registryd/registryd.c :
3126 Converted from use of OAF to bonobo-activation.
3127 * libspi/desktop.h :
3128 * libspi/desktop.c :
3130 Removed references to atksimpleobject, since base atkobject
3131 implementation now provides functionality we need.
3132 * libspi/atksimpleobject.c :
3133 * libspi/atksimpleobject.h :
3138 * at-bridge/Makefile.am
3139 * at-bridge/bridge.c
3142 Added directory "bridge" and contents, and added dependencies
3143 in Makefile.am/configure.in.
3144 Initial checkin of "at-bridge".
3145 This code is a GTK_MODULE which automatically registers
3146 GTK+ apps with the accessibility registry, using an object
3147 reference to the root ATK object.
3149 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3151 * po/Makefile.in.in: Remove. Again. If this
3152 doesn't get autogenerated - you need to update
3155 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3157 * po/Makefile.in.in: Add. Again.
3159 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3161 * libspi/accessible.c : added support for 'description' property.
3162 * libspi/accessible.c
3164 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3165 (since the two are now equivalent in libbonobo)
3173 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3174 Bonobo::Unknown as does Accessibility::Accessible.
3175 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3176 interface with Bonobo::Stream, since it was redundant with it.
3177 (The Stream returned by a StreamableContext object is expected to
3178 implement only a subset of Bonobo::Stream)
3180 2001-07-28 Anders Carlsson <andersca@gnome.org>
3182 * libspi/accessible.c (accessible_object_finalize): Change
3183 g_free to g_object_unref since the AtkObject is a GObject.
3185 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3187 * idl/Accessibility.idl: add new IDL files
3190 * idl/Action.idl: Definitions of actionable UI object
3191 * idl/Component.idl: Definitions of UI component geometry, etc.
3192 * idl/Hyperlink.idl: Defs of hyperlink behavior
3193 * idl/Image.idl: Def of accessible image
3194 * idl/Selection.idl: Definition of UI object with selectable children
3195 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3196 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3197 * idl/Text.idl: Interface defs for UI elements with complex textual content
3198 * idl/Value.idl: Definition of UI element that is a value controller or display
3200 2001-07-27 Michael Meeks <michael@ximian.com>
3202 * po/Makefile.in.in: remove autogenerated file from CVS.
3204 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3207 * idl/Registry.idl: include guard.
3209 * idl/Accessibility.idl: Add, and include all the other IDL
3212 * idl/*.idl: remove mass of pragmas etc.
3214 2001-07-26 Michael Meeks <michael@ximian.com>
3216 * registryd/Makefile.am (registryd_SOURCES): remove
3219 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3221 * libspi/.cvsignore, registryd/.cvsignore,
3222 test/.cvsignore: updated.
3224 * po/Makefile.in.in: gettext update.
3226 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3228 * initial CVS checkin
3230 2001-06-29 Michael Meeks <michael@ximian.com>
3232 * configure.in: add AM_CONFIG_HEADER to gen config.h