1 2001-11-20 Michael Meeks <michael@ximian.com>
3 * libspi/*.[ch]: further convert to bonobo's type func
4 macros, remove redundnant casts etc.
6 * libspi/text.c s/accessibility_text/spi_text/g,
9 * libspi/hypertext.c: re-order to kill a huge slew
10 of redundant forward decls.
12 * libspi/relation.c: ditto.
14 * libspi/image.c: ditto.
16 * */.cvsignore: update
18 2001-11-20 Michael Meeks <michael@ximian.com>
20 * libspi/deviceeventcontroller.c
21 (_controller_register_with_devices): use g_getenv,
22 kill stdlib.h include.
24 * libspi/keystrokelistener.c
25 (spi_keystroke_listener_get_type): kill
26 (spi_keystroke_listener_class_init),
27 (spi_keystroke_listener_init): rename to this.
29 * libspi/text.c (impl_getAttributes): fix warning / bug.
31 * libspi/*.[ch]: more headers, includes and over commenting.
33 2001-11-20 Michael Meeks <michael@ximian.com>
35 * libspi/*.[ch]: fixup headers, includes and over commenting.
37 * libspi/image.c (impl__get_imageDescription): const
38 correctness warning fix. remove redundant casting.
40 * libspi/table.c (impl_getRowDescription): ditto.
41 (impl_getColumnDescription): ditto.
43 * libspi/libspi.h: add.
45 2001-11-19 Michael Meeks <michael@ximian.com>
47 * libspi/editabletext.c (impl_setAttributes): fix warnings.
49 * libspi/component.c (accessibility_component_get_type):
50 rename to (spi_component_get_type): and macroify.
51 (accessibility_component_init): rename to
52 (spi_component_init): this
53 (accessibility_component_class_init): rename to
54 (spi_component_class_init): this
56 * libspi/action.c (spi_action_get_type): kill, use the macro.
58 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
61 * libspi/application.c (spi_application_object_event_listener),
62 (impl_accessibility_application_register_object_event_listener):
63 warning fixes / const understanding updates.
65 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
68 2001-18-11 Bill Haneman <bill.haneman@sun.com>
70 * libspi/spi_accessible.c: Added docs and C bindings for
71 AccessibleStateSet. (No implementations yet). Documentation
72 coverage for C bindings now 100%. Made docs for event listeners
77 boolean notifyListenersSync (in DeviceEventListener listener,
78 in DeviceEvent event);
80 oneway void notifyListenersAsync (in DeviceEventListener listener,
81 in DeviceEvent event);
83 Added DeviceEventListener and DeviceEvent structs (may deprecate
84 KeyStroke and KeystrokeListener in favor of this generic
85 event/listener framework for devices).
87 * libspi/deviceeventcontroller.c:
89 Changed some key listener code to take masks, etc., and paved the
90 way for integration of toolkit/non-preemptive key events. Changed
91 signatures of some internal methods.
94 Fixed regression connecting to interface signals, apparently
95 caused by GTK+ changes.
97 Added an internal bridge_state_listener to deal with
98 property-change:accessible-state signals.
100 Changed the key_listeners GList to store structs (including masks,
101 etc.) instead of just CORBA_Objects (required for full
102 implementation of key listener API).
104 Connected the bridge to all currently supported Atk signals.
105 Events now supported:
106 object:property-change
107 object:property-change:accessible-name
108 object:property-change:accessible-state
109 object:property-change:accessible-description
110 object:property-change:accessible-parent
111 object:property-change:accessible-value
112 object:property-change:accessible-role
113 object:property-change:accessible-table-caption
114 object:property-change:accessible-table-column-description
115 object:property-change:accessible-table-column-header
116 object:property-change:accessible-table-row-description
117 object:property-change:accessible-table-row-header
118 object:property-change:accessible-table-summary
119 object:children-changed
120 object:visible-data-changed
121 object:selection-changed
122 object:text-selection-changed
124 object:text-caret-moved
128 object:column-inserted
129 object:column-reordered
130 object:column-deleted
133 2001-16-11 Bill Haneman <bill.haneman@sun.com>
135 * libspi/hyperlink.c,h:
136 Fixed some broken stuff in hyperlink.
140 * cspi/spi_accessible.c:
141 Initial implementations of AccessibleRelation methods, and docs.
143 * libspi/accessible.c:
144 Fixed a bug that caused SEGV if an accessible
145 object's description is NULL, and a client
146 requests it. An empty string is now returned.
148 * cspi/spi_editabletext.c:
149 * cspi/spi_hypertext.c:
151 * cspi/spi_hyperlink.c:
155 Doc coverage now 95%.
157 2001-16-11 Bill Haneman <bill.haneman@sun.com>
159 One last namespacing revision:
160 * libspi/accessibleeventlistener.[ch]:
161 Renamed SpiAccessibleEventListener to SpiEventListener,
162 (no need for two namespaces ;-)
164 And lots of documentation fixes:
166 * docs/at-spi-docs.sgml:
167 Fixed 'underscore vs. hyphen' bug that was preventing
168 the gtk-doc API docs from being automatically generated.
171 * cspi/spi-listener.h
173 * cspi/spi_accessible.c
175 * cspi/spi_application.c
176 * cspi/spi_component.c
177 * cspi/spi_editabletext.c
179 * cspi/spi_hypertext.c
181 * cspi/spi_registry.c
182 * cspi/spi_selection.c
186 * docs/at-spi-docs.sgml
187 * docs/at-spi-sections.txt
189 Added and fixed up gtk-doc documentation in cspi.
191 Interfaces now (fully) documented (subject to revision and enhancement):
193 Event Listener Support
195 AccessibleApplication
199 AccessibleEditableText
206 AccessibleRelationSet
211 2001-14-11 Bill Haneman <bill.haneman@sun.com>
213 * at-bridge/bridge.c:
214 Initial work for toolkit-level key snooper connection by bridge.
219 New typedefs and fixes to support new namespacing, and cleaner
220 separation of cspi bindings from libspi bonobo implementation.
221 Removed inconsistent and extraneous Spi* namespace prefix that
222 had crept into cspi headers.
223 Lots of comment fixes that sed had missed.
225 * cspi/spi-roletypes.h:
226 * cspi/spi-statetypes.h:
227 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
228 to AccessibleRoleType.
230 * libspi/accessibleeventlistener.h:
231 Fixed minor namespacing weirdness.
233 * libspi/deviceeventcontroller.c:
234 Reordered some internal API for device listeners.
235 Changed the key registry final boolean to 'is_system_global'
236 rather than 'is_synchronous', which is more descriptive of its
238 Added spi_device_event_controller_new().
239 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
241 * libspi/keystrokelistener.[ch]:
242 Namespaced KeystrokeListener to SpiKeystrokeListener.
243 Changed uses of keymasks to use SPI_ prefix, and did other
247 Namespaced keymask constants with SPI_ prefix.
250 Some warning fixes, and knock-on fixes from namespace changes.
253 Added rules for accessx-gui test program.
255 * test/accessx-gui.c:
256 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
257 utility. It doesn't actually use at-spi, but it's still cool and
260 * test/keysynth-demo.c:
264 Fixes so that these test clients work properly with the namespaced
265 libraries. (Incompletely tested for technical reasons, fixes may follow)
268 2001-13-11 Michael Meeks <michael@ximian.com>
270 * libspi/application.c
271 (impl_accessibility_application_get_version),
272 (impl_accessibility_application_get_toolkit_name):
274 (impl_accessibility_application_set_id),
275 (impl_accessibility_application_get_id): remove
276 redundant casting code.
278 * libspi/action.c (impl_getDescription): fix warnings.
280 * libspi/accessible.c
281 (impl_accessibility_accessible_get_parent),
282 (impl_accessibility_accessible_get_child_at_index),
283 (impl_accessibility_accessible_get_state),
284 (impl_accessibility_accessible_get_relation_set):
285 warning fixes & include action.h
287 2001-13-11 Michael Meeks <michael@ximian.com>
289 * *.[ch] fix bits I screwed up:
291 s/([^ \tb(\*\&\?\",])spi_/\1/g;
292 s/([^ \tb(\*\&\?\",])Spi/\1/g;
294 2001-13-11 Michael Meeks <michael@ximian.com>
296 * *.[ch] Namespace libspi into spi_ and Spi.
298 2001-13-11 Michael Meeks <michael@ximian.com>
300 * Makefile.am: dist & install at-spi-1.0.pc
302 * libspi/Makefile.am: install into at-spi-1.0
304 * idl/Makefile.am (idldir): install into at-spi-1.0
306 * at-spi-1.0.pc.in: add.
308 * configure.in: build it.
310 2001-12-11 Bill Haneman <bill.haneman@sun.com>
312 * test/keysynth-demo.c:
313 Use a 'realize' signal-handler to set the WM properties for
314 the virtual keyboard, rather than making it a "POPUP" type
315 override-redirect window (thanks to anders carlsson for that
318 2001-11-11 Bill Haneman <bill.haneman@sun.com>
321 * test/keysynth-demo.c:
322 Added new test of key synthesis, which creates a simple
323 (mouse-operated) onscreen keyboard. It inserts key events into
324 the currently-focused window, thus it does not grab keyboard focus
327 * cspi/spi_registry.c:
328 Added C binding for AT-SPI generateKeyEvent.
330 * libspi/deviceeventcontroller.c:
331 Added call to XFilterEvent so that key listener works with XIM (we
332 hope). Added event_synth_type to generateKeyEvent, so that we can
333 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
334 synthesize a press/release pair for KeySyms.
336 2001-11-09 Bill Haneman <bill.haneman@sun.com>
338 * libspi/Makefile.am:
339 * registryd/Makefile.am:
340 (temporary) hack to include libXtst in libspi and registryd.
341 (Needed for keystroke synthesis, see below).
344 Improved API for registerKeystrokeListener, in accordance with
345 discussions with Gnopernicus team and X server research.
348 * libspi/deviceeventcontroller.c:
349 * libspi/accessible.c:
350 * libspi/keystrokelistener.c:
351 Changes and fixes to support keylisteners for potentially
352 consumed key events (that is, 'passive grabs').
353 Added implementation for generateKeyEvent() [untested].
356 Changes to registerKeystrokeListener() API, as above.
357 Added deregisterGlobalEventListenerAll(), and
358 deregisterKeystrokeListener(), which are needed for clean exit of
360 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
361 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
363 * cspi/spi_registry.c:
364 Added implementations of function prototypes mentioned above.
366 * registryd/registryd.c:
367 Added the key listener event source as a g_timeout(), to allow
368 receipt of key events that are not caught by GDK (since GDK
369 doesn't support passive keygrabs, this was necessary).
372 Changed to attach a keylistener to 'Alt' keys, and
373 respond to the following keycommands: Alt-M (toggle magnifier);
374 Alt-F (toggle speech); Alt-Q (quit).
375 Added an exit routine to deregister the listeners, and a key
376 listener that prints some key info to the console when a key
377 matches the listener mask (and is thus received by the listener).
379 * util/idl/Magnifier.idl:
380 Changes to magnifier API to support multiple zoom regions,
381 non-uniform scaling in x and y, markDirty, and a host of other
382 features that would be useful to magnification.
387 * util/mag_control.c:
389 Source code changes to support the above IDL changes.
392 As above, and also changes to use a (slower) generic conversion
393 path for colormap conversions, since the fast RGB conversions have been
394 reported to fail for 16-bit displays.
396 2001-10-26 Michael Meeks <michael@ximian.com>
398 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
400 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
402 * at-bridge/Makefile.am: fix LDFLAGS.
404 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
406 * at-bridge/bridge.c:
407 Re-worked listeners for toolkit events, now we have signal
408 and property listeners. Added a private method
409 register_atk_event_listeners(), which registers with the
410 various atk and gtk signals we need to monitor in order to emit
412 Added emission hook for AtkObject:property-change events, to
413 support the 'property listeners'.
414 Fixed some alloc()s of Accessibility_Event structs to use CORBA
417 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
418 which emit warnings and exit, respectively, if CORBA errors occur
419 during remote calls, and we now use these methods to check most of
420 our CORBA calls in the C bindings.
422 * cspi/spi_accessible.c:
423 Changed AccessibleSelection_refSelectedChild() to
424 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
425 now increment refcounts.
427 * cspi/spi_component.c:
428 Fixed some long pointer casts (dangerous!) to pass pointers to
429 CORBA_longs of the proper type to the CORBA stubs, and copy the
430 data into the longs that were passed into the C bindings code.
432 * at-bridge/bridge.c:
434 * libspi/accessible.c:
435 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
436 hyperlinks, AtkHyperlink is an object type.
438 * libspi/application.c:
439 Added various conversions to and from "generic" event types and
440 atk-specific types; this is really part of the 'bridge'
441 implementation but is valid for all AtkObject-based accessibility
444 * libspi/editabletext.c:
445 Fixed nasty bug wherein editable text's finalize method was
446 unref'ing tha AtkObject reference that the text parent class was
447 about to unref _again_. There was also a nasty inheritance bug
448 that meant that the AccessibleEditableText class was corrupt.
450 * libspi/selection.c:
451 Provided implementations for some selection API that was broken.
453 * idl/Application.idl:
454 Added registerObjectEventListener () method.
457 Fixed a number of return values that were Bonobo_Unknowns from
458 bonobo_object_corba_objref(), which I
459 forgot to dup before returning. Changed instances of
460 bonobo_object_corba_objref (bonobo_object(o)) to
461 BONOBO_OBJREF(o), for concision and clarity.
463 <2001-10-13 Louise Miller <louise.miller@sun.com>
465 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
466 idl/Event.idl, idl/Registry.idl
467 Changed these files to include Bonobo_Unknown.idl instead
470 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
472 * libspi/component.c libspi/component.h:
473 Fixed typo. Added assertions for object checks in
474 AccessibleComponent code.
476 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
478 * idl/Accessible.idl:
479 Added 'isEqual (Accessible *object)'
480 method for Accessible. (Not Yet Implemented).
483 Changed signature of registerKeystrokeListener() to
484 take a KeySet and KeyEventSeq so that specific keys and event
485 types could be requested for monitoring, and added a flag
486 is_synchronous so that either synchronous or asynchronous
487 notification could be requested. (However this is not all
488 implemented yet). This also meant adding two new typedefs,
489 KeyEventSeq and KeySet.
492 Added two new relations, RELATION_TOOLTIP_FOR and
493 RELATION_LEAFNODE_OF.
496 Added new state, STATE_HAS_TOOLTIP.
498 * libspi/text.c, editabletext.c:
499 Added new assertions to all casts of bonobo-objects from
500 CORBA servants, to prevent Text API calls on non-text objects.
501 Changed suspect casts of int-pointer types, so that we
502 always send a valid CORBA_long pointer to the CORBA APIs that use
503 in/out long parameters. We then have to copy from the CORBA_long
504 into the regular long or int for return to the C bindings, or
505 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
508 * libspi/deviceeventcontroller.c:
509 Cleaned these sources up.
511 Changed return type for getCharacterAtOffset to
512 CORBA_unsigned_long, to allow for 32-bit characters.
515 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
519 Fixed 'make dist' so that distro compiles...
522 * cspi/spi-listener.c:
523 KeystrokeListenerCB now returns a boolean.
525 Added KeyEventType struct, and KeyStroke.
526 Also added createKeystrokeListener(),
527 KeystrokeListener_addCallback(),
528 KeystrokeListener_removeCallback(), and added a keymask to
529 registerKeystrokeListener().
530 * cspi/spi_accessible.c:
531 Changed numerous return types for interfaces from
532 AccessibleComponent to Accessible<InterfaceName>; this was
533 probably a cut-and-paste error.
535 Implementations of new KeystrokeListener api (from spi.h,
538 Changes to key modifier mapping.
539 Created ControllerEventMask struct.
540 Made DeviceEventController derive from Bonobo::Unknown.
542 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
543 * libspi/deviceeventcontroller.c:
544 Added a number of new internal (private) methods.
545 * libspi/editabletext.c:
546 * libspi/editabletext.h:
547 Fixed a number of bugs related to the fact that
548 editabletext inherits from text. Fixed the EditableText struct,
549 the init() call, and use correct casts when calling Text methods
550 from an EditableText object. Removed (duplicate) atko from the
551 EditableText structure, we use the one in the parent Text
552 structure via the casts mentioned above.
553 * libspi/keystrokelistener.[ch]:
555 Changes in support of keyboard handling (above).
557 Keyboard handling, though partly functional, is still not
558 recommended for at-spi client use as there is considerable
562 Changed some places where pointers to various int types
563 are cast to be pointers to CORBA_long types and vice-versa:
564 pointer casting is not safe so we pass pointers of the correct
565 types and then cast the result before putting it into the target
568 * libspi/text.h: minor typos corrected.
570 We now speak not only the name of a Text element, but the
571 first sentence of its content, when it receives focus.
572 I also changed the text compression to 75% from 50%.
573 * util/Accessibility_Util.server.in:
574 Changed the default magnifier type to be a 3x vertical
575 splitscreen magnifier (was previously a 2x horizontal one).
577 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
579 * libspi/keystrokelistener.h:
580 * libspi/keystrokelistener.c:
581 Initial functional implementations of KeystrokeListener.
584 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
586 Fixed string handling for NULL strings in libspi.
587 Added spi_freeString to free strings returned by C bindings.
589 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
591 * libspi/keystrokelistener.h:
592 * libspi/keystrokelistener.c:
593 Began (no-op) implementations of KeystrokeListener
595 * libspi/deviceeventcontroller.c:
596 * libspi/deviceeventcontroller.h:
597 Began creating implementations of DeviceEventController,
598 to handle keystroke and mouse event listening and
600 * libspi/accessible.c:
601 Stubbed-in the implementations for
602 Accessibility_Accessible_getState and
603 Accessibility_Accessible_getRelationSet.
605 Improved de-registration process and fixed some bugs,
606 deregistration now works correctly.
608 Added initialization of applications list (to NULL).
610 Reduced speech compression from 0.5 to 0.7, for demo.
611 Changed call to gdk_window_set_decorations()
612 to gtk_window_set_decorated().
613 * at-bridge/bridge.c:
614 Bridge now deregisters when app exits, via
615 registration of a cleanup function
616 with the g_atexit() call.
617 Required making 'app' static, renamed 'this_app'.
618 Fixed broken use of bonobo_init, passing argv wrongly.
620 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
624 Created a new directory for
625 accessibility-related utilities, primarily for
626 testing and demo purposes, but with possible
633 Onscreen magnifier utility that
634 is implemented as a bonobo service.
638 Client-side support (simple C bindings)
639 for Magnification service
641 * util/mag_control.c:
642 Client program example for
643 Magnification service
645 * util/Accessibility_Magnifier.server.in:
646 Bonobo-activation file for the
647 Magnification service.
650 * util/idl/Magnifier.idl:
651 IDL defining the bonobo Magnification
655 Modifications to use the bonobo-activated magnifier
656 above, in place of trying to connect to an existing
657 magnifier that uses socket-listening IPC.
659 If env variable MAGNIFIER is set, a magnifier service
660 will be started if one does not exist.
662 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
663 * at-bridge/bridge.c:
664 applied patch from Marc to build and run
665 against new glib and gtk+ (seemed like a change
666 to bonobo_init signature was made ?)
668 made festival-server support turned off by default.
669 Added support for a simple magnifier (off by default)
670 which will be added to a 'util' directory later.
671 * at-bridge/Makefile.am:
672 Changed "application.h" header from a 'source'
673 to a 'dependency' of libat-bridge.
675 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
683 Added interface implementation c files to list of
684 includes so they are included in libcspi.
687 Changed prototype of AccessibleAction_doAction to return a
689 Changed prototype of AccessibleTable_getCaption to
690 return an Accessible.
691 Changed prototype of AccessibleTable_getSelectedRows
692 and AccessibleTable_getSelectedColumns to
693 return a long (returns the number of selected rows
694 or columns respectively).
695 Changed name of AccessibleText_refRunAttributes to
696 AccessibleText_getAttributes.
697 Changed prototype of AccessibleText_getCharacterExtents to
698 return a void rather than a boolean.
699 Added support for a AccessibleCoordType parameter
700 specifying what type of coordinates are desired.
701 Added an AccessibleCordType parameter to
702 AccessibleText_getPointAtOffset.
704 * cspi/spi_accessible.c:
705 Added code to return the outstanding interfaces from
706 Accessible_queryInterface.
710 Corrected call to getNActions to call the c binding
713 * cspi/spi_editabletext.c:
715 Changed name from setRunAttributes to setAttributes.
717 * cspi/spi_hyperlink.c:
719 Changed call to getNAnchors to correctly call the c
720 binding for an attribute.
722 * cspi/spi_hypertext.c:
724 Changed getImageDescription to correctly call the
725 binding for an attribute.
727 * cspi/spi_selection.c:
728 Changed getNSelectedChildren to correctly call the c
729 binding for the attribute.
730 Changed refSelectedChild to getSelectedChild.
734 Changed getCaption to return an Accessible.
735 Fixed calls which retrieve attributes.
736 Changed refAt to getAccessibleAt.
737 Changed getNSelectedRows and getNSelectedColumns to
741 Changed getCharacterExtents and getPointAtOffset to accept an
744 Changed calls which retrieve attributes.
745 Changed refRunAttributes to getAttributes.
751 Changed n_anchors attribute to nAnchors to keep naming
752 convention consistent.
755 Made Table inherit from Bonobo::Unknown.
756 Added nSelectedColumns and nSelectedRows attributes.
759 Made Value inherit from Bonobo::Unknown.
761 * libspi/hyperlink.c:
762 Change for nAnchors attributte name change.
764 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
772 Added interface implementation c files to list of
773 includes so they are included in libcspi.
776 Changed prototype of AccessibleAction_doAction to return a
778 Changed prototype of AccessibleTable_getCaption to
779 return an Accessible.
780 Changed prototype of AccessibleTable_getSelectedRows
781 and AccessibleTable_getSelectedColumns to
782 return a long (returns the number of selected rows
783 or columns respectively).
784 Changed name of AccessibleText_refRunAttributes to
785 AccessibleText_getAttributes.
786 Changed prototype of AccessibleText_getCharacterExtents to
787 return a void rather than a boolean.
788 Added support for a AccessibleCoordType parameter
789 specifying what type of coordinates are desired.
790 Added an AccessibleCordType parameter to
791 AccessibleText_getPointAtOffset.
793 * cspi/spi_accessible.c:
794 Added code to return the outstanding interfaces from
795 Accessible_queryInterface.
799 Corrected call to getNActions to call the c binding
802 * cspi/spi_editabletext.c:
804 Changed name from setRunAttributes to setAttributes.
806 * cspi/spi_hyperlink.c:
808 Changed call to getNAnchors to correctly call the c
809 binding for an attribute.
811 * cspi/spi_hypertext.c:
813 Changed getImageDescription to correctly call the
814 binding for an attribute.
816 * cspi/spi_selection.c:
817 Changed getNSelectedChildren to correctly call the c
818 binding for the attribute.
819 Changed refSelectedChild to getSelectedChild.
823 Changed getCaption to return an Accessible.
824 Fixed calls which retrieve attributes.
825 Changed refAt to getAccessibleAt.
826 Changed getNSelectedRows and getNSelectedColumns to
830 Changed getCharacterExtents and getPointAtOffset to accept an
833 Changed calls which retrieve attributes.
834 Changed refRunAttributes to getAttributes.
840 Changed n_anchors attribute to nAnchors to keep naming
841 convention consistent.
844 Made Table inherit from Bonobo::Unknown.
845 Added nSelectedColumns and nSelectedRows attributes.
848 Made Value inherit from Bonobo::Unknown.
850 * libspi/hyperlink.c:
851 Change for nAnchors attributte name change.
854 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
856 implementations-- made server implementations own AtkObject pointers
857 rather than their respective AtkInterrface pointers to fix
858 refcounting. AtkHyperlink is still broken.
860 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
861 * cspi/spi_accessible.c:
862 Added method Accessible_Role_getName(),
863 and requisite string array (role_names).
864 Added conversion string_from_corba_strin() call
865 to Accessible_getName and _getDescription.
866 * libspi/accessible.c:
867 Added implementation for Accessible_getRole()
869 Added festival support, used if environment variable
872 2001-09-04 Bill Haneman <bill.haneman@sun.com>
874 * at-bridge/bridge.c:
875 Now allocate Accessibility_Event using
876 Accessibility_Event__alloc() instead of g_new0().
877 * libspi/accessibleeventlistener.c:
878 Initialize AccessibleEventListener->callbacks to NULL.
879 Fixed accessible__event_listener_init() param, changed to
880 "AccessibleEventListener *" type.
881 Changed a bonobo_object_release_unref() call to
882 Accessibility_Accessible_unref().
884 Changed Bonobo_Unknown_unref to (equivalent)
885 Accessibility_Accessible_unref.
887 Changed bonobo_object_release_unref to
888 Accessibility_Accessible_unref.
890 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
893 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
894 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
895 spi-util.c spi-util.h
896 Implementations for C bindings to remaining accessibility
899 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
902 changed return value of Action from void to boolean to
903 bring in line with ATK.
906 Changed getText funcions to return "out" start and end offsets.
907 Changed getAttributes to take and offset and return the start
908 and end offset of the attribute run.
909 Changed getOffsetAtPoint and getCharacterExtents to take an
910 enum describing whether coordinates are window or screen.
913 libspi/action.c libspi/action.h libspi/editabletext.c
914 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
915 libspi/hypertext.c libspi/hypertext.h libspi/image.c
916 libspi/image.h libspi/selection.c libspi/selection.h
917 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
918 libspi/value.c libspi/value.h
919 Added server implementations for outstanding ATK interfaces
922 2001-09-04 Bill Haneman <bill.haneman@sun.com>
925 Added (missing) getName() method.
926 Made nActions an attribute.
927 * idl/EditableText.idl:
928 Changed order of params in setAttributes.
930 Removed getAnchor, added getURI.
932 Changed attributes to methods, for efficiency
933 (so that getting extents can be done in one call)
935 Changed nSelectedChildren to attribute, and re-indented.
936 * idl/Table.idl: changed nrows, ncolumns, caption, summary
938 * idl/Text.idl: reformatted to match our coding style.
939 (temporarily?) removed getRowColumnAtOffset().
940 Changed text selection API to support multi-select and
941 non-contiguous selections, as in ATK.
942 * idl/Value.idl: changed some methods to attributes.
944 2001-08-24 Mark McLoughlin <mark@skynet.ie>
946 * libspi/listener.c(impl_notify_event):
947 BonoboUnkown_unref the source instead
948 of bonobo_object_release_unref - the ORB
949 handles the releasing.
951 * configure.in: require ORBit-2.3.94 for
954 2001-08-21 Bill Haneman <bill.haneman@sun.com>
956 Tagged CVS repository 'EA_1_0'.
957 * README.EARLY_ACCESS:
958 Alphabetized acknowledgements list, and
960 Listed some known dependencies of at-spi.
962 2001-08-20 Bill Haneman <bill.haneman@sun.com>
964 * docs/at-spi-docs.sgml:
965 * docs/at-spi-sections.txt:
966 * docs/at-spi-overrides.txt: (Added zero-length file)
967 Documentation improvements - gtk-doc should build
968 docs for all implemented C bindings now.
971 * cspi/spi.c: (New file)
972 * cspi/spi_event.c: (New file)
973 * cspi/spi_registry.c: (New file)
974 * cspi/spi_accessible.c: (New file)
975 * cspi/spi_application.c: (New file)
976 * cspi/spi_component.c: (New file)
977 Split spi_main.c into six parts, and included them from
978 "spi.c". This is a bit of a hack, probably temporary,
979 but required by gtk-doc, apparently.
981 2001-08-20 Bill Haneman <bill.haneman@sun.com>
984 * docs/at-spi-docs.sgml:
985 * docs/at-spi-sections.txt:
987 Initial checkins/modifications for gtk-doc generation.
990 Added (missing) interface query methods to Accessible's C binding.
992 Added GenericInterface type definition.
994 Added query for AccessibleComponent interface to focus event handler.
995 Added printout of bounding box for focussed component.
996 * libspi/component.c:
997 Added partial implementation for AccessibleComponent to C binding.
998 * idl/Application.idl:
1000 * libspi/listener.c:
1001 * libspi/application.c:
1002 * libspi/application.h:
1003 Changed "ID" attribute type from string to long.
1005 2001-08-19 Bill Haneman <bill.haneman@sun.com>
1009 Made method naming consistent: methods taking object args
1010 start with uppercase, other methods (except those using
1011 acronyms) start with lowercase. Underscores delimit between
1012 object names and method names:
1013 SPI_init() - uppercase since it starts with an acronym.
1014 getDesktopCount () - lowercase start since no object param0.
1015 Accessible_getName() - uppercase object type name, studlyCaps method
1019 Added gtk-doc documentation for all currently implemented
1020 methods in the C bindings API.
1022 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1024 * Makefile.am : changed build order to build test last.
1027 Changed "createEventListener" to "CreateEventListener".
1028 * libspi/accessibleeventlistener.c :
1029 Bugfix for addition of callbacks.
1030 * test/Makefile.am :
1031 * test/simple-at.c :
1032 Added new test that uses the C bindings API.
1034 * libspi/listener.c :
1035 * libspi/registry.c :
1036 * libspi/accessibleeventlistener.c :
1037 * at-bridge/bridge.c :
1038 Renamed member "target" of Accessibility_Event to "source",
1039 which is more descriptive.
1042 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1046 * cspi/Makefile.am :
1047 Added makefile support for at-spi/cspi directory.
1050 * cspi/spi-listener.h : (NEW FILE)
1051 Added support for/use of spi-listener.h.
1053 C bindings now build successfully, with no warnings.
1054 * libspi/accessibleeventlistener.h : (NEW FILE)
1055 * libspi/accessibleeventlistener.c : (NEW FILE)
1056 * libspi/Makefile.am :
1057 Added new object type "AccessibleEventListener"
1058 which inherits from Listener, and allows attachment
1059 of in-process callbacks (so that a client with a listening
1060 object instance can add functionality to the local
1061 implementation, dynamically).
1063 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1065 * libspi/accessible.c:
1066 Add implementation for get_index_in_parent().
1068 Added #include of "spi-roletypes.h", and
1069 added enumerated type AccessibleCoordType.
1070 Added definition for KeystrokeListener (function type).
1073 * cspi/spi-statetypes.h :
1074 * cspi/spi-roletypes.h :
1076 Added these headers, used by spi.h.
1078 Added code (NOTE: not yet built by make).
1080 2001-08-18 Mark McLoughlin <mark@skynet.ie>
1082 * libspi/Makefile.am: generate imodule
1083 at the same time as other idl compiler
1086 2001-08-17 Bill Haneman <bill.haneman@sun.com>
1087 * libspi/registry.c :
1088 * libspi/application.c :
1089 * idl/Application.idl :
1090 Made registration with toolkit an application method,
1091 which is required since each app has its own toolkit static
1092 environment. Thus the bridge must register for
1093 notification of toolkit events from each application in turn.
1094 Toolkit notifications are now successfully registered for, and
1095 sent to the listening at client.
1097 Changed toolkit event string to use hyphens rather than underscores.
1098 * libspi/listener.c :
1099 listner now gives more info in debug mode - it reports the
1100 name of the event received, as well as the name of the source.
1103 2001-08-16 Bill Haneman <bill.haneman@sun.com>
1105 * libspi/registry.c :
1106 added more implementation for toolkit events.
1107 Fixed bug such that toolkit event registrations
1108 (via atk) use the whole event name string, not
1110 Removed a useless call to an ORBit_ method.
1111 * at-bridge/bridge.c :
1112 Removed unused local sbuf[] variable.
1114 We now register for Gtk:GtkWidget:button_press_event
1115 events as well as "focus:" events.
1117 Add some more API from Registry.idl that was missing,
1118 for keystroke listening, keystroke and mouse event
1119 synthesis, and enumeration of accessible desktops.
1121 2001-08-16 Michael Meeks <michael@ximian.com>
1123 * configure.in: use AM_GLIB_GNU_GETTEXT.
1125 * Makefile.am (SUBDIRS): kill intl.
1127 2001-08-15 Michael Meeks <michael@ximian.com>
1129 * registryd/Makefile.am: s/oaf/server/ relocate info file.
1131 * configure.in: upd.
1133 * configure.in: depend on a recent bonobo-activation that
1134 will find our server files ...
1136 2001-08-16 Bill Haneman <bill.haneman@sun.com>
1138 * libspi/accessible.c : accessible_new() :
1139 Now we add the Component interface via bonobo_object_add_interface,
1140 if the contained AtkObject implements AtkComponent.
1141 * libspi/accessible.h : now include "component.h"
1142 * libspi/component.h :
1143 * libspi/component.c : added files - implementation of
1144 bonobo wrapper object for Accessibility/Component
1145 * libspi/listener.c :
1146 Added test code to check for Accessibility/Component:1.0
1147 interface and report whether it is implemented by the
1149 * libspi/registry.c :
1150 Now we check for not only the hash of the whole event
1151 string before relaying the event, we also check the
1152 "minor" event string (without the detail string).
1153 This allows event listeners to be registered against
1154 all events of a certain major+minor type, or just
1155 against a specific major+minor+detail type.
1156 * libspi/accessible.c :
1157 Added implementations for Accessible:get_parent(),
1158 Accessible:getChildCount(), and Accessible:getChildAtIndex().
1159 * libspi/registry.c :
1160 * libspi/listener.c :
1161 Replaced calls to Accessibility_Accessible_ref() and
1162 Accessibility_Accessible_unref() with
1163 calls to bonobo_object_dup_ref() and
1164 bonobo_object_release_unref(), so that the CORBA object
1165 is dup-ed and released when relayed, as well as the bonobo object.
1167 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1169 * libspi/Makefile.am,
1170 registryd/Makefile.am,
1171 at-bridge/Makefile.am.
1172 test/Makefile.am, configure.in:
1173 reverse previous changes.
1175 * /idl/Image.idl: fix typo.
1177 * test/Makefile.am: put DEBUG_FLAGS
1180 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1182 * test/app.c: use argv[0] instead of
1185 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1187 * libspi/Makefile.am,
1188 registryd/Makefile.am,
1189 at-bridge/Makefile.am.
1190 test/Makefile.am, configure.in:
1191 cleanup, replace individual LIBS/CFLAGS with
1192 AT_COMMON_{LIBS|CFLAGS}.
1196 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1198 * configure.in, libspi/Makefile.am:
1199 Change IDL path checking for bonobo-activation
1202 2001-08-15 Bill Haneman <bill.haneman@sun.com>
1204 * registryd/registry.c : separated event listeners to use
1205 3 separate lists (focus, window, toolkit). Began testing
1206 event names against hashes before relaying events.
1207 * test/at.c : now register for events of type "focus:"
1208 * test/app.c : now generate events of type "focus:"
1209 * at-bridge/bridge.c : register with ATK for focus events,
1210 and we now relay those focus events to any "focus:" listeners.
1211 This now works with the bridge as a GTK_MODULE when running test/at.
1212 * libspi/registry.c :
1213 * libspi/listener.c :
1214 now we ref event sources before propagating, and unref on receipt.
1215 * libspi/registry.c :
1216 some changes to internal structs, to support event typestring hashes.
1217 * text/app.c : changed the way the appname is generated.
1218 * cspi : added directory that will hold the C bindings library for
1219 non-CORBA/bonobo-savvy clients.
1220 * cspi/spi.h : header file that contains the function prototypes for the C binding.
1221 * idl/Component.idl : added in parameter to indicate coord system for
1222 geometry-related calls.
1223 * idl/Hyperlink.idl : added readonly n_links attribute
1224 * idl/Image.idl : changed methods to attributes.
1226 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1228 * at-bridge/Makefile.am: link against
1229 ../libspi/libspi.la instead of -lspi.
1231 * at-spi/test/app.c: include
1232 bonobo-activation.h. Use a default appname
1233 if one is not provided.
1235 2001-08-14 Bill Haneman <bill.haneman@sun.com>
1237 * idl/Registry.idl : temporarily changed register_Application
1238 to oneway, to work around issue with initial registration
1240 * idl/Application.idl : changed attribute "id" from readonly
1241 to read-write, since it needs to be assigned by Registry.
1242 * registryd/registryd.c : added call to set application id
1244 * registryd/registry.c : changed de-registration procedure to
1245 use CORBA_Object_hash() to find matching object ref in application
1246 lists and listener lists.
1247 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
1248 began distinguishing between event types (work in progress).
1250 2001-08-13 Bill Haneman <bill.haneman@sun.com>
1253 * libspi/application.c:
1254 Added implementations for get/set id, get_toolkitName,
1256 * registryd/registryd.c :
1260 Converted from use of OAF to bonobo-activation.
1261 * libspi/desktop.h :
1262 * libspi/desktop.c :
1264 Removed references to atksimpleobject, since base atkobject
1265 implementation now provides functionality we need.
1266 * libspi/atksimpleobject.c :
1267 * libspi/atksimpleobject.h :
1272 * at-bridge/Makefile.am
1273 * at-bridge/bridge.c
1276 Added directory "bridge" and contents, and added dependencies
1277 in Makefile.am/configure.in.
1278 Initial checkin of "at-bridge".
1279 This code is a GTK_MODULE which automatically registers
1280 GTK+ apps with the accessibility registry, using an object
1281 reference to the root ATK object.
1283 2001-08-10 Mark McLoughlin <mark@skynet.ie>
1285 * po/Makefile.in.in: Remove. Again. If this
1286 doesn't get autogenerated - you need to update
1289 2001-08-07 Mark McLoughlin <mark@skynet.ie>
1291 * po/Makefile.in.in: Add. Again.
1293 2001-07-31 Bill Haneman <bill.haneman@sun.com>
1295 * libspi/accessible.c : added support for 'description' property.
1296 * libspi/accessible.c
1298 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
1299 (since the two are now equivalent in libbonobo)
1307 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
1308 Bonobo::Unknown as does Accessibility::Accessible.
1309 * idl/StreamableContent.idl : as above, and replaced internal InputStream
1310 interface with Bonobo::Stream, since it was redundant with it.
1311 (The Stream returned by a StreamableContext object is expected to
1312 implement only a subset of Bonobo::Stream)
1314 2001-07-28 Anders Carlsson <andersca@gnome.org>
1316 * libspi/accessible.c (accessible_object_finalize): Change
1317 g_free to g_object_unref since the AtkObject is a GObject.
1319 2001-07-30 Bill Haneman <bill.haneman@sun.com>
1321 * idl/Accessibility.idl: add new IDL files
1324 * idl/Action.idl: Definitions of actionable UI object
1325 * idl/Component.idl: Definitions of UI component geometry, etc.
1326 * idl/Hyperlink.idl: Defs of hyperlink behavior
1327 * idl/Image.idl: Def of accessible image
1328 * idl/Selection.idl: Definition of UI object with selectable children
1329 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
1330 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
1331 * idl/Text.idl: Interface defs for UI elements with complex textual content
1332 * idl/Value.idl: Definition of UI element that is a value controller or display
1334 2001-07-27 Michael Meeks <michael@ximian.com>
1336 * po/Makefile.in.in: remove autogenerated file from CVS.
1338 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
1341 * idl/Registry.idl: include guard.
1343 * idl/Accessibility.idl: Add, and include all the other IDL
1346 * idl/*.idl: remove mass of pragmas etc.
1348 2001-07-26 Michael Meeks <michael@ximian.com>
1350 * registryd/Makefile.am (registryd_SOURCES): remove
1353 2001-07-27 Mark McLoughlin <mark@skynet.ie>
1355 * libspi/.cvsignore, registryd/.cvsignore,
1356 test/.cvsignore: updated.
1358 * po/Makefile.in.in: gettext update.
1360 2001-07-25 Bill Haneman <bill.haneman@sun.com>
1362 * initial CVS checkin
1364 2001-06-29 Michael Meeks <michael@ximian.com>
1366 * configure.in: add AM_CONFIG_HEADER to gen config.h