1 2001-11-20 Michael Meeks <michael@ximian.com>
4 (impl_accessibility_registry_deregister_global_event_listener):
7 * libspi/deviceeventcontroller.c
8 (spi_device_event_controller_check_key_event): return
9 FALSE on no virtual method.
11 * libspi/*..h: make includes work on a correctly pathed install.
13 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
15 * libspi/application.h: kill unused ( and whacked out )
16 gboolean *spi_application_set_id (AtkObject *app, long id);
18 2001-11-20 Michael Meeks <michael@ximian.com>
20 * libspi/*.[ch]: further convert to bonobo's type func
21 macros, remove redundnant casts etc.
23 * libspi/text.c s/accessibility_text/spi_text/g,
26 * libspi/hypertext.c: re-order to kill a huge slew
27 of redundant forward decls.
29 * libspi/relation.c: ditto.
31 * libspi/image.c: ditto.
33 * */.cvsignore: update
35 2001-11-20 Michael Meeks <michael@ximian.com>
37 * libspi/deviceeventcontroller.c
38 (_controller_register_with_devices): use g_getenv,
39 kill stdlib.h include.
41 * libspi/keystrokelistener.c
42 (spi_keystroke_listener_get_type): kill
43 (spi_keystroke_listener_class_init),
44 (spi_keystroke_listener_init): rename to this.
46 * libspi/text.c (impl_getAttributes): fix warning / bug.
48 * libspi/*.[ch]: more headers, includes and over commenting.
50 2001-11-20 Michael Meeks <michael@ximian.com>
52 * libspi/*.[ch]: fixup headers, includes and over commenting.
54 * libspi/image.c (impl__get_imageDescription): const
55 correctness warning fix. remove redundant casting.
57 * libspi/table.c (impl_getRowDescription): ditto.
58 (impl_getColumnDescription): ditto.
60 * libspi/libspi.h: add.
62 2001-11-19 Michael Meeks <michael@ximian.com>
64 * libspi/editabletext.c (impl_setAttributes): fix warnings.
66 * libspi/component.c (accessibility_component_get_type):
67 rename to (spi_component_get_type): and macroify.
68 (accessibility_component_init): rename to
69 (spi_component_init): this
70 (accessibility_component_class_init): rename to
71 (spi_component_class_init): this
73 * libspi/action.c (spi_action_get_type): kill, use the macro.
75 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
78 * libspi/application.c (spi_application_object_event_listener),
79 (impl_accessibility_application_register_object_event_listener):
80 warning fixes / const understanding updates.
82 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
85 2001-18-11 Bill Haneman <bill.haneman@sun.com>
87 * libspi/spi_accessible.c: Added docs and C bindings for
88 AccessibleStateSet. (No implementations yet). Documentation
89 coverage for C bindings now 100%. Made docs for event listeners
94 boolean notifyListenersSync (in DeviceEventListener listener,
95 in DeviceEvent event);
97 oneway void notifyListenersAsync (in DeviceEventListener listener,
98 in DeviceEvent event);
100 Added DeviceEventListener and DeviceEvent structs (may deprecate
101 KeyStroke and KeystrokeListener in favor of this generic
102 event/listener framework for devices).
104 * libspi/deviceeventcontroller.c:
106 Changed some key listener code to take masks, etc., and paved the
107 way for integration of toolkit/non-preemptive key events. Changed
108 signatures of some internal methods.
110 * at-bridge/bridge.c:
111 Fixed regression connecting to interface signals, apparently
112 caused by GTK+ changes.
114 Added an internal bridge_state_listener to deal with
115 property-change:accessible-state signals.
117 Changed the key_listeners GList to store structs (including masks,
118 etc.) instead of just CORBA_Objects (required for full
119 implementation of key listener API).
121 Connected the bridge to all currently supported Atk signals.
122 Events now supported:
123 object:property-change
124 object:property-change:accessible-name
125 object:property-change:accessible-state
126 object:property-change:accessible-description
127 object:property-change:accessible-parent
128 object:property-change:accessible-value
129 object:property-change:accessible-role
130 object:property-change:accessible-table-caption
131 object:property-change:accessible-table-column-description
132 object:property-change:accessible-table-column-header
133 object:property-change:accessible-table-row-description
134 object:property-change:accessible-table-row-header
135 object:property-change:accessible-table-summary
136 object:children-changed
137 object:visible-data-changed
138 object:selection-changed
139 object:text-selection-changed
141 object:text-caret-moved
145 object:column-inserted
146 object:column-reordered
147 object:column-deleted
150 2001-16-11 Bill Haneman <bill.haneman@sun.com>
152 * libspi/hyperlink.c,h:
153 Fixed some broken stuff in hyperlink.
157 * cspi/spi_accessible.c:
158 Initial implementations of AccessibleRelation methods, and docs.
160 * libspi/accessible.c:
161 Fixed a bug that caused SEGV if an accessible
162 object's description is NULL, and a client
163 requests it. An empty string is now returned.
165 * cspi/spi_editabletext.c:
166 * cspi/spi_hypertext.c:
168 * cspi/spi_hyperlink.c:
172 Doc coverage now 95%.
174 2001-16-11 Bill Haneman <bill.haneman@sun.com>
176 One last namespacing revision:
177 * libspi/accessibleeventlistener.[ch]:
178 Renamed SpiAccessibleEventListener to SpiEventListener,
179 (no need for two namespaces ;-)
181 And lots of documentation fixes:
183 * docs/at-spi-docs.sgml:
184 Fixed 'underscore vs. hyphen' bug that was preventing
185 the gtk-doc API docs from being automatically generated.
188 * cspi/spi-listener.h
190 * cspi/spi_accessible.c
192 * cspi/spi_application.c
193 * cspi/spi_component.c
194 * cspi/spi_editabletext.c
196 * cspi/spi_hypertext.c
198 * cspi/spi_registry.c
199 * cspi/spi_selection.c
203 * docs/at-spi-docs.sgml
204 * docs/at-spi-sections.txt
206 Added and fixed up gtk-doc documentation in cspi.
208 Interfaces now (fully) documented (subject to revision and enhancement):
210 Event Listener Support
212 AccessibleApplication
216 AccessibleEditableText
223 AccessibleRelationSet
228 2001-14-11 Bill Haneman <bill.haneman@sun.com>
230 * at-bridge/bridge.c:
231 Initial work for toolkit-level key snooper connection by bridge.
236 New typedefs and fixes to support new namespacing, and cleaner
237 separation of cspi bindings from libspi bonobo implementation.
238 Removed inconsistent and extraneous Spi* namespace prefix that
239 had crept into cspi headers.
240 Lots of comment fixes that sed had missed.
242 * cspi/spi-roletypes.h:
243 * cspi/spi-statetypes.h:
244 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
245 to AccessibleRoleType.
247 * libspi/accessibleeventlistener.h:
248 Fixed minor namespacing weirdness.
250 * libspi/deviceeventcontroller.c:
251 Reordered some internal API for device listeners.
252 Changed the key registry final boolean to 'is_system_global'
253 rather than 'is_synchronous', which is more descriptive of its
255 Added spi_device_event_controller_new().
256 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
258 * libspi/keystrokelistener.[ch]:
259 Namespaced KeystrokeListener to SpiKeystrokeListener.
260 Changed uses of keymasks to use SPI_ prefix, and did other
264 Namespaced keymask constants with SPI_ prefix.
267 Some warning fixes, and knock-on fixes from namespace changes.
270 Added rules for accessx-gui test program.
272 * test/accessx-gui.c:
273 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
274 utility. It doesn't actually use at-spi, but it's still cool and
277 * test/keysynth-demo.c:
281 Fixes so that these test clients work properly with the namespaced
282 libraries. (Incompletely tested for technical reasons, fixes may follow)
285 2001-13-11 Michael Meeks <michael@ximian.com>
287 * libspi/application.c
288 (impl_accessibility_application_get_version),
289 (impl_accessibility_application_get_toolkit_name):
291 (impl_accessibility_application_set_id),
292 (impl_accessibility_application_get_id): remove
293 redundant casting code.
295 * libspi/action.c (impl_getDescription): fix warnings.
297 * libspi/accessible.c
298 (impl_accessibility_accessible_get_parent),
299 (impl_accessibility_accessible_get_child_at_index),
300 (impl_accessibility_accessible_get_state),
301 (impl_accessibility_accessible_get_relation_set):
302 warning fixes & include action.h
304 2001-13-11 Michael Meeks <michael@ximian.com>
306 * *.[ch] fix bits I screwed up:
308 s/([^ \tb(\*\&\?\",])spi_/\1/g;
309 s/([^ \tb(\*\&\?\",])Spi/\1/g;
311 2001-13-11 Michael Meeks <michael@ximian.com>
313 * *.[ch] Namespace libspi into spi_ and Spi.
315 2001-13-11 Michael Meeks <michael@ximian.com>
317 * Makefile.am: dist & install at-spi-1.0.pc
319 * libspi/Makefile.am: install into at-spi-1.0
321 * idl/Makefile.am (idldir): install into at-spi-1.0
323 * at-spi-1.0.pc.in: add.
325 * configure.in: build it.
327 2001-12-11 Bill Haneman <bill.haneman@sun.com>
329 * test/keysynth-demo.c:
330 Use a 'realize' signal-handler to set the WM properties for
331 the virtual keyboard, rather than making it a "POPUP" type
332 override-redirect window (thanks to anders carlsson for that
335 2001-11-11 Bill Haneman <bill.haneman@sun.com>
338 * test/keysynth-demo.c:
339 Added new test of key synthesis, which creates a simple
340 (mouse-operated) onscreen keyboard. It inserts key events into
341 the currently-focused window, thus it does not grab keyboard focus
344 * cspi/spi_registry.c:
345 Added C binding for AT-SPI generateKeyEvent.
347 * libspi/deviceeventcontroller.c:
348 Added call to XFilterEvent so that key listener works with XIM (we
349 hope). Added event_synth_type to generateKeyEvent, so that we can
350 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
351 synthesize a press/release pair for KeySyms.
353 2001-11-09 Bill Haneman <bill.haneman@sun.com>
355 * libspi/Makefile.am:
356 * registryd/Makefile.am:
357 (temporary) hack to include libXtst in libspi and registryd.
358 (Needed for keystroke synthesis, see below).
361 Improved API for registerKeystrokeListener, in accordance with
362 discussions with Gnopernicus team and X server research.
365 * libspi/deviceeventcontroller.c:
366 * libspi/accessible.c:
367 * libspi/keystrokelistener.c:
368 Changes and fixes to support keylisteners for potentially
369 consumed key events (that is, 'passive grabs').
370 Added implementation for generateKeyEvent() [untested].
373 Changes to registerKeystrokeListener() API, as above.
374 Added deregisterGlobalEventListenerAll(), and
375 deregisterKeystrokeListener(), which are needed for clean exit of
377 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
378 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
380 * cspi/spi_registry.c:
381 Added implementations of function prototypes mentioned above.
383 * registryd/registryd.c:
384 Added the key listener event source as a g_timeout(), to allow
385 receipt of key events that are not caught by GDK (since GDK
386 doesn't support passive keygrabs, this was necessary).
389 Changed to attach a keylistener to 'Alt' keys, and
390 respond to the following keycommands: Alt-M (toggle magnifier);
391 Alt-F (toggle speech); Alt-Q (quit).
392 Added an exit routine to deregister the listeners, and a key
393 listener that prints some key info to the console when a key
394 matches the listener mask (and is thus received by the listener).
396 * util/idl/Magnifier.idl:
397 Changes to magnifier API to support multiple zoom regions,
398 non-uniform scaling in x and y, markDirty, and a host of other
399 features that would be useful to magnification.
404 * util/mag_control.c:
406 Source code changes to support the above IDL changes.
409 As above, and also changes to use a (slower) generic conversion
410 path for colormap conversions, since the fast RGB conversions have been
411 reported to fail for 16-bit displays.
413 2001-10-26 Michael Meeks <michael@ximian.com>
415 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
417 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
419 * at-bridge/Makefile.am: fix LDFLAGS.
421 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
423 * at-bridge/bridge.c:
424 Re-worked listeners for toolkit events, now we have signal
425 and property listeners. Added a private method
426 register_atk_event_listeners(), which registers with the
427 various atk and gtk signals we need to monitor in order to emit
429 Added emission hook for AtkObject:property-change events, to
430 support the 'property listeners'.
431 Fixed some alloc()s of Accessibility_Event structs to use CORBA
434 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
435 which emit warnings and exit, respectively, if CORBA errors occur
436 during remote calls, and we now use these methods to check most of
437 our CORBA calls in the C bindings.
439 * cspi/spi_accessible.c:
440 Changed AccessibleSelection_refSelectedChild() to
441 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
442 now increment refcounts.
444 * cspi/spi_component.c:
445 Fixed some long pointer casts (dangerous!) to pass pointers to
446 CORBA_longs of the proper type to the CORBA stubs, and copy the
447 data into the longs that were passed into the C bindings code.
449 * at-bridge/bridge.c:
451 * libspi/accessible.c:
452 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
453 hyperlinks, AtkHyperlink is an object type.
455 * libspi/application.c:
456 Added various conversions to and from "generic" event types and
457 atk-specific types; this is really part of the 'bridge'
458 implementation but is valid for all AtkObject-based accessibility
461 * libspi/editabletext.c:
462 Fixed nasty bug wherein editable text's finalize method was
463 unref'ing tha AtkObject reference that the text parent class was
464 about to unref _again_. There was also a nasty inheritance bug
465 that meant that the AccessibleEditableText class was corrupt.
467 * libspi/selection.c:
468 Provided implementations for some selection API that was broken.
470 * idl/Application.idl:
471 Added registerObjectEventListener () method.
474 Fixed a number of return values that were Bonobo_Unknowns from
475 bonobo_object_corba_objref(), which I
476 forgot to dup before returning. Changed instances of
477 bonobo_object_corba_objref (bonobo_object(o)) to
478 BONOBO_OBJREF(o), for concision and clarity.
480 <2001-10-13 Louise Miller <louise.miller@sun.com>
482 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
483 idl/Event.idl, idl/Registry.idl
484 Changed these files to include Bonobo_Unknown.idl instead
487 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
489 * libspi/component.c libspi/component.h:
490 Fixed typo. Added assertions for object checks in
491 AccessibleComponent code.
493 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
495 * idl/Accessible.idl:
496 Added 'isEqual (Accessible *object)'
497 method for Accessible. (Not Yet Implemented).
500 Changed signature of registerKeystrokeListener() to
501 take a KeySet and KeyEventSeq so that specific keys and event
502 types could be requested for monitoring, and added a flag
503 is_synchronous so that either synchronous or asynchronous
504 notification could be requested. (However this is not all
505 implemented yet). This also meant adding two new typedefs,
506 KeyEventSeq and KeySet.
509 Added two new relations, RELATION_TOOLTIP_FOR and
510 RELATION_LEAFNODE_OF.
513 Added new state, STATE_HAS_TOOLTIP.
515 * libspi/text.c, editabletext.c:
516 Added new assertions to all casts of bonobo-objects from
517 CORBA servants, to prevent Text API calls on non-text objects.
518 Changed suspect casts of int-pointer types, so that we
519 always send a valid CORBA_long pointer to the CORBA APIs that use
520 in/out long parameters. We then have to copy from the CORBA_long
521 into the regular long or int for return to the C bindings, or
522 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
525 * libspi/deviceeventcontroller.c:
526 Cleaned these sources up.
528 Changed return type for getCharacterAtOffset to
529 CORBA_unsigned_long, to allow for 32-bit characters.
532 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
536 Fixed 'make dist' so that distro compiles...
539 * cspi/spi-listener.c:
540 KeystrokeListenerCB now returns a boolean.
542 Added KeyEventType struct, and KeyStroke.
543 Also added createKeystrokeListener(),
544 KeystrokeListener_addCallback(),
545 KeystrokeListener_removeCallback(), and added a keymask to
546 registerKeystrokeListener().
547 * cspi/spi_accessible.c:
548 Changed numerous return types for interfaces from
549 AccessibleComponent to Accessible<InterfaceName>; this was
550 probably a cut-and-paste error.
552 Implementations of new KeystrokeListener api (from spi.h,
555 Changes to key modifier mapping.
556 Created ControllerEventMask struct.
557 Made DeviceEventController derive from Bonobo::Unknown.
559 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
560 * libspi/deviceeventcontroller.c:
561 Added a number of new internal (private) methods.
562 * libspi/editabletext.c:
563 * libspi/editabletext.h:
564 Fixed a number of bugs related to the fact that
565 editabletext inherits from text. Fixed the EditableText struct,
566 the init() call, and use correct casts when calling Text methods
567 from an EditableText object. Removed (duplicate) atko from the
568 EditableText structure, we use the one in the parent Text
569 structure via the casts mentioned above.
570 * libspi/keystrokelistener.[ch]:
572 Changes in support of keyboard handling (above).
574 Keyboard handling, though partly functional, is still not
575 recommended for at-spi client use as there is considerable
579 Changed some places where pointers to various int types
580 are cast to be pointers to CORBA_long types and vice-versa:
581 pointer casting is not safe so we pass pointers of the correct
582 types and then cast the result before putting it into the target
585 * libspi/text.h: minor typos corrected.
587 We now speak not only the name of a Text element, but the
588 first sentence of its content, when it receives focus.
589 I also changed the text compression to 75% from 50%.
590 * util/Accessibility_Util.server.in:
591 Changed the default magnifier type to be a 3x vertical
592 splitscreen magnifier (was previously a 2x horizontal one).
594 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
596 * libspi/keystrokelistener.h:
597 * libspi/keystrokelistener.c:
598 Initial functional implementations of KeystrokeListener.
601 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
603 Fixed string handling for NULL strings in libspi.
604 Added spi_freeString to free strings returned by C bindings.
606 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
608 * libspi/keystrokelistener.h:
609 * libspi/keystrokelistener.c:
610 Began (no-op) implementations of KeystrokeListener
612 * libspi/deviceeventcontroller.c:
613 * libspi/deviceeventcontroller.h:
614 Began creating implementations of DeviceEventController,
615 to handle keystroke and mouse event listening and
617 * libspi/accessible.c:
618 Stubbed-in the implementations for
619 Accessibility_Accessible_getState and
620 Accessibility_Accessible_getRelationSet.
622 Improved de-registration process and fixed some bugs,
623 deregistration now works correctly.
625 Added initialization of applications list (to NULL).
627 Reduced speech compression from 0.5 to 0.7, for demo.
628 Changed call to gdk_window_set_decorations()
629 to gtk_window_set_decorated().
630 * at-bridge/bridge.c:
631 Bridge now deregisters when app exits, via
632 registration of a cleanup function
633 with the g_atexit() call.
634 Required making 'app' static, renamed 'this_app'.
635 Fixed broken use of bonobo_init, passing argv wrongly.
637 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
641 Created a new directory for
642 accessibility-related utilities, primarily for
643 testing and demo purposes, but with possible
650 Onscreen magnifier utility that
651 is implemented as a bonobo service.
655 Client-side support (simple C bindings)
656 for Magnification service
658 * util/mag_control.c:
659 Client program example for
660 Magnification service
662 * util/Accessibility_Magnifier.server.in:
663 Bonobo-activation file for the
664 Magnification service.
667 * util/idl/Magnifier.idl:
668 IDL defining the bonobo Magnification
672 Modifications to use the bonobo-activated magnifier
673 above, in place of trying to connect to an existing
674 magnifier that uses socket-listening IPC.
676 If env variable MAGNIFIER is set, a magnifier service
677 will be started if one does not exist.
679 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
680 * at-bridge/bridge.c:
681 applied patch from Marc to build and run
682 against new glib and gtk+ (seemed like a change
683 to bonobo_init signature was made ?)
685 made festival-server support turned off by default.
686 Added support for a simple magnifier (off by default)
687 which will be added to a 'util' directory later.
688 * at-bridge/Makefile.am:
689 Changed "application.h" header from a 'source'
690 to a 'dependency' of libat-bridge.
692 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
700 Added interface implementation c files to list of
701 includes so they are included in libcspi.
704 Changed prototype of AccessibleAction_doAction to return a
706 Changed prototype of AccessibleTable_getCaption to
707 return an Accessible.
708 Changed prototype of AccessibleTable_getSelectedRows
709 and AccessibleTable_getSelectedColumns to
710 return a long (returns the number of selected rows
711 or columns respectively).
712 Changed name of AccessibleText_refRunAttributes to
713 AccessibleText_getAttributes.
714 Changed prototype of AccessibleText_getCharacterExtents to
715 return a void rather than a boolean.
716 Added support for a AccessibleCoordType parameter
717 specifying what type of coordinates are desired.
718 Added an AccessibleCordType parameter to
719 AccessibleText_getPointAtOffset.
721 * cspi/spi_accessible.c:
722 Added code to return the outstanding interfaces from
723 Accessible_queryInterface.
727 Corrected call to getNActions to call the c binding
730 * cspi/spi_editabletext.c:
732 Changed name from setRunAttributes to setAttributes.
734 * cspi/spi_hyperlink.c:
736 Changed call to getNAnchors to correctly call the c
737 binding for an attribute.
739 * cspi/spi_hypertext.c:
741 Changed getImageDescription to correctly call the
742 binding for an attribute.
744 * cspi/spi_selection.c:
745 Changed getNSelectedChildren to correctly call the c
746 binding for the attribute.
747 Changed refSelectedChild to getSelectedChild.
751 Changed getCaption to return an Accessible.
752 Fixed calls which retrieve attributes.
753 Changed refAt to getAccessibleAt.
754 Changed getNSelectedRows and getNSelectedColumns to
758 Changed getCharacterExtents and getPointAtOffset to accept an
761 Changed calls which retrieve attributes.
762 Changed refRunAttributes to getAttributes.
768 Changed n_anchors attribute to nAnchors to keep naming
769 convention consistent.
772 Made Table inherit from Bonobo::Unknown.
773 Added nSelectedColumns and nSelectedRows attributes.
776 Made Value inherit from Bonobo::Unknown.
778 * libspi/hyperlink.c:
779 Change for nAnchors attributte name change.
781 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
789 Added interface implementation c files to list of
790 includes so they are included in libcspi.
793 Changed prototype of AccessibleAction_doAction to return a
795 Changed prototype of AccessibleTable_getCaption to
796 return an Accessible.
797 Changed prototype of AccessibleTable_getSelectedRows
798 and AccessibleTable_getSelectedColumns to
799 return a long (returns the number of selected rows
800 or columns respectively).
801 Changed name of AccessibleText_refRunAttributes to
802 AccessibleText_getAttributes.
803 Changed prototype of AccessibleText_getCharacterExtents to
804 return a void rather than a boolean.
805 Added support for a AccessibleCoordType parameter
806 specifying what type of coordinates are desired.
807 Added an AccessibleCordType parameter to
808 AccessibleText_getPointAtOffset.
810 * cspi/spi_accessible.c:
811 Added code to return the outstanding interfaces from
812 Accessible_queryInterface.
816 Corrected call to getNActions to call the c binding
819 * cspi/spi_editabletext.c:
821 Changed name from setRunAttributes to setAttributes.
823 * cspi/spi_hyperlink.c:
825 Changed call to getNAnchors to correctly call the c
826 binding for an attribute.
828 * cspi/spi_hypertext.c:
830 Changed getImageDescription to correctly call the
831 binding for an attribute.
833 * cspi/spi_selection.c:
834 Changed getNSelectedChildren to correctly call the c
835 binding for the attribute.
836 Changed refSelectedChild to getSelectedChild.
840 Changed getCaption to return an Accessible.
841 Fixed calls which retrieve attributes.
842 Changed refAt to getAccessibleAt.
843 Changed getNSelectedRows and getNSelectedColumns to
847 Changed getCharacterExtents and getPointAtOffset to accept an
850 Changed calls which retrieve attributes.
851 Changed refRunAttributes to getAttributes.
857 Changed n_anchors attribute to nAnchors to keep naming
858 convention consistent.
861 Made Table inherit from Bonobo::Unknown.
862 Added nSelectedColumns and nSelectedRows attributes.
865 Made Value inherit from Bonobo::Unknown.
867 * libspi/hyperlink.c:
868 Change for nAnchors attributte name change.
871 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
873 implementations-- made server implementations own AtkObject pointers
874 rather than their respective AtkInterrface pointers to fix
875 refcounting. AtkHyperlink is still broken.
877 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
878 * cspi/spi_accessible.c:
879 Added method Accessible_Role_getName(),
880 and requisite string array (role_names).
881 Added conversion string_from_corba_strin() call
882 to Accessible_getName and _getDescription.
883 * libspi/accessible.c:
884 Added implementation for Accessible_getRole()
886 Added festival support, used if environment variable
889 2001-09-04 Bill Haneman <bill.haneman@sun.com>
891 * at-bridge/bridge.c:
892 Now allocate Accessibility_Event using
893 Accessibility_Event__alloc() instead of g_new0().
894 * libspi/accessibleeventlistener.c:
895 Initialize AccessibleEventListener->callbacks to NULL.
896 Fixed accessible__event_listener_init() param, changed to
897 "AccessibleEventListener *" type.
898 Changed a bonobo_object_release_unref() call to
899 Accessibility_Accessible_unref().
901 Changed Bonobo_Unknown_unref to (equivalent)
902 Accessibility_Accessible_unref.
904 Changed bonobo_object_release_unref to
905 Accessibility_Accessible_unref.
907 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
910 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
911 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
912 spi-util.c spi-util.h
913 Implementations for C bindings to remaining accessibility
916 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
919 changed return value of Action from void to boolean to
920 bring in line with ATK.
923 Changed getText funcions to return "out" start and end offsets.
924 Changed getAttributes to take and offset and return the start
925 and end offset of the attribute run.
926 Changed getOffsetAtPoint and getCharacterExtents to take an
927 enum describing whether coordinates are window or screen.
930 libspi/action.c libspi/action.h libspi/editabletext.c
931 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
932 libspi/hypertext.c libspi/hypertext.h libspi/image.c
933 libspi/image.h libspi/selection.c libspi/selection.h
934 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
935 libspi/value.c libspi/value.h
936 Added server implementations for outstanding ATK interfaces
939 2001-09-04 Bill Haneman <bill.haneman@sun.com>
942 Added (missing) getName() method.
943 Made nActions an attribute.
944 * idl/EditableText.idl:
945 Changed order of params in setAttributes.
947 Removed getAnchor, added getURI.
949 Changed attributes to methods, for efficiency
950 (so that getting extents can be done in one call)
952 Changed nSelectedChildren to attribute, and re-indented.
953 * idl/Table.idl: changed nrows, ncolumns, caption, summary
955 * idl/Text.idl: reformatted to match our coding style.
956 (temporarily?) removed getRowColumnAtOffset().
957 Changed text selection API to support multi-select and
958 non-contiguous selections, as in ATK.
959 * idl/Value.idl: changed some methods to attributes.
961 2001-08-24 Mark McLoughlin <mark@skynet.ie>
963 * libspi/listener.c(impl_notify_event):
964 BonoboUnkown_unref the source instead
965 of bonobo_object_release_unref - the ORB
966 handles the releasing.
968 * configure.in: require ORBit-2.3.94 for
971 2001-08-21 Bill Haneman <bill.haneman@sun.com>
973 Tagged CVS repository 'EA_1_0'.
974 * README.EARLY_ACCESS:
975 Alphabetized acknowledgements list, and
977 Listed some known dependencies of at-spi.
979 2001-08-20 Bill Haneman <bill.haneman@sun.com>
981 * docs/at-spi-docs.sgml:
982 * docs/at-spi-sections.txt:
983 * docs/at-spi-overrides.txt: (Added zero-length file)
984 Documentation improvements - gtk-doc should build
985 docs for all implemented C bindings now.
988 * cspi/spi.c: (New file)
989 * cspi/spi_event.c: (New file)
990 * cspi/spi_registry.c: (New file)
991 * cspi/spi_accessible.c: (New file)
992 * cspi/spi_application.c: (New file)
993 * cspi/spi_component.c: (New file)
994 Split spi_main.c into six parts, and included them from
995 "spi.c". This is a bit of a hack, probably temporary,
996 but required by gtk-doc, apparently.
998 2001-08-20 Bill Haneman <bill.haneman@sun.com>
1001 * docs/at-spi-docs.sgml:
1002 * docs/at-spi-sections.txt:
1004 Initial checkins/modifications for gtk-doc generation.
1007 Added (missing) interface query methods to Accessible's C binding.
1009 Added GenericInterface type definition.
1011 Added query for AccessibleComponent interface to focus event handler.
1012 Added printout of bounding box for focussed component.
1013 * libspi/component.c:
1014 Added partial implementation for AccessibleComponent to C binding.
1015 * idl/Application.idl:
1016 * libspi/registry.c:
1017 * libspi/listener.c:
1018 * libspi/application.c:
1019 * libspi/application.h:
1020 Changed "ID" attribute type from string to long.
1022 2001-08-19 Bill Haneman <bill.haneman@sun.com>
1026 Made method naming consistent: methods taking object args
1027 start with uppercase, other methods (except those using
1028 acronyms) start with lowercase. Underscores delimit between
1029 object names and method names:
1030 SPI_init() - uppercase since it starts with an acronym.
1031 getDesktopCount () - lowercase start since no object param0.
1032 Accessible_getName() - uppercase object type name, studlyCaps method
1036 Added gtk-doc documentation for all currently implemented
1037 methods in the C bindings API.
1039 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1041 * Makefile.am : changed build order to build test last.
1044 Changed "createEventListener" to "CreateEventListener".
1045 * libspi/accessibleeventlistener.c :
1046 Bugfix for addition of callbacks.
1047 * test/Makefile.am :
1048 * test/simple-at.c :
1049 Added new test that uses the C bindings API.
1051 * libspi/listener.c :
1052 * libspi/registry.c :
1053 * libspi/accessibleeventlistener.c :
1054 * at-bridge/bridge.c :
1055 Renamed member "target" of Accessibility_Event to "source",
1056 which is more descriptive.
1059 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1063 * cspi/Makefile.am :
1064 Added makefile support for at-spi/cspi directory.
1067 * cspi/spi-listener.h : (NEW FILE)
1068 Added support for/use of spi-listener.h.
1070 C bindings now build successfully, with no warnings.
1071 * libspi/accessibleeventlistener.h : (NEW FILE)
1072 * libspi/accessibleeventlistener.c : (NEW FILE)
1073 * libspi/Makefile.am :
1074 Added new object type "AccessibleEventListener"
1075 which inherits from Listener, and allows attachment
1076 of in-process callbacks (so that a client with a listening
1077 object instance can add functionality to the local
1078 implementation, dynamically).
1080 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1082 * libspi/accessible.c:
1083 Add implementation for get_index_in_parent().
1085 Added #include of "spi-roletypes.h", and
1086 added enumerated type AccessibleCoordType.
1087 Added definition for KeystrokeListener (function type).
1090 * cspi/spi-statetypes.h :
1091 * cspi/spi-roletypes.h :
1093 Added these headers, used by spi.h.
1095 Added code (NOTE: not yet built by make).
1097 2001-08-18 Mark McLoughlin <mark@skynet.ie>
1099 * libspi/Makefile.am: generate imodule
1100 at the same time as other idl compiler
1103 2001-08-17 Bill Haneman <bill.haneman@sun.com>
1104 * libspi/registry.c :
1105 * libspi/application.c :
1106 * idl/Application.idl :
1107 Made registration with toolkit an application method,
1108 which is required since each app has its own toolkit static
1109 environment. Thus the bridge must register for
1110 notification of toolkit events from each application in turn.
1111 Toolkit notifications are now successfully registered for, and
1112 sent to the listening at client.
1114 Changed toolkit event string to use hyphens rather than underscores.
1115 * libspi/listener.c :
1116 listner now gives more info in debug mode - it reports the
1117 name of the event received, as well as the name of the source.
1120 2001-08-16 Bill Haneman <bill.haneman@sun.com>
1122 * libspi/registry.c :
1123 added more implementation for toolkit events.
1124 Fixed bug such that toolkit event registrations
1125 (via atk) use the whole event name string, not
1127 Removed a useless call to an ORBit_ method.
1128 * at-bridge/bridge.c :
1129 Removed unused local sbuf[] variable.
1131 We now register for Gtk:GtkWidget:button_press_event
1132 events as well as "focus:" events.
1134 Add some more API from Registry.idl that was missing,
1135 for keystroke listening, keystroke and mouse event
1136 synthesis, and enumeration of accessible desktops.
1138 2001-08-16 Michael Meeks <michael@ximian.com>
1140 * configure.in: use AM_GLIB_GNU_GETTEXT.
1142 * Makefile.am (SUBDIRS): kill intl.
1144 2001-08-15 Michael Meeks <michael@ximian.com>
1146 * registryd/Makefile.am: s/oaf/server/ relocate info file.
1148 * configure.in: upd.
1150 * configure.in: depend on a recent bonobo-activation that
1151 will find our server files ...
1153 2001-08-16 Bill Haneman <bill.haneman@sun.com>
1155 * libspi/accessible.c : accessible_new() :
1156 Now we add the Component interface via bonobo_object_add_interface,
1157 if the contained AtkObject implements AtkComponent.
1158 * libspi/accessible.h : now include "component.h"
1159 * libspi/component.h :
1160 * libspi/component.c : added files - implementation of
1161 bonobo wrapper object for Accessibility/Component
1162 * libspi/listener.c :
1163 Added test code to check for Accessibility/Component:1.0
1164 interface and report whether it is implemented by the
1166 * libspi/registry.c :
1167 Now we check for not only the hash of the whole event
1168 string before relaying the event, we also check the
1169 "minor" event string (without the detail string).
1170 This allows event listeners to be registered against
1171 all events of a certain major+minor type, or just
1172 against a specific major+minor+detail type.
1173 * libspi/accessible.c :
1174 Added implementations for Accessible:get_parent(),
1175 Accessible:getChildCount(), and Accessible:getChildAtIndex().
1176 * libspi/registry.c :
1177 * libspi/listener.c :
1178 Replaced calls to Accessibility_Accessible_ref() and
1179 Accessibility_Accessible_unref() with
1180 calls to bonobo_object_dup_ref() and
1181 bonobo_object_release_unref(), so that the CORBA object
1182 is dup-ed and released when relayed, as well as the bonobo object.
1184 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1186 * libspi/Makefile.am,
1187 registryd/Makefile.am,
1188 at-bridge/Makefile.am.
1189 test/Makefile.am, configure.in:
1190 reverse previous changes.
1192 * /idl/Image.idl: fix typo.
1194 * test/Makefile.am: put DEBUG_FLAGS
1197 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1199 * test/app.c: use argv[0] instead of
1202 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1204 * libspi/Makefile.am,
1205 registryd/Makefile.am,
1206 at-bridge/Makefile.am.
1207 test/Makefile.am, configure.in:
1208 cleanup, replace individual LIBS/CFLAGS with
1209 AT_COMMON_{LIBS|CFLAGS}.
1213 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1215 * configure.in, libspi/Makefile.am:
1216 Change IDL path checking for bonobo-activation
1219 2001-08-15 Bill Haneman <bill.haneman@sun.com>
1221 * registryd/registry.c : separated event listeners to use
1222 3 separate lists (focus, window, toolkit). Began testing
1223 event names against hashes before relaying events.
1224 * test/at.c : now register for events of type "focus:"
1225 * test/app.c : now generate events of type "focus:"
1226 * at-bridge/bridge.c : register with ATK for focus events,
1227 and we now relay those focus events to any "focus:" listeners.
1228 This now works with the bridge as a GTK_MODULE when running test/at.
1229 * libspi/registry.c :
1230 * libspi/listener.c :
1231 now we ref event sources before propagating, and unref on receipt.
1232 * libspi/registry.c :
1233 some changes to internal structs, to support event typestring hashes.
1234 * text/app.c : changed the way the appname is generated.
1235 * cspi : added directory that will hold the C bindings library for
1236 non-CORBA/bonobo-savvy clients.
1237 * cspi/spi.h : header file that contains the function prototypes for the C binding.
1238 * idl/Component.idl : added in parameter to indicate coord system for
1239 geometry-related calls.
1240 * idl/Hyperlink.idl : added readonly n_links attribute
1241 * idl/Image.idl : changed methods to attributes.
1243 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1245 * at-bridge/Makefile.am: link against
1246 ../libspi/libspi.la instead of -lspi.
1248 * at-spi/test/app.c: include
1249 bonobo-activation.h. Use a default appname
1250 if one is not provided.
1252 2001-08-14 Bill Haneman <bill.haneman@sun.com>
1254 * idl/Registry.idl : temporarily changed register_Application
1255 to oneway, to work around issue with initial registration
1257 * idl/Application.idl : changed attribute "id" from readonly
1258 to read-write, since it needs to be assigned by Registry.
1259 * registryd/registryd.c : added call to set application id
1261 * registryd/registry.c : changed de-registration procedure to
1262 use CORBA_Object_hash() to find matching object ref in application
1263 lists and listener lists.
1264 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
1265 began distinguishing between event types (work in progress).
1267 2001-08-13 Bill Haneman <bill.haneman@sun.com>
1270 * libspi/application.c:
1271 Added implementations for get/set id, get_toolkitName,
1273 * registryd/registryd.c :
1277 Converted from use of OAF to bonobo-activation.
1278 * libspi/desktop.h :
1279 * libspi/desktop.c :
1281 Removed references to atksimpleobject, since base atkobject
1282 implementation now provides functionality we need.
1283 * libspi/atksimpleobject.c :
1284 * libspi/atksimpleobject.h :
1289 * at-bridge/Makefile.am
1290 * at-bridge/bridge.c
1293 Added directory "bridge" and contents, and added dependencies
1294 in Makefile.am/configure.in.
1295 Initial checkin of "at-bridge".
1296 This code is a GTK_MODULE which automatically registers
1297 GTK+ apps with the accessibility registry, using an object
1298 reference to the root ATK object.
1300 2001-08-10 Mark McLoughlin <mark@skynet.ie>
1302 * po/Makefile.in.in: Remove. Again. If this
1303 doesn't get autogenerated - you need to update
1306 2001-08-07 Mark McLoughlin <mark@skynet.ie>
1308 * po/Makefile.in.in: Add. Again.
1310 2001-07-31 Bill Haneman <bill.haneman@sun.com>
1312 * libspi/accessible.c : added support for 'description' property.
1313 * libspi/accessible.c
1315 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
1316 (since the two are now equivalent in libbonobo)
1324 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
1325 Bonobo::Unknown as does Accessibility::Accessible.
1326 * idl/StreamableContent.idl : as above, and replaced internal InputStream
1327 interface with Bonobo::Stream, since it was redundant with it.
1328 (The Stream returned by a StreamableContext object is expected to
1329 implement only a subset of Bonobo::Stream)
1331 2001-07-28 Anders Carlsson <andersca@gnome.org>
1333 * libspi/accessible.c (accessible_object_finalize): Change
1334 g_free to g_object_unref since the AtkObject is a GObject.
1336 2001-07-30 Bill Haneman <bill.haneman@sun.com>
1338 * idl/Accessibility.idl: add new IDL files
1341 * idl/Action.idl: Definitions of actionable UI object
1342 * idl/Component.idl: Definitions of UI component geometry, etc.
1343 * idl/Hyperlink.idl: Defs of hyperlink behavior
1344 * idl/Image.idl: Def of accessible image
1345 * idl/Selection.idl: Definition of UI object with selectable children
1346 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
1347 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
1348 * idl/Text.idl: Interface defs for UI elements with complex textual content
1349 * idl/Value.idl: Definition of UI element that is a value controller or display
1351 2001-07-27 Michael Meeks <michael@ximian.com>
1353 * po/Makefile.in.in: remove autogenerated file from CVS.
1355 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
1358 * idl/Registry.idl: include guard.
1360 * idl/Accessibility.idl: Add, and include all the other IDL
1363 * idl/*.idl: remove mass of pragmas etc.
1365 2001-07-26 Michael Meeks <michael@ximian.com>
1367 * registryd/Makefile.am (registryd_SOURCES): remove
1370 2001-07-27 Mark McLoughlin <mark@skynet.ie>
1372 * libspi/.cvsignore, registryd/.cvsignore,
1373 test/.cvsignore: updated.
1375 * po/Makefile.in.in: gettext update.
1377 2001-07-25 Bill Haneman <bill.haneman@sun.com>
1379 * initial CVS checkin
1381 2001-06-29 Michael Meeks <michael@ximian.com>
1383 * configure.in: add AM_CONFIG_HEADER to gen config.h