1 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4 Fixed typo in header which was redefining SPI_ACTION_CLASS.
6 2002-01-10 Bill Haneman <bill.haneman@sun.com>
9 Update version number to 0.4 for Beta2.
11 * libspi/accessible.c, libspi/accessible.h:
12 Expose spi_accessible_construct, to enable libgail-gnome
13 construction from spi_accessible subtype.
16 Workaround for bug in some non-gnome-compliant window managers
17 which made magnifier resize improperly.
19 2002-09-01 Bill Haneman <bill.haneman@sun.com>
21 * libspi/accessible.c: (spi_accessible_new) :
22 Move the test for SPI_IS_REMOTE_OBJECT to
23 spi_accessible_new_return, fixing a bug and compile time warning.
25 2002-01-08 Michael Meeks <michael@ximian.com>
27 * registryd/registry.c (parse_event_type): remove strndup.
29 * libspi/Makefile.am (libspi_la_SOURCES): remove
30 sources already included in the headers section.
34 * libspi/spi-private.h: add.
36 * registryd/registry.c: update to moved list iterators.
38 2002-01-05 Michael Meeks <michael@ximian.com>
40 * test/simple-at.c (main): upd. auto-module set to atk-bridge
42 * test/test-simple.c (main): ditto.
44 2002-01-04 Michael Meeks <michael@ximian.com>
46 * libspi/accessible.c (spi_accessible_new): remove 2nd,
49 * registryd/registry.c
50 (get_listener_list): impl.
51 (impl_accessibility_registry_register_global_event_listener):
52 re-impl. to simplify using ~, remove dodgy const cast off.
53 (parse_event_type): constify.
54 (impl_accessibility_registry_deregister_global_event_listener_all):
55 re-write, more efficiency and simplicity, kill re-enterancy
57 (compare_listener_corbaref, compare_corba_objects),
58 (compare_listener_quarks): define out.
59 (impl_accessibility_registry_deregister_global_event_listener):
60 re-write for effiency, and nail re-enterancy hazard.
61 (impl_accessibility_registry_get_desktop_list): impl.
62 (re_enterant_list_delete_link): impl.
63 (re_enterant_list_foreach): impl.
64 (remove_listener_cb): impl.
65 (_registry_notify_listeners): kill.
66 (notify_listeners_cb): impl.
68 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
69 (SPI_getDesktopList): impl.
71 * test/test-simple.c (test_desktop): test the methods.
73 2002-01-03 Michael Meeks <michael@ximian.com>
75 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
76 keystrings since we free them
77 (SPI_freeAccessibleKeySet): in here.
79 * libspi/accessible.c (spi_accessible_new): kill warning,
80 wonder what is going on with the constructor here.
82 2002-03-01 Bill Haneman <bill.haneman@sun.com>
84 * libspi/accessible.c (spi_accessible_new ()) :
85 Added check to see if AtkObject is an SpiRemoteObject before
86 creating an SpiAccessible.
88 2002-05-01 Bill Haneman <bill.haneman@sun.com>
90 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
91 Enable keygrabs using the Control modifier, now that they are
92 working properly (they were previously disabled).
95 Change the command keygrab for this demo to "Control+Alt", so as
96 to conflict with fewer other key commands on the system; this
97 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
99 Removed a pointlessly-chatty keylistener for unshifted keys
100 (shifted keys are still reported).
102 2002-02-01 Bill Haneman <bill.haneman@sun.com>
104 * libspi/remoteobject.h:
105 * libspi/remoteobject.c:
106 Added definitions for special AtkObject subtype, required for
107 support of remote components (specifically, used by BonoboControl
108 accessibility implementation).
110 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
112 * cspi/spi.h: synched relation types with ATK
114 * cspi/spi_accessible.c: Added implementations of
115 AcccessibleRelation_* methods
117 * idl/Accessibility_Relation.idl: added getRelationTypeName
118 method. Synched known relation types with ATK. Allowed for
119 relation type extension with the RELATION_EXTENDED type.
121 * libspi/relation.c: Provided implementations for
122 AccessibleRelation methods.
124 2002-01-01 Bill Haneman <bill.haneman@sun.com>
126 API tweaks for today's API 'freeze'.
129 Added placeholder functions to allow future compatible expansion
130 of the IDL interfaces.
132 * idl/Accessibility_Registry.idl:
133 Changed generateKeyEvent to generateKeyboardEvent. Changed
134 signature of this method to accept an optional keystring in
135 parameter (for complex text input synthesis) and changed use of
136 simple 'boolean' parameter in registerKeystrokeListener to a
137 struct, EventListenerMode.
139 * cspi/spi_accessible.c:
141 * cspi/spi_streamablecontent.c:
142 Added references to AccessibleStreamableContent interface, and
143 definition and implementation of AccessibleStreamableContent
146 * cspi/spi_registry.c:
148 Changed generateKeyEvent API to generateKeyboardEvent,
149 taking a new (optional) keystring parameter to support complex
154 Renamed directory (to better reflect its actual purpose, bridging
155 from at-spi to ATK). The .so module is also now named
158 * idl/Accessibility_Hypertext.idl:
159 * libspi/accessible.c:
160 * libspi/hypertext.h:
161 * libspi/hypertext.c:
162 Changed Accessibility_Hypertext to *not* derive from
165 * cspi/spi_registry.c:
166 Added list of legal event type names for 'window' events, which
167 completes the registry event API.
169 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
171 * at-bridge/bridge.c: Added registration for separate
172 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
173 signals. If either of the first two parameters to the generic
174 bridge signal handler are ints, they are passed on as event
175 details. This allows an AT to determine what text was inserted.
177 2001-12-21 Bill Haneman <bill.haneman@sun.com>
179 * registryd/deviceeventcontroller.c:
180 Fixed regressions in generateKeyEvent caused by the removal of
181 gdk_init from registryd; we now use pure X calls to connect to the
182 display, which makes sense because deviceeventcontroller already
183 uses a fair bit of X API (should eventually be migrated to a
184 'portability layer').
186 * registryd/desktop.c:
187 Fixed minor regression in spi_desktop_init, changed the way the
188 desktop name is being set to work with new spi_base API
189 (gobject-based, rather than AtkObject-based).
191 * registryd/Makefile.am:
192 Minor revision of makefile to use XTST_LIBS variable rather than
193 hard-wiring the Xtst LD_ADD element.
195 * test/keysynth-demo.c:
196 Tweaked an output message; added initialization of the
197 'keystrings' member of the "switch listener" key_set.
200 Squashed compile-time warning.
202 * libspi/accessible.c:
203 Cosmetic and formatting fixes, renamed a static method.
205 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
207 * libspi/accessible.c
209 * libspi/application.c
213 * libspi/editabletext.c
221 * registryd/desktop.c:
222 Changed SpiBase to contain a GObject pointer rather than an AtkObject
224 2001-12-17 Bill Haneman <bill.haneman@sun.com>
226 * idl/Accessibility_Registry.idl:
227 Added boolean member 'is_text' to DeviceEvent. This is for the
228 use of key events, and helps prevent ambiguity between composed
229 key strings and keysym names, since both may potentially be
230 returned in the 'event_string' member.
232 * at-bridge/bridge.c:
233 * registryd/deviceeventcontroller.c:
234 Use the 'is_text' member when notifying device event listeners.
235 Knon issue: composed characters are not dealt with correctly by
236 the global key listener implementation yet.
238 2001-12-17 Bill Haneman <bill.haneman@sun.com>
240 * at-bridge/bridge.c:
241 Namespaced local static methods to spi_atk_bridge_* where
242 previously named bridge_*, and spi_* elsewhere.
244 * at-bridge/bridge.c:
245 * cspi/bonobo/cspi-bonobo-listener.c:
246 Added demarshalling/conversion for string member of
247 Accessibility_DeviceEvent to AccessibleKeystroke.
249 * registryd/deviceeventcontroller.c:
250 Added code to fill the Accessibility_DeviceEvent key string value
251 member for global key events (i.e. from XGrabKey), to match
252 behavior of Accessibility_DeviceEvent from the toolkit key events
253 from the bridge. Fixed timestamp in global key event notifications.
256 Added printout of key event's string value to
257 report_ordinary_key_event, for demo/debugging purposes.
259 2001-12-15 Bill Haneman <bill.haneman@sun.com>
261 * idl/Accessibility_Registry.idl:
262 Removed Accessibility_KeyStroke structure in favor of generic
263 Accessibility_DeviceEvent structure.
264 Changed Accessibility_ControllerEventMask from a struct to an
267 * at-bridge/bridge.c:
268 Changed APIs to use DeviceEvent structure as above, and removed
269 bogus casting between these event structures.
271 * cspi/spi-listener.h:
272 Added keystring member of AccessibleKeystroke structure, to enable
273 matching on event "names" rather than only hardware codes and
277 Added keystrings member of AccessibleKeySet struct, to allow
278 matching on event names (as above).
279 Added declarations for SPI_createAccessibleKeySet and
280 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
281 event modmasks directly as unsigned ints rather than structs with
282 refcounts, in the DeviceEventController methods.
284 * cspi/spi_registry.c:
285 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
287 * cspi/spi-roletypes.h:
288 Added documentation of newly added SPI Roles.
290 * cspi/bonobo/cspi-bonobo-listener.c:
291 Changes in support of API changes above.
293 * libspi/accessible.c:
294 Converted APIs to use DeviceEvent structure (see IDL changes
297 * registryd/deviceeventcontroller.c:
298 Added DEControllerGrabMask structure to track keygrabs not only by
299 modmask but by keyset as well; this allows us to do "global"
300 (i.e. X) keygrabs on a per-key or keyset basis rather than always
301 grabbing on AnyKey and then filtering after-the-fact.
302 Bugfixes for event filtration mean that we don't get false matches
303 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
305 * registryd/deviceeventcontroller.c:
306 Namespaced a number of static methods to use spi_ prefix. Major
307 revision to internals of global (i.e. X) key grabs.
309 * registryd/deviceeventcontroller.h:
310 Removed keymask_list and added keygrabs_list to
311 SpiDeviceEventController struct.
314 Added use of SPI_createAccessibleKeySet API when creating a
315 listener for only one key. Attach a listener to "shift spacebar
316 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
317 X key event names to SPI key event names, so that listeners are
318 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
320 * test/keysynth-demo.c:
321 Changed (incorrect) use of X key event names (KeyPressed,
322 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
325 2001-12-12 Bill Haneman <bill.haneman@sun.com>
327 * libspi/accessible.c:
328 Convert all AtkRole enumerations to Accessibility_Role enums when
329 getting a role from an AtkObject.
331 * cspi/spi_accessible.c:
332 Complete the conversion of Accessibility_Role enums at runtime to
333 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
334 role enums correctly match those given in spi-roletypes.h.
335 Re-synchronize the local names list for AccessibleRole_getName ().
336 AccessibleRole_getName is now deprecated, since it duplicates the
337 more reliable Accessible_getRoleName.
338 Added some role types from Accessibility_Role.idl.
340 * idl/Accessibility_Role.idl:
341 Added some role types used by AtkRole.
343 2001-12-12 Bill Haneman <bill.haneman@sun.com>
346 * cspi/spi_registry.c:
348 * cspi/cspi-bonobo-listener.c:
349 Namespaced all methods that did not begin with an "SPI_" or
350 "Accessible" prefix to "SPI_".
353 Homogenized internal function namespace to "cspi_" for statics.
356 Patched tests to use the new CSPI API.
358 * docs/reference/cspi/at-spi-cspi-sections.txt:
359 Updated docs to reflect namespace changes, and added a number of
360 methods to the documentation.
362 * registryd/registry.c:
363 Changed use of strings and string hashes in listener event
364 matching and parse_event_string to use GQuark, which is guaranteed
367 * registryd/registry.h:
368 Squashed annoying warning.
370 * idl/Accessibility_Role.idl:
371 Extended range of available Accessibility_Role values.
373 * cspi/spi_accessible.c:
374 Re-ordered role names.
376 2001-12-12 Bill Haneman <bill.haneman@sun.com>
378 * idl/Accessibility_Value.idl:
379 Revert use of union back to CORBA_double, since the double type is
380 more efficient and can contain the other types without loss of
383 * idl/Accessibility_Accessible.idl:
384 Added method Accessibility:Accessible:getRoleName, to complement
385 Accessibility:Accessible:getRole.
387 * cspi/spi_accessible.c:
389 Added C binding for above, Accessible_getRoleName (), and changed
390 signature of Accessible_getRole () to return an AccessibleRole.
392 * cspi/spi-roletypes.h:
393 Changed AccessibleRole_getName to return a char * instead of a
394 const char *. This method is now at least temporarily deprecated
395 in favor of asking Accessibles for their RoleNames directly.
398 Revert to match Accessibility_Value.idl;
402 Change signature of AccessibleValue methods to use double rather
406 * cspi/spi_accessible.c:
407 Changed Accessible_getRole to return an AccessibleRole enum rather
408 than a UTF-8 string. The UTF-8 string can still be obtained via
409 AccessibleRole_getName ().
411 * test/test-simple.c:
412 Add test_action. Small fixup to match API change to Accessible_getRole.
415 Bugfix for get_action_from_servant ().
417 2001-12-11 Michael Meeks <michael@ximian.com>
419 * libspi/libspi.h: remove registry.h and
420 desktop.h, deviceeventcontroller.h
422 * libspi/Makefile.am: remove registry.[ch],
423 desktop.[ch], deviceeventcontroller.[ch]
425 * registryd/Makefile.am: add registry.[ch],
426 desktop.[ch], rename registryd.c to registry-main.c.
427 add deviceeventcontroller.[ch]
429 2001-12-11 Bill Haneman <bill.haneman@sun.com>
432 Replace setenv() call with putenv ().
434 * libspi/component.c:
435 Bugfix in AccessibleComponent_getExtents (),
438 2001-12-11 Michael Meeks <michael@ximian.com>
440 * libspi/image.c (impl_getImageExtents): impl.
441 (spi_image_class_init): upd.
444 (AccessibleImage_getImageDescription): fix daft bug
447 * test/test-simple.c (global_listener_cb): update
448 to only quit if not --poke
449 (main): catch --poke.
450 (validate_accessible): upd. dumping, call test_image
453 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
456 * idl/Accessibility.idl: update all IDL includes.
458 * idl/*.idl - rename to namespace - this sucks, blame
459 mjs' bad decision for oafd.
461 * test/test-simple.c (create_test_window): add more tests.
462 (create_tree): split this out.
463 (validate_accessible): bugfix.
465 2001-12-11 Michael Meeks <michael@ximian.com>
467 * cspi/bonobo/cspi-bonobo-listener.c:
468 (cspi_kestroke_listener_unref),
469 (cspi_event_listener_unref): impl. undoing previous
470 homenous environment - for Bill.
472 * cspi/spi_table.c (long_seq_to_array): use
475 * cspi/spi_main.c: split out all bonoboish bits into
478 * cspi/spi-impl.h: upd. typedefs.
480 * cspi/spi_registry.c: update to lowlevel API,
481 return booleans to indicate success in some places.
483 * cspi/spi_event.c: update to lowlevel API.
485 * cspi/bonobo/Makefile.am: add.
487 * cspi/bonobo/cspi-lowlevel.h: add
489 * cspi/bonobo/cspi-bonobo.c: add
491 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
493 * cspi/Makefile.am: remove spi-listener-impl.[ch],
494 (SUBDIRS): add bonobo, link in the libs.
496 * cspi/spi-util.c: kill this file.
498 * TODO: merge in my bits.
500 2001-12-11 Michael Meeks <michael@ximian.com>
502 * test/test-simple.c (test_value, test_table, main):
503 remove unused variables causing warnings.
505 * configure.in: cleanup checks - require gail.
507 2001-12-11 Bill Haneman <bill.haneman@sun.com>
510 Changed Value interface to use SValue (scalars) rather than
511 assuming all values are floats. This allows floats, doubles,
512 longs, shorts, and unsigned values to be manipulated.
513 Introduced Accessibility:SValue union.
516 Updated to use new API above, and to work correctly with GValues
517 of different types in AtkValue.
520 Updated to use new API above. cspi's API is as yet unchanged.
523 Updated the Value revision action item.
525 2001-12-10 Bill Haneman <bill.haneman@sun.com>
527 * test/test-simple.c:
528 Added test_table (GtkTreeView widget in test window to follow).
529 Un-commented test_value, added GtkRange widget.
530 Added GtkTreeView widget with GtkListStore. It passes regression
531 test but leaks one SPI object for some reason.
534 Fixed bug in impl__set_currentValue.
536 2001-12-10 Michael Meeks <michael@ximian.com>
538 * cspi/spi_text.c: audit for exception handling,
539 tolerating NULL object references safely etc.
541 * cspi/spi_value.c: ditto.
543 * cspi/spi_table.c (AccessibleTable_getSummary),
544 (AccessibleTable_getAccessibleAt),
545 (AccessibleTable_getRowHeader),
546 (AccessibleTable_getColumnHeader),
547 (AccessibleTable_getCaption): fix bugs hidden by
549 (long_seq_to_array): impl.
550 (AccessibleTable_getSelectedRows),
551 (AccessibleTable_getSelectedColumns): use it.
553 2001-12-10 Bill Haneman <bill.haneman@sun.com>
556 Added a TODO list (rough and short for now).
558 * cspi/spi_hyperlink.c:
559 * cspi/spi_hypertext.c:
560 Fixed macro name typos, and remove use of obsolete macro in
561 AccessibleHyperlink_getLink.
564 * cspi/spi_accessible.c:
565 * cspi/spi_application.c:
566 * cspi/spi_component.c:
567 * cspi/spi_selection.c:
570 Documentation fixes (removed return values from ref/unref methods).
572 2001-12-10 Michael Meeks <michael@ximian.com>
574 * cspi/spi_action.c: audit for exception handling,
575 tolerating NULL object references safely etc.
577 * cspi/spi_accessible.c: ditto.
579 * cspi/spi_component.c: ditto.
581 * cspi/spi_editabletext.c: ditto.
583 * cspi/spi_hyperlink.c: ditto.
585 * cspi/spi_hypertext.c: ditto.
587 * cspi/spi_image.c: ditto.
589 * cspi/spi_selection.c: ditto.
591 2001-12-10 Michael Meeks <michael@ximian.com>
593 * configure.in: use cspi/libspi.pc.in instead.
595 * Makefile.am (pkgconfig_DATA): upd. to match.
597 * test/simple-at.c (report_focus_event): kill hacks around
598 bad return values, use putenv not setenv
600 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
601 fire ChildGone - I killed it.
604 (impl_accessibility_component_get_extents): remove
607 * idl/Accessible.idl: kill ChildGone exception.
609 * cspi/*.[ch]: kill int return from ref / unref.
611 * cspi/spi_main.c (cspi_object_add_check): fold into
612 (cspi_object_add): here.
614 * cspi/spi_component.c (AccessibleComponent_getExtents):
615 handle exceptions elegantly.
617 * cspi/spi-private.h (cspi_check_ev_return),
618 (cspi_return_if_fail): impl.
620 * cspi/spi_accessible.c: use extensively.
621 (AccessibleStateSet_equals): add direct compare check.
623 * cspi/spi_selection.c: tolerate NULL objs, and check
624 exceptions before return.
626 * cspi/spi-util.c (cspi_warn_ev): rename to
627 (cspi_check_ev): this & don't pass ev in; no point.
629 2001-12-10 Michael Meeks <michael@ximian.com>
631 * test/test-simple.c: use putenv not setenv
632 (get_environment_vars): more chatty if you're not using
635 * test/simple-at.c: do the setenv so more people see the
638 2001-12-10 Bill Haneman <bill.haneman@sun.com>
641 Changed check of CORBA_environment on notification to be a warning
642 instead of an error for the moment, since we can recover from this
643 error when caused by a queued notification from a dead app.
646 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
647 used by all current implementors of AtkValue), and coerce to
648 CORBA_float. (Proper general case fix may require change to Value.idl).
650 2001-12-09 Bill Haneman <bill.haneman@sun.com>
654 * cspi/spi_accessible.c:
655 Documentation fixes: added user_data params to documentation for
656 listeners and callbacks.
658 * cspi/spi_accessible.c:
659 Changed AccessibleStateSet_compare to return a
660 StateSet rather than return the difference set into a third parameter.
663 2001-12-09 Bill Haneman <bill.haneman@sun.com>
666 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
667 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
671 Remove subdirectory po from SUBDIRS for now.
673 * at-bridge/bridge.c:
674 Beefed up a couple of debug printouts.
675 One-line fix for signal notification name formatting.
677 * libspi/accessible.c:
678 Added assertion to spi_accessible_new ().
680 * libspi/application.c:
681 Put #ifdef qualifiers around a printf.
684 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
686 * registryd/Makefile.am:
688 Replaces use of XML_I18N_MERGE_SERVER_RULE with
689 INTLTOOL_SERVER_RULE macro.
692 Added an event listener for several ATK signals, for
693 testing and debugging. Removed a few g_warnings.
694 Added test output if focussed item implements the Value interface.
696 * test/test-simple.c:
697 Added test_value () function (known not to pass at the moment, so
698 not actually called yet.
700 2001-12-08 Michael Meeks <michael@ximian.com>
702 * at-bridge/bridge.c (bridge_focus_tracker),
703 (emit_eventv): fix the same ref. leak.
704 (register_atk_event_listeners): don't leak.
706 * cspi/spi-listener-impl.c (cspi_event): more
707 protection from client code.
709 * test/test-simple.c (test_desktop): unref the app.
711 * test/Makefile.am: upd. TESTS.
713 * at-bridge/bridge.c (bridge_exit_func): release the registry.
715 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
717 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
719 * cspi/spi_registry.c: constify in strings.
720 (deregisterGlobalEventListenerAll): don't release the ref.
722 * cspi/spi.h: start removing redundant / conflicting
723 gtkdoc comments, making the API readable at a glance :-)
725 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
727 * test/keysynth-demo.c (keysynth_exit, main): upd.
729 * test/simple-at.c (main, simple_at_exit): upd.
731 * test/test-simple.c (unutterable_horror): kill.
732 (utterable_normal_derefs): kill.
733 (main): upd & do a setenv before gtk_init, so that we
734 can use memprof - and to save the pain of remembering
735 this, if we're running under memprof - don't exit.
737 * cspi/spi_main.c (SPI_exit): return exit status
739 (SPI_event_quit): impl.
740 (SPI_event_main): simplify.
741 (cspi_is_gnome_app): kill.
742 (SPI_init): kill isGNOMEapp arg.
744 * at-bridge/bridge.c (register_atk_event_listeners):
745 re-instate the unref.
746 (bridge_exit_func): don't re-activate the registry,
747 protect vs. theoretical re-entry, use the
748 AT_BRIDGE_SHUTDOWN env. var to determine whether to
749 assert a clean shutdown - for regression tests.
751 2001-12-08 Abel Cheung <maddog@linux.org.hk>
753 * configure.in: Comment out dummy i18n support for now,
754 otherwise it fails to build.
755 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
756 EXTRA_DIST. They are missing in tarball.
758 2001-12-07 Michael Meeks <michael@ximian.com>
760 * util/magnifier.c: kill bonobo activation reg. race.
763 (impl_accessibility_component_get_extents): make it match
766 * libspi/registry.c (_registry_notify_listeners):
767 re-remove X headers & reconcile conflicts.
768 (spi_listener_struct_free): bad conflict resolve.
769 (impl_accessibility_registry_register_application):
770 more bad merging fixed.
771 (impl_accessibility_registry_deregister_application): ditto.
772 (spi_registry_new): ditto.
773 (spi_registry_init): don't have an applications field.
775 [ merge fixups2 branch to here ]
776 2001-12-07 Michael Meeks <michael@ximian.com>
778 * test/simple-at.c (report_focus_event),
779 (report_focussed_accessible): remove g_warning debug.
781 2001-12-07 Michael Meeks <michael@ximian.com>
783 * test/test-simple.c (validate_tree): comment out some checks.
784 (test_desktop): app now not registered idly - horay.
786 2001-12-07 Michael Meeks <michael@ximian.com>
788 * cspi/spi_registry.c
789 (registerAccessibleKeystrokeListener): clean, stop it leaking
790 great swathes of memory, and device event controller references.
791 ensure we always pass valid sequences.
792 (deregisterAccessibleKeystrokeListener): ditto.
793 (generateKeyEvent): upd.
795 * at-bridge/bridge.c (bridge_key_listener): handle
796 registry dead exception gracefully.
797 (bridge_focus_tracker, emit_eventv): free ev.
799 * test/simple-at.c (report_focus_event): fix polarity.
801 * libspi/application.c (notify_listeners): kill the ev
802 argument, and make sure we init the ev we use.
803 (spi_application_object_event_listener): split out a chunk
804 (get_atk_object_ref): here & fixup.
805 (reverse_lookup_name_for_toolkit_event): make const.
806 (spi_application_toolkit_event_listener): fixup, kill leaks
809 * at-bridge/bridge.c (register_atk_event_listeners):
810 don't unref the noop object - causes grief.
812 * libspi/registry.c: remove the X headers.
813 turn off the debug churn.
815 * libspi/accessible.c (spi_accessible_new_return): only
816 release the ref if we are supposed to [doh]
818 * test/simple-at.c (report_button_press, report_focus_event):
819 guard vs. unexpected exit.
821 * at-bridge/bridge.c (gtk_module_init): prune printf.
822 (bridge_exit_func): fix app unref.
824 * libspi/Makefile.am: don't install registry or desktop.h
826 * libspi/*.h: update includes.
828 * libspi/application.h: don't include ourself, or
829 other redundant headers.
831 2001-12-06 Michael Meeks <michael@ximian.com>
833 * libspi/accessible.c
834 (get_accessible_from_servant): impl.
835 Upd. all CORBA impl.s to use it killing cut and paste.
837 * cspi/spi_main.c (cspi_cleanup): guard vs. double
839 (SPI_init): register atexit cleanup handler here.
841 2001-12-06 Michael Meeks <michael@ximian.com>
843 * at-bridge/bridge.c (gtk_module_init): g_error on
846 2001-12-06 Michael Meeks <michael@ximian.com>
848 * at-bridge/bridge.c (gtk_module_init): some sort of
849 confusing merge clash - reverted.
850 (bridge_idle_init): ditto.
852 * test/test-simple.c (main, utterable_normal_derefs):
853 merge from Bill - somehow not committed.
855 2001-12-06 Michael Meeks <michael@ximian.com>
857 * libspi/value.c (spi_value_class_init): upd.
858 (spi_value_finalize): kill.
860 * libspi/table.c (spi_table_finalize): kill.
861 (spi_table_interface_new): upd.
862 (spi_table_class_init): upd.
863 (get_table_from_servant): impl.
864 Upd. all CORBA impl.s to use it killing yet more cut and paste.
866 * libspi/selection.c (spi_selection_finalize): kill.
867 (spi_selection_interface_new): upd.
868 (spi_selection_class_init): upd.
869 (get_selection_from_servant): impl.
870 Upd. all CORBA impl.s to use it killing yet more cut and paste.
872 * libspi/relation.c (spi_relation_finalize): kill.
873 (spi_relation_class_init, spi_relation_new): upd
875 * libspi/image.c (spi_image_finalize): kill.
876 (spi_image_class_init): upd.
877 (spi_image_interface_new): upd.
878 (get_image_from_servant): impl.
879 Upd. all CORBA impl.s to use it killing yet more cut and paste.
881 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
882 (spi_hyperlink_finalize): kill.
883 (spi_hyperlink_new): upd.
884 (get_hyperlink_from_servant): impl.
885 Upd. all CORBA impl.s to use it killing yet more cut and paste.
887 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
888 (spi_hypertext_finalize): kill.
889 (spi_hypertext_class_init): upd.
890 (get_hypertext_from_servant): impl.
891 Upd. all CORBA impl.s to use it killing yet more cut and paste.
893 * libspi/editabletext.c (spi_editable_text_finalize): kill.
894 (spi_editable_text_interface_new): upd.
895 (get_editable_text_from_servant): impl.
896 Upd. all CORBA impl.s to use it killing yet more cut and paste.
898 * libspi/text.c (get_text_from_servant): impl.
899 All impls - update to use it killing more cut and paste,
900 also fix bad string returns on duff args ( a somewhat
901 impossible case to handle - but hey ).
902 (spi_text_construct): impl.
903 (spi_text_interface_new): upd.
904 (spi_text_object_finalize): kill.
907 (accessibility_component_object_finalize): kill.
908 (spi_component_class_init): upd.
909 (get_component_from_servant): impl. helper to kill cut & paste.
910 (impl_accessibility_component_contains):
911 (impl_accessibility_component_get_accessible_at_point):
912 (impl_accessibility_component_get_position):
913 (impl_accessibility_component_get_extents):
914 (impl_accessibility_component_get_mdi_z_order):
915 (impl_accessibility_component_get_layer):
916 (spi_component_interface_new): upd.
918 * libspi/action.c (spi_action_finalize): kill.
919 (spi_action_class_init): upd. inherit from SpiObject.
920 (spi_action_interface_new): upd.
921 (get_action_from_servant): impl. helper to reduce cut & paste.
922 (impl_getKeyBinding, impl_getName, impl_doAction),
923 (impl_getDescription): Use it everywhere.
925 * cspi/spi_main.c (get_live_refs): a pointer hash.
926 (spi_object_hash, spi_object_equal): comment out.
927 There are issues with CORBA object hashing that need
930 * libspi/application.c (spi_application_init),
931 (spi_application_new): upd.
933 * libspi/accessible.c (spi_accessible_object_finalize): kill.
934 (spi_accessible_class_init): upd.
935 s/accessible/object/ in epv methods.
937 2001-12-05 Bill Haneman <bill.haneman@sun.com>
939 * at-bridge/bridge.c:
940 Reorder the bridge initialization into the bridge gtk_module_init,
941 an immediate call to bridge_register_app, and an idle_add for
942 register_atk_event_listeners (the only code that *must* wait until
943 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
944 the activation, creates the application's Accessible object, and
945 queues the bridge_idle_init function. Restored call to
946 Accessibility_Registry_deregisterApplication().
947 Prior to making this call we obtain a new reference to the
948 registry, which is a temporary hack that helps us handle apps that
949 shut down the bonobo mainloop before we get there.
952 Fix string leakage in debug block, and don't segv if a an app
953 dies before its event notifications have been propagated.
956 Modify cspi_check_ev() to call g_warning() rather than g_error(),
957 as stopgap measure until we get proper exception handling when
958 objects die during or before interrogation.
962 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
963 Also changed default value of is_gnome_app to TRUE.
966 * test/keysynth-demo.c:
967 Changed use of SPI_init and SPI_event_main to reflect API change above.
970 Made report_focus_event check the warning value from getName
971 before reporting on focussed accessible; simplifies handling of
972 notifications from dead objects.
974 * test/test-simple.c: (Changes not in this patch since source is
977 2001-12-05 Michael Meeks <michael@ximian.com>
979 * registryd/registryd.c (main): protect against
980 bonobo-activation startup race condition.
982 * cspi/spi_main.c (cspi_object_add_check): cope
983 with the exception elegantly.
985 * idl/Accessible.idl: decl. ChildGone
987 * libspi/desktop.c (spi_desktop_dispose): impl.
988 (spi_desktop_class_init): upd.
989 (spi_desktop_add_application),
990 (spi_desktop_remove_application),
991 (abnormal_application_termination): impl.
992 (impl_desktop_get_child_at_index): re-impl.
995 (impl_accessibility_registry_deregister_application),
996 (impl_accessibility_registry_register_application):
997 kill excessive debug clutter.
999 * test/test-simple.c (test_misc): test some NULL
1000 tolerance. (main): upd.
1002 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
1003 implements no interfaces - so let's not crash.
1005 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
1007 * libspi/accessible.c (spi_accessible_new_return): impl.
1008 helper to calm the cut and paste, to cope with
1009 NULL AtkObjects effectively and efficiently, and to kill
1010 the referencing bugs.
1012 * libspi/table.c (impl_getAccessibleAt),
1013 (impl_getRowHeader, impl_getColumnHeader): upd.
1015 * libspi/hyperlink.c (impl_getObject): upd.
1017 * libspi/accessible.c
1018 (impl_accessibility_accessible_get_child_at_index): upd.
1020 * libspi/component.c
1021 (impl_accessibility_component_get_accessible_at_point): upd.
1023 * test/test-simple.c (test_editable_text, test_text): impl.
1026 * cspi/spi_editabletext.c
1027 (AccessibleEditableText_insertText): constify.
1029 * test/test-simple.c (focus_me): make more robust.
1031 * libspi/accessible.c: remove some printfs in methods that
1032 we test and work fine, so we can get a clean tree dump.
1034 * test/test-simple.c (validate_accessible),
1035 (validate_tree): make tree dumping pretty too.
1037 * at-bridge/bridge.c (bridge_signal_listener): upd. so
1038 it builds without debug on.
1040 * test/test-simple.c (validate_accessible): fix the most
1043 * cspi/spi_main.c (spi_object_release): leave the nicely
1044 blanked memory around if in debug mode.
1046 * cspi/spi-listener-impl.c (cspi_event): use add_check.
1048 [committed to fixups2]
1049 2001-12-05 Michael Meeks <michael@ximian.com>
1051 * libspi/editabletext.c
1052 (spi_editable_text_class_init): g_type_class_peek_parent,
1053 not interface peek - so we finalize cleanly.
1055 * libspi/accessible.c (spi_accessible_new): kill debug.
1057 * test/test-simple.c (validate_accessible): fix ref.
1058 leak, print strings before freeing them; sigh, comment a
1059 chunk out due to strangeness.
1060 (validate_tree): unref the child after use.
1062 * cspi/spi_component.c (AccessibleComponent_getLayer):
1063 add missing break statement, switch on zlayer not the
1064 uninitialized retval.
1066 * cspi/spi_main.c (cspi_object_add): add assert, local ref
1067 before (possibly re-entering) remote unref.
1069 * test/simple-at.c (main): unref the desktop.
1071 * cspi/spi_accessible.c (cspi_accessible_is_a): move
1074 * cspi/spi_main.c (cspi_accessible_is_a): here to
1075 isolate bonobo API usage more.
1077 * libspi/registry.c (impl_accessibility_registry_register_application):
1078 prune bogus comment.
1080 2001-12-04 Michael Meeks <michael@ximian.com>
1082 * test/test-simple.c (validate_tree): upd.
1083 IndexInParent check to make it more lucid.
1084 (validate_accessible): dump the tree.
1086 * libspi/accessible.c (de_register_public_ref),
1087 (get_public_refs): impl.
1088 (spi_accessible_new): make more efficient & intuitive.
1089 Now IndexInParent check works.
1091 2001-12-04 Michael Meeks <michael@ximian.com>
1093 * cspi/spi-util.h: remove.
1095 * cspi/spi.h: move SPI_freeString here
1097 * libspi/component.c (impl_accessibility_component_get_layer):
1099 (impl_accessibility_component_get_mdi_z_order): ditto,
1100 return -1 on error - is this ok ?
1102 * test/test-simple.c (test_application): impl.
1104 * cspi/spi_accessible.c (Accessible_getApplication),
1105 (Accessible_isApplication): impl.
1107 * libspi/registry.c (spi_listener_struct_free): release
1108 the CORBA reference too.
1110 * libspi/accessible.c
1111 (impl_accessibility_accessible_get_parent): fix ref leak.
1113 * libspi/registry.c (spi_registry_new): make the registry
1114 immortal - we don't want it to go away ever.
1116 * libspi/application.c
1117 (spi_accessible_application_finalize): impl. cleanup.
1119 * cspi/spi_registry.c
1120 (deregisterGlobalEventListenerAll),
1121 (deregisterGlobalEventListener),
1122 (deregisterAccessibleKeystrokeListener): fix ref leak.
1124 * cspi/spi_main.c (SPI_init): remove redundant ref.
1126 * test/test-simple.c (unutterable_horror): impl. to force a
1131 (impl_accessibility_registry_deregister_application): release
1132 the application when we de-register it.
1134 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1135 until we have the infastructure to get it right.
1137 2001-12-03 Michael Meeks <michael@ximian.com>
1139 * libspi/Makefile.am: only build eventlistener.[ch]
1141 * libspi/accessible.c
1142 (impl_accessibility_accessible_get_child_at_index): don't leak.
1144 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1145 before we hit the idle handler.
1147 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1148 debugging than exit.
1150 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1152 * libspi/listener.c (impl_notify_event): check source
1153 not NIL before unref.
1155 * libspi/registry.c (impl_registry_notify_event): ditto.
1157 * libspi/eventlistener.c
1158 (impl_accessible_event_notify_event): unref the source.
1160 * libspi/accessibleeventlistener.c
1161 (impl_accessible_event_notify_event): unref the source.
1163 * idl/Event.idl: remove 'hash_id' attribute - of no
1166 * libspi/application.c (notify_listeners): upd list
1168 (spi_application_object_event_listener),
1169 (spi_application_toolkit_event_listener): upd to do correct
1173 (_registry_notify_listeners): update.
1174 (parse_event_type): this method also leaks like a sieve.
1175 (impl_accessibility_registry_deregister_global_event_listener):
1176 fix ETYPE_WINDOW case.
1178 * libspi/application.c
1179 (impl_accessibility_application_register_object_event_listener):
1182 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1184 * libspi/hypertext.c (impl_getLink): ditto.
1186 * cspi/spi_main.c (cspi_object_add): remove
1187 bogus CORBA_Object_duplicate.
1189 * cspi/spi-listener-impl.c (cspi_event): dup/ref
1192 * cspi/spi_accessible.c
1193 (Accessible_getRelationSet): fix leak / referencing issue.
1195 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1196 (cspi_object_add, cspi_object_unref): upd.
1197 (spi_object_release, get_live_refs): impl.
1198 (cspi_cleanup): simplify.
1200 * *.[ch]: s/boolean/SpiBoolean/
1202 * cspi/spi_accessible.c (role_names): actualy order so it
1203 corresponds with the enum !
1205 * test/test-simple.c (test_roles): check some role strings
1206 vs. enums to detect offset errors.
1208 2001-12-01 Michael Meeks <michael@ximian.com>
1210 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1212 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1214 (Accessible_getChildAtIndex): use cspi_add_check so we
1215 check the ev before using a (possibly) invalid value.
1217 * libspi/accessible.c
1218 (impl_accessibility_accessible_get_parent): don't segv
1221 * at-bridge/bridge.c (gtk_module_init): upd.
1222 (bridge_property_event_listener): don't leak strings
1224 (bridge_state_event_listener),
1225 (bridge_property_event_listener): don't use a static
1226 buffer in case of recursive event emission &
1227 re-enterancy - split out the swathe of cut and paste
1229 (emit_eventv): and fix 2 ref leaks here & comply to the
1231 (bridge_register_app): rename to
1232 (bridge_idle_init): this and kill arg parsing, split
1233 various inits & bonobo-activation registration to module
1234 init time, kill referencing error.
1235 (bridge_exit_func): fix the same leak.
1236 (bridge_focus_tracker): don't leak event structures
1238 (bridge_signal_listener): more leakage and cut & paste
1240 (bridge_key_listener): return the result - FIXME is
1241 this polarity correct ?
1242 (accessibility_keystroke_from_atk_key_event): rename
1243 (accessibility_init_keystroke_from_atk_key_event): and stop
1245 (gtk_module_init): return a value - not that it is checked by
1247 (bridge_key_listener): register my horror at casting between
1248 IDL defined structs.
1249 (bridge_get_registry): kill - not used.
1251 * cspi/spi_accessible.c (Accessible_getRole): make return const.
1253 * test/test-simple.c (test_roles): impl.
1254 (test_desktop, validate_accessible, validate_tree): impl.
1256 * cspi/spi_accessible.c (role_names): fixup bogus
1257 MAX_ROLES setup, make constants const for efficient linkage
1258 (AccessibleRole_getName): conform to coding style, make
1261 2001-11-30 Michael Meeks <michael@ximian.com>
1263 * cspi/spi.h: add missing prototype.
1265 * libspi/registry.c (spi_listener_struct_new): fix sig.
1267 * test/Makefile.am: add test-simple
1269 * test/test-simple.c: add
1271 * test/test.sh: add.
1273 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1275 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1276 do it straight - since otherwise we often get an activation race.
1278 [ work before Bill duplicated a chunk of it ... ]
1279 2001-11-30 Michael Meeks <michael@ximian.com>
1281 * libspi/keystrokelistener.c
1282 (spi_keystroke_listener_class_init): fixup arg
1285 * libspi/eventlistener.c
1286 (spi_event_listener_class_init): ditto.
1288 * tests/test.sh: add.
1290 * cspi/spi-listener-impl.h: update macros.
1292 * cspi/spi-listener-impl.c
1293 (cspi_event_listener_remove_callback): add
1294 correct pre-conditions.
1296 * cspi/spi_main.c (SPI_exit): guard vs. double
1297 exits, exit the mainloop nicely.
1298 (SPI_event_main): make more sense.
1299 (SPI_init): move the atexit evilness here so we
1300 always do it (yuck).
1301 (SPI_event_main): upd.
1303 * test/simple-at.c: update for listener changes.
1305 * registryd/registryd.c (main): prune kruft.
1307 * libspi/libspi.h: upd.
1309 * libspi/eventlistener.[ch]: rename broken macros.
1311 * libspi/accessibleeventlistener.[ch]: remove.
1313 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
1315 * test/test-simple.c: Add - automated tests.
1317 * cspi/spi-listener-impl.c (cspi_event),
1318 (cspi_key_event): add user_data to invoke.
1319 (cspi_keystroke_listener_finalize): impl.
1320 (cspi_keystroke_listener_class_init): upd.
1323 (createAccessibleEventListener),
1324 (AccessibleEventListener_addCallback),
1325 (createAccessibleKeystrokeListener),
1326 (AccessibleKeystrokeListener_addCallback): upd.
1328 * libspi/deviceeventcontroller.c
1329 (spi_device_event_controller_check_key_event): add public proto.
1332 (impl_accessibility_registry_deregister_global_event_listener):
1333 always init listeners.
1334 (_registry_notify_listeners): yes it is.
1336 * cspi/spi-listener-impl.c (cspi_key_event):
1338 (cspi_event_listener_finalize): impl.
1339 (cspi_event_listener_class_init): hook up.
1340 (event_handler_new, event_handler_free),
1341 (event_list_remove_by_callback): impl.
1342 (cspi_event_listener_remove_callback),
1343 (cspi_keystroke_listener_remove_callback),
1344 (cspi_keystroke_listener_add_callback),
1345 (cspi_event_listener_add_callback): upd.
1347 * libspi/keystrokelistener.c
1348 (keystroke_listener_object_finalize): kill
1349 (spi_keystroke_listener_class_init): upd.
1350 (spi_keystroke_listener_add_callback),
1351 (spi_keystroke_listener_remove_callback): kill,
1353 (impl_key_event): prune drasticaly.
1355 * libspi/eventlistener.c
1356 (spi_event_listener_add_callback),
1357 (spi_event_listener_remove_callback): kill, use
1359 (impl_accessible_event_notify_event): upd.
1360 (spi_event_listener_object_finalize): remove.
1362 * libspi/Makefile.am: use eventlistener.[ch]
1364 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1366 * libspi/registry.c (_registry_notify_listeners):
1367 Changed listener loop iteration to use preferred convention.
1368 Got rid of string memory leaks caused be calling g_strconcat
1369 inside function calls.
1371 * libspi/registry.c (parse_event_type):
1372 Stopped g_strconcat memory leaks, free the g_strsplit return,
1373 g_strdup the split pieces when used, etc.
1375 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1378 Change method 'compare' to return a 'difference set' rather than
1379 taking a StateSet as an out parameter (more Java-friendly).
1381 * idl/Accessible.idl:
1382 Added CORBA struct 'BoundingBox', to faciliate API changes below:
1384 * idl/Component.idl:
1386 Changed methods 'getExtents' and 'getImageExtents' in these
1387 interfaces to return a BoundingBox structure.
1388 (getPosition and getSize are redundant and possibly should be
1389 removed, rather than creating a corresponding Point struct.)
1391 * cspi/spi_component.c:
1392 Modify implementation of getExtents to reflect the above IDL
1397 Add (missing) AccessibleImage_getExtents () API.
1399 * docs/reference/cspi/at-spi-cspi-sections.txt:
1400 Added AccessibleImage_getImageExtents () to docs.
1402 2001-12-03 Bill Haneman <bill.haneman@sun.com>
1404 * idl/Component.idl:
1405 Added two methods, getLayer () and getMDIZOrder (), to reflect
1406 the new ATK methods atk_object_get_layer and
1407 atk_object_get_mdi_z_order. (Which arguably should be part of the
1408 AtkComponent API and AtkObject). Also added an enum,
1409 ComponentLayer, for the first method's return value.
1411 * libspi/component.c:
1412 Added implementations for these methods.
1414 * cspi/spi_component.c:
1416 Added cspi binding methods for above,
1417 AccessibleComponent_getLayer() and
1418 AccessibleComponent_getMDIZOrder().
1419 Added cspi enum 'AccessibleComponentLayer'.
1421 * docs/reference/cspi/at-spi-cspi-sections.txt:
1422 Added above methods to docs.
1426 Changed typedef for 'boolean' type (and all references to it) to
1427 SPIBoolean, to avoid keyword clashes with C++.
1430 Changed usages of 'boolean' to SPIBoolean.
1432 * test/keysynth-demo.c:
1433 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
1434 app), except where SPIBoolean is required by the callbacks API.
1436 2001-12-02 Bill Haneman <bill.haneman@sun.com>
1438 * cspi/spi_registry.c:
1439 Removed obsolete X event loop for passive keygrabs (which now
1442 * registryd/registryd.c:
1443 Removed unnecessary call to gdk_init() [cruft]. This also allows
1444 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
1447 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1449 * docs/reference/cspi:
1450 Included docs for SPI_freeString in generated documentation.
1453 Renamed spi_freeString to SPI_freeString, for consistency. Added
1454 documentation for this function.
1457 Renamed spi_freeString to SPI_freeString, for consistency.
1458 Removed obsolete method declaration string_from_corba_string.
1460 * test/keysynth-demo.c:
1461 Small tweak to comments.
1464 Stopped leaking the strings returned from CSPI.
1466 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1468 Merged Michael's branch (see his ChangeLog entries below).
1470 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
1471 bridge is alive, release on exit.
1473 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
1474 Fix type check macro.
1477 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
1480 Added is_gnome_app static, and method cspi_is_gnome_app(),
1481 so we can call the appropriate shutdown routine at exit in SPI_exit.
1483 * cspi/spi_main.c (cspi_object_ref):
1484 Duplicate the corba object passed in, since we're keeping it around.
1486 * cspi/SPI_exit.c, cspi_cleanup:
1487 Moved the releasing of the live refs to its own function, so we
1488 can put it in g_atexit (). Call the appropriate shutdown API
1489 depending on whethe calling client is a gnome app or not
1490 (bonobo_main_quit or CORBA_ORB_shutdown).
1492 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
1493 Unref the listener when this method is called, after
1494 deregistration. Updated the API docs to note this behavior.
1496 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
1497 Bugfixes: Ref the bonobo object when returning a parent or child
1498 reference, or an AccessibleRelation. Generally made sure
1499 BonoboObject refcount is incremented whenever we return an
1502 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
1503 Fixed typo/bug in signal declaration.
1505 * libspi/accessibleeventlistener.h:
1508 * libspi/application.c (spi_application_new):
1509 Fixed leak in initialization.
1512 Remembered to increment bonobo-object refcount when returning
1513 children (applications) from desktop object.
1514 Added (empty) finalize method.
1516 * libspi/deviceeventcontroller.c:
1517 Hold a ref to listeners inside DEControllerKeyListeners.
1518 Added dec_key_listener_free() method. Use prepend instead of
1519 append in key_listener list. Fixed some refcount madness and
1520 leaks in the listener registration/deregistration - deregistration
1521 now calls dec_key_listener_free() on listeners, and on the
1522 temporarily constructed dec_key_listener() used to perform the search/match.
1524 * libspi/hypertext.c (spi_hypertest_finalize):
1525 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
1526 class. Also fixed spi_hypertext_interface_new() and
1527 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
1529 * libspi/hypertext.h:
1530 Removed pointless and duplicate AtkObject pointer from
1533 * libspi/keystrokelistener.c:
1534 Fixed incorrect type of keystroke_listener_parent_class,
1535 renamed keystroke_listener_object_finalize to
1536 spi_keystroke_listener_object_finalize.
1537 Fixed typo in signal declaration
1538 (spi_keystroke_listener_class_init).
1540 * libspi/registry.c:
1541 Added funcsions spi_listener_struct_new() and
1542 spi_listener_struct_free() to help with memory management issues.
1543 We also now use these methods instead of gnew + poking stuff into
1544 the struct, and to decrement listener counts/free the listeners
1545 when deregistering them.
1546 Fix more refcount bugs in getDesktop() and
1547 getDeviceEventController().
1550 De-ref the desktop after enumerating the applications. Explicitly
1551 decrement the refcounts on the created listeners on exit (using
1552 _unref for keystroke listeners, and via the
1553 deregisterGlobalEventListenerAll command for other event
1556 2001-11-27 Michael Meeks <michael@ximian.com>
1558 * cspi/spi-listener.h: fixup enum.
1560 2001-11-27 Michael Meeks <michael@ximian.com>
1562 * cspi/spi-listener-impl.c (cspi_event_listener_new),
1563 (cspi_keystroke_listener_new): Use the cspi variants.
1565 2001-11-26 Michael Meeks <michael@ximian.com>
1567 * test/keysynth-demo.c: fix 2 compile warnings, missing
1570 * test/simple-at.c (report_focussed_accessible),
1571 (report_focus_event, report_button_press),
1572 (check_property_change, is_command_key),
1573 (report_ordinary_key_event, report_command_key_event): upd.
1575 * util/mag_client.h: include pre-requisites.
1577 * libspi/accessibleeventlistener.c
1578 (spi_event_listener_object_finalize): free any lingering
1581 * libspi/keystrokelistener.c
1582 (keystroke_listener_object_finalize): ditto.
1584 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1585 callbacks, with cspi types.
1587 * cspi/spi_event.c (createAccessibleEventListener): chain to
1588 (AccessibleEventListener_addCallback): here.
1589 (createAccessibleKeystrokeListener): chain to
1590 (AccessibleKeystrokeListener_addCallback): here.
1592 * libspi/keystrokelistener.c
1593 (spi_keystroke_listener_class_init): add signal.
1594 (impl_key_event): emit the event.
1595 (boolean_handled_accumulator): impl.
1596 (marshal_BOOLEAN__POINTER): add, gack.
1598 * libspi/accessibleeventlistener.c
1599 (spi_event_listener_class_init): add signal.
1600 (impl_accessible_event_notify_event): emit the signal &
1601 make the loop efficient.
1602 (spi_event_listener_add_callback): prepend the callback.
1604 * libspi/accessibleeventlistener.h: add an 'event' signal,
1605 decl type on callback.
1607 * libspi/keystrokelistener.h: ditto.
1609 * cspi/spi-listener.h: make methods typesafe and
1610 make them use the new event typedefs.
1612 * test/simple-at.c (report_focussed_accessible):
1613 include mag_client.h
1614 Use *(void *)text_interface not the other thing.
1616 * configure.in: add gtk to registryd bits - since we use
1619 * util/magnifier.c: include libbonobo.h
1621 2001-11-25 Bill Haneman <bill.haneman@sun.com>
1623 * test/keysynth-demo.c:
1624 Turned this into a simple scanning keyboard, to demonstrate the
1625 use of g_timeout_add () as a means of creating timers for
1626 scanning, and the use of GtkStyle for visually indicating when
1627 virtual keyboard elements are selected.
1629 keysynth-demo now listens to any keyboard keys with zero-valued
1630 keycodes (i.e. 'unused' keys) and interprets them as
1633 Reworked the shiftlatch code so that shift-down state isn't held
1634 for long periods (it's only synthesized immediately prior to
1635 the keysynth event it's modifying). Note that shiftlatch in this
1636 demo is a convenience, not intended to take the place of AccessX
1637 which is the better choice for getting 'sticky' modifier keys.
1639 * libspi/deviceeventcontroller.c:
1640 * at-bridge/bridge.c:
1641 * cspi/spi_registry.c:
1642 Removed some debug print stuff, and put other verbosity in #ifdef
1647 Implemented some more of the magnifier IDL for the simple
1648 magnifier: namely, getZoomRegionParams.
1649 Added mag_x and mag_y members to MagnifierData struct, aid of this
1651 Added GtkWindow::realize signal handler to magnifier, to keep it
1652 from receiving keyboard focus from the WM.
1654 2001-11-23 Mark McLoughlin <mark@skynet.ie>
1656 * cspi/spi-private.h: my guess at what michael forgot
1657 before he ran off to NZ :-)
1659 2001-11-23 Michael Meeks <michael@ximian.com>
1661 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
1662 comment out non existant method invoke so we link.
1664 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
1665 use bonobo_exception_get_text for more friendly warnings.
1667 * cspi/spi.c (Obj_Add): move into spi_main & rename
1668 spi_object_add; kill spi.c
1670 * cspi/spi_registry.c
1671 (deregisterGlobalEventListener),
1672 (deregisterGlobalEventListenerAll),
1673 (registerGlobalEventListener): fix exception leaks.
1675 * cspi/spi_main.c (spi_exception): impl. helper, so we
1676 don't leak exceptions.
1678 * cspi/spi_selection.c
1679 (AccessibleSelection_deselectSelectedChild): return the
1682 * cspi/spi_main.c (spi_ev): impl; hack - gack.
1683 (spi_registry): ditto.
1684 (SPI_init): guard against double inits.
1686 * cspi/*.c: use spi_ev (), and spi_registry () where
1687 appropriate - a temporary hack until we have something
1688 better. Use spi_object_add
1690 2001-11-22 Michael Meeks <michael@ximian.com>
1692 * cspi/Makefile.am: re organise, install the headers.
1694 * cspi/*.h: add G_BEGIN/END_DECLS
1696 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1699 Added non-preemptive keylistener for key events with no modifiers
1700 and shift-only modifier.
1702 * libspi/keystrokelistener.c:
1703 Removed some verbose diagnostics printout.
1705 * cspi/spi_registry.c:
1706 Fixed a bug that caused all key listeners to be registered as
1709 * libspi/deviceeventcontroller.c:
1710 Fixed bug that caused XGrabKey (preemptive key grab) to be called
1711 for non-preemptive key masks.
1714 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1716 * docs/reference/idl/at-spi-idl-docs.sgml:
1717 * docs/reference/idl/at-spi-idl-sections.txt:
1718 * docs/reference/idl/at-spi-idl-overrides.txt:
1719 Added missing files.
1721 * docs/reference/Makefile.am:
1722 removed idl from SUBDIRS until we can figure a way to get gtk-doc
1723 to scan the IDL files :-(
1728 Added .cvsignore files.
1730 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1732 * libspi/deviceeventcontroller.c:
1733 * libspi/keystrokelistener.c:
1735 * cspi/spi_registry.c:
1736 Added filters for KeySets, KeyEventSeq, and event types to key
1737 event dispatching, so listeners should only receive those events
1738 that they requested :-)
1740 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1745 * docs/reference:Makefile.am:
1746 * docs/reference/cspi:
1747 * docs/reference/cspi:Makefile.am:
1748 * docs/reference/cspi:tmpl:
1749 * docs/reference/cspi:tmpl:*.sgml:
1750 * docs/reference/idl:
1751 * docs/reference/idl:Makefile.am:
1752 * docs/reference/idl:at-spi-idl-sections.txt:
1753 * docs/reference/idl:at-spi-idl-docs.sgml:
1754 * docs/reference/idl:tmpl:
1755 * docs/reference/idl:tmpl:*.sgml:
1757 Restructured docs directory to allow separate 'reference' docs
1758 section, and forked idl and cspi docs. Added the sgml template
1759 files to CVS. Added the first sections/structural sgml for the
1762 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
1764 * configure.in, libspi/Makefile.am: find libXtst.
1766 2001-11-21 Michael Meeks <michael@ximian.com>
1768 * test/accessx-gui.c: s/spi_value/value/ - doh.
1770 * libspi/base.[ch]: add.
1772 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1774 * idl/Accessible.idl:
1775 * idl/Application.idl:
1778 Started gtk-doc cleanup on IDL.
1780 * libspi/deviceeventcontroller.c:
1781 Added and connected non-preemptive key notification from the
1782 toolkits (in addition to the pre-emptive support from XServer
1783 which we had before, but which causes 'focus flashing'). Filters
1784 are presently limited to key modifiers and global/non-global,
1785 KeySets are presently ignored, as are KeyEvent masks.
1787 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1788 structs into the persistant structure rather than just storing
1789 pointers to things that might not persist across servant
1792 The XGrabKey call now does async keygrabs, because synchronous
1793 ones were deadlocking with GDK_event code in a very nasty way.
1795 Added boolean to internal method notify_keylisteners, to indicate
1796 whether the event came from the 'toolkit source' or the 'global
1797 (XServer) source' - this is used in the notification process to
1798 determine which listeners to send the event to.
1800 deviceeventcontroller.c is now warning-free.
1802 * libspi/registry.c:
1803 Fixed regression in application de-registration.
1804 Also fixed some really brain-dead weirdness having to do with
1805 event dispatching - event structs are now duplicated before being
1806 re-marshalled in the dispatch to listeners. This also fixes a
1807 Solaris build problem.
1810 2001-20-11 Michael Meeks <michael@ximian.com>
1813 (impl_accessibility_registry_deregister_global_event_listener):
1816 * libspi/deviceeventcontroller.c
1817 (spi_device_event_controller_check_key_event): return
1818 FALSE on no virtual method.
1820 * libspi/*..h: make includes work on a correctly pathed install.
1822 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
1824 * libspi/application.h: kill unused ( and whacked out )
1825 gboolean *spi_application_set_id (AtkObject *app, long id);
1827 2001-20-11 Michael Meeks <michael@ximian.com>
1829 * libspi/*.[ch]: further convert to bonobo's type func
1830 macros, remove redundnant casts etc.
1832 * libspi/text.c s/accessibility_text/spi_text/g,
1833 re-order to de-cruft.
1835 * libspi/hypertext.c: re-order to kill a huge slew
1836 of redundant forward decls.
1838 * libspi/relation.c: ditto.
1840 * libspi/image.c: ditto.
1842 * */.cvsignore: update
1844 2001-20-11 Michael Meeks <michael@ximian.com>
1846 * libspi/deviceeventcontroller.c
1847 (_controller_register_with_devices): use g_getenv,
1848 kill stdlib.h include.
1850 * libspi/keystrokelistener.c
1851 (spi_keystroke_listener_get_type): kill
1852 (spi_keystroke_listener_class_init),
1853 (spi_keystroke_listener_init): rename to this.
1855 * libspi/text.c (impl_getAttributes): fix warning / bug.
1857 * libspi/*.[ch]: more headers, includes and over commenting.
1859 2001-20-11 Michael Meeks <michael@ximian.com>
1861 * libspi/*.[ch]: fixup headers, includes and over commenting.
1863 * libspi/image.c (impl__get_imageDescription): const
1864 correctness warning fix. remove redundant casting.
1866 * libspi/table.c (impl_getRowDescription): ditto.
1867 (impl_getColumnDescription): ditto.
1869 * libspi/libspi.h: add.
1871 2001-19-11 Michael Meeks <michael@ximian.com>
1873 * libspi/editabletext.c (impl_setAttributes): fix warnings.
1875 * libspi/component.c (accessibility_component_get_type):
1876 rename to (spi_component_get_type): and macroify.
1877 (accessibility_component_init): rename to
1878 (spi_component_init): this
1879 (accessibility_component_class_init): rename to
1880 (spi_component_class_init): this
1882 * libspi/action.c (spi_action_get_type): kill, use the macro.
1884 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
1887 * libspi/application.c (spi_application_object_event_listener),
1888 (impl_accessibility_application_register_object_event_listener):
1889 warning fixes / const understanding updates.
1891 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
1894 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1896 * libspi/spi_accessible.c: Added docs and C bindings for
1897 AccessibleStateSet. (No implementations yet). Documentation
1898 coverage for C bindings now 100%. Made docs for event listeners
1903 boolean notifyListenersSync (in DeviceEventListener listener,
1904 in DeviceEvent event);
1906 oneway void notifyListenersAsync (in DeviceEventListener listener,
1907 in DeviceEvent event);
1909 Added DeviceEventListener and DeviceEvent structs (may deprecate
1910 KeyStroke and KeystrokeListener in favor of this generic
1911 event/listener framework for devices).
1913 * libspi/deviceeventcontroller.c:
1915 Changed some key listener code to take masks, etc., and paved the
1916 way for integration of toolkit/non-preemptive key events. Changed
1917 signatures of some internal methods.
1919 * at-bridge/bridge.c:
1920 Fixed regression connecting to interface signals, apparently
1921 caused by GTK+ changes.
1923 Added an internal bridge_state_listener to deal with
1924 property-change:accessible-state signals.
1926 Changed the key_listeners GList to store structs (including masks,
1927 etc.) instead of just CORBA_Objects (required for full
1928 implementation of key listener API).
1930 Connected the bridge to all currently supported Atk signals.
1931 Events now supported:
1932 object:property-change
1933 object:property-change:accessible-name
1934 object:property-change:accessible-state
1935 object:property-change:accessible-description
1936 object:property-change:accessible-parent
1937 object:property-change:accessible-value
1938 object:property-change:accessible-role
1939 object:property-change:accessible-table-caption
1940 object:property-change:accessible-table-column-description
1941 object:property-change:accessible-table-column-header
1942 object:property-change:accessible-table-row-description
1943 object:property-change:accessible-table-row-header
1944 object:property-change:accessible-table-summary
1945 object:children-changed
1946 object:visible-data-changed
1947 object:selection-changed
1948 object:text-selection-changed
1950 object:text-caret-moved
1952 object:row-reordered
1954 object:column-inserted
1955 object:column-reordered
1956 object:column-deleted
1957 object:model-changed
1959 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1961 * libspi/hyperlink.c,h:
1962 Fixed some broken stuff in hyperlink.
1964 * libspi/relation.h:
1965 * libspi/relation.c:
1966 * cspi/spi_accessible.c:
1967 Initial implementations of AccessibleRelation methods, and docs.
1969 * libspi/accessible.c:
1970 Fixed a bug that caused SEGV if an accessible
1971 object's description is NULL, and a client
1972 requests it. An empty string is now returned.
1974 * cspi/spi_editabletext.c:
1975 * cspi/spi_hypertext.c:
1977 * cspi/spi_hyperlink.c:
1981 Doc coverage now 95%.
1983 2001-16-11 Bill Haneman <bill.haneman@sun.com>
1985 One last namespacing revision:
1986 * libspi/accessibleeventlistener.[ch]:
1987 Renamed SpiAccessibleEventListener to SpiEventListener,
1988 (no need for two namespaces ;-)
1990 And lots of documentation fixes:
1992 * docs/at-spi-docs.sgml:
1993 Fixed 'underscore vs. hyphen' bug that was preventing
1994 the gtk-doc API docs from being automatically generated.
1997 * cspi/spi-listener.h
1999 * cspi/spi_accessible.c
2001 * cspi/spi_application.c
2002 * cspi/spi_component.c
2003 * cspi/spi_editabletext.c
2005 * cspi/spi_hypertext.c
2007 * cspi/spi_registry.c
2008 * cspi/spi_selection.c
2012 * docs/at-spi-docs.sgml
2013 * docs/at-spi-sections.txt
2015 Added and fixed up gtk-doc documentation in cspi.
2017 Interfaces now (fully) documented (subject to revision and enhancement):
2019 Event Listener Support
2021 AccessibleApplication
2025 AccessibleEditableText
2032 AccessibleRelationSet
2037 2001-14-11 Bill Haneman <bill.haneman@sun.com>
2039 * at-bridge/bridge.c:
2040 Initial work for toolkit-level key snooper connection by bridge.
2045 New typedefs and fixes to support new namespacing, and cleaner
2046 separation of cspi bindings from libspi bonobo implementation.
2047 Removed inconsistent and extraneous Spi* namespace prefix that
2048 had crept into cspi headers.
2049 Lots of comment fixes that sed had missed.
2051 * cspi/spi-roletypes.h:
2052 * cspi/spi-statetypes.h:
2053 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
2054 to AccessibleRoleType.
2056 * libspi/accessibleeventlistener.h:
2057 Fixed minor namespacing weirdness.
2059 * libspi/deviceeventcontroller.c:
2060 Reordered some internal API for device listeners.
2061 Changed the key registry final boolean to 'is_system_global'
2062 rather than 'is_synchronous', which is more descriptive of its
2064 Added spi_device_event_controller_new().
2065 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
2067 * libspi/keystrokelistener.[ch]:
2068 Namespaced KeystrokeListener to SpiKeystrokeListener.
2069 Changed uses of keymasks to use SPI_ prefix, and did other
2072 * libspi/keymasks.h:
2073 Namespaced keymask constants with SPI_ prefix.
2075 * libspi/registry.c:
2076 Some warning fixes, and knock-on fixes from namespace changes.
2079 Added rules for accessx-gui test program.
2081 * test/accessx-gui.c:
2082 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2083 utility. It doesn't actually use at-spi, but it's still cool and
2086 * test/keysynth-demo.c:
2090 Fixes so that these test clients work properly with the namespaced
2091 libraries. (Incompletely tested for technical reasons, fixes may follow)
2094 2001-13-11 Michael Meeks <michael@ximian.com>
2096 * libspi/application.c
2097 (impl_accessibility_application_get_version),
2098 (impl_accessibility_application_get_toolkit_name):
2100 (impl_accessibility_application_set_id),
2101 (impl_accessibility_application_get_id): remove
2102 redundant casting code.
2104 * libspi/action.c (impl_getDescription): fix warnings.
2106 * libspi/accessible.c
2107 (impl_accessibility_accessible_get_parent),
2108 (impl_accessibility_accessible_get_child_at_index),
2109 (impl_accessibility_accessible_get_state),
2110 (impl_accessibility_accessible_get_relation_set):
2111 warning fixes & include action.h
2113 2001-13-11 Michael Meeks <michael@ximian.com>
2115 * *.[ch] fix bits I screwed up:
2117 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2118 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2120 2001-13-11 Michael Meeks <michael@ximian.com>
2122 * *.[ch] Namespace libspi into spi_ and Spi.
2124 2001-13-11 Michael Meeks <michael@ximian.com>
2126 * Makefile.am: dist & install at-spi-1.0.pc
2128 * libspi/Makefile.am: install into at-spi-1.0
2130 * idl/Makefile.am (idldir): install into at-spi-1.0
2132 * at-spi-1.0.pc.in: add.
2134 * configure.in: build it.
2136 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2138 * test/keysynth-demo.c:
2139 Use a 'realize' signal-handler to set the WM properties for
2140 the virtual keyboard, rather than making it a "POPUP" type
2141 override-redirect window (thanks to anders carlsson for that
2144 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2147 * test/keysynth-demo.c:
2148 Added new test of key synthesis, which creates a simple
2149 (mouse-operated) onscreen keyboard. It inserts key events into
2150 the currently-focused window, thus it does not grab keyboard focus
2153 * cspi/spi_registry.c:
2154 Added C binding for AT-SPI generateKeyEvent.
2156 * libspi/deviceeventcontroller.c:
2157 Added call to XFilterEvent so that key listener works with XIM (we
2158 hope). Added event_synth_type to generateKeyEvent, so that we can
2159 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2160 synthesize a press/release pair for KeySyms.
2162 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2164 * libspi/Makefile.am:
2165 * registryd/Makefile.am:
2166 (temporary) hack to include libXtst in libspi and registryd.
2167 (Needed for keystroke synthesis, see below).
2170 Improved API for registerKeystrokeListener, in accordance with
2171 discussions with Gnopernicus team and X server research.
2173 * libspi/registry.c:
2174 * libspi/deviceeventcontroller.c:
2175 * libspi/accessible.c:
2176 * libspi/keystrokelistener.c:
2177 Changes and fixes to support keylisteners for potentially
2178 consumed key events (that is, 'passive grabs').
2179 Added implementation for generateKeyEvent() [untested].
2182 Changes to registerKeystrokeListener() API, as above.
2183 Added deregisterGlobalEventListenerAll(), and
2184 deregisterKeystrokeListener(), which are needed for clean exit of
2186 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2187 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2189 * cspi/spi_registry.c:
2190 Added implementations of function prototypes mentioned above.
2192 * registryd/registryd.c:
2193 Added the key listener event source as a g_timeout(), to allow
2194 receipt of key events that are not caught by GDK (since GDK
2195 doesn't support passive keygrabs, this was necessary).
2198 Changed to attach a keylistener to 'Alt' keys, and
2199 respond to the following keycommands: Alt-M (toggle magnifier);
2200 Alt-F (toggle speech); Alt-Q (quit).
2201 Added an exit routine to deregister the listeners, and a key
2202 listener that prints some key info to the console when a key
2203 matches the listener mask (and is thus received by the listener).
2205 * util/idl/Magnifier.idl:
2206 Changes to magnifier API to support multiple zoom regions,
2207 non-uniform scaling in x and y, markDirty, and a host of other
2208 features that would be useful to magnification.
2211 * util/mag_client.c:
2212 * util/mag_client.h:
2213 * util/mag_control.c:
2215 Source code changes to support the above IDL changes.
2218 As above, and also changes to use a (slower) generic conversion
2219 path for colormap conversions, since the fast RGB conversions have been
2220 reported to fail for 16-bit displays.
2222 2001-10-26 Michael Meeks <michael@ximian.com>
2224 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2226 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
2228 * at-bridge/Makefile.am: fix LDFLAGS.
2230 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2232 * at-bridge/bridge.c:
2233 Re-worked listeners for toolkit events, now we have signal
2234 and property listeners. Added a private method
2235 register_atk_event_listeners(), which registers with the
2236 various atk and gtk signals we need to monitor in order to emit
2238 Added emission hook for AtkObject:property-change events, to
2239 support the 'property listeners'.
2240 Fixed some alloc()s of Accessibility_Event structs to use CORBA
2243 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2244 which emit warnings and exit, respectively, if CORBA errors occur
2245 during remote calls, and we now use these methods to check most of
2246 our CORBA calls in the C bindings.
2248 * cspi/spi_accessible.c:
2249 Changed AccessibleSelection_refSelectedChild() to
2250 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2251 now increment refcounts.
2253 * cspi/spi_component.c:
2254 Fixed some long pointer casts (dangerous!) to pass pointers to
2255 CORBA_longs of the proper type to the CORBA stubs, and copy the
2256 data into the longs that were passed into the C bindings code.
2258 * at-bridge/bridge.c:
2260 * libspi/accessible.c:
2261 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2262 hyperlinks, AtkHyperlink is an object type.
2264 * libspi/application.c:
2265 Added various conversions to and from "generic" event types and
2266 atk-specific types; this is really part of the 'bridge'
2267 implementation but is valid for all AtkObject-based accessibility
2270 * libspi/editabletext.c:
2271 Fixed nasty bug wherein editable text's finalize method was
2272 unref'ing tha AtkObject reference that the text parent class was
2273 about to unref _again_. There was also a nasty inheritance bug
2274 that meant that the AccessibleEditableText class was corrupt.
2276 * libspi/selection.c:
2277 Provided implementations for some selection API that was broken.
2279 * idl/Application.idl:
2280 Added registerObjectEventListener () method.
2283 Fixed a number of return values that were Bonobo_Unknowns from
2284 bonobo_object_corba_objref(), which I
2285 forgot to dup before returning. Changed instances of
2286 bonobo_object_corba_objref (bonobo_object(o)) to
2287 BONOBO_OBJREF(o), for concision and clarity.
2289 <2001-10-13 Louise Miller <louise.miller@sun.com>
2291 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2292 idl/Event.idl, idl/Registry.idl
2293 Changed these files to include Bonobo_Unknown.idl instead
2296 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
2298 * libspi/component.c libspi/component.h:
2299 Fixed typo. Added assertions for object checks in
2300 AccessibleComponent code.
2302 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2304 * idl/Accessible.idl:
2305 Added 'isEqual (Accessible *object)'
2306 method for Accessible. (Not Yet Implemented).
2309 Changed signature of registerKeystrokeListener() to
2310 take a KeySet and KeyEventSeq so that specific keys and event
2311 types could be requested for monitoring, and added a flag
2312 is_synchronous so that either synchronous or asynchronous
2313 notification could be requested. (However this is not all
2314 implemented yet). This also meant adding two new typedefs,
2315 KeyEventSeq and KeySet.
2318 Added two new relations, RELATION_TOOLTIP_FOR and
2319 RELATION_LEAFNODE_OF.
2322 Added new state, STATE_HAS_TOOLTIP.
2324 * libspi/text.c, editabletext.c:
2325 Added new assertions to all casts of bonobo-objects from
2326 CORBA servants, to prevent Text API calls on non-text objects.
2327 Changed suspect casts of int-pointer types, so that we
2328 always send a valid CORBA_long pointer to the CORBA APIs that use
2329 in/out long parameters. We then have to copy from the CORBA_long
2330 into the regular long or int for return to the C bindings, or
2331 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
2334 * libspi/deviceeventcontroller.c:
2335 Cleaned these sources up.
2337 Changed return type for getCharacterAtOffset to
2338 CORBA_unsigned_long, to allow for 32-bit characters.
2341 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
2345 Fixed 'make dist' so that distro compiles...
2346 * libspi/keymasks.h:
2348 * cspi/spi-listener.c:
2349 KeystrokeListenerCB now returns a boolean.
2351 Added KeyEventType struct, and KeyStroke.
2352 Also added createKeystrokeListener(),
2353 KeystrokeListener_addCallback(),
2354 KeystrokeListener_removeCallback(), and added a keymask to
2355 registerKeystrokeListener().
2356 * cspi/spi_accessible.c:
2357 Changed numerous return types for interfaces from
2358 AccessibleComponent to Accessible<InterfaceName>; this was
2359 probably a cut-and-paste error.
2361 Implementations of new KeystrokeListener api (from spi.h,
2364 Changes to key modifier mapping.
2365 Created ControllerEventMask struct.
2366 Made DeviceEventController derive from Bonobo::Unknown.
2368 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
2369 * libspi/deviceeventcontroller.c:
2370 Added a number of new internal (private) methods.
2371 * libspi/editabletext.c:
2372 * libspi/editabletext.h:
2373 Fixed a number of bugs related to the fact that
2374 editabletext inherits from text. Fixed the EditableText struct,
2375 the init() call, and use correct casts when calling Text methods
2376 from an EditableText object. Removed (duplicate) atko from the
2377 EditableText structure, we use the one in the parent Text
2378 structure via the casts mentioned above.
2379 * libspi/keystrokelistener.[ch]:
2380 * libspi/registry.c:
2381 Changes in support of keyboard handling (above).
2383 Keyboard handling, though partly functional, is still not
2384 recommended for at-spi client use as there is considerable
2385 work yet to be done.
2388 Changed some places where pointers to various int types
2389 are cast to be pointers to CORBA_long types and vice-versa:
2390 pointer casting is not safe so we pass pointers of the correct
2391 types and then cast the result before putting it into the target
2394 * libspi/text.h: minor typos corrected.
2396 We now speak not only the name of a Text element, but the
2397 first sentence of its content, when it receives focus.
2398 I also changed the text compression to 75% from 50%.
2399 * util/Accessibility_Util.server.in:
2400 Changed the default magnifier type to be a 3x vertical
2401 splitscreen magnifier (was previously a 2x horizontal one).
2403 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
2405 * libspi/keystrokelistener.h:
2406 * libspi/keystrokelistener.c:
2407 Initial functional implementations of KeystrokeListener.
2410 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
2412 Fixed string handling for NULL strings in libspi.
2413 Added spi_freeString to free strings returned by C bindings.
2415 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
2417 * libspi/keystrokelistener.h:
2418 * libspi/keystrokelistener.c:
2419 Began (no-op) implementations of KeystrokeListener
2421 * libspi/deviceeventcontroller.c:
2422 * libspi/deviceeventcontroller.h:
2423 Began creating implementations of DeviceEventController,
2424 to handle keystroke and mouse event listening and
2426 * libspi/accessible.c:
2427 Stubbed-in the implementations for
2428 Accessibility_Accessible_getState and
2429 Accessibility_Accessible_getRelationSet.
2430 * libspi/registry.c:
2431 Improved de-registration process and fixed some bugs,
2432 deregistration now works correctly.
2434 Added initialization of applications list (to NULL).
2436 Reduced speech compression from 0.5 to 0.7, for demo.
2437 Changed call to gdk_window_set_decorations()
2438 to gtk_window_set_decorated().
2439 * at-bridge/bridge.c:
2440 Bridge now deregisters when app exits, via
2441 registration of a cleanup function
2442 with the g_atexit() call.
2443 Required making 'app' static, renamed 'this_app'.
2444 Fixed broken use of bonobo_init, passing argv wrongly.
2446 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
2450 Created a new directory for
2451 accessibility-related utilities, primarily for
2452 testing and demo purposes, but with possible
2459 Onscreen magnifier utility that
2460 is implemented as a bonobo service.
2462 * util/mag_client.c:
2463 * util/mag_client.h:
2464 Client-side support (simple C bindings)
2465 for Magnification service
2467 * util/mag_control.c:
2468 Client program example for
2469 Magnification service
2471 * util/Accessibility_Magnifier.server.in:
2472 Bonobo-activation file for the
2473 Magnification service.
2476 * util/idl/Magnifier.idl:
2477 IDL defining the bonobo Magnification
2481 Modifications to use the bonobo-activated magnifier
2482 above, in place of trying to connect to an existing
2483 magnifier that uses socket-listening IPC.
2485 If env variable MAGNIFIER is set, a magnifier service
2486 will be started if one does not exist.
2488 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
2489 * at-bridge/bridge.c:
2490 applied patch from Marc to build and run
2491 against new glib and gtk+ (seemed like a change
2492 to bonobo_init signature was made ?)
2494 made festival-server support turned off by default.
2495 Added support for a simple magnifier (off by default)
2496 which will be added to a 'util' directory later.
2497 * at-bridge/Makefile.am:
2498 Changed "application.h" header from a 'source'
2499 to a 'dependency' of libat-bridge.
2501 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2509 Added interface implementation c files to list of
2510 includes so they are included in libcspi.
2513 Changed prototype of AccessibleAction_doAction to return a
2515 Changed prototype of AccessibleTable_getCaption to
2516 return an Accessible.
2517 Changed prototype of AccessibleTable_getSelectedRows
2518 and AccessibleTable_getSelectedColumns to
2519 return a long (returns the number of selected rows
2520 or columns respectively).
2521 Changed name of AccessibleText_refRunAttributes to
2522 AccessibleText_getAttributes.
2523 Changed prototype of AccessibleText_getCharacterExtents to
2524 return a void rather than a boolean.
2525 Added support for a AccessibleCoordType parameter
2526 specifying what type of coordinates are desired.
2527 Added an AccessibleCordType parameter to
2528 AccessibleText_getPointAtOffset.
2530 * cspi/spi_accessible.c:
2531 Added code to return the outstanding interfaces from
2532 Accessible_queryInterface.
2534 * cspi/spi_action.c:
2536 Corrected call to getNActions to call the c binding
2539 * cspi/spi_editabletext.c:
2541 Changed name from setRunAttributes to setAttributes.
2543 * cspi/spi_hyperlink.c:
2545 Changed call to getNAnchors to correctly call the c
2546 binding for an attribute.
2548 * cspi/spi_hypertext.c:
2550 Changed getImageDescription to correctly call the
2551 binding for an attribute.
2553 * cspi/spi_selection.c:
2554 Changed getNSelectedChildren to correctly call the c
2555 binding for the attribute.
2556 Changed refSelectedChild to getSelectedChild.
2560 Changed getCaption to return an Accessible.
2561 Fixed calls which retrieve attributes.
2562 Changed refAt to getAccessibleAt.
2563 Changed getNSelectedRows and getNSelectedColumns to
2567 Changed getCharacterExtents and getPointAtOffset to accept an
2568 AccessibleCoordType.
2570 Changed calls which retrieve attributes.
2571 Changed refRunAttributes to getAttributes.
2576 * idl/Hyperlink.idl:
2577 Changed n_anchors attribute to nAnchors to keep naming
2578 convention consistent.
2581 Made Table inherit from Bonobo::Unknown.
2582 Added nSelectedColumns and nSelectedRows attributes.
2585 Made Value inherit from Bonobo::Unknown.
2587 * libspi/hyperlink.c:
2588 Change for nAnchors attributte name change.
2590 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2598 Added interface implementation c files to list of
2599 includes so they are included in libcspi.
2602 Changed prototype of AccessibleAction_doAction to return a
2604 Changed prototype of AccessibleTable_getCaption to
2605 return an Accessible.
2606 Changed prototype of AccessibleTable_getSelectedRows
2607 and AccessibleTable_getSelectedColumns to
2608 return a long (returns the number of selected rows
2609 or columns respectively).
2610 Changed name of AccessibleText_refRunAttributes to
2611 AccessibleText_getAttributes.
2612 Changed prototype of AccessibleText_getCharacterExtents to
2613 return a void rather than a boolean.
2614 Added support for a AccessibleCoordType parameter
2615 specifying what type of coordinates are desired.
2616 Added an AccessibleCordType parameter to
2617 AccessibleText_getPointAtOffset.
2619 * cspi/spi_accessible.c:
2620 Added code to return the outstanding interfaces from
2621 Accessible_queryInterface.
2623 * cspi/spi_action.c:
2625 Corrected call to getNActions to call the c binding
2628 * cspi/spi_editabletext.c:
2630 Changed name from setRunAttributes to setAttributes.
2632 * cspi/spi_hyperlink.c:
2634 Changed call to getNAnchors to correctly call the c
2635 binding for an attribute.
2637 * cspi/spi_hypertext.c:
2639 Changed getImageDescription to correctly call the
2640 binding for an attribute.
2642 * cspi/spi_selection.c:
2643 Changed getNSelectedChildren to correctly call the c
2644 binding for the attribute.
2645 Changed refSelectedChild to getSelectedChild.
2649 Changed getCaption to return an Accessible.
2650 Fixed calls which retrieve attributes.
2651 Changed refAt to getAccessibleAt.
2652 Changed getNSelectedRows and getNSelectedColumns to
2656 Changed getCharacterExtents and getPointAtOffset to accept an
2657 AccessibleCoordType.
2659 Changed calls which retrieve attributes.
2660 Changed refRunAttributes to getAttributes.
2665 * idl/Hyperlink.idl:
2666 Changed n_anchors attribute to nAnchors to keep naming
2667 convention consistent.
2670 Made Table inherit from Bonobo::Unknown.
2671 Added nSelectedColumns and nSelectedRows attributes.
2674 Made Value inherit from Bonobo::Unknown.
2676 * libspi/hyperlink.c:
2677 Change for nAnchors attributte name change.
2680 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
2682 implementations-- made server implementations own AtkObject pointers
2683 rather than their respective AtkInterrface pointers to fix
2684 refcounting. AtkHyperlink is still broken.
2686 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
2687 * cspi/spi_accessible.c:
2688 Added method Accessible_Role_getName(),
2689 and requisite string array (role_names).
2690 Added conversion string_from_corba_strin() call
2691 to Accessible_getName and _getDescription.
2692 * libspi/accessible.c:
2693 Added implementation for Accessible_getRole()
2695 Added festival support, used if environment variable
2698 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2700 * at-bridge/bridge.c:
2701 Now allocate Accessibility_Event using
2702 Accessibility_Event__alloc() instead of g_new0().
2703 * libspi/accessibleeventlistener.c:
2704 Initialize AccessibleEventListener->callbacks to NULL.
2705 Fixed accessible__event_listener_init() param, changed to
2706 "AccessibleEventListener *" type.
2707 Changed a bonobo_object_release_unref() call to
2708 Accessibility_Accessible_unref().
2709 * libspi/listener.c:
2710 Changed Bonobo_Unknown_unref to (equivalent)
2711 Accessibility_Accessible_unref.
2712 * libspi/registry.c:
2713 Changed bonobo_object_release_unref to
2714 Accessibility_Accessible_unref.
2716 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2719 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
2720 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
2721 spi-util.c spi-util.h
2722 Implementations for C bindings to remaining accessibility
2725 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2728 changed return value of Action from void to boolean to
2729 bring in line with ATK.
2732 Changed getText funcions to return "out" start and end offsets.
2733 Changed getAttributes to take and offset and return the start
2734 and end offset of the attribute run.
2735 Changed getOffsetAtPoint and getCharacterExtents to take an
2736 enum describing whether coordinates are window or screen.
2739 libspi/action.c libspi/action.h libspi/editabletext.c
2740 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
2741 libspi/hypertext.c libspi/hypertext.h libspi/image.c
2742 libspi/image.h libspi/selection.c libspi/selection.h
2743 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
2744 libspi/value.c libspi/value.h
2745 Added server implementations for outstanding ATK interfaces
2746 not yet implemented.
2748 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2751 Added (missing) getName() method.
2752 Made nActions an attribute.
2753 * idl/EditableText.idl:
2754 Changed order of params in setAttributes.
2755 * idl/Hyperlink.idl:
2756 Removed getAnchor, added getURI.
2758 Changed attributes to methods, for efficiency
2759 (so that getting extents can be done in one call)
2760 * idl/Selection.idl:
2761 Changed nSelectedChildren to attribute, and re-indented.
2762 * idl/Table.idl: changed nrows, ncolumns, caption, summary
2764 * idl/Text.idl: reformatted to match our coding style.
2765 (temporarily?) removed getRowColumnAtOffset().
2766 Changed text selection API to support multi-select and
2767 non-contiguous selections, as in ATK.
2768 * idl/Value.idl: changed some methods to attributes.
2770 2001-08-24 Mark McLoughlin <mark@skynet.ie>
2772 * libspi/listener.c(impl_notify_event):
2773 BonoboUnkown_unref the source instead
2774 of bonobo_object_release_unref - the ORB
2775 handles the releasing.
2777 * configure.in: require ORBit-2.3.94 for
2780 2001-08-21 Bill Haneman <bill.haneman@sun.com>
2782 Tagged CVS repository 'EA_1_0'.
2783 * README.EARLY_ACCESS:
2784 Alphabetized acknowledgements list, and
2786 Listed some known dependencies of at-spi.
2788 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2790 * docs/at-spi-docs.sgml:
2791 * docs/at-spi-sections.txt:
2792 * docs/at-spi-overrides.txt: (Added zero-length file)
2793 Documentation improvements - gtk-doc should build
2794 docs for all implemented C bindings now.
2797 * cspi/spi.c: (New file)
2798 * cspi/spi_event.c: (New file)
2799 * cspi/spi_registry.c: (New file)
2800 * cspi/spi_accessible.c: (New file)
2801 * cspi/spi_application.c: (New file)
2802 * cspi/spi_component.c: (New file)
2803 Split spi_main.c into six parts, and included them from
2804 "spi.c". This is a bit of a hack, probably temporary,
2805 but required by gtk-doc, apparently.
2807 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2810 * docs/at-spi-docs.sgml:
2811 * docs/at-spi-sections.txt:
2813 Initial checkins/modifications for gtk-doc generation.
2816 Added (missing) interface query methods to Accessible's C binding.
2818 Added GenericInterface type definition.
2820 Added query for AccessibleComponent interface to focus event handler.
2821 Added printout of bounding box for focussed component.
2822 * libspi/component.c:
2823 Added partial implementation for AccessibleComponent to C binding.
2824 * idl/Application.idl:
2825 * libspi/registry.c:
2826 * libspi/listener.c:
2827 * libspi/application.c:
2828 * libspi/application.h:
2829 Changed "ID" attribute type from string to long.
2831 2001-08-19 Bill Haneman <bill.haneman@sun.com>
2835 Made method naming consistent: methods taking object args
2836 start with uppercase, other methods (except those using
2837 acronyms) start with lowercase. Underscores delimit between
2838 object names and method names:
2839 SPI_init() - uppercase since it starts with an acronym.
2840 getDesktopCount () - lowercase start since no object param0.
2841 Accessible_getName() - uppercase object type name, studlyCaps method
2845 Added gtk-doc documentation for all currently implemented
2846 methods in the C bindings API.
2848 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2850 * Makefile.am : changed build order to build test last.
2853 Changed "createEventListener" to "CreateEventListener".
2854 * libspi/accessibleeventlistener.c :
2855 Bugfix for addition of callbacks.
2856 * test/Makefile.am :
2857 * test/simple-at.c :
2858 Added new test that uses the C bindings API.
2860 * libspi/listener.c :
2861 * libspi/registry.c :
2862 * libspi/accessibleeventlistener.c :
2863 * at-bridge/bridge.c :
2864 Renamed member "target" of Accessibility_Event to "source",
2865 which is more descriptive.
2868 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2872 * cspi/Makefile.am :
2873 Added makefile support for at-spi/cspi directory.
2876 * cspi/spi-listener.h : (NEW FILE)
2877 Added support for/use of spi-listener.h.
2879 C bindings now build successfully, with no warnings.
2880 * libspi/accessibleeventlistener.h : (NEW FILE)
2881 * libspi/accessibleeventlistener.c : (NEW FILE)
2882 * libspi/Makefile.am :
2883 Added new object type "AccessibleEventListener"
2884 which inherits from Listener, and allows attachment
2885 of in-process callbacks (so that a client with a listening
2886 object instance can add functionality to the local
2887 implementation, dynamically).
2889 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2891 * libspi/accessible.c:
2892 Add implementation for get_index_in_parent().
2894 Added #include of "spi-roletypes.h", and
2895 added enumerated type AccessibleCoordType.
2896 Added definition for KeystrokeListener (function type).
2899 * cspi/spi-statetypes.h :
2900 * cspi/spi-roletypes.h :
2902 Added these headers, used by spi.h.
2904 Added code (NOTE: not yet built by make).
2906 2001-08-18 Mark McLoughlin <mark@skynet.ie>
2908 * libspi/Makefile.am: generate imodule
2909 at the same time as other idl compiler
2912 2001-08-17 Bill Haneman <bill.haneman@sun.com>
2913 * libspi/registry.c :
2914 * libspi/application.c :
2915 * idl/Application.idl :
2916 Made registration with toolkit an application method,
2917 which is required since each app has its own toolkit static
2918 environment. Thus the bridge must register for
2919 notification of toolkit events from each application in turn.
2920 Toolkit notifications are now successfully registered for, and
2921 sent to the listening at client.
2923 Changed toolkit event string to use hyphens rather than underscores.
2924 * libspi/listener.c :
2925 listner now gives more info in debug mode - it reports the
2926 name of the event received, as well as the name of the source.
2929 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2931 * libspi/registry.c :
2932 added more implementation for toolkit events.
2933 Fixed bug such that toolkit event registrations
2934 (via atk) use the whole event name string, not
2936 Removed a useless call to an ORBit_ method.
2937 * at-bridge/bridge.c :
2938 Removed unused local sbuf[] variable.
2940 We now register for Gtk:GtkWidget:button_press_event
2941 events as well as "focus:" events.
2943 Add some more API from Registry.idl that was missing,
2944 for keystroke listening, keystroke and mouse event
2945 synthesis, and enumeration of accessible desktops.
2947 2001-08-16 Michael Meeks <michael@ximian.com>
2949 * configure.in: use AM_GLIB_GNU_GETTEXT.
2951 * Makefile.am (SUBDIRS): kill intl.
2953 2001-08-15 Michael Meeks <michael@ximian.com>
2955 * registryd/Makefile.am: s/oaf/server/ relocate info file.
2957 * configure.in: upd.
2959 * configure.in: depend on a recent bonobo-activation that
2960 will find our server files ...
2962 2001-08-16 Bill Haneman <bill.haneman@sun.com>
2964 * libspi/accessible.c : accessible_new() :
2965 Now we add the Component interface via bonobo_object_add_interface,
2966 if the contained AtkObject implements AtkComponent.
2967 * libspi/accessible.h : now include "component.h"
2968 * libspi/component.h :
2969 * libspi/component.c : added files - implementation of
2970 bonobo wrapper object for Accessibility/Component
2971 * libspi/listener.c :
2972 Added test code to check for Accessibility/Component:1.0
2973 interface and report whether it is implemented by the
2975 * libspi/registry.c :
2976 Now we check for not only the hash of the whole event
2977 string before relaying the event, we also check the
2978 "minor" event string (without the detail string).
2979 This allows event listeners to be registered against
2980 all events of a certain major+minor type, or just
2981 against a specific major+minor+detail type.
2982 * libspi/accessible.c :
2983 Added implementations for Accessible:get_parent(),
2984 Accessible:getChildCount(), and Accessible:getChildAtIndex().
2985 * libspi/registry.c :
2986 * libspi/listener.c :
2987 Replaced calls to Accessibility_Accessible_ref() and
2988 Accessibility_Accessible_unref() with
2989 calls to bonobo_object_dup_ref() and
2990 bonobo_object_release_unref(), so that the CORBA object
2991 is dup-ed and released when relayed, as well as the bonobo object.
2993 2001-08-15 Mark McLoughlin <mark@skynet.ie>
2995 * libspi/Makefile.am,
2996 registryd/Makefile.am,
2997 at-bridge/Makefile.am.
2998 test/Makefile.am, configure.in:
2999 reverse previous changes.
3001 * /idl/Image.idl: fix typo.
3003 * test/Makefile.am: put DEBUG_FLAGS
3006 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3008 * test/app.c: use argv[0] instead of
3011 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3013 * libspi/Makefile.am,
3014 registryd/Makefile.am,
3015 at-bridge/Makefile.am.
3016 test/Makefile.am, configure.in:
3017 cleanup, replace individual LIBS/CFLAGS with
3018 AT_COMMON_{LIBS|CFLAGS}.
3022 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3024 * configure.in, libspi/Makefile.am:
3025 Change IDL path checking for bonobo-activation
3028 2001-08-15 Bill Haneman <bill.haneman@sun.com>
3030 * registryd/registry.c : separated event listeners to use
3031 3 separate lists (focus, window, toolkit). Began testing
3032 event names against hashes before relaying events.
3033 * test/at.c : now register for events of type "focus:"
3034 * test/app.c : now generate events of type "focus:"
3035 * at-bridge/bridge.c : register with ATK for focus events,
3036 and we now relay those focus events to any "focus:" listeners.
3037 This now works with the bridge as a GTK_MODULE when running test/at.
3038 * libspi/registry.c :
3039 * libspi/listener.c :
3040 now we ref event sources before propagating, and unref on receipt.
3041 * libspi/registry.c :
3042 some changes to internal structs, to support event typestring hashes.
3043 * text/app.c : changed the way the appname is generated.
3044 * cspi : added directory that will hold the C bindings library for
3045 non-CORBA/bonobo-savvy clients.
3046 * cspi/spi.h : header file that contains the function prototypes for the C binding.
3047 * idl/Component.idl : added in parameter to indicate coord system for
3048 geometry-related calls.
3049 * idl/Hyperlink.idl : added readonly n_links attribute
3050 * idl/Image.idl : changed methods to attributes.
3052 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3054 * at-bridge/Makefile.am: link against
3055 ../libspi/libspi.la instead of -lspi.
3057 * at-spi/test/app.c: include
3058 bonobo-activation.h. Use a default appname
3059 if one is not provided.
3061 2001-08-14 Bill Haneman <bill.haneman@sun.com>
3063 * idl/Registry.idl : temporarily changed register_Application
3064 to oneway, to work around issue with initial registration
3066 * idl/Application.idl : changed attribute "id" from readonly
3067 to read-write, since it needs to be assigned by Registry.
3068 * registryd/registryd.c : added call to set application id
3070 * registryd/registry.c : changed de-registration procedure to
3071 use CORBA_Object_hash() to find matching object ref in application
3072 lists and listener lists.
3073 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
3074 began distinguishing between event types (work in progress).
3076 2001-08-13 Bill Haneman <bill.haneman@sun.com>
3079 * libspi/application.c:
3080 Added implementations for get/set id, get_toolkitName,
3082 * registryd/registryd.c :
3086 Converted from use of OAF to bonobo-activation.
3087 * libspi/desktop.h :
3088 * libspi/desktop.c :
3090 Removed references to atksimpleobject, since base atkobject
3091 implementation now provides functionality we need.
3092 * libspi/atksimpleobject.c :
3093 * libspi/atksimpleobject.h :
3098 * at-bridge/Makefile.am
3099 * at-bridge/bridge.c
3102 Added directory "bridge" and contents, and added dependencies
3103 in Makefile.am/configure.in.
3104 Initial checkin of "at-bridge".
3105 This code is a GTK_MODULE which automatically registers
3106 GTK+ apps with the accessibility registry, using an object
3107 reference to the root ATK object.
3109 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3111 * po/Makefile.in.in: Remove. Again. If this
3112 doesn't get autogenerated - you need to update
3115 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3117 * po/Makefile.in.in: Add. Again.
3119 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3121 * libspi/accessible.c : added support for 'description' property.
3122 * libspi/accessible.c
3124 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3125 (since the two are now equivalent in libbonobo)
3133 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3134 Bonobo::Unknown as does Accessibility::Accessible.
3135 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3136 interface with Bonobo::Stream, since it was redundant with it.
3137 (The Stream returned by a StreamableContext object is expected to
3138 implement only a subset of Bonobo::Stream)
3140 2001-07-28 Anders Carlsson <andersca@gnome.org>
3142 * libspi/accessible.c (accessible_object_finalize): Change
3143 g_free to g_object_unref since the AtkObject is a GObject.
3145 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3147 * idl/Accessibility.idl: add new IDL files
3150 * idl/Action.idl: Definitions of actionable UI object
3151 * idl/Component.idl: Definitions of UI component geometry, etc.
3152 * idl/Hyperlink.idl: Defs of hyperlink behavior
3153 * idl/Image.idl: Def of accessible image
3154 * idl/Selection.idl: Definition of UI object with selectable children
3155 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3156 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3157 * idl/Text.idl: Interface defs for UI elements with complex textual content
3158 * idl/Value.idl: Definition of UI element that is a value controller or display
3160 2001-07-27 Michael Meeks <michael@ximian.com>
3162 * po/Makefile.in.in: remove autogenerated file from CVS.
3164 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3167 * idl/Registry.idl: include guard.
3169 * idl/Accessibility.idl: Add, and include all the other IDL
3172 * idl/*.idl: remove mass of pragmas etc.
3174 2001-07-26 Michael Meeks <michael@ximian.com>
3176 * registryd/Makefile.am (registryd_SOURCES): remove
3179 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3181 * libspi/.cvsignore, registryd/.cvsignore,
3182 test/.cvsignore: updated.
3184 * po/Makefile.in.in: gettext update.
3186 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3188 * initial CVS checkin
3190 2001-06-29 Michael Meeks <michael@ximian.com>
3192 * configure.in: add AM_CONFIG_HEADER to gen config.h