1 2002-04-22 jacob berkman <jacob@ximian.com>
4 * libspi/Makefile.am: add deps on the built files to help
5 automake, and don't version the ORBit typelib
7 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
9 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
10 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
11 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
12 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
13 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
14 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
15 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
16 libspi/accessible.h libspi/accessible.h libspi/base.h
17 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
18 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
19 libspi/relation.h libspi/remoteobject.h libspi/selection.h
20 libspi/spi-private.h libspi/statetset.h libspi/table.h
21 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
22 util/mag_client.h util/mag_control.c util/mag_image.c
23 util/mag_image.h util/magnifier.c util/magnifier.h:
24 Add missing file headers; standardize existing ones
26 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
28 * atk-bridge/bridge.c: Added window event support.
30 2002-04-18 Michael Meeks <michael@ximian.com>
32 * libspi/relation.c (impl_getNTargets): impl.
33 (impl_getTarget): impl.
35 * libspi/Makefile.am: fix stateset install.
37 2002-04-17 Bill Haneman <bill.haneman@sun.com>
40 Started putting useful info in this file.
42 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
44 * atk-bridge/bridge.c:
45 Propagate state-changed notifications to ATs
47 * cspi/spi_registry.c: update docs to reflect actual behavior of
50 2002-04-17 Bill Haneman <bill.haneman@sun.com>
53 Incremented version to 0.12.1
56 Add missing declaration for magnifier_exit,
57 used by mag_control.c - Forte compiler didn't like
58 the implicit redeclaration of the function :-(
61 2002-04-16 Bill Haneman <bill.haneman@sun.com>
64 Revved version to 0.12 due to API change (see below).
66 * cspi/spi-roletypes.h:
67 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
68 definition from the inline docs, and added docs
69 for SPI_ROLE_LAST_DEFINED.
72 * cspi/spi_streamablecontent.c:
73 Added missing seek_type parameter to
74 (so far unused) method,
75 AccessibleStreamableContent_seek().
76 [ RT approval JodyG. ]
79 Fixed docs for SPI_createAccessibleKeystrokeListener.
81 * cspi/spi_registry.c:
82 Fixed docs for SPI_KEYSET_ALL_KEYS.
84 * docs/reference/cspi/at-spi-cspi-sections.txt:
85 Added a number of missing APIs to SECTIONS.
87 2002-04-16 Bill Haneman <bill.haneman@sun.com>
89 * registryd/Makefile.am:
91 * cspi/bonobo/Makefile.am:
92 Add $(X_LIBS) to makefiles.
94 2002-04-15 Bill Haneman <bill.haneman@sun.com>
97 Revved version to 0.11.
100 Added implementation for grabFocus.
102 * idl/Accessibility_Component.idl
103 (Accessibility_Component_grabFocus):
104 Made this method return boolean to indicate success or failure, to
105 be consistent with cspi and the corresponding ATK method.
107 * idl/Accessibility_Selection.idl
108 (Accessibility_Selection_selectAll) :
109 Made these methods return boolean to indicate success or
110 failure, to be consistent with cspi and the corresponding ATK methods.
112 * idl/Accessibility_EditableText.idl
113 (Accessibility_EditableText_setTextContents,
114 Accessibility_EditableText_insertText,
115 Accessibility_EditableText_cutText,
116 Accessibility_EditableText_deleteText,
117 Accessibility_EditableText_pasteText):
118 Made these methods return boolean to indicate
121 * cspi/spi_editabletext.c:
122 Made these methods return booleans.
124 * libspi/selection.c:
125 * libspi/component.c:
126 * libspi/editabletext.c:
127 Connected the boolean returns from ATK
128 to the server-side code referenced above.
130 2002-04-14 Bill Haneman <bill.haneman@sun.com>
132 * idl/Accessibility_Table.idl: Added missing methods,
133 Accessibility_Table_addRowSelection,
134 Accessibility_Table_addColumnSelection,
135 Accessibility_Table_removeRowSelection,
136 Accessibility_Table_removeColumnSelection.
139 Added C wrappers for above IDL:
140 AccessibleTable_addRowSelection,
141 AccessibleTable_addColumnSelection,
142 AccessibleTable_removeRowSelection,
143 AccessibleTable_removeColumnSelection.
146 Added server-side implementation code for IDL above, connecting
147 to pre-existing ATK api.
149 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
151 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
153 * libspi/accessible.c: Added implementation fo
154 Accessibility_Accessible_get_state.
156 * libspi/libspi.h: Added stateset.h to the list of includes.
158 * libspi/stateset.c: Fixed broken implementation.
160 2002-04-13 Bill Haneman <bill.haneman@sun.com>
163 Added implementation code for Accessibility_Magnifier_exit ().
165 * util/mag_control.c:
166 Added test code for above method; you can
167 now kill an existing magnifier via
168 ./mag_control q, from the util directory.
170 * test/key-listener-test.c:
172 Added a new test, for our key listener API.
174 2002-04-11 Bill Haneman <bill.haneman@sun.com>
176 * test/app.c, test/keysynth-demo.c:
178 Replace use of snprintf with g_snprintf.
179 (fix for bugzilla 78249)
181 2002-03-27 Michael Meeks <michael@ximian.com>
185 * util/Makefile.am (INCLUDES): fix.
186 (DONT_DIST_SOURCE): don't distribute the
189 * libspi/Makefile.am (dist-hook): ditto.
191 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
193 * libspi/hypertext.c:
194 Fix warnings when yelp is used with atk-bridge
196 2002-03-21 Michael Meeks <michael@ximian.com>
198 * libspi/application.c (spi_application_new):
199 use spi_accessible_construct so we use the AtkObject
202 2002-03-19 Michael Meeks <michael@ximian.com>
204 * registryd/registry.c (desktop_remove_application),
205 (desktop_add_application): clean coding style.
207 * registryd/desktop.c (spi_desktop_remove_application),
208 (spi_desktop_add_application): kill re-enterency hazards.
209 (spi_desktop_dispose): remove bogus redundant cast
210 obscuring bug; fix bug too.
211 (spi_desktop_init): make the desktop object immortal.
213 2002-03-16 Bill Haneman <bill.haneman@sun.com>
216 Added a #define-guarded tree-traversal step
217 when enumerating the apps (diagnostic tool).
219 2002-03-15 Bill Haneman <bill.haneman@sun.com>
221 * idl/Accessibility_Role.idl:
222 Added ROLE_DRAWING_AREA which seemed to be missing from the
225 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
227 * cspi/spi-roletypes.h cspi/spi_accessible.c
228 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
231 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
232 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
233 AT when applications are added and removed from the desktop. This
234 reverts the previous broken implementation using the backing
235 AtkObject for the SpiDesktop.
237 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
239 * registryd/desktop.c: emit the "children-changed::add" and
240 "children-changed::remove" signals on the backing ATK object for
241 the desktop so AT can tell when applications are started and shut
244 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
246 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
248 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
250 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
252 * cspi/spi_accessible.c: Implemented c bindings for stateset support
254 * cspi/state-types.h: synched with IDL and ATK
256 2002-03-13 Bill Haneman <bill.haneman@sun.com>
258 * libspi/accessible.c
259 (impl_accessibility_accessible_get_child_at_index):
260 Change return value for g_return_if_fail ()
261 to CORBA_OBJECT_NIL instead of "0" (!)
263 * registryd/Makefile.am:
264 * registryd/Accessibility_Register.server.in:
265 Changed name of executable, "registryd",
266 to something more informative:
269 2002-03-13 Michael Meeks <michael@ximian.com>
271 * atk-bridge/bridge.c (atk_bridge_init): don't register
272 if we're in a bonobo-component, rather than a bonobo app.
274 2002-03-13 Michael Meeks <michael@ximian.com>
276 * atk-bridge/bridge.c (gtk_module_init): split
277 out body to (atk_bridge_init): here, since otherwise
278 we get symbol conflicts and oddness when invoked
279 from (gnome_accessibility_module_init): here (upd.)
281 2002-03-11 Bill Haneman <bill.haneman@sun.com>
284 New file. Explicitly allow "build sheriff" putbacks provided
285 they are tested on Solaris.
287 * docs/reference/cspi/Makefile.am:
288 Added '-' to the "cp" command for index.sgml.
289 ("patch by thomasvs, soon coming to a GUADEC near you")
292 Incremented version number (0.9.0) for new release.
293 Changed macro that checks for popt, to better detect
294 obsolete versions of popt.
297 Added X_LIBS to AC_SUBST, for applications
298 that call Xlib API directly.
301 2002-03-07 Bill Haneman <bill.haneman@sun.com>
304 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
307 Fix regression caused by hard-coding major
308 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
311 * test/test-simple.c (test_editable_text),
312 (test_test): revert previous change (error was
313 a regression in gail which is now fixed).
315 2002-03-04 Michael Meeks <michael@ximian.com>
317 * test/test-simple.c (test_editable_text),
318 (test_text): pass G_MAXINT instead of '-1' for
319 whole string - is this a good thing !?
321 * cspi/spi_accessible.c
322 (Accessible_getRelationSet): fix crasher bug
323 overwriting the end of the array.
325 * test/test-simple.c (validate_accessible): free,
326 not g_free returned relation set.
328 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
330 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
331 implemented stateset support
333 * idl/Accessibility_State.idl: Made necessary changes to
334 the IDL to support state sets.
336 2002-02-12 Bill Haneman <bill.haneman@sun.com>
338 * registryd/deviceeventcontroller.c:
339 Added implementation for generateMouseEvent.
341 * cspi/spi_registry.c:
342 Connected new implementation for generateMouseEvent
345 2002-02-12 Bill Haneman <bill.haneman@sun.com>
348 Incremented revision (but no change in public API
349 outside of 'utils', which are not installed public yet.)
351 * libspi/component.c:
352 Changed to use atk_component API for layers and
353 mdi_zorder, instead of deprecated atk_object API.
355 Magnification Utility Enhancements:
358 Added implementation of createZoomRegion, clearAllZoomRegions,
359 resizeZoomRegion. Added new commandline argument
360 "--no-initial-region". Note that clearAllZoomRegions doesn't
361 unmap the old '0' region as it should (yet), and the other
362 methods only work when creating/resizing a single region,
364 (Code for multiple region support will be added later.)
367 Now we raise the magnifier window each time it's refreshed;
368 this will help keep it on top.
371 Added simple wrappers for above, used by mag_control.
372 For general use, it's recommended to use the bonobo magnifier
373 control API directly instead of using these wrappers.
376 Moved ZoomRegionData from magnifier.c to this file.
378 * util/mag_control.c:
379 Added some code to exercise new IDL implementations.
381 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
383 * libspi/text.c: Provide implementation for getAttributes.
385 2002-02-04 Bill Haneman <bill.haneman@sun.com>
388 Incremented revision.
390 * test/test-simple.c:
391 Replaced use of deprecated g_main_iteration with
392 g_main_context_iteration.
394 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
397 Incremented revision for desktop alpha 2.
399 2002-01-28 Mark McLoughlin <mark@skynet.ie>
401 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
404 * test/simple-at.c: include netinet/in.h.
406 2002-01-24 Mark McLoughlin <mark@skynet.ie>
408 * cspi/spi_accessible.c: (Accessible_getRelationSet):
409 use NULL, not CORBA_OBJECT_NIL.
411 * libspi/accessible.c:
412 (impl_accessibility_accessible_get_relation_set):
413 allocate the sequence correctly.
415 * libspi/remoteobject.h: kill spi_remote_object_new.
417 * test/test-simple.c: (validate_accessible): add code
418 to test relation sets, now all we need is to figure
419 out how to excercise this code path :/
421 2002-01-18 Michael Meeks <michael@ximian.com>
424 (key_listener_cb): consume the key.
425 (test_keylisteners): update.
426 (main): wait for any pending unrefs on events.
428 * registryd/deviceeventcontroller.c
429 (spi_controller_update_key_grabs): only re-issue the
430 grab on a key release.
431 (spi_device_event_controller_forward_key_event):
432 refresh the keygrabs before we notify the listeners,
433 to reduce the X ungrab / re-grab race.
434 (spi_controller_register_with_devices): remove
435 XSelectInput - we do that with the gdk_window_ call.
436 (_spi_controller_device_error_handler): return a value.
437 s/GDK_DISPLAY/spi_get_display/
439 2002-01-17 Michael Meeks <michael@ximian.com>
441 * registryd/deviceeventcontroller.c
442 (_deregister_keygrab): don't blow out the later
445 * test/test-simple.c (test_keylisteners): do a
446 more intelligent validation.
448 2002-01-14 Michael Meeks <michael@ximian.com>
450 * atk-bridge/bridge.c
451 (gnome_accessibility_module_init),
452 (gnome_accessibility_module_shutdown): impl.
453 (gtk_module_init): protect vs. double inits.
454 (add_signal_listener): impl.
455 (spi_atk_bridge_state_event_listener): kill
456 (deregister_application): split out of
457 (spi_atk_bridge_exit_func): here.
459 2002-01-18 Bill Haneman <bill.haneman@sun.com>
462 Added caret tracking when using magnifier, and
463 now use text bounds for focus tracking of text elements, rather than
464 the component bounds - this is helpful for short text fields in long
465 table cells, at high magnification.
467 2002-01-16 Bill Haneman <bill.haneman@sun.com>
469 * registryd/deviceeventcontroller.c:
470 Regression fix for keylistener de-registration; global keygrabs
471 were not being released when deregisterKeystrokeListener was
472 called in cspi, since
473 Accessibility_DeviceEventController_deregisterKeystrokeListener
474 was called with a zero-length keyset. That is because the cspi
475 method, SPI_deregisterKeystrokeListener, does not take a keyset
476 parameter but instead should remove all the key grabs held be a
478 The code in impl_deregister_keystroke_listener was changed to copy
479 the keylist from the listener instance previously registered with
480 the DeviceEventController before releasing the grabs.
482 * registryd/registry.c:
483 * registryd/deviceeventcontroller.c:
484 * libspi/spi-private.h:
486 Changed spelling of "re-enterant" to "re-entrant" globally.
488 2002-01-16 Bill Haneman <bill.haneman@sun.com>
490 * test/test-simple.c:
491 Changed key listeners test - the test was slightly mis-using the
492 (admittedly poorly documented) SPI_generateKeyboardEvent API.
493 It now uses '=' as the key event listened to and generated,
494 relying on a keysym match rather than assuming that keycode 33
495 is always equal to keysym '!'.
497 2002-01-15 Bill Haneman <bill.haneman@sun.com>
500 Changed simple-at to use a specific keyset, rather than
501 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
502 manager, desktop, etc.
504 2002-01-11 Bill Haneman <bill.haneman@sun.com>
506 * registryd/deviceeventcontroller.c:
507 Replaced standard X error handler with a special handler that
508 is non-fatal for failed keygrabs. This works around
509 problems with keygrab clashes sometimes observed on
511 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
512 mouse handling code as yet).
514 2002-01-11 Bill Haneman <bill.haneman@sun.com>
517 Incremented revision for desktop alpha release.
520 Fixed a couple of the more glaring errors (still not
523 2002-01-11 Michael Meeks <michael@ximian.com>
525 * registryd/deviceeventcontroller.c
526 (spi_device_event_controller_forward_key_event): kill
527 XUngrabKey / XKeyGrab race.
528 (spi_controller_grab_keyboard): rename to
529 (spi_controller_update_key_grabs): this, and deal
530 with incremental adding / removing grabs more
532 (_register_keygrab): ensure we're not pending a remove.
533 (spi_grab_mask_free): impl.
534 (spi_controller_register_global_keygrabs): split out
536 (handle_keygrab): impl.
537 (_deregister_keygrab): impl.
538 (spi_controller_deregister_global_keygrabs): impl.
539 (spi_controller_update_key_grabs): re-issue the grab if
540 we just recieved a notification.
542 * test/test-simple.c (key_listener_cb): remove debug.
544 * registryd/deviceeventcontroller.c
545 (spi_controller_register_device_listener): after
546 registering a global keygrab, actualy register it !
547 don't wait for a timeout; doh !
549 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
550 to make it more readable / manipulable.
551 s/grabmask/grab_mask/ s/refcount/ref_count/
552 s/keyval/key_val/ s/modmask/mod_mask
554 2002-01-08 Michael Meeks <michael@ximian.com>
556 * registryd/deviceeventcontroller.c
557 (spi_controller_register_with_devices): use gdk calls to
559 (global_filter_fn): implement the filter.
560 (spi_device_event_controller_check_key_event): rename to
561 (spi_device_event_controller_forward_key_event): this & upd.
562 (spi_get_display): replace with GDK_DISPLAY.
564 * registryd/deviceeventcontroller.c
565 (spi_controller_deregister_device_listener): unroll into
566 (impl_deregister_keystroke_listener): here to simplify.
567 (spi_controller_register_global_keygrabs): split cut and
568 paste (!) out into (_register_keygrab): here, shorter & sweeter.
569 (spi_controller_deregister_device_listener): remove.
570 (impl_register_mouse_listener): remove, no mouse listener
571 support in at-spi-1.0
573 * registryd/registry.c
574 (_device_event_controller_hook): kill.
575 (spi_registry_init): upd.
577 * registryd/deviceeventcontroller.c
578 (spi_device_event_controller_class_init): upd.
579 (spi_check_key_event): merge into.
580 (spi_device_event_controller_check_key_event):
581 here and kill strange static ev init, don't leak
582 the x_event - nor dynamicaly allocate it.
584 * registryd/registry-main.c (main): re-direct
585 timeout to remove strange vtable mess.
587 * registryd/deviceeventcontroller.c
588 (remove_listener_cb): impl.
589 (spi_controller_deregister_device_listener):
590 fix re-enterancy hazard.
592 2002-01-07 Michael Meeks <michael@ximian.com>
594 * registryd/deviceeventcontroller.c
595 (spi_device_event_controller_new): upd.
596 (impl_notify_listeners_sync): upd. debug.
597 (spi_notify_keylisteners): fix re-enterancy hazards,
598 prettify, remove O(n*n) iteration.
599 (spi_controller_grab_keyboard): fix iteration.
600 (spi_check_key_event): re-format to suit coding style.
601 Clean all the warnings - we're warning free.
603 * registryd/deviceeventcontroller.h:
604 * registryd/registry.h: make mutualy referential with
605 typesafe forward references instead of (!) void pointer
608 2002-01-11 Michael Meeks <michael@ximian.com>
610 * cspi/spi_accessible.c (role_names): add a role name
611 to sync this array with the enum; and make the regression
614 2002-01-10 Michael Meeks <michael@ximian.com>
616 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
617 allow expansion of enumeration & kill warning.
619 * test/test-simple.c (key_listener_cb): impl.
620 (test_keylisteners): impl.
622 * cspi/spi-listener.h: make listener signatures const
623 on the provided (const) events.
625 * test/keysynth-demo.c: upd. to const events.
627 * test/simple-at.c: ditto.
629 2002-01-11 Bill Haneman <bill.haneman@sun.com>
632 Rev the version to 0.5 (the previous tarball was named 0.4,
633 even though the micro number was 3), so we need to rev upwards
634 again for beta2/"desktop-alpha"
637 Checked in a demo script, which requires editing before use!
638 Proceed with caution.
641 Fixed typo in header which was redefining SPI_ACTION_CLASS.
643 * cspi/spi_accessible.c:
644 Add a couple of missing enum initializations, and fix some enum
647 * cspi/spi_registry.c:
648 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
650 * docs/reference/cspi/at-spi-cspi-sections.txt:
651 Remove/fix a couple of broken document references.
654 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
655 as Alt-Control to listen for commands, since on some systems
656 Control-Alt may already be grabbed.
658 2002-01-10 Bill Haneman <bill.haneman@sun.com>
661 Update version number to 0.4 for Beta2.
663 * libspi/accessible.c, libspi/accessible.h:
664 Expose spi_accessible_construct, to enable libgail-gnome
665 construction from spi_accessible subtype.
668 Workaround for bug in some non-gnome-compliant window managers
669 which made magnifier resize improperly.
671 2002-01-09 Bill Haneman <bill.haneman@sun.com>
673 * libspi/accessible.c: (spi_accessible_new) :
674 Move the test for SPI_IS_REMOTE_OBJECT to
675 spi_accessible_new_return, fixing a bug and compile time warning.
677 2002-01-08 Michael Meeks <michael@ximian.com>
679 * registryd/registry.c (parse_event_type): remove strndup.
681 * libspi/Makefile.am (libspi_la_SOURCES): remove
682 sources already included in the headers section.
684 * libspi/util.c: add.
686 * libspi/spi-private.h: add.
688 * registryd/registry.c: update to moved list iterators.
690 2002-01-05 Michael Meeks <michael@ximian.com>
692 * test/simple-at.c (main): upd. auto-module set to atk-bridge
694 * test/test-simple.c (main): ditto.
696 2002-01-04 Michael Meeks <michael@ximian.com>
698 * libspi/accessible.c (spi_accessible_new): remove 2nd,
701 * registryd/registry.c
702 (get_listener_list): impl.
703 (impl_accessibility_registry_register_global_event_listener):
704 re-impl. to simplify using ~, remove dodgy const cast off.
705 (parse_event_type): constify.
706 (impl_accessibility_registry_deregister_global_event_listener_all):
707 re-write, more efficiency and simplicity, kill re-enterancy
709 (compare_listener_corbaref, compare_corba_objects),
710 (compare_listener_quarks): define out.
711 (impl_accessibility_registry_deregister_global_event_listener):
712 re-write for effiency, and nail re-enterancy hazard.
713 (impl_accessibility_registry_get_desktop_list): impl.
714 (re_enterant_list_delete_link): impl.
715 (re_enterant_list_foreach): impl.
716 (remove_listener_cb): impl.
717 (_registry_notify_listeners): kill.
718 (notify_listeners_cb): impl.
720 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
721 (SPI_getDesktopList): impl.
723 * test/test-simple.c (test_desktop): test the methods.
725 2002-01-03 Michael Meeks <michael@ximian.com>
727 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
728 keystrings since we free them
729 (SPI_freeAccessibleKeySet): in here.
731 * libspi/accessible.c (spi_accessible_new): kill warning,
732 wonder what is going on with the constructor here.
734 2002-03-01 Bill Haneman <bill.haneman@sun.com>
736 * libspi/accessible.c (spi_accessible_new ()) :
737 Added check to see if AtkObject is an SpiRemoteObject before
738 creating an SpiAccessible.
740 2002-05-01 Bill Haneman <bill.haneman@sun.com>
742 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
743 Enable keygrabs using the Control modifier, now that they are
744 working properly (they were previously disabled).
747 Change the command keygrab for this demo to "Control+Alt", so as
748 to conflict with fewer other key commands on the system; this
749 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
751 Removed a pointlessly-chatty keylistener for unshifted keys
752 (shifted keys are still reported).
754 2002-02-01 Bill Haneman <bill.haneman@sun.com>
756 * libspi/remoteobject.h:
757 * libspi/remoteobject.c:
758 Added definitions for special AtkObject subtype, required for
759 support of remote components (specifically, used by BonoboControl
760 accessibility implementation).
762 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
764 * cspi/spi.h: synched relation types with ATK
766 * cspi/spi_accessible.c: Added implementations of
767 AcccessibleRelation_* methods
769 * idl/Accessibility_Relation.idl: added getRelationTypeName
770 method. Synched known relation types with ATK. Allowed for
771 relation type extension with the RELATION_EXTENDED type.
773 * libspi/relation.c: Provided implementations for
774 AccessibleRelation methods.
776 2002-01-01 Bill Haneman <bill.haneman@sun.com>
778 API tweaks for today's API 'freeze'.
781 Added placeholder functions to allow future compatible expansion
782 of the IDL interfaces.
784 * idl/Accessibility_Registry.idl:
785 Changed generateKeyEvent to generateKeyboardEvent. Changed
786 signature of this method to accept an optional keystring in
787 parameter (for complex text input synthesis) and changed use of
788 simple 'boolean' parameter in registerKeystrokeListener to a
789 struct, EventListenerMode.
791 * cspi/spi_accessible.c:
793 * cspi/spi_streamablecontent.c:
794 Added references to AccessibleStreamableContent interface, and
795 definition and implementation of AccessibleStreamableContent
798 * cspi/spi_registry.c:
800 Changed generateKeyEvent API to generateKeyboardEvent,
801 taking a new (optional) keystring parameter to support complex
806 Renamed directory (to better reflect its actual purpose, bridging
807 from at-spi to ATK). The .so module is also now named
810 * idl/Accessibility_Hypertext.idl:
811 * libspi/accessible.c:
812 * libspi/hypertext.h:
813 * libspi/hypertext.c:
814 Changed Accessibility_Hypertext to *not* derive from
817 * cspi/spi_registry.c:
818 Added list of legal event type names for 'window' events, which
819 completes the registry event API.
821 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
823 * at-bridge/bridge.c: Added registration for separate
824 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
825 signals. If either of the first two parameters to the generic
826 bridge signal handler are ints, they are passed on as event
827 details. This allows an AT to determine what text was inserted.
829 2001-12-21 Bill Haneman <bill.haneman@sun.com>
831 * registryd/deviceeventcontroller.c:
832 Fixed regressions in generateKeyEvent caused by the removal of
833 gdk_init from registryd; we now use pure X calls to connect to the
834 display, which makes sense because deviceeventcontroller already
835 uses a fair bit of X API (should eventually be migrated to a
836 'portability layer').
838 * registryd/desktop.c:
839 Fixed minor regression in spi_desktop_init, changed the way the
840 desktop name is being set to work with new spi_base API
841 (gobject-based, rather than AtkObject-based).
843 * registryd/Makefile.am:
844 Minor revision of makefile to use XTST_LIBS variable rather than
845 hard-wiring the Xtst LD_ADD element.
847 * test/keysynth-demo.c:
848 Tweaked an output message; added initialization of the
849 'keystrings' member of the "switch listener" key_set.
852 Squashed compile-time warning.
854 * libspi/accessible.c:
855 Cosmetic and formatting fixes, renamed a static method.
857 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
859 * libspi/accessible.c
861 * libspi/application.c
865 * libspi/editabletext.c
873 * registryd/desktop.c:
874 Changed SpiBase to contain a GObject pointer rather than an AtkObject
876 2001-12-17 Bill Haneman <bill.haneman@sun.com>
878 * idl/Accessibility_Registry.idl:
879 Added boolean member 'is_text' to DeviceEvent. This is for the
880 use of key events, and helps prevent ambiguity between composed
881 key strings and keysym names, since both may potentially be
882 returned in the 'event_string' member.
884 * at-bridge/bridge.c:
885 * registryd/deviceeventcontroller.c:
886 Use the 'is_text' member when notifying device event listeners.
887 Knon issue: composed characters are not dealt with correctly by
888 the global key listener implementation yet.
890 2001-12-17 Bill Haneman <bill.haneman@sun.com>
892 * at-bridge/bridge.c:
893 Namespaced local static methods to spi_atk_bridge_* where
894 previously named bridge_*, and spi_* elsewhere.
896 * at-bridge/bridge.c:
897 * cspi/bonobo/cspi-bonobo-listener.c:
898 Added demarshalling/conversion for string member of
899 Accessibility_DeviceEvent to AccessibleKeystroke.
901 * registryd/deviceeventcontroller.c:
902 Added code to fill the Accessibility_DeviceEvent key string value
903 member for global key events (i.e. from XGrabKey), to match
904 behavior of Accessibility_DeviceEvent from the toolkit key events
905 from the bridge. Fixed timestamp in global key event notifications.
908 Added printout of key event's string value to
909 report_ordinary_key_event, for demo/debugging purposes.
911 2001-12-15 Bill Haneman <bill.haneman@sun.com>
913 * idl/Accessibility_Registry.idl:
914 Removed Accessibility_KeyStroke structure in favor of generic
915 Accessibility_DeviceEvent structure.
916 Changed Accessibility_ControllerEventMask from a struct to an
919 * at-bridge/bridge.c:
920 Changed APIs to use DeviceEvent structure as above, and removed
921 bogus casting between these event structures.
923 * cspi/spi-listener.h:
924 Added keystring member of AccessibleKeystroke structure, to enable
925 matching on event "names" rather than only hardware codes and
929 Added keystrings member of AccessibleKeySet struct, to allow
930 matching on event names (as above).
931 Added declarations for SPI_createAccessibleKeySet and
932 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
933 event modmasks directly as unsigned ints rather than structs with
934 refcounts, in the DeviceEventController methods.
936 * cspi/spi_registry.c:
937 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
939 * cspi/spi-roletypes.h:
940 Added documentation of newly added SPI Roles.
942 * cspi/bonobo/cspi-bonobo-listener.c:
943 Changes in support of API changes above.
945 * libspi/accessible.c:
946 Converted APIs to use DeviceEvent structure (see IDL changes
949 * registryd/deviceeventcontroller.c:
950 Added DEControllerGrabMask structure to track keygrabs not only by
951 modmask but by keyset as well; this allows us to do "global"
952 (i.e. X) keygrabs on a per-key or keyset basis rather than always
953 grabbing on AnyKey and then filtering after-the-fact.
954 Bugfixes for event filtration mean that we don't get false matches
955 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
957 * registryd/deviceeventcontroller.c:
958 Namespaced a number of static methods to use spi_ prefix. Major
959 revision to internals of global (i.e. X) key grabs.
961 * registryd/deviceeventcontroller.h:
962 Removed keymask_list and added keygrabs_list to
963 SpiDeviceEventController struct.
966 Added use of SPI_createAccessibleKeySet API when creating a
967 listener for only one key. Attach a listener to "shift spacebar
968 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
969 X key event names to SPI key event names, so that listeners are
970 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
972 * test/keysynth-demo.c:
973 Changed (incorrect) use of X key event names (KeyPressed,
974 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
977 2001-12-12 Bill Haneman <bill.haneman@sun.com>
979 * libspi/accessible.c:
980 Convert all AtkRole enumerations to Accessibility_Role enums when
981 getting a role from an AtkObject.
983 * cspi/spi_accessible.c:
984 Complete the conversion of Accessibility_Role enums at runtime to
985 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
986 role enums correctly match those given in spi-roletypes.h.
987 Re-synchronize the local names list for AccessibleRole_getName ().
988 AccessibleRole_getName is now deprecated, since it duplicates the
989 more reliable Accessible_getRoleName.
990 Added some role types from Accessibility_Role.idl.
992 * idl/Accessibility_Role.idl:
993 Added some role types used by AtkRole.
995 2001-12-12 Bill Haneman <bill.haneman@sun.com>
998 * cspi/spi_registry.c:
1000 * cspi/cspi-bonobo-listener.c:
1001 Namespaced all methods that did not begin with an "SPI_" or
1002 "Accessible" prefix to "SPI_".
1005 Homogenized internal function namespace to "cspi_" for statics.
1008 Patched tests to use the new CSPI API.
1010 * docs/reference/cspi/at-spi-cspi-sections.txt:
1011 Updated docs to reflect namespace changes, and added a number of
1012 methods to the documentation.
1014 * registryd/registry.c:
1015 Changed use of strings and string hashes in listener event
1016 matching and parse_event_string to use GQuark, which is guaranteed
1019 * registryd/registry.h:
1020 Squashed annoying warning.
1022 * idl/Accessibility_Role.idl:
1023 Extended range of available Accessibility_Role values.
1025 * cspi/spi_accessible.c:
1026 Re-ordered role names.
1028 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1030 * idl/Accessibility_Value.idl:
1031 Revert use of union back to CORBA_double, since the double type is
1032 more efficient and can contain the other types without loss of
1035 * idl/Accessibility_Accessible.idl:
1036 Added method Accessibility:Accessible:getRoleName, to complement
1037 Accessibility:Accessible:getRole.
1039 * cspi/spi_accessible.c:
1041 Added C binding for above, Accessible_getRoleName (), and changed
1042 signature of Accessible_getRole () to return an AccessibleRole.
1044 * cspi/spi-roletypes.h:
1045 Changed AccessibleRole_getName to return a char * instead of a
1046 const char *. This method is now at least temporarily deprecated
1047 in favor of asking Accessibles for their RoleNames directly.
1050 Revert to match Accessibility_Value.idl;
1054 Change signature of AccessibleValue methods to use double rather
1058 * cspi/spi_accessible.c:
1059 Changed Accessible_getRole to return an AccessibleRole enum rather
1060 than a UTF-8 string. The UTF-8 string can still be obtained via
1061 AccessibleRole_getName ().
1063 * test/test-simple.c:
1064 Add test_action. Small fixup to match API change to Accessible_getRole.
1067 Bugfix for get_action_from_servant ().
1069 2001-12-11 Michael Meeks <michael@ximian.com>
1071 * libspi/libspi.h: remove registry.h and
1072 desktop.h, deviceeventcontroller.h
1074 * libspi/Makefile.am: remove registry.[ch],
1075 desktop.[ch], deviceeventcontroller.[ch]
1077 * registryd/Makefile.am: add registry.[ch],
1078 desktop.[ch], rename registryd.c to registry-main.c.
1079 add deviceeventcontroller.[ch]
1081 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1084 Replace setenv() call with putenv ().
1086 * libspi/component.c:
1087 Bugfix in AccessibleComponent_getExtents (),
1090 2001-12-11 Michael Meeks <michael@ximian.com>
1092 * libspi/image.c (impl_getImageExtents): impl.
1093 (spi_image_class_init): upd.
1096 (AccessibleImage_getImageDescription): fix daft bug
1099 * test/test-simple.c (global_listener_cb): update
1100 to only quit if not --poke
1101 (main): catch --poke.
1102 (validate_accessible): upd. dumping, call test_image
1105 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1108 * idl/Accessibility.idl: update all IDL includes.
1110 * idl/*.idl - rename to namespace - this sucks, blame
1111 mjs' bad decision for oafd.
1113 * test/test-simple.c (create_test_window): add more tests.
1114 (create_tree): split this out.
1115 (validate_accessible): bugfix.
1117 2001-12-11 Michael Meeks <michael@ximian.com>
1119 * cspi/bonobo/cspi-bonobo-listener.c:
1120 (cspi_kestroke_listener_unref),
1121 (cspi_event_listener_unref): impl. undoing previous
1122 homenous environment - for Bill.
1124 * cspi/spi_table.c (long_seq_to_array): use
1127 * cspi/spi_main.c: split out all bonoboish bits into
1130 * cspi/spi-impl.h: upd. typedefs.
1132 * cspi/spi_registry.c: update to lowlevel API,
1133 return booleans to indicate success in some places.
1135 * cspi/spi_event.c: update to lowlevel API.
1137 * cspi/bonobo/Makefile.am: add.
1139 * cspi/bonobo/cspi-lowlevel.h: add
1141 * cspi/bonobo/cspi-bonobo.c: add
1143 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1145 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1146 (SUBDIRS): add bonobo, link in the libs.
1148 * cspi/spi-util.c: kill this file.
1150 * TODO: merge in my bits.
1152 2001-12-11 Michael Meeks <michael@ximian.com>
1154 * test/test-simple.c (test_value, test_table, main):
1155 remove unused variables causing warnings.
1157 * configure.in: cleanup checks - require gail.
1159 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1162 Changed Value interface to use SValue (scalars) rather than
1163 assuming all values are floats. This allows floats, doubles,
1164 longs, shorts, and unsigned values to be manipulated.
1165 Introduced Accessibility:SValue union.
1168 Updated to use new API above, and to work correctly with GValues
1169 of different types in AtkValue.
1172 Updated to use new API above. cspi's API is as yet unchanged.
1175 Updated the Value revision action item.
1177 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1179 * test/test-simple.c:
1180 Added test_table (GtkTreeView widget in test window to follow).
1181 Un-commented test_value, added GtkRange widget.
1182 Added GtkTreeView widget with GtkListStore. It passes regression
1183 test but leaks one SPI object for some reason.
1186 Fixed bug in impl__set_currentValue.
1188 2001-12-10 Michael Meeks <michael@ximian.com>
1190 * cspi/spi_text.c: audit for exception handling,
1191 tolerating NULL object references safely etc.
1193 * cspi/spi_value.c: ditto.
1195 * cspi/spi_table.c (AccessibleTable_getSummary),
1196 (AccessibleTable_getAccessibleAt),
1197 (AccessibleTable_getRowHeader),
1198 (AccessibleTable_getColumnHeader),
1199 (AccessibleTable_getCaption): fix bugs hidden by
1201 (long_seq_to_array): impl.
1202 (AccessibleTable_getSelectedRows),
1203 (AccessibleTable_getSelectedColumns): use it.
1205 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1208 Added a TODO list (rough and short for now).
1210 * cspi/spi_hyperlink.c:
1211 * cspi/spi_hypertext.c:
1212 Fixed macro name typos, and remove use of obsolete macro in
1213 AccessibleHyperlink_getLink.
1215 * cspi/spi_action.c:
1216 * cspi/spi_accessible.c:
1217 * cspi/spi_application.c:
1218 * cspi/spi_component.c:
1219 * cspi/spi_selection.c:
1222 Documentation fixes (removed return values from ref/unref methods).
1224 2001-12-10 Michael Meeks <michael@ximian.com>
1226 * cspi/spi_action.c: audit for exception handling,
1227 tolerating NULL object references safely etc.
1229 * cspi/spi_accessible.c: ditto.
1231 * cspi/spi_component.c: ditto.
1233 * cspi/spi_editabletext.c: ditto.
1235 * cspi/spi_hyperlink.c: ditto.
1237 * cspi/spi_hypertext.c: ditto.
1239 * cspi/spi_image.c: ditto.
1241 * cspi/spi_selection.c: ditto.
1243 2001-12-10 Michael Meeks <michael@ximian.com>
1245 * configure.in: use cspi/libspi.pc.in instead.
1247 * Makefile.am (pkgconfig_DATA): upd. to match.
1249 * test/simple-at.c (report_focus_event): kill hacks around
1250 bad return values, use putenv not setenv
1252 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
1253 fire ChildGone - I killed it.
1255 * libspi/component.c
1256 (impl_accessibility_component_get_extents): remove
1259 * idl/Accessible.idl: kill ChildGone exception.
1261 * cspi/*.[ch]: kill int return from ref / unref.
1263 * cspi/spi_main.c (cspi_object_add_check): fold into
1264 (cspi_object_add): here.
1266 * cspi/spi_component.c (AccessibleComponent_getExtents):
1267 handle exceptions elegantly.
1269 * cspi/spi-private.h (cspi_check_ev_return),
1270 (cspi_return_if_fail): impl.
1272 * cspi/spi_accessible.c: use extensively.
1273 (AccessibleStateSet_equals): add direct compare check.
1275 * cspi/spi_selection.c: tolerate NULL objs, and check
1276 exceptions before return.
1278 * cspi/spi-util.c (cspi_warn_ev): rename to
1279 (cspi_check_ev): this & don't pass ev in; no point.
1281 2001-12-10 Michael Meeks <michael@ximian.com>
1283 * test/test-simple.c: use putenv not setenv
1284 (get_environment_vars): more chatty if you're not using
1287 * test/simple-at.c: do the setenv so more people see the
1290 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1292 * libspi/registry.c:
1293 Changed check of CORBA_environment on notification to be a warning
1294 instead of an error for the moment, since we can recover from this
1295 error when caused by a queued notification from a dead app.
1298 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
1299 used by all current implementors of AtkValue), and coerce to
1300 CORBA_float. (Proper general case fix may require change to Value.idl).
1302 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1306 * cspi/spi_accessible.c:
1307 Documentation fixes: added user_data params to documentation for
1308 listeners and callbacks.
1310 * cspi/spi_accessible.c:
1311 Changed AccessibleStateSet_compare to return a
1312 StateSet rather than return the difference set into a third parameter.
1315 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1318 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
1319 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
1323 Remove subdirectory po from SUBDIRS for now.
1325 * at-bridge/bridge.c:
1326 Beefed up a couple of debug printouts.
1327 One-line fix for signal notification name formatting.
1329 * libspi/accessible.c:
1330 Added assertion to spi_accessible_new ().
1332 * libspi/application.c:
1333 Put #ifdef qualifiers around a printf.
1336 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
1338 * registryd/Makefile.am:
1340 Replaces use of XML_I18N_MERGE_SERVER_RULE with
1341 INTLTOOL_SERVER_RULE macro.
1344 Added an event listener for several ATK signals, for
1345 testing and debugging. Removed a few g_warnings.
1346 Added test output if focussed item implements the Value interface.
1348 * test/test-simple.c:
1349 Added test_value () function (known not to pass at the moment, so
1350 not actually called yet.
1352 2001-12-08 Michael Meeks <michael@ximian.com>
1354 * at-bridge/bridge.c (bridge_focus_tracker),
1355 (emit_eventv): fix the same ref. leak.
1356 (register_atk_event_listeners): don't leak.
1358 * cspi/spi-listener-impl.c (cspi_event): more
1359 protection from client code.
1361 * test/test-simple.c (test_desktop): unref the app.
1363 * test/Makefile.am: upd. TESTS.
1365 * at-bridge/bridge.c (bridge_exit_func): release the registry.
1367 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
1369 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
1371 * cspi/spi_registry.c: constify in strings.
1372 (deregisterGlobalEventListenerAll): don't release the ref.
1374 * cspi/spi.h: start removing redundant / conflicting
1375 gtkdoc comments, making the API readable at a glance :-)
1377 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
1379 * test/keysynth-demo.c (keysynth_exit, main): upd.
1381 * test/simple-at.c (main, simple_at_exit): upd.
1383 * test/test-simple.c (unutterable_horror): kill.
1384 (utterable_normal_derefs): kill.
1385 (main): upd & do a setenv before gtk_init, so that we
1386 can use memprof - and to save the pain of remembering
1387 this, if we're running under memprof - don't exit.
1389 * cspi/spi_main.c (SPI_exit): return exit status
1391 (SPI_event_quit): impl.
1392 (SPI_event_main): simplify.
1393 (cspi_is_gnome_app): kill.
1394 (SPI_init): kill isGNOMEapp arg.
1396 * at-bridge/bridge.c (register_atk_event_listeners):
1397 re-instate the unref.
1398 (bridge_exit_func): don't re-activate the registry,
1399 protect vs. theoretical re-entry, use the
1400 AT_BRIDGE_SHUTDOWN env. var to determine whether to
1401 assert a clean shutdown - for regression tests.
1403 2001-12-08 Abel Cheung <maddog@linux.org.hk>
1405 * configure.in: Comment out dummy i18n support for now,
1406 otherwise it fails to build.
1407 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
1408 EXTRA_DIST. They are missing in tarball.
1410 2001-12-07 Michael Meeks <michael@ximian.com>
1412 * util/magnifier.c: kill bonobo activation reg. race.
1414 * libspi/component.c
1415 (impl_accessibility_component_get_extents): make it match
1418 * libspi/registry.c (_registry_notify_listeners):
1419 re-remove X headers & reconcile conflicts.
1420 (spi_listener_struct_free): bad conflict resolve.
1421 (impl_accessibility_registry_register_application):
1422 more bad merging fixed.
1423 (impl_accessibility_registry_deregister_application): ditto.
1424 (spi_registry_new): ditto.
1425 (spi_registry_init): don't have an applications field.
1427 [ merge fixups2 branch to here ]
1428 2001-12-07 Michael Meeks <michael@ximian.com>
1430 * test/simple-at.c (report_focus_event),
1431 (report_focussed_accessible): remove g_warning debug.
1433 2001-12-07 Michael Meeks <michael@ximian.com>
1435 * test/test-simple.c (validate_tree): comment out some checks.
1436 (test_desktop): app now not registered idly - horay.
1438 2001-12-07 Michael Meeks <michael@ximian.com>
1440 * cspi/spi_registry.c
1441 (registerAccessibleKeystrokeListener): clean, stop it leaking
1442 great swathes of memory, and device event controller references.
1443 ensure we always pass valid sequences.
1444 (deregisterAccessibleKeystrokeListener): ditto.
1445 (generateKeyEvent): upd.
1447 * at-bridge/bridge.c (bridge_key_listener): handle
1448 registry dead exception gracefully.
1449 (bridge_focus_tracker, emit_eventv): free ev.
1451 * test/simple-at.c (report_focus_event): fix polarity.
1453 * libspi/application.c (notify_listeners): kill the ev
1454 argument, and make sure we init the ev we use.
1455 (spi_application_object_event_listener): split out a chunk
1456 (get_atk_object_ref): here & fixup.
1457 (reverse_lookup_name_for_toolkit_event): make const.
1458 (spi_application_toolkit_event_listener): fixup, kill leaks
1461 * at-bridge/bridge.c (register_atk_event_listeners):
1462 don't unref the noop object - causes grief.
1464 * libspi/registry.c: remove the X headers.
1465 turn off the debug churn.
1467 * libspi/accessible.c (spi_accessible_new_return): only
1468 release the ref if we are supposed to [doh]
1470 * test/simple-at.c (report_button_press, report_focus_event):
1471 guard vs. unexpected exit.
1473 * at-bridge/bridge.c (gtk_module_init): prune printf.
1474 (bridge_exit_func): fix app unref.
1476 * libspi/Makefile.am: don't install registry or desktop.h
1478 * libspi/*.h: update includes.
1480 * libspi/application.h: don't include ourself, or
1481 other redundant headers.
1483 2001-12-06 Michael Meeks <michael@ximian.com>
1485 * libspi/accessible.c
1486 (get_accessible_from_servant): impl.
1487 Upd. all CORBA impl.s to use it killing cut and paste.
1489 * cspi/spi_main.c (cspi_cleanup): guard vs. double
1491 (SPI_init): register atexit cleanup handler here.
1493 2001-12-06 Michael Meeks <michael@ximian.com>
1495 * at-bridge/bridge.c (gtk_module_init): g_error on
1496 activation exception
1498 2001-12-06 Michael Meeks <michael@ximian.com>
1500 * at-bridge/bridge.c (gtk_module_init): some sort of
1501 confusing merge clash - reverted.
1502 (bridge_idle_init): ditto.
1504 * test/test-simple.c (main, utterable_normal_derefs):
1505 merge from Bill - somehow not committed.
1507 2001-12-06 Michael Meeks <michael@ximian.com>
1509 * libspi/value.c (spi_value_class_init): upd.
1510 (spi_value_finalize): kill.
1512 * libspi/table.c (spi_table_finalize): kill.
1513 (spi_table_interface_new): upd.
1514 (spi_table_class_init): upd.
1515 (get_table_from_servant): impl.
1516 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1518 * libspi/selection.c (spi_selection_finalize): kill.
1519 (spi_selection_interface_new): upd.
1520 (spi_selection_class_init): upd.
1521 (get_selection_from_servant): impl.
1522 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1524 * libspi/relation.c (spi_relation_finalize): kill.
1525 (spi_relation_class_init, spi_relation_new): upd
1527 * libspi/image.c (spi_image_finalize): kill.
1528 (spi_image_class_init): upd.
1529 (spi_image_interface_new): upd.
1530 (get_image_from_servant): impl.
1531 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1533 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
1534 (spi_hyperlink_finalize): kill.
1535 (spi_hyperlink_new): upd.
1536 (get_hyperlink_from_servant): impl.
1537 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1539 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
1540 (spi_hypertext_finalize): kill.
1541 (spi_hypertext_class_init): upd.
1542 (get_hypertext_from_servant): impl.
1543 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1545 * libspi/editabletext.c (spi_editable_text_finalize): kill.
1546 (spi_editable_text_interface_new): upd.
1547 (get_editable_text_from_servant): impl.
1548 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1550 * libspi/text.c (get_text_from_servant): impl.
1551 All impls - update to use it killing more cut and paste,
1552 also fix bad string returns on duff args ( a somewhat
1553 impossible case to handle - but hey ).
1554 (spi_text_construct): impl.
1555 (spi_text_interface_new): upd.
1556 (spi_text_object_finalize): kill.
1558 * libspi/component.c
1559 (accessibility_component_object_finalize): kill.
1560 (spi_component_class_init): upd.
1561 (get_component_from_servant): impl. helper to kill cut & paste.
1562 (impl_accessibility_component_contains):
1563 (impl_accessibility_component_get_accessible_at_point):
1564 (impl_accessibility_component_get_position):
1565 (impl_accessibility_component_get_extents):
1566 (impl_accessibility_component_get_mdi_z_order):
1567 (impl_accessibility_component_get_layer):
1568 (spi_component_interface_new): upd.
1570 * libspi/action.c (spi_action_finalize): kill.
1571 (spi_action_class_init): upd. inherit from SpiObject.
1572 (spi_action_interface_new): upd.
1573 (get_action_from_servant): impl. helper to reduce cut & paste.
1574 (impl_getKeyBinding, impl_getName, impl_doAction),
1575 (impl_getDescription): Use it everywhere.
1577 * cspi/spi_main.c (get_live_refs): a pointer hash.
1578 (spi_object_hash, spi_object_equal): comment out.
1579 There are issues with CORBA object hashing that need
1582 * libspi/application.c (spi_application_init),
1583 (spi_application_new): upd.
1585 * libspi/accessible.c (spi_accessible_object_finalize): kill.
1586 (spi_accessible_class_init): upd.
1587 s/accessible/object/ in epv methods.
1589 2001-12-05 Bill Haneman <bill.haneman@sun.com>
1591 * at-bridge/bridge.c:
1592 Reorder the bridge initialization into the bridge gtk_module_init,
1593 an immediate call to bridge_register_app, and an idle_add for
1594 register_atk_event_listeners (the only code that *must* wait until
1595 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
1596 the activation, creates the application's Accessible object, and
1597 queues the bridge_idle_init function. Restored call to
1598 Accessibility_Registry_deregisterApplication().
1599 Prior to making this call we obtain a new reference to the
1600 registry, which is a temporary hack that helps us handle apps that
1601 shut down the bonobo mainloop before we get there.
1603 * libspi/registry.c:
1604 Fix string leakage in debug block, and don't segv if a an app
1605 dies before its event notifications have been propagated.
1608 Modify cspi_check_ev() to call g_warning() rather than g_error(),
1609 as stopgap measure until we get proper exception handling when
1610 objects die during or before interrogation.
1614 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
1615 Also changed default value of is_gnome_app to TRUE.
1618 * test/keysynth-demo.c:
1619 Changed use of SPI_init and SPI_event_main to reflect API change above.
1622 Made report_focus_event check the warning value from getName
1623 before reporting on focussed accessible; simplifies handling of
1624 notifications from dead objects.
1626 * test/test-simple.c: (Changes not in this patch since source is
1629 2001-12-05 Michael Meeks <michael@ximian.com>
1631 * registryd/registryd.c (main): protect against
1632 bonobo-activation startup race condition.
1634 * cspi/spi_main.c (cspi_object_add_check): cope
1635 with the exception elegantly.
1637 * idl/Accessible.idl: decl. ChildGone
1639 * libspi/desktop.c (spi_desktop_dispose): impl.
1640 (spi_desktop_class_init): upd.
1641 (spi_desktop_add_application),
1642 (spi_desktop_remove_application),
1643 (abnormal_application_termination): impl.
1644 (impl_desktop_get_child_at_index): re-impl.
1647 (impl_accessibility_registry_deregister_application),
1648 (impl_accessibility_registry_register_application):
1649 kill excessive debug clutter.
1651 * test/test-simple.c (test_misc): test some NULL
1652 tolerance. (main): upd.
1654 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
1655 implements no interfaces - so let's not crash.
1657 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
1659 * libspi/accessible.c (spi_accessible_new_return): impl.
1660 helper to calm the cut and paste, to cope with
1661 NULL AtkObjects effectively and efficiently, and to kill
1662 the referencing bugs.
1664 * libspi/table.c (impl_getAccessibleAt),
1665 (impl_getRowHeader, impl_getColumnHeader): upd.
1667 * libspi/hyperlink.c (impl_getObject): upd.
1669 * libspi/accessible.c
1670 (impl_accessibility_accessible_get_child_at_index): upd.
1672 * libspi/component.c
1673 (impl_accessibility_component_get_accessible_at_point): upd.
1675 * test/test-simple.c (test_editable_text, test_text): impl.
1678 * cspi/spi_editabletext.c
1679 (AccessibleEditableText_insertText): constify.
1681 * test/test-simple.c (focus_me): make more robust.
1683 * libspi/accessible.c: remove some printfs in methods that
1684 we test and work fine, so we can get a clean tree dump.
1686 * test/test-simple.c (validate_accessible),
1687 (validate_tree): make tree dumping pretty too.
1689 * at-bridge/bridge.c (bridge_signal_listener): upd. so
1690 it builds without debug on.
1692 * test/test-simple.c (validate_accessible): fix the most
1695 * cspi/spi_main.c (spi_object_release): leave the nicely
1696 blanked memory around if in debug mode.
1698 * cspi/spi-listener-impl.c (cspi_event): use add_check.
1700 [committed to fixups2]
1701 2001-12-05 Michael Meeks <michael@ximian.com>
1703 * libspi/editabletext.c
1704 (spi_editable_text_class_init): g_type_class_peek_parent,
1705 not interface peek - so we finalize cleanly.
1707 * libspi/accessible.c (spi_accessible_new): kill debug.
1709 * test/test-simple.c (validate_accessible): fix ref.
1710 leak, print strings before freeing them; sigh, comment a
1711 chunk out due to strangeness.
1712 (validate_tree): unref the child after use.
1714 * cspi/spi_component.c (AccessibleComponent_getLayer):
1715 add missing break statement, switch on zlayer not the
1716 uninitialized retval.
1718 * cspi/spi_main.c (cspi_object_add): add assert, local ref
1719 before (possibly re-entering) remote unref.
1721 * test/simple-at.c (main): unref the desktop.
1723 * cspi/spi_accessible.c (cspi_accessible_is_a): move
1726 * cspi/spi_main.c (cspi_accessible_is_a): here to
1727 isolate bonobo API usage more.
1729 * libspi/registry.c (impl_accessibility_registry_register_application):
1730 prune bogus comment.
1732 2001-12-04 Michael Meeks <michael@ximian.com>
1734 * test/test-simple.c (validate_tree): upd.
1735 IndexInParent check to make it more lucid.
1736 (validate_accessible): dump the tree.
1738 * libspi/accessible.c (de_register_public_ref),
1739 (get_public_refs): impl.
1740 (spi_accessible_new): make more efficient & intuitive.
1741 Now IndexInParent check works.
1743 2001-12-04 Michael Meeks <michael@ximian.com>
1745 * cspi/spi-util.h: remove.
1747 * cspi/spi.h: move SPI_freeString here
1749 * libspi/component.c (impl_accessibility_component_get_layer):
1751 (impl_accessibility_component_get_mdi_z_order): ditto,
1752 return -1 on error - is this ok ?
1754 * test/test-simple.c (test_application): impl.
1756 * cspi/spi_accessible.c (Accessible_getApplication),
1757 (Accessible_isApplication): impl.
1759 * libspi/registry.c (spi_listener_struct_free): release
1760 the CORBA reference too.
1762 * libspi/accessible.c
1763 (impl_accessibility_accessible_get_parent): fix ref leak.
1765 * libspi/registry.c (spi_registry_new): make the registry
1766 immortal - we don't want it to go away ever.
1768 * libspi/application.c
1769 (spi_accessible_application_finalize): impl. cleanup.
1771 * cspi/spi_registry.c
1772 (deregisterGlobalEventListenerAll),
1773 (deregisterGlobalEventListener),
1774 (deregisterAccessibleKeystrokeListener): fix ref leak.
1776 * cspi/spi_main.c (SPI_init): remove redundant ref.
1778 * test/test-simple.c (unutterable_horror): impl. to force a
1783 (impl_accessibility_registry_deregister_application): release
1784 the application when we de-register it.
1786 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1787 until we have the infastructure to get it right.
1789 2001-12-03 Michael Meeks <michael@ximian.com>
1791 * libspi/Makefile.am: only build eventlistener.[ch]
1793 * libspi/accessible.c
1794 (impl_accessibility_accessible_get_child_at_index): don't leak.
1796 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1797 before we hit the idle handler.
1799 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1800 debugging than exit.
1802 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1804 * libspi/listener.c (impl_notify_event): check source
1805 not NIL before unref.
1807 * libspi/registry.c (impl_registry_notify_event): ditto.
1809 * libspi/eventlistener.c
1810 (impl_accessible_event_notify_event): unref the source.
1812 * libspi/accessibleeventlistener.c
1813 (impl_accessible_event_notify_event): unref the source.
1815 * idl/Event.idl: remove 'hash_id' attribute - of no
1818 * libspi/application.c (notify_listeners): upd list
1820 (spi_application_object_event_listener),
1821 (spi_application_toolkit_event_listener): upd to do correct
1825 (_registry_notify_listeners): update.
1826 (parse_event_type): this method also leaks like a sieve.
1827 (impl_accessibility_registry_deregister_global_event_listener):
1828 fix ETYPE_WINDOW case.
1830 * libspi/application.c
1831 (impl_accessibility_application_register_object_event_listener):
1834 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1836 * libspi/hypertext.c (impl_getLink): ditto.
1838 * cspi/spi_main.c (cspi_object_add): remove
1839 bogus CORBA_Object_duplicate.
1841 * cspi/spi-listener-impl.c (cspi_event): dup/ref
1844 * cspi/spi_accessible.c
1845 (Accessible_getRelationSet): fix leak / referencing issue.
1847 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1848 (cspi_object_add, cspi_object_unref): upd.
1849 (spi_object_release, get_live_refs): impl.
1850 (cspi_cleanup): simplify.
1852 * *.[ch]: s/boolean/SpiBoolean/
1854 * cspi/spi_accessible.c (role_names): actualy order so it
1855 corresponds with the enum !
1857 * test/test-simple.c (test_roles): check some role strings
1858 vs. enums to detect offset errors.
1860 2001-12-01 Michael Meeks <michael@ximian.com>
1862 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1864 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1866 (Accessible_getChildAtIndex): use cspi_add_check so we
1867 check the ev before using a (possibly) invalid value.
1869 * libspi/accessible.c
1870 (impl_accessibility_accessible_get_parent): don't segv
1873 * at-bridge/bridge.c (gtk_module_init): upd.
1874 (bridge_property_event_listener): don't leak strings
1876 (bridge_state_event_listener),
1877 (bridge_property_event_listener): don't use a static
1878 buffer in case of recursive event emission &
1879 re-enterancy - split out the swathe of cut and paste
1881 (emit_eventv): and fix 2 ref leaks here & comply to the
1883 (bridge_register_app): rename to
1884 (bridge_idle_init): this and kill arg parsing, split
1885 various inits & bonobo-activation registration to module
1886 init time, kill referencing error.
1887 (bridge_exit_func): fix the same leak.
1888 (bridge_focus_tracker): don't leak event structures
1890 (bridge_signal_listener): more leakage and cut & paste
1892 (bridge_key_listener): return the result - FIXME is
1893 this polarity correct ?
1894 (accessibility_keystroke_from_atk_key_event): rename
1895 (accessibility_init_keystroke_from_atk_key_event): and stop
1897 (gtk_module_init): return a value - not that it is checked by
1899 (bridge_key_listener): register my horror at casting between
1900 IDL defined structs.
1901 (bridge_get_registry): kill - not used.
1903 * cspi/spi_accessible.c (Accessible_getRole): make return const.
1905 * test/test-simple.c (test_roles): impl.
1906 (test_desktop, validate_accessible, validate_tree): impl.
1908 * cspi/spi_accessible.c (role_names): fixup bogus
1909 MAX_ROLES setup, make constants const for efficient linkage
1910 (AccessibleRole_getName): conform to coding style, make
1913 2001-11-30 Michael Meeks <michael@ximian.com>
1915 * cspi/spi.h: add missing prototype.
1917 * libspi/registry.c (spi_listener_struct_new): fix sig.
1919 * test/Makefile.am: add test-simple
1921 * test/test-simple.c: add
1923 * test/test.sh: add.
1925 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1927 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1928 do it straight - since otherwise we often get an activation race.
1930 [ work before Bill duplicated a chunk of it ... ]
1931 2001-11-30 Michael Meeks <michael@ximian.com>
1933 * libspi/keystrokelistener.c
1934 (spi_keystroke_listener_class_init): fixup arg
1937 * libspi/eventlistener.c
1938 (spi_event_listener_class_init): ditto.
1940 * tests/test.sh: add.
1942 * cspi/spi-listener-impl.h: update macros.
1944 * cspi/spi-listener-impl.c
1945 (cspi_event_listener_remove_callback): add
1946 correct pre-conditions.
1948 * cspi/spi_main.c (SPI_exit): guard vs. double
1949 exits, exit the mainloop nicely.
1950 (SPI_event_main): make more sense.
1951 (SPI_init): move the atexit evilness here so we
1952 always do it (yuck).
1953 (SPI_event_main): upd.
1955 * test/simple-at.c: update for listener changes.
1957 * registryd/registryd.c (main): prune kruft.
1959 * libspi/libspi.h: upd.
1961 * libspi/eventlistener.[ch]: rename broken macros.
1963 * libspi/accessibleeventlistener.[ch]: remove.
1965 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
1967 * test/test-simple.c: Add - automated tests.
1969 * cspi/spi-listener-impl.c (cspi_event),
1970 (cspi_key_event): add user_data to invoke.
1971 (cspi_keystroke_listener_finalize): impl.
1972 (cspi_keystroke_listener_class_init): upd.
1975 (createAccessibleEventListener),
1976 (AccessibleEventListener_addCallback),
1977 (createAccessibleKeystrokeListener),
1978 (AccessibleKeystrokeListener_addCallback): upd.
1980 * libspi/deviceeventcontroller.c
1981 (spi_device_event_controller_check_key_event): add public proto.
1984 (impl_accessibility_registry_deregister_global_event_listener):
1985 always init listeners.
1986 (_registry_notify_listeners): yes it is.
1988 * cspi/spi-listener-impl.c (cspi_key_event):
1990 (cspi_event_listener_finalize): impl.
1991 (cspi_event_listener_class_init): hook up.
1992 (event_handler_new, event_handler_free),
1993 (event_list_remove_by_callback): impl.
1994 (cspi_event_listener_remove_callback),
1995 (cspi_keystroke_listener_remove_callback),
1996 (cspi_keystroke_listener_add_callback),
1997 (cspi_event_listener_add_callback): upd.
1999 * libspi/keystrokelistener.c
2000 (keystroke_listener_object_finalize): kill
2001 (spi_keystroke_listener_class_init): upd.
2002 (spi_keystroke_listener_add_callback),
2003 (spi_keystroke_listener_remove_callback): kill,
2005 (impl_key_event): prune drasticaly.
2007 * libspi/eventlistener.c
2008 (spi_event_listener_add_callback),
2009 (spi_event_listener_remove_callback): kill, use
2011 (impl_accessible_event_notify_event): upd.
2012 (spi_event_listener_object_finalize): remove.
2014 * libspi/Makefile.am: use eventlistener.[ch]
2016 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2018 * libspi/registry.c (_registry_notify_listeners):
2019 Changed listener loop iteration to use preferred convention.
2020 Got rid of string memory leaks caused be calling g_strconcat
2021 inside function calls.
2023 * libspi/registry.c (parse_event_type):
2024 Stopped g_strconcat memory leaks, free the g_strsplit return,
2025 g_strdup the split pieces when used, etc.
2027 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2030 Change method 'compare' to return a 'difference set' rather than
2031 taking a StateSet as an out parameter (more Java-friendly).
2033 * idl/Accessible.idl:
2034 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2036 * idl/Component.idl:
2038 Changed methods 'getExtents' and 'getImageExtents' in these
2039 interfaces to return a BoundingBox structure.
2040 (getPosition and getSize are redundant and possibly should be
2041 removed, rather than creating a corresponding Point struct.)
2043 * cspi/spi_component.c:
2044 Modify implementation of getExtents to reflect the above IDL
2049 Add (missing) AccessibleImage_getExtents () API.
2051 * docs/reference/cspi/at-spi-cspi-sections.txt:
2052 Added AccessibleImage_getImageExtents () to docs.
2054 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2056 * idl/Component.idl:
2057 Added two methods, getLayer () and getMDIZOrder (), to reflect
2058 the new ATK methods atk_object_get_layer and
2059 atk_object_get_mdi_z_order. (Which arguably should be part of the
2060 AtkComponent API and AtkObject). Also added an enum,
2061 ComponentLayer, for the first method's return value.
2063 * libspi/component.c:
2064 Added implementations for these methods.
2066 * cspi/spi_component.c:
2068 Added cspi binding methods for above,
2069 AccessibleComponent_getLayer() and
2070 AccessibleComponent_getMDIZOrder().
2071 Added cspi enum 'AccessibleComponentLayer'.
2073 * docs/reference/cspi/at-spi-cspi-sections.txt:
2074 Added above methods to docs.
2078 Changed typedef for 'boolean' type (and all references to it) to
2079 SPIBoolean, to avoid keyword clashes with C++.
2082 Changed usages of 'boolean' to SPIBoolean.
2084 * test/keysynth-demo.c:
2085 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2086 app), except where SPIBoolean is required by the callbacks API.
2088 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2090 * cspi/spi_registry.c:
2091 Removed obsolete X event loop for passive keygrabs (which now
2094 * registryd/registryd.c:
2095 Removed unnecessary call to gdk_init() [cruft]. This also allows
2096 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2099 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2101 * docs/reference/cspi:
2102 Included docs for SPI_freeString in generated documentation.
2105 Renamed spi_freeString to SPI_freeString, for consistency. Added
2106 documentation for this function.
2109 Renamed spi_freeString to SPI_freeString, for consistency.
2110 Removed obsolete method declaration string_from_corba_string.
2112 * test/keysynth-demo.c:
2113 Small tweak to comments.
2116 Stopped leaking the strings returned from CSPI.
2118 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2120 Merged Michael's branch (see his ChangeLog entries below).
2122 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2123 bridge is alive, release on exit.
2125 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2126 Fix type check macro.
2129 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2132 Added is_gnome_app static, and method cspi_is_gnome_app(),
2133 so we can call the appropriate shutdown routine at exit in SPI_exit.
2135 * cspi/spi_main.c (cspi_object_ref):
2136 Duplicate the corba object passed in, since we're keeping it around.
2138 * cspi/SPI_exit.c, cspi_cleanup:
2139 Moved the releasing of the live refs to its own function, so we
2140 can put it in g_atexit (). Call the appropriate shutdown API
2141 depending on whethe calling client is a gnome app or not
2142 (bonobo_main_quit or CORBA_ORB_shutdown).
2144 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2145 Unref the listener when this method is called, after
2146 deregistration. Updated the API docs to note this behavior.
2148 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2149 Bugfixes: Ref the bonobo object when returning a parent or child
2150 reference, or an AccessibleRelation. Generally made sure
2151 BonoboObject refcount is incremented whenever we return an
2154 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2155 Fixed typo/bug in signal declaration.
2157 * libspi/accessibleeventlistener.h:
2160 * libspi/application.c (spi_application_new):
2161 Fixed leak in initialization.
2164 Remembered to increment bonobo-object refcount when returning
2165 children (applications) from desktop object.
2166 Added (empty) finalize method.
2168 * libspi/deviceeventcontroller.c:
2169 Hold a ref to listeners inside DEControllerKeyListeners.
2170 Added dec_key_listener_free() method. Use prepend instead of
2171 append in key_listener list. Fixed some refcount madness and
2172 leaks in the listener registration/deregistration - deregistration
2173 now calls dec_key_listener_free() on listeners, and on the
2174 temporarily constructed dec_key_listener() used to perform the search/match.
2176 * libspi/hypertext.c (spi_hypertest_finalize):
2177 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2178 class. Also fixed spi_hypertext_interface_new() and
2179 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2181 * libspi/hypertext.h:
2182 Removed pointless and duplicate AtkObject pointer from
2185 * libspi/keystrokelistener.c:
2186 Fixed incorrect type of keystroke_listener_parent_class,
2187 renamed keystroke_listener_object_finalize to
2188 spi_keystroke_listener_object_finalize.
2189 Fixed typo in signal declaration
2190 (spi_keystroke_listener_class_init).
2192 * libspi/registry.c:
2193 Added funcsions spi_listener_struct_new() and
2194 spi_listener_struct_free() to help with memory management issues.
2195 We also now use these methods instead of gnew + poking stuff into
2196 the struct, and to decrement listener counts/free the listeners
2197 when deregistering them.
2198 Fix more refcount bugs in getDesktop() and
2199 getDeviceEventController().
2202 De-ref the desktop after enumerating the applications. Explicitly
2203 decrement the refcounts on the created listeners on exit (using
2204 _unref for keystroke listeners, and via the
2205 deregisterGlobalEventListenerAll command for other event
2208 2001-11-27 Michael Meeks <michael@ximian.com>
2210 * cspi/spi-listener.h: fixup enum.
2212 2001-11-27 Michael Meeks <michael@ximian.com>
2214 * cspi/spi-listener-impl.c (cspi_event_listener_new),
2215 (cspi_keystroke_listener_new): Use the cspi variants.
2217 2001-11-26 Michael Meeks <michael@ximian.com>
2219 * test/keysynth-demo.c: fix 2 compile warnings, missing
2222 * test/simple-at.c (report_focussed_accessible),
2223 (report_focus_event, report_button_press),
2224 (check_property_change, is_command_key),
2225 (report_ordinary_key_event, report_command_key_event): upd.
2227 * util/mag_client.h: include pre-requisites.
2229 * libspi/accessibleeventlistener.c
2230 (spi_event_listener_object_finalize): free any lingering
2233 * libspi/keystrokelistener.c
2234 (keystroke_listener_object_finalize): ditto.
2236 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
2237 callbacks, with cspi types.
2239 * cspi/spi_event.c (createAccessibleEventListener): chain to
2240 (AccessibleEventListener_addCallback): here.
2241 (createAccessibleKeystrokeListener): chain to
2242 (AccessibleKeystrokeListener_addCallback): here.
2244 * libspi/keystrokelistener.c
2245 (spi_keystroke_listener_class_init): add signal.
2246 (impl_key_event): emit the event.
2247 (boolean_handled_accumulator): impl.
2248 (marshal_BOOLEAN__POINTER): add, gack.
2250 * libspi/accessibleeventlistener.c
2251 (spi_event_listener_class_init): add signal.
2252 (impl_accessible_event_notify_event): emit the signal &
2253 make the loop efficient.
2254 (spi_event_listener_add_callback): prepend the callback.
2256 * libspi/accessibleeventlistener.h: add an 'event' signal,
2257 decl type on callback.
2259 * libspi/keystrokelistener.h: ditto.
2261 * cspi/spi-listener.h: make methods typesafe and
2262 make them use the new event typedefs.
2264 * test/simple-at.c (report_focussed_accessible):
2265 include mag_client.h
2266 Use *(void *)text_interface not the other thing.
2268 * configure.in: add gtk to registryd bits - since we use
2271 * util/magnifier.c: include libbonobo.h
2273 2001-11-25 Bill Haneman <bill.haneman@sun.com>
2275 * test/keysynth-demo.c:
2276 Turned this into a simple scanning keyboard, to demonstrate the
2277 use of g_timeout_add () as a means of creating timers for
2278 scanning, and the use of GtkStyle for visually indicating when
2279 virtual keyboard elements are selected.
2281 keysynth-demo now listens to any keyboard keys with zero-valued
2282 keycodes (i.e. 'unused' keys) and interprets them as
2285 Reworked the shiftlatch code so that shift-down state isn't held
2286 for long periods (it's only synthesized immediately prior to
2287 the keysynth event it's modifying). Note that shiftlatch in this
2288 demo is a convenience, not intended to take the place of AccessX
2289 which is the better choice for getting 'sticky' modifier keys.
2291 * libspi/deviceeventcontroller.c:
2292 * at-bridge/bridge.c:
2293 * cspi/spi_registry.c:
2294 Removed some debug print stuff, and put other verbosity in #ifdef
2299 Implemented some more of the magnifier IDL for the simple
2300 magnifier: namely, getZoomRegionParams.
2301 Added mag_x and mag_y members to MagnifierData struct, aid of this
2303 Added GtkWindow::realize signal handler to magnifier, to keep it
2304 from receiving keyboard focus from the WM.
2306 2001-11-23 Mark McLoughlin <mark@skynet.ie>
2308 * cspi/spi-private.h: my guess at what michael forgot
2309 before he ran off to NZ :-)
2311 2001-11-23 Michael Meeks <michael@ximian.com>
2313 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
2314 comment out non existant method invoke so we link.
2316 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
2317 use bonobo_exception_get_text for more friendly warnings.
2319 * cspi/spi.c (Obj_Add): move into spi_main & rename
2320 spi_object_add; kill spi.c
2322 * cspi/spi_registry.c
2323 (deregisterGlobalEventListener),
2324 (deregisterGlobalEventListenerAll),
2325 (registerGlobalEventListener): fix exception leaks.
2327 * cspi/spi_main.c (spi_exception): impl. helper, so we
2328 don't leak exceptions.
2330 * cspi/spi_selection.c
2331 (AccessibleSelection_deselectSelectedChild): return the
2334 * cspi/spi_main.c (spi_ev): impl; hack - gack.
2335 (spi_registry): ditto.
2336 (SPI_init): guard against double inits.
2338 * cspi/*.c: use spi_ev (), and spi_registry () where
2339 appropriate - a temporary hack until we have something
2340 better. Use spi_object_add
2342 2001-11-22 Michael Meeks <michael@ximian.com>
2344 * cspi/Makefile.am: re organise, install the headers.
2346 * cspi/*.h: add G_BEGIN/END_DECLS
2348 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2351 Added non-preemptive keylistener for key events with no modifiers
2352 and shift-only modifier.
2354 * libspi/keystrokelistener.c:
2355 Removed some verbose diagnostics printout.
2357 * cspi/spi_registry.c:
2358 Fixed a bug that caused all key listeners to be registered as
2361 * libspi/deviceeventcontroller.c:
2362 Fixed bug that caused XGrabKey (preemptive key grab) to be called
2363 for non-preemptive key masks.
2366 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2368 * docs/reference/idl/at-spi-idl-docs.sgml:
2369 * docs/reference/idl/at-spi-idl-sections.txt:
2370 * docs/reference/idl/at-spi-idl-overrides.txt:
2371 Added missing files.
2373 * docs/reference/Makefile.am:
2374 removed idl from SUBDIRS until we can figure a way to get gtk-doc
2375 to scan the IDL files :-(
2380 Added .cvsignore files.
2382 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2384 * libspi/deviceeventcontroller.c:
2385 * libspi/keystrokelistener.c:
2387 * cspi/spi_registry.c:
2388 Added filters for KeySets, KeyEventSeq, and event types to key
2389 event dispatching, so listeners should only receive those events
2390 that they requested :-)
2392 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2397 * docs/reference:Makefile.am:
2398 * docs/reference/cspi:
2399 * docs/reference/cspi:Makefile.am:
2400 * docs/reference/cspi:tmpl:
2401 * docs/reference/cspi:tmpl:*.sgml:
2402 * docs/reference/idl:
2403 * docs/reference/idl:Makefile.am:
2404 * docs/reference/idl:at-spi-idl-sections.txt:
2405 * docs/reference/idl:at-spi-idl-docs.sgml:
2406 * docs/reference/idl:tmpl:
2407 * docs/reference/idl:tmpl:*.sgml:
2409 Restructured docs directory to allow separate 'reference' docs
2410 section, and forked idl and cspi docs. Added the sgml template
2411 files to CVS. Added the first sections/structural sgml for the
2414 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
2416 * configure.in, libspi/Makefile.am: find libXtst.
2418 2001-11-21 Michael Meeks <michael@ximian.com>
2420 * test/accessx-gui.c: s/spi_value/value/ - doh.
2422 * libspi/base.[ch]: add.
2424 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2426 * idl/Accessible.idl:
2427 * idl/Application.idl:
2430 Started gtk-doc cleanup on IDL.
2432 * libspi/deviceeventcontroller.c:
2433 Added and connected non-preemptive key notification from the
2434 toolkits (in addition to the pre-emptive support from XServer
2435 which we had before, but which causes 'focus flashing'). Filters
2436 are presently limited to key modifiers and global/non-global,
2437 KeySets are presently ignored, as are KeyEvent masks.
2439 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
2440 structs into the persistant structure rather than just storing
2441 pointers to things that might not persist across servant
2444 The XGrabKey call now does async keygrabs, because synchronous
2445 ones were deadlocking with GDK_event code in a very nasty way.
2447 Added boolean to internal method notify_keylisteners, to indicate
2448 whether the event came from the 'toolkit source' or the 'global
2449 (XServer) source' - this is used in the notification process to
2450 determine which listeners to send the event to.
2452 deviceeventcontroller.c is now warning-free.
2454 * libspi/registry.c:
2455 Fixed regression in application de-registration.
2456 Also fixed some really brain-dead weirdness having to do with
2457 event dispatching - event structs are now duplicated before being
2458 re-marshalled in the dispatch to listeners. This also fixes a
2459 Solaris build problem.
2462 2001-20-11 Michael Meeks <michael@ximian.com>
2465 (impl_accessibility_registry_deregister_global_event_listener):
2468 * libspi/deviceeventcontroller.c
2469 (spi_device_event_controller_check_key_event): return
2470 FALSE on no virtual method.
2472 * libspi/*..h: make includes work on a correctly pathed install.
2474 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
2476 * libspi/application.h: kill unused ( and whacked out )
2477 gboolean *spi_application_set_id (AtkObject *app, long id);
2479 2001-20-11 Michael Meeks <michael@ximian.com>
2481 * libspi/*.[ch]: further convert to bonobo's type func
2482 macros, remove redundnant casts etc.
2484 * libspi/text.c s/accessibility_text/spi_text/g,
2485 re-order to de-cruft.
2487 * libspi/hypertext.c: re-order to kill a huge slew
2488 of redundant forward decls.
2490 * libspi/relation.c: ditto.
2492 * libspi/image.c: ditto.
2494 * */.cvsignore: update
2496 2001-20-11 Michael Meeks <michael@ximian.com>
2498 * libspi/deviceeventcontroller.c
2499 (_controller_register_with_devices): use g_getenv,
2500 kill stdlib.h include.
2502 * libspi/keystrokelistener.c
2503 (spi_keystroke_listener_get_type): kill
2504 (spi_keystroke_listener_class_init),
2505 (spi_keystroke_listener_init): rename to this.
2507 * libspi/text.c (impl_getAttributes): fix warning / bug.
2509 * libspi/*.[ch]: more headers, includes and over commenting.
2511 2001-20-11 Michael Meeks <michael@ximian.com>
2513 * libspi/*.[ch]: fixup headers, includes and over commenting.
2515 * libspi/image.c (impl__get_imageDescription): const
2516 correctness warning fix. remove redundant casting.
2518 * libspi/table.c (impl_getRowDescription): ditto.
2519 (impl_getColumnDescription): ditto.
2521 * libspi/libspi.h: add.
2523 2001-19-11 Michael Meeks <michael@ximian.com>
2525 * libspi/editabletext.c (impl_setAttributes): fix warnings.
2527 * libspi/component.c (accessibility_component_get_type):
2528 rename to (spi_component_get_type): and macroify.
2529 (accessibility_component_init): rename to
2530 (spi_component_init): this
2531 (accessibility_component_class_init): rename to
2532 (spi_component_class_init): this
2534 * libspi/action.c (spi_action_get_type): kill, use the macro.
2536 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
2539 * libspi/application.c (spi_application_object_event_listener),
2540 (impl_accessibility_application_register_object_event_listener):
2541 warning fixes / const understanding updates.
2543 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
2546 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2548 * libspi/spi_accessible.c: Added docs and C bindings for
2549 AccessibleStateSet. (No implementations yet). Documentation
2550 coverage for C bindings now 100%. Made docs for event listeners
2555 boolean notifyListenersSync (in DeviceEventListener listener,
2556 in DeviceEvent event);
2558 oneway void notifyListenersAsync (in DeviceEventListener listener,
2559 in DeviceEvent event);
2561 Added DeviceEventListener and DeviceEvent structs (may deprecate
2562 KeyStroke and KeystrokeListener in favor of this generic
2563 event/listener framework for devices).
2565 * libspi/deviceeventcontroller.c:
2567 Changed some key listener code to take masks, etc., and paved the
2568 way for integration of toolkit/non-preemptive key events. Changed
2569 signatures of some internal methods.
2571 * at-bridge/bridge.c:
2572 Fixed regression connecting to interface signals, apparently
2573 caused by GTK+ changes.
2575 Added an internal bridge_state_listener to deal with
2576 property-change:accessible-state signals.
2578 Changed the key_listeners GList to store structs (including masks,
2579 etc.) instead of just CORBA_Objects (required for full
2580 implementation of key listener API).
2582 Connected the bridge to all currently supported Atk signals.
2583 Events now supported:
2584 object:property-change
2585 object:property-change:accessible-name
2586 object:property-change:accessible-state
2587 object:property-change:accessible-description
2588 object:property-change:accessible-parent
2589 object:property-change:accessible-value
2590 object:property-change:accessible-role
2591 object:property-change:accessible-table-caption
2592 object:property-change:accessible-table-column-description
2593 object:property-change:accessible-table-column-header
2594 object:property-change:accessible-table-row-description
2595 object:property-change:accessible-table-row-header
2596 object:property-change:accessible-table-summary
2597 object:children-changed
2598 object:visible-data-changed
2599 object:selection-changed
2600 object:text-selection-changed
2602 object:text-caret-moved
2604 object:row-reordered
2606 object:column-inserted
2607 object:column-reordered
2608 object:column-deleted
2609 object:model-changed
2611 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2613 * libspi/hyperlink.c,h:
2614 Fixed some broken stuff in hyperlink.
2616 * libspi/relation.h:
2617 * libspi/relation.c:
2618 * cspi/spi_accessible.c:
2619 Initial implementations of AccessibleRelation methods, and docs.
2621 * libspi/accessible.c:
2622 Fixed a bug that caused SEGV if an accessible
2623 object's description is NULL, and a client
2624 requests it. An empty string is now returned.
2626 * cspi/spi_editabletext.c:
2627 * cspi/spi_hypertext.c:
2629 * cspi/spi_hyperlink.c:
2633 Doc coverage now 95%.
2635 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2637 One last namespacing revision:
2638 * libspi/accessibleeventlistener.[ch]:
2639 Renamed SpiAccessibleEventListener to SpiEventListener,
2640 (no need for two namespaces ;-)
2642 And lots of documentation fixes:
2644 * docs/at-spi-docs.sgml:
2645 Fixed 'underscore vs. hyphen' bug that was preventing
2646 the gtk-doc API docs from being automatically generated.
2649 * cspi/spi-listener.h
2651 * cspi/spi_accessible.c
2653 * cspi/spi_application.c
2654 * cspi/spi_component.c
2655 * cspi/spi_editabletext.c
2657 * cspi/spi_hypertext.c
2659 * cspi/spi_registry.c
2660 * cspi/spi_selection.c
2664 * docs/at-spi-docs.sgml
2665 * docs/at-spi-sections.txt
2667 Added and fixed up gtk-doc documentation in cspi.
2669 Interfaces now (fully) documented (subject to revision and enhancement):
2671 Event Listener Support
2673 AccessibleApplication
2677 AccessibleEditableText
2684 AccessibleRelationSet
2689 2001-14-11 Bill Haneman <bill.haneman@sun.com>
2691 * at-bridge/bridge.c:
2692 Initial work for toolkit-level key snooper connection by bridge.
2697 New typedefs and fixes to support new namespacing, and cleaner
2698 separation of cspi bindings from libspi bonobo implementation.
2699 Removed inconsistent and extraneous Spi* namespace prefix that
2700 had crept into cspi headers.
2701 Lots of comment fixes that sed had missed.
2703 * cspi/spi-roletypes.h:
2704 * cspi/spi-statetypes.h:
2705 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
2706 to AccessibleRoleType.
2708 * libspi/accessibleeventlistener.h:
2709 Fixed minor namespacing weirdness.
2711 * libspi/deviceeventcontroller.c:
2712 Reordered some internal API for device listeners.
2713 Changed the key registry final boolean to 'is_system_global'
2714 rather than 'is_synchronous', which is more descriptive of its
2716 Added spi_device_event_controller_new().
2717 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
2719 * libspi/keystrokelistener.[ch]:
2720 Namespaced KeystrokeListener to SpiKeystrokeListener.
2721 Changed uses of keymasks to use SPI_ prefix, and did other
2724 * libspi/keymasks.h:
2725 Namespaced keymask constants with SPI_ prefix.
2727 * libspi/registry.c:
2728 Some warning fixes, and knock-on fixes from namespace changes.
2731 Added rules for accessx-gui test program.
2733 * test/accessx-gui.c:
2734 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2735 utility. It doesn't actually use at-spi, but it's still cool and
2738 * test/keysynth-demo.c:
2742 Fixes so that these test clients work properly with the namespaced
2743 libraries. (Incompletely tested for technical reasons, fixes may follow)
2746 2001-13-11 Michael Meeks <michael@ximian.com>
2748 * libspi/application.c
2749 (impl_accessibility_application_get_version),
2750 (impl_accessibility_application_get_toolkit_name):
2752 (impl_accessibility_application_set_id),
2753 (impl_accessibility_application_get_id): remove
2754 redundant casting code.
2756 * libspi/action.c (impl_getDescription): fix warnings.
2758 * libspi/accessible.c
2759 (impl_accessibility_accessible_get_parent),
2760 (impl_accessibility_accessible_get_child_at_index),
2761 (impl_accessibility_accessible_get_state),
2762 (impl_accessibility_accessible_get_relation_set):
2763 warning fixes & include action.h
2765 2001-13-11 Michael Meeks <michael@ximian.com>
2767 * *.[ch] fix bits I screwed up:
2769 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2770 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2772 2001-13-11 Michael Meeks <michael@ximian.com>
2774 * *.[ch] Namespace libspi into spi_ and Spi.
2776 2001-13-11 Michael Meeks <michael@ximian.com>
2778 * Makefile.am: dist & install at-spi-1.0.pc
2780 * libspi/Makefile.am: install into at-spi-1.0
2782 * idl/Makefile.am (idldir): install into at-spi-1.0
2784 * at-spi-1.0.pc.in: add.
2786 * configure.in: build it.
2788 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2790 * test/keysynth-demo.c:
2791 Use a 'realize' signal-handler to set the WM properties for
2792 the virtual keyboard, rather than making it a "POPUP" type
2793 override-redirect window (thanks to anders carlsson for that
2796 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2799 * test/keysynth-demo.c:
2800 Added new test of key synthesis, which creates a simple
2801 (mouse-operated) onscreen keyboard. It inserts key events into
2802 the currently-focused window, thus it does not grab keyboard focus
2805 * cspi/spi_registry.c:
2806 Added C binding for AT-SPI generateKeyEvent.
2808 * libspi/deviceeventcontroller.c:
2809 Added call to XFilterEvent so that key listener works with XIM (we
2810 hope). Added event_synth_type to generateKeyEvent, so that we can
2811 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2812 synthesize a press/release pair for KeySyms.
2814 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2816 * libspi/Makefile.am:
2817 * registryd/Makefile.am:
2818 (temporary) hack to include libXtst in libspi and registryd.
2819 (Needed for keystroke synthesis, see below).
2822 Improved API for registerKeystrokeListener, in accordance with
2823 discussions with Gnopernicus team and X server research.
2825 * libspi/registry.c:
2826 * libspi/deviceeventcontroller.c:
2827 * libspi/accessible.c:
2828 * libspi/keystrokelistener.c:
2829 Changes and fixes to support keylisteners for potentially
2830 consumed key events (that is, 'passive grabs').
2831 Added implementation for generateKeyEvent() [untested].
2834 Changes to registerKeystrokeListener() API, as above.
2835 Added deregisterGlobalEventListenerAll(), and
2836 deregisterKeystrokeListener(), which are needed for clean exit of
2838 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2839 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2841 * cspi/spi_registry.c:
2842 Added implementations of function prototypes mentioned above.
2844 * registryd/registryd.c:
2845 Added the key listener event source as a g_timeout(), to allow
2846 receipt of key events that are not caught by GDK (since GDK
2847 doesn't support passive keygrabs, this was necessary).
2850 Changed to attach a keylistener to 'Alt' keys, and
2851 respond to the following keycommands: Alt-M (toggle magnifier);
2852 Alt-F (toggle speech); Alt-Q (quit).
2853 Added an exit routine to deregister the listeners, and a key
2854 listener that prints some key info to the console when a key
2855 matches the listener mask (and is thus received by the listener).
2857 * util/idl/Magnifier.idl:
2858 Changes to magnifier API to support multiple zoom regions,
2859 non-uniform scaling in x and y, markDirty, and a host of other
2860 features that would be useful to magnification.
2863 * util/mag_client.c:
2864 * util/mag_client.h:
2865 * util/mag_control.c:
2867 Source code changes to support the above IDL changes.
2870 As above, and also changes to use a (slower) generic conversion
2871 path for colormap conversions, since the fast RGB conversions have been
2872 reported to fail for 16-bit displays.
2874 2001-10-26 Michael Meeks <michael@ximian.com>
2876 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2878 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
2880 * at-bridge/Makefile.am: fix LDFLAGS.
2882 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2884 * at-bridge/bridge.c:
2885 Re-worked listeners for toolkit events, now we have signal
2886 and property listeners. Added a private method
2887 register_atk_event_listeners(), which registers with the
2888 various atk and gtk signals we need to monitor in order to emit
2890 Added emission hook for AtkObject:property-change events, to
2891 support the 'property listeners'.
2892 Fixed some alloc()s of Accessibility_Event structs to use CORBA
2895 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2896 which emit warnings and exit, respectively, if CORBA errors occur
2897 during remote calls, and we now use these methods to check most of
2898 our CORBA calls in the C bindings.
2900 * cspi/spi_accessible.c:
2901 Changed AccessibleSelection_refSelectedChild() to
2902 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2903 now increment refcounts.
2905 * cspi/spi_component.c:
2906 Fixed some long pointer casts (dangerous!) to pass pointers to
2907 CORBA_longs of the proper type to the CORBA stubs, and copy the
2908 data into the longs that were passed into the C bindings code.
2910 * at-bridge/bridge.c:
2912 * libspi/accessible.c:
2913 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2914 hyperlinks, AtkHyperlink is an object type.
2916 * libspi/application.c:
2917 Added various conversions to and from "generic" event types and
2918 atk-specific types; this is really part of the 'bridge'
2919 implementation but is valid for all AtkObject-based accessibility
2922 * libspi/editabletext.c:
2923 Fixed nasty bug wherein editable text's finalize method was
2924 unref'ing tha AtkObject reference that the text parent class was
2925 about to unref _again_. There was also a nasty inheritance bug
2926 that meant that the AccessibleEditableText class was corrupt.
2928 * libspi/selection.c:
2929 Provided implementations for some selection API that was broken.
2931 * idl/Application.idl:
2932 Added registerObjectEventListener () method.
2935 Fixed a number of return values that were Bonobo_Unknowns from
2936 bonobo_object_corba_objref(), which I
2937 forgot to dup before returning. Changed instances of
2938 bonobo_object_corba_objref (bonobo_object(o)) to
2939 BONOBO_OBJREF(o), for concision and clarity.
2941 <2001-10-13 Louise Miller <louise.miller@sun.com>
2943 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2944 idl/Event.idl, idl/Registry.idl
2945 Changed these files to include Bonobo_Unknown.idl instead
2948 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
2950 * libspi/component.c libspi/component.h:
2951 Fixed typo. Added assertions for object checks in
2952 AccessibleComponent code.
2954 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2956 * idl/Accessible.idl:
2957 Added 'isEqual (Accessible *object)'
2958 method for Accessible. (Not Yet Implemented).
2961 Changed signature of registerKeystrokeListener() to
2962 take a KeySet and KeyEventSeq so that specific keys and event
2963 types could be requested for monitoring, and added a flag
2964 is_synchronous so that either synchronous or asynchronous
2965 notification could be requested. (However this is not all
2966 implemented yet). This also meant adding two new typedefs,
2967 KeyEventSeq and KeySet.
2970 Added two new relations, RELATION_TOOLTIP_FOR and
2971 RELATION_LEAFNODE_OF.
2974 Added new state, STATE_HAS_TOOLTIP.
2976 * libspi/text.c, editabletext.c:
2977 Added new assertions to all casts of bonobo-objects from
2978 CORBA servants, to prevent Text API calls on non-text objects.
2979 Changed suspect casts of int-pointer types, so that we
2980 always send a valid CORBA_long pointer to the CORBA APIs that use
2981 in/out long parameters. We then have to copy from the CORBA_long
2982 into the regular long or int for return to the C bindings, or
2983 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
2986 * libspi/deviceeventcontroller.c:
2987 Cleaned these sources up.
2989 Changed return type for getCharacterAtOffset to
2990 CORBA_unsigned_long, to allow for 32-bit characters.
2993 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
2997 Fixed 'make dist' so that distro compiles...
2998 * libspi/keymasks.h:
3000 * cspi/spi-listener.c:
3001 KeystrokeListenerCB now returns a boolean.
3003 Added KeyEventType struct, and KeyStroke.
3004 Also added createKeystrokeListener(),
3005 KeystrokeListener_addCallback(),
3006 KeystrokeListener_removeCallback(), and added a keymask to
3007 registerKeystrokeListener().
3008 * cspi/spi_accessible.c:
3009 Changed numerous return types for interfaces from
3010 AccessibleComponent to Accessible<InterfaceName>; this was
3011 probably a cut-and-paste error.
3013 Implementations of new KeystrokeListener api (from spi.h,
3016 Changes to key modifier mapping.
3017 Created ControllerEventMask struct.
3018 Made DeviceEventController derive from Bonobo::Unknown.
3020 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3021 * libspi/deviceeventcontroller.c:
3022 Added a number of new internal (private) methods.
3023 * libspi/editabletext.c:
3024 * libspi/editabletext.h:
3025 Fixed a number of bugs related to the fact that
3026 editabletext inherits from text. Fixed the EditableText struct,
3027 the init() call, and use correct casts when calling Text methods
3028 from an EditableText object. Removed (duplicate) atko from the
3029 EditableText structure, we use the one in the parent Text
3030 structure via the casts mentioned above.
3031 * libspi/keystrokelistener.[ch]:
3032 * libspi/registry.c:
3033 Changes in support of keyboard handling (above).
3035 Keyboard handling, though partly functional, is still not
3036 recommended for at-spi client use as there is considerable
3037 work yet to be done.
3040 Changed some places where pointers to various int types
3041 are cast to be pointers to CORBA_long types and vice-versa:
3042 pointer casting is not safe so we pass pointers of the correct
3043 types and then cast the result before putting it into the target
3046 * libspi/text.h: minor typos corrected.
3048 We now speak not only the name of a Text element, but the
3049 first sentence of its content, when it receives focus.
3050 I also changed the text compression to 75% from 50%.
3051 * util/Accessibility_Util.server.in:
3052 Changed the default magnifier type to be a 3x vertical
3053 splitscreen magnifier (was previously a 2x horizontal one).
3055 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
3057 * libspi/keystrokelistener.h:
3058 * libspi/keystrokelistener.c:
3059 Initial functional implementations of KeystrokeListener.
3062 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3064 Fixed string handling for NULL strings in libspi.
3065 Added spi_freeString to free strings returned by C bindings.
3067 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
3069 * libspi/keystrokelistener.h:
3070 * libspi/keystrokelistener.c:
3071 Began (no-op) implementations of KeystrokeListener
3073 * libspi/deviceeventcontroller.c:
3074 * libspi/deviceeventcontroller.h:
3075 Began creating implementations of DeviceEventController,
3076 to handle keystroke and mouse event listening and
3078 * libspi/accessible.c:
3079 Stubbed-in the implementations for
3080 Accessibility_Accessible_getState and
3081 Accessibility_Accessible_getRelationSet.
3082 * libspi/registry.c:
3083 Improved de-registration process and fixed some bugs,
3084 deregistration now works correctly.
3086 Added initialization of applications list (to NULL).
3088 Reduced speech compression from 0.5 to 0.7, for demo.
3089 Changed call to gdk_window_set_decorations()
3090 to gtk_window_set_decorated().
3091 * at-bridge/bridge.c:
3092 Bridge now deregisters when app exits, via
3093 registration of a cleanup function
3094 with the g_atexit() call.
3095 Required making 'app' static, renamed 'this_app'.
3096 Fixed broken use of bonobo_init, passing argv wrongly.
3098 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
3102 Created a new directory for
3103 accessibility-related utilities, primarily for
3104 testing and demo purposes, but with possible
3111 Onscreen magnifier utility that
3112 is implemented as a bonobo service.
3114 * util/mag_client.c:
3115 * util/mag_client.h:
3116 Client-side support (simple C bindings)
3117 for Magnification service
3119 * util/mag_control.c:
3120 Client program example for
3121 Magnification service
3123 * util/Accessibility_Magnifier.server.in:
3124 Bonobo-activation file for the
3125 Magnification service.
3128 * util/idl/Magnifier.idl:
3129 IDL defining the bonobo Magnification
3133 Modifications to use the bonobo-activated magnifier
3134 above, in place of trying to connect to an existing
3135 magnifier that uses socket-listening IPC.
3137 If env variable MAGNIFIER is set, a magnifier service
3138 will be started if one does not exist.
3140 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
3141 * at-bridge/bridge.c:
3142 applied patch from Marc to build and run
3143 against new glib and gtk+ (seemed like a change
3144 to bonobo_init signature was made ?)
3146 made festival-server support turned off by default.
3147 Added support for a simple magnifier (off by default)
3148 which will be added to a 'util' directory later.
3149 * at-bridge/Makefile.am:
3150 Changed "application.h" header from a 'source'
3151 to a 'dependency' of libat-bridge.
3153 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3161 Added interface implementation c files to list of
3162 includes so they are included in libcspi.
3165 Changed prototype of AccessibleAction_doAction to return a
3167 Changed prototype of AccessibleTable_getCaption to
3168 return an Accessible.
3169 Changed prototype of AccessibleTable_getSelectedRows
3170 and AccessibleTable_getSelectedColumns to
3171 return a long (returns the number of selected rows
3172 or columns respectively).
3173 Changed name of AccessibleText_refRunAttributes to
3174 AccessibleText_getAttributes.
3175 Changed prototype of AccessibleText_getCharacterExtents to
3176 return a void rather than a boolean.
3177 Added support for a AccessibleCoordType parameter
3178 specifying what type of coordinates are desired.
3179 Added an AccessibleCordType parameter to
3180 AccessibleText_getPointAtOffset.
3182 * cspi/spi_accessible.c:
3183 Added code to return the outstanding interfaces from
3184 Accessible_queryInterface.
3186 * cspi/spi_action.c:
3188 Corrected call to getNActions to call the c binding
3191 * cspi/spi_editabletext.c:
3193 Changed name from setRunAttributes to setAttributes.
3195 * cspi/spi_hyperlink.c:
3197 Changed call to getNAnchors to correctly call the c
3198 binding for an attribute.
3200 * cspi/spi_hypertext.c:
3202 Changed getImageDescription to correctly call the
3203 binding for an attribute.
3205 * cspi/spi_selection.c:
3206 Changed getNSelectedChildren to correctly call the c
3207 binding for the attribute.
3208 Changed refSelectedChild to getSelectedChild.
3212 Changed getCaption to return an Accessible.
3213 Fixed calls which retrieve attributes.
3214 Changed refAt to getAccessibleAt.
3215 Changed getNSelectedRows and getNSelectedColumns to
3219 Changed getCharacterExtents and getPointAtOffset to accept an
3220 AccessibleCoordType.
3222 Changed calls which retrieve attributes.
3223 Changed refRunAttributes to getAttributes.
3228 * idl/Hyperlink.idl:
3229 Changed n_anchors attribute to nAnchors to keep naming
3230 convention consistent.
3233 Made Table inherit from Bonobo::Unknown.
3234 Added nSelectedColumns and nSelectedRows attributes.
3237 Made Value inherit from Bonobo::Unknown.
3239 * libspi/hyperlink.c:
3240 Change for nAnchors attributte name change.
3242 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3250 Added interface implementation c files to list of
3251 includes so they are included in libcspi.
3254 Changed prototype of AccessibleAction_doAction to return a
3256 Changed prototype of AccessibleTable_getCaption to
3257 return an Accessible.
3258 Changed prototype of AccessibleTable_getSelectedRows
3259 and AccessibleTable_getSelectedColumns to
3260 return a long (returns the number of selected rows
3261 or columns respectively).
3262 Changed name of AccessibleText_refRunAttributes to
3263 AccessibleText_getAttributes.
3264 Changed prototype of AccessibleText_getCharacterExtents to
3265 return a void rather than a boolean.
3266 Added support for a AccessibleCoordType parameter
3267 specifying what type of coordinates are desired.
3268 Added an AccessibleCordType parameter to
3269 AccessibleText_getPointAtOffset.
3271 * cspi/spi_accessible.c:
3272 Added code to return the outstanding interfaces from
3273 Accessible_queryInterface.
3275 * cspi/spi_action.c:
3277 Corrected call to getNActions to call the c binding
3280 * cspi/spi_editabletext.c:
3282 Changed name from setRunAttributes to setAttributes.
3284 * cspi/spi_hyperlink.c:
3286 Changed call to getNAnchors to correctly call the c
3287 binding for an attribute.
3289 * cspi/spi_hypertext.c:
3291 Changed getImageDescription to correctly call the
3292 binding for an attribute.
3294 * cspi/spi_selection.c:
3295 Changed getNSelectedChildren to correctly call the c
3296 binding for the attribute.
3297 Changed refSelectedChild to getSelectedChild.
3301 Changed getCaption to return an Accessible.
3302 Fixed calls which retrieve attributes.
3303 Changed refAt to getAccessibleAt.
3304 Changed getNSelectedRows and getNSelectedColumns to
3308 Changed getCharacterExtents and getPointAtOffset to accept an
3309 AccessibleCoordType.
3311 Changed calls which retrieve attributes.
3312 Changed refRunAttributes to getAttributes.
3317 * idl/Hyperlink.idl:
3318 Changed n_anchors attribute to nAnchors to keep naming
3319 convention consistent.
3322 Made Table inherit from Bonobo::Unknown.
3323 Added nSelectedColumns and nSelectedRows attributes.
3326 Made Value inherit from Bonobo::Unknown.
3328 * libspi/hyperlink.c:
3329 Change for nAnchors attributte name change.
3332 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
3334 implementations-- made server implementations own AtkObject pointers
3335 rather than their respective AtkInterrface pointers to fix
3336 refcounting. AtkHyperlink is still broken.
3338 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
3339 * cspi/spi_accessible.c:
3340 Added method Accessible_Role_getName(),
3341 and requisite string array (role_names).
3342 Added conversion string_from_corba_strin() call
3343 to Accessible_getName and _getDescription.
3344 * libspi/accessible.c:
3345 Added implementation for Accessible_getRole()
3347 Added festival support, used if environment variable
3350 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3352 * at-bridge/bridge.c:
3353 Now allocate Accessibility_Event using
3354 Accessibility_Event__alloc() instead of g_new0().
3355 * libspi/accessibleeventlistener.c:
3356 Initialize AccessibleEventListener->callbacks to NULL.
3357 Fixed accessible__event_listener_init() param, changed to
3358 "AccessibleEventListener *" type.
3359 Changed a bonobo_object_release_unref() call to
3360 Accessibility_Accessible_unref().
3361 * libspi/listener.c:
3362 Changed Bonobo_Unknown_unref to (equivalent)
3363 Accessibility_Accessible_unref.
3364 * libspi/registry.c:
3365 Changed bonobo_object_release_unref to
3366 Accessibility_Accessible_unref.
3368 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3371 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
3372 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
3373 spi-util.c spi-util.h
3374 Implementations for C bindings to remaining accessibility
3377 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3380 changed return value of Action from void to boolean to
3381 bring in line with ATK.
3384 Changed getText funcions to return "out" start and end offsets.
3385 Changed getAttributes to take and offset and return the start
3386 and end offset of the attribute run.
3387 Changed getOffsetAtPoint and getCharacterExtents to take an
3388 enum describing whether coordinates are window or screen.
3391 libspi/action.c libspi/action.h libspi/editabletext.c
3392 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
3393 libspi/hypertext.c libspi/hypertext.h libspi/image.c
3394 libspi/image.h libspi/selection.c libspi/selection.h
3395 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
3396 libspi/value.c libspi/value.h
3397 Added server implementations for outstanding ATK interfaces
3398 not yet implemented.
3400 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3403 Added (missing) getName() method.
3404 Made nActions an attribute.
3405 * idl/EditableText.idl:
3406 Changed order of params in setAttributes.
3407 * idl/Hyperlink.idl:
3408 Removed getAnchor, added getURI.
3410 Changed attributes to methods, for efficiency
3411 (so that getting extents can be done in one call)
3412 * idl/Selection.idl:
3413 Changed nSelectedChildren to attribute, and re-indented.
3414 * idl/Table.idl: changed nrows, ncolumns, caption, summary
3416 * idl/Text.idl: reformatted to match our coding style.
3417 (temporarily?) removed getRowColumnAtOffset().
3418 Changed text selection API to support multi-select and
3419 non-contiguous selections, as in ATK.
3420 * idl/Value.idl: changed some methods to attributes.
3422 2001-08-24 Mark McLoughlin <mark@skynet.ie>
3424 * libspi/listener.c(impl_notify_event):
3425 BonoboUnkown_unref the source instead
3426 of bonobo_object_release_unref - the ORB
3427 handles the releasing.
3429 * configure.in: require ORBit-2.3.94 for
3432 2001-08-21 Bill Haneman <bill.haneman@sun.com>
3434 Tagged CVS repository 'EA_1_0'.
3435 * README.EARLY_ACCESS:
3436 Alphabetized acknowledgements list, and
3438 Listed some known dependencies of at-spi.
3440 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3442 * docs/at-spi-docs.sgml:
3443 * docs/at-spi-sections.txt:
3444 * docs/at-spi-overrides.txt: (Added zero-length file)
3445 Documentation improvements - gtk-doc should build
3446 docs for all implemented C bindings now.
3449 * cspi/spi.c: (New file)
3450 * cspi/spi_event.c: (New file)
3451 * cspi/spi_registry.c: (New file)
3452 * cspi/spi_accessible.c: (New file)
3453 * cspi/spi_application.c: (New file)
3454 * cspi/spi_component.c: (New file)
3455 Split spi_main.c into six parts, and included them from
3456 "spi.c". This is a bit of a hack, probably temporary,
3457 but required by gtk-doc, apparently.
3459 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3462 * docs/at-spi-docs.sgml:
3463 * docs/at-spi-sections.txt:
3465 Initial checkins/modifications for gtk-doc generation.
3468 Added (missing) interface query methods to Accessible's C binding.
3470 Added GenericInterface type definition.
3472 Added query for AccessibleComponent interface to focus event handler.
3473 Added printout of bounding box for focussed component.
3474 * libspi/component.c:
3475 Added partial implementation for AccessibleComponent to C binding.
3476 * idl/Application.idl:
3477 * libspi/registry.c:
3478 * libspi/listener.c:
3479 * libspi/application.c:
3480 * libspi/application.h:
3481 Changed "ID" attribute type from string to long.
3483 2001-08-19 Bill Haneman <bill.haneman@sun.com>
3487 Made method naming consistent: methods taking object args
3488 start with uppercase, other methods (except those using
3489 acronyms) start with lowercase. Underscores delimit between
3490 object names and method names:
3491 SPI_init() - uppercase since it starts with an acronym.
3492 getDesktopCount () - lowercase start since no object param0.
3493 Accessible_getName() - uppercase object type name, studlyCaps method
3497 Added gtk-doc documentation for all currently implemented
3498 methods in the C bindings API.
3500 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3502 * Makefile.am : changed build order to build test last.
3505 Changed "createEventListener" to "CreateEventListener".
3506 * libspi/accessibleeventlistener.c :
3507 Bugfix for addition of callbacks.
3508 * test/Makefile.am :
3509 * test/simple-at.c :
3510 Added new test that uses the C bindings API.
3512 * libspi/listener.c :
3513 * libspi/registry.c :
3514 * libspi/accessibleeventlistener.c :
3515 * at-bridge/bridge.c :
3516 Renamed member "target" of Accessibility_Event to "source",
3517 which is more descriptive.
3520 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3524 * cspi/Makefile.am :
3525 Added makefile support for at-spi/cspi directory.
3528 * cspi/spi-listener.h : (NEW FILE)
3529 Added support for/use of spi-listener.h.
3531 C bindings now build successfully, with no warnings.
3532 * libspi/accessibleeventlistener.h : (NEW FILE)
3533 * libspi/accessibleeventlistener.c : (NEW FILE)
3534 * libspi/Makefile.am :
3535 Added new object type "AccessibleEventListener"
3536 which inherits from Listener, and allows attachment
3537 of in-process callbacks (so that a client with a listening
3538 object instance can add functionality to the local
3539 implementation, dynamically).
3541 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3543 * libspi/accessible.c:
3544 Add implementation for get_index_in_parent().
3546 Added #include of "spi-roletypes.h", and
3547 added enumerated type AccessibleCoordType.
3548 Added definition for KeystrokeListener (function type).
3551 * cspi/spi-statetypes.h :
3552 * cspi/spi-roletypes.h :
3554 Added these headers, used by spi.h.
3556 Added code (NOTE: not yet built by make).
3558 2001-08-18 Mark McLoughlin <mark@skynet.ie>
3560 * libspi/Makefile.am: generate imodule
3561 at the same time as other idl compiler
3564 2001-08-17 Bill Haneman <bill.haneman@sun.com>
3565 * libspi/registry.c :
3566 * libspi/application.c :
3567 * idl/Application.idl :
3568 Made registration with toolkit an application method,
3569 which is required since each app has its own toolkit static
3570 environment. Thus the bridge must register for
3571 notification of toolkit events from each application in turn.
3572 Toolkit notifications are now successfully registered for, and
3573 sent to the listening at client.
3575 Changed toolkit event string to use hyphens rather than underscores.
3576 * libspi/listener.c :
3577 listner now gives more info in debug mode - it reports the
3578 name of the event received, as well as the name of the source.
3581 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3583 * libspi/registry.c :
3584 added more implementation for toolkit events.
3585 Fixed bug such that toolkit event registrations
3586 (via atk) use the whole event name string, not
3588 Removed a useless call to an ORBit_ method.
3589 * at-bridge/bridge.c :
3590 Removed unused local sbuf[] variable.
3592 We now register for Gtk:GtkWidget:button_press_event
3593 events as well as "focus:" events.
3595 Add some more API from Registry.idl that was missing,
3596 for keystroke listening, keystroke and mouse event
3597 synthesis, and enumeration of accessible desktops.
3599 2001-08-16 Michael Meeks <michael@ximian.com>
3601 * configure.in: use AM_GLIB_GNU_GETTEXT.
3603 * Makefile.am (SUBDIRS): kill intl.
3605 2001-08-15 Michael Meeks <michael@ximian.com>
3607 * registryd/Makefile.am: s/oaf/server/ relocate info file.
3609 * configure.in: upd.
3611 * configure.in: depend on a recent bonobo-activation that
3612 will find our server files ...
3614 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3616 * libspi/accessible.c : accessible_new() :
3617 Now we add the Component interface via bonobo_object_add_interface,
3618 if the contained AtkObject implements AtkComponent.
3619 * libspi/accessible.h : now include "component.h"
3620 * libspi/component.h :
3621 * libspi/component.c : added files - implementation of
3622 bonobo wrapper object for Accessibility/Component
3623 * libspi/listener.c :
3624 Added test code to check for Accessibility/Component:1.0
3625 interface and report whether it is implemented by the
3627 * libspi/registry.c :
3628 Now we check for not only the hash of the whole event
3629 string before relaying the event, we also check the
3630 "minor" event string (without the detail string).
3631 This allows event listeners to be registered against
3632 all events of a certain major+minor type, or just
3633 against a specific major+minor+detail type.
3634 * libspi/accessible.c :
3635 Added implementations for Accessible:get_parent(),
3636 Accessible:getChildCount(), and Accessible:getChildAtIndex().
3637 * libspi/registry.c :
3638 * libspi/listener.c :
3639 Replaced calls to Accessibility_Accessible_ref() and
3640 Accessibility_Accessible_unref() with
3641 calls to bonobo_object_dup_ref() and
3642 bonobo_object_release_unref(), so that the CORBA object
3643 is dup-ed and released when relayed, as well as the bonobo object.
3645 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3647 * libspi/Makefile.am,
3648 registryd/Makefile.am,
3649 at-bridge/Makefile.am.
3650 test/Makefile.am, configure.in:
3651 reverse previous changes.
3653 * /idl/Image.idl: fix typo.
3655 * test/Makefile.am: put DEBUG_FLAGS
3658 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3660 * test/app.c: use argv[0] instead of
3663 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3665 * libspi/Makefile.am,
3666 registryd/Makefile.am,
3667 at-bridge/Makefile.am.
3668 test/Makefile.am, configure.in:
3669 cleanup, replace individual LIBS/CFLAGS with
3670 AT_COMMON_{LIBS|CFLAGS}.
3674 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3676 * configure.in, libspi/Makefile.am:
3677 Change IDL path checking for bonobo-activation
3680 2001-08-15 Bill Haneman <bill.haneman@sun.com>
3682 * registryd/registry.c : separated event listeners to use
3683 3 separate lists (focus, window, toolkit). Began testing
3684 event names against hashes before relaying events.
3685 * test/at.c : now register for events of type "focus:"
3686 * test/app.c : now generate events of type "focus:"
3687 * at-bridge/bridge.c : register with ATK for focus events,
3688 and we now relay those focus events to any "focus:" listeners.
3689 This now works with the bridge as a GTK_MODULE when running test/at.
3690 * libspi/registry.c :
3691 * libspi/listener.c :
3692 now we ref event sources before propagating, and unref on receipt.
3693 * libspi/registry.c :
3694 some changes to internal structs, to support event typestring hashes.
3695 * text/app.c : changed the way the appname is generated.
3696 * cspi : added directory that will hold the C bindings library for
3697 non-CORBA/bonobo-savvy clients.
3698 * cspi/spi.h : header file that contains the function prototypes for the C binding.
3699 * idl/Component.idl : added in parameter to indicate coord system for
3700 geometry-related calls.
3701 * idl/Hyperlink.idl : added readonly n_links attribute
3702 * idl/Image.idl : changed methods to attributes.
3704 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3706 * at-bridge/Makefile.am: link against
3707 ../libspi/libspi.la instead of -lspi.
3709 * at-spi/test/app.c: include
3710 bonobo-activation.h. Use a default appname
3711 if one is not provided.
3713 2001-08-14 Bill Haneman <bill.haneman@sun.com>
3715 * idl/Registry.idl : temporarily changed register_Application
3716 to oneway, to work around issue with initial registration
3718 * idl/Application.idl : changed attribute "id" from readonly
3719 to read-write, since it needs to be assigned by Registry.
3720 * registryd/registryd.c : added call to set application id
3722 * registryd/registry.c : changed de-registration procedure to
3723 use CORBA_Object_hash() to find matching object ref in application
3724 lists and listener lists.
3725 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
3726 began distinguishing between event types (work in progress).
3728 2001-08-13 Bill Haneman <bill.haneman@sun.com>
3731 * libspi/application.c:
3732 Added implementations for get/set id, get_toolkitName,
3734 * registryd/registryd.c :
3738 Converted from use of OAF to bonobo-activation.
3739 * libspi/desktop.h :
3740 * libspi/desktop.c :
3742 Removed references to atksimpleobject, since base atkobject
3743 implementation now provides functionality we need.
3744 * libspi/atksimpleobject.c :
3745 * libspi/atksimpleobject.h :
3750 * at-bridge/Makefile.am
3751 * at-bridge/bridge.c
3754 Added directory "bridge" and contents, and added dependencies
3755 in Makefile.am/configure.in.
3756 Initial checkin of "at-bridge".
3757 This code is a GTK_MODULE which automatically registers
3758 GTK+ apps with the accessibility registry, using an object
3759 reference to the root ATK object.
3761 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3763 * po/Makefile.in.in: Remove. Again. If this
3764 doesn't get autogenerated - you need to update
3767 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3769 * po/Makefile.in.in: Add. Again.
3771 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3773 * libspi/accessible.c : added support for 'description' property.
3774 * libspi/accessible.c
3776 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3777 (since the two are now equivalent in libbonobo)
3785 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3786 Bonobo::Unknown as does Accessibility::Accessible.
3787 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3788 interface with Bonobo::Stream, since it was redundant with it.
3789 (The Stream returned by a StreamableContext object is expected to
3790 implement only a subset of Bonobo::Stream)
3792 2001-07-28 Anders Carlsson <andersca@gnome.org>
3794 * libspi/accessible.c (accessible_object_finalize): Change
3795 g_free to g_object_unref since the AtkObject is a GObject.
3797 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3799 * idl/Accessibility.idl: add new IDL files
3802 * idl/Action.idl: Definitions of actionable UI object
3803 * idl/Component.idl: Definitions of UI component geometry, etc.
3804 * idl/Hyperlink.idl: Defs of hyperlink behavior
3805 * idl/Image.idl: Def of accessible image
3806 * idl/Selection.idl: Definition of UI object with selectable children
3807 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3808 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3809 * idl/Text.idl: Interface defs for UI elements with complex textual content
3810 * idl/Value.idl: Definition of UI element that is a value controller or display
3812 2001-07-27 Michael Meeks <michael@ximian.com>
3814 * po/Makefile.in.in: remove autogenerated file from CVS.
3816 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3819 * idl/Registry.idl: include guard.
3821 * idl/Accessibility.idl: Add, and include all the other IDL
3824 * idl/*.idl: remove mass of pragmas etc.
3826 2001-07-26 Michael Meeks <michael@ximian.com>
3828 * registryd/Makefile.am (registryd_SOURCES): remove
3831 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3833 * libspi/.cvsignore, registryd/.cvsignore,
3834 test/.cvsignore: updated.
3836 * po/Makefile.in.in: gettext update.
3838 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3840 * initial CVS checkin
3842 2001-06-29 Michael Meeks <michael@ximian.com>
3844 * configure.in: add AM_CONFIG_HEADER to gen config.h