1 2002-05-02 jacob berkman <jacob@ximian.com>
3 * atk-bridge/Makefile.am: make atk-bridge a real module
5 2002-04-26 Radek Doulik <rodo@ximian.com>
7 * libspi/stateset.c (spi_init_state_type_tables): fix size of
10 2002-04-22 jacob berkman <jacob@ximian.com>
13 * libspi/Makefile.am: add deps on the built files to help
14 automake, and don't version the ORBit typelib
16 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
18 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
19 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
20 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
21 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
22 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
23 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
24 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
25 libspi/accessible.h libspi/accessible.h libspi/base.h
26 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
27 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
28 libspi/relation.h libspi/remoteobject.h libspi/selection.h
29 libspi/spi-private.h libspi/statetset.h libspi/table.h
30 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
31 util/mag_client.h util/mag_control.c util/mag_image.c
32 util/mag_image.h util/magnifier.c util/magnifier.h:
33 Add missing file headers; standardize existing ones
35 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
37 * atk-bridge/bridge.c: Added window event support.
39 2002-04-18 Michael Meeks <michael@ximian.com>
41 * libspi/relation.c (impl_getNTargets): impl.
42 (impl_getTarget): impl.
44 * libspi/Makefile.am: fix stateset install.
46 2002-04-17 Bill Haneman <bill.haneman@sun.com>
49 Started putting useful info in this file.
51 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
53 * atk-bridge/bridge.c:
54 Propagate state-changed notifications to ATs
56 * cspi/spi_registry.c: update docs to reflect actual behavior of
59 2002-04-17 Bill Haneman <bill.haneman@sun.com>
62 Incremented version to 0.12.1
65 Add missing declaration for magnifier_exit,
66 used by mag_control.c - Forte compiler didn't like
67 the implicit redeclaration of the function :-(
70 2002-04-16 Bill Haneman <bill.haneman@sun.com>
73 Revved version to 0.12 due to API change (see below).
75 * cspi/spi-roletypes.h:
76 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
77 definition from the inline docs, and added docs
78 for SPI_ROLE_LAST_DEFINED.
81 * cspi/spi_streamablecontent.c:
82 Added missing seek_type parameter to
83 (so far unused) method,
84 AccessibleStreamableContent_seek().
85 [ RT approval JodyG. ]
88 Fixed docs for SPI_createAccessibleKeystrokeListener.
90 * cspi/spi_registry.c:
91 Fixed docs for SPI_KEYSET_ALL_KEYS.
93 * docs/reference/cspi/at-spi-cspi-sections.txt:
94 Added a number of missing APIs to SECTIONS.
96 2002-04-16 Bill Haneman <bill.haneman@sun.com>
98 * registryd/Makefile.am:
100 * cspi/bonobo/Makefile.am:
101 Add $(X_LIBS) to makefiles.
103 2002-04-15 Bill Haneman <bill.haneman@sun.com>
106 Revved version to 0.11.
108 * libspi/component.c:
109 Added implementation for grabFocus.
111 * idl/Accessibility_Component.idl
112 (Accessibility_Component_grabFocus):
113 Made this method return boolean to indicate success or failure, to
114 be consistent with cspi and the corresponding ATK method.
116 * idl/Accessibility_Selection.idl
117 (Accessibility_Selection_selectAll) :
118 Made these methods return boolean to indicate success or
119 failure, to be consistent with cspi and the corresponding ATK methods.
121 * idl/Accessibility_EditableText.idl
122 (Accessibility_EditableText_setTextContents,
123 Accessibility_EditableText_insertText,
124 Accessibility_EditableText_cutText,
125 Accessibility_EditableText_deleteText,
126 Accessibility_EditableText_pasteText):
127 Made these methods return boolean to indicate
130 * cspi/spi_editabletext.c:
131 Made these methods return booleans.
133 * libspi/selection.c:
134 * libspi/component.c:
135 * libspi/editabletext.c:
136 Connected the boolean returns from ATK
137 to the server-side code referenced above.
139 2002-04-14 Bill Haneman <bill.haneman@sun.com>
141 * idl/Accessibility_Table.idl: Added missing methods,
142 Accessibility_Table_addRowSelection,
143 Accessibility_Table_addColumnSelection,
144 Accessibility_Table_removeRowSelection,
145 Accessibility_Table_removeColumnSelection.
148 Added C wrappers for above IDL:
149 AccessibleTable_addRowSelection,
150 AccessibleTable_addColumnSelection,
151 AccessibleTable_removeRowSelection,
152 AccessibleTable_removeColumnSelection.
155 Added server-side implementation code for IDL above, connecting
156 to pre-existing ATK api.
158 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
160 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
162 * libspi/accessible.c: Added implementation fo
163 Accessibility_Accessible_get_state.
165 * libspi/libspi.h: Added stateset.h to the list of includes.
167 * libspi/stateset.c: Fixed broken implementation.
169 2002-04-13 Bill Haneman <bill.haneman@sun.com>
172 Added implementation code for Accessibility_Magnifier_exit ().
174 * util/mag_control.c:
175 Added test code for above method; you can
176 now kill an existing magnifier via
177 ./mag_control q, from the util directory.
179 * test/key-listener-test.c:
181 Added a new test, for our key listener API.
183 2002-04-11 Bill Haneman <bill.haneman@sun.com>
185 * test/app.c, test/keysynth-demo.c:
187 Replace use of snprintf with g_snprintf.
188 (fix for bugzilla 78249)
190 2002-03-27 Michael Meeks <michael@ximian.com>
194 * util/Makefile.am (INCLUDES): fix.
195 (DONT_DIST_SOURCE): don't distribute the
198 * libspi/Makefile.am (dist-hook): ditto.
200 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
202 * libspi/hypertext.c:
203 Fix warnings when yelp is used with atk-bridge
205 2002-03-21 Michael Meeks <michael@ximian.com>
207 * libspi/application.c (spi_application_new):
208 use spi_accessible_construct so we use the AtkObject
211 2002-03-19 Michael Meeks <michael@ximian.com>
213 * registryd/registry.c (desktop_remove_application),
214 (desktop_add_application): clean coding style.
216 * registryd/desktop.c (spi_desktop_remove_application),
217 (spi_desktop_add_application): kill re-enterency hazards.
218 (spi_desktop_dispose): remove bogus redundant cast
219 obscuring bug; fix bug too.
220 (spi_desktop_init): make the desktop object immortal.
222 2002-03-16 Bill Haneman <bill.haneman@sun.com>
225 Added a #define-guarded tree-traversal step
226 when enumerating the apps (diagnostic tool).
228 2002-03-15 Bill Haneman <bill.haneman@sun.com>
230 * idl/Accessibility_Role.idl:
231 Added ROLE_DRAWING_AREA which seemed to be missing from the
234 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
236 * cspi/spi-roletypes.h cspi/spi_accessible.c
237 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
240 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
241 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
242 AT when applications are added and removed from the desktop. This
243 reverts the previous broken implementation using the backing
244 AtkObject for the SpiDesktop.
246 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
248 * registryd/desktop.c: emit the "children-changed::add" and
249 "children-changed::remove" signals on the backing ATK object for
250 the desktop so AT can tell when applications are started and shut
253 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
255 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
257 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
259 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
261 * cspi/spi_accessible.c: Implemented c bindings for stateset support
263 * cspi/state-types.h: synched with IDL and ATK
265 2002-03-13 Bill Haneman <bill.haneman@sun.com>
267 * libspi/accessible.c
268 (impl_accessibility_accessible_get_child_at_index):
269 Change return value for g_return_if_fail ()
270 to CORBA_OBJECT_NIL instead of "0" (!)
272 * registryd/Makefile.am:
273 * registryd/Accessibility_Register.server.in:
274 Changed name of executable, "registryd",
275 to something more informative:
278 2002-03-13 Michael Meeks <michael@ximian.com>
280 * atk-bridge/bridge.c (atk_bridge_init): don't register
281 if we're in a bonobo-component, rather than a bonobo app.
283 2002-03-13 Michael Meeks <michael@ximian.com>
285 * atk-bridge/bridge.c (gtk_module_init): split
286 out body to (atk_bridge_init): here, since otherwise
287 we get symbol conflicts and oddness when invoked
288 from (gnome_accessibility_module_init): here (upd.)
290 2002-03-11 Bill Haneman <bill.haneman@sun.com>
293 New file. Explicitly allow "build sheriff" putbacks provided
294 they are tested on Solaris.
296 * docs/reference/cspi/Makefile.am:
297 Added '-' to the "cp" command for index.sgml.
298 ("patch by thomasvs, soon coming to a GUADEC near you")
301 Incremented version number (0.9.0) for new release.
302 Changed macro that checks for popt, to better detect
303 obsolete versions of popt.
306 Added X_LIBS to AC_SUBST, for applications
307 that call Xlib API directly.
310 2002-03-07 Bill Haneman <bill.haneman@sun.com>
313 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
316 Fix regression caused by hard-coding major
317 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
320 * test/test-simple.c (test_editable_text),
321 (test_test): revert previous change (error was
322 a regression in gail which is now fixed).
324 2002-03-04 Michael Meeks <michael@ximian.com>
326 * test/test-simple.c (test_editable_text),
327 (test_text): pass G_MAXINT instead of '-1' for
328 whole string - is this a good thing !?
330 * cspi/spi_accessible.c
331 (Accessible_getRelationSet): fix crasher bug
332 overwriting the end of the array.
334 * test/test-simple.c (validate_accessible): free,
335 not g_free returned relation set.
337 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
339 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
340 implemented stateset support
342 * idl/Accessibility_State.idl: Made necessary changes to
343 the IDL to support state sets.
345 2002-02-12 Bill Haneman <bill.haneman@sun.com>
347 * registryd/deviceeventcontroller.c:
348 Added implementation for generateMouseEvent.
350 * cspi/spi_registry.c:
351 Connected new implementation for generateMouseEvent
354 2002-02-12 Bill Haneman <bill.haneman@sun.com>
357 Incremented revision (but no change in public API
358 outside of 'utils', which are not installed public yet.)
360 * libspi/component.c:
361 Changed to use atk_component API for layers and
362 mdi_zorder, instead of deprecated atk_object API.
364 Magnification Utility Enhancements:
367 Added implementation of createZoomRegion, clearAllZoomRegions,
368 resizeZoomRegion. Added new commandline argument
369 "--no-initial-region". Note that clearAllZoomRegions doesn't
370 unmap the old '0' region as it should (yet), and the other
371 methods only work when creating/resizing a single region,
373 (Code for multiple region support will be added later.)
376 Now we raise the magnifier window each time it's refreshed;
377 this will help keep it on top.
380 Added simple wrappers for above, used by mag_control.
381 For general use, it's recommended to use the bonobo magnifier
382 control API directly instead of using these wrappers.
385 Moved ZoomRegionData from magnifier.c to this file.
387 * util/mag_control.c:
388 Added some code to exercise new IDL implementations.
390 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
392 * libspi/text.c: Provide implementation for getAttributes.
394 2002-02-04 Bill Haneman <bill.haneman@sun.com>
397 Incremented revision.
399 * test/test-simple.c:
400 Replaced use of deprecated g_main_iteration with
401 g_main_context_iteration.
403 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
406 Incremented revision for desktop alpha 2.
408 2002-01-28 Mark McLoughlin <mark@skynet.ie>
410 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
413 * test/simple-at.c: include netinet/in.h.
415 2002-01-24 Mark McLoughlin <mark@skynet.ie>
417 * cspi/spi_accessible.c: (Accessible_getRelationSet):
418 use NULL, not CORBA_OBJECT_NIL.
420 * libspi/accessible.c:
421 (impl_accessibility_accessible_get_relation_set):
422 allocate the sequence correctly.
424 * libspi/remoteobject.h: kill spi_remote_object_new.
426 * test/test-simple.c: (validate_accessible): add code
427 to test relation sets, now all we need is to figure
428 out how to excercise this code path :/
430 2002-01-18 Michael Meeks <michael@ximian.com>
433 (key_listener_cb): consume the key.
434 (test_keylisteners): update.
435 (main): wait for any pending unrefs on events.
437 * registryd/deviceeventcontroller.c
438 (spi_controller_update_key_grabs): only re-issue the
439 grab on a key release.
440 (spi_device_event_controller_forward_key_event):
441 refresh the keygrabs before we notify the listeners,
442 to reduce the X ungrab / re-grab race.
443 (spi_controller_register_with_devices): remove
444 XSelectInput - we do that with the gdk_window_ call.
445 (_spi_controller_device_error_handler): return a value.
446 s/GDK_DISPLAY/spi_get_display/
448 2002-01-17 Michael Meeks <michael@ximian.com>
450 * registryd/deviceeventcontroller.c
451 (_deregister_keygrab): don't blow out the later
454 * test/test-simple.c (test_keylisteners): do a
455 more intelligent validation.
457 2002-01-14 Michael Meeks <michael@ximian.com>
459 * atk-bridge/bridge.c
460 (gnome_accessibility_module_init),
461 (gnome_accessibility_module_shutdown): impl.
462 (gtk_module_init): protect vs. double inits.
463 (add_signal_listener): impl.
464 (spi_atk_bridge_state_event_listener): kill
465 (deregister_application): split out of
466 (spi_atk_bridge_exit_func): here.
468 2002-01-18 Bill Haneman <bill.haneman@sun.com>
471 Added caret tracking when using magnifier, and
472 now use text bounds for focus tracking of text elements, rather than
473 the component bounds - this is helpful for short text fields in long
474 table cells, at high magnification.
476 2002-01-16 Bill Haneman <bill.haneman@sun.com>
478 * registryd/deviceeventcontroller.c:
479 Regression fix for keylistener de-registration; global keygrabs
480 were not being released when deregisterKeystrokeListener was
481 called in cspi, since
482 Accessibility_DeviceEventController_deregisterKeystrokeListener
483 was called with a zero-length keyset. That is because the cspi
484 method, SPI_deregisterKeystrokeListener, does not take a keyset
485 parameter but instead should remove all the key grabs held be a
487 The code in impl_deregister_keystroke_listener was changed to copy
488 the keylist from the listener instance previously registered with
489 the DeviceEventController before releasing the grabs.
491 * registryd/registry.c:
492 * registryd/deviceeventcontroller.c:
493 * libspi/spi-private.h:
495 Changed spelling of "re-enterant" to "re-entrant" globally.
497 2002-01-16 Bill Haneman <bill.haneman@sun.com>
499 * test/test-simple.c:
500 Changed key listeners test - the test was slightly mis-using the
501 (admittedly poorly documented) SPI_generateKeyboardEvent API.
502 It now uses '=' as the key event listened to and generated,
503 relying on a keysym match rather than assuming that keycode 33
504 is always equal to keysym '!'.
506 2002-01-15 Bill Haneman <bill.haneman@sun.com>
509 Changed simple-at to use a specific keyset, rather than
510 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
511 manager, desktop, etc.
513 2002-01-11 Bill Haneman <bill.haneman@sun.com>
515 * registryd/deviceeventcontroller.c:
516 Replaced standard X error handler with a special handler that
517 is non-fatal for failed keygrabs. This works around
518 problems with keygrab clashes sometimes observed on
520 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
521 mouse handling code as yet).
523 2002-01-11 Bill Haneman <bill.haneman@sun.com>
526 Incremented revision for desktop alpha release.
529 Fixed a couple of the more glaring errors (still not
532 2002-01-11 Michael Meeks <michael@ximian.com>
534 * registryd/deviceeventcontroller.c
535 (spi_device_event_controller_forward_key_event): kill
536 XUngrabKey / XKeyGrab race.
537 (spi_controller_grab_keyboard): rename to
538 (spi_controller_update_key_grabs): this, and deal
539 with incremental adding / removing grabs more
541 (_register_keygrab): ensure we're not pending a remove.
542 (spi_grab_mask_free): impl.
543 (spi_controller_register_global_keygrabs): split out
545 (handle_keygrab): impl.
546 (_deregister_keygrab): impl.
547 (spi_controller_deregister_global_keygrabs): impl.
548 (spi_controller_update_key_grabs): re-issue the grab if
549 we just recieved a notification.
551 * test/test-simple.c (key_listener_cb): remove debug.
553 * registryd/deviceeventcontroller.c
554 (spi_controller_register_device_listener): after
555 registering a global keygrab, actualy register it !
556 don't wait for a timeout; doh !
558 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
559 to make it more readable / manipulable.
560 s/grabmask/grab_mask/ s/refcount/ref_count/
561 s/keyval/key_val/ s/modmask/mod_mask
563 2002-01-08 Michael Meeks <michael@ximian.com>
565 * registryd/deviceeventcontroller.c
566 (spi_controller_register_with_devices): use gdk calls to
568 (global_filter_fn): implement the filter.
569 (spi_device_event_controller_check_key_event): rename to
570 (spi_device_event_controller_forward_key_event): this & upd.
571 (spi_get_display): replace with GDK_DISPLAY.
573 * registryd/deviceeventcontroller.c
574 (spi_controller_deregister_device_listener): unroll into
575 (impl_deregister_keystroke_listener): here to simplify.
576 (spi_controller_register_global_keygrabs): split cut and
577 paste (!) out into (_register_keygrab): here, shorter & sweeter.
578 (spi_controller_deregister_device_listener): remove.
579 (impl_register_mouse_listener): remove, no mouse listener
580 support in at-spi-1.0
582 * registryd/registry.c
583 (_device_event_controller_hook): kill.
584 (spi_registry_init): upd.
586 * registryd/deviceeventcontroller.c
587 (spi_device_event_controller_class_init): upd.
588 (spi_check_key_event): merge into.
589 (spi_device_event_controller_check_key_event):
590 here and kill strange static ev init, don't leak
591 the x_event - nor dynamicaly allocate it.
593 * registryd/registry-main.c (main): re-direct
594 timeout to remove strange vtable mess.
596 * registryd/deviceeventcontroller.c
597 (remove_listener_cb): impl.
598 (spi_controller_deregister_device_listener):
599 fix re-enterancy hazard.
601 2002-01-07 Michael Meeks <michael@ximian.com>
603 * registryd/deviceeventcontroller.c
604 (spi_device_event_controller_new): upd.
605 (impl_notify_listeners_sync): upd. debug.
606 (spi_notify_keylisteners): fix re-enterancy hazards,
607 prettify, remove O(n*n) iteration.
608 (spi_controller_grab_keyboard): fix iteration.
609 (spi_check_key_event): re-format to suit coding style.
610 Clean all the warnings - we're warning free.
612 * registryd/deviceeventcontroller.h:
613 * registryd/registry.h: make mutualy referential with
614 typesafe forward references instead of (!) void pointer
617 2002-01-11 Michael Meeks <michael@ximian.com>
619 * cspi/spi_accessible.c (role_names): add a role name
620 to sync this array with the enum; and make the regression
623 2002-01-10 Michael Meeks <michael@ximian.com>
625 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
626 allow expansion of enumeration & kill warning.
628 * test/test-simple.c (key_listener_cb): impl.
629 (test_keylisteners): impl.
631 * cspi/spi-listener.h: make listener signatures const
632 on the provided (const) events.
634 * test/keysynth-demo.c: upd. to const events.
636 * test/simple-at.c: ditto.
638 2002-01-11 Bill Haneman <bill.haneman@sun.com>
641 Rev the version to 0.5 (the previous tarball was named 0.4,
642 even though the micro number was 3), so we need to rev upwards
643 again for beta2/"desktop-alpha"
646 Checked in a demo script, which requires editing before use!
647 Proceed with caution.
650 Fixed typo in header which was redefining SPI_ACTION_CLASS.
652 * cspi/spi_accessible.c:
653 Add a couple of missing enum initializations, and fix some enum
656 * cspi/spi_registry.c:
657 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
659 * docs/reference/cspi/at-spi-cspi-sections.txt:
660 Remove/fix a couple of broken document references.
663 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
664 as Alt-Control to listen for commands, since on some systems
665 Control-Alt may already be grabbed.
667 2002-01-10 Bill Haneman <bill.haneman@sun.com>
670 Update version number to 0.4 for Beta2.
672 * libspi/accessible.c, libspi/accessible.h:
673 Expose spi_accessible_construct, to enable libgail-gnome
674 construction from spi_accessible subtype.
677 Workaround for bug in some non-gnome-compliant window managers
678 which made magnifier resize improperly.
680 2002-01-09 Bill Haneman <bill.haneman@sun.com>
682 * libspi/accessible.c: (spi_accessible_new) :
683 Move the test for SPI_IS_REMOTE_OBJECT to
684 spi_accessible_new_return, fixing a bug and compile time warning.
686 2002-01-08 Michael Meeks <michael@ximian.com>
688 * registryd/registry.c (parse_event_type): remove strndup.
690 * libspi/Makefile.am (libspi_la_SOURCES): remove
691 sources already included in the headers section.
693 * libspi/util.c: add.
695 * libspi/spi-private.h: add.
697 * registryd/registry.c: update to moved list iterators.
699 2002-01-05 Michael Meeks <michael@ximian.com>
701 * test/simple-at.c (main): upd. auto-module set to atk-bridge
703 * test/test-simple.c (main): ditto.
705 2002-01-04 Michael Meeks <michael@ximian.com>
707 * libspi/accessible.c (spi_accessible_new): remove 2nd,
710 * registryd/registry.c
711 (get_listener_list): impl.
712 (impl_accessibility_registry_register_global_event_listener):
713 re-impl. to simplify using ~, remove dodgy const cast off.
714 (parse_event_type): constify.
715 (impl_accessibility_registry_deregister_global_event_listener_all):
716 re-write, more efficiency and simplicity, kill re-enterancy
718 (compare_listener_corbaref, compare_corba_objects),
719 (compare_listener_quarks): define out.
720 (impl_accessibility_registry_deregister_global_event_listener):
721 re-write for effiency, and nail re-enterancy hazard.
722 (impl_accessibility_registry_get_desktop_list): impl.
723 (re_enterant_list_delete_link): impl.
724 (re_enterant_list_foreach): impl.
725 (remove_listener_cb): impl.
726 (_registry_notify_listeners): kill.
727 (notify_listeners_cb): impl.
729 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
730 (SPI_getDesktopList): impl.
732 * test/test-simple.c (test_desktop): test the methods.
734 2002-01-03 Michael Meeks <michael@ximian.com>
736 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
737 keystrings since we free them
738 (SPI_freeAccessibleKeySet): in here.
740 * libspi/accessible.c (spi_accessible_new): kill warning,
741 wonder what is going on with the constructor here.
743 2002-03-01 Bill Haneman <bill.haneman@sun.com>
745 * libspi/accessible.c (spi_accessible_new ()) :
746 Added check to see if AtkObject is an SpiRemoteObject before
747 creating an SpiAccessible.
749 2002-05-01 Bill Haneman <bill.haneman@sun.com>
751 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
752 Enable keygrabs using the Control modifier, now that they are
753 working properly (they were previously disabled).
756 Change the command keygrab for this demo to "Control+Alt", so as
757 to conflict with fewer other key commands on the system; this
758 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
760 Removed a pointlessly-chatty keylistener for unshifted keys
761 (shifted keys are still reported).
763 2002-02-01 Bill Haneman <bill.haneman@sun.com>
765 * libspi/remoteobject.h:
766 * libspi/remoteobject.c:
767 Added definitions for special AtkObject subtype, required for
768 support of remote components (specifically, used by BonoboControl
769 accessibility implementation).
771 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
773 * cspi/spi.h: synched relation types with ATK
775 * cspi/spi_accessible.c: Added implementations of
776 AcccessibleRelation_* methods
778 * idl/Accessibility_Relation.idl: added getRelationTypeName
779 method. Synched known relation types with ATK. Allowed for
780 relation type extension with the RELATION_EXTENDED type.
782 * libspi/relation.c: Provided implementations for
783 AccessibleRelation methods.
785 2002-01-01 Bill Haneman <bill.haneman@sun.com>
787 API tweaks for today's API 'freeze'.
790 Added placeholder functions to allow future compatible expansion
791 of the IDL interfaces.
793 * idl/Accessibility_Registry.idl:
794 Changed generateKeyEvent to generateKeyboardEvent. Changed
795 signature of this method to accept an optional keystring in
796 parameter (for complex text input synthesis) and changed use of
797 simple 'boolean' parameter in registerKeystrokeListener to a
798 struct, EventListenerMode.
800 * cspi/spi_accessible.c:
802 * cspi/spi_streamablecontent.c:
803 Added references to AccessibleStreamableContent interface, and
804 definition and implementation of AccessibleStreamableContent
807 * cspi/spi_registry.c:
809 Changed generateKeyEvent API to generateKeyboardEvent,
810 taking a new (optional) keystring parameter to support complex
815 Renamed directory (to better reflect its actual purpose, bridging
816 from at-spi to ATK). The .so module is also now named
819 * idl/Accessibility_Hypertext.idl:
820 * libspi/accessible.c:
821 * libspi/hypertext.h:
822 * libspi/hypertext.c:
823 Changed Accessibility_Hypertext to *not* derive from
826 * cspi/spi_registry.c:
827 Added list of legal event type names for 'window' events, which
828 completes the registry event API.
830 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
832 * at-bridge/bridge.c: Added registration for separate
833 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
834 signals. If either of the first two parameters to the generic
835 bridge signal handler are ints, they are passed on as event
836 details. This allows an AT to determine what text was inserted.
838 2001-12-21 Bill Haneman <bill.haneman@sun.com>
840 * registryd/deviceeventcontroller.c:
841 Fixed regressions in generateKeyEvent caused by the removal of
842 gdk_init from registryd; we now use pure X calls to connect to the
843 display, which makes sense because deviceeventcontroller already
844 uses a fair bit of X API (should eventually be migrated to a
845 'portability layer').
847 * registryd/desktop.c:
848 Fixed minor regression in spi_desktop_init, changed the way the
849 desktop name is being set to work with new spi_base API
850 (gobject-based, rather than AtkObject-based).
852 * registryd/Makefile.am:
853 Minor revision of makefile to use XTST_LIBS variable rather than
854 hard-wiring the Xtst LD_ADD element.
856 * test/keysynth-demo.c:
857 Tweaked an output message; added initialization of the
858 'keystrings' member of the "switch listener" key_set.
861 Squashed compile-time warning.
863 * libspi/accessible.c:
864 Cosmetic and formatting fixes, renamed a static method.
866 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
868 * libspi/accessible.c
870 * libspi/application.c
874 * libspi/editabletext.c
882 * registryd/desktop.c:
883 Changed SpiBase to contain a GObject pointer rather than an AtkObject
885 2001-12-17 Bill Haneman <bill.haneman@sun.com>
887 * idl/Accessibility_Registry.idl:
888 Added boolean member 'is_text' to DeviceEvent. This is for the
889 use of key events, and helps prevent ambiguity between composed
890 key strings and keysym names, since both may potentially be
891 returned in the 'event_string' member.
893 * at-bridge/bridge.c:
894 * registryd/deviceeventcontroller.c:
895 Use the 'is_text' member when notifying device event listeners.
896 Knon issue: composed characters are not dealt with correctly by
897 the global key listener implementation yet.
899 2001-12-17 Bill Haneman <bill.haneman@sun.com>
901 * at-bridge/bridge.c:
902 Namespaced local static methods to spi_atk_bridge_* where
903 previously named bridge_*, and spi_* elsewhere.
905 * at-bridge/bridge.c:
906 * cspi/bonobo/cspi-bonobo-listener.c:
907 Added demarshalling/conversion for string member of
908 Accessibility_DeviceEvent to AccessibleKeystroke.
910 * registryd/deviceeventcontroller.c:
911 Added code to fill the Accessibility_DeviceEvent key string value
912 member for global key events (i.e. from XGrabKey), to match
913 behavior of Accessibility_DeviceEvent from the toolkit key events
914 from the bridge. Fixed timestamp in global key event notifications.
917 Added printout of key event's string value to
918 report_ordinary_key_event, for demo/debugging purposes.
920 2001-12-15 Bill Haneman <bill.haneman@sun.com>
922 * idl/Accessibility_Registry.idl:
923 Removed Accessibility_KeyStroke structure in favor of generic
924 Accessibility_DeviceEvent structure.
925 Changed Accessibility_ControllerEventMask from a struct to an
928 * at-bridge/bridge.c:
929 Changed APIs to use DeviceEvent structure as above, and removed
930 bogus casting between these event structures.
932 * cspi/spi-listener.h:
933 Added keystring member of AccessibleKeystroke structure, to enable
934 matching on event "names" rather than only hardware codes and
938 Added keystrings member of AccessibleKeySet struct, to allow
939 matching on event names (as above).
940 Added declarations for SPI_createAccessibleKeySet and
941 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
942 event modmasks directly as unsigned ints rather than structs with
943 refcounts, in the DeviceEventController methods.
945 * cspi/spi_registry.c:
946 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
948 * cspi/spi-roletypes.h:
949 Added documentation of newly added SPI Roles.
951 * cspi/bonobo/cspi-bonobo-listener.c:
952 Changes in support of API changes above.
954 * libspi/accessible.c:
955 Converted APIs to use DeviceEvent structure (see IDL changes
958 * registryd/deviceeventcontroller.c:
959 Added DEControllerGrabMask structure to track keygrabs not only by
960 modmask but by keyset as well; this allows us to do "global"
961 (i.e. X) keygrabs on a per-key or keyset basis rather than always
962 grabbing on AnyKey and then filtering after-the-fact.
963 Bugfixes for event filtration mean that we don't get false matches
964 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
966 * registryd/deviceeventcontroller.c:
967 Namespaced a number of static methods to use spi_ prefix. Major
968 revision to internals of global (i.e. X) key grabs.
970 * registryd/deviceeventcontroller.h:
971 Removed keymask_list and added keygrabs_list to
972 SpiDeviceEventController struct.
975 Added use of SPI_createAccessibleKeySet API when creating a
976 listener for only one key. Attach a listener to "shift spacebar
977 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
978 X key event names to SPI key event names, so that listeners are
979 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
981 * test/keysynth-demo.c:
982 Changed (incorrect) use of X key event names (KeyPressed,
983 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
986 2001-12-12 Bill Haneman <bill.haneman@sun.com>
988 * libspi/accessible.c:
989 Convert all AtkRole enumerations to Accessibility_Role enums when
990 getting a role from an AtkObject.
992 * cspi/spi_accessible.c:
993 Complete the conversion of Accessibility_Role enums at runtime to
994 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
995 role enums correctly match those given in spi-roletypes.h.
996 Re-synchronize the local names list for AccessibleRole_getName ().
997 AccessibleRole_getName is now deprecated, since it duplicates the
998 more reliable Accessible_getRoleName.
999 Added some role types from Accessibility_Role.idl.
1001 * idl/Accessibility_Role.idl:
1002 Added some role types used by AtkRole.
1004 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1007 * cspi/spi_registry.c:
1009 * cspi/cspi-bonobo-listener.c:
1010 Namespaced all methods that did not begin with an "SPI_" or
1011 "Accessible" prefix to "SPI_".
1014 Homogenized internal function namespace to "cspi_" for statics.
1017 Patched tests to use the new CSPI API.
1019 * docs/reference/cspi/at-spi-cspi-sections.txt:
1020 Updated docs to reflect namespace changes, and added a number of
1021 methods to the documentation.
1023 * registryd/registry.c:
1024 Changed use of strings and string hashes in listener event
1025 matching and parse_event_string to use GQuark, which is guaranteed
1028 * registryd/registry.h:
1029 Squashed annoying warning.
1031 * idl/Accessibility_Role.idl:
1032 Extended range of available Accessibility_Role values.
1034 * cspi/spi_accessible.c:
1035 Re-ordered role names.
1037 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1039 * idl/Accessibility_Value.idl:
1040 Revert use of union back to CORBA_double, since the double type is
1041 more efficient and can contain the other types without loss of
1044 * idl/Accessibility_Accessible.idl:
1045 Added method Accessibility:Accessible:getRoleName, to complement
1046 Accessibility:Accessible:getRole.
1048 * cspi/spi_accessible.c:
1050 Added C binding for above, Accessible_getRoleName (), and changed
1051 signature of Accessible_getRole () to return an AccessibleRole.
1053 * cspi/spi-roletypes.h:
1054 Changed AccessibleRole_getName to return a char * instead of a
1055 const char *. This method is now at least temporarily deprecated
1056 in favor of asking Accessibles for their RoleNames directly.
1059 Revert to match Accessibility_Value.idl;
1063 Change signature of AccessibleValue methods to use double rather
1067 * cspi/spi_accessible.c:
1068 Changed Accessible_getRole to return an AccessibleRole enum rather
1069 than a UTF-8 string. The UTF-8 string can still be obtained via
1070 AccessibleRole_getName ().
1072 * test/test-simple.c:
1073 Add test_action. Small fixup to match API change to Accessible_getRole.
1076 Bugfix for get_action_from_servant ().
1078 2001-12-11 Michael Meeks <michael@ximian.com>
1080 * libspi/libspi.h: remove registry.h and
1081 desktop.h, deviceeventcontroller.h
1083 * libspi/Makefile.am: remove registry.[ch],
1084 desktop.[ch], deviceeventcontroller.[ch]
1086 * registryd/Makefile.am: add registry.[ch],
1087 desktop.[ch], rename registryd.c to registry-main.c.
1088 add deviceeventcontroller.[ch]
1090 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1093 Replace setenv() call with putenv ().
1095 * libspi/component.c:
1096 Bugfix in AccessibleComponent_getExtents (),
1099 2001-12-11 Michael Meeks <michael@ximian.com>
1101 * libspi/image.c (impl_getImageExtents): impl.
1102 (spi_image_class_init): upd.
1105 (AccessibleImage_getImageDescription): fix daft bug
1108 * test/test-simple.c (global_listener_cb): update
1109 to only quit if not --poke
1110 (main): catch --poke.
1111 (validate_accessible): upd. dumping, call test_image
1114 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1117 * idl/Accessibility.idl: update all IDL includes.
1119 * idl/*.idl - rename to namespace - this sucks, blame
1120 mjs' bad decision for oafd.
1122 * test/test-simple.c (create_test_window): add more tests.
1123 (create_tree): split this out.
1124 (validate_accessible): bugfix.
1126 2001-12-11 Michael Meeks <michael@ximian.com>
1128 * cspi/bonobo/cspi-bonobo-listener.c:
1129 (cspi_kestroke_listener_unref),
1130 (cspi_event_listener_unref): impl. undoing previous
1131 homenous environment - for Bill.
1133 * cspi/spi_table.c (long_seq_to_array): use
1136 * cspi/spi_main.c: split out all bonoboish bits into
1139 * cspi/spi-impl.h: upd. typedefs.
1141 * cspi/spi_registry.c: update to lowlevel API,
1142 return booleans to indicate success in some places.
1144 * cspi/spi_event.c: update to lowlevel API.
1146 * cspi/bonobo/Makefile.am: add.
1148 * cspi/bonobo/cspi-lowlevel.h: add
1150 * cspi/bonobo/cspi-bonobo.c: add
1152 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1154 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1155 (SUBDIRS): add bonobo, link in the libs.
1157 * cspi/spi-util.c: kill this file.
1159 * TODO: merge in my bits.
1161 2001-12-11 Michael Meeks <michael@ximian.com>
1163 * test/test-simple.c (test_value, test_table, main):
1164 remove unused variables causing warnings.
1166 * configure.in: cleanup checks - require gail.
1168 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1171 Changed Value interface to use SValue (scalars) rather than
1172 assuming all values are floats. This allows floats, doubles,
1173 longs, shorts, and unsigned values to be manipulated.
1174 Introduced Accessibility:SValue union.
1177 Updated to use new API above, and to work correctly with GValues
1178 of different types in AtkValue.
1181 Updated to use new API above. cspi's API is as yet unchanged.
1184 Updated the Value revision action item.
1186 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1188 * test/test-simple.c:
1189 Added test_table (GtkTreeView widget in test window to follow).
1190 Un-commented test_value, added GtkRange widget.
1191 Added GtkTreeView widget with GtkListStore. It passes regression
1192 test but leaks one SPI object for some reason.
1195 Fixed bug in impl__set_currentValue.
1197 2001-12-10 Michael Meeks <michael@ximian.com>
1199 * cspi/spi_text.c: audit for exception handling,
1200 tolerating NULL object references safely etc.
1202 * cspi/spi_value.c: ditto.
1204 * cspi/spi_table.c (AccessibleTable_getSummary),
1205 (AccessibleTable_getAccessibleAt),
1206 (AccessibleTable_getRowHeader),
1207 (AccessibleTable_getColumnHeader),
1208 (AccessibleTable_getCaption): fix bugs hidden by
1210 (long_seq_to_array): impl.
1211 (AccessibleTable_getSelectedRows),
1212 (AccessibleTable_getSelectedColumns): use it.
1214 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1217 Added a TODO list (rough and short for now).
1219 * cspi/spi_hyperlink.c:
1220 * cspi/spi_hypertext.c:
1221 Fixed macro name typos, and remove use of obsolete macro in
1222 AccessibleHyperlink_getLink.
1224 * cspi/spi_action.c:
1225 * cspi/spi_accessible.c:
1226 * cspi/spi_application.c:
1227 * cspi/spi_component.c:
1228 * cspi/spi_selection.c:
1231 Documentation fixes (removed return values from ref/unref methods).
1233 2001-12-10 Michael Meeks <michael@ximian.com>
1235 * cspi/spi_action.c: audit for exception handling,
1236 tolerating NULL object references safely etc.
1238 * cspi/spi_accessible.c: ditto.
1240 * cspi/spi_component.c: ditto.
1242 * cspi/spi_editabletext.c: ditto.
1244 * cspi/spi_hyperlink.c: ditto.
1246 * cspi/spi_hypertext.c: ditto.
1248 * cspi/spi_image.c: ditto.
1250 * cspi/spi_selection.c: ditto.
1252 2001-12-10 Michael Meeks <michael@ximian.com>
1254 * configure.in: use cspi/libspi.pc.in instead.
1256 * Makefile.am (pkgconfig_DATA): upd. to match.
1258 * test/simple-at.c (report_focus_event): kill hacks around
1259 bad return values, use putenv not setenv
1261 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
1262 fire ChildGone - I killed it.
1264 * libspi/component.c
1265 (impl_accessibility_component_get_extents): remove
1268 * idl/Accessible.idl: kill ChildGone exception.
1270 * cspi/*.[ch]: kill int return from ref / unref.
1272 * cspi/spi_main.c (cspi_object_add_check): fold into
1273 (cspi_object_add): here.
1275 * cspi/spi_component.c (AccessibleComponent_getExtents):
1276 handle exceptions elegantly.
1278 * cspi/spi-private.h (cspi_check_ev_return),
1279 (cspi_return_if_fail): impl.
1281 * cspi/spi_accessible.c: use extensively.
1282 (AccessibleStateSet_equals): add direct compare check.
1284 * cspi/spi_selection.c: tolerate NULL objs, and check
1285 exceptions before return.
1287 * cspi/spi-util.c (cspi_warn_ev): rename to
1288 (cspi_check_ev): this & don't pass ev in; no point.
1290 2001-12-10 Michael Meeks <michael@ximian.com>
1292 * test/test-simple.c: use putenv not setenv
1293 (get_environment_vars): more chatty if you're not using
1296 * test/simple-at.c: do the setenv so more people see the
1299 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1301 * libspi/registry.c:
1302 Changed check of CORBA_environment on notification to be a warning
1303 instead of an error for the moment, since we can recover from this
1304 error when caused by a queued notification from a dead app.
1307 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
1308 used by all current implementors of AtkValue), and coerce to
1309 CORBA_float. (Proper general case fix may require change to Value.idl).
1311 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1315 * cspi/spi_accessible.c:
1316 Documentation fixes: added user_data params to documentation for
1317 listeners and callbacks.
1319 * cspi/spi_accessible.c:
1320 Changed AccessibleStateSet_compare to return a
1321 StateSet rather than return the difference set into a third parameter.
1324 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1327 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
1328 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
1332 Remove subdirectory po from SUBDIRS for now.
1334 * at-bridge/bridge.c:
1335 Beefed up a couple of debug printouts.
1336 One-line fix for signal notification name formatting.
1338 * libspi/accessible.c:
1339 Added assertion to spi_accessible_new ().
1341 * libspi/application.c:
1342 Put #ifdef qualifiers around a printf.
1345 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
1347 * registryd/Makefile.am:
1349 Replaces use of XML_I18N_MERGE_SERVER_RULE with
1350 INTLTOOL_SERVER_RULE macro.
1353 Added an event listener for several ATK signals, for
1354 testing and debugging. Removed a few g_warnings.
1355 Added test output if focussed item implements the Value interface.
1357 * test/test-simple.c:
1358 Added test_value () function (known not to pass at the moment, so
1359 not actually called yet.
1361 2001-12-08 Michael Meeks <michael@ximian.com>
1363 * at-bridge/bridge.c (bridge_focus_tracker),
1364 (emit_eventv): fix the same ref. leak.
1365 (register_atk_event_listeners): don't leak.
1367 * cspi/spi-listener-impl.c (cspi_event): more
1368 protection from client code.
1370 * test/test-simple.c (test_desktop): unref the app.
1372 * test/Makefile.am: upd. TESTS.
1374 * at-bridge/bridge.c (bridge_exit_func): release the registry.
1376 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
1378 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
1380 * cspi/spi_registry.c: constify in strings.
1381 (deregisterGlobalEventListenerAll): don't release the ref.
1383 * cspi/spi.h: start removing redundant / conflicting
1384 gtkdoc comments, making the API readable at a glance :-)
1386 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
1388 * test/keysynth-demo.c (keysynth_exit, main): upd.
1390 * test/simple-at.c (main, simple_at_exit): upd.
1392 * test/test-simple.c (unutterable_horror): kill.
1393 (utterable_normal_derefs): kill.
1394 (main): upd & do a setenv before gtk_init, so that we
1395 can use memprof - and to save the pain of remembering
1396 this, if we're running under memprof - don't exit.
1398 * cspi/spi_main.c (SPI_exit): return exit status
1400 (SPI_event_quit): impl.
1401 (SPI_event_main): simplify.
1402 (cspi_is_gnome_app): kill.
1403 (SPI_init): kill isGNOMEapp arg.
1405 * at-bridge/bridge.c (register_atk_event_listeners):
1406 re-instate the unref.
1407 (bridge_exit_func): don't re-activate the registry,
1408 protect vs. theoretical re-entry, use the
1409 AT_BRIDGE_SHUTDOWN env. var to determine whether to
1410 assert a clean shutdown - for regression tests.
1412 2001-12-08 Abel Cheung <maddog@linux.org.hk>
1414 * configure.in: Comment out dummy i18n support for now,
1415 otherwise it fails to build.
1416 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
1417 EXTRA_DIST. They are missing in tarball.
1419 2001-12-07 Michael Meeks <michael@ximian.com>
1421 * util/magnifier.c: kill bonobo activation reg. race.
1423 * libspi/component.c
1424 (impl_accessibility_component_get_extents): make it match
1427 * libspi/registry.c (_registry_notify_listeners):
1428 re-remove X headers & reconcile conflicts.
1429 (spi_listener_struct_free): bad conflict resolve.
1430 (impl_accessibility_registry_register_application):
1431 more bad merging fixed.
1432 (impl_accessibility_registry_deregister_application): ditto.
1433 (spi_registry_new): ditto.
1434 (spi_registry_init): don't have an applications field.
1436 [ merge fixups2 branch to here ]
1437 2001-12-07 Michael Meeks <michael@ximian.com>
1439 * test/simple-at.c (report_focus_event),
1440 (report_focussed_accessible): remove g_warning debug.
1442 2001-12-07 Michael Meeks <michael@ximian.com>
1444 * test/test-simple.c (validate_tree): comment out some checks.
1445 (test_desktop): app now not registered idly - horay.
1447 2001-12-07 Michael Meeks <michael@ximian.com>
1449 * cspi/spi_registry.c
1450 (registerAccessibleKeystrokeListener): clean, stop it leaking
1451 great swathes of memory, and device event controller references.
1452 ensure we always pass valid sequences.
1453 (deregisterAccessibleKeystrokeListener): ditto.
1454 (generateKeyEvent): upd.
1456 * at-bridge/bridge.c (bridge_key_listener): handle
1457 registry dead exception gracefully.
1458 (bridge_focus_tracker, emit_eventv): free ev.
1460 * test/simple-at.c (report_focus_event): fix polarity.
1462 * libspi/application.c (notify_listeners): kill the ev
1463 argument, and make sure we init the ev we use.
1464 (spi_application_object_event_listener): split out a chunk
1465 (get_atk_object_ref): here & fixup.
1466 (reverse_lookup_name_for_toolkit_event): make const.
1467 (spi_application_toolkit_event_listener): fixup, kill leaks
1470 * at-bridge/bridge.c (register_atk_event_listeners):
1471 don't unref the noop object - causes grief.
1473 * libspi/registry.c: remove the X headers.
1474 turn off the debug churn.
1476 * libspi/accessible.c (spi_accessible_new_return): only
1477 release the ref if we are supposed to [doh]
1479 * test/simple-at.c (report_button_press, report_focus_event):
1480 guard vs. unexpected exit.
1482 * at-bridge/bridge.c (gtk_module_init): prune printf.
1483 (bridge_exit_func): fix app unref.
1485 * libspi/Makefile.am: don't install registry or desktop.h
1487 * libspi/*.h: update includes.
1489 * libspi/application.h: don't include ourself, or
1490 other redundant headers.
1492 2001-12-06 Michael Meeks <michael@ximian.com>
1494 * libspi/accessible.c
1495 (get_accessible_from_servant): impl.
1496 Upd. all CORBA impl.s to use it killing cut and paste.
1498 * cspi/spi_main.c (cspi_cleanup): guard vs. double
1500 (SPI_init): register atexit cleanup handler here.
1502 2001-12-06 Michael Meeks <michael@ximian.com>
1504 * at-bridge/bridge.c (gtk_module_init): g_error on
1505 activation exception
1507 2001-12-06 Michael Meeks <michael@ximian.com>
1509 * at-bridge/bridge.c (gtk_module_init): some sort of
1510 confusing merge clash - reverted.
1511 (bridge_idle_init): ditto.
1513 * test/test-simple.c (main, utterable_normal_derefs):
1514 merge from Bill - somehow not committed.
1516 2001-12-06 Michael Meeks <michael@ximian.com>
1518 * libspi/value.c (spi_value_class_init): upd.
1519 (spi_value_finalize): kill.
1521 * libspi/table.c (spi_table_finalize): kill.
1522 (spi_table_interface_new): upd.
1523 (spi_table_class_init): upd.
1524 (get_table_from_servant): impl.
1525 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1527 * libspi/selection.c (spi_selection_finalize): kill.
1528 (spi_selection_interface_new): upd.
1529 (spi_selection_class_init): upd.
1530 (get_selection_from_servant): impl.
1531 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1533 * libspi/relation.c (spi_relation_finalize): kill.
1534 (spi_relation_class_init, spi_relation_new): upd
1536 * libspi/image.c (spi_image_finalize): kill.
1537 (spi_image_class_init): upd.
1538 (spi_image_interface_new): upd.
1539 (get_image_from_servant): impl.
1540 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1542 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
1543 (spi_hyperlink_finalize): kill.
1544 (spi_hyperlink_new): upd.
1545 (get_hyperlink_from_servant): impl.
1546 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1548 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
1549 (spi_hypertext_finalize): kill.
1550 (spi_hypertext_class_init): upd.
1551 (get_hypertext_from_servant): impl.
1552 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1554 * libspi/editabletext.c (spi_editable_text_finalize): kill.
1555 (spi_editable_text_interface_new): upd.
1556 (get_editable_text_from_servant): impl.
1557 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1559 * libspi/text.c (get_text_from_servant): impl.
1560 All impls - update to use it killing more cut and paste,
1561 also fix bad string returns on duff args ( a somewhat
1562 impossible case to handle - but hey ).
1563 (spi_text_construct): impl.
1564 (spi_text_interface_new): upd.
1565 (spi_text_object_finalize): kill.
1567 * libspi/component.c
1568 (accessibility_component_object_finalize): kill.
1569 (spi_component_class_init): upd.
1570 (get_component_from_servant): impl. helper to kill cut & paste.
1571 (impl_accessibility_component_contains):
1572 (impl_accessibility_component_get_accessible_at_point):
1573 (impl_accessibility_component_get_position):
1574 (impl_accessibility_component_get_extents):
1575 (impl_accessibility_component_get_mdi_z_order):
1576 (impl_accessibility_component_get_layer):
1577 (spi_component_interface_new): upd.
1579 * libspi/action.c (spi_action_finalize): kill.
1580 (spi_action_class_init): upd. inherit from SpiObject.
1581 (spi_action_interface_new): upd.
1582 (get_action_from_servant): impl. helper to reduce cut & paste.
1583 (impl_getKeyBinding, impl_getName, impl_doAction),
1584 (impl_getDescription): Use it everywhere.
1586 * cspi/spi_main.c (get_live_refs): a pointer hash.
1587 (spi_object_hash, spi_object_equal): comment out.
1588 There are issues with CORBA object hashing that need
1591 * libspi/application.c (spi_application_init),
1592 (spi_application_new): upd.
1594 * libspi/accessible.c (spi_accessible_object_finalize): kill.
1595 (spi_accessible_class_init): upd.
1596 s/accessible/object/ in epv methods.
1598 2001-12-05 Bill Haneman <bill.haneman@sun.com>
1600 * at-bridge/bridge.c:
1601 Reorder the bridge initialization into the bridge gtk_module_init,
1602 an immediate call to bridge_register_app, and an idle_add for
1603 register_atk_event_listeners (the only code that *must* wait until
1604 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
1605 the activation, creates the application's Accessible object, and
1606 queues the bridge_idle_init function. Restored call to
1607 Accessibility_Registry_deregisterApplication().
1608 Prior to making this call we obtain a new reference to the
1609 registry, which is a temporary hack that helps us handle apps that
1610 shut down the bonobo mainloop before we get there.
1612 * libspi/registry.c:
1613 Fix string leakage in debug block, and don't segv if a an app
1614 dies before its event notifications have been propagated.
1617 Modify cspi_check_ev() to call g_warning() rather than g_error(),
1618 as stopgap measure until we get proper exception handling when
1619 objects die during or before interrogation.
1623 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
1624 Also changed default value of is_gnome_app to TRUE.
1627 * test/keysynth-demo.c:
1628 Changed use of SPI_init and SPI_event_main to reflect API change above.
1631 Made report_focus_event check the warning value from getName
1632 before reporting on focussed accessible; simplifies handling of
1633 notifications from dead objects.
1635 * test/test-simple.c: (Changes not in this patch since source is
1638 2001-12-05 Michael Meeks <michael@ximian.com>
1640 * registryd/registryd.c (main): protect against
1641 bonobo-activation startup race condition.
1643 * cspi/spi_main.c (cspi_object_add_check): cope
1644 with the exception elegantly.
1646 * idl/Accessible.idl: decl. ChildGone
1648 * libspi/desktop.c (spi_desktop_dispose): impl.
1649 (spi_desktop_class_init): upd.
1650 (spi_desktop_add_application),
1651 (spi_desktop_remove_application),
1652 (abnormal_application_termination): impl.
1653 (impl_desktop_get_child_at_index): re-impl.
1656 (impl_accessibility_registry_deregister_application),
1657 (impl_accessibility_registry_register_application):
1658 kill excessive debug clutter.
1660 * test/test-simple.c (test_misc): test some NULL
1661 tolerance. (main): upd.
1663 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
1664 implements no interfaces - so let's not crash.
1666 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
1668 * libspi/accessible.c (spi_accessible_new_return): impl.
1669 helper to calm the cut and paste, to cope with
1670 NULL AtkObjects effectively and efficiently, and to kill
1671 the referencing bugs.
1673 * libspi/table.c (impl_getAccessibleAt),
1674 (impl_getRowHeader, impl_getColumnHeader): upd.
1676 * libspi/hyperlink.c (impl_getObject): upd.
1678 * libspi/accessible.c
1679 (impl_accessibility_accessible_get_child_at_index): upd.
1681 * libspi/component.c
1682 (impl_accessibility_component_get_accessible_at_point): upd.
1684 * test/test-simple.c (test_editable_text, test_text): impl.
1687 * cspi/spi_editabletext.c
1688 (AccessibleEditableText_insertText): constify.
1690 * test/test-simple.c (focus_me): make more robust.
1692 * libspi/accessible.c: remove some printfs in methods that
1693 we test and work fine, so we can get a clean tree dump.
1695 * test/test-simple.c (validate_accessible),
1696 (validate_tree): make tree dumping pretty too.
1698 * at-bridge/bridge.c (bridge_signal_listener): upd. so
1699 it builds without debug on.
1701 * test/test-simple.c (validate_accessible): fix the most
1704 * cspi/spi_main.c (spi_object_release): leave the nicely
1705 blanked memory around if in debug mode.
1707 * cspi/spi-listener-impl.c (cspi_event): use add_check.
1709 [committed to fixups2]
1710 2001-12-05 Michael Meeks <michael@ximian.com>
1712 * libspi/editabletext.c
1713 (spi_editable_text_class_init): g_type_class_peek_parent,
1714 not interface peek - so we finalize cleanly.
1716 * libspi/accessible.c (spi_accessible_new): kill debug.
1718 * test/test-simple.c (validate_accessible): fix ref.
1719 leak, print strings before freeing them; sigh, comment a
1720 chunk out due to strangeness.
1721 (validate_tree): unref the child after use.
1723 * cspi/spi_component.c (AccessibleComponent_getLayer):
1724 add missing break statement, switch on zlayer not the
1725 uninitialized retval.
1727 * cspi/spi_main.c (cspi_object_add): add assert, local ref
1728 before (possibly re-entering) remote unref.
1730 * test/simple-at.c (main): unref the desktop.
1732 * cspi/spi_accessible.c (cspi_accessible_is_a): move
1735 * cspi/spi_main.c (cspi_accessible_is_a): here to
1736 isolate bonobo API usage more.
1738 * libspi/registry.c (impl_accessibility_registry_register_application):
1739 prune bogus comment.
1741 2001-12-04 Michael Meeks <michael@ximian.com>
1743 * test/test-simple.c (validate_tree): upd.
1744 IndexInParent check to make it more lucid.
1745 (validate_accessible): dump the tree.
1747 * libspi/accessible.c (de_register_public_ref),
1748 (get_public_refs): impl.
1749 (spi_accessible_new): make more efficient & intuitive.
1750 Now IndexInParent check works.
1752 2001-12-04 Michael Meeks <michael@ximian.com>
1754 * cspi/spi-util.h: remove.
1756 * cspi/spi.h: move SPI_freeString here
1758 * libspi/component.c (impl_accessibility_component_get_layer):
1760 (impl_accessibility_component_get_mdi_z_order): ditto,
1761 return -1 on error - is this ok ?
1763 * test/test-simple.c (test_application): impl.
1765 * cspi/spi_accessible.c (Accessible_getApplication),
1766 (Accessible_isApplication): impl.
1768 * libspi/registry.c (spi_listener_struct_free): release
1769 the CORBA reference too.
1771 * libspi/accessible.c
1772 (impl_accessibility_accessible_get_parent): fix ref leak.
1774 * libspi/registry.c (spi_registry_new): make the registry
1775 immortal - we don't want it to go away ever.
1777 * libspi/application.c
1778 (spi_accessible_application_finalize): impl. cleanup.
1780 * cspi/spi_registry.c
1781 (deregisterGlobalEventListenerAll),
1782 (deregisterGlobalEventListener),
1783 (deregisterAccessibleKeystrokeListener): fix ref leak.
1785 * cspi/spi_main.c (SPI_init): remove redundant ref.
1787 * test/test-simple.c (unutterable_horror): impl. to force a
1792 (impl_accessibility_registry_deregister_application): release
1793 the application when we de-register it.
1795 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1796 until we have the infastructure to get it right.
1798 2001-12-03 Michael Meeks <michael@ximian.com>
1800 * libspi/Makefile.am: only build eventlistener.[ch]
1802 * libspi/accessible.c
1803 (impl_accessibility_accessible_get_child_at_index): don't leak.
1805 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1806 before we hit the idle handler.
1808 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1809 debugging than exit.
1811 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1813 * libspi/listener.c (impl_notify_event): check source
1814 not NIL before unref.
1816 * libspi/registry.c (impl_registry_notify_event): ditto.
1818 * libspi/eventlistener.c
1819 (impl_accessible_event_notify_event): unref the source.
1821 * libspi/accessibleeventlistener.c
1822 (impl_accessible_event_notify_event): unref the source.
1824 * idl/Event.idl: remove 'hash_id' attribute - of no
1827 * libspi/application.c (notify_listeners): upd list
1829 (spi_application_object_event_listener),
1830 (spi_application_toolkit_event_listener): upd to do correct
1834 (_registry_notify_listeners): update.
1835 (parse_event_type): this method also leaks like a sieve.
1836 (impl_accessibility_registry_deregister_global_event_listener):
1837 fix ETYPE_WINDOW case.
1839 * libspi/application.c
1840 (impl_accessibility_application_register_object_event_listener):
1843 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1845 * libspi/hypertext.c (impl_getLink): ditto.
1847 * cspi/spi_main.c (cspi_object_add): remove
1848 bogus CORBA_Object_duplicate.
1850 * cspi/spi-listener-impl.c (cspi_event): dup/ref
1853 * cspi/spi_accessible.c
1854 (Accessible_getRelationSet): fix leak / referencing issue.
1856 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1857 (cspi_object_add, cspi_object_unref): upd.
1858 (spi_object_release, get_live_refs): impl.
1859 (cspi_cleanup): simplify.
1861 * *.[ch]: s/boolean/SpiBoolean/
1863 * cspi/spi_accessible.c (role_names): actualy order so it
1864 corresponds with the enum !
1866 * test/test-simple.c (test_roles): check some role strings
1867 vs. enums to detect offset errors.
1869 2001-12-01 Michael Meeks <michael@ximian.com>
1871 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1873 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1875 (Accessible_getChildAtIndex): use cspi_add_check so we
1876 check the ev before using a (possibly) invalid value.
1878 * libspi/accessible.c
1879 (impl_accessibility_accessible_get_parent): don't segv
1882 * at-bridge/bridge.c (gtk_module_init): upd.
1883 (bridge_property_event_listener): don't leak strings
1885 (bridge_state_event_listener),
1886 (bridge_property_event_listener): don't use a static
1887 buffer in case of recursive event emission &
1888 re-enterancy - split out the swathe of cut and paste
1890 (emit_eventv): and fix 2 ref leaks here & comply to the
1892 (bridge_register_app): rename to
1893 (bridge_idle_init): this and kill arg parsing, split
1894 various inits & bonobo-activation registration to module
1895 init time, kill referencing error.
1896 (bridge_exit_func): fix the same leak.
1897 (bridge_focus_tracker): don't leak event structures
1899 (bridge_signal_listener): more leakage and cut & paste
1901 (bridge_key_listener): return the result - FIXME is
1902 this polarity correct ?
1903 (accessibility_keystroke_from_atk_key_event): rename
1904 (accessibility_init_keystroke_from_atk_key_event): and stop
1906 (gtk_module_init): return a value - not that it is checked by
1908 (bridge_key_listener): register my horror at casting between
1909 IDL defined structs.
1910 (bridge_get_registry): kill - not used.
1912 * cspi/spi_accessible.c (Accessible_getRole): make return const.
1914 * test/test-simple.c (test_roles): impl.
1915 (test_desktop, validate_accessible, validate_tree): impl.
1917 * cspi/spi_accessible.c (role_names): fixup bogus
1918 MAX_ROLES setup, make constants const for efficient linkage
1919 (AccessibleRole_getName): conform to coding style, make
1922 2001-11-30 Michael Meeks <michael@ximian.com>
1924 * cspi/spi.h: add missing prototype.
1926 * libspi/registry.c (spi_listener_struct_new): fix sig.
1928 * test/Makefile.am: add test-simple
1930 * test/test-simple.c: add
1932 * test/test.sh: add.
1934 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1936 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1937 do it straight - since otherwise we often get an activation race.
1939 [ work before Bill duplicated a chunk of it ... ]
1940 2001-11-30 Michael Meeks <michael@ximian.com>
1942 * libspi/keystrokelistener.c
1943 (spi_keystroke_listener_class_init): fixup arg
1946 * libspi/eventlistener.c
1947 (spi_event_listener_class_init): ditto.
1949 * tests/test.sh: add.
1951 * cspi/spi-listener-impl.h: update macros.
1953 * cspi/spi-listener-impl.c
1954 (cspi_event_listener_remove_callback): add
1955 correct pre-conditions.
1957 * cspi/spi_main.c (SPI_exit): guard vs. double
1958 exits, exit the mainloop nicely.
1959 (SPI_event_main): make more sense.
1960 (SPI_init): move the atexit evilness here so we
1961 always do it (yuck).
1962 (SPI_event_main): upd.
1964 * test/simple-at.c: update for listener changes.
1966 * registryd/registryd.c (main): prune kruft.
1968 * libspi/libspi.h: upd.
1970 * libspi/eventlistener.[ch]: rename broken macros.
1972 * libspi/accessibleeventlistener.[ch]: remove.
1974 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
1976 * test/test-simple.c: Add - automated tests.
1978 * cspi/spi-listener-impl.c (cspi_event),
1979 (cspi_key_event): add user_data to invoke.
1980 (cspi_keystroke_listener_finalize): impl.
1981 (cspi_keystroke_listener_class_init): upd.
1984 (createAccessibleEventListener),
1985 (AccessibleEventListener_addCallback),
1986 (createAccessibleKeystrokeListener),
1987 (AccessibleKeystrokeListener_addCallback): upd.
1989 * libspi/deviceeventcontroller.c
1990 (spi_device_event_controller_check_key_event): add public proto.
1993 (impl_accessibility_registry_deregister_global_event_listener):
1994 always init listeners.
1995 (_registry_notify_listeners): yes it is.
1997 * cspi/spi-listener-impl.c (cspi_key_event):
1999 (cspi_event_listener_finalize): impl.
2000 (cspi_event_listener_class_init): hook up.
2001 (event_handler_new, event_handler_free),
2002 (event_list_remove_by_callback): impl.
2003 (cspi_event_listener_remove_callback),
2004 (cspi_keystroke_listener_remove_callback),
2005 (cspi_keystroke_listener_add_callback),
2006 (cspi_event_listener_add_callback): upd.
2008 * libspi/keystrokelistener.c
2009 (keystroke_listener_object_finalize): kill
2010 (spi_keystroke_listener_class_init): upd.
2011 (spi_keystroke_listener_add_callback),
2012 (spi_keystroke_listener_remove_callback): kill,
2014 (impl_key_event): prune drasticaly.
2016 * libspi/eventlistener.c
2017 (spi_event_listener_add_callback),
2018 (spi_event_listener_remove_callback): kill, use
2020 (impl_accessible_event_notify_event): upd.
2021 (spi_event_listener_object_finalize): remove.
2023 * libspi/Makefile.am: use eventlistener.[ch]
2025 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2027 * libspi/registry.c (_registry_notify_listeners):
2028 Changed listener loop iteration to use preferred convention.
2029 Got rid of string memory leaks caused be calling g_strconcat
2030 inside function calls.
2032 * libspi/registry.c (parse_event_type):
2033 Stopped g_strconcat memory leaks, free the g_strsplit return,
2034 g_strdup the split pieces when used, etc.
2036 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2039 Change method 'compare' to return a 'difference set' rather than
2040 taking a StateSet as an out parameter (more Java-friendly).
2042 * idl/Accessible.idl:
2043 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2045 * idl/Component.idl:
2047 Changed methods 'getExtents' and 'getImageExtents' in these
2048 interfaces to return a BoundingBox structure.
2049 (getPosition and getSize are redundant and possibly should be
2050 removed, rather than creating a corresponding Point struct.)
2052 * cspi/spi_component.c:
2053 Modify implementation of getExtents to reflect the above IDL
2058 Add (missing) AccessibleImage_getExtents () API.
2060 * docs/reference/cspi/at-spi-cspi-sections.txt:
2061 Added AccessibleImage_getImageExtents () to docs.
2063 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2065 * idl/Component.idl:
2066 Added two methods, getLayer () and getMDIZOrder (), to reflect
2067 the new ATK methods atk_object_get_layer and
2068 atk_object_get_mdi_z_order. (Which arguably should be part of the
2069 AtkComponent API and AtkObject). Also added an enum,
2070 ComponentLayer, for the first method's return value.
2072 * libspi/component.c:
2073 Added implementations for these methods.
2075 * cspi/spi_component.c:
2077 Added cspi binding methods for above,
2078 AccessibleComponent_getLayer() and
2079 AccessibleComponent_getMDIZOrder().
2080 Added cspi enum 'AccessibleComponentLayer'.
2082 * docs/reference/cspi/at-spi-cspi-sections.txt:
2083 Added above methods to docs.
2087 Changed typedef for 'boolean' type (and all references to it) to
2088 SPIBoolean, to avoid keyword clashes with C++.
2091 Changed usages of 'boolean' to SPIBoolean.
2093 * test/keysynth-demo.c:
2094 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2095 app), except where SPIBoolean is required by the callbacks API.
2097 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2099 * cspi/spi_registry.c:
2100 Removed obsolete X event loop for passive keygrabs (which now
2103 * registryd/registryd.c:
2104 Removed unnecessary call to gdk_init() [cruft]. This also allows
2105 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2108 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2110 * docs/reference/cspi:
2111 Included docs for SPI_freeString in generated documentation.
2114 Renamed spi_freeString to SPI_freeString, for consistency. Added
2115 documentation for this function.
2118 Renamed spi_freeString to SPI_freeString, for consistency.
2119 Removed obsolete method declaration string_from_corba_string.
2121 * test/keysynth-demo.c:
2122 Small tweak to comments.
2125 Stopped leaking the strings returned from CSPI.
2127 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2129 Merged Michael's branch (see his ChangeLog entries below).
2131 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2132 bridge is alive, release on exit.
2134 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2135 Fix type check macro.
2138 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2141 Added is_gnome_app static, and method cspi_is_gnome_app(),
2142 so we can call the appropriate shutdown routine at exit in SPI_exit.
2144 * cspi/spi_main.c (cspi_object_ref):
2145 Duplicate the corba object passed in, since we're keeping it around.
2147 * cspi/SPI_exit.c, cspi_cleanup:
2148 Moved the releasing of the live refs to its own function, so we
2149 can put it in g_atexit (). Call the appropriate shutdown API
2150 depending on whethe calling client is a gnome app or not
2151 (bonobo_main_quit or CORBA_ORB_shutdown).
2153 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2154 Unref the listener when this method is called, after
2155 deregistration. Updated the API docs to note this behavior.
2157 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2158 Bugfixes: Ref the bonobo object when returning a parent or child
2159 reference, or an AccessibleRelation. Generally made sure
2160 BonoboObject refcount is incremented whenever we return an
2163 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2164 Fixed typo/bug in signal declaration.
2166 * libspi/accessibleeventlistener.h:
2169 * libspi/application.c (spi_application_new):
2170 Fixed leak in initialization.
2173 Remembered to increment bonobo-object refcount when returning
2174 children (applications) from desktop object.
2175 Added (empty) finalize method.
2177 * libspi/deviceeventcontroller.c:
2178 Hold a ref to listeners inside DEControllerKeyListeners.
2179 Added dec_key_listener_free() method. Use prepend instead of
2180 append in key_listener list. Fixed some refcount madness and
2181 leaks in the listener registration/deregistration - deregistration
2182 now calls dec_key_listener_free() on listeners, and on the
2183 temporarily constructed dec_key_listener() used to perform the search/match.
2185 * libspi/hypertext.c (spi_hypertest_finalize):
2186 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2187 class. Also fixed spi_hypertext_interface_new() and
2188 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2190 * libspi/hypertext.h:
2191 Removed pointless and duplicate AtkObject pointer from
2194 * libspi/keystrokelistener.c:
2195 Fixed incorrect type of keystroke_listener_parent_class,
2196 renamed keystroke_listener_object_finalize to
2197 spi_keystroke_listener_object_finalize.
2198 Fixed typo in signal declaration
2199 (spi_keystroke_listener_class_init).
2201 * libspi/registry.c:
2202 Added funcsions spi_listener_struct_new() and
2203 spi_listener_struct_free() to help with memory management issues.
2204 We also now use these methods instead of gnew + poking stuff into
2205 the struct, and to decrement listener counts/free the listeners
2206 when deregistering them.
2207 Fix more refcount bugs in getDesktop() and
2208 getDeviceEventController().
2211 De-ref the desktop after enumerating the applications. Explicitly
2212 decrement the refcounts on the created listeners on exit (using
2213 _unref for keystroke listeners, and via the
2214 deregisterGlobalEventListenerAll command for other event
2217 2001-11-27 Michael Meeks <michael@ximian.com>
2219 * cspi/spi-listener.h: fixup enum.
2221 2001-11-27 Michael Meeks <michael@ximian.com>
2223 * cspi/spi-listener-impl.c (cspi_event_listener_new),
2224 (cspi_keystroke_listener_new): Use the cspi variants.
2226 2001-11-26 Michael Meeks <michael@ximian.com>
2228 * test/keysynth-demo.c: fix 2 compile warnings, missing
2231 * test/simple-at.c (report_focussed_accessible),
2232 (report_focus_event, report_button_press),
2233 (check_property_change, is_command_key),
2234 (report_ordinary_key_event, report_command_key_event): upd.
2236 * util/mag_client.h: include pre-requisites.
2238 * libspi/accessibleeventlistener.c
2239 (spi_event_listener_object_finalize): free any lingering
2242 * libspi/keystrokelistener.c
2243 (keystroke_listener_object_finalize): ditto.
2245 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
2246 callbacks, with cspi types.
2248 * cspi/spi_event.c (createAccessibleEventListener): chain to
2249 (AccessibleEventListener_addCallback): here.
2250 (createAccessibleKeystrokeListener): chain to
2251 (AccessibleKeystrokeListener_addCallback): here.
2253 * libspi/keystrokelistener.c
2254 (spi_keystroke_listener_class_init): add signal.
2255 (impl_key_event): emit the event.
2256 (boolean_handled_accumulator): impl.
2257 (marshal_BOOLEAN__POINTER): add, gack.
2259 * libspi/accessibleeventlistener.c
2260 (spi_event_listener_class_init): add signal.
2261 (impl_accessible_event_notify_event): emit the signal &
2262 make the loop efficient.
2263 (spi_event_listener_add_callback): prepend the callback.
2265 * libspi/accessibleeventlistener.h: add an 'event' signal,
2266 decl type on callback.
2268 * libspi/keystrokelistener.h: ditto.
2270 * cspi/spi-listener.h: make methods typesafe and
2271 make them use the new event typedefs.
2273 * test/simple-at.c (report_focussed_accessible):
2274 include mag_client.h
2275 Use *(void *)text_interface not the other thing.
2277 * configure.in: add gtk to registryd bits - since we use
2280 * util/magnifier.c: include libbonobo.h
2282 2001-11-25 Bill Haneman <bill.haneman@sun.com>
2284 * test/keysynth-demo.c:
2285 Turned this into a simple scanning keyboard, to demonstrate the
2286 use of g_timeout_add () as a means of creating timers for
2287 scanning, and the use of GtkStyle for visually indicating when
2288 virtual keyboard elements are selected.
2290 keysynth-demo now listens to any keyboard keys with zero-valued
2291 keycodes (i.e. 'unused' keys) and interprets them as
2294 Reworked the shiftlatch code so that shift-down state isn't held
2295 for long periods (it's only synthesized immediately prior to
2296 the keysynth event it's modifying). Note that shiftlatch in this
2297 demo is a convenience, not intended to take the place of AccessX
2298 which is the better choice for getting 'sticky' modifier keys.
2300 * libspi/deviceeventcontroller.c:
2301 * at-bridge/bridge.c:
2302 * cspi/spi_registry.c:
2303 Removed some debug print stuff, and put other verbosity in #ifdef
2308 Implemented some more of the magnifier IDL for the simple
2309 magnifier: namely, getZoomRegionParams.
2310 Added mag_x and mag_y members to MagnifierData struct, aid of this
2312 Added GtkWindow::realize signal handler to magnifier, to keep it
2313 from receiving keyboard focus from the WM.
2315 2001-11-23 Mark McLoughlin <mark@skynet.ie>
2317 * cspi/spi-private.h: my guess at what michael forgot
2318 before he ran off to NZ :-)
2320 2001-11-23 Michael Meeks <michael@ximian.com>
2322 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
2323 comment out non existant method invoke so we link.
2325 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
2326 use bonobo_exception_get_text for more friendly warnings.
2328 * cspi/spi.c (Obj_Add): move into spi_main & rename
2329 spi_object_add; kill spi.c
2331 * cspi/spi_registry.c
2332 (deregisterGlobalEventListener),
2333 (deregisterGlobalEventListenerAll),
2334 (registerGlobalEventListener): fix exception leaks.
2336 * cspi/spi_main.c (spi_exception): impl. helper, so we
2337 don't leak exceptions.
2339 * cspi/spi_selection.c
2340 (AccessibleSelection_deselectSelectedChild): return the
2343 * cspi/spi_main.c (spi_ev): impl; hack - gack.
2344 (spi_registry): ditto.
2345 (SPI_init): guard against double inits.
2347 * cspi/*.c: use spi_ev (), and spi_registry () where
2348 appropriate - a temporary hack until we have something
2349 better. Use spi_object_add
2351 2001-11-22 Michael Meeks <michael@ximian.com>
2353 * cspi/Makefile.am: re organise, install the headers.
2355 * cspi/*.h: add G_BEGIN/END_DECLS
2357 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2360 Added non-preemptive keylistener for key events with no modifiers
2361 and shift-only modifier.
2363 * libspi/keystrokelistener.c:
2364 Removed some verbose diagnostics printout.
2366 * cspi/spi_registry.c:
2367 Fixed a bug that caused all key listeners to be registered as
2370 * libspi/deviceeventcontroller.c:
2371 Fixed bug that caused XGrabKey (preemptive key grab) to be called
2372 for non-preemptive key masks.
2375 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2377 * docs/reference/idl/at-spi-idl-docs.sgml:
2378 * docs/reference/idl/at-spi-idl-sections.txt:
2379 * docs/reference/idl/at-spi-idl-overrides.txt:
2380 Added missing files.
2382 * docs/reference/Makefile.am:
2383 removed idl from SUBDIRS until we can figure a way to get gtk-doc
2384 to scan the IDL files :-(
2389 Added .cvsignore files.
2391 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2393 * libspi/deviceeventcontroller.c:
2394 * libspi/keystrokelistener.c:
2396 * cspi/spi_registry.c:
2397 Added filters for KeySets, KeyEventSeq, and event types to key
2398 event dispatching, so listeners should only receive those events
2399 that they requested :-)
2401 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2406 * docs/reference:Makefile.am:
2407 * docs/reference/cspi:
2408 * docs/reference/cspi:Makefile.am:
2409 * docs/reference/cspi:tmpl:
2410 * docs/reference/cspi:tmpl:*.sgml:
2411 * docs/reference/idl:
2412 * docs/reference/idl:Makefile.am:
2413 * docs/reference/idl:at-spi-idl-sections.txt:
2414 * docs/reference/idl:at-spi-idl-docs.sgml:
2415 * docs/reference/idl:tmpl:
2416 * docs/reference/idl:tmpl:*.sgml:
2418 Restructured docs directory to allow separate 'reference' docs
2419 section, and forked idl and cspi docs. Added the sgml template
2420 files to CVS. Added the first sections/structural sgml for the
2423 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
2425 * configure.in, libspi/Makefile.am: find libXtst.
2427 2001-11-21 Michael Meeks <michael@ximian.com>
2429 * test/accessx-gui.c: s/spi_value/value/ - doh.
2431 * libspi/base.[ch]: add.
2433 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2435 * idl/Accessible.idl:
2436 * idl/Application.idl:
2439 Started gtk-doc cleanup on IDL.
2441 * libspi/deviceeventcontroller.c:
2442 Added and connected non-preemptive key notification from the
2443 toolkits (in addition to the pre-emptive support from XServer
2444 which we had before, but which causes 'focus flashing'). Filters
2445 are presently limited to key modifiers and global/non-global,
2446 KeySets are presently ignored, as are KeyEvent masks.
2448 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
2449 structs into the persistant structure rather than just storing
2450 pointers to things that might not persist across servant
2453 The XGrabKey call now does async keygrabs, because synchronous
2454 ones were deadlocking with GDK_event code in a very nasty way.
2456 Added boolean to internal method notify_keylisteners, to indicate
2457 whether the event came from the 'toolkit source' or the 'global
2458 (XServer) source' - this is used in the notification process to
2459 determine which listeners to send the event to.
2461 deviceeventcontroller.c is now warning-free.
2463 * libspi/registry.c:
2464 Fixed regression in application de-registration.
2465 Also fixed some really brain-dead weirdness having to do with
2466 event dispatching - event structs are now duplicated before being
2467 re-marshalled in the dispatch to listeners. This also fixes a
2468 Solaris build problem.
2471 2001-20-11 Michael Meeks <michael@ximian.com>
2474 (impl_accessibility_registry_deregister_global_event_listener):
2477 * libspi/deviceeventcontroller.c
2478 (spi_device_event_controller_check_key_event): return
2479 FALSE on no virtual method.
2481 * libspi/*..h: make includes work on a correctly pathed install.
2483 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
2485 * libspi/application.h: kill unused ( and whacked out )
2486 gboolean *spi_application_set_id (AtkObject *app, long id);
2488 2001-20-11 Michael Meeks <michael@ximian.com>
2490 * libspi/*.[ch]: further convert to bonobo's type func
2491 macros, remove redundnant casts etc.
2493 * libspi/text.c s/accessibility_text/spi_text/g,
2494 re-order to de-cruft.
2496 * libspi/hypertext.c: re-order to kill a huge slew
2497 of redundant forward decls.
2499 * libspi/relation.c: ditto.
2501 * libspi/image.c: ditto.
2503 * */.cvsignore: update
2505 2001-20-11 Michael Meeks <michael@ximian.com>
2507 * libspi/deviceeventcontroller.c
2508 (_controller_register_with_devices): use g_getenv,
2509 kill stdlib.h include.
2511 * libspi/keystrokelistener.c
2512 (spi_keystroke_listener_get_type): kill
2513 (spi_keystroke_listener_class_init),
2514 (spi_keystroke_listener_init): rename to this.
2516 * libspi/text.c (impl_getAttributes): fix warning / bug.
2518 * libspi/*.[ch]: more headers, includes and over commenting.
2520 2001-20-11 Michael Meeks <michael@ximian.com>
2522 * libspi/*.[ch]: fixup headers, includes and over commenting.
2524 * libspi/image.c (impl__get_imageDescription): const
2525 correctness warning fix. remove redundant casting.
2527 * libspi/table.c (impl_getRowDescription): ditto.
2528 (impl_getColumnDescription): ditto.
2530 * libspi/libspi.h: add.
2532 2001-19-11 Michael Meeks <michael@ximian.com>
2534 * libspi/editabletext.c (impl_setAttributes): fix warnings.
2536 * libspi/component.c (accessibility_component_get_type):
2537 rename to (spi_component_get_type): and macroify.
2538 (accessibility_component_init): rename to
2539 (spi_component_init): this
2540 (accessibility_component_class_init): rename to
2541 (spi_component_class_init): this
2543 * libspi/action.c (spi_action_get_type): kill, use the macro.
2545 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
2548 * libspi/application.c (spi_application_object_event_listener),
2549 (impl_accessibility_application_register_object_event_listener):
2550 warning fixes / const understanding updates.
2552 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
2555 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2557 * libspi/spi_accessible.c: Added docs and C bindings for
2558 AccessibleStateSet. (No implementations yet). Documentation
2559 coverage for C bindings now 100%. Made docs for event listeners
2564 boolean notifyListenersSync (in DeviceEventListener listener,
2565 in DeviceEvent event);
2567 oneway void notifyListenersAsync (in DeviceEventListener listener,
2568 in DeviceEvent event);
2570 Added DeviceEventListener and DeviceEvent structs (may deprecate
2571 KeyStroke and KeystrokeListener in favor of this generic
2572 event/listener framework for devices).
2574 * libspi/deviceeventcontroller.c:
2576 Changed some key listener code to take masks, etc., and paved the
2577 way for integration of toolkit/non-preemptive key events. Changed
2578 signatures of some internal methods.
2580 * at-bridge/bridge.c:
2581 Fixed regression connecting to interface signals, apparently
2582 caused by GTK+ changes.
2584 Added an internal bridge_state_listener to deal with
2585 property-change:accessible-state signals.
2587 Changed the key_listeners GList to store structs (including masks,
2588 etc.) instead of just CORBA_Objects (required for full
2589 implementation of key listener API).
2591 Connected the bridge to all currently supported Atk signals.
2592 Events now supported:
2593 object:property-change
2594 object:property-change:accessible-name
2595 object:property-change:accessible-state
2596 object:property-change:accessible-description
2597 object:property-change:accessible-parent
2598 object:property-change:accessible-value
2599 object:property-change:accessible-role
2600 object:property-change:accessible-table-caption
2601 object:property-change:accessible-table-column-description
2602 object:property-change:accessible-table-column-header
2603 object:property-change:accessible-table-row-description
2604 object:property-change:accessible-table-row-header
2605 object:property-change:accessible-table-summary
2606 object:children-changed
2607 object:visible-data-changed
2608 object:selection-changed
2609 object:text-selection-changed
2611 object:text-caret-moved
2613 object:row-reordered
2615 object:column-inserted
2616 object:column-reordered
2617 object:column-deleted
2618 object:model-changed
2620 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2622 * libspi/hyperlink.c,h:
2623 Fixed some broken stuff in hyperlink.
2625 * libspi/relation.h:
2626 * libspi/relation.c:
2627 * cspi/spi_accessible.c:
2628 Initial implementations of AccessibleRelation methods, and docs.
2630 * libspi/accessible.c:
2631 Fixed a bug that caused SEGV if an accessible
2632 object's description is NULL, and a client
2633 requests it. An empty string is now returned.
2635 * cspi/spi_editabletext.c:
2636 * cspi/spi_hypertext.c:
2638 * cspi/spi_hyperlink.c:
2642 Doc coverage now 95%.
2644 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2646 One last namespacing revision:
2647 * libspi/accessibleeventlistener.[ch]:
2648 Renamed SpiAccessibleEventListener to SpiEventListener,
2649 (no need for two namespaces ;-)
2651 And lots of documentation fixes:
2653 * docs/at-spi-docs.sgml:
2654 Fixed 'underscore vs. hyphen' bug that was preventing
2655 the gtk-doc API docs from being automatically generated.
2658 * cspi/spi-listener.h
2660 * cspi/spi_accessible.c
2662 * cspi/spi_application.c
2663 * cspi/spi_component.c
2664 * cspi/spi_editabletext.c
2666 * cspi/spi_hypertext.c
2668 * cspi/spi_registry.c
2669 * cspi/spi_selection.c
2673 * docs/at-spi-docs.sgml
2674 * docs/at-spi-sections.txt
2676 Added and fixed up gtk-doc documentation in cspi.
2678 Interfaces now (fully) documented (subject to revision and enhancement):
2680 Event Listener Support
2682 AccessibleApplication
2686 AccessibleEditableText
2693 AccessibleRelationSet
2698 2001-14-11 Bill Haneman <bill.haneman@sun.com>
2700 * at-bridge/bridge.c:
2701 Initial work for toolkit-level key snooper connection by bridge.
2706 New typedefs and fixes to support new namespacing, and cleaner
2707 separation of cspi bindings from libspi bonobo implementation.
2708 Removed inconsistent and extraneous Spi* namespace prefix that
2709 had crept into cspi headers.
2710 Lots of comment fixes that sed had missed.
2712 * cspi/spi-roletypes.h:
2713 * cspi/spi-statetypes.h:
2714 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
2715 to AccessibleRoleType.
2717 * libspi/accessibleeventlistener.h:
2718 Fixed minor namespacing weirdness.
2720 * libspi/deviceeventcontroller.c:
2721 Reordered some internal API for device listeners.
2722 Changed the key registry final boolean to 'is_system_global'
2723 rather than 'is_synchronous', which is more descriptive of its
2725 Added spi_device_event_controller_new().
2726 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
2728 * libspi/keystrokelistener.[ch]:
2729 Namespaced KeystrokeListener to SpiKeystrokeListener.
2730 Changed uses of keymasks to use SPI_ prefix, and did other
2733 * libspi/keymasks.h:
2734 Namespaced keymask constants with SPI_ prefix.
2736 * libspi/registry.c:
2737 Some warning fixes, and knock-on fixes from namespace changes.
2740 Added rules for accessx-gui test program.
2742 * test/accessx-gui.c:
2743 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2744 utility. It doesn't actually use at-spi, but it's still cool and
2747 * test/keysynth-demo.c:
2751 Fixes so that these test clients work properly with the namespaced
2752 libraries. (Incompletely tested for technical reasons, fixes may follow)
2755 2001-13-11 Michael Meeks <michael@ximian.com>
2757 * libspi/application.c
2758 (impl_accessibility_application_get_version),
2759 (impl_accessibility_application_get_toolkit_name):
2761 (impl_accessibility_application_set_id),
2762 (impl_accessibility_application_get_id): remove
2763 redundant casting code.
2765 * libspi/action.c (impl_getDescription): fix warnings.
2767 * libspi/accessible.c
2768 (impl_accessibility_accessible_get_parent),
2769 (impl_accessibility_accessible_get_child_at_index),
2770 (impl_accessibility_accessible_get_state),
2771 (impl_accessibility_accessible_get_relation_set):
2772 warning fixes & include action.h
2774 2001-13-11 Michael Meeks <michael@ximian.com>
2776 * *.[ch] fix bits I screwed up:
2778 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2779 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2781 2001-13-11 Michael Meeks <michael@ximian.com>
2783 * *.[ch] Namespace libspi into spi_ and Spi.
2785 2001-13-11 Michael Meeks <michael@ximian.com>
2787 * Makefile.am: dist & install at-spi-1.0.pc
2789 * libspi/Makefile.am: install into at-spi-1.0
2791 * idl/Makefile.am (idldir): install into at-spi-1.0
2793 * at-spi-1.0.pc.in: add.
2795 * configure.in: build it.
2797 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2799 * test/keysynth-demo.c:
2800 Use a 'realize' signal-handler to set the WM properties for
2801 the virtual keyboard, rather than making it a "POPUP" type
2802 override-redirect window (thanks to anders carlsson for that
2805 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2808 * test/keysynth-demo.c:
2809 Added new test of key synthesis, which creates a simple
2810 (mouse-operated) onscreen keyboard. It inserts key events into
2811 the currently-focused window, thus it does not grab keyboard focus
2814 * cspi/spi_registry.c:
2815 Added C binding for AT-SPI generateKeyEvent.
2817 * libspi/deviceeventcontroller.c:
2818 Added call to XFilterEvent so that key listener works with XIM (we
2819 hope). Added event_synth_type to generateKeyEvent, so that we can
2820 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2821 synthesize a press/release pair for KeySyms.
2823 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2825 * libspi/Makefile.am:
2826 * registryd/Makefile.am:
2827 (temporary) hack to include libXtst in libspi and registryd.
2828 (Needed for keystroke synthesis, see below).
2831 Improved API for registerKeystrokeListener, in accordance with
2832 discussions with Gnopernicus team and X server research.
2834 * libspi/registry.c:
2835 * libspi/deviceeventcontroller.c:
2836 * libspi/accessible.c:
2837 * libspi/keystrokelistener.c:
2838 Changes and fixes to support keylisteners for potentially
2839 consumed key events (that is, 'passive grabs').
2840 Added implementation for generateKeyEvent() [untested].
2843 Changes to registerKeystrokeListener() API, as above.
2844 Added deregisterGlobalEventListenerAll(), and
2845 deregisterKeystrokeListener(), which are needed for clean exit of
2847 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2848 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2850 * cspi/spi_registry.c:
2851 Added implementations of function prototypes mentioned above.
2853 * registryd/registryd.c:
2854 Added the key listener event source as a g_timeout(), to allow
2855 receipt of key events that are not caught by GDK (since GDK
2856 doesn't support passive keygrabs, this was necessary).
2859 Changed to attach a keylistener to 'Alt' keys, and
2860 respond to the following keycommands: Alt-M (toggle magnifier);
2861 Alt-F (toggle speech); Alt-Q (quit).
2862 Added an exit routine to deregister the listeners, and a key
2863 listener that prints some key info to the console when a key
2864 matches the listener mask (and is thus received by the listener).
2866 * util/idl/Magnifier.idl:
2867 Changes to magnifier API to support multiple zoom regions,
2868 non-uniform scaling in x and y, markDirty, and a host of other
2869 features that would be useful to magnification.
2872 * util/mag_client.c:
2873 * util/mag_client.h:
2874 * util/mag_control.c:
2876 Source code changes to support the above IDL changes.
2879 As above, and also changes to use a (slower) generic conversion
2880 path for colormap conversions, since the fast RGB conversions have been
2881 reported to fail for 16-bit displays.
2883 2001-10-26 Michael Meeks <michael@ximian.com>
2885 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2887 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
2889 * at-bridge/Makefile.am: fix LDFLAGS.
2891 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2893 * at-bridge/bridge.c:
2894 Re-worked listeners for toolkit events, now we have signal
2895 and property listeners. Added a private method
2896 register_atk_event_listeners(), which registers with the
2897 various atk and gtk signals we need to monitor in order to emit
2899 Added emission hook for AtkObject:property-change events, to
2900 support the 'property listeners'.
2901 Fixed some alloc()s of Accessibility_Event structs to use CORBA
2904 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2905 which emit warnings and exit, respectively, if CORBA errors occur
2906 during remote calls, and we now use these methods to check most of
2907 our CORBA calls in the C bindings.
2909 * cspi/spi_accessible.c:
2910 Changed AccessibleSelection_refSelectedChild() to
2911 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2912 now increment refcounts.
2914 * cspi/spi_component.c:
2915 Fixed some long pointer casts (dangerous!) to pass pointers to
2916 CORBA_longs of the proper type to the CORBA stubs, and copy the
2917 data into the longs that were passed into the C bindings code.
2919 * at-bridge/bridge.c:
2921 * libspi/accessible.c:
2922 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2923 hyperlinks, AtkHyperlink is an object type.
2925 * libspi/application.c:
2926 Added various conversions to and from "generic" event types and
2927 atk-specific types; this is really part of the 'bridge'
2928 implementation but is valid for all AtkObject-based accessibility
2931 * libspi/editabletext.c:
2932 Fixed nasty bug wherein editable text's finalize method was
2933 unref'ing tha AtkObject reference that the text parent class was
2934 about to unref _again_. There was also a nasty inheritance bug
2935 that meant that the AccessibleEditableText class was corrupt.
2937 * libspi/selection.c:
2938 Provided implementations for some selection API that was broken.
2940 * idl/Application.idl:
2941 Added registerObjectEventListener () method.
2944 Fixed a number of return values that were Bonobo_Unknowns from
2945 bonobo_object_corba_objref(), which I
2946 forgot to dup before returning. Changed instances of
2947 bonobo_object_corba_objref (bonobo_object(o)) to
2948 BONOBO_OBJREF(o), for concision and clarity.
2950 <2001-10-13 Louise Miller <louise.miller@sun.com>
2952 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2953 idl/Event.idl, idl/Registry.idl
2954 Changed these files to include Bonobo_Unknown.idl instead
2957 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
2959 * libspi/component.c libspi/component.h:
2960 Fixed typo. Added assertions for object checks in
2961 AccessibleComponent code.
2963 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
2965 * idl/Accessible.idl:
2966 Added 'isEqual (Accessible *object)'
2967 method for Accessible. (Not Yet Implemented).
2970 Changed signature of registerKeystrokeListener() to
2971 take a KeySet and KeyEventSeq so that specific keys and event
2972 types could be requested for monitoring, and added a flag
2973 is_synchronous so that either synchronous or asynchronous
2974 notification could be requested. (However this is not all
2975 implemented yet). This also meant adding two new typedefs,
2976 KeyEventSeq and KeySet.
2979 Added two new relations, RELATION_TOOLTIP_FOR and
2980 RELATION_LEAFNODE_OF.
2983 Added new state, STATE_HAS_TOOLTIP.
2985 * libspi/text.c, editabletext.c:
2986 Added new assertions to all casts of bonobo-objects from
2987 CORBA servants, to prevent Text API calls on non-text objects.
2988 Changed suspect casts of int-pointer types, so that we
2989 always send a valid CORBA_long pointer to the CORBA APIs that use
2990 in/out long parameters. We then have to copy from the CORBA_long
2991 into the regular long or int for return to the C bindings, or
2992 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
2995 * libspi/deviceeventcontroller.c:
2996 Cleaned these sources up.
2998 Changed return type for getCharacterAtOffset to
2999 CORBA_unsigned_long, to allow for 32-bit characters.
3002 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
3006 Fixed 'make dist' so that distro compiles...
3007 * libspi/keymasks.h:
3009 * cspi/spi-listener.c:
3010 KeystrokeListenerCB now returns a boolean.
3012 Added KeyEventType struct, and KeyStroke.
3013 Also added createKeystrokeListener(),
3014 KeystrokeListener_addCallback(),
3015 KeystrokeListener_removeCallback(), and added a keymask to
3016 registerKeystrokeListener().
3017 * cspi/spi_accessible.c:
3018 Changed numerous return types for interfaces from
3019 AccessibleComponent to Accessible<InterfaceName>; this was
3020 probably a cut-and-paste error.
3022 Implementations of new KeystrokeListener api (from spi.h,
3025 Changes to key modifier mapping.
3026 Created ControllerEventMask struct.
3027 Made DeviceEventController derive from Bonobo::Unknown.
3029 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3030 * libspi/deviceeventcontroller.c:
3031 Added a number of new internal (private) methods.
3032 * libspi/editabletext.c:
3033 * libspi/editabletext.h:
3034 Fixed a number of bugs related to the fact that
3035 editabletext inherits from text. Fixed the EditableText struct,
3036 the init() call, and use correct casts when calling Text methods
3037 from an EditableText object. Removed (duplicate) atko from the
3038 EditableText structure, we use the one in the parent Text
3039 structure via the casts mentioned above.
3040 * libspi/keystrokelistener.[ch]:
3041 * libspi/registry.c:
3042 Changes in support of keyboard handling (above).
3044 Keyboard handling, though partly functional, is still not
3045 recommended for at-spi client use as there is considerable
3046 work yet to be done.
3049 Changed some places where pointers to various int types
3050 are cast to be pointers to CORBA_long types and vice-versa:
3051 pointer casting is not safe so we pass pointers of the correct
3052 types and then cast the result before putting it into the target
3055 * libspi/text.h: minor typos corrected.
3057 We now speak not only the name of a Text element, but the
3058 first sentence of its content, when it receives focus.
3059 I also changed the text compression to 75% from 50%.
3060 * util/Accessibility_Util.server.in:
3061 Changed the default magnifier type to be a 3x vertical
3062 splitscreen magnifier (was previously a 2x horizontal one).
3064 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
3066 * libspi/keystrokelistener.h:
3067 * libspi/keystrokelistener.c:
3068 Initial functional implementations of KeystrokeListener.
3071 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3073 Fixed string handling for NULL strings in libspi.
3074 Added spi_freeString to free strings returned by C bindings.
3076 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
3078 * libspi/keystrokelistener.h:
3079 * libspi/keystrokelistener.c:
3080 Began (no-op) implementations of KeystrokeListener
3082 * libspi/deviceeventcontroller.c:
3083 * libspi/deviceeventcontroller.h:
3084 Began creating implementations of DeviceEventController,
3085 to handle keystroke and mouse event listening and
3087 * libspi/accessible.c:
3088 Stubbed-in the implementations for
3089 Accessibility_Accessible_getState and
3090 Accessibility_Accessible_getRelationSet.
3091 * libspi/registry.c:
3092 Improved de-registration process and fixed some bugs,
3093 deregistration now works correctly.
3095 Added initialization of applications list (to NULL).
3097 Reduced speech compression from 0.5 to 0.7, for demo.
3098 Changed call to gdk_window_set_decorations()
3099 to gtk_window_set_decorated().
3100 * at-bridge/bridge.c:
3101 Bridge now deregisters when app exits, via
3102 registration of a cleanup function
3103 with the g_atexit() call.
3104 Required making 'app' static, renamed 'this_app'.
3105 Fixed broken use of bonobo_init, passing argv wrongly.
3107 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
3111 Created a new directory for
3112 accessibility-related utilities, primarily for
3113 testing and demo purposes, but with possible
3120 Onscreen magnifier utility that
3121 is implemented as a bonobo service.
3123 * util/mag_client.c:
3124 * util/mag_client.h:
3125 Client-side support (simple C bindings)
3126 for Magnification service
3128 * util/mag_control.c:
3129 Client program example for
3130 Magnification service
3132 * util/Accessibility_Magnifier.server.in:
3133 Bonobo-activation file for the
3134 Magnification service.
3137 * util/idl/Magnifier.idl:
3138 IDL defining the bonobo Magnification
3142 Modifications to use the bonobo-activated magnifier
3143 above, in place of trying to connect to an existing
3144 magnifier that uses socket-listening IPC.
3146 If env variable MAGNIFIER is set, a magnifier service
3147 will be started if one does not exist.
3149 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
3150 * at-bridge/bridge.c:
3151 applied patch from Marc to build and run
3152 against new glib and gtk+ (seemed like a change
3153 to bonobo_init signature was made ?)
3155 made festival-server support turned off by default.
3156 Added support for a simple magnifier (off by default)
3157 which will be added to a 'util' directory later.
3158 * at-bridge/Makefile.am:
3159 Changed "application.h" header from a 'source'
3160 to a 'dependency' of libat-bridge.
3162 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3170 Added interface implementation c files to list of
3171 includes so they are included in libcspi.
3174 Changed prototype of AccessibleAction_doAction to return a
3176 Changed prototype of AccessibleTable_getCaption to
3177 return an Accessible.
3178 Changed prototype of AccessibleTable_getSelectedRows
3179 and AccessibleTable_getSelectedColumns to
3180 return a long (returns the number of selected rows
3181 or columns respectively).
3182 Changed name of AccessibleText_refRunAttributes to
3183 AccessibleText_getAttributes.
3184 Changed prototype of AccessibleText_getCharacterExtents to
3185 return a void rather than a boolean.
3186 Added support for a AccessibleCoordType parameter
3187 specifying what type of coordinates are desired.
3188 Added an AccessibleCordType parameter to
3189 AccessibleText_getPointAtOffset.
3191 * cspi/spi_accessible.c:
3192 Added code to return the outstanding interfaces from
3193 Accessible_queryInterface.
3195 * cspi/spi_action.c:
3197 Corrected call to getNActions to call the c binding
3200 * cspi/spi_editabletext.c:
3202 Changed name from setRunAttributes to setAttributes.
3204 * cspi/spi_hyperlink.c:
3206 Changed call to getNAnchors to correctly call the c
3207 binding for an attribute.
3209 * cspi/spi_hypertext.c:
3211 Changed getImageDescription to correctly call the
3212 binding for an attribute.
3214 * cspi/spi_selection.c:
3215 Changed getNSelectedChildren to correctly call the c
3216 binding for the attribute.
3217 Changed refSelectedChild to getSelectedChild.
3221 Changed getCaption to return an Accessible.
3222 Fixed calls which retrieve attributes.
3223 Changed refAt to getAccessibleAt.
3224 Changed getNSelectedRows and getNSelectedColumns to
3228 Changed getCharacterExtents and getPointAtOffset to accept an
3229 AccessibleCoordType.
3231 Changed calls which retrieve attributes.
3232 Changed refRunAttributes to getAttributes.
3237 * idl/Hyperlink.idl:
3238 Changed n_anchors attribute to nAnchors to keep naming
3239 convention consistent.
3242 Made Table inherit from Bonobo::Unknown.
3243 Added nSelectedColumns and nSelectedRows attributes.
3246 Made Value inherit from Bonobo::Unknown.
3248 * libspi/hyperlink.c:
3249 Change for nAnchors attributte name change.
3251 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3259 Added interface implementation c files to list of
3260 includes so they are included in libcspi.
3263 Changed prototype of AccessibleAction_doAction to return a
3265 Changed prototype of AccessibleTable_getCaption to
3266 return an Accessible.
3267 Changed prototype of AccessibleTable_getSelectedRows
3268 and AccessibleTable_getSelectedColumns to
3269 return a long (returns the number of selected rows
3270 or columns respectively).
3271 Changed name of AccessibleText_refRunAttributes to
3272 AccessibleText_getAttributes.
3273 Changed prototype of AccessibleText_getCharacterExtents to
3274 return a void rather than a boolean.
3275 Added support for a AccessibleCoordType parameter
3276 specifying what type of coordinates are desired.
3277 Added an AccessibleCordType parameter to
3278 AccessibleText_getPointAtOffset.
3280 * cspi/spi_accessible.c:
3281 Added code to return the outstanding interfaces from
3282 Accessible_queryInterface.
3284 * cspi/spi_action.c:
3286 Corrected call to getNActions to call the c binding
3289 * cspi/spi_editabletext.c:
3291 Changed name from setRunAttributes to setAttributes.
3293 * cspi/spi_hyperlink.c:
3295 Changed call to getNAnchors to correctly call the c
3296 binding for an attribute.
3298 * cspi/spi_hypertext.c:
3300 Changed getImageDescription to correctly call the
3301 binding for an attribute.
3303 * cspi/spi_selection.c:
3304 Changed getNSelectedChildren to correctly call the c
3305 binding for the attribute.
3306 Changed refSelectedChild to getSelectedChild.
3310 Changed getCaption to return an Accessible.
3311 Fixed calls which retrieve attributes.
3312 Changed refAt to getAccessibleAt.
3313 Changed getNSelectedRows and getNSelectedColumns to
3317 Changed getCharacterExtents and getPointAtOffset to accept an
3318 AccessibleCoordType.
3320 Changed calls which retrieve attributes.
3321 Changed refRunAttributes to getAttributes.
3326 * idl/Hyperlink.idl:
3327 Changed n_anchors attribute to nAnchors to keep naming
3328 convention consistent.
3331 Made Table inherit from Bonobo::Unknown.
3332 Added nSelectedColumns and nSelectedRows attributes.
3335 Made Value inherit from Bonobo::Unknown.
3337 * libspi/hyperlink.c:
3338 Change for nAnchors attributte name change.
3341 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
3343 implementations-- made server implementations own AtkObject pointers
3344 rather than their respective AtkInterrface pointers to fix
3345 refcounting. AtkHyperlink is still broken.
3347 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
3348 * cspi/spi_accessible.c:
3349 Added method Accessible_Role_getName(),
3350 and requisite string array (role_names).
3351 Added conversion string_from_corba_strin() call
3352 to Accessible_getName and _getDescription.
3353 * libspi/accessible.c:
3354 Added implementation for Accessible_getRole()
3356 Added festival support, used if environment variable
3359 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3361 * at-bridge/bridge.c:
3362 Now allocate Accessibility_Event using
3363 Accessibility_Event__alloc() instead of g_new0().
3364 * libspi/accessibleeventlistener.c:
3365 Initialize AccessibleEventListener->callbacks to NULL.
3366 Fixed accessible__event_listener_init() param, changed to
3367 "AccessibleEventListener *" type.
3368 Changed a bonobo_object_release_unref() call to
3369 Accessibility_Accessible_unref().
3370 * libspi/listener.c:
3371 Changed Bonobo_Unknown_unref to (equivalent)
3372 Accessibility_Accessible_unref.
3373 * libspi/registry.c:
3374 Changed bonobo_object_release_unref to
3375 Accessibility_Accessible_unref.
3377 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3380 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
3381 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
3382 spi-util.c spi-util.h
3383 Implementations for C bindings to remaining accessibility
3386 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3389 changed return value of Action from void to boolean to
3390 bring in line with ATK.
3393 Changed getText funcions to return "out" start and end offsets.
3394 Changed getAttributes to take and offset and return the start
3395 and end offset of the attribute run.
3396 Changed getOffsetAtPoint and getCharacterExtents to take an
3397 enum describing whether coordinates are window or screen.
3400 libspi/action.c libspi/action.h libspi/editabletext.c
3401 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
3402 libspi/hypertext.c libspi/hypertext.h libspi/image.c
3403 libspi/image.h libspi/selection.c libspi/selection.h
3404 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
3405 libspi/value.c libspi/value.h
3406 Added server implementations for outstanding ATK interfaces
3407 not yet implemented.
3409 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3412 Added (missing) getName() method.
3413 Made nActions an attribute.
3414 * idl/EditableText.idl:
3415 Changed order of params in setAttributes.
3416 * idl/Hyperlink.idl:
3417 Removed getAnchor, added getURI.
3419 Changed attributes to methods, for efficiency
3420 (so that getting extents can be done in one call)
3421 * idl/Selection.idl:
3422 Changed nSelectedChildren to attribute, and re-indented.
3423 * idl/Table.idl: changed nrows, ncolumns, caption, summary
3425 * idl/Text.idl: reformatted to match our coding style.
3426 (temporarily?) removed getRowColumnAtOffset().
3427 Changed text selection API to support multi-select and
3428 non-contiguous selections, as in ATK.
3429 * idl/Value.idl: changed some methods to attributes.
3431 2001-08-24 Mark McLoughlin <mark@skynet.ie>
3433 * libspi/listener.c(impl_notify_event):
3434 BonoboUnkown_unref the source instead
3435 of bonobo_object_release_unref - the ORB
3436 handles the releasing.
3438 * configure.in: require ORBit-2.3.94 for
3441 2001-08-21 Bill Haneman <bill.haneman@sun.com>
3443 Tagged CVS repository 'EA_1_0'.
3444 * README.EARLY_ACCESS:
3445 Alphabetized acknowledgements list, and
3447 Listed some known dependencies of at-spi.
3449 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3451 * docs/at-spi-docs.sgml:
3452 * docs/at-spi-sections.txt:
3453 * docs/at-spi-overrides.txt: (Added zero-length file)
3454 Documentation improvements - gtk-doc should build
3455 docs for all implemented C bindings now.
3458 * cspi/spi.c: (New file)
3459 * cspi/spi_event.c: (New file)
3460 * cspi/spi_registry.c: (New file)
3461 * cspi/spi_accessible.c: (New file)
3462 * cspi/spi_application.c: (New file)
3463 * cspi/spi_component.c: (New file)
3464 Split spi_main.c into six parts, and included them from
3465 "spi.c". This is a bit of a hack, probably temporary,
3466 but required by gtk-doc, apparently.
3468 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3471 * docs/at-spi-docs.sgml:
3472 * docs/at-spi-sections.txt:
3474 Initial checkins/modifications for gtk-doc generation.
3477 Added (missing) interface query methods to Accessible's C binding.
3479 Added GenericInterface type definition.
3481 Added query for AccessibleComponent interface to focus event handler.
3482 Added printout of bounding box for focussed component.
3483 * libspi/component.c:
3484 Added partial implementation for AccessibleComponent to C binding.
3485 * idl/Application.idl:
3486 * libspi/registry.c:
3487 * libspi/listener.c:
3488 * libspi/application.c:
3489 * libspi/application.h:
3490 Changed "ID" attribute type from string to long.
3492 2001-08-19 Bill Haneman <bill.haneman@sun.com>
3496 Made method naming consistent: methods taking object args
3497 start with uppercase, other methods (except those using
3498 acronyms) start with lowercase. Underscores delimit between
3499 object names and method names:
3500 SPI_init() - uppercase since it starts with an acronym.
3501 getDesktopCount () - lowercase start since no object param0.
3502 Accessible_getName() - uppercase object type name, studlyCaps method
3506 Added gtk-doc documentation for all currently implemented
3507 methods in the C bindings API.
3509 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3511 * Makefile.am : changed build order to build test last.
3514 Changed "createEventListener" to "CreateEventListener".
3515 * libspi/accessibleeventlistener.c :
3516 Bugfix for addition of callbacks.
3517 * test/Makefile.am :
3518 * test/simple-at.c :
3519 Added new test that uses the C bindings API.
3521 * libspi/listener.c :
3522 * libspi/registry.c :
3523 * libspi/accessibleeventlistener.c :
3524 * at-bridge/bridge.c :
3525 Renamed member "target" of Accessibility_Event to "source",
3526 which is more descriptive.
3529 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3533 * cspi/Makefile.am :
3534 Added makefile support for at-spi/cspi directory.
3537 * cspi/spi-listener.h : (NEW FILE)
3538 Added support for/use of spi-listener.h.
3540 C bindings now build successfully, with no warnings.
3541 * libspi/accessibleeventlistener.h : (NEW FILE)
3542 * libspi/accessibleeventlistener.c : (NEW FILE)
3543 * libspi/Makefile.am :
3544 Added new object type "AccessibleEventListener"
3545 which inherits from Listener, and allows attachment
3546 of in-process callbacks (so that a client with a listening
3547 object instance can add functionality to the local
3548 implementation, dynamically).
3550 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3552 * libspi/accessible.c:
3553 Add implementation for get_index_in_parent().
3555 Added #include of "spi-roletypes.h", and
3556 added enumerated type AccessibleCoordType.
3557 Added definition for KeystrokeListener (function type).
3560 * cspi/spi-statetypes.h :
3561 * cspi/spi-roletypes.h :
3563 Added these headers, used by spi.h.
3565 Added code (NOTE: not yet built by make).
3567 2001-08-18 Mark McLoughlin <mark@skynet.ie>
3569 * libspi/Makefile.am: generate imodule
3570 at the same time as other idl compiler
3573 2001-08-17 Bill Haneman <bill.haneman@sun.com>
3574 * libspi/registry.c :
3575 * libspi/application.c :
3576 * idl/Application.idl :
3577 Made registration with toolkit an application method,
3578 which is required since each app has its own toolkit static
3579 environment. Thus the bridge must register for
3580 notification of toolkit events from each application in turn.
3581 Toolkit notifications are now successfully registered for, and
3582 sent to the listening at client.
3584 Changed toolkit event string to use hyphens rather than underscores.
3585 * libspi/listener.c :
3586 listner now gives more info in debug mode - it reports the
3587 name of the event received, as well as the name of the source.
3590 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3592 * libspi/registry.c :
3593 added more implementation for toolkit events.
3594 Fixed bug such that toolkit event registrations
3595 (via atk) use the whole event name string, not
3597 Removed a useless call to an ORBit_ method.
3598 * at-bridge/bridge.c :
3599 Removed unused local sbuf[] variable.
3601 We now register for Gtk:GtkWidget:button_press_event
3602 events as well as "focus:" events.
3604 Add some more API from Registry.idl that was missing,
3605 for keystroke listening, keystroke and mouse event
3606 synthesis, and enumeration of accessible desktops.
3608 2001-08-16 Michael Meeks <michael@ximian.com>
3610 * configure.in: use AM_GLIB_GNU_GETTEXT.
3612 * Makefile.am (SUBDIRS): kill intl.
3614 2001-08-15 Michael Meeks <michael@ximian.com>
3616 * registryd/Makefile.am: s/oaf/server/ relocate info file.
3618 * configure.in: upd.
3620 * configure.in: depend on a recent bonobo-activation that
3621 will find our server files ...
3623 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3625 * libspi/accessible.c : accessible_new() :
3626 Now we add the Component interface via bonobo_object_add_interface,
3627 if the contained AtkObject implements AtkComponent.
3628 * libspi/accessible.h : now include "component.h"
3629 * libspi/component.h :
3630 * libspi/component.c : added files - implementation of
3631 bonobo wrapper object for Accessibility/Component
3632 * libspi/listener.c :
3633 Added test code to check for Accessibility/Component:1.0
3634 interface and report whether it is implemented by the
3636 * libspi/registry.c :
3637 Now we check for not only the hash of the whole event
3638 string before relaying the event, we also check the
3639 "minor" event string (without the detail string).
3640 This allows event listeners to be registered against
3641 all events of a certain major+minor type, or just
3642 against a specific major+minor+detail type.
3643 * libspi/accessible.c :
3644 Added implementations for Accessible:get_parent(),
3645 Accessible:getChildCount(), and Accessible:getChildAtIndex().
3646 * libspi/registry.c :
3647 * libspi/listener.c :
3648 Replaced calls to Accessibility_Accessible_ref() and
3649 Accessibility_Accessible_unref() with
3650 calls to bonobo_object_dup_ref() and
3651 bonobo_object_release_unref(), so that the CORBA object
3652 is dup-ed and released when relayed, as well as the bonobo object.
3654 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3656 * libspi/Makefile.am,
3657 registryd/Makefile.am,
3658 at-bridge/Makefile.am.
3659 test/Makefile.am, configure.in:
3660 reverse previous changes.
3662 * /idl/Image.idl: fix typo.
3664 * test/Makefile.am: put DEBUG_FLAGS
3667 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3669 * test/app.c: use argv[0] instead of
3672 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3674 * libspi/Makefile.am,
3675 registryd/Makefile.am,
3676 at-bridge/Makefile.am.
3677 test/Makefile.am, configure.in:
3678 cleanup, replace individual LIBS/CFLAGS with
3679 AT_COMMON_{LIBS|CFLAGS}.
3683 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3685 * configure.in, libspi/Makefile.am:
3686 Change IDL path checking for bonobo-activation
3689 2001-08-15 Bill Haneman <bill.haneman@sun.com>
3691 * registryd/registry.c : separated event listeners to use
3692 3 separate lists (focus, window, toolkit). Began testing
3693 event names against hashes before relaying events.
3694 * test/at.c : now register for events of type "focus:"
3695 * test/app.c : now generate events of type "focus:"
3696 * at-bridge/bridge.c : register with ATK for focus events,
3697 and we now relay those focus events to any "focus:" listeners.
3698 This now works with the bridge as a GTK_MODULE when running test/at.
3699 * libspi/registry.c :
3700 * libspi/listener.c :
3701 now we ref event sources before propagating, and unref on receipt.
3702 * libspi/registry.c :
3703 some changes to internal structs, to support event typestring hashes.
3704 * text/app.c : changed the way the appname is generated.
3705 * cspi : added directory that will hold the C bindings library for
3706 non-CORBA/bonobo-savvy clients.
3707 * cspi/spi.h : header file that contains the function prototypes for the C binding.
3708 * idl/Component.idl : added in parameter to indicate coord system for
3709 geometry-related calls.
3710 * idl/Hyperlink.idl : added readonly n_links attribute
3711 * idl/Image.idl : changed methods to attributes.
3713 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3715 * at-bridge/Makefile.am: link against
3716 ../libspi/libspi.la instead of -lspi.
3718 * at-spi/test/app.c: include
3719 bonobo-activation.h. Use a default appname
3720 if one is not provided.
3722 2001-08-14 Bill Haneman <bill.haneman@sun.com>
3724 * idl/Registry.idl : temporarily changed register_Application
3725 to oneway, to work around issue with initial registration
3727 * idl/Application.idl : changed attribute "id" from readonly
3728 to read-write, since it needs to be assigned by Registry.
3729 * registryd/registryd.c : added call to set application id
3731 * registryd/registry.c : changed de-registration procedure to
3732 use CORBA_Object_hash() to find matching object ref in application
3733 lists and listener lists.
3734 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
3735 began distinguishing between event types (work in progress).
3737 2001-08-13 Bill Haneman <bill.haneman@sun.com>
3740 * libspi/application.c:
3741 Added implementations for get/set id, get_toolkitName,
3743 * registryd/registryd.c :
3747 Converted from use of OAF to bonobo-activation.
3748 * libspi/desktop.h :
3749 * libspi/desktop.c :
3751 Removed references to atksimpleobject, since base atkobject
3752 implementation now provides functionality we need.
3753 * libspi/atksimpleobject.c :
3754 * libspi/atksimpleobject.h :
3759 * at-bridge/Makefile.am
3760 * at-bridge/bridge.c
3763 Added directory "bridge" and contents, and added dependencies
3764 in Makefile.am/configure.in.
3765 Initial checkin of "at-bridge".
3766 This code is a GTK_MODULE which automatically registers
3767 GTK+ apps with the accessibility registry, using an object
3768 reference to the root ATK object.
3770 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3772 * po/Makefile.in.in: Remove. Again. If this
3773 doesn't get autogenerated - you need to update
3776 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3778 * po/Makefile.in.in: Add. Again.
3780 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3782 * libspi/accessible.c : added support for 'description' property.
3783 * libspi/accessible.c
3785 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3786 (since the two are now equivalent in libbonobo)
3794 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3795 Bonobo::Unknown as does Accessibility::Accessible.
3796 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3797 interface with Bonobo::Stream, since it was redundant with it.
3798 (The Stream returned by a StreamableContext object is expected to
3799 implement only a subset of Bonobo::Stream)
3801 2001-07-28 Anders Carlsson <andersca@gnome.org>
3803 * libspi/accessible.c (accessible_object_finalize): Change
3804 g_free to g_object_unref since the AtkObject is a GObject.
3806 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3808 * idl/Accessibility.idl: add new IDL files
3811 * idl/Action.idl: Definitions of actionable UI object
3812 * idl/Component.idl: Definitions of UI component geometry, etc.
3813 * idl/Hyperlink.idl: Defs of hyperlink behavior
3814 * idl/Image.idl: Def of accessible image
3815 * idl/Selection.idl: Definition of UI object with selectable children
3816 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3817 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3818 * idl/Text.idl: Interface defs for UI elements with complex textual content
3819 * idl/Value.idl: Definition of UI element that is a value controller or display
3821 2001-07-27 Michael Meeks <michael@ximian.com>
3823 * po/Makefile.in.in: remove autogenerated file from CVS.
3825 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3828 * idl/Registry.idl: include guard.
3830 * idl/Accessibility.idl: Add, and include all the other IDL
3833 * idl/*.idl: remove mass of pragmas etc.
3835 2001-07-26 Michael Meeks <michael@ximian.com>
3837 * registryd/Makefile.am (registryd_SOURCES): remove
3840 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3842 * libspi/.cvsignore, registryd/.cvsignore,
3843 test/.cvsignore: updated.
3845 * po/Makefile.in.in: gettext update.
3847 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3849 * initial CVS checkin
3851 2001-06-29 Michael Meeks <michael@ximian.com>
3853 * configure.in: add AM_CONFIG_HEADER to gen config.h