1 2001-22-11 Bill Haneman <bill.haneman@sun.com>
4 Added non-preemptive keylistener for key events with no modifiers
5 and shift-only modifier.
7 * libspi/keystrokelistener.c:
8 Removed some verbose diagnostics printout.
10 * cspi/spi_registry.c:
11 Fixed a bug that caused all key listeners to be registered as
14 * libspi/deviceeventcontroller.c:
15 Fixed bug that caused XGrabKey (preemptive key grab) to be called
16 for non-preemptive key masks.
19 2001-22-11 Bill Haneman <bill.haneman@sun.com>
21 * docs/reference/idl/at-spi-idl-docs.sgml:
22 * docs/reference/idl/at-spi-idl-sections.txt:
23 * docs/reference/idl/at-spi-idl-overrides.txt:
26 * docs/reference/Makefile.am:
27 removed idl from SUBDIRS until we can figure a way to get gtk-doc
28 to scan the IDL files :-(
33 Added .cvsignore files.
35 2001-21-11 Bill Haneman <bill.haneman@sun.com>
37 * libspi/deviceeventcontroller.c:
38 * libspi/keystrokelistener.c:
40 * cspi/spi_registry.c:
41 Added filters for KeySets, KeyEventSeq, and event types to key
42 event dispatching, so listeners should only receive those events
43 that they requested :-)
45 2001-21-11 Bill Haneman <bill.haneman@sun.com>
50 * docs/reference:Makefile.am:
51 * docs/reference/cspi:
52 * docs/reference/cspi:Makefile.am:
53 * docs/reference/cspi:tmpl:
54 * docs/reference/cspi:tmpl:*.sgml:
56 * docs/reference/idl:Makefile.am:
57 * docs/reference/idl:at-spi-idl-sections.txt:
58 * docs/reference/idl:at-spi-idl-docs.sgml:
59 * docs/reference/idl:tmpl:
60 * docs/reference/idl:tmpl:*.sgml:
62 Restructured docs directory to allow separate 'reference' docs
63 section, and forked idl and cspi docs. Added the sgml template
64 files to CVS. Added the first sections/structural sgml for the
67 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
69 * configure.in, libspi/Makefile.am: find libXtst.
71 2001-11-21 Michael Meeks <michael@ximian.com>
73 * test/accessx-gui.c: s/spi_value/value/ - doh.
75 * libspi/base.[ch]: add.
77 2001-18-11 Bill Haneman <bill.haneman@sun.com>
80 * idl/Application.idl:
83 Started gtk-doc cleanup on IDL.
85 * libspi/deviceeventcontroller.c:
86 Added and connected non-preemptive key notification from the
87 toolkits (in addition to the pre-emptive support from XServer
88 which we had before, but which causes 'focus flashing'). Filters
89 are presently limited to key modifiers and global/non-global,
90 KeySets are presently ignored, as are KeyEvent masks.
92 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
93 structs into the persistant structure rather than just storing
94 pointers to things that might not persist across servant
97 The XGrabKey call now does async keygrabs, because synchronous
98 ones were deadlocking with GDK_event code in a very nasty way.
100 Added boolean to internal method notify_keylisteners, to indicate
101 whether the event came from the 'toolkit source' or the 'global
102 (XServer) source' - this is used in the notification process to
103 determine which listeners to send the event to.
105 deviceeventcontroller.c is now warning-free.
108 Fixed regression in application de-registration.
109 Also fixed some really brain-dead weirdness having to do with
110 event dispatching - event structs are now duplicated before being
111 re-marshalled in the dispatch to listeners. This also fixes a
112 Solaris build problem.
115 2001-20-11 Michael Meeks <michael@ximian.com>
118 (impl_accessibility_registry_deregister_global_event_listener):
121 * libspi/deviceeventcontroller.c
122 (spi_device_event_controller_check_key_event): return
123 FALSE on no virtual method.
125 * libspi/*..h: make includes work on a correctly pathed install.
127 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
129 * libspi/application.h: kill unused ( and whacked out )
130 gboolean *spi_application_set_id (AtkObject *app, long id);
132 2001-20-11 Michael Meeks <michael@ximian.com>
134 * libspi/*.[ch]: further convert to bonobo's type func
135 macros, remove redundnant casts etc.
137 * libspi/text.c s/accessibility_text/spi_text/g,
138 re-order to de-cruft.
140 * libspi/hypertext.c: re-order to kill a huge slew
141 of redundant forward decls.
143 * libspi/relation.c: ditto.
145 * libspi/image.c: ditto.
147 * */.cvsignore: update
149 2001-20-11 Michael Meeks <michael@ximian.com>
151 * libspi/deviceeventcontroller.c
152 (_controller_register_with_devices): use g_getenv,
153 kill stdlib.h include.
155 * libspi/keystrokelistener.c
156 (spi_keystroke_listener_get_type): kill
157 (spi_keystroke_listener_class_init),
158 (spi_keystroke_listener_init): rename to this.
160 * libspi/text.c (impl_getAttributes): fix warning / bug.
162 * libspi/*.[ch]: more headers, includes and over commenting.
164 2001-20-11 Michael Meeks <michael@ximian.com>
166 * libspi/*.[ch]: fixup headers, includes and over commenting.
168 * libspi/image.c (impl__get_imageDescription): const
169 correctness warning fix. remove redundant casting.
171 * libspi/table.c (impl_getRowDescription): ditto.
172 (impl_getColumnDescription): ditto.
174 * libspi/libspi.h: add.
176 2001-19-11 Michael Meeks <michael@ximian.com>
178 * libspi/editabletext.c (impl_setAttributes): fix warnings.
180 * libspi/component.c (accessibility_component_get_type):
181 rename to (spi_component_get_type): and macroify.
182 (accessibility_component_init): rename to
183 (spi_component_init): this
184 (accessibility_component_class_init): rename to
185 (spi_component_class_init): this
187 * libspi/action.c (spi_action_get_type): kill, use the macro.
189 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
192 * libspi/application.c (spi_application_object_event_listener),
193 (impl_accessibility_application_register_object_event_listener):
194 warning fixes / const understanding updates.
196 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
199 2001-18-11 Bill Haneman <bill.haneman@sun.com>
201 * libspi/spi_accessible.c: Added docs and C bindings for
202 AccessibleStateSet. (No implementations yet). Documentation
203 coverage for C bindings now 100%. Made docs for event listeners
208 boolean notifyListenersSync (in DeviceEventListener listener,
209 in DeviceEvent event);
211 oneway void notifyListenersAsync (in DeviceEventListener listener,
212 in DeviceEvent event);
214 Added DeviceEventListener and DeviceEvent structs (may deprecate
215 KeyStroke and KeystrokeListener in favor of this generic
216 event/listener framework for devices).
218 * libspi/deviceeventcontroller.c:
220 Changed some key listener code to take masks, etc., and paved the
221 way for integration of toolkit/non-preemptive key events. Changed
222 signatures of some internal methods.
224 * at-bridge/bridge.c:
225 Fixed regression connecting to interface signals, apparently
226 caused by GTK+ changes.
228 Added an internal bridge_state_listener to deal with
229 property-change:accessible-state signals.
231 Changed the key_listeners GList to store structs (including masks,
232 etc.) instead of just CORBA_Objects (required for full
233 implementation of key listener API).
235 Connected the bridge to all currently supported Atk signals.
236 Events now supported:
237 object:property-change
238 object:property-change:accessible-name
239 object:property-change:accessible-state
240 object:property-change:accessible-description
241 object:property-change:accessible-parent
242 object:property-change:accessible-value
243 object:property-change:accessible-role
244 object:property-change:accessible-table-caption
245 object:property-change:accessible-table-column-description
246 object:property-change:accessible-table-column-header
247 object:property-change:accessible-table-row-description
248 object:property-change:accessible-table-row-header
249 object:property-change:accessible-table-summary
250 object:children-changed
251 object:visible-data-changed
252 object:selection-changed
253 object:text-selection-changed
255 object:text-caret-moved
259 object:column-inserted
260 object:column-reordered
261 object:column-deleted
264 2001-16-11 Bill Haneman <bill.haneman@sun.com>
266 * libspi/hyperlink.c,h:
267 Fixed some broken stuff in hyperlink.
271 * cspi/spi_accessible.c:
272 Initial implementations of AccessibleRelation methods, and docs.
274 * libspi/accessible.c:
275 Fixed a bug that caused SEGV if an accessible
276 object's description is NULL, and a client
277 requests it. An empty string is now returned.
279 * cspi/spi_editabletext.c:
280 * cspi/spi_hypertext.c:
282 * cspi/spi_hyperlink.c:
286 Doc coverage now 95%.
288 2001-16-11 Bill Haneman <bill.haneman@sun.com>
290 One last namespacing revision:
291 * libspi/accessibleeventlistener.[ch]:
292 Renamed SpiAccessibleEventListener to SpiEventListener,
293 (no need for two namespaces ;-)
295 And lots of documentation fixes:
297 * docs/at-spi-docs.sgml:
298 Fixed 'underscore vs. hyphen' bug that was preventing
299 the gtk-doc API docs from being automatically generated.
302 * cspi/spi-listener.h
304 * cspi/spi_accessible.c
306 * cspi/spi_application.c
307 * cspi/spi_component.c
308 * cspi/spi_editabletext.c
310 * cspi/spi_hypertext.c
312 * cspi/spi_registry.c
313 * cspi/spi_selection.c
317 * docs/at-spi-docs.sgml
318 * docs/at-spi-sections.txt
320 Added and fixed up gtk-doc documentation in cspi.
322 Interfaces now (fully) documented (subject to revision and enhancement):
324 Event Listener Support
326 AccessibleApplication
330 AccessibleEditableText
337 AccessibleRelationSet
342 2001-14-11 Bill Haneman <bill.haneman@sun.com>
344 * at-bridge/bridge.c:
345 Initial work for toolkit-level key snooper connection by bridge.
350 New typedefs and fixes to support new namespacing, and cleaner
351 separation of cspi bindings from libspi bonobo implementation.
352 Removed inconsistent and extraneous Spi* namespace prefix that
353 had crept into cspi headers.
354 Lots of comment fixes that sed had missed.
356 * cspi/spi-roletypes.h:
357 * cspi/spi-statetypes.h:
358 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
359 to AccessibleRoleType.
361 * libspi/accessibleeventlistener.h:
362 Fixed minor namespacing weirdness.
364 * libspi/deviceeventcontroller.c:
365 Reordered some internal API for device listeners.
366 Changed the key registry final boolean to 'is_system_global'
367 rather than 'is_synchronous', which is more descriptive of its
369 Added spi_device_event_controller_new().
370 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
372 * libspi/keystrokelistener.[ch]:
373 Namespaced KeystrokeListener to SpiKeystrokeListener.
374 Changed uses of keymasks to use SPI_ prefix, and did other
378 Namespaced keymask constants with SPI_ prefix.
381 Some warning fixes, and knock-on fixes from namespace changes.
384 Added rules for accessx-gui test program.
386 * test/accessx-gui.c:
387 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
388 utility. It doesn't actually use at-spi, but it's still cool and
391 * test/keysynth-demo.c:
395 Fixes so that these test clients work properly with the namespaced
396 libraries. (Incompletely tested for technical reasons, fixes may follow)
399 2001-13-11 Michael Meeks <michael@ximian.com>
401 * libspi/application.c
402 (impl_accessibility_application_get_version),
403 (impl_accessibility_application_get_toolkit_name):
405 (impl_accessibility_application_set_id),
406 (impl_accessibility_application_get_id): remove
407 redundant casting code.
409 * libspi/action.c (impl_getDescription): fix warnings.
411 * libspi/accessible.c
412 (impl_accessibility_accessible_get_parent),
413 (impl_accessibility_accessible_get_child_at_index),
414 (impl_accessibility_accessible_get_state),
415 (impl_accessibility_accessible_get_relation_set):
416 warning fixes & include action.h
418 2001-13-11 Michael Meeks <michael@ximian.com>
420 * *.[ch] fix bits I screwed up:
422 s/([^ \tb(\*\&\?\",])spi_/\1/g;
423 s/([^ \tb(\*\&\?\",])Spi/\1/g;
425 2001-13-11 Michael Meeks <michael@ximian.com>
427 * *.[ch] Namespace libspi into spi_ and Spi.
429 2001-13-11 Michael Meeks <michael@ximian.com>
431 * Makefile.am: dist & install at-spi-1.0.pc
433 * libspi/Makefile.am: install into at-spi-1.0
435 * idl/Makefile.am (idldir): install into at-spi-1.0
437 * at-spi-1.0.pc.in: add.
439 * configure.in: build it.
441 2001-12-11 Bill Haneman <bill.haneman@sun.com>
443 * test/keysynth-demo.c:
444 Use a 'realize' signal-handler to set the WM properties for
445 the virtual keyboard, rather than making it a "POPUP" type
446 override-redirect window (thanks to anders carlsson for that
449 2001-11-11 Bill Haneman <bill.haneman@sun.com>
452 * test/keysynth-demo.c:
453 Added new test of key synthesis, which creates a simple
454 (mouse-operated) onscreen keyboard. It inserts key events into
455 the currently-focused window, thus it does not grab keyboard focus
458 * cspi/spi_registry.c:
459 Added C binding for AT-SPI generateKeyEvent.
461 * libspi/deviceeventcontroller.c:
462 Added call to XFilterEvent so that key listener works with XIM (we
463 hope). Added event_synth_type to generateKeyEvent, so that we can
464 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
465 synthesize a press/release pair for KeySyms.
467 2001-11-09 Bill Haneman <bill.haneman@sun.com>
469 * libspi/Makefile.am:
470 * registryd/Makefile.am:
471 (temporary) hack to include libXtst in libspi and registryd.
472 (Needed for keystroke synthesis, see below).
475 Improved API for registerKeystrokeListener, in accordance with
476 discussions with Gnopernicus team and X server research.
479 * libspi/deviceeventcontroller.c:
480 * libspi/accessible.c:
481 * libspi/keystrokelistener.c:
482 Changes and fixes to support keylisteners for potentially
483 consumed key events (that is, 'passive grabs').
484 Added implementation for generateKeyEvent() [untested].
487 Changes to registerKeystrokeListener() API, as above.
488 Added deregisterGlobalEventListenerAll(), and
489 deregisterKeystrokeListener(), which are needed for clean exit of
491 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
492 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
494 * cspi/spi_registry.c:
495 Added implementations of function prototypes mentioned above.
497 * registryd/registryd.c:
498 Added the key listener event source as a g_timeout(), to allow
499 receipt of key events that are not caught by GDK (since GDK
500 doesn't support passive keygrabs, this was necessary).
503 Changed to attach a keylistener to 'Alt' keys, and
504 respond to the following keycommands: Alt-M (toggle magnifier);
505 Alt-F (toggle speech); Alt-Q (quit).
506 Added an exit routine to deregister the listeners, and a key
507 listener that prints some key info to the console when a key
508 matches the listener mask (and is thus received by the listener).
510 * util/idl/Magnifier.idl:
511 Changes to magnifier API to support multiple zoom regions,
512 non-uniform scaling in x and y, markDirty, and a host of other
513 features that would be useful to magnification.
518 * util/mag_control.c:
520 Source code changes to support the above IDL changes.
523 As above, and also changes to use a (slower) generic conversion
524 path for colormap conversions, since the fast RGB conversions have been
525 reported to fail for 16-bit displays.
527 2001-10-26 Michael Meeks <michael@ximian.com>
529 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
531 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
533 * at-bridge/Makefile.am: fix LDFLAGS.
535 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
537 * at-bridge/bridge.c:
538 Re-worked listeners for toolkit events, now we have signal
539 and property listeners. Added a private method
540 register_atk_event_listeners(), which registers with the
541 various atk and gtk signals we need to monitor in order to emit
543 Added emission hook for AtkObject:property-change events, to
544 support the 'property listeners'.
545 Fixed some alloc()s of Accessibility_Event structs to use CORBA
548 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
549 which emit warnings and exit, respectively, if CORBA errors occur
550 during remote calls, and we now use these methods to check most of
551 our CORBA calls in the C bindings.
553 * cspi/spi_accessible.c:
554 Changed AccessibleSelection_refSelectedChild() to
555 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
556 now increment refcounts.
558 * cspi/spi_component.c:
559 Fixed some long pointer casts (dangerous!) to pass pointers to
560 CORBA_longs of the proper type to the CORBA stubs, and copy the
561 data into the longs that were passed into the C bindings code.
563 * at-bridge/bridge.c:
565 * libspi/accessible.c:
566 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
567 hyperlinks, AtkHyperlink is an object type.
569 * libspi/application.c:
570 Added various conversions to and from "generic" event types and
571 atk-specific types; this is really part of the 'bridge'
572 implementation but is valid for all AtkObject-based accessibility
575 * libspi/editabletext.c:
576 Fixed nasty bug wherein editable text's finalize method was
577 unref'ing tha AtkObject reference that the text parent class was
578 about to unref _again_. There was also a nasty inheritance bug
579 that meant that the AccessibleEditableText class was corrupt.
581 * libspi/selection.c:
582 Provided implementations for some selection API that was broken.
584 * idl/Application.idl:
585 Added registerObjectEventListener () method.
588 Fixed a number of return values that were Bonobo_Unknowns from
589 bonobo_object_corba_objref(), which I
590 forgot to dup before returning. Changed instances of
591 bonobo_object_corba_objref (bonobo_object(o)) to
592 BONOBO_OBJREF(o), for concision and clarity.
594 <2001-10-13 Louise Miller <louise.miller@sun.com>
596 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
597 idl/Event.idl, idl/Registry.idl
598 Changed these files to include Bonobo_Unknown.idl instead
601 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
603 * libspi/component.c libspi/component.h:
604 Fixed typo. Added assertions for object checks in
605 AccessibleComponent code.
607 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
609 * idl/Accessible.idl:
610 Added 'isEqual (Accessible *object)'
611 method for Accessible. (Not Yet Implemented).
614 Changed signature of registerKeystrokeListener() to
615 take a KeySet and KeyEventSeq so that specific keys and event
616 types could be requested for monitoring, and added a flag
617 is_synchronous so that either synchronous or asynchronous
618 notification could be requested. (However this is not all
619 implemented yet). This also meant adding two new typedefs,
620 KeyEventSeq and KeySet.
623 Added two new relations, RELATION_TOOLTIP_FOR and
624 RELATION_LEAFNODE_OF.
627 Added new state, STATE_HAS_TOOLTIP.
629 * libspi/text.c, editabletext.c:
630 Added new assertions to all casts of bonobo-objects from
631 CORBA servants, to prevent Text API calls on non-text objects.
632 Changed suspect casts of int-pointer types, so that we
633 always send a valid CORBA_long pointer to the CORBA APIs that use
634 in/out long parameters. We then have to copy from the CORBA_long
635 into the regular long or int for return to the C bindings, or
636 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
639 * libspi/deviceeventcontroller.c:
640 Cleaned these sources up.
642 Changed return type for getCharacterAtOffset to
643 CORBA_unsigned_long, to allow for 32-bit characters.
646 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
650 Fixed 'make dist' so that distro compiles...
653 * cspi/spi-listener.c:
654 KeystrokeListenerCB now returns a boolean.
656 Added KeyEventType struct, and KeyStroke.
657 Also added createKeystrokeListener(),
658 KeystrokeListener_addCallback(),
659 KeystrokeListener_removeCallback(), and added a keymask to
660 registerKeystrokeListener().
661 * cspi/spi_accessible.c:
662 Changed numerous return types for interfaces from
663 AccessibleComponent to Accessible<InterfaceName>; this was
664 probably a cut-and-paste error.
666 Implementations of new KeystrokeListener api (from spi.h,
669 Changes to key modifier mapping.
670 Created ControllerEventMask struct.
671 Made DeviceEventController derive from Bonobo::Unknown.
673 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
674 * libspi/deviceeventcontroller.c:
675 Added a number of new internal (private) methods.
676 * libspi/editabletext.c:
677 * libspi/editabletext.h:
678 Fixed a number of bugs related to the fact that
679 editabletext inherits from text. Fixed the EditableText struct,
680 the init() call, and use correct casts when calling Text methods
681 from an EditableText object. Removed (duplicate) atko from the
682 EditableText structure, we use the one in the parent Text
683 structure via the casts mentioned above.
684 * libspi/keystrokelistener.[ch]:
686 Changes in support of keyboard handling (above).
688 Keyboard handling, though partly functional, is still not
689 recommended for at-spi client use as there is considerable
693 Changed some places where pointers to various int types
694 are cast to be pointers to CORBA_long types and vice-versa:
695 pointer casting is not safe so we pass pointers of the correct
696 types and then cast the result before putting it into the target
699 * libspi/text.h: minor typos corrected.
701 We now speak not only the name of a Text element, but the
702 first sentence of its content, when it receives focus.
703 I also changed the text compression to 75% from 50%.
704 * util/Accessibility_Util.server.in:
705 Changed the default magnifier type to be a 3x vertical
706 splitscreen magnifier (was previously a 2x horizontal one).
708 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
710 * libspi/keystrokelistener.h:
711 * libspi/keystrokelistener.c:
712 Initial functional implementations of KeystrokeListener.
715 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
717 Fixed string handling for NULL strings in libspi.
718 Added spi_freeString to free strings returned by C bindings.
720 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
722 * libspi/keystrokelistener.h:
723 * libspi/keystrokelistener.c:
724 Began (no-op) implementations of KeystrokeListener
726 * libspi/deviceeventcontroller.c:
727 * libspi/deviceeventcontroller.h:
728 Began creating implementations of DeviceEventController,
729 to handle keystroke and mouse event listening and
731 * libspi/accessible.c:
732 Stubbed-in the implementations for
733 Accessibility_Accessible_getState and
734 Accessibility_Accessible_getRelationSet.
736 Improved de-registration process and fixed some bugs,
737 deregistration now works correctly.
739 Added initialization of applications list (to NULL).
741 Reduced speech compression from 0.5 to 0.7, for demo.
742 Changed call to gdk_window_set_decorations()
743 to gtk_window_set_decorated().
744 * at-bridge/bridge.c:
745 Bridge now deregisters when app exits, via
746 registration of a cleanup function
747 with the g_atexit() call.
748 Required making 'app' static, renamed 'this_app'.
749 Fixed broken use of bonobo_init, passing argv wrongly.
751 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
755 Created a new directory for
756 accessibility-related utilities, primarily for
757 testing and demo purposes, but with possible
764 Onscreen magnifier utility that
765 is implemented as a bonobo service.
769 Client-side support (simple C bindings)
770 for Magnification service
772 * util/mag_control.c:
773 Client program example for
774 Magnification service
776 * util/Accessibility_Magnifier.server.in:
777 Bonobo-activation file for the
778 Magnification service.
781 * util/idl/Magnifier.idl:
782 IDL defining the bonobo Magnification
786 Modifications to use the bonobo-activated magnifier
787 above, in place of trying to connect to an existing
788 magnifier that uses socket-listening IPC.
790 If env variable MAGNIFIER is set, a magnifier service
791 will be started if one does not exist.
793 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
794 * at-bridge/bridge.c:
795 applied patch from Marc to build and run
796 against new glib and gtk+ (seemed like a change
797 to bonobo_init signature was made ?)
799 made festival-server support turned off by default.
800 Added support for a simple magnifier (off by default)
801 which will be added to a 'util' directory later.
802 * at-bridge/Makefile.am:
803 Changed "application.h" header from a 'source'
804 to a 'dependency' of libat-bridge.
806 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
814 Added interface implementation c files to list of
815 includes so they are included in libcspi.
818 Changed prototype of AccessibleAction_doAction to return a
820 Changed prototype of AccessibleTable_getCaption to
821 return an Accessible.
822 Changed prototype of AccessibleTable_getSelectedRows
823 and AccessibleTable_getSelectedColumns to
824 return a long (returns the number of selected rows
825 or columns respectively).
826 Changed name of AccessibleText_refRunAttributes to
827 AccessibleText_getAttributes.
828 Changed prototype of AccessibleText_getCharacterExtents to
829 return a void rather than a boolean.
830 Added support for a AccessibleCoordType parameter
831 specifying what type of coordinates are desired.
832 Added an AccessibleCordType parameter to
833 AccessibleText_getPointAtOffset.
835 * cspi/spi_accessible.c:
836 Added code to return the outstanding interfaces from
837 Accessible_queryInterface.
841 Corrected call to getNActions to call the c binding
844 * cspi/spi_editabletext.c:
846 Changed name from setRunAttributes to setAttributes.
848 * cspi/spi_hyperlink.c:
850 Changed call to getNAnchors to correctly call the c
851 binding for an attribute.
853 * cspi/spi_hypertext.c:
855 Changed getImageDescription to correctly call the
856 binding for an attribute.
858 * cspi/spi_selection.c:
859 Changed getNSelectedChildren to correctly call the c
860 binding for the attribute.
861 Changed refSelectedChild to getSelectedChild.
865 Changed getCaption to return an Accessible.
866 Fixed calls which retrieve attributes.
867 Changed refAt to getAccessibleAt.
868 Changed getNSelectedRows and getNSelectedColumns to
872 Changed getCharacterExtents and getPointAtOffset to accept an
875 Changed calls which retrieve attributes.
876 Changed refRunAttributes to getAttributes.
882 Changed n_anchors attribute to nAnchors to keep naming
883 convention consistent.
886 Made Table inherit from Bonobo::Unknown.
887 Added nSelectedColumns and nSelectedRows attributes.
890 Made Value inherit from Bonobo::Unknown.
892 * libspi/hyperlink.c:
893 Change for nAnchors attributte name change.
895 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
903 Added interface implementation c files to list of
904 includes so they are included in libcspi.
907 Changed prototype of AccessibleAction_doAction to return a
909 Changed prototype of AccessibleTable_getCaption to
910 return an Accessible.
911 Changed prototype of AccessibleTable_getSelectedRows
912 and AccessibleTable_getSelectedColumns to
913 return a long (returns the number of selected rows
914 or columns respectively).
915 Changed name of AccessibleText_refRunAttributes to
916 AccessibleText_getAttributes.
917 Changed prototype of AccessibleText_getCharacterExtents to
918 return a void rather than a boolean.
919 Added support for a AccessibleCoordType parameter
920 specifying what type of coordinates are desired.
921 Added an AccessibleCordType parameter to
922 AccessibleText_getPointAtOffset.
924 * cspi/spi_accessible.c:
925 Added code to return the outstanding interfaces from
926 Accessible_queryInterface.
930 Corrected call to getNActions to call the c binding
933 * cspi/spi_editabletext.c:
935 Changed name from setRunAttributes to setAttributes.
937 * cspi/spi_hyperlink.c:
939 Changed call to getNAnchors to correctly call the c
940 binding for an attribute.
942 * cspi/spi_hypertext.c:
944 Changed getImageDescription to correctly call the
945 binding for an attribute.
947 * cspi/spi_selection.c:
948 Changed getNSelectedChildren to correctly call the c
949 binding for the attribute.
950 Changed refSelectedChild to getSelectedChild.
954 Changed getCaption to return an Accessible.
955 Fixed calls which retrieve attributes.
956 Changed refAt to getAccessibleAt.
957 Changed getNSelectedRows and getNSelectedColumns to
961 Changed getCharacterExtents and getPointAtOffset to accept an
964 Changed calls which retrieve attributes.
965 Changed refRunAttributes to getAttributes.
971 Changed n_anchors attribute to nAnchors to keep naming
972 convention consistent.
975 Made Table inherit from Bonobo::Unknown.
976 Added nSelectedColumns and nSelectedRows attributes.
979 Made Value inherit from Bonobo::Unknown.
981 * libspi/hyperlink.c:
982 Change for nAnchors attributte name change.
985 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
987 implementations-- made server implementations own AtkObject pointers
988 rather than their respective AtkInterrface pointers to fix
989 refcounting. AtkHyperlink is still broken.
991 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
992 * cspi/spi_accessible.c:
993 Added method Accessible_Role_getName(),
994 and requisite string array (role_names).
995 Added conversion string_from_corba_strin() call
996 to Accessible_getName and _getDescription.
997 * libspi/accessible.c:
998 Added implementation for Accessible_getRole()
1000 Added festival support, used if environment variable
1003 2001-09-04 Bill Haneman <bill.haneman@sun.com>
1005 * at-bridge/bridge.c:
1006 Now allocate Accessibility_Event using
1007 Accessibility_Event__alloc() instead of g_new0().
1008 * libspi/accessibleeventlistener.c:
1009 Initialize AccessibleEventListener->callbacks to NULL.
1010 Fixed accessible__event_listener_init() param, changed to
1011 "AccessibleEventListener *" type.
1012 Changed a bonobo_object_release_unref() call to
1013 Accessibility_Accessible_unref().
1014 * libspi/listener.c:
1015 Changed Bonobo_Unknown_unref to (equivalent)
1016 Accessibility_Accessible_unref.
1017 * libspi/registry.c:
1018 Changed bonobo_object_release_unref to
1019 Accessibility_Accessible_unref.
1021 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
1024 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
1025 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
1026 spi-util.c spi-util.h
1027 Implementations for C bindings to remaining accessibility
1030 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
1033 changed return value of Action from void to boolean to
1034 bring in line with ATK.
1037 Changed getText funcions to return "out" start and end offsets.
1038 Changed getAttributes to take and offset and return the start
1039 and end offset of the attribute run.
1040 Changed getOffsetAtPoint and getCharacterExtents to take an
1041 enum describing whether coordinates are window or screen.
1044 libspi/action.c libspi/action.h libspi/editabletext.c
1045 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
1046 libspi/hypertext.c libspi/hypertext.h libspi/image.c
1047 libspi/image.h libspi/selection.c libspi/selection.h
1048 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
1049 libspi/value.c libspi/value.h
1050 Added server implementations for outstanding ATK interfaces
1051 not yet implemented.
1053 2001-09-04 Bill Haneman <bill.haneman@sun.com>
1056 Added (missing) getName() method.
1057 Made nActions an attribute.
1058 * idl/EditableText.idl:
1059 Changed order of params in setAttributes.
1060 * idl/Hyperlink.idl:
1061 Removed getAnchor, added getURI.
1063 Changed attributes to methods, for efficiency
1064 (so that getting extents can be done in one call)
1065 * idl/Selection.idl:
1066 Changed nSelectedChildren to attribute, and re-indented.
1067 * idl/Table.idl: changed nrows, ncolumns, caption, summary
1069 * idl/Text.idl: reformatted to match our coding style.
1070 (temporarily?) removed getRowColumnAtOffset().
1071 Changed text selection API to support multi-select and
1072 non-contiguous selections, as in ATK.
1073 * idl/Value.idl: changed some methods to attributes.
1075 2001-08-24 Mark McLoughlin <mark@skynet.ie>
1077 * libspi/listener.c(impl_notify_event):
1078 BonoboUnkown_unref the source instead
1079 of bonobo_object_release_unref - the ORB
1080 handles the releasing.
1082 * configure.in: require ORBit-2.3.94 for
1085 2001-08-21 Bill Haneman <bill.haneman@sun.com>
1087 Tagged CVS repository 'EA_1_0'.
1088 * README.EARLY_ACCESS:
1089 Alphabetized acknowledgements list, and
1091 Listed some known dependencies of at-spi.
1093 2001-08-20 Bill Haneman <bill.haneman@sun.com>
1095 * docs/at-spi-docs.sgml:
1096 * docs/at-spi-sections.txt:
1097 * docs/at-spi-overrides.txt: (Added zero-length file)
1098 Documentation improvements - gtk-doc should build
1099 docs for all implemented C bindings now.
1102 * cspi/spi.c: (New file)
1103 * cspi/spi_event.c: (New file)
1104 * cspi/spi_registry.c: (New file)
1105 * cspi/spi_accessible.c: (New file)
1106 * cspi/spi_application.c: (New file)
1107 * cspi/spi_component.c: (New file)
1108 Split spi_main.c into six parts, and included them from
1109 "spi.c". This is a bit of a hack, probably temporary,
1110 but required by gtk-doc, apparently.
1112 2001-08-20 Bill Haneman <bill.haneman@sun.com>
1115 * docs/at-spi-docs.sgml:
1116 * docs/at-spi-sections.txt:
1118 Initial checkins/modifications for gtk-doc generation.
1121 Added (missing) interface query methods to Accessible's C binding.
1123 Added GenericInterface type definition.
1125 Added query for AccessibleComponent interface to focus event handler.
1126 Added printout of bounding box for focussed component.
1127 * libspi/component.c:
1128 Added partial implementation for AccessibleComponent to C binding.
1129 * idl/Application.idl:
1130 * libspi/registry.c:
1131 * libspi/listener.c:
1132 * libspi/application.c:
1133 * libspi/application.h:
1134 Changed "ID" attribute type from string to long.
1136 2001-08-19 Bill Haneman <bill.haneman@sun.com>
1140 Made method naming consistent: methods taking object args
1141 start with uppercase, other methods (except those using
1142 acronyms) start with lowercase. Underscores delimit between
1143 object names and method names:
1144 SPI_init() - uppercase since it starts with an acronym.
1145 getDesktopCount () - lowercase start since no object param0.
1146 Accessible_getName() - uppercase object type name, studlyCaps method
1150 Added gtk-doc documentation for all currently implemented
1151 methods in the C bindings API.
1153 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1155 * Makefile.am : changed build order to build test last.
1158 Changed "createEventListener" to "CreateEventListener".
1159 * libspi/accessibleeventlistener.c :
1160 Bugfix for addition of callbacks.
1161 * test/Makefile.am :
1162 * test/simple-at.c :
1163 Added new test that uses the C bindings API.
1165 * libspi/listener.c :
1166 * libspi/registry.c :
1167 * libspi/accessibleeventlistener.c :
1168 * at-bridge/bridge.c :
1169 Renamed member "target" of Accessibility_Event to "source",
1170 which is more descriptive.
1173 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1177 * cspi/Makefile.am :
1178 Added makefile support for at-spi/cspi directory.
1181 * cspi/spi-listener.h : (NEW FILE)
1182 Added support for/use of spi-listener.h.
1184 C bindings now build successfully, with no warnings.
1185 * libspi/accessibleeventlistener.h : (NEW FILE)
1186 * libspi/accessibleeventlistener.c : (NEW FILE)
1187 * libspi/Makefile.am :
1188 Added new object type "AccessibleEventListener"
1189 which inherits from Listener, and allows attachment
1190 of in-process callbacks (so that a client with a listening
1191 object instance can add functionality to the local
1192 implementation, dynamically).
1194 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1196 * libspi/accessible.c:
1197 Add implementation for get_index_in_parent().
1199 Added #include of "spi-roletypes.h", and
1200 added enumerated type AccessibleCoordType.
1201 Added definition for KeystrokeListener (function type).
1204 * cspi/spi-statetypes.h :
1205 * cspi/spi-roletypes.h :
1207 Added these headers, used by spi.h.
1209 Added code (NOTE: not yet built by make).
1211 2001-08-18 Mark McLoughlin <mark@skynet.ie>
1213 * libspi/Makefile.am: generate imodule
1214 at the same time as other idl compiler
1217 2001-08-17 Bill Haneman <bill.haneman@sun.com>
1218 * libspi/registry.c :
1219 * libspi/application.c :
1220 * idl/Application.idl :
1221 Made registration with toolkit an application method,
1222 which is required since each app has its own toolkit static
1223 environment. Thus the bridge must register for
1224 notification of toolkit events from each application in turn.
1225 Toolkit notifications are now successfully registered for, and
1226 sent to the listening at client.
1228 Changed toolkit event string to use hyphens rather than underscores.
1229 * libspi/listener.c :
1230 listner now gives more info in debug mode - it reports the
1231 name of the event received, as well as the name of the source.
1234 2001-08-16 Bill Haneman <bill.haneman@sun.com>
1236 * libspi/registry.c :
1237 added more implementation for toolkit events.
1238 Fixed bug such that toolkit event registrations
1239 (via atk) use the whole event name string, not
1241 Removed a useless call to an ORBit_ method.
1242 * at-bridge/bridge.c :
1243 Removed unused local sbuf[] variable.
1245 We now register for Gtk:GtkWidget:button_press_event
1246 events as well as "focus:" events.
1248 Add some more API from Registry.idl that was missing,
1249 for keystroke listening, keystroke and mouse event
1250 synthesis, and enumeration of accessible desktops.
1252 2001-08-16 Michael Meeks <michael@ximian.com>
1254 * configure.in: use AM_GLIB_GNU_GETTEXT.
1256 * Makefile.am (SUBDIRS): kill intl.
1258 2001-08-15 Michael Meeks <michael@ximian.com>
1260 * registryd/Makefile.am: s/oaf/server/ relocate info file.
1262 * configure.in: upd.
1264 * configure.in: depend on a recent bonobo-activation that
1265 will find our server files ...
1267 2001-08-16 Bill Haneman <bill.haneman@sun.com>
1269 * libspi/accessible.c : accessible_new() :
1270 Now we add the Component interface via bonobo_object_add_interface,
1271 if the contained AtkObject implements AtkComponent.
1272 * libspi/accessible.h : now include "component.h"
1273 * libspi/component.h :
1274 * libspi/component.c : added files - implementation of
1275 bonobo wrapper object for Accessibility/Component
1276 * libspi/listener.c :
1277 Added test code to check for Accessibility/Component:1.0
1278 interface and report whether it is implemented by the
1280 * libspi/registry.c :
1281 Now we check for not only the hash of the whole event
1282 string before relaying the event, we also check the
1283 "minor" event string (without the detail string).
1284 This allows event listeners to be registered against
1285 all events of a certain major+minor type, or just
1286 against a specific major+minor+detail type.
1287 * libspi/accessible.c :
1288 Added implementations for Accessible:get_parent(),
1289 Accessible:getChildCount(), and Accessible:getChildAtIndex().
1290 * libspi/registry.c :
1291 * libspi/listener.c :
1292 Replaced calls to Accessibility_Accessible_ref() and
1293 Accessibility_Accessible_unref() with
1294 calls to bonobo_object_dup_ref() and
1295 bonobo_object_release_unref(), so that the CORBA object
1296 is dup-ed and released when relayed, as well as the bonobo object.
1298 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1300 * libspi/Makefile.am,
1301 registryd/Makefile.am,
1302 at-bridge/Makefile.am.
1303 test/Makefile.am, configure.in:
1304 reverse previous changes.
1306 * /idl/Image.idl: fix typo.
1308 * test/Makefile.am: put DEBUG_FLAGS
1311 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1313 * test/app.c: use argv[0] instead of
1316 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1318 * libspi/Makefile.am,
1319 registryd/Makefile.am,
1320 at-bridge/Makefile.am.
1321 test/Makefile.am, configure.in:
1322 cleanup, replace individual LIBS/CFLAGS with
1323 AT_COMMON_{LIBS|CFLAGS}.
1327 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1329 * configure.in, libspi/Makefile.am:
1330 Change IDL path checking for bonobo-activation
1333 2001-08-15 Bill Haneman <bill.haneman@sun.com>
1335 * registryd/registry.c : separated event listeners to use
1336 3 separate lists (focus, window, toolkit). Began testing
1337 event names against hashes before relaying events.
1338 * test/at.c : now register for events of type "focus:"
1339 * test/app.c : now generate events of type "focus:"
1340 * at-bridge/bridge.c : register with ATK for focus events,
1341 and we now relay those focus events to any "focus:" listeners.
1342 This now works with the bridge as a GTK_MODULE when running test/at.
1343 * libspi/registry.c :
1344 * libspi/listener.c :
1345 now we ref event sources before propagating, and unref on receipt.
1346 * libspi/registry.c :
1347 some changes to internal structs, to support event typestring hashes.
1348 * text/app.c : changed the way the appname is generated.
1349 * cspi : added directory that will hold the C bindings library for
1350 non-CORBA/bonobo-savvy clients.
1351 * cspi/spi.h : header file that contains the function prototypes for the C binding.
1352 * idl/Component.idl : added in parameter to indicate coord system for
1353 geometry-related calls.
1354 * idl/Hyperlink.idl : added readonly n_links attribute
1355 * idl/Image.idl : changed methods to attributes.
1357 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1359 * at-bridge/Makefile.am: link against
1360 ../libspi/libspi.la instead of -lspi.
1362 * at-spi/test/app.c: include
1363 bonobo-activation.h. Use a default appname
1364 if one is not provided.
1366 2001-08-14 Bill Haneman <bill.haneman@sun.com>
1368 * idl/Registry.idl : temporarily changed register_Application
1369 to oneway, to work around issue with initial registration
1371 * idl/Application.idl : changed attribute "id" from readonly
1372 to read-write, since it needs to be assigned by Registry.
1373 * registryd/registryd.c : added call to set application id
1375 * registryd/registry.c : changed de-registration procedure to
1376 use CORBA_Object_hash() to find matching object ref in application
1377 lists and listener lists.
1378 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
1379 began distinguishing between event types (work in progress).
1381 2001-08-13 Bill Haneman <bill.haneman@sun.com>
1384 * libspi/application.c:
1385 Added implementations for get/set id, get_toolkitName,
1387 * registryd/registryd.c :
1391 Converted from use of OAF to bonobo-activation.
1392 * libspi/desktop.h :
1393 * libspi/desktop.c :
1395 Removed references to atksimpleobject, since base atkobject
1396 implementation now provides functionality we need.
1397 * libspi/atksimpleobject.c :
1398 * libspi/atksimpleobject.h :
1403 * at-bridge/Makefile.am
1404 * at-bridge/bridge.c
1407 Added directory "bridge" and contents, and added dependencies
1408 in Makefile.am/configure.in.
1409 Initial checkin of "at-bridge".
1410 This code is a GTK_MODULE which automatically registers
1411 GTK+ apps with the accessibility registry, using an object
1412 reference to the root ATK object.
1414 2001-08-10 Mark McLoughlin <mark@skynet.ie>
1416 * po/Makefile.in.in: Remove. Again. If this
1417 doesn't get autogenerated - you need to update
1420 2001-08-07 Mark McLoughlin <mark@skynet.ie>
1422 * po/Makefile.in.in: Add. Again.
1424 2001-07-31 Bill Haneman <bill.haneman@sun.com>
1426 * libspi/accessible.c : added support for 'description' property.
1427 * libspi/accessible.c
1429 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
1430 (since the two are now equivalent in libbonobo)
1438 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
1439 Bonobo::Unknown as does Accessibility::Accessible.
1440 * idl/StreamableContent.idl : as above, and replaced internal InputStream
1441 interface with Bonobo::Stream, since it was redundant with it.
1442 (The Stream returned by a StreamableContext object is expected to
1443 implement only a subset of Bonobo::Stream)
1445 2001-07-28 Anders Carlsson <andersca@gnome.org>
1447 * libspi/accessible.c (accessible_object_finalize): Change
1448 g_free to g_object_unref since the AtkObject is a GObject.
1450 2001-07-30 Bill Haneman <bill.haneman@sun.com>
1452 * idl/Accessibility.idl: add new IDL files
1455 * idl/Action.idl: Definitions of actionable UI object
1456 * idl/Component.idl: Definitions of UI component geometry, etc.
1457 * idl/Hyperlink.idl: Defs of hyperlink behavior
1458 * idl/Image.idl: Def of accessible image
1459 * idl/Selection.idl: Definition of UI object with selectable children
1460 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
1461 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
1462 * idl/Text.idl: Interface defs for UI elements with complex textual content
1463 * idl/Value.idl: Definition of UI element that is a value controller or display
1465 2001-07-27 Michael Meeks <michael@ximian.com>
1467 * po/Makefile.in.in: remove autogenerated file from CVS.
1469 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
1472 * idl/Registry.idl: include guard.
1474 * idl/Accessibility.idl: Add, and include all the other IDL
1477 * idl/*.idl: remove mass of pragmas etc.
1479 2001-07-26 Michael Meeks <michael@ximian.com>
1481 * registryd/Makefile.am (registryd_SOURCES): remove
1484 2001-07-27 Mark McLoughlin <mark@skynet.ie>
1486 * libspi/.cvsignore, registryd/.cvsignore,
1487 test/.cvsignore: updated.
1489 * po/Makefile.in.in: gettext update.
1491 2001-07-25 Bill Haneman <bill.haneman@sun.com>
1493 * initial CVS checkin
1495 2001-06-29 Michael Meeks <michael@ximian.com>
1497 * configure.in: add AM_CONFIG_HEADER to gen config.h