1 2001-11-23 Mark McLoughlin <mark@skynet.ie>
3 * cspi/spi-private.h: my guess at what michael forgot
4 before he ran off to NZ :-)
6 2001-11-23 Michael Meeks <michael@ximian.com>
8 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
9 comment out non existant method invoke so we link.
11 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
12 use bonobo_exception_get_text for more friendly warnings.
14 * cspi/spi.c (Obj_Add): move into spi_main & rename
15 spi_object_add; kill spi.c
18 (deregisterGlobalEventListener),
19 (deregisterGlobalEventListenerAll),
20 (registerGlobalEventListener): fix exception leaks.
22 * cspi/spi_main.c (spi_exception): impl. helper, so we
23 don't leak exceptions.
25 * cspi/spi_selection.c
26 (AccessibleSelection_deselectSelectedChild): return the
29 * cspi/spi_main.c (spi_ev): impl; hack - gack.
30 (spi_registry): ditto.
31 (SPI_init): guard against double inits.
33 * cspi/*.c: use spi_ev (), and spi_registry () where
34 appropriate - a temporary hack until we have something
35 better. Use spi_object_add
37 2001-11-22 Michael Meeks <michael@ximian.com>
39 * cspi/Makefile.am: re organise, install the headers.
41 * cspi/*.h: add G_BEGIN/END_DECLS
43 2001-22-11 Bill Haneman <bill.haneman@sun.com>
46 Added non-preemptive keylistener for key events with no modifiers
47 and shift-only modifier.
49 * libspi/keystrokelistener.c:
50 Removed some verbose diagnostics printout.
52 * cspi/spi_registry.c:
53 Fixed a bug that caused all key listeners to be registered as
56 * libspi/deviceeventcontroller.c:
57 Fixed bug that caused XGrabKey (preemptive key grab) to be called
58 for non-preemptive key masks.
61 2001-22-11 Bill Haneman <bill.haneman@sun.com>
63 * docs/reference/idl/at-spi-idl-docs.sgml:
64 * docs/reference/idl/at-spi-idl-sections.txt:
65 * docs/reference/idl/at-spi-idl-overrides.txt:
68 * docs/reference/Makefile.am:
69 removed idl from SUBDIRS until we can figure a way to get gtk-doc
70 to scan the IDL files :-(
75 Added .cvsignore files.
77 2001-21-11 Bill Haneman <bill.haneman@sun.com>
79 * libspi/deviceeventcontroller.c:
80 * libspi/keystrokelistener.c:
82 * cspi/spi_registry.c:
83 Added filters for KeySets, KeyEventSeq, and event types to key
84 event dispatching, so listeners should only receive those events
85 that they requested :-)
87 2001-21-11 Bill Haneman <bill.haneman@sun.com>
92 * docs/reference:Makefile.am:
93 * docs/reference/cspi:
94 * docs/reference/cspi:Makefile.am:
95 * docs/reference/cspi:tmpl:
96 * docs/reference/cspi:tmpl:*.sgml:
98 * docs/reference/idl:Makefile.am:
99 * docs/reference/idl:at-spi-idl-sections.txt:
100 * docs/reference/idl:at-spi-idl-docs.sgml:
101 * docs/reference/idl:tmpl:
102 * docs/reference/idl:tmpl:*.sgml:
104 Restructured docs directory to allow separate 'reference' docs
105 section, and forked idl and cspi docs. Added the sgml template
106 files to CVS. Added the first sections/structural sgml for the
109 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
111 * configure.in, libspi/Makefile.am: find libXtst.
113 2001-11-21 Michael Meeks <michael@ximian.com>
115 * test/accessx-gui.c: s/spi_value/value/ - doh.
117 * libspi/base.[ch]: add.
119 2001-18-11 Bill Haneman <bill.haneman@sun.com>
121 * idl/Accessible.idl:
122 * idl/Application.idl:
125 Started gtk-doc cleanup on IDL.
127 * libspi/deviceeventcontroller.c:
128 Added and connected non-preemptive key notification from the
129 toolkits (in addition to the pre-emptive support from XServer
130 which we had before, but which causes 'focus flashing'). Filters
131 are presently limited to key modifiers and global/non-global,
132 KeySets are presently ignored, as are KeyEvent masks.
134 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
135 structs into the persistant structure rather than just storing
136 pointers to things that might not persist across servant
139 The XGrabKey call now does async keygrabs, because synchronous
140 ones were deadlocking with GDK_event code in a very nasty way.
142 Added boolean to internal method notify_keylisteners, to indicate
143 whether the event came from the 'toolkit source' or the 'global
144 (XServer) source' - this is used in the notification process to
145 determine which listeners to send the event to.
147 deviceeventcontroller.c is now warning-free.
150 Fixed regression in application de-registration.
151 Also fixed some really brain-dead weirdness having to do with
152 event dispatching - event structs are now duplicated before being
153 re-marshalled in the dispatch to listeners. This also fixes a
154 Solaris build problem.
157 2001-20-11 Michael Meeks <michael@ximian.com>
160 (impl_accessibility_registry_deregister_global_event_listener):
163 * libspi/deviceeventcontroller.c
164 (spi_device_event_controller_check_key_event): return
165 FALSE on no virtual method.
167 * libspi/*..h: make includes work on a correctly pathed install.
169 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
171 * libspi/application.h: kill unused ( and whacked out )
172 gboolean *spi_application_set_id (AtkObject *app, long id);
174 2001-20-11 Michael Meeks <michael@ximian.com>
176 * libspi/*.[ch]: further convert to bonobo's type func
177 macros, remove redundnant casts etc.
179 * libspi/text.c s/accessibility_text/spi_text/g,
180 re-order to de-cruft.
182 * libspi/hypertext.c: re-order to kill a huge slew
183 of redundant forward decls.
185 * libspi/relation.c: ditto.
187 * libspi/image.c: ditto.
189 * */.cvsignore: update
191 2001-20-11 Michael Meeks <michael@ximian.com>
193 * libspi/deviceeventcontroller.c
194 (_controller_register_with_devices): use g_getenv,
195 kill stdlib.h include.
197 * libspi/keystrokelistener.c
198 (spi_keystroke_listener_get_type): kill
199 (spi_keystroke_listener_class_init),
200 (spi_keystroke_listener_init): rename to this.
202 * libspi/text.c (impl_getAttributes): fix warning / bug.
204 * libspi/*.[ch]: more headers, includes and over commenting.
206 2001-20-11 Michael Meeks <michael@ximian.com>
208 * libspi/*.[ch]: fixup headers, includes and over commenting.
210 * libspi/image.c (impl__get_imageDescription): const
211 correctness warning fix. remove redundant casting.
213 * libspi/table.c (impl_getRowDescription): ditto.
214 (impl_getColumnDescription): ditto.
216 * libspi/libspi.h: add.
218 2001-19-11 Michael Meeks <michael@ximian.com>
220 * libspi/editabletext.c (impl_setAttributes): fix warnings.
222 * libspi/component.c (accessibility_component_get_type):
223 rename to (spi_component_get_type): and macroify.
224 (accessibility_component_init): rename to
225 (spi_component_init): this
226 (accessibility_component_class_init): rename to
227 (spi_component_class_init): this
229 * libspi/action.c (spi_action_get_type): kill, use the macro.
231 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
234 * libspi/application.c (spi_application_object_event_listener),
235 (impl_accessibility_application_register_object_event_listener):
236 warning fixes / const understanding updates.
238 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
241 2001-18-11 Bill Haneman <bill.haneman@sun.com>
243 * libspi/spi_accessible.c: Added docs and C bindings for
244 AccessibleStateSet. (No implementations yet). Documentation
245 coverage for C bindings now 100%. Made docs for event listeners
250 boolean notifyListenersSync (in DeviceEventListener listener,
251 in DeviceEvent event);
253 oneway void notifyListenersAsync (in DeviceEventListener listener,
254 in DeviceEvent event);
256 Added DeviceEventListener and DeviceEvent structs (may deprecate
257 KeyStroke and KeystrokeListener in favor of this generic
258 event/listener framework for devices).
260 * libspi/deviceeventcontroller.c:
262 Changed some key listener code to take masks, etc., and paved the
263 way for integration of toolkit/non-preemptive key events. Changed
264 signatures of some internal methods.
266 * at-bridge/bridge.c:
267 Fixed regression connecting to interface signals, apparently
268 caused by GTK+ changes.
270 Added an internal bridge_state_listener to deal with
271 property-change:accessible-state signals.
273 Changed the key_listeners GList to store structs (including masks,
274 etc.) instead of just CORBA_Objects (required for full
275 implementation of key listener API).
277 Connected the bridge to all currently supported Atk signals.
278 Events now supported:
279 object:property-change
280 object:property-change:accessible-name
281 object:property-change:accessible-state
282 object:property-change:accessible-description
283 object:property-change:accessible-parent
284 object:property-change:accessible-value
285 object:property-change:accessible-role
286 object:property-change:accessible-table-caption
287 object:property-change:accessible-table-column-description
288 object:property-change:accessible-table-column-header
289 object:property-change:accessible-table-row-description
290 object:property-change:accessible-table-row-header
291 object:property-change:accessible-table-summary
292 object:children-changed
293 object:visible-data-changed
294 object:selection-changed
295 object:text-selection-changed
297 object:text-caret-moved
301 object:column-inserted
302 object:column-reordered
303 object:column-deleted
306 2001-16-11 Bill Haneman <bill.haneman@sun.com>
308 * libspi/hyperlink.c,h:
309 Fixed some broken stuff in hyperlink.
313 * cspi/spi_accessible.c:
314 Initial implementations of AccessibleRelation methods, and docs.
316 * libspi/accessible.c:
317 Fixed a bug that caused SEGV if an accessible
318 object's description is NULL, and a client
319 requests it. An empty string is now returned.
321 * cspi/spi_editabletext.c:
322 * cspi/spi_hypertext.c:
324 * cspi/spi_hyperlink.c:
328 Doc coverage now 95%.
330 2001-16-11 Bill Haneman <bill.haneman@sun.com>
332 One last namespacing revision:
333 * libspi/accessibleeventlistener.[ch]:
334 Renamed SpiAccessibleEventListener to SpiEventListener,
335 (no need for two namespaces ;-)
337 And lots of documentation fixes:
339 * docs/at-spi-docs.sgml:
340 Fixed 'underscore vs. hyphen' bug that was preventing
341 the gtk-doc API docs from being automatically generated.
344 * cspi/spi-listener.h
346 * cspi/spi_accessible.c
348 * cspi/spi_application.c
349 * cspi/spi_component.c
350 * cspi/spi_editabletext.c
352 * cspi/spi_hypertext.c
354 * cspi/spi_registry.c
355 * cspi/spi_selection.c
359 * docs/at-spi-docs.sgml
360 * docs/at-spi-sections.txt
362 Added and fixed up gtk-doc documentation in cspi.
364 Interfaces now (fully) documented (subject to revision and enhancement):
366 Event Listener Support
368 AccessibleApplication
372 AccessibleEditableText
379 AccessibleRelationSet
384 2001-14-11 Bill Haneman <bill.haneman@sun.com>
386 * at-bridge/bridge.c:
387 Initial work for toolkit-level key snooper connection by bridge.
392 New typedefs and fixes to support new namespacing, and cleaner
393 separation of cspi bindings from libspi bonobo implementation.
394 Removed inconsistent and extraneous Spi* namespace prefix that
395 had crept into cspi headers.
396 Lots of comment fixes that sed had missed.
398 * cspi/spi-roletypes.h:
399 * cspi/spi-statetypes.h:
400 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
401 to AccessibleRoleType.
403 * libspi/accessibleeventlistener.h:
404 Fixed minor namespacing weirdness.
406 * libspi/deviceeventcontroller.c:
407 Reordered some internal API for device listeners.
408 Changed the key registry final boolean to 'is_system_global'
409 rather than 'is_synchronous', which is more descriptive of its
411 Added spi_device_event_controller_new().
412 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
414 * libspi/keystrokelistener.[ch]:
415 Namespaced KeystrokeListener to SpiKeystrokeListener.
416 Changed uses of keymasks to use SPI_ prefix, and did other
420 Namespaced keymask constants with SPI_ prefix.
423 Some warning fixes, and knock-on fixes from namespace changes.
426 Added rules for accessx-gui test program.
428 * test/accessx-gui.c:
429 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
430 utility. It doesn't actually use at-spi, but it's still cool and
433 * test/keysynth-demo.c:
437 Fixes so that these test clients work properly with the namespaced
438 libraries. (Incompletely tested for technical reasons, fixes may follow)
441 2001-13-11 Michael Meeks <michael@ximian.com>
443 * libspi/application.c
444 (impl_accessibility_application_get_version),
445 (impl_accessibility_application_get_toolkit_name):
447 (impl_accessibility_application_set_id),
448 (impl_accessibility_application_get_id): remove
449 redundant casting code.
451 * libspi/action.c (impl_getDescription): fix warnings.
453 * libspi/accessible.c
454 (impl_accessibility_accessible_get_parent),
455 (impl_accessibility_accessible_get_child_at_index),
456 (impl_accessibility_accessible_get_state),
457 (impl_accessibility_accessible_get_relation_set):
458 warning fixes & include action.h
460 2001-13-11 Michael Meeks <michael@ximian.com>
462 * *.[ch] fix bits I screwed up:
464 s/([^ \tb(\*\&\?\",])spi_/\1/g;
465 s/([^ \tb(\*\&\?\",])Spi/\1/g;
467 2001-13-11 Michael Meeks <michael@ximian.com>
469 * *.[ch] Namespace libspi into spi_ and Spi.
471 2001-13-11 Michael Meeks <michael@ximian.com>
473 * Makefile.am: dist & install at-spi-1.0.pc
475 * libspi/Makefile.am: install into at-spi-1.0
477 * idl/Makefile.am (idldir): install into at-spi-1.0
479 * at-spi-1.0.pc.in: add.
481 * configure.in: build it.
483 2001-12-11 Bill Haneman <bill.haneman@sun.com>
485 * test/keysynth-demo.c:
486 Use a 'realize' signal-handler to set the WM properties for
487 the virtual keyboard, rather than making it a "POPUP" type
488 override-redirect window (thanks to anders carlsson for that
491 2001-11-11 Bill Haneman <bill.haneman@sun.com>
494 * test/keysynth-demo.c:
495 Added new test of key synthesis, which creates a simple
496 (mouse-operated) onscreen keyboard. It inserts key events into
497 the currently-focused window, thus it does not grab keyboard focus
500 * cspi/spi_registry.c:
501 Added C binding for AT-SPI generateKeyEvent.
503 * libspi/deviceeventcontroller.c:
504 Added call to XFilterEvent so that key listener works with XIM (we
505 hope). Added event_synth_type to generateKeyEvent, so that we can
506 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
507 synthesize a press/release pair for KeySyms.
509 2001-11-09 Bill Haneman <bill.haneman@sun.com>
511 * libspi/Makefile.am:
512 * registryd/Makefile.am:
513 (temporary) hack to include libXtst in libspi and registryd.
514 (Needed for keystroke synthesis, see below).
517 Improved API for registerKeystrokeListener, in accordance with
518 discussions with Gnopernicus team and X server research.
521 * libspi/deviceeventcontroller.c:
522 * libspi/accessible.c:
523 * libspi/keystrokelistener.c:
524 Changes and fixes to support keylisteners for potentially
525 consumed key events (that is, 'passive grabs').
526 Added implementation for generateKeyEvent() [untested].
529 Changes to registerKeystrokeListener() API, as above.
530 Added deregisterGlobalEventListenerAll(), and
531 deregisterKeystrokeListener(), which are needed for clean exit of
533 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
534 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
536 * cspi/spi_registry.c:
537 Added implementations of function prototypes mentioned above.
539 * registryd/registryd.c:
540 Added the key listener event source as a g_timeout(), to allow
541 receipt of key events that are not caught by GDK (since GDK
542 doesn't support passive keygrabs, this was necessary).
545 Changed to attach a keylistener to 'Alt' keys, and
546 respond to the following keycommands: Alt-M (toggle magnifier);
547 Alt-F (toggle speech); Alt-Q (quit).
548 Added an exit routine to deregister the listeners, and a key
549 listener that prints some key info to the console when a key
550 matches the listener mask (and is thus received by the listener).
552 * util/idl/Magnifier.idl:
553 Changes to magnifier API to support multiple zoom regions,
554 non-uniform scaling in x and y, markDirty, and a host of other
555 features that would be useful to magnification.
560 * util/mag_control.c:
562 Source code changes to support the above IDL changes.
565 As above, and also changes to use a (slower) generic conversion
566 path for colormap conversions, since the fast RGB conversions have been
567 reported to fail for 16-bit displays.
569 2001-10-26 Michael Meeks <michael@ximian.com>
571 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
573 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
575 * at-bridge/Makefile.am: fix LDFLAGS.
577 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
579 * at-bridge/bridge.c:
580 Re-worked listeners for toolkit events, now we have signal
581 and property listeners. Added a private method
582 register_atk_event_listeners(), which registers with the
583 various atk and gtk signals we need to monitor in order to emit
585 Added emission hook for AtkObject:property-change events, to
586 support the 'property listeners'.
587 Fixed some alloc()s of Accessibility_Event structs to use CORBA
590 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
591 which emit warnings and exit, respectively, if CORBA errors occur
592 during remote calls, and we now use these methods to check most of
593 our CORBA calls in the C bindings.
595 * cspi/spi_accessible.c:
596 Changed AccessibleSelection_refSelectedChild() to
597 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
598 now increment refcounts.
600 * cspi/spi_component.c:
601 Fixed some long pointer casts (dangerous!) to pass pointers to
602 CORBA_longs of the proper type to the CORBA stubs, and copy the
603 data into the longs that were passed into the C bindings code.
605 * at-bridge/bridge.c:
607 * libspi/accessible.c:
608 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
609 hyperlinks, AtkHyperlink is an object type.
611 * libspi/application.c:
612 Added various conversions to and from "generic" event types and
613 atk-specific types; this is really part of the 'bridge'
614 implementation but is valid for all AtkObject-based accessibility
617 * libspi/editabletext.c:
618 Fixed nasty bug wherein editable text's finalize method was
619 unref'ing tha AtkObject reference that the text parent class was
620 about to unref _again_. There was also a nasty inheritance bug
621 that meant that the AccessibleEditableText class was corrupt.
623 * libspi/selection.c:
624 Provided implementations for some selection API that was broken.
626 * idl/Application.idl:
627 Added registerObjectEventListener () method.
630 Fixed a number of return values that were Bonobo_Unknowns from
631 bonobo_object_corba_objref(), which I
632 forgot to dup before returning. Changed instances of
633 bonobo_object_corba_objref (bonobo_object(o)) to
634 BONOBO_OBJREF(o), for concision and clarity.
636 <2001-10-13 Louise Miller <louise.miller@sun.com>
638 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
639 idl/Event.idl, idl/Registry.idl
640 Changed these files to include Bonobo_Unknown.idl instead
643 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
645 * libspi/component.c libspi/component.h:
646 Fixed typo. Added assertions for object checks in
647 AccessibleComponent code.
649 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
651 * idl/Accessible.idl:
652 Added 'isEqual (Accessible *object)'
653 method for Accessible. (Not Yet Implemented).
656 Changed signature of registerKeystrokeListener() to
657 take a KeySet and KeyEventSeq so that specific keys and event
658 types could be requested for monitoring, and added a flag
659 is_synchronous so that either synchronous or asynchronous
660 notification could be requested. (However this is not all
661 implemented yet). This also meant adding two new typedefs,
662 KeyEventSeq and KeySet.
665 Added two new relations, RELATION_TOOLTIP_FOR and
666 RELATION_LEAFNODE_OF.
669 Added new state, STATE_HAS_TOOLTIP.
671 * libspi/text.c, editabletext.c:
672 Added new assertions to all casts of bonobo-objects from
673 CORBA servants, to prevent Text API calls on non-text objects.
674 Changed suspect casts of int-pointer types, so that we
675 always send a valid CORBA_long pointer to the CORBA APIs that use
676 in/out long parameters. We then have to copy from the CORBA_long
677 into the regular long or int for return to the C bindings, or
678 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
681 * libspi/deviceeventcontroller.c:
682 Cleaned these sources up.
684 Changed return type for getCharacterAtOffset to
685 CORBA_unsigned_long, to allow for 32-bit characters.
688 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
692 Fixed 'make dist' so that distro compiles...
695 * cspi/spi-listener.c:
696 KeystrokeListenerCB now returns a boolean.
698 Added KeyEventType struct, and KeyStroke.
699 Also added createKeystrokeListener(),
700 KeystrokeListener_addCallback(),
701 KeystrokeListener_removeCallback(), and added a keymask to
702 registerKeystrokeListener().
703 * cspi/spi_accessible.c:
704 Changed numerous return types for interfaces from
705 AccessibleComponent to Accessible<InterfaceName>; this was
706 probably a cut-and-paste error.
708 Implementations of new KeystrokeListener api (from spi.h,
711 Changes to key modifier mapping.
712 Created ControllerEventMask struct.
713 Made DeviceEventController derive from Bonobo::Unknown.
715 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
716 * libspi/deviceeventcontroller.c:
717 Added a number of new internal (private) methods.
718 * libspi/editabletext.c:
719 * libspi/editabletext.h:
720 Fixed a number of bugs related to the fact that
721 editabletext inherits from text. Fixed the EditableText struct,
722 the init() call, and use correct casts when calling Text methods
723 from an EditableText object. Removed (duplicate) atko from the
724 EditableText structure, we use the one in the parent Text
725 structure via the casts mentioned above.
726 * libspi/keystrokelistener.[ch]:
728 Changes in support of keyboard handling (above).
730 Keyboard handling, though partly functional, is still not
731 recommended for at-spi client use as there is considerable
735 Changed some places where pointers to various int types
736 are cast to be pointers to CORBA_long types and vice-versa:
737 pointer casting is not safe so we pass pointers of the correct
738 types and then cast the result before putting it into the target
741 * libspi/text.h: minor typos corrected.
743 We now speak not only the name of a Text element, but the
744 first sentence of its content, when it receives focus.
745 I also changed the text compression to 75% from 50%.
746 * util/Accessibility_Util.server.in:
747 Changed the default magnifier type to be a 3x vertical
748 splitscreen magnifier (was previously a 2x horizontal one).
750 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
752 * libspi/keystrokelistener.h:
753 * libspi/keystrokelistener.c:
754 Initial functional implementations of KeystrokeListener.
757 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
759 Fixed string handling for NULL strings in libspi.
760 Added spi_freeString to free strings returned by C bindings.
762 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
764 * libspi/keystrokelistener.h:
765 * libspi/keystrokelistener.c:
766 Began (no-op) implementations of KeystrokeListener
768 * libspi/deviceeventcontroller.c:
769 * libspi/deviceeventcontroller.h:
770 Began creating implementations of DeviceEventController,
771 to handle keystroke and mouse event listening and
773 * libspi/accessible.c:
774 Stubbed-in the implementations for
775 Accessibility_Accessible_getState and
776 Accessibility_Accessible_getRelationSet.
778 Improved de-registration process and fixed some bugs,
779 deregistration now works correctly.
781 Added initialization of applications list (to NULL).
783 Reduced speech compression from 0.5 to 0.7, for demo.
784 Changed call to gdk_window_set_decorations()
785 to gtk_window_set_decorated().
786 * at-bridge/bridge.c:
787 Bridge now deregisters when app exits, via
788 registration of a cleanup function
789 with the g_atexit() call.
790 Required making 'app' static, renamed 'this_app'.
791 Fixed broken use of bonobo_init, passing argv wrongly.
793 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
797 Created a new directory for
798 accessibility-related utilities, primarily for
799 testing and demo purposes, but with possible
806 Onscreen magnifier utility that
807 is implemented as a bonobo service.
811 Client-side support (simple C bindings)
812 for Magnification service
814 * util/mag_control.c:
815 Client program example for
816 Magnification service
818 * util/Accessibility_Magnifier.server.in:
819 Bonobo-activation file for the
820 Magnification service.
823 * util/idl/Magnifier.idl:
824 IDL defining the bonobo Magnification
828 Modifications to use the bonobo-activated magnifier
829 above, in place of trying to connect to an existing
830 magnifier that uses socket-listening IPC.
832 If env variable MAGNIFIER is set, a magnifier service
833 will be started if one does not exist.
835 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
836 * at-bridge/bridge.c:
837 applied patch from Marc to build and run
838 against new glib and gtk+ (seemed like a change
839 to bonobo_init signature was made ?)
841 made festival-server support turned off by default.
842 Added support for a simple magnifier (off by default)
843 which will be added to a 'util' directory later.
844 * at-bridge/Makefile.am:
845 Changed "application.h" header from a 'source'
846 to a 'dependency' of libat-bridge.
848 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
856 Added interface implementation c files to list of
857 includes so they are included in libcspi.
860 Changed prototype of AccessibleAction_doAction to return a
862 Changed prototype of AccessibleTable_getCaption to
863 return an Accessible.
864 Changed prototype of AccessibleTable_getSelectedRows
865 and AccessibleTable_getSelectedColumns to
866 return a long (returns the number of selected rows
867 or columns respectively).
868 Changed name of AccessibleText_refRunAttributes to
869 AccessibleText_getAttributes.
870 Changed prototype of AccessibleText_getCharacterExtents to
871 return a void rather than a boolean.
872 Added support for a AccessibleCoordType parameter
873 specifying what type of coordinates are desired.
874 Added an AccessibleCordType parameter to
875 AccessibleText_getPointAtOffset.
877 * cspi/spi_accessible.c:
878 Added code to return the outstanding interfaces from
879 Accessible_queryInterface.
883 Corrected call to getNActions to call the c binding
886 * cspi/spi_editabletext.c:
888 Changed name from setRunAttributes to setAttributes.
890 * cspi/spi_hyperlink.c:
892 Changed call to getNAnchors to correctly call the c
893 binding for an attribute.
895 * cspi/spi_hypertext.c:
897 Changed getImageDescription to correctly call the
898 binding for an attribute.
900 * cspi/spi_selection.c:
901 Changed getNSelectedChildren to correctly call the c
902 binding for the attribute.
903 Changed refSelectedChild to getSelectedChild.
907 Changed getCaption to return an Accessible.
908 Fixed calls which retrieve attributes.
909 Changed refAt to getAccessibleAt.
910 Changed getNSelectedRows and getNSelectedColumns to
914 Changed getCharacterExtents and getPointAtOffset to accept an
917 Changed calls which retrieve attributes.
918 Changed refRunAttributes to getAttributes.
924 Changed n_anchors attribute to nAnchors to keep naming
925 convention consistent.
928 Made Table inherit from Bonobo::Unknown.
929 Added nSelectedColumns and nSelectedRows attributes.
932 Made Value inherit from Bonobo::Unknown.
934 * libspi/hyperlink.c:
935 Change for nAnchors attributte name change.
937 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
945 Added interface implementation c files to list of
946 includes so they are included in libcspi.
949 Changed prototype of AccessibleAction_doAction to return a
951 Changed prototype of AccessibleTable_getCaption to
952 return an Accessible.
953 Changed prototype of AccessibleTable_getSelectedRows
954 and AccessibleTable_getSelectedColumns to
955 return a long (returns the number of selected rows
956 or columns respectively).
957 Changed name of AccessibleText_refRunAttributes to
958 AccessibleText_getAttributes.
959 Changed prototype of AccessibleText_getCharacterExtents to
960 return a void rather than a boolean.
961 Added support for a AccessibleCoordType parameter
962 specifying what type of coordinates are desired.
963 Added an AccessibleCordType parameter to
964 AccessibleText_getPointAtOffset.
966 * cspi/spi_accessible.c:
967 Added code to return the outstanding interfaces from
968 Accessible_queryInterface.
972 Corrected call to getNActions to call the c binding
975 * cspi/spi_editabletext.c:
977 Changed name from setRunAttributes to setAttributes.
979 * cspi/spi_hyperlink.c:
981 Changed call to getNAnchors to correctly call the c
982 binding for an attribute.
984 * cspi/spi_hypertext.c:
986 Changed getImageDescription to correctly call the
987 binding for an attribute.
989 * cspi/spi_selection.c:
990 Changed getNSelectedChildren to correctly call the c
991 binding for the attribute.
992 Changed refSelectedChild to getSelectedChild.
996 Changed getCaption to return an Accessible.
997 Fixed calls which retrieve attributes.
998 Changed refAt to getAccessibleAt.
999 Changed getNSelectedRows and getNSelectedColumns to
1003 Changed getCharacterExtents and getPointAtOffset to accept an
1004 AccessibleCoordType.
1006 Changed calls which retrieve attributes.
1007 Changed refRunAttributes to getAttributes.
1012 * idl/Hyperlink.idl:
1013 Changed n_anchors attribute to nAnchors to keep naming
1014 convention consistent.
1017 Made Table inherit from Bonobo::Unknown.
1018 Added nSelectedColumns and nSelectedRows attributes.
1021 Made Value inherit from Bonobo::Unknown.
1023 * libspi/hyperlink.c:
1024 Change for nAnchors attributte name change.
1027 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
1029 implementations-- made server implementations own AtkObject pointers
1030 rather than their respective AtkInterrface pointers to fix
1031 refcounting. AtkHyperlink is still broken.
1033 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
1034 * cspi/spi_accessible.c:
1035 Added method Accessible_Role_getName(),
1036 and requisite string array (role_names).
1037 Added conversion string_from_corba_strin() call
1038 to Accessible_getName and _getDescription.
1039 * libspi/accessible.c:
1040 Added implementation for Accessible_getRole()
1042 Added festival support, used if environment variable
1045 2001-09-04 Bill Haneman <bill.haneman@sun.com>
1047 * at-bridge/bridge.c:
1048 Now allocate Accessibility_Event using
1049 Accessibility_Event__alloc() instead of g_new0().
1050 * libspi/accessibleeventlistener.c:
1051 Initialize AccessibleEventListener->callbacks to NULL.
1052 Fixed accessible__event_listener_init() param, changed to
1053 "AccessibleEventListener *" type.
1054 Changed a bonobo_object_release_unref() call to
1055 Accessibility_Accessible_unref().
1056 * libspi/listener.c:
1057 Changed Bonobo_Unknown_unref to (equivalent)
1058 Accessibility_Accessible_unref.
1059 * libspi/registry.c:
1060 Changed bonobo_object_release_unref to
1061 Accessibility_Accessible_unref.
1063 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
1066 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
1067 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
1068 spi-util.c spi-util.h
1069 Implementations for C bindings to remaining accessibility
1072 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
1075 changed return value of Action from void to boolean to
1076 bring in line with ATK.
1079 Changed getText funcions to return "out" start and end offsets.
1080 Changed getAttributes to take and offset and return the start
1081 and end offset of the attribute run.
1082 Changed getOffsetAtPoint and getCharacterExtents to take an
1083 enum describing whether coordinates are window or screen.
1086 libspi/action.c libspi/action.h libspi/editabletext.c
1087 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
1088 libspi/hypertext.c libspi/hypertext.h libspi/image.c
1089 libspi/image.h libspi/selection.c libspi/selection.h
1090 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
1091 libspi/value.c libspi/value.h
1092 Added server implementations for outstanding ATK interfaces
1093 not yet implemented.
1095 2001-09-04 Bill Haneman <bill.haneman@sun.com>
1098 Added (missing) getName() method.
1099 Made nActions an attribute.
1100 * idl/EditableText.idl:
1101 Changed order of params in setAttributes.
1102 * idl/Hyperlink.idl:
1103 Removed getAnchor, added getURI.
1105 Changed attributes to methods, for efficiency
1106 (so that getting extents can be done in one call)
1107 * idl/Selection.idl:
1108 Changed nSelectedChildren to attribute, and re-indented.
1109 * idl/Table.idl: changed nrows, ncolumns, caption, summary
1111 * idl/Text.idl: reformatted to match our coding style.
1112 (temporarily?) removed getRowColumnAtOffset().
1113 Changed text selection API to support multi-select and
1114 non-contiguous selections, as in ATK.
1115 * idl/Value.idl: changed some methods to attributes.
1117 2001-08-24 Mark McLoughlin <mark@skynet.ie>
1119 * libspi/listener.c(impl_notify_event):
1120 BonoboUnkown_unref the source instead
1121 of bonobo_object_release_unref - the ORB
1122 handles the releasing.
1124 * configure.in: require ORBit-2.3.94 for
1127 2001-08-21 Bill Haneman <bill.haneman@sun.com>
1129 Tagged CVS repository 'EA_1_0'.
1130 * README.EARLY_ACCESS:
1131 Alphabetized acknowledgements list, and
1133 Listed some known dependencies of at-spi.
1135 2001-08-20 Bill Haneman <bill.haneman@sun.com>
1137 * docs/at-spi-docs.sgml:
1138 * docs/at-spi-sections.txt:
1139 * docs/at-spi-overrides.txt: (Added zero-length file)
1140 Documentation improvements - gtk-doc should build
1141 docs for all implemented C bindings now.
1144 * cspi/spi.c: (New file)
1145 * cspi/spi_event.c: (New file)
1146 * cspi/spi_registry.c: (New file)
1147 * cspi/spi_accessible.c: (New file)
1148 * cspi/spi_application.c: (New file)
1149 * cspi/spi_component.c: (New file)
1150 Split spi_main.c into six parts, and included them from
1151 "spi.c". This is a bit of a hack, probably temporary,
1152 but required by gtk-doc, apparently.
1154 2001-08-20 Bill Haneman <bill.haneman@sun.com>
1157 * docs/at-spi-docs.sgml:
1158 * docs/at-spi-sections.txt:
1160 Initial checkins/modifications for gtk-doc generation.
1163 Added (missing) interface query methods to Accessible's C binding.
1165 Added GenericInterface type definition.
1167 Added query for AccessibleComponent interface to focus event handler.
1168 Added printout of bounding box for focussed component.
1169 * libspi/component.c:
1170 Added partial implementation for AccessibleComponent to C binding.
1171 * idl/Application.idl:
1172 * libspi/registry.c:
1173 * libspi/listener.c:
1174 * libspi/application.c:
1175 * libspi/application.h:
1176 Changed "ID" attribute type from string to long.
1178 2001-08-19 Bill Haneman <bill.haneman@sun.com>
1182 Made method naming consistent: methods taking object args
1183 start with uppercase, other methods (except those using
1184 acronyms) start with lowercase. Underscores delimit between
1185 object names and method names:
1186 SPI_init() - uppercase since it starts with an acronym.
1187 getDesktopCount () - lowercase start since no object param0.
1188 Accessible_getName() - uppercase object type name, studlyCaps method
1192 Added gtk-doc documentation for all currently implemented
1193 methods in the C bindings API.
1195 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1197 * Makefile.am : changed build order to build test last.
1200 Changed "createEventListener" to "CreateEventListener".
1201 * libspi/accessibleeventlistener.c :
1202 Bugfix for addition of callbacks.
1203 * test/Makefile.am :
1204 * test/simple-at.c :
1205 Added new test that uses the C bindings API.
1207 * libspi/listener.c :
1208 * libspi/registry.c :
1209 * libspi/accessibleeventlistener.c :
1210 * at-bridge/bridge.c :
1211 Renamed member "target" of Accessibility_Event to "source",
1212 which is more descriptive.
1215 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1219 * cspi/Makefile.am :
1220 Added makefile support for at-spi/cspi directory.
1223 * cspi/spi-listener.h : (NEW FILE)
1224 Added support for/use of spi-listener.h.
1226 C bindings now build successfully, with no warnings.
1227 * libspi/accessibleeventlistener.h : (NEW FILE)
1228 * libspi/accessibleeventlistener.c : (NEW FILE)
1229 * libspi/Makefile.am :
1230 Added new object type "AccessibleEventListener"
1231 which inherits from Listener, and allows attachment
1232 of in-process callbacks (so that a client with a listening
1233 object instance can add functionality to the local
1234 implementation, dynamically).
1236 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1238 * libspi/accessible.c:
1239 Add implementation for get_index_in_parent().
1241 Added #include of "spi-roletypes.h", and
1242 added enumerated type AccessibleCoordType.
1243 Added definition for KeystrokeListener (function type).
1246 * cspi/spi-statetypes.h :
1247 * cspi/spi-roletypes.h :
1249 Added these headers, used by spi.h.
1251 Added code (NOTE: not yet built by make).
1253 2001-08-18 Mark McLoughlin <mark@skynet.ie>
1255 * libspi/Makefile.am: generate imodule
1256 at the same time as other idl compiler
1259 2001-08-17 Bill Haneman <bill.haneman@sun.com>
1260 * libspi/registry.c :
1261 * libspi/application.c :
1262 * idl/Application.idl :
1263 Made registration with toolkit an application method,
1264 which is required since each app has its own toolkit static
1265 environment. Thus the bridge must register for
1266 notification of toolkit events from each application in turn.
1267 Toolkit notifications are now successfully registered for, and
1268 sent to the listening at client.
1270 Changed toolkit event string to use hyphens rather than underscores.
1271 * libspi/listener.c :
1272 listner now gives more info in debug mode - it reports the
1273 name of the event received, as well as the name of the source.
1276 2001-08-16 Bill Haneman <bill.haneman@sun.com>
1278 * libspi/registry.c :
1279 added more implementation for toolkit events.
1280 Fixed bug such that toolkit event registrations
1281 (via atk) use the whole event name string, not
1283 Removed a useless call to an ORBit_ method.
1284 * at-bridge/bridge.c :
1285 Removed unused local sbuf[] variable.
1287 We now register for Gtk:GtkWidget:button_press_event
1288 events as well as "focus:" events.
1290 Add some more API from Registry.idl that was missing,
1291 for keystroke listening, keystroke and mouse event
1292 synthesis, and enumeration of accessible desktops.
1294 2001-08-16 Michael Meeks <michael@ximian.com>
1296 * configure.in: use AM_GLIB_GNU_GETTEXT.
1298 * Makefile.am (SUBDIRS): kill intl.
1300 2001-08-15 Michael Meeks <michael@ximian.com>
1302 * registryd/Makefile.am: s/oaf/server/ relocate info file.
1304 * configure.in: upd.
1306 * configure.in: depend on a recent bonobo-activation that
1307 will find our server files ...
1309 2001-08-16 Bill Haneman <bill.haneman@sun.com>
1311 * libspi/accessible.c : accessible_new() :
1312 Now we add the Component interface via bonobo_object_add_interface,
1313 if the contained AtkObject implements AtkComponent.
1314 * libspi/accessible.h : now include "component.h"
1315 * libspi/component.h :
1316 * libspi/component.c : added files - implementation of
1317 bonobo wrapper object for Accessibility/Component
1318 * libspi/listener.c :
1319 Added test code to check for Accessibility/Component:1.0
1320 interface and report whether it is implemented by the
1322 * libspi/registry.c :
1323 Now we check for not only the hash of the whole event
1324 string before relaying the event, we also check the
1325 "minor" event string (without the detail string).
1326 This allows event listeners to be registered against
1327 all events of a certain major+minor type, or just
1328 against a specific major+minor+detail type.
1329 * libspi/accessible.c :
1330 Added implementations for Accessible:get_parent(),
1331 Accessible:getChildCount(), and Accessible:getChildAtIndex().
1332 * libspi/registry.c :
1333 * libspi/listener.c :
1334 Replaced calls to Accessibility_Accessible_ref() and
1335 Accessibility_Accessible_unref() with
1336 calls to bonobo_object_dup_ref() and
1337 bonobo_object_release_unref(), so that the CORBA object
1338 is dup-ed and released when relayed, as well as the bonobo object.
1340 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1342 * libspi/Makefile.am,
1343 registryd/Makefile.am,
1344 at-bridge/Makefile.am.
1345 test/Makefile.am, configure.in:
1346 reverse previous changes.
1348 * /idl/Image.idl: fix typo.
1350 * test/Makefile.am: put DEBUG_FLAGS
1353 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1355 * test/app.c: use argv[0] instead of
1358 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1360 * libspi/Makefile.am,
1361 registryd/Makefile.am,
1362 at-bridge/Makefile.am.
1363 test/Makefile.am, configure.in:
1364 cleanup, replace individual LIBS/CFLAGS with
1365 AT_COMMON_{LIBS|CFLAGS}.
1369 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1371 * configure.in, libspi/Makefile.am:
1372 Change IDL path checking for bonobo-activation
1375 2001-08-15 Bill Haneman <bill.haneman@sun.com>
1377 * registryd/registry.c : separated event listeners to use
1378 3 separate lists (focus, window, toolkit). Began testing
1379 event names against hashes before relaying events.
1380 * test/at.c : now register for events of type "focus:"
1381 * test/app.c : now generate events of type "focus:"
1382 * at-bridge/bridge.c : register with ATK for focus events,
1383 and we now relay those focus events to any "focus:" listeners.
1384 This now works with the bridge as a GTK_MODULE when running test/at.
1385 * libspi/registry.c :
1386 * libspi/listener.c :
1387 now we ref event sources before propagating, and unref on receipt.
1388 * libspi/registry.c :
1389 some changes to internal structs, to support event typestring hashes.
1390 * text/app.c : changed the way the appname is generated.
1391 * cspi : added directory that will hold the C bindings library for
1392 non-CORBA/bonobo-savvy clients.
1393 * cspi/spi.h : header file that contains the function prototypes for the C binding.
1394 * idl/Component.idl : added in parameter to indicate coord system for
1395 geometry-related calls.
1396 * idl/Hyperlink.idl : added readonly n_links attribute
1397 * idl/Image.idl : changed methods to attributes.
1399 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1401 * at-bridge/Makefile.am: link against
1402 ../libspi/libspi.la instead of -lspi.
1404 * at-spi/test/app.c: include
1405 bonobo-activation.h. Use a default appname
1406 if one is not provided.
1408 2001-08-14 Bill Haneman <bill.haneman@sun.com>
1410 * idl/Registry.idl : temporarily changed register_Application
1411 to oneway, to work around issue with initial registration
1413 * idl/Application.idl : changed attribute "id" from readonly
1414 to read-write, since it needs to be assigned by Registry.
1415 * registryd/registryd.c : added call to set application id
1417 * registryd/registry.c : changed de-registration procedure to
1418 use CORBA_Object_hash() to find matching object ref in application
1419 lists and listener lists.
1420 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
1421 began distinguishing between event types (work in progress).
1423 2001-08-13 Bill Haneman <bill.haneman@sun.com>
1426 * libspi/application.c:
1427 Added implementations for get/set id, get_toolkitName,
1429 * registryd/registryd.c :
1433 Converted from use of OAF to bonobo-activation.
1434 * libspi/desktop.h :
1435 * libspi/desktop.c :
1437 Removed references to atksimpleobject, since base atkobject
1438 implementation now provides functionality we need.
1439 * libspi/atksimpleobject.c :
1440 * libspi/atksimpleobject.h :
1445 * at-bridge/Makefile.am
1446 * at-bridge/bridge.c
1449 Added directory "bridge" and contents, and added dependencies
1450 in Makefile.am/configure.in.
1451 Initial checkin of "at-bridge".
1452 This code is a GTK_MODULE which automatically registers
1453 GTK+ apps with the accessibility registry, using an object
1454 reference to the root ATK object.
1456 2001-08-10 Mark McLoughlin <mark@skynet.ie>
1458 * po/Makefile.in.in: Remove. Again. If this
1459 doesn't get autogenerated - you need to update
1462 2001-08-07 Mark McLoughlin <mark@skynet.ie>
1464 * po/Makefile.in.in: Add. Again.
1466 2001-07-31 Bill Haneman <bill.haneman@sun.com>
1468 * libspi/accessible.c : added support for 'description' property.
1469 * libspi/accessible.c
1471 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
1472 (since the two are now equivalent in libbonobo)
1480 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
1481 Bonobo::Unknown as does Accessibility::Accessible.
1482 * idl/StreamableContent.idl : as above, and replaced internal InputStream
1483 interface with Bonobo::Stream, since it was redundant with it.
1484 (The Stream returned by a StreamableContext object is expected to
1485 implement only a subset of Bonobo::Stream)
1487 2001-07-28 Anders Carlsson <andersca@gnome.org>
1489 * libspi/accessible.c (accessible_object_finalize): Change
1490 g_free to g_object_unref since the AtkObject is a GObject.
1492 2001-07-30 Bill Haneman <bill.haneman@sun.com>
1494 * idl/Accessibility.idl: add new IDL files
1497 * idl/Action.idl: Definitions of actionable UI object
1498 * idl/Component.idl: Definitions of UI component geometry, etc.
1499 * idl/Hyperlink.idl: Defs of hyperlink behavior
1500 * idl/Image.idl: Def of accessible image
1501 * idl/Selection.idl: Definition of UI object with selectable children
1502 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
1503 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
1504 * idl/Text.idl: Interface defs for UI elements with complex textual content
1505 * idl/Value.idl: Definition of UI element that is a value controller or display
1507 2001-07-27 Michael Meeks <michael@ximian.com>
1509 * po/Makefile.in.in: remove autogenerated file from CVS.
1511 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
1514 * idl/Registry.idl: include guard.
1516 * idl/Accessibility.idl: Add, and include all the other IDL
1519 * idl/*.idl: remove mass of pragmas etc.
1521 2001-07-26 Michael Meeks <michael@ximian.com>
1523 * registryd/Makefile.am (registryd_SOURCES): remove
1526 2001-07-27 Mark McLoughlin <mark@skynet.ie>
1528 * libspi/.cvsignore, registryd/.cvsignore,
1529 test/.cvsignore: updated.
1531 * po/Makefile.in.in: gettext update.
1533 2001-07-25 Bill Haneman <bill.haneman@sun.com>
1535 * initial CVS checkin
1537 2001-06-29 Michael Meeks <michael@ximian.com>
1539 * configure.in: add AM_CONFIG_HEADER to gen config.h