1 2001-11-20 Michael Meeks <michael@ximian.com>
3 * libspi/*.[ch]: fixup headers, includes and over commenting.
5 * libspi/image.c (impl__get_imageDescription): const
6 correctness warning fix. remove redundant casting.
8 * libspi/table.c (impl_getRowDescription): ditto.
9 (impl_getColumnDescription): ditto.
11 * libspi/libspi.h: add.
13 2001-11-19 Michael Meeks <michael@ximian.com>
15 * libspi/editabletext.c (impl_setAttributes): fix warnings.
17 * libspi/component.c (accessibility_component_get_type):
18 rename to (spi_component_get_type): and macroify.
19 (accessibility_component_init): rename to
20 (spi_component_init): this
21 (accessibility_component_class_init): rename to
22 (spi_component_class_init): this
24 * libspi/action.c (spi_action_get_type): kill, use the macro.
26 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
29 * libspi/application.c (spi_application_object_event_listener),
30 (impl_accessibility_application_register_object_event_listener):
31 warning fixes / const understanding updates.
33 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
36 2001-18-11 Bill Haneman <bill.haneman@sun.com>
38 * libspi/spi_accessible.c: Added docs and C bindings for
39 AccessibleStateSet. (No implementations yet). Documentation
40 coverage for C bindings now 100%. Made docs for event listeners
45 boolean notifyListenersSync (in DeviceEventListener listener,
46 in DeviceEvent event);
48 oneway void notifyListenersAsync (in DeviceEventListener listener,
49 in DeviceEvent event);
51 Added DeviceEventListener and DeviceEvent structs (may deprecate
52 KeyStroke and KeystrokeListener in favor of this generic
53 event/listener framework for devices).
55 * libspi/deviceeventcontroller.c:
57 Changed some key listener code to take masks, etc., and paved the
58 way for integration of toolkit/non-preemptive key events. Changed
59 signatures of some internal methods.
62 Fixed regression connecting to interface signals, apparently
63 caused by GTK+ changes.
65 Added an internal bridge_state_listener to deal with
66 property-change:accessible-state signals.
68 Changed the key_listeners GList to store structs (including masks,
69 etc.) instead of just CORBA_Objects (required for full
70 implementation of key listener API).
72 Connected the bridge to all currently supported Atk signals.
74 object:property-change
75 object:property-change:accessible-name
76 object:property-change:accessible-state
77 object:property-change:accessible-description
78 object:property-change:accessible-parent
79 object:property-change:accessible-value
80 object:property-change:accessible-role
81 object:property-change:accessible-table-caption
82 object:property-change:accessible-table-column-description
83 object:property-change:accessible-table-column-header
84 object:property-change:accessible-table-row-description
85 object:property-change:accessible-table-row-header
86 object:property-change:accessible-table-summary
87 object:children-changed
88 object:visible-data-changed
89 object:selection-changed
90 object:text-selection-changed
92 object:text-caret-moved
96 object:column-inserted
97 object:column-reordered
101 2001-16-11 Bill Haneman <bill.haneman@sun.com>
103 * libspi/hyperlink.c,h:
104 Fixed some broken stuff in hyperlink.
108 * cspi/spi_accessible.c:
109 Initial implementations of AccessibleRelation methods, and docs.
111 * libspi/accessible.c:
112 Fixed a bug that caused SEGV if an accessible
113 object's description is NULL, and a client
114 requests it. An empty string is now returned.
116 * cspi/spi_editabletext.c:
117 * cspi/spi_hypertext.c:
119 * cspi/spi_hyperlink.c:
123 Doc coverage now 95%.
125 2001-16-11 Bill Haneman <bill.haneman@sun.com>
127 One last namespacing revision:
128 * libspi/accessibleeventlistener.[ch]:
129 Renamed SpiAccessibleEventListener to SpiEventListener,
130 (no need for two namespaces ;-)
132 And lots of documentation fixes:
134 * docs/at-spi-docs.sgml:
135 Fixed 'underscore vs. hyphen' bug that was preventing
136 the gtk-doc API docs from being automatically generated.
139 * cspi/spi-listener.h
141 * cspi/spi_accessible.c
143 * cspi/spi_application.c
144 * cspi/spi_component.c
145 * cspi/spi_editabletext.c
147 * cspi/spi_hypertext.c
149 * cspi/spi_registry.c
150 * cspi/spi_selection.c
154 * docs/at-spi-docs.sgml
155 * docs/at-spi-sections.txt
157 Added and fixed up gtk-doc documentation in cspi.
159 Interfaces now (fully) documented (subject to revision and enhancement):
161 Event Listener Support
163 AccessibleApplication
167 AccessibleEditableText
174 AccessibleRelationSet
179 2001-14-11 Bill Haneman <bill.haneman@sun.com>
181 * at-bridge/bridge.c:
182 Initial work for toolkit-level key snooper connection by bridge.
187 New typedefs and fixes to support new namespacing, and cleaner
188 separation of cspi bindings from libspi bonobo implementation.
189 Removed inconsistent and extraneous Spi* namespace prefix that
190 had crept into cspi headers.
191 Lots of comment fixes that sed had missed.
193 * cspi/spi-roletypes.h:
194 * cspi/spi-statetypes.h:
195 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
196 to AccessibleRoleType.
198 * libspi/accessibleeventlistener.h:
199 Fixed minor namespacing weirdness.
201 * libspi/deviceeventcontroller.c:
202 Reordered some internal API for device listeners.
203 Changed the key registry final boolean to 'is_system_global'
204 rather than 'is_synchronous', which is more descriptive of its
206 Added spi_device_event_controller_new().
207 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
209 * libspi/keystrokelistener.[ch]:
210 Namespaced KeystrokeListener to SpiKeystrokeListener.
211 Changed uses of keymasks to use SPI_ prefix, and did other
215 Namespaced keymask constants with SPI_ prefix.
218 Some warning fixes, and knock-on fixes from namespace changes.
221 Added rules for accessx-gui test program.
223 * test/accessx-gui.c:
224 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
225 utility. It doesn't actually use at-spi, but it's still cool and
228 * test/keysynth-demo.c:
232 Fixes so that these test clients work properly with the namespaced
233 libraries. (Incompletely tested for technical reasons, fixes may follow)
236 2001-13-11 Michael Meeks <michael@ximian.com>
238 * libspi/application.c
239 (impl_accessibility_application_get_version),
240 (impl_accessibility_application_get_toolkit_name):
242 (impl_accessibility_application_set_id),
243 (impl_accessibility_application_get_id): remove
244 redundant casting code.
246 * libspi/action.c (impl_getDescription): fix warnings.
248 * libspi/accessible.c
249 (impl_accessibility_accessible_get_parent),
250 (impl_accessibility_accessible_get_child_at_index),
251 (impl_accessibility_accessible_get_state),
252 (impl_accessibility_accessible_get_relation_set):
253 warning fixes & include action.h
255 2001-13-11 Michael Meeks <michael@ximian.com>
257 * *.[ch] fix bits I screwed up:
259 s/([^ \tb(\*\&\?\",])spi_/\1/g;
260 s/([^ \tb(\*\&\?\",])Spi/\1/g;
262 2001-13-11 Michael Meeks <michael@ximian.com>
264 * *.[ch] Namespace libspi into spi_ and Spi.
266 2001-13-11 Michael Meeks <michael@ximian.com>
268 * Makefile.am: dist & install at-spi-1.0.pc
270 * libspi/Makefile.am: install into at-spi-1.0
272 * idl/Makefile.am (idldir): install into at-spi-1.0
274 * at-spi-1.0.pc.in: add.
276 * configure.in: build it.
278 2001-12-11 Bill Haneman <bill.haneman@sun.com>
280 * test/keysynth-demo.c:
281 Use a 'realize' signal-handler to set the WM properties for
282 the virtual keyboard, rather than making it a "POPUP" type
283 override-redirect window (thanks to anders carlsson for that
286 2001-11-11 Bill Haneman <bill.haneman@sun.com>
289 * test/keysynth-demo.c:
290 Added new test of key synthesis, which creates a simple
291 (mouse-operated) onscreen keyboard. It inserts key events into
292 the currently-focused window, thus it does not grab keyboard focus
295 * cspi/spi_registry.c:
296 Added C binding for AT-SPI generateKeyEvent.
298 * libspi/deviceeventcontroller.c:
299 Added call to XFilterEvent so that key listener works with XIM (we
300 hope). Added event_synth_type to generateKeyEvent, so that we can
301 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
302 synthesize a press/release pair for KeySyms.
304 2001-11-09 Bill Haneman <bill.haneman@sun.com>
306 * libspi/Makefile.am:
307 * registryd/Makefile.am:
308 (temporary) hack to include libXtst in libspi and registryd.
309 (Needed for keystroke synthesis, see below).
312 Improved API for registerKeystrokeListener, in accordance with
313 discussions with Gnopernicus team and X server research.
316 * libspi/deviceeventcontroller.c:
317 * libspi/accessible.c:
318 * libspi/keystrokelistener.c:
319 Changes and fixes to support keylisteners for potentially
320 consumed key events (that is, 'passive grabs').
321 Added implementation for generateKeyEvent() [untested].
324 Changes to registerKeystrokeListener() API, as above.
325 Added deregisterGlobalEventListenerAll(), and
326 deregisterKeystrokeListener(), which are needed for clean exit of
328 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
329 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
331 * cspi/spi_registry.c:
332 Added implementations of function prototypes mentioned above.
334 * registryd/registryd.c:
335 Added the key listener event source as a g_timeout(), to allow
336 receipt of key events that are not caught by GDK (since GDK
337 doesn't support passive keygrabs, this was necessary).
340 Changed to attach a keylistener to 'Alt' keys, and
341 respond to the following keycommands: Alt-M (toggle magnifier);
342 Alt-F (toggle speech); Alt-Q (quit).
343 Added an exit routine to deregister the listeners, and a key
344 listener that prints some key info to the console when a key
345 matches the listener mask (and is thus received by the listener).
347 * util/idl/Magnifier.idl:
348 Changes to magnifier API to support multiple zoom regions,
349 non-uniform scaling in x and y, markDirty, and a host of other
350 features that would be useful to magnification.
355 * util/mag_control.c:
357 Source code changes to support the above IDL changes.
360 As above, and also changes to use a (slower) generic conversion
361 path for colormap conversions, since the fast RGB conversions have been
362 reported to fail for 16-bit displays.
364 2001-10-26 Michael Meeks <michael@ximian.com>
366 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
368 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
370 * at-bridge/Makefile.am: fix LDFLAGS.
372 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
374 * at-bridge/bridge.c:
375 Re-worked listeners for toolkit events, now we have signal
376 and property listeners. Added a private method
377 register_atk_event_listeners(), which registers with the
378 various atk and gtk signals we need to monitor in order to emit
380 Added emission hook for AtkObject:property-change events, to
381 support the 'property listeners'.
382 Fixed some alloc()s of Accessibility_Event structs to use CORBA
385 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
386 which emit warnings and exit, respectively, if CORBA errors occur
387 during remote calls, and we now use these methods to check most of
388 our CORBA calls in the C bindings.
390 * cspi/spi_accessible.c:
391 Changed AccessibleSelection_refSelectedChild() to
392 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
393 now increment refcounts.
395 * cspi/spi_component.c:
396 Fixed some long pointer casts (dangerous!) to pass pointers to
397 CORBA_longs of the proper type to the CORBA stubs, and copy the
398 data into the longs that were passed into the C bindings code.
400 * at-bridge/bridge.c:
402 * libspi/accessible.c:
403 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
404 hyperlinks, AtkHyperlink is an object type.
406 * libspi/application.c:
407 Added various conversions to and from "generic" event types and
408 atk-specific types; this is really part of the 'bridge'
409 implementation but is valid for all AtkObject-based accessibility
412 * libspi/editabletext.c:
413 Fixed nasty bug wherein editable text's finalize method was
414 unref'ing tha AtkObject reference that the text parent class was
415 about to unref _again_. There was also a nasty inheritance bug
416 that meant that the AccessibleEditableText class was corrupt.
418 * libspi/selection.c:
419 Provided implementations for some selection API that was broken.
421 * idl/Application.idl:
422 Added registerObjectEventListener () method.
425 Fixed a number of return values that were Bonobo_Unknowns from
426 bonobo_object_corba_objref(), which I
427 forgot to dup before returning. Changed instances of
428 bonobo_object_corba_objref (bonobo_object(o)) to
429 BONOBO_OBJREF(o), for concision and clarity.
431 <2001-10-13 Louise Miller <louise.miller@sun.com>
433 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
434 idl/Event.idl, idl/Registry.idl
435 Changed these files to include Bonobo_Unknown.idl instead
438 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
440 * libspi/component.c libspi/component.h:
441 Fixed typo. Added assertions for object checks in
442 AccessibleComponent code.
444 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
446 * idl/Accessible.idl:
447 Added 'isEqual (Accessible *object)'
448 method for Accessible. (Not Yet Implemented).
451 Changed signature of registerKeystrokeListener() to
452 take a KeySet and KeyEventSeq so that specific keys and event
453 types could be requested for monitoring, and added a flag
454 is_synchronous so that either synchronous or asynchronous
455 notification could be requested. (However this is not all
456 implemented yet). This also meant adding two new typedefs,
457 KeyEventSeq and KeySet.
460 Added two new relations, RELATION_TOOLTIP_FOR and
461 RELATION_LEAFNODE_OF.
464 Added new state, STATE_HAS_TOOLTIP.
466 * libspi/text.c, editabletext.c:
467 Added new assertions to all casts of bonobo-objects from
468 CORBA servants, to prevent Text API calls on non-text objects.
469 Changed suspect casts of int-pointer types, so that we
470 always send a valid CORBA_long pointer to the CORBA APIs that use
471 in/out long parameters. We then have to copy from the CORBA_long
472 into the regular long or int for return to the C bindings, or
473 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
476 * libspi/deviceeventcontroller.c:
477 Cleaned these sources up.
479 Changed return type for getCharacterAtOffset to
480 CORBA_unsigned_long, to allow for 32-bit characters.
483 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
487 Fixed 'make dist' so that distro compiles...
490 * cspi/spi-listener.c:
491 KeystrokeListenerCB now returns a boolean.
493 Added KeyEventType struct, and KeyStroke.
494 Also added createKeystrokeListener(),
495 KeystrokeListener_addCallback(),
496 KeystrokeListener_removeCallback(), and added a keymask to
497 registerKeystrokeListener().
498 * cspi/spi_accessible.c:
499 Changed numerous return types for interfaces from
500 AccessibleComponent to Accessible<InterfaceName>; this was
501 probably a cut-and-paste error.
503 Implementations of new KeystrokeListener api (from spi.h,
506 Changes to key modifier mapping.
507 Created ControllerEventMask struct.
508 Made DeviceEventController derive from Bonobo::Unknown.
510 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
511 * libspi/deviceeventcontroller.c:
512 Added a number of new internal (private) methods.
513 * libspi/editabletext.c:
514 * libspi/editabletext.h:
515 Fixed a number of bugs related to the fact that
516 editabletext inherits from text. Fixed the EditableText struct,
517 the init() call, and use correct casts when calling Text methods
518 from an EditableText object. Removed (duplicate) atko from the
519 EditableText structure, we use the one in the parent Text
520 structure via the casts mentioned above.
521 * libspi/keystrokelistener.[ch]:
523 Changes in support of keyboard handling (above).
525 Keyboard handling, though partly functional, is still not
526 recommended for at-spi client use as there is considerable
530 Changed some places where pointers to various int types
531 are cast to be pointers to CORBA_long types and vice-versa:
532 pointer casting is not safe so we pass pointers of the correct
533 types and then cast the result before putting it into the target
536 * libspi/text.h: minor typos corrected.
538 We now speak not only the name of a Text element, but the
539 first sentence of its content, when it receives focus.
540 I also changed the text compression to 75% from 50%.
541 * util/Accessibility_Util.server.in:
542 Changed the default magnifier type to be a 3x vertical
543 splitscreen magnifier (was previously a 2x horizontal one).
545 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
547 * libspi/keystrokelistener.h:
548 * libspi/keystrokelistener.c:
549 Initial functional implementations of KeystrokeListener.
552 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
554 Fixed string handling for NULL strings in libspi.
555 Added spi_freeString to free strings returned by C bindings.
557 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
559 * libspi/keystrokelistener.h:
560 * libspi/keystrokelistener.c:
561 Began (no-op) implementations of KeystrokeListener
563 * libspi/deviceeventcontroller.c:
564 * libspi/deviceeventcontroller.h:
565 Began creating implementations of DeviceEventController,
566 to handle keystroke and mouse event listening and
568 * libspi/accessible.c:
569 Stubbed-in the implementations for
570 Accessibility_Accessible_getState and
571 Accessibility_Accessible_getRelationSet.
573 Improved de-registration process and fixed some bugs,
574 deregistration now works correctly.
576 Added initialization of applications list (to NULL).
578 Reduced speech compression from 0.5 to 0.7, for demo.
579 Changed call to gdk_window_set_decorations()
580 to gtk_window_set_decorated().
581 * at-bridge/bridge.c:
582 Bridge now deregisters when app exits, via
583 registration of a cleanup function
584 with the g_atexit() call.
585 Required making 'app' static, renamed 'this_app'.
586 Fixed broken use of bonobo_init, passing argv wrongly.
588 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
592 Created a new directory for
593 accessibility-related utilities, primarily for
594 testing and demo purposes, but with possible
601 Onscreen magnifier utility that
602 is implemented as a bonobo service.
606 Client-side support (simple C bindings)
607 for Magnification service
609 * util/mag_control.c:
610 Client program example for
611 Magnification service
613 * util/Accessibility_Magnifier.server.in:
614 Bonobo-activation file for the
615 Magnification service.
618 * util/idl/Magnifier.idl:
619 IDL defining the bonobo Magnification
623 Modifications to use the bonobo-activated magnifier
624 above, in place of trying to connect to an existing
625 magnifier that uses socket-listening IPC.
627 If env variable MAGNIFIER is set, a magnifier service
628 will be started if one does not exist.
630 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
631 * at-bridge/bridge.c:
632 applied patch from Marc to build and run
633 against new glib and gtk+ (seemed like a change
634 to bonobo_init signature was made ?)
636 made festival-server support turned off by default.
637 Added support for a simple magnifier (off by default)
638 which will be added to a 'util' directory later.
639 * at-bridge/Makefile.am:
640 Changed "application.h" header from a 'source'
641 to a 'dependency' of libat-bridge.
643 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
651 Added interface implementation c files to list of
652 includes so they are included in libcspi.
655 Changed prototype of AccessibleAction_doAction to return a
657 Changed prototype of AccessibleTable_getCaption to
658 return an Accessible.
659 Changed prototype of AccessibleTable_getSelectedRows
660 and AccessibleTable_getSelectedColumns to
661 return a long (returns the number of selected rows
662 or columns respectively).
663 Changed name of AccessibleText_refRunAttributes to
664 AccessibleText_getAttributes.
665 Changed prototype of AccessibleText_getCharacterExtents to
666 return a void rather than a boolean.
667 Added support for a AccessibleCoordType parameter
668 specifying what type of coordinates are desired.
669 Added an AccessibleCordType parameter to
670 AccessibleText_getPointAtOffset.
672 * cspi/spi_accessible.c:
673 Added code to return the outstanding interfaces from
674 Accessible_queryInterface.
678 Corrected call to getNActions to call the c binding
681 * cspi/spi_editabletext.c:
683 Changed name from setRunAttributes to setAttributes.
685 * cspi/spi_hyperlink.c:
687 Changed call to getNAnchors to correctly call the c
688 binding for an attribute.
690 * cspi/spi_hypertext.c:
692 Changed getImageDescription to correctly call the
693 binding for an attribute.
695 * cspi/spi_selection.c:
696 Changed getNSelectedChildren to correctly call the c
697 binding for the attribute.
698 Changed refSelectedChild to getSelectedChild.
702 Changed getCaption to return an Accessible.
703 Fixed calls which retrieve attributes.
704 Changed refAt to getAccessibleAt.
705 Changed getNSelectedRows and getNSelectedColumns to
709 Changed getCharacterExtents and getPointAtOffset to accept an
712 Changed calls which retrieve attributes.
713 Changed refRunAttributes to getAttributes.
719 Changed n_anchors attribute to nAnchors to keep naming
720 convention consistent.
723 Made Table inherit from Bonobo::Unknown.
724 Added nSelectedColumns and nSelectedRows attributes.
727 Made Value inherit from Bonobo::Unknown.
729 * libspi/hyperlink.c:
730 Change for nAnchors attributte name change.
732 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
740 Added interface implementation c files to list of
741 includes so they are included in libcspi.
744 Changed prototype of AccessibleAction_doAction to return a
746 Changed prototype of AccessibleTable_getCaption to
747 return an Accessible.
748 Changed prototype of AccessibleTable_getSelectedRows
749 and AccessibleTable_getSelectedColumns to
750 return a long (returns the number of selected rows
751 or columns respectively).
752 Changed name of AccessibleText_refRunAttributes to
753 AccessibleText_getAttributes.
754 Changed prototype of AccessibleText_getCharacterExtents to
755 return a void rather than a boolean.
756 Added support for a AccessibleCoordType parameter
757 specifying what type of coordinates are desired.
758 Added an AccessibleCordType parameter to
759 AccessibleText_getPointAtOffset.
761 * cspi/spi_accessible.c:
762 Added code to return the outstanding interfaces from
763 Accessible_queryInterface.
767 Corrected call to getNActions to call the c binding
770 * cspi/spi_editabletext.c:
772 Changed name from setRunAttributes to setAttributes.
774 * cspi/spi_hyperlink.c:
776 Changed call to getNAnchors to correctly call the c
777 binding for an attribute.
779 * cspi/spi_hypertext.c:
781 Changed getImageDescription to correctly call the
782 binding for an attribute.
784 * cspi/spi_selection.c:
785 Changed getNSelectedChildren to correctly call the c
786 binding for the attribute.
787 Changed refSelectedChild to getSelectedChild.
791 Changed getCaption to return an Accessible.
792 Fixed calls which retrieve attributes.
793 Changed refAt to getAccessibleAt.
794 Changed getNSelectedRows and getNSelectedColumns to
798 Changed getCharacterExtents and getPointAtOffset to accept an
801 Changed calls which retrieve attributes.
802 Changed refRunAttributes to getAttributes.
808 Changed n_anchors attribute to nAnchors to keep naming
809 convention consistent.
812 Made Table inherit from Bonobo::Unknown.
813 Added nSelectedColumns and nSelectedRows attributes.
816 Made Value inherit from Bonobo::Unknown.
818 * libspi/hyperlink.c:
819 Change for nAnchors attributte name change.
822 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
824 implementations-- made server implementations own AtkObject pointers
825 rather than their respective AtkInterrface pointers to fix
826 refcounting. AtkHyperlink is still broken.
828 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
829 * cspi/spi_accessible.c:
830 Added method Accessible_Role_getName(),
831 and requisite string array (role_names).
832 Added conversion string_from_corba_strin() call
833 to Accessible_getName and _getDescription.
834 * libspi/accessible.c:
835 Added implementation for Accessible_getRole()
837 Added festival support, used if environment variable
840 2001-09-04 Bill Haneman <bill.haneman@sun.com>
842 * at-bridge/bridge.c:
843 Now allocate Accessibility_Event using
844 Accessibility_Event__alloc() instead of g_new0().
845 * libspi/accessibleeventlistener.c:
846 Initialize AccessibleEventListener->callbacks to NULL.
847 Fixed accessible__event_listener_init() param, changed to
848 "AccessibleEventListener *" type.
849 Changed a bonobo_object_release_unref() call to
850 Accessibility_Accessible_unref().
852 Changed Bonobo_Unknown_unref to (equivalent)
853 Accessibility_Accessible_unref.
855 Changed bonobo_object_release_unref to
856 Accessibility_Accessible_unref.
858 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
861 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
862 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
863 spi-util.c spi-util.h
864 Implementations for C bindings to remaining accessibility
867 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
870 changed return value of Action from void to boolean to
871 bring in line with ATK.
874 Changed getText funcions to return "out" start and end offsets.
875 Changed getAttributes to take and offset and return the start
876 and end offset of the attribute run.
877 Changed getOffsetAtPoint and getCharacterExtents to take an
878 enum describing whether coordinates are window or screen.
881 libspi/action.c libspi/action.h libspi/editabletext.c
882 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
883 libspi/hypertext.c libspi/hypertext.h libspi/image.c
884 libspi/image.h libspi/selection.c libspi/selection.h
885 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
886 libspi/value.c libspi/value.h
887 Added server implementations for outstanding ATK interfaces
890 2001-09-04 Bill Haneman <bill.haneman@sun.com>
893 Added (missing) getName() method.
894 Made nActions an attribute.
895 * idl/EditableText.idl:
896 Changed order of params in setAttributes.
898 Removed getAnchor, added getURI.
900 Changed attributes to methods, for efficiency
901 (so that getting extents can be done in one call)
903 Changed nSelectedChildren to attribute, and re-indented.
904 * idl/Table.idl: changed nrows, ncolumns, caption, summary
906 * idl/Text.idl: reformatted to match our coding style.
907 (temporarily?) removed getRowColumnAtOffset().
908 Changed text selection API to support multi-select and
909 non-contiguous selections, as in ATK.
910 * idl/Value.idl: changed some methods to attributes.
912 2001-08-24 Mark McLoughlin <mark@skynet.ie>
914 * libspi/listener.c(impl_notify_event):
915 BonoboUnkown_unref the source instead
916 of bonobo_object_release_unref - the ORB
917 handles the releasing.
919 * configure.in: require ORBit-2.3.94 for
922 2001-08-21 Bill Haneman <bill.haneman@sun.com>
924 Tagged CVS repository 'EA_1_0'.
925 * README.EARLY_ACCESS:
926 Alphabetized acknowledgements list, and
928 Listed some known dependencies of at-spi.
930 2001-08-20 Bill Haneman <bill.haneman@sun.com>
932 * docs/at-spi-docs.sgml:
933 * docs/at-spi-sections.txt:
934 * docs/at-spi-overrides.txt: (Added zero-length file)
935 Documentation improvements - gtk-doc should build
936 docs for all implemented C bindings now.
939 * cspi/spi.c: (New file)
940 * cspi/spi_event.c: (New file)
941 * cspi/spi_registry.c: (New file)
942 * cspi/spi_accessible.c: (New file)
943 * cspi/spi_application.c: (New file)
944 * cspi/spi_component.c: (New file)
945 Split spi_main.c into six parts, and included them from
946 "spi.c". This is a bit of a hack, probably temporary,
947 but required by gtk-doc, apparently.
949 2001-08-20 Bill Haneman <bill.haneman@sun.com>
952 * docs/at-spi-docs.sgml:
953 * docs/at-spi-sections.txt:
955 Initial checkins/modifications for gtk-doc generation.
958 Added (missing) interface query methods to Accessible's C binding.
960 Added GenericInterface type definition.
962 Added query for AccessibleComponent interface to focus event handler.
963 Added printout of bounding box for focussed component.
964 * libspi/component.c:
965 Added partial implementation for AccessibleComponent to C binding.
966 * idl/Application.idl:
969 * libspi/application.c:
970 * libspi/application.h:
971 Changed "ID" attribute type from string to long.
973 2001-08-19 Bill Haneman <bill.haneman@sun.com>
977 Made method naming consistent: methods taking object args
978 start with uppercase, other methods (except those using
979 acronyms) start with lowercase. Underscores delimit between
980 object names and method names:
981 SPI_init() - uppercase since it starts with an acronym.
982 getDesktopCount () - lowercase start since no object param0.
983 Accessible_getName() - uppercase object type name, studlyCaps method
987 Added gtk-doc documentation for all currently implemented
988 methods in the C bindings API.
990 2001-08-18 Bill Haneman <bill.haneman@sun.com>
992 * Makefile.am : changed build order to build test last.
995 Changed "createEventListener" to "CreateEventListener".
996 * libspi/accessibleeventlistener.c :
997 Bugfix for addition of callbacks.
1000 Added new test that uses the C bindings API.
1002 * libspi/listener.c :
1003 * libspi/registry.c :
1004 * libspi/accessibleeventlistener.c :
1005 * at-bridge/bridge.c :
1006 Renamed member "target" of Accessibility_Event to "source",
1007 which is more descriptive.
1010 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1014 * cspi/Makefile.am :
1015 Added makefile support for at-spi/cspi directory.
1018 * cspi/spi-listener.h : (NEW FILE)
1019 Added support for/use of spi-listener.h.
1021 C bindings now build successfully, with no warnings.
1022 * libspi/accessibleeventlistener.h : (NEW FILE)
1023 * libspi/accessibleeventlistener.c : (NEW FILE)
1024 * libspi/Makefile.am :
1025 Added new object type "AccessibleEventListener"
1026 which inherits from Listener, and allows attachment
1027 of in-process callbacks (so that a client with a listening
1028 object instance can add functionality to the local
1029 implementation, dynamically).
1031 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1033 * libspi/accessible.c:
1034 Add implementation for get_index_in_parent().
1036 Added #include of "spi-roletypes.h", and
1037 added enumerated type AccessibleCoordType.
1038 Added definition for KeystrokeListener (function type).
1041 * cspi/spi-statetypes.h :
1042 * cspi/spi-roletypes.h :
1044 Added these headers, used by spi.h.
1046 Added code (NOTE: not yet built by make).
1048 2001-08-18 Mark McLoughlin <mark@skynet.ie>
1050 * libspi/Makefile.am: generate imodule
1051 at the same time as other idl compiler
1054 2001-08-17 Bill Haneman <bill.haneman@sun.com>
1055 * libspi/registry.c :
1056 * libspi/application.c :
1057 * idl/Application.idl :
1058 Made registration with toolkit an application method,
1059 which is required since each app has its own toolkit static
1060 environment. Thus the bridge must register for
1061 notification of toolkit events from each application in turn.
1062 Toolkit notifications are now successfully registered for, and
1063 sent to the listening at client.
1065 Changed toolkit event string to use hyphens rather than underscores.
1066 * libspi/listener.c :
1067 listner now gives more info in debug mode - it reports the
1068 name of the event received, as well as the name of the source.
1071 2001-08-16 Bill Haneman <bill.haneman@sun.com>
1073 * libspi/registry.c :
1074 added more implementation for toolkit events.
1075 Fixed bug such that toolkit event registrations
1076 (via atk) use the whole event name string, not
1078 Removed a useless call to an ORBit_ method.
1079 * at-bridge/bridge.c :
1080 Removed unused local sbuf[] variable.
1082 We now register for Gtk:GtkWidget:button_press_event
1083 events as well as "focus:" events.
1085 Add some more API from Registry.idl that was missing,
1086 for keystroke listening, keystroke and mouse event
1087 synthesis, and enumeration of accessible desktops.
1089 2001-08-16 Michael Meeks <michael@ximian.com>
1091 * configure.in: use AM_GLIB_GNU_GETTEXT.
1093 * Makefile.am (SUBDIRS): kill intl.
1095 2001-08-15 Michael Meeks <michael@ximian.com>
1097 * registryd/Makefile.am: s/oaf/server/ relocate info file.
1099 * configure.in: upd.
1101 * configure.in: depend on a recent bonobo-activation that
1102 will find our server files ...
1104 2001-08-16 Bill Haneman <bill.haneman@sun.com>
1106 * libspi/accessible.c : accessible_new() :
1107 Now we add the Component interface via bonobo_object_add_interface,
1108 if the contained AtkObject implements AtkComponent.
1109 * libspi/accessible.h : now include "component.h"
1110 * libspi/component.h :
1111 * libspi/component.c : added files - implementation of
1112 bonobo wrapper object for Accessibility/Component
1113 * libspi/listener.c :
1114 Added test code to check for Accessibility/Component:1.0
1115 interface and report whether it is implemented by the
1117 * libspi/registry.c :
1118 Now we check for not only the hash of the whole event
1119 string before relaying the event, we also check the
1120 "minor" event string (without the detail string).
1121 This allows event listeners to be registered against
1122 all events of a certain major+minor type, or just
1123 against a specific major+minor+detail type.
1124 * libspi/accessible.c :
1125 Added implementations for Accessible:get_parent(),
1126 Accessible:getChildCount(), and Accessible:getChildAtIndex().
1127 * libspi/registry.c :
1128 * libspi/listener.c :
1129 Replaced calls to Accessibility_Accessible_ref() and
1130 Accessibility_Accessible_unref() with
1131 calls to bonobo_object_dup_ref() and
1132 bonobo_object_release_unref(), so that the CORBA object
1133 is dup-ed and released when relayed, as well as the bonobo object.
1135 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1137 * libspi/Makefile.am,
1138 registryd/Makefile.am,
1139 at-bridge/Makefile.am.
1140 test/Makefile.am, configure.in:
1141 reverse previous changes.
1143 * /idl/Image.idl: fix typo.
1145 * test/Makefile.am: put DEBUG_FLAGS
1148 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1150 * test/app.c: use argv[0] instead of
1153 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1155 * libspi/Makefile.am,
1156 registryd/Makefile.am,
1157 at-bridge/Makefile.am.
1158 test/Makefile.am, configure.in:
1159 cleanup, replace individual LIBS/CFLAGS with
1160 AT_COMMON_{LIBS|CFLAGS}.
1164 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1166 * configure.in, libspi/Makefile.am:
1167 Change IDL path checking for bonobo-activation
1170 2001-08-15 Bill Haneman <bill.haneman@sun.com>
1172 * registryd/registry.c : separated event listeners to use
1173 3 separate lists (focus, window, toolkit). Began testing
1174 event names against hashes before relaying events.
1175 * test/at.c : now register for events of type "focus:"
1176 * test/app.c : now generate events of type "focus:"
1177 * at-bridge/bridge.c : register with ATK for focus events,
1178 and we now relay those focus events to any "focus:" listeners.
1179 This now works with the bridge as a GTK_MODULE when running test/at.
1180 * libspi/registry.c :
1181 * libspi/listener.c :
1182 now we ref event sources before propagating, and unref on receipt.
1183 * libspi/registry.c :
1184 some changes to internal structs, to support event typestring hashes.
1185 * text/app.c : changed the way the appname is generated.
1186 * cspi : added directory that will hold the C bindings library for
1187 non-CORBA/bonobo-savvy clients.
1188 * cspi/spi.h : header file that contains the function prototypes for the C binding.
1189 * idl/Component.idl : added in parameter to indicate coord system for
1190 geometry-related calls.
1191 * idl/Hyperlink.idl : added readonly n_links attribute
1192 * idl/Image.idl : changed methods to attributes.
1194 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1196 * at-bridge/Makefile.am: link against
1197 ../libspi/libspi.la instead of -lspi.
1199 * at-spi/test/app.c: include
1200 bonobo-activation.h. Use a default appname
1201 if one is not provided.
1203 2001-08-14 Bill Haneman <bill.haneman@sun.com>
1205 * idl/Registry.idl : temporarily changed register_Application
1206 to oneway, to work around issue with initial registration
1208 * idl/Application.idl : changed attribute "id" from readonly
1209 to read-write, since it needs to be assigned by Registry.
1210 * registryd/registryd.c : added call to set application id
1212 * registryd/registry.c : changed de-registration procedure to
1213 use CORBA_Object_hash() to find matching object ref in application
1214 lists and listener lists.
1215 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
1216 began distinguishing between event types (work in progress).
1218 2001-08-13 Bill Haneman <bill.haneman@sun.com>
1221 * libspi/application.c:
1222 Added implementations for get/set id, get_toolkitName,
1224 * registryd/registryd.c :
1228 Converted from use of OAF to bonobo-activation.
1229 * libspi/desktop.h :
1230 * libspi/desktop.c :
1232 Removed references to atksimpleobject, since base atkobject
1233 implementation now provides functionality we need.
1234 * libspi/atksimpleobject.c :
1235 * libspi/atksimpleobject.h :
1240 * at-bridge/Makefile.am
1241 * at-bridge/bridge.c
1244 Added directory "bridge" and contents, and added dependencies
1245 in Makefile.am/configure.in.
1246 Initial checkin of "at-bridge".
1247 This code is a GTK_MODULE which automatically registers
1248 GTK+ apps with the accessibility registry, using an object
1249 reference to the root ATK object.
1251 2001-08-10 Mark McLoughlin <mark@skynet.ie>
1253 * po/Makefile.in.in: Remove. Again. If this
1254 doesn't get autogenerated - you need to update
1257 2001-08-07 Mark McLoughlin <mark@skynet.ie>
1259 * po/Makefile.in.in: Add. Again.
1261 2001-07-31 Bill Haneman <bill.haneman@sun.com>
1263 * libspi/accessible.c : added support for 'description' property.
1264 * libspi/accessible.c
1266 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
1267 (since the two are now equivalent in libbonobo)
1275 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
1276 Bonobo::Unknown as does Accessibility::Accessible.
1277 * idl/StreamableContent.idl : as above, and replaced internal InputStream
1278 interface with Bonobo::Stream, since it was redundant with it.
1279 (The Stream returned by a StreamableContext object is expected to
1280 implement only a subset of Bonobo::Stream)
1282 2001-07-28 Anders Carlsson <andersca@gnome.org>
1284 * libspi/accessible.c (accessible_object_finalize): Change
1285 g_free to g_object_unref since the AtkObject is a GObject.
1287 2001-07-30 Bill Haneman <bill.haneman@sun.com>
1289 * idl/Accessibility.idl: add new IDL files
1292 * idl/Action.idl: Definitions of actionable UI object
1293 * idl/Component.idl: Definitions of UI component geometry, etc.
1294 * idl/Hyperlink.idl: Defs of hyperlink behavior
1295 * idl/Image.idl: Def of accessible image
1296 * idl/Selection.idl: Definition of UI object with selectable children
1297 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
1298 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
1299 * idl/Text.idl: Interface defs for UI elements with complex textual content
1300 * idl/Value.idl: Definition of UI element that is a value controller or display
1302 2001-07-27 Michael Meeks <michael@ximian.com>
1304 * po/Makefile.in.in: remove autogenerated file from CVS.
1306 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
1309 * idl/Registry.idl: include guard.
1311 * idl/Accessibility.idl: Add, and include all the other IDL
1314 * idl/*.idl: remove mass of pragmas etc.
1316 2001-07-26 Michael Meeks <michael@ximian.com>
1318 * registryd/Makefile.am (registryd_SOURCES): remove
1321 2001-07-27 Mark McLoughlin <mark@skynet.ie>
1323 * libspi/.cvsignore, registryd/.cvsignore,
1324 test/.cvsignore: updated.
1326 * po/Makefile.in.in: gettext update.
1328 2001-07-25 Bill Haneman <bill.haneman@sun.com>
1330 * initial CVS checkin
1332 2001-06-29 Michael Meeks <michael@ximian.com>
1334 * configure.in: add AM_CONFIG_HEADER to gen config.h