1 2002-08-20 Bill Haneman <bill.haneman@sun.com>
4 Clarified and reworded our commit policy.
7 Started an API "todo" addition list for 2.2.
11 Free char pointer from atk_text_get_selection, which was being leaked.
13 2002-08-19 Bill Haneman <bill.haneman@sun.com>
16 Small revision to author acknowledgement.
18 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
20 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
21 If signal has detail add it to the type of the event.
24 2002-08-12 Michael Meeks <michael@ximian.com>
26 * test/test-simple.c (global_listener_cb): bin bogosity.
27 (test_keylisteners): disable, still doesn't work reliably,
28 certainly not on my system anyway.
30 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
31 don't leak a reference on the DEC. This round-trip
32 fetching of the DEC per keystroke sucks, it should be
36 * cspi/cspi-lowlevel.h,
37 * cspi/bonobo/cspi-bonobo-listener.[ch],
38 * cspi/bonobo/cspi-bonobo.c: get the copyright
39 notices better - there is still a large amount of
40 work in at-spi falsely attributed solely to Sun.
42 * cspi/spi_main.c (cspi_object_ref): kill bogus
43 hash lookup, just increment the ref.
44 (SPI_freeString): make explicit the fact that we
45 handle NULL strings just fine.
46 (report_leaked_ref): obey coding standards.
47 (cspi_object_hash, cspi_object_equal): kill retval.
48 (cspi_object_release): only release if not on loan.
49 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
50 (cspi_object_borrow, cspi_object_return): impl.
52 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
53 use cspi_object_borrow / return.
55 2002-08-12 Darren Kenny <darren.kenny@sun.com>
57 * cspi/bonobo/cspi-bonobo-listener.c:
59 Don't call cspi_oject_new() because this is creating a new Accessible
60 every single time that an event is fired. This causes ATs like at-poke
61 to nolonger recognise the source of the event and thus ignore it.
62 Re-use the object from the cache, ref it and then unref it after the
63 listeners have been called.
65 2002-08-06 Darren Kenny <darren.kenny@sun.com>
67 * test/event-listener-test.c:
68 Added command-line options to disable mouse events (m) and
71 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
73 * configure.in: Update required versions of ATK, GTK+ and GAIL
75 * cspi-1.0.pc.in: Add dependency for X include files
78 * cspi/bonobo/Makefile.am:
79 Add $(X_CFLAGS) so that X include files
80 are picked up even if not in standard place (bug #71686)
82 2002-06-25 Bill Haneman <bill.haneman@sun.com>
84 * registryd/deviceeventcontroller.c: fix for 84261
85 (spi_dec_mouse_moved):
86 Added test of mouse button mask, so that we can detect mouse
87 button release. Unfortunately we can't otherwise detect mouse
88 button release events without consuming the mouse press event,
89 because of the way XGrabButton works. This means that our mouse
90 release events have a latency dependent on the polling period
91 while the mouse button is down. At least in this case we only
92 have to poll while the button is down, and not at other times.
93 If the button masks don't match with what the last press event
94 reported, we report the appropriate button release event.
95 (spi_dec_ungrab_mouse):
96 New method (not yet called).
97 (spi_device_event_controller_forward_mouse_event):
98 New method, sends mouse press event from GdkFilter.
99 (spi_dec_init_mouse_listener):
100 Added code to call XGrabButton, redirecting mouse button events to
101 the root window and our Gdk event loop.
103 Added code to filter mouse button events, and reordered.
105 * test/event-listener-test.c:
107 Added registration for mouse events of type "mouse:button".
109 2002-06-25 Bill Haneman <bill.haneman@sun.com>
111 * registryd/deviceeventcontroller.c: partial fix for 84261
112 (spi_dec_poll_mouse_idle):
113 New method, a timeout which checks to see if the mouse
115 (spi_dec_poll_mouse_moving):
116 A timeout to be called when mouse motion is underway.
117 (spi_dec_poll_mouse_moved):
118 A method which fires an event if the mouse has moved, and reports
119 whether or not it did so.
120 (spi_dec_init_mouse_listener):
121 A method which sets up the timeouts above.
122 (spi_device_event_controller_new):
123 Now calls spi_dec_init_mouse_listener.
125 * registryd/registry.c:
127 Now we initialize the device event controller when the registry is
128 initialized, instead of waiting until a client has requested a key
129 event notification; this is because we need the event controller
130 for mouse events, but the mouse event registration API is a
131 "registry" call and doesn't explicitly call the
132 deviceeventcontroller.
133 We now report mouse motion events with a 100 ms idle latency and
134 a 20 ms granularity when motion is in progress.
136 * test/event-listener-test.c:
138 We now register the "detail listener" for events of type
139 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
140 delivered only for the first mouse event received, and thereafter
141 "mouse:abs" events are delivered.)
143 * cspi/spi_registry.c:
144 DOCS: Documented the above mouse event typestrings.
146 2002-06-21 Bill Haneman <bill.haneman@sun.com>
148 Happy Summer Solstice...
150 * registryd/deviceeventcontroller.c: [fix for bug 84100]
151 (spi_controller_notify_keylisteners):
152 Changes to remove a listener from the listener list, freeing its
153 open keygrabs, if a notification to that listener fails. This
154 means that although a dead listener can continue to hold a passive
155 keygrab, a maximum of one dispatch to such a listener can fail
156 before the listener is removed from the list, thus the keygrab
157 will be released on the next occurrence.
159 (spi_notify_keylisteners):
160 Renamed to spi_controller_notify_keylisteners, as the controller
161 instance must now be passed as an argument.
162 The copied 'notify' GList is now a list of DEControllerKeyListener
163 objects, since we need more than just the CORBA reference if a
164 notify fails and we need to deregister the listener.
165 (impl_notify_listeners_sync):
166 (impl_notify_listeners_async):
167 (spi_device_event_controller_forward_key_event):
168 Modify use of notify_keylisteners in accordance with above
170 (spi_deregister_controller_key_listener):
171 New method introduced by refactoring, from
172 impl_deregister_keystroke_listener.
173 (impl_deregister_keystroke_listener):
174 Call spi_deregister_controller_key_listener.
175 (spi_key_listener_clone):
176 New method to copy a key listner without doing a 'ref' on the
177 remote object instance; used to create a notifier list.
178 (spi_key_listener_data_free):
179 New method, frees data without unreffing the source.
181 (spi_key_listener_clone_free): new method.
182 (spi_key_listener_free):
183 refactored to call spi_key_listener_data_free.
185 2002-06-20 Bill Haneman <bill.haneman@sun.com>
187 * registryd/registry.c: [fix for bug 86048]
188 (notify_listeners_cb):
189 Clear CORBA system exceptions which occur when notifying
190 listeners, before returning to the source of the original event,
191 since the event source doesn't care if the relayed notify failed.
192 In other words, don't complain to the atk-bridge if the registry
193 could not notify all its listeners, that's no fault of the
194 application and thus should not appear to be an error from the
195 application's perspective.
197 * cspi/spi_main.c: [fix for bug 85980]
199 Replaced use of bonobo_object_dup_ref with call to the wrapper
200 method, csou_dup_ref (); this silences a compiler warning and
201 provided more portability.
203 Ping the registry before return, and restart if necessary.
205 * cspi/bonobo/cspi-bonobo.c:
209 Fixed this method to return an object reference, as it should have
212 * cspi/cspi-lowlevel.h:
213 Added internal definition for cspi_ping() and fixed
214 return type of cspi_dup_ref().
217 2002-06-19 Bill Haneman <bill.haneman@sun.com>
219 * atk-bridge/bridge.c: [fix for bug 85305]
220 (spi_atk_bridge_register_application):
221 New method where the initial application registry calls have been
222 moved; it allows an application to re-register in response to
223 certain error conditions (such as a registry restart, see below).
225 Moved some initialization code to the method
226 spi_atk_bridge_get_registry, below.
227 (spi_atk_bridge_get_registry):
228 New, private accessor function for the Accessibility_Registry
229 instance. If the registry has not been started before, or has
230 died (as detected by failure of a CORBA exception), it is
231 restarted before return, and spi_atk_bridge_register_application
232 is called again to register with the new bridge instance.
233 (spi_atk_emit_eventv):
234 Set registry_died on error; use spi_atk_bridge_get_registry () to
237 * registryd/registry.c:
238 (impl_accessibility_registry_register_global_event_listener):
239 Set listener's event_type_quark to etype.minor instead of
240 etype.major (fix for bug 84856).
242 * test/event-listener-test.c:
243 (report_detail_event):
244 Change the output string so that user/tester can tell that the
245 'detail listener' was called instead of the 'generic listener'.
247 2002-06-18 Bill Haneman <bill.haneman@sun.com>
249 Fixes for bugs 84900, 84908, 84897, 84898.
254 Revved version to 1.1.0
255 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
256 version is going to HEAD which will be used for gnome-2-0-1 and later.)
258 * idl/Accessibility_Registry.idl:
259 (EventListener::notifyEvent):
260 Removed 'oneway' directive after extensive consulation with
261 ORBit2 team and others. This means also that unref() of the event
262 source can and should be done synchronously after emission, rather
263 than remotely in the client, after servicing the notify call on
266 NOTE: This change speeds up listener performance considerably, but
267 introduces new latency on the application side. We may want to
268 add an event queue to the atk-bridge.
270 * atk-bridge/bridge.c:
271 (spi_atk_bridge_focus_tracker):
272 Do a local unref() on the event source after emission.
274 * registryd/registry.c:
275 (desktop_remove_application):
276 Do an unref() on the event source after emission.
277 (desktop_add_application):
278 Do an unref() on the event source after emission.
279 (notify_listeners_cb):
280 When relaying an event, don't automatically add the event source
281 to the local object cache, just CORBA_dup it instead. Likewise,
282 if this method reenters, release the ref rather than calling
284 (impl_registry_notify_event):
285 No longer call remote unref() on the event source after dispatch.
287 * libspi/eventlistener.c:
288 (impl_accessible_event_notify_event):
289 Removed remote unref ()
291 * cspi/bonobo/cspi-bonobo-listener.c:
293 We now call cspi_object_new() instead of cspi_object_add() on
294 receipt of an event; thus we only have an implicit object ref
295 while the cspi_event method is being executed. If we need to keep
296 a reference to the object, the listener must call ref() on the
297 object. Thus also we don't need to call cspi_object_unref() after
298 invoking the listener callbacks in this method.
302 New internal API for creating a new cspi object, without adding it
305 Now uses cspi_object_new() to create the cspi object instance.
307 Now checks to see if the object is in the internal object cache,
308 and adds it if necessary before incrementing its refcount (note
309 that new objects are added with a refcount of 1).
311 New method which gives some information on leaked object instances
312 if leak detection is turned on.
314 * test/event-listener-test.c:
316 New method, used for testing event delivery timing for special
317 events of type "object:test". It reports elapsed time and
318 events/sec every 500 events.
320 Added a new listener, 'test listener', to check timing of event
321 receipt as noted above.
323 Added some timing output here also, reports elapsed time every 100
326 * test/stress-test.c:
327 Emit events of type "object:test", for use with "event-listener-test".
329 * test/test-simple.c:
330 (global_listener_cb):
331 Call Accessible_ref() on the event source before calling
332 validate_accessible, since the validation process does pointer
333 comparisons on the event source, meaning that the event source
334 needs to be added to the local object cache first. Any use of
335 such pointer comparisons between Accessible objects requires that
336 the caller hold an explicit reference to those objects.
337 We also must therefore call Accessible_unref() when leaving this method.
339 2002-06-13 Bill Haneman <bill.haneman@sun.com>
341 * registryd/deviceeventcontroller.c:
342 (spi_controller_update_key_grabs):
343 Fix for #84735, subsequent keygrab listeners not informed of
344 registration failure.
347 (spi_base_construct):
348 Add an assertion on construct, to make sure the GObject passed in
351 Explicitly initialize object->gobj pointer to NULL;
353 * cspi/bonobo/cspi-bonobo-listener.c:
354 (cspi_object_add_ref):
355 New method, can specify whether to dup-ref a bonobo object passed
356 in if it's newly added to the object cache.
358 Now calls cspi_object_add_ref with second param of "FALSE". This
359 prevents us from doing a pointless dup-ref followed by
360 release-unref for all those cases where the object is already in
361 our object cache (fix for #85205).
363 * atk-bridge/bridge.c:
364 (spi_atk_bridge_idle_init):
365 Removed this method, we don't need to initialize in an idle
368 Changed to call spi_atk_register_event_listeners directly, not via an
369 idle handler. (fix for #81139)
370 (gnome_accessibility_module_shutdown):
371 Removed conditional around deregistration of listeners, since we
372 don't use the idle handler and thus have always registered when
374 (spi_init_keystroke_from_atk_key_event):
375 Changed references to Accessibility_KEY_PRESSED to
376 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
378 2002-06-12 Bill Haneman <bill.haneman@sun.com>
380 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
385 * test/stress-test.c:
388 (may have been an incomplete commit yesterday?)
390 2002-06-12 Bill Haneman <bill.haneman@sun.com>
393 Added target for new stress-test.
395 * test/stress-test.c:
396 New test, sends 1000 focus notifies in quick succession.
398 * test/key-listener-test.c:
399 Now we report whether a keylistener registration
400 request succeeded or failed.
402 * test/event-listener-test.c:
403 Uncommented some listeners which are now implemented.
406 2002-06-06 Bill Haneman <bill.haneman@sun.com>
408 * registryd/deviceeventcontroller.c:
409 (spi_controller_update_key_grabs):
410 Fix for #82509, lack of failure notification when
411 ALL_WINDOWS keygrabs fail due to XGrabKey
412 failure: we synchronize the server when
413 registering a passive grab, to make sure we get the
414 error message before the call returns.
416 2002-06-03 Bill Haneman <bill.haneman@sun.com>
418 * test/test-simple.c:
420 Removed #ifdef KEY_IMPL_WORKS guards.
422 Removed #ifdef KEY_IMPL_WORKS guards.
423 Fixed bug which was causing a hang waiting for a
424 "press" event (which was already overwritten by a "release"
425 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
427 Added code to set globals 'key_press_received' and
428 'key_release_received'.
431 Added section "1.1 API Proposed Additions" which
432 lists API additions desired for at-spi-1.1 (only one so far).
433 Updated TODO list a little.
435 2002-06-02 Bill Haneman <bill.haneman@sun.com>
437 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
440 * configure.in: Revved to 1.0.0.
442 * idl/Accessibility_Registry.idl:
443 (registerKeystrokeListener):
444 Added boolean return value.
446 * registryd/registry.c:
447 (notify_listeners_cb): Minor fix to debug output.
449 * registryd/Accessibility_Registry.server.in.in:
450 Revved version number in OAFIID to 1.0.
452 * registryd/registryd.c:
454 Use new OAFIID version.
456 * cspi/bonobo/cspi-bonobo.c:
458 Use new OAFIID version.
464 * atk-bridge/bridge.c:
466 Use new OAFIID version.
468 * registryd/deviceeventcontroller.c:
469 (impl_register_keystroke_listener):
470 Added CORBA_boolean return value.
471 (spi_controller_register_device_listener):
472 Added gboolean return value.
473 (spi_controller_register_global_keygrabs):
474 Added gboolean return value.
475 (spi_key_set_contains_key):
476 Added implementation for many more control keys,
477 for instance F1-F12, arrow keys, End, Home, Page_Up,
479 [TODO: some still not implemented].
481 * text/screen-review-test.c:
482 (text_chunk_pad_string):
483 New function: it provides mapping between coordinate
484 positions of text chunks and character positions in the
485 screen-review-line output string.
486 (text_chunk_to_string):
487 New function, calls text_chunk_pad_string with various
488 pad/delimiter characters. Pushbuttons are delimited with
489 square brackets, Frames with vertical 'pipe' lines, and
490 other text with double quotes.
491 (text_chunk_list_to_string):
492 Calls new function text_chunk_to_string.
493 (toplevel_composite):
494 New function to composite layers CANVAS through
495 POPUP in each toplevel (other layers are composited
496 across toplevels, i.e. BACKGROUND and OVERLAY).
497 (review_buffer_composite):
498 Revise to use new methods.
504 2002-05-31 Laszlo Peter <laca@sun.com>
506 * configure.in: add the Xtst libdir to the runpath on Solaris,
507 since it's not in the default library search path.
509 2002-05-29 jacob berkman <jacob@ximian.com>
511 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
513 2002-05-29 Bill Haneman <bill.haneman@sun.com>
515 * test/screen-review-test.c:
516 (text_chunk_pad_string):
517 Added method, which pads the string according to the
518 text bounds of the chunk. It also takes a 3-character
519 string as a param which indicates the characters to be
520 used for start, padding, and end delimitation of the chunk.
521 (text_chunk_to_string):
522 Changed to use text_chunk_pad_string.
524 * configure.in: Fixed bug in AC_OUTPUT that was
525 causing path substitution in Accessibility_Registry.server
528 2002-05-23 Bill Haneman <bill.haneman@sun.com>
530 * text/screen-review-test.c:
532 New method which attempts a best-guess at clipping
533 text from components (like Java labels) which don't
534 actually implement AccessibleText. This inaccurate
535 clip is based on the assumption that the label is
536 justified left-and-right, and monospaced.
537 (text_chunk_get_clipped_string):
538 We now call guess_string_clip() for text-containing
539 components that don't implement AccessibleText.
541 * test/screen-review-test.c:
542 (review_buffer_get_text_chunk):
543 We now pull "name" from labels if they do not implement
544 AccessibleText (i.e. for Java labels).
545 (get_screen_review_line_at):
546 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
549 Replaceded AC_OUTPUT target
550 registryd/Accessibility_Registry.server with
551 registryd/Accessibility_Registry.server.in.
553 * registryd/Accessibility_Registry.server.in:
554 Removed (this is now a Makefile target).
556 * registryd/Accessibility_Registry.server.in.in:
557 Added (source for target above). We now use $(libexecdir) as
558 prefix for the executable at-spi-registryd.
560 * registry/Makefile.am:
561 Now install at-spi-registryd into $(libexecdir), and build .server
562 file with path (see above).
564 2002-05-22 Bill Haneman <bill.haneman@sun.com>
566 * test/screen-review-test.c:
567 (text_chunk_get_clipped_string):
568 We now check to see if words fall within clip bounds
569 before resorting to character-by-character clip bounds testing.
571 * TODO: Added a section for "2.2 Proposed API Additions".
573 2002-05-21 Bill Haneman <bill.haneman@sun.com>
575 * test/screen-review-test.c:
577 Added a screen review benchmarking and test program to test
580 * cspi/spi_accessible.c:
582 Made some of the debug strings passed to cspi_check_ev a
583 little more specific.
585 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
587 * test/screen-review-test.c: Fix crashes in debug statements
589 2002-05-20 Bill Haneman <bill.haneman@sun.com>
591 * test/screen-review-test.c: Added this file.
593 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
595 * atk-bridge/bridge.c: changed "object:state-change" to
596 "object:state-changed" to match docs.
598 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
600 * atk-bridge/bridge.c: Hooked up state-change event details.
602 2002-05-11 Bill Haneman <bill.haneman@sun.com>
604 * registryd/registry.c:
605 Fixed quarking bug in event string parsing; now events with
606 detail parameters get matched correctly to listeners.
609 * util/idl/Magnifier.idl: remove.
611 * util/*.[ch]: Remove.
612 Magnification utilities and IDL are now in module gnome-mag.
614 2002-05-10 Bill Haneman <bill.haneman@sun.com>
616 * registryd/deviceeventcontroller.c:
617 Fixed bug in grab key conversion which was causing keycode grabs
618 to be converted to AnyKey grabs.
621 updated NEWS file to reflect recent spin-off of gnome-mag.
623 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
625 * cspi/spi_accessible.c: Added exception checks. Fixed completely
626 busted AccessibleStateSet_compare. Removed redundant casts.
628 * cspi/spi-action.c: Removed redundant casts.
630 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
632 * cspi/spi_component.c: Fixed typos and casting error.
634 * cspi/spi_editabletext.c: Removed redundant casts.
636 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
638 * cspi/spi_hypertext.c: Eliminated redundant casts.
640 * cspi/spi_image.c: Eliminated redundant casts.
642 * cspi/spi_registry.c: Eliminated redundant casts.
643 SPI_deregisterGlobalEventListenerAll () removed retval variable.
644 * cspi/spi_selection.c: Removed redundant casts.
645 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
646 handling. Screen geometry and text offsets were being returned as 0
647 on error which is technically valid-- changed these to return -1.
648 Added marshaller for text boundary types to fix bug with boundary
649 types being passed incorrectly to atk.
651 2002-05-09 Bill Haneman <bill.haneman@sun.com>
654 * cspi/spi_registry.c:
655 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
656 which was uncovered by the recent key changes.
658 2002-05-09 Bill Haneman <bill.haneman@sun.com>
660 * test/event-listener-test.c:
662 Added new test, "event-listener-test";
663 this code does two things; it benchmarks traversal time
664 for the accessible hierarchy for the first running accessible
665 app, and it connects listeners for all supported event types.
666 It is thus useful as an example event listener and for
667 diagnostics/debugging of event generation.
669 2002-05-08 Bill Haneman <bill.haneman@sun.com>
672 Removed unnecessary dependency on libutil.
675 Revved micro version: 0.13.1
677 2002-05-08 Bill Haneman <bill.haneman@sun.com>
680 Removed util/Makefile from targets.
683 Removed util subdir from SUBDIRS (temporarily,
684 pending removal of magnifier-only code
688 #ifdef-ed out magnifier dependencies, since
689 magnifier IDL, headers, and binary now live in
690 module gnome-mag and we don't want at-spi to depend
691 on gnome-mag. A magnifier demo which can run alongside
692 simple-at is forthcoming in the gnome-mag module.
694 NOTE: Split magnifier binary, IDL, and magnification
695 activation code from at-spi into module gnome-mag.
697 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
699 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
700 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
702 2002-05-03 Bill Haneman <bill.haneman@sun.com>
705 Revved to version 0.13.0
707 * idl/Accessibility_Registry.idl:
708 Changed definition of KeySet from sequence of longs to sequence of
709 KeyDefinitions, and added KeyDefinition struct.
710 Required for fix to bug 80616.
712 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
713 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
714 to use new definition (see above).
716 * registryd/deviceeventcontroller.c: handle_keygrab(),
717 spi_keyset_contains_key():
718 Changed to make use of new struct; this allows matching based on
719 string key-name, for instance "Tab". This also allows matching of
720 composed characters, non-alphanumeric characters in a way that
721 doesn't involve dependencies on X keysym codes directly, etc.
723 * test/key-listener-test.c:
724 Added test for Alt-Tab key using "string" specification of keyset,
725 and modified one of the tests to use a keycode-based keyset.
726 Thus this test both tests and demonstrates the creation and use of
727 keysets of three forms: specified via keycode array,
728 keysym array, and string array. (The string case only contains a
729 single string, i.e. a string array of length 1).
732 Turned on PRINT_TREE option by default. Also fixed a
733 string-freeing bug in the PRINT_TREE code.
734 Added a listener to window:minimize events.
736 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
738 * atk-bridge/bridge.c:
739 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
740 for window:activate and window:deactiveate
741 (atk_bridge_property_event_listener atk_bridge_signal_listener
742 atk_bridge_window_event_listener) Tidy debug code
744 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
746 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
747 Fixed handling for NULL return value from ATK.
749 * libspi/action.c libspi/component.c libspi/editabletext.
750 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
751 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
752 Removed redundant casts.
754 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
755 Fixed off by one bug.
757 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
758 function not present in idl)
760 2002-05-02 jacob berkman <jacob@ximian.com>
762 * atk-bridge/Makefile.am: make atk-bridge a real module
764 2002-04-26 Radek Doulik <rodo@ximian.com>
766 * libspi/stateset.c (spi_init_state_type_tables): fix size of
767 atk_state_types table
769 2002-04-22 jacob berkman <jacob@ximian.com>
772 * libspi/Makefile.am: add deps on the built files to help
773 automake, and don't version the ORBit typelib
775 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
777 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
778 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
779 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
780 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
781 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
782 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
783 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
784 libspi/accessible.h libspi/accessible.h libspi/base.h
785 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
786 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
787 libspi/relation.h libspi/remoteobject.h libspi/selection.h
788 libspi/spi-private.h libspi/statetset.h libspi/table.h
789 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
790 util/mag_client.h util/mag_control.c util/mag_image.c
791 util/mag_image.h util/magnifier.c util/magnifier.h:
792 Add missing file headers; standardize existing ones
794 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
796 * atk-bridge/bridge.c: Added window event support.
798 2002-04-18 Michael Meeks <michael@ximian.com>
800 * libspi/relation.c (impl_getNTargets): impl.
801 (impl_getTarget): impl.
803 * libspi/Makefile.am: fix stateset install.
805 2002-04-17 Bill Haneman <bill.haneman@sun.com>
808 Started putting useful info in this file.
810 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
812 * atk-bridge/bridge.c:
813 Propagate state-changed notifications to ATs
815 * cspi/spi_registry.c: update docs to reflect actual behavior of
818 2002-04-17 Bill Haneman <bill.haneman@sun.com>
821 Incremented version to 0.12.1
824 Add missing declaration for magnifier_exit,
825 used by mag_control.c - Forte compiler didn't like
826 the implicit redeclaration of the function :-(
829 2002-04-16 Bill Haneman <bill.haneman@sun.com>
832 Revved version to 0.12 due to API change (see below).
834 * cspi/spi-roletypes.h:
835 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
836 definition from the inline docs, and added docs
837 for SPI_ROLE_LAST_DEFINED.
840 * cspi/spi_streamablecontent.c:
841 Added missing seek_type parameter to
842 (so far unused) method,
843 AccessibleStreamableContent_seek().
844 [ RT approval JodyG. ]
847 Fixed docs for SPI_createAccessibleKeystrokeListener.
849 * cspi/spi_registry.c:
850 Fixed docs for SPI_KEYSET_ALL_KEYS.
852 * docs/reference/cspi/at-spi-cspi-sections.txt:
853 Added a number of missing APIs to SECTIONS.
855 2002-04-16 Bill Haneman <bill.haneman@sun.com>
857 * registryd/Makefile.am:
859 * cspi/bonobo/Makefile.am:
860 Add $(X_LIBS) to makefiles.
862 2002-04-15 Bill Haneman <bill.haneman@sun.com>
865 Revved version to 0.11.
867 * libspi/component.c:
868 Added implementation for grabFocus.
870 * idl/Accessibility_Component.idl
871 (Accessibility_Component_grabFocus):
872 Made this method return boolean to indicate success or failure, to
873 be consistent with cspi and the corresponding ATK method.
875 * idl/Accessibility_Selection.idl
876 (Accessibility_Selection_selectAll) :
877 Made these methods return boolean to indicate success or
878 failure, to be consistent with cspi and the corresponding ATK methods.
880 * idl/Accessibility_EditableText.idl
881 (Accessibility_EditableText_setTextContents,
882 Accessibility_EditableText_insertText,
883 Accessibility_EditableText_cutText,
884 Accessibility_EditableText_deleteText,
885 Accessibility_EditableText_pasteText):
886 Made these methods return boolean to indicate
889 * cspi/spi_editabletext.c:
890 Made these methods return booleans.
892 * libspi/selection.c:
893 * libspi/component.c:
894 * libspi/editabletext.c:
895 Connected the boolean returns from ATK
896 to the server-side code referenced above.
898 2002-04-14 Bill Haneman <bill.haneman@sun.com>
900 * idl/Accessibility_Table.idl: Added missing methods,
901 Accessibility_Table_addRowSelection,
902 Accessibility_Table_addColumnSelection,
903 Accessibility_Table_removeRowSelection,
904 Accessibility_Table_removeColumnSelection.
907 Added C wrappers for above IDL:
908 AccessibleTable_addRowSelection,
909 AccessibleTable_addColumnSelection,
910 AccessibleTable_removeRowSelection,
911 AccessibleTable_removeColumnSelection.
914 Added server-side implementation code for IDL above, connecting
915 to pre-existing ATK api.
917 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
919 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
921 * libspi/accessible.c: Added implementation fo
922 Accessibility_Accessible_get_state.
924 * libspi/libspi.h: Added stateset.h to the list of includes.
926 * libspi/stateset.c: Fixed broken implementation.
928 2002-04-13 Bill Haneman <bill.haneman@sun.com>
931 Added implementation code for Accessibility_Magnifier_exit ().
933 * util/mag_control.c:
934 Added test code for above method; you can
935 now kill an existing magnifier via
936 ./mag_control q, from the util directory.
938 * test/key-listener-test.c:
940 Added a new test, for our key listener API.
942 2002-04-11 Bill Haneman <bill.haneman@sun.com>
944 * test/app.c, test/keysynth-demo.c:
946 Replace use of snprintf with g_snprintf.
947 (fix for bugzilla 78249)
949 2002-03-27 Michael Meeks <michael@ximian.com>
953 * util/Makefile.am (INCLUDES): fix.
954 (DONT_DIST_SOURCE): don't distribute the
957 * libspi/Makefile.am (dist-hook): ditto.
959 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
961 * libspi/hypertext.c:
962 Fix warnings when yelp is used with atk-bridge
964 2002-03-21 Michael Meeks <michael@ximian.com>
966 * libspi/application.c (spi_application_new):
967 use spi_accessible_construct so we use the AtkObject
970 2002-03-19 Michael Meeks <michael@ximian.com>
972 * registryd/registry.c (desktop_remove_application),
973 (desktop_add_application): clean coding style.
975 * registryd/desktop.c (spi_desktop_remove_application),
976 (spi_desktop_add_application): kill re-enterency hazards.
977 (spi_desktop_dispose): remove bogus redundant cast
978 obscuring bug; fix bug too.
979 (spi_desktop_init): make the desktop object immortal.
981 2002-03-16 Bill Haneman <bill.haneman@sun.com>
984 Added a #define-guarded tree-traversal step
985 when enumerating the apps (diagnostic tool).
987 2002-03-15 Bill Haneman <bill.haneman@sun.com>
989 * idl/Accessibility_Role.idl:
990 Added ROLE_DRAWING_AREA which seemed to be missing from the
993 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
995 * cspi/spi-roletypes.h cspi/spi_accessible.c
996 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
999 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
1000 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
1001 AT when applications are added and removed from the desktop. This
1002 reverts the previous broken implementation using the backing
1003 AtkObject for the SpiDesktop.
1005 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1007 * registryd/desktop.c: emit the "children-changed::add" and
1008 "children-changed::remove" signals on the backing ATK object for
1009 the desktop so AT can tell when applications are started and shut
1012 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1014 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
1016 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1018 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
1020 * cspi/spi_accessible.c: Implemented c bindings for stateset support
1022 * cspi/state-types.h: synched with IDL and ATK
1024 2002-03-13 Bill Haneman <bill.haneman@sun.com>
1026 * libspi/accessible.c
1027 (impl_accessibility_accessible_get_child_at_index):
1028 Change return value for g_return_if_fail ()
1029 to CORBA_OBJECT_NIL instead of "0" (!)
1031 * registryd/Makefile.am:
1032 * registryd/Accessibility_Register.server.in:
1033 Changed name of executable, "registryd",
1034 to something more informative:
1037 2002-03-13 Michael Meeks <michael@ximian.com>
1039 * atk-bridge/bridge.c (atk_bridge_init): don't register
1040 if we're in a bonobo-component, rather than a bonobo app.
1042 2002-03-13 Michael Meeks <michael@ximian.com>
1044 * atk-bridge/bridge.c (gtk_module_init): split
1045 out body to (atk_bridge_init): here, since otherwise
1046 we get symbol conflicts and oddness when invoked
1047 from (gnome_accessibility_module_init): here (upd.)
1049 2002-03-11 Bill Haneman <bill.haneman@sun.com>
1052 New file. Explicitly allow "build sheriff" putbacks provided
1053 they are tested on Solaris.
1055 * docs/reference/cspi/Makefile.am:
1056 Added '-' to the "cp" command for index.sgml.
1057 ("patch by thomasvs, soon coming to a GUADEC near you")
1060 Incremented version number (0.9.0) for new release.
1061 Changed macro that checks for popt, to better detect
1062 obsolete versions of popt.
1065 Added X_LIBS to AC_SUBST, for applications
1066 that call Xlib API directly.
1069 2002-03-07 Bill Haneman <bill.haneman@sun.com>
1072 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
1075 Fix regression caused by hard-coding major
1076 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
1079 * test/test-simple.c (test_editable_text),
1080 (test_test): revert previous change (error was
1081 a regression in gail which is now fixed).
1083 2002-03-04 Michael Meeks <michael@ximian.com>
1085 * test/test-simple.c (test_editable_text),
1086 (test_text): pass G_MAXINT instead of '-1' for
1087 whole string - is this a good thing !?
1089 * cspi/spi_accessible.c
1090 (Accessible_getRelationSet): fix crasher bug
1091 overwriting the end of the array.
1093 * test/test-simple.c (validate_accessible): free,
1094 not g_free returned relation set.
1096 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
1098 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
1099 implemented stateset support
1101 * idl/Accessibility_State.idl: Made necessary changes to
1102 the IDL to support state sets.
1104 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1106 * registryd/deviceeventcontroller.c:
1107 Added implementation for generateMouseEvent.
1109 * cspi/spi_registry.c:
1110 Connected new implementation for generateMouseEvent
1113 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1116 Incremented revision (but no change in public API
1117 outside of 'utils', which are not installed public yet.)
1119 * libspi/component.c:
1120 Changed to use atk_component API for layers and
1121 mdi_zorder, instead of deprecated atk_object API.
1123 Magnification Utility Enhancements:
1126 Added implementation of createZoomRegion, clearAllZoomRegions,
1127 resizeZoomRegion. Added new commandline argument
1128 "--no-initial-region". Note that clearAllZoomRegions doesn't
1129 unmap the old '0' region as it should (yet), and the other
1130 methods only work when creating/resizing a single region,
1131 which is "region 0".
1132 (Code for multiple region support will be added later.)
1135 Now we raise the magnifier window each time it's refreshed;
1136 this will help keep it on top.
1138 * util/mag_client.h:
1139 Added simple wrappers for above, used by mag_control.
1140 For general use, it's recommended to use the bonobo magnifier
1141 control API directly instead of using these wrappers.
1144 Moved ZoomRegionData from magnifier.c to this file.
1146 * util/mag_control.c:
1147 Added some code to exercise new IDL implementations.
1149 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
1151 * libspi/text.c: Provide implementation for getAttributes.
1153 2002-02-04 Bill Haneman <bill.haneman@sun.com>
1156 Incremented revision.
1158 * test/test-simple.c:
1159 Replaced use of deprecated g_main_iteration with
1160 g_main_context_iteration.
1162 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
1165 Incremented revision for desktop alpha 2.
1167 2002-01-28 Mark McLoughlin <mark@skynet.ie>
1169 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
1172 * test/simple-at.c: include netinet/in.h.
1174 2002-01-24 Mark McLoughlin <mark@skynet.ie>
1176 * cspi/spi_accessible.c: (Accessible_getRelationSet):
1177 use NULL, not CORBA_OBJECT_NIL.
1179 * libspi/accessible.c:
1180 (impl_accessibility_accessible_get_relation_set):
1181 allocate the sequence correctly.
1183 * libspi/remoteobject.h: kill spi_remote_object_new.
1185 * test/test-simple.c: (validate_accessible): add code
1186 to test relation sets, now all we need is to figure
1187 out how to excercise this code path :/
1189 2002-01-18 Michael Meeks <michael@ximian.com>
1191 * test/test-simple.c
1192 (key_listener_cb): consume the key.
1193 (test_keylisteners): update.
1194 (main): wait for any pending unrefs on events.
1196 * registryd/deviceeventcontroller.c
1197 (spi_controller_update_key_grabs): only re-issue the
1198 grab on a key release.
1199 (spi_device_event_controller_forward_key_event):
1200 refresh the keygrabs before we notify the listeners,
1201 to reduce the X ungrab / re-grab race.
1202 (spi_controller_register_with_devices): remove
1203 XSelectInput - we do that with the gdk_window_ call.
1204 (_spi_controller_device_error_handler): return a value.
1205 s/GDK_DISPLAY/spi_get_display/
1207 2002-01-17 Michael Meeks <michael@ximian.com>
1209 * registryd/deviceeventcontroller.c
1210 (_deregister_keygrab): don't blow out the later
1213 * test/test-simple.c (test_keylisteners): do a
1214 more intelligent validation.
1216 2002-01-14 Michael Meeks <michael@ximian.com>
1218 * atk-bridge/bridge.c
1219 (gnome_accessibility_module_init),
1220 (gnome_accessibility_module_shutdown): impl.
1221 (gtk_module_init): protect vs. double inits.
1222 (add_signal_listener): impl.
1223 (spi_atk_bridge_state_event_listener): kill
1224 (deregister_application): split out of
1225 (spi_atk_bridge_exit_func): here.
1227 2002-01-18 Bill Haneman <bill.haneman@sun.com>
1230 Added caret tracking when using magnifier, and
1231 now use text bounds for focus tracking of text elements, rather than
1232 the component bounds - this is helpful for short text fields in long
1233 table cells, at high magnification.
1235 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1237 * registryd/deviceeventcontroller.c:
1238 Regression fix for keylistener de-registration; global keygrabs
1239 were not being released when deregisterKeystrokeListener was
1240 called in cspi, since
1241 Accessibility_DeviceEventController_deregisterKeystrokeListener
1242 was called with a zero-length keyset. That is because the cspi
1243 method, SPI_deregisterKeystrokeListener, does not take a keyset
1244 parameter but instead should remove all the key grabs held be a
1246 The code in impl_deregister_keystroke_listener was changed to copy
1247 the keylist from the listener instance previously registered with
1248 the DeviceEventController before releasing the grabs.
1250 * registryd/registry.c:
1251 * registryd/deviceeventcontroller.c:
1252 * libspi/spi-private.h:
1254 Changed spelling of "re-enterant" to "re-entrant" globally.
1256 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1258 * test/test-simple.c:
1259 Changed key listeners test - the test was slightly mis-using the
1260 (admittedly poorly documented) SPI_generateKeyboardEvent API.
1261 It now uses '=' as the key event listened to and generated,
1262 relying on a keysym match rather than assuming that keycode 33
1263 is always equal to keysym '!'.
1265 2002-01-15 Bill Haneman <bill.haneman@sun.com>
1268 Changed simple-at to use a specific keyset, rather than
1269 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
1270 manager, desktop, etc.
1272 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1274 * registryd/deviceeventcontroller.c:
1275 Replaced standard X error handler with a special handler that
1276 is non-fatal for failed keygrabs. This works around
1277 problems with keygrab clashes sometimes observed on
1279 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
1280 mouse handling code as yet).
1282 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1285 Incremented revision for desktop alpha release.
1288 Fixed a couple of the more glaring errors (still not
1291 2002-01-11 Michael Meeks <michael@ximian.com>
1293 * registryd/deviceeventcontroller.c
1294 (spi_device_event_controller_forward_key_event): kill
1295 XUngrabKey / XKeyGrab race.
1296 (spi_controller_grab_keyboard): rename to
1297 (spi_controller_update_key_grabs): this, and deal
1298 with incremental adding / removing grabs more
1300 (_register_keygrab): ensure we're not pending a remove.
1301 (spi_grab_mask_free): impl.
1302 (spi_controller_register_global_keygrabs): split out
1304 (handle_keygrab): impl.
1305 (_deregister_keygrab): impl.
1306 (spi_controller_deregister_global_keygrabs): impl.
1307 (spi_controller_update_key_grabs): re-issue the grab if
1308 we just recieved a notification.
1310 * test/test-simple.c (key_listener_cb): remove debug.
1312 * registryd/deviceeventcontroller.c
1313 (spi_controller_register_device_listener): after
1314 registering a global keygrab, actualy register it !
1315 don't wait for a timeout; doh !
1317 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
1318 to make it more readable / manipulable.
1319 s/grabmask/grab_mask/ s/refcount/ref_count/
1320 s/keyval/key_val/ s/modmask/mod_mask
1322 2002-01-08 Michael Meeks <michael@ximian.com>
1324 * registryd/deviceeventcontroller.c
1325 (spi_controller_register_with_devices): use gdk calls to
1327 (global_filter_fn): implement the filter.
1328 (spi_device_event_controller_check_key_event): rename to
1329 (spi_device_event_controller_forward_key_event): this & upd.
1330 (spi_get_display): replace with GDK_DISPLAY.
1332 * registryd/deviceeventcontroller.c
1333 (spi_controller_deregister_device_listener): unroll into
1334 (impl_deregister_keystroke_listener): here to simplify.
1335 (spi_controller_register_global_keygrabs): split cut and
1336 paste (!) out into (_register_keygrab): here, shorter & sweeter.
1337 (spi_controller_deregister_device_listener): remove.
1338 (impl_register_mouse_listener): remove, no mouse listener
1339 support in at-spi-1.0
1341 * registryd/registry.c
1342 (_device_event_controller_hook): kill.
1343 (spi_registry_init): upd.
1345 * registryd/deviceeventcontroller.c
1346 (spi_device_event_controller_class_init): upd.
1347 (spi_check_key_event): merge into.
1348 (spi_device_event_controller_check_key_event):
1349 here and kill strange static ev init, don't leak
1350 the x_event - nor dynamicaly allocate it.
1352 * registryd/registry-main.c (main): re-direct
1353 timeout to remove strange vtable mess.
1355 * registryd/deviceeventcontroller.c
1356 (remove_listener_cb): impl.
1357 (spi_controller_deregister_device_listener):
1358 fix re-enterancy hazard.
1360 2002-01-07 Michael Meeks <michael@ximian.com>
1362 * registryd/deviceeventcontroller.c
1363 (spi_device_event_controller_new): upd.
1364 (impl_notify_listeners_sync): upd. debug.
1365 (spi_notify_keylisteners): fix re-enterancy hazards,
1366 prettify, remove O(n*n) iteration.
1367 (spi_controller_grab_keyboard): fix iteration.
1368 (spi_check_key_event): re-format to suit coding style.
1369 Clean all the warnings - we're warning free.
1371 * registryd/deviceeventcontroller.h:
1372 * registryd/registry.h: make mutualy referential with
1373 typesafe forward references instead of (!) void pointer
1376 2002-01-11 Michael Meeks <michael@ximian.com>
1378 * cspi/spi_accessible.c (role_names): add a role name
1379 to sync this array with the enum; and make the regression
1382 2002-01-10 Michael Meeks <michael@ximian.com>
1384 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
1385 allow expansion of enumeration & kill warning.
1387 * test/test-simple.c (key_listener_cb): impl.
1388 (test_keylisteners): impl.
1390 * cspi/spi-listener.h: make listener signatures const
1391 on the provided (const) events.
1393 * test/keysynth-demo.c: upd. to const events.
1395 * test/simple-at.c: ditto.
1397 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1400 Rev the version to 0.5 (the previous tarball was named 0.4,
1401 even though the micro number was 3), so we need to rev upwards
1402 again for beta2/"desktop-alpha"
1405 Checked in a demo script, which requires editing before use!
1406 Proceed with caution.
1409 Fixed typo in header which was redefining SPI_ACTION_CLASS.
1411 * cspi/spi_accessible.c:
1412 Add a couple of missing enum initializations, and fix some enum
1415 * cspi/spi_registry.c:
1416 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
1418 * docs/reference/cspi/at-spi-cspi-sections.txt:
1419 Remove/fix a couple of broken document references.
1422 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
1423 as Alt-Control to listen for commands, since on some systems
1424 Control-Alt may already be grabbed.
1426 2002-01-10 Bill Haneman <bill.haneman@sun.com>
1429 Update version number to 0.4 for Beta2.
1431 * libspi/accessible.c, libspi/accessible.h:
1432 Expose spi_accessible_construct, to enable libgail-gnome
1433 construction from spi_accessible subtype.
1435 * utils/magnifier.c:
1436 Workaround for bug in some non-gnome-compliant window managers
1437 which made magnifier resize improperly.
1439 2002-01-09 Bill Haneman <bill.haneman@sun.com>
1441 * libspi/accessible.c: (spi_accessible_new) :
1442 Move the test for SPI_IS_REMOTE_OBJECT to
1443 spi_accessible_new_return, fixing a bug and compile time warning.
1445 2002-01-08 Michael Meeks <michael@ximian.com>
1447 * registryd/registry.c (parse_event_type): remove strndup.
1449 * libspi/Makefile.am (libspi_la_SOURCES): remove
1450 sources already included in the headers section.
1452 * libspi/util.c: add.
1454 * libspi/spi-private.h: add.
1456 * registryd/registry.c: update to moved list iterators.
1458 2002-01-05 Michael Meeks <michael@ximian.com>
1460 * test/simple-at.c (main): upd. auto-module set to atk-bridge
1462 * test/test-simple.c (main): ditto.
1464 2002-01-04 Michael Meeks <michael@ximian.com>
1466 * libspi/accessible.c (spi_accessible_new): remove 2nd,
1467 redundant construct.
1469 * registryd/registry.c
1470 (get_listener_list): impl.
1471 (impl_accessibility_registry_register_global_event_listener):
1472 re-impl. to simplify using ~, remove dodgy const cast off.
1473 (parse_event_type): constify.
1474 (impl_accessibility_registry_deregister_global_event_listener_all):
1475 re-write, more efficiency and simplicity, kill re-enterancy
1477 (compare_listener_corbaref, compare_corba_objects),
1478 (compare_listener_quarks): define out.
1479 (impl_accessibility_registry_deregister_global_event_listener):
1480 re-write for effiency, and nail re-enterancy hazard.
1481 (impl_accessibility_registry_get_desktop_list): impl.
1482 (re_enterant_list_delete_link): impl.
1483 (re_enterant_list_foreach): impl.
1484 (remove_listener_cb): impl.
1485 (_registry_notify_listeners): kill.
1486 (notify_listeners_cb): impl.
1488 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
1489 (SPI_getDesktopList): impl.
1491 * test/test-simple.c (test_desktop): test the methods.
1493 2002-01-03 Michael Meeks <michael@ximian.com>
1495 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
1496 keystrings since we free them
1497 (SPI_freeAccessibleKeySet): in here.
1499 * libspi/accessible.c (spi_accessible_new): kill warning,
1500 wonder what is going on with the constructor here.
1502 2002-03-01 Bill Haneman <bill.haneman@sun.com>
1504 * libspi/accessible.c (spi_accessible_new ()) :
1505 Added check to see if AtkObject is an SpiRemoteObject before
1506 creating an SpiAccessible.
1508 2002-05-01 Bill Haneman <bill.haneman@sun.com>
1510 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
1511 Enable keygrabs using the Control modifier, now that they are
1512 working properly (they were previously disabled).
1515 Change the command keygrab for this demo to "Control+Alt", so as
1516 to conflict with fewer other key commands on the system; this
1517 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
1519 Removed a pointlessly-chatty keylistener for unshifted keys
1520 (shifted keys are still reported).
1522 2002-02-01 Bill Haneman <bill.haneman@sun.com>
1524 * libspi/remoteobject.h:
1525 * libspi/remoteobject.c:
1526 Added definitions for special AtkObject subtype, required for
1527 support of remote components (specifically, used by BonoboControl
1528 accessibility implementation).
1530 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
1532 * cspi/spi.h: synched relation types with ATK
1534 * cspi/spi_accessible.c: Added implementations of
1535 AcccessibleRelation_* methods
1537 * idl/Accessibility_Relation.idl: added getRelationTypeName
1538 method. Synched known relation types with ATK. Allowed for
1539 relation type extension with the RELATION_EXTENDED type.
1541 * libspi/relation.c: Provided implementations for
1542 AccessibleRelation methods.
1544 2002-01-01 Bill Haneman <bill.haneman@sun.com>
1546 API tweaks for today's API 'freeze'.
1549 Added placeholder functions to allow future compatible expansion
1550 of the IDL interfaces.
1552 * idl/Accessibility_Registry.idl:
1553 Changed generateKeyEvent to generateKeyboardEvent. Changed
1554 signature of this method to accept an optional keystring in
1555 parameter (for complex text input synthesis) and changed use of
1556 simple 'boolean' parameter in registerKeystrokeListener to a
1557 struct, EventListenerMode.
1559 * cspi/spi_accessible.c:
1561 * cspi/spi_streamablecontent.c:
1562 Added references to AccessibleStreamableContent interface, and
1563 definition and implementation of AccessibleStreamableContent
1566 * cspi/spi_registry.c:
1568 Changed generateKeyEvent API to generateKeyboardEvent,
1569 taking a new (optional) keystring parameter to support complex
1574 Renamed directory (to better reflect its actual purpose, bridging
1575 from at-spi to ATK). The .so module is also now named
1578 * idl/Accessibility_Hypertext.idl:
1579 * libspi/accessible.c:
1580 * libspi/hypertext.h:
1581 * libspi/hypertext.c:
1582 Changed Accessibility_Hypertext to *not* derive from
1585 * cspi/spi_registry.c:
1586 Added list of legal event type names for 'window' events, which
1587 completes the registry event API.
1589 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
1591 * at-bridge/bridge.c: Added registration for separate
1592 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
1593 signals. If either of the first two parameters to the generic
1594 bridge signal handler are ints, they are passed on as event
1595 details. This allows an AT to determine what text was inserted.
1597 2001-12-21 Bill Haneman <bill.haneman@sun.com>
1599 * registryd/deviceeventcontroller.c:
1600 Fixed regressions in generateKeyEvent caused by the removal of
1601 gdk_init from registryd; we now use pure X calls to connect to the
1602 display, which makes sense because deviceeventcontroller already
1603 uses a fair bit of X API (should eventually be migrated to a
1604 'portability layer').
1606 * registryd/desktop.c:
1607 Fixed minor regression in spi_desktop_init, changed the way the
1608 desktop name is being set to work with new spi_base API
1609 (gobject-based, rather than AtkObject-based).
1611 * registryd/Makefile.am:
1612 Minor revision of makefile to use XTST_LIBS variable rather than
1613 hard-wiring the Xtst LD_ADD element.
1615 * test/keysynth-demo.c:
1616 Tweaked an output message; added initialization of the
1617 'keystrings' member of the "switch listener" key_set.
1619 * libspi/relation.c:
1620 Squashed compile-time warning.
1622 * libspi/accessible.c:
1623 Cosmetic and formatting fixes, renamed a static method.
1625 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
1627 * libspi/accessible.c
1629 * libspi/application.c
1632 * libspi/component.c
1633 * libspi/editabletext.c
1634 * libspi/hyperlink.c
1635 * libspi/hypertext.c
1637 * libspi/selection.c
1641 * registryd/desktop.c:
1642 Changed SpiBase to contain a GObject pointer rather than an AtkObject
1644 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1646 * idl/Accessibility_Registry.idl:
1647 Added boolean member 'is_text' to DeviceEvent. This is for the
1648 use of key events, and helps prevent ambiguity between composed
1649 key strings and keysym names, since both may potentially be
1650 returned in the 'event_string' member.
1652 * at-bridge/bridge.c:
1653 * registryd/deviceeventcontroller.c:
1654 Use the 'is_text' member when notifying device event listeners.
1655 Knon issue: composed characters are not dealt with correctly by
1656 the global key listener implementation yet.
1658 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1660 * at-bridge/bridge.c:
1661 Namespaced local static methods to spi_atk_bridge_* where
1662 previously named bridge_*, and spi_* elsewhere.
1664 * at-bridge/bridge.c:
1665 * cspi/bonobo/cspi-bonobo-listener.c:
1666 Added demarshalling/conversion for string member of
1667 Accessibility_DeviceEvent to AccessibleKeystroke.
1669 * registryd/deviceeventcontroller.c:
1670 Added code to fill the Accessibility_DeviceEvent key string value
1671 member for global key events (i.e. from XGrabKey), to match
1672 behavior of Accessibility_DeviceEvent from the toolkit key events
1673 from the bridge. Fixed timestamp in global key event notifications.
1676 Added printout of key event's string value to
1677 report_ordinary_key_event, for demo/debugging purposes.
1679 2001-12-15 Bill Haneman <bill.haneman@sun.com>
1681 * idl/Accessibility_Registry.idl:
1682 Removed Accessibility_KeyStroke structure in favor of generic
1683 Accessibility_DeviceEvent structure.
1684 Changed Accessibility_ControllerEventMask from a struct to an
1687 * at-bridge/bridge.c:
1688 Changed APIs to use DeviceEvent structure as above, and removed
1689 bogus casting between these event structures.
1691 * cspi/spi-listener.h:
1692 Added keystring member of AccessibleKeystroke structure, to enable
1693 matching on event "names" rather than only hardware codes and
1697 Added keystrings member of AccessibleKeySet struct, to allow
1698 matching on event names (as above).
1699 Added declarations for SPI_createAccessibleKeySet and
1700 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
1701 event modmasks directly as unsigned ints rather than structs with
1702 refcounts, in the DeviceEventController methods.
1704 * cspi/spi_registry.c:
1705 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
1707 * cspi/spi-roletypes.h:
1708 Added documentation of newly added SPI Roles.
1710 * cspi/bonobo/cspi-bonobo-listener.c:
1711 Changes in support of API changes above.
1713 * libspi/accessible.c:
1714 Converted APIs to use DeviceEvent structure (see IDL changes
1717 * registryd/deviceeventcontroller.c:
1718 Added DEControllerGrabMask structure to track keygrabs not only by
1719 modmask but by keyset as well; this allows us to do "global"
1720 (i.e. X) keygrabs on a per-key or keyset basis rather than always
1721 grabbing on AnyKey and then filtering after-the-fact.
1722 Bugfixes for event filtration mean that we don't get false matches
1723 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
1725 * registryd/deviceeventcontroller.c:
1726 Namespaced a number of static methods to use spi_ prefix. Major
1727 revision to internals of global (i.e. X) key grabs.
1729 * registryd/deviceeventcontroller.h:
1730 Removed keymask_list and added keygrabs_list to
1731 SpiDeviceEventController struct.
1734 Added use of SPI_createAccessibleKeySet API when creating a
1735 listener for only one key. Attach a listener to "shift spacebar
1736 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
1737 X key event names to SPI key event names, so that listeners are
1738 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
1740 * test/keysynth-demo.c:
1741 Changed (incorrect) use of X key event names (KeyPressed,
1742 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
1745 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1747 * libspi/accessible.c:
1748 Convert all AtkRole enumerations to Accessibility_Role enums when
1749 getting a role from an AtkObject.
1751 * cspi/spi_accessible.c:
1752 Complete the conversion of Accessibility_Role enums at runtime to
1753 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
1754 role enums correctly match those given in spi-roletypes.h.
1755 Re-synchronize the local names list for AccessibleRole_getName ().
1756 AccessibleRole_getName is now deprecated, since it duplicates the
1757 more reliable Accessible_getRoleName.
1758 Added some role types from Accessibility_Role.idl.
1760 * idl/Accessibility_Role.idl:
1761 Added some role types used by AtkRole.
1763 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1766 * cspi/spi_registry.c:
1768 * cspi/cspi-bonobo-listener.c:
1769 Namespaced all methods that did not begin with an "SPI_" or
1770 "Accessible" prefix to "SPI_".
1773 Homogenized internal function namespace to "cspi_" for statics.
1776 Patched tests to use the new CSPI API.
1778 * docs/reference/cspi/at-spi-cspi-sections.txt:
1779 Updated docs to reflect namespace changes, and added a number of
1780 methods to the documentation.
1782 * registryd/registry.c:
1783 Changed use of strings and string hashes in listener event
1784 matching and parse_event_string to use GQuark, which is guaranteed
1787 * registryd/registry.h:
1788 Squashed annoying warning.
1790 * idl/Accessibility_Role.idl:
1791 Extended range of available Accessibility_Role values.
1793 * cspi/spi_accessible.c:
1794 Re-ordered role names.
1796 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1798 * idl/Accessibility_Value.idl:
1799 Revert use of union back to CORBA_double, since the double type is
1800 more efficient and can contain the other types without loss of
1803 * idl/Accessibility_Accessible.idl:
1804 Added method Accessibility:Accessible:getRoleName, to complement
1805 Accessibility:Accessible:getRole.
1807 * cspi/spi_accessible.c:
1809 Added C binding for above, Accessible_getRoleName (), and changed
1810 signature of Accessible_getRole () to return an AccessibleRole.
1812 * cspi/spi-roletypes.h:
1813 Changed AccessibleRole_getName to return a char * instead of a
1814 const char *. This method is now at least temporarily deprecated
1815 in favor of asking Accessibles for their RoleNames directly.
1818 Revert to match Accessibility_Value.idl;
1822 Change signature of AccessibleValue methods to use double rather
1826 * cspi/spi_accessible.c:
1827 Changed Accessible_getRole to return an AccessibleRole enum rather
1828 than a UTF-8 string. The UTF-8 string can still be obtained via
1829 AccessibleRole_getName ().
1831 * test/test-simple.c:
1832 Add test_action. Small fixup to match API change to Accessible_getRole.
1835 Bugfix for get_action_from_servant ().
1837 2001-12-11 Michael Meeks <michael@ximian.com>
1839 * libspi/libspi.h: remove registry.h and
1840 desktop.h, deviceeventcontroller.h
1842 * libspi/Makefile.am: remove registry.[ch],
1843 desktop.[ch], deviceeventcontroller.[ch]
1845 * registryd/Makefile.am: add registry.[ch],
1846 desktop.[ch], rename registryd.c to registry-main.c.
1847 add deviceeventcontroller.[ch]
1849 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1852 Replace setenv() call with putenv ().
1854 * libspi/component.c:
1855 Bugfix in AccessibleComponent_getExtents (),
1858 2001-12-11 Michael Meeks <michael@ximian.com>
1860 * libspi/image.c (impl_getImageExtents): impl.
1861 (spi_image_class_init): upd.
1864 (AccessibleImage_getImageDescription): fix daft bug
1867 * test/test-simple.c (global_listener_cb): update
1868 to only quit if not --poke
1869 (main): catch --poke.
1870 (validate_accessible): upd. dumping, call test_image
1873 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1876 * idl/Accessibility.idl: update all IDL includes.
1878 * idl/*.idl - rename to namespace - this sucks, blame
1879 mjs' bad decision for oafd.
1881 * test/test-simple.c (create_test_window): add more tests.
1882 (create_tree): split this out.
1883 (validate_accessible): bugfix.
1885 2001-12-11 Michael Meeks <michael@ximian.com>
1887 * cspi/bonobo/cspi-bonobo-listener.c:
1888 (cspi_kestroke_listener_unref),
1889 (cspi_event_listener_unref): impl. undoing previous
1890 homenous environment - for Bill.
1892 * cspi/spi_table.c (long_seq_to_array): use
1895 * cspi/spi_main.c: split out all bonoboish bits into
1898 * cspi/spi-impl.h: upd. typedefs.
1900 * cspi/spi_registry.c: update to lowlevel API,
1901 return booleans to indicate success in some places.
1903 * cspi/spi_event.c: update to lowlevel API.
1905 * cspi/bonobo/Makefile.am: add.
1907 * cspi/bonobo/cspi-lowlevel.h: add
1909 * cspi/bonobo/cspi-bonobo.c: add
1911 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1913 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1914 (SUBDIRS): add bonobo, link in the libs.
1916 * cspi/spi-util.c: kill this file.
1918 * TODO: merge in my bits.
1920 2001-12-11 Michael Meeks <michael@ximian.com>
1922 * test/test-simple.c (test_value, test_table, main):
1923 remove unused variables causing warnings.
1925 * configure.in: cleanup checks - require gail.
1927 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1930 Changed Value interface to use SValue (scalars) rather than
1931 assuming all values are floats. This allows floats, doubles,
1932 longs, shorts, and unsigned values to be manipulated.
1933 Introduced Accessibility:SValue union.
1936 Updated to use new API above, and to work correctly with GValues
1937 of different types in AtkValue.
1940 Updated to use new API above. cspi's API is as yet unchanged.
1943 Updated the Value revision action item.
1945 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1947 * test/test-simple.c:
1948 Added test_table (GtkTreeView widget in test window to follow).
1949 Un-commented test_value, added GtkRange widget.
1950 Added GtkTreeView widget with GtkListStore. It passes regression
1951 test but leaks one SPI object for some reason.
1954 Fixed bug in impl__set_currentValue.
1956 2001-12-10 Michael Meeks <michael@ximian.com>
1958 * cspi/spi_text.c: audit for exception handling,
1959 tolerating NULL object references safely etc.
1961 * cspi/spi_value.c: ditto.
1963 * cspi/spi_table.c (AccessibleTable_getSummary),
1964 (AccessibleTable_getAccessibleAt),
1965 (AccessibleTable_getRowHeader),
1966 (AccessibleTable_getColumnHeader),
1967 (AccessibleTable_getCaption): fix bugs hidden by
1969 (long_seq_to_array): impl.
1970 (AccessibleTable_getSelectedRows),
1971 (AccessibleTable_getSelectedColumns): use it.
1973 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1976 Added a TODO list (rough and short for now).
1978 * cspi/spi_hyperlink.c:
1979 * cspi/spi_hypertext.c:
1980 Fixed macro name typos, and remove use of obsolete macro in
1981 AccessibleHyperlink_getLink.
1983 * cspi/spi_action.c:
1984 * cspi/spi_accessible.c:
1985 * cspi/spi_application.c:
1986 * cspi/spi_component.c:
1987 * cspi/spi_selection.c:
1990 Documentation fixes (removed return values from ref/unref methods).
1992 2001-12-10 Michael Meeks <michael@ximian.com>
1994 * cspi/spi_action.c: audit for exception handling,
1995 tolerating NULL object references safely etc.
1997 * cspi/spi_accessible.c: ditto.
1999 * cspi/spi_component.c: ditto.
2001 * cspi/spi_editabletext.c: ditto.
2003 * cspi/spi_hyperlink.c: ditto.
2005 * cspi/spi_hypertext.c: ditto.
2007 * cspi/spi_image.c: ditto.
2009 * cspi/spi_selection.c: ditto.
2011 2001-12-10 Michael Meeks <michael@ximian.com>
2013 * configure.in: use cspi/libspi.pc.in instead.
2015 * Makefile.am (pkgconfig_DATA): upd. to match.
2017 * test/simple-at.c (report_focus_event): kill hacks around
2018 bad return values, use putenv not setenv
2020 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
2021 fire ChildGone - I killed it.
2023 * libspi/component.c
2024 (impl_accessibility_component_get_extents): remove
2027 * idl/Accessible.idl: kill ChildGone exception.
2029 * cspi/*.[ch]: kill int return from ref / unref.
2031 * cspi/spi_main.c (cspi_object_add_check): fold into
2032 (cspi_object_add): here.
2034 * cspi/spi_component.c (AccessibleComponent_getExtents):
2035 handle exceptions elegantly.
2037 * cspi/spi-private.h (cspi_check_ev_return),
2038 (cspi_return_if_fail): impl.
2040 * cspi/spi_accessible.c: use extensively.
2041 (AccessibleStateSet_equals): add direct compare check.
2043 * cspi/spi_selection.c: tolerate NULL objs, and check
2044 exceptions before return.
2046 * cspi/spi-util.c (cspi_warn_ev): rename to
2047 (cspi_check_ev): this & don't pass ev in; no point.
2049 2001-12-10 Michael Meeks <michael@ximian.com>
2051 * test/test-simple.c: use putenv not setenv
2052 (get_environment_vars): more chatty if you're not using
2055 * test/simple-at.c: do the setenv so more people see the
2058 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2060 * libspi/registry.c:
2061 Changed check of CORBA_environment on notification to be a warning
2062 instead of an error for the moment, since we can recover from this
2063 error when caused by a queued notification from a dead app.
2066 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
2067 used by all current implementors of AtkValue), and coerce to
2068 CORBA_float. (Proper general case fix may require change to Value.idl).
2070 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2074 * cspi/spi_accessible.c:
2075 Documentation fixes: added user_data params to documentation for
2076 listeners and callbacks.
2078 * cspi/spi_accessible.c:
2079 Changed AccessibleStateSet_compare to return a
2080 StateSet rather than return the difference set into a third parameter.
2083 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2086 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
2087 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
2091 Remove subdirectory po from SUBDIRS for now.
2093 * at-bridge/bridge.c:
2094 Beefed up a couple of debug printouts.
2095 One-line fix for signal notification name formatting.
2097 * libspi/accessible.c:
2098 Added assertion to spi_accessible_new ().
2100 * libspi/application.c:
2101 Put #ifdef qualifiers around a printf.
2104 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
2106 * registryd/Makefile.am:
2108 Replaces use of XML_I18N_MERGE_SERVER_RULE with
2109 INTLTOOL_SERVER_RULE macro.
2112 Added an event listener for several ATK signals, for
2113 testing and debugging. Removed a few g_warnings.
2114 Added test output if focussed item implements the Value interface.
2116 * test/test-simple.c:
2117 Added test_value () function (known not to pass at the moment, so
2118 not actually called yet.
2120 2001-12-08 Michael Meeks <michael@ximian.com>
2122 * at-bridge/bridge.c (bridge_focus_tracker),
2123 (emit_eventv): fix the same ref. leak.
2124 (register_atk_event_listeners): don't leak.
2126 * cspi/spi-listener-impl.c (cspi_event): more
2127 protection from client code.
2129 * test/test-simple.c (test_desktop): unref the app.
2131 * test/Makefile.am: upd. TESTS.
2133 * at-bridge/bridge.c (bridge_exit_func): release the registry.
2135 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
2137 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
2139 * cspi/spi_registry.c: constify in strings.
2140 (deregisterGlobalEventListenerAll): don't release the ref.
2142 * cspi/spi.h: start removing redundant / conflicting
2143 gtkdoc comments, making the API readable at a glance :-)
2145 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
2147 * test/keysynth-demo.c (keysynth_exit, main): upd.
2149 * test/simple-at.c (main, simple_at_exit): upd.
2151 * test/test-simple.c (unutterable_horror): kill.
2152 (utterable_normal_derefs): kill.
2153 (main): upd & do a setenv before gtk_init, so that we
2154 can use memprof - and to save the pain of remembering
2155 this, if we're running under memprof - don't exit.
2157 * cspi/spi_main.c (SPI_exit): return exit status
2159 (SPI_event_quit): impl.
2160 (SPI_event_main): simplify.
2161 (cspi_is_gnome_app): kill.
2162 (SPI_init): kill isGNOMEapp arg.
2164 * at-bridge/bridge.c (register_atk_event_listeners):
2165 re-instate the unref.
2166 (bridge_exit_func): don't re-activate the registry,
2167 protect vs. theoretical re-entry, use the
2168 AT_BRIDGE_SHUTDOWN env. var to determine whether to
2169 assert a clean shutdown - for regression tests.
2171 2001-12-08 Abel Cheung <maddog@linux.org.hk>
2173 * configure.in: Comment out dummy i18n support for now,
2174 otherwise it fails to build.
2175 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
2176 EXTRA_DIST. They are missing in tarball.
2178 2001-12-07 Michael Meeks <michael@ximian.com>
2180 * util/magnifier.c: kill bonobo activation reg. race.
2182 * libspi/component.c
2183 (impl_accessibility_component_get_extents): make it match
2186 * libspi/registry.c (_registry_notify_listeners):
2187 re-remove X headers & reconcile conflicts.
2188 (spi_listener_struct_free): bad conflict resolve.
2189 (impl_accessibility_registry_register_application):
2190 more bad merging fixed.
2191 (impl_accessibility_registry_deregister_application): ditto.
2192 (spi_registry_new): ditto.
2193 (spi_registry_init): don't have an applications field.
2195 [ merge fixups2 branch to here ]
2196 2001-12-07 Michael Meeks <michael@ximian.com>
2198 * test/simple-at.c (report_focus_event),
2199 (report_focussed_accessible): remove g_warning debug.
2201 2001-12-07 Michael Meeks <michael@ximian.com>
2203 * test/test-simple.c (validate_tree): comment out some checks.
2204 (test_desktop): app now not registered idly - horay.
2206 2001-12-07 Michael Meeks <michael@ximian.com>
2208 * cspi/spi_registry.c
2209 (registerAccessibleKeystrokeListener): clean, stop it leaking
2210 great swathes of memory, and device event controller references.
2211 ensure we always pass valid sequences.
2212 (deregisterAccessibleKeystrokeListener): ditto.
2213 (generateKeyEvent): upd.
2215 * at-bridge/bridge.c (bridge_key_listener): handle
2216 registry dead exception gracefully.
2217 (bridge_focus_tracker, emit_eventv): free ev.
2219 * test/simple-at.c (report_focus_event): fix polarity.
2221 * libspi/application.c (notify_listeners): kill the ev
2222 argument, and make sure we init the ev we use.
2223 (spi_application_object_event_listener): split out a chunk
2224 (get_atk_object_ref): here & fixup.
2225 (reverse_lookup_name_for_toolkit_event): make const.
2226 (spi_application_toolkit_event_listener): fixup, kill leaks
2229 * at-bridge/bridge.c (register_atk_event_listeners):
2230 don't unref the noop object - causes grief.
2232 * libspi/registry.c: remove the X headers.
2233 turn off the debug churn.
2235 * libspi/accessible.c (spi_accessible_new_return): only
2236 release the ref if we are supposed to [doh]
2238 * test/simple-at.c (report_button_press, report_focus_event):
2239 guard vs. unexpected exit.
2241 * at-bridge/bridge.c (gtk_module_init): prune printf.
2242 (bridge_exit_func): fix app unref.
2244 * libspi/Makefile.am: don't install registry or desktop.h
2246 * libspi/*.h: update includes.
2248 * libspi/application.h: don't include ourself, or
2249 other redundant headers.
2251 2001-12-06 Michael Meeks <michael@ximian.com>
2253 * libspi/accessible.c
2254 (get_accessible_from_servant): impl.
2255 Upd. all CORBA impl.s to use it killing cut and paste.
2257 * cspi/spi_main.c (cspi_cleanup): guard vs. double
2259 (SPI_init): register atexit cleanup handler here.
2261 2001-12-06 Michael Meeks <michael@ximian.com>
2263 * at-bridge/bridge.c (gtk_module_init): g_error on
2264 activation exception
2266 2001-12-06 Michael Meeks <michael@ximian.com>
2268 * at-bridge/bridge.c (gtk_module_init): some sort of
2269 confusing merge clash - reverted.
2270 (bridge_idle_init): ditto.
2272 * test/test-simple.c (main, utterable_normal_derefs):
2273 merge from Bill - somehow not committed.
2275 2001-12-06 Michael Meeks <michael@ximian.com>
2277 * libspi/value.c (spi_value_class_init): upd.
2278 (spi_value_finalize): kill.
2280 * libspi/table.c (spi_table_finalize): kill.
2281 (spi_table_interface_new): upd.
2282 (spi_table_class_init): upd.
2283 (get_table_from_servant): impl.
2284 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2286 * libspi/selection.c (spi_selection_finalize): kill.
2287 (spi_selection_interface_new): upd.
2288 (spi_selection_class_init): upd.
2289 (get_selection_from_servant): impl.
2290 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2292 * libspi/relation.c (spi_relation_finalize): kill.
2293 (spi_relation_class_init, spi_relation_new): upd
2295 * libspi/image.c (spi_image_finalize): kill.
2296 (spi_image_class_init): upd.
2297 (spi_image_interface_new): upd.
2298 (get_image_from_servant): impl.
2299 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2301 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
2302 (spi_hyperlink_finalize): kill.
2303 (spi_hyperlink_new): upd.
2304 (get_hyperlink_from_servant): impl.
2305 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2307 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
2308 (spi_hypertext_finalize): kill.
2309 (spi_hypertext_class_init): upd.
2310 (get_hypertext_from_servant): impl.
2311 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2313 * libspi/editabletext.c (spi_editable_text_finalize): kill.
2314 (spi_editable_text_interface_new): upd.
2315 (get_editable_text_from_servant): impl.
2316 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2318 * libspi/text.c (get_text_from_servant): impl.
2319 All impls - update to use it killing more cut and paste,
2320 also fix bad string returns on duff args ( a somewhat
2321 impossible case to handle - but hey ).
2322 (spi_text_construct): impl.
2323 (spi_text_interface_new): upd.
2324 (spi_text_object_finalize): kill.
2326 * libspi/component.c
2327 (accessibility_component_object_finalize): kill.
2328 (spi_component_class_init): upd.
2329 (get_component_from_servant): impl. helper to kill cut & paste.
2330 (impl_accessibility_component_contains):
2331 (impl_accessibility_component_get_accessible_at_point):
2332 (impl_accessibility_component_get_position):
2333 (impl_accessibility_component_get_extents):
2334 (impl_accessibility_component_get_mdi_z_order):
2335 (impl_accessibility_component_get_layer):
2336 (spi_component_interface_new): upd.
2338 * libspi/action.c (spi_action_finalize): kill.
2339 (spi_action_class_init): upd. inherit from SpiObject.
2340 (spi_action_interface_new): upd.
2341 (get_action_from_servant): impl. helper to reduce cut & paste.
2342 (impl_getKeyBinding, impl_getName, impl_doAction),
2343 (impl_getDescription): Use it everywhere.
2345 * cspi/spi_main.c (get_live_refs): a pointer hash.
2346 (spi_object_hash, spi_object_equal): comment out.
2347 There are issues with CORBA object hashing that need
2350 * libspi/application.c (spi_application_init),
2351 (spi_application_new): upd.
2353 * libspi/accessible.c (spi_accessible_object_finalize): kill.
2354 (spi_accessible_class_init): upd.
2355 s/accessible/object/ in epv methods.
2357 2001-12-05 Bill Haneman <bill.haneman@sun.com>
2359 * at-bridge/bridge.c:
2360 Reorder the bridge initialization into the bridge gtk_module_init,
2361 an immediate call to bridge_register_app, and an idle_add for
2362 register_atk_event_listeners (the only code that *must* wait until
2363 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
2364 the activation, creates the application's Accessible object, and
2365 queues the bridge_idle_init function. Restored call to
2366 Accessibility_Registry_deregisterApplication().
2367 Prior to making this call we obtain a new reference to the
2368 registry, which is a temporary hack that helps us handle apps that
2369 shut down the bonobo mainloop before we get there.
2371 * libspi/registry.c:
2372 Fix string leakage in debug block, and don't segv if a an app
2373 dies before its event notifications have been propagated.
2376 Modify cspi_check_ev() to call g_warning() rather than g_error(),
2377 as stopgap measure until we get proper exception handling when
2378 objects die during or before interrogation.
2382 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
2383 Also changed default value of is_gnome_app to TRUE.
2386 * test/keysynth-demo.c:
2387 Changed use of SPI_init and SPI_event_main to reflect API change above.
2390 Made report_focus_event check the warning value from getName
2391 before reporting on focussed accessible; simplifies handling of
2392 notifications from dead objects.
2394 * test/test-simple.c: (Changes not in this patch since source is
2397 2001-12-05 Michael Meeks <michael@ximian.com>
2399 * registryd/registryd.c (main): protect against
2400 bonobo-activation startup race condition.
2402 * cspi/spi_main.c (cspi_object_add_check): cope
2403 with the exception elegantly.
2405 * idl/Accessible.idl: decl. ChildGone
2407 * libspi/desktop.c (spi_desktop_dispose): impl.
2408 (spi_desktop_class_init): upd.
2409 (spi_desktop_add_application),
2410 (spi_desktop_remove_application),
2411 (abnormal_application_termination): impl.
2412 (impl_desktop_get_child_at_index): re-impl.
2415 (impl_accessibility_registry_deregister_application),
2416 (impl_accessibility_registry_register_application):
2417 kill excessive debug clutter.
2419 * test/test-simple.c (test_misc): test some NULL
2420 tolerance. (main): upd.
2422 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
2423 implements no interfaces - so let's not crash.
2425 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
2427 * libspi/accessible.c (spi_accessible_new_return): impl.
2428 helper to calm the cut and paste, to cope with
2429 NULL AtkObjects effectively and efficiently, and to kill
2430 the referencing bugs.
2432 * libspi/table.c (impl_getAccessibleAt),
2433 (impl_getRowHeader, impl_getColumnHeader): upd.
2435 * libspi/hyperlink.c (impl_getObject): upd.
2437 * libspi/accessible.c
2438 (impl_accessibility_accessible_get_child_at_index): upd.
2440 * libspi/component.c
2441 (impl_accessibility_component_get_accessible_at_point): upd.
2443 * test/test-simple.c (test_editable_text, test_text): impl.
2446 * cspi/spi_editabletext.c
2447 (AccessibleEditableText_insertText): constify.
2449 * test/test-simple.c (focus_me): make more robust.
2451 * libspi/accessible.c: remove some printfs in methods that
2452 we test and work fine, so we can get a clean tree dump.
2454 * test/test-simple.c (validate_accessible),
2455 (validate_tree): make tree dumping pretty too.
2457 * at-bridge/bridge.c (bridge_signal_listener): upd. so
2458 it builds without debug on.
2460 * test/test-simple.c (validate_accessible): fix the most
2463 * cspi/spi_main.c (spi_object_release): leave the nicely
2464 blanked memory around if in debug mode.
2466 * cspi/spi-listener-impl.c (cspi_event): use add_check.
2468 [committed to fixups2]
2469 2001-12-05 Michael Meeks <michael@ximian.com>
2471 * libspi/editabletext.c
2472 (spi_editable_text_class_init): g_type_class_peek_parent,
2473 not interface peek - so we finalize cleanly.
2475 * libspi/accessible.c (spi_accessible_new): kill debug.
2477 * test/test-simple.c (validate_accessible): fix ref.
2478 leak, print strings before freeing them; sigh, comment a
2479 chunk out due to strangeness.
2480 (validate_tree): unref the child after use.
2482 * cspi/spi_component.c (AccessibleComponent_getLayer):
2483 add missing break statement, switch on zlayer not the
2484 uninitialized retval.
2486 * cspi/spi_main.c (cspi_object_add): add assert, local ref
2487 before (possibly re-entering) remote unref.
2489 * test/simple-at.c (main): unref the desktop.
2491 * cspi/spi_accessible.c (cspi_accessible_is_a): move
2494 * cspi/spi_main.c (cspi_accessible_is_a): here to
2495 isolate bonobo API usage more.
2497 * libspi/registry.c (impl_accessibility_registry_register_application):
2498 prune bogus comment.
2500 2001-12-04 Michael Meeks <michael@ximian.com>
2502 * test/test-simple.c (validate_tree): upd.
2503 IndexInParent check to make it more lucid.
2504 (validate_accessible): dump the tree.
2506 * libspi/accessible.c (de_register_public_ref),
2507 (get_public_refs): impl.
2508 (spi_accessible_new): make more efficient & intuitive.
2509 Now IndexInParent check works.
2511 2001-12-04 Michael Meeks <michael@ximian.com>
2513 * cspi/spi-util.h: remove.
2515 * cspi/spi.h: move SPI_freeString here
2517 * libspi/component.c (impl_accessibility_component_get_layer):
2519 (impl_accessibility_component_get_mdi_z_order): ditto,
2520 return -1 on error - is this ok ?
2522 * test/test-simple.c (test_application): impl.
2524 * cspi/spi_accessible.c (Accessible_getApplication),
2525 (Accessible_isApplication): impl.
2527 * libspi/registry.c (spi_listener_struct_free): release
2528 the CORBA reference too.
2530 * libspi/accessible.c
2531 (impl_accessibility_accessible_get_parent): fix ref leak.
2533 * libspi/registry.c (spi_registry_new): make the registry
2534 immortal - we don't want it to go away ever.
2536 * libspi/application.c
2537 (spi_accessible_application_finalize): impl. cleanup.
2539 * cspi/spi_registry.c
2540 (deregisterGlobalEventListenerAll),
2541 (deregisterGlobalEventListener),
2542 (deregisterAccessibleKeystrokeListener): fix ref leak.
2544 * cspi/spi_main.c (SPI_init): remove redundant ref.
2546 * test/test-simple.c (unutterable_horror): impl. to force a
2551 (impl_accessibility_registry_deregister_application): release
2552 the application when we de-register it.
2554 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
2555 until we have the infastructure to get it right.
2557 2001-12-03 Michael Meeks <michael@ximian.com>
2559 * libspi/Makefile.am: only build eventlistener.[ch]
2561 * libspi/accessible.c
2562 (impl_accessibility_accessible_get_child_at_index): don't leak.
2564 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
2565 before we hit the idle handler.
2567 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
2568 debugging than exit.
2570 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
2572 * libspi/listener.c (impl_notify_event): check source
2573 not NIL before unref.
2575 * libspi/registry.c (impl_registry_notify_event): ditto.
2577 * libspi/eventlistener.c
2578 (impl_accessible_event_notify_event): unref the source.
2580 * libspi/accessibleeventlistener.c
2581 (impl_accessible_event_notify_event): unref the source.
2583 * idl/Event.idl: remove 'hash_id' attribute - of no
2586 * libspi/application.c (notify_listeners): upd list
2588 (spi_application_object_event_listener),
2589 (spi_application_toolkit_event_listener): upd to do correct
2593 (_registry_notify_listeners): update.
2594 (parse_event_type): this method also leaks like a sieve.
2595 (impl_accessibility_registry_deregister_global_event_listener):
2596 fix ETYPE_WINDOW case.
2598 * libspi/application.c
2599 (impl_accessibility_application_register_object_event_listener):
2602 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
2604 * libspi/hypertext.c (impl_getLink): ditto.
2606 * cspi/spi_main.c (cspi_object_add): remove
2607 bogus CORBA_Object_duplicate.
2609 * cspi/spi-listener-impl.c (cspi_event): dup/ref
2612 * cspi/spi_accessible.c
2613 (Accessible_getRelationSet): fix leak / referencing issue.
2615 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
2616 (cspi_object_add, cspi_object_unref): upd.
2617 (spi_object_release, get_live_refs): impl.
2618 (cspi_cleanup): simplify.
2620 * *.[ch]: s/boolean/SpiBoolean/
2622 * cspi/spi_accessible.c (role_names): actualy order so it
2623 corresponds with the enum !
2625 * test/test-simple.c (test_roles): check some role strings
2626 vs. enums to detect offset errors.
2628 2001-12-01 Michael Meeks <michael@ximian.com>
2630 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
2632 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
2634 (Accessible_getChildAtIndex): use cspi_add_check so we
2635 check the ev before using a (possibly) invalid value.
2637 * libspi/accessible.c
2638 (impl_accessibility_accessible_get_parent): don't segv
2641 * at-bridge/bridge.c (gtk_module_init): upd.
2642 (bridge_property_event_listener): don't leak strings
2644 (bridge_state_event_listener),
2645 (bridge_property_event_listener): don't use a static
2646 buffer in case of recursive event emission &
2647 re-enterancy - split out the swathe of cut and paste
2649 (emit_eventv): and fix 2 ref leaks here & comply to the
2651 (bridge_register_app): rename to
2652 (bridge_idle_init): this and kill arg parsing, split
2653 various inits & bonobo-activation registration to module
2654 init time, kill referencing error.
2655 (bridge_exit_func): fix the same leak.
2656 (bridge_focus_tracker): don't leak event structures
2658 (bridge_signal_listener): more leakage and cut & paste
2660 (bridge_key_listener): return the result - FIXME is
2661 this polarity correct ?
2662 (accessibility_keystroke_from_atk_key_event): rename
2663 (accessibility_init_keystroke_from_atk_key_event): and stop
2665 (gtk_module_init): return a value - not that it is checked by
2667 (bridge_key_listener): register my horror at casting between
2668 IDL defined structs.
2669 (bridge_get_registry): kill - not used.
2671 * cspi/spi_accessible.c (Accessible_getRole): make return const.
2673 * test/test-simple.c (test_roles): impl.
2674 (test_desktop, validate_accessible, validate_tree): impl.
2676 * cspi/spi_accessible.c (role_names): fixup bogus
2677 MAX_ROLES setup, make constants const for efficient linkage
2678 (AccessibleRole_getName): conform to coding style, make
2681 2001-11-30 Michael Meeks <michael@ximian.com>
2683 * cspi/spi.h: add missing prototype.
2685 * libspi/registry.c (spi_listener_struct_new): fix sig.
2687 * test/Makefile.am: add test-simple
2689 * test/test-simple.c: add
2691 * test/test.sh: add.
2693 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
2695 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
2696 do it straight - since otherwise we often get an activation race.
2698 [ work before Bill duplicated a chunk of it ... ]
2699 2001-11-30 Michael Meeks <michael@ximian.com>
2701 * libspi/keystrokelistener.c
2702 (spi_keystroke_listener_class_init): fixup arg
2705 * libspi/eventlistener.c
2706 (spi_event_listener_class_init): ditto.
2708 * tests/test.sh: add.
2710 * cspi/spi-listener-impl.h: update macros.
2712 * cspi/spi-listener-impl.c
2713 (cspi_event_listener_remove_callback): add
2714 correct pre-conditions.
2716 * cspi/spi_main.c (SPI_exit): guard vs. double
2717 exits, exit the mainloop nicely.
2718 (SPI_event_main): make more sense.
2719 (SPI_init): move the atexit evilness here so we
2720 always do it (yuck).
2721 (SPI_event_main): upd.
2723 * test/simple-at.c: update for listener changes.
2725 * registryd/registryd.c (main): prune kruft.
2727 * libspi/libspi.h: upd.
2729 * libspi/eventlistener.[ch]: rename broken macros.
2731 * libspi/accessibleeventlistener.[ch]: remove.
2733 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
2735 * test/test-simple.c: Add - automated tests.
2737 * cspi/spi-listener-impl.c (cspi_event),
2738 (cspi_key_event): add user_data to invoke.
2739 (cspi_keystroke_listener_finalize): impl.
2740 (cspi_keystroke_listener_class_init): upd.
2743 (createAccessibleEventListener),
2744 (AccessibleEventListener_addCallback),
2745 (createAccessibleKeystrokeListener),
2746 (AccessibleKeystrokeListener_addCallback): upd.
2748 * libspi/deviceeventcontroller.c
2749 (spi_device_event_controller_check_key_event): add public proto.
2752 (impl_accessibility_registry_deregister_global_event_listener):
2753 always init listeners.
2754 (_registry_notify_listeners): yes it is.
2756 * cspi/spi-listener-impl.c (cspi_key_event):
2758 (cspi_event_listener_finalize): impl.
2759 (cspi_event_listener_class_init): hook up.
2760 (event_handler_new, event_handler_free),
2761 (event_list_remove_by_callback): impl.
2762 (cspi_event_listener_remove_callback),
2763 (cspi_keystroke_listener_remove_callback),
2764 (cspi_keystroke_listener_add_callback),
2765 (cspi_event_listener_add_callback): upd.
2767 * libspi/keystrokelistener.c
2768 (keystroke_listener_object_finalize): kill
2769 (spi_keystroke_listener_class_init): upd.
2770 (spi_keystroke_listener_add_callback),
2771 (spi_keystroke_listener_remove_callback): kill,
2773 (impl_key_event): prune drasticaly.
2775 * libspi/eventlistener.c
2776 (spi_event_listener_add_callback),
2777 (spi_event_listener_remove_callback): kill, use
2779 (impl_accessible_event_notify_event): upd.
2780 (spi_event_listener_object_finalize): remove.
2782 * libspi/Makefile.am: use eventlistener.[ch]
2784 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2786 * libspi/registry.c (_registry_notify_listeners):
2787 Changed listener loop iteration to use preferred convention.
2788 Got rid of string memory leaks caused be calling g_strconcat
2789 inside function calls.
2791 * libspi/registry.c (parse_event_type):
2792 Stopped g_strconcat memory leaks, free the g_strsplit return,
2793 g_strdup the split pieces when used, etc.
2795 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2798 Change method 'compare' to return a 'difference set' rather than
2799 taking a StateSet as an out parameter (more Java-friendly).
2801 * idl/Accessible.idl:
2802 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2804 * idl/Component.idl:
2806 Changed methods 'getExtents' and 'getImageExtents' in these
2807 interfaces to return a BoundingBox structure.
2808 (getPosition and getSize are redundant and possibly should be
2809 removed, rather than creating a corresponding Point struct.)
2811 * cspi/spi_component.c:
2812 Modify implementation of getExtents to reflect the above IDL
2817 Add (missing) AccessibleImage_getExtents () API.
2819 * docs/reference/cspi/at-spi-cspi-sections.txt:
2820 Added AccessibleImage_getImageExtents () to docs.
2822 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2824 * idl/Component.idl:
2825 Added two methods, getLayer () and getMDIZOrder (), to reflect
2826 the new ATK methods atk_object_get_layer and
2827 atk_object_get_mdi_z_order. (Which arguably should be part of the
2828 AtkComponent API and AtkObject). Also added an enum,
2829 ComponentLayer, for the first method's return value.
2831 * libspi/component.c:
2832 Added implementations for these methods.
2834 * cspi/spi_component.c:
2836 Added cspi binding methods for above,
2837 AccessibleComponent_getLayer() and
2838 AccessibleComponent_getMDIZOrder().
2839 Added cspi enum 'AccessibleComponentLayer'.
2841 * docs/reference/cspi/at-spi-cspi-sections.txt:
2842 Added above methods to docs.
2846 Changed typedef for 'boolean' type (and all references to it) to
2847 SPIBoolean, to avoid keyword clashes with C++.
2850 Changed usages of 'boolean' to SPIBoolean.
2852 * test/keysynth-demo.c:
2853 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2854 app), except where SPIBoolean is required by the callbacks API.
2856 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2858 * cspi/spi_registry.c:
2859 Removed obsolete X event loop for passive keygrabs (which now
2862 * registryd/registryd.c:
2863 Removed unnecessary call to gdk_init() [cruft]. This also allows
2864 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2867 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2869 * docs/reference/cspi:
2870 Included docs for SPI_freeString in generated documentation.
2873 Renamed spi_freeString to SPI_freeString, for consistency. Added
2874 documentation for this function.
2877 Renamed spi_freeString to SPI_freeString, for consistency.
2878 Removed obsolete method declaration string_from_corba_string.
2880 * test/keysynth-demo.c:
2881 Small tweak to comments.
2884 Stopped leaking the strings returned from CSPI.
2886 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2888 Merged Michael's branch (see his ChangeLog entries below).
2890 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2891 bridge is alive, release on exit.
2893 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2894 Fix type check macro.
2897 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2900 Added is_gnome_app static, and method cspi_is_gnome_app(),
2901 so we can call the appropriate shutdown routine at exit in SPI_exit.
2903 * cspi/spi_main.c (cspi_object_ref):
2904 Duplicate the corba object passed in, since we're keeping it around.
2906 * cspi/SPI_exit.c, cspi_cleanup:
2907 Moved the releasing of the live refs to its own function, so we
2908 can put it in g_atexit (). Call the appropriate shutdown API
2909 depending on whethe calling client is a gnome app or not
2910 (bonobo_main_quit or CORBA_ORB_shutdown).
2912 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2913 Unref the listener when this method is called, after
2914 deregistration. Updated the API docs to note this behavior.
2916 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2917 Bugfixes: Ref the bonobo object when returning a parent or child
2918 reference, or an AccessibleRelation. Generally made sure
2919 BonoboObject refcount is incremented whenever we return an
2922 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2923 Fixed typo/bug in signal declaration.
2925 * libspi/accessibleeventlistener.h:
2928 * libspi/application.c (spi_application_new):
2929 Fixed leak in initialization.
2932 Remembered to increment bonobo-object refcount when returning
2933 children (applications) from desktop object.
2934 Added (empty) finalize method.
2936 * libspi/deviceeventcontroller.c:
2937 Hold a ref to listeners inside DEControllerKeyListeners.
2938 Added dec_key_listener_free() method. Use prepend instead of
2939 append in key_listener list. Fixed some refcount madness and
2940 leaks in the listener registration/deregistration - deregistration
2941 now calls dec_key_listener_free() on listeners, and on the
2942 temporarily constructed dec_key_listener() used to perform the search/match.
2944 * libspi/hypertext.c (spi_hypertest_finalize):
2945 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2946 class. Also fixed spi_hypertext_interface_new() and
2947 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2949 * libspi/hypertext.h:
2950 Removed pointless and duplicate AtkObject pointer from
2953 * libspi/keystrokelistener.c:
2954 Fixed incorrect type of keystroke_listener_parent_class,
2955 renamed keystroke_listener_object_finalize to
2956 spi_keystroke_listener_object_finalize.
2957 Fixed typo in signal declaration
2958 (spi_keystroke_listener_class_init).
2960 * libspi/registry.c:
2961 Added funcsions spi_listener_struct_new() and
2962 spi_listener_struct_free() to help with memory management issues.
2963 We also now use these methods instead of gnew + poking stuff into
2964 the struct, and to decrement listener counts/free the listeners
2965 when deregistering them.
2966 Fix more refcount bugs in getDesktop() and
2967 getDeviceEventController().
2970 De-ref the desktop after enumerating the applications. Explicitly
2971 decrement the refcounts on the created listeners on exit (using
2972 _unref for keystroke listeners, and via the
2973 deregisterGlobalEventListenerAll command for other event
2976 2001-11-27 Michael Meeks <michael@ximian.com>
2978 * cspi/spi-listener.h: fixup enum.
2980 2001-11-27 Michael Meeks <michael@ximian.com>
2982 * cspi/spi-listener-impl.c (cspi_event_listener_new),
2983 (cspi_keystroke_listener_new): Use the cspi variants.
2985 2001-11-26 Michael Meeks <michael@ximian.com>
2987 * test/keysynth-demo.c: fix 2 compile warnings, missing
2990 * test/simple-at.c (report_focussed_accessible),
2991 (report_focus_event, report_button_press),
2992 (check_property_change, is_command_key),
2993 (report_ordinary_key_event, report_command_key_event): upd.
2995 * util/mag_client.h: include pre-requisites.
2997 * libspi/accessibleeventlistener.c
2998 (spi_event_listener_object_finalize): free any lingering
3001 * libspi/keystrokelistener.c
3002 (keystroke_listener_object_finalize): ditto.
3004 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
3005 callbacks, with cspi types.
3007 * cspi/spi_event.c (createAccessibleEventListener): chain to
3008 (AccessibleEventListener_addCallback): here.
3009 (createAccessibleKeystrokeListener): chain to
3010 (AccessibleKeystrokeListener_addCallback): here.
3012 * libspi/keystrokelistener.c
3013 (spi_keystroke_listener_class_init): add signal.
3014 (impl_key_event): emit the event.
3015 (boolean_handled_accumulator): impl.
3016 (marshal_BOOLEAN__POINTER): add, gack.
3018 * libspi/accessibleeventlistener.c
3019 (spi_event_listener_class_init): add signal.
3020 (impl_accessible_event_notify_event): emit the signal &
3021 make the loop efficient.
3022 (spi_event_listener_add_callback): prepend the callback.
3024 * libspi/accessibleeventlistener.h: add an 'event' signal,
3025 decl type on callback.
3027 * libspi/keystrokelistener.h: ditto.
3029 * cspi/spi-listener.h: make methods typesafe and
3030 make them use the new event typedefs.
3032 * test/simple-at.c (report_focussed_accessible):
3033 include mag_client.h
3034 Use *(void *)text_interface not the other thing.
3036 * configure.in: add gtk to registryd bits - since we use
3039 * util/magnifier.c: include libbonobo.h
3041 2001-11-25 Bill Haneman <bill.haneman@sun.com>
3043 * test/keysynth-demo.c:
3044 Turned this into a simple scanning keyboard, to demonstrate the
3045 use of g_timeout_add () as a means of creating timers for
3046 scanning, and the use of GtkStyle for visually indicating when
3047 virtual keyboard elements are selected.
3049 keysynth-demo now listens to any keyboard keys with zero-valued
3050 keycodes (i.e. 'unused' keys) and interprets them as
3053 Reworked the shiftlatch code so that shift-down state isn't held
3054 for long periods (it's only synthesized immediately prior to
3055 the keysynth event it's modifying). Note that shiftlatch in this
3056 demo is a convenience, not intended to take the place of AccessX
3057 which is the better choice for getting 'sticky' modifier keys.
3059 * libspi/deviceeventcontroller.c:
3060 * at-bridge/bridge.c:
3061 * cspi/spi_registry.c:
3062 Removed some debug print stuff, and put other verbosity in #ifdef
3067 Implemented some more of the magnifier IDL for the simple
3068 magnifier: namely, getZoomRegionParams.
3069 Added mag_x and mag_y members to MagnifierData struct, aid of this
3071 Added GtkWindow::realize signal handler to magnifier, to keep it
3072 from receiving keyboard focus from the WM.
3074 2001-11-23 Mark McLoughlin <mark@skynet.ie>
3076 * cspi/spi-private.h: my guess at what michael forgot
3077 before he ran off to NZ :-)
3079 2001-11-23 Michael Meeks <michael@ximian.com>
3081 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
3082 comment out non existant method invoke so we link.
3084 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
3085 use bonobo_exception_get_text for more friendly warnings.
3087 * cspi/spi.c (Obj_Add): move into spi_main & rename
3088 spi_object_add; kill spi.c
3090 * cspi/spi_registry.c
3091 (deregisterGlobalEventListener),
3092 (deregisterGlobalEventListenerAll),
3093 (registerGlobalEventListener): fix exception leaks.
3095 * cspi/spi_main.c (spi_exception): impl. helper, so we
3096 don't leak exceptions.
3098 * cspi/spi_selection.c
3099 (AccessibleSelection_deselectSelectedChild): return the
3102 * cspi/spi_main.c (spi_ev): impl; hack - gack.
3103 (spi_registry): ditto.
3104 (SPI_init): guard against double inits.
3106 * cspi/*.c: use spi_ev (), and spi_registry () where
3107 appropriate - a temporary hack until we have something
3108 better. Use spi_object_add
3110 2001-11-22 Michael Meeks <michael@ximian.com>
3112 * cspi/Makefile.am: re organise, install the headers.
3114 * cspi/*.h: add G_BEGIN/END_DECLS
3116 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3119 Added non-preemptive keylistener for key events with no modifiers
3120 and shift-only modifier.
3122 * libspi/keystrokelistener.c:
3123 Removed some verbose diagnostics printout.
3125 * cspi/spi_registry.c:
3126 Fixed a bug that caused all key listeners to be registered as
3129 * libspi/deviceeventcontroller.c:
3130 Fixed bug that caused XGrabKey (preemptive key grab) to be called
3131 for non-preemptive key masks.
3134 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3136 * docs/reference/idl/at-spi-idl-docs.sgml:
3137 * docs/reference/idl/at-spi-idl-sections.txt:
3138 * docs/reference/idl/at-spi-idl-overrides.txt:
3139 Added missing files.
3141 * docs/reference/Makefile.am:
3142 removed idl from SUBDIRS until we can figure a way to get gtk-doc
3143 to scan the IDL files :-(
3148 Added .cvsignore files.
3150 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3152 * libspi/deviceeventcontroller.c:
3153 * libspi/keystrokelistener.c:
3155 * cspi/spi_registry.c:
3156 Added filters for KeySets, KeyEventSeq, and event types to key
3157 event dispatching, so listeners should only receive those events
3158 that they requested :-)
3160 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3165 * docs/reference:Makefile.am:
3166 * docs/reference/cspi:
3167 * docs/reference/cspi:Makefile.am:
3168 * docs/reference/cspi:tmpl:
3169 * docs/reference/cspi:tmpl:*.sgml:
3170 * docs/reference/idl:
3171 * docs/reference/idl:Makefile.am:
3172 * docs/reference/idl:at-spi-idl-sections.txt:
3173 * docs/reference/idl:at-spi-idl-docs.sgml:
3174 * docs/reference/idl:tmpl:
3175 * docs/reference/idl:tmpl:*.sgml:
3177 Restructured docs directory to allow separate 'reference' docs
3178 section, and forked idl and cspi docs. Added the sgml template
3179 files to CVS. Added the first sections/structural sgml for the
3182 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
3184 * configure.in, libspi/Makefile.am: find libXtst.
3186 2001-11-21 Michael Meeks <michael@ximian.com>
3188 * test/accessx-gui.c: s/spi_value/value/ - doh.
3190 * libspi/base.[ch]: add.
3192 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3194 * idl/Accessible.idl:
3195 * idl/Application.idl:
3198 Started gtk-doc cleanup on IDL.
3200 * libspi/deviceeventcontroller.c:
3201 Added and connected non-preemptive key notification from the
3202 toolkits (in addition to the pre-emptive support from XServer
3203 which we had before, but which causes 'focus flashing'). Filters
3204 are presently limited to key modifiers and global/non-global,
3205 KeySets are presently ignored, as are KeyEvent masks.
3207 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
3208 structs into the persistant structure rather than just storing
3209 pointers to things that might not persist across servant
3212 The XGrabKey call now does async keygrabs, because synchronous
3213 ones were deadlocking with GDK_event code in a very nasty way.
3215 Added boolean to internal method notify_keylisteners, to indicate
3216 whether the event came from the 'toolkit source' or the 'global
3217 (XServer) source' - this is used in the notification process to
3218 determine which listeners to send the event to.
3220 deviceeventcontroller.c is now warning-free.
3222 * libspi/registry.c:
3223 Fixed regression in application de-registration.
3224 Also fixed some really brain-dead weirdness having to do with
3225 event dispatching - event structs are now duplicated before being
3226 re-marshalled in the dispatch to listeners. This also fixes a
3227 Solaris build problem.
3230 2001-11-20 Michael Meeks <michael@ximian.com>
3233 (impl_accessibility_registry_deregister_global_event_listener):
3236 * libspi/deviceeventcontroller.c
3237 (spi_device_event_controller_check_key_event): return
3238 FALSE on no virtual method.
3240 * libspi/*..h: make includes work on a correctly pathed install.
3242 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
3244 * libspi/application.h: kill unused ( and whacked out )
3245 gboolean *spi_application_set_id (AtkObject *app, long id);
3247 2001-11-20 Michael Meeks <michael@ximian.com>
3249 * libspi/*.[ch]: further convert to bonobo's type func
3250 macros, remove redundnant casts etc.
3252 * libspi/text.c s/accessibility_text/spi_text/g,
3253 re-order to de-cruft.
3255 * libspi/hypertext.c: re-order to kill a huge slew
3256 of redundant forward decls.
3258 * libspi/relation.c: ditto.
3260 * libspi/image.c: ditto.
3262 * */.cvsignore: update
3264 2001-11-20 Michael Meeks <michael@ximian.com>
3266 * libspi/deviceeventcontroller.c
3267 (_controller_register_with_devices): use g_getenv,
3268 kill stdlib.h include.
3270 * libspi/keystrokelistener.c
3271 (spi_keystroke_listener_get_type): kill
3272 (spi_keystroke_listener_class_init),
3273 (spi_keystroke_listener_init): rename to this.
3275 * libspi/text.c (impl_getAttributes): fix warning / bug.
3277 * libspi/*.[ch]: more headers, includes and over commenting.
3279 2001-11-20 Michael Meeks <michael@ximian.com>
3281 * libspi/*.[ch]: fixup headers, includes and over commenting.
3283 * libspi/image.c (impl__get_imageDescription): const
3284 correctness warning fix. remove redundant casting.
3286 * libspi/table.c (impl_getRowDescription): ditto.
3287 (impl_getColumnDescription): ditto.
3289 * libspi/libspi.h: add.
3291 2001-11-19 Michael Meeks <michael@ximian.com>
3293 * libspi/editabletext.c (impl_setAttributes): fix warnings.
3295 * libspi/component.c (accessibility_component_get_type):
3296 rename to (spi_component_get_type): and macroify.
3297 (accessibility_component_init): rename to
3298 (spi_component_init): this
3299 (accessibility_component_class_init): rename to
3300 (spi_component_class_init): this
3302 * libspi/action.c (spi_action_get_type): kill, use the macro.
3304 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
3307 * libspi/application.c (spi_application_object_event_listener),
3308 (impl_accessibility_application_register_object_event_listener):
3309 warning fixes / const understanding updates.
3311 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
3314 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3316 * libspi/spi_accessible.c: Added docs and C bindings for
3317 AccessibleStateSet. (No implementations yet). Documentation
3318 coverage for C bindings now 100%. Made docs for event listeners
3323 boolean notifyListenersSync (in DeviceEventListener listener,
3324 in DeviceEvent event);
3326 oneway void notifyListenersAsync (in DeviceEventListener listener,
3327 in DeviceEvent event);
3329 Added DeviceEventListener and DeviceEvent structs (may deprecate
3330 KeyStroke and KeystrokeListener in favor of this generic
3331 event/listener framework for devices).
3333 * libspi/deviceeventcontroller.c:
3335 Changed some key listener code to take masks, etc., and paved the
3336 way for integration of toolkit/non-preemptive key events. Changed
3337 signatures of some internal methods.
3339 * at-bridge/bridge.c:
3340 Fixed regression connecting to interface signals, apparently
3341 caused by GTK+ changes.
3343 Added an internal bridge_state_listener to deal with
3344 property-change:accessible-state signals.
3346 Changed the key_listeners GList to store structs (including masks,
3347 etc.) instead of just CORBA_Objects (required for full
3348 implementation of key listener API).
3350 Connected the bridge to all currently supported Atk signals.
3351 Events now supported:
3352 object:property-change
3353 object:property-change:accessible-name
3354 object:property-change:accessible-state
3355 object:property-change:accessible-description
3356 object:property-change:accessible-parent
3357 object:property-change:accessible-value
3358 object:property-change:accessible-role
3359 object:property-change:accessible-table-caption
3360 object:property-change:accessible-table-column-description
3361 object:property-change:accessible-table-column-header
3362 object:property-change:accessible-table-row-description
3363 object:property-change:accessible-table-row-header
3364 object:property-change:accessible-table-summary
3365 object:children-changed
3366 object:visible-data-changed
3367 object:selection-changed
3368 object:text-selection-changed
3370 object:text-caret-moved
3372 object:row-reordered
3374 object:column-inserted
3375 object:column-reordered
3376 object:column-deleted
3377 object:model-changed
3379 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3381 * libspi/hyperlink.c,h:
3382 Fixed some broken stuff in hyperlink.
3384 * libspi/relation.h:
3385 * libspi/relation.c:
3386 * cspi/spi_accessible.c:
3387 Initial implementations of AccessibleRelation methods, and docs.
3389 * libspi/accessible.c:
3390 Fixed a bug that caused SEGV if an accessible
3391 object's description is NULL, and a client
3392 requests it. An empty string is now returned.
3394 * cspi/spi_editabletext.c:
3395 * cspi/spi_hypertext.c:
3397 * cspi/spi_hyperlink.c:
3401 Doc coverage now 95%.
3403 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3405 One last namespacing revision:
3406 * libspi/accessibleeventlistener.[ch]:
3407 Renamed SpiAccessibleEventListener to SpiEventListener,
3408 (no need for two namespaces ;-)
3410 And lots of documentation fixes:
3412 * docs/at-spi-docs.sgml:
3413 Fixed 'underscore vs. hyphen' bug that was preventing
3414 the gtk-doc API docs from being automatically generated.
3417 * cspi/spi-listener.h
3419 * cspi/spi_accessible.c
3421 * cspi/spi_application.c
3422 * cspi/spi_component.c
3423 * cspi/spi_editabletext.c
3425 * cspi/spi_hypertext.c
3427 * cspi/spi_registry.c
3428 * cspi/spi_selection.c
3432 * docs/at-spi-docs.sgml
3433 * docs/at-spi-sections.txt
3435 Added and fixed up gtk-doc documentation in cspi.
3437 Interfaces now (fully) documented (subject to revision and enhancement):
3439 Event Listener Support
3441 AccessibleApplication
3445 AccessibleEditableText
3452 AccessibleRelationSet
3457 2001-11-14 Bill Haneman <bill.haneman@sun.com>
3459 * at-bridge/bridge.c:
3460 Initial work for toolkit-level key snooper connection by bridge.
3465 New typedefs and fixes to support new namespacing, and cleaner
3466 separation of cspi bindings from libspi bonobo implementation.
3467 Removed inconsistent and extraneous Spi* namespace prefix that
3468 had crept into cspi headers.
3469 Lots of comment fixes that sed had missed.
3471 * cspi/spi-roletypes.h:
3472 * cspi/spi-statetypes.h:
3473 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
3474 to AccessibleRoleType.
3476 * libspi/accessibleeventlistener.h:
3477 Fixed minor namespacing weirdness.
3479 * libspi/deviceeventcontroller.c:
3480 Reordered some internal API for device listeners.
3481 Changed the key registry final boolean to 'is_system_global'
3482 rather than 'is_synchronous', which is more descriptive of its
3484 Added spi_device_event_controller_new().
3485 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
3487 * libspi/keystrokelistener.[ch]:
3488 Namespaced KeystrokeListener to SpiKeystrokeListener.
3489 Changed uses of keymasks to use SPI_ prefix, and did other
3492 * libspi/keymasks.h:
3493 Namespaced keymask constants with SPI_ prefix.
3495 * libspi/registry.c:
3496 Some warning fixes, and knock-on fixes from namespace changes.
3499 Added rules for accessx-gui test program.
3501 * test/accessx-gui.c:
3502 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
3503 utility. It doesn't actually use at-spi, but it's still cool and
3506 * test/keysynth-demo.c:
3510 Fixes so that these test clients work properly with the namespaced
3511 libraries. (Incompletely tested for technical reasons, fixes may follow)
3514 2001-11-13 Michael Meeks <michael@ximian.com>
3516 * libspi/application.c
3517 (impl_accessibility_application_get_version),
3518 (impl_accessibility_application_get_toolkit_name):
3520 (impl_accessibility_application_set_id),
3521 (impl_accessibility_application_get_id): remove
3522 redundant casting code.
3524 * libspi/action.c (impl_getDescription): fix warnings.
3526 * libspi/accessible.c
3527 (impl_accessibility_accessible_get_parent),
3528 (impl_accessibility_accessible_get_child_at_index),
3529 (impl_accessibility_accessible_get_state),
3530 (impl_accessibility_accessible_get_relation_set):
3531 warning fixes & include action.h
3533 2001-11-13 Michael Meeks <michael@ximian.com>
3535 * *.[ch] fix bits I screwed up:
3537 s/([^ \tb(\*\&\?\",])spi_/\1/g;
3538 s/([^ \tb(\*\&\?\",])Spi/\1/g;
3540 2001-11-13 Michael Meeks <michael@ximian.com>
3542 * *.[ch] Namespace libspi into spi_ and Spi.
3544 2001-13-11 Michael Meeks <michael@ximian.com>
3546 * Makefile.am: dist & install at-spi-1.0.pc
3548 * libspi/Makefile.am: install into at-spi-1.0
3550 * idl/Makefile.am (idldir): install into at-spi-1.0
3552 * at-spi-1.0.pc.in: add.
3554 * configure.in: build it.
3556 2001-11-12 Bill Haneman <bill.haneman@sun.com>
3558 * test/keysynth-demo.c:
3559 Use a 'realize' signal-handler to set the WM properties for
3560 the virtual keyboard, rather than making it a "POPUP" type
3561 override-redirect window (thanks to anders carlsson for that
3564 2001-11-11 Bill Haneman <bill.haneman@sun.com>
3567 * test/keysynth-demo.c:
3568 Added new test of key synthesis, which creates a simple
3569 (mouse-operated) onscreen keyboard. It inserts key events into
3570 the currently-focused window, thus it does not grab keyboard focus
3573 * cspi/spi_registry.c:
3574 Added C binding for AT-SPI generateKeyEvent.
3576 * libspi/deviceeventcontroller.c:
3577 Added call to XFilterEvent so that key listener works with XIM (we
3578 hope). Added event_synth_type to generateKeyEvent, so that we can
3579 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
3580 synthesize a press/release pair for KeySyms.
3582 2001-11-09 Bill Haneman <bill.haneman@sun.com>
3584 * libspi/Makefile.am:
3585 * registryd/Makefile.am:
3586 (temporary) hack to include libXtst in libspi and registryd.
3587 (Needed for keystroke synthesis, see below).
3590 Improved API for registerKeystrokeListener, in accordance with
3591 discussions with Gnopernicus team and X server research.
3593 * libspi/registry.c:
3594 * libspi/deviceeventcontroller.c:
3595 * libspi/accessible.c:
3596 * libspi/keystrokelistener.c:
3597 Changes and fixes to support keylisteners for potentially
3598 consumed key events (that is, 'passive grabs').
3599 Added implementation for generateKeyEvent() [untested].
3602 Changes to registerKeystrokeListener() API, as above.
3603 Added deregisterGlobalEventListenerAll(), and
3604 deregisterKeystrokeListener(), which are needed for clean exit of
3606 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
3607 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
3609 * cspi/spi_registry.c:
3610 Added implementations of function prototypes mentioned above.
3612 * registryd/registryd.c:
3613 Added the key listener event source as a g_timeout(), to allow
3614 receipt of key events that are not caught by GDK (since GDK
3615 doesn't support passive keygrabs, this was necessary).
3618 Changed to attach a keylistener to 'Alt' keys, and
3619 respond to the following keycommands: Alt-M (toggle magnifier);
3620 Alt-F (toggle speech); Alt-Q (quit).
3621 Added an exit routine to deregister the listeners, and a key
3622 listener that prints some key info to the console when a key
3623 matches the listener mask (and is thus received by the listener).
3625 * util/idl/Magnifier.idl:
3626 Changes to magnifier API to support multiple zoom regions,
3627 non-uniform scaling in x and y, markDirty, and a host of other
3628 features that would be useful to magnification.
3631 * util/mag_client.c:
3632 * util/mag_client.h:
3633 * util/mag_control.c:
3635 Source code changes to support the above IDL changes.
3638 As above, and also changes to use a (slower) generic conversion
3639 path for colormap conversions, since the fast RGB conversions have been
3640 reported to fail for 16-bit displays.
3642 2001-10-26 Michael Meeks <michael@ximian.com>
3644 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
3646 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
3648 * at-bridge/Makefile.am: fix LDFLAGS.
3650 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3652 * at-bridge/bridge.c:
3653 Re-worked listeners for toolkit events, now we have signal
3654 and property listeners. Added a private method
3655 register_atk_event_listeners(), which registers with the
3656 various atk and gtk signals we need to monitor in order to emit
3658 Added emission hook for AtkObject:property-change events, to
3659 support the 'property listeners'.
3660 Fixed some alloc()s of Accessibility_Event structs to use CORBA
3663 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
3664 which emit warnings and exit, respectively, if CORBA errors occur
3665 during remote calls, and we now use these methods to check most of
3666 our CORBA calls in the C bindings.
3668 * cspi/spi_accessible.c:
3669 Changed AccessibleSelection_refSelectedChild() to
3670 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
3671 now increment refcounts.
3673 * cspi/spi_component.c:
3674 Fixed some long pointer casts (dangerous!) to pass pointers to
3675 CORBA_longs of the proper type to the CORBA stubs, and copy the
3676 data into the longs that were passed into the C bindings code.
3678 * at-bridge/bridge.c:
3680 * libspi/accessible.c:
3681 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
3682 hyperlinks, AtkHyperlink is an object type.
3684 * libspi/application.c:
3685 Added various conversions to and from "generic" event types and
3686 atk-specific types; this is really part of the 'bridge'
3687 implementation but is valid for all AtkObject-based accessibility
3690 * libspi/editabletext.c:
3691 Fixed nasty bug wherein editable text's finalize method was
3692 unref'ing tha AtkObject reference that the text parent class was
3693 about to unref _again_. There was also a nasty inheritance bug
3694 that meant that the AccessibleEditableText class was corrupt.
3696 * libspi/selection.c:
3697 Provided implementations for some selection API that was broken.
3699 * idl/Application.idl:
3700 Added registerObjectEventListener () method.
3703 Fixed a number of return values that were Bonobo_Unknowns from
3704 bonobo_object_corba_objref(), which I
3705 forgot to dup before returning. Changed instances of
3706 bonobo_object_corba_objref (bonobo_object(o)) to
3707 BONOBO_OBJREF(o), for concision and clarity.
3709 2001-10-13 Louise Miller <louise.miller@sun.com>
3711 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
3712 idl/Event.idl, idl/Registry.idl
3713 Changed these files to include Bonobo_Unknown.idl instead
3716 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
3718 * libspi/component.c libspi/component.h:
3719 Fixed typo. Added assertions for object checks in
3720 AccessibleComponent code.
3722 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3724 * idl/Accessible.idl:
3725 Added 'isEqual (Accessible *object)'
3726 method for Accessible. (Not Yet Implemented).
3729 Changed signature of registerKeystrokeListener() to
3730 take a KeySet and KeyEventSeq so that specific keys and event
3731 types could be requested for monitoring, and added a flag
3732 is_synchronous so that either synchronous or asynchronous
3733 notification could be requested. (However this is not all
3734 implemented yet). This also meant adding two new typedefs,
3735 KeyEventSeq and KeySet.
3738 Added two new relations, RELATION_TOOLTIP_FOR and
3739 RELATION_LEAFNODE_OF.
3742 Added new state, STATE_HAS_TOOLTIP.
3744 * libspi/text.c, editabletext.c:
3745 Added new assertions to all casts of bonobo-objects from
3746 CORBA servants, to prevent Text API calls on non-text objects.
3747 Changed suspect casts of int-pointer types, so that we
3748 always send a valid CORBA_long pointer to the CORBA APIs that use
3749 in/out long parameters. We then have to copy from the CORBA_long
3750 into the regular long or int for return to the C bindings, or
3751 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
3754 * libspi/deviceeventcontroller.c:
3755 Cleaned these sources up.
3757 Changed return type for getCharacterAtOffset to
3758 CORBA_unsigned_long, to allow for 32-bit characters.
3761 2001-10-08 Bill Haneman <bill.haneman@sun.com>
3765 Fixed 'make dist' so that distro compiles...
3766 * libspi/keymasks.h:
3768 * cspi/spi-listener.c:
3769 KeystrokeListenerCB now returns a boolean.
3771 Added KeyEventType struct, and KeyStroke.
3772 Also added createKeystrokeListener(),
3773 KeystrokeListener_addCallback(),
3774 KeystrokeListener_removeCallback(), and added a keymask to
3775 registerKeystrokeListener().
3776 * cspi/spi_accessible.c:
3777 Changed numerous return types for interfaces from
3778 AccessibleComponent to Accessible<InterfaceName>; this was
3779 probably a cut-and-paste error.
3781 Implementations of new KeystrokeListener api (from spi.h,
3784 Changes to key modifier mapping.
3785 Created ControllerEventMask struct.
3786 Made DeviceEventController derive from Bonobo::Unknown.
3788 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3789 * libspi/deviceeventcontroller.c:
3790 Added a number of new internal (private) methods.
3791 * libspi/editabletext.c:
3792 * libspi/editabletext.h:
3793 Fixed a number of bugs related to the fact that
3794 editabletext inherits from text. Fixed the EditableText struct,
3795 the init() call, and use correct casts when calling Text methods
3796 from an EditableText object. Removed (duplicate) atko from the
3797 EditableText structure, we use the one in the parent Text
3798 structure via the casts mentioned above.
3799 * libspi/keystrokelistener.[ch]:
3800 * libspi/registry.c:
3801 Changes in support of keyboard handling (above).
3803 Keyboard handling, though partly functional, is still not
3804 recommended for at-spi client use as there is considerable
3805 work yet to be done.
3808 Changed some places where pointers to various int types
3809 are cast to be pointers to CORBA_long types and vice-versa:
3810 pointer casting is not safe so we pass pointers of the correct
3811 types and then cast the result before putting it into the target
3814 * libspi/text.h: minor typos corrected.
3816 We now speak not only the name of a Text element, but the
3817 first sentence of its content, when it receives focus.
3818 I also changed the text compression to 75% from 50%.
3819 * util/Accessibility_Util.server.in:
3820 Changed the default magnifier type to be a 3x vertical
3821 splitscreen magnifier (was previously a 2x horizontal one).
3823 2001-10-03 Bill Haneman <bill.haneman@sun.com>
3825 * libspi/keystrokelistener.h:
3826 * libspi/keystrokelistener.c:
3827 Initial functional implementations of KeystrokeListener.
3830 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3832 Fixed string handling for NULL strings in libspi.
3833 Added spi_freeString to free strings returned by C bindings.
3835 2001-09-30 Bill Haneman <bill.haneman@sun.com>
3837 * libspi/keystrokelistener.h:
3838 * libspi/keystrokelistener.c:
3839 Began (no-op) implementations of KeystrokeListener
3841 * libspi/deviceeventcontroller.c:
3842 * libspi/deviceeventcontroller.h:
3843 Began creating implementations of DeviceEventController,
3844 to handle keystroke and mouse event listening and
3846 * libspi/accessible.c:
3847 Stubbed-in the implementations for
3848 Accessibility_Accessible_getState and
3849 Accessibility_Accessible_getRelationSet.
3850 * libspi/registry.c:
3851 Improved de-registration process and fixed some bugs,
3852 deregistration now works correctly.
3854 Added initialization of applications list (to NULL).
3856 Reduced speech compression from 0.5 to 0.7, for demo.
3857 Changed call to gdk_window_set_decorations()
3858 to gtk_window_set_decorated().
3859 * at-bridge/bridge.c:
3860 Bridge now deregisters when app exits, via
3861 registration of a cleanup function
3862 with the g_atexit() call.
3863 Required making 'app' static, renamed 'this_app'.
3864 Fixed broken use of bonobo_init, passing argv wrongly.
3866 2001-09-27 Bill Haneman <bill.haneman@sun.com>
3870 Created a new directory for
3871 accessibility-related utilities, primarily for
3872 testing and demo purposes, but with possible
3879 Onscreen magnifier utility that
3880 is implemented as a bonobo service.
3882 * util/mag_client.c:
3883 * util/mag_client.h:
3884 Client-side support (simple C bindings)
3885 for Magnification service
3887 * util/mag_control.c:
3888 Client program example for
3889 Magnification service
3891 * util/Accessibility_Magnifier.server.in:
3892 Bonobo-activation file for the
3893 Magnification service.
3896 * util/idl/Magnifier.idl:
3897 IDL defining the bonobo Magnification
3901 Modifications to use the bonobo-activated magnifier
3902 above, in place of trying to connect to an existing
3903 magnifier that uses socket-listening IPC.
3905 If env variable MAGNIFIER is set, a magnifier service
3906 will be started if one does not exist.
3908 2001-09-25 Bill Haneman <bill.haneman@sun.com>
3910 * at-bridge/bridge.c:
3911 applied patch from Marc to build and run
3912 against new glib and gtk+ (seemed like a change
3913 to bonobo_init signature was made ?)
3915 made festival-server support turned off by default.
3916 Added support for a simple magnifier (off by default)
3917 which will be added to a 'util' directory later.
3918 * at-bridge/Makefile.am:
3919 Changed "application.h" header from a 'source'
3920 to a 'dependency' of libat-bridge.
3922 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3931 Added interface implementation c files to list of
3932 includes so they are included in libcspi.
3935 Changed prototype of AccessibleAction_doAction to return a
3937 Changed prototype of AccessibleTable_getCaption to
3938 return an Accessible.
3939 Changed prototype of AccessibleTable_getSelectedRows
3940 and AccessibleTable_getSelectedColumns to
3941 return a long (returns the number of selected rows
3942 or columns respectively).
3943 Changed name of AccessibleText_refRunAttributes to
3944 AccessibleText_getAttributes.
3945 Changed prototype of AccessibleText_getCharacterExtents to
3946 return a void rather than a boolean.
3947 Added support for a AccessibleCoordType parameter
3948 specifying what type of coordinates are desired.
3949 Added an AccessibleCordType parameter to
3950 AccessibleText_getPointAtOffset.
3952 * cspi/spi_accessible.c:
3953 Added code to return the outstanding interfaces from
3954 Accessible_queryInterface.
3956 * cspi/spi_action.c:
3958 Corrected call to getNActions to call the c binding
3961 * cspi/spi_editabletext.c:
3963 Changed name from setRunAttributes to setAttributes.
3965 * cspi/spi_hyperlink.c:
3967 Changed call to getNAnchors to correctly call the c
3968 binding for an attribute.
3970 * cspi/spi_hypertext.c:
3972 Changed getImageDescription to correctly call the
3973 binding for an attribute.
3975 * cspi/spi_selection.c:
3976 Changed getNSelectedChildren to correctly call the c
3977 binding for the attribute.
3978 Changed refSelectedChild to getSelectedChild.
3982 Changed getCaption to return an Accessible.
3983 Fixed calls which retrieve attributes.
3984 Changed refAt to getAccessibleAt.
3985 Changed getNSelectedRows and getNSelectedColumns to
3989 Changed getCharacterExtents and getPointAtOffset to accept an
3990 AccessibleCoordType.
3992 Changed calls which retrieve attributes.
3993 Changed refRunAttributes to getAttributes.
3998 * idl/Hyperlink.idl:
3999 Changed n_anchors attribute to nAnchors to keep naming
4000 convention consistent.
4003 Made Table inherit from Bonobo::Unknown.
4004 Added nSelectedColumns and nSelectedRows attributes.
4007 Made Value inherit from Bonobo::Unknown.
4009 * libspi/hyperlink.c:
4010 Change for nAnchors attributte name change.
4012 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4020 Added interface implementation c files to list of
4021 includes so they are included in libcspi.
4024 Changed prototype of AccessibleAction_doAction to return a
4026 Changed prototype of AccessibleTable_getCaption to
4027 return an Accessible.
4028 Changed prototype of AccessibleTable_getSelectedRows
4029 and AccessibleTable_getSelectedColumns to
4030 return a long (returns the number of selected rows
4031 or columns respectively).
4032 Changed name of AccessibleText_refRunAttributes to
4033 AccessibleText_getAttributes.
4034 Changed prototype of AccessibleText_getCharacterExtents to
4035 return a void rather than a boolean.
4036 Added support for a AccessibleCoordType parameter
4037 specifying what type of coordinates are desired.
4038 Added an AccessibleCordType parameter to
4039 AccessibleText_getPointAtOffset.
4041 * cspi/spi_accessible.c:
4042 Added code to return the outstanding interfaces from
4043 Accessible_queryInterface.
4045 * cspi/spi_action.c:
4047 Corrected call to getNActions to call the c binding
4050 * cspi/spi_editabletext.c:
4052 Changed name from setRunAttributes to setAttributes.
4054 * cspi/spi_hyperlink.c:
4056 Changed call to getNAnchors to correctly call the c
4057 binding for an attribute.
4059 * cspi/spi_hypertext.c:
4061 Changed getImageDescription to correctly call the
4062 binding for an attribute.
4064 * cspi/spi_selection.c:
4065 Changed getNSelectedChildren to correctly call the c
4066 binding for the attribute.
4067 Changed refSelectedChild to getSelectedChild.
4071 Changed getCaption to return an Accessible.
4072 Fixed calls which retrieve attributes.
4073 Changed refAt to getAccessibleAt.
4074 Changed getNSelectedRows and getNSelectedColumns to
4078 Changed getCharacterExtents and getPointAtOffset to accept an
4079 AccessibleCoordType.
4081 Changed calls which retrieve attributes.
4082 Changed refRunAttributes to getAttributes.
4087 * idl/Hyperlink.idl:
4088 Changed n_anchors attribute to nAnchors to keep naming
4089 convention consistent.
4092 Made Table inherit from Bonobo::Unknown.
4093 Added nSelectedColumns and nSelectedRows attributes.
4096 Made Value inherit from Bonobo::Unknown.
4098 * libspi/hyperlink.c:
4099 Change for nAnchors attributte name change.
4102 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
4104 implementations-- made server implementations own AtkObject pointers
4105 rather than their respective AtkInterrface pointers to fix
4106 refcounting. AtkHyperlink is still broken.
4108 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4109 * cspi/spi_accessible.c:
4110 Added method Accessible_Role_getName(),
4111 and requisite string array (role_names).
4112 Added conversion string_from_corba_strin() call
4113 to Accessible_getName and _getDescription.
4114 * libspi/accessible.c:
4115 Added implementation for Accessible_getRole()
4117 Added festival support, used if environment variable
4120 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4122 * at-bridge/bridge.c:
4123 Now allocate Accessibility_Event using
4124 Accessibility_Event__alloc() instead of g_new0().
4125 * libspi/accessibleeventlistener.c:
4126 Initialize AccessibleEventListener->callbacks to NULL.
4127 Fixed accessible__event_listener_init() param, changed to
4128 "AccessibleEventListener *" type.
4129 Changed a bonobo_object_release_unref() call to
4130 Accessibility_Accessible_unref().
4131 * libspi/listener.c:
4132 Changed Bonobo_Unknown_unref to (equivalent)
4133 Accessibility_Accessible_unref.
4134 * libspi/registry.c:
4135 Changed bonobo_object_release_unref to
4136 Accessibility_Accessible_unref.
4138 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4141 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
4142 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
4143 spi-util.c spi-util.h
4144 Implementations for C bindings to remaining accessibility
4147 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4150 changed return value of Action from void to boolean to
4151 bring in line with ATK.
4154 Changed getText funcions to return "out" start and end offsets.
4155 Changed getAttributes to take and offset and return the start
4156 and end offset of the attribute run.
4157 Changed getOffsetAtPoint and getCharacterExtents to take an
4158 enum describing whether coordinates are window or screen.
4161 libspi/action.c libspi/action.h libspi/editabletext.c
4162 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
4163 libspi/hypertext.c libspi/hypertext.h libspi/image.c
4164 libspi/image.h libspi/selection.c libspi/selection.h
4165 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
4166 libspi/value.c libspi/value.h
4167 Added server implementations for outstanding ATK interfaces
4168 not yet implemented.
4170 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4173 Added (missing) getName() method.
4174 Made nActions an attribute.
4175 * idl/EditableText.idl:
4176 Changed order of params in setAttributes.
4177 * idl/Hyperlink.idl:
4178 Removed getAnchor, added getURI.
4180 Changed attributes to methods, for efficiency
4181 (so that getting extents can be done in one call)
4182 * idl/Selection.idl:
4183 Changed nSelectedChildren to attribute, and re-indented.
4184 * idl/Table.idl: changed nrows, ncolumns, caption, summary
4186 * idl/Text.idl: reformatted to match our coding style.
4187 (temporarily?) removed getRowColumnAtOffset().
4188 Changed text selection API to support multi-select and
4189 non-contiguous selections, as in ATK.
4190 * idl/Value.idl: changed some methods to attributes.
4192 2001-08-24 Mark McLoughlin <mark@skynet.ie>
4194 * libspi/listener.c(impl_notify_event):
4195 BonoboUnkown_unref the source instead
4196 of bonobo_object_release_unref - the ORB
4197 handles the releasing.
4199 * configure.in: require ORBit-2.3.94 for
4202 2001-08-21 Bill Haneman <bill.haneman@sun.com>
4204 Tagged CVS repository 'EA_1_0'.
4205 * README.EARLY_ACCESS:
4206 Alphabetized acknowledgements list, and
4208 Listed some known dependencies of at-spi.
4210 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4212 * docs/at-spi-docs.sgml:
4213 * docs/at-spi-sections.txt:
4214 * docs/at-spi-overrides.txt: (Added zero-length file)
4215 Documentation improvements - gtk-doc should build
4216 docs for all implemented C bindings now.
4219 * cspi/spi.c: (New file)
4220 * cspi/spi_event.c: (New file)
4221 * cspi/spi_registry.c: (New file)
4222 * cspi/spi_accessible.c: (New file)
4223 * cspi/spi_application.c: (New file)
4224 * cspi/spi_component.c: (New file)
4225 Split spi_main.c into six parts, and included them from
4226 "spi.c". This is a bit of a hack, probably temporary,
4227 but required by gtk-doc, apparently.
4229 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4232 * docs/at-spi-docs.sgml:
4233 * docs/at-spi-sections.txt:
4235 Initial checkins/modifications for gtk-doc generation.
4238 Added (missing) interface query methods to Accessible's C binding.
4240 Added GenericInterface type definition.
4242 Added query for AccessibleComponent interface to focus event handler.
4243 Added printout of bounding box for focussed component.
4244 * libspi/component.c:
4245 Added partial implementation for AccessibleComponent to C binding.
4246 * idl/Application.idl:
4247 * libspi/registry.c:
4248 * libspi/listener.c:
4249 * libspi/application.c:
4250 * libspi/application.h:
4251 Changed "ID" attribute type from string to long.
4253 2001-08-19 Bill Haneman <bill.haneman@sun.com>
4257 Made method naming consistent: methods taking object args
4258 start with uppercase, other methods (except those using
4259 acronyms) start with lowercase. Underscores delimit between
4260 object names and method names:
4261 SPI_init() - uppercase since it starts with an acronym.
4262 getDesktopCount () - lowercase start since no object param0.
4263 Accessible_getName() - uppercase object type name, studlyCaps method
4267 Added gtk-doc documentation for all currently implemented
4268 methods in the C bindings API.
4270 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4272 * Makefile.am : changed build order to build test last.
4275 Changed "createEventListener" to "CreateEventListener".
4276 * libspi/accessibleeventlistener.c :
4277 Bugfix for addition of callbacks.
4278 * test/Makefile.am :
4279 * test/simple-at.c :
4280 Added new test that uses the C bindings API.
4282 * libspi/listener.c :
4283 * libspi/registry.c :
4284 * libspi/accessibleeventlistener.c :
4285 * at-bridge/bridge.c :
4286 Renamed member "target" of Accessibility_Event to "source",
4287 which is more descriptive.
4290 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4294 * cspi/Makefile.am :
4295 Added makefile support for at-spi/cspi directory.
4298 * cspi/spi-listener.h : (NEW FILE)
4299 Added support for/use of spi-listener.h.
4301 C bindings now build successfully, with no warnings.
4302 * libspi/accessibleeventlistener.h : (NEW FILE)
4303 * libspi/accessibleeventlistener.c : (NEW FILE)
4304 * libspi/Makefile.am :
4305 Added new object type "AccessibleEventListener"
4306 which inherits from Listener, and allows attachment
4307 of in-process callbacks (so that a client with a listening
4308 object instance can add functionality to the local
4309 implementation, dynamically).
4311 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4313 * libspi/accessible.c:
4314 Add implementation for get_index_in_parent().
4316 Added #include of "spi-roletypes.h", and
4317 added enumerated type AccessibleCoordType.
4318 Added definition for KeystrokeListener (function type).
4321 * cspi/spi-statetypes.h :
4322 * cspi/spi-roletypes.h :
4324 Added these headers, used by spi.h.
4326 Added code (NOTE: not yet built by make).
4328 2001-08-18 Mark McLoughlin <mark@skynet.ie>
4330 * libspi/Makefile.am: generate imodule
4331 at the same time as other idl compiler
4334 2001-08-17 Bill Haneman <bill.haneman@sun.com>
4335 * libspi/registry.c :
4336 * libspi/application.c :
4337 * idl/Application.idl :
4338 Made registration with toolkit an application method,
4339 which is required since each app has its own toolkit static
4340 environment. Thus the bridge must register for
4341 notification of toolkit events from each application in turn.
4342 Toolkit notifications are now successfully registered for, and
4343 sent to the listening at client.
4345 Changed toolkit event string to use hyphens rather than underscores.
4346 * libspi/listener.c :
4347 listner now gives more info in debug mode - it reports the
4348 name of the event received, as well as the name of the source.
4351 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4353 * libspi/registry.c :
4354 added more implementation for toolkit events.
4355 Fixed bug such that toolkit event registrations
4356 (via atk) use the whole event name string, not
4358 Removed a useless call to an ORBit_ method.
4359 * at-bridge/bridge.c :
4360 Removed unused local sbuf[] variable.
4362 We now register for Gtk:GtkWidget:button_press_event
4363 events as well as "focus:" events.
4365 Add some more API from Registry.idl that was missing,
4366 for keystroke listening, keystroke and mouse event
4367 synthesis, and enumeration of accessible desktops.
4369 2001-08-16 Michael Meeks <michael@ximian.com>
4371 * configure.in: use AM_GLIB_GNU_GETTEXT.
4373 * Makefile.am (SUBDIRS): kill intl.
4375 2001-08-15 Michael Meeks <michael@ximian.com>
4377 * registryd/Makefile.am: s/oaf/server/ relocate info file.
4379 * configure.in: upd.
4381 * configure.in: depend on a recent bonobo-activation that
4382 will find our server files ...
4384 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4386 * libspi/accessible.c : accessible_new() :
4387 Now we add the Component interface via bonobo_object_add_interface,
4388 if the contained AtkObject implements AtkComponent.
4389 * libspi/accessible.h : now include "component.h"
4390 * libspi/component.h :
4391 * libspi/component.c : added files - implementation of
4392 bonobo wrapper object for Accessibility/Component
4393 * libspi/listener.c :
4394 Added test code to check for Accessibility/Component:1.0
4395 interface and report whether it is implemented by the
4397 * libspi/registry.c :
4398 Now we check for not only the hash of the whole event
4399 string before relaying the event, we also check the
4400 "minor" event string (without the detail string).
4401 This allows event listeners to be registered against
4402 all events of a certain major+minor type, or just
4403 against a specific major+minor+detail type.
4404 * libspi/accessible.c :
4405 Added implementations for Accessible:get_parent(),
4406 Accessible:getChildCount(), and Accessible:getChildAtIndex().
4407 * libspi/registry.c :
4408 * libspi/listener.c :
4409 Replaced calls to Accessibility_Accessible_ref() and
4410 Accessibility_Accessible_unref() with
4411 calls to bonobo_object_dup_ref() and
4412 bonobo_object_release_unref(), so that the CORBA object
4413 is dup-ed and released when relayed, as well as the bonobo object.
4415 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4417 * libspi/Makefile.am,
4418 registryd/Makefile.am,
4419 at-bridge/Makefile.am.
4420 test/Makefile.am, configure.in:
4421 reverse previous changes.
4423 * /idl/Image.idl: fix typo.
4425 * test/Makefile.am: put DEBUG_FLAGS
4428 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4430 * test/app.c: use argv[0] instead of
4433 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4435 * libspi/Makefile.am,
4436 registryd/Makefile.am,
4437 at-bridge/Makefile.am.
4438 test/Makefile.am, configure.in:
4439 cleanup, replace individual LIBS/CFLAGS with
4440 AT_COMMON_{LIBS|CFLAGS}.
4444 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4446 * configure.in, libspi/Makefile.am:
4447 Change IDL path checking for bonobo-activation
4450 2001-08-15 Bill Haneman <bill.haneman@sun.com>
4452 * registryd/registry.c : separated event listeners to use
4453 3 separate lists (focus, window, toolkit). Began testing
4454 event names against hashes before relaying events.
4455 * test/at.c : now register for events of type "focus:"
4456 * test/app.c : now generate events of type "focus:"
4457 * at-bridge/bridge.c : register with ATK for focus events,
4458 and we now relay those focus events to any "focus:" listeners.
4459 This now works with the bridge as a GTK_MODULE when running test/at.
4460 * libspi/registry.c :
4461 * libspi/listener.c :
4462 now we ref event sources before propagating, and unref on receipt.
4463 * libspi/registry.c :
4464 some changes to internal structs, to support event typestring hashes.
4465 * text/app.c : changed the way the appname is generated.
4466 * cspi : added directory that will hold the C bindings library for
4467 non-CORBA/bonobo-savvy clients.
4468 * cspi/spi.h : header file that contains the function prototypes for the C binding.
4469 * idl/Component.idl : added in parameter to indicate coord system for
4470 geometry-related calls.
4471 * idl/Hyperlink.idl : added readonly n_links attribute
4472 * idl/Image.idl : changed methods to attributes.
4474 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4476 * at-bridge/Makefile.am: link against
4477 ../libspi/libspi.la instead of -lspi.
4479 * at-spi/test/app.c: include
4480 bonobo-activation.h. Use a default appname
4481 if one is not provided.
4483 2001-08-14 Bill Haneman <bill.haneman@sun.com>
4485 * idl/Registry.idl : temporarily changed register_Application
4486 to oneway, to work around issue with initial registration
4488 * idl/Application.idl : changed attribute "id" from readonly
4489 to read-write, since it needs to be assigned by Registry.
4490 * registryd/registryd.c : added call to set application id
4492 * registryd/registry.c : changed de-registration procedure to
4493 use CORBA_Object_hash() to find matching object ref in application
4494 lists and listener lists.
4495 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
4496 began distinguishing between event types (work in progress).
4498 2001-08-13 Bill Haneman <bill.haneman@sun.com>
4501 * libspi/application.c:
4502 Added implementations for get/set id, get_toolkitName,
4504 * registryd/registryd.c :
4508 Converted from use of OAF to bonobo-activation.
4509 * libspi/desktop.h :
4510 * libspi/desktop.c :
4512 Removed references to atksimpleobject, since base atkobject
4513 implementation now provides functionality we need.
4514 * libspi/atksimpleobject.c :
4515 * libspi/atksimpleobject.h :
4520 * at-bridge/Makefile.am
4521 * at-bridge/bridge.c
4524 Added directory "bridge" and contents, and added dependencies
4525 in Makefile.am/configure.in.
4526 Initial checkin of "at-bridge".
4527 This code is a GTK_MODULE which automatically registers
4528 GTK+ apps with the accessibility registry, using an object
4529 reference to the root ATK object.
4531 2001-08-10 Mark McLoughlin <mark@skynet.ie>
4533 * po/Makefile.in.in: Remove. Again. If this
4534 doesn't get autogenerated - you need to update
4537 2001-08-07 Mark McLoughlin <mark@skynet.ie>
4539 * po/Makefile.in.in: Add. Again.
4541 2001-07-31 Bill Haneman <bill.haneman@sun.com>
4543 * libspi/accessible.c : added support for 'description' property.
4544 * libspi/accessible.c
4546 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
4547 (since the two are now equivalent in libbonobo)
4555 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
4556 Bonobo::Unknown as does Accessibility::Accessible.
4557 * idl/StreamableContent.idl : as above, and replaced internal InputStream
4558 interface with Bonobo::Stream, since it was redundant with it.
4559 (The Stream returned by a StreamableContext object is expected to
4560 implement only a subset of Bonobo::Stream)
4562 2001-07-28 Anders Carlsson <andersca@gnome.org>
4564 * libspi/accessible.c (accessible_object_finalize): Change
4565 g_free to g_object_unref since the AtkObject is a GObject.
4567 2001-07-30 Bill Haneman <bill.haneman@sun.com>
4569 * idl/Accessibility.idl: add new IDL files
4572 * idl/Action.idl: Definitions of actionable UI object
4573 * idl/Component.idl: Definitions of UI component geometry, etc.
4574 * idl/Hyperlink.idl: Defs of hyperlink behavior
4575 * idl/Image.idl: Def of accessible image
4576 * idl/Selection.idl: Definition of UI object with selectable children
4577 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
4578 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
4579 * idl/Text.idl: Interface defs for UI elements with complex textual content
4580 * idl/Value.idl: Definition of UI element that is a value controller or display
4582 2001-07-27 Michael Meeks <michael@ximian.com>
4584 * po/Makefile.in.in: remove autogenerated file from CVS.
4586 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
4589 * idl/Registry.idl: include guard.
4591 * idl/Accessibility.idl: Add, and include all the other IDL
4594 * idl/*.idl: remove mass of pragmas etc.
4596 2001-07-26 Michael Meeks <michael@ximian.com>
4598 * registryd/Makefile.am (registryd_SOURCES): remove
4601 2001-07-27 Mark McLoughlin <mark@skynet.ie>
4603 * libspi/.cvsignore, registryd/.cvsignore,
4604 test/.cvsignore: updated.
4606 * po/Makefile.in.in: gettext update.
4608 2001-07-25 Bill Haneman <bill.haneman@sun.com>
4610 * initial CVS checkin
4612 2001-06-29 Michael Meeks <michael@ximian.com>
4614 * configure.in: add AM_CONFIG_HEADER to gen config.h