1 2002-04-29 Bill Haneman <bill.haneman@sun.com>
4 Fixed improper array initialization (past end of
5 array). Thanks to Radek for finding this...
7 2002-04-22 jacob berkman <jacob@ximian.com>
10 * libspi/Makefile.am: add deps on the built files to help
11 automake, and don't version the ORBit typelib
13 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
15 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
16 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
17 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
18 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
19 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
20 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
21 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
22 libspi/accessible.h libspi/accessible.h libspi/base.h
23 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
24 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
25 libspi/relation.h libspi/remoteobject.h libspi/selection.h
26 libspi/spi-private.h libspi/statetset.h libspi/table.h
27 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
28 util/mag_client.h util/mag_control.c util/mag_image.c
29 util/mag_image.h util/magnifier.c util/magnifier.h:
30 Add missing file headers; standardize existing ones
32 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
34 * atk-bridge/bridge.c: Added window event support.
36 2002-04-18 Michael Meeks <michael@ximian.com>
38 * libspi/relation.c (impl_getNTargets): impl.
39 (impl_getTarget): impl.
41 * libspi/Makefile.am: fix stateset install.
43 2002-04-17 Bill Haneman <bill.haneman@sun.com>
46 Started putting useful info in this file.
48 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
50 * atk-bridge/bridge.c:
51 Propagate state-changed notifications to ATs
53 * cspi/spi_registry.c: update docs to reflect actual behavior of
56 2002-04-17 Bill Haneman <bill.haneman@sun.com>
59 Incremented version to 0.12.1
62 Add missing declaration for magnifier_exit,
63 used by mag_control.c - Forte compiler didn't like
64 the implicit redeclaration of the function :-(
67 2002-04-16 Bill Haneman <bill.haneman@sun.com>
70 Revved version to 0.12 due to API change (see below).
72 * cspi/spi-roletypes.h:
73 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
74 definition from the inline docs, and added docs
75 for SPI_ROLE_LAST_DEFINED.
78 * cspi/spi_streamablecontent.c:
79 Added missing seek_type parameter to
80 (so far unused) method,
81 AccessibleStreamableContent_seek().
82 [ RT approval JodyG. ]
85 Fixed docs for SPI_createAccessibleKeystrokeListener.
87 * cspi/spi_registry.c:
88 Fixed docs for SPI_KEYSET_ALL_KEYS.
90 * docs/reference/cspi/at-spi-cspi-sections.txt:
91 Added a number of missing APIs to SECTIONS.
93 2002-04-16 Bill Haneman <bill.haneman@sun.com>
95 * registryd/Makefile.am:
97 * cspi/bonobo/Makefile.am:
98 Add $(X_LIBS) to makefiles.
100 2002-04-15 Bill Haneman <bill.haneman@sun.com>
103 Revved version to 0.11.
105 * libspi/component.c:
106 Added implementation for grabFocus.
108 * idl/Accessibility_Component.idl
109 (Accessibility_Component_grabFocus):
110 Made this method return boolean to indicate success or failure, to
111 be consistent with cspi and the corresponding ATK method.
113 * idl/Accessibility_Selection.idl
114 (Accessibility_Selection_selectAll) :
115 Made these methods return boolean to indicate success or
116 failure, to be consistent with cspi and the corresponding ATK methods.
118 * idl/Accessibility_EditableText.idl
119 (Accessibility_EditableText_setTextContents,
120 Accessibility_EditableText_insertText,
121 Accessibility_EditableText_cutText,
122 Accessibility_EditableText_deleteText,
123 Accessibility_EditableText_pasteText):
124 Made these methods return boolean to indicate
127 * cspi/spi_editabletext.c:
128 Made these methods return booleans.
130 * libspi/selection.c:
131 * libspi/component.c:
132 * libspi/editabletext.c:
133 Connected the boolean returns from ATK
134 to the server-side code referenced above.
136 2002-04-14 Bill Haneman <bill.haneman@sun.com>
138 * idl/Accessibility_Table.idl: Added missing methods,
139 Accessibility_Table_addRowSelection,
140 Accessibility_Table_addColumnSelection,
141 Accessibility_Table_removeRowSelection,
142 Accessibility_Table_removeColumnSelection.
145 Added C wrappers for above IDL:
146 AccessibleTable_addRowSelection,
147 AccessibleTable_addColumnSelection,
148 AccessibleTable_removeRowSelection,
149 AccessibleTable_removeColumnSelection.
152 Added server-side implementation code for IDL above, connecting
153 to pre-existing ATK api.
155 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
157 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
159 * libspi/accessible.c: Added implementation fo
160 Accessibility_Accessible_get_state.
162 * libspi/libspi.h: Added stateset.h to the list of includes.
164 * libspi/stateset.c: Fixed broken implementation.
166 2002-04-13 Bill Haneman <bill.haneman@sun.com>
169 Added implementation code for Accessibility_Magnifier_exit ().
171 * util/mag_control.c:
172 Added test code for above method; you can
173 now kill an existing magnifier via
174 ./mag_control q, from the util directory.
176 * test/key-listener-test.c:
178 Added a new test, for our key listener API.
180 2002-04-11 Bill Haneman <bill.haneman@sun.com>
182 * test/app.c, test/keysynth-demo.c:
184 Replace use of snprintf with g_snprintf.
185 (fix for bugzilla 78249)
187 2002-03-27 Michael Meeks <michael@ximian.com>
191 * util/Makefile.am (INCLUDES): fix.
192 (DONT_DIST_SOURCE): don't distribute the
195 * libspi/Makefile.am (dist-hook): ditto.
197 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
199 * libspi/hypertext.c:
200 Fix warnings when yelp is used with atk-bridge
202 2002-03-21 Michael Meeks <michael@ximian.com>
204 * libspi/application.c (spi_application_new):
205 use spi_accessible_construct so we use the AtkObject
208 2002-03-19 Michael Meeks <michael@ximian.com>
210 * registryd/registry.c (desktop_remove_application),
211 (desktop_add_application): clean coding style.
213 * registryd/desktop.c (spi_desktop_remove_application),
214 (spi_desktop_add_application): kill re-enterency hazards.
215 (spi_desktop_dispose): remove bogus redundant cast
216 obscuring bug; fix bug too.
217 (spi_desktop_init): make the desktop object immortal.
219 2002-03-16 Bill Haneman <bill.haneman@sun.com>
222 Added a #define-guarded tree-traversal step
223 when enumerating the apps (diagnostic tool).
225 2002-03-15 Bill Haneman <bill.haneman@sun.com>
227 * idl/Accessibility_Role.idl:
228 Added ROLE_DRAWING_AREA which seemed to be missing from the
231 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
233 * cspi/spi-roletypes.h cspi/spi_accessible.c
234 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
237 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
238 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
239 AT when applications are added and removed from the desktop. This
240 reverts the previous broken implementation using the backing
241 AtkObject for the SpiDesktop.
243 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
245 * registryd/desktop.c: emit the "children-changed::add" and
246 "children-changed::remove" signals on the backing ATK object for
247 the desktop so AT can tell when applications are started and shut
250 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
252 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
254 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
256 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
258 * cspi/spi_accessible.c: Implemented c bindings for stateset support
260 * cspi/state-types.h: synched with IDL and ATK
262 2002-03-13 Bill Haneman <bill.haneman@sun.com>
264 * libspi/accessible.c
265 (impl_accessibility_accessible_get_child_at_index):
266 Change return value for g_return_if_fail ()
267 to CORBA_OBJECT_NIL instead of "0" (!)
269 * registryd/Makefile.am:
270 * registryd/Accessibility_Register.server.in:
271 Changed name of executable, "registryd",
272 to something more informative:
275 2002-03-13 Michael Meeks <michael@ximian.com>
277 * atk-bridge/bridge.c (atk_bridge_init): don't register
278 if we're in a bonobo-component, rather than a bonobo app.
280 2002-03-13 Michael Meeks <michael@ximian.com>
282 * atk-bridge/bridge.c (gtk_module_init): split
283 out body to (atk_bridge_init): here, since otherwise
284 we get symbol conflicts and oddness when invoked
285 from (gnome_accessibility_module_init): here (upd.)
287 2002-03-11 Bill Haneman <bill.haneman@sun.com>
290 New file. Explicitly allow "build sheriff" putbacks provided
291 they are tested on Solaris.
293 * docs/reference/cspi/Makefile.am:
294 Added '-' to the "cp" command for index.sgml.
295 ("patch by thomasvs, soon coming to a GUADEC near you")
298 Incremented version number (0.9.0) for new release.
299 Changed macro that checks for popt, to better detect
300 obsolete versions of popt.
303 Added X_LIBS to AC_SUBST, for applications
304 that call Xlib API directly.
307 2002-03-07 Bill Haneman <bill.haneman@sun.com>
310 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
313 Fix regression caused by hard-coding major
314 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
317 * test/test-simple.c (test_editable_text),
318 (test_test): revert previous change (error was
319 a regression in gail which is now fixed).
321 2002-03-04 Michael Meeks <michael@ximian.com>
323 * test/test-simple.c (test_editable_text),
324 (test_text): pass G_MAXINT instead of '-1' for
325 whole string - is this a good thing !?
327 * cspi/spi_accessible.c
328 (Accessible_getRelationSet): fix crasher bug
329 overwriting the end of the array.
331 * test/test-simple.c (validate_accessible): free,
332 not g_free returned relation set.
334 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
336 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
337 implemented stateset support
339 * idl/Accessibility_State.idl: Made necessary changes to
340 the IDL to support state sets.
342 2002-02-12 Bill Haneman <bill.haneman@sun.com>
344 * registryd/deviceeventcontroller.c:
345 Added implementation for generateMouseEvent.
347 * cspi/spi_registry.c:
348 Connected new implementation for generateMouseEvent
351 2002-02-12 Bill Haneman <bill.haneman@sun.com>
354 Incremented revision (but no change in public API
355 outside of 'utils', which are not installed public yet.)
357 * libspi/component.c:
358 Changed to use atk_component API for layers and
359 mdi_zorder, instead of deprecated atk_object API.
361 Magnification Utility Enhancements:
364 Added implementation of createZoomRegion, clearAllZoomRegions,
365 resizeZoomRegion. Added new commandline argument
366 "--no-initial-region". Note that clearAllZoomRegions doesn't
367 unmap the old '0' region as it should (yet), and the other
368 methods only work when creating/resizing a single region,
370 (Code for multiple region support will be added later.)
373 Now we raise the magnifier window each time it's refreshed;
374 this will help keep it on top.
377 Added simple wrappers for above, used by mag_control.
378 For general use, it's recommended to use the bonobo magnifier
379 control API directly instead of using these wrappers.
382 Moved ZoomRegionData from magnifier.c to this file.
384 * util/mag_control.c:
385 Added some code to exercise new IDL implementations.
387 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
389 * libspi/text.c: Provide implementation for getAttributes.
391 2002-02-04 Bill Haneman <bill.haneman@sun.com>
394 Incremented revision.
396 * test/test-simple.c:
397 Replaced use of deprecated g_main_iteration with
398 g_main_context_iteration.
400 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
403 Incremented revision for desktop alpha 2.
405 2002-01-28 Mark McLoughlin <mark@skynet.ie>
407 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
410 * test/simple-at.c: include netinet/in.h.
412 2002-01-24 Mark McLoughlin <mark@skynet.ie>
414 * cspi/spi_accessible.c: (Accessible_getRelationSet):
415 use NULL, not CORBA_OBJECT_NIL.
417 * libspi/accessible.c:
418 (impl_accessibility_accessible_get_relation_set):
419 allocate the sequence correctly.
421 * libspi/remoteobject.h: kill spi_remote_object_new.
423 * test/test-simple.c: (validate_accessible): add code
424 to test relation sets, now all we need is to figure
425 out how to excercise this code path :/
427 2002-01-18 Michael Meeks <michael@ximian.com>
430 (key_listener_cb): consume the key.
431 (test_keylisteners): update.
432 (main): wait for any pending unrefs on events.
434 * registryd/deviceeventcontroller.c
435 (spi_controller_update_key_grabs): only re-issue the
436 grab on a key release.
437 (spi_device_event_controller_forward_key_event):
438 refresh the keygrabs before we notify the listeners,
439 to reduce the X ungrab / re-grab race.
440 (spi_controller_register_with_devices): remove
441 XSelectInput - we do that with the gdk_window_ call.
442 (_spi_controller_device_error_handler): return a value.
443 s/GDK_DISPLAY/spi_get_display/
445 2002-01-17 Michael Meeks <michael@ximian.com>
447 * registryd/deviceeventcontroller.c
448 (_deregister_keygrab): don't blow out the later
451 * test/test-simple.c (test_keylisteners): do a
452 more intelligent validation.
454 2002-01-14 Michael Meeks <michael@ximian.com>
456 * atk-bridge/bridge.c
457 (gnome_accessibility_module_init),
458 (gnome_accessibility_module_shutdown): impl.
459 (gtk_module_init): protect vs. double inits.
460 (add_signal_listener): impl.
461 (spi_atk_bridge_state_event_listener): kill
462 (deregister_application): split out of
463 (spi_atk_bridge_exit_func): here.
465 2002-01-18 Bill Haneman <bill.haneman@sun.com>
468 Added caret tracking when using magnifier, and
469 now use text bounds for focus tracking of text elements, rather than
470 the component bounds - this is helpful for short text fields in long
471 table cells, at high magnification.
473 2002-01-16 Bill Haneman <bill.haneman@sun.com>
475 * registryd/deviceeventcontroller.c:
476 Regression fix for keylistener de-registration; global keygrabs
477 were not being released when deregisterKeystrokeListener was
478 called in cspi, since
479 Accessibility_DeviceEventController_deregisterKeystrokeListener
480 was called with a zero-length keyset. That is because the cspi
481 method, SPI_deregisterKeystrokeListener, does not take a keyset
482 parameter but instead should remove all the key grabs held be a
484 The code in impl_deregister_keystroke_listener was changed to copy
485 the keylist from the listener instance previously registered with
486 the DeviceEventController before releasing the grabs.
488 * registryd/registry.c:
489 * registryd/deviceeventcontroller.c:
490 * libspi/spi-private.h:
492 Changed spelling of "re-enterant" to "re-entrant" globally.
494 2002-01-16 Bill Haneman <bill.haneman@sun.com>
496 * test/test-simple.c:
497 Changed key listeners test - the test was slightly mis-using the
498 (admittedly poorly documented) SPI_generateKeyboardEvent API.
499 It now uses '=' as the key event listened to and generated,
500 relying on a keysym match rather than assuming that keycode 33
501 is always equal to keysym '!'.
503 2002-01-15 Bill Haneman <bill.haneman@sun.com>
506 Changed simple-at to use a specific keyset, rather than
507 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
508 manager, desktop, etc.
510 2002-01-11 Bill Haneman <bill.haneman@sun.com>
512 * registryd/deviceeventcontroller.c:
513 Replaced standard X error handler with a special handler that
514 is non-fatal for failed keygrabs. This works around
515 problems with keygrab clashes sometimes observed on
517 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
518 mouse handling code as yet).
520 2002-01-11 Bill Haneman <bill.haneman@sun.com>
523 Incremented revision for desktop alpha release.
526 Fixed a couple of the more glaring errors (still not
529 2002-01-11 Michael Meeks <michael@ximian.com>
531 * registryd/deviceeventcontroller.c
532 (spi_device_event_controller_forward_key_event): kill
533 XUngrabKey / XKeyGrab race.
534 (spi_controller_grab_keyboard): rename to
535 (spi_controller_update_key_grabs): this, and deal
536 with incremental adding / removing grabs more
538 (_register_keygrab): ensure we're not pending a remove.
539 (spi_grab_mask_free): impl.
540 (spi_controller_register_global_keygrabs): split out
542 (handle_keygrab): impl.
543 (_deregister_keygrab): impl.
544 (spi_controller_deregister_global_keygrabs): impl.
545 (spi_controller_update_key_grabs): re-issue the grab if
546 we just recieved a notification.
548 * test/test-simple.c (key_listener_cb): remove debug.
550 * registryd/deviceeventcontroller.c
551 (spi_controller_register_device_listener): after
552 registering a global keygrab, actualy register it !
553 don't wait for a timeout; doh !
555 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
556 to make it more readable / manipulable.
557 s/grabmask/grab_mask/ s/refcount/ref_count/
558 s/keyval/key_val/ s/modmask/mod_mask
560 2002-01-08 Michael Meeks <michael@ximian.com>
562 * registryd/deviceeventcontroller.c
563 (spi_controller_register_with_devices): use gdk calls to
565 (global_filter_fn): implement the filter.
566 (spi_device_event_controller_check_key_event): rename to
567 (spi_device_event_controller_forward_key_event): this & upd.
568 (spi_get_display): replace with GDK_DISPLAY.
570 * registryd/deviceeventcontroller.c
571 (spi_controller_deregister_device_listener): unroll into
572 (impl_deregister_keystroke_listener): here to simplify.
573 (spi_controller_register_global_keygrabs): split cut and
574 paste (!) out into (_register_keygrab): here, shorter & sweeter.
575 (spi_controller_deregister_device_listener): remove.
576 (impl_register_mouse_listener): remove, no mouse listener
577 support in at-spi-1.0
579 * registryd/registry.c
580 (_device_event_controller_hook): kill.
581 (spi_registry_init): upd.
583 * registryd/deviceeventcontroller.c
584 (spi_device_event_controller_class_init): upd.
585 (spi_check_key_event): merge into.
586 (spi_device_event_controller_check_key_event):
587 here and kill strange static ev init, don't leak
588 the x_event - nor dynamicaly allocate it.
590 * registryd/registry-main.c (main): re-direct
591 timeout to remove strange vtable mess.
593 * registryd/deviceeventcontroller.c
594 (remove_listener_cb): impl.
595 (spi_controller_deregister_device_listener):
596 fix re-enterancy hazard.
598 2002-01-07 Michael Meeks <michael@ximian.com>
600 * registryd/deviceeventcontroller.c
601 (spi_device_event_controller_new): upd.
602 (impl_notify_listeners_sync): upd. debug.
603 (spi_notify_keylisteners): fix re-enterancy hazards,
604 prettify, remove O(n*n) iteration.
605 (spi_controller_grab_keyboard): fix iteration.
606 (spi_check_key_event): re-format to suit coding style.
607 Clean all the warnings - we're warning free.
609 * registryd/deviceeventcontroller.h:
610 * registryd/registry.h: make mutualy referential with
611 typesafe forward references instead of (!) void pointer
614 2002-01-11 Michael Meeks <michael@ximian.com>
616 * cspi/spi_accessible.c (role_names): add a role name
617 to sync this array with the enum; and make the regression
620 2002-01-10 Michael Meeks <michael@ximian.com>
622 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
623 allow expansion of enumeration & kill warning.
625 * test/test-simple.c (key_listener_cb): impl.
626 (test_keylisteners): impl.
628 * cspi/spi-listener.h: make listener signatures const
629 on the provided (const) events.
631 * test/keysynth-demo.c: upd. to const events.
633 * test/simple-at.c: ditto.
635 2002-01-11 Bill Haneman <bill.haneman@sun.com>
638 Rev the version to 0.5 (the previous tarball was named 0.4,
639 even though the micro number was 3), so we need to rev upwards
640 again for beta2/"desktop-alpha"
643 Checked in a demo script, which requires editing before use!
644 Proceed with caution.
647 Fixed typo in header which was redefining SPI_ACTION_CLASS.
649 * cspi/spi_accessible.c:
650 Add a couple of missing enum initializations, and fix some enum
653 * cspi/spi_registry.c:
654 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
656 * docs/reference/cspi/at-spi-cspi-sections.txt:
657 Remove/fix a couple of broken document references.
660 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
661 as Alt-Control to listen for commands, since on some systems
662 Control-Alt may already be grabbed.
664 2002-01-10 Bill Haneman <bill.haneman@sun.com>
667 Update version number to 0.4 for Beta2.
669 * libspi/accessible.c, libspi/accessible.h:
670 Expose spi_accessible_construct, to enable libgail-gnome
671 construction from spi_accessible subtype.
674 Workaround for bug in some non-gnome-compliant window managers
675 which made magnifier resize improperly.
677 2002-01-09 Bill Haneman <bill.haneman@sun.com>
679 * libspi/accessible.c: (spi_accessible_new) :
680 Move the test for SPI_IS_REMOTE_OBJECT to
681 spi_accessible_new_return, fixing a bug and compile time warning.
683 2002-01-08 Michael Meeks <michael@ximian.com>
685 * registryd/registry.c (parse_event_type): remove strndup.
687 * libspi/Makefile.am (libspi_la_SOURCES): remove
688 sources already included in the headers section.
690 * libspi/util.c: add.
692 * libspi/spi-private.h: add.
694 * registryd/registry.c: update to moved list iterators.
696 2002-01-05 Michael Meeks <michael@ximian.com>
698 * test/simple-at.c (main): upd. auto-module set to atk-bridge
700 * test/test-simple.c (main): ditto.
702 2002-01-04 Michael Meeks <michael@ximian.com>
704 * libspi/accessible.c (spi_accessible_new): remove 2nd,
707 * registryd/registry.c
708 (get_listener_list): impl.
709 (impl_accessibility_registry_register_global_event_listener):
710 re-impl. to simplify using ~, remove dodgy const cast off.
711 (parse_event_type): constify.
712 (impl_accessibility_registry_deregister_global_event_listener_all):
713 re-write, more efficiency and simplicity, kill re-enterancy
715 (compare_listener_corbaref, compare_corba_objects),
716 (compare_listener_quarks): define out.
717 (impl_accessibility_registry_deregister_global_event_listener):
718 re-write for effiency, and nail re-enterancy hazard.
719 (impl_accessibility_registry_get_desktop_list): impl.
720 (re_enterant_list_delete_link): impl.
721 (re_enterant_list_foreach): impl.
722 (remove_listener_cb): impl.
723 (_registry_notify_listeners): kill.
724 (notify_listeners_cb): impl.
726 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
727 (SPI_getDesktopList): impl.
729 * test/test-simple.c (test_desktop): test the methods.
731 2002-01-03 Michael Meeks <michael@ximian.com>
733 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
734 keystrings since we free them
735 (SPI_freeAccessibleKeySet): in here.
737 * libspi/accessible.c (spi_accessible_new): kill warning,
738 wonder what is going on with the constructor here.
740 2002-03-01 Bill Haneman <bill.haneman@sun.com>
742 * libspi/accessible.c (spi_accessible_new ()) :
743 Added check to see if AtkObject is an SpiRemoteObject before
744 creating an SpiAccessible.
746 2002-05-01 Bill Haneman <bill.haneman@sun.com>
748 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
749 Enable keygrabs using the Control modifier, now that they are
750 working properly (they were previously disabled).
753 Change the command keygrab for this demo to "Control+Alt", so as
754 to conflict with fewer other key commands on the system; this
755 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
757 Removed a pointlessly-chatty keylistener for unshifted keys
758 (shifted keys are still reported).
760 2002-02-01 Bill Haneman <bill.haneman@sun.com>
762 * libspi/remoteobject.h:
763 * libspi/remoteobject.c:
764 Added definitions for special AtkObject subtype, required for
765 support of remote components (specifically, used by BonoboControl
766 accessibility implementation).
768 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
770 * cspi/spi.h: synched relation types with ATK
772 * cspi/spi_accessible.c: Added implementations of
773 AcccessibleRelation_* methods
775 * idl/Accessibility_Relation.idl: added getRelationTypeName
776 method. Synched known relation types with ATK. Allowed for
777 relation type extension with the RELATION_EXTENDED type.
779 * libspi/relation.c: Provided implementations for
780 AccessibleRelation methods.
782 2002-01-01 Bill Haneman <bill.haneman@sun.com>
784 API tweaks for today's API 'freeze'.
787 Added placeholder functions to allow future compatible expansion
788 of the IDL interfaces.
790 * idl/Accessibility_Registry.idl:
791 Changed generateKeyEvent to generateKeyboardEvent. Changed
792 signature of this method to accept an optional keystring in
793 parameter (for complex text input synthesis) and changed use of
794 simple 'boolean' parameter in registerKeystrokeListener to a
795 struct, EventListenerMode.
797 * cspi/spi_accessible.c:
799 * cspi/spi_streamablecontent.c:
800 Added references to AccessibleStreamableContent interface, and
801 definition and implementation of AccessibleStreamableContent
804 * cspi/spi_registry.c:
806 Changed generateKeyEvent API to generateKeyboardEvent,
807 taking a new (optional) keystring parameter to support complex
812 Renamed directory (to better reflect its actual purpose, bridging
813 from at-spi to ATK). The .so module is also now named
816 * idl/Accessibility_Hypertext.idl:
817 * libspi/accessible.c:
818 * libspi/hypertext.h:
819 * libspi/hypertext.c:
820 Changed Accessibility_Hypertext to *not* derive from
823 * cspi/spi_registry.c:
824 Added list of legal event type names for 'window' events, which
825 completes the registry event API.
827 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
829 * at-bridge/bridge.c: Added registration for separate
830 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
831 signals. If either of the first two parameters to the generic
832 bridge signal handler are ints, they are passed on as event
833 details. This allows an AT to determine what text was inserted.
835 2001-12-21 Bill Haneman <bill.haneman@sun.com>
837 * registryd/deviceeventcontroller.c:
838 Fixed regressions in generateKeyEvent caused by the removal of
839 gdk_init from registryd; we now use pure X calls to connect to the
840 display, which makes sense because deviceeventcontroller already
841 uses a fair bit of X API (should eventually be migrated to a
842 'portability layer').
844 * registryd/desktop.c:
845 Fixed minor regression in spi_desktop_init, changed the way the
846 desktop name is being set to work with new spi_base API
847 (gobject-based, rather than AtkObject-based).
849 * registryd/Makefile.am:
850 Minor revision of makefile to use XTST_LIBS variable rather than
851 hard-wiring the Xtst LD_ADD element.
853 * test/keysynth-demo.c:
854 Tweaked an output message; added initialization of the
855 'keystrings' member of the "switch listener" key_set.
858 Squashed compile-time warning.
860 * libspi/accessible.c:
861 Cosmetic and formatting fixes, renamed a static method.
863 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
865 * libspi/accessible.c
867 * libspi/application.c
871 * libspi/editabletext.c
879 * registryd/desktop.c:
880 Changed SpiBase to contain a GObject pointer rather than an AtkObject
882 2001-12-17 Bill Haneman <bill.haneman@sun.com>
884 * idl/Accessibility_Registry.idl:
885 Added boolean member 'is_text' to DeviceEvent. This is for the
886 use of key events, and helps prevent ambiguity between composed
887 key strings and keysym names, since both may potentially be
888 returned in the 'event_string' member.
890 * at-bridge/bridge.c:
891 * registryd/deviceeventcontroller.c:
892 Use the 'is_text' member when notifying device event listeners.
893 Knon issue: composed characters are not dealt with correctly by
894 the global key listener implementation yet.
896 2001-12-17 Bill Haneman <bill.haneman@sun.com>
898 * at-bridge/bridge.c:
899 Namespaced local static methods to spi_atk_bridge_* where
900 previously named bridge_*, and spi_* elsewhere.
902 * at-bridge/bridge.c:
903 * cspi/bonobo/cspi-bonobo-listener.c:
904 Added demarshalling/conversion for string member of
905 Accessibility_DeviceEvent to AccessibleKeystroke.
907 * registryd/deviceeventcontroller.c:
908 Added code to fill the Accessibility_DeviceEvent key string value
909 member for global key events (i.e. from XGrabKey), to match
910 behavior of Accessibility_DeviceEvent from the toolkit key events
911 from the bridge. Fixed timestamp in global key event notifications.
914 Added printout of key event's string value to
915 report_ordinary_key_event, for demo/debugging purposes.
917 2001-12-15 Bill Haneman <bill.haneman@sun.com>
919 * idl/Accessibility_Registry.idl:
920 Removed Accessibility_KeyStroke structure in favor of generic
921 Accessibility_DeviceEvent structure.
922 Changed Accessibility_ControllerEventMask from a struct to an
925 * at-bridge/bridge.c:
926 Changed APIs to use DeviceEvent structure as above, and removed
927 bogus casting between these event structures.
929 * cspi/spi-listener.h:
930 Added keystring member of AccessibleKeystroke structure, to enable
931 matching on event "names" rather than only hardware codes and
935 Added keystrings member of AccessibleKeySet struct, to allow
936 matching on event names (as above).
937 Added declarations for SPI_createAccessibleKeySet and
938 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
939 event modmasks directly as unsigned ints rather than structs with
940 refcounts, in the DeviceEventController methods.
942 * cspi/spi_registry.c:
943 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
945 * cspi/spi-roletypes.h:
946 Added documentation of newly added SPI Roles.
948 * cspi/bonobo/cspi-bonobo-listener.c:
949 Changes in support of API changes above.
951 * libspi/accessible.c:
952 Converted APIs to use DeviceEvent structure (see IDL changes
955 * registryd/deviceeventcontroller.c:
956 Added DEControllerGrabMask structure to track keygrabs not only by
957 modmask but by keyset as well; this allows us to do "global"
958 (i.e. X) keygrabs on a per-key or keyset basis rather than always
959 grabbing on AnyKey and then filtering after-the-fact.
960 Bugfixes for event filtration mean that we don't get false matches
961 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
963 * registryd/deviceeventcontroller.c:
964 Namespaced a number of static methods to use spi_ prefix. Major
965 revision to internals of global (i.e. X) key grabs.
967 * registryd/deviceeventcontroller.h:
968 Removed keymask_list and added keygrabs_list to
969 SpiDeviceEventController struct.
972 Added use of SPI_createAccessibleKeySet API when creating a
973 listener for only one key. Attach a listener to "shift spacebar
974 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
975 X key event names to SPI key event names, so that listeners are
976 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
978 * test/keysynth-demo.c:
979 Changed (incorrect) use of X key event names (KeyPressed,
980 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
983 2001-12-12 Bill Haneman <bill.haneman@sun.com>
985 * libspi/accessible.c:
986 Convert all AtkRole enumerations to Accessibility_Role enums when
987 getting a role from an AtkObject.
989 * cspi/spi_accessible.c:
990 Complete the conversion of Accessibility_Role enums at runtime to
991 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
992 role enums correctly match those given in spi-roletypes.h.
993 Re-synchronize the local names list for AccessibleRole_getName ().
994 AccessibleRole_getName is now deprecated, since it duplicates the
995 more reliable Accessible_getRoleName.
996 Added some role types from Accessibility_Role.idl.
998 * idl/Accessibility_Role.idl:
999 Added some role types used by AtkRole.
1001 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1004 * cspi/spi_registry.c:
1006 * cspi/cspi-bonobo-listener.c:
1007 Namespaced all methods that did not begin with an "SPI_" or
1008 "Accessible" prefix to "SPI_".
1011 Homogenized internal function namespace to "cspi_" for statics.
1014 Patched tests to use the new CSPI API.
1016 * docs/reference/cspi/at-spi-cspi-sections.txt:
1017 Updated docs to reflect namespace changes, and added a number of
1018 methods to the documentation.
1020 * registryd/registry.c:
1021 Changed use of strings and string hashes in listener event
1022 matching and parse_event_string to use GQuark, which is guaranteed
1025 * registryd/registry.h:
1026 Squashed annoying warning.
1028 * idl/Accessibility_Role.idl:
1029 Extended range of available Accessibility_Role values.
1031 * cspi/spi_accessible.c:
1032 Re-ordered role names.
1034 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1036 * idl/Accessibility_Value.idl:
1037 Revert use of union back to CORBA_double, since the double type is
1038 more efficient and can contain the other types without loss of
1041 * idl/Accessibility_Accessible.idl:
1042 Added method Accessibility:Accessible:getRoleName, to complement
1043 Accessibility:Accessible:getRole.
1045 * cspi/spi_accessible.c:
1047 Added C binding for above, Accessible_getRoleName (), and changed
1048 signature of Accessible_getRole () to return an AccessibleRole.
1050 * cspi/spi-roletypes.h:
1051 Changed AccessibleRole_getName to return a char * instead of a
1052 const char *. This method is now at least temporarily deprecated
1053 in favor of asking Accessibles for their RoleNames directly.
1056 Revert to match Accessibility_Value.idl;
1060 Change signature of AccessibleValue methods to use double rather
1064 * cspi/spi_accessible.c:
1065 Changed Accessible_getRole to return an AccessibleRole enum rather
1066 than a UTF-8 string. The UTF-8 string can still be obtained via
1067 AccessibleRole_getName ().
1069 * test/test-simple.c:
1070 Add test_action. Small fixup to match API change to Accessible_getRole.
1073 Bugfix for get_action_from_servant ().
1075 2001-12-11 Michael Meeks <michael@ximian.com>
1077 * libspi/libspi.h: remove registry.h and
1078 desktop.h, deviceeventcontroller.h
1080 * libspi/Makefile.am: remove registry.[ch],
1081 desktop.[ch], deviceeventcontroller.[ch]
1083 * registryd/Makefile.am: add registry.[ch],
1084 desktop.[ch], rename registryd.c to registry-main.c.
1085 add deviceeventcontroller.[ch]
1087 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1090 Replace setenv() call with putenv ().
1092 * libspi/component.c:
1093 Bugfix in AccessibleComponent_getExtents (),
1096 2001-12-11 Michael Meeks <michael@ximian.com>
1098 * libspi/image.c (impl_getImageExtents): impl.
1099 (spi_image_class_init): upd.
1102 (AccessibleImage_getImageDescription): fix daft bug
1105 * test/test-simple.c (global_listener_cb): update
1106 to only quit if not --poke
1107 (main): catch --poke.
1108 (validate_accessible): upd. dumping, call test_image
1111 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1114 * idl/Accessibility.idl: update all IDL includes.
1116 * idl/*.idl - rename to namespace - this sucks, blame
1117 mjs' bad decision for oafd.
1119 * test/test-simple.c (create_test_window): add more tests.
1120 (create_tree): split this out.
1121 (validate_accessible): bugfix.
1123 2001-12-11 Michael Meeks <michael@ximian.com>
1125 * cspi/bonobo/cspi-bonobo-listener.c:
1126 (cspi_kestroke_listener_unref),
1127 (cspi_event_listener_unref): impl. undoing previous
1128 homenous environment - for Bill.
1130 * cspi/spi_table.c (long_seq_to_array): use
1133 * cspi/spi_main.c: split out all bonoboish bits into
1136 * cspi/spi-impl.h: upd. typedefs.
1138 * cspi/spi_registry.c: update to lowlevel API,
1139 return booleans to indicate success in some places.
1141 * cspi/spi_event.c: update to lowlevel API.
1143 * cspi/bonobo/Makefile.am: add.
1145 * cspi/bonobo/cspi-lowlevel.h: add
1147 * cspi/bonobo/cspi-bonobo.c: add
1149 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1151 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1152 (SUBDIRS): add bonobo, link in the libs.
1154 * cspi/spi-util.c: kill this file.
1156 * TODO: merge in my bits.
1158 2001-12-11 Michael Meeks <michael@ximian.com>
1160 * test/test-simple.c (test_value, test_table, main):
1161 remove unused variables causing warnings.
1163 * configure.in: cleanup checks - require gail.
1165 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1168 Changed Value interface to use SValue (scalars) rather than
1169 assuming all values are floats. This allows floats, doubles,
1170 longs, shorts, and unsigned values to be manipulated.
1171 Introduced Accessibility:SValue union.
1174 Updated to use new API above, and to work correctly with GValues
1175 of different types in AtkValue.
1178 Updated to use new API above. cspi's API is as yet unchanged.
1181 Updated the Value revision action item.
1183 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1185 * test/test-simple.c:
1186 Added test_table (GtkTreeView widget in test window to follow).
1187 Un-commented test_value, added GtkRange widget.
1188 Added GtkTreeView widget with GtkListStore. It passes regression
1189 test but leaks one SPI object for some reason.
1192 Fixed bug in impl__set_currentValue.
1194 2001-12-10 Michael Meeks <michael@ximian.com>
1196 * cspi/spi_text.c: audit for exception handling,
1197 tolerating NULL object references safely etc.
1199 * cspi/spi_value.c: ditto.
1201 * cspi/spi_table.c (AccessibleTable_getSummary),
1202 (AccessibleTable_getAccessibleAt),
1203 (AccessibleTable_getRowHeader),
1204 (AccessibleTable_getColumnHeader),
1205 (AccessibleTable_getCaption): fix bugs hidden by
1207 (long_seq_to_array): impl.
1208 (AccessibleTable_getSelectedRows),
1209 (AccessibleTable_getSelectedColumns): use it.
1211 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1214 Added a TODO list (rough and short for now).
1216 * cspi/spi_hyperlink.c:
1217 * cspi/spi_hypertext.c:
1218 Fixed macro name typos, and remove use of obsolete macro in
1219 AccessibleHyperlink_getLink.
1221 * cspi/spi_action.c:
1222 * cspi/spi_accessible.c:
1223 * cspi/spi_application.c:
1224 * cspi/spi_component.c:
1225 * cspi/spi_selection.c:
1228 Documentation fixes (removed return values from ref/unref methods).
1230 2001-12-10 Michael Meeks <michael@ximian.com>
1232 * cspi/spi_action.c: audit for exception handling,
1233 tolerating NULL object references safely etc.
1235 * cspi/spi_accessible.c: ditto.
1237 * cspi/spi_component.c: ditto.
1239 * cspi/spi_editabletext.c: ditto.
1241 * cspi/spi_hyperlink.c: ditto.
1243 * cspi/spi_hypertext.c: ditto.
1245 * cspi/spi_image.c: ditto.
1247 * cspi/spi_selection.c: ditto.
1249 2001-12-10 Michael Meeks <michael@ximian.com>
1251 * configure.in: use cspi/libspi.pc.in instead.
1253 * Makefile.am (pkgconfig_DATA): upd. to match.
1255 * test/simple-at.c (report_focus_event): kill hacks around
1256 bad return values, use putenv not setenv
1258 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
1259 fire ChildGone - I killed it.
1261 * libspi/component.c
1262 (impl_accessibility_component_get_extents): remove
1265 * idl/Accessible.idl: kill ChildGone exception.
1267 * cspi/*.[ch]: kill int return from ref / unref.
1269 * cspi/spi_main.c (cspi_object_add_check): fold into
1270 (cspi_object_add): here.
1272 * cspi/spi_component.c (AccessibleComponent_getExtents):
1273 handle exceptions elegantly.
1275 * cspi/spi-private.h (cspi_check_ev_return),
1276 (cspi_return_if_fail): impl.
1278 * cspi/spi_accessible.c: use extensively.
1279 (AccessibleStateSet_equals): add direct compare check.
1281 * cspi/spi_selection.c: tolerate NULL objs, and check
1282 exceptions before return.
1284 * cspi/spi-util.c (cspi_warn_ev): rename to
1285 (cspi_check_ev): this & don't pass ev in; no point.
1287 2001-12-10 Michael Meeks <michael@ximian.com>
1289 * test/test-simple.c: use putenv not setenv
1290 (get_environment_vars): more chatty if you're not using
1293 * test/simple-at.c: do the setenv so more people see the
1296 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1298 * libspi/registry.c:
1299 Changed check of CORBA_environment on notification to be a warning
1300 instead of an error for the moment, since we can recover from this
1301 error when caused by a queued notification from a dead app.
1304 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
1305 used by all current implementors of AtkValue), and coerce to
1306 CORBA_float. (Proper general case fix may require change to Value.idl).
1308 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1312 * cspi/spi_accessible.c:
1313 Documentation fixes: added user_data params to documentation for
1314 listeners and callbacks.
1316 * cspi/spi_accessible.c:
1317 Changed AccessibleStateSet_compare to return a
1318 StateSet rather than return the difference set into a third parameter.
1321 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1324 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
1325 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
1329 Remove subdirectory po from SUBDIRS for now.
1331 * at-bridge/bridge.c:
1332 Beefed up a couple of debug printouts.
1333 One-line fix for signal notification name formatting.
1335 * libspi/accessible.c:
1336 Added assertion to spi_accessible_new ().
1338 * libspi/application.c:
1339 Put #ifdef qualifiers around a printf.
1342 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
1344 * registryd/Makefile.am:
1346 Replaces use of XML_I18N_MERGE_SERVER_RULE with
1347 INTLTOOL_SERVER_RULE macro.
1350 Added an event listener for several ATK signals, for
1351 testing and debugging. Removed a few g_warnings.
1352 Added test output if focussed item implements the Value interface.
1354 * test/test-simple.c:
1355 Added test_value () function (known not to pass at the moment, so
1356 not actually called yet.
1358 2001-12-08 Michael Meeks <michael@ximian.com>
1360 * at-bridge/bridge.c (bridge_focus_tracker),
1361 (emit_eventv): fix the same ref. leak.
1362 (register_atk_event_listeners): don't leak.
1364 * cspi/spi-listener-impl.c (cspi_event): more
1365 protection from client code.
1367 * test/test-simple.c (test_desktop): unref the app.
1369 * test/Makefile.am: upd. TESTS.
1371 * at-bridge/bridge.c (bridge_exit_func): release the registry.
1373 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
1375 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
1377 * cspi/spi_registry.c: constify in strings.
1378 (deregisterGlobalEventListenerAll): don't release the ref.
1380 * cspi/spi.h: start removing redundant / conflicting
1381 gtkdoc comments, making the API readable at a glance :-)
1383 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
1385 * test/keysynth-demo.c (keysynth_exit, main): upd.
1387 * test/simple-at.c (main, simple_at_exit): upd.
1389 * test/test-simple.c (unutterable_horror): kill.
1390 (utterable_normal_derefs): kill.
1391 (main): upd & do a setenv before gtk_init, so that we
1392 can use memprof - and to save the pain of remembering
1393 this, if we're running under memprof - don't exit.
1395 * cspi/spi_main.c (SPI_exit): return exit status
1397 (SPI_event_quit): impl.
1398 (SPI_event_main): simplify.
1399 (cspi_is_gnome_app): kill.
1400 (SPI_init): kill isGNOMEapp arg.
1402 * at-bridge/bridge.c (register_atk_event_listeners):
1403 re-instate the unref.
1404 (bridge_exit_func): don't re-activate the registry,
1405 protect vs. theoretical re-entry, use the
1406 AT_BRIDGE_SHUTDOWN env. var to determine whether to
1407 assert a clean shutdown - for regression tests.
1409 2001-12-08 Abel Cheung <maddog@linux.org.hk>
1411 * configure.in: Comment out dummy i18n support for now,
1412 otherwise it fails to build.
1413 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
1414 EXTRA_DIST. They are missing in tarball.
1416 2001-12-07 Michael Meeks <michael@ximian.com>
1418 * util/magnifier.c: kill bonobo activation reg. race.
1420 * libspi/component.c
1421 (impl_accessibility_component_get_extents): make it match
1424 * libspi/registry.c (_registry_notify_listeners):
1425 re-remove X headers & reconcile conflicts.
1426 (spi_listener_struct_free): bad conflict resolve.
1427 (impl_accessibility_registry_register_application):
1428 more bad merging fixed.
1429 (impl_accessibility_registry_deregister_application): ditto.
1430 (spi_registry_new): ditto.
1431 (spi_registry_init): don't have an applications field.
1433 [ merge fixups2 branch to here ]
1434 2001-12-07 Michael Meeks <michael@ximian.com>
1436 * test/simple-at.c (report_focus_event),
1437 (report_focussed_accessible): remove g_warning debug.
1439 2001-12-07 Michael Meeks <michael@ximian.com>
1441 * test/test-simple.c (validate_tree): comment out some checks.
1442 (test_desktop): app now not registered idly - horay.
1444 2001-12-07 Michael Meeks <michael@ximian.com>
1446 * cspi/spi_registry.c
1447 (registerAccessibleKeystrokeListener): clean, stop it leaking
1448 great swathes of memory, and device event controller references.
1449 ensure we always pass valid sequences.
1450 (deregisterAccessibleKeystrokeListener): ditto.
1451 (generateKeyEvent): upd.
1453 * at-bridge/bridge.c (bridge_key_listener): handle
1454 registry dead exception gracefully.
1455 (bridge_focus_tracker, emit_eventv): free ev.
1457 * test/simple-at.c (report_focus_event): fix polarity.
1459 * libspi/application.c (notify_listeners): kill the ev
1460 argument, and make sure we init the ev we use.
1461 (spi_application_object_event_listener): split out a chunk
1462 (get_atk_object_ref): here & fixup.
1463 (reverse_lookup_name_for_toolkit_event): make const.
1464 (spi_application_toolkit_event_listener): fixup, kill leaks
1467 * at-bridge/bridge.c (register_atk_event_listeners):
1468 don't unref the noop object - causes grief.
1470 * libspi/registry.c: remove the X headers.
1471 turn off the debug churn.
1473 * libspi/accessible.c (spi_accessible_new_return): only
1474 release the ref if we are supposed to [doh]
1476 * test/simple-at.c (report_button_press, report_focus_event):
1477 guard vs. unexpected exit.
1479 * at-bridge/bridge.c (gtk_module_init): prune printf.
1480 (bridge_exit_func): fix app unref.
1482 * libspi/Makefile.am: don't install registry or desktop.h
1484 * libspi/*.h: update includes.
1486 * libspi/application.h: don't include ourself, or
1487 other redundant headers.
1489 2001-12-06 Michael Meeks <michael@ximian.com>
1491 * libspi/accessible.c
1492 (get_accessible_from_servant): impl.
1493 Upd. all CORBA impl.s to use it killing cut and paste.
1495 * cspi/spi_main.c (cspi_cleanup): guard vs. double
1497 (SPI_init): register atexit cleanup handler here.
1499 2001-12-06 Michael Meeks <michael@ximian.com>
1501 * at-bridge/bridge.c (gtk_module_init): g_error on
1502 activation exception
1504 2001-12-06 Michael Meeks <michael@ximian.com>
1506 * at-bridge/bridge.c (gtk_module_init): some sort of
1507 confusing merge clash - reverted.
1508 (bridge_idle_init): ditto.
1510 * test/test-simple.c (main, utterable_normal_derefs):
1511 merge from Bill - somehow not committed.
1513 2001-12-06 Michael Meeks <michael@ximian.com>
1515 * libspi/value.c (spi_value_class_init): upd.
1516 (spi_value_finalize): kill.
1518 * libspi/table.c (spi_table_finalize): kill.
1519 (spi_table_interface_new): upd.
1520 (spi_table_class_init): upd.
1521 (get_table_from_servant): impl.
1522 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1524 * libspi/selection.c (spi_selection_finalize): kill.
1525 (spi_selection_interface_new): upd.
1526 (spi_selection_class_init): upd.
1527 (get_selection_from_servant): impl.
1528 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1530 * libspi/relation.c (spi_relation_finalize): kill.
1531 (spi_relation_class_init, spi_relation_new): upd
1533 * libspi/image.c (spi_image_finalize): kill.
1534 (spi_image_class_init): upd.
1535 (spi_image_interface_new): upd.
1536 (get_image_from_servant): impl.
1537 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1539 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
1540 (spi_hyperlink_finalize): kill.
1541 (spi_hyperlink_new): upd.
1542 (get_hyperlink_from_servant): impl.
1543 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1545 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
1546 (spi_hypertext_finalize): kill.
1547 (spi_hypertext_class_init): upd.
1548 (get_hypertext_from_servant): impl.
1549 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1551 * libspi/editabletext.c (spi_editable_text_finalize): kill.
1552 (spi_editable_text_interface_new): upd.
1553 (get_editable_text_from_servant): impl.
1554 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1556 * libspi/text.c (get_text_from_servant): impl.
1557 All impls - update to use it killing more cut and paste,
1558 also fix bad string returns on duff args ( a somewhat
1559 impossible case to handle - but hey ).
1560 (spi_text_construct): impl.
1561 (spi_text_interface_new): upd.
1562 (spi_text_object_finalize): kill.
1564 * libspi/component.c
1565 (accessibility_component_object_finalize): kill.
1566 (spi_component_class_init): upd.
1567 (get_component_from_servant): impl. helper to kill cut & paste.
1568 (impl_accessibility_component_contains):
1569 (impl_accessibility_component_get_accessible_at_point):
1570 (impl_accessibility_component_get_position):
1571 (impl_accessibility_component_get_extents):
1572 (impl_accessibility_component_get_mdi_z_order):
1573 (impl_accessibility_component_get_layer):
1574 (spi_component_interface_new): upd.
1576 * libspi/action.c (spi_action_finalize): kill.
1577 (spi_action_class_init): upd. inherit from SpiObject.
1578 (spi_action_interface_new): upd.
1579 (get_action_from_servant): impl. helper to reduce cut & paste.
1580 (impl_getKeyBinding, impl_getName, impl_doAction),
1581 (impl_getDescription): Use it everywhere.
1583 * cspi/spi_main.c (get_live_refs): a pointer hash.
1584 (spi_object_hash, spi_object_equal): comment out.
1585 There are issues with CORBA object hashing that need
1588 * libspi/application.c (spi_application_init),
1589 (spi_application_new): upd.
1591 * libspi/accessible.c (spi_accessible_object_finalize): kill.
1592 (spi_accessible_class_init): upd.
1593 s/accessible/object/ in epv methods.
1595 2001-12-05 Bill Haneman <bill.haneman@sun.com>
1597 * at-bridge/bridge.c:
1598 Reorder the bridge initialization into the bridge gtk_module_init,
1599 an immediate call to bridge_register_app, and an idle_add for
1600 register_atk_event_listeners (the only code that *must* wait until
1601 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
1602 the activation, creates the application's Accessible object, and
1603 queues the bridge_idle_init function. Restored call to
1604 Accessibility_Registry_deregisterApplication().
1605 Prior to making this call we obtain a new reference to the
1606 registry, which is a temporary hack that helps us handle apps that
1607 shut down the bonobo mainloop before we get there.
1609 * libspi/registry.c:
1610 Fix string leakage in debug block, and don't segv if a an app
1611 dies before its event notifications have been propagated.
1614 Modify cspi_check_ev() to call g_warning() rather than g_error(),
1615 as stopgap measure until we get proper exception handling when
1616 objects die during or before interrogation.
1620 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
1621 Also changed default value of is_gnome_app to TRUE.
1624 * test/keysynth-demo.c:
1625 Changed use of SPI_init and SPI_event_main to reflect API change above.
1628 Made report_focus_event check the warning value from getName
1629 before reporting on focussed accessible; simplifies handling of
1630 notifications from dead objects.
1632 * test/test-simple.c: (Changes not in this patch since source is
1635 2001-12-05 Michael Meeks <michael@ximian.com>
1637 * registryd/registryd.c (main): protect against
1638 bonobo-activation startup race condition.
1640 * cspi/spi_main.c (cspi_object_add_check): cope
1641 with the exception elegantly.
1643 * idl/Accessible.idl: decl. ChildGone
1645 * libspi/desktop.c (spi_desktop_dispose): impl.
1646 (spi_desktop_class_init): upd.
1647 (spi_desktop_add_application),
1648 (spi_desktop_remove_application),
1649 (abnormal_application_termination): impl.
1650 (impl_desktop_get_child_at_index): re-impl.
1653 (impl_accessibility_registry_deregister_application),
1654 (impl_accessibility_registry_register_application):
1655 kill excessive debug clutter.
1657 * test/test-simple.c (test_misc): test some NULL
1658 tolerance. (main): upd.
1660 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
1661 implements no interfaces - so let's not crash.
1663 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
1665 * libspi/accessible.c (spi_accessible_new_return): impl.
1666 helper to calm the cut and paste, to cope with
1667 NULL AtkObjects effectively and efficiently, and to kill
1668 the referencing bugs.
1670 * libspi/table.c (impl_getAccessibleAt),
1671 (impl_getRowHeader, impl_getColumnHeader): upd.
1673 * libspi/hyperlink.c (impl_getObject): upd.
1675 * libspi/accessible.c
1676 (impl_accessibility_accessible_get_child_at_index): upd.
1678 * libspi/component.c
1679 (impl_accessibility_component_get_accessible_at_point): upd.
1681 * test/test-simple.c (test_editable_text, test_text): impl.
1684 * cspi/spi_editabletext.c
1685 (AccessibleEditableText_insertText): constify.
1687 * test/test-simple.c (focus_me): make more robust.
1689 * libspi/accessible.c: remove some printfs in methods that
1690 we test and work fine, so we can get a clean tree dump.
1692 * test/test-simple.c (validate_accessible),
1693 (validate_tree): make tree dumping pretty too.
1695 * at-bridge/bridge.c (bridge_signal_listener): upd. so
1696 it builds without debug on.
1698 * test/test-simple.c (validate_accessible): fix the most
1701 * cspi/spi_main.c (spi_object_release): leave the nicely
1702 blanked memory around if in debug mode.
1704 * cspi/spi-listener-impl.c (cspi_event): use add_check.
1706 [committed to fixups2]
1707 2001-12-05 Michael Meeks <michael@ximian.com>
1709 * libspi/editabletext.c
1710 (spi_editable_text_class_init): g_type_class_peek_parent,
1711 not interface peek - so we finalize cleanly.
1713 * libspi/accessible.c (spi_accessible_new): kill debug.
1715 * test/test-simple.c (validate_accessible): fix ref.
1716 leak, print strings before freeing them; sigh, comment a
1717 chunk out due to strangeness.
1718 (validate_tree): unref the child after use.
1720 * cspi/spi_component.c (AccessibleComponent_getLayer):
1721 add missing break statement, switch on zlayer not the
1722 uninitialized retval.
1724 * cspi/spi_main.c (cspi_object_add): add assert, local ref
1725 before (possibly re-entering) remote unref.
1727 * test/simple-at.c (main): unref the desktop.
1729 * cspi/spi_accessible.c (cspi_accessible_is_a): move
1732 * cspi/spi_main.c (cspi_accessible_is_a): here to
1733 isolate bonobo API usage more.
1735 * libspi/registry.c (impl_accessibility_registry_register_application):
1736 prune bogus comment.
1738 2001-12-04 Michael Meeks <michael@ximian.com>
1740 * test/test-simple.c (validate_tree): upd.
1741 IndexInParent check to make it more lucid.
1742 (validate_accessible): dump the tree.
1744 * libspi/accessible.c (de_register_public_ref),
1745 (get_public_refs): impl.
1746 (spi_accessible_new): make more efficient & intuitive.
1747 Now IndexInParent check works.
1749 2001-12-04 Michael Meeks <michael@ximian.com>
1751 * cspi/spi-util.h: remove.
1753 * cspi/spi.h: move SPI_freeString here
1755 * libspi/component.c (impl_accessibility_component_get_layer):
1757 (impl_accessibility_component_get_mdi_z_order): ditto,
1758 return -1 on error - is this ok ?
1760 * test/test-simple.c (test_application): impl.
1762 * cspi/spi_accessible.c (Accessible_getApplication),
1763 (Accessible_isApplication): impl.
1765 * libspi/registry.c (spi_listener_struct_free): release
1766 the CORBA reference too.
1768 * libspi/accessible.c
1769 (impl_accessibility_accessible_get_parent): fix ref leak.
1771 * libspi/registry.c (spi_registry_new): make the registry
1772 immortal - we don't want it to go away ever.
1774 * libspi/application.c
1775 (spi_accessible_application_finalize): impl. cleanup.
1777 * cspi/spi_registry.c
1778 (deregisterGlobalEventListenerAll),
1779 (deregisterGlobalEventListener),
1780 (deregisterAccessibleKeystrokeListener): fix ref leak.
1782 * cspi/spi_main.c (SPI_init): remove redundant ref.
1784 * test/test-simple.c (unutterable_horror): impl. to force a
1789 (impl_accessibility_registry_deregister_application): release
1790 the application when we de-register it.
1792 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1793 until we have the infastructure to get it right.
1795 2001-12-03 Michael Meeks <michael@ximian.com>
1797 * libspi/Makefile.am: only build eventlistener.[ch]
1799 * libspi/accessible.c
1800 (impl_accessibility_accessible_get_child_at_index): don't leak.
1802 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1803 before we hit the idle handler.
1805 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1806 debugging than exit.
1808 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1810 * libspi/listener.c (impl_notify_event): check source
1811 not NIL before unref.
1813 * libspi/registry.c (impl_registry_notify_event): ditto.
1815 * libspi/eventlistener.c
1816 (impl_accessible_event_notify_event): unref the source.
1818 * libspi/accessibleeventlistener.c
1819 (impl_accessible_event_notify_event): unref the source.
1821 * idl/Event.idl: remove 'hash_id' attribute - of no
1824 * libspi/application.c (notify_listeners): upd list
1826 (spi_application_object_event_listener),
1827 (spi_application_toolkit_event_listener): upd to do correct
1831 (_registry_notify_listeners): update.
1832 (parse_event_type): this method also leaks like a sieve.
1833 (impl_accessibility_registry_deregister_global_event_listener):
1834 fix ETYPE_WINDOW case.
1836 * libspi/application.c
1837 (impl_accessibility_application_register_object_event_listener):
1840 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1842 * libspi/hypertext.c (impl_getLink): ditto.
1844 * cspi/spi_main.c (cspi_object_add): remove
1845 bogus CORBA_Object_duplicate.
1847 * cspi/spi-listener-impl.c (cspi_event): dup/ref
1850 * cspi/spi_accessible.c
1851 (Accessible_getRelationSet): fix leak / referencing issue.
1853 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1854 (cspi_object_add, cspi_object_unref): upd.
1855 (spi_object_release, get_live_refs): impl.
1856 (cspi_cleanup): simplify.
1858 * *.[ch]: s/boolean/SpiBoolean/
1860 * cspi/spi_accessible.c (role_names): actualy order so it
1861 corresponds with the enum !
1863 * test/test-simple.c (test_roles): check some role strings
1864 vs. enums to detect offset errors.
1866 2001-12-01 Michael Meeks <michael@ximian.com>
1868 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1870 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1872 (Accessible_getChildAtIndex): use cspi_add_check so we
1873 check the ev before using a (possibly) invalid value.
1875 * libspi/accessible.c
1876 (impl_accessibility_accessible_get_parent): don't segv
1879 * at-bridge/bridge.c (gtk_module_init): upd.
1880 (bridge_property_event_listener): don't leak strings
1882 (bridge_state_event_listener),
1883 (bridge_property_event_listener): don't use a static
1884 buffer in case of recursive event emission &
1885 re-enterancy - split out the swathe of cut and paste
1887 (emit_eventv): and fix 2 ref leaks here & comply to the
1889 (bridge_register_app): rename to
1890 (bridge_idle_init): this and kill arg parsing, split
1891 various inits & bonobo-activation registration to module
1892 init time, kill referencing error.
1893 (bridge_exit_func): fix the same leak.
1894 (bridge_focus_tracker): don't leak event structures
1896 (bridge_signal_listener): more leakage and cut & paste
1898 (bridge_key_listener): return the result - FIXME is
1899 this polarity correct ?
1900 (accessibility_keystroke_from_atk_key_event): rename
1901 (accessibility_init_keystroke_from_atk_key_event): and stop
1903 (gtk_module_init): return a value - not that it is checked by
1905 (bridge_key_listener): register my horror at casting between
1906 IDL defined structs.
1907 (bridge_get_registry): kill - not used.
1909 * cspi/spi_accessible.c (Accessible_getRole): make return const.
1911 * test/test-simple.c (test_roles): impl.
1912 (test_desktop, validate_accessible, validate_tree): impl.
1914 * cspi/spi_accessible.c (role_names): fixup bogus
1915 MAX_ROLES setup, make constants const for efficient linkage
1916 (AccessibleRole_getName): conform to coding style, make
1919 2001-11-30 Michael Meeks <michael@ximian.com>
1921 * cspi/spi.h: add missing prototype.
1923 * libspi/registry.c (spi_listener_struct_new): fix sig.
1925 * test/Makefile.am: add test-simple
1927 * test/test-simple.c: add
1929 * test/test.sh: add.
1931 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1933 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1934 do it straight - since otherwise we often get an activation race.
1936 [ work before Bill duplicated a chunk of it ... ]
1937 2001-11-30 Michael Meeks <michael@ximian.com>
1939 * libspi/keystrokelistener.c
1940 (spi_keystroke_listener_class_init): fixup arg
1943 * libspi/eventlistener.c
1944 (spi_event_listener_class_init): ditto.
1946 * tests/test.sh: add.
1948 * cspi/spi-listener-impl.h: update macros.
1950 * cspi/spi-listener-impl.c
1951 (cspi_event_listener_remove_callback): add
1952 correct pre-conditions.
1954 * cspi/spi_main.c (SPI_exit): guard vs. double
1955 exits, exit the mainloop nicely.
1956 (SPI_event_main): make more sense.
1957 (SPI_init): move the atexit evilness here so we
1958 always do it (yuck).
1959 (SPI_event_main): upd.
1961 * test/simple-at.c: update for listener changes.
1963 * registryd/registryd.c (main): prune kruft.
1965 * libspi/libspi.h: upd.
1967 * libspi/eventlistener.[ch]: rename broken macros.
1969 * libspi/accessibleeventlistener.[ch]: remove.
1971 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
1973 * test/test-simple.c: Add - automated tests.
1975 * cspi/spi-listener-impl.c (cspi_event),
1976 (cspi_key_event): add user_data to invoke.
1977 (cspi_keystroke_listener_finalize): impl.
1978 (cspi_keystroke_listener_class_init): upd.
1981 (createAccessibleEventListener),
1982 (AccessibleEventListener_addCallback),
1983 (createAccessibleKeystrokeListener),
1984 (AccessibleKeystrokeListener_addCallback): upd.
1986 * libspi/deviceeventcontroller.c
1987 (spi_device_event_controller_check_key_event): add public proto.
1990 (impl_accessibility_registry_deregister_global_event_listener):
1991 always init listeners.
1992 (_registry_notify_listeners): yes it is.
1994 * cspi/spi-listener-impl.c (cspi_key_event):
1996 (cspi_event_listener_finalize): impl.
1997 (cspi_event_listener_class_init): hook up.
1998 (event_handler_new, event_handler_free),
1999 (event_list_remove_by_callback): impl.
2000 (cspi_event_listener_remove_callback),
2001 (cspi_keystroke_listener_remove_callback),
2002 (cspi_keystroke_listener_add_callback),
2003 (cspi_event_listener_add_callback): upd.
2005 * libspi/keystrokelistener.c
2006 (keystroke_listener_object_finalize): kill
2007 (spi_keystroke_listener_class_init): upd.
2008 (spi_keystroke_listener_add_callback),
2009 (spi_keystroke_listener_remove_callback): kill,
2011 (impl_key_event): prune drasticaly.
2013 * libspi/eventlistener.c
2014 (spi_event_listener_add_callback),
2015 (spi_event_listener_remove_callback): kill, use
2017 (impl_accessible_event_notify_event): upd.
2018 (spi_event_listener_object_finalize): remove.
2020 * libspi/Makefile.am: use eventlistener.[ch]
2022 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2024 * libspi/registry.c (_registry_notify_listeners):
2025 Changed listener loop iteration to use preferred convention.
2026 Got rid of string memory leaks caused be calling g_strconcat
2027 inside function calls.
2029 * libspi/registry.c (parse_event_type):
2030 Stopped g_strconcat memory leaks, free the g_strsplit return,
2031 g_strdup the split pieces when used, etc.
2033 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2036 Change method 'compare' to return a 'difference set' rather than
2037 taking a StateSet as an out parameter (more Java-friendly).
2039 * idl/Accessible.idl:
2040 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2042 * idl/Component.idl:
2044 Changed methods 'getExtents' and 'getImageExtents' in these
2045 interfaces to return a BoundingBox structure.
2046 (getPosition and getSize are redundant and possibly should be
2047 removed, rather than creating a corresponding Point struct.)
2049 * cspi/spi_component.c:
2050 Modify implementation of getExtents to reflect the above IDL
2055 Add (missing) AccessibleImage_getExtents () API.
2057 * docs/reference/cspi/at-spi-cspi-sections.txt:
2058 Added AccessibleImage_getImageExtents () to docs.
2060 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2062 * idl/Component.idl:
2063 Added two methods, getLayer () and getMDIZOrder (), to reflect
2064 the new ATK methods atk_object_get_layer and
2065 atk_object_get_mdi_z_order. (Which arguably should be part of the
2066 AtkComponent API and AtkObject). Also added an enum,
2067 ComponentLayer, for the first method's return value.
2069 * libspi/component.c:
2070 Added implementations for these methods.
2072 * cspi/spi_component.c:
2074 Added cspi binding methods for above,
2075 AccessibleComponent_getLayer() and
2076 AccessibleComponent_getMDIZOrder().
2077 Added cspi enum 'AccessibleComponentLayer'.
2079 * docs/reference/cspi/at-spi-cspi-sections.txt:
2080 Added above methods to docs.
2084 Changed typedef for 'boolean' type (and all references to it) to
2085 SPIBoolean, to avoid keyword clashes with C++.
2088 Changed usages of 'boolean' to SPIBoolean.
2090 * test/keysynth-demo.c:
2091 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2092 app), except where SPIBoolean is required by the callbacks API.
2094 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2096 * cspi/spi_registry.c:
2097 Removed obsolete X event loop for passive keygrabs (which now
2100 * registryd/registryd.c:
2101 Removed unnecessary call to gdk_init() [cruft]. This also allows
2102 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2105 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2107 * docs/reference/cspi:
2108 Included docs for SPI_freeString in generated documentation.
2111 Renamed spi_freeString to SPI_freeString, for consistency. Added
2112 documentation for this function.
2115 Renamed spi_freeString to SPI_freeString, for consistency.
2116 Removed obsolete method declaration string_from_corba_string.
2118 * test/keysynth-demo.c:
2119 Small tweak to comments.
2122 Stopped leaking the strings returned from CSPI.
2124 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2126 Merged Michael's branch (see his ChangeLog entries below).
2128 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2129 bridge is alive, release on exit.
2131 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2132 Fix type check macro.
2135 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2138 Added is_gnome_app static, and method cspi_is_gnome_app(),
2139 so we can call the appropriate shutdown routine at exit in SPI_exit.
2141 * cspi/spi_main.c (cspi_object_ref):
2142 Duplicate the corba object passed in, since we're keeping it around.
2144 * cspi/SPI_exit.c, cspi_cleanup:
2145 Moved the releasing of the live refs to its own function, so we
2146 can put it in g_atexit (). Call the appropriate shutdown API
2147 depending on whethe calling client is a gnome app or not
2148 (bonobo_main_quit or CORBA_ORB_shutdown).
2150 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2151 Unref the listener when this method is called, after
2152 deregistration. Updated the API docs to note this behavior.
2154 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2155 Bugfixes: Ref the bonobo object when returning a parent or child
2156 reference, or an AccessibleRelation. Generally made sure
2157 BonoboObject refcount is incremented whenever we return an
2160 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2161 Fixed typo/bug in signal declaration.
2163 * libspi/accessibleeventlistener.h:
2166 * libspi/application.c (spi_application_new):
2167 Fixed leak in initialization.
2170 Remembered to increment bonobo-object refcount when returning
2171 children (applications) from desktop object.
2172 Added (empty) finalize method.
2174 * libspi/deviceeventcontroller.c:
2175 Hold a ref to listeners inside DEControllerKeyListeners.
2176 Added dec_key_listener_free() method. Use prepend instead of
2177 append in key_listener list. Fixed some refcount madness and
2178 leaks in the listener registration/deregistration - deregistration
2179 now calls dec_key_listener_free() on listeners, and on the
2180 temporarily constructed dec_key_listener() used to perform the search/match.
2182 * libspi/hypertext.c (spi_hypertest_finalize):
2183 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2184 class. Also fixed spi_hypertext_interface_new() and
2185 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2187 * libspi/hypertext.h:
2188 Removed pointless and duplicate AtkObject pointer from
2191 * libspi/keystrokelistener.c:
2192 Fixed incorrect type of keystroke_listener_parent_class,
2193 renamed keystroke_listener_object_finalize to
2194 spi_keystroke_listener_object_finalize.
2195 Fixed typo in signal declaration
2196 (spi_keystroke_listener_class_init).
2198 * libspi/registry.c:
2199 Added funcsions spi_listener_struct_new() and
2200 spi_listener_struct_free() to help with memory management issues.
2201 We also now use these methods instead of gnew + poking stuff into
2202 the struct, and to decrement listener counts/free the listeners
2203 when deregistering them.
2204 Fix more refcount bugs in getDesktop() and
2205 getDeviceEventController().
2208 De-ref the desktop after enumerating the applications. Explicitly
2209 decrement the refcounts on the created listeners on exit (using
2210 _unref for keystroke listeners, and via the
2211 deregisterGlobalEventListenerAll command for other event
2214 2001-11-27 Michael Meeks <michael@ximian.com>
2216 * cspi/spi-listener.h: fixup enum.
2218 2001-11-27 Michael Meeks <michael@ximian.com>
2220 * cspi/spi-listener-impl.c (cspi_event_listener_new),
2221 (cspi_keystroke_listener_new): Use the cspi variants.
2223 2001-11-26 Michael Meeks <michael@ximian.com>
2225 * test/keysynth-demo.c: fix 2 compile warnings, missing
2228 * test/simple-at.c (report_focussed_accessible),
2229 (report_focus_event, report_button_press),
2230 (check_property_change, is_command_key),
2231 (report_ordinary_key_event, report_command_key_event): upd.
2233 * util/mag_client.h: include pre-requisites.
2235 * libspi/accessibleeventlistener.c
2236 (spi_event_listener_object_finalize): free any lingering
2239 * libspi/keystrokelistener.c
2240 (keystroke_listener_object_finalize): ditto.
2242 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
2243 callbacks, with cspi types.
2245 * cspi/spi_event.c (createAccessibleEventListener): chain to
2246 (AccessibleEventListener_addCallback): here.
2247 (createAccessibleKeystrokeListener): chain to
2248 (AccessibleKeystrokeListener_addCallback): here.
2250 * libspi/keystrokelistener.c
2251 (spi_keystroke_listener_class_init): add signal.
2252 (impl_key_event): emit the event.
2253 (boolean_handled_accumulator): impl.
2254 (marshal_BOOLEAN__POINTER): add, gack.
2256 * libspi/accessibleeventlistener.c
2257 (spi_event_listener_class_init): add signal.
2258 (impl_accessible_event_notify_event): emit the signal &
2259 make the loop efficient.
2260 (spi_event_listener_add_callback): prepend the callback.
2262 * libspi/accessibleeventlistener.h: add an 'event' signal,
2263 decl type on callback.
2265 * libspi/keystrokelistener.h: ditto.
2267 * cspi/spi-listener.h: make methods typesafe and
2268 make them use the new event typedefs.
2270 * test/simple-at.c (report_focussed_accessible):
2271 include mag_client.h
2272 Use *(void *)text_interface not the other thing.
2274 * configure.in: add gtk to registryd bits - since we use
2277 * util/magnifier.c: include libbonobo.h
2279 2001-11-25 Bill Haneman <bill.haneman@sun.com>
2281 * test/keysynth-demo.c:
2282 Turned this into a simple scanning keyboard, to demonstrate the
2283 use of g_timeout_add () as a means of creating timers for
2284 scanning, and the use of GtkStyle for visually indicating when
2285 virtual keyboard elements are selected.
2287 keysynth-demo now listens to any keyboard keys with zero-valued
2288 keycodes (i.e. 'unused' keys) and interprets them as
2291 Reworked the shiftlatch code so that shift-down state isn't held
2292 for long periods (it's only synthesized immediately prior to
2293 the keysynth event it's modifying). Note that shiftlatch in this
2294 demo is a convenience, not intended to take the place of AccessX
2295 which is the better choice for getting 'sticky' modifier keys.
2297 * libspi/deviceeventcontroller.c:
2298 * at-bridge/bridge.c:
2299 * cspi/spi_registry.c:
2300 Removed some debug print stuff, and put other verbosity in #ifdef
2305 Implemented some more of the magnifier IDL for the simple
2306 magnifier: namely, getZoomRegionParams.
2307 Added mag_x and mag_y members to MagnifierData struct, aid of this
2309 Added GtkWindow::realize signal handler to magnifier, to keep it
2310 from receiving keyboard focus from the WM.
2312 2001-11-23 Mark McLoughlin <mark@skynet.ie>
2314 * cspi/spi-private.h: my guess at what michael forgot
2315 before he ran off to NZ :-)
2317 2001-11-23 Michael Meeks <michael@ximian.com>
2319 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
2320 comment out non existant method invoke so we link.
2322 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
2323 use bonobo_exception_get_text for more friendly warnings.
2325 * cspi/spi.c (Obj_Add): move into spi_main & rename
2326 spi_object_add; kill spi.c
2328 * cspi/spi_registry.c
2329 (deregisterGlobalEventListener),
2330 (deregisterGlobalEventListenerAll),
2331 (registerGlobalEventListener): fix exception leaks.
2333 * cspi/spi_main.c (spi_exception): impl. helper, so we
2334 don't leak exceptions.
2336 * cspi/spi_selection.c
2337 (AccessibleSelection_deselectSelectedChild): return the
2340 * cspi/spi_main.c (spi_ev): impl; hack - gack.
2341 (spi_registry): ditto.
2342 (SPI_init): guard against double inits.
2344 * cspi/*.c: use spi_ev (), and spi_registry () where
2345 appropriate - a temporary hack until we have something
2346 better. Use spi_object_add
2348 2001-11-22 Michael Meeks <michael@ximian.com>
2350 * cspi/Makefile.am: re organise, install the headers.
2352 * cspi/*.h: add G_BEGIN/END_DECLS
2354 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2357 Added non-preemptive keylistener for key events with no modifiers
2358 and shift-only modifier.
2360 * libspi/keystrokelistener.c:
2361 Removed some verbose diagnostics printout.
2363 * cspi/spi_registry.c:
2364 Fixed a bug that caused all key listeners to be registered as
2367 * libspi/deviceeventcontroller.c:
2368 Fixed bug that caused XGrabKey (preemptive key grab) to be called
2369 for non-preemptive key masks.
2372 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2374 * docs/reference/idl/at-spi-idl-docs.sgml:
2375 * docs/reference/idl/at-spi-idl-sections.txt:
2376 * docs/reference/idl/at-spi-idl-overrides.txt:
2377 Added missing files.
2379 * docs/reference/Makefile.am:
2380 removed idl from SUBDIRS until we can figure a way to get gtk-doc
2381 to scan the IDL files :-(
2386 Added .cvsignore files.
2388 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2390 * libspi/deviceeventcontroller.c:
2391 * libspi/keystrokelistener.c:
2393 * cspi/spi_registry.c:
2394 Added filters for KeySets, KeyEventSeq, and event types to key
2395 event dispatching, so listeners should only receive those events
2396 that they requested :-)
2398 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2403 * docs/reference:Makefile.am:
2404 * docs/reference/cspi:
2405 * docs/reference/cspi:Makefile.am:
2406 * docs/reference/cspi:tmpl:
2407 * docs/reference/cspi:tmpl:*.sgml:
2408 * docs/reference/idl:
2409 * docs/reference/idl:Makefile.am:
2410 * docs/reference/idl:at-spi-idl-sections.txt:
2411 * docs/reference/idl:at-spi-idl-docs.sgml:
2412 * docs/reference/idl:tmpl:
2413 * docs/reference/idl:tmpl:*.sgml:
2415 Restructured docs directory to allow separate 'reference' docs
2416 section, and forked idl and cspi docs. Added the sgml template
2417 files to CVS. Added the first sections/structural sgml for the
2420 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
2422 * configure.in, libspi/Makefile.am: find libXtst.
2424 2001-11-21 Michael Meeks <michael@ximian.com>
2426 * test/accessx-gui.c: s/spi_value/value/ - doh.
2428 * libspi/base.[ch]: add.
2430 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2432 * idl/Accessible.idl:
2433 * idl/Application.idl:
2436 Started gtk-doc cleanup on IDL.
2438 * libspi/deviceeventcontroller.c:
2439 Added and connected non-preemptive key notification from the
2440 toolkits (in addition to the pre-emptive support from XServer
2441 which we had before, but which causes 'focus flashing'). Filters
2442 are presently limited to key modifiers and global/non-global,
2443 KeySets are presently ignored, as are KeyEvent masks.
2445 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
2446 structs into the persistant structure rather than just storing
2447 pointers to things that might not persist across servant
2450 The XGrabKey call now does async keygrabs, because synchronous
2451 ones were deadlocking with GDK_event code in a very nasty way.
2453 Added boolean to internal method notify_keylisteners, to indicate
2454 whether the event came from the 'toolkit source' or the 'global
2455 (XServer) source' - this is used in the notification process to
2456 determine which listeners to send the event to.
2458 deviceeventcontroller.c is now warning-free.
2460 * libspi/registry.c:
2461 Fixed regression in application de-registration.
2462 Also fixed some really brain-dead weirdness having to do with
2463 event dispatching - event structs are now duplicated before being
2464 re-marshalled in the dispatch to listeners. This also fixes a
2465 Solaris build problem.
2468 2001-20-11 Michael Meeks <michael@ximian.com>
2471 (impl_accessibility_registry_deregister_global_event_listener):
2474 * libspi/deviceeventcontroller.c
2475 (spi_device_event_controller_check_key_event): return
2476 FALSE on no virtual method.
2478 * libspi/*..h: make includes work on a correctly pathed install.
2480 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
2482 * libspi/application.h: kill unused ( and whacked out )
2483 gboolean *spi_application_set_id (AtkObject *app, long id);
2485 2001-20-11 Michael Meeks <michael@ximian.com>
2487 * libspi/*.[ch]: further convert to bonobo's type func
2488 macros, remove redundnant casts etc.
2490 * libspi/text.c s/accessibility_text/spi_text/g,
2491 re-order to de-cruft.
2493 * libspi/hypertext.c: re-order to kill a huge slew
2494 of redundant forward decls.
2496 * libspi/relation.c: ditto.
2498 * libspi/image.c: ditto.
2500 * */.cvsignore: update
2502 2001-20-11 Michael Meeks <michael@ximian.com>
2504 * libspi/deviceeventcontroller.c
2505 (_controller_register_with_devices): use g_getenv,
2506 kill stdlib.h include.
2508 * libspi/keystrokelistener.c
2509 (spi_keystroke_listener_get_type): kill
2510 (spi_keystroke_listener_class_init),
2511 (spi_keystroke_listener_init): rename to this.
2513 * libspi/text.c (impl_getAttributes): fix warning / bug.
2515 * libspi/*.[ch]: more headers, includes and over commenting.
2517 2001-20-11 Michael Meeks <michael@ximian.com>
2519 * libspi/*.[ch]: fixup headers, includes and over commenting.
2521 * libspi/image.c (impl__get_imageDescription): const
2522 correctness warning fix. remove redundant casting.
2524 * libspi/table.c (impl_getRowDescription): ditto.
2525 (impl_getColumnDescription): ditto.
2527 * libspi/libspi.h: add.
2529 2001-19-11 Michael Meeks <michael@ximian.com>
2531 * libspi/editabletext.c (impl_setAttributes): fix warnings.
2533 * libspi/component.c (accessibility_component_get_type):
2534 rename to (spi_component_get_type): and macroify.
2535 (accessibility_component_init): rename to
2536 (spi_component_init): this
2537 (accessibility_component_class_init): rename to
2538 (spi_component_class_init): this
2540 * libspi/action.c (spi_action_get_type): kill, use the macro.
2542 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
2545 * libspi/application.c (spi_application_object_event_listener),
2546 (impl_accessibility_application_register_object_event_listener):
2547 warning fixes / const understanding updates.
2549 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
2552 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2554 * libspi/spi_accessible.c: Added docs and C bindings for
2555 AccessibleStateSet. (No implementations yet). Documentation
2556 coverage for C bindings now 100%. Made docs for event listeners
2561 boolean notifyListenersSync (in DeviceEventListener listener,
2562 in DeviceEvent event);
2564 oneway void notifyListenersAsync (in DeviceEventListener listener,
2565 in DeviceEvent event);
2567 Added DeviceEventListener and DeviceEvent structs (may deprecate
2568 KeyStroke and KeystrokeListener in favor of this generic
2569 event/listener framework for devices).
2571 * libspi/deviceeventcontroller.c:
2573 Changed some key listener code to take masks, etc., and paved the
2574 way for integration of toolkit/non-preemptive key events. Changed
2575 signatures of some internal methods.
2577 * at-bridge/bridge.c:
2578 Fixed regression connecting to interface signals, apparently
2579 caused by GTK+ changes.
2581 Added an internal bridge_state_listener to deal with
2582 property-change:accessible-state signals.
2584 Changed the key_listeners GList to store structs (including masks,
2585 etc.) instead of just CORBA_Objects (required for full
2586 implementation of key listener API).
2588 Connected the bridge to all currently supported Atk signals.
2589 Events now supported:
2590 object:property-change
2591 object:property-change:accessible-name
2592 object:property-change:accessible-state
2593 object:property-change:accessible-description
2594 object:property-change:accessible-parent
2595 object:property-change:accessible-value
2596 object:property-change:accessible-role
2597 object:property-change:accessible-table-caption
2598 object:property-change:accessible-table-column-description
2599 object:property-change:accessible-table-column-header
2600 object:property-change:accessible-table-row-description
2601 object:property-change:accessible-table-row-header
2602 object:property-change:accessible-table-summary
2603 object:children-changed
2604 object:visible-data-changed
2605 object:selection-changed
2606 object:text-selection-changed
2608 object:text-caret-moved
2610 object:row-reordered
2612 object:column-inserted
2613 object:column-reordered
2614 object:column-deleted
2615 object:model-changed
2617 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2619 * libspi/hyperlink.c,h:
2620 Fixed some broken stuff in hyperlink.
2622 * libspi/relation.h:
2623 * libspi/relation.c:
2624 * cspi/spi_accessible.c:
2625 Initial implementations of AccessibleRelation methods, and docs.
2627 * libspi/accessible.c:
2628 Fixed a bug that caused SEGV if an accessible
2629 object's description is NULL, and a client
2630 requests it. An empty string is now returned.
2632 * cspi/spi_editabletext.c:
2633 * cspi/spi_hypertext.c:
2635 * cspi/spi_hyperlink.c:
2639 Doc coverage now 95%.
2641 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2643 One last namespacing revision:
2644 * libspi/accessibleeventlistener.[ch]:
2645 Renamed SpiAccessibleEventListener to SpiEventListener,
2646 (no need for two namespaces ;-)
2648 And lots of documentation fixes:
2650 * docs/at-spi-docs.sgml:
2651 Fixed 'underscore vs. hyphen' bug that was preventing
2652 the gtk-doc API docs from being automatically generated.
2655 * cspi/spi-listener.h
2657 * cspi/spi_accessible.c
2659 * cspi/spi_application.c
2660 * cspi/spi_component.c
2661 * cspi/spi_editabletext.c
2663 * cspi/spi_hypertext.c
2665 * cspi/spi_registry.c
2666 * cspi/spi_selection.c
2670 * docs/at-spi-docs.sgml
2671 * docs/at-spi-sections.txt
2673 Added and fixed up gtk-doc documentation in cspi.
2675 Interfaces now (fully) documented (subject to revision and enhancement):
2677 Event Listener Support
2679 AccessibleApplication
2683 AccessibleEditableText
2690 AccessibleRelationSet
2695 2001-14-11 Bill Haneman <bill.haneman@sun.com>
2697 * at-bridge/bridge.c:
2698 Initial work for toolkit-level key snooper connection by bridge.
2703 New typedefs and fixes to support new namespacing, and cleaner
2704 separation of cspi bindings from libspi bonobo implementation.
2705 Removed inconsistent and extraneous Spi* namespace prefix that
2706 had crept into cspi headers.
2707 Lots of comment fixes that sed had missed.
2709 * cspi/spi-roletypes.h:
2710 * cspi/spi-statetypes.h:
2711 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
2712 to AccessibleRoleType.
2714 * libspi/accessibleeventlistener.h:
2715 Fixed minor namespacing weirdness.
2717 * libspi/deviceeventcontroller.c:
2718 Reordered some internal API for device listeners.
2719 Changed the key registry final boolean to 'is_system_global'
2720 rather than 'is_synchronous', which is more descriptive of its
2722 Added spi_device_event_controller_new().
2723 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
2725 * libspi/keystrokelistener.[ch]:
2726 Namespaced KeystrokeListener to SpiKeystrokeListener.
2727 Changed uses of keymasks to use SPI_ prefix, and did other
2730 * libspi/keymasks.h:
2731 Namespaced keymask constants with SPI_ prefix.
2733 * libspi/registry.c:
2734 Some warning fixes, and knock-on fixes from namespace changes.
2737 Added rules for accessx-gui test program.
2739 * test/accessx-gui.c:
2740 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2741 utility. It doesn't actually use at-spi, but it's still cool and
2744 * test/keysynth-demo.c:
2748 Fixes so that these test clients work properly with the namespaced
2749 libraries. (Incompletely tested for technical reasons, fixes may follow)
2752 2001-13-11 Michael Meeks <michael@ximian.com>
2754 * libspi/application.c
2755 (impl_accessibility_application_get_version),
2756 (impl_accessibility_application_get_toolkit_name):
2758 (impl_accessibility_application_set_id),
2759 (impl_accessibility_application_get_id): remove
2760 redundant casting code.
2762 * libspi/action.c (impl_getDescription): fix warnings.
2764 * libspi/accessible.c
2765 (impl_accessibility_accessible_get_parent),
2766 (impl_accessibility_accessible_get_child_at_index),
2767 (impl_accessibility_accessible_get_state),
2768 (impl_accessibility_accessible_get_relation_set):
2769 warning fixes & include action.h
2771 2001-13-11 Michael Meeks <michael@ximian.com>
2773 * *.[ch] fix bits I screwed up:
2775 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2776 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2778 2001-13-11 Michael Meeks <michael@ximian.com>
2780 * *.[ch] Namespace libspi into spi_ and Spi.
2782 2001-13-11 Michael Meeks <michael@ximian.com>
2784 * Makefile.am: dist & install at-spi-1.0.pc
2786 * libspi/Makefile.am: install into at-spi-1.0
2788 * idl/Makefile.am (idldir): install into at-spi-1.0
2790 * at-spi-1.0.pc.in: add.
2792 * configure.in: build it.
2794 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2796 * test/keysynth-demo.c:
2797 Use a 'realize' signal-handler to set the WM properties for
2798 the virtual keyboard, rather than making it a "POPUP" type
2799 override-redirect window (thanks to anders carlsson for that
2802 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2805 * test/keysynth-demo.c:
2806 Added new test of key synthesis, which creates a simple
2807 (mouse-operated) onscreen keyboard. It inserts key events into
2808 the currently-focused window, thus it does not grab keyboard focus
2811 * cspi/spi_registry.c:
2812 Added C binding for AT-SPI generateKeyEvent.
2814 * libspi/deviceeventcontroller.c:
2815 Added call to XFilterEvent so that key listener works with XIM (we
2816 hope). Added event_synth_type to generateKeyEvent, so that we can
2817 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2818 synthesize a press/release pair for KeySyms.
2820 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2822 * libspi/Makefile.am:
2823 * registryd/Makefile.am:
2824 (temporary) hack to include libXtst in libspi and registryd.
2825 (Needed for keystroke synthesis, see below).
2828 Improved API for registerKeystrokeListener, in accordance with
2829 discussions with Gnopernicus team and X server research.
2831 * libspi/registry.c:
2832 * libspi/deviceeventcontroller.c:
2833 * libspi/accessible.c:
2834 * libspi/keystrokelistener.c:
2835 Changes and fixes to support keylisteners for potentially
2836 consumed key events (that is, 'passive grabs').
2837 Added implementation for generateKeyEvent() [untested].
2840 Changes to registerKeystrokeListener() API, as above.
2841 Added deregisterGlobalEventListenerAll(), and
2842 deregisterKeystrokeListener(), which are needed for clean exit of
2844 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2845 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2847 * cspi/spi_registry.c:
2848 Added implementations of function prototypes mentioned above.
2850 * registryd/registryd.c:
2851 Added the key listener event source as a g_timeout(), to allow
2852 receipt of key events that are not caught by GDK (since GDK
2853 doesn't support passive keygrabs, this was necessary).
2856 Changed to attach a keylistener to 'Alt' keys, and
2857 respond to the following keycommands: Alt-M (toggle magnifier);
2858 Alt-F (toggle speech); Alt-Q (quit).
2859 Added an exit routine to deregister the listeners, and a key
2860 listener that prints some key info to the console when a key
2861 matches the listener mask (and is thus received by the listener).
2863 * util/idl/Magnifier.idl:
2864 Changes to magnifier API to support multiple zoom regions,
2865 non-uniform scaling in x and y, markDirty, and a host of other
2866 features that would be useful to magnification.
2869 * util/mag_client.c:
2870 * util/mag_client.h:
2871 * util/mag_control.c:
2873 Source code changes to support the above IDL changes.
2876 As above, and also changes to use a (slower) generic conversion
2877 path for colormap conversions, since the fast RGB conversions have been
2878 reported to fail for 16-bit displays.
2880 2001-10-26 Michael Meeks <michael@ximian.com>
2882 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2884 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
2886 * at-bridge/Makefile.am: fix LDFLAGS.
2888 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2890 * at-bridge/bridge.c:
2891 Re-worked listeners for toolkit events, now we have signal
2892 and property listeners. Added a private method
2893 register_atk_event_listeners(), which registers with the
2894 various atk and gtk signals we need to monitor in order to emit
2896 Added emission hook for AtkObject:property-change events, to
2897 support the 'property listeners'.
2898 Fixed some alloc()s of Accessibility_Event structs to use CORBA
2901 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2902 which emit warnings and exit, respectively, if CORBA errors occur
2903 during remote calls, and we now use these methods to check most of
2904 our CORBA calls in the C bindings.
2906 * cspi/spi_accessible.c:
2907 Changed AccessibleSelection_refSelectedChild() to
2908 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2909 now increment refcounts.
2911 * cspi/spi_component.c:
2912 Fixed some long pointer casts (dangerous!) to pass pointers to
2913 CORBA_longs of the proper type to the CORBA stubs, and copy the
2914 data into the longs that were passed into the C bindings code.
2916 * at-bridge/bridge.c:
2918 * libspi/accessible.c:
2919 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2920 hyperlinks, AtkHyperlink is an object type.
2922 * libspi/application.c:
2923 Added various conversions to and from "generic" event types and
2924 atk-specific types; this is really part of the 'bridge'
2925 implementation but is valid for all AtkObject-based accessibility
2928 * libspi/editabletext.c:
2929 Fixed nasty bug wherein editable text's finalize method was
2930 unref'ing tha AtkObject reference that the text parent class was
2931 about to unref _again_. There was also a nasty inheritance bug
2932 that meant that the AccessibleEditableText class was corrupt.
2934 * libspi/selection.c:
2935 Provided implementations for some selection API that was broken.
2937 * idl/Application.idl:
2938 Added registerObjectEventListener () method.
2941 Fixed a number of return values that were Bonobo_Unknowns from
2942 bonobo_object_corba_objref(), which I
2943 forgot to dup before returning. Changed instances of
2944 bonobo_object_corba_objref (bonobo_object(o)) to
2945 BONOBO_OBJREF(o), for concision and clarity.
2947 <2001-10-13 Louise Miller <louise.miller@sun.com>
2949 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2950 idl/Event.idl, idl/Registry.idl
2951 Changed these files to include Bonobo_Unknown.idl instead
2954 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
2956 * libspi/component.c libspi/component.h:
2957 Fixed typo. Added assertions for object checks in
2958 AccessibleComponent code.
2960 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2962 * idl/Accessible.idl:
2963 Added 'isEqual (Accessible *object)'
2964 method for Accessible. (Not Yet Implemented).
2967 Changed signature of registerKeystrokeListener() to
2968 take a KeySet and KeyEventSeq so that specific keys and event
2969 types could be requested for monitoring, and added a flag
2970 is_synchronous so that either synchronous or asynchronous
2971 notification could be requested. (However this is not all
2972 implemented yet). This also meant adding two new typedefs,
2973 KeyEventSeq and KeySet.
2976 Added two new relations, RELATION_TOOLTIP_FOR and
2977 RELATION_LEAFNODE_OF.
2980 Added new state, STATE_HAS_TOOLTIP.
2982 * libspi/text.c, editabletext.c:
2983 Added new assertions to all casts of bonobo-objects from
2984 CORBA servants, to prevent Text API calls on non-text objects.
2985 Changed suspect casts of int-pointer types, so that we
2986 always send a valid CORBA_long pointer to the CORBA APIs that use
2987 in/out long parameters. We then have to copy from the CORBA_long
2988 into the regular long or int for return to the C bindings, or
2989 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
2992 * libspi/deviceeventcontroller.c:
2993 Cleaned these sources up.
2995 Changed return type for getCharacterAtOffset to
2996 CORBA_unsigned_long, to allow for 32-bit characters.
2999 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
3003 Fixed 'make dist' so that distro compiles...
3004 * libspi/keymasks.h:
3006 * cspi/spi-listener.c:
3007 KeystrokeListenerCB now returns a boolean.
3009 Added KeyEventType struct, and KeyStroke.
3010 Also added createKeystrokeListener(),
3011 KeystrokeListener_addCallback(),
3012 KeystrokeListener_removeCallback(), and added a keymask to
3013 registerKeystrokeListener().
3014 * cspi/spi_accessible.c:
3015 Changed numerous return types for interfaces from
3016 AccessibleComponent to Accessible<InterfaceName>; this was
3017 probably a cut-and-paste error.
3019 Implementations of new KeystrokeListener api (from spi.h,
3022 Changes to key modifier mapping.
3023 Created ControllerEventMask struct.
3024 Made DeviceEventController derive from Bonobo::Unknown.
3026 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3027 * libspi/deviceeventcontroller.c:
3028 Added a number of new internal (private) methods.
3029 * libspi/editabletext.c:
3030 * libspi/editabletext.h:
3031 Fixed a number of bugs related to the fact that
3032 editabletext inherits from text. Fixed the EditableText struct,
3033 the init() call, and use correct casts when calling Text methods
3034 from an EditableText object. Removed (duplicate) atko from the
3035 EditableText structure, we use the one in the parent Text
3036 structure via the casts mentioned above.
3037 * libspi/keystrokelistener.[ch]:
3038 * libspi/registry.c:
3039 Changes in support of keyboard handling (above).
3041 Keyboard handling, though partly functional, is still not
3042 recommended for at-spi client use as there is considerable
3043 work yet to be done.
3046 Changed some places where pointers to various int types
3047 are cast to be pointers to CORBA_long types and vice-versa:
3048 pointer casting is not safe so we pass pointers of the correct
3049 types and then cast the result before putting it into the target
3052 * libspi/text.h: minor typos corrected.
3054 We now speak not only the name of a Text element, but the
3055 first sentence of its content, when it receives focus.
3056 I also changed the text compression to 75% from 50%.
3057 * util/Accessibility_Util.server.in:
3058 Changed the default magnifier type to be a 3x vertical
3059 splitscreen magnifier (was previously a 2x horizontal one).
3061 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
3063 * libspi/keystrokelistener.h:
3064 * libspi/keystrokelistener.c:
3065 Initial functional implementations of KeystrokeListener.
3068 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3070 Fixed string handling for NULL strings in libspi.
3071 Added spi_freeString to free strings returned by C bindings.
3073 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
3075 * libspi/keystrokelistener.h:
3076 * libspi/keystrokelistener.c:
3077 Began (no-op) implementations of KeystrokeListener
3079 * libspi/deviceeventcontroller.c:
3080 * libspi/deviceeventcontroller.h:
3081 Began creating implementations of DeviceEventController,
3082 to handle keystroke and mouse event listening and
3084 * libspi/accessible.c:
3085 Stubbed-in the implementations for
3086 Accessibility_Accessible_getState and
3087 Accessibility_Accessible_getRelationSet.
3088 * libspi/registry.c:
3089 Improved de-registration process and fixed some bugs,
3090 deregistration now works correctly.
3092 Added initialization of applications list (to NULL).
3094 Reduced speech compression from 0.5 to 0.7, for demo.
3095 Changed call to gdk_window_set_decorations()
3096 to gtk_window_set_decorated().
3097 * at-bridge/bridge.c:
3098 Bridge now deregisters when app exits, via
3099 registration of a cleanup function
3100 with the g_atexit() call.
3101 Required making 'app' static, renamed 'this_app'.
3102 Fixed broken use of bonobo_init, passing argv wrongly.
3104 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
3108 Created a new directory for
3109 accessibility-related utilities, primarily for
3110 testing and demo purposes, but with possible
3117 Onscreen magnifier utility that
3118 is implemented as a bonobo service.
3120 * util/mag_client.c:
3121 * util/mag_client.h:
3122 Client-side support (simple C bindings)
3123 for Magnification service
3125 * util/mag_control.c:
3126 Client program example for
3127 Magnification service
3129 * util/Accessibility_Magnifier.server.in:
3130 Bonobo-activation file for the
3131 Magnification service.
3134 * util/idl/Magnifier.idl:
3135 IDL defining the bonobo Magnification
3139 Modifications to use the bonobo-activated magnifier
3140 above, in place of trying to connect to an existing
3141 magnifier that uses socket-listening IPC.
3143 If env variable MAGNIFIER is set, a magnifier service
3144 will be started if one does not exist.
3146 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
3147 * at-bridge/bridge.c:
3148 applied patch from Marc to build and run
3149 against new glib and gtk+ (seemed like a change
3150 to bonobo_init signature was made ?)
3152 made festival-server support turned off by default.
3153 Added support for a simple magnifier (off by default)
3154 which will be added to a 'util' directory later.
3155 * at-bridge/Makefile.am:
3156 Changed "application.h" header from a 'source'
3157 to a 'dependency' of libat-bridge.
3159 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3167 Added interface implementation c files to list of
3168 includes so they are included in libcspi.
3171 Changed prototype of AccessibleAction_doAction to return a
3173 Changed prototype of AccessibleTable_getCaption to
3174 return an Accessible.
3175 Changed prototype of AccessibleTable_getSelectedRows
3176 and AccessibleTable_getSelectedColumns to
3177 return a long (returns the number of selected rows
3178 or columns respectively).
3179 Changed name of AccessibleText_refRunAttributes to
3180 AccessibleText_getAttributes.
3181 Changed prototype of AccessibleText_getCharacterExtents to
3182 return a void rather than a boolean.
3183 Added support for a AccessibleCoordType parameter
3184 specifying what type of coordinates are desired.
3185 Added an AccessibleCordType parameter to
3186 AccessibleText_getPointAtOffset.
3188 * cspi/spi_accessible.c:
3189 Added code to return the outstanding interfaces from
3190 Accessible_queryInterface.
3192 * cspi/spi_action.c:
3194 Corrected call to getNActions to call the c binding
3197 * cspi/spi_editabletext.c:
3199 Changed name from setRunAttributes to setAttributes.
3201 * cspi/spi_hyperlink.c:
3203 Changed call to getNAnchors to correctly call the c
3204 binding for an attribute.
3206 * cspi/spi_hypertext.c:
3208 Changed getImageDescription to correctly call the
3209 binding for an attribute.
3211 * cspi/spi_selection.c:
3212 Changed getNSelectedChildren to correctly call the c
3213 binding for the attribute.
3214 Changed refSelectedChild to getSelectedChild.
3218 Changed getCaption to return an Accessible.
3219 Fixed calls which retrieve attributes.
3220 Changed refAt to getAccessibleAt.
3221 Changed getNSelectedRows and getNSelectedColumns to
3225 Changed getCharacterExtents and getPointAtOffset to accept an
3226 AccessibleCoordType.
3228 Changed calls which retrieve attributes.
3229 Changed refRunAttributes to getAttributes.
3234 * idl/Hyperlink.idl:
3235 Changed n_anchors attribute to nAnchors to keep naming
3236 convention consistent.
3239 Made Table inherit from Bonobo::Unknown.
3240 Added nSelectedColumns and nSelectedRows attributes.
3243 Made Value inherit from Bonobo::Unknown.
3245 * libspi/hyperlink.c:
3246 Change for nAnchors attributte name change.
3248 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3256 Added interface implementation c files to list of
3257 includes so they are included in libcspi.
3260 Changed prototype of AccessibleAction_doAction to return a
3262 Changed prototype of AccessibleTable_getCaption to
3263 return an Accessible.
3264 Changed prototype of AccessibleTable_getSelectedRows
3265 and AccessibleTable_getSelectedColumns to
3266 return a long (returns the number of selected rows
3267 or columns respectively).
3268 Changed name of AccessibleText_refRunAttributes to
3269 AccessibleText_getAttributes.
3270 Changed prototype of AccessibleText_getCharacterExtents to
3271 return a void rather than a boolean.
3272 Added support for a AccessibleCoordType parameter
3273 specifying what type of coordinates are desired.
3274 Added an AccessibleCordType parameter to
3275 AccessibleText_getPointAtOffset.
3277 * cspi/spi_accessible.c:
3278 Added code to return the outstanding interfaces from
3279 Accessible_queryInterface.
3281 * cspi/spi_action.c:
3283 Corrected call to getNActions to call the c binding
3286 * cspi/spi_editabletext.c:
3288 Changed name from setRunAttributes to setAttributes.
3290 * cspi/spi_hyperlink.c:
3292 Changed call to getNAnchors to correctly call the c
3293 binding for an attribute.
3295 * cspi/spi_hypertext.c:
3297 Changed getImageDescription to correctly call the
3298 binding for an attribute.
3300 * cspi/spi_selection.c:
3301 Changed getNSelectedChildren to correctly call the c
3302 binding for the attribute.
3303 Changed refSelectedChild to getSelectedChild.
3307 Changed getCaption to return an Accessible.
3308 Fixed calls which retrieve attributes.
3309 Changed refAt to getAccessibleAt.
3310 Changed getNSelectedRows and getNSelectedColumns to
3314 Changed getCharacterExtents and getPointAtOffset to accept an
3315 AccessibleCoordType.
3317 Changed calls which retrieve attributes.
3318 Changed refRunAttributes to getAttributes.
3323 * idl/Hyperlink.idl:
3324 Changed n_anchors attribute to nAnchors to keep naming
3325 convention consistent.
3328 Made Table inherit from Bonobo::Unknown.
3329 Added nSelectedColumns and nSelectedRows attributes.
3332 Made Value inherit from Bonobo::Unknown.
3334 * libspi/hyperlink.c:
3335 Change for nAnchors attributte name change.
3338 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
3340 implementations-- made server implementations own AtkObject pointers
3341 rather than their respective AtkInterrface pointers to fix
3342 refcounting. AtkHyperlink is still broken.
3344 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
3345 * cspi/spi_accessible.c:
3346 Added method Accessible_Role_getName(),
3347 and requisite string array (role_names).
3348 Added conversion string_from_corba_strin() call
3349 to Accessible_getName and _getDescription.
3350 * libspi/accessible.c:
3351 Added implementation for Accessible_getRole()
3353 Added festival support, used if environment variable
3356 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3358 * at-bridge/bridge.c:
3359 Now allocate Accessibility_Event using
3360 Accessibility_Event__alloc() instead of g_new0().
3361 * libspi/accessibleeventlistener.c:
3362 Initialize AccessibleEventListener->callbacks to NULL.
3363 Fixed accessible__event_listener_init() param, changed to
3364 "AccessibleEventListener *" type.
3365 Changed a bonobo_object_release_unref() call to
3366 Accessibility_Accessible_unref().
3367 * libspi/listener.c:
3368 Changed Bonobo_Unknown_unref to (equivalent)
3369 Accessibility_Accessible_unref.
3370 * libspi/registry.c:
3371 Changed bonobo_object_release_unref to
3372 Accessibility_Accessible_unref.
3374 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3377 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
3378 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
3379 spi-util.c spi-util.h
3380 Implementations for C bindings to remaining accessibility
3383 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3386 changed return value of Action from void to boolean to
3387 bring in line with ATK.
3390 Changed getText funcions to return "out" start and end offsets.
3391 Changed getAttributes to take and offset and return the start
3392 and end offset of the attribute run.
3393 Changed getOffsetAtPoint and getCharacterExtents to take an
3394 enum describing whether coordinates are window or screen.
3397 libspi/action.c libspi/action.h libspi/editabletext.c
3398 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
3399 libspi/hypertext.c libspi/hypertext.h libspi/image.c
3400 libspi/image.h libspi/selection.c libspi/selection.h
3401 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
3402 libspi/value.c libspi/value.h
3403 Added server implementations for outstanding ATK interfaces
3404 not yet implemented.
3406 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3409 Added (missing) getName() method.
3410 Made nActions an attribute.
3411 * idl/EditableText.idl:
3412 Changed order of params in setAttributes.
3413 * idl/Hyperlink.idl:
3414 Removed getAnchor, added getURI.
3416 Changed attributes to methods, for efficiency
3417 (so that getting extents can be done in one call)
3418 * idl/Selection.idl:
3419 Changed nSelectedChildren to attribute, and re-indented.
3420 * idl/Table.idl: changed nrows, ncolumns, caption, summary
3422 * idl/Text.idl: reformatted to match our coding style.
3423 (temporarily?) removed getRowColumnAtOffset().
3424 Changed text selection API to support multi-select and
3425 non-contiguous selections, as in ATK.
3426 * idl/Value.idl: changed some methods to attributes.
3428 2001-08-24 Mark McLoughlin <mark@skynet.ie>
3430 * libspi/listener.c(impl_notify_event):
3431 BonoboUnkown_unref the source instead
3432 of bonobo_object_release_unref - the ORB
3433 handles the releasing.
3435 * configure.in: require ORBit-2.3.94 for
3438 2001-08-21 Bill Haneman <bill.haneman@sun.com>
3440 Tagged CVS repository 'EA_1_0'.
3441 * README.EARLY_ACCESS:
3442 Alphabetized acknowledgements list, and
3444 Listed some known dependencies of at-spi.
3446 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3448 * docs/at-spi-docs.sgml:
3449 * docs/at-spi-sections.txt:
3450 * docs/at-spi-overrides.txt: (Added zero-length file)
3451 Documentation improvements - gtk-doc should build
3452 docs for all implemented C bindings now.
3455 * cspi/spi.c: (New file)
3456 * cspi/spi_event.c: (New file)
3457 * cspi/spi_registry.c: (New file)
3458 * cspi/spi_accessible.c: (New file)
3459 * cspi/spi_application.c: (New file)
3460 * cspi/spi_component.c: (New file)
3461 Split spi_main.c into six parts, and included them from
3462 "spi.c". This is a bit of a hack, probably temporary,
3463 but required by gtk-doc, apparently.
3465 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3468 * docs/at-spi-docs.sgml:
3469 * docs/at-spi-sections.txt:
3471 Initial checkins/modifications for gtk-doc generation.
3474 Added (missing) interface query methods to Accessible's C binding.
3476 Added GenericInterface type definition.
3478 Added query for AccessibleComponent interface to focus event handler.
3479 Added printout of bounding box for focussed component.
3480 * libspi/component.c:
3481 Added partial implementation for AccessibleComponent to C binding.
3482 * idl/Application.idl:
3483 * libspi/registry.c:
3484 * libspi/listener.c:
3485 * libspi/application.c:
3486 * libspi/application.h:
3487 Changed "ID" attribute type from string to long.
3489 2001-08-19 Bill Haneman <bill.haneman@sun.com>
3493 Made method naming consistent: methods taking object args
3494 start with uppercase, other methods (except those using
3495 acronyms) start with lowercase. Underscores delimit between
3496 object names and method names:
3497 SPI_init() - uppercase since it starts with an acronym.
3498 getDesktopCount () - lowercase start since no object param0.
3499 Accessible_getName() - uppercase object type name, studlyCaps method
3503 Added gtk-doc documentation for all currently implemented
3504 methods in the C bindings API.
3506 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3508 * Makefile.am : changed build order to build test last.
3511 Changed "createEventListener" to "CreateEventListener".
3512 * libspi/accessibleeventlistener.c :
3513 Bugfix for addition of callbacks.
3514 * test/Makefile.am :
3515 * test/simple-at.c :
3516 Added new test that uses the C bindings API.
3518 * libspi/listener.c :
3519 * libspi/registry.c :
3520 * libspi/accessibleeventlistener.c :
3521 * at-bridge/bridge.c :
3522 Renamed member "target" of Accessibility_Event to "source",
3523 which is more descriptive.
3526 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3530 * cspi/Makefile.am :
3531 Added makefile support for at-spi/cspi directory.
3534 * cspi/spi-listener.h : (NEW FILE)
3535 Added support for/use of spi-listener.h.
3537 C bindings now build successfully, with no warnings.
3538 * libspi/accessibleeventlistener.h : (NEW FILE)
3539 * libspi/accessibleeventlistener.c : (NEW FILE)
3540 * libspi/Makefile.am :
3541 Added new object type "AccessibleEventListener"
3542 which inherits from Listener, and allows attachment
3543 of in-process callbacks (so that a client with a listening
3544 object instance can add functionality to the local
3545 implementation, dynamically).
3547 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3549 * libspi/accessible.c:
3550 Add implementation for get_index_in_parent().
3552 Added #include of "spi-roletypes.h", and
3553 added enumerated type AccessibleCoordType.
3554 Added definition for KeystrokeListener (function type).
3557 * cspi/spi-statetypes.h :
3558 * cspi/spi-roletypes.h :
3560 Added these headers, used by spi.h.
3562 Added code (NOTE: not yet built by make).
3564 2001-08-18 Mark McLoughlin <mark@skynet.ie>
3566 * libspi/Makefile.am: generate imodule
3567 at the same time as other idl compiler
3570 2001-08-17 Bill Haneman <bill.haneman@sun.com>
3571 * libspi/registry.c :
3572 * libspi/application.c :
3573 * idl/Application.idl :
3574 Made registration with toolkit an application method,
3575 which is required since each app has its own toolkit static
3576 environment. Thus the bridge must register for
3577 notification of toolkit events from each application in turn.
3578 Toolkit notifications are now successfully registered for, and
3579 sent to the listening at client.
3581 Changed toolkit event string to use hyphens rather than underscores.
3582 * libspi/listener.c :
3583 listner now gives more info in debug mode - it reports the
3584 name of the event received, as well as the name of the source.
3587 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3589 * libspi/registry.c :
3590 added more implementation for toolkit events.
3591 Fixed bug such that toolkit event registrations
3592 (via atk) use the whole event name string, not
3594 Removed a useless call to an ORBit_ method.
3595 * at-bridge/bridge.c :
3596 Removed unused local sbuf[] variable.
3598 We now register for Gtk:GtkWidget:button_press_event
3599 events as well as "focus:" events.
3601 Add some more API from Registry.idl that was missing,
3602 for keystroke listening, keystroke and mouse event
3603 synthesis, and enumeration of accessible desktops.
3605 2001-08-16 Michael Meeks <michael@ximian.com>
3607 * configure.in: use AM_GLIB_GNU_GETTEXT.
3609 * Makefile.am (SUBDIRS): kill intl.
3611 2001-08-15 Michael Meeks <michael@ximian.com>
3613 * registryd/Makefile.am: s/oaf/server/ relocate info file.
3615 * configure.in: upd.
3617 * configure.in: depend on a recent bonobo-activation that
3618 will find our server files ...
3620 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3622 * libspi/accessible.c : accessible_new() :
3623 Now we add the Component interface via bonobo_object_add_interface,
3624 if the contained AtkObject implements AtkComponent.
3625 * libspi/accessible.h : now include "component.h"
3626 * libspi/component.h :
3627 * libspi/component.c : added files - implementation of
3628 bonobo wrapper object for Accessibility/Component
3629 * libspi/listener.c :
3630 Added test code to check for Accessibility/Component:1.0
3631 interface and report whether it is implemented by the
3633 * libspi/registry.c :
3634 Now we check for not only the hash of the whole event
3635 string before relaying the event, we also check the
3636 "minor" event string (without the detail string).
3637 This allows event listeners to be registered against
3638 all events of a certain major+minor type, or just
3639 against a specific major+minor+detail type.
3640 * libspi/accessible.c :
3641 Added implementations for Accessible:get_parent(),
3642 Accessible:getChildCount(), and Accessible:getChildAtIndex().
3643 * libspi/registry.c :
3644 * libspi/listener.c :
3645 Replaced calls to Accessibility_Accessible_ref() and
3646 Accessibility_Accessible_unref() with
3647 calls to bonobo_object_dup_ref() and
3648 bonobo_object_release_unref(), so that the CORBA object
3649 is dup-ed and released when relayed, as well as the bonobo object.
3651 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3653 * libspi/Makefile.am,
3654 registryd/Makefile.am,
3655 at-bridge/Makefile.am.
3656 test/Makefile.am, configure.in:
3657 reverse previous changes.
3659 * /idl/Image.idl: fix typo.
3661 * test/Makefile.am: put DEBUG_FLAGS
3664 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3666 * test/app.c: use argv[0] instead of
3669 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3671 * libspi/Makefile.am,
3672 registryd/Makefile.am,
3673 at-bridge/Makefile.am.
3674 test/Makefile.am, configure.in:
3675 cleanup, replace individual LIBS/CFLAGS with
3676 AT_COMMON_{LIBS|CFLAGS}.
3680 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3682 * configure.in, libspi/Makefile.am:
3683 Change IDL path checking for bonobo-activation
3686 2001-08-15 Bill Haneman <bill.haneman@sun.com>
3688 * registryd/registry.c : separated event listeners to use
3689 3 separate lists (focus, window, toolkit). Began testing
3690 event names against hashes before relaying events.
3691 * test/at.c : now register for events of type "focus:"
3692 * test/app.c : now generate events of type "focus:"
3693 * at-bridge/bridge.c : register with ATK for focus events,
3694 and we now relay those focus events to any "focus:" listeners.
3695 This now works with the bridge as a GTK_MODULE when running test/at.
3696 * libspi/registry.c :
3697 * libspi/listener.c :
3698 now we ref event sources before propagating, and unref on receipt.
3699 * libspi/registry.c :
3700 some changes to internal structs, to support event typestring hashes.
3701 * text/app.c : changed the way the appname is generated.
3702 * cspi : added directory that will hold the C bindings library for
3703 non-CORBA/bonobo-savvy clients.
3704 * cspi/spi.h : header file that contains the function prototypes for the C binding.
3705 * idl/Component.idl : added in parameter to indicate coord system for
3706 geometry-related calls.
3707 * idl/Hyperlink.idl : added readonly n_links attribute
3708 * idl/Image.idl : changed methods to attributes.
3710 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3712 * at-bridge/Makefile.am: link against
3713 ../libspi/libspi.la instead of -lspi.
3715 * at-spi/test/app.c: include
3716 bonobo-activation.h. Use a default appname
3717 if one is not provided.
3719 2001-08-14 Bill Haneman <bill.haneman@sun.com>
3721 * idl/Registry.idl : temporarily changed register_Application
3722 to oneway, to work around issue with initial registration
3724 * idl/Application.idl : changed attribute "id" from readonly
3725 to read-write, since it needs to be assigned by Registry.
3726 * registryd/registryd.c : added call to set application id
3728 * registryd/registry.c : changed de-registration procedure to
3729 use CORBA_Object_hash() to find matching object ref in application
3730 lists and listener lists.
3731 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
3732 began distinguishing between event types (work in progress).
3734 2001-08-13 Bill Haneman <bill.haneman@sun.com>
3737 * libspi/application.c:
3738 Added implementations for get/set id, get_toolkitName,
3740 * registryd/registryd.c :
3744 Converted from use of OAF to bonobo-activation.
3745 * libspi/desktop.h :
3746 * libspi/desktop.c :
3748 Removed references to atksimpleobject, since base atkobject
3749 implementation now provides functionality we need.
3750 * libspi/atksimpleobject.c :
3751 * libspi/atksimpleobject.h :
3756 * at-bridge/Makefile.am
3757 * at-bridge/bridge.c
3760 Added directory "bridge" and contents, and added dependencies
3761 in Makefile.am/configure.in.
3762 Initial checkin of "at-bridge".
3763 This code is a GTK_MODULE which automatically registers
3764 GTK+ apps with the accessibility registry, using an object
3765 reference to the root ATK object.
3767 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3769 * po/Makefile.in.in: Remove. Again. If this
3770 doesn't get autogenerated - you need to update
3773 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3775 * po/Makefile.in.in: Add. Again.
3777 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3779 * libspi/accessible.c : added support for 'description' property.
3780 * libspi/accessible.c
3782 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3783 (since the two are now equivalent in libbonobo)
3791 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3792 Bonobo::Unknown as does Accessibility::Accessible.
3793 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3794 interface with Bonobo::Stream, since it was redundant with it.
3795 (The Stream returned by a StreamableContext object is expected to
3796 implement only a subset of Bonobo::Stream)
3798 2001-07-28 Anders Carlsson <andersca@gnome.org>
3800 * libspi/accessible.c (accessible_object_finalize): Change
3801 g_free to g_object_unref since the AtkObject is a GObject.
3803 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3805 * idl/Accessibility.idl: add new IDL files
3808 * idl/Action.idl: Definitions of actionable UI object
3809 * idl/Component.idl: Definitions of UI component geometry, etc.
3810 * idl/Hyperlink.idl: Defs of hyperlink behavior
3811 * idl/Image.idl: Def of accessible image
3812 * idl/Selection.idl: Definition of UI object with selectable children
3813 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3814 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3815 * idl/Text.idl: Interface defs for UI elements with complex textual content
3816 * idl/Value.idl: Definition of UI element that is a value controller or display
3818 2001-07-27 Michael Meeks <michael@ximian.com>
3820 * po/Makefile.in.in: remove autogenerated file from CVS.
3822 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3825 * idl/Registry.idl: include guard.
3827 * idl/Accessibility.idl: Add, and include all the other IDL
3830 * idl/*.idl: remove mass of pragmas etc.
3832 2001-07-26 Michael Meeks <michael@ximian.com>
3834 * registryd/Makefile.am (registryd_SOURCES): remove
3837 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3839 * libspi/.cvsignore, registryd/.cvsignore,
3840 test/.cvsignore: updated.
3842 * po/Makefile.in.in: gettext update.
3844 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3846 * initial CVS checkin
3848 2001-06-29 Michael Meeks <michael@ximian.com>
3850 * configure.in: add AM_CONFIG_HEADER to gen config.h