1 2001-11-21 Michael Meeks <michael@ximian.com>
3 * test/accessx-gui.c: s/spi_value/value/ - doh.
5 * libspi/base.[ch]: add.
7 2001-18-11 Bill Haneman <bill.haneman@sun.com>
10 * idl/Application.idl:
13 Started gtk-doc cleanup on IDL.
15 * libspi/deviceeventcontroller.c:
16 Added and connected non-preemptive key notification from the
17 toolkits (in addition to the pre-emptive support from XServer
18 which we had before, but which causes 'focus flashing'). Filters
19 are presently limited to key modifiers and global/non-global,
20 KeySets are presently ignored, as are KeyEvent masks.
22 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
23 structs into the persistant structure rather than just storing
24 pointers to things that might not persist across servant
27 The XGrabKey call now does async keygrabs, because synchronous
28 ones were deadlocking with GDK_event code in a very nasty way.
30 Added boolean to internal method notify_keylisteners, to indicate
31 whether the event came from the 'toolkit source' or the 'global
32 (XServer) source' - this is used in the notification process to
33 determine which listeners to send the event to.
35 deviceeventcontroller.c is now warning-free.
38 Fixed regression in application de-registration.
39 Also fixed some really brain-dead weirdness having to do with
40 event dispatching - event structs are now duplicated before being
41 re-marshalled in the dispatch to listeners. This also fixes a
42 Solaris build problem.
45 2001-20-11 Michael Meeks <michael@ximian.com>
48 (impl_accessibility_registry_deregister_global_event_listener):
51 * libspi/deviceeventcontroller.c
52 (spi_device_event_controller_check_key_event): return
53 FALSE on no virtual method.
55 * libspi/*..h: make includes work on a correctly pathed install.
57 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
59 * libspi/application.h: kill unused ( and whacked out )
60 gboolean *spi_application_set_id (AtkObject *app, long id);
62 2001-20-11 Michael Meeks <michael@ximian.com>
64 * libspi/*.[ch]: further convert to bonobo's type func
65 macros, remove redundnant casts etc.
67 * libspi/text.c s/accessibility_text/spi_text/g,
70 * libspi/hypertext.c: re-order to kill a huge slew
71 of redundant forward decls.
73 * libspi/relation.c: ditto.
75 * libspi/image.c: ditto.
77 * */.cvsignore: update
79 2001-20-11 Michael Meeks <michael@ximian.com>
81 * libspi/deviceeventcontroller.c
82 (_controller_register_with_devices): use g_getenv,
83 kill stdlib.h include.
85 * libspi/keystrokelistener.c
86 (spi_keystroke_listener_get_type): kill
87 (spi_keystroke_listener_class_init),
88 (spi_keystroke_listener_init): rename to this.
90 * libspi/text.c (impl_getAttributes): fix warning / bug.
92 * libspi/*.[ch]: more headers, includes and over commenting.
94 2001-20-11 Michael Meeks <michael@ximian.com>
96 * libspi/*.[ch]: fixup headers, includes and over commenting.
98 * libspi/image.c (impl__get_imageDescription): const
99 correctness warning fix. remove redundant casting.
101 * libspi/table.c (impl_getRowDescription): ditto.
102 (impl_getColumnDescription): ditto.
104 * libspi/libspi.h: add.
106 2001-19-11 Michael Meeks <michael@ximian.com>
108 * libspi/editabletext.c (impl_setAttributes): fix warnings.
110 * libspi/component.c (accessibility_component_get_type):
111 rename to (spi_component_get_type): and macroify.
112 (accessibility_component_init): rename to
113 (spi_component_init): this
114 (accessibility_component_class_init): rename to
115 (spi_component_class_init): this
117 * libspi/action.c (spi_action_get_type): kill, use the macro.
119 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
122 * libspi/application.c (spi_application_object_event_listener),
123 (impl_accessibility_application_register_object_event_listener):
124 warning fixes / const understanding updates.
126 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
129 2001-18-11 Bill Haneman <bill.haneman@sun.com>
131 * libspi/spi_accessible.c: Added docs and C bindings for
132 AccessibleStateSet. (No implementations yet). Documentation
133 coverage for C bindings now 100%. Made docs for event listeners
138 boolean notifyListenersSync (in DeviceEventListener listener,
139 in DeviceEvent event);
141 oneway void notifyListenersAsync (in DeviceEventListener listener,
142 in DeviceEvent event);
144 Added DeviceEventListener and DeviceEvent structs (may deprecate
145 KeyStroke and KeystrokeListener in favor of this generic
146 event/listener framework for devices).
148 * libspi/deviceeventcontroller.c:
150 Changed some key listener code to take masks, etc., and paved the
151 way for integration of toolkit/non-preemptive key events. Changed
152 signatures of some internal methods.
154 * at-bridge/bridge.c:
155 Fixed regression connecting to interface signals, apparently
156 caused by GTK+ changes.
158 Added an internal bridge_state_listener to deal with
159 property-change:accessible-state signals.
161 Changed the key_listeners GList to store structs (including masks,
162 etc.) instead of just CORBA_Objects (required for full
163 implementation of key listener API).
165 Connected the bridge to all currently supported Atk signals.
166 Events now supported:
167 object:property-change
168 object:property-change:accessible-name
169 object:property-change:accessible-state
170 object:property-change:accessible-description
171 object:property-change:accessible-parent
172 object:property-change:accessible-value
173 object:property-change:accessible-role
174 object:property-change:accessible-table-caption
175 object:property-change:accessible-table-column-description
176 object:property-change:accessible-table-column-header
177 object:property-change:accessible-table-row-description
178 object:property-change:accessible-table-row-header
179 object:property-change:accessible-table-summary
180 object:children-changed
181 object:visible-data-changed
182 object:selection-changed
183 object:text-selection-changed
185 object:text-caret-moved
189 object:column-inserted
190 object:column-reordered
191 object:column-deleted
194 2001-16-11 Bill Haneman <bill.haneman@sun.com>
196 * libspi/hyperlink.c,h:
197 Fixed some broken stuff in hyperlink.
201 * cspi/spi_accessible.c:
202 Initial implementations of AccessibleRelation methods, and docs.
204 * libspi/accessible.c:
205 Fixed a bug that caused SEGV if an accessible
206 object's description is NULL, and a client
207 requests it. An empty string is now returned.
209 * cspi/spi_editabletext.c:
210 * cspi/spi_hypertext.c:
212 * cspi/spi_hyperlink.c:
216 Doc coverage now 95%.
218 2001-16-11 Bill Haneman <bill.haneman@sun.com>
220 One last namespacing revision:
221 * libspi/accessibleeventlistener.[ch]:
222 Renamed SpiAccessibleEventListener to SpiEventListener,
223 (no need for two namespaces ;-)
225 And lots of documentation fixes:
227 * docs/at-spi-docs.sgml:
228 Fixed 'underscore vs. hyphen' bug that was preventing
229 the gtk-doc API docs from being automatically generated.
232 * cspi/spi-listener.h
234 * cspi/spi_accessible.c
236 * cspi/spi_application.c
237 * cspi/spi_component.c
238 * cspi/spi_editabletext.c
240 * cspi/spi_hypertext.c
242 * cspi/spi_registry.c
243 * cspi/spi_selection.c
247 * docs/at-spi-docs.sgml
248 * docs/at-spi-sections.txt
250 Added and fixed up gtk-doc documentation in cspi.
252 Interfaces now (fully) documented (subject to revision and enhancement):
254 Event Listener Support
256 AccessibleApplication
260 AccessibleEditableText
267 AccessibleRelationSet
272 2001-14-11 Bill Haneman <bill.haneman@sun.com>
274 * at-bridge/bridge.c:
275 Initial work for toolkit-level key snooper connection by bridge.
280 New typedefs and fixes to support new namespacing, and cleaner
281 separation of cspi bindings from libspi bonobo implementation.
282 Removed inconsistent and extraneous Spi* namespace prefix that
283 had crept into cspi headers.
284 Lots of comment fixes that sed had missed.
286 * cspi/spi-roletypes.h:
287 * cspi/spi-statetypes.h:
288 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
289 to AccessibleRoleType.
291 * libspi/accessibleeventlistener.h:
292 Fixed minor namespacing weirdness.
294 * libspi/deviceeventcontroller.c:
295 Reordered some internal API for device listeners.
296 Changed the key registry final boolean to 'is_system_global'
297 rather than 'is_synchronous', which is more descriptive of its
299 Added spi_device_event_controller_new().
300 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
302 * libspi/keystrokelistener.[ch]:
303 Namespaced KeystrokeListener to SpiKeystrokeListener.
304 Changed uses of keymasks to use SPI_ prefix, and did other
308 Namespaced keymask constants with SPI_ prefix.
311 Some warning fixes, and knock-on fixes from namespace changes.
314 Added rules for accessx-gui test program.
316 * test/accessx-gui.c:
317 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
318 utility. It doesn't actually use at-spi, but it's still cool and
321 * test/keysynth-demo.c:
325 Fixes so that these test clients work properly with the namespaced
326 libraries. (Incompletely tested for technical reasons, fixes may follow)
329 2001-13-11 Michael Meeks <michael@ximian.com>
331 * libspi/application.c
332 (impl_accessibility_application_get_version),
333 (impl_accessibility_application_get_toolkit_name):
335 (impl_accessibility_application_set_id),
336 (impl_accessibility_application_get_id): remove
337 redundant casting code.
339 * libspi/action.c (impl_getDescription): fix warnings.
341 * libspi/accessible.c
342 (impl_accessibility_accessible_get_parent),
343 (impl_accessibility_accessible_get_child_at_index),
344 (impl_accessibility_accessible_get_state),
345 (impl_accessibility_accessible_get_relation_set):
346 warning fixes & include action.h
348 2001-13-11 Michael Meeks <michael@ximian.com>
350 * *.[ch] fix bits I screwed up:
352 s/([^ \tb(\*\&\?\",])spi_/\1/g;
353 s/([^ \tb(\*\&\?\",])Spi/\1/g;
355 2001-13-11 Michael Meeks <michael@ximian.com>
357 * *.[ch] Namespace libspi into spi_ and Spi.
359 2001-13-11 Michael Meeks <michael@ximian.com>
361 * Makefile.am: dist & install at-spi-1.0.pc
363 * libspi/Makefile.am: install into at-spi-1.0
365 * idl/Makefile.am (idldir): install into at-spi-1.0
367 * at-spi-1.0.pc.in: add.
369 * configure.in: build it.
371 2001-12-11 Bill Haneman <bill.haneman@sun.com>
373 * test/keysynth-demo.c:
374 Use a 'realize' signal-handler to set the WM properties for
375 the virtual keyboard, rather than making it a "POPUP" type
376 override-redirect window (thanks to anders carlsson for that
379 2001-11-11 Bill Haneman <bill.haneman@sun.com>
382 * test/keysynth-demo.c:
383 Added new test of key synthesis, which creates a simple
384 (mouse-operated) onscreen keyboard. It inserts key events into
385 the currently-focused window, thus it does not grab keyboard focus
388 * cspi/spi_registry.c:
389 Added C binding for AT-SPI generateKeyEvent.
391 * libspi/deviceeventcontroller.c:
392 Added call to XFilterEvent so that key listener works with XIM (we
393 hope). Added event_synth_type to generateKeyEvent, so that we can
394 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
395 synthesize a press/release pair for KeySyms.
397 2001-11-09 Bill Haneman <bill.haneman@sun.com>
399 * libspi/Makefile.am:
400 * registryd/Makefile.am:
401 (temporary) hack to include libXtst in libspi and registryd.
402 (Needed for keystroke synthesis, see below).
405 Improved API for registerKeystrokeListener, in accordance with
406 discussions with Gnopernicus team and X server research.
409 * libspi/deviceeventcontroller.c:
410 * libspi/accessible.c:
411 * libspi/keystrokelistener.c:
412 Changes and fixes to support keylisteners for potentially
413 consumed key events (that is, 'passive grabs').
414 Added implementation for generateKeyEvent() [untested].
417 Changes to registerKeystrokeListener() API, as above.
418 Added deregisterGlobalEventListenerAll(), and
419 deregisterKeystrokeListener(), which are needed for clean exit of
421 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
422 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
424 * cspi/spi_registry.c:
425 Added implementations of function prototypes mentioned above.
427 * registryd/registryd.c:
428 Added the key listener event source as a g_timeout(), to allow
429 receipt of key events that are not caught by GDK (since GDK
430 doesn't support passive keygrabs, this was necessary).
433 Changed to attach a keylistener to 'Alt' keys, and
434 respond to the following keycommands: Alt-M (toggle magnifier);
435 Alt-F (toggle speech); Alt-Q (quit).
436 Added an exit routine to deregister the listeners, and a key
437 listener that prints some key info to the console when a key
438 matches the listener mask (and is thus received by the listener).
440 * util/idl/Magnifier.idl:
441 Changes to magnifier API to support multiple zoom regions,
442 non-uniform scaling in x and y, markDirty, and a host of other
443 features that would be useful to magnification.
448 * util/mag_control.c:
450 Source code changes to support the above IDL changes.
453 As above, and also changes to use a (slower) generic conversion
454 path for colormap conversions, since the fast RGB conversions have been
455 reported to fail for 16-bit displays.
457 2001-10-26 Michael Meeks <michael@ximian.com>
459 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
461 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
463 * at-bridge/Makefile.am: fix LDFLAGS.
465 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
467 * at-bridge/bridge.c:
468 Re-worked listeners for toolkit events, now we have signal
469 and property listeners. Added a private method
470 register_atk_event_listeners(), which registers with the
471 various atk and gtk signals we need to monitor in order to emit
473 Added emission hook for AtkObject:property-change events, to
474 support the 'property listeners'.
475 Fixed some alloc()s of Accessibility_Event structs to use CORBA
478 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
479 which emit warnings and exit, respectively, if CORBA errors occur
480 during remote calls, and we now use these methods to check most of
481 our CORBA calls in the C bindings.
483 * cspi/spi_accessible.c:
484 Changed AccessibleSelection_refSelectedChild() to
485 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
486 now increment refcounts.
488 * cspi/spi_component.c:
489 Fixed some long pointer casts (dangerous!) to pass pointers to
490 CORBA_longs of the proper type to the CORBA stubs, and copy the
491 data into the longs that were passed into the C bindings code.
493 * at-bridge/bridge.c:
495 * libspi/accessible.c:
496 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
497 hyperlinks, AtkHyperlink is an object type.
499 * libspi/application.c:
500 Added various conversions to and from "generic" event types and
501 atk-specific types; this is really part of the 'bridge'
502 implementation but is valid for all AtkObject-based accessibility
505 * libspi/editabletext.c:
506 Fixed nasty bug wherein editable text's finalize method was
507 unref'ing tha AtkObject reference that the text parent class was
508 about to unref _again_. There was also a nasty inheritance bug
509 that meant that the AccessibleEditableText class was corrupt.
511 * libspi/selection.c:
512 Provided implementations for some selection API that was broken.
514 * idl/Application.idl:
515 Added registerObjectEventListener () method.
518 Fixed a number of return values that were Bonobo_Unknowns from
519 bonobo_object_corba_objref(), which I
520 forgot to dup before returning. Changed instances of
521 bonobo_object_corba_objref (bonobo_object(o)) to
522 BONOBO_OBJREF(o), for concision and clarity.
524 <2001-10-13 Louise Miller <louise.miller@sun.com>
526 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
527 idl/Event.idl, idl/Registry.idl
528 Changed these files to include Bonobo_Unknown.idl instead
531 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
533 * libspi/component.c libspi/component.h:
534 Fixed typo. Added assertions for object checks in
535 AccessibleComponent code.
537 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
539 * idl/Accessible.idl:
540 Added 'isEqual (Accessible *object)'
541 method for Accessible. (Not Yet Implemented).
544 Changed signature of registerKeystrokeListener() to
545 take a KeySet and KeyEventSeq so that specific keys and event
546 types could be requested for monitoring, and added a flag
547 is_synchronous so that either synchronous or asynchronous
548 notification could be requested. (However this is not all
549 implemented yet). This also meant adding two new typedefs,
550 KeyEventSeq and KeySet.
553 Added two new relations, RELATION_TOOLTIP_FOR and
554 RELATION_LEAFNODE_OF.
557 Added new state, STATE_HAS_TOOLTIP.
559 * libspi/text.c, editabletext.c:
560 Added new assertions to all casts of bonobo-objects from
561 CORBA servants, to prevent Text API calls on non-text objects.
562 Changed suspect casts of int-pointer types, so that we
563 always send a valid CORBA_long pointer to the CORBA APIs that use
564 in/out long parameters. We then have to copy from the CORBA_long
565 into the regular long or int for return to the C bindings, or
566 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
569 * libspi/deviceeventcontroller.c:
570 Cleaned these sources up.
572 Changed return type for getCharacterAtOffset to
573 CORBA_unsigned_long, to allow for 32-bit characters.
576 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
580 Fixed 'make dist' so that distro compiles...
583 * cspi/spi-listener.c:
584 KeystrokeListenerCB now returns a boolean.
586 Added KeyEventType struct, and KeyStroke.
587 Also added createKeystrokeListener(),
588 KeystrokeListener_addCallback(),
589 KeystrokeListener_removeCallback(), and added a keymask to
590 registerKeystrokeListener().
591 * cspi/spi_accessible.c:
592 Changed numerous return types for interfaces from
593 AccessibleComponent to Accessible<InterfaceName>; this was
594 probably a cut-and-paste error.
596 Implementations of new KeystrokeListener api (from spi.h,
599 Changes to key modifier mapping.
600 Created ControllerEventMask struct.
601 Made DeviceEventController derive from Bonobo::Unknown.
603 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
604 * libspi/deviceeventcontroller.c:
605 Added a number of new internal (private) methods.
606 * libspi/editabletext.c:
607 * libspi/editabletext.h:
608 Fixed a number of bugs related to the fact that
609 editabletext inherits from text. Fixed the EditableText struct,
610 the init() call, and use correct casts when calling Text methods
611 from an EditableText object. Removed (duplicate) atko from the
612 EditableText structure, we use the one in the parent Text
613 structure via the casts mentioned above.
614 * libspi/keystrokelistener.[ch]:
616 Changes in support of keyboard handling (above).
618 Keyboard handling, though partly functional, is still not
619 recommended for at-spi client use as there is considerable
623 Changed some places where pointers to various int types
624 are cast to be pointers to CORBA_long types and vice-versa:
625 pointer casting is not safe so we pass pointers of the correct
626 types and then cast the result before putting it into the target
629 * libspi/text.h: minor typos corrected.
631 We now speak not only the name of a Text element, but the
632 first sentence of its content, when it receives focus.
633 I also changed the text compression to 75% from 50%.
634 * util/Accessibility_Util.server.in:
635 Changed the default magnifier type to be a 3x vertical
636 splitscreen magnifier (was previously a 2x horizontal one).
638 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
640 * libspi/keystrokelistener.h:
641 * libspi/keystrokelistener.c:
642 Initial functional implementations of KeystrokeListener.
645 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
647 Fixed string handling for NULL strings in libspi.
648 Added spi_freeString to free strings returned by C bindings.
650 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
652 * libspi/keystrokelistener.h:
653 * libspi/keystrokelistener.c:
654 Began (no-op) implementations of KeystrokeListener
656 * libspi/deviceeventcontroller.c:
657 * libspi/deviceeventcontroller.h:
658 Began creating implementations of DeviceEventController,
659 to handle keystroke and mouse event listening and
661 * libspi/accessible.c:
662 Stubbed-in the implementations for
663 Accessibility_Accessible_getState and
664 Accessibility_Accessible_getRelationSet.
666 Improved de-registration process and fixed some bugs,
667 deregistration now works correctly.
669 Added initialization of applications list (to NULL).
671 Reduced speech compression from 0.5 to 0.7, for demo.
672 Changed call to gdk_window_set_decorations()
673 to gtk_window_set_decorated().
674 * at-bridge/bridge.c:
675 Bridge now deregisters when app exits, via
676 registration of a cleanup function
677 with the g_atexit() call.
678 Required making 'app' static, renamed 'this_app'.
679 Fixed broken use of bonobo_init, passing argv wrongly.
681 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
685 Created a new directory for
686 accessibility-related utilities, primarily for
687 testing and demo purposes, but with possible
694 Onscreen magnifier utility that
695 is implemented as a bonobo service.
699 Client-side support (simple C bindings)
700 for Magnification service
702 * util/mag_control.c:
703 Client program example for
704 Magnification service
706 * util/Accessibility_Magnifier.server.in:
707 Bonobo-activation file for the
708 Magnification service.
711 * util/idl/Magnifier.idl:
712 IDL defining the bonobo Magnification
716 Modifications to use the bonobo-activated magnifier
717 above, in place of trying to connect to an existing
718 magnifier that uses socket-listening IPC.
720 If env variable MAGNIFIER is set, a magnifier service
721 will be started if one does not exist.
723 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
724 * at-bridge/bridge.c:
725 applied patch from Marc to build and run
726 against new glib and gtk+ (seemed like a change
727 to bonobo_init signature was made ?)
729 made festival-server support turned off by default.
730 Added support for a simple magnifier (off by default)
731 which will be added to a 'util' directory later.
732 * at-bridge/Makefile.am:
733 Changed "application.h" header from a 'source'
734 to a 'dependency' of libat-bridge.
736 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
744 Added interface implementation c files to list of
745 includes so they are included in libcspi.
748 Changed prototype of AccessibleAction_doAction to return a
750 Changed prototype of AccessibleTable_getCaption to
751 return an Accessible.
752 Changed prototype of AccessibleTable_getSelectedRows
753 and AccessibleTable_getSelectedColumns to
754 return a long (returns the number of selected rows
755 or columns respectively).
756 Changed name of AccessibleText_refRunAttributes to
757 AccessibleText_getAttributes.
758 Changed prototype of AccessibleText_getCharacterExtents to
759 return a void rather than a boolean.
760 Added support for a AccessibleCoordType parameter
761 specifying what type of coordinates are desired.
762 Added an AccessibleCordType parameter to
763 AccessibleText_getPointAtOffset.
765 * cspi/spi_accessible.c:
766 Added code to return the outstanding interfaces from
767 Accessible_queryInterface.
771 Corrected call to getNActions to call the c binding
774 * cspi/spi_editabletext.c:
776 Changed name from setRunAttributes to setAttributes.
778 * cspi/spi_hyperlink.c:
780 Changed call to getNAnchors to correctly call the c
781 binding for an attribute.
783 * cspi/spi_hypertext.c:
785 Changed getImageDescription to correctly call the
786 binding for an attribute.
788 * cspi/spi_selection.c:
789 Changed getNSelectedChildren to correctly call the c
790 binding for the attribute.
791 Changed refSelectedChild to getSelectedChild.
795 Changed getCaption to return an Accessible.
796 Fixed calls which retrieve attributes.
797 Changed refAt to getAccessibleAt.
798 Changed getNSelectedRows and getNSelectedColumns to
802 Changed getCharacterExtents and getPointAtOffset to accept an
805 Changed calls which retrieve attributes.
806 Changed refRunAttributes to getAttributes.
812 Changed n_anchors attribute to nAnchors to keep naming
813 convention consistent.
816 Made Table inherit from Bonobo::Unknown.
817 Added nSelectedColumns and nSelectedRows attributes.
820 Made Value inherit from Bonobo::Unknown.
822 * libspi/hyperlink.c:
823 Change for nAnchors attributte name change.
825 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
833 Added interface implementation c files to list of
834 includes so they are included in libcspi.
837 Changed prototype of AccessibleAction_doAction to return a
839 Changed prototype of AccessibleTable_getCaption to
840 return an Accessible.
841 Changed prototype of AccessibleTable_getSelectedRows
842 and AccessibleTable_getSelectedColumns to
843 return a long (returns the number of selected rows
844 or columns respectively).
845 Changed name of AccessibleText_refRunAttributes to
846 AccessibleText_getAttributes.
847 Changed prototype of AccessibleText_getCharacterExtents to
848 return a void rather than a boolean.
849 Added support for a AccessibleCoordType parameter
850 specifying what type of coordinates are desired.
851 Added an AccessibleCordType parameter to
852 AccessibleText_getPointAtOffset.
854 * cspi/spi_accessible.c:
855 Added code to return the outstanding interfaces from
856 Accessible_queryInterface.
860 Corrected call to getNActions to call the c binding
863 * cspi/spi_editabletext.c:
865 Changed name from setRunAttributes to setAttributes.
867 * cspi/spi_hyperlink.c:
869 Changed call to getNAnchors to correctly call the c
870 binding for an attribute.
872 * cspi/spi_hypertext.c:
874 Changed getImageDescription to correctly call the
875 binding for an attribute.
877 * cspi/spi_selection.c:
878 Changed getNSelectedChildren to correctly call the c
879 binding for the attribute.
880 Changed refSelectedChild to getSelectedChild.
884 Changed getCaption to return an Accessible.
885 Fixed calls which retrieve attributes.
886 Changed refAt to getAccessibleAt.
887 Changed getNSelectedRows and getNSelectedColumns to
891 Changed getCharacterExtents and getPointAtOffset to accept an
894 Changed calls which retrieve attributes.
895 Changed refRunAttributes to getAttributes.
901 Changed n_anchors attribute to nAnchors to keep naming
902 convention consistent.
905 Made Table inherit from Bonobo::Unknown.
906 Added nSelectedColumns and nSelectedRows attributes.
909 Made Value inherit from Bonobo::Unknown.
911 * libspi/hyperlink.c:
912 Change for nAnchors attributte name change.
915 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
917 implementations-- made server implementations own AtkObject pointers
918 rather than their respective AtkInterrface pointers to fix
919 refcounting. AtkHyperlink is still broken.
921 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
922 * cspi/spi_accessible.c:
923 Added method Accessible_Role_getName(),
924 and requisite string array (role_names).
925 Added conversion string_from_corba_strin() call
926 to Accessible_getName and _getDescription.
927 * libspi/accessible.c:
928 Added implementation for Accessible_getRole()
930 Added festival support, used if environment variable
933 2001-09-04 Bill Haneman <bill.haneman@sun.com>
935 * at-bridge/bridge.c:
936 Now allocate Accessibility_Event using
937 Accessibility_Event__alloc() instead of g_new0().
938 * libspi/accessibleeventlistener.c:
939 Initialize AccessibleEventListener->callbacks to NULL.
940 Fixed accessible__event_listener_init() param, changed to
941 "AccessibleEventListener *" type.
942 Changed a bonobo_object_release_unref() call to
943 Accessibility_Accessible_unref().
945 Changed Bonobo_Unknown_unref to (equivalent)
946 Accessibility_Accessible_unref.
948 Changed bonobo_object_release_unref to
949 Accessibility_Accessible_unref.
951 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
954 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
955 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
956 spi-util.c spi-util.h
957 Implementations for C bindings to remaining accessibility
960 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
963 changed return value of Action from void to boolean to
964 bring in line with ATK.
967 Changed getText funcions to return "out" start and end offsets.
968 Changed getAttributes to take and offset and return the start
969 and end offset of the attribute run.
970 Changed getOffsetAtPoint and getCharacterExtents to take an
971 enum describing whether coordinates are window or screen.
974 libspi/action.c libspi/action.h libspi/editabletext.c
975 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
976 libspi/hypertext.c libspi/hypertext.h libspi/image.c
977 libspi/image.h libspi/selection.c libspi/selection.h
978 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
979 libspi/value.c libspi/value.h
980 Added server implementations for outstanding ATK interfaces
983 2001-09-04 Bill Haneman <bill.haneman@sun.com>
986 Added (missing) getName() method.
987 Made nActions an attribute.
988 * idl/EditableText.idl:
989 Changed order of params in setAttributes.
991 Removed getAnchor, added getURI.
993 Changed attributes to methods, for efficiency
994 (so that getting extents can be done in one call)
996 Changed nSelectedChildren to attribute, and re-indented.
997 * idl/Table.idl: changed nrows, ncolumns, caption, summary
999 * idl/Text.idl: reformatted to match our coding style.
1000 (temporarily?) removed getRowColumnAtOffset().
1001 Changed text selection API to support multi-select and
1002 non-contiguous selections, as in ATK.
1003 * idl/Value.idl: changed some methods to attributes.
1005 2001-08-24 Mark McLoughlin <mark@skynet.ie>
1007 * libspi/listener.c(impl_notify_event):
1008 BonoboUnkown_unref the source instead
1009 of bonobo_object_release_unref - the ORB
1010 handles the releasing.
1012 * configure.in: require ORBit-2.3.94 for
1015 2001-08-21 Bill Haneman <bill.haneman@sun.com>
1017 Tagged CVS repository 'EA_1_0'.
1018 * README.EARLY_ACCESS:
1019 Alphabetized acknowledgements list, and
1021 Listed some known dependencies of at-spi.
1023 2001-08-20 Bill Haneman <bill.haneman@sun.com>
1025 * docs/at-spi-docs.sgml:
1026 * docs/at-spi-sections.txt:
1027 * docs/at-spi-overrides.txt: (Added zero-length file)
1028 Documentation improvements - gtk-doc should build
1029 docs for all implemented C bindings now.
1032 * cspi/spi.c: (New file)
1033 * cspi/spi_event.c: (New file)
1034 * cspi/spi_registry.c: (New file)
1035 * cspi/spi_accessible.c: (New file)
1036 * cspi/spi_application.c: (New file)
1037 * cspi/spi_component.c: (New file)
1038 Split spi_main.c into six parts, and included them from
1039 "spi.c". This is a bit of a hack, probably temporary,
1040 but required by gtk-doc, apparently.
1042 2001-08-20 Bill Haneman <bill.haneman@sun.com>
1045 * docs/at-spi-docs.sgml:
1046 * docs/at-spi-sections.txt:
1048 Initial checkins/modifications for gtk-doc generation.
1051 Added (missing) interface query methods to Accessible's C binding.
1053 Added GenericInterface type definition.
1055 Added query for AccessibleComponent interface to focus event handler.
1056 Added printout of bounding box for focussed component.
1057 * libspi/component.c:
1058 Added partial implementation for AccessibleComponent to C binding.
1059 * idl/Application.idl:
1060 * libspi/registry.c:
1061 * libspi/listener.c:
1062 * libspi/application.c:
1063 * libspi/application.h:
1064 Changed "ID" attribute type from string to long.
1066 2001-08-19 Bill Haneman <bill.haneman@sun.com>
1070 Made method naming consistent: methods taking object args
1071 start with uppercase, other methods (except those using
1072 acronyms) start with lowercase. Underscores delimit between
1073 object names and method names:
1074 SPI_init() - uppercase since it starts with an acronym.
1075 getDesktopCount () - lowercase start since no object param0.
1076 Accessible_getName() - uppercase object type name, studlyCaps method
1080 Added gtk-doc documentation for all currently implemented
1081 methods in the C bindings API.
1083 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1085 * Makefile.am : changed build order to build test last.
1088 Changed "createEventListener" to "CreateEventListener".
1089 * libspi/accessibleeventlistener.c :
1090 Bugfix for addition of callbacks.
1091 * test/Makefile.am :
1092 * test/simple-at.c :
1093 Added new test that uses the C bindings API.
1095 * libspi/listener.c :
1096 * libspi/registry.c :
1097 * libspi/accessibleeventlistener.c :
1098 * at-bridge/bridge.c :
1099 Renamed member "target" of Accessibility_Event to "source",
1100 which is more descriptive.
1103 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1107 * cspi/Makefile.am :
1108 Added makefile support for at-spi/cspi directory.
1111 * cspi/spi-listener.h : (NEW FILE)
1112 Added support for/use of spi-listener.h.
1114 C bindings now build successfully, with no warnings.
1115 * libspi/accessibleeventlistener.h : (NEW FILE)
1116 * libspi/accessibleeventlistener.c : (NEW FILE)
1117 * libspi/Makefile.am :
1118 Added new object type "AccessibleEventListener"
1119 which inherits from Listener, and allows attachment
1120 of in-process callbacks (so that a client with a listening
1121 object instance can add functionality to the local
1122 implementation, dynamically).
1124 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1126 * libspi/accessible.c:
1127 Add implementation for get_index_in_parent().
1129 Added #include of "spi-roletypes.h", and
1130 added enumerated type AccessibleCoordType.
1131 Added definition for KeystrokeListener (function type).
1134 * cspi/spi-statetypes.h :
1135 * cspi/spi-roletypes.h :
1137 Added these headers, used by spi.h.
1139 Added code (NOTE: not yet built by make).
1141 2001-08-18 Mark McLoughlin <mark@skynet.ie>
1143 * libspi/Makefile.am: generate imodule
1144 at the same time as other idl compiler
1147 2001-08-17 Bill Haneman <bill.haneman@sun.com>
1148 * libspi/registry.c :
1149 * libspi/application.c :
1150 * idl/Application.idl :
1151 Made registration with toolkit an application method,
1152 which is required since each app has its own toolkit static
1153 environment. Thus the bridge must register for
1154 notification of toolkit events from each application in turn.
1155 Toolkit notifications are now successfully registered for, and
1156 sent to the listening at client.
1158 Changed toolkit event string to use hyphens rather than underscores.
1159 * libspi/listener.c :
1160 listner now gives more info in debug mode - it reports the
1161 name of the event received, as well as the name of the source.
1164 2001-08-16 Bill Haneman <bill.haneman@sun.com>
1166 * libspi/registry.c :
1167 added more implementation for toolkit events.
1168 Fixed bug such that toolkit event registrations
1169 (via atk) use the whole event name string, not
1171 Removed a useless call to an ORBit_ method.
1172 * at-bridge/bridge.c :
1173 Removed unused local sbuf[] variable.
1175 We now register for Gtk:GtkWidget:button_press_event
1176 events as well as "focus:" events.
1178 Add some more API from Registry.idl that was missing,
1179 for keystroke listening, keystroke and mouse event
1180 synthesis, and enumeration of accessible desktops.
1182 2001-08-16 Michael Meeks <michael@ximian.com>
1184 * configure.in: use AM_GLIB_GNU_GETTEXT.
1186 * Makefile.am (SUBDIRS): kill intl.
1188 2001-08-15 Michael Meeks <michael@ximian.com>
1190 * registryd/Makefile.am: s/oaf/server/ relocate info file.
1192 * configure.in: upd.
1194 * configure.in: depend on a recent bonobo-activation that
1195 will find our server files ...
1197 2001-08-16 Bill Haneman <bill.haneman@sun.com>
1199 * libspi/accessible.c : accessible_new() :
1200 Now we add the Component interface via bonobo_object_add_interface,
1201 if the contained AtkObject implements AtkComponent.
1202 * libspi/accessible.h : now include "component.h"
1203 * libspi/component.h :
1204 * libspi/component.c : added files - implementation of
1205 bonobo wrapper object for Accessibility/Component
1206 * libspi/listener.c :
1207 Added test code to check for Accessibility/Component:1.0
1208 interface and report whether it is implemented by the
1210 * libspi/registry.c :
1211 Now we check for not only the hash of the whole event
1212 string before relaying the event, we also check the
1213 "minor" event string (without the detail string).
1214 This allows event listeners to be registered against
1215 all events of a certain major+minor type, or just
1216 against a specific major+minor+detail type.
1217 * libspi/accessible.c :
1218 Added implementations for Accessible:get_parent(),
1219 Accessible:getChildCount(), and Accessible:getChildAtIndex().
1220 * libspi/registry.c :
1221 * libspi/listener.c :
1222 Replaced calls to Accessibility_Accessible_ref() and
1223 Accessibility_Accessible_unref() with
1224 calls to bonobo_object_dup_ref() and
1225 bonobo_object_release_unref(), so that the CORBA object
1226 is dup-ed and released when relayed, as well as the bonobo object.
1228 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1230 * libspi/Makefile.am,
1231 registryd/Makefile.am,
1232 at-bridge/Makefile.am.
1233 test/Makefile.am, configure.in:
1234 reverse previous changes.
1236 * /idl/Image.idl: fix typo.
1238 * test/Makefile.am: put DEBUG_FLAGS
1241 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1243 * test/app.c: use argv[0] instead of
1246 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1248 * libspi/Makefile.am,
1249 registryd/Makefile.am,
1250 at-bridge/Makefile.am.
1251 test/Makefile.am, configure.in:
1252 cleanup, replace individual LIBS/CFLAGS with
1253 AT_COMMON_{LIBS|CFLAGS}.
1257 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1259 * configure.in, libspi/Makefile.am:
1260 Change IDL path checking for bonobo-activation
1263 2001-08-15 Bill Haneman <bill.haneman@sun.com>
1265 * registryd/registry.c : separated event listeners to use
1266 3 separate lists (focus, window, toolkit). Began testing
1267 event names against hashes before relaying events.
1268 * test/at.c : now register for events of type "focus:"
1269 * test/app.c : now generate events of type "focus:"
1270 * at-bridge/bridge.c : register with ATK for focus events,
1271 and we now relay those focus events to any "focus:" listeners.
1272 This now works with the bridge as a GTK_MODULE when running test/at.
1273 * libspi/registry.c :
1274 * libspi/listener.c :
1275 now we ref event sources before propagating, and unref on receipt.
1276 * libspi/registry.c :
1277 some changes to internal structs, to support event typestring hashes.
1278 * text/app.c : changed the way the appname is generated.
1279 * cspi : added directory that will hold the C bindings library for
1280 non-CORBA/bonobo-savvy clients.
1281 * cspi/spi.h : header file that contains the function prototypes for the C binding.
1282 * idl/Component.idl : added in parameter to indicate coord system for
1283 geometry-related calls.
1284 * idl/Hyperlink.idl : added readonly n_links attribute
1285 * idl/Image.idl : changed methods to attributes.
1287 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1289 * at-bridge/Makefile.am: link against
1290 ../libspi/libspi.la instead of -lspi.
1292 * at-spi/test/app.c: include
1293 bonobo-activation.h. Use a default appname
1294 if one is not provided.
1296 2001-08-14 Bill Haneman <bill.haneman@sun.com>
1298 * idl/Registry.idl : temporarily changed register_Application
1299 to oneway, to work around issue with initial registration
1301 * idl/Application.idl : changed attribute "id" from readonly
1302 to read-write, since it needs to be assigned by Registry.
1303 * registryd/registryd.c : added call to set application id
1305 * registryd/registry.c : changed de-registration procedure to
1306 use CORBA_Object_hash() to find matching object ref in application
1307 lists and listener lists.
1308 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
1309 began distinguishing between event types (work in progress).
1311 2001-08-13 Bill Haneman <bill.haneman@sun.com>
1314 * libspi/application.c:
1315 Added implementations for get/set id, get_toolkitName,
1317 * registryd/registryd.c :
1321 Converted from use of OAF to bonobo-activation.
1322 * libspi/desktop.h :
1323 * libspi/desktop.c :
1325 Removed references to atksimpleobject, since base atkobject
1326 implementation now provides functionality we need.
1327 * libspi/atksimpleobject.c :
1328 * libspi/atksimpleobject.h :
1333 * at-bridge/Makefile.am
1334 * at-bridge/bridge.c
1337 Added directory "bridge" and contents, and added dependencies
1338 in Makefile.am/configure.in.
1339 Initial checkin of "at-bridge".
1340 This code is a GTK_MODULE which automatically registers
1341 GTK+ apps with the accessibility registry, using an object
1342 reference to the root ATK object.
1344 2001-08-10 Mark McLoughlin <mark@skynet.ie>
1346 * po/Makefile.in.in: Remove. Again. If this
1347 doesn't get autogenerated - you need to update
1350 2001-08-07 Mark McLoughlin <mark@skynet.ie>
1352 * po/Makefile.in.in: Add. Again.
1354 2001-07-31 Bill Haneman <bill.haneman@sun.com>
1356 * libspi/accessible.c : added support for 'description' property.
1357 * libspi/accessible.c
1359 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
1360 (since the two are now equivalent in libbonobo)
1368 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
1369 Bonobo::Unknown as does Accessibility::Accessible.
1370 * idl/StreamableContent.idl : as above, and replaced internal InputStream
1371 interface with Bonobo::Stream, since it was redundant with it.
1372 (The Stream returned by a StreamableContext object is expected to
1373 implement only a subset of Bonobo::Stream)
1375 2001-07-28 Anders Carlsson <andersca@gnome.org>
1377 * libspi/accessible.c (accessible_object_finalize): Change
1378 g_free to g_object_unref since the AtkObject is a GObject.
1380 2001-07-30 Bill Haneman <bill.haneman@sun.com>
1382 * idl/Accessibility.idl: add new IDL files
1385 * idl/Action.idl: Definitions of actionable UI object
1386 * idl/Component.idl: Definitions of UI component geometry, etc.
1387 * idl/Hyperlink.idl: Defs of hyperlink behavior
1388 * idl/Image.idl: Def of accessible image
1389 * idl/Selection.idl: Definition of UI object with selectable children
1390 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
1391 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
1392 * idl/Text.idl: Interface defs for UI elements with complex textual content
1393 * idl/Value.idl: Definition of UI element that is a value controller or display
1395 2001-07-27 Michael Meeks <michael@ximian.com>
1397 * po/Makefile.in.in: remove autogenerated file from CVS.
1399 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
1402 * idl/Registry.idl: include guard.
1404 * idl/Accessibility.idl: Add, and include all the other IDL
1407 * idl/*.idl: remove mass of pragmas etc.
1409 2001-07-26 Michael Meeks <michael@ximian.com>
1411 * registryd/Makefile.am (registryd_SOURCES): remove
1414 2001-07-27 Mark McLoughlin <mark@skynet.ie>
1416 * libspi/.cvsignore, registryd/.cvsignore,
1417 test/.cvsignore: updated.
1419 * po/Makefile.in.in: gettext update.
1421 2001-07-25 Bill Haneman <bill.haneman@sun.com>
1423 * initial CVS checkin
1425 2001-06-29 Michael Meeks <michael@ximian.com>
1427 * configure.in: add AM_CONFIG_HEADER to gen config.h