1 2002-06-03 Bill Haneman <bill.haneman@sun.com>
5 Removed #ifdef KEY_IMPL_WORKS guards.
7 Removed #ifdef KEY_IMPL_WORKS guards.
8 Fixed bug which was causing a hang waiting for a
9 "press" event (which was already overwritten by a "release"
10 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
12 Added code to set globals 'key_press_received' and
13 'key_release_received'.
16 Added section "1.1 API Proposed Additions" which
17 lists API additions desired for at-spi-1.1 (only one so far).
18 Updated TODO list a little.
20 2002-06-02 Bill Haneman <bill.haneman@sun.com>
22 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
25 * configure.in: Revved to 1.0.0.
27 * idl/Accessibility_Registry.idl:
28 (registerKeystrokeListener):
29 Added boolean return value.
31 * registryd/registry.c:
32 (notify_listeners_cb): Minor fix to debug output.
34 * registryd/Accessibility_Registry.server.in.in:
35 Revved version number in OAFIID to 1.0.
37 * registryd/registryd.c:
39 Use new OAFIID version.
41 * cspi/bonobo/cspi-bonobo.c:
43 Use new OAFIID version.
49 * atk-bridge/bridge.c:
51 Use new OAFIID version.
53 * registryd/deviceeventcontroller.c:
54 (impl_register_keystroke_listener):
55 Added CORBA_boolean return value.
56 (spi_controller_register_device_listener):
57 Added gboolean return value.
58 (spi_controller_register_global_keygrabs):
59 Added gboolean return value.
60 (spi_key_set_contains_key):
61 Added implementation for many more control keys,
62 for instance F1-F12, arrow keys, End, Home, Page_Up,
64 [TODO: some still not implemented].
66 * text/screen-review-test.c:
67 (text_chunk_pad_string):
68 New function: it provides mapping between coordinate
69 positions of text chunks and character positions in the
70 screen-review-line output string.
71 (text_chunk_to_string):
72 New function, calls text_chunk_pad_string with various
73 pad/delimiter characters. Pushbuttons are delimited with
74 square brackets, Frames with vertical 'pipe' lines, and
75 other text with double quotes.
76 (text_chunk_list_to_string):
77 Calls new function text_chunk_to_string.
79 New function to composite layers CANVAS through
80 POPUP in each toplevel (other layers are composited
81 across toplevels, i.e. BACKGROUND and OVERLAY).
82 (review_buffer_composite):
83 Revise to use new methods.
89 2002-05-31 Laszlo Peter <laca@sun.com>
91 * configure.in: add the Xtst libdir to the runpath on Solaris,
92 since it's not in the default library search path.
94 2002-05-29 jacob berkman <jacob@ximian.com>
96 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
98 2002-05-29 Bill Haneman <bill.haneman@sun.com>
100 * test/screen-review-test.c:
101 (text_chunk_pad_string):
102 Added method, which pads the string according to the
103 text bounds of the chunk. It also takes a 3-character
104 string as a param which indicates the characters to be
105 used for start, padding, and end delimitation of the chunk.
106 (text_chunk_to_string):
107 Changed to use text_chunk_pad_string.
109 * configure.in: Fixed bug in AC_OUTPUT that was
110 causing path substitution in Accessibility_Registry.server
113 2002-05-23 Bill Haneman <bill.haneman@sun.com>
115 * text/screen-review-test.c:
117 New method which attempts a best-guess at clipping
118 text from components (like Java labels) which don't
119 actually implement AccessibleText. This inaccurate
120 clip is based on the assumption that the label is
121 justified left-and-right, and monospaced.
122 (text_chunk_get_clipped_string):
123 We now call guess_string_clip() for text-containing
124 components that don't implement AccessibleText.
126 * test/screen-review-test.c:
127 (review_buffer_get_text_chunk):
128 We now pull "name" from labels if they do not implement
129 AccessibleText (i.e. for Java labels).
130 (get_screen_review_line_at):
131 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
134 Replaceded AC_OUTPUT target
135 registryd/Accessibility_Registry.server with
136 registryd/Accessibility_Registry.server.in.
138 * registryd/Accessibility_Registry.server.in:
139 Removed (this is now a Makefile target).
141 * registryd/Accessibility_Registry.server.in.in:
142 Added (source for target above). We now use $(libexecdir) as
143 prefix for the executable at-spi-registryd.
145 * registry/Makefile.am:
146 Now install at-spi-registryd into $(libexecdir), and build .server
147 file with path (see above).
149 2002-05-22 Bill Haneman <bill.haneman@sun.com>
151 * test/screen-review-test.c:
152 (text_chunk_get_clipped_string):
153 We now check to see if words fall within clip bounds
154 before resorting to character-by-character clip bounds testing.
156 * TODO: Added a section for "2.2 Proposed API Additions".
158 2002-05-21 Bill Haneman <bill.haneman@sun.com>
160 * test/screen-review-test.c:
162 Added a screen review benchmarking and test program to test
165 * cspi/spi_accessible.c:
167 Made some of the debug strings passed to cspi_check_ev a
168 little more specific.
170 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
172 * test/screen-review-test.c: Fix crashes in debug statements
174 2002-05-20 Bill Haneman <bill.haneman@sun.com>
176 * test/screen-review-test.c: Added this file.
178 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
180 * atk-bridge/bridge.c: changed "object:state-change" to
181 "object:state-changed" to match docs.
183 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
185 * atk-bridge/bridge.c: Hooked up state-change event details.
187 2002-05-11 Bill Haneman <bill.haneman@sun.com>
189 * registryd/registry.c:
190 Fixed quarking bug in event string parsing; now events with
191 detail parameters get matched correctly to listeners.
194 * util/idl/Magnifier.idl: remove.
196 * util/*.[ch]: Remove.
197 Magnification utilities and IDL are now in module gnome-mag.
199 2002-05-10 Bill Haneman <bill.haneman@sun.com>
201 * registryd/deviceeventcontroller.c:
202 Fixed bug in grab key conversion which was causing keycode grabs
203 to be converted to AnyKey grabs.
206 updated NEWS file to reflect recent spin-off of gnome-mag.
208 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
210 * cspi/spi_accessible.c: Added exception checks. Fixed completely
211 busted AccessibleStateSet_compare. Removed redundant casts.
213 * cspi/spi-action.c: Removed redundant casts.
215 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
217 * cspi/spi_component.c: Fixed typos and casting error.
219 * cspi/spi_editabletext.c: Removed redundant casts.
221 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
223 * cspi/spi_hypertext.c: Eliminated redundant casts.
225 * cspi/spi_image.c: Eliminated redundant casts.
227 * cspi/spi_registry.c: Eliminated redundant casts.
228 SPI_deregisterGlobalEventListenerAll () removed retval variable.
229 * cspi/spi_selection.c: Removed redundant casts.
230 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
231 handling. Screen geometry and text offsets were being returned as 0
232 on error which is technically valid-- changed these to return -1.
233 Added marshaller for text boundary types to fix bug with boundary
234 types being passed incorrectly to atk.
236 2002-05-09 Bill Haneman <bill.haneman@sun.com>
239 * cspi/spi_registry.c:
240 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
241 which was uncovered by the recent key changes.
243 2002-05-09 Bill Haneman <bill.haneman@sun.com>
245 * test/event-listener-test.c:
247 Added new test, "event-listener-test";
248 this code does two things; it benchmarks traversal time
249 for the accessible hierarchy for the first running accessible
250 app, and it connects listeners for all supported event types.
251 It is thus useful as an example event listener and for
252 diagnostics/debugging of event generation.
254 2002-05-08 Bill Haneman <bill.haneman@sun.com>
257 Removed unnecessary dependency on libutil.
260 Revved micro version: 0.13.1
262 2002-05-08 Bill Haneman <bill.haneman@sun.com>
265 Removed util/Makefile from targets.
268 Removed util subdir from SUBDIRS (temporarily,
269 pending removal of magnifier-only code
273 #ifdef-ed out magnifier dependencies, since
274 magnifier IDL, headers, and binary now live in
275 module gnome-mag and we don't want at-spi to depend
276 on gnome-mag. A magnifier demo which can run alongside
277 simple-at is forthcoming in the gnome-mag module.
279 NOTE: Split magnifier binary, IDL, and magnification
280 activation code from at-spi into module gnome-mag.
282 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
284 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
285 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
287 2002-05-03 Bill Haneman <bill.haneman@sun.com>
290 Revved to version 0.13.0
292 * idl/Accessibility_Registry.idl:
293 Changed definition of KeySet from sequence of longs to sequence of
294 KeyDefinitions, and added KeyDefinition struct.
295 Required for fix to bug 80616.
297 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
298 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
299 to use new definition (see above).
301 * registryd/deviceeventcontroller.c: handle_keygrab(),
302 spi_keyset_contains_key():
303 Changed to make use of new struct; this allows matching based on
304 string key-name, for instance "Tab". This also allows matching of
305 composed characters, non-alphanumeric characters in a way that
306 doesn't involve dependencies on X keysym codes directly, etc.
308 * test/key-listener-test.c:
309 Added test for Alt-Tab key using "string" specification of keyset,
310 and modified one of the tests to use a keycode-based keyset.
311 Thus this test both tests and demonstrates the creation and use of
312 keysets of three forms: specified via keycode array,
313 keysym array, and string array. (The string case only contains a
314 single string, i.e. a string array of length 1).
317 Turned on PRINT_TREE option by default. Also fixed a
318 string-freeing bug in the PRINT_TREE code.
319 Added a listener to window:minimize events.
321 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
323 * atk-bridge/bridge.c:
324 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
325 for window:activate and window:deactiveate
326 (atk_bridge_property_event_listener atk_bridge_signal_listener
327 atk_bridge_window_event_listener) Tidy debug code
329 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
331 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
332 Fixed handling for NULL return value from ATK.
334 * libspi/action.c libspi/component.c libspi/editabletext.
335 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
336 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
337 Removed redundant casts.
339 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
340 Fixed off by one bug.
342 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
343 function not present in idl)
345 2002-05-02 jacob berkman <jacob@ximian.com>
347 * atk-bridge/Makefile.am: make atk-bridge a real module
349 2002-04-26 Radek Doulik <rodo@ximian.com>
351 * libspi/stateset.c (spi_init_state_type_tables): fix size of
352 atk_state_types table
354 2002-04-22 jacob berkman <jacob@ximian.com>
357 * libspi/Makefile.am: add deps on the built files to help
358 automake, and don't version the ORBit typelib
360 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
362 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
363 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
364 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
365 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
366 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
367 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
368 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
369 libspi/accessible.h libspi/accessible.h libspi/base.h
370 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
371 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
372 libspi/relation.h libspi/remoteobject.h libspi/selection.h
373 libspi/spi-private.h libspi/statetset.h libspi/table.h
374 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
375 util/mag_client.h util/mag_control.c util/mag_image.c
376 util/mag_image.h util/magnifier.c util/magnifier.h:
377 Add missing file headers; standardize existing ones
379 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
381 * atk-bridge/bridge.c: Added window event support.
383 2002-04-18 Michael Meeks <michael@ximian.com>
385 * libspi/relation.c (impl_getNTargets): impl.
386 (impl_getTarget): impl.
388 * libspi/Makefile.am: fix stateset install.
390 2002-04-17 Bill Haneman <bill.haneman@sun.com>
393 Started putting useful info in this file.
395 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
397 * atk-bridge/bridge.c:
398 Propagate state-changed notifications to ATs
400 * cspi/spi_registry.c: update docs to reflect actual behavior of
403 2002-04-17 Bill Haneman <bill.haneman@sun.com>
406 Incremented version to 0.12.1
409 Add missing declaration for magnifier_exit,
410 used by mag_control.c - Forte compiler didn't like
411 the implicit redeclaration of the function :-(
414 2002-04-16 Bill Haneman <bill.haneman@sun.com>
417 Revved version to 0.12 due to API change (see below).
419 * cspi/spi-roletypes.h:
420 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
421 definition from the inline docs, and added docs
422 for SPI_ROLE_LAST_DEFINED.
425 * cspi/spi_streamablecontent.c:
426 Added missing seek_type parameter to
427 (so far unused) method,
428 AccessibleStreamableContent_seek().
429 [ RT approval JodyG. ]
432 Fixed docs for SPI_createAccessibleKeystrokeListener.
434 * cspi/spi_registry.c:
435 Fixed docs for SPI_KEYSET_ALL_KEYS.
437 * docs/reference/cspi/at-spi-cspi-sections.txt:
438 Added a number of missing APIs to SECTIONS.
440 2002-04-16 Bill Haneman <bill.haneman@sun.com>
442 * registryd/Makefile.am:
444 * cspi/bonobo/Makefile.am:
445 Add $(X_LIBS) to makefiles.
447 2002-04-15 Bill Haneman <bill.haneman@sun.com>
450 Revved version to 0.11.
452 * libspi/component.c:
453 Added implementation for grabFocus.
455 * idl/Accessibility_Component.idl
456 (Accessibility_Component_grabFocus):
457 Made this method return boolean to indicate success or failure, to
458 be consistent with cspi and the corresponding ATK method.
460 * idl/Accessibility_Selection.idl
461 (Accessibility_Selection_selectAll) :
462 Made these methods return boolean to indicate success or
463 failure, to be consistent with cspi and the corresponding ATK methods.
465 * idl/Accessibility_EditableText.idl
466 (Accessibility_EditableText_setTextContents,
467 Accessibility_EditableText_insertText,
468 Accessibility_EditableText_cutText,
469 Accessibility_EditableText_deleteText,
470 Accessibility_EditableText_pasteText):
471 Made these methods return boolean to indicate
474 * cspi/spi_editabletext.c:
475 Made these methods return booleans.
477 * libspi/selection.c:
478 * libspi/component.c:
479 * libspi/editabletext.c:
480 Connected the boolean returns from ATK
481 to the server-side code referenced above.
483 2002-04-14 Bill Haneman <bill.haneman@sun.com>
485 * idl/Accessibility_Table.idl: Added missing methods,
486 Accessibility_Table_addRowSelection,
487 Accessibility_Table_addColumnSelection,
488 Accessibility_Table_removeRowSelection,
489 Accessibility_Table_removeColumnSelection.
492 Added C wrappers for above IDL:
493 AccessibleTable_addRowSelection,
494 AccessibleTable_addColumnSelection,
495 AccessibleTable_removeRowSelection,
496 AccessibleTable_removeColumnSelection.
499 Added server-side implementation code for IDL above, connecting
500 to pre-existing ATK api.
502 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
504 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
506 * libspi/accessible.c: Added implementation fo
507 Accessibility_Accessible_get_state.
509 * libspi/libspi.h: Added stateset.h to the list of includes.
511 * libspi/stateset.c: Fixed broken implementation.
513 2002-04-13 Bill Haneman <bill.haneman@sun.com>
516 Added implementation code for Accessibility_Magnifier_exit ().
518 * util/mag_control.c:
519 Added test code for above method; you can
520 now kill an existing magnifier via
521 ./mag_control q, from the util directory.
523 * test/key-listener-test.c:
525 Added a new test, for our key listener API.
527 2002-04-11 Bill Haneman <bill.haneman@sun.com>
529 * test/app.c, test/keysynth-demo.c:
531 Replace use of snprintf with g_snprintf.
532 (fix for bugzilla 78249)
534 2002-03-27 Michael Meeks <michael@ximian.com>
538 * util/Makefile.am (INCLUDES): fix.
539 (DONT_DIST_SOURCE): don't distribute the
542 * libspi/Makefile.am (dist-hook): ditto.
544 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
546 * libspi/hypertext.c:
547 Fix warnings when yelp is used with atk-bridge
549 2002-03-21 Michael Meeks <michael@ximian.com>
551 * libspi/application.c (spi_application_new):
552 use spi_accessible_construct so we use the AtkObject
555 2002-03-19 Michael Meeks <michael@ximian.com>
557 * registryd/registry.c (desktop_remove_application),
558 (desktop_add_application): clean coding style.
560 * registryd/desktop.c (spi_desktop_remove_application),
561 (spi_desktop_add_application): kill re-enterency hazards.
562 (spi_desktop_dispose): remove bogus redundant cast
563 obscuring bug; fix bug too.
564 (spi_desktop_init): make the desktop object immortal.
566 2002-03-16 Bill Haneman <bill.haneman@sun.com>
569 Added a #define-guarded tree-traversal step
570 when enumerating the apps (diagnostic tool).
572 2002-03-15 Bill Haneman <bill.haneman@sun.com>
574 * idl/Accessibility_Role.idl:
575 Added ROLE_DRAWING_AREA which seemed to be missing from the
578 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
580 * cspi/spi-roletypes.h cspi/spi_accessible.c
581 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
584 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
585 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
586 AT when applications are added and removed from the desktop. This
587 reverts the previous broken implementation using the backing
588 AtkObject for the SpiDesktop.
590 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
592 * registryd/desktop.c: emit the "children-changed::add" and
593 "children-changed::remove" signals on the backing ATK object for
594 the desktop so AT can tell when applications are started and shut
597 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
599 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
601 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
603 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
605 * cspi/spi_accessible.c: Implemented c bindings for stateset support
607 * cspi/state-types.h: synched with IDL and ATK
609 2002-03-13 Bill Haneman <bill.haneman@sun.com>
611 * libspi/accessible.c
612 (impl_accessibility_accessible_get_child_at_index):
613 Change return value for g_return_if_fail ()
614 to CORBA_OBJECT_NIL instead of "0" (!)
616 * registryd/Makefile.am:
617 * registryd/Accessibility_Register.server.in:
618 Changed name of executable, "registryd",
619 to something more informative:
622 2002-03-13 Michael Meeks <michael@ximian.com>
624 * atk-bridge/bridge.c (atk_bridge_init): don't register
625 if we're in a bonobo-component, rather than a bonobo app.
627 2002-03-13 Michael Meeks <michael@ximian.com>
629 * atk-bridge/bridge.c (gtk_module_init): split
630 out body to (atk_bridge_init): here, since otherwise
631 we get symbol conflicts and oddness when invoked
632 from (gnome_accessibility_module_init): here (upd.)
634 2002-03-11 Bill Haneman <bill.haneman@sun.com>
637 New file. Explicitly allow "build sheriff" putbacks provided
638 they are tested on Solaris.
640 * docs/reference/cspi/Makefile.am:
641 Added '-' to the "cp" command for index.sgml.
642 ("patch by thomasvs, soon coming to a GUADEC near you")
645 Incremented version number (0.9.0) for new release.
646 Changed macro that checks for popt, to better detect
647 obsolete versions of popt.
650 Added X_LIBS to AC_SUBST, for applications
651 that call Xlib API directly.
654 2002-03-07 Bill Haneman <bill.haneman@sun.com>
657 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
660 Fix regression caused by hard-coding major
661 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
664 * test/test-simple.c (test_editable_text),
665 (test_test): revert previous change (error was
666 a regression in gail which is now fixed).
668 2002-03-04 Michael Meeks <michael@ximian.com>
670 * test/test-simple.c (test_editable_text),
671 (test_text): pass G_MAXINT instead of '-1' for
672 whole string - is this a good thing !?
674 * cspi/spi_accessible.c
675 (Accessible_getRelationSet): fix crasher bug
676 overwriting the end of the array.
678 * test/test-simple.c (validate_accessible): free,
679 not g_free returned relation set.
681 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
683 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
684 implemented stateset support
686 * idl/Accessibility_State.idl: Made necessary changes to
687 the IDL to support state sets.
689 2002-02-12 Bill Haneman <bill.haneman@sun.com>
691 * registryd/deviceeventcontroller.c:
692 Added implementation for generateMouseEvent.
694 * cspi/spi_registry.c:
695 Connected new implementation for generateMouseEvent
698 2002-02-12 Bill Haneman <bill.haneman@sun.com>
701 Incremented revision (but no change in public API
702 outside of 'utils', which are not installed public yet.)
704 * libspi/component.c:
705 Changed to use atk_component API for layers and
706 mdi_zorder, instead of deprecated atk_object API.
708 Magnification Utility Enhancements:
711 Added implementation of createZoomRegion, clearAllZoomRegions,
712 resizeZoomRegion. Added new commandline argument
713 "--no-initial-region". Note that clearAllZoomRegions doesn't
714 unmap the old '0' region as it should (yet), and the other
715 methods only work when creating/resizing a single region,
717 (Code for multiple region support will be added later.)
720 Now we raise the magnifier window each time it's refreshed;
721 this will help keep it on top.
724 Added simple wrappers for above, used by mag_control.
725 For general use, it's recommended to use the bonobo magnifier
726 control API directly instead of using these wrappers.
729 Moved ZoomRegionData from magnifier.c to this file.
731 * util/mag_control.c:
732 Added some code to exercise new IDL implementations.
734 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
736 * libspi/text.c: Provide implementation for getAttributes.
738 2002-02-04 Bill Haneman <bill.haneman@sun.com>
741 Incremented revision.
743 * test/test-simple.c:
744 Replaced use of deprecated g_main_iteration with
745 g_main_context_iteration.
747 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
750 Incremented revision for desktop alpha 2.
752 2002-01-28 Mark McLoughlin <mark@skynet.ie>
754 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
757 * test/simple-at.c: include netinet/in.h.
759 2002-01-24 Mark McLoughlin <mark@skynet.ie>
761 * cspi/spi_accessible.c: (Accessible_getRelationSet):
762 use NULL, not CORBA_OBJECT_NIL.
764 * libspi/accessible.c:
765 (impl_accessibility_accessible_get_relation_set):
766 allocate the sequence correctly.
768 * libspi/remoteobject.h: kill spi_remote_object_new.
770 * test/test-simple.c: (validate_accessible): add code
771 to test relation sets, now all we need is to figure
772 out how to excercise this code path :/
774 2002-01-18 Michael Meeks <michael@ximian.com>
777 (key_listener_cb): consume the key.
778 (test_keylisteners): update.
779 (main): wait for any pending unrefs on events.
781 * registryd/deviceeventcontroller.c
782 (spi_controller_update_key_grabs): only re-issue the
783 grab on a key release.
784 (spi_device_event_controller_forward_key_event):
785 refresh the keygrabs before we notify the listeners,
786 to reduce the X ungrab / re-grab race.
787 (spi_controller_register_with_devices): remove
788 XSelectInput - we do that with the gdk_window_ call.
789 (_spi_controller_device_error_handler): return a value.
790 s/GDK_DISPLAY/spi_get_display/
792 2002-01-17 Michael Meeks <michael@ximian.com>
794 * registryd/deviceeventcontroller.c
795 (_deregister_keygrab): don't blow out the later
798 * test/test-simple.c (test_keylisteners): do a
799 more intelligent validation.
801 2002-01-14 Michael Meeks <michael@ximian.com>
803 * atk-bridge/bridge.c
804 (gnome_accessibility_module_init),
805 (gnome_accessibility_module_shutdown): impl.
806 (gtk_module_init): protect vs. double inits.
807 (add_signal_listener): impl.
808 (spi_atk_bridge_state_event_listener): kill
809 (deregister_application): split out of
810 (spi_atk_bridge_exit_func): here.
812 2002-01-18 Bill Haneman <bill.haneman@sun.com>
815 Added caret tracking when using magnifier, and
816 now use text bounds for focus tracking of text elements, rather than
817 the component bounds - this is helpful for short text fields in long
818 table cells, at high magnification.
820 2002-01-16 Bill Haneman <bill.haneman@sun.com>
822 * registryd/deviceeventcontroller.c:
823 Regression fix for keylistener de-registration; global keygrabs
824 were not being released when deregisterKeystrokeListener was
825 called in cspi, since
826 Accessibility_DeviceEventController_deregisterKeystrokeListener
827 was called with a zero-length keyset. That is because the cspi
828 method, SPI_deregisterKeystrokeListener, does not take a keyset
829 parameter but instead should remove all the key grabs held be a
831 The code in impl_deregister_keystroke_listener was changed to copy
832 the keylist from the listener instance previously registered with
833 the DeviceEventController before releasing the grabs.
835 * registryd/registry.c:
836 * registryd/deviceeventcontroller.c:
837 * libspi/spi-private.h:
839 Changed spelling of "re-enterant" to "re-entrant" globally.
841 2002-01-16 Bill Haneman <bill.haneman@sun.com>
843 * test/test-simple.c:
844 Changed key listeners test - the test was slightly mis-using the
845 (admittedly poorly documented) SPI_generateKeyboardEvent API.
846 It now uses '=' as the key event listened to and generated,
847 relying on a keysym match rather than assuming that keycode 33
848 is always equal to keysym '!'.
850 2002-01-15 Bill Haneman <bill.haneman@sun.com>
853 Changed simple-at to use a specific keyset, rather than
854 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
855 manager, desktop, etc.
857 2002-01-11 Bill Haneman <bill.haneman@sun.com>
859 * registryd/deviceeventcontroller.c:
860 Replaced standard X error handler with a special handler that
861 is non-fatal for failed keygrabs. This works around
862 problems with keygrab clashes sometimes observed on
864 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
865 mouse handling code as yet).
867 2002-01-11 Bill Haneman <bill.haneman@sun.com>
870 Incremented revision for desktop alpha release.
873 Fixed a couple of the more glaring errors (still not
876 2002-01-11 Michael Meeks <michael@ximian.com>
878 * registryd/deviceeventcontroller.c
879 (spi_device_event_controller_forward_key_event): kill
880 XUngrabKey / XKeyGrab race.
881 (spi_controller_grab_keyboard): rename to
882 (spi_controller_update_key_grabs): this, and deal
883 with incremental adding / removing grabs more
885 (_register_keygrab): ensure we're not pending a remove.
886 (spi_grab_mask_free): impl.
887 (spi_controller_register_global_keygrabs): split out
889 (handle_keygrab): impl.
890 (_deregister_keygrab): impl.
891 (spi_controller_deregister_global_keygrabs): impl.
892 (spi_controller_update_key_grabs): re-issue the grab if
893 we just recieved a notification.
895 * test/test-simple.c (key_listener_cb): remove debug.
897 * registryd/deviceeventcontroller.c
898 (spi_controller_register_device_listener): after
899 registering a global keygrab, actualy register it !
900 don't wait for a timeout; doh !
902 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
903 to make it more readable / manipulable.
904 s/grabmask/grab_mask/ s/refcount/ref_count/
905 s/keyval/key_val/ s/modmask/mod_mask
907 2002-01-08 Michael Meeks <michael@ximian.com>
909 * registryd/deviceeventcontroller.c
910 (spi_controller_register_with_devices): use gdk calls to
912 (global_filter_fn): implement the filter.
913 (spi_device_event_controller_check_key_event): rename to
914 (spi_device_event_controller_forward_key_event): this & upd.
915 (spi_get_display): replace with GDK_DISPLAY.
917 * registryd/deviceeventcontroller.c
918 (spi_controller_deregister_device_listener): unroll into
919 (impl_deregister_keystroke_listener): here to simplify.
920 (spi_controller_register_global_keygrabs): split cut and
921 paste (!) out into (_register_keygrab): here, shorter & sweeter.
922 (spi_controller_deregister_device_listener): remove.
923 (impl_register_mouse_listener): remove, no mouse listener
924 support in at-spi-1.0
926 * registryd/registry.c
927 (_device_event_controller_hook): kill.
928 (spi_registry_init): upd.
930 * registryd/deviceeventcontroller.c
931 (spi_device_event_controller_class_init): upd.
932 (spi_check_key_event): merge into.
933 (spi_device_event_controller_check_key_event):
934 here and kill strange static ev init, don't leak
935 the x_event - nor dynamicaly allocate it.
937 * registryd/registry-main.c (main): re-direct
938 timeout to remove strange vtable mess.
940 * registryd/deviceeventcontroller.c
941 (remove_listener_cb): impl.
942 (spi_controller_deregister_device_listener):
943 fix re-enterancy hazard.
945 2002-01-07 Michael Meeks <michael@ximian.com>
947 * registryd/deviceeventcontroller.c
948 (spi_device_event_controller_new): upd.
949 (impl_notify_listeners_sync): upd. debug.
950 (spi_notify_keylisteners): fix re-enterancy hazards,
951 prettify, remove O(n*n) iteration.
952 (spi_controller_grab_keyboard): fix iteration.
953 (spi_check_key_event): re-format to suit coding style.
954 Clean all the warnings - we're warning free.
956 * registryd/deviceeventcontroller.h:
957 * registryd/registry.h: make mutualy referential with
958 typesafe forward references instead of (!) void pointer
961 2002-01-11 Michael Meeks <michael@ximian.com>
963 * cspi/spi_accessible.c (role_names): add a role name
964 to sync this array with the enum; and make the regression
967 2002-01-10 Michael Meeks <michael@ximian.com>
969 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
970 allow expansion of enumeration & kill warning.
972 * test/test-simple.c (key_listener_cb): impl.
973 (test_keylisteners): impl.
975 * cspi/spi-listener.h: make listener signatures const
976 on the provided (const) events.
978 * test/keysynth-demo.c: upd. to const events.
980 * test/simple-at.c: ditto.
982 2002-01-11 Bill Haneman <bill.haneman@sun.com>
985 Rev the version to 0.5 (the previous tarball was named 0.4,
986 even though the micro number was 3), so we need to rev upwards
987 again for beta2/"desktop-alpha"
990 Checked in a demo script, which requires editing before use!
991 Proceed with caution.
994 Fixed typo in header which was redefining SPI_ACTION_CLASS.
996 * cspi/spi_accessible.c:
997 Add a couple of missing enum initializations, and fix some enum
1000 * cspi/spi_registry.c:
1001 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
1003 * docs/reference/cspi/at-spi-cspi-sections.txt:
1004 Remove/fix a couple of broken document references.
1007 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
1008 as Alt-Control to listen for commands, since on some systems
1009 Control-Alt may already be grabbed.
1011 2002-01-10 Bill Haneman <bill.haneman@sun.com>
1014 Update version number to 0.4 for Beta2.
1016 * libspi/accessible.c, libspi/accessible.h:
1017 Expose spi_accessible_construct, to enable libgail-gnome
1018 construction from spi_accessible subtype.
1020 * utils/magnifier.c:
1021 Workaround for bug in some non-gnome-compliant window managers
1022 which made magnifier resize improperly.
1024 2002-01-09 Bill Haneman <bill.haneman@sun.com>
1026 * libspi/accessible.c: (spi_accessible_new) :
1027 Move the test for SPI_IS_REMOTE_OBJECT to
1028 spi_accessible_new_return, fixing a bug and compile time warning.
1030 2002-01-08 Michael Meeks <michael@ximian.com>
1032 * registryd/registry.c (parse_event_type): remove strndup.
1034 * libspi/Makefile.am (libspi_la_SOURCES): remove
1035 sources already included in the headers section.
1037 * libspi/util.c: add.
1039 * libspi/spi-private.h: add.
1041 * registryd/registry.c: update to moved list iterators.
1043 2002-01-05 Michael Meeks <michael@ximian.com>
1045 * test/simple-at.c (main): upd. auto-module set to atk-bridge
1047 * test/test-simple.c (main): ditto.
1049 2002-01-04 Michael Meeks <michael@ximian.com>
1051 * libspi/accessible.c (spi_accessible_new): remove 2nd,
1052 redundant construct.
1054 * registryd/registry.c
1055 (get_listener_list): impl.
1056 (impl_accessibility_registry_register_global_event_listener):
1057 re-impl. to simplify using ~, remove dodgy const cast off.
1058 (parse_event_type): constify.
1059 (impl_accessibility_registry_deregister_global_event_listener_all):
1060 re-write, more efficiency and simplicity, kill re-enterancy
1062 (compare_listener_corbaref, compare_corba_objects),
1063 (compare_listener_quarks): define out.
1064 (impl_accessibility_registry_deregister_global_event_listener):
1065 re-write for effiency, and nail re-enterancy hazard.
1066 (impl_accessibility_registry_get_desktop_list): impl.
1067 (re_enterant_list_delete_link): impl.
1068 (re_enterant_list_foreach): impl.
1069 (remove_listener_cb): impl.
1070 (_registry_notify_listeners): kill.
1071 (notify_listeners_cb): impl.
1073 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
1074 (SPI_getDesktopList): impl.
1076 * test/test-simple.c (test_desktop): test the methods.
1078 2002-01-03 Michael Meeks <michael@ximian.com>
1080 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
1081 keystrings since we free them
1082 (SPI_freeAccessibleKeySet): in here.
1084 * libspi/accessible.c (spi_accessible_new): kill warning,
1085 wonder what is going on with the constructor here.
1087 2002-03-01 Bill Haneman <bill.haneman@sun.com>
1089 * libspi/accessible.c (spi_accessible_new ()) :
1090 Added check to see if AtkObject is an SpiRemoteObject before
1091 creating an SpiAccessible.
1093 2002-05-01 Bill Haneman <bill.haneman@sun.com>
1095 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
1096 Enable keygrabs using the Control modifier, now that they are
1097 working properly (they were previously disabled).
1100 Change the command keygrab for this demo to "Control+Alt", so as
1101 to conflict with fewer other key commands on the system; this
1102 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
1104 Removed a pointlessly-chatty keylistener for unshifted keys
1105 (shifted keys are still reported).
1107 2002-02-01 Bill Haneman <bill.haneman@sun.com>
1109 * libspi/remoteobject.h:
1110 * libspi/remoteobject.c:
1111 Added definitions for special AtkObject subtype, required for
1112 support of remote components (specifically, used by BonoboControl
1113 accessibility implementation).
1115 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
1117 * cspi/spi.h: synched relation types with ATK
1119 * cspi/spi_accessible.c: Added implementations of
1120 AcccessibleRelation_* methods
1122 * idl/Accessibility_Relation.idl: added getRelationTypeName
1123 method. Synched known relation types with ATK. Allowed for
1124 relation type extension with the RELATION_EXTENDED type.
1126 * libspi/relation.c: Provided implementations for
1127 AccessibleRelation methods.
1129 2002-01-01 Bill Haneman <bill.haneman@sun.com>
1131 API tweaks for today's API 'freeze'.
1134 Added placeholder functions to allow future compatible expansion
1135 of the IDL interfaces.
1137 * idl/Accessibility_Registry.idl:
1138 Changed generateKeyEvent to generateKeyboardEvent. Changed
1139 signature of this method to accept an optional keystring in
1140 parameter (for complex text input synthesis) and changed use of
1141 simple 'boolean' parameter in registerKeystrokeListener to a
1142 struct, EventListenerMode.
1144 * cspi/spi_accessible.c:
1146 * cspi/spi_streamablecontent.c:
1147 Added references to AccessibleStreamableContent interface, and
1148 definition and implementation of AccessibleStreamableContent
1151 * cspi/spi_registry.c:
1153 Changed generateKeyEvent API to generateKeyboardEvent,
1154 taking a new (optional) keystring parameter to support complex
1159 Renamed directory (to better reflect its actual purpose, bridging
1160 from at-spi to ATK). The .so module is also now named
1163 * idl/Accessibility_Hypertext.idl:
1164 * libspi/accessible.c:
1165 * libspi/hypertext.h:
1166 * libspi/hypertext.c:
1167 Changed Accessibility_Hypertext to *not* derive from
1170 * cspi/spi_registry.c:
1171 Added list of legal event type names for 'window' events, which
1172 completes the registry event API.
1174 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
1176 * at-bridge/bridge.c: Added registration for separate
1177 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
1178 signals. If either of the first two parameters to the generic
1179 bridge signal handler are ints, they are passed on as event
1180 details. This allows an AT to determine what text was inserted.
1182 2001-12-21 Bill Haneman <bill.haneman@sun.com>
1184 * registryd/deviceeventcontroller.c:
1185 Fixed regressions in generateKeyEvent caused by the removal of
1186 gdk_init from registryd; we now use pure X calls to connect to the
1187 display, which makes sense because deviceeventcontroller already
1188 uses a fair bit of X API (should eventually be migrated to a
1189 'portability layer').
1191 * registryd/desktop.c:
1192 Fixed minor regression in spi_desktop_init, changed the way the
1193 desktop name is being set to work with new spi_base API
1194 (gobject-based, rather than AtkObject-based).
1196 * registryd/Makefile.am:
1197 Minor revision of makefile to use XTST_LIBS variable rather than
1198 hard-wiring the Xtst LD_ADD element.
1200 * test/keysynth-demo.c:
1201 Tweaked an output message; added initialization of the
1202 'keystrings' member of the "switch listener" key_set.
1204 * libspi/relation.c:
1205 Squashed compile-time warning.
1207 * libspi/accessible.c:
1208 Cosmetic and formatting fixes, renamed a static method.
1210 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
1212 * libspi/accessible.c
1214 * libspi/application.c
1217 * libspi/component.c
1218 * libspi/editabletext.c
1219 * libspi/hyperlink.c
1220 * libspi/hypertext.c
1222 * libspi/selection.c
1226 * registryd/desktop.c:
1227 Changed SpiBase to contain a GObject pointer rather than an AtkObject
1229 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1231 * idl/Accessibility_Registry.idl:
1232 Added boolean member 'is_text' to DeviceEvent. This is for the
1233 use of key events, and helps prevent ambiguity between composed
1234 key strings and keysym names, since both may potentially be
1235 returned in the 'event_string' member.
1237 * at-bridge/bridge.c:
1238 * registryd/deviceeventcontroller.c:
1239 Use the 'is_text' member when notifying device event listeners.
1240 Knon issue: composed characters are not dealt with correctly by
1241 the global key listener implementation yet.
1243 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1245 * at-bridge/bridge.c:
1246 Namespaced local static methods to spi_atk_bridge_* where
1247 previously named bridge_*, and spi_* elsewhere.
1249 * at-bridge/bridge.c:
1250 * cspi/bonobo/cspi-bonobo-listener.c:
1251 Added demarshalling/conversion for string member of
1252 Accessibility_DeviceEvent to AccessibleKeystroke.
1254 * registryd/deviceeventcontroller.c:
1255 Added code to fill the Accessibility_DeviceEvent key string value
1256 member for global key events (i.e. from XGrabKey), to match
1257 behavior of Accessibility_DeviceEvent from the toolkit key events
1258 from the bridge. Fixed timestamp in global key event notifications.
1261 Added printout of key event's string value to
1262 report_ordinary_key_event, for demo/debugging purposes.
1264 2001-12-15 Bill Haneman <bill.haneman@sun.com>
1266 * idl/Accessibility_Registry.idl:
1267 Removed Accessibility_KeyStroke structure in favor of generic
1268 Accessibility_DeviceEvent structure.
1269 Changed Accessibility_ControllerEventMask from a struct to an
1272 * at-bridge/bridge.c:
1273 Changed APIs to use DeviceEvent structure as above, and removed
1274 bogus casting between these event structures.
1276 * cspi/spi-listener.h:
1277 Added keystring member of AccessibleKeystroke structure, to enable
1278 matching on event "names" rather than only hardware codes and
1282 Added keystrings member of AccessibleKeySet struct, to allow
1283 matching on event names (as above).
1284 Added declarations for SPI_createAccessibleKeySet and
1285 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
1286 event modmasks directly as unsigned ints rather than structs with
1287 refcounts, in the DeviceEventController methods.
1289 * cspi/spi_registry.c:
1290 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
1292 * cspi/spi-roletypes.h:
1293 Added documentation of newly added SPI Roles.
1295 * cspi/bonobo/cspi-bonobo-listener.c:
1296 Changes in support of API changes above.
1298 * libspi/accessible.c:
1299 Converted APIs to use DeviceEvent structure (see IDL changes
1302 * registryd/deviceeventcontroller.c:
1303 Added DEControllerGrabMask structure to track keygrabs not only by
1304 modmask but by keyset as well; this allows us to do "global"
1305 (i.e. X) keygrabs on a per-key or keyset basis rather than always
1306 grabbing on AnyKey and then filtering after-the-fact.
1307 Bugfixes for event filtration mean that we don't get false matches
1308 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
1310 * registryd/deviceeventcontroller.c:
1311 Namespaced a number of static methods to use spi_ prefix. Major
1312 revision to internals of global (i.e. X) key grabs.
1314 * registryd/deviceeventcontroller.h:
1315 Removed keymask_list and added keygrabs_list to
1316 SpiDeviceEventController struct.
1319 Added use of SPI_createAccessibleKeySet API when creating a
1320 listener for only one key. Attach a listener to "shift spacebar
1321 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
1322 X key event names to SPI key event names, so that listeners are
1323 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
1325 * test/keysynth-demo.c:
1326 Changed (incorrect) use of X key event names (KeyPressed,
1327 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
1330 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1332 * libspi/accessible.c:
1333 Convert all AtkRole enumerations to Accessibility_Role enums when
1334 getting a role from an AtkObject.
1336 * cspi/spi_accessible.c:
1337 Complete the conversion of Accessibility_Role enums at runtime to
1338 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
1339 role enums correctly match those given in spi-roletypes.h.
1340 Re-synchronize the local names list for AccessibleRole_getName ().
1341 AccessibleRole_getName is now deprecated, since it duplicates the
1342 more reliable Accessible_getRoleName.
1343 Added some role types from Accessibility_Role.idl.
1345 * idl/Accessibility_Role.idl:
1346 Added some role types used by AtkRole.
1348 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1351 * cspi/spi_registry.c:
1353 * cspi/cspi-bonobo-listener.c:
1354 Namespaced all methods that did not begin with an "SPI_" or
1355 "Accessible" prefix to "SPI_".
1358 Homogenized internal function namespace to "cspi_" for statics.
1361 Patched tests to use the new CSPI API.
1363 * docs/reference/cspi/at-spi-cspi-sections.txt:
1364 Updated docs to reflect namespace changes, and added a number of
1365 methods to the documentation.
1367 * registryd/registry.c:
1368 Changed use of strings and string hashes in listener event
1369 matching and parse_event_string to use GQuark, which is guaranteed
1372 * registryd/registry.h:
1373 Squashed annoying warning.
1375 * idl/Accessibility_Role.idl:
1376 Extended range of available Accessibility_Role values.
1378 * cspi/spi_accessible.c:
1379 Re-ordered role names.
1381 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1383 * idl/Accessibility_Value.idl:
1384 Revert use of union back to CORBA_double, since the double type is
1385 more efficient and can contain the other types without loss of
1388 * idl/Accessibility_Accessible.idl:
1389 Added method Accessibility:Accessible:getRoleName, to complement
1390 Accessibility:Accessible:getRole.
1392 * cspi/spi_accessible.c:
1394 Added C binding for above, Accessible_getRoleName (), and changed
1395 signature of Accessible_getRole () to return an AccessibleRole.
1397 * cspi/spi-roletypes.h:
1398 Changed AccessibleRole_getName to return a char * instead of a
1399 const char *. This method is now at least temporarily deprecated
1400 in favor of asking Accessibles for their RoleNames directly.
1403 Revert to match Accessibility_Value.idl;
1407 Change signature of AccessibleValue methods to use double rather
1411 * cspi/spi_accessible.c:
1412 Changed Accessible_getRole to return an AccessibleRole enum rather
1413 than a UTF-8 string. The UTF-8 string can still be obtained via
1414 AccessibleRole_getName ().
1416 * test/test-simple.c:
1417 Add test_action. Small fixup to match API change to Accessible_getRole.
1420 Bugfix for get_action_from_servant ().
1422 2001-12-11 Michael Meeks <michael@ximian.com>
1424 * libspi/libspi.h: remove registry.h and
1425 desktop.h, deviceeventcontroller.h
1427 * libspi/Makefile.am: remove registry.[ch],
1428 desktop.[ch], deviceeventcontroller.[ch]
1430 * registryd/Makefile.am: add registry.[ch],
1431 desktop.[ch], rename registryd.c to registry-main.c.
1432 add deviceeventcontroller.[ch]
1434 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1437 Replace setenv() call with putenv ().
1439 * libspi/component.c:
1440 Bugfix in AccessibleComponent_getExtents (),
1443 2001-12-11 Michael Meeks <michael@ximian.com>
1445 * libspi/image.c (impl_getImageExtents): impl.
1446 (spi_image_class_init): upd.
1449 (AccessibleImage_getImageDescription): fix daft bug
1452 * test/test-simple.c (global_listener_cb): update
1453 to only quit if not --poke
1454 (main): catch --poke.
1455 (validate_accessible): upd. dumping, call test_image
1458 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1461 * idl/Accessibility.idl: update all IDL includes.
1463 * idl/*.idl - rename to namespace - this sucks, blame
1464 mjs' bad decision for oafd.
1466 * test/test-simple.c (create_test_window): add more tests.
1467 (create_tree): split this out.
1468 (validate_accessible): bugfix.
1470 2001-12-11 Michael Meeks <michael@ximian.com>
1472 * cspi/bonobo/cspi-bonobo-listener.c:
1473 (cspi_kestroke_listener_unref),
1474 (cspi_event_listener_unref): impl. undoing previous
1475 homenous environment - for Bill.
1477 * cspi/spi_table.c (long_seq_to_array): use
1480 * cspi/spi_main.c: split out all bonoboish bits into
1483 * cspi/spi-impl.h: upd. typedefs.
1485 * cspi/spi_registry.c: update to lowlevel API,
1486 return booleans to indicate success in some places.
1488 * cspi/spi_event.c: update to lowlevel API.
1490 * cspi/bonobo/Makefile.am: add.
1492 * cspi/bonobo/cspi-lowlevel.h: add
1494 * cspi/bonobo/cspi-bonobo.c: add
1496 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1498 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1499 (SUBDIRS): add bonobo, link in the libs.
1501 * cspi/spi-util.c: kill this file.
1503 * TODO: merge in my bits.
1505 2001-12-11 Michael Meeks <michael@ximian.com>
1507 * test/test-simple.c (test_value, test_table, main):
1508 remove unused variables causing warnings.
1510 * configure.in: cleanup checks - require gail.
1512 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1515 Changed Value interface to use SValue (scalars) rather than
1516 assuming all values are floats. This allows floats, doubles,
1517 longs, shorts, and unsigned values to be manipulated.
1518 Introduced Accessibility:SValue union.
1521 Updated to use new API above, and to work correctly with GValues
1522 of different types in AtkValue.
1525 Updated to use new API above. cspi's API is as yet unchanged.
1528 Updated the Value revision action item.
1530 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1532 * test/test-simple.c:
1533 Added test_table (GtkTreeView widget in test window to follow).
1534 Un-commented test_value, added GtkRange widget.
1535 Added GtkTreeView widget with GtkListStore. It passes regression
1536 test but leaks one SPI object for some reason.
1539 Fixed bug in impl__set_currentValue.
1541 2001-12-10 Michael Meeks <michael@ximian.com>
1543 * cspi/spi_text.c: audit for exception handling,
1544 tolerating NULL object references safely etc.
1546 * cspi/spi_value.c: ditto.
1548 * cspi/spi_table.c (AccessibleTable_getSummary),
1549 (AccessibleTable_getAccessibleAt),
1550 (AccessibleTable_getRowHeader),
1551 (AccessibleTable_getColumnHeader),
1552 (AccessibleTable_getCaption): fix bugs hidden by
1554 (long_seq_to_array): impl.
1555 (AccessibleTable_getSelectedRows),
1556 (AccessibleTable_getSelectedColumns): use it.
1558 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1561 Added a TODO list (rough and short for now).
1563 * cspi/spi_hyperlink.c:
1564 * cspi/spi_hypertext.c:
1565 Fixed macro name typos, and remove use of obsolete macro in
1566 AccessibleHyperlink_getLink.
1568 * cspi/spi_action.c:
1569 * cspi/spi_accessible.c:
1570 * cspi/spi_application.c:
1571 * cspi/spi_component.c:
1572 * cspi/spi_selection.c:
1575 Documentation fixes (removed return values from ref/unref methods).
1577 2001-12-10 Michael Meeks <michael@ximian.com>
1579 * cspi/spi_action.c: audit for exception handling,
1580 tolerating NULL object references safely etc.
1582 * cspi/spi_accessible.c: ditto.
1584 * cspi/spi_component.c: ditto.
1586 * cspi/spi_editabletext.c: ditto.
1588 * cspi/spi_hyperlink.c: ditto.
1590 * cspi/spi_hypertext.c: ditto.
1592 * cspi/spi_image.c: ditto.
1594 * cspi/spi_selection.c: ditto.
1596 2001-12-10 Michael Meeks <michael@ximian.com>
1598 * configure.in: use cspi/libspi.pc.in instead.
1600 * Makefile.am (pkgconfig_DATA): upd. to match.
1602 * test/simple-at.c (report_focus_event): kill hacks around
1603 bad return values, use putenv not setenv
1605 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
1606 fire ChildGone - I killed it.
1608 * libspi/component.c
1609 (impl_accessibility_component_get_extents): remove
1612 * idl/Accessible.idl: kill ChildGone exception.
1614 * cspi/*.[ch]: kill int return from ref / unref.
1616 * cspi/spi_main.c (cspi_object_add_check): fold into
1617 (cspi_object_add): here.
1619 * cspi/spi_component.c (AccessibleComponent_getExtents):
1620 handle exceptions elegantly.
1622 * cspi/spi-private.h (cspi_check_ev_return),
1623 (cspi_return_if_fail): impl.
1625 * cspi/spi_accessible.c: use extensively.
1626 (AccessibleStateSet_equals): add direct compare check.
1628 * cspi/spi_selection.c: tolerate NULL objs, and check
1629 exceptions before return.
1631 * cspi/spi-util.c (cspi_warn_ev): rename to
1632 (cspi_check_ev): this & don't pass ev in; no point.
1634 2001-12-10 Michael Meeks <michael@ximian.com>
1636 * test/test-simple.c: use putenv not setenv
1637 (get_environment_vars): more chatty if you're not using
1640 * test/simple-at.c: do the setenv so more people see the
1643 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1645 * libspi/registry.c:
1646 Changed check of CORBA_environment on notification to be a warning
1647 instead of an error for the moment, since we can recover from this
1648 error when caused by a queued notification from a dead app.
1651 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
1652 used by all current implementors of AtkValue), and coerce to
1653 CORBA_float. (Proper general case fix may require change to Value.idl).
1655 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1659 * cspi/spi_accessible.c:
1660 Documentation fixes: added user_data params to documentation for
1661 listeners and callbacks.
1663 * cspi/spi_accessible.c:
1664 Changed AccessibleStateSet_compare to return a
1665 StateSet rather than return the difference set into a third parameter.
1668 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1671 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
1672 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
1676 Remove subdirectory po from SUBDIRS for now.
1678 * at-bridge/bridge.c:
1679 Beefed up a couple of debug printouts.
1680 One-line fix for signal notification name formatting.
1682 * libspi/accessible.c:
1683 Added assertion to spi_accessible_new ().
1685 * libspi/application.c:
1686 Put #ifdef qualifiers around a printf.
1689 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
1691 * registryd/Makefile.am:
1693 Replaces use of XML_I18N_MERGE_SERVER_RULE with
1694 INTLTOOL_SERVER_RULE macro.
1697 Added an event listener for several ATK signals, for
1698 testing and debugging. Removed a few g_warnings.
1699 Added test output if focussed item implements the Value interface.
1701 * test/test-simple.c:
1702 Added test_value () function (known not to pass at the moment, so
1703 not actually called yet.
1705 2001-12-08 Michael Meeks <michael@ximian.com>
1707 * at-bridge/bridge.c (bridge_focus_tracker),
1708 (emit_eventv): fix the same ref. leak.
1709 (register_atk_event_listeners): don't leak.
1711 * cspi/spi-listener-impl.c (cspi_event): more
1712 protection from client code.
1714 * test/test-simple.c (test_desktop): unref the app.
1716 * test/Makefile.am: upd. TESTS.
1718 * at-bridge/bridge.c (bridge_exit_func): release the registry.
1720 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
1722 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
1724 * cspi/spi_registry.c: constify in strings.
1725 (deregisterGlobalEventListenerAll): don't release the ref.
1727 * cspi/spi.h: start removing redundant / conflicting
1728 gtkdoc comments, making the API readable at a glance :-)
1730 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
1732 * test/keysynth-demo.c (keysynth_exit, main): upd.
1734 * test/simple-at.c (main, simple_at_exit): upd.
1736 * test/test-simple.c (unutterable_horror): kill.
1737 (utterable_normal_derefs): kill.
1738 (main): upd & do a setenv before gtk_init, so that we
1739 can use memprof - and to save the pain of remembering
1740 this, if we're running under memprof - don't exit.
1742 * cspi/spi_main.c (SPI_exit): return exit status
1744 (SPI_event_quit): impl.
1745 (SPI_event_main): simplify.
1746 (cspi_is_gnome_app): kill.
1747 (SPI_init): kill isGNOMEapp arg.
1749 * at-bridge/bridge.c (register_atk_event_listeners):
1750 re-instate the unref.
1751 (bridge_exit_func): don't re-activate the registry,
1752 protect vs. theoretical re-entry, use the
1753 AT_BRIDGE_SHUTDOWN env. var to determine whether to
1754 assert a clean shutdown - for regression tests.
1756 2001-12-08 Abel Cheung <maddog@linux.org.hk>
1758 * configure.in: Comment out dummy i18n support for now,
1759 otherwise it fails to build.
1760 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
1761 EXTRA_DIST. They are missing in tarball.
1763 2001-12-07 Michael Meeks <michael@ximian.com>
1765 * util/magnifier.c: kill bonobo activation reg. race.
1767 * libspi/component.c
1768 (impl_accessibility_component_get_extents): make it match
1771 * libspi/registry.c (_registry_notify_listeners):
1772 re-remove X headers & reconcile conflicts.
1773 (spi_listener_struct_free): bad conflict resolve.
1774 (impl_accessibility_registry_register_application):
1775 more bad merging fixed.
1776 (impl_accessibility_registry_deregister_application): ditto.
1777 (spi_registry_new): ditto.
1778 (spi_registry_init): don't have an applications field.
1780 [ merge fixups2 branch to here ]
1781 2001-12-07 Michael Meeks <michael@ximian.com>
1783 * test/simple-at.c (report_focus_event),
1784 (report_focussed_accessible): remove g_warning debug.
1786 2001-12-07 Michael Meeks <michael@ximian.com>
1788 * test/test-simple.c (validate_tree): comment out some checks.
1789 (test_desktop): app now not registered idly - horay.
1791 2001-12-07 Michael Meeks <michael@ximian.com>
1793 * cspi/spi_registry.c
1794 (registerAccessibleKeystrokeListener): clean, stop it leaking
1795 great swathes of memory, and device event controller references.
1796 ensure we always pass valid sequences.
1797 (deregisterAccessibleKeystrokeListener): ditto.
1798 (generateKeyEvent): upd.
1800 * at-bridge/bridge.c (bridge_key_listener): handle
1801 registry dead exception gracefully.
1802 (bridge_focus_tracker, emit_eventv): free ev.
1804 * test/simple-at.c (report_focus_event): fix polarity.
1806 * libspi/application.c (notify_listeners): kill the ev
1807 argument, and make sure we init the ev we use.
1808 (spi_application_object_event_listener): split out a chunk
1809 (get_atk_object_ref): here & fixup.
1810 (reverse_lookup_name_for_toolkit_event): make const.
1811 (spi_application_toolkit_event_listener): fixup, kill leaks
1814 * at-bridge/bridge.c (register_atk_event_listeners):
1815 don't unref the noop object - causes grief.
1817 * libspi/registry.c: remove the X headers.
1818 turn off the debug churn.
1820 * libspi/accessible.c (spi_accessible_new_return): only
1821 release the ref if we are supposed to [doh]
1823 * test/simple-at.c (report_button_press, report_focus_event):
1824 guard vs. unexpected exit.
1826 * at-bridge/bridge.c (gtk_module_init): prune printf.
1827 (bridge_exit_func): fix app unref.
1829 * libspi/Makefile.am: don't install registry or desktop.h
1831 * libspi/*.h: update includes.
1833 * libspi/application.h: don't include ourself, or
1834 other redundant headers.
1836 2001-12-06 Michael Meeks <michael@ximian.com>
1838 * libspi/accessible.c
1839 (get_accessible_from_servant): impl.
1840 Upd. all CORBA impl.s to use it killing cut and paste.
1842 * cspi/spi_main.c (cspi_cleanup): guard vs. double
1844 (SPI_init): register atexit cleanup handler here.
1846 2001-12-06 Michael Meeks <michael@ximian.com>
1848 * at-bridge/bridge.c (gtk_module_init): g_error on
1849 activation exception
1851 2001-12-06 Michael Meeks <michael@ximian.com>
1853 * at-bridge/bridge.c (gtk_module_init): some sort of
1854 confusing merge clash - reverted.
1855 (bridge_idle_init): ditto.
1857 * test/test-simple.c (main, utterable_normal_derefs):
1858 merge from Bill - somehow not committed.
1860 2001-12-06 Michael Meeks <michael@ximian.com>
1862 * libspi/value.c (spi_value_class_init): upd.
1863 (spi_value_finalize): kill.
1865 * libspi/table.c (spi_table_finalize): kill.
1866 (spi_table_interface_new): upd.
1867 (spi_table_class_init): upd.
1868 (get_table_from_servant): impl.
1869 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1871 * libspi/selection.c (spi_selection_finalize): kill.
1872 (spi_selection_interface_new): upd.
1873 (spi_selection_class_init): upd.
1874 (get_selection_from_servant): impl.
1875 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1877 * libspi/relation.c (spi_relation_finalize): kill.
1878 (spi_relation_class_init, spi_relation_new): upd
1880 * libspi/image.c (spi_image_finalize): kill.
1881 (spi_image_class_init): upd.
1882 (spi_image_interface_new): upd.
1883 (get_image_from_servant): impl.
1884 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1886 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
1887 (spi_hyperlink_finalize): kill.
1888 (spi_hyperlink_new): upd.
1889 (get_hyperlink_from_servant): impl.
1890 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1892 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
1893 (spi_hypertext_finalize): kill.
1894 (spi_hypertext_class_init): upd.
1895 (get_hypertext_from_servant): impl.
1896 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1898 * libspi/editabletext.c (spi_editable_text_finalize): kill.
1899 (spi_editable_text_interface_new): upd.
1900 (get_editable_text_from_servant): impl.
1901 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1903 * libspi/text.c (get_text_from_servant): impl.
1904 All impls - update to use it killing more cut and paste,
1905 also fix bad string returns on duff args ( a somewhat
1906 impossible case to handle - but hey ).
1907 (spi_text_construct): impl.
1908 (spi_text_interface_new): upd.
1909 (spi_text_object_finalize): kill.
1911 * libspi/component.c
1912 (accessibility_component_object_finalize): kill.
1913 (spi_component_class_init): upd.
1914 (get_component_from_servant): impl. helper to kill cut & paste.
1915 (impl_accessibility_component_contains):
1916 (impl_accessibility_component_get_accessible_at_point):
1917 (impl_accessibility_component_get_position):
1918 (impl_accessibility_component_get_extents):
1919 (impl_accessibility_component_get_mdi_z_order):
1920 (impl_accessibility_component_get_layer):
1921 (spi_component_interface_new): upd.
1923 * libspi/action.c (spi_action_finalize): kill.
1924 (spi_action_class_init): upd. inherit from SpiObject.
1925 (spi_action_interface_new): upd.
1926 (get_action_from_servant): impl. helper to reduce cut & paste.
1927 (impl_getKeyBinding, impl_getName, impl_doAction),
1928 (impl_getDescription): Use it everywhere.
1930 * cspi/spi_main.c (get_live_refs): a pointer hash.
1931 (spi_object_hash, spi_object_equal): comment out.
1932 There are issues with CORBA object hashing that need
1935 * libspi/application.c (spi_application_init),
1936 (spi_application_new): upd.
1938 * libspi/accessible.c (spi_accessible_object_finalize): kill.
1939 (spi_accessible_class_init): upd.
1940 s/accessible/object/ in epv methods.
1942 2001-12-05 Bill Haneman <bill.haneman@sun.com>
1944 * at-bridge/bridge.c:
1945 Reorder the bridge initialization into the bridge gtk_module_init,
1946 an immediate call to bridge_register_app, and an idle_add for
1947 register_atk_event_listeners (the only code that *must* wait until
1948 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
1949 the activation, creates the application's Accessible object, and
1950 queues the bridge_idle_init function. Restored call to
1951 Accessibility_Registry_deregisterApplication().
1952 Prior to making this call we obtain a new reference to the
1953 registry, which is a temporary hack that helps us handle apps that
1954 shut down the bonobo mainloop before we get there.
1956 * libspi/registry.c:
1957 Fix string leakage in debug block, and don't segv if a an app
1958 dies before its event notifications have been propagated.
1961 Modify cspi_check_ev() to call g_warning() rather than g_error(),
1962 as stopgap measure until we get proper exception handling when
1963 objects die during or before interrogation.
1967 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
1968 Also changed default value of is_gnome_app to TRUE.
1971 * test/keysynth-demo.c:
1972 Changed use of SPI_init and SPI_event_main to reflect API change above.
1975 Made report_focus_event check the warning value from getName
1976 before reporting on focussed accessible; simplifies handling of
1977 notifications from dead objects.
1979 * test/test-simple.c: (Changes not in this patch since source is
1982 2001-12-05 Michael Meeks <michael@ximian.com>
1984 * registryd/registryd.c (main): protect against
1985 bonobo-activation startup race condition.
1987 * cspi/spi_main.c (cspi_object_add_check): cope
1988 with the exception elegantly.
1990 * idl/Accessible.idl: decl. ChildGone
1992 * libspi/desktop.c (spi_desktop_dispose): impl.
1993 (spi_desktop_class_init): upd.
1994 (spi_desktop_add_application),
1995 (spi_desktop_remove_application),
1996 (abnormal_application_termination): impl.
1997 (impl_desktop_get_child_at_index): re-impl.
2000 (impl_accessibility_registry_deregister_application),
2001 (impl_accessibility_registry_register_application):
2002 kill excessive debug clutter.
2004 * test/test-simple.c (test_misc): test some NULL
2005 tolerance. (main): upd.
2007 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
2008 implements no interfaces - so let's not crash.
2010 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
2012 * libspi/accessible.c (spi_accessible_new_return): impl.
2013 helper to calm the cut and paste, to cope with
2014 NULL AtkObjects effectively and efficiently, and to kill
2015 the referencing bugs.
2017 * libspi/table.c (impl_getAccessibleAt),
2018 (impl_getRowHeader, impl_getColumnHeader): upd.
2020 * libspi/hyperlink.c (impl_getObject): upd.
2022 * libspi/accessible.c
2023 (impl_accessibility_accessible_get_child_at_index): upd.
2025 * libspi/component.c
2026 (impl_accessibility_component_get_accessible_at_point): upd.
2028 * test/test-simple.c (test_editable_text, test_text): impl.
2031 * cspi/spi_editabletext.c
2032 (AccessibleEditableText_insertText): constify.
2034 * test/test-simple.c (focus_me): make more robust.
2036 * libspi/accessible.c: remove some printfs in methods that
2037 we test and work fine, so we can get a clean tree dump.
2039 * test/test-simple.c (validate_accessible),
2040 (validate_tree): make tree dumping pretty too.
2042 * at-bridge/bridge.c (bridge_signal_listener): upd. so
2043 it builds without debug on.
2045 * test/test-simple.c (validate_accessible): fix the most
2048 * cspi/spi_main.c (spi_object_release): leave the nicely
2049 blanked memory around if in debug mode.
2051 * cspi/spi-listener-impl.c (cspi_event): use add_check.
2053 [committed to fixups2]
2054 2001-12-05 Michael Meeks <michael@ximian.com>
2056 * libspi/editabletext.c
2057 (spi_editable_text_class_init): g_type_class_peek_parent,
2058 not interface peek - so we finalize cleanly.
2060 * libspi/accessible.c (spi_accessible_new): kill debug.
2062 * test/test-simple.c (validate_accessible): fix ref.
2063 leak, print strings before freeing them; sigh, comment a
2064 chunk out due to strangeness.
2065 (validate_tree): unref the child after use.
2067 * cspi/spi_component.c (AccessibleComponent_getLayer):
2068 add missing break statement, switch on zlayer not the
2069 uninitialized retval.
2071 * cspi/spi_main.c (cspi_object_add): add assert, local ref
2072 before (possibly re-entering) remote unref.
2074 * test/simple-at.c (main): unref the desktop.
2076 * cspi/spi_accessible.c (cspi_accessible_is_a): move
2079 * cspi/spi_main.c (cspi_accessible_is_a): here to
2080 isolate bonobo API usage more.
2082 * libspi/registry.c (impl_accessibility_registry_register_application):
2083 prune bogus comment.
2085 2001-12-04 Michael Meeks <michael@ximian.com>
2087 * test/test-simple.c (validate_tree): upd.
2088 IndexInParent check to make it more lucid.
2089 (validate_accessible): dump the tree.
2091 * libspi/accessible.c (de_register_public_ref),
2092 (get_public_refs): impl.
2093 (spi_accessible_new): make more efficient & intuitive.
2094 Now IndexInParent check works.
2096 2001-12-04 Michael Meeks <michael@ximian.com>
2098 * cspi/spi-util.h: remove.
2100 * cspi/spi.h: move SPI_freeString here
2102 * libspi/component.c (impl_accessibility_component_get_layer):
2104 (impl_accessibility_component_get_mdi_z_order): ditto,
2105 return -1 on error - is this ok ?
2107 * test/test-simple.c (test_application): impl.
2109 * cspi/spi_accessible.c (Accessible_getApplication),
2110 (Accessible_isApplication): impl.
2112 * libspi/registry.c (spi_listener_struct_free): release
2113 the CORBA reference too.
2115 * libspi/accessible.c
2116 (impl_accessibility_accessible_get_parent): fix ref leak.
2118 * libspi/registry.c (spi_registry_new): make the registry
2119 immortal - we don't want it to go away ever.
2121 * libspi/application.c
2122 (spi_accessible_application_finalize): impl. cleanup.
2124 * cspi/spi_registry.c
2125 (deregisterGlobalEventListenerAll),
2126 (deregisterGlobalEventListener),
2127 (deregisterAccessibleKeystrokeListener): fix ref leak.
2129 * cspi/spi_main.c (SPI_init): remove redundant ref.
2131 * test/test-simple.c (unutterable_horror): impl. to force a
2136 (impl_accessibility_registry_deregister_application): release
2137 the application when we de-register it.
2139 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
2140 until we have the infastructure to get it right.
2142 2001-12-03 Michael Meeks <michael@ximian.com>
2144 * libspi/Makefile.am: only build eventlistener.[ch]
2146 * libspi/accessible.c
2147 (impl_accessibility_accessible_get_child_at_index): don't leak.
2149 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
2150 before we hit the idle handler.
2152 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
2153 debugging than exit.
2155 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
2157 * libspi/listener.c (impl_notify_event): check source
2158 not NIL before unref.
2160 * libspi/registry.c (impl_registry_notify_event): ditto.
2162 * libspi/eventlistener.c
2163 (impl_accessible_event_notify_event): unref the source.
2165 * libspi/accessibleeventlistener.c
2166 (impl_accessible_event_notify_event): unref the source.
2168 * idl/Event.idl: remove 'hash_id' attribute - of no
2171 * libspi/application.c (notify_listeners): upd list
2173 (spi_application_object_event_listener),
2174 (spi_application_toolkit_event_listener): upd to do correct
2178 (_registry_notify_listeners): update.
2179 (parse_event_type): this method also leaks like a sieve.
2180 (impl_accessibility_registry_deregister_global_event_listener):
2181 fix ETYPE_WINDOW case.
2183 * libspi/application.c
2184 (impl_accessibility_application_register_object_event_listener):
2187 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
2189 * libspi/hypertext.c (impl_getLink): ditto.
2191 * cspi/spi_main.c (cspi_object_add): remove
2192 bogus CORBA_Object_duplicate.
2194 * cspi/spi-listener-impl.c (cspi_event): dup/ref
2197 * cspi/spi_accessible.c
2198 (Accessible_getRelationSet): fix leak / referencing issue.
2200 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
2201 (cspi_object_add, cspi_object_unref): upd.
2202 (spi_object_release, get_live_refs): impl.
2203 (cspi_cleanup): simplify.
2205 * *.[ch]: s/boolean/SpiBoolean/
2207 * cspi/spi_accessible.c (role_names): actualy order so it
2208 corresponds with the enum !
2210 * test/test-simple.c (test_roles): check some role strings
2211 vs. enums to detect offset errors.
2213 2001-12-01 Michael Meeks <michael@ximian.com>
2215 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
2217 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
2219 (Accessible_getChildAtIndex): use cspi_add_check so we
2220 check the ev before using a (possibly) invalid value.
2222 * libspi/accessible.c
2223 (impl_accessibility_accessible_get_parent): don't segv
2226 * at-bridge/bridge.c (gtk_module_init): upd.
2227 (bridge_property_event_listener): don't leak strings
2229 (bridge_state_event_listener),
2230 (bridge_property_event_listener): don't use a static
2231 buffer in case of recursive event emission &
2232 re-enterancy - split out the swathe of cut and paste
2234 (emit_eventv): and fix 2 ref leaks here & comply to the
2236 (bridge_register_app): rename to
2237 (bridge_idle_init): this and kill arg parsing, split
2238 various inits & bonobo-activation registration to module
2239 init time, kill referencing error.
2240 (bridge_exit_func): fix the same leak.
2241 (bridge_focus_tracker): don't leak event structures
2243 (bridge_signal_listener): more leakage and cut & paste
2245 (bridge_key_listener): return the result - FIXME is
2246 this polarity correct ?
2247 (accessibility_keystroke_from_atk_key_event): rename
2248 (accessibility_init_keystroke_from_atk_key_event): and stop
2250 (gtk_module_init): return a value - not that it is checked by
2252 (bridge_key_listener): register my horror at casting between
2253 IDL defined structs.
2254 (bridge_get_registry): kill - not used.
2256 * cspi/spi_accessible.c (Accessible_getRole): make return const.
2258 * test/test-simple.c (test_roles): impl.
2259 (test_desktop, validate_accessible, validate_tree): impl.
2261 * cspi/spi_accessible.c (role_names): fixup bogus
2262 MAX_ROLES setup, make constants const for efficient linkage
2263 (AccessibleRole_getName): conform to coding style, make
2266 2001-11-30 Michael Meeks <michael@ximian.com>
2268 * cspi/spi.h: add missing prototype.
2270 * libspi/registry.c (spi_listener_struct_new): fix sig.
2272 * test/Makefile.am: add test-simple
2274 * test/test-simple.c: add
2276 * test/test.sh: add.
2278 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
2280 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
2281 do it straight - since otherwise we often get an activation race.
2283 [ work before Bill duplicated a chunk of it ... ]
2284 2001-11-30 Michael Meeks <michael@ximian.com>
2286 * libspi/keystrokelistener.c
2287 (spi_keystroke_listener_class_init): fixup arg
2290 * libspi/eventlistener.c
2291 (spi_event_listener_class_init): ditto.
2293 * tests/test.sh: add.
2295 * cspi/spi-listener-impl.h: update macros.
2297 * cspi/spi-listener-impl.c
2298 (cspi_event_listener_remove_callback): add
2299 correct pre-conditions.
2301 * cspi/spi_main.c (SPI_exit): guard vs. double
2302 exits, exit the mainloop nicely.
2303 (SPI_event_main): make more sense.
2304 (SPI_init): move the atexit evilness here so we
2305 always do it (yuck).
2306 (SPI_event_main): upd.
2308 * test/simple-at.c: update for listener changes.
2310 * registryd/registryd.c (main): prune kruft.
2312 * libspi/libspi.h: upd.
2314 * libspi/eventlistener.[ch]: rename broken macros.
2316 * libspi/accessibleeventlistener.[ch]: remove.
2318 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
2320 * test/test-simple.c: Add - automated tests.
2322 * cspi/spi-listener-impl.c (cspi_event),
2323 (cspi_key_event): add user_data to invoke.
2324 (cspi_keystroke_listener_finalize): impl.
2325 (cspi_keystroke_listener_class_init): upd.
2328 (createAccessibleEventListener),
2329 (AccessibleEventListener_addCallback),
2330 (createAccessibleKeystrokeListener),
2331 (AccessibleKeystrokeListener_addCallback): upd.
2333 * libspi/deviceeventcontroller.c
2334 (spi_device_event_controller_check_key_event): add public proto.
2337 (impl_accessibility_registry_deregister_global_event_listener):
2338 always init listeners.
2339 (_registry_notify_listeners): yes it is.
2341 * cspi/spi-listener-impl.c (cspi_key_event):
2343 (cspi_event_listener_finalize): impl.
2344 (cspi_event_listener_class_init): hook up.
2345 (event_handler_new, event_handler_free),
2346 (event_list_remove_by_callback): impl.
2347 (cspi_event_listener_remove_callback),
2348 (cspi_keystroke_listener_remove_callback),
2349 (cspi_keystroke_listener_add_callback),
2350 (cspi_event_listener_add_callback): upd.
2352 * libspi/keystrokelistener.c
2353 (keystroke_listener_object_finalize): kill
2354 (spi_keystroke_listener_class_init): upd.
2355 (spi_keystroke_listener_add_callback),
2356 (spi_keystroke_listener_remove_callback): kill,
2358 (impl_key_event): prune drasticaly.
2360 * libspi/eventlistener.c
2361 (spi_event_listener_add_callback),
2362 (spi_event_listener_remove_callback): kill, use
2364 (impl_accessible_event_notify_event): upd.
2365 (spi_event_listener_object_finalize): remove.
2367 * libspi/Makefile.am: use eventlistener.[ch]
2369 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2371 * libspi/registry.c (_registry_notify_listeners):
2372 Changed listener loop iteration to use preferred convention.
2373 Got rid of string memory leaks caused be calling g_strconcat
2374 inside function calls.
2376 * libspi/registry.c (parse_event_type):
2377 Stopped g_strconcat memory leaks, free the g_strsplit return,
2378 g_strdup the split pieces when used, etc.
2380 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2383 Change method 'compare' to return a 'difference set' rather than
2384 taking a StateSet as an out parameter (more Java-friendly).
2386 * idl/Accessible.idl:
2387 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2389 * idl/Component.idl:
2391 Changed methods 'getExtents' and 'getImageExtents' in these
2392 interfaces to return a BoundingBox structure.
2393 (getPosition and getSize are redundant and possibly should be
2394 removed, rather than creating a corresponding Point struct.)
2396 * cspi/spi_component.c:
2397 Modify implementation of getExtents to reflect the above IDL
2402 Add (missing) AccessibleImage_getExtents () API.
2404 * docs/reference/cspi/at-spi-cspi-sections.txt:
2405 Added AccessibleImage_getImageExtents () to docs.
2407 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2409 * idl/Component.idl:
2410 Added two methods, getLayer () and getMDIZOrder (), to reflect
2411 the new ATK methods atk_object_get_layer and
2412 atk_object_get_mdi_z_order. (Which arguably should be part of the
2413 AtkComponent API and AtkObject). Also added an enum,
2414 ComponentLayer, for the first method's return value.
2416 * libspi/component.c:
2417 Added implementations for these methods.
2419 * cspi/spi_component.c:
2421 Added cspi binding methods for above,
2422 AccessibleComponent_getLayer() and
2423 AccessibleComponent_getMDIZOrder().
2424 Added cspi enum 'AccessibleComponentLayer'.
2426 * docs/reference/cspi/at-spi-cspi-sections.txt:
2427 Added above methods to docs.
2431 Changed typedef for 'boolean' type (and all references to it) to
2432 SPIBoolean, to avoid keyword clashes with C++.
2435 Changed usages of 'boolean' to SPIBoolean.
2437 * test/keysynth-demo.c:
2438 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2439 app), except where SPIBoolean is required by the callbacks API.
2441 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2443 * cspi/spi_registry.c:
2444 Removed obsolete X event loop for passive keygrabs (which now
2447 * registryd/registryd.c:
2448 Removed unnecessary call to gdk_init() [cruft]. This also allows
2449 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2452 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2454 * docs/reference/cspi:
2455 Included docs for SPI_freeString in generated documentation.
2458 Renamed spi_freeString to SPI_freeString, for consistency. Added
2459 documentation for this function.
2462 Renamed spi_freeString to SPI_freeString, for consistency.
2463 Removed obsolete method declaration string_from_corba_string.
2465 * test/keysynth-demo.c:
2466 Small tweak to comments.
2469 Stopped leaking the strings returned from CSPI.
2471 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2473 Merged Michael's branch (see his ChangeLog entries below).
2475 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2476 bridge is alive, release on exit.
2478 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2479 Fix type check macro.
2482 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2485 Added is_gnome_app static, and method cspi_is_gnome_app(),
2486 so we can call the appropriate shutdown routine at exit in SPI_exit.
2488 * cspi/spi_main.c (cspi_object_ref):
2489 Duplicate the corba object passed in, since we're keeping it around.
2491 * cspi/SPI_exit.c, cspi_cleanup:
2492 Moved the releasing of the live refs to its own function, so we
2493 can put it in g_atexit (). Call the appropriate shutdown API
2494 depending on whethe calling client is a gnome app or not
2495 (bonobo_main_quit or CORBA_ORB_shutdown).
2497 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2498 Unref the listener when this method is called, after
2499 deregistration. Updated the API docs to note this behavior.
2501 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2502 Bugfixes: Ref the bonobo object when returning a parent or child
2503 reference, or an AccessibleRelation. Generally made sure
2504 BonoboObject refcount is incremented whenever we return an
2507 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2508 Fixed typo/bug in signal declaration.
2510 * libspi/accessibleeventlistener.h:
2513 * libspi/application.c (spi_application_new):
2514 Fixed leak in initialization.
2517 Remembered to increment bonobo-object refcount when returning
2518 children (applications) from desktop object.
2519 Added (empty) finalize method.
2521 * libspi/deviceeventcontroller.c:
2522 Hold a ref to listeners inside DEControllerKeyListeners.
2523 Added dec_key_listener_free() method. Use prepend instead of
2524 append in key_listener list. Fixed some refcount madness and
2525 leaks in the listener registration/deregistration - deregistration
2526 now calls dec_key_listener_free() on listeners, and on the
2527 temporarily constructed dec_key_listener() used to perform the search/match.
2529 * libspi/hypertext.c (spi_hypertest_finalize):
2530 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2531 class. Also fixed spi_hypertext_interface_new() and
2532 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2534 * libspi/hypertext.h:
2535 Removed pointless and duplicate AtkObject pointer from
2538 * libspi/keystrokelistener.c:
2539 Fixed incorrect type of keystroke_listener_parent_class,
2540 renamed keystroke_listener_object_finalize to
2541 spi_keystroke_listener_object_finalize.
2542 Fixed typo in signal declaration
2543 (spi_keystroke_listener_class_init).
2545 * libspi/registry.c:
2546 Added funcsions spi_listener_struct_new() and
2547 spi_listener_struct_free() to help with memory management issues.
2548 We also now use these methods instead of gnew + poking stuff into
2549 the struct, and to decrement listener counts/free the listeners
2550 when deregistering them.
2551 Fix more refcount bugs in getDesktop() and
2552 getDeviceEventController().
2555 De-ref the desktop after enumerating the applications. Explicitly
2556 decrement the refcounts on the created listeners on exit (using
2557 _unref for keystroke listeners, and via the
2558 deregisterGlobalEventListenerAll command for other event
2561 2001-11-27 Michael Meeks <michael@ximian.com>
2563 * cspi/spi-listener.h: fixup enum.
2565 2001-11-27 Michael Meeks <michael@ximian.com>
2567 * cspi/spi-listener-impl.c (cspi_event_listener_new),
2568 (cspi_keystroke_listener_new): Use the cspi variants.
2570 2001-11-26 Michael Meeks <michael@ximian.com>
2572 * test/keysynth-demo.c: fix 2 compile warnings, missing
2575 * test/simple-at.c (report_focussed_accessible),
2576 (report_focus_event, report_button_press),
2577 (check_property_change, is_command_key),
2578 (report_ordinary_key_event, report_command_key_event): upd.
2580 * util/mag_client.h: include pre-requisites.
2582 * libspi/accessibleeventlistener.c
2583 (spi_event_listener_object_finalize): free any lingering
2586 * libspi/keystrokelistener.c
2587 (keystroke_listener_object_finalize): ditto.
2589 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
2590 callbacks, with cspi types.
2592 * cspi/spi_event.c (createAccessibleEventListener): chain to
2593 (AccessibleEventListener_addCallback): here.
2594 (createAccessibleKeystrokeListener): chain to
2595 (AccessibleKeystrokeListener_addCallback): here.
2597 * libspi/keystrokelistener.c
2598 (spi_keystroke_listener_class_init): add signal.
2599 (impl_key_event): emit the event.
2600 (boolean_handled_accumulator): impl.
2601 (marshal_BOOLEAN__POINTER): add, gack.
2603 * libspi/accessibleeventlistener.c
2604 (spi_event_listener_class_init): add signal.
2605 (impl_accessible_event_notify_event): emit the signal &
2606 make the loop efficient.
2607 (spi_event_listener_add_callback): prepend the callback.
2609 * libspi/accessibleeventlistener.h: add an 'event' signal,
2610 decl type on callback.
2612 * libspi/keystrokelistener.h: ditto.
2614 * cspi/spi-listener.h: make methods typesafe and
2615 make them use the new event typedefs.
2617 * test/simple-at.c (report_focussed_accessible):
2618 include mag_client.h
2619 Use *(void *)text_interface not the other thing.
2621 * configure.in: add gtk to registryd bits - since we use
2624 * util/magnifier.c: include libbonobo.h
2626 2001-11-25 Bill Haneman <bill.haneman@sun.com>
2628 * test/keysynth-demo.c:
2629 Turned this into a simple scanning keyboard, to demonstrate the
2630 use of g_timeout_add () as a means of creating timers for
2631 scanning, and the use of GtkStyle for visually indicating when
2632 virtual keyboard elements are selected.
2634 keysynth-demo now listens to any keyboard keys with zero-valued
2635 keycodes (i.e. 'unused' keys) and interprets them as
2638 Reworked the shiftlatch code so that shift-down state isn't held
2639 for long periods (it's only synthesized immediately prior to
2640 the keysynth event it's modifying). Note that shiftlatch in this
2641 demo is a convenience, not intended to take the place of AccessX
2642 which is the better choice for getting 'sticky' modifier keys.
2644 * libspi/deviceeventcontroller.c:
2645 * at-bridge/bridge.c:
2646 * cspi/spi_registry.c:
2647 Removed some debug print stuff, and put other verbosity in #ifdef
2652 Implemented some more of the magnifier IDL for the simple
2653 magnifier: namely, getZoomRegionParams.
2654 Added mag_x and mag_y members to MagnifierData struct, aid of this
2656 Added GtkWindow::realize signal handler to magnifier, to keep it
2657 from receiving keyboard focus from the WM.
2659 2001-11-23 Mark McLoughlin <mark@skynet.ie>
2661 * cspi/spi-private.h: my guess at what michael forgot
2662 before he ran off to NZ :-)
2664 2001-11-23 Michael Meeks <michael@ximian.com>
2666 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
2667 comment out non existant method invoke so we link.
2669 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
2670 use bonobo_exception_get_text for more friendly warnings.
2672 * cspi/spi.c (Obj_Add): move into spi_main & rename
2673 spi_object_add; kill spi.c
2675 * cspi/spi_registry.c
2676 (deregisterGlobalEventListener),
2677 (deregisterGlobalEventListenerAll),
2678 (registerGlobalEventListener): fix exception leaks.
2680 * cspi/spi_main.c (spi_exception): impl. helper, so we
2681 don't leak exceptions.
2683 * cspi/spi_selection.c
2684 (AccessibleSelection_deselectSelectedChild): return the
2687 * cspi/spi_main.c (spi_ev): impl; hack - gack.
2688 (spi_registry): ditto.
2689 (SPI_init): guard against double inits.
2691 * cspi/*.c: use spi_ev (), and spi_registry () where
2692 appropriate - a temporary hack until we have something
2693 better. Use spi_object_add
2695 2001-11-22 Michael Meeks <michael@ximian.com>
2697 * cspi/Makefile.am: re organise, install the headers.
2699 * cspi/*.h: add G_BEGIN/END_DECLS
2701 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2704 Added non-preemptive keylistener for key events with no modifiers
2705 and shift-only modifier.
2707 * libspi/keystrokelistener.c:
2708 Removed some verbose diagnostics printout.
2710 * cspi/spi_registry.c:
2711 Fixed a bug that caused all key listeners to be registered as
2714 * libspi/deviceeventcontroller.c:
2715 Fixed bug that caused XGrabKey (preemptive key grab) to be called
2716 for non-preemptive key masks.
2719 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2721 * docs/reference/idl/at-spi-idl-docs.sgml:
2722 * docs/reference/idl/at-spi-idl-sections.txt:
2723 * docs/reference/idl/at-spi-idl-overrides.txt:
2724 Added missing files.
2726 * docs/reference/Makefile.am:
2727 removed idl from SUBDIRS until we can figure a way to get gtk-doc
2728 to scan the IDL files :-(
2733 Added .cvsignore files.
2735 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2737 * libspi/deviceeventcontroller.c:
2738 * libspi/keystrokelistener.c:
2740 * cspi/spi_registry.c:
2741 Added filters for KeySets, KeyEventSeq, and event types to key
2742 event dispatching, so listeners should only receive those events
2743 that they requested :-)
2745 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2750 * docs/reference:Makefile.am:
2751 * docs/reference/cspi:
2752 * docs/reference/cspi:Makefile.am:
2753 * docs/reference/cspi:tmpl:
2754 * docs/reference/cspi:tmpl:*.sgml:
2755 * docs/reference/idl:
2756 * docs/reference/idl:Makefile.am:
2757 * docs/reference/idl:at-spi-idl-sections.txt:
2758 * docs/reference/idl:at-spi-idl-docs.sgml:
2759 * docs/reference/idl:tmpl:
2760 * docs/reference/idl:tmpl:*.sgml:
2762 Restructured docs directory to allow separate 'reference' docs
2763 section, and forked idl and cspi docs. Added the sgml template
2764 files to CVS. Added the first sections/structural sgml for the
2767 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
2769 * configure.in, libspi/Makefile.am: find libXtst.
2771 2001-11-21 Michael Meeks <michael@ximian.com>
2773 * test/accessx-gui.c: s/spi_value/value/ - doh.
2775 * libspi/base.[ch]: add.
2777 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2779 * idl/Accessible.idl:
2780 * idl/Application.idl:
2783 Started gtk-doc cleanup on IDL.
2785 * libspi/deviceeventcontroller.c:
2786 Added and connected non-preemptive key notification from the
2787 toolkits (in addition to the pre-emptive support from XServer
2788 which we had before, but which causes 'focus flashing'). Filters
2789 are presently limited to key modifiers and global/non-global,
2790 KeySets are presently ignored, as are KeyEvent masks.
2792 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
2793 structs into the persistant structure rather than just storing
2794 pointers to things that might not persist across servant
2797 The XGrabKey call now does async keygrabs, because synchronous
2798 ones were deadlocking with GDK_event code in a very nasty way.
2800 Added boolean to internal method notify_keylisteners, to indicate
2801 whether the event came from the 'toolkit source' or the 'global
2802 (XServer) source' - this is used in the notification process to
2803 determine which listeners to send the event to.
2805 deviceeventcontroller.c is now warning-free.
2807 * libspi/registry.c:
2808 Fixed regression in application de-registration.
2809 Also fixed some really brain-dead weirdness having to do with
2810 event dispatching - event structs are now duplicated before being
2811 re-marshalled in the dispatch to listeners. This also fixes a
2812 Solaris build problem.
2815 2001-20-11 Michael Meeks <michael@ximian.com>
2818 (impl_accessibility_registry_deregister_global_event_listener):
2821 * libspi/deviceeventcontroller.c
2822 (spi_device_event_controller_check_key_event): return
2823 FALSE on no virtual method.
2825 * libspi/*..h: make includes work on a correctly pathed install.
2827 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
2829 * libspi/application.h: kill unused ( and whacked out )
2830 gboolean *spi_application_set_id (AtkObject *app, long id);
2832 2001-20-11 Michael Meeks <michael@ximian.com>
2834 * libspi/*.[ch]: further convert to bonobo's type func
2835 macros, remove redundnant casts etc.
2837 * libspi/text.c s/accessibility_text/spi_text/g,
2838 re-order to de-cruft.
2840 * libspi/hypertext.c: re-order to kill a huge slew
2841 of redundant forward decls.
2843 * libspi/relation.c: ditto.
2845 * libspi/image.c: ditto.
2847 * */.cvsignore: update
2849 2001-20-11 Michael Meeks <michael@ximian.com>
2851 * libspi/deviceeventcontroller.c
2852 (_controller_register_with_devices): use g_getenv,
2853 kill stdlib.h include.
2855 * libspi/keystrokelistener.c
2856 (spi_keystroke_listener_get_type): kill
2857 (spi_keystroke_listener_class_init),
2858 (spi_keystroke_listener_init): rename to this.
2860 * libspi/text.c (impl_getAttributes): fix warning / bug.
2862 * libspi/*.[ch]: more headers, includes and over commenting.
2864 2001-20-11 Michael Meeks <michael@ximian.com>
2866 * libspi/*.[ch]: fixup headers, includes and over commenting.
2868 * libspi/image.c (impl__get_imageDescription): const
2869 correctness warning fix. remove redundant casting.
2871 * libspi/table.c (impl_getRowDescription): ditto.
2872 (impl_getColumnDescription): ditto.
2874 * libspi/libspi.h: add.
2876 2001-19-11 Michael Meeks <michael@ximian.com>
2878 * libspi/editabletext.c (impl_setAttributes): fix warnings.
2880 * libspi/component.c (accessibility_component_get_type):
2881 rename to (spi_component_get_type): and macroify.
2882 (accessibility_component_init): rename to
2883 (spi_component_init): this
2884 (accessibility_component_class_init): rename to
2885 (spi_component_class_init): this
2887 * libspi/action.c (spi_action_get_type): kill, use the macro.
2889 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
2892 * libspi/application.c (spi_application_object_event_listener),
2893 (impl_accessibility_application_register_object_event_listener):
2894 warning fixes / const understanding updates.
2896 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
2899 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2901 * libspi/spi_accessible.c: Added docs and C bindings for
2902 AccessibleStateSet. (No implementations yet). Documentation
2903 coverage for C bindings now 100%. Made docs for event listeners
2908 boolean notifyListenersSync (in DeviceEventListener listener,
2909 in DeviceEvent event);
2911 oneway void notifyListenersAsync (in DeviceEventListener listener,
2912 in DeviceEvent event);
2914 Added DeviceEventListener and DeviceEvent structs (may deprecate
2915 KeyStroke and KeystrokeListener in favor of this generic
2916 event/listener framework for devices).
2918 * libspi/deviceeventcontroller.c:
2920 Changed some key listener code to take masks, etc., and paved the
2921 way for integration of toolkit/non-preemptive key events. Changed
2922 signatures of some internal methods.
2924 * at-bridge/bridge.c:
2925 Fixed regression connecting to interface signals, apparently
2926 caused by GTK+ changes.
2928 Added an internal bridge_state_listener to deal with
2929 property-change:accessible-state signals.
2931 Changed the key_listeners GList to store structs (including masks,
2932 etc.) instead of just CORBA_Objects (required for full
2933 implementation of key listener API).
2935 Connected the bridge to all currently supported Atk signals.
2936 Events now supported:
2937 object:property-change
2938 object:property-change:accessible-name
2939 object:property-change:accessible-state
2940 object:property-change:accessible-description
2941 object:property-change:accessible-parent
2942 object:property-change:accessible-value
2943 object:property-change:accessible-role
2944 object:property-change:accessible-table-caption
2945 object:property-change:accessible-table-column-description
2946 object:property-change:accessible-table-column-header
2947 object:property-change:accessible-table-row-description
2948 object:property-change:accessible-table-row-header
2949 object:property-change:accessible-table-summary
2950 object:children-changed
2951 object:visible-data-changed
2952 object:selection-changed
2953 object:text-selection-changed
2955 object:text-caret-moved
2957 object:row-reordered
2959 object:column-inserted
2960 object:column-reordered
2961 object:column-deleted
2962 object:model-changed
2964 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2966 * libspi/hyperlink.c,h:
2967 Fixed some broken stuff in hyperlink.
2969 * libspi/relation.h:
2970 * libspi/relation.c:
2971 * cspi/spi_accessible.c:
2972 Initial implementations of AccessibleRelation methods, and docs.
2974 * libspi/accessible.c:
2975 Fixed a bug that caused SEGV if an accessible
2976 object's description is NULL, and a client
2977 requests it. An empty string is now returned.
2979 * cspi/spi_editabletext.c:
2980 * cspi/spi_hypertext.c:
2982 * cspi/spi_hyperlink.c:
2986 Doc coverage now 95%.
2988 2001-16-11 Bill Haneman <bill.haneman@sun.com>
2990 One last namespacing revision:
2991 * libspi/accessibleeventlistener.[ch]:
2992 Renamed SpiAccessibleEventListener to SpiEventListener,
2993 (no need for two namespaces ;-)
2995 And lots of documentation fixes:
2997 * docs/at-spi-docs.sgml:
2998 Fixed 'underscore vs. hyphen' bug that was preventing
2999 the gtk-doc API docs from being automatically generated.
3002 * cspi/spi-listener.h
3004 * cspi/spi_accessible.c
3006 * cspi/spi_application.c
3007 * cspi/spi_component.c
3008 * cspi/spi_editabletext.c
3010 * cspi/spi_hypertext.c
3012 * cspi/spi_registry.c
3013 * cspi/spi_selection.c
3017 * docs/at-spi-docs.sgml
3018 * docs/at-spi-sections.txt
3020 Added and fixed up gtk-doc documentation in cspi.
3022 Interfaces now (fully) documented (subject to revision and enhancement):
3024 Event Listener Support
3026 AccessibleApplication
3030 AccessibleEditableText
3037 AccessibleRelationSet
3042 2001-14-11 Bill Haneman <bill.haneman@sun.com>
3044 * at-bridge/bridge.c:
3045 Initial work for toolkit-level key snooper connection by bridge.
3050 New typedefs and fixes to support new namespacing, and cleaner
3051 separation of cspi bindings from libspi bonobo implementation.
3052 Removed inconsistent and extraneous Spi* namespace prefix that
3053 had crept into cspi headers.
3054 Lots of comment fixes that sed had missed.
3056 * cspi/spi-roletypes.h:
3057 * cspi/spi-statetypes.h:
3058 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
3059 to AccessibleRoleType.
3061 * libspi/accessibleeventlistener.h:
3062 Fixed minor namespacing weirdness.
3064 * libspi/deviceeventcontroller.c:
3065 Reordered some internal API for device listeners.
3066 Changed the key registry final boolean to 'is_system_global'
3067 rather than 'is_synchronous', which is more descriptive of its
3069 Added spi_device_event_controller_new().
3070 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
3072 * libspi/keystrokelistener.[ch]:
3073 Namespaced KeystrokeListener to SpiKeystrokeListener.
3074 Changed uses of keymasks to use SPI_ prefix, and did other
3077 * libspi/keymasks.h:
3078 Namespaced keymask constants with SPI_ prefix.
3080 * libspi/registry.c:
3081 Some warning fixes, and knock-on fixes from namespace changes.
3084 Added rules for accessx-gui test program.
3086 * test/accessx-gui.c:
3087 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
3088 utility. It doesn't actually use at-spi, but it's still cool and
3091 * test/keysynth-demo.c:
3095 Fixes so that these test clients work properly with the namespaced
3096 libraries. (Incompletely tested for technical reasons, fixes may follow)
3099 2001-13-11 Michael Meeks <michael@ximian.com>
3101 * libspi/application.c
3102 (impl_accessibility_application_get_version),
3103 (impl_accessibility_application_get_toolkit_name):
3105 (impl_accessibility_application_set_id),
3106 (impl_accessibility_application_get_id): remove
3107 redundant casting code.
3109 * libspi/action.c (impl_getDescription): fix warnings.
3111 * libspi/accessible.c
3112 (impl_accessibility_accessible_get_parent),
3113 (impl_accessibility_accessible_get_child_at_index),
3114 (impl_accessibility_accessible_get_state),
3115 (impl_accessibility_accessible_get_relation_set):
3116 warning fixes & include action.h
3118 2001-13-11 Michael Meeks <michael@ximian.com>
3120 * *.[ch] fix bits I screwed up:
3122 s/([^ \tb(\*\&\?\",])spi_/\1/g;
3123 s/([^ \tb(\*\&\?\",])Spi/\1/g;
3125 2001-13-11 Michael Meeks <michael@ximian.com>
3127 * *.[ch] Namespace libspi into spi_ and Spi.
3129 2001-13-11 Michael Meeks <michael@ximian.com>
3131 * Makefile.am: dist & install at-spi-1.0.pc
3133 * libspi/Makefile.am: install into at-spi-1.0
3135 * idl/Makefile.am (idldir): install into at-spi-1.0
3137 * at-spi-1.0.pc.in: add.
3139 * configure.in: build it.
3141 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3143 * test/keysynth-demo.c:
3144 Use a 'realize' signal-handler to set the WM properties for
3145 the virtual keyboard, rather than making it a "POPUP" type
3146 override-redirect window (thanks to anders carlsson for that
3149 2001-11-11 Bill Haneman <bill.haneman@sun.com>
3152 * test/keysynth-demo.c:
3153 Added new test of key synthesis, which creates a simple
3154 (mouse-operated) onscreen keyboard. It inserts key events into
3155 the currently-focused window, thus it does not grab keyboard focus
3158 * cspi/spi_registry.c:
3159 Added C binding for AT-SPI generateKeyEvent.
3161 * libspi/deviceeventcontroller.c:
3162 Added call to XFilterEvent so that key listener works with XIM (we
3163 hope). Added event_synth_type to generateKeyEvent, so that we can
3164 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
3165 synthesize a press/release pair for KeySyms.
3167 2001-11-09 Bill Haneman <bill.haneman@sun.com>
3169 * libspi/Makefile.am:
3170 * registryd/Makefile.am:
3171 (temporary) hack to include libXtst in libspi and registryd.
3172 (Needed for keystroke synthesis, see below).
3175 Improved API for registerKeystrokeListener, in accordance with
3176 discussions with Gnopernicus team and X server research.
3178 * libspi/registry.c:
3179 * libspi/deviceeventcontroller.c:
3180 * libspi/accessible.c:
3181 * libspi/keystrokelistener.c:
3182 Changes and fixes to support keylisteners for potentially
3183 consumed key events (that is, 'passive grabs').
3184 Added implementation for generateKeyEvent() [untested].
3187 Changes to registerKeystrokeListener() API, as above.
3188 Added deregisterGlobalEventListenerAll(), and
3189 deregisterKeystrokeListener(), which are needed for clean exit of
3191 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
3192 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
3194 * cspi/spi_registry.c:
3195 Added implementations of function prototypes mentioned above.
3197 * registryd/registryd.c:
3198 Added the key listener event source as a g_timeout(), to allow
3199 receipt of key events that are not caught by GDK (since GDK
3200 doesn't support passive keygrabs, this was necessary).
3203 Changed to attach a keylistener to 'Alt' keys, and
3204 respond to the following keycommands: Alt-M (toggle magnifier);
3205 Alt-F (toggle speech); Alt-Q (quit).
3206 Added an exit routine to deregister the listeners, and a key
3207 listener that prints some key info to the console when a key
3208 matches the listener mask (and is thus received by the listener).
3210 * util/idl/Magnifier.idl:
3211 Changes to magnifier API to support multiple zoom regions,
3212 non-uniform scaling in x and y, markDirty, and a host of other
3213 features that would be useful to magnification.
3216 * util/mag_client.c:
3217 * util/mag_client.h:
3218 * util/mag_control.c:
3220 Source code changes to support the above IDL changes.
3223 As above, and also changes to use a (slower) generic conversion
3224 path for colormap conversions, since the fast RGB conversions have been
3225 reported to fail for 16-bit displays.
3227 2001-10-26 Michael Meeks <michael@ximian.com>
3229 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
3231 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
3233 * at-bridge/Makefile.am: fix LDFLAGS.
3235 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
3237 * at-bridge/bridge.c:
3238 Re-worked listeners for toolkit events, now we have signal
3239 and property listeners. Added a private method
3240 register_atk_event_listeners(), which registers with the
3241 various atk and gtk signals we need to monitor in order to emit
3243 Added emission hook for AtkObject:property-change events, to
3244 support the 'property listeners'.
3245 Fixed some alloc()s of Accessibility_Event structs to use CORBA
3248 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
3249 which emit warnings and exit, respectively, if CORBA errors occur
3250 during remote calls, and we now use these methods to check most of
3251 our CORBA calls in the C bindings.
3253 * cspi/spi_accessible.c:
3254 Changed AccessibleSelection_refSelectedChild() to
3255 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
3256 now increment refcounts.
3258 * cspi/spi_component.c:
3259 Fixed some long pointer casts (dangerous!) to pass pointers to
3260 CORBA_longs of the proper type to the CORBA stubs, and copy the
3261 data into the longs that were passed into the C bindings code.
3263 * at-bridge/bridge.c:
3265 * libspi/accessible.c:
3266 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
3267 hyperlinks, AtkHyperlink is an object type.
3269 * libspi/application.c:
3270 Added various conversions to and from "generic" event types and
3271 atk-specific types; this is really part of the 'bridge'
3272 implementation but is valid for all AtkObject-based accessibility
3275 * libspi/editabletext.c:
3276 Fixed nasty bug wherein editable text's finalize method was
3277 unref'ing tha AtkObject reference that the text parent class was
3278 about to unref _again_. There was also a nasty inheritance bug
3279 that meant that the AccessibleEditableText class was corrupt.
3281 * libspi/selection.c:
3282 Provided implementations for some selection API that was broken.
3284 * idl/Application.idl:
3285 Added registerObjectEventListener () method.
3288 Fixed a number of return values that were Bonobo_Unknowns from
3289 bonobo_object_corba_objref(), which I
3290 forgot to dup before returning. Changed instances of
3291 bonobo_object_corba_objref (bonobo_object(o)) to
3292 BONOBO_OBJREF(o), for concision and clarity.
3294 <2001-10-13 Louise Miller <louise.miller@sun.com>
3296 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
3297 idl/Event.idl, idl/Registry.idl
3298 Changed these files to include Bonobo_Unknown.idl instead
3301 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
3303 * libspi/component.c libspi/component.h:
3304 Fixed typo. Added assertions for object checks in
3305 AccessibleComponent code.
3307 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
3309 * idl/Accessible.idl:
3310 Added 'isEqual (Accessible *object)'
3311 method for Accessible. (Not Yet Implemented).
3314 Changed signature of registerKeystrokeListener() to
3315 take a KeySet and KeyEventSeq so that specific keys and event
3316 types could be requested for monitoring, and added a flag
3317 is_synchronous so that either synchronous or asynchronous
3318 notification could be requested. (However this is not all
3319 implemented yet). This also meant adding two new typedefs,
3320 KeyEventSeq and KeySet.
3323 Added two new relations, RELATION_TOOLTIP_FOR and
3324 RELATION_LEAFNODE_OF.
3327 Added new state, STATE_HAS_TOOLTIP.
3329 * libspi/text.c, editabletext.c:
3330 Added new assertions to all casts of bonobo-objects from
3331 CORBA servants, to prevent Text API calls on non-text objects.
3332 Changed suspect casts of int-pointer types, so that we
3333 always send a valid CORBA_long pointer to the CORBA APIs that use
3334 in/out long parameters. We then have to copy from the CORBA_long
3335 into the regular long or int for return to the C bindings, or
3336 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
3339 * libspi/deviceeventcontroller.c:
3340 Cleaned these sources up.
3342 Changed return type for getCharacterAtOffset to
3343 CORBA_unsigned_long, to allow for 32-bit characters.
3346 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
3350 Fixed 'make dist' so that distro compiles...
3351 * libspi/keymasks.h:
3353 * cspi/spi-listener.c:
3354 KeystrokeListenerCB now returns a boolean.
3356 Added KeyEventType struct, and KeyStroke.
3357 Also added createKeystrokeListener(),
3358 KeystrokeListener_addCallback(),
3359 KeystrokeListener_removeCallback(), and added a keymask to
3360 registerKeystrokeListener().
3361 * cspi/spi_accessible.c:
3362 Changed numerous return types for interfaces from
3363 AccessibleComponent to Accessible<InterfaceName>; this was
3364 probably a cut-and-paste error.
3366 Implementations of new KeystrokeListener api (from spi.h,
3369 Changes to key modifier mapping.
3370 Created ControllerEventMask struct.
3371 Made DeviceEventController derive from Bonobo::Unknown.
3373 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3374 * libspi/deviceeventcontroller.c:
3375 Added a number of new internal (private) methods.
3376 * libspi/editabletext.c:
3377 * libspi/editabletext.h:
3378 Fixed a number of bugs related to the fact that
3379 editabletext inherits from text. Fixed the EditableText struct,
3380 the init() call, and use correct casts when calling Text methods
3381 from an EditableText object. Removed (duplicate) atko from the
3382 EditableText structure, we use the one in the parent Text
3383 structure via the casts mentioned above.
3384 * libspi/keystrokelistener.[ch]:
3385 * libspi/registry.c:
3386 Changes in support of keyboard handling (above).
3388 Keyboard handling, though partly functional, is still not
3389 recommended for at-spi client use as there is considerable
3390 work yet to be done.
3393 Changed some places where pointers to various int types
3394 are cast to be pointers to CORBA_long types and vice-versa:
3395 pointer casting is not safe so we pass pointers of the correct
3396 types and then cast the result before putting it into the target
3399 * libspi/text.h: minor typos corrected.
3401 We now speak not only the name of a Text element, but the
3402 first sentence of its content, when it receives focus.
3403 I also changed the text compression to 75% from 50%.
3404 * util/Accessibility_Util.server.in:
3405 Changed the default magnifier type to be a 3x vertical
3406 splitscreen magnifier (was previously a 2x horizontal one).
3408 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
3410 * libspi/keystrokelistener.h:
3411 * libspi/keystrokelistener.c:
3412 Initial functional implementations of KeystrokeListener.
3415 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3417 Fixed string handling for NULL strings in libspi.
3418 Added spi_freeString to free strings returned by C bindings.
3420 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
3422 * libspi/keystrokelistener.h:
3423 * libspi/keystrokelistener.c:
3424 Began (no-op) implementations of KeystrokeListener
3426 * libspi/deviceeventcontroller.c:
3427 * libspi/deviceeventcontroller.h:
3428 Began creating implementations of DeviceEventController,
3429 to handle keystroke and mouse event listening and
3431 * libspi/accessible.c:
3432 Stubbed-in the implementations for
3433 Accessibility_Accessible_getState and
3434 Accessibility_Accessible_getRelationSet.
3435 * libspi/registry.c:
3436 Improved de-registration process and fixed some bugs,
3437 deregistration now works correctly.
3439 Added initialization of applications list (to NULL).
3441 Reduced speech compression from 0.5 to 0.7, for demo.
3442 Changed call to gdk_window_set_decorations()
3443 to gtk_window_set_decorated().
3444 * at-bridge/bridge.c:
3445 Bridge now deregisters when app exits, via
3446 registration of a cleanup function
3447 with the g_atexit() call.
3448 Required making 'app' static, renamed 'this_app'.
3449 Fixed broken use of bonobo_init, passing argv wrongly.
3451 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
3455 Created a new directory for
3456 accessibility-related utilities, primarily for
3457 testing and demo purposes, but with possible
3464 Onscreen magnifier utility that
3465 is implemented as a bonobo service.
3467 * util/mag_client.c:
3468 * util/mag_client.h:
3469 Client-side support (simple C bindings)
3470 for Magnification service
3472 * util/mag_control.c:
3473 Client program example for
3474 Magnification service
3476 * util/Accessibility_Magnifier.server.in:
3477 Bonobo-activation file for the
3478 Magnification service.
3481 * util/idl/Magnifier.idl:
3482 IDL defining the bonobo Magnification
3486 Modifications to use the bonobo-activated magnifier
3487 above, in place of trying to connect to an existing
3488 magnifier that uses socket-listening IPC.
3490 If env variable MAGNIFIER is set, a magnifier service
3491 will be started if one does not exist.
3493 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
3494 * at-bridge/bridge.c:
3495 applied patch from Marc to build and run
3496 against new glib and gtk+ (seemed like a change
3497 to bonobo_init signature was made ?)
3499 made festival-server support turned off by default.
3500 Added support for a simple magnifier (off by default)
3501 which will be added to a 'util' directory later.
3502 * at-bridge/Makefile.am:
3503 Changed "application.h" header from a 'source'
3504 to a 'dependency' of libat-bridge.
3506 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3514 Added interface implementation c files to list of
3515 includes so they are included in libcspi.
3518 Changed prototype of AccessibleAction_doAction to return a
3520 Changed prototype of AccessibleTable_getCaption to
3521 return an Accessible.
3522 Changed prototype of AccessibleTable_getSelectedRows
3523 and AccessibleTable_getSelectedColumns to
3524 return a long (returns the number of selected rows
3525 or columns respectively).
3526 Changed name of AccessibleText_refRunAttributes to
3527 AccessibleText_getAttributes.
3528 Changed prototype of AccessibleText_getCharacterExtents to
3529 return a void rather than a boolean.
3530 Added support for a AccessibleCoordType parameter
3531 specifying what type of coordinates are desired.
3532 Added an AccessibleCordType parameter to
3533 AccessibleText_getPointAtOffset.
3535 * cspi/spi_accessible.c:
3536 Added code to return the outstanding interfaces from
3537 Accessible_queryInterface.
3539 * cspi/spi_action.c:
3541 Corrected call to getNActions to call the c binding
3544 * cspi/spi_editabletext.c:
3546 Changed name from setRunAttributes to setAttributes.
3548 * cspi/spi_hyperlink.c:
3550 Changed call to getNAnchors to correctly call the c
3551 binding for an attribute.
3553 * cspi/spi_hypertext.c:
3555 Changed getImageDescription to correctly call the
3556 binding for an attribute.
3558 * cspi/spi_selection.c:
3559 Changed getNSelectedChildren to correctly call the c
3560 binding for the attribute.
3561 Changed refSelectedChild to getSelectedChild.
3565 Changed getCaption to return an Accessible.
3566 Fixed calls which retrieve attributes.
3567 Changed refAt to getAccessibleAt.
3568 Changed getNSelectedRows and getNSelectedColumns to
3572 Changed getCharacterExtents and getPointAtOffset to accept an
3573 AccessibleCoordType.
3575 Changed calls which retrieve attributes.
3576 Changed refRunAttributes to getAttributes.
3581 * idl/Hyperlink.idl:
3582 Changed n_anchors attribute to nAnchors to keep naming
3583 convention consistent.
3586 Made Table inherit from Bonobo::Unknown.
3587 Added nSelectedColumns and nSelectedRows attributes.
3590 Made Value inherit from Bonobo::Unknown.
3592 * libspi/hyperlink.c:
3593 Change for nAnchors attributte name change.
3595 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3603 Added interface implementation c files to list of
3604 includes so they are included in libcspi.
3607 Changed prototype of AccessibleAction_doAction to return a
3609 Changed prototype of AccessibleTable_getCaption to
3610 return an Accessible.
3611 Changed prototype of AccessibleTable_getSelectedRows
3612 and AccessibleTable_getSelectedColumns to
3613 return a long (returns the number of selected rows
3614 or columns respectively).
3615 Changed name of AccessibleText_refRunAttributes to
3616 AccessibleText_getAttributes.
3617 Changed prototype of AccessibleText_getCharacterExtents to
3618 return a void rather than a boolean.
3619 Added support for a AccessibleCoordType parameter
3620 specifying what type of coordinates are desired.
3621 Added an AccessibleCordType parameter to
3622 AccessibleText_getPointAtOffset.
3624 * cspi/spi_accessible.c:
3625 Added code to return the outstanding interfaces from
3626 Accessible_queryInterface.
3628 * cspi/spi_action.c:
3630 Corrected call to getNActions to call the c binding
3633 * cspi/spi_editabletext.c:
3635 Changed name from setRunAttributes to setAttributes.
3637 * cspi/spi_hyperlink.c:
3639 Changed call to getNAnchors to correctly call the c
3640 binding for an attribute.
3642 * cspi/spi_hypertext.c:
3644 Changed getImageDescription to correctly call the
3645 binding for an attribute.
3647 * cspi/spi_selection.c:
3648 Changed getNSelectedChildren to correctly call the c
3649 binding for the attribute.
3650 Changed refSelectedChild to getSelectedChild.
3654 Changed getCaption to return an Accessible.
3655 Fixed calls which retrieve attributes.
3656 Changed refAt to getAccessibleAt.
3657 Changed getNSelectedRows and getNSelectedColumns to
3661 Changed getCharacterExtents and getPointAtOffset to accept an
3662 AccessibleCoordType.
3664 Changed calls which retrieve attributes.
3665 Changed refRunAttributes to getAttributes.
3670 * idl/Hyperlink.idl:
3671 Changed n_anchors attribute to nAnchors to keep naming
3672 convention consistent.
3675 Made Table inherit from Bonobo::Unknown.
3676 Added nSelectedColumns and nSelectedRows attributes.
3679 Made Value inherit from Bonobo::Unknown.
3681 * libspi/hyperlink.c:
3682 Change for nAnchors attributte name change.
3685 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
3687 implementations-- made server implementations own AtkObject pointers
3688 rather than their respective AtkInterrface pointers to fix
3689 refcounting. AtkHyperlink is still broken.
3691 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
3692 * cspi/spi_accessible.c:
3693 Added method Accessible_Role_getName(),
3694 and requisite string array (role_names).
3695 Added conversion string_from_corba_strin() call
3696 to Accessible_getName and _getDescription.
3697 * libspi/accessible.c:
3698 Added implementation for Accessible_getRole()
3700 Added festival support, used if environment variable
3703 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3705 * at-bridge/bridge.c:
3706 Now allocate Accessibility_Event using
3707 Accessibility_Event__alloc() instead of g_new0().
3708 * libspi/accessibleeventlistener.c:
3709 Initialize AccessibleEventListener->callbacks to NULL.
3710 Fixed accessible__event_listener_init() param, changed to
3711 "AccessibleEventListener *" type.
3712 Changed a bonobo_object_release_unref() call to
3713 Accessibility_Accessible_unref().
3714 * libspi/listener.c:
3715 Changed Bonobo_Unknown_unref to (equivalent)
3716 Accessibility_Accessible_unref.
3717 * libspi/registry.c:
3718 Changed bonobo_object_release_unref to
3719 Accessibility_Accessible_unref.
3721 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3724 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
3725 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
3726 spi-util.c spi-util.h
3727 Implementations for C bindings to remaining accessibility
3730 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3733 changed return value of Action from void to boolean to
3734 bring in line with ATK.
3737 Changed getText funcions to return "out" start and end offsets.
3738 Changed getAttributes to take and offset and return the start
3739 and end offset of the attribute run.
3740 Changed getOffsetAtPoint and getCharacterExtents to take an
3741 enum describing whether coordinates are window or screen.
3744 libspi/action.c libspi/action.h libspi/editabletext.c
3745 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
3746 libspi/hypertext.c libspi/hypertext.h libspi/image.c
3747 libspi/image.h libspi/selection.c libspi/selection.h
3748 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
3749 libspi/value.c libspi/value.h
3750 Added server implementations for outstanding ATK interfaces
3751 not yet implemented.
3753 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3756 Added (missing) getName() method.
3757 Made nActions an attribute.
3758 * idl/EditableText.idl:
3759 Changed order of params in setAttributes.
3760 * idl/Hyperlink.idl:
3761 Removed getAnchor, added getURI.
3763 Changed attributes to methods, for efficiency
3764 (so that getting extents can be done in one call)
3765 * idl/Selection.idl:
3766 Changed nSelectedChildren to attribute, and re-indented.
3767 * idl/Table.idl: changed nrows, ncolumns, caption, summary
3769 * idl/Text.idl: reformatted to match our coding style.
3770 (temporarily?) removed getRowColumnAtOffset().
3771 Changed text selection API to support multi-select and
3772 non-contiguous selections, as in ATK.
3773 * idl/Value.idl: changed some methods to attributes.
3775 2001-08-24 Mark McLoughlin <mark@skynet.ie>
3777 * libspi/listener.c(impl_notify_event):
3778 BonoboUnkown_unref the source instead
3779 of bonobo_object_release_unref - the ORB
3780 handles the releasing.
3782 * configure.in: require ORBit-2.3.94 for
3785 2001-08-21 Bill Haneman <bill.haneman@sun.com>
3787 Tagged CVS repository 'EA_1_0'.
3788 * README.EARLY_ACCESS:
3789 Alphabetized acknowledgements list, and
3791 Listed some known dependencies of at-spi.
3793 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3795 * docs/at-spi-docs.sgml:
3796 * docs/at-spi-sections.txt:
3797 * docs/at-spi-overrides.txt: (Added zero-length file)
3798 Documentation improvements - gtk-doc should build
3799 docs for all implemented C bindings now.
3802 * cspi/spi.c: (New file)
3803 * cspi/spi_event.c: (New file)
3804 * cspi/spi_registry.c: (New file)
3805 * cspi/spi_accessible.c: (New file)
3806 * cspi/spi_application.c: (New file)
3807 * cspi/spi_component.c: (New file)
3808 Split spi_main.c into six parts, and included them from
3809 "spi.c". This is a bit of a hack, probably temporary,
3810 but required by gtk-doc, apparently.
3812 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3815 * docs/at-spi-docs.sgml:
3816 * docs/at-spi-sections.txt:
3818 Initial checkins/modifications for gtk-doc generation.
3821 Added (missing) interface query methods to Accessible's C binding.
3823 Added GenericInterface type definition.
3825 Added query for AccessibleComponent interface to focus event handler.
3826 Added printout of bounding box for focussed component.
3827 * libspi/component.c:
3828 Added partial implementation for AccessibleComponent to C binding.
3829 * idl/Application.idl:
3830 * libspi/registry.c:
3831 * libspi/listener.c:
3832 * libspi/application.c:
3833 * libspi/application.h:
3834 Changed "ID" attribute type from string to long.
3836 2001-08-19 Bill Haneman <bill.haneman@sun.com>
3840 Made method naming consistent: methods taking object args
3841 start with uppercase, other methods (except those using
3842 acronyms) start with lowercase. Underscores delimit between
3843 object names and method names:
3844 SPI_init() - uppercase since it starts with an acronym.
3845 getDesktopCount () - lowercase start since no object param0.
3846 Accessible_getName() - uppercase object type name, studlyCaps method
3850 Added gtk-doc documentation for all currently implemented
3851 methods in the C bindings API.
3853 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3855 * Makefile.am : changed build order to build test last.
3858 Changed "createEventListener" to "CreateEventListener".
3859 * libspi/accessibleeventlistener.c :
3860 Bugfix for addition of callbacks.
3861 * test/Makefile.am :
3862 * test/simple-at.c :
3863 Added new test that uses the C bindings API.
3865 * libspi/listener.c :
3866 * libspi/registry.c :
3867 * libspi/accessibleeventlistener.c :
3868 * at-bridge/bridge.c :
3869 Renamed member "target" of Accessibility_Event to "source",
3870 which is more descriptive.
3873 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3877 * cspi/Makefile.am :
3878 Added makefile support for at-spi/cspi directory.
3881 * cspi/spi-listener.h : (NEW FILE)
3882 Added support for/use of spi-listener.h.
3884 C bindings now build successfully, with no warnings.
3885 * libspi/accessibleeventlistener.h : (NEW FILE)
3886 * libspi/accessibleeventlistener.c : (NEW FILE)
3887 * libspi/Makefile.am :
3888 Added new object type "AccessibleEventListener"
3889 which inherits from Listener, and allows attachment
3890 of in-process callbacks (so that a client with a listening
3891 object instance can add functionality to the local
3892 implementation, dynamically).
3894 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3896 * libspi/accessible.c:
3897 Add implementation for get_index_in_parent().
3899 Added #include of "spi-roletypes.h", and
3900 added enumerated type AccessibleCoordType.
3901 Added definition for KeystrokeListener (function type).
3904 * cspi/spi-statetypes.h :
3905 * cspi/spi-roletypes.h :
3907 Added these headers, used by spi.h.
3909 Added code (NOTE: not yet built by make).
3911 2001-08-18 Mark McLoughlin <mark@skynet.ie>
3913 * libspi/Makefile.am: generate imodule
3914 at the same time as other idl compiler
3917 2001-08-17 Bill Haneman <bill.haneman@sun.com>
3918 * libspi/registry.c :
3919 * libspi/application.c :
3920 * idl/Application.idl :
3921 Made registration with toolkit an application method,
3922 which is required since each app has its own toolkit static
3923 environment. Thus the bridge must register for
3924 notification of toolkit events from each application in turn.
3925 Toolkit notifications are now successfully registered for, and
3926 sent to the listening at client.
3928 Changed toolkit event string to use hyphens rather than underscores.
3929 * libspi/listener.c :
3930 listner now gives more info in debug mode - it reports the
3931 name of the event received, as well as the name of the source.
3934 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3936 * libspi/registry.c :
3937 added more implementation for toolkit events.
3938 Fixed bug such that toolkit event registrations
3939 (via atk) use the whole event name string, not
3941 Removed a useless call to an ORBit_ method.
3942 * at-bridge/bridge.c :
3943 Removed unused local sbuf[] variable.
3945 We now register for Gtk:GtkWidget:button_press_event
3946 events as well as "focus:" events.
3948 Add some more API from Registry.idl that was missing,
3949 for keystroke listening, keystroke and mouse event
3950 synthesis, and enumeration of accessible desktops.
3952 2001-08-16 Michael Meeks <michael@ximian.com>
3954 * configure.in: use AM_GLIB_GNU_GETTEXT.
3956 * Makefile.am (SUBDIRS): kill intl.
3958 2001-08-15 Michael Meeks <michael@ximian.com>
3960 * registryd/Makefile.am: s/oaf/server/ relocate info file.
3962 * configure.in: upd.
3964 * configure.in: depend on a recent bonobo-activation that
3965 will find our server files ...
3967 2001-08-16 Bill Haneman <bill.haneman@sun.com>
3969 * libspi/accessible.c : accessible_new() :
3970 Now we add the Component interface via bonobo_object_add_interface,
3971 if the contained AtkObject implements AtkComponent.
3972 * libspi/accessible.h : now include "component.h"
3973 * libspi/component.h :
3974 * libspi/component.c : added files - implementation of
3975 bonobo wrapper object for Accessibility/Component
3976 * libspi/listener.c :
3977 Added test code to check for Accessibility/Component:1.0
3978 interface and report whether it is implemented by the
3980 * libspi/registry.c :
3981 Now we check for not only the hash of the whole event
3982 string before relaying the event, we also check the
3983 "minor" event string (without the detail string).
3984 This allows event listeners to be registered against
3985 all events of a certain major+minor type, or just
3986 against a specific major+minor+detail type.
3987 * libspi/accessible.c :
3988 Added implementations for Accessible:get_parent(),
3989 Accessible:getChildCount(), and Accessible:getChildAtIndex().
3990 * libspi/registry.c :
3991 * libspi/listener.c :
3992 Replaced calls to Accessibility_Accessible_ref() and
3993 Accessibility_Accessible_unref() with
3994 calls to bonobo_object_dup_ref() and
3995 bonobo_object_release_unref(), so that the CORBA object
3996 is dup-ed and released when relayed, as well as the bonobo object.
3998 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4000 * libspi/Makefile.am,
4001 registryd/Makefile.am,
4002 at-bridge/Makefile.am.
4003 test/Makefile.am, configure.in:
4004 reverse previous changes.
4006 * /idl/Image.idl: fix typo.
4008 * test/Makefile.am: put DEBUG_FLAGS
4011 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4013 * test/app.c: use argv[0] instead of
4016 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4018 * libspi/Makefile.am,
4019 registryd/Makefile.am,
4020 at-bridge/Makefile.am.
4021 test/Makefile.am, configure.in:
4022 cleanup, replace individual LIBS/CFLAGS with
4023 AT_COMMON_{LIBS|CFLAGS}.
4027 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4029 * configure.in, libspi/Makefile.am:
4030 Change IDL path checking for bonobo-activation
4033 2001-08-15 Bill Haneman <bill.haneman@sun.com>
4035 * registryd/registry.c : separated event listeners to use
4036 3 separate lists (focus, window, toolkit). Began testing
4037 event names against hashes before relaying events.
4038 * test/at.c : now register for events of type "focus:"
4039 * test/app.c : now generate events of type "focus:"
4040 * at-bridge/bridge.c : register with ATK for focus events,
4041 and we now relay those focus events to any "focus:" listeners.
4042 This now works with the bridge as a GTK_MODULE when running test/at.
4043 * libspi/registry.c :
4044 * libspi/listener.c :
4045 now we ref event sources before propagating, and unref on receipt.
4046 * libspi/registry.c :
4047 some changes to internal structs, to support event typestring hashes.
4048 * text/app.c : changed the way the appname is generated.
4049 * cspi : added directory that will hold the C bindings library for
4050 non-CORBA/bonobo-savvy clients.
4051 * cspi/spi.h : header file that contains the function prototypes for the C binding.
4052 * idl/Component.idl : added in parameter to indicate coord system for
4053 geometry-related calls.
4054 * idl/Hyperlink.idl : added readonly n_links attribute
4055 * idl/Image.idl : changed methods to attributes.
4057 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4059 * at-bridge/Makefile.am: link against
4060 ../libspi/libspi.la instead of -lspi.
4062 * at-spi/test/app.c: include
4063 bonobo-activation.h. Use a default appname
4064 if one is not provided.
4066 2001-08-14 Bill Haneman <bill.haneman@sun.com>
4068 * idl/Registry.idl : temporarily changed register_Application
4069 to oneway, to work around issue with initial registration
4071 * idl/Application.idl : changed attribute "id" from readonly
4072 to read-write, since it needs to be assigned by Registry.
4073 * registryd/registryd.c : added call to set application id
4075 * registryd/registry.c : changed de-registration procedure to
4076 use CORBA_Object_hash() to find matching object ref in application
4077 lists and listener lists.
4078 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
4079 began distinguishing between event types (work in progress).
4081 2001-08-13 Bill Haneman <bill.haneman@sun.com>
4084 * libspi/application.c:
4085 Added implementations for get/set id, get_toolkitName,
4087 * registryd/registryd.c :
4091 Converted from use of OAF to bonobo-activation.
4092 * libspi/desktop.h :
4093 * libspi/desktop.c :
4095 Removed references to atksimpleobject, since base atkobject
4096 implementation now provides functionality we need.
4097 * libspi/atksimpleobject.c :
4098 * libspi/atksimpleobject.h :
4103 * at-bridge/Makefile.am
4104 * at-bridge/bridge.c
4107 Added directory "bridge" and contents, and added dependencies
4108 in Makefile.am/configure.in.
4109 Initial checkin of "at-bridge".
4110 This code is a GTK_MODULE which automatically registers
4111 GTK+ apps with the accessibility registry, using an object
4112 reference to the root ATK object.
4114 2001-08-10 Mark McLoughlin <mark@skynet.ie>
4116 * po/Makefile.in.in: Remove. Again. If this
4117 doesn't get autogenerated - you need to update
4120 2001-08-07 Mark McLoughlin <mark@skynet.ie>
4122 * po/Makefile.in.in: Add. Again.
4124 2001-07-31 Bill Haneman <bill.haneman@sun.com>
4126 * libspi/accessible.c : added support for 'description' property.
4127 * libspi/accessible.c
4129 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
4130 (since the two are now equivalent in libbonobo)
4138 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
4139 Bonobo::Unknown as does Accessibility::Accessible.
4140 * idl/StreamableContent.idl : as above, and replaced internal InputStream
4141 interface with Bonobo::Stream, since it was redundant with it.
4142 (The Stream returned by a StreamableContext object is expected to
4143 implement only a subset of Bonobo::Stream)
4145 2001-07-28 Anders Carlsson <andersca@gnome.org>
4147 * libspi/accessible.c (accessible_object_finalize): Change
4148 g_free to g_object_unref since the AtkObject is a GObject.
4150 2001-07-30 Bill Haneman <bill.haneman@sun.com>
4152 * idl/Accessibility.idl: add new IDL files
4155 * idl/Action.idl: Definitions of actionable UI object
4156 * idl/Component.idl: Definitions of UI component geometry, etc.
4157 * idl/Hyperlink.idl: Defs of hyperlink behavior
4158 * idl/Image.idl: Def of accessible image
4159 * idl/Selection.idl: Definition of UI object with selectable children
4160 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
4161 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
4162 * idl/Text.idl: Interface defs for UI elements with complex textual content
4163 * idl/Value.idl: Definition of UI element that is a value controller or display
4165 2001-07-27 Michael Meeks <michael@ximian.com>
4167 * po/Makefile.in.in: remove autogenerated file from CVS.
4169 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
4172 * idl/Registry.idl: include guard.
4174 * idl/Accessibility.idl: Add, and include all the other IDL
4177 * idl/*.idl: remove mass of pragmas etc.
4179 2001-07-26 Michael Meeks <michael@ximian.com>
4181 * registryd/Makefile.am (registryd_SOURCES): remove
4184 2001-07-27 Mark McLoughlin <mark@skynet.ie>
4186 * libspi/.cvsignore, registryd/.cvsignore,
4187 test/.cvsignore: updated.
4189 * po/Makefile.in.in: gettext update.
4191 2001-07-25 Bill Haneman <bill.haneman@sun.com>
4193 * initial CVS checkin
4195 2001-06-29 Michael Meeks <michael@ximian.com>
4197 * configure.in: add AM_CONFIG_HEADER to gen config.h