1 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4 Added caret tracking when using magnifier, and
5 now use text bounds for focus tracking of text elements, rather than
6 the component bounds - this is helpful for short text fields in long
7 table cells, at high magnification.
9 2002-01-16 Bill Haneman <bill.haneman@sun.com>
11 * registryd/deviceeventcontroller.c:
12 Regression fix for keylistener de-registration; global keygrabs
13 were not being released when deregisterKeystrokeListener was
15 Accessibility_DeviceEventController_deregisterKeystrokeListener
16 was called with a zero-length keyset. That is because the cspi
17 method, SPI_deregisterKeystrokeListener, does not take a keyset
18 parameter but instead should remove all the key grabs held be a
20 The code in impl_deregister_keystroke_listener was changed to copy
21 the keylist from the listener instance previously registered with
22 the DeviceEventController before releasing the grabs.
24 * registryd/registry.c:
25 * registryd/deviceeventcontroller.c:
26 * libspi/spi-private.h:
28 Changed spelling of "re-enterant" to "re-entrant" globally.
30 2002-01-16 Bill Haneman <bill.haneman@sun.com>
33 Changed key listeners test - the test was slightly mis-using the
34 (admittedly poorly documented) SPI_generateKeyboardEvent API.
35 It now uses '=' as the key event listened to and generated,
36 relying on a keysym match rather than assuming that keycode 33
37 is always equal to keysym '!'.
39 2002-01-15 Bill Haneman <bill.haneman@sun.com>
42 Changed simple-at to use a specific keyset, rather than
43 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
44 manager, desktop, etc.
46 2002-01-11 Bill Haneman <bill.haneman@sun.com>
48 * registryd/deviceeventcontroller.c:
49 Replaced standard X error handler with a special handler that
50 is non-fatal for failed keygrabs. This works around
51 problems with keygrab clashes sometimes observed on
53 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
54 mouse handling code as yet).
56 2002-01-11 Bill Haneman <bill.haneman@sun.com>
59 Incremented revision for desktop alpha release.
62 Fixed a couple of the more glaring errors (still not
65 2002-01-11 Michael Meeks <michael@ximian.com>
67 * registryd/deviceeventcontroller.c
68 (spi_device_event_controller_forward_key_event): kill
69 XUngrabKey / XKeyGrab race.
70 (spi_controller_grab_keyboard): rename to
71 (spi_controller_update_key_grabs): this, and deal
72 with incremental adding / removing grabs more
74 (_register_keygrab): ensure we're not pending a remove.
75 (spi_grab_mask_free): impl.
76 (spi_controller_register_global_keygrabs): split out
78 (handle_keygrab): impl.
79 (_deregister_keygrab): impl.
80 (spi_controller_deregister_global_keygrabs): impl.
81 (spi_controller_update_key_grabs): re-issue the grab if
82 we just recieved a notification.
84 * test/test-simple.c (key_listener_cb): remove debug.
86 * registryd/deviceeventcontroller.c
87 (spi_controller_register_device_listener): after
88 registering a global keygrab, actualy register it !
89 don't wait for a timeout; doh !
91 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
92 to make it more readable / manipulable.
93 s/grabmask/grab_mask/ s/refcount/ref_count/
94 s/keyval/key_val/ s/modmask/mod_mask
96 2002-01-08 Michael Meeks <michael@ximian.com>
98 * registryd/deviceeventcontroller.c
99 (spi_controller_register_with_devices): use gdk calls to
101 (global_filter_fn): implement the filter.
102 (spi_device_event_controller_check_key_event): rename to
103 (spi_device_event_controller_forward_key_event): this & upd.
104 (spi_get_display): replace with GDK_DISPLAY.
106 * registryd/deviceeventcontroller.c
107 (spi_controller_deregister_device_listener): unroll into
108 (impl_deregister_keystroke_listener): here to simplify.
109 (spi_controller_register_global_keygrabs): split cut and
110 paste (!) out into (_register_keygrab): here, shorter & sweeter.
111 (spi_controller_deregister_device_listener): remove.
112 (impl_register_mouse_listener): remove, no mouse listener
113 support in at-spi-1.0
115 * registryd/registry.c
116 (_device_event_controller_hook): kill.
117 (spi_registry_init): upd.
119 * registryd/deviceeventcontroller.c
120 (spi_device_event_controller_class_init): upd.
121 (spi_check_key_event): merge into.
122 (spi_device_event_controller_check_key_event):
123 here and kill strange static ev init, don't leak
124 the x_event - nor dynamicaly allocate it.
126 * registryd/registry-main.c (main): re-direct
127 timeout to remove strange vtable mess.
129 * registryd/deviceeventcontroller.c
130 (remove_listener_cb): impl.
131 (spi_controller_deregister_device_listener):
132 fix re-enterancy hazard.
134 2002-01-07 Michael Meeks <michael@ximian.com>
136 * registryd/deviceeventcontroller.c
137 (spi_device_event_controller_new): upd.
138 (impl_notify_listeners_sync): upd. debug.
139 (spi_notify_keylisteners): fix re-enterancy hazards,
140 prettify, remove O(n*n) iteration.
141 (spi_controller_grab_keyboard): fix iteration.
142 (spi_check_key_event): re-format to suit coding style.
143 Clean all the warnings - we're warning free.
145 * registryd/deviceeventcontroller.h:
146 * registryd/registry.h: make mutualy referential with
147 typesafe forward references instead of (!) void pointer
150 2002-01-11 Michael Meeks <michael@ximian.com>
152 * cspi/spi_accessible.c (role_names): add a role name
153 to sync this array with the enum; and make the regression
156 2002-01-10 Michael Meeks <michael@ximian.com>
158 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
159 allow expansion of enumeration & kill warning.
161 * test/test-simple.c (key_listener_cb): impl.
162 (test_keylisteners): impl.
164 * cspi/spi-listener.h: make listener signatures const
165 on the provided (const) events.
167 * test/keysynth-demo.c: upd. to const events.
169 * test/simple-at.c: ditto.
171 2002-01-11 Bill Haneman <bill.haneman@sun.com>
174 Rev the version to 0.5 (the previous tarball was named 0.4,
175 even though the micro number was 3), so we need to rev upwards
176 again for beta2/"desktop-alpha"
179 Checked in a demo script, which requires editing before use!
180 Proceed with caution.
183 Fixed typo in header which was redefining SPI_ACTION_CLASS.
185 * cspi/spi_accessible.c:
186 Add a couple of missing enum initializations, and fix some enum
189 * cspi/spi_registry.c:
190 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
192 * docs/reference/cspi/at-spi-cspi-sections.txt:
193 Remove/fix a couple of broken document references.
196 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
197 as Alt-Control to listen for commands, since on some systems
198 Control-Alt may already be grabbed.
200 2002-01-10 Bill Haneman <bill.haneman@sun.com>
203 Update version number to 0.4 for Beta2.
205 * libspi/accessible.c, libspi/accessible.h:
206 Expose spi_accessible_construct, to enable libgail-gnome
207 construction from spi_accessible subtype.
210 Workaround for bug in some non-gnome-compliant window managers
211 which made magnifier resize improperly.
213 2002-01-09 Bill Haneman <bill.haneman@sun.com>
215 * libspi/accessible.c: (spi_accessible_new) :
216 Move the test for SPI_IS_REMOTE_OBJECT to
217 spi_accessible_new_return, fixing a bug and compile time warning.
219 2002-01-08 Michael Meeks <michael@ximian.com>
221 * registryd/registry.c (parse_event_type): remove strndup.
223 * libspi/Makefile.am (libspi_la_SOURCES): remove
224 sources already included in the headers section.
226 * libspi/util.c: add.
228 * libspi/spi-private.h: add.
230 * registryd/registry.c: update to moved list iterators.
232 2002-01-05 Michael Meeks <michael@ximian.com>
234 * test/simple-at.c (main): upd. auto-module set to atk-bridge
236 * test/test-simple.c (main): ditto.
238 2002-01-04 Michael Meeks <michael@ximian.com>
240 * libspi/accessible.c (spi_accessible_new): remove 2nd,
243 * registryd/registry.c
244 (get_listener_list): impl.
245 (impl_accessibility_registry_register_global_event_listener):
246 re-impl. to simplify using ~, remove dodgy const cast off.
247 (parse_event_type): constify.
248 (impl_accessibility_registry_deregister_global_event_listener_all):
249 re-write, more efficiency and simplicity, kill re-enterancy
251 (compare_listener_corbaref, compare_corba_objects),
252 (compare_listener_quarks): define out.
253 (impl_accessibility_registry_deregister_global_event_listener):
254 re-write for effiency, and nail re-enterancy hazard.
255 (impl_accessibility_registry_get_desktop_list): impl.
256 (re_enterant_list_delete_link): impl.
257 (re_enterant_list_foreach): impl.
258 (remove_listener_cb): impl.
259 (_registry_notify_listeners): kill.
260 (notify_listeners_cb): impl.
262 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
263 (SPI_getDesktopList): impl.
265 * test/test-simple.c (test_desktop): test the methods.
267 2002-01-03 Michael Meeks <michael@ximian.com>
269 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
270 keystrings since we free them
271 (SPI_freeAccessibleKeySet): in here.
273 * libspi/accessible.c (spi_accessible_new): kill warning,
274 wonder what is going on with the constructor here.
276 2002-03-01 Bill Haneman <bill.haneman@sun.com>
278 * libspi/accessible.c (spi_accessible_new ()) :
279 Added check to see if AtkObject is an SpiRemoteObject before
280 creating an SpiAccessible.
282 2002-05-01 Bill Haneman <bill.haneman@sun.com>
284 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
285 Enable keygrabs using the Control modifier, now that they are
286 working properly (they were previously disabled).
289 Change the command keygrab for this demo to "Control+Alt", so as
290 to conflict with fewer other key commands on the system; this
291 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
293 Removed a pointlessly-chatty keylistener for unshifted keys
294 (shifted keys are still reported).
296 2002-02-01 Bill Haneman <bill.haneman@sun.com>
298 * libspi/remoteobject.h:
299 * libspi/remoteobject.c:
300 Added definitions for special AtkObject subtype, required for
301 support of remote components (specifically, used by BonoboControl
302 accessibility implementation).
304 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
306 * cspi/spi.h: synched relation types with ATK
308 * cspi/spi_accessible.c: Added implementations of
309 AcccessibleRelation_* methods
311 * idl/Accessibility_Relation.idl: added getRelationTypeName
312 method. Synched known relation types with ATK. Allowed for
313 relation type extension with the RELATION_EXTENDED type.
315 * libspi/relation.c: Provided implementations for
316 AccessibleRelation methods.
318 2002-01-01 Bill Haneman <bill.haneman@sun.com>
320 API tweaks for today's API 'freeze'.
323 Added placeholder functions to allow future compatible expansion
324 of the IDL interfaces.
326 * idl/Accessibility_Registry.idl:
327 Changed generateKeyEvent to generateKeyboardEvent. Changed
328 signature of this method to accept an optional keystring in
329 parameter (for complex text input synthesis) and changed use of
330 simple 'boolean' parameter in registerKeystrokeListener to a
331 struct, EventListenerMode.
333 * cspi/spi_accessible.c:
335 * cspi/spi_streamablecontent.c:
336 Added references to AccessibleStreamableContent interface, and
337 definition and implementation of AccessibleStreamableContent
340 * cspi/spi_registry.c:
342 Changed generateKeyEvent API to generateKeyboardEvent,
343 taking a new (optional) keystring parameter to support complex
348 Renamed directory (to better reflect its actual purpose, bridging
349 from at-spi to ATK). The .so module is also now named
352 * idl/Accessibility_Hypertext.idl:
353 * libspi/accessible.c:
354 * libspi/hypertext.h:
355 * libspi/hypertext.c:
356 Changed Accessibility_Hypertext to *not* derive from
359 * cspi/spi_registry.c:
360 Added list of legal event type names for 'window' events, which
361 completes the registry event API.
363 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
365 * at-bridge/bridge.c: Added registration for separate
366 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
367 signals. If either of the first two parameters to the generic
368 bridge signal handler are ints, they are passed on as event
369 details. This allows an AT to determine what text was inserted.
371 2001-12-21 Bill Haneman <bill.haneman@sun.com>
373 * registryd/deviceeventcontroller.c:
374 Fixed regressions in generateKeyEvent caused by the removal of
375 gdk_init from registryd; we now use pure X calls to connect to the
376 display, which makes sense because deviceeventcontroller already
377 uses a fair bit of X API (should eventually be migrated to a
378 'portability layer').
380 * registryd/desktop.c:
381 Fixed minor regression in spi_desktop_init, changed the way the
382 desktop name is being set to work with new spi_base API
383 (gobject-based, rather than AtkObject-based).
385 * registryd/Makefile.am:
386 Minor revision of makefile to use XTST_LIBS variable rather than
387 hard-wiring the Xtst LD_ADD element.
389 * test/keysynth-demo.c:
390 Tweaked an output message; added initialization of the
391 'keystrings' member of the "switch listener" key_set.
394 Squashed compile-time warning.
396 * libspi/accessible.c:
397 Cosmetic and formatting fixes, renamed a static method.
399 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
401 * libspi/accessible.c
403 * libspi/application.c
407 * libspi/editabletext.c
415 * registryd/desktop.c:
416 Changed SpiBase to contain a GObject pointer rather than an AtkObject
418 2001-12-17 Bill Haneman <bill.haneman@sun.com>
420 * idl/Accessibility_Registry.idl:
421 Added boolean member 'is_text' to DeviceEvent. This is for the
422 use of key events, and helps prevent ambiguity between composed
423 key strings and keysym names, since both may potentially be
424 returned in the 'event_string' member.
426 * at-bridge/bridge.c:
427 * registryd/deviceeventcontroller.c:
428 Use the 'is_text' member when notifying device event listeners.
429 Knon issue: composed characters are not dealt with correctly by
430 the global key listener implementation yet.
432 2001-12-17 Bill Haneman <bill.haneman@sun.com>
434 * at-bridge/bridge.c:
435 Namespaced local static methods to spi_atk_bridge_* where
436 previously named bridge_*, and spi_* elsewhere.
438 * at-bridge/bridge.c:
439 * cspi/bonobo/cspi-bonobo-listener.c:
440 Added demarshalling/conversion for string member of
441 Accessibility_DeviceEvent to AccessibleKeystroke.
443 * registryd/deviceeventcontroller.c:
444 Added code to fill the Accessibility_DeviceEvent key string value
445 member for global key events (i.e. from XGrabKey), to match
446 behavior of Accessibility_DeviceEvent from the toolkit key events
447 from the bridge. Fixed timestamp in global key event notifications.
450 Added printout of key event's string value to
451 report_ordinary_key_event, for demo/debugging purposes.
453 2001-12-15 Bill Haneman <bill.haneman@sun.com>
455 * idl/Accessibility_Registry.idl:
456 Removed Accessibility_KeyStroke structure in favor of generic
457 Accessibility_DeviceEvent structure.
458 Changed Accessibility_ControllerEventMask from a struct to an
461 * at-bridge/bridge.c:
462 Changed APIs to use DeviceEvent structure as above, and removed
463 bogus casting between these event structures.
465 * cspi/spi-listener.h:
466 Added keystring member of AccessibleKeystroke structure, to enable
467 matching on event "names" rather than only hardware codes and
471 Added keystrings member of AccessibleKeySet struct, to allow
472 matching on event names (as above).
473 Added declarations for SPI_createAccessibleKeySet and
474 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
475 event modmasks directly as unsigned ints rather than structs with
476 refcounts, in the DeviceEventController methods.
478 * cspi/spi_registry.c:
479 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
481 * cspi/spi-roletypes.h:
482 Added documentation of newly added SPI Roles.
484 * cspi/bonobo/cspi-bonobo-listener.c:
485 Changes in support of API changes above.
487 * libspi/accessible.c:
488 Converted APIs to use DeviceEvent structure (see IDL changes
491 * registryd/deviceeventcontroller.c:
492 Added DEControllerGrabMask structure to track keygrabs not only by
493 modmask but by keyset as well; this allows us to do "global"
494 (i.e. X) keygrabs on a per-key or keyset basis rather than always
495 grabbing on AnyKey and then filtering after-the-fact.
496 Bugfixes for event filtration mean that we don't get false matches
497 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
499 * registryd/deviceeventcontroller.c:
500 Namespaced a number of static methods to use spi_ prefix. Major
501 revision to internals of global (i.e. X) key grabs.
503 * registryd/deviceeventcontroller.h:
504 Removed keymask_list and added keygrabs_list to
505 SpiDeviceEventController struct.
508 Added use of SPI_createAccessibleKeySet API when creating a
509 listener for only one key. Attach a listener to "shift spacebar
510 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
511 X key event names to SPI key event names, so that listeners are
512 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
514 * test/keysynth-demo.c:
515 Changed (incorrect) use of X key event names (KeyPressed,
516 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
519 2001-12-12 Bill Haneman <bill.haneman@sun.com>
521 * libspi/accessible.c:
522 Convert all AtkRole enumerations to Accessibility_Role enums when
523 getting a role from an AtkObject.
525 * cspi/spi_accessible.c:
526 Complete the conversion of Accessibility_Role enums at runtime to
527 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
528 role enums correctly match those given in spi-roletypes.h.
529 Re-synchronize the local names list for AccessibleRole_getName ().
530 AccessibleRole_getName is now deprecated, since it duplicates the
531 more reliable Accessible_getRoleName.
532 Added some role types from Accessibility_Role.idl.
534 * idl/Accessibility_Role.idl:
535 Added some role types used by AtkRole.
537 2001-12-12 Bill Haneman <bill.haneman@sun.com>
540 * cspi/spi_registry.c:
542 * cspi/cspi-bonobo-listener.c:
543 Namespaced all methods that did not begin with an "SPI_" or
544 "Accessible" prefix to "SPI_".
547 Homogenized internal function namespace to "cspi_" for statics.
550 Patched tests to use the new CSPI API.
552 * docs/reference/cspi/at-spi-cspi-sections.txt:
553 Updated docs to reflect namespace changes, and added a number of
554 methods to the documentation.
556 * registryd/registry.c:
557 Changed use of strings and string hashes in listener event
558 matching and parse_event_string to use GQuark, which is guaranteed
561 * registryd/registry.h:
562 Squashed annoying warning.
564 * idl/Accessibility_Role.idl:
565 Extended range of available Accessibility_Role values.
567 * cspi/spi_accessible.c:
568 Re-ordered role names.
570 2001-12-12 Bill Haneman <bill.haneman@sun.com>
572 * idl/Accessibility_Value.idl:
573 Revert use of union back to CORBA_double, since the double type is
574 more efficient and can contain the other types without loss of
577 * idl/Accessibility_Accessible.idl:
578 Added method Accessibility:Accessible:getRoleName, to complement
579 Accessibility:Accessible:getRole.
581 * cspi/spi_accessible.c:
583 Added C binding for above, Accessible_getRoleName (), and changed
584 signature of Accessible_getRole () to return an AccessibleRole.
586 * cspi/spi-roletypes.h:
587 Changed AccessibleRole_getName to return a char * instead of a
588 const char *. This method is now at least temporarily deprecated
589 in favor of asking Accessibles for their RoleNames directly.
592 Revert to match Accessibility_Value.idl;
596 Change signature of AccessibleValue methods to use double rather
600 * cspi/spi_accessible.c:
601 Changed Accessible_getRole to return an AccessibleRole enum rather
602 than a UTF-8 string. The UTF-8 string can still be obtained via
603 AccessibleRole_getName ().
605 * test/test-simple.c:
606 Add test_action. Small fixup to match API change to Accessible_getRole.
609 Bugfix for get_action_from_servant ().
611 2001-12-11 Michael Meeks <michael@ximian.com>
613 * libspi/libspi.h: remove registry.h and
614 desktop.h, deviceeventcontroller.h
616 * libspi/Makefile.am: remove registry.[ch],
617 desktop.[ch], deviceeventcontroller.[ch]
619 * registryd/Makefile.am: add registry.[ch],
620 desktop.[ch], rename registryd.c to registry-main.c.
621 add deviceeventcontroller.[ch]
623 2001-12-11 Bill Haneman <bill.haneman@sun.com>
626 Replace setenv() call with putenv ().
628 * libspi/component.c:
629 Bugfix in AccessibleComponent_getExtents (),
632 2001-12-11 Michael Meeks <michael@ximian.com>
634 * libspi/image.c (impl_getImageExtents): impl.
635 (spi_image_class_init): upd.
638 (AccessibleImage_getImageDescription): fix daft bug
641 * test/test-simple.c (global_listener_cb): update
642 to only quit if not --poke
643 (main): catch --poke.
644 (validate_accessible): upd. dumping, call test_image
647 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
650 * idl/Accessibility.idl: update all IDL includes.
652 * idl/*.idl - rename to namespace - this sucks, blame
653 mjs' bad decision for oafd.
655 * test/test-simple.c (create_test_window): add more tests.
656 (create_tree): split this out.
657 (validate_accessible): bugfix.
659 2001-12-11 Michael Meeks <michael@ximian.com>
661 * cspi/bonobo/cspi-bonobo-listener.c:
662 (cspi_kestroke_listener_unref),
663 (cspi_event_listener_unref): impl. undoing previous
664 homenous environment - for Bill.
666 * cspi/spi_table.c (long_seq_to_array): use
669 * cspi/spi_main.c: split out all bonoboish bits into
672 * cspi/spi-impl.h: upd. typedefs.
674 * cspi/spi_registry.c: update to lowlevel API,
675 return booleans to indicate success in some places.
677 * cspi/spi_event.c: update to lowlevel API.
679 * cspi/bonobo/Makefile.am: add.
681 * cspi/bonobo/cspi-lowlevel.h: add
683 * cspi/bonobo/cspi-bonobo.c: add
685 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
687 * cspi/Makefile.am: remove spi-listener-impl.[ch],
688 (SUBDIRS): add bonobo, link in the libs.
690 * cspi/spi-util.c: kill this file.
692 * TODO: merge in my bits.
694 2001-12-11 Michael Meeks <michael@ximian.com>
696 * test/test-simple.c (test_value, test_table, main):
697 remove unused variables causing warnings.
699 * configure.in: cleanup checks - require gail.
701 2001-12-11 Bill Haneman <bill.haneman@sun.com>
704 Changed Value interface to use SValue (scalars) rather than
705 assuming all values are floats. This allows floats, doubles,
706 longs, shorts, and unsigned values to be manipulated.
707 Introduced Accessibility:SValue union.
710 Updated to use new API above, and to work correctly with GValues
711 of different types in AtkValue.
714 Updated to use new API above. cspi's API is as yet unchanged.
717 Updated the Value revision action item.
719 2001-12-10 Bill Haneman <bill.haneman@sun.com>
721 * test/test-simple.c:
722 Added test_table (GtkTreeView widget in test window to follow).
723 Un-commented test_value, added GtkRange widget.
724 Added GtkTreeView widget with GtkListStore. It passes regression
725 test but leaks one SPI object for some reason.
728 Fixed bug in impl__set_currentValue.
730 2001-12-10 Michael Meeks <michael@ximian.com>
732 * cspi/spi_text.c: audit for exception handling,
733 tolerating NULL object references safely etc.
735 * cspi/spi_value.c: ditto.
737 * cspi/spi_table.c (AccessibleTable_getSummary),
738 (AccessibleTable_getAccessibleAt),
739 (AccessibleTable_getRowHeader),
740 (AccessibleTable_getColumnHeader),
741 (AccessibleTable_getCaption): fix bugs hidden by
743 (long_seq_to_array): impl.
744 (AccessibleTable_getSelectedRows),
745 (AccessibleTable_getSelectedColumns): use it.
747 2001-12-10 Bill Haneman <bill.haneman@sun.com>
750 Added a TODO list (rough and short for now).
752 * cspi/spi_hyperlink.c:
753 * cspi/spi_hypertext.c:
754 Fixed macro name typos, and remove use of obsolete macro in
755 AccessibleHyperlink_getLink.
758 * cspi/spi_accessible.c:
759 * cspi/spi_application.c:
760 * cspi/spi_component.c:
761 * cspi/spi_selection.c:
764 Documentation fixes (removed return values from ref/unref methods).
766 2001-12-10 Michael Meeks <michael@ximian.com>
768 * cspi/spi_action.c: audit for exception handling,
769 tolerating NULL object references safely etc.
771 * cspi/spi_accessible.c: ditto.
773 * cspi/spi_component.c: ditto.
775 * cspi/spi_editabletext.c: ditto.
777 * cspi/spi_hyperlink.c: ditto.
779 * cspi/spi_hypertext.c: ditto.
781 * cspi/spi_image.c: ditto.
783 * cspi/spi_selection.c: ditto.
785 2001-12-10 Michael Meeks <michael@ximian.com>
787 * configure.in: use cspi/libspi.pc.in instead.
789 * Makefile.am (pkgconfig_DATA): upd. to match.
791 * test/simple-at.c (report_focus_event): kill hacks around
792 bad return values, use putenv not setenv
794 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
795 fire ChildGone - I killed it.
798 (impl_accessibility_component_get_extents): remove
801 * idl/Accessible.idl: kill ChildGone exception.
803 * cspi/*.[ch]: kill int return from ref / unref.
805 * cspi/spi_main.c (cspi_object_add_check): fold into
806 (cspi_object_add): here.
808 * cspi/spi_component.c (AccessibleComponent_getExtents):
809 handle exceptions elegantly.
811 * cspi/spi-private.h (cspi_check_ev_return),
812 (cspi_return_if_fail): impl.
814 * cspi/spi_accessible.c: use extensively.
815 (AccessibleStateSet_equals): add direct compare check.
817 * cspi/spi_selection.c: tolerate NULL objs, and check
818 exceptions before return.
820 * cspi/spi-util.c (cspi_warn_ev): rename to
821 (cspi_check_ev): this & don't pass ev in; no point.
823 2001-12-10 Michael Meeks <michael@ximian.com>
825 * test/test-simple.c: use putenv not setenv
826 (get_environment_vars): more chatty if you're not using
829 * test/simple-at.c: do the setenv so more people see the
832 2001-12-10 Bill Haneman <bill.haneman@sun.com>
835 Changed check of CORBA_environment on notification to be a warning
836 instead of an error for the moment, since we can recover from this
837 error when caused by a queued notification from a dead app.
840 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
841 used by all current implementors of AtkValue), and coerce to
842 CORBA_float. (Proper general case fix may require change to Value.idl).
844 2001-12-09 Bill Haneman <bill.haneman@sun.com>
848 * cspi/spi_accessible.c:
849 Documentation fixes: added user_data params to documentation for
850 listeners and callbacks.
852 * cspi/spi_accessible.c:
853 Changed AccessibleStateSet_compare to return a
854 StateSet rather than return the difference set into a third parameter.
857 2001-12-09 Bill Haneman <bill.haneman@sun.com>
860 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
861 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
865 Remove subdirectory po from SUBDIRS for now.
867 * at-bridge/bridge.c:
868 Beefed up a couple of debug printouts.
869 One-line fix for signal notification name formatting.
871 * libspi/accessible.c:
872 Added assertion to spi_accessible_new ().
874 * libspi/application.c:
875 Put #ifdef qualifiers around a printf.
878 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
880 * registryd/Makefile.am:
882 Replaces use of XML_I18N_MERGE_SERVER_RULE with
883 INTLTOOL_SERVER_RULE macro.
886 Added an event listener for several ATK signals, for
887 testing and debugging. Removed a few g_warnings.
888 Added test output if focussed item implements the Value interface.
890 * test/test-simple.c:
891 Added test_value () function (known not to pass at the moment, so
892 not actually called yet.
894 2001-12-08 Michael Meeks <michael@ximian.com>
896 * at-bridge/bridge.c (bridge_focus_tracker),
897 (emit_eventv): fix the same ref. leak.
898 (register_atk_event_listeners): don't leak.
900 * cspi/spi-listener-impl.c (cspi_event): more
901 protection from client code.
903 * test/test-simple.c (test_desktop): unref the app.
905 * test/Makefile.am: upd. TESTS.
907 * at-bridge/bridge.c (bridge_exit_func): release the registry.
909 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
911 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
913 * cspi/spi_registry.c: constify in strings.
914 (deregisterGlobalEventListenerAll): don't release the ref.
916 * cspi/spi.h: start removing redundant / conflicting
917 gtkdoc comments, making the API readable at a glance :-)
919 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
921 * test/keysynth-demo.c (keysynth_exit, main): upd.
923 * test/simple-at.c (main, simple_at_exit): upd.
925 * test/test-simple.c (unutterable_horror): kill.
926 (utterable_normal_derefs): kill.
927 (main): upd & do a setenv before gtk_init, so that we
928 can use memprof - and to save the pain of remembering
929 this, if we're running under memprof - don't exit.
931 * cspi/spi_main.c (SPI_exit): return exit status
933 (SPI_event_quit): impl.
934 (SPI_event_main): simplify.
935 (cspi_is_gnome_app): kill.
936 (SPI_init): kill isGNOMEapp arg.
938 * at-bridge/bridge.c (register_atk_event_listeners):
939 re-instate the unref.
940 (bridge_exit_func): don't re-activate the registry,
941 protect vs. theoretical re-entry, use the
942 AT_BRIDGE_SHUTDOWN env. var to determine whether to
943 assert a clean shutdown - for regression tests.
945 2001-12-08 Abel Cheung <maddog@linux.org.hk>
947 * configure.in: Comment out dummy i18n support for now,
948 otherwise it fails to build.
949 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
950 EXTRA_DIST. They are missing in tarball.
952 2001-12-07 Michael Meeks <michael@ximian.com>
954 * util/magnifier.c: kill bonobo activation reg. race.
957 (impl_accessibility_component_get_extents): make it match
960 * libspi/registry.c (_registry_notify_listeners):
961 re-remove X headers & reconcile conflicts.
962 (spi_listener_struct_free): bad conflict resolve.
963 (impl_accessibility_registry_register_application):
964 more bad merging fixed.
965 (impl_accessibility_registry_deregister_application): ditto.
966 (spi_registry_new): ditto.
967 (spi_registry_init): don't have an applications field.
969 [ merge fixups2 branch to here ]
970 2001-12-07 Michael Meeks <michael@ximian.com>
972 * test/simple-at.c (report_focus_event),
973 (report_focussed_accessible): remove g_warning debug.
975 2001-12-07 Michael Meeks <michael@ximian.com>
977 * test/test-simple.c (validate_tree): comment out some checks.
978 (test_desktop): app now not registered idly - horay.
980 2001-12-07 Michael Meeks <michael@ximian.com>
982 * cspi/spi_registry.c
983 (registerAccessibleKeystrokeListener): clean, stop it leaking
984 great swathes of memory, and device event controller references.
985 ensure we always pass valid sequences.
986 (deregisterAccessibleKeystrokeListener): ditto.
987 (generateKeyEvent): upd.
989 * at-bridge/bridge.c (bridge_key_listener): handle
990 registry dead exception gracefully.
991 (bridge_focus_tracker, emit_eventv): free ev.
993 * test/simple-at.c (report_focus_event): fix polarity.
995 * libspi/application.c (notify_listeners): kill the ev
996 argument, and make sure we init the ev we use.
997 (spi_application_object_event_listener): split out a chunk
998 (get_atk_object_ref): here & fixup.
999 (reverse_lookup_name_for_toolkit_event): make const.
1000 (spi_application_toolkit_event_listener): fixup, kill leaks
1003 * at-bridge/bridge.c (register_atk_event_listeners):
1004 don't unref the noop object - causes grief.
1006 * libspi/registry.c: remove the X headers.
1007 turn off the debug churn.
1009 * libspi/accessible.c (spi_accessible_new_return): only
1010 release the ref if we are supposed to [doh]
1012 * test/simple-at.c (report_button_press, report_focus_event):
1013 guard vs. unexpected exit.
1015 * at-bridge/bridge.c (gtk_module_init): prune printf.
1016 (bridge_exit_func): fix app unref.
1018 * libspi/Makefile.am: don't install registry or desktop.h
1020 * libspi/*.h: update includes.
1022 * libspi/application.h: don't include ourself, or
1023 other redundant headers.
1025 2001-12-06 Michael Meeks <michael@ximian.com>
1027 * libspi/accessible.c
1028 (get_accessible_from_servant): impl.
1029 Upd. all CORBA impl.s to use it killing cut and paste.
1031 * cspi/spi_main.c (cspi_cleanup): guard vs. double
1033 (SPI_init): register atexit cleanup handler here.
1035 2001-12-06 Michael Meeks <michael@ximian.com>
1037 * at-bridge/bridge.c (gtk_module_init): g_error on
1038 activation exception
1040 2001-12-06 Michael Meeks <michael@ximian.com>
1042 * at-bridge/bridge.c (gtk_module_init): some sort of
1043 confusing merge clash - reverted.
1044 (bridge_idle_init): ditto.
1046 * test/test-simple.c (main, utterable_normal_derefs):
1047 merge from Bill - somehow not committed.
1049 2001-12-06 Michael Meeks <michael@ximian.com>
1051 * libspi/value.c (spi_value_class_init): upd.
1052 (spi_value_finalize): kill.
1054 * libspi/table.c (spi_table_finalize): kill.
1055 (spi_table_interface_new): upd.
1056 (spi_table_class_init): upd.
1057 (get_table_from_servant): impl.
1058 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1060 * libspi/selection.c (spi_selection_finalize): kill.
1061 (spi_selection_interface_new): upd.
1062 (spi_selection_class_init): upd.
1063 (get_selection_from_servant): impl.
1064 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1066 * libspi/relation.c (spi_relation_finalize): kill.
1067 (spi_relation_class_init, spi_relation_new): upd
1069 * libspi/image.c (spi_image_finalize): kill.
1070 (spi_image_class_init): upd.
1071 (spi_image_interface_new): upd.
1072 (get_image_from_servant): impl.
1073 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1075 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
1076 (spi_hyperlink_finalize): kill.
1077 (spi_hyperlink_new): upd.
1078 (get_hyperlink_from_servant): impl.
1079 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1081 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
1082 (spi_hypertext_finalize): kill.
1083 (spi_hypertext_class_init): upd.
1084 (get_hypertext_from_servant): impl.
1085 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1087 * libspi/editabletext.c (spi_editable_text_finalize): kill.
1088 (spi_editable_text_interface_new): upd.
1089 (get_editable_text_from_servant): impl.
1090 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1092 * libspi/text.c (get_text_from_servant): impl.
1093 All impls - update to use it killing more cut and paste,
1094 also fix bad string returns on duff args ( a somewhat
1095 impossible case to handle - but hey ).
1096 (spi_text_construct): impl.
1097 (spi_text_interface_new): upd.
1098 (spi_text_object_finalize): kill.
1100 * libspi/component.c
1101 (accessibility_component_object_finalize): kill.
1102 (spi_component_class_init): upd.
1103 (get_component_from_servant): impl. helper to kill cut & paste.
1104 (impl_accessibility_component_contains):
1105 (impl_accessibility_component_get_accessible_at_point):
1106 (impl_accessibility_component_get_position):
1107 (impl_accessibility_component_get_extents):
1108 (impl_accessibility_component_get_mdi_z_order):
1109 (impl_accessibility_component_get_layer):
1110 (spi_component_interface_new): upd.
1112 * libspi/action.c (spi_action_finalize): kill.
1113 (spi_action_class_init): upd. inherit from SpiObject.
1114 (spi_action_interface_new): upd.
1115 (get_action_from_servant): impl. helper to reduce cut & paste.
1116 (impl_getKeyBinding, impl_getName, impl_doAction),
1117 (impl_getDescription): Use it everywhere.
1119 * cspi/spi_main.c (get_live_refs): a pointer hash.
1120 (spi_object_hash, spi_object_equal): comment out.
1121 There are issues with CORBA object hashing that need
1124 * libspi/application.c (spi_application_init),
1125 (spi_application_new): upd.
1127 * libspi/accessible.c (spi_accessible_object_finalize): kill.
1128 (spi_accessible_class_init): upd.
1129 s/accessible/object/ in epv methods.
1131 2001-12-05 Bill Haneman <bill.haneman@sun.com>
1133 * at-bridge/bridge.c:
1134 Reorder the bridge initialization into the bridge gtk_module_init,
1135 an immediate call to bridge_register_app, and an idle_add for
1136 register_atk_event_listeners (the only code that *must* wait until
1137 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
1138 the activation, creates the application's Accessible object, and
1139 queues the bridge_idle_init function. Restored call to
1140 Accessibility_Registry_deregisterApplication().
1141 Prior to making this call we obtain a new reference to the
1142 registry, which is a temporary hack that helps us handle apps that
1143 shut down the bonobo mainloop before we get there.
1145 * libspi/registry.c:
1146 Fix string leakage in debug block, and don't segv if a an app
1147 dies before its event notifications have been propagated.
1150 Modify cspi_check_ev() to call g_warning() rather than g_error(),
1151 as stopgap measure until we get proper exception handling when
1152 objects die during or before interrogation.
1156 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
1157 Also changed default value of is_gnome_app to TRUE.
1160 * test/keysynth-demo.c:
1161 Changed use of SPI_init and SPI_event_main to reflect API change above.
1164 Made report_focus_event check the warning value from getName
1165 before reporting on focussed accessible; simplifies handling of
1166 notifications from dead objects.
1168 * test/test-simple.c: (Changes not in this patch since source is
1171 2001-12-05 Michael Meeks <michael@ximian.com>
1173 * registryd/registryd.c (main): protect against
1174 bonobo-activation startup race condition.
1176 * cspi/spi_main.c (cspi_object_add_check): cope
1177 with the exception elegantly.
1179 * idl/Accessible.idl: decl. ChildGone
1181 * libspi/desktop.c (spi_desktop_dispose): impl.
1182 (spi_desktop_class_init): upd.
1183 (spi_desktop_add_application),
1184 (spi_desktop_remove_application),
1185 (abnormal_application_termination): impl.
1186 (impl_desktop_get_child_at_index): re-impl.
1189 (impl_accessibility_registry_deregister_application),
1190 (impl_accessibility_registry_register_application):
1191 kill excessive debug clutter.
1193 * test/test-simple.c (test_misc): test some NULL
1194 tolerance. (main): upd.
1196 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
1197 implements no interfaces - so let's not crash.
1199 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
1201 * libspi/accessible.c (spi_accessible_new_return): impl.
1202 helper to calm the cut and paste, to cope with
1203 NULL AtkObjects effectively and efficiently, and to kill
1204 the referencing bugs.
1206 * libspi/table.c (impl_getAccessibleAt),
1207 (impl_getRowHeader, impl_getColumnHeader): upd.
1209 * libspi/hyperlink.c (impl_getObject): upd.
1211 * libspi/accessible.c
1212 (impl_accessibility_accessible_get_child_at_index): upd.
1214 * libspi/component.c
1215 (impl_accessibility_component_get_accessible_at_point): upd.
1217 * test/test-simple.c (test_editable_text, test_text): impl.
1220 * cspi/spi_editabletext.c
1221 (AccessibleEditableText_insertText): constify.
1223 * test/test-simple.c (focus_me): make more robust.
1225 * libspi/accessible.c: remove some printfs in methods that
1226 we test and work fine, so we can get a clean tree dump.
1228 * test/test-simple.c (validate_accessible),
1229 (validate_tree): make tree dumping pretty too.
1231 * at-bridge/bridge.c (bridge_signal_listener): upd. so
1232 it builds without debug on.
1234 * test/test-simple.c (validate_accessible): fix the most
1237 * cspi/spi_main.c (spi_object_release): leave the nicely
1238 blanked memory around if in debug mode.
1240 * cspi/spi-listener-impl.c (cspi_event): use add_check.
1242 [committed to fixups2]
1243 2001-12-05 Michael Meeks <michael@ximian.com>
1245 * libspi/editabletext.c
1246 (spi_editable_text_class_init): g_type_class_peek_parent,
1247 not interface peek - so we finalize cleanly.
1249 * libspi/accessible.c (spi_accessible_new): kill debug.
1251 * test/test-simple.c (validate_accessible): fix ref.
1252 leak, print strings before freeing them; sigh, comment a
1253 chunk out due to strangeness.
1254 (validate_tree): unref the child after use.
1256 * cspi/spi_component.c (AccessibleComponent_getLayer):
1257 add missing break statement, switch on zlayer not the
1258 uninitialized retval.
1260 * cspi/spi_main.c (cspi_object_add): add assert, local ref
1261 before (possibly re-entering) remote unref.
1263 * test/simple-at.c (main): unref the desktop.
1265 * cspi/spi_accessible.c (cspi_accessible_is_a): move
1268 * cspi/spi_main.c (cspi_accessible_is_a): here to
1269 isolate bonobo API usage more.
1271 * libspi/registry.c (impl_accessibility_registry_register_application):
1272 prune bogus comment.
1274 2001-12-04 Michael Meeks <michael@ximian.com>
1276 * test/test-simple.c (validate_tree): upd.
1277 IndexInParent check to make it more lucid.
1278 (validate_accessible): dump the tree.
1280 * libspi/accessible.c (de_register_public_ref),
1281 (get_public_refs): impl.
1282 (spi_accessible_new): make more efficient & intuitive.
1283 Now IndexInParent check works.
1285 2001-12-04 Michael Meeks <michael@ximian.com>
1287 * cspi/spi-util.h: remove.
1289 * cspi/spi.h: move SPI_freeString here
1291 * libspi/component.c (impl_accessibility_component_get_layer):
1293 (impl_accessibility_component_get_mdi_z_order): ditto,
1294 return -1 on error - is this ok ?
1296 * test/test-simple.c (test_application): impl.
1298 * cspi/spi_accessible.c (Accessible_getApplication),
1299 (Accessible_isApplication): impl.
1301 * libspi/registry.c (spi_listener_struct_free): release
1302 the CORBA reference too.
1304 * libspi/accessible.c
1305 (impl_accessibility_accessible_get_parent): fix ref leak.
1307 * libspi/registry.c (spi_registry_new): make the registry
1308 immortal - we don't want it to go away ever.
1310 * libspi/application.c
1311 (spi_accessible_application_finalize): impl. cleanup.
1313 * cspi/spi_registry.c
1314 (deregisterGlobalEventListenerAll),
1315 (deregisterGlobalEventListener),
1316 (deregisterAccessibleKeystrokeListener): fix ref leak.
1318 * cspi/spi_main.c (SPI_init): remove redundant ref.
1320 * test/test-simple.c (unutterable_horror): impl. to force a
1325 (impl_accessibility_registry_deregister_application): release
1326 the application when we de-register it.
1328 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1329 until we have the infastructure to get it right.
1331 2001-12-03 Michael Meeks <michael@ximian.com>
1333 * libspi/Makefile.am: only build eventlistener.[ch]
1335 * libspi/accessible.c
1336 (impl_accessibility_accessible_get_child_at_index): don't leak.
1338 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1339 before we hit the idle handler.
1341 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1342 debugging than exit.
1344 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1346 * libspi/listener.c (impl_notify_event): check source
1347 not NIL before unref.
1349 * libspi/registry.c (impl_registry_notify_event): ditto.
1351 * libspi/eventlistener.c
1352 (impl_accessible_event_notify_event): unref the source.
1354 * libspi/accessibleeventlistener.c
1355 (impl_accessible_event_notify_event): unref the source.
1357 * idl/Event.idl: remove 'hash_id' attribute - of no
1360 * libspi/application.c (notify_listeners): upd list
1362 (spi_application_object_event_listener),
1363 (spi_application_toolkit_event_listener): upd to do correct
1367 (_registry_notify_listeners): update.
1368 (parse_event_type): this method also leaks like a sieve.
1369 (impl_accessibility_registry_deregister_global_event_listener):
1370 fix ETYPE_WINDOW case.
1372 * libspi/application.c
1373 (impl_accessibility_application_register_object_event_listener):
1376 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1378 * libspi/hypertext.c (impl_getLink): ditto.
1380 * cspi/spi_main.c (cspi_object_add): remove
1381 bogus CORBA_Object_duplicate.
1383 * cspi/spi-listener-impl.c (cspi_event): dup/ref
1386 * cspi/spi_accessible.c
1387 (Accessible_getRelationSet): fix leak / referencing issue.
1389 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1390 (cspi_object_add, cspi_object_unref): upd.
1391 (spi_object_release, get_live_refs): impl.
1392 (cspi_cleanup): simplify.
1394 * *.[ch]: s/boolean/SpiBoolean/
1396 * cspi/spi_accessible.c (role_names): actualy order so it
1397 corresponds with the enum !
1399 * test/test-simple.c (test_roles): check some role strings
1400 vs. enums to detect offset errors.
1402 2001-12-01 Michael Meeks <michael@ximian.com>
1404 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1406 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1408 (Accessible_getChildAtIndex): use cspi_add_check so we
1409 check the ev before using a (possibly) invalid value.
1411 * libspi/accessible.c
1412 (impl_accessibility_accessible_get_parent): don't segv
1415 * at-bridge/bridge.c (gtk_module_init): upd.
1416 (bridge_property_event_listener): don't leak strings
1418 (bridge_state_event_listener),
1419 (bridge_property_event_listener): don't use a static
1420 buffer in case of recursive event emission &
1421 re-enterancy - split out the swathe of cut and paste
1423 (emit_eventv): and fix 2 ref leaks here & comply to the
1425 (bridge_register_app): rename to
1426 (bridge_idle_init): this and kill arg parsing, split
1427 various inits & bonobo-activation registration to module
1428 init time, kill referencing error.
1429 (bridge_exit_func): fix the same leak.
1430 (bridge_focus_tracker): don't leak event structures
1432 (bridge_signal_listener): more leakage and cut & paste
1434 (bridge_key_listener): return the result - FIXME is
1435 this polarity correct ?
1436 (accessibility_keystroke_from_atk_key_event): rename
1437 (accessibility_init_keystroke_from_atk_key_event): and stop
1439 (gtk_module_init): return a value - not that it is checked by
1441 (bridge_key_listener): register my horror at casting between
1442 IDL defined structs.
1443 (bridge_get_registry): kill - not used.
1445 * cspi/spi_accessible.c (Accessible_getRole): make return const.
1447 * test/test-simple.c (test_roles): impl.
1448 (test_desktop, validate_accessible, validate_tree): impl.
1450 * cspi/spi_accessible.c (role_names): fixup bogus
1451 MAX_ROLES setup, make constants const for efficient linkage
1452 (AccessibleRole_getName): conform to coding style, make
1455 2001-11-30 Michael Meeks <michael@ximian.com>
1457 * cspi/spi.h: add missing prototype.
1459 * libspi/registry.c (spi_listener_struct_new): fix sig.
1461 * test/Makefile.am: add test-simple
1463 * test/test-simple.c: add
1465 * test/test.sh: add.
1467 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1469 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1470 do it straight - since otherwise we often get an activation race.
1472 [ work before Bill duplicated a chunk of it ... ]
1473 2001-11-30 Michael Meeks <michael@ximian.com>
1475 * libspi/keystrokelistener.c
1476 (spi_keystroke_listener_class_init): fixup arg
1479 * libspi/eventlistener.c
1480 (spi_event_listener_class_init): ditto.
1482 * tests/test.sh: add.
1484 * cspi/spi-listener-impl.h: update macros.
1486 * cspi/spi-listener-impl.c
1487 (cspi_event_listener_remove_callback): add
1488 correct pre-conditions.
1490 * cspi/spi_main.c (SPI_exit): guard vs. double
1491 exits, exit the mainloop nicely.
1492 (SPI_event_main): make more sense.
1493 (SPI_init): move the atexit evilness here so we
1494 always do it (yuck).
1495 (SPI_event_main): upd.
1497 * test/simple-at.c: update for listener changes.
1499 * registryd/registryd.c (main): prune kruft.
1501 * libspi/libspi.h: upd.
1503 * libspi/eventlistener.[ch]: rename broken macros.
1505 * libspi/accessibleeventlistener.[ch]: remove.
1507 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
1509 * test/test-simple.c: Add - automated tests.
1511 * cspi/spi-listener-impl.c (cspi_event),
1512 (cspi_key_event): add user_data to invoke.
1513 (cspi_keystroke_listener_finalize): impl.
1514 (cspi_keystroke_listener_class_init): upd.
1517 (createAccessibleEventListener),
1518 (AccessibleEventListener_addCallback),
1519 (createAccessibleKeystrokeListener),
1520 (AccessibleKeystrokeListener_addCallback): upd.
1522 * libspi/deviceeventcontroller.c
1523 (spi_device_event_controller_check_key_event): add public proto.
1526 (impl_accessibility_registry_deregister_global_event_listener):
1527 always init listeners.
1528 (_registry_notify_listeners): yes it is.
1530 * cspi/spi-listener-impl.c (cspi_key_event):
1532 (cspi_event_listener_finalize): impl.
1533 (cspi_event_listener_class_init): hook up.
1534 (event_handler_new, event_handler_free),
1535 (event_list_remove_by_callback): impl.
1536 (cspi_event_listener_remove_callback),
1537 (cspi_keystroke_listener_remove_callback),
1538 (cspi_keystroke_listener_add_callback),
1539 (cspi_event_listener_add_callback): upd.
1541 * libspi/keystrokelistener.c
1542 (keystroke_listener_object_finalize): kill
1543 (spi_keystroke_listener_class_init): upd.
1544 (spi_keystroke_listener_add_callback),
1545 (spi_keystroke_listener_remove_callback): kill,
1547 (impl_key_event): prune drasticaly.
1549 * libspi/eventlistener.c
1550 (spi_event_listener_add_callback),
1551 (spi_event_listener_remove_callback): kill, use
1553 (impl_accessible_event_notify_event): upd.
1554 (spi_event_listener_object_finalize): remove.
1556 * libspi/Makefile.am: use eventlistener.[ch]
1558 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1560 * libspi/registry.c (_registry_notify_listeners):
1561 Changed listener loop iteration to use preferred convention.
1562 Got rid of string memory leaks caused be calling g_strconcat
1563 inside function calls.
1565 * libspi/registry.c (parse_event_type):
1566 Stopped g_strconcat memory leaks, free the g_strsplit return,
1567 g_strdup the split pieces when used, etc.
1569 2001-12-04 Bill Haneman <bill.haneman@sun.com>
1572 Change method 'compare' to return a 'difference set' rather than
1573 taking a StateSet as an out parameter (more Java-friendly).
1575 * idl/Accessible.idl:
1576 Added CORBA struct 'BoundingBox', to faciliate API changes below:
1578 * idl/Component.idl:
1580 Changed methods 'getExtents' and 'getImageExtents' in these
1581 interfaces to return a BoundingBox structure.
1582 (getPosition and getSize are redundant and possibly should be
1583 removed, rather than creating a corresponding Point struct.)
1585 * cspi/spi_component.c:
1586 Modify implementation of getExtents to reflect the above IDL
1591 Add (missing) AccessibleImage_getExtents () API.
1593 * docs/reference/cspi/at-spi-cspi-sections.txt:
1594 Added AccessibleImage_getImageExtents () to docs.
1596 2001-12-03 Bill Haneman <bill.haneman@sun.com>
1598 * idl/Component.idl:
1599 Added two methods, getLayer () and getMDIZOrder (), to reflect
1600 the new ATK methods atk_object_get_layer and
1601 atk_object_get_mdi_z_order. (Which arguably should be part of the
1602 AtkComponent API and AtkObject). Also added an enum,
1603 ComponentLayer, for the first method's return value.
1605 * libspi/component.c:
1606 Added implementations for these methods.
1608 * cspi/spi_component.c:
1610 Added cspi binding methods for above,
1611 AccessibleComponent_getLayer() and
1612 AccessibleComponent_getMDIZOrder().
1613 Added cspi enum 'AccessibleComponentLayer'.
1615 * docs/reference/cspi/at-spi-cspi-sections.txt:
1616 Added above methods to docs.
1620 Changed typedef for 'boolean' type (and all references to it) to
1621 SPIBoolean, to avoid keyword clashes with C++.
1624 Changed usages of 'boolean' to SPIBoolean.
1626 * test/keysynth-demo.c:
1627 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
1628 app), except where SPIBoolean is required by the callbacks API.
1630 2001-12-02 Bill Haneman <bill.haneman@sun.com>
1632 * cspi/spi_registry.c:
1633 Removed obsolete X event loop for passive keygrabs (which now
1636 * registryd/registryd.c:
1637 Removed unnecessary call to gdk_init() [cruft]. This also allows
1638 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
1641 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1643 * docs/reference/cspi:
1644 Included docs for SPI_freeString in generated documentation.
1647 Renamed spi_freeString to SPI_freeString, for consistency. Added
1648 documentation for this function.
1651 Renamed spi_freeString to SPI_freeString, for consistency.
1652 Removed obsolete method declaration string_from_corba_string.
1654 * test/keysynth-demo.c:
1655 Small tweak to comments.
1658 Stopped leaking the strings returned from CSPI.
1660 2001-11-28 Bill Haneman <bill.haneman@sun.com>
1662 Merged Michael's branch (see his ChangeLog entries below).
1664 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
1665 bridge is alive, release on exit.
1667 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
1668 Fix type check macro.
1671 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
1674 Added is_gnome_app static, and method cspi_is_gnome_app(),
1675 so we can call the appropriate shutdown routine at exit in SPI_exit.
1677 * cspi/spi_main.c (cspi_object_ref):
1678 Duplicate the corba object passed in, since we're keeping it around.
1680 * cspi/SPI_exit.c, cspi_cleanup:
1681 Moved the releasing of the live refs to its own function, so we
1682 can put it in g_atexit (). Call the appropriate shutdown API
1683 depending on whethe calling client is a gnome app or not
1684 (bonobo_main_quit or CORBA_ORB_shutdown).
1686 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
1687 Unref the listener when this method is called, after
1688 deregistration. Updated the API docs to note this behavior.
1690 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
1691 Bugfixes: Ref the bonobo object when returning a parent or child
1692 reference, or an AccessibleRelation. Generally made sure
1693 BonoboObject refcount is incremented whenever we return an
1696 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
1697 Fixed typo/bug in signal declaration.
1699 * libspi/accessibleeventlistener.h:
1702 * libspi/application.c (spi_application_new):
1703 Fixed leak in initialization.
1706 Remembered to increment bonobo-object refcount when returning
1707 children (applications) from desktop object.
1708 Added (empty) finalize method.
1710 * libspi/deviceeventcontroller.c:
1711 Hold a ref to listeners inside DEControllerKeyListeners.
1712 Added dec_key_listener_free() method. Use prepend instead of
1713 append in key_listener list. Fixed some refcount madness and
1714 leaks in the listener registration/deregistration - deregistration
1715 now calls dec_key_listener_free() on listeners, and on the
1716 temporarily constructed dec_key_listener() used to perform the search/match.
1718 * libspi/hypertext.c (spi_hypertest_finalize):
1719 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
1720 class. Also fixed spi_hypertext_interface_new() and
1721 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
1723 * libspi/hypertext.h:
1724 Removed pointless and duplicate AtkObject pointer from
1727 * libspi/keystrokelistener.c:
1728 Fixed incorrect type of keystroke_listener_parent_class,
1729 renamed keystroke_listener_object_finalize to
1730 spi_keystroke_listener_object_finalize.
1731 Fixed typo in signal declaration
1732 (spi_keystroke_listener_class_init).
1734 * libspi/registry.c:
1735 Added funcsions spi_listener_struct_new() and
1736 spi_listener_struct_free() to help with memory management issues.
1737 We also now use these methods instead of gnew + poking stuff into
1738 the struct, and to decrement listener counts/free the listeners
1739 when deregistering them.
1740 Fix more refcount bugs in getDesktop() and
1741 getDeviceEventController().
1744 De-ref the desktop after enumerating the applications. Explicitly
1745 decrement the refcounts on the created listeners on exit (using
1746 _unref for keystroke listeners, and via the
1747 deregisterGlobalEventListenerAll command for other event
1750 2001-11-27 Michael Meeks <michael@ximian.com>
1752 * cspi/spi-listener.h: fixup enum.
1754 2001-11-27 Michael Meeks <michael@ximian.com>
1756 * cspi/spi-listener-impl.c (cspi_event_listener_new),
1757 (cspi_keystroke_listener_new): Use the cspi variants.
1759 2001-11-26 Michael Meeks <michael@ximian.com>
1761 * test/keysynth-demo.c: fix 2 compile warnings, missing
1764 * test/simple-at.c (report_focussed_accessible),
1765 (report_focus_event, report_button_press),
1766 (check_property_change, is_command_key),
1767 (report_ordinary_key_event, report_command_key_event): upd.
1769 * util/mag_client.h: include pre-requisites.
1771 * libspi/accessibleeventlistener.c
1772 (spi_event_listener_object_finalize): free any lingering
1775 * libspi/keystrokelistener.c
1776 (keystroke_listener_object_finalize): ditto.
1778 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1779 callbacks, with cspi types.
1781 * cspi/spi_event.c (createAccessibleEventListener): chain to
1782 (AccessibleEventListener_addCallback): here.
1783 (createAccessibleKeystrokeListener): chain to
1784 (AccessibleKeystrokeListener_addCallback): here.
1786 * libspi/keystrokelistener.c
1787 (spi_keystroke_listener_class_init): add signal.
1788 (impl_key_event): emit the event.
1789 (boolean_handled_accumulator): impl.
1790 (marshal_BOOLEAN__POINTER): add, gack.
1792 * libspi/accessibleeventlistener.c
1793 (spi_event_listener_class_init): add signal.
1794 (impl_accessible_event_notify_event): emit the signal &
1795 make the loop efficient.
1796 (spi_event_listener_add_callback): prepend the callback.
1798 * libspi/accessibleeventlistener.h: add an 'event' signal,
1799 decl type on callback.
1801 * libspi/keystrokelistener.h: ditto.
1803 * cspi/spi-listener.h: make methods typesafe and
1804 make them use the new event typedefs.
1806 * test/simple-at.c (report_focussed_accessible):
1807 include mag_client.h
1808 Use *(void *)text_interface not the other thing.
1810 * configure.in: add gtk to registryd bits - since we use
1813 * util/magnifier.c: include libbonobo.h
1815 2001-11-25 Bill Haneman <bill.haneman@sun.com>
1817 * test/keysynth-demo.c:
1818 Turned this into a simple scanning keyboard, to demonstrate the
1819 use of g_timeout_add () as a means of creating timers for
1820 scanning, and the use of GtkStyle for visually indicating when
1821 virtual keyboard elements are selected.
1823 keysynth-demo now listens to any keyboard keys with zero-valued
1824 keycodes (i.e. 'unused' keys) and interprets them as
1827 Reworked the shiftlatch code so that shift-down state isn't held
1828 for long periods (it's only synthesized immediately prior to
1829 the keysynth event it's modifying). Note that shiftlatch in this
1830 demo is a convenience, not intended to take the place of AccessX
1831 which is the better choice for getting 'sticky' modifier keys.
1833 * libspi/deviceeventcontroller.c:
1834 * at-bridge/bridge.c:
1835 * cspi/spi_registry.c:
1836 Removed some debug print stuff, and put other verbosity in #ifdef
1841 Implemented some more of the magnifier IDL for the simple
1842 magnifier: namely, getZoomRegionParams.
1843 Added mag_x and mag_y members to MagnifierData struct, aid of this
1845 Added GtkWindow::realize signal handler to magnifier, to keep it
1846 from receiving keyboard focus from the WM.
1848 2001-11-23 Mark McLoughlin <mark@skynet.ie>
1850 * cspi/spi-private.h: my guess at what michael forgot
1851 before he ran off to NZ :-)
1853 2001-11-23 Michael Meeks <michael@ximian.com>
1855 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
1856 comment out non existant method invoke so we link.
1858 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
1859 use bonobo_exception_get_text for more friendly warnings.
1861 * cspi/spi.c (Obj_Add): move into spi_main & rename
1862 spi_object_add; kill spi.c
1864 * cspi/spi_registry.c
1865 (deregisterGlobalEventListener),
1866 (deregisterGlobalEventListenerAll),
1867 (registerGlobalEventListener): fix exception leaks.
1869 * cspi/spi_main.c (spi_exception): impl. helper, so we
1870 don't leak exceptions.
1872 * cspi/spi_selection.c
1873 (AccessibleSelection_deselectSelectedChild): return the
1876 * cspi/spi_main.c (spi_ev): impl; hack - gack.
1877 (spi_registry): ditto.
1878 (SPI_init): guard against double inits.
1880 * cspi/*.c: use spi_ev (), and spi_registry () where
1881 appropriate - a temporary hack until we have something
1882 better. Use spi_object_add
1884 2001-11-22 Michael Meeks <michael@ximian.com>
1886 * cspi/Makefile.am: re organise, install the headers.
1888 * cspi/*.h: add G_BEGIN/END_DECLS
1890 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1893 Added non-preemptive keylistener for key events with no modifiers
1894 and shift-only modifier.
1896 * libspi/keystrokelistener.c:
1897 Removed some verbose diagnostics printout.
1899 * cspi/spi_registry.c:
1900 Fixed a bug that caused all key listeners to be registered as
1903 * libspi/deviceeventcontroller.c:
1904 Fixed bug that caused XGrabKey (preemptive key grab) to be called
1905 for non-preemptive key masks.
1908 2001-22-11 Bill Haneman <bill.haneman@sun.com>
1910 * docs/reference/idl/at-spi-idl-docs.sgml:
1911 * docs/reference/idl/at-spi-idl-sections.txt:
1912 * docs/reference/idl/at-spi-idl-overrides.txt:
1913 Added missing files.
1915 * docs/reference/Makefile.am:
1916 removed idl from SUBDIRS until we can figure a way to get gtk-doc
1917 to scan the IDL files :-(
1922 Added .cvsignore files.
1924 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1926 * libspi/deviceeventcontroller.c:
1927 * libspi/keystrokelistener.c:
1929 * cspi/spi_registry.c:
1930 Added filters for KeySets, KeyEventSeq, and event types to key
1931 event dispatching, so listeners should only receive those events
1932 that they requested :-)
1934 2001-21-11 Bill Haneman <bill.haneman@sun.com>
1939 * docs/reference:Makefile.am:
1940 * docs/reference/cspi:
1941 * docs/reference/cspi:Makefile.am:
1942 * docs/reference/cspi:tmpl:
1943 * docs/reference/cspi:tmpl:*.sgml:
1944 * docs/reference/idl:
1945 * docs/reference/idl:Makefile.am:
1946 * docs/reference/idl:at-spi-idl-sections.txt:
1947 * docs/reference/idl:at-spi-idl-docs.sgml:
1948 * docs/reference/idl:tmpl:
1949 * docs/reference/idl:tmpl:*.sgml:
1951 Restructured docs directory to allow separate 'reference' docs
1952 section, and forked idl and cspi docs. Added the sgml template
1953 files to CVS. Added the first sections/structural sgml for the
1956 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
1958 * configure.in, libspi/Makefile.am: find libXtst.
1960 2001-11-21 Michael Meeks <michael@ximian.com>
1962 * test/accessx-gui.c: s/spi_value/value/ - doh.
1964 * libspi/base.[ch]: add.
1966 2001-18-11 Bill Haneman <bill.haneman@sun.com>
1968 * idl/Accessible.idl:
1969 * idl/Application.idl:
1972 Started gtk-doc cleanup on IDL.
1974 * libspi/deviceeventcontroller.c:
1975 Added and connected non-preemptive key notification from the
1976 toolkits (in addition to the pre-emptive support from XServer
1977 which we had before, but which causes 'focus flashing'). Filters
1978 are presently limited to key modifiers and global/non-global,
1979 KeySets are presently ignored, as are KeyEvent masks.
1981 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1982 structs into the persistant structure rather than just storing
1983 pointers to things that might not persist across servant
1986 The XGrabKey call now does async keygrabs, because synchronous
1987 ones were deadlocking with GDK_event code in a very nasty way.
1989 Added boolean to internal method notify_keylisteners, to indicate
1990 whether the event came from the 'toolkit source' or the 'global
1991 (XServer) source' - this is used in the notification process to
1992 determine which listeners to send the event to.
1994 deviceeventcontroller.c is now warning-free.
1996 * libspi/registry.c:
1997 Fixed regression in application de-registration.
1998 Also fixed some really brain-dead weirdness having to do with
1999 event dispatching - event structs are now duplicated before being
2000 re-marshalled in the dispatch to listeners. This also fixes a
2001 Solaris build problem.
2004 2001-20-11 Michael Meeks <michael@ximian.com>
2007 (impl_accessibility_registry_deregister_global_event_listener):
2010 * libspi/deviceeventcontroller.c
2011 (spi_device_event_controller_check_key_event): return
2012 FALSE on no virtual method.
2014 * libspi/*..h: make includes work on a correctly pathed install.
2016 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
2018 * libspi/application.h: kill unused ( and whacked out )
2019 gboolean *spi_application_set_id (AtkObject *app, long id);
2021 2001-20-11 Michael Meeks <michael@ximian.com>
2023 * libspi/*.[ch]: further convert to bonobo's type func
2024 macros, remove redundnant casts etc.
2026 * libspi/text.c s/accessibility_text/spi_text/g,
2027 re-order to de-cruft.
2029 * libspi/hypertext.c: re-order to kill a huge slew
2030 of redundant forward decls.
2032 * libspi/relation.c: ditto.
2034 * libspi/image.c: ditto.
2036 * */.cvsignore: update
2038 2001-20-11 Michael Meeks <michael@ximian.com>
2040 * libspi/deviceeventcontroller.c
2041 (_controller_register_with_devices): use g_getenv,
2042 kill stdlib.h include.
2044 * libspi/keystrokelistener.c
2045 (spi_keystroke_listener_get_type): kill
2046 (spi_keystroke_listener_class_init),
2047 (spi_keystroke_listener_init): rename to this.
2049 * libspi/text.c (impl_getAttributes): fix warning / bug.
2051 * libspi/*.[ch]: more headers, includes and over commenting.
2053 2001-20-11 Michael Meeks <michael@ximian.com>
2055 * libspi/*.[ch]: fixup headers, includes and over commenting.
2057 * libspi/image.c (impl__get_imageDescription): const
2058 correctness warning fix. remove redundant casting.
2060 * libspi/table.c (impl_getRowDescription): ditto.
2061 (impl_getColumnDescription): ditto.
2063 * libspi/libspi.h: add.
2065 2001-19-11 Michael Meeks <michael@ximian.com>
2067 * libspi/editabletext.c (impl_setAttributes): fix warnings.
2069 * libspi/component.c (accessibility_component_get_type):
2070 rename to (spi_component_get_type): and macroify.
2071 (accessibility_component_init): rename to
2072 (spi_component_init): this
2073 (accessibility_component_class_init): rename to
2074 (spi_component_class_init): this
2076 * libspi/action.c (spi_action_get_type): kill, use the macro.
2078 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
2081 * libspi/application.c (spi_application_object_event_listener),
2082 (impl_accessibility_application_register_object_event_listener):
2083 warning fixes / const understanding updates.
2085 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
2088 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2090 * libspi/spi_accessible.c: Added docs and C bindings for
2091 AccessibleStateSet. (No implementations yet). Documentation
2092 coverage for C bindings now 100%. Made docs for event listeners
2097 boolean notifyListenersSync (in DeviceEventListener listener,
2098 in DeviceEvent event);
2100 oneway void notifyListenersAsync (in DeviceEventListener listener,
2101 in DeviceEvent event);
2103 Added DeviceEventListener and DeviceEvent structs (may deprecate
2104 KeyStroke and KeystrokeListener in favor of this generic
2105 event/listener framework for devices).
2107 * libspi/deviceeventcontroller.c:
2109 Changed some key listener code to take masks, etc., and paved the
2110 way for integration of toolkit/non-preemptive key events. Changed
2111 signatures of some internal methods.
2113 * at-bridge/bridge.c:
2114 Fixed regression connecting to interface signals, apparently
2115 caused by GTK+ changes.
2117 Added an internal bridge_state_listener to deal with
2118 property-change:accessible-state signals.
2120 Changed the key_listeners GList to store structs (including masks,
2121 etc.) instead of just CORBA_Objects (required for full
2122 implementation of key listener API).
2124 Connected the bridge to all currently supported Atk signals.
2125 Events now supported:
2126 object:property-change
2127 object:property-change:accessible-name
2128 object:property-change:accessible-state
2129 object:property-change:accessible-description
2130 object:property-change:accessible-parent
2131 object:property-change:accessible-value
2132 object:property-change:accessible-role
2133 object:property-change:accessible-table-caption
2134 object:property-change:accessible-table-column-description
2135 object:property-change:accessible-table-column-header
2136 object:property-change:accessible-table-row-description
2137 object:property-change:accessible-table-row-header
2138 object:property-change:accessible-table-summary
2139 object:children-changed
2140 object:visible-data-changed
2141 object:selection-changed
2142 object:text-selection-changed
2144 object:text-caret-moved
2146 object:row-reordered
2148 object:column-inserted
2149 object:column-reordered
2150 object:column-deleted
2151 object:model-changed
2153 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2155 * libspi/hyperlink.c,h:
2156 Fixed some broken stuff in hyperlink.
2158 * libspi/relation.h:
2159 * libspi/relation.c:
2160 * cspi/spi_accessible.c:
2161 Initial implementations of AccessibleRelation methods, and docs.
2163 * libspi/accessible.c:
2164 Fixed a bug that caused SEGV if an accessible
2165 object's description is NULL, and a client
2166 requests it. An empty string is now returned.
2168 * cspi/spi_editabletext.c:
2169 * cspi/spi_hypertext.c:
2171 * cspi/spi_hyperlink.c:
2175 Doc coverage now 95%.
2177 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2179 One last namespacing revision:
2180 * libspi/accessibleeventlistener.[ch]:
2181 Renamed SpiAccessibleEventListener to SpiEventListener,
2182 (no need for two namespaces ;-)
2184 And lots of documentation fixes:
2186 * docs/at-spi-docs.sgml:
2187 Fixed 'underscore vs. hyphen' bug that was preventing
2188 the gtk-doc API docs from being automatically generated.
2191 * cspi/spi-listener.h
2193 * cspi/spi_accessible.c
2195 * cspi/spi_application.c
2196 * cspi/spi_component.c
2197 * cspi/spi_editabletext.c
2199 * cspi/spi_hypertext.c
2201 * cspi/spi_registry.c
2202 * cspi/spi_selection.c
2206 * docs/at-spi-docs.sgml
2207 * docs/at-spi-sections.txt
2209 Added and fixed up gtk-doc documentation in cspi.
2211 Interfaces now (fully) documented (subject to revision and enhancement):
2213 Event Listener Support
2215 AccessibleApplication
2219 AccessibleEditableText
2226 AccessibleRelationSet
2231 2001-14-11 Bill Haneman <bill.haneman@sun.com>
2233 * at-bridge/bridge.c:
2234 Initial work for toolkit-level key snooper connection by bridge.
2239 New typedefs and fixes to support new namespacing, and cleaner
2240 separation of cspi bindings from libspi bonobo implementation.
2241 Removed inconsistent and extraneous Spi* namespace prefix that
2242 had crept into cspi headers.
2243 Lots of comment fixes that sed had missed.
2245 * cspi/spi-roletypes.h:
2246 * cspi/spi-statetypes.h:
2247 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
2248 to AccessibleRoleType.
2250 * libspi/accessibleeventlistener.h:
2251 Fixed minor namespacing weirdness.
2253 * libspi/deviceeventcontroller.c:
2254 Reordered some internal API for device listeners.
2255 Changed the key registry final boolean to 'is_system_global'
2256 rather than 'is_synchronous', which is more descriptive of its
2258 Added spi_device_event_controller_new().
2259 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
2261 * libspi/keystrokelistener.[ch]:
2262 Namespaced KeystrokeListener to SpiKeystrokeListener.
2263 Changed uses of keymasks to use SPI_ prefix, and did other
2266 * libspi/keymasks.h:
2267 Namespaced keymask constants with SPI_ prefix.
2269 * libspi/registry.c:
2270 Some warning fixes, and knock-on fixes from namespace changes.
2273 Added rules for accessx-gui test program.
2275 * test/accessx-gui.c:
2276 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2277 utility. It doesn't actually use at-spi, but it's still cool and
2280 * test/keysynth-demo.c:
2284 Fixes so that these test clients work properly with the namespaced
2285 libraries. (Incompletely tested for technical reasons, fixes may follow)
2288 2001-13-11 Michael Meeks <michael@ximian.com>
2290 * libspi/application.c
2291 (impl_accessibility_application_get_version),
2292 (impl_accessibility_application_get_toolkit_name):
2294 (impl_accessibility_application_set_id),
2295 (impl_accessibility_application_get_id): remove
2296 redundant casting code.
2298 * libspi/action.c (impl_getDescription): fix warnings.
2300 * libspi/accessible.c
2301 (impl_accessibility_accessible_get_parent),
2302 (impl_accessibility_accessible_get_child_at_index),
2303 (impl_accessibility_accessible_get_state),
2304 (impl_accessibility_accessible_get_relation_set):
2305 warning fixes & include action.h
2307 2001-13-11 Michael Meeks <michael@ximian.com>
2309 * *.[ch] fix bits I screwed up:
2311 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2312 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2314 2001-13-11 Michael Meeks <michael@ximian.com>
2316 * *.[ch] Namespace libspi into spi_ and Spi.
2318 2001-13-11 Michael Meeks <michael@ximian.com>
2320 * Makefile.am: dist & install at-spi-1.0.pc
2322 * libspi/Makefile.am: install into at-spi-1.0
2324 * idl/Makefile.am (idldir): install into at-spi-1.0
2326 * at-spi-1.0.pc.in: add.
2328 * configure.in: build it.
2330 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2332 * test/keysynth-demo.c:
2333 Use a 'realize' signal-handler to set the WM properties for
2334 the virtual keyboard, rather than making it a "POPUP" type
2335 override-redirect window (thanks to anders carlsson for that
2338 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2341 * test/keysynth-demo.c:
2342 Added new test of key synthesis, which creates a simple
2343 (mouse-operated) onscreen keyboard. It inserts key events into
2344 the currently-focused window, thus it does not grab keyboard focus
2347 * cspi/spi_registry.c:
2348 Added C binding for AT-SPI generateKeyEvent.
2350 * libspi/deviceeventcontroller.c:
2351 Added call to XFilterEvent so that key listener works with XIM (we
2352 hope). Added event_synth_type to generateKeyEvent, so that we can
2353 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2354 synthesize a press/release pair for KeySyms.
2356 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2358 * libspi/Makefile.am:
2359 * registryd/Makefile.am:
2360 (temporary) hack to include libXtst in libspi and registryd.
2361 (Needed for keystroke synthesis, see below).
2364 Improved API for registerKeystrokeListener, in accordance with
2365 discussions with Gnopernicus team and X server research.
2367 * libspi/registry.c:
2368 * libspi/deviceeventcontroller.c:
2369 * libspi/accessible.c:
2370 * libspi/keystrokelistener.c:
2371 Changes and fixes to support keylisteners for potentially
2372 consumed key events (that is, 'passive grabs').
2373 Added implementation for generateKeyEvent() [untested].
2376 Changes to registerKeystrokeListener() API, as above.
2377 Added deregisterGlobalEventListenerAll(), and
2378 deregisterKeystrokeListener(), which are needed for clean exit of
2380 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2381 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2383 * cspi/spi_registry.c:
2384 Added implementations of function prototypes mentioned above.
2386 * registryd/registryd.c:
2387 Added the key listener event source as a g_timeout(), to allow
2388 receipt of key events that are not caught by GDK (since GDK
2389 doesn't support passive keygrabs, this was necessary).
2392 Changed to attach a keylistener to 'Alt' keys, and
2393 respond to the following keycommands: Alt-M (toggle magnifier);
2394 Alt-F (toggle speech); Alt-Q (quit).
2395 Added an exit routine to deregister the listeners, and a key
2396 listener that prints some key info to the console when a key
2397 matches the listener mask (and is thus received by the listener).
2399 * util/idl/Magnifier.idl:
2400 Changes to magnifier API to support multiple zoom regions,
2401 non-uniform scaling in x and y, markDirty, and a host of other
2402 features that would be useful to magnification.
2405 * util/mag_client.c:
2406 * util/mag_client.h:
2407 * util/mag_control.c:
2409 Source code changes to support the above IDL changes.
2412 As above, and also changes to use a (slower) generic conversion
2413 path for colormap conversions, since the fast RGB conversions have been
2414 reported to fail for 16-bit displays.
2416 2001-10-26 Michael Meeks <michael@ximian.com>
2418 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2420 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
2422 * at-bridge/Makefile.am: fix LDFLAGS.
2424 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2426 * at-bridge/bridge.c:
2427 Re-worked listeners for toolkit events, now we have signal
2428 and property listeners. Added a private method
2429 register_atk_event_listeners(), which registers with the
2430 various atk and gtk signals we need to monitor in order to emit
2432 Added emission hook for AtkObject:property-change events, to
2433 support the 'property listeners'.
2434 Fixed some alloc()s of Accessibility_Event structs to use CORBA
2437 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2438 which emit warnings and exit, respectively, if CORBA errors occur
2439 during remote calls, and we now use these methods to check most of
2440 our CORBA calls in the C bindings.
2442 * cspi/spi_accessible.c:
2443 Changed AccessibleSelection_refSelectedChild() to
2444 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2445 now increment refcounts.
2447 * cspi/spi_component.c:
2448 Fixed some long pointer casts (dangerous!) to pass pointers to
2449 CORBA_longs of the proper type to the CORBA stubs, and copy the
2450 data into the longs that were passed into the C bindings code.
2452 * at-bridge/bridge.c:
2454 * libspi/accessible.c:
2455 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2456 hyperlinks, AtkHyperlink is an object type.
2458 * libspi/application.c:
2459 Added various conversions to and from "generic" event types and
2460 atk-specific types; this is really part of the 'bridge'
2461 implementation but is valid for all AtkObject-based accessibility
2464 * libspi/editabletext.c:
2465 Fixed nasty bug wherein editable text's finalize method was
2466 unref'ing tha AtkObject reference that the text parent class was
2467 about to unref _again_. There was also a nasty inheritance bug
2468 that meant that the AccessibleEditableText class was corrupt.
2470 * libspi/selection.c:
2471 Provided implementations for some selection API that was broken.
2473 * idl/Application.idl:
2474 Added registerObjectEventListener () method.
2477 Fixed a number of return values that were Bonobo_Unknowns from
2478 bonobo_object_corba_objref(), which I
2479 forgot to dup before returning. Changed instances of
2480 bonobo_object_corba_objref (bonobo_object(o)) to
2481 BONOBO_OBJREF(o), for concision and clarity.
2483 <2001-10-13 Louise Miller <louise.miller@sun.com>
2485 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2486 idl/Event.idl, idl/Registry.idl
2487 Changed these files to include Bonobo_Unknown.idl instead
2490 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
2492 * libspi/component.c libspi/component.h:
2493 Fixed typo. Added assertions for object checks in
2494 AccessibleComponent code.
2496 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2498 * idl/Accessible.idl:
2499 Added 'isEqual (Accessible *object)'
2500 method for Accessible. (Not Yet Implemented).
2503 Changed signature of registerKeystrokeListener() to
2504 take a KeySet and KeyEventSeq so that specific keys and event
2505 types could be requested for monitoring, and added a flag
2506 is_synchronous so that either synchronous or asynchronous
2507 notification could be requested. (However this is not all
2508 implemented yet). This also meant adding two new typedefs,
2509 KeyEventSeq and KeySet.
2512 Added two new relations, RELATION_TOOLTIP_FOR and
2513 RELATION_LEAFNODE_OF.
2516 Added new state, STATE_HAS_TOOLTIP.
2518 * libspi/text.c, editabletext.c:
2519 Added new assertions to all casts of bonobo-objects from
2520 CORBA servants, to prevent Text API calls on non-text objects.
2521 Changed suspect casts of int-pointer types, so that we
2522 always send a valid CORBA_long pointer to the CORBA APIs that use
2523 in/out long parameters. We then have to copy from the CORBA_long
2524 into the regular long or int for return to the C bindings, or
2525 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
2528 * libspi/deviceeventcontroller.c:
2529 Cleaned these sources up.
2531 Changed return type for getCharacterAtOffset to
2532 CORBA_unsigned_long, to allow for 32-bit characters.
2535 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
2539 Fixed 'make dist' so that distro compiles...
2540 * libspi/keymasks.h:
2542 * cspi/spi-listener.c:
2543 KeystrokeListenerCB now returns a boolean.
2545 Added KeyEventType struct, and KeyStroke.
2546 Also added createKeystrokeListener(),
2547 KeystrokeListener_addCallback(),
2548 KeystrokeListener_removeCallback(), and added a keymask to
2549 registerKeystrokeListener().
2550 * cspi/spi_accessible.c:
2551 Changed numerous return types for interfaces from
2552 AccessibleComponent to Accessible<InterfaceName>; this was
2553 probably a cut-and-paste error.
2555 Implementations of new KeystrokeListener api (from spi.h,
2558 Changes to key modifier mapping.
2559 Created ControllerEventMask struct.
2560 Made DeviceEventController derive from Bonobo::Unknown.
2562 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
2563 * libspi/deviceeventcontroller.c:
2564 Added a number of new internal (private) methods.
2565 * libspi/editabletext.c:
2566 * libspi/editabletext.h:
2567 Fixed a number of bugs related to the fact that
2568 editabletext inherits from text. Fixed the EditableText struct,
2569 the init() call, and use correct casts when calling Text methods
2570 from an EditableText object. Removed (duplicate) atko from the
2571 EditableText structure, we use the one in the parent Text
2572 structure via the casts mentioned above.
2573 * libspi/keystrokelistener.[ch]:
2574 * libspi/registry.c:
2575 Changes in support of keyboard handling (above).
2577 Keyboard handling, though partly functional, is still not
2578 recommended for at-spi client use as there is considerable
2579 work yet to be done.
2582 Changed some places where pointers to various int types
2583 are cast to be pointers to CORBA_long types and vice-versa:
2584 pointer casting is not safe so we pass pointers of the correct
2585 types and then cast the result before putting it into the target
2588 * libspi/text.h: minor typos corrected.
2590 We now speak not only the name of a Text element, but the
2591 first sentence of its content, when it receives focus.
2592 I also changed the text compression to 75% from 50%.
2593 * util/Accessibility_Util.server.in:
2594 Changed the default magnifier type to be a 3x vertical
2595 splitscreen magnifier (was previously a 2x horizontal one).
2597 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
2599 * libspi/keystrokelistener.h:
2600 * libspi/keystrokelistener.c:
2601 Initial functional implementations of KeystrokeListener.
2604 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
2606 Fixed string handling for NULL strings in libspi.
2607 Added spi_freeString to free strings returned by C bindings.
2609 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
2611 * libspi/keystrokelistener.h:
2612 * libspi/keystrokelistener.c:
2613 Began (no-op) implementations of KeystrokeListener
2615 * libspi/deviceeventcontroller.c:
2616 * libspi/deviceeventcontroller.h:
2617 Began creating implementations of DeviceEventController,
2618 to handle keystroke and mouse event listening and
2620 * libspi/accessible.c:
2621 Stubbed-in the implementations for
2622 Accessibility_Accessible_getState and
2623 Accessibility_Accessible_getRelationSet.
2624 * libspi/registry.c:
2625 Improved de-registration process and fixed some bugs,
2626 deregistration now works correctly.
2628 Added initialization of applications list (to NULL).
2630 Reduced speech compression from 0.5 to 0.7, for demo.
2631 Changed call to gdk_window_set_decorations()
2632 to gtk_window_set_decorated().
2633 * at-bridge/bridge.c:
2634 Bridge now deregisters when app exits, via
2635 registration of a cleanup function
2636 with the g_atexit() call.
2637 Required making 'app' static, renamed 'this_app'.
2638 Fixed broken use of bonobo_init, passing argv wrongly.
2640 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
2644 Created a new directory for
2645 accessibility-related utilities, primarily for
2646 testing and demo purposes, but with possible
2653 Onscreen magnifier utility that
2654 is implemented as a bonobo service.
2656 * util/mag_client.c:
2657 * util/mag_client.h:
2658 Client-side support (simple C bindings)
2659 for Magnification service
2661 * util/mag_control.c:
2662 Client program example for
2663 Magnification service
2665 * util/Accessibility_Magnifier.server.in:
2666 Bonobo-activation file for the
2667 Magnification service.
2670 * util/idl/Magnifier.idl:
2671 IDL defining the bonobo Magnification
2675 Modifications to use the bonobo-activated magnifier
2676 above, in place of trying to connect to an existing
2677 magnifier that uses socket-listening IPC.
2679 If env variable MAGNIFIER is set, a magnifier service
2680 will be started if one does not exist.
2682 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
2683 * at-bridge/bridge.c:
2684 applied patch from Marc to build and run
2685 against new glib and gtk+ (seemed like a change
2686 to bonobo_init signature was made ?)
2688 made festival-server support turned off by default.
2689 Added support for a simple magnifier (off by default)
2690 which will be added to a 'util' directory later.
2691 * at-bridge/Makefile.am:
2692 Changed "application.h" header from a 'source'
2693 to a 'dependency' of libat-bridge.
2695 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2703 Added interface implementation c files to list of
2704 includes so they are included in libcspi.
2707 Changed prototype of AccessibleAction_doAction to return a
2709 Changed prototype of AccessibleTable_getCaption to
2710 return an Accessible.
2711 Changed prototype of AccessibleTable_getSelectedRows
2712 and AccessibleTable_getSelectedColumns to
2713 return a long (returns the number of selected rows
2714 or columns respectively).
2715 Changed name of AccessibleText_refRunAttributes to
2716 AccessibleText_getAttributes.
2717 Changed prototype of AccessibleText_getCharacterExtents to
2718 return a void rather than a boolean.
2719 Added support for a AccessibleCoordType parameter
2720 specifying what type of coordinates are desired.
2721 Added an AccessibleCordType parameter to
2722 AccessibleText_getPointAtOffset.
2724 * cspi/spi_accessible.c:
2725 Added code to return the outstanding interfaces from
2726 Accessible_queryInterface.
2728 * cspi/spi_action.c:
2730 Corrected call to getNActions to call the c binding
2733 * cspi/spi_editabletext.c:
2735 Changed name from setRunAttributes to setAttributes.
2737 * cspi/spi_hyperlink.c:
2739 Changed call to getNAnchors to correctly call the c
2740 binding for an attribute.
2742 * cspi/spi_hypertext.c:
2744 Changed getImageDescription to correctly call the
2745 binding for an attribute.
2747 * cspi/spi_selection.c:
2748 Changed getNSelectedChildren to correctly call the c
2749 binding for the attribute.
2750 Changed refSelectedChild to getSelectedChild.
2754 Changed getCaption to return an Accessible.
2755 Fixed calls which retrieve attributes.
2756 Changed refAt to getAccessibleAt.
2757 Changed getNSelectedRows and getNSelectedColumns to
2761 Changed getCharacterExtents and getPointAtOffset to accept an
2762 AccessibleCoordType.
2764 Changed calls which retrieve attributes.
2765 Changed refRunAttributes to getAttributes.
2770 * idl/Hyperlink.idl:
2771 Changed n_anchors attribute to nAnchors to keep naming
2772 convention consistent.
2775 Made Table inherit from Bonobo::Unknown.
2776 Added nSelectedColumns and nSelectedRows attributes.
2779 Made Value inherit from Bonobo::Unknown.
2781 * libspi/hyperlink.c:
2782 Change for nAnchors attributte name change.
2784 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
2792 Added interface implementation c files to list of
2793 includes so they are included in libcspi.
2796 Changed prototype of AccessibleAction_doAction to return a
2798 Changed prototype of AccessibleTable_getCaption to
2799 return an Accessible.
2800 Changed prototype of AccessibleTable_getSelectedRows
2801 and AccessibleTable_getSelectedColumns to
2802 return a long (returns the number of selected rows
2803 or columns respectively).
2804 Changed name of AccessibleText_refRunAttributes to
2805 AccessibleText_getAttributes.
2806 Changed prototype of AccessibleText_getCharacterExtents to
2807 return a void rather than a boolean.
2808 Added support for a AccessibleCoordType parameter
2809 specifying what type of coordinates are desired.
2810 Added an AccessibleCordType parameter to
2811 AccessibleText_getPointAtOffset.
2813 * cspi/spi_accessible.c:
2814 Added code to return the outstanding interfaces from
2815 Accessible_queryInterface.
2817 * cspi/spi_action.c:
2819 Corrected call to getNActions to call the c binding
2822 * cspi/spi_editabletext.c:
2824 Changed name from setRunAttributes to setAttributes.
2826 * cspi/spi_hyperlink.c:
2828 Changed call to getNAnchors to correctly call the c
2829 binding for an attribute.
2831 * cspi/spi_hypertext.c:
2833 Changed getImageDescription to correctly call the
2834 binding for an attribute.
2836 * cspi/spi_selection.c:
2837 Changed getNSelectedChildren to correctly call the c
2838 binding for the attribute.
2839 Changed refSelectedChild to getSelectedChild.
2843 Changed getCaption to return an Accessible.
2844 Fixed calls which retrieve attributes.
2845 Changed refAt to getAccessibleAt.
2846 Changed getNSelectedRows and getNSelectedColumns to
2850 Changed getCharacterExtents and getPointAtOffset to accept an
2851 AccessibleCoordType.
2853 Changed calls which retrieve attributes.
2854 Changed refRunAttributes to getAttributes.
2859 * idl/Hyperlink.idl:
2860 Changed n_anchors attribute to nAnchors to keep naming
2861 convention consistent.
2864 Made Table inherit from Bonobo::Unknown.
2865 Added nSelectedColumns and nSelectedRows attributes.
2868 Made Value inherit from Bonobo::Unknown.
2870 * libspi/hyperlink.c:
2871 Change for nAnchors attributte name change.
2874 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
2876 implementations-- made server implementations own AtkObject pointers
2877 rather than their respective AtkInterrface pointers to fix
2878 refcounting. AtkHyperlink is still broken.
2880 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
2881 * cspi/spi_accessible.c:
2882 Added method Accessible_Role_getName(),
2883 and requisite string array (role_names).
2884 Added conversion string_from_corba_strin() call
2885 to Accessible_getName and _getDescription.
2886 * libspi/accessible.c:
2887 Added implementation for Accessible_getRole()
2889 Added festival support, used if environment variable
2892 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2894 * at-bridge/bridge.c:
2895 Now allocate Accessibility_Event using
2896 Accessibility_Event__alloc() instead of g_new0().
2897 * libspi/accessibleeventlistener.c:
2898 Initialize AccessibleEventListener->callbacks to NULL.
2899 Fixed accessible__event_listener_init() param, changed to
2900 "AccessibleEventListener *" type.
2901 Changed a bonobo_object_release_unref() call to
2902 Accessibility_Accessible_unref().
2903 * libspi/listener.c:
2904 Changed Bonobo_Unknown_unref to (equivalent)
2905 Accessibility_Accessible_unref.
2906 * libspi/registry.c:
2907 Changed bonobo_object_release_unref to
2908 Accessibility_Accessible_unref.
2910 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2913 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
2914 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
2915 spi-util.c spi-util.h
2916 Implementations for C bindings to remaining accessibility
2919 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2922 changed return value of Action from void to boolean to
2923 bring in line with ATK.
2926 Changed getText funcions to return "out" start and end offsets.
2927 Changed getAttributes to take and offset and return the start
2928 and end offset of the attribute run.
2929 Changed getOffsetAtPoint and getCharacterExtents to take an
2930 enum describing whether coordinates are window or screen.
2933 libspi/action.c libspi/action.h libspi/editabletext.c
2934 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
2935 libspi/hypertext.c libspi/hypertext.h libspi/image.c
2936 libspi/image.h libspi/selection.c libspi/selection.h
2937 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
2938 libspi/value.c libspi/value.h
2939 Added server implementations for outstanding ATK interfaces
2940 not yet implemented.
2942 2001-09-04 Bill Haneman <bill.haneman@sun.com>
2945 Added (missing) getName() method.
2946 Made nActions an attribute.
2947 * idl/EditableText.idl:
2948 Changed order of params in setAttributes.
2949 * idl/Hyperlink.idl:
2950 Removed getAnchor, added getURI.
2952 Changed attributes to methods, for efficiency
2953 (so that getting extents can be done in one call)
2954 * idl/Selection.idl:
2955 Changed nSelectedChildren to attribute, and re-indented.
2956 * idl/Table.idl: changed nrows, ncolumns, caption, summary
2958 * idl/Text.idl: reformatted to match our coding style.
2959 (temporarily?) removed getRowColumnAtOffset().
2960 Changed text selection API to support multi-select and
2961 non-contiguous selections, as in ATK.
2962 * idl/Value.idl: changed some methods to attributes.
2964 2001-08-24 Mark McLoughlin <mark@skynet.ie>
2966 * libspi/listener.c(impl_notify_event):
2967 BonoboUnkown_unref the source instead
2968 of bonobo_object_release_unref - the ORB
2969 handles the releasing.
2971 * configure.in: require ORBit-2.3.94 for
2974 2001-08-21 Bill Haneman <bill.haneman@sun.com>
2976 Tagged CVS repository 'EA_1_0'.
2977 * README.EARLY_ACCESS:
2978 Alphabetized acknowledgements list, and
2980 Listed some known dependencies of at-spi.
2982 2001-08-20 Bill Haneman <bill.haneman@sun.com>
2984 * docs/at-spi-docs.sgml:
2985 * docs/at-spi-sections.txt:
2986 * docs/at-spi-overrides.txt: (Added zero-length file)
2987 Documentation improvements - gtk-doc should build
2988 docs for all implemented C bindings now.
2991 * cspi/spi.c: (New file)
2992 * cspi/spi_event.c: (New file)
2993 * cspi/spi_registry.c: (New file)
2994 * cspi/spi_accessible.c: (New file)
2995 * cspi/spi_application.c: (New file)
2996 * cspi/spi_component.c: (New file)
2997 Split spi_main.c into six parts, and included them from
2998 "spi.c". This is a bit of a hack, probably temporary,
2999 but required by gtk-doc, apparently.
3001 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3004 * docs/at-spi-docs.sgml:
3005 * docs/at-spi-sections.txt:
3007 Initial checkins/modifications for gtk-doc generation.
3010 Added (missing) interface query methods to Accessible's C binding.
3012 Added GenericInterface type definition.
3014 Added query for AccessibleComponent interface to focus event handler.
3015 Added printout of bounding box for focussed component.
3016 * libspi/component.c:
3017 Added partial implementation for AccessibleComponent to C binding.
3018 * idl/Application.idl:
3019 * libspi/registry.c:
3020 * libspi/listener.c:
3021 * libspi/application.c:
3022 * libspi/application.h:
3023 Changed "ID" attribute type from string to long.
3025 2001-08-19 Bill Haneman <bill.haneman@sun.com>
3029 Made method naming consistent: methods taking object args
3030 start with uppercase, other methods (except those using
3031 acronyms) start with lowercase. Underscores delimit between
3032 object names and method names:
3033 SPI_init() - uppercase since it starts with an acronym.
3034 getDesktopCount () - lowercase start since no object param0.
3035 Accessible_getName() - uppercase object type name, studlyCaps method
3039 Added gtk-doc documentation for all currently implemented
3040 methods in the C bindings API.
3042 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3044 * Makefile.am : changed build order to build test last.
3047 Changed "createEventListener" to "CreateEventListener".
3048 * libspi/accessibleeventlistener.c :
3049 Bugfix for addition of callbacks.
3050 * test/Makefile.am :
3051 * test/simple-at.c :
3052 Added new test that uses the C bindings API.
3054 * libspi/listener.c :
3055 * libspi/registry.c :
3056 * libspi/accessibleeventlistener.c :
3057 * at-bridge/bridge.c :
3058 Renamed member "target" of Accessibility_Event to "source",
3059 which is more descriptive.
3062 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3066 * cspi/Makefile.am :
3067 Added makefile support for at-spi/cspi directory.
3070 * cspi/spi-listener.h : (NEW FILE)
3071 Added support for/use of spi-listener.h.
3073 C bindings now build successfully, with no warnings.
3074 * libspi/accessibleeventlistener.h : (NEW FILE)
3075 * libspi/accessibleeventlistener.c : (NEW FILE)
3076 * libspi/Makefile.am :
3077 Added new object type "AccessibleEventListener"
3078 which inherits from Listener, and allows attachment
3079 of in-process callbacks (so that a client with a listening
3080 object instance can add functionality to the local
3081 implementation, dynamically).
3083 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3085 * libspi/accessible.c:
3086 Add implementation for get_index_in_parent().
3088 Added #include of "spi-roletypes.h", and
3089 added enumerated type AccessibleCoordType.
3090 Added definition for KeystrokeListener (function type).
3093 * cspi/spi-statetypes.h :
3094 * cspi/spi-roletypes.h :
3096 Added these headers, used by spi.h.
3098 Added code (NOTE: not yet built by make).
3100 2001-08-18 Mark McLoughlin <mark@skynet.ie>
3102 * libspi/Makefile.am: generate imodule
3103 at the same time as other idl compiler
3106 2001-08-17 Bill Haneman <bill.haneman@sun.com>
3107 * libspi/registry.c :
3108 * libspi/application.c :
3109 * idl/Application.idl :
3110 Made registration with toolkit an application method,
3111 which is required since each app has its own toolkit static
3112 environment. Thus the bridge must register for
3113 notification of toolkit events from each application in turn.
3114 Toolkit notifications are now successfully registered for, and
3115 sent to the listening at client.
3117 Changed toolkit event string to use hyphens rather than underscores.
3118 * libspi/listener.c :
3119 listner now gives more info in debug mode - it reports the
3120 name of the event received, as well as the name of the source.
3123 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3125 * libspi/registry.c :
3126 added more implementation for toolkit events.
3127 Fixed bug such that toolkit event registrations
3128 (via atk) use the whole event name string, not
3130 Removed a useless call to an ORBit_ method.
3131 * at-bridge/bridge.c :
3132 Removed unused local sbuf[] variable.
3134 We now register for Gtk:GtkWidget:button_press_event
3135 events as well as "focus:" events.
3137 Add some more API from Registry.idl that was missing,
3138 for keystroke listening, keystroke and mouse event
3139 synthesis, and enumeration of accessible desktops.
3141 2001-08-16 Michael Meeks <michael@ximian.com>
3143 * configure.in: use AM_GLIB_GNU_GETTEXT.
3145 * Makefile.am (SUBDIRS): kill intl.
3147 2001-08-15 Michael Meeks <michael@ximian.com>
3149 * registryd/Makefile.am: s/oaf/server/ relocate info file.
3151 * configure.in: upd.
3153 * configure.in: depend on a recent bonobo-activation that
3154 will find our server files ...
3156 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3158 * libspi/accessible.c : accessible_new() :
3159 Now we add the Component interface via bonobo_object_add_interface,
3160 if the contained AtkObject implements AtkComponent.
3161 * libspi/accessible.h : now include "component.h"
3162 * libspi/component.h :
3163 * libspi/component.c : added files - implementation of
3164 bonobo wrapper object for Accessibility/Component
3165 * libspi/listener.c :
3166 Added test code to check for Accessibility/Component:1.0
3167 interface and report whether it is implemented by the
3169 * libspi/registry.c :
3170 Now we check for not only the hash of the whole event
3171 string before relaying the event, we also check the
3172 "minor" event string (without the detail string).
3173 This allows event listeners to be registered against
3174 all events of a certain major+minor type, or just
3175 against a specific major+minor+detail type.
3176 * libspi/accessible.c :
3177 Added implementations for Accessible:get_parent(),
3178 Accessible:getChildCount(), and Accessible:getChildAtIndex().
3179 * libspi/registry.c :
3180 * libspi/listener.c :
3181 Replaced calls to Accessibility_Accessible_ref() and
3182 Accessibility_Accessible_unref() with
3183 calls to bonobo_object_dup_ref() and
3184 bonobo_object_release_unref(), so that the CORBA object
3185 is dup-ed and released when relayed, as well as the bonobo object.
3187 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3189 * libspi/Makefile.am,
3190 registryd/Makefile.am,
3191 at-bridge/Makefile.am.
3192 test/Makefile.am, configure.in:
3193 reverse previous changes.
3195 * /idl/Image.idl: fix typo.
3197 * test/Makefile.am: put DEBUG_FLAGS
3200 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3202 * test/app.c: use argv[0] instead of
3205 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3207 * libspi/Makefile.am,
3208 registryd/Makefile.am,
3209 at-bridge/Makefile.am.
3210 test/Makefile.am, configure.in:
3211 cleanup, replace individual LIBS/CFLAGS with
3212 AT_COMMON_{LIBS|CFLAGS}.
3216 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3218 * configure.in, libspi/Makefile.am:
3219 Change IDL path checking for bonobo-activation
3222 2001-08-15 Bill Haneman <bill.haneman@sun.com>
3224 * registryd/registry.c : separated event listeners to use
3225 3 separate lists (focus, window, toolkit). Began testing
3226 event names against hashes before relaying events.
3227 * test/at.c : now register for events of type "focus:"
3228 * test/app.c : now generate events of type "focus:"
3229 * at-bridge/bridge.c : register with ATK for focus events,
3230 and we now relay those focus events to any "focus:" listeners.
3231 This now works with the bridge as a GTK_MODULE when running test/at.
3232 * libspi/registry.c :
3233 * libspi/listener.c :
3234 now we ref event sources before propagating, and unref on receipt.
3235 * libspi/registry.c :
3236 some changes to internal structs, to support event typestring hashes.
3237 * text/app.c : changed the way the appname is generated.
3238 * cspi : added directory that will hold the C bindings library for
3239 non-CORBA/bonobo-savvy clients.
3240 * cspi/spi.h : header file that contains the function prototypes for the C binding.
3241 * idl/Component.idl : added in parameter to indicate coord system for
3242 geometry-related calls.
3243 * idl/Hyperlink.idl : added readonly n_links attribute
3244 * idl/Image.idl : changed methods to attributes.
3246 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3248 * at-bridge/Makefile.am: link against
3249 ../libspi/libspi.la instead of -lspi.
3251 * at-spi/test/app.c: include
3252 bonobo-activation.h. Use a default appname
3253 if one is not provided.
3255 2001-08-14 Bill Haneman <bill.haneman@sun.com>
3257 * idl/Registry.idl : temporarily changed register_Application
3258 to oneway, to work around issue with initial registration
3260 * idl/Application.idl : changed attribute "id" from readonly
3261 to read-write, since it needs to be assigned by Registry.
3262 * registryd/registryd.c : added call to set application id
3264 * registryd/registry.c : changed de-registration procedure to
3265 use CORBA_Object_hash() to find matching object ref in application
3266 lists and listener lists.
3267 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
3268 began distinguishing between event types (work in progress).
3270 2001-08-13 Bill Haneman <bill.haneman@sun.com>
3273 * libspi/application.c:
3274 Added implementations for get/set id, get_toolkitName,
3276 * registryd/registryd.c :
3280 Converted from use of OAF to bonobo-activation.
3281 * libspi/desktop.h :
3282 * libspi/desktop.c :
3284 Removed references to atksimpleobject, since base atkobject
3285 implementation now provides functionality we need.
3286 * libspi/atksimpleobject.c :
3287 * libspi/atksimpleobject.h :
3292 * at-bridge/Makefile.am
3293 * at-bridge/bridge.c
3296 Added directory "bridge" and contents, and added dependencies
3297 in Makefile.am/configure.in.
3298 Initial checkin of "at-bridge".
3299 This code is a GTK_MODULE which automatically registers
3300 GTK+ apps with the accessibility registry, using an object
3301 reference to the root ATK object.
3303 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3305 * po/Makefile.in.in: Remove. Again. If this
3306 doesn't get autogenerated - you need to update
3309 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3311 * po/Makefile.in.in: Add. Again.
3313 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3315 * libspi/accessible.c : added support for 'description' property.
3316 * libspi/accessible.c
3318 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3319 (since the two are now equivalent in libbonobo)
3327 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3328 Bonobo::Unknown as does Accessibility::Accessible.
3329 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3330 interface with Bonobo::Stream, since it was redundant with it.
3331 (The Stream returned by a StreamableContext object is expected to
3332 implement only a subset of Bonobo::Stream)
3334 2001-07-28 Anders Carlsson <andersca@gnome.org>
3336 * libspi/accessible.c (accessible_object_finalize): Change
3337 g_free to g_object_unref since the AtkObject is a GObject.
3339 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3341 * idl/Accessibility.idl: add new IDL files
3344 * idl/Action.idl: Definitions of actionable UI object
3345 * idl/Component.idl: Definitions of UI component geometry, etc.
3346 * idl/Hyperlink.idl: Defs of hyperlink behavior
3347 * idl/Image.idl: Def of accessible image
3348 * idl/Selection.idl: Definition of UI object with selectable children
3349 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3350 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3351 * idl/Text.idl: Interface defs for UI elements with complex textual content
3352 * idl/Value.idl: Definition of UI element that is a value controller or display
3354 2001-07-27 Michael Meeks <michael@ximian.com>
3356 * po/Makefile.in.in: remove autogenerated file from CVS.
3358 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3361 * idl/Registry.idl: include guard.
3363 * idl/Accessibility.idl: Add, and include all the other IDL
3366 * idl/*.idl: remove mass of pragmas etc.
3368 2001-07-26 Michael Meeks <michael@ximian.com>
3370 * registryd/Makefile.am (registryd_SOURCES): remove
3373 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3375 * libspi/.cvsignore, registryd/.cvsignore,
3376 test/.cvsignore: updated.
3378 * po/Makefile.in.in: gettext update.
3380 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3382 * initial CVS checkin
3384 2001-06-29 Michael Meeks <michael@ximian.com>
3386 * configure.in: add AM_CONFIG_HEADER to gen config.h