1 2001-18-11 Bill Haneman <bill.haneman@sun.com>
3 * libspi/spi_accessible.c: Added docs and C bindings for
4 AccessibleStateSet. (No implementations yet). Documentation
5 coverage for C bindings now 100%. Made docs for event listeners
10 boolean notifyListenersSync (in DeviceEventListener listener,
11 in DeviceEvent event);
13 oneway void notifyListenersAsync (in DeviceEventListener listener,
14 in DeviceEvent event);
16 Added DeviceEventListener and DeviceEvent structs (may deprecate
17 KeyStroke and KeystrokeListener in favor of this generic
18 event/listener framework for devices).
20 * libspi/deviceeventcontroller.c:
22 Changed some key listener code to take masks, etc., and paved the
23 way for integration of toolkit/non-preemptive key events. Changed
24 signatures of some internal methods.
27 Fixed regression connecting to interface signals, apparently
28 caused by GTK+ changes.
30 Added an internal bridge_state_listener to deal with
31 property-change:accessible-state signals.
33 Changed the key_listeners GList to store structs (including masks,
34 etc.) instead of just CORBA_Objects (required for full
35 implementation of key listener API).
37 Connected the bridge to all currently supported Atk signals.
39 object:property-change
40 object:property-change:accessible-name
41 object:property-change:accessible-state
42 object:property-change:accessible-description
43 object:property-change:accessible-parent
44 object:property-change:accessible-value
45 object:property-change:accessible-role
46 object:property-change:accessible-table-caption
47 object:property-change:accessible-table-column-description
48 object:property-change:accessible-table-column-header
49 object:property-change:accessible-table-row-description
50 object:property-change:accessible-table-row-header
51 object:property-change:accessible-table-summary
52 object:children-changed
53 object:visible-data-changed
54 object:selection-changed
55 object:text-selection-changed
57 object:text-caret-moved
61 object:column-inserted
62 object:column-reordered
66 2001-16-11 Bill Haneman <bill.haneman@sun.com>
68 * libspi/hyperlink.c,h:
69 Fixed some broken stuff in hyperlink.
73 * cspi/spi_accessible.c:
74 Initial implementations of AccessibleRelation methods, and docs.
76 * libspi/accessible.c:
77 Fixed a bug that caused SEGV if an accessible
78 object's description is NULL, and a client
79 requests it. An empty string is now returned.
81 * cspi/spi_editabletext.c:
82 * cspi/spi_hypertext.c:
84 * cspi/spi_hyperlink.c:
90 2001-16-11 Bill Haneman <bill.haneman@sun.com>
92 One last namespacing revision:
93 * libspi/accessibleeventlistener.[ch]:
94 Renamed SpiAccessibleEventListener to SpiEventListener,
95 (no need for two namespaces ;-)
97 And lots of documentation fixes:
99 * docs/at-spi-docs.sgml:
100 Fixed 'underscore vs. hyphen' bug that was preventing
101 the gtk-doc API docs from being automatically generated.
104 * cspi/spi-listener.h
106 * cspi/spi_accessible.c
108 * cspi/spi_application.c
109 * cspi/spi_component.c
110 * cspi/spi_editabletext.c
112 * cspi/spi_hypertext.c
114 * cspi/spi_registry.c
115 * cspi/spi_selection.c
119 * docs/at-spi-docs.sgml
120 * docs/at-spi-sections.txt
122 Added and fixed up gtk-doc documentation in cspi.
124 Interfaces now (fully) documented (subject to revision and enhancement):
126 Event Listener Support
128 AccessibleApplication
132 AccessibleEditableText
139 AccessibleRelationSet
144 2001-14-11 Bill Haneman <bill.haneman@sun.com>
146 * at-bridge/bridge.c:
147 Initial work for toolkit-level key snooper connection by bridge.
152 New typedefs and fixes to support new namespacing, and cleaner
153 separation of cspi bindings from libspi bonobo implementation.
154 Removed inconsistent and extraneous Spi* namespace prefix that
155 had crept into cspi headers.
156 Lots of comment fixes that sed had missed.
158 * cspi/spi-roletypes.h:
159 * cspi/spi-statetypes.h:
160 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
161 to AccessibleRoleType.
163 * libspi/accessibleeventlistener.h:
164 Fixed minor namespacing weirdness.
166 * libspi/deviceeventcontroller.c:
167 Reordered some internal API for device listeners.
168 Changed the key registry final boolean to 'is_system_global'
169 rather than 'is_synchronous', which is more descriptive of its
171 Added spi_device_event_controller_new().
172 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
174 * libspi/keystrokelistener.[ch]:
175 Namespaced KeystrokeListener to SpiKeystrokeListener.
176 Changed uses of keymasks to use SPI_ prefix, and did other
180 Namespaced keymask constants with SPI_ prefix.
183 Some warning fixes, and knock-on fixes from namespace changes.
186 Added rules for accessx-gui test program.
188 * test/accessx-gui.c:
189 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
190 utility. It doesn't actually use at-spi, but it's still cool and
193 * test/keysynth-demo.c:
197 Fixes so that these test clients work properly with the namespaced
198 libraries. (Incompletely tested for technical reasons, fixes may follow)
201 2001-13-11 Michael Meeks <michael@ximian.com>
203 * libspi/application.c
204 (impl_accessibility_application_get_version),
205 (impl_accessibility_application_get_toolkit_name):
207 (impl_accessibility_application_set_id),
208 (impl_accessibility_application_get_id): remove
209 redundant casting code.
211 * libspi/action.c (impl_getDescription): fix warnings.
213 * libspi/accessible.c
214 (impl_accessibility_accessible_get_parent),
215 (impl_accessibility_accessible_get_child_at_index),
216 (impl_accessibility_accessible_get_state),
217 (impl_accessibility_accessible_get_relation_set):
218 warning fixes & include action.h
220 2001-13-11 Michael Meeks <michael@ximian.com>
222 * *.[ch] fix bits I screwed up:
224 s/([^ \tb(\*\&\?\",])spi_/\1/g;
225 s/([^ \tb(\*\&\?\",])Spi/\1/g;
227 2001-13-11 Michael Meeks <michael@ximian.com>
229 * *.[ch] Namespace libspi into spi_ and Spi.
231 2001-13-11 Michael Meeks <michael@ximian.com>
233 * Makefile.am: dist & install at-spi-1.0.pc
235 * libspi/Makefile.am: install into at-spi-1.0
237 * idl/Makefile.am (idldir): install into at-spi-1.0
239 * at-spi-1.0.pc.in: add.
241 * configure.in: build it.
243 2001-12-11 Bill Haneman <bill.haneman@sun.com>
245 * test/keysynth-demo.c:
246 Use a 'realize' signal-handler to set the WM properties for
247 the virtual keyboard, rather than making it a "POPUP" type
248 override-redirect window (thanks to anders carlsson for that
251 2001-11-11 Bill Haneman <bill.haneman@sun.com>
254 * test/keysynth-demo.c:
255 Added new test of key synthesis, which creates a simple
256 (mouse-operated) onscreen keyboard. It inserts key events into
257 the currently-focused window, thus it does not grab keyboard focus
260 * cspi/spi_registry.c:
261 Added C binding for AT-SPI generateKeyEvent.
263 * libspi/deviceeventcontroller.c:
264 Added call to XFilterEvent so that key listener works with XIM (we
265 hope). Added event_synth_type to generateKeyEvent, so that we can
266 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
267 synthesize a press/release pair for KeySyms.
269 2001-11-09 Bill Haneman <bill.haneman@sun.com>
271 * libspi/Makefile.am:
272 * registryd/Makefile.am:
273 (temporary) hack to include libXtst in libspi and registryd.
274 (Needed for keystroke synthesis, see below).
277 Improved API for registerKeystrokeListener, in accordance with
278 discussions with Gnopernicus team and X server research.
281 * libspi/deviceeventcontroller.c:
282 * libspi/accessible.c:
283 * libspi/keystrokelistener.c:
284 Changes and fixes to support keylisteners for potentially
285 consumed key events (that is, 'passive grabs').
286 Added implementation for generateKeyEvent() [untested].
289 Changes to registerKeystrokeListener() API, as above.
290 Added deregisterGlobalEventListenerAll(), and
291 deregisterKeystrokeListener(), which are needed for clean exit of
293 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
294 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
296 * cspi/spi_registry.c:
297 Added implementations of function prototypes mentioned above.
299 * registryd/registryd.c:
300 Added the key listener event source as a g_timeout(), to allow
301 receipt of key events that are not caught by GDK (since GDK
302 doesn't support passive keygrabs, this was necessary).
305 Changed to attach a keylistener to 'Alt' keys, and
306 respond to the following keycommands: Alt-M (toggle magnifier);
307 Alt-F (toggle speech); Alt-Q (quit).
308 Added an exit routine to deregister the listeners, and a key
309 listener that prints some key info to the console when a key
310 matches the listener mask (and is thus received by the listener).
312 * util/idl/Magnifier.idl:
313 Changes to magnifier API to support multiple zoom regions,
314 non-uniform scaling in x and y, markDirty, and a host of other
315 features that would be useful to magnification.
320 * util/mag_control.c:
322 Source code changes to support the above IDL changes.
325 As above, and also changes to use a (slower) generic conversion
326 path for colormap conversions, since the fast RGB conversions have been
327 reported to fail for 16-bit displays.
329 2001-10-26 Michael Meeks <michael@ximian.com>
331 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
333 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
335 * at-bridge/Makefile.am: fix LDFLAGS.
337 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
339 * at-bridge/bridge.c:
340 Re-worked listeners for toolkit events, now we have signal
341 and property listeners. Added a private method
342 register_atk_event_listeners(), which registers with the
343 various atk and gtk signals we need to monitor in order to emit
345 Added emission hook for AtkObject:property-change events, to
346 support the 'property listeners'.
347 Fixed some alloc()s of Accessibility_Event structs to use CORBA
350 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
351 which emit warnings and exit, respectively, if CORBA errors occur
352 during remote calls, and we now use these methods to check most of
353 our CORBA calls in the C bindings.
355 * cspi/spi_accessible.c:
356 Changed AccessibleSelection_refSelectedChild() to
357 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
358 now increment refcounts.
360 * cspi/spi_component.c:
361 Fixed some long pointer casts (dangerous!) to pass pointers to
362 CORBA_longs of the proper type to the CORBA stubs, and copy the
363 data into the longs that were passed into the C bindings code.
365 * at-bridge/bridge.c:
367 * libspi/accessible.c:
368 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
369 hyperlinks, AtkHyperlink is an object type.
371 * libspi/application.c:
372 Added various conversions to and from "generic" event types and
373 atk-specific types; this is really part of the 'bridge'
374 implementation but is valid for all AtkObject-based accessibility
377 * libspi/editabletext.c:
378 Fixed nasty bug wherein editable text's finalize method was
379 unref'ing tha AtkObject reference that the text parent class was
380 about to unref _again_. There was also a nasty inheritance bug
381 that meant that the AccessibleEditableText class was corrupt.
383 * libspi/selection.c:
384 Provided implementations for some selection API that was broken.
386 * idl/Application.idl:
387 Added registerObjectEventListener () method.
390 Fixed a number of return values that were Bonobo_Unknowns from
391 bonobo_object_corba_objref(), which I
392 forgot to dup before returning. Changed instances of
393 bonobo_object_corba_objref (bonobo_object(o)) to
394 BONOBO_OBJREF(o), for concision and clarity.
396 <2001-10-13 Louise Miller <louise.miller@sun.com>
398 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
399 idl/Event.idl, idl/Registry.idl
400 Changed these files to include Bonobo_Unknown.idl instead
403 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
405 * libspi/component.c libspi/component.h:
406 Fixed typo. Added assertions for object checks in
407 AccessibleComponent code.
409 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
411 * idl/Accessible.idl:
412 Added 'isEqual (Accessible *object)'
413 method for Accessible. (Not Yet Implemented).
416 Changed signature of registerKeystrokeListener() to
417 take a KeySet and KeyEventSeq so that specific keys and event
418 types could be requested for monitoring, and added a flag
419 is_synchronous so that either synchronous or asynchronous
420 notification could be requested. (However this is not all
421 implemented yet). This also meant adding two new typedefs,
422 KeyEventSeq and KeySet.
425 Added two new relations, RELATION_TOOLTIP_FOR and
426 RELATION_LEAFNODE_OF.
429 Added new state, STATE_HAS_TOOLTIP.
431 * libspi/text.c, editabletext.c:
432 Added new assertions to all casts of bonobo-objects from
433 CORBA servants, to prevent Text API calls on non-text objects.
434 Changed suspect casts of int-pointer types, so that we
435 always send a valid CORBA_long pointer to the CORBA APIs that use
436 in/out long parameters. We then have to copy from the CORBA_long
437 into the regular long or int for return to the C bindings, or
438 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
441 * libspi/deviceeventcontroller.c:
442 Cleaned these sources up.
444 Changed return type for getCharacterAtOffset to
445 CORBA_unsigned_long, to allow for 32-bit characters.
448 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
452 Fixed 'make dist' so that distro compiles...
455 * cspi/spi-listener.c:
456 KeystrokeListenerCB now returns a boolean.
458 Added KeyEventType struct, and KeyStroke.
459 Also added createKeystrokeListener(),
460 KeystrokeListener_addCallback(),
461 KeystrokeListener_removeCallback(), and added a keymask to
462 registerKeystrokeListener().
463 * cspi/spi_accessible.c:
464 Changed numerous return types for interfaces from
465 AccessibleComponent to Accessible<InterfaceName>; this was
466 probably a cut-and-paste error.
468 Implementations of new KeystrokeListener api (from spi.h,
471 Changes to key modifier mapping.
472 Created ControllerEventMask struct.
473 Made DeviceEventController derive from Bonobo::Unknown.
475 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
476 * libspi/deviceeventcontroller.c:
477 Added a number of new internal (private) methods.
478 * libspi/editabletext.c:
479 * libspi/editabletext.h:
480 Fixed a number of bugs related to the fact that
481 editabletext inherits from text. Fixed the EditableText struct,
482 the init() call, and use correct casts when calling Text methods
483 from an EditableText object. Removed (duplicate) atko from the
484 EditableText structure, we use the one in the parent Text
485 structure via the casts mentioned above.
486 * libspi/keystrokelistener.[ch]:
488 Changes in support of keyboard handling (above).
490 Keyboard handling, though partly functional, is still not
491 recommended for at-spi client use as there is considerable
495 Changed some places where pointers to various int types
496 are cast to be pointers to CORBA_long types and vice-versa:
497 pointer casting is not safe so we pass pointers of the correct
498 types and then cast the result before putting it into the target
501 * libspi/text.h: minor typos corrected.
503 We now speak not only the name of a Text element, but the
504 first sentence of its content, when it receives focus.
505 I also changed the text compression to 75% from 50%.
506 * util/Accessibility_Util.server.in:
507 Changed the default magnifier type to be a 3x vertical
508 splitscreen magnifier (was previously a 2x horizontal one).
510 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
512 * libspi/keystrokelistener.h:
513 * libspi/keystrokelistener.c:
514 Initial functional implementations of KeystrokeListener.
517 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
519 Fixed string handling for NULL strings in libspi.
520 Added spi_freeString to free strings returned by C bindings.
522 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
524 * libspi/keystrokelistener.h:
525 * libspi/keystrokelistener.c:
526 Began (no-op) implementations of KeystrokeListener
528 * libspi/deviceeventcontroller.c:
529 * libspi/deviceeventcontroller.h:
530 Began creating implementations of DeviceEventController,
531 to handle keystroke and mouse event listening and
533 * libspi/accessible.c:
534 Stubbed-in the implementations for
535 Accessibility_Accessible_getState and
536 Accessibility_Accessible_getRelationSet.
538 Improved de-registration process and fixed some bugs,
539 deregistration now works correctly.
541 Added initialization of applications list (to NULL).
543 Reduced speech compression from 0.5 to 0.7, for demo.
544 Changed call to gdk_window_set_decorations()
545 to gtk_window_set_decorated().
546 * at-bridge/bridge.c:
547 Bridge now deregisters when app exits, via
548 registration of a cleanup function
549 with the g_atexit() call.
550 Required making 'app' static, renamed 'this_app'.
551 Fixed broken use of bonobo_init, passing argv wrongly.
553 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
557 Created a new directory for
558 accessibility-related utilities, primarily for
559 testing and demo purposes, but with possible
566 Onscreen magnifier utility that
567 is implemented as a bonobo service.
571 Client-side support (simple C bindings)
572 for Magnification service
574 * util/mag_control.c:
575 Client program example for
576 Magnification service
578 * util/Accessibility_Magnifier.server.in:
579 Bonobo-activation file for the
580 Magnification service.
583 * util/idl/Magnifier.idl:
584 IDL defining the bonobo Magnification
588 Modifications to use the bonobo-activated magnifier
589 above, in place of trying to connect to an existing
590 magnifier that uses socket-listening IPC.
592 If env variable MAGNIFIER is set, a magnifier service
593 will be started if one does not exist.
595 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
596 * at-bridge/bridge.c:
597 applied patch from Marc to build and run
598 against new glib and gtk+ (seemed like a change
599 to bonobo_init signature was made ?)
601 made festival-server support turned off by default.
602 Added support for a simple magnifier (off by default)
603 which will be added to a 'util' directory later.
604 * at-bridge/Makefile.am:
605 Changed "application.h" header from a 'source'
606 to a 'dependency' of libat-bridge.
608 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
616 Added interface implementation c files to list of
617 includes so they are included in libcspi.
620 Changed prototype of AccessibleAction_doAction to return a
622 Changed prototype of AccessibleTable_getCaption to
623 return an Accessible.
624 Changed prototype of AccessibleTable_getSelectedRows
625 and AccessibleTable_getSelectedColumns to
626 return a long (returns the number of selected rows
627 or columns respectively).
628 Changed name of AccessibleText_refRunAttributes to
629 AccessibleText_getAttributes.
630 Changed prototype of AccessibleText_getCharacterExtents to
631 return a void rather than a boolean.
632 Added support for a AccessibleCoordType parameter
633 specifying what type of coordinates are desired.
634 Added an AccessibleCordType parameter to
635 AccessibleText_getPointAtOffset.
637 * cspi/spi_accessible.c:
638 Added code to return the outstanding interfaces from
639 Accessible_queryInterface.
643 Corrected call to getNActions to call the c binding
646 * cspi/spi_editabletext.c:
648 Changed name from setRunAttributes to setAttributes.
650 * cspi/spi_hyperlink.c:
652 Changed call to getNAnchors to correctly call the c
653 binding for an attribute.
655 * cspi/spi_hypertext.c:
657 Changed getImageDescription to correctly call the
658 binding for an attribute.
660 * cspi/spi_selection.c:
661 Changed getNSelectedChildren to correctly call the c
662 binding for the attribute.
663 Changed refSelectedChild to getSelectedChild.
667 Changed getCaption to return an Accessible.
668 Fixed calls which retrieve attributes.
669 Changed refAt to getAccessibleAt.
670 Changed getNSelectedRows and getNSelectedColumns to
674 Changed getCharacterExtents and getPointAtOffset to accept an
677 Changed calls which retrieve attributes.
678 Changed refRunAttributes to getAttributes.
684 Changed n_anchors attribute to nAnchors to keep naming
685 convention consistent.
688 Made Table inherit from Bonobo::Unknown.
689 Added nSelectedColumns and nSelectedRows attributes.
692 Made Value inherit from Bonobo::Unknown.
694 * libspi/hyperlink.c:
695 Change for nAnchors attributte name change.
697 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
705 Added interface implementation c files to list of
706 includes so they are included in libcspi.
709 Changed prototype of AccessibleAction_doAction to return a
711 Changed prototype of AccessibleTable_getCaption to
712 return an Accessible.
713 Changed prototype of AccessibleTable_getSelectedRows
714 and AccessibleTable_getSelectedColumns to
715 return a long (returns the number of selected rows
716 or columns respectively).
717 Changed name of AccessibleText_refRunAttributes to
718 AccessibleText_getAttributes.
719 Changed prototype of AccessibleText_getCharacterExtents to
720 return a void rather than a boolean.
721 Added support for a AccessibleCoordType parameter
722 specifying what type of coordinates are desired.
723 Added an AccessibleCordType parameter to
724 AccessibleText_getPointAtOffset.
726 * cspi/spi_accessible.c:
727 Added code to return the outstanding interfaces from
728 Accessible_queryInterface.
732 Corrected call to getNActions to call the c binding
735 * cspi/spi_editabletext.c:
737 Changed name from setRunAttributes to setAttributes.
739 * cspi/spi_hyperlink.c:
741 Changed call to getNAnchors to correctly call the c
742 binding for an attribute.
744 * cspi/spi_hypertext.c:
746 Changed getImageDescription to correctly call the
747 binding for an attribute.
749 * cspi/spi_selection.c:
750 Changed getNSelectedChildren to correctly call the c
751 binding for the attribute.
752 Changed refSelectedChild to getSelectedChild.
756 Changed getCaption to return an Accessible.
757 Fixed calls which retrieve attributes.
758 Changed refAt to getAccessibleAt.
759 Changed getNSelectedRows and getNSelectedColumns to
763 Changed getCharacterExtents and getPointAtOffset to accept an
766 Changed calls which retrieve attributes.
767 Changed refRunAttributes to getAttributes.
773 Changed n_anchors attribute to nAnchors to keep naming
774 convention consistent.
777 Made Table inherit from Bonobo::Unknown.
778 Added nSelectedColumns and nSelectedRows attributes.
781 Made Value inherit from Bonobo::Unknown.
783 * libspi/hyperlink.c:
784 Change for nAnchors attributte name change.
787 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
789 implementations-- made server implementations own AtkObject pointers
790 rather than their respective AtkInterrface pointers to fix
791 refcounting. AtkHyperlink is still broken.
793 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
794 * cspi/spi_accessible.c:
795 Added method Accessible_Role_getName(),
796 and requisite string array (role_names).
797 Added conversion string_from_corba_strin() call
798 to Accessible_getName and _getDescription.
799 * libspi/accessible.c:
800 Added implementation for Accessible_getRole()
802 Added festival support, used if environment variable
805 2001-09-04 Bill Haneman <bill.haneman@sun.com>
807 * at-bridge/bridge.c:
808 Now allocate Accessibility_Event using
809 Accessibility_Event__alloc() instead of g_new0().
810 * libspi/accessibleeventlistener.c:
811 Initialize AccessibleEventListener->callbacks to NULL.
812 Fixed accessible__event_listener_init() param, changed to
813 "AccessibleEventListener *" type.
814 Changed a bonobo_object_release_unref() call to
815 Accessibility_Accessible_unref().
817 Changed Bonobo_Unknown_unref to (equivalent)
818 Accessibility_Accessible_unref.
820 Changed bonobo_object_release_unref to
821 Accessibility_Accessible_unref.
823 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
826 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
827 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
828 spi-util.c spi-util.h
829 Implementations for C bindings to remaining accessibility
832 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
835 changed return value of Action from void to boolean to
836 bring in line with ATK.
839 Changed getText funcions to return "out" start and end offsets.
840 Changed getAttributes to take and offset and return the start
841 and end offset of the attribute run.
842 Changed getOffsetAtPoint and getCharacterExtents to take an
843 enum describing whether coordinates are window or screen.
846 libspi/action.c libspi/action.h libspi/editabletext.c
847 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
848 libspi/hypertext.c libspi/hypertext.h libspi/image.c
849 libspi/image.h libspi/selection.c libspi/selection.h
850 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
851 libspi/value.c libspi/value.h
852 Added server implementations for outstanding ATK interfaces
855 2001-09-04 Bill Haneman <bill.haneman@sun.com>
858 Added (missing) getName() method.
859 Made nActions an attribute.
860 * idl/EditableText.idl:
861 Changed order of params in setAttributes.
863 Removed getAnchor, added getURI.
865 Changed attributes to methods, for efficiency
866 (so that getting extents can be done in one call)
868 Changed nSelectedChildren to attribute, and re-indented.
869 * idl/Table.idl: changed nrows, ncolumns, caption, summary
871 * idl/Text.idl: reformatted to match our coding style.
872 (temporarily?) removed getRowColumnAtOffset().
873 Changed text selection API to support multi-select and
874 non-contiguous selections, as in ATK.
875 * idl/Value.idl: changed some methods to attributes.
877 2001-08-24 Mark McLoughlin <mark@skynet.ie>
879 * libspi/listener.c(impl_notify_event):
880 BonoboUnkown_unref the source instead
881 of bonobo_object_release_unref - the ORB
882 handles the releasing.
884 * configure.in: require ORBit-2.3.94 for
887 2001-08-21 Bill Haneman <bill.haneman@sun.com>
889 Tagged CVS repository 'EA_1_0'.
890 * README.EARLY_ACCESS:
891 Alphabetized acknowledgements list, and
893 Listed some known dependencies of at-spi.
895 2001-08-20 Bill Haneman <bill.haneman@sun.com>
897 * docs/at-spi-docs.sgml:
898 * docs/at-spi-sections.txt:
899 * docs/at-spi-overrides.txt: (Added zero-length file)
900 Documentation improvements - gtk-doc should build
901 docs for all implemented C bindings now.
904 * cspi/spi.c: (New file)
905 * cspi/spi_event.c: (New file)
906 * cspi/spi_registry.c: (New file)
907 * cspi/spi_accessible.c: (New file)
908 * cspi/spi_application.c: (New file)
909 * cspi/spi_component.c: (New file)
910 Split spi_main.c into six parts, and included them from
911 "spi.c". This is a bit of a hack, probably temporary,
912 but required by gtk-doc, apparently.
914 2001-08-20 Bill Haneman <bill.haneman@sun.com>
917 * docs/at-spi-docs.sgml:
918 * docs/at-spi-sections.txt:
920 Initial checkins/modifications for gtk-doc generation.
923 Added (missing) interface query methods to Accessible's C binding.
925 Added GenericInterface type definition.
927 Added query for AccessibleComponent interface to focus event handler.
928 Added printout of bounding box for focussed component.
929 * libspi/component.c:
930 Added partial implementation for AccessibleComponent to C binding.
931 * idl/Application.idl:
934 * libspi/application.c:
935 * libspi/application.h:
936 Changed "ID" attribute type from string to long.
938 2001-08-19 Bill Haneman <bill.haneman@sun.com>
942 Made method naming consistent: methods taking object args
943 start with uppercase, other methods (except those using
944 acronyms) start with lowercase. Underscores delimit between
945 object names and method names:
946 SPI_init() - uppercase since it starts with an acronym.
947 getDesktopCount () - lowercase start since no object param0.
948 Accessible_getName() - uppercase object type name, studlyCaps method
952 Added gtk-doc documentation for all currently implemented
953 methods in the C bindings API.
955 2001-08-18 Bill Haneman <bill.haneman@sun.com>
957 * Makefile.am : changed build order to build test last.
960 Changed "createEventListener" to "CreateEventListener".
961 * libspi/accessibleeventlistener.c :
962 Bugfix for addition of callbacks.
965 Added new test that uses the C bindings API.
967 * libspi/listener.c :
968 * libspi/registry.c :
969 * libspi/accessibleeventlistener.c :
970 * at-bridge/bridge.c :
971 Renamed member "target" of Accessibility_Event to "source",
972 which is more descriptive.
975 2001-08-18 Bill Haneman <bill.haneman@sun.com>
980 Added makefile support for at-spi/cspi directory.
983 * cspi/spi-listener.h : (NEW FILE)
984 Added support for/use of spi-listener.h.
986 C bindings now build successfully, with no warnings.
987 * libspi/accessibleeventlistener.h : (NEW FILE)
988 * libspi/accessibleeventlistener.c : (NEW FILE)
989 * libspi/Makefile.am :
990 Added new object type "AccessibleEventListener"
991 which inherits from Listener, and allows attachment
992 of in-process callbacks (so that a client with a listening
993 object instance can add functionality to the local
994 implementation, dynamically).
996 2001-08-18 Bill Haneman <bill.haneman@sun.com>
998 * libspi/accessible.c:
999 Add implementation for get_index_in_parent().
1001 Added #include of "spi-roletypes.h", and
1002 added enumerated type AccessibleCoordType.
1003 Added definition for KeystrokeListener (function type).
1006 * cspi/spi-statetypes.h :
1007 * cspi/spi-roletypes.h :
1009 Added these headers, used by spi.h.
1011 Added code (NOTE: not yet built by make).
1013 2001-08-18 Mark McLoughlin <mark@skynet.ie>
1015 * libspi/Makefile.am: generate imodule
1016 at the same time as other idl compiler
1019 2001-08-17 Bill Haneman <bill.haneman@sun.com>
1020 * libspi/registry.c :
1021 * libspi/application.c :
1022 * idl/Application.idl :
1023 Made registration with toolkit an application method,
1024 which is required since each app has its own toolkit static
1025 environment. Thus the bridge must register for
1026 notification of toolkit events from each application in turn.
1027 Toolkit notifications are now successfully registered for, and
1028 sent to the listening at client.
1030 Changed toolkit event string to use hyphens rather than underscores.
1031 * libspi/listener.c :
1032 listner now gives more info in debug mode - it reports the
1033 name of the event received, as well as the name of the source.
1036 2001-08-16 Bill Haneman <bill.haneman@sun.com>
1038 * libspi/registry.c :
1039 added more implementation for toolkit events.
1040 Fixed bug such that toolkit event registrations
1041 (via atk) use the whole event name string, not
1043 Removed a useless call to an ORBit_ method.
1044 * at-bridge/bridge.c :
1045 Removed unused local sbuf[] variable.
1047 We now register for Gtk:GtkWidget:button_press_event
1048 events as well as "focus:" events.
1050 Add some more API from Registry.idl that was missing,
1051 for keystroke listening, keystroke and mouse event
1052 synthesis, and enumeration of accessible desktops.
1054 2001-08-16 Michael Meeks <michael@ximian.com>
1056 * configure.in: use AM_GLIB_GNU_GETTEXT.
1058 * Makefile.am (SUBDIRS): kill intl.
1060 2001-08-15 Michael Meeks <michael@ximian.com>
1062 * registryd/Makefile.am: s/oaf/server/ relocate info file.
1064 * configure.in: upd.
1066 * configure.in: depend on a recent bonobo-activation that
1067 will find our server files ...
1069 2001-08-16 Bill Haneman <bill.haneman@sun.com>
1071 * libspi/accessible.c : accessible_new() :
1072 Now we add the Component interface via bonobo_object_add_interface,
1073 if the contained AtkObject implements AtkComponent.
1074 * libspi/accessible.h : now include "component.h"
1075 * libspi/component.h :
1076 * libspi/component.c : added files - implementation of
1077 bonobo wrapper object for Accessibility/Component
1078 * libspi/listener.c :
1079 Added test code to check for Accessibility/Component:1.0
1080 interface and report whether it is implemented by the
1082 * libspi/registry.c :
1083 Now we check for not only the hash of the whole event
1084 string before relaying the event, we also check the
1085 "minor" event string (without the detail string).
1086 This allows event listeners to be registered against
1087 all events of a certain major+minor type, or just
1088 against a specific major+minor+detail type.
1089 * libspi/accessible.c :
1090 Added implementations for Accessible:get_parent(),
1091 Accessible:getChildCount(), and Accessible:getChildAtIndex().
1092 * libspi/registry.c :
1093 * libspi/listener.c :
1094 Replaced calls to Accessibility_Accessible_ref() and
1095 Accessibility_Accessible_unref() with
1096 calls to bonobo_object_dup_ref() and
1097 bonobo_object_release_unref(), so that the CORBA object
1098 is dup-ed and released when relayed, as well as the bonobo object.
1100 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1102 * libspi/Makefile.am,
1103 registryd/Makefile.am,
1104 at-bridge/Makefile.am.
1105 test/Makefile.am, configure.in:
1106 reverse previous changes.
1108 * /idl/Image.idl: fix typo.
1110 * test/Makefile.am: put DEBUG_FLAGS
1113 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1115 * test/app.c: use argv[0] instead of
1118 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1120 * libspi/Makefile.am,
1121 registryd/Makefile.am,
1122 at-bridge/Makefile.am.
1123 test/Makefile.am, configure.in:
1124 cleanup, replace individual LIBS/CFLAGS with
1125 AT_COMMON_{LIBS|CFLAGS}.
1129 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1131 * configure.in, libspi/Makefile.am:
1132 Change IDL path checking for bonobo-activation
1135 2001-08-15 Bill Haneman <bill.haneman@sun.com>
1137 * registryd/registry.c : separated event listeners to use
1138 3 separate lists (focus, window, toolkit). Began testing
1139 event names against hashes before relaying events.
1140 * test/at.c : now register for events of type "focus:"
1141 * test/app.c : now generate events of type "focus:"
1142 * at-bridge/bridge.c : register with ATK for focus events,
1143 and we now relay those focus events to any "focus:" listeners.
1144 This now works with the bridge as a GTK_MODULE when running test/at.
1145 * libspi/registry.c :
1146 * libspi/listener.c :
1147 now we ref event sources before propagating, and unref on receipt.
1148 * libspi/registry.c :
1149 some changes to internal structs, to support event typestring hashes.
1150 * text/app.c : changed the way the appname is generated.
1151 * cspi : added directory that will hold the C bindings library for
1152 non-CORBA/bonobo-savvy clients.
1153 * cspi/spi.h : header file that contains the function prototypes for the C binding.
1154 * idl/Component.idl : added in parameter to indicate coord system for
1155 geometry-related calls.
1156 * idl/Hyperlink.idl : added readonly n_links attribute
1157 * idl/Image.idl : changed methods to attributes.
1159 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1161 * at-bridge/Makefile.am: link against
1162 ../libspi/libspi.la instead of -lspi.
1164 * at-spi/test/app.c: include
1165 bonobo-activation.h. Use a default appname
1166 if one is not provided.
1168 2001-08-14 Bill Haneman <bill.haneman@sun.com>
1170 * idl/Registry.idl : temporarily changed register_Application
1171 to oneway, to work around issue with initial registration
1173 * idl/Application.idl : changed attribute "id" from readonly
1174 to read-write, since it needs to be assigned by Registry.
1175 * registryd/registryd.c : added call to set application id
1177 * registryd/registry.c : changed de-registration procedure to
1178 use CORBA_Object_hash() to find matching object ref in application
1179 lists and listener lists.
1180 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
1181 began distinguishing between event types (work in progress).
1183 2001-08-13 Bill Haneman <bill.haneman@sun.com>
1186 * libspi/application.c:
1187 Added implementations for get/set id, get_toolkitName,
1189 * registryd/registryd.c :
1193 Converted from use of OAF to bonobo-activation.
1194 * libspi/desktop.h :
1195 * libspi/desktop.c :
1197 Removed references to atksimpleobject, since base atkobject
1198 implementation now provides functionality we need.
1199 * libspi/atksimpleobject.c :
1200 * libspi/atksimpleobject.h :
1205 * at-bridge/Makefile.am
1206 * at-bridge/bridge.c
1209 Added directory "bridge" and contents, and added dependencies
1210 in Makefile.am/configure.in.
1211 Initial checkin of "at-bridge".
1212 This code is a GTK_MODULE which automatically registers
1213 GTK+ apps with the accessibility registry, using an object
1214 reference to the root ATK object.
1216 2001-08-10 Mark McLoughlin <mark@skynet.ie>
1218 * po/Makefile.in.in: Remove. Again. If this
1219 doesn't get autogenerated - you need to update
1222 2001-08-07 Mark McLoughlin <mark@skynet.ie>
1224 * po/Makefile.in.in: Add. Again.
1226 2001-07-31 Bill Haneman <bill.haneman@sun.com>
1228 * libspi/accessible.c : added support for 'description' property.
1229 * libspi/accessible.c
1231 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
1232 (since the two are now equivalent in libbonobo)
1240 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
1241 Bonobo::Unknown as does Accessibility::Accessible.
1242 * idl/StreamableContent.idl : as above, and replaced internal InputStream
1243 interface with Bonobo::Stream, since it was redundant with it.
1244 (The Stream returned by a StreamableContext object is expected to
1245 implement only a subset of Bonobo::Stream)
1247 2001-07-28 Anders Carlsson <andersca@gnome.org>
1249 * libspi/accessible.c (accessible_object_finalize): Change
1250 g_free to g_object_unref since the AtkObject is a GObject.
1252 2001-07-30 Bill Haneman <bill.haneman@sun.com>
1254 * idl/Accessibility.idl: add new IDL files
1257 * idl/Action.idl: Definitions of actionable UI object
1258 * idl/Component.idl: Definitions of UI component geometry, etc.
1259 * idl/Hyperlink.idl: Defs of hyperlink behavior
1260 * idl/Image.idl: Def of accessible image
1261 * idl/Selection.idl: Definition of UI object with selectable children
1262 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
1263 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
1264 * idl/Text.idl: Interface defs for UI elements with complex textual content
1265 * idl/Value.idl: Definition of UI element that is a value controller or display
1267 2001-07-27 Michael Meeks <michael@ximian.com>
1269 * po/Makefile.in.in: remove autogenerated file from CVS.
1271 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
1274 * idl/Registry.idl: include guard.
1276 * idl/Accessibility.idl: Add, and include all the other IDL
1279 * idl/*.idl: remove mass of pragmas etc.
1281 2001-07-26 Michael Meeks <michael@ximian.com>
1283 * registryd/Makefile.am (registryd_SOURCES): remove
1286 2001-07-27 Mark McLoughlin <mark@skynet.ie>
1288 * libspi/.cvsignore, registryd/.cvsignore,
1289 test/.cvsignore: updated.
1291 * po/Makefile.in.in: gettext update.
1293 2001-07-25 Bill Haneman <bill.haneman@sun.com>
1295 * initial CVS checkin
1297 2001-06-29 Michael Meeks <michael@ximian.com>
1299 * configure.in: add AM_CONFIG_HEADER to gen config.h