1 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3 * cspi/spi_accessible.c: Added exception checks. Fixed completely
4 busted AccessibleStateSet_compare. Removed redundant casts.
6 * cspi/spi-action.c: Removed redundant casts.
8 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
10 * cspi/spi_component.c: Fixed typos and casting error.
12 * cspi/spi_editabletext.c: Removed redundant casts.
14 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
16 * cspi/spi_hypertext.c: Eliminated redundant casts.
18 * cspi/spi_image.c: Eliminated redundant casts.
20 * cspi/spi_registry.c: Eliminated redundant casts.
21 SPI_deregisterGlobalEventListenerAll () removed retval variable.
22 * cspi/spi_selection.c: Removed redundant casts.
23 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
24 handling. Screen geometry and text offsets were being returned as 0
25 on error which is technically valid-- changed these to return -1.
26 Added marshaller for text boundary types to fix bug with boundary
27 types being passed incorrectly to atk.
30 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
32 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
33 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
35 2002-05-10 Bill Haneman <bill.haneman@sun.com>
37 * registryd/deviceeventcontroller.c:
38 Fixed bug in grab key conversion which was causing keycode grabs
39 to be converted to AnyKey grabs.
42 updated NEWS file to reflect recent spin-off of gnome-mag.
45 2002-05-09 Bill Haneman <bill.haneman@sun.com>
47 * cspi/spi_registry.c:
48 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
49 which was uncovered by the recent key changes.
51 2002-05-09 Bill Haneman <bill.haneman@sun.com>
53 * test/event-listener-test.c:
55 Added new test, "event-listener-test";
56 this code does two things; it benchmarks traversal time
57 for the accessible hierarchy for the first running accessible
58 app, and it connects listeners for all supported event types.
59 It is thus useful as an example event listener and for
60 diagnostics/debugging of event generation.
62 2002-05-08 Bill Haneman <bill.haneman@sun.com>
65 Removed unnecessary dependency on libutil.
68 Revved micro version: 0.13.1
70 2002-05-08 Bill Haneman <bill.haneman@sun.com>
73 Removed util/Makefile from targets.
76 Removed util subdir from SUBDIRS (temporarily,
77 pending removal of magnifier-only code
81 #ifdef-ed out magnifier dependencies, since
82 magnifier IDL, headers, and binary now live in
83 module gnome-mag and we don't want at-spi to depend
84 on gnome-mag. A magnifier demo which can run alongside
85 simple-at is forthcoming in the gnome-mag module.
87 NOTE: Split magnifier binary, IDL, and magnification
88 activation code from at-spi into module gnome-mag.
90 2002-05-03 Bill Haneman <bill.haneman@sun.com>
93 Revved to version 0.13.0
95 * idl/Accessibility_Registry.idl:
96 Changed definition of KeySet from sequence of longs to sequence of
97 KeyDefinitions, and added KeyDefinition struct.
98 Required for fix to bug 80616.
100 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
101 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
102 to use new definition (see above).
104 * registryd/deviceeventcontroller.c: handle_keygrab(),
105 spi_keyset_contains_key():
106 Changed to make use of new struct; this allows matching based on
107 string key-name, for instance "Tab". This also allows matching of
108 composed characters, non-alphanumeric characters in a way that
109 doesn't involve dependencies on X keysym codes directly, etc.
111 * test/key-listener-test.c:
112 Added test for Alt-Tab key using "string" specification of keyset,
113 and modified one of the tests to use a keycode-based keyset.
114 Thus this test both tests and demonstrates the creation and use of
115 keysets of three forms: specified via keycode array,
116 keysym array, and string array. (The string case only contains a
117 single string, i.e. a string array of length 1).
120 Turned on PRINT_TREE option by default. Also fixed a
121 string-freeing bug in the PRINT_TREE code.
122 Added a listener to window:minimize events.
124 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
126 * atk-bridge/bridge.c:
127 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
128 for window:activate and window:deactiveate
129 (atk_bridge_property_event_listener atk_bridge_signal_listener
130 atk_bridge_window_event_listener) Tidy debug code
132 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
134 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
135 Fixed handling for NULL return value from ATK.
137 * libspi/action.c libspi/component.c libspi/editabletext.
138 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
139 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
140 Removed redundant casts.
142 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
143 Fixed off by one bug.
145 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
146 function not present in idl)
148 2002-05-02 jacob berkman <jacob@ximian.com>
150 * atk-bridge/Makefile.am: make atk-bridge a real module
152 2002-04-26 Radek Doulik <rodo@ximian.com>
154 * libspi/stateset.c (spi_init_state_type_tables): fix size of
155 atk_state_types table
157 2002-04-22 jacob berkman <jacob@ximian.com>
160 * libspi/Makefile.am: add deps on the built files to help
161 automake, and don't version the ORBit typelib
163 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
165 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
166 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
167 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
168 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
169 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
170 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
171 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
172 libspi/accessible.h libspi/accessible.h libspi/base.h
173 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
174 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
175 libspi/relation.h libspi/remoteobject.h libspi/selection.h
176 libspi/spi-private.h libspi/statetset.h libspi/table.h
177 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
178 util/mag_client.h util/mag_control.c util/mag_image.c
179 util/mag_image.h util/magnifier.c util/magnifier.h:
180 Add missing file headers; standardize existing ones
182 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
184 * atk-bridge/bridge.c: Added window event support.
186 2002-04-18 Michael Meeks <michael@ximian.com>
188 * libspi/relation.c (impl_getNTargets): impl.
189 (impl_getTarget): impl.
191 * libspi/Makefile.am: fix stateset install.
193 2002-04-17 Bill Haneman <bill.haneman@sun.com>
196 Started putting useful info in this file.
198 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
200 * atk-bridge/bridge.c:
201 Propagate state-changed notifications to ATs
203 * cspi/spi_registry.c: update docs to reflect actual behavior of
206 2002-04-17 Bill Haneman <bill.haneman@sun.com>
209 Incremented version to 0.12.1
212 Add missing declaration for magnifier_exit,
213 used by mag_control.c - Forte compiler didn't like
214 the implicit redeclaration of the function :-(
217 2002-04-16 Bill Haneman <bill.haneman@sun.com>
220 Revved version to 0.12 due to API change (see below).
222 * cspi/spi-roletypes.h:
223 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
224 definition from the inline docs, and added docs
225 for SPI_ROLE_LAST_DEFINED.
228 * cspi/spi_streamablecontent.c:
229 Added missing seek_type parameter to
230 (so far unused) method,
231 AccessibleStreamableContent_seek().
232 [ RT approval JodyG. ]
235 Fixed docs for SPI_createAccessibleKeystrokeListener.
237 * cspi/spi_registry.c:
238 Fixed docs for SPI_KEYSET_ALL_KEYS.
240 * docs/reference/cspi/at-spi-cspi-sections.txt:
241 Added a number of missing APIs to SECTIONS.
243 2002-04-16 Bill Haneman <bill.haneman@sun.com>
245 * registryd/Makefile.am:
247 * cspi/bonobo/Makefile.am:
248 Add $(X_LIBS) to makefiles.
250 2002-04-15 Bill Haneman <bill.haneman@sun.com>
253 Revved version to 0.11.
255 * libspi/component.c:
256 Added implementation for grabFocus.
258 * idl/Accessibility_Component.idl
259 (Accessibility_Component_grabFocus):
260 Made this method return boolean to indicate success or failure, to
261 be consistent with cspi and the corresponding ATK method.
263 * idl/Accessibility_Selection.idl
264 (Accessibility_Selection_selectAll) :
265 Made these methods return boolean to indicate success or
266 failure, to be consistent with cspi and the corresponding ATK methods.
268 * idl/Accessibility_EditableText.idl
269 (Accessibility_EditableText_setTextContents,
270 Accessibility_EditableText_insertText,
271 Accessibility_EditableText_cutText,
272 Accessibility_EditableText_deleteText,
273 Accessibility_EditableText_pasteText):
274 Made these methods return boolean to indicate
277 * cspi/spi_editabletext.c:
278 Made these methods return booleans.
280 * libspi/selection.c:
281 * libspi/component.c:
282 * libspi/editabletext.c:
283 Connected the boolean returns from ATK
284 to the server-side code referenced above.
286 2002-04-14 Bill Haneman <bill.haneman@sun.com>
288 * idl/Accessibility_Table.idl: Added missing methods,
289 Accessibility_Table_addRowSelection,
290 Accessibility_Table_addColumnSelection,
291 Accessibility_Table_removeRowSelection,
292 Accessibility_Table_removeColumnSelection.
295 Added C wrappers for above IDL:
296 AccessibleTable_addRowSelection,
297 AccessibleTable_addColumnSelection,
298 AccessibleTable_removeRowSelection,
299 AccessibleTable_removeColumnSelection.
302 Added server-side implementation code for IDL above, connecting
303 to pre-existing ATK api.
305 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
307 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
309 * libspi/accessible.c: Added implementation fo
310 Accessibility_Accessible_get_state.
312 * libspi/libspi.h: Added stateset.h to the list of includes.
314 * libspi/stateset.c: Fixed broken implementation.
316 2002-04-13 Bill Haneman <bill.haneman@sun.com>
319 Added implementation code for Accessibility_Magnifier_exit ().
321 * util/mag_control.c:
322 Added test code for above method; you can
323 now kill an existing magnifier via
324 ./mag_control q, from the util directory.
326 * test/key-listener-test.c:
328 Added a new test, for our key listener API.
330 2002-04-11 Bill Haneman <bill.haneman@sun.com>
332 * test/app.c, test/keysynth-demo.c:
334 Replace use of snprintf with g_snprintf.
335 (fix for bugzilla 78249)
337 2002-03-27 Michael Meeks <michael@ximian.com>
341 * util/Makefile.am (INCLUDES): fix.
342 (DONT_DIST_SOURCE): don't distribute the
345 * libspi/Makefile.am (dist-hook): ditto.
347 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
349 * libspi/hypertext.c:
350 Fix warnings when yelp is used with atk-bridge
352 2002-03-21 Michael Meeks <michael@ximian.com>
354 * libspi/application.c (spi_application_new):
355 use spi_accessible_construct so we use the AtkObject
358 2002-03-19 Michael Meeks <michael@ximian.com>
360 * registryd/registry.c (desktop_remove_application),
361 (desktop_add_application): clean coding style.
363 * registryd/desktop.c (spi_desktop_remove_application),
364 (spi_desktop_add_application): kill re-enterency hazards.
365 (spi_desktop_dispose): remove bogus redundant cast
366 obscuring bug; fix bug too.
367 (spi_desktop_init): make the desktop object immortal.
369 2002-03-16 Bill Haneman <bill.haneman@sun.com>
372 Added a #define-guarded tree-traversal step
373 when enumerating the apps (diagnostic tool).
375 2002-03-15 Bill Haneman <bill.haneman@sun.com>
377 * idl/Accessibility_Role.idl:
378 Added ROLE_DRAWING_AREA which seemed to be missing from the
381 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
383 * cspi/spi-roletypes.h cspi/spi_accessible.c
384 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
387 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
388 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
389 AT when applications are added and removed from the desktop. This
390 reverts the previous broken implementation using the backing
391 AtkObject for the SpiDesktop.
393 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
395 * registryd/desktop.c: emit the "children-changed::add" and
396 "children-changed::remove" signals on the backing ATK object for
397 the desktop so AT can tell when applications are started and shut
400 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
402 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
404 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
406 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
408 * cspi/spi_accessible.c: Implemented c bindings for stateset support
410 * cspi/state-types.h: synched with IDL and ATK
412 2002-03-13 Bill Haneman <bill.haneman@sun.com>
414 * libspi/accessible.c
415 (impl_accessibility_accessible_get_child_at_index):
416 Change return value for g_return_if_fail ()
417 to CORBA_OBJECT_NIL instead of "0" (!)
419 * registryd/Makefile.am:
420 * registryd/Accessibility_Register.server.in:
421 Changed name of executable, "registryd",
422 to something more informative:
425 2002-03-13 Michael Meeks <michael@ximian.com>
427 * atk-bridge/bridge.c (atk_bridge_init): don't register
428 if we're in a bonobo-component, rather than a bonobo app.
430 2002-03-13 Michael Meeks <michael@ximian.com>
432 * atk-bridge/bridge.c (gtk_module_init): split
433 out body to (atk_bridge_init): here, since otherwise
434 we get symbol conflicts and oddness when invoked
435 from (gnome_accessibility_module_init): here (upd.)
437 2002-03-11 Bill Haneman <bill.haneman@sun.com>
440 New file. Explicitly allow "build sheriff" putbacks provided
441 they are tested on Solaris.
443 * docs/reference/cspi/Makefile.am:
444 Added '-' to the "cp" command for index.sgml.
445 ("patch by thomasvs, soon coming to a GUADEC near you")
448 Incremented version number (0.9.0) for new release.
449 Changed macro that checks for popt, to better detect
450 obsolete versions of popt.
453 Added X_LIBS to AC_SUBST, for applications
454 that call Xlib API directly.
457 2002-03-07 Bill Haneman <bill.haneman@sun.com>
460 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
463 Fix regression caused by hard-coding major
464 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
467 * test/test-simple.c (test_editable_text),
468 (test_test): revert previous change (error was
469 a regression in gail which is now fixed).
471 2002-03-04 Michael Meeks <michael@ximian.com>
473 * test/test-simple.c (test_editable_text),
474 (test_text): pass G_MAXINT instead of '-1' for
475 whole string - is this a good thing !?
477 * cspi/spi_accessible.c
478 (Accessible_getRelationSet): fix crasher bug
479 overwriting the end of the array.
481 * test/test-simple.c (validate_accessible): free,
482 not g_free returned relation set.
484 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
486 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
487 implemented stateset support
489 * idl/Accessibility_State.idl: Made necessary changes to
490 the IDL to support state sets.
492 2002-02-12 Bill Haneman <bill.haneman@sun.com>
494 * registryd/deviceeventcontroller.c:
495 Added implementation for generateMouseEvent.
497 * cspi/spi_registry.c:
498 Connected new implementation for generateMouseEvent
501 2002-02-12 Bill Haneman <bill.haneman@sun.com>
504 Incremented revision (but no change in public API
505 outside of 'utils', which are not installed public yet.)
507 * libspi/component.c:
508 Changed to use atk_component API for layers and
509 mdi_zorder, instead of deprecated atk_object API.
511 Magnification Utility Enhancements:
514 Added implementation of createZoomRegion, clearAllZoomRegions,
515 resizeZoomRegion. Added new commandline argument
516 "--no-initial-region". Note that clearAllZoomRegions doesn't
517 unmap the old '0' region as it should (yet), and the other
518 methods only work when creating/resizing a single region,
520 (Code for multiple region support will be added later.)
523 Now we raise the magnifier window each time it's refreshed;
524 this will help keep it on top.
527 Added simple wrappers for above, used by mag_control.
528 For general use, it's recommended to use the bonobo magnifier
529 control API directly instead of using these wrappers.
532 Moved ZoomRegionData from magnifier.c to this file.
534 * util/mag_control.c:
535 Added some code to exercise new IDL implementations.
537 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
539 * libspi/text.c: Provide implementation for getAttributes.
541 2002-02-04 Bill Haneman <bill.haneman@sun.com>
544 Incremented revision.
546 * test/test-simple.c:
547 Replaced use of deprecated g_main_iteration with
548 g_main_context_iteration.
550 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
553 Incremented revision for desktop alpha 2.
555 2002-01-28 Mark McLoughlin <mark@skynet.ie>
557 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
560 * test/simple-at.c: include netinet/in.h.
562 2002-01-24 Mark McLoughlin <mark@skynet.ie>
564 * cspi/spi_accessible.c: (Accessible_getRelationSet):
565 use NULL, not CORBA_OBJECT_NIL.
567 * libspi/accessible.c:
568 (impl_accessibility_accessible_get_relation_set):
569 allocate the sequence correctly.
571 * libspi/remoteobject.h: kill spi_remote_object_new.
573 * test/test-simple.c: (validate_accessible): add code
574 to test relation sets, now all we need is to figure
575 out how to excercise this code path :/
577 2002-01-18 Michael Meeks <michael@ximian.com>
580 (key_listener_cb): consume the key.
581 (test_keylisteners): update.
582 (main): wait for any pending unrefs on events.
584 * registryd/deviceeventcontroller.c
585 (spi_controller_update_key_grabs): only re-issue the
586 grab on a key release.
587 (spi_device_event_controller_forward_key_event):
588 refresh the keygrabs before we notify the listeners,
589 to reduce the X ungrab / re-grab race.
590 (spi_controller_register_with_devices): remove
591 XSelectInput - we do that with the gdk_window_ call.
592 (_spi_controller_device_error_handler): return a value.
593 s/GDK_DISPLAY/spi_get_display/
595 2002-01-17 Michael Meeks <michael@ximian.com>
597 * registryd/deviceeventcontroller.c
598 (_deregister_keygrab): don't blow out the later
601 * test/test-simple.c (test_keylisteners): do a
602 more intelligent validation.
604 2002-01-14 Michael Meeks <michael@ximian.com>
606 * atk-bridge/bridge.c
607 (gnome_accessibility_module_init),
608 (gnome_accessibility_module_shutdown): impl.
609 (gtk_module_init): protect vs. double inits.
610 (add_signal_listener): impl.
611 (spi_atk_bridge_state_event_listener): kill
612 (deregister_application): split out of
613 (spi_atk_bridge_exit_func): here.
615 2002-01-18 Bill Haneman <bill.haneman@sun.com>
618 Added caret tracking when using magnifier, and
619 now use text bounds for focus tracking of text elements, rather than
620 the component bounds - this is helpful for short text fields in long
621 table cells, at high magnification.
623 2002-01-16 Bill Haneman <bill.haneman@sun.com>
625 * registryd/deviceeventcontroller.c:
626 Regression fix for keylistener de-registration; global keygrabs
627 were not being released when deregisterKeystrokeListener was
628 called in cspi, since
629 Accessibility_DeviceEventController_deregisterKeystrokeListener
630 was called with a zero-length keyset. That is because the cspi
631 method, SPI_deregisterKeystrokeListener, does not take a keyset
632 parameter but instead should remove all the key grabs held be a
634 The code in impl_deregister_keystroke_listener was changed to copy
635 the keylist from the listener instance previously registered with
636 the DeviceEventController before releasing the grabs.
638 * registryd/registry.c:
639 * registryd/deviceeventcontroller.c:
640 * libspi/spi-private.h:
642 Changed spelling of "re-enterant" to "re-entrant" globally.
644 2002-01-16 Bill Haneman <bill.haneman@sun.com>
646 * test/test-simple.c:
647 Changed key listeners test - the test was slightly mis-using the
648 (admittedly poorly documented) SPI_generateKeyboardEvent API.
649 It now uses '=' as the key event listened to and generated,
650 relying on a keysym match rather than assuming that keycode 33
651 is always equal to keysym '!'.
653 2002-01-15 Bill Haneman <bill.haneman@sun.com>
656 Changed simple-at to use a specific keyset, rather than
657 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
658 manager, desktop, etc.
660 2002-01-11 Bill Haneman <bill.haneman@sun.com>
662 * registryd/deviceeventcontroller.c:
663 Replaced standard X error handler with a special handler that
664 is non-fatal for failed keygrabs. This works around
665 problems with keygrab clashes sometimes observed on
667 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
668 mouse handling code as yet).
670 2002-01-11 Bill Haneman <bill.haneman@sun.com>
673 Incremented revision for desktop alpha release.
676 Fixed a couple of the more glaring errors (still not
679 2002-01-11 Michael Meeks <michael@ximian.com>
681 * registryd/deviceeventcontroller.c
682 (spi_device_event_controller_forward_key_event): kill
683 XUngrabKey / XKeyGrab race.
684 (spi_controller_grab_keyboard): rename to
685 (spi_controller_update_key_grabs): this, and deal
686 with incremental adding / removing grabs more
688 (_register_keygrab): ensure we're not pending a remove.
689 (spi_grab_mask_free): impl.
690 (spi_controller_register_global_keygrabs): split out
692 (handle_keygrab): impl.
693 (_deregister_keygrab): impl.
694 (spi_controller_deregister_global_keygrabs): impl.
695 (spi_controller_update_key_grabs): re-issue the grab if
696 we just recieved a notification.
698 * test/test-simple.c (key_listener_cb): remove debug.
700 * registryd/deviceeventcontroller.c
701 (spi_controller_register_device_listener): after
702 registering a global keygrab, actualy register it !
703 don't wait for a timeout; doh !
705 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
706 to make it more readable / manipulable.
707 s/grabmask/grab_mask/ s/refcount/ref_count/
708 s/keyval/key_val/ s/modmask/mod_mask
710 2002-01-08 Michael Meeks <michael@ximian.com>
712 * registryd/deviceeventcontroller.c
713 (spi_controller_register_with_devices): use gdk calls to
715 (global_filter_fn): implement the filter.
716 (spi_device_event_controller_check_key_event): rename to
717 (spi_device_event_controller_forward_key_event): this & upd.
718 (spi_get_display): replace with GDK_DISPLAY.
720 * registryd/deviceeventcontroller.c
721 (spi_controller_deregister_device_listener): unroll into
722 (impl_deregister_keystroke_listener): here to simplify.
723 (spi_controller_register_global_keygrabs): split cut and
724 paste (!) out into (_register_keygrab): here, shorter & sweeter.
725 (spi_controller_deregister_device_listener): remove.
726 (impl_register_mouse_listener): remove, no mouse listener
727 support in at-spi-1.0
729 * registryd/registry.c
730 (_device_event_controller_hook): kill.
731 (spi_registry_init): upd.
733 * registryd/deviceeventcontroller.c
734 (spi_device_event_controller_class_init): upd.
735 (spi_check_key_event): merge into.
736 (spi_device_event_controller_check_key_event):
737 here and kill strange static ev init, don't leak
738 the x_event - nor dynamicaly allocate it.
740 * registryd/registry-main.c (main): re-direct
741 timeout to remove strange vtable mess.
743 * registryd/deviceeventcontroller.c
744 (remove_listener_cb): impl.
745 (spi_controller_deregister_device_listener):
746 fix re-enterancy hazard.
748 2002-01-07 Michael Meeks <michael@ximian.com>
750 * registryd/deviceeventcontroller.c
751 (spi_device_event_controller_new): upd.
752 (impl_notify_listeners_sync): upd. debug.
753 (spi_notify_keylisteners): fix re-enterancy hazards,
754 prettify, remove O(n*n) iteration.
755 (spi_controller_grab_keyboard): fix iteration.
756 (spi_check_key_event): re-format to suit coding style.
757 Clean all the warnings - we're warning free.
759 * registryd/deviceeventcontroller.h:
760 * registryd/registry.h: make mutualy referential with
761 typesafe forward references instead of (!) void pointer
764 2002-01-11 Michael Meeks <michael@ximian.com>
766 * cspi/spi_accessible.c (role_names): add a role name
767 to sync this array with the enum; and make the regression
770 2002-01-10 Michael Meeks <michael@ximian.com>
772 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
773 allow expansion of enumeration & kill warning.
775 * test/test-simple.c (key_listener_cb): impl.
776 (test_keylisteners): impl.
778 * cspi/spi-listener.h: make listener signatures const
779 on the provided (const) events.
781 * test/keysynth-demo.c: upd. to const events.
783 * test/simple-at.c: ditto.
785 2002-01-11 Bill Haneman <bill.haneman@sun.com>
788 Rev the version to 0.5 (the previous tarball was named 0.4,
789 even though the micro number was 3), so we need to rev upwards
790 again for beta2/"desktop-alpha"
793 Checked in a demo script, which requires editing before use!
794 Proceed with caution.
797 Fixed typo in header which was redefining SPI_ACTION_CLASS.
799 * cspi/spi_accessible.c:
800 Add a couple of missing enum initializations, and fix some enum
803 * cspi/spi_registry.c:
804 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
806 * docs/reference/cspi/at-spi-cspi-sections.txt:
807 Remove/fix a couple of broken document references.
810 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
811 as Alt-Control to listen for commands, since on some systems
812 Control-Alt may already be grabbed.
814 2002-01-10 Bill Haneman <bill.haneman@sun.com>
817 Update version number to 0.4 for Beta2.
819 * libspi/accessible.c, libspi/accessible.h:
820 Expose spi_accessible_construct, to enable libgail-gnome
821 construction from spi_accessible subtype.
824 Workaround for bug in some non-gnome-compliant window managers
825 which made magnifier resize improperly.
827 2002-01-09 Bill Haneman <bill.haneman@sun.com>
829 * libspi/accessible.c: (spi_accessible_new) :
830 Move the test for SPI_IS_REMOTE_OBJECT to
831 spi_accessible_new_return, fixing a bug and compile time warning.
833 2002-01-08 Michael Meeks <michael@ximian.com>
835 * registryd/registry.c (parse_event_type): remove strndup.
837 * libspi/Makefile.am (libspi_la_SOURCES): remove
838 sources already included in the headers section.
840 * libspi/util.c: add.
842 * libspi/spi-private.h: add.
844 * registryd/registry.c: update to moved list iterators.
846 2002-01-05 Michael Meeks <michael@ximian.com>
848 * test/simple-at.c (main): upd. auto-module set to atk-bridge
850 * test/test-simple.c (main): ditto.
852 2002-01-04 Michael Meeks <michael@ximian.com>
854 * libspi/accessible.c (spi_accessible_new): remove 2nd,
857 * registryd/registry.c
858 (get_listener_list): impl.
859 (impl_accessibility_registry_register_global_event_listener):
860 re-impl. to simplify using ~, remove dodgy const cast off.
861 (parse_event_type): constify.
862 (impl_accessibility_registry_deregister_global_event_listener_all):
863 re-write, more efficiency and simplicity, kill re-enterancy
865 (compare_listener_corbaref, compare_corba_objects),
866 (compare_listener_quarks): define out.
867 (impl_accessibility_registry_deregister_global_event_listener):
868 re-write for effiency, and nail re-enterancy hazard.
869 (impl_accessibility_registry_get_desktop_list): impl.
870 (re_enterant_list_delete_link): impl.
871 (re_enterant_list_foreach): impl.
872 (remove_listener_cb): impl.
873 (_registry_notify_listeners): kill.
874 (notify_listeners_cb): impl.
876 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
877 (SPI_getDesktopList): impl.
879 * test/test-simple.c (test_desktop): test the methods.
881 2002-01-03 Michael Meeks <michael@ximian.com>
883 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
884 keystrings since we free them
885 (SPI_freeAccessibleKeySet): in here.
887 * libspi/accessible.c (spi_accessible_new): kill warning,
888 wonder what is going on with the constructor here.
890 2002-03-01 Bill Haneman <bill.haneman@sun.com>
892 * libspi/accessible.c (spi_accessible_new ()) :
893 Added check to see if AtkObject is an SpiRemoteObject before
894 creating an SpiAccessible.
896 2002-05-01 Bill Haneman <bill.haneman@sun.com>
898 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
899 Enable keygrabs using the Control modifier, now that they are
900 working properly (they were previously disabled).
903 Change the command keygrab for this demo to "Control+Alt", so as
904 to conflict with fewer other key commands on the system; this
905 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
907 Removed a pointlessly-chatty keylistener for unshifted keys
908 (shifted keys are still reported).
910 2002-02-01 Bill Haneman <bill.haneman@sun.com>
912 * libspi/remoteobject.h:
913 * libspi/remoteobject.c:
914 Added definitions for special AtkObject subtype, required for
915 support of remote components (specifically, used by BonoboControl
916 accessibility implementation).
918 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
920 * cspi/spi.h: synched relation types with ATK
922 * cspi/spi_accessible.c: Added implementations of
923 AcccessibleRelation_* methods
925 * idl/Accessibility_Relation.idl: added getRelationTypeName
926 method. Synched known relation types with ATK. Allowed for
927 relation type extension with the RELATION_EXTENDED type.
929 * libspi/relation.c: Provided implementations for
930 AccessibleRelation methods.
932 2002-01-01 Bill Haneman <bill.haneman@sun.com>
934 API tweaks for today's API 'freeze'.
937 Added placeholder functions to allow future compatible expansion
938 of the IDL interfaces.
940 * idl/Accessibility_Registry.idl:
941 Changed generateKeyEvent to generateKeyboardEvent. Changed
942 signature of this method to accept an optional keystring in
943 parameter (for complex text input synthesis) and changed use of
944 simple 'boolean' parameter in registerKeystrokeListener to a
945 struct, EventListenerMode.
947 * cspi/spi_accessible.c:
949 * cspi/spi_streamablecontent.c:
950 Added references to AccessibleStreamableContent interface, and
951 definition and implementation of AccessibleStreamableContent
954 * cspi/spi_registry.c:
956 Changed generateKeyEvent API to generateKeyboardEvent,
957 taking a new (optional) keystring parameter to support complex
962 Renamed directory (to better reflect its actual purpose, bridging
963 from at-spi to ATK). The .so module is also now named
966 * idl/Accessibility_Hypertext.idl:
967 * libspi/accessible.c:
968 * libspi/hypertext.h:
969 * libspi/hypertext.c:
970 Changed Accessibility_Hypertext to *not* derive from
973 * cspi/spi_registry.c:
974 Added list of legal event type names for 'window' events, which
975 completes the registry event API.
977 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
979 * at-bridge/bridge.c: Added registration for separate
980 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
981 signals. If either of the first two parameters to the generic
982 bridge signal handler are ints, they are passed on as event
983 details. This allows an AT to determine what text was inserted.
985 2001-12-21 Bill Haneman <bill.haneman@sun.com>
987 * registryd/deviceeventcontroller.c:
988 Fixed regressions in generateKeyEvent caused by the removal of
989 gdk_init from registryd; we now use pure X calls to connect to the
990 display, which makes sense because deviceeventcontroller already
991 uses a fair bit of X API (should eventually be migrated to a
992 'portability layer').
994 * registryd/desktop.c:
995 Fixed minor regression in spi_desktop_init, changed the way the
996 desktop name is being set to work with new spi_base API
997 (gobject-based, rather than AtkObject-based).
999 * registryd/Makefile.am:
1000 Minor revision of makefile to use XTST_LIBS variable rather than
1001 hard-wiring the Xtst LD_ADD element.
1003 * test/keysynth-demo.c:
1004 Tweaked an output message; added initialization of the
1005 'keystrings' member of the "switch listener" key_set.
1007 * libspi/relation.c:
1008 Squashed compile-time warning.
1010 * libspi/accessible.c:
1011 Cosmetic and formatting fixes, renamed a static method.
1013 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
1015 * libspi/accessible.c
1017 * libspi/application.c
1020 * libspi/component.c
1021 * libspi/editabletext.c
1022 * libspi/hyperlink.c
1023 * libspi/hypertext.c
1025 * libspi/selection.c
1029 * registryd/desktop.c:
1030 Changed SpiBase to contain a GObject pointer rather than an AtkObject
1032 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1034 * idl/Accessibility_Registry.idl:
1035 Added boolean member 'is_text' to DeviceEvent. This is for the
1036 use of key events, and helps prevent ambiguity between composed
1037 key strings and keysym names, since both may potentially be
1038 returned in the 'event_string' member.
1040 * at-bridge/bridge.c:
1041 * registryd/deviceeventcontroller.c:
1042 Use the 'is_text' member when notifying device event listeners.
1043 Knon issue: composed characters are not dealt with correctly by
1044 the global key listener implementation yet.
1046 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1048 * at-bridge/bridge.c:
1049 Namespaced local static methods to spi_atk_bridge_* where
1050 previously named bridge_*, and spi_* elsewhere.
1052 * at-bridge/bridge.c:
1053 * cspi/bonobo/cspi-bonobo-listener.c:
1054 Added demarshalling/conversion for string member of
1055 Accessibility_DeviceEvent to AccessibleKeystroke.
1057 * registryd/deviceeventcontroller.c:
1058 Added code to fill the Accessibility_DeviceEvent key string value
1059 member for global key events (i.e. from XGrabKey), to match
1060 behavior of Accessibility_DeviceEvent from the toolkit key events
1061 from the bridge. Fixed timestamp in global key event notifications.
1064 Added printout of key event's string value to
1065 report_ordinary_key_event, for demo/debugging purposes.
1067 2001-12-15 Bill Haneman <bill.haneman@sun.com>
1069 * idl/Accessibility_Registry.idl:
1070 Removed Accessibility_KeyStroke structure in favor of generic
1071 Accessibility_DeviceEvent structure.
1072 Changed Accessibility_ControllerEventMask from a struct to an
1075 * at-bridge/bridge.c:
1076 Changed APIs to use DeviceEvent structure as above, and removed
1077 bogus casting between these event structures.
1079 * cspi/spi-listener.h:
1080 Added keystring member of AccessibleKeystroke structure, to enable
1081 matching on event "names" rather than only hardware codes and
1085 Added keystrings member of AccessibleKeySet struct, to allow
1086 matching on event names (as above).
1087 Added declarations for SPI_createAccessibleKeySet and
1088 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
1089 event modmasks directly as unsigned ints rather than structs with
1090 refcounts, in the DeviceEventController methods.
1092 * cspi/spi_registry.c:
1093 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
1095 * cspi/spi-roletypes.h:
1096 Added documentation of newly added SPI Roles.
1098 * cspi/bonobo/cspi-bonobo-listener.c:
1099 Changes in support of API changes above.
1101 * libspi/accessible.c:
1102 Converted APIs to use DeviceEvent structure (see IDL changes
1105 * registryd/deviceeventcontroller.c:
1106 Added DEControllerGrabMask structure to track keygrabs not only by
1107 modmask but by keyset as well; this allows us to do "global"
1108 (i.e. X) keygrabs on a per-key or keyset basis rather than always
1109 grabbing on AnyKey and then filtering after-the-fact.
1110 Bugfixes for event filtration mean that we don't get false matches
1111 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
1113 * registryd/deviceeventcontroller.c:
1114 Namespaced a number of static methods to use spi_ prefix. Major
1115 revision to internals of global (i.e. X) key grabs.
1117 * registryd/deviceeventcontroller.h:
1118 Removed keymask_list and added keygrabs_list to
1119 SpiDeviceEventController struct.
1122 Added use of SPI_createAccessibleKeySet API when creating a
1123 listener for only one key. Attach a listener to "shift spacebar
1124 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
1125 X key event names to SPI key event names, so that listeners are
1126 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
1128 * test/keysynth-demo.c:
1129 Changed (incorrect) use of X key event names (KeyPressed,
1130 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
1133 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1135 * libspi/accessible.c:
1136 Convert all AtkRole enumerations to Accessibility_Role enums when
1137 getting a role from an AtkObject.
1139 * cspi/spi_accessible.c:
1140 Complete the conversion of Accessibility_Role enums at runtime to
1141 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
1142 role enums correctly match those given in spi-roletypes.h.
1143 Re-synchronize the local names list for AccessibleRole_getName ().
1144 AccessibleRole_getName is now deprecated, since it duplicates the
1145 more reliable Accessible_getRoleName.
1146 Added some role types from Accessibility_Role.idl.
1148 * idl/Accessibility_Role.idl:
1149 Added some role types used by AtkRole.
1151 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1154 * cspi/spi_registry.c:
1156 * cspi/cspi-bonobo-listener.c:
1157 Namespaced all methods that did not begin with an "SPI_" or
1158 "Accessible" prefix to "SPI_".
1161 Homogenized internal function namespace to "cspi_" for statics.
1164 Patched tests to use the new CSPI API.
1166 * docs/reference/cspi/at-spi-cspi-sections.txt:
1167 Updated docs to reflect namespace changes, and added a number of
1168 methods to the documentation.
1170 * registryd/registry.c:
1171 Changed use of strings and string hashes in listener event
1172 matching and parse_event_string to use GQuark, which is guaranteed
1175 * registryd/registry.h:
1176 Squashed annoying warning.
1178 * idl/Accessibility_Role.idl:
1179 Extended range of available Accessibility_Role values.
1181 * cspi/spi_accessible.c:
1182 Re-ordered role names.
1184 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1186 * idl/Accessibility_Value.idl:
1187 Revert use of union back to CORBA_double, since the double type is
1188 more efficient and can contain the other types without loss of
1191 * idl/Accessibility_Accessible.idl:
1192 Added method Accessibility:Accessible:getRoleName, to complement
1193 Accessibility:Accessible:getRole.
1195 * cspi/spi_accessible.c:
1197 Added C binding for above, Accessible_getRoleName (), and changed
1198 signature of Accessible_getRole () to return an AccessibleRole.
1200 * cspi/spi-roletypes.h:
1201 Changed AccessibleRole_getName to return a char * instead of a
1202 const char *. This method is now at least temporarily deprecated
1203 in favor of asking Accessibles for their RoleNames directly.
1206 Revert to match Accessibility_Value.idl;
1210 Change signature of AccessibleValue methods to use double rather
1214 * cspi/spi_accessible.c:
1215 Changed Accessible_getRole to return an AccessibleRole enum rather
1216 than a UTF-8 string. The UTF-8 string can still be obtained via
1217 AccessibleRole_getName ().
1219 * test/test-simple.c:
1220 Add test_action. Small fixup to match API change to Accessible_getRole.
1223 Bugfix for get_action_from_servant ().
1225 2001-12-11 Michael Meeks <michael@ximian.com>
1227 * libspi/libspi.h: remove registry.h and
1228 desktop.h, deviceeventcontroller.h
1230 * libspi/Makefile.am: remove registry.[ch],
1231 desktop.[ch], deviceeventcontroller.[ch]
1233 * registryd/Makefile.am: add registry.[ch],
1234 desktop.[ch], rename registryd.c to registry-main.c.
1235 add deviceeventcontroller.[ch]
1237 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1240 Replace setenv() call with putenv ().
1242 * libspi/component.c:
1243 Bugfix in AccessibleComponent_getExtents (),
1246 2001-12-11 Michael Meeks <michael@ximian.com>
1248 * libspi/image.c (impl_getImageExtents): impl.
1249 (spi_image_class_init): upd.
1252 (AccessibleImage_getImageDescription): fix daft bug
1255 * test/test-simple.c (global_listener_cb): update
1256 to only quit if not --poke
1257 (main): catch --poke.
1258 (validate_accessible): upd. dumping, call test_image
1261 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1264 * idl/Accessibility.idl: update all IDL includes.
1266 * idl/*.idl - rename to namespace - this sucks, blame
1267 mjs' bad decision for oafd.
1269 * test/test-simple.c (create_test_window): add more tests.
1270 (create_tree): split this out.
1271 (validate_accessible): bugfix.
1273 2001-12-11 Michael Meeks <michael@ximian.com>
1275 * cspi/bonobo/cspi-bonobo-listener.c:
1276 (cspi_kestroke_listener_unref),
1277 (cspi_event_listener_unref): impl. undoing previous
1278 homenous environment - for Bill.
1280 * cspi/spi_table.c (long_seq_to_array): use
1283 * cspi/spi_main.c: split out all bonoboish bits into
1286 * cspi/spi-impl.h: upd. typedefs.
1288 * cspi/spi_registry.c: update to lowlevel API,
1289 return booleans to indicate success in some places.
1291 * cspi/spi_event.c: update to lowlevel API.
1293 * cspi/bonobo/Makefile.am: add.
1295 * cspi/bonobo/cspi-lowlevel.h: add
1297 * cspi/bonobo/cspi-bonobo.c: add
1299 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1301 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1302 (SUBDIRS): add bonobo, link in the libs.
1304 * cspi/spi-util.c: kill this file.
1306 * TODO: merge in my bits.
1308 2001-12-11 Michael Meeks <michael@ximian.com>
1310 * test/test-simple.c (test_value, test_table, main):
1311 remove unused variables causing warnings.
1313 * configure.in: cleanup checks - require gail.
1315 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1318 Changed Value interface to use SValue (scalars) rather than
1319 assuming all values are floats. This allows floats, doubles,
1320 longs, shorts, and unsigned values to be manipulated.
1321 Introduced Accessibility:SValue union.
1324 Updated to use new API above, and to work correctly with GValues
1325 of different types in AtkValue.
1328 Updated to use new API above. cspi's API is as yet unchanged.
1331 Updated the Value revision action item.
1333 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1335 * test/test-simple.c:
1336 Added test_table (GtkTreeView widget in test window to follow).
1337 Un-commented test_value, added GtkRange widget.
1338 Added GtkTreeView widget with GtkListStore. It passes regression
1339 test but leaks one SPI object for some reason.
1342 Fixed bug in impl__set_currentValue.
1344 2001-12-10 Michael Meeks <michael@ximian.com>
1346 * cspi/spi_text.c: audit for exception handling,
1347 tolerating NULL object references safely etc.
1349 * cspi/spi_value.c: ditto.
1351 * cspi/spi_table.c (AccessibleTable_getSummary),
1352 (AccessibleTable_getAccessibleAt),
1353 (AccessibleTable_getRowHeader),
1354 (AccessibleTable_getColumnHeader),
1355 (AccessibleTable_getCaption): fix bugs hidden by
1357 (long_seq_to_array): impl.
1358 (AccessibleTable_getSelectedRows),
1359 (AccessibleTable_getSelectedColumns): use it.
1361 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1364 Added a TODO list (rough and short for now).
1366 * cspi/spi_hyperlink.c:
1367 * cspi/spi_hypertext.c:
1368 Fixed macro name typos, and remove use of obsolete macro in
1369 AccessibleHyperlink_getLink.
1371 * cspi/spi_action.c:
1372 * cspi/spi_accessible.c:
1373 * cspi/spi_application.c:
1374 * cspi/spi_component.c:
1375 * cspi/spi_selection.c:
1378 Documentation fixes (removed return values from ref/unref methods).
1380 2001-12-10 Michael Meeks <michael@ximian.com>
1382 * cspi/spi_action.c: audit for exception handling,
1383 tolerating NULL object references safely etc.
1385 * cspi/spi_accessible.c: ditto.
1387 * cspi/spi_component.c: ditto.
1389 * cspi/spi_editabletext.c: ditto.
1391 * cspi/spi_hyperlink.c: ditto.
1393 * cspi/spi_hypertext.c: ditto.
1395 * cspi/spi_image.c: ditto.
1397 * cspi/spi_selection.c: ditto.
1399 2001-12-10 Michael Meeks <michael@ximian.com>
1401 * configure.in: use cspi/libspi.pc.in instead.
1403 * Makefile.am (pkgconfig_DATA): upd. to match.
1405 * test/simple-at.c (report_focus_event): kill hacks around
1406 bad return values, use putenv not setenv
1408 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
1409 fire ChildGone - I killed it.
1411 * libspi/component.c
1412 (impl_accessibility_component_get_extents): remove
1415 * idl/Accessible.idl: kill ChildGone exception.
1417 * cspi/*.[ch]: kill int return from ref / unref.
1419 * cspi/spi_main.c (cspi_object_add_check): fold into
1420 (cspi_object_add): here.
1422 * cspi/spi_component.c (AccessibleComponent_getExtents):
1423 handle exceptions elegantly.
1425 * cspi/spi-private.h (cspi_check_ev_return),
1426 (cspi_return_if_fail): impl.
1428 * cspi/spi_accessible.c: use extensively.
1429 (AccessibleStateSet_equals): add direct compare check.
1431 * cspi/spi_selection.c: tolerate NULL objs, and check
1432 exceptions before return.
1434 * cspi/spi-util.c (cspi_warn_ev): rename to
1435 (cspi_check_ev): this & don't pass ev in; no point.
1437 2001-12-10 Michael Meeks <michael@ximian.com>
1439 * test/test-simple.c: use putenv not setenv
1440 (get_environment_vars): more chatty if you're not using
1443 * test/simple-at.c: do the setenv so more people see the
1446 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1448 * libspi/registry.c:
1449 Changed check of CORBA_environment on notification to be a warning
1450 instead of an error for the moment, since we can recover from this
1451 error when caused by a queued notification from a dead app.
1454 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
1455 used by all current implementors of AtkValue), and coerce to
1456 CORBA_float. (Proper general case fix may require change to Value.idl).
1458 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1462 * cspi/spi_accessible.c:
1463 Documentation fixes: added user_data params to documentation for
1464 listeners and callbacks.
1466 * cspi/spi_accessible.c:
1467 Changed AccessibleStateSet_compare to return a
1468 StateSet rather than return the difference set into a third parameter.
1471 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1474 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
1475 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
1479 Remove subdirectory po from SUBDIRS for now.
1481 * at-bridge/bridge.c:
1482 Beefed up a couple of debug printouts.
1483 One-line fix for signal notification name formatting.
1485 * libspi/accessible.c:
1486 Added assertion to spi_accessible_new ().
1488 * libspi/application.c:
1489 Put #ifdef qualifiers around a printf.
1492 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
1494 * registryd/Makefile.am:
1496 Replaces use of XML_I18N_MERGE_SERVER_RULE with
1497 INTLTOOL_SERVER_RULE macro.
1500 Added an event listener for several ATK signals, for
1501 testing and debugging. Removed a few g_warnings.
1502 Added test output if focussed item implements the Value interface.
1504 * test/test-simple.c:
1505 Added test_value () function (known not to pass at the moment, so
1506 not actually called yet.
1508 2001-12-08 Michael Meeks <michael@ximian.com>
1510 * at-bridge/bridge.c (bridge_focus_tracker),
1511 (emit_eventv): fix the same ref. leak.
1512 (register_atk_event_listeners): don't leak.
1514 * cspi/spi-listener-impl.c (cspi_event): more
1515 protection from client code.
1517 * test/test-simple.c (test_desktop): unref the app.
1519 * test/Makefile.am: upd. TESTS.
1521 * at-bridge/bridge.c (bridge_exit_func): release the registry.
1523 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
1525 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
1527 * cspi/spi_registry.c: constify in strings.
1528 (deregisterGlobalEventListenerAll): don't release the ref.
1530 * cspi/spi.h: start removing redundant / conflicting
1531 gtkdoc comments, making the API readable at a glance :-)
1533 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
1535 * test/keysynth-demo.c (keysynth_exit, main): upd.
1537 * test/simple-at.c (main, simple_at_exit): upd.
1539 * test/test-simple.c (unutterable_horror): kill.
1540 (utterable_normal_derefs): kill.
1541 (main): upd & do a setenv before gtk_init, so that we
1542 can use memprof - and to save the pain of remembering
1543 this, if we're running under memprof - don't exit.
1545 * cspi/spi_main.c (SPI_exit): return exit status
1547 (SPI_event_quit): impl.
1548 (SPI_event_main): simplify.
1549 (cspi_is_gnome_app): kill.
1550 (SPI_init): kill isGNOMEapp arg.
1552 * at-bridge/bridge.c (register_atk_event_listeners):
1553 re-instate the unref.
1554 (bridge_exit_func): don't re-activate the registry,
1555 protect vs. theoretical re-entry, use the
1556 AT_BRIDGE_SHUTDOWN env. var to determine whether to
1557 assert a clean shutdown - for regression tests.
1559 2001-12-08 Abel Cheung <maddog@linux.org.hk>
1561 * configure.in: Comment out dummy i18n support for now,
1562 otherwise it fails to build.
1563 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
1564 EXTRA_DIST. They are missing in tarball.
1566 2001-12-07 Michael Meeks <michael@ximian.com>
1568 * util/magnifier.c: kill bonobo activation reg. race.
1570 * libspi/component.c
1571 (impl_accessibility_component_get_extents): make it match
1574 * libspi/registry.c (_registry_notify_listeners):
1575 re-remove X headers & reconcile conflicts.
1576 (spi_listener_struct_free): bad conflict resolve.
1577 (impl_accessibility_registry_register_application):
1578 more bad merging fixed.
1579 (impl_accessibility_registry_deregister_application): ditto.
1580 (spi_registry_new): ditto.
1581 (spi_registry_init): don't have an applications field.
1583 [ merge fixups2 branch to here ]
1584 2001-12-07 Michael Meeks <michael@ximian.com>
1586 * test/simple-at.c (report_focus_event),
1587 (report_focussed_accessible): remove g_warning debug.
1589 2001-12-07 Michael Meeks <michael@ximian.com>
1591 * test/test-simple.c (validate_tree): comment out some checks.
1592 (test_desktop): app now not registered idly - horay.
1594 2001-12-07 Michael Meeks <michael@ximian.com>
1596 * cspi/spi_registry.c
1597 (registerAccessibleKeystrokeListener): clean, stop it leaking
1598 great swathes of memory, and device event controller references.
1599 ensure we always pass valid sequences.
1600 (deregisterAccessibleKeystrokeListener): ditto.
1601 (generateKeyEvent): upd.
1603 * at-bridge/bridge.c (bridge_key_listener): handle
1604 registry dead exception gracefully.
1605 (bridge_focus_tracker, emit_eventv): free ev.
1607 * test/simple-at.c (report_focus_event): fix polarity.
1609 * libspi/application.c (notify_listeners): kill the ev
1610 argument, and make sure we init the ev we use.
1611 (spi_application_object_event_listener): split out a chunk
1612 (get_atk_object_ref): here & fixup.
1613 (reverse_lookup_name_for_toolkit_event): make const.
1614 (spi_application_toolkit_event_listener): fixup, kill leaks
1617 * at-bridge/bridge.c (register_atk_event_listeners):
1618 don't unref the noop object - causes grief.
1620 * libspi/registry.c: remove the X headers.
1621 turn off the debug churn.
1623 * libspi/accessible.c (spi_accessible_new_return): only
1624 release the ref if we are supposed to [doh]
1626 * test/simple-at.c (report_button_press, report_focus_event):
1627 guard vs. unexpected exit.
1629 * at-bridge/bridge.c (gtk_module_init): prune printf.
1630 (bridge_exit_func): fix app unref.
1632 * libspi/Makefile.am: don't install registry or desktop.h
1634 * libspi/*.h: update includes.
1636 * libspi/application.h: don't include ourself, or
1637 other redundant headers.
1639 2001-12-06 Michael Meeks <michael@ximian.com>
1641 * libspi/accessible.c
1642 (get_accessible_from_servant): impl.
1643 Upd. all CORBA impl.s to use it killing cut and paste.
1645 * cspi/spi_main.c (cspi_cleanup): guard vs. double
1647 (SPI_init): register atexit cleanup handler here.
1649 2001-12-06 Michael Meeks <michael@ximian.com>
1651 * at-bridge/bridge.c (gtk_module_init): g_error on
1652 activation exception
1654 2001-12-06 Michael Meeks <michael@ximian.com>
1656 * at-bridge/bridge.c (gtk_module_init): some sort of
1657 confusing merge clash - reverted.
1658 (bridge_idle_init): ditto.
1660 * test/test-simple.c (main, utterable_normal_derefs):
1661 merge from Bill - somehow not committed.
1663 2001-12-06 Michael Meeks <michael@ximian.com>
1665 * libspi/value.c (spi_value_class_init): upd.
1666 (spi_value_finalize): kill.
1668 * libspi/table.c (spi_table_finalize): kill.
1669 (spi_table_interface_new): upd.
1670 (spi_table_class_init): upd.
1671 (get_table_from_servant): impl.
1672 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1674 * libspi/selection.c (spi_selection_finalize): kill.
1675 (spi_selection_interface_new): upd.
1676 (spi_selection_class_init): upd.
1677 (get_selection_from_servant): impl.
1678 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1680 * libspi/relation.c (spi_relation_finalize): kill.
1681 (spi_relation_class_init, spi_relation_new): upd
1683 * libspi/image.c (spi_image_finalize): kill.
1684 (spi_image_class_init): upd.
1685 (spi_image_interface_new): upd.
1686 (get_image_from_servant): impl.
1687 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1689 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
1690 (spi_hyperlink_finalize): kill.
1691 (spi_hyperlink_new): upd.
1692 (get_hyperlink_from_servant): impl.
1693 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1695 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
1696 (spi_hypertext_finalize): kill.
1697 (spi_hypertext_class_init): upd.
1698 (get_hypertext_from_servant): impl.
1699 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1701 * libspi/editabletext.c (spi_editable_text_finalize): kill.
1702 (spi_editable_text_interface_new): upd.
1703 (get_editable_text_from_servant): impl.
1704 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1706 * libspi/text.c (get_text_from_servant): impl.
1707 All impls - update to use it killing more cut and paste,
1708 also fix bad string returns on duff args ( a somewhat
1709 impossible case to handle - but hey ).
1710 (spi_text_construct): impl.
1711 (spi_text_interface_new): upd.
1712 (spi_text_object_finalize): kill.
1714 * libspi/component.c
1715 (accessibility_component_object_finalize): kill.
1716 (spi_component_class_init): upd.
1717 (get_component_from_servant): impl. helper to kill cut & paste.
1718 (impl_accessibility_component_contains):
1719 (impl_accessibility_component_get_accessible_at_point):
1720 (impl_accessibility_component_get_position):
1721 (impl_accessibility_component_get_extents):
1722 (impl_accessibility_component_get_mdi_z_order):
1723 (impl_accessibility_component_get_layer):
1724 (spi_component_interface_new): upd.
1726 * libspi/action.c (spi_action_finalize): kill.
1727 (spi_action_class_init): upd. inherit from SpiObject.
1728 (spi_action_interface_new): upd.
1729 (get_action_from_servant): impl. helper to reduce cut & paste.
1730 (impl_getKeyBinding, impl_getName, impl_doAction),
1731 (impl_getDescription): Use it everywhere.
1733 * cspi/spi_main.c (get_live_refs): a pointer hash.
1734 (spi_object_hash, spi_object_equal): comment out.
1735 There are issues with CORBA object hashing that need
1738 * libspi/application.c (spi_application_init),
1739 (spi_application_new): upd.
1741 * libspi/accessible.c (spi_accessible_object_finalize): kill.
1742 (spi_accessible_class_init): upd.
1743 s/accessible/object/ in epv methods.
1745 2001-12-05 Bill Haneman <bill.haneman@sun.com>
1747 * at-bridge/bridge.c:
1748 Reorder the bridge initialization into the bridge gtk_module_init,
1749 an immediate call to bridge_register_app, and an idle_add for
1750 register_atk_event_listeners (the only code that *must* wait until
1751 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
1752 the activation, creates the application's Accessible object, and
1753 queues the bridge_idle_init function. Restored call to
1754 Accessibility_Registry_deregisterApplication().
1755 Prior to making this call we obtain a new reference to the
1756 registry, which is a temporary hack that helps us handle apps that
1757 shut down the bonobo mainloop before we get there.
1759 * libspi/registry.c:
1760 Fix string leakage in debug block, and don't segv if a an app
1761 dies before its event notifications have been propagated.
1764 Modify cspi_check_ev() to call g_warning() rather than g_error(),
1765 as stopgap measure until we get proper exception handling when
1766 objects die during or before interrogation.
1770 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
1771 Also changed default value of is_gnome_app to TRUE.
1774 * test/keysynth-demo.c:
1775 Changed use of SPI_init and SPI_event_main to reflect API change above.
1778 Made report_focus_event check the warning value from getName
1779 before reporting on focussed accessible; simplifies handling of
1780 notifications from dead objects.
1782 * test/test-simple.c: (Changes not in this patch since source is
1785 2001-12-05 Michael Meeks <michael@ximian.com>
1787 * registryd/registryd.c (main): protect against
1788 bonobo-activation startup race condition.
1790 * cspi/spi_main.c (cspi_object_add_check): cope
1791 with the exception elegantly.
1793 * idl/Accessible.idl: decl. ChildGone
1795 * libspi/desktop.c (spi_desktop_dispose): impl.
1796 (spi_desktop_class_init): upd.
1797 (spi_desktop_add_application),
1798 (spi_desktop_remove_application),
1799 (abnormal_application_termination): impl.
1800 (impl_desktop_get_child_at_index): re-impl.
1803 (impl_accessibility_registry_deregister_application),
1804 (impl_accessibility_registry_register_application):
1805 kill excessive debug clutter.
1807 * test/test-simple.c (test_misc): test some NULL
1808 tolerance. (main): upd.
1810 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
1811 implements no interfaces - so let's not crash.
1813 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
1815 * libspi/accessible.c (spi_accessible_new_return): impl.
1816 helper to calm the cut and paste, to cope with
1817 NULL AtkObjects effectively and efficiently, and to kill
1818 the referencing bugs.
1820 * libspi/table.c (impl_getAccessibleAt),
1821 (impl_getRowHeader, impl_getColumnHeader): upd.
1823 * libspi/hyperlink.c (impl_getObject): upd.
1825 * libspi/accessible.c
1826 (impl_accessibility_accessible_get_child_at_index): upd.
1828 * libspi/component.c
1829 (impl_accessibility_component_get_accessible_at_point): upd.
1831 * test/test-simple.c (test_editable_text, test_text): impl.
1834 * cspi/spi_editabletext.c
1835 (AccessibleEditableText_insertText): constify.
1837 * test/test-simple.c (focus_me): make more robust.
1839 * libspi/accessible.c: remove some printfs in methods that
1840 we test and work fine, so we can get a clean tree dump.
1842 * test/test-simple.c (validate_accessible),
1843 (validate_tree): make tree dumping pretty too.
1845 * at-bridge/bridge.c (bridge_signal_listener): upd. so
1846 it builds without debug on.
1848 * test/test-simple.c (validate_accessible): fix the most
1851 * cspi/spi_main.c (spi_object_release): leave the nicely
1852 blanked memory around if in debug mode.
1854 * cspi/spi-listener-impl.c (cspi_event): use add_check.
1856 [committed to fixups2]
1857 2001-12-05 Michael Meeks <michael@ximian.com>
1859 * libspi/editabletext.c
1860 (spi_editable_text_class_init): g_type_class_peek_parent,
1861 not interface peek - so we finalize cleanly.
1863 * libspi/accessible.c (spi_accessible_new): kill debug.
1865 * test/test-simple.c (validate_accessible): fix ref.
1866 leak, print strings before freeing them; sigh, comment a
1867 chunk out due to strangeness.
1868 (validate_tree): unref the child after use.
1870 * cspi/spi_component.c (AccessibleComponent_getLayer):
1871 add missing break statement, switch on zlayer not the
1872 uninitialized retval.
1874 * cspi/spi_main.c (cspi_object_add): add assert, local ref
1875 before (possibly re-entering) remote unref.
1877 * test/simple-at.c (main): unref the desktop.
1879 * cspi/spi_accessible.c (cspi_accessible_is_a): move
1882 * cspi/spi_main.c (cspi_accessible_is_a): here to
1883 isolate bonobo API usage more.
1885 * libspi/registry.c (impl_accessibility_registry_register_application):
1886 prune bogus comment.
1888 2001-12-04 Michael Meeks <michael@ximian.com>
1890 * test/test-simple.c (validate_tree): upd.
1891 IndexInParent check to make it more lucid.
1892 (validate_accessible): dump the tree.
1894 * libspi/accessible.c (de_register_public_ref),
1895 (get_public_refs): impl.
1896 (spi_accessible_new): make more efficient & intuitive.
1897 Now IndexInParent check works.
1899 2001-12-04 Michael Meeks <michael@ximian.com>
1901 * cspi/spi-util.h: remove.
1903 * cspi/spi.h: move SPI_freeString here
1905 * libspi/component.c (impl_accessibility_component_get_layer):
1907 (impl_accessibility_component_get_mdi_z_order): ditto,
1908 return -1 on error - is this ok ?
1910 * test/test-simple.c (test_application): impl.
1912 * cspi/spi_accessible.c (Accessible_getApplication),
1913 (Accessible_isApplication): impl.
1915 * libspi/registry.c (spi_listener_struct_free): release
1916 the CORBA reference too.
1918 * libspi/accessible.c
1919 (impl_accessibility_accessible_get_parent): fix ref leak.
1921 * libspi/registry.c (spi_registry_new): make the registry
1922 immortal - we don't want it to go away ever.
1924 * libspi/application.c
1925 (spi_accessible_application_finalize): impl. cleanup.
1927 * cspi/spi_registry.c
1928 (deregisterGlobalEventListenerAll),
1929 (deregisterGlobalEventListener),
1930 (deregisterAccessibleKeystrokeListener): fix ref leak.
1932 * cspi/spi_main.c (SPI_init): remove redundant ref.
1934 * test/test-simple.c (unutterable_horror): impl. to force a
1939 (impl_accessibility_registry_deregister_application): release
1940 the application when we de-register it.
1942 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1943 until we have the infastructure to get it right.
1945 2001-12-03 Michael Meeks <michael@ximian.com>
1947 * libspi/Makefile.am: only build eventlistener.[ch]
1949 * libspi/accessible.c
1950 (impl_accessibility_accessible_get_child_at_index): don't leak.
1952 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1953 before we hit the idle handler.
1955 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1956 debugging than exit.
1958 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1960 * libspi/listener.c (impl_notify_event): check source
1961 not NIL before unref.
1963 * libspi/registry.c (impl_registry_notify_event): ditto.
1965 * libspi/eventlistener.c
1966 (impl_accessible_event_notify_event): unref the source.
1968 * libspi/accessibleeventlistener.c
1969 (impl_accessible_event_notify_event): unref the source.
1971 * idl/Event.idl: remove 'hash_id' attribute - of no
1974 * libspi/application.c (notify_listeners): upd list
1976 (spi_application_object_event_listener),
1977 (spi_application_toolkit_event_listener): upd to do correct
1981 (_registry_notify_listeners): update.
1982 (parse_event_type): this method also leaks like a sieve.
1983 (impl_accessibility_registry_deregister_global_event_listener):
1984 fix ETYPE_WINDOW case.
1986 * libspi/application.c
1987 (impl_accessibility_application_register_object_event_listener):
1990 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1992 * libspi/hypertext.c (impl_getLink): ditto.
1994 * cspi/spi_main.c (cspi_object_add): remove
1995 bogus CORBA_Object_duplicate.
1997 * cspi/spi-listener-impl.c (cspi_event): dup/ref
2000 * cspi/spi_accessible.c
2001 (Accessible_getRelationSet): fix leak / referencing issue.
2003 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
2004 (cspi_object_add, cspi_object_unref): upd.
2005 (spi_object_release, get_live_refs): impl.
2006 (cspi_cleanup): simplify.
2008 * *.[ch]: s/boolean/SpiBoolean/
2010 * cspi/spi_accessible.c (role_names): actualy order so it
2011 corresponds with the enum !
2013 * test/test-simple.c (test_roles): check some role strings
2014 vs. enums to detect offset errors.
2016 2001-12-01 Michael Meeks <michael@ximian.com>
2018 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
2020 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
2022 (Accessible_getChildAtIndex): use cspi_add_check so we
2023 check the ev before using a (possibly) invalid value.
2025 * libspi/accessible.c
2026 (impl_accessibility_accessible_get_parent): don't segv
2029 * at-bridge/bridge.c (gtk_module_init): upd.
2030 (bridge_property_event_listener): don't leak strings
2032 (bridge_state_event_listener),
2033 (bridge_property_event_listener): don't use a static
2034 buffer in case of recursive event emission &
2035 re-enterancy - split out the swathe of cut and paste
2037 (emit_eventv): and fix 2 ref leaks here & comply to the
2039 (bridge_register_app): rename to
2040 (bridge_idle_init): this and kill arg parsing, split
2041 various inits & bonobo-activation registration to module
2042 init time, kill referencing error.
2043 (bridge_exit_func): fix the same leak.
2044 (bridge_focus_tracker): don't leak event structures
2046 (bridge_signal_listener): more leakage and cut & paste
2048 (bridge_key_listener): return the result - FIXME is
2049 this polarity correct ?
2050 (accessibility_keystroke_from_atk_key_event): rename
2051 (accessibility_init_keystroke_from_atk_key_event): and stop
2053 (gtk_module_init): return a value - not that it is checked by
2055 (bridge_key_listener): register my horror at casting between
2056 IDL defined structs.
2057 (bridge_get_registry): kill - not used.
2059 * cspi/spi_accessible.c (Accessible_getRole): make return const.
2061 * test/test-simple.c (test_roles): impl.
2062 (test_desktop, validate_accessible, validate_tree): impl.
2064 * cspi/spi_accessible.c (role_names): fixup bogus
2065 MAX_ROLES setup, make constants const for efficient linkage
2066 (AccessibleRole_getName): conform to coding style, make
2069 2001-11-30 Michael Meeks <michael@ximian.com>
2071 * cspi/spi.h: add missing prototype.
2073 * libspi/registry.c (spi_listener_struct_new): fix sig.
2075 * test/Makefile.am: add test-simple
2077 * test/test-simple.c: add
2079 * test/test.sh: add.
2081 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
2083 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
2084 do it straight - since otherwise we often get an activation race.
2086 [ work before Bill duplicated a chunk of it ... ]
2087 2001-11-30 Michael Meeks <michael@ximian.com>
2089 * libspi/keystrokelistener.c
2090 (spi_keystroke_listener_class_init): fixup arg
2093 * libspi/eventlistener.c
2094 (spi_event_listener_class_init): ditto.
2096 * tests/test.sh: add.
2098 * cspi/spi-listener-impl.h: update macros.
2100 * cspi/spi-listener-impl.c
2101 (cspi_event_listener_remove_callback): add
2102 correct pre-conditions.
2104 * cspi/spi_main.c (SPI_exit): guard vs. double
2105 exits, exit the mainloop nicely.
2106 (SPI_event_main): make more sense.
2107 (SPI_init): move the atexit evilness here so we
2108 always do it (yuck).
2109 (SPI_event_main): upd.
2111 * test/simple-at.c: update for listener changes.
2113 * registryd/registryd.c (main): prune kruft.
2115 * libspi/libspi.h: upd.
2117 * libspi/eventlistener.[ch]: rename broken macros.
2119 * libspi/accessibleeventlistener.[ch]: remove.
2121 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
2123 * test/test-simple.c: Add - automated tests.
2125 * cspi/spi-listener-impl.c (cspi_event),
2126 (cspi_key_event): add user_data to invoke.
2127 (cspi_keystroke_listener_finalize): impl.
2128 (cspi_keystroke_listener_class_init): upd.
2131 (createAccessibleEventListener),
2132 (AccessibleEventListener_addCallback),
2133 (createAccessibleKeystrokeListener),
2134 (AccessibleKeystrokeListener_addCallback): upd.
2136 * libspi/deviceeventcontroller.c
2137 (spi_device_event_controller_check_key_event): add public proto.
2140 (impl_accessibility_registry_deregister_global_event_listener):
2141 always init listeners.
2142 (_registry_notify_listeners): yes it is.
2144 * cspi/spi-listener-impl.c (cspi_key_event):
2146 (cspi_event_listener_finalize): impl.
2147 (cspi_event_listener_class_init): hook up.
2148 (event_handler_new, event_handler_free),
2149 (event_list_remove_by_callback): impl.
2150 (cspi_event_listener_remove_callback),
2151 (cspi_keystroke_listener_remove_callback),
2152 (cspi_keystroke_listener_add_callback),
2153 (cspi_event_listener_add_callback): upd.
2155 * libspi/keystrokelistener.c
2156 (keystroke_listener_object_finalize): kill
2157 (spi_keystroke_listener_class_init): upd.
2158 (spi_keystroke_listener_add_callback),
2159 (spi_keystroke_listener_remove_callback): kill,
2161 (impl_key_event): prune drasticaly.
2163 * libspi/eventlistener.c
2164 (spi_event_listener_add_callback),
2165 (spi_event_listener_remove_callback): kill, use
2167 (impl_accessible_event_notify_event): upd.
2168 (spi_event_listener_object_finalize): remove.
2170 * libspi/Makefile.am: use eventlistener.[ch]
2172 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2174 * libspi/registry.c (_registry_notify_listeners):
2175 Changed listener loop iteration to use preferred convention.
2176 Got rid of string memory leaks caused be calling g_strconcat
2177 inside function calls.
2179 * libspi/registry.c (parse_event_type):
2180 Stopped g_strconcat memory leaks, free the g_strsplit return,
2181 g_strdup the split pieces when used, etc.
2183 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2186 Change method 'compare' to return a 'difference set' rather than
2187 taking a StateSet as an out parameter (more Java-friendly).
2189 * idl/Accessible.idl:
2190 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2192 * idl/Component.idl:
2194 Changed methods 'getExtents' and 'getImageExtents' in these
2195 interfaces to return a BoundingBox structure.
2196 (getPosition and getSize are redundant and possibly should be
2197 removed, rather than creating a corresponding Point struct.)
2199 * cspi/spi_component.c:
2200 Modify implementation of getExtents to reflect the above IDL
2205 Add (missing) AccessibleImage_getExtents () API.
2207 * docs/reference/cspi/at-spi-cspi-sections.txt:
2208 Added AccessibleImage_getImageExtents () to docs.
2210 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2212 * idl/Component.idl:
2213 Added two methods, getLayer () and getMDIZOrder (), to reflect
2214 the new ATK methods atk_object_get_layer and
2215 atk_object_get_mdi_z_order. (Which arguably should be part of the
2216 AtkComponent API and AtkObject). Also added an enum,
2217 ComponentLayer, for the first method's return value.
2219 * libspi/component.c:
2220 Added implementations for these methods.
2222 * cspi/spi_component.c:
2224 Added cspi binding methods for above,
2225 AccessibleComponent_getLayer() and
2226 AccessibleComponent_getMDIZOrder().
2227 Added cspi enum 'AccessibleComponentLayer'.
2229 * docs/reference/cspi/at-spi-cspi-sections.txt:
2230 Added above methods to docs.
2234 Changed typedef for 'boolean' type (and all references to it) to
2235 SPIBoolean, to avoid keyword clashes with C++.
2238 Changed usages of 'boolean' to SPIBoolean.
2240 * test/keysynth-demo.c:
2241 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2242 app), except where SPIBoolean is required by the callbacks API.
2244 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2246 * cspi/spi_registry.c:
2247 Removed obsolete X event loop for passive keygrabs (which now
2250 * registryd/registryd.c:
2251 Removed unnecessary call to gdk_init() [cruft]. This also allows
2252 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2255 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2257 * docs/reference/cspi:
2258 Included docs for SPI_freeString in generated documentation.
2261 Renamed spi_freeString to SPI_freeString, for consistency. Added
2262 documentation for this function.
2265 Renamed spi_freeString to SPI_freeString, for consistency.
2266 Removed obsolete method declaration string_from_corba_string.
2268 * test/keysynth-demo.c:
2269 Small tweak to comments.
2272 Stopped leaking the strings returned from CSPI.
2274 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2276 Merged Michael's branch (see his ChangeLog entries below).
2278 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2279 bridge is alive, release on exit.
2281 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2282 Fix type check macro.
2285 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2288 Added is_gnome_app static, and method cspi_is_gnome_app(),
2289 so we can call the appropriate shutdown routine at exit in SPI_exit.
2291 * cspi/spi_main.c (cspi_object_ref):
2292 Duplicate the corba object passed in, since we're keeping it around.
2294 * cspi/SPI_exit.c, cspi_cleanup:
2295 Moved the releasing of the live refs to its own function, so we
2296 can put it in g_atexit (). Call the appropriate shutdown API
2297 depending on whethe calling client is a gnome app or not
2298 (bonobo_main_quit or CORBA_ORB_shutdown).
2300 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2301 Unref the listener when this method is called, after
2302 deregistration. Updated the API docs to note this behavior.
2304 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2305 Bugfixes: Ref the bonobo object when returning a parent or child
2306 reference, or an AccessibleRelation. Generally made sure
2307 BonoboObject refcount is incremented whenever we return an
2310 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2311 Fixed typo/bug in signal declaration.
2313 * libspi/accessibleeventlistener.h:
2316 * libspi/application.c (spi_application_new):
2317 Fixed leak in initialization.
2320 Remembered to increment bonobo-object refcount when returning
2321 children (applications) from desktop object.
2322 Added (empty) finalize method.
2324 * libspi/deviceeventcontroller.c:
2325 Hold a ref to listeners inside DEControllerKeyListeners.
2326 Added dec_key_listener_free() method. Use prepend instead of
2327 append in key_listener list. Fixed some refcount madness and
2328 leaks in the listener registration/deregistration - deregistration
2329 now calls dec_key_listener_free() on listeners, and on the
2330 temporarily constructed dec_key_listener() used to perform the search/match.
2332 * libspi/hypertext.c (spi_hypertest_finalize):
2333 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2334 class. Also fixed spi_hypertext_interface_new() and
2335 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2337 * libspi/hypertext.h:
2338 Removed pointless and duplicate AtkObject pointer from
2341 * libspi/keystrokelistener.c:
2342 Fixed incorrect type of keystroke_listener_parent_class,
2343 renamed keystroke_listener_object_finalize to
2344 spi_keystroke_listener_object_finalize.
2345 Fixed typo in signal declaration
2346 (spi_keystroke_listener_class_init).
2348 * libspi/registry.c:
2349 Added funcsions spi_listener_struct_new() and
2350 spi_listener_struct_free() to help with memory management issues.
2351 We also now use these methods instead of gnew + poking stuff into
2352 the struct, and to decrement listener counts/free the listeners
2353 when deregistering them.
2354 Fix more refcount bugs in getDesktop() and
2355 getDeviceEventController().
2358 De-ref the desktop after enumerating the applications. Explicitly
2359 decrement the refcounts on the created listeners on exit (using
2360 _unref for keystroke listeners, and via the
2361 deregisterGlobalEventListenerAll command for other event
2364 2001-11-27 Michael Meeks <michael@ximian.com>
2366 * cspi/spi-listener.h: fixup enum.
2368 2001-11-27 Michael Meeks <michael@ximian.com>
2370 * cspi/spi-listener-impl.c (cspi_event_listener_new),
2371 (cspi_keystroke_listener_new): Use the cspi variants.
2373 2001-11-26 Michael Meeks <michael@ximian.com>
2375 * test/keysynth-demo.c: fix 2 compile warnings, missing
2378 * test/simple-at.c (report_focussed_accessible),
2379 (report_focus_event, report_button_press),
2380 (check_property_change, is_command_key),
2381 (report_ordinary_key_event, report_command_key_event): upd.
2383 * util/mag_client.h: include pre-requisites.
2385 * libspi/accessibleeventlistener.c
2386 (spi_event_listener_object_finalize): free any lingering
2389 * libspi/keystrokelistener.c
2390 (keystroke_listener_object_finalize): ditto.
2392 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
2393 callbacks, with cspi types.
2395 * cspi/spi_event.c (createAccessibleEventListener): chain to
2396 (AccessibleEventListener_addCallback): here.
2397 (createAccessibleKeystrokeListener): chain to
2398 (AccessibleKeystrokeListener_addCallback): here.
2400 * libspi/keystrokelistener.c
2401 (spi_keystroke_listener_class_init): add signal.
2402 (impl_key_event): emit the event.
2403 (boolean_handled_accumulator): impl.
2404 (marshal_BOOLEAN__POINTER): add, gack.
2406 * libspi/accessibleeventlistener.c
2407 (spi_event_listener_class_init): add signal.
2408 (impl_accessible_event_notify_event): emit the signal &
2409 make the loop efficient.
2410 (spi_event_listener_add_callback): prepend the callback.
2412 * libspi/accessibleeventlistener.h: add an 'event' signal,
2413 decl type on callback.
2415 * libspi/keystrokelistener.h: ditto.
2417 * cspi/spi-listener.h: make methods typesafe and
2418 make them use the new event typedefs.
2420 * test/simple-at.c (report_focussed_accessible):
2421 include mag_client.h
2422 Use *(void *)text_interface not the other thing.
2424 * configure.in: add gtk to registryd bits - since we use
2427 * util/magnifier.c: include libbonobo.h
2429 2001-11-25 Bill Haneman <bill.haneman@sun.com>
2431 * test/keysynth-demo.c:
2432 Turned this into a simple scanning keyboard, to demonstrate the
2433 use of g_timeout_add () as a means of creating timers for
2434 scanning, and the use of GtkStyle for visually indicating when
2435 virtual keyboard elements are selected.
2437 keysynth-demo now listens to any keyboard keys with zero-valued
2438 keycodes (i.e. 'unused' keys) and interprets them as
2441 Reworked the shiftlatch code so that shift-down state isn't held
2442 for long periods (it's only synthesized immediately prior to
2443 the keysynth event it's modifying). Note that shiftlatch in this
2444 demo is a convenience, not intended to take the place of AccessX
2445 which is the better choice for getting 'sticky' modifier keys.
2447 * libspi/deviceeventcontroller.c:
2448 * at-bridge/bridge.c:
2449 * cspi/spi_registry.c:
2450 Removed some debug print stuff, and put other verbosity in #ifdef
2455 Implemented some more of the magnifier IDL for the simple
2456 magnifier: namely, getZoomRegionParams.
2457 Added mag_x and mag_y members to MagnifierData struct, aid of this
2459 Added GtkWindow::realize signal handler to magnifier, to keep it
2460 from receiving keyboard focus from the WM.
2462 2001-11-23 Mark McLoughlin <mark@skynet.ie>
2464 * cspi/spi-private.h: my guess at what michael forgot
2465 before he ran off to NZ :-)
2467 2001-11-23 Michael Meeks <michael@ximian.com>
2469 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
2470 comment out non existant method invoke so we link.
2472 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
2473 use bonobo_exception_get_text for more friendly warnings.
2475 * cspi/spi.c (Obj_Add): move into spi_main & rename
2476 spi_object_add; kill spi.c
2478 * cspi/spi_registry.c
2479 (deregisterGlobalEventListener),
2480 (deregisterGlobalEventListenerAll),
2481 (registerGlobalEventListener): fix exception leaks.
2483 * cspi/spi_main.c (spi_exception): impl. helper, so we
2484 don't leak exceptions.
2486 * cspi/spi_selection.c
2487 (AccessibleSelection_deselectSelectedChild): return the
2490 * cspi/spi_main.c (spi_ev): impl; hack - gack.
2491 (spi_registry): ditto.
2492 (SPI_init): guard against double inits.
2494 * cspi/*.c: use spi_ev (), and spi_registry () where
2495 appropriate - a temporary hack until we have something
2496 better. Use spi_object_add
2498 2001-11-22 Michael Meeks <michael@ximian.com>
2500 * cspi/Makefile.am: re organise, install the headers.
2502 * cspi/*.h: add G_BEGIN/END_DECLS
2504 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2507 Added non-preemptive keylistener for key events with no modifiers
2508 and shift-only modifier.
2510 * libspi/keystrokelistener.c:
2511 Removed some verbose diagnostics printout.
2513 * cspi/spi_registry.c:
2514 Fixed a bug that caused all key listeners to be registered as
2517 * libspi/deviceeventcontroller.c:
2518 Fixed bug that caused XGrabKey (preemptive key grab) to be called
2519 for non-preemptive key masks.
2522 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2524 * docs/reference/idl/at-spi-idl-docs.sgml:
2525 * docs/reference/idl/at-spi-idl-sections.txt:
2526 * docs/reference/idl/at-spi-idl-overrides.txt:
2527 Added missing files.
2529 * docs/reference/Makefile.am:
2530 removed idl from SUBDIRS until we can figure a way to get gtk-doc
2531 to scan the IDL files :-(
2536 Added .cvsignore files.
2538 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2540 * libspi/deviceeventcontroller.c:
2541 * libspi/keystrokelistener.c:
2543 * cspi/spi_registry.c:
2544 Added filters for KeySets, KeyEventSeq, and event types to key
2545 event dispatching, so listeners should only receive those events
2546 that they requested :-)
2548 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2553 * docs/reference:Makefile.am:
2554 * docs/reference/cspi:
2555 * docs/reference/cspi:Makefile.am:
2556 * docs/reference/cspi:tmpl:
2557 * docs/reference/cspi:tmpl:*.sgml:
2558 * docs/reference/idl:
2559 * docs/reference/idl:Makefile.am:
2560 * docs/reference/idl:at-spi-idl-sections.txt:
2561 * docs/reference/idl:at-spi-idl-docs.sgml:
2562 * docs/reference/idl:tmpl:
2563 * docs/reference/idl:tmpl:*.sgml:
2565 Restructured docs directory to allow separate 'reference' docs
2566 section, and forked idl and cspi docs. Added the sgml template
2567 files to CVS. Added the first sections/structural sgml for the
2570 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
2572 * configure.in, libspi/Makefile.am: find libXtst.
2574 2001-11-21 Michael Meeks <michael@ximian.com>
2576 * test/accessx-gui.c: s/spi_value/value/ - doh.
2578 * libspi/base.[ch]: add.
2580 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2582 * idl/Accessible.idl:
2583 * idl/Application.idl:
2586 Started gtk-doc cleanup on IDL.
2588 * libspi/deviceeventcontroller.c:
2589 Added and connected non-preemptive key notification from the
2590 toolkits (in addition to the pre-emptive support from XServer
2591 which we had before, but which causes 'focus flashing'). Filters
2592 are presently limited to key modifiers and global/non-global,
2593 KeySets are presently ignored, as are KeyEvent masks.
2595 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
2596 structs into the persistant structure rather than just storing
2597 pointers to things that might not persist across servant
2600 The XGrabKey call now does async keygrabs, because synchronous
2601 ones were deadlocking with GDK_event code in a very nasty way.
2603 Added boolean to internal method notify_keylisteners, to indicate
2604 whether the event came from the 'toolkit source' or the 'global
2605 (XServer) source' - this is used in the notification process to
2606 determine which listeners to send the event to.
2608 deviceeventcontroller.c is now warning-free.
2610 * libspi/registry.c:
2611 Fixed regression in application de-registration.
2612 Also fixed some really brain-dead weirdness having to do with
2613 event dispatching - event structs are now duplicated before being
2614 re-marshalled in the dispatch to listeners. This also fixes a
2615 Solaris build problem.
2618 2001-20-11 Michael Meeks <michael@ximian.com>
2621 (impl_accessibility_registry_deregister_global_event_listener):
2624 * libspi/deviceeventcontroller.c
2625 (spi_device_event_controller_check_key_event): return
2626 FALSE on no virtual method.
2628 * libspi/*..h: make includes work on a correctly pathed install.
2630 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
2632 * libspi/application.h: kill unused ( and whacked out )
2633 gboolean *spi_application_set_id (AtkObject *app, long id);
2635 2001-20-11 Michael Meeks <michael@ximian.com>
2637 * libspi/*.[ch]: further convert to bonobo's type func
2638 macros, remove redundnant casts etc.
2640 * libspi/text.c s/accessibility_text/spi_text/g,
2641 re-order to de-cruft.
2643 * libspi/hypertext.c: re-order to kill a huge slew
2644 of redundant forward decls.
2646 * libspi/relation.c: ditto.
2648 * libspi/image.c: ditto.
2650 * */.cvsignore: update
2652 2001-20-11 Michael Meeks <michael@ximian.com>
2654 * libspi/deviceeventcontroller.c
2655 (_controller_register_with_devices): use g_getenv,
2656 kill stdlib.h include.
2658 * libspi/keystrokelistener.c
2659 (spi_keystroke_listener_get_type): kill
2660 (spi_keystroke_listener_class_init),
2661 (spi_keystroke_listener_init): rename to this.
2663 * libspi/text.c (impl_getAttributes): fix warning / bug.
2665 * libspi/*.[ch]: more headers, includes and over commenting.
2667 2001-20-11 Michael Meeks <michael@ximian.com>
2669 * libspi/*.[ch]: fixup headers, includes and over commenting.
2671 * libspi/image.c (impl__get_imageDescription): const
2672 correctness warning fix. remove redundant casting.
2674 * libspi/table.c (impl_getRowDescription): ditto.
2675 (impl_getColumnDescription): ditto.
2677 * libspi/libspi.h: add.
2679 2001-19-11 Michael Meeks <michael@ximian.com>
2681 * libspi/editabletext.c (impl_setAttributes): fix warnings.
2683 * libspi/component.c (accessibility_component_get_type):
2684 rename to (spi_component_get_type): and macroify.
2685 (accessibility_component_init): rename to
2686 (spi_component_init): this
2687 (accessibility_component_class_init): rename to
2688 (spi_component_class_init): this
2690 * libspi/action.c (spi_action_get_type): kill, use the macro.
2692 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
2695 * libspi/application.c (spi_application_object_event_listener),
2696 (impl_accessibility_application_register_object_event_listener):
2697 warning fixes / const understanding updates.
2699 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
2702 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2704 * libspi/spi_accessible.c: Added docs and C bindings for
2705 AccessibleStateSet. (No implementations yet). Documentation
2706 coverage for C bindings now 100%. Made docs for event listeners
2711 boolean notifyListenersSync (in DeviceEventListener listener,
2712 in DeviceEvent event);
2714 oneway void notifyListenersAsync (in DeviceEventListener listener,
2715 in DeviceEvent event);
2717 Added DeviceEventListener and DeviceEvent structs (may deprecate
2718 KeyStroke and KeystrokeListener in favor of this generic
2719 event/listener framework for devices).
2721 * libspi/deviceeventcontroller.c:
2723 Changed some key listener code to take masks, etc., and paved the
2724 way for integration of toolkit/non-preemptive key events. Changed
2725 signatures of some internal methods.
2727 * at-bridge/bridge.c:
2728 Fixed regression connecting to interface signals, apparently
2729 caused by GTK+ changes.
2731 Added an internal bridge_state_listener to deal with
2732 property-change:accessible-state signals.
2734 Changed the key_listeners GList to store structs (including masks,
2735 etc.) instead of just CORBA_Objects (required for full
2736 implementation of key listener API).
2738 Connected the bridge to all currently supported Atk signals.
2739 Events now supported:
2740 object:property-change
2741 object:property-change:accessible-name
2742 object:property-change:accessible-state
2743 object:property-change:accessible-description
2744 object:property-change:accessible-parent
2745 object:property-change:accessible-value
2746 object:property-change:accessible-role
2747 object:property-change:accessible-table-caption
2748 object:property-change:accessible-table-column-description
2749 object:property-change:accessible-table-column-header
2750 object:property-change:accessible-table-row-description
2751 object:property-change:accessible-table-row-header
2752 object:property-change:accessible-table-summary
2753 object:children-changed
2754 object:visible-data-changed
2755 object:selection-changed
2756 object:text-selection-changed
2758 object:text-caret-moved
2760 object:row-reordered
2762 object:column-inserted
2763 object:column-reordered
2764 object:column-deleted
2765 object:model-changed
2767 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2769 * libspi/hyperlink.c,h:
2770 Fixed some broken stuff in hyperlink.
2772 * libspi/relation.h:
2773 * libspi/relation.c:
2774 * cspi/spi_accessible.c:
2775 Initial implementations of AccessibleRelation methods, and docs.
2777 * libspi/accessible.c:
2778 Fixed a bug that caused SEGV if an accessible
2779 object's description is NULL, and a client
2780 requests it. An empty string is now returned.
2782 * cspi/spi_editabletext.c:
2783 * cspi/spi_hypertext.c:
2785 * cspi/spi_hyperlink.c:
2789 Doc coverage now 95%.
2791 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2793 One last namespacing revision:
2794 * libspi/accessibleeventlistener.[ch]:
2795 Renamed SpiAccessibleEventListener to SpiEventListener,
2796 (no need for two namespaces ;-)
2798 And lots of documentation fixes:
2800 * docs/at-spi-docs.sgml:
2801 Fixed 'underscore vs. hyphen' bug that was preventing
2802 the gtk-doc API docs from being automatically generated.
2805 * cspi/spi-listener.h
2807 * cspi/spi_accessible.c
2809 * cspi/spi_application.c
2810 * cspi/spi_component.c
2811 * cspi/spi_editabletext.c
2813 * cspi/spi_hypertext.c
2815 * cspi/spi_registry.c
2816 * cspi/spi_selection.c
2820 * docs/at-spi-docs.sgml
2821 * docs/at-spi-sections.txt
2823 Added and fixed up gtk-doc documentation in cspi.
2825 Interfaces now (fully) documented (subject to revision and enhancement):
2827 Event Listener Support
2829 AccessibleApplication
2833 AccessibleEditableText
2840 AccessibleRelationSet
2845 2001-14-11 Bill Haneman <bill.haneman@sun.com>
2847 * at-bridge/bridge.c:
2848 Initial work for toolkit-level key snooper connection by bridge.
2853 New typedefs and fixes to support new namespacing, and cleaner
2854 separation of cspi bindings from libspi bonobo implementation.
2855 Removed inconsistent and extraneous Spi* namespace prefix that
2856 had crept into cspi headers.
2857 Lots of comment fixes that sed had missed.
2859 * cspi/spi-roletypes.h:
2860 * cspi/spi-statetypes.h:
2861 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
2862 to AccessibleRoleType.
2864 * libspi/accessibleeventlistener.h:
2865 Fixed minor namespacing weirdness.
2867 * libspi/deviceeventcontroller.c:
2868 Reordered some internal API for device listeners.
2869 Changed the key registry final boolean to 'is_system_global'
2870 rather than 'is_synchronous', which is more descriptive of its
2872 Added spi_device_event_controller_new().
2873 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
2875 * libspi/keystrokelistener.[ch]:
2876 Namespaced KeystrokeListener to SpiKeystrokeListener.
2877 Changed uses of keymasks to use SPI_ prefix, and did other
2880 * libspi/keymasks.h:
2881 Namespaced keymask constants with SPI_ prefix.
2883 * libspi/registry.c:
2884 Some warning fixes, and knock-on fixes from namespace changes.
2887 Added rules for accessx-gui test program.
2889 * test/accessx-gui.c:
2890 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2891 utility. It doesn't actually use at-spi, but it's still cool and
2894 * test/keysynth-demo.c:
2898 Fixes so that these test clients work properly with the namespaced
2899 libraries. (Incompletely tested for technical reasons, fixes may follow)
2902 2001-13-11 Michael Meeks <michael@ximian.com>
2904 * libspi/application.c
2905 (impl_accessibility_application_get_version),
2906 (impl_accessibility_application_get_toolkit_name):
2908 (impl_accessibility_application_set_id),
2909 (impl_accessibility_application_get_id): remove
2910 redundant casting code.
2912 * libspi/action.c (impl_getDescription): fix warnings.
2914 * libspi/accessible.c
2915 (impl_accessibility_accessible_get_parent),
2916 (impl_accessibility_accessible_get_child_at_index),
2917 (impl_accessibility_accessible_get_state),
2918 (impl_accessibility_accessible_get_relation_set):
2919 warning fixes & include action.h
2921 2001-13-11 Michael Meeks <michael@ximian.com>
2923 * *.[ch] fix bits I screwed up:
2925 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2926 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2928 2001-13-11 Michael Meeks <michael@ximian.com>
2930 * *.[ch] Namespace libspi into spi_ and Spi.
2932 2001-13-11 Michael Meeks <michael@ximian.com>
2934 * Makefile.am: dist & install at-spi-1.0.pc
2936 * libspi/Makefile.am: install into at-spi-1.0
2938 * idl/Makefile.am (idldir): install into at-spi-1.0
2940 * at-spi-1.0.pc.in: add.
2942 * configure.in: build it.
2944 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2946 * test/keysynth-demo.c:
2947 Use a 'realize' signal-handler to set the WM properties for
2948 the virtual keyboard, rather than making it a "POPUP" type
2949 override-redirect window (thanks to anders carlsson for that
2952 2001-11-11 Bill Haneman <bill.haneman@sun.com>
2955 * test/keysynth-demo.c:
2956 Added new test of key synthesis, which creates a simple
2957 (mouse-operated) onscreen keyboard. It inserts key events into
2958 the currently-focused window, thus it does not grab keyboard focus
2961 * cspi/spi_registry.c:
2962 Added C binding for AT-SPI generateKeyEvent.
2964 * libspi/deviceeventcontroller.c:
2965 Added call to XFilterEvent so that key listener works with XIM (we
2966 hope). Added event_synth_type to generateKeyEvent, so that we can
2967 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2968 synthesize a press/release pair for KeySyms.
2970 2001-11-09 Bill Haneman <bill.haneman@sun.com>
2972 * libspi/Makefile.am:
2973 * registryd/Makefile.am:
2974 (temporary) hack to include libXtst in libspi and registryd.
2975 (Needed for keystroke synthesis, see below).
2978 Improved API for registerKeystrokeListener, in accordance with
2979 discussions with Gnopernicus team and X server research.
2981 * libspi/registry.c:
2982 * libspi/deviceeventcontroller.c:
2983 * libspi/accessible.c:
2984 * libspi/keystrokelistener.c:
2985 Changes and fixes to support keylisteners for potentially
2986 consumed key events (that is, 'passive grabs').
2987 Added implementation for generateKeyEvent() [untested].
2990 Changes to registerKeystrokeListener() API, as above.
2991 Added deregisterGlobalEventListenerAll(), and
2992 deregisterKeystrokeListener(), which are needed for clean exit of
2994 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2995 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2997 * cspi/spi_registry.c:
2998 Added implementations of function prototypes mentioned above.
3000 * registryd/registryd.c:
3001 Added the key listener event source as a g_timeout(), to allow
3002 receipt of key events that are not caught by GDK (since GDK
3003 doesn't support passive keygrabs, this was necessary).
3006 Changed to attach a keylistener to 'Alt' keys, and
3007 respond to the following keycommands: Alt-M (toggle magnifier);
3008 Alt-F (toggle speech); Alt-Q (quit).
3009 Added an exit routine to deregister the listeners, and a key
3010 listener that prints some key info to the console when a key
3011 matches the listener mask (and is thus received by the listener).
3013 * util/idl/Magnifier.idl:
3014 Changes to magnifier API to support multiple zoom regions,
3015 non-uniform scaling in x and y, markDirty, and a host of other
3016 features that would be useful to magnification.
3019 * util/mag_client.c:
3020 * util/mag_client.h:
3021 * util/mag_control.c:
3023 Source code changes to support the above IDL changes.
3026 As above, and also changes to use a (slower) generic conversion
3027 path for colormap conversions, since the fast RGB conversions have been
3028 reported to fail for 16-bit displays.
3030 2001-10-26 Michael Meeks <michael@ximian.com>
3032 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
3034 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
3036 * at-bridge/Makefile.am: fix LDFLAGS.
3038 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
3040 * at-bridge/bridge.c:
3041 Re-worked listeners for toolkit events, now we have signal
3042 and property listeners. Added a private method
3043 register_atk_event_listeners(), which registers with the
3044 various atk and gtk signals we need to monitor in order to emit
3046 Added emission hook for AtkObject:property-change events, to
3047 support the 'property listeners'.
3048 Fixed some alloc()s of Accessibility_Event structs to use CORBA
3051 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
3052 which emit warnings and exit, respectively, if CORBA errors occur
3053 during remote calls, and we now use these methods to check most of
3054 our CORBA calls in the C bindings.
3056 * cspi/spi_accessible.c:
3057 Changed AccessibleSelection_refSelectedChild() to
3058 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
3059 now increment refcounts.
3061 * cspi/spi_component.c:
3062 Fixed some long pointer casts (dangerous!) to pass pointers to
3063 CORBA_longs of the proper type to the CORBA stubs, and copy the
3064 data into the longs that were passed into the C bindings code.
3066 * at-bridge/bridge.c:
3068 * libspi/accessible.c:
3069 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
3070 hyperlinks, AtkHyperlink is an object type.
3072 * libspi/application.c:
3073 Added various conversions to and from "generic" event types and
3074 atk-specific types; this is really part of the 'bridge'
3075 implementation but is valid for all AtkObject-based accessibility
3078 * libspi/editabletext.c:
3079 Fixed nasty bug wherein editable text's finalize method was
3080 unref'ing tha AtkObject reference that the text parent class was
3081 about to unref _again_. There was also a nasty inheritance bug
3082 that meant that the AccessibleEditableText class was corrupt.
3084 * libspi/selection.c:
3085 Provided implementations for some selection API that was broken.
3087 * idl/Application.idl:
3088 Added registerObjectEventListener () method.
3091 Fixed a number of return values that were Bonobo_Unknowns from
3092 bonobo_object_corba_objref(), which I
3093 forgot to dup before returning. Changed instances of
3094 bonobo_object_corba_objref (bonobo_object(o)) to
3095 BONOBO_OBJREF(o), for concision and clarity.
3097 <2001-10-13 Louise Miller <louise.miller@sun.com>
3099 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
3100 idl/Event.idl, idl/Registry.idl
3101 Changed these files to include Bonobo_Unknown.idl instead
3104 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
3106 * libspi/component.c libspi/component.h:
3107 Fixed typo. Added assertions for object checks in
3108 AccessibleComponent code.
3110 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
3112 * idl/Accessible.idl:
3113 Added 'isEqual (Accessible *object)'
3114 method for Accessible. (Not Yet Implemented).
3117 Changed signature of registerKeystrokeListener() to
3118 take a KeySet and KeyEventSeq so that specific keys and event
3119 types could be requested for monitoring, and added a flag
3120 is_synchronous so that either synchronous or asynchronous
3121 notification could be requested. (However this is not all
3122 implemented yet). This also meant adding two new typedefs,
3123 KeyEventSeq and KeySet.
3126 Added two new relations, RELATION_TOOLTIP_FOR and
3127 RELATION_LEAFNODE_OF.
3130 Added new state, STATE_HAS_TOOLTIP.
3132 * libspi/text.c, editabletext.c:
3133 Added new assertions to all casts of bonobo-objects from
3134 CORBA servants, to prevent Text API calls on non-text objects.
3135 Changed suspect casts of int-pointer types, so that we
3136 always send a valid CORBA_long pointer to the CORBA APIs that use
3137 in/out long parameters. We then have to copy from the CORBA_long
3138 into the regular long or int for return to the C bindings, or
3139 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
3142 * libspi/deviceeventcontroller.c:
3143 Cleaned these sources up.
3145 Changed return type for getCharacterAtOffset to
3146 CORBA_unsigned_long, to allow for 32-bit characters.
3149 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
3153 Fixed 'make dist' so that distro compiles...
3154 * libspi/keymasks.h:
3156 * cspi/spi-listener.c:
3157 KeystrokeListenerCB now returns a boolean.
3159 Added KeyEventType struct, and KeyStroke.
3160 Also added createKeystrokeListener(),
3161 KeystrokeListener_addCallback(),
3162 KeystrokeListener_removeCallback(), and added a keymask to
3163 registerKeystrokeListener().
3164 * cspi/spi_accessible.c:
3165 Changed numerous return types for interfaces from
3166 AccessibleComponent to Accessible<InterfaceName>; this was
3167 probably a cut-and-paste error.
3169 Implementations of new KeystrokeListener api (from spi.h,
3172 Changes to key modifier mapping.
3173 Created ControllerEventMask struct.
3174 Made DeviceEventController derive from Bonobo::Unknown.
3176 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3177 * libspi/deviceeventcontroller.c:
3178 Added a number of new internal (private) methods.
3179 * libspi/editabletext.c:
3180 * libspi/editabletext.h:
3181 Fixed a number of bugs related to the fact that
3182 editabletext inherits from text. Fixed the EditableText struct,
3183 the init() call, and use correct casts when calling Text methods
3184 from an EditableText object. Removed (duplicate) atko from the
3185 EditableText structure, we use the one in the parent Text
3186 structure via the casts mentioned above.
3187 * libspi/keystrokelistener.[ch]:
3188 * libspi/registry.c:
3189 Changes in support of keyboard handling (above).
3191 Keyboard handling, though partly functional, is still not
3192 recommended for at-spi client use as there is considerable
3193 work yet to be done.
3196 Changed some places where pointers to various int types
3197 are cast to be pointers to CORBA_long types and vice-versa:
3198 pointer casting is not safe so we pass pointers of the correct
3199 types and then cast the result before putting it into the target
3202 * libspi/text.h: minor typos corrected.
3204 We now speak not only the name of a Text element, but the
3205 first sentence of its content, when it receives focus.
3206 I also changed the text compression to 75% from 50%.
3207 * util/Accessibility_Util.server.in:
3208 Changed the default magnifier type to be a 3x vertical
3209 splitscreen magnifier (was previously a 2x horizontal one).
3211 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
3213 * libspi/keystrokelistener.h:
3214 * libspi/keystrokelistener.c:
3215 Initial functional implementations of KeystrokeListener.
3218 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3220 Fixed string handling for NULL strings in libspi.
3221 Added spi_freeString to free strings returned by C bindings.
3223 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
3225 * libspi/keystrokelistener.h:
3226 * libspi/keystrokelistener.c:
3227 Began (no-op) implementations of KeystrokeListener
3229 * libspi/deviceeventcontroller.c:
3230 * libspi/deviceeventcontroller.h:
3231 Began creating implementations of DeviceEventController,
3232 to handle keystroke and mouse event listening and
3234 * libspi/accessible.c:
3235 Stubbed-in the implementations for
3236 Accessibility_Accessible_getState and
3237 Accessibility_Accessible_getRelationSet.
3238 * libspi/registry.c:
3239 Improved de-registration process and fixed some bugs,
3240 deregistration now works correctly.
3242 Added initialization of applications list (to NULL).
3244 Reduced speech compression from 0.5 to 0.7, for demo.
3245 Changed call to gdk_window_set_decorations()
3246 to gtk_window_set_decorated().
3247 * at-bridge/bridge.c:
3248 Bridge now deregisters when app exits, via
3249 registration of a cleanup function
3250 with the g_atexit() call.
3251 Required making 'app' static, renamed 'this_app'.
3252 Fixed broken use of bonobo_init, passing argv wrongly.
3254 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
3258 Created a new directory for
3259 accessibility-related utilities, primarily for
3260 testing and demo purposes, but with possible
3267 Onscreen magnifier utility that
3268 is implemented as a bonobo service.
3270 * util/mag_client.c:
3271 * util/mag_client.h:
3272 Client-side support (simple C bindings)
3273 for Magnification service
3275 * util/mag_control.c:
3276 Client program example for
3277 Magnification service
3279 * util/Accessibility_Magnifier.server.in:
3280 Bonobo-activation file for the
3281 Magnification service.
3284 * util/idl/Magnifier.idl:
3285 IDL defining the bonobo Magnification
3289 Modifications to use the bonobo-activated magnifier
3290 above, in place of trying to connect to an existing
3291 magnifier that uses socket-listening IPC.
3293 If env variable MAGNIFIER is set, a magnifier service
3294 will be started if one does not exist.
3296 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
3297 * at-bridge/bridge.c:
3298 applied patch from Marc to build and run
3299 against new glib and gtk+ (seemed like a change
3300 to bonobo_init signature was made ?)
3302 made festival-server support turned off by default.
3303 Added support for a simple magnifier (off by default)
3304 which will be added to a 'util' directory later.
3305 * at-bridge/Makefile.am:
3306 Changed "application.h" header from a 'source'
3307 to a 'dependency' of libat-bridge.
3309 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3317 Added interface implementation c files to list of
3318 includes so they are included in libcspi.
3321 Changed prototype of AccessibleAction_doAction to return a
3323 Changed prototype of AccessibleTable_getCaption to
3324 return an Accessible.
3325 Changed prototype of AccessibleTable_getSelectedRows
3326 and AccessibleTable_getSelectedColumns to
3327 return a long (returns the number of selected rows
3328 or columns respectively).
3329 Changed name of AccessibleText_refRunAttributes to
3330 AccessibleText_getAttributes.
3331 Changed prototype of AccessibleText_getCharacterExtents to
3332 return a void rather than a boolean.
3333 Added support for a AccessibleCoordType parameter
3334 specifying what type of coordinates are desired.
3335 Added an AccessibleCordType parameter to
3336 AccessibleText_getPointAtOffset.
3338 * cspi/spi_accessible.c:
3339 Added code to return the outstanding interfaces from
3340 Accessible_queryInterface.
3342 * cspi/spi_action.c:
3344 Corrected call to getNActions to call the c binding
3347 * cspi/spi_editabletext.c:
3349 Changed name from setRunAttributes to setAttributes.
3351 * cspi/spi_hyperlink.c:
3353 Changed call to getNAnchors to correctly call the c
3354 binding for an attribute.
3356 * cspi/spi_hypertext.c:
3358 Changed getImageDescription to correctly call the
3359 binding for an attribute.
3361 * cspi/spi_selection.c:
3362 Changed getNSelectedChildren to correctly call the c
3363 binding for the attribute.
3364 Changed refSelectedChild to getSelectedChild.
3368 Changed getCaption to return an Accessible.
3369 Fixed calls which retrieve attributes.
3370 Changed refAt to getAccessibleAt.
3371 Changed getNSelectedRows and getNSelectedColumns to
3375 Changed getCharacterExtents and getPointAtOffset to accept an
3376 AccessibleCoordType.
3378 Changed calls which retrieve attributes.
3379 Changed refRunAttributes to getAttributes.
3384 * idl/Hyperlink.idl:
3385 Changed n_anchors attribute to nAnchors to keep naming
3386 convention consistent.
3389 Made Table inherit from Bonobo::Unknown.
3390 Added nSelectedColumns and nSelectedRows attributes.
3393 Made Value inherit from Bonobo::Unknown.
3395 * libspi/hyperlink.c:
3396 Change for nAnchors attributte name change.
3398 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3406 Added interface implementation c files to list of
3407 includes so they are included in libcspi.
3410 Changed prototype of AccessibleAction_doAction to return a
3412 Changed prototype of AccessibleTable_getCaption to
3413 return an Accessible.
3414 Changed prototype of AccessibleTable_getSelectedRows
3415 and AccessibleTable_getSelectedColumns to
3416 return a long (returns the number of selected rows
3417 or columns respectively).
3418 Changed name of AccessibleText_refRunAttributes to
3419 AccessibleText_getAttributes.
3420 Changed prototype of AccessibleText_getCharacterExtents to
3421 return a void rather than a boolean.
3422 Added support for a AccessibleCoordType parameter
3423 specifying what type of coordinates are desired.
3424 Added an AccessibleCordType parameter to
3425 AccessibleText_getPointAtOffset.
3427 * cspi/spi_accessible.c:
3428 Added code to return the outstanding interfaces from
3429 Accessible_queryInterface.
3431 * cspi/spi_action.c:
3433 Corrected call to getNActions to call the c binding
3436 * cspi/spi_editabletext.c:
3438 Changed name from setRunAttributes to setAttributes.
3440 * cspi/spi_hyperlink.c:
3442 Changed call to getNAnchors to correctly call the c
3443 binding for an attribute.
3445 * cspi/spi_hypertext.c:
3447 Changed getImageDescription to correctly call the
3448 binding for an attribute.
3450 * cspi/spi_selection.c:
3451 Changed getNSelectedChildren to correctly call the c
3452 binding for the attribute.
3453 Changed refSelectedChild to getSelectedChild.
3457 Changed getCaption to return an Accessible.
3458 Fixed calls which retrieve attributes.
3459 Changed refAt to getAccessibleAt.
3460 Changed getNSelectedRows and getNSelectedColumns to
3464 Changed getCharacterExtents and getPointAtOffset to accept an
3465 AccessibleCoordType.
3467 Changed calls which retrieve attributes.
3468 Changed refRunAttributes to getAttributes.
3473 * idl/Hyperlink.idl:
3474 Changed n_anchors attribute to nAnchors to keep naming
3475 convention consistent.
3478 Made Table inherit from Bonobo::Unknown.
3479 Added nSelectedColumns and nSelectedRows attributes.
3482 Made Value inherit from Bonobo::Unknown.
3484 * libspi/hyperlink.c:
3485 Change for nAnchors attributte name change.
3488 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
3490 implementations-- made server implementations own AtkObject pointers
3491 rather than their respective AtkInterrface pointers to fix
3492 refcounting. AtkHyperlink is still broken.
3494 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
3495 * cspi/spi_accessible.c:
3496 Added method Accessible_Role_getName(),
3497 and requisite string array (role_names).
3498 Added conversion string_from_corba_strin() call
3499 to Accessible_getName and _getDescription.
3500 * libspi/accessible.c:
3501 Added implementation for Accessible_getRole()
3503 Added festival support, used if environment variable
3506 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3508 * at-bridge/bridge.c:
3509 Now allocate Accessibility_Event using
3510 Accessibility_Event__alloc() instead of g_new0().
3511 * libspi/accessibleeventlistener.c:
3512 Initialize AccessibleEventListener->callbacks to NULL.
3513 Fixed accessible__event_listener_init() param, changed to
3514 "AccessibleEventListener *" type.
3515 Changed a bonobo_object_release_unref() call to
3516 Accessibility_Accessible_unref().
3517 * libspi/listener.c:
3518 Changed Bonobo_Unknown_unref to (equivalent)
3519 Accessibility_Accessible_unref.
3520 * libspi/registry.c:
3521 Changed bonobo_object_release_unref to
3522 Accessibility_Accessible_unref.
3524 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3527 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
3528 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
3529 spi-util.c spi-util.h
3530 Implementations for C bindings to remaining accessibility
3533 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3536 changed return value of Action from void to boolean to
3537 bring in line with ATK.
3540 Changed getText funcions to return "out" start and end offsets.
3541 Changed getAttributes to take and offset and return the start
3542 and end offset of the attribute run.
3543 Changed getOffsetAtPoint and getCharacterExtents to take an
3544 enum describing whether coordinates are window or screen.
3547 libspi/action.c libspi/action.h libspi/editabletext.c
3548 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
3549 libspi/hypertext.c libspi/hypertext.h libspi/image.c
3550 libspi/image.h libspi/selection.c libspi/selection.h
3551 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
3552 libspi/value.c libspi/value.h
3553 Added server implementations for outstanding ATK interfaces
3554 not yet implemented.
3556 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3559 Added (missing) getName() method.
3560 Made nActions an attribute.
3561 * idl/EditableText.idl:
3562 Changed order of params in setAttributes.
3563 * idl/Hyperlink.idl:
3564 Removed getAnchor, added getURI.
3566 Changed attributes to methods, for efficiency
3567 (so that getting extents can be done in one call)
3568 * idl/Selection.idl:
3569 Changed nSelectedChildren to attribute, and re-indented.
3570 * idl/Table.idl: changed nrows, ncolumns, caption, summary
3572 * idl/Text.idl: reformatted to match our coding style.
3573 (temporarily?) removed getRowColumnAtOffset().
3574 Changed text selection API to support multi-select and
3575 non-contiguous selections, as in ATK.
3576 * idl/Value.idl: changed some methods to attributes.
3578 2001-08-24 Mark McLoughlin <mark@skynet.ie>
3580 * libspi/listener.c(impl_notify_event):
3581 BonoboUnkown_unref the source instead
3582 of bonobo_object_release_unref - the ORB
3583 handles the releasing.
3585 * configure.in: require ORBit-2.3.94 for
3588 2001-08-21 Bill Haneman <bill.haneman@sun.com>
3590 Tagged CVS repository 'EA_1_0'.
3591 * README.EARLY_ACCESS:
3592 Alphabetized acknowledgements list, and
3594 Listed some known dependencies of at-spi.
3596 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3598 * docs/at-spi-docs.sgml:
3599 * docs/at-spi-sections.txt:
3600 * docs/at-spi-overrides.txt: (Added zero-length file)
3601 Documentation improvements - gtk-doc should build
3602 docs for all implemented C bindings now.
3605 * cspi/spi.c: (New file)
3606 * cspi/spi_event.c: (New file)
3607 * cspi/spi_registry.c: (New file)
3608 * cspi/spi_accessible.c: (New file)
3609 * cspi/spi_application.c: (New file)
3610 * cspi/spi_component.c: (New file)
3611 Split spi_main.c into six parts, and included them from
3612 "spi.c". This is a bit of a hack, probably temporary,
3613 but required by gtk-doc, apparently.
3615 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3618 * docs/at-spi-docs.sgml:
3619 * docs/at-spi-sections.txt:
3621 Initial checkins/modifications for gtk-doc generation.
3624 Added (missing) interface query methods to Accessible's C binding.
3626 Added GenericInterface type definition.
3628 Added query for AccessibleComponent interface to focus event handler.
3629 Added printout of bounding box for focussed component.
3630 * libspi/component.c:
3631 Added partial implementation for AccessibleComponent to C binding.
3632 * idl/Application.idl:
3633 * libspi/registry.c:
3634 * libspi/listener.c:
3635 * libspi/application.c:
3636 * libspi/application.h:
3637 Changed "ID" attribute type from string to long.
3639 2001-08-19 Bill Haneman <bill.haneman@sun.com>
3643 Made method naming consistent: methods taking object args
3644 start with uppercase, other methods (except those using
3645 acronyms) start with lowercase. Underscores delimit between
3646 object names and method names:
3647 SPI_init() - uppercase since it starts with an acronym.
3648 getDesktopCount () - lowercase start since no object param0.
3649 Accessible_getName() - uppercase object type name, studlyCaps method
3653 Added gtk-doc documentation for all currently implemented
3654 methods in the C bindings API.
3656 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3658 * Makefile.am : changed build order to build test last.
3661 Changed "createEventListener" to "CreateEventListener".
3662 * libspi/accessibleeventlistener.c :
3663 Bugfix for addition of callbacks.
3664 * test/Makefile.am :
3665 * test/simple-at.c :
3666 Added new test that uses the C bindings API.
3668 * libspi/listener.c :
3669 * libspi/registry.c :
3670 * libspi/accessibleeventlistener.c :
3671 * at-bridge/bridge.c :
3672 Renamed member "target" of Accessibility_Event to "source",
3673 which is more descriptive.
3676 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3680 * cspi/Makefile.am :
3681 Added makefile support for at-spi/cspi directory.
3684 * cspi/spi-listener.h : (NEW FILE)
3685 Added support for/use of spi-listener.h.
3687 C bindings now build successfully, with no warnings.
3688 * libspi/accessibleeventlistener.h : (NEW FILE)
3689 * libspi/accessibleeventlistener.c : (NEW FILE)
3690 * libspi/Makefile.am :
3691 Added new object type "AccessibleEventListener"
3692 which inherits from Listener, and allows attachment
3693 of in-process callbacks (so that a client with a listening
3694 object instance can add functionality to the local
3695 implementation, dynamically).
3697 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3699 * libspi/accessible.c:
3700 Add implementation for get_index_in_parent().
3702 Added #include of "spi-roletypes.h", and
3703 added enumerated type AccessibleCoordType.
3704 Added definition for KeystrokeListener (function type).
3707 * cspi/spi-statetypes.h :
3708 * cspi/spi-roletypes.h :
3710 Added these headers, used by spi.h.
3712 Added code (NOTE: not yet built by make).
3714 2001-08-18 Mark McLoughlin <mark@skynet.ie>
3716 * libspi/Makefile.am: generate imodule
3717 at the same time as other idl compiler
3720 2001-08-17 Bill Haneman <bill.haneman@sun.com>
3721 * libspi/registry.c :
3722 * libspi/application.c :
3723 * idl/Application.idl :
3724 Made registration with toolkit an application method,
3725 which is required since each app has its own toolkit static
3726 environment. Thus the bridge must register for
3727 notification of toolkit events from each application in turn.
3728 Toolkit notifications are now successfully registered for, and
3729 sent to the listening at client.
3731 Changed toolkit event string to use hyphens rather than underscores.
3732 * libspi/listener.c :
3733 listner now gives more info in debug mode - it reports the
3734 name of the event received, as well as the name of the source.
3737 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3739 * libspi/registry.c :
3740 added more implementation for toolkit events.
3741 Fixed bug such that toolkit event registrations
3742 (via atk) use the whole event name string, not
3744 Removed a useless call to an ORBit_ method.
3745 * at-bridge/bridge.c :
3746 Removed unused local sbuf[] variable.
3748 We now register for Gtk:GtkWidget:button_press_event
3749 events as well as "focus:" events.
3751 Add some more API from Registry.idl that was missing,
3752 for keystroke listening, keystroke and mouse event
3753 synthesis, and enumeration of accessible desktops.
3755 2001-08-16 Michael Meeks <michael@ximian.com>
3757 * configure.in: use AM_GLIB_GNU_GETTEXT.
3759 * Makefile.am (SUBDIRS): kill intl.
3761 2001-08-15 Michael Meeks <michael@ximian.com>
3763 * registryd/Makefile.am: s/oaf/server/ relocate info file.
3765 * configure.in: upd.
3767 * configure.in: depend on a recent bonobo-activation that
3768 will find our server files ...
3770 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3772 * libspi/accessible.c : accessible_new() :
3773 Now we add the Component interface via bonobo_object_add_interface,
3774 if the contained AtkObject implements AtkComponent.
3775 * libspi/accessible.h : now include "component.h"
3776 * libspi/component.h :
3777 * libspi/component.c : added files - implementation of
3778 bonobo wrapper object for Accessibility/Component
3779 * libspi/listener.c :
3780 Added test code to check for Accessibility/Component:1.0
3781 interface and report whether it is implemented by the
3783 * libspi/registry.c :
3784 Now we check for not only the hash of the whole event
3785 string before relaying the event, we also check the
3786 "minor" event string (without the detail string).
3787 This allows event listeners to be registered against
3788 all events of a certain major+minor type, or just
3789 against a specific major+minor+detail type.
3790 * libspi/accessible.c :
3791 Added implementations for Accessible:get_parent(),
3792 Accessible:getChildCount(), and Accessible:getChildAtIndex().
3793 * libspi/registry.c :
3794 * libspi/listener.c :
3795 Replaced calls to Accessibility_Accessible_ref() and
3796 Accessibility_Accessible_unref() with
3797 calls to bonobo_object_dup_ref() and
3798 bonobo_object_release_unref(), so that the CORBA object
3799 is dup-ed and released when relayed, as well as the bonobo object.
3801 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3803 * libspi/Makefile.am,
3804 registryd/Makefile.am,
3805 at-bridge/Makefile.am.
3806 test/Makefile.am, configure.in:
3807 reverse previous changes.
3809 * /idl/Image.idl: fix typo.
3811 * test/Makefile.am: put DEBUG_FLAGS
3814 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3816 * test/app.c: use argv[0] instead of
3819 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3821 * libspi/Makefile.am,
3822 registryd/Makefile.am,
3823 at-bridge/Makefile.am.
3824 test/Makefile.am, configure.in:
3825 cleanup, replace individual LIBS/CFLAGS with
3826 AT_COMMON_{LIBS|CFLAGS}.
3830 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3832 * configure.in, libspi/Makefile.am:
3833 Change IDL path checking for bonobo-activation
3836 2001-08-15 Bill Haneman <bill.haneman@sun.com>
3838 * registryd/registry.c : separated event listeners to use
3839 3 separate lists (focus, window, toolkit). Began testing
3840 event names against hashes before relaying events.
3841 * test/at.c : now register for events of type "focus:"
3842 * test/app.c : now generate events of type "focus:"
3843 * at-bridge/bridge.c : register with ATK for focus events,
3844 and we now relay those focus events to any "focus:" listeners.
3845 This now works with the bridge as a GTK_MODULE when running test/at.
3846 * libspi/registry.c :
3847 * libspi/listener.c :
3848 now we ref event sources before propagating, and unref on receipt.
3849 * libspi/registry.c :
3850 some changes to internal structs, to support event typestring hashes.
3851 * text/app.c : changed the way the appname is generated.
3852 * cspi : added directory that will hold the C bindings library for
3853 non-CORBA/bonobo-savvy clients.
3854 * cspi/spi.h : header file that contains the function prototypes for the C binding.
3855 * idl/Component.idl : added in parameter to indicate coord system for
3856 geometry-related calls.
3857 * idl/Hyperlink.idl : added readonly n_links attribute
3858 * idl/Image.idl : changed methods to attributes.
3860 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3862 * at-bridge/Makefile.am: link against
3863 ../libspi/libspi.la instead of -lspi.
3865 * at-spi/test/app.c: include
3866 bonobo-activation.h. Use a default appname
3867 if one is not provided.
3869 2001-08-14 Bill Haneman <bill.haneman@sun.com>
3871 * idl/Registry.idl : temporarily changed register_Application
3872 to oneway, to work around issue with initial registration
3874 * idl/Application.idl : changed attribute "id" from readonly
3875 to read-write, since it needs to be assigned by Registry.
3876 * registryd/registryd.c : added call to set application id
3878 * registryd/registry.c : changed de-registration procedure to
3879 use CORBA_Object_hash() to find matching object ref in application
3880 lists and listener lists.
3881 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
3882 began distinguishing between event types (work in progress).
3884 2001-08-13 Bill Haneman <bill.haneman@sun.com>
3887 * libspi/application.c:
3888 Added implementations for get/set id, get_toolkitName,
3890 * registryd/registryd.c :
3894 Converted from use of OAF to bonobo-activation.
3895 * libspi/desktop.h :
3896 * libspi/desktop.c :
3898 Removed references to atksimpleobject, since base atkobject
3899 implementation now provides functionality we need.
3900 * libspi/atksimpleobject.c :
3901 * libspi/atksimpleobject.h :
3906 * at-bridge/Makefile.am
3907 * at-bridge/bridge.c
3910 Added directory "bridge" and contents, and added dependencies
3911 in Makefile.am/configure.in.
3912 Initial checkin of "at-bridge".
3913 This code is a GTK_MODULE which automatically registers
3914 GTK+ apps with the accessibility registry, using an object
3915 reference to the root ATK object.
3917 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3919 * po/Makefile.in.in: Remove. Again. If this
3920 doesn't get autogenerated - you need to update
3923 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3925 * po/Makefile.in.in: Add. Again.
3927 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3929 * libspi/accessible.c : added support for 'description' property.
3930 * libspi/accessible.c
3932 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3933 (since the two are now equivalent in libbonobo)
3941 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3942 Bonobo::Unknown as does Accessibility::Accessible.
3943 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3944 interface with Bonobo::Stream, since it was redundant with it.
3945 (The Stream returned by a StreamableContext object is expected to
3946 implement only a subset of Bonobo::Stream)
3948 2001-07-28 Anders Carlsson <andersca@gnome.org>
3950 * libspi/accessible.c (accessible_object_finalize): Change
3951 g_free to g_object_unref since the AtkObject is a GObject.
3953 2001-07-30 Bill Haneman <bill.haneman@sun.com>
3955 * idl/Accessibility.idl: add new IDL files
3958 * idl/Action.idl: Definitions of actionable UI object
3959 * idl/Component.idl: Definitions of UI component geometry, etc.
3960 * idl/Hyperlink.idl: Defs of hyperlink behavior
3961 * idl/Image.idl: Def of accessible image
3962 * idl/Selection.idl: Definition of UI object with selectable children
3963 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3964 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3965 * idl/Text.idl: Interface defs for UI elements with complex textual content
3966 * idl/Value.idl: Definition of UI element that is a value controller or display
3968 2001-07-27 Michael Meeks <michael@ximian.com>
3970 * po/Makefile.in.in: remove autogenerated file from CVS.
3972 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3975 * idl/Registry.idl: include guard.
3977 * idl/Accessibility.idl: Add, and include all the other IDL
3980 * idl/*.idl: remove mass of pragmas etc.
3982 2001-07-26 Michael Meeks <michael@ximian.com>
3984 * registryd/Makefile.am (registryd_SOURCES): remove
3987 2001-07-27 Mark McLoughlin <mark@skynet.ie>
3989 * libspi/.cvsignore, registryd/.cvsignore,
3990 test/.cvsignore: updated.
3992 * po/Makefile.in.in: gettext update.
3994 2001-07-25 Bill Haneman <bill.haneman@sun.com>
3996 * initial CVS checkin
3998 2001-06-29 Michael Meeks <michael@ximian.com>
4000 * configure.in: add AM_CONFIG_HEADER to gen config.h