1 2001-11-19 Michael Meeks <michael@ximian.com>
3 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5 * libspi/component.c (accessibility_component_get_type):
6 rename to (spi_component_get_type): and macroify.
7 (accessibility_component_init): rename to
8 (spi_component_init): this
9 (accessibility_component_class_init): rename to
10 (spi_component_class_init): this
12 * libspi/action.c (spi_action_get_type): kill, use the macro.
14 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
17 * libspi/application.c (spi_application_object_event_listener),
18 (impl_accessibility_application_register_object_event_listener):
19 warning fixes / const understanding updates.
21 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
24 2001-18-11 Bill Haneman <bill.haneman@sun.com>
26 * libspi/spi_accessible.c: Added docs and C bindings for
27 AccessibleStateSet. (No implementations yet). Documentation
28 coverage for C bindings now 100%. Made docs for event listeners
33 boolean notifyListenersSync (in DeviceEventListener listener,
34 in DeviceEvent event);
36 oneway void notifyListenersAsync (in DeviceEventListener listener,
37 in DeviceEvent event);
39 Added DeviceEventListener and DeviceEvent structs (may deprecate
40 KeyStroke and KeystrokeListener in favor of this generic
41 event/listener framework for devices).
43 * libspi/deviceeventcontroller.c:
45 Changed some key listener code to take masks, etc., and paved the
46 way for integration of toolkit/non-preemptive key events. Changed
47 signatures of some internal methods.
50 Fixed regression connecting to interface signals, apparently
51 caused by GTK+ changes.
53 Added an internal bridge_state_listener to deal with
54 property-change:accessible-state signals.
56 Changed the key_listeners GList to store structs (including masks,
57 etc.) instead of just CORBA_Objects (required for full
58 implementation of key listener API).
60 Connected the bridge to all currently supported Atk signals.
62 object:property-change
63 object:property-change:accessible-name
64 object:property-change:accessible-state
65 object:property-change:accessible-description
66 object:property-change:accessible-parent
67 object:property-change:accessible-value
68 object:property-change:accessible-role
69 object:property-change:accessible-table-caption
70 object:property-change:accessible-table-column-description
71 object:property-change:accessible-table-column-header
72 object:property-change:accessible-table-row-description
73 object:property-change:accessible-table-row-header
74 object:property-change:accessible-table-summary
75 object:children-changed
76 object:visible-data-changed
77 object:selection-changed
78 object:text-selection-changed
80 object:text-caret-moved
84 object:column-inserted
85 object:column-reordered
89 2001-16-11 Bill Haneman <bill.haneman@sun.com>
91 * libspi/hyperlink.c,h:
92 Fixed some broken stuff in hyperlink.
96 * cspi/spi_accessible.c:
97 Initial implementations of AccessibleRelation methods, and docs.
99 * libspi/accessible.c:
100 Fixed a bug that caused SEGV if an accessible
101 object's description is NULL, and a client
102 requests it. An empty string is now returned.
104 * cspi/spi_editabletext.c:
105 * cspi/spi_hypertext.c:
107 * cspi/spi_hyperlink.c:
111 Doc coverage now 95%.
113 2001-16-11 Bill Haneman <bill.haneman@sun.com>
115 One last namespacing revision:
116 * libspi/accessibleeventlistener.[ch]:
117 Renamed SpiAccessibleEventListener to SpiEventListener,
118 (no need for two namespaces ;-)
120 And lots of documentation fixes:
122 * docs/at-spi-docs.sgml:
123 Fixed 'underscore vs. hyphen' bug that was preventing
124 the gtk-doc API docs from being automatically generated.
127 * cspi/spi-listener.h
129 * cspi/spi_accessible.c
131 * cspi/spi_application.c
132 * cspi/spi_component.c
133 * cspi/spi_editabletext.c
135 * cspi/spi_hypertext.c
137 * cspi/spi_registry.c
138 * cspi/spi_selection.c
142 * docs/at-spi-docs.sgml
143 * docs/at-spi-sections.txt
145 Added and fixed up gtk-doc documentation in cspi.
147 Interfaces now (fully) documented (subject to revision and enhancement):
149 Event Listener Support
151 AccessibleApplication
155 AccessibleEditableText
162 AccessibleRelationSet
167 2001-14-11 Bill Haneman <bill.haneman@sun.com>
169 * at-bridge/bridge.c:
170 Initial work for toolkit-level key snooper connection by bridge.
175 New typedefs and fixes to support new namespacing, and cleaner
176 separation of cspi bindings from libspi bonobo implementation.
177 Removed inconsistent and extraneous Spi* namespace prefix that
178 had crept into cspi headers.
179 Lots of comment fixes that sed had missed.
181 * cspi/spi-roletypes.h:
182 * cspi/spi-statetypes.h:
183 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
184 to AccessibleRoleType.
186 * libspi/accessibleeventlistener.h:
187 Fixed minor namespacing weirdness.
189 * libspi/deviceeventcontroller.c:
190 Reordered some internal API for device listeners.
191 Changed the key registry final boolean to 'is_system_global'
192 rather than 'is_synchronous', which is more descriptive of its
194 Added spi_device_event_controller_new().
195 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
197 * libspi/keystrokelistener.[ch]:
198 Namespaced KeystrokeListener to SpiKeystrokeListener.
199 Changed uses of keymasks to use SPI_ prefix, and did other
203 Namespaced keymask constants with SPI_ prefix.
206 Some warning fixes, and knock-on fixes from namespace changes.
209 Added rules for accessx-gui test program.
211 * test/accessx-gui.c:
212 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
213 utility. It doesn't actually use at-spi, but it's still cool and
216 * test/keysynth-demo.c:
220 Fixes so that these test clients work properly with the namespaced
221 libraries. (Incompletely tested for technical reasons, fixes may follow)
224 2001-13-11 Michael Meeks <michael@ximian.com>
226 * libspi/application.c
227 (impl_accessibility_application_get_version),
228 (impl_accessibility_application_get_toolkit_name):
230 (impl_accessibility_application_set_id),
231 (impl_accessibility_application_get_id): remove
232 redundant casting code.
234 * libspi/action.c (impl_getDescription): fix warnings.
236 * libspi/accessible.c
237 (impl_accessibility_accessible_get_parent),
238 (impl_accessibility_accessible_get_child_at_index),
239 (impl_accessibility_accessible_get_state),
240 (impl_accessibility_accessible_get_relation_set):
241 warning fixes & include action.h
243 2001-13-11 Michael Meeks <michael@ximian.com>
245 * *.[ch] fix bits I screwed up:
247 s/([^ \tb(\*\&\?\",])spi_/\1/g;
248 s/([^ \tb(\*\&\?\",])Spi/\1/g;
250 2001-13-11 Michael Meeks <michael@ximian.com>
252 * *.[ch] Namespace libspi into spi_ and Spi.
254 2001-13-11 Michael Meeks <michael@ximian.com>
256 * Makefile.am: dist & install at-spi-1.0.pc
258 * libspi/Makefile.am: install into at-spi-1.0
260 * idl/Makefile.am (idldir): install into at-spi-1.0
262 * at-spi-1.0.pc.in: add.
264 * configure.in: build it.
266 2001-12-11 Bill Haneman <bill.haneman@sun.com>
268 * test/keysynth-demo.c:
269 Use a 'realize' signal-handler to set the WM properties for
270 the virtual keyboard, rather than making it a "POPUP" type
271 override-redirect window (thanks to anders carlsson for that
274 2001-11-11 Bill Haneman <bill.haneman@sun.com>
277 * test/keysynth-demo.c:
278 Added new test of key synthesis, which creates a simple
279 (mouse-operated) onscreen keyboard. It inserts key events into
280 the currently-focused window, thus it does not grab keyboard focus
283 * cspi/spi_registry.c:
284 Added C binding for AT-SPI generateKeyEvent.
286 * libspi/deviceeventcontroller.c:
287 Added call to XFilterEvent so that key listener works with XIM (we
288 hope). Added event_synth_type to generateKeyEvent, so that we can
289 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
290 synthesize a press/release pair for KeySyms.
292 2001-11-09 Bill Haneman <bill.haneman@sun.com>
294 * libspi/Makefile.am:
295 * registryd/Makefile.am:
296 (temporary) hack to include libXtst in libspi and registryd.
297 (Needed for keystroke synthesis, see below).
300 Improved API for registerKeystrokeListener, in accordance with
301 discussions with Gnopernicus team and X server research.
304 * libspi/deviceeventcontroller.c:
305 * libspi/accessible.c:
306 * libspi/keystrokelistener.c:
307 Changes and fixes to support keylisteners for potentially
308 consumed key events (that is, 'passive grabs').
309 Added implementation for generateKeyEvent() [untested].
312 Changes to registerKeystrokeListener() API, as above.
313 Added deregisterGlobalEventListenerAll(), and
314 deregisterKeystrokeListener(), which are needed for clean exit of
316 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
317 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
319 * cspi/spi_registry.c:
320 Added implementations of function prototypes mentioned above.
322 * registryd/registryd.c:
323 Added the key listener event source as a g_timeout(), to allow
324 receipt of key events that are not caught by GDK (since GDK
325 doesn't support passive keygrabs, this was necessary).
328 Changed to attach a keylistener to 'Alt' keys, and
329 respond to the following keycommands: Alt-M (toggle magnifier);
330 Alt-F (toggle speech); Alt-Q (quit).
331 Added an exit routine to deregister the listeners, and a key
332 listener that prints some key info to the console when a key
333 matches the listener mask (and is thus received by the listener).
335 * util/idl/Magnifier.idl:
336 Changes to magnifier API to support multiple zoom regions,
337 non-uniform scaling in x and y, markDirty, and a host of other
338 features that would be useful to magnification.
343 * util/mag_control.c:
345 Source code changes to support the above IDL changes.
348 As above, and also changes to use a (slower) generic conversion
349 path for colormap conversions, since the fast RGB conversions have been
350 reported to fail for 16-bit displays.
352 2001-10-26 Michael Meeks <michael@ximian.com>
354 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
356 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
358 * at-bridge/Makefile.am: fix LDFLAGS.
360 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
362 * at-bridge/bridge.c:
363 Re-worked listeners for toolkit events, now we have signal
364 and property listeners. Added a private method
365 register_atk_event_listeners(), which registers with the
366 various atk and gtk signals we need to monitor in order to emit
368 Added emission hook for AtkObject:property-change events, to
369 support the 'property listeners'.
370 Fixed some alloc()s of Accessibility_Event structs to use CORBA
373 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
374 which emit warnings and exit, respectively, if CORBA errors occur
375 during remote calls, and we now use these methods to check most of
376 our CORBA calls in the C bindings.
378 * cspi/spi_accessible.c:
379 Changed AccessibleSelection_refSelectedChild() to
380 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
381 now increment refcounts.
383 * cspi/spi_component.c:
384 Fixed some long pointer casts (dangerous!) to pass pointers to
385 CORBA_longs of the proper type to the CORBA stubs, and copy the
386 data into the longs that were passed into the C bindings code.
388 * at-bridge/bridge.c:
390 * libspi/accessible.c:
391 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
392 hyperlinks, AtkHyperlink is an object type.
394 * libspi/application.c:
395 Added various conversions to and from "generic" event types and
396 atk-specific types; this is really part of the 'bridge'
397 implementation but is valid for all AtkObject-based accessibility
400 * libspi/editabletext.c:
401 Fixed nasty bug wherein editable text's finalize method was
402 unref'ing tha AtkObject reference that the text parent class was
403 about to unref _again_. There was also a nasty inheritance bug
404 that meant that the AccessibleEditableText class was corrupt.
406 * libspi/selection.c:
407 Provided implementations for some selection API that was broken.
409 * idl/Application.idl:
410 Added registerObjectEventListener () method.
413 Fixed a number of return values that were Bonobo_Unknowns from
414 bonobo_object_corba_objref(), which I
415 forgot to dup before returning. Changed instances of
416 bonobo_object_corba_objref (bonobo_object(o)) to
417 BONOBO_OBJREF(o), for concision and clarity.
419 <2001-10-13 Louise Miller <louise.miller@sun.com>
421 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
422 idl/Event.idl, idl/Registry.idl
423 Changed these files to include Bonobo_Unknown.idl instead
426 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
428 * libspi/component.c libspi/component.h:
429 Fixed typo. Added assertions for object checks in
430 AccessibleComponent code.
432 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
434 * idl/Accessible.idl:
435 Added 'isEqual (Accessible *object)'
436 method for Accessible. (Not Yet Implemented).
439 Changed signature of registerKeystrokeListener() to
440 take a KeySet and KeyEventSeq so that specific keys and event
441 types could be requested for monitoring, and added a flag
442 is_synchronous so that either synchronous or asynchronous
443 notification could be requested. (However this is not all
444 implemented yet). This also meant adding two new typedefs,
445 KeyEventSeq and KeySet.
448 Added two new relations, RELATION_TOOLTIP_FOR and
449 RELATION_LEAFNODE_OF.
452 Added new state, STATE_HAS_TOOLTIP.
454 * libspi/text.c, editabletext.c:
455 Added new assertions to all casts of bonobo-objects from
456 CORBA servants, to prevent Text API calls on non-text objects.
457 Changed suspect casts of int-pointer types, so that we
458 always send a valid CORBA_long pointer to the CORBA APIs that use
459 in/out long parameters. We then have to copy from the CORBA_long
460 into the regular long or int for return to the C bindings, or
461 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
464 * libspi/deviceeventcontroller.c:
465 Cleaned these sources up.
467 Changed return type for getCharacterAtOffset to
468 CORBA_unsigned_long, to allow for 32-bit characters.
471 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
475 Fixed 'make dist' so that distro compiles...
478 * cspi/spi-listener.c:
479 KeystrokeListenerCB now returns a boolean.
481 Added KeyEventType struct, and KeyStroke.
482 Also added createKeystrokeListener(),
483 KeystrokeListener_addCallback(),
484 KeystrokeListener_removeCallback(), and added a keymask to
485 registerKeystrokeListener().
486 * cspi/spi_accessible.c:
487 Changed numerous return types for interfaces from
488 AccessibleComponent to Accessible<InterfaceName>; this was
489 probably a cut-and-paste error.
491 Implementations of new KeystrokeListener api (from spi.h,
494 Changes to key modifier mapping.
495 Created ControllerEventMask struct.
496 Made DeviceEventController derive from Bonobo::Unknown.
498 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
499 * libspi/deviceeventcontroller.c:
500 Added a number of new internal (private) methods.
501 * libspi/editabletext.c:
502 * libspi/editabletext.h:
503 Fixed a number of bugs related to the fact that
504 editabletext inherits from text. Fixed the EditableText struct,
505 the init() call, and use correct casts when calling Text methods
506 from an EditableText object. Removed (duplicate) atko from the
507 EditableText structure, we use the one in the parent Text
508 structure via the casts mentioned above.
509 * libspi/keystrokelistener.[ch]:
511 Changes in support of keyboard handling (above).
513 Keyboard handling, though partly functional, is still not
514 recommended for at-spi client use as there is considerable
518 Changed some places where pointers to various int types
519 are cast to be pointers to CORBA_long types and vice-versa:
520 pointer casting is not safe so we pass pointers of the correct
521 types and then cast the result before putting it into the target
524 * libspi/text.h: minor typos corrected.
526 We now speak not only the name of a Text element, but the
527 first sentence of its content, when it receives focus.
528 I also changed the text compression to 75% from 50%.
529 * util/Accessibility_Util.server.in:
530 Changed the default magnifier type to be a 3x vertical
531 splitscreen magnifier (was previously a 2x horizontal one).
533 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
535 * libspi/keystrokelistener.h:
536 * libspi/keystrokelistener.c:
537 Initial functional implementations of KeystrokeListener.
540 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
542 Fixed string handling for NULL strings in libspi.
543 Added spi_freeString to free strings returned by C bindings.
545 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
547 * libspi/keystrokelistener.h:
548 * libspi/keystrokelistener.c:
549 Began (no-op) implementations of KeystrokeListener
551 * libspi/deviceeventcontroller.c:
552 * libspi/deviceeventcontroller.h:
553 Began creating implementations of DeviceEventController,
554 to handle keystroke and mouse event listening and
556 * libspi/accessible.c:
557 Stubbed-in the implementations for
558 Accessibility_Accessible_getState and
559 Accessibility_Accessible_getRelationSet.
561 Improved de-registration process and fixed some bugs,
562 deregistration now works correctly.
564 Added initialization of applications list (to NULL).
566 Reduced speech compression from 0.5 to 0.7, for demo.
567 Changed call to gdk_window_set_decorations()
568 to gtk_window_set_decorated().
569 * at-bridge/bridge.c:
570 Bridge now deregisters when app exits, via
571 registration of a cleanup function
572 with the g_atexit() call.
573 Required making 'app' static, renamed 'this_app'.
574 Fixed broken use of bonobo_init, passing argv wrongly.
576 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
580 Created a new directory for
581 accessibility-related utilities, primarily for
582 testing and demo purposes, but with possible
589 Onscreen magnifier utility that
590 is implemented as a bonobo service.
594 Client-side support (simple C bindings)
595 for Magnification service
597 * util/mag_control.c:
598 Client program example for
599 Magnification service
601 * util/Accessibility_Magnifier.server.in:
602 Bonobo-activation file for the
603 Magnification service.
606 * util/idl/Magnifier.idl:
607 IDL defining the bonobo Magnification
611 Modifications to use the bonobo-activated magnifier
612 above, in place of trying to connect to an existing
613 magnifier that uses socket-listening IPC.
615 If env variable MAGNIFIER is set, a magnifier service
616 will be started if one does not exist.
618 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
619 * at-bridge/bridge.c:
620 applied patch from Marc to build and run
621 against new glib and gtk+ (seemed like a change
622 to bonobo_init signature was made ?)
624 made festival-server support turned off by default.
625 Added support for a simple magnifier (off by default)
626 which will be added to a 'util' directory later.
627 * at-bridge/Makefile.am:
628 Changed "application.h" header from a 'source'
629 to a 'dependency' of libat-bridge.
631 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
639 Added interface implementation c files to list of
640 includes so they are included in libcspi.
643 Changed prototype of AccessibleAction_doAction to return a
645 Changed prototype of AccessibleTable_getCaption to
646 return an Accessible.
647 Changed prototype of AccessibleTable_getSelectedRows
648 and AccessibleTable_getSelectedColumns to
649 return a long (returns the number of selected rows
650 or columns respectively).
651 Changed name of AccessibleText_refRunAttributes to
652 AccessibleText_getAttributes.
653 Changed prototype of AccessibleText_getCharacterExtents to
654 return a void rather than a boolean.
655 Added support for a AccessibleCoordType parameter
656 specifying what type of coordinates are desired.
657 Added an AccessibleCordType parameter to
658 AccessibleText_getPointAtOffset.
660 * cspi/spi_accessible.c:
661 Added code to return the outstanding interfaces from
662 Accessible_queryInterface.
666 Corrected call to getNActions to call the c binding
669 * cspi/spi_editabletext.c:
671 Changed name from setRunAttributes to setAttributes.
673 * cspi/spi_hyperlink.c:
675 Changed call to getNAnchors to correctly call the c
676 binding for an attribute.
678 * cspi/spi_hypertext.c:
680 Changed getImageDescription to correctly call the
681 binding for an attribute.
683 * cspi/spi_selection.c:
684 Changed getNSelectedChildren to correctly call the c
685 binding for the attribute.
686 Changed refSelectedChild to getSelectedChild.
690 Changed getCaption to return an Accessible.
691 Fixed calls which retrieve attributes.
692 Changed refAt to getAccessibleAt.
693 Changed getNSelectedRows and getNSelectedColumns to
697 Changed getCharacterExtents and getPointAtOffset to accept an
700 Changed calls which retrieve attributes.
701 Changed refRunAttributes to getAttributes.
707 Changed n_anchors attribute to nAnchors to keep naming
708 convention consistent.
711 Made Table inherit from Bonobo::Unknown.
712 Added nSelectedColumns and nSelectedRows attributes.
715 Made Value inherit from Bonobo::Unknown.
717 * libspi/hyperlink.c:
718 Change for nAnchors attributte name change.
720 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
728 Added interface implementation c files to list of
729 includes so they are included in libcspi.
732 Changed prototype of AccessibleAction_doAction to return a
734 Changed prototype of AccessibleTable_getCaption to
735 return an Accessible.
736 Changed prototype of AccessibleTable_getSelectedRows
737 and AccessibleTable_getSelectedColumns to
738 return a long (returns the number of selected rows
739 or columns respectively).
740 Changed name of AccessibleText_refRunAttributes to
741 AccessibleText_getAttributes.
742 Changed prototype of AccessibleText_getCharacterExtents to
743 return a void rather than a boolean.
744 Added support for a AccessibleCoordType parameter
745 specifying what type of coordinates are desired.
746 Added an AccessibleCordType parameter to
747 AccessibleText_getPointAtOffset.
749 * cspi/spi_accessible.c:
750 Added code to return the outstanding interfaces from
751 Accessible_queryInterface.
755 Corrected call to getNActions to call the c binding
758 * cspi/spi_editabletext.c:
760 Changed name from setRunAttributes to setAttributes.
762 * cspi/spi_hyperlink.c:
764 Changed call to getNAnchors to correctly call the c
765 binding for an attribute.
767 * cspi/spi_hypertext.c:
769 Changed getImageDescription to correctly call the
770 binding for an attribute.
772 * cspi/spi_selection.c:
773 Changed getNSelectedChildren to correctly call the c
774 binding for the attribute.
775 Changed refSelectedChild to getSelectedChild.
779 Changed getCaption to return an Accessible.
780 Fixed calls which retrieve attributes.
781 Changed refAt to getAccessibleAt.
782 Changed getNSelectedRows and getNSelectedColumns to
786 Changed getCharacterExtents and getPointAtOffset to accept an
789 Changed calls which retrieve attributes.
790 Changed refRunAttributes to getAttributes.
796 Changed n_anchors attribute to nAnchors to keep naming
797 convention consistent.
800 Made Table inherit from Bonobo::Unknown.
801 Added nSelectedColumns and nSelectedRows attributes.
804 Made Value inherit from Bonobo::Unknown.
806 * libspi/hyperlink.c:
807 Change for nAnchors attributte name change.
810 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
812 implementations-- made server implementations own AtkObject pointers
813 rather than their respective AtkInterrface pointers to fix
814 refcounting. AtkHyperlink is still broken.
816 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
817 * cspi/spi_accessible.c:
818 Added method Accessible_Role_getName(),
819 and requisite string array (role_names).
820 Added conversion string_from_corba_strin() call
821 to Accessible_getName and _getDescription.
822 * libspi/accessible.c:
823 Added implementation for Accessible_getRole()
825 Added festival support, used if environment variable
828 2001-09-04 Bill Haneman <bill.haneman@sun.com>
830 * at-bridge/bridge.c:
831 Now allocate Accessibility_Event using
832 Accessibility_Event__alloc() instead of g_new0().
833 * libspi/accessibleeventlistener.c:
834 Initialize AccessibleEventListener->callbacks to NULL.
835 Fixed accessible__event_listener_init() param, changed to
836 "AccessibleEventListener *" type.
837 Changed a bonobo_object_release_unref() call to
838 Accessibility_Accessible_unref().
840 Changed Bonobo_Unknown_unref to (equivalent)
841 Accessibility_Accessible_unref.
843 Changed bonobo_object_release_unref to
844 Accessibility_Accessible_unref.
846 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
849 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
850 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
851 spi-util.c spi-util.h
852 Implementations for C bindings to remaining accessibility
855 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
858 changed return value of Action from void to boolean to
859 bring in line with ATK.
862 Changed getText funcions to return "out" start and end offsets.
863 Changed getAttributes to take and offset and return the start
864 and end offset of the attribute run.
865 Changed getOffsetAtPoint and getCharacterExtents to take an
866 enum describing whether coordinates are window or screen.
869 libspi/action.c libspi/action.h libspi/editabletext.c
870 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
871 libspi/hypertext.c libspi/hypertext.h libspi/image.c
872 libspi/image.h libspi/selection.c libspi/selection.h
873 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
874 libspi/value.c libspi/value.h
875 Added server implementations for outstanding ATK interfaces
878 2001-09-04 Bill Haneman <bill.haneman@sun.com>
881 Added (missing) getName() method.
882 Made nActions an attribute.
883 * idl/EditableText.idl:
884 Changed order of params in setAttributes.
886 Removed getAnchor, added getURI.
888 Changed attributes to methods, for efficiency
889 (so that getting extents can be done in one call)
891 Changed nSelectedChildren to attribute, and re-indented.
892 * idl/Table.idl: changed nrows, ncolumns, caption, summary
894 * idl/Text.idl: reformatted to match our coding style.
895 (temporarily?) removed getRowColumnAtOffset().
896 Changed text selection API to support multi-select and
897 non-contiguous selections, as in ATK.
898 * idl/Value.idl: changed some methods to attributes.
900 2001-08-24 Mark McLoughlin <mark@skynet.ie>
902 * libspi/listener.c(impl_notify_event):
903 BonoboUnkown_unref the source instead
904 of bonobo_object_release_unref - the ORB
905 handles the releasing.
907 * configure.in: require ORBit-2.3.94 for
910 2001-08-21 Bill Haneman <bill.haneman@sun.com>
912 Tagged CVS repository 'EA_1_0'.
913 * README.EARLY_ACCESS:
914 Alphabetized acknowledgements list, and
916 Listed some known dependencies of at-spi.
918 2001-08-20 Bill Haneman <bill.haneman@sun.com>
920 * docs/at-spi-docs.sgml:
921 * docs/at-spi-sections.txt:
922 * docs/at-spi-overrides.txt: (Added zero-length file)
923 Documentation improvements - gtk-doc should build
924 docs for all implemented C bindings now.
927 * cspi/spi.c: (New file)
928 * cspi/spi_event.c: (New file)
929 * cspi/spi_registry.c: (New file)
930 * cspi/spi_accessible.c: (New file)
931 * cspi/spi_application.c: (New file)
932 * cspi/spi_component.c: (New file)
933 Split spi_main.c into six parts, and included them from
934 "spi.c". This is a bit of a hack, probably temporary,
935 but required by gtk-doc, apparently.
937 2001-08-20 Bill Haneman <bill.haneman@sun.com>
940 * docs/at-spi-docs.sgml:
941 * docs/at-spi-sections.txt:
943 Initial checkins/modifications for gtk-doc generation.
946 Added (missing) interface query methods to Accessible's C binding.
948 Added GenericInterface type definition.
950 Added query for AccessibleComponent interface to focus event handler.
951 Added printout of bounding box for focussed component.
952 * libspi/component.c:
953 Added partial implementation for AccessibleComponent to C binding.
954 * idl/Application.idl:
957 * libspi/application.c:
958 * libspi/application.h:
959 Changed "ID" attribute type from string to long.
961 2001-08-19 Bill Haneman <bill.haneman@sun.com>
965 Made method naming consistent: methods taking object args
966 start with uppercase, other methods (except those using
967 acronyms) start with lowercase. Underscores delimit between
968 object names and method names:
969 SPI_init() - uppercase since it starts with an acronym.
970 getDesktopCount () - lowercase start since no object param0.
971 Accessible_getName() - uppercase object type name, studlyCaps method
975 Added gtk-doc documentation for all currently implemented
976 methods in the C bindings API.
978 2001-08-18 Bill Haneman <bill.haneman@sun.com>
980 * Makefile.am : changed build order to build test last.
983 Changed "createEventListener" to "CreateEventListener".
984 * libspi/accessibleeventlistener.c :
985 Bugfix for addition of callbacks.
988 Added new test that uses the C bindings API.
990 * libspi/listener.c :
991 * libspi/registry.c :
992 * libspi/accessibleeventlistener.c :
993 * at-bridge/bridge.c :
994 Renamed member "target" of Accessibility_Event to "source",
995 which is more descriptive.
998 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1002 * cspi/Makefile.am :
1003 Added makefile support for at-spi/cspi directory.
1006 * cspi/spi-listener.h : (NEW FILE)
1007 Added support for/use of spi-listener.h.
1009 C bindings now build successfully, with no warnings.
1010 * libspi/accessibleeventlistener.h : (NEW FILE)
1011 * libspi/accessibleeventlistener.c : (NEW FILE)
1012 * libspi/Makefile.am :
1013 Added new object type "AccessibleEventListener"
1014 which inherits from Listener, and allows attachment
1015 of in-process callbacks (so that a client with a listening
1016 object instance can add functionality to the local
1017 implementation, dynamically).
1019 2001-08-18 Bill Haneman <bill.haneman@sun.com>
1021 * libspi/accessible.c:
1022 Add implementation for get_index_in_parent().
1024 Added #include of "spi-roletypes.h", and
1025 added enumerated type AccessibleCoordType.
1026 Added definition for KeystrokeListener (function type).
1029 * cspi/spi-statetypes.h :
1030 * cspi/spi-roletypes.h :
1032 Added these headers, used by spi.h.
1034 Added code (NOTE: not yet built by make).
1036 2001-08-18 Mark McLoughlin <mark@skynet.ie>
1038 * libspi/Makefile.am: generate imodule
1039 at the same time as other idl compiler
1042 2001-08-17 Bill Haneman <bill.haneman@sun.com>
1043 * libspi/registry.c :
1044 * libspi/application.c :
1045 * idl/Application.idl :
1046 Made registration with toolkit an application method,
1047 which is required since each app has its own toolkit static
1048 environment. Thus the bridge must register for
1049 notification of toolkit events from each application in turn.
1050 Toolkit notifications are now successfully registered for, and
1051 sent to the listening at client.
1053 Changed toolkit event string to use hyphens rather than underscores.
1054 * libspi/listener.c :
1055 listner now gives more info in debug mode - it reports the
1056 name of the event received, as well as the name of the source.
1059 2001-08-16 Bill Haneman <bill.haneman@sun.com>
1061 * libspi/registry.c :
1062 added more implementation for toolkit events.
1063 Fixed bug such that toolkit event registrations
1064 (via atk) use the whole event name string, not
1066 Removed a useless call to an ORBit_ method.
1067 * at-bridge/bridge.c :
1068 Removed unused local sbuf[] variable.
1070 We now register for Gtk:GtkWidget:button_press_event
1071 events as well as "focus:" events.
1073 Add some more API from Registry.idl that was missing,
1074 for keystroke listening, keystroke and mouse event
1075 synthesis, and enumeration of accessible desktops.
1077 2001-08-16 Michael Meeks <michael@ximian.com>
1079 * configure.in: use AM_GLIB_GNU_GETTEXT.
1081 * Makefile.am (SUBDIRS): kill intl.
1083 2001-08-15 Michael Meeks <michael@ximian.com>
1085 * registryd/Makefile.am: s/oaf/server/ relocate info file.
1087 * configure.in: upd.
1089 * configure.in: depend on a recent bonobo-activation that
1090 will find our server files ...
1092 2001-08-16 Bill Haneman <bill.haneman@sun.com>
1094 * libspi/accessible.c : accessible_new() :
1095 Now we add the Component interface via bonobo_object_add_interface,
1096 if the contained AtkObject implements AtkComponent.
1097 * libspi/accessible.h : now include "component.h"
1098 * libspi/component.h :
1099 * libspi/component.c : added files - implementation of
1100 bonobo wrapper object for Accessibility/Component
1101 * libspi/listener.c :
1102 Added test code to check for Accessibility/Component:1.0
1103 interface and report whether it is implemented by the
1105 * libspi/registry.c :
1106 Now we check for not only the hash of the whole event
1107 string before relaying the event, we also check the
1108 "minor" event string (without the detail string).
1109 This allows event listeners to be registered against
1110 all events of a certain major+minor type, or just
1111 against a specific major+minor+detail type.
1112 * libspi/accessible.c :
1113 Added implementations for Accessible:get_parent(),
1114 Accessible:getChildCount(), and Accessible:getChildAtIndex().
1115 * libspi/registry.c :
1116 * libspi/listener.c :
1117 Replaced calls to Accessibility_Accessible_ref() and
1118 Accessibility_Accessible_unref() with
1119 calls to bonobo_object_dup_ref() and
1120 bonobo_object_release_unref(), so that the CORBA object
1121 is dup-ed and released when relayed, as well as the bonobo object.
1123 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1125 * libspi/Makefile.am,
1126 registryd/Makefile.am,
1127 at-bridge/Makefile.am.
1128 test/Makefile.am, configure.in:
1129 reverse previous changes.
1131 * /idl/Image.idl: fix typo.
1133 * test/Makefile.am: put DEBUG_FLAGS
1136 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1138 * test/app.c: use argv[0] instead of
1141 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1143 * libspi/Makefile.am,
1144 registryd/Makefile.am,
1145 at-bridge/Makefile.am.
1146 test/Makefile.am, configure.in:
1147 cleanup, replace individual LIBS/CFLAGS with
1148 AT_COMMON_{LIBS|CFLAGS}.
1152 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1154 * configure.in, libspi/Makefile.am:
1155 Change IDL path checking for bonobo-activation
1158 2001-08-15 Bill Haneman <bill.haneman@sun.com>
1160 * registryd/registry.c : separated event listeners to use
1161 3 separate lists (focus, window, toolkit). Began testing
1162 event names against hashes before relaying events.
1163 * test/at.c : now register for events of type "focus:"
1164 * test/app.c : now generate events of type "focus:"
1165 * at-bridge/bridge.c : register with ATK for focus events,
1166 and we now relay those focus events to any "focus:" listeners.
1167 This now works with the bridge as a GTK_MODULE when running test/at.
1168 * libspi/registry.c :
1169 * libspi/listener.c :
1170 now we ref event sources before propagating, and unref on receipt.
1171 * libspi/registry.c :
1172 some changes to internal structs, to support event typestring hashes.
1173 * text/app.c : changed the way the appname is generated.
1174 * cspi : added directory that will hold the C bindings library for
1175 non-CORBA/bonobo-savvy clients.
1176 * cspi/spi.h : header file that contains the function prototypes for the C binding.
1177 * idl/Component.idl : added in parameter to indicate coord system for
1178 geometry-related calls.
1179 * idl/Hyperlink.idl : added readonly n_links attribute
1180 * idl/Image.idl : changed methods to attributes.
1182 2001-08-15 Mark McLoughlin <mark@skynet.ie>
1184 * at-bridge/Makefile.am: link against
1185 ../libspi/libspi.la instead of -lspi.
1187 * at-spi/test/app.c: include
1188 bonobo-activation.h. Use a default appname
1189 if one is not provided.
1191 2001-08-14 Bill Haneman <bill.haneman@sun.com>
1193 * idl/Registry.idl : temporarily changed register_Application
1194 to oneway, to work around issue with initial registration
1196 * idl/Application.idl : changed attribute "id" from readonly
1197 to read-write, since it needs to be assigned by Registry.
1198 * registryd/registryd.c : added call to set application id
1200 * registryd/registry.c : changed de-registration procedure to
1201 use CORBA_Object_hash() to find matching object ref in application
1202 lists and listener lists.
1203 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
1204 began distinguishing between event types (work in progress).
1206 2001-08-13 Bill Haneman <bill.haneman@sun.com>
1209 * libspi/application.c:
1210 Added implementations for get/set id, get_toolkitName,
1212 * registryd/registryd.c :
1216 Converted from use of OAF to bonobo-activation.
1217 * libspi/desktop.h :
1218 * libspi/desktop.c :
1220 Removed references to atksimpleobject, since base atkobject
1221 implementation now provides functionality we need.
1222 * libspi/atksimpleobject.c :
1223 * libspi/atksimpleobject.h :
1228 * at-bridge/Makefile.am
1229 * at-bridge/bridge.c
1232 Added directory "bridge" and contents, and added dependencies
1233 in Makefile.am/configure.in.
1234 Initial checkin of "at-bridge".
1235 This code is a GTK_MODULE which automatically registers
1236 GTK+ apps with the accessibility registry, using an object
1237 reference to the root ATK object.
1239 2001-08-10 Mark McLoughlin <mark@skynet.ie>
1241 * po/Makefile.in.in: Remove. Again. If this
1242 doesn't get autogenerated - you need to update
1245 2001-08-07 Mark McLoughlin <mark@skynet.ie>
1247 * po/Makefile.in.in: Add. Again.
1249 2001-07-31 Bill Haneman <bill.haneman@sun.com>
1251 * libspi/accessible.c : added support for 'description' property.
1252 * libspi/accessible.c
1254 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
1255 (since the two are now equivalent in libbonobo)
1263 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
1264 Bonobo::Unknown as does Accessibility::Accessible.
1265 * idl/StreamableContent.idl : as above, and replaced internal InputStream
1266 interface with Bonobo::Stream, since it was redundant with it.
1267 (The Stream returned by a StreamableContext object is expected to
1268 implement only a subset of Bonobo::Stream)
1270 2001-07-28 Anders Carlsson <andersca@gnome.org>
1272 * libspi/accessible.c (accessible_object_finalize): Change
1273 g_free to g_object_unref since the AtkObject is a GObject.
1275 2001-07-30 Bill Haneman <bill.haneman@sun.com>
1277 * idl/Accessibility.idl: add new IDL files
1280 * idl/Action.idl: Definitions of actionable UI object
1281 * idl/Component.idl: Definitions of UI component geometry, etc.
1282 * idl/Hyperlink.idl: Defs of hyperlink behavior
1283 * idl/Image.idl: Def of accessible image
1284 * idl/Selection.idl: Definition of UI object with selectable children
1285 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
1286 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
1287 * idl/Text.idl: Interface defs for UI elements with complex textual content
1288 * idl/Value.idl: Definition of UI element that is a value controller or display
1290 2001-07-27 Michael Meeks <michael@ximian.com>
1292 * po/Makefile.in.in: remove autogenerated file from CVS.
1294 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
1297 * idl/Registry.idl: include guard.
1299 * idl/Accessibility.idl: Add, and include all the other IDL
1302 * idl/*.idl: remove mass of pragmas etc.
1304 2001-07-26 Michael Meeks <michael@ximian.com>
1306 * registryd/Makefile.am (registryd_SOURCES): remove
1309 2001-07-27 Mark McLoughlin <mark@skynet.ie>
1311 * libspi/.cvsignore, registryd/.cvsignore,
1312 test/.cvsignore: updated.
1314 * po/Makefile.in.in: gettext update.
1316 2001-07-25 Bill Haneman <bill.haneman@sun.com>
1318 * initial CVS checkin
1320 2001-06-29 Michael Meeks <michael@ximian.com>
1322 * configure.in: add AM_CONFIG_HEADER to gen config.h