1 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3 * test/screen-review-test.c:
4 (text_chunk_get_clipped_string):
5 We now check to see if words fall within clip bounds
6 before resorting to character-by-character clip bounds testing.
8 * TODO: Added a section for "2.2 Proposed API Additions".
10 2002-05-21 Bill Haneman <bill.haneman@sun.com>
12 * test/screen-review-test.c:
14 Added a screen review benchmarking and test program to test
17 * cspi/spi_accessible.c:
19 Made some of the debug strings passed to cspi_check_ev a
22 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
24 * test/screen-review-test.c: Fix crashes in debug statements
26 2002-05-20 Bill Haneman <bill.haneman@sun.com>
28 * test/screen-review-test.c: Added this file.
30 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
32 * atk-bridge/bridge.c: changed "object:state-change" to
33 "object:state-changed" to match docs.
35 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
37 * atk-bridge/bridge.c: Hooked up state-change event details.
39 2002-05-11 Bill Haneman <bill.haneman@sun.com>
41 * registryd/registry.c:
42 Fixed quarking bug in event string parsing; now events with
43 detail parameters get matched correctly to listeners.
46 * util/idl/Magnifier.idl: remove.
48 * util/*.[ch]: Remove.
49 Magnification utilities and IDL are now in module gnome-mag.
51 2002-05-10 Bill Haneman <bill.haneman@sun.com>
53 * registryd/deviceeventcontroller.c:
54 Fixed bug in grab key conversion which was causing keycode grabs
55 to be converted to AnyKey grabs.
58 updated NEWS file to reflect recent spin-off of gnome-mag.
60 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
62 * cspi/spi_accessible.c: Added exception checks. Fixed completely
63 busted AccessibleStateSet_compare. Removed redundant casts.
65 * cspi/spi-action.c: Removed redundant casts.
67 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
69 * cspi/spi_component.c: Fixed typos and casting error.
71 * cspi/spi_editabletext.c: Removed redundant casts.
73 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
75 * cspi/spi_hypertext.c: Eliminated redundant casts.
77 * cspi/spi_image.c: Eliminated redundant casts.
79 * cspi/spi_registry.c: Eliminated redundant casts.
80 SPI_deregisterGlobalEventListenerAll () removed retval variable.
81 * cspi/spi_selection.c: Removed redundant casts.
82 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
83 handling. Screen geometry and text offsets were being returned as 0
84 on error which is technically valid-- changed these to return -1.
85 Added marshaller for text boundary types to fix bug with boundary
86 types being passed incorrectly to atk.
88 2002-05-09 Bill Haneman <bill.haneman@sun.com>
91 * cspi/spi_registry.c:
92 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
93 which was uncovered by the recent key changes.
95 2002-05-09 Bill Haneman <bill.haneman@sun.com>
97 * test/event-listener-test.c:
99 Added new test, "event-listener-test";
100 this code does two things; it benchmarks traversal time
101 for the accessible hierarchy for the first running accessible
102 app, and it connects listeners for all supported event types.
103 It is thus useful as an example event listener and for
104 diagnostics/debugging of event generation.
106 2002-05-08 Bill Haneman <bill.haneman@sun.com>
109 Removed unnecessary dependency on libutil.
112 Revved micro version: 0.13.1
114 2002-05-08 Bill Haneman <bill.haneman@sun.com>
117 Removed util/Makefile from targets.
120 Removed util subdir from SUBDIRS (temporarily,
121 pending removal of magnifier-only code
125 #ifdef-ed out magnifier dependencies, since
126 magnifier IDL, headers, and binary now live in
127 module gnome-mag and we don't want at-spi to depend
128 on gnome-mag. A magnifier demo which can run alongside
129 simple-at is forthcoming in the gnome-mag module.
131 NOTE: Split magnifier binary, IDL, and magnification
132 activation code from at-spi into module gnome-mag.
134 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
136 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
137 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
139 2002-05-03 Bill Haneman <bill.haneman@sun.com>
142 Revved to version 0.13.0
144 * idl/Accessibility_Registry.idl:
145 Changed definition of KeySet from sequence of longs to sequence of
146 KeyDefinitions, and added KeyDefinition struct.
147 Required for fix to bug 80616.
149 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
150 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
151 to use new definition (see above).
153 * registryd/deviceeventcontroller.c: handle_keygrab(),
154 spi_keyset_contains_key():
155 Changed to make use of new struct; this allows matching based on
156 string key-name, for instance "Tab". This also allows matching of
157 composed characters, non-alphanumeric characters in a way that
158 doesn't involve dependencies on X keysym codes directly, etc.
160 * test/key-listener-test.c:
161 Added test for Alt-Tab key using "string" specification of keyset,
162 and modified one of the tests to use a keycode-based keyset.
163 Thus this test both tests and demonstrates the creation and use of
164 keysets of three forms: specified via keycode array,
165 keysym array, and string array. (The string case only contains a
166 single string, i.e. a string array of length 1).
169 Turned on PRINT_TREE option by default. Also fixed a
170 string-freeing bug in the PRINT_TREE code.
171 Added a listener to window:minimize events.
173 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
175 * atk-bridge/bridge.c:
176 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
177 for window:activate and window:deactiveate
178 (atk_bridge_property_event_listener atk_bridge_signal_listener
179 atk_bridge_window_event_listener) Tidy debug code
181 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
183 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
184 Fixed handling for NULL return value from ATK.
186 * libspi/action.c libspi/component.c libspi/editabletext.
187 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
188 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
189 Removed redundant casts.
191 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
192 Fixed off by one bug.
194 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
195 function not present in idl)
197 2002-05-02 jacob berkman <jacob@ximian.com>
199 * atk-bridge/Makefile.am: make atk-bridge a real module
201 2002-04-26 Radek Doulik <rodo@ximian.com>
203 * libspi/stateset.c (spi_init_state_type_tables): fix size of
204 atk_state_types table
206 2002-04-22 jacob berkman <jacob@ximian.com>
209 * libspi/Makefile.am: add deps on the built files to help
210 automake, and don't version the ORBit typelib
212 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
214 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
215 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
216 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
217 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
218 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
219 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
220 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
221 libspi/accessible.h libspi/accessible.h libspi/base.h
222 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
223 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
224 libspi/relation.h libspi/remoteobject.h libspi/selection.h
225 libspi/spi-private.h libspi/statetset.h libspi/table.h
226 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
227 util/mag_client.h util/mag_control.c util/mag_image.c
228 util/mag_image.h util/magnifier.c util/magnifier.h:
229 Add missing file headers; standardize existing ones
231 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
233 * atk-bridge/bridge.c: Added window event support.
235 2002-04-18 Michael Meeks <michael@ximian.com>
237 * libspi/relation.c (impl_getNTargets): impl.
238 (impl_getTarget): impl.
240 * libspi/Makefile.am: fix stateset install.
242 2002-04-17 Bill Haneman <bill.haneman@sun.com>
245 Started putting useful info in this file.
247 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
249 * atk-bridge/bridge.c:
250 Propagate state-changed notifications to ATs
252 * cspi/spi_registry.c: update docs to reflect actual behavior of
255 2002-04-17 Bill Haneman <bill.haneman@sun.com>
258 Incremented version to 0.12.1
261 Add missing declaration for magnifier_exit,
262 used by mag_control.c - Forte compiler didn't like
263 the implicit redeclaration of the function :-(
266 2002-04-16 Bill Haneman <bill.haneman@sun.com>
269 Revved version to 0.12 due to API change (see below).
271 * cspi/spi-roletypes.h:
272 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
273 definition from the inline docs, and added docs
274 for SPI_ROLE_LAST_DEFINED.
277 * cspi/spi_streamablecontent.c:
278 Added missing seek_type parameter to
279 (so far unused) method,
280 AccessibleStreamableContent_seek().
281 [ RT approval JodyG. ]
284 Fixed docs for SPI_createAccessibleKeystrokeListener.
286 * cspi/spi_registry.c:
287 Fixed docs for SPI_KEYSET_ALL_KEYS.
289 * docs/reference/cspi/at-spi-cspi-sections.txt:
290 Added a number of missing APIs to SECTIONS.
292 2002-04-16 Bill Haneman <bill.haneman@sun.com>
294 * registryd/Makefile.am:
296 * cspi/bonobo/Makefile.am:
297 Add $(X_LIBS) to makefiles.
299 2002-04-15 Bill Haneman <bill.haneman@sun.com>
302 Revved version to 0.11.
304 * libspi/component.c:
305 Added implementation for grabFocus.
307 * idl/Accessibility_Component.idl
308 (Accessibility_Component_grabFocus):
309 Made this method return boolean to indicate success or failure, to
310 be consistent with cspi and the corresponding ATK method.
312 * idl/Accessibility_Selection.idl
313 (Accessibility_Selection_selectAll) :
314 Made these methods return boolean to indicate success or
315 failure, to be consistent with cspi and the corresponding ATK methods.
317 * idl/Accessibility_EditableText.idl
318 (Accessibility_EditableText_setTextContents,
319 Accessibility_EditableText_insertText,
320 Accessibility_EditableText_cutText,
321 Accessibility_EditableText_deleteText,
322 Accessibility_EditableText_pasteText):
323 Made these methods return boolean to indicate
326 * cspi/spi_editabletext.c:
327 Made these methods return booleans.
329 * libspi/selection.c:
330 * libspi/component.c:
331 * libspi/editabletext.c:
332 Connected the boolean returns from ATK
333 to the server-side code referenced above.
335 2002-04-14 Bill Haneman <bill.haneman@sun.com>
337 * idl/Accessibility_Table.idl: Added missing methods,
338 Accessibility_Table_addRowSelection,
339 Accessibility_Table_addColumnSelection,
340 Accessibility_Table_removeRowSelection,
341 Accessibility_Table_removeColumnSelection.
344 Added C wrappers for above IDL:
345 AccessibleTable_addRowSelection,
346 AccessibleTable_addColumnSelection,
347 AccessibleTable_removeRowSelection,
348 AccessibleTable_removeColumnSelection.
351 Added server-side implementation code for IDL above, connecting
352 to pre-existing ATK api.
354 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
356 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
358 * libspi/accessible.c: Added implementation fo
359 Accessibility_Accessible_get_state.
361 * libspi/libspi.h: Added stateset.h to the list of includes.
363 * libspi/stateset.c: Fixed broken implementation.
365 2002-04-13 Bill Haneman <bill.haneman@sun.com>
368 Added implementation code for Accessibility_Magnifier_exit ().
370 * util/mag_control.c:
371 Added test code for above method; you can
372 now kill an existing magnifier via
373 ./mag_control q, from the util directory.
375 * test/key-listener-test.c:
377 Added a new test, for our key listener API.
379 2002-04-11 Bill Haneman <bill.haneman@sun.com>
381 * test/app.c, test/keysynth-demo.c:
383 Replace use of snprintf with g_snprintf.
384 (fix for bugzilla 78249)
386 2002-03-27 Michael Meeks <michael@ximian.com>
390 * util/Makefile.am (INCLUDES): fix.
391 (DONT_DIST_SOURCE): don't distribute the
394 * libspi/Makefile.am (dist-hook): ditto.
396 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
398 * libspi/hypertext.c:
399 Fix warnings when yelp is used with atk-bridge
401 2002-03-21 Michael Meeks <michael@ximian.com>
403 * libspi/application.c (spi_application_new):
404 use spi_accessible_construct so we use the AtkObject
407 2002-03-19 Michael Meeks <michael@ximian.com>
409 * registryd/registry.c (desktop_remove_application),
410 (desktop_add_application): clean coding style.
412 * registryd/desktop.c (spi_desktop_remove_application),
413 (spi_desktop_add_application): kill re-enterency hazards.
414 (spi_desktop_dispose): remove bogus redundant cast
415 obscuring bug; fix bug too.
416 (spi_desktop_init): make the desktop object immortal.
418 2002-03-16 Bill Haneman <bill.haneman@sun.com>
421 Added a #define-guarded tree-traversal step
422 when enumerating the apps (diagnostic tool).
424 2002-03-15 Bill Haneman <bill.haneman@sun.com>
426 * idl/Accessibility_Role.idl:
427 Added ROLE_DRAWING_AREA which seemed to be missing from the
430 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
432 * cspi/spi-roletypes.h cspi/spi_accessible.c
433 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
436 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
437 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
438 AT when applications are added and removed from the desktop. This
439 reverts the previous broken implementation using the backing
440 AtkObject for the SpiDesktop.
442 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
444 * registryd/desktop.c: emit the "children-changed::add" and
445 "children-changed::remove" signals on the backing ATK object for
446 the desktop so AT can tell when applications are started and shut
449 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
451 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
453 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
455 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
457 * cspi/spi_accessible.c: Implemented c bindings for stateset support
459 * cspi/state-types.h: synched with IDL and ATK
461 2002-03-13 Bill Haneman <bill.haneman@sun.com>
463 * libspi/accessible.c
464 (impl_accessibility_accessible_get_child_at_index):
465 Change return value for g_return_if_fail ()
466 to CORBA_OBJECT_NIL instead of "0" (!)
468 * registryd/Makefile.am:
469 * registryd/Accessibility_Register.server.in:
470 Changed name of executable, "registryd",
471 to something more informative:
474 2002-03-13 Michael Meeks <michael@ximian.com>
476 * atk-bridge/bridge.c (atk_bridge_init): don't register
477 if we're in a bonobo-component, rather than a bonobo app.
479 2002-03-13 Michael Meeks <michael@ximian.com>
481 * atk-bridge/bridge.c (gtk_module_init): split
482 out body to (atk_bridge_init): here, since otherwise
483 we get symbol conflicts and oddness when invoked
484 from (gnome_accessibility_module_init): here (upd.)
486 2002-03-11 Bill Haneman <bill.haneman@sun.com>
489 New file. Explicitly allow "build sheriff" putbacks provided
490 they are tested on Solaris.
492 * docs/reference/cspi/Makefile.am:
493 Added '-' to the "cp" command for index.sgml.
494 ("patch by thomasvs, soon coming to a GUADEC near you")
497 Incremented version number (0.9.0) for new release.
498 Changed macro that checks for popt, to better detect
499 obsolete versions of popt.
502 Added X_LIBS to AC_SUBST, for applications
503 that call Xlib API directly.
506 2002-03-07 Bill Haneman <bill.haneman@sun.com>
509 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
512 Fix regression caused by hard-coding major
513 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
516 * test/test-simple.c (test_editable_text),
517 (test_test): revert previous change (error was
518 a regression in gail which is now fixed).
520 2002-03-04 Michael Meeks <michael@ximian.com>
522 * test/test-simple.c (test_editable_text),
523 (test_text): pass G_MAXINT instead of '-1' for
524 whole string - is this a good thing !?
526 * cspi/spi_accessible.c
527 (Accessible_getRelationSet): fix crasher bug
528 overwriting the end of the array.
530 * test/test-simple.c (validate_accessible): free,
531 not g_free returned relation set.
533 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
535 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
536 implemented stateset support
538 * idl/Accessibility_State.idl: Made necessary changes to
539 the IDL to support state sets.
541 2002-02-12 Bill Haneman <bill.haneman@sun.com>
543 * registryd/deviceeventcontroller.c:
544 Added implementation for generateMouseEvent.
546 * cspi/spi_registry.c:
547 Connected new implementation for generateMouseEvent
550 2002-02-12 Bill Haneman <bill.haneman@sun.com>
553 Incremented revision (but no change in public API
554 outside of 'utils', which are not installed public yet.)
556 * libspi/component.c:
557 Changed to use atk_component API for layers and
558 mdi_zorder, instead of deprecated atk_object API.
560 Magnification Utility Enhancements:
563 Added implementation of createZoomRegion, clearAllZoomRegions,
564 resizeZoomRegion. Added new commandline argument
565 "--no-initial-region". Note that clearAllZoomRegions doesn't
566 unmap the old '0' region as it should (yet), and the other
567 methods only work when creating/resizing a single region,
569 (Code for multiple region support will be added later.)
572 Now we raise the magnifier window each time it's refreshed;
573 this will help keep it on top.
576 Added simple wrappers for above, used by mag_control.
577 For general use, it's recommended to use the bonobo magnifier
578 control API directly instead of using these wrappers.
581 Moved ZoomRegionData from magnifier.c to this file.
583 * util/mag_control.c:
584 Added some code to exercise new IDL implementations.
586 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
588 * libspi/text.c: Provide implementation for getAttributes.
590 2002-02-04 Bill Haneman <bill.haneman@sun.com>
593 Incremented revision.
595 * test/test-simple.c:
596 Replaced use of deprecated g_main_iteration with
597 g_main_context_iteration.
599 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
602 Incremented revision for desktop alpha 2.
604 2002-01-28 Mark McLoughlin <mark@skynet.ie>
606 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
609 * test/simple-at.c: include netinet/in.h.
611 2002-01-24 Mark McLoughlin <mark@skynet.ie>
613 * cspi/spi_accessible.c: (Accessible_getRelationSet):
614 use NULL, not CORBA_OBJECT_NIL.
616 * libspi/accessible.c:
617 (impl_accessibility_accessible_get_relation_set):
618 allocate the sequence correctly.
620 * libspi/remoteobject.h: kill spi_remote_object_new.
622 * test/test-simple.c: (validate_accessible): add code
623 to test relation sets, now all we need is to figure
624 out how to excercise this code path :/
626 2002-01-18 Michael Meeks <michael@ximian.com>
629 (key_listener_cb): consume the key.
630 (test_keylisteners): update.
631 (main): wait for any pending unrefs on events.
633 * registryd/deviceeventcontroller.c
634 (spi_controller_update_key_grabs): only re-issue the
635 grab on a key release.
636 (spi_device_event_controller_forward_key_event):
637 refresh the keygrabs before we notify the listeners,
638 to reduce the X ungrab / re-grab race.
639 (spi_controller_register_with_devices): remove
640 XSelectInput - we do that with the gdk_window_ call.
641 (_spi_controller_device_error_handler): return a value.
642 s/GDK_DISPLAY/spi_get_display/
644 2002-01-17 Michael Meeks <michael@ximian.com>
646 * registryd/deviceeventcontroller.c
647 (_deregister_keygrab): don't blow out the later
650 * test/test-simple.c (test_keylisteners): do a
651 more intelligent validation.
653 2002-01-14 Michael Meeks <michael@ximian.com>
655 * atk-bridge/bridge.c
656 (gnome_accessibility_module_init),
657 (gnome_accessibility_module_shutdown): impl.
658 (gtk_module_init): protect vs. double inits.
659 (add_signal_listener): impl.
660 (spi_atk_bridge_state_event_listener): kill
661 (deregister_application): split out of
662 (spi_atk_bridge_exit_func): here.
664 2002-01-18 Bill Haneman <bill.haneman@sun.com>
667 Added caret tracking when using magnifier, and
668 now use text bounds for focus tracking of text elements, rather than
669 the component bounds - this is helpful for short text fields in long
670 table cells, at high magnification.
672 2002-01-16 Bill Haneman <bill.haneman@sun.com>
674 * registryd/deviceeventcontroller.c:
675 Regression fix for keylistener de-registration; global keygrabs
676 were not being released when deregisterKeystrokeListener was
677 called in cspi, since
678 Accessibility_DeviceEventController_deregisterKeystrokeListener
679 was called with a zero-length keyset. That is because the cspi
680 method, SPI_deregisterKeystrokeListener, does not take a keyset
681 parameter but instead should remove all the key grabs held be a
683 The code in impl_deregister_keystroke_listener was changed to copy
684 the keylist from the listener instance previously registered with
685 the DeviceEventController before releasing the grabs.
687 * registryd/registry.c:
688 * registryd/deviceeventcontroller.c:
689 * libspi/spi-private.h:
691 Changed spelling of "re-enterant" to "re-entrant" globally.
693 2002-01-16 Bill Haneman <bill.haneman@sun.com>
695 * test/test-simple.c:
696 Changed key listeners test - the test was slightly mis-using the
697 (admittedly poorly documented) SPI_generateKeyboardEvent API.
698 It now uses '=' as the key event listened to and generated,
699 relying on a keysym match rather than assuming that keycode 33
700 is always equal to keysym '!'.
702 2002-01-15 Bill Haneman <bill.haneman@sun.com>
705 Changed simple-at to use a specific keyset, rather than
706 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
707 manager, desktop, etc.
709 2002-01-11 Bill Haneman <bill.haneman@sun.com>
711 * registryd/deviceeventcontroller.c:
712 Replaced standard X error handler with a special handler that
713 is non-fatal for failed keygrabs. This works around
714 problems with keygrab clashes sometimes observed on
716 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
717 mouse handling code as yet).
719 2002-01-11 Bill Haneman <bill.haneman@sun.com>
722 Incremented revision for desktop alpha release.
725 Fixed a couple of the more glaring errors (still not
728 2002-01-11 Michael Meeks <michael@ximian.com>
730 * registryd/deviceeventcontroller.c
731 (spi_device_event_controller_forward_key_event): kill
732 XUngrabKey / XKeyGrab race.
733 (spi_controller_grab_keyboard): rename to
734 (spi_controller_update_key_grabs): this, and deal
735 with incremental adding / removing grabs more
737 (_register_keygrab): ensure we're not pending a remove.
738 (spi_grab_mask_free): impl.
739 (spi_controller_register_global_keygrabs): split out
741 (handle_keygrab): impl.
742 (_deregister_keygrab): impl.
743 (spi_controller_deregister_global_keygrabs): impl.
744 (spi_controller_update_key_grabs): re-issue the grab if
745 we just recieved a notification.
747 * test/test-simple.c (key_listener_cb): remove debug.
749 * registryd/deviceeventcontroller.c
750 (spi_controller_register_device_listener): after
751 registering a global keygrab, actualy register it !
752 don't wait for a timeout; doh !
754 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
755 to make it more readable / manipulable.
756 s/grabmask/grab_mask/ s/refcount/ref_count/
757 s/keyval/key_val/ s/modmask/mod_mask
759 2002-01-08 Michael Meeks <michael@ximian.com>
761 * registryd/deviceeventcontroller.c
762 (spi_controller_register_with_devices): use gdk calls to
764 (global_filter_fn): implement the filter.
765 (spi_device_event_controller_check_key_event): rename to
766 (spi_device_event_controller_forward_key_event): this & upd.
767 (spi_get_display): replace with GDK_DISPLAY.
769 * registryd/deviceeventcontroller.c
770 (spi_controller_deregister_device_listener): unroll into
771 (impl_deregister_keystroke_listener): here to simplify.
772 (spi_controller_register_global_keygrabs): split cut and
773 paste (!) out into (_register_keygrab): here, shorter & sweeter.
774 (spi_controller_deregister_device_listener): remove.
775 (impl_register_mouse_listener): remove, no mouse listener
776 support in at-spi-1.0
778 * registryd/registry.c
779 (_device_event_controller_hook): kill.
780 (spi_registry_init): upd.
782 * registryd/deviceeventcontroller.c
783 (spi_device_event_controller_class_init): upd.
784 (spi_check_key_event): merge into.
785 (spi_device_event_controller_check_key_event):
786 here and kill strange static ev init, don't leak
787 the x_event - nor dynamicaly allocate it.
789 * registryd/registry-main.c (main): re-direct
790 timeout to remove strange vtable mess.
792 * registryd/deviceeventcontroller.c
793 (remove_listener_cb): impl.
794 (spi_controller_deregister_device_listener):
795 fix re-enterancy hazard.
797 2002-01-07 Michael Meeks <michael@ximian.com>
799 * registryd/deviceeventcontroller.c
800 (spi_device_event_controller_new): upd.
801 (impl_notify_listeners_sync): upd. debug.
802 (spi_notify_keylisteners): fix re-enterancy hazards,
803 prettify, remove O(n*n) iteration.
804 (spi_controller_grab_keyboard): fix iteration.
805 (spi_check_key_event): re-format to suit coding style.
806 Clean all the warnings - we're warning free.
808 * registryd/deviceeventcontroller.h:
809 * registryd/registry.h: make mutualy referential with
810 typesafe forward references instead of (!) void pointer
813 2002-01-11 Michael Meeks <michael@ximian.com>
815 * cspi/spi_accessible.c (role_names): add a role name
816 to sync this array with the enum; and make the regression
819 2002-01-10 Michael Meeks <michael@ximian.com>
821 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
822 allow expansion of enumeration & kill warning.
824 * test/test-simple.c (key_listener_cb): impl.
825 (test_keylisteners): impl.
827 * cspi/spi-listener.h: make listener signatures const
828 on the provided (const) events.
830 * test/keysynth-demo.c: upd. to const events.
832 * test/simple-at.c: ditto.
834 2002-01-11 Bill Haneman <bill.haneman@sun.com>
837 Rev the version to 0.5 (the previous tarball was named 0.4,
838 even though the micro number was 3), so we need to rev upwards
839 again for beta2/"desktop-alpha"
842 Checked in a demo script, which requires editing before use!
843 Proceed with caution.
846 Fixed typo in header which was redefining SPI_ACTION_CLASS.
848 * cspi/spi_accessible.c:
849 Add a couple of missing enum initializations, and fix some enum
852 * cspi/spi_registry.c:
853 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
855 * docs/reference/cspi/at-spi-cspi-sections.txt:
856 Remove/fix a couple of broken document references.
859 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
860 as Alt-Control to listen for commands, since on some systems
861 Control-Alt may already be grabbed.
863 2002-01-10 Bill Haneman <bill.haneman@sun.com>
866 Update version number to 0.4 for Beta2.
868 * libspi/accessible.c, libspi/accessible.h:
869 Expose spi_accessible_construct, to enable libgail-gnome
870 construction from spi_accessible subtype.
873 Workaround for bug in some non-gnome-compliant window managers
874 which made magnifier resize improperly.
876 2002-01-09 Bill Haneman <bill.haneman@sun.com>
878 * libspi/accessible.c: (spi_accessible_new) :
879 Move the test for SPI_IS_REMOTE_OBJECT to
880 spi_accessible_new_return, fixing a bug and compile time warning.
882 2002-01-08 Michael Meeks <michael@ximian.com>
884 * registryd/registry.c (parse_event_type): remove strndup.
886 * libspi/Makefile.am (libspi_la_SOURCES): remove
887 sources already included in the headers section.
889 * libspi/util.c: add.
891 * libspi/spi-private.h: add.
893 * registryd/registry.c: update to moved list iterators.
895 2002-01-05 Michael Meeks <michael@ximian.com>
897 * test/simple-at.c (main): upd. auto-module set to atk-bridge
899 * test/test-simple.c (main): ditto.
901 2002-01-04 Michael Meeks <michael@ximian.com>
903 * libspi/accessible.c (spi_accessible_new): remove 2nd,
906 * registryd/registry.c
907 (get_listener_list): impl.
908 (impl_accessibility_registry_register_global_event_listener):
909 re-impl. to simplify using ~, remove dodgy const cast off.
910 (parse_event_type): constify.
911 (impl_accessibility_registry_deregister_global_event_listener_all):
912 re-write, more efficiency and simplicity, kill re-enterancy
914 (compare_listener_corbaref, compare_corba_objects),
915 (compare_listener_quarks): define out.
916 (impl_accessibility_registry_deregister_global_event_listener):
917 re-write for effiency, and nail re-enterancy hazard.
918 (impl_accessibility_registry_get_desktop_list): impl.
919 (re_enterant_list_delete_link): impl.
920 (re_enterant_list_foreach): impl.
921 (remove_listener_cb): impl.
922 (_registry_notify_listeners): kill.
923 (notify_listeners_cb): impl.
925 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
926 (SPI_getDesktopList): impl.
928 * test/test-simple.c (test_desktop): test the methods.
930 2002-01-03 Michael Meeks <michael@ximian.com>
932 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
933 keystrings since we free them
934 (SPI_freeAccessibleKeySet): in here.
936 * libspi/accessible.c (spi_accessible_new): kill warning,
937 wonder what is going on with the constructor here.
939 2002-03-01 Bill Haneman <bill.haneman@sun.com>
941 * libspi/accessible.c (spi_accessible_new ()) :
942 Added check to see if AtkObject is an SpiRemoteObject before
943 creating an SpiAccessible.
945 2002-05-01 Bill Haneman <bill.haneman@sun.com>
947 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
948 Enable keygrabs using the Control modifier, now that they are
949 working properly (they were previously disabled).
952 Change the command keygrab for this demo to "Control+Alt", so as
953 to conflict with fewer other key commands on the system; this
954 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
956 Removed a pointlessly-chatty keylistener for unshifted keys
957 (shifted keys are still reported).
959 2002-02-01 Bill Haneman <bill.haneman@sun.com>
961 * libspi/remoteobject.h:
962 * libspi/remoteobject.c:
963 Added definitions for special AtkObject subtype, required for
964 support of remote components (specifically, used by BonoboControl
965 accessibility implementation).
967 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
969 * cspi/spi.h: synched relation types with ATK
971 * cspi/spi_accessible.c: Added implementations of
972 AcccessibleRelation_* methods
974 * idl/Accessibility_Relation.idl: added getRelationTypeName
975 method. Synched known relation types with ATK. Allowed for
976 relation type extension with the RELATION_EXTENDED type.
978 * libspi/relation.c: Provided implementations for
979 AccessibleRelation methods.
981 2002-01-01 Bill Haneman <bill.haneman@sun.com>
983 API tweaks for today's API 'freeze'.
986 Added placeholder functions to allow future compatible expansion
987 of the IDL interfaces.
989 * idl/Accessibility_Registry.idl:
990 Changed generateKeyEvent to generateKeyboardEvent. Changed
991 signature of this method to accept an optional keystring in
992 parameter (for complex text input synthesis) and changed use of
993 simple 'boolean' parameter in registerKeystrokeListener to a
994 struct, EventListenerMode.
996 * cspi/spi_accessible.c:
998 * cspi/spi_streamablecontent.c:
999 Added references to AccessibleStreamableContent interface, and
1000 definition and implementation of AccessibleStreamableContent
1003 * cspi/spi_registry.c:
1005 Changed generateKeyEvent API to generateKeyboardEvent,
1006 taking a new (optional) keystring parameter to support complex
1011 Renamed directory (to better reflect its actual purpose, bridging
1012 from at-spi to ATK). The .so module is also now named
1015 * idl/Accessibility_Hypertext.idl:
1016 * libspi/accessible.c:
1017 * libspi/hypertext.h:
1018 * libspi/hypertext.c:
1019 Changed Accessibility_Hypertext to *not* derive from
1022 * cspi/spi_registry.c:
1023 Added list of legal event type names for 'window' events, which
1024 completes the registry event API.
1026 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
1028 * at-bridge/bridge.c: Added registration for separate
1029 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
1030 signals. If either of the first two parameters to the generic
1031 bridge signal handler are ints, they are passed on as event
1032 details. This allows an AT to determine what text was inserted.
1034 2001-12-21 Bill Haneman <bill.haneman@sun.com>
1036 * registryd/deviceeventcontroller.c:
1037 Fixed regressions in generateKeyEvent caused by the removal of
1038 gdk_init from registryd; we now use pure X calls to connect to the
1039 display, which makes sense because deviceeventcontroller already
1040 uses a fair bit of X API (should eventually be migrated to a
1041 'portability layer').
1043 * registryd/desktop.c:
1044 Fixed minor regression in spi_desktop_init, changed the way the
1045 desktop name is being set to work with new spi_base API
1046 (gobject-based, rather than AtkObject-based).
1048 * registryd/Makefile.am:
1049 Minor revision of makefile to use XTST_LIBS variable rather than
1050 hard-wiring the Xtst LD_ADD element.
1052 * test/keysynth-demo.c:
1053 Tweaked an output message; added initialization of the
1054 'keystrings' member of the "switch listener" key_set.
1056 * libspi/relation.c:
1057 Squashed compile-time warning.
1059 * libspi/accessible.c:
1060 Cosmetic and formatting fixes, renamed a static method.
1062 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
1064 * libspi/accessible.c
1066 * libspi/application.c
1069 * libspi/component.c
1070 * libspi/editabletext.c
1071 * libspi/hyperlink.c
1072 * libspi/hypertext.c
1074 * libspi/selection.c
1078 * registryd/desktop.c:
1079 Changed SpiBase to contain a GObject pointer rather than an AtkObject
1081 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1083 * idl/Accessibility_Registry.idl:
1084 Added boolean member 'is_text' to DeviceEvent. This is for the
1085 use of key events, and helps prevent ambiguity between composed
1086 key strings and keysym names, since both may potentially be
1087 returned in the 'event_string' member.
1089 * at-bridge/bridge.c:
1090 * registryd/deviceeventcontroller.c:
1091 Use the 'is_text' member when notifying device event listeners.
1092 Knon issue: composed characters are not dealt with correctly by
1093 the global key listener implementation yet.
1095 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1097 * at-bridge/bridge.c:
1098 Namespaced local static methods to spi_atk_bridge_* where
1099 previously named bridge_*, and spi_* elsewhere.
1101 * at-bridge/bridge.c:
1102 * cspi/bonobo/cspi-bonobo-listener.c:
1103 Added demarshalling/conversion for string member of
1104 Accessibility_DeviceEvent to AccessibleKeystroke.
1106 * registryd/deviceeventcontroller.c:
1107 Added code to fill the Accessibility_DeviceEvent key string value
1108 member for global key events (i.e. from XGrabKey), to match
1109 behavior of Accessibility_DeviceEvent from the toolkit key events
1110 from the bridge. Fixed timestamp in global key event notifications.
1113 Added printout of key event's string value to
1114 report_ordinary_key_event, for demo/debugging purposes.
1116 2001-12-15 Bill Haneman <bill.haneman@sun.com>
1118 * idl/Accessibility_Registry.idl:
1119 Removed Accessibility_KeyStroke structure in favor of generic
1120 Accessibility_DeviceEvent structure.
1121 Changed Accessibility_ControllerEventMask from a struct to an
1124 * at-bridge/bridge.c:
1125 Changed APIs to use DeviceEvent structure as above, and removed
1126 bogus casting between these event structures.
1128 * cspi/spi-listener.h:
1129 Added keystring member of AccessibleKeystroke structure, to enable
1130 matching on event "names" rather than only hardware codes and
1134 Added keystrings member of AccessibleKeySet struct, to allow
1135 matching on event names (as above).
1136 Added declarations for SPI_createAccessibleKeySet and
1137 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
1138 event modmasks directly as unsigned ints rather than structs with
1139 refcounts, in the DeviceEventController methods.
1141 * cspi/spi_registry.c:
1142 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
1144 * cspi/spi-roletypes.h:
1145 Added documentation of newly added SPI Roles.
1147 * cspi/bonobo/cspi-bonobo-listener.c:
1148 Changes in support of API changes above.
1150 * libspi/accessible.c:
1151 Converted APIs to use DeviceEvent structure (see IDL changes
1154 * registryd/deviceeventcontroller.c:
1155 Added DEControllerGrabMask structure to track keygrabs not only by
1156 modmask but by keyset as well; this allows us to do "global"
1157 (i.e. X) keygrabs on a per-key or keyset basis rather than always
1158 grabbing on AnyKey and then filtering after-the-fact.
1159 Bugfixes for event filtration mean that we don't get false matches
1160 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
1162 * registryd/deviceeventcontroller.c:
1163 Namespaced a number of static methods to use spi_ prefix. Major
1164 revision to internals of global (i.e. X) key grabs.
1166 * registryd/deviceeventcontroller.h:
1167 Removed keymask_list and added keygrabs_list to
1168 SpiDeviceEventController struct.
1171 Added use of SPI_createAccessibleKeySet API when creating a
1172 listener for only one key. Attach a listener to "shift spacebar
1173 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
1174 X key event names to SPI key event names, so that listeners are
1175 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
1177 * test/keysynth-demo.c:
1178 Changed (incorrect) use of X key event names (KeyPressed,
1179 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
1182 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1184 * libspi/accessible.c:
1185 Convert all AtkRole enumerations to Accessibility_Role enums when
1186 getting a role from an AtkObject.
1188 * cspi/spi_accessible.c:
1189 Complete the conversion of Accessibility_Role enums at runtime to
1190 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
1191 role enums correctly match those given in spi-roletypes.h.
1192 Re-synchronize the local names list for AccessibleRole_getName ().
1193 AccessibleRole_getName is now deprecated, since it duplicates the
1194 more reliable Accessible_getRoleName.
1195 Added some role types from Accessibility_Role.idl.
1197 * idl/Accessibility_Role.idl:
1198 Added some role types used by AtkRole.
1200 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1203 * cspi/spi_registry.c:
1205 * cspi/cspi-bonobo-listener.c:
1206 Namespaced all methods that did not begin with an "SPI_" or
1207 "Accessible" prefix to "SPI_".
1210 Homogenized internal function namespace to "cspi_" for statics.
1213 Patched tests to use the new CSPI API.
1215 * docs/reference/cspi/at-spi-cspi-sections.txt:
1216 Updated docs to reflect namespace changes, and added a number of
1217 methods to the documentation.
1219 * registryd/registry.c:
1220 Changed use of strings and string hashes in listener event
1221 matching and parse_event_string to use GQuark, which is guaranteed
1224 * registryd/registry.h:
1225 Squashed annoying warning.
1227 * idl/Accessibility_Role.idl:
1228 Extended range of available Accessibility_Role values.
1230 * cspi/spi_accessible.c:
1231 Re-ordered role names.
1233 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1235 * idl/Accessibility_Value.idl:
1236 Revert use of union back to CORBA_double, since the double type is
1237 more efficient and can contain the other types without loss of
1240 * idl/Accessibility_Accessible.idl:
1241 Added method Accessibility:Accessible:getRoleName, to complement
1242 Accessibility:Accessible:getRole.
1244 * cspi/spi_accessible.c:
1246 Added C binding for above, Accessible_getRoleName (), and changed
1247 signature of Accessible_getRole () to return an AccessibleRole.
1249 * cspi/spi-roletypes.h:
1250 Changed AccessibleRole_getName to return a char * instead of a
1251 const char *. This method is now at least temporarily deprecated
1252 in favor of asking Accessibles for their RoleNames directly.
1255 Revert to match Accessibility_Value.idl;
1259 Change signature of AccessibleValue methods to use double rather
1263 * cspi/spi_accessible.c:
1264 Changed Accessible_getRole to return an AccessibleRole enum rather
1265 than a UTF-8 string. The UTF-8 string can still be obtained via
1266 AccessibleRole_getName ().
1268 * test/test-simple.c:
1269 Add test_action. Small fixup to match API change to Accessible_getRole.
1272 Bugfix for get_action_from_servant ().
1274 2001-12-11 Michael Meeks <michael@ximian.com>
1276 * libspi/libspi.h: remove registry.h and
1277 desktop.h, deviceeventcontroller.h
1279 * libspi/Makefile.am: remove registry.[ch],
1280 desktop.[ch], deviceeventcontroller.[ch]
1282 * registryd/Makefile.am: add registry.[ch],
1283 desktop.[ch], rename registryd.c to registry-main.c.
1284 add deviceeventcontroller.[ch]
1286 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1289 Replace setenv() call with putenv ().
1291 * libspi/component.c:
1292 Bugfix in AccessibleComponent_getExtents (),
1295 2001-12-11 Michael Meeks <michael@ximian.com>
1297 * libspi/image.c (impl_getImageExtents): impl.
1298 (spi_image_class_init): upd.
1301 (AccessibleImage_getImageDescription): fix daft bug
1304 * test/test-simple.c (global_listener_cb): update
1305 to only quit if not --poke
1306 (main): catch --poke.
1307 (validate_accessible): upd. dumping, call test_image
1310 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1313 * idl/Accessibility.idl: update all IDL includes.
1315 * idl/*.idl - rename to namespace - this sucks, blame
1316 mjs' bad decision for oafd.
1318 * test/test-simple.c (create_test_window): add more tests.
1319 (create_tree): split this out.
1320 (validate_accessible): bugfix.
1322 2001-12-11 Michael Meeks <michael@ximian.com>
1324 * cspi/bonobo/cspi-bonobo-listener.c:
1325 (cspi_kestroke_listener_unref),
1326 (cspi_event_listener_unref): impl. undoing previous
1327 homenous environment - for Bill.
1329 * cspi/spi_table.c (long_seq_to_array): use
1332 * cspi/spi_main.c: split out all bonoboish bits into
1335 * cspi/spi-impl.h: upd. typedefs.
1337 * cspi/spi_registry.c: update to lowlevel API,
1338 return booleans to indicate success in some places.
1340 * cspi/spi_event.c: update to lowlevel API.
1342 * cspi/bonobo/Makefile.am: add.
1344 * cspi/bonobo/cspi-lowlevel.h: add
1346 * cspi/bonobo/cspi-bonobo.c: add
1348 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1350 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1351 (SUBDIRS): add bonobo, link in the libs.
1353 * cspi/spi-util.c: kill this file.
1355 * TODO: merge in my bits.
1357 2001-12-11 Michael Meeks <michael@ximian.com>
1359 * test/test-simple.c (test_value, test_table, main):
1360 remove unused variables causing warnings.
1362 * configure.in: cleanup checks - require gail.
1364 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1367 Changed Value interface to use SValue (scalars) rather than
1368 assuming all values are floats. This allows floats, doubles,
1369 longs, shorts, and unsigned values to be manipulated.
1370 Introduced Accessibility:SValue union.
1373 Updated to use new API above, and to work correctly with GValues
1374 of different types in AtkValue.
1377 Updated to use new API above. cspi's API is as yet unchanged.
1380 Updated the Value revision action item.
1382 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1384 * test/test-simple.c:
1385 Added test_table (GtkTreeView widget in test window to follow).
1386 Un-commented test_value, added GtkRange widget.
1387 Added GtkTreeView widget with GtkListStore. It passes regression
1388 test but leaks one SPI object for some reason.
1391 Fixed bug in impl__set_currentValue.
1393 2001-12-10 Michael Meeks <michael@ximian.com>
1395 * cspi/spi_text.c: audit for exception handling,
1396 tolerating NULL object references safely etc.
1398 * cspi/spi_value.c: ditto.
1400 * cspi/spi_table.c (AccessibleTable_getSummary),
1401 (AccessibleTable_getAccessibleAt),
1402 (AccessibleTable_getRowHeader),
1403 (AccessibleTable_getColumnHeader),
1404 (AccessibleTable_getCaption): fix bugs hidden by
1406 (long_seq_to_array): impl.
1407 (AccessibleTable_getSelectedRows),
1408 (AccessibleTable_getSelectedColumns): use it.
1410 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1413 Added a TODO list (rough and short for now).
1415 * cspi/spi_hyperlink.c:
1416 * cspi/spi_hypertext.c:
1417 Fixed macro name typos, and remove use of obsolete macro in
1418 AccessibleHyperlink_getLink.
1420 * cspi/spi_action.c:
1421 * cspi/spi_accessible.c:
1422 * cspi/spi_application.c:
1423 * cspi/spi_component.c:
1424 * cspi/spi_selection.c:
1427 Documentation fixes (removed return values from ref/unref methods).
1429 2001-12-10 Michael Meeks <michael@ximian.com>
1431 * cspi/spi_action.c: audit for exception handling,
1432 tolerating NULL object references safely etc.
1434 * cspi/spi_accessible.c: ditto.
1436 * cspi/spi_component.c: ditto.
1438 * cspi/spi_editabletext.c: ditto.
1440 * cspi/spi_hyperlink.c: ditto.
1442 * cspi/spi_hypertext.c: ditto.
1444 * cspi/spi_image.c: ditto.
1446 * cspi/spi_selection.c: ditto.
1448 2001-12-10 Michael Meeks <michael@ximian.com>
1450 * configure.in: use cspi/libspi.pc.in instead.
1452 * Makefile.am (pkgconfig_DATA): upd. to match.
1454 * test/simple-at.c (report_focus_event): kill hacks around
1455 bad return values, use putenv not setenv
1457 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
1458 fire ChildGone - I killed it.
1460 * libspi/component.c
1461 (impl_accessibility_component_get_extents): remove
1464 * idl/Accessible.idl: kill ChildGone exception.
1466 * cspi/*.[ch]: kill int return from ref / unref.
1468 * cspi/spi_main.c (cspi_object_add_check): fold into
1469 (cspi_object_add): here.
1471 * cspi/spi_component.c (AccessibleComponent_getExtents):
1472 handle exceptions elegantly.
1474 * cspi/spi-private.h (cspi_check_ev_return),
1475 (cspi_return_if_fail): impl.
1477 * cspi/spi_accessible.c: use extensively.
1478 (AccessibleStateSet_equals): add direct compare check.
1480 * cspi/spi_selection.c: tolerate NULL objs, and check
1481 exceptions before return.
1483 * cspi/spi-util.c (cspi_warn_ev): rename to
1484 (cspi_check_ev): this & don't pass ev in; no point.
1486 2001-12-10 Michael Meeks <michael@ximian.com>
1488 * test/test-simple.c: use putenv not setenv
1489 (get_environment_vars): more chatty if you're not using
1492 * test/simple-at.c: do the setenv so more people see the
1495 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1497 * libspi/registry.c:
1498 Changed check of CORBA_environment on notification to be a warning
1499 instead of an error for the moment, since we can recover from this
1500 error when caused by a queued notification from a dead app.
1503 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
1504 used by all current implementors of AtkValue), and coerce to
1505 CORBA_float. (Proper general case fix may require change to Value.idl).
1507 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1511 * cspi/spi_accessible.c:
1512 Documentation fixes: added user_data params to documentation for
1513 listeners and callbacks.
1515 * cspi/spi_accessible.c:
1516 Changed AccessibleStateSet_compare to return a
1517 StateSet rather than return the difference set into a third parameter.
1520 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1523 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
1524 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
1528 Remove subdirectory po from SUBDIRS for now.
1530 * at-bridge/bridge.c:
1531 Beefed up a couple of debug printouts.
1532 One-line fix for signal notification name formatting.
1534 * libspi/accessible.c:
1535 Added assertion to spi_accessible_new ().
1537 * libspi/application.c:
1538 Put #ifdef qualifiers around a printf.
1541 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
1543 * registryd/Makefile.am:
1545 Replaces use of XML_I18N_MERGE_SERVER_RULE with
1546 INTLTOOL_SERVER_RULE macro.
1549 Added an event listener for several ATK signals, for
1550 testing and debugging. Removed a few g_warnings.
1551 Added test output if focussed item implements the Value interface.
1553 * test/test-simple.c:
1554 Added test_value () function (known not to pass at the moment, so
1555 not actually called yet.
1557 2001-12-08 Michael Meeks <michael@ximian.com>
1559 * at-bridge/bridge.c (bridge_focus_tracker),
1560 (emit_eventv): fix the same ref. leak.
1561 (register_atk_event_listeners): don't leak.
1563 * cspi/spi-listener-impl.c (cspi_event): more
1564 protection from client code.
1566 * test/test-simple.c (test_desktop): unref the app.
1568 * test/Makefile.am: upd. TESTS.
1570 * at-bridge/bridge.c (bridge_exit_func): release the registry.
1572 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
1574 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
1576 * cspi/spi_registry.c: constify in strings.
1577 (deregisterGlobalEventListenerAll): don't release the ref.
1579 * cspi/spi.h: start removing redundant / conflicting
1580 gtkdoc comments, making the API readable at a glance :-)
1582 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
1584 * test/keysynth-demo.c (keysynth_exit, main): upd.
1586 * test/simple-at.c (main, simple_at_exit): upd.
1588 * test/test-simple.c (unutterable_horror): kill.
1589 (utterable_normal_derefs): kill.
1590 (main): upd & do a setenv before gtk_init, so that we
1591 can use memprof - and to save the pain of remembering
1592 this, if we're running under memprof - don't exit.
1594 * cspi/spi_main.c (SPI_exit): return exit status
1596 (SPI_event_quit): impl.
1597 (SPI_event_main): simplify.
1598 (cspi_is_gnome_app): kill.
1599 (SPI_init): kill isGNOMEapp arg.
1601 * at-bridge/bridge.c (register_atk_event_listeners):
1602 re-instate the unref.
1603 (bridge_exit_func): don't re-activate the registry,
1604 protect vs. theoretical re-entry, use the
1605 AT_BRIDGE_SHUTDOWN env. var to determine whether to
1606 assert a clean shutdown - for regression tests.
1608 2001-12-08 Abel Cheung <maddog@linux.org.hk>
1610 * configure.in: Comment out dummy i18n support for now,
1611 otherwise it fails to build.
1612 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
1613 EXTRA_DIST. They are missing in tarball.
1615 2001-12-07 Michael Meeks <michael@ximian.com>
1617 * util/magnifier.c: kill bonobo activation reg. race.
1619 * libspi/component.c
1620 (impl_accessibility_component_get_extents): make it match
1623 * libspi/registry.c (_registry_notify_listeners):
1624 re-remove X headers & reconcile conflicts.
1625 (spi_listener_struct_free): bad conflict resolve.
1626 (impl_accessibility_registry_register_application):
1627 more bad merging fixed.
1628 (impl_accessibility_registry_deregister_application): ditto.
1629 (spi_registry_new): ditto.
1630 (spi_registry_init): don't have an applications field.
1632 [ merge fixups2 branch to here ]
1633 2001-12-07 Michael Meeks <michael@ximian.com>
1635 * test/simple-at.c (report_focus_event),
1636 (report_focussed_accessible): remove g_warning debug.
1638 2001-12-07 Michael Meeks <michael@ximian.com>
1640 * test/test-simple.c (validate_tree): comment out some checks.
1641 (test_desktop): app now not registered idly - horay.
1643 2001-12-07 Michael Meeks <michael@ximian.com>
1645 * cspi/spi_registry.c
1646 (registerAccessibleKeystrokeListener): clean, stop it leaking
1647 great swathes of memory, and device event controller references.
1648 ensure we always pass valid sequences.
1649 (deregisterAccessibleKeystrokeListener): ditto.
1650 (generateKeyEvent): upd.
1652 * at-bridge/bridge.c (bridge_key_listener): handle
1653 registry dead exception gracefully.
1654 (bridge_focus_tracker, emit_eventv): free ev.
1656 * test/simple-at.c (report_focus_event): fix polarity.
1658 * libspi/application.c (notify_listeners): kill the ev
1659 argument, and make sure we init the ev we use.
1660 (spi_application_object_event_listener): split out a chunk
1661 (get_atk_object_ref): here & fixup.
1662 (reverse_lookup_name_for_toolkit_event): make const.
1663 (spi_application_toolkit_event_listener): fixup, kill leaks
1666 * at-bridge/bridge.c (register_atk_event_listeners):
1667 don't unref the noop object - causes grief.
1669 * libspi/registry.c: remove the X headers.
1670 turn off the debug churn.
1672 * libspi/accessible.c (spi_accessible_new_return): only
1673 release the ref if we are supposed to [doh]
1675 * test/simple-at.c (report_button_press, report_focus_event):
1676 guard vs. unexpected exit.
1678 * at-bridge/bridge.c (gtk_module_init): prune printf.
1679 (bridge_exit_func): fix app unref.
1681 * libspi/Makefile.am: don't install registry or desktop.h
1683 * libspi/*.h: update includes.
1685 * libspi/application.h: don't include ourself, or
1686 other redundant headers.
1688 2001-12-06 Michael Meeks <michael@ximian.com>
1690 * libspi/accessible.c
1691 (get_accessible_from_servant): impl.
1692 Upd. all CORBA impl.s to use it killing cut and paste.
1694 * cspi/spi_main.c (cspi_cleanup): guard vs. double
1696 (SPI_init): register atexit cleanup handler here.
1698 2001-12-06 Michael Meeks <michael@ximian.com>
1700 * at-bridge/bridge.c (gtk_module_init): g_error on
1701 activation exception
1703 2001-12-06 Michael Meeks <michael@ximian.com>
1705 * at-bridge/bridge.c (gtk_module_init): some sort of
1706 confusing merge clash - reverted.
1707 (bridge_idle_init): ditto.
1709 * test/test-simple.c (main, utterable_normal_derefs):
1710 merge from Bill - somehow not committed.
1712 2001-12-06 Michael Meeks <michael@ximian.com>
1714 * libspi/value.c (spi_value_class_init): upd.
1715 (spi_value_finalize): kill.
1717 * libspi/table.c (spi_table_finalize): kill.
1718 (spi_table_interface_new): upd.
1719 (spi_table_class_init): upd.
1720 (get_table_from_servant): impl.
1721 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1723 * libspi/selection.c (spi_selection_finalize): kill.
1724 (spi_selection_interface_new): upd.
1725 (spi_selection_class_init): upd.
1726 (get_selection_from_servant): impl.
1727 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1729 * libspi/relation.c (spi_relation_finalize): kill.
1730 (spi_relation_class_init, spi_relation_new): upd
1732 * libspi/image.c (spi_image_finalize): kill.
1733 (spi_image_class_init): upd.
1734 (spi_image_interface_new): upd.
1735 (get_image_from_servant): impl.
1736 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1738 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
1739 (spi_hyperlink_finalize): kill.
1740 (spi_hyperlink_new): upd.
1741 (get_hyperlink_from_servant): impl.
1742 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1744 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
1745 (spi_hypertext_finalize): kill.
1746 (spi_hypertext_class_init): upd.
1747 (get_hypertext_from_servant): impl.
1748 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1750 * libspi/editabletext.c (spi_editable_text_finalize): kill.
1751 (spi_editable_text_interface_new): upd.
1752 (get_editable_text_from_servant): impl.
1753 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1755 * libspi/text.c (get_text_from_servant): impl.
1756 All impls - update to use it killing more cut and paste,
1757 also fix bad string returns on duff args ( a somewhat
1758 impossible case to handle - but hey ).
1759 (spi_text_construct): impl.
1760 (spi_text_interface_new): upd.
1761 (spi_text_object_finalize): kill.
1763 * libspi/component.c
1764 (accessibility_component_object_finalize): kill.
1765 (spi_component_class_init): upd.
1766 (get_component_from_servant): impl. helper to kill cut & paste.
1767 (impl_accessibility_component_contains):
1768 (impl_accessibility_component_get_accessible_at_point):
1769 (impl_accessibility_component_get_position):
1770 (impl_accessibility_component_get_extents):
1771 (impl_accessibility_component_get_mdi_z_order):
1772 (impl_accessibility_component_get_layer):
1773 (spi_component_interface_new): upd.
1775 * libspi/action.c (spi_action_finalize): kill.
1776 (spi_action_class_init): upd. inherit from SpiObject.
1777 (spi_action_interface_new): upd.
1778 (get_action_from_servant): impl. helper to reduce cut & paste.
1779 (impl_getKeyBinding, impl_getName, impl_doAction),
1780 (impl_getDescription): Use it everywhere.
1782 * cspi/spi_main.c (get_live_refs): a pointer hash.
1783 (spi_object_hash, spi_object_equal): comment out.
1784 There are issues with CORBA object hashing that need
1787 * libspi/application.c (spi_application_init),
1788 (spi_application_new): upd.
1790 * libspi/accessible.c (spi_accessible_object_finalize): kill.
1791 (spi_accessible_class_init): upd.
1792 s/accessible/object/ in epv methods.
1794 2001-12-05 Bill Haneman <bill.haneman@sun.com>
1796 * at-bridge/bridge.c:
1797 Reorder the bridge initialization into the bridge gtk_module_init,
1798 an immediate call to bridge_register_app, and an idle_add for
1799 register_atk_event_listeners (the only code that *must* wait until
1800 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
1801 the activation, creates the application's Accessible object, and
1802 queues the bridge_idle_init function. Restored call to
1803 Accessibility_Registry_deregisterApplication().
1804 Prior to making this call we obtain a new reference to the
1805 registry, which is a temporary hack that helps us handle apps that
1806 shut down the bonobo mainloop before we get there.
1808 * libspi/registry.c:
1809 Fix string leakage in debug block, and don't segv if a an app
1810 dies before its event notifications have been propagated.
1813 Modify cspi_check_ev() to call g_warning() rather than g_error(),
1814 as stopgap measure until we get proper exception handling when
1815 objects die during or before interrogation.
1819 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
1820 Also changed default value of is_gnome_app to TRUE.
1823 * test/keysynth-demo.c:
1824 Changed use of SPI_init and SPI_event_main to reflect API change above.
1827 Made report_focus_event check the warning value from getName
1828 before reporting on focussed accessible; simplifies handling of
1829 notifications from dead objects.
1831 * test/test-simple.c: (Changes not in this patch since source is
1834 2001-12-05 Michael Meeks <michael@ximian.com>
1836 * registryd/registryd.c (main): protect against
1837 bonobo-activation startup race condition.
1839 * cspi/spi_main.c (cspi_object_add_check): cope
1840 with the exception elegantly.
1842 * idl/Accessible.idl: decl. ChildGone
1844 * libspi/desktop.c (spi_desktop_dispose): impl.
1845 (spi_desktop_class_init): upd.
1846 (spi_desktop_add_application),
1847 (spi_desktop_remove_application),
1848 (abnormal_application_termination): impl.
1849 (impl_desktop_get_child_at_index): re-impl.
1852 (impl_accessibility_registry_deregister_application),
1853 (impl_accessibility_registry_register_application):
1854 kill excessive debug clutter.
1856 * test/test-simple.c (test_misc): test some NULL
1857 tolerance. (main): upd.
1859 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
1860 implements no interfaces - so let's not crash.
1862 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
1864 * libspi/accessible.c (spi_accessible_new_return): impl.
1865 helper to calm the cut and paste, to cope with
1866 NULL AtkObjects effectively and efficiently, and to kill
1867 the referencing bugs.
1869 * libspi/table.c (impl_getAccessibleAt),
1870 (impl_getRowHeader, impl_getColumnHeader): upd.
1872 * libspi/hyperlink.c (impl_getObject): upd.
1874 * libspi/accessible.c
1875 (impl_accessibility_accessible_get_child_at_index): upd.
1877 * libspi/component.c
1878 (impl_accessibility_component_get_accessible_at_point): upd.
1880 * test/test-simple.c (test_editable_text, test_text): impl.
1883 * cspi/spi_editabletext.c
1884 (AccessibleEditableText_insertText): constify.
1886 * test/test-simple.c (focus_me): make more robust.
1888 * libspi/accessible.c: remove some printfs in methods that
1889 we test and work fine, so we can get a clean tree dump.
1891 * test/test-simple.c (validate_accessible),
1892 (validate_tree): make tree dumping pretty too.
1894 * at-bridge/bridge.c (bridge_signal_listener): upd. so
1895 it builds without debug on.
1897 * test/test-simple.c (validate_accessible): fix the most
1900 * cspi/spi_main.c (spi_object_release): leave the nicely
1901 blanked memory around if in debug mode.
1903 * cspi/spi-listener-impl.c (cspi_event): use add_check.
1905 [committed to fixups2]
1906 2001-12-05 Michael Meeks <michael@ximian.com>
1908 * libspi/editabletext.c
1909 (spi_editable_text_class_init): g_type_class_peek_parent,
1910 not interface peek - so we finalize cleanly.
1912 * libspi/accessible.c (spi_accessible_new): kill debug.
1914 * test/test-simple.c (validate_accessible): fix ref.
1915 leak, print strings before freeing them; sigh, comment a
1916 chunk out due to strangeness.
1917 (validate_tree): unref the child after use.
1919 * cspi/spi_component.c (AccessibleComponent_getLayer):
1920 add missing break statement, switch on zlayer not the
1921 uninitialized retval.
1923 * cspi/spi_main.c (cspi_object_add): add assert, local ref
1924 before (possibly re-entering) remote unref.
1926 * test/simple-at.c (main): unref the desktop.
1928 * cspi/spi_accessible.c (cspi_accessible_is_a): move
1931 * cspi/spi_main.c (cspi_accessible_is_a): here to
1932 isolate bonobo API usage more.
1934 * libspi/registry.c (impl_accessibility_registry_register_application):
1935 prune bogus comment.
1937 2001-12-04 Michael Meeks <michael@ximian.com>
1939 * test/test-simple.c (validate_tree): upd.
1940 IndexInParent check to make it more lucid.
1941 (validate_accessible): dump the tree.
1943 * libspi/accessible.c (de_register_public_ref),
1944 (get_public_refs): impl.
1945 (spi_accessible_new): make more efficient & intuitive.
1946 Now IndexInParent check works.
1948 2001-12-04 Michael Meeks <michael@ximian.com>
1950 * cspi/spi-util.h: remove.
1952 * cspi/spi.h: move SPI_freeString here
1954 * libspi/component.c (impl_accessibility_component_get_layer):
1956 (impl_accessibility_component_get_mdi_z_order): ditto,
1957 return -1 on error - is this ok ?
1959 * test/test-simple.c (test_application): impl.
1961 * cspi/spi_accessible.c (Accessible_getApplication),
1962 (Accessible_isApplication): impl.
1964 * libspi/registry.c (spi_listener_struct_free): release
1965 the CORBA reference too.
1967 * libspi/accessible.c
1968 (impl_accessibility_accessible_get_parent): fix ref leak.
1970 * libspi/registry.c (spi_registry_new): make the registry
1971 immortal - we don't want it to go away ever.
1973 * libspi/application.c
1974 (spi_accessible_application_finalize): impl. cleanup.
1976 * cspi/spi_registry.c
1977 (deregisterGlobalEventListenerAll),
1978 (deregisterGlobalEventListener),
1979 (deregisterAccessibleKeystrokeListener): fix ref leak.
1981 * cspi/spi_main.c (SPI_init): remove redundant ref.
1983 * test/test-simple.c (unutterable_horror): impl. to force a
1988 (impl_accessibility_registry_deregister_application): release
1989 the application when we de-register it.
1991 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1992 until we have the infastructure to get it right.
1994 2001-12-03 Michael Meeks <michael@ximian.com>
1996 * libspi/Makefile.am: only build eventlistener.[ch]
1998 * libspi/accessible.c
1999 (impl_accessibility_accessible_get_child_at_index): don't leak.
2001 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
2002 before we hit the idle handler.
2004 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
2005 debugging than exit.
2007 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
2009 * libspi/listener.c (impl_notify_event): check source
2010 not NIL before unref.
2012 * libspi/registry.c (impl_registry_notify_event): ditto.
2014 * libspi/eventlistener.c
2015 (impl_accessible_event_notify_event): unref the source.
2017 * libspi/accessibleeventlistener.c
2018 (impl_accessible_event_notify_event): unref the source.
2020 * idl/Event.idl: remove 'hash_id' attribute - of no
2023 * libspi/application.c (notify_listeners): upd list
2025 (spi_application_object_event_listener),
2026 (spi_application_toolkit_event_listener): upd to do correct
2030 (_registry_notify_listeners): update.
2031 (parse_event_type): this method also leaks like a sieve.
2032 (impl_accessibility_registry_deregister_global_event_listener):
2033 fix ETYPE_WINDOW case.
2035 * libspi/application.c
2036 (impl_accessibility_application_register_object_event_listener):
2039 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
2041 * libspi/hypertext.c (impl_getLink): ditto.
2043 * cspi/spi_main.c (cspi_object_add): remove
2044 bogus CORBA_Object_duplicate.
2046 * cspi/spi-listener-impl.c (cspi_event): dup/ref
2049 * cspi/spi_accessible.c
2050 (Accessible_getRelationSet): fix leak / referencing issue.
2052 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
2053 (cspi_object_add, cspi_object_unref): upd.
2054 (spi_object_release, get_live_refs): impl.
2055 (cspi_cleanup): simplify.
2057 * *.[ch]: s/boolean/SpiBoolean/
2059 * cspi/spi_accessible.c (role_names): actualy order so it
2060 corresponds with the enum !
2062 * test/test-simple.c (test_roles): check some role strings
2063 vs. enums to detect offset errors.
2065 2001-12-01 Michael Meeks <michael@ximian.com>
2067 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
2069 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
2071 (Accessible_getChildAtIndex): use cspi_add_check so we
2072 check the ev before using a (possibly) invalid value.
2074 * libspi/accessible.c
2075 (impl_accessibility_accessible_get_parent): don't segv
2078 * at-bridge/bridge.c (gtk_module_init): upd.
2079 (bridge_property_event_listener): don't leak strings
2081 (bridge_state_event_listener),
2082 (bridge_property_event_listener): don't use a static
2083 buffer in case of recursive event emission &
2084 re-enterancy - split out the swathe of cut and paste
2086 (emit_eventv): and fix 2 ref leaks here & comply to the
2088 (bridge_register_app): rename to
2089 (bridge_idle_init): this and kill arg parsing, split
2090 various inits & bonobo-activation registration to module
2091 init time, kill referencing error.
2092 (bridge_exit_func): fix the same leak.
2093 (bridge_focus_tracker): don't leak event structures
2095 (bridge_signal_listener): more leakage and cut & paste
2097 (bridge_key_listener): return the result - FIXME is
2098 this polarity correct ?
2099 (accessibility_keystroke_from_atk_key_event): rename
2100 (accessibility_init_keystroke_from_atk_key_event): and stop
2102 (gtk_module_init): return a value - not that it is checked by
2104 (bridge_key_listener): register my horror at casting between
2105 IDL defined structs.
2106 (bridge_get_registry): kill - not used.
2108 * cspi/spi_accessible.c (Accessible_getRole): make return const.
2110 * test/test-simple.c (test_roles): impl.
2111 (test_desktop, validate_accessible, validate_tree): impl.
2113 * cspi/spi_accessible.c (role_names): fixup bogus
2114 MAX_ROLES setup, make constants const for efficient linkage
2115 (AccessibleRole_getName): conform to coding style, make
2118 2001-11-30 Michael Meeks <michael@ximian.com>
2120 * cspi/spi.h: add missing prototype.
2122 * libspi/registry.c (spi_listener_struct_new): fix sig.
2124 * test/Makefile.am: add test-simple
2126 * test/test-simple.c: add
2128 * test/test.sh: add.
2130 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
2132 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
2133 do it straight - since otherwise we often get an activation race.
2135 [ work before Bill duplicated a chunk of it ... ]
2136 2001-11-30 Michael Meeks <michael@ximian.com>
2138 * libspi/keystrokelistener.c
2139 (spi_keystroke_listener_class_init): fixup arg
2142 * libspi/eventlistener.c
2143 (spi_event_listener_class_init): ditto.
2145 * tests/test.sh: add.
2147 * cspi/spi-listener-impl.h: update macros.
2149 * cspi/spi-listener-impl.c
2150 (cspi_event_listener_remove_callback): add
2151 correct pre-conditions.
2153 * cspi/spi_main.c (SPI_exit): guard vs. double
2154 exits, exit the mainloop nicely.
2155 (SPI_event_main): make more sense.
2156 (SPI_init): move the atexit evilness here so we
2157 always do it (yuck).
2158 (SPI_event_main): upd.
2160 * test/simple-at.c: update for listener changes.
2162 * registryd/registryd.c (main): prune kruft.
2164 * libspi/libspi.h: upd.
2166 * libspi/eventlistener.[ch]: rename broken macros.
2168 * libspi/accessibleeventlistener.[ch]: remove.
2170 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
2172 * test/test-simple.c: Add - automated tests.
2174 * cspi/spi-listener-impl.c (cspi_event),
2175 (cspi_key_event): add user_data to invoke.
2176 (cspi_keystroke_listener_finalize): impl.
2177 (cspi_keystroke_listener_class_init): upd.
2180 (createAccessibleEventListener),
2181 (AccessibleEventListener_addCallback),
2182 (createAccessibleKeystrokeListener),
2183 (AccessibleKeystrokeListener_addCallback): upd.
2185 * libspi/deviceeventcontroller.c
2186 (spi_device_event_controller_check_key_event): add public proto.
2189 (impl_accessibility_registry_deregister_global_event_listener):
2190 always init listeners.
2191 (_registry_notify_listeners): yes it is.
2193 * cspi/spi-listener-impl.c (cspi_key_event):
2195 (cspi_event_listener_finalize): impl.
2196 (cspi_event_listener_class_init): hook up.
2197 (event_handler_new, event_handler_free),
2198 (event_list_remove_by_callback): impl.
2199 (cspi_event_listener_remove_callback),
2200 (cspi_keystroke_listener_remove_callback),
2201 (cspi_keystroke_listener_add_callback),
2202 (cspi_event_listener_add_callback): upd.
2204 * libspi/keystrokelistener.c
2205 (keystroke_listener_object_finalize): kill
2206 (spi_keystroke_listener_class_init): upd.
2207 (spi_keystroke_listener_add_callback),
2208 (spi_keystroke_listener_remove_callback): kill,
2210 (impl_key_event): prune drasticaly.
2212 * libspi/eventlistener.c
2213 (spi_event_listener_add_callback),
2214 (spi_event_listener_remove_callback): kill, use
2216 (impl_accessible_event_notify_event): upd.
2217 (spi_event_listener_object_finalize): remove.
2219 * libspi/Makefile.am: use eventlistener.[ch]
2221 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2223 * libspi/registry.c (_registry_notify_listeners):
2224 Changed listener loop iteration to use preferred convention.
2225 Got rid of string memory leaks caused be calling g_strconcat
2226 inside function calls.
2228 * libspi/registry.c (parse_event_type):
2229 Stopped g_strconcat memory leaks, free the g_strsplit return,
2230 g_strdup the split pieces when used, etc.
2232 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2235 Change method 'compare' to return a 'difference set' rather than
2236 taking a StateSet as an out parameter (more Java-friendly).
2238 * idl/Accessible.idl:
2239 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2241 * idl/Component.idl:
2243 Changed methods 'getExtents' and 'getImageExtents' in these
2244 interfaces to return a BoundingBox structure.
2245 (getPosition and getSize are redundant and possibly should be
2246 removed, rather than creating a corresponding Point struct.)
2248 * cspi/spi_component.c:
2249 Modify implementation of getExtents to reflect the above IDL
2254 Add (missing) AccessibleImage_getExtents () API.
2256 * docs/reference/cspi/at-spi-cspi-sections.txt:
2257 Added AccessibleImage_getImageExtents () to docs.
2259 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2261 * idl/Component.idl:
2262 Added two methods, getLayer () and getMDIZOrder (), to reflect
2263 the new ATK methods atk_object_get_layer and
2264 atk_object_get_mdi_z_order. (Which arguably should be part of the
2265 AtkComponent API and AtkObject). Also added an enum,
2266 ComponentLayer, for the first method's return value.
2268 * libspi/component.c:
2269 Added implementations for these methods.
2271 * cspi/spi_component.c:
2273 Added cspi binding methods for above,
2274 AccessibleComponent_getLayer() and
2275 AccessibleComponent_getMDIZOrder().
2276 Added cspi enum 'AccessibleComponentLayer'.
2278 * docs/reference/cspi/at-spi-cspi-sections.txt:
2279 Added above methods to docs.
2283 Changed typedef for 'boolean' type (and all references to it) to
2284 SPIBoolean, to avoid keyword clashes with C++.
2287 Changed usages of 'boolean' to SPIBoolean.
2289 * test/keysynth-demo.c:
2290 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2291 app), except where SPIBoolean is required by the callbacks API.
2293 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2295 * cspi/spi_registry.c:
2296 Removed obsolete X event loop for passive keygrabs (which now
2299 * registryd/registryd.c:
2300 Removed unnecessary call to gdk_init() [cruft]. This also allows
2301 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2304 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2306 * docs/reference/cspi:
2307 Included docs for SPI_freeString in generated documentation.
2310 Renamed spi_freeString to SPI_freeString, for consistency. Added
2311 documentation for this function.
2314 Renamed spi_freeString to SPI_freeString, for consistency.
2315 Removed obsolete method declaration string_from_corba_string.
2317 * test/keysynth-demo.c:
2318 Small tweak to comments.
2321 Stopped leaking the strings returned from CSPI.
2323 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2325 Merged Michael's branch (see his ChangeLog entries below).
2327 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2328 bridge is alive, release on exit.
2330 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2331 Fix type check macro.
2334 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2337 Added is_gnome_app static, and method cspi_is_gnome_app(),
2338 so we can call the appropriate shutdown routine at exit in SPI_exit.
2340 * cspi/spi_main.c (cspi_object_ref):
2341 Duplicate the corba object passed in, since we're keeping it around.
2343 * cspi/SPI_exit.c, cspi_cleanup:
2344 Moved the releasing of the live refs to its own function, so we
2345 can put it in g_atexit (). Call the appropriate shutdown API
2346 depending on whethe calling client is a gnome app or not
2347 (bonobo_main_quit or CORBA_ORB_shutdown).
2349 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2350 Unref the listener when this method is called, after
2351 deregistration. Updated the API docs to note this behavior.
2353 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2354 Bugfixes: Ref the bonobo object when returning a parent or child
2355 reference, or an AccessibleRelation. Generally made sure
2356 BonoboObject refcount is incremented whenever we return an
2359 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2360 Fixed typo/bug in signal declaration.
2362 * libspi/accessibleeventlistener.h:
2365 * libspi/application.c (spi_application_new):
2366 Fixed leak in initialization.
2369 Remembered to increment bonobo-object refcount when returning
2370 children (applications) from desktop object.
2371 Added (empty) finalize method.
2373 * libspi/deviceeventcontroller.c:
2374 Hold a ref to listeners inside DEControllerKeyListeners.
2375 Added dec_key_listener_free() method. Use prepend instead of
2376 append in key_listener list. Fixed some refcount madness and
2377 leaks in the listener registration/deregistration - deregistration
2378 now calls dec_key_listener_free() on listeners, and on the
2379 temporarily constructed dec_key_listener() used to perform the search/match.
2381 * libspi/hypertext.c (spi_hypertest_finalize):
2382 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2383 class. Also fixed spi_hypertext_interface_new() and
2384 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2386 * libspi/hypertext.h:
2387 Removed pointless and duplicate AtkObject pointer from
2390 * libspi/keystrokelistener.c:
2391 Fixed incorrect type of keystroke_listener_parent_class,
2392 renamed keystroke_listener_object_finalize to
2393 spi_keystroke_listener_object_finalize.
2394 Fixed typo in signal declaration
2395 (spi_keystroke_listener_class_init).
2397 * libspi/registry.c:
2398 Added funcsions spi_listener_struct_new() and
2399 spi_listener_struct_free() to help with memory management issues.
2400 We also now use these methods instead of gnew + poking stuff into
2401 the struct, and to decrement listener counts/free the listeners
2402 when deregistering them.
2403 Fix more refcount bugs in getDesktop() and
2404 getDeviceEventController().
2407 De-ref the desktop after enumerating the applications. Explicitly
2408 decrement the refcounts on the created listeners on exit (using
2409 _unref for keystroke listeners, and via the
2410 deregisterGlobalEventListenerAll command for other event
2413 2001-11-27 Michael Meeks <michael@ximian.com>
2415 * cspi/spi-listener.h: fixup enum.
2417 2001-11-27 Michael Meeks <michael@ximian.com>
2419 * cspi/spi-listener-impl.c (cspi_event_listener_new),
2420 (cspi_keystroke_listener_new): Use the cspi variants.
2422 2001-11-26 Michael Meeks <michael@ximian.com>
2424 * test/keysynth-demo.c: fix 2 compile warnings, missing
2427 * test/simple-at.c (report_focussed_accessible),
2428 (report_focus_event, report_button_press),
2429 (check_property_change, is_command_key),
2430 (report_ordinary_key_event, report_command_key_event): upd.
2432 * util/mag_client.h: include pre-requisites.
2434 * libspi/accessibleeventlistener.c
2435 (spi_event_listener_object_finalize): free any lingering
2438 * libspi/keystrokelistener.c
2439 (keystroke_listener_object_finalize): ditto.
2441 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
2442 callbacks, with cspi types.
2444 * cspi/spi_event.c (createAccessibleEventListener): chain to
2445 (AccessibleEventListener_addCallback): here.
2446 (createAccessibleKeystrokeListener): chain to
2447 (AccessibleKeystrokeListener_addCallback): here.
2449 * libspi/keystrokelistener.c
2450 (spi_keystroke_listener_class_init): add signal.
2451 (impl_key_event): emit the event.
2452 (boolean_handled_accumulator): impl.
2453 (marshal_BOOLEAN__POINTER): add, gack.
2455 * libspi/accessibleeventlistener.c
2456 (spi_event_listener_class_init): add signal.
2457 (impl_accessible_event_notify_event): emit the signal &
2458 make the loop efficient.
2459 (spi_event_listener_add_callback): prepend the callback.
2461 * libspi/accessibleeventlistener.h: add an 'event' signal,
2462 decl type on callback.
2464 * libspi/keystrokelistener.h: ditto.
2466 * cspi/spi-listener.h: make methods typesafe and
2467 make them use the new event typedefs.
2469 * test/simple-at.c (report_focussed_accessible):
2470 include mag_client.h
2471 Use *(void *)text_interface not the other thing.
2473 * configure.in: add gtk to registryd bits - since we use
2476 * util/magnifier.c: include libbonobo.h
2478 2001-11-25 Bill Haneman <bill.haneman@sun.com>
2480 * test/keysynth-demo.c:
2481 Turned this into a simple scanning keyboard, to demonstrate the
2482 use of g_timeout_add () as a means of creating timers for
2483 scanning, and the use of GtkStyle for visually indicating when
2484 virtual keyboard elements are selected.
2486 keysynth-demo now listens to any keyboard keys with zero-valued
2487 keycodes (i.e. 'unused' keys) and interprets them as
2490 Reworked the shiftlatch code so that shift-down state isn't held
2491 for long periods (it's only synthesized immediately prior to
2492 the keysynth event it's modifying). Note that shiftlatch in this
2493 demo is a convenience, not intended to take the place of AccessX
2494 which is the better choice for getting 'sticky' modifier keys.
2496 * libspi/deviceeventcontroller.c:
2497 * at-bridge/bridge.c:
2498 * cspi/spi_registry.c:
2499 Removed some debug print stuff, and put other verbosity in #ifdef
2504 Implemented some more of the magnifier IDL for the simple
2505 magnifier: namely, getZoomRegionParams.
2506 Added mag_x and mag_y members to MagnifierData struct, aid of this
2508 Added GtkWindow::realize signal handler to magnifier, to keep it
2509 from receiving keyboard focus from the WM.
2511 2001-11-23 Mark McLoughlin <mark@skynet.ie>
2513 * cspi/spi-private.h: my guess at what michael forgot
2514 before he ran off to NZ :-)
2516 2001-11-23 Michael Meeks <michael@ximian.com>
2518 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
2519 comment out non existant method invoke so we link.
2521 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
2522 use bonobo_exception_get_text for more friendly warnings.
2524 * cspi/spi.c (Obj_Add): move into spi_main & rename
2525 spi_object_add; kill spi.c
2527 * cspi/spi_registry.c
2528 (deregisterGlobalEventListener),
2529 (deregisterGlobalEventListenerAll),
2530 (registerGlobalEventListener): fix exception leaks.
2532 * cspi/spi_main.c (spi_exception): impl. helper, so we
2533 don't leak exceptions.
2535 * cspi/spi_selection.c
2536 (AccessibleSelection_deselectSelectedChild): return the
2539 * cspi/spi_main.c (spi_ev): impl; hack - gack.
2540 (spi_registry): ditto.
2541 (SPI_init): guard against double inits.
2543 * cspi/*.c: use spi_ev (), and spi_registry () where
2544 appropriate - a temporary hack until we have something
2545 better. Use spi_object_add
2547 2001-11-22 Michael Meeks <michael@ximian.com>
2549 * cspi/Makefile.am: re organise, install the headers.
2551 * cspi/*.h: add G_BEGIN/END_DECLS
2553 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2556 Added non-preemptive keylistener for key events with no modifiers
2557 and shift-only modifier.
2559 * libspi/keystrokelistener.c:
2560 Removed some verbose diagnostics printout.
2562 * cspi/spi_registry.c:
2563 Fixed a bug that caused all key listeners to be registered as
2566 * libspi/deviceeventcontroller.c:
2567 Fixed bug that caused XGrabKey (preemptive key grab) to be called
2568 for non-preemptive key masks.
2571 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2573 * docs/reference/idl/at-spi-idl-docs.sgml:
2574 * docs/reference/idl/at-spi-idl-sections.txt:
2575 * docs/reference/idl/at-spi-idl-overrides.txt:
2576 Added missing files.
2578 * docs/reference/Makefile.am:
2579 removed idl from SUBDIRS until we can figure a way to get gtk-doc
2580 to scan the IDL files :-(
2585 Added .cvsignore files.
2587 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2589 * libspi/deviceeventcontroller.c:
2590 * libspi/keystrokelistener.c:
2592 * cspi/spi_registry.c:
2593 Added filters for KeySets, KeyEventSeq, and event types to key
2594 event dispatching, so listeners should only receive those events
2595 that they requested :-)
2597 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2602 * docs/reference:Makefile.am:
2603 * docs/reference/cspi:
2604 * docs/reference/cspi:Makefile.am:
2605 * docs/reference/cspi:tmpl:
2606 * docs/reference/cspi:tmpl:*.sgml:
2607 * docs/reference/idl:
2608 * docs/reference/idl:Makefile.am:
2609 * docs/reference/idl:at-spi-idl-sections.txt:
2610 * docs/reference/idl:at-spi-idl-docs.sgml:
2611 * docs/reference/idl:tmpl:
2612 * docs/reference/idl:tmpl:*.sgml:
2614 Restructured docs directory to allow separate 'reference' docs
2615 section, and forked idl and cspi docs. Added the sgml template
2616 files to CVS. Added the first sections/structural sgml for the
2619 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
2621 * configure.in, libspi/Makefile.am: find libXtst.
2623 2001-11-21 Michael Meeks <michael@ximian.com>
2625 * test/accessx-gui.c: s/spi_value/value/ - doh.
2627 * libspi/base.[ch]: add.
2629 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2631 * idl/Accessible.idl:
2632 * idl/Application.idl:
2635 Started gtk-doc cleanup on IDL.
2637 * libspi/deviceeventcontroller.c:
2638 Added and connected non-preemptive key notification from the
2639 toolkits (in addition to the pre-emptive support from XServer
2640 which we had before, but which causes 'focus flashing'). Filters
2641 are presently limited to key modifiers and global/non-global,
2642 KeySets are presently ignored, as are KeyEvent masks.
2644 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
2645 structs into the persistant structure rather than just storing
2646 pointers to things that might not persist across servant
2649 The XGrabKey call now does async keygrabs, because synchronous
2650 ones were deadlocking with GDK_event code in a very nasty way.
2652 Added boolean to internal method notify_keylisteners, to indicate
2653 whether the event came from the 'toolkit source' or the 'global
2654 (XServer) source' - this is used in the notification process to
2655 determine which listeners to send the event to.
2657 deviceeventcontroller.c is now warning-free.
2659 * libspi/registry.c:
2660 Fixed regression in application de-registration.
2661 Also fixed some really brain-dead weirdness having to do with
2662 event dispatching - event structs are now duplicated before being
2663 re-marshalled in the dispatch to listeners. This also fixes a
2664 Solaris build problem.
2667 2001-20-11 Michael Meeks <michael@ximian.com>
2670 (impl_accessibility_registry_deregister_global_event_listener):
2673 * libspi/deviceeventcontroller.c
2674 (spi_device_event_controller_check_key_event): return
2675 FALSE on no virtual method.
2677 * libspi/*..h: make includes work on a correctly pathed install.
2679 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
2681 * libspi/application.h: kill unused ( and whacked out )
2682 gboolean *spi_application_set_id (AtkObject *app, long id);
2684 2001-20-11 Michael Meeks <michael@ximian.com>
2686 * libspi/*.[ch]: further convert to bonobo's type func
2687 macros, remove redundnant casts etc.
2689 * libspi/text.c s/accessibility_text/spi_text/g,
2690 re-order to de-cruft.
2692 * libspi/hypertext.c: re-order to kill a huge slew
2693 of redundant forward decls.
2695 * libspi/relation.c: ditto.
2697 * libspi/image.c: ditto.
2699 * */.cvsignore: update
2701 2001-20-11 Michael Meeks <michael@ximian.com>
2703 * libspi/deviceeventcontroller.c
2704 (_controller_register_with_devices): use g_getenv,
2705 kill stdlib.h include.
2707 * libspi/keystrokelistener.c
2708 (spi_keystroke_listener_get_type): kill
2709 (spi_keystroke_listener_class_init),
2710 (spi_keystroke_listener_init): rename to this.
2712 * libspi/text.c (impl_getAttributes): fix warning / bug.
2714 * libspi/*.[ch]: more headers, includes and over commenting.
2716 2001-20-11 Michael Meeks <michael@ximian.com>
2718 * libspi/*.[ch]: fixup headers, includes and over commenting.
2720 * libspi/image.c (impl__get_imageDescription): const
2721 correctness warning fix. remove redundant casting.
2723 * libspi/table.c (impl_getRowDescription): ditto.
2724 (impl_getColumnDescription): ditto.
2726 * libspi/libspi.h: add.
2728 2001-19-11 Michael Meeks <michael@ximian.com>
2730 * libspi/editabletext.c (impl_setAttributes): fix warnings.
2732 * libspi/component.c (accessibility_component_get_type):
2733 rename to (spi_component_get_type): and macroify.
2734 (accessibility_component_init): rename to
2735 (spi_component_init): this
2736 (accessibility_component_class_init): rename to
2737 (spi_component_class_init): this
2739 * libspi/action.c (spi_action_get_type): kill, use the macro.
2741 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
2744 * libspi/application.c (spi_application_object_event_listener),
2745 (impl_accessibility_application_register_object_event_listener):
2746 warning fixes / const understanding updates.
2748 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
2751 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2753 * libspi/spi_accessible.c: Added docs and C bindings for
2754 AccessibleStateSet. (No implementations yet). Documentation
2755 coverage for C bindings now 100%. Made docs for event listeners
2760 boolean notifyListenersSync (in DeviceEventListener listener,
2761 in DeviceEvent event);
2763 oneway void notifyListenersAsync (in DeviceEventListener listener,
2764 in DeviceEvent event);
2766 Added DeviceEventListener and DeviceEvent structs (may deprecate
2767 KeyStroke and KeystrokeListener in favor of this generic
2768 event/listener framework for devices).
2770 * libspi/deviceeventcontroller.c:
2772 Changed some key listener code to take masks, etc., and paved the
2773 way for integration of toolkit/non-preemptive key events. Changed
2774 signatures of some internal methods.
2776 * at-bridge/bridge.c:
2777 Fixed regression connecting to interface signals, apparently
2778 caused by GTK+ changes.
2780 Added an internal bridge_state_listener to deal with
2781 property-change:accessible-state signals.
2783 Changed the key_listeners GList to store structs (including masks,
2784 etc.) instead of just CORBA_Objects (required for full
2785 implementation of key listener API).
2787 Connected the bridge to all currently supported Atk signals.
2788 Events now supported:
2789 object:property-change
2790 object:property-change:accessible-name
2791 object:property-change:accessible-state
2792 object:property-change:accessible-description
2793 object:property-change:accessible-parent
2794 object:property-change:accessible-value
2795 object:property-change:accessible-role
2796 object:property-change:accessible-table-caption
2797 object:property-change:accessible-table-column-description
2798 object:property-change:accessible-table-column-header
2799 object:property-change:accessible-table-row-description
2800 object:property-change:accessible-table-row-header
2801 object:property-change:accessible-table-summary
2802 object:children-changed
2803 object:visible-data-changed
2804 object:selection-changed
2805 object:text-selection-changed
2807 object:text-caret-moved
2809 object:row-reordered
2811 object:column-inserted
2812 object:column-reordered
2813 object:column-deleted
2814 object:model-changed
2816 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2818 * libspi/hyperlink.c,h:
2819 Fixed some broken stuff in hyperlink.
2821 * libspi/relation.h:
2822 * libspi/relation.c:
2823 * cspi/spi_accessible.c:
2824 Initial implementations of AccessibleRelation methods, and docs.
2826 * libspi/accessible.c:
2827 Fixed a bug that caused SEGV if an accessible
2828 object's description is NULL, and a client
2829 requests it. An empty string is now returned.
2831 * cspi/spi_editabletext.c:
2832 * cspi/spi_hypertext.c:
2834 * cspi/spi_hyperlink.c:
2838 Doc coverage now 95%.
2840 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2842 One last namespacing revision:
2843 * libspi/accessibleeventlistener.[ch]:
2844 Renamed SpiAccessibleEventListener to SpiEventListener,
2845 (no need for two namespaces ;-)
2847 And lots of documentation fixes:
2849 * docs/at-spi-docs.sgml:
2850 Fixed 'underscore vs. hyphen' bug that was preventing
2851 the gtk-doc API docs from being automatically generated.
2854 * cspi/spi-listener.h
2856 * cspi/spi_accessible.c
2858 * cspi/spi_application.c
2859 * cspi/spi_component.c
2860 * cspi/spi_editabletext.c
2862 * cspi/spi_hypertext.c
2864 * cspi/spi_registry.c
2865 * cspi/spi_selection.c
2869 * docs/at-spi-docs.sgml
2870 * docs/at-spi-sections.txt
2872 Added and fixed up gtk-doc documentation in cspi.
2874 Interfaces now (fully) documented (subject to revision and enhancement):
2876 Event Listener Support
2878 AccessibleApplication
2882 AccessibleEditableText
2889 AccessibleRelationSet
2894 2001-14-11 Bill Haneman <bill.haneman@sun.com>
2896 * at-bridge/bridge.c:
2897 Initial work for toolkit-level key snooper connection by bridge.
2902 New typedefs and fixes to support new namespacing, and cleaner
2903 separation of cspi bindings from libspi bonobo implementation.
2904 Removed inconsistent and extraneous Spi* namespace prefix that
2905 had crept into cspi headers.
2906 Lots of comment fixes that sed had missed.
2908 * cspi/spi-roletypes.h:
2909 * cspi/spi-statetypes.h:
2910 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
2911 to AccessibleRoleType.
2913 * libspi/accessibleeventlistener.h:
2914 Fixed minor namespacing weirdness.
2916 * libspi/deviceeventcontroller.c:
2917 Reordered some internal API for device listeners.
2918 Changed the key registry final boolean to 'is_system_global'
2919 rather than 'is_synchronous', which is more descriptive of its
2921 Added spi_device_event_controller_new().
2922 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
2924 * libspi/keystrokelistener.[ch]:
2925 Namespaced KeystrokeListener to SpiKeystrokeListener.
2926 Changed uses of keymasks to use SPI_ prefix, and did other
2929 * libspi/keymasks.h:
2930 Namespaced keymask constants with SPI_ prefix.
2932 * libspi/registry.c:
2933 Some warning fixes, and knock-on fixes from namespace changes.
2936 Added rules for accessx-gui test program.
2938 * test/accessx-gui.c:
2939 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2940 utility. It doesn't actually use at-spi, but it's still cool and
2943 * test/keysynth-demo.c:
2947 Fixes so that these test clients work properly with the namespaced
2948 libraries. (Incompletely tested for technical reasons, fixes may follow)
2951 2001-13-11 Michael Meeks <michael@ximian.com>
2953 * libspi/application.c
2954 (impl_accessibility_application_get_version),
2955 (impl_accessibility_application_get_toolkit_name):
2957 (impl_accessibility_application_set_id),
2958 (impl_accessibility_application_get_id): remove
2959 redundant casting code.
2961 * libspi/action.c (impl_getDescription): fix warnings.
2963 * libspi/accessible.c
2964 (impl_accessibility_accessible_get_parent),
2965 (impl_accessibility_accessible_get_child_at_index),
2966 (impl_accessibility_accessible_get_state),
2967 (impl_accessibility_accessible_get_relation_set):
2968 warning fixes & include action.h
2970 2001-13-11 Michael Meeks <michael@ximian.com>
2972 * *.[ch] fix bits I screwed up:
2974 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2975 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2977 2001-13-11 Michael Meeks <michael@ximian.com>
2979 * *.[ch] Namespace libspi into spi_ and Spi.
2981 2001-13-11 Michael Meeks <michael@ximian.com>
2983 * Makefile.am: dist & install at-spi-1.0.pc
2985 * libspi/Makefile.am: install into at-spi-1.0
2987 * idl/Makefile.am (idldir): install into at-spi-1.0
2989 * at-spi-1.0.pc.in: add.
2991 * configure.in: build it.
2993 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2995 * test/keysynth-demo.c:
2996 Use a 'realize' signal-handler to set the WM properties for
2997 the virtual keyboard, rather than making it a "POPUP" type
2998 override-redirect window (thanks to anders carlsson for that
3001 2001-11-11 Bill Haneman <bill.haneman@sun.com>
3004 * test/keysynth-demo.c:
3005 Added new test of key synthesis, which creates a simple
3006 (mouse-operated) onscreen keyboard. It inserts key events into
3007 the currently-focused window, thus it does not grab keyboard focus
3010 * cspi/spi_registry.c:
3011 Added C binding for AT-SPI generateKeyEvent.
3013 * libspi/deviceeventcontroller.c:
3014 Added call to XFilterEvent so that key listener works with XIM (we
3015 hope). Added event_synth_type to generateKeyEvent, so that we can
3016 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
3017 synthesize a press/release pair for KeySyms.
3019 2001-11-09 Bill Haneman <bill.haneman@sun.com>
3021 * libspi/Makefile.am:
3022 * registryd/Makefile.am:
3023 (temporary) hack to include libXtst in libspi and registryd.
3024 (Needed for keystroke synthesis, see below).
3027 Improved API for registerKeystrokeListener, in accordance with
3028 discussions with Gnopernicus team and X server research.
3030 * libspi/registry.c:
3031 * libspi/deviceeventcontroller.c:
3032 * libspi/accessible.c:
3033 * libspi/keystrokelistener.c:
3034 Changes and fixes to support keylisteners for potentially
3035 consumed key events (that is, 'passive grabs').
3036 Added implementation for generateKeyEvent() [untested].
3039 Changes to registerKeystrokeListener() API, as above.
3040 Added deregisterGlobalEventListenerAll(), and
3041 deregisterKeystrokeListener(), which are needed for clean exit of
3043 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
3044 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
3046 * cspi/spi_registry.c:
3047 Added implementations of function prototypes mentioned above.
3049 * registryd/registryd.c:
3050 Added the key listener event source as a g_timeout(), to allow
3051 receipt of key events that are not caught by GDK (since GDK
3052 doesn't support passive keygrabs, this was necessary).
3055 Changed to attach a keylistener to 'Alt' keys, and
3056 respond to the following keycommands: Alt-M (toggle magnifier);
3057 Alt-F (toggle speech); Alt-Q (quit).
3058 Added an exit routine to deregister the listeners, and a key
3059 listener that prints some key info to the console when a key
3060 matches the listener mask (and is thus received by the listener).
3062 * util/idl/Magnifier.idl:
3063 Changes to magnifier API to support multiple zoom regions,
3064 non-uniform scaling in x and y, markDirty, and a host of other
3065 features that would be useful to magnification.
3068 * util/mag_client.c:
3069 * util/mag_client.h:
3070 * util/mag_control.c:
3072 Source code changes to support the above IDL changes.
3075 As above, and also changes to use a (slower) generic conversion
3076 path for colormap conversions, since the fast RGB conversions have been
3077 reported to fail for 16-bit displays.
3079 2001-10-26 Michael Meeks <michael@ximian.com>
3081 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
3083 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
3085 * at-bridge/Makefile.am: fix LDFLAGS.
3087 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
3089 * at-bridge/bridge.c:
3090 Re-worked listeners for toolkit events, now we have signal
3091 and property listeners. Added a private method
3092 register_atk_event_listeners(), which registers with the
3093 various atk and gtk signals we need to monitor in order to emit
3095 Added emission hook for AtkObject:property-change events, to
3096 support the 'property listeners'.
3097 Fixed some alloc()s of Accessibility_Event structs to use CORBA
3100 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
3101 which emit warnings and exit, respectively, if CORBA errors occur
3102 during remote calls, and we now use these methods to check most of
3103 our CORBA calls in the C bindings.
3105 * cspi/spi_accessible.c:
3106 Changed AccessibleSelection_refSelectedChild() to
3107 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
3108 now increment refcounts.
3110 * cspi/spi_component.c:
3111 Fixed some long pointer casts (dangerous!) to pass pointers to
3112 CORBA_longs of the proper type to the CORBA stubs, and copy the
3113 data into the longs that were passed into the C bindings code.
3115 * at-bridge/bridge.c:
3117 * libspi/accessible.c:
3118 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
3119 hyperlinks, AtkHyperlink is an object type.
3121 * libspi/application.c:
3122 Added various conversions to and from "generic" event types and
3123 atk-specific types; this is really part of the 'bridge'
3124 implementation but is valid for all AtkObject-based accessibility
3127 * libspi/editabletext.c:
3128 Fixed nasty bug wherein editable text's finalize method was
3129 unref'ing tha AtkObject reference that the text parent class was
3130 about to unref _again_. There was also a nasty inheritance bug
3131 that meant that the AccessibleEditableText class was corrupt.
3133 * libspi/selection.c:
3134 Provided implementations for some selection API that was broken.
3136 * idl/Application.idl:
3137 Added registerObjectEventListener () method.
3140 Fixed a number of return values that were Bonobo_Unknowns from
3141 bonobo_object_corba_objref(), which I
3142 forgot to dup before returning. Changed instances of
3143 bonobo_object_corba_objref (bonobo_object(o)) to
3144 BONOBO_OBJREF(o), for concision and clarity.
3146 <2001-10-13 Louise Miller <louise.miller@sun.com>
3148 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
3149 idl/Event.idl, idl/Registry.idl
3150 Changed these files to include Bonobo_Unknown.idl instead
3153 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
3155 * libspi/component.c libspi/component.h:
3156 Fixed typo. Added assertions for object checks in
3157 AccessibleComponent code.
3159 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
3161 * idl/Accessible.idl:
3162 Added 'isEqual (Accessible *object)'
3163 method for Accessible. (Not Yet Implemented).
3166 Changed signature of registerKeystrokeListener() to
3167 take a KeySet and KeyEventSeq so that specific keys and event
3168 types could be requested for monitoring, and added a flag
3169 is_synchronous so that either synchronous or asynchronous
3170 notification could be requested. (However this is not all
3171 implemented yet). This also meant adding two new typedefs,
3172 KeyEventSeq and KeySet.
3175 Added two new relations, RELATION_TOOLTIP_FOR and
3176 RELATION_LEAFNODE_OF.
3179 Added new state, STATE_HAS_TOOLTIP.
3181 * libspi/text.c, editabletext.c:
3182 Added new assertions to all casts of bonobo-objects from
3183 CORBA servants, to prevent Text API calls on non-text objects.
3184 Changed suspect casts of int-pointer types, so that we
3185 always send a valid CORBA_long pointer to the CORBA APIs that use
3186 in/out long parameters. We then have to copy from the CORBA_long
3187 into the regular long or int for return to the C bindings, or
3188 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
3191 * libspi/deviceeventcontroller.c:
3192 Cleaned these sources up.
3194 Changed return type for getCharacterAtOffset to
3195 CORBA_unsigned_long, to allow for 32-bit characters.
3198 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
3202 Fixed 'make dist' so that distro compiles...
3203 * libspi/keymasks.h:
3205 * cspi/spi-listener.c:
3206 KeystrokeListenerCB now returns a boolean.
3208 Added KeyEventType struct, and KeyStroke.
3209 Also added createKeystrokeListener(),
3210 KeystrokeListener_addCallback(),
3211 KeystrokeListener_removeCallback(), and added a keymask to
3212 registerKeystrokeListener().
3213 * cspi/spi_accessible.c:
3214 Changed numerous return types for interfaces from
3215 AccessibleComponent to Accessible<InterfaceName>; this was
3216 probably a cut-and-paste error.
3218 Implementations of new KeystrokeListener api (from spi.h,
3221 Changes to key modifier mapping.
3222 Created ControllerEventMask struct.
3223 Made DeviceEventController derive from Bonobo::Unknown.
3225 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3226 * libspi/deviceeventcontroller.c:
3227 Added a number of new internal (private) methods.
3228 * libspi/editabletext.c:
3229 * libspi/editabletext.h:
3230 Fixed a number of bugs related to the fact that
3231 editabletext inherits from text. Fixed the EditableText struct,
3232 the init() call, and use correct casts when calling Text methods
3233 from an EditableText object. Removed (duplicate) atko from the
3234 EditableText structure, we use the one in the parent Text
3235 structure via the casts mentioned above.
3236 * libspi/keystrokelistener.[ch]:
3237 * libspi/registry.c:
3238 Changes in support of keyboard handling (above).
3240 Keyboard handling, though partly functional, is still not
3241 recommended for at-spi client use as there is considerable
3242 work yet to be done.
3245 Changed some places where pointers to various int types
3246 are cast to be pointers to CORBA_long types and vice-versa:
3247 pointer casting is not safe so we pass pointers of the correct
3248 types and then cast the result before putting it into the target
3251 * libspi/text.h: minor typos corrected.
3253 We now speak not only the name of a Text element, but the
3254 first sentence of its content, when it receives focus.
3255 I also changed the text compression to 75% from 50%.
3256 * util/Accessibility_Util.server.in:
3257 Changed the default magnifier type to be a 3x vertical
3258 splitscreen magnifier (was previously a 2x horizontal one).
3260 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
3262 * libspi/keystrokelistener.h:
3263 * libspi/keystrokelistener.c:
3264 Initial functional implementations of KeystrokeListener.
3267 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3269 Fixed string handling for NULL strings in libspi.
3270 Added spi_freeString to free strings returned by C bindings.
3272 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
3274 * libspi/keystrokelistener.h:
3275 * libspi/keystrokelistener.c:
3276 Began (no-op) implementations of KeystrokeListener
3278 * libspi/deviceeventcontroller.c:
3279 * libspi/deviceeventcontroller.h:
3280 Began creating implementations of DeviceEventController,
3281 to handle keystroke and mouse event listening and
3283 * libspi/accessible.c:
3284 Stubbed-in the implementations for
3285 Accessibility_Accessible_getState and
3286 Accessibility_Accessible_getRelationSet.
3287 * libspi/registry.c:
3288 Improved de-registration process and fixed some bugs,
3289 deregistration now works correctly.
3291 Added initialization of applications list (to NULL).
3293 Reduced speech compression from 0.5 to 0.7, for demo.
3294 Changed call to gdk_window_set_decorations()
3295 to gtk_window_set_decorated().
3296 * at-bridge/bridge.c:
3297 Bridge now deregisters when app exits, via
3298 registration of a cleanup function
3299 with the g_atexit() call.
3300 Required making 'app' static, renamed 'this_app'.
3301 Fixed broken use of bonobo_init, passing argv wrongly.
3303 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
3307 Created a new directory for
3308 accessibility-related utilities, primarily for
3309 testing and demo purposes, but with possible
3316 Onscreen magnifier utility that
3317 is implemented as a bonobo service.
3319 * util/mag_client.c:
3320 * util/mag_client.h:
3321 Client-side support (simple C bindings)
3322 for Magnification service
3324 * util/mag_control.c:
3325 Client program example for
3326 Magnification service
3328 * util/Accessibility_Magnifier.server.in:
3329 Bonobo-activation file for the
3330 Magnification service.
3333 * util/idl/Magnifier.idl:
3334 IDL defining the bonobo Magnification
3338 Modifications to use the bonobo-activated magnifier
3339 above, in place of trying to connect to an existing
3340 magnifier that uses socket-listening IPC.
3342 If env variable MAGNIFIER is set, a magnifier service
3343 will be started if one does not exist.
3345 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
3346 * at-bridge/bridge.c:
3347 applied patch from Marc to build and run
3348 against new glib and gtk+ (seemed like a change
3349 to bonobo_init signature was made ?)
3351 made festival-server support turned off by default.
3352 Added support for a simple magnifier (off by default)
3353 which will be added to a 'util' directory later.
3354 * at-bridge/Makefile.am:
3355 Changed "application.h" header from a 'source'
3356 to a 'dependency' of libat-bridge.
3358 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3366 Added interface implementation c files to list of
3367 includes so they are included in libcspi.
3370 Changed prototype of AccessibleAction_doAction to return a
3372 Changed prototype of AccessibleTable_getCaption to
3373 return an Accessible.
3374 Changed prototype of AccessibleTable_getSelectedRows
3375 and AccessibleTable_getSelectedColumns to
3376 return a long (returns the number of selected rows
3377 or columns respectively).
3378 Changed name of AccessibleText_refRunAttributes to
3379 AccessibleText_getAttributes.
3380 Changed prototype of AccessibleText_getCharacterExtents to
3381 return a void rather than a boolean.
3382 Added support for a AccessibleCoordType parameter
3383 specifying what type of coordinates are desired.
3384 Added an AccessibleCordType parameter to
3385 AccessibleText_getPointAtOffset.
3387 * cspi/spi_accessible.c:
3388 Added code to return the outstanding interfaces from
3389 Accessible_queryInterface.
3391 * cspi/spi_action.c:
3393 Corrected call to getNActions to call the c binding
3396 * cspi/spi_editabletext.c:
3398 Changed name from setRunAttributes to setAttributes.
3400 * cspi/spi_hyperlink.c:
3402 Changed call to getNAnchors to correctly call the c
3403 binding for an attribute.
3405 * cspi/spi_hypertext.c:
3407 Changed getImageDescription to correctly call the
3408 binding for an attribute.
3410 * cspi/spi_selection.c:
3411 Changed getNSelectedChildren to correctly call the c
3412 binding for the attribute.
3413 Changed refSelectedChild to getSelectedChild.
3417 Changed getCaption to return an Accessible.
3418 Fixed calls which retrieve attributes.
3419 Changed refAt to getAccessibleAt.
3420 Changed getNSelectedRows and getNSelectedColumns to
3424 Changed getCharacterExtents and getPointAtOffset to accept an
3425 AccessibleCoordType.
3427 Changed calls which retrieve attributes.
3428 Changed refRunAttributes to getAttributes.
3433 * idl/Hyperlink.idl:
3434 Changed n_anchors attribute to nAnchors to keep naming
3435 convention consistent.
3438 Made Table inherit from Bonobo::Unknown.
3439 Added nSelectedColumns and nSelectedRows attributes.
3442 Made Value inherit from Bonobo::Unknown.
3444 * libspi/hyperlink.c:
3445 Change for nAnchors attributte name change.
3447 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3455 Added interface implementation c files to list of
3456 includes so they are included in libcspi.
3459 Changed prototype of AccessibleAction_doAction to return a
3461 Changed prototype of AccessibleTable_getCaption to
3462 return an Accessible.
3463 Changed prototype of AccessibleTable_getSelectedRows
3464 and AccessibleTable_getSelectedColumns to
3465 return a long (returns the number of selected rows
3466 or columns respectively).
3467 Changed name of AccessibleText_refRunAttributes to
3468 AccessibleText_getAttributes.
3469 Changed prototype of AccessibleText_getCharacterExtents to
3470 return a void rather than a boolean.
3471 Added support for a AccessibleCoordType parameter
3472 specifying what type of coordinates are desired.
3473 Added an AccessibleCordType parameter to
3474 AccessibleText_getPointAtOffset.
3476 * cspi/spi_accessible.c:
3477 Added code to return the outstanding interfaces from
3478 Accessible_queryInterface.
3480 * cspi/spi_action.c:
3482 Corrected call to getNActions to call the c binding
3485 * cspi/spi_editabletext.c:
3487 Changed name from setRunAttributes to setAttributes.
3489 * cspi/spi_hyperlink.c:
3491 Changed call to getNAnchors to correctly call the c
3492 binding for an attribute.
3494 * cspi/spi_hypertext.c:
3496 Changed getImageDescription to correctly call the
3497 binding for an attribute.
3499 * cspi/spi_selection.c:
3500 Changed getNSelectedChildren to correctly call the c
3501 binding for the attribute.
3502 Changed refSelectedChild to getSelectedChild.
3506 Changed getCaption to return an Accessible.
3507 Fixed calls which retrieve attributes.
3508 Changed refAt to getAccessibleAt.
3509 Changed getNSelectedRows and getNSelectedColumns to
3513 Changed getCharacterExtents and getPointAtOffset to accept an
3514 AccessibleCoordType.
3516 Changed calls which retrieve attributes.
3517 Changed refRunAttributes to getAttributes.
3522 * idl/Hyperlink.idl:
3523 Changed n_anchors attribute to nAnchors to keep naming
3524 convention consistent.
3527 Made Table inherit from Bonobo::Unknown.
3528 Added nSelectedColumns and nSelectedRows attributes.
3531 Made Value inherit from Bonobo::Unknown.
3533 * libspi/hyperlink.c:
3534 Change for nAnchors attributte name change.
3537 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
3539 implementations-- made server implementations own AtkObject pointers
3540 rather than their respective AtkInterrface pointers to fix
3541 refcounting. AtkHyperlink is still broken.
3543 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
3544 * cspi/spi_accessible.c:
3545 Added method Accessible_Role_getName(),
3546 and requisite string array (role_names).
3547 Added conversion string_from_corba_strin() call
3548 to Accessible_getName and _getDescription.
3549 * libspi/accessible.c:
3550 Added implementation for Accessible_getRole()
3552 Added festival support, used if environment variable
3555 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3557 * at-bridge/bridge.c:
3558 Now allocate Accessibility_Event using
3559 Accessibility_Event__alloc() instead of g_new0().
3560 * libspi/accessibleeventlistener.c:
3561 Initialize AccessibleEventListener->callbacks to NULL.
3562 Fixed accessible__event_listener_init() param, changed to
3563 "AccessibleEventListener *" type.
3564 Changed a bonobo_object_release_unref() call to
3565 Accessibility_Accessible_unref().
3566 * libspi/listener.c:
3567 Changed Bonobo_Unknown_unref to (equivalent)
3568 Accessibility_Accessible_unref.
3569 * libspi/registry.c:
3570 Changed bonobo_object_release_unref to
3571 Accessibility_Accessible_unref.
3573 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3576 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
3577 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
3578 spi-util.c spi-util.h
3579 Implementations for C bindings to remaining accessibility
3582 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3585 changed return value of Action from void to boolean to
3586 bring in line with ATK.
3589 Changed getText funcions to return "out" start and end offsets.
3590 Changed getAttributes to take and offset and return the start
3591 and end offset of the attribute run.
3592 Changed getOffsetAtPoint and getCharacterExtents to take an
3593 enum describing whether coordinates are window or screen.
3596 libspi/action.c libspi/action.h libspi/editabletext.c
3597 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
3598 libspi/hypertext.c libspi/hypertext.h libspi/image.c
3599 libspi/image.h libspi/selection.c libspi/selection.h
3600 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
3601 libspi/value.c libspi/value.h
3602 Added server implementations for outstanding ATK interfaces
3603 not yet implemented.
3605 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3608 Added (missing) getName() method.
3609 Made nActions an attribute.
3610 * idl/EditableText.idl:
3611 Changed order of params in setAttributes.
3612 * idl/Hyperlink.idl:
3613 Removed getAnchor, added getURI.
3615 Changed attributes to methods, for efficiency
3616 (so that getting extents can be done in one call)
3617 * idl/Selection.idl:
3618 Changed nSelectedChildren to attribute, and re-indented.
3619 * idl/Table.idl: changed nrows, ncolumns, caption, summary
3621 * idl/Text.idl: reformatted to match our coding style.
3622 (temporarily?) removed getRowColumnAtOffset().
3623 Changed text selection API to support multi-select and
3624 non-contiguous selections, as in ATK.
3625 * idl/Value.idl: changed some methods to attributes.
3627 2001-08-24 Mark McLoughlin <mark@skynet.ie>
3629 * libspi/listener.c(impl_notify_event):
3630 BonoboUnkown_unref the source instead
3631 of bonobo_object_release_unref - the ORB
3632 handles the releasing.
3634 * configure.in: require ORBit-2.3.94 for
3637 2001-08-21 Bill Haneman <bill.haneman@sun.com>
3639 Tagged CVS repository 'EA_1_0'.
3640 * README.EARLY_ACCESS:
3641 Alphabetized acknowledgements list, and
3643 Listed some known dependencies of at-spi.
3645 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3647 * docs/at-spi-docs.sgml:
3648 * docs/at-spi-sections.txt:
3649 * docs/at-spi-overrides.txt: (Added zero-length file)
3650 Documentation improvements - gtk-doc should build
3651 docs for all implemented C bindings now.
3654 * cspi/spi.c: (New file)
3655 * cspi/spi_event.c: (New file)
3656 * cspi/spi_registry.c: (New file)
3657 * cspi/spi_accessible.c: (New file)
3658 * cspi/spi_application.c: (New file)
3659 * cspi/spi_component.c: (New file)
3660 Split spi_main.c into six parts, and included them from
3661 "spi.c". This is a bit of a hack, probably temporary,
3662 but required by gtk-doc, apparently.
3664 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3667 * docs/at-spi-docs.sgml:
3668 * docs/at-spi-sections.txt:
3670 Initial checkins/modifications for gtk-doc generation.
3673 Added (missing) interface query methods to Accessible's C binding.
3675 Added GenericInterface type definition.
3677 Added query for AccessibleComponent interface to focus event handler.
3678 Added printout of bounding box for focussed component.
3679 * libspi/component.c:
3680 Added partial implementation for AccessibleComponent to C binding.
3681 * idl/Application.idl:
3682 * libspi/registry.c:
3683 * libspi/listener.c:
3684 * libspi/application.c:
3685 * libspi/application.h:
3686 Changed "ID" attribute type from string to long.
3688 2001-08-19 Bill Haneman <bill.haneman@sun.com>
3692 Made method naming consistent: methods taking object args
3693 start with uppercase, other methods (except those using
3694 acronyms) start with lowercase. Underscores delimit between
3695 object names and method names:
3696 SPI_init() - uppercase since it starts with an acronym.
3697 getDesktopCount () - lowercase start since no object param0.
3698 Accessible_getName() - uppercase object type name, studlyCaps method
3702 Added gtk-doc documentation for all currently implemented
3703 methods in the C bindings API.
3705 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3707 * Makefile.am : changed build order to build test last.
3710 Changed "createEventListener" to "CreateEventListener".
3711 * libspi/accessibleeventlistener.c :
3712 Bugfix for addition of callbacks.
3713 * test/Makefile.am :
3714 * test/simple-at.c :
3715 Added new test that uses the C bindings API.
3717 * libspi/listener.c :
3718 * libspi/registry.c :
3719 * libspi/accessibleeventlistener.c :
3720 * at-bridge/bridge.c :
3721 Renamed member "target" of Accessibility_Event to "source",
3722 which is more descriptive.
3725 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3729 * cspi/Makefile.am :
3730 Added makefile support for at-spi/cspi directory.
3733 * cspi/spi-listener.h : (NEW FILE)
3734 Added support for/use of spi-listener.h.
3736 C bindings now build successfully, with no warnings.
3737 * libspi/accessibleeventlistener.h : (NEW FILE)
3738 * libspi/accessibleeventlistener.c : (NEW FILE)
3739 * libspi/Makefile.am :
3740 Added new object type "AccessibleEventListener"
3741 which inherits from Listener, and allows attachment
3742 of in-process callbacks (so that a client with a listening
3743 object instance can add functionality to the local
3744 implementation, dynamically).
3746 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3748 * libspi/accessible.c:
3749 Add implementation for get_index_in_parent().
3751 Added #include of "spi-roletypes.h", and
3752 added enumerated type AccessibleCoordType.
3753 Added definition for KeystrokeListener (function type).
3756 * cspi/spi-statetypes.h :
3757 * cspi/spi-roletypes.h :
3759 Added these headers, used by spi.h.
3761 Added code (NOTE: not yet built by make).
3763 2001-08-18 Mark McLoughlin <mark@skynet.ie>
3765 * libspi/Makefile.am: generate imodule
3766 at the same time as other idl compiler
3769 2001-08-17 Bill Haneman <bill.haneman@sun.com>
3770 * libspi/registry.c :
3771 * libspi/application.c :
3772 * idl/Application.idl :
3773 Made registration with toolkit an application method,
3774 which is required since each app has its own toolkit static
3775 environment. Thus the bridge must register for
3776 notification of toolkit events from each application in turn.
3777 Toolkit notifications are now successfully registered for, and
3778 sent to the listening at client.
3780 Changed toolkit event string to use hyphens rather than underscores.
3781 * libspi/listener.c :
3782 listner now gives more info in debug mode - it reports the
3783 name of the event received, as well as the name of the source.
3786 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3788 * libspi/registry.c :
3789 added more implementation for toolkit events.
3790 Fixed bug such that toolkit event registrations
3791 (via atk) use the whole event name string, not
3793 Removed a useless call to an ORBit_ method.
3794 * at-bridge/bridge.c :
3795 Removed unused local sbuf[] variable.
3797 We now register for Gtk:GtkWidget:button_press_event
3798 events as well as "focus:" events.
3800 Add some more API from Registry.idl that was missing,
3801 for keystroke listening, keystroke and mouse event
3802 synthesis, and enumeration of accessible desktops.
3804 2001-08-16 Michael Meeks <michael@ximian.com>
3806 * configure.in: use AM_GLIB_GNU_GETTEXT.
3808 * Makefile.am (SUBDIRS): kill intl.
3810 2001-08-15 Michael Meeks <michael@ximian.com>
3812 * registryd/Makefile.am: s/oaf/server/ relocate info file.
3814 * configure.in: upd.
3816 * configure.in: depend on a recent bonobo-activation that
3817 will find our server files ...
3819 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3821 * libspi/accessible.c : accessible_new() :
3822 Now we add the Component interface via bonobo_object_add_interface,
3823 if the contained AtkObject implements AtkComponent.
3824 * libspi/accessible.h : now include "component.h"
3825 * libspi/component.h :
3826 * libspi/component.c : added files - implementation of
3827 bonobo wrapper object for Accessibility/Component
3828 * libspi/listener.c :
3829 Added test code to check for Accessibility/Component:1.0
3830 interface and report whether it is implemented by the
3832 * libspi/registry.c :
3833 Now we check for not only the hash of the whole event
3834 string before relaying the event, we also check the
3835 "minor" event string (without the detail string).
3836 This allows event listeners to be registered against
3837 all events of a certain major+minor type, or just
3838 against a specific major+minor+detail type.
3839 * libspi/accessible.c :
3840 Added implementations for Accessible:get_parent(),
3841 Accessible:getChildCount(), and Accessible:getChildAtIndex().
3842 * libspi/registry.c :
3843 * libspi/listener.c :
3844 Replaced calls to Accessibility_Accessible_ref() and
3845 Accessibility_Accessible_unref() with
3846 calls to bonobo_object_dup_ref() and
3847 bonobo_object_release_unref(), so that the CORBA object
3848 is dup-ed and released when relayed, as well as the bonobo object.
3850 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3852 * libspi/Makefile.am,
3853 registryd/Makefile.am,
3854 at-bridge/Makefile.am.
3855 test/Makefile.am, configure.in:
3856 reverse previous changes.
3858 * /idl/Image.idl: fix typo.
3860 * test/Makefile.am: put DEBUG_FLAGS
3863 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3865 * test/app.c: use argv[0] instead of
3868 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3870 * libspi/Makefile.am,
3871 registryd/Makefile.am,
3872 at-bridge/Makefile.am.
3873 test/Makefile.am, configure.in:
3874 cleanup, replace individual LIBS/CFLAGS with
3875 AT_COMMON_{LIBS|CFLAGS}.
3879 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3881 * configure.in, libspi/Makefile.am:
3882 Change IDL path checking for bonobo-activation
3885 2001-08-15 Bill Haneman <bill.haneman@sun.com>
3887 * registryd/registry.c : separated event listeners to use
3888 3 separate lists (focus, window, toolkit). Began testing
3889 event names against hashes before relaying events.
3890 * test/at.c : now register for events of type "focus:"
3891 * test/app.c : now generate events of type "focus:"
3892 * at-bridge/bridge.c : register with ATK for focus events,
3893 and we now relay those focus events to any "focus:" listeners.
3894 This now works with the bridge as a GTK_MODULE when running test/at.
3895 * libspi/registry.c :
3896 * libspi/listener.c :
3897 now we ref event sources before propagating, and unref on receipt.
3898 * libspi/registry.c :
3899 some changes to internal structs, to support event typestring hashes.
3900 * text/app.c : changed the way the appname is generated.
3901 * cspi : added directory that will hold the C bindings library for
3902 non-CORBA/bonobo-savvy clients.
3903 * cspi/spi.h : header file that contains the function prototypes for the C binding.
3904 * idl/Component.idl : added in parameter to indicate coord system for
3905 geometry-related calls.
3906 * idl/Hyperlink.idl : added readonly n_links attribute
3907 * idl/Image.idl : changed methods to attributes.
3909 2001-08-15 Mark McLoughlin <mark@skynet.ie>
3911 * at-bridge/Makefile.am: link against
3912 ../libspi/libspi.la instead of -lspi.
3914 * at-spi/test/app.c: include
3915 bonobo-activation.h. Use a default appname
3916 if one is not provided.
3918 2001-08-14 Bill Haneman <bill.haneman@sun.com>
3920 * idl/Registry.idl : temporarily changed register_Application
3921 to oneway, to work around issue with initial registration
3923 * idl/Application.idl : changed attribute "id" from readonly
3924 to read-write, since it needs to be assigned by Registry.
3925 * registryd/registryd.c : added call to set application id
3927 * registryd/registry.c : changed de-registration procedure to
3928 use CORBA_Object_hash() to find matching object ref in application
3929 lists and listener lists.
3930 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
3931 began distinguishing between event types (work in progress).
3933 2001-08-13 Bill Haneman <bill.haneman@sun.com>
3936 * libspi/application.c:
3937 Added implementations for get/set id, get_toolkitName,
3939 * registryd/registryd.c :
3943 Converted from use of OAF to bonobo-activation.
3944 * libspi/desktop.h :
3945 * libspi/desktop.c :
3947 Removed references to atksimpleobject, since base atkobject
3948 implementation now provides functionality we need.
3949 * libspi/atksimpleobject.c :
3950 * libspi/atksimpleobject.h :
3955 * at-bridge/Makefile.am
3956 * at-bridge/bridge.c
3959 Added directory "bridge" and contents, and added dependencies
3960 in Makefile.am/configure.in.
3961 Initial checkin of "at-bridge".
3962 This code is a GTK_MODULE which automatically registers
3963 GTK+ apps with the accessibility registry, using an object
3964 reference to the root ATK object.
3966 2001-08-10 Mark McLoughlin <mark@skynet.ie>
3968 * po/Makefile.in.in: Remove. Again. If this
3969 doesn't get autogenerated - you need to update
3972 2001-08-07 Mark McLoughlin <mark@skynet.ie>
3974 * po/Makefile.in.in: Add. Again.
3976 2001-07-31 Bill Haneman <bill.haneman@sun.com>
3978 * libspi/accessible.c : added support for 'description' property.
3979 * libspi/accessible.c
3981 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3982 (since the two are now equivalent in libbonobo)
3990 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3991 Bonobo::Unknown as does Accessibility::Accessible.
3992 * idl/StreamableContent.idl : as above, and replaced internal InputStream
3993 interface with Bonobo::Stream, since it was redundant with it.
3994 (The Stream returned by a StreamableContext object is expected to
3995 implement only a subset of Bonobo::Stream)
3997 2001-07-28 Anders Carlsson <andersca@gnome.org>
3999 * libspi/accessible.c (accessible_object_finalize): Change
4000 g_free to g_object_unref since the AtkObject is a GObject.
4002 2001-07-30 Bill Haneman <bill.haneman@sun.com>
4004 * idl/Accessibility.idl: add new IDL files
4007 * idl/Action.idl: Definitions of actionable UI object
4008 * idl/Component.idl: Definitions of UI component geometry, etc.
4009 * idl/Hyperlink.idl: Defs of hyperlink behavior
4010 * idl/Image.idl: Def of accessible image
4011 * idl/Selection.idl: Definition of UI object with selectable children
4012 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
4013 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
4014 * idl/Text.idl: Interface defs for UI elements with complex textual content
4015 * idl/Value.idl: Definition of UI element that is a value controller or display
4017 2001-07-27 Michael Meeks <michael@ximian.com>
4019 * po/Makefile.in.in: remove autogenerated file from CVS.
4021 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
4024 * idl/Registry.idl: include guard.
4026 * idl/Accessibility.idl: Add, and include all the other IDL
4029 * idl/*.idl: remove mass of pragmas etc.
4031 2001-07-26 Michael Meeks <michael@ximian.com>
4033 * registryd/Makefile.am (registryd_SOURCES): remove
4036 2001-07-27 Mark McLoughlin <mark@skynet.ie>
4038 * libspi/.cvsignore, registryd/.cvsignore,
4039 test/.cvsignore: updated.
4041 * po/Makefile.in.in: gettext update.
4043 2001-07-25 Bill Haneman <bill.haneman@sun.com>
4045 * initial CVS checkin
4047 2001-06-29 Michael Meeks <michael@ximian.com>
4049 * configure.in: add AM_CONFIG_HEADER to gen config.h