1 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3 * registryd/deviceeventcontroller.c:
4 (spi_controller_update_key_grabs):
5 Fix for #84735, subsequent keygrab listeners not informed of
10 Add an assertion on construct, to make sure the GObject passed in
13 Explicitly initialize object->gobj pointer to NULL;
15 * cspi/bonobo/cspi-bonobo-listener.c:
16 (cspi_object_add_ref):
17 New method, can specify whether to dup-ref a bonobo object passed
18 in if it's newly added to the object cache.
20 Now calls cspi_object_add_ref with second param of "FALSE". This
21 prevents us from doing a pointless dup-ref followed by
22 release-unref for all those cases where the object is already in
23 our object cache (fix for #85205).
25 * atk-bridge/bridge.c:
26 (spi_atk_bridge_idle_init):
27 Removed this method, we don't need to initialize in an idle
30 Changed to call spi_atk_register_event_listeners directly, not via an
31 idle handler. (fix for #81139)
32 (gnome_accessibility_module_shutdown):
33 Removed conditional around deregistration of listeners, since we
34 don't use the idle handler and thus have always registered when
36 (spi_init_keystroke_from_atk_key_event):
37 Changed references to Accessibility_KEY_PRESSED to
38 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
40 2002-06-12 Bill Haneman <bill.haneman@sun.com>
42 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
50 (may have been an incomplete commit yesterday?)
52 2002-06-12 Bill Haneman <bill.haneman@sun.com>
55 Added target for new stress-test.
58 New test, sends 1000 focus notifies in quick succession.
60 * test/key-listener-test.c:
61 Now we report whether a keylistener registration
62 request succeeded or failed.
64 * test/event-listener-test.c:
65 Uncommented some listeners which are now implemented.
68 2002-06-06 Bill Haneman <bill.haneman@sun.com>
70 * registryd/deviceeventcontroller.c:
71 (spi_controller_update_key_grabs):
72 Fix for #82509, lack of failure notification when
73 ALL_WINDOWS keygrabs fail due to XGrabKey
74 failure: we synchronize the server when
75 registering a passive grab, to make sure we get the
76 error message before the call returns.
78 2002-06-03 Bill Haneman <bill.haneman@sun.com>
82 Removed #ifdef KEY_IMPL_WORKS guards.
84 Removed #ifdef KEY_IMPL_WORKS guards.
85 Fixed bug which was causing a hang waiting for a
86 "press" event (which was already overwritten by a "release"
87 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
89 Added code to set globals 'key_press_received' and
90 'key_release_received'.
93 Added section "1.1 API Proposed Additions" which
94 lists API additions desired for at-spi-1.1 (only one so far).
95 Updated TODO list a little.
97 2002-06-02 Bill Haneman <bill.haneman@sun.com>
99 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
102 * configure.in: Revved to 1.0.0.
104 * idl/Accessibility_Registry.idl:
105 (registerKeystrokeListener):
106 Added boolean return value.
108 * registryd/registry.c:
109 (notify_listeners_cb): Minor fix to debug output.
111 * registryd/Accessibility_Registry.server.in.in:
112 Revved version number in OAFIID to 1.0.
114 * registryd/registryd.c:
116 Use new OAFIID version.
118 * cspi/bonobo/cspi-bonobo.c:
120 Use new OAFIID version.
126 * atk-bridge/bridge.c:
128 Use new OAFIID version.
130 * registryd/deviceeventcontroller.c:
131 (impl_register_keystroke_listener):
132 Added CORBA_boolean return value.
133 (spi_controller_register_device_listener):
134 Added gboolean return value.
135 (spi_controller_register_global_keygrabs):
136 Added gboolean return value.
137 (spi_key_set_contains_key):
138 Added implementation for many more control keys,
139 for instance F1-F12, arrow keys, End, Home, Page_Up,
141 [TODO: some still not implemented].
143 * text/screen-review-test.c:
144 (text_chunk_pad_string):
145 New function: it provides mapping between coordinate
146 positions of text chunks and character positions in the
147 screen-review-line output string.
148 (text_chunk_to_string):
149 New function, calls text_chunk_pad_string with various
150 pad/delimiter characters. Pushbuttons are delimited with
151 square brackets, Frames with vertical 'pipe' lines, and
152 other text with double quotes.
153 (text_chunk_list_to_string):
154 Calls new function text_chunk_to_string.
155 (toplevel_composite):
156 New function to composite layers CANVAS through
157 POPUP in each toplevel (other layers are composited
158 across toplevels, i.e. BACKGROUND and OVERLAY).
159 (review_buffer_composite):
160 Revise to use new methods.
166 2002-05-31 Laszlo Peter <laca@sun.com>
168 * configure.in: add the Xtst libdir to the runpath on Solaris,
169 since it's not in the default library search path.
171 2002-05-29 jacob berkman <jacob@ximian.com>
173 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
175 2002-05-29 Bill Haneman <bill.haneman@sun.com>
177 * test/screen-review-test.c:
178 (text_chunk_pad_string):
179 Added method, which pads the string according to the
180 text bounds of the chunk. It also takes a 3-character
181 string as a param which indicates the characters to be
182 used for start, padding, and end delimitation of the chunk.
183 (text_chunk_to_string):
184 Changed to use text_chunk_pad_string.
186 * configure.in: Fixed bug in AC_OUTPUT that was
187 causing path substitution in Accessibility_Registry.server
190 2002-05-23 Bill Haneman <bill.haneman@sun.com>
192 * text/screen-review-test.c:
194 New method which attempts a best-guess at clipping
195 text from components (like Java labels) which don't
196 actually implement AccessibleText. This inaccurate
197 clip is based on the assumption that the label is
198 justified left-and-right, and monospaced.
199 (text_chunk_get_clipped_string):
200 We now call guess_string_clip() for text-containing
201 components that don't implement AccessibleText.
203 * test/screen-review-test.c:
204 (review_buffer_get_text_chunk):
205 We now pull "name" from labels if they do not implement
206 AccessibleText (i.e. for Java labels).
207 (get_screen_review_line_at):
208 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
211 Replaceded AC_OUTPUT target
212 registryd/Accessibility_Registry.server with
213 registryd/Accessibility_Registry.server.in.
215 * registryd/Accessibility_Registry.server.in:
216 Removed (this is now a Makefile target).
218 * registryd/Accessibility_Registry.server.in.in:
219 Added (source for target above). We now use $(libexecdir) as
220 prefix for the executable at-spi-registryd.
222 * registry/Makefile.am:
223 Now install at-spi-registryd into $(libexecdir), and build .server
224 file with path (see above).
226 2002-05-22 Bill Haneman <bill.haneman@sun.com>
228 * test/screen-review-test.c:
229 (text_chunk_get_clipped_string):
230 We now check to see if words fall within clip bounds
231 before resorting to character-by-character clip bounds testing.
233 * TODO: Added a section for "2.2 Proposed API Additions".
235 2002-05-21 Bill Haneman <bill.haneman@sun.com>
237 * test/screen-review-test.c:
239 Added a screen review benchmarking and test program to test
242 * cspi/spi_accessible.c:
244 Made some of the debug strings passed to cspi_check_ev a
245 little more specific.
247 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
249 * test/screen-review-test.c: Fix crashes in debug statements
251 2002-05-20 Bill Haneman <bill.haneman@sun.com>
253 * test/screen-review-test.c: Added this file.
255 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
257 * atk-bridge/bridge.c: changed "object:state-change" to
258 "object:state-changed" to match docs.
260 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
262 * atk-bridge/bridge.c: Hooked up state-change event details.
264 2002-05-11 Bill Haneman <bill.haneman@sun.com>
266 * registryd/registry.c:
267 Fixed quarking bug in event string parsing; now events with
268 detail parameters get matched correctly to listeners.
271 * util/idl/Magnifier.idl: remove.
273 * util/*.[ch]: Remove.
274 Magnification utilities and IDL are now in module gnome-mag.
276 2002-05-10 Bill Haneman <bill.haneman@sun.com>
278 * registryd/deviceeventcontroller.c:
279 Fixed bug in grab key conversion which was causing keycode grabs
280 to be converted to AnyKey grabs.
283 updated NEWS file to reflect recent spin-off of gnome-mag.
285 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
287 * cspi/spi_accessible.c: Added exception checks. Fixed completely
288 busted AccessibleStateSet_compare. Removed redundant casts.
290 * cspi/spi-action.c: Removed redundant casts.
292 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
294 * cspi/spi_component.c: Fixed typos and casting error.
296 * cspi/spi_editabletext.c: Removed redundant casts.
298 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
300 * cspi/spi_hypertext.c: Eliminated redundant casts.
302 * cspi/spi_image.c: Eliminated redundant casts.
304 * cspi/spi_registry.c: Eliminated redundant casts.
305 SPI_deregisterGlobalEventListenerAll () removed retval variable.
306 * cspi/spi_selection.c: Removed redundant casts.
307 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
308 handling. Screen geometry and text offsets were being returned as 0
309 on error which is technically valid-- changed these to return -1.
310 Added marshaller for text boundary types to fix bug with boundary
311 types being passed incorrectly to atk.
313 2002-05-09 Bill Haneman <bill.haneman@sun.com>
316 * cspi/spi_registry.c:
317 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
318 which was uncovered by the recent key changes.
320 2002-05-09 Bill Haneman <bill.haneman@sun.com>
322 * test/event-listener-test.c:
324 Added new test, "event-listener-test";
325 this code does two things; it benchmarks traversal time
326 for the accessible hierarchy for the first running accessible
327 app, and it connects listeners for all supported event types.
328 It is thus useful as an example event listener and for
329 diagnostics/debugging of event generation.
331 2002-05-08 Bill Haneman <bill.haneman@sun.com>
334 Removed unnecessary dependency on libutil.
337 Revved micro version: 0.13.1
339 2002-05-08 Bill Haneman <bill.haneman@sun.com>
342 Removed util/Makefile from targets.
345 Removed util subdir from SUBDIRS (temporarily,
346 pending removal of magnifier-only code
350 #ifdef-ed out magnifier dependencies, since
351 magnifier IDL, headers, and binary now live in
352 module gnome-mag and we don't want at-spi to depend
353 on gnome-mag. A magnifier demo which can run alongside
354 simple-at is forthcoming in the gnome-mag module.
356 NOTE: Split magnifier binary, IDL, and magnification
357 activation code from at-spi into module gnome-mag.
359 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
361 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
362 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
364 2002-05-03 Bill Haneman <bill.haneman@sun.com>
367 Revved to version 0.13.0
369 * idl/Accessibility_Registry.idl:
370 Changed definition of KeySet from sequence of longs to sequence of
371 KeyDefinitions, and added KeyDefinition struct.
372 Required for fix to bug 80616.
374 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
375 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
376 to use new definition (see above).
378 * registryd/deviceeventcontroller.c: handle_keygrab(),
379 spi_keyset_contains_key():
380 Changed to make use of new struct; this allows matching based on
381 string key-name, for instance "Tab". This also allows matching of
382 composed characters, non-alphanumeric characters in a way that
383 doesn't involve dependencies on X keysym codes directly, etc.
385 * test/key-listener-test.c:
386 Added test for Alt-Tab key using "string" specification of keyset,
387 and modified one of the tests to use a keycode-based keyset.
388 Thus this test both tests and demonstrates the creation and use of
389 keysets of three forms: specified via keycode array,
390 keysym array, and string array. (The string case only contains a
391 single string, i.e. a string array of length 1).
394 Turned on PRINT_TREE option by default. Also fixed a
395 string-freeing bug in the PRINT_TREE code.
396 Added a listener to window:minimize events.
398 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
400 * atk-bridge/bridge.c:
401 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
402 for window:activate and window:deactiveate
403 (atk_bridge_property_event_listener atk_bridge_signal_listener
404 atk_bridge_window_event_listener) Tidy debug code
406 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
408 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
409 Fixed handling for NULL return value from ATK.
411 * libspi/action.c libspi/component.c libspi/editabletext.
412 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
413 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
414 Removed redundant casts.
416 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
417 Fixed off by one bug.
419 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
420 function not present in idl)
422 2002-05-02 jacob berkman <jacob@ximian.com>
424 * atk-bridge/Makefile.am: make atk-bridge a real module
426 2002-04-26 Radek Doulik <rodo@ximian.com>
428 * libspi/stateset.c (spi_init_state_type_tables): fix size of
429 atk_state_types table
431 2002-04-22 jacob berkman <jacob@ximian.com>
434 * libspi/Makefile.am: add deps on the built files to help
435 automake, and don't version the ORBit typelib
437 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
439 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
440 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
441 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
442 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
443 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
444 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
445 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
446 libspi/accessible.h libspi/accessible.h libspi/base.h
447 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
448 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
449 libspi/relation.h libspi/remoteobject.h libspi/selection.h
450 libspi/spi-private.h libspi/statetset.h libspi/table.h
451 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
452 util/mag_client.h util/mag_control.c util/mag_image.c
453 util/mag_image.h util/magnifier.c util/magnifier.h:
454 Add missing file headers; standardize existing ones
456 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
458 * atk-bridge/bridge.c: Added window event support.
460 2002-04-18 Michael Meeks <michael@ximian.com>
462 * libspi/relation.c (impl_getNTargets): impl.
463 (impl_getTarget): impl.
465 * libspi/Makefile.am: fix stateset install.
467 2002-04-17 Bill Haneman <bill.haneman@sun.com>
470 Started putting useful info in this file.
472 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
474 * atk-bridge/bridge.c:
475 Propagate state-changed notifications to ATs
477 * cspi/spi_registry.c: update docs to reflect actual behavior of
480 2002-04-17 Bill Haneman <bill.haneman@sun.com>
483 Incremented version to 0.12.1
486 Add missing declaration for magnifier_exit,
487 used by mag_control.c - Forte compiler didn't like
488 the implicit redeclaration of the function :-(
491 2002-04-16 Bill Haneman <bill.haneman@sun.com>
494 Revved version to 0.12 due to API change (see below).
496 * cspi/spi-roletypes.h:
497 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
498 definition from the inline docs, and added docs
499 for SPI_ROLE_LAST_DEFINED.
502 * cspi/spi_streamablecontent.c:
503 Added missing seek_type parameter to
504 (so far unused) method,
505 AccessibleStreamableContent_seek().
506 [ RT approval JodyG. ]
509 Fixed docs for SPI_createAccessibleKeystrokeListener.
511 * cspi/spi_registry.c:
512 Fixed docs for SPI_KEYSET_ALL_KEYS.
514 * docs/reference/cspi/at-spi-cspi-sections.txt:
515 Added a number of missing APIs to SECTIONS.
517 2002-04-16 Bill Haneman <bill.haneman@sun.com>
519 * registryd/Makefile.am:
521 * cspi/bonobo/Makefile.am:
522 Add $(X_LIBS) to makefiles.
524 2002-04-15 Bill Haneman <bill.haneman@sun.com>
527 Revved version to 0.11.
529 * libspi/component.c:
530 Added implementation for grabFocus.
532 * idl/Accessibility_Component.idl
533 (Accessibility_Component_grabFocus):
534 Made this method return boolean to indicate success or failure, to
535 be consistent with cspi and the corresponding ATK method.
537 * idl/Accessibility_Selection.idl
538 (Accessibility_Selection_selectAll) :
539 Made these methods return boolean to indicate success or
540 failure, to be consistent with cspi and the corresponding ATK methods.
542 * idl/Accessibility_EditableText.idl
543 (Accessibility_EditableText_setTextContents,
544 Accessibility_EditableText_insertText,
545 Accessibility_EditableText_cutText,
546 Accessibility_EditableText_deleteText,
547 Accessibility_EditableText_pasteText):
548 Made these methods return boolean to indicate
551 * cspi/spi_editabletext.c:
552 Made these methods return booleans.
554 * libspi/selection.c:
555 * libspi/component.c:
556 * libspi/editabletext.c:
557 Connected the boolean returns from ATK
558 to the server-side code referenced above.
560 2002-04-14 Bill Haneman <bill.haneman@sun.com>
562 * idl/Accessibility_Table.idl: Added missing methods,
563 Accessibility_Table_addRowSelection,
564 Accessibility_Table_addColumnSelection,
565 Accessibility_Table_removeRowSelection,
566 Accessibility_Table_removeColumnSelection.
569 Added C wrappers for above IDL:
570 AccessibleTable_addRowSelection,
571 AccessibleTable_addColumnSelection,
572 AccessibleTable_removeRowSelection,
573 AccessibleTable_removeColumnSelection.
576 Added server-side implementation code for IDL above, connecting
577 to pre-existing ATK api.
579 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
581 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
583 * libspi/accessible.c: Added implementation fo
584 Accessibility_Accessible_get_state.
586 * libspi/libspi.h: Added stateset.h to the list of includes.
588 * libspi/stateset.c: Fixed broken implementation.
590 2002-04-13 Bill Haneman <bill.haneman@sun.com>
593 Added implementation code for Accessibility_Magnifier_exit ().
595 * util/mag_control.c:
596 Added test code for above method; you can
597 now kill an existing magnifier via
598 ./mag_control q, from the util directory.
600 * test/key-listener-test.c:
602 Added a new test, for our key listener API.
604 2002-04-11 Bill Haneman <bill.haneman@sun.com>
606 * test/app.c, test/keysynth-demo.c:
608 Replace use of snprintf with g_snprintf.
609 (fix for bugzilla 78249)
611 2002-03-27 Michael Meeks <michael@ximian.com>
615 * util/Makefile.am (INCLUDES): fix.
616 (DONT_DIST_SOURCE): don't distribute the
619 * libspi/Makefile.am (dist-hook): ditto.
621 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
623 * libspi/hypertext.c:
624 Fix warnings when yelp is used with atk-bridge
626 2002-03-21 Michael Meeks <michael@ximian.com>
628 * libspi/application.c (spi_application_new):
629 use spi_accessible_construct so we use the AtkObject
632 2002-03-19 Michael Meeks <michael@ximian.com>
634 * registryd/registry.c (desktop_remove_application),
635 (desktop_add_application): clean coding style.
637 * registryd/desktop.c (spi_desktop_remove_application),
638 (spi_desktop_add_application): kill re-enterency hazards.
639 (spi_desktop_dispose): remove bogus redundant cast
640 obscuring bug; fix bug too.
641 (spi_desktop_init): make the desktop object immortal.
643 2002-03-16 Bill Haneman <bill.haneman@sun.com>
646 Added a #define-guarded tree-traversal step
647 when enumerating the apps (diagnostic tool).
649 2002-03-15 Bill Haneman <bill.haneman@sun.com>
651 * idl/Accessibility_Role.idl:
652 Added ROLE_DRAWING_AREA which seemed to be missing from the
655 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
657 * cspi/spi-roletypes.h cspi/spi_accessible.c
658 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
661 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
662 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
663 AT when applications are added and removed from the desktop. This
664 reverts the previous broken implementation using the backing
665 AtkObject for the SpiDesktop.
667 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
669 * registryd/desktop.c: emit the "children-changed::add" and
670 "children-changed::remove" signals on the backing ATK object for
671 the desktop so AT can tell when applications are started and shut
674 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
676 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
678 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
680 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
682 * cspi/spi_accessible.c: Implemented c bindings for stateset support
684 * cspi/state-types.h: synched with IDL and ATK
686 2002-03-13 Bill Haneman <bill.haneman@sun.com>
688 * libspi/accessible.c
689 (impl_accessibility_accessible_get_child_at_index):
690 Change return value for g_return_if_fail ()
691 to CORBA_OBJECT_NIL instead of "0" (!)
693 * registryd/Makefile.am:
694 * registryd/Accessibility_Register.server.in:
695 Changed name of executable, "registryd",
696 to something more informative:
699 2002-03-13 Michael Meeks <michael@ximian.com>
701 * atk-bridge/bridge.c (atk_bridge_init): don't register
702 if we're in a bonobo-component, rather than a bonobo app.
704 2002-03-13 Michael Meeks <michael@ximian.com>
706 * atk-bridge/bridge.c (gtk_module_init): split
707 out body to (atk_bridge_init): here, since otherwise
708 we get symbol conflicts and oddness when invoked
709 from (gnome_accessibility_module_init): here (upd.)
711 2002-03-11 Bill Haneman <bill.haneman@sun.com>
714 New file. Explicitly allow "build sheriff" putbacks provided
715 they are tested on Solaris.
717 * docs/reference/cspi/Makefile.am:
718 Added '-' to the "cp" command for index.sgml.
719 ("patch by thomasvs, soon coming to a GUADEC near you")
722 Incremented version number (0.9.0) for new release.
723 Changed macro that checks for popt, to better detect
724 obsolete versions of popt.
727 Added X_LIBS to AC_SUBST, for applications
728 that call Xlib API directly.
731 2002-03-07 Bill Haneman <bill.haneman@sun.com>
734 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
737 Fix regression caused by hard-coding major
738 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
741 * test/test-simple.c (test_editable_text),
742 (test_test): revert previous change (error was
743 a regression in gail which is now fixed).
745 2002-03-04 Michael Meeks <michael@ximian.com>
747 * test/test-simple.c (test_editable_text),
748 (test_text): pass G_MAXINT instead of '-1' for
749 whole string - is this a good thing !?
751 * cspi/spi_accessible.c
752 (Accessible_getRelationSet): fix crasher bug
753 overwriting the end of the array.
755 * test/test-simple.c (validate_accessible): free,
756 not g_free returned relation set.
758 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
760 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
761 implemented stateset support
763 * idl/Accessibility_State.idl: Made necessary changes to
764 the IDL to support state sets.
766 2002-02-12 Bill Haneman <bill.haneman@sun.com>
768 * registryd/deviceeventcontroller.c:
769 Added implementation for generateMouseEvent.
771 * cspi/spi_registry.c:
772 Connected new implementation for generateMouseEvent
775 2002-02-12 Bill Haneman <bill.haneman@sun.com>
778 Incremented revision (but no change in public API
779 outside of 'utils', which are not installed public yet.)
781 * libspi/component.c:
782 Changed to use atk_component API for layers and
783 mdi_zorder, instead of deprecated atk_object API.
785 Magnification Utility Enhancements:
788 Added implementation of createZoomRegion, clearAllZoomRegions,
789 resizeZoomRegion. Added new commandline argument
790 "--no-initial-region". Note that clearAllZoomRegions doesn't
791 unmap the old '0' region as it should (yet), and the other
792 methods only work when creating/resizing a single region,
794 (Code for multiple region support will be added later.)
797 Now we raise the magnifier window each time it's refreshed;
798 this will help keep it on top.
801 Added simple wrappers for above, used by mag_control.
802 For general use, it's recommended to use the bonobo magnifier
803 control API directly instead of using these wrappers.
806 Moved ZoomRegionData from magnifier.c to this file.
808 * util/mag_control.c:
809 Added some code to exercise new IDL implementations.
811 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
813 * libspi/text.c: Provide implementation for getAttributes.
815 2002-02-04 Bill Haneman <bill.haneman@sun.com>
818 Incremented revision.
820 * test/test-simple.c:
821 Replaced use of deprecated g_main_iteration with
822 g_main_context_iteration.
824 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
827 Incremented revision for desktop alpha 2.
829 2002-01-28 Mark McLoughlin <mark@skynet.ie>
831 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
834 * test/simple-at.c: include netinet/in.h.
836 2002-01-24 Mark McLoughlin <mark@skynet.ie>
838 * cspi/spi_accessible.c: (Accessible_getRelationSet):
839 use NULL, not CORBA_OBJECT_NIL.
841 * libspi/accessible.c:
842 (impl_accessibility_accessible_get_relation_set):
843 allocate the sequence correctly.
845 * libspi/remoteobject.h: kill spi_remote_object_new.
847 * test/test-simple.c: (validate_accessible): add code
848 to test relation sets, now all we need is to figure
849 out how to excercise this code path :/
851 2002-01-18 Michael Meeks <michael@ximian.com>
854 (key_listener_cb): consume the key.
855 (test_keylisteners): update.
856 (main): wait for any pending unrefs on events.
858 * registryd/deviceeventcontroller.c
859 (spi_controller_update_key_grabs): only re-issue the
860 grab on a key release.
861 (spi_device_event_controller_forward_key_event):
862 refresh the keygrabs before we notify the listeners,
863 to reduce the X ungrab / re-grab race.
864 (spi_controller_register_with_devices): remove
865 XSelectInput - we do that with the gdk_window_ call.
866 (_spi_controller_device_error_handler): return a value.
867 s/GDK_DISPLAY/spi_get_display/
869 2002-01-17 Michael Meeks <michael@ximian.com>
871 * registryd/deviceeventcontroller.c
872 (_deregister_keygrab): don't blow out the later
875 * test/test-simple.c (test_keylisteners): do a
876 more intelligent validation.
878 2002-01-14 Michael Meeks <michael@ximian.com>
880 * atk-bridge/bridge.c
881 (gnome_accessibility_module_init),
882 (gnome_accessibility_module_shutdown): impl.
883 (gtk_module_init): protect vs. double inits.
884 (add_signal_listener): impl.
885 (spi_atk_bridge_state_event_listener): kill
886 (deregister_application): split out of
887 (spi_atk_bridge_exit_func): here.
889 2002-01-18 Bill Haneman <bill.haneman@sun.com>
892 Added caret tracking when using magnifier, and
893 now use text bounds for focus tracking of text elements, rather than
894 the component bounds - this is helpful for short text fields in long
895 table cells, at high magnification.
897 2002-01-16 Bill Haneman <bill.haneman@sun.com>
899 * registryd/deviceeventcontroller.c:
900 Regression fix for keylistener de-registration; global keygrabs
901 were not being released when deregisterKeystrokeListener was
902 called in cspi, since
903 Accessibility_DeviceEventController_deregisterKeystrokeListener
904 was called with a zero-length keyset. That is because the cspi
905 method, SPI_deregisterKeystrokeListener, does not take a keyset
906 parameter but instead should remove all the key grabs held be a
908 The code in impl_deregister_keystroke_listener was changed to copy
909 the keylist from the listener instance previously registered with
910 the DeviceEventController before releasing the grabs.
912 * registryd/registry.c:
913 * registryd/deviceeventcontroller.c:
914 * libspi/spi-private.h:
916 Changed spelling of "re-enterant" to "re-entrant" globally.
918 2002-01-16 Bill Haneman <bill.haneman@sun.com>
920 * test/test-simple.c:
921 Changed key listeners test - the test was slightly mis-using the
922 (admittedly poorly documented) SPI_generateKeyboardEvent API.
923 It now uses '=' as the key event listened to and generated,
924 relying on a keysym match rather than assuming that keycode 33
925 is always equal to keysym '!'.
927 2002-01-15 Bill Haneman <bill.haneman@sun.com>
930 Changed simple-at to use a specific keyset, rather than
931 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
932 manager, desktop, etc.
934 2002-01-11 Bill Haneman <bill.haneman@sun.com>
936 * registryd/deviceeventcontroller.c:
937 Replaced standard X error handler with a special handler that
938 is non-fatal for failed keygrabs. This works around
939 problems with keygrab clashes sometimes observed on
941 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
942 mouse handling code as yet).
944 2002-01-11 Bill Haneman <bill.haneman@sun.com>
947 Incremented revision for desktop alpha release.
950 Fixed a couple of the more glaring errors (still not
953 2002-01-11 Michael Meeks <michael@ximian.com>
955 * registryd/deviceeventcontroller.c
956 (spi_device_event_controller_forward_key_event): kill
957 XUngrabKey / XKeyGrab race.
958 (spi_controller_grab_keyboard): rename to
959 (spi_controller_update_key_grabs): this, and deal
960 with incremental adding / removing grabs more
962 (_register_keygrab): ensure we're not pending a remove.
963 (spi_grab_mask_free): impl.
964 (spi_controller_register_global_keygrabs): split out
966 (handle_keygrab): impl.
967 (_deregister_keygrab): impl.
968 (spi_controller_deregister_global_keygrabs): impl.
969 (spi_controller_update_key_grabs): re-issue the grab if
970 we just recieved a notification.
972 * test/test-simple.c (key_listener_cb): remove debug.
974 * registryd/deviceeventcontroller.c
975 (spi_controller_register_device_listener): after
976 registering a global keygrab, actualy register it !
977 don't wait for a timeout; doh !
979 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
980 to make it more readable / manipulable.
981 s/grabmask/grab_mask/ s/refcount/ref_count/
982 s/keyval/key_val/ s/modmask/mod_mask
984 2002-01-08 Michael Meeks <michael@ximian.com>
986 * registryd/deviceeventcontroller.c
987 (spi_controller_register_with_devices): use gdk calls to
989 (global_filter_fn): implement the filter.
990 (spi_device_event_controller_check_key_event): rename to
991 (spi_device_event_controller_forward_key_event): this & upd.
992 (spi_get_display): replace with GDK_DISPLAY.
994 * registryd/deviceeventcontroller.c
995 (spi_controller_deregister_device_listener): unroll into
996 (impl_deregister_keystroke_listener): here to simplify.
997 (spi_controller_register_global_keygrabs): split cut and
998 paste (!) out into (_register_keygrab): here, shorter & sweeter.
999 (spi_controller_deregister_device_listener): remove.
1000 (impl_register_mouse_listener): remove, no mouse listener
1001 support in at-spi-1.0
1003 * registryd/registry.c
1004 (_device_event_controller_hook): kill.
1005 (spi_registry_init): upd.
1007 * registryd/deviceeventcontroller.c
1008 (spi_device_event_controller_class_init): upd.
1009 (spi_check_key_event): merge into.
1010 (spi_device_event_controller_check_key_event):
1011 here and kill strange static ev init, don't leak
1012 the x_event - nor dynamicaly allocate it.
1014 * registryd/registry-main.c (main): re-direct
1015 timeout to remove strange vtable mess.
1017 * registryd/deviceeventcontroller.c
1018 (remove_listener_cb): impl.
1019 (spi_controller_deregister_device_listener):
1020 fix re-enterancy hazard.
1022 2002-01-07 Michael Meeks <michael@ximian.com>
1024 * registryd/deviceeventcontroller.c
1025 (spi_device_event_controller_new): upd.
1026 (impl_notify_listeners_sync): upd. debug.
1027 (spi_notify_keylisteners): fix re-enterancy hazards,
1028 prettify, remove O(n*n) iteration.
1029 (spi_controller_grab_keyboard): fix iteration.
1030 (spi_check_key_event): re-format to suit coding style.
1031 Clean all the warnings - we're warning free.
1033 * registryd/deviceeventcontroller.h:
1034 * registryd/registry.h: make mutualy referential with
1035 typesafe forward references instead of (!) void pointer
1038 2002-01-11 Michael Meeks <michael@ximian.com>
1040 * cspi/spi_accessible.c (role_names): add a role name
1041 to sync this array with the enum; and make the regression
1044 2002-01-10 Michael Meeks <michael@ximian.com>
1046 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
1047 allow expansion of enumeration & kill warning.
1049 * test/test-simple.c (key_listener_cb): impl.
1050 (test_keylisteners): impl.
1052 * cspi/spi-listener.h: make listener signatures const
1053 on the provided (const) events.
1055 * test/keysynth-demo.c: upd. to const events.
1057 * test/simple-at.c: ditto.
1059 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1062 Rev the version to 0.5 (the previous tarball was named 0.4,
1063 even though the micro number was 3), so we need to rev upwards
1064 again for beta2/"desktop-alpha"
1067 Checked in a demo script, which requires editing before use!
1068 Proceed with caution.
1071 Fixed typo in header which was redefining SPI_ACTION_CLASS.
1073 * cspi/spi_accessible.c:
1074 Add a couple of missing enum initializations, and fix some enum
1077 * cspi/spi_registry.c:
1078 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
1080 * docs/reference/cspi/at-spi-cspi-sections.txt:
1081 Remove/fix a couple of broken document references.
1084 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
1085 as Alt-Control to listen for commands, since on some systems
1086 Control-Alt may already be grabbed.
1088 2002-01-10 Bill Haneman <bill.haneman@sun.com>
1091 Update version number to 0.4 for Beta2.
1093 * libspi/accessible.c, libspi/accessible.h:
1094 Expose spi_accessible_construct, to enable libgail-gnome
1095 construction from spi_accessible subtype.
1097 * utils/magnifier.c:
1098 Workaround for bug in some non-gnome-compliant window managers
1099 which made magnifier resize improperly.
1101 2002-01-09 Bill Haneman <bill.haneman@sun.com>
1103 * libspi/accessible.c: (spi_accessible_new) :
1104 Move the test for SPI_IS_REMOTE_OBJECT to
1105 spi_accessible_new_return, fixing a bug and compile time warning.
1107 2002-01-08 Michael Meeks <michael@ximian.com>
1109 * registryd/registry.c (parse_event_type): remove strndup.
1111 * libspi/Makefile.am (libspi_la_SOURCES): remove
1112 sources already included in the headers section.
1114 * libspi/util.c: add.
1116 * libspi/spi-private.h: add.
1118 * registryd/registry.c: update to moved list iterators.
1120 2002-01-05 Michael Meeks <michael@ximian.com>
1122 * test/simple-at.c (main): upd. auto-module set to atk-bridge
1124 * test/test-simple.c (main): ditto.
1126 2002-01-04 Michael Meeks <michael@ximian.com>
1128 * libspi/accessible.c (spi_accessible_new): remove 2nd,
1129 redundant construct.
1131 * registryd/registry.c
1132 (get_listener_list): impl.
1133 (impl_accessibility_registry_register_global_event_listener):
1134 re-impl. to simplify using ~, remove dodgy const cast off.
1135 (parse_event_type): constify.
1136 (impl_accessibility_registry_deregister_global_event_listener_all):
1137 re-write, more efficiency and simplicity, kill re-enterancy
1139 (compare_listener_corbaref, compare_corba_objects),
1140 (compare_listener_quarks): define out.
1141 (impl_accessibility_registry_deregister_global_event_listener):
1142 re-write for effiency, and nail re-enterancy hazard.
1143 (impl_accessibility_registry_get_desktop_list): impl.
1144 (re_enterant_list_delete_link): impl.
1145 (re_enterant_list_foreach): impl.
1146 (remove_listener_cb): impl.
1147 (_registry_notify_listeners): kill.
1148 (notify_listeners_cb): impl.
1150 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
1151 (SPI_getDesktopList): impl.
1153 * test/test-simple.c (test_desktop): test the methods.
1155 2002-01-03 Michael Meeks <michael@ximian.com>
1157 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
1158 keystrings since we free them
1159 (SPI_freeAccessibleKeySet): in here.
1161 * libspi/accessible.c (spi_accessible_new): kill warning,
1162 wonder what is going on with the constructor here.
1164 2002-03-01 Bill Haneman <bill.haneman@sun.com>
1166 * libspi/accessible.c (spi_accessible_new ()) :
1167 Added check to see if AtkObject is an SpiRemoteObject before
1168 creating an SpiAccessible.
1170 2002-05-01 Bill Haneman <bill.haneman@sun.com>
1172 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
1173 Enable keygrabs using the Control modifier, now that they are
1174 working properly (they were previously disabled).
1177 Change the command keygrab for this demo to "Control+Alt", so as
1178 to conflict with fewer other key commands on the system; this
1179 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
1181 Removed a pointlessly-chatty keylistener for unshifted keys
1182 (shifted keys are still reported).
1184 2002-02-01 Bill Haneman <bill.haneman@sun.com>
1186 * libspi/remoteobject.h:
1187 * libspi/remoteobject.c:
1188 Added definitions for special AtkObject subtype, required for
1189 support of remote components (specifically, used by BonoboControl
1190 accessibility implementation).
1192 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
1194 * cspi/spi.h: synched relation types with ATK
1196 * cspi/spi_accessible.c: Added implementations of
1197 AcccessibleRelation_* methods
1199 * idl/Accessibility_Relation.idl: added getRelationTypeName
1200 method. Synched known relation types with ATK. Allowed for
1201 relation type extension with the RELATION_EXTENDED type.
1203 * libspi/relation.c: Provided implementations for
1204 AccessibleRelation methods.
1206 2002-01-01 Bill Haneman <bill.haneman@sun.com>
1208 API tweaks for today's API 'freeze'.
1211 Added placeholder functions to allow future compatible expansion
1212 of the IDL interfaces.
1214 * idl/Accessibility_Registry.idl:
1215 Changed generateKeyEvent to generateKeyboardEvent. Changed
1216 signature of this method to accept an optional keystring in
1217 parameter (for complex text input synthesis) and changed use of
1218 simple 'boolean' parameter in registerKeystrokeListener to a
1219 struct, EventListenerMode.
1221 * cspi/spi_accessible.c:
1223 * cspi/spi_streamablecontent.c:
1224 Added references to AccessibleStreamableContent interface, and
1225 definition and implementation of AccessibleStreamableContent
1228 * cspi/spi_registry.c:
1230 Changed generateKeyEvent API to generateKeyboardEvent,
1231 taking a new (optional) keystring parameter to support complex
1236 Renamed directory (to better reflect its actual purpose, bridging
1237 from at-spi to ATK). The .so module is also now named
1240 * idl/Accessibility_Hypertext.idl:
1241 * libspi/accessible.c:
1242 * libspi/hypertext.h:
1243 * libspi/hypertext.c:
1244 Changed Accessibility_Hypertext to *not* derive from
1247 * cspi/spi_registry.c:
1248 Added list of legal event type names for 'window' events, which
1249 completes the registry event API.
1251 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
1253 * at-bridge/bridge.c: Added registration for separate
1254 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
1255 signals. If either of the first two parameters to the generic
1256 bridge signal handler are ints, they are passed on as event
1257 details. This allows an AT to determine what text was inserted.
1259 2001-12-21 Bill Haneman <bill.haneman@sun.com>
1261 * registryd/deviceeventcontroller.c:
1262 Fixed regressions in generateKeyEvent caused by the removal of
1263 gdk_init from registryd; we now use pure X calls to connect to the
1264 display, which makes sense because deviceeventcontroller already
1265 uses a fair bit of X API (should eventually be migrated to a
1266 'portability layer').
1268 * registryd/desktop.c:
1269 Fixed minor regression in spi_desktop_init, changed the way the
1270 desktop name is being set to work with new spi_base API
1271 (gobject-based, rather than AtkObject-based).
1273 * registryd/Makefile.am:
1274 Minor revision of makefile to use XTST_LIBS variable rather than
1275 hard-wiring the Xtst LD_ADD element.
1277 * test/keysynth-demo.c:
1278 Tweaked an output message; added initialization of the
1279 'keystrings' member of the "switch listener" key_set.
1281 * libspi/relation.c:
1282 Squashed compile-time warning.
1284 * libspi/accessible.c:
1285 Cosmetic and formatting fixes, renamed a static method.
1287 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
1289 * libspi/accessible.c
1291 * libspi/application.c
1294 * libspi/component.c
1295 * libspi/editabletext.c
1296 * libspi/hyperlink.c
1297 * libspi/hypertext.c
1299 * libspi/selection.c
1303 * registryd/desktop.c:
1304 Changed SpiBase to contain a GObject pointer rather than an AtkObject
1306 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1308 * idl/Accessibility_Registry.idl:
1309 Added boolean member 'is_text' to DeviceEvent. This is for the
1310 use of key events, and helps prevent ambiguity between composed
1311 key strings and keysym names, since both may potentially be
1312 returned in the 'event_string' member.
1314 * at-bridge/bridge.c:
1315 * registryd/deviceeventcontroller.c:
1316 Use the 'is_text' member when notifying device event listeners.
1317 Knon issue: composed characters are not dealt with correctly by
1318 the global key listener implementation yet.
1320 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1322 * at-bridge/bridge.c:
1323 Namespaced local static methods to spi_atk_bridge_* where
1324 previously named bridge_*, and spi_* elsewhere.
1326 * at-bridge/bridge.c:
1327 * cspi/bonobo/cspi-bonobo-listener.c:
1328 Added demarshalling/conversion for string member of
1329 Accessibility_DeviceEvent to AccessibleKeystroke.
1331 * registryd/deviceeventcontroller.c:
1332 Added code to fill the Accessibility_DeviceEvent key string value
1333 member for global key events (i.e. from XGrabKey), to match
1334 behavior of Accessibility_DeviceEvent from the toolkit key events
1335 from the bridge. Fixed timestamp in global key event notifications.
1338 Added printout of key event's string value to
1339 report_ordinary_key_event, for demo/debugging purposes.
1341 2001-12-15 Bill Haneman <bill.haneman@sun.com>
1343 * idl/Accessibility_Registry.idl:
1344 Removed Accessibility_KeyStroke structure in favor of generic
1345 Accessibility_DeviceEvent structure.
1346 Changed Accessibility_ControllerEventMask from a struct to an
1349 * at-bridge/bridge.c:
1350 Changed APIs to use DeviceEvent structure as above, and removed
1351 bogus casting between these event structures.
1353 * cspi/spi-listener.h:
1354 Added keystring member of AccessibleKeystroke structure, to enable
1355 matching on event "names" rather than only hardware codes and
1359 Added keystrings member of AccessibleKeySet struct, to allow
1360 matching on event names (as above).
1361 Added declarations for SPI_createAccessibleKeySet and
1362 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
1363 event modmasks directly as unsigned ints rather than structs with
1364 refcounts, in the DeviceEventController methods.
1366 * cspi/spi_registry.c:
1367 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
1369 * cspi/spi-roletypes.h:
1370 Added documentation of newly added SPI Roles.
1372 * cspi/bonobo/cspi-bonobo-listener.c:
1373 Changes in support of API changes above.
1375 * libspi/accessible.c:
1376 Converted APIs to use DeviceEvent structure (see IDL changes
1379 * registryd/deviceeventcontroller.c:
1380 Added DEControllerGrabMask structure to track keygrabs not only by
1381 modmask but by keyset as well; this allows us to do "global"
1382 (i.e. X) keygrabs on a per-key or keyset basis rather than always
1383 grabbing on AnyKey and then filtering after-the-fact.
1384 Bugfixes for event filtration mean that we don't get false matches
1385 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
1387 * registryd/deviceeventcontroller.c:
1388 Namespaced a number of static methods to use spi_ prefix. Major
1389 revision to internals of global (i.e. X) key grabs.
1391 * registryd/deviceeventcontroller.h:
1392 Removed keymask_list and added keygrabs_list to
1393 SpiDeviceEventController struct.
1396 Added use of SPI_createAccessibleKeySet API when creating a
1397 listener for only one key. Attach a listener to "shift spacebar
1398 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
1399 X key event names to SPI key event names, so that listeners are
1400 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
1402 * test/keysynth-demo.c:
1403 Changed (incorrect) use of X key event names (KeyPressed,
1404 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
1407 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1409 * libspi/accessible.c:
1410 Convert all AtkRole enumerations to Accessibility_Role enums when
1411 getting a role from an AtkObject.
1413 * cspi/spi_accessible.c:
1414 Complete the conversion of Accessibility_Role enums at runtime to
1415 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
1416 role enums correctly match those given in spi-roletypes.h.
1417 Re-synchronize the local names list for AccessibleRole_getName ().
1418 AccessibleRole_getName is now deprecated, since it duplicates the
1419 more reliable Accessible_getRoleName.
1420 Added some role types from Accessibility_Role.idl.
1422 * idl/Accessibility_Role.idl:
1423 Added some role types used by AtkRole.
1425 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1428 * cspi/spi_registry.c:
1430 * cspi/cspi-bonobo-listener.c:
1431 Namespaced all methods that did not begin with an "SPI_" or
1432 "Accessible" prefix to "SPI_".
1435 Homogenized internal function namespace to "cspi_" for statics.
1438 Patched tests to use the new CSPI API.
1440 * docs/reference/cspi/at-spi-cspi-sections.txt:
1441 Updated docs to reflect namespace changes, and added a number of
1442 methods to the documentation.
1444 * registryd/registry.c:
1445 Changed use of strings and string hashes in listener event
1446 matching and parse_event_string to use GQuark, which is guaranteed
1449 * registryd/registry.h:
1450 Squashed annoying warning.
1452 * idl/Accessibility_Role.idl:
1453 Extended range of available Accessibility_Role values.
1455 * cspi/spi_accessible.c:
1456 Re-ordered role names.
1458 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1460 * idl/Accessibility_Value.idl:
1461 Revert use of union back to CORBA_double, since the double type is
1462 more efficient and can contain the other types without loss of
1465 * idl/Accessibility_Accessible.idl:
1466 Added method Accessibility:Accessible:getRoleName, to complement
1467 Accessibility:Accessible:getRole.
1469 * cspi/spi_accessible.c:
1471 Added C binding for above, Accessible_getRoleName (), and changed
1472 signature of Accessible_getRole () to return an AccessibleRole.
1474 * cspi/spi-roletypes.h:
1475 Changed AccessibleRole_getName to return a char * instead of a
1476 const char *. This method is now at least temporarily deprecated
1477 in favor of asking Accessibles for their RoleNames directly.
1480 Revert to match Accessibility_Value.idl;
1484 Change signature of AccessibleValue methods to use double rather
1488 * cspi/spi_accessible.c:
1489 Changed Accessible_getRole to return an AccessibleRole enum rather
1490 than a UTF-8 string. The UTF-8 string can still be obtained via
1491 AccessibleRole_getName ().
1493 * test/test-simple.c:
1494 Add test_action. Small fixup to match API change to Accessible_getRole.
1497 Bugfix for get_action_from_servant ().
1499 2001-12-11 Michael Meeks <michael@ximian.com>
1501 * libspi/libspi.h: remove registry.h and
1502 desktop.h, deviceeventcontroller.h
1504 * libspi/Makefile.am: remove registry.[ch],
1505 desktop.[ch], deviceeventcontroller.[ch]
1507 * registryd/Makefile.am: add registry.[ch],
1508 desktop.[ch], rename registryd.c to registry-main.c.
1509 add deviceeventcontroller.[ch]
1511 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1514 Replace setenv() call with putenv ().
1516 * libspi/component.c:
1517 Bugfix in AccessibleComponent_getExtents (),
1520 2001-12-11 Michael Meeks <michael@ximian.com>
1522 * libspi/image.c (impl_getImageExtents): impl.
1523 (spi_image_class_init): upd.
1526 (AccessibleImage_getImageDescription): fix daft bug
1529 * test/test-simple.c (global_listener_cb): update
1530 to only quit if not --poke
1531 (main): catch --poke.
1532 (validate_accessible): upd. dumping, call test_image
1535 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1538 * idl/Accessibility.idl: update all IDL includes.
1540 * idl/*.idl - rename to namespace - this sucks, blame
1541 mjs' bad decision for oafd.
1543 * test/test-simple.c (create_test_window): add more tests.
1544 (create_tree): split this out.
1545 (validate_accessible): bugfix.
1547 2001-12-11 Michael Meeks <michael@ximian.com>
1549 * cspi/bonobo/cspi-bonobo-listener.c:
1550 (cspi_kestroke_listener_unref),
1551 (cspi_event_listener_unref): impl. undoing previous
1552 homenous environment - for Bill.
1554 * cspi/spi_table.c (long_seq_to_array): use
1557 * cspi/spi_main.c: split out all bonoboish bits into
1560 * cspi/spi-impl.h: upd. typedefs.
1562 * cspi/spi_registry.c: update to lowlevel API,
1563 return booleans to indicate success in some places.
1565 * cspi/spi_event.c: update to lowlevel API.
1567 * cspi/bonobo/Makefile.am: add.
1569 * cspi/bonobo/cspi-lowlevel.h: add
1571 * cspi/bonobo/cspi-bonobo.c: add
1573 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1575 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1576 (SUBDIRS): add bonobo, link in the libs.
1578 * cspi/spi-util.c: kill this file.
1580 * TODO: merge in my bits.
1582 2001-12-11 Michael Meeks <michael@ximian.com>
1584 * test/test-simple.c (test_value, test_table, main):
1585 remove unused variables causing warnings.
1587 * configure.in: cleanup checks - require gail.
1589 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1592 Changed Value interface to use SValue (scalars) rather than
1593 assuming all values are floats. This allows floats, doubles,
1594 longs, shorts, and unsigned values to be manipulated.
1595 Introduced Accessibility:SValue union.
1598 Updated to use new API above, and to work correctly with GValues
1599 of different types in AtkValue.
1602 Updated to use new API above. cspi's API is as yet unchanged.
1605 Updated the Value revision action item.
1607 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1609 * test/test-simple.c:
1610 Added test_table (GtkTreeView widget in test window to follow).
1611 Un-commented test_value, added GtkRange widget.
1612 Added GtkTreeView widget with GtkListStore. It passes regression
1613 test but leaks one SPI object for some reason.
1616 Fixed bug in impl__set_currentValue.
1618 2001-12-10 Michael Meeks <michael@ximian.com>
1620 * cspi/spi_text.c: audit for exception handling,
1621 tolerating NULL object references safely etc.
1623 * cspi/spi_value.c: ditto.
1625 * cspi/spi_table.c (AccessibleTable_getSummary),
1626 (AccessibleTable_getAccessibleAt),
1627 (AccessibleTable_getRowHeader),
1628 (AccessibleTable_getColumnHeader),
1629 (AccessibleTable_getCaption): fix bugs hidden by
1631 (long_seq_to_array): impl.
1632 (AccessibleTable_getSelectedRows),
1633 (AccessibleTable_getSelectedColumns): use it.
1635 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1638 Added a TODO list (rough and short for now).
1640 * cspi/spi_hyperlink.c:
1641 * cspi/spi_hypertext.c:
1642 Fixed macro name typos, and remove use of obsolete macro in
1643 AccessibleHyperlink_getLink.
1645 * cspi/spi_action.c:
1646 * cspi/spi_accessible.c:
1647 * cspi/spi_application.c:
1648 * cspi/spi_component.c:
1649 * cspi/spi_selection.c:
1652 Documentation fixes (removed return values from ref/unref methods).
1654 2001-12-10 Michael Meeks <michael@ximian.com>
1656 * cspi/spi_action.c: audit for exception handling,
1657 tolerating NULL object references safely etc.
1659 * cspi/spi_accessible.c: ditto.
1661 * cspi/spi_component.c: ditto.
1663 * cspi/spi_editabletext.c: ditto.
1665 * cspi/spi_hyperlink.c: ditto.
1667 * cspi/spi_hypertext.c: ditto.
1669 * cspi/spi_image.c: ditto.
1671 * cspi/spi_selection.c: ditto.
1673 2001-12-10 Michael Meeks <michael@ximian.com>
1675 * configure.in: use cspi/libspi.pc.in instead.
1677 * Makefile.am (pkgconfig_DATA): upd. to match.
1679 * test/simple-at.c (report_focus_event): kill hacks around
1680 bad return values, use putenv not setenv
1682 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
1683 fire ChildGone - I killed it.
1685 * libspi/component.c
1686 (impl_accessibility_component_get_extents): remove
1689 * idl/Accessible.idl: kill ChildGone exception.
1691 * cspi/*.[ch]: kill int return from ref / unref.
1693 * cspi/spi_main.c (cspi_object_add_check): fold into
1694 (cspi_object_add): here.
1696 * cspi/spi_component.c (AccessibleComponent_getExtents):
1697 handle exceptions elegantly.
1699 * cspi/spi-private.h (cspi_check_ev_return),
1700 (cspi_return_if_fail): impl.
1702 * cspi/spi_accessible.c: use extensively.
1703 (AccessibleStateSet_equals): add direct compare check.
1705 * cspi/spi_selection.c: tolerate NULL objs, and check
1706 exceptions before return.
1708 * cspi/spi-util.c (cspi_warn_ev): rename to
1709 (cspi_check_ev): this & don't pass ev in; no point.
1711 2001-12-10 Michael Meeks <michael@ximian.com>
1713 * test/test-simple.c: use putenv not setenv
1714 (get_environment_vars): more chatty if you're not using
1717 * test/simple-at.c: do the setenv so more people see the
1720 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1722 * libspi/registry.c:
1723 Changed check of CORBA_environment on notification to be a warning
1724 instead of an error for the moment, since we can recover from this
1725 error when caused by a queued notification from a dead app.
1728 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
1729 used by all current implementors of AtkValue), and coerce to
1730 CORBA_float. (Proper general case fix may require change to Value.idl).
1732 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1736 * cspi/spi_accessible.c:
1737 Documentation fixes: added user_data params to documentation for
1738 listeners and callbacks.
1740 * cspi/spi_accessible.c:
1741 Changed AccessibleStateSet_compare to return a
1742 StateSet rather than return the difference set into a third parameter.
1745 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1748 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
1749 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
1753 Remove subdirectory po from SUBDIRS for now.
1755 * at-bridge/bridge.c:
1756 Beefed up a couple of debug printouts.
1757 One-line fix for signal notification name formatting.
1759 * libspi/accessible.c:
1760 Added assertion to spi_accessible_new ().
1762 * libspi/application.c:
1763 Put #ifdef qualifiers around a printf.
1766 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
1768 * registryd/Makefile.am:
1770 Replaces use of XML_I18N_MERGE_SERVER_RULE with
1771 INTLTOOL_SERVER_RULE macro.
1774 Added an event listener for several ATK signals, for
1775 testing and debugging. Removed a few g_warnings.
1776 Added test output if focussed item implements the Value interface.
1778 * test/test-simple.c:
1779 Added test_value () function (known not to pass at the moment, so
1780 not actually called yet.
1782 2001-12-08 Michael Meeks <michael@ximian.com>
1784 * at-bridge/bridge.c (bridge_focus_tracker),
1785 (emit_eventv): fix the same ref. leak.
1786 (register_atk_event_listeners): don't leak.
1788 * cspi/spi-listener-impl.c (cspi_event): more
1789 protection from client code.
1791 * test/test-simple.c (test_desktop): unref the app.
1793 * test/Makefile.am: upd. TESTS.
1795 * at-bridge/bridge.c (bridge_exit_func): release the registry.
1797 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
1799 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
1801 * cspi/spi_registry.c: constify in strings.
1802 (deregisterGlobalEventListenerAll): don't release the ref.
1804 * cspi/spi.h: start removing redundant / conflicting
1805 gtkdoc comments, making the API readable at a glance :-)
1807 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
1809 * test/keysynth-demo.c (keysynth_exit, main): upd.
1811 * test/simple-at.c (main, simple_at_exit): upd.
1813 * test/test-simple.c (unutterable_horror): kill.
1814 (utterable_normal_derefs): kill.
1815 (main): upd & do a setenv before gtk_init, so that we
1816 can use memprof - and to save the pain of remembering
1817 this, if we're running under memprof - don't exit.
1819 * cspi/spi_main.c (SPI_exit): return exit status
1821 (SPI_event_quit): impl.
1822 (SPI_event_main): simplify.
1823 (cspi_is_gnome_app): kill.
1824 (SPI_init): kill isGNOMEapp arg.
1826 * at-bridge/bridge.c (register_atk_event_listeners):
1827 re-instate the unref.
1828 (bridge_exit_func): don't re-activate the registry,
1829 protect vs. theoretical re-entry, use the
1830 AT_BRIDGE_SHUTDOWN env. var to determine whether to
1831 assert a clean shutdown - for regression tests.
1833 2001-12-08 Abel Cheung <maddog@linux.org.hk>
1835 * configure.in: Comment out dummy i18n support for now,
1836 otherwise it fails to build.
1837 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
1838 EXTRA_DIST. They are missing in tarball.
1840 2001-12-07 Michael Meeks <michael@ximian.com>
1842 * util/magnifier.c: kill bonobo activation reg. race.
1844 * libspi/component.c
1845 (impl_accessibility_component_get_extents): make it match
1848 * libspi/registry.c (_registry_notify_listeners):
1849 re-remove X headers & reconcile conflicts.
1850 (spi_listener_struct_free): bad conflict resolve.
1851 (impl_accessibility_registry_register_application):
1852 more bad merging fixed.
1853 (impl_accessibility_registry_deregister_application): ditto.
1854 (spi_registry_new): ditto.
1855 (spi_registry_init): don't have an applications field.
1857 [ merge fixups2 branch to here ]
1858 2001-12-07 Michael Meeks <michael@ximian.com>
1860 * test/simple-at.c (report_focus_event),
1861 (report_focussed_accessible): remove g_warning debug.
1863 2001-12-07 Michael Meeks <michael@ximian.com>
1865 * test/test-simple.c (validate_tree): comment out some checks.
1866 (test_desktop): app now not registered idly - horay.
1868 2001-12-07 Michael Meeks <michael@ximian.com>
1870 * cspi/spi_registry.c
1871 (registerAccessibleKeystrokeListener): clean, stop it leaking
1872 great swathes of memory, and device event controller references.
1873 ensure we always pass valid sequences.
1874 (deregisterAccessibleKeystrokeListener): ditto.
1875 (generateKeyEvent): upd.
1877 * at-bridge/bridge.c (bridge_key_listener): handle
1878 registry dead exception gracefully.
1879 (bridge_focus_tracker, emit_eventv): free ev.
1881 * test/simple-at.c (report_focus_event): fix polarity.
1883 * libspi/application.c (notify_listeners): kill the ev
1884 argument, and make sure we init the ev we use.
1885 (spi_application_object_event_listener): split out a chunk
1886 (get_atk_object_ref): here & fixup.
1887 (reverse_lookup_name_for_toolkit_event): make const.
1888 (spi_application_toolkit_event_listener): fixup, kill leaks
1891 * at-bridge/bridge.c (register_atk_event_listeners):
1892 don't unref the noop object - causes grief.
1894 * libspi/registry.c: remove the X headers.
1895 turn off the debug churn.
1897 * libspi/accessible.c (spi_accessible_new_return): only
1898 release the ref if we are supposed to [doh]
1900 * test/simple-at.c (report_button_press, report_focus_event):
1901 guard vs. unexpected exit.
1903 * at-bridge/bridge.c (gtk_module_init): prune printf.
1904 (bridge_exit_func): fix app unref.
1906 * libspi/Makefile.am: don't install registry or desktop.h
1908 * libspi/*.h: update includes.
1910 * libspi/application.h: don't include ourself, or
1911 other redundant headers.
1913 2001-12-06 Michael Meeks <michael@ximian.com>
1915 * libspi/accessible.c
1916 (get_accessible_from_servant): impl.
1917 Upd. all CORBA impl.s to use it killing cut and paste.
1919 * cspi/spi_main.c (cspi_cleanup): guard vs. double
1921 (SPI_init): register atexit cleanup handler here.
1923 2001-12-06 Michael Meeks <michael@ximian.com>
1925 * at-bridge/bridge.c (gtk_module_init): g_error on
1926 activation exception
1928 2001-12-06 Michael Meeks <michael@ximian.com>
1930 * at-bridge/bridge.c (gtk_module_init): some sort of
1931 confusing merge clash - reverted.
1932 (bridge_idle_init): ditto.
1934 * test/test-simple.c (main, utterable_normal_derefs):
1935 merge from Bill - somehow not committed.
1937 2001-12-06 Michael Meeks <michael@ximian.com>
1939 * libspi/value.c (spi_value_class_init): upd.
1940 (spi_value_finalize): kill.
1942 * libspi/table.c (spi_table_finalize): kill.
1943 (spi_table_interface_new): upd.
1944 (spi_table_class_init): upd.
1945 (get_table_from_servant): impl.
1946 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1948 * libspi/selection.c (spi_selection_finalize): kill.
1949 (spi_selection_interface_new): upd.
1950 (spi_selection_class_init): upd.
1951 (get_selection_from_servant): impl.
1952 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1954 * libspi/relation.c (spi_relation_finalize): kill.
1955 (spi_relation_class_init, spi_relation_new): upd
1957 * libspi/image.c (spi_image_finalize): kill.
1958 (spi_image_class_init): upd.
1959 (spi_image_interface_new): upd.
1960 (get_image_from_servant): impl.
1961 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1963 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
1964 (spi_hyperlink_finalize): kill.
1965 (spi_hyperlink_new): upd.
1966 (get_hyperlink_from_servant): impl.
1967 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1969 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
1970 (spi_hypertext_finalize): kill.
1971 (spi_hypertext_class_init): upd.
1972 (get_hypertext_from_servant): impl.
1973 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1975 * libspi/editabletext.c (spi_editable_text_finalize): kill.
1976 (spi_editable_text_interface_new): upd.
1977 (get_editable_text_from_servant): impl.
1978 Upd. all CORBA impl.s to use it killing yet more cut and paste.
1980 * libspi/text.c (get_text_from_servant): impl.
1981 All impls - update to use it killing more cut and paste,
1982 also fix bad string returns on duff args ( a somewhat
1983 impossible case to handle - but hey ).
1984 (spi_text_construct): impl.
1985 (spi_text_interface_new): upd.
1986 (spi_text_object_finalize): kill.
1988 * libspi/component.c
1989 (accessibility_component_object_finalize): kill.
1990 (spi_component_class_init): upd.
1991 (get_component_from_servant): impl. helper to kill cut & paste.
1992 (impl_accessibility_component_contains):
1993 (impl_accessibility_component_get_accessible_at_point):
1994 (impl_accessibility_component_get_position):
1995 (impl_accessibility_component_get_extents):
1996 (impl_accessibility_component_get_mdi_z_order):
1997 (impl_accessibility_component_get_layer):
1998 (spi_component_interface_new): upd.
2000 * libspi/action.c (spi_action_finalize): kill.
2001 (spi_action_class_init): upd. inherit from SpiObject.
2002 (spi_action_interface_new): upd.
2003 (get_action_from_servant): impl. helper to reduce cut & paste.
2004 (impl_getKeyBinding, impl_getName, impl_doAction),
2005 (impl_getDescription): Use it everywhere.
2007 * cspi/spi_main.c (get_live_refs): a pointer hash.
2008 (spi_object_hash, spi_object_equal): comment out.
2009 There are issues with CORBA object hashing that need
2012 * libspi/application.c (spi_application_init),
2013 (spi_application_new): upd.
2015 * libspi/accessible.c (spi_accessible_object_finalize): kill.
2016 (spi_accessible_class_init): upd.
2017 s/accessible/object/ in epv methods.
2019 2001-12-05 Bill Haneman <bill.haneman@sun.com>
2021 * at-bridge/bridge.c:
2022 Reorder the bridge initialization into the bridge gtk_module_init,
2023 an immediate call to bridge_register_app, and an idle_add for
2024 register_atk_event_listeners (the only code that *must* wait until
2025 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
2026 the activation, creates the application's Accessible object, and
2027 queues the bridge_idle_init function. Restored call to
2028 Accessibility_Registry_deregisterApplication().
2029 Prior to making this call we obtain a new reference to the
2030 registry, which is a temporary hack that helps us handle apps that
2031 shut down the bonobo mainloop before we get there.
2033 * libspi/registry.c:
2034 Fix string leakage in debug block, and don't segv if a an app
2035 dies before its event notifications have been propagated.
2038 Modify cspi_check_ev() to call g_warning() rather than g_error(),
2039 as stopgap measure until we get proper exception handling when
2040 objects die during or before interrogation.
2044 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
2045 Also changed default value of is_gnome_app to TRUE.
2048 * test/keysynth-demo.c:
2049 Changed use of SPI_init and SPI_event_main to reflect API change above.
2052 Made report_focus_event check the warning value from getName
2053 before reporting on focussed accessible; simplifies handling of
2054 notifications from dead objects.
2056 * test/test-simple.c: (Changes not in this patch since source is
2059 2001-12-05 Michael Meeks <michael@ximian.com>
2061 * registryd/registryd.c (main): protect against
2062 bonobo-activation startup race condition.
2064 * cspi/spi_main.c (cspi_object_add_check): cope
2065 with the exception elegantly.
2067 * idl/Accessible.idl: decl. ChildGone
2069 * libspi/desktop.c (spi_desktop_dispose): impl.
2070 (spi_desktop_class_init): upd.
2071 (spi_desktop_add_application),
2072 (spi_desktop_remove_application),
2073 (abnormal_application_termination): impl.
2074 (impl_desktop_get_child_at_index): re-impl.
2077 (impl_accessibility_registry_deregister_application),
2078 (impl_accessibility_registry_register_application):
2079 kill excessive debug clutter.
2081 * test/test-simple.c (test_misc): test some NULL
2082 tolerance. (main): upd.
2084 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
2085 implements no interfaces - so let's not crash.
2087 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
2089 * libspi/accessible.c (spi_accessible_new_return): impl.
2090 helper to calm the cut and paste, to cope with
2091 NULL AtkObjects effectively and efficiently, and to kill
2092 the referencing bugs.
2094 * libspi/table.c (impl_getAccessibleAt),
2095 (impl_getRowHeader, impl_getColumnHeader): upd.
2097 * libspi/hyperlink.c (impl_getObject): upd.
2099 * libspi/accessible.c
2100 (impl_accessibility_accessible_get_child_at_index): upd.
2102 * libspi/component.c
2103 (impl_accessibility_component_get_accessible_at_point): upd.
2105 * test/test-simple.c (test_editable_text, test_text): impl.
2108 * cspi/spi_editabletext.c
2109 (AccessibleEditableText_insertText): constify.
2111 * test/test-simple.c (focus_me): make more robust.
2113 * libspi/accessible.c: remove some printfs in methods that
2114 we test and work fine, so we can get a clean tree dump.
2116 * test/test-simple.c (validate_accessible),
2117 (validate_tree): make tree dumping pretty too.
2119 * at-bridge/bridge.c (bridge_signal_listener): upd. so
2120 it builds without debug on.
2122 * test/test-simple.c (validate_accessible): fix the most
2125 * cspi/spi_main.c (spi_object_release): leave the nicely
2126 blanked memory around if in debug mode.
2128 * cspi/spi-listener-impl.c (cspi_event): use add_check.
2130 [committed to fixups2]
2131 2001-12-05 Michael Meeks <michael@ximian.com>
2133 * libspi/editabletext.c
2134 (spi_editable_text_class_init): g_type_class_peek_parent,
2135 not interface peek - so we finalize cleanly.
2137 * libspi/accessible.c (spi_accessible_new): kill debug.
2139 * test/test-simple.c (validate_accessible): fix ref.
2140 leak, print strings before freeing them; sigh, comment a
2141 chunk out due to strangeness.
2142 (validate_tree): unref the child after use.
2144 * cspi/spi_component.c (AccessibleComponent_getLayer):
2145 add missing break statement, switch on zlayer not the
2146 uninitialized retval.
2148 * cspi/spi_main.c (cspi_object_add): add assert, local ref
2149 before (possibly re-entering) remote unref.
2151 * test/simple-at.c (main): unref the desktop.
2153 * cspi/spi_accessible.c (cspi_accessible_is_a): move
2156 * cspi/spi_main.c (cspi_accessible_is_a): here to
2157 isolate bonobo API usage more.
2159 * libspi/registry.c (impl_accessibility_registry_register_application):
2160 prune bogus comment.
2162 2001-12-04 Michael Meeks <michael@ximian.com>
2164 * test/test-simple.c (validate_tree): upd.
2165 IndexInParent check to make it more lucid.
2166 (validate_accessible): dump the tree.
2168 * libspi/accessible.c (de_register_public_ref),
2169 (get_public_refs): impl.
2170 (spi_accessible_new): make more efficient & intuitive.
2171 Now IndexInParent check works.
2173 2001-12-04 Michael Meeks <michael@ximian.com>
2175 * cspi/spi-util.h: remove.
2177 * cspi/spi.h: move SPI_freeString here
2179 * libspi/component.c (impl_accessibility_component_get_layer):
2181 (impl_accessibility_component_get_mdi_z_order): ditto,
2182 return -1 on error - is this ok ?
2184 * test/test-simple.c (test_application): impl.
2186 * cspi/spi_accessible.c (Accessible_getApplication),
2187 (Accessible_isApplication): impl.
2189 * libspi/registry.c (spi_listener_struct_free): release
2190 the CORBA reference too.
2192 * libspi/accessible.c
2193 (impl_accessibility_accessible_get_parent): fix ref leak.
2195 * libspi/registry.c (spi_registry_new): make the registry
2196 immortal - we don't want it to go away ever.
2198 * libspi/application.c
2199 (spi_accessible_application_finalize): impl. cleanup.
2201 * cspi/spi_registry.c
2202 (deregisterGlobalEventListenerAll),
2203 (deregisterGlobalEventListener),
2204 (deregisterAccessibleKeystrokeListener): fix ref leak.
2206 * cspi/spi_main.c (SPI_init): remove redundant ref.
2208 * test/test-simple.c (unutterable_horror): impl. to force a
2213 (impl_accessibility_registry_deregister_application): release
2214 the application when we de-register it.
2216 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
2217 until we have the infastructure to get it right.
2219 2001-12-03 Michael Meeks <michael@ximian.com>
2221 * libspi/Makefile.am: only build eventlistener.[ch]
2223 * libspi/accessible.c
2224 (impl_accessibility_accessible_get_child_at_index): don't leak.
2226 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
2227 before we hit the idle handler.
2229 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
2230 debugging than exit.
2232 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
2234 * libspi/listener.c (impl_notify_event): check source
2235 not NIL before unref.
2237 * libspi/registry.c (impl_registry_notify_event): ditto.
2239 * libspi/eventlistener.c
2240 (impl_accessible_event_notify_event): unref the source.
2242 * libspi/accessibleeventlistener.c
2243 (impl_accessible_event_notify_event): unref the source.
2245 * idl/Event.idl: remove 'hash_id' attribute - of no
2248 * libspi/application.c (notify_listeners): upd list
2250 (spi_application_object_event_listener),
2251 (spi_application_toolkit_event_listener): upd to do correct
2255 (_registry_notify_listeners): update.
2256 (parse_event_type): this method also leaks like a sieve.
2257 (impl_accessibility_registry_deregister_global_event_listener):
2258 fix ETYPE_WINDOW case.
2260 * libspi/application.c
2261 (impl_accessibility_application_register_object_event_listener):
2264 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
2266 * libspi/hypertext.c (impl_getLink): ditto.
2268 * cspi/spi_main.c (cspi_object_add): remove
2269 bogus CORBA_Object_duplicate.
2271 * cspi/spi-listener-impl.c (cspi_event): dup/ref
2274 * cspi/spi_accessible.c
2275 (Accessible_getRelationSet): fix leak / referencing issue.
2277 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
2278 (cspi_object_add, cspi_object_unref): upd.
2279 (spi_object_release, get_live_refs): impl.
2280 (cspi_cleanup): simplify.
2282 * *.[ch]: s/boolean/SpiBoolean/
2284 * cspi/spi_accessible.c (role_names): actualy order so it
2285 corresponds with the enum !
2287 * test/test-simple.c (test_roles): check some role strings
2288 vs. enums to detect offset errors.
2290 2001-12-01 Michael Meeks <michael@ximian.com>
2292 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
2294 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
2296 (Accessible_getChildAtIndex): use cspi_add_check so we
2297 check the ev before using a (possibly) invalid value.
2299 * libspi/accessible.c
2300 (impl_accessibility_accessible_get_parent): don't segv
2303 * at-bridge/bridge.c (gtk_module_init): upd.
2304 (bridge_property_event_listener): don't leak strings
2306 (bridge_state_event_listener),
2307 (bridge_property_event_listener): don't use a static
2308 buffer in case of recursive event emission &
2309 re-enterancy - split out the swathe of cut and paste
2311 (emit_eventv): and fix 2 ref leaks here & comply to the
2313 (bridge_register_app): rename to
2314 (bridge_idle_init): this and kill arg parsing, split
2315 various inits & bonobo-activation registration to module
2316 init time, kill referencing error.
2317 (bridge_exit_func): fix the same leak.
2318 (bridge_focus_tracker): don't leak event structures
2320 (bridge_signal_listener): more leakage and cut & paste
2322 (bridge_key_listener): return the result - FIXME is
2323 this polarity correct ?
2324 (accessibility_keystroke_from_atk_key_event): rename
2325 (accessibility_init_keystroke_from_atk_key_event): and stop
2327 (gtk_module_init): return a value - not that it is checked by
2329 (bridge_key_listener): register my horror at casting between
2330 IDL defined structs.
2331 (bridge_get_registry): kill - not used.
2333 * cspi/spi_accessible.c (Accessible_getRole): make return const.
2335 * test/test-simple.c (test_roles): impl.
2336 (test_desktop, validate_accessible, validate_tree): impl.
2338 * cspi/spi_accessible.c (role_names): fixup bogus
2339 MAX_ROLES setup, make constants const for efficient linkage
2340 (AccessibleRole_getName): conform to coding style, make
2343 2001-11-30 Michael Meeks <michael@ximian.com>
2345 * cspi/spi.h: add missing prototype.
2347 * libspi/registry.c (spi_listener_struct_new): fix sig.
2349 * test/Makefile.am: add test-simple
2351 * test/test-simple.c: add
2353 * test/test.sh: add.
2355 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
2357 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
2358 do it straight - since otherwise we often get an activation race.
2360 [ work before Bill duplicated a chunk of it ... ]
2361 2001-11-30 Michael Meeks <michael@ximian.com>
2363 * libspi/keystrokelistener.c
2364 (spi_keystroke_listener_class_init): fixup arg
2367 * libspi/eventlistener.c
2368 (spi_event_listener_class_init): ditto.
2370 * tests/test.sh: add.
2372 * cspi/spi-listener-impl.h: update macros.
2374 * cspi/spi-listener-impl.c
2375 (cspi_event_listener_remove_callback): add
2376 correct pre-conditions.
2378 * cspi/spi_main.c (SPI_exit): guard vs. double
2379 exits, exit the mainloop nicely.
2380 (SPI_event_main): make more sense.
2381 (SPI_init): move the atexit evilness here so we
2382 always do it (yuck).
2383 (SPI_event_main): upd.
2385 * test/simple-at.c: update for listener changes.
2387 * registryd/registryd.c (main): prune kruft.
2389 * libspi/libspi.h: upd.
2391 * libspi/eventlistener.[ch]: rename broken macros.
2393 * libspi/accessibleeventlistener.[ch]: remove.
2395 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
2397 * test/test-simple.c: Add - automated tests.
2399 * cspi/spi-listener-impl.c (cspi_event),
2400 (cspi_key_event): add user_data to invoke.
2401 (cspi_keystroke_listener_finalize): impl.
2402 (cspi_keystroke_listener_class_init): upd.
2405 (createAccessibleEventListener),
2406 (AccessibleEventListener_addCallback),
2407 (createAccessibleKeystrokeListener),
2408 (AccessibleKeystrokeListener_addCallback): upd.
2410 * libspi/deviceeventcontroller.c
2411 (spi_device_event_controller_check_key_event): add public proto.
2414 (impl_accessibility_registry_deregister_global_event_listener):
2415 always init listeners.
2416 (_registry_notify_listeners): yes it is.
2418 * cspi/spi-listener-impl.c (cspi_key_event):
2420 (cspi_event_listener_finalize): impl.
2421 (cspi_event_listener_class_init): hook up.
2422 (event_handler_new, event_handler_free),
2423 (event_list_remove_by_callback): impl.
2424 (cspi_event_listener_remove_callback),
2425 (cspi_keystroke_listener_remove_callback),
2426 (cspi_keystroke_listener_add_callback),
2427 (cspi_event_listener_add_callback): upd.
2429 * libspi/keystrokelistener.c
2430 (keystroke_listener_object_finalize): kill
2431 (spi_keystroke_listener_class_init): upd.
2432 (spi_keystroke_listener_add_callback),
2433 (spi_keystroke_listener_remove_callback): kill,
2435 (impl_key_event): prune drasticaly.
2437 * libspi/eventlistener.c
2438 (spi_event_listener_add_callback),
2439 (spi_event_listener_remove_callback): kill, use
2441 (impl_accessible_event_notify_event): upd.
2442 (spi_event_listener_object_finalize): remove.
2444 * libspi/Makefile.am: use eventlistener.[ch]
2446 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2448 * libspi/registry.c (_registry_notify_listeners):
2449 Changed listener loop iteration to use preferred convention.
2450 Got rid of string memory leaks caused be calling g_strconcat
2451 inside function calls.
2453 * libspi/registry.c (parse_event_type):
2454 Stopped g_strconcat memory leaks, free the g_strsplit return,
2455 g_strdup the split pieces when used, etc.
2457 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2460 Change method 'compare' to return a 'difference set' rather than
2461 taking a StateSet as an out parameter (more Java-friendly).
2463 * idl/Accessible.idl:
2464 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2466 * idl/Component.idl:
2468 Changed methods 'getExtents' and 'getImageExtents' in these
2469 interfaces to return a BoundingBox structure.
2470 (getPosition and getSize are redundant and possibly should be
2471 removed, rather than creating a corresponding Point struct.)
2473 * cspi/spi_component.c:
2474 Modify implementation of getExtents to reflect the above IDL
2479 Add (missing) AccessibleImage_getExtents () API.
2481 * docs/reference/cspi/at-spi-cspi-sections.txt:
2482 Added AccessibleImage_getImageExtents () to docs.
2484 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2486 * idl/Component.idl:
2487 Added two methods, getLayer () and getMDIZOrder (), to reflect
2488 the new ATK methods atk_object_get_layer and
2489 atk_object_get_mdi_z_order. (Which arguably should be part of the
2490 AtkComponent API and AtkObject). Also added an enum,
2491 ComponentLayer, for the first method's return value.
2493 * libspi/component.c:
2494 Added implementations for these methods.
2496 * cspi/spi_component.c:
2498 Added cspi binding methods for above,
2499 AccessibleComponent_getLayer() and
2500 AccessibleComponent_getMDIZOrder().
2501 Added cspi enum 'AccessibleComponentLayer'.
2503 * docs/reference/cspi/at-spi-cspi-sections.txt:
2504 Added above methods to docs.
2508 Changed typedef for 'boolean' type (and all references to it) to
2509 SPIBoolean, to avoid keyword clashes with C++.
2512 Changed usages of 'boolean' to SPIBoolean.
2514 * test/keysynth-demo.c:
2515 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2516 app), except where SPIBoolean is required by the callbacks API.
2518 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2520 * cspi/spi_registry.c:
2521 Removed obsolete X event loop for passive keygrabs (which now
2524 * registryd/registryd.c:
2525 Removed unnecessary call to gdk_init() [cruft]. This also allows
2526 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2529 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2531 * docs/reference/cspi:
2532 Included docs for SPI_freeString in generated documentation.
2535 Renamed spi_freeString to SPI_freeString, for consistency. Added
2536 documentation for this function.
2539 Renamed spi_freeString to SPI_freeString, for consistency.
2540 Removed obsolete method declaration string_from_corba_string.
2542 * test/keysynth-demo.c:
2543 Small tweak to comments.
2546 Stopped leaking the strings returned from CSPI.
2548 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2550 Merged Michael's branch (see his ChangeLog entries below).
2552 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2553 bridge is alive, release on exit.
2555 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2556 Fix type check macro.
2559 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2562 Added is_gnome_app static, and method cspi_is_gnome_app(),
2563 so we can call the appropriate shutdown routine at exit in SPI_exit.
2565 * cspi/spi_main.c (cspi_object_ref):
2566 Duplicate the corba object passed in, since we're keeping it around.
2568 * cspi/SPI_exit.c, cspi_cleanup:
2569 Moved the releasing of the live refs to its own function, so we
2570 can put it in g_atexit (). Call the appropriate shutdown API
2571 depending on whethe calling client is a gnome app or not
2572 (bonobo_main_quit or CORBA_ORB_shutdown).
2574 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2575 Unref the listener when this method is called, after
2576 deregistration. Updated the API docs to note this behavior.
2578 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2579 Bugfixes: Ref the bonobo object when returning a parent or child
2580 reference, or an AccessibleRelation. Generally made sure
2581 BonoboObject refcount is incremented whenever we return an
2584 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2585 Fixed typo/bug in signal declaration.
2587 * libspi/accessibleeventlistener.h:
2590 * libspi/application.c (spi_application_new):
2591 Fixed leak in initialization.
2594 Remembered to increment bonobo-object refcount when returning
2595 children (applications) from desktop object.
2596 Added (empty) finalize method.
2598 * libspi/deviceeventcontroller.c:
2599 Hold a ref to listeners inside DEControllerKeyListeners.
2600 Added dec_key_listener_free() method. Use prepend instead of
2601 append in key_listener list. Fixed some refcount madness and
2602 leaks in the listener registration/deregistration - deregistration
2603 now calls dec_key_listener_free() on listeners, and on the
2604 temporarily constructed dec_key_listener() used to perform the search/match.
2606 * libspi/hypertext.c (spi_hypertest_finalize):
2607 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2608 class. Also fixed spi_hypertext_interface_new() and
2609 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2611 * libspi/hypertext.h:
2612 Removed pointless and duplicate AtkObject pointer from
2615 * libspi/keystrokelistener.c:
2616 Fixed incorrect type of keystroke_listener_parent_class,
2617 renamed keystroke_listener_object_finalize to
2618 spi_keystroke_listener_object_finalize.
2619 Fixed typo in signal declaration
2620 (spi_keystroke_listener_class_init).
2622 * libspi/registry.c:
2623 Added funcsions spi_listener_struct_new() and
2624 spi_listener_struct_free() to help with memory management issues.
2625 We also now use these methods instead of gnew + poking stuff into
2626 the struct, and to decrement listener counts/free the listeners
2627 when deregistering them.
2628 Fix more refcount bugs in getDesktop() and
2629 getDeviceEventController().
2632 De-ref the desktop after enumerating the applications. Explicitly
2633 decrement the refcounts on the created listeners on exit (using
2634 _unref for keystroke listeners, and via the
2635 deregisterGlobalEventListenerAll command for other event
2638 2001-11-27 Michael Meeks <michael@ximian.com>
2640 * cspi/spi-listener.h: fixup enum.
2642 2001-11-27 Michael Meeks <michael@ximian.com>
2644 * cspi/spi-listener-impl.c (cspi_event_listener_new),
2645 (cspi_keystroke_listener_new): Use the cspi variants.
2647 2001-11-26 Michael Meeks <michael@ximian.com>
2649 * test/keysynth-demo.c: fix 2 compile warnings, missing
2652 * test/simple-at.c (report_focussed_accessible),
2653 (report_focus_event, report_button_press),
2654 (check_property_change, is_command_key),
2655 (report_ordinary_key_event, report_command_key_event): upd.
2657 * util/mag_client.h: include pre-requisites.
2659 * libspi/accessibleeventlistener.c
2660 (spi_event_listener_object_finalize): free any lingering
2663 * libspi/keystrokelistener.c
2664 (keystroke_listener_object_finalize): ditto.
2666 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
2667 callbacks, with cspi types.
2669 * cspi/spi_event.c (createAccessibleEventListener): chain to
2670 (AccessibleEventListener_addCallback): here.
2671 (createAccessibleKeystrokeListener): chain to
2672 (AccessibleKeystrokeListener_addCallback): here.
2674 * libspi/keystrokelistener.c
2675 (spi_keystroke_listener_class_init): add signal.
2676 (impl_key_event): emit the event.
2677 (boolean_handled_accumulator): impl.
2678 (marshal_BOOLEAN__POINTER): add, gack.
2680 * libspi/accessibleeventlistener.c
2681 (spi_event_listener_class_init): add signal.
2682 (impl_accessible_event_notify_event): emit the signal &
2683 make the loop efficient.
2684 (spi_event_listener_add_callback): prepend the callback.
2686 * libspi/accessibleeventlistener.h: add an 'event' signal,
2687 decl type on callback.
2689 * libspi/keystrokelistener.h: ditto.
2691 * cspi/spi-listener.h: make methods typesafe and
2692 make them use the new event typedefs.
2694 * test/simple-at.c (report_focussed_accessible):
2695 include mag_client.h
2696 Use *(void *)text_interface not the other thing.
2698 * configure.in: add gtk to registryd bits - since we use
2701 * util/magnifier.c: include libbonobo.h
2703 2001-11-25 Bill Haneman <bill.haneman@sun.com>
2705 * test/keysynth-demo.c:
2706 Turned this into a simple scanning keyboard, to demonstrate the
2707 use of g_timeout_add () as a means of creating timers for
2708 scanning, and the use of GtkStyle for visually indicating when
2709 virtual keyboard elements are selected.
2711 keysynth-demo now listens to any keyboard keys with zero-valued
2712 keycodes (i.e. 'unused' keys) and interprets them as
2715 Reworked the shiftlatch code so that shift-down state isn't held
2716 for long periods (it's only synthesized immediately prior to
2717 the keysynth event it's modifying). Note that shiftlatch in this
2718 demo is a convenience, not intended to take the place of AccessX
2719 which is the better choice for getting 'sticky' modifier keys.
2721 * libspi/deviceeventcontroller.c:
2722 * at-bridge/bridge.c:
2723 * cspi/spi_registry.c:
2724 Removed some debug print stuff, and put other verbosity in #ifdef
2729 Implemented some more of the magnifier IDL for the simple
2730 magnifier: namely, getZoomRegionParams.
2731 Added mag_x and mag_y members to MagnifierData struct, aid of this
2733 Added GtkWindow::realize signal handler to magnifier, to keep it
2734 from receiving keyboard focus from the WM.
2736 2001-11-23 Mark McLoughlin <mark@skynet.ie>
2738 * cspi/spi-private.h: my guess at what michael forgot
2739 before he ran off to NZ :-)
2741 2001-11-23 Michael Meeks <michael@ximian.com>
2743 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
2744 comment out non existant method invoke so we link.
2746 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
2747 use bonobo_exception_get_text for more friendly warnings.
2749 * cspi/spi.c (Obj_Add): move into spi_main & rename
2750 spi_object_add; kill spi.c
2752 * cspi/spi_registry.c
2753 (deregisterGlobalEventListener),
2754 (deregisterGlobalEventListenerAll),
2755 (registerGlobalEventListener): fix exception leaks.
2757 * cspi/spi_main.c (spi_exception): impl. helper, so we
2758 don't leak exceptions.
2760 * cspi/spi_selection.c
2761 (AccessibleSelection_deselectSelectedChild): return the
2764 * cspi/spi_main.c (spi_ev): impl; hack - gack.
2765 (spi_registry): ditto.
2766 (SPI_init): guard against double inits.
2768 * cspi/*.c: use spi_ev (), and spi_registry () where
2769 appropriate - a temporary hack until we have something
2770 better. Use spi_object_add
2772 2001-11-22 Michael Meeks <michael@ximian.com>
2774 * cspi/Makefile.am: re organise, install the headers.
2776 * cspi/*.h: add G_BEGIN/END_DECLS
2778 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2781 Added non-preemptive keylistener for key events with no modifiers
2782 and shift-only modifier.
2784 * libspi/keystrokelistener.c:
2785 Removed some verbose diagnostics printout.
2787 * cspi/spi_registry.c:
2788 Fixed a bug that caused all key listeners to be registered as
2791 * libspi/deviceeventcontroller.c:
2792 Fixed bug that caused XGrabKey (preemptive key grab) to be called
2793 for non-preemptive key masks.
2796 2001-22-11 Bill Haneman <bill.haneman@sun.com>
2798 * docs/reference/idl/at-spi-idl-docs.sgml:
2799 * docs/reference/idl/at-spi-idl-sections.txt:
2800 * docs/reference/idl/at-spi-idl-overrides.txt:
2801 Added missing files.
2803 * docs/reference/Makefile.am:
2804 removed idl from SUBDIRS until we can figure a way to get gtk-doc
2805 to scan the IDL files :-(
2810 Added .cvsignore files.
2812 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2814 * libspi/deviceeventcontroller.c:
2815 * libspi/keystrokelistener.c:
2817 * cspi/spi_registry.c:
2818 Added filters for KeySets, KeyEventSeq, and event types to key
2819 event dispatching, so listeners should only receive those events
2820 that they requested :-)
2822 2001-21-11 Bill Haneman <bill.haneman@sun.com>
2827 * docs/reference:Makefile.am:
2828 * docs/reference/cspi:
2829 * docs/reference/cspi:Makefile.am:
2830 * docs/reference/cspi:tmpl:
2831 * docs/reference/cspi:tmpl:*.sgml:
2832 * docs/reference/idl:
2833 * docs/reference/idl:Makefile.am:
2834 * docs/reference/idl:at-spi-idl-sections.txt:
2835 * docs/reference/idl:at-spi-idl-docs.sgml:
2836 * docs/reference/idl:tmpl:
2837 * docs/reference/idl:tmpl:*.sgml:
2839 Restructured docs directory to allow separate 'reference' docs
2840 section, and forked idl and cspi docs. Added the sgml template
2841 files to CVS. Added the first sections/structural sgml for the
2844 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
2846 * configure.in, libspi/Makefile.am: find libXtst.
2848 2001-11-21 Michael Meeks <michael@ximian.com>
2850 * test/accessx-gui.c: s/spi_value/value/ - doh.
2852 * libspi/base.[ch]: add.
2854 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2856 * idl/Accessible.idl:
2857 * idl/Application.idl:
2860 Started gtk-doc cleanup on IDL.
2862 * libspi/deviceeventcontroller.c:
2863 Added and connected non-preemptive key notification from the
2864 toolkits (in addition to the pre-emptive support from XServer
2865 which we had before, but which causes 'focus flashing'). Filters
2866 are presently limited to key modifiers and global/non-global,
2867 KeySets are presently ignored, as are KeyEvent masks.
2869 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
2870 structs into the persistant structure rather than just storing
2871 pointers to things that might not persist across servant
2874 The XGrabKey call now does async keygrabs, because synchronous
2875 ones were deadlocking with GDK_event code in a very nasty way.
2877 Added boolean to internal method notify_keylisteners, to indicate
2878 whether the event came from the 'toolkit source' or the 'global
2879 (XServer) source' - this is used in the notification process to
2880 determine which listeners to send the event to.
2882 deviceeventcontroller.c is now warning-free.
2884 * libspi/registry.c:
2885 Fixed regression in application de-registration.
2886 Also fixed some really brain-dead weirdness having to do with
2887 event dispatching - event structs are now duplicated before being
2888 re-marshalled in the dispatch to listeners. This also fixes a
2889 Solaris build problem.
2892 2001-20-11 Michael Meeks <michael@ximian.com>
2895 (impl_accessibility_registry_deregister_global_event_listener):
2898 * libspi/deviceeventcontroller.c
2899 (spi_device_event_controller_check_key_event): return
2900 FALSE on no virtual method.
2902 * libspi/*..h: make includes work on a correctly pathed install.
2904 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
2906 * libspi/application.h: kill unused ( and whacked out )
2907 gboolean *spi_application_set_id (AtkObject *app, long id);
2909 2001-20-11 Michael Meeks <michael@ximian.com>
2911 * libspi/*.[ch]: further convert to bonobo's type func
2912 macros, remove redundnant casts etc.
2914 * libspi/text.c s/accessibility_text/spi_text/g,
2915 re-order to de-cruft.
2917 * libspi/hypertext.c: re-order to kill a huge slew
2918 of redundant forward decls.
2920 * libspi/relation.c: ditto.
2922 * libspi/image.c: ditto.
2924 * */.cvsignore: update
2926 2001-20-11 Michael Meeks <michael@ximian.com>
2928 * libspi/deviceeventcontroller.c
2929 (_controller_register_with_devices): use g_getenv,
2930 kill stdlib.h include.
2932 * libspi/keystrokelistener.c
2933 (spi_keystroke_listener_get_type): kill
2934 (spi_keystroke_listener_class_init),
2935 (spi_keystroke_listener_init): rename to this.
2937 * libspi/text.c (impl_getAttributes): fix warning / bug.
2939 * libspi/*.[ch]: more headers, includes and over commenting.
2941 2001-20-11 Michael Meeks <michael@ximian.com>
2943 * libspi/*.[ch]: fixup headers, includes and over commenting.
2945 * libspi/image.c (impl__get_imageDescription): const
2946 correctness warning fix. remove redundant casting.
2948 * libspi/table.c (impl_getRowDescription): ditto.
2949 (impl_getColumnDescription): ditto.
2951 * libspi/libspi.h: add.
2953 2001-19-11 Michael Meeks <michael@ximian.com>
2955 * libspi/editabletext.c (impl_setAttributes): fix warnings.
2957 * libspi/component.c (accessibility_component_get_type):
2958 rename to (spi_component_get_type): and macroify.
2959 (accessibility_component_init): rename to
2960 (spi_component_init): this
2961 (accessibility_component_class_init): rename to
2962 (spi_component_class_init): this
2964 * libspi/action.c (spi_action_get_type): kill, use the macro.
2966 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
2969 * libspi/application.c (spi_application_object_event_listener),
2970 (impl_accessibility_application_register_object_event_listener):
2971 warning fixes / const understanding updates.
2973 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
2976 2001-18-11 Bill Haneman <bill.haneman@sun.com>
2978 * libspi/spi_accessible.c: Added docs and C bindings for
2979 AccessibleStateSet. (No implementations yet). Documentation
2980 coverage for C bindings now 100%. Made docs for event listeners
2985 boolean notifyListenersSync (in DeviceEventListener listener,
2986 in DeviceEvent event);
2988 oneway void notifyListenersAsync (in DeviceEventListener listener,
2989 in DeviceEvent event);
2991 Added DeviceEventListener and DeviceEvent structs (may deprecate
2992 KeyStroke and KeystrokeListener in favor of this generic
2993 event/listener framework for devices).
2995 * libspi/deviceeventcontroller.c:
2997 Changed some key listener code to take masks, etc., and paved the
2998 way for integration of toolkit/non-preemptive key events. Changed
2999 signatures of some internal methods.
3001 * at-bridge/bridge.c:
3002 Fixed regression connecting to interface signals, apparently
3003 caused by GTK+ changes.
3005 Added an internal bridge_state_listener to deal with
3006 property-change:accessible-state signals.
3008 Changed the key_listeners GList to store structs (including masks,
3009 etc.) instead of just CORBA_Objects (required for full
3010 implementation of key listener API).
3012 Connected the bridge to all currently supported Atk signals.
3013 Events now supported:
3014 object:property-change
3015 object:property-change:accessible-name
3016 object:property-change:accessible-state
3017 object:property-change:accessible-description
3018 object:property-change:accessible-parent
3019 object:property-change:accessible-value
3020 object:property-change:accessible-role
3021 object:property-change:accessible-table-caption
3022 object:property-change:accessible-table-column-description
3023 object:property-change:accessible-table-column-header
3024 object:property-change:accessible-table-row-description
3025 object:property-change:accessible-table-row-header
3026 object:property-change:accessible-table-summary
3027 object:children-changed
3028 object:visible-data-changed
3029 object:selection-changed
3030 object:text-selection-changed
3032 object:text-caret-moved
3034 object:row-reordered
3036 object:column-inserted
3037 object:column-reordered
3038 object:column-deleted
3039 object:model-changed
3041 2001-16-11 Bill Haneman <bill.haneman@sun.com>
3043 * libspi/hyperlink.c,h:
3044 Fixed some broken stuff in hyperlink.
3046 * libspi/relation.h:
3047 * libspi/relation.c:
3048 * cspi/spi_accessible.c:
3049 Initial implementations of AccessibleRelation methods, and docs.
3051 * libspi/accessible.c:
3052 Fixed a bug that caused SEGV if an accessible
3053 object's description is NULL, and a client
3054 requests it. An empty string is now returned.
3056 * cspi/spi_editabletext.c:
3057 * cspi/spi_hypertext.c:
3059 * cspi/spi_hyperlink.c:
3063 Doc coverage now 95%.
3065 2001-16-11 Bill Haneman <bill.haneman@sun.com>
3067 One last namespacing revision:
3068 * libspi/accessibleeventlistener.[ch]:
3069 Renamed SpiAccessibleEventListener to SpiEventListener,
3070 (no need for two namespaces ;-)
3072 And lots of documentation fixes:
3074 * docs/at-spi-docs.sgml:
3075 Fixed 'underscore vs. hyphen' bug that was preventing
3076 the gtk-doc API docs from being automatically generated.
3079 * cspi/spi-listener.h
3081 * cspi/spi_accessible.c
3083 * cspi/spi_application.c
3084 * cspi/spi_component.c
3085 * cspi/spi_editabletext.c
3087 * cspi/spi_hypertext.c
3089 * cspi/spi_registry.c
3090 * cspi/spi_selection.c
3094 * docs/at-spi-docs.sgml
3095 * docs/at-spi-sections.txt
3097 Added and fixed up gtk-doc documentation in cspi.
3099 Interfaces now (fully) documented (subject to revision and enhancement):
3101 Event Listener Support
3103 AccessibleApplication
3107 AccessibleEditableText
3114 AccessibleRelationSet
3119 2001-14-11 Bill Haneman <bill.haneman@sun.com>
3121 * at-bridge/bridge.c:
3122 Initial work for toolkit-level key snooper connection by bridge.
3127 New typedefs and fixes to support new namespacing, and cleaner
3128 separation of cspi bindings from libspi bonobo implementation.
3129 Removed inconsistent and extraneous Spi* namespace prefix that
3130 had crept into cspi headers.
3131 Lots of comment fixes that sed had missed.
3133 * cspi/spi-roletypes.h:
3134 * cspi/spi-statetypes.h:
3135 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
3136 to AccessibleRoleType.
3138 * libspi/accessibleeventlistener.h:
3139 Fixed minor namespacing weirdness.
3141 * libspi/deviceeventcontroller.c:
3142 Reordered some internal API for device listeners.
3143 Changed the key registry final boolean to 'is_system_global'
3144 rather than 'is_synchronous', which is more descriptive of its
3146 Added spi_device_event_controller_new().
3147 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
3149 * libspi/keystrokelistener.[ch]:
3150 Namespaced KeystrokeListener to SpiKeystrokeListener.
3151 Changed uses of keymasks to use SPI_ prefix, and did other
3154 * libspi/keymasks.h:
3155 Namespaced keymask constants with SPI_ prefix.
3157 * libspi/registry.c:
3158 Some warning fixes, and knock-on fixes from namespace changes.
3161 Added rules for accessx-gui test program.
3163 * test/accessx-gui.c:
3164 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
3165 utility. It doesn't actually use at-spi, but it's still cool and
3168 * test/keysynth-demo.c:
3172 Fixes so that these test clients work properly with the namespaced
3173 libraries. (Incompletely tested for technical reasons, fixes may follow)
3176 2001-13-11 Michael Meeks <michael@ximian.com>
3178 * libspi/application.c
3179 (impl_accessibility_application_get_version),
3180 (impl_accessibility_application_get_toolkit_name):
3182 (impl_accessibility_application_set_id),
3183 (impl_accessibility_application_get_id): remove
3184 redundant casting code.
3186 * libspi/action.c (impl_getDescription): fix warnings.
3188 * libspi/accessible.c
3189 (impl_accessibility_accessible_get_parent),
3190 (impl_accessibility_accessible_get_child_at_index),
3191 (impl_accessibility_accessible_get_state),
3192 (impl_accessibility_accessible_get_relation_set):
3193 warning fixes & include action.h
3195 2001-13-11 Michael Meeks <michael@ximian.com>
3197 * *.[ch] fix bits I screwed up:
3199 s/([^ \tb(\*\&\?\",])spi_/\1/g;
3200 s/([^ \tb(\*\&\?\",])Spi/\1/g;
3202 2001-13-11 Michael Meeks <michael@ximian.com>
3204 * *.[ch] Namespace libspi into spi_ and Spi.
3206 2001-13-11 Michael Meeks <michael@ximian.com>
3208 * Makefile.am: dist & install at-spi-1.0.pc
3210 * libspi/Makefile.am: install into at-spi-1.0
3212 * idl/Makefile.am (idldir): install into at-spi-1.0
3214 * at-spi-1.0.pc.in: add.
3216 * configure.in: build it.
3218 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3220 * test/keysynth-demo.c:
3221 Use a 'realize' signal-handler to set the WM properties for
3222 the virtual keyboard, rather than making it a "POPUP" type
3223 override-redirect window (thanks to anders carlsson for that
3226 2001-11-11 Bill Haneman <bill.haneman@sun.com>
3229 * test/keysynth-demo.c:
3230 Added new test of key synthesis, which creates a simple
3231 (mouse-operated) onscreen keyboard. It inserts key events into
3232 the currently-focused window, thus it does not grab keyboard focus
3235 * cspi/spi_registry.c:
3236 Added C binding for AT-SPI generateKeyEvent.
3238 * libspi/deviceeventcontroller.c:
3239 Added call to XFilterEvent so that key listener works with XIM (we
3240 hope). Added event_synth_type to generateKeyEvent, so that we can
3241 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
3242 synthesize a press/release pair for KeySyms.
3244 2001-11-09 Bill Haneman <bill.haneman@sun.com>
3246 * libspi/Makefile.am:
3247 * registryd/Makefile.am:
3248 (temporary) hack to include libXtst in libspi and registryd.
3249 (Needed for keystroke synthesis, see below).
3252 Improved API for registerKeystrokeListener, in accordance with
3253 discussions with Gnopernicus team and X server research.
3255 * libspi/registry.c:
3256 * libspi/deviceeventcontroller.c:
3257 * libspi/accessible.c:
3258 * libspi/keystrokelistener.c:
3259 Changes and fixes to support keylisteners for potentially
3260 consumed key events (that is, 'passive grabs').
3261 Added implementation for generateKeyEvent() [untested].
3264 Changes to registerKeystrokeListener() API, as above.
3265 Added deregisterGlobalEventListenerAll(), and
3266 deregisterKeystrokeListener(), which are needed for clean exit of
3268 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
3269 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
3271 * cspi/spi_registry.c:
3272 Added implementations of function prototypes mentioned above.
3274 * registryd/registryd.c:
3275 Added the key listener event source as a g_timeout(), to allow
3276 receipt of key events that are not caught by GDK (since GDK
3277 doesn't support passive keygrabs, this was necessary).
3280 Changed to attach a keylistener to 'Alt' keys, and
3281 respond to the following keycommands: Alt-M (toggle magnifier);
3282 Alt-F (toggle speech); Alt-Q (quit).
3283 Added an exit routine to deregister the listeners, and a key
3284 listener that prints some key info to the console when a key
3285 matches the listener mask (and is thus received by the listener).
3287 * util/idl/Magnifier.idl:
3288 Changes to magnifier API to support multiple zoom regions,
3289 non-uniform scaling in x and y, markDirty, and a host of other
3290 features that would be useful to magnification.
3293 * util/mag_client.c:
3294 * util/mag_client.h:
3295 * util/mag_control.c:
3297 Source code changes to support the above IDL changes.
3300 As above, and also changes to use a (slower) generic conversion
3301 path for colormap conversions, since the fast RGB conversions have been
3302 reported to fail for 16-bit displays.
3304 2001-10-26 Michael Meeks <michael@ximian.com>
3306 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
3308 <2001-10-26 Laszlo Peter <laca@ireland.sun.com>
3310 * at-bridge/Makefile.am: fix LDFLAGS.
3312 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
3314 * at-bridge/bridge.c:
3315 Re-worked listeners for toolkit events, now we have signal
3316 and property listeners. Added a private method
3317 register_atk_event_listeners(), which registers with the
3318 various atk and gtk signals we need to monitor in order to emit
3320 Added emission hook for AtkObject:property-change events, to
3321 support the 'property listeners'.
3322 Fixed some alloc()s of Accessibility_Event structs to use CORBA
3325 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
3326 which emit warnings and exit, respectively, if CORBA errors occur
3327 during remote calls, and we now use these methods to check most of
3328 our CORBA calls in the C bindings.
3330 * cspi/spi_accessible.c:
3331 Changed AccessibleSelection_refSelectedChild() to
3332 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
3333 now increment refcounts.
3335 * cspi/spi_component.c:
3336 Fixed some long pointer casts (dangerous!) to pass pointers to
3337 CORBA_longs of the proper type to the CORBA stubs, and copy the
3338 data into the longs that were passed into the C bindings code.
3340 * at-bridge/bridge.c:
3342 * libspi/accessible.c:
3343 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
3344 hyperlinks, AtkHyperlink is an object type.
3346 * libspi/application.c:
3347 Added various conversions to and from "generic" event types and
3348 atk-specific types; this is really part of the 'bridge'
3349 implementation but is valid for all AtkObject-based accessibility
3352 * libspi/editabletext.c:
3353 Fixed nasty bug wherein editable text's finalize method was
3354 unref'ing tha AtkObject reference that the text parent class was
3355 about to unref _again_. There was also a nasty inheritance bug
3356 that meant that the AccessibleEditableText class was corrupt.
3358 * libspi/selection.c:
3359 Provided implementations for some selection API that was broken.
3361 * idl/Application.idl:
3362 Added registerObjectEventListener () method.
3365 Fixed a number of return values that were Bonobo_Unknowns from
3366 bonobo_object_corba_objref(), which I
3367 forgot to dup before returning. Changed instances of
3368 bonobo_object_corba_objref (bonobo_object(o)) to
3369 BONOBO_OBJREF(o), for concision and clarity.
3371 <2001-10-13 Louise Miller <louise.miller@sun.com>
3373 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
3374 idl/Event.idl, idl/Registry.idl
3375 Changed these files to include Bonobo_Unknown.idl instead
3378 <2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
3380 * libspi/component.c libspi/component.h:
3381 Fixed typo. Added assertions for object checks in
3382 AccessibleComponent code.
3384 <2001-10-09 Bill Haneman <bill.haneman@sun.com>
3386 * idl/Accessible.idl:
3387 Added 'isEqual (Accessible *object)'
3388 method for Accessible. (Not Yet Implemented).
3391 Changed signature of registerKeystrokeListener() to
3392 take a KeySet and KeyEventSeq so that specific keys and event
3393 types could be requested for monitoring, and added a flag
3394 is_synchronous so that either synchronous or asynchronous
3395 notification could be requested. (However this is not all
3396 implemented yet). This also meant adding two new typedefs,
3397 KeyEventSeq and KeySet.
3400 Added two new relations, RELATION_TOOLTIP_FOR and
3401 RELATION_LEAFNODE_OF.
3404 Added new state, STATE_HAS_TOOLTIP.
3406 * libspi/text.c, editabletext.c:
3407 Added new assertions to all casts of bonobo-objects from
3408 CORBA servants, to prevent Text API calls on non-text objects.
3409 Changed suspect casts of int-pointer types, so that we
3410 always send a valid CORBA_long pointer to the CORBA APIs that use
3411 in/out long parameters. We then have to copy from the CORBA_long
3412 into the regular long or int for return to the C bindings, or
3413 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
3416 * libspi/deviceeventcontroller.c:
3417 Cleaned these sources up.
3419 Changed return type for getCharacterAtOffset to
3420 CORBA_unsigned_long, to allow for 32-bit characters.
3423 <2001-10-08 Bill Haneman <bill.haneman@sun.com>
3427 Fixed 'make dist' so that distro compiles...
3428 * libspi/keymasks.h:
3430 * cspi/spi-listener.c:
3431 KeystrokeListenerCB now returns a boolean.
3433 Added KeyEventType struct, and KeyStroke.
3434 Also added createKeystrokeListener(),
3435 KeystrokeListener_addCallback(),
3436 KeystrokeListener_removeCallback(), and added a keymask to
3437 registerKeystrokeListener().
3438 * cspi/spi_accessible.c:
3439 Changed numerous return types for interfaces from
3440 AccessibleComponent to Accessible<InterfaceName>; this was
3441 probably a cut-and-paste error.
3443 Implementations of new KeystrokeListener api (from spi.h,
3446 Changes to key modifier mapping.
3447 Created ControllerEventMask struct.
3448 Made DeviceEventController derive from Bonobo::Unknown.
3450 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3451 * libspi/deviceeventcontroller.c:
3452 Added a number of new internal (private) methods.
3453 * libspi/editabletext.c:
3454 * libspi/editabletext.h:
3455 Fixed a number of bugs related to the fact that
3456 editabletext inherits from text. Fixed the EditableText struct,
3457 the init() call, and use correct casts when calling Text methods
3458 from an EditableText object. Removed (duplicate) atko from the
3459 EditableText structure, we use the one in the parent Text
3460 structure via the casts mentioned above.
3461 * libspi/keystrokelistener.[ch]:
3462 * libspi/registry.c:
3463 Changes in support of keyboard handling (above).
3465 Keyboard handling, though partly functional, is still not
3466 recommended for at-spi client use as there is considerable
3467 work yet to be done.
3470 Changed some places where pointers to various int types
3471 are cast to be pointers to CORBA_long types and vice-versa:
3472 pointer casting is not safe so we pass pointers of the correct
3473 types and then cast the result before putting it into the target
3476 * libspi/text.h: minor typos corrected.
3478 We now speak not only the name of a Text element, but the
3479 first sentence of its content, when it receives focus.
3480 I also changed the text compression to 75% from 50%.
3481 * util/Accessibility_Util.server.in:
3482 Changed the default magnifier type to be a 3x vertical
3483 splitscreen magnifier (was previously a 2x horizontal one).
3485 <2001-10-03 Bill Haneman <bill.haneman@sun.com>
3487 * libspi/keystrokelistener.h:
3488 * libspi/keystrokelistener.c:
3489 Initial functional implementations of KeystrokeListener.
3492 <2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3494 Fixed string handling for NULL strings in libspi.
3495 Added spi_freeString to free strings returned by C bindings.
3497 <2001-09-30 Bill Haneman <bill.haneman@sun.com>
3499 * libspi/keystrokelistener.h:
3500 * libspi/keystrokelistener.c:
3501 Began (no-op) implementations of KeystrokeListener
3503 * libspi/deviceeventcontroller.c:
3504 * libspi/deviceeventcontroller.h:
3505 Began creating implementations of DeviceEventController,
3506 to handle keystroke and mouse event listening and
3508 * libspi/accessible.c:
3509 Stubbed-in the implementations for
3510 Accessibility_Accessible_getState and
3511 Accessibility_Accessible_getRelationSet.
3512 * libspi/registry.c:
3513 Improved de-registration process and fixed some bugs,
3514 deregistration now works correctly.
3516 Added initialization of applications list (to NULL).
3518 Reduced speech compression from 0.5 to 0.7, for demo.
3519 Changed call to gdk_window_set_decorations()
3520 to gtk_window_set_decorated().
3521 * at-bridge/bridge.c:
3522 Bridge now deregisters when app exits, via
3523 registration of a cleanup function
3524 with the g_atexit() call.
3525 Required making 'app' static, renamed 'this_app'.
3526 Fixed broken use of bonobo_init, passing argv wrongly.
3528 <2001-09-27 Bill Haneman <bill.haneman@sun.com>
3532 Created a new directory for
3533 accessibility-related utilities, primarily for
3534 testing and demo purposes, but with possible
3541 Onscreen magnifier utility that
3542 is implemented as a bonobo service.
3544 * util/mag_client.c:
3545 * util/mag_client.h:
3546 Client-side support (simple C bindings)
3547 for Magnification service
3549 * util/mag_control.c:
3550 Client program example for
3551 Magnification service
3553 * util/Accessibility_Magnifier.server.in:
3554 Bonobo-activation file for the
3555 Magnification service.
3558 * util/idl/Magnifier.idl:
3559 IDL defining the bonobo Magnification
3563 Modifications to use the bonobo-activated magnifier
3564 above, in place of trying to connect to an existing
3565 magnifier that uses socket-listening IPC.
3567 If env variable MAGNIFIER is set, a magnifier service
3568 will be started if one does not exist.
3570 <2001-09-25 Bill Haneman <bill.haneman@sun.com>
3571 * at-bridge/bridge.c:
3572 applied patch from Marc to build and run
3573 against new glib and gtk+ (seemed like a change
3574 to bonobo_init signature was made ?)
3576 made festival-server support turned off by default.
3577 Added support for a simple magnifier (off by default)
3578 which will be added to a 'util' directory later.
3579 * at-bridge/Makefile.am:
3580 Changed "application.h" header from a 'source'
3581 to a 'dependency' of libat-bridge.
3583 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3591 Added interface implementation c files to list of
3592 includes so they are included in libcspi.
3595 Changed prototype of AccessibleAction_doAction to return a
3597 Changed prototype of AccessibleTable_getCaption to
3598 return an Accessible.
3599 Changed prototype of AccessibleTable_getSelectedRows
3600 and AccessibleTable_getSelectedColumns to
3601 return a long (returns the number of selected rows
3602 or columns respectively).
3603 Changed name of AccessibleText_refRunAttributes to
3604 AccessibleText_getAttributes.
3605 Changed prototype of AccessibleText_getCharacterExtents to
3606 return a void rather than a boolean.
3607 Added support for a AccessibleCoordType parameter
3608 specifying what type of coordinates are desired.
3609 Added an AccessibleCordType parameter to
3610 AccessibleText_getPointAtOffset.
3612 * cspi/spi_accessible.c:
3613 Added code to return the outstanding interfaces from
3614 Accessible_queryInterface.
3616 * cspi/spi_action.c:
3618 Corrected call to getNActions to call the c binding
3621 * cspi/spi_editabletext.c:
3623 Changed name from setRunAttributes to setAttributes.
3625 * cspi/spi_hyperlink.c:
3627 Changed call to getNAnchors to correctly call the c
3628 binding for an attribute.
3630 * cspi/spi_hypertext.c:
3632 Changed getImageDescription to correctly call the
3633 binding for an attribute.
3635 * cspi/spi_selection.c:
3636 Changed getNSelectedChildren to correctly call the c
3637 binding for the attribute.
3638 Changed refSelectedChild to getSelectedChild.
3642 Changed getCaption to return an Accessible.
3643 Fixed calls which retrieve attributes.
3644 Changed refAt to getAccessibleAt.
3645 Changed getNSelectedRows and getNSelectedColumns to
3649 Changed getCharacterExtents and getPointAtOffset to accept an
3650 AccessibleCoordType.
3652 Changed calls which retrieve attributes.
3653 Changed refRunAttributes to getAttributes.
3658 * idl/Hyperlink.idl:
3659 Changed n_anchors attribute to nAnchors to keep naming
3660 convention consistent.
3663 Made Table inherit from Bonobo::Unknown.
3664 Added nSelectedColumns and nSelectedRows attributes.
3667 Made Value inherit from Bonobo::Unknown.
3669 * libspi/hyperlink.c:
3670 Change for nAnchors attributte name change.
3672 <2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3680 Added interface implementation c files to list of
3681 includes so they are included in libcspi.
3684 Changed prototype of AccessibleAction_doAction to return a
3686 Changed prototype of AccessibleTable_getCaption to
3687 return an Accessible.
3688 Changed prototype of AccessibleTable_getSelectedRows
3689 and AccessibleTable_getSelectedColumns to
3690 return a long (returns the number of selected rows
3691 or columns respectively).
3692 Changed name of AccessibleText_refRunAttributes to
3693 AccessibleText_getAttributes.
3694 Changed prototype of AccessibleText_getCharacterExtents to
3695 return a void rather than a boolean.
3696 Added support for a AccessibleCoordType parameter
3697 specifying what type of coordinates are desired.
3698 Added an AccessibleCordType parameter to
3699 AccessibleText_getPointAtOffset.
3701 * cspi/spi_accessible.c:
3702 Added code to return the outstanding interfaces from
3703 Accessible_queryInterface.
3705 * cspi/spi_action.c:
3707 Corrected call to getNActions to call the c binding
3710 * cspi/spi_editabletext.c:
3712 Changed name from setRunAttributes to setAttributes.
3714 * cspi/spi_hyperlink.c:
3716 Changed call to getNAnchors to correctly call the c
3717 binding for an attribute.
3719 * cspi/spi_hypertext.c:
3721 Changed getImageDescription to correctly call the
3722 binding for an attribute.
3724 * cspi/spi_selection.c:
3725 Changed getNSelectedChildren to correctly call the c
3726 binding for the attribute.
3727 Changed refSelectedChild to getSelectedChild.
3731 Changed getCaption to return an Accessible.
3732 Fixed calls which retrieve attributes.
3733 Changed refAt to getAccessibleAt.
3734 Changed getNSelectedRows and getNSelectedColumns to
3738 Changed getCharacterExtents and getPointAtOffset to accept an
3739 AccessibleCoordType.
3741 Changed calls which retrieve attributes.
3742 Changed refRunAttributes to getAttributes.
3747 * idl/Hyperlink.idl:
3748 Changed n_anchors attribute to nAnchors to keep naming
3749 convention consistent.
3752 Made Table inherit from Bonobo::Unknown.
3753 Added nSelectedColumns and nSelectedRows attributes.
3756 Made Value inherit from Bonobo::Unknown.
3758 * libspi/hyperlink.c:
3759 Change for nAnchors attributte name change.
3762 <2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
3764 implementations-- made server implementations own AtkObject pointers
3765 rather than their respective AtkInterrface pointers to fix
3766 refcounting. AtkHyperlink is still broken.
3768 <2001-09-04 Bill Haneman <bill.haneman@sun.com>
3769 * cspi/spi_accessible.c:
3770 Added method Accessible_Role_getName(),
3771 and requisite string array (role_names).
3772 Added conversion string_from_corba_strin() call
3773 to Accessible_getName and _getDescription.
3774 * libspi/accessible.c:
3775 Added implementation for Accessible_getRole()
3777 Added festival support, used if environment variable
3780 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3782 * at-bridge/bridge.c:
3783 Now allocate Accessibility_Event using
3784 Accessibility_Event__alloc() instead of g_new0().
3785 * libspi/accessibleeventlistener.c:
3786 Initialize AccessibleEventListener->callbacks to NULL.
3787 Fixed accessible__event_listener_init() param, changed to
3788 "AccessibleEventListener *" type.
3789 Changed a bonobo_object_release_unref() call to
3790 Accessibility_Accessible_unref().
3791 * libspi/listener.c:
3792 Changed Bonobo_Unknown_unref to (equivalent)
3793 Accessibility_Accessible_unref.
3794 * libspi/registry.c:
3795 Changed bonobo_object_release_unref to
3796 Accessibility_Accessible_unref.
3798 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3801 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
3802 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
3803 spi-util.c spi-util.h
3804 Implementations for C bindings to remaining accessibility
3807 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
3810 changed return value of Action from void to boolean to
3811 bring in line with ATK.
3814 Changed getText funcions to return "out" start and end offsets.
3815 Changed getAttributes to take and offset and return the start
3816 and end offset of the attribute run.
3817 Changed getOffsetAtPoint and getCharacterExtents to take an
3818 enum describing whether coordinates are window or screen.
3821 libspi/action.c libspi/action.h libspi/editabletext.c
3822 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
3823 libspi/hypertext.c libspi/hypertext.h libspi/image.c
3824 libspi/image.h libspi/selection.c libspi/selection.h
3825 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
3826 libspi/value.c libspi/value.h
3827 Added server implementations for outstanding ATK interfaces
3828 not yet implemented.
3830 2001-09-04 Bill Haneman <bill.haneman@sun.com>
3833 Added (missing) getName() method.
3834 Made nActions an attribute.
3835 * idl/EditableText.idl:
3836 Changed order of params in setAttributes.
3837 * idl/Hyperlink.idl:
3838 Removed getAnchor, added getURI.
3840 Changed attributes to methods, for efficiency
3841 (so that getting extents can be done in one call)
3842 * idl/Selection.idl:
3843 Changed nSelectedChildren to attribute, and re-indented.
3844 * idl/Table.idl: changed nrows, ncolumns, caption, summary
3846 * idl/Text.idl: reformatted to match our coding style.
3847 (temporarily?) removed getRowColumnAtOffset().
3848 Changed text selection API to support multi-select and
3849 non-contiguous selections, as in ATK.
3850 * idl/Value.idl: changed some methods to attributes.
3852 2001-08-24 Mark McLoughlin <mark@skynet.ie>
3854 * libspi/listener.c(impl_notify_event):
3855 BonoboUnkown_unref the source instead
3856 of bonobo_object_release_unref - the ORB
3857 handles the releasing.
3859 * configure.in: require ORBit-2.3.94 for
3862 2001-08-21 Bill Haneman <bill.haneman@sun.com>
3864 Tagged CVS repository 'EA_1_0'.
3865 * README.EARLY_ACCESS:
3866 Alphabetized acknowledgements list, and
3868 Listed some known dependencies of at-spi.
3870 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3872 * docs/at-spi-docs.sgml:
3873 * docs/at-spi-sections.txt:
3874 * docs/at-spi-overrides.txt: (Added zero-length file)
3875 Documentation improvements - gtk-doc should build
3876 docs for all implemented C bindings now.
3879 * cspi/spi.c: (New file)
3880 * cspi/spi_event.c: (New file)
3881 * cspi/spi_registry.c: (New file)
3882 * cspi/spi_accessible.c: (New file)
3883 * cspi/spi_application.c: (New file)
3884 * cspi/spi_component.c: (New file)
3885 Split spi_main.c into six parts, and included them from
3886 "spi.c". This is a bit of a hack, probably temporary,
3887 but required by gtk-doc, apparently.
3889 2001-08-20 Bill Haneman <bill.haneman@sun.com>
3892 * docs/at-spi-docs.sgml:
3893 * docs/at-spi-sections.txt:
3895 Initial checkins/modifications for gtk-doc generation.
3898 Added (missing) interface query methods to Accessible's C binding.
3900 Added GenericInterface type definition.
3902 Added query for AccessibleComponent interface to focus event handler.
3903 Added printout of bounding box for focussed component.
3904 * libspi/component.c:
3905 Added partial implementation for AccessibleComponent to C binding.
3906 * idl/Application.idl:
3907 * libspi/registry.c:
3908 * libspi/listener.c:
3909 * libspi/application.c:
3910 * libspi/application.h:
3911 Changed "ID" attribute type from string to long.
3913 2001-08-19 Bill Haneman <bill.haneman@sun.com>
3917 Made method naming consistent: methods taking object args
3918 start with uppercase, other methods (except those using
3919 acronyms) start with lowercase. Underscores delimit between
3920 object names and method names:
3921 SPI_init() - uppercase since it starts with an acronym.
3922 getDesktopCount () - lowercase start since no object param0.
3923 Accessible_getName() - uppercase object type name, studlyCaps method
3927 Added gtk-doc documentation for all currently implemented
3928 methods in the C bindings API.
3930 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3932 * Makefile.am : changed build order to build test last.
3935 Changed "createEventListener" to "CreateEventListener".
3936 * libspi/accessibleeventlistener.c :
3937 Bugfix for addition of callbacks.
3938 * test/Makefile.am :
3939 * test/simple-at.c :
3940 Added new test that uses the C bindings API.
3942 * libspi/listener.c :
3943 * libspi/registry.c :
3944 * libspi/accessibleeventlistener.c :
3945 * at-bridge/bridge.c :
3946 Renamed member "target" of Accessibility_Event to "source",
3947 which is more descriptive.
3950 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3954 * cspi/Makefile.am :
3955 Added makefile support for at-spi/cspi directory.
3958 * cspi/spi-listener.h : (NEW FILE)
3959 Added support for/use of spi-listener.h.
3961 C bindings now build successfully, with no warnings.
3962 * libspi/accessibleeventlistener.h : (NEW FILE)
3963 * libspi/accessibleeventlistener.c : (NEW FILE)
3964 * libspi/Makefile.am :
3965 Added new object type "AccessibleEventListener"
3966 which inherits from Listener, and allows attachment
3967 of in-process callbacks (so that a client with a listening
3968 object instance can add functionality to the local
3969 implementation, dynamically).
3971 2001-08-18 Bill Haneman <bill.haneman@sun.com>
3973 * libspi/accessible.c:
3974 Add implementation for get_index_in_parent().
3976 Added #include of "spi-roletypes.h", and
3977 added enumerated type AccessibleCoordType.
3978 Added definition for KeystrokeListener (function type).
3981 * cspi/spi-statetypes.h :
3982 * cspi/spi-roletypes.h :
3984 Added these headers, used by spi.h.
3986 Added code (NOTE: not yet built by make).
3988 2001-08-18 Mark McLoughlin <mark@skynet.ie>
3990 * libspi/Makefile.am: generate imodule
3991 at the same time as other idl compiler
3994 2001-08-17 Bill Haneman <bill.haneman@sun.com>
3995 * libspi/registry.c :
3996 * libspi/application.c :
3997 * idl/Application.idl :
3998 Made registration with toolkit an application method,
3999 which is required since each app has its own toolkit static
4000 environment. Thus the bridge must register for
4001 notification of toolkit events from each application in turn.
4002 Toolkit notifications are now successfully registered for, and
4003 sent to the listening at client.
4005 Changed toolkit event string to use hyphens rather than underscores.
4006 * libspi/listener.c :
4007 listner now gives more info in debug mode - it reports the
4008 name of the event received, as well as the name of the source.
4011 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4013 * libspi/registry.c :
4014 added more implementation for toolkit events.
4015 Fixed bug such that toolkit event registrations
4016 (via atk) use the whole event name string, not
4018 Removed a useless call to an ORBit_ method.
4019 * at-bridge/bridge.c :
4020 Removed unused local sbuf[] variable.
4022 We now register for Gtk:GtkWidget:button_press_event
4023 events as well as "focus:" events.
4025 Add some more API from Registry.idl that was missing,
4026 for keystroke listening, keystroke and mouse event
4027 synthesis, and enumeration of accessible desktops.
4029 2001-08-16 Michael Meeks <michael@ximian.com>
4031 * configure.in: use AM_GLIB_GNU_GETTEXT.
4033 * Makefile.am (SUBDIRS): kill intl.
4035 2001-08-15 Michael Meeks <michael@ximian.com>
4037 * registryd/Makefile.am: s/oaf/server/ relocate info file.
4039 * configure.in: upd.
4041 * configure.in: depend on a recent bonobo-activation that
4042 will find our server files ...
4044 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4046 * libspi/accessible.c : accessible_new() :
4047 Now we add the Component interface via bonobo_object_add_interface,
4048 if the contained AtkObject implements AtkComponent.
4049 * libspi/accessible.h : now include "component.h"
4050 * libspi/component.h :
4051 * libspi/component.c : added files - implementation of
4052 bonobo wrapper object for Accessibility/Component
4053 * libspi/listener.c :
4054 Added test code to check for Accessibility/Component:1.0
4055 interface and report whether it is implemented by the
4057 * libspi/registry.c :
4058 Now we check for not only the hash of the whole event
4059 string before relaying the event, we also check the
4060 "minor" event string (without the detail string).
4061 This allows event listeners to be registered against
4062 all events of a certain major+minor type, or just
4063 against a specific major+minor+detail type.
4064 * libspi/accessible.c :
4065 Added implementations for Accessible:get_parent(),
4066 Accessible:getChildCount(), and Accessible:getChildAtIndex().
4067 * libspi/registry.c :
4068 * libspi/listener.c :
4069 Replaced calls to Accessibility_Accessible_ref() and
4070 Accessibility_Accessible_unref() with
4071 calls to bonobo_object_dup_ref() and
4072 bonobo_object_release_unref(), so that the CORBA object
4073 is dup-ed and released when relayed, as well as the bonobo object.
4075 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4077 * libspi/Makefile.am,
4078 registryd/Makefile.am,
4079 at-bridge/Makefile.am.
4080 test/Makefile.am, configure.in:
4081 reverse previous changes.
4083 * /idl/Image.idl: fix typo.
4085 * test/Makefile.am: put DEBUG_FLAGS
4088 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4090 * test/app.c: use argv[0] instead of
4093 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4095 * libspi/Makefile.am,
4096 registryd/Makefile.am,
4097 at-bridge/Makefile.am.
4098 test/Makefile.am, configure.in:
4099 cleanup, replace individual LIBS/CFLAGS with
4100 AT_COMMON_{LIBS|CFLAGS}.
4104 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4106 * configure.in, libspi/Makefile.am:
4107 Change IDL path checking for bonobo-activation
4110 2001-08-15 Bill Haneman <bill.haneman@sun.com>
4112 * registryd/registry.c : separated event listeners to use
4113 3 separate lists (focus, window, toolkit). Began testing
4114 event names against hashes before relaying events.
4115 * test/at.c : now register for events of type "focus:"
4116 * test/app.c : now generate events of type "focus:"
4117 * at-bridge/bridge.c : register with ATK for focus events,
4118 and we now relay those focus events to any "focus:" listeners.
4119 This now works with the bridge as a GTK_MODULE when running test/at.
4120 * libspi/registry.c :
4121 * libspi/listener.c :
4122 now we ref event sources before propagating, and unref on receipt.
4123 * libspi/registry.c :
4124 some changes to internal structs, to support event typestring hashes.
4125 * text/app.c : changed the way the appname is generated.
4126 * cspi : added directory that will hold the C bindings library for
4127 non-CORBA/bonobo-savvy clients.
4128 * cspi/spi.h : header file that contains the function prototypes for the C binding.
4129 * idl/Component.idl : added in parameter to indicate coord system for
4130 geometry-related calls.
4131 * idl/Hyperlink.idl : added readonly n_links attribute
4132 * idl/Image.idl : changed methods to attributes.
4134 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4136 * at-bridge/Makefile.am: link against
4137 ../libspi/libspi.la instead of -lspi.
4139 * at-spi/test/app.c: include
4140 bonobo-activation.h. Use a default appname
4141 if one is not provided.
4143 2001-08-14 Bill Haneman <bill.haneman@sun.com>
4145 * idl/Registry.idl : temporarily changed register_Application
4146 to oneway, to work around issue with initial registration
4148 * idl/Application.idl : changed attribute "id" from readonly
4149 to read-write, since it needs to be assigned by Registry.
4150 * registryd/registryd.c : added call to set application id
4152 * registryd/registry.c : changed de-registration procedure to
4153 use CORBA_Object_hash() to find matching object ref in application
4154 lists and listener lists.
4155 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
4156 began distinguishing between event types (work in progress).
4158 2001-08-13 Bill Haneman <bill.haneman@sun.com>
4161 * libspi/application.c:
4162 Added implementations for get/set id, get_toolkitName,
4164 * registryd/registryd.c :
4168 Converted from use of OAF to bonobo-activation.
4169 * libspi/desktop.h :
4170 * libspi/desktop.c :
4172 Removed references to atksimpleobject, since base atkobject
4173 implementation now provides functionality we need.
4174 * libspi/atksimpleobject.c :
4175 * libspi/atksimpleobject.h :
4180 * at-bridge/Makefile.am
4181 * at-bridge/bridge.c
4184 Added directory "bridge" and contents, and added dependencies
4185 in Makefile.am/configure.in.
4186 Initial checkin of "at-bridge".
4187 This code is a GTK_MODULE which automatically registers
4188 GTK+ apps with the accessibility registry, using an object
4189 reference to the root ATK object.
4191 2001-08-10 Mark McLoughlin <mark@skynet.ie>
4193 * po/Makefile.in.in: Remove. Again. If this
4194 doesn't get autogenerated - you need to update
4197 2001-08-07 Mark McLoughlin <mark@skynet.ie>
4199 * po/Makefile.in.in: Add. Again.
4201 2001-07-31 Bill Haneman <bill.haneman@sun.com>
4203 * libspi/accessible.c : added support for 'description' property.
4204 * libspi/accessible.c
4206 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
4207 (since the two are now equivalent in libbonobo)
4215 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
4216 Bonobo::Unknown as does Accessibility::Accessible.
4217 * idl/StreamableContent.idl : as above, and replaced internal InputStream
4218 interface with Bonobo::Stream, since it was redundant with it.
4219 (The Stream returned by a StreamableContext object is expected to
4220 implement only a subset of Bonobo::Stream)
4222 2001-07-28 Anders Carlsson <andersca@gnome.org>
4224 * libspi/accessible.c (accessible_object_finalize): Change
4225 g_free to g_object_unref since the AtkObject is a GObject.
4227 2001-07-30 Bill Haneman <bill.haneman@sun.com>
4229 * idl/Accessibility.idl: add new IDL files
4232 * idl/Action.idl: Definitions of actionable UI object
4233 * idl/Component.idl: Definitions of UI component geometry, etc.
4234 * idl/Hyperlink.idl: Defs of hyperlink behavior
4235 * idl/Image.idl: Def of accessible image
4236 * idl/Selection.idl: Definition of UI object with selectable children
4237 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
4238 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
4239 * idl/Text.idl: Interface defs for UI elements with complex textual content
4240 * idl/Value.idl: Definition of UI element that is a value controller or display
4242 2001-07-27 Michael Meeks <michael@ximian.com>
4244 * po/Makefile.in.in: remove autogenerated file from CVS.
4246 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
4249 * idl/Registry.idl: include guard.
4251 * idl/Accessibility.idl: Add, and include all the other IDL
4254 * idl/*.idl: remove mass of pragmas etc.
4256 2001-07-26 Michael Meeks <michael@ximian.com>
4258 * registryd/Makefile.am (registryd_SOURCES): remove
4261 2001-07-27 Mark McLoughlin <mark@skynet.ie>
4263 * libspi/.cvsignore, registryd/.cvsignore,
4264 test/.cvsignore: updated.
4266 * po/Makefile.in.in: gettext update.
4268 2001-07-25 Bill Haneman <bill.haneman@sun.com>
4270 * initial CVS checkin
4272 2001-06-29 Michael Meeks <michael@ximian.com>
4274 * configure.in: add AM_CONFIG_HEADER to gen config.h