1 2002-10-15 Bill Haneman <bill.haneman@sun.com>
4 Added key mask #defines for mouse buttons; e.g.
5 SPI_KEYMASK_BUTTON1, etc.
8 Incremented dependency on ATK to version 1.1.0. (This dependency
9 is probably premature but will soon be real enough).
11 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
13 * libspi/hyperlink.[ch]
14 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
15 (get_hyperlink_from_servant): Check object is AtkHyperlink not
18 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
23 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
25 * registryd/deviceeventcontroller.c
26 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
28 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
29 keyboard_mode so that XAllowEvents() can be called.
33 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
35 * cspi/spi-accessible.c: Correct names of roles returned by
36 AccessibleRole_getName(). Fixes bug #95055.
38 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
40 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
43 * registryd/registry.c
44 (desktop_remove_application: Write diagnostic message to stderr for
47 (impl_accessibility_registry_deregister_global_event_listener):
48 Correct size of lists array. This addresses bug #94555).
50 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
52 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
55 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
57 * registryd/Makefile: Add CLEANFILES so that .server file is removed
60 * registryd/registry.c (impl_registry_notify_event): Remove
61 unnecessary call to parser_event_type().
63 * docs/reference/cspi/tmpl/spi_component.sgml:
64 Add reference to SPI_LAYER_WINDOW.
66 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
68 * registryd/registry.c
69 (desktop_add_application): Remove leak.
70 (desktop_remove_application): Remove leak.
71 (parser_event_type): Remove leak.
73 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
75 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
76 bogus call to CORBA_string_dup(). Also removed unnecessary
77 g_string_dup/g_free calls.
79 2002-09-13 Bill Haneman <bill.haneman@sun.com>
81 * registryd/deviceeventcontroller.c:
82 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
84 * test/event-listener-test.c:
85 main: commented out three redundant listeners, to reduce output
86 noise. (They still are potentially useful for testing).
89 2002-09-13 Michael Meeks <michael@ximian.com>
91 * Update all the copyrights to include Ximian.
93 2002-09-06 Mark McLoughlin <mark@skynet.ie>
95 * cspi/spi.h: add SPI_LAYER_WINDOW.
97 * cspi/spi_component.c: (AccessibleComponent_getLayer):
98 add Accessibility_LAYER_WINDOW case.
100 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
102 * libspi/component.c: (impl_accessibility_component_get_layer):
103 add ATK_LAYER_WINDOW case.
105 2002-08-28 Bill Haneman <bill.haneman@sun.com>
107 * configure.in: incremented micro version.
109 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
111 2002-08-20 Bill Haneman <bill.haneman@sun.com>
114 Clarified and reworded our commit policy.
117 Started an API "todo" addition list for 2.2.
121 Free char pointer from atk_text_get_selection, which was being leaked.
123 2002-08-19 Bill Haneman <bill.haneman@sun.com>
126 Small revision to author acknowledgement.
128 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
130 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
131 If signal has detail add it to the type of the event.
134 2002-08-12 Michael Meeks <michael@ximian.com>
136 * test/test-simple.c (global_listener_cb): bin bogosity.
137 (test_keylisteners): disable, still doesn't work reliably,
138 certainly not on my system anyway.
140 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
141 don't leak a reference on the DEC. This round-trip
142 fetching of the DEC per keystroke sucks, it should be
145 * cspi/spi-private.h,
146 * cspi/cspi-lowlevel.h,
147 * cspi/bonobo/cspi-bonobo-listener.[ch],
148 * cspi/bonobo/cspi-bonobo.c: get the copyright
149 notices better - there is still a large amount of
150 work in at-spi falsely attributed solely to Sun.
152 * cspi/spi_main.c (cspi_object_ref): kill bogus
153 hash lookup, just increment the ref.
154 (SPI_freeString): make explicit the fact that we
155 handle NULL strings just fine.
156 (report_leaked_ref): obey coding standards.
157 (cspi_object_hash, cspi_object_equal): kill retval.
158 (cspi_object_release): only release if not on loan.
159 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
160 (cspi_object_borrow, cspi_object_return): impl.
162 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
163 use cspi_object_borrow / return.
165 2002-08-12 Darren Kenny <darren.kenny@sun.com>
167 * cspi/bonobo/cspi-bonobo-listener.c:
169 Don't call cspi_oject_new() because this is creating a new Accessible
170 every single time that an event is fired. This causes ATs like at-poke
171 to nolonger recognise the source of the event and thus ignore it.
172 Re-use the object from the cache, ref it and then unref it after the
173 listeners have been called.
175 2002-08-06 Darren Kenny <darren.kenny@sun.com>
177 * test/event-listener-test.c:
178 Added command-line options to disable mouse events (m) and
181 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
183 * configure.in: Update required versions of ATK, GTK+ and GAIL
185 * cspi-1.0.pc.in: Add dependency for X include files
188 * cspi/bonobo/Makefile.am:
189 Add $(X_CFLAGS) so that X include files
190 are picked up even if not in standard place (bug #71686)
192 2002-06-25 Bill Haneman <bill.haneman@sun.com>
194 * registryd/deviceeventcontroller.c: fix for 84261
195 (spi_dec_mouse_moved):
196 Added test of mouse button mask, so that we can detect mouse
197 button release. Unfortunately we can't otherwise detect mouse
198 button release events without consuming the mouse press event,
199 because of the way XGrabButton works. This means that our mouse
200 release events have a latency dependent on the polling period
201 while the mouse button is down. At least in this case we only
202 have to poll while the button is down, and not at other times.
203 If the button masks don't match with what the last press event
204 reported, we report the appropriate button release event.
205 (spi_dec_ungrab_mouse):
206 New method (not yet called).
207 (spi_device_event_controller_forward_mouse_event):
208 New method, sends mouse press event from GdkFilter.
209 (spi_dec_init_mouse_listener):
210 Added code to call XGrabButton, redirecting mouse button events to
211 the root window and our Gdk event loop.
213 Added code to filter mouse button events, and reordered.
215 * test/event-listener-test.c:
217 Added registration for mouse events of type "mouse:button".
219 2002-06-25 Bill Haneman <bill.haneman@sun.com>
221 * registryd/deviceeventcontroller.c: partial fix for 84261
222 (spi_dec_poll_mouse_idle):
223 New method, a timeout which checks to see if the mouse
225 (spi_dec_poll_mouse_moving):
226 A timeout to be called when mouse motion is underway.
227 (spi_dec_poll_mouse_moved):
228 A method which fires an event if the mouse has moved, and reports
229 whether or not it did so.
230 (spi_dec_init_mouse_listener):
231 A method which sets up the timeouts above.
232 (spi_device_event_controller_new):
233 Now calls spi_dec_init_mouse_listener.
235 * registryd/registry.c:
237 Now we initialize the device event controller when the registry is
238 initialized, instead of waiting until a client has requested a key
239 event notification; this is because we need the event controller
240 for mouse events, but the mouse event registration API is a
241 "registry" call and doesn't explicitly call the
242 deviceeventcontroller.
243 We now report mouse motion events with a 100 ms idle latency and
244 a 20 ms granularity when motion is in progress.
246 * test/event-listener-test.c:
248 We now register the "detail listener" for events of type
249 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
250 delivered only for the first mouse event received, and thereafter
251 "mouse:abs" events are delivered.)
253 * cspi/spi_registry.c:
254 DOCS: Documented the above mouse event typestrings.
256 2002-06-21 Bill Haneman <bill.haneman@sun.com>
258 Happy Summer Solstice...
260 * registryd/deviceeventcontroller.c: [fix for bug 84100]
261 (spi_controller_notify_keylisteners):
262 Changes to remove a listener from the listener list, freeing its
263 open keygrabs, if a notification to that listener fails. This
264 means that although a dead listener can continue to hold a passive
265 keygrab, a maximum of one dispatch to such a listener can fail
266 before the listener is removed from the list, thus the keygrab
267 will be released on the next occurrence.
269 (spi_notify_keylisteners):
270 Renamed to spi_controller_notify_keylisteners, as the controller
271 instance must now be passed as an argument.
272 The copied 'notify' GList is now a list of DEControllerKeyListener
273 objects, since we need more than just the CORBA reference if a
274 notify fails and we need to deregister the listener.
275 (impl_notify_listeners_sync):
276 (impl_notify_listeners_async):
277 (spi_device_event_controller_forward_key_event):
278 Modify use of notify_keylisteners in accordance with above
280 (spi_deregister_controller_key_listener):
281 New method introduced by refactoring, from
282 impl_deregister_keystroke_listener.
283 (impl_deregister_keystroke_listener):
284 Call spi_deregister_controller_key_listener.
285 (spi_key_listener_clone):
286 New method to copy a key listner without doing a 'ref' on the
287 remote object instance; used to create a notifier list.
288 (spi_key_listener_data_free):
289 New method, frees data without unreffing the source.
291 (spi_key_listener_clone_free): new method.
292 (spi_key_listener_free):
293 refactored to call spi_key_listener_data_free.
295 2002-06-20 Bill Haneman <bill.haneman@sun.com>
297 * registryd/registry.c: [fix for bug 86048]
298 (notify_listeners_cb):
299 Clear CORBA system exceptions which occur when notifying
300 listeners, before returning to the source of the original event,
301 since the event source doesn't care if the relayed notify failed.
302 In other words, don't complain to the atk-bridge if the registry
303 could not notify all its listeners, that's no fault of the
304 application and thus should not appear to be an error from the
305 application's perspective.
307 * cspi/spi_main.c: [fix for bug 85980]
309 Replaced use of bonobo_object_dup_ref with call to the wrapper
310 method, csou_dup_ref (); this silences a compiler warning and
311 provided more portability.
313 Ping the registry before return, and restart if necessary.
315 * cspi/bonobo/cspi-bonobo.c:
319 Fixed this method to return an object reference, as it should have
322 * cspi/cspi-lowlevel.h:
323 Added internal definition for cspi_ping() and fixed
324 return type of cspi_dup_ref().
327 2002-06-19 Bill Haneman <bill.haneman@sun.com>
329 * atk-bridge/bridge.c: [fix for bug 85305]
330 (spi_atk_bridge_register_application):
331 New method where the initial application registry calls have been
332 moved; it allows an application to re-register in response to
333 certain error conditions (such as a registry restart, see below).
335 Moved some initialization code to the method
336 spi_atk_bridge_get_registry, below.
337 (spi_atk_bridge_get_registry):
338 New, private accessor function for the Accessibility_Registry
339 instance. If the registry has not been started before, or has
340 died (as detected by failure of a CORBA exception), it is
341 restarted before return, and spi_atk_bridge_register_application
342 is called again to register with the new bridge instance.
343 (spi_atk_emit_eventv):
344 Set registry_died on error; use spi_atk_bridge_get_registry () to
347 * registryd/registry.c:
348 (impl_accessibility_registry_register_global_event_listener):
349 Set listener's event_type_quark to etype.minor instead of
350 etype.major (fix for bug 84856).
352 * test/event-listener-test.c:
353 (report_detail_event):
354 Change the output string so that user/tester can tell that the
355 'detail listener' was called instead of the 'generic listener'.
357 2002-06-18 Bill Haneman <bill.haneman@sun.com>
359 Fixes for bugs 84900, 84908, 84897, 84898.
364 Revved version to 1.1.0
365 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
366 version is going to HEAD which will be used for gnome-2-0-1 and later.)
368 * idl/Accessibility_Registry.idl:
369 (EventListener::notifyEvent):
370 Removed 'oneway' directive after extensive consulation with
371 ORBit2 team and others. This means also that unref() of the event
372 source can and should be done synchronously after emission, rather
373 than remotely in the client, after servicing the notify call on
376 NOTE: This change speeds up listener performance considerably, but
377 introduces new latency on the application side. We may want to
378 add an event queue to the atk-bridge.
380 * atk-bridge/bridge.c:
381 (spi_atk_bridge_focus_tracker):
382 Do a local unref() on the event source after emission.
384 * registryd/registry.c:
385 (desktop_remove_application):
386 Do an unref() on the event source after emission.
387 (desktop_add_application):
388 Do an unref() on the event source after emission.
389 (notify_listeners_cb):
390 When relaying an event, don't automatically add the event source
391 to the local object cache, just CORBA_dup it instead. Likewise,
392 if this method reenters, release the ref rather than calling
394 (impl_registry_notify_event):
395 No longer call remote unref() on the event source after dispatch.
397 * libspi/eventlistener.c:
398 (impl_accessible_event_notify_event):
399 Removed remote unref ()
401 * cspi/bonobo/cspi-bonobo-listener.c:
403 We now call cspi_object_new() instead of cspi_object_add() on
404 receipt of an event; thus we only have an implicit object ref
405 while the cspi_event method is being executed. If we need to keep
406 a reference to the object, the listener must call ref() on the
407 object. Thus also we don't need to call cspi_object_unref() after
408 invoking the listener callbacks in this method.
412 New internal API for creating a new cspi object, without adding it
415 Now uses cspi_object_new() to create the cspi object instance.
417 Now checks to see if the object is in the internal object cache,
418 and adds it if necessary before incrementing its refcount (note
419 that new objects are added with a refcount of 1).
421 New method which gives some information on leaked object instances
422 if leak detection is turned on.
424 * test/event-listener-test.c:
426 New method, used for testing event delivery timing for special
427 events of type "object:test". It reports elapsed time and
428 events/sec every 500 events.
430 Added a new listener, 'test listener', to check timing of event
431 receipt as noted above.
433 Added some timing output here also, reports elapsed time every 100
436 * test/stress-test.c:
437 Emit events of type "object:test", for use with "event-listener-test".
439 * test/test-simple.c:
440 (global_listener_cb):
441 Call Accessible_ref() on the event source before calling
442 validate_accessible, since the validation process does pointer
443 comparisons on the event source, meaning that the event source
444 needs to be added to the local object cache first. Any use of
445 such pointer comparisons between Accessible objects requires that
446 the caller hold an explicit reference to those objects.
447 We also must therefore call Accessible_unref() when leaving this method.
449 2002-06-13 Bill Haneman <bill.haneman@sun.com>
451 * registryd/deviceeventcontroller.c:
452 (spi_controller_update_key_grabs):
453 Fix for #84735, subsequent keygrab listeners not informed of
454 registration failure.
457 (spi_base_construct):
458 Add an assertion on construct, to make sure the GObject passed in
461 Explicitly initialize object->gobj pointer to NULL;
463 * cspi/bonobo/cspi-bonobo-listener.c:
464 (cspi_object_add_ref):
465 New method, can specify whether to dup-ref a bonobo object passed
466 in if it's newly added to the object cache.
468 Now calls cspi_object_add_ref with second param of "FALSE". This
469 prevents us from doing a pointless dup-ref followed by
470 release-unref for all those cases where the object is already in
471 our object cache (fix for #85205).
473 * atk-bridge/bridge.c:
474 (spi_atk_bridge_idle_init):
475 Removed this method, we don't need to initialize in an idle
478 Changed to call spi_atk_register_event_listeners directly, not via an
479 idle handler. (fix for #81139)
480 (gnome_accessibility_module_shutdown):
481 Removed conditional around deregistration of listeners, since we
482 don't use the idle handler and thus have always registered when
484 (spi_init_keystroke_from_atk_key_event):
485 Changed references to Accessibility_KEY_PRESSED to
486 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
488 2002-06-12 Bill Haneman <bill.haneman@sun.com>
490 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
495 * test/stress-test.c:
498 (may have been an incomplete commit yesterday?)
500 2002-06-12 Bill Haneman <bill.haneman@sun.com>
503 Added target for new stress-test.
505 * test/stress-test.c:
506 New test, sends 1000 focus notifies in quick succession.
508 * test/key-listener-test.c:
509 Now we report whether a keylistener registration
510 request succeeded or failed.
512 * test/event-listener-test.c:
513 Uncommented some listeners which are now implemented.
516 2002-06-06 Bill Haneman <bill.haneman@sun.com>
518 * registryd/deviceeventcontroller.c:
519 (spi_controller_update_key_grabs):
520 Fix for #82509, lack of failure notification when
521 ALL_WINDOWS keygrabs fail due to XGrabKey
522 failure: we synchronize the server when
523 registering a passive grab, to make sure we get the
524 error message before the call returns.
526 2002-06-03 Bill Haneman <bill.haneman@sun.com>
528 * test/test-simple.c:
530 Removed #ifdef KEY_IMPL_WORKS guards.
532 Removed #ifdef KEY_IMPL_WORKS guards.
533 Fixed bug which was causing a hang waiting for a
534 "press" event (which was already overwritten by a "release"
535 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
537 Added code to set globals 'key_press_received' and
538 'key_release_received'.
541 Added section "1.1 API Proposed Additions" which
542 lists API additions desired for at-spi-1.1 (only one so far).
543 Updated TODO list a little.
545 2002-06-02 Bill Haneman <bill.haneman@sun.com>
547 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
550 * configure.in: Revved to 1.0.0.
552 * idl/Accessibility_Registry.idl:
553 (registerKeystrokeListener):
554 Added boolean return value.
556 * registryd/registry.c:
557 (notify_listeners_cb): Minor fix to debug output.
559 * registryd/Accessibility_Registry.server.in.in:
560 Revved version number in OAFIID to 1.0.
562 * registryd/registryd.c:
564 Use new OAFIID version.
566 * cspi/bonobo/cspi-bonobo.c:
568 Use new OAFIID version.
574 * atk-bridge/bridge.c:
576 Use new OAFIID version.
578 * registryd/deviceeventcontroller.c:
579 (impl_register_keystroke_listener):
580 Added CORBA_boolean return value.
581 (spi_controller_register_device_listener):
582 Added gboolean return value.
583 (spi_controller_register_global_keygrabs):
584 Added gboolean return value.
585 (spi_key_set_contains_key):
586 Added implementation for many more control keys,
587 for instance F1-F12, arrow keys, End, Home, Page_Up,
589 [TODO: some still not implemented].
591 * text/screen-review-test.c:
592 (text_chunk_pad_string):
593 New function: it provides mapping between coordinate
594 positions of text chunks and character positions in the
595 screen-review-line output string.
596 (text_chunk_to_string):
597 New function, calls text_chunk_pad_string with various
598 pad/delimiter characters. Pushbuttons are delimited with
599 square brackets, Frames with vertical 'pipe' lines, and
600 other text with double quotes.
601 (text_chunk_list_to_string):
602 Calls new function text_chunk_to_string.
603 (toplevel_composite):
604 New function to composite layers CANVAS through
605 POPUP in each toplevel (other layers are composited
606 across toplevels, i.e. BACKGROUND and OVERLAY).
607 (review_buffer_composite):
608 Revise to use new methods.
614 2002-05-31 Laszlo Peter <laca@sun.com>
616 * configure.in: add the Xtst libdir to the runpath on Solaris,
617 since it's not in the default library search path.
619 2002-05-29 jacob berkman <jacob@ximian.com>
621 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
623 2002-05-29 Bill Haneman <bill.haneman@sun.com>
625 * test/screen-review-test.c:
626 (text_chunk_pad_string):
627 Added method, which pads the string according to the
628 text bounds of the chunk. It also takes a 3-character
629 string as a param which indicates the characters to be
630 used for start, padding, and end delimitation of the chunk.
631 (text_chunk_to_string):
632 Changed to use text_chunk_pad_string.
634 * configure.in: Fixed bug in AC_OUTPUT that was
635 causing path substitution in Accessibility_Registry.server
638 2002-05-23 Bill Haneman <bill.haneman@sun.com>
640 * text/screen-review-test.c:
642 New method which attempts a best-guess at clipping
643 text from components (like Java labels) which don't
644 actually implement AccessibleText. This inaccurate
645 clip is based on the assumption that the label is
646 justified left-and-right, and monospaced.
647 (text_chunk_get_clipped_string):
648 We now call guess_string_clip() for text-containing
649 components that don't implement AccessibleText.
651 * test/screen-review-test.c:
652 (review_buffer_get_text_chunk):
653 We now pull "name" from labels if they do not implement
654 AccessibleText (i.e. for Java labels).
655 (get_screen_review_line_at):
656 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
659 Replaceded AC_OUTPUT target
660 registryd/Accessibility_Registry.server with
661 registryd/Accessibility_Registry.server.in.
663 * registryd/Accessibility_Registry.server.in:
664 Removed (this is now a Makefile target).
666 * registryd/Accessibility_Registry.server.in.in:
667 Added (source for target above). We now use $(libexecdir) as
668 prefix for the executable at-spi-registryd.
670 * registry/Makefile.am:
671 Now install at-spi-registryd into $(libexecdir), and build .server
672 file with path (see above).
674 2002-05-22 Bill Haneman <bill.haneman@sun.com>
676 * test/screen-review-test.c:
677 (text_chunk_get_clipped_string):
678 We now check to see if words fall within clip bounds
679 before resorting to character-by-character clip bounds testing.
681 * TODO: Added a section for "2.2 Proposed API Additions".
683 2002-05-21 Bill Haneman <bill.haneman@sun.com>
685 * test/screen-review-test.c:
687 Added a screen review benchmarking and test program to test
690 * cspi/spi_accessible.c:
692 Made some of the debug strings passed to cspi_check_ev a
693 little more specific.
695 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
697 * test/screen-review-test.c: Fix crashes in debug statements
699 2002-05-20 Bill Haneman <bill.haneman@sun.com>
701 * test/screen-review-test.c: Added this file.
703 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
705 * atk-bridge/bridge.c: changed "object:state-change" to
706 "object:state-changed" to match docs.
708 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
710 * atk-bridge/bridge.c: Hooked up state-change event details.
712 2002-05-11 Bill Haneman <bill.haneman@sun.com>
714 * registryd/registry.c:
715 Fixed quarking bug in event string parsing; now events with
716 detail parameters get matched correctly to listeners.
719 * util/idl/Magnifier.idl: remove.
721 * util/*.[ch]: Remove.
722 Magnification utilities and IDL are now in module gnome-mag.
724 2002-05-10 Bill Haneman <bill.haneman@sun.com>
726 * registryd/deviceeventcontroller.c:
727 Fixed bug in grab key conversion which was causing keycode grabs
728 to be converted to AnyKey grabs.
731 updated NEWS file to reflect recent spin-off of gnome-mag.
733 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
735 * cspi/spi_accessible.c: Added exception checks. Fixed completely
736 busted AccessibleStateSet_compare. Removed redundant casts.
738 * cspi/spi-action.c: Removed redundant casts.
740 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
742 * cspi/spi_component.c: Fixed typos and casting error.
744 * cspi/spi_editabletext.c: Removed redundant casts.
746 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
748 * cspi/spi_hypertext.c: Eliminated redundant casts.
750 * cspi/spi_image.c: Eliminated redundant casts.
752 * cspi/spi_registry.c: Eliminated redundant casts.
753 SPI_deregisterGlobalEventListenerAll () removed retval variable.
754 * cspi/spi_selection.c: Removed redundant casts.
755 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
756 handling. Screen geometry and text offsets were being returned as 0
757 on error which is technically valid-- changed these to return -1.
758 Added marshaller for text boundary types to fix bug with boundary
759 types being passed incorrectly to atk.
761 2002-05-09 Bill Haneman <bill.haneman@sun.com>
764 * cspi/spi_registry.c:
765 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
766 which was uncovered by the recent key changes.
768 2002-05-09 Bill Haneman <bill.haneman@sun.com>
770 * test/event-listener-test.c:
772 Added new test, "event-listener-test";
773 this code does two things; it benchmarks traversal time
774 for the accessible hierarchy for the first running accessible
775 app, and it connects listeners for all supported event types.
776 It is thus useful as an example event listener and for
777 diagnostics/debugging of event generation.
779 2002-05-08 Bill Haneman <bill.haneman@sun.com>
782 Removed unnecessary dependency on libutil.
785 Revved micro version: 0.13.1
787 2002-05-08 Bill Haneman <bill.haneman@sun.com>
790 Removed util/Makefile from targets.
793 Removed util subdir from SUBDIRS (temporarily,
794 pending removal of magnifier-only code
798 #ifdef-ed out magnifier dependencies, since
799 magnifier IDL, headers, and binary now live in
800 module gnome-mag and we don't want at-spi to depend
801 on gnome-mag. A magnifier demo which can run alongside
802 simple-at is forthcoming in the gnome-mag module.
804 NOTE: Split magnifier binary, IDL, and magnification
805 activation code from at-spi into module gnome-mag.
807 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
809 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
810 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
812 2002-05-03 Bill Haneman <bill.haneman@sun.com>
815 Revved to version 0.13.0
817 * idl/Accessibility_Registry.idl:
818 Changed definition of KeySet from sequence of longs to sequence of
819 KeyDefinitions, and added KeyDefinition struct.
820 Required for fix to bug 80616.
822 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
823 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
824 to use new definition (see above).
826 * registryd/deviceeventcontroller.c: handle_keygrab(),
827 spi_keyset_contains_key():
828 Changed to make use of new struct; this allows matching based on
829 string key-name, for instance "Tab". This also allows matching of
830 composed characters, non-alphanumeric characters in a way that
831 doesn't involve dependencies on X keysym codes directly, etc.
833 * test/key-listener-test.c:
834 Added test for Alt-Tab key using "string" specification of keyset,
835 and modified one of the tests to use a keycode-based keyset.
836 Thus this test both tests and demonstrates the creation and use of
837 keysets of three forms: specified via keycode array,
838 keysym array, and string array. (The string case only contains a
839 single string, i.e. a string array of length 1).
842 Turned on PRINT_TREE option by default. Also fixed a
843 string-freeing bug in the PRINT_TREE code.
844 Added a listener to window:minimize events.
846 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
848 * atk-bridge/bridge.c:
849 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
850 for window:activate and window:deactiveate
851 (atk_bridge_property_event_listener atk_bridge_signal_listener
852 atk_bridge_window_event_listener) Tidy debug code
854 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
856 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
857 Fixed handling for NULL return value from ATK.
859 * libspi/action.c libspi/component.c libspi/editabletext.
860 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
861 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
862 Removed redundant casts.
864 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
865 Fixed off by one bug.
867 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
868 function not present in idl)
870 2002-05-02 jacob berkman <jacob@ximian.com>
872 * atk-bridge/Makefile.am: make atk-bridge a real module
874 2002-04-26 Radek Doulik <rodo@ximian.com>
876 * libspi/stateset.c (spi_init_state_type_tables): fix size of
877 atk_state_types table
879 2002-04-22 jacob berkman <jacob@ximian.com>
882 * libspi/Makefile.am: add deps on the built files to help
883 automake, and don't version the ORBit typelib
885 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
887 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
888 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
889 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
890 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
891 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
892 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
893 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
894 libspi/accessible.h libspi/accessible.h libspi/base.h
895 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
896 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
897 libspi/relation.h libspi/remoteobject.h libspi/selection.h
898 libspi/spi-private.h libspi/statetset.h libspi/table.h
899 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
900 util/mag_client.h util/mag_control.c util/mag_image.c
901 util/mag_image.h util/magnifier.c util/magnifier.h:
902 Add missing file headers; standardize existing ones
904 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
906 * atk-bridge/bridge.c: Added window event support.
908 2002-04-18 Michael Meeks <michael@ximian.com>
910 * libspi/relation.c (impl_getNTargets): impl.
911 (impl_getTarget): impl.
913 * libspi/Makefile.am: fix stateset install.
915 2002-04-17 Bill Haneman <bill.haneman@sun.com>
918 Started putting useful info in this file.
920 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
922 * atk-bridge/bridge.c:
923 Propagate state-changed notifications to ATs
925 * cspi/spi_registry.c: update docs to reflect actual behavior of
928 2002-04-17 Bill Haneman <bill.haneman@sun.com>
931 Incremented version to 0.12.1
934 Add missing declaration for magnifier_exit,
935 used by mag_control.c - Forte compiler didn't like
936 the implicit redeclaration of the function :-(
939 2002-04-16 Bill Haneman <bill.haneman@sun.com>
942 Revved version to 0.12 due to API change (see below).
944 * cspi/spi-roletypes.h:
945 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
946 definition from the inline docs, and added docs
947 for SPI_ROLE_LAST_DEFINED.
950 * cspi/spi_streamablecontent.c:
951 Added missing seek_type parameter to
952 (so far unused) method,
953 AccessibleStreamableContent_seek().
954 [ RT approval JodyG. ]
957 Fixed docs for SPI_createAccessibleKeystrokeListener.
959 * cspi/spi_registry.c:
960 Fixed docs for SPI_KEYSET_ALL_KEYS.
962 * docs/reference/cspi/at-spi-cspi-sections.txt:
963 Added a number of missing APIs to SECTIONS.
965 2002-04-16 Bill Haneman <bill.haneman@sun.com>
967 * registryd/Makefile.am:
969 * cspi/bonobo/Makefile.am:
970 Add $(X_LIBS) to makefiles.
972 2002-04-15 Bill Haneman <bill.haneman@sun.com>
975 Revved version to 0.11.
977 * libspi/component.c:
978 Added implementation for grabFocus.
980 * idl/Accessibility_Component.idl
981 (Accessibility_Component_grabFocus):
982 Made this method return boolean to indicate success or failure, to
983 be consistent with cspi and the corresponding ATK method.
985 * idl/Accessibility_Selection.idl
986 (Accessibility_Selection_selectAll) :
987 Made these methods return boolean to indicate success or
988 failure, to be consistent with cspi and the corresponding ATK methods.
990 * idl/Accessibility_EditableText.idl
991 (Accessibility_EditableText_setTextContents,
992 Accessibility_EditableText_insertText,
993 Accessibility_EditableText_cutText,
994 Accessibility_EditableText_deleteText,
995 Accessibility_EditableText_pasteText):
996 Made these methods return boolean to indicate
999 * cspi/spi_editabletext.c:
1000 Made these methods return booleans.
1002 * libspi/selection.c:
1003 * libspi/component.c:
1004 * libspi/editabletext.c:
1005 Connected the boolean returns from ATK
1006 to the server-side code referenced above.
1008 2002-04-14 Bill Haneman <bill.haneman@sun.com>
1010 * idl/Accessibility_Table.idl: Added missing methods,
1011 Accessibility_Table_addRowSelection,
1012 Accessibility_Table_addColumnSelection,
1013 Accessibility_Table_removeRowSelection,
1014 Accessibility_Table_removeColumnSelection.
1017 Added C wrappers for above IDL:
1018 AccessibleTable_addRowSelection,
1019 AccessibleTable_addColumnSelection,
1020 AccessibleTable_removeRowSelection,
1021 AccessibleTable_removeColumnSelection.
1024 Added server-side implementation code for IDL above, connecting
1025 to pre-existing ATK api.
1027 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
1029 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
1031 * libspi/accessible.c: Added implementation fo
1032 Accessibility_Accessible_get_state.
1034 * libspi/libspi.h: Added stateset.h to the list of includes.
1036 * libspi/stateset.c: Fixed broken implementation.
1038 2002-04-13 Bill Haneman <bill.haneman@sun.com>
1041 Added implementation code for Accessibility_Magnifier_exit ().
1043 * util/mag_control.c:
1044 Added test code for above method; you can
1045 now kill an existing magnifier via
1046 ./mag_control q, from the util directory.
1048 * test/key-listener-test.c:
1050 Added a new test, for our key listener API.
1052 2002-04-11 Bill Haneman <bill.haneman@sun.com>
1054 * test/app.c, test/keysynth-demo.c:
1056 Replace use of snprintf with g_snprintf.
1057 (fix for bugzilla 78249)
1059 2002-03-27 Michael Meeks <michael@ximian.com>
1063 * util/Makefile.am (INCLUDES): fix.
1064 (DONT_DIST_SOURCE): don't distribute the
1067 * libspi/Makefile.am (dist-hook): ditto.
1069 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
1071 * libspi/hypertext.c:
1072 Fix warnings when yelp is used with atk-bridge
1074 2002-03-21 Michael Meeks <michael@ximian.com>
1076 * libspi/application.c (spi_application_new):
1077 use spi_accessible_construct so we use the AtkObject
1080 2002-03-19 Michael Meeks <michael@ximian.com>
1082 * registryd/registry.c (desktop_remove_application),
1083 (desktop_add_application): clean coding style.
1085 * registryd/desktop.c (spi_desktop_remove_application),
1086 (spi_desktop_add_application): kill re-enterency hazards.
1087 (spi_desktop_dispose): remove bogus redundant cast
1088 obscuring bug; fix bug too.
1089 (spi_desktop_init): make the desktop object immortal.
1091 2002-03-16 Bill Haneman <bill.haneman@sun.com>
1094 Added a #define-guarded tree-traversal step
1095 when enumerating the apps (diagnostic tool).
1097 2002-03-15 Bill Haneman <bill.haneman@sun.com>
1099 * idl/Accessibility_Role.idl:
1100 Added ROLE_DRAWING_AREA which seemed to be missing from the
1103 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1105 * cspi/spi-roletypes.h cspi/spi_accessible.c
1106 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
1109 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
1110 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
1111 AT when applications are added and removed from the desktop. This
1112 reverts the previous broken implementation using the backing
1113 AtkObject for the SpiDesktop.
1115 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1117 * registryd/desktop.c: emit the "children-changed::add" and
1118 "children-changed::remove" signals on the backing ATK object for
1119 the desktop so AT can tell when applications are started and shut
1122 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1124 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
1126 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1128 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
1130 * cspi/spi_accessible.c: Implemented c bindings for stateset support
1132 * cspi/state-types.h: synched with IDL and ATK
1134 2002-03-13 Bill Haneman <bill.haneman@sun.com>
1136 * libspi/accessible.c
1137 (impl_accessibility_accessible_get_child_at_index):
1138 Change return value for g_return_if_fail ()
1139 to CORBA_OBJECT_NIL instead of "0" (!)
1141 * registryd/Makefile.am:
1142 * registryd/Accessibility_Register.server.in:
1143 Changed name of executable, "registryd",
1144 to something more informative:
1147 2002-03-13 Michael Meeks <michael@ximian.com>
1149 * atk-bridge/bridge.c (atk_bridge_init): don't register
1150 if we're in a bonobo-component, rather than a bonobo app.
1152 2002-03-13 Michael Meeks <michael@ximian.com>
1154 * atk-bridge/bridge.c (gtk_module_init): split
1155 out body to (atk_bridge_init): here, since otherwise
1156 we get symbol conflicts and oddness when invoked
1157 from (gnome_accessibility_module_init): here (upd.)
1159 2002-03-11 Bill Haneman <bill.haneman@sun.com>
1162 New file. Explicitly allow "build sheriff" putbacks provided
1163 they are tested on Solaris.
1165 * docs/reference/cspi/Makefile.am:
1166 Added '-' to the "cp" command for index.sgml.
1167 ("patch by thomasvs, soon coming to a GUADEC near you")
1170 Incremented version number (0.9.0) for new release.
1171 Changed macro that checks for popt, to better detect
1172 obsolete versions of popt.
1175 Added X_LIBS to AC_SUBST, for applications
1176 that call Xlib API directly.
1179 2002-03-07 Bill Haneman <bill.haneman@sun.com>
1182 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
1185 Fix regression caused by hard-coding major
1186 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
1189 * test/test-simple.c (test_editable_text),
1190 (test_test): revert previous change (error was
1191 a regression in gail which is now fixed).
1193 2002-03-04 Michael Meeks <michael@ximian.com>
1195 * test/test-simple.c (test_editable_text),
1196 (test_text): pass G_MAXINT instead of '-1' for
1197 whole string - is this a good thing !?
1199 * cspi/spi_accessible.c
1200 (Accessible_getRelationSet): fix crasher bug
1201 overwriting the end of the array.
1203 * test/test-simple.c (validate_accessible): free,
1204 not g_free returned relation set.
1206 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
1208 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
1209 implemented stateset support
1211 * idl/Accessibility_State.idl: Made necessary changes to
1212 the IDL to support state sets.
1214 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1216 * registryd/deviceeventcontroller.c:
1217 Added implementation for generateMouseEvent.
1219 * cspi/spi_registry.c:
1220 Connected new implementation for generateMouseEvent
1223 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1226 Incremented revision (but no change in public API
1227 outside of 'utils', which are not installed public yet.)
1229 * libspi/component.c:
1230 Changed to use atk_component API for layers and
1231 mdi_zorder, instead of deprecated atk_object API.
1233 Magnification Utility Enhancements:
1236 Added implementation of createZoomRegion, clearAllZoomRegions,
1237 resizeZoomRegion. Added new commandline argument
1238 "--no-initial-region". Note that clearAllZoomRegions doesn't
1239 unmap the old '0' region as it should (yet), and the other
1240 methods only work when creating/resizing a single region,
1241 which is "region 0".
1242 (Code for multiple region support will be added later.)
1245 Now we raise the magnifier window each time it's refreshed;
1246 this will help keep it on top.
1248 * util/mag_client.h:
1249 Added simple wrappers for above, used by mag_control.
1250 For general use, it's recommended to use the bonobo magnifier
1251 control API directly instead of using these wrappers.
1254 Moved ZoomRegionData from magnifier.c to this file.
1256 * util/mag_control.c:
1257 Added some code to exercise new IDL implementations.
1259 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
1261 * libspi/text.c: Provide implementation for getAttributes.
1263 2002-02-04 Bill Haneman <bill.haneman@sun.com>
1266 Incremented revision.
1268 * test/test-simple.c:
1269 Replaced use of deprecated g_main_iteration with
1270 g_main_context_iteration.
1272 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
1275 Incremented revision for desktop alpha 2.
1277 2002-01-28 Mark McLoughlin <mark@skynet.ie>
1279 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
1282 * test/simple-at.c: include netinet/in.h.
1284 2002-01-24 Mark McLoughlin <mark@skynet.ie>
1286 * cspi/spi_accessible.c: (Accessible_getRelationSet):
1287 use NULL, not CORBA_OBJECT_NIL.
1289 * libspi/accessible.c:
1290 (impl_accessibility_accessible_get_relation_set):
1291 allocate the sequence correctly.
1293 * libspi/remoteobject.h: kill spi_remote_object_new.
1295 * test/test-simple.c: (validate_accessible): add code
1296 to test relation sets, now all we need is to figure
1297 out how to excercise this code path :/
1299 2002-01-18 Michael Meeks <michael@ximian.com>
1301 * test/test-simple.c
1302 (key_listener_cb): consume the key.
1303 (test_keylisteners): update.
1304 (main): wait for any pending unrefs on events.
1306 * registryd/deviceeventcontroller.c
1307 (spi_controller_update_key_grabs): only re-issue the
1308 grab on a key release.
1309 (spi_device_event_controller_forward_key_event):
1310 refresh the keygrabs before we notify the listeners,
1311 to reduce the X ungrab / re-grab race.
1312 (spi_controller_register_with_devices): remove
1313 XSelectInput - we do that with the gdk_window_ call.
1314 (_spi_controller_device_error_handler): return a value.
1315 s/GDK_DISPLAY/spi_get_display/
1317 2002-01-17 Michael Meeks <michael@ximian.com>
1319 * registryd/deviceeventcontroller.c
1320 (_deregister_keygrab): don't blow out the later
1323 * test/test-simple.c (test_keylisteners): do a
1324 more intelligent validation.
1326 2002-01-14 Michael Meeks <michael@ximian.com>
1328 * atk-bridge/bridge.c
1329 (gnome_accessibility_module_init),
1330 (gnome_accessibility_module_shutdown): impl.
1331 (gtk_module_init): protect vs. double inits.
1332 (add_signal_listener): impl.
1333 (spi_atk_bridge_state_event_listener): kill
1334 (deregister_application): split out of
1335 (spi_atk_bridge_exit_func): here.
1337 2002-01-18 Bill Haneman <bill.haneman@sun.com>
1340 Added caret tracking when using magnifier, and
1341 now use text bounds for focus tracking of text elements, rather than
1342 the component bounds - this is helpful for short text fields in long
1343 table cells, at high magnification.
1345 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1347 * registryd/deviceeventcontroller.c:
1348 Regression fix for keylistener de-registration; global keygrabs
1349 were not being released when deregisterKeystrokeListener was
1350 called in cspi, since
1351 Accessibility_DeviceEventController_deregisterKeystrokeListener
1352 was called with a zero-length keyset. That is because the cspi
1353 method, SPI_deregisterKeystrokeListener, does not take a keyset
1354 parameter but instead should remove all the key grabs held be a
1356 The code in impl_deregister_keystroke_listener was changed to copy
1357 the keylist from the listener instance previously registered with
1358 the DeviceEventController before releasing the grabs.
1360 * registryd/registry.c:
1361 * registryd/deviceeventcontroller.c:
1362 * libspi/spi-private.h:
1364 Changed spelling of "re-enterant" to "re-entrant" globally.
1366 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1368 * test/test-simple.c:
1369 Changed key listeners test - the test was slightly mis-using the
1370 (admittedly poorly documented) SPI_generateKeyboardEvent API.
1371 It now uses '=' as the key event listened to and generated,
1372 relying on a keysym match rather than assuming that keycode 33
1373 is always equal to keysym '!'.
1375 2002-01-15 Bill Haneman <bill.haneman@sun.com>
1378 Changed simple-at to use a specific keyset, rather than
1379 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
1380 manager, desktop, etc.
1382 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1384 * registryd/deviceeventcontroller.c:
1385 Replaced standard X error handler with a special handler that
1386 is non-fatal for failed keygrabs. This works around
1387 problems with keygrab clashes sometimes observed on
1389 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
1390 mouse handling code as yet).
1392 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1395 Incremented revision for desktop alpha release.
1398 Fixed a couple of the more glaring errors (still not
1401 2002-01-11 Michael Meeks <michael@ximian.com>
1403 * registryd/deviceeventcontroller.c
1404 (spi_device_event_controller_forward_key_event): kill
1405 XUngrabKey / XKeyGrab race.
1406 (spi_controller_grab_keyboard): rename to
1407 (spi_controller_update_key_grabs): this, and deal
1408 with incremental adding / removing grabs more
1410 (_register_keygrab): ensure we're not pending a remove.
1411 (spi_grab_mask_free): impl.
1412 (spi_controller_register_global_keygrabs): split out
1414 (handle_keygrab): impl.
1415 (_deregister_keygrab): impl.
1416 (spi_controller_deregister_global_keygrabs): impl.
1417 (spi_controller_update_key_grabs): re-issue the grab if
1418 we just recieved a notification.
1420 * test/test-simple.c (key_listener_cb): remove debug.
1422 * registryd/deviceeventcontroller.c
1423 (spi_controller_register_device_listener): after
1424 registering a global keygrab, actualy register it !
1425 don't wait for a timeout; doh !
1427 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
1428 to make it more readable / manipulable.
1429 s/grabmask/grab_mask/ s/refcount/ref_count/
1430 s/keyval/key_val/ s/modmask/mod_mask
1432 2002-01-08 Michael Meeks <michael@ximian.com>
1434 * registryd/deviceeventcontroller.c
1435 (spi_controller_register_with_devices): use gdk calls to
1437 (global_filter_fn): implement the filter.
1438 (spi_device_event_controller_check_key_event): rename to
1439 (spi_device_event_controller_forward_key_event): this & upd.
1440 (spi_get_display): replace with GDK_DISPLAY.
1442 * registryd/deviceeventcontroller.c
1443 (spi_controller_deregister_device_listener): unroll into
1444 (impl_deregister_keystroke_listener): here to simplify.
1445 (spi_controller_register_global_keygrabs): split cut and
1446 paste (!) out into (_register_keygrab): here, shorter & sweeter.
1447 (spi_controller_deregister_device_listener): remove.
1448 (impl_register_mouse_listener): remove, no mouse listener
1449 support in at-spi-1.0
1451 * registryd/registry.c
1452 (_device_event_controller_hook): kill.
1453 (spi_registry_init): upd.
1455 * registryd/deviceeventcontroller.c
1456 (spi_device_event_controller_class_init): upd.
1457 (spi_check_key_event): merge into.
1458 (spi_device_event_controller_check_key_event):
1459 here and kill strange static ev init, don't leak
1460 the x_event - nor dynamicaly allocate it.
1462 * registryd/registry-main.c (main): re-direct
1463 timeout to remove strange vtable mess.
1465 * registryd/deviceeventcontroller.c
1466 (remove_listener_cb): impl.
1467 (spi_controller_deregister_device_listener):
1468 fix re-enterancy hazard.
1470 2002-01-07 Michael Meeks <michael@ximian.com>
1472 * registryd/deviceeventcontroller.c
1473 (spi_device_event_controller_new): upd.
1474 (impl_notify_listeners_sync): upd. debug.
1475 (spi_notify_keylisteners): fix re-enterancy hazards,
1476 prettify, remove O(n*n) iteration.
1477 (spi_controller_grab_keyboard): fix iteration.
1478 (spi_check_key_event): re-format to suit coding style.
1479 Clean all the warnings - we're warning free.
1481 * registryd/deviceeventcontroller.h:
1482 * registryd/registry.h: make mutualy referential with
1483 typesafe forward references instead of (!) void pointer
1486 2002-01-11 Michael Meeks <michael@ximian.com>
1488 * cspi/spi_accessible.c (role_names): add a role name
1489 to sync this array with the enum; and make the regression
1492 2002-01-10 Michael Meeks <michael@ximian.com>
1494 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
1495 allow expansion of enumeration & kill warning.
1497 * test/test-simple.c (key_listener_cb): impl.
1498 (test_keylisteners): impl.
1500 * cspi/spi-listener.h: make listener signatures const
1501 on the provided (const) events.
1503 * test/keysynth-demo.c: upd. to const events.
1505 * test/simple-at.c: ditto.
1507 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1510 Rev the version to 0.5 (the previous tarball was named 0.4,
1511 even though the micro number was 3), so we need to rev upwards
1512 again for beta2/"desktop-alpha"
1515 Checked in a demo script, which requires editing before use!
1516 Proceed with caution.
1519 Fixed typo in header which was redefining SPI_ACTION_CLASS.
1521 * cspi/spi_accessible.c:
1522 Add a couple of missing enum initializations, and fix some enum
1525 * cspi/spi_registry.c:
1526 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
1528 * docs/reference/cspi/at-spi-cspi-sections.txt:
1529 Remove/fix a couple of broken document references.
1532 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
1533 as Alt-Control to listen for commands, since on some systems
1534 Control-Alt may already be grabbed.
1536 2002-01-10 Bill Haneman <bill.haneman@sun.com>
1539 Update version number to 0.4 for Beta2.
1541 * libspi/accessible.c, libspi/accessible.h:
1542 Expose spi_accessible_construct, to enable libgail-gnome
1543 construction from spi_accessible subtype.
1545 * utils/magnifier.c:
1546 Workaround for bug in some non-gnome-compliant window managers
1547 which made magnifier resize improperly.
1549 2002-01-09 Bill Haneman <bill.haneman@sun.com>
1551 * libspi/accessible.c: (spi_accessible_new) :
1552 Move the test for SPI_IS_REMOTE_OBJECT to
1553 spi_accessible_new_return, fixing a bug and compile time warning.
1555 2002-01-08 Michael Meeks <michael@ximian.com>
1557 * registryd/registry.c (parse_event_type): remove strndup.
1559 * libspi/Makefile.am (libspi_la_SOURCES): remove
1560 sources already included in the headers section.
1562 * libspi/util.c: add.
1564 * libspi/spi-private.h: add.
1566 * registryd/registry.c: update to moved list iterators.
1568 2002-01-05 Michael Meeks <michael@ximian.com>
1570 * test/simple-at.c (main): upd. auto-module set to atk-bridge
1572 * test/test-simple.c (main): ditto.
1574 2002-01-04 Michael Meeks <michael@ximian.com>
1576 * libspi/accessible.c (spi_accessible_new): remove 2nd,
1577 redundant construct.
1579 * registryd/registry.c
1580 (get_listener_list): impl.
1581 (impl_accessibility_registry_register_global_event_listener):
1582 re-impl. to simplify using ~, remove dodgy const cast off.
1583 (parse_event_type): constify.
1584 (impl_accessibility_registry_deregister_global_event_listener_all):
1585 re-write, more efficiency and simplicity, kill re-enterancy
1587 (compare_listener_corbaref, compare_corba_objects),
1588 (compare_listener_quarks): define out.
1589 (impl_accessibility_registry_deregister_global_event_listener):
1590 re-write for effiency, and nail re-enterancy hazard.
1591 (impl_accessibility_registry_get_desktop_list): impl.
1592 (re_enterant_list_delete_link): impl.
1593 (re_enterant_list_foreach): impl.
1594 (remove_listener_cb): impl.
1595 (_registry_notify_listeners): kill.
1596 (notify_listeners_cb): impl.
1598 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
1599 (SPI_getDesktopList): impl.
1601 * test/test-simple.c (test_desktop): test the methods.
1603 2002-01-03 Michael Meeks <michael@ximian.com>
1605 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
1606 keystrings since we free them
1607 (SPI_freeAccessibleKeySet): in here.
1609 * libspi/accessible.c (spi_accessible_new): kill warning,
1610 wonder what is going on with the constructor here.
1612 2002-03-01 Bill Haneman <bill.haneman@sun.com>
1614 * libspi/accessible.c (spi_accessible_new ()) :
1615 Added check to see if AtkObject is an SpiRemoteObject before
1616 creating an SpiAccessible.
1618 2002-05-01 Bill Haneman <bill.haneman@sun.com>
1620 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
1621 Enable keygrabs using the Control modifier, now that they are
1622 working properly (they were previously disabled).
1625 Change the command keygrab for this demo to "Control+Alt", so as
1626 to conflict with fewer other key commands on the system; this
1627 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
1629 Removed a pointlessly-chatty keylistener for unshifted keys
1630 (shifted keys are still reported).
1632 2002-02-01 Bill Haneman <bill.haneman@sun.com>
1634 * libspi/remoteobject.h:
1635 * libspi/remoteobject.c:
1636 Added definitions for special AtkObject subtype, required for
1637 support of remote components (specifically, used by BonoboControl
1638 accessibility implementation).
1640 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
1642 * cspi/spi.h: synched relation types with ATK
1644 * cspi/spi_accessible.c: Added implementations of
1645 AcccessibleRelation_* methods
1647 * idl/Accessibility_Relation.idl: added getRelationTypeName
1648 method. Synched known relation types with ATK. Allowed for
1649 relation type extension with the RELATION_EXTENDED type.
1651 * libspi/relation.c: Provided implementations for
1652 AccessibleRelation methods.
1654 2002-01-01 Bill Haneman <bill.haneman@sun.com>
1656 API tweaks for today's API 'freeze'.
1659 Added placeholder functions to allow future compatible expansion
1660 of the IDL interfaces.
1662 * idl/Accessibility_Registry.idl:
1663 Changed generateKeyEvent to generateKeyboardEvent. Changed
1664 signature of this method to accept an optional keystring in
1665 parameter (for complex text input synthesis) and changed use of
1666 simple 'boolean' parameter in registerKeystrokeListener to a
1667 struct, EventListenerMode.
1669 * cspi/spi_accessible.c:
1671 * cspi/spi_streamablecontent.c:
1672 Added references to AccessibleStreamableContent interface, and
1673 definition and implementation of AccessibleStreamableContent
1676 * cspi/spi_registry.c:
1678 Changed generateKeyEvent API to generateKeyboardEvent,
1679 taking a new (optional) keystring parameter to support complex
1684 Renamed directory (to better reflect its actual purpose, bridging
1685 from at-spi to ATK). The .so module is also now named
1688 * idl/Accessibility_Hypertext.idl:
1689 * libspi/accessible.c:
1690 * libspi/hypertext.h:
1691 * libspi/hypertext.c:
1692 Changed Accessibility_Hypertext to *not* derive from
1695 * cspi/spi_registry.c:
1696 Added list of legal event type names for 'window' events, which
1697 completes the registry event API.
1699 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
1701 * at-bridge/bridge.c: Added registration for separate
1702 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
1703 signals. If either of the first two parameters to the generic
1704 bridge signal handler are ints, they are passed on as event
1705 details. This allows an AT to determine what text was inserted.
1707 2001-12-21 Bill Haneman <bill.haneman@sun.com>
1709 * registryd/deviceeventcontroller.c:
1710 Fixed regressions in generateKeyEvent caused by the removal of
1711 gdk_init from registryd; we now use pure X calls to connect to the
1712 display, which makes sense because deviceeventcontroller already
1713 uses a fair bit of X API (should eventually be migrated to a
1714 'portability layer').
1716 * registryd/desktop.c:
1717 Fixed minor regression in spi_desktop_init, changed the way the
1718 desktop name is being set to work with new spi_base API
1719 (gobject-based, rather than AtkObject-based).
1721 * registryd/Makefile.am:
1722 Minor revision of makefile to use XTST_LIBS variable rather than
1723 hard-wiring the Xtst LD_ADD element.
1725 * test/keysynth-demo.c:
1726 Tweaked an output message; added initialization of the
1727 'keystrings' member of the "switch listener" key_set.
1729 * libspi/relation.c:
1730 Squashed compile-time warning.
1732 * libspi/accessible.c:
1733 Cosmetic and formatting fixes, renamed a static method.
1735 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
1737 * libspi/accessible.c
1739 * libspi/application.c
1742 * libspi/component.c
1743 * libspi/editabletext.c
1744 * libspi/hyperlink.c
1745 * libspi/hypertext.c
1747 * libspi/selection.c
1751 * registryd/desktop.c:
1752 Changed SpiBase to contain a GObject pointer rather than an AtkObject
1754 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1756 * idl/Accessibility_Registry.idl:
1757 Added boolean member 'is_text' to DeviceEvent. This is for the
1758 use of key events, and helps prevent ambiguity between composed
1759 key strings and keysym names, since both may potentially be
1760 returned in the 'event_string' member.
1762 * at-bridge/bridge.c:
1763 * registryd/deviceeventcontroller.c:
1764 Use the 'is_text' member when notifying device event listeners.
1765 Knon issue: composed characters are not dealt with correctly by
1766 the global key listener implementation yet.
1768 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1770 * at-bridge/bridge.c:
1771 Namespaced local static methods to spi_atk_bridge_* where
1772 previously named bridge_*, and spi_* elsewhere.
1774 * at-bridge/bridge.c:
1775 * cspi/bonobo/cspi-bonobo-listener.c:
1776 Added demarshalling/conversion for string member of
1777 Accessibility_DeviceEvent to AccessibleKeystroke.
1779 * registryd/deviceeventcontroller.c:
1780 Added code to fill the Accessibility_DeviceEvent key string value
1781 member for global key events (i.e. from XGrabKey), to match
1782 behavior of Accessibility_DeviceEvent from the toolkit key events
1783 from the bridge. Fixed timestamp in global key event notifications.
1786 Added printout of key event's string value to
1787 report_ordinary_key_event, for demo/debugging purposes.
1789 2001-12-15 Bill Haneman <bill.haneman@sun.com>
1791 * idl/Accessibility_Registry.idl:
1792 Removed Accessibility_KeyStroke structure in favor of generic
1793 Accessibility_DeviceEvent structure.
1794 Changed Accessibility_ControllerEventMask from a struct to an
1797 * at-bridge/bridge.c:
1798 Changed APIs to use DeviceEvent structure as above, and removed
1799 bogus casting between these event structures.
1801 * cspi/spi-listener.h:
1802 Added keystring member of AccessibleKeystroke structure, to enable
1803 matching on event "names" rather than only hardware codes and
1807 Added keystrings member of AccessibleKeySet struct, to allow
1808 matching on event names (as above).
1809 Added declarations for SPI_createAccessibleKeySet and
1810 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
1811 event modmasks directly as unsigned ints rather than structs with
1812 refcounts, in the DeviceEventController methods.
1814 * cspi/spi_registry.c:
1815 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
1817 * cspi/spi-roletypes.h:
1818 Added documentation of newly added SPI Roles.
1820 * cspi/bonobo/cspi-bonobo-listener.c:
1821 Changes in support of API changes above.
1823 * libspi/accessible.c:
1824 Converted APIs to use DeviceEvent structure (see IDL changes
1827 * registryd/deviceeventcontroller.c:
1828 Added DEControllerGrabMask structure to track keygrabs not only by
1829 modmask but by keyset as well; this allows us to do "global"
1830 (i.e. X) keygrabs on a per-key or keyset basis rather than always
1831 grabbing on AnyKey and then filtering after-the-fact.
1832 Bugfixes for event filtration mean that we don't get false matches
1833 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
1835 * registryd/deviceeventcontroller.c:
1836 Namespaced a number of static methods to use spi_ prefix. Major
1837 revision to internals of global (i.e. X) key grabs.
1839 * registryd/deviceeventcontroller.h:
1840 Removed keymask_list and added keygrabs_list to
1841 SpiDeviceEventController struct.
1844 Added use of SPI_createAccessibleKeySet API when creating a
1845 listener for only one key. Attach a listener to "shift spacebar
1846 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
1847 X key event names to SPI key event names, so that listeners are
1848 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
1850 * test/keysynth-demo.c:
1851 Changed (incorrect) use of X key event names (KeyPressed,
1852 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
1855 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1857 * libspi/accessible.c:
1858 Convert all AtkRole enumerations to Accessibility_Role enums when
1859 getting a role from an AtkObject.
1861 * cspi/spi_accessible.c:
1862 Complete the conversion of Accessibility_Role enums at runtime to
1863 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
1864 role enums correctly match those given in spi-roletypes.h.
1865 Re-synchronize the local names list for AccessibleRole_getName ().
1866 AccessibleRole_getName is now deprecated, since it duplicates the
1867 more reliable Accessible_getRoleName.
1868 Added some role types from Accessibility_Role.idl.
1870 * idl/Accessibility_Role.idl:
1871 Added some role types used by AtkRole.
1873 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1876 * cspi/spi_registry.c:
1878 * cspi/cspi-bonobo-listener.c:
1879 Namespaced all methods that did not begin with an "SPI_" or
1880 "Accessible" prefix to "SPI_".
1883 Homogenized internal function namespace to "cspi_" for statics.
1886 Patched tests to use the new CSPI API.
1888 * docs/reference/cspi/at-spi-cspi-sections.txt:
1889 Updated docs to reflect namespace changes, and added a number of
1890 methods to the documentation.
1892 * registryd/registry.c:
1893 Changed use of strings and string hashes in listener event
1894 matching and parse_event_string to use GQuark, which is guaranteed
1897 * registryd/registry.h:
1898 Squashed annoying warning.
1900 * idl/Accessibility_Role.idl:
1901 Extended range of available Accessibility_Role values.
1903 * cspi/spi_accessible.c:
1904 Re-ordered role names.
1906 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1908 * idl/Accessibility_Value.idl:
1909 Revert use of union back to CORBA_double, since the double type is
1910 more efficient and can contain the other types without loss of
1913 * idl/Accessibility_Accessible.idl:
1914 Added method Accessibility:Accessible:getRoleName, to complement
1915 Accessibility:Accessible:getRole.
1917 * cspi/spi_accessible.c:
1919 Added C binding for above, Accessible_getRoleName (), and changed
1920 signature of Accessible_getRole () to return an AccessibleRole.
1922 * cspi/spi-roletypes.h:
1923 Changed AccessibleRole_getName to return a char * instead of a
1924 const char *. This method is now at least temporarily deprecated
1925 in favor of asking Accessibles for their RoleNames directly.
1928 Revert to match Accessibility_Value.idl;
1932 Change signature of AccessibleValue methods to use double rather
1936 * cspi/spi_accessible.c:
1937 Changed Accessible_getRole to return an AccessibleRole enum rather
1938 than a UTF-8 string. The UTF-8 string can still be obtained via
1939 AccessibleRole_getName ().
1941 * test/test-simple.c:
1942 Add test_action. Small fixup to match API change to Accessible_getRole.
1945 Bugfix for get_action_from_servant ().
1947 2001-12-11 Michael Meeks <michael@ximian.com>
1949 * libspi/libspi.h: remove registry.h and
1950 desktop.h, deviceeventcontroller.h
1952 * libspi/Makefile.am: remove registry.[ch],
1953 desktop.[ch], deviceeventcontroller.[ch]
1955 * registryd/Makefile.am: add registry.[ch],
1956 desktop.[ch], rename registryd.c to registry-main.c.
1957 add deviceeventcontroller.[ch]
1959 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1962 Replace setenv() call with putenv ().
1964 * libspi/component.c:
1965 Bugfix in AccessibleComponent_getExtents (),
1968 2001-12-11 Michael Meeks <michael@ximian.com>
1970 * libspi/image.c (impl_getImageExtents): impl.
1971 (spi_image_class_init): upd.
1974 (AccessibleImage_getImageDescription): fix daft bug
1977 * test/test-simple.c (global_listener_cb): update
1978 to only quit if not --poke
1979 (main): catch --poke.
1980 (validate_accessible): upd. dumping, call test_image
1983 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1986 * idl/Accessibility.idl: update all IDL includes.
1988 * idl/*.idl - rename to namespace - this sucks, blame
1989 mjs' bad decision for oafd.
1991 * test/test-simple.c (create_test_window): add more tests.
1992 (create_tree): split this out.
1993 (validate_accessible): bugfix.
1995 2001-12-11 Michael Meeks <michael@ximian.com>
1997 * cspi/bonobo/cspi-bonobo-listener.c:
1998 (cspi_kestroke_listener_unref),
1999 (cspi_event_listener_unref): impl. undoing previous
2000 homenous environment - for Bill.
2002 * cspi/spi_table.c (long_seq_to_array): use
2005 * cspi/spi_main.c: split out all bonoboish bits into
2008 * cspi/spi-impl.h: upd. typedefs.
2010 * cspi/spi_registry.c: update to lowlevel API,
2011 return booleans to indicate success in some places.
2013 * cspi/spi_event.c: update to lowlevel API.
2015 * cspi/bonobo/Makefile.am: add.
2017 * cspi/bonobo/cspi-lowlevel.h: add
2019 * cspi/bonobo/cspi-bonobo.c: add
2021 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
2023 * cspi/Makefile.am: remove spi-listener-impl.[ch],
2024 (SUBDIRS): add bonobo, link in the libs.
2026 * cspi/spi-util.c: kill this file.
2028 * TODO: merge in my bits.
2030 2001-12-11 Michael Meeks <michael@ximian.com>
2032 * test/test-simple.c (test_value, test_table, main):
2033 remove unused variables causing warnings.
2035 * configure.in: cleanup checks - require gail.
2037 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2040 Changed Value interface to use SValue (scalars) rather than
2041 assuming all values are floats. This allows floats, doubles,
2042 longs, shorts, and unsigned values to be manipulated.
2043 Introduced Accessibility:SValue union.
2046 Updated to use new API above, and to work correctly with GValues
2047 of different types in AtkValue.
2050 Updated to use new API above. cspi's API is as yet unchanged.
2053 Updated the Value revision action item.
2055 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2057 * test/test-simple.c:
2058 Added test_table (GtkTreeView widget in test window to follow).
2059 Un-commented test_value, added GtkRange widget.
2060 Added GtkTreeView widget with GtkListStore. It passes regression
2061 test but leaks one SPI object for some reason.
2064 Fixed bug in impl__set_currentValue.
2066 2001-12-10 Michael Meeks <michael@ximian.com>
2068 * cspi/spi_text.c: audit for exception handling,
2069 tolerating NULL object references safely etc.
2071 * cspi/spi_value.c: ditto.
2073 * cspi/spi_table.c (AccessibleTable_getSummary),
2074 (AccessibleTable_getAccessibleAt),
2075 (AccessibleTable_getRowHeader),
2076 (AccessibleTable_getColumnHeader),
2077 (AccessibleTable_getCaption): fix bugs hidden by
2079 (long_seq_to_array): impl.
2080 (AccessibleTable_getSelectedRows),
2081 (AccessibleTable_getSelectedColumns): use it.
2083 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2086 Added a TODO list (rough and short for now).
2088 * cspi/spi_hyperlink.c:
2089 * cspi/spi_hypertext.c:
2090 Fixed macro name typos, and remove use of obsolete macro in
2091 AccessibleHyperlink_getLink.
2093 * cspi/spi_action.c:
2094 * cspi/spi_accessible.c:
2095 * cspi/spi_application.c:
2096 * cspi/spi_component.c:
2097 * cspi/spi_selection.c:
2100 Documentation fixes (removed return values from ref/unref methods).
2102 2001-12-10 Michael Meeks <michael@ximian.com>
2104 * cspi/spi_action.c: audit for exception handling,
2105 tolerating NULL object references safely etc.
2107 * cspi/spi_accessible.c: ditto.
2109 * cspi/spi_component.c: ditto.
2111 * cspi/spi_editabletext.c: ditto.
2113 * cspi/spi_hyperlink.c: ditto.
2115 * cspi/spi_hypertext.c: ditto.
2117 * cspi/spi_image.c: ditto.
2119 * cspi/spi_selection.c: ditto.
2121 2001-12-10 Michael Meeks <michael@ximian.com>
2123 * configure.in: use cspi/libspi.pc.in instead.
2125 * Makefile.am (pkgconfig_DATA): upd. to match.
2127 * test/simple-at.c (report_focus_event): kill hacks around
2128 bad return values, use putenv not setenv
2130 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
2131 fire ChildGone - I killed it.
2133 * libspi/component.c
2134 (impl_accessibility_component_get_extents): remove
2137 * idl/Accessible.idl: kill ChildGone exception.
2139 * cspi/*.[ch]: kill int return from ref / unref.
2141 * cspi/spi_main.c (cspi_object_add_check): fold into
2142 (cspi_object_add): here.
2144 * cspi/spi_component.c (AccessibleComponent_getExtents):
2145 handle exceptions elegantly.
2147 * cspi/spi-private.h (cspi_check_ev_return),
2148 (cspi_return_if_fail): impl.
2150 * cspi/spi_accessible.c: use extensively.
2151 (AccessibleStateSet_equals): add direct compare check.
2153 * cspi/spi_selection.c: tolerate NULL objs, and check
2154 exceptions before return.
2156 * cspi/spi-util.c (cspi_warn_ev): rename to
2157 (cspi_check_ev): this & don't pass ev in; no point.
2159 2001-12-10 Michael Meeks <michael@ximian.com>
2161 * test/test-simple.c: use putenv not setenv
2162 (get_environment_vars): more chatty if you're not using
2165 * test/simple-at.c: do the setenv so more people see the
2168 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2170 * libspi/registry.c:
2171 Changed check of CORBA_environment on notification to be a warning
2172 instead of an error for the moment, since we can recover from this
2173 error when caused by a queued notification from a dead app.
2176 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
2177 used by all current implementors of AtkValue), and coerce to
2178 CORBA_float. (Proper general case fix may require change to Value.idl).
2180 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2184 * cspi/spi_accessible.c:
2185 Documentation fixes: added user_data params to documentation for
2186 listeners and callbacks.
2188 * cspi/spi_accessible.c:
2189 Changed AccessibleStateSet_compare to return a
2190 StateSet rather than return the difference set into a third parameter.
2193 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2196 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
2197 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
2201 Remove subdirectory po from SUBDIRS for now.
2203 * at-bridge/bridge.c:
2204 Beefed up a couple of debug printouts.
2205 One-line fix for signal notification name formatting.
2207 * libspi/accessible.c:
2208 Added assertion to spi_accessible_new ().
2210 * libspi/application.c:
2211 Put #ifdef qualifiers around a printf.
2214 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
2216 * registryd/Makefile.am:
2218 Replaces use of XML_I18N_MERGE_SERVER_RULE with
2219 INTLTOOL_SERVER_RULE macro.
2222 Added an event listener for several ATK signals, for
2223 testing and debugging. Removed a few g_warnings.
2224 Added test output if focussed item implements the Value interface.
2226 * test/test-simple.c:
2227 Added test_value () function (known not to pass at the moment, so
2228 not actually called yet.
2230 2001-12-08 Michael Meeks <michael@ximian.com>
2232 * at-bridge/bridge.c (bridge_focus_tracker),
2233 (emit_eventv): fix the same ref. leak.
2234 (register_atk_event_listeners): don't leak.
2236 * cspi/spi-listener-impl.c (cspi_event): more
2237 protection from client code.
2239 * test/test-simple.c (test_desktop): unref the app.
2241 * test/Makefile.am: upd. TESTS.
2243 * at-bridge/bridge.c (bridge_exit_func): release the registry.
2245 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
2247 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
2249 * cspi/spi_registry.c: constify in strings.
2250 (deregisterGlobalEventListenerAll): don't release the ref.
2252 * cspi/spi.h: start removing redundant / conflicting
2253 gtkdoc comments, making the API readable at a glance :-)
2255 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
2257 * test/keysynth-demo.c (keysynth_exit, main): upd.
2259 * test/simple-at.c (main, simple_at_exit): upd.
2261 * test/test-simple.c (unutterable_horror): kill.
2262 (utterable_normal_derefs): kill.
2263 (main): upd & do a setenv before gtk_init, so that we
2264 can use memprof - and to save the pain of remembering
2265 this, if we're running under memprof - don't exit.
2267 * cspi/spi_main.c (SPI_exit): return exit status
2269 (SPI_event_quit): impl.
2270 (SPI_event_main): simplify.
2271 (cspi_is_gnome_app): kill.
2272 (SPI_init): kill isGNOMEapp arg.
2274 * at-bridge/bridge.c (register_atk_event_listeners):
2275 re-instate the unref.
2276 (bridge_exit_func): don't re-activate the registry,
2277 protect vs. theoretical re-entry, use the
2278 AT_BRIDGE_SHUTDOWN env. var to determine whether to
2279 assert a clean shutdown - for regression tests.
2281 2001-12-08 Abel Cheung <maddog@linux.org.hk>
2283 * configure.in: Comment out dummy i18n support for now,
2284 otherwise it fails to build.
2285 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
2286 EXTRA_DIST. They are missing in tarball.
2288 2001-12-07 Michael Meeks <michael@ximian.com>
2290 * util/magnifier.c: kill bonobo activation reg. race.
2292 * libspi/component.c
2293 (impl_accessibility_component_get_extents): make it match
2296 * libspi/registry.c (_registry_notify_listeners):
2297 re-remove X headers & reconcile conflicts.
2298 (spi_listener_struct_free): bad conflict resolve.
2299 (impl_accessibility_registry_register_application):
2300 more bad merging fixed.
2301 (impl_accessibility_registry_deregister_application): ditto.
2302 (spi_registry_new): ditto.
2303 (spi_registry_init): don't have an applications field.
2305 [ merge fixups2 branch to here ]
2306 2001-12-07 Michael Meeks <michael@ximian.com>
2308 * test/simple-at.c (report_focus_event),
2309 (report_focussed_accessible): remove g_warning debug.
2311 2001-12-07 Michael Meeks <michael@ximian.com>
2313 * test/test-simple.c (validate_tree): comment out some checks.
2314 (test_desktop): app now not registered idly - horay.
2316 2001-12-07 Michael Meeks <michael@ximian.com>
2318 * cspi/spi_registry.c
2319 (registerAccessibleKeystrokeListener): clean, stop it leaking
2320 great swathes of memory, and device event controller references.
2321 ensure we always pass valid sequences.
2322 (deregisterAccessibleKeystrokeListener): ditto.
2323 (generateKeyEvent): upd.
2325 * at-bridge/bridge.c (bridge_key_listener): handle
2326 registry dead exception gracefully.
2327 (bridge_focus_tracker, emit_eventv): free ev.
2329 * test/simple-at.c (report_focus_event): fix polarity.
2331 * libspi/application.c (notify_listeners): kill the ev
2332 argument, and make sure we init the ev we use.
2333 (spi_application_object_event_listener): split out a chunk
2334 (get_atk_object_ref): here & fixup.
2335 (reverse_lookup_name_for_toolkit_event): make const.
2336 (spi_application_toolkit_event_listener): fixup, kill leaks
2339 * at-bridge/bridge.c (register_atk_event_listeners):
2340 don't unref the noop object - causes grief.
2342 * libspi/registry.c: remove the X headers.
2343 turn off the debug churn.
2345 * libspi/accessible.c (spi_accessible_new_return): only
2346 release the ref if we are supposed to [doh]
2348 * test/simple-at.c (report_button_press, report_focus_event):
2349 guard vs. unexpected exit.
2351 * at-bridge/bridge.c (gtk_module_init): prune printf.
2352 (bridge_exit_func): fix app unref.
2354 * libspi/Makefile.am: don't install registry or desktop.h
2356 * libspi/*.h: update includes.
2358 * libspi/application.h: don't include ourself, or
2359 other redundant headers.
2361 2001-12-06 Michael Meeks <michael@ximian.com>
2363 * libspi/accessible.c
2364 (get_accessible_from_servant): impl.
2365 Upd. all CORBA impl.s to use it killing cut and paste.
2367 * cspi/spi_main.c (cspi_cleanup): guard vs. double
2369 (SPI_init): register atexit cleanup handler here.
2371 2001-12-06 Michael Meeks <michael@ximian.com>
2373 * at-bridge/bridge.c (gtk_module_init): g_error on
2374 activation exception
2376 2001-12-06 Michael Meeks <michael@ximian.com>
2378 * at-bridge/bridge.c (gtk_module_init): some sort of
2379 confusing merge clash - reverted.
2380 (bridge_idle_init): ditto.
2382 * test/test-simple.c (main, utterable_normal_derefs):
2383 merge from Bill - somehow not committed.
2385 2001-12-06 Michael Meeks <michael@ximian.com>
2387 * libspi/value.c (spi_value_class_init): upd.
2388 (spi_value_finalize): kill.
2390 * libspi/table.c (spi_table_finalize): kill.
2391 (spi_table_interface_new): upd.
2392 (spi_table_class_init): upd.
2393 (get_table_from_servant): impl.
2394 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2396 * libspi/selection.c (spi_selection_finalize): kill.
2397 (spi_selection_interface_new): upd.
2398 (spi_selection_class_init): upd.
2399 (get_selection_from_servant): impl.
2400 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2402 * libspi/relation.c (spi_relation_finalize): kill.
2403 (spi_relation_class_init, spi_relation_new): upd
2405 * libspi/image.c (spi_image_finalize): kill.
2406 (spi_image_class_init): upd.
2407 (spi_image_interface_new): upd.
2408 (get_image_from_servant): impl.
2409 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2411 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
2412 (spi_hyperlink_finalize): kill.
2413 (spi_hyperlink_new): upd.
2414 (get_hyperlink_from_servant): impl.
2415 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2417 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
2418 (spi_hypertext_finalize): kill.
2419 (spi_hypertext_class_init): upd.
2420 (get_hypertext_from_servant): impl.
2421 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2423 * libspi/editabletext.c (spi_editable_text_finalize): kill.
2424 (spi_editable_text_interface_new): upd.
2425 (get_editable_text_from_servant): impl.
2426 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2428 * libspi/text.c (get_text_from_servant): impl.
2429 All impls - update to use it killing more cut and paste,
2430 also fix bad string returns on duff args ( a somewhat
2431 impossible case to handle - but hey ).
2432 (spi_text_construct): impl.
2433 (spi_text_interface_new): upd.
2434 (spi_text_object_finalize): kill.
2436 * libspi/component.c
2437 (accessibility_component_object_finalize): kill.
2438 (spi_component_class_init): upd.
2439 (get_component_from_servant): impl. helper to kill cut & paste.
2440 (impl_accessibility_component_contains):
2441 (impl_accessibility_component_get_accessible_at_point):
2442 (impl_accessibility_component_get_position):
2443 (impl_accessibility_component_get_extents):
2444 (impl_accessibility_component_get_mdi_z_order):
2445 (impl_accessibility_component_get_layer):
2446 (spi_component_interface_new): upd.
2448 * libspi/action.c (spi_action_finalize): kill.
2449 (spi_action_class_init): upd. inherit from SpiObject.
2450 (spi_action_interface_new): upd.
2451 (get_action_from_servant): impl. helper to reduce cut & paste.
2452 (impl_getKeyBinding, impl_getName, impl_doAction),
2453 (impl_getDescription): Use it everywhere.
2455 * cspi/spi_main.c (get_live_refs): a pointer hash.
2456 (spi_object_hash, spi_object_equal): comment out.
2457 There are issues with CORBA object hashing that need
2460 * libspi/application.c (spi_application_init),
2461 (spi_application_new): upd.
2463 * libspi/accessible.c (spi_accessible_object_finalize): kill.
2464 (spi_accessible_class_init): upd.
2465 s/accessible/object/ in epv methods.
2467 2001-12-05 Bill Haneman <bill.haneman@sun.com>
2469 * at-bridge/bridge.c:
2470 Reorder the bridge initialization into the bridge gtk_module_init,
2471 an immediate call to bridge_register_app, and an idle_add for
2472 register_atk_event_listeners (the only code that *must* wait until
2473 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
2474 the activation, creates the application's Accessible object, and
2475 queues the bridge_idle_init function. Restored call to
2476 Accessibility_Registry_deregisterApplication().
2477 Prior to making this call we obtain a new reference to the
2478 registry, which is a temporary hack that helps us handle apps that
2479 shut down the bonobo mainloop before we get there.
2481 * libspi/registry.c:
2482 Fix string leakage in debug block, and don't segv if a an app
2483 dies before its event notifications have been propagated.
2486 Modify cspi_check_ev() to call g_warning() rather than g_error(),
2487 as stopgap measure until we get proper exception handling when
2488 objects die during or before interrogation.
2492 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
2493 Also changed default value of is_gnome_app to TRUE.
2496 * test/keysynth-demo.c:
2497 Changed use of SPI_init and SPI_event_main to reflect API change above.
2500 Made report_focus_event check the warning value from getName
2501 before reporting on focussed accessible; simplifies handling of
2502 notifications from dead objects.
2504 * test/test-simple.c: (Changes not in this patch since source is
2507 2001-12-05 Michael Meeks <michael@ximian.com>
2509 * registryd/registryd.c (main): protect against
2510 bonobo-activation startup race condition.
2512 * cspi/spi_main.c (cspi_object_add_check): cope
2513 with the exception elegantly.
2515 * idl/Accessible.idl: decl. ChildGone
2517 * libspi/desktop.c (spi_desktop_dispose): impl.
2518 (spi_desktop_class_init): upd.
2519 (spi_desktop_add_application),
2520 (spi_desktop_remove_application),
2521 (abnormal_application_termination): impl.
2522 (impl_desktop_get_child_at_index): re-impl.
2525 (impl_accessibility_registry_deregister_application),
2526 (impl_accessibility_registry_register_application):
2527 kill excessive debug clutter.
2529 * test/test-simple.c (test_misc): test some NULL
2530 tolerance. (main): upd.
2532 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
2533 implements no interfaces - so let's not crash.
2535 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
2537 * libspi/accessible.c (spi_accessible_new_return): impl.
2538 helper to calm the cut and paste, to cope with
2539 NULL AtkObjects effectively and efficiently, and to kill
2540 the referencing bugs.
2542 * libspi/table.c (impl_getAccessibleAt),
2543 (impl_getRowHeader, impl_getColumnHeader): upd.
2545 * libspi/hyperlink.c (impl_getObject): upd.
2547 * libspi/accessible.c
2548 (impl_accessibility_accessible_get_child_at_index): upd.
2550 * libspi/component.c
2551 (impl_accessibility_component_get_accessible_at_point): upd.
2553 * test/test-simple.c (test_editable_text, test_text): impl.
2556 * cspi/spi_editabletext.c
2557 (AccessibleEditableText_insertText): constify.
2559 * test/test-simple.c (focus_me): make more robust.
2561 * libspi/accessible.c: remove some printfs in methods that
2562 we test and work fine, so we can get a clean tree dump.
2564 * test/test-simple.c (validate_accessible),
2565 (validate_tree): make tree dumping pretty too.
2567 * at-bridge/bridge.c (bridge_signal_listener): upd. so
2568 it builds without debug on.
2570 * test/test-simple.c (validate_accessible): fix the most
2573 * cspi/spi_main.c (spi_object_release): leave the nicely
2574 blanked memory around if in debug mode.
2576 * cspi/spi-listener-impl.c (cspi_event): use add_check.
2578 [committed to fixups2]
2579 2001-12-05 Michael Meeks <michael@ximian.com>
2581 * libspi/editabletext.c
2582 (spi_editable_text_class_init): g_type_class_peek_parent,
2583 not interface peek - so we finalize cleanly.
2585 * libspi/accessible.c (spi_accessible_new): kill debug.
2587 * test/test-simple.c (validate_accessible): fix ref.
2588 leak, print strings before freeing them; sigh, comment a
2589 chunk out due to strangeness.
2590 (validate_tree): unref the child after use.
2592 * cspi/spi_component.c (AccessibleComponent_getLayer):
2593 add missing break statement, switch on zlayer not the
2594 uninitialized retval.
2596 * cspi/spi_main.c (cspi_object_add): add assert, local ref
2597 before (possibly re-entering) remote unref.
2599 * test/simple-at.c (main): unref the desktop.
2601 * cspi/spi_accessible.c (cspi_accessible_is_a): move
2604 * cspi/spi_main.c (cspi_accessible_is_a): here to
2605 isolate bonobo API usage more.
2607 * libspi/registry.c (impl_accessibility_registry_register_application):
2608 prune bogus comment.
2610 2001-12-04 Michael Meeks <michael@ximian.com>
2612 * test/test-simple.c (validate_tree): upd.
2613 IndexInParent check to make it more lucid.
2614 (validate_accessible): dump the tree.
2616 * libspi/accessible.c (de_register_public_ref),
2617 (get_public_refs): impl.
2618 (spi_accessible_new): make more efficient & intuitive.
2619 Now IndexInParent check works.
2621 2001-12-04 Michael Meeks <michael@ximian.com>
2623 * cspi/spi-util.h: remove.
2625 * cspi/spi.h: move SPI_freeString here
2627 * libspi/component.c (impl_accessibility_component_get_layer):
2629 (impl_accessibility_component_get_mdi_z_order): ditto,
2630 return -1 on error - is this ok ?
2632 * test/test-simple.c (test_application): impl.
2634 * cspi/spi_accessible.c (Accessible_getApplication),
2635 (Accessible_isApplication): impl.
2637 * libspi/registry.c (spi_listener_struct_free): release
2638 the CORBA reference too.
2640 * libspi/accessible.c
2641 (impl_accessibility_accessible_get_parent): fix ref leak.
2643 * libspi/registry.c (spi_registry_new): make the registry
2644 immortal - we don't want it to go away ever.
2646 * libspi/application.c
2647 (spi_accessible_application_finalize): impl. cleanup.
2649 * cspi/spi_registry.c
2650 (deregisterGlobalEventListenerAll),
2651 (deregisterGlobalEventListener),
2652 (deregisterAccessibleKeystrokeListener): fix ref leak.
2654 * cspi/spi_main.c (SPI_init): remove redundant ref.
2656 * test/test-simple.c (unutterable_horror): impl. to force a
2661 (impl_accessibility_registry_deregister_application): release
2662 the application when we de-register it.
2664 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
2665 until we have the infastructure to get it right.
2667 2001-12-03 Michael Meeks <michael@ximian.com>
2669 * libspi/Makefile.am: only build eventlistener.[ch]
2671 * libspi/accessible.c
2672 (impl_accessibility_accessible_get_child_at_index): don't leak.
2674 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
2675 before we hit the idle handler.
2677 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
2678 debugging than exit.
2680 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
2682 * libspi/listener.c (impl_notify_event): check source
2683 not NIL before unref.
2685 * libspi/registry.c (impl_registry_notify_event): ditto.
2687 * libspi/eventlistener.c
2688 (impl_accessible_event_notify_event): unref the source.
2690 * libspi/accessibleeventlistener.c
2691 (impl_accessible_event_notify_event): unref the source.
2693 * idl/Event.idl: remove 'hash_id' attribute - of no
2696 * libspi/application.c (notify_listeners): upd list
2698 (spi_application_object_event_listener),
2699 (spi_application_toolkit_event_listener): upd to do correct
2703 (_registry_notify_listeners): update.
2704 (parse_event_type): this method also leaks like a sieve.
2705 (impl_accessibility_registry_deregister_global_event_listener):
2706 fix ETYPE_WINDOW case.
2708 * libspi/application.c
2709 (impl_accessibility_application_register_object_event_listener):
2712 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
2714 * libspi/hypertext.c (impl_getLink): ditto.
2716 * cspi/spi_main.c (cspi_object_add): remove
2717 bogus CORBA_Object_duplicate.
2719 * cspi/spi-listener-impl.c (cspi_event): dup/ref
2722 * cspi/spi_accessible.c
2723 (Accessible_getRelationSet): fix leak / referencing issue.
2725 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
2726 (cspi_object_add, cspi_object_unref): upd.
2727 (spi_object_release, get_live_refs): impl.
2728 (cspi_cleanup): simplify.
2730 * *.[ch]: s/boolean/SpiBoolean/
2732 * cspi/spi_accessible.c (role_names): actualy order so it
2733 corresponds with the enum !
2735 * test/test-simple.c (test_roles): check some role strings
2736 vs. enums to detect offset errors.
2738 2001-12-01 Michael Meeks <michael@ximian.com>
2740 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
2742 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
2744 (Accessible_getChildAtIndex): use cspi_add_check so we
2745 check the ev before using a (possibly) invalid value.
2747 * libspi/accessible.c
2748 (impl_accessibility_accessible_get_parent): don't segv
2751 * at-bridge/bridge.c (gtk_module_init): upd.
2752 (bridge_property_event_listener): don't leak strings
2754 (bridge_state_event_listener),
2755 (bridge_property_event_listener): don't use a static
2756 buffer in case of recursive event emission &
2757 re-enterancy - split out the swathe of cut and paste
2759 (emit_eventv): and fix 2 ref leaks here & comply to the
2761 (bridge_register_app): rename to
2762 (bridge_idle_init): this and kill arg parsing, split
2763 various inits & bonobo-activation registration to module
2764 init time, kill referencing error.
2765 (bridge_exit_func): fix the same leak.
2766 (bridge_focus_tracker): don't leak event structures
2768 (bridge_signal_listener): more leakage and cut & paste
2770 (bridge_key_listener): return the result - FIXME is
2771 this polarity correct ?
2772 (accessibility_keystroke_from_atk_key_event): rename
2773 (accessibility_init_keystroke_from_atk_key_event): and stop
2775 (gtk_module_init): return a value - not that it is checked by
2777 (bridge_key_listener): register my horror at casting between
2778 IDL defined structs.
2779 (bridge_get_registry): kill - not used.
2781 * cspi/spi_accessible.c (Accessible_getRole): make return const.
2783 * test/test-simple.c (test_roles): impl.
2784 (test_desktop, validate_accessible, validate_tree): impl.
2786 * cspi/spi_accessible.c (role_names): fixup bogus
2787 MAX_ROLES setup, make constants const for efficient linkage
2788 (AccessibleRole_getName): conform to coding style, make
2791 2001-11-30 Michael Meeks <michael@ximian.com>
2793 * cspi/spi.h: add missing prototype.
2795 * libspi/registry.c (spi_listener_struct_new): fix sig.
2797 * test/Makefile.am: add test-simple
2799 * test/test-simple.c: add
2801 * test/test.sh: add.
2803 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
2805 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
2806 do it straight - since otherwise we often get an activation race.
2808 [ work before Bill duplicated a chunk of it ... ]
2809 2001-11-30 Michael Meeks <michael@ximian.com>
2811 * libspi/keystrokelistener.c
2812 (spi_keystroke_listener_class_init): fixup arg
2815 * libspi/eventlistener.c
2816 (spi_event_listener_class_init): ditto.
2818 * tests/test.sh: add.
2820 * cspi/spi-listener-impl.h: update macros.
2822 * cspi/spi-listener-impl.c
2823 (cspi_event_listener_remove_callback): add
2824 correct pre-conditions.
2826 * cspi/spi_main.c (SPI_exit): guard vs. double
2827 exits, exit the mainloop nicely.
2828 (SPI_event_main): make more sense.
2829 (SPI_init): move the atexit evilness here so we
2830 always do it (yuck).
2831 (SPI_event_main): upd.
2833 * test/simple-at.c: update for listener changes.
2835 * registryd/registryd.c (main): prune kruft.
2837 * libspi/libspi.h: upd.
2839 * libspi/eventlistener.[ch]: rename broken macros.
2841 * libspi/accessibleeventlistener.[ch]: remove.
2843 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
2845 * test/test-simple.c: Add - automated tests.
2847 * cspi/spi-listener-impl.c (cspi_event),
2848 (cspi_key_event): add user_data to invoke.
2849 (cspi_keystroke_listener_finalize): impl.
2850 (cspi_keystroke_listener_class_init): upd.
2853 (createAccessibleEventListener),
2854 (AccessibleEventListener_addCallback),
2855 (createAccessibleKeystrokeListener),
2856 (AccessibleKeystrokeListener_addCallback): upd.
2858 * libspi/deviceeventcontroller.c
2859 (spi_device_event_controller_check_key_event): add public proto.
2862 (impl_accessibility_registry_deregister_global_event_listener):
2863 always init listeners.
2864 (_registry_notify_listeners): yes it is.
2866 * cspi/spi-listener-impl.c (cspi_key_event):
2868 (cspi_event_listener_finalize): impl.
2869 (cspi_event_listener_class_init): hook up.
2870 (event_handler_new, event_handler_free),
2871 (event_list_remove_by_callback): impl.
2872 (cspi_event_listener_remove_callback),
2873 (cspi_keystroke_listener_remove_callback),
2874 (cspi_keystroke_listener_add_callback),
2875 (cspi_event_listener_add_callback): upd.
2877 * libspi/keystrokelistener.c
2878 (keystroke_listener_object_finalize): kill
2879 (spi_keystroke_listener_class_init): upd.
2880 (spi_keystroke_listener_add_callback),
2881 (spi_keystroke_listener_remove_callback): kill,
2883 (impl_key_event): prune drasticaly.
2885 * libspi/eventlistener.c
2886 (spi_event_listener_add_callback),
2887 (spi_event_listener_remove_callback): kill, use
2889 (impl_accessible_event_notify_event): upd.
2890 (spi_event_listener_object_finalize): remove.
2892 * libspi/Makefile.am: use eventlistener.[ch]
2894 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2896 * libspi/registry.c (_registry_notify_listeners):
2897 Changed listener loop iteration to use preferred convention.
2898 Got rid of string memory leaks caused be calling g_strconcat
2899 inside function calls.
2901 * libspi/registry.c (parse_event_type):
2902 Stopped g_strconcat memory leaks, free the g_strsplit return,
2903 g_strdup the split pieces when used, etc.
2905 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2908 Change method 'compare' to return a 'difference set' rather than
2909 taking a StateSet as an out parameter (more Java-friendly).
2911 * idl/Accessible.idl:
2912 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2914 * idl/Component.idl:
2916 Changed methods 'getExtents' and 'getImageExtents' in these
2917 interfaces to return a BoundingBox structure.
2918 (getPosition and getSize are redundant and possibly should be
2919 removed, rather than creating a corresponding Point struct.)
2921 * cspi/spi_component.c:
2922 Modify implementation of getExtents to reflect the above IDL
2927 Add (missing) AccessibleImage_getExtents () API.
2929 * docs/reference/cspi/at-spi-cspi-sections.txt:
2930 Added AccessibleImage_getImageExtents () to docs.
2932 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2934 * idl/Component.idl:
2935 Added two methods, getLayer () and getMDIZOrder (), to reflect
2936 the new ATK methods atk_object_get_layer and
2937 atk_object_get_mdi_z_order. (Which arguably should be part of the
2938 AtkComponent API and AtkObject). Also added an enum,
2939 ComponentLayer, for the first method's return value.
2941 * libspi/component.c:
2942 Added implementations for these methods.
2944 * cspi/spi_component.c:
2946 Added cspi binding methods for above,
2947 AccessibleComponent_getLayer() and
2948 AccessibleComponent_getMDIZOrder().
2949 Added cspi enum 'AccessibleComponentLayer'.
2951 * docs/reference/cspi/at-spi-cspi-sections.txt:
2952 Added above methods to docs.
2956 Changed typedef for 'boolean' type (and all references to it) to
2957 SPIBoolean, to avoid keyword clashes with C++.
2960 Changed usages of 'boolean' to SPIBoolean.
2962 * test/keysynth-demo.c:
2963 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2964 app), except where SPIBoolean is required by the callbacks API.
2966 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2968 * cspi/spi_registry.c:
2969 Removed obsolete X event loop for passive keygrabs (which now
2972 * registryd/registryd.c:
2973 Removed unnecessary call to gdk_init() [cruft]. This also allows
2974 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2977 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2979 * docs/reference/cspi:
2980 Included docs for SPI_freeString in generated documentation.
2983 Renamed spi_freeString to SPI_freeString, for consistency. Added
2984 documentation for this function.
2987 Renamed spi_freeString to SPI_freeString, for consistency.
2988 Removed obsolete method declaration string_from_corba_string.
2990 * test/keysynth-demo.c:
2991 Small tweak to comments.
2994 Stopped leaking the strings returned from CSPI.
2996 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2998 Merged Michael's branch (see his ChangeLog entries below).
3000 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
3001 bridge is alive, release on exit.
3003 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
3004 Fix type check macro.
3007 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
3010 Added is_gnome_app static, and method cspi_is_gnome_app(),
3011 so we can call the appropriate shutdown routine at exit in SPI_exit.
3013 * cspi/spi_main.c (cspi_object_ref):
3014 Duplicate the corba object passed in, since we're keeping it around.
3016 * cspi/SPI_exit.c, cspi_cleanup:
3017 Moved the releasing of the live refs to its own function, so we
3018 can put it in g_atexit (). Call the appropriate shutdown API
3019 depending on whethe calling client is a gnome app or not
3020 (bonobo_main_quit or CORBA_ORB_shutdown).
3022 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
3023 Unref the listener when this method is called, after
3024 deregistration. Updated the API docs to note this behavior.
3026 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
3027 Bugfixes: Ref the bonobo object when returning a parent or child
3028 reference, or an AccessibleRelation. Generally made sure
3029 BonoboObject refcount is incremented whenever we return an
3032 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
3033 Fixed typo/bug in signal declaration.
3035 * libspi/accessibleeventlistener.h:
3038 * libspi/application.c (spi_application_new):
3039 Fixed leak in initialization.
3042 Remembered to increment bonobo-object refcount when returning
3043 children (applications) from desktop object.
3044 Added (empty) finalize method.
3046 * libspi/deviceeventcontroller.c:
3047 Hold a ref to listeners inside DEControllerKeyListeners.
3048 Added dec_key_listener_free() method. Use prepend instead of
3049 append in key_listener list. Fixed some refcount madness and
3050 leaks in the listener registration/deregistration - deregistration
3051 now calls dec_key_listener_free() on listeners, and on the
3052 temporarily constructed dec_key_listener() used to perform the search/match.
3054 * libspi/hypertext.c (spi_hypertest_finalize):
3055 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
3056 class. Also fixed spi_hypertext_interface_new() and
3057 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
3059 * libspi/hypertext.h:
3060 Removed pointless and duplicate AtkObject pointer from
3063 * libspi/keystrokelistener.c:
3064 Fixed incorrect type of keystroke_listener_parent_class,
3065 renamed keystroke_listener_object_finalize to
3066 spi_keystroke_listener_object_finalize.
3067 Fixed typo in signal declaration
3068 (spi_keystroke_listener_class_init).
3070 * libspi/registry.c:
3071 Added funcsions spi_listener_struct_new() and
3072 spi_listener_struct_free() to help with memory management issues.
3073 We also now use these methods instead of gnew + poking stuff into
3074 the struct, and to decrement listener counts/free the listeners
3075 when deregistering them.
3076 Fix more refcount bugs in getDesktop() and
3077 getDeviceEventController().
3080 De-ref the desktop after enumerating the applications. Explicitly
3081 decrement the refcounts on the created listeners on exit (using
3082 _unref for keystroke listeners, and via the
3083 deregisterGlobalEventListenerAll command for other event
3086 2001-11-27 Michael Meeks <michael@ximian.com>
3088 * cspi/spi-listener.h: fixup enum.
3090 2001-11-27 Michael Meeks <michael@ximian.com>
3092 * cspi/spi-listener-impl.c (cspi_event_listener_new),
3093 (cspi_keystroke_listener_new): Use the cspi variants.
3095 2001-11-26 Michael Meeks <michael@ximian.com>
3097 * test/keysynth-demo.c: fix 2 compile warnings, missing
3100 * test/simple-at.c (report_focussed_accessible),
3101 (report_focus_event, report_button_press),
3102 (check_property_change, is_command_key),
3103 (report_ordinary_key_event, report_command_key_event): upd.
3105 * util/mag_client.h: include pre-requisites.
3107 * libspi/accessibleeventlistener.c
3108 (spi_event_listener_object_finalize): free any lingering
3111 * libspi/keystrokelistener.c
3112 (keystroke_listener_object_finalize): ditto.
3114 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
3115 callbacks, with cspi types.
3117 * cspi/spi_event.c (createAccessibleEventListener): chain to
3118 (AccessibleEventListener_addCallback): here.
3119 (createAccessibleKeystrokeListener): chain to
3120 (AccessibleKeystrokeListener_addCallback): here.
3122 * libspi/keystrokelistener.c
3123 (spi_keystroke_listener_class_init): add signal.
3124 (impl_key_event): emit the event.
3125 (boolean_handled_accumulator): impl.
3126 (marshal_BOOLEAN__POINTER): add, gack.
3128 * libspi/accessibleeventlistener.c
3129 (spi_event_listener_class_init): add signal.
3130 (impl_accessible_event_notify_event): emit the signal &
3131 make the loop efficient.
3132 (spi_event_listener_add_callback): prepend the callback.
3134 * libspi/accessibleeventlistener.h: add an 'event' signal,
3135 decl type on callback.
3137 * libspi/keystrokelistener.h: ditto.
3139 * cspi/spi-listener.h: make methods typesafe and
3140 make them use the new event typedefs.
3142 * test/simple-at.c (report_focussed_accessible):
3143 include mag_client.h
3144 Use *(void *)text_interface not the other thing.
3146 * configure.in: add gtk to registryd bits - since we use
3149 * util/magnifier.c: include libbonobo.h
3151 2001-11-25 Bill Haneman <bill.haneman@sun.com>
3153 * test/keysynth-demo.c:
3154 Turned this into a simple scanning keyboard, to demonstrate the
3155 use of g_timeout_add () as a means of creating timers for
3156 scanning, and the use of GtkStyle for visually indicating when
3157 virtual keyboard elements are selected.
3159 keysynth-demo now listens to any keyboard keys with zero-valued
3160 keycodes (i.e. 'unused' keys) and interprets them as
3163 Reworked the shiftlatch code so that shift-down state isn't held
3164 for long periods (it's only synthesized immediately prior to
3165 the keysynth event it's modifying). Note that shiftlatch in this
3166 demo is a convenience, not intended to take the place of AccessX
3167 which is the better choice for getting 'sticky' modifier keys.
3169 * libspi/deviceeventcontroller.c:
3170 * at-bridge/bridge.c:
3171 * cspi/spi_registry.c:
3172 Removed some debug print stuff, and put other verbosity in #ifdef
3177 Implemented some more of the magnifier IDL for the simple
3178 magnifier: namely, getZoomRegionParams.
3179 Added mag_x and mag_y members to MagnifierData struct, aid of this
3181 Added GtkWindow::realize signal handler to magnifier, to keep it
3182 from receiving keyboard focus from the WM.
3184 2001-11-23 Mark McLoughlin <mark@skynet.ie>
3186 * cspi/spi-private.h: my guess at what michael forgot
3187 before he ran off to NZ :-)
3189 2001-11-23 Michael Meeks <michael@ximian.com>
3191 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
3192 comment out non existant method invoke so we link.
3194 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
3195 use bonobo_exception_get_text for more friendly warnings.
3197 * cspi/spi.c (Obj_Add): move into spi_main & rename
3198 spi_object_add; kill spi.c
3200 * cspi/spi_registry.c
3201 (deregisterGlobalEventListener),
3202 (deregisterGlobalEventListenerAll),
3203 (registerGlobalEventListener): fix exception leaks.
3205 * cspi/spi_main.c (spi_exception): impl. helper, so we
3206 don't leak exceptions.
3208 * cspi/spi_selection.c
3209 (AccessibleSelection_deselectSelectedChild): return the
3212 * cspi/spi_main.c (spi_ev): impl; hack - gack.
3213 (spi_registry): ditto.
3214 (SPI_init): guard against double inits.
3216 * cspi/*.c: use spi_ev (), and spi_registry () where
3217 appropriate - a temporary hack until we have something
3218 better. Use spi_object_add
3220 2001-11-22 Michael Meeks <michael@ximian.com>
3222 * cspi/Makefile.am: re organise, install the headers.
3224 * cspi/*.h: add G_BEGIN/END_DECLS
3226 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3229 Added non-preemptive keylistener for key events with no modifiers
3230 and shift-only modifier.
3232 * libspi/keystrokelistener.c:
3233 Removed some verbose diagnostics printout.
3235 * cspi/spi_registry.c:
3236 Fixed a bug that caused all key listeners to be registered as
3239 * libspi/deviceeventcontroller.c:
3240 Fixed bug that caused XGrabKey (preemptive key grab) to be called
3241 for non-preemptive key masks.
3244 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3246 * docs/reference/idl/at-spi-idl-docs.sgml:
3247 * docs/reference/idl/at-spi-idl-sections.txt:
3248 * docs/reference/idl/at-spi-idl-overrides.txt:
3249 Added missing files.
3251 * docs/reference/Makefile.am:
3252 removed idl from SUBDIRS until we can figure a way to get gtk-doc
3253 to scan the IDL files :-(
3258 Added .cvsignore files.
3260 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3262 * libspi/deviceeventcontroller.c:
3263 * libspi/keystrokelistener.c:
3265 * cspi/spi_registry.c:
3266 Added filters for KeySets, KeyEventSeq, and event types to key
3267 event dispatching, so listeners should only receive those events
3268 that they requested :-)
3270 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3275 * docs/reference:Makefile.am:
3276 * docs/reference/cspi:
3277 * docs/reference/cspi:Makefile.am:
3278 * docs/reference/cspi:tmpl:
3279 * docs/reference/cspi:tmpl:*.sgml:
3280 * docs/reference/idl:
3281 * docs/reference/idl:Makefile.am:
3282 * docs/reference/idl:at-spi-idl-sections.txt:
3283 * docs/reference/idl:at-spi-idl-docs.sgml:
3284 * docs/reference/idl:tmpl:
3285 * docs/reference/idl:tmpl:*.sgml:
3287 Restructured docs directory to allow separate 'reference' docs
3288 section, and forked idl and cspi docs. Added the sgml template
3289 files to CVS. Added the first sections/structural sgml for the
3292 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
3294 * configure.in, libspi/Makefile.am: find libXtst.
3296 2001-11-21 Michael Meeks <michael@ximian.com>
3298 * test/accessx-gui.c: s/spi_value/value/ - doh.
3300 * libspi/base.[ch]: add.
3302 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3304 * idl/Accessible.idl:
3305 * idl/Application.idl:
3308 Started gtk-doc cleanup on IDL.
3310 * libspi/deviceeventcontroller.c:
3311 Added and connected non-preemptive key notification from the
3312 toolkits (in addition to the pre-emptive support from XServer
3313 which we had before, but which causes 'focus flashing'). Filters
3314 are presently limited to key modifiers and global/non-global,
3315 KeySets are presently ignored, as are KeyEvent masks.
3317 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
3318 structs into the persistant structure rather than just storing
3319 pointers to things that might not persist across servant
3322 The XGrabKey call now does async keygrabs, because synchronous
3323 ones were deadlocking with GDK_event code in a very nasty way.
3325 Added boolean to internal method notify_keylisteners, to indicate
3326 whether the event came from the 'toolkit source' or the 'global
3327 (XServer) source' - this is used in the notification process to
3328 determine which listeners to send the event to.
3330 deviceeventcontroller.c is now warning-free.
3332 * libspi/registry.c:
3333 Fixed regression in application de-registration.
3334 Also fixed some really brain-dead weirdness having to do with
3335 event dispatching - event structs are now duplicated before being
3336 re-marshalled in the dispatch to listeners. This also fixes a
3337 Solaris build problem.
3340 2001-11-20 Michael Meeks <michael@ximian.com>
3343 (impl_accessibility_registry_deregister_global_event_listener):
3346 * libspi/deviceeventcontroller.c
3347 (spi_device_event_controller_check_key_event): return
3348 FALSE on no virtual method.
3350 * libspi/*..h: make includes work on a correctly pathed install.
3352 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
3354 * libspi/application.h: kill unused ( and whacked out )
3355 gboolean *spi_application_set_id (AtkObject *app, long id);
3357 2001-11-20 Michael Meeks <michael@ximian.com>
3359 * libspi/*.[ch]: further convert to bonobo's type func
3360 macros, remove redundnant casts etc.
3362 * libspi/text.c s/accessibility_text/spi_text/g,
3363 re-order to de-cruft.
3365 * libspi/hypertext.c: re-order to kill a huge slew
3366 of redundant forward decls.
3368 * libspi/relation.c: ditto.
3370 * libspi/image.c: ditto.
3372 * */.cvsignore: update
3374 2001-11-20 Michael Meeks <michael@ximian.com>
3376 * libspi/deviceeventcontroller.c
3377 (_controller_register_with_devices): use g_getenv,
3378 kill stdlib.h include.
3380 * libspi/keystrokelistener.c
3381 (spi_keystroke_listener_get_type): kill
3382 (spi_keystroke_listener_class_init),
3383 (spi_keystroke_listener_init): rename to this.
3385 * libspi/text.c (impl_getAttributes): fix warning / bug.
3387 * libspi/*.[ch]: more headers, includes and over commenting.
3389 2001-11-20 Michael Meeks <michael@ximian.com>
3391 * libspi/*.[ch]: fixup headers, includes and over commenting.
3393 * libspi/image.c (impl__get_imageDescription): const
3394 correctness warning fix. remove redundant casting.
3396 * libspi/table.c (impl_getRowDescription): ditto.
3397 (impl_getColumnDescription): ditto.
3399 * libspi/libspi.h: add.
3401 2001-11-19 Michael Meeks <michael@ximian.com>
3403 * libspi/editabletext.c (impl_setAttributes): fix warnings.
3405 * libspi/component.c (accessibility_component_get_type):
3406 rename to (spi_component_get_type): and macroify.
3407 (accessibility_component_init): rename to
3408 (spi_component_init): this
3409 (accessibility_component_class_init): rename to
3410 (spi_component_class_init): this
3412 * libspi/action.c (spi_action_get_type): kill, use the macro.
3414 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
3417 * libspi/application.c (spi_application_object_event_listener),
3418 (impl_accessibility_application_register_object_event_listener):
3419 warning fixes / const understanding updates.
3421 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
3424 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3426 * libspi/spi_accessible.c: Added docs and C bindings for
3427 AccessibleStateSet. (No implementations yet). Documentation
3428 coverage for C bindings now 100%. Made docs for event listeners
3433 boolean notifyListenersSync (in DeviceEventListener listener,
3434 in DeviceEvent event);
3436 oneway void notifyListenersAsync (in DeviceEventListener listener,
3437 in DeviceEvent event);
3439 Added DeviceEventListener and DeviceEvent structs (may deprecate
3440 KeyStroke and KeystrokeListener in favor of this generic
3441 event/listener framework for devices).
3443 * libspi/deviceeventcontroller.c:
3445 Changed some key listener code to take masks, etc., and paved the
3446 way for integration of toolkit/non-preemptive key events. Changed
3447 signatures of some internal methods.
3449 * at-bridge/bridge.c:
3450 Fixed regression connecting to interface signals, apparently
3451 caused by GTK+ changes.
3453 Added an internal bridge_state_listener to deal with
3454 property-change:accessible-state signals.
3456 Changed the key_listeners GList to store structs (including masks,
3457 etc.) instead of just CORBA_Objects (required for full
3458 implementation of key listener API).
3460 Connected the bridge to all currently supported Atk signals.
3461 Events now supported:
3462 object:property-change
3463 object:property-change:accessible-name
3464 object:property-change:accessible-state
3465 object:property-change:accessible-description
3466 object:property-change:accessible-parent
3467 object:property-change:accessible-value
3468 object:property-change:accessible-role
3469 object:property-change:accessible-table-caption
3470 object:property-change:accessible-table-column-description
3471 object:property-change:accessible-table-column-header
3472 object:property-change:accessible-table-row-description
3473 object:property-change:accessible-table-row-header
3474 object:property-change:accessible-table-summary
3475 object:children-changed
3476 object:visible-data-changed
3477 object:selection-changed
3478 object:text-selection-changed
3480 object:text-caret-moved
3482 object:row-reordered
3484 object:column-inserted
3485 object:column-reordered
3486 object:column-deleted
3487 object:model-changed
3489 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3491 * libspi/hyperlink.c,h:
3492 Fixed some broken stuff in hyperlink.
3494 * libspi/relation.h:
3495 * libspi/relation.c:
3496 * cspi/spi_accessible.c:
3497 Initial implementations of AccessibleRelation methods, and docs.
3499 * libspi/accessible.c:
3500 Fixed a bug that caused SEGV if an accessible
3501 object's description is NULL, and a client
3502 requests it. An empty string is now returned.
3504 * cspi/spi_editabletext.c:
3505 * cspi/spi_hypertext.c:
3507 * cspi/spi_hyperlink.c:
3511 Doc coverage now 95%.
3513 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3515 One last namespacing revision:
3516 * libspi/accessibleeventlistener.[ch]:
3517 Renamed SpiAccessibleEventListener to SpiEventListener,
3518 (no need for two namespaces ;-)
3520 And lots of documentation fixes:
3522 * docs/at-spi-docs.sgml:
3523 Fixed 'underscore vs. hyphen' bug that was preventing
3524 the gtk-doc API docs from being automatically generated.
3527 * cspi/spi-listener.h
3529 * cspi/spi_accessible.c
3531 * cspi/spi_application.c
3532 * cspi/spi_component.c
3533 * cspi/spi_editabletext.c
3535 * cspi/spi_hypertext.c
3537 * cspi/spi_registry.c
3538 * cspi/spi_selection.c
3542 * docs/at-spi-docs.sgml
3543 * docs/at-spi-sections.txt
3545 Added and fixed up gtk-doc documentation in cspi.
3547 Interfaces now (fully) documented (subject to revision and enhancement):
3549 Event Listener Support
3551 AccessibleApplication
3555 AccessibleEditableText
3562 AccessibleRelationSet
3567 2001-11-14 Bill Haneman <bill.haneman@sun.com>
3569 * at-bridge/bridge.c:
3570 Initial work for toolkit-level key snooper connection by bridge.
3575 New typedefs and fixes to support new namespacing, and cleaner
3576 separation of cspi bindings from libspi bonobo implementation.
3577 Removed inconsistent and extraneous Spi* namespace prefix that
3578 had crept into cspi headers.
3579 Lots of comment fixes that sed had missed.
3581 * cspi/spi-roletypes.h:
3582 * cspi/spi-statetypes.h:
3583 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
3584 to AccessibleRoleType.
3586 * libspi/accessibleeventlistener.h:
3587 Fixed minor namespacing weirdness.
3589 * libspi/deviceeventcontroller.c:
3590 Reordered some internal API for device listeners.
3591 Changed the key registry final boolean to 'is_system_global'
3592 rather than 'is_synchronous', which is more descriptive of its
3594 Added spi_device_event_controller_new().
3595 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
3597 * libspi/keystrokelistener.[ch]:
3598 Namespaced KeystrokeListener to SpiKeystrokeListener.
3599 Changed uses of keymasks to use SPI_ prefix, and did other
3602 * libspi/keymasks.h:
3603 Namespaced keymask constants with SPI_ prefix.
3605 * libspi/registry.c:
3606 Some warning fixes, and knock-on fixes from namespace changes.
3609 Added rules for accessx-gui test program.
3611 * test/accessx-gui.c:
3612 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
3613 utility. It doesn't actually use at-spi, but it's still cool and
3616 * test/keysynth-demo.c:
3620 Fixes so that these test clients work properly with the namespaced
3621 libraries. (Incompletely tested for technical reasons, fixes may follow)
3624 2001-11-13 Michael Meeks <michael@ximian.com>
3626 * libspi/application.c
3627 (impl_accessibility_application_get_version),
3628 (impl_accessibility_application_get_toolkit_name):
3630 (impl_accessibility_application_set_id),
3631 (impl_accessibility_application_get_id): remove
3632 redundant casting code.
3634 * libspi/action.c (impl_getDescription): fix warnings.
3636 * libspi/accessible.c
3637 (impl_accessibility_accessible_get_parent),
3638 (impl_accessibility_accessible_get_child_at_index),
3639 (impl_accessibility_accessible_get_state),
3640 (impl_accessibility_accessible_get_relation_set):
3641 warning fixes & include action.h
3643 2001-11-13 Michael Meeks <michael@ximian.com>
3645 * *.[ch] fix bits I screwed up:
3647 s/([^ \tb(\*\&\?\",])spi_/\1/g;
3648 s/([^ \tb(\*\&\?\",])Spi/\1/g;
3650 2001-11-13 Michael Meeks <michael@ximian.com>
3652 * *.[ch] Namespace libspi into spi_ and Spi.
3654 2001-13-11 Michael Meeks <michael@ximian.com>
3656 * Makefile.am: dist & install at-spi-1.0.pc
3658 * libspi/Makefile.am: install into at-spi-1.0
3660 * idl/Makefile.am (idldir): install into at-spi-1.0
3662 * at-spi-1.0.pc.in: add.
3664 * configure.in: build it.
3666 2001-11-12 Bill Haneman <bill.haneman@sun.com>
3668 * test/keysynth-demo.c:
3669 Use a 'realize' signal-handler to set the WM properties for
3670 the virtual keyboard, rather than making it a "POPUP" type
3671 override-redirect window (thanks to anders carlsson for that
3674 2001-11-11 Bill Haneman <bill.haneman@sun.com>
3677 * test/keysynth-demo.c:
3678 Added new test of key synthesis, which creates a simple
3679 (mouse-operated) onscreen keyboard. It inserts key events into
3680 the currently-focused window, thus it does not grab keyboard focus
3683 * cspi/spi_registry.c:
3684 Added C binding for AT-SPI generateKeyEvent.
3686 * libspi/deviceeventcontroller.c:
3687 Added call to XFilterEvent so that key listener works with XIM (we
3688 hope). Added event_synth_type to generateKeyEvent, so that we can
3689 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
3690 synthesize a press/release pair for KeySyms.
3692 2001-11-09 Bill Haneman <bill.haneman@sun.com>
3694 * libspi/Makefile.am:
3695 * registryd/Makefile.am:
3696 (temporary) hack to include libXtst in libspi and registryd.
3697 (Needed for keystroke synthesis, see below).
3700 Improved API for registerKeystrokeListener, in accordance with
3701 discussions with Gnopernicus team and X server research.
3703 * libspi/registry.c:
3704 * libspi/deviceeventcontroller.c:
3705 * libspi/accessible.c:
3706 * libspi/keystrokelistener.c:
3707 Changes and fixes to support keylisteners for potentially
3708 consumed key events (that is, 'passive grabs').
3709 Added implementation for generateKeyEvent() [untested].
3712 Changes to registerKeystrokeListener() API, as above.
3713 Added deregisterGlobalEventListenerAll(), and
3714 deregisterKeystrokeListener(), which are needed for clean exit of
3716 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
3717 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
3719 * cspi/spi_registry.c:
3720 Added implementations of function prototypes mentioned above.
3722 * registryd/registryd.c:
3723 Added the key listener event source as a g_timeout(), to allow
3724 receipt of key events that are not caught by GDK (since GDK
3725 doesn't support passive keygrabs, this was necessary).
3728 Changed to attach a keylistener to 'Alt' keys, and
3729 respond to the following keycommands: Alt-M (toggle magnifier);
3730 Alt-F (toggle speech); Alt-Q (quit).
3731 Added an exit routine to deregister the listeners, and a key
3732 listener that prints some key info to the console when a key
3733 matches the listener mask (and is thus received by the listener).
3735 * util/idl/Magnifier.idl:
3736 Changes to magnifier API to support multiple zoom regions,
3737 non-uniform scaling in x and y, markDirty, and a host of other
3738 features that would be useful to magnification.
3741 * util/mag_client.c:
3742 * util/mag_client.h:
3743 * util/mag_control.c:
3745 Source code changes to support the above IDL changes.
3748 As above, and also changes to use a (slower) generic conversion
3749 path for colormap conversions, since the fast RGB conversions have been
3750 reported to fail for 16-bit displays.
3752 2001-10-26 Michael Meeks <michael@ximian.com>
3754 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
3756 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
3758 * at-bridge/Makefile.am: fix LDFLAGS.
3760 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3762 * at-bridge/bridge.c:
3763 Re-worked listeners for toolkit events, now we have signal
3764 and property listeners. Added a private method
3765 register_atk_event_listeners(), which registers with the
3766 various atk and gtk signals we need to monitor in order to emit
3768 Added emission hook for AtkObject:property-change events, to
3769 support the 'property listeners'.
3770 Fixed some alloc()s of Accessibility_Event structs to use CORBA
3773 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
3774 which emit warnings and exit, respectively, if CORBA errors occur
3775 during remote calls, and we now use these methods to check most of
3776 our CORBA calls in the C bindings.
3778 * cspi/spi_accessible.c:
3779 Changed AccessibleSelection_refSelectedChild() to
3780 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
3781 now increment refcounts.
3783 * cspi/spi_component.c:
3784 Fixed some long pointer casts (dangerous!) to pass pointers to
3785 CORBA_longs of the proper type to the CORBA stubs, and copy the
3786 data into the longs that were passed into the C bindings code.
3788 * at-bridge/bridge.c:
3790 * libspi/accessible.c:
3791 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
3792 hyperlinks, AtkHyperlink is an object type.
3794 * libspi/application.c:
3795 Added various conversions to and from "generic" event types and
3796 atk-specific types; this is really part of the 'bridge'
3797 implementation but is valid for all AtkObject-based accessibility
3800 * libspi/editabletext.c:
3801 Fixed nasty bug wherein editable text's finalize method was
3802 unref'ing tha AtkObject reference that the text parent class was
3803 about to unref _again_. There was also a nasty inheritance bug
3804 that meant that the AccessibleEditableText class was corrupt.
3806 * libspi/selection.c:
3807 Provided implementations for some selection API that was broken.
3809 * idl/Application.idl:
3810 Added registerObjectEventListener () method.
3813 Fixed a number of return values that were Bonobo_Unknowns from
3814 bonobo_object_corba_objref(), which I
3815 forgot to dup before returning. Changed instances of
3816 bonobo_object_corba_objref (bonobo_object(o)) to
3817 BONOBO_OBJREF(o), for concision and clarity.
3819 2001-10-13 Louise Miller <louise.miller@sun.com>
3821 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
3822 idl/Event.idl, idl/Registry.idl
3823 Changed these files to include Bonobo_Unknown.idl instead
3826 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
3828 * libspi/component.c libspi/component.h:
3829 Fixed typo. Added assertions for object checks in
3830 AccessibleComponent code.
3832 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3834 * idl/Accessible.idl:
3835 Added 'isEqual (Accessible *object)'
3836 method for Accessible. (Not Yet Implemented).
3839 Changed signature of registerKeystrokeListener() to
3840 take a KeySet and KeyEventSeq so that specific keys and event
3841 types could be requested for monitoring, and added a flag
3842 is_synchronous so that either synchronous or asynchronous
3843 notification could be requested. (However this is not all
3844 implemented yet). This also meant adding two new typedefs,
3845 KeyEventSeq and KeySet.
3848 Added two new relations, RELATION_TOOLTIP_FOR and
3849 RELATION_LEAFNODE_OF.
3852 Added new state, STATE_HAS_TOOLTIP.
3854 * libspi/text.c, editabletext.c:
3855 Added new assertions to all casts of bonobo-objects from
3856 CORBA servants, to prevent Text API calls on non-text objects.
3857 Changed suspect casts of int-pointer types, so that we
3858 always send a valid CORBA_long pointer to the CORBA APIs that use
3859 in/out long parameters. We then have to copy from the CORBA_long
3860 into the regular long or int for return to the C bindings, or
3861 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
3864 * libspi/deviceeventcontroller.c:
3865 Cleaned these sources up.
3867 Changed return type for getCharacterAtOffset to
3868 CORBA_unsigned_long, to allow for 32-bit characters.
3871 2001-10-08 Bill Haneman <bill.haneman@sun.com>
3875 Fixed 'make dist' so that distro compiles...
3876 * libspi/keymasks.h:
3878 * cspi/spi-listener.c:
3879 KeystrokeListenerCB now returns a boolean.
3881 Added KeyEventType struct, and KeyStroke.
3882 Also added createKeystrokeListener(),
3883 KeystrokeListener_addCallback(),
3884 KeystrokeListener_removeCallback(), and added a keymask to
3885 registerKeystrokeListener().
3886 * cspi/spi_accessible.c:
3887 Changed numerous return types for interfaces from
3888 AccessibleComponent to Accessible<InterfaceName>; this was
3889 probably a cut-and-paste error.
3891 Implementations of new KeystrokeListener api (from spi.h,
3894 Changes to key modifier mapping.
3895 Created ControllerEventMask struct.
3896 Made DeviceEventController derive from Bonobo::Unknown.
3898 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3899 * libspi/deviceeventcontroller.c:
3900 Added a number of new internal (private) methods.
3901 * libspi/editabletext.c:
3902 * libspi/editabletext.h:
3903 Fixed a number of bugs related to the fact that
3904 editabletext inherits from text. Fixed the EditableText struct,
3905 the init() call, and use correct casts when calling Text methods
3906 from an EditableText object. Removed (duplicate) atko from the
3907 EditableText structure, we use the one in the parent Text
3908 structure via the casts mentioned above.
3909 * libspi/keystrokelistener.[ch]:
3910 * libspi/registry.c:
3911 Changes in support of keyboard handling (above).
3913 Keyboard handling, though partly functional, is still not
3914 recommended for at-spi client use as there is considerable
3915 work yet to be done.
3918 Changed some places where pointers to various int types
3919 are cast to be pointers to CORBA_long types and vice-versa:
3920 pointer casting is not safe so we pass pointers of the correct
3921 types and then cast the result before putting it into the target
3924 * libspi/text.h: minor typos corrected.
3926 We now speak not only the name of a Text element, but the
3927 first sentence of its content, when it receives focus.
3928 I also changed the text compression to 75% from 50%.
3929 * util/Accessibility_Util.server.in:
3930 Changed the default magnifier type to be a 3x vertical
3931 splitscreen magnifier (was previously a 2x horizontal one).
3933 2001-10-03 Bill Haneman <bill.haneman@sun.com>
3935 * libspi/keystrokelistener.h:
3936 * libspi/keystrokelistener.c:
3937 Initial functional implementations of KeystrokeListener.
3940 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3942 Fixed string handling for NULL strings in libspi.
3943 Added spi_freeString to free strings returned by C bindings.
3945 2001-09-30 Bill Haneman <bill.haneman@sun.com>
3947 * libspi/keystrokelistener.h:
3948 * libspi/keystrokelistener.c:
3949 Began (no-op) implementations of KeystrokeListener
3951 * libspi/deviceeventcontroller.c:
3952 * libspi/deviceeventcontroller.h:
3953 Began creating implementations of DeviceEventController,
3954 to handle keystroke and mouse event listening and
3956 * libspi/accessible.c:
3957 Stubbed-in the implementations for
3958 Accessibility_Accessible_getState and
3959 Accessibility_Accessible_getRelationSet.
3960 * libspi/registry.c:
3961 Improved de-registration process and fixed some bugs,
3962 deregistration now works correctly.
3964 Added initialization of applications list (to NULL).
3966 Reduced speech compression from 0.5 to 0.7, for demo.
3967 Changed call to gdk_window_set_decorations()
3968 to gtk_window_set_decorated().
3969 * at-bridge/bridge.c:
3970 Bridge now deregisters when app exits, via
3971 registration of a cleanup function
3972 with the g_atexit() call.
3973 Required making 'app' static, renamed 'this_app'.
3974 Fixed broken use of bonobo_init, passing argv wrongly.
3976 2001-09-27 Bill Haneman <bill.haneman@sun.com>
3980 Created a new directory for
3981 accessibility-related utilities, primarily for
3982 testing and demo purposes, but with possible
3989 Onscreen magnifier utility that
3990 is implemented as a bonobo service.
3992 * util/mag_client.c:
3993 * util/mag_client.h:
3994 Client-side support (simple C bindings)
3995 for Magnification service
3997 * util/mag_control.c:
3998 Client program example for
3999 Magnification service
4001 * util/Accessibility_Magnifier.server.in:
4002 Bonobo-activation file for the
4003 Magnification service.
4006 * util/idl/Magnifier.idl:
4007 IDL defining the bonobo Magnification
4011 Modifications to use the bonobo-activated magnifier
4012 above, in place of trying to connect to an existing
4013 magnifier that uses socket-listening IPC.
4015 If env variable MAGNIFIER is set, a magnifier service
4016 will be started if one does not exist.
4018 2001-09-25 Bill Haneman <bill.haneman@sun.com>
4020 * at-bridge/bridge.c:
4021 applied patch from Marc to build and run
4022 against new glib and gtk+ (seemed like a change
4023 to bonobo_init signature was made ?)
4025 made festival-server support turned off by default.
4026 Added support for a simple magnifier (off by default)
4027 which will be added to a 'util' directory later.
4028 * at-bridge/Makefile.am:
4029 Changed "application.h" header from a 'source'
4030 to a 'dependency' of libat-bridge.
4032 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4041 Added interface implementation c files to list of
4042 includes so they are included in libcspi.
4045 Changed prototype of AccessibleAction_doAction to return a
4047 Changed prototype of AccessibleTable_getCaption to
4048 return an Accessible.
4049 Changed prototype of AccessibleTable_getSelectedRows
4050 and AccessibleTable_getSelectedColumns to
4051 return a long (returns the number of selected rows
4052 or columns respectively).
4053 Changed name of AccessibleText_refRunAttributes to
4054 AccessibleText_getAttributes.
4055 Changed prototype of AccessibleText_getCharacterExtents to
4056 return a void rather than a boolean.
4057 Added support for a AccessibleCoordType parameter
4058 specifying what type of coordinates are desired.
4059 Added an AccessibleCordType parameter to
4060 AccessibleText_getPointAtOffset.
4062 * cspi/spi_accessible.c:
4063 Added code to return the outstanding interfaces from
4064 Accessible_queryInterface.
4066 * cspi/spi_action.c:
4068 Corrected call to getNActions to call the c binding
4071 * cspi/spi_editabletext.c:
4073 Changed name from setRunAttributes to setAttributes.
4075 * cspi/spi_hyperlink.c:
4077 Changed call to getNAnchors to correctly call the c
4078 binding for an attribute.
4080 * cspi/spi_hypertext.c:
4082 Changed getImageDescription to correctly call the
4083 binding for an attribute.
4085 * cspi/spi_selection.c:
4086 Changed getNSelectedChildren to correctly call the c
4087 binding for the attribute.
4088 Changed refSelectedChild to getSelectedChild.
4092 Changed getCaption to return an Accessible.
4093 Fixed calls which retrieve attributes.
4094 Changed refAt to getAccessibleAt.
4095 Changed getNSelectedRows and getNSelectedColumns to
4099 Changed getCharacterExtents and getPointAtOffset to accept an
4100 AccessibleCoordType.
4102 Changed calls which retrieve attributes.
4103 Changed refRunAttributes to getAttributes.
4108 * idl/Hyperlink.idl:
4109 Changed n_anchors attribute to nAnchors to keep naming
4110 convention consistent.
4113 Made Table inherit from Bonobo::Unknown.
4114 Added nSelectedColumns and nSelectedRows attributes.
4117 Made Value inherit from Bonobo::Unknown.
4119 * libspi/hyperlink.c:
4120 Change for nAnchors attributte name change.
4122 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4130 Added interface implementation c files to list of
4131 includes so they are included in libcspi.
4134 Changed prototype of AccessibleAction_doAction to return a
4136 Changed prototype of AccessibleTable_getCaption to
4137 return an Accessible.
4138 Changed prototype of AccessibleTable_getSelectedRows
4139 and AccessibleTable_getSelectedColumns to
4140 return a long (returns the number of selected rows
4141 or columns respectively).
4142 Changed name of AccessibleText_refRunAttributes to
4143 AccessibleText_getAttributes.
4144 Changed prototype of AccessibleText_getCharacterExtents to
4145 return a void rather than a boolean.
4146 Added support for a AccessibleCoordType parameter
4147 specifying what type of coordinates are desired.
4148 Added an AccessibleCordType parameter to
4149 AccessibleText_getPointAtOffset.
4151 * cspi/spi_accessible.c:
4152 Added code to return the outstanding interfaces from
4153 Accessible_queryInterface.
4155 * cspi/spi_action.c:
4157 Corrected call to getNActions to call the c binding
4160 * cspi/spi_editabletext.c:
4162 Changed name from setRunAttributes to setAttributes.
4164 * cspi/spi_hyperlink.c:
4166 Changed call to getNAnchors to correctly call the c
4167 binding for an attribute.
4169 * cspi/spi_hypertext.c:
4171 Changed getImageDescription to correctly call the
4172 binding for an attribute.
4174 * cspi/spi_selection.c:
4175 Changed getNSelectedChildren to correctly call the c
4176 binding for the attribute.
4177 Changed refSelectedChild to getSelectedChild.
4181 Changed getCaption to return an Accessible.
4182 Fixed calls which retrieve attributes.
4183 Changed refAt to getAccessibleAt.
4184 Changed getNSelectedRows and getNSelectedColumns to
4188 Changed getCharacterExtents and getPointAtOffset to accept an
4189 AccessibleCoordType.
4191 Changed calls which retrieve attributes.
4192 Changed refRunAttributes to getAttributes.
4197 * idl/Hyperlink.idl:
4198 Changed n_anchors attribute to nAnchors to keep naming
4199 convention consistent.
4202 Made Table inherit from Bonobo::Unknown.
4203 Added nSelectedColumns and nSelectedRows attributes.
4206 Made Value inherit from Bonobo::Unknown.
4208 * libspi/hyperlink.c:
4209 Change for nAnchors attributte name change.
4212 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
4214 implementations-- made server implementations own AtkObject pointers
4215 rather than their respective AtkInterrface pointers to fix
4216 refcounting. AtkHyperlink is still broken.
4218 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4219 * cspi/spi_accessible.c:
4220 Added method Accessible_Role_getName(),
4221 and requisite string array (role_names).
4222 Added conversion string_from_corba_strin() call
4223 to Accessible_getName and _getDescription.
4224 * libspi/accessible.c:
4225 Added implementation for Accessible_getRole()
4227 Added festival support, used if environment variable
4230 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4232 * at-bridge/bridge.c:
4233 Now allocate Accessibility_Event using
4234 Accessibility_Event__alloc() instead of g_new0().
4235 * libspi/accessibleeventlistener.c:
4236 Initialize AccessibleEventListener->callbacks to NULL.
4237 Fixed accessible__event_listener_init() param, changed to
4238 "AccessibleEventListener *" type.
4239 Changed a bonobo_object_release_unref() call to
4240 Accessibility_Accessible_unref().
4241 * libspi/listener.c:
4242 Changed Bonobo_Unknown_unref to (equivalent)
4243 Accessibility_Accessible_unref.
4244 * libspi/registry.c:
4245 Changed bonobo_object_release_unref to
4246 Accessibility_Accessible_unref.
4248 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4251 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
4252 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
4253 spi-util.c spi-util.h
4254 Implementations for C bindings to remaining accessibility
4257 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4260 changed return value of Action from void to boolean to
4261 bring in line with ATK.
4264 Changed getText funcions to return "out" start and end offsets.
4265 Changed getAttributes to take and offset and return the start
4266 and end offset of the attribute run.
4267 Changed getOffsetAtPoint and getCharacterExtents to take an
4268 enum describing whether coordinates are window or screen.
4271 libspi/action.c libspi/action.h libspi/editabletext.c
4272 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
4273 libspi/hypertext.c libspi/hypertext.h libspi/image.c
4274 libspi/image.h libspi/selection.c libspi/selection.h
4275 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
4276 libspi/value.c libspi/value.h
4277 Added server implementations for outstanding ATK interfaces
4278 not yet implemented.
4280 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4283 Added (missing) getName() method.
4284 Made nActions an attribute.
4285 * idl/EditableText.idl:
4286 Changed order of params in setAttributes.
4287 * idl/Hyperlink.idl:
4288 Removed getAnchor, added getURI.
4290 Changed attributes to methods, for efficiency
4291 (so that getting extents can be done in one call)
4292 * idl/Selection.idl:
4293 Changed nSelectedChildren to attribute, and re-indented.
4294 * idl/Table.idl: changed nrows, ncolumns, caption, summary
4296 * idl/Text.idl: reformatted to match our coding style.
4297 (temporarily?) removed getRowColumnAtOffset().
4298 Changed text selection API to support multi-select and
4299 non-contiguous selections, as in ATK.
4300 * idl/Value.idl: changed some methods to attributes.
4302 2001-08-24 Mark McLoughlin <mark@skynet.ie>
4304 * libspi/listener.c(impl_notify_event):
4305 BonoboUnkown_unref the source instead
4306 of bonobo_object_release_unref - the ORB
4307 handles the releasing.
4309 * configure.in: require ORBit-2.3.94 for
4312 2001-08-21 Bill Haneman <bill.haneman@sun.com>
4314 Tagged CVS repository 'EA_1_0'.
4315 * README.EARLY_ACCESS:
4316 Alphabetized acknowledgements list, and
4318 Listed some known dependencies of at-spi.
4320 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4322 * docs/at-spi-docs.sgml:
4323 * docs/at-spi-sections.txt:
4324 * docs/at-spi-overrides.txt: (Added zero-length file)
4325 Documentation improvements - gtk-doc should build
4326 docs for all implemented C bindings now.
4329 * cspi/spi.c: (New file)
4330 * cspi/spi_event.c: (New file)
4331 * cspi/spi_registry.c: (New file)
4332 * cspi/spi_accessible.c: (New file)
4333 * cspi/spi_application.c: (New file)
4334 * cspi/spi_component.c: (New file)
4335 Split spi_main.c into six parts, and included them from
4336 "spi.c". This is a bit of a hack, probably temporary,
4337 but required by gtk-doc, apparently.
4339 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4342 * docs/at-spi-docs.sgml:
4343 * docs/at-spi-sections.txt:
4345 Initial checkins/modifications for gtk-doc generation.
4348 Added (missing) interface query methods to Accessible's C binding.
4350 Added GenericInterface type definition.
4352 Added query for AccessibleComponent interface to focus event handler.
4353 Added printout of bounding box for focussed component.
4354 * libspi/component.c:
4355 Added partial implementation for AccessibleComponent to C binding.
4356 * idl/Application.idl:
4357 * libspi/registry.c:
4358 * libspi/listener.c:
4359 * libspi/application.c:
4360 * libspi/application.h:
4361 Changed "ID" attribute type from string to long.
4363 2001-08-19 Bill Haneman <bill.haneman@sun.com>
4367 Made method naming consistent: methods taking object args
4368 start with uppercase, other methods (except those using
4369 acronyms) start with lowercase. Underscores delimit between
4370 object names and method names:
4371 SPI_init() - uppercase since it starts with an acronym.
4372 getDesktopCount () - lowercase start since no object param0.
4373 Accessible_getName() - uppercase object type name, studlyCaps method
4377 Added gtk-doc documentation for all currently implemented
4378 methods in the C bindings API.
4380 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4382 * Makefile.am : changed build order to build test last.
4385 Changed "createEventListener" to "CreateEventListener".
4386 * libspi/accessibleeventlistener.c :
4387 Bugfix for addition of callbacks.
4388 * test/Makefile.am :
4389 * test/simple-at.c :
4390 Added new test that uses the C bindings API.
4392 * libspi/listener.c :
4393 * libspi/registry.c :
4394 * libspi/accessibleeventlistener.c :
4395 * at-bridge/bridge.c :
4396 Renamed member "target" of Accessibility_Event to "source",
4397 which is more descriptive.
4400 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4404 * cspi/Makefile.am :
4405 Added makefile support for at-spi/cspi directory.
4408 * cspi/spi-listener.h : (NEW FILE)
4409 Added support for/use of spi-listener.h.
4411 C bindings now build successfully, with no warnings.
4412 * libspi/accessibleeventlistener.h : (NEW FILE)
4413 * libspi/accessibleeventlistener.c : (NEW FILE)
4414 * libspi/Makefile.am :
4415 Added new object type "AccessibleEventListener"
4416 which inherits from Listener, and allows attachment
4417 of in-process callbacks (so that a client with a listening
4418 object instance can add functionality to the local
4419 implementation, dynamically).
4421 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4423 * libspi/accessible.c:
4424 Add implementation for get_index_in_parent().
4426 Added #include of "spi-roletypes.h", and
4427 added enumerated type AccessibleCoordType.
4428 Added definition for KeystrokeListener (function type).
4431 * cspi/spi-statetypes.h :
4432 * cspi/spi-roletypes.h :
4434 Added these headers, used by spi.h.
4436 Added code (NOTE: not yet built by make).
4438 2001-08-18 Mark McLoughlin <mark@skynet.ie>
4440 * libspi/Makefile.am: generate imodule
4441 at the same time as other idl compiler
4444 2001-08-17 Bill Haneman <bill.haneman@sun.com>
4445 * libspi/registry.c :
4446 * libspi/application.c :
4447 * idl/Application.idl :
4448 Made registration with toolkit an application method,
4449 which is required since each app has its own toolkit static
4450 environment. Thus the bridge must register for
4451 notification of toolkit events from each application in turn.
4452 Toolkit notifications are now successfully registered for, and
4453 sent to the listening at client.
4455 Changed toolkit event string to use hyphens rather than underscores.
4456 * libspi/listener.c :
4457 listner now gives more info in debug mode - it reports the
4458 name of the event received, as well as the name of the source.
4461 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4463 * libspi/registry.c :
4464 added more implementation for toolkit events.
4465 Fixed bug such that toolkit event registrations
4466 (via atk) use the whole event name string, not
4468 Removed a useless call to an ORBit_ method.
4469 * at-bridge/bridge.c :
4470 Removed unused local sbuf[] variable.
4472 We now register for Gtk:GtkWidget:button_press_event
4473 events as well as "focus:" events.
4475 Add some more API from Registry.idl that was missing,
4476 for keystroke listening, keystroke and mouse event
4477 synthesis, and enumeration of accessible desktops.
4479 2001-08-16 Michael Meeks <michael@ximian.com>
4481 * configure.in: use AM_GLIB_GNU_GETTEXT.
4483 * Makefile.am (SUBDIRS): kill intl.
4485 2001-08-15 Michael Meeks <michael@ximian.com>
4487 * registryd/Makefile.am: s/oaf/server/ relocate info file.
4489 * configure.in: upd.
4491 * configure.in: depend on a recent bonobo-activation that
4492 will find our server files ...
4494 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4496 * libspi/accessible.c : accessible_new() :
4497 Now we add the Component interface via bonobo_object_add_interface,
4498 if the contained AtkObject implements AtkComponent.
4499 * libspi/accessible.h : now include "component.h"
4500 * libspi/component.h :
4501 * libspi/component.c : added files - implementation of
4502 bonobo wrapper object for Accessibility/Component
4503 * libspi/listener.c :
4504 Added test code to check for Accessibility/Component:1.0
4505 interface and report whether it is implemented by the
4507 * libspi/registry.c :
4508 Now we check for not only the hash of the whole event
4509 string before relaying the event, we also check the
4510 "minor" event string (without the detail string).
4511 This allows event listeners to be registered against
4512 all events of a certain major+minor type, or just
4513 against a specific major+minor+detail type.
4514 * libspi/accessible.c :
4515 Added implementations for Accessible:get_parent(),
4516 Accessible:getChildCount(), and Accessible:getChildAtIndex().
4517 * libspi/registry.c :
4518 * libspi/listener.c :
4519 Replaced calls to Accessibility_Accessible_ref() and
4520 Accessibility_Accessible_unref() with
4521 calls to bonobo_object_dup_ref() and
4522 bonobo_object_release_unref(), so that the CORBA object
4523 is dup-ed and released when relayed, as well as the bonobo object.
4525 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4527 * libspi/Makefile.am,
4528 registryd/Makefile.am,
4529 at-bridge/Makefile.am.
4530 test/Makefile.am, configure.in:
4531 reverse previous changes.
4533 * /idl/Image.idl: fix typo.
4535 * test/Makefile.am: put DEBUG_FLAGS
4538 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4540 * test/app.c: use argv[0] instead of
4543 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4545 * libspi/Makefile.am,
4546 registryd/Makefile.am,
4547 at-bridge/Makefile.am.
4548 test/Makefile.am, configure.in:
4549 cleanup, replace individual LIBS/CFLAGS with
4550 AT_COMMON_{LIBS|CFLAGS}.
4554 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4556 * configure.in, libspi/Makefile.am:
4557 Change IDL path checking for bonobo-activation
4560 2001-08-15 Bill Haneman <bill.haneman@sun.com>
4562 * registryd/registry.c : separated event listeners to use
4563 3 separate lists (focus, window, toolkit). Began testing
4564 event names against hashes before relaying events.
4565 * test/at.c : now register for events of type "focus:"
4566 * test/app.c : now generate events of type "focus:"
4567 * at-bridge/bridge.c : register with ATK for focus events,
4568 and we now relay those focus events to any "focus:" listeners.
4569 This now works with the bridge as a GTK_MODULE when running test/at.
4570 * libspi/registry.c :
4571 * libspi/listener.c :
4572 now we ref event sources before propagating, and unref on receipt.
4573 * libspi/registry.c :
4574 some changes to internal structs, to support event typestring hashes.
4575 * text/app.c : changed the way the appname is generated.
4576 * cspi : added directory that will hold the C bindings library for
4577 non-CORBA/bonobo-savvy clients.
4578 * cspi/spi.h : header file that contains the function prototypes for the C binding.
4579 * idl/Component.idl : added in parameter to indicate coord system for
4580 geometry-related calls.
4581 * idl/Hyperlink.idl : added readonly n_links attribute
4582 * idl/Image.idl : changed methods to attributes.
4584 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4586 * at-bridge/Makefile.am: link against
4587 ../libspi/libspi.la instead of -lspi.
4589 * at-spi/test/app.c: include
4590 bonobo-activation.h. Use a default appname
4591 if one is not provided.
4593 2001-08-14 Bill Haneman <bill.haneman@sun.com>
4595 * idl/Registry.idl : temporarily changed register_Application
4596 to oneway, to work around issue with initial registration
4598 * idl/Application.idl : changed attribute "id" from readonly
4599 to read-write, since it needs to be assigned by Registry.
4600 * registryd/registryd.c : added call to set application id
4602 * registryd/registry.c : changed de-registration procedure to
4603 use CORBA_Object_hash() to find matching object ref in application
4604 lists and listener lists.
4605 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
4606 began distinguishing between event types (work in progress).
4608 2001-08-13 Bill Haneman <bill.haneman@sun.com>
4611 * libspi/application.c:
4612 Added implementations for get/set id, get_toolkitName,
4614 * registryd/registryd.c :
4618 Converted from use of OAF to bonobo-activation.
4619 * libspi/desktop.h :
4620 * libspi/desktop.c :
4622 Removed references to atksimpleobject, since base atkobject
4623 implementation now provides functionality we need.
4624 * libspi/atksimpleobject.c :
4625 * libspi/atksimpleobject.h :
4630 * at-bridge/Makefile.am
4631 * at-bridge/bridge.c
4634 Added directory "bridge" and contents, and added dependencies
4635 in Makefile.am/configure.in.
4636 Initial checkin of "at-bridge".
4637 This code is a GTK_MODULE which automatically registers
4638 GTK+ apps with the accessibility registry, using an object
4639 reference to the root ATK object.
4641 2001-08-10 Mark McLoughlin <mark@skynet.ie>
4643 * po/Makefile.in.in: Remove. Again. If this
4644 doesn't get autogenerated - you need to update
4647 2001-08-07 Mark McLoughlin <mark@skynet.ie>
4649 * po/Makefile.in.in: Add. Again.
4651 2001-07-31 Bill Haneman <bill.haneman@sun.com>
4653 * libspi/accessible.c : added support for 'description' property.
4654 * libspi/accessible.c
4656 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
4657 (since the two are now equivalent in libbonobo)
4665 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
4666 Bonobo::Unknown as does Accessibility::Accessible.
4667 * idl/StreamableContent.idl : as above, and replaced internal InputStream
4668 interface with Bonobo::Stream, since it was redundant with it.
4669 (The Stream returned by a StreamableContext object is expected to
4670 implement only a subset of Bonobo::Stream)
4672 2001-07-28 Anders Carlsson <andersca@gnome.org>
4674 * libspi/accessible.c (accessible_object_finalize): Change
4675 g_free to g_object_unref since the AtkObject is a GObject.
4677 2001-07-30 Bill Haneman <bill.haneman@sun.com>
4679 * idl/Accessibility.idl: add new IDL files
4682 * idl/Action.idl: Definitions of actionable UI object
4683 * idl/Component.idl: Definitions of UI component geometry, etc.
4684 * idl/Hyperlink.idl: Defs of hyperlink behavior
4685 * idl/Image.idl: Def of accessible image
4686 * idl/Selection.idl: Definition of UI object with selectable children
4687 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
4688 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
4689 * idl/Text.idl: Interface defs for UI elements with complex textual content
4690 * idl/Value.idl: Definition of UI element that is a value controller or display
4692 2001-07-27 Michael Meeks <michael@ximian.com>
4694 * po/Makefile.in.in: remove autogenerated file from CVS.
4696 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
4699 * idl/Registry.idl: include guard.
4701 * idl/Accessibility.idl: Add, and include all the other IDL
4704 * idl/*.idl: remove mass of pragmas etc.
4706 2001-07-26 Michael Meeks <michael@ximian.com>
4708 * registryd/Makefile.am (registryd_SOURCES): remove
4711 2001-07-27 Mark McLoughlin <mark@skynet.ie>
4713 * libspi/.cvsignore, registryd/.cvsignore,
4714 test/.cvsignore: updated.
4716 * po/Makefile.in.in: gettext update.
4718 2001-07-25 Bill Haneman <bill.haneman@sun.com>
4720 * initial CVS checkin
4722 2001-06-29 Michael Meeks <michael@ximian.com>
4724 * configure.in: add AM_CONFIG_HEADER to gen config.h