1 2002-10-01 Bill Haneman <bill.haneman@sun.com>
4 Update version number to 0.4 for Beta2.
6 * libspi/accessible.c, libspi/accessible.h:
7 Expose spi_accessible_construct, to enable libgail-gnome
8 construction from spi_accessible subtype.
11 Workaround for bug in some non-gnome-compliant window managers
12 which made magnifier resize improperly.
14 2002-09-01 Bill Haneman <bill.haneman@sun.com>
16 * libspi/accessible.c: (spi_accessible_new) :
17 Move the test for SPI_IS_REMOTE_OBJECT to
18 spi_accessible_new_return, fixing a bug and compile time warning.
20 2002-01-08 Michael Meeks <michael@ximian.com>
22 * registryd/registry.c (parse_event_type): remove strndup.
24 * libspi/Makefile.am (libspi_la_SOURCES): remove
25 sources already included in the headers section.
29 * libspi/spi-private.h: add.
31 * registryd/registry.c: update to moved list iterators.
33 2002-01-05 Michael Meeks <michael@ximian.com>
35 * test/simple-at.c (main): upd. auto-module set to atk-bridge
37 * test/test-simple.c (main): ditto.
39 2002-01-04 Michael Meeks <michael@ximian.com>
41 * libspi/accessible.c (spi_accessible_new): remove 2nd,
44 * registryd/registry.c
45 (get_listener_list): impl.
46 (impl_accessibility_registry_register_global_event_listener):
47 re-impl. to simplify using ~, remove dodgy const cast off.
48 (parse_event_type): constify.
49 (impl_accessibility_registry_deregister_global_event_listener_all):
50 re-write, more efficiency and simplicity, kill re-enterancy
52 (compare_listener_corbaref, compare_corba_objects),
53 (compare_listener_quarks): define out.
54 (impl_accessibility_registry_deregister_global_event_listener):
55 re-write for effiency, and nail re-enterancy hazard.
56 (impl_accessibility_registry_get_desktop_list): impl.
57 (re_enterant_list_delete_link): impl.
58 (re_enterant_list_foreach): impl.
59 (remove_listener_cb): impl.
60 (_registry_notify_listeners): kill.
61 (notify_listeners_cb): impl.
63 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
64 (SPI_getDesktopList): impl.
66 * test/test-simple.c (test_desktop): test the methods.
68 2002-01-03 Michael Meeks <michael@ximian.com>
70 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
71 keystrings since we free them
72 (SPI_freeAccessibleKeySet): in here.
74 * libspi/accessible.c (spi_accessible_new): kill warning,
75 wonder what is going on with the constructor here.
77 2002-03-01 Bill Haneman <bill.haneman@sun.com>
79 * libspi/accessible.c (spi_accessible_new ()) :
80 Added check to see if AtkObject is an SpiRemoteObject before
81 creating an SpiAccessible.
83 2002-05-01 Bill Haneman <bill.haneman@sun.com>
85 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
86 Enable keygrabs using the Control modifier, now that they are
87 working properly (they were previously disabled).
90 Change the command keygrab for this demo to "Control+Alt", so as
91 to conflict with fewer other key commands on the system; this
92 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
94 Removed a pointlessly-chatty keylistener for unshifted keys
95 (shifted keys are still reported).
97 2002-02-01 Bill Haneman <bill.haneman@sun.com>
99 * libspi/remoteobject.h:
100 * libspi/remoteobject.c:
101 Added definitions for special AtkObject subtype, required for
102 support of remote components (specifically, used by BonoboControl
103 accessibility implementation).
105 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
107 * cspi/spi.h: synched relation types with ATK
109 * cspi/spi_accessible.c: Added implementations of
110 AcccessibleRelation_* methods
112 * idl/Accessibility_Relation.idl: added getRelationTypeName
113 method. Synched known relation types with ATK. Allowed for
114 relation type extension with the RELATION_EXTENDED type.
116 * libspi/relation.c: Provided implementations for
117 AccessibleRelation methods.
119 2002-01-01 Bill Haneman <bill.haneman@sun.com>
121 API tweaks for today's API 'freeze'.
124 Added placeholder functions to allow future compatible expansion
125 of the IDL interfaces.
127 * idl/Accessibility_Registry.idl:
128 Changed generateKeyEvent to generateKeyboardEvent. Changed
129 signature of this method to accept an optional keystring in
130 parameter (for complex text input synthesis) and changed use of
131 simple 'boolean' parameter in registerKeystrokeListener to a
132 struct, EventListenerMode.
134 * cspi/spi_accessible.c:
136 * cspi/spi_streamablecontent.c:
137 Added references to AccessibleStreamableContent interface, and
138 definition and implementation of AccessibleStreamableContent
141 * cspi/spi_registry.c:
143 Changed generateKeyEvent API to generateKeyboardEvent,
144 taking a new (optional) keystring parameter to support complex
149 Renamed directory (to better reflect its actual purpose, bridging
150 from at-spi to ATK). The .so module is also now named
153 * idl/Accessibility_Hypertext.idl:
154 * libspi/accessible.c:
155 * libspi/hypertext.h:
156 * libspi/hypertext.c:
157 Changed Accessibility_Hypertext to *not* derive from
160 * cspi/spi_registry.c:
161 Added list of legal event type names for 'window' events, which
162 completes the registry event API.
164 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
166 * at-bridge/bridge.c: Added registration for separate
167 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
168 signals. If either of the first two parameters to the generic
169 bridge signal handler are ints, they are passed on as event
170 details. This allows an AT to determine what text was inserted.
172 2001-12-21 Bill Haneman <bill.haneman@sun.com>
174 * registryd/deviceeventcontroller.c:
175 Fixed regressions in generateKeyEvent caused by the removal of
176 gdk_init from registryd; we now use pure X calls to connect to the
177 display, which makes sense because deviceeventcontroller already
178 uses a fair bit of X API (should eventually be migrated to a
179 'portability layer').
181 * registryd/desktop.c:
182 Fixed minor regression in spi_desktop_init, changed the way the
183 desktop name is being set to work with new spi_base API
184 (gobject-based, rather than AtkObject-based).
186 * registryd/Makefile.am:
187 Minor revision of makefile to use XTST_LIBS variable rather than
188 hard-wiring the Xtst LD_ADD element.
190 * test/keysynth-demo.c:
191 Tweaked an output message; added initialization of the
192 'keystrings' member of the "switch listener" key_set.
195 Squashed compile-time warning.
197 * libspi/accessible.c:
198 Cosmetic and formatting fixes, renamed a static method.
200 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
202 * libspi/accessible.c
204 * libspi/application.c
208 * libspi/editabletext.c
216 * registryd/desktop.c:
217 Changed SpiBase to contain a GObject pointer rather than an AtkObject
219 2001-12-17 Bill Haneman <bill.haneman@sun.com>
221 * idl/Accessibility_Registry.idl:
222 Added boolean member 'is_text' to DeviceEvent. This is for the
223 use of key events, and helps prevent ambiguity between composed
224 key strings and keysym names, since both may potentially be
225 returned in the 'event_string' member.
227 * at-bridge/bridge.c:
228 * registryd/deviceeventcontroller.c:
229 Use the 'is_text' member when notifying device event listeners.
230 Knon issue: composed characters are not dealt with correctly by
231 the global key listener implementation yet.
233 2001-12-17 Bill Haneman <bill.haneman@sun.com>
235 * at-bridge/bridge.c:
236 Namespaced local static methods to spi_atk_bridge_* where
237 previously named bridge_*, and spi_* elsewhere.
239 * at-bridge/bridge.c:
240 * cspi/bonobo/cspi-bonobo-listener.c:
241 Added demarshalling/conversion for string member of
242 Accessibility_DeviceEvent to AccessibleKeystroke.
244 * registryd/deviceeventcontroller.c:
245 Added code to fill the Accessibility_DeviceEvent key string value
246 member for global key events (i.e. from XGrabKey), to match
247 behavior of Accessibility_DeviceEvent from the toolkit key events
248 from the bridge. Fixed timestamp in global key event notifications.
251 Added printout of key event's string value to
252 report_ordinary_key_event, for demo/debugging purposes.
254 2001-12-15 Bill Haneman <bill.haneman@sun.com>
256 * idl/Accessibility_Registry.idl:
257 Removed Accessibility_KeyStroke structure in favor of generic
258 Accessibility_DeviceEvent structure.
259 Changed Accessibility_ControllerEventMask from a struct to an
262 * at-bridge/bridge.c:
263 Changed APIs to use DeviceEvent structure as above, and removed
264 bogus casting between these event structures.
266 * cspi/spi-listener.h:
267 Added keystring member of AccessibleKeystroke structure, to enable
268 matching on event "names" rather than only hardware codes and
272 Added keystrings member of AccessibleKeySet struct, to allow
273 matching on event names (as above).
274 Added declarations for SPI_createAccessibleKeySet and
275 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
276 event modmasks directly as unsigned ints rather than structs with
277 refcounts, in the DeviceEventController methods.
279 * cspi/spi_registry.c:
280 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
282 * cspi/spi-roletypes.h:
283 Added documentation of newly added SPI Roles.
285 * cspi/bonobo/cspi-bonobo-listener.c:
286 Changes in support of API changes above.
288 * libspi/accessible.c:
289 Converted APIs to use DeviceEvent structure (see IDL changes
292 * registryd/deviceeventcontroller.c:
293 Added DEControllerGrabMask structure to track keygrabs not only by
294 modmask but by keyset as well; this allows us to do "global"
295 (i.e. X) keygrabs on a per-key or keyset basis rather than always
296 grabbing on AnyKey and then filtering after-the-fact.
297 Bugfixes for event filtration mean that we don't get false matches
298 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
300 * registryd/deviceeventcontroller.c:
301 Namespaced a number of static methods to use spi_ prefix. Major
302 revision to internals of global (i.e. X) key grabs.
304 * registryd/deviceeventcontroller.h:
305 Removed keymask_list and added keygrabs_list to
306 SpiDeviceEventController struct.
309 Added use of SPI_createAccessibleKeySet API when creating a
310 listener for only one key. Attach a listener to "shift spacebar
311 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
312 X key event names to SPI key event names, so that listeners are
313 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
315 * test/keysynth-demo.c:
316 Changed (incorrect) use of X key event names (KeyPressed,
317 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
320 2001-12-12 Bill Haneman <bill.haneman@sun.com>
322 * libspi/accessible.c:
323 Convert all AtkRole enumerations to Accessibility_Role enums when
324 getting a role from an AtkObject.
326 * cspi/spi_accessible.c:
327 Complete the conversion of Accessibility_Role enums at runtime to
328 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
329 role enums correctly match those given in spi-roletypes.h.
330 Re-synchronize the local names list for AccessibleRole_getName ().
331 AccessibleRole_getName is now deprecated, since it duplicates the
332 more reliable Accessible_getRoleName.
333 Added some role types from Accessibility_Role.idl.
335 * idl/Accessibility_Role.idl:
336 Added some role types used by AtkRole.
338 2001-12-12 Bill Haneman <bill.haneman@sun.com>
341 * cspi/spi_registry.c:
343 * cspi/cspi-bonobo-listener.c:
344 Namespaced all methods that did not begin with an "SPI_" or
345 "Accessible" prefix to "SPI_".
348 Homogenized internal function namespace to "cspi_" for statics.
351 Patched tests to use the new CSPI API.
353 * docs/reference/cspi/at-spi-cspi-sections.txt:
354 Updated docs to reflect namespace changes, and added a number of
355 methods to the documentation.
357 * registryd/registry.c:
358 Changed use of strings and string hashes in listener event
359 matching and parse_event_string to use GQuark, which is guaranteed
362 * registryd/registry.h:
363 Squashed annoying warning.
365 * idl/Accessibility_Role.idl:
366 Extended range of available Accessibility_Role values.
368 * cspi/spi_accessible.c:
369 Re-ordered role names.
371 2001-12-12 Bill Haneman <bill.haneman@sun.com>
373 * idl/Accessibility_Value.idl:
374 Revert use of union back to CORBA_double, since the double type is
375 more efficient and can contain the other types without loss of
378 * idl/Accessibility_Accessible.idl:
379 Added method Accessibility:Accessible:getRoleName, to complement
380 Accessibility:Accessible:getRole.
382 * cspi/spi_accessible.c:
384 Added C binding for above, Accessible_getRoleName (), and changed
385 signature of Accessible_getRole () to return an AccessibleRole.
387 * cspi/spi-roletypes.h:
388 Changed AccessibleRole_getName to return a char * instead of a
389 const char *. This method is now at least temporarily deprecated
390 in favor of asking Accessibles for their RoleNames directly.
393 Revert to match Accessibility_Value.idl;
397 Change signature of AccessibleValue methods to use double rather
401 * cspi/spi_accessible.c:
402 Changed Accessible_getRole to return an AccessibleRole enum rather
403 than a UTF-8 string. The UTF-8 string can still be obtained via
404 AccessibleRole_getName ().
406 * test/test-simple.c:
407 Add test_action. Small fixup to match API change to Accessible_getRole.
410 Bugfix for get_action_from_servant ().
412 2001-12-11 Michael Meeks <michael@ximian.com>
414 * libspi/libspi.h: remove registry.h and
415 desktop.h, deviceeventcontroller.h
417 * libspi/Makefile.am: remove registry.[ch],
418 desktop.[ch], deviceeventcontroller.[ch]
420 * registryd/Makefile.am: add registry.[ch],
421 desktop.[ch], rename registryd.c to registry-main.c.
422 add deviceeventcontroller.[ch]
424 2001-12-11 Bill Haneman <bill.haneman@sun.com>
427 Replace setenv() call with putenv ().
429 * libspi/component.c:
430 Bugfix in AccessibleComponent_getExtents (),
433 2001-12-11 Michael Meeks <michael@ximian.com>
435 * libspi/image.c (impl_getImageExtents): impl.
436 (spi_image_class_init): upd.
439 (AccessibleImage_getImageDescription): fix daft bug
442 * test/test-simple.c (global_listener_cb): update
443 to only quit if not --poke
444 (main): catch --poke.
445 (validate_accessible): upd. dumping, call test_image
448 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
451 * idl/Accessibility.idl: update all IDL includes.
453 * idl/*.idl - rename to namespace - this sucks, blame
454 mjs' bad decision for oafd.
456 * test/test-simple.c (create_test_window): add more tests.
457 (create_tree): split this out.
458 (validate_accessible): bugfix.
460 2001-12-11 Michael Meeks <michael@ximian.com>
462 * cspi/bonobo/cspi-bonobo-listener.c:
463 (cspi_kestroke_listener_unref),
464 (cspi_event_listener_unref): impl. undoing previous
465 homenous environment - for Bill.
467 * cspi/spi_table.c (long_seq_to_array): use
470 * cspi/spi_main.c: split out all bonoboish bits into
473 * cspi/spi-impl.h: upd. typedefs.
475 * cspi/spi_registry.c: update to lowlevel API,
476 return booleans to indicate success in some places.
478 * cspi/spi_event.c: update to lowlevel API.
480 * cspi/bonobo/Makefile.am: add.
482 * cspi/bonobo/cspi-lowlevel.h: add
484 * cspi/bonobo/cspi-bonobo.c: add
486 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
488 * cspi/Makefile.am: remove spi-listener-impl.[ch],
489 (SUBDIRS): add bonobo, link in the libs.
491 * cspi/spi-util.c: kill this file.
493 * TODO: merge in my bits.
495 2001-12-11 Michael Meeks <michael@ximian.com>
497 * test/test-simple.c (test_value, test_table, main):
498 remove unused variables causing warnings.
500 * configure.in: cleanup checks - require gail.
502 2001-12-11 Bill Haneman <bill.haneman@sun.com>
505 Changed Value interface to use SValue (scalars) rather than
506 assuming all values are floats. This allows floats, doubles,
507 longs, shorts, and unsigned values to be manipulated.
508 Introduced Accessibility:SValue union.
511 Updated to use new API above, and to work correctly with GValues
512 of different types in AtkValue.
515 Updated to use new API above. cspi's API is as yet unchanged.
518 Updated the Value revision action item.
520 2001-12-10 Bill Haneman <bill.haneman@sun.com>
522 * test/test-simple.c:
523 Added test_table (GtkTreeView widget in test window to follow).
524 Un-commented test_value, added GtkRange widget.
525 Added GtkTreeView widget with GtkListStore. It passes regression
526 test but leaks one SPI object for some reason.
529 Fixed bug in impl__set_currentValue.
531 2001-12-10 Michael Meeks <michael@ximian.com>
533 * cspi/spi_text.c: audit for exception handling,
534 tolerating NULL object references safely etc.
536 * cspi/spi_value.c: ditto.
538 * cspi/spi_table.c (AccessibleTable_getSummary),
539 (AccessibleTable_getAccessibleAt),
540 (AccessibleTable_getRowHeader),
541 (AccessibleTable_getColumnHeader),
542 (AccessibleTable_getCaption): fix bugs hidden by
544 (long_seq_to_array): impl.
545 (AccessibleTable_getSelectedRows),
546 (AccessibleTable_getSelectedColumns): use it.
548 2001-12-10 Bill Haneman <bill.haneman@sun.com>
551 Added a TODO list (rough and short for now).
553 * cspi/spi_hyperlink.c:
554 * cspi/spi_hypertext.c:
555 Fixed macro name typos, and remove use of obsolete macro in
556 AccessibleHyperlink_getLink.
559 * cspi/spi_accessible.c:
560 * cspi/spi_application.c:
561 * cspi/spi_component.c:
562 * cspi/spi_selection.c:
565 Documentation fixes (removed return values from ref/unref methods).
567 2001-12-10 Michael Meeks <michael@ximian.com>
569 * cspi/spi_action.c: audit for exception handling,
570 tolerating NULL object references safely etc.
572 * cspi/spi_accessible.c: ditto.
574 * cspi/spi_component.c: ditto.
576 * cspi/spi_editabletext.c: ditto.
578 * cspi/spi_hyperlink.c: ditto.
580 * cspi/spi_hypertext.c: ditto.
582 * cspi/spi_image.c: ditto.
584 * cspi/spi_selection.c: ditto.
586 2001-12-10 Michael Meeks <michael@ximian.com>
588 * configure.in: use cspi/libspi.pc.in instead.
590 * Makefile.am (pkgconfig_DATA): upd. to match.
592 * test/simple-at.c (report_focus_event): kill hacks around
593 bad return values, use putenv not setenv
595 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
596 fire ChildGone - I killed it.
599 (impl_accessibility_component_get_extents): remove
602 * idl/Accessible.idl: kill ChildGone exception.
604 * cspi/*.[ch]: kill int return from ref / unref.
606 * cspi/spi_main.c (cspi_object_add_check): fold into
607 (cspi_object_add): here.
609 * cspi/spi_component.c (AccessibleComponent_getExtents):
610 handle exceptions elegantly.
612 * cspi/spi-private.h (cspi_check_ev_return),
613 (cspi_return_if_fail): impl.
615 * cspi/spi_accessible.c: use extensively.
616 (AccessibleStateSet_equals): add direct compare check.
618 * cspi/spi_selection.c: tolerate NULL objs, and check
619 exceptions before return.
621 * cspi/spi-util.c (cspi_warn_ev): rename to
622 (cspi_check_ev): this & don't pass ev in; no point.
624 2001-12-10 Michael Meeks <michael@ximian.com>
626 * test/test-simple.c: use putenv not setenv
627 (get_environment_vars): more chatty if you're not using
630 * test/simple-at.c: do the setenv so more people see the
633 2001-12-10 Bill Haneman <bill.haneman@sun.com>
636 Changed check of CORBA_environment on notification to be a warning
637 instead of an error for the moment, since we can recover from this
638 error when caused by a queued notification from a dead app.
641 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
642 used by all current implementors of AtkValue), and coerce to
643 CORBA_float. (Proper general case fix may require change to Value.idl).
645 2001-12-09 Bill Haneman <bill.haneman@sun.com>
649 * cspi/spi_accessible.c:
650 Documentation fixes: added user_data params to documentation for
651 listeners and callbacks.
653 * cspi/spi_accessible.c:
654 Changed AccessibleStateSet_compare to return a
655 StateSet rather than return the difference set into a third parameter.
658 2001-12-09 Bill Haneman <bill.haneman@sun.com>
661 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
662 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
666 Remove subdirectory po from SUBDIRS for now.
668 * at-bridge/bridge.c:
669 Beefed up a couple of debug printouts.
670 One-line fix for signal notification name formatting.
672 * libspi/accessible.c:
673 Added assertion to spi_accessible_new ().
675 * libspi/application.c:
676 Put #ifdef qualifiers around a printf.
679 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
681 * registryd/Makefile.am:
683 Replaces use of XML_I18N_MERGE_SERVER_RULE with
684 INTLTOOL_SERVER_RULE macro.
687 Added an event listener for several ATK signals, for
688 testing and debugging. Removed a few g_warnings.
689 Added test output if focussed item implements the Value interface.
691 * test/test-simple.c:
692 Added test_value () function (known not to pass at the moment, so
693 not actually called yet.
695 2001-12-08 Michael Meeks <michael@ximian.com>
697 * at-bridge/bridge.c (bridge_focus_tracker),
698 (emit_eventv): fix the same ref. leak.
699 (register_atk_event_listeners): don't leak.
701 * cspi/spi-listener-impl.c (cspi_event): more
702 protection from client code.
704 * test/test-simple.c (test_desktop): unref the app.
706 * test/Makefile.am: upd. TESTS.
708 * at-bridge/bridge.c (bridge_exit_func): release the registry.
710 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
712 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
714 * cspi/spi_registry.c: constify in strings.
715 (deregisterGlobalEventListenerAll): don't release the ref.
717 * cspi/spi.h: start removing redundant / conflicting
718 gtkdoc comments, making the API readable at a glance :-)
720 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
722 * test/keysynth-demo.c (keysynth_exit, main): upd.
724 * test/simple-at.c (main, simple_at_exit): upd.
726 * test/test-simple.c (unutterable_horror): kill.
727 (utterable_normal_derefs): kill.
728 (main): upd & do a setenv before gtk_init, so that we
729 can use memprof - and to save the pain of remembering
730 this, if we're running under memprof - don't exit.
732 * cspi/spi_main.c (SPI_exit): return exit status
734 (SPI_event_quit): impl.
735 (SPI_event_main): simplify.
736 (cspi_is_gnome_app): kill.
737 (SPI_init): kill isGNOMEapp arg.
739 * at-bridge/bridge.c (register_atk_event_listeners):
740 re-instate the unref.
741 (bridge_exit_func): don't re-activate the registry,
742 protect vs. theoretical re-entry, use the
743 AT_BRIDGE_SHUTDOWN env. var to determine whether to
744 assert a clean shutdown - for regression tests.
746 2001-12-08 Abel Cheung <maddog@linux.org.hk>
748 * configure.in: Comment out dummy i18n support for now,
749 otherwise it fails to build.
750 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
751 EXTRA_DIST. They are missing in tarball.
753 2001-12-07 Michael Meeks <michael@ximian.com>
755 * util/magnifier.c: kill bonobo activation reg. race.
758 (impl_accessibility_component_get_extents): make it match
761 * libspi/registry.c (_registry_notify_listeners):
762 re-remove X headers & reconcile conflicts.
763 (spi_listener_struct_free): bad conflict resolve.
764 (impl_accessibility_registry_register_application):
765 more bad merging fixed.
766 (impl_accessibility_registry_deregister_application): ditto.
767 (spi_registry_new): ditto.
768 (spi_registry_init): don't have an applications field.
770 [ merge fixups2 branch to here ]
771 2001-12-07 Michael Meeks <michael@ximian.com>
773 * test/simple-at.c (report_focus_event),
774 (report_focussed_accessible): remove g_warning debug.
776 2001-12-07 Michael Meeks <michael@ximian.com>
778 * test/test-simple.c (validate_tree): comment out some checks.
779 (test_desktop): app now not registered idly - horay.
781 2001-12-07 Michael Meeks <michael@ximian.com>
783 * cspi/spi_registry.c
784 (registerAccessibleKeystrokeListener): clean, stop it leaking
785 great swathes of memory, and device event controller references.
786 ensure we always pass valid sequences.
787 (deregisterAccessibleKeystrokeListener): ditto.
788 (generateKeyEvent): upd.
790 * at-bridge/bridge.c (bridge_key_listener): handle
791 registry dead exception gracefully.
792 (bridge_focus_tracker, emit_eventv): free ev.
794 * test/simple-at.c (report_focus_event): fix polarity.
796 * libspi/application.c (notify_listeners): kill the ev
797 argument, and make sure we init the ev we use.
798 (spi_application_object_event_listener): split out a chunk
799 (get_atk_object_ref): here & fixup.
800 (reverse_lookup_name_for_toolkit_event): make const.
801 (spi_application_toolkit_event_listener): fixup, kill leaks
804 * at-bridge/bridge.c (register_atk_event_listeners):
805 don't unref the noop object - causes grief.
807 * libspi/registry.c: remove the X headers.
808 turn off the debug churn.
810 * libspi/accessible.c (spi_accessible_new_return): only
811 release the ref if we are supposed to [doh]
813 * test/simple-at.c (report_button_press, report_focus_event):
814 guard vs. unexpected exit.
816 * at-bridge/bridge.c (gtk_module_init): prune printf.
817 (bridge_exit_func): fix app unref.
819 * libspi/Makefile.am: don't install registry or desktop.h
821 * libspi/*.h: update includes.
823 * libspi/application.h: don't include ourself, or
824 other redundant headers.
826 2001-12-06 Michael Meeks <michael@ximian.com>
828 * libspi/accessible.c
829 (get_accessible_from_servant): impl.
830 Upd. all CORBA impl.s to use it killing cut and paste.
832 * cspi/spi_main.c (cspi_cleanup): guard vs. double
834 (SPI_init): register atexit cleanup handler here.
836 2001-12-06 Michael Meeks <michael@ximian.com>
838 * at-bridge/bridge.c (gtk_module_init): g_error on
841 2001-12-06 Michael Meeks <michael@ximian.com>
843 * at-bridge/bridge.c (gtk_module_init): some sort of
844 confusing merge clash - reverted.
845 (bridge_idle_init): ditto.
847 * test/test-simple.c (main, utterable_normal_derefs):
848 merge from Bill - somehow not committed.
850 2001-12-06 Michael Meeks <michael@ximian.com>
852 * libspi/value.c (spi_value_class_init): upd.
853 (spi_value_finalize): kill.
855 * libspi/table.c (spi_table_finalize): kill.
856 (spi_table_interface_new): upd.
857 (spi_table_class_init): upd.
858 (get_table_from_servant): impl.
859 Upd. all CORBA impl.s to use it killing yet more cut and paste.
861 * libspi/selection.c (spi_selection_finalize): kill.
862 (spi_selection_interface_new): upd.
863 (spi_selection_class_init): upd.
864 (get_selection_from_servant): impl.
865 Upd. all CORBA impl.s to use it killing yet more cut and paste.
867 * libspi/relation.c (spi_relation_finalize): kill.
868 (spi_relation_class_init, spi_relation_new): upd
870 * libspi/image.c (spi_image_finalize): kill.
871 (spi_image_class_init): upd.
872 (spi_image_interface_new): upd.
873 (get_image_from_servant): impl.
874 Upd. all CORBA impl.s to use it killing yet more cut and paste.
876 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
877 (spi_hyperlink_finalize): kill.
878 (spi_hyperlink_new): upd.
879 (get_hyperlink_from_servant): impl.
880 Upd. all CORBA impl.s to use it killing yet more cut and paste.
882 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
883 (spi_hypertext_finalize): kill.
884 (spi_hypertext_class_init): upd.
885 (get_hypertext_from_servant): impl.
886 Upd. all CORBA impl.s to use it killing yet more cut and paste.
888 * libspi/editabletext.c (spi_editable_text_finalize): kill.
889 (spi_editable_text_interface_new): upd.
890 (get_editable_text_from_servant): impl.
891 Upd. all CORBA impl.s to use it killing yet more cut and paste.
893 * libspi/text.c (get_text_from_servant): impl.
894 All impls - update to use it killing more cut and paste,
895 also fix bad string returns on duff args ( a somewhat
896 impossible case to handle - but hey ).
897 (spi_text_construct): impl.
898 (spi_text_interface_new): upd.
899 (spi_text_object_finalize): kill.
902 (accessibility_component_object_finalize): kill.
903 (spi_component_class_init): upd.
904 (get_component_from_servant): impl. helper to kill cut & paste.
905 (impl_accessibility_component_contains):
906 (impl_accessibility_component_get_accessible_at_point):
907 (impl_accessibility_component_get_position):
908 (impl_accessibility_component_get_extents):
909 (impl_accessibility_component_get_mdi_z_order):
910 (impl_accessibility_component_get_layer):
911 (spi_component_interface_new): upd.
913 * libspi/action.c (spi_action_finalize): kill.
914 (spi_action_class_init): upd. inherit from SpiObject.
915 (spi_action_interface_new): upd.
916 (get_action_from_servant): impl. helper to reduce cut & paste.
917 (impl_getKeyBinding, impl_getName, impl_doAction),
918 (impl_getDescription): Use it everywhere.
920 * cspi/spi_main.c (get_live_refs): a pointer hash.
921 (spi_object_hash, spi_object_equal): comment out.
922 There are issues with CORBA object hashing that need
925 * libspi/application.c (spi_application_init),
926 (spi_application_new): upd.
928 * libspi/accessible.c (spi_accessible_object_finalize): kill.
929 (spi_accessible_class_init): upd.
930 s/accessible/object/ in epv methods.
932 2001-12-05 Bill Haneman <bill.haneman@sun.com>
934 * at-bridge/bridge.c:
935 Reorder the bridge initialization into the bridge gtk_module_init,
936 an immediate call to bridge_register_app, and an idle_add for
937 register_atk_event_listeners (the only code that *must* wait until
938 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
939 the activation, creates the application's Accessible object, and
940 queues the bridge_idle_init function. Restored call to
941 Accessibility_Registry_deregisterApplication().
942 Prior to making this call we obtain a new reference to the
943 registry, which is a temporary hack that helps us handle apps that
944 shut down the bonobo mainloop before we get there.
947 Fix string leakage in debug block, and don't segv if a an app
948 dies before its event notifications have been propagated.
951 Modify cspi_check_ev() to call g_warning() rather than g_error(),
952 as stopgap measure until we get proper exception handling when
953 objects die during or before interrogation.
957 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
958 Also changed default value of is_gnome_app to TRUE.
961 * test/keysynth-demo.c:
962 Changed use of SPI_init and SPI_event_main to reflect API change above.
965 Made report_focus_event check the warning value from getName
966 before reporting on focussed accessible; simplifies handling of
967 notifications from dead objects.
969 * test/test-simple.c: (Changes not in this patch since source is
972 2001-12-05 Michael Meeks <michael@ximian.com>
974 * registryd/registryd.c (main): protect against
975 bonobo-activation startup race condition.
977 * cspi/spi_main.c (cspi_object_add_check): cope
978 with the exception elegantly.
980 * idl/Accessible.idl: decl. ChildGone
982 * libspi/desktop.c (spi_desktop_dispose): impl.
983 (spi_desktop_class_init): upd.
984 (spi_desktop_add_application),
985 (spi_desktop_remove_application),
986 (abnormal_application_termination): impl.
987 (impl_desktop_get_child_at_index): re-impl.
990 (impl_accessibility_registry_deregister_application),
991 (impl_accessibility_registry_register_application):
992 kill excessive debug clutter.
994 * test/test-simple.c (test_misc): test some NULL
995 tolerance. (main): upd.
997 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
998 implements no interfaces - so let's not crash.
1000 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
1002 * libspi/accessible.c (spi_accessible_new_return): impl.
1003 helper to calm the cut and paste, to cope with
1004 NULL AtkObjects effectively and efficiently, and to kill
1005 the referencing bugs.
1007 * libspi/table.c (impl_getAccessibleAt),
1008 (impl_getRowHeader, impl_getColumnHeader): upd.
1010 * libspi/hyperlink.c (impl_getObject): upd.
1012 * libspi/accessible.c
1013 (impl_accessibility_accessible_get_child_at_index): upd.
1015 * libspi/component.c
1016 (impl_accessibility_component_get_accessible_at_point): upd.
1018 * test/test-simple.c (test_editable_text, test_text): impl.
1021 * cspi/spi_editabletext.c
1022 (AccessibleEditableText_insertText): constify.
1024 * test/test-simple.c (focus_me): make more robust.
1026 * libspi/accessible.c: remove some printfs in methods that
1027 we test and work fine, so we can get a clean tree dump.
1029 * test/test-simple.c (validate_accessible),
1030 (validate_tree): make tree dumping pretty too.
1032 * at-bridge/bridge.c (bridge_signal_listener): upd. so
1033 it builds without debug on.
1035 * test/test-simple.c (validate_accessible): fix the most
1038 * cspi/spi_main.c (spi_object_release): leave the nicely
1039 blanked memory around if in debug mode.
1041 * cspi/spi-listener-impl.c (cspi_event): use add_check.
1043 [committed to fixups2]
1044 2001-12-05 Michael Meeks <michael@ximian.com>
1046 * libspi/editabletext.c
1047 (spi_editable_text_class_init): g_type_class_peek_parent,
1048 not interface peek - so we finalize cleanly.
1050 * libspi/accessible.c (spi_accessible_new): kill debug.
1052 * test/test-simple.c (validate_accessible): fix ref.
1053 leak, print strings before freeing them; sigh, comment a
1054 chunk out due to strangeness.
1055 (validate_tree): unref the child after use.
1057 * cspi/spi_component.c (AccessibleComponent_getLayer):
1058 add missing break statement, switch on zlayer not the
1059 uninitialized retval.
1061 * cspi/spi_main.c (cspi_object_add): add assert, local ref
1062 before (possibly re-entering) remote unref.
1064 * test/simple-at.c (main): unref the desktop.
1066 * cspi/spi_accessible.c (cspi_accessible_is_a): move
1069 * cspi/spi_main.c (cspi_accessible_is_a): here to
1070 isolate bonobo API usage more.
1072 * libspi/registry.c (impl_accessibility_registry_register_application):
1073 prune bogus comment.
1075 2001-12-04 Michael Meeks <michael@ximian.com>
1077 * test/test-simple.c (validate_tree): upd.
1078 IndexInParent check to make it more lucid.
1079 (validate_accessible): dump the tree.
1081 * libspi/accessible.c (de_register_public_ref),
1082 (get_public_refs): impl.
1083 (spi_accessible_new): make more efficient & intuitive.
1084 Now IndexInParent check works.
1086 2001-12-04 Michael Meeks <michael@ximian.com>
1088 * cspi/spi-util.h: remove.
1090 * cspi/spi.h: move SPI_freeString here
1092 * libspi/component.c (impl_accessibility_component_get_layer):
1094 (impl_accessibility_component_get_mdi_z_order): ditto,
1095 return -1 on error - is this ok ?
1097 * test/test-simple.c (test_application): impl.
1099 * cspi/spi_accessible.c (Accessible_getApplication),
1100 (Accessible_isApplication): impl.
1102 * libspi/registry.c (spi_listener_struct_free): release
1103 the CORBA reference too.
1105 * libspi/accessible.c
1106 (impl_accessibility_accessible_get_parent): fix ref leak.
1108 * libspi/registry.c (spi_registry_new): make the registry
1109 immortal - we don't want it to go away ever.
1111 * libspi/application.c
1112 (spi_accessible_application_finalize): impl. cleanup.
1114 * cspi/spi_registry.c
1115 (deregisterGlobalEventListenerAll),
1116 (deregisterGlobalEventListener),
1117 (deregisterAccessibleKeystrokeListener): fix ref leak.
1119 * cspi/spi_main.c (SPI_init): remove redundant ref.
1121 * test/test-simple.c (unutterable_horror): impl. to force a
1126 (impl_accessibility_registry_deregister_application): release
1127 the application when we de-register it.
1129 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1130 until we have the infastructure to get it right.
1132 2001-12-03 Michael Meeks <michael@ximian.com>
1134 * libspi/Makefile.am: only build eventlistener.[ch]
1136 * libspi/accessible.c
1137 (impl_accessibility_accessible_get_child_at_index): don't leak.
1139 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1140 before we hit the idle handler.
1142 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1143 debugging than exit.
1145 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1147 * libspi/listener.c (impl_notify_event): check source
1148 not NIL before unref.
1150 * libspi/registry.c (impl_registry_notify_event): ditto.
1152 * libspi/eventlistener.c
1153 (impl_accessible_event_notify_event): unref the source.
1155 * libspi/accessibleeventlistener.c
1156 (impl_accessible_event_notify_event): unref the source.
1158 * idl/Event.idl: remove 'hash_id' attribute - of no
1161 * libspi/application.c (notify_listeners): upd list
1163 (spi_application_object_event_listener),
1164 (spi_application_toolkit_event_listener): upd to do correct
1168 (_registry_notify_listeners): update.
1169 (parse_event_type): this method also leaks like a sieve.
1170 (impl_accessibility_registry_deregister_global_event_listener):
1171 fix ETYPE_WINDOW case.
1173 * libspi/application.c
1174 (impl_accessibility_application_register_object_event_listener):
1177 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1179 * libspi/hypertext.c (impl_getLink): ditto.
1181 * cspi/spi_main.c (cspi_object_add): remove
1182 bogus CORBA_Object_duplicate.
1184 * cspi/spi-listener-impl.c (cspi_event): dup/ref
1187 * cspi/spi_accessible.c
1188 (Accessible_getRelationSet): fix leak / referencing issue.
1190 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1191 (cspi_object_add, cspi_object_unref): upd.
1192 (spi_object_release, get_live_refs): impl.
1193 (cspi_cleanup): simplify.
1195 * *.[ch]: s/boolean/SpiBoolean/
1197 * cspi/spi_accessible.c (role_names): actualy order so it
1198 corresponds with the enum !
1200 * test/test-simple.c (test_roles): check some role strings
1201 vs. enums to detect offset errors.
1203 2001-12-01 Michael Meeks <michael@ximian.com>
1205 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1207 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1209 (Accessible_getChildAtIndex): use cspi_add_check so we
1210 check the ev before using a (possibly) invalid value.
1212 * libspi/accessible.c
1213 (impl_accessibility_accessible_get_parent): don't segv
1216 * at-bridge/bridge.c (gtk_module_init): upd.
1217 (bridge_property_event_listener): don't leak strings
1219 (bridge_state_event_listener),
1220 (bridge_property_event_listener): don't use a static
1221 buffer in case of recursive event emission &
1222 re-enterancy - split out the swathe of cut and paste
1224 (emit_eventv): and fix 2 ref leaks here & comply to the
1226 (bridge_register_app): rename to
1227 (bridge_idle_init): this and kill arg parsing, split
1228 various inits & bonobo-activation registration to module
1229 init time, kill referencing error.
1230 (bridge_exit_func): fix the same leak.
1231 (bridge_focus_tracker): don't leak event structures
1233 (bridge_signal_listener): more leakage and cut & paste
1235 (bridge_key_listener): return the result - FIXME is
1236 this polarity correct ?
1237 (accessibility_keystroke_from_atk_key_event): rename
1238 (accessibility_init_keystroke_from_atk_key_event): and stop
1240 (gtk_module_init): return a value - not that it is checked by
1242 (bridge_key_listener): register my horror at casting between
1243 IDL defined structs.
1244 (bridge_get_registry): kill - not used.
1246 * cspi/spi_accessible.c (Accessible_getRole): make return const.
1248 * test/test-simple.c (test_roles): impl.
1249 (test_desktop, validate_accessible, validate_tree): impl.
1251 * cspi/spi_accessible.c (role_names): fixup bogus
1252 MAX_ROLES setup, make constants const for efficient linkage
1253 (AccessibleRole_getName): conform to coding style, make
1256 2001-11-30 Michael Meeks <michael@ximian.com>
1258 * cspi/spi.h: add missing prototype.
1260 * libspi/registry.c (spi_listener_struct_new): fix sig.
1262 * test/Makefile.am: add test-simple
1264 * test/test-simple.c: add
1266 * test/test.sh: add.
1268 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1270 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1271 do it straight - since otherwise we often get an activation race.
1273 [ work before Bill duplicated a chunk of it ... ]
1274 2001-11-30 Michael Meeks <michael@ximian.com>
1276 * libspi/keystrokelistener.c
1277 (spi_keystroke_listener_class_init): fixup arg
1280 * libspi/eventlistener.c
1281 (spi_event_listener_class_init): ditto.
1283 * tests/test.sh: add.
1285 * cspi/spi-listener-impl.h: update macros.
1287 * cspi/spi-listener-impl.c
1288 (cspi_event_listener_remove_callback): add
1289 correct pre-conditions.
1291 * cspi/spi_main.c (SPI_exit): guard vs. double
1292 exits, exit the mainloop nicely.
1293 (SPI_event_main): make more sense.
1294 (SPI_init): move the atexit evilness here so we
1295 always do it (yuck).
1296 (SPI_event_main): upd.
1298 * test/simple-at.c: update for listener changes.
1300 * registryd/registryd.c (main): prune kruft.
1302 * libspi/libspi.h: upd.
1304 * libspi/eventlistener.[ch]: rename broken macros.
1306 * libspi/accessibleeventlistener.[ch]: remove.
1308 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
1310 * test/test-simple.c: Add - automated tests.
1312 * cspi/spi-listener-impl.c (cspi_event),
1313 (cspi_key_event): add user_data to invoke.
1314 (cspi_keystroke_listener_finalize): impl.
1315 (cspi_keystroke_listener_class_init): upd.
1318 (createAccessibleEventListener),
1319 (AccessibleEventListener_addCallback),
1320 (createAccessibleKeystrokeListener),
1321 (AccessibleKeystrokeListener_addCallback): upd.
1323 * libspi/deviceeventcontroller.c
1324 (spi_device_event_controller_check_key_event): add public proto.
1327 (impl_accessibility_registry_deregister_global_event_listener):
1328 always init listeners.
1329 (_registry_notify_listeners): yes it is.
1331 * cspi/spi-listener-impl.c (cspi_key_event):
1333 (cspi_event_listener_finalize): impl.
1334 (cspi_event_listener_class_init): hook up.
1335 (event_handler_new, event_handler_free),
1336 (event_list_remove_by_callback): impl.
1337 (cspi_event_listener_remove_callback),
1338 (cspi_keystroke_listener_remove_callback),
1339 (cspi_keystroke_listener_add_callback),
1340 (cspi_event_listener_add_callback): upd.
1342 * libspi/keystrokelistener.c
1343 (keystroke_listener_object_finalize): kill
1344 (spi_keystroke_listener_class_init): upd.
1345 (spi_keystroke_listener_add_callback),
1346 (spi_keystroke_listener_remove_callback): kill,
1348 (impl_key_event): prune drasticaly.
1350 * libspi/eventlistener.c
1351 (spi_event_listener_add_callback),
1352 (spi_event_listener_remove_callback): kill, use
1354 (impl_accessible_event_notify_event): upd.
1355 (spi_event_listener_object_finalize): remove.
1357 * libspi/Makefile.am: use eventlistener.[ch]
1359 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1361 * libspi/registry.c (_registry_notify_listeners):
1362 Changed listener loop iteration to use preferred convention.
1363 Got rid of string memory leaks caused be calling g_strconcat
1364 inside function calls.
1366 * libspi/registry.c (parse_event_type):
1367 Stopped g_strconcat memory leaks, free the g_strsplit return,
1368 g_strdup the split pieces when used, etc.
1370 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1373 Change method 'compare' to return a 'difference set' rather than
1374 taking a StateSet as an out parameter (more Java-friendly).
1376 * idl/Accessible.idl:
1377 Added CORBA struct 'BoundingBox', to faciliate API changes below:
1379 * idl/Component.idl:
1381 Changed methods 'getExtents' and 'getImageExtents' in these
1382 interfaces to return a BoundingBox structure.
1383 (getPosition and getSize are redundant and possibly should be
1384 removed, rather than creating a corresponding Point struct.)
1386 * cspi/spi_component.c:
1387 Modify implementation of getExtents to reflect the above IDL
1392 Add (missing) AccessibleImage_getExtents () API.
1394 * docs/reference/cspi/at-spi-cspi-sections.txt:
1395 Added AccessibleImage_getImageExtents () to docs.
1397 2001-12-03 Bill Haneman <bill.haneman@sun.com>
1399 * idl/Component.idl:
1400 Added two methods, getLayer () and getMDIZOrder (), to reflect
1401 the new ATK methods atk_object_get_layer and
1402 atk_object_get_mdi_z_order. (Which arguably should be part of the
1403 AtkComponent API and AtkObject). Also added an enum,
1404 ComponentLayer, for the first method's return value.
1406 * libspi/component.c:
1407 Added implementations for these methods.
1409 * cspi/spi_component.c:
1411 Added cspi binding methods for above,
1412 AccessibleComponent_getLayer() and
1413 AccessibleComponent_getMDIZOrder().
1414 Added cspi enum 'AccessibleComponentLayer'.
1416 * docs/reference/cspi/at-spi-cspi-sections.txt:
1417 Added above methods to docs.
1421 Changed typedef for 'boolean' type (and all references to it) to
1422 SPIBoolean, to avoid keyword clashes with C++.
1425 Changed usages of 'boolean' to SPIBoolean.
1427 * test/keysynth-demo.c:
1428 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
1429 app), except where SPIBoolean is required by the callbacks API.
1431 2001-12-02 Bill Haneman <bill.haneman@sun.com>
1433 * cspi/spi_registry.c:
1434 Removed obsolete X event loop for passive keygrabs (which now
1437 * registryd/registryd.c:
1438 Removed unnecessary call to gdk_init() [cruft]. This also allows
1439 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
1442 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1444 * docs/reference/cspi:
1445 Included docs for SPI_freeString in generated documentation.
1448 Renamed spi_freeString to SPI_freeString, for consistency. Added
1449 documentation for this function.
1452 Renamed spi_freeString to SPI_freeString, for consistency.
1453 Removed obsolete method declaration string_from_corba_string.
1455 * test/keysynth-demo.c:
1456 Small tweak to comments.
1459 Stopped leaking the strings returned from CSPI.
1461 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1463 Merged Michael's branch (see his ChangeLog entries below).
1465 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
1466 bridge is alive, release on exit.
1468 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
1469 Fix type check macro.
1472 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
1475 Added is_gnome_app static, and method cspi_is_gnome_app(),
1476 so we can call the appropriate shutdown routine at exit in SPI_exit.
1478 * cspi/spi_main.c (cspi_object_ref):
1479 Duplicate the corba object passed in, since we're keeping it around.
1481 * cspi/SPI_exit.c, cspi_cleanup:
1482 Moved the releasing of the live refs to its own function, so we
1483 can put it in g_atexit (). Call the appropriate shutdown API
1484 depending on whethe calling client is a gnome app or not
1485 (bonobo_main_quit or CORBA_ORB_shutdown).
1487 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
1488 Unref the listener when this method is called, after
1489 deregistration. Updated the API docs to note this behavior.
1491 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
1492 Bugfixes: Ref the bonobo object when returning a parent or child
1493 reference, or an AccessibleRelation. Generally made sure
1494 BonoboObject refcount is incremented whenever we return an
1497 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
1498 Fixed typo/bug in signal declaration.
1500 * libspi/accessibleeventlistener.h:
1503 * libspi/application.c (spi_application_new):
1504 Fixed leak in initialization.
1507 Remembered to increment bonobo-object refcount when returning
1508 children (applications) from desktop object.
1509 Added (empty) finalize method.
1511 * libspi/deviceeventcontroller.c:
1512 Hold a ref to listeners inside DEControllerKeyListeners.
1513 Added dec_key_listener_free() method. Use prepend instead of
1514 append in key_listener list. Fixed some refcount madness and
1515 leaks in the listener registration/deregistration - deregistration
1516 now calls dec_key_listener_free() on listeners, and on the
1517 temporarily constructed dec_key_listener() used to perform the search/match.
1519 * libspi/hypertext.c (spi_hypertest_finalize):
1520 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
1521 class. Also fixed spi_hypertext_interface_new() and
1522 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
1524 * libspi/hypertext.h:
1525 Removed pointless and duplicate AtkObject pointer from
1528 * libspi/keystrokelistener.c:
1529 Fixed incorrect type of keystroke_listener_parent_class,
1530 renamed keystroke_listener_object_finalize to
1531 spi_keystroke_listener_object_finalize.
1532 Fixed typo in signal declaration
1533 (spi_keystroke_listener_class_init).
1535 * libspi/registry.c:
1536 Added funcsions spi_listener_struct_new() and
1537 spi_listener_struct_free() to help with memory management issues.
1538 We also now use these methods instead of gnew + poking stuff into
1539 the struct, and to decrement listener counts/free the listeners
1540 when deregistering them.
1541 Fix more refcount bugs in getDesktop() and
1542 getDeviceEventController().
1545 De-ref the desktop after enumerating the applications. Explicitly
1546 decrement the refcounts on the created listeners on exit (using
1547 _unref for keystroke listeners, and via the
1548 deregisterGlobalEventListenerAll command for other event
1551 2001-11-27 Michael Meeks <michael@ximian.com>
1553 * cspi/spi-listener.h: fixup enum.
1555 2001-11-27 Michael Meeks <michael@ximian.com>
1557 * cspi/spi-listener-impl.c (cspi_event_listener_new),
1558 (cspi_keystroke_listener_new): Use the cspi variants.
1560 2001-11-26 Michael Meeks <michael@ximian.com>
1562 * test/keysynth-demo.c: fix 2 compile warnings, missing
1565 * test/simple-at.c (report_focussed_accessible),
1566 (report_focus_event, report_button_press),
1567 (check_property_change, is_command_key),
1568 (report_ordinary_key_event, report_command_key_event): upd.
1570 * util/mag_client.h: include pre-requisites.
1572 * libspi/accessibleeventlistener.c
1573 (spi_event_listener_object_finalize): free any lingering
1576 * libspi/keystrokelistener.c
1577 (keystroke_listener_object_finalize): ditto.
1579 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1580 callbacks, with cspi types.
1582 * cspi/spi_event.c (createAccessibleEventListener): chain to
1583 (AccessibleEventListener_addCallback): here.
1584 (createAccessibleKeystrokeListener): chain to
1585 (AccessibleKeystrokeListener_addCallback): here.
1587 * libspi/keystrokelistener.c
1588 (spi_keystroke_listener_class_init): add signal.
1589 (impl_key_event): emit the event.
1590 (boolean_handled_accumulator): impl.
1591 (marshal_BOOLEAN__POINTER): add, gack.
1593 * libspi/accessibleeventlistener.c
1594 (spi_event_listener_class_init): add signal.
1595 (impl_accessible_event_notify_event): emit the signal &
1596 make the loop efficient.
1597 (spi_event_listener_add_callback): prepend the callback.
1599 * libspi/accessibleeventlistener.h: add an 'event' signal,
1600 decl type on callback.
1602 * libspi/keystrokelistener.h: ditto.
1604 * cspi/spi-listener.h: make methods typesafe and
1605 make them use the new event typedefs.
1607 * test/simple-at.c (report_focussed_accessible):
1608 include mag_client.h
1609 Use *(void *)text_interface not the other thing.
1611 * configure.in: add gtk to registryd bits - since we use
1614 * util/magnifier.c: include libbonobo.h
1616 2001-11-25 Bill Haneman <bill.haneman@sun.com>
1618 * test/keysynth-demo.c:
1619 Turned this into a simple scanning keyboard, to demonstrate the
1620 use of g_timeout_add () as a means of creating timers for
1621 scanning, and the use of GtkStyle for visually indicating when
1622 virtual keyboard elements are selected.
1624 keysynth-demo now listens to any keyboard keys with zero-valued
1625 keycodes (i.e. 'unused' keys) and interprets them as
1628 Reworked the shiftlatch code so that shift-down state isn't held
1629 for long periods (it's only synthesized immediately prior to
1630 the keysynth event it's modifying). Note that shiftlatch in this
1631 demo is a convenience, not intended to take the place of AccessX
1632 which is the better choice for getting 'sticky' modifier keys.
1634 * libspi/deviceeventcontroller.c:
1635 * at-bridge/bridge.c:
1636 * cspi/spi_registry.c:
1637 Removed some debug print stuff, and put other verbosity in #ifdef
1642 Implemented some more of the magnifier IDL for the simple
1643 magnifier: namely, getZoomRegionParams.
1644 Added mag_x and mag_y members to MagnifierData struct, aid of this
1646 Added GtkWindow::realize signal handler to magnifier, to keep it
1647 from receiving keyboard focus from the WM.
1649 2001-11-23 Mark McLoughlin <mark@skynet.ie>
1651 * cspi/spi-private.h: my guess at what michael forgot
1652 before he ran off to NZ :-)
1654 2001-11-23 Michael Meeks <michael@ximian.com>
1656 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
1657 comment out non existant method invoke so we link.
1659 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
1660 use bonobo_exception_get_text for more friendly warnings.
1662 * cspi/spi.c (Obj_Add): move into spi_main & rename
1663 spi_object_add; kill spi.c
1665 * cspi/spi_registry.c
1666 (deregisterGlobalEventListener),
1667 (deregisterGlobalEventListenerAll),
1668 (registerGlobalEventListener): fix exception leaks.
1670 * cspi/spi_main.c (spi_exception): impl. helper, so we
1671 don't leak exceptions.
1673 * cspi/spi_selection.c
1674 (AccessibleSelection_deselectSelectedChild): return the
1677 * cspi/spi_main.c (spi_ev): impl; hack - gack.
1678 (spi_registry): ditto.
1679 (SPI_init): guard against double inits.
1681 * cspi/*.c: use spi_ev (), and spi_registry () where
1682 appropriate - a temporary hack until we have something
1683 better. Use spi_object_add
1685 2001-11-22 Michael Meeks <michael@ximian.com>
1687 * cspi/Makefile.am: re organise, install the headers.
1689 * cspi/*.h: add G_BEGIN/END_DECLS
1691 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1694 Added non-preemptive keylistener for key events with no modifiers
1695 and shift-only modifier.
1697 * libspi/keystrokelistener.c:
1698 Removed some verbose diagnostics printout.
1700 * cspi/spi_registry.c:
1701 Fixed a bug that caused all key listeners to be registered as
1704 * libspi/deviceeventcontroller.c:
1705 Fixed bug that caused XGrabKey (preemptive key grab) to be called
1706 for non-preemptive key masks.
1709 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1711 * docs/reference/idl/at-spi-idl-docs.sgml:
1712 * docs/reference/idl/at-spi-idl-sections.txt:
1713 * docs/reference/idl/at-spi-idl-overrides.txt:
1714 Added missing files.
1716 * docs/reference/Makefile.am:
1717 removed idl from SUBDIRS until we can figure a way to get gtk-doc
1718 to scan the IDL files :-(
1723 Added .cvsignore files.
1725 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1727 * libspi/deviceeventcontroller.c:
1728 * libspi/keystrokelistener.c:
1730 * cspi/spi_registry.c:
1731 Added filters for KeySets, KeyEventSeq, and event types to key
1732 event dispatching, so listeners should only receive those events
1733 that they requested :-)
1735 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1740 * docs/reference:Makefile.am:
1741 * docs/reference/cspi:
1742 * docs/reference/cspi:Makefile.am:
1743 * docs/reference/cspi:tmpl:
1744 * docs/reference/cspi:tmpl:*.sgml:
1745 * docs/reference/idl:
1746 * docs/reference/idl:Makefile.am:
1747 * docs/reference/idl:at-spi-idl-sections.txt:
1748 * docs/reference/idl:at-spi-idl-docs.sgml:
1749 * docs/reference/idl:tmpl:
1750 * docs/reference/idl:tmpl:*.sgml:
1752 Restructured docs directory to allow separate 'reference' docs
1753 section, and forked idl and cspi docs. Added the sgml template
1754 files to CVS. Added the first sections/structural sgml for the
1757 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
1759 * configure.in, libspi/Makefile.am: find libXtst.
1761 2001-11-21 Michael Meeks <michael@ximian.com>
1763 * test/accessx-gui.c: s/spi_value/value/ - doh.
1765 * libspi/base.[ch]: add.
1767 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1769 * idl/Accessible.idl:
1770 * idl/Application.idl:
1773 Started gtk-doc cleanup on IDL.
1775 * libspi/deviceeventcontroller.c:
1776 Added and connected non-preemptive key notification from the
1777 toolkits (in addition to the pre-emptive support from XServer
1778 which we had before, but which causes 'focus flashing'). Filters
1779 are presently limited to key modifiers and global/non-global,
1780 KeySets are presently ignored, as are KeyEvent masks.
1782 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1783 structs into the persistant structure rather than just storing
1784 pointers to things that might not persist across servant
1787 The XGrabKey call now does async keygrabs, because synchronous
1788 ones were deadlocking with GDK_event code in a very nasty way.
1790 Added boolean to internal method notify_keylisteners, to indicate
1791 whether the event came from the 'toolkit source' or the 'global
1792 (XServer) source' - this is used in the notification process to
1793 determine which listeners to send the event to.
1795 deviceeventcontroller.c is now warning-free.
1797 * libspi/registry.c:
1798 Fixed regression in application de-registration.
1799 Also fixed some really brain-dead weirdness having to do with
1800 event dispatching - event structs are now duplicated before being
1801 re-marshalled in the dispatch to listeners. This also fixes a
1802 Solaris build problem.
1805 2001-20-11 Michael Meeks <michael@ximian.com>
1808 (impl_accessibility_registry_deregister_global_event_listener):
1811 * libspi/deviceeventcontroller.c
1812 (spi_device_event_controller_check_key_event): return
1813 FALSE on no virtual method.
1815 * libspi/*..h: make includes work on a correctly pathed install.
1817 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
1819 * libspi/application.h: kill unused ( and whacked out )
1820 gboolean *spi_application_set_id (AtkObject *app, long id);
1822 2001-20-11 Michael Meeks <michael@ximian.com>
1824 * libspi/*.[ch]: further convert to bonobo's type func
1825 macros, remove redundnant casts etc.
1827 * libspi/text.c s/accessibility_text/spi_text/g,
1828 re-order to de-cruft.
1830 * libspi/hypertext.c: re-order to kill a huge slew
1831 of redundant forward decls.
1833 * libspi/relation.c: ditto.
1835 * libspi/image.c: ditto.
1837 * */.cvsignore: update
1839 2001-20-11 Michael Meeks <michael@ximian.com>
1841 * libspi/deviceeventcontroller.c
1842 (_controller_register_with_devices): use g_getenv,
1843 kill stdlib.h include.
1845 * libspi/keystrokelistener.c
1846 (spi_keystroke_listener_get_type): kill
1847 (spi_keystroke_listener_class_init),
1848 (spi_keystroke_listener_init): rename to this.
1850 * libspi/text.c (impl_getAttributes): fix warning / bug.
1852 * libspi/*.[ch]: more headers, includes and over commenting.
1854 2001-20-11 Michael Meeks <michael@ximian.com>
1856 * libspi/*.[ch]: fixup headers, includes and over commenting.
1858 * libspi/image.c (impl__get_imageDescription): const
1859 correctness warning fix. remove redundant casting.
1861 * libspi/table.c (impl_getRowDescription): ditto.
1862 (impl_getColumnDescription): ditto.
1864 * libspi/libspi.h: add.
1866 2001-19-11 Michael Meeks <michael@ximian.com>
1868 * libspi/editabletext.c (impl_setAttributes): fix warnings.
1870 * libspi/component.c (accessibility_component_get_type):
1871 rename to (spi_component_get_type): and macroify.
1872 (accessibility_component_init): rename to
1873 (spi_component_init): this
1874 (accessibility_component_class_init): rename to
1875 (spi_component_class_init): this
1877 * libspi/action.c (spi_action_get_type): kill, use the macro.
1879 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
1882 * libspi/application.c (spi_application_object_event_listener),
1883 (impl_accessibility_application_register_object_event_listener):
1884 warning fixes / const understanding updates.
1886 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
1889 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1891 * libspi/spi_accessible.c: Added docs and C bindings for
1892 AccessibleStateSet. (No implementations yet). Documentation
1893 coverage for C bindings now 100%. Made docs for event listeners
1898 boolean notifyListenersSync (in DeviceEventListener listener,
1899 in DeviceEvent event);
1901 oneway void notifyListenersAsync (in DeviceEventListener listener,
1902 in DeviceEvent event);
1904 Added DeviceEventListener and DeviceEvent structs (may deprecate
1905 KeyStroke and KeystrokeListener in favor of this generic
1906 event/listener framework for devices).
1908 * libspi/deviceeventcontroller.c:
1910 Changed some key listener code to take masks, etc., and paved the
1911 way for integration of toolkit/non-preemptive key events. Changed
1912 signatures of some internal methods.
1914 * at-bridge/bridge.c:
1915 Fixed regression connecting to interface signals, apparently
1916 caused by GTK+ changes.
1918 Added an internal bridge_state_listener to deal with
1919 property-change:accessible-state signals.
1921 Changed the key_listeners GList to store structs (including masks,
1922 etc.) instead of just CORBA_Objects (required for full
1923 implementation of key listener API).
1925 Connected the bridge to all currently supported Atk signals.
1926 Events now supported:
1927 object:property-change
1928 object:property-change:accessible-name
1929 object:property-change:accessible-state
1930 object:property-change:accessible-description
1931 object:property-change:accessible-parent
1932 object:property-change:accessible-value
1933 object:property-change:accessible-role
1934 object:property-change:accessible-table-caption
1935 object:property-change:accessible-table-column-description
1936 object:property-change:accessible-table-column-header
1937 object:property-change:accessible-table-row-description
1938 object:property-change:accessible-table-row-header
1939 object:property-change:accessible-table-summary
1940 object:children-changed
1941 object:visible-data-changed
1942 object:selection-changed
1943 object:text-selection-changed
1945 object:text-caret-moved
1947 object:row-reordered
1949 object:column-inserted
1950 object:column-reordered
1951 object:column-deleted
1952 object:model-changed
1954 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1956 * libspi/hyperlink.c,h:
1957 Fixed some broken stuff in hyperlink.
1959 * libspi/relation.h:
1960 * libspi/relation.c:
1961 * cspi/spi_accessible.c:
1962 Initial implementations of AccessibleRelation methods, and docs.
1964 * libspi/accessible.c:
1965 Fixed a bug that caused SEGV if an accessible
1966 object's description is NULL, and a client
1967 requests it. An empty string is now returned.
1969 * cspi/spi_editabletext.c:
1970 * cspi/spi_hypertext.c:
1972 * cspi/spi_hyperlink.c:
1976 Doc coverage now 95%.
1978 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1980 One last namespacing revision:
1981 * libspi/accessibleeventlistener.[ch]:
1982 Renamed SpiAccessibleEventListener to SpiEventListener,
1983 (no need for two namespaces ;-)
1985 And lots of documentation fixes:
1987 * docs/at-spi-docs.sgml:
1988 Fixed 'underscore vs. hyphen' bug that was preventing
1989 the gtk-doc API docs from being automatically generated.
1992 * cspi/spi-listener.h
1994 * cspi/spi_accessible.c
1996 * cspi/spi_application.c
1997 * cspi/spi_component.c
1998 * cspi/spi_editabletext.c
2000 * cspi/spi_hypertext.c
2002 * cspi/spi_registry.c
2003 * cspi/spi_selection.c
2007 * docs/at-spi-docs.sgml
2008 * docs/at-spi-sections.txt
2010 Added and fixed up gtk-doc documentation in cspi.
2012 Interfaces now (fully) documented (subject to revision and enhancement):
2014 Event Listener Support
2016 AccessibleApplication
2020 AccessibleEditableText
2027 AccessibleRelationSet
2032 2001-14-11 Bill Haneman <bill.haneman@sun.com>
2034 * at-bridge/bridge.c:
2035 Initial work for toolkit-level key snooper connection by bridge.
2040 New typedefs and fixes to support new namespacing, and cleaner
2041 separation of cspi bindings from libspi bonobo implementation.
2042 Removed inconsistent and extraneous Spi* namespace prefix that
2043 had crept into cspi headers.
2044 Lots of comment fixes that sed had missed.
2046 * cspi/spi-roletypes.h:
2047 * cspi/spi-statetypes.h:
2048 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
2049 to AccessibleRoleType.
2051 * libspi/accessibleeventlistener.h:
2052 Fixed minor namespacing weirdness.
2054 * libspi/deviceeventcontroller.c:
2055 Reordered some internal API for device listeners.
2056 Changed the key registry final boolean to 'is_system_global'
2057 rather than 'is_synchronous', which is more descriptive of its
2059 Added spi_device_event_controller_new().
2060 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
2062 * libspi/keystrokelistener.[ch]:
2063 Namespaced KeystrokeListener to SpiKeystrokeListener.
2064 Changed uses of keymasks to use SPI_ prefix, and did other
2067 * libspi/keymasks.h:
2068 Namespaced keymask constants with SPI_ prefix.
2070 * libspi/registry.c:
2071 Some warning fixes, and knock-on fixes from namespace changes.
2074 Added rules for accessx-gui test program.
2076 * test/accessx-gui.c:
2077 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2078 utility. It doesn't actually use at-spi, but it's still cool and
2081 * test/keysynth-demo.c:
2085 Fixes so that these test clients work properly with the namespaced
2086 libraries. (Incompletely tested for technical reasons, fixes may follow)
2089 2001-13-11 Michael Meeks <michael@ximian.com>
2091 * libspi/application.c
2092 (impl_accessibility_application_get_version),
2093 (impl_accessibility_application_get_toolkit_name):
2095 (impl_accessibility_application_set_id),
2096 (impl_accessibility_application_get_id): remove
2097 redundant casting code.
2099 * libspi/action.c (impl_getDescription): fix warnings.
2101 * libspi/accessible.c
2102 (impl_accessibility_accessible_get_parent),
2103 (impl_accessibility_accessible_get_child_at_index),
2104 (impl_accessibility_accessible_get_state),
2105 (impl_accessibility_accessible_get_relation_set):
2106 warning fixes & include action.h
2108 2001-13-11 Michael Meeks <michael@ximian.com>
2110 * *.[ch] fix bits I screwed up:
2112 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2113 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2115 2001-13-11 Michael Meeks <michael@ximian.com>
2117 * *.[ch] Namespace libspi into spi_ and Spi.
2119 2001-13-11 Michael Meeks <michael@ximian.com>
2121 * Makefile.am: dist & install at-spi-1.0.pc
2123 * libspi/Makefile.am: install into at-spi-1.0
2125 * idl/Makefile.am (idldir): install into at-spi-1.0
2127 * at-spi-1.0.pc.in: add.
2129 * configure.in: build it.
2131 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2133 * test/keysynth-demo.c:
2134 Use a 'realize' signal-handler to set the WM properties for
2135 the virtual keyboard, rather than making it a "POPUP" type
2136 override-redirect window (thanks to anders carlsson for that
2139 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2142 * test/keysynth-demo.c:
2143 Added new test of key synthesis, which creates a simple
2144 (mouse-operated) onscreen keyboard. It inserts key events into
2145 the currently-focused window, thus it does not grab keyboard focus
2148 * cspi/spi_registry.c:
2149 Added C binding for AT-SPI generateKeyEvent.
2151 * libspi/deviceeventcontroller.c:
2152 Added call to XFilterEvent so that key listener works with XIM (we
2153 hope). Added event_synth_type to generateKeyEvent, so that we can
2154 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2155 synthesize a press/release pair for KeySyms.
2157 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2159 * libspi/Makefile.am:
2160 * registryd/Makefile.am:
2161 (temporary) hack to include libXtst in libspi and registryd.
2162 (Needed for keystroke synthesis, see below).
2165 Improved API for registerKeystrokeListener, in accordance with
2166 discussions with Gnopernicus team and X server research.
2168 * libspi/registry.c:
2169 * libspi/deviceeventcontroller.c:
2170 * libspi/accessible.c:
2171 * libspi/keystrokelistener.c:
2172 Changes and fixes to support keylisteners for potentially
2173 consumed key events (that is, 'passive grabs').
2174 Added implementation for generateKeyEvent() [untested].
2177 Changes to registerKeystrokeListener() API, as above.
2178 Added deregisterGlobalEventListenerAll(), and
2179 deregisterKeystrokeListener(), which are needed for clean exit of
2181 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2182 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2184 * cspi/spi_registry.c:
2185 Added implementations of function prototypes mentioned above.
2187 * registryd/registryd.c:
2188 Added the key listener event source as a g_timeout(), to allow
2189 receipt of key events that are not caught by GDK (since GDK
2190 doesn't support passive keygrabs, this was necessary).
2193 Changed to attach a keylistener to 'Alt' keys, and
2194 respond to the following keycommands: Alt-M (toggle magnifier);
2195 Alt-F (toggle speech); Alt-Q (quit).
2196 Added an exit routine to deregister the listeners, and a key
2197 listener that prints some key info to the console when a key
2198 matches the listener mask (and is thus received by the listener).
2200 * util/idl/Magnifier.idl:
2201 Changes to magnifier API to support multiple zoom regions,
2202 non-uniform scaling in x and y, markDirty, and a host of other
2203 features that would be useful to magnification.
2206 * util/mag_client.c:
2207 * util/mag_client.h:
2208 * util/mag_control.c:
2210 Source code changes to support the above IDL changes.
2213 As above, and also changes to use a (slower) generic conversion
2214 path for colormap conversions, since the fast RGB conversions have been
2215 reported to fail for 16-bit displays.
2217 2001-10-26 Michael Meeks <michael@ximian.com>
2219 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2221 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
2223 * at-bridge/Makefile.am: fix LDFLAGS.
2225 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2227 * at-bridge/bridge.c:
2228 Re-worked listeners for toolkit events, now we have signal
2229 and property listeners. Added a private method
2230 register_atk_event_listeners(), which registers with the
2231 various atk and gtk signals we need to monitor in order to emit
2233 Added emission hook for AtkObject:property-change events, to
2234 support the 'property listeners'.
2235 Fixed some alloc()s of Accessibility_Event structs to use CORBA
2238 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2239 which emit warnings and exit, respectively, if CORBA errors occur
2240 during remote calls, and we now use these methods to check most of
2241 our CORBA calls in the C bindings.
2243 * cspi/spi_accessible.c:
2244 Changed AccessibleSelection_refSelectedChild() to
2245 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2246 now increment refcounts.
2248 * cspi/spi_component.c:
2249 Fixed some long pointer casts (dangerous!) to pass pointers to
2250 CORBA_longs of the proper type to the CORBA stubs, and copy the
2251 data into the longs that were passed into the C bindings code.
2253 * at-bridge/bridge.c:
2255 * libspi/accessible.c:
2256 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2257 hyperlinks, AtkHyperlink is an object type.
2259 * libspi/application.c:
2260 Added various conversions to and from "generic" event types and
2261 atk-specific types; this is really part of the 'bridge'
2262 implementation but is valid for all AtkObject-based accessibility
2265 * libspi/editabletext.c:
2266 Fixed nasty bug wherein editable text's finalize method was
2267 unref'ing tha AtkObject reference that the text parent class was
2268 about to unref _again_. There was also a nasty inheritance bug
2269 that meant that the AccessibleEditableText class was corrupt.
2271 * libspi/selection.c:
2272 Provided implementations for some selection API that was broken.
2274 * idl/Application.idl:
2275 Added registerObjectEventListener () method.
2278 Fixed a number of return values that were Bonobo_Unknowns from
2279 bonobo_object_corba_objref(), which I
2280 forgot to dup before returning. Changed instances of
2281 bonobo_object_corba_objref (bonobo_object(o)) to
2282 BONOBO_OBJREF(o), for concision and clarity.
2284 <2001-10-13 Louise Miller <louise.miller@sun.com>
2286 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2287 idl/Event.idl, idl/Registry.idl
2288 Changed these files to include Bonobo_Unknown.idl instead
2291 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
2293 * libspi/component.c libspi/component.h:
2294 Fixed typo. Added assertions for object checks in
2295 AccessibleComponent code.
2297 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2299 * idl/Accessible.idl:
2300 Added 'isEqual (Accessible *object)'
2301 method for Accessible. (Not Yet Implemented).
2304 Changed signature of registerKeystrokeListener() to
2305 take a KeySet and KeyEventSeq so that specific keys and event
2306 types could be requested for monitoring, and added a flag
2307 is_synchronous so that either synchronous or asynchronous
2308 notification could be requested. (However this is not all
2309 implemented yet). This also meant adding two new typedefs,
2310 KeyEventSeq and KeySet.
2313 Added two new relations, RELATION_TOOLTIP_FOR and
2314 RELATION_LEAFNODE_OF.
2317 Added new state, STATE_HAS_TOOLTIP.
2319 * libspi/text.c, editabletext.c:
2320 Added new assertions to all casts of bonobo-objects from
2321 CORBA servants, to prevent Text API calls on non-text objects.
2322 Changed suspect casts of int-pointer types, so that we
2323 always send a valid CORBA_long pointer to the CORBA APIs that use
2324 in/out long parameters. We then have to copy from the CORBA_long
2325 into the regular long or int for return to the C bindings, or
2326 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
2329 * libspi/deviceeventcontroller.c:
2330 Cleaned these sources up.
2332 Changed return type for getCharacterAtOffset to
2333 CORBA_unsigned_long, to allow for 32-bit characters.
2336 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
2340 Fixed 'make dist' so that distro compiles...
2341 * libspi/keymasks.h:
2343 * cspi/spi-listener.c:
2344 KeystrokeListenerCB now returns a boolean.
2346 Added KeyEventType struct, and KeyStroke.
2347 Also added createKeystrokeListener(),
2348 KeystrokeListener_addCallback(),
2349 KeystrokeListener_removeCallback(), and added a keymask to
2350 registerKeystrokeListener().
2351 * cspi/spi_accessible.c:
2352 Changed numerous return types for interfaces from
2353 AccessibleComponent to Accessible<InterfaceName>; this was
2354 probably a cut-and-paste error.
2356 Implementations of new KeystrokeListener api (from spi.h,
2359 Changes to key modifier mapping.
2360 Created ControllerEventMask struct.
2361 Made DeviceEventController derive from Bonobo::Unknown.
2363 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
2364 * libspi/deviceeventcontroller.c:
2365 Added a number of new internal (private) methods.
2366 * libspi/editabletext.c:
2367 * libspi/editabletext.h:
2368 Fixed a number of bugs related to the fact that
2369 editabletext inherits from text. Fixed the EditableText struct,
2370 the init() call, and use correct casts when calling Text methods
2371 from an EditableText object. Removed (duplicate) atko from the
2372 EditableText structure, we use the one in the parent Text
2373 structure via the casts mentioned above.
2374 * libspi/keystrokelistener.[ch]:
2375 * libspi/registry.c:
2376 Changes in support of keyboard handling (above).
2378 Keyboard handling, though partly functional, is still not
2379 recommended for at-spi client use as there is considerable
2380 work yet to be done.
2383 Changed some places where pointers to various int types
2384 are cast to be pointers to CORBA_long types and vice-versa:
2385 pointer casting is not safe so we pass pointers of the correct
2386 types and then cast the result before putting it into the target
2389 * libspi/text.h: minor typos corrected.
2391 We now speak not only the name of a Text element, but the
2392 first sentence of its content, when it receives focus.
2393 I also changed the text compression to 75% from 50%.
2394 * util/Accessibility_Util.server.in:
2395 Changed the default magnifier type to be a 3x vertical
2396 splitscreen magnifier (was previously a 2x horizontal one).
2398 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
2400 * libspi/keystrokelistener.h:
2401 * libspi/keystrokelistener.c:
2402 Initial functional implementations of KeystrokeListener.
2405 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
2407 Fixed string handling for NULL strings in libspi.
2408 Added spi_freeString to free strings returned by C bindings.
2410 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
2412 * libspi/keystrokelistener.h:
2413 * libspi/keystrokelistener.c:
2414 Began (no-op) implementations of KeystrokeListener
2416 * libspi/deviceeventcontroller.c:
2417 * libspi/deviceeventcontroller.h:
2418 Began creating implementations of DeviceEventController,
2419 to handle keystroke and mouse event listening and
2421 * libspi/accessible.c:
2422 Stubbed-in the implementations for
2423 Accessibility_Accessible_getState and
2424 Accessibility_Accessible_getRelationSet.
2425 * libspi/registry.c:
2426 Improved de-registration process and fixed some bugs,
2427 deregistration now works correctly.
2429 Added initialization of applications list (to NULL).
2431 Reduced speech compression from 0.5 to 0.7, for demo.
2432 Changed call to gdk_window_set_decorations()
2433 to gtk_window_set_decorated().
2434 * at-bridge/bridge.c:
2435 Bridge now deregisters when app exits, via
2436 registration of a cleanup function
2437 with the g_atexit() call.
2438 Required making 'app' static, renamed 'this_app'.
2439 Fixed broken use of bonobo_init, passing argv wrongly.
2441 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
2445 Created a new directory for
2446 accessibility-related utilities, primarily for
2447 testing and demo purposes, but with possible
2454 Onscreen magnifier utility that
2455 is implemented as a bonobo service.
2457 * util/mag_client.c:
2458 * util/mag_client.h:
2459 Client-side support (simple C bindings)
2460 for Magnification service
2462 * util/mag_control.c:
2463 Client program example for
2464 Magnification service
2466 * util/Accessibility_Magnifier.server.in:
2467 Bonobo-activation file for the
2468 Magnification service.
2471 * util/idl/Magnifier.idl:
2472 IDL defining the bonobo Magnification
2476 Modifications to use the bonobo-activated magnifier
2477 above, in place of trying to connect to an existing
2478 magnifier that uses socket-listening IPC.
2480 If env variable MAGNIFIER is set, a magnifier service
2481 will be started if one does not exist.
2483 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
2484 * at-bridge/bridge.c:
2485 applied patch from Marc to build and run
2486 against new glib and gtk+ (seemed like a change
2487 to bonobo_init signature was made ?)
2489 made festival-server support turned off by default.
2490 Added support for a simple magnifier (off by default)
2491 which will be added to a 'util' directory later.
2492 * at-bridge/Makefile.am:
2493 Changed "application.h" header from a 'source'
2494 to a 'dependency' of libat-bridge.
2496 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2504 Added interface implementation c files to list of
2505 includes so they are included in libcspi.
2508 Changed prototype of AccessibleAction_doAction to return a
2510 Changed prototype of AccessibleTable_getCaption to
2511 return an Accessible.
2512 Changed prototype of AccessibleTable_getSelectedRows
2513 and AccessibleTable_getSelectedColumns to
2514 return a long (returns the number of selected rows
2515 or columns respectively).
2516 Changed name of AccessibleText_refRunAttributes to
2517 AccessibleText_getAttributes.
2518 Changed prototype of AccessibleText_getCharacterExtents to
2519 return a void rather than a boolean.
2520 Added support for a AccessibleCoordType parameter
2521 specifying what type of coordinates are desired.
2522 Added an AccessibleCordType parameter to
2523 AccessibleText_getPointAtOffset.
2525 * cspi/spi_accessible.c:
2526 Added code to return the outstanding interfaces from
2527 Accessible_queryInterface.
2529 * cspi/spi_action.c:
2531 Corrected call to getNActions to call the c binding
2534 * cspi/spi_editabletext.c:
2536 Changed name from setRunAttributes to setAttributes.
2538 * cspi/spi_hyperlink.c:
2540 Changed call to getNAnchors to correctly call the c
2541 binding for an attribute.
2543 * cspi/spi_hypertext.c:
2545 Changed getImageDescription to correctly call the
2546 binding for an attribute.
2548 * cspi/spi_selection.c:
2549 Changed getNSelectedChildren to correctly call the c
2550 binding for the attribute.
2551 Changed refSelectedChild to getSelectedChild.
2555 Changed getCaption to return an Accessible.
2556 Fixed calls which retrieve attributes.
2557 Changed refAt to getAccessibleAt.
2558 Changed getNSelectedRows and getNSelectedColumns to
2562 Changed getCharacterExtents and getPointAtOffset to accept an
2563 AccessibleCoordType.
2565 Changed calls which retrieve attributes.
2566 Changed refRunAttributes to getAttributes.
2571 * idl/Hyperlink.idl:
2572 Changed n_anchors attribute to nAnchors to keep naming
2573 convention consistent.
2576 Made Table inherit from Bonobo::Unknown.
2577 Added nSelectedColumns and nSelectedRows attributes.
2580 Made Value inherit from Bonobo::Unknown.
2582 * libspi/hyperlink.c:
2583 Change for nAnchors attributte name change.
2585 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2593 Added interface implementation c files to list of
2594 includes so they are included in libcspi.
2597 Changed prototype of AccessibleAction_doAction to return a
2599 Changed prototype of AccessibleTable_getCaption to
2600 return an Accessible.
2601 Changed prototype of AccessibleTable_getSelectedRows
2602 and AccessibleTable_getSelectedColumns to
2603 return a long (returns the number of selected rows
2604 or columns respectively).
2605 Changed name of AccessibleText_refRunAttributes to
2606 AccessibleText_getAttributes.
2607 Changed prototype of AccessibleText_getCharacterExtents to
2608 return a void rather than a boolean.
2609 Added support for a AccessibleCoordType parameter
2610 specifying what type of coordinates are desired.
2611 Added an AccessibleCordType parameter to
2612 AccessibleText_getPointAtOffset.
2614 * cspi/spi_accessible.c:
2615 Added code to return the outstanding interfaces from
2616 Accessible_queryInterface.
2618 * cspi/spi_action.c:
2620 Corrected call to getNActions to call the c binding
2623 * cspi/spi_editabletext.c:
2625 Changed name from setRunAttributes to setAttributes.
2627 * cspi/spi_hyperlink.c:
2629 Changed call to getNAnchors to correctly call the c
2630 binding for an attribute.
2632 * cspi/spi_hypertext.c:
2634 Changed getImageDescription to correctly call the
2635 binding for an attribute.
2637 * cspi/spi_selection.c:
2638 Changed getNSelectedChildren to correctly call the c
2639 binding for the attribute.
2640 Changed refSelectedChild to getSelectedChild.
2644 Changed getCaption to return an Accessible.
2645 Fixed calls which retrieve attributes.
2646 Changed refAt to getAccessibleAt.
2647 Changed getNSelectedRows and getNSelectedColumns to
2651 Changed getCharacterExtents and getPointAtOffset to accept an
2652 AccessibleCoordType.
2654 Changed calls which retrieve attributes.
2655 Changed refRunAttributes to getAttributes.
2660 * idl/Hyperlink.idl:
2661 Changed n_anchors attribute to nAnchors to keep naming
2662 convention consistent.
2665 Made Table inherit from Bonobo::Unknown.
2666 Added nSelectedColumns and nSelectedRows attributes.
2669 Made Value inherit from Bonobo::Unknown.
2671 * libspi/hyperlink.c:
2672 Change for nAnchors attributte name change.
2675 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
2677 implementations-- made server implementations own AtkObject pointers
2678 rather than their respective AtkInterrface pointers to fix
2679 refcounting. AtkHyperlink is still broken.
2681 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
2682 * cspi/spi_accessible.c:
2683 Added method Accessible_Role_getName(),
2684 and requisite string array (role_names).
2685 Added conversion string_from_corba_strin() call
2686 to Accessible_getName and _getDescription.
2687 * libspi/accessible.c:
2688 Added implementation for Accessible_getRole()
2690 Added festival support, used if environment variable
2693 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2695 * at-bridge/bridge.c:
2696 Now allocate Accessibility_Event using
2697 Accessibility_Event__alloc() instead of g_new0().
2698 * libspi/accessibleeventlistener.c:
2699 Initialize AccessibleEventListener->callbacks to NULL.
2700 Fixed accessible__event_listener_init() param, changed to
2701 "AccessibleEventListener *" type.
2702 Changed a bonobo_object_release_unref() call to
2703 Accessibility_Accessible_unref().
2704 * libspi/listener.c:
2705 Changed Bonobo_Unknown_unref to (equivalent)
2706 Accessibility_Accessible_unref.
2707 * libspi/registry.c:
2708 Changed bonobo_object_release_unref to
2709 Accessibility_Accessible_unref.
2711 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2714 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
2715 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
2716 spi-util.c spi-util.h
2717 Implementations for C bindings to remaining accessibility
2720 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2723 changed return value of Action from void to boolean to
2724 bring in line with ATK.
2727 Changed getText funcions to return "out" start and end offsets.
2728 Changed getAttributes to take and offset and return the start
2729 and end offset of the attribute run.
2730 Changed getOffsetAtPoint and getCharacterExtents to take an
2731 enum describing whether coordinates are window or screen.
2734 libspi/action.c libspi/action.h libspi/editabletext.c
2735 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
2736 libspi/hypertext.c libspi/hypertext.h libspi/image.c
2737 libspi/image.h libspi/selection.c libspi/selection.h
2738 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
2739 libspi/value.c libspi/value.h
2740 Added server implementations for outstanding ATK interfaces
2741 not yet implemented.
2743 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2746 Added (missing) getName() method.
2747 Made nActions an attribute.
2748 * idl/EditableText.idl:
2749 Changed order of params in setAttributes.
2750 * idl/Hyperlink.idl:
2751 Removed getAnchor, added getURI.
2753 Changed attributes to methods, for efficiency
2754 (so that getting extents can be done in one call)
2755 * idl/Selection.idl:
2756 Changed nSelectedChildren to attribute, and re-indented.
2757 * idl/Table.idl: changed nrows, ncolumns, caption, summary
2759 * idl/Text.idl: reformatted to match our coding style.
2760 (temporarily?) removed getRowColumnAtOffset().
2761 Changed text selection API to support multi-select and
2762 non-contiguous selections, as in ATK.
2763 * idl/Value.idl: changed some methods to attributes.
2765 2001-08-24 Mark McLoughlin <mark@skynet.ie>
2767 * libspi/listener.c(impl_notify_event):
2768 BonoboUnkown_unref the source instead
2769 of bonobo_object_release_unref - the ORB
2770 handles the releasing.
2772 * configure.in: require ORBit-2.3.94 for
2775 2001-08-21 Bill Haneman <bill.haneman@sun.com>
2777 Tagged CVS repository 'EA_1_0'.
2778 * README.EARLY_ACCESS:
2779 Alphabetized acknowledgements list, and
2781 Listed some known dependencies of at-spi.
2783 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2785 * docs/at-spi-docs.sgml:
2786 * docs/at-spi-sections.txt:
2787 * docs/at-spi-overrides.txt: (Added zero-length file)
2788 Documentation improvements - gtk-doc should build
2789 docs for all implemented C bindings now.
2792 * cspi/spi.c: (New file)
2793 * cspi/spi_event.c: (New file)
2794 * cspi/spi_registry.c: (New file)
2795 * cspi/spi_accessible.c: (New file)
2796 * cspi/spi_application.c: (New file)
2797 * cspi/spi_component.c: (New file)
2798 Split spi_main.c into six parts, and included them from
2799 "spi.c". This is a bit of a hack, probably temporary,
2800 but required by gtk-doc, apparently.
2802 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2805 * docs/at-spi-docs.sgml:
2806 * docs/at-spi-sections.txt:
2808 Initial checkins/modifications for gtk-doc generation.
2811 Added (missing) interface query methods to Accessible's C binding.
2813 Added GenericInterface type definition.
2815 Added query for AccessibleComponent interface to focus event handler.
2816 Added printout of bounding box for focussed component.
2817 * libspi/component.c:
2818 Added partial implementation for AccessibleComponent to C binding.
2819 * idl/Application.idl:
2820 * libspi/registry.c:
2821 * libspi/listener.c:
2822 * libspi/application.c:
2823 * libspi/application.h:
2824 Changed "ID" attribute type from string to long.
2826 2001-08-19 Bill Haneman <bill.haneman@sun.com>
2830 Made method naming consistent: methods taking object args
2831 start with uppercase, other methods (except those using
2832 acronyms) start with lowercase. Underscores delimit between
2833 object names and method names:
2834 SPI_init() - uppercase since it starts with an acronym.
2835 getDesktopCount () - lowercase start since no object param0.
2836 Accessible_getName() - uppercase object type name, studlyCaps method
2840 Added gtk-doc documentation for all currently implemented
2841 methods in the C bindings API.
2843 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2845 * Makefile.am : changed build order to build test last.
2848 Changed "createEventListener" to "CreateEventListener".
2849 * libspi/accessibleeventlistener.c :
2850 Bugfix for addition of callbacks.
2851 * test/Makefile.am :
2852 * test/simple-at.c :
2853 Added new test that uses the C bindings API.
2855 * libspi/listener.c :
2856 * libspi/registry.c :
2857 * libspi/accessibleeventlistener.c :
2858 * at-bridge/bridge.c :
2859 Renamed member "target" of Accessibility_Event to "source",
2860 which is more descriptive.
2863 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2867 * cspi/Makefile.am :
2868 Added makefile support for at-spi/cspi directory.
2871 * cspi/spi-listener.h : (NEW FILE)
2872 Added support for/use of spi-listener.h.
2874 C bindings now build successfully, with no warnings.
2875 * libspi/accessibleeventlistener.h : (NEW FILE)
2876 * libspi/accessibleeventlistener.c : (NEW FILE)
2877 * libspi/Makefile.am :
2878 Added new object type "AccessibleEventListener"
2879 which inherits from Listener, and allows attachment
2880 of in-process callbacks (so that a client with a listening
2881 object instance can add functionality to the local
2882 implementation, dynamically).
2884 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2886 * libspi/accessible.c:
2887 Add implementation for get_index_in_parent().
2889 Added #include of "spi-roletypes.h", and
2890 added enumerated type AccessibleCoordType.
2891 Added definition for KeystrokeListener (function type).
2894 * cspi/spi-statetypes.h :
2895 * cspi/spi-roletypes.h :
2897 Added these headers, used by spi.h.
2899 Added code (NOTE: not yet built by make).
2901 2001-08-18 Mark McLoughlin <mark@skynet.ie>
2903 * libspi/Makefile.am: generate imodule
2904 at the same time as other idl compiler
2907 2001-08-17 Bill Haneman <bill.haneman@sun.com>
2908 * libspi/registry.c :
2909 * libspi/application.c :
2910 * idl/Application.idl :
2911 Made registration with toolkit an application method,
2912 which is required since each app has its own toolkit static
2913 environment. Thus the bridge must register for
2914 notification of toolkit events from each application in turn.
2915 Toolkit notifications are now successfully registered for, and
2916 sent to the listening at client.
2918 Changed toolkit event string to use hyphens rather than underscores.
2919 * libspi/listener.c :
2920 listner now gives more info in debug mode - it reports the
2921 name of the event received, as well as the name of the source.
2924 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2926 * libspi/registry.c :
2927 added more implementation for toolkit events.
2928 Fixed bug such that toolkit event registrations
2929 (via atk) use the whole event name string, not
2931 Removed a useless call to an ORBit_ method.
2932 * at-bridge/bridge.c :
2933 Removed unused local sbuf[] variable.
2935 We now register for Gtk:GtkWidget:button_press_event
2936 events as well as "focus:" events.
2938 Add some more API from Registry.idl that was missing,
2939 for keystroke listening, keystroke and mouse event
2940 synthesis, and enumeration of accessible desktops.
2942 2001-08-16 Michael Meeks <michael@ximian.com>
2944 * configure.in: use AM_GLIB_GNU_GETTEXT.
2946 * Makefile.am (SUBDIRS): kill intl.
2948 2001-08-15 Michael Meeks <michael@ximian.com>
2950 * registryd/Makefile.am: s/oaf/server/ relocate info file.
2952 * configure.in: upd.
2954 * configure.in: depend on a recent bonobo-activation that
2955 will find our server files ...
2957 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2959 * libspi/accessible.c : accessible_new() :
2960 Now we add the Component interface via bonobo_object_add_interface,
2961 if the contained AtkObject implements AtkComponent.
2962 * libspi/accessible.h : now include "component.h"
2963 * libspi/component.h :
2964 * libspi/component.c : added files - implementation of
2965 bonobo wrapper object for Accessibility/Component
2966 * libspi/listener.c :
2967 Added test code to check for Accessibility/Component:1.0
2968 interface and report whether it is implemented by the
2970 * libspi/registry.c :
2971 Now we check for not only the hash of the whole event
2972 string before relaying the event, we also check the
2973 "minor" event string (without the detail string).
2974 This allows event listeners to be registered against
2975 all events of a certain major+minor type, or just
2976 against a specific major+minor+detail type.
2977 * libspi/accessible.c :
2978 Added implementations for Accessible:get_parent(),
2979 Accessible:getChildCount(), and Accessible:getChildAtIndex().
2980 * libspi/registry.c :
2981 * libspi/listener.c :
2982 Replaced calls to Accessibility_Accessible_ref() and
2983 Accessibility_Accessible_unref() with
2984 calls to bonobo_object_dup_ref() and
2985 bonobo_object_release_unref(), so that the CORBA object
2986 is dup-ed and released when relayed, as well as the bonobo object.
2988 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2990 * libspi/Makefile.am,
2991 registryd/Makefile.am,
2992 at-bridge/Makefile.am.
2993 test/Makefile.am, configure.in:
2994 reverse previous changes.
2996 * /idl/Image.idl: fix typo.
2998 * test/Makefile.am: put DEBUG_FLAGS
3001 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3003 * test/app.c: use argv[0] instead of
3006 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3008 * libspi/Makefile.am,
3009 registryd/Makefile.am,
3010 at-bridge/Makefile.am.
3011 test/Makefile.am, configure.in:
3012 cleanup, replace individual LIBS/CFLAGS with
3013 AT_COMMON_{LIBS|CFLAGS}.
3017 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3019 * configure.in, libspi/Makefile.am:
3020 Change IDL path checking for bonobo-activation
3023 2001-08-15 Bill Haneman <bill.haneman@sun.com>
3025 * registryd/registry.c : separated event listeners to use
3026 3 separate lists (focus, window, toolkit). Began testing
3027 event names against hashes before relaying events.
3028 * test/at.c : now register for events of type "focus:"
3029 * test/app.c : now generate events of type "focus:"
3030 * at-bridge/bridge.c : register with ATK for focus events,
3031 and we now relay those focus events to any "focus:" listeners.
3032 This now works with the bridge as a GTK_MODULE when running test/at.
3033 * libspi/registry.c :
3034 * libspi/listener.c :
3035 now we ref event sources before propagating, and unref on receipt.
3036 * libspi/registry.c :
3037 some changes to internal structs, to support event typestring hashes.
3038 * text/app.c : changed the way the appname is generated.
3039 * cspi : added directory that will hold the C bindings library for
3040 non-CORBA/bonobo-savvy clients.
3041 * cspi/spi.h : header file that contains the function prototypes for the C binding.
3042 * idl/Component.idl : added in parameter to indicate coord system for
3043 geometry-related calls.
3044 * idl/Hyperlink.idl : added readonly n_links attribute
3045 * idl/Image.idl : changed methods to attributes.
3047 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3049 * at-bridge/Makefile.am: link against
3050 ../libspi/libspi.la instead of -lspi.
3052 * at-spi/test/app.c: include
3053 bonobo-activation.h. Use a default appname
3054 if one is not provided.
3056 2001-08-14 Bill Haneman <bill.haneman@sun.com>
3058 * idl/Registry.idl : temporarily changed register_Application
3059 to oneway, to work around issue with initial registration
3061 * idl/Application.idl : changed attribute "id" from readonly
3062 to read-write, since it needs to be assigned by Registry.
3063 * registryd/registryd.c : added call to set application id
3065 * registryd/registry.c : changed de-registration procedure to
3066 use CORBA_Object_hash() to find matching object ref in application
3067 lists and listener lists.
3068 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
3069 began distinguishing between event types (work in progress).
3071 2001-08-13 Bill Haneman <bill.haneman@sun.com>
3074 * libspi/application.c:
3075 Added implementations for get/set id, get_toolkitName,
3077 * registryd/registryd.c :
3081 Converted from use of OAF to bonobo-activation.
3082 * libspi/desktop.h :
3083 * libspi/desktop.c :
3085 Removed references to atksimpleobject, since base atkobject
3086 implementation now provides functionality we need.
3087 * libspi/atksimpleobject.c :
3088 * libspi/atksimpleobject.h :
3093 * at-bridge/Makefile.am
3094 * at-bridge/bridge.c
3097 Added directory "bridge" and contents, and added dependencies
3098 in Makefile.am/configure.in.
3099 Initial checkin of "at-bridge".
3100 This code is a GTK_MODULE which automatically registers
3101 GTK+ apps with the accessibility registry, using an object
3102 reference to the root ATK object.
3104 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3106 * po/Makefile.in.in: Remove. Again. If this
3107 doesn't get autogenerated - you need to update
3110 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3112 * po/Makefile.in.in: Add. Again.
3114 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3116 * libspi/accessible.c : added support for 'description' property.
3117 * libspi/accessible.c
3119 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3120 (since the two are now equivalent in libbonobo)
3128 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3129 Bonobo::Unknown as does Accessibility::Accessible.
3130 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3131 interface with Bonobo::Stream, since it was redundant with it.
3132 (The Stream returned by a StreamableContext object is expected to
3133 implement only a subset of Bonobo::Stream)
3135 2001-07-28 Anders Carlsson <andersca@gnome.org>
3137 * libspi/accessible.c (accessible_object_finalize): Change
3138 g_free to g_object_unref since the AtkObject is a GObject.
3140 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3142 * idl/Accessibility.idl: add new IDL files
3145 * idl/Action.idl: Definitions of actionable UI object
3146 * idl/Component.idl: Definitions of UI component geometry, etc.
3147 * idl/Hyperlink.idl: Defs of hyperlink behavior
3148 * idl/Image.idl: Def of accessible image
3149 * idl/Selection.idl: Definition of UI object with selectable children
3150 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3151 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3152 * idl/Text.idl: Interface defs for UI elements with complex textual content
3153 * idl/Value.idl: Definition of UI element that is a value controller or display
3155 2001-07-27 Michael Meeks <michael@ximian.com>
3157 * po/Makefile.in.in: remove autogenerated file from CVS.
3159 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3162 * idl/Registry.idl: include guard.
3164 * idl/Accessibility.idl: Add, and include all the other IDL
3167 * idl/*.idl: remove mass of pragmas etc.
3169 2001-07-26 Michael Meeks <michael@ximian.com>
3171 * registryd/Makefile.am (registryd_SOURCES): remove
3174 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3176 * libspi/.cvsignore, registryd/.cvsignore,
3177 test/.cvsignore: updated.
3179 * po/Makefile.in.in: gettext update.
3181 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3183 * initial CVS checkin
3185 2001-06-29 Michael Meeks <michael@ximian.com>
3187 * configure.in: add AM_CONFIG_HEADER to gen config.h