1 2001-18-11 Bill Haneman <bill.haneman@sun.com>
7 Started gtk-doc cleanup on IDL.
9 * libspi/deviceeventcontroller.c:
10 Added and connected non-preemptive key notification from the
11 toolkits (in addition to the pre-emptive support from XServer
12 which we had before, but which causes 'focus flashing'). Filters
13 are presently limited to key modifiers and global/non-global,
14 KeySets are presently ignored, as are KeyEvent masks.
16 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
17 structs into the persistant structure rather than just storing
18 pointers to things that might not persist across servant
21 The XGrabKey call now does async keygrabs, because synchronous
22 ones were deadlocking with GDK_event code in a very nasty way.
24 Added boolean to internal method notify_keylisteners, to indicate
25 whether the event came from the 'toolkit source' or the 'global
26 (XServer) source' - this is used in the notification process to
27 determine which listeners to send the event to.
29 deviceeventcontroller.c is now warning-free.
32 Fixed regression in application de-registration.
33 Also fixed some really brain-dead weirdness having to do with
34 event dispatching - event structs are now duplicated before being
35 re-marshalled in the dispatch to listeners. This also fixes a
36 Solaris build problem.
39 2001-20-11 Michael Meeks <michael@ximian.com>
42 (impl_accessibility_registry_deregister_global_event_listener):
45 * libspi/deviceeventcontroller.c
46 (spi_device_event_controller_check_key_event): return
47 FALSE on no virtual method.
49 * libspi/*..h: make includes work on a correctly pathed install.
51 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
53 * libspi/application.h: kill unused ( and whacked out )
54 gboolean *spi_application_set_id (AtkObject *app, long id);
56 2001-20-11 Michael Meeks <michael@ximian.com>
58 * libspi/*.[ch]: further convert to bonobo's type func
59 macros, remove redundnant casts etc.
61 * libspi/text.c s/accessibility_text/spi_text/g,
64 * libspi/hypertext.c: re-order to kill a huge slew
65 of redundant forward decls.
67 * libspi/relation.c: ditto.
69 * libspi/image.c: ditto.
71 * */.cvsignore: update
73 2001-20-11 Michael Meeks <michael@ximian.com>
75 * libspi/deviceeventcontroller.c
76 (_controller_register_with_devices): use g_getenv,
77 kill stdlib.h include.
79 * libspi/keystrokelistener.c
80 (spi_keystroke_listener_get_type): kill
81 (spi_keystroke_listener_class_init),
82 (spi_keystroke_listener_init): rename to this.
84 * libspi/text.c (impl_getAttributes): fix warning / bug.
86 * libspi/*.[ch]: more headers, includes and over commenting.
88 2001-20-11 Michael Meeks <michael@ximian.com>
90 * libspi/*.[ch]: fixup headers, includes and over commenting.
92 * libspi/image.c (impl__get_imageDescription): const
93 correctness warning fix. remove redundant casting.
95 * libspi/table.c (impl_getRowDescription): ditto.
96 (impl_getColumnDescription): ditto.
98 * libspi/libspi.h: add.
100 2001-19-11 Michael Meeks <michael@ximian.com>
102 * libspi/editabletext.c (impl_setAttributes): fix warnings.
104 * libspi/component.c (accessibility_component_get_type):
105 rename to (spi_component_get_type): and macroify.
106 (accessibility_component_init): rename to
107 (spi_component_init): this
108 (accessibility_component_class_init): rename to
109 (spi_component_class_init): this
111 * libspi/action.c (spi_action_get_type): kill, use the macro.
113 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
116 * libspi/application.c (spi_application_object_event_listener),
117 (impl_accessibility_application_register_object_event_listener):
118 warning fixes / const understanding updates.
120 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
123 2001-18-11 Bill Haneman <bill.haneman@sun.com>
125 * libspi/spi_accessible.c: Added docs and C bindings for
126 AccessibleStateSet. (No implementations yet). Documentation
127 coverage for C bindings now 100%. Made docs for event listeners
132 boolean notifyListenersSync (in DeviceEventListener listener,
133 in DeviceEvent event);
135 oneway void notifyListenersAsync (in DeviceEventListener listener,
136 in DeviceEvent event);
138 Added DeviceEventListener and DeviceEvent structs (may deprecate
139 KeyStroke and KeystrokeListener in favor of this generic
140 event/listener framework for devices).
142 * libspi/deviceeventcontroller.c:
144 Changed some key listener code to take masks, etc., and paved the
145 way for integration of toolkit/non-preemptive key events. Changed
146 signatures of some internal methods.
148 * at-bridge/bridge.c:
149 Fixed regression connecting to interface signals, apparently
150 caused by GTK+ changes.
152 Added an internal bridge_state_listener to deal with
153 property-change:accessible-state signals.
155 Changed the key_listeners GList to store structs (including masks,
156 etc.) instead of just CORBA_Objects (required for full
157 implementation of key listener API).
159 Connected the bridge to all currently supported Atk signals.
160 Events now supported:
161 object:property-change
162 object:property-change:accessible-name
163 object:property-change:accessible-state
164 object:property-change:accessible-description
165 object:property-change:accessible-parent
166 object:property-change:accessible-value
167 object:property-change:accessible-role
168 object:property-change:accessible-table-caption
169 object:property-change:accessible-table-column-description
170 object:property-change:accessible-table-column-header
171 object:property-change:accessible-table-row-description
172 object:property-change:accessible-table-row-header
173 object:property-change:accessible-table-summary
174 object:children-changed
175 object:visible-data-changed
176 object:selection-changed
177 object:text-selection-changed
179 object:text-caret-moved
183 object:column-inserted
184 object:column-reordered
185 object:column-deleted
188 2001-16-11 Bill Haneman <bill.haneman@sun.com>
190 * libspi/hyperlink.c,h:
191 Fixed some broken stuff in hyperlink.
195 * cspi/spi_accessible.c:
196 Initial implementations of AccessibleRelation methods, and docs.
198 * libspi/accessible.c:
199 Fixed a bug that caused SEGV if an accessible
200 object's description is NULL, and a client
201 requests it. An empty string is now returned.
203 * cspi/spi_editabletext.c:
204 * cspi/spi_hypertext.c:
206 * cspi/spi_hyperlink.c:
210 Doc coverage now 95%.
212 2001-16-11 Bill Haneman <bill.haneman@sun.com>
214 One last namespacing revision:
215 * libspi/accessibleeventlistener.[ch]:
216 Renamed SpiAccessibleEventListener to SpiEventListener,
217 (no need for two namespaces ;-)
219 And lots of documentation fixes:
221 * docs/at-spi-docs.sgml:
222 Fixed 'underscore vs. hyphen' bug that was preventing
223 the gtk-doc API docs from being automatically generated.
226 * cspi/spi-listener.h
228 * cspi/spi_accessible.c
230 * cspi/spi_application.c
231 * cspi/spi_component.c
232 * cspi/spi_editabletext.c
234 * cspi/spi_hypertext.c
236 * cspi/spi_registry.c
237 * cspi/spi_selection.c
241 * docs/at-spi-docs.sgml
242 * docs/at-spi-sections.txt
244 Added and fixed up gtk-doc documentation in cspi.
246 Interfaces now (fully) documented (subject to revision and enhancement):
248 Event Listener Support
250 AccessibleApplication
254 AccessibleEditableText
261 AccessibleRelationSet
266 2001-14-11 Bill Haneman <bill.haneman@sun.com>
268 * at-bridge/bridge.c:
269 Initial work for toolkit-level key snooper connection by bridge.
274 New typedefs and fixes to support new namespacing, and cleaner
275 separation of cspi bindings from libspi bonobo implementation.
276 Removed inconsistent and extraneous Spi* namespace prefix that
277 had crept into cspi headers.
278 Lots of comment fixes that sed had missed.
280 * cspi/spi-roletypes.h:
281 * cspi/spi-statetypes.h:
282 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
283 to AccessibleRoleType.
285 * libspi/accessibleeventlistener.h:
286 Fixed minor namespacing weirdness.
288 * libspi/deviceeventcontroller.c:
289 Reordered some internal API for device listeners.
290 Changed the key registry final boolean to 'is_system_global'
291 rather than 'is_synchronous', which is more descriptive of its
293 Added spi_device_event_controller_new().
294 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
296 * libspi/keystrokelistener.[ch]:
297 Namespaced KeystrokeListener to SpiKeystrokeListener.
298 Changed uses of keymasks to use SPI_ prefix, and did other
302 Namespaced keymask constants with SPI_ prefix.
305 Some warning fixes, and knock-on fixes from namespace changes.
308 Added rules for accessx-gui test program.
310 * test/accessx-gui.c:
311 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
312 utility. It doesn't actually use at-spi, but it's still cool and
315 * test/keysynth-demo.c:
319 Fixes so that these test clients work properly with the namespaced
320 libraries. (Incompletely tested for technical reasons, fixes may follow)
323 2001-13-11 Michael Meeks <michael@ximian.com>
325 * libspi/application.c
326 (impl_accessibility_application_get_version),
327 (impl_accessibility_application_get_toolkit_name):
329 (impl_accessibility_application_set_id),
330 (impl_accessibility_application_get_id): remove
331 redundant casting code.
333 * libspi/action.c (impl_getDescription): fix warnings.
335 * libspi/accessible.c
336 (impl_accessibility_accessible_get_parent),
337 (impl_accessibility_accessible_get_child_at_index),
338 (impl_accessibility_accessible_get_state),
339 (impl_accessibility_accessible_get_relation_set):
340 warning fixes & include action.h
342 2001-13-11 Michael Meeks <michael@ximian.com>
344 * *.[ch] fix bits I screwed up:
346 s/([^ \tb(\*\&\?\",])spi_/\1/g;
347 s/([^ \tb(\*\&\?\",])Spi/\1/g;
349 2001-13-11 Michael Meeks <michael@ximian.com>
351 * *.[ch] Namespace libspi into spi_ and Spi.
353 2001-13-11 Michael Meeks <michael@ximian.com>
355 * Makefile.am: dist & install at-spi-1.0.pc
357 * libspi/Makefile.am: install into at-spi-1.0
359 * idl/Makefile.am (idldir): install into at-spi-1.0
361 * at-spi-1.0.pc.in: add.
363 * configure.in: build it.
365 2001-12-11 Bill Haneman <bill.haneman@sun.com>
367 * test/keysynth-demo.c:
368 Use a 'realize' signal-handler to set the WM properties for
369 the virtual keyboard, rather than making it a "POPUP" type
370 override-redirect window (thanks to anders carlsson for that
373 2001-11-11 Bill Haneman <bill.haneman@sun.com>
376 * test/keysynth-demo.c:
377 Added new test of key synthesis, which creates a simple
378 (mouse-operated) onscreen keyboard. It inserts key events into
379 the currently-focused window, thus it does not grab keyboard focus
382 * cspi/spi_registry.c:
383 Added C binding for AT-SPI generateKeyEvent.
385 * libspi/deviceeventcontroller.c:
386 Added call to XFilterEvent so that key listener works with XIM (we
387 hope). Added event_synth_type to generateKeyEvent, so that we can
388 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
389 synthesize a press/release pair for KeySyms.
391 2001-11-09 Bill Haneman <bill.haneman@sun.com>
393 * libspi/Makefile.am:
394 * registryd/Makefile.am:
395 (temporary) hack to include libXtst in libspi and registryd.
396 (Needed for keystroke synthesis, see below).
399 Improved API for registerKeystrokeListener, in accordance with
400 discussions with Gnopernicus team and X server research.
403 * libspi/deviceeventcontroller.c:
404 * libspi/accessible.c:
405 * libspi/keystrokelistener.c:
406 Changes and fixes to support keylisteners for potentially
407 consumed key events (that is, 'passive grabs').
408 Added implementation for generateKeyEvent() [untested].
411 Changes to registerKeystrokeListener() API, as above.
412 Added deregisterGlobalEventListenerAll(), and
413 deregisterKeystrokeListener(), which are needed for clean exit of
415 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
416 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
418 * cspi/spi_registry.c:
419 Added implementations of function prototypes mentioned above.
421 * registryd/registryd.c:
422 Added the key listener event source as a g_timeout(), to allow
423 receipt of key events that are not caught by GDK (since GDK
424 doesn't support passive keygrabs, this was necessary).
427 Changed to attach a keylistener to 'Alt' keys, and
428 respond to the following keycommands: Alt-M (toggle magnifier);
429 Alt-F (toggle speech); Alt-Q (quit).
430 Added an exit routine to deregister the listeners, and a key
431 listener that prints some key info to the console when a key
432 matches the listener mask (and is thus received by the listener).
434 * util/idl/Magnifier.idl:
435 Changes to magnifier API to support multiple zoom regions,
436 non-uniform scaling in x and y, markDirty, and a host of other
437 features that would be useful to magnification.
442 * util/mag_control.c:
444 Source code changes to support the above IDL changes.
447 As above, and also changes to use a (slower) generic conversion
448 path for colormap conversions, since the fast RGB conversions have been
449 reported to fail for 16-bit displays.
451 2001-10-26 Michael Meeks <michael@ximian.com>
453 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
455 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
457 * at-bridge/Makefile.am: fix LDFLAGS.
459 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
461 * at-bridge/bridge.c:
462 Re-worked listeners for toolkit events, now we have signal
463 and property listeners. Added a private method
464 register_atk_event_listeners(), which registers with the
465 various atk and gtk signals we need to monitor in order to emit
467 Added emission hook for AtkObject:property-change events, to
468 support the 'property listeners'.
469 Fixed some alloc()s of Accessibility_Event structs to use CORBA
472 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
473 which emit warnings and exit, respectively, if CORBA errors occur
474 during remote calls, and we now use these methods to check most of
475 our CORBA calls in the C bindings.
477 * cspi/spi_accessible.c:
478 Changed AccessibleSelection_refSelectedChild() to
479 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
480 now increment refcounts.
482 * cspi/spi_component.c:
483 Fixed some long pointer casts (dangerous!) to pass pointers to
484 CORBA_longs of the proper type to the CORBA stubs, and copy the
485 data into the longs that were passed into the C bindings code.
487 * at-bridge/bridge.c:
489 * libspi/accessible.c:
490 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
491 hyperlinks, AtkHyperlink is an object type.
493 * libspi/application.c:
494 Added various conversions to and from "generic" event types and
495 atk-specific types; this is really part of the 'bridge'
496 implementation but is valid for all AtkObject-based accessibility
499 * libspi/editabletext.c:
500 Fixed nasty bug wherein editable text's finalize method was
501 unref'ing tha AtkObject reference that the text parent class was
502 about to unref _again_. There was also a nasty inheritance bug
503 that meant that the AccessibleEditableText class was corrupt.
505 * libspi/selection.c:
506 Provided implementations for some selection API that was broken.
508 * idl/Application.idl:
509 Added registerObjectEventListener () method.
512 Fixed a number of return values that were Bonobo_Unknowns from
513 bonobo_object_corba_objref(), which I
514 forgot to dup before returning. Changed instances of
515 bonobo_object_corba_objref (bonobo_object(o)) to
516 BONOBO_OBJREF(o), for concision and clarity.
518 <2001-10-13 Louise Miller <louise.miller@sun.com>
520 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
521 idl/Event.idl, idl/Registry.idl
522 Changed these files to include Bonobo_Unknown.idl instead
525 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
527 * libspi/component.c libspi/component.h:
528 Fixed typo. Added assertions for object checks in
529 AccessibleComponent code.
531 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
533 * idl/Accessible.idl:
534 Added 'isEqual (Accessible *object)'
535 method for Accessible. (Not Yet Implemented).
538 Changed signature of registerKeystrokeListener() to
539 take a KeySet and KeyEventSeq so that specific keys and event
540 types could be requested for monitoring, and added a flag
541 is_synchronous so that either synchronous or asynchronous
542 notification could be requested. (However this is not all
543 implemented yet). This also meant adding two new typedefs,
544 KeyEventSeq and KeySet.
547 Added two new relations, RELATION_TOOLTIP_FOR and
548 RELATION_LEAFNODE_OF.
551 Added new state, STATE_HAS_TOOLTIP.
553 * libspi/text.c, editabletext.c:
554 Added new assertions to all casts of bonobo-objects from
555 CORBA servants, to prevent Text API calls on non-text objects.
556 Changed suspect casts of int-pointer types, so that we
557 always send a valid CORBA_long pointer to the CORBA APIs that use
558 in/out long parameters. We then have to copy from the CORBA_long
559 into the regular long or int for return to the C bindings, or
560 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
563 * libspi/deviceeventcontroller.c:
564 Cleaned these sources up.
566 Changed return type for getCharacterAtOffset to
567 CORBA_unsigned_long, to allow for 32-bit characters.
570 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
574 Fixed 'make dist' so that distro compiles...
577 * cspi/spi-listener.c:
578 KeystrokeListenerCB now returns a boolean.
580 Added KeyEventType struct, and KeyStroke.
581 Also added createKeystrokeListener(),
582 KeystrokeListener_addCallback(),
583 KeystrokeListener_removeCallback(), and added a keymask to
584 registerKeystrokeListener().
585 * cspi/spi_accessible.c:
586 Changed numerous return types for interfaces from
587 AccessibleComponent to Accessible<InterfaceName>; this was
588 probably a cut-and-paste error.
590 Implementations of new KeystrokeListener api (from spi.h,
593 Changes to key modifier mapping.
594 Created ControllerEventMask struct.
595 Made DeviceEventController derive from Bonobo::Unknown.
597 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
598 * libspi/deviceeventcontroller.c:
599 Added a number of new internal (private) methods.
600 * libspi/editabletext.c:
601 * libspi/editabletext.h:
602 Fixed a number of bugs related to the fact that
603 editabletext inherits from text. Fixed the EditableText struct,
604 the init() call, and use correct casts when calling Text methods
605 from an EditableText object. Removed (duplicate) atko from the
606 EditableText structure, we use the one in the parent Text
607 structure via the casts mentioned above.
608 * libspi/keystrokelistener.[ch]:
610 Changes in support of keyboard handling (above).
612 Keyboard handling, though partly functional, is still not
613 recommended for at-spi client use as there is considerable
617 Changed some places where pointers to various int types
618 are cast to be pointers to CORBA_long types and vice-versa:
619 pointer casting is not safe so we pass pointers of the correct
620 types and then cast the result before putting it into the target
623 * libspi/text.h: minor typos corrected.
625 We now speak not only the name of a Text element, but the
626 first sentence of its content, when it receives focus.
627 I also changed the text compression to 75% from 50%.
628 * util/Accessibility_Util.server.in:
629 Changed the default magnifier type to be a 3x vertical
630 splitscreen magnifier (was previously a 2x horizontal one).
632 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
634 * libspi/keystrokelistener.h:
635 * libspi/keystrokelistener.c:
636 Initial functional implementations of KeystrokeListener.
639 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
641 Fixed string handling for NULL strings in libspi.
642 Added spi_freeString to free strings returned by C bindings.
644 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
646 * libspi/keystrokelistener.h:
647 * libspi/keystrokelistener.c:
648 Began (no-op) implementations of KeystrokeListener
650 * libspi/deviceeventcontroller.c:
651 * libspi/deviceeventcontroller.h:
652 Began creating implementations of DeviceEventController,
653 to handle keystroke and mouse event listening and
655 * libspi/accessible.c:
656 Stubbed-in the implementations for
657 Accessibility_Accessible_getState and
658 Accessibility_Accessible_getRelationSet.
660 Improved de-registration process and fixed some bugs,
661 deregistration now works correctly.
663 Added initialization of applications list (to NULL).
665 Reduced speech compression from 0.5 to 0.7, for demo.
666 Changed call to gdk_window_set_decorations()
667 to gtk_window_set_decorated().
668 * at-bridge/bridge.c:
669 Bridge now deregisters when app exits, via
670 registration of a cleanup function
671 with the g_atexit() call.
672 Required making 'app' static, renamed 'this_app'.
673 Fixed broken use of bonobo_init, passing argv wrongly.
675 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
679 Created a new directory for
680 accessibility-related utilities, primarily for
681 testing and demo purposes, but with possible
688 Onscreen magnifier utility that
689 is implemented as a bonobo service.
693 Client-side support (simple C bindings)
694 for Magnification service
696 * util/mag_control.c:
697 Client program example for
698 Magnification service
700 * util/Accessibility_Magnifier.server.in:
701 Bonobo-activation file for the
702 Magnification service.
705 * util/idl/Magnifier.idl:
706 IDL defining the bonobo Magnification
710 Modifications to use the bonobo-activated magnifier
711 above, in place of trying to connect to an existing
712 magnifier that uses socket-listening IPC.
714 If env variable MAGNIFIER is set, a magnifier service
715 will be started if one does not exist.
717 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
718 * at-bridge/bridge.c:
719 applied patch from Marc to build and run
720 against new glib and gtk+ (seemed like a change
721 to bonobo_init signature was made ?)
723 made festival-server support turned off by default.
724 Added support for a simple magnifier (off by default)
725 which will be added to a 'util' directory later.
726 * at-bridge/Makefile.am:
727 Changed "application.h" header from a 'source'
728 to a 'dependency' of libat-bridge.
730 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
738 Added interface implementation c files to list of
739 includes so they are included in libcspi.
742 Changed prototype of AccessibleAction_doAction to return a
744 Changed prototype of AccessibleTable_getCaption to
745 return an Accessible.
746 Changed prototype of AccessibleTable_getSelectedRows
747 and AccessibleTable_getSelectedColumns to
748 return a long (returns the number of selected rows
749 or columns respectively).
750 Changed name of AccessibleText_refRunAttributes to
751 AccessibleText_getAttributes.
752 Changed prototype of AccessibleText_getCharacterExtents to
753 return a void rather than a boolean.
754 Added support for a AccessibleCoordType parameter
755 specifying what type of coordinates are desired.
756 Added an AccessibleCordType parameter to
757 AccessibleText_getPointAtOffset.
759 * cspi/spi_accessible.c:
760 Added code to return the outstanding interfaces from
761 Accessible_queryInterface.
765 Corrected call to getNActions to call the c binding
768 * cspi/spi_editabletext.c:
770 Changed name from setRunAttributes to setAttributes.
772 * cspi/spi_hyperlink.c:
774 Changed call to getNAnchors to correctly call the c
775 binding for an attribute.
777 * cspi/spi_hypertext.c:
779 Changed getImageDescription to correctly call the
780 binding for an attribute.
782 * cspi/spi_selection.c:
783 Changed getNSelectedChildren to correctly call the c
784 binding for the attribute.
785 Changed refSelectedChild to getSelectedChild.
789 Changed getCaption to return an Accessible.
790 Fixed calls which retrieve attributes.
791 Changed refAt to getAccessibleAt.
792 Changed getNSelectedRows and getNSelectedColumns to
796 Changed getCharacterExtents and getPointAtOffset to accept an
799 Changed calls which retrieve attributes.
800 Changed refRunAttributes to getAttributes.
806 Changed n_anchors attribute to nAnchors to keep naming
807 convention consistent.
810 Made Table inherit from Bonobo::Unknown.
811 Added nSelectedColumns and nSelectedRows attributes.
814 Made Value inherit from Bonobo::Unknown.
816 * libspi/hyperlink.c:
817 Change for nAnchors attributte name change.
819 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
827 Added interface implementation c files to list of
828 includes so they are included in libcspi.
831 Changed prototype of AccessibleAction_doAction to return a
833 Changed prototype of AccessibleTable_getCaption to
834 return an Accessible.
835 Changed prototype of AccessibleTable_getSelectedRows
836 and AccessibleTable_getSelectedColumns to
837 return a long (returns the number of selected rows
838 or columns respectively).
839 Changed name of AccessibleText_refRunAttributes to
840 AccessibleText_getAttributes.
841 Changed prototype of AccessibleText_getCharacterExtents to
842 return a void rather than a boolean.
843 Added support for a AccessibleCoordType parameter
844 specifying what type of coordinates are desired.
845 Added an AccessibleCordType parameter to
846 AccessibleText_getPointAtOffset.
848 * cspi/spi_accessible.c:
849 Added code to return the outstanding interfaces from
850 Accessible_queryInterface.
854 Corrected call to getNActions to call the c binding
857 * cspi/spi_editabletext.c:
859 Changed name from setRunAttributes to setAttributes.
861 * cspi/spi_hyperlink.c:
863 Changed call to getNAnchors to correctly call the c
864 binding for an attribute.
866 * cspi/spi_hypertext.c:
868 Changed getImageDescription to correctly call the
869 binding for an attribute.
871 * cspi/spi_selection.c:
872 Changed getNSelectedChildren to correctly call the c
873 binding for the attribute.
874 Changed refSelectedChild to getSelectedChild.
878 Changed getCaption to return an Accessible.
879 Fixed calls which retrieve attributes.
880 Changed refAt to getAccessibleAt.
881 Changed getNSelectedRows and getNSelectedColumns to
885 Changed getCharacterExtents and getPointAtOffset to accept an
888 Changed calls which retrieve attributes.
889 Changed refRunAttributes to getAttributes.
895 Changed n_anchors attribute to nAnchors to keep naming
896 convention consistent.
899 Made Table inherit from Bonobo::Unknown.
900 Added nSelectedColumns and nSelectedRows attributes.
903 Made Value inherit from Bonobo::Unknown.
905 * libspi/hyperlink.c:
906 Change for nAnchors attributte name change.
909 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
911 implementations-- made server implementations own AtkObject pointers
912 rather than their respective AtkInterrface pointers to fix
913 refcounting. AtkHyperlink is still broken.
915 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
916 * cspi/spi_accessible.c:
917 Added method Accessible_Role_getName(),
918 and requisite string array (role_names).
919 Added conversion string_from_corba_strin() call
920 to Accessible_getName and _getDescription.
921 * libspi/accessible.c:
922 Added implementation for Accessible_getRole()
924 Added festival support, used if environment variable
927 2001-09-04 Bill Haneman <bill.haneman@sun.com>
929 * at-bridge/bridge.c:
930 Now allocate Accessibility_Event using
931 Accessibility_Event__alloc() instead of g_new0().
932 * libspi/accessibleeventlistener.c:
933 Initialize AccessibleEventListener->callbacks to NULL.
934 Fixed accessible__event_listener_init() param, changed to
935 "AccessibleEventListener *" type.
936 Changed a bonobo_object_release_unref() call to
937 Accessibility_Accessible_unref().
939 Changed Bonobo_Unknown_unref to (equivalent)
940 Accessibility_Accessible_unref.
942 Changed bonobo_object_release_unref to
943 Accessibility_Accessible_unref.
945 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
948 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
949 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
950 spi-util.c spi-util.h
951 Implementations for C bindings to remaining accessibility
954 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
957 changed return value of Action from void to boolean to
958 bring in line with ATK.
961 Changed getText funcions to return "out" start and end offsets.
962 Changed getAttributes to take and offset and return the start
963 and end offset of the attribute run.
964 Changed getOffsetAtPoint and getCharacterExtents to take an
965 enum describing whether coordinates are window or screen.
968 libspi/action.c libspi/action.h libspi/editabletext.c
969 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
970 libspi/hypertext.c libspi/hypertext.h libspi/image.c
971 libspi/image.h libspi/selection.c libspi/selection.h
972 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
973 libspi/value.c libspi/value.h
974 Added server implementations for outstanding ATK interfaces
977 2001-09-04 Bill Haneman <bill.haneman@sun.com>
980 Added (missing) getName() method.
981 Made nActions an attribute.
982 * idl/EditableText.idl:
983 Changed order of params in setAttributes.
985 Removed getAnchor, added getURI.
987 Changed attributes to methods, for efficiency
988 (so that getting extents can be done in one call)
990 Changed nSelectedChildren to attribute, and re-indented.
991 * idl/Table.idl: changed nrows, ncolumns, caption, summary
993 * idl/Text.idl: reformatted to match our coding style.
994 (temporarily?) removed getRowColumnAtOffset().
995 Changed text selection API to support multi-select and
996 non-contiguous selections, as in ATK.
997 * idl/Value.idl: changed some methods to attributes.
999 2001-08-24 Mark McLoughlin <mark@skynet.ie>
1001 * libspi/listener.c(impl_notify_event):
1002 BonoboUnkown_unref the source instead
1003 of bonobo_object_release_unref - the ORB
1004 handles the releasing.
1006 * configure.in: require ORBit-2.3.94 for
1009 2001-08-21 Bill Haneman <bill.haneman@sun.com>
1011 Tagged CVS repository 'EA_1_0'.
1012 * README.EARLY_ACCESS:
1013 Alphabetized acknowledgements list, and
1015 Listed some known dependencies of at-spi.
1017 2001-08-20 Bill Haneman <bill.haneman@sun.com>
1019 * docs/at-spi-docs.sgml:
1020 * docs/at-spi-sections.txt:
1021 * docs/at-spi-overrides.txt: (Added zero-length file)
1022 Documentation improvements - gtk-doc should build
1023 docs for all implemented C bindings now.
1026 * cspi/spi.c: (New file)
1027 * cspi/spi_event.c: (New file)
1028 * cspi/spi_registry.c: (New file)
1029 * cspi/spi_accessible.c: (New file)
1030 * cspi/spi_application.c: (New file)
1031 * cspi/spi_component.c: (New file)
1032 Split spi_main.c into six parts, and included them from
1033 "spi.c". This is a bit of a hack, probably temporary,
1034 but required by gtk-doc, apparently.
1036 2001-08-20 Bill Haneman <bill.haneman@sun.com>
1039 * docs/at-spi-docs.sgml:
1040 * docs/at-spi-sections.txt:
1042 Initial checkins/modifications for gtk-doc generation.
1045 Added (missing) interface query methods to Accessible's C binding.
1047 Added GenericInterface type definition.
1049 Added query for AccessibleComponent interface to focus event handler.
1050 Added printout of bounding box for focussed component.
1051 * libspi/component.c:
1052 Added partial implementation for AccessibleComponent to C binding.
1053 * idl/Application.idl:
1054 * libspi/registry.c:
1055 * libspi/listener.c:
1056 * libspi/application.c:
1057 * libspi/application.h:
1058 Changed "ID" attribute type from string to long.
1060 2001-08-19 Bill Haneman <bill.haneman@sun.com>
1064 Made method naming consistent: methods taking object args
1065 start with uppercase, other methods (except those using
1066 acronyms) start with lowercase. Underscores delimit between
1067 object names and method names:
1068 SPI_init() - uppercase since it starts with an acronym.
1069 getDesktopCount () - lowercase start since no object param0.
1070 Accessible_getName() - uppercase object type name, studlyCaps method
1074 Added gtk-doc documentation for all currently implemented
1075 methods in the C bindings API.
1077 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1079 * Makefile.am : changed build order to build test last.
1082 Changed "createEventListener" to "CreateEventListener".
1083 * libspi/accessibleeventlistener.c :
1084 Bugfix for addition of callbacks.
1085 * test/Makefile.am :
1086 * test/simple-at.c :
1087 Added new test that uses the C bindings API.
1089 * libspi/listener.c :
1090 * libspi/registry.c :
1091 * libspi/accessibleeventlistener.c :
1092 * at-bridge/bridge.c :
1093 Renamed member "target" of Accessibility_Event to "source",
1094 which is more descriptive.
1097 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1101 * cspi/Makefile.am :
1102 Added makefile support for at-spi/cspi directory.
1105 * cspi/spi-listener.h : (NEW FILE)
1106 Added support for/use of spi-listener.h.
1108 C bindings now build successfully, with no warnings.
1109 * libspi/accessibleeventlistener.h : (NEW FILE)
1110 * libspi/accessibleeventlistener.c : (NEW FILE)
1111 * libspi/Makefile.am :
1112 Added new object type "AccessibleEventListener"
1113 which inherits from Listener, and allows attachment
1114 of in-process callbacks (so that a client with a listening
1115 object instance can add functionality to the local
1116 implementation, dynamically).
1118 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1120 * libspi/accessible.c:
1121 Add implementation for get_index_in_parent().
1123 Added #include of "spi-roletypes.h", and
1124 added enumerated type AccessibleCoordType.
1125 Added definition for KeystrokeListener (function type).
1128 * cspi/spi-statetypes.h :
1129 * cspi/spi-roletypes.h :
1131 Added these headers, used by spi.h.
1133 Added code (NOTE: not yet built by make).
1135 2001-08-18 Mark McLoughlin <mark@skynet.ie>
1137 * libspi/Makefile.am: generate imodule
1138 at the same time as other idl compiler
1141 2001-08-17 Bill Haneman <bill.haneman@sun.com>
1142 * libspi/registry.c :
1143 * libspi/application.c :
1144 * idl/Application.idl :
1145 Made registration with toolkit an application method,
1146 which is required since each app has its own toolkit static
1147 environment. Thus the bridge must register for
1148 notification of toolkit events from each application in turn.
1149 Toolkit notifications are now successfully registered for, and
1150 sent to the listening at client.
1152 Changed toolkit event string to use hyphens rather than underscores.
1153 * libspi/listener.c :
1154 listner now gives more info in debug mode - it reports the
1155 name of the event received, as well as the name of the source.
1158 2001-08-16 Bill Haneman <bill.haneman@sun.com>
1160 * libspi/registry.c :
1161 added more implementation for toolkit events.
1162 Fixed bug such that toolkit event registrations
1163 (via atk) use the whole event name string, not
1165 Removed a useless call to an ORBit_ method.
1166 * at-bridge/bridge.c :
1167 Removed unused local sbuf[] variable.
1169 We now register for Gtk:GtkWidget:button_press_event
1170 events as well as "focus:" events.
1172 Add some more API from Registry.idl that was missing,
1173 for keystroke listening, keystroke and mouse event
1174 synthesis, and enumeration of accessible desktops.
1176 2001-08-16 Michael Meeks <michael@ximian.com>
1178 * configure.in: use AM_GLIB_GNU_GETTEXT.
1180 * Makefile.am (SUBDIRS): kill intl.
1182 2001-08-15 Michael Meeks <michael@ximian.com>
1184 * registryd/Makefile.am: s/oaf/server/ relocate info file.
1186 * configure.in: upd.
1188 * configure.in: depend on a recent bonobo-activation that
1189 will find our server files ...
1191 2001-08-16 Bill Haneman <bill.haneman@sun.com>
1193 * libspi/accessible.c : accessible_new() :
1194 Now we add the Component interface via bonobo_object_add_interface,
1195 if the contained AtkObject implements AtkComponent.
1196 * libspi/accessible.h : now include "component.h"
1197 * libspi/component.h :
1198 * libspi/component.c : added files - implementation of
1199 bonobo wrapper object for Accessibility/Component
1200 * libspi/listener.c :
1201 Added test code to check for Accessibility/Component:1.0
1202 interface and report whether it is implemented by the
1204 * libspi/registry.c :
1205 Now we check for not only the hash of the whole event
1206 string before relaying the event, we also check the
1207 "minor" event string (without the detail string).
1208 This allows event listeners to be registered against
1209 all events of a certain major+minor type, or just
1210 against a specific major+minor+detail type.
1211 * libspi/accessible.c :
1212 Added implementations for Accessible:get_parent(),
1213 Accessible:getChildCount(), and Accessible:getChildAtIndex().
1214 * libspi/registry.c :
1215 * libspi/listener.c :
1216 Replaced calls to Accessibility_Accessible_ref() and
1217 Accessibility_Accessible_unref() with
1218 calls to bonobo_object_dup_ref() and
1219 bonobo_object_release_unref(), so that the CORBA object
1220 is dup-ed and released when relayed, as well as the bonobo object.
1222 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1224 * libspi/Makefile.am,
1225 registryd/Makefile.am,
1226 at-bridge/Makefile.am.
1227 test/Makefile.am, configure.in:
1228 reverse previous changes.
1230 * /idl/Image.idl: fix typo.
1232 * test/Makefile.am: put DEBUG_FLAGS
1235 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1237 * test/app.c: use argv[0] instead of
1240 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1242 * libspi/Makefile.am,
1243 registryd/Makefile.am,
1244 at-bridge/Makefile.am.
1245 test/Makefile.am, configure.in:
1246 cleanup, replace individual LIBS/CFLAGS with
1247 AT_COMMON_{LIBS|CFLAGS}.
1251 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1253 * configure.in, libspi/Makefile.am:
1254 Change IDL path checking for bonobo-activation
1257 2001-08-15 Bill Haneman <bill.haneman@sun.com>
1259 * registryd/registry.c : separated event listeners to use
1260 3 separate lists (focus, window, toolkit). Began testing
1261 event names against hashes before relaying events.
1262 * test/at.c : now register for events of type "focus:"
1263 * test/app.c : now generate events of type "focus:"
1264 * at-bridge/bridge.c : register with ATK for focus events,
1265 and we now relay those focus events to any "focus:" listeners.
1266 This now works with the bridge as a GTK_MODULE when running test/at.
1267 * libspi/registry.c :
1268 * libspi/listener.c :
1269 now we ref event sources before propagating, and unref on receipt.
1270 * libspi/registry.c :
1271 some changes to internal structs, to support event typestring hashes.
1272 * text/app.c : changed the way the appname is generated.
1273 * cspi : added directory that will hold the C bindings library for
1274 non-CORBA/bonobo-savvy clients.
1275 * cspi/spi.h : header file that contains the function prototypes for the C binding.
1276 * idl/Component.idl : added in parameter to indicate coord system for
1277 geometry-related calls.
1278 * idl/Hyperlink.idl : added readonly n_links attribute
1279 * idl/Image.idl : changed methods to attributes.
1281 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1283 * at-bridge/Makefile.am: link against
1284 ../libspi/libspi.la instead of -lspi.
1286 * at-spi/test/app.c: include
1287 bonobo-activation.h. Use a default appname
1288 if one is not provided.
1290 2001-08-14 Bill Haneman <bill.haneman@sun.com>
1292 * idl/Registry.idl : temporarily changed register_Application
1293 to oneway, to work around issue with initial registration
1295 * idl/Application.idl : changed attribute "id" from readonly
1296 to read-write, since it needs to be assigned by Registry.
1297 * registryd/registryd.c : added call to set application id
1299 * registryd/registry.c : changed de-registration procedure to
1300 use CORBA_Object_hash() to find matching object ref in application
1301 lists and listener lists.
1302 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
1303 began distinguishing between event types (work in progress).
1305 2001-08-13 Bill Haneman <bill.haneman@sun.com>
1308 * libspi/application.c:
1309 Added implementations for get/set id, get_toolkitName,
1311 * registryd/registryd.c :
1315 Converted from use of OAF to bonobo-activation.
1316 * libspi/desktop.h :
1317 * libspi/desktop.c :
1319 Removed references to atksimpleobject, since base atkobject
1320 implementation now provides functionality we need.
1321 * libspi/atksimpleobject.c :
1322 * libspi/atksimpleobject.h :
1327 * at-bridge/Makefile.am
1328 * at-bridge/bridge.c
1331 Added directory "bridge" and contents, and added dependencies
1332 in Makefile.am/configure.in.
1333 Initial checkin of "at-bridge".
1334 This code is a GTK_MODULE which automatically registers
1335 GTK+ apps with the accessibility registry, using an object
1336 reference to the root ATK object.
1338 2001-08-10 Mark McLoughlin <mark@skynet.ie>
1340 * po/Makefile.in.in: Remove. Again. If this
1341 doesn't get autogenerated - you need to update
1344 2001-08-07 Mark McLoughlin <mark@skynet.ie>
1346 * po/Makefile.in.in: Add. Again.
1348 2001-07-31 Bill Haneman <bill.haneman@sun.com>
1350 * libspi/accessible.c : added support for 'description' property.
1351 * libspi/accessible.c
1353 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
1354 (since the two are now equivalent in libbonobo)
1362 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
1363 Bonobo::Unknown as does Accessibility::Accessible.
1364 * idl/StreamableContent.idl : as above, and replaced internal InputStream
1365 interface with Bonobo::Stream, since it was redundant with it.
1366 (The Stream returned by a StreamableContext object is expected to
1367 implement only a subset of Bonobo::Stream)
1369 2001-07-28 Anders Carlsson <andersca@gnome.org>
1371 * libspi/accessible.c (accessible_object_finalize): Change
1372 g_free to g_object_unref since the AtkObject is a GObject.
1374 2001-07-30 Bill Haneman <bill.haneman@sun.com>
1376 * idl/Accessibility.idl: add new IDL files
1379 * idl/Action.idl: Definitions of actionable UI object
1380 * idl/Component.idl: Definitions of UI component geometry, etc.
1381 * idl/Hyperlink.idl: Defs of hyperlink behavior
1382 * idl/Image.idl: Def of accessible image
1383 * idl/Selection.idl: Definition of UI object with selectable children
1384 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
1385 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
1386 * idl/Text.idl: Interface defs for UI elements with complex textual content
1387 * idl/Value.idl: Definition of UI element that is a value controller or display
1389 2001-07-27 Michael Meeks <michael@ximian.com>
1391 * po/Makefile.in.in: remove autogenerated file from CVS.
1393 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
1396 * idl/Registry.idl: include guard.
1398 * idl/Accessibility.idl: Add, and include all the other IDL
1401 * idl/*.idl: remove mass of pragmas etc.
1403 2001-07-26 Michael Meeks <michael@ximian.com>
1405 * registryd/Makefile.am (registryd_SOURCES): remove
1408 2001-07-27 Mark McLoughlin <mark@skynet.ie>
1410 * libspi/.cvsignore, registryd/.cvsignore,
1411 test/.cvsignore: updated.
1413 * po/Makefile.in.in: gettext update.
1415 2001-07-25 Bill Haneman <bill.haneman@sun.com>
1417 * initial CVS checkin
1419 2001-06-29 Michael Meeks <michael@ximian.com>
1421 * configure.in: add AM_CONFIG_HEADER to gen config.h