1 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
4 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
5 for window:activate and window:deactiveate
6 (atk_bridge_property_event_listener atk_bridge_signal_listener
7 atk_bridge_window_event_listener) Tidy debug code
9 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
11 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
12 Fixed handling for NULL return value from ATK.
14 * libspi/action.c libspi/component.c libspi/editabletext.
15 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
16 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
17 Removed redundant casts.
19 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
22 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
23 function not present in idl)
25 2002-05-02 jacob berkman <jacob@ximian.com>
27 * atk-bridge/Makefile.am: make atk-bridge a real module
29 2002-04-26 Radek Doulik <rodo@ximian.com>
31 * libspi/stateset.c (spi_init_state_type_tables): fix size of
34 2002-04-22 jacob berkman <jacob@ximian.com>
37 * libspi/Makefile.am: add deps on the built files to help
38 automake, and don't version the ORBit typelib
40 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
42 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
43 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
44 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
45 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
46 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
47 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
48 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
49 libspi/accessible.h libspi/accessible.h libspi/base.h
50 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
51 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
52 libspi/relation.h libspi/remoteobject.h libspi/selection.h
53 libspi/spi-private.h libspi/statetset.h libspi/table.h
54 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
55 util/mag_client.h util/mag_control.c util/mag_image.c
56 util/mag_image.h util/magnifier.c util/magnifier.h:
57 Add missing file headers; standardize existing ones
59 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
61 * atk-bridge/bridge.c: Added window event support.
63 2002-04-18 Michael Meeks <michael@ximian.com>
65 * libspi/relation.c (impl_getNTargets): impl.
66 (impl_getTarget): impl.
68 * libspi/Makefile.am: fix stateset install.
70 2002-04-17 Bill Haneman <bill.haneman@sun.com>
73 Started putting useful info in this file.
75 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
77 * atk-bridge/bridge.c:
78 Propagate state-changed notifications to ATs
80 * cspi/spi_registry.c: update docs to reflect actual behavior of
83 2002-04-17 Bill Haneman <bill.haneman@sun.com>
86 Incremented version to 0.12.1
89 Add missing declaration for magnifier_exit,
90 used by mag_control.c - Forte compiler didn't like
91 the implicit redeclaration of the function :-(
94 2002-04-16 Bill Haneman <bill.haneman@sun.com>
97 Revved version to 0.12 due to API change (see below).
99 * cspi/spi-roletypes.h:
100 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
101 definition from the inline docs, and added docs
102 for SPI_ROLE_LAST_DEFINED.
105 * cspi/spi_streamablecontent.c:
106 Added missing seek_type parameter to
107 (so far unused) method,
108 AccessibleStreamableContent_seek().
109 [ RT approval JodyG. ]
112 Fixed docs for SPI_createAccessibleKeystrokeListener.
114 * cspi/spi_registry.c:
115 Fixed docs for SPI_KEYSET_ALL_KEYS.
117 * docs/reference/cspi/at-spi-cspi-sections.txt:
118 Added a number of missing APIs to SECTIONS.
120 2002-04-16 Bill Haneman <bill.haneman@sun.com>
122 * registryd/Makefile.am:
124 * cspi/bonobo/Makefile.am:
125 Add $(X_LIBS) to makefiles.
127 2002-04-15 Bill Haneman <bill.haneman@sun.com>
130 Revved version to 0.11.
132 * libspi/component.c:
133 Added implementation for grabFocus.
135 * idl/Accessibility_Component.idl
136 (Accessibility_Component_grabFocus):
137 Made this method return boolean to indicate success or failure, to
138 be consistent with cspi and the corresponding ATK method.
140 * idl/Accessibility_Selection.idl
141 (Accessibility_Selection_selectAll) :
142 Made these methods return boolean to indicate success or
143 failure, to be consistent with cspi and the corresponding ATK methods.
145 * idl/Accessibility_EditableText.idl
146 (Accessibility_EditableText_setTextContents,
147 Accessibility_EditableText_insertText,
148 Accessibility_EditableText_cutText,
149 Accessibility_EditableText_deleteText,
150 Accessibility_EditableText_pasteText):
151 Made these methods return boolean to indicate
154 * cspi/spi_editabletext.c:
155 Made these methods return booleans.
157 * libspi/selection.c:
158 * libspi/component.c:
159 * libspi/editabletext.c:
160 Connected the boolean returns from ATK
161 to the server-side code referenced above.
163 2002-04-14 Bill Haneman <bill.haneman@sun.com>
165 * idl/Accessibility_Table.idl: Added missing methods,
166 Accessibility_Table_addRowSelection,
167 Accessibility_Table_addColumnSelection,
168 Accessibility_Table_removeRowSelection,
169 Accessibility_Table_removeColumnSelection.
172 Added C wrappers for above IDL:
173 AccessibleTable_addRowSelection,
174 AccessibleTable_addColumnSelection,
175 AccessibleTable_removeRowSelection,
176 AccessibleTable_removeColumnSelection.
179 Added server-side implementation code for IDL above, connecting
180 to pre-existing ATK api.
182 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
184 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
186 * libspi/accessible.c: Added implementation fo
187 Accessibility_Accessible_get_state.
189 * libspi/libspi.h: Added stateset.h to the list of includes.
191 * libspi/stateset.c: Fixed broken implementation.
193 2002-04-13 Bill Haneman <bill.haneman@sun.com>
196 Added implementation code for Accessibility_Magnifier_exit ().
198 * util/mag_control.c:
199 Added test code for above method; you can
200 now kill an existing magnifier via
201 ./mag_control q, from the util directory.
203 * test/key-listener-test.c:
205 Added a new test, for our key listener API.
207 2002-04-11 Bill Haneman <bill.haneman@sun.com>
209 * test/app.c, test/keysynth-demo.c:
211 Replace use of snprintf with g_snprintf.
212 (fix for bugzilla 78249)
214 2002-03-27 Michael Meeks <michael@ximian.com>
218 * util/Makefile.am (INCLUDES): fix.
219 (DONT_DIST_SOURCE): don't distribute the
222 * libspi/Makefile.am (dist-hook): ditto.
224 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
226 * libspi/hypertext.c:
227 Fix warnings when yelp is used with atk-bridge
229 2002-03-21 Michael Meeks <michael@ximian.com>
231 * libspi/application.c (spi_application_new):
232 use spi_accessible_construct so we use the AtkObject
235 2002-03-19 Michael Meeks <michael@ximian.com>
237 * registryd/registry.c (desktop_remove_application),
238 (desktop_add_application): clean coding style.
240 * registryd/desktop.c (spi_desktop_remove_application),
241 (spi_desktop_add_application): kill re-enterency hazards.
242 (spi_desktop_dispose): remove bogus redundant cast
243 obscuring bug; fix bug too.
244 (spi_desktop_init): make the desktop object immortal.
246 2002-03-16 Bill Haneman <bill.haneman@sun.com>
249 Added a #define-guarded tree-traversal step
250 when enumerating the apps (diagnostic tool).
252 2002-03-15 Bill Haneman <bill.haneman@sun.com>
254 * idl/Accessibility_Role.idl:
255 Added ROLE_DRAWING_AREA which seemed to be missing from the
258 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
260 * cspi/spi-roletypes.h cspi/spi_accessible.c
261 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
264 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
265 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
266 AT when applications are added and removed from the desktop. This
267 reverts the previous broken implementation using the backing
268 AtkObject for the SpiDesktop.
270 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
272 * registryd/desktop.c: emit the "children-changed::add" and
273 "children-changed::remove" signals on the backing ATK object for
274 the desktop so AT can tell when applications are started and shut
277 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
279 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
281 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
283 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
285 * cspi/spi_accessible.c: Implemented c bindings for stateset support
287 * cspi/state-types.h: synched with IDL and ATK
289 2002-03-13 Bill Haneman <bill.haneman@sun.com>
291 * libspi/accessible.c
292 (impl_accessibility_accessible_get_child_at_index):
293 Change return value for g_return_if_fail ()
294 to CORBA_OBJECT_NIL instead of "0" (!)
296 * registryd/Makefile.am:
297 * registryd/Accessibility_Register.server.in:
298 Changed name of executable, "registryd",
299 to something more informative:
302 2002-03-13 Michael Meeks <michael@ximian.com>
304 * atk-bridge/bridge.c (atk_bridge_init): don't register
305 if we're in a bonobo-component, rather than a bonobo app.
307 2002-03-13 Michael Meeks <michael@ximian.com>
309 * atk-bridge/bridge.c (gtk_module_init): split
310 out body to (atk_bridge_init): here, since otherwise
311 we get symbol conflicts and oddness when invoked
312 from (gnome_accessibility_module_init): here (upd.)
314 2002-03-11 Bill Haneman <bill.haneman@sun.com>
317 New file. Explicitly allow "build sheriff" putbacks provided
318 they are tested on Solaris.
320 * docs/reference/cspi/Makefile.am:
321 Added '-' to the "cp" command for index.sgml.
322 ("patch by thomasvs, soon coming to a GUADEC near you")
325 Incremented version number (0.9.0) for new release.
326 Changed macro that checks for popt, to better detect
327 obsolete versions of popt.
330 Added X_LIBS to AC_SUBST, for applications
331 that call Xlib API directly.
334 2002-03-07 Bill Haneman <bill.haneman@sun.com>
337 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
340 Fix regression caused by hard-coding major
341 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
344 * test/test-simple.c (test_editable_text),
345 (test_test): revert previous change (error was
346 a regression in gail which is now fixed).
348 2002-03-04 Michael Meeks <michael@ximian.com>
350 * test/test-simple.c (test_editable_text),
351 (test_text): pass G_MAXINT instead of '-1' for
352 whole string - is this a good thing !?
354 * cspi/spi_accessible.c
355 (Accessible_getRelationSet): fix crasher bug
356 overwriting the end of the array.
358 * test/test-simple.c (validate_accessible): free,
359 not g_free returned relation set.
361 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
363 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
364 implemented stateset support
366 * idl/Accessibility_State.idl: Made necessary changes to
367 the IDL to support state sets.
369 2002-02-12 Bill Haneman <bill.haneman@sun.com>
371 * registryd/deviceeventcontroller.c:
372 Added implementation for generateMouseEvent.
374 * cspi/spi_registry.c:
375 Connected new implementation for generateMouseEvent
378 2002-02-12 Bill Haneman <bill.haneman@sun.com>
381 Incremented revision (but no change in public API
382 outside of 'utils', which are not installed public yet.)
384 * libspi/component.c:
385 Changed to use atk_component API for layers and
386 mdi_zorder, instead of deprecated atk_object API.
388 Magnification Utility Enhancements:
391 Added implementation of createZoomRegion, clearAllZoomRegions,
392 resizeZoomRegion. Added new commandline argument
393 "--no-initial-region". Note that clearAllZoomRegions doesn't
394 unmap the old '0' region as it should (yet), and the other
395 methods only work when creating/resizing a single region,
397 (Code for multiple region support will be added later.)
400 Now we raise the magnifier window each time it's refreshed;
401 this will help keep it on top.
404 Added simple wrappers for above, used by mag_control.
405 For general use, it's recommended to use the bonobo magnifier
406 control API directly instead of using these wrappers.
409 Moved ZoomRegionData from magnifier.c to this file.
411 * util/mag_control.c:
412 Added some code to exercise new IDL implementations.
414 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
416 * libspi/text.c: Provide implementation for getAttributes.
418 2002-02-04 Bill Haneman <bill.haneman@sun.com>
421 Incremented revision.
423 * test/test-simple.c:
424 Replaced use of deprecated g_main_iteration with
425 g_main_context_iteration.
427 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
430 Incremented revision for desktop alpha 2.
432 2002-01-28 Mark McLoughlin <mark@skynet.ie>
434 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
437 * test/simple-at.c: include netinet/in.h.
439 2002-01-24 Mark McLoughlin <mark@skynet.ie>
441 * cspi/spi_accessible.c: (Accessible_getRelationSet):
442 use NULL, not CORBA_OBJECT_NIL.
444 * libspi/accessible.c:
445 (impl_accessibility_accessible_get_relation_set):
446 allocate the sequence correctly.
448 * libspi/remoteobject.h: kill spi_remote_object_new.
450 * test/test-simple.c: (validate_accessible): add code
451 to test relation sets, now all we need is to figure
452 out how to excercise this code path :/
454 2002-01-18 Michael Meeks <michael@ximian.com>
457 (key_listener_cb): consume the key.
458 (test_keylisteners): update.
459 (main): wait for any pending unrefs on events.
461 * registryd/deviceeventcontroller.c
462 (spi_controller_update_key_grabs): only re-issue the
463 grab on a key release.
464 (spi_device_event_controller_forward_key_event):
465 refresh the keygrabs before we notify the listeners,
466 to reduce the X ungrab / re-grab race.
467 (spi_controller_register_with_devices): remove
468 XSelectInput - we do that with the gdk_window_ call.
469 (_spi_controller_device_error_handler): return a value.
470 s/GDK_DISPLAY/spi_get_display/
472 2002-01-17 Michael Meeks <michael@ximian.com>
474 * registryd/deviceeventcontroller.c
475 (_deregister_keygrab): don't blow out the later
478 * test/test-simple.c (test_keylisteners): do a
479 more intelligent validation.
481 2002-01-14 Michael Meeks <michael@ximian.com>
483 * atk-bridge/bridge.c
484 (gnome_accessibility_module_init),
485 (gnome_accessibility_module_shutdown): impl.
486 (gtk_module_init): protect vs. double inits.
487 (add_signal_listener): impl.
488 (spi_atk_bridge_state_event_listener): kill
489 (deregister_application): split out of
490 (spi_atk_bridge_exit_func): here.
492 2002-01-18 Bill Haneman <bill.haneman@sun.com>
495 Added caret tracking when using magnifier, and
496 now use text bounds for focus tracking of text elements, rather than
497 the component bounds - this is helpful for short text fields in long
498 table cells, at high magnification.
500 2002-01-16 Bill Haneman <bill.haneman@sun.com>
502 * registryd/deviceeventcontroller.c:
503 Regression fix for keylistener de-registration; global keygrabs
504 were not being released when deregisterKeystrokeListener was
505 called in cspi, since
506 Accessibility_DeviceEventController_deregisterKeystrokeListener
507 was called with a zero-length keyset. That is because the cspi
508 method, SPI_deregisterKeystrokeListener, does not take a keyset
509 parameter but instead should remove all the key grabs held be a
511 The code in impl_deregister_keystroke_listener was changed to copy
512 the keylist from the listener instance previously registered with
513 the DeviceEventController before releasing the grabs.
515 * registryd/registry.c:
516 * registryd/deviceeventcontroller.c:
517 * libspi/spi-private.h:
519 Changed spelling of "re-enterant" to "re-entrant" globally.
521 2002-01-16 Bill Haneman <bill.haneman@sun.com>
523 * test/test-simple.c:
524 Changed key listeners test - the test was slightly mis-using the
525 (admittedly poorly documented) SPI_generateKeyboardEvent API.
526 It now uses '=' as the key event listened to and generated,
527 relying on a keysym match rather than assuming that keycode 33
528 is always equal to keysym '!'.
530 2002-01-15 Bill Haneman <bill.haneman@sun.com>
533 Changed simple-at to use a specific keyset, rather than
534 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
535 manager, desktop, etc.
537 2002-01-11 Bill Haneman <bill.haneman@sun.com>
539 * registryd/deviceeventcontroller.c:
540 Replaced standard X error handler with a special handler that
541 is non-fatal for failed keygrabs. This works around
542 problems with keygrab clashes sometimes observed on
544 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
545 mouse handling code as yet).
547 2002-01-11 Bill Haneman <bill.haneman@sun.com>
550 Incremented revision for desktop alpha release.
553 Fixed a couple of the more glaring errors (still not
556 2002-01-11 Michael Meeks <michael@ximian.com>
558 * registryd/deviceeventcontroller.c
559 (spi_device_event_controller_forward_key_event): kill
560 XUngrabKey / XKeyGrab race.
561 (spi_controller_grab_keyboard): rename to
562 (spi_controller_update_key_grabs): this, and deal
563 with incremental adding / removing grabs more
565 (_register_keygrab): ensure we're not pending a remove.
566 (spi_grab_mask_free): impl.
567 (spi_controller_register_global_keygrabs): split out
569 (handle_keygrab): impl.
570 (_deregister_keygrab): impl.
571 (spi_controller_deregister_global_keygrabs): impl.
572 (spi_controller_update_key_grabs): re-issue the grab if
573 we just recieved a notification.
575 * test/test-simple.c (key_listener_cb): remove debug.
577 * registryd/deviceeventcontroller.c
578 (spi_controller_register_device_listener): after
579 registering a global keygrab, actualy register it !
580 don't wait for a timeout; doh !
582 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
583 to make it more readable / manipulable.
584 s/grabmask/grab_mask/ s/refcount/ref_count/
585 s/keyval/key_val/ s/modmask/mod_mask
587 2002-01-08 Michael Meeks <michael@ximian.com>
589 * registryd/deviceeventcontroller.c
590 (spi_controller_register_with_devices): use gdk calls to
592 (global_filter_fn): implement the filter.
593 (spi_device_event_controller_check_key_event): rename to
594 (spi_device_event_controller_forward_key_event): this & upd.
595 (spi_get_display): replace with GDK_DISPLAY.
597 * registryd/deviceeventcontroller.c
598 (spi_controller_deregister_device_listener): unroll into
599 (impl_deregister_keystroke_listener): here to simplify.
600 (spi_controller_register_global_keygrabs): split cut and
601 paste (!) out into (_register_keygrab): here, shorter & sweeter.
602 (spi_controller_deregister_device_listener): remove.
603 (impl_register_mouse_listener): remove, no mouse listener
604 support in at-spi-1.0
606 * registryd/registry.c
607 (_device_event_controller_hook): kill.
608 (spi_registry_init): upd.
610 * registryd/deviceeventcontroller.c
611 (spi_device_event_controller_class_init): upd.
612 (spi_check_key_event): merge into.
613 (spi_device_event_controller_check_key_event):
614 here and kill strange static ev init, don't leak
615 the x_event - nor dynamicaly allocate it.
617 * registryd/registry-main.c (main): re-direct
618 timeout to remove strange vtable mess.
620 * registryd/deviceeventcontroller.c
621 (remove_listener_cb): impl.
622 (spi_controller_deregister_device_listener):
623 fix re-enterancy hazard.
625 2002-01-07 Michael Meeks <michael@ximian.com>
627 * registryd/deviceeventcontroller.c
628 (spi_device_event_controller_new): upd.
629 (impl_notify_listeners_sync): upd. debug.
630 (spi_notify_keylisteners): fix re-enterancy hazards,
631 prettify, remove O(n*n) iteration.
632 (spi_controller_grab_keyboard): fix iteration.
633 (spi_check_key_event): re-format to suit coding style.
634 Clean all the warnings - we're warning free.
636 * registryd/deviceeventcontroller.h:
637 * registryd/registry.h: make mutualy referential with
638 typesafe forward references instead of (!) void pointer
641 2002-01-11 Michael Meeks <michael@ximian.com>
643 * cspi/spi_accessible.c (role_names): add a role name
644 to sync this array with the enum; and make the regression
647 2002-01-10 Michael Meeks <michael@ximian.com>
649 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
650 allow expansion of enumeration & kill warning.
652 * test/test-simple.c (key_listener_cb): impl.
653 (test_keylisteners): impl.
655 * cspi/spi-listener.h: make listener signatures const
656 on the provided (const) events.
658 * test/keysynth-demo.c: upd. to const events.
660 * test/simple-at.c: ditto.
662 2002-01-11 Bill Haneman <bill.haneman@sun.com>
665 Rev the version to 0.5 (the previous tarball was named 0.4,
666 even though the micro number was 3), so we need to rev upwards
667 again for beta2/"desktop-alpha"
670 Checked in a demo script, which requires editing before use!
671 Proceed with caution.
674 Fixed typo in header which was redefining SPI_ACTION_CLASS.
676 * cspi/spi_accessible.c:
677 Add a couple of missing enum initializations, and fix some enum
680 * cspi/spi_registry.c:
681 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
683 * docs/reference/cspi/at-spi-cspi-sections.txt:
684 Remove/fix a couple of broken document references.
687 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
688 as Alt-Control to listen for commands, since on some systems
689 Control-Alt may already be grabbed.
691 2002-01-10 Bill Haneman <bill.haneman@sun.com>
694 Update version number to 0.4 for Beta2.
696 * libspi/accessible.c, libspi/accessible.h:
697 Expose spi_accessible_construct, to enable libgail-gnome
698 construction from spi_accessible subtype.
701 Workaround for bug in some non-gnome-compliant window managers
702 which made magnifier resize improperly.
704 2002-01-09 Bill Haneman <bill.haneman@sun.com>
706 * libspi/accessible.c: (spi_accessible_new) :
707 Move the test for SPI_IS_REMOTE_OBJECT to
708 spi_accessible_new_return, fixing a bug and compile time warning.
710 2002-01-08 Michael Meeks <michael@ximian.com>
712 * registryd/registry.c (parse_event_type): remove strndup.
714 * libspi/Makefile.am (libspi_la_SOURCES): remove
715 sources already included in the headers section.
717 * libspi/util.c: add.
719 * libspi/spi-private.h: add.
721 * registryd/registry.c: update to moved list iterators.
723 2002-01-05 Michael Meeks <michael@ximian.com>
725 * test/simple-at.c (main): upd. auto-module set to atk-bridge
727 * test/test-simple.c (main): ditto.
729 2002-01-04 Michael Meeks <michael@ximian.com>
731 * libspi/accessible.c (spi_accessible_new): remove 2nd,
734 * registryd/registry.c
735 (get_listener_list): impl.
736 (impl_accessibility_registry_register_global_event_listener):
737 re-impl. to simplify using ~, remove dodgy const cast off.
738 (parse_event_type): constify.
739 (impl_accessibility_registry_deregister_global_event_listener_all):
740 re-write, more efficiency and simplicity, kill re-enterancy
742 (compare_listener_corbaref, compare_corba_objects),
743 (compare_listener_quarks): define out.
744 (impl_accessibility_registry_deregister_global_event_listener):
745 re-write for effiency, and nail re-enterancy hazard.
746 (impl_accessibility_registry_get_desktop_list): impl.
747 (re_enterant_list_delete_link): impl.
748 (re_enterant_list_foreach): impl.
749 (remove_listener_cb): impl.
750 (_registry_notify_listeners): kill.
751 (notify_listeners_cb): impl.
753 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
754 (SPI_getDesktopList): impl.
756 * test/test-simple.c (test_desktop): test the methods.
758 2002-01-03 Michael Meeks <michael@ximian.com>
760 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
761 keystrings since we free them
762 (SPI_freeAccessibleKeySet): in here.
764 * libspi/accessible.c (spi_accessible_new): kill warning,
765 wonder what is going on with the constructor here.
767 2002-03-01 Bill Haneman <bill.haneman@sun.com>
769 * libspi/accessible.c (spi_accessible_new ()) :
770 Added check to see if AtkObject is an SpiRemoteObject before
771 creating an SpiAccessible.
773 2002-05-01 Bill Haneman <bill.haneman@sun.com>
775 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
776 Enable keygrabs using the Control modifier, now that they are
777 working properly (they were previously disabled).
780 Change the command keygrab for this demo to "Control+Alt", so as
781 to conflict with fewer other key commands on the system; this
782 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
784 Removed a pointlessly-chatty keylistener for unshifted keys
785 (shifted keys are still reported).
787 2002-02-01 Bill Haneman <bill.haneman@sun.com>
789 * libspi/remoteobject.h:
790 * libspi/remoteobject.c:
791 Added definitions for special AtkObject subtype, required for
792 support of remote components (specifically, used by BonoboControl
793 accessibility implementation).
795 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
797 * cspi/spi.h: synched relation types with ATK
799 * cspi/spi_accessible.c: Added implementations of
800 AcccessibleRelation_* methods
802 * idl/Accessibility_Relation.idl: added getRelationTypeName
803 method. Synched known relation types with ATK. Allowed for
804 relation type extension with the RELATION_EXTENDED type.
806 * libspi/relation.c: Provided implementations for
807 AccessibleRelation methods.
809 2002-01-01 Bill Haneman <bill.haneman@sun.com>
811 API tweaks for today's API 'freeze'.
814 Added placeholder functions to allow future compatible expansion
815 of the IDL interfaces.
817 * idl/Accessibility_Registry.idl:
818 Changed generateKeyEvent to generateKeyboardEvent. Changed
819 signature of this method to accept an optional keystring in
820 parameter (for complex text input synthesis) and changed use of
821 simple 'boolean' parameter in registerKeystrokeListener to a
822 struct, EventListenerMode.
824 * cspi/spi_accessible.c:
826 * cspi/spi_streamablecontent.c:
827 Added references to AccessibleStreamableContent interface, and
828 definition and implementation of AccessibleStreamableContent
831 * cspi/spi_registry.c:
833 Changed generateKeyEvent API to generateKeyboardEvent,
834 taking a new (optional) keystring parameter to support complex
839 Renamed directory (to better reflect its actual purpose, bridging
840 from at-spi to ATK). The .so module is also now named
843 * idl/Accessibility_Hypertext.idl:
844 * libspi/accessible.c:
845 * libspi/hypertext.h:
846 * libspi/hypertext.c:
847 Changed Accessibility_Hypertext to *not* derive from
850 * cspi/spi_registry.c:
851 Added list of legal event type names for 'window' events, which
852 completes the registry event API.
854 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
856 * at-bridge/bridge.c: Added registration for separate
857 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
858 signals. If either of the first two parameters to the generic
859 bridge signal handler are ints, they are passed on as event
860 details. This allows an AT to determine what text was inserted.
862 2001-12-21 Bill Haneman <bill.haneman@sun.com>
864 * registryd/deviceeventcontroller.c:
865 Fixed regressions in generateKeyEvent caused by the removal of
866 gdk_init from registryd; we now use pure X calls to connect to the
867 display, which makes sense because deviceeventcontroller already
868 uses a fair bit of X API (should eventually be migrated to a
869 'portability layer').
871 * registryd/desktop.c:
872 Fixed minor regression in spi_desktop_init, changed the way the
873 desktop name is being set to work with new spi_base API
874 (gobject-based, rather than AtkObject-based).
876 * registryd/Makefile.am:
877 Minor revision of makefile to use XTST_LIBS variable rather than
878 hard-wiring the Xtst LD_ADD element.
880 * test/keysynth-demo.c:
881 Tweaked an output message; added initialization of the
882 'keystrings' member of the "switch listener" key_set.
885 Squashed compile-time warning.
887 * libspi/accessible.c:
888 Cosmetic and formatting fixes, renamed a static method.
890 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
892 * libspi/accessible.c
894 * libspi/application.c
898 * libspi/editabletext.c
906 * registryd/desktop.c:
907 Changed SpiBase to contain a GObject pointer rather than an AtkObject
909 2001-12-17 Bill Haneman <bill.haneman@sun.com>
911 * idl/Accessibility_Registry.idl:
912 Added boolean member 'is_text' to DeviceEvent. This is for the
913 use of key events, and helps prevent ambiguity between composed
914 key strings and keysym names, since both may potentially be
915 returned in the 'event_string' member.
917 * at-bridge/bridge.c:
918 * registryd/deviceeventcontroller.c:
919 Use the 'is_text' member when notifying device event listeners.
920 Knon issue: composed characters are not dealt with correctly by
921 the global key listener implementation yet.
923 2001-12-17 Bill Haneman <bill.haneman@sun.com>
925 * at-bridge/bridge.c:
926 Namespaced local static methods to spi_atk_bridge_* where
927 previously named bridge_*, and spi_* elsewhere.
929 * at-bridge/bridge.c:
930 * cspi/bonobo/cspi-bonobo-listener.c:
931 Added demarshalling/conversion for string member of
932 Accessibility_DeviceEvent to AccessibleKeystroke.
934 * registryd/deviceeventcontroller.c:
935 Added code to fill the Accessibility_DeviceEvent key string value
936 member for global key events (i.e. from XGrabKey), to match
937 behavior of Accessibility_DeviceEvent from the toolkit key events
938 from the bridge. Fixed timestamp in global key event notifications.
941 Added printout of key event's string value to
942 report_ordinary_key_event, for demo/debugging purposes.
944 2001-12-15 Bill Haneman <bill.haneman@sun.com>
946 * idl/Accessibility_Registry.idl:
947 Removed Accessibility_KeyStroke structure in favor of generic
948 Accessibility_DeviceEvent structure.
949 Changed Accessibility_ControllerEventMask from a struct to an
952 * at-bridge/bridge.c:
953 Changed APIs to use DeviceEvent structure as above, and removed
954 bogus casting between these event structures.
956 * cspi/spi-listener.h:
957 Added keystring member of AccessibleKeystroke structure, to enable
958 matching on event "names" rather than only hardware codes and
962 Added keystrings member of AccessibleKeySet struct, to allow
963 matching on event names (as above).
964 Added declarations for SPI_createAccessibleKeySet and
965 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
966 event modmasks directly as unsigned ints rather than structs with
967 refcounts, in the DeviceEventController methods.
969 * cspi/spi_registry.c:
970 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
972 * cspi/spi-roletypes.h:
973 Added documentation of newly added SPI Roles.
975 * cspi/bonobo/cspi-bonobo-listener.c:
976 Changes in support of API changes above.
978 * libspi/accessible.c:
979 Converted APIs to use DeviceEvent structure (see IDL changes
982 * registryd/deviceeventcontroller.c:
983 Added DEControllerGrabMask structure to track keygrabs not only by
984 modmask but by keyset as well; this allows us to do "global"
985 (i.e. X) keygrabs on a per-key or keyset basis rather than always
986 grabbing on AnyKey and then filtering after-the-fact.
987 Bugfixes for event filtration mean that we don't get false matches
988 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
990 * registryd/deviceeventcontroller.c:
991 Namespaced a number of static methods to use spi_ prefix. Major
992 revision to internals of global (i.e. X) key grabs.
994 * registryd/deviceeventcontroller.h:
995 Removed keymask_list and added keygrabs_list to
996 SpiDeviceEventController struct.
999 Added use of SPI_createAccessibleKeySet API when creating a
1000 listener for only one key. Attach a listener to "shift spacebar
1001 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
1002 X key event names to SPI key event names, so that listeners are
1003 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
1005 * test/keysynth-demo.c:
1006 Changed (incorrect) use of X key event names (KeyPressed,
1007 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
1010 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1012 * libspi/accessible.c:
1013 Convert all AtkRole enumerations to Accessibility_Role enums when
1014 getting a role from an AtkObject.
1016 * cspi/spi_accessible.c:
1017 Complete the conversion of Accessibility_Role enums at runtime to
1018 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
1019 role enums correctly match those given in spi-roletypes.h.
1020 Re-synchronize the local names list for AccessibleRole_getName ().
1021 AccessibleRole_getName is now deprecated, since it duplicates the
1022 more reliable Accessible_getRoleName.
1023 Added some role types from Accessibility_Role.idl.
1025 * idl/Accessibility_Role.idl:
1026 Added some role types used by AtkRole.
1028 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1031 * cspi/spi_registry.c:
1033 * cspi/cspi-bonobo-listener.c:
1034 Namespaced all methods that did not begin with an "SPI_" or
1035 "Accessible" prefix to "SPI_".
1038 Homogenized internal function namespace to "cspi_" for statics.
1041 Patched tests to use the new CSPI API.
1043 * docs/reference/cspi/at-spi-cspi-sections.txt:
1044 Updated docs to reflect namespace changes, and added a number of
1045 methods to the documentation.
1047 * registryd/registry.c:
1048 Changed use of strings and string hashes in listener event
1049 matching and parse_event_string to use GQuark, which is guaranteed
1052 * registryd/registry.h:
1053 Squashed annoying warning.
1055 * idl/Accessibility_Role.idl:
1056 Extended range of available Accessibility_Role values.
1058 * cspi/spi_accessible.c:
1059 Re-ordered role names.
1061 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1063 * idl/Accessibility_Value.idl:
1064 Revert use of union back to CORBA_double, since the double type is
1065 more efficient and can contain the other types without loss of
1068 * idl/Accessibility_Accessible.idl:
1069 Added method Accessibility:Accessible:getRoleName, to complement
1070 Accessibility:Accessible:getRole.
1072 * cspi/spi_accessible.c:
1074 Added C binding for above, Accessible_getRoleName (), and changed
1075 signature of Accessible_getRole () to return an AccessibleRole.
1077 * cspi/spi-roletypes.h:
1078 Changed AccessibleRole_getName to return a char * instead of a
1079 const char *. This method is now at least temporarily deprecated
1080 in favor of asking Accessibles for their RoleNames directly.
1083 Revert to match Accessibility_Value.idl;
1087 Change signature of AccessibleValue methods to use double rather
1091 * cspi/spi_accessible.c:
1092 Changed Accessible_getRole to return an AccessibleRole enum rather
1093 than a UTF-8 string. The UTF-8 string can still be obtained via
1094 AccessibleRole_getName ().
1096 * test/test-simple.c:
1097 Add test_action. Small fixup to match API change to Accessible_getRole.
1100 Bugfix for get_action_from_servant ().
1102 2001-12-11 Michael Meeks <michael@ximian.com>
1104 * libspi/libspi.h: remove registry.h and
1105 desktop.h, deviceeventcontroller.h
1107 * libspi/Makefile.am: remove registry.[ch],
1108 desktop.[ch], deviceeventcontroller.[ch]
1110 * registryd/Makefile.am: add registry.[ch],
1111 desktop.[ch], rename registryd.c to registry-main.c.
1112 add deviceeventcontroller.[ch]
1114 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1117 Replace setenv() call with putenv ().
1119 * libspi/component.c:
1120 Bugfix in AccessibleComponent_getExtents (),
1123 2001-12-11 Michael Meeks <michael@ximian.com>
1125 * libspi/image.c (impl_getImageExtents): impl.
1126 (spi_image_class_init): upd.
1129 (AccessibleImage_getImageDescription): fix daft bug
1132 * test/test-simple.c (global_listener_cb): update
1133 to only quit if not --poke
1134 (main): catch --poke.
1135 (validate_accessible): upd. dumping, call test_image
1138 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1141 * idl/Accessibility.idl: update all IDL includes.
1143 * idl/*.idl - rename to namespace - this sucks, blame
1144 mjs' bad decision for oafd.
1146 * test/test-simple.c (create_test_window): add more tests.
1147 (create_tree): split this out.
1148 (validate_accessible): bugfix.
1150 2001-12-11 Michael Meeks <michael@ximian.com>
1152 * cspi/bonobo/cspi-bonobo-listener.c:
1153 (cspi_kestroke_listener_unref),
1154 (cspi_event_listener_unref): impl. undoing previous
1155 homenous environment - for Bill.
1157 * cspi/spi_table.c (long_seq_to_array): use
1160 * cspi/spi_main.c: split out all bonoboish bits into
1163 * cspi/spi-impl.h: upd. typedefs.
1165 * cspi/spi_registry.c: update to lowlevel API,
1166 return booleans to indicate success in some places.
1168 * cspi/spi_event.c: update to lowlevel API.
1170 * cspi/bonobo/Makefile.am: add.
1172 * cspi/bonobo/cspi-lowlevel.h: add
1174 * cspi/bonobo/cspi-bonobo.c: add
1176 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1178 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1179 (SUBDIRS): add bonobo, link in the libs.
1181 * cspi/spi-util.c: kill this file.
1183 * TODO: merge in my bits.
1185 2001-12-11 Michael Meeks <michael@ximian.com>
1187 * test/test-simple.c (test_value, test_table, main):
1188 remove unused variables causing warnings.
1190 * configure.in: cleanup checks - require gail.
1192 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1195 Changed Value interface to use SValue (scalars) rather than
1196 assuming all values are floats. This allows floats, doubles,
1197 longs, shorts, and unsigned values to be manipulated.
1198 Introduced Accessibility:SValue union.
1201 Updated to use new API above, and to work correctly with GValues
1202 of different types in AtkValue.
1205 Updated to use new API above. cspi's API is as yet unchanged.
1208 Updated the Value revision action item.
1210 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1212 * test/test-simple.c:
1213 Added test_table (GtkTreeView widget in test window to follow).
1214 Un-commented test_value, added GtkRange widget.
1215 Added GtkTreeView widget with GtkListStore. It passes regression
1216 test but leaks one SPI object for some reason.
1219 Fixed bug in impl__set_currentValue.
1221 2001-12-10 Michael Meeks <michael@ximian.com>
1223 * cspi/spi_text.c: audit for exception handling,
1224 tolerating NULL object references safely etc.
1226 * cspi/spi_value.c: ditto.
1228 * cspi/spi_table.c (AccessibleTable_getSummary),
1229 (AccessibleTable_getAccessibleAt),
1230 (AccessibleTable_getRowHeader),
1231 (AccessibleTable_getColumnHeader),
1232 (AccessibleTable_getCaption): fix bugs hidden by
1234 (long_seq_to_array): impl.
1235 (AccessibleTable_getSelectedRows),
1236 (AccessibleTable_getSelectedColumns): use it.
1238 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1241 Added a TODO list (rough and short for now).
1243 * cspi/spi_hyperlink.c:
1244 * cspi/spi_hypertext.c:
1245 Fixed macro name typos, and remove use of obsolete macro in
1246 AccessibleHyperlink_getLink.
1248 * cspi/spi_action.c:
1249 * cspi/spi_accessible.c:
1250 * cspi/spi_application.c:
1251 * cspi/spi_component.c:
1252 * cspi/spi_selection.c:
1255 Documentation fixes (removed return values from ref/unref methods).
1257 2001-12-10 Michael Meeks <michael@ximian.com>
1259 * cspi/spi_action.c: audit for exception handling,
1260 tolerating NULL object references safely etc.
1262 * cspi/spi_accessible.c: ditto.
1264 * cspi/spi_component.c: ditto.
1266 * cspi/spi_editabletext.c: ditto.
1268 * cspi/spi_hyperlink.c: ditto.
1270 * cspi/spi_hypertext.c: ditto.
1272 * cspi/spi_image.c: ditto.
1274 * cspi/spi_selection.c: ditto.
1276 2001-12-10 Michael Meeks <michael@ximian.com>
1278 * configure.in: use cspi/libspi.pc.in instead.
1280 * Makefile.am (pkgconfig_DATA): upd. to match.
1282 * test/simple-at.c (report_focus_event): kill hacks around
1283 bad return values, use putenv not setenv
1285 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
1286 fire ChildGone - I killed it.
1288 * libspi/component.c
1289 (impl_accessibility_component_get_extents): remove
1292 * idl/Accessible.idl: kill ChildGone exception.
1294 * cspi/*.[ch]: kill int return from ref / unref.
1296 * cspi/spi_main.c (cspi_object_add_check): fold into
1297 (cspi_object_add): here.
1299 * cspi/spi_component.c (AccessibleComponent_getExtents):
1300 handle exceptions elegantly.
1302 * cspi/spi-private.h (cspi_check_ev_return),
1303 (cspi_return_if_fail): impl.
1305 * cspi/spi_accessible.c: use extensively.
1306 (AccessibleStateSet_equals): add direct compare check.
1308 * cspi/spi_selection.c: tolerate NULL objs, and check
1309 exceptions before return.
1311 * cspi/spi-util.c (cspi_warn_ev): rename to
1312 (cspi_check_ev): this & don't pass ev in; no point.
1314 2001-12-10 Michael Meeks <michael@ximian.com>
1316 * test/test-simple.c: use putenv not setenv
1317 (get_environment_vars): more chatty if you're not using
1320 * test/simple-at.c: do the setenv so more people see the
1323 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1325 * libspi/registry.c:
1326 Changed check of CORBA_environment on notification to be a warning
1327 instead of an error for the moment, since we can recover from this
1328 error when caused by a queued notification from a dead app.
1331 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
1332 used by all current implementors of AtkValue), and coerce to
1333 CORBA_float. (Proper general case fix may require change to Value.idl).
1335 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1339 * cspi/spi_accessible.c:
1340 Documentation fixes: added user_data params to documentation for
1341 listeners and callbacks.
1343 * cspi/spi_accessible.c:
1344 Changed AccessibleStateSet_compare to return a
1345 StateSet rather than return the difference set into a third parameter.
1348 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1351 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
1352 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
1356 Remove subdirectory po from SUBDIRS for now.
1358 * at-bridge/bridge.c:
1359 Beefed up a couple of debug printouts.
1360 One-line fix for signal notification name formatting.
1362 * libspi/accessible.c:
1363 Added assertion to spi_accessible_new ().
1365 * libspi/application.c:
1366 Put #ifdef qualifiers around a printf.
1369 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
1371 * registryd/Makefile.am:
1373 Replaces use of XML_I18N_MERGE_SERVER_RULE with
1374 INTLTOOL_SERVER_RULE macro.
1377 Added an event listener for several ATK signals, for
1378 testing and debugging. Removed a few g_warnings.
1379 Added test output if focussed item implements the Value interface.
1381 * test/test-simple.c:
1382 Added test_value () function (known not to pass at the moment, so
1383 not actually called yet.
1385 2001-12-08 Michael Meeks <michael@ximian.com>
1387 * at-bridge/bridge.c (bridge_focus_tracker),
1388 (emit_eventv): fix the same ref. leak.
1389 (register_atk_event_listeners): don't leak.
1391 * cspi/spi-listener-impl.c (cspi_event): more
1392 protection from client code.
1394 * test/test-simple.c (test_desktop): unref the app.
1396 * test/Makefile.am: upd. TESTS.
1398 * at-bridge/bridge.c (bridge_exit_func): release the registry.
1400 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
1402 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
1404 * cspi/spi_registry.c: constify in strings.
1405 (deregisterGlobalEventListenerAll): don't release the ref.
1407 * cspi/spi.h: start removing redundant / conflicting
1408 gtkdoc comments, making the API readable at a glance :-)
1410 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
1412 * test/keysynth-demo.c (keysynth_exit, main): upd.
1414 * test/simple-at.c (main, simple_at_exit): upd.
1416 * test/test-simple.c (unutterable_horror): kill.
1417 (utterable_normal_derefs): kill.
1418 (main): upd & do a setenv before gtk_init, so that we
1419 can use memprof - and to save the pain of remembering
1420 this, if we're running under memprof - don't exit.
1422 * cspi/spi_main.c (SPI_exit): return exit status
1424 (SPI_event_quit): impl.
1425 (SPI_event_main): simplify.
1426 (cspi_is_gnome_app): kill.
1427 (SPI_init): kill isGNOMEapp arg.
1429 * at-bridge/bridge.c (register_atk_event_listeners):
1430 re-instate the unref.
1431 (bridge_exit_func): don't re-activate the registry,
1432 protect vs. theoretical re-entry, use the
1433 AT_BRIDGE_SHUTDOWN env. var to determine whether to
1434 assert a clean shutdown - for regression tests.
1436 2001-12-08 Abel Cheung <maddog@linux.org.hk>
1438 * configure.in: Comment out dummy i18n support for now,
1439 otherwise it fails to build.
1440 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
1441 EXTRA_DIST. They are missing in tarball.
1443 2001-12-07 Michael Meeks <michael@ximian.com>
1445 * util/magnifier.c: kill bonobo activation reg. race.
1447 * libspi/component.c
1448 (impl_accessibility_component_get_extents): make it match
1451 * libspi/registry.c (_registry_notify_listeners):
1452 re-remove X headers & reconcile conflicts.
1453 (spi_listener_struct_free): bad conflict resolve.
1454 (impl_accessibility_registry_register_application):
1455 more bad merging fixed.
1456 (impl_accessibility_registry_deregister_application): ditto.
1457 (spi_registry_new): ditto.
1458 (spi_registry_init): don't have an applications field.
1460 [ merge fixups2 branch to here ]
1461 2001-12-07 Michael Meeks <michael@ximian.com>
1463 * test/simple-at.c (report_focus_event),
1464 (report_focussed_accessible): remove g_warning debug.
1466 2001-12-07 Michael Meeks <michael@ximian.com>
1468 * test/test-simple.c (validate_tree): comment out some checks.
1469 (test_desktop): app now not registered idly - horay.
1471 2001-12-07 Michael Meeks <michael@ximian.com>
1473 * cspi/spi_registry.c
1474 (registerAccessibleKeystrokeListener): clean, stop it leaking
1475 great swathes of memory, and device event controller references.
1476 ensure we always pass valid sequences.
1477 (deregisterAccessibleKeystrokeListener): ditto.
1478 (generateKeyEvent): upd.
1480 * at-bridge/bridge.c (bridge_key_listener): handle
1481 registry dead exception gracefully.
1482 (bridge_focus_tracker, emit_eventv): free ev.
1484 * test/simple-at.c (report_focus_event): fix polarity.
1486 * libspi/application.c (notify_listeners): kill the ev
1487 argument, and make sure we init the ev we use.
1488 (spi_application_object_event_listener): split out a chunk
1489 (get_atk_object_ref): here & fixup.
1490 (reverse_lookup_name_for_toolkit_event): make const.
1491 (spi_application_toolkit_event_listener): fixup, kill leaks
1494 * at-bridge/bridge.c (register_atk_event_listeners):
1495 don't unref the noop object - causes grief.
1497 * libspi/registry.c: remove the X headers.
1498 turn off the debug churn.
1500 * libspi/accessible.c (spi_accessible_new_return): only
1501 release the ref if we are supposed to [doh]
1503 * test/simple-at.c (report_button_press, report_focus_event):
1504 guard vs. unexpected exit.
1506 * at-bridge/bridge.c (gtk_module_init): prune printf.
1507 (bridge_exit_func): fix app unref.
1509 * libspi/Makefile.am: don't install registry or desktop.h
1511 * libspi/*.h: update includes.
1513 * libspi/application.h: don't include ourself, or
1514 other redundant headers.
1516 2001-12-06 Michael Meeks <michael@ximian.com>
1518 * libspi/accessible.c
1519 (get_accessible_from_servant): impl.
1520 Upd. all CORBA impl.s to use it killing cut and paste.
1522 * cspi/spi_main.c (cspi_cleanup): guard vs. double
1524 (SPI_init): register atexit cleanup handler here.
1526 2001-12-06 Michael Meeks <michael@ximian.com>
1528 * at-bridge/bridge.c (gtk_module_init): g_error on
1529 activation exception
1531 2001-12-06 Michael Meeks <michael@ximian.com>
1533 * at-bridge/bridge.c (gtk_module_init): some sort of
1534 confusing merge clash - reverted.
1535 (bridge_idle_init): ditto.
1537 * test/test-simple.c (main, utterable_normal_derefs):
1538 merge from Bill - somehow not committed.
1540 2001-12-06 Michael Meeks <michael@ximian.com>
1542 * libspi/value.c (spi_value_class_init): upd.
1543 (spi_value_finalize): kill.
1545 * libspi/table.c (spi_table_finalize): kill.
1546 (spi_table_interface_new): upd.
1547 (spi_table_class_init): upd.
1548 (get_table_from_servant): impl.
1549 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1551 * libspi/selection.c (spi_selection_finalize): kill.
1552 (spi_selection_interface_new): upd.
1553 (spi_selection_class_init): upd.
1554 (get_selection_from_servant): impl.
1555 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1557 * libspi/relation.c (spi_relation_finalize): kill.
1558 (spi_relation_class_init, spi_relation_new): upd
1560 * libspi/image.c (spi_image_finalize): kill.
1561 (spi_image_class_init): upd.
1562 (spi_image_interface_new): upd.
1563 (get_image_from_servant): impl.
1564 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1566 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
1567 (spi_hyperlink_finalize): kill.
1568 (spi_hyperlink_new): upd.
1569 (get_hyperlink_from_servant): impl.
1570 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1572 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
1573 (spi_hypertext_finalize): kill.
1574 (spi_hypertext_class_init): upd.
1575 (get_hypertext_from_servant): impl.
1576 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1578 * libspi/editabletext.c (spi_editable_text_finalize): kill.
1579 (spi_editable_text_interface_new): upd.
1580 (get_editable_text_from_servant): impl.
1581 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1583 * libspi/text.c (get_text_from_servant): impl.
1584 All impls - update to use it killing more cut and paste,
1585 also fix bad string returns on duff args ( a somewhat
1586 impossible case to handle - but hey ).
1587 (spi_text_construct): impl.
1588 (spi_text_interface_new): upd.
1589 (spi_text_object_finalize): kill.
1591 * libspi/component.c
1592 (accessibility_component_object_finalize): kill.
1593 (spi_component_class_init): upd.
1594 (get_component_from_servant): impl. helper to kill cut & paste.
1595 (impl_accessibility_component_contains):
1596 (impl_accessibility_component_get_accessible_at_point):
1597 (impl_accessibility_component_get_position):
1598 (impl_accessibility_component_get_extents):
1599 (impl_accessibility_component_get_mdi_z_order):
1600 (impl_accessibility_component_get_layer):
1601 (spi_component_interface_new): upd.
1603 * libspi/action.c (spi_action_finalize): kill.
1604 (spi_action_class_init): upd. inherit from SpiObject.
1605 (spi_action_interface_new): upd.
1606 (get_action_from_servant): impl. helper to reduce cut & paste.
1607 (impl_getKeyBinding, impl_getName, impl_doAction),
1608 (impl_getDescription): Use it everywhere.
1610 * cspi/spi_main.c (get_live_refs): a pointer hash.
1611 (spi_object_hash, spi_object_equal): comment out.
1612 There are issues with CORBA object hashing that need
1615 * libspi/application.c (spi_application_init),
1616 (spi_application_new): upd.
1618 * libspi/accessible.c (spi_accessible_object_finalize): kill.
1619 (spi_accessible_class_init): upd.
1620 s/accessible/object/ in epv methods.
1622 2001-12-05 Bill Haneman <bill.haneman@sun.com>
1624 * at-bridge/bridge.c:
1625 Reorder the bridge initialization into the bridge gtk_module_init,
1626 an immediate call to bridge_register_app, and an idle_add for
1627 register_atk_event_listeners (the only code that *must* wait until
1628 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
1629 the activation, creates the application's Accessible object, and
1630 queues the bridge_idle_init function. Restored call to
1631 Accessibility_Registry_deregisterApplication().
1632 Prior to making this call we obtain a new reference to the
1633 registry, which is a temporary hack that helps us handle apps that
1634 shut down the bonobo mainloop before we get there.
1636 * libspi/registry.c:
1637 Fix string leakage in debug block, and don't segv if a an app
1638 dies before its event notifications have been propagated.
1641 Modify cspi_check_ev() to call g_warning() rather than g_error(),
1642 as stopgap measure until we get proper exception handling when
1643 objects die during or before interrogation.
1647 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
1648 Also changed default value of is_gnome_app to TRUE.
1651 * test/keysynth-demo.c:
1652 Changed use of SPI_init and SPI_event_main to reflect API change above.
1655 Made report_focus_event check the warning value from getName
1656 before reporting on focussed accessible; simplifies handling of
1657 notifications from dead objects.
1659 * test/test-simple.c: (Changes not in this patch since source is
1662 2001-12-05 Michael Meeks <michael@ximian.com>
1664 * registryd/registryd.c (main): protect against
1665 bonobo-activation startup race condition.
1667 * cspi/spi_main.c (cspi_object_add_check): cope
1668 with the exception elegantly.
1670 * idl/Accessible.idl: decl. ChildGone
1672 * libspi/desktop.c (spi_desktop_dispose): impl.
1673 (spi_desktop_class_init): upd.
1674 (spi_desktop_add_application),
1675 (spi_desktop_remove_application),
1676 (abnormal_application_termination): impl.
1677 (impl_desktop_get_child_at_index): re-impl.
1680 (impl_accessibility_registry_deregister_application),
1681 (impl_accessibility_registry_register_application):
1682 kill excessive debug clutter.
1684 * test/test-simple.c (test_misc): test some NULL
1685 tolerance. (main): upd.
1687 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
1688 implements no interfaces - so let's not crash.
1690 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
1692 * libspi/accessible.c (spi_accessible_new_return): impl.
1693 helper to calm the cut and paste, to cope with
1694 NULL AtkObjects effectively and efficiently, and to kill
1695 the referencing bugs.
1697 * libspi/table.c (impl_getAccessibleAt),
1698 (impl_getRowHeader, impl_getColumnHeader): upd.
1700 * libspi/hyperlink.c (impl_getObject): upd.
1702 * libspi/accessible.c
1703 (impl_accessibility_accessible_get_child_at_index): upd.
1705 * libspi/component.c
1706 (impl_accessibility_component_get_accessible_at_point): upd.
1708 * test/test-simple.c (test_editable_text, test_text): impl.
1711 * cspi/spi_editabletext.c
1712 (AccessibleEditableText_insertText): constify.
1714 * test/test-simple.c (focus_me): make more robust.
1716 * libspi/accessible.c: remove some printfs in methods that
1717 we test and work fine, so we can get a clean tree dump.
1719 * test/test-simple.c (validate_accessible),
1720 (validate_tree): make tree dumping pretty too.
1722 * at-bridge/bridge.c (bridge_signal_listener): upd. so
1723 it builds without debug on.
1725 * test/test-simple.c (validate_accessible): fix the most
1728 * cspi/spi_main.c (spi_object_release): leave the nicely
1729 blanked memory around if in debug mode.
1731 * cspi/spi-listener-impl.c (cspi_event): use add_check.
1733 [committed to fixups2]
1734 2001-12-05 Michael Meeks <michael@ximian.com>
1736 * libspi/editabletext.c
1737 (spi_editable_text_class_init): g_type_class_peek_parent,
1738 not interface peek - so we finalize cleanly.
1740 * libspi/accessible.c (spi_accessible_new): kill debug.
1742 * test/test-simple.c (validate_accessible): fix ref.
1743 leak, print strings before freeing them; sigh, comment a
1744 chunk out due to strangeness.
1745 (validate_tree): unref the child after use.
1747 * cspi/spi_component.c (AccessibleComponent_getLayer):
1748 add missing break statement, switch on zlayer not the
1749 uninitialized retval.
1751 * cspi/spi_main.c (cspi_object_add): add assert, local ref
1752 before (possibly re-entering) remote unref.
1754 * test/simple-at.c (main): unref the desktop.
1756 * cspi/spi_accessible.c (cspi_accessible_is_a): move
1759 * cspi/spi_main.c (cspi_accessible_is_a): here to
1760 isolate bonobo API usage more.
1762 * libspi/registry.c (impl_accessibility_registry_register_application):
1763 prune bogus comment.
1765 2001-12-04 Michael Meeks <michael@ximian.com>
1767 * test/test-simple.c (validate_tree): upd.
1768 IndexInParent check to make it more lucid.
1769 (validate_accessible): dump the tree.
1771 * libspi/accessible.c (de_register_public_ref),
1772 (get_public_refs): impl.
1773 (spi_accessible_new): make more efficient & intuitive.
1774 Now IndexInParent check works.
1776 2001-12-04 Michael Meeks <michael@ximian.com>
1778 * cspi/spi-util.h: remove.
1780 * cspi/spi.h: move SPI_freeString here
1782 * libspi/component.c (impl_accessibility_component_get_layer):
1784 (impl_accessibility_component_get_mdi_z_order): ditto,
1785 return -1 on error - is this ok ?
1787 * test/test-simple.c (test_application): impl.
1789 * cspi/spi_accessible.c (Accessible_getApplication),
1790 (Accessible_isApplication): impl.
1792 * libspi/registry.c (spi_listener_struct_free): release
1793 the CORBA reference too.
1795 * libspi/accessible.c
1796 (impl_accessibility_accessible_get_parent): fix ref leak.
1798 * libspi/registry.c (spi_registry_new): make the registry
1799 immortal - we don't want it to go away ever.
1801 * libspi/application.c
1802 (spi_accessible_application_finalize): impl. cleanup.
1804 * cspi/spi_registry.c
1805 (deregisterGlobalEventListenerAll),
1806 (deregisterGlobalEventListener),
1807 (deregisterAccessibleKeystrokeListener): fix ref leak.
1809 * cspi/spi_main.c (SPI_init): remove redundant ref.
1811 * test/test-simple.c (unutterable_horror): impl. to force a
1816 (impl_accessibility_registry_deregister_application): release
1817 the application when we de-register it.
1819 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1820 until we have the infastructure to get it right.
1822 2001-12-03 Michael Meeks <michael@ximian.com>
1824 * libspi/Makefile.am: only build eventlistener.[ch]
1826 * libspi/accessible.c
1827 (impl_accessibility_accessible_get_child_at_index): don't leak.
1829 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1830 before we hit the idle handler.
1832 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1833 debugging than exit.
1835 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1837 * libspi/listener.c (impl_notify_event): check source
1838 not NIL before unref.
1840 * libspi/registry.c (impl_registry_notify_event): ditto.
1842 * libspi/eventlistener.c
1843 (impl_accessible_event_notify_event): unref the source.
1845 * libspi/accessibleeventlistener.c
1846 (impl_accessible_event_notify_event): unref the source.
1848 * idl/Event.idl: remove 'hash_id' attribute - of no
1851 * libspi/application.c (notify_listeners): upd list
1853 (spi_application_object_event_listener),
1854 (spi_application_toolkit_event_listener): upd to do correct
1858 (_registry_notify_listeners): update.
1859 (parse_event_type): this method also leaks like a sieve.
1860 (impl_accessibility_registry_deregister_global_event_listener):
1861 fix ETYPE_WINDOW case.
1863 * libspi/application.c
1864 (impl_accessibility_application_register_object_event_listener):
1867 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1869 * libspi/hypertext.c (impl_getLink): ditto.
1871 * cspi/spi_main.c (cspi_object_add): remove
1872 bogus CORBA_Object_duplicate.
1874 * cspi/spi-listener-impl.c (cspi_event): dup/ref
1877 * cspi/spi_accessible.c
1878 (Accessible_getRelationSet): fix leak / referencing issue.
1880 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1881 (cspi_object_add, cspi_object_unref): upd.
1882 (spi_object_release, get_live_refs): impl.
1883 (cspi_cleanup): simplify.
1885 * *.[ch]: s/boolean/SpiBoolean/
1887 * cspi/spi_accessible.c (role_names): actualy order so it
1888 corresponds with the enum !
1890 * test/test-simple.c (test_roles): check some role strings
1891 vs. enums to detect offset errors.
1893 2001-12-01 Michael Meeks <michael@ximian.com>
1895 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1897 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1899 (Accessible_getChildAtIndex): use cspi_add_check so we
1900 check the ev before using a (possibly) invalid value.
1902 * libspi/accessible.c
1903 (impl_accessibility_accessible_get_parent): don't segv
1906 * at-bridge/bridge.c (gtk_module_init): upd.
1907 (bridge_property_event_listener): don't leak strings
1909 (bridge_state_event_listener),
1910 (bridge_property_event_listener): don't use a static
1911 buffer in case of recursive event emission &
1912 re-enterancy - split out the swathe of cut and paste
1914 (emit_eventv): and fix 2 ref leaks here & comply to the
1916 (bridge_register_app): rename to
1917 (bridge_idle_init): this and kill arg parsing, split
1918 various inits & bonobo-activation registration to module
1919 init time, kill referencing error.
1920 (bridge_exit_func): fix the same leak.
1921 (bridge_focus_tracker): don't leak event structures
1923 (bridge_signal_listener): more leakage and cut & paste
1925 (bridge_key_listener): return the result - FIXME is
1926 this polarity correct ?
1927 (accessibility_keystroke_from_atk_key_event): rename
1928 (accessibility_init_keystroke_from_atk_key_event): and stop
1930 (gtk_module_init): return a value - not that it is checked by
1932 (bridge_key_listener): register my horror at casting between
1933 IDL defined structs.
1934 (bridge_get_registry): kill - not used.
1936 * cspi/spi_accessible.c (Accessible_getRole): make return const.
1938 * test/test-simple.c (test_roles): impl.
1939 (test_desktop, validate_accessible, validate_tree): impl.
1941 * cspi/spi_accessible.c (role_names): fixup bogus
1942 MAX_ROLES setup, make constants const for efficient linkage
1943 (AccessibleRole_getName): conform to coding style, make
1946 2001-11-30 Michael Meeks <michael@ximian.com>
1948 * cspi/spi.h: add missing prototype.
1950 * libspi/registry.c (spi_listener_struct_new): fix sig.
1952 * test/Makefile.am: add test-simple
1954 * test/test-simple.c: add
1956 * test/test.sh: add.
1958 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1960 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1961 do it straight - since otherwise we often get an activation race.
1963 [ work before Bill duplicated a chunk of it ... ]
1964 2001-11-30 Michael Meeks <michael@ximian.com>
1966 * libspi/keystrokelistener.c
1967 (spi_keystroke_listener_class_init): fixup arg
1970 * libspi/eventlistener.c
1971 (spi_event_listener_class_init): ditto.
1973 * tests/test.sh: add.
1975 * cspi/spi-listener-impl.h: update macros.
1977 * cspi/spi-listener-impl.c
1978 (cspi_event_listener_remove_callback): add
1979 correct pre-conditions.
1981 * cspi/spi_main.c (SPI_exit): guard vs. double
1982 exits, exit the mainloop nicely.
1983 (SPI_event_main): make more sense.
1984 (SPI_init): move the atexit evilness here so we
1985 always do it (yuck).
1986 (SPI_event_main): upd.
1988 * test/simple-at.c: update for listener changes.
1990 * registryd/registryd.c (main): prune kruft.
1992 * libspi/libspi.h: upd.
1994 * libspi/eventlistener.[ch]: rename broken macros.
1996 * libspi/accessibleeventlistener.[ch]: remove.
1998 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
2000 * test/test-simple.c: Add - automated tests.
2002 * cspi/spi-listener-impl.c (cspi_event),
2003 (cspi_key_event): add user_data to invoke.
2004 (cspi_keystroke_listener_finalize): impl.
2005 (cspi_keystroke_listener_class_init): upd.
2008 (createAccessibleEventListener),
2009 (AccessibleEventListener_addCallback),
2010 (createAccessibleKeystrokeListener),
2011 (AccessibleKeystrokeListener_addCallback): upd.
2013 * libspi/deviceeventcontroller.c
2014 (spi_device_event_controller_check_key_event): add public proto.
2017 (impl_accessibility_registry_deregister_global_event_listener):
2018 always init listeners.
2019 (_registry_notify_listeners): yes it is.
2021 * cspi/spi-listener-impl.c (cspi_key_event):
2023 (cspi_event_listener_finalize): impl.
2024 (cspi_event_listener_class_init): hook up.
2025 (event_handler_new, event_handler_free),
2026 (event_list_remove_by_callback): impl.
2027 (cspi_event_listener_remove_callback),
2028 (cspi_keystroke_listener_remove_callback),
2029 (cspi_keystroke_listener_add_callback),
2030 (cspi_event_listener_add_callback): upd.
2032 * libspi/keystrokelistener.c
2033 (keystroke_listener_object_finalize): kill
2034 (spi_keystroke_listener_class_init): upd.
2035 (spi_keystroke_listener_add_callback),
2036 (spi_keystroke_listener_remove_callback): kill,
2038 (impl_key_event): prune drasticaly.
2040 * libspi/eventlistener.c
2041 (spi_event_listener_add_callback),
2042 (spi_event_listener_remove_callback): kill, use
2044 (impl_accessible_event_notify_event): upd.
2045 (spi_event_listener_object_finalize): remove.
2047 * libspi/Makefile.am: use eventlistener.[ch]
2049 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2051 * libspi/registry.c (_registry_notify_listeners):
2052 Changed listener loop iteration to use preferred convention.
2053 Got rid of string memory leaks caused be calling g_strconcat
2054 inside function calls.
2056 * libspi/registry.c (parse_event_type):
2057 Stopped g_strconcat memory leaks, free the g_strsplit return,
2058 g_strdup the split pieces when used, etc.
2060 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2063 Change method 'compare' to return a 'difference set' rather than
2064 taking a StateSet as an out parameter (more Java-friendly).
2066 * idl/Accessible.idl:
2067 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2069 * idl/Component.idl:
2071 Changed methods 'getExtents' and 'getImageExtents' in these
2072 interfaces to return a BoundingBox structure.
2073 (getPosition and getSize are redundant and possibly should be
2074 removed, rather than creating a corresponding Point struct.)
2076 * cspi/spi_component.c:
2077 Modify implementation of getExtents to reflect the above IDL
2082 Add (missing) AccessibleImage_getExtents () API.
2084 * docs/reference/cspi/at-spi-cspi-sections.txt:
2085 Added AccessibleImage_getImageExtents () to docs.
2087 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2089 * idl/Component.idl:
2090 Added two methods, getLayer () and getMDIZOrder (), to reflect
2091 the new ATK methods atk_object_get_layer and
2092 atk_object_get_mdi_z_order. (Which arguably should be part of the
2093 AtkComponent API and AtkObject). Also added an enum,
2094 ComponentLayer, for the first method's return value.
2096 * libspi/component.c:
2097 Added implementations for these methods.
2099 * cspi/spi_component.c:
2101 Added cspi binding methods for above,
2102 AccessibleComponent_getLayer() and
2103 AccessibleComponent_getMDIZOrder().
2104 Added cspi enum 'AccessibleComponentLayer'.
2106 * docs/reference/cspi/at-spi-cspi-sections.txt:
2107 Added above methods to docs.
2111 Changed typedef for 'boolean' type (and all references to it) to
2112 SPIBoolean, to avoid keyword clashes with C++.
2115 Changed usages of 'boolean' to SPIBoolean.
2117 * test/keysynth-demo.c:
2118 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2119 app), except where SPIBoolean is required by the callbacks API.
2121 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2123 * cspi/spi_registry.c:
2124 Removed obsolete X event loop for passive keygrabs (which now
2127 * registryd/registryd.c:
2128 Removed unnecessary call to gdk_init() [cruft]. This also allows
2129 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2132 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2134 * docs/reference/cspi:
2135 Included docs for SPI_freeString in generated documentation.
2138 Renamed spi_freeString to SPI_freeString, for consistency. Added
2139 documentation for this function.
2142 Renamed spi_freeString to SPI_freeString, for consistency.
2143 Removed obsolete method declaration string_from_corba_string.
2145 * test/keysynth-demo.c:
2146 Small tweak to comments.
2149 Stopped leaking the strings returned from CSPI.
2151 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2153 Merged Michael's branch (see his ChangeLog entries below).
2155 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2156 bridge is alive, release on exit.
2158 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2159 Fix type check macro.
2162 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2165 Added is_gnome_app static, and method cspi_is_gnome_app(),
2166 so we can call the appropriate shutdown routine at exit in SPI_exit.
2168 * cspi/spi_main.c (cspi_object_ref):
2169 Duplicate the corba object passed in, since we're keeping it around.
2171 * cspi/SPI_exit.c, cspi_cleanup:
2172 Moved the releasing of the live refs to its own function, so we
2173 can put it in g_atexit (). Call the appropriate shutdown API
2174 depending on whethe calling client is a gnome app or not
2175 (bonobo_main_quit or CORBA_ORB_shutdown).
2177 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2178 Unref the listener when this method is called, after
2179 deregistration. Updated the API docs to note this behavior.
2181 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2182 Bugfixes: Ref the bonobo object when returning a parent or child
2183 reference, or an AccessibleRelation. Generally made sure
2184 BonoboObject refcount is incremented whenever we return an
2187 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2188 Fixed typo/bug in signal declaration.
2190 * libspi/accessibleeventlistener.h:
2193 * libspi/application.c (spi_application_new):
2194 Fixed leak in initialization.
2197 Remembered to increment bonobo-object refcount when returning
2198 children (applications) from desktop object.
2199 Added (empty) finalize method.
2201 * libspi/deviceeventcontroller.c:
2202 Hold a ref to listeners inside DEControllerKeyListeners.
2203 Added dec_key_listener_free() method. Use prepend instead of
2204 append in key_listener list. Fixed some refcount madness and
2205 leaks in the listener registration/deregistration - deregistration
2206 now calls dec_key_listener_free() on listeners, and on the
2207 temporarily constructed dec_key_listener() used to perform the search/match.
2209 * libspi/hypertext.c (spi_hypertest_finalize):
2210 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2211 class. Also fixed spi_hypertext_interface_new() and
2212 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2214 * libspi/hypertext.h:
2215 Removed pointless and duplicate AtkObject pointer from
2218 * libspi/keystrokelistener.c:
2219 Fixed incorrect type of keystroke_listener_parent_class,
2220 renamed keystroke_listener_object_finalize to
2221 spi_keystroke_listener_object_finalize.
2222 Fixed typo in signal declaration
2223 (spi_keystroke_listener_class_init).
2225 * libspi/registry.c:
2226 Added funcsions spi_listener_struct_new() and
2227 spi_listener_struct_free() to help with memory management issues.
2228 We also now use these methods instead of gnew + poking stuff into
2229 the struct, and to decrement listener counts/free the listeners
2230 when deregistering them.
2231 Fix more refcount bugs in getDesktop() and
2232 getDeviceEventController().
2235 De-ref the desktop after enumerating the applications. Explicitly
2236 decrement the refcounts on the created listeners on exit (using
2237 _unref for keystroke listeners, and via the
2238 deregisterGlobalEventListenerAll command for other event
2241 2001-11-27 Michael Meeks <michael@ximian.com>
2243 * cspi/spi-listener.h: fixup enum.
2245 2001-11-27 Michael Meeks <michael@ximian.com>
2247 * cspi/spi-listener-impl.c (cspi_event_listener_new),
2248 (cspi_keystroke_listener_new): Use the cspi variants.
2250 2001-11-26 Michael Meeks <michael@ximian.com>
2252 * test/keysynth-demo.c: fix 2 compile warnings, missing
2255 * test/simple-at.c (report_focussed_accessible),
2256 (report_focus_event, report_button_press),
2257 (check_property_change, is_command_key),
2258 (report_ordinary_key_event, report_command_key_event): upd.
2260 * util/mag_client.h: include pre-requisites.
2262 * libspi/accessibleeventlistener.c
2263 (spi_event_listener_object_finalize): free any lingering
2266 * libspi/keystrokelistener.c
2267 (keystroke_listener_object_finalize): ditto.
2269 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
2270 callbacks, with cspi types.
2272 * cspi/spi_event.c (createAccessibleEventListener): chain to
2273 (AccessibleEventListener_addCallback): here.
2274 (createAccessibleKeystrokeListener): chain to
2275 (AccessibleKeystrokeListener_addCallback): here.
2277 * libspi/keystrokelistener.c
2278 (spi_keystroke_listener_class_init): add signal.
2279 (impl_key_event): emit the event.
2280 (boolean_handled_accumulator): impl.
2281 (marshal_BOOLEAN__POINTER): add, gack.
2283 * libspi/accessibleeventlistener.c
2284 (spi_event_listener_class_init): add signal.
2285 (impl_accessible_event_notify_event): emit the signal &
2286 make the loop efficient.
2287 (spi_event_listener_add_callback): prepend the callback.
2289 * libspi/accessibleeventlistener.h: add an 'event' signal,
2290 decl type on callback.
2292 * libspi/keystrokelistener.h: ditto.
2294 * cspi/spi-listener.h: make methods typesafe and
2295 make them use the new event typedefs.
2297 * test/simple-at.c (report_focussed_accessible):
2298 include mag_client.h
2299 Use *(void *)text_interface not the other thing.
2301 * configure.in: add gtk to registryd bits - since we use
2304 * util/magnifier.c: include libbonobo.h
2306 2001-11-25 Bill Haneman <bill.haneman@sun.com>
2308 * test/keysynth-demo.c:
2309 Turned this into a simple scanning keyboard, to demonstrate the
2310 use of g_timeout_add () as a means of creating timers for
2311 scanning, and the use of GtkStyle for visually indicating when
2312 virtual keyboard elements are selected.
2314 keysynth-demo now listens to any keyboard keys with zero-valued
2315 keycodes (i.e. 'unused' keys) and interprets them as
2318 Reworked the shiftlatch code so that shift-down state isn't held
2319 for long periods (it's only synthesized immediately prior to
2320 the keysynth event it's modifying). Note that shiftlatch in this
2321 demo is a convenience, not intended to take the place of AccessX
2322 which is the better choice for getting 'sticky' modifier keys.
2324 * libspi/deviceeventcontroller.c:
2325 * at-bridge/bridge.c:
2326 * cspi/spi_registry.c:
2327 Removed some debug print stuff, and put other verbosity in #ifdef
2332 Implemented some more of the magnifier IDL for the simple
2333 magnifier: namely, getZoomRegionParams.
2334 Added mag_x and mag_y members to MagnifierData struct, aid of this
2336 Added GtkWindow::realize signal handler to magnifier, to keep it
2337 from receiving keyboard focus from the WM.
2339 2001-11-23 Mark McLoughlin <mark@skynet.ie>
2341 * cspi/spi-private.h: my guess at what michael forgot
2342 before he ran off to NZ :-)
2344 2001-11-23 Michael Meeks <michael@ximian.com>
2346 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
2347 comment out non existant method invoke so we link.
2349 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
2350 use bonobo_exception_get_text for more friendly warnings.
2352 * cspi/spi.c (Obj_Add): move into spi_main & rename
2353 spi_object_add; kill spi.c
2355 * cspi/spi_registry.c
2356 (deregisterGlobalEventListener),
2357 (deregisterGlobalEventListenerAll),
2358 (registerGlobalEventListener): fix exception leaks.
2360 * cspi/spi_main.c (spi_exception): impl. helper, so we
2361 don't leak exceptions.
2363 * cspi/spi_selection.c
2364 (AccessibleSelection_deselectSelectedChild): return the
2367 * cspi/spi_main.c (spi_ev): impl; hack - gack.
2368 (spi_registry): ditto.
2369 (SPI_init): guard against double inits.
2371 * cspi/*.c: use spi_ev (), and spi_registry () where
2372 appropriate - a temporary hack until we have something
2373 better. Use spi_object_add
2375 2001-11-22 Michael Meeks <michael@ximian.com>
2377 * cspi/Makefile.am: re organise, install the headers.
2379 * cspi/*.h: add G_BEGIN/END_DECLS
2381 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2384 Added non-preemptive keylistener for key events with no modifiers
2385 and shift-only modifier.
2387 * libspi/keystrokelistener.c:
2388 Removed some verbose diagnostics printout.
2390 * cspi/spi_registry.c:
2391 Fixed a bug that caused all key listeners to be registered as
2394 * libspi/deviceeventcontroller.c:
2395 Fixed bug that caused XGrabKey (preemptive key grab) to be called
2396 for non-preemptive key masks.
2399 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2401 * docs/reference/idl/at-spi-idl-docs.sgml:
2402 * docs/reference/idl/at-spi-idl-sections.txt:
2403 * docs/reference/idl/at-spi-idl-overrides.txt:
2404 Added missing files.
2406 * docs/reference/Makefile.am:
2407 removed idl from SUBDIRS until we can figure a way to get gtk-doc
2408 to scan the IDL files :-(
2413 Added .cvsignore files.
2415 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2417 * libspi/deviceeventcontroller.c:
2418 * libspi/keystrokelistener.c:
2420 * cspi/spi_registry.c:
2421 Added filters for KeySets, KeyEventSeq, and event types to key
2422 event dispatching, so listeners should only receive those events
2423 that they requested :-)
2425 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2430 * docs/reference:Makefile.am:
2431 * docs/reference/cspi:
2432 * docs/reference/cspi:Makefile.am:
2433 * docs/reference/cspi:tmpl:
2434 * docs/reference/cspi:tmpl:*.sgml:
2435 * docs/reference/idl:
2436 * docs/reference/idl:Makefile.am:
2437 * docs/reference/idl:at-spi-idl-sections.txt:
2438 * docs/reference/idl:at-spi-idl-docs.sgml:
2439 * docs/reference/idl:tmpl:
2440 * docs/reference/idl:tmpl:*.sgml:
2442 Restructured docs directory to allow separate 'reference' docs
2443 section, and forked idl and cspi docs. Added the sgml template
2444 files to CVS. Added the first sections/structural sgml for the
2447 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
2449 * configure.in, libspi/Makefile.am: find libXtst.
2451 2001-11-21 Michael Meeks <michael@ximian.com>
2453 * test/accessx-gui.c: s/spi_value/value/ - doh.
2455 * libspi/base.[ch]: add.
2457 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2459 * idl/Accessible.idl:
2460 * idl/Application.idl:
2463 Started gtk-doc cleanup on IDL.
2465 * libspi/deviceeventcontroller.c:
2466 Added and connected non-preemptive key notification from the
2467 toolkits (in addition to the pre-emptive support from XServer
2468 which we had before, but which causes 'focus flashing'). Filters
2469 are presently limited to key modifiers and global/non-global,
2470 KeySets are presently ignored, as are KeyEvent masks.
2472 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
2473 structs into the persistant structure rather than just storing
2474 pointers to things that might not persist across servant
2477 The XGrabKey call now does async keygrabs, because synchronous
2478 ones were deadlocking with GDK_event code in a very nasty way.
2480 Added boolean to internal method notify_keylisteners, to indicate
2481 whether the event came from the 'toolkit source' or the 'global
2482 (XServer) source' - this is used in the notification process to
2483 determine which listeners to send the event to.
2485 deviceeventcontroller.c is now warning-free.
2487 * libspi/registry.c:
2488 Fixed regression in application de-registration.
2489 Also fixed some really brain-dead weirdness having to do with
2490 event dispatching - event structs are now duplicated before being
2491 re-marshalled in the dispatch to listeners. This also fixes a
2492 Solaris build problem.
2495 2001-20-11 Michael Meeks <michael@ximian.com>
2498 (impl_accessibility_registry_deregister_global_event_listener):
2501 * libspi/deviceeventcontroller.c
2502 (spi_device_event_controller_check_key_event): return
2503 FALSE on no virtual method.
2505 * libspi/*..h: make includes work on a correctly pathed install.
2507 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
2509 * libspi/application.h: kill unused ( and whacked out )
2510 gboolean *spi_application_set_id (AtkObject *app, long id);
2512 2001-20-11 Michael Meeks <michael@ximian.com>
2514 * libspi/*.[ch]: further convert to bonobo's type func
2515 macros, remove redundnant casts etc.
2517 * libspi/text.c s/accessibility_text/spi_text/g,
2518 re-order to de-cruft.
2520 * libspi/hypertext.c: re-order to kill a huge slew
2521 of redundant forward decls.
2523 * libspi/relation.c: ditto.
2525 * libspi/image.c: ditto.
2527 * */.cvsignore: update
2529 2001-20-11 Michael Meeks <michael@ximian.com>
2531 * libspi/deviceeventcontroller.c
2532 (_controller_register_with_devices): use g_getenv,
2533 kill stdlib.h include.
2535 * libspi/keystrokelistener.c
2536 (spi_keystroke_listener_get_type): kill
2537 (spi_keystroke_listener_class_init),
2538 (spi_keystroke_listener_init): rename to this.
2540 * libspi/text.c (impl_getAttributes): fix warning / bug.
2542 * libspi/*.[ch]: more headers, includes and over commenting.
2544 2001-20-11 Michael Meeks <michael@ximian.com>
2546 * libspi/*.[ch]: fixup headers, includes and over commenting.
2548 * libspi/image.c (impl__get_imageDescription): const
2549 correctness warning fix. remove redundant casting.
2551 * libspi/table.c (impl_getRowDescription): ditto.
2552 (impl_getColumnDescription): ditto.
2554 * libspi/libspi.h: add.
2556 2001-19-11 Michael Meeks <michael@ximian.com>
2558 * libspi/editabletext.c (impl_setAttributes): fix warnings.
2560 * libspi/component.c (accessibility_component_get_type):
2561 rename to (spi_component_get_type): and macroify.
2562 (accessibility_component_init): rename to
2563 (spi_component_init): this
2564 (accessibility_component_class_init): rename to
2565 (spi_component_class_init): this
2567 * libspi/action.c (spi_action_get_type): kill, use the macro.
2569 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
2572 * libspi/application.c (spi_application_object_event_listener),
2573 (impl_accessibility_application_register_object_event_listener):
2574 warning fixes / const understanding updates.
2576 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
2579 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2581 * libspi/spi_accessible.c: Added docs and C bindings for
2582 AccessibleStateSet. (No implementations yet). Documentation
2583 coverage for C bindings now 100%. Made docs for event listeners
2588 boolean notifyListenersSync (in DeviceEventListener listener,
2589 in DeviceEvent event);
2591 oneway void notifyListenersAsync (in DeviceEventListener listener,
2592 in DeviceEvent event);
2594 Added DeviceEventListener and DeviceEvent structs (may deprecate
2595 KeyStroke and KeystrokeListener in favor of this generic
2596 event/listener framework for devices).
2598 * libspi/deviceeventcontroller.c:
2600 Changed some key listener code to take masks, etc., and paved the
2601 way for integration of toolkit/non-preemptive key events. Changed
2602 signatures of some internal methods.
2604 * at-bridge/bridge.c:
2605 Fixed regression connecting to interface signals, apparently
2606 caused by GTK+ changes.
2608 Added an internal bridge_state_listener to deal with
2609 property-change:accessible-state signals.
2611 Changed the key_listeners GList to store structs (including masks,
2612 etc.) instead of just CORBA_Objects (required for full
2613 implementation of key listener API).
2615 Connected the bridge to all currently supported Atk signals.
2616 Events now supported:
2617 object:property-change
2618 object:property-change:accessible-name
2619 object:property-change:accessible-state
2620 object:property-change:accessible-description
2621 object:property-change:accessible-parent
2622 object:property-change:accessible-value
2623 object:property-change:accessible-role
2624 object:property-change:accessible-table-caption
2625 object:property-change:accessible-table-column-description
2626 object:property-change:accessible-table-column-header
2627 object:property-change:accessible-table-row-description
2628 object:property-change:accessible-table-row-header
2629 object:property-change:accessible-table-summary
2630 object:children-changed
2631 object:visible-data-changed
2632 object:selection-changed
2633 object:text-selection-changed
2635 object:text-caret-moved
2637 object:row-reordered
2639 object:column-inserted
2640 object:column-reordered
2641 object:column-deleted
2642 object:model-changed
2644 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2646 * libspi/hyperlink.c,h:
2647 Fixed some broken stuff in hyperlink.
2649 * libspi/relation.h:
2650 * libspi/relation.c:
2651 * cspi/spi_accessible.c:
2652 Initial implementations of AccessibleRelation methods, and docs.
2654 * libspi/accessible.c:
2655 Fixed a bug that caused SEGV if an accessible
2656 object's description is NULL, and a client
2657 requests it. An empty string is now returned.
2659 * cspi/spi_editabletext.c:
2660 * cspi/spi_hypertext.c:
2662 * cspi/spi_hyperlink.c:
2666 Doc coverage now 95%.
2668 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2670 One last namespacing revision:
2671 * libspi/accessibleeventlistener.[ch]:
2672 Renamed SpiAccessibleEventListener to SpiEventListener,
2673 (no need for two namespaces ;-)
2675 And lots of documentation fixes:
2677 * docs/at-spi-docs.sgml:
2678 Fixed 'underscore vs. hyphen' bug that was preventing
2679 the gtk-doc API docs from being automatically generated.
2682 * cspi/spi-listener.h
2684 * cspi/spi_accessible.c
2686 * cspi/spi_application.c
2687 * cspi/spi_component.c
2688 * cspi/spi_editabletext.c
2690 * cspi/spi_hypertext.c
2692 * cspi/spi_registry.c
2693 * cspi/spi_selection.c
2697 * docs/at-spi-docs.sgml
2698 * docs/at-spi-sections.txt
2700 Added and fixed up gtk-doc documentation in cspi.
2702 Interfaces now (fully) documented (subject to revision and enhancement):
2704 Event Listener Support
2706 AccessibleApplication
2710 AccessibleEditableText
2717 AccessibleRelationSet
2722 2001-14-11 Bill Haneman <bill.haneman@sun.com>
2724 * at-bridge/bridge.c:
2725 Initial work for toolkit-level key snooper connection by bridge.
2730 New typedefs and fixes to support new namespacing, and cleaner
2731 separation of cspi bindings from libspi bonobo implementation.
2732 Removed inconsistent and extraneous Spi* namespace prefix that
2733 had crept into cspi headers.
2734 Lots of comment fixes that sed had missed.
2736 * cspi/spi-roletypes.h:
2737 * cspi/spi-statetypes.h:
2738 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
2739 to AccessibleRoleType.
2741 * libspi/accessibleeventlistener.h:
2742 Fixed minor namespacing weirdness.
2744 * libspi/deviceeventcontroller.c:
2745 Reordered some internal API for device listeners.
2746 Changed the key registry final boolean to 'is_system_global'
2747 rather than 'is_synchronous', which is more descriptive of its
2749 Added spi_device_event_controller_new().
2750 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
2752 * libspi/keystrokelistener.[ch]:
2753 Namespaced KeystrokeListener to SpiKeystrokeListener.
2754 Changed uses of keymasks to use SPI_ prefix, and did other
2757 * libspi/keymasks.h:
2758 Namespaced keymask constants with SPI_ prefix.
2760 * libspi/registry.c:
2761 Some warning fixes, and knock-on fixes from namespace changes.
2764 Added rules for accessx-gui test program.
2766 * test/accessx-gui.c:
2767 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2768 utility. It doesn't actually use at-spi, but it's still cool and
2771 * test/keysynth-demo.c:
2775 Fixes so that these test clients work properly with the namespaced
2776 libraries. (Incompletely tested for technical reasons, fixes may follow)
2779 2001-13-11 Michael Meeks <michael@ximian.com>
2781 * libspi/application.c
2782 (impl_accessibility_application_get_version),
2783 (impl_accessibility_application_get_toolkit_name):
2785 (impl_accessibility_application_set_id),
2786 (impl_accessibility_application_get_id): remove
2787 redundant casting code.
2789 * libspi/action.c (impl_getDescription): fix warnings.
2791 * libspi/accessible.c
2792 (impl_accessibility_accessible_get_parent),
2793 (impl_accessibility_accessible_get_child_at_index),
2794 (impl_accessibility_accessible_get_state),
2795 (impl_accessibility_accessible_get_relation_set):
2796 warning fixes & include action.h
2798 2001-13-11 Michael Meeks <michael@ximian.com>
2800 * *.[ch] fix bits I screwed up:
2802 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2803 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2805 2001-13-11 Michael Meeks <michael@ximian.com>
2807 * *.[ch] Namespace libspi into spi_ and Spi.
2809 2001-13-11 Michael Meeks <michael@ximian.com>
2811 * Makefile.am: dist & install at-spi-1.0.pc
2813 * libspi/Makefile.am: install into at-spi-1.0
2815 * idl/Makefile.am (idldir): install into at-spi-1.0
2817 * at-spi-1.0.pc.in: add.
2819 * configure.in: build it.
2821 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2823 * test/keysynth-demo.c:
2824 Use a 'realize' signal-handler to set the WM properties for
2825 the virtual keyboard, rather than making it a "POPUP" type
2826 override-redirect window (thanks to anders carlsson for that
2829 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2832 * test/keysynth-demo.c:
2833 Added new test of key synthesis, which creates a simple
2834 (mouse-operated) onscreen keyboard. It inserts key events into
2835 the currently-focused window, thus it does not grab keyboard focus
2838 * cspi/spi_registry.c:
2839 Added C binding for AT-SPI generateKeyEvent.
2841 * libspi/deviceeventcontroller.c:
2842 Added call to XFilterEvent so that key listener works with XIM (we
2843 hope). Added event_synth_type to generateKeyEvent, so that we can
2844 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2845 synthesize a press/release pair for KeySyms.
2847 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2849 * libspi/Makefile.am:
2850 * registryd/Makefile.am:
2851 (temporary) hack to include libXtst in libspi and registryd.
2852 (Needed for keystroke synthesis, see below).
2855 Improved API for registerKeystrokeListener, in accordance with
2856 discussions with Gnopernicus team and X server research.
2858 * libspi/registry.c:
2859 * libspi/deviceeventcontroller.c:
2860 * libspi/accessible.c:
2861 * libspi/keystrokelistener.c:
2862 Changes and fixes to support keylisteners for potentially
2863 consumed key events (that is, 'passive grabs').
2864 Added implementation for generateKeyEvent() [untested].
2867 Changes to registerKeystrokeListener() API, as above.
2868 Added deregisterGlobalEventListenerAll(), and
2869 deregisterKeystrokeListener(), which are needed for clean exit of
2871 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2872 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2874 * cspi/spi_registry.c:
2875 Added implementations of function prototypes mentioned above.
2877 * registryd/registryd.c:
2878 Added the key listener event source as a g_timeout(), to allow
2879 receipt of key events that are not caught by GDK (since GDK
2880 doesn't support passive keygrabs, this was necessary).
2883 Changed to attach a keylistener to 'Alt' keys, and
2884 respond to the following keycommands: Alt-M (toggle magnifier);
2885 Alt-F (toggle speech); Alt-Q (quit).
2886 Added an exit routine to deregister the listeners, and a key
2887 listener that prints some key info to the console when a key
2888 matches the listener mask (and is thus received by the listener).
2890 * util/idl/Magnifier.idl:
2891 Changes to magnifier API to support multiple zoom regions,
2892 non-uniform scaling in x and y, markDirty, and a host of other
2893 features that would be useful to magnification.
2896 * util/mag_client.c:
2897 * util/mag_client.h:
2898 * util/mag_control.c:
2900 Source code changes to support the above IDL changes.
2903 As above, and also changes to use a (slower) generic conversion
2904 path for colormap conversions, since the fast RGB conversions have been
2905 reported to fail for 16-bit displays.
2907 2001-10-26 Michael Meeks <michael@ximian.com>
2909 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2911 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
2913 * at-bridge/Makefile.am: fix LDFLAGS.
2915 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2917 * at-bridge/bridge.c:
2918 Re-worked listeners for toolkit events, now we have signal
2919 and property listeners. Added a private method
2920 register_atk_event_listeners(), which registers with the
2921 various atk and gtk signals we need to monitor in order to emit
2923 Added emission hook for AtkObject:property-change events, to
2924 support the 'property listeners'.
2925 Fixed some alloc()s of Accessibility_Event structs to use CORBA
2928 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2929 which emit warnings and exit, respectively, if CORBA errors occur
2930 during remote calls, and we now use these methods to check most of
2931 our CORBA calls in the C bindings.
2933 * cspi/spi_accessible.c:
2934 Changed AccessibleSelection_refSelectedChild() to
2935 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2936 now increment refcounts.
2938 * cspi/spi_component.c:
2939 Fixed some long pointer casts (dangerous!) to pass pointers to
2940 CORBA_longs of the proper type to the CORBA stubs, and copy the
2941 data into the longs that were passed into the C bindings code.
2943 * at-bridge/bridge.c:
2945 * libspi/accessible.c:
2946 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2947 hyperlinks, AtkHyperlink is an object type.
2949 * libspi/application.c:
2950 Added various conversions to and from "generic" event types and
2951 atk-specific types; this is really part of the 'bridge'
2952 implementation but is valid for all AtkObject-based accessibility
2955 * libspi/editabletext.c:
2956 Fixed nasty bug wherein editable text's finalize method was
2957 unref'ing tha AtkObject reference that the text parent class was
2958 about to unref _again_. There was also a nasty inheritance bug
2959 that meant that the AccessibleEditableText class was corrupt.
2961 * libspi/selection.c:
2962 Provided implementations for some selection API that was broken.
2964 * idl/Application.idl:
2965 Added registerObjectEventListener () method.
2968 Fixed a number of return values that were Bonobo_Unknowns from
2969 bonobo_object_corba_objref(), which I
2970 forgot to dup before returning. Changed instances of
2971 bonobo_object_corba_objref (bonobo_object(o)) to
2972 BONOBO_OBJREF(o), for concision and clarity.
2974 <2001-10-13 Louise Miller <louise.miller@sun.com>
2976 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2977 idl/Event.idl, idl/Registry.idl
2978 Changed these files to include Bonobo_Unknown.idl instead
2981 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
2983 * libspi/component.c libspi/component.h:
2984 Fixed typo. Added assertions for object checks in
2985 AccessibleComponent code.
2987 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2989 * idl/Accessible.idl:
2990 Added 'isEqual (Accessible *object)'
2991 method for Accessible. (Not Yet Implemented).
2994 Changed signature of registerKeystrokeListener() to
2995 take a KeySet and KeyEventSeq so that specific keys and event
2996 types could be requested for monitoring, and added a flag
2997 is_synchronous so that either synchronous or asynchronous
2998 notification could be requested. (However this is not all
2999 implemented yet). This also meant adding two new typedefs,
3000 KeyEventSeq and KeySet.
3003 Added two new relations, RELATION_TOOLTIP_FOR and
3004 RELATION_LEAFNODE_OF.
3007 Added new state, STATE_HAS_TOOLTIP.
3009 * libspi/text.c, editabletext.c:
3010 Added new assertions to all casts of bonobo-objects from
3011 CORBA servants, to prevent Text API calls on non-text objects.
3012 Changed suspect casts of int-pointer types, so that we
3013 always send a valid CORBA_long pointer to the CORBA APIs that use
3014 in/out long parameters. We then have to copy from the CORBA_long
3015 into the regular long or int for return to the C bindings, or
3016 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
3019 * libspi/deviceeventcontroller.c:
3020 Cleaned these sources up.
3022 Changed return type for getCharacterAtOffset to
3023 CORBA_unsigned_long, to allow for 32-bit characters.
3026 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
3030 Fixed 'make dist' so that distro compiles...
3031 * libspi/keymasks.h:
3033 * cspi/spi-listener.c:
3034 KeystrokeListenerCB now returns a boolean.
3036 Added KeyEventType struct, and KeyStroke.
3037 Also added createKeystrokeListener(),
3038 KeystrokeListener_addCallback(),
3039 KeystrokeListener_removeCallback(), and added a keymask to
3040 registerKeystrokeListener().
3041 * cspi/spi_accessible.c:
3042 Changed numerous return types for interfaces from
3043 AccessibleComponent to Accessible<InterfaceName>; this was
3044 probably a cut-and-paste error.
3046 Implementations of new KeystrokeListener api (from spi.h,
3049 Changes to key modifier mapping.
3050 Created ControllerEventMask struct.
3051 Made DeviceEventController derive from Bonobo::Unknown.
3053 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3054 * libspi/deviceeventcontroller.c:
3055 Added a number of new internal (private) methods.
3056 * libspi/editabletext.c:
3057 * libspi/editabletext.h:
3058 Fixed a number of bugs related to the fact that
3059 editabletext inherits from text. Fixed the EditableText struct,
3060 the init() call, and use correct casts when calling Text methods
3061 from an EditableText object. Removed (duplicate) atko from the
3062 EditableText structure, we use the one in the parent Text
3063 structure via the casts mentioned above.
3064 * libspi/keystrokelistener.[ch]:
3065 * libspi/registry.c:
3066 Changes in support of keyboard handling (above).
3068 Keyboard handling, though partly functional, is still not
3069 recommended for at-spi client use as there is considerable
3070 work yet to be done.
3073 Changed some places where pointers to various int types
3074 are cast to be pointers to CORBA_long types and vice-versa:
3075 pointer casting is not safe so we pass pointers of the correct
3076 types and then cast the result before putting it into the target
3079 * libspi/text.h: minor typos corrected.
3081 We now speak not only the name of a Text element, but the
3082 first sentence of its content, when it receives focus.
3083 I also changed the text compression to 75% from 50%.
3084 * util/Accessibility_Util.server.in:
3085 Changed the default magnifier type to be a 3x vertical
3086 splitscreen magnifier (was previously a 2x horizontal one).
3088 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
3090 * libspi/keystrokelistener.h:
3091 * libspi/keystrokelistener.c:
3092 Initial functional implementations of KeystrokeListener.
3095 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3097 Fixed string handling for NULL strings in libspi.
3098 Added spi_freeString to free strings returned by C bindings.
3100 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
3102 * libspi/keystrokelistener.h:
3103 * libspi/keystrokelistener.c:
3104 Began (no-op) implementations of KeystrokeListener
3106 * libspi/deviceeventcontroller.c:
3107 * libspi/deviceeventcontroller.h:
3108 Began creating implementations of DeviceEventController,
3109 to handle keystroke and mouse event listening and
3111 * libspi/accessible.c:
3112 Stubbed-in the implementations for
3113 Accessibility_Accessible_getState and
3114 Accessibility_Accessible_getRelationSet.
3115 * libspi/registry.c:
3116 Improved de-registration process and fixed some bugs,
3117 deregistration now works correctly.
3119 Added initialization of applications list (to NULL).
3121 Reduced speech compression from 0.5 to 0.7, for demo.
3122 Changed call to gdk_window_set_decorations()
3123 to gtk_window_set_decorated().
3124 * at-bridge/bridge.c:
3125 Bridge now deregisters when app exits, via
3126 registration of a cleanup function
3127 with the g_atexit() call.
3128 Required making 'app' static, renamed 'this_app'.
3129 Fixed broken use of bonobo_init, passing argv wrongly.
3131 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
3135 Created a new directory for
3136 accessibility-related utilities, primarily for
3137 testing and demo purposes, but with possible
3144 Onscreen magnifier utility that
3145 is implemented as a bonobo service.
3147 * util/mag_client.c:
3148 * util/mag_client.h:
3149 Client-side support (simple C bindings)
3150 for Magnification service
3152 * util/mag_control.c:
3153 Client program example for
3154 Magnification service
3156 * util/Accessibility_Magnifier.server.in:
3157 Bonobo-activation file for the
3158 Magnification service.
3161 * util/idl/Magnifier.idl:
3162 IDL defining the bonobo Magnification
3166 Modifications to use the bonobo-activated magnifier
3167 above, in place of trying to connect to an existing
3168 magnifier that uses socket-listening IPC.
3170 If env variable MAGNIFIER is set, a magnifier service
3171 will be started if one does not exist.
3173 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
3174 * at-bridge/bridge.c:
3175 applied patch from Marc to build and run
3176 against new glib and gtk+ (seemed like a change
3177 to bonobo_init signature was made ?)
3179 made festival-server support turned off by default.
3180 Added support for a simple magnifier (off by default)
3181 which will be added to a 'util' directory later.
3182 * at-bridge/Makefile.am:
3183 Changed "application.h" header from a 'source'
3184 to a 'dependency' of libat-bridge.
3186 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3194 Added interface implementation c files to list of
3195 includes so they are included in libcspi.
3198 Changed prototype of AccessibleAction_doAction to return a
3200 Changed prototype of AccessibleTable_getCaption to
3201 return an Accessible.
3202 Changed prototype of AccessibleTable_getSelectedRows
3203 and AccessibleTable_getSelectedColumns to
3204 return a long (returns the number of selected rows
3205 or columns respectively).
3206 Changed name of AccessibleText_refRunAttributes to
3207 AccessibleText_getAttributes.
3208 Changed prototype of AccessibleText_getCharacterExtents to
3209 return a void rather than a boolean.
3210 Added support for a AccessibleCoordType parameter
3211 specifying what type of coordinates are desired.
3212 Added an AccessibleCordType parameter to
3213 AccessibleText_getPointAtOffset.
3215 * cspi/spi_accessible.c:
3216 Added code to return the outstanding interfaces from
3217 Accessible_queryInterface.
3219 * cspi/spi_action.c:
3221 Corrected call to getNActions to call the c binding
3224 * cspi/spi_editabletext.c:
3226 Changed name from setRunAttributes to setAttributes.
3228 * cspi/spi_hyperlink.c:
3230 Changed call to getNAnchors to correctly call the c
3231 binding for an attribute.
3233 * cspi/spi_hypertext.c:
3235 Changed getImageDescription to correctly call the
3236 binding for an attribute.
3238 * cspi/spi_selection.c:
3239 Changed getNSelectedChildren to correctly call the c
3240 binding for the attribute.
3241 Changed refSelectedChild to getSelectedChild.
3245 Changed getCaption to return an Accessible.
3246 Fixed calls which retrieve attributes.
3247 Changed refAt to getAccessibleAt.
3248 Changed getNSelectedRows and getNSelectedColumns to
3252 Changed getCharacterExtents and getPointAtOffset to accept an
3253 AccessibleCoordType.
3255 Changed calls which retrieve attributes.
3256 Changed refRunAttributes to getAttributes.
3261 * idl/Hyperlink.idl:
3262 Changed n_anchors attribute to nAnchors to keep naming
3263 convention consistent.
3266 Made Table inherit from Bonobo::Unknown.
3267 Added nSelectedColumns and nSelectedRows attributes.
3270 Made Value inherit from Bonobo::Unknown.
3272 * libspi/hyperlink.c:
3273 Change for nAnchors attributte name change.
3275 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3283 Added interface implementation c files to list of
3284 includes so they are included in libcspi.
3287 Changed prototype of AccessibleAction_doAction to return a
3289 Changed prototype of AccessibleTable_getCaption to
3290 return an Accessible.
3291 Changed prototype of AccessibleTable_getSelectedRows
3292 and AccessibleTable_getSelectedColumns to
3293 return a long (returns the number of selected rows
3294 or columns respectively).
3295 Changed name of AccessibleText_refRunAttributes to
3296 AccessibleText_getAttributes.
3297 Changed prototype of AccessibleText_getCharacterExtents to
3298 return a void rather than a boolean.
3299 Added support for a AccessibleCoordType parameter
3300 specifying what type of coordinates are desired.
3301 Added an AccessibleCordType parameter to
3302 AccessibleText_getPointAtOffset.
3304 * cspi/spi_accessible.c:
3305 Added code to return the outstanding interfaces from
3306 Accessible_queryInterface.
3308 * cspi/spi_action.c:
3310 Corrected call to getNActions to call the c binding
3313 * cspi/spi_editabletext.c:
3315 Changed name from setRunAttributes to setAttributes.
3317 * cspi/spi_hyperlink.c:
3319 Changed call to getNAnchors to correctly call the c
3320 binding for an attribute.
3322 * cspi/spi_hypertext.c:
3324 Changed getImageDescription to correctly call the
3325 binding for an attribute.
3327 * cspi/spi_selection.c:
3328 Changed getNSelectedChildren to correctly call the c
3329 binding for the attribute.
3330 Changed refSelectedChild to getSelectedChild.
3334 Changed getCaption to return an Accessible.
3335 Fixed calls which retrieve attributes.
3336 Changed refAt to getAccessibleAt.
3337 Changed getNSelectedRows and getNSelectedColumns to
3341 Changed getCharacterExtents and getPointAtOffset to accept an
3342 AccessibleCoordType.
3344 Changed calls which retrieve attributes.
3345 Changed refRunAttributes to getAttributes.
3350 * idl/Hyperlink.idl:
3351 Changed n_anchors attribute to nAnchors to keep naming
3352 convention consistent.
3355 Made Table inherit from Bonobo::Unknown.
3356 Added nSelectedColumns and nSelectedRows attributes.
3359 Made Value inherit from Bonobo::Unknown.
3361 * libspi/hyperlink.c:
3362 Change for nAnchors attributte name change.
3365 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
3367 implementations-- made server implementations own AtkObject pointers
3368 rather than their respective AtkInterrface pointers to fix
3369 refcounting. AtkHyperlink is still broken.
3371 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
3372 * cspi/spi_accessible.c:
3373 Added method Accessible_Role_getName(),
3374 and requisite string array (role_names).
3375 Added conversion string_from_corba_strin() call
3376 to Accessible_getName and _getDescription.
3377 * libspi/accessible.c:
3378 Added implementation for Accessible_getRole()
3380 Added festival support, used if environment variable
3383 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3385 * at-bridge/bridge.c:
3386 Now allocate Accessibility_Event using
3387 Accessibility_Event__alloc() instead of g_new0().
3388 * libspi/accessibleeventlistener.c:
3389 Initialize AccessibleEventListener->callbacks to NULL.
3390 Fixed accessible__event_listener_init() param, changed to
3391 "AccessibleEventListener *" type.
3392 Changed a bonobo_object_release_unref() call to
3393 Accessibility_Accessible_unref().
3394 * libspi/listener.c:
3395 Changed Bonobo_Unknown_unref to (equivalent)
3396 Accessibility_Accessible_unref.
3397 * libspi/registry.c:
3398 Changed bonobo_object_release_unref to
3399 Accessibility_Accessible_unref.
3401 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3404 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
3405 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
3406 spi-util.c spi-util.h
3407 Implementations for C bindings to remaining accessibility
3410 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3413 changed return value of Action from void to boolean to
3414 bring in line with ATK.
3417 Changed getText funcions to return "out" start and end offsets.
3418 Changed getAttributes to take and offset and return the start
3419 and end offset of the attribute run.
3420 Changed getOffsetAtPoint and getCharacterExtents to take an
3421 enum describing whether coordinates are window or screen.
3424 libspi/action.c libspi/action.h libspi/editabletext.c
3425 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
3426 libspi/hypertext.c libspi/hypertext.h libspi/image.c
3427 libspi/image.h libspi/selection.c libspi/selection.h
3428 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
3429 libspi/value.c libspi/value.h
3430 Added server implementations for outstanding ATK interfaces
3431 not yet implemented.
3433 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3436 Added (missing) getName() method.
3437 Made nActions an attribute.
3438 * idl/EditableText.idl:
3439 Changed order of params in setAttributes.
3440 * idl/Hyperlink.idl:
3441 Removed getAnchor, added getURI.
3443 Changed attributes to methods, for efficiency
3444 (so that getting extents can be done in one call)
3445 * idl/Selection.idl:
3446 Changed nSelectedChildren to attribute, and re-indented.
3447 * idl/Table.idl: changed nrows, ncolumns, caption, summary
3449 * idl/Text.idl: reformatted to match our coding style.
3450 (temporarily?) removed getRowColumnAtOffset().
3451 Changed text selection API to support multi-select and
3452 non-contiguous selections, as in ATK.
3453 * idl/Value.idl: changed some methods to attributes.
3455 2001-08-24 Mark McLoughlin <mark@skynet.ie>
3457 * libspi/listener.c(impl_notify_event):
3458 BonoboUnkown_unref the source instead
3459 of bonobo_object_release_unref - the ORB
3460 handles the releasing.
3462 * configure.in: require ORBit-2.3.94 for
3465 2001-08-21 Bill Haneman <bill.haneman@sun.com>
3467 Tagged CVS repository 'EA_1_0'.
3468 * README.EARLY_ACCESS:
3469 Alphabetized acknowledgements list, and
3471 Listed some known dependencies of at-spi.
3473 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3475 * docs/at-spi-docs.sgml:
3476 * docs/at-spi-sections.txt:
3477 * docs/at-spi-overrides.txt: (Added zero-length file)
3478 Documentation improvements - gtk-doc should build
3479 docs for all implemented C bindings now.
3482 * cspi/spi.c: (New file)
3483 * cspi/spi_event.c: (New file)
3484 * cspi/spi_registry.c: (New file)
3485 * cspi/spi_accessible.c: (New file)
3486 * cspi/spi_application.c: (New file)
3487 * cspi/spi_component.c: (New file)
3488 Split spi_main.c into six parts, and included them from
3489 "spi.c". This is a bit of a hack, probably temporary,
3490 but required by gtk-doc, apparently.
3492 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3495 * docs/at-spi-docs.sgml:
3496 * docs/at-spi-sections.txt:
3498 Initial checkins/modifications for gtk-doc generation.
3501 Added (missing) interface query methods to Accessible's C binding.
3503 Added GenericInterface type definition.
3505 Added query for AccessibleComponent interface to focus event handler.
3506 Added printout of bounding box for focussed component.
3507 * libspi/component.c:
3508 Added partial implementation for AccessibleComponent to C binding.
3509 * idl/Application.idl:
3510 * libspi/registry.c:
3511 * libspi/listener.c:
3512 * libspi/application.c:
3513 * libspi/application.h:
3514 Changed "ID" attribute type from string to long.
3516 2001-08-19 Bill Haneman <bill.haneman@sun.com>
3520 Made method naming consistent: methods taking object args
3521 start with uppercase, other methods (except those using
3522 acronyms) start with lowercase. Underscores delimit between
3523 object names and method names:
3524 SPI_init() - uppercase since it starts with an acronym.
3525 getDesktopCount () - lowercase start since no object param0.
3526 Accessible_getName() - uppercase object type name, studlyCaps method
3530 Added gtk-doc documentation for all currently implemented
3531 methods in the C bindings API.
3533 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3535 * Makefile.am : changed build order to build test last.
3538 Changed "createEventListener" to "CreateEventListener".
3539 * libspi/accessibleeventlistener.c :
3540 Bugfix for addition of callbacks.
3541 * test/Makefile.am :
3542 * test/simple-at.c :
3543 Added new test that uses the C bindings API.
3545 * libspi/listener.c :
3546 * libspi/registry.c :
3547 * libspi/accessibleeventlistener.c :
3548 * at-bridge/bridge.c :
3549 Renamed member "target" of Accessibility_Event to "source",
3550 which is more descriptive.
3553 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3557 * cspi/Makefile.am :
3558 Added makefile support for at-spi/cspi directory.
3561 * cspi/spi-listener.h : (NEW FILE)
3562 Added support for/use of spi-listener.h.
3564 C bindings now build successfully, with no warnings.
3565 * libspi/accessibleeventlistener.h : (NEW FILE)
3566 * libspi/accessibleeventlistener.c : (NEW FILE)
3567 * libspi/Makefile.am :
3568 Added new object type "AccessibleEventListener"
3569 which inherits from Listener, and allows attachment
3570 of in-process callbacks (so that a client with a listening
3571 object instance can add functionality to the local
3572 implementation, dynamically).
3574 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3576 * libspi/accessible.c:
3577 Add implementation for get_index_in_parent().
3579 Added #include of "spi-roletypes.h", and
3580 added enumerated type AccessibleCoordType.
3581 Added definition for KeystrokeListener (function type).
3584 * cspi/spi-statetypes.h :
3585 * cspi/spi-roletypes.h :
3587 Added these headers, used by spi.h.
3589 Added code (NOTE: not yet built by make).
3591 2001-08-18 Mark McLoughlin <mark@skynet.ie>
3593 * libspi/Makefile.am: generate imodule
3594 at the same time as other idl compiler
3597 2001-08-17 Bill Haneman <bill.haneman@sun.com>
3598 * libspi/registry.c :
3599 * libspi/application.c :
3600 * idl/Application.idl :
3601 Made registration with toolkit an application method,
3602 which is required since each app has its own toolkit static
3603 environment. Thus the bridge must register for
3604 notification of toolkit events from each application in turn.
3605 Toolkit notifications are now successfully registered for, and
3606 sent to the listening at client.
3608 Changed toolkit event string to use hyphens rather than underscores.
3609 * libspi/listener.c :
3610 listner now gives more info in debug mode - it reports the
3611 name of the event received, as well as the name of the source.
3614 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3616 * libspi/registry.c :
3617 added more implementation for toolkit events.
3618 Fixed bug such that toolkit event registrations
3619 (via atk) use the whole event name string, not
3621 Removed a useless call to an ORBit_ method.
3622 * at-bridge/bridge.c :
3623 Removed unused local sbuf[] variable.
3625 We now register for Gtk:GtkWidget:button_press_event
3626 events as well as "focus:" events.
3628 Add some more API from Registry.idl that was missing,
3629 for keystroke listening, keystroke and mouse event
3630 synthesis, and enumeration of accessible desktops.
3632 2001-08-16 Michael Meeks <michael@ximian.com>
3634 * configure.in: use AM_GLIB_GNU_GETTEXT.
3636 * Makefile.am (SUBDIRS): kill intl.
3638 2001-08-15 Michael Meeks <michael@ximian.com>
3640 * registryd/Makefile.am: s/oaf/server/ relocate info file.
3642 * configure.in: upd.
3644 * configure.in: depend on a recent bonobo-activation that
3645 will find our server files ...
3647 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3649 * libspi/accessible.c : accessible_new() :
3650 Now we add the Component interface via bonobo_object_add_interface,
3651 if the contained AtkObject implements AtkComponent.
3652 * libspi/accessible.h : now include "component.h"
3653 * libspi/component.h :
3654 * libspi/component.c : added files - implementation of
3655 bonobo wrapper object for Accessibility/Component
3656 * libspi/listener.c :
3657 Added test code to check for Accessibility/Component:1.0
3658 interface and report whether it is implemented by the
3660 * libspi/registry.c :
3661 Now we check for not only the hash of the whole event
3662 string before relaying the event, we also check the
3663 "minor" event string (without the detail string).
3664 This allows event listeners to be registered against
3665 all events of a certain major+minor type, or just
3666 against a specific major+minor+detail type.
3667 * libspi/accessible.c :
3668 Added implementations for Accessible:get_parent(),
3669 Accessible:getChildCount(), and Accessible:getChildAtIndex().
3670 * libspi/registry.c :
3671 * libspi/listener.c :
3672 Replaced calls to Accessibility_Accessible_ref() and
3673 Accessibility_Accessible_unref() with
3674 calls to bonobo_object_dup_ref() and
3675 bonobo_object_release_unref(), so that the CORBA object
3676 is dup-ed and released when relayed, as well as the bonobo object.
3678 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3680 * libspi/Makefile.am,
3681 registryd/Makefile.am,
3682 at-bridge/Makefile.am.
3683 test/Makefile.am, configure.in:
3684 reverse previous changes.
3686 * /idl/Image.idl: fix typo.
3688 * test/Makefile.am: put DEBUG_FLAGS
3691 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3693 * test/app.c: use argv[0] instead of
3696 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3698 * libspi/Makefile.am,
3699 registryd/Makefile.am,
3700 at-bridge/Makefile.am.
3701 test/Makefile.am, configure.in:
3702 cleanup, replace individual LIBS/CFLAGS with
3703 AT_COMMON_{LIBS|CFLAGS}.
3707 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3709 * configure.in, libspi/Makefile.am:
3710 Change IDL path checking for bonobo-activation
3713 2001-08-15 Bill Haneman <bill.haneman@sun.com>
3715 * registryd/registry.c : separated event listeners to use
3716 3 separate lists (focus, window, toolkit). Began testing
3717 event names against hashes before relaying events.
3718 * test/at.c : now register for events of type "focus:"
3719 * test/app.c : now generate events of type "focus:"
3720 * at-bridge/bridge.c : register with ATK for focus events,
3721 and we now relay those focus events to any "focus:" listeners.
3722 This now works with the bridge as a GTK_MODULE when running test/at.
3723 * libspi/registry.c :
3724 * libspi/listener.c :
3725 now we ref event sources before propagating, and unref on receipt.
3726 * libspi/registry.c :
3727 some changes to internal structs, to support event typestring hashes.
3728 * text/app.c : changed the way the appname is generated.
3729 * cspi : added directory that will hold the C bindings library for
3730 non-CORBA/bonobo-savvy clients.
3731 * cspi/spi.h : header file that contains the function prototypes for the C binding.
3732 * idl/Component.idl : added in parameter to indicate coord system for
3733 geometry-related calls.
3734 * idl/Hyperlink.idl : added readonly n_links attribute
3735 * idl/Image.idl : changed methods to attributes.
3737 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3739 * at-bridge/Makefile.am: link against
3740 ../libspi/libspi.la instead of -lspi.
3742 * at-spi/test/app.c: include
3743 bonobo-activation.h. Use a default appname
3744 if one is not provided.
3746 2001-08-14 Bill Haneman <bill.haneman@sun.com>
3748 * idl/Registry.idl : temporarily changed register_Application
3749 to oneway, to work around issue with initial registration
3751 * idl/Application.idl : changed attribute "id" from readonly
3752 to read-write, since it needs to be assigned by Registry.
3753 * registryd/registryd.c : added call to set application id
3755 * registryd/registry.c : changed de-registration procedure to
3756 use CORBA_Object_hash() to find matching object ref in application
3757 lists and listener lists.
3758 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
3759 began distinguishing between event types (work in progress).
3761 2001-08-13 Bill Haneman <bill.haneman@sun.com>
3764 * libspi/application.c:
3765 Added implementations for get/set id, get_toolkitName,
3767 * registryd/registryd.c :
3771 Converted from use of OAF to bonobo-activation.
3772 * libspi/desktop.h :
3773 * libspi/desktop.c :
3775 Removed references to atksimpleobject, since base atkobject
3776 implementation now provides functionality we need.
3777 * libspi/atksimpleobject.c :
3778 * libspi/atksimpleobject.h :
3783 * at-bridge/Makefile.am
3784 * at-bridge/bridge.c
3787 Added directory "bridge" and contents, and added dependencies
3788 in Makefile.am/configure.in.
3789 Initial checkin of "at-bridge".
3790 This code is a GTK_MODULE which automatically registers
3791 GTK+ apps with the accessibility registry, using an object
3792 reference to the root ATK object.
3794 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3796 * po/Makefile.in.in: Remove. Again. If this
3797 doesn't get autogenerated - you need to update
3800 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3802 * po/Makefile.in.in: Add. Again.
3804 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3806 * libspi/accessible.c : added support for 'description' property.
3807 * libspi/accessible.c
3809 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3810 (since the two are now equivalent in libbonobo)
3818 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3819 Bonobo::Unknown as does Accessibility::Accessible.
3820 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3821 interface with Bonobo::Stream, since it was redundant with it.
3822 (The Stream returned by a StreamableContext object is expected to
3823 implement only a subset of Bonobo::Stream)
3825 2001-07-28 Anders Carlsson <andersca@gnome.org>
3827 * libspi/accessible.c (accessible_object_finalize): Change
3828 g_free to g_object_unref since the AtkObject is a GObject.
3830 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3832 * idl/Accessibility.idl: add new IDL files
3835 * idl/Action.idl: Definitions of actionable UI object
3836 * idl/Component.idl: Definitions of UI component geometry, etc.
3837 * idl/Hyperlink.idl: Defs of hyperlink behavior
3838 * idl/Image.idl: Def of accessible image
3839 * idl/Selection.idl: Definition of UI object with selectable children
3840 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3841 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3842 * idl/Text.idl: Interface defs for UI elements with complex textual content
3843 * idl/Value.idl: Definition of UI element that is a value controller or display
3845 2001-07-27 Michael Meeks <michael@ximian.com>
3847 * po/Makefile.in.in: remove autogenerated file from CVS.
3849 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3852 * idl/Registry.idl: include guard.
3854 * idl/Accessibility.idl: Add, and include all the other IDL
3857 * idl/*.idl: remove mass of pragmas etc.
3859 2001-07-26 Michael Meeks <michael@ximian.com>
3861 * registryd/Makefile.am (registryd_SOURCES): remove
3864 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3866 * libspi/.cvsignore, registryd/.cvsignore,
3867 test/.cvsignore: updated.
3869 * po/Makefile.in.in: gettext update.
3871 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3873 * initial CVS checkin
3875 2001-06-29 Michael Meeks <michael@ximian.com>
3877 * configure.in: add AM_CONFIG_HEADER to gen config.h