1 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
4 Fixed handling for NULL return value from ATK.
6 * libspi/action.c libspi/component.c libspi/editabletext.
7 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
8 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
9 Removed redundant casts.
11 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
14 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
15 function not present in idl)
17 2002-05-02 jacob berkman <jacob@ximian.com>
19 * atk-bridge/Makefile.am: make atk-bridge a real module
21 2002-04-26 Radek Doulik <rodo@ximian.com>
23 * libspi/stateset.c (spi_init_state_type_tables): fix size of
26 2002-04-22 jacob berkman <jacob@ximian.com>
29 * libspi/Makefile.am: add deps on the built files to help
30 automake, and don't version the ORBit typelib
32 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
34 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
35 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
36 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
37 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
38 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
39 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
40 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
41 libspi/accessible.h libspi/accessible.h libspi/base.h
42 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
43 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
44 libspi/relation.h libspi/remoteobject.h libspi/selection.h
45 libspi/spi-private.h libspi/statetset.h libspi/table.h
46 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
47 util/mag_client.h util/mag_control.c util/mag_image.c
48 util/mag_image.h util/magnifier.c util/magnifier.h:
49 Add missing file headers; standardize existing ones
51 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
53 * atk-bridge/bridge.c: Added window event support.
55 2002-04-18 Michael Meeks <michael@ximian.com>
57 * libspi/relation.c (impl_getNTargets): impl.
58 (impl_getTarget): impl.
60 * libspi/Makefile.am: fix stateset install.
62 2002-04-17 Bill Haneman <bill.haneman@sun.com>
65 Started putting useful info in this file.
67 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
69 * atk-bridge/bridge.c:
70 Propagate state-changed notifications to ATs
72 * cspi/spi_registry.c: update docs to reflect actual behavior of
75 2002-04-17 Bill Haneman <bill.haneman@sun.com>
78 Incremented version to 0.12.1
81 Add missing declaration for magnifier_exit,
82 used by mag_control.c - Forte compiler didn't like
83 the implicit redeclaration of the function :-(
86 2002-04-16 Bill Haneman <bill.haneman@sun.com>
89 Revved version to 0.12 due to API change (see below).
91 * cspi/spi-roletypes.h:
92 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
93 definition from the inline docs, and added docs
94 for SPI_ROLE_LAST_DEFINED.
97 * cspi/spi_streamablecontent.c:
98 Added missing seek_type parameter to
99 (so far unused) method,
100 AccessibleStreamableContent_seek().
101 [ RT approval JodyG. ]
104 Fixed docs for SPI_createAccessibleKeystrokeListener.
106 * cspi/spi_registry.c:
107 Fixed docs for SPI_KEYSET_ALL_KEYS.
109 * docs/reference/cspi/at-spi-cspi-sections.txt:
110 Added a number of missing APIs to SECTIONS.
112 2002-04-16 Bill Haneman <bill.haneman@sun.com>
114 * registryd/Makefile.am:
116 * cspi/bonobo/Makefile.am:
117 Add $(X_LIBS) to makefiles.
119 2002-04-15 Bill Haneman <bill.haneman@sun.com>
122 Revved version to 0.11.
124 * libspi/component.c:
125 Added implementation for grabFocus.
127 * idl/Accessibility_Component.idl
128 (Accessibility_Component_grabFocus):
129 Made this method return boolean to indicate success or failure, to
130 be consistent with cspi and the corresponding ATK method.
132 * idl/Accessibility_Selection.idl
133 (Accessibility_Selection_selectAll) :
134 Made these methods return boolean to indicate success or
135 failure, to be consistent with cspi and the corresponding ATK methods.
137 * idl/Accessibility_EditableText.idl
138 (Accessibility_EditableText_setTextContents,
139 Accessibility_EditableText_insertText,
140 Accessibility_EditableText_cutText,
141 Accessibility_EditableText_deleteText,
142 Accessibility_EditableText_pasteText):
143 Made these methods return boolean to indicate
146 * cspi/spi_editabletext.c:
147 Made these methods return booleans.
149 * libspi/selection.c:
150 * libspi/component.c:
151 * libspi/editabletext.c:
152 Connected the boolean returns from ATK
153 to the server-side code referenced above.
155 2002-04-14 Bill Haneman <bill.haneman@sun.com>
157 * idl/Accessibility_Table.idl: Added missing methods,
158 Accessibility_Table_addRowSelection,
159 Accessibility_Table_addColumnSelection,
160 Accessibility_Table_removeRowSelection,
161 Accessibility_Table_removeColumnSelection.
164 Added C wrappers for above IDL:
165 AccessibleTable_addRowSelection,
166 AccessibleTable_addColumnSelection,
167 AccessibleTable_removeRowSelection,
168 AccessibleTable_removeColumnSelection.
171 Added server-side implementation code for IDL above, connecting
172 to pre-existing ATK api.
174 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
176 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
178 * libspi/accessible.c: Added implementation fo
179 Accessibility_Accessible_get_state.
181 * libspi/libspi.h: Added stateset.h to the list of includes.
183 * libspi/stateset.c: Fixed broken implementation.
185 2002-04-13 Bill Haneman <bill.haneman@sun.com>
188 Added implementation code for Accessibility_Magnifier_exit ().
190 * util/mag_control.c:
191 Added test code for above method; you can
192 now kill an existing magnifier via
193 ./mag_control q, from the util directory.
195 * test/key-listener-test.c:
197 Added a new test, for our key listener API.
199 2002-04-11 Bill Haneman <bill.haneman@sun.com>
201 * test/app.c, test/keysynth-demo.c:
203 Replace use of snprintf with g_snprintf.
204 (fix for bugzilla 78249)
206 2002-03-27 Michael Meeks <michael@ximian.com>
210 * util/Makefile.am (INCLUDES): fix.
211 (DONT_DIST_SOURCE): don't distribute the
214 * libspi/Makefile.am (dist-hook): ditto.
216 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
218 * libspi/hypertext.c:
219 Fix warnings when yelp is used with atk-bridge
221 2002-03-21 Michael Meeks <michael@ximian.com>
223 * libspi/application.c (spi_application_new):
224 use spi_accessible_construct so we use the AtkObject
227 2002-03-19 Michael Meeks <michael@ximian.com>
229 * registryd/registry.c (desktop_remove_application),
230 (desktop_add_application): clean coding style.
232 * registryd/desktop.c (spi_desktop_remove_application),
233 (spi_desktop_add_application): kill re-enterency hazards.
234 (spi_desktop_dispose): remove bogus redundant cast
235 obscuring bug; fix bug too.
236 (spi_desktop_init): make the desktop object immortal.
238 2002-03-16 Bill Haneman <bill.haneman@sun.com>
241 Added a #define-guarded tree-traversal step
242 when enumerating the apps (diagnostic tool).
244 2002-03-15 Bill Haneman <bill.haneman@sun.com>
246 * idl/Accessibility_Role.idl:
247 Added ROLE_DRAWING_AREA which seemed to be missing from the
250 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
252 * cspi/spi-roletypes.h cspi/spi_accessible.c
253 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
256 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
257 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
258 AT when applications are added and removed from the desktop. This
259 reverts the previous broken implementation using the backing
260 AtkObject for the SpiDesktop.
262 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
264 * registryd/desktop.c: emit the "children-changed::add" and
265 "children-changed::remove" signals on the backing ATK object for
266 the desktop so AT can tell when applications are started and shut
269 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
271 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
273 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
275 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
277 * cspi/spi_accessible.c: Implemented c bindings for stateset support
279 * cspi/state-types.h: synched with IDL and ATK
281 2002-03-13 Bill Haneman <bill.haneman@sun.com>
283 * libspi/accessible.c
284 (impl_accessibility_accessible_get_child_at_index):
285 Change return value for g_return_if_fail ()
286 to CORBA_OBJECT_NIL instead of "0" (!)
288 * registryd/Makefile.am:
289 * registryd/Accessibility_Register.server.in:
290 Changed name of executable, "registryd",
291 to something more informative:
294 2002-03-13 Michael Meeks <michael@ximian.com>
296 * atk-bridge/bridge.c (atk_bridge_init): don't register
297 if we're in a bonobo-component, rather than a bonobo app.
299 2002-03-13 Michael Meeks <michael@ximian.com>
301 * atk-bridge/bridge.c (gtk_module_init): split
302 out body to (atk_bridge_init): here, since otherwise
303 we get symbol conflicts and oddness when invoked
304 from (gnome_accessibility_module_init): here (upd.)
306 2002-03-11 Bill Haneman <bill.haneman@sun.com>
309 New file. Explicitly allow "build sheriff" putbacks provided
310 they are tested on Solaris.
312 * docs/reference/cspi/Makefile.am:
313 Added '-' to the "cp" command for index.sgml.
314 ("patch by thomasvs, soon coming to a GUADEC near you")
317 Incremented version number (0.9.0) for new release.
318 Changed macro that checks for popt, to better detect
319 obsolete versions of popt.
322 Added X_LIBS to AC_SUBST, for applications
323 that call Xlib API directly.
326 2002-03-07 Bill Haneman <bill.haneman@sun.com>
329 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
332 Fix regression caused by hard-coding major
333 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
336 * test/test-simple.c (test_editable_text),
337 (test_test): revert previous change (error was
338 a regression in gail which is now fixed).
340 2002-03-04 Michael Meeks <michael@ximian.com>
342 * test/test-simple.c (test_editable_text),
343 (test_text): pass G_MAXINT instead of '-1' for
344 whole string - is this a good thing !?
346 * cspi/spi_accessible.c
347 (Accessible_getRelationSet): fix crasher bug
348 overwriting the end of the array.
350 * test/test-simple.c (validate_accessible): free,
351 not g_free returned relation set.
353 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
355 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
356 implemented stateset support
358 * idl/Accessibility_State.idl: Made necessary changes to
359 the IDL to support state sets.
361 2002-02-12 Bill Haneman <bill.haneman@sun.com>
363 * registryd/deviceeventcontroller.c:
364 Added implementation for generateMouseEvent.
366 * cspi/spi_registry.c:
367 Connected new implementation for generateMouseEvent
370 2002-02-12 Bill Haneman <bill.haneman@sun.com>
373 Incremented revision (but no change in public API
374 outside of 'utils', which are not installed public yet.)
376 * libspi/component.c:
377 Changed to use atk_component API for layers and
378 mdi_zorder, instead of deprecated atk_object API.
380 Magnification Utility Enhancements:
383 Added implementation of createZoomRegion, clearAllZoomRegions,
384 resizeZoomRegion. Added new commandline argument
385 "--no-initial-region". Note that clearAllZoomRegions doesn't
386 unmap the old '0' region as it should (yet), and the other
387 methods only work when creating/resizing a single region,
389 (Code for multiple region support will be added later.)
392 Now we raise the magnifier window each time it's refreshed;
393 this will help keep it on top.
396 Added simple wrappers for above, used by mag_control.
397 For general use, it's recommended to use the bonobo magnifier
398 control API directly instead of using these wrappers.
401 Moved ZoomRegionData from magnifier.c to this file.
403 * util/mag_control.c:
404 Added some code to exercise new IDL implementations.
406 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
408 * libspi/text.c: Provide implementation for getAttributes.
410 2002-02-04 Bill Haneman <bill.haneman@sun.com>
413 Incremented revision.
415 * test/test-simple.c:
416 Replaced use of deprecated g_main_iteration with
417 g_main_context_iteration.
419 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
422 Incremented revision for desktop alpha 2.
424 2002-01-28 Mark McLoughlin <mark@skynet.ie>
426 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
429 * test/simple-at.c: include netinet/in.h.
431 2002-01-24 Mark McLoughlin <mark@skynet.ie>
433 * cspi/spi_accessible.c: (Accessible_getRelationSet):
434 use NULL, not CORBA_OBJECT_NIL.
436 * libspi/accessible.c:
437 (impl_accessibility_accessible_get_relation_set):
438 allocate the sequence correctly.
440 * libspi/remoteobject.h: kill spi_remote_object_new.
442 * test/test-simple.c: (validate_accessible): add code
443 to test relation sets, now all we need is to figure
444 out how to excercise this code path :/
446 2002-01-18 Michael Meeks <michael@ximian.com>
449 (key_listener_cb): consume the key.
450 (test_keylisteners): update.
451 (main): wait for any pending unrefs on events.
453 * registryd/deviceeventcontroller.c
454 (spi_controller_update_key_grabs): only re-issue the
455 grab on a key release.
456 (spi_device_event_controller_forward_key_event):
457 refresh the keygrabs before we notify the listeners,
458 to reduce the X ungrab / re-grab race.
459 (spi_controller_register_with_devices): remove
460 XSelectInput - we do that with the gdk_window_ call.
461 (_spi_controller_device_error_handler): return a value.
462 s/GDK_DISPLAY/spi_get_display/
464 2002-01-17 Michael Meeks <michael@ximian.com>
466 * registryd/deviceeventcontroller.c
467 (_deregister_keygrab): don't blow out the later
470 * test/test-simple.c (test_keylisteners): do a
471 more intelligent validation.
473 2002-01-14 Michael Meeks <michael@ximian.com>
475 * atk-bridge/bridge.c
476 (gnome_accessibility_module_init),
477 (gnome_accessibility_module_shutdown): impl.
478 (gtk_module_init): protect vs. double inits.
479 (add_signal_listener): impl.
480 (spi_atk_bridge_state_event_listener): kill
481 (deregister_application): split out of
482 (spi_atk_bridge_exit_func): here.
484 2002-01-18 Bill Haneman <bill.haneman@sun.com>
487 Added caret tracking when using magnifier, and
488 now use text bounds for focus tracking of text elements, rather than
489 the component bounds - this is helpful for short text fields in long
490 table cells, at high magnification.
492 2002-01-16 Bill Haneman <bill.haneman@sun.com>
494 * registryd/deviceeventcontroller.c:
495 Regression fix for keylistener de-registration; global keygrabs
496 were not being released when deregisterKeystrokeListener was
497 called in cspi, since
498 Accessibility_DeviceEventController_deregisterKeystrokeListener
499 was called with a zero-length keyset. That is because the cspi
500 method, SPI_deregisterKeystrokeListener, does not take a keyset
501 parameter but instead should remove all the key grabs held be a
503 The code in impl_deregister_keystroke_listener was changed to copy
504 the keylist from the listener instance previously registered with
505 the DeviceEventController before releasing the grabs.
507 * registryd/registry.c:
508 * registryd/deviceeventcontroller.c:
509 * libspi/spi-private.h:
511 Changed spelling of "re-enterant" to "re-entrant" globally.
513 2002-01-16 Bill Haneman <bill.haneman@sun.com>
515 * test/test-simple.c:
516 Changed key listeners test - the test was slightly mis-using the
517 (admittedly poorly documented) SPI_generateKeyboardEvent API.
518 It now uses '=' as the key event listened to and generated,
519 relying on a keysym match rather than assuming that keycode 33
520 is always equal to keysym '!'.
522 2002-01-15 Bill Haneman <bill.haneman@sun.com>
525 Changed simple-at to use a specific keyset, rather than
526 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
527 manager, desktop, etc.
529 2002-01-11 Bill Haneman <bill.haneman@sun.com>
531 * registryd/deviceeventcontroller.c:
532 Replaced standard X error handler with a special handler that
533 is non-fatal for failed keygrabs. This works around
534 problems with keygrab clashes sometimes observed on
536 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
537 mouse handling code as yet).
539 2002-01-11 Bill Haneman <bill.haneman@sun.com>
542 Incremented revision for desktop alpha release.
545 Fixed a couple of the more glaring errors (still not
548 2002-01-11 Michael Meeks <michael@ximian.com>
550 * registryd/deviceeventcontroller.c
551 (spi_device_event_controller_forward_key_event): kill
552 XUngrabKey / XKeyGrab race.
553 (spi_controller_grab_keyboard): rename to
554 (spi_controller_update_key_grabs): this, and deal
555 with incremental adding / removing grabs more
557 (_register_keygrab): ensure we're not pending a remove.
558 (spi_grab_mask_free): impl.
559 (spi_controller_register_global_keygrabs): split out
561 (handle_keygrab): impl.
562 (_deregister_keygrab): impl.
563 (spi_controller_deregister_global_keygrabs): impl.
564 (spi_controller_update_key_grabs): re-issue the grab if
565 we just recieved a notification.
567 * test/test-simple.c (key_listener_cb): remove debug.
569 * registryd/deviceeventcontroller.c
570 (spi_controller_register_device_listener): after
571 registering a global keygrab, actualy register it !
572 don't wait for a timeout; doh !
574 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
575 to make it more readable / manipulable.
576 s/grabmask/grab_mask/ s/refcount/ref_count/
577 s/keyval/key_val/ s/modmask/mod_mask
579 2002-01-08 Michael Meeks <michael@ximian.com>
581 * registryd/deviceeventcontroller.c
582 (spi_controller_register_with_devices): use gdk calls to
584 (global_filter_fn): implement the filter.
585 (spi_device_event_controller_check_key_event): rename to
586 (spi_device_event_controller_forward_key_event): this & upd.
587 (spi_get_display): replace with GDK_DISPLAY.
589 * registryd/deviceeventcontroller.c
590 (spi_controller_deregister_device_listener): unroll into
591 (impl_deregister_keystroke_listener): here to simplify.
592 (spi_controller_register_global_keygrabs): split cut and
593 paste (!) out into (_register_keygrab): here, shorter & sweeter.
594 (spi_controller_deregister_device_listener): remove.
595 (impl_register_mouse_listener): remove, no mouse listener
596 support in at-spi-1.0
598 * registryd/registry.c
599 (_device_event_controller_hook): kill.
600 (spi_registry_init): upd.
602 * registryd/deviceeventcontroller.c
603 (spi_device_event_controller_class_init): upd.
604 (spi_check_key_event): merge into.
605 (spi_device_event_controller_check_key_event):
606 here and kill strange static ev init, don't leak
607 the x_event - nor dynamicaly allocate it.
609 * registryd/registry-main.c (main): re-direct
610 timeout to remove strange vtable mess.
612 * registryd/deviceeventcontroller.c
613 (remove_listener_cb): impl.
614 (spi_controller_deregister_device_listener):
615 fix re-enterancy hazard.
617 2002-01-07 Michael Meeks <michael@ximian.com>
619 * registryd/deviceeventcontroller.c
620 (spi_device_event_controller_new): upd.
621 (impl_notify_listeners_sync): upd. debug.
622 (spi_notify_keylisteners): fix re-enterancy hazards,
623 prettify, remove O(n*n) iteration.
624 (spi_controller_grab_keyboard): fix iteration.
625 (spi_check_key_event): re-format to suit coding style.
626 Clean all the warnings - we're warning free.
628 * registryd/deviceeventcontroller.h:
629 * registryd/registry.h: make mutualy referential with
630 typesafe forward references instead of (!) void pointer
633 2002-01-11 Michael Meeks <michael@ximian.com>
635 * cspi/spi_accessible.c (role_names): add a role name
636 to sync this array with the enum; and make the regression
639 2002-01-10 Michael Meeks <michael@ximian.com>
641 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
642 allow expansion of enumeration & kill warning.
644 * test/test-simple.c (key_listener_cb): impl.
645 (test_keylisteners): impl.
647 * cspi/spi-listener.h: make listener signatures const
648 on the provided (const) events.
650 * test/keysynth-demo.c: upd. to const events.
652 * test/simple-at.c: ditto.
654 2002-01-11 Bill Haneman <bill.haneman@sun.com>
657 Rev the version to 0.5 (the previous tarball was named 0.4,
658 even though the micro number was 3), so we need to rev upwards
659 again for beta2/"desktop-alpha"
662 Checked in a demo script, which requires editing before use!
663 Proceed with caution.
666 Fixed typo in header which was redefining SPI_ACTION_CLASS.
668 * cspi/spi_accessible.c:
669 Add a couple of missing enum initializations, and fix some enum
672 * cspi/spi_registry.c:
673 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
675 * docs/reference/cspi/at-spi-cspi-sections.txt:
676 Remove/fix a couple of broken document references.
679 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
680 as Alt-Control to listen for commands, since on some systems
681 Control-Alt may already be grabbed.
683 2002-01-10 Bill Haneman <bill.haneman@sun.com>
686 Update version number to 0.4 for Beta2.
688 * libspi/accessible.c, libspi/accessible.h:
689 Expose spi_accessible_construct, to enable libgail-gnome
690 construction from spi_accessible subtype.
693 Workaround for bug in some non-gnome-compliant window managers
694 which made magnifier resize improperly.
696 2002-01-09 Bill Haneman <bill.haneman@sun.com>
698 * libspi/accessible.c: (spi_accessible_new) :
699 Move the test for SPI_IS_REMOTE_OBJECT to
700 spi_accessible_new_return, fixing a bug and compile time warning.
702 2002-01-08 Michael Meeks <michael@ximian.com>
704 * registryd/registry.c (parse_event_type): remove strndup.
706 * libspi/Makefile.am (libspi_la_SOURCES): remove
707 sources already included in the headers section.
709 * libspi/util.c: add.
711 * libspi/spi-private.h: add.
713 * registryd/registry.c: update to moved list iterators.
715 2002-01-05 Michael Meeks <michael@ximian.com>
717 * test/simple-at.c (main): upd. auto-module set to atk-bridge
719 * test/test-simple.c (main): ditto.
721 2002-01-04 Michael Meeks <michael@ximian.com>
723 * libspi/accessible.c (spi_accessible_new): remove 2nd,
726 * registryd/registry.c
727 (get_listener_list): impl.
728 (impl_accessibility_registry_register_global_event_listener):
729 re-impl. to simplify using ~, remove dodgy const cast off.
730 (parse_event_type): constify.
731 (impl_accessibility_registry_deregister_global_event_listener_all):
732 re-write, more efficiency and simplicity, kill re-enterancy
734 (compare_listener_corbaref, compare_corba_objects),
735 (compare_listener_quarks): define out.
736 (impl_accessibility_registry_deregister_global_event_listener):
737 re-write for effiency, and nail re-enterancy hazard.
738 (impl_accessibility_registry_get_desktop_list): impl.
739 (re_enterant_list_delete_link): impl.
740 (re_enterant_list_foreach): impl.
741 (remove_listener_cb): impl.
742 (_registry_notify_listeners): kill.
743 (notify_listeners_cb): impl.
745 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
746 (SPI_getDesktopList): impl.
748 * test/test-simple.c (test_desktop): test the methods.
750 2002-01-03 Michael Meeks <michael@ximian.com>
752 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
753 keystrings since we free them
754 (SPI_freeAccessibleKeySet): in here.
756 * libspi/accessible.c (spi_accessible_new): kill warning,
757 wonder what is going on with the constructor here.
759 2002-03-01 Bill Haneman <bill.haneman@sun.com>
761 * libspi/accessible.c (spi_accessible_new ()) :
762 Added check to see if AtkObject is an SpiRemoteObject before
763 creating an SpiAccessible.
765 2002-05-01 Bill Haneman <bill.haneman@sun.com>
767 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
768 Enable keygrabs using the Control modifier, now that they are
769 working properly (they were previously disabled).
772 Change the command keygrab for this demo to "Control+Alt", so as
773 to conflict with fewer other key commands on the system; this
774 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
776 Removed a pointlessly-chatty keylistener for unshifted keys
777 (shifted keys are still reported).
779 2002-02-01 Bill Haneman <bill.haneman@sun.com>
781 * libspi/remoteobject.h:
782 * libspi/remoteobject.c:
783 Added definitions for special AtkObject subtype, required for
784 support of remote components (specifically, used by BonoboControl
785 accessibility implementation).
787 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
789 * cspi/spi.h: synched relation types with ATK
791 * cspi/spi_accessible.c: Added implementations of
792 AcccessibleRelation_* methods
794 * idl/Accessibility_Relation.idl: added getRelationTypeName
795 method. Synched known relation types with ATK. Allowed for
796 relation type extension with the RELATION_EXTENDED type.
798 * libspi/relation.c: Provided implementations for
799 AccessibleRelation methods.
801 2002-01-01 Bill Haneman <bill.haneman@sun.com>
803 API tweaks for today's API 'freeze'.
806 Added placeholder functions to allow future compatible expansion
807 of the IDL interfaces.
809 * idl/Accessibility_Registry.idl:
810 Changed generateKeyEvent to generateKeyboardEvent. Changed
811 signature of this method to accept an optional keystring in
812 parameter (for complex text input synthesis) and changed use of
813 simple 'boolean' parameter in registerKeystrokeListener to a
814 struct, EventListenerMode.
816 * cspi/spi_accessible.c:
818 * cspi/spi_streamablecontent.c:
819 Added references to AccessibleStreamableContent interface, and
820 definition and implementation of AccessibleStreamableContent
823 * cspi/spi_registry.c:
825 Changed generateKeyEvent API to generateKeyboardEvent,
826 taking a new (optional) keystring parameter to support complex
831 Renamed directory (to better reflect its actual purpose, bridging
832 from at-spi to ATK). The .so module is also now named
835 * idl/Accessibility_Hypertext.idl:
836 * libspi/accessible.c:
837 * libspi/hypertext.h:
838 * libspi/hypertext.c:
839 Changed Accessibility_Hypertext to *not* derive from
842 * cspi/spi_registry.c:
843 Added list of legal event type names for 'window' events, which
844 completes the registry event API.
846 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
848 * at-bridge/bridge.c: Added registration for separate
849 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
850 signals. If either of the first two parameters to the generic
851 bridge signal handler are ints, they are passed on as event
852 details. This allows an AT to determine what text was inserted.
854 2001-12-21 Bill Haneman <bill.haneman@sun.com>
856 * registryd/deviceeventcontroller.c:
857 Fixed regressions in generateKeyEvent caused by the removal of
858 gdk_init from registryd; we now use pure X calls to connect to the
859 display, which makes sense because deviceeventcontroller already
860 uses a fair bit of X API (should eventually be migrated to a
861 'portability layer').
863 * registryd/desktop.c:
864 Fixed minor regression in spi_desktop_init, changed the way the
865 desktop name is being set to work with new spi_base API
866 (gobject-based, rather than AtkObject-based).
868 * registryd/Makefile.am:
869 Minor revision of makefile to use XTST_LIBS variable rather than
870 hard-wiring the Xtst LD_ADD element.
872 * test/keysynth-demo.c:
873 Tweaked an output message; added initialization of the
874 'keystrings' member of the "switch listener" key_set.
877 Squashed compile-time warning.
879 * libspi/accessible.c:
880 Cosmetic and formatting fixes, renamed a static method.
882 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
884 * libspi/accessible.c
886 * libspi/application.c
890 * libspi/editabletext.c
898 * registryd/desktop.c:
899 Changed SpiBase to contain a GObject pointer rather than an AtkObject
901 2001-12-17 Bill Haneman <bill.haneman@sun.com>
903 * idl/Accessibility_Registry.idl:
904 Added boolean member 'is_text' to DeviceEvent. This is for the
905 use of key events, and helps prevent ambiguity between composed
906 key strings and keysym names, since both may potentially be
907 returned in the 'event_string' member.
909 * at-bridge/bridge.c:
910 * registryd/deviceeventcontroller.c:
911 Use the 'is_text' member when notifying device event listeners.
912 Knon issue: composed characters are not dealt with correctly by
913 the global key listener implementation yet.
915 2001-12-17 Bill Haneman <bill.haneman@sun.com>
917 * at-bridge/bridge.c:
918 Namespaced local static methods to spi_atk_bridge_* where
919 previously named bridge_*, and spi_* elsewhere.
921 * at-bridge/bridge.c:
922 * cspi/bonobo/cspi-bonobo-listener.c:
923 Added demarshalling/conversion for string member of
924 Accessibility_DeviceEvent to AccessibleKeystroke.
926 * registryd/deviceeventcontroller.c:
927 Added code to fill the Accessibility_DeviceEvent key string value
928 member for global key events (i.e. from XGrabKey), to match
929 behavior of Accessibility_DeviceEvent from the toolkit key events
930 from the bridge. Fixed timestamp in global key event notifications.
933 Added printout of key event's string value to
934 report_ordinary_key_event, for demo/debugging purposes.
936 2001-12-15 Bill Haneman <bill.haneman@sun.com>
938 * idl/Accessibility_Registry.idl:
939 Removed Accessibility_KeyStroke structure in favor of generic
940 Accessibility_DeviceEvent structure.
941 Changed Accessibility_ControllerEventMask from a struct to an
944 * at-bridge/bridge.c:
945 Changed APIs to use DeviceEvent structure as above, and removed
946 bogus casting between these event structures.
948 * cspi/spi-listener.h:
949 Added keystring member of AccessibleKeystroke structure, to enable
950 matching on event "names" rather than only hardware codes and
954 Added keystrings member of AccessibleKeySet struct, to allow
955 matching on event names (as above).
956 Added declarations for SPI_createAccessibleKeySet and
957 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
958 event modmasks directly as unsigned ints rather than structs with
959 refcounts, in the DeviceEventController methods.
961 * cspi/spi_registry.c:
962 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
964 * cspi/spi-roletypes.h:
965 Added documentation of newly added SPI Roles.
967 * cspi/bonobo/cspi-bonobo-listener.c:
968 Changes in support of API changes above.
970 * libspi/accessible.c:
971 Converted APIs to use DeviceEvent structure (see IDL changes
974 * registryd/deviceeventcontroller.c:
975 Added DEControllerGrabMask structure to track keygrabs not only by
976 modmask but by keyset as well; this allows us to do "global"
977 (i.e. X) keygrabs on a per-key or keyset basis rather than always
978 grabbing on AnyKey and then filtering after-the-fact.
979 Bugfixes for event filtration mean that we don't get false matches
980 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
982 * registryd/deviceeventcontroller.c:
983 Namespaced a number of static methods to use spi_ prefix. Major
984 revision to internals of global (i.e. X) key grabs.
986 * registryd/deviceeventcontroller.h:
987 Removed keymask_list and added keygrabs_list to
988 SpiDeviceEventController struct.
991 Added use of SPI_createAccessibleKeySet API when creating a
992 listener for only one key. Attach a listener to "shift spacebar
993 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
994 X key event names to SPI key event names, so that listeners are
995 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
997 * test/keysynth-demo.c:
998 Changed (incorrect) use of X key event names (KeyPressed,
999 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
1002 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1004 * libspi/accessible.c:
1005 Convert all AtkRole enumerations to Accessibility_Role enums when
1006 getting a role from an AtkObject.
1008 * cspi/spi_accessible.c:
1009 Complete the conversion of Accessibility_Role enums at runtime to
1010 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
1011 role enums correctly match those given in spi-roletypes.h.
1012 Re-synchronize the local names list for AccessibleRole_getName ().
1013 AccessibleRole_getName is now deprecated, since it duplicates the
1014 more reliable Accessible_getRoleName.
1015 Added some role types from Accessibility_Role.idl.
1017 * idl/Accessibility_Role.idl:
1018 Added some role types used by AtkRole.
1020 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1023 * cspi/spi_registry.c:
1025 * cspi/cspi-bonobo-listener.c:
1026 Namespaced all methods that did not begin with an "SPI_" or
1027 "Accessible" prefix to "SPI_".
1030 Homogenized internal function namespace to "cspi_" for statics.
1033 Patched tests to use the new CSPI API.
1035 * docs/reference/cspi/at-spi-cspi-sections.txt:
1036 Updated docs to reflect namespace changes, and added a number of
1037 methods to the documentation.
1039 * registryd/registry.c:
1040 Changed use of strings and string hashes in listener event
1041 matching and parse_event_string to use GQuark, which is guaranteed
1044 * registryd/registry.h:
1045 Squashed annoying warning.
1047 * idl/Accessibility_Role.idl:
1048 Extended range of available Accessibility_Role values.
1050 * cspi/spi_accessible.c:
1051 Re-ordered role names.
1053 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1055 * idl/Accessibility_Value.idl:
1056 Revert use of union back to CORBA_double, since the double type is
1057 more efficient and can contain the other types without loss of
1060 * idl/Accessibility_Accessible.idl:
1061 Added method Accessibility:Accessible:getRoleName, to complement
1062 Accessibility:Accessible:getRole.
1064 * cspi/spi_accessible.c:
1066 Added C binding for above, Accessible_getRoleName (), and changed
1067 signature of Accessible_getRole () to return an AccessibleRole.
1069 * cspi/spi-roletypes.h:
1070 Changed AccessibleRole_getName to return a char * instead of a
1071 const char *. This method is now at least temporarily deprecated
1072 in favor of asking Accessibles for their RoleNames directly.
1075 Revert to match Accessibility_Value.idl;
1079 Change signature of AccessibleValue methods to use double rather
1083 * cspi/spi_accessible.c:
1084 Changed Accessible_getRole to return an AccessibleRole enum rather
1085 than a UTF-8 string. The UTF-8 string can still be obtained via
1086 AccessibleRole_getName ().
1088 * test/test-simple.c:
1089 Add test_action. Small fixup to match API change to Accessible_getRole.
1092 Bugfix for get_action_from_servant ().
1094 2001-12-11 Michael Meeks <michael@ximian.com>
1096 * libspi/libspi.h: remove registry.h and
1097 desktop.h, deviceeventcontroller.h
1099 * libspi/Makefile.am: remove registry.[ch],
1100 desktop.[ch], deviceeventcontroller.[ch]
1102 * registryd/Makefile.am: add registry.[ch],
1103 desktop.[ch], rename registryd.c to registry-main.c.
1104 add deviceeventcontroller.[ch]
1106 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1109 Replace setenv() call with putenv ().
1111 * libspi/component.c:
1112 Bugfix in AccessibleComponent_getExtents (),
1115 2001-12-11 Michael Meeks <michael@ximian.com>
1117 * libspi/image.c (impl_getImageExtents): impl.
1118 (spi_image_class_init): upd.
1121 (AccessibleImage_getImageDescription): fix daft bug
1124 * test/test-simple.c (global_listener_cb): update
1125 to only quit if not --poke
1126 (main): catch --poke.
1127 (validate_accessible): upd. dumping, call test_image
1130 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1133 * idl/Accessibility.idl: update all IDL includes.
1135 * idl/*.idl - rename to namespace - this sucks, blame
1136 mjs' bad decision for oafd.
1138 * test/test-simple.c (create_test_window): add more tests.
1139 (create_tree): split this out.
1140 (validate_accessible): bugfix.
1142 2001-12-11 Michael Meeks <michael@ximian.com>
1144 * cspi/bonobo/cspi-bonobo-listener.c:
1145 (cspi_kestroke_listener_unref),
1146 (cspi_event_listener_unref): impl. undoing previous
1147 homenous environment - for Bill.
1149 * cspi/spi_table.c (long_seq_to_array): use
1152 * cspi/spi_main.c: split out all bonoboish bits into
1155 * cspi/spi-impl.h: upd. typedefs.
1157 * cspi/spi_registry.c: update to lowlevel API,
1158 return booleans to indicate success in some places.
1160 * cspi/spi_event.c: update to lowlevel API.
1162 * cspi/bonobo/Makefile.am: add.
1164 * cspi/bonobo/cspi-lowlevel.h: add
1166 * cspi/bonobo/cspi-bonobo.c: add
1168 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1170 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1171 (SUBDIRS): add bonobo, link in the libs.
1173 * cspi/spi-util.c: kill this file.
1175 * TODO: merge in my bits.
1177 2001-12-11 Michael Meeks <michael@ximian.com>
1179 * test/test-simple.c (test_value, test_table, main):
1180 remove unused variables causing warnings.
1182 * configure.in: cleanup checks - require gail.
1184 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1187 Changed Value interface to use SValue (scalars) rather than
1188 assuming all values are floats. This allows floats, doubles,
1189 longs, shorts, and unsigned values to be manipulated.
1190 Introduced Accessibility:SValue union.
1193 Updated to use new API above, and to work correctly with GValues
1194 of different types in AtkValue.
1197 Updated to use new API above. cspi's API is as yet unchanged.
1200 Updated the Value revision action item.
1202 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1204 * test/test-simple.c:
1205 Added test_table (GtkTreeView widget in test window to follow).
1206 Un-commented test_value, added GtkRange widget.
1207 Added GtkTreeView widget with GtkListStore. It passes regression
1208 test but leaks one SPI object for some reason.
1211 Fixed bug in impl__set_currentValue.
1213 2001-12-10 Michael Meeks <michael@ximian.com>
1215 * cspi/spi_text.c: audit for exception handling,
1216 tolerating NULL object references safely etc.
1218 * cspi/spi_value.c: ditto.
1220 * cspi/spi_table.c (AccessibleTable_getSummary),
1221 (AccessibleTable_getAccessibleAt),
1222 (AccessibleTable_getRowHeader),
1223 (AccessibleTable_getColumnHeader),
1224 (AccessibleTable_getCaption): fix bugs hidden by
1226 (long_seq_to_array): impl.
1227 (AccessibleTable_getSelectedRows),
1228 (AccessibleTable_getSelectedColumns): use it.
1230 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1233 Added a TODO list (rough and short for now).
1235 * cspi/spi_hyperlink.c:
1236 * cspi/spi_hypertext.c:
1237 Fixed macro name typos, and remove use of obsolete macro in
1238 AccessibleHyperlink_getLink.
1240 * cspi/spi_action.c:
1241 * cspi/spi_accessible.c:
1242 * cspi/spi_application.c:
1243 * cspi/spi_component.c:
1244 * cspi/spi_selection.c:
1247 Documentation fixes (removed return values from ref/unref methods).
1249 2001-12-10 Michael Meeks <michael@ximian.com>
1251 * cspi/spi_action.c: audit for exception handling,
1252 tolerating NULL object references safely etc.
1254 * cspi/spi_accessible.c: ditto.
1256 * cspi/spi_component.c: ditto.
1258 * cspi/spi_editabletext.c: ditto.
1260 * cspi/spi_hyperlink.c: ditto.
1262 * cspi/spi_hypertext.c: ditto.
1264 * cspi/spi_image.c: ditto.
1266 * cspi/spi_selection.c: ditto.
1268 2001-12-10 Michael Meeks <michael@ximian.com>
1270 * configure.in: use cspi/libspi.pc.in instead.
1272 * Makefile.am (pkgconfig_DATA): upd. to match.
1274 * test/simple-at.c (report_focus_event): kill hacks around
1275 bad return values, use putenv not setenv
1277 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
1278 fire ChildGone - I killed it.
1280 * libspi/component.c
1281 (impl_accessibility_component_get_extents): remove
1284 * idl/Accessible.idl: kill ChildGone exception.
1286 * cspi/*.[ch]: kill int return from ref / unref.
1288 * cspi/spi_main.c (cspi_object_add_check): fold into
1289 (cspi_object_add): here.
1291 * cspi/spi_component.c (AccessibleComponent_getExtents):
1292 handle exceptions elegantly.
1294 * cspi/spi-private.h (cspi_check_ev_return),
1295 (cspi_return_if_fail): impl.
1297 * cspi/spi_accessible.c: use extensively.
1298 (AccessibleStateSet_equals): add direct compare check.
1300 * cspi/spi_selection.c: tolerate NULL objs, and check
1301 exceptions before return.
1303 * cspi/spi-util.c (cspi_warn_ev): rename to
1304 (cspi_check_ev): this & don't pass ev in; no point.
1306 2001-12-10 Michael Meeks <michael@ximian.com>
1308 * test/test-simple.c: use putenv not setenv
1309 (get_environment_vars): more chatty if you're not using
1312 * test/simple-at.c: do the setenv so more people see the
1315 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1317 * libspi/registry.c:
1318 Changed check of CORBA_environment on notification to be a warning
1319 instead of an error for the moment, since we can recover from this
1320 error when caused by a queued notification from a dead app.
1323 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
1324 used by all current implementors of AtkValue), and coerce to
1325 CORBA_float. (Proper general case fix may require change to Value.idl).
1327 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1331 * cspi/spi_accessible.c:
1332 Documentation fixes: added user_data params to documentation for
1333 listeners and callbacks.
1335 * cspi/spi_accessible.c:
1336 Changed AccessibleStateSet_compare to return a
1337 StateSet rather than return the difference set into a third parameter.
1340 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1343 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
1344 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
1348 Remove subdirectory po from SUBDIRS for now.
1350 * at-bridge/bridge.c:
1351 Beefed up a couple of debug printouts.
1352 One-line fix for signal notification name formatting.
1354 * libspi/accessible.c:
1355 Added assertion to spi_accessible_new ().
1357 * libspi/application.c:
1358 Put #ifdef qualifiers around a printf.
1361 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
1363 * registryd/Makefile.am:
1365 Replaces use of XML_I18N_MERGE_SERVER_RULE with
1366 INTLTOOL_SERVER_RULE macro.
1369 Added an event listener for several ATK signals, for
1370 testing and debugging. Removed a few g_warnings.
1371 Added test output if focussed item implements the Value interface.
1373 * test/test-simple.c:
1374 Added test_value () function (known not to pass at the moment, so
1375 not actually called yet.
1377 2001-12-08 Michael Meeks <michael@ximian.com>
1379 * at-bridge/bridge.c (bridge_focus_tracker),
1380 (emit_eventv): fix the same ref. leak.
1381 (register_atk_event_listeners): don't leak.
1383 * cspi/spi-listener-impl.c (cspi_event): more
1384 protection from client code.
1386 * test/test-simple.c (test_desktop): unref the app.
1388 * test/Makefile.am: upd. TESTS.
1390 * at-bridge/bridge.c (bridge_exit_func): release the registry.
1392 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
1394 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
1396 * cspi/spi_registry.c: constify in strings.
1397 (deregisterGlobalEventListenerAll): don't release the ref.
1399 * cspi/spi.h: start removing redundant / conflicting
1400 gtkdoc comments, making the API readable at a glance :-)
1402 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
1404 * test/keysynth-demo.c (keysynth_exit, main): upd.
1406 * test/simple-at.c (main, simple_at_exit): upd.
1408 * test/test-simple.c (unutterable_horror): kill.
1409 (utterable_normal_derefs): kill.
1410 (main): upd & do a setenv before gtk_init, so that we
1411 can use memprof - and to save the pain of remembering
1412 this, if we're running under memprof - don't exit.
1414 * cspi/spi_main.c (SPI_exit): return exit status
1416 (SPI_event_quit): impl.
1417 (SPI_event_main): simplify.
1418 (cspi_is_gnome_app): kill.
1419 (SPI_init): kill isGNOMEapp arg.
1421 * at-bridge/bridge.c (register_atk_event_listeners):
1422 re-instate the unref.
1423 (bridge_exit_func): don't re-activate the registry,
1424 protect vs. theoretical re-entry, use the
1425 AT_BRIDGE_SHUTDOWN env. var to determine whether to
1426 assert a clean shutdown - for regression tests.
1428 2001-12-08 Abel Cheung <maddog@linux.org.hk>
1430 * configure.in: Comment out dummy i18n support for now,
1431 otherwise it fails to build.
1432 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
1433 EXTRA_DIST. They are missing in tarball.
1435 2001-12-07 Michael Meeks <michael@ximian.com>
1437 * util/magnifier.c: kill bonobo activation reg. race.
1439 * libspi/component.c
1440 (impl_accessibility_component_get_extents): make it match
1443 * libspi/registry.c (_registry_notify_listeners):
1444 re-remove X headers & reconcile conflicts.
1445 (spi_listener_struct_free): bad conflict resolve.
1446 (impl_accessibility_registry_register_application):
1447 more bad merging fixed.
1448 (impl_accessibility_registry_deregister_application): ditto.
1449 (spi_registry_new): ditto.
1450 (spi_registry_init): don't have an applications field.
1452 [ merge fixups2 branch to here ]
1453 2001-12-07 Michael Meeks <michael@ximian.com>
1455 * test/simple-at.c (report_focus_event),
1456 (report_focussed_accessible): remove g_warning debug.
1458 2001-12-07 Michael Meeks <michael@ximian.com>
1460 * test/test-simple.c (validate_tree): comment out some checks.
1461 (test_desktop): app now not registered idly - horay.
1463 2001-12-07 Michael Meeks <michael@ximian.com>
1465 * cspi/spi_registry.c
1466 (registerAccessibleKeystrokeListener): clean, stop it leaking
1467 great swathes of memory, and device event controller references.
1468 ensure we always pass valid sequences.
1469 (deregisterAccessibleKeystrokeListener): ditto.
1470 (generateKeyEvent): upd.
1472 * at-bridge/bridge.c (bridge_key_listener): handle
1473 registry dead exception gracefully.
1474 (bridge_focus_tracker, emit_eventv): free ev.
1476 * test/simple-at.c (report_focus_event): fix polarity.
1478 * libspi/application.c (notify_listeners): kill the ev
1479 argument, and make sure we init the ev we use.
1480 (spi_application_object_event_listener): split out a chunk
1481 (get_atk_object_ref): here & fixup.
1482 (reverse_lookup_name_for_toolkit_event): make const.
1483 (spi_application_toolkit_event_listener): fixup, kill leaks
1486 * at-bridge/bridge.c (register_atk_event_listeners):
1487 don't unref the noop object - causes grief.
1489 * libspi/registry.c: remove the X headers.
1490 turn off the debug churn.
1492 * libspi/accessible.c (spi_accessible_new_return): only
1493 release the ref if we are supposed to [doh]
1495 * test/simple-at.c (report_button_press, report_focus_event):
1496 guard vs. unexpected exit.
1498 * at-bridge/bridge.c (gtk_module_init): prune printf.
1499 (bridge_exit_func): fix app unref.
1501 * libspi/Makefile.am: don't install registry or desktop.h
1503 * libspi/*.h: update includes.
1505 * libspi/application.h: don't include ourself, or
1506 other redundant headers.
1508 2001-12-06 Michael Meeks <michael@ximian.com>
1510 * libspi/accessible.c
1511 (get_accessible_from_servant): impl.
1512 Upd. all CORBA impl.s to use it killing cut and paste.
1514 * cspi/spi_main.c (cspi_cleanup): guard vs. double
1516 (SPI_init): register atexit cleanup handler here.
1518 2001-12-06 Michael Meeks <michael@ximian.com>
1520 * at-bridge/bridge.c (gtk_module_init): g_error on
1521 activation exception
1523 2001-12-06 Michael Meeks <michael@ximian.com>
1525 * at-bridge/bridge.c (gtk_module_init): some sort of
1526 confusing merge clash - reverted.
1527 (bridge_idle_init): ditto.
1529 * test/test-simple.c (main, utterable_normal_derefs):
1530 merge from Bill - somehow not committed.
1532 2001-12-06 Michael Meeks <michael@ximian.com>
1534 * libspi/value.c (spi_value_class_init): upd.
1535 (spi_value_finalize): kill.
1537 * libspi/table.c (spi_table_finalize): kill.
1538 (spi_table_interface_new): upd.
1539 (spi_table_class_init): upd.
1540 (get_table_from_servant): impl.
1541 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1543 * libspi/selection.c (spi_selection_finalize): kill.
1544 (spi_selection_interface_new): upd.
1545 (spi_selection_class_init): upd.
1546 (get_selection_from_servant): impl.
1547 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1549 * libspi/relation.c (spi_relation_finalize): kill.
1550 (spi_relation_class_init, spi_relation_new): upd
1552 * libspi/image.c (spi_image_finalize): kill.
1553 (spi_image_class_init): upd.
1554 (spi_image_interface_new): upd.
1555 (get_image_from_servant): impl.
1556 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1558 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
1559 (spi_hyperlink_finalize): kill.
1560 (spi_hyperlink_new): upd.
1561 (get_hyperlink_from_servant): impl.
1562 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1564 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
1565 (spi_hypertext_finalize): kill.
1566 (spi_hypertext_class_init): upd.
1567 (get_hypertext_from_servant): impl.
1568 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1570 * libspi/editabletext.c (spi_editable_text_finalize): kill.
1571 (spi_editable_text_interface_new): upd.
1572 (get_editable_text_from_servant): impl.
1573 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1575 * libspi/text.c (get_text_from_servant): impl.
1576 All impls - update to use it killing more cut and paste,
1577 also fix bad string returns on duff args ( a somewhat
1578 impossible case to handle - but hey ).
1579 (spi_text_construct): impl.
1580 (spi_text_interface_new): upd.
1581 (spi_text_object_finalize): kill.
1583 * libspi/component.c
1584 (accessibility_component_object_finalize): kill.
1585 (spi_component_class_init): upd.
1586 (get_component_from_servant): impl. helper to kill cut & paste.
1587 (impl_accessibility_component_contains):
1588 (impl_accessibility_component_get_accessible_at_point):
1589 (impl_accessibility_component_get_position):
1590 (impl_accessibility_component_get_extents):
1591 (impl_accessibility_component_get_mdi_z_order):
1592 (impl_accessibility_component_get_layer):
1593 (spi_component_interface_new): upd.
1595 * libspi/action.c (spi_action_finalize): kill.
1596 (spi_action_class_init): upd. inherit from SpiObject.
1597 (spi_action_interface_new): upd.
1598 (get_action_from_servant): impl. helper to reduce cut & paste.
1599 (impl_getKeyBinding, impl_getName, impl_doAction),
1600 (impl_getDescription): Use it everywhere.
1602 * cspi/spi_main.c (get_live_refs): a pointer hash.
1603 (spi_object_hash, spi_object_equal): comment out.
1604 There are issues with CORBA object hashing that need
1607 * libspi/application.c (spi_application_init),
1608 (spi_application_new): upd.
1610 * libspi/accessible.c (spi_accessible_object_finalize): kill.
1611 (spi_accessible_class_init): upd.
1612 s/accessible/object/ in epv methods.
1614 2001-12-05 Bill Haneman <bill.haneman@sun.com>
1616 * at-bridge/bridge.c:
1617 Reorder the bridge initialization into the bridge gtk_module_init,
1618 an immediate call to bridge_register_app, and an idle_add for
1619 register_atk_event_listeners (the only code that *must* wait until
1620 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
1621 the activation, creates the application's Accessible object, and
1622 queues the bridge_idle_init function. Restored call to
1623 Accessibility_Registry_deregisterApplication().
1624 Prior to making this call we obtain a new reference to the
1625 registry, which is a temporary hack that helps us handle apps that
1626 shut down the bonobo mainloop before we get there.
1628 * libspi/registry.c:
1629 Fix string leakage in debug block, and don't segv if a an app
1630 dies before its event notifications have been propagated.
1633 Modify cspi_check_ev() to call g_warning() rather than g_error(),
1634 as stopgap measure until we get proper exception handling when
1635 objects die during or before interrogation.
1639 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
1640 Also changed default value of is_gnome_app to TRUE.
1643 * test/keysynth-demo.c:
1644 Changed use of SPI_init and SPI_event_main to reflect API change above.
1647 Made report_focus_event check the warning value from getName
1648 before reporting on focussed accessible; simplifies handling of
1649 notifications from dead objects.
1651 * test/test-simple.c: (Changes not in this patch since source is
1654 2001-12-05 Michael Meeks <michael@ximian.com>
1656 * registryd/registryd.c (main): protect against
1657 bonobo-activation startup race condition.
1659 * cspi/spi_main.c (cspi_object_add_check): cope
1660 with the exception elegantly.
1662 * idl/Accessible.idl: decl. ChildGone
1664 * libspi/desktop.c (spi_desktop_dispose): impl.
1665 (spi_desktop_class_init): upd.
1666 (spi_desktop_add_application),
1667 (spi_desktop_remove_application),
1668 (abnormal_application_termination): impl.
1669 (impl_desktop_get_child_at_index): re-impl.
1672 (impl_accessibility_registry_deregister_application),
1673 (impl_accessibility_registry_register_application):
1674 kill excessive debug clutter.
1676 * test/test-simple.c (test_misc): test some NULL
1677 tolerance. (main): upd.
1679 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
1680 implements no interfaces - so let's not crash.
1682 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
1684 * libspi/accessible.c (spi_accessible_new_return): impl.
1685 helper to calm the cut and paste, to cope with
1686 NULL AtkObjects effectively and efficiently, and to kill
1687 the referencing bugs.
1689 * libspi/table.c (impl_getAccessibleAt),
1690 (impl_getRowHeader, impl_getColumnHeader): upd.
1692 * libspi/hyperlink.c (impl_getObject): upd.
1694 * libspi/accessible.c
1695 (impl_accessibility_accessible_get_child_at_index): upd.
1697 * libspi/component.c
1698 (impl_accessibility_component_get_accessible_at_point): upd.
1700 * test/test-simple.c (test_editable_text, test_text): impl.
1703 * cspi/spi_editabletext.c
1704 (AccessibleEditableText_insertText): constify.
1706 * test/test-simple.c (focus_me): make more robust.
1708 * libspi/accessible.c: remove some printfs in methods that
1709 we test and work fine, so we can get a clean tree dump.
1711 * test/test-simple.c (validate_accessible),
1712 (validate_tree): make tree dumping pretty too.
1714 * at-bridge/bridge.c (bridge_signal_listener): upd. so
1715 it builds without debug on.
1717 * test/test-simple.c (validate_accessible): fix the most
1720 * cspi/spi_main.c (spi_object_release): leave the nicely
1721 blanked memory around if in debug mode.
1723 * cspi/spi-listener-impl.c (cspi_event): use add_check.
1725 [committed to fixups2]
1726 2001-12-05 Michael Meeks <michael@ximian.com>
1728 * libspi/editabletext.c
1729 (spi_editable_text_class_init): g_type_class_peek_parent,
1730 not interface peek - so we finalize cleanly.
1732 * libspi/accessible.c (spi_accessible_new): kill debug.
1734 * test/test-simple.c (validate_accessible): fix ref.
1735 leak, print strings before freeing them; sigh, comment a
1736 chunk out due to strangeness.
1737 (validate_tree): unref the child after use.
1739 * cspi/spi_component.c (AccessibleComponent_getLayer):
1740 add missing break statement, switch on zlayer not the
1741 uninitialized retval.
1743 * cspi/spi_main.c (cspi_object_add): add assert, local ref
1744 before (possibly re-entering) remote unref.
1746 * test/simple-at.c (main): unref the desktop.
1748 * cspi/spi_accessible.c (cspi_accessible_is_a): move
1751 * cspi/spi_main.c (cspi_accessible_is_a): here to
1752 isolate bonobo API usage more.
1754 * libspi/registry.c (impl_accessibility_registry_register_application):
1755 prune bogus comment.
1757 2001-12-04 Michael Meeks <michael@ximian.com>
1759 * test/test-simple.c (validate_tree): upd.
1760 IndexInParent check to make it more lucid.
1761 (validate_accessible): dump the tree.
1763 * libspi/accessible.c (de_register_public_ref),
1764 (get_public_refs): impl.
1765 (spi_accessible_new): make more efficient & intuitive.
1766 Now IndexInParent check works.
1768 2001-12-04 Michael Meeks <michael@ximian.com>
1770 * cspi/spi-util.h: remove.
1772 * cspi/spi.h: move SPI_freeString here
1774 * libspi/component.c (impl_accessibility_component_get_layer):
1776 (impl_accessibility_component_get_mdi_z_order): ditto,
1777 return -1 on error - is this ok ?
1779 * test/test-simple.c (test_application): impl.
1781 * cspi/spi_accessible.c (Accessible_getApplication),
1782 (Accessible_isApplication): impl.
1784 * libspi/registry.c (spi_listener_struct_free): release
1785 the CORBA reference too.
1787 * libspi/accessible.c
1788 (impl_accessibility_accessible_get_parent): fix ref leak.
1790 * libspi/registry.c (spi_registry_new): make the registry
1791 immortal - we don't want it to go away ever.
1793 * libspi/application.c
1794 (spi_accessible_application_finalize): impl. cleanup.
1796 * cspi/spi_registry.c
1797 (deregisterGlobalEventListenerAll),
1798 (deregisterGlobalEventListener),
1799 (deregisterAccessibleKeystrokeListener): fix ref leak.
1801 * cspi/spi_main.c (SPI_init): remove redundant ref.
1803 * test/test-simple.c (unutterable_horror): impl. to force a
1808 (impl_accessibility_registry_deregister_application): release
1809 the application when we de-register it.
1811 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1812 until we have the infastructure to get it right.
1814 2001-12-03 Michael Meeks <michael@ximian.com>
1816 * libspi/Makefile.am: only build eventlistener.[ch]
1818 * libspi/accessible.c
1819 (impl_accessibility_accessible_get_child_at_index): don't leak.
1821 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1822 before we hit the idle handler.
1824 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1825 debugging than exit.
1827 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1829 * libspi/listener.c (impl_notify_event): check source
1830 not NIL before unref.
1832 * libspi/registry.c (impl_registry_notify_event): ditto.
1834 * libspi/eventlistener.c
1835 (impl_accessible_event_notify_event): unref the source.
1837 * libspi/accessibleeventlistener.c
1838 (impl_accessible_event_notify_event): unref the source.
1840 * idl/Event.idl: remove 'hash_id' attribute - of no
1843 * libspi/application.c (notify_listeners): upd list
1845 (spi_application_object_event_listener),
1846 (spi_application_toolkit_event_listener): upd to do correct
1850 (_registry_notify_listeners): update.
1851 (parse_event_type): this method also leaks like a sieve.
1852 (impl_accessibility_registry_deregister_global_event_listener):
1853 fix ETYPE_WINDOW case.
1855 * libspi/application.c
1856 (impl_accessibility_application_register_object_event_listener):
1859 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1861 * libspi/hypertext.c (impl_getLink): ditto.
1863 * cspi/spi_main.c (cspi_object_add): remove
1864 bogus CORBA_Object_duplicate.
1866 * cspi/spi-listener-impl.c (cspi_event): dup/ref
1869 * cspi/spi_accessible.c
1870 (Accessible_getRelationSet): fix leak / referencing issue.
1872 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1873 (cspi_object_add, cspi_object_unref): upd.
1874 (spi_object_release, get_live_refs): impl.
1875 (cspi_cleanup): simplify.
1877 * *.[ch]: s/boolean/SpiBoolean/
1879 * cspi/spi_accessible.c (role_names): actualy order so it
1880 corresponds with the enum !
1882 * test/test-simple.c (test_roles): check some role strings
1883 vs. enums to detect offset errors.
1885 2001-12-01 Michael Meeks <michael@ximian.com>
1887 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1889 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1891 (Accessible_getChildAtIndex): use cspi_add_check so we
1892 check the ev before using a (possibly) invalid value.
1894 * libspi/accessible.c
1895 (impl_accessibility_accessible_get_parent): don't segv
1898 * at-bridge/bridge.c (gtk_module_init): upd.
1899 (bridge_property_event_listener): don't leak strings
1901 (bridge_state_event_listener),
1902 (bridge_property_event_listener): don't use a static
1903 buffer in case of recursive event emission &
1904 re-enterancy - split out the swathe of cut and paste
1906 (emit_eventv): and fix 2 ref leaks here & comply to the
1908 (bridge_register_app): rename to
1909 (bridge_idle_init): this and kill arg parsing, split
1910 various inits & bonobo-activation registration to module
1911 init time, kill referencing error.
1912 (bridge_exit_func): fix the same leak.
1913 (bridge_focus_tracker): don't leak event structures
1915 (bridge_signal_listener): more leakage and cut & paste
1917 (bridge_key_listener): return the result - FIXME is
1918 this polarity correct ?
1919 (accessibility_keystroke_from_atk_key_event): rename
1920 (accessibility_init_keystroke_from_atk_key_event): and stop
1922 (gtk_module_init): return a value - not that it is checked by
1924 (bridge_key_listener): register my horror at casting between
1925 IDL defined structs.
1926 (bridge_get_registry): kill - not used.
1928 * cspi/spi_accessible.c (Accessible_getRole): make return const.
1930 * test/test-simple.c (test_roles): impl.
1931 (test_desktop, validate_accessible, validate_tree): impl.
1933 * cspi/spi_accessible.c (role_names): fixup bogus
1934 MAX_ROLES setup, make constants const for efficient linkage
1935 (AccessibleRole_getName): conform to coding style, make
1938 2001-11-30 Michael Meeks <michael@ximian.com>
1940 * cspi/spi.h: add missing prototype.
1942 * libspi/registry.c (spi_listener_struct_new): fix sig.
1944 * test/Makefile.am: add test-simple
1946 * test/test-simple.c: add
1948 * test/test.sh: add.
1950 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1952 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1953 do it straight - since otherwise we often get an activation race.
1955 [ work before Bill duplicated a chunk of it ... ]
1956 2001-11-30 Michael Meeks <michael@ximian.com>
1958 * libspi/keystrokelistener.c
1959 (spi_keystroke_listener_class_init): fixup arg
1962 * libspi/eventlistener.c
1963 (spi_event_listener_class_init): ditto.
1965 * tests/test.sh: add.
1967 * cspi/spi-listener-impl.h: update macros.
1969 * cspi/spi-listener-impl.c
1970 (cspi_event_listener_remove_callback): add
1971 correct pre-conditions.
1973 * cspi/spi_main.c (SPI_exit): guard vs. double
1974 exits, exit the mainloop nicely.
1975 (SPI_event_main): make more sense.
1976 (SPI_init): move the atexit evilness here so we
1977 always do it (yuck).
1978 (SPI_event_main): upd.
1980 * test/simple-at.c: update for listener changes.
1982 * registryd/registryd.c (main): prune kruft.
1984 * libspi/libspi.h: upd.
1986 * libspi/eventlistener.[ch]: rename broken macros.
1988 * libspi/accessibleeventlistener.[ch]: remove.
1990 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
1992 * test/test-simple.c: Add - automated tests.
1994 * cspi/spi-listener-impl.c (cspi_event),
1995 (cspi_key_event): add user_data to invoke.
1996 (cspi_keystroke_listener_finalize): impl.
1997 (cspi_keystroke_listener_class_init): upd.
2000 (createAccessibleEventListener),
2001 (AccessibleEventListener_addCallback),
2002 (createAccessibleKeystrokeListener),
2003 (AccessibleKeystrokeListener_addCallback): upd.
2005 * libspi/deviceeventcontroller.c
2006 (spi_device_event_controller_check_key_event): add public proto.
2009 (impl_accessibility_registry_deregister_global_event_listener):
2010 always init listeners.
2011 (_registry_notify_listeners): yes it is.
2013 * cspi/spi-listener-impl.c (cspi_key_event):
2015 (cspi_event_listener_finalize): impl.
2016 (cspi_event_listener_class_init): hook up.
2017 (event_handler_new, event_handler_free),
2018 (event_list_remove_by_callback): impl.
2019 (cspi_event_listener_remove_callback),
2020 (cspi_keystroke_listener_remove_callback),
2021 (cspi_keystroke_listener_add_callback),
2022 (cspi_event_listener_add_callback): upd.
2024 * libspi/keystrokelistener.c
2025 (keystroke_listener_object_finalize): kill
2026 (spi_keystroke_listener_class_init): upd.
2027 (spi_keystroke_listener_add_callback),
2028 (spi_keystroke_listener_remove_callback): kill,
2030 (impl_key_event): prune drasticaly.
2032 * libspi/eventlistener.c
2033 (spi_event_listener_add_callback),
2034 (spi_event_listener_remove_callback): kill, use
2036 (impl_accessible_event_notify_event): upd.
2037 (spi_event_listener_object_finalize): remove.
2039 * libspi/Makefile.am: use eventlistener.[ch]
2041 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2043 * libspi/registry.c (_registry_notify_listeners):
2044 Changed listener loop iteration to use preferred convention.
2045 Got rid of string memory leaks caused be calling g_strconcat
2046 inside function calls.
2048 * libspi/registry.c (parse_event_type):
2049 Stopped g_strconcat memory leaks, free the g_strsplit return,
2050 g_strdup the split pieces when used, etc.
2052 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2055 Change method 'compare' to return a 'difference set' rather than
2056 taking a StateSet as an out parameter (more Java-friendly).
2058 * idl/Accessible.idl:
2059 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2061 * idl/Component.idl:
2063 Changed methods 'getExtents' and 'getImageExtents' in these
2064 interfaces to return a BoundingBox structure.
2065 (getPosition and getSize are redundant and possibly should be
2066 removed, rather than creating a corresponding Point struct.)
2068 * cspi/spi_component.c:
2069 Modify implementation of getExtents to reflect the above IDL
2074 Add (missing) AccessibleImage_getExtents () API.
2076 * docs/reference/cspi/at-spi-cspi-sections.txt:
2077 Added AccessibleImage_getImageExtents () to docs.
2079 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2081 * idl/Component.idl:
2082 Added two methods, getLayer () and getMDIZOrder (), to reflect
2083 the new ATK methods atk_object_get_layer and
2084 atk_object_get_mdi_z_order. (Which arguably should be part of the
2085 AtkComponent API and AtkObject). Also added an enum,
2086 ComponentLayer, for the first method's return value.
2088 * libspi/component.c:
2089 Added implementations for these methods.
2091 * cspi/spi_component.c:
2093 Added cspi binding methods for above,
2094 AccessibleComponent_getLayer() and
2095 AccessibleComponent_getMDIZOrder().
2096 Added cspi enum 'AccessibleComponentLayer'.
2098 * docs/reference/cspi/at-spi-cspi-sections.txt:
2099 Added above methods to docs.
2103 Changed typedef for 'boolean' type (and all references to it) to
2104 SPIBoolean, to avoid keyword clashes with C++.
2107 Changed usages of 'boolean' to SPIBoolean.
2109 * test/keysynth-demo.c:
2110 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2111 app), except where SPIBoolean is required by the callbacks API.
2113 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2115 * cspi/spi_registry.c:
2116 Removed obsolete X event loop for passive keygrabs (which now
2119 * registryd/registryd.c:
2120 Removed unnecessary call to gdk_init() [cruft]. This also allows
2121 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2124 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2126 * docs/reference/cspi:
2127 Included docs for SPI_freeString in generated documentation.
2130 Renamed spi_freeString to SPI_freeString, for consistency. Added
2131 documentation for this function.
2134 Renamed spi_freeString to SPI_freeString, for consistency.
2135 Removed obsolete method declaration string_from_corba_string.
2137 * test/keysynth-demo.c:
2138 Small tweak to comments.
2141 Stopped leaking the strings returned from CSPI.
2143 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2145 Merged Michael's branch (see his ChangeLog entries below).
2147 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2148 bridge is alive, release on exit.
2150 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2151 Fix type check macro.
2154 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2157 Added is_gnome_app static, and method cspi_is_gnome_app(),
2158 so we can call the appropriate shutdown routine at exit in SPI_exit.
2160 * cspi/spi_main.c (cspi_object_ref):
2161 Duplicate the corba object passed in, since we're keeping it around.
2163 * cspi/SPI_exit.c, cspi_cleanup:
2164 Moved the releasing of the live refs to its own function, so we
2165 can put it in g_atexit (). Call the appropriate shutdown API
2166 depending on whethe calling client is a gnome app or not
2167 (bonobo_main_quit or CORBA_ORB_shutdown).
2169 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2170 Unref the listener when this method is called, after
2171 deregistration. Updated the API docs to note this behavior.
2173 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2174 Bugfixes: Ref the bonobo object when returning a parent or child
2175 reference, or an AccessibleRelation. Generally made sure
2176 BonoboObject refcount is incremented whenever we return an
2179 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2180 Fixed typo/bug in signal declaration.
2182 * libspi/accessibleeventlistener.h:
2185 * libspi/application.c (spi_application_new):
2186 Fixed leak in initialization.
2189 Remembered to increment bonobo-object refcount when returning
2190 children (applications) from desktop object.
2191 Added (empty) finalize method.
2193 * libspi/deviceeventcontroller.c:
2194 Hold a ref to listeners inside DEControllerKeyListeners.
2195 Added dec_key_listener_free() method. Use prepend instead of
2196 append in key_listener list. Fixed some refcount madness and
2197 leaks in the listener registration/deregistration - deregistration
2198 now calls dec_key_listener_free() on listeners, and on the
2199 temporarily constructed dec_key_listener() used to perform the search/match.
2201 * libspi/hypertext.c (spi_hypertest_finalize):
2202 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2203 class. Also fixed spi_hypertext_interface_new() and
2204 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2206 * libspi/hypertext.h:
2207 Removed pointless and duplicate AtkObject pointer from
2210 * libspi/keystrokelistener.c:
2211 Fixed incorrect type of keystroke_listener_parent_class,
2212 renamed keystroke_listener_object_finalize to
2213 spi_keystroke_listener_object_finalize.
2214 Fixed typo in signal declaration
2215 (spi_keystroke_listener_class_init).
2217 * libspi/registry.c:
2218 Added funcsions spi_listener_struct_new() and
2219 spi_listener_struct_free() to help with memory management issues.
2220 We also now use these methods instead of gnew + poking stuff into
2221 the struct, and to decrement listener counts/free the listeners
2222 when deregistering them.
2223 Fix more refcount bugs in getDesktop() and
2224 getDeviceEventController().
2227 De-ref the desktop after enumerating the applications. Explicitly
2228 decrement the refcounts on the created listeners on exit (using
2229 _unref for keystroke listeners, and via the
2230 deregisterGlobalEventListenerAll command for other event
2233 2001-11-27 Michael Meeks <michael@ximian.com>
2235 * cspi/spi-listener.h: fixup enum.
2237 2001-11-27 Michael Meeks <michael@ximian.com>
2239 * cspi/spi-listener-impl.c (cspi_event_listener_new),
2240 (cspi_keystroke_listener_new): Use the cspi variants.
2242 2001-11-26 Michael Meeks <michael@ximian.com>
2244 * test/keysynth-demo.c: fix 2 compile warnings, missing
2247 * test/simple-at.c (report_focussed_accessible),
2248 (report_focus_event, report_button_press),
2249 (check_property_change, is_command_key),
2250 (report_ordinary_key_event, report_command_key_event): upd.
2252 * util/mag_client.h: include pre-requisites.
2254 * libspi/accessibleeventlistener.c
2255 (spi_event_listener_object_finalize): free any lingering
2258 * libspi/keystrokelistener.c
2259 (keystroke_listener_object_finalize): ditto.
2261 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
2262 callbacks, with cspi types.
2264 * cspi/spi_event.c (createAccessibleEventListener): chain to
2265 (AccessibleEventListener_addCallback): here.
2266 (createAccessibleKeystrokeListener): chain to
2267 (AccessibleKeystrokeListener_addCallback): here.
2269 * libspi/keystrokelistener.c
2270 (spi_keystroke_listener_class_init): add signal.
2271 (impl_key_event): emit the event.
2272 (boolean_handled_accumulator): impl.
2273 (marshal_BOOLEAN__POINTER): add, gack.
2275 * libspi/accessibleeventlistener.c
2276 (spi_event_listener_class_init): add signal.
2277 (impl_accessible_event_notify_event): emit the signal &
2278 make the loop efficient.
2279 (spi_event_listener_add_callback): prepend the callback.
2281 * libspi/accessibleeventlistener.h: add an 'event' signal,
2282 decl type on callback.
2284 * libspi/keystrokelistener.h: ditto.
2286 * cspi/spi-listener.h: make methods typesafe and
2287 make them use the new event typedefs.
2289 * test/simple-at.c (report_focussed_accessible):
2290 include mag_client.h
2291 Use *(void *)text_interface not the other thing.
2293 * configure.in: add gtk to registryd bits - since we use
2296 * util/magnifier.c: include libbonobo.h
2298 2001-11-25 Bill Haneman <bill.haneman@sun.com>
2300 * test/keysynth-demo.c:
2301 Turned this into a simple scanning keyboard, to demonstrate the
2302 use of g_timeout_add () as a means of creating timers for
2303 scanning, and the use of GtkStyle for visually indicating when
2304 virtual keyboard elements are selected.
2306 keysynth-demo now listens to any keyboard keys with zero-valued
2307 keycodes (i.e. 'unused' keys) and interprets them as
2310 Reworked the shiftlatch code so that shift-down state isn't held
2311 for long periods (it's only synthesized immediately prior to
2312 the keysynth event it's modifying). Note that shiftlatch in this
2313 demo is a convenience, not intended to take the place of AccessX
2314 which is the better choice for getting 'sticky' modifier keys.
2316 * libspi/deviceeventcontroller.c:
2317 * at-bridge/bridge.c:
2318 * cspi/spi_registry.c:
2319 Removed some debug print stuff, and put other verbosity in #ifdef
2324 Implemented some more of the magnifier IDL for the simple
2325 magnifier: namely, getZoomRegionParams.
2326 Added mag_x and mag_y members to MagnifierData struct, aid of this
2328 Added GtkWindow::realize signal handler to magnifier, to keep it
2329 from receiving keyboard focus from the WM.
2331 2001-11-23 Mark McLoughlin <mark@skynet.ie>
2333 * cspi/spi-private.h: my guess at what michael forgot
2334 before he ran off to NZ :-)
2336 2001-11-23 Michael Meeks <michael@ximian.com>
2338 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
2339 comment out non existant method invoke so we link.
2341 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
2342 use bonobo_exception_get_text for more friendly warnings.
2344 * cspi/spi.c (Obj_Add): move into spi_main & rename
2345 spi_object_add; kill spi.c
2347 * cspi/spi_registry.c
2348 (deregisterGlobalEventListener),
2349 (deregisterGlobalEventListenerAll),
2350 (registerGlobalEventListener): fix exception leaks.
2352 * cspi/spi_main.c (spi_exception): impl. helper, so we
2353 don't leak exceptions.
2355 * cspi/spi_selection.c
2356 (AccessibleSelection_deselectSelectedChild): return the
2359 * cspi/spi_main.c (spi_ev): impl; hack - gack.
2360 (spi_registry): ditto.
2361 (SPI_init): guard against double inits.
2363 * cspi/*.c: use spi_ev (), and spi_registry () where
2364 appropriate - a temporary hack until we have something
2365 better. Use spi_object_add
2367 2001-11-22 Michael Meeks <michael@ximian.com>
2369 * cspi/Makefile.am: re organise, install the headers.
2371 * cspi/*.h: add G_BEGIN/END_DECLS
2373 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2376 Added non-preemptive keylistener for key events with no modifiers
2377 and shift-only modifier.
2379 * libspi/keystrokelistener.c:
2380 Removed some verbose diagnostics printout.
2382 * cspi/spi_registry.c:
2383 Fixed a bug that caused all key listeners to be registered as
2386 * libspi/deviceeventcontroller.c:
2387 Fixed bug that caused XGrabKey (preemptive key grab) to be called
2388 for non-preemptive key masks.
2391 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2393 * docs/reference/idl/at-spi-idl-docs.sgml:
2394 * docs/reference/idl/at-spi-idl-sections.txt:
2395 * docs/reference/idl/at-spi-idl-overrides.txt:
2396 Added missing files.
2398 * docs/reference/Makefile.am:
2399 removed idl from SUBDIRS until we can figure a way to get gtk-doc
2400 to scan the IDL files :-(
2405 Added .cvsignore files.
2407 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2409 * libspi/deviceeventcontroller.c:
2410 * libspi/keystrokelistener.c:
2412 * cspi/spi_registry.c:
2413 Added filters for KeySets, KeyEventSeq, and event types to key
2414 event dispatching, so listeners should only receive those events
2415 that they requested :-)
2417 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2422 * docs/reference:Makefile.am:
2423 * docs/reference/cspi:
2424 * docs/reference/cspi:Makefile.am:
2425 * docs/reference/cspi:tmpl:
2426 * docs/reference/cspi:tmpl:*.sgml:
2427 * docs/reference/idl:
2428 * docs/reference/idl:Makefile.am:
2429 * docs/reference/idl:at-spi-idl-sections.txt:
2430 * docs/reference/idl:at-spi-idl-docs.sgml:
2431 * docs/reference/idl:tmpl:
2432 * docs/reference/idl:tmpl:*.sgml:
2434 Restructured docs directory to allow separate 'reference' docs
2435 section, and forked idl and cspi docs. Added the sgml template
2436 files to CVS. Added the first sections/structural sgml for the
2439 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
2441 * configure.in, libspi/Makefile.am: find libXtst.
2443 2001-11-21 Michael Meeks <michael@ximian.com>
2445 * test/accessx-gui.c: s/spi_value/value/ - doh.
2447 * libspi/base.[ch]: add.
2449 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2451 * idl/Accessible.idl:
2452 * idl/Application.idl:
2455 Started gtk-doc cleanup on IDL.
2457 * libspi/deviceeventcontroller.c:
2458 Added and connected non-preemptive key notification from the
2459 toolkits (in addition to the pre-emptive support from XServer
2460 which we had before, but which causes 'focus flashing'). Filters
2461 are presently limited to key modifiers and global/non-global,
2462 KeySets are presently ignored, as are KeyEvent masks.
2464 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
2465 structs into the persistant structure rather than just storing
2466 pointers to things that might not persist across servant
2469 The XGrabKey call now does async keygrabs, because synchronous
2470 ones were deadlocking with GDK_event code in a very nasty way.
2472 Added boolean to internal method notify_keylisteners, to indicate
2473 whether the event came from the 'toolkit source' or the 'global
2474 (XServer) source' - this is used in the notification process to
2475 determine which listeners to send the event to.
2477 deviceeventcontroller.c is now warning-free.
2479 * libspi/registry.c:
2480 Fixed regression in application de-registration.
2481 Also fixed some really brain-dead weirdness having to do with
2482 event dispatching - event structs are now duplicated before being
2483 re-marshalled in the dispatch to listeners. This also fixes a
2484 Solaris build problem.
2487 2001-20-11 Michael Meeks <michael@ximian.com>
2490 (impl_accessibility_registry_deregister_global_event_listener):
2493 * libspi/deviceeventcontroller.c
2494 (spi_device_event_controller_check_key_event): return
2495 FALSE on no virtual method.
2497 * libspi/*..h: make includes work on a correctly pathed install.
2499 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
2501 * libspi/application.h: kill unused ( and whacked out )
2502 gboolean *spi_application_set_id (AtkObject *app, long id);
2504 2001-20-11 Michael Meeks <michael@ximian.com>
2506 * libspi/*.[ch]: further convert to bonobo's type func
2507 macros, remove redundnant casts etc.
2509 * libspi/text.c s/accessibility_text/spi_text/g,
2510 re-order to de-cruft.
2512 * libspi/hypertext.c: re-order to kill a huge slew
2513 of redundant forward decls.
2515 * libspi/relation.c: ditto.
2517 * libspi/image.c: ditto.
2519 * */.cvsignore: update
2521 2001-20-11 Michael Meeks <michael@ximian.com>
2523 * libspi/deviceeventcontroller.c
2524 (_controller_register_with_devices): use g_getenv,
2525 kill stdlib.h include.
2527 * libspi/keystrokelistener.c
2528 (spi_keystroke_listener_get_type): kill
2529 (spi_keystroke_listener_class_init),
2530 (spi_keystroke_listener_init): rename to this.
2532 * libspi/text.c (impl_getAttributes): fix warning / bug.
2534 * libspi/*.[ch]: more headers, includes and over commenting.
2536 2001-20-11 Michael Meeks <michael@ximian.com>
2538 * libspi/*.[ch]: fixup headers, includes and over commenting.
2540 * libspi/image.c (impl__get_imageDescription): const
2541 correctness warning fix. remove redundant casting.
2543 * libspi/table.c (impl_getRowDescription): ditto.
2544 (impl_getColumnDescription): ditto.
2546 * libspi/libspi.h: add.
2548 2001-19-11 Michael Meeks <michael@ximian.com>
2550 * libspi/editabletext.c (impl_setAttributes): fix warnings.
2552 * libspi/component.c (accessibility_component_get_type):
2553 rename to (spi_component_get_type): and macroify.
2554 (accessibility_component_init): rename to
2555 (spi_component_init): this
2556 (accessibility_component_class_init): rename to
2557 (spi_component_class_init): this
2559 * libspi/action.c (spi_action_get_type): kill, use the macro.
2561 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
2564 * libspi/application.c (spi_application_object_event_listener),
2565 (impl_accessibility_application_register_object_event_listener):
2566 warning fixes / const understanding updates.
2568 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
2571 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2573 * libspi/spi_accessible.c: Added docs and C bindings for
2574 AccessibleStateSet. (No implementations yet). Documentation
2575 coverage for C bindings now 100%. Made docs for event listeners
2580 boolean notifyListenersSync (in DeviceEventListener listener,
2581 in DeviceEvent event);
2583 oneway void notifyListenersAsync (in DeviceEventListener listener,
2584 in DeviceEvent event);
2586 Added DeviceEventListener and DeviceEvent structs (may deprecate
2587 KeyStroke and KeystrokeListener in favor of this generic
2588 event/listener framework for devices).
2590 * libspi/deviceeventcontroller.c:
2592 Changed some key listener code to take masks, etc., and paved the
2593 way for integration of toolkit/non-preemptive key events. Changed
2594 signatures of some internal methods.
2596 * at-bridge/bridge.c:
2597 Fixed regression connecting to interface signals, apparently
2598 caused by GTK+ changes.
2600 Added an internal bridge_state_listener to deal with
2601 property-change:accessible-state signals.
2603 Changed the key_listeners GList to store structs (including masks,
2604 etc.) instead of just CORBA_Objects (required for full
2605 implementation of key listener API).
2607 Connected the bridge to all currently supported Atk signals.
2608 Events now supported:
2609 object:property-change
2610 object:property-change:accessible-name
2611 object:property-change:accessible-state
2612 object:property-change:accessible-description
2613 object:property-change:accessible-parent
2614 object:property-change:accessible-value
2615 object:property-change:accessible-role
2616 object:property-change:accessible-table-caption
2617 object:property-change:accessible-table-column-description
2618 object:property-change:accessible-table-column-header
2619 object:property-change:accessible-table-row-description
2620 object:property-change:accessible-table-row-header
2621 object:property-change:accessible-table-summary
2622 object:children-changed
2623 object:visible-data-changed
2624 object:selection-changed
2625 object:text-selection-changed
2627 object:text-caret-moved
2629 object:row-reordered
2631 object:column-inserted
2632 object:column-reordered
2633 object:column-deleted
2634 object:model-changed
2636 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2638 * libspi/hyperlink.c,h:
2639 Fixed some broken stuff in hyperlink.
2641 * libspi/relation.h:
2642 * libspi/relation.c:
2643 * cspi/spi_accessible.c:
2644 Initial implementations of AccessibleRelation methods, and docs.
2646 * libspi/accessible.c:
2647 Fixed a bug that caused SEGV if an accessible
2648 object's description is NULL, and a client
2649 requests it. An empty string is now returned.
2651 * cspi/spi_editabletext.c:
2652 * cspi/spi_hypertext.c:
2654 * cspi/spi_hyperlink.c:
2658 Doc coverage now 95%.
2660 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2662 One last namespacing revision:
2663 * libspi/accessibleeventlistener.[ch]:
2664 Renamed SpiAccessibleEventListener to SpiEventListener,
2665 (no need for two namespaces ;-)
2667 And lots of documentation fixes:
2669 * docs/at-spi-docs.sgml:
2670 Fixed 'underscore vs. hyphen' bug that was preventing
2671 the gtk-doc API docs from being automatically generated.
2674 * cspi/spi-listener.h
2676 * cspi/spi_accessible.c
2678 * cspi/spi_application.c
2679 * cspi/spi_component.c
2680 * cspi/spi_editabletext.c
2682 * cspi/spi_hypertext.c
2684 * cspi/spi_registry.c
2685 * cspi/spi_selection.c
2689 * docs/at-spi-docs.sgml
2690 * docs/at-spi-sections.txt
2692 Added and fixed up gtk-doc documentation in cspi.
2694 Interfaces now (fully) documented (subject to revision and enhancement):
2696 Event Listener Support
2698 AccessibleApplication
2702 AccessibleEditableText
2709 AccessibleRelationSet
2714 2001-14-11 Bill Haneman <bill.haneman@sun.com>
2716 * at-bridge/bridge.c:
2717 Initial work for toolkit-level key snooper connection by bridge.
2722 New typedefs and fixes to support new namespacing, and cleaner
2723 separation of cspi bindings from libspi bonobo implementation.
2724 Removed inconsistent and extraneous Spi* namespace prefix that
2725 had crept into cspi headers.
2726 Lots of comment fixes that sed had missed.
2728 * cspi/spi-roletypes.h:
2729 * cspi/spi-statetypes.h:
2730 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
2731 to AccessibleRoleType.
2733 * libspi/accessibleeventlistener.h:
2734 Fixed minor namespacing weirdness.
2736 * libspi/deviceeventcontroller.c:
2737 Reordered some internal API for device listeners.
2738 Changed the key registry final boolean to 'is_system_global'
2739 rather than 'is_synchronous', which is more descriptive of its
2741 Added spi_device_event_controller_new().
2742 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
2744 * libspi/keystrokelistener.[ch]:
2745 Namespaced KeystrokeListener to SpiKeystrokeListener.
2746 Changed uses of keymasks to use SPI_ prefix, and did other
2749 * libspi/keymasks.h:
2750 Namespaced keymask constants with SPI_ prefix.
2752 * libspi/registry.c:
2753 Some warning fixes, and knock-on fixes from namespace changes.
2756 Added rules for accessx-gui test program.
2758 * test/accessx-gui.c:
2759 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2760 utility. It doesn't actually use at-spi, but it's still cool and
2763 * test/keysynth-demo.c:
2767 Fixes so that these test clients work properly with the namespaced
2768 libraries. (Incompletely tested for technical reasons, fixes may follow)
2771 2001-13-11 Michael Meeks <michael@ximian.com>
2773 * libspi/application.c
2774 (impl_accessibility_application_get_version),
2775 (impl_accessibility_application_get_toolkit_name):
2777 (impl_accessibility_application_set_id),
2778 (impl_accessibility_application_get_id): remove
2779 redundant casting code.
2781 * libspi/action.c (impl_getDescription): fix warnings.
2783 * libspi/accessible.c
2784 (impl_accessibility_accessible_get_parent),
2785 (impl_accessibility_accessible_get_child_at_index),
2786 (impl_accessibility_accessible_get_state),
2787 (impl_accessibility_accessible_get_relation_set):
2788 warning fixes & include action.h
2790 2001-13-11 Michael Meeks <michael@ximian.com>
2792 * *.[ch] fix bits I screwed up:
2794 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2795 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2797 2001-13-11 Michael Meeks <michael@ximian.com>
2799 * *.[ch] Namespace libspi into spi_ and Spi.
2801 2001-13-11 Michael Meeks <michael@ximian.com>
2803 * Makefile.am: dist & install at-spi-1.0.pc
2805 * libspi/Makefile.am: install into at-spi-1.0
2807 * idl/Makefile.am (idldir): install into at-spi-1.0
2809 * at-spi-1.0.pc.in: add.
2811 * configure.in: build it.
2813 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2815 * test/keysynth-demo.c:
2816 Use a 'realize' signal-handler to set the WM properties for
2817 the virtual keyboard, rather than making it a "POPUP" type
2818 override-redirect window (thanks to anders carlsson for that
2821 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2824 * test/keysynth-demo.c:
2825 Added new test of key synthesis, which creates a simple
2826 (mouse-operated) onscreen keyboard. It inserts key events into
2827 the currently-focused window, thus it does not grab keyboard focus
2830 * cspi/spi_registry.c:
2831 Added C binding for AT-SPI generateKeyEvent.
2833 * libspi/deviceeventcontroller.c:
2834 Added call to XFilterEvent so that key listener works with XIM (we
2835 hope). Added event_synth_type to generateKeyEvent, so that we can
2836 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2837 synthesize a press/release pair for KeySyms.
2839 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2841 * libspi/Makefile.am:
2842 * registryd/Makefile.am:
2843 (temporary) hack to include libXtst in libspi and registryd.
2844 (Needed for keystroke synthesis, see below).
2847 Improved API for registerKeystrokeListener, in accordance with
2848 discussions with Gnopernicus team and X server research.
2850 * libspi/registry.c:
2851 * libspi/deviceeventcontroller.c:
2852 * libspi/accessible.c:
2853 * libspi/keystrokelistener.c:
2854 Changes and fixes to support keylisteners for potentially
2855 consumed key events (that is, 'passive grabs').
2856 Added implementation for generateKeyEvent() [untested].
2859 Changes to registerKeystrokeListener() API, as above.
2860 Added deregisterGlobalEventListenerAll(), and
2861 deregisterKeystrokeListener(), which are needed for clean exit of
2863 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2864 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2866 * cspi/spi_registry.c:
2867 Added implementations of function prototypes mentioned above.
2869 * registryd/registryd.c:
2870 Added the key listener event source as a g_timeout(), to allow
2871 receipt of key events that are not caught by GDK (since GDK
2872 doesn't support passive keygrabs, this was necessary).
2875 Changed to attach a keylistener to 'Alt' keys, and
2876 respond to the following keycommands: Alt-M (toggle magnifier);
2877 Alt-F (toggle speech); Alt-Q (quit).
2878 Added an exit routine to deregister the listeners, and a key
2879 listener that prints some key info to the console when a key
2880 matches the listener mask (and is thus received by the listener).
2882 * util/idl/Magnifier.idl:
2883 Changes to magnifier API to support multiple zoom regions,
2884 non-uniform scaling in x and y, markDirty, and a host of other
2885 features that would be useful to magnification.
2888 * util/mag_client.c:
2889 * util/mag_client.h:
2890 * util/mag_control.c:
2892 Source code changes to support the above IDL changes.
2895 As above, and also changes to use a (slower) generic conversion
2896 path for colormap conversions, since the fast RGB conversions have been
2897 reported to fail for 16-bit displays.
2899 2001-10-26 Michael Meeks <michael@ximian.com>
2901 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2903 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
2905 * at-bridge/Makefile.am: fix LDFLAGS.
2907 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2909 * at-bridge/bridge.c:
2910 Re-worked listeners for toolkit events, now we have signal
2911 and property listeners. Added a private method
2912 register_atk_event_listeners(), which registers with the
2913 various atk and gtk signals we need to monitor in order to emit
2915 Added emission hook for AtkObject:property-change events, to
2916 support the 'property listeners'.
2917 Fixed some alloc()s of Accessibility_Event structs to use CORBA
2920 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2921 which emit warnings and exit, respectively, if CORBA errors occur
2922 during remote calls, and we now use these methods to check most of
2923 our CORBA calls in the C bindings.
2925 * cspi/spi_accessible.c:
2926 Changed AccessibleSelection_refSelectedChild() to
2927 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2928 now increment refcounts.
2930 * cspi/spi_component.c:
2931 Fixed some long pointer casts (dangerous!) to pass pointers to
2932 CORBA_longs of the proper type to the CORBA stubs, and copy the
2933 data into the longs that were passed into the C bindings code.
2935 * at-bridge/bridge.c:
2937 * libspi/accessible.c:
2938 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2939 hyperlinks, AtkHyperlink is an object type.
2941 * libspi/application.c:
2942 Added various conversions to and from "generic" event types and
2943 atk-specific types; this is really part of the 'bridge'
2944 implementation but is valid for all AtkObject-based accessibility
2947 * libspi/editabletext.c:
2948 Fixed nasty bug wherein editable text's finalize method was
2949 unref'ing tha AtkObject reference that the text parent class was
2950 about to unref _again_. There was also a nasty inheritance bug
2951 that meant that the AccessibleEditableText class was corrupt.
2953 * libspi/selection.c:
2954 Provided implementations for some selection API that was broken.
2956 * idl/Application.idl:
2957 Added registerObjectEventListener () method.
2960 Fixed a number of return values that were Bonobo_Unknowns from
2961 bonobo_object_corba_objref(), which I
2962 forgot to dup before returning. Changed instances of
2963 bonobo_object_corba_objref (bonobo_object(o)) to
2964 BONOBO_OBJREF(o), for concision and clarity.
2966 <2001-10-13 Louise Miller <louise.miller@sun.com>
2968 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2969 idl/Event.idl, idl/Registry.idl
2970 Changed these files to include Bonobo_Unknown.idl instead
2973 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
2975 * libspi/component.c libspi/component.h:
2976 Fixed typo. Added assertions for object checks in
2977 AccessibleComponent code.
2979 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2981 * idl/Accessible.idl:
2982 Added 'isEqual (Accessible *object)'
2983 method for Accessible. (Not Yet Implemented).
2986 Changed signature of registerKeystrokeListener() to
2987 take a KeySet and KeyEventSeq so that specific keys and event
2988 types could be requested for monitoring, and added a flag
2989 is_synchronous so that either synchronous or asynchronous
2990 notification could be requested. (However this is not all
2991 implemented yet). This also meant adding two new typedefs,
2992 KeyEventSeq and KeySet.
2995 Added two new relations, RELATION_TOOLTIP_FOR and
2996 RELATION_LEAFNODE_OF.
2999 Added new state, STATE_HAS_TOOLTIP.
3001 * libspi/text.c, editabletext.c:
3002 Added new assertions to all casts of bonobo-objects from
3003 CORBA servants, to prevent Text API calls on non-text objects.
3004 Changed suspect casts of int-pointer types, so that we
3005 always send a valid CORBA_long pointer to the CORBA APIs that use
3006 in/out long parameters. We then have to copy from the CORBA_long
3007 into the regular long or int for return to the C bindings, or
3008 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
3011 * libspi/deviceeventcontroller.c:
3012 Cleaned these sources up.
3014 Changed return type for getCharacterAtOffset to
3015 CORBA_unsigned_long, to allow for 32-bit characters.
3018 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
3022 Fixed 'make dist' so that distro compiles...
3023 * libspi/keymasks.h:
3025 * cspi/spi-listener.c:
3026 KeystrokeListenerCB now returns a boolean.
3028 Added KeyEventType struct, and KeyStroke.
3029 Also added createKeystrokeListener(),
3030 KeystrokeListener_addCallback(),
3031 KeystrokeListener_removeCallback(), and added a keymask to
3032 registerKeystrokeListener().
3033 * cspi/spi_accessible.c:
3034 Changed numerous return types for interfaces from
3035 AccessibleComponent to Accessible<InterfaceName>; this was
3036 probably a cut-and-paste error.
3038 Implementations of new KeystrokeListener api (from spi.h,
3041 Changes to key modifier mapping.
3042 Created ControllerEventMask struct.
3043 Made DeviceEventController derive from Bonobo::Unknown.
3045 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3046 * libspi/deviceeventcontroller.c:
3047 Added a number of new internal (private) methods.
3048 * libspi/editabletext.c:
3049 * libspi/editabletext.h:
3050 Fixed a number of bugs related to the fact that
3051 editabletext inherits from text. Fixed the EditableText struct,
3052 the init() call, and use correct casts when calling Text methods
3053 from an EditableText object. Removed (duplicate) atko from the
3054 EditableText structure, we use the one in the parent Text
3055 structure via the casts mentioned above.
3056 * libspi/keystrokelistener.[ch]:
3057 * libspi/registry.c:
3058 Changes in support of keyboard handling (above).
3060 Keyboard handling, though partly functional, is still not
3061 recommended for at-spi client use as there is considerable
3062 work yet to be done.
3065 Changed some places where pointers to various int types
3066 are cast to be pointers to CORBA_long types and vice-versa:
3067 pointer casting is not safe so we pass pointers of the correct
3068 types and then cast the result before putting it into the target
3071 * libspi/text.h: minor typos corrected.
3073 We now speak not only the name of a Text element, but the
3074 first sentence of its content, when it receives focus.
3075 I also changed the text compression to 75% from 50%.
3076 * util/Accessibility_Util.server.in:
3077 Changed the default magnifier type to be a 3x vertical
3078 splitscreen magnifier (was previously a 2x horizontal one).
3080 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
3082 * libspi/keystrokelistener.h:
3083 * libspi/keystrokelistener.c:
3084 Initial functional implementations of KeystrokeListener.
3087 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3089 Fixed string handling for NULL strings in libspi.
3090 Added spi_freeString to free strings returned by C bindings.
3092 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
3094 * libspi/keystrokelistener.h:
3095 * libspi/keystrokelistener.c:
3096 Began (no-op) implementations of KeystrokeListener
3098 * libspi/deviceeventcontroller.c:
3099 * libspi/deviceeventcontroller.h:
3100 Began creating implementations of DeviceEventController,
3101 to handle keystroke and mouse event listening and
3103 * libspi/accessible.c:
3104 Stubbed-in the implementations for
3105 Accessibility_Accessible_getState and
3106 Accessibility_Accessible_getRelationSet.
3107 * libspi/registry.c:
3108 Improved de-registration process and fixed some bugs,
3109 deregistration now works correctly.
3111 Added initialization of applications list (to NULL).
3113 Reduced speech compression from 0.5 to 0.7, for demo.
3114 Changed call to gdk_window_set_decorations()
3115 to gtk_window_set_decorated().
3116 * at-bridge/bridge.c:
3117 Bridge now deregisters when app exits, via
3118 registration of a cleanup function
3119 with the g_atexit() call.
3120 Required making 'app' static, renamed 'this_app'.
3121 Fixed broken use of bonobo_init, passing argv wrongly.
3123 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
3127 Created a new directory for
3128 accessibility-related utilities, primarily for
3129 testing and demo purposes, but with possible
3136 Onscreen magnifier utility that
3137 is implemented as a bonobo service.
3139 * util/mag_client.c:
3140 * util/mag_client.h:
3141 Client-side support (simple C bindings)
3142 for Magnification service
3144 * util/mag_control.c:
3145 Client program example for
3146 Magnification service
3148 * util/Accessibility_Magnifier.server.in:
3149 Bonobo-activation file for the
3150 Magnification service.
3153 * util/idl/Magnifier.idl:
3154 IDL defining the bonobo Magnification
3158 Modifications to use the bonobo-activated magnifier
3159 above, in place of trying to connect to an existing
3160 magnifier that uses socket-listening IPC.
3162 If env variable MAGNIFIER is set, a magnifier service
3163 will be started if one does not exist.
3165 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
3166 * at-bridge/bridge.c:
3167 applied patch from Marc to build and run
3168 against new glib and gtk+ (seemed like a change
3169 to bonobo_init signature was made ?)
3171 made festival-server support turned off by default.
3172 Added support for a simple magnifier (off by default)
3173 which will be added to a 'util' directory later.
3174 * at-bridge/Makefile.am:
3175 Changed "application.h" header from a 'source'
3176 to a 'dependency' of libat-bridge.
3178 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3186 Added interface implementation c files to list of
3187 includes so they are included in libcspi.
3190 Changed prototype of AccessibleAction_doAction to return a
3192 Changed prototype of AccessibleTable_getCaption to
3193 return an Accessible.
3194 Changed prototype of AccessibleTable_getSelectedRows
3195 and AccessibleTable_getSelectedColumns to
3196 return a long (returns the number of selected rows
3197 or columns respectively).
3198 Changed name of AccessibleText_refRunAttributes to
3199 AccessibleText_getAttributes.
3200 Changed prototype of AccessibleText_getCharacterExtents to
3201 return a void rather than a boolean.
3202 Added support for a AccessibleCoordType parameter
3203 specifying what type of coordinates are desired.
3204 Added an AccessibleCordType parameter to
3205 AccessibleText_getPointAtOffset.
3207 * cspi/spi_accessible.c:
3208 Added code to return the outstanding interfaces from
3209 Accessible_queryInterface.
3211 * cspi/spi_action.c:
3213 Corrected call to getNActions to call the c binding
3216 * cspi/spi_editabletext.c:
3218 Changed name from setRunAttributes to setAttributes.
3220 * cspi/spi_hyperlink.c:
3222 Changed call to getNAnchors to correctly call the c
3223 binding for an attribute.
3225 * cspi/spi_hypertext.c:
3227 Changed getImageDescription to correctly call the
3228 binding for an attribute.
3230 * cspi/spi_selection.c:
3231 Changed getNSelectedChildren to correctly call the c
3232 binding for the attribute.
3233 Changed refSelectedChild to getSelectedChild.
3237 Changed getCaption to return an Accessible.
3238 Fixed calls which retrieve attributes.
3239 Changed refAt to getAccessibleAt.
3240 Changed getNSelectedRows and getNSelectedColumns to
3244 Changed getCharacterExtents and getPointAtOffset to accept an
3245 AccessibleCoordType.
3247 Changed calls which retrieve attributes.
3248 Changed refRunAttributes to getAttributes.
3253 * idl/Hyperlink.idl:
3254 Changed n_anchors attribute to nAnchors to keep naming
3255 convention consistent.
3258 Made Table inherit from Bonobo::Unknown.
3259 Added nSelectedColumns and nSelectedRows attributes.
3262 Made Value inherit from Bonobo::Unknown.
3264 * libspi/hyperlink.c:
3265 Change for nAnchors attributte name change.
3267 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3275 Added interface implementation c files to list of
3276 includes so they are included in libcspi.
3279 Changed prototype of AccessibleAction_doAction to return a
3281 Changed prototype of AccessibleTable_getCaption to
3282 return an Accessible.
3283 Changed prototype of AccessibleTable_getSelectedRows
3284 and AccessibleTable_getSelectedColumns to
3285 return a long (returns the number of selected rows
3286 or columns respectively).
3287 Changed name of AccessibleText_refRunAttributes to
3288 AccessibleText_getAttributes.
3289 Changed prototype of AccessibleText_getCharacterExtents to
3290 return a void rather than a boolean.
3291 Added support for a AccessibleCoordType parameter
3292 specifying what type of coordinates are desired.
3293 Added an AccessibleCordType parameter to
3294 AccessibleText_getPointAtOffset.
3296 * cspi/spi_accessible.c:
3297 Added code to return the outstanding interfaces from
3298 Accessible_queryInterface.
3300 * cspi/spi_action.c:
3302 Corrected call to getNActions to call the c binding
3305 * cspi/spi_editabletext.c:
3307 Changed name from setRunAttributes to setAttributes.
3309 * cspi/spi_hyperlink.c:
3311 Changed call to getNAnchors to correctly call the c
3312 binding for an attribute.
3314 * cspi/spi_hypertext.c:
3316 Changed getImageDescription to correctly call the
3317 binding for an attribute.
3319 * cspi/spi_selection.c:
3320 Changed getNSelectedChildren to correctly call the c
3321 binding for the attribute.
3322 Changed refSelectedChild to getSelectedChild.
3326 Changed getCaption to return an Accessible.
3327 Fixed calls which retrieve attributes.
3328 Changed refAt to getAccessibleAt.
3329 Changed getNSelectedRows and getNSelectedColumns to
3333 Changed getCharacterExtents and getPointAtOffset to accept an
3334 AccessibleCoordType.
3336 Changed calls which retrieve attributes.
3337 Changed refRunAttributes to getAttributes.
3342 * idl/Hyperlink.idl:
3343 Changed n_anchors attribute to nAnchors to keep naming
3344 convention consistent.
3347 Made Table inherit from Bonobo::Unknown.
3348 Added nSelectedColumns and nSelectedRows attributes.
3351 Made Value inherit from Bonobo::Unknown.
3353 * libspi/hyperlink.c:
3354 Change for nAnchors attributte name change.
3357 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
3359 implementations-- made server implementations own AtkObject pointers
3360 rather than their respective AtkInterrface pointers to fix
3361 refcounting. AtkHyperlink is still broken.
3363 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
3364 * cspi/spi_accessible.c:
3365 Added method Accessible_Role_getName(),
3366 and requisite string array (role_names).
3367 Added conversion string_from_corba_strin() call
3368 to Accessible_getName and _getDescription.
3369 * libspi/accessible.c:
3370 Added implementation for Accessible_getRole()
3372 Added festival support, used if environment variable
3375 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3377 * at-bridge/bridge.c:
3378 Now allocate Accessibility_Event using
3379 Accessibility_Event__alloc() instead of g_new0().
3380 * libspi/accessibleeventlistener.c:
3381 Initialize AccessibleEventListener->callbacks to NULL.
3382 Fixed accessible__event_listener_init() param, changed to
3383 "AccessibleEventListener *" type.
3384 Changed a bonobo_object_release_unref() call to
3385 Accessibility_Accessible_unref().
3386 * libspi/listener.c:
3387 Changed Bonobo_Unknown_unref to (equivalent)
3388 Accessibility_Accessible_unref.
3389 * libspi/registry.c:
3390 Changed bonobo_object_release_unref to
3391 Accessibility_Accessible_unref.
3393 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3396 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
3397 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
3398 spi-util.c spi-util.h
3399 Implementations for C bindings to remaining accessibility
3402 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3405 changed return value of Action from void to boolean to
3406 bring in line with ATK.
3409 Changed getText funcions to return "out" start and end offsets.
3410 Changed getAttributes to take and offset and return the start
3411 and end offset of the attribute run.
3412 Changed getOffsetAtPoint and getCharacterExtents to take an
3413 enum describing whether coordinates are window or screen.
3416 libspi/action.c libspi/action.h libspi/editabletext.c
3417 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
3418 libspi/hypertext.c libspi/hypertext.h libspi/image.c
3419 libspi/image.h libspi/selection.c libspi/selection.h
3420 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
3421 libspi/value.c libspi/value.h
3422 Added server implementations for outstanding ATK interfaces
3423 not yet implemented.
3425 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3428 Added (missing) getName() method.
3429 Made nActions an attribute.
3430 * idl/EditableText.idl:
3431 Changed order of params in setAttributes.
3432 * idl/Hyperlink.idl:
3433 Removed getAnchor, added getURI.
3435 Changed attributes to methods, for efficiency
3436 (so that getting extents can be done in one call)
3437 * idl/Selection.idl:
3438 Changed nSelectedChildren to attribute, and re-indented.
3439 * idl/Table.idl: changed nrows, ncolumns, caption, summary
3441 * idl/Text.idl: reformatted to match our coding style.
3442 (temporarily?) removed getRowColumnAtOffset().
3443 Changed text selection API to support multi-select and
3444 non-contiguous selections, as in ATK.
3445 * idl/Value.idl: changed some methods to attributes.
3447 2001-08-24 Mark McLoughlin <mark@skynet.ie>
3449 * libspi/listener.c(impl_notify_event):
3450 BonoboUnkown_unref the source instead
3451 of bonobo_object_release_unref - the ORB
3452 handles the releasing.
3454 * configure.in: require ORBit-2.3.94 for
3457 2001-08-21 Bill Haneman <bill.haneman@sun.com>
3459 Tagged CVS repository 'EA_1_0'.
3460 * README.EARLY_ACCESS:
3461 Alphabetized acknowledgements list, and
3463 Listed some known dependencies of at-spi.
3465 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3467 * docs/at-spi-docs.sgml:
3468 * docs/at-spi-sections.txt:
3469 * docs/at-spi-overrides.txt: (Added zero-length file)
3470 Documentation improvements - gtk-doc should build
3471 docs for all implemented C bindings now.
3474 * cspi/spi.c: (New file)
3475 * cspi/spi_event.c: (New file)
3476 * cspi/spi_registry.c: (New file)
3477 * cspi/spi_accessible.c: (New file)
3478 * cspi/spi_application.c: (New file)
3479 * cspi/spi_component.c: (New file)
3480 Split spi_main.c into six parts, and included them from
3481 "spi.c". This is a bit of a hack, probably temporary,
3482 but required by gtk-doc, apparently.
3484 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3487 * docs/at-spi-docs.sgml:
3488 * docs/at-spi-sections.txt:
3490 Initial checkins/modifications for gtk-doc generation.
3493 Added (missing) interface query methods to Accessible's C binding.
3495 Added GenericInterface type definition.
3497 Added query for AccessibleComponent interface to focus event handler.
3498 Added printout of bounding box for focussed component.
3499 * libspi/component.c:
3500 Added partial implementation for AccessibleComponent to C binding.
3501 * idl/Application.idl:
3502 * libspi/registry.c:
3503 * libspi/listener.c:
3504 * libspi/application.c:
3505 * libspi/application.h:
3506 Changed "ID" attribute type from string to long.
3508 2001-08-19 Bill Haneman <bill.haneman@sun.com>
3512 Made method naming consistent: methods taking object args
3513 start with uppercase, other methods (except those using
3514 acronyms) start with lowercase. Underscores delimit between
3515 object names and method names:
3516 SPI_init() - uppercase since it starts with an acronym.
3517 getDesktopCount () - lowercase start since no object param0.
3518 Accessible_getName() - uppercase object type name, studlyCaps method
3522 Added gtk-doc documentation for all currently implemented
3523 methods in the C bindings API.
3525 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3527 * Makefile.am : changed build order to build test last.
3530 Changed "createEventListener" to "CreateEventListener".
3531 * libspi/accessibleeventlistener.c :
3532 Bugfix for addition of callbacks.
3533 * test/Makefile.am :
3534 * test/simple-at.c :
3535 Added new test that uses the C bindings API.
3537 * libspi/listener.c :
3538 * libspi/registry.c :
3539 * libspi/accessibleeventlistener.c :
3540 * at-bridge/bridge.c :
3541 Renamed member "target" of Accessibility_Event to "source",
3542 which is more descriptive.
3545 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3549 * cspi/Makefile.am :
3550 Added makefile support for at-spi/cspi directory.
3553 * cspi/spi-listener.h : (NEW FILE)
3554 Added support for/use of spi-listener.h.
3556 C bindings now build successfully, with no warnings.
3557 * libspi/accessibleeventlistener.h : (NEW FILE)
3558 * libspi/accessibleeventlistener.c : (NEW FILE)
3559 * libspi/Makefile.am :
3560 Added new object type "AccessibleEventListener"
3561 which inherits from Listener, and allows attachment
3562 of in-process callbacks (so that a client with a listening
3563 object instance can add functionality to the local
3564 implementation, dynamically).
3566 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3568 * libspi/accessible.c:
3569 Add implementation for get_index_in_parent().
3571 Added #include of "spi-roletypes.h", and
3572 added enumerated type AccessibleCoordType.
3573 Added definition for KeystrokeListener (function type).
3576 * cspi/spi-statetypes.h :
3577 * cspi/spi-roletypes.h :
3579 Added these headers, used by spi.h.
3581 Added code (NOTE: not yet built by make).
3583 2001-08-18 Mark McLoughlin <mark@skynet.ie>
3585 * libspi/Makefile.am: generate imodule
3586 at the same time as other idl compiler
3589 2001-08-17 Bill Haneman <bill.haneman@sun.com>
3590 * libspi/registry.c :
3591 * libspi/application.c :
3592 * idl/Application.idl :
3593 Made registration with toolkit an application method,
3594 which is required since each app has its own toolkit static
3595 environment. Thus the bridge must register for
3596 notification of toolkit events from each application in turn.
3597 Toolkit notifications are now successfully registered for, and
3598 sent to the listening at client.
3600 Changed toolkit event string to use hyphens rather than underscores.
3601 * libspi/listener.c :
3602 listner now gives more info in debug mode - it reports the
3603 name of the event received, as well as the name of the source.
3606 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3608 * libspi/registry.c :
3609 added more implementation for toolkit events.
3610 Fixed bug such that toolkit event registrations
3611 (via atk) use the whole event name string, not
3613 Removed a useless call to an ORBit_ method.
3614 * at-bridge/bridge.c :
3615 Removed unused local sbuf[] variable.
3617 We now register for Gtk:GtkWidget:button_press_event
3618 events as well as "focus:" events.
3620 Add some more API from Registry.idl that was missing,
3621 for keystroke listening, keystroke and mouse event
3622 synthesis, and enumeration of accessible desktops.
3624 2001-08-16 Michael Meeks <michael@ximian.com>
3626 * configure.in: use AM_GLIB_GNU_GETTEXT.
3628 * Makefile.am (SUBDIRS): kill intl.
3630 2001-08-15 Michael Meeks <michael@ximian.com>
3632 * registryd/Makefile.am: s/oaf/server/ relocate info file.
3634 * configure.in: upd.
3636 * configure.in: depend on a recent bonobo-activation that
3637 will find our server files ...
3639 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3641 * libspi/accessible.c : accessible_new() :
3642 Now we add the Component interface via bonobo_object_add_interface,
3643 if the contained AtkObject implements AtkComponent.
3644 * libspi/accessible.h : now include "component.h"
3645 * libspi/component.h :
3646 * libspi/component.c : added files - implementation of
3647 bonobo wrapper object for Accessibility/Component
3648 * libspi/listener.c :
3649 Added test code to check for Accessibility/Component:1.0
3650 interface and report whether it is implemented by the
3652 * libspi/registry.c :
3653 Now we check for not only the hash of the whole event
3654 string before relaying the event, we also check the
3655 "minor" event string (without the detail string).
3656 This allows event listeners to be registered against
3657 all events of a certain major+minor type, or just
3658 against a specific major+minor+detail type.
3659 * libspi/accessible.c :
3660 Added implementations for Accessible:get_parent(),
3661 Accessible:getChildCount(), and Accessible:getChildAtIndex().
3662 * libspi/registry.c :
3663 * libspi/listener.c :
3664 Replaced calls to Accessibility_Accessible_ref() and
3665 Accessibility_Accessible_unref() with
3666 calls to bonobo_object_dup_ref() and
3667 bonobo_object_release_unref(), so that the CORBA object
3668 is dup-ed and released when relayed, as well as the bonobo object.
3670 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3672 * libspi/Makefile.am,
3673 registryd/Makefile.am,
3674 at-bridge/Makefile.am.
3675 test/Makefile.am, configure.in:
3676 reverse previous changes.
3678 * /idl/Image.idl: fix typo.
3680 * test/Makefile.am: put DEBUG_FLAGS
3683 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3685 * test/app.c: use argv[0] instead of
3688 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3690 * libspi/Makefile.am,
3691 registryd/Makefile.am,
3692 at-bridge/Makefile.am.
3693 test/Makefile.am, configure.in:
3694 cleanup, replace individual LIBS/CFLAGS with
3695 AT_COMMON_{LIBS|CFLAGS}.
3699 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3701 * configure.in, libspi/Makefile.am:
3702 Change IDL path checking for bonobo-activation
3705 2001-08-15 Bill Haneman <bill.haneman@sun.com>
3707 * registryd/registry.c : separated event listeners to use
3708 3 separate lists (focus, window, toolkit). Began testing
3709 event names against hashes before relaying events.
3710 * test/at.c : now register for events of type "focus:"
3711 * test/app.c : now generate events of type "focus:"
3712 * at-bridge/bridge.c : register with ATK for focus events,
3713 and we now relay those focus events to any "focus:" listeners.
3714 This now works with the bridge as a GTK_MODULE when running test/at.
3715 * libspi/registry.c :
3716 * libspi/listener.c :
3717 now we ref event sources before propagating, and unref on receipt.
3718 * libspi/registry.c :
3719 some changes to internal structs, to support event typestring hashes.
3720 * text/app.c : changed the way the appname is generated.
3721 * cspi : added directory that will hold the C bindings library for
3722 non-CORBA/bonobo-savvy clients.
3723 * cspi/spi.h : header file that contains the function prototypes for the C binding.
3724 * idl/Component.idl : added in parameter to indicate coord system for
3725 geometry-related calls.
3726 * idl/Hyperlink.idl : added readonly n_links attribute
3727 * idl/Image.idl : changed methods to attributes.
3729 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3731 * at-bridge/Makefile.am: link against
3732 ../libspi/libspi.la instead of -lspi.
3734 * at-spi/test/app.c: include
3735 bonobo-activation.h. Use a default appname
3736 if one is not provided.
3738 2001-08-14 Bill Haneman <bill.haneman@sun.com>
3740 * idl/Registry.idl : temporarily changed register_Application
3741 to oneway, to work around issue with initial registration
3743 * idl/Application.idl : changed attribute "id" from readonly
3744 to read-write, since it needs to be assigned by Registry.
3745 * registryd/registryd.c : added call to set application id
3747 * registryd/registry.c : changed de-registration procedure to
3748 use CORBA_Object_hash() to find matching object ref in application
3749 lists and listener lists.
3750 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
3751 began distinguishing between event types (work in progress).
3753 2001-08-13 Bill Haneman <bill.haneman@sun.com>
3756 * libspi/application.c:
3757 Added implementations for get/set id, get_toolkitName,
3759 * registryd/registryd.c :
3763 Converted from use of OAF to bonobo-activation.
3764 * libspi/desktop.h :
3765 * libspi/desktop.c :
3767 Removed references to atksimpleobject, since base atkobject
3768 implementation now provides functionality we need.
3769 * libspi/atksimpleobject.c :
3770 * libspi/atksimpleobject.h :
3775 * at-bridge/Makefile.am
3776 * at-bridge/bridge.c
3779 Added directory "bridge" and contents, and added dependencies
3780 in Makefile.am/configure.in.
3781 Initial checkin of "at-bridge".
3782 This code is a GTK_MODULE which automatically registers
3783 GTK+ apps with the accessibility registry, using an object
3784 reference to the root ATK object.
3786 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3788 * po/Makefile.in.in: Remove. Again. If this
3789 doesn't get autogenerated - you need to update
3792 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3794 * po/Makefile.in.in: Add. Again.
3796 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3798 * libspi/accessible.c : added support for 'description' property.
3799 * libspi/accessible.c
3801 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3802 (since the two are now equivalent in libbonobo)
3810 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3811 Bonobo::Unknown as does Accessibility::Accessible.
3812 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3813 interface with Bonobo::Stream, since it was redundant with it.
3814 (The Stream returned by a StreamableContext object is expected to
3815 implement only a subset of Bonobo::Stream)
3817 2001-07-28 Anders Carlsson <andersca@gnome.org>
3819 * libspi/accessible.c (accessible_object_finalize): Change
3820 g_free to g_object_unref since the AtkObject is a GObject.
3822 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3824 * idl/Accessibility.idl: add new IDL files
3827 * idl/Action.idl: Definitions of actionable UI object
3828 * idl/Component.idl: Definitions of UI component geometry, etc.
3829 * idl/Hyperlink.idl: Defs of hyperlink behavior
3830 * idl/Image.idl: Def of accessible image
3831 * idl/Selection.idl: Definition of UI object with selectable children
3832 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3833 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3834 * idl/Text.idl: Interface defs for UI elements with complex textual content
3835 * idl/Value.idl: Definition of UI element that is a value controller or display
3837 2001-07-27 Michael Meeks <michael@ximian.com>
3839 * po/Makefile.in.in: remove autogenerated file from CVS.
3841 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3844 * idl/Registry.idl: include guard.
3846 * idl/Accessibility.idl: Add, and include all the other IDL
3849 * idl/*.idl: remove mass of pragmas etc.
3851 2001-07-26 Michael Meeks <michael@ximian.com>
3853 * registryd/Makefile.am (registryd_SOURCES): remove
3856 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3858 * libspi/.cvsignore, registryd/.cvsignore,
3859 test/.cvsignore: updated.
3861 * po/Makefile.in.in: gettext update.
3863 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3865 * initial CVS checkin
3867 2001-06-29 Michael Meeks <michael@ximian.com>
3869 * configure.in: add AM_CONFIG_HEADER to gen config.h