1 2002-01-11 Michael Meeks <michael@ximian.com>
3 * registryd/deviceeventcontroller.c
4 (spi_device_event_controller_forward_key_event): kill
5 XUngrabKey / XKeyGrab race.
6 (spi_controller_grab_keyboard): rename to
7 (spi_controller_update_key_grabs): this, and deal
8 with incremental adding / removing grabs more
10 (_register_keygrab): ensure we're not pending a remove.
11 (spi_grab_mask_free): impl.
12 (spi_controller_register_global_keygrabs): split out
14 (handle_keygrab): impl.
15 (_deregister_keygrab): impl.
16 (spi_controller_deregister_global_keygrabs): impl.
17 (spi_controller_update_key_grabs): re-issue the grab if
18 we just recieved a notification.
20 * test/test-simple.c (key_listener_cb): remove debug.
22 * registryd/deviceeventcontroller.c
23 (spi_controller_register_device_listener): after
24 registering a global keygrab, actualy register it !
25 don't wait for a timeout; doh !
27 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
28 to make it more readable / manipulable.
29 s/grabmask/grab_mask/ s/refcount/ref_count/
30 s/keyval/key_val/ s/modmask/mod_mask
32 2002-01-08 Michael Meeks <michael@ximian.com>
34 * registryd/deviceeventcontroller.c
35 (spi_controller_register_with_devices): use gdk calls to
37 (global_filter_fn): implement the filter.
38 (spi_device_event_controller_check_key_event): rename to
39 (spi_device_event_controller_forward_key_event): this & upd.
40 (spi_get_display): replace with GDK_DISPLAY.
42 * registryd/deviceeventcontroller.c
43 (spi_controller_deregister_device_listener): unroll into
44 (impl_deregister_keystroke_listener): here to simplify.
45 (spi_controller_register_global_keygrabs): split cut and
46 paste (!) out into (_register_keygrab): here, shorter & sweeter.
47 (spi_controller_deregister_device_listener): remove.
48 (impl_register_mouse_listener): remove, no mouse listener
51 * registryd/registry.c
52 (_device_event_controller_hook): kill.
53 (spi_registry_init): upd.
55 * registryd/deviceeventcontroller.c
56 (spi_device_event_controller_class_init): upd.
57 (spi_check_key_event): merge into.
58 (spi_device_event_controller_check_key_event):
59 here and kill strange static ev init, don't leak
60 the x_event - nor dynamicaly allocate it.
62 * registryd/registry-main.c (main): re-direct
63 timeout to remove strange vtable mess.
65 * registryd/deviceeventcontroller.c
66 (remove_listener_cb): impl.
67 (spi_controller_deregister_device_listener):
68 fix re-enterancy hazard.
70 2002-01-07 Michael Meeks <michael@ximian.com>
72 * registryd/deviceeventcontroller.c
73 (spi_device_event_controller_new): upd.
74 (impl_notify_listeners_sync): upd. debug.
75 (spi_notify_keylisteners): fix re-enterancy hazards,
76 prettify, remove O(n*n) iteration.
77 (spi_controller_grab_keyboard): fix iteration.
78 (spi_check_key_event): re-format to suit coding style.
79 Clean all the warnings - we're warning free.
81 * registryd/deviceeventcontroller.h:
82 * registryd/registry.h: make mutualy referential with
83 typesafe forward references instead of (!) void pointer
86 2002-01-11 Michael Meeks <michael@ximian.com>
88 * cspi/spi_accessible.c (role_names): add a role name
89 to sync this array with the enum; and make the regression
92 2002-01-10 Michael Meeks <michael@ximian.com>
94 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
95 allow expansion of enumeration & kill warning.
97 * test/test-simple.c (key_listener_cb): impl.
98 (test_keylisteners): impl.
100 * cspi/spi-listener.h: make listener signatures const
101 on the provided (const) events.
103 * test/keysynth-demo.c: upd. to const events.
105 * test/simple-at.c: ditto.
107 2002-01-11 Bill Haneman <bill.haneman@sun.com>
110 Checked in a demo script, which requires editing before use!
111 Proceed with caution.
114 Fixed typo in header which was redefining SPI_ACTION_CLASS.
116 * cspi/spi_accessible.c:
117 Add a couple of missing enum initializations, and fix some enum
120 * cspi/spi_registry.c:
121 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
123 * docs/reference/cspi/at-spi-cspi-sections.txt:
124 Remove/fix a couple of broken document references.
127 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
128 as Alt-Control to listen for commands, since on some systems
129 Control-Alt may already be grabbed.
131 2002-01-10 Bill Haneman <bill.haneman@sun.com>
134 Update version number to 0.4 for Beta2.
136 * libspi/accessible.c, libspi/accessible.h:
137 Expose spi_accessible_construct, to enable libgail-gnome
138 construction from spi_accessible subtype.
141 Workaround for bug in some non-gnome-compliant window managers
142 which made magnifier resize improperly.
144 2002-01-09 Bill Haneman <bill.haneman@sun.com>
146 * libspi/accessible.c: (spi_accessible_new) :
147 Move the test for SPI_IS_REMOTE_OBJECT to
148 spi_accessible_new_return, fixing a bug and compile time warning.
150 2002-01-08 Michael Meeks <michael@ximian.com>
152 * registryd/registry.c (parse_event_type): remove strndup.
154 * libspi/Makefile.am (libspi_la_SOURCES): remove
155 sources already included in the headers section.
157 * libspi/util.c: add.
159 * libspi/spi-private.h: add.
161 * registryd/registry.c: update to moved list iterators.
163 2002-01-05 Michael Meeks <michael@ximian.com>
165 * test/simple-at.c (main): upd. auto-module set to atk-bridge
167 * test/test-simple.c (main): ditto.
169 2002-01-04 Michael Meeks <michael@ximian.com>
171 * libspi/accessible.c (spi_accessible_new): remove 2nd,
174 * registryd/registry.c
175 (get_listener_list): impl.
176 (impl_accessibility_registry_register_global_event_listener):
177 re-impl. to simplify using ~, remove dodgy const cast off.
178 (parse_event_type): constify.
179 (impl_accessibility_registry_deregister_global_event_listener_all):
180 re-write, more efficiency and simplicity, kill re-enterancy
182 (compare_listener_corbaref, compare_corba_objects),
183 (compare_listener_quarks): define out.
184 (impl_accessibility_registry_deregister_global_event_listener):
185 re-write for effiency, and nail re-enterancy hazard.
186 (impl_accessibility_registry_get_desktop_list): impl.
187 (re_enterant_list_delete_link): impl.
188 (re_enterant_list_foreach): impl.
189 (remove_listener_cb): impl.
190 (_registry_notify_listeners): kill.
191 (notify_listeners_cb): impl.
193 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
194 (SPI_getDesktopList): impl.
196 * test/test-simple.c (test_desktop): test the methods.
198 2002-01-03 Michael Meeks <michael@ximian.com>
200 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
201 keystrings since we free them
202 (SPI_freeAccessibleKeySet): in here.
204 * libspi/accessible.c (spi_accessible_new): kill warning,
205 wonder what is going on with the constructor here.
207 2002-03-01 Bill Haneman <bill.haneman@sun.com>
209 * libspi/accessible.c (spi_accessible_new ()) :
210 Added check to see if AtkObject is an SpiRemoteObject before
211 creating an SpiAccessible.
213 2002-05-01 Bill Haneman <bill.haneman@sun.com>
215 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
216 Enable keygrabs using the Control modifier, now that they are
217 working properly (they were previously disabled).
220 Change the command keygrab for this demo to "Control+Alt", so as
221 to conflict with fewer other key commands on the system; this
222 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
224 Removed a pointlessly-chatty keylistener for unshifted keys
225 (shifted keys are still reported).
227 2002-02-01 Bill Haneman <bill.haneman@sun.com>
229 * libspi/remoteobject.h:
230 * libspi/remoteobject.c:
231 Added definitions for special AtkObject subtype, required for
232 support of remote components (specifically, used by BonoboControl
233 accessibility implementation).
235 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
237 * cspi/spi.h: synched relation types with ATK
239 * cspi/spi_accessible.c: Added implementations of
240 AcccessibleRelation_* methods
242 * idl/Accessibility_Relation.idl: added getRelationTypeName
243 method. Synched known relation types with ATK. Allowed for
244 relation type extension with the RELATION_EXTENDED type.
246 * libspi/relation.c: Provided implementations for
247 AccessibleRelation methods.
249 2002-01-01 Bill Haneman <bill.haneman@sun.com>
251 API tweaks for today's API 'freeze'.
254 Added placeholder functions to allow future compatible expansion
255 of the IDL interfaces.
257 * idl/Accessibility_Registry.idl:
258 Changed generateKeyEvent to generateKeyboardEvent. Changed
259 signature of this method to accept an optional keystring in
260 parameter (for complex text input synthesis) and changed use of
261 simple 'boolean' parameter in registerKeystrokeListener to a
262 struct, EventListenerMode.
264 * cspi/spi_accessible.c:
266 * cspi/spi_streamablecontent.c:
267 Added references to AccessibleStreamableContent interface, and
268 definition and implementation of AccessibleStreamableContent
271 * cspi/spi_registry.c:
273 Changed generateKeyEvent API to generateKeyboardEvent,
274 taking a new (optional) keystring parameter to support complex
279 Renamed directory (to better reflect its actual purpose, bridging
280 from at-spi to ATK). The .so module is also now named
283 * idl/Accessibility_Hypertext.idl:
284 * libspi/accessible.c:
285 * libspi/hypertext.h:
286 * libspi/hypertext.c:
287 Changed Accessibility_Hypertext to *not* derive from
290 * cspi/spi_registry.c:
291 Added list of legal event type names for 'window' events, which
292 completes the registry event API.
294 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
296 * at-bridge/bridge.c: Added registration for separate
297 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
298 signals. If either of the first two parameters to the generic
299 bridge signal handler are ints, they are passed on as event
300 details. This allows an AT to determine what text was inserted.
302 2001-12-21 Bill Haneman <bill.haneman@sun.com>
304 * registryd/deviceeventcontroller.c:
305 Fixed regressions in generateKeyEvent caused by the removal of
306 gdk_init from registryd; we now use pure X calls to connect to the
307 display, which makes sense because deviceeventcontroller already
308 uses a fair bit of X API (should eventually be migrated to a
309 'portability layer').
311 * registryd/desktop.c:
312 Fixed minor regression in spi_desktop_init, changed the way the
313 desktop name is being set to work with new spi_base API
314 (gobject-based, rather than AtkObject-based).
316 * registryd/Makefile.am:
317 Minor revision of makefile to use XTST_LIBS variable rather than
318 hard-wiring the Xtst LD_ADD element.
320 * test/keysynth-demo.c:
321 Tweaked an output message; added initialization of the
322 'keystrings' member of the "switch listener" key_set.
325 Squashed compile-time warning.
327 * libspi/accessible.c:
328 Cosmetic and formatting fixes, renamed a static method.
330 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
332 * libspi/accessible.c
334 * libspi/application.c
338 * libspi/editabletext.c
346 * registryd/desktop.c:
347 Changed SpiBase to contain a GObject pointer rather than an AtkObject
349 2001-12-17 Bill Haneman <bill.haneman@sun.com>
351 * idl/Accessibility_Registry.idl:
352 Added boolean member 'is_text' to DeviceEvent. This is for the
353 use of key events, and helps prevent ambiguity between composed
354 key strings and keysym names, since both may potentially be
355 returned in the 'event_string' member.
357 * at-bridge/bridge.c:
358 * registryd/deviceeventcontroller.c:
359 Use the 'is_text' member when notifying device event listeners.
360 Knon issue: composed characters are not dealt with correctly by
361 the global key listener implementation yet.
363 2001-12-17 Bill Haneman <bill.haneman@sun.com>
365 * at-bridge/bridge.c:
366 Namespaced local static methods to spi_atk_bridge_* where
367 previously named bridge_*, and spi_* elsewhere.
369 * at-bridge/bridge.c:
370 * cspi/bonobo/cspi-bonobo-listener.c:
371 Added demarshalling/conversion for string member of
372 Accessibility_DeviceEvent to AccessibleKeystroke.
374 * registryd/deviceeventcontroller.c:
375 Added code to fill the Accessibility_DeviceEvent key string value
376 member for global key events (i.e. from XGrabKey), to match
377 behavior of Accessibility_DeviceEvent from the toolkit key events
378 from the bridge. Fixed timestamp in global key event notifications.
381 Added printout of key event's string value to
382 report_ordinary_key_event, for demo/debugging purposes.
384 2001-12-15 Bill Haneman <bill.haneman@sun.com>
386 * idl/Accessibility_Registry.idl:
387 Removed Accessibility_KeyStroke structure in favor of generic
388 Accessibility_DeviceEvent structure.
389 Changed Accessibility_ControllerEventMask from a struct to an
392 * at-bridge/bridge.c:
393 Changed APIs to use DeviceEvent structure as above, and removed
394 bogus casting between these event structures.
396 * cspi/spi-listener.h:
397 Added keystring member of AccessibleKeystroke structure, to enable
398 matching on event "names" rather than only hardware codes and
402 Added keystrings member of AccessibleKeySet struct, to allow
403 matching on event names (as above).
404 Added declarations for SPI_createAccessibleKeySet and
405 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
406 event modmasks directly as unsigned ints rather than structs with
407 refcounts, in the DeviceEventController methods.
409 * cspi/spi_registry.c:
410 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
412 * cspi/spi-roletypes.h:
413 Added documentation of newly added SPI Roles.
415 * cspi/bonobo/cspi-bonobo-listener.c:
416 Changes in support of API changes above.
418 * libspi/accessible.c:
419 Converted APIs to use DeviceEvent structure (see IDL changes
422 * registryd/deviceeventcontroller.c:
423 Added DEControllerGrabMask structure to track keygrabs not only by
424 modmask but by keyset as well; this allows us to do "global"
425 (i.e. X) keygrabs on a per-key or keyset basis rather than always
426 grabbing on AnyKey and then filtering after-the-fact.
427 Bugfixes for event filtration mean that we don't get false matches
428 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
430 * registryd/deviceeventcontroller.c:
431 Namespaced a number of static methods to use spi_ prefix. Major
432 revision to internals of global (i.e. X) key grabs.
434 * registryd/deviceeventcontroller.h:
435 Removed keymask_list and added keygrabs_list to
436 SpiDeviceEventController struct.
439 Added use of SPI_createAccessibleKeySet API when creating a
440 listener for only one key. Attach a listener to "shift spacebar
441 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
442 X key event names to SPI key event names, so that listeners are
443 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
445 * test/keysynth-demo.c:
446 Changed (incorrect) use of X key event names (KeyPressed,
447 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
450 2001-12-12 Bill Haneman <bill.haneman@sun.com>
452 * libspi/accessible.c:
453 Convert all AtkRole enumerations to Accessibility_Role enums when
454 getting a role from an AtkObject.
456 * cspi/spi_accessible.c:
457 Complete the conversion of Accessibility_Role enums at runtime to
458 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
459 role enums correctly match those given in spi-roletypes.h.
460 Re-synchronize the local names list for AccessibleRole_getName ().
461 AccessibleRole_getName is now deprecated, since it duplicates the
462 more reliable Accessible_getRoleName.
463 Added some role types from Accessibility_Role.idl.
465 * idl/Accessibility_Role.idl:
466 Added some role types used by AtkRole.
468 2001-12-12 Bill Haneman <bill.haneman@sun.com>
471 * cspi/spi_registry.c:
473 * cspi/cspi-bonobo-listener.c:
474 Namespaced all methods that did not begin with an "SPI_" or
475 "Accessible" prefix to "SPI_".
478 Homogenized internal function namespace to "cspi_" for statics.
481 Patched tests to use the new CSPI API.
483 * docs/reference/cspi/at-spi-cspi-sections.txt:
484 Updated docs to reflect namespace changes, and added a number of
485 methods to the documentation.
487 * registryd/registry.c:
488 Changed use of strings and string hashes in listener event
489 matching and parse_event_string to use GQuark, which is guaranteed
492 * registryd/registry.h:
493 Squashed annoying warning.
495 * idl/Accessibility_Role.idl:
496 Extended range of available Accessibility_Role values.
498 * cspi/spi_accessible.c:
499 Re-ordered role names.
501 2001-12-12 Bill Haneman <bill.haneman@sun.com>
503 * idl/Accessibility_Value.idl:
504 Revert use of union back to CORBA_double, since the double type is
505 more efficient and can contain the other types without loss of
508 * idl/Accessibility_Accessible.idl:
509 Added method Accessibility:Accessible:getRoleName, to complement
510 Accessibility:Accessible:getRole.
512 * cspi/spi_accessible.c:
514 Added C binding for above, Accessible_getRoleName (), and changed
515 signature of Accessible_getRole () to return an AccessibleRole.
517 * cspi/spi-roletypes.h:
518 Changed AccessibleRole_getName to return a char * instead of a
519 const char *. This method is now at least temporarily deprecated
520 in favor of asking Accessibles for their RoleNames directly.
523 Revert to match Accessibility_Value.idl;
527 Change signature of AccessibleValue methods to use double rather
531 * cspi/spi_accessible.c:
532 Changed Accessible_getRole to return an AccessibleRole enum rather
533 than a UTF-8 string. The UTF-8 string can still be obtained via
534 AccessibleRole_getName ().
536 * test/test-simple.c:
537 Add test_action. Small fixup to match API change to Accessible_getRole.
540 Bugfix for get_action_from_servant ().
542 2001-12-11 Michael Meeks <michael@ximian.com>
544 * libspi/libspi.h: remove registry.h and
545 desktop.h, deviceeventcontroller.h
547 * libspi/Makefile.am: remove registry.[ch],
548 desktop.[ch], deviceeventcontroller.[ch]
550 * registryd/Makefile.am: add registry.[ch],
551 desktop.[ch], rename registryd.c to registry-main.c.
552 add deviceeventcontroller.[ch]
554 2001-12-11 Bill Haneman <bill.haneman@sun.com>
557 Replace setenv() call with putenv ().
559 * libspi/component.c:
560 Bugfix in AccessibleComponent_getExtents (),
563 2001-12-11 Michael Meeks <michael@ximian.com>
565 * libspi/image.c (impl_getImageExtents): impl.
566 (spi_image_class_init): upd.
569 (AccessibleImage_getImageDescription): fix daft bug
572 * test/test-simple.c (global_listener_cb): update
573 to only quit if not --poke
574 (main): catch --poke.
575 (validate_accessible): upd. dumping, call test_image
578 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
581 * idl/Accessibility.idl: update all IDL includes.
583 * idl/*.idl - rename to namespace - this sucks, blame
584 mjs' bad decision for oafd.
586 * test/test-simple.c (create_test_window): add more tests.
587 (create_tree): split this out.
588 (validate_accessible): bugfix.
590 2001-12-11 Michael Meeks <michael@ximian.com>
592 * cspi/bonobo/cspi-bonobo-listener.c:
593 (cspi_kestroke_listener_unref),
594 (cspi_event_listener_unref): impl. undoing previous
595 homenous environment - for Bill.
597 * cspi/spi_table.c (long_seq_to_array): use
600 * cspi/spi_main.c: split out all bonoboish bits into
603 * cspi/spi-impl.h: upd. typedefs.
605 * cspi/spi_registry.c: update to lowlevel API,
606 return booleans to indicate success in some places.
608 * cspi/spi_event.c: update to lowlevel API.
610 * cspi/bonobo/Makefile.am: add.
612 * cspi/bonobo/cspi-lowlevel.h: add
614 * cspi/bonobo/cspi-bonobo.c: add
616 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
618 * cspi/Makefile.am: remove spi-listener-impl.[ch],
619 (SUBDIRS): add bonobo, link in the libs.
621 * cspi/spi-util.c: kill this file.
623 * TODO: merge in my bits.
625 2001-12-11 Michael Meeks <michael@ximian.com>
627 * test/test-simple.c (test_value, test_table, main):
628 remove unused variables causing warnings.
630 * configure.in: cleanup checks - require gail.
632 2001-12-11 Bill Haneman <bill.haneman@sun.com>
635 Changed Value interface to use SValue (scalars) rather than
636 assuming all values are floats. This allows floats, doubles,
637 longs, shorts, and unsigned values to be manipulated.
638 Introduced Accessibility:SValue union.
641 Updated to use new API above, and to work correctly with GValues
642 of different types in AtkValue.
645 Updated to use new API above. cspi's API is as yet unchanged.
648 Updated the Value revision action item.
650 2001-12-10 Bill Haneman <bill.haneman@sun.com>
652 * test/test-simple.c:
653 Added test_table (GtkTreeView widget in test window to follow).
654 Un-commented test_value, added GtkRange widget.
655 Added GtkTreeView widget with GtkListStore. It passes regression
656 test but leaks one SPI object for some reason.
659 Fixed bug in impl__set_currentValue.
661 2001-12-10 Michael Meeks <michael@ximian.com>
663 * cspi/spi_text.c: audit for exception handling,
664 tolerating NULL object references safely etc.
666 * cspi/spi_value.c: ditto.
668 * cspi/spi_table.c (AccessibleTable_getSummary),
669 (AccessibleTable_getAccessibleAt),
670 (AccessibleTable_getRowHeader),
671 (AccessibleTable_getColumnHeader),
672 (AccessibleTable_getCaption): fix bugs hidden by
674 (long_seq_to_array): impl.
675 (AccessibleTable_getSelectedRows),
676 (AccessibleTable_getSelectedColumns): use it.
678 2001-12-10 Bill Haneman <bill.haneman@sun.com>
681 Added a TODO list (rough and short for now).
683 * cspi/spi_hyperlink.c:
684 * cspi/spi_hypertext.c:
685 Fixed macro name typos, and remove use of obsolete macro in
686 AccessibleHyperlink_getLink.
689 * cspi/spi_accessible.c:
690 * cspi/spi_application.c:
691 * cspi/spi_component.c:
692 * cspi/spi_selection.c:
695 Documentation fixes (removed return values from ref/unref methods).
697 2001-12-10 Michael Meeks <michael@ximian.com>
699 * cspi/spi_action.c: audit for exception handling,
700 tolerating NULL object references safely etc.
702 * cspi/spi_accessible.c: ditto.
704 * cspi/spi_component.c: ditto.
706 * cspi/spi_editabletext.c: ditto.
708 * cspi/spi_hyperlink.c: ditto.
710 * cspi/spi_hypertext.c: ditto.
712 * cspi/spi_image.c: ditto.
714 * cspi/spi_selection.c: ditto.
716 2001-12-10 Michael Meeks <michael@ximian.com>
718 * configure.in: use cspi/libspi.pc.in instead.
720 * Makefile.am (pkgconfig_DATA): upd. to match.
722 * test/simple-at.c (report_focus_event): kill hacks around
723 bad return values, use putenv not setenv
725 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
726 fire ChildGone - I killed it.
729 (impl_accessibility_component_get_extents): remove
732 * idl/Accessible.idl: kill ChildGone exception.
734 * cspi/*.[ch]: kill int return from ref / unref.
736 * cspi/spi_main.c (cspi_object_add_check): fold into
737 (cspi_object_add): here.
739 * cspi/spi_component.c (AccessibleComponent_getExtents):
740 handle exceptions elegantly.
742 * cspi/spi-private.h (cspi_check_ev_return),
743 (cspi_return_if_fail): impl.
745 * cspi/spi_accessible.c: use extensively.
746 (AccessibleStateSet_equals): add direct compare check.
748 * cspi/spi_selection.c: tolerate NULL objs, and check
749 exceptions before return.
751 * cspi/spi-util.c (cspi_warn_ev): rename to
752 (cspi_check_ev): this & don't pass ev in; no point.
754 2001-12-10 Michael Meeks <michael@ximian.com>
756 * test/test-simple.c: use putenv not setenv
757 (get_environment_vars): more chatty if you're not using
760 * test/simple-at.c: do the setenv so more people see the
763 2001-12-10 Bill Haneman <bill.haneman@sun.com>
766 Changed check of CORBA_environment on notification to be a warning
767 instead of an error for the moment, since we can recover from this
768 error when caused by a queued notification from a dead app.
771 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
772 used by all current implementors of AtkValue), and coerce to
773 CORBA_float. (Proper general case fix may require change to Value.idl).
775 2001-12-09 Bill Haneman <bill.haneman@sun.com>
779 * cspi/spi_accessible.c:
780 Documentation fixes: added user_data params to documentation for
781 listeners and callbacks.
783 * cspi/spi_accessible.c:
784 Changed AccessibleStateSet_compare to return a
785 StateSet rather than return the difference set into a third parameter.
788 2001-12-09 Bill Haneman <bill.haneman@sun.com>
791 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
792 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
796 Remove subdirectory po from SUBDIRS for now.
798 * at-bridge/bridge.c:
799 Beefed up a couple of debug printouts.
800 One-line fix for signal notification name formatting.
802 * libspi/accessible.c:
803 Added assertion to spi_accessible_new ().
805 * libspi/application.c:
806 Put #ifdef qualifiers around a printf.
809 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
811 * registryd/Makefile.am:
813 Replaces use of XML_I18N_MERGE_SERVER_RULE with
814 INTLTOOL_SERVER_RULE macro.
817 Added an event listener for several ATK signals, for
818 testing and debugging. Removed a few g_warnings.
819 Added test output if focussed item implements the Value interface.
821 * test/test-simple.c:
822 Added test_value () function (known not to pass at the moment, so
823 not actually called yet.
825 2001-12-08 Michael Meeks <michael@ximian.com>
827 * at-bridge/bridge.c (bridge_focus_tracker),
828 (emit_eventv): fix the same ref. leak.
829 (register_atk_event_listeners): don't leak.
831 * cspi/spi-listener-impl.c (cspi_event): more
832 protection from client code.
834 * test/test-simple.c (test_desktop): unref the app.
836 * test/Makefile.am: upd. TESTS.
838 * at-bridge/bridge.c (bridge_exit_func): release the registry.
840 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
842 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
844 * cspi/spi_registry.c: constify in strings.
845 (deregisterGlobalEventListenerAll): don't release the ref.
847 * cspi/spi.h: start removing redundant / conflicting
848 gtkdoc comments, making the API readable at a glance :-)
850 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
852 * test/keysynth-demo.c (keysynth_exit, main): upd.
854 * test/simple-at.c (main, simple_at_exit): upd.
856 * test/test-simple.c (unutterable_horror): kill.
857 (utterable_normal_derefs): kill.
858 (main): upd & do a setenv before gtk_init, so that we
859 can use memprof - and to save the pain of remembering
860 this, if we're running under memprof - don't exit.
862 * cspi/spi_main.c (SPI_exit): return exit status
864 (SPI_event_quit): impl.
865 (SPI_event_main): simplify.
866 (cspi_is_gnome_app): kill.
867 (SPI_init): kill isGNOMEapp arg.
869 * at-bridge/bridge.c (register_atk_event_listeners):
870 re-instate the unref.
871 (bridge_exit_func): don't re-activate the registry,
872 protect vs. theoretical re-entry, use the
873 AT_BRIDGE_SHUTDOWN env. var to determine whether to
874 assert a clean shutdown - for regression tests.
876 2001-12-08 Abel Cheung <maddog@linux.org.hk>
878 * configure.in: Comment out dummy i18n support for now,
879 otherwise it fails to build.
880 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
881 EXTRA_DIST. They are missing in tarball.
883 2001-12-07 Michael Meeks <michael@ximian.com>
885 * util/magnifier.c: kill bonobo activation reg. race.
888 (impl_accessibility_component_get_extents): make it match
891 * libspi/registry.c (_registry_notify_listeners):
892 re-remove X headers & reconcile conflicts.
893 (spi_listener_struct_free): bad conflict resolve.
894 (impl_accessibility_registry_register_application):
895 more bad merging fixed.
896 (impl_accessibility_registry_deregister_application): ditto.
897 (spi_registry_new): ditto.
898 (spi_registry_init): don't have an applications field.
900 [ merge fixups2 branch to here ]
901 2001-12-07 Michael Meeks <michael@ximian.com>
903 * test/simple-at.c (report_focus_event),
904 (report_focussed_accessible): remove g_warning debug.
906 2001-12-07 Michael Meeks <michael@ximian.com>
908 * test/test-simple.c (validate_tree): comment out some checks.
909 (test_desktop): app now not registered idly - horay.
911 2001-12-07 Michael Meeks <michael@ximian.com>
913 * cspi/spi_registry.c
914 (registerAccessibleKeystrokeListener): clean, stop it leaking
915 great swathes of memory, and device event controller references.
916 ensure we always pass valid sequences.
917 (deregisterAccessibleKeystrokeListener): ditto.
918 (generateKeyEvent): upd.
920 * at-bridge/bridge.c (bridge_key_listener): handle
921 registry dead exception gracefully.
922 (bridge_focus_tracker, emit_eventv): free ev.
924 * test/simple-at.c (report_focus_event): fix polarity.
926 * libspi/application.c (notify_listeners): kill the ev
927 argument, and make sure we init the ev we use.
928 (spi_application_object_event_listener): split out a chunk
929 (get_atk_object_ref): here & fixup.
930 (reverse_lookup_name_for_toolkit_event): make const.
931 (spi_application_toolkit_event_listener): fixup, kill leaks
934 * at-bridge/bridge.c (register_atk_event_listeners):
935 don't unref the noop object - causes grief.
937 * libspi/registry.c: remove the X headers.
938 turn off the debug churn.
940 * libspi/accessible.c (spi_accessible_new_return): only
941 release the ref if we are supposed to [doh]
943 * test/simple-at.c (report_button_press, report_focus_event):
944 guard vs. unexpected exit.
946 * at-bridge/bridge.c (gtk_module_init): prune printf.
947 (bridge_exit_func): fix app unref.
949 * libspi/Makefile.am: don't install registry or desktop.h
951 * libspi/*.h: update includes.
953 * libspi/application.h: don't include ourself, or
954 other redundant headers.
956 2001-12-06 Michael Meeks <michael@ximian.com>
958 * libspi/accessible.c
959 (get_accessible_from_servant): impl.
960 Upd. all CORBA impl.s to use it killing cut and paste.
962 * cspi/spi_main.c (cspi_cleanup): guard vs. double
964 (SPI_init): register atexit cleanup handler here.
966 2001-12-06 Michael Meeks <michael@ximian.com>
968 * at-bridge/bridge.c (gtk_module_init): g_error on
971 2001-12-06 Michael Meeks <michael@ximian.com>
973 * at-bridge/bridge.c (gtk_module_init): some sort of
974 confusing merge clash - reverted.
975 (bridge_idle_init): ditto.
977 * test/test-simple.c (main, utterable_normal_derefs):
978 merge from Bill - somehow not committed.
980 2001-12-06 Michael Meeks <michael@ximian.com>
982 * libspi/value.c (spi_value_class_init): upd.
983 (spi_value_finalize): kill.
985 * libspi/table.c (spi_table_finalize): kill.
986 (spi_table_interface_new): upd.
987 (spi_table_class_init): upd.
988 (get_table_from_servant): impl.
989 Upd. all CORBA impl.s to use it killing yet more cut and paste.
991 * libspi/selection.c (spi_selection_finalize): kill.
992 (spi_selection_interface_new): upd.
993 (spi_selection_class_init): upd.
994 (get_selection_from_servant): impl.
995 Upd. all CORBA impl.s to use it killing yet more cut and paste.
997 * libspi/relation.c (spi_relation_finalize): kill.
998 (spi_relation_class_init, spi_relation_new): upd
1000 * libspi/image.c (spi_image_finalize): kill.
1001 (spi_image_class_init): upd.
1002 (spi_image_interface_new): upd.
1003 (get_image_from_servant): impl.
1004 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1006 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
1007 (spi_hyperlink_finalize): kill.
1008 (spi_hyperlink_new): upd.
1009 (get_hyperlink_from_servant): impl.
1010 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1012 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
1013 (spi_hypertext_finalize): kill.
1014 (spi_hypertext_class_init): upd.
1015 (get_hypertext_from_servant): impl.
1016 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1018 * libspi/editabletext.c (spi_editable_text_finalize): kill.
1019 (spi_editable_text_interface_new): upd.
1020 (get_editable_text_from_servant): impl.
1021 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1023 * libspi/text.c (get_text_from_servant): impl.
1024 All impls - update to use it killing more cut and paste,
1025 also fix bad string returns on duff args ( a somewhat
1026 impossible case to handle - but hey ).
1027 (spi_text_construct): impl.
1028 (spi_text_interface_new): upd.
1029 (spi_text_object_finalize): kill.
1031 * libspi/component.c
1032 (accessibility_component_object_finalize): kill.
1033 (spi_component_class_init): upd.
1034 (get_component_from_servant): impl. helper to kill cut & paste.
1035 (impl_accessibility_component_contains):
1036 (impl_accessibility_component_get_accessible_at_point):
1037 (impl_accessibility_component_get_position):
1038 (impl_accessibility_component_get_extents):
1039 (impl_accessibility_component_get_mdi_z_order):
1040 (impl_accessibility_component_get_layer):
1041 (spi_component_interface_new): upd.
1043 * libspi/action.c (spi_action_finalize): kill.
1044 (spi_action_class_init): upd. inherit from SpiObject.
1045 (spi_action_interface_new): upd.
1046 (get_action_from_servant): impl. helper to reduce cut & paste.
1047 (impl_getKeyBinding, impl_getName, impl_doAction),
1048 (impl_getDescription): Use it everywhere.
1050 * cspi/spi_main.c (get_live_refs): a pointer hash.
1051 (spi_object_hash, spi_object_equal): comment out.
1052 There are issues with CORBA object hashing that need
1055 * libspi/application.c (spi_application_init),
1056 (spi_application_new): upd.
1058 * libspi/accessible.c (spi_accessible_object_finalize): kill.
1059 (spi_accessible_class_init): upd.
1060 s/accessible/object/ in epv methods.
1062 2001-12-05 Bill Haneman <bill.haneman@sun.com>
1064 * at-bridge/bridge.c:
1065 Reorder the bridge initialization into the bridge gtk_module_init,
1066 an immediate call to bridge_register_app, and an idle_add for
1067 register_atk_event_listeners (the only code that *must* wait until
1068 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
1069 the activation, creates the application's Accessible object, and
1070 queues the bridge_idle_init function. Restored call to
1071 Accessibility_Registry_deregisterApplication().
1072 Prior to making this call we obtain a new reference to the
1073 registry, which is a temporary hack that helps us handle apps that
1074 shut down the bonobo mainloop before we get there.
1076 * libspi/registry.c:
1077 Fix string leakage in debug block, and don't segv if a an app
1078 dies before its event notifications have been propagated.
1081 Modify cspi_check_ev() to call g_warning() rather than g_error(),
1082 as stopgap measure until we get proper exception handling when
1083 objects die during or before interrogation.
1087 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
1088 Also changed default value of is_gnome_app to TRUE.
1091 * test/keysynth-demo.c:
1092 Changed use of SPI_init and SPI_event_main to reflect API change above.
1095 Made report_focus_event check the warning value from getName
1096 before reporting on focussed accessible; simplifies handling of
1097 notifications from dead objects.
1099 * test/test-simple.c: (Changes not in this patch since source is
1102 2001-12-05 Michael Meeks <michael@ximian.com>
1104 * registryd/registryd.c (main): protect against
1105 bonobo-activation startup race condition.
1107 * cspi/spi_main.c (cspi_object_add_check): cope
1108 with the exception elegantly.
1110 * idl/Accessible.idl: decl. ChildGone
1112 * libspi/desktop.c (spi_desktop_dispose): impl.
1113 (spi_desktop_class_init): upd.
1114 (spi_desktop_add_application),
1115 (spi_desktop_remove_application),
1116 (abnormal_application_termination): impl.
1117 (impl_desktop_get_child_at_index): re-impl.
1120 (impl_accessibility_registry_deregister_application),
1121 (impl_accessibility_registry_register_application):
1122 kill excessive debug clutter.
1124 * test/test-simple.c (test_misc): test some NULL
1125 tolerance. (main): upd.
1127 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
1128 implements no interfaces - so let's not crash.
1130 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
1132 * libspi/accessible.c (spi_accessible_new_return): impl.
1133 helper to calm the cut and paste, to cope with
1134 NULL AtkObjects effectively and efficiently, and to kill
1135 the referencing bugs.
1137 * libspi/table.c (impl_getAccessibleAt),
1138 (impl_getRowHeader, impl_getColumnHeader): upd.
1140 * libspi/hyperlink.c (impl_getObject): upd.
1142 * libspi/accessible.c
1143 (impl_accessibility_accessible_get_child_at_index): upd.
1145 * libspi/component.c
1146 (impl_accessibility_component_get_accessible_at_point): upd.
1148 * test/test-simple.c (test_editable_text, test_text): impl.
1151 * cspi/spi_editabletext.c
1152 (AccessibleEditableText_insertText): constify.
1154 * test/test-simple.c (focus_me): make more robust.
1156 * libspi/accessible.c: remove some printfs in methods that
1157 we test and work fine, so we can get a clean tree dump.
1159 * test/test-simple.c (validate_accessible),
1160 (validate_tree): make tree dumping pretty too.
1162 * at-bridge/bridge.c (bridge_signal_listener): upd. so
1163 it builds without debug on.
1165 * test/test-simple.c (validate_accessible): fix the most
1168 * cspi/spi_main.c (spi_object_release): leave the nicely
1169 blanked memory around if in debug mode.
1171 * cspi/spi-listener-impl.c (cspi_event): use add_check.
1173 [committed to fixups2]
1174 2001-12-05 Michael Meeks <michael@ximian.com>
1176 * libspi/editabletext.c
1177 (spi_editable_text_class_init): g_type_class_peek_parent,
1178 not interface peek - so we finalize cleanly.
1180 * libspi/accessible.c (spi_accessible_new): kill debug.
1182 * test/test-simple.c (validate_accessible): fix ref.
1183 leak, print strings before freeing them; sigh, comment a
1184 chunk out due to strangeness.
1185 (validate_tree): unref the child after use.
1187 * cspi/spi_component.c (AccessibleComponent_getLayer):
1188 add missing break statement, switch on zlayer not the
1189 uninitialized retval.
1191 * cspi/spi_main.c (cspi_object_add): add assert, local ref
1192 before (possibly re-entering) remote unref.
1194 * test/simple-at.c (main): unref the desktop.
1196 * cspi/spi_accessible.c (cspi_accessible_is_a): move
1199 * cspi/spi_main.c (cspi_accessible_is_a): here to
1200 isolate bonobo API usage more.
1202 * libspi/registry.c (impl_accessibility_registry_register_application):
1203 prune bogus comment.
1205 2001-12-04 Michael Meeks <michael@ximian.com>
1207 * test/test-simple.c (validate_tree): upd.
1208 IndexInParent check to make it more lucid.
1209 (validate_accessible): dump the tree.
1211 * libspi/accessible.c (de_register_public_ref),
1212 (get_public_refs): impl.
1213 (spi_accessible_new): make more efficient & intuitive.
1214 Now IndexInParent check works.
1216 2001-12-04 Michael Meeks <michael@ximian.com>
1218 * cspi/spi-util.h: remove.
1220 * cspi/spi.h: move SPI_freeString here
1222 * libspi/component.c (impl_accessibility_component_get_layer):
1224 (impl_accessibility_component_get_mdi_z_order): ditto,
1225 return -1 on error - is this ok ?
1227 * test/test-simple.c (test_application): impl.
1229 * cspi/spi_accessible.c (Accessible_getApplication),
1230 (Accessible_isApplication): impl.
1232 * libspi/registry.c (spi_listener_struct_free): release
1233 the CORBA reference too.
1235 * libspi/accessible.c
1236 (impl_accessibility_accessible_get_parent): fix ref leak.
1238 * libspi/registry.c (spi_registry_new): make the registry
1239 immortal - we don't want it to go away ever.
1241 * libspi/application.c
1242 (spi_accessible_application_finalize): impl. cleanup.
1244 * cspi/spi_registry.c
1245 (deregisterGlobalEventListenerAll),
1246 (deregisterGlobalEventListener),
1247 (deregisterAccessibleKeystrokeListener): fix ref leak.
1249 * cspi/spi_main.c (SPI_init): remove redundant ref.
1251 * test/test-simple.c (unutterable_horror): impl. to force a
1256 (impl_accessibility_registry_deregister_application): release
1257 the application when we de-register it.
1259 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1260 until we have the infastructure to get it right.
1262 2001-12-03 Michael Meeks <michael@ximian.com>
1264 * libspi/Makefile.am: only build eventlistener.[ch]
1266 * libspi/accessible.c
1267 (impl_accessibility_accessible_get_child_at_index): don't leak.
1269 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1270 before we hit the idle handler.
1272 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1273 debugging than exit.
1275 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1277 * libspi/listener.c (impl_notify_event): check source
1278 not NIL before unref.
1280 * libspi/registry.c (impl_registry_notify_event): ditto.
1282 * libspi/eventlistener.c
1283 (impl_accessible_event_notify_event): unref the source.
1285 * libspi/accessibleeventlistener.c
1286 (impl_accessible_event_notify_event): unref the source.
1288 * idl/Event.idl: remove 'hash_id' attribute - of no
1291 * libspi/application.c (notify_listeners): upd list
1293 (spi_application_object_event_listener),
1294 (spi_application_toolkit_event_listener): upd to do correct
1298 (_registry_notify_listeners): update.
1299 (parse_event_type): this method also leaks like a sieve.
1300 (impl_accessibility_registry_deregister_global_event_listener):
1301 fix ETYPE_WINDOW case.
1303 * libspi/application.c
1304 (impl_accessibility_application_register_object_event_listener):
1307 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1309 * libspi/hypertext.c (impl_getLink): ditto.
1311 * cspi/spi_main.c (cspi_object_add): remove
1312 bogus CORBA_Object_duplicate.
1314 * cspi/spi-listener-impl.c (cspi_event): dup/ref
1317 * cspi/spi_accessible.c
1318 (Accessible_getRelationSet): fix leak / referencing issue.
1320 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1321 (cspi_object_add, cspi_object_unref): upd.
1322 (spi_object_release, get_live_refs): impl.
1323 (cspi_cleanup): simplify.
1325 * *.[ch]: s/boolean/SpiBoolean/
1327 * cspi/spi_accessible.c (role_names): actualy order so it
1328 corresponds with the enum !
1330 * test/test-simple.c (test_roles): check some role strings
1331 vs. enums to detect offset errors.
1333 2001-12-01 Michael Meeks <michael@ximian.com>
1335 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1337 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1339 (Accessible_getChildAtIndex): use cspi_add_check so we
1340 check the ev before using a (possibly) invalid value.
1342 * libspi/accessible.c
1343 (impl_accessibility_accessible_get_parent): don't segv
1346 * at-bridge/bridge.c (gtk_module_init): upd.
1347 (bridge_property_event_listener): don't leak strings
1349 (bridge_state_event_listener),
1350 (bridge_property_event_listener): don't use a static
1351 buffer in case of recursive event emission &
1352 re-enterancy - split out the swathe of cut and paste
1354 (emit_eventv): and fix 2 ref leaks here & comply to the
1356 (bridge_register_app): rename to
1357 (bridge_idle_init): this and kill arg parsing, split
1358 various inits & bonobo-activation registration to module
1359 init time, kill referencing error.
1360 (bridge_exit_func): fix the same leak.
1361 (bridge_focus_tracker): don't leak event structures
1363 (bridge_signal_listener): more leakage and cut & paste
1365 (bridge_key_listener): return the result - FIXME is
1366 this polarity correct ?
1367 (accessibility_keystroke_from_atk_key_event): rename
1368 (accessibility_init_keystroke_from_atk_key_event): and stop
1370 (gtk_module_init): return a value - not that it is checked by
1372 (bridge_key_listener): register my horror at casting between
1373 IDL defined structs.
1374 (bridge_get_registry): kill - not used.
1376 * cspi/spi_accessible.c (Accessible_getRole): make return const.
1378 * test/test-simple.c (test_roles): impl.
1379 (test_desktop, validate_accessible, validate_tree): impl.
1381 * cspi/spi_accessible.c (role_names): fixup bogus
1382 MAX_ROLES setup, make constants const for efficient linkage
1383 (AccessibleRole_getName): conform to coding style, make
1386 2001-11-30 Michael Meeks <michael@ximian.com>
1388 * cspi/spi.h: add missing prototype.
1390 * libspi/registry.c (spi_listener_struct_new): fix sig.
1392 * test/Makefile.am: add test-simple
1394 * test/test-simple.c: add
1396 * test/test.sh: add.
1398 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1400 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1401 do it straight - since otherwise we often get an activation race.
1403 [ work before Bill duplicated a chunk of it ... ]
1404 2001-11-30 Michael Meeks <michael@ximian.com>
1406 * libspi/keystrokelistener.c
1407 (spi_keystroke_listener_class_init): fixup arg
1410 * libspi/eventlistener.c
1411 (spi_event_listener_class_init): ditto.
1413 * tests/test.sh: add.
1415 * cspi/spi-listener-impl.h: update macros.
1417 * cspi/spi-listener-impl.c
1418 (cspi_event_listener_remove_callback): add
1419 correct pre-conditions.
1421 * cspi/spi_main.c (SPI_exit): guard vs. double
1422 exits, exit the mainloop nicely.
1423 (SPI_event_main): make more sense.
1424 (SPI_init): move the atexit evilness here so we
1425 always do it (yuck).
1426 (SPI_event_main): upd.
1428 * test/simple-at.c: update for listener changes.
1430 * registryd/registryd.c (main): prune kruft.
1432 * libspi/libspi.h: upd.
1434 * libspi/eventlistener.[ch]: rename broken macros.
1436 * libspi/accessibleeventlistener.[ch]: remove.
1438 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
1440 * test/test-simple.c: Add - automated tests.
1442 * cspi/spi-listener-impl.c (cspi_event),
1443 (cspi_key_event): add user_data to invoke.
1444 (cspi_keystroke_listener_finalize): impl.
1445 (cspi_keystroke_listener_class_init): upd.
1448 (createAccessibleEventListener),
1449 (AccessibleEventListener_addCallback),
1450 (createAccessibleKeystrokeListener),
1451 (AccessibleKeystrokeListener_addCallback): upd.
1453 * libspi/deviceeventcontroller.c
1454 (spi_device_event_controller_check_key_event): add public proto.
1457 (impl_accessibility_registry_deregister_global_event_listener):
1458 always init listeners.
1459 (_registry_notify_listeners): yes it is.
1461 * cspi/spi-listener-impl.c (cspi_key_event):
1463 (cspi_event_listener_finalize): impl.
1464 (cspi_event_listener_class_init): hook up.
1465 (event_handler_new, event_handler_free),
1466 (event_list_remove_by_callback): impl.
1467 (cspi_event_listener_remove_callback),
1468 (cspi_keystroke_listener_remove_callback),
1469 (cspi_keystroke_listener_add_callback),
1470 (cspi_event_listener_add_callback): upd.
1472 * libspi/keystrokelistener.c
1473 (keystroke_listener_object_finalize): kill
1474 (spi_keystroke_listener_class_init): upd.
1475 (spi_keystroke_listener_add_callback),
1476 (spi_keystroke_listener_remove_callback): kill,
1478 (impl_key_event): prune drasticaly.
1480 * libspi/eventlistener.c
1481 (spi_event_listener_add_callback),
1482 (spi_event_listener_remove_callback): kill, use
1484 (impl_accessible_event_notify_event): upd.
1485 (spi_event_listener_object_finalize): remove.
1487 * libspi/Makefile.am: use eventlistener.[ch]
1489 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1491 * libspi/registry.c (_registry_notify_listeners):
1492 Changed listener loop iteration to use preferred convention.
1493 Got rid of string memory leaks caused be calling g_strconcat
1494 inside function calls.
1496 * libspi/registry.c (parse_event_type):
1497 Stopped g_strconcat memory leaks, free the g_strsplit return,
1498 g_strdup the split pieces when used, etc.
1500 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1503 Change method 'compare' to return a 'difference set' rather than
1504 taking a StateSet as an out parameter (more Java-friendly).
1506 * idl/Accessible.idl:
1507 Added CORBA struct 'BoundingBox', to faciliate API changes below:
1509 * idl/Component.idl:
1511 Changed methods 'getExtents' and 'getImageExtents' in these
1512 interfaces to return a BoundingBox structure.
1513 (getPosition and getSize are redundant and possibly should be
1514 removed, rather than creating a corresponding Point struct.)
1516 * cspi/spi_component.c:
1517 Modify implementation of getExtents to reflect the above IDL
1522 Add (missing) AccessibleImage_getExtents () API.
1524 * docs/reference/cspi/at-spi-cspi-sections.txt:
1525 Added AccessibleImage_getImageExtents () to docs.
1527 2001-12-03 Bill Haneman <bill.haneman@sun.com>
1529 * idl/Component.idl:
1530 Added two methods, getLayer () and getMDIZOrder (), to reflect
1531 the new ATK methods atk_object_get_layer and
1532 atk_object_get_mdi_z_order. (Which arguably should be part of the
1533 AtkComponent API and AtkObject). Also added an enum,
1534 ComponentLayer, for the first method's return value.
1536 * libspi/component.c:
1537 Added implementations for these methods.
1539 * cspi/spi_component.c:
1541 Added cspi binding methods for above,
1542 AccessibleComponent_getLayer() and
1543 AccessibleComponent_getMDIZOrder().
1544 Added cspi enum 'AccessibleComponentLayer'.
1546 * docs/reference/cspi/at-spi-cspi-sections.txt:
1547 Added above methods to docs.
1551 Changed typedef for 'boolean' type (and all references to it) to
1552 SPIBoolean, to avoid keyword clashes with C++.
1555 Changed usages of 'boolean' to SPIBoolean.
1557 * test/keysynth-demo.c:
1558 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
1559 app), except where SPIBoolean is required by the callbacks API.
1561 2001-12-02 Bill Haneman <bill.haneman@sun.com>
1563 * cspi/spi_registry.c:
1564 Removed obsolete X event loop for passive keygrabs (which now
1567 * registryd/registryd.c:
1568 Removed unnecessary call to gdk_init() [cruft]. This also allows
1569 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
1572 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1574 * docs/reference/cspi:
1575 Included docs for SPI_freeString in generated documentation.
1578 Renamed spi_freeString to SPI_freeString, for consistency. Added
1579 documentation for this function.
1582 Renamed spi_freeString to SPI_freeString, for consistency.
1583 Removed obsolete method declaration string_from_corba_string.
1585 * test/keysynth-demo.c:
1586 Small tweak to comments.
1589 Stopped leaking the strings returned from CSPI.
1591 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1593 Merged Michael's branch (see his ChangeLog entries below).
1595 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
1596 bridge is alive, release on exit.
1598 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
1599 Fix type check macro.
1602 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
1605 Added is_gnome_app static, and method cspi_is_gnome_app(),
1606 so we can call the appropriate shutdown routine at exit in SPI_exit.
1608 * cspi/spi_main.c (cspi_object_ref):
1609 Duplicate the corba object passed in, since we're keeping it around.
1611 * cspi/SPI_exit.c, cspi_cleanup:
1612 Moved the releasing of the live refs to its own function, so we
1613 can put it in g_atexit (). Call the appropriate shutdown API
1614 depending on whethe calling client is a gnome app or not
1615 (bonobo_main_quit or CORBA_ORB_shutdown).
1617 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
1618 Unref the listener when this method is called, after
1619 deregistration. Updated the API docs to note this behavior.
1621 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
1622 Bugfixes: Ref the bonobo object when returning a parent or child
1623 reference, or an AccessibleRelation. Generally made sure
1624 BonoboObject refcount is incremented whenever we return an
1627 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
1628 Fixed typo/bug in signal declaration.
1630 * libspi/accessibleeventlistener.h:
1633 * libspi/application.c (spi_application_new):
1634 Fixed leak in initialization.
1637 Remembered to increment bonobo-object refcount when returning
1638 children (applications) from desktop object.
1639 Added (empty) finalize method.
1641 * libspi/deviceeventcontroller.c:
1642 Hold a ref to listeners inside DEControllerKeyListeners.
1643 Added dec_key_listener_free() method. Use prepend instead of
1644 append in key_listener list. Fixed some refcount madness and
1645 leaks in the listener registration/deregistration - deregistration
1646 now calls dec_key_listener_free() on listeners, and on the
1647 temporarily constructed dec_key_listener() used to perform the search/match.
1649 * libspi/hypertext.c (spi_hypertest_finalize):
1650 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
1651 class. Also fixed spi_hypertext_interface_new() and
1652 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
1654 * libspi/hypertext.h:
1655 Removed pointless and duplicate AtkObject pointer from
1658 * libspi/keystrokelistener.c:
1659 Fixed incorrect type of keystroke_listener_parent_class,
1660 renamed keystroke_listener_object_finalize to
1661 spi_keystroke_listener_object_finalize.
1662 Fixed typo in signal declaration
1663 (spi_keystroke_listener_class_init).
1665 * libspi/registry.c:
1666 Added funcsions spi_listener_struct_new() and
1667 spi_listener_struct_free() to help with memory management issues.
1668 We also now use these methods instead of gnew + poking stuff into
1669 the struct, and to decrement listener counts/free the listeners
1670 when deregistering them.
1671 Fix more refcount bugs in getDesktop() and
1672 getDeviceEventController().
1675 De-ref the desktop after enumerating the applications. Explicitly
1676 decrement the refcounts on the created listeners on exit (using
1677 _unref for keystroke listeners, and via the
1678 deregisterGlobalEventListenerAll command for other event
1681 2001-11-27 Michael Meeks <michael@ximian.com>
1683 * cspi/spi-listener.h: fixup enum.
1685 2001-11-27 Michael Meeks <michael@ximian.com>
1687 * cspi/spi-listener-impl.c (cspi_event_listener_new),
1688 (cspi_keystroke_listener_new): Use the cspi variants.
1690 2001-11-26 Michael Meeks <michael@ximian.com>
1692 * test/keysynth-demo.c: fix 2 compile warnings, missing
1695 * test/simple-at.c (report_focussed_accessible),
1696 (report_focus_event, report_button_press),
1697 (check_property_change, is_command_key),
1698 (report_ordinary_key_event, report_command_key_event): upd.
1700 * util/mag_client.h: include pre-requisites.
1702 * libspi/accessibleeventlistener.c
1703 (spi_event_listener_object_finalize): free any lingering
1706 * libspi/keystrokelistener.c
1707 (keystroke_listener_object_finalize): ditto.
1709 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1710 callbacks, with cspi types.
1712 * cspi/spi_event.c (createAccessibleEventListener): chain to
1713 (AccessibleEventListener_addCallback): here.
1714 (createAccessibleKeystrokeListener): chain to
1715 (AccessibleKeystrokeListener_addCallback): here.
1717 * libspi/keystrokelistener.c
1718 (spi_keystroke_listener_class_init): add signal.
1719 (impl_key_event): emit the event.
1720 (boolean_handled_accumulator): impl.
1721 (marshal_BOOLEAN__POINTER): add, gack.
1723 * libspi/accessibleeventlistener.c
1724 (spi_event_listener_class_init): add signal.
1725 (impl_accessible_event_notify_event): emit the signal &
1726 make the loop efficient.
1727 (spi_event_listener_add_callback): prepend the callback.
1729 * libspi/accessibleeventlistener.h: add an 'event' signal,
1730 decl type on callback.
1732 * libspi/keystrokelistener.h: ditto.
1734 * cspi/spi-listener.h: make methods typesafe and
1735 make them use the new event typedefs.
1737 * test/simple-at.c (report_focussed_accessible):
1738 include mag_client.h
1739 Use *(void *)text_interface not the other thing.
1741 * configure.in: add gtk to registryd bits - since we use
1744 * util/magnifier.c: include libbonobo.h
1746 2001-11-25 Bill Haneman <bill.haneman@sun.com>
1748 * test/keysynth-demo.c:
1749 Turned this into a simple scanning keyboard, to demonstrate the
1750 use of g_timeout_add () as a means of creating timers for
1751 scanning, and the use of GtkStyle for visually indicating when
1752 virtual keyboard elements are selected.
1754 keysynth-demo now listens to any keyboard keys with zero-valued
1755 keycodes (i.e. 'unused' keys) and interprets them as
1758 Reworked the shiftlatch code so that shift-down state isn't held
1759 for long periods (it's only synthesized immediately prior to
1760 the keysynth event it's modifying). Note that shiftlatch in this
1761 demo is a convenience, not intended to take the place of AccessX
1762 which is the better choice for getting 'sticky' modifier keys.
1764 * libspi/deviceeventcontroller.c:
1765 * at-bridge/bridge.c:
1766 * cspi/spi_registry.c:
1767 Removed some debug print stuff, and put other verbosity in #ifdef
1772 Implemented some more of the magnifier IDL for the simple
1773 magnifier: namely, getZoomRegionParams.
1774 Added mag_x and mag_y members to MagnifierData struct, aid of this
1776 Added GtkWindow::realize signal handler to magnifier, to keep it
1777 from receiving keyboard focus from the WM.
1779 2001-11-23 Mark McLoughlin <mark@skynet.ie>
1781 * cspi/spi-private.h: my guess at what michael forgot
1782 before he ran off to NZ :-)
1784 2001-11-23 Michael Meeks <michael@ximian.com>
1786 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
1787 comment out non existant method invoke so we link.
1789 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
1790 use bonobo_exception_get_text for more friendly warnings.
1792 * cspi/spi.c (Obj_Add): move into spi_main & rename
1793 spi_object_add; kill spi.c
1795 * cspi/spi_registry.c
1796 (deregisterGlobalEventListener),
1797 (deregisterGlobalEventListenerAll),
1798 (registerGlobalEventListener): fix exception leaks.
1800 * cspi/spi_main.c (spi_exception): impl. helper, so we
1801 don't leak exceptions.
1803 * cspi/spi_selection.c
1804 (AccessibleSelection_deselectSelectedChild): return the
1807 * cspi/spi_main.c (spi_ev): impl; hack - gack.
1808 (spi_registry): ditto.
1809 (SPI_init): guard against double inits.
1811 * cspi/*.c: use spi_ev (), and spi_registry () where
1812 appropriate - a temporary hack until we have something
1813 better. Use spi_object_add
1815 2001-11-22 Michael Meeks <michael@ximian.com>
1817 * cspi/Makefile.am: re organise, install the headers.
1819 * cspi/*.h: add G_BEGIN/END_DECLS
1821 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1824 Added non-preemptive keylistener for key events with no modifiers
1825 and shift-only modifier.
1827 * libspi/keystrokelistener.c:
1828 Removed some verbose diagnostics printout.
1830 * cspi/spi_registry.c:
1831 Fixed a bug that caused all key listeners to be registered as
1834 * libspi/deviceeventcontroller.c:
1835 Fixed bug that caused XGrabKey (preemptive key grab) to be called
1836 for non-preemptive key masks.
1839 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1841 * docs/reference/idl/at-spi-idl-docs.sgml:
1842 * docs/reference/idl/at-spi-idl-sections.txt:
1843 * docs/reference/idl/at-spi-idl-overrides.txt:
1844 Added missing files.
1846 * docs/reference/Makefile.am:
1847 removed idl from SUBDIRS until we can figure a way to get gtk-doc
1848 to scan the IDL files :-(
1853 Added .cvsignore files.
1855 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1857 * libspi/deviceeventcontroller.c:
1858 * libspi/keystrokelistener.c:
1860 * cspi/spi_registry.c:
1861 Added filters for KeySets, KeyEventSeq, and event types to key
1862 event dispatching, so listeners should only receive those events
1863 that they requested :-)
1865 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1870 * docs/reference:Makefile.am:
1871 * docs/reference/cspi:
1872 * docs/reference/cspi:Makefile.am:
1873 * docs/reference/cspi:tmpl:
1874 * docs/reference/cspi:tmpl:*.sgml:
1875 * docs/reference/idl:
1876 * docs/reference/idl:Makefile.am:
1877 * docs/reference/idl:at-spi-idl-sections.txt:
1878 * docs/reference/idl:at-spi-idl-docs.sgml:
1879 * docs/reference/idl:tmpl:
1880 * docs/reference/idl:tmpl:*.sgml:
1882 Restructured docs directory to allow separate 'reference' docs
1883 section, and forked idl and cspi docs. Added the sgml template
1884 files to CVS. Added the first sections/structural sgml for the
1887 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
1889 * configure.in, libspi/Makefile.am: find libXtst.
1891 2001-11-21 Michael Meeks <michael@ximian.com>
1893 * test/accessx-gui.c: s/spi_value/value/ - doh.
1895 * libspi/base.[ch]: add.
1897 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1899 * idl/Accessible.idl:
1900 * idl/Application.idl:
1903 Started gtk-doc cleanup on IDL.
1905 * libspi/deviceeventcontroller.c:
1906 Added and connected non-preemptive key notification from the
1907 toolkits (in addition to the pre-emptive support from XServer
1908 which we had before, but which causes 'focus flashing'). Filters
1909 are presently limited to key modifiers and global/non-global,
1910 KeySets are presently ignored, as are KeyEvent masks.
1912 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1913 structs into the persistant structure rather than just storing
1914 pointers to things that might not persist across servant
1917 The XGrabKey call now does async keygrabs, because synchronous
1918 ones were deadlocking with GDK_event code in a very nasty way.
1920 Added boolean to internal method notify_keylisteners, to indicate
1921 whether the event came from the 'toolkit source' or the 'global
1922 (XServer) source' - this is used in the notification process to
1923 determine which listeners to send the event to.
1925 deviceeventcontroller.c is now warning-free.
1927 * libspi/registry.c:
1928 Fixed regression in application de-registration.
1929 Also fixed some really brain-dead weirdness having to do with
1930 event dispatching - event structs are now duplicated before being
1931 re-marshalled in the dispatch to listeners. This also fixes a
1932 Solaris build problem.
1935 2001-20-11 Michael Meeks <michael@ximian.com>
1938 (impl_accessibility_registry_deregister_global_event_listener):
1941 * libspi/deviceeventcontroller.c
1942 (spi_device_event_controller_check_key_event): return
1943 FALSE on no virtual method.
1945 * libspi/*..h: make includes work on a correctly pathed install.
1947 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
1949 * libspi/application.h: kill unused ( and whacked out )
1950 gboolean *spi_application_set_id (AtkObject *app, long id);
1952 2001-20-11 Michael Meeks <michael@ximian.com>
1954 * libspi/*.[ch]: further convert to bonobo's type func
1955 macros, remove redundnant casts etc.
1957 * libspi/text.c s/accessibility_text/spi_text/g,
1958 re-order to de-cruft.
1960 * libspi/hypertext.c: re-order to kill a huge slew
1961 of redundant forward decls.
1963 * libspi/relation.c: ditto.
1965 * libspi/image.c: ditto.
1967 * */.cvsignore: update
1969 2001-20-11 Michael Meeks <michael@ximian.com>
1971 * libspi/deviceeventcontroller.c
1972 (_controller_register_with_devices): use g_getenv,
1973 kill stdlib.h include.
1975 * libspi/keystrokelistener.c
1976 (spi_keystroke_listener_get_type): kill
1977 (spi_keystroke_listener_class_init),
1978 (spi_keystroke_listener_init): rename to this.
1980 * libspi/text.c (impl_getAttributes): fix warning / bug.
1982 * libspi/*.[ch]: more headers, includes and over commenting.
1984 2001-20-11 Michael Meeks <michael@ximian.com>
1986 * libspi/*.[ch]: fixup headers, includes and over commenting.
1988 * libspi/image.c (impl__get_imageDescription): const
1989 correctness warning fix. remove redundant casting.
1991 * libspi/table.c (impl_getRowDescription): ditto.
1992 (impl_getColumnDescription): ditto.
1994 * libspi/libspi.h: add.
1996 2001-19-11 Michael Meeks <michael@ximian.com>
1998 * libspi/editabletext.c (impl_setAttributes): fix warnings.
2000 * libspi/component.c (accessibility_component_get_type):
2001 rename to (spi_component_get_type): and macroify.
2002 (accessibility_component_init): rename to
2003 (spi_component_init): this
2004 (accessibility_component_class_init): rename to
2005 (spi_component_class_init): this
2007 * libspi/action.c (spi_action_get_type): kill, use the macro.
2009 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
2012 * libspi/application.c (spi_application_object_event_listener),
2013 (impl_accessibility_application_register_object_event_listener):
2014 warning fixes / const understanding updates.
2016 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
2019 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2021 * libspi/spi_accessible.c: Added docs and C bindings for
2022 AccessibleStateSet. (No implementations yet). Documentation
2023 coverage for C bindings now 100%. Made docs for event listeners
2028 boolean notifyListenersSync (in DeviceEventListener listener,
2029 in DeviceEvent event);
2031 oneway void notifyListenersAsync (in DeviceEventListener listener,
2032 in DeviceEvent event);
2034 Added DeviceEventListener and DeviceEvent structs (may deprecate
2035 KeyStroke and KeystrokeListener in favor of this generic
2036 event/listener framework for devices).
2038 * libspi/deviceeventcontroller.c:
2040 Changed some key listener code to take masks, etc., and paved the
2041 way for integration of toolkit/non-preemptive key events. Changed
2042 signatures of some internal methods.
2044 * at-bridge/bridge.c:
2045 Fixed regression connecting to interface signals, apparently
2046 caused by GTK+ changes.
2048 Added an internal bridge_state_listener to deal with
2049 property-change:accessible-state signals.
2051 Changed the key_listeners GList to store structs (including masks,
2052 etc.) instead of just CORBA_Objects (required for full
2053 implementation of key listener API).
2055 Connected the bridge to all currently supported Atk signals.
2056 Events now supported:
2057 object:property-change
2058 object:property-change:accessible-name
2059 object:property-change:accessible-state
2060 object:property-change:accessible-description
2061 object:property-change:accessible-parent
2062 object:property-change:accessible-value
2063 object:property-change:accessible-role
2064 object:property-change:accessible-table-caption
2065 object:property-change:accessible-table-column-description
2066 object:property-change:accessible-table-column-header
2067 object:property-change:accessible-table-row-description
2068 object:property-change:accessible-table-row-header
2069 object:property-change:accessible-table-summary
2070 object:children-changed
2071 object:visible-data-changed
2072 object:selection-changed
2073 object:text-selection-changed
2075 object:text-caret-moved
2077 object:row-reordered
2079 object:column-inserted
2080 object:column-reordered
2081 object:column-deleted
2082 object:model-changed
2084 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2086 * libspi/hyperlink.c,h:
2087 Fixed some broken stuff in hyperlink.
2089 * libspi/relation.h:
2090 * libspi/relation.c:
2091 * cspi/spi_accessible.c:
2092 Initial implementations of AccessibleRelation methods, and docs.
2094 * libspi/accessible.c:
2095 Fixed a bug that caused SEGV if an accessible
2096 object's description is NULL, and a client
2097 requests it. An empty string is now returned.
2099 * cspi/spi_editabletext.c:
2100 * cspi/spi_hypertext.c:
2102 * cspi/spi_hyperlink.c:
2106 Doc coverage now 95%.
2108 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2110 One last namespacing revision:
2111 * libspi/accessibleeventlistener.[ch]:
2112 Renamed SpiAccessibleEventListener to SpiEventListener,
2113 (no need for two namespaces ;-)
2115 And lots of documentation fixes:
2117 * docs/at-spi-docs.sgml:
2118 Fixed 'underscore vs. hyphen' bug that was preventing
2119 the gtk-doc API docs from being automatically generated.
2122 * cspi/spi-listener.h
2124 * cspi/spi_accessible.c
2126 * cspi/spi_application.c
2127 * cspi/spi_component.c
2128 * cspi/spi_editabletext.c
2130 * cspi/spi_hypertext.c
2132 * cspi/spi_registry.c
2133 * cspi/spi_selection.c
2137 * docs/at-spi-docs.sgml
2138 * docs/at-spi-sections.txt
2140 Added and fixed up gtk-doc documentation in cspi.
2142 Interfaces now (fully) documented (subject to revision and enhancement):
2144 Event Listener Support
2146 AccessibleApplication
2150 AccessibleEditableText
2157 AccessibleRelationSet
2162 2001-14-11 Bill Haneman <bill.haneman@sun.com>
2164 * at-bridge/bridge.c:
2165 Initial work for toolkit-level key snooper connection by bridge.
2170 New typedefs and fixes to support new namespacing, and cleaner
2171 separation of cspi bindings from libspi bonobo implementation.
2172 Removed inconsistent and extraneous Spi* namespace prefix that
2173 had crept into cspi headers.
2174 Lots of comment fixes that sed had missed.
2176 * cspi/spi-roletypes.h:
2177 * cspi/spi-statetypes.h:
2178 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
2179 to AccessibleRoleType.
2181 * libspi/accessibleeventlistener.h:
2182 Fixed minor namespacing weirdness.
2184 * libspi/deviceeventcontroller.c:
2185 Reordered some internal API for device listeners.
2186 Changed the key registry final boolean to 'is_system_global'
2187 rather than 'is_synchronous', which is more descriptive of its
2189 Added spi_device_event_controller_new().
2190 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
2192 * libspi/keystrokelistener.[ch]:
2193 Namespaced KeystrokeListener to SpiKeystrokeListener.
2194 Changed uses of keymasks to use SPI_ prefix, and did other
2197 * libspi/keymasks.h:
2198 Namespaced keymask constants with SPI_ prefix.
2200 * libspi/registry.c:
2201 Some warning fixes, and knock-on fixes from namespace changes.
2204 Added rules for accessx-gui test program.
2206 * test/accessx-gui.c:
2207 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2208 utility. It doesn't actually use at-spi, but it's still cool and
2211 * test/keysynth-demo.c:
2215 Fixes so that these test clients work properly with the namespaced
2216 libraries. (Incompletely tested for technical reasons, fixes may follow)
2219 2001-13-11 Michael Meeks <michael@ximian.com>
2221 * libspi/application.c
2222 (impl_accessibility_application_get_version),
2223 (impl_accessibility_application_get_toolkit_name):
2225 (impl_accessibility_application_set_id),
2226 (impl_accessibility_application_get_id): remove
2227 redundant casting code.
2229 * libspi/action.c (impl_getDescription): fix warnings.
2231 * libspi/accessible.c
2232 (impl_accessibility_accessible_get_parent),
2233 (impl_accessibility_accessible_get_child_at_index),
2234 (impl_accessibility_accessible_get_state),
2235 (impl_accessibility_accessible_get_relation_set):
2236 warning fixes & include action.h
2238 2001-13-11 Michael Meeks <michael@ximian.com>
2240 * *.[ch] fix bits I screwed up:
2242 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2243 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2245 2001-13-11 Michael Meeks <michael@ximian.com>
2247 * *.[ch] Namespace libspi into spi_ and Spi.
2249 2001-13-11 Michael Meeks <michael@ximian.com>
2251 * Makefile.am: dist & install at-spi-1.0.pc
2253 * libspi/Makefile.am: install into at-spi-1.0
2255 * idl/Makefile.am (idldir): install into at-spi-1.0
2257 * at-spi-1.0.pc.in: add.
2259 * configure.in: build it.
2261 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2263 * test/keysynth-demo.c:
2264 Use a 'realize' signal-handler to set the WM properties for
2265 the virtual keyboard, rather than making it a "POPUP" type
2266 override-redirect window (thanks to anders carlsson for that
2269 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2272 * test/keysynth-demo.c:
2273 Added new test of key synthesis, which creates a simple
2274 (mouse-operated) onscreen keyboard. It inserts key events into
2275 the currently-focused window, thus it does not grab keyboard focus
2278 * cspi/spi_registry.c:
2279 Added C binding for AT-SPI generateKeyEvent.
2281 * libspi/deviceeventcontroller.c:
2282 Added call to XFilterEvent so that key listener works with XIM (we
2283 hope). Added event_synth_type to generateKeyEvent, so that we can
2284 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2285 synthesize a press/release pair for KeySyms.
2287 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2289 * libspi/Makefile.am:
2290 * registryd/Makefile.am:
2291 (temporary) hack to include libXtst in libspi and registryd.
2292 (Needed for keystroke synthesis, see below).
2295 Improved API for registerKeystrokeListener, in accordance with
2296 discussions with Gnopernicus team and X server research.
2298 * libspi/registry.c:
2299 * libspi/deviceeventcontroller.c:
2300 * libspi/accessible.c:
2301 * libspi/keystrokelistener.c:
2302 Changes and fixes to support keylisteners for potentially
2303 consumed key events (that is, 'passive grabs').
2304 Added implementation for generateKeyEvent() [untested].
2307 Changes to registerKeystrokeListener() API, as above.
2308 Added deregisterGlobalEventListenerAll(), and
2309 deregisterKeystrokeListener(), which are needed for clean exit of
2311 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2312 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2314 * cspi/spi_registry.c:
2315 Added implementations of function prototypes mentioned above.
2317 * registryd/registryd.c:
2318 Added the key listener event source as a g_timeout(), to allow
2319 receipt of key events that are not caught by GDK (since GDK
2320 doesn't support passive keygrabs, this was necessary).
2323 Changed to attach a keylistener to 'Alt' keys, and
2324 respond to the following keycommands: Alt-M (toggle magnifier);
2325 Alt-F (toggle speech); Alt-Q (quit).
2326 Added an exit routine to deregister the listeners, and a key
2327 listener that prints some key info to the console when a key
2328 matches the listener mask (and is thus received by the listener).
2330 * util/idl/Magnifier.idl:
2331 Changes to magnifier API to support multiple zoom regions,
2332 non-uniform scaling in x and y, markDirty, and a host of other
2333 features that would be useful to magnification.
2336 * util/mag_client.c:
2337 * util/mag_client.h:
2338 * util/mag_control.c:
2340 Source code changes to support the above IDL changes.
2343 As above, and also changes to use a (slower) generic conversion
2344 path for colormap conversions, since the fast RGB conversions have been
2345 reported to fail for 16-bit displays.
2347 2001-10-26 Michael Meeks <michael@ximian.com>
2349 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2351 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
2353 * at-bridge/Makefile.am: fix LDFLAGS.
2355 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2357 * at-bridge/bridge.c:
2358 Re-worked listeners for toolkit events, now we have signal
2359 and property listeners. Added a private method
2360 register_atk_event_listeners(), which registers with the
2361 various atk and gtk signals we need to monitor in order to emit
2363 Added emission hook for AtkObject:property-change events, to
2364 support the 'property listeners'.
2365 Fixed some alloc()s of Accessibility_Event structs to use CORBA
2368 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2369 which emit warnings and exit, respectively, if CORBA errors occur
2370 during remote calls, and we now use these methods to check most of
2371 our CORBA calls in the C bindings.
2373 * cspi/spi_accessible.c:
2374 Changed AccessibleSelection_refSelectedChild() to
2375 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2376 now increment refcounts.
2378 * cspi/spi_component.c:
2379 Fixed some long pointer casts (dangerous!) to pass pointers to
2380 CORBA_longs of the proper type to the CORBA stubs, and copy the
2381 data into the longs that were passed into the C bindings code.
2383 * at-bridge/bridge.c:
2385 * libspi/accessible.c:
2386 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2387 hyperlinks, AtkHyperlink is an object type.
2389 * libspi/application.c:
2390 Added various conversions to and from "generic" event types and
2391 atk-specific types; this is really part of the 'bridge'
2392 implementation but is valid for all AtkObject-based accessibility
2395 * libspi/editabletext.c:
2396 Fixed nasty bug wherein editable text's finalize method was
2397 unref'ing tha AtkObject reference that the text parent class was
2398 about to unref _again_. There was also a nasty inheritance bug
2399 that meant that the AccessibleEditableText class was corrupt.
2401 * libspi/selection.c:
2402 Provided implementations for some selection API that was broken.
2404 * idl/Application.idl:
2405 Added registerObjectEventListener () method.
2408 Fixed a number of return values that were Bonobo_Unknowns from
2409 bonobo_object_corba_objref(), which I
2410 forgot to dup before returning. Changed instances of
2411 bonobo_object_corba_objref (bonobo_object(o)) to
2412 BONOBO_OBJREF(o), for concision and clarity.
2414 <2001-10-13 Louise Miller <louise.miller@sun.com>
2416 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2417 idl/Event.idl, idl/Registry.idl
2418 Changed these files to include Bonobo_Unknown.idl instead
2421 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
2423 * libspi/component.c libspi/component.h:
2424 Fixed typo. Added assertions for object checks in
2425 AccessibleComponent code.
2427 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2429 * idl/Accessible.idl:
2430 Added 'isEqual (Accessible *object)'
2431 method for Accessible. (Not Yet Implemented).
2434 Changed signature of registerKeystrokeListener() to
2435 take a KeySet and KeyEventSeq so that specific keys and event
2436 types could be requested for monitoring, and added a flag
2437 is_synchronous so that either synchronous or asynchronous
2438 notification could be requested. (However this is not all
2439 implemented yet). This also meant adding two new typedefs,
2440 KeyEventSeq and KeySet.
2443 Added two new relations, RELATION_TOOLTIP_FOR and
2444 RELATION_LEAFNODE_OF.
2447 Added new state, STATE_HAS_TOOLTIP.
2449 * libspi/text.c, editabletext.c:
2450 Added new assertions to all casts of bonobo-objects from
2451 CORBA servants, to prevent Text API calls on non-text objects.
2452 Changed suspect casts of int-pointer types, so that we
2453 always send a valid CORBA_long pointer to the CORBA APIs that use
2454 in/out long parameters. We then have to copy from the CORBA_long
2455 into the regular long or int for return to the C bindings, or
2456 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
2459 * libspi/deviceeventcontroller.c:
2460 Cleaned these sources up.
2462 Changed return type for getCharacterAtOffset to
2463 CORBA_unsigned_long, to allow for 32-bit characters.
2466 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
2470 Fixed 'make dist' so that distro compiles...
2471 * libspi/keymasks.h:
2473 * cspi/spi-listener.c:
2474 KeystrokeListenerCB now returns a boolean.
2476 Added KeyEventType struct, and KeyStroke.
2477 Also added createKeystrokeListener(),
2478 KeystrokeListener_addCallback(),
2479 KeystrokeListener_removeCallback(), and added a keymask to
2480 registerKeystrokeListener().
2481 * cspi/spi_accessible.c:
2482 Changed numerous return types for interfaces from
2483 AccessibleComponent to Accessible<InterfaceName>; this was
2484 probably a cut-and-paste error.
2486 Implementations of new KeystrokeListener api (from spi.h,
2489 Changes to key modifier mapping.
2490 Created ControllerEventMask struct.
2491 Made DeviceEventController derive from Bonobo::Unknown.
2493 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
2494 * libspi/deviceeventcontroller.c:
2495 Added a number of new internal (private) methods.
2496 * libspi/editabletext.c:
2497 * libspi/editabletext.h:
2498 Fixed a number of bugs related to the fact that
2499 editabletext inherits from text. Fixed the EditableText struct,
2500 the init() call, and use correct casts when calling Text methods
2501 from an EditableText object. Removed (duplicate) atko from the
2502 EditableText structure, we use the one in the parent Text
2503 structure via the casts mentioned above.
2504 * libspi/keystrokelistener.[ch]:
2505 * libspi/registry.c:
2506 Changes in support of keyboard handling (above).
2508 Keyboard handling, though partly functional, is still not
2509 recommended for at-spi client use as there is considerable
2510 work yet to be done.
2513 Changed some places where pointers to various int types
2514 are cast to be pointers to CORBA_long types and vice-versa:
2515 pointer casting is not safe so we pass pointers of the correct
2516 types and then cast the result before putting it into the target
2519 * libspi/text.h: minor typos corrected.
2521 We now speak not only the name of a Text element, but the
2522 first sentence of its content, when it receives focus.
2523 I also changed the text compression to 75% from 50%.
2524 * util/Accessibility_Util.server.in:
2525 Changed the default magnifier type to be a 3x vertical
2526 splitscreen magnifier (was previously a 2x horizontal one).
2528 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
2530 * libspi/keystrokelistener.h:
2531 * libspi/keystrokelistener.c:
2532 Initial functional implementations of KeystrokeListener.
2535 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
2537 Fixed string handling for NULL strings in libspi.
2538 Added spi_freeString to free strings returned by C bindings.
2540 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
2542 * libspi/keystrokelistener.h:
2543 * libspi/keystrokelistener.c:
2544 Began (no-op) implementations of KeystrokeListener
2546 * libspi/deviceeventcontroller.c:
2547 * libspi/deviceeventcontroller.h:
2548 Began creating implementations of DeviceEventController,
2549 to handle keystroke and mouse event listening and
2551 * libspi/accessible.c:
2552 Stubbed-in the implementations for
2553 Accessibility_Accessible_getState and
2554 Accessibility_Accessible_getRelationSet.
2555 * libspi/registry.c:
2556 Improved de-registration process and fixed some bugs,
2557 deregistration now works correctly.
2559 Added initialization of applications list (to NULL).
2561 Reduced speech compression from 0.5 to 0.7, for demo.
2562 Changed call to gdk_window_set_decorations()
2563 to gtk_window_set_decorated().
2564 * at-bridge/bridge.c:
2565 Bridge now deregisters when app exits, via
2566 registration of a cleanup function
2567 with the g_atexit() call.
2568 Required making 'app' static, renamed 'this_app'.
2569 Fixed broken use of bonobo_init, passing argv wrongly.
2571 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
2575 Created a new directory for
2576 accessibility-related utilities, primarily for
2577 testing and demo purposes, but with possible
2584 Onscreen magnifier utility that
2585 is implemented as a bonobo service.
2587 * util/mag_client.c:
2588 * util/mag_client.h:
2589 Client-side support (simple C bindings)
2590 for Magnification service
2592 * util/mag_control.c:
2593 Client program example for
2594 Magnification service
2596 * util/Accessibility_Magnifier.server.in:
2597 Bonobo-activation file for the
2598 Magnification service.
2601 * util/idl/Magnifier.idl:
2602 IDL defining the bonobo Magnification
2606 Modifications to use the bonobo-activated magnifier
2607 above, in place of trying to connect to an existing
2608 magnifier that uses socket-listening IPC.
2610 If env variable MAGNIFIER is set, a magnifier service
2611 will be started if one does not exist.
2613 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
2614 * at-bridge/bridge.c:
2615 applied patch from Marc to build and run
2616 against new glib and gtk+ (seemed like a change
2617 to bonobo_init signature was made ?)
2619 made festival-server support turned off by default.
2620 Added support for a simple magnifier (off by default)
2621 which will be added to a 'util' directory later.
2622 * at-bridge/Makefile.am:
2623 Changed "application.h" header from a 'source'
2624 to a 'dependency' of libat-bridge.
2626 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2634 Added interface implementation c files to list of
2635 includes so they are included in libcspi.
2638 Changed prototype of AccessibleAction_doAction to return a
2640 Changed prototype of AccessibleTable_getCaption to
2641 return an Accessible.
2642 Changed prototype of AccessibleTable_getSelectedRows
2643 and AccessibleTable_getSelectedColumns to
2644 return a long (returns the number of selected rows
2645 or columns respectively).
2646 Changed name of AccessibleText_refRunAttributes to
2647 AccessibleText_getAttributes.
2648 Changed prototype of AccessibleText_getCharacterExtents to
2649 return a void rather than a boolean.
2650 Added support for a AccessibleCoordType parameter
2651 specifying what type of coordinates are desired.
2652 Added an AccessibleCordType parameter to
2653 AccessibleText_getPointAtOffset.
2655 * cspi/spi_accessible.c:
2656 Added code to return the outstanding interfaces from
2657 Accessible_queryInterface.
2659 * cspi/spi_action.c:
2661 Corrected call to getNActions to call the c binding
2664 * cspi/spi_editabletext.c:
2666 Changed name from setRunAttributes to setAttributes.
2668 * cspi/spi_hyperlink.c:
2670 Changed call to getNAnchors to correctly call the c
2671 binding for an attribute.
2673 * cspi/spi_hypertext.c:
2675 Changed getImageDescription to correctly call the
2676 binding for an attribute.
2678 * cspi/spi_selection.c:
2679 Changed getNSelectedChildren to correctly call the c
2680 binding for the attribute.
2681 Changed refSelectedChild to getSelectedChild.
2685 Changed getCaption to return an Accessible.
2686 Fixed calls which retrieve attributes.
2687 Changed refAt to getAccessibleAt.
2688 Changed getNSelectedRows and getNSelectedColumns to
2692 Changed getCharacterExtents and getPointAtOffset to accept an
2693 AccessibleCoordType.
2695 Changed calls which retrieve attributes.
2696 Changed refRunAttributes to getAttributes.
2701 * idl/Hyperlink.idl:
2702 Changed n_anchors attribute to nAnchors to keep naming
2703 convention consistent.
2706 Made Table inherit from Bonobo::Unknown.
2707 Added nSelectedColumns and nSelectedRows attributes.
2710 Made Value inherit from Bonobo::Unknown.
2712 * libspi/hyperlink.c:
2713 Change for nAnchors attributte name change.
2715 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2723 Added interface implementation c files to list of
2724 includes so they are included in libcspi.
2727 Changed prototype of AccessibleAction_doAction to return a
2729 Changed prototype of AccessibleTable_getCaption to
2730 return an Accessible.
2731 Changed prototype of AccessibleTable_getSelectedRows
2732 and AccessibleTable_getSelectedColumns to
2733 return a long (returns the number of selected rows
2734 or columns respectively).
2735 Changed name of AccessibleText_refRunAttributes to
2736 AccessibleText_getAttributes.
2737 Changed prototype of AccessibleText_getCharacterExtents to
2738 return a void rather than a boolean.
2739 Added support for a AccessibleCoordType parameter
2740 specifying what type of coordinates are desired.
2741 Added an AccessibleCordType parameter to
2742 AccessibleText_getPointAtOffset.
2744 * cspi/spi_accessible.c:
2745 Added code to return the outstanding interfaces from
2746 Accessible_queryInterface.
2748 * cspi/spi_action.c:
2750 Corrected call to getNActions to call the c binding
2753 * cspi/spi_editabletext.c:
2755 Changed name from setRunAttributes to setAttributes.
2757 * cspi/spi_hyperlink.c:
2759 Changed call to getNAnchors to correctly call the c
2760 binding for an attribute.
2762 * cspi/spi_hypertext.c:
2764 Changed getImageDescription to correctly call the
2765 binding for an attribute.
2767 * cspi/spi_selection.c:
2768 Changed getNSelectedChildren to correctly call the c
2769 binding for the attribute.
2770 Changed refSelectedChild to getSelectedChild.
2774 Changed getCaption to return an Accessible.
2775 Fixed calls which retrieve attributes.
2776 Changed refAt to getAccessibleAt.
2777 Changed getNSelectedRows and getNSelectedColumns to
2781 Changed getCharacterExtents and getPointAtOffset to accept an
2782 AccessibleCoordType.
2784 Changed calls which retrieve attributes.
2785 Changed refRunAttributes to getAttributes.
2790 * idl/Hyperlink.idl:
2791 Changed n_anchors attribute to nAnchors to keep naming
2792 convention consistent.
2795 Made Table inherit from Bonobo::Unknown.
2796 Added nSelectedColumns and nSelectedRows attributes.
2799 Made Value inherit from Bonobo::Unknown.
2801 * libspi/hyperlink.c:
2802 Change for nAnchors attributte name change.
2805 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
2807 implementations-- made server implementations own AtkObject pointers
2808 rather than their respective AtkInterrface pointers to fix
2809 refcounting. AtkHyperlink is still broken.
2811 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
2812 * cspi/spi_accessible.c:
2813 Added method Accessible_Role_getName(),
2814 and requisite string array (role_names).
2815 Added conversion string_from_corba_strin() call
2816 to Accessible_getName and _getDescription.
2817 * libspi/accessible.c:
2818 Added implementation for Accessible_getRole()
2820 Added festival support, used if environment variable
2823 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2825 * at-bridge/bridge.c:
2826 Now allocate Accessibility_Event using
2827 Accessibility_Event__alloc() instead of g_new0().
2828 * libspi/accessibleeventlistener.c:
2829 Initialize AccessibleEventListener->callbacks to NULL.
2830 Fixed accessible__event_listener_init() param, changed to
2831 "AccessibleEventListener *" type.
2832 Changed a bonobo_object_release_unref() call to
2833 Accessibility_Accessible_unref().
2834 * libspi/listener.c:
2835 Changed Bonobo_Unknown_unref to (equivalent)
2836 Accessibility_Accessible_unref.
2837 * libspi/registry.c:
2838 Changed bonobo_object_release_unref to
2839 Accessibility_Accessible_unref.
2841 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2844 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
2845 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
2846 spi-util.c spi-util.h
2847 Implementations for C bindings to remaining accessibility
2850 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2853 changed return value of Action from void to boolean to
2854 bring in line with ATK.
2857 Changed getText funcions to return "out" start and end offsets.
2858 Changed getAttributes to take and offset and return the start
2859 and end offset of the attribute run.
2860 Changed getOffsetAtPoint and getCharacterExtents to take an
2861 enum describing whether coordinates are window or screen.
2864 libspi/action.c libspi/action.h libspi/editabletext.c
2865 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
2866 libspi/hypertext.c libspi/hypertext.h libspi/image.c
2867 libspi/image.h libspi/selection.c libspi/selection.h
2868 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
2869 libspi/value.c libspi/value.h
2870 Added server implementations for outstanding ATK interfaces
2871 not yet implemented.
2873 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2876 Added (missing) getName() method.
2877 Made nActions an attribute.
2878 * idl/EditableText.idl:
2879 Changed order of params in setAttributes.
2880 * idl/Hyperlink.idl:
2881 Removed getAnchor, added getURI.
2883 Changed attributes to methods, for efficiency
2884 (so that getting extents can be done in one call)
2885 * idl/Selection.idl:
2886 Changed nSelectedChildren to attribute, and re-indented.
2887 * idl/Table.idl: changed nrows, ncolumns, caption, summary
2889 * idl/Text.idl: reformatted to match our coding style.
2890 (temporarily?) removed getRowColumnAtOffset().
2891 Changed text selection API to support multi-select and
2892 non-contiguous selections, as in ATK.
2893 * idl/Value.idl: changed some methods to attributes.
2895 2001-08-24 Mark McLoughlin <mark@skynet.ie>
2897 * libspi/listener.c(impl_notify_event):
2898 BonoboUnkown_unref the source instead
2899 of bonobo_object_release_unref - the ORB
2900 handles the releasing.
2902 * configure.in: require ORBit-2.3.94 for
2905 2001-08-21 Bill Haneman <bill.haneman@sun.com>
2907 Tagged CVS repository 'EA_1_0'.
2908 * README.EARLY_ACCESS:
2909 Alphabetized acknowledgements list, and
2911 Listed some known dependencies of at-spi.
2913 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2915 * docs/at-spi-docs.sgml:
2916 * docs/at-spi-sections.txt:
2917 * docs/at-spi-overrides.txt: (Added zero-length file)
2918 Documentation improvements - gtk-doc should build
2919 docs for all implemented C bindings now.
2922 * cspi/spi.c: (New file)
2923 * cspi/spi_event.c: (New file)
2924 * cspi/spi_registry.c: (New file)
2925 * cspi/spi_accessible.c: (New file)
2926 * cspi/spi_application.c: (New file)
2927 * cspi/spi_component.c: (New file)
2928 Split spi_main.c into six parts, and included them from
2929 "spi.c". This is a bit of a hack, probably temporary,
2930 but required by gtk-doc, apparently.
2932 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2935 * docs/at-spi-docs.sgml:
2936 * docs/at-spi-sections.txt:
2938 Initial checkins/modifications for gtk-doc generation.
2941 Added (missing) interface query methods to Accessible's C binding.
2943 Added GenericInterface type definition.
2945 Added query for AccessibleComponent interface to focus event handler.
2946 Added printout of bounding box for focussed component.
2947 * libspi/component.c:
2948 Added partial implementation for AccessibleComponent to C binding.
2949 * idl/Application.idl:
2950 * libspi/registry.c:
2951 * libspi/listener.c:
2952 * libspi/application.c:
2953 * libspi/application.h:
2954 Changed "ID" attribute type from string to long.
2956 2001-08-19 Bill Haneman <bill.haneman@sun.com>
2960 Made method naming consistent: methods taking object args
2961 start with uppercase, other methods (except those using
2962 acronyms) start with lowercase. Underscores delimit between
2963 object names and method names:
2964 SPI_init() - uppercase since it starts with an acronym.
2965 getDesktopCount () - lowercase start since no object param0.
2966 Accessible_getName() - uppercase object type name, studlyCaps method
2970 Added gtk-doc documentation for all currently implemented
2971 methods in the C bindings API.
2973 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2975 * Makefile.am : changed build order to build test last.
2978 Changed "createEventListener" to "CreateEventListener".
2979 * libspi/accessibleeventlistener.c :
2980 Bugfix for addition of callbacks.
2981 * test/Makefile.am :
2982 * test/simple-at.c :
2983 Added new test that uses the C bindings API.
2985 * libspi/listener.c :
2986 * libspi/registry.c :
2987 * libspi/accessibleeventlistener.c :
2988 * at-bridge/bridge.c :
2989 Renamed member "target" of Accessibility_Event to "source",
2990 which is more descriptive.
2993 2001-08-18 Bill Haneman <bill.haneman@sun.com>
2997 * cspi/Makefile.am :
2998 Added makefile support for at-spi/cspi directory.
3001 * cspi/spi-listener.h : (NEW FILE)
3002 Added support for/use of spi-listener.h.
3004 C bindings now build successfully, with no warnings.
3005 * libspi/accessibleeventlistener.h : (NEW FILE)
3006 * libspi/accessibleeventlistener.c : (NEW FILE)
3007 * libspi/Makefile.am :
3008 Added new object type "AccessibleEventListener"
3009 which inherits from Listener, and allows attachment
3010 of in-process callbacks (so that a client with a listening
3011 object instance can add functionality to the local
3012 implementation, dynamically).
3014 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3016 * libspi/accessible.c:
3017 Add implementation for get_index_in_parent().
3019 Added #include of "spi-roletypes.h", and
3020 added enumerated type AccessibleCoordType.
3021 Added definition for KeystrokeListener (function type).
3024 * cspi/spi-statetypes.h :
3025 * cspi/spi-roletypes.h :
3027 Added these headers, used by spi.h.
3029 Added code (NOTE: not yet built by make).
3031 2001-08-18 Mark McLoughlin <mark@skynet.ie>
3033 * libspi/Makefile.am: generate imodule
3034 at the same time as other idl compiler
3037 2001-08-17 Bill Haneman <bill.haneman@sun.com>
3038 * libspi/registry.c :
3039 * libspi/application.c :
3040 * idl/Application.idl :
3041 Made registration with toolkit an application method,
3042 which is required since each app has its own toolkit static
3043 environment. Thus the bridge must register for
3044 notification of toolkit events from each application in turn.
3045 Toolkit notifications are now successfully registered for, and
3046 sent to the listening at client.
3048 Changed toolkit event string to use hyphens rather than underscores.
3049 * libspi/listener.c :
3050 listner now gives more info in debug mode - it reports the
3051 name of the event received, as well as the name of the source.
3054 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3056 * libspi/registry.c :
3057 added more implementation for toolkit events.
3058 Fixed bug such that toolkit event registrations
3059 (via atk) use the whole event name string, not
3061 Removed a useless call to an ORBit_ method.
3062 * at-bridge/bridge.c :
3063 Removed unused local sbuf[] variable.
3065 We now register for Gtk:GtkWidget:button_press_event
3066 events as well as "focus:" events.
3068 Add some more API from Registry.idl that was missing,
3069 for keystroke listening, keystroke and mouse event
3070 synthesis, and enumeration of accessible desktops.
3072 2001-08-16 Michael Meeks <michael@ximian.com>
3074 * configure.in: use AM_GLIB_GNU_GETTEXT.
3076 * Makefile.am (SUBDIRS): kill intl.
3078 2001-08-15 Michael Meeks <michael@ximian.com>
3080 * registryd/Makefile.am: s/oaf/server/ relocate info file.
3082 * configure.in: upd.
3084 * configure.in: depend on a recent bonobo-activation that
3085 will find our server files ...
3087 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3089 * libspi/accessible.c : accessible_new() :
3090 Now we add the Component interface via bonobo_object_add_interface,
3091 if the contained AtkObject implements AtkComponent.
3092 * libspi/accessible.h : now include "component.h"
3093 * libspi/component.h :
3094 * libspi/component.c : added files - implementation of
3095 bonobo wrapper object for Accessibility/Component
3096 * libspi/listener.c :
3097 Added test code to check for Accessibility/Component:1.0
3098 interface and report whether it is implemented by the
3100 * libspi/registry.c :
3101 Now we check for not only the hash of the whole event
3102 string before relaying the event, we also check the
3103 "minor" event string (without the detail string).
3104 This allows event listeners to be registered against
3105 all events of a certain major+minor type, or just
3106 against a specific major+minor+detail type.
3107 * libspi/accessible.c :
3108 Added implementations for Accessible:get_parent(),
3109 Accessible:getChildCount(), and Accessible:getChildAtIndex().
3110 * libspi/registry.c :
3111 * libspi/listener.c :
3112 Replaced calls to Accessibility_Accessible_ref() and
3113 Accessibility_Accessible_unref() with
3114 calls to bonobo_object_dup_ref() and
3115 bonobo_object_release_unref(), so that the CORBA object
3116 is dup-ed and released when relayed, as well as the bonobo object.
3118 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3120 * libspi/Makefile.am,
3121 registryd/Makefile.am,
3122 at-bridge/Makefile.am.
3123 test/Makefile.am, configure.in:
3124 reverse previous changes.
3126 * /idl/Image.idl: fix typo.
3128 * test/Makefile.am: put DEBUG_FLAGS
3131 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3133 * test/app.c: use argv[0] instead of
3136 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3138 * libspi/Makefile.am,
3139 registryd/Makefile.am,
3140 at-bridge/Makefile.am.
3141 test/Makefile.am, configure.in:
3142 cleanup, replace individual LIBS/CFLAGS with
3143 AT_COMMON_{LIBS|CFLAGS}.
3147 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3149 * configure.in, libspi/Makefile.am:
3150 Change IDL path checking for bonobo-activation
3153 2001-08-15 Bill Haneman <bill.haneman@sun.com>
3155 * registryd/registry.c : separated event listeners to use
3156 3 separate lists (focus, window, toolkit). Began testing
3157 event names against hashes before relaying events.
3158 * test/at.c : now register for events of type "focus:"
3159 * test/app.c : now generate events of type "focus:"
3160 * at-bridge/bridge.c : register with ATK for focus events,
3161 and we now relay those focus events to any "focus:" listeners.
3162 This now works with the bridge as a GTK_MODULE when running test/at.
3163 * libspi/registry.c :
3164 * libspi/listener.c :
3165 now we ref event sources before propagating, and unref on receipt.
3166 * libspi/registry.c :
3167 some changes to internal structs, to support event typestring hashes.
3168 * text/app.c : changed the way the appname is generated.
3169 * cspi : added directory that will hold the C bindings library for
3170 non-CORBA/bonobo-savvy clients.
3171 * cspi/spi.h : header file that contains the function prototypes for the C binding.
3172 * idl/Component.idl : added in parameter to indicate coord system for
3173 geometry-related calls.
3174 * idl/Hyperlink.idl : added readonly n_links attribute
3175 * idl/Image.idl : changed methods to attributes.
3177 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3179 * at-bridge/Makefile.am: link against
3180 ../libspi/libspi.la instead of -lspi.
3182 * at-spi/test/app.c: include
3183 bonobo-activation.h. Use a default appname
3184 if one is not provided.
3186 2001-08-14 Bill Haneman <bill.haneman@sun.com>
3188 * idl/Registry.idl : temporarily changed register_Application
3189 to oneway, to work around issue with initial registration
3191 * idl/Application.idl : changed attribute "id" from readonly
3192 to read-write, since it needs to be assigned by Registry.
3193 * registryd/registryd.c : added call to set application id
3195 * registryd/registry.c : changed de-registration procedure to
3196 use CORBA_Object_hash() to find matching object ref in application
3197 lists and listener lists.
3198 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
3199 began distinguishing between event types (work in progress).
3201 2001-08-13 Bill Haneman <bill.haneman@sun.com>
3204 * libspi/application.c:
3205 Added implementations for get/set id, get_toolkitName,
3207 * registryd/registryd.c :
3211 Converted from use of OAF to bonobo-activation.
3212 * libspi/desktop.h :
3213 * libspi/desktop.c :
3215 Removed references to atksimpleobject, since base atkobject
3216 implementation now provides functionality we need.
3217 * libspi/atksimpleobject.c :
3218 * libspi/atksimpleobject.h :
3223 * at-bridge/Makefile.am
3224 * at-bridge/bridge.c
3227 Added directory "bridge" and contents, and added dependencies
3228 in Makefile.am/configure.in.
3229 Initial checkin of "at-bridge".
3230 This code is a GTK_MODULE which automatically registers
3231 GTK+ apps with the accessibility registry, using an object
3232 reference to the root ATK object.
3234 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3236 * po/Makefile.in.in: Remove. Again. If this
3237 doesn't get autogenerated - you need to update
3240 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3242 * po/Makefile.in.in: Add. Again.
3244 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3246 * libspi/accessible.c : added support for 'description' property.
3247 * libspi/accessible.c
3249 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3250 (since the two are now equivalent in libbonobo)
3258 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3259 Bonobo::Unknown as does Accessibility::Accessible.
3260 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3261 interface with Bonobo::Stream, since it was redundant with it.
3262 (The Stream returned by a StreamableContext object is expected to
3263 implement only a subset of Bonobo::Stream)
3265 2001-07-28 Anders Carlsson <andersca@gnome.org>
3267 * libspi/accessible.c (accessible_object_finalize): Change
3268 g_free to g_object_unref since the AtkObject is a GObject.
3270 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3272 * idl/Accessibility.idl: add new IDL files
3275 * idl/Action.idl: Definitions of actionable UI object
3276 * idl/Component.idl: Definitions of UI component geometry, etc.
3277 * idl/Hyperlink.idl: Defs of hyperlink behavior
3278 * idl/Image.idl: Def of accessible image
3279 * idl/Selection.idl: Definition of UI object with selectable children
3280 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3281 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3282 * idl/Text.idl: Interface defs for UI elements with complex textual content
3283 * idl/Value.idl: Definition of UI element that is a value controller or display
3285 2001-07-27 Michael Meeks <michael@ximian.com>
3287 * po/Makefile.in.in: remove autogenerated file from CVS.
3289 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3292 * idl/Registry.idl: include guard.
3294 * idl/Accessibility.idl: Add, and include all the other IDL
3297 * idl/*.idl: remove mass of pragmas etc.
3299 2001-07-26 Michael Meeks <michael@ximian.com>
3301 * registryd/Makefile.am (registryd_SOURCES): remove
3304 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3306 * libspi/.cvsignore, registryd/.cvsignore,
3307 test/.cvsignore: updated.
3309 * po/Makefile.in.in: gettext update.
3311 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3313 * initial CVS checkin
3315 2001-06-29 Michael Meeks <michael@ximian.com>
3317 * configure.in: add AM_CONFIG_HEADER to gen config.h