1 2001-21-11 Bill Haneman <bill.haneman@sun.com>
3 * libspi/deviceeventcontroller.c:
4 * libspi/keystrokelistener.c:
7 Added filters for KeySets, KeyEventSeq, and event types to key
8 event dispatching, so listeners should only receive those events
9 that they requested :-)
11 2001-21-11 Bill Haneman <bill.haneman@sun.com>
16 * docs/reference:Makefile.am:
17 * docs/reference/cspi:
18 * docs/reference/cspi:Makefile.am:
19 * docs/reference/cspi:tmpl:
20 * docs/reference/cspi:tmpl:*.sgml:
22 * docs/reference/idl:Makefile.am:
23 * docs/reference/idl:at-spi-idl-sections.txt:
24 * docs/reference/idl:at-spi-idl-docs.sgml:
25 * docs/reference/idl:tmpl:
26 * docs/reference/idl:tmpl:*.sgml:
28 Restructured docs directory to allow separate 'reference' docs
29 section, and forked idl and cspi docs. Added the sgml template
30 files to CVS. Added the first sections/structural sgml for the
33 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
35 * configure.in, libspi/Makefile.am: find libXtst.
37 2001-11-21 Michael Meeks <michael@ximian.com>
39 * test/accessx-gui.c: s/spi_value/value/ - doh.
41 * libspi/base.[ch]: add.
43 2001-18-11 Bill Haneman <bill.haneman@sun.com>
46 * idl/Application.idl:
49 Started gtk-doc cleanup on IDL.
51 * libspi/deviceeventcontroller.c:
52 Added and connected non-preemptive key notification from the
53 toolkits (in addition to the pre-emptive support from XServer
54 which we had before, but which causes 'focus flashing'). Filters
55 are presently limited to key modifiers and global/non-global,
56 KeySets are presently ignored, as are KeyEvent masks.
58 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
59 structs into the persistant structure rather than just storing
60 pointers to things that might not persist across servant
63 The XGrabKey call now does async keygrabs, because synchronous
64 ones were deadlocking with GDK_event code in a very nasty way.
66 Added boolean to internal method notify_keylisteners, to indicate
67 whether the event came from the 'toolkit source' or the 'global
68 (XServer) source' - this is used in the notification process to
69 determine which listeners to send the event to.
71 deviceeventcontroller.c is now warning-free.
74 Fixed regression in application de-registration.
75 Also fixed some really brain-dead weirdness having to do with
76 event dispatching - event structs are now duplicated before being
77 re-marshalled in the dispatch to listeners. This also fixes a
78 Solaris build problem.
81 2001-20-11 Michael Meeks <michael@ximian.com>
84 (impl_accessibility_registry_deregister_global_event_listener):
87 * libspi/deviceeventcontroller.c
88 (spi_device_event_controller_check_key_event): return
89 FALSE on no virtual method.
91 * libspi/*..h: make includes work on a correctly pathed install.
93 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
95 * libspi/application.h: kill unused ( and whacked out )
96 gboolean *spi_application_set_id (AtkObject *app, long id);
98 2001-20-11 Michael Meeks <michael@ximian.com>
100 * libspi/*.[ch]: further convert to bonobo's type func
101 macros, remove redundnant casts etc.
103 * libspi/text.c s/accessibility_text/spi_text/g,
104 re-order to de-cruft.
106 * libspi/hypertext.c: re-order to kill a huge slew
107 of redundant forward decls.
109 * libspi/relation.c: ditto.
111 * libspi/image.c: ditto.
113 * */.cvsignore: update
115 2001-20-11 Michael Meeks <michael@ximian.com>
117 * libspi/deviceeventcontroller.c
118 (_controller_register_with_devices): use g_getenv,
119 kill stdlib.h include.
121 * libspi/keystrokelistener.c
122 (spi_keystroke_listener_get_type): kill
123 (spi_keystroke_listener_class_init),
124 (spi_keystroke_listener_init): rename to this.
126 * libspi/text.c (impl_getAttributes): fix warning / bug.
128 * libspi/*.[ch]: more headers, includes and over commenting.
130 2001-20-11 Michael Meeks <michael@ximian.com>
132 * libspi/*.[ch]: fixup headers, includes and over commenting.
134 * libspi/image.c (impl__get_imageDescription): const
135 correctness warning fix. remove redundant casting.
137 * libspi/table.c (impl_getRowDescription): ditto.
138 (impl_getColumnDescription): ditto.
140 * libspi/libspi.h: add.
142 2001-19-11 Michael Meeks <michael@ximian.com>
144 * libspi/editabletext.c (impl_setAttributes): fix warnings.
146 * libspi/component.c (accessibility_component_get_type):
147 rename to (spi_component_get_type): and macroify.
148 (accessibility_component_init): rename to
149 (spi_component_init): this
150 (accessibility_component_class_init): rename to
151 (spi_component_class_init): this
153 * libspi/action.c (spi_action_get_type): kill, use the macro.
155 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
158 * libspi/application.c (spi_application_object_event_listener),
159 (impl_accessibility_application_register_object_event_listener):
160 warning fixes / const understanding updates.
162 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
165 2001-18-11 Bill Haneman <bill.haneman@sun.com>
167 * libspi/spi_accessible.c: Added docs and C bindings for
168 AccessibleStateSet. (No implementations yet). Documentation
169 coverage for C bindings now 100%. Made docs for event listeners
174 boolean notifyListenersSync (in DeviceEventListener listener,
175 in DeviceEvent event);
177 oneway void notifyListenersAsync (in DeviceEventListener listener,
178 in DeviceEvent event);
180 Added DeviceEventListener and DeviceEvent structs (may deprecate
181 KeyStroke and KeystrokeListener in favor of this generic
182 event/listener framework for devices).
184 * libspi/deviceeventcontroller.c:
186 Changed some key listener code to take masks, etc., and paved the
187 way for integration of toolkit/non-preemptive key events. Changed
188 signatures of some internal methods.
190 * at-bridge/bridge.c:
191 Fixed regression connecting to interface signals, apparently
192 caused by GTK+ changes.
194 Added an internal bridge_state_listener to deal with
195 property-change:accessible-state signals.
197 Changed the key_listeners GList to store structs (including masks,
198 etc.) instead of just CORBA_Objects (required for full
199 implementation of key listener API).
201 Connected the bridge to all currently supported Atk signals.
202 Events now supported:
203 object:property-change
204 object:property-change:accessible-name
205 object:property-change:accessible-state
206 object:property-change:accessible-description
207 object:property-change:accessible-parent
208 object:property-change:accessible-value
209 object:property-change:accessible-role
210 object:property-change:accessible-table-caption
211 object:property-change:accessible-table-column-description
212 object:property-change:accessible-table-column-header
213 object:property-change:accessible-table-row-description
214 object:property-change:accessible-table-row-header
215 object:property-change:accessible-table-summary
216 object:children-changed
217 object:visible-data-changed
218 object:selection-changed
219 object:text-selection-changed
221 object:text-caret-moved
225 object:column-inserted
226 object:column-reordered
227 object:column-deleted
230 2001-16-11 Bill Haneman <bill.haneman@sun.com>
232 * libspi/hyperlink.c,h:
233 Fixed some broken stuff in hyperlink.
237 * cspi/spi_accessible.c:
238 Initial implementations of AccessibleRelation methods, and docs.
240 * libspi/accessible.c:
241 Fixed a bug that caused SEGV if an accessible
242 object's description is NULL, and a client
243 requests it. An empty string is now returned.
245 * cspi/spi_editabletext.c:
246 * cspi/spi_hypertext.c:
248 * cspi/spi_hyperlink.c:
252 Doc coverage now 95%.
254 2001-16-11 Bill Haneman <bill.haneman@sun.com>
256 One last namespacing revision:
257 * libspi/accessibleeventlistener.[ch]:
258 Renamed SpiAccessibleEventListener to SpiEventListener,
259 (no need for two namespaces ;-)
261 And lots of documentation fixes:
263 * docs/at-spi-docs.sgml:
264 Fixed 'underscore vs. hyphen' bug that was preventing
265 the gtk-doc API docs from being automatically generated.
268 * cspi/spi-listener.h
270 * cspi/spi_accessible.c
272 * cspi/spi_application.c
273 * cspi/spi_component.c
274 * cspi/spi_editabletext.c
276 * cspi/spi_hypertext.c
278 * cspi/spi_registry.c
279 * cspi/spi_selection.c
283 * docs/at-spi-docs.sgml
284 * docs/at-spi-sections.txt
286 Added and fixed up gtk-doc documentation in cspi.
288 Interfaces now (fully) documented (subject to revision and enhancement):
290 Event Listener Support
292 AccessibleApplication
296 AccessibleEditableText
303 AccessibleRelationSet
308 2001-14-11 Bill Haneman <bill.haneman@sun.com>
310 * at-bridge/bridge.c:
311 Initial work for toolkit-level key snooper connection by bridge.
316 New typedefs and fixes to support new namespacing, and cleaner
317 separation of cspi bindings from libspi bonobo implementation.
318 Removed inconsistent and extraneous Spi* namespace prefix that
319 had crept into cspi headers.
320 Lots of comment fixes that sed had missed.
322 * cspi/spi-roletypes.h:
323 * cspi/spi-statetypes.h:
324 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
325 to AccessibleRoleType.
327 * libspi/accessibleeventlistener.h:
328 Fixed minor namespacing weirdness.
330 * libspi/deviceeventcontroller.c:
331 Reordered some internal API for device listeners.
332 Changed the key registry final boolean to 'is_system_global'
333 rather than 'is_synchronous', which is more descriptive of its
335 Added spi_device_event_controller_new().
336 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
338 * libspi/keystrokelistener.[ch]:
339 Namespaced KeystrokeListener to SpiKeystrokeListener.
340 Changed uses of keymasks to use SPI_ prefix, and did other
344 Namespaced keymask constants with SPI_ prefix.
347 Some warning fixes, and knock-on fixes from namespace changes.
350 Added rules for accessx-gui test program.
352 * test/accessx-gui.c:
353 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
354 utility. It doesn't actually use at-spi, but it's still cool and
357 * test/keysynth-demo.c:
361 Fixes so that these test clients work properly with the namespaced
362 libraries. (Incompletely tested for technical reasons, fixes may follow)
365 2001-13-11 Michael Meeks <michael@ximian.com>
367 * libspi/application.c
368 (impl_accessibility_application_get_version),
369 (impl_accessibility_application_get_toolkit_name):
371 (impl_accessibility_application_set_id),
372 (impl_accessibility_application_get_id): remove
373 redundant casting code.
375 * libspi/action.c (impl_getDescription): fix warnings.
377 * libspi/accessible.c
378 (impl_accessibility_accessible_get_parent),
379 (impl_accessibility_accessible_get_child_at_index),
380 (impl_accessibility_accessible_get_state),
381 (impl_accessibility_accessible_get_relation_set):
382 warning fixes & include action.h
384 2001-13-11 Michael Meeks <michael@ximian.com>
386 * *.[ch] fix bits I screwed up:
388 s/([^ \tb(\*\&\?\",])spi_/\1/g;
389 s/([^ \tb(\*\&\?\",])Spi/\1/g;
391 2001-13-11 Michael Meeks <michael@ximian.com>
393 * *.[ch] Namespace libspi into spi_ and Spi.
395 2001-13-11 Michael Meeks <michael@ximian.com>
397 * Makefile.am: dist & install at-spi-1.0.pc
399 * libspi/Makefile.am: install into at-spi-1.0
401 * idl/Makefile.am (idldir): install into at-spi-1.0
403 * at-spi-1.0.pc.in: add.
405 * configure.in: build it.
407 2001-12-11 Bill Haneman <bill.haneman@sun.com>
409 * test/keysynth-demo.c:
410 Use a 'realize' signal-handler to set the WM properties for
411 the virtual keyboard, rather than making it a "POPUP" type
412 override-redirect window (thanks to anders carlsson for that
415 2001-11-11 Bill Haneman <bill.haneman@sun.com>
418 * test/keysynth-demo.c:
419 Added new test of key synthesis, which creates a simple
420 (mouse-operated) onscreen keyboard. It inserts key events into
421 the currently-focused window, thus it does not grab keyboard focus
424 * cspi/spi_registry.c:
425 Added C binding for AT-SPI generateKeyEvent.
427 * libspi/deviceeventcontroller.c:
428 Added call to XFilterEvent so that key listener works with XIM (we
429 hope). Added event_synth_type to generateKeyEvent, so that we can
430 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
431 synthesize a press/release pair for KeySyms.
433 2001-11-09 Bill Haneman <bill.haneman@sun.com>
435 * libspi/Makefile.am:
436 * registryd/Makefile.am:
437 (temporary) hack to include libXtst in libspi and registryd.
438 (Needed for keystroke synthesis, see below).
441 Improved API for registerKeystrokeListener, in accordance with
442 discussions with Gnopernicus team and X server research.
445 * libspi/deviceeventcontroller.c:
446 * libspi/accessible.c:
447 * libspi/keystrokelistener.c:
448 Changes and fixes to support keylisteners for potentially
449 consumed key events (that is, 'passive grabs').
450 Added implementation for generateKeyEvent() [untested].
453 Changes to registerKeystrokeListener() API, as above.
454 Added deregisterGlobalEventListenerAll(), and
455 deregisterKeystrokeListener(), which are needed for clean exit of
457 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
458 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
460 * cspi/spi_registry.c:
461 Added implementations of function prototypes mentioned above.
463 * registryd/registryd.c:
464 Added the key listener event source as a g_timeout(), to allow
465 receipt of key events that are not caught by GDK (since GDK
466 doesn't support passive keygrabs, this was necessary).
469 Changed to attach a keylistener to 'Alt' keys, and
470 respond to the following keycommands: Alt-M (toggle magnifier);
471 Alt-F (toggle speech); Alt-Q (quit).
472 Added an exit routine to deregister the listeners, and a key
473 listener that prints some key info to the console when a key
474 matches the listener mask (and is thus received by the listener).
476 * util/idl/Magnifier.idl:
477 Changes to magnifier API to support multiple zoom regions,
478 non-uniform scaling in x and y, markDirty, and a host of other
479 features that would be useful to magnification.
484 * util/mag_control.c:
486 Source code changes to support the above IDL changes.
489 As above, and also changes to use a (slower) generic conversion
490 path for colormap conversions, since the fast RGB conversions have been
491 reported to fail for 16-bit displays.
493 2001-10-26 Michael Meeks <michael@ximian.com>
495 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
497 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
499 * at-bridge/Makefile.am: fix LDFLAGS.
501 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
503 * at-bridge/bridge.c:
504 Re-worked listeners for toolkit events, now we have signal
505 and property listeners. Added a private method
506 register_atk_event_listeners(), which registers with the
507 various atk and gtk signals we need to monitor in order to emit
509 Added emission hook for AtkObject:property-change events, to
510 support the 'property listeners'.
511 Fixed some alloc()s of Accessibility_Event structs to use CORBA
514 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
515 which emit warnings and exit, respectively, if CORBA errors occur
516 during remote calls, and we now use these methods to check most of
517 our CORBA calls in the C bindings.
519 * cspi/spi_accessible.c:
520 Changed AccessibleSelection_refSelectedChild() to
521 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
522 now increment refcounts.
524 * cspi/spi_component.c:
525 Fixed some long pointer casts (dangerous!) to pass pointers to
526 CORBA_longs of the proper type to the CORBA stubs, and copy the
527 data into the longs that were passed into the C bindings code.
529 * at-bridge/bridge.c:
531 * libspi/accessible.c:
532 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
533 hyperlinks, AtkHyperlink is an object type.
535 * libspi/application.c:
536 Added various conversions to and from "generic" event types and
537 atk-specific types; this is really part of the 'bridge'
538 implementation but is valid for all AtkObject-based accessibility
541 * libspi/editabletext.c:
542 Fixed nasty bug wherein editable text's finalize method was
543 unref'ing tha AtkObject reference that the text parent class was
544 about to unref _again_. There was also a nasty inheritance bug
545 that meant that the AccessibleEditableText class was corrupt.
547 * libspi/selection.c:
548 Provided implementations for some selection API that was broken.
550 * idl/Application.idl:
551 Added registerObjectEventListener () method.
554 Fixed a number of return values that were Bonobo_Unknowns from
555 bonobo_object_corba_objref(), which I
556 forgot to dup before returning. Changed instances of
557 bonobo_object_corba_objref (bonobo_object(o)) to
558 BONOBO_OBJREF(o), for concision and clarity.
560 <2001-10-13 Louise Miller <louise.miller@sun.com>
562 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
563 idl/Event.idl, idl/Registry.idl
564 Changed these files to include Bonobo_Unknown.idl instead
567 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
569 * libspi/component.c libspi/component.h:
570 Fixed typo. Added assertions for object checks in
571 AccessibleComponent code.
573 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
575 * idl/Accessible.idl:
576 Added 'isEqual (Accessible *object)'
577 method for Accessible. (Not Yet Implemented).
580 Changed signature of registerKeystrokeListener() to
581 take a KeySet and KeyEventSeq so that specific keys and event
582 types could be requested for monitoring, and added a flag
583 is_synchronous so that either synchronous or asynchronous
584 notification could be requested. (However this is not all
585 implemented yet). This also meant adding two new typedefs,
586 KeyEventSeq and KeySet.
589 Added two new relations, RELATION_TOOLTIP_FOR and
590 RELATION_LEAFNODE_OF.
593 Added new state, STATE_HAS_TOOLTIP.
595 * libspi/text.c, editabletext.c:
596 Added new assertions to all casts of bonobo-objects from
597 CORBA servants, to prevent Text API calls on non-text objects.
598 Changed suspect casts of int-pointer types, so that we
599 always send a valid CORBA_long pointer to the CORBA APIs that use
600 in/out long parameters. We then have to copy from the CORBA_long
601 into the regular long or int for return to the C bindings, or
602 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
605 * libspi/deviceeventcontroller.c:
606 Cleaned these sources up.
608 Changed return type for getCharacterAtOffset to
609 CORBA_unsigned_long, to allow for 32-bit characters.
612 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
616 Fixed 'make dist' so that distro compiles...
619 * cspi/spi-listener.c:
620 KeystrokeListenerCB now returns a boolean.
622 Added KeyEventType struct, and KeyStroke.
623 Also added createKeystrokeListener(),
624 KeystrokeListener_addCallback(),
625 KeystrokeListener_removeCallback(), and added a keymask to
626 registerKeystrokeListener().
627 * cspi/spi_accessible.c:
628 Changed numerous return types for interfaces from
629 AccessibleComponent to Accessible<InterfaceName>; this was
630 probably a cut-and-paste error.
632 Implementations of new KeystrokeListener api (from spi.h,
635 Changes to key modifier mapping.
636 Created ControllerEventMask struct.
637 Made DeviceEventController derive from Bonobo::Unknown.
639 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
640 * libspi/deviceeventcontroller.c:
641 Added a number of new internal (private) methods.
642 * libspi/editabletext.c:
643 * libspi/editabletext.h:
644 Fixed a number of bugs related to the fact that
645 editabletext inherits from text. Fixed the EditableText struct,
646 the init() call, and use correct casts when calling Text methods
647 from an EditableText object. Removed (duplicate) atko from the
648 EditableText structure, we use the one in the parent Text
649 structure via the casts mentioned above.
650 * libspi/keystrokelistener.[ch]:
652 Changes in support of keyboard handling (above).
654 Keyboard handling, though partly functional, is still not
655 recommended for at-spi client use as there is considerable
659 Changed some places where pointers to various int types
660 are cast to be pointers to CORBA_long types and vice-versa:
661 pointer casting is not safe so we pass pointers of the correct
662 types and then cast the result before putting it into the target
665 * libspi/text.h: minor typos corrected.
667 We now speak not only the name of a Text element, but the
668 first sentence of its content, when it receives focus.
669 I also changed the text compression to 75% from 50%.
670 * util/Accessibility_Util.server.in:
671 Changed the default magnifier type to be a 3x vertical
672 splitscreen magnifier (was previously a 2x horizontal one).
674 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
676 * libspi/keystrokelistener.h:
677 * libspi/keystrokelistener.c:
678 Initial functional implementations of KeystrokeListener.
681 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
683 Fixed string handling for NULL strings in libspi.
684 Added spi_freeString to free strings returned by C bindings.
686 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
688 * libspi/keystrokelistener.h:
689 * libspi/keystrokelistener.c:
690 Began (no-op) implementations of KeystrokeListener
692 * libspi/deviceeventcontroller.c:
693 * libspi/deviceeventcontroller.h:
694 Began creating implementations of DeviceEventController,
695 to handle keystroke and mouse event listening and
697 * libspi/accessible.c:
698 Stubbed-in the implementations for
699 Accessibility_Accessible_getState and
700 Accessibility_Accessible_getRelationSet.
702 Improved de-registration process and fixed some bugs,
703 deregistration now works correctly.
705 Added initialization of applications list (to NULL).
707 Reduced speech compression from 0.5 to 0.7, for demo.
708 Changed call to gdk_window_set_decorations()
709 to gtk_window_set_decorated().
710 * at-bridge/bridge.c:
711 Bridge now deregisters when app exits, via
712 registration of a cleanup function
713 with the g_atexit() call.
714 Required making 'app' static, renamed 'this_app'.
715 Fixed broken use of bonobo_init, passing argv wrongly.
717 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
721 Created a new directory for
722 accessibility-related utilities, primarily for
723 testing and demo purposes, but with possible
730 Onscreen magnifier utility that
731 is implemented as a bonobo service.
735 Client-side support (simple C bindings)
736 for Magnification service
738 * util/mag_control.c:
739 Client program example for
740 Magnification service
742 * util/Accessibility_Magnifier.server.in:
743 Bonobo-activation file for the
744 Magnification service.
747 * util/idl/Magnifier.idl:
748 IDL defining the bonobo Magnification
752 Modifications to use the bonobo-activated magnifier
753 above, in place of trying to connect to an existing
754 magnifier that uses socket-listening IPC.
756 If env variable MAGNIFIER is set, a magnifier service
757 will be started if one does not exist.
759 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
760 * at-bridge/bridge.c:
761 applied patch from Marc to build and run
762 against new glib and gtk+ (seemed like a change
763 to bonobo_init signature was made ?)
765 made festival-server support turned off by default.
766 Added support for a simple magnifier (off by default)
767 which will be added to a 'util' directory later.
768 * at-bridge/Makefile.am:
769 Changed "application.h" header from a 'source'
770 to a 'dependency' of libat-bridge.
772 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
780 Added interface implementation c files to list of
781 includes so they are included in libcspi.
784 Changed prototype of AccessibleAction_doAction to return a
786 Changed prototype of AccessibleTable_getCaption to
787 return an Accessible.
788 Changed prototype of AccessibleTable_getSelectedRows
789 and AccessibleTable_getSelectedColumns to
790 return a long (returns the number of selected rows
791 or columns respectively).
792 Changed name of AccessibleText_refRunAttributes to
793 AccessibleText_getAttributes.
794 Changed prototype of AccessibleText_getCharacterExtents to
795 return a void rather than a boolean.
796 Added support for a AccessibleCoordType parameter
797 specifying what type of coordinates are desired.
798 Added an AccessibleCordType parameter to
799 AccessibleText_getPointAtOffset.
801 * cspi/spi_accessible.c:
802 Added code to return the outstanding interfaces from
803 Accessible_queryInterface.
807 Corrected call to getNActions to call the c binding
810 * cspi/spi_editabletext.c:
812 Changed name from setRunAttributes to setAttributes.
814 * cspi/spi_hyperlink.c:
816 Changed call to getNAnchors to correctly call the c
817 binding for an attribute.
819 * cspi/spi_hypertext.c:
821 Changed getImageDescription to correctly call the
822 binding for an attribute.
824 * cspi/spi_selection.c:
825 Changed getNSelectedChildren to correctly call the c
826 binding for the attribute.
827 Changed refSelectedChild to getSelectedChild.
831 Changed getCaption to return an Accessible.
832 Fixed calls which retrieve attributes.
833 Changed refAt to getAccessibleAt.
834 Changed getNSelectedRows and getNSelectedColumns to
838 Changed getCharacterExtents and getPointAtOffset to accept an
841 Changed calls which retrieve attributes.
842 Changed refRunAttributes to getAttributes.
848 Changed n_anchors attribute to nAnchors to keep naming
849 convention consistent.
852 Made Table inherit from Bonobo::Unknown.
853 Added nSelectedColumns and nSelectedRows attributes.
856 Made Value inherit from Bonobo::Unknown.
858 * libspi/hyperlink.c:
859 Change for nAnchors attributte name change.
861 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
869 Added interface implementation c files to list of
870 includes so they are included in libcspi.
873 Changed prototype of AccessibleAction_doAction to return a
875 Changed prototype of AccessibleTable_getCaption to
876 return an Accessible.
877 Changed prototype of AccessibleTable_getSelectedRows
878 and AccessibleTable_getSelectedColumns to
879 return a long (returns the number of selected rows
880 or columns respectively).
881 Changed name of AccessibleText_refRunAttributes to
882 AccessibleText_getAttributes.
883 Changed prototype of AccessibleText_getCharacterExtents to
884 return a void rather than a boolean.
885 Added support for a AccessibleCoordType parameter
886 specifying what type of coordinates are desired.
887 Added an AccessibleCordType parameter to
888 AccessibleText_getPointAtOffset.
890 * cspi/spi_accessible.c:
891 Added code to return the outstanding interfaces from
892 Accessible_queryInterface.
896 Corrected call to getNActions to call the c binding
899 * cspi/spi_editabletext.c:
901 Changed name from setRunAttributes to setAttributes.
903 * cspi/spi_hyperlink.c:
905 Changed call to getNAnchors to correctly call the c
906 binding for an attribute.
908 * cspi/spi_hypertext.c:
910 Changed getImageDescription to correctly call the
911 binding for an attribute.
913 * cspi/spi_selection.c:
914 Changed getNSelectedChildren to correctly call the c
915 binding for the attribute.
916 Changed refSelectedChild to getSelectedChild.
920 Changed getCaption to return an Accessible.
921 Fixed calls which retrieve attributes.
922 Changed refAt to getAccessibleAt.
923 Changed getNSelectedRows and getNSelectedColumns to
927 Changed getCharacterExtents and getPointAtOffset to accept an
930 Changed calls which retrieve attributes.
931 Changed refRunAttributes to getAttributes.
937 Changed n_anchors attribute to nAnchors to keep naming
938 convention consistent.
941 Made Table inherit from Bonobo::Unknown.
942 Added nSelectedColumns and nSelectedRows attributes.
945 Made Value inherit from Bonobo::Unknown.
947 * libspi/hyperlink.c:
948 Change for nAnchors attributte name change.
951 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
953 implementations-- made server implementations own AtkObject pointers
954 rather than their respective AtkInterrface pointers to fix
955 refcounting. AtkHyperlink is still broken.
957 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
958 * cspi/spi_accessible.c:
959 Added method Accessible_Role_getName(),
960 and requisite string array (role_names).
961 Added conversion string_from_corba_strin() call
962 to Accessible_getName and _getDescription.
963 * libspi/accessible.c:
964 Added implementation for Accessible_getRole()
966 Added festival support, used if environment variable
969 2001-09-04 Bill Haneman <bill.haneman@sun.com>
971 * at-bridge/bridge.c:
972 Now allocate Accessibility_Event using
973 Accessibility_Event__alloc() instead of g_new0().
974 * libspi/accessibleeventlistener.c:
975 Initialize AccessibleEventListener->callbacks to NULL.
976 Fixed accessible__event_listener_init() param, changed to
977 "AccessibleEventListener *" type.
978 Changed a bonobo_object_release_unref() call to
979 Accessibility_Accessible_unref().
981 Changed Bonobo_Unknown_unref to (equivalent)
982 Accessibility_Accessible_unref.
984 Changed bonobo_object_release_unref to
985 Accessibility_Accessible_unref.
987 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
990 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
991 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
992 spi-util.c spi-util.h
993 Implementations for C bindings to remaining accessibility
996 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
999 changed return value of Action from void to boolean to
1000 bring in line with ATK.
1003 Changed getText funcions to return "out" start and end offsets.
1004 Changed getAttributes to take and offset and return the start
1005 and end offset of the attribute run.
1006 Changed getOffsetAtPoint and getCharacterExtents to take an
1007 enum describing whether coordinates are window or screen.
1010 libspi/action.c libspi/action.h libspi/editabletext.c
1011 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
1012 libspi/hypertext.c libspi/hypertext.h libspi/image.c
1013 libspi/image.h libspi/selection.c libspi/selection.h
1014 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
1015 libspi/value.c libspi/value.h
1016 Added server implementations for outstanding ATK interfaces
1017 not yet implemented.
1019 2001-09-04 Bill Haneman <bill.haneman@sun.com>
1022 Added (missing) getName() method.
1023 Made nActions an attribute.
1024 * idl/EditableText.idl:
1025 Changed order of params in setAttributes.
1026 * idl/Hyperlink.idl:
1027 Removed getAnchor, added getURI.
1029 Changed attributes to methods, for efficiency
1030 (so that getting extents can be done in one call)
1031 * idl/Selection.idl:
1032 Changed nSelectedChildren to attribute, and re-indented.
1033 * idl/Table.idl: changed nrows, ncolumns, caption, summary
1035 * idl/Text.idl: reformatted to match our coding style.
1036 (temporarily?) removed getRowColumnAtOffset().
1037 Changed text selection API to support multi-select and
1038 non-contiguous selections, as in ATK.
1039 * idl/Value.idl: changed some methods to attributes.
1041 2001-08-24 Mark McLoughlin <mark@skynet.ie>
1043 * libspi/listener.c(impl_notify_event):
1044 BonoboUnkown_unref the source instead
1045 of bonobo_object_release_unref - the ORB
1046 handles the releasing.
1048 * configure.in: require ORBit-2.3.94 for
1051 2001-08-21 Bill Haneman <bill.haneman@sun.com>
1053 Tagged CVS repository 'EA_1_0'.
1054 * README.EARLY_ACCESS:
1055 Alphabetized acknowledgements list, and
1057 Listed some known dependencies of at-spi.
1059 2001-08-20 Bill Haneman <bill.haneman@sun.com>
1061 * docs/at-spi-docs.sgml:
1062 * docs/at-spi-sections.txt:
1063 * docs/at-spi-overrides.txt: (Added zero-length file)
1064 Documentation improvements - gtk-doc should build
1065 docs for all implemented C bindings now.
1068 * cspi/spi.c: (New file)
1069 * cspi/spi_event.c: (New file)
1070 * cspi/spi_registry.c: (New file)
1071 * cspi/spi_accessible.c: (New file)
1072 * cspi/spi_application.c: (New file)
1073 * cspi/spi_component.c: (New file)
1074 Split spi_main.c into six parts, and included them from
1075 "spi.c". This is a bit of a hack, probably temporary,
1076 but required by gtk-doc, apparently.
1078 2001-08-20 Bill Haneman <bill.haneman@sun.com>
1081 * docs/at-spi-docs.sgml:
1082 * docs/at-spi-sections.txt:
1084 Initial checkins/modifications for gtk-doc generation.
1087 Added (missing) interface query methods to Accessible's C binding.
1089 Added GenericInterface type definition.
1091 Added query for AccessibleComponent interface to focus event handler.
1092 Added printout of bounding box for focussed component.
1093 * libspi/component.c:
1094 Added partial implementation for AccessibleComponent to C binding.
1095 * idl/Application.idl:
1096 * libspi/registry.c:
1097 * libspi/listener.c:
1098 * libspi/application.c:
1099 * libspi/application.h:
1100 Changed "ID" attribute type from string to long.
1102 2001-08-19 Bill Haneman <bill.haneman@sun.com>
1106 Made method naming consistent: methods taking object args
1107 start with uppercase, other methods (except those using
1108 acronyms) start with lowercase. Underscores delimit between
1109 object names and method names:
1110 SPI_init() - uppercase since it starts with an acronym.
1111 getDesktopCount () - lowercase start since no object param0.
1112 Accessible_getName() - uppercase object type name, studlyCaps method
1116 Added gtk-doc documentation for all currently implemented
1117 methods in the C bindings API.
1119 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1121 * Makefile.am : changed build order to build test last.
1124 Changed "createEventListener" to "CreateEventListener".
1125 * libspi/accessibleeventlistener.c :
1126 Bugfix for addition of callbacks.
1127 * test/Makefile.am :
1128 * test/simple-at.c :
1129 Added new test that uses the C bindings API.
1131 * libspi/listener.c :
1132 * libspi/registry.c :
1133 * libspi/accessibleeventlistener.c :
1134 * at-bridge/bridge.c :
1135 Renamed member "target" of Accessibility_Event to "source",
1136 which is more descriptive.
1139 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1143 * cspi/Makefile.am :
1144 Added makefile support for at-spi/cspi directory.
1147 * cspi/spi-listener.h : (NEW FILE)
1148 Added support for/use of spi-listener.h.
1150 C bindings now build successfully, with no warnings.
1151 * libspi/accessibleeventlistener.h : (NEW FILE)
1152 * libspi/accessibleeventlistener.c : (NEW FILE)
1153 * libspi/Makefile.am :
1154 Added new object type "AccessibleEventListener"
1155 which inherits from Listener, and allows attachment
1156 of in-process callbacks (so that a client with a listening
1157 object instance can add functionality to the local
1158 implementation, dynamically).
1160 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1162 * libspi/accessible.c:
1163 Add implementation for get_index_in_parent().
1165 Added #include of "spi-roletypes.h", and
1166 added enumerated type AccessibleCoordType.
1167 Added definition for KeystrokeListener (function type).
1170 * cspi/spi-statetypes.h :
1171 * cspi/spi-roletypes.h :
1173 Added these headers, used by spi.h.
1175 Added code (NOTE: not yet built by make).
1177 2001-08-18 Mark McLoughlin <mark@skynet.ie>
1179 * libspi/Makefile.am: generate imodule
1180 at the same time as other idl compiler
1183 2001-08-17 Bill Haneman <bill.haneman@sun.com>
1184 * libspi/registry.c :
1185 * libspi/application.c :
1186 * idl/Application.idl :
1187 Made registration with toolkit an application method,
1188 which is required since each app has its own toolkit static
1189 environment. Thus the bridge must register for
1190 notification of toolkit events from each application in turn.
1191 Toolkit notifications are now successfully registered for, and
1192 sent to the listening at client.
1194 Changed toolkit event string to use hyphens rather than underscores.
1195 * libspi/listener.c :
1196 listner now gives more info in debug mode - it reports the
1197 name of the event received, as well as the name of the source.
1200 2001-08-16 Bill Haneman <bill.haneman@sun.com>
1202 * libspi/registry.c :
1203 added more implementation for toolkit events.
1204 Fixed bug such that toolkit event registrations
1205 (via atk) use the whole event name string, not
1207 Removed a useless call to an ORBit_ method.
1208 * at-bridge/bridge.c :
1209 Removed unused local sbuf[] variable.
1211 We now register for Gtk:GtkWidget:button_press_event
1212 events as well as "focus:" events.
1214 Add some more API from Registry.idl that was missing,
1215 for keystroke listening, keystroke and mouse event
1216 synthesis, and enumeration of accessible desktops.
1218 2001-08-16 Michael Meeks <michael@ximian.com>
1220 * configure.in: use AM_GLIB_GNU_GETTEXT.
1222 * Makefile.am (SUBDIRS): kill intl.
1224 2001-08-15 Michael Meeks <michael@ximian.com>
1226 * registryd/Makefile.am: s/oaf/server/ relocate info file.
1228 * configure.in: upd.
1230 * configure.in: depend on a recent bonobo-activation that
1231 will find our server files ...
1233 2001-08-16 Bill Haneman <bill.haneman@sun.com>
1235 * libspi/accessible.c : accessible_new() :
1236 Now we add the Component interface via bonobo_object_add_interface,
1237 if the contained AtkObject implements AtkComponent.
1238 * libspi/accessible.h : now include "component.h"
1239 * libspi/component.h :
1240 * libspi/component.c : added files - implementation of
1241 bonobo wrapper object for Accessibility/Component
1242 * libspi/listener.c :
1243 Added test code to check for Accessibility/Component:1.0
1244 interface and report whether it is implemented by the
1246 * libspi/registry.c :
1247 Now we check for not only the hash of the whole event
1248 string before relaying the event, we also check the
1249 "minor" event string (without the detail string).
1250 This allows event listeners to be registered against
1251 all events of a certain major+minor type, or just
1252 against a specific major+minor+detail type.
1253 * libspi/accessible.c :
1254 Added implementations for Accessible:get_parent(),
1255 Accessible:getChildCount(), and Accessible:getChildAtIndex().
1256 * libspi/registry.c :
1257 * libspi/listener.c :
1258 Replaced calls to Accessibility_Accessible_ref() and
1259 Accessibility_Accessible_unref() with
1260 calls to bonobo_object_dup_ref() and
1261 bonobo_object_release_unref(), so that the CORBA object
1262 is dup-ed and released when relayed, as well as the bonobo object.
1264 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1266 * libspi/Makefile.am,
1267 registryd/Makefile.am,
1268 at-bridge/Makefile.am.
1269 test/Makefile.am, configure.in:
1270 reverse previous changes.
1272 * /idl/Image.idl: fix typo.
1274 * test/Makefile.am: put DEBUG_FLAGS
1277 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1279 * test/app.c: use argv[0] instead of
1282 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1284 * libspi/Makefile.am,
1285 registryd/Makefile.am,
1286 at-bridge/Makefile.am.
1287 test/Makefile.am, configure.in:
1288 cleanup, replace individual LIBS/CFLAGS with
1289 AT_COMMON_{LIBS|CFLAGS}.
1293 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1295 * configure.in, libspi/Makefile.am:
1296 Change IDL path checking for bonobo-activation
1299 2001-08-15 Bill Haneman <bill.haneman@sun.com>
1301 * registryd/registry.c : separated event listeners to use
1302 3 separate lists (focus, window, toolkit). Began testing
1303 event names against hashes before relaying events.
1304 * test/at.c : now register for events of type "focus:"
1305 * test/app.c : now generate events of type "focus:"
1306 * at-bridge/bridge.c : register with ATK for focus events,
1307 and we now relay those focus events to any "focus:" listeners.
1308 This now works with the bridge as a GTK_MODULE when running test/at.
1309 * libspi/registry.c :
1310 * libspi/listener.c :
1311 now we ref event sources before propagating, and unref on receipt.
1312 * libspi/registry.c :
1313 some changes to internal structs, to support event typestring hashes.
1314 * text/app.c : changed the way the appname is generated.
1315 * cspi : added directory that will hold the C bindings library for
1316 non-CORBA/bonobo-savvy clients.
1317 * cspi/spi.h : header file that contains the function prototypes for the C binding.
1318 * idl/Component.idl : added in parameter to indicate coord system for
1319 geometry-related calls.
1320 * idl/Hyperlink.idl : added readonly n_links attribute
1321 * idl/Image.idl : changed methods to attributes.
1323 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1325 * at-bridge/Makefile.am: link against
1326 ../libspi/libspi.la instead of -lspi.
1328 * at-spi/test/app.c: include
1329 bonobo-activation.h. Use a default appname
1330 if one is not provided.
1332 2001-08-14 Bill Haneman <bill.haneman@sun.com>
1334 * idl/Registry.idl : temporarily changed register_Application
1335 to oneway, to work around issue with initial registration
1337 * idl/Application.idl : changed attribute "id" from readonly
1338 to read-write, since it needs to be assigned by Registry.
1339 * registryd/registryd.c : added call to set application id
1341 * registryd/registry.c : changed de-registration procedure to
1342 use CORBA_Object_hash() to find matching object ref in application
1343 lists and listener lists.
1344 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
1345 began distinguishing between event types (work in progress).
1347 2001-08-13 Bill Haneman <bill.haneman@sun.com>
1350 * libspi/application.c:
1351 Added implementations for get/set id, get_toolkitName,
1353 * registryd/registryd.c :
1357 Converted from use of OAF to bonobo-activation.
1358 * libspi/desktop.h :
1359 * libspi/desktop.c :
1361 Removed references to atksimpleobject, since base atkobject
1362 implementation now provides functionality we need.
1363 * libspi/atksimpleobject.c :
1364 * libspi/atksimpleobject.h :
1369 * at-bridge/Makefile.am
1370 * at-bridge/bridge.c
1373 Added directory "bridge" and contents, and added dependencies
1374 in Makefile.am/configure.in.
1375 Initial checkin of "at-bridge".
1376 This code is a GTK_MODULE which automatically registers
1377 GTK+ apps with the accessibility registry, using an object
1378 reference to the root ATK object.
1380 2001-08-10 Mark McLoughlin <mark@skynet.ie>
1382 * po/Makefile.in.in: Remove. Again. If this
1383 doesn't get autogenerated - you need to update
1386 2001-08-07 Mark McLoughlin <mark@skynet.ie>
1388 * po/Makefile.in.in: Add. Again.
1390 2001-07-31 Bill Haneman <bill.haneman@sun.com>
1392 * libspi/accessible.c : added support for 'description' property.
1393 * libspi/accessible.c
1395 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
1396 (since the two are now equivalent in libbonobo)
1404 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
1405 Bonobo::Unknown as does Accessibility::Accessible.
1406 * idl/StreamableContent.idl : as above, and replaced internal InputStream
1407 interface with Bonobo::Stream, since it was redundant with it.
1408 (The Stream returned by a StreamableContext object is expected to
1409 implement only a subset of Bonobo::Stream)
1411 2001-07-28 Anders Carlsson <andersca@gnome.org>
1413 * libspi/accessible.c (accessible_object_finalize): Change
1414 g_free to g_object_unref since the AtkObject is a GObject.
1416 2001-07-30 Bill Haneman <bill.haneman@sun.com>
1418 * idl/Accessibility.idl: add new IDL files
1421 * idl/Action.idl: Definitions of actionable UI object
1422 * idl/Component.idl: Definitions of UI component geometry, etc.
1423 * idl/Hyperlink.idl: Defs of hyperlink behavior
1424 * idl/Image.idl: Def of accessible image
1425 * idl/Selection.idl: Definition of UI object with selectable children
1426 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
1427 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
1428 * idl/Text.idl: Interface defs for UI elements with complex textual content
1429 * idl/Value.idl: Definition of UI element that is a value controller or display
1431 2001-07-27 Michael Meeks <michael@ximian.com>
1433 * po/Makefile.in.in: remove autogenerated file from CVS.
1435 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
1438 * idl/Registry.idl: include guard.
1440 * idl/Accessibility.idl: Add, and include all the other IDL
1443 * idl/*.idl: remove mass of pragmas etc.
1445 2001-07-26 Michael Meeks <michael@ximian.com>
1447 * registryd/Makefile.am (registryd_SOURCES): remove
1450 2001-07-27 Mark McLoughlin <mark@skynet.ie>
1452 * libspi/.cvsignore, registryd/.cvsignore,
1453 test/.cvsignore: updated.
1455 * po/Makefile.in.in: gettext update.
1457 2001-07-25 Bill Haneman <bill.haneman@sun.com>
1459 * initial CVS checkin
1461 2001-06-29 Michael Meeks <michael@ximian.com>
1463 * configure.in: add AM_CONFIG_HEADER to gen config.h