1 2001-21-11 Bill Haneman <bill.haneman@sun.com>
6 * docs/reference:Makefile.am:
8 * docs/reference/cspi:Makefile.am:
9 * docs/reference/cspi:tmpl:
10 * docs/reference/cspi:tmpl:*.sgml:
12 * docs/reference/idl:Makefile.am:
13 * docs/reference/idl:at-spi-idl-sections.txt:
14 * docs/reference/idl:at-spi-idl-docs.sgml:
15 * docs/reference/idl:tmpl:
16 * docs/reference/idl:tmpl:*.sgml:
18 Restructured docs directory to allow separate 'reference' docs
19 section, and forked idl and cspi docs. Added the sgml template
20 files to CVS. Added the first sections/structural sgml for the
23 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
25 * configure.in, libspi/Makefile.am: find libXtst.
27 2001-11-21 Michael Meeks <michael@ximian.com>
29 * test/accessx-gui.c: s/spi_value/value/ - doh.
31 * libspi/base.[ch]: add.
33 2001-18-11 Bill Haneman <bill.haneman@sun.com>
36 * idl/Application.idl:
39 Started gtk-doc cleanup on IDL.
41 * libspi/deviceeventcontroller.c:
42 Added and connected non-preemptive key notification from the
43 toolkits (in addition to the pre-emptive support from XServer
44 which we had before, but which causes 'focus flashing'). Filters
45 are presently limited to key modifiers and global/non-global,
46 KeySets are presently ignored, as are KeyEvent masks.
48 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
49 structs into the persistant structure rather than just storing
50 pointers to things that might not persist across servant
53 The XGrabKey call now does async keygrabs, because synchronous
54 ones were deadlocking with GDK_event code in a very nasty way.
56 Added boolean to internal method notify_keylisteners, to indicate
57 whether the event came from the 'toolkit source' or the 'global
58 (XServer) source' - this is used in the notification process to
59 determine which listeners to send the event to.
61 deviceeventcontroller.c is now warning-free.
64 Fixed regression in application de-registration.
65 Also fixed some really brain-dead weirdness having to do with
66 event dispatching - event structs are now duplicated before being
67 re-marshalled in the dispatch to listeners. This also fixes a
68 Solaris build problem.
71 2001-20-11 Michael Meeks <michael@ximian.com>
74 (impl_accessibility_registry_deregister_global_event_listener):
77 * libspi/deviceeventcontroller.c
78 (spi_device_event_controller_check_key_event): return
79 FALSE on no virtual method.
81 * libspi/*..h: make includes work on a correctly pathed install.
83 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
85 * libspi/application.h: kill unused ( and whacked out )
86 gboolean *spi_application_set_id (AtkObject *app, long id);
88 2001-20-11 Michael Meeks <michael@ximian.com>
90 * libspi/*.[ch]: further convert to bonobo's type func
91 macros, remove redundnant casts etc.
93 * libspi/text.c s/accessibility_text/spi_text/g,
96 * libspi/hypertext.c: re-order to kill a huge slew
97 of redundant forward decls.
99 * libspi/relation.c: ditto.
101 * libspi/image.c: ditto.
103 * */.cvsignore: update
105 2001-20-11 Michael Meeks <michael@ximian.com>
107 * libspi/deviceeventcontroller.c
108 (_controller_register_with_devices): use g_getenv,
109 kill stdlib.h include.
111 * libspi/keystrokelistener.c
112 (spi_keystroke_listener_get_type): kill
113 (spi_keystroke_listener_class_init),
114 (spi_keystroke_listener_init): rename to this.
116 * libspi/text.c (impl_getAttributes): fix warning / bug.
118 * libspi/*.[ch]: more headers, includes and over commenting.
120 2001-20-11 Michael Meeks <michael@ximian.com>
122 * libspi/*.[ch]: fixup headers, includes and over commenting.
124 * libspi/image.c (impl__get_imageDescription): const
125 correctness warning fix. remove redundant casting.
127 * libspi/table.c (impl_getRowDescription): ditto.
128 (impl_getColumnDescription): ditto.
130 * libspi/libspi.h: add.
132 2001-19-11 Michael Meeks <michael@ximian.com>
134 * libspi/editabletext.c (impl_setAttributes): fix warnings.
136 * libspi/component.c (accessibility_component_get_type):
137 rename to (spi_component_get_type): and macroify.
138 (accessibility_component_init): rename to
139 (spi_component_init): this
140 (accessibility_component_class_init): rename to
141 (spi_component_class_init): this
143 * libspi/action.c (spi_action_get_type): kill, use the macro.
145 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
148 * libspi/application.c (spi_application_object_event_listener),
149 (impl_accessibility_application_register_object_event_listener):
150 warning fixes / const understanding updates.
152 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
155 2001-18-11 Bill Haneman <bill.haneman@sun.com>
157 * libspi/spi_accessible.c: Added docs and C bindings for
158 AccessibleStateSet. (No implementations yet). Documentation
159 coverage for C bindings now 100%. Made docs for event listeners
164 boolean notifyListenersSync (in DeviceEventListener listener,
165 in DeviceEvent event);
167 oneway void notifyListenersAsync (in DeviceEventListener listener,
168 in DeviceEvent event);
170 Added DeviceEventListener and DeviceEvent structs (may deprecate
171 KeyStroke and KeystrokeListener in favor of this generic
172 event/listener framework for devices).
174 * libspi/deviceeventcontroller.c:
176 Changed some key listener code to take masks, etc., and paved the
177 way for integration of toolkit/non-preemptive key events. Changed
178 signatures of some internal methods.
180 * at-bridge/bridge.c:
181 Fixed regression connecting to interface signals, apparently
182 caused by GTK+ changes.
184 Added an internal bridge_state_listener to deal with
185 property-change:accessible-state signals.
187 Changed the key_listeners GList to store structs (including masks,
188 etc.) instead of just CORBA_Objects (required for full
189 implementation of key listener API).
191 Connected the bridge to all currently supported Atk signals.
192 Events now supported:
193 object:property-change
194 object:property-change:accessible-name
195 object:property-change:accessible-state
196 object:property-change:accessible-description
197 object:property-change:accessible-parent
198 object:property-change:accessible-value
199 object:property-change:accessible-role
200 object:property-change:accessible-table-caption
201 object:property-change:accessible-table-column-description
202 object:property-change:accessible-table-column-header
203 object:property-change:accessible-table-row-description
204 object:property-change:accessible-table-row-header
205 object:property-change:accessible-table-summary
206 object:children-changed
207 object:visible-data-changed
208 object:selection-changed
209 object:text-selection-changed
211 object:text-caret-moved
215 object:column-inserted
216 object:column-reordered
217 object:column-deleted
220 2001-16-11 Bill Haneman <bill.haneman@sun.com>
222 * libspi/hyperlink.c,h:
223 Fixed some broken stuff in hyperlink.
227 * cspi/spi_accessible.c:
228 Initial implementations of AccessibleRelation methods, and docs.
230 * libspi/accessible.c:
231 Fixed a bug that caused SEGV if an accessible
232 object's description is NULL, and a client
233 requests it. An empty string is now returned.
235 * cspi/spi_editabletext.c:
236 * cspi/spi_hypertext.c:
238 * cspi/spi_hyperlink.c:
242 Doc coverage now 95%.
244 2001-16-11 Bill Haneman <bill.haneman@sun.com>
246 One last namespacing revision:
247 * libspi/accessibleeventlistener.[ch]:
248 Renamed SpiAccessibleEventListener to SpiEventListener,
249 (no need for two namespaces ;-)
251 And lots of documentation fixes:
253 * docs/at-spi-docs.sgml:
254 Fixed 'underscore vs. hyphen' bug that was preventing
255 the gtk-doc API docs from being automatically generated.
258 * cspi/spi-listener.h
260 * cspi/spi_accessible.c
262 * cspi/spi_application.c
263 * cspi/spi_component.c
264 * cspi/spi_editabletext.c
266 * cspi/spi_hypertext.c
268 * cspi/spi_registry.c
269 * cspi/spi_selection.c
273 * docs/at-spi-docs.sgml
274 * docs/at-spi-sections.txt
276 Added and fixed up gtk-doc documentation in cspi.
278 Interfaces now (fully) documented (subject to revision and enhancement):
280 Event Listener Support
282 AccessibleApplication
286 AccessibleEditableText
293 AccessibleRelationSet
298 2001-14-11 Bill Haneman <bill.haneman@sun.com>
300 * at-bridge/bridge.c:
301 Initial work for toolkit-level key snooper connection by bridge.
306 New typedefs and fixes to support new namespacing, and cleaner
307 separation of cspi bindings from libspi bonobo implementation.
308 Removed inconsistent and extraneous Spi* namespace prefix that
309 had crept into cspi headers.
310 Lots of comment fixes that sed had missed.
312 * cspi/spi-roletypes.h:
313 * cspi/spi-statetypes.h:
314 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
315 to AccessibleRoleType.
317 * libspi/accessibleeventlistener.h:
318 Fixed minor namespacing weirdness.
320 * libspi/deviceeventcontroller.c:
321 Reordered some internal API for device listeners.
322 Changed the key registry final boolean to 'is_system_global'
323 rather than 'is_synchronous', which is more descriptive of its
325 Added spi_device_event_controller_new().
326 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
328 * libspi/keystrokelistener.[ch]:
329 Namespaced KeystrokeListener to SpiKeystrokeListener.
330 Changed uses of keymasks to use SPI_ prefix, and did other
334 Namespaced keymask constants with SPI_ prefix.
337 Some warning fixes, and knock-on fixes from namespace changes.
340 Added rules for accessx-gui test program.
342 * test/accessx-gui.c:
343 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
344 utility. It doesn't actually use at-spi, but it's still cool and
347 * test/keysynth-demo.c:
351 Fixes so that these test clients work properly with the namespaced
352 libraries. (Incompletely tested for technical reasons, fixes may follow)
355 2001-13-11 Michael Meeks <michael@ximian.com>
357 * libspi/application.c
358 (impl_accessibility_application_get_version),
359 (impl_accessibility_application_get_toolkit_name):
361 (impl_accessibility_application_set_id),
362 (impl_accessibility_application_get_id): remove
363 redundant casting code.
365 * libspi/action.c (impl_getDescription): fix warnings.
367 * libspi/accessible.c
368 (impl_accessibility_accessible_get_parent),
369 (impl_accessibility_accessible_get_child_at_index),
370 (impl_accessibility_accessible_get_state),
371 (impl_accessibility_accessible_get_relation_set):
372 warning fixes & include action.h
374 2001-13-11 Michael Meeks <michael@ximian.com>
376 * *.[ch] fix bits I screwed up:
378 s/([^ \tb(\*\&\?\",])spi_/\1/g;
379 s/([^ \tb(\*\&\?\",])Spi/\1/g;
381 2001-13-11 Michael Meeks <michael@ximian.com>
383 * *.[ch] Namespace libspi into spi_ and Spi.
385 2001-13-11 Michael Meeks <michael@ximian.com>
387 * Makefile.am: dist & install at-spi-1.0.pc
389 * libspi/Makefile.am: install into at-spi-1.0
391 * idl/Makefile.am (idldir): install into at-spi-1.0
393 * at-spi-1.0.pc.in: add.
395 * configure.in: build it.
397 2001-12-11 Bill Haneman <bill.haneman@sun.com>
399 * test/keysynth-demo.c:
400 Use a 'realize' signal-handler to set the WM properties for
401 the virtual keyboard, rather than making it a "POPUP" type
402 override-redirect window (thanks to anders carlsson for that
405 2001-11-11 Bill Haneman <bill.haneman@sun.com>
408 * test/keysynth-demo.c:
409 Added new test of key synthesis, which creates a simple
410 (mouse-operated) onscreen keyboard. It inserts key events into
411 the currently-focused window, thus it does not grab keyboard focus
414 * cspi/spi_registry.c:
415 Added C binding for AT-SPI generateKeyEvent.
417 * libspi/deviceeventcontroller.c:
418 Added call to XFilterEvent so that key listener works with XIM (we
419 hope). Added event_synth_type to generateKeyEvent, so that we can
420 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
421 synthesize a press/release pair for KeySyms.
423 2001-11-09 Bill Haneman <bill.haneman@sun.com>
425 * libspi/Makefile.am:
426 * registryd/Makefile.am:
427 (temporary) hack to include libXtst in libspi and registryd.
428 (Needed for keystroke synthesis, see below).
431 Improved API for registerKeystrokeListener, in accordance with
432 discussions with Gnopernicus team and X server research.
435 * libspi/deviceeventcontroller.c:
436 * libspi/accessible.c:
437 * libspi/keystrokelistener.c:
438 Changes and fixes to support keylisteners for potentially
439 consumed key events (that is, 'passive grabs').
440 Added implementation for generateKeyEvent() [untested].
443 Changes to registerKeystrokeListener() API, as above.
444 Added deregisterGlobalEventListenerAll(), and
445 deregisterKeystrokeListener(), which are needed for clean exit of
447 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
448 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
450 * cspi/spi_registry.c:
451 Added implementations of function prototypes mentioned above.
453 * registryd/registryd.c:
454 Added the key listener event source as a g_timeout(), to allow
455 receipt of key events that are not caught by GDK (since GDK
456 doesn't support passive keygrabs, this was necessary).
459 Changed to attach a keylistener to 'Alt' keys, and
460 respond to the following keycommands: Alt-M (toggle magnifier);
461 Alt-F (toggle speech); Alt-Q (quit).
462 Added an exit routine to deregister the listeners, and a key
463 listener that prints some key info to the console when a key
464 matches the listener mask (and is thus received by the listener).
466 * util/idl/Magnifier.idl:
467 Changes to magnifier API to support multiple zoom regions,
468 non-uniform scaling in x and y, markDirty, and a host of other
469 features that would be useful to magnification.
474 * util/mag_control.c:
476 Source code changes to support the above IDL changes.
479 As above, and also changes to use a (slower) generic conversion
480 path for colormap conversions, since the fast RGB conversions have been
481 reported to fail for 16-bit displays.
483 2001-10-26 Michael Meeks <michael@ximian.com>
485 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
487 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
489 * at-bridge/Makefile.am: fix LDFLAGS.
491 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
493 * at-bridge/bridge.c:
494 Re-worked listeners for toolkit events, now we have signal
495 and property listeners. Added a private method
496 register_atk_event_listeners(), which registers with the
497 various atk and gtk signals we need to monitor in order to emit
499 Added emission hook for AtkObject:property-change events, to
500 support the 'property listeners'.
501 Fixed some alloc()s of Accessibility_Event structs to use CORBA
504 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
505 which emit warnings and exit, respectively, if CORBA errors occur
506 during remote calls, and we now use these methods to check most of
507 our CORBA calls in the C bindings.
509 * cspi/spi_accessible.c:
510 Changed AccessibleSelection_refSelectedChild() to
511 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
512 now increment refcounts.
514 * cspi/spi_component.c:
515 Fixed some long pointer casts (dangerous!) to pass pointers to
516 CORBA_longs of the proper type to the CORBA stubs, and copy the
517 data into the longs that were passed into the C bindings code.
519 * at-bridge/bridge.c:
521 * libspi/accessible.c:
522 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
523 hyperlinks, AtkHyperlink is an object type.
525 * libspi/application.c:
526 Added various conversions to and from "generic" event types and
527 atk-specific types; this is really part of the 'bridge'
528 implementation but is valid for all AtkObject-based accessibility
531 * libspi/editabletext.c:
532 Fixed nasty bug wherein editable text's finalize method was
533 unref'ing tha AtkObject reference that the text parent class was
534 about to unref _again_. There was also a nasty inheritance bug
535 that meant that the AccessibleEditableText class was corrupt.
537 * libspi/selection.c:
538 Provided implementations for some selection API that was broken.
540 * idl/Application.idl:
541 Added registerObjectEventListener () method.
544 Fixed a number of return values that were Bonobo_Unknowns from
545 bonobo_object_corba_objref(), which I
546 forgot to dup before returning. Changed instances of
547 bonobo_object_corba_objref (bonobo_object(o)) to
548 BONOBO_OBJREF(o), for concision and clarity.
550 <2001-10-13 Louise Miller <louise.miller@sun.com>
552 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
553 idl/Event.idl, idl/Registry.idl
554 Changed these files to include Bonobo_Unknown.idl instead
557 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
559 * libspi/component.c libspi/component.h:
560 Fixed typo. Added assertions for object checks in
561 AccessibleComponent code.
563 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
565 * idl/Accessible.idl:
566 Added 'isEqual (Accessible *object)'
567 method for Accessible. (Not Yet Implemented).
570 Changed signature of registerKeystrokeListener() to
571 take a KeySet and KeyEventSeq so that specific keys and event
572 types could be requested for monitoring, and added a flag
573 is_synchronous so that either synchronous or asynchronous
574 notification could be requested. (However this is not all
575 implemented yet). This also meant adding two new typedefs,
576 KeyEventSeq and KeySet.
579 Added two new relations, RELATION_TOOLTIP_FOR and
580 RELATION_LEAFNODE_OF.
583 Added new state, STATE_HAS_TOOLTIP.
585 * libspi/text.c, editabletext.c:
586 Added new assertions to all casts of bonobo-objects from
587 CORBA servants, to prevent Text API calls on non-text objects.
588 Changed suspect casts of int-pointer types, so that we
589 always send a valid CORBA_long pointer to the CORBA APIs that use
590 in/out long parameters. We then have to copy from the CORBA_long
591 into the regular long or int for return to the C bindings, or
592 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
595 * libspi/deviceeventcontroller.c:
596 Cleaned these sources up.
598 Changed return type for getCharacterAtOffset to
599 CORBA_unsigned_long, to allow for 32-bit characters.
602 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
606 Fixed 'make dist' so that distro compiles...
609 * cspi/spi-listener.c:
610 KeystrokeListenerCB now returns a boolean.
612 Added KeyEventType struct, and KeyStroke.
613 Also added createKeystrokeListener(),
614 KeystrokeListener_addCallback(),
615 KeystrokeListener_removeCallback(), and added a keymask to
616 registerKeystrokeListener().
617 * cspi/spi_accessible.c:
618 Changed numerous return types for interfaces from
619 AccessibleComponent to Accessible<InterfaceName>; this was
620 probably a cut-and-paste error.
622 Implementations of new KeystrokeListener api (from spi.h,
625 Changes to key modifier mapping.
626 Created ControllerEventMask struct.
627 Made DeviceEventController derive from Bonobo::Unknown.
629 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
630 * libspi/deviceeventcontroller.c:
631 Added a number of new internal (private) methods.
632 * libspi/editabletext.c:
633 * libspi/editabletext.h:
634 Fixed a number of bugs related to the fact that
635 editabletext inherits from text. Fixed the EditableText struct,
636 the init() call, and use correct casts when calling Text methods
637 from an EditableText object. Removed (duplicate) atko from the
638 EditableText structure, we use the one in the parent Text
639 structure via the casts mentioned above.
640 * libspi/keystrokelistener.[ch]:
642 Changes in support of keyboard handling (above).
644 Keyboard handling, though partly functional, is still not
645 recommended for at-spi client use as there is considerable
649 Changed some places where pointers to various int types
650 are cast to be pointers to CORBA_long types and vice-versa:
651 pointer casting is not safe so we pass pointers of the correct
652 types and then cast the result before putting it into the target
655 * libspi/text.h: minor typos corrected.
657 We now speak not only the name of a Text element, but the
658 first sentence of its content, when it receives focus.
659 I also changed the text compression to 75% from 50%.
660 * util/Accessibility_Util.server.in:
661 Changed the default magnifier type to be a 3x vertical
662 splitscreen magnifier (was previously a 2x horizontal one).
664 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
666 * libspi/keystrokelistener.h:
667 * libspi/keystrokelistener.c:
668 Initial functional implementations of KeystrokeListener.
671 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
673 Fixed string handling for NULL strings in libspi.
674 Added spi_freeString to free strings returned by C bindings.
676 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
678 * libspi/keystrokelistener.h:
679 * libspi/keystrokelistener.c:
680 Began (no-op) implementations of KeystrokeListener
682 * libspi/deviceeventcontroller.c:
683 * libspi/deviceeventcontroller.h:
684 Began creating implementations of DeviceEventController,
685 to handle keystroke and mouse event listening and
687 * libspi/accessible.c:
688 Stubbed-in the implementations for
689 Accessibility_Accessible_getState and
690 Accessibility_Accessible_getRelationSet.
692 Improved de-registration process and fixed some bugs,
693 deregistration now works correctly.
695 Added initialization of applications list (to NULL).
697 Reduced speech compression from 0.5 to 0.7, for demo.
698 Changed call to gdk_window_set_decorations()
699 to gtk_window_set_decorated().
700 * at-bridge/bridge.c:
701 Bridge now deregisters when app exits, via
702 registration of a cleanup function
703 with the g_atexit() call.
704 Required making 'app' static, renamed 'this_app'.
705 Fixed broken use of bonobo_init, passing argv wrongly.
707 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
711 Created a new directory for
712 accessibility-related utilities, primarily for
713 testing and demo purposes, but with possible
720 Onscreen magnifier utility that
721 is implemented as a bonobo service.
725 Client-side support (simple C bindings)
726 for Magnification service
728 * util/mag_control.c:
729 Client program example for
730 Magnification service
732 * util/Accessibility_Magnifier.server.in:
733 Bonobo-activation file for the
734 Magnification service.
737 * util/idl/Magnifier.idl:
738 IDL defining the bonobo Magnification
742 Modifications to use the bonobo-activated magnifier
743 above, in place of trying to connect to an existing
744 magnifier that uses socket-listening IPC.
746 If env variable MAGNIFIER is set, a magnifier service
747 will be started if one does not exist.
749 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
750 * at-bridge/bridge.c:
751 applied patch from Marc to build and run
752 against new glib and gtk+ (seemed like a change
753 to bonobo_init signature was made ?)
755 made festival-server support turned off by default.
756 Added support for a simple magnifier (off by default)
757 which will be added to a 'util' directory later.
758 * at-bridge/Makefile.am:
759 Changed "application.h" header from a 'source'
760 to a 'dependency' of libat-bridge.
762 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
770 Added interface implementation c files to list of
771 includes so they are included in libcspi.
774 Changed prototype of AccessibleAction_doAction to return a
776 Changed prototype of AccessibleTable_getCaption to
777 return an Accessible.
778 Changed prototype of AccessibleTable_getSelectedRows
779 and AccessibleTable_getSelectedColumns to
780 return a long (returns the number of selected rows
781 or columns respectively).
782 Changed name of AccessibleText_refRunAttributes to
783 AccessibleText_getAttributes.
784 Changed prototype of AccessibleText_getCharacterExtents to
785 return a void rather than a boolean.
786 Added support for a AccessibleCoordType parameter
787 specifying what type of coordinates are desired.
788 Added an AccessibleCordType parameter to
789 AccessibleText_getPointAtOffset.
791 * cspi/spi_accessible.c:
792 Added code to return the outstanding interfaces from
793 Accessible_queryInterface.
797 Corrected call to getNActions to call the c binding
800 * cspi/spi_editabletext.c:
802 Changed name from setRunAttributes to setAttributes.
804 * cspi/spi_hyperlink.c:
806 Changed call to getNAnchors to correctly call the c
807 binding for an attribute.
809 * cspi/spi_hypertext.c:
811 Changed getImageDescription to correctly call the
812 binding for an attribute.
814 * cspi/spi_selection.c:
815 Changed getNSelectedChildren to correctly call the c
816 binding for the attribute.
817 Changed refSelectedChild to getSelectedChild.
821 Changed getCaption to return an Accessible.
822 Fixed calls which retrieve attributes.
823 Changed refAt to getAccessibleAt.
824 Changed getNSelectedRows and getNSelectedColumns to
828 Changed getCharacterExtents and getPointAtOffset to accept an
831 Changed calls which retrieve attributes.
832 Changed refRunAttributes to getAttributes.
838 Changed n_anchors attribute to nAnchors to keep naming
839 convention consistent.
842 Made Table inherit from Bonobo::Unknown.
843 Added nSelectedColumns and nSelectedRows attributes.
846 Made Value inherit from Bonobo::Unknown.
848 * libspi/hyperlink.c:
849 Change for nAnchors attributte name change.
851 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
859 Added interface implementation c files to list of
860 includes so they are included in libcspi.
863 Changed prototype of AccessibleAction_doAction to return a
865 Changed prototype of AccessibleTable_getCaption to
866 return an Accessible.
867 Changed prototype of AccessibleTable_getSelectedRows
868 and AccessibleTable_getSelectedColumns to
869 return a long (returns the number of selected rows
870 or columns respectively).
871 Changed name of AccessibleText_refRunAttributes to
872 AccessibleText_getAttributes.
873 Changed prototype of AccessibleText_getCharacterExtents to
874 return a void rather than a boolean.
875 Added support for a AccessibleCoordType parameter
876 specifying what type of coordinates are desired.
877 Added an AccessibleCordType parameter to
878 AccessibleText_getPointAtOffset.
880 * cspi/spi_accessible.c:
881 Added code to return the outstanding interfaces from
882 Accessible_queryInterface.
886 Corrected call to getNActions to call the c binding
889 * cspi/spi_editabletext.c:
891 Changed name from setRunAttributes to setAttributes.
893 * cspi/spi_hyperlink.c:
895 Changed call to getNAnchors to correctly call the c
896 binding for an attribute.
898 * cspi/spi_hypertext.c:
900 Changed getImageDescription to correctly call the
901 binding for an attribute.
903 * cspi/spi_selection.c:
904 Changed getNSelectedChildren to correctly call the c
905 binding for the attribute.
906 Changed refSelectedChild to getSelectedChild.
910 Changed getCaption to return an Accessible.
911 Fixed calls which retrieve attributes.
912 Changed refAt to getAccessibleAt.
913 Changed getNSelectedRows and getNSelectedColumns to
917 Changed getCharacterExtents and getPointAtOffset to accept an
920 Changed calls which retrieve attributes.
921 Changed refRunAttributes to getAttributes.
927 Changed n_anchors attribute to nAnchors to keep naming
928 convention consistent.
931 Made Table inherit from Bonobo::Unknown.
932 Added nSelectedColumns and nSelectedRows attributes.
935 Made Value inherit from Bonobo::Unknown.
937 * libspi/hyperlink.c:
938 Change for nAnchors attributte name change.
941 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
943 implementations-- made server implementations own AtkObject pointers
944 rather than their respective AtkInterrface pointers to fix
945 refcounting. AtkHyperlink is still broken.
947 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
948 * cspi/spi_accessible.c:
949 Added method Accessible_Role_getName(),
950 and requisite string array (role_names).
951 Added conversion string_from_corba_strin() call
952 to Accessible_getName and _getDescription.
953 * libspi/accessible.c:
954 Added implementation for Accessible_getRole()
956 Added festival support, used if environment variable
959 2001-09-04 Bill Haneman <bill.haneman@sun.com>
961 * at-bridge/bridge.c:
962 Now allocate Accessibility_Event using
963 Accessibility_Event__alloc() instead of g_new0().
964 * libspi/accessibleeventlistener.c:
965 Initialize AccessibleEventListener->callbacks to NULL.
966 Fixed accessible__event_listener_init() param, changed to
967 "AccessibleEventListener *" type.
968 Changed a bonobo_object_release_unref() call to
969 Accessibility_Accessible_unref().
971 Changed Bonobo_Unknown_unref to (equivalent)
972 Accessibility_Accessible_unref.
974 Changed bonobo_object_release_unref to
975 Accessibility_Accessible_unref.
977 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
980 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
981 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
982 spi-util.c spi-util.h
983 Implementations for C bindings to remaining accessibility
986 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
989 changed return value of Action from void to boolean to
990 bring in line with ATK.
993 Changed getText funcions to return "out" start and end offsets.
994 Changed getAttributes to take and offset and return the start
995 and end offset of the attribute run.
996 Changed getOffsetAtPoint and getCharacterExtents to take an
997 enum describing whether coordinates are window or screen.
1000 libspi/action.c libspi/action.h libspi/editabletext.c
1001 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
1002 libspi/hypertext.c libspi/hypertext.h libspi/image.c
1003 libspi/image.h libspi/selection.c libspi/selection.h
1004 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
1005 libspi/value.c libspi/value.h
1006 Added server implementations for outstanding ATK interfaces
1007 not yet implemented.
1009 2001-09-04 Bill Haneman <bill.haneman@sun.com>
1012 Added (missing) getName() method.
1013 Made nActions an attribute.
1014 * idl/EditableText.idl:
1015 Changed order of params in setAttributes.
1016 * idl/Hyperlink.idl:
1017 Removed getAnchor, added getURI.
1019 Changed attributes to methods, for efficiency
1020 (so that getting extents can be done in one call)
1021 * idl/Selection.idl:
1022 Changed nSelectedChildren to attribute, and re-indented.
1023 * idl/Table.idl: changed nrows, ncolumns, caption, summary
1025 * idl/Text.idl: reformatted to match our coding style.
1026 (temporarily?) removed getRowColumnAtOffset().
1027 Changed text selection API to support multi-select and
1028 non-contiguous selections, as in ATK.
1029 * idl/Value.idl: changed some methods to attributes.
1031 2001-08-24 Mark McLoughlin <mark@skynet.ie>
1033 * libspi/listener.c(impl_notify_event):
1034 BonoboUnkown_unref the source instead
1035 of bonobo_object_release_unref - the ORB
1036 handles the releasing.
1038 * configure.in: require ORBit-2.3.94 for
1041 2001-08-21 Bill Haneman <bill.haneman@sun.com>
1043 Tagged CVS repository 'EA_1_0'.
1044 * README.EARLY_ACCESS:
1045 Alphabetized acknowledgements list, and
1047 Listed some known dependencies of at-spi.
1049 2001-08-20 Bill Haneman <bill.haneman@sun.com>
1051 * docs/at-spi-docs.sgml:
1052 * docs/at-spi-sections.txt:
1053 * docs/at-spi-overrides.txt: (Added zero-length file)
1054 Documentation improvements - gtk-doc should build
1055 docs for all implemented C bindings now.
1058 * cspi/spi.c: (New file)
1059 * cspi/spi_event.c: (New file)
1060 * cspi/spi_registry.c: (New file)
1061 * cspi/spi_accessible.c: (New file)
1062 * cspi/spi_application.c: (New file)
1063 * cspi/spi_component.c: (New file)
1064 Split spi_main.c into six parts, and included them from
1065 "spi.c". This is a bit of a hack, probably temporary,
1066 but required by gtk-doc, apparently.
1068 2001-08-20 Bill Haneman <bill.haneman@sun.com>
1071 * docs/at-spi-docs.sgml:
1072 * docs/at-spi-sections.txt:
1074 Initial checkins/modifications for gtk-doc generation.
1077 Added (missing) interface query methods to Accessible's C binding.
1079 Added GenericInterface type definition.
1081 Added query for AccessibleComponent interface to focus event handler.
1082 Added printout of bounding box for focussed component.
1083 * libspi/component.c:
1084 Added partial implementation for AccessibleComponent to C binding.
1085 * idl/Application.idl:
1086 * libspi/registry.c:
1087 * libspi/listener.c:
1088 * libspi/application.c:
1089 * libspi/application.h:
1090 Changed "ID" attribute type from string to long.
1092 2001-08-19 Bill Haneman <bill.haneman@sun.com>
1096 Made method naming consistent: methods taking object args
1097 start with uppercase, other methods (except those using
1098 acronyms) start with lowercase. Underscores delimit between
1099 object names and method names:
1100 SPI_init() - uppercase since it starts with an acronym.
1101 getDesktopCount () - lowercase start since no object param0.
1102 Accessible_getName() - uppercase object type name, studlyCaps method
1106 Added gtk-doc documentation for all currently implemented
1107 methods in the C bindings API.
1109 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1111 * Makefile.am : changed build order to build test last.
1114 Changed "createEventListener" to "CreateEventListener".
1115 * libspi/accessibleeventlistener.c :
1116 Bugfix for addition of callbacks.
1117 * test/Makefile.am :
1118 * test/simple-at.c :
1119 Added new test that uses the C bindings API.
1121 * libspi/listener.c :
1122 * libspi/registry.c :
1123 * libspi/accessibleeventlistener.c :
1124 * at-bridge/bridge.c :
1125 Renamed member "target" of Accessibility_Event to "source",
1126 which is more descriptive.
1129 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1133 * cspi/Makefile.am :
1134 Added makefile support for at-spi/cspi directory.
1137 * cspi/spi-listener.h : (NEW FILE)
1138 Added support for/use of spi-listener.h.
1140 C bindings now build successfully, with no warnings.
1141 * libspi/accessibleeventlistener.h : (NEW FILE)
1142 * libspi/accessibleeventlistener.c : (NEW FILE)
1143 * libspi/Makefile.am :
1144 Added new object type "AccessibleEventListener"
1145 which inherits from Listener, and allows attachment
1146 of in-process callbacks (so that a client with a listening
1147 object instance can add functionality to the local
1148 implementation, dynamically).
1150 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1152 * libspi/accessible.c:
1153 Add implementation for get_index_in_parent().
1155 Added #include of "spi-roletypes.h", and
1156 added enumerated type AccessibleCoordType.
1157 Added definition for KeystrokeListener (function type).
1160 * cspi/spi-statetypes.h :
1161 * cspi/spi-roletypes.h :
1163 Added these headers, used by spi.h.
1165 Added code (NOTE: not yet built by make).
1167 2001-08-18 Mark McLoughlin <mark@skynet.ie>
1169 * libspi/Makefile.am: generate imodule
1170 at the same time as other idl compiler
1173 2001-08-17 Bill Haneman <bill.haneman@sun.com>
1174 * libspi/registry.c :
1175 * libspi/application.c :
1176 * idl/Application.idl :
1177 Made registration with toolkit an application method,
1178 which is required since each app has its own toolkit static
1179 environment. Thus the bridge must register for
1180 notification of toolkit events from each application in turn.
1181 Toolkit notifications are now successfully registered for, and
1182 sent to the listening at client.
1184 Changed toolkit event string to use hyphens rather than underscores.
1185 * libspi/listener.c :
1186 listner now gives more info in debug mode - it reports the
1187 name of the event received, as well as the name of the source.
1190 2001-08-16 Bill Haneman <bill.haneman@sun.com>
1192 * libspi/registry.c :
1193 added more implementation for toolkit events.
1194 Fixed bug such that toolkit event registrations
1195 (via atk) use the whole event name string, not
1197 Removed a useless call to an ORBit_ method.
1198 * at-bridge/bridge.c :
1199 Removed unused local sbuf[] variable.
1201 We now register for Gtk:GtkWidget:button_press_event
1202 events as well as "focus:" events.
1204 Add some more API from Registry.idl that was missing,
1205 for keystroke listening, keystroke and mouse event
1206 synthesis, and enumeration of accessible desktops.
1208 2001-08-16 Michael Meeks <michael@ximian.com>
1210 * configure.in: use AM_GLIB_GNU_GETTEXT.
1212 * Makefile.am (SUBDIRS): kill intl.
1214 2001-08-15 Michael Meeks <michael@ximian.com>
1216 * registryd/Makefile.am: s/oaf/server/ relocate info file.
1218 * configure.in: upd.
1220 * configure.in: depend on a recent bonobo-activation that
1221 will find our server files ...
1223 2001-08-16 Bill Haneman <bill.haneman@sun.com>
1225 * libspi/accessible.c : accessible_new() :
1226 Now we add the Component interface via bonobo_object_add_interface,
1227 if the contained AtkObject implements AtkComponent.
1228 * libspi/accessible.h : now include "component.h"
1229 * libspi/component.h :
1230 * libspi/component.c : added files - implementation of
1231 bonobo wrapper object for Accessibility/Component
1232 * libspi/listener.c :
1233 Added test code to check for Accessibility/Component:1.0
1234 interface and report whether it is implemented by the
1236 * libspi/registry.c :
1237 Now we check for not only the hash of the whole event
1238 string before relaying the event, we also check the
1239 "minor" event string (without the detail string).
1240 This allows event listeners to be registered against
1241 all events of a certain major+minor type, or just
1242 against a specific major+minor+detail type.
1243 * libspi/accessible.c :
1244 Added implementations for Accessible:get_parent(),
1245 Accessible:getChildCount(), and Accessible:getChildAtIndex().
1246 * libspi/registry.c :
1247 * libspi/listener.c :
1248 Replaced calls to Accessibility_Accessible_ref() and
1249 Accessibility_Accessible_unref() with
1250 calls to bonobo_object_dup_ref() and
1251 bonobo_object_release_unref(), so that the CORBA object
1252 is dup-ed and released when relayed, as well as the bonobo object.
1254 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1256 * libspi/Makefile.am,
1257 registryd/Makefile.am,
1258 at-bridge/Makefile.am.
1259 test/Makefile.am, configure.in:
1260 reverse previous changes.
1262 * /idl/Image.idl: fix typo.
1264 * test/Makefile.am: put DEBUG_FLAGS
1267 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1269 * test/app.c: use argv[0] instead of
1272 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1274 * libspi/Makefile.am,
1275 registryd/Makefile.am,
1276 at-bridge/Makefile.am.
1277 test/Makefile.am, configure.in:
1278 cleanup, replace individual LIBS/CFLAGS with
1279 AT_COMMON_{LIBS|CFLAGS}.
1283 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1285 * configure.in, libspi/Makefile.am:
1286 Change IDL path checking for bonobo-activation
1289 2001-08-15 Bill Haneman <bill.haneman@sun.com>
1291 * registryd/registry.c : separated event listeners to use
1292 3 separate lists (focus, window, toolkit). Began testing
1293 event names against hashes before relaying events.
1294 * test/at.c : now register for events of type "focus:"
1295 * test/app.c : now generate events of type "focus:"
1296 * at-bridge/bridge.c : register with ATK for focus events,
1297 and we now relay those focus events to any "focus:" listeners.
1298 This now works with the bridge as a GTK_MODULE when running test/at.
1299 * libspi/registry.c :
1300 * libspi/listener.c :
1301 now we ref event sources before propagating, and unref on receipt.
1302 * libspi/registry.c :
1303 some changes to internal structs, to support event typestring hashes.
1304 * text/app.c : changed the way the appname is generated.
1305 * cspi : added directory that will hold the C bindings library for
1306 non-CORBA/bonobo-savvy clients.
1307 * cspi/spi.h : header file that contains the function prototypes for the C binding.
1308 * idl/Component.idl : added in parameter to indicate coord system for
1309 geometry-related calls.
1310 * idl/Hyperlink.idl : added readonly n_links attribute
1311 * idl/Image.idl : changed methods to attributes.
1313 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1315 * at-bridge/Makefile.am: link against
1316 ../libspi/libspi.la instead of -lspi.
1318 * at-spi/test/app.c: include
1319 bonobo-activation.h. Use a default appname
1320 if one is not provided.
1322 2001-08-14 Bill Haneman <bill.haneman@sun.com>
1324 * idl/Registry.idl : temporarily changed register_Application
1325 to oneway, to work around issue with initial registration
1327 * idl/Application.idl : changed attribute "id" from readonly
1328 to read-write, since it needs to be assigned by Registry.
1329 * registryd/registryd.c : added call to set application id
1331 * registryd/registry.c : changed de-registration procedure to
1332 use CORBA_Object_hash() to find matching object ref in application
1333 lists and listener lists.
1334 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
1335 began distinguishing between event types (work in progress).
1337 2001-08-13 Bill Haneman <bill.haneman@sun.com>
1340 * libspi/application.c:
1341 Added implementations for get/set id, get_toolkitName,
1343 * registryd/registryd.c :
1347 Converted from use of OAF to bonobo-activation.
1348 * libspi/desktop.h :
1349 * libspi/desktop.c :
1351 Removed references to atksimpleobject, since base atkobject
1352 implementation now provides functionality we need.
1353 * libspi/atksimpleobject.c :
1354 * libspi/atksimpleobject.h :
1359 * at-bridge/Makefile.am
1360 * at-bridge/bridge.c
1363 Added directory "bridge" and contents, and added dependencies
1364 in Makefile.am/configure.in.
1365 Initial checkin of "at-bridge".
1366 This code is a GTK_MODULE which automatically registers
1367 GTK+ apps with the accessibility registry, using an object
1368 reference to the root ATK object.
1370 2001-08-10 Mark McLoughlin <mark@skynet.ie>
1372 * po/Makefile.in.in: Remove. Again. If this
1373 doesn't get autogenerated - you need to update
1376 2001-08-07 Mark McLoughlin <mark@skynet.ie>
1378 * po/Makefile.in.in: Add. Again.
1380 2001-07-31 Bill Haneman <bill.haneman@sun.com>
1382 * libspi/accessible.c : added support for 'description' property.
1383 * libspi/accessible.c
1385 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
1386 (since the two are now equivalent in libbonobo)
1394 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
1395 Bonobo::Unknown as does Accessibility::Accessible.
1396 * idl/StreamableContent.idl : as above, and replaced internal InputStream
1397 interface with Bonobo::Stream, since it was redundant with it.
1398 (The Stream returned by a StreamableContext object is expected to
1399 implement only a subset of Bonobo::Stream)
1401 2001-07-28 Anders Carlsson <andersca@gnome.org>
1403 * libspi/accessible.c (accessible_object_finalize): Change
1404 g_free to g_object_unref since the AtkObject is a GObject.
1406 2001-07-30 Bill Haneman <bill.haneman@sun.com>
1408 * idl/Accessibility.idl: add new IDL files
1411 * idl/Action.idl: Definitions of actionable UI object
1412 * idl/Component.idl: Definitions of UI component geometry, etc.
1413 * idl/Hyperlink.idl: Defs of hyperlink behavior
1414 * idl/Image.idl: Def of accessible image
1415 * idl/Selection.idl: Definition of UI object with selectable children
1416 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
1417 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
1418 * idl/Text.idl: Interface defs for UI elements with complex textual content
1419 * idl/Value.idl: Definition of UI element that is a value controller or display
1421 2001-07-27 Michael Meeks <michael@ximian.com>
1423 * po/Makefile.in.in: remove autogenerated file from CVS.
1425 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
1428 * idl/Registry.idl: include guard.
1430 * idl/Accessibility.idl: Add, and include all the other IDL
1433 * idl/*.idl: remove mass of pragmas etc.
1435 2001-07-26 Michael Meeks <michael@ximian.com>
1437 * registryd/Makefile.am (registryd_SOURCES): remove
1440 2001-07-27 Mark McLoughlin <mark@skynet.ie>
1442 * libspi/.cvsignore, registryd/.cvsignore,
1443 test/.cvsignore: updated.
1445 * po/Makefile.in.in: gettext update.
1447 2001-07-25 Bill Haneman <bill.haneman@sun.com>
1449 * initial CVS checkin
1451 2001-06-29 Michael Meeks <michael@ximian.com>
1453 * configure.in: add AM_CONFIG_HEADER to gen config.h