1 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3 * test/screen-review-test.c:
4 (review_buffer_get_text_chunk):
5 We now pull "name" from labels if they do not implement
6 AccessibleText (i.e. for Java labels).
7 (get_screen_review_line_at):
8 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
11 Replaceded AC_OUTPUT target
12 registryd/Accessibility_Registry.server with
13 registryd/Accessibility_Registry.server.in.
15 * registryd/Accessibility_Registry.server.in:
16 Removed (this is now a Makefile target).
18 * registryd/Accessibility_Registry.server.in.in:
19 Added (source for target above). We now use $(libexecdir) as
20 prefix for the executable at-spi-registryd.
22 * registry/Makefile.am:
23 Now install at-spi-registryd into $(libexecdir), and build .server
24 file with path (see above).
26 2002-05-22 Bill Haneman <bill.haneman@sun.com>
28 * test/screen-review-test.c:
29 (text_chunk_get_clipped_string):
30 We now check to see if words fall within clip bounds
31 before resorting to character-by-character clip bounds testing.
33 * TODO: Added a section for "2.2 Proposed API Additions".
35 2002-05-21 Bill Haneman <bill.haneman@sun.com>
37 * test/screen-review-test.c:
39 Added a screen review benchmarking and test program to test
42 * cspi/spi_accessible.c:
44 Made some of the debug strings passed to cspi_check_ev a
47 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
49 * test/screen-review-test.c: Fix crashes in debug statements
51 2002-05-20 Bill Haneman <bill.haneman@sun.com>
53 * test/screen-review-test.c: Added this file.
55 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
57 * atk-bridge/bridge.c: changed "object:state-change" to
58 "object:state-changed" to match docs.
60 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
62 * atk-bridge/bridge.c: Hooked up state-change event details.
64 2002-05-11 Bill Haneman <bill.haneman@sun.com>
66 * registryd/registry.c:
67 Fixed quarking bug in event string parsing; now events with
68 detail parameters get matched correctly to listeners.
71 * util/idl/Magnifier.idl: remove.
73 * util/*.[ch]: Remove.
74 Magnification utilities and IDL are now in module gnome-mag.
76 2002-05-10 Bill Haneman <bill.haneman@sun.com>
78 * registryd/deviceeventcontroller.c:
79 Fixed bug in grab key conversion which was causing keycode grabs
80 to be converted to AnyKey grabs.
83 updated NEWS file to reflect recent spin-off of gnome-mag.
85 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
87 * cspi/spi_accessible.c: Added exception checks. Fixed completely
88 busted AccessibleStateSet_compare. Removed redundant casts.
90 * cspi/spi-action.c: Removed redundant casts.
92 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
94 * cspi/spi_component.c: Fixed typos and casting error.
96 * cspi/spi_editabletext.c: Removed redundant casts.
98 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
100 * cspi/spi_hypertext.c: Eliminated redundant casts.
102 * cspi/spi_image.c: Eliminated redundant casts.
104 * cspi/spi_registry.c: Eliminated redundant casts.
105 SPI_deregisterGlobalEventListenerAll () removed retval variable.
106 * cspi/spi_selection.c: Removed redundant casts.
107 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
108 handling. Screen geometry and text offsets were being returned as 0
109 on error which is technically valid-- changed these to return -1.
110 Added marshaller for text boundary types to fix bug with boundary
111 types being passed incorrectly to atk.
113 2002-05-09 Bill Haneman <bill.haneman@sun.com>
116 * cspi/spi_registry.c:
117 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
118 which was uncovered by the recent key changes.
120 2002-05-09 Bill Haneman <bill.haneman@sun.com>
122 * test/event-listener-test.c:
124 Added new test, "event-listener-test";
125 this code does two things; it benchmarks traversal time
126 for the accessible hierarchy for the first running accessible
127 app, and it connects listeners for all supported event types.
128 It is thus useful as an example event listener and for
129 diagnostics/debugging of event generation.
131 2002-05-08 Bill Haneman <bill.haneman@sun.com>
134 Removed unnecessary dependency on libutil.
137 Revved micro version: 0.13.1
139 2002-05-08 Bill Haneman <bill.haneman@sun.com>
142 Removed util/Makefile from targets.
145 Removed util subdir from SUBDIRS (temporarily,
146 pending removal of magnifier-only code
150 #ifdef-ed out magnifier dependencies, since
151 magnifier IDL, headers, and binary now live in
152 module gnome-mag and we don't want at-spi to depend
153 on gnome-mag. A magnifier demo which can run alongside
154 simple-at is forthcoming in the gnome-mag module.
156 NOTE: Split magnifier binary, IDL, and magnification
157 activation code from at-spi into module gnome-mag.
159 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
161 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
162 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
164 2002-05-03 Bill Haneman <bill.haneman@sun.com>
167 Revved to version 0.13.0
169 * idl/Accessibility_Registry.idl:
170 Changed definition of KeySet from sequence of longs to sequence of
171 KeyDefinitions, and added KeyDefinition struct.
172 Required for fix to bug 80616.
174 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
175 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
176 to use new definition (see above).
178 * registryd/deviceeventcontroller.c: handle_keygrab(),
179 spi_keyset_contains_key():
180 Changed to make use of new struct; this allows matching based on
181 string key-name, for instance "Tab". This also allows matching of
182 composed characters, non-alphanumeric characters in a way that
183 doesn't involve dependencies on X keysym codes directly, etc.
185 * test/key-listener-test.c:
186 Added test for Alt-Tab key using "string" specification of keyset,
187 and modified one of the tests to use a keycode-based keyset.
188 Thus this test both tests and demonstrates the creation and use of
189 keysets of three forms: specified via keycode array,
190 keysym array, and string array. (The string case only contains a
191 single string, i.e. a string array of length 1).
194 Turned on PRINT_TREE option by default. Also fixed a
195 string-freeing bug in the PRINT_TREE code.
196 Added a listener to window:minimize events.
198 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
200 * atk-bridge/bridge.c:
201 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
202 for window:activate and window:deactiveate
203 (atk_bridge_property_event_listener atk_bridge_signal_listener
204 atk_bridge_window_event_listener) Tidy debug code
206 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
208 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
209 Fixed handling for NULL return value from ATK.
211 * libspi/action.c libspi/component.c libspi/editabletext.
212 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
213 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
214 Removed redundant casts.
216 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
217 Fixed off by one bug.
219 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
220 function not present in idl)
222 2002-05-02 jacob berkman <jacob@ximian.com>
224 * atk-bridge/Makefile.am: make atk-bridge a real module
226 2002-04-26 Radek Doulik <rodo@ximian.com>
228 * libspi/stateset.c (spi_init_state_type_tables): fix size of
229 atk_state_types table
231 2002-04-22 jacob berkman <jacob@ximian.com>
234 * libspi/Makefile.am: add deps on the built files to help
235 automake, and don't version the ORBit typelib
237 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
239 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
240 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
241 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
242 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
243 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
244 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
245 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
246 libspi/accessible.h libspi/accessible.h libspi/base.h
247 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
248 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
249 libspi/relation.h libspi/remoteobject.h libspi/selection.h
250 libspi/spi-private.h libspi/statetset.h libspi/table.h
251 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
252 util/mag_client.h util/mag_control.c util/mag_image.c
253 util/mag_image.h util/magnifier.c util/magnifier.h:
254 Add missing file headers; standardize existing ones
256 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
258 * atk-bridge/bridge.c: Added window event support.
260 2002-04-18 Michael Meeks <michael@ximian.com>
262 * libspi/relation.c (impl_getNTargets): impl.
263 (impl_getTarget): impl.
265 * libspi/Makefile.am: fix stateset install.
267 2002-04-17 Bill Haneman <bill.haneman@sun.com>
270 Started putting useful info in this file.
272 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
274 * atk-bridge/bridge.c:
275 Propagate state-changed notifications to ATs
277 * cspi/spi_registry.c: update docs to reflect actual behavior of
280 2002-04-17 Bill Haneman <bill.haneman@sun.com>
283 Incremented version to 0.12.1
286 Add missing declaration for magnifier_exit,
287 used by mag_control.c - Forte compiler didn't like
288 the implicit redeclaration of the function :-(
291 2002-04-16 Bill Haneman <bill.haneman@sun.com>
294 Revved version to 0.12 due to API change (see below).
296 * cspi/spi-roletypes.h:
297 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
298 definition from the inline docs, and added docs
299 for SPI_ROLE_LAST_DEFINED.
302 * cspi/spi_streamablecontent.c:
303 Added missing seek_type parameter to
304 (so far unused) method,
305 AccessibleStreamableContent_seek().
306 [ RT approval JodyG. ]
309 Fixed docs for SPI_createAccessibleKeystrokeListener.
311 * cspi/spi_registry.c:
312 Fixed docs for SPI_KEYSET_ALL_KEYS.
314 * docs/reference/cspi/at-spi-cspi-sections.txt:
315 Added a number of missing APIs to SECTIONS.
317 2002-04-16 Bill Haneman <bill.haneman@sun.com>
319 * registryd/Makefile.am:
321 * cspi/bonobo/Makefile.am:
322 Add $(X_LIBS) to makefiles.
324 2002-04-15 Bill Haneman <bill.haneman@sun.com>
327 Revved version to 0.11.
329 * libspi/component.c:
330 Added implementation for grabFocus.
332 * idl/Accessibility_Component.idl
333 (Accessibility_Component_grabFocus):
334 Made this method return boolean to indicate success or failure, to
335 be consistent with cspi and the corresponding ATK method.
337 * idl/Accessibility_Selection.idl
338 (Accessibility_Selection_selectAll) :
339 Made these methods return boolean to indicate success or
340 failure, to be consistent with cspi and the corresponding ATK methods.
342 * idl/Accessibility_EditableText.idl
343 (Accessibility_EditableText_setTextContents,
344 Accessibility_EditableText_insertText,
345 Accessibility_EditableText_cutText,
346 Accessibility_EditableText_deleteText,
347 Accessibility_EditableText_pasteText):
348 Made these methods return boolean to indicate
351 * cspi/spi_editabletext.c:
352 Made these methods return booleans.
354 * libspi/selection.c:
355 * libspi/component.c:
356 * libspi/editabletext.c:
357 Connected the boolean returns from ATK
358 to the server-side code referenced above.
360 2002-04-14 Bill Haneman <bill.haneman@sun.com>
362 * idl/Accessibility_Table.idl: Added missing methods,
363 Accessibility_Table_addRowSelection,
364 Accessibility_Table_addColumnSelection,
365 Accessibility_Table_removeRowSelection,
366 Accessibility_Table_removeColumnSelection.
369 Added C wrappers for above IDL:
370 AccessibleTable_addRowSelection,
371 AccessibleTable_addColumnSelection,
372 AccessibleTable_removeRowSelection,
373 AccessibleTable_removeColumnSelection.
376 Added server-side implementation code for IDL above, connecting
377 to pre-existing ATK api.
379 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
381 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
383 * libspi/accessible.c: Added implementation fo
384 Accessibility_Accessible_get_state.
386 * libspi/libspi.h: Added stateset.h to the list of includes.
388 * libspi/stateset.c: Fixed broken implementation.
390 2002-04-13 Bill Haneman <bill.haneman@sun.com>
393 Added implementation code for Accessibility_Magnifier_exit ().
395 * util/mag_control.c:
396 Added test code for above method; you can
397 now kill an existing magnifier via
398 ./mag_control q, from the util directory.
400 * test/key-listener-test.c:
402 Added a new test, for our key listener API.
404 2002-04-11 Bill Haneman <bill.haneman@sun.com>
406 * test/app.c, test/keysynth-demo.c:
408 Replace use of snprintf with g_snprintf.
409 (fix for bugzilla 78249)
411 2002-03-27 Michael Meeks <michael@ximian.com>
415 * util/Makefile.am (INCLUDES): fix.
416 (DONT_DIST_SOURCE): don't distribute the
419 * libspi/Makefile.am (dist-hook): ditto.
421 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
423 * libspi/hypertext.c:
424 Fix warnings when yelp is used with atk-bridge
426 2002-03-21 Michael Meeks <michael@ximian.com>
428 * libspi/application.c (spi_application_new):
429 use spi_accessible_construct so we use the AtkObject
432 2002-03-19 Michael Meeks <michael@ximian.com>
434 * registryd/registry.c (desktop_remove_application),
435 (desktop_add_application): clean coding style.
437 * registryd/desktop.c (spi_desktop_remove_application),
438 (spi_desktop_add_application): kill re-enterency hazards.
439 (spi_desktop_dispose): remove bogus redundant cast
440 obscuring bug; fix bug too.
441 (spi_desktop_init): make the desktop object immortal.
443 2002-03-16 Bill Haneman <bill.haneman@sun.com>
446 Added a #define-guarded tree-traversal step
447 when enumerating the apps (diagnostic tool).
449 2002-03-15 Bill Haneman <bill.haneman@sun.com>
451 * idl/Accessibility_Role.idl:
452 Added ROLE_DRAWING_AREA which seemed to be missing from the
455 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
457 * cspi/spi-roletypes.h cspi/spi_accessible.c
458 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
461 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
462 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
463 AT when applications are added and removed from the desktop. This
464 reverts the previous broken implementation using the backing
465 AtkObject for the SpiDesktop.
467 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
469 * registryd/desktop.c: emit the "children-changed::add" and
470 "children-changed::remove" signals on the backing ATK object for
471 the desktop so AT can tell when applications are started and shut
474 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
476 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
478 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
480 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
482 * cspi/spi_accessible.c: Implemented c bindings for stateset support
484 * cspi/state-types.h: synched with IDL and ATK
486 2002-03-13 Bill Haneman <bill.haneman@sun.com>
488 * libspi/accessible.c
489 (impl_accessibility_accessible_get_child_at_index):
490 Change return value for g_return_if_fail ()
491 to CORBA_OBJECT_NIL instead of "0" (!)
493 * registryd/Makefile.am:
494 * registryd/Accessibility_Register.server.in:
495 Changed name of executable, "registryd",
496 to something more informative:
499 2002-03-13 Michael Meeks <michael@ximian.com>
501 * atk-bridge/bridge.c (atk_bridge_init): don't register
502 if we're in a bonobo-component, rather than a bonobo app.
504 2002-03-13 Michael Meeks <michael@ximian.com>
506 * atk-bridge/bridge.c (gtk_module_init): split
507 out body to (atk_bridge_init): here, since otherwise
508 we get symbol conflicts and oddness when invoked
509 from (gnome_accessibility_module_init): here (upd.)
511 2002-03-11 Bill Haneman <bill.haneman@sun.com>
514 New file. Explicitly allow "build sheriff" putbacks provided
515 they are tested on Solaris.
517 * docs/reference/cspi/Makefile.am:
518 Added '-' to the "cp" command for index.sgml.
519 ("patch by thomasvs, soon coming to a GUADEC near you")
522 Incremented version number (0.9.0) for new release.
523 Changed macro that checks for popt, to better detect
524 obsolete versions of popt.
527 Added X_LIBS to AC_SUBST, for applications
528 that call Xlib API directly.
531 2002-03-07 Bill Haneman <bill.haneman@sun.com>
534 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
537 Fix regression caused by hard-coding major
538 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
541 * test/test-simple.c (test_editable_text),
542 (test_test): revert previous change (error was
543 a regression in gail which is now fixed).
545 2002-03-04 Michael Meeks <michael@ximian.com>
547 * test/test-simple.c (test_editable_text),
548 (test_text): pass G_MAXINT instead of '-1' for
549 whole string - is this a good thing !?
551 * cspi/spi_accessible.c
552 (Accessible_getRelationSet): fix crasher bug
553 overwriting the end of the array.
555 * test/test-simple.c (validate_accessible): free,
556 not g_free returned relation set.
558 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
560 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
561 implemented stateset support
563 * idl/Accessibility_State.idl: Made necessary changes to
564 the IDL to support state sets.
566 2002-02-12 Bill Haneman <bill.haneman@sun.com>
568 * registryd/deviceeventcontroller.c:
569 Added implementation for generateMouseEvent.
571 * cspi/spi_registry.c:
572 Connected new implementation for generateMouseEvent
575 2002-02-12 Bill Haneman <bill.haneman@sun.com>
578 Incremented revision (but no change in public API
579 outside of 'utils', which are not installed public yet.)
581 * libspi/component.c:
582 Changed to use atk_component API for layers and
583 mdi_zorder, instead of deprecated atk_object API.
585 Magnification Utility Enhancements:
588 Added implementation of createZoomRegion, clearAllZoomRegions,
589 resizeZoomRegion. Added new commandline argument
590 "--no-initial-region". Note that clearAllZoomRegions doesn't
591 unmap the old '0' region as it should (yet), and the other
592 methods only work when creating/resizing a single region,
594 (Code for multiple region support will be added later.)
597 Now we raise the magnifier window each time it's refreshed;
598 this will help keep it on top.
601 Added simple wrappers for above, used by mag_control.
602 For general use, it's recommended to use the bonobo magnifier
603 control API directly instead of using these wrappers.
606 Moved ZoomRegionData from magnifier.c to this file.
608 * util/mag_control.c:
609 Added some code to exercise new IDL implementations.
611 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
613 * libspi/text.c: Provide implementation for getAttributes.
615 2002-02-04 Bill Haneman <bill.haneman@sun.com>
618 Incremented revision.
620 * test/test-simple.c:
621 Replaced use of deprecated g_main_iteration with
622 g_main_context_iteration.
624 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
627 Incremented revision for desktop alpha 2.
629 2002-01-28 Mark McLoughlin <mark@skynet.ie>
631 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
634 * test/simple-at.c: include netinet/in.h.
636 2002-01-24 Mark McLoughlin <mark@skynet.ie>
638 * cspi/spi_accessible.c: (Accessible_getRelationSet):
639 use NULL, not CORBA_OBJECT_NIL.
641 * libspi/accessible.c:
642 (impl_accessibility_accessible_get_relation_set):
643 allocate the sequence correctly.
645 * libspi/remoteobject.h: kill spi_remote_object_new.
647 * test/test-simple.c: (validate_accessible): add code
648 to test relation sets, now all we need is to figure
649 out how to excercise this code path :/
651 2002-01-18 Michael Meeks <michael@ximian.com>
654 (key_listener_cb): consume the key.
655 (test_keylisteners): update.
656 (main): wait for any pending unrefs on events.
658 * registryd/deviceeventcontroller.c
659 (spi_controller_update_key_grabs): only re-issue the
660 grab on a key release.
661 (spi_device_event_controller_forward_key_event):
662 refresh the keygrabs before we notify the listeners,
663 to reduce the X ungrab / re-grab race.
664 (spi_controller_register_with_devices): remove
665 XSelectInput - we do that with the gdk_window_ call.
666 (_spi_controller_device_error_handler): return a value.
667 s/GDK_DISPLAY/spi_get_display/
669 2002-01-17 Michael Meeks <michael@ximian.com>
671 * registryd/deviceeventcontroller.c
672 (_deregister_keygrab): don't blow out the later
675 * test/test-simple.c (test_keylisteners): do a
676 more intelligent validation.
678 2002-01-14 Michael Meeks <michael@ximian.com>
680 * atk-bridge/bridge.c
681 (gnome_accessibility_module_init),
682 (gnome_accessibility_module_shutdown): impl.
683 (gtk_module_init): protect vs. double inits.
684 (add_signal_listener): impl.
685 (spi_atk_bridge_state_event_listener): kill
686 (deregister_application): split out of
687 (spi_atk_bridge_exit_func): here.
689 2002-01-18 Bill Haneman <bill.haneman@sun.com>
692 Added caret tracking when using magnifier, and
693 now use text bounds for focus tracking of text elements, rather than
694 the component bounds - this is helpful for short text fields in long
695 table cells, at high magnification.
697 2002-01-16 Bill Haneman <bill.haneman@sun.com>
699 * registryd/deviceeventcontroller.c:
700 Regression fix for keylistener de-registration; global keygrabs
701 were not being released when deregisterKeystrokeListener was
702 called in cspi, since
703 Accessibility_DeviceEventController_deregisterKeystrokeListener
704 was called with a zero-length keyset. That is because the cspi
705 method, SPI_deregisterKeystrokeListener, does not take a keyset
706 parameter but instead should remove all the key grabs held be a
708 The code in impl_deregister_keystroke_listener was changed to copy
709 the keylist from the listener instance previously registered with
710 the DeviceEventController before releasing the grabs.
712 * registryd/registry.c:
713 * registryd/deviceeventcontroller.c:
714 * libspi/spi-private.h:
716 Changed spelling of "re-enterant" to "re-entrant" globally.
718 2002-01-16 Bill Haneman <bill.haneman@sun.com>
720 * test/test-simple.c:
721 Changed key listeners test - the test was slightly mis-using the
722 (admittedly poorly documented) SPI_generateKeyboardEvent API.
723 It now uses '=' as the key event listened to and generated,
724 relying on a keysym match rather than assuming that keycode 33
725 is always equal to keysym '!'.
727 2002-01-15 Bill Haneman <bill.haneman@sun.com>
730 Changed simple-at to use a specific keyset, rather than
731 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
732 manager, desktop, etc.
734 2002-01-11 Bill Haneman <bill.haneman@sun.com>
736 * registryd/deviceeventcontroller.c:
737 Replaced standard X error handler with a special handler that
738 is non-fatal for failed keygrabs. This works around
739 problems with keygrab clashes sometimes observed on
741 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
742 mouse handling code as yet).
744 2002-01-11 Bill Haneman <bill.haneman@sun.com>
747 Incremented revision for desktop alpha release.
750 Fixed a couple of the more glaring errors (still not
753 2002-01-11 Michael Meeks <michael@ximian.com>
755 * registryd/deviceeventcontroller.c
756 (spi_device_event_controller_forward_key_event): kill
757 XUngrabKey / XKeyGrab race.
758 (spi_controller_grab_keyboard): rename to
759 (spi_controller_update_key_grabs): this, and deal
760 with incremental adding / removing grabs more
762 (_register_keygrab): ensure we're not pending a remove.
763 (spi_grab_mask_free): impl.
764 (spi_controller_register_global_keygrabs): split out
766 (handle_keygrab): impl.
767 (_deregister_keygrab): impl.
768 (spi_controller_deregister_global_keygrabs): impl.
769 (spi_controller_update_key_grabs): re-issue the grab if
770 we just recieved a notification.
772 * test/test-simple.c (key_listener_cb): remove debug.
774 * registryd/deviceeventcontroller.c
775 (spi_controller_register_device_listener): after
776 registering a global keygrab, actualy register it !
777 don't wait for a timeout; doh !
779 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
780 to make it more readable / manipulable.
781 s/grabmask/grab_mask/ s/refcount/ref_count/
782 s/keyval/key_val/ s/modmask/mod_mask
784 2002-01-08 Michael Meeks <michael@ximian.com>
786 * registryd/deviceeventcontroller.c
787 (spi_controller_register_with_devices): use gdk calls to
789 (global_filter_fn): implement the filter.
790 (spi_device_event_controller_check_key_event): rename to
791 (spi_device_event_controller_forward_key_event): this & upd.
792 (spi_get_display): replace with GDK_DISPLAY.
794 * registryd/deviceeventcontroller.c
795 (spi_controller_deregister_device_listener): unroll into
796 (impl_deregister_keystroke_listener): here to simplify.
797 (spi_controller_register_global_keygrabs): split cut and
798 paste (!) out into (_register_keygrab): here, shorter & sweeter.
799 (spi_controller_deregister_device_listener): remove.
800 (impl_register_mouse_listener): remove, no mouse listener
801 support in at-spi-1.0
803 * registryd/registry.c
804 (_device_event_controller_hook): kill.
805 (spi_registry_init): upd.
807 * registryd/deviceeventcontroller.c
808 (spi_device_event_controller_class_init): upd.
809 (spi_check_key_event): merge into.
810 (spi_device_event_controller_check_key_event):
811 here and kill strange static ev init, don't leak
812 the x_event - nor dynamicaly allocate it.
814 * registryd/registry-main.c (main): re-direct
815 timeout to remove strange vtable mess.
817 * registryd/deviceeventcontroller.c
818 (remove_listener_cb): impl.
819 (spi_controller_deregister_device_listener):
820 fix re-enterancy hazard.
822 2002-01-07 Michael Meeks <michael@ximian.com>
824 * registryd/deviceeventcontroller.c
825 (spi_device_event_controller_new): upd.
826 (impl_notify_listeners_sync): upd. debug.
827 (spi_notify_keylisteners): fix re-enterancy hazards,
828 prettify, remove O(n*n) iteration.
829 (spi_controller_grab_keyboard): fix iteration.
830 (spi_check_key_event): re-format to suit coding style.
831 Clean all the warnings - we're warning free.
833 * registryd/deviceeventcontroller.h:
834 * registryd/registry.h: make mutualy referential with
835 typesafe forward references instead of (!) void pointer
838 2002-01-11 Michael Meeks <michael@ximian.com>
840 * cspi/spi_accessible.c (role_names): add a role name
841 to sync this array with the enum; and make the regression
844 2002-01-10 Michael Meeks <michael@ximian.com>
846 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
847 allow expansion of enumeration & kill warning.
849 * test/test-simple.c (key_listener_cb): impl.
850 (test_keylisteners): impl.
852 * cspi/spi-listener.h: make listener signatures const
853 on the provided (const) events.
855 * test/keysynth-demo.c: upd. to const events.
857 * test/simple-at.c: ditto.
859 2002-01-11 Bill Haneman <bill.haneman@sun.com>
862 Rev the version to 0.5 (the previous tarball was named 0.4,
863 even though the micro number was 3), so we need to rev upwards
864 again for beta2/"desktop-alpha"
867 Checked in a demo script, which requires editing before use!
868 Proceed with caution.
871 Fixed typo in header which was redefining SPI_ACTION_CLASS.
873 * cspi/spi_accessible.c:
874 Add a couple of missing enum initializations, and fix some enum
877 * cspi/spi_registry.c:
878 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
880 * docs/reference/cspi/at-spi-cspi-sections.txt:
881 Remove/fix a couple of broken document references.
884 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
885 as Alt-Control to listen for commands, since on some systems
886 Control-Alt may already be grabbed.
888 2002-01-10 Bill Haneman <bill.haneman@sun.com>
891 Update version number to 0.4 for Beta2.
893 * libspi/accessible.c, libspi/accessible.h:
894 Expose spi_accessible_construct, to enable libgail-gnome
895 construction from spi_accessible subtype.
898 Workaround for bug in some non-gnome-compliant window managers
899 which made magnifier resize improperly.
901 2002-01-09 Bill Haneman <bill.haneman@sun.com>
903 * libspi/accessible.c: (spi_accessible_new) :
904 Move the test for SPI_IS_REMOTE_OBJECT to
905 spi_accessible_new_return, fixing a bug and compile time warning.
907 2002-01-08 Michael Meeks <michael@ximian.com>
909 * registryd/registry.c (parse_event_type): remove strndup.
911 * libspi/Makefile.am (libspi_la_SOURCES): remove
912 sources already included in the headers section.
914 * libspi/util.c: add.
916 * libspi/spi-private.h: add.
918 * registryd/registry.c: update to moved list iterators.
920 2002-01-05 Michael Meeks <michael@ximian.com>
922 * test/simple-at.c (main): upd. auto-module set to atk-bridge
924 * test/test-simple.c (main): ditto.
926 2002-01-04 Michael Meeks <michael@ximian.com>
928 * libspi/accessible.c (spi_accessible_new): remove 2nd,
931 * registryd/registry.c
932 (get_listener_list): impl.
933 (impl_accessibility_registry_register_global_event_listener):
934 re-impl. to simplify using ~, remove dodgy const cast off.
935 (parse_event_type): constify.
936 (impl_accessibility_registry_deregister_global_event_listener_all):
937 re-write, more efficiency and simplicity, kill re-enterancy
939 (compare_listener_corbaref, compare_corba_objects),
940 (compare_listener_quarks): define out.
941 (impl_accessibility_registry_deregister_global_event_listener):
942 re-write for effiency, and nail re-enterancy hazard.
943 (impl_accessibility_registry_get_desktop_list): impl.
944 (re_enterant_list_delete_link): impl.
945 (re_enterant_list_foreach): impl.
946 (remove_listener_cb): impl.
947 (_registry_notify_listeners): kill.
948 (notify_listeners_cb): impl.
950 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
951 (SPI_getDesktopList): impl.
953 * test/test-simple.c (test_desktop): test the methods.
955 2002-01-03 Michael Meeks <michael@ximian.com>
957 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
958 keystrings since we free them
959 (SPI_freeAccessibleKeySet): in here.
961 * libspi/accessible.c (spi_accessible_new): kill warning,
962 wonder what is going on with the constructor here.
964 2002-03-01 Bill Haneman <bill.haneman@sun.com>
966 * libspi/accessible.c (spi_accessible_new ()) :
967 Added check to see if AtkObject is an SpiRemoteObject before
968 creating an SpiAccessible.
970 2002-05-01 Bill Haneman <bill.haneman@sun.com>
972 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
973 Enable keygrabs using the Control modifier, now that they are
974 working properly (they were previously disabled).
977 Change the command keygrab for this demo to "Control+Alt", so as
978 to conflict with fewer other key commands on the system; this
979 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
981 Removed a pointlessly-chatty keylistener for unshifted keys
982 (shifted keys are still reported).
984 2002-02-01 Bill Haneman <bill.haneman@sun.com>
986 * libspi/remoteobject.h:
987 * libspi/remoteobject.c:
988 Added definitions for special AtkObject subtype, required for
989 support of remote components (specifically, used by BonoboControl
990 accessibility implementation).
992 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
994 * cspi/spi.h: synched relation types with ATK
996 * cspi/spi_accessible.c: Added implementations of
997 AcccessibleRelation_* methods
999 * idl/Accessibility_Relation.idl: added getRelationTypeName
1000 method. Synched known relation types with ATK. Allowed for
1001 relation type extension with the RELATION_EXTENDED type.
1003 * libspi/relation.c: Provided implementations for
1004 AccessibleRelation methods.
1006 2002-01-01 Bill Haneman <bill.haneman@sun.com>
1008 API tweaks for today's API 'freeze'.
1011 Added placeholder functions to allow future compatible expansion
1012 of the IDL interfaces.
1014 * idl/Accessibility_Registry.idl:
1015 Changed generateKeyEvent to generateKeyboardEvent. Changed
1016 signature of this method to accept an optional keystring in
1017 parameter (for complex text input synthesis) and changed use of
1018 simple 'boolean' parameter in registerKeystrokeListener to a
1019 struct, EventListenerMode.
1021 * cspi/spi_accessible.c:
1023 * cspi/spi_streamablecontent.c:
1024 Added references to AccessibleStreamableContent interface, and
1025 definition and implementation of AccessibleStreamableContent
1028 * cspi/spi_registry.c:
1030 Changed generateKeyEvent API to generateKeyboardEvent,
1031 taking a new (optional) keystring parameter to support complex
1036 Renamed directory (to better reflect its actual purpose, bridging
1037 from at-spi to ATK). The .so module is also now named
1040 * idl/Accessibility_Hypertext.idl:
1041 * libspi/accessible.c:
1042 * libspi/hypertext.h:
1043 * libspi/hypertext.c:
1044 Changed Accessibility_Hypertext to *not* derive from
1047 * cspi/spi_registry.c:
1048 Added list of legal event type names for 'window' events, which
1049 completes the registry event API.
1051 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
1053 * at-bridge/bridge.c: Added registration for separate
1054 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
1055 signals. If either of the first two parameters to the generic
1056 bridge signal handler are ints, they are passed on as event
1057 details. This allows an AT to determine what text was inserted.
1059 2001-12-21 Bill Haneman <bill.haneman@sun.com>
1061 * registryd/deviceeventcontroller.c:
1062 Fixed regressions in generateKeyEvent caused by the removal of
1063 gdk_init from registryd; we now use pure X calls to connect to the
1064 display, which makes sense because deviceeventcontroller already
1065 uses a fair bit of X API (should eventually be migrated to a
1066 'portability layer').
1068 * registryd/desktop.c:
1069 Fixed minor regression in spi_desktop_init, changed the way the
1070 desktop name is being set to work with new spi_base API
1071 (gobject-based, rather than AtkObject-based).
1073 * registryd/Makefile.am:
1074 Minor revision of makefile to use XTST_LIBS variable rather than
1075 hard-wiring the Xtst LD_ADD element.
1077 * test/keysynth-demo.c:
1078 Tweaked an output message; added initialization of the
1079 'keystrings' member of the "switch listener" key_set.
1081 * libspi/relation.c:
1082 Squashed compile-time warning.
1084 * libspi/accessible.c:
1085 Cosmetic and formatting fixes, renamed a static method.
1087 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
1089 * libspi/accessible.c
1091 * libspi/application.c
1094 * libspi/component.c
1095 * libspi/editabletext.c
1096 * libspi/hyperlink.c
1097 * libspi/hypertext.c
1099 * libspi/selection.c
1103 * registryd/desktop.c:
1104 Changed SpiBase to contain a GObject pointer rather than an AtkObject
1106 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1108 * idl/Accessibility_Registry.idl:
1109 Added boolean member 'is_text' to DeviceEvent. This is for the
1110 use of key events, and helps prevent ambiguity between composed
1111 key strings and keysym names, since both may potentially be
1112 returned in the 'event_string' member.
1114 * at-bridge/bridge.c:
1115 * registryd/deviceeventcontroller.c:
1116 Use the 'is_text' member when notifying device event listeners.
1117 Knon issue: composed characters are not dealt with correctly by
1118 the global key listener implementation yet.
1120 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1122 * at-bridge/bridge.c:
1123 Namespaced local static methods to spi_atk_bridge_* where
1124 previously named bridge_*, and spi_* elsewhere.
1126 * at-bridge/bridge.c:
1127 * cspi/bonobo/cspi-bonobo-listener.c:
1128 Added demarshalling/conversion for string member of
1129 Accessibility_DeviceEvent to AccessibleKeystroke.
1131 * registryd/deviceeventcontroller.c:
1132 Added code to fill the Accessibility_DeviceEvent key string value
1133 member for global key events (i.e. from XGrabKey), to match
1134 behavior of Accessibility_DeviceEvent from the toolkit key events
1135 from the bridge. Fixed timestamp in global key event notifications.
1138 Added printout of key event's string value to
1139 report_ordinary_key_event, for demo/debugging purposes.
1141 2001-12-15 Bill Haneman <bill.haneman@sun.com>
1143 * idl/Accessibility_Registry.idl:
1144 Removed Accessibility_KeyStroke structure in favor of generic
1145 Accessibility_DeviceEvent structure.
1146 Changed Accessibility_ControllerEventMask from a struct to an
1149 * at-bridge/bridge.c:
1150 Changed APIs to use DeviceEvent structure as above, and removed
1151 bogus casting between these event structures.
1153 * cspi/spi-listener.h:
1154 Added keystring member of AccessibleKeystroke structure, to enable
1155 matching on event "names" rather than only hardware codes and
1159 Added keystrings member of AccessibleKeySet struct, to allow
1160 matching on event names (as above).
1161 Added declarations for SPI_createAccessibleKeySet and
1162 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
1163 event modmasks directly as unsigned ints rather than structs with
1164 refcounts, in the DeviceEventController methods.
1166 * cspi/spi_registry.c:
1167 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
1169 * cspi/spi-roletypes.h:
1170 Added documentation of newly added SPI Roles.
1172 * cspi/bonobo/cspi-bonobo-listener.c:
1173 Changes in support of API changes above.
1175 * libspi/accessible.c:
1176 Converted APIs to use DeviceEvent structure (see IDL changes
1179 * registryd/deviceeventcontroller.c:
1180 Added DEControllerGrabMask structure to track keygrabs not only by
1181 modmask but by keyset as well; this allows us to do "global"
1182 (i.e. X) keygrabs on a per-key or keyset basis rather than always
1183 grabbing on AnyKey and then filtering after-the-fact.
1184 Bugfixes for event filtration mean that we don't get false matches
1185 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
1187 * registryd/deviceeventcontroller.c:
1188 Namespaced a number of static methods to use spi_ prefix. Major
1189 revision to internals of global (i.e. X) key grabs.
1191 * registryd/deviceeventcontroller.h:
1192 Removed keymask_list and added keygrabs_list to
1193 SpiDeviceEventController struct.
1196 Added use of SPI_createAccessibleKeySet API when creating a
1197 listener for only one key. Attach a listener to "shift spacebar
1198 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
1199 X key event names to SPI key event names, so that listeners are
1200 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
1202 * test/keysynth-demo.c:
1203 Changed (incorrect) use of X key event names (KeyPressed,
1204 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
1207 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1209 * libspi/accessible.c:
1210 Convert all AtkRole enumerations to Accessibility_Role enums when
1211 getting a role from an AtkObject.
1213 * cspi/spi_accessible.c:
1214 Complete the conversion of Accessibility_Role enums at runtime to
1215 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
1216 role enums correctly match those given in spi-roletypes.h.
1217 Re-synchronize the local names list for AccessibleRole_getName ().
1218 AccessibleRole_getName is now deprecated, since it duplicates the
1219 more reliable Accessible_getRoleName.
1220 Added some role types from Accessibility_Role.idl.
1222 * idl/Accessibility_Role.idl:
1223 Added some role types used by AtkRole.
1225 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1228 * cspi/spi_registry.c:
1230 * cspi/cspi-bonobo-listener.c:
1231 Namespaced all methods that did not begin with an "SPI_" or
1232 "Accessible" prefix to "SPI_".
1235 Homogenized internal function namespace to "cspi_" for statics.
1238 Patched tests to use the new CSPI API.
1240 * docs/reference/cspi/at-spi-cspi-sections.txt:
1241 Updated docs to reflect namespace changes, and added a number of
1242 methods to the documentation.
1244 * registryd/registry.c:
1245 Changed use of strings and string hashes in listener event
1246 matching and parse_event_string to use GQuark, which is guaranteed
1249 * registryd/registry.h:
1250 Squashed annoying warning.
1252 * idl/Accessibility_Role.idl:
1253 Extended range of available Accessibility_Role values.
1255 * cspi/spi_accessible.c:
1256 Re-ordered role names.
1258 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1260 * idl/Accessibility_Value.idl:
1261 Revert use of union back to CORBA_double, since the double type is
1262 more efficient and can contain the other types without loss of
1265 * idl/Accessibility_Accessible.idl:
1266 Added method Accessibility:Accessible:getRoleName, to complement
1267 Accessibility:Accessible:getRole.
1269 * cspi/spi_accessible.c:
1271 Added C binding for above, Accessible_getRoleName (), and changed
1272 signature of Accessible_getRole () to return an AccessibleRole.
1274 * cspi/spi-roletypes.h:
1275 Changed AccessibleRole_getName to return a char * instead of a
1276 const char *. This method is now at least temporarily deprecated
1277 in favor of asking Accessibles for their RoleNames directly.
1280 Revert to match Accessibility_Value.idl;
1284 Change signature of AccessibleValue methods to use double rather
1288 * cspi/spi_accessible.c:
1289 Changed Accessible_getRole to return an AccessibleRole enum rather
1290 than a UTF-8 string. The UTF-8 string can still be obtained via
1291 AccessibleRole_getName ().
1293 * test/test-simple.c:
1294 Add test_action. Small fixup to match API change to Accessible_getRole.
1297 Bugfix for get_action_from_servant ().
1299 2001-12-11 Michael Meeks <michael@ximian.com>
1301 * libspi/libspi.h: remove registry.h and
1302 desktop.h, deviceeventcontroller.h
1304 * libspi/Makefile.am: remove registry.[ch],
1305 desktop.[ch], deviceeventcontroller.[ch]
1307 * registryd/Makefile.am: add registry.[ch],
1308 desktop.[ch], rename registryd.c to registry-main.c.
1309 add deviceeventcontroller.[ch]
1311 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1314 Replace setenv() call with putenv ().
1316 * libspi/component.c:
1317 Bugfix in AccessibleComponent_getExtents (),
1320 2001-12-11 Michael Meeks <michael@ximian.com>
1322 * libspi/image.c (impl_getImageExtents): impl.
1323 (spi_image_class_init): upd.
1326 (AccessibleImage_getImageDescription): fix daft bug
1329 * test/test-simple.c (global_listener_cb): update
1330 to only quit if not --poke
1331 (main): catch --poke.
1332 (validate_accessible): upd. dumping, call test_image
1335 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1338 * idl/Accessibility.idl: update all IDL includes.
1340 * idl/*.idl - rename to namespace - this sucks, blame
1341 mjs' bad decision for oafd.
1343 * test/test-simple.c (create_test_window): add more tests.
1344 (create_tree): split this out.
1345 (validate_accessible): bugfix.
1347 2001-12-11 Michael Meeks <michael@ximian.com>
1349 * cspi/bonobo/cspi-bonobo-listener.c:
1350 (cspi_kestroke_listener_unref),
1351 (cspi_event_listener_unref): impl. undoing previous
1352 homenous environment - for Bill.
1354 * cspi/spi_table.c (long_seq_to_array): use
1357 * cspi/spi_main.c: split out all bonoboish bits into
1360 * cspi/spi-impl.h: upd. typedefs.
1362 * cspi/spi_registry.c: update to lowlevel API,
1363 return booleans to indicate success in some places.
1365 * cspi/spi_event.c: update to lowlevel API.
1367 * cspi/bonobo/Makefile.am: add.
1369 * cspi/bonobo/cspi-lowlevel.h: add
1371 * cspi/bonobo/cspi-bonobo.c: add
1373 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1375 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1376 (SUBDIRS): add bonobo, link in the libs.
1378 * cspi/spi-util.c: kill this file.
1380 * TODO: merge in my bits.
1382 2001-12-11 Michael Meeks <michael@ximian.com>
1384 * test/test-simple.c (test_value, test_table, main):
1385 remove unused variables causing warnings.
1387 * configure.in: cleanup checks - require gail.
1389 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1392 Changed Value interface to use SValue (scalars) rather than
1393 assuming all values are floats. This allows floats, doubles,
1394 longs, shorts, and unsigned values to be manipulated.
1395 Introduced Accessibility:SValue union.
1398 Updated to use new API above, and to work correctly with GValues
1399 of different types in AtkValue.
1402 Updated to use new API above. cspi's API is as yet unchanged.
1405 Updated the Value revision action item.
1407 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1409 * test/test-simple.c:
1410 Added test_table (GtkTreeView widget in test window to follow).
1411 Un-commented test_value, added GtkRange widget.
1412 Added GtkTreeView widget with GtkListStore. It passes regression
1413 test but leaks one SPI object for some reason.
1416 Fixed bug in impl__set_currentValue.
1418 2001-12-10 Michael Meeks <michael@ximian.com>
1420 * cspi/spi_text.c: audit for exception handling,
1421 tolerating NULL object references safely etc.
1423 * cspi/spi_value.c: ditto.
1425 * cspi/spi_table.c (AccessibleTable_getSummary),
1426 (AccessibleTable_getAccessibleAt),
1427 (AccessibleTable_getRowHeader),
1428 (AccessibleTable_getColumnHeader),
1429 (AccessibleTable_getCaption): fix bugs hidden by
1431 (long_seq_to_array): impl.
1432 (AccessibleTable_getSelectedRows),
1433 (AccessibleTable_getSelectedColumns): use it.
1435 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1438 Added a TODO list (rough and short for now).
1440 * cspi/spi_hyperlink.c:
1441 * cspi/spi_hypertext.c:
1442 Fixed macro name typos, and remove use of obsolete macro in
1443 AccessibleHyperlink_getLink.
1445 * cspi/spi_action.c:
1446 * cspi/spi_accessible.c:
1447 * cspi/spi_application.c:
1448 * cspi/spi_component.c:
1449 * cspi/spi_selection.c:
1452 Documentation fixes (removed return values from ref/unref methods).
1454 2001-12-10 Michael Meeks <michael@ximian.com>
1456 * cspi/spi_action.c: audit for exception handling,
1457 tolerating NULL object references safely etc.
1459 * cspi/spi_accessible.c: ditto.
1461 * cspi/spi_component.c: ditto.
1463 * cspi/spi_editabletext.c: ditto.
1465 * cspi/spi_hyperlink.c: ditto.
1467 * cspi/spi_hypertext.c: ditto.
1469 * cspi/spi_image.c: ditto.
1471 * cspi/spi_selection.c: ditto.
1473 2001-12-10 Michael Meeks <michael@ximian.com>
1475 * configure.in: use cspi/libspi.pc.in instead.
1477 * Makefile.am (pkgconfig_DATA): upd. to match.
1479 * test/simple-at.c (report_focus_event): kill hacks around
1480 bad return values, use putenv not setenv
1482 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
1483 fire ChildGone - I killed it.
1485 * libspi/component.c
1486 (impl_accessibility_component_get_extents): remove
1489 * idl/Accessible.idl: kill ChildGone exception.
1491 * cspi/*.[ch]: kill int return from ref / unref.
1493 * cspi/spi_main.c (cspi_object_add_check): fold into
1494 (cspi_object_add): here.
1496 * cspi/spi_component.c (AccessibleComponent_getExtents):
1497 handle exceptions elegantly.
1499 * cspi/spi-private.h (cspi_check_ev_return),
1500 (cspi_return_if_fail): impl.
1502 * cspi/spi_accessible.c: use extensively.
1503 (AccessibleStateSet_equals): add direct compare check.
1505 * cspi/spi_selection.c: tolerate NULL objs, and check
1506 exceptions before return.
1508 * cspi/spi-util.c (cspi_warn_ev): rename to
1509 (cspi_check_ev): this & don't pass ev in; no point.
1511 2001-12-10 Michael Meeks <michael@ximian.com>
1513 * test/test-simple.c: use putenv not setenv
1514 (get_environment_vars): more chatty if you're not using
1517 * test/simple-at.c: do the setenv so more people see the
1520 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1522 * libspi/registry.c:
1523 Changed check of CORBA_environment on notification to be a warning
1524 instead of an error for the moment, since we can recover from this
1525 error when caused by a queued notification from a dead app.
1528 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
1529 used by all current implementors of AtkValue), and coerce to
1530 CORBA_float. (Proper general case fix may require change to Value.idl).
1532 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1536 * cspi/spi_accessible.c:
1537 Documentation fixes: added user_data params to documentation for
1538 listeners and callbacks.
1540 * cspi/spi_accessible.c:
1541 Changed AccessibleStateSet_compare to return a
1542 StateSet rather than return the difference set into a third parameter.
1545 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1548 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
1549 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
1553 Remove subdirectory po from SUBDIRS for now.
1555 * at-bridge/bridge.c:
1556 Beefed up a couple of debug printouts.
1557 One-line fix for signal notification name formatting.
1559 * libspi/accessible.c:
1560 Added assertion to spi_accessible_new ().
1562 * libspi/application.c:
1563 Put #ifdef qualifiers around a printf.
1566 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
1568 * registryd/Makefile.am:
1570 Replaces use of XML_I18N_MERGE_SERVER_RULE with
1571 INTLTOOL_SERVER_RULE macro.
1574 Added an event listener for several ATK signals, for
1575 testing and debugging. Removed a few g_warnings.
1576 Added test output if focussed item implements the Value interface.
1578 * test/test-simple.c:
1579 Added test_value () function (known not to pass at the moment, so
1580 not actually called yet.
1582 2001-12-08 Michael Meeks <michael@ximian.com>
1584 * at-bridge/bridge.c (bridge_focus_tracker),
1585 (emit_eventv): fix the same ref. leak.
1586 (register_atk_event_listeners): don't leak.
1588 * cspi/spi-listener-impl.c (cspi_event): more
1589 protection from client code.
1591 * test/test-simple.c (test_desktop): unref the app.
1593 * test/Makefile.am: upd. TESTS.
1595 * at-bridge/bridge.c (bridge_exit_func): release the registry.
1597 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
1599 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
1601 * cspi/spi_registry.c: constify in strings.
1602 (deregisterGlobalEventListenerAll): don't release the ref.
1604 * cspi/spi.h: start removing redundant / conflicting
1605 gtkdoc comments, making the API readable at a glance :-)
1607 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
1609 * test/keysynth-demo.c (keysynth_exit, main): upd.
1611 * test/simple-at.c (main, simple_at_exit): upd.
1613 * test/test-simple.c (unutterable_horror): kill.
1614 (utterable_normal_derefs): kill.
1615 (main): upd & do a setenv before gtk_init, so that we
1616 can use memprof - and to save the pain of remembering
1617 this, if we're running under memprof - don't exit.
1619 * cspi/spi_main.c (SPI_exit): return exit status
1621 (SPI_event_quit): impl.
1622 (SPI_event_main): simplify.
1623 (cspi_is_gnome_app): kill.
1624 (SPI_init): kill isGNOMEapp arg.
1626 * at-bridge/bridge.c (register_atk_event_listeners):
1627 re-instate the unref.
1628 (bridge_exit_func): don't re-activate the registry,
1629 protect vs. theoretical re-entry, use the
1630 AT_BRIDGE_SHUTDOWN env. var to determine whether to
1631 assert a clean shutdown - for regression tests.
1633 2001-12-08 Abel Cheung <maddog@linux.org.hk>
1635 * configure.in: Comment out dummy i18n support for now,
1636 otherwise it fails to build.
1637 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
1638 EXTRA_DIST. They are missing in tarball.
1640 2001-12-07 Michael Meeks <michael@ximian.com>
1642 * util/magnifier.c: kill bonobo activation reg. race.
1644 * libspi/component.c
1645 (impl_accessibility_component_get_extents): make it match
1648 * libspi/registry.c (_registry_notify_listeners):
1649 re-remove X headers & reconcile conflicts.
1650 (spi_listener_struct_free): bad conflict resolve.
1651 (impl_accessibility_registry_register_application):
1652 more bad merging fixed.
1653 (impl_accessibility_registry_deregister_application): ditto.
1654 (spi_registry_new): ditto.
1655 (spi_registry_init): don't have an applications field.
1657 [ merge fixups2 branch to here ]
1658 2001-12-07 Michael Meeks <michael@ximian.com>
1660 * test/simple-at.c (report_focus_event),
1661 (report_focussed_accessible): remove g_warning debug.
1663 2001-12-07 Michael Meeks <michael@ximian.com>
1665 * test/test-simple.c (validate_tree): comment out some checks.
1666 (test_desktop): app now not registered idly - horay.
1668 2001-12-07 Michael Meeks <michael@ximian.com>
1670 * cspi/spi_registry.c
1671 (registerAccessibleKeystrokeListener): clean, stop it leaking
1672 great swathes of memory, and device event controller references.
1673 ensure we always pass valid sequences.
1674 (deregisterAccessibleKeystrokeListener): ditto.
1675 (generateKeyEvent): upd.
1677 * at-bridge/bridge.c (bridge_key_listener): handle
1678 registry dead exception gracefully.
1679 (bridge_focus_tracker, emit_eventv): free ev.
1681 * test/simple-at.c (report_focus_event): fix polarity.
1683 * libspi/application.c (notify_listeners): kill the ev
1684 argument, and make sure we init the ev we use.
1685 (spi_application_object_event_listener): split out a chunk
1686 (get_atk_object_ref): here & fixup.
1687 (reverse_lookup_name_for_toolkit_event): make const.
1688 (spi_application_toolkit_event_listener): fixup, kill leaks
1691 * at-bridge/bridge.c (register_atk_event_listeners):
1692 don't unref the noop object - causes grief.
1694 * libspi/registry.c: remove the X headers.
1695 turn off the debug churn.
1697 * libspi/accessible.c (spi_accessible_new_return): only
1698 release the ref if we are supposed to [doh]
1700 * test/simple-at.c (report_button_press, report_focus_event):
1701 guard vs. unexpected exit.
1703 * at-bridge/bridge.c (gtk_module_init): prune printf.
1704 (bridge_exit_func): fix app unref.
1706 * libspi/Makefile.am: don't install registry or desktop.h
1708 * libspi/*.h: update includes.
1710 * libspi/application.h: don't include ourself, or
1711 other redundant headers.
1713 2001-12-06 Michael Meeks <michael@ximian.com>
1715 * libspi/accessible.c
1716 (get_accessible_from_servant): impl.
1717 Upd. all CORBA impl.s to use it killing cut and paste.
1719 * cspi/spi_main.c (cspi_cleanup): guard vs. double
1721 (SPI_init): register atexit cleanup handler here.
1723 2001-12-06 Michael Meeks <michael@ximian.com>
1725 * at-bridge/bridge.c (gtk_module_init): g_error on
1726 activation exception
1728 2001-12-06 Michael Meeks <michael@ximian.com>
1730 * at-bridge/bridge.c (gtk_module_init): some sort of
1731 confusing merge clash - reverted.
1732 (bridge_idle_init): ditto.
1734 * test/test-simple.c (main, utterable_normal_derefs):
1735 merge from Bill - somehow not committed.
1737 2001-12-06 Michael Meeks <michael@ximian.com>
1739 * libspi/value.c (spi_value_class_init): upd.
1740 (spi_value_finalize): kill.
1742 * libspi/table.c (spi_table_finalize): kill.
1743 (spi_table_interface_new): upd.
1744 (spi_table_class_init): upd.
1745 (get_table_from_servant): impl.
1746 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1748 * libspi/selection.c (spi_selection_finalize): kill.
1749 (spi_selection_interface_new): upd.
1750 (spi_selection_class_init): upd.
1751 (get_selection_from_servant): impl.
1752 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1754 * libspi/relation.c (spi_relation_finalize): kill.
1755 (spi_relation_class_init, spi_relation_new): upd
1757 * libspi/image.c (spi_image_finalize): kill.
1758 (spi_image_class_init): upd.
1759 (spi_image_interface_new): upd.
1760 (get_image_from_servant): impl.
1761 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1763 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
1764 (spi_hyperlink_finalize): kill.
1765 (spi_hyperlink_new): upd.
1766 (get_hyperlink_from_servant): impl.
1767 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1769 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
1770 (spi_hypertext_finalize): kill.
1771 (spi_hypertext_class_init): upd.
1772 (get_hypertext_from_servant): impl.
1773 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1775 * libspi/editabletext.c (spi_editable_text_finalize): kill.
1776 (spi_editable_text_interface_new): upd.
1777 (get_editable_text_from_servant): impl.
1778 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1780 * libspi/text.c (get_text_from_servant): impl.
1781 All impls - update to use it killing more cut and paste,
1782 also fix bad string returns on duff args ( a somewhat
1783 impossible case to handle - but hey ).
1784 (spi_text_construct): impl.
1785 (spi_text_interface_new): upd.
1786 (spi_text_object_finalize): kill.
1788 * libspi/component.c
1789 (accessibility_component_object_finalize): kill.
1790 (spi_component_class_init): upd.
1791 (get_component_from_servant): impl. helper to kill cut & paste.
1792 (impl_accessibility_component_contains):
1793 (impl_accessibility_component_get_accessible_at_point):
1794 (impl_accessibility_component_get_position):
1795 (impl_accessibility_component_get_extents):
1796 (impl_accessibility_component_get_mdi_z_order):
1797 (impl_accessibility_component_get_layer):
1798 (spi_component_interface_new): upd.
1800 * libspi/action.c (spi_action_finalize): kill.
1801 (spi_action_class_init): upd. inherit from SpiObject.
1802 (spi_action_interface_new): upd.
1803 (get_action_from_servant): impl. helper to reduce cut & paste.
1804 (impl_getKeyBinding, impl_getName, impl_doAction),
1805 (impl_getDescription): Use it everywhere.
1807 * cspi/spi_main.c (get_live_refs): a pointer hash.
1808 (spi_object_hash, spi_object_equal): comment out.
1809 There are issues with CORBA object hashing that need
1812 * libspi/application.c (spi_application_init),
1813 (spi_application_new): upd.
1815 * libspi/accessible.c (spi_accessible_object_finalize): kill.
1816 (spi_accessible_class_init): upd.
1817 s/accessible/object/ in epv methods.
1819 2001-12-05 Bill Haneman <bill.haneman@sun.com>
1821 * at-bridge/bridge.c:
1822 Reorder the bridge initialization into the bridge gtk_module_init,
1823 an immediate call to bridge_register_app, and an idle_add for
1824 register_atk_event_listeners (the only code that *must* wait until
1825 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
1826 the activation, creates the application's Accessible object, and
1827 queues the bridge_idle_init function. Restored call to
1828 Accessibility_Registry_deregisterApplication().
1829 Prior to making this call we obtain a new reference to the
1830 registry, which is a temporary hack that helps us handle apps that
1831 shut down the bonobo mainloop before we get there.
1833 * libspi/registry.c:
1834 Fix string leakage in debug block, and don't segv if a an app
1835 dies before its event notifications have been propagated.
1838 Modify cspi_check_ev() to call g_warning() rather than g_error(),
1839 as stopgap measure until we get proper exception handling when
1840 objects die during or before interrogation.
1844 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
1845 Also changed default value of is_gnome_app to TRUE.
1848 * test/keysynth-demo.c:
1849 Changed use of SPI_init and SPI_event_main to reflect API change above.
1852 Made report_focus_event check the warning value from getName
1853 before reporting on focussed accessible; simplifies handling of
1854 notifications from dead objects.
1856 * test/test-simple.c: (Changes not in this patch since source is
1859 2001-12-05 Michael Meeks <michael@ximian.com>
1861 * registryd/registryd.c (main): protect against
1862 bonobo-activation startup race condition.
1864 * cspi/spi_main.c (cspi_object_add_check): cope
1865 with the exception elegantly.
1867 * idl/Accessible.idl: decl. ChildGone
1869 * libspi/desktop.c (spi_desktop_dispose): impl.
1870 (spi_desktop_class_init): upd.
1871 (spi_desktop_add_application),
1872 (spi_desktop_remove_application),
1873 (abnormal_application_termination): impl.
1874 (impl_desktop_get_child_at_index): re-impl.
1877 (impl_accessibility_registry_deregister_application),
1878 (impl_accessibility_registry_register_application):
1879 kill excessive debug clutter.
1881 * test/test-simple.c (test_misc): test some NULL
1882 tolerance. (main): upd.
1884 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
1885 implements no interfaces - so let's not crash.
1887 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
1889 * libspi/accessible.c (spi_accessible_new_return): impl.
1890 helper to calm the cut and paste, to cope with
1891 NULL AtkObjects effectively and efficiently, and to kill
1892 the referencing bugs.
1894 * libspi/table.c (impl_getAccessibleAt),
1895 (impl_getRowHeader, impl_getColumnHeader): upd.
1897 * libspi/hyperlink.c (impl_getObject): upd.
1899 * libspi/accessible.c
1900 (impl_accessibility_accessible_get_child_at_index): upd.
1902 * libspi/component.c
1903 (impl_accessibility_component_get_accessible_at_point): upd.
1905 * test/test-simple.c (test_editable_text, test_text): impl.
1908 * cspi/spi_editabletext.c
1909 (AccessibleEditableText_insertText): constify.
1911 * test/test-simple.c (focus_me): make more robust.
1913 * libspi/accessible.c: remove some printfs in methods that
1914 we test and work fine, so we can get a clean tree dump.
1916 * test/test-simple.c (validate_accessible),
1917 (validate_tree): make tree dumping pretty too.
1919 * at-bridge/bridge.c (bridge_signal_listener): upd. so
1920 it builds without debug on.
1922 * test/test-simple.c (validate_accessible): fix the most
1925 * cspi/spi_main.c (spi_object_release): leave the nicely
1926 blanked memory around if in debug mode.
1928 * cspi/spi-listener-impl.c (cspi_event): use add_check.
1930 [committed to fixups2]
1931 2001-12-05 Michael Meeks <michael@ximian.com>
1933 * libspi/editabletext.c
1934 (spi_editable_text_class_init): g_type_class_peek_parent,
1935 not interface peek - so we finalize cleanly.
1937 * libspi/accessible.c (spi_accessible_new): kill debug.
1939 * test/test-simple.c (validate_accessible): fix ref.
1940 leak, print strings before freeing them; sigh, comment a
1941 chunk out due to strangeness.
1942 (validate_tree): unref the child after use.
1944 * cspi/spi_component.c (AccessibleComponent_getLayer):
1945 add missing break statement, switch on zlayer not the
1946 uninitialized retval.
1948 * cspi/spi_main.c (cspi_object_add): add assert, local ref
1949 before (possibly re-entering) remote unref.
1951 * test/simple-at.c (main): unref the desktop.
1953 * cspi/spi_accessible.c (cspi_accessible_is_a): move
1956 * cspi/spi_main.c (cspi_accessible_is_a): here to
1957 isolate bonobo API usage more.
1959 * libspi/registry.c (impl_accessibility_registry_register_application):
1960 prune bogus comment.
1962 2001-12-04 Michael Meeks <michael@ximian.com>
1964 * test/test-simple.c (validate_tree): upd.
1965 IndexInParent check to make it more lucid.
1966 (validate_accessible): dump the tree.
1968 * libspi/accessible.c (de_register_public_ref),
1969 (get_public_refs): impl.
1970 (spi_accessible_new): make more efficient & intuitive.
1971 Now IndexInParent check works.
1973 2001-12-04 Michael Meeks <michael@ximian.com>
1975 * cspi/spi-util.h: remove.
1977 * cspi/spi.h: move SPI_freeString here
1979 * libspi/component.c (impl_accessibility_component_get_layer):
1981 (impl_accessibility_component_get_mdi_z_order): ditto,
1982 return -1 on error - is this ok ?
1984 * test/test-simple.c (test_application): impl.
1986 * cspi/spi_accessible.c (Accessible_getApplication),
1987 (Accessible_isApplication): impl.
1989 * libspi/registry.c (spi_listener_struct_free): release
1990 the CORBA reference too.
1992 * libspi/accessible.c
1993 (impl_accessibility_accessible_get_parent): fix ref leak.
1995 * libspi/registry.c (spi_registry_new): make the registry
1996 immortal - we don't want it to go away ever.
1998 * libspi/application.c
1999 (spi_accessible_application_finalize): impl. cleanup.
2001 * cspi/spi_registry.c
2002 (deregisterGlobalEventListenerAll),
2003 (deregisterGlobalEventListener),
2004 (deregisterAccessibleKeystrokeListener): fix ref leak.
2006 * cspi/spi_main.c (SPI_init): remove redundant ref.
2008 * test/test-simple.c (unutterable_horror): impl. to force a
2013 (impl_accessibility_registry_deregister_application): release
2014 the application when we de-register it.
2016 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
2017 until we have the infastructure to get it right.
2019 2001-12-03 Michael Meeks <michael@ximian.com>
2021 * libspi/Makefile.am: only build eventlistener.[ch]
2023 * libspi/accessible.c
2024 (impl_accessibility_accessible_get_child_at_index): don't leak.
2026 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
2027 before we hit the idle handler.
2029 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
2030 debugging than exit.
2032 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
2034 * libspi/listener.c (impl_notify_event): check source
2035 not NIL before unref.
2037 * libspi/registry.c (impl_registry_notify_event): ditto.
2039 * libspi/eventlistener.c
2040 (impl_accessible_event_notify_event): unref the source.
2042 * libspi/accessibleeventlistener.c
2043 (impl_accessible_event_notify_event): unref the source.
2045 * idl/Event.idl: remove 'hash_id' attribute - of no
2048 * libspi/application.c (notify_listeners): upd list
2050 (spi_application_object_event_listener),
2051 (spi_application_toolkit_event_listener): upd to do correct
2055 (_registry_notify_listeners): update.
2056 (parse_event_type): this method also leaks like a sieve.
2057 (impl_accessibility_registry_deregister_global_event_listener):
2058 fix ETYPE_WINDOW case.
2060 * libspi/application.c
2061 (impl_accessibility_application_register_object_event_listener):
2064 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
2066 * libspi/hypertext.c (impl_getLink): ditto.
2068 * cspi/spi_main.c (cspi_object_add): remove
2069 bogus CORBA_Object_duplicate.
2071 * cspi/spi-listener-impl.c (cspi_event): dup/ref
2074 * cspi/spi_accessible.c
2075 (Accessible_getRelationSet): fix leak / referencing issue.
2077 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
2078 (cspi_object_add, cspi_object_unref): upd.
2079 (spi_object_release, get_live_refs): impl.
2080 (cspi_cleanup): simplify.
2082 * *.[ch]: s/boolean/SpiBoolean/
2084 * cspi/spi_accessible.c (role_names): actualy order so it
2085 corresponds with the enum !
2087 * test/test-simple.c (test_roles): check some role strings
2088 vs. enums to detect offset errors.
2090 2001-12-01 Michael Meeks <michael@ximian.com>
2092 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
2094 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
2096 (Accessible_getChildAtIndex): use cspi_add_check so we
2097 check the ev before using a (possibly) invalid value.
2099 * libspi/accessible.c
2100 (impl_accessibility_accessible_get_parent): don't segv
2103 * at-bridge/bridge.c (gtk_module_init): upd.
2104 (bridge_property_event_listener): don't leak strings
2106 (bridge_state_event_listener),
2107 (bridge_property_event_listener): don't use a static
2108 buffer in case of recursive event emission &
2109 re-enterancy - split out the swathe of cut and paste
2111 (emit_eventv): and fix 2 ref leaks here & comply to the
2113 (bridge_register_app): rename to
2114 (bridge_idle_init): this and kill arg parsing, split
2115 various inits & bonobo-activation registration to module
2116 init time, kill referencing error.
2117 (bridge_exit_func): fix the same leak.
2118 (bridge_focus_tracker): don't leak event structures
2120 (bridge_signal_listener): more leakage and cut & paste
2122 (bridge_key_listener): return the result - FIXME is
2123 this polarity correct ?
2124 (accessibility_keystroke_from_atk_key_event): rename
2125 (accessibility_init_keystroke_from_atk_key_event): and stop
2127 (gtk_module_init): return a value - not that it is checked by
2129 (bridge_key_listener): register my horror at casting between
2130 IDL defined structs.
2131 (bridge_get_registry): kill - not used.
2133 * cspi/spi_accessible.c (Accessible_getRole): make return const.
2135 * test/test-simple.c (test_roles): impl.
2136 (test_desktop, validate_accessible, validate_tree): impl.
2138 * cspi/spi_accessible.c (role_names): fixup bogus
2139 MAX_ROLES setup, make constants const for efficient linkage
2140 (AccessibleRole_getName): conform to coding style, make
2143 2001-11-30 Michael Meeks <michael@ximian.com>
2145 * cspi/spi.h: add missing prototype.
2147 * libspi/registry.c (spi_listener_struct_new): fix sig.
2149 * test/Makefile.am: add test-simple
2151 * test/test-simple.c: add
2153 * test/test.sh: add.
2155 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
2157 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
2158 do it straight - since otherwise we often get an activation race.
2160 [ work before Bill duplicated a chunk of it ... ]
2161 2001-11-30 Michael Meeks <michael@ximian.com>
2163 * libspi/keystrokelistener.c
2164 (spi_keystroke_listener_class_init): fixup arg
2167 * libspi/eventlistener.c
2168 (spi_event_listener_class_init): ditto.
2170 * tests/test.sh: add.
2172 * cspi/spi-listener-impl.h: update macros.
2174 * cspi/spi-listener-impl.c
2175 (cspi_event_listener_remove_callback): add
2176 correct pre-conditions.
2178 * cspi/spi_main.c (SPI_exit): guard vs. double
2179 exits, exit the mainloop nicely.
2180 (SPI_event_main): make more sense.
2181 (SPI_init): move the atexit evilness here so we
2182 always do it (yuck).
2183 (SPI_event_main): upd.
2185 * test/simple-at.c: update for listener changes.
2187 * registryd/registryd.c (main): prune kruft.
2189 * libspi/libspi.h: upd.
2191 * libspi/eventlistener.[ch]: rename broken macros.
2193 * libspi/accessibleeventlistener.[ch]: remove.
2195 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
2197 * test/test-simple.c: Add - automated tests.
2199 * cspi/spi-listener-impl.c (cspi_event),
2200 (cspi_key_event): add user_data to invoke.
2201 (cspi_keystroke_listener_finalize): impl.
2202 (cspi_keystroke_listener_class_init): upd.
2205 (createAccessibleEventListener),
2206 (AccessibleEventListener_addCallback),
2207 (createAccessibleKeystrokeListener),
2208 (AccessibleKeystrokeListener_addCallback): upd.
2210 * libspi/deviceeventcontroller.c
2211 (spi_device_event_controller_check_key_event): add public proto.
2214 (impl_accessibility_registry_deregister_global_event_listener):
2215 always init listeners.
2216 (_registry_notify_listeners): yes it is.
2218 * cspi/spi-listener-impl.c (cspi_key_event):
2220 (cspi_event_listener_finalize): impl.
2221 (cspi_event_listener_class_init): hook up.
2222 (event_handler_new, event_handler_free),
2223 (event_list_remove_by_callback): impl.
2224 (cspi_event_listener_remove_callback),
2225 (cspi_keystroke_listener_remove_callback),
2226 (cspi_keystroke_listener_add_callback),
2227 (cspi_event_listener_add_callback): upd.
2229 * libspi/keystrokelistener.c
2230 (keystroke_listener_object_finalize): kill
2231 (spi_keystroke_listener_class_init): upd.
2232 (spi_keystroke_listener_add_callback),
2233 (spi_keystroke_listener_remove_callback): kill,
2235 (impl_key_event): prune drasticaly.
2237 * libspi/eventlistener.c
2238 (spi_event_listener_add_callback),
2239 (spi_event_listener_remove_callback): kill, use
2241 (impl_accessible_event_notify_event): upd.
2242 (spi_event_listener_object_finalize): remove.
2244 * libspi/Makefile.am: use eventlistener.[ch]
2246 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2248 * libspi/registry.c (_registry_notify_listeners):
2249 Changed listener loop iteration to use preferred convention.
2250 Got rid of string memory leaks caused be calling g_strconcat
2251 inside function calls.
2253 * libspi/registry.c (parse_event_type):
2254 Stopped g_strconcat memory leaks, free the g_strsplit return,
2255 g_strdup the split pieces when used, etc.
2257 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2260 Change method 'compare' to return a 'difference set' rather than
2261 taking a StateSet as an out parameter (more Java-friendly).
2263 * idl/Accessible.idl:
2264 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2266 * idl/Component.idl:
2268 Changed methods 'getExtents' and 'getImageExtents' in these
2269 interfaces to return a BoundingBox structure.
2270 (getPosition and getSize are redundant and possibly should be
2271 removed, rather than creating a corresponding Point struct.)
2273 * cspi/spi_component.c:
2274 Modify implementation of getExtents to reflect the above IDL
2279 Add (missing) AccessibleImage_getExtents () API.
2281 * docs/reference/cspi/at-spi-cspi-sections.txt:
2282 Added AccessibleImage_getImageExtents () to docs.
2284 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2286 * idl/Component.idl:
2287 Added two methods, getLayer () and getMDIZOrder (), to reflect
2288 the new ATK methods atk_object_get_layer and
2289 atk_object_get_mdi_z_order. (Which arguably should be part of the
2290 AtkComponent API and AtkObject). Also added an enum,
2291 ComponentLayer, for the first method's return value.
2293 * libspi/component.c:
2294 Added implementations for these methods.
2296 * cspi/spi_component.c:
2298 Added cspi binding methods for above,
2299 AccessibleComponent_getLayer() and
2300 AccessibleComponent_getMDIZOrder().
2301 Added cspi enum 'AccessibleComponentLayer'.
2303 * docs/reference/cspi/at-spi-cspi-sections.txt:
2304 Added above methods to docs.
2308 Changed typedef for 'boolean' type (and all references to it) to
2309 SPIBoolean, to avoid keyword clashes with C++.
2312 Changed usages of 'boolean' to SPIBoolean.
2314 * test/keysynth-demo.c:
2315 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2316 app), except where SPIBoolean is required by the callbacks API.
2318 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2320 * cspi/spi_registry.c:
2321 Removed obsolete X event loop for passive keygrabs (which now
2324 * registryd/registryd.c:
2325 Removed unnecessary call to gdk_init() [cruft]. This also allows
2326 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2329 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2331 * docs/reference/cspi:
2332 Included docs for SPI_freeString in generated documentation.
2335 Renamed spi_freeString to SPI_freeString, for consistency. Added
2336 documentation for this function.
2339 Renamed spi_freeString to SPI_freeString, for consistency.
2340 Removed obsolete method declaration string_from_corba_string.
2342 * test/keysynth-demo.c:
2343 Small tweak to comments.
2346 Stopped leaking the strings returned from CSPI.
2348 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2350 Merged Michael's branch (see his ChangeLog entries below).
2352 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2353 bridge is alive, release on exit.
2355 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2356 Fix type check macro.
2359 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2362 Added is_gnome_app static, and method cspi_is_gnome_app(),
2363 so we can call the appropriate shutdown routine at exit in SPI_exit.
2365 * cspi/spi_main.c (cspi_object_ref):
2366 Duplicate the corba object passed in, since we're keeping it around.
2368 * cspi/SPI_exit.c, cspi_cleanup:
2369 Moved the releasing of the live refs to its own function, so we
2370 can put it in g_atexit (). Call the appropriate shutdown API
2371 depending on whethe calling client is a gnome app or not
2372 (bonobo_main_quit or CORBA_ORB_shutdown).
2374 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2375 Unref the listener when this method is called, after
2376 deregistration. Updated the API docs to note this behavior.
2378 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2379 Bugfixes: Ref the bonobo object when returning a parent or child
2380 reference, or an AccessibleRelation. Generally made sure
2381 BonoboObject refcount is incremented whenever we return an
2384 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2385 Fixed typo/bug in signal declaration.
2387 * libspi/accessibleeventlistener.h:
2390 * libspi/application.c (spi_application_new):
2391 Fixed leak in initialization.
2394 Remembered to increment bonobo-object refcount when returning
2395 children (applications) from desktop object.
2396 Added (empty) finalize method.
2398 * libspi/deviceeventcontroller.c:
2399 Hold a ref to listeners inside DEControllerKeyListeners.
2400 Added dec_key_listener_free() method. Use prepend instead of
2401 append in key_listener list. Fixed some refcount madness and
2402 leaks in the listener registration/deregistration - deregistration
2403 now calls dec_key_listener_free() on listeners, and on the
2404 temporarily constructed dec_key_listener() used to perform the search/match.
2406 * libspi/hypertext.c (spi_hypertest_finalize):
2407 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2408 class. Also fixed spi_hypertext_interface_new() and
2409 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2411 * libspi/hypertext.h:
2412 Removed pointless and duplicate AtkObject pointer from
2415 * libspi/keystrokelistener.c:
2416 Fixed incorrect type of keystroke_listener_parent_class,
2417 renamed keystroke_listener_object_finalize to
2418 spi_keystroke_listener_object_finalize.
2419 Fixed typo in signal declaration
2420 (spi_keystroke_listener_class_init).
2422 * libspi/registry.c:
2423 Added funcsions spi_listener_struct_new() and
2424 spi_listener_struct_free() to help with memory management issues.
2425 We also now use these methods instead of gnew + poking stuff into
2426 the struct, and to decrement listener counts/free the listeners
2427 when deregistering them.
2428 Fix more refcount bugs in getDesktop() and
2429 getDeviceEventController().
2432 De-ref the desktop after enumerating the applications. Explicitly
2433 decrement the refcounts on the created listeners on exit (using
2434 _unref for keystroke listeners, and via the
2435 deregisterGlobalEventListenerAll command for other event
2438 2001-11-27 Michael Meeks <michael@ximian.com>
2440 * cspi/spi-listener.h: fixup enum.
2442 2001-11-27 Michael Meeks <michael@ximian.com>
2444 * cspi/spi-listener-impl.c (cspi_event_listener_new),
2445 (cspi_keystroke_listener_new): Use the cspi variants.
2447 2001-11-26 Michael Meeks <michael@ximian.com>
2449 * test/keysynth-demo.c: fix 2 compile warnings, missing
2452 * test/simple-at.c (report_focussed_accessible),
2453 (report_focus_event, report_button_press),
2454 (check_property_change, is_command_key),
2455 (report_ordinary_key_event, report_command_key_event): upd.
2457 * util/mag_client.h: include pre-requisites.
2459 * libspi/accessibleeventlistener.c
2460 (spi_event_listener_object_finalize): free any lingering
2463 * libspi/keystrokelistener.c
2464 (keystroke_listener_object_finalize): ditto.
2466 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
2467 callbacks, with cspi types.
2469 * cspi/spi_event.c (createAccessibleEventListener): chain to
2470 (AccessibleEventListener_addCallback): here.
2471 (createAccessibleKeystrokeListener): chain to
2472 (AccessibleKeystrokeListener_addCallback): here.
2474 * libspi/keystrokelistener.c
2475 (spi_keystroke_listener_class_init): add signal.
2476 (impl_key_event): emit the event.
2477 (boolean_handled_accumulator): impl.
2478 (marshal_BOOLEAN__POINTER): add, gack.
2480 * libspi/accessibleeventlistener.c
2481 (spi_event_listener_class_init): add signal.
2482 (impl_accessible_event_notify_event): emit the signal &
2483 make the loop efficient.
2484 (spi_event_listener_add_callback): prepend the callback.
2486 * libspi/accessibleeventlistener.h: add an 'event' signal,
2487 decl type on callback.
2489 * libspi/keystrokelistener.h: ditto.
2491 * cspi/spi-listener.h: make methods typesafe and
2492 make them use the new event typedefs.
2494 * test/simple-at.c (report_focussed_accessible):
2495 include mag_client.h
2496 Use *(void *)text_interface not the other thing.
2498 * configure.in: add gtk to registryd bits - since we use
2501 * util/magnifier.c: include libbonobo.h
2503 2001-11-25 Bill Haneman <bill.haneman@sun.com>
2505 * test/keysynth-demo.c:
2506 Turned this into a simple scanning keyboard, to demonstrate the
2507 use of g_timeout_add () as a means of creating timers for
2508 scanning, and the use of GtkStyle for visually indicating when
2509 virtual keyboard elements are selected.
2511 keysynth-demo now listens to any keyboard keys with zero-valued
2512 keycodes (i.e. 'unused' keys) and interprets them as
2515 Reworked the shiftlatch code so that shift-down state isn't held
2516 for long periods (it's only synthesized immediately prior to
2517 the keysynth event it's modifying). Note that shiftlatch in this
2518 demo is a convenience, not intended to take the place of AccessX
2519 which is the better choice for getting 'sticky' modifier keys.
2521 * libspi/deviceeventcontroller.c:
2522 * at-bridge/bridge.c:
2523 * cspi/spi_registry.c:
2524 Removed some debug print stuff, and put other verbosity in #ifdef
2529 Implemented some more of the magnifier IDL for the simple
2530 magnifier: namely, getZoomRegionParams.
2531 Added mag_x and mag_y members to MagnifierData struct, aid of this
2533 Added GtkWindow::realize signal handler to magnifier, to keep it
2534 from receiving keyboard focus from the WM.
2536 2001-11-23 Mark McLoughlin <mark@skynet.ie>
2538 * cspi/spi-private.h: my guess at what michael forgot
2539 before he ran off to NZ :-)
2541 2001-11-23 Michael Meeks <michael@ximian.com>
2543 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
2544 comment out non existant method invoke so we link.
2546 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
2547 use bonobo_exception_get_text for more friendly warnings.
2549 * cspi/spi.c (Obj_Add): move into spi_main & rename
2550 spi_object_add; kill spi.c
2552 * cspi/spi_registry.c
2553 (deregisterGlobalEventListener),
2554 (deregisterGlobalEventListenerAll),
2555 (registerGlobalEventListener): fix exception leaks.
2557 * cspi/spi_main.c (spi_exception): impl. helper, so we
2558 don't leak exceptions.
2560 * cspi/spi_selection.c
2561 (AccessibleSelection_deselectSelectedChild): return the
2564 * cspi/spi_main.c (spi_ev): impl; hack - gack.
2565 (spi_registry): ditto.
2566 (SPI_init): guard against double inits.
2568 * cspi/*.c: use spi_ev (), and spi_registry () where
2569 appropriate - a temporary hack until we have something
2570 better. Use spi_object_add
2572 2001-11-22 Michael Meeks <michael@ximian.com>
2574 * cspi/Makefile.am: re organise, install the headers.
2576 * cspi/*.h: add G_BEGIN/END_DECLS
2578 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2581 Added non-preemptive keylistener for key events with no modifiers
2582 and shift-only modifier.
2584 * libspi/keystrokelistener.c:
2585 Removed some verbose diagnostics printout.
2587 * cspi/spi_registry.c:
2588 Fixed a bug that caused all key listeners to be registered as
2591 * libspi/deviceeventcontroller.c:
2592 Fixed bug that caused XGrabKey (preemptive key grab) to be called
2593 for non-preemptive key masks.
2596 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2598 * docs/reference/idl/at-spi-idl-docs.sgml:
2599 * docs/reference/idl/at-spi-idl-sections.txt:
2600 * docs/reference/idl/at-spi-idl-overrides.txt:
2601 Added missing files.
2603 * docs/reference/Makefile.am:
2604 removed idl from SUBDIRS until we can figure a way to get gtk-doc
2605 to scan the IDL files :-(
2610 Added .cvsignore files.
2612 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2614 * libspi/deviceeventcontroller.c:
2615 * libspi/keystrokelistener.c:
2617 * cspi/spi_registry.c:
2618 Added filters for KeySets, KeyEventSeq, and event types to key
2619 event dispatching, so listeners should only receive those events
2620 that they requested :-)
2622 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2627 * docs/reference:Makefile.am:
2628 * docs/reference/cspi:
2629 * docs/reference/cspi:Makefile.am:
2630 * docs/reference/cspi:tmpl:
2631 * docs/reference/cspi:tmpl:*.sgml:
2632 * docs/reference/idl:
2633 * docs/reference/idl:Makefile.am:
2634 * docs/reference/idl:at-spi-idl-sections.txt:
2635 * docs/reference/idl:at-spi-idl-docs.sgml:
2636 * docs/reference/idl:tmpl:
2637 * docs/reference/idl:tmpl:*.sgml:
2639 Restructured docs directory to allow separate 'reference' docs
2640 section, and forked idl and cspi docs. Added the sgml template
2641 files to CVS. Added the first sections/structural sgml for the
2644 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
2646 * configure.in, libspi/Makefile.am: find libXtst.
2648 2001-11-21 Michael Meeks <michael@ximian.com>
2650 * test/accessx-gui.c: s/spi_value/value/ - doh.
2652 * libspi/base.[ch]: add.
2654 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2656 * idl/Accessible.idl:
2657 * idl/Application.idl:
2660 Started gtk-doc cleanup on IDL.
2662 * libspi/deviceeventcontroller.c:
2663 Added and connected non-preemptive key notification from the
2664 toolkits (in addition to the pre-emptive support from XServer
2665 which we had before, but which causes 'focus flashing'). Filters
2666 are presently limited to key modifiers and global/non-global,
2667 KeySets are presently ignored, as are KeyEvent masks.
2669 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
2670 structs into the persistant structure rather than just storing
2671 pointers to things that might not persist across servant
2674 The XGrabKey call now does async keygrabs, because synchronous
2675 ones were deadlocking with GDK_event code in a very nasty way.
2677 Added boolean to internal method notify_keylisteners, to indicate
2678 whether the event came from the 'toolkit source' or the 'global
2679 (XServer) source' - this is used in the notification process to
2680 determine which listeners to send the event to.
2682 deviceeventcontroller.c is now warning-free.
2684 * libspi/registry.c:
2685 Fixed regression in application de-registration.
2686 Also fixed some really brain-dead weirdness having to do with
2687 event dispatching - event structs are now duplicated before being
2688 re-marshalled in the dispatch to listeners. This also fixes a
2689 Solaris build problem.
2692 2001-20-11 Michael Meeks <michael@ximian.com>
2695 (impl_accessibility_registry_deregister_global_event_listener):
2698 * libspi/deviceeventcontroller.c
2699 (spi_device_event_controller_check_key_event): return
2700 FALSE on no virtual method.
2702 * libspi/*..h: make includes work on a correctly pathed install.
2704 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
2706 * libspi/application.h: kill unused ( and whacked out )
2707 gboolean *spi_application_set_id (AtkObject *app, long id);
2709 2001-20-11 Michael Meeks <michael@ximian.com>
2711 * libspi/*.[ch]: further convert to bonobo's type func
2712 macros, remove redundnant casts etc.
2714 * libspi/text.c s/accessibility_text/spi_text/g,
2715 re-order to de-cruft.
2717 * libspi/hypertext.c: re-order to kill a huge slew
2718 of redundant forward decls.
2720 * libspi/relation.c: ditto.
2722 * libspi/image.c: ditto.
2724 * */.cvsignore: update
2726 2001-20-11 Michael Meeks <michael@ximian.com>
2728 * libspi/deviceeventcontroller.c
2729 (_controller_register_with_devices): use g_getenv,
2730 kill stdlib.h include.
2732 * libspi/keystrokelistener.c
2733 (spi_keystroke_listener_get_type): kill
2734 (spi_keystroke_listener_class_init),
2735 (spi_keystroke_listener_init): rename to this.
2737 * libspi/text.c (impl_getAttributes): fix warning / bug.
2739 * libspi/*.[ch]: more headers, includes and over commenting.
2741 2001-20-11 Michael Meeks <michael@ximian.com>
2743 * libspi/*.[ch]: fixup headers, includes and over commenting.
2745 * libspi/image.c (impl__get_imageDescription): const
2746 correctness warning fix. remove redundant casting.
2748 * libspi/table.c (impl_getRowDescription): ditto.
2749 (impl_getColumnDescription): ditto.
2751 * libspi/libspi.h: add.
2753 2001-19-11 Michael Meeks <michael@ximian.com>
2755 * libspi/editabletext.c (impl_setAttributes): fix warnings.
2757 * libspi/component.c (accessibility_component_get_type):
2758 rename to (spi_component_get_type): and macroify.
2759 (accessibility_component_init): rename to
2760 (spi_component_init): this
2761 (accessibility_component_class_init): rename to
2762 (spi_component_class_init): this
2764 * libspi/action.c (spi_action_get_type): kill, use the macro.
2766 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
2769 * libspi/application.c (spi_application_object_event_listener),
2770 (impl_accessibility_application_register_object_event_listener):
2771 warning fixes / const understanding updates.
2773 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
2776 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2778 * libspi/spi_accessible.c: Added docs and C bindings for
2779 AccessibleStateSet. (No implementations yet). Documentation
2780 coverage for C bindings now 100%. Made docs for event listeners
2785 boolean notifyListenersSync (in DeviceEventListener listener,
2786 in DeviceEvent event);
2788 oneway void notifyListenersAsync (in DeviceEventListener listener,
2789 in DeviceEvent event);
2791 Added DeviceEventListener and DeviceEvent structs (may deprecate
2792 KeyStroke and KeystrokeListener in favor of this generic
2793 event/listener framework for devices).
2795 * libspi/deviceeventcontroller.c:
2797 Changed some key listener code to take masks, etc., and paved the
2798 way for integration of toolkit/non-preemptive key events. Changed
2799 signatures of some internal methods.
2801 * at-bridge/bridge.c:
2802 Fixed regression connecting to interface signals, apparently
2803 caused by GTK+ changes.
2805 Added an internal bridge_state_listener to deal with
2806 property-change:accessible-state signals.
2808 Changed the key_listeners GList to store structs (including masks,
2809 etc.) instead of just CORBA_Objects (required for full
2810 implementation of key listener API).
2812 Connected the bridge to all currently supported Atk signals.
2813 Events now supported:
2814 object:property-change
2815 object:property-change:accessible-name
2816 object:property-change:accessible-state
2817 object:property-change:accessible-description
2818 object:property-change:accessible-parent
2819 object:property-change:accessible-value
2820 object:property-change:accessible-role
2821 object:property-change:accessible-table-caption
2822 object:property-change:accessible-table-column-description
2823 object:property-change:accessible-table-column-header
2824 object:property-change:accessible-table-row-description
2825 object:property-change:accessible-table-row-header
2826 object:property-change:accessible-table-summary
2827 object:children-changed
2828 object:visible-data-changed
2829 object:selection-changed
2830 object:text-selection-changed
2832 object:text-caret-moved
2834 object:row-reordered
2836 object:column-inserted
2837 object:column-reordered
2838 object:column-deleted
2839 object:model-changed
2841 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2843 * libspi/hyperlink.c,h:
2844 Fixed some broken stuff in hyperlink.
2846 * libspi/relation.h:
2847 * libspi/relation.c:
2848 * cspi/spi_accessible.c:
2849 Initial implementations of AccessibleRelation methods, and docs.
2851 * libspi/accessible.c:
2852 Fixed a bug that caused SEGV if an accessible
2853 object's description is NULL, and a client
2854 requests it. An empty string is now returned.
2856 * cspi/spi_editabletext.c:
2857 * cspi/spi_hypertext.c:
2859 * cspi/spi_hyperlink.c:
2863 Doc coverage now 95%.
2865 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2867 One last namespacing revision:
2868 * libspi/accessibleeventlistener.[ch]:
2869 Renamed SpiAccessibleEventListener to SpiEventListener,
2870 (no need for two namespaces ;-)
2872 And lots of documentation fixes:
2874 * docs/at-spi-docs.sgml:
2875 Fixed 'underscore vs. hyphen' bug that was preventing
2876 the gtk-doc API docs from being automatically generated.
2879 * cspi/spi-listener.h
2881 * cspi/spi_accessible.c
2883 * cspi/spi_application.c
2884 * cspi/spi_component.c
2885 * cspi/spi_editabletext.c
2887 * cspi/spi_hypertext.c
2889 * cspi/spi_registry.c
2890 * cspi/spi_selection.c
2894 * docs/at-spi-docs.sgml
2895 * docs/at-spi-sections.txt
2897 Added and fixed up gtk-doc documentation in cspi.
2899 Interfaces now (fully) documented (subject to revision and enhancement):
2901 Event Listener Support
2903 AccessibleApplication
2907 AccessibleEditableText
2914 AccessibleRelationSet
2919 2001-14-11 Bill Haneman <bill.haneman@sun.com>
2921 * at-bridge/bridge.c:
2922 Initial work for toolkit-level key snooper connection by bridge.
2927 New typedefs and fixes to support new namespacing, and cleaner
2928 separation of cspi bindings from libspi bonobo implementation.
2929 Removed inconsistent and extraneous Spi* namespace prefix that
2930 had crept into cspi headers.
2931 Lots of comment fixes that sed had missed.
2933 * cspi/spi-roletypes.h:
2934 * cspi/spi-statetypes.h:
2935 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
2936 to AccessibleRoleType.
2938 * libspi/accessibleeventlistener.h:
2939 Fixed minor namespacing weirdness.
2941 * libspi/deviceeventcontroller.c:
2942 Reordered some internal API for device listeners.
2943 Changed the key registry final boolean to 'is_system_global'
2944 rather than 'is_synchronous', which is more descriptive of its
2946 Added spi_device_event_controller_new().
2947 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
2949 * libspi/keystrokelistener.[ch]:
2950 Namespaced KeystrokeListener to SpiKeystrokeListener.
2951 Changed uses of keymasks to use SPI_ prefix, and did other
2954 * libspi/keymasks.h:
2955 Namespaced keymask constants with SPI_ prefix.
2957 * libspi/registry.c:
2958 Some warning fixes, and knock-on fixes from namespace changes.
2961 Added rules for accessx-gui test program.
2963 * test/accessx-gui.c:
2964 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2965 utility. It doesn't actually use at-spi, but it's still cool and
2968 * test/keysynth-demo.c:
2972 Fixes so that these test clients work properly with the namespaced
2973 libraries. (Incompletely tested for technical reasons, fixes may follow)
2976 2001-13-11 Michael Meeks <michael@ximian.com>
2978 * libspi/application.c
2979 (impl_accessibility_application_get_version),
2980 (impl_accessibility_application_get_toolkit_name):
2982 (impl_accessibility_application_set_id),
2983 (impl_accessibility_application_get_id): remove
2984 redundant casting code.
2986 * libspi/action.c (impl_getDescription): fix warnings.
2988 * libspi/accessible.c
2989 (impl_accessibility_accessible_get_parent),
2990 (impl_accessibility_accessible_get_child_at_index),
2991 (impl_accessibility_accessible_get_state),
2992 (impl_accessibility_accessible_get_relation_set):
2993 warning fixes & include action.h
2995 2001-13-11 Michael Meeks <michael@ximian.com>
2997 * *.[ch] fix bits I screwed up:
2999 s/([^ \tb(\*\&\?\",])spi_/\1/g;
3000 s/([^ \tb(\*\&\?\",])Spi/\1/g;
3002 2001-13-11 Michael Meeks <michael@ximian.com>
3004 * *.[ch] Namespace libspi into spi_ and Spi.
3006 2001-13-11 Michael Meeks <michael@ximian.com>
3008 * Makefile.am: dist & install at-spi-1.0.pc
3010 * libspi/Makefile.am: install into at-spi-1.0
3012 * idl/Makefile.am (idldir): install into at-spi-1.0
3014 * at-spi-1.0.pc.in: add.
3016 * configure.in: build it.
3018 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3020 * test/keysynth-demo.c:
3021 Use a 'realize' signal-handler to set the WM properties for
3022 the virtual keyboard, rather than making it a "POPUP" type
3023 override-redirect window (thanks to anders carlsson for that
3026 2001-11-11 Bill Haneman <bill.haneman@sun.com>
3029 * test/keysynth-demo.c:
3030 Added new test of key synthesis, which creates a simple
3031 (mouse-operated) onscreen keyboard. It inserts key events into
3032 the currently-focused window, thus it does not grab keyboard focus
3035 * cspi/spi_registry.c:
3036 Added C binding for AT-SPI generateKeyEvent.
3038 * libspi/deviceeventcontroller.c:
3039 Added call to XFilterEvent so that key listener works with XIM (we
3040 hope). Added event_synth_type to generateKeyEvent, so that we can
3041 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
3042 synthesize a press/release pair for KeySyms.
3044 2001-11-09 Bill Haneman <bill.haneman@sun.com>
3046 * libspi/Makefile.am:
3047 * registryd/Makefile.am:
3048 (temporary) hack to include libXtst in libspi and registryd.
3049 (Needed for keystroke synthesis, see below).
3052 Improved API for registerKeystrokeListener, in accordance with
3053 discussions with Gnopernicus team and X server research.
3055 * libspi/registry.c:
3056 * libspi/deviceeventcontroller.c:
3057 * libspi/accessible.c:
3058 * libspi/keystrokelistener.c:
3059 Changes and fixes to support keylisteners for potentially
3060 consumed key events (that is, 'passive grabs').
3061 Added implementation for generateKeyEvent() [untested].
3064 Changes to registerKeystrokeListener() API, as above.
3065 Added deregisterGlobalEventListenerAll(), and
3066 deregisterKeystrokeListener(), which are needed for clean exit of
3068 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
3069 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
3071 * cspi/spi_registry.c:
3072 Added implementations of function prototypes mentioned above.
3074 * registryd/registryd.c:
3075 Added the key listener event source as a g_timeout(), to allow
3076 receipt of key events that are not caught by GDK (since GDK
3077 doesn't support passive keygrabs, this was necessary).
3080 Changed to attach a keylistener to 'Alt' keys, and
3081 respond to the following keycommands: Alt-M (toggle magnifier);
3082 Alt-F (toggle speech); Alt-Q (quit).
3083 Added an exit routine to deregister the listeners, and a key
3084 listener that prints some key info to the console when a key
3085 matches the listener mask (and is thus received by the listener).
3087 * util/idl/Magnifier.idl:
3088 Changes to magnifier API to support multiple zoom regions,
3089 non-uniform scaling in x and y, markDirty, and a host of other
3090 features that would be useful to magnification.
3093 * util/mag_client.c:
3094 * util/mag_client.h:
3095 * util/mag_control.c:
3097 Source code changes to support the above IDL changes.
3100 As above, and also changes to use a (slower) generic conversion
3101 path for colormap conversions, since the fast RGB conversions have been
3102 reported to fail for 16-bit displays.
3104 2001-10-26 Michael Meeks <michael@ximian.com>
3106 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
3108 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
3110 * at-bridge/Makefile.am: fix LDFLAGS.
3112 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
3114 * at-bridge/bridge.c:
3115 Re-worked listeners for toolkit events, now we have signal
3116 and property listeners. Added a private method
3117 register_atk_event_listeners(), which registers with the
3118 various atk and gtk signals we need to monitor in order to emit
3120 Added emission hook for AtkObject:property-change events, to
3121 support the 'property listeners'.
3122 Fixed some alloc()s of Accessibility_Event structs to use CORBA
3125 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
3126 which emit warnings and exit, respectively, if CORBA errors occur
3127 during remote calls, and we now use these methods to check most of
3128 our CORBA calls in the C bindings.
3130 * cspi/spi_accessible.c:
3131 Changed AccessibleSelection_refSelectedChild() to
3132 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
3133 now increment refcounts.
3135 * cspi/spi_component.c:
3136 Fixed some long pointer casts (dangerous!) to pass pointers to
3137 CORBA_longs of the proper type to the CORBA stubs, and copy the
3138 data into the longs that were passed into the C bindings code.
3140 * at-bridge/bridge.c:
3142 * libspi/accessible.c:
3143 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
3144 hyperlinks, AtkHyperlink is an object type.
3146 * libspi/application.c:
3147 Added various conversions to and from "generic" event types and
3148 atk-specific types; this is really part of the 'bridge'
3149 implementation but is valid for all AtkObject-based accessibility
3152 * libspi/editabletext.c:
3153 Fixed nasty bug wherein editable text's finalize method was
3154 unref'ing tha AtkObject reference that the text parent class was
3155 about to unref _again_. There was also a nasty inheritance bug
3156 that meant that the AccessibleEditableText class was corrupt.
3158 * libspi/selection.c:
3159 Provided implementations for some selection API that was broken.
3161 * idl/Application.idl:
3162 Added registerObjectEventListener () method.
3165 Fixed a number of return values that were Bonobo_Unknowns from
3166 bonobo_object_corba_objref(), which I
3167 forgot to dup before returning. Changed instances of
3168 bonobo_object_corba_objref (bonobo_object(o)) to
3169 BONOBO_OBJREF(o), for concision and clarity.
3171 <2001-10-13 Louise Miller <louise.miller@sun.com>
3173 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
3174 idl/Event.idl, idl/Registry.idl
3175 Changed these files to include Bonobo_Unknown.idl instead
3178 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
3180 * libspi/component.c libspi/component.h:
3181 Fixed typo. Added assertions for object checks in
3182 AccessibleComponent code.
3184 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
3186 * idl/Accessible.idl:
3187 Added 'isEqual (Accessible *object)'
3188 method for Accessible. (Not Yet Implemented).
3191 Changed signature of registerKeystrokeListener() to
3192 take a KeySet and KeyEventSeq so that specific keys and event
3193 types could be requested for monitoring, and added a flag
3194 is_synchronous so that either synchronous or asynchronous
3195 notification could be requested. (However this is not all
3196 implemented yet). This also meant adding two new typedefs,
3197 KeyEventSeq and KeySet.
3200 Added two new relations, RELATION_TOOLTIP_FOR and
3201 RELATION_LEAFNODE_OF.
3204 Added new state, STATE_HAS_TOOLTIP.
3206 * libspi/text.c, editabletext.c:
3207 Added new assertions to all casts of bonobo-objects from
3208 CORBA servants, to prevent Text API calls on non-text objects.
3209 Changed suspect casts of int-pointer types, so that we
3210 always send a valid CORBA_long pointer to the CORBA APIs that use
3211 in/out long parameters. We then have to copy from the CORBA_long
3212 into the regular long or int for return to the C bindings, or
3213 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
3216 * libspi/deviceeventcontroller.c:
3217 Cleaned these sources up.
3219 Changed return type for getCharacterAtOffset to
3220 CORBA_unsigned_long, to allow for 32-bit characters.
3223 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
3227 Fixed 'make dist' so that distro compiles...
3228 * libspi/keymasks.h:
3230 * cspi/spi-listener.c:
3231 KeystrokeListenerCB now returns a boolean.
3233 Added KeyEventType struct, and KeyStroke.
3234 Also added createKeystrokeListener(),
3235 KeystrokeListener_addCallback(),
3236 KeystrokeListener_removeCallback(), and added a keymask to
3237 registerKeystrokeListener().
3238 * cspi/spi_accessible.c:
3239 Changed numerous return types for interfaces from
3240 AccessibleComponent to Accessible<InterfaceName>; this was
3241 probably a cut-and-paste error.
3243 Implementations of new KeystrokeListener api (from spi.h,
3246 Changes to key modifier mapping.
3247 Created ControllerEventMask struct.
3248 Made DeviceEventController derive from Bonobo::Unknown.
3250 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3251 * libspi/deviceeventcontroller.c:
3252 Added a number of new internal (private) methods.
3253 * libspi/editabletext.c:
3254 * libspi/editabletext.h:
3255 Fixed a number of bugs related to the fact that
3256 editabletext inherits from text. Fixed the EditableText struct,
3257 the init() call, and use correct casts when calling Text methods
3258 from an EditableText object. Removed (duplicate) atko from the
3259 EditableText structure, we use the one in the parent Text
3260 structure via the casts mentioned above.
3261 * libspi/keystrokelistener.[ch]:
3262 * libspi/registry.c:
3263 Changes in support of keyboard handling (above).
3265 Keyboard handling, though partly functional, is still not
3266 recommended for at-spi client use as there is considerable
3267 work yet to be done.
3270 Changed some places where pointers to various int types
3271 are cast to be pointers to CORBA_long types and vice-versa:
3272 pointer casting is not safe so we pass pointers of the correct
3273 types and then cast the result before putting it into the target
3276 * libspi/text.h: minor typos corrected.
3278 We now speak not only the name of a Text element, but the
3279 first sentence of its content, when it receives focus.
3280 I also changed the text compression to 75% from 50%.
3281 * util/Accessibility_Util.server.in:
3282 Changed the default magnifier type to be a 3x vertical
3283 splitscreen magnifier (was previously a 2x horizontal one).
3285 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
3287 * libspi/keystrokelistener.h:
3288 * libspi/keystrokelistener.c:
3289 Initial functional implementations of KeystrokeListener.
3292 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3294 Fixed string handling for NULL strings in libspi.
3295 Added spi_freeString to free strings returned by C bindings.
3297 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
3299 * libspi/keystrokelistener.h:
3300 * libspi/keystrokelistener.c:
3301 Began (no-op) implementations of KeystrokeListener
3303 * libspi/deviceeventcontroller.c:
3304 * libspi/deviceeventcontroller.h:
3305 Began creating implementations of DeviceEventController,
3306 to handle keystroke and mouse event listening and
3308 * libspi/accessible.c:
3309 Stubbed-in the implementations for
3310 Accessibility_Accessible_getState and
3311 Accessibility_Accessible_getRelationSet.
3312 * libspi/registry.c:
3313 Improved de-registration process and fixed some bugs,
3314 deregistration now works correctly.
3316 Added initialization of applications list (to NULL).
3318 Reduced speech compression from 0.5 to 0.7, for demo.
3319 Changed call to gdk_window_set_decorations()
3320 to gtk_window_set_decorated().
3321 * at-bridge/bridge.c:
3322 Bridge now deregisters when app exits, via
3323 registration of a cleanup function
3324 with the g_atexit() call.
3325 Required making 'app' static, renamed 'this_app'.
3326 Fixed broken use of bonobo_init, passing argv wrongly.
3328 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
3332 Created a new directory for
3333 accessibility-related utilities, primarily for
3334 testing and demo purposes, but with possible
3341 Onscreen magnifier utility that
3342 is implemented as a bonobo service.
3344 * util/mag_client.c:
3345 * util/mag_client.h:
3346 Client-side support (simple C bindings)
3347 for Magnification service
3349 * util/mag_control.c:
3350 Client program example for
3351 Magnification service
3353 * util/Accessibility_Magnifier.server.in:
3354 Bonobo-activation file for the
3355 Magnification service.
3358 * util/idl/Magnifier.idl:
3359 IDL defining the bonobo Magnification
3363 Modifications to use the bonobo-activated magnifier
3364 above, in place of trying to connect to an existing
3365 magnifier that uses socket-listening IPC.
3367 If env variable MAGNIFIER is set, a magnifier service
3368 will be started if one does not exist.
3370 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
3371 * at-bridge/bridge.c:
3372 applied patch from Marc to build and run
3373 against new glib and gtk+ (seemed like a change
3374 to bonobo_init signature was made ?)
3376 made festival-server support turned off by default.
3377 Added support for a simple magnifier (off by default)
3378 which will be added to a 'util' directory later.
3379 * at-bridge/Makefile.am:
3380 Changed "application.h" header from a 'source'
3381 to a 'dependency' of libat-bridge.
3383 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3391 Added interface implementation c files to list of
3392 includes so they are included in libcspi.
3395 Changed prototype of AccessibleAction_doAction to return a
3397 Changed prototype of AccessibleTable_getCaption to
3398 return an Accessible.
3399 Changed prototype of AccessibleTable_getSelectedRows
3400 and AccessibleTable_getSelectedColumns to
3401 return a long (returns the number of selected rows
3402 or columns respectively).
3403 Changed name of AccessibleText_refRunAttributes to
3404 AccessibleText_getAttributes.
3405 Changed prototype of AccessibleText_getCharacterExtents to
3406 return a void rather than a boolean.
3407 Added support for a AccessibleCoordType parameter
3408 specifying what type of coordinates are desired.
3409 Added an AccessibleCordType parameter to
3410 AccessibleText_getPointAtOffset.
3412 * cspi/spi_accessible.c:
3413 Added code to return the outstanding interfaces from
3414 Accessible_queryInterface.
3416 * cspi/spi_action.c:
3418 Corrected call to getNActions to call the c binding
3421 * cspi/spi_editabletext.c:
3423 Changed name from setRunAttributes to setAttributes.
3425 * cspi/spi_hyperlink.c:
3427 Changed call to getNAnchors to correctly call the c
3428 binding for an attribute.
3430 * cspi/spi_hypertext.c:
3432 Changed getImageDescription to correctly call the
3433 binding for an attribute.
3435 * cspi/spi_selection.c:
3436 Changed getNSelectedChildren to correctly call the c
3437 binding for the attribute.
3438 Changed refSelectedChild to getSelectedChild.
3442 Changed getCaption to return an Accessible.
3443 Fixed calls which retrieve attributes.
3444 Changed refAt to getAccessibleAt.
3445 Changed getNSelectedRows and getNSelectedColumns to
3449 Changed getCharacterExtents and getPointAtOffset to accept an
3450 AccessibleCoordType.
3452 Changed calls which retrieve attributes.
3453 Changed refRunAttributes to getAttributes.
3458 * idl/Hyperlink.idl:
3459 Changed n_anchors attribute to nAnchors to keep naming
3460 convention consistent.
3463 Made Table inherit from Bonobo::Unknown.
3464 Added nSelectedColumns and nSelectedRows attributes.
3467 Made Value inherit from Bonobo::Unknown.
3469 * libspi/hyperlink.c:
3470 Change for nAnchors attributte name change.
3472 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3480 Added interface implementation c files to list of
3481 includes so they are included in libcspi.
3484 Changed prototype of AccessibleAction_doAction to return a
3486 Changed prototype of AccessibleTable_getCaption to
3487 return an Accessible.
3488 Changed prototype of AccessibleTable_getSelectedRows
3489 and AccessibleTable_getSelectedColumns to
3490 return a long (returns the number of selected rows
3491 or columns respectively).
3492 Changed name of AccessibleText_refRunAttributes to
3493 AccessibleText_getAttributes.
3494 Changed prototype of AccessibleText_getCharacterExtents to
3495 return a void rather than a boolean.
3496 Added support for a AccessibleCoordType parameter
3497 specifying what type of coordinates are desired.
3498 Added an AccessibleCordType parameter to
3499 AccessibleText_getPointAtOffset.
3501 * cspi/spi_accessible.c:
3502 Added code to return the outstanding interfaces from
3503 Accessible_queryInterface.
3505 * cspi/spi_action.c:
3507 Corrected call to getNActions to call the c binding
3510 * cspi/spi_editabletext.c:
3512 Changed name from setRunAttributes to setAttributes.
3514 * cspi/spi_hyperlink.c:
3516 Changed call to getNAnchors to correctly call the c
3517 binding for an attribute.
3519 * cspi/spi_hypertext.c:
3521 Changed getImageDescription to correctly call the
3522 binding for an attribute.
3524 * cspi/spi_selection.c:
3525 Changed getNSelectedChildren to correctly call the c
3526 binding for the attribute.
3527 Changed refSelectedChild to getSelectedChild.
3531 Changed getCaption to return an Accessible.
3532 Fixed calls which retrieve attributes.
3533 Changed refAt to getAccessibleAt.
3534 Changed getNSelectedRows and getNSelectedColumns to
3538 Changed getCharacterExtents and getPointAtOffset to accept an
3539 AccessibleCoordType.
3541 Changed calls which retrieve attributes.
3542 Changed refRunAttributes to getAttributes.
3547 * idl/Hyperlink.idl:
3548 Changed n_anchors attribute to nAnchors to keep naming
3549 convention consistent.
3552 Made Table inherit from Bonobo::Unknown.
3553 Added nSelectedColumns and nSelectedRows attributes.
3556 Made Value inherit from Bonobo::Unknown.
3558 * libspi/hyperlink.c:
3559 Change for nAnchors attributte name change.
3562 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
3564 implementations-- made server implementations own AtkObject pointers
3565 rather than their respective AtkInterrface pointers to fix
3566 refcounting. AtkHyperlink is still broken.
3568 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
3569 * cspi/spi_accessible.c:
3570 Added method Accessible_Role_getName(),
3571 and requisite string array (role_names).
3572 Added conversion string_from_corba_strin() call
3573 to Accessible_getName and _getDescription.
3574 * libspi/accessible.c:
3575 Added implementation for Accessible_getRole()
3577 Added festival support, used if environment variable
3580 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3582 * at-bridge/bridge.c:
3583 Now allocate Accessibility_Event using
3584 Accessibility_Event__alloc() instead of g_new0().
3585 * libspi/accessibleeventlistener.c:
3586 Initialize AccessibleEventListener->callbacks to NULL.
3587 Fixed accessible__event_listener_init() param, changed to
3588 "AccessibleEventListener *" type.
3589 Changed a bonobo_object_release_unref() call to
3590 Accessibility_Accessible_unref().
3591 * libspi/listener.c:
3592 Changed Bonobo_Unknown_unref to (equivalent)
3593 Accessibility_Accessible_unref.
3594 * libspi/registry.c:
3595 Changed bonobo_object_release_unref to
3596 Accessibility_Accessible_unref.
3598 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3601 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
3602 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
3603 spi-util.c spi-util.h
3604 Implementations for C bindings to remaining accessibility
3607 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3610 changed return value of Action from void to boolean to
3611 bring in line with ATK.
3614 Changed getText funcions to return "out" start and end offsets.
3615 Changed getAttributes to take and offset and return the start
3616 and end offset of the attribute run.
3617 Changed getOffsetAtPoint and getCharacterExtents to take an
3618 enum describing whether coordinates are window or screen.
3621 libspi/action.c libspi/action.h libspi/editabletext.c
3622 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
3623 libspi/hypertext.c libspi/hypertext.h libspi/image.c
3624 libspi/image.h libspi/selection.c libspi/selection.h
3625 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
3626 libspi/value.c libspi/value.h
3627 Added server implementations for outstanding ATK interfaces
3628 not yet implemented.
3630 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3633 Added (missing) getName() method.
3634 Made nActions an attribute.
3635 * idl/EditableText.idl:
3636 Changed order of params in setAttributes.
3637 * idl/Hyperlink.idl:
3638 Removed getAnchor, added getURI.
3640 Changed attributes to methods, for efficiency
3641 (so that getting extents can be done in one call)
3642 * idl/Selection.idl:
3643 Changed nSelectedChildren to attribute, and re-indented.
3644 * idl/Table.idl: changed nrows, ncolumns, caption, summary
3646 * idl/Text.idl: reformatted to match our coding style.
3647 (temporarily?) removed getRowColumnAtOffset().
3648 Changed text selection API to support multi-select and
3649 non-contiguous selections, as in ATK.
3650 * idl/Value.idl: changed some methods to attributes.
3652 2001-08-24 Mark McLoughlin <mark@skynet.ie>
3654 * libspi/listener.c(impl_notify_event):
3655 BonoboUnkown_unref the source instead
3656 of bonobo_object_release_unref - the ORB
3657 handles the releasing.
3659 * configure.in: require ORBit-2.3.94 for
3662 2001-08-21 Bill Haneman <bill.haneman@sun.com>
3664 Tagged CVS repository 'EA_1_0'.
3665 * README.EARLY_ACCESS:
3666 Alphabetized acknowledgements list, and
3668 Listed some known dependencies of at-spi.
3670 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3672 * docs/at-spi-docs.sgml:
3673 * docs/at-spi-sections.txt:
3674 * docs/at-spi-overrides.txt: (Added zero-length file)
3675 Documentation improvements - gtk-doc should build
3676 docs for all implemented C bindings now.
3679 * cspi/spi.c: (New file)
3680 * cspi/spi_event.c: (New file)
3681 * cspi/spi_registry.c: (New file)
3682 * cspi/spi_accessible.c: (New file)
3683 * cspi/spi_application.c: (New file)
3684 * cspi/spi_component.c: (New file)
3685 Split spi_main.c into six parts, and included them from
3686 "spi.c". This is a bit of a hack, probably temporary,
3687 but required by gtk-doc, apparently.
3689 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3692 * docs/at-spi-docs.sgml:
3693 * docs/at-spi-sections.txt:
3695 Initial checkins/modifications for gtk-doc generation.
3698 Added (missing) interface query methods to Accessible's C binding.
3700 Added GenericInterface type definition.
3702 Added query for AccessibleComponent interface to focus event handler.
3703 Added printout of bounding box for focussed component.
3704 * libspi/component.c:
3705 Added partial implementation for AccessibleComponent to C binding.
3706 * idl/Application.idl:
3707 * libspi/registry.c:
3708 * libspi/listener.c:
3709 * libspi/application.c:
3710 * libspi/application.h:
3711 Changed "ID" attribute type from string to long.
3713 2001-08-19 Bill Haneman <bill.haneman@sun.com>
3717 Made method naming consistent: methods taking object args
3718 start with uppercase, other methods (except those using
3719 acronyms) start with lowercase. Underscores delimit between
3720 object names and method names:
3721 SPI_init() - uppercase since it starts with an acronym.
3722 getDesktopCount () - lowercase start since no object param0.
3723 Accessible_getName() - uppercase object type name, studlyCaps method
3727 Added gtk-doc documentation for all currently implemented
3728 methods in the C bindings API.
3730 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3732 * Makefile.am : changed build order to build test last.
3735 Changed "createEventListener" to "CreateEventListener".
3736 * libspi/accessibleeventlistener.c :
3737 Bugfix for addition of callbacks.
3738 * test/Makefile.am :
3739 * test/simple-at.c :
3740 Added new test that uses the C bindings API.
3742 * libspi/listener.c :
3743 * libspi/registry.c :
3744 * libspi/accessibleeventlistener.c :
3745 * at-bridge/bridge.c :
3746 Renamed member "target" of Accessibility_Event to "source",
3747 which is more descriptive.
3750 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3754 * cspi/Makefile.am :
3755 Added makefile support for at-spi/cspi directory.
3758 * cspi/spi-listener.h : (NEW FILE)
3759 Added support for/use of spi-listener.h.
3761 C bindings now build successfully, with no warnings.
3762 * libspi/accessibleeventlistener.h : (NEW FILE)
3763 * libspi/accessibleeventlistener.c : (NEW FILE)
3764 * libspi/Makefile.am :
3765 Added new object type "AccessibleEventListener"
3766 which inherits from Listener, and allows attachment
3767 of in-process callbacks (so that a client with a listening
3768 object instance can add functionality to the local
3769 implementation, dynamically).
3771 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3773 * libspi/accessible.c:
3774 Add implementation for get_index_in_parent().
3776 Added #include of "spi-roletypes.h", and
3777 added enumerated type AccessibleCoordType.
3778 Added definition for KeystrokeListener (function type).
3781 * cspi/spi-statetypes.h :
3782 * cspi/spi-roletypes.h :
3784 Added these headers, used by spi.h.
3786 Added code (NOTE: not yet built by make).
3788 2001-08-18 Mark McLoughlin <mark@skynet.ie>
3790 * libspi/Makefile.am: generate imodule
3791 at the same time as other idl compiler
3794 2001-08-17 Bill Haneman <bill.haneman@sun.com>
3795 * libspi/registry.c :
3796 * libspi/application.c :
3797 * idl/Application.idl :
3798 Made registration with toolkit an application method,
3799 which is required since each app has its own toolkit static
3800 environment. Thus the bridge must register for
3801 notification of toolkit events from each application in turn.
3802 Toolkit notifications are now successfully registered for, and
3803 sent to the listening at client.
3805 Changed toolkit event string to use hyphens rather than underscores.
3806 * libspi/listener.c :
3807 listner now gives more info in debug mode - it reports the
3808 name of the event received, as well as the name of the source.
3811 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3813 * libspi/registry.c :
3814 added more implementation for toolkit events.
3815 Fixed bug such that toolkit event registrations
3816 (via atk) use the whole event name string, not
3818 Removed a useless call to an ORBit_ method.
3819 * at-bridge/bridge.c :
3820 Removed unused local sbuf[] variable.
3822 We now register for Gtk:GtkWidget:button_press_event
3823 events as well as "focus:" events.
3825 Add some more API from Registry.idl that was missing,
3826 for keystroke listening, keystroke and mouse event
3827 synthesis, and enumeration of accessible desktops.
3829 2001-08-16 Michael Meeks <michael@ximian.com>
3831 * configure.in: use AM_GLIB_GNU_GETTEXT.
3833 * Makefile.am (SUBDIRS): kill intl.
3835 2001-08-15 Michael Meeks <michael@ximian.com>
3837 * registryd/Makefile.am: s/oaf/server/ relocate info file.
3839 * configure.in: upd.
3841 * configure.in: depend on a recent bonobo-activation that
3842 will find our server files ...
3844 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3846 * libspi/accessible.c : accessible_new() :
3847 Now we add the Component interface via bonobo_object_add_interface,
3848 if the contained AtkObject implements AtkComponent.
3849 * libspi/accessible.h : now include "component.h"
3850 * libspi/component.h :
3851 * libspi/component.c : added files - implementation of
3852 bonobo wrapper object for Accessibility/Component
3853 * libspi/listener.c :
3854 Added test code to check for Accessibility/Component:1.0
3855 interface and report whether it is implemented by the
3857 * libspi/registry.c :
3858 Now we check for not only the hash of the whole event
3859 string before relaying the event, we also check the
3860 "minor" event string (without the detail string).
3861 This allows event listeners to be registered against
3862 all events of a certain major+minor type, or just
3863 against a specific major+minor+detail type.
3864 * libspi/accessible.c :
3865 Added implementations for Accessible:get_parent(),
3866 Accessible:getChildCount(), and Accessible:getChildAtIndex().
3867 * libspi/registry.c :
3868 * libspi/listener.c :
3869 Replaced calls to Accessibility_Accessible_ref() and
3870 Accessibility_Accessible_unref() with
3871 calls to bonobo_object_dup_ref() and
3872 bonobo_object_release_unref(), so that the CORBA object
3873 is dup-ed and released when relayed, as well as the bonobo object.
3875 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3877 * libspi/Makefile.am,
3878 registryd/Makefile.am,
3879 at-bridge/Makefile.am.
3880 test/Makefile.am, configure.in:
3881 reverse previous changes.
3883 * /idl/Image.idl: fix typo.
3885 * test/Makefile.am: put DEBUG_FLAGS
3888 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3890 * test/app.c: use argv[0] instead of
3893 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3895 * libspi/Makefile.am,
3896 registryd/Makefile.am,
3897 at-bridge/Makefile.am.
3898 test/Makefile.am, configure.in:
3899 cleanup, replace individual LIBS/CFLAGS with
3900 AT_COMMON_{LIBS|CFLAGS}.
3904 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3906 * configure.in, libspi/Makefile.am:
3907 Change IDL path checking for bonobo-activation
3910 2001-08-15 Bill Haneman <bill.haneman@sun.com>
3912 * registryd/registry.c : separated event listeners to use
3913 3 separate lists (focus, window, toolkit). Began testing
3914 event names against hashes before relaying events.
3915 * test/at.c : now register for events of type "focus:"
3916 * test/app.c : now generate events of type "focus:"
3917 * at-bridge/bridge.c : register with ATK for focus events,
3918 and we now relay those focus events to any "focus:" listeners.
3919 This now works with the bridge as a GTK_MODULE when running test/at.
3920 * libspi/registry.c :
3921 * libspi/listener.c :
3922 now we ref event sources before propagating, and unref on receipt.
3923 * libspi/registry.c :
3924 some changes to internal structs, to support event typestring hashes.
3925 * text/app.c : changed the way the appname is generated.
3926 * cspi : added directory that will hold the C bindings library for
3927 non-CORBA/bonobo-savvy clients.
3928 * cspi/spi.h : header file that contains the function prototypes for the C binding.
3929 * idl/Component.idl : added in parameter to indicate coord system for
3930 geometry-related calls.
3931 * idl/Hyperlink.idl : added readonly n_links attribute
3932 * idl/Image.idl : changed methods to attributes.
3934 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3936 * at-bridge/Makefile.am: link against
3937 ../libspi/libspi.la instead of -lspi.
3939 * at-spi/test/app.c: include
3940 bonobo-activation.h. Use a default appname
3941 if one is not provided.
3943 2001-08-14 Bill Haneman <bill.haneman@sun.com>
3945 * idl/Registry.idl : temporarily changed register_Application
3946 to oneway, to work around issue with initial registration
3948 * idl/Application.idl : changed attribute "id" from readonly
3949 to read-write, since it needs to be assigned by Registry.
3950 * registryd/registryd.c : added call to set application id
3952 * registryd/registry.c : changed de-registration procedure to
3953 use CORBA_Object_hash() to find matching object ref in application
3954 lists and listener lists.
3955 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
3956 began distinguishing between event types (work in progress).
3958 2001-08-13 Bill Haneman <bill.haneman@sun.com>
3961 * libspi/application.c:
3962 Added implementations for get/set id, get_toolkitName,
3964 * registryd/registryd.c :
3968 Converted from use of OAF to bonobo-activation.
3969 * libspi/desktop.h :
3970 * libspi/desktop.c :
3972 Removed references to atksimpleobject, since base atkobject
3973 implementation now provides functionality we need.
3974 * libspi/atksimpleobject.c :
3975 * libspi/atksimpleobject.h :
3980 * at-bridge/Makefile.am
3981 * at-bridge/bridge.c
3984 Added directory "bridge" and contents, and added dependencies
3985 in Makefile.am/configure.in.
3986 Initial checkin of "at-bridge".
3987 This code is a GTK_MODULE which automatically registers
3988 GTK+ apps with the accessibility registry, using an object
3989 reference to the root ATK object.
3991 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3993 * po/Makefile.in.in: Remove. Again. If this
3994 doesn't get autogenerated - you need to update
3997 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3999 * po/Makefile.in.in: Add. Again.
4001 2001-07-31 Bill Haneman <bill.haneman@sun.com>
4003 * libspi/accessible.c : added support for 'description' property.
4004 * libspi/accessible.c
4006 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
4007 (since the two are now equivalent in libbonobo)
4015 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
4016 Bonobo::Unknown as does Accessibility::Accessible.
4017 * idl/StreamableContent.idl : as above, and replaced internal InputStream
4018 interface with Bonobo::Stream, since it was redundant with it.
4019 (The Stream returned by a StreamableContext object is expected to
4020 implement only a subset of Bonobo::Stream)
4022 2001-07-28 Anders Carlsson <andersca@gnome.org>
4024 * libspi/accessible.c (accessible_object_finalize): Change
4025 g_free to g_object_unref since the AtkObject is a GObject.
4027 2001-07-30 Bill Haneman <bill.haneman@sun.com>
4029 * idl/Accessibility.idl: add new IDL files
4032 * idl/Action.idl: Definitions of actionable UI object
4033 * idl/Component.idl: Definitions of UI component geometry, etc.
4034 * idl/Hyperlink.idl: Defs of hyperlink behavior
4035 * idl/Image.idl: Def of accessible image
4036 * idl/Selection.idl: Definition of UI object with selectable children
4037 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
4038 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
4039 * idl/Text.idl: Interface defs for UI elements with complex textual content
4040 * idl/Value.idl: Definition of UI element that is a value controller or display
4042 2001-07-27 Michael Meeks <michael@ximian.com>
4044 * po/Makefile.in.in: remove autogenerated file from CVS.
4046 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
4049 * idl/Registry.idl: include guard.
4051 * idl/Accessibility.idl: Add, and include all the other IDL
4054 * idl/*.idl: remove mass of pragmas etc.
4056 2001-07-26 Michael Meeks <michael@ximian.com>
4058 * registryd/Makefile.am (registryd_SOURCES): remove
4061 2001-07-27 Mark McLoughlin <mark@skynet.ie>
4063 * libspi/.cvsignore, registryd/.cvsignore,
4064 test/.cvsignore: updated.
4066 * po/Makefile.in.in: gettext update.
4068 2001-07-25 Bill Haneman <bill.haneman@sun.com>
4070 * initial CVS checkin
4072 2001-06-29 Michael Meeks <michael@ximian.com>
4074 * configure.in: add AM_CONFIG_HEADER to gen config.h