1 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
3 * configure.in, libspi/Makefile.am: find libXtst.
5 2001-11-21 Michael Meeks <michael@ximian.com>
7 * test/accessx-gui.c: s/spi_value/value/ - doh.
9 * libspi/base.[ch]: add.
11 2001-18-11 Bill Haneman <bill.haneman@sun.com>
14 * idl/Application.idl:
17 Started gtk-doc cleanup on IDL.
19 * libspi/deviceeventcontroller.c:
20 Added and connected non-preemptive key notification from the
21 toolkits (in addition to the pre-emptive support from XServer
22 which we had before, but which causes 'focus flashing'). Filters
23 are presently limited to key modifiers and global/non-global,
24 KeySets are presently ignored, as are KeyEvent masks.
26 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
27 structs into the persistant structure rather than just storing
28 pointers to things that might not persist across servant
31 The XGrabKey call now does async keygrabs, because synchronous
32 ones were deadlocking with GDK_event code in a very nasty way.
34 Added boolean to internal method notify_keylisteners, to indicate
35 whether the event came from the 'toolkit source' or the 'global
36 (XServer) source' - this is used in the notification process to
37 determine which listeners to send the event to.
39 deviceeventcontroller.c is now warning-free.
42 Fixed regression in application de-registration.
43 Also fixed some really brain-dead weirdness having to do with
44 event dispatching - event structs are now duplicated before being
45 re-marshalled in the dispatch to listeners. This also fixes a
46 Solaris build problem.
49 2001-20-11 Michael Meeks <michael@ximian.com>
52 (impl_accessibility_registry_deregister_global_event_listener):
55 * libspi/deviceeventcontroller.c
56 (spi_device_event_controller_check_key_event): return
57 FALSE on no virtual method.
59 * libspi/*..h: make includes work on a correctly pathed install.
61 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
63 * libspi/application.h: kill unused ( and whacked out )
64 gboolean *spi_application_set_id (AtkObject *app, long id);
66 2001-20-11 Michael Meeks <michael@ximian.com>
68 * libspi/*.[ch]: further convert to bonobo's type func
69 macros, remove redundnant casts etc.
71 * libspi/text.c s/accessibility_text/spi_text/g,
74 * libspi/hypertext.c: re-order to kill a huge slew
75 of redundant forward decls.
77 * libspi/relation.c: ditto.
79 * libspi/image.c: ditto.
81 * */.cvsignore: update
83 2001-20-11 Michael Meeks <michael@ximian.com>
85 * libspi/deviceeventcontroller.c
86 (_controller_register_with_devices): use g_getenv,
87 kill stdlib.h include.
89 * libspi/keystrokelistener.c
90 (spi_keystroke_listener_get_type): kill
91 (spi_keystroke_listener_class_init),
92 (spi_keystroke_listener_init): rename to this.
94 * libspi/text.c (impl_getAttributes): fix warning / bug.
96 * libspi/*.[ch]: more headers, includes and over commenting.
98 2001-20-11 Michael Meeks <michael@ximian.com>
100 * libspi/*.[ch]: fixup headers, includes and over commenting.
102 * libspi/image.c (impl__get_imageDescription): const
103 correctness warning fix. remove redundant casting.
105 * libspi/table.c (impl_getRowDescription): ditto.
106 (impl_getColumnDescription): ditto.
108 * libspi/libspi.h: add.
110 2001-19-11 Michael Meeks <michael@ximian.com>
112 * libspi/editabletext.c (impl_setAttributes): fix warnings.
114 * libspi/component.c (accessibility_component_get_type):
115 rename to (spi_component_get_type): and macroify.
116 (accessibility_component_init): rename to
117 (spi_component_init): this
118 (accessibility_component_class_init): rename to
119 (spi_component_class_init): this
121 * libspi/action.c (spi_action_get_type): kill, use the macro.
123 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
126 * libspi/application.c (spi_application_object_event_listener),
127 (impl_accessibility_application_register_object_event_listener):
128 warning fixes / const understanding updates.
130 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
133 2001-18-11 Bill Haneman <bill.haneman@sun.com>
135 * libspi/spi_accessible.c: Added docs and C bindings for
136 AccessibleStateSet. (No implementations yet). Documentation
137 coverage for C bindings now 100%. Made docs for event listeners
142 boolean notifyListenersSync (in DeviceEventListener listener,
143 in DeviceEvent event);
145 oneway void notifyListenersAsync (in DeviceEventListener listener,
146 in DeviceEvent event);
148 Added DeviceEventListener and DeviceEvent structs (may deprecate
149 KeyStroke and KeystrokeListener in favor of this generic
150 event/listener framework for devices).
152 * libspi/deviceeventcontroller.c:
154 Changed some key listener code to take masks, etc., and paved the
155 way for integration of toolkit/non-preemptive key events. Changed
156 signatures of some internal methods.
158 * at-bridge/bridge.c:
159 Fixed regression connecting to interface signals, apparently
160 caused by GTK+ changes.
162 Added an internal bridge_state_listener to deal with
163 property-change:accessible-state signals.
165 Changed the key_listeners GList to store structs (including masks,
166 etc.) instead of just CORBA_Objects (required for full
167 implementation of key listener API).
169 Connected the bridge to all currently supported Atk signals.
170 Events now supported:
171 object:property-change
172 object:property-change:accessible-name
173 object:property-change:accessible-state
174 object:property-change:accessible-description
175 object:property-change:accessible-parent
176 object:property-change:accessible-value
177 object:property-change:accessible-role
178 object:property-change:accessible-table-caption
179 object:property-change:accessible-table-column-description
180 object:property-change:accessible-table-column-header
181 object:property-change:accessible-table-row-description
182 object:property-change:accessible-table-row-header
183 object:property-change:accessible-table-summary
184 object:children-changed
185 object:visible-data-changed
186 object:selection-changed
187 object:text-selection-changed
189 object:text-caret-moved
193 object:column-inserted
194 object:column-reordered
195 object:column-deleted
198 2001-16-11 Bill Haneman <bill.haneman@sun.com>
200 * libspi/hyperlink.c,h:
201 Fixed some broken stuff in hyperlink.
205 * cspi/spi_accessible.c:
206 Initial implementations of AccessibleRelation methods, and docs.
208 * libspi/accessible.c:
209 Fixed a bug that caused SEGV if an accessible
210 object's description is NULL, and a client
211 requests it. An empty string is now returned.
213 * cspi/spi_editabletext.c:
214 * cspi/spi_hypertext.c:
216 * cspi/spi_hyperlink.c:
220 Doc coverage now 95%.
222 2001-16-11 Bill Haneman <bill.haneman@sun.com>
224 One last namespacing revision:
225 * libspi/accessibleeventlistener.[ch]:
226 Renamed SpiAccessibleEventListener to SpiEventListener,
227 (no need for two namespaces ;-)
229 And lots of documentation fixes:
231 * docs/at-spi-docs.sgml:
232 Fixed 'underscore vs. hyphen' bug that was preventing
233 the gtk-doc API docs from being automatically generated.
236 * cspi/spi-listener.h
238 * cspi/spi_accessible.c
240 * cspi/spi_application.c
241 * cspi/spi_component.c
242 * cspi/spi_editabletext.c
244 * cspi/spi_hypertext.c
246 * cspi/spi_registry.c
247 * cspi/spi_selection.c
251 * docs/at-spi-docs.sgml
252 * docs/at-spi-sections.txt
254 Added and fixed up gtk-doc documentation in cspi.
256 Interfaces now (fully) documented (subject to revision and enhancement):
258 Event Listener Support
260 AccessibleApplication
264 AccessibleEditableText
271 AccessibleRelationSet
276 2001-14-11 Bill Haneman <bill.haneman@sun.com>
278 * at-bridge/bridge.c:
279 Initial work for toolkit-level key snooper connection by bridge.
284 New typedefs and fixes to support new namespacing, and cleaner
285 separation of cspi bindings from libspi bonobo implementation.
286 Removed inconsistent and extraneous Spi* namespace prefix that
287 had crept into cspi headers.
288 Lots of comment fixes that sed had missed.
290 * cspi/spi-roletypes.h:
291 * cspi/spi-statetypes.h:
292 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
293 to AccessibleRoleType.
295 * libspi/accessibleeventlistener.h:
296 Fixed minor namespacing weirdness.
298 * libspi/deviceeventcontroller.c:
299 Reordered some internal API for device listeners.
300 Changed the key registry final boolean to 'is_system_global'
301 rather than 'is_synchronous', which is more descriptive of its
303 Added spi_device_event_controller_new().
304 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
306 * libspi/keystrokelistener.[ch]:
307 Namespaced KeystrokeListener to SpiKeystrokeListener.
308 Changed uses of keymasks to use SPI_ prefix, and did other
312 Namespaced keymask constants with SPI_ prefix.
315 Some warning fixes, and knock-on fixes from namespace changes.
318 Added rules for accessx-gui test program.
320 * test/accessx-gui.c:
321 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
322 utility. It doesn't actually use at-spi, but it's still cool and
325 * test/keysynth-demo.c:
329 Fixes so that these test clients work properly with the namespaced
330 libraries. (Incompletely tested for technical reasons, fixes may follow)
333 2001-13-11 Michael Meeks <michael@ximian.com>
335 * libspi/application.c
336 (impl_accessibility_application_get_version),
337 (impl_accessibility_application_get_toolkit_name):
339 (impl_accessibility_application_set_id),
340 (impl_accessibility_application_get_id): remove
341 redundant casting code.
343 * libspi/action.c (impl_getDescription): fix warnings.
345 * libspi/accessible.c
346 (impl_accessibility_accessible_get_parent),
347 (impl_accessibility_accessible_get_child_at_index),
348 (impl_accessibility_accessible_get_state),
349 (impl_accessibility_accessible_get_relation_set):
350 warning fixes & include action.h
352 2001-13-11 Michael Meeks <michael@ximian.com>
354 * *.[ch] fix bits I screwed up:
356 s/([^ \tb(\*\&\?\",])spi_/\1/g;
357 s/([^ \tb(\*\&\?\",])Spi/\1/g;
359 2001-13-11 Michael Meeks <michael@ximian.com>
361 * *.[ch] Namespace libspi into spi_ and Spi.
363 2001-13-11 Michael Meeks <michael@ximian.com>
365 * Makefile.am: dist & install at-spi-1.0.pc
367 * libspi/Makefile.am: install into at-spi-1.0
369 * idl/Makefile.am (idldir): install into at-spi-1.0
371 * at-spi-1.0.pc.in: add.
373 * configure.in: build it.
375 2001-12-11 Bill Haneman <bill.haneman@sun.com>
377 * test/keysynth-demo.c:
378 Use a 'realize' signal-handler to set the WM properties for
379 the virtual keyboard, rather than making it a "POPUP" type
380 override-redirect window (thanks to anders carlsson for that
383 2001-11-11 Bill Haneman <bill.haneman@sun.com>
386 * test/keysynth-demo.c:
387 Added new test of key synthesis, which creates a simple
388 (mouse-operated) onscreen keyboard. It inserts key events into
389 the currently-focused window, thus it does not grab keyboard focus
392 * cspi/spi_registry.c:
393 Added C binding for AT-SPI generateKeyEvent.
395 * libspi/deviceeventcontroller.c:
396 Added call to XFilterEvent so that key listener works with XIM (we
397 hope). Added event_synth_type to generateKeyEvent, so that we can
398 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
399 synthesize a press/release pair for KeySyms.
401 2001-11-09 Bill Haneman <bill.haneman@sun.com>
403 * libspi/Makefile.am:
404 * registryd/Makefile.am:
405 (temporary) hack to include libXtst in libspi and registryd.
406 (Needed for keystroke synthesis, see below).
409 Improved API for registerKeystrokeListener, in accordance with
410 discussions with Gnopernicus team and X server research.
413 * libspi/deviceeventcontroller.c:
414 * libspi/accessible.c:
415 * libspi/keystrokelistener.c:
416 Changes and fixes to support keylisteners for potentially
417 consumed key events (that is, 'passive grabs').
418 Added implementation for generateKeyEvent() [untested].
421 Changes to registerKeystrokeListener() API, as above.
422 Added deregisterGlobalEventListenerAll(), and
423 deregisterKeystrokeListener(), which are needed for clean exit of
425 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
426 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
428 * cspi/spi_registry.c:
429 Added implementations of function prototypes mentioned above.
431 * registryd/registryd.c:
432 Added the key listener event source as a g_timeout(), to allow
433 receipt of key events that are not caught by GDK (since GDK
434 doesn't support passive keygrabs, this was necessary).
437 Changed to attach a keylistener to 'Alt' keys, and
438 respond to the following keycommands: Alt-M (toggle magnifier);
439 Alt-F (toggle speech); Alt-Q (quit).
440 Added an exit routine to deregister the listeners, and a key
441 listener that prints some key info to the console when a key
442 matches the listener mask (and is thus received by the listener).
444 * util/idl/Magnifier.idl:
445 Changes to magnifier API to support multiple zoom regions,
446 non-uniform scaling in x and y, markDirty, and a host of other
447 features that would be useful to magnification.
452 * util/mag_control.c:
454 Source code changes to support the above IDL changes.
457 As above, and also changes to use a (slower) generic conversion
458 path for colormap conversions, since the fast RGB conversions have been
459 reported to fail for 16-bit displays.
461 2001-10-26 Michael Meeks <michael@ximian.com>
463 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
465 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
467 * at-bridge/Makefile.am: fix LDFLAGS.
469 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
471 * at-bridge/bridge.c:
472 Re-worked listeners for toolkit events, now we have signal
473 and property listeners. Added a private method
474 register_atk_event_listeners(), which registers with the
475 various atk and gtk signals we need to monitor in order to emit
477 Added emission hook for AtkObject:property-change events, to
478 support the 'property listeners'.
479 Fixed some alloc()s of Accessibility_Event structs to use CORBA
482 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
483 which emit warnings and exit, respectively, if CORBA errors occur
484 during remote calls, and we now use these methods to check most of
485 our CORBA calls in the C bindings.
487 * cspi/spi_accessible.c:
488 Changed AccessibleSelection_refSelectedChild() to
489 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
490 now increment refcounts.
492 * cspi/spi_component.c:
493 Fixed some long pointer casts (dangerous!) to pass pointers to
494 CORBA_longs of the proper type to the CORBA stubs, and copy the
495 data into the longs that were passed into the C bindings code.
497 * at-bridge/bridge.c:
499 * libspi/accessible.c:
500 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
501 hyperlinks, AtkHyperlink is an object type.
503 * libspi/application.c:
504 Added various conversions to and from "generic" event types and
505 atk-specific types; this is really part of the 'bridge'
506 implementation but is valid for all AtkObject-based accessibility
509 * libspi/editabletext.c:
510 Fixed nasty bug wherein editable text's finalize method was
511 unref'ing tha AtkObject reference that the text parent class was
512 about to unref _again_. There was also a nasty inheritance bug
513 that meant that the AccessibleEditableText class was corrupt.
515 * libspi/selection.c:
516 Provided implementations for some selection API that was broken.
518 * idl/Application.idl:
519 Added registerObjectEventListener () method.
522 Fixed a number of return values that were Bonobo_Unknowns from
523 bonobo_object_corba_objref(), which I
524 forgot to dup before returning. Changed instances of
525 bonobo_object_corba_objref (bonobo_object(o)) to
526 BONOBO_OBJREF(o), for concision and clarity.
528 <2001-10-13 Louise Miller <louise.miller@sun.com>
530 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
531 idl/Event.idl, idl/Registry.idl
532 Changed these files to include Bonobo_Unknown.idl instead
535 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
537 * libspi/component.c libspi/component.h:
538 Fixed typo. Added assertions for object checks in
539 AccessibleComponent code.
541 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
543 * idl/Accessible.idl:
544 Added 'isEqual (Accessible *object)'
545 method for Accessible. (Not Yet Implemented).
548 Changed signature of registerKeystrokeListener() to
549 take a KeySet and KeyEventSeq so that specific keys and event
550 types could be requested for monitoring, and added a flag
551 is_synchronous so that either synchronous or asynchronous
552 notification could be requested. (However this is not all
553 implemented yet). This also meant adding two new typedefs,
554 KeyEventSeq and KeySet.
557 Added two new relations, RELATION_TOOLTIP_FOR and
558 RELATION_LEAFNODE_OF.
561 Added new state, STATE_HAS_TOOLTIP.
563 * libspi/text.c, editabletext.c:
564 Added new assertions to all casts of bonobo-objects from
565 CORBA servants, to prevent Text API calls on non-text objects.
566 Changed suspect casts of int-pointer types, so that we
567 always send a valid CORBA_long pointer to the CORBA APIs that use
568 in/out long parameters. We then have to copy from the CORBA_long
569 into the regular long or int for return to the C bindings, or
570 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
573 * libspi/deviceeventcontroller.c:
574 Cleaned these sources up.
576 Changed return type for getCharacterAtOffset to
577 CORBA_unsigned_long, to allow for 32-bit characters.
580 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
584 Fixed 'make dist' so that distro compiles...
587 * cspi/spi-listener.c:
588 KeystrokeListenerCB now returns a boolean.
590 Added KeyEventType struct, and KeyStroke.
591 Also added createKeystrokeListener(),
592 KeystrokeListener_addCallback(),
593 KeystrokeListener_removeCallback(), and added a keymask to
594 registerKeystrokeListener().
595 * cspi/spi_accessible.c:
596 Changed numerous return types for interfaces from
597 AccessibleComponent to Accessible<InterfaceName>; this was
598 probably a cut-and-paste error.
600 Implementations of new KeystrokeListener api (from spi.h,
603 Changes to key modifier mapping.
604 Created ControllerEventMask struct.
605 Made DeviceEventController derive from Bonobo::Unknown.
607 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
608 * libspi/deviceeventcontroller.c:
609 Added a number of new internal (private) methods.
610 * libspi/editabletext.c:
611 * libspi/editabletext.h:
612 Fixed a number of bugs related to the fact that
613 editabletext inherits from text. Fixed the EditableText struct,
614 the init() call, and use correct casts when calling Text methods
615 from an EditableText object. Removed (duplicate) atko from the
616 EditableText structure, we use the one in the parent Text
617 structure via the casts mentioned above.
618 * libspi/keystrokelistener.[ch]:
620 Changes in support of keyboard handling (above).
622 Keyboard handling, though partly functional, is still not
623 recommended for at-spi client use as there is considerable
627 Changed some places where pointers to various int types
628 are cast to be pointers to CORBA_long types and vice-versa:
629 pointer casting is not safe so we pass pointers of the correct
630 types and then cast the result before putting it into the target
633 * libspi/text.h: minor typos corrected.
635 We now speak not only the name of a Text element, but the
636 first sentence of its content, when it receives focus.
637 I also changed the text compression to 75% from 50%.
638 * util/Accessibility_Util.server.in:
639 Changed the default magnifier type to be a 3x vertical
640 splitscreen magnifier (was previously a 2x horizontal one).
642 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
644 * libspi/keystrokelistener.h:
645 * libspi/keystrokelistener.c:
646 Initial functional implementations of KeystrokeListener.
649 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
651 Fixed string handling for NULL strings in libspi.
652 Added spi_freeString to free strings returned by C bindings.
654 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
656 * libspi/keystrokelistener.h:
657 * libspi/keystrokelistener.c:
658 Began (no-op) implementations of KeystrokeListener
660 * libspi/deviceeventcontroller.c:
661 * libspi/deviceeventcontroller.h:
662 Began creating implementations of DeviceEventController,
663 to handle keystroke and mouse event listening and
665 * libspi/accessible.c:
666 Stubbed-in the implementations for
667 Accessibility_Accessible_getState and
668 Accessibility_Accessible_getRelationSet.
670 Improved de-registration process and fixed some bugs,
671 deregistration now works correctly.
673 Added initialization of applications list (to NULL).
675 Reduced speech compression from 0.5 to 0.7, for demo.
676 Changed call to gdk_window_set_decorations()
677 to gtk_window_set_decorated().
678 * at-bridge/bridge.c:
679 Bridge now deregisters when app exits, via
680 registration of a cleanup function
681 with the g_atexit() call.
682 Required making 'app' static, renamed 'this_app'.
683 Fixed broken use of bonobo_init, passing argv wrongly.
685 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
689 Created a new directory for
690 accessibility-related utilities, primarily for
691 testing and demo purposes, but with possible
698 Onscreen magnifier utility that
699 is implemented as a bonobo service.
703 Client-side support (simple C bindings)
704 for Magnification service
706 * util/mag_control.c:
707 Client program example for
708 Magnification service
710 * util/Accessibility_Magnifier.server.in:
711 Bonobo-activation file for the
712 Magnification service.
715 * util/idl/Magnifier.idl:
716 IDL defining the bonobo Magnification
720 Modifications to use the bonobo-activated magnifier
721 above, in place of trying to connect to an existing
722 magnifier that uses socket-listening IPC.
724 If env variable MAGNIFIER is set, a magnifier service
725 will be started if one does not exist.
727 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
728 * at-bridge/bridge.c:
729 applied patch from Marc to build and run
730 against new glib and gtk+ (seemed like a change
731 to bonobo_init signature was made ?)
733 made festival-server support turned off by default.
734 Added support for a simple magnifier (off by default)
735 which will be added to a 'util' directory later.
736 * at-bridge/Makefile.am:
737 Changed "application.h" header from a 'source'
738 to a 'dependency' of libat-bridge.
740 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
748 Added interface implementation c files to list of
749 includes so they are included in libcspi.
752 Changed prototype of AccessibleAction_doAction to return a
754 Changed prototype of AccessibleTable_getCaption to
755 return an Accessible.
756 Changed prototype of AccessibleTable_getSelectedRows
757 and AccessibleTable_getSelectedColumns to
758 return a long (returns the number of selected rows
759 or columns respectively).
760 Changed name of AccessibleText_refRunAttributes to
761 AccessibleText_getAttributes.
762 Changed prototype of AccessibleText_getCharacterExtents to
763 return a void rather than a boolean.
764 Added support for a AccessibleCoordType parameter
765 specifying what type of coordinates are desired.
766 Added an AccessibleCordType parameter to
767 AccessibleText_getPointAtOffset.
769 * cspi/spi_accessible.c:
770 Added code to return the outstanding interfaces from
771 Accessible_queryInterface.
775 Corrected call to getNActions to call the c binding
778 * cspi/spi_editabletext.c:
780 Changed name from setRunAttributes to setAttributes.
782 * cspi/spi_hyperlink.c:
784 Changed call to getNAnchors to correctly call the c
785 binding for an attribute.
787 * cspi/spi_hypertext.c:
789 Changed getImageDescription to correctly call the
790 binding for an attribute.
792 * cspi/spi_selection.c:
793 Changed getNSelectedChildren to correctly call the c
794 binding for the attribute.
795 Changed refSelectedChild to getSelectedChild.
799 Changed getCaption to return an Accessible.
800 Fixed calls which retrieve attributes.
801 Changed refAt to getAccessibleAt.
802 Changed getNSelectedRows and getNSelectedColumns to
806 Changed getCharacterExtents and getPointAtOffset to accept an
809 Changed calls which retrieve attributes.
810 Changed refRunAttributes to getAttributes.
816 Changed n_anchors attribute to nAnchors to keep naming
817 convention consistent.
820 Made Table inherit from Bonobo::Unknown.
821 Added nSelectedColumns and nSelectedRows attributes.
824 Made Value inherit from Bonobo::Unknown.
826 * libspi/hyperlink.c:
827 Change for nAnchors attributte name change.
829 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
837 Added interface implementation c files to list of
838 includes so they are included in libcspi.
841 Changed prototype of AccessibleAction_doAction to return a
843 Changed prototype of AccessibleTable_getCaption to
844 return an Accessible.
845 Changed prototype of AccessibleTable_getSelectedRows
846 and AccessibleTable_getSelectedColumns to
847 return a long (returns the number of selected rows
848 or columns respectively).
849 Changed name of AccessibleText_refRunAttributes to
850 AccessibleText_getAttributes.
851 Changed prototype of AccessibleText_getCharacterExtents to
852 return a void rather than a boolean.
853 Added support for a AccessibleCoordType parameter
854 specifying what type of coordinates are desired.
855 Added an AccessibleCordType parameter to
856 AccessibleText_getPointAtOffset.
858 * cspi/spi_accessible.c:
859 Added code to return the outstanding interfaces from
860 Accessible_queryInterface.
864 Corrected call to getNActions to call the c binding
867 * cspi/spi_editabletext.c:
869 Changed name from setRunAttributes to setAttributes.
871 * cspi/spi_hyperlink.c:
873 Changed call to getNAnchors to correctly call the c
874 binding for an attribute.
876 * cspi/spi_hypertext.c:
878 Changed getImageDescription to correctly call the
879 binding for an attribute.
881 * cspi/spi_selection.c:
882 Changed getNSelectedChildren to correctly call the c
883 binding for the attribute.
884 Changed refSelectedChild to getSelectedChild.
888 Changed getCaption to return an Accessible.
889 Fixed calls which retrieve attributes.
890 Changed refAt to getAccessibleAt.
891 Changed getNSelectedRows and getNSelectedColumns to
895 Changed getCharacterExtents and getPointAtOffset to accept an
898 Changed calls which retrieve attributes.
899 Changed refRunAttributes to getAttributes.
905 Changed n_anchors attribute to nAnchors to keep naming
906 convention consistent.
909 Made Table inherit from Bonobo::Unknown.
910 Added nSelectedColumns and nSelectedRows attributes.
913 Made Value inherit from Bonobo::Unknown.
915 * libspi/hyperlink.c:
916 Change for nAnchors attributte name change.
919 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
921 implementations-- made server implementations own AtkObject pointers
922 rather than their respective AtkInterrface pointers to fix
923 refcounting. AtkHyperlink is still broken.
925 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
926 * cspi/spi_accessible.c:
927 Added method Accessible_Role_getName(),
928 and requisite string array (role_names).
929 Added conversion string_from_corba_strin() call
930 to Accessible_getName and _getDescription.
931 * libspi/accessible.c:
932 Added implementation for Accessible_getRole()
934 Added festival support, used if environment variable
937 2001-09-04 Bill Haneman <bill.haneman@sun.com>
939 * at-bridge/bridge.c:
940 Now allocate Accessibility_Event using
941 Accessibility_Event__alloc() instead of g_new0().
942 * libspi/accessibleeventlistener.c:
943 Initialize AccessibleEventListener->callbacks to NULL.
944 Fixed accessible__event_listener_init() param, changed to
945 "AccessibleEventListener *" type.
946 Changed a bonobo_object_release_unref() call to
947 Accessibility_Accessible_unref().
949 Changed Bonobo_Unknown_unref to (equivalent)
950 Accessibility_Accessible_unref.
952 Changed bonobo_object_release_unref to
953 Accessibility_Accessible_unref.
955 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
958 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
959 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
960 spi-util.c spi-util.h
961 Implementations for C bindings to remaining accessibility
964 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
967 changed return value of Action from void to boolean to
968 bring in line with ATK.
971 Changed getText funcions to return "out" start and end offsets.
972 Changed getAttributes to take and offset and return the start
973 and end offset of the attribute run.
974 Changed getOffsetAtPoint and getCharacterExtents to take an
975 enum describing whether coordinates are window or screen.
978 libspi/action.c libspi/action.h libspi/editabletext.c
979 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
980 libspi/hypertext.c libspi/hypertext.h libspi/image.c
981 libspi/image.h libspi/selection.c libspi/selection.h
982 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
983 libspi/value.c libspi/value.h
984 Added server implementations for outstanding ATK interfaces
987 2001-09-04 Bill Haneman <bill.haneman@sun.com>
990 Added (missing) getName() method.
991 Made nActions an attribute.
992 * idl/EditableText.idl:
993 Changed order of params in setAttributes.
995 Removed getAnchor, added getURI.
997 Changed attributes to methods, for efficiency
998 (so that getting extents can be done in one call)
1000 Changed nSelectedChildren to attribute, and re-indented.
1001 * idl/Table.idl: changed nrows, ncolumns, caption, summary
1003 * idl/Text.idl: reformatted to match our coding style.
1004 (temporarily?) removed getRowColumnAtOffset().
1005 Changed text selection API to support multi-select and
1006 non-contiguous selections, as in ATK.
1007 * idl/Value.idl: changed some methods to attributes.
1009 2001-08-24 Mark McLoughlin <mark@skynet.ie>
1011 * libspi/listener.c(impl_notify_event):
1012 BonoboUnkown_unref the source instead
1013 of bonobo_object_release_unref - the ORB
1014 handles the releasing.
1016 * configure.in: require ORBit-2.3.94 for
1019 2001-08-21 Bill Haneman <bill.haneman@sun.com>
1021 Tagged CVS repository 'EA_1_0'.
1022 * README.EARLY_ACCESS:
1023 Alphabetized acknowledgements list, and
1025 Listed some known dependencies of at-spi.
1027 2001-08-20 Bill Haneman <bill.haneman@sun.com>
1029 * docs/at-spi-docs.sgml:
1030 * docs/at-spi-sections.txt:
1031 * docs/at-spi-overrides.txt: (Added zero-length file)
1032 Documentation improvements - gtk-doc should build
1033 docs for all implemented C bindings now.
1036 * cspi/spi.c: (New file)
1037 * cspi/spi_event.c: (New file)
1038 * cspi/spi_registry.c: (New file)
1039 * cspi/spi_accessible.c: (New file)
1040 * cspi/spi_application.c: (New file)
1041 * cspi/spi_component.c: (New file)
1042 Split spi_main.c into six parts, and included them from
1043 "spi.c". This is a bit of a hack, probably temporary,
1044 but required by gtk-doc, apparently.
1046 2001-08-20 Bill Haneman <bill.haneman@sun.com>
1049 * docs/at-spi-docs.sgml:
1050 * docs/at-spi-sections.txt:
1052 Initial checkins/modifications for gtk-doc generation.
1055 Added (missing) interface query methods to Accessible's C binding.
1057 Added GenericInterface type definition.
1059 Added query for AccessibleComponent interface to focus event handler.
1060 Added printout of bounding box for focussed component.
1061 * libspi/component.c:
1062 Added partial implementation for AccessibleComponent to C binding.
1063 * idl/Application.idl:
1064 * libspi/registry.c:
1065 * libspi/listener.c:
1066 * libspi/application.c:
1067 * libspi/application.h:
1068 Changed "ID" attribute type from string to long.
1070 2001-08-19 Bill Haneman <bill.haneman@sun.com>
1074 Made method naming consistent: methods taking object args
1075 start with uppercase, other methods (except those using
1076 acronyms) start with lowercase. Underscores delimit between
1077 object names and method names:
1078 SPI_init() - uppercase since it starts with an acronym.
1079 getDesktopCount () - lowercase start since no object param0.
1080 Accessible_getName() - uppercase object type name, studlyCaps method
1084 Added gtk-doc documentation for all currently implemented
1085 methods in the C bindings API.
1087 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1089 * Makefile.am : changed build order to build test last.
1092 Changed "createEventListener" to "CreateEventListener".
1093 * libspi/accessibleeventlistener.c :
1094 Bugfix for addition of callbacks.
1095 * test/Makefile.am :
1096 * test/simple-at.c :
1097 Added new test that uses the C bindings API.
1099 * libspi/listener.c :
1100 * libspi/registry.c :
1101 * libspi/accessibleeventlistener.c :
1102 * at-bridge/bridge.c :
1103 Renamed member "target" of Accessibility_Event to "source",
1104 which is more descriptive.
1107 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1111 * cspi/Makefile.am :
1112 Added makefile support for at-spi/cspi directory.
1115 * cspi/spi-listener.h : (NEW FILE)
1116 Added support for/use of spi-listener.h.
1118 C bindings now build successfully, with no warnings.
1119 * libspi/accessibleeventlistener.h : (NEW FILE)
1120 * libspi/accessibleeventlistener.c : (NEW FILE)
1121 * libspi/Makefile.am :
1122 Added new object type "AccessibleEventListener"
1123 which inherits from Listener, and allows attachment
1124 of in-process callbacks (so that a client with a listening
1125 object instance can add functionality to the local
1126 implementation, dynamically).
1128 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1130 * libspi/accessible.c:
1131 Add implementation for get_index_in_parent().
1133 Added #include of "spi-roletypes.h", and
1134 added enumerated type AccessibleCoordType.
1135 Added definition for KeystrokeListener (function type).
1138 * cspi/spi-statetypes.h :
1139 * cspi/spi-roletypes.h :
1141 Added these headers, used by spi.h.
1143 Added code (NOTE: not yet built by make).
1145 2001-08-18 Mark McLoughlin <mark@skynet.ie>
1147 * libspi/Makefile.am: generate imodule
1148 at the same time as other idl compiler
1151 2001-08-17 Bill Haneman <bill.haneman@sun.com>
1152 * libspi/registry.c :
1153 * libspi/application.c :
1154 * idl/Application.idl :
1155 Made registration with toolkit an application method,
1156 which is required since each app has its own toolkit static
1157 environment. Thus the bridge must register for
1158 notification of toolkit events from each application in turn.
1159 Toolkit notifications are now successfully registered for, and
1160 sent to the listening at client.
1162 Changed toolkit event string to use hyphens rather than underscores.
1163 * libspi/listener.c :
1164 listner now gives more info in debug mode - it reports the
1165 name of the event received, as well as the name of the source.
1168 2001-08-16 Bill Haneman <bill.haneman@sun.com>
1170 * libspi/registry.c :
1171 added more implementation for toolkit events.
1172 Fixed bug such that toolkit event registrations
1173 (via atk) use the whole event name string, not
1175 Removed a useless call to an ORBit_ method.
1176 * at-bridge/bridge.c :
1177 Removed unused local sbuf[] variable.
1179 We now register for Gtk:GtkWidget:button_press_event
1180 events as well as "focus:" events.
1182 Add some more API from Registry.idl that was missing,
1183 for keystroke listening, keystroke and mouse event
1184 synthesis, and enumeration of accessible desktops.
1186 2001-08-16 Michael Meeks <michael@ximian.com>
1188 * configure.in: use AM_GLIB_GNU_GETTEXT.
1190 * Makefile.am (SUBDIRS): kill intl.
1192 2001-08-15 Michael Meeks <michael@ximian.com>
1194 * registryd/Makefile.am: s/oaf/server/ relocate info file.
1196 * configure.in: upd.
1198 * configure.in: depend on a recent bonobo-activation that
1199 will find our server files ...
1201 2001-08-16 Bill Haneman <bill.haneman@sun.com>
1203 * libspi/accessible.c : accessible_new() :
1204 Now we add the Component interface via bonobo_object_add_interface,
1205 if the contained AtkObject implements AtkComponent.
1206 * libspi/accessible.h : now include "component.h"
1207 * libspi/component.h :
1208 * libspi/component.c : added files - implementation of
1209 bonobo wrapper object for Accessibility/Component
1210 * libspi/listener.c :
1211 Added test code to check for Accessibility/Component:1.0
1212 interface and report whether it is implemented by the
1214 * libspi/registry.c :
1215 Now we check for not only the hash of the whole event
1216 string before relaying the event, we also check the
1217 "minor" event string (without the detail string).
1218 This allows event listeners to be registered against
1219 all events of a certain major+minor type, or just
1220 against a specific major+minor+detail type.
1221 * libspi/accessible.c :
1222 Added implementations for Accessible:get_parent(),
1223 Accessible:getChildCount(), and Accessible:getChildAtIndex().
1224 * libspi/registry.c :
1225 * libspi/listener.c :
1226 Replaced calls to Accessibility_Accessible_ref() and
1227 Accessibility_Accessible_unref() with
1228 calls to bonobo_object_dup_ref() and
1229 bonobo_object_release_unref(), so that the CORBA object
1230 is dup-ed and released when relayed, as well as the bonobo object.
1232 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1234 * libspi/Makefile.am,
1235 registryd/Makefile.am,
1236 at-bridge/Makefile.am.
1237 test/Makefile.am, configure.in:
1238 reverse previous changes.
1240 * /idl/Image.idl: fix typo.
1242 * test/Makefile.am: put DEBUG_FLAGS
1245 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1247 * test/app.c: use argv[0] instead of
1250 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1252 * libspi/Makefile.am,
1253 registryd/Makefile.am,
1254 at-bridge/Makefile.am.
1255 test/Makefile.am, configure.in:
1256 cleanup, replace individual LIBS/CFLAGS with
1257 AT_COMMON_{LIBS|CFLAGS}.
1261 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1263 * configure.in, libspi/Makefile.am:
1264 Change IDL path checking for bonobo-activation
1267 2001-08-15 Bill Haneman <bill.haneman@sun.com>
1269 * registryd/registry.c : separated event listeners to use
1270 3 separate lists (focus, window, toolkit). Began testing
1271 event names against hashes before relaying events.
1272 * test/at.c : now register for events of type "focus:"
1273 * test/app.c : now generate events of type "focus:"
1274 * at-bridge/bridge.c : register with ATK for focus events,
1275 and we now relay those focus events to any "focus:" listeners.
1276 This now works with the bridge as a GTK_MODULE when running test/at.
1277 * libspi/registry.c :
1278 * libspi/listener.c :
1279 now we ref event sources before propagating, and unref on receipt.
1280 * libspi/registry.c :
1281 some changes to internal structs, to support event typestring hashes.
1282 * text/app.c : changed the way the appname is generated.
1283 * cspi : added directory that will hold the C bindings library for
1284 non-CORBA/bonobo-savvy clients.
1285 * cspi/spi.h : header file that contains the function prototypes for the C binding.
1286 * idl/Component.idl : added in parameter to indicate coord system for
1287 geometry-related calls.
1288 * idl/Hyperlink.idl : added readonly n_links attribute
1289 * idl/Image.idl : changed methods to attributes.
1291 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1293 * at-bridge/Makefile.am: link against
1294 ../libspi/libspi.la instead of -lspi.
1296 * at-spi/test/app.c: include
1297 bonobo-activation.h. Use a default appname
1298 if one is not provided.
1300 2001-08-14 Bill Haneman <bill.haneman@sun.com>
1302 * idl/Registry.idl : temporarily changed register_Application
1303 to oneway, to work around issue with initial registration
1305 * idl/Application.idl : changed attribute "id" from readonly
1306 to read-write, since it needs to be assigned by Registry.
1307 * registryd/registryd.c : added call to set application id
1309 * registryd/registry.c : changed de-registration procedure to
1310 use CORBA_Object_hash() to find matching object ref in application
1311 lists and listener lists.
1312 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
1313 began distinguishing between event types (work in progress).
1315 2001-08-13 Bill Haneman <bill.haneman@sun.com>
1318 * libspi/application.c:
1319 Added implementations for get/set id, get_toolkitName,
1321 * registryd/registryd.c :
1325 Converted from use of OAF to bonobo-activation.
1326 * libspi/desktop.h :
1327 * libspi/desktop.c :
1329 Removed references to atksimpleobject, since base atkobject
1330 implementation now provides functionality we need.
1331 * libspi/atksimpleobject.c :
1332 * libspi/atksimpleobject.h :
1337 * at-bridge/Makefile.am
1338 * at-bridge/bridge.c
1341 Added directory "bridge" and contents, and added dependencies
1342 in Makefile.am/configure.in.
1343 Initial checkin of "at-bridge".
1344 This code is a GTK_MODULE which automatically registers
1345 GTK+ apps with the accessibility registry, using an object
1346 reference to the root ATK object.
1348 2001-08-10 Mark McLoughlin <mark@skynet.ie>
1350 * po/Makefile.in.in: Remove. Again. If this
1351 doesn't get autogenerated - you need to update
1354 2001-08-07 Mark McLoughlin <mark@skynet.ie>
1356 * po/Makefile.in.in: Add. Again.
1358 2001-07-31 Bill Haneman <bill.haneman@sun.com>
1360 * libspi/accessible.c : added support for 'description' property.
1361 * libspi/accessible.c
1363 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
1364 (since the two are now equivalent in libbonobo)
1372 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
1373 Bonobo::Unknown as does Accessibility::Accessible.
1374 * idl/StreamableContent.idl : as above, and replaced internal InputStream
1375 interface with Bonobo::Stream, since it was redundant with it.
1376 (The Stream returned by a StreamableContext object is expected to
1377 implement only a subset of Bonobo::Stream)
1379 2001-07-28 Anders Carlsson <andersca@gnome.org>
1381 * libspi/accessible.c (accessible_object_finalize): Change
1382 g_free to g_object_unref since the AtkObject is a GObject.
1384 2001-07-30 Bill Haneman <bill.haneman@sun.com>
1386 * idl/Accessibility.idl: add new IDL files
1389 * idl/Action.idl: Definitions of actionable UI object
1390 * idl/Component.idl: Definitions of UI component geometry, etc.
1391 * idl/Hyperlink.idl: Defs of hyperlink behavior
1392 * idl/Image.idl: Def of accessible image
1393 * idl/Selection.idl: Definition of UI object with selectable children
1394 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
1395 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
1396 * idl/Text.idl: Interface defs for UI elements with complex textual content
1397 * idl/Value.idl: Definition of UI element that is a value controller or display
1399 2001-07-27 Michael Meeks <michael@ximian.com>
1401 * po/Makefile.in.in: remove autogenerated file from CVS.
1403 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
1406 * idl/Registry.idl: include guard.
1408 * idl/Accessibility.idl: Add, and include all the other IDL
1411 * idl/*.idl: remove mass of pragmas etc.
1413 2001-07-26 Michael Meeks <michael@ximian.com>
1415 * registryd/Makefile.am (registryd_SOURCES): remove
1418 2001-07-27 Mark McLoughlin <mark@skynet.ie>
1420 * libspi/.cvsignore, registryd/.cvsignore,
1421 test/.cvsignore: updated.
1423 * po/Makefile.in.in: gettext update.
1425 2001-07-25 Bill Haneman <bill.haneman@sun.com>
1427 * initial CVS checkin
1429 2001-06-29 Michael Meeks <michael@ximian.com>
1431 * configure.in: add AM_CONFIG_HEADER to gen config.h