1 2002-10-18 Bill Haneman <bill.haneman@sun.com>
6 Added template for HAVE_XKB.
9 Changes to check for XKB, and to set the HAVE_XKB #define if it
13 ()impl_notify_event): Make failure to get event source name
16 * registryd/deviceeventcontroller.c:
17 (#include): include X11/XKBlib.h.
18 (DEControllerPrivateData) : New struct.
19 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
21 (dec_synth_keycode_press) (dec_synth_keycode_release):
22 New methods; split the key synthesis code into these methods.
23 They check XKB settings before determining the "time" values to
24 pass to Xtest; this fixes bug #95828.
25 (impl_generate_keyboard_event): Changed to use methods above,
26 instead of callng Xtest directly.
27 (spi_device_event_controller_init): Initialize new privae struct s
29 (spi_device_event_controllr_object_finalize):
30 Free the (new) private data.
32 * registryd/deviceeventcontroller.h:
33 Add new gpointer to end of struct data.
35 2002-10-16 Bill Haneman <bill.haneman@sun.com>
38 Incremented revision to 1.1.2, SONAME is still '.so', library
39 extensions are ".so.0.0.2".
41 * registryd/deviceeventcontroller.c:
42 FIXES FOR #93592 and #95940.
43 (statics): renamed mouse_button_state to mouse_mask_state,
44 added key_modifier_mask.
45 (spi_dec_poll_mouse_moved):
46 Added key modifier checks, and emit "keyboard:modifiers"
47 events when the key modifiers currently in use change.
48 Also generate "mouse:abs" events periodically, even if the mouse
49 is stationary (should we?).
50 Alternatively we could generate "mouse:abs" events for either all
51 mouse movements, or every 'nth' mouse movement, or at the
52 beginning and end of every "active" mouse period.
54 * test/event-listener-test.c:
55 (main): Added listener for "keyboard:modifiers" events.
57 2002-10-15 Bill Haneman <bill.haneman@sun.com>
60 Added key mask #defines for mouse buttons; e.g.
61 SPI_KEYMASK_BUTTON1, etc.
64 Incremented dependency on ATK to version 1.1.0. (This dependency
65 is probably premature but will soon be real enough).
67 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
69 * libspi/hyperlink.[ch]
70 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
71 (get_hyperlink_from_servant): Check object is AtkHyperlink not
74 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
79 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
81 * registryd/deviceeventcontroller.c
82 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
84 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
85 keyboard_mode so that XAllowEvents() can be called.
89 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
91 * cspi/spi-accessible.c: Correct names of roles returned by
92 AccessibleRole_getName(). Fixes bug #95055.
94 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
96 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
99 * registryd/registry.c
100 (desktop_remove_application: Write diagnostic message to stderr for
103 (impl_accessibility_registry_deregister_global_event_listener):
104 Correct size of lists array. This addresses bug #94555).
106 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
108 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
111 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
113 * registryd/Makefile: Add CLEANFILES so that .server file is removed
116 * registryd/registry.c (impl_registry_notify_event): Remove
117 unnecessary call to parser_event_type().
119 * docs/reference/cspi/tmpl/spi_component.sgml:
120 Add reference to SPI_LAYER_WINDOW.
122 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
124 * registryd/registry.c
125 (desktop_add_application): Remove leak.
126 (desktop_remove_application): Remove leak.
127 (parser_event_type): Remove leak.
129 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
131 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
132 bogus call to CORBA_string_dup(). Also removed unnecessary
133 g_string_dup/g_free calls.
135 2002-09-13 Bill Haneman <bill.haneman@sun.com>
137 * registryd/deviceeventcontroller.c:
138 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
140 * test/event-listener-test.c:
141 main: commented out three redundant listeners, to reduce output
142 noise. (They still are potentially useful for testing).
145 2002-09-13 Michael Meeks <michael@ximian.com>
147 * Update all the copyrights to include Ximian.
149 2002-09-06 Mark McLoughlin <mark@skynet.ie>
151 * cspi/spi.h: add SPI_LAYER_WINDOW.
153 * cspi/spi_component.c: (AccessibleComponent_getLayer):
154 add Accessibility_LAYER_WINDOW case.
156 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
158 * libspi/component.c: (impl_accessibility_component_get_layer):
159 add ATK_LAYER_WINDOW case.
161 2002-08-28 Bill Haneman <bill.haneman@sun.com>
163 * configure.in: incremented micro version.
165 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
167 2002-08-20 Bill Haneman <bill.haneman@sun.com>
170 Clarified and reworded our commit policy.
173 Started an API "todo" addition list for 2.2.
177 Free char pointer from atk_text_get_selection, which was being leaked.
179 2002-08-19 Bill Haneman <bill.haneman@sun.com>
182 Small revision to author acknowledgement.
184 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
186 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
187 If signal has detail add it to the type of the event.
190 2002-08-12 Michael Meeks <michael@ximian.com>
192 * test/test-simple.c (global_listener_cb): bin bogosity.
193 (test_keylisteners): disable, still doesn't work reliably,
194 certainly not on my system anyway.
196 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
197 don't leak a reference on the DEC. This round-trip
198 fetching of the DEC per keystroke sucks, it should be
201 * cspi/spi-private.h,
202 * cspi/cspi-lowlevel.h,
203 * cspi/bonobo/cspi-bonobo-listener.[ch],
204 * cspi/bonobo/cspi-bonobo.c: get the copyright
205 notices better - there is still a large amount of
206 work in at-spi falsely attributed solely to Sun.
208 * cspi/spi_main.c (cspi_object_ref): kill bogus
209 hash lookup, just increment the ref.
210 (SPI_freeString): make explicit the fact that we
211 handle NULL strings just fine.
212 (report_leaked_ref): obey coding standards.
213 (cspi_object_hash, cspi_object_equal): kill retval.
214 (cspi_object_release): only release if not on loan.
215 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
216 (cspi_object_borrow, cspi_object_return): impl.
218 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
219 use cspi_object_borrow / return.
221 2002-08-12 Darren Kenny <darren.kenny@sun.com>
223 * cspi/bonobo/cspi-bonobo-listener.c:
225 Don't call cspi_oject_new() because this is creating a new Accessible
226 every single time that an event is fired. This causes ATs like at-poke
227 to nolonger recognise the source of the event and thus ignore it.
228 Re-use the object from the cache, ref it and then unref it after the
229 listeners have been called.
231 2002-08-06 Darren Kenny <darren.kenny@sun.com>
233 * test/event-listener-test.c:
234 Added command-line options to disable mouse events (m) and
237 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
239 * configure.in: Update required versions of ATK, GTK+ and GAIL
241 * cspi-1.0.pc.in: Add dependency for X include files
244 * cspi/bonobo/Makefile.am:
245 Add $(X_CFLAGS) so that X include files
246 are picked up even if not in standard place (bug #71686)
248 2002-06-25 Bill Haneman <bill.haneman@sun.com>
250 * registryd/deviceeventcontroller.c: fix for 84261
251 (spi_dec_mouse_moved):
252 Added test of mouse button mask, so that we can detect mouse
253 button release. Unfortunately we can't otherwise detect mouse
254 button release events without consuming the mouse press event,
255 because of the way XGrabButton works. This means that our mouse
256 release events have a latency dependent on the polling period
257 while the mouse button is down. At least in this case we only
258 have to poll while the button is down, and not at other times.
259 If the button masks don't match with what the last press event
260 reported, we report the appropriate button release event.
261 (spi_dec_ungrab_mouse):
262 New method (not yet called).
263 (spi_device_event_controller_forward_mouse_event):
264 New method, sends mouse press event from GdkFilter.
265 (spi_dec_init_mouse_listener):
266 Added code to call XGrabButton, redirecting mouse button events to
267 the root window and our Gdk event loop.
269 Added code to filter mouse button events, and reordered.
271 * test/event-listener-test.c:
273 Added registration for mouse events of type "mouse:button".
275 2002-06-25 Bill Haneman <bill.haneman@sun.com>
277 * registryd/deviceeventcontroller.c: partial fix for 84261
278 (spi_dec_poll_mouse_idle):
279 New method, a timeout which checks to see if the mouse
281 (spi_dec_poll_mouse_moving):
282 A timeout to be called when mouse motion is underway.
283 (spi_dec_poll_mouse_moved):
284 A method which fires an event if the mouse has moved, and reports
285 whether or not it did so.
286 (spi_dec_init_mouse_listener):
287 A method which sets up the timeouts above.
288 (spi_device_event_controller_new):
289 Now calls spi_dec_init_mouse_listener.
291 * registryd/registry.c:
293 Now we initialize the device event controller when the registry is
294 initialized, instead of waiting until a client has requested a key
295 event notification; this is because we need the event controller
296 for mouse events, but the mouse event registration API is a
297 "registry" call and doesn't explicitly call the
298 deviceeventcontroller.
299 We now report mouse motion events with a 100 ms idle latency and
300 a 20 ms granularity when motion is in progress.
302 * test/event-listener-test.c:
304 We now register the "detail listener" for events of type
305 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
306 delivered only for the first mouse event received, and thereafter
307 "mouse:abs" events are delivered.)
309 * cspi/spi_registry.c:
310 DOCS: Documented the above mouse event typestrings.
312 2002-06-21 Bill Haneman <bill.haneman@sun.com>
314 Happy Summer Solstice...
316 * registryd/deviceeventcontroller.c: [fix for bug 84100]
317 (spi_controller_notify_keylisteners):
318 Changes to remove a listener from the listener list, freeing its
319 open keygrabs, if a notification to that listener fails. This
320 means that although a dead listener can continue to hold a passive
321 keygrab, a maximum of one dispatch to such a listener can fail
322 before the listener is removed from the list, thus the keygrab
323 will be released on the next occurrence.
325 (spi_notify_keylisteners):
326 Renamed to spi_controller_notify_keylisteners, as the controller
327 instance must now be passed as an argument.
328 The copied 'notify' GList is now a list of DEControllerKeyListener
329 objects, since we need more than just the CORBA reference if a
330 notify fails and we need to deregister the listener.
331 (impl_notify_listeners_sync):
332 (impl_notify_listeners_async):
333 (spi_device_event_controller_forward_key_event):
334 Modify use of notify_keylisteners in accordance with above
336 (spi_deregister_controller_key_listener):
337 New method introduced by refactoring, from
338 impl_deregister_keystroke_listener.
339 (impl_deregister_keystroke_listener):
340 Call spi_deregister_controller_key_listener.
341 (spi_key_listener_clone):
342 New method to copy a key listner without doing a 'ref' on the
343 remote object instance; used to create a notifier list.
344 (spi_key_listener_data_free):
345 New method, frees data without unreffing the source.
347 (spi_key_listener_clone_free): new method.
348 (spi_key_listener_free):
349 refactored to call spi_key_listener_data_free.
351 2002-06-20 Bill Haneman <bill.haneman@sun.com>
353 * registryd/registry.c: [fix for bug 86048]
354 (notify_listeners_cb):
355 Clear CORBA system exceptions which occur when notifying
356 listeners, before returning to the source of the original event,
357 since the event source doesn't care if the relayed notify failed.
358 In other words, don't complain to the atk-bridge if the registry
359 could not notify all its listeners, that's no fault of the
360 application and thus should not appear to be an error from the
361 application's perspective.
363 * cspi/spi_main.c: [fix for bug 85980]
365 Replaced use of bonobo_object_dup_ref with call to the wrapper
366 method, csou_dup_ref (); this silences a compiler warning and
367 provided more portability.
369 Ping the registry before return, and restart if necessary.
371 * cspi/bonobo/cspi-bonobo.c:
375 Fixed this method to return an object reference, as it should have
378 * cspi/cspi-lowlevel.h:
379 Added internal definition for cspi_ping() and fixed
380 return type of cspi_dup_ref().
383 2002-06-19 Bill Haneman <bill.haneman@sun.com>
385 * atk-bridge/bridge.c: [fix for bug 85305]
386 (spi_atk_bridge_register_application):
387 New method where the initial application registry calls have been
388 moved; it allows an application to re-register in response to
389 certain error conditions (such as a registry restart, see below).
391 Moved some initialization code to the method
392 spi_atk_bridge_get_registry, below.
393 (spi_atk_bridge_get_registry):
394 New, private accessor function for the Accessibility_Registry
395 instance. If the registry has not been started before, or has
396 died (as detected by failure of a CORBA exception), it is
397 restarted before return, and spi_atk_bridge_register_application
398 is called again to register with the new bridge instance.
399 (spi_atk_emit_eventv):
400 Set registry_died on error; use spi_atk_bridge_get_registry () to
403 * registryd/registry.c:
404 (impl_accessibility_registry_register_global_event_listener):
405 Set listener's event_type_quark to etype.minor instead of
406 etype.major (fix for bug 84856).
408 * test/event-listener-test.c:
409 (report_detail_event):
410 Change the output string so that user/tester can tell that the
411 'detail listener' was called instead of the 'generic listener'.
413 2002-06-18 Bill Haneman <bill.haneman@sun.com>
415 Fixes for bugs 84900, 84908, 84897, 84898.
420 Revved version to 1.1.0
421 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
422 version is going to HEAD which will be used for gnome-2-0-1 and later.)
424 * idl/Accessibility_Registry.idl:
425 (EventListener::notifyEvent):
426 Removed 'oneway' directive after extensive consulation with
427 ORBit2 team and others. This means also that unref() of the event
428 source can and should be done synchronously after emission, rather
429 than remotely in the client, after servicing the notify call on
432 NOTE: This change speeds up listener performance considerably, but
433 introduces new latency on the application side. We may want to
434 add an event queue to the atk-bridge.
436 * atk-bridge/bridge.c:
437 (spi_atk_bridge_focus_tracker):
438 Do a local unref() on the event source after emission.
440 * registryd/registry.c:
441 (desktop_remove_application):
442 Do an unref() on the event source after emission.
443 (desktop_add_application):
444 Do an unref() on the event source after emission.
445 (notify_listeners_cb):
446 When relaying an event, don't automatically add the event source
447 to the local object cache, just CORBA_dup it instead. Likewise,
448 if this method reenters, release the ref rather than calling
450 (impl_registry_notify_event):
451 No longer call remote unref() on the event source after dispatch.
453 * libspi/eventlistener.c:
454 (impl_accessible_event_notify_event):
455 Removed remote unref ()
457 * cspi/bonobo/cspi-bonobo-listener.c:
459 We now call cspi_object_new() instead of cspi_object_add() on
460 receipt of an event; thus we only have an implicit object ref
461 while the cspi_event method is being executed. If we need to keep
462 a reference to the object, the listener must call ref() on the
463 object. Thus also we don't need to call cspi_object_unref() after
464 invoking the listener callbacks in this method.
468 New internal API for creating a new cspi object, without adding it
471 Now uses cspi_object_new() to create the cspi object instance.
473 Now checks to see if the object is in the internal object cache,
474 and adds it if necessary before incrementing its refcount (note
475 that new objects are added with a refcount of 1).
477 New method which gives some information on leaked object instances
478 if leak detection is turned on.
480 * test/event-listener-test.c:
482 New method, used for testing event delivery timing for special
483 events of type "object:test". It reports elapsed time and
484 events/sec every 500 events.
486 Added a new listener, 'test listener', to check timing of event
487 receipt as noted above.
489 Added some timing output here also, reports elapsed time every 100
492 * test/stress-test.c:
493 Emit events of type "object:test", for use with "event-listener-test".
495 * test/test-simple.c:
496 (global_listener_cb):
497 Call Accessible_ref() on the event source before calling
498 validate_accessible, since the validation process does pointer
499 comparisons on the event source, meaning that the event source
500 needs to be added to the local object cache first. Any use of
501 such pointer comparisons between Accessible objects requires that
502 the caller hold an explicit reference to those objects.
503 We also must therefore call Accessible_unref() when leaving this method.
505 2002-06-13 Bill Haneman <bill.haneman@sun.com>
507 * registryd/deviceeventcontroller.c:
508 (spi_controller_update_key_grabs):
509 Fix for #84735, subsequent keygrab listeners not informed of
510 registration failure.
513 (spi_base_construct):
514 Add an assertion on construct, to make sure the GObject passed in
517 Explicitly initialize object->gobj pointer to NULL;
519 * cspi/bonobo/cspi-bonobo-listener.c:
520 (cspi_object_add_ref):
521 New method, can specify whether to dup-ref a bonobo object passed
522 in if it's newly added to the object cache.
524 Now calls cspi_object_add_ref with second param of "FALSE". This
525 prevents us from doing a pointless dup-ref followed by
526 release-unref for all those cases where the object is already in
527 our object cache (fix for #85205).
529 * atk-bridge/bridge.c:
530 (spi_atk_bridge_idle_init):
531 Removed this method, we don't need to initialize in an idle
534 Changed to call spi_atk_register_event_listeners directly, not via an
535 idle handler. (fix for #81139)
536 (gnome_accessibility_module_shutdown):
537 Removed conditional around deregistration of listeners, since we
538 don't use the idle handler and thus have always registered when
540 (spi_init_keystroke_from_atk_key_event):
541 Changed references to Accessibility_KEY_PRESSED to
542 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
544 2002-06-12 Bill Haneman <bill.haneman@sun.com>
546 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
551 * test/stress-test.c:
554 (may have been an incomplete commit yesterday?)
556 2002-06-12 Bill Haneman <bill.haneman@sun.com>
559 Added target for new stress-test.
561 * test/stress-test.c:
562 New test, sends 1000 focus notifies in quick succession.
564 * test/key-listener-test.c:
565 Now we report whether a keylistener registration
566 request succeeded or failed.
568 * test/event-listener-test.c:
569 Uncommented some listeners which are now implemented.
572 2002-06-06 Bill Haneman <bill.haneman@sun.com>
574 * registryd/deviceeventcontroller.c:
575 (spi_controller_update_key_grabs):
576 Fix for #82509, lack of failure notification when
577 ALL_WINDOWS keygrabs fail due to XGrabKey
578 failure: we synchronize the server when
579 registering a passive grab, to make sure we get the
580 error message before the call returns.
582 2002-06-03 Bill Haneman <bill.haneman@sun.com>
584 * test/test-simple.c:
586 Removed #ifdef KEY_IMPL_WORKS guards.
588 Removed #ifdef KEY_IMPL_WORKS guards.
589 Fixed bug which was causing a hang waiting for a
590 "press" event (which was already overwritten by a "release"
591 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
593 Added code to set globals 'key_press_received' and
594 'key_release_received'.
597 Added section "1.1 API Proposed Additions" which
598 lists API additions desired for at-spi-1.1 (only one so far).
599 Updated TODO list a little.
601 2002-06-02 Bill Haneman <bill.haneman@sun.com>
603 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
606 * configure.in: Revved to 1.0.0.
608 * idl/Accessibility_Registry.idl:
609 (registerKeystrokeListener):
610 Added boolean return value.
612 * registryd/registry.c:
613 (notify_listeners_cb): Minor fix to debug output.
615 * registryd/Accessibility_Registry.server.in.in:
616 Revved version number in OAFIID to 1.0.
618 * registryd/registryd.c:
620 Use new OAFIID version.
622 * cspi/bonobo/cspi-bonobo.c:
624 Use new OAFIID version.
630 * atk-bridge/bridge.c:
632 Use new OAFIID version.
634 * registryd/deviceeventcontroller.c:
635 (impl_register_keystroke_listener):
636 Added CORBA_boolean return value.
637 (spi_controller_register_device_listener):
638 Added gboolean return value.
639 (spi_controller_register_global_keygrabs):
640 Added gboolean return value.
641 (spi_key_set_contains_key):
642 Added implementation for many more control keys,
643 for instance F1-F12, arrow keys, End, Home, Page_Up,
645 [TODO: some still not implemented].
647 * text/screen-review-test.c:
648 (text_chunk_pad_string):
649 New function: it provides mapping between coordinate
650 positions of text chunks and character positions in the
651 screen-review-line output string.
652 (text_chunk_to_string):
653 New function, calls text_chunk_pad_string with various
654 pad/delimiter characters. Pushbuttons are delimited with
655 square brackets, Frames with vertical 'pipe' lines, and
656 other text with double quotes.
657 (text_chunk_list_to_string):
658 Calls new function text_chunk_to_string.
659 (toplevel_composite):
660 New function to composite layers CANVAS through
661 POPUP in each toplevel (other layers are composited
662 across toplevels, i.e. BACKGROUND and OVERLAY).
663 (review_buffer_composite):
664 Revise to use new methods.
670 2002-05-31 Laszlo Peter <laca@sun.com>
672 * configure.in: add the Xtst libdir to the runpath on Solaris,
673 since it's not in the default library search path.
675 2002-05-29 jacob berkman <jacob@ximian.com>
677 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
679 2002-05-29 Bill Haneman <bill.haneman@sun.com>
681 * test/screen-review-test.c:
682 (text_chunk_pad_string):
683 Added method, which pads the string according to the
684 text bounds of the chunk. It also takes a 3-character
685 string as a param which indicates the characters to be
686 used for start, padding, and end delimitation of the chunk.
687 (text_chunk_to_string):
688 Changed to use text_chunk_pad_string.
690 * configure.in: Fixed bug in AC_OUTPUT that was
691 causing path substitution in Accessibility_Registry.server
694 2002-05-23 Bill Haneman <bill.haneman@sun.com>
696 * text/screen-review-test.c:
698 New method which attempts a best-guess at clipping
699 text from components (like Java labels) which don't
700 actually implement AccessibleText. This inaccurate
701 clip is based on the assumption that the label is
702 justified left-and-right, and monospaced.
703 (text_chunk_get_clipped_string):
704 We now call guess_string_clip() for text-containing
705 components that don't implement AccessibleText.
707 * test/screen-review-test.c:
708 (review_buffer_get_text_chunk):
709 We now pull "name" from labels if they do not implement
710 AccessibleText (i.e. for Java labels).
711 (get_screen_review_line_at):
712 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
715 Replaceded AC_OUTPUT target
716 registryd/Accessibility_Registry.server with
717 registryd/Accessibility_Registry.server.in.
719 * registryd/Accessibility_Registry.server.in:
720 Removed (this is now a Makefile target).
722 * registryd/Accessibility_Registry.server.in.in:
723 Added (source for target above). We now use $(libexecdir) as
724 prefix for the executable at-spi-registryd.
726 * registry/Makefile.am:
727 Now install at-spi-registryd into $(libexecdir), and build .server
728 file with path (see above).
730 2002-05-22 Bill Haneman <bill.haneman@sun.com>
732 * test/screen-review-test.c:
733 (text_chunk_get_clipped_string):
734 We now check to see if words fall within clip bounds
735 before resorting to character-by-character clip bounds testing.
737 * TODO: Added a section for "2.2 Proposed API Additions".
739 2002-05-21 Bill Haneman <bill.haneman@sun.com>
741 * test/screen-review-test.c:
743 Added a screen review benchmarking and test program to test
746 * cspi/spi_accessible.c:
748 Made some of the debug strings passed to cspi_check_ev a
749 little more specific.
751 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
753 * test/screen-review-test.c: Fix crashes in debug statements
755 2002-05-20 Bill Haneman <bill.haneman@sun.com>
757 * test/screen-review-test.c: Added this file.
759 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
761 * atk-bridge/bridge.c: changed "object:state-change" to
762 "object:state-changed" to match docs.
764 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
766 * atk-bridge/bridge.c: Hooked up state-change event details.
768 2002-05-11 Bill Haneman <bill.haneman@sun.com>
770 * registryd/registry.c:
771 Fixed quarking bug in event string parsing; now events with
772 detail parameters get matched correctly to listeners.
775 * util/idl/Magnifier.idl: remove.
777 * util/*.[ch]: Remove.
778 Magnification utilities and IDL are now in module gnome-mag.
780 2002-05-10 Bill Haneman <bill.haneman@sun.com>
782 * registryd/deviceeventcontroller.c:
783 Fixed bug in grab key conversion which was causing keycode grabs
784 to be converted to AnyKey grabs.
787 updated NEWS file to reflect recent spin-off of gnome-mag.
789 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
791 * cspi/spi_accessible.c: Added exception checks. Fixed completely
792 busted AccessibleStateSet_compare. Removed redundant casts.
794 * cspi/spi-action.c: Removed redundant casts.
796 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
798 * cspi/spi_component.c: Fixed typos and casting error.
800 * cspi/spi_editabletext.c: Removed redundant casts.
802 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
804 * cspi/spi_hypertext.c: Eliminated redundant casts.
806 * cspi/spi_image.c: Eliminated redundant casts.
808 * cspi/spi_registry.c: Eliminated redundant casts.
809 SPI_deregisterGlobalEventListenerAll () removed retval variable.
810 * cspi/spi_selection.c: Removed redundant casts.
811 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
812 handling. Screen geometry and text offsets were being returned as 0
813 on error which is technically valid-- changed these to return -1.
814 Added marshaller for text boundary types to fix bug with boundary
815 types being passed incorrectly to atk.
817 2002-05-09 Bill Haneman <bill.haneman@sun.com>
820 * cspi/spi_registry.c:
821 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
822 which was uncovered by the recent key changes.
824 2002-05-09 Bill Haneman <bill.haneman@sun.com>
826 * test/event-listener-test.c:
828 Added new test, "event-listener-test";
829 this code does two things; it benchmarks traversal time
830 for the accessible hierarchy for the first running accessible
831 app, and it connects listeners for all supported event types.
832 It is thus useful as an example event listener and for
833 diagnostics/debugging of event generation.
835 2002-05-08 Bill Haneman <bill.haneman@sun.com>
838 Removed unnecessary dependency on libutil.
841 Revved micro version: 0.13.1
843 2002-05-08 Bill Haneman <bill.haneman@sun.com>
846 Removed util/Makefile from targets.
849 Removed util subdir from SUBDIRS (temporarily,
850 pending removal of magnifier-only code
854 #ifdef-ed out magnifier dependencies, since
855 magnifier IDL, headers, and binary now live in
856 module gnome-mag and we don't want at-spi to depend
857 on gnome-mag. A magnifier demo which can run alongside
858 simple-at is forthcoming in the gnome-mag module.
860 NOTE: Split magnifier binary, IDL, and magnification
861 activation code from at-spi into module gnome-mag.
863 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
865 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
866 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
868 2002-05-03 Bill Haneman <bill.haneman@sun.com>
871 Revved to version 0.13.0
873 * idl/Accessibility_Registry.idl:
874 Changed definition of KeySet from sequence of longs to sequence of
875 KeyDefinitions, and added KeyDefinition struct.
876 Required for fix to bug 80616.
878 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
879 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
880 to use new definition (see above).
882 * registryd/deviceeventcontroller.c: handle_keygrab(),
883 spi_keyset_contains_key():
884 Changed to make use of new struct; this allows matching based on
885 string key-name, for instance "Tab". This also allows matching of
886 composed characters, non-alphanumeric characters in a way that
887 doesn't involve dependencies on X keysym codes directly, etc.
889 * test/key-listener-test.c:
890 Added test for Alt-Tab key using "string" specification of keyset,
891 and modified one of the tests to use a keycode-based keyset.
892 Thus this test both tests and demonstrates the creation and use of
893 keysets of three forms: specified via keycode array,
894 keysym array, and string array. (The string case only contains a
895 single string, i.e. a string array of length 1).
898 Turned on PRINT_TREE option by default. Also fixed a
899 string-freeing bug in the PRINT_TREE code.
900 Added a listener to window:minimize events.
902 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
904 * atk-bridge/bridge.c:
905 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
906 for window:activate and window:deactiveate
907 (atk_bridge_property_event_listener atk_bridge_signal_listener
908 atk_bridge_window_event_listener) Tidy debug code
910 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
912 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
913 Fixed handling for NULL return value from ATK.
915 * libspi/action.c libspi/component.c libspi/editabletext.
916 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
917 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
918 Removed redundant casts.
920 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
921 Fixed off by one bug.
923 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
924 function not present in idl)
926 2002-05-02 jacob berkman <jacob@ximian.com>
928 * atk-bridge/Makefile.am: make atk-bridge a real module
930 2002-04-26 Radek Doulik <rodo@ximian.com>
932 * libspi/stateset.c (spi_init_state_type_tables): fix size of
933 atk_state_types table
935 2002-04-22 jacob berkman <jacob@ximian.com>
938 * libspi/Makefile.am: add deps on the built files to help
939 automake, and don't version the ORBit typelib
941 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
943 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
944 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
945 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
946 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
947 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
948 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
949 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
950 libspi/accessible.h libspi/accessible.h libspi/base.h
951 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
952 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
953 libspi/relation.h libspi/remoteobject.h libspi/selection.h
954 libspi/spi-private.h libspi/statetset.h libspi/table.h
955 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
956 util/mag_client.h util/mag_control.c util/mag_image.c
957 util/mag_image.h util/magnifier.c util/magnifier.h:
958 Add missing file headers; standardize existing ones
960 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
962 * atk-bridge/bridge.c: Added window event support.
964 2002-04-18 Michael Meeks <michael@ximian.com>
966 * libspi/relation.c (impl_getNTargets): impl.
967 (impl_getTarget): impl.
969 * libspi/Makefile.am: fix stateset install.
971 2002-04-17 Bill Haneman <bill.haneman@sun.com>
974 Started putting useful info in this file.
976 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
978 * atk-bridge/bridge.c:
979 Propagate state-changed notifications to ATs
981 * cspi/spi_registry.c: update docs to reflect actual behavior of
984 2002-04-17 Bill Haneman <bill.haneman@sun.com>
987 Incremented version to 0.12.1
990 Add missing declaration for magnifier_exit,
991 used by mag_control.c - Forte compiler didn't like
992 the implicit redeclaration of the function :-(
995 2002-04-16 Bill Haneman <bill.haneman@sun.com>
998 Revved version to 0.12 due to API change (see below).
1000 * cspi/spi-roletypes.h:
1001 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
1002 definition from the inline docs, and added docs
1003 for SPI_ROLE_LAST_DEFINED.
1006 * cspi/spi_streamablecontent.c:
1007 Added missing seek_type parameter to
1008 (so far unused) method,
1009 AccessibleStreamableContent_seek().
1010 [ RT approval JodyG. ]
1013 Fixed docs for SPI_createAccessibleKeystrokeListener.
1015 * cspi/spi_registry.c:
1016 Fixed docs for SPI_KEYSET_ALL_KEYS.
1018 * docs/reference/cspi/at-spi-cspi-sections.txt:
1019 Added a number of missing APIs to SECTIONS.
1021 2002-04-16 Bill Haneman <bill.haneman@sun.com>
1023 * registryd/Makefile.am:
1025 * cspi/bonobo/Makefile.am:
1026 Add $(X_LIBS) to makefiles.
1028 2002-04-15 Bill Haneman <bill.haneman@sun.com>
1031 Revved version to 0.11.
1033 * libspi/component.c:
1034 Added implementation for grabFocus.
1036 * idl/Accessibility_Component.idl
1037 (Accessibility_Component_grabFocus):
1038 Made this method return boolean to indicate success or failure, to
1039 be consistent with cspi and the corresponding ATK method.
1041 * idl/Accessibility_Selection.idl
1042 (Accessibility_Selection_selectAll) :
1043 Made these methods return boolean to indicate success or
1044 failure, to be consistent with cspi and the corresponding ATK methods.
1046 * idl/Accessibility_EditableText.idl
1047 (Accessibility_EditableText_setTextContents,
1048 Accessibility_EditableText_insertText,
1049 Accessibility_EditableText_cutText,
1050 Accessibility_EditableText_deleteText,
1051 Accessibility_EditableText_pasteText):
1052 Made these methods return boolean to indicate
1055 * cspi/spi_editabletext.c:
1056 Made these methods return booleans.
1058 * libspi/selection.c:
1059 * libspi/component.c:
1060 * libspi/editabletext.c:
1061 Connected the boolean returns from ATK
1062 to the server-side code referenced above.
1064 2002-04-14 Bill Haneman <bill.haneman@sun.com>
1066 * idl/Accessibility_Table.idl: Added missing methods,
1067 Accessibility_Table_addRowSelection,
1068 Accessibility_Table_addColumnSelection,
1069 Accessibility_Table_removeRowSelection,
1070 Accessibility_Table_removeColumnSelection.
1073 Added C wrappers for above IDL:
1074 AccessibleTable_addRowSelection,
1075 AccessibleTable_addColumnSelection,
1076 AccessibleTable_removeRowSelection,
1077 AccessibleTable_removeColumnSelection.
1080 Added server-side implementation code for IDL above, connecting
1081 to pre-existing ATK api.
1083 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
1085 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
1087 * libspi/accessible.c: Added implementation fo
1088 Accessibility_Accessible_get_state.
1090 * libspi/libspi.h: Added stateset.h to the list of includes.
1092 * libspi/stateset.c: Fixed broken implementation.
1094 2002-04-13 Bill Haneman <bill.haneman@sun.com>
1097 Added implementation code for Accessibility_Magnifier_exit ().
1099 * util/mag_control.c:
1100 Added test code for above method; you can
1101 now kill an existing magnifier via
1102 ./mag_control q, from the util directory.
1104 * test/key-listener-test.c:
1106 Added a new test, for our key listener API.
1108 2002-04-11 Bill Haneman <bill.haneman@sun.com>
1110 * test/app.c, test/keysynth-demo.c:
1112 Replace use of snprintf with g_snprintf.
1113 (fix for bugzilla 78249)
1115 2002-03-27 Michael Meeks <michael@ximian.com>
1119 * util/Makefile.am (INCLUDES): fix.
1120 (DONT_DIST_SOURCE): don't distribute the
1123 * libspi/Makefile.am (dist-hook): ditto.
1125 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
1127 * libspi/hypertext.c:
1128 Fix warnings when yelp is used with atk-bridge
1130 2002-03-21 Michael Meeks <michael@ximian.com>
1132 * libspi/application.c (spi_application_new):
1133 use spi_accessible_construct so we use the AtkObject
1136 2002-03-19 Michael Meeks <michael@ximian.com>
1138 * registryd/registry.c (desktop_remove_application),
1139 (desktop_add_application): clean coding style.
1141 * registryd/desktop.c (spi_desktop_remove_application),
1142 (spi_desktop_add_application): kill re-enterency hazards.
1143 (spi_desktop_dispose): remove bogus redundant cast
1144 obscuring bug; fix bug too.
1145 (spi_desktop_init): make the desktop object immortal.
1147 2002-03-16 Bill Haneman <bill.haneman@sun.com>
1150 Added a #define-guarded tree-traversal step
1151 when enumerating the apps (diagnostic tool).
1153 2002-03-15 Bill Haneman <bill.haneman@sun.com>
1155 * idl/Accessibility_Role.idl:
1156 Added ROLE_DRAWING_AREA which seemed to be missing from the
1159 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1161 * cspi/spi-roletypes.h cspi/spi_accessible.c
1162 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
1165 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
1166 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
1167 AT when applications are added and removed from the desktop. This
1168 reverts the previous broken implementation using the backing
1169 AtkObject for the SpiDesktop.
1171 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1173 * registryd/desktop.c: emit the "children-changed::add" and
1174 "children-changed::remove" signals on the backing ATK object for
1175 the desktop so AT can tell when applications are started and shut
1178 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1180 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
1182 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1184 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
1186 * cspi/spi_accessible.c: Implemented c bindings for stateset support
1188 * cspi/state-types.h: synched with IDL and ATK
1190 2002-03-13 Bill Haneman <bill.haneman@sun.com>
1192 * libspi/accessible.c
1193 (impl_accessibility_accessible_get_child_at_index):
1194 Change return value for g_return_if_fail ()
1195 to CORBA_OBJECT_NIL instead of "0" (!)
1197 * registryd/Makefile.am:
1198 * registryd/Accessibility_Register.server.in:
1199 Changed name of executable, "registryd",
1200 to something more informative:
1203 2002-03-13 Michael Meeks <michael@ximian.com>
1205 * atk-bridge/bridge.c (atk_bridge_init): don't register
1206 if we're in a bonobo-component, rather than a bonobo app.
1208 2002-03-13 Michael Meeks <michael@ximian.com>
1210 * atk-bridge/bridge.c (gtk_module_init): split
1211 out body to (atk_bridge_init): here, since otherwise
1212 we get symbol conflicts and oddness when invoked
1213 from (gnome_accessibility_module_init): here (upd.)
1215 2002-03-11 Bill Haneman <bill.haneman@sun.com>
1218 New file. Explicitly allow "build sheriff" putbacks provided
1219 they are tested on Solaris.
1221 * docs/reference/cspi/Makefile.am:
1222 Added '-' to the "cp" command for index.sgml.
1223 ("patch by thomasvs, soon coming to a GUADEC near you")
1226 Incremented version number (0.9.0) for new release.
1227 Changed macro that checks for popt, to better detect
1228 obsolete versions of popt.
1231 Added X_LIBS to AC_SUBST, for applications
1232 that call Xlib API directly.
1235 2002-03-07 Bill Haneman <bill.haneman@sun.com>
1238 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
1241 Fix regression caused by hard-coding major
1242 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
1245 * test/test-simple.c (test_editable_text),
1246 (test_test): revert previous change (error was
1247 a regression in gail which is now fixed).
1249 2002-03-04 Michael Meeks <michael@ximian.com>
1251 * test/test-simple.c (test_editable_text),
1252 (test_text): pass G_MAXINT instead of '-1' for
1253 whole string - is this a good thing !?
1255 * cspi/spi_accessible.c
1256 (Accessible_getRelationSet): fix crasher bug
1257 overwriting the end of the array.
1259 * test/test-simple.c (validate_accessible): free,
1260 not g_free returned relation set.
1262 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
1264 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
1265 implemented stateset support
1267 * idl/Accessibility_State.idl: Made necessary changes to
1268 the IDL to support state sets.
1270 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1272 * registryd/deviceeventcontroller.c:
1273 Added implementation for generateMouseEvent.
1275 * cspi/spi_registry.c:
1276 Connected new implementation for generateMouseEvent
1279 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1282 Incremented revision (but no change in public API
1283 outside of 'utils', which are not installed public yet.)
1285 * libspi/component.c:
1286 Changed to use atk_component API for layers and
1287 mdi_zorder, instead of deprecated atk_object API.
1289 Magnification Utility Enhancements:
1292 Added implementation of createZoomRegion, clearAllZoomRegions,
1293 resizeZoomRegion. Added new commandline argument
1294 "--no-initial-region". Note that clearAllZoomRegions doesn't
1295 unmap the old '0' region as it should (yet), and the other
1296 methods only work when creating/resizing a single region,
1297 which is "region 0".
1298 (Code for multiple region support will be added later.)
1301 Now we raise the magnifier window each time it's refreshed;
1302 this will help keep it on top.
1304 * util/mag_client.h:
1305 Added simple wrappers for above, used by mag_control.
1306 For general use, it's recommended to use the bonobo magnifier
1307 control API directly instead of using these wrappers.
1310 Moved ZoomRegionData from magnifier.c to this file.
1312 * util/mag_control.c:
1313 Added some code to exercise new IDL implementations.
1315 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
1317 * libspi/text.c: Provide implementation for getAttributes.
1319 2002-02-04 Bill Haneman <bill.haneman@sun.com>
1322 Incremented revision.
1324 * test/test-simple.c:
1325 Replaced use of deprecated g_main_iteration with
1326 g_main_context_iteration.
1328 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
1331 Incremented revision for desktop alpha 2.
1333 2002-01-28 Mark McLoughlin <mark@skynet.ie>
1335 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
1338 * test/simple-at.c: include netinet/in.h.
1340 2002-01-24 Mark McLoughlin <mark@skynet.ie>
1342 * cspi/spi_accessible.c: (Accessible_getRelationSet):
1343 use NULL, not CORBA_OBJECT_NIL.
1345 * libspi/accessible.c:
1346 (impl_accessibility_accessible_get_relation_set):
1347 allocate the sequence correctly.
1349 * libspi/remoteobject.h: kill spi_remote_object_new.
1351 * test/test-simple.c: (validate_accessible): add code
1352 to test relation sets, now all we need is to figure
1353 out how to excercise this code path :/
1355 2002-01-18 Michael Meeks <michael@ximian.com>
1357 * test/test-simple.c
1358 (key_listener_cb): consume the key.
1359 (test_keylisteners): update.
1360 (main): wait for any pending unrefs on events.
1362 * registryd/deviceeventcontroller.c
1363 (spi_controller_update_key_grabs): only re-issue the
1364 grab on a key release.
1365 (spi_device_event_controller_forward_key_event):
1366 refresh the keygrabs before we notify the listeners,
1367 to reduce the X ungrab / re-grab race.
1368 (spi_controller_register_with_devices): remove
1369 XSelectInput - we do that with the gdk_window_ call.
1370 (_spi_controller_device_error_handler): return a value.
1371 s/GDK_DISPLAY/spi_get_display/
1373 2002-01-17 Michael Meeks <michael@ximian.com>
1375 * registryd/deviceeventcontroller.c
1376 (_deregister_keygrab): don't blow out the later
1379 * test/test-simple.c (test_keylisteners): do a
1380 more intelligent validation.
1382 2002-01-14 Michael Meeks <michael@ximian.com>
1384 * atk-bridge/bridge.c
1385 (gnome_accessibility_module_init),
1386 (gnome_accessibility_module_shutdown): impl.
1387 (gtk_module_init): protect vs. double inits.
1388 (add_signal_listener): impl.
1389 (spi_atk_bridge_state_event_listener): kill
1390 (deregister_application): split out of
1391 (spi_atk_bridge_exit_func): here.
1393 2002-01-18 Bill Haneman <bill.haneman@sun.com>
1396 Added caret tracking when using magnifier, and
1397 now use text bounds for focus tracking of text elements, rather than
1398 the component bounds - this is helpful for short text fields in long
1399 table cells, at high magnification.
1401 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1403 * registryd/deviceeventcontroller.c:
1404 Regression fix for keylistener de-registration; global keygrabs
1405 were not being released when deregisterKeystrokeListener was
1406 called in cspi, since
1407 Accessibility_DeviceEventController_deregisterKeystrokeListener
1408 was called with a zero-length keyset. That is because the cspi
1409 method, SPI_deregisterKeystrokeListener, does not take a keyset
1410 parameter but instead should remove all the key grabs held be a
1412 The code in impl_deregister_keystroke_listener was changed to copy
1413 the keylist from the listener instance previously registered with
1414 the DeviceEventController before releasing the grabs.
1416 * registryd/registry.c:
1417 * registryd/deviceeventcontroller.c:
1418 * libspi/spi-private.h:
1420 Changed spelling of "re-enterant" to "re-entrant" globally.
1422 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1424 * test/test-simple.c:
1425 Changed key listeners test - the test was slightly mis-using the
1426 (admittedly poorly documented) SPI_generateKeyboardEvent API.
1427 It now uses '=' as the key event listened to and generated,
1428 relying on a keysym match rather than assuming that keycode 33
1429 is always equal to keysym '!'.
1431 2002-01-15 Bill Haneman <bill.haneman@sun.com>
1434 Changed simple-at to use a specific keyset, rather than
1435 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
1436 manager, desktop, etc.
1438 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1440 * registryd/deviceeventcontroller.c:
1441 Replaced standard X error handler with a special handler that
1442 is non-fatal for failed keygrabs. This works around
1443 problems with keygrab clashes sometimes observed on
1445 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
1446 mouse handling code as yet).
1448 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1451 Incremented revision for desktop alpha release.
1454 Fixed a couple of the more glaring errors (still not
1457 2002-01-11 Michael Meeks <michael@ximian.com>
1459 * registryd/deviceeventcontroller.c
1460 (spi_device_event_controller_forward_key_event): kill
1461 XUngrabKey / XKeyGrab race.
1462 (spi_controller_grab_keyboard): rename to
1463 (spi_controller_update_key_grabs): this, and deal
1464 with incremental adding / removing grabs more
1466 (_register_keygrab): ensure we're not pending a remove.
1467 (spi_grab_mask_free): impl.
1468 (spi_controller_register_global_keygrabs): split out
1470 (handle_keygrab): impl.
1471 (_deregister_keygrab): impl.
1472 (spi_controller_deregister_global_keygrabs): impl.
1473 (spi_controller_update_key_grabs): re-issue the grab if
1474 we just recieved a notification.
1476 * test/test-simple.c (key_listener_cb): remove debug.
1478 * registryd/deviceeventcontroller.c
1479 (spi_controller_register_device_listener): after
1480 registering a global keygrab, actualy register it !
1481 don't wait for a timeout; doh !
1483 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
1484 to make it more readable / manipulable.
1485 s/grabmask/grab_mask/ s/refcount/ref_count/
1486 s/keyval/key_val/ s/modmask/mod_mask
1488 2002-01-08 Michael Meeks <michael@ximian.com>
1490 * registryd/deviceeventcontroller.c
1491 (spi_controller_register_with_devices): use gdk calls to
1493 (global_filter_fn): implement the filter.
1494 (spi_device_event_controller_check_key_event): rename to
1495 (spi_device_event_controller_forward_key_event): this & upd.
1496 (spi_get_display): replace with GDK_DISPLAY.
1498 * registryd/deviceeventcontroller.c
1499 (spi_controller_deregister_device_listener): unroll into
1500 (impl_deregister_keystroke_listener): here to simplify.
1501 (spi_controller_register_global_keygrabs): split cut and
1502 paste (!) out into (_register_keygrab): here, shorter & sweeter.
1503 (spi_controller_deregister_device_listener): remove.
1504 (impl_register_mouse_listener): remove, no mouse listener
1505 support in at-spi-1.0
1507 * registryd/registry.c
1508 (_device_event_controller_hook): kill.
1509 (spi_registry_init): upd.
1511 * registryd/deviceeventcontroller.c
1512 (spi_device_event_controller_class_init): upd.
1513 (spi_check_key_event): merge into.
1514 (spi_device_event_controller_check_key_event):
1515 here and kill strange static ev init, don't leak
1516 the x_event - nor dynamicaly allocate it.
1518 * registryd/registry-main.c (main): re-direct
1519 timeout to remove strange vtable mess.
1521 * registryd/deviceeventcontroller.c
1522 (remove_listener_cb): impl.
1523 (spi_controller_deregister_device_listener):
1524 fix re-enterancy hazard.
1526 2002-01-07 Michael Meeks <michael@ximian.com>
1528 * registryd/deviceeventcontroller.c
1529 (spi_device_event_controller_new): upd.
1530 (impl_notify_listeners_sync): upd. debug.
1531 (spi_notify_keylisteners): fix re-enterancy hazards,
1532 prettify, remove O(n*n) iteration.
1533 (spi_controller_grab_keyboard): fix iteration.
1534 (spi_check_key_event): re-format to suit coding style.
1535 Clean all the warnings - we're warning free.
1537 * registryd/deviceeventcontroller.h:
1538 * registryd/registry.h: make mutualy referential with
1539 typesafe forward references instead of (!) void pointer
1542 2002-01-11 Michael Meeks <michael@ximian.com>
1544 * cspi/spi_accessible.c (role_names): add a role name
1545 to sync this array with the enum; and make the regression
1548 2002-01-10 Michael Meeks <michael@ximian.com>
1550 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
1551 allow expansion of enumeration & kill warning.
1553 * test/test-simple.c (key_listener_cb): impl.
1554 (test_keylisteners): impl.
1556 * cspi/spi-listener.h: make listener signatures const
1557 on the provided (const) events.
1559 * test/keysynth-demo.c: upd. to const events.
1561 * test/simple-at.c: ditto.
1563 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1566 Rev the version to 0.5 (the previous tarball was named 0.4,
1567 even though the micro number was 3), so we need to rev upwards
1568 again for beta2/"desktop-alpha"
1571 Checked in a demo script, which requires editing before use!
1572 Proceed with caution.
1575 Fixed typo in header which was redefining SPI_ACTION_CLASS.
1577 * cspi/spi_accessible.c:
1578 Add a couple of missing enum initializations, and fix some enum
1581 * cspi/spi_registry.c:
1582 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
1584 * docs/reference/cspi/at-spi-cspi-sections.txt:
1585 Remove/fix a couple of broken document references.
1588 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
1589 as Alt-Control to listen for commands, since on some systems
1590 Control-Alt may already be grabbed.
1592 2002-01-10 Bill Haneman <bill.haneman@sun.com>
1595 Update version number to 0.4 for Beta2.
1597 * libspi/accessible.c, libspi/accessible.h:
1598 Expose spi_accessible_construct, to enable libgail-gnome
1599 construction from spi_accessible subtype.
1601 * utils/magnifier.c:
1602 Workaround for bug in some non-gnome-compliant window managers
1603 which made magnifier resize improperly.
1605 2002-01-09 Bill Haneman <bill.haneman@sun.com>
1607 * libspi/accessible.c: (spi_accessible_new) :
1608 Move the test for SPI_IS_REMOTE_OBJECT to
1609 spi_accessible_new_return, fixing a bug and compile time warning.
1611 2002-01-08 Michael Meeks <michael@ximian.com>
1613 * registryd/registry.c (parse_event_type): remove strndup.
1615 * libspi/Makefile.am (libspi_la_SOURCES): remove
1616 sources already included in the headers section.
1618 * libspi/util.c: add.
1620 * libspi/spi-private.h: add.
1622 * registryd/registry.c: update to moved list iterators.
1624 2002-01-05 Michael Meeks <michael@ximian.com>
1626 * test/simple-at.c (main): upd. auto-module set to atk-bridge
1628 * test/test-simple.c (main): ditto.
1630 2002-01-04 Michael Meeks <michael@ximian.com>
1632 * libspi/accessible.c (spi_accessible_new): remove 2nd,
1633 redundant construct.
1635 * registryd/registry.c
1636 (get_listener_list): impl.
1637 (impl_accessibility_registry_register_global_event_listener):
1638 re-impl. to simplify using ~, remove dodgy const cast off.
1639 (parse_event_type): constify.
1640 (impl_accessibility_registry_deregister_global_event_listener_all):
1641 re-write, more efficiency and simplicity, kill re-enterancy
1643 (compare_listener_corbaref, compare_corba_objects),
1644 (compare_listener_quarks): define out.
1645 (impl_accessibility_registry_deregister_global_event_listener):
1646 re-write for effiency, and nail re-enterancy hazard.
1647 (impl_accessibility_registry_get_desktop_list): impl.
1648 (re_enterant_list_delete_link): impl.
1649 (re_enterant_list_foreach): impl.
1650 (remove_listener_cb): impl.
1651 (_registry_notify_listeners): kill.
1652 (notify_listeners_cb): impl.
1654 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
1655 (SPI_getDesktopList): impl.
1657 * test/test-simple.c (test_desktop): test the methods.
1659 2002-01-03 Michael Meeks <michael@ximian.com>
1661 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
1662 keystrings since we free them
1663 (SPI_freeAccessibleKeySet): in here.
1665 * libspi/accessible.c (spi_accessible_new): kill warning,
1666 wonder what is going on with the constructor here.
1668 2002-03-01 Bill Haneman <bill.haneman@sun.com>
1670 * libspi/accessible.c (spi_accessible_new ()) :
1671 Added check to see if AtkObject is an SpiRemoteObject before
1672 creating an SpiAccessible.
1674 2002-05-01 Bill Haneman <bill.haneman@sun.com>
1676 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
1677 Enable keygrabs using the Control modifier, now that they are
1678 working properly (they were previously disabled).
1681 Change the command keygrab for this demo to "Control+Alt", so as
1682 to conflict with fewer other key commands on the system; this
1683 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
1685 Removed a pointlessly-chatty keylistener for unshifted keys
1686 (shifted keys are still reported).
1688 2002-02-01 Bill Haneman <bill.haneman@sun.com>
1690 * libspi/remoteobject.h:
1691 * libspi/remoteobject.c:
1692 Added definitions for special AtkObject subtype, required for
1693 support of remote components (specifically, used by BonoboControl
1694 accessibility implementation).
1696 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
1698 * cspi/spi.h: synched relation types with ATK
1700 * cspi/spi_accessible.c: Added implementations of
1701 AcccessibleRelation_* methods
1703 * idl/Accessibility_Relation.idl: added getRelationTypeName
1704 method. Synched known relation types with ATK. Allowed for
1705 relation type extension with the RELATION_EXTENDED type.
1707 * libspi/relation.c: Provided implementations for
1708 AccessibleRelation methods.
1710 2002-01-01 Bill Haneman <bill.haneman@sun.com>
1712 API tweaks for today's API 'freeze'.
1715 Added placeholder functions to allow future compatible expansion
1716 of the IDL interfaces.
1718 * idl/Accessibility_Registry.idl:
1719 Changed generateKeyEvent to generateKeyboardEvent. Changed
1720 signature of this method to accept an optional keystring in
1721 parameter (for complex text input synthesis) and changed use of
1722 simple 'boolean' parameter in registerKeystrokeListener to a
1723 struct, EventListenerMode.
1725 * cspi/spi_accessible.c:
1727 * cspi/spi_streamablecontent.c:
1728 Added references to AccessibleStreamableContent interface, and
1729 definition and implementation of AccessibleStreamableContent
1732 * cspi/spi_registry.c:
1734 Changed generateKeyEvent API to generateKeyboardEvent,
1735 taking a new (optional) keystring parameter to support complex
1740 Renamed directory (to better reflect its actual purpose, bridging
1741 from at-spi to ATK). The .so module is also now named
1744 * idl/Accessibility_Hypertext.idl:
1745 * libspi/accessible.c:
1746 * libspi/hypertext.h:
1747 * libspi/hypertext.c:
1748 Changed Accessibility_Hypertext to *not* derive from
1751 * cspi/spi_registry.c:
1752 Added list of legal event type names for 'window' events, which
1753 completes the registry event API.
1755 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
1757 * at-bridge/bridge.c: Added registration for separate
1758 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
1759 signals. If either of the first two parameters to the generic
1760 bridge signal handler are ints, they are passed on as event
1761 details. This allows an AT to determine what text was inserted.
1763 2001-12-21 Bill Haneman <bill.haneman@sun.com>
1765 * registryd/deviceeventcontroller.c:
1766 Fixed regressions in generateKeyEvent caused by the removal of
1767 gdk_init from registryd; we now use pure X calls to connect to the
1768 display, which makes sense because deviceeventcontroller already
1769 uses a fair bit of X API (should eventually be migrated to a
1770 'portability layer').
1772 * registryd/desktop.c:
1773 Fixed minor regression in spi_desktop_init, changed the way the
1774 desktop name is being set to work with new spi_base API
1775 (gobject-based, rather than AtkObject-based).
1777 * registryd/Makefile.am:
1778 Minor revision of makefile to use XTST_LIBS variable rather than
1779 hard-wiring the Xtst LD_ADD element.
1781 * test/keysynth-demo.c:
1782 Tweaked an output message; added initialization of the
1783 'keystrings' member of the "switch listener" key_set.
1785 * libspi/relation.c:
1786 Squashed compile-time warning.
1788 * libspi/accessible.c:
1789 Cosmetic and formatting fixes, renamed a static method.
1791 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
1793 * libspi/accessible.c
1795 * libspi/application.c
1798 * libspi/component.c
1799 * libspi/editabletext.c
1800 * libspi/hyperlink.c
1801 * libspi/hypertext.c
1803 * libspi/selection.c
1807 * registryd/desktop.c:
1808 Changed SpiBase to contain a GObject pointer rather than an AtkObject
1810 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1812 * idl/Accessibility_Registry.idl:
1813 Added boolean member 'is_text' to DeviceEvent. This is for the
1814 use of key events, and helps prevent ambiguity between composed
1815 key strings and keysym names, since both may potentially be
1816 returned in the 'event_string' member.
1818 * at-bridge/bridge.c:
1819 * registryd/deviceeventcontroller.c:
1820 Use the 'is_text' member when notifying device event listeners.
1821 Knon issue: composed characters are not dealt with correctly by
1822 the global key listener implementation yet.
1824 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1826 * at-bridge/bridge.c:
1827 Namespaced local static methods to spi_atk_bridge_* where
1828 previously named bridge_*, and spi_* elsewhere.
1830 * at-bridge/bridge.c:
1831 * cspi/bonobo/cspi-bonobo-listener.c:
1832 Added demarshalling/conversion for string member of
1833 Accessibility_DeviceEvent to AccessibleKeystroke.
1835 * registryd/deviceeventcontroller.c:
1836 Added code to fill the Accessibility_DeviceEvent key string value
1837 member for global key events (i.e. from XGrabKey), to match
1838 behavior of Accessibility_DeviceEvent from the toolkit key events
1839 from the bridge. Fixed timestamp in global key event notifications.
1842 Added printout of key event's string value to
1843 report_ordinary_key_event, for demo/debugging purposes.
1845 2001-12-15 Bill Haneman <bill.haneman@sun.com>
1847 * idl/Accessibility_Registry.idl:
1848 Removed Accessibility_KeyStroke structure in favor of generic
1849 Accessibility_DeviceEvent structure.
1850 Changed Accessibility_ControllerEventMask from a struct to an
1853 * at-bridge/bridge.c:
1854 Changed APIs to use DeviceEvent structure as above, and removed
1855 bogus casting between these event structures.
1857 * cspi/spi-listener.h:
1858 Added keystring member of AccessibleKeystroke structure, to enable
1859 matching on event "names" rather than only hardware codes and
1863 Added keystrings member of AccessibleKeySet struct, to allow
1864 matching on event names (as above).
1865 Added declarations for SPI_createAccessibleKeySet and
1866 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
1867 event modmasks directly as unsigned ints rather than structs with
1868 refcounts, in the DeviceEventController methods.
1870 * cspi/spi_registry.c:
1871 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
1873 * cspi/spi-roletypes.h:
1874 Added documentation of newly added SPI Roles.
1876 * cspi/bonobo/cspi-bonobo-listener.c:
1877 Changes in support of API changes above.
1879 * libspi/accessible.c:
1880 Converted APIs to use DeviceEvent structure (see IDL changes
1883 * registryd/deviceeventcontroller.c:
1884 Added DEControllerGrabMask structure to track keygrabs not only by
1885 modmask but by keyset as well; this allows us to do "global"
1886 (i.e. X) keygrabs on a per-key or keyset basis rather than always
1887 grabbing on AnyKey and then filtering after-the-fact.
1888 Bugfixes for event filtration mean that we don't get false matches
1889 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
1891 * registryd/deviceeventcontroller.c:
1892 Namespaced a number of static methods to use spi_ prefix. Major
1893 revision to internals of global (i.e. X) key grabs.
1895 * registryd/deviceeventcontroller.h:
1896 Removed keymask_list and added keygrabs_list to
1897 SpiDeviceEventController struct.
1900 Added use of SPI_createAccessibleKeySet API when creating a
1901 listener for only one key. Attach a listener to "shift spacebar
1902 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
1903 X key event names to SPI key event names, so that listeners are
1904 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
1906 * test/keysynth-demo.c:
1907 Changed (incorrect) use of X key event names (KeyPressed,
1908 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
1911 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1913 * libspi/accessible.c:
1914 Convert all AtkRole enumerations to Accessibility_Role enums when
1915 getting a role from an AtkObject.
1917 * cspi/spi_accessible.c:
1918 Complete the conversion of Accessibility_Role enums at runtime to
1919 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
1920 role enums correctly match those given in spi-roletypes.h.
1921 Re-synchronize the local names list for AccessibleRole_getName ().
1922 AccessibleRole_getName is now deprecated, since it duplicates the
1923 more reliable Accessible_getRoleName.
1924 Added some role types from Accessibility_Role.idl.
1926 * idl/Accessibility_Role.idl:
1927 Added some role types used by AtkRole.
1929 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1932 * cspi/spi_registry.c:
1934 * cspi/cspi-bonobo-listener.c:
1935 Namespaced all methods that did not begin with an "SPI_" or
1936 "Accessible" prefix to "SPI_".
1939 Homogenized internal function namespace to "cspi_" for statics.
1942 Patched tests to use the new CSPI API.
1944 * docs/reference/cspi/at-spi-cspi-sections.txt:
1945 Updated docs to reflect namespace changes, and added a number of
1946 methods to the documentation.
1948 * registryd/registry.c:
1949 Changed use of strings and string hashes in listener event
1950 matching and parse_event_string to use GQuark, which is guaranteed
1953 * registryd/registry.h:
1954 Squashed annoying warning.
1956 * idl/Accessibility_Role.idl:
1957 Extended range of available Accessibility_Role values.
1959 * cspi/spi_accessible.c:
1960 Re-ordered role names.
1962 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1964 * idl/Accessibility_Value.idl:
1965 Revert use of union back to CORBA_double, since the double type is
1966 more efficient and can contain the other types without loss of
1969 * idl/Accessibility_Accessible.idl:
1970 Added method Accessibility:Accessible:getRoleName, to complement
1971 Accessibility:Accessible:getRole.
1973 * cspi/spi_accessible.c:
1975 Added C binding for above, Accessible_getRoleName (), and changed
1976 signature of Accessible_getRole () to return an AccessibleRole.
1978 * cspi/spi-roletypes.h:
1979 Changed AccessibleRole_getName to return a char * instead of a
1980 const char *. This method is now at least temporarily deprecated
1981 in favor of asking Accessibles for their RoleNames directly.
1984 Revert to match Accessibility_Value.idl;
1988 Change signature of AccessibleValue methods to use double rather
1992 * cspi/spi_accessible.c:
1993 Changed Accessible_getRole to return an AccessibleRole enum rather
1994 than a UTF-8 string. The UTF-8 string can still be obtained via
1995 AccessibleRole_getName ().
1997 * test/test-simple.c:
1998 Add test_action. Small fixup to match API change to Accessible_getRole.
2001 Bugfix for get_action_from_servant ().
2003 2001-12-11 Michael Meeks <michael@ximian.com>
2005 * libspi/libspi.h: remove registry.h and
2006 desktop.h, deviceeventcontroller.h
2008 * libspi/Makefile.am: remove registry.[ch],
2009 desktop.[ch], deviceeventcontroller.[ch]
2011 * registryd/Makefile.am: add registry.[ch],
2012 desktop.[ch], rename registryd.c to registry-main.c.
2013 add deviceeventcontroller.[ch]
2015 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2018 Replace setenv() call with putenv ().
2020 * libspi/component.c:
2021 Bugfix in AccessibleComponent_getExtents (),
2024 2001-12-11 Michael Meeks <michael@ximian.com>
2026 * libspi/image.c (impl_getImageExtents): impl.
2027 (spi_image_class_init): upd.
2030 (AccessibleImage_getImageDescription): fix daft bug
2033 * test/test-simple.c (global_listener_cb): update
2034 to only quit if not --poke
2035 (main): catch --poke.
2036 (validate_accessible): upd. dumping, call test_image
2039 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
2042 * idl/Accessibility.idl: update all IDL includes.
2044 * idl/*.idl - rename to namespace - this sucks, blame
2045 mjs' bad decision for oafd.
2047 * test/test-simple.c (create_test_window): add more tests.
2048 (create_tree): split this out.
2049 (validate_accessible): bugfix.
2051 2001-12-11 Michael Meeks <michael@ximian.com>
2053 * cspi/bonobo/cspi-bonobo-listener.c:
2054 (cspi_kestroke_listener_unref),
2055 (cspi_event_listener_unref): impl. undoing previous
2056 homenous environment - for Bill.
2058 * cspi/spi_table.c (long_seq_to_array): use
2061 * cspi/spi_main.c: split out all bonoboish bits into
2064 * cspi/spi-impl.h: upd. typedefs.
2066 * cspi/spi_registry.c: update to lowlevel API,
2067 return booleans to indicate success in some places.
2069 * cspi/spi_event.c: update to lowlevel API.
2071 * cspi/bonobo/Makefile.am: add.
2073 * cspi/bonobo/cspi-lowlevel.h: add
2075 * cspi/bonobo/cspi-bonobo.c: add
2077 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
2079 * cspi/Makefile.am: remove spi-listener-impl.[ch],
2080 (SUBDIRS): add bonobo, link in the libs.
2082 * cspi/spi-util.c: kill this file.
2084 * TODO: merge in my bits.
2086 2001-12-11 Michael Meeks <michael@ximian.com>
2088 * test/test-simple.c (test_value, test_table, main):
2089 remove unused variables causing warnings.
2091 * configure.in: cleanup checks - require gail.
2093 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2096 Changed Value interface to use SValue (scalars) rather than
2097 assuming all values are floats. This allows floats, doubles,
2098 longs, shorts, and unsigned values to be manipulated.
2099 Introduced Accessibility:SValue union.
2102 Updated to use new API above, and to work correctly with GValues
2103 of different types in AtkValue.
2106 Updated to use new API above. cspi's API is as yet unchanged.
2109 Updated the Value revision action item.
2111 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2113 * test/test-simple.c:
2114 Added test_table (GtkTreeView widget in test window to follow).
2115 Un-commented test_value, added GtkRange widget.
2116 Added GtkTreeView widget with GtkListStore. It passes regression
2117 test but leaks one SPI object for some reason.
2120 Fixed bug in impl__set_currentValue.
2122 2001-12-10 Michael Meeks <michael@ximian.com>
2124 * cspi/spi_text.c: audit for exception handling,
2125 tolerating NULL object references safely etc.
2127 * cspi/spi_value.c: ditto.
2129 * cspi/spi_table.c (AccessibleTable_getSummary),
2130 (AccessibleTable_getAccessibleAt),
2131 (AccessibleTable_getRowHeader),
2132 (AccessibleTable_getColumnHeader),
2133 (AccessibleTable_getCaption): fix bugs hidden by
2135 (long_seq_to_array): impl.
2136 (AccessibleTable_getSelectedRows),
2137 (AccessibleTable_getSelectedColumns): use it.
2139 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2142 Added a TODO list (rough and short for now).
2144 * cspi/spi_hyperlink.c:
2145 * cspi/spi_hypertext.c:
2146 Fixed macro name typos, and remove use of obsolete macro in
2147 AccessibleHyperlink_getLink.
2149 * cspi/spi_action.c:
2150 * cspi/spi_accessible.c:
2151 * cspi/spi_application.c:
2152 * cspi/spi_component.c:
2153 * cspi/spi_selection.c:
2156 Documentation fixes (removed return values from ref/unref methods).
2158 2001-12-10 Michael Meeks <michael@ximian.com>
2160 * cspi/spi_action.c: audit for exception handling,
2161 tolerating NULL object references safely etc.
2163 * cspi/spi_accessible.c: ditto.
2165 * cspi/spi_component.c: ditto.
2167 * cspi/spi_editabletext.c: ditto.
2169 * cspi/spi_hyperlink.c: ditto.
2171 * cspi/spi_hypertext.c: ditto.
2173 * cspi/spi_image.c: ditto.
2175 * cspi/spi_selection.c: ditto.
2177 2001-12-10 Michael Meeks <michael@ximian.com>
2179 * configure.in: use cspi/libspi.pc.in instead.
2181 * Makefile.am (pkgconfig_DATA): upd. to match.
2183 * test/simple-at.c (report_focus_event): kill hacks around
2184 bad return values, use putenv not setenv
2186 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
2187 fire ChildGone - I killed it.
2189 * libspi/component.c
2190 (impl_accessibility_component_get_extents): remove
2193 * idl/Accessible.idl: kill ChildGone exception.
2195 * cspi/*.[ch]: kill int return from ref / unref.
2197 * cspi/spi_main.c (cspi_object_add_check): fold into
2198 (cspi_object_add): here.
2200 * cspi/spi_component.c (AccessibleComponent_getExtents):
2201 handle exceptions elegantly.
2203 * cspi/spi-private.h (cspi_check_ev_return),
2204 (cspi_return_if_fail): impl.
2206 * cspi/spi_accessible.c: use extensively.
2207 (AccessibleStateSet_equals): add direct compare check.
2209 * cspi/spi_selection.c: tolerate NULL objs, and check
2210 exceptions before return.
2212 * cspi/spi-util.c (cspi_warn_ev): rename to
2213 (cspi_check_ev): this & don't pass ev in; no point.
2215 2001-12-10 Michael Meeks <michael@ximian.com>
2217 * test/test-simple.c: use putenv not setenv
2218 (get_environment_vars): more chatty if you're not using
2221 * test/simple-at.c: do the setenv so more people see the
2224 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2226 * libspi/registry.c:
2227 Changed check of CORBA_environment on notification to be a warning
2228 instead of an error for the moment, since we can recover from this
2229 error when caused by a queued notification from a dead app.
2232 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
2233 used by all current implementors of AtkValue), and coerce to
2234 CORBA_float. (Proper general case fix may require change to Value.idl).
2236 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2240 * cspi/spi_accessible.c:
2241 Documentation fixes: added user_data params to documentation for
2242 listeners and callbacks.
2244 * cspi/spi_accessible.c:
2245 Changed AccessibleStateSet_compare to return a
2246 StateSet rather than return the difference set into a third parameter.
2249 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2252 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
2253 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
2257 Remove subdirectory po from SUBDIRS for now.
2259 * at-bridge/bridge.c:
2260 Beefed up a couple of debug printouts.
2261 One-line fix for signal notification name formatting.
2263 * libspi/accessible.c:
2264 Added assertion to spi_accessible_new ().
2266 * libspi/application.c:
2267 Put #ifdef qualifiers around a printf.
2270 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
2272 * registryd/Makefile.am:
2274 Replaces use of XML_I18N_MERGE_SERVER_RULE with
2275 INTLTOOL_SERVER_RULE macro.
2278 Added an event listener for several ATK signals, for
2279 testing and debugging. Removed a few g_warnings.
2280 Added test output if focussed item implements the Value interface.
2282 * test/test-simple.c:
2283 Added test_value () function (known not to pass at the moment, so
2284 not actually called yet.
2286 2001-12-08 Michael Meeks <michael@ximian.com>
2288 * at-bridge/bridge.c (bridge_focus_tracker),
2289 (emit_eventv): fix the same ref. leak.
2290 (register_atk_event_listeners): don't leak.
2292 * cspi/spi-listener-impl.c (cspi_event): more
2293 protection from client code.
2295 * test/test-simple.c (test_desktop): unref the app.
2297 * test/Makefile.am: upd. TESTS.
2299 * at-bridge/bridge.c (bridge_exit_func): release the registry.
2301 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
2303 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
2305 * cspi/spi_registry.c: constify in strings.
2306 (deregisterGlobalEventListenerAll): don't release the ref.
2308 * cspi/spi.h: start removing redundant / conflicting
2309 gtkdoc comments, making the API readable at a glance :-)
2311 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
2313 * test/keysynth-demo.c (keysynth_exit, main): upd.
2315 * test/simple-at.c (main, simple_at_exit): upd.
2317 * test/test-simple.c (unutterable_horror): kill.
2318 (utterable_normal_derefs): kill.
2319 (main): upd & do a setenv before gtk_init, so that we
2320 can use memprof - and to save the pain of remembering
2321 this, if we're running under memprof - don't exit.
2323 * cspi/spi_main.c (SPI_exit): return exit status
2325 (SPI_event_quit): impl.
2326 (SPI_event_main): simplify.
2327 (cspi_is_gnome_app): kill.
2328 (SPI_init): kill isGNOMEapp arg.
2330 * at-bridge/bridge.c (register_atk_event_listeners):
2331 re-instate the unref.
2332 (bridge_exit_func): don't re-activate the registry,
2333 protect vs. theoretical re-entry, use the
2334 AT_BRIDGE_SHUTDOWN env. var to determine whether to
2335 assert a clean shutdown - for regression tests.
2337 2001-12-08 Abel Cheung <maddog@linux.org.hk>
2339 * configure.in: Comment out dummy i18n support for now,
2340 otherwise it fails to build.
2341 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
2342 EXTRA_DIST. They are missing in tarball.
2344 2001-12-07 Michael Meeks <michael@ximian.com>
2346 * util/magnifier.c: kill bonobo activation reg. race.
2348 * libspi/component.c
2349 (impl_accessibility_component_get_extents): make it match
2352 * libspi/registry.c (_registry_notify_listeners):
2353 re-remove X headers & reconcile conflicts.
2354 (spi_listener_struct_free): bad conflict resolve.
2355 (impl_accessibility_registry_register_application):
2356 more bad merging fixed.
2357 (impl_accessibility_registry_deregister_application): ditto.
2358 (spi_registry_new): ditto.
2359 (spi_registry_init): don't have an applications field.
2361 [ merge fixups2 branch to here ]
2362 2001-12-07 Michael Meeks <michael@ximian.com>
2364 * test/simple-at.c (report_focus_event),
2365 (report_focussed_accessible): remove g_warning debug.
2367 2001-12-07 Michael Meeks <michael@ximian.com>
2369 * test/test-simple.c (validate_tree): comment out some checks.
2370 (test_desktop): app now not registered idly - horay.
2372 2001-12-07 Michael Meeks <michael@ximian.com>
2374 * cspi/spi_registry.c
2375 (registerAccessibleKeystrokeListener): clean, stop it leaking
2376 great swathes of memory, and device event controller references.
2377 ensure we always pass valid sequences.
2378 (deregisterAccessibleKeystrokeListener): ditto.
2379 (generateKeyEvent): upd.
2381 * at-bridge/bridge.c (bridge_key_listener): handle
2382 registry dead exception gracefully.
2383 (bridge_focus_tracker, emit_eventv): free ev.
2385 * test/simple-at.c (report_focus_event): fix polarity.
2387 * libspi/application.c (notify_listeners): kill the ev
2388 argument, and make sure we init the ev we use.
2389 (spi_application_object_event_listener): split out a chunk
2390 (get_atk_object_ref): here & fixup.
2391 (reverse_lookup_name_for_toolkit_event): make const.
2392 (spi_application_toolkit_event_listener): fixup, kill leaks
2395 * at-bridge/bridge.c (register_atk_event_listeners):
2396 don't unref the noop object - causes grief.
2398 * libspi/registry.c: remove the X headers.
2399 turn off the debug churn.
2401 * libspi/accessible.c (spi_accessible_new_return): only
2402 release the ref if we are supposed to [doh]
2404 * test/simple-at.c (report_button_press, report_focus_event):
2405 guard vs. unexpected exit.
2407 * at-bridge/bridge.c (gtk_module_init): prune printf.
2408 (bridge_exit_func): fix app unref.
2410 * libspi/Makefile.am: don't install registry or desktop.h
2412 * libspi/*.h: update includes.
2414 * libspi/application.h: don't include ourself, or
2415 other redundant headers.
2417 2001-12-06 Michael Meeks <michael@ximian.com>
2419 * libspi/accessible.c
2420 (get_accessible_from_servant): impl.
2421 Upd. all CORBA impl.s to use it killing cut and paste.
2423 * cspi/spi_main.c (cspi_cleanup): guard vs. double
2425 (SPI_init): register atexit cleanup handler here.
2427 2001-12-06 Michael Meeks <michael@ximian.com>
2429 * at-bridge/bridge.c (gtk_module_init): g_error on
2430 activation exception
2432 2001-12-06 Michael Meeks <michael@ximian.com>
2434 * at-bridge/bridge.c (gtk_module_init): some sort of
2435 confusing merge clash - reverted.
2436 (bridge_idle_init): ditto.
2438 * test/test-simple.c (main, utterable_normal_derefs):
2439 merge from Bill - somehow not committed.
2441 2001-12-06 Michael Meeks <michael@ximian.com>
2443 * libspi/value.c (spi_value_class_init): upd.
2444 (spi_value_finalize): kill.
2446 * libspi/table.c (spi_table_finalize): kill.
2447 (spi_table_interface_new): upd.
2448 (spi_table_class_init): upd.
2449 (get_table_from_servant): impl.
2450 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2452 * libspi/selection.c (spi_selection_finalize): kill.
2453 (spi_selection_interface_new): upd.
2454 (spi_selection_class_init): upd.
2455 (get_selection_from_servant): impl.
2456 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2458 * libspi/relation.c (spi_relation_finalize): kill.
2459 (spi_relation_class_init, spi_relation_new): upd
2461 * libspi/image.c (spi_image_finalize): kill.
2462 (spi_image_class_init): upd.
2463 (spi_image_interface_new): upd.
2464 (get_image_from_servant): impl.
2465 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2467 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
2468 (spi_hyperlink_finalize): kill.
2469 (spi_hyperlink_new): upd.
2470 (get_hyperlink_from_servant): impl.
2471 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2473 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
2474 (spi_hypertext_finalize): kill.
2475 (spi_hypertext_class_init): upd.
2476 (get_hypertext_from_servant): impl.
2477 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2479 * libspi/editabletext.c (spi_editable_text_finalize): kill.
2480 (spi_editable_text_interface_new): upd.
2481 (get_editable_text_from_servant): impl.
2482 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2484 * libspi/text.c (get_text_from_servant): impl.
2485 All impls - update to use it killing more cut and paste,
2486 also fix bad string returns on duff args ( a somewhat
2487 impossible case to handle - but hey ).
2488 (spi_text_construct): impl.
2489 (spi_text_interface_new): upd.
2490 (spi_text_object_finalize): kill.
2492 * libspi/component.c
2493 (accessibility_component_object_finalize): kill.
2494 (spi_component_class_init): upd.
2495 (get_component_from_servant): impl. helper to kill cut & paste.
2496 (impl_accessibility_component_contains):
2497 (impl_accessibility_component_get_accessible_at_point):
2498 (impl_accessibility_component_get_position):
2499 (impl_accessibility_component_get_extents):
2500 (impl_accessibility_component_get_mdi_z_order):
2501 (impl_accessibility_component_get_layer):
2502 (spi_component_interface_new): upd.
2504 * libspi/action.c (spi_action_finalize): kill.
2505 (spi_action_class_init): upd. inherit from SpiObject.
2506 (spi_action_interface_new): upd.
2507 (get_action_from_servant): impl. helper to reduce cut & paste.
2508 (impl_getKeyBinding, impl_getName, impl_doAction),
2509 (impl_getDescription): Use it everywhere.
2511 * cspi/spi_main.c (get_live_refs): a pointer hash.
2512 (spi_object_hash, spi_object_equal): comment out.
2513 There are issues with CORBA object hashing that need
2516 * libspi/application.c (spi_application_init),
2517 (spi_application_new): upd.
2519 * libspi/accessible.c (spi_accessible_object_finalize): kill.
2520 (spi_accessible_class_init): upd.
2521 s/accessible/object/ in epv methods.
2523 2001-12-05 Bill Haneman <bill.haneman@sun.com>
2525 * at-bridge/bridge.c:
2526 Reorder the bridge initialization into the bridge gtk_module_init,
2527 an immediate call to bridge_register_app, and an idle_add for
2528 register_atk_event_listeners (the only code that *must* wait until
2529 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
2530 the activation, creates the application's Accessible object, and
2531 queues the bridge_idle_init function. Restored call to
2532 Accessibility_Registry_deregisterApplication().
2533 Prior to making this call we obtain a new reference to the
2534 registry, which is a temporary hack that helps us handle apps that
2535 shut down the bonobo mainloop before we get there.
2537 * libspi/registry.c:
2538 Fix string leakage in debug block, and don't segv if a an app
2539 dies before its event notifications have been propagated.
2542 Modify cspi_check_ev() to call g_warning() rather than g_error(),
2543 as stopgap measure until we get proper exception handling when
2544 objects die during or before interrogation.
2548 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
2549 Also changed default value of is_gnome_app to TRUE.
2552 * test/keysynth-demo.c:
2553 Changed use of SPI_init and SPI_event_main to reflect API change above.
2556 Made report_focus_event check the warning value from getName
2557 before reporting on focussed accessible; simplifies handling of
2558 notifications from dead objects.
2560 * test/test-simple.c: (Changes not in this patch since source is
2563 2001-12-05 Michael Meeks <michael@ximian.com>
2565 * registryd/registryd.c (main): protect against
2566 bonobo-activation startup race condition.
2568 * cspi/spi_main.c (cspi_object_add_check): cope
2569 with the exception elegantly.
2571 * idl/Accessible.idl: decl. ChildGone
2573 * libspi/desktop.c (spi_desktop_dispose): impl.
2574 (spi_desktop_class_init): upd.
2575 (spi_desktop_add_application),
2576 (spi_desktop_remove_application),
2577 (abnormal_application_termination): impl.
2578 (impl_desktop_get_child_at_index): re-impl.
2581 (impl_accessibility_registry_deregister_application),
2582 (impl_accessibility_registry_register_application):
2583 kill excessive debug clutter.
2585 * test/test-simple.c (test_misc): test some NULL
2586 tolerance. (main): upd.
2588 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
2589 implements no interfaces - so let's not crash.
2591 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
2593 * libspi/accessible.c (spi_accessible_new_return): impl.
2594 helper to calm the cut and paste, to cope with
2595 NULL AtkObjects effectively and efficiently, and to kill
2596 the referencing bugs.
2598 * libspi/table.c (impl_getAccessibleAt),
2599 (impl_getRowHeader, impl_getColumnHeader): upd.
2601 * libspi/hyperlink.c (impl_getObject): upd.
2603 * libspi/accessible.c
2604 (impl_accessibility_accessible_get_child_at_index): upd.
2606 * libspi/component.c
2607 (impl_accessibility_component_get_accessible_at_point): upd.
2609 * test/test-simple.c (test_editable_text, test_text): impl.
2612 * cspi/spi_editabletext.c
2613 (AccessibleEditableText_insertText): constify.
2615 * test/test-simple.c (focus_me): make more robust.
2617 * libspi/accessible.c: remove some printfs in methods that
2618 we test and work fine, so we can get a clean tree dump.
2620 * test/test-simple.c (validate_accessible),
2621 (validate_tree): make tree dumping pretty too.
2623 * at-bridge/bridge.c (bridge_signal_listener): upd. so
2624 it builds without debug on.
2626 * test/test-simple.c (validate_accessible): fix the most
2629 * cspi/spi_main.c (spi_object_release): leave the nicely
2630 blanked memory around if in debug mode.
2632 * cspi/spi-listener-impl.c (cspi_event): use add_check.
2634 [committed to fixups2]
2635 2001-12-05 Michael Meeks <michael@ximian.com>
2637 * libspi/editabletext.c
2638 (spi_editable_text_class_init): g_type_class_peek_parent,
2639 not interface peek - so we finalize cleanly.
2641 * libspi/accessible.c (spi_accessible_new): kill debug.
2643 * test/test-simple.c (validate_accessible): fix ref.
2644 leak, print strings before freeing them; sigh, comment a
2645 chunk out due to strangeness.
2646 (validate_tree): unref the child after use.
2648 * cspi/spi_component.c (AccessibleComponent_getLayer):
2649 add missing break statement, switch on zlayer not the
2650 uninitialized retval.
2652 * cspi/spi_main.c (cspi_object_add): add assert, local ref
2653 before (possibly re-entering) remote unref.
2655 * test/simple-at.c (main): unref the desktop.
2657 * cspi/spi_accessible.c (cspi_accessible_is_a): move
2660 * cspi/spi_main.c (cspi_accessible_is_a): here to
2661 isolate bonobo API usage more.
2663 * libspi/registry.c (impl_accessibility_registry_register_application):
2664 prune bogus comment.
2666 2001-12-04 Michael Meeks <michael@ximian.com>
2668 * test/test-simple.c (validate_tree): upd.
2669 IndexInParent check to make it more lucid.
2670 (validate_accessible): dump the tree.
2672 * libspi/accessible.c (de_register_public_ref),
2673 (get_public_refs): impl.
2674 (spi_accessible_new): make more efficient & intuitive.
2675 Now IndexInParent check works.
2677 2001-12-04 Michael Meeks <michael@ximian.com>
2679 * cspi/spi-util.h: remove.
2681 * cspi/spi.h: move SPI_freeString here
2683 * libspi/component.c (impl_accessibility_component_get_layer):
2685 (impl_accessibility_component_get_mdi_z_order): ditto,
2686 return -1 on error - is this ok ?
2688 * test/test-simple.c (test_application): impl.
2690 * cspi/spi_accessible.c (Accessible_getApplication),
2691 (Accessible_isApplication): impl.
2693 * libspi/registry.c (spi_listener_struct_free): release
2694 the CORBA reference too.
2696 * libspi/accessible.c
2697 (impl_accessibility_accessible_get_parent): fix ref leak.
2699 * libspi/registry.c (spi_registry_new): make the registry
2700 immortal - we don't want it to go away ever.
2702 * libspi/application.c
2703 (spi_accessible_application_finalize): impl. cleanup.
2705 * cspi/spi_registry.c
2706 (deregisterGlobalEventListenerAll),
2707 (deregisterGlobalEventListener),
2708 (deregisterAccessibleKeystrokeListener): fix ref leak.
2710 * cspi/spi_main.c (SPI_init): remove redundant ref.
2712 * test/test-simple.c (unutterable_horror): impl. to force a
2717 (impl_accessibility_registry_deregister_application): release
2718 the application when we de-register it.
2720 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
2721 until we have the infastructure to get it right.
2723 2001-12-03 Michael Meeks <michael@ximian.com>
2725 * libspi/Makefile.am: only build eventlistener.[ch]
2727 * libspi/accessible.c
2728 (impl_accessibility_accessible_get_child_at_index): don't leak.
2730 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
2731 before we hit the idle handler.
2733 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
2734 debugging than exit.
2736 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
2738 * libspi/listener.c (impl_notify_event): check source
2739 not NIL before unref.
2741 * libspi/registry.c (impl_registry_notify_event): ditto.
2743 * libspi/eventlistener.c
2744 (impl_accessible_event_notify_event): unref the source.
2746 * libspi/accessibleeventlistener.c
2747 (impl_accessible_event_notify_event): unref the source.
2749 * idl/Event.idl: remove 'hash_id' attribute - of no
2752 * libspi/application.c (notify_listeners): upd list
2754 (spi_application_object_event_listener),
2755 (spi_application_toolkit_event_listener): upd to do correct
2759 (_registry_notify_listeners): update.
2760 (parse_event_type): this method also leaks like a sieve.
2761 (impl_accessibility_registry_deregister_global_event_listener):
2762 fix ETYPE_WINDOW case.
2764 * libspi/application.c
2765 (impl_accessibility_application_register_object_event_listener):
2768 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
2770 * libspi/hypertext.c (impl_getLink): ditto.
2772 * cspi/spi_main.c (cspi_object_add): remove
2773 bogus CORBA_Object_duplicate.
2775 * cspi/spi-listener-impl.c (cspi_event): dup/ref
2778 * cspi/spi_accessible.c
2779 (Accessible_getRelationSet): fix leak / referencing issue.
2781 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
2782 (cspi_object_add, cspi_object_unref): upd.
2783 (spi_object_release, get_live_refs): impl.
2784 (cspi_cleanup): simplify.
2786 * *.[ch]: s/boolean/SpiBoolean/
2788 * cspi/spi_accessible.c (role_names): actualy order so it
2789 corresponds with the enum !
2791 * test/test-simple.c (test_roles): check some role strings
2792 vs. enums to detect offset errors.
2794 2001-12-01 Michael Meeks <michael@ximian.com>
2796 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
2798 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
2800 (Accessible_getChildAtIndex): use cspi_add_check so we
2801 check the ev before using a (possibly) invalid value.
2803 * libspi/accessible.c
2804 (impl_accessibility_accessible_get_parent): don't segv
2807 * at-bridge/bridge.c (gtk_module_init): upd.
2808 (bridge_property_event_listener): don't leak strings
2810 (bridge_state_event_listener),
2811 (bridge_property_event_listener): don't use a static
2812 buffer in case of recursive event emission &
2813 re-enterancy - split out the swathe of cut and paste
2815 (emit_eventv): and fix 2 ref leaks here & comply to the
2817 (bridge_register_app): rename to
2818 (bridge_idle_init): this and kill arg parsing, split
2819 various inits & bonobo-activation registration to module
2820 init time, kill referencing error.
2821 (bridge_exit_func): fix the same leak.
2822 (bridge_focus_tracker): don't leak event structures
2824 (bridge_signal_listener): more leakage and cut & paste
2826 (bridge_key_listener): return the result - FIXME is
2827 this polarity correct ?
2828 (accessibility_keystroke_from_atk_key_event): rename
2829 (accessibility_init_keystroke_from_atk_key_event): and stop
2831 (gtk_module_init): return a value - not that it is checked by
2833 (bridge_key_listener): register my horror at casting between
2834 IDL defined structs.
2835 (bridge_get_registry): kill - not used.
2837 * cspi/spi_accessible.c (Accessible_getRole): make return const.
2839 * test/test-simple.c (test_roles): impl.
2840 (test_desktop, validate_accessible, validate_tree): impl.
2842 * cspi/spi_accessible.c (role_names): fixup bogus
2843 MAX_ROLES setup, make constants const for efficient linkage
2844 (AccessibleRole_getName): conform to coding style, make
2847 2001-11-30 Michael Meeks <michael@ximian.com>
2849 * cspi/spi.h: add missing prototype.
2851 * libspi/registry.c (spi_listener_struct_new): fix sig.
2853 * test/Makefile.am: add test-simple
2855 * test/test-simple.c: add
2857 * test/test.sh: add.
2859 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
2861 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
2862 do it straight - since otherwise we often get an activation race.
2864 [ work before Bill duplicated a chunk of it ... ]
2865 2001-11-30 Michael Meeks <michael@ximian.com>
2867 * libspi/keystrokelistener.c
2868 (spi_keystroke_listener_class_init): fixup arg
2871 * libspi/eventlistener.c
2872 (spi_event_listener_class_init): ditto.
2874 * tests/test.sh: add.
2876 * cspi/spi-listener-impl.h: update macros.
2878 * cspi/spi-listener-impl.c
2879 (cspi_event_listener_remove_callback): add
2880 correct pre-conditions.
2882 * cspi/spi_main.c (SPI_exit): guard vs. double
2883 exits, exit the mainloop nicely.
2884 (SPI_event_main): make more sense.
2885 (SPI_init): move the atexit evilness here so we
2886 always do it (yuck).
2887 (SPI_event_main): upd.
2889 * test/simple-at.c: update for listener changes.
2891 * registryd/registryd.c (main): prune kruft.
2893 * libspi/libspi.h: upd.
2895 * libspi/eventlistener.[ch]: rename broken macros.
2897 * libspi/accessibleeventlistener.[ch]: remove.
2899 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
2901 * test/test-simple.c: Add - automated tests.
2903 * cspi/spi-listener-impl.c (cspi_event),
2904 (cspi_key_event): add user_data to invoke.
2905 (cspi_keystroke_listener_finalize): impl.
2906 (cspi_keystroke_listener_class_init): upd.
2909 (createAccessibleEventListener),
2910 (AccessibleEventListener_addCallback),
2911 (createAccessibleKeystrokeListener),
2912 (AccessibleKeystrokeListener_addCallback): upd.
2914 * libspi/deviceeventcontroller.c
2915 (spi_device_event_controller_check_key_event): add public proto.
2918 (impl_accessibility_registry_deregister_global_event_listener):
2919 always init listeners.
2920 (_registry_notify_listeners): yes it is.
2922 * cspi/spi-listener-impl.c (cspi_key_event):
2924 (cspi_event_listener_finalize): impl.
2925 (cspi_event_listener_class_init): hook up.
2926 (event_handler_new, event_handler_free),
2927 (event_list_remove_by_callback): impl.
2928 (cspi_event_listener_remove_callback),
2929 (cspi_keystroke_listener_remove_callback),
2930 (cspi_keystroke_listener_add_callback),
2931 (cspi_event_listener_add_callback): upd.
2933 * libspi/keystrokelistener.c
2934 (keystroke_listener_object_finalize): kill
2935 (spi_keystroke_listener_class_init): upd.
2936 (spi_keystroke_listener_add_callback),
2937 (spi_keystroke_listener_remove_callback): kill,
2939 (impl_key_event): prune drasticaly.
2941 * libspi/eventlistener.c
2942 (spi_event_listener_add_callback),
2943 (spi_event_listener_remove_callback): kill, use
2945 (impl_accessible_event_notify_event): upd.
2946 (spi_event_listener_object_finalize): remove.
2948 * libspi/Makefile.am: use eventlistener.[ch]
2950 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2952 * libspi/registry.c (_registry_notify_listeners):
2953 Changed listener loop iteration to use preferred convention.
2954 Got rid of string memory leaks caused be calling g_strconcat
2955 inside function calls.
2957 * libspi/registry.c (parse_event_type):
2958 Stopped g_strconcat memory leaks, free the g_strsplit return,
2959 g_strdup the split pieces when used, etc.
2961 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2964 Change method 'compare' to return a 'difference set' rather than
2965 taking a StateSet as an out parameter (more Java-friendly).
2967 * idl/Accessible.idl:
2968 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2970 * idl/Component.idl:
2972 Changed methods 'getExtents' and 'getImageExtents' in these
2973 interfaces to return a BoundingBox structure.
2974 (getPosition and getSize are redundant and possibly should be
2975 removed, rather than creating a corresponding Point struct.)
2977 * cspi/spi_component.c:
2978 Modify implementation of getExtents to reflect the above IDL
2983 Add (missing) AccessibleImage_getExtents () API.
2985 * docs/reference/cspi/at-spi-cspi-sections.txt:
2986 Added AccessibleImage_getImageExtents () to docs.
2988 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2990 * idl/Component.idl:
2991 Added two methods, getLayer () and getMDIZOrder (), to reflect
2992 the new ATK methods atk_object_get_layer and
2993 atk_object_get_mdi_z_order. (Which arguably should be part of the
2994 AtkComponent API and AtkObject). Also added an enum,
2995 ComponentLayer, for the first method's return value.
2997 * libspi/component.c:
2998 Added implementations for these methods.
3000 * cspi/spi_component.c:
3002 Added cspi binding methods for above,
3003 AccessibleComponent_getLayer() and
3004 AccessibleComponent_getMDIZOrder().
3005 Added cspi enum 'AccessibleComponentLayer'.
3007 * docs/reference/cspi/at-spi-cspi-sections.txt:
3008 Added above methods to docs.
3012 Changed typedef for 'boolean' type (and all references to it) to
3013 SPIBoolean, to avoid keyword clashes with C++.
3016 Changed usages of 'boolean' to SPIBoolean.
3018 * test/keysynth-demo.c:
3019 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
3020 app), except where SPIBoolean is required by the callbacks API.
3022 2001-12-02 Bill Haneman <bill.haneman@sun.com>
3024 * cspi/spi_registry.c:
3025 Removed obsolete X event loop for passive keygrabs (which now
3028 * registryd/registryd.c:
3029 Removed unnecessary call to gdk_init() [cruft]. This also allows
3030 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
3033 2001-11-28 Bill Haneman <bill.haneman@sun.com>
3035 * docs/reference/cspi:
3036 Included docs for SPI_freeString in generated documentation.
3039 Renamed spi_freeString to SPI_freeString, for consistency. Added
3040 documentation for this function.
3043 Renamed spi_freeString to SPI_freeString, for consistency.
3044 Removed obsolete method declaration string_from_corba_string.
3046 * test/keysynth-demo.c:
3047 Small tweak to comments.
3050 Stopped leaking the strings returned from CSPI.
3052 2001-11-28 Bill Haneman <bill.haneman@sun.com>
3054 Merged Michael's branch (see his ChangeLog entries below).
3056 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
3057 bridge is alive, release on exit.
3059 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
3060 Fix type check macro.
3063 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
3066 Added is_gnome_app static, and method cspi_is_gnome_app(),
3067 so we can call the appropriate shutdown routine at exit in SPI_exit.
3069 * cspi/spi_main.c (cspi_object_ref):
3070 Duplicate the corba object passed in, since we're keeping it around.
3072 * cspi/SPI_exit.c, cspi_cleanup:
3073 Moved the releasing of the live refs to its own function, so we
3074 can put it in g_atexit (). Call the appropriate shutdown API
3075 depending on whethe calling client is a gnome app or not
3076 (bonobo_main_quit or CORBA_ORB_shutdown).
3078 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
3079 Unref the listener when this method is called, after
3080 deregistration. Updated the API docs to note this behavior.
3082 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
3083 Bugfixes: Ref the bonobo object when returning a parent or child
3084 reference, or an AccessibleRelation. Generally made sure
3085 BonoboObject refcount is incremented whenever we return an
3088 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
3089 Fixed typo/bug in signal declaration.
3091 * libspi/accessibleeventlistener.h:
3094 * libspi/application.c (spi_application_new):
3095 Fixed leak in initialization.
3098 Remembered to increment bonobo-object refcount when returning
3099 children (applications) from desktop object.
3100 Added (empty) finalize method.
3102 * libspi/deviceeventcontroller.c:
3103 Hold a ref to listeners inside DEControllerKeyListeners.
3104 Added dec_key_listener_free() method. Use prepend instead of
3105 append in key_listener list. Fixed some refcount madness and
3106 leaks in the listener registration/deregistration - deregistration
3107 now calls dec_key_listener_free() on listeners, and on the
3108 temporarily constructed dec_key_listener() used to perform the search/match.
3110 * libspi/hypertext.c (spi_hypertest_finalize):
3111 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
3112 class. Also fixed spi_hypertext_interface_new() and
3113 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
3115 * libspi/hypertext.h:
3116 Removed pointless and duplicate AtkObject pointer from
3119 * libspi/keystrokelistener.c:
3120 Fixed incorrect type of keystroke_listener_parent_class,
3121 renamed keystroke_listener_object_finalize to
3122 spi_keystroke_listener_object_finalize.
3123 Fixed typo in signal declaration
3124 (spi_keystroke_listener_class_init).
3126 * libspi/registry.c:
3127 Added funcsions spi_listener_struct_new() and
3128 spi_listener_struct_free() to help with memory management issues.
3129 We also now use these methods instead of gnew + poking stuff into
3130 the struct, and to decrement listener counts/free the listeners
3131 when deregistering them.
3132 Fix more refcount bugs in getDesktop() and
3133 getDeviceEventController().
3136 De-ref the desktop after enumerating the applications. Explicitly
3137 decrement the refcounts on the created listeners on exit (using
3138 _unref for keystroke listeners, and via the
3139 deregisterGlobalEventListenerAll command for other event
3142 2001-11-27 Michael Meeks <michael@ximian.com>
3144 * cspi/spi-listener.h: fixup enum.
3146 2001-11-27 Michael Meeks <michael@ximian.com>
3148 * cspi/spi-listener-impl.c (cspi_event_listener_new),
3149 (cspi_keystroke_listener_new): Use the cspi variants.
3151 2001-11-26 Michael Meeks <michael@ximian.com>
3153 * test/keysynth-demo.c: fix 2 compile warnings, missing
3156 * test/simple-at.c (report_focussed_accessible),
3157 (report_focus_event, report_button_press),
3158 (check_property_change, is_command_key),
3159 (report_ordinary_key_event, report_command_key_event): upd.
3161 * util/mag_client.h: include pre-requisites.
3163 * libspi/accessibleeventlistener.c
3164 (spi_event_listener_object_finalize): free any lingering
3167 * libspi/keystrokelistener.c
3168 (keystroke_listener_object_finalize): ditto.
3170 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
3171 callbacks, with cspi types.
3173 * cspi/spi_event.c (createAccessibleEventListener): chain to
3174 (AccessibleEventListener_addCallback): here.
3175 (createAccessibleKeystrokeListener): chain to
3176 (AccessibleKeystrokeListener_addCallback): here.
3178 * libspi/keystrokelistener.c
3179 (spi_keystroke_listener_class_init): add signal.
3180 (impl_key_event): emit the event.
3181 (boolean_handled_accumulator): impl.
3182 (marshal_BOOLEAN__POINTER): add, gack.
3184 * libspi/accessibleeventlistener.c
3185 (spi_event_listener_class_init): add signal.
3186 (impl_accessible_event_notify_event): emit the signal &
3187 make the loop efficient.
3188 (spi_event_listener_add_callback): prepend the callback.
3190 * libspi/accessibleeventlistener.h: add an 'event' signal,
3191 decl type on callback.
3193 * libspi/keystrokelistener.h: ditto.
3195 * cspi/spi-listener.h: make methods typesafe and
3196 make them use the new event typedefs.
3198 * test/simple-at.c (report_focussed_accessible):
3199 include mag_client.h
3200 Use *(void *)text_interface not the other thing.
3202 * configure.in: add gtk to registryd bits - since we use
3205 * util/magnifier.c: include libbonobo.h
3207 2001-11-25 Bill Haneman <bill.haneman@sun.com>
3209 * test/keysynth-demo.c:
3210 Turned this into a simple scanning keyboard, to demonstrate the
3211 use of g_timeout_add () as a means of creating timers for
3212 scanning, and the use of GtkStyle for visually indicating when
3213 virtual keyboard elements are selected.
3215 keysynth-demo now listens to any keyboard keys with zero-valued
3216 keycodes (i.e. 'unused' keys) and interprets them as
3219 Reworked the shiftlatch code so that shift-down state isn't held
3220 for long periods (it's only synthesized immediately prior to
3221 the keysynth event it's modifying). Note that shiftlatch in this
3222 demo is a convenience, not intended to take the place of AccessX
3223 which is the better choice for getting 'sticky' modifier keys.
3225 * libspi/deviceeventcontroller.c:
3226 * at-bridge/bridge.c:
3227 * cspi/spi_registry.c:
3228 Removed some debug print stuff, and put other verbosity in #ifdef
3233 Implemented some more of the magnifier IDL for the simple
3234 magnifier: namely, getZoomRegionParams.
3235 Added mag_x and mag_y members to MagnifierData struct, aid of this
3237 Added GtkWindow::realize signal handler to magnifier, to keep it
3238 from receiving keyboard focus from the WM.
3240 2001-11-23 Mark McLoughlin <mark@skynet.ie>
3242 * cspi/spi-private.h: my guess at what michael forgot
3243 before he ran off to NZ :-)
3245 2001-11-23 Michael Meeks <michael@ximian.com>
3247 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
3248 comment out non existant method invoke so we link.
3250 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
3251 use bonobo_exception_get_text for more friendly warnings.
3253 * cspi/spi.c (Obj_Add): move into spi_main & rename
3254 spi_object_add; kill spi.c
3256 * cspi/spi_registry.c
3257 (deregisterGlobalEventListener),
3258 (deregisterGlobalEventListenerAll),
3259 (registerGlobalEventListener): fix exception leaks.
3261 * cspi/spi_main.c (spi_exception): impl. helper, so we
3262 don't leak exceptions.
3264 * cspi/spi_selection.c
3265 (AccessibleSelection_deselectSelectedChild): return the
3268 * cspi/spi_main.c (spi_ev): impl; hack - gack.
3269 (spi_registry): ditto.
3270 (SPI_init): guard against double inits.
3272 * cspi/*.c: use spi_ev (), and spi_registry () where
3273 appropriate - a temporary hack until we have something
3274 better. Use spi_object_add
3276 2001-11-22 Michael Meeks <michael@ximian.com>
3278 * cspi/Makefile.am: re organise, install the headers.
3280 * cspi/*.h: add G_BEGIN/END_DECLS
3282 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3285 Added non-preemptive keylistener for key events with no modifiers
3286 and shift-only modifier.
3288 * libspi/keystrokelistener.c:
3289 Removed some verbose diagnostics printout.
3291 * cspi/spi_registry.c:
3292 Fixed a bug that caused all key listeners to be registered as
3295 * libspi/deviceeventcontroller.c:
3296 Fixed bug that caused XGrabKey (preemptive key grab) to be called
3297 for non-preemptive key masks.
3300 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3302 * docs/reference/idl/at-spi-idl-docs.sgml:
3303 * docs/reference/idl/at-spi-idl-sections.txt:
3304 * docs/reference/idl/at-spi-idl-overrides.txt:
3305 Added missing files.
3307 * docs/reference/Makefile.am:
3308 removed idl from SUBDIRS until we can figure a way to get gtk-doc
3309 to scan the IDL files :-(
3314 Added .cvsignore files.
3316 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3318 * libspi/deviceeventcontroller.c:
3319 * libspi/keystrokelistener.c:
3321 * cspi/spi_registry.c:
3322 Added filters for KeySets, KeyEventSeq, and event types to key
3323 event dispatching, so listeners should only receive those events
3324 that they requested :-)
3326 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3331 * docs/reference:Makefile.am:
3332 * docs/reference/cspi:
3333 * docs/reference/cspi:Makefile.am:
3334 * docs/reference/cspi:tmpl:
3335 * docs/reference/cspi:tmpl:*.sgml:
3336 * docs/reference/idl:
3337 * docs/reference/idl:Makefile.am:
3338 * docs/reference/idl:at-spi-idl-sections.txt:
3339 * docs/reference/idl:at-spi-idl-docs.sgml:
3340 * docs/reference/idl:tmpl:
3341 * docs/reference/idl:tmpl:*.sgml:
3343 Restructured docs directory to allow separate 'reference' docs
3344 section, and forked idl and cspi docs. Added the sgml template
3345 files to CVS. Added the first sections/structural sgml for the
3348 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
3350 * configure.in, libspi/Makefile.am: find libXtst.
3352 2001-11-21 Michael Meeks <michael@ximian.com>
3354 * test/accessx-gui.c: s/spi_value/value/ - doh.
3356 * libspi/base.[ch]: add.
3358 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3360 * idl/Accessible.idl:
3361 * idl/Application.idl:
3364 Started gtk-doc cleanup on IDL.
3366 * libspi/deviceeventcontroller.c:
3367 Added and connected non-preemptive key notification from the
3368 toolkits (in addition to the pre-emptive support from XServer
3369 which we had before, but which causes 'focus flashing'). Filters
3370 are presently limited to key modifiers and global/non-global,
3371 KeySets are presently ignored, as are KeyEvent masks.
3373 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
3374 structs into the persistant structure rather than just storing
3375 pointers to things that might not persist across servant
3378 The XGrabKey call now does async keygrabs, because synchronous
3379 ones were deadlocking with GDK_event code in a very nasty way.
3381 Added boolean to internal method notify_keylisteners, to indicate
3382 whether the event came from the 'toolkit source' or the 'global
3383 (XServer) source' - this is used in the notification process to
3384 determine which listeners to send the event to.
3386 deviceeventcontroller.c is now warning-free.
3388 * libspi/registry.c:
3389 Fixed regression in application de-registration.
3390 Also fixed some really brain-dead weirdness having to do with
3391 event dispatching - event structs are now duplicated before being
3392 re-marshalled in the dispatch to listeners. This also fixes a
3393 Solaris build problem.
3396 2001-11-20 Michael Meeks <michael@ximian.com>
3399 (impl_accessibility_registry_deregister_global_event_listener):
3402 * libspi/deviceeventcontroller.c
3403 (spi_device_event_controller_check_key_event): return
3404 FALSE on no virtual method.
3406 * libspi/*..h: make includes work on a correctly pathed install.
3408 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
3410 * libspi/application.h: kill unused ( and whacked out )
3411 gboolean *spi_application_set_id (AtkObject *app, long id);
3413 2001-11-20 Michael Meeks <michael@ximian.com>
3415 * libspi/*.[ch]: further convert to bonobo's type func
3416 macros, remove redundnant casts etc.
3418 * libspi/text.c s/accessibility_text/spi_text/g,
3419 re-order to de-cruft.
3421 * libspi/hypertext.c: re-order to kill a huge slew
3422 of redundant forward decls.
3424 * libspi/relation.c: ditto.
3426 * libspi/image.c: ditto.
3428 * */.cvsignore: update
3430 2001-11-20 Michael Meeks <michael@ximian.com>
3432 * libspi/deviceeventcontroller.c
3433 (_controller_register_with_devices): use g_getenv,
3434 kill stdlib.h include.
3436 * libspi/keystrokelistener.c
3437 (spi_keystroke_listener_get_type): kill
3438 (spi_keystroke_listener_class_init),
3439 (spi_keystroke_listener_init): rename to this.
3441 * libspi/text.c (impl_getAttributes): fix warning / bug.
3443 * libspi/*.[ch]: more headers, includes and over commenting.
3445 2001-11-20 Michael Meeks <michael@ximian.com>
3447 * libspi/*.[ch]: fixup headers, includes and over commenting.
3449 * libspi/image.c (impl__get_imageDescription): const
3450 correctness warning fix. remove redundant casting.
3452 * libspi/table.c (impl_getRowDescription): ditto.
3453 (impl_getColumnDescription): ditto.
3455 * libspi/libspi.h: add.
3457 2001-11-19 Michael Meeks <michael@ximian.com>
3459 * libspi/editabletext.c (impl_setAttributes): fix warnings.
3461 * libspi/component.c (accessibility_component_get_type):
3462 rename to (spi_component_get_type): and macroify.
3463 (accessibility_component_init): rename to
3464 (spi_component_init): this
3465 (accessibility_component_class_init): rename to
3466 (spi_component_class_init): this
3468 * libspi/action.c (spi_action_get_type): kill, use the macro.
3470 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
3473 * libspi/application.c (spi_application_object_event_listener),
3474 (impl_accessibility_application_register_object_event_listener):
3475 warning fixes / const understanding updates.
3477 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
3480 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3482 * libspi/spi_accessible.c: Added docs and C bindings for
3483 AccessibleStateSet. (No implementations yet). Documentation
3484 coverage for C bindings now 100%. Made docs for event listeners
3489 boolean notifyListenersSync (in DeviceEventListener listener,
3490 in DeviceEvent event);
3492 oneway void notifyListenersAsync (in DeviceEventListener listener,
3493 in DeviceEvent event);
3495 Added DeviceEventListener and DeviceEvent structs (may deprecate
3496 KeyStroke and KeystrokeListener in favor of this generic
3497 event/listener framework for devices).
3499 * libspi/deviceeventcontroller.c:
3501 Changed some key listener code to take masks, etc., and paved the
3502 way for integration of toolkit/non-preemptive key events. Changed
3503 signatures of some internal methods.
3505 * at-bridge/bridge.c:
3506 Fixed regression connecting to interface signals, apparently
3507 caused by GTK+ changes.
3509 Added an internal bridge_state_listener to deal with
3510 property-change:accessible-state signals.
3512 Changed the key_listeners GList to store structs (including masks,
3513 etc.) instead of just CORBA_Objects (required for full
3514 implementation of key listener API).
3516 Connected the bridge to all currently supported Atk signals.
3517 Events now supported:
3518 object:property-change
3519 object:property-change:accessible-name
3520 object:property-change:accessible-state
3521 object:property-change:accessible-description
3522 object:property-change:accessible-parent
3523 object:property-change:accessible-value
3524 object:property-change:accessible-role
3525 object:property-change:accessible-table-caption
3526 object:property-change:accessible-table-column-description
3527 object:property-change:accessible-table-column-header
3528 object:property-change:accessible-table-row-description
3529 object:property-change:accessible-table-row-header
3530 object:property-change:accessible-table-summary
3531 object:children-changed
3532 object:visible-data-changed
3533 object:selection-changed
3534 object:text-selection-changed
3536 object:text-caret-moved
3538 object:row-reordered
3540 object:column-inserted
3541 object:column-reordered
3542 object:column-deleted
3543 object:model-changed
3545 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3547 * libspi/hyperlink.c,h:
3548 Fixed some broken stuff in hyperlink.
3550 * libspi/relation.h:
3551 * libspi/relation.c:
3552 * cspi/spi_accessible.c:
3553 Initial implementations of AccessibleRelation methods, and docs.
3555 * libspi/accessible.c:
3556 Fixed a bug that caused SEGV if an accessible
3557 object's description is NULL, and a client
3558 requests it. An empty string is now returned.
3560 * cspi/spi_editabletext.c:
3561 * cspi/spi_hypertext.c:
3563 * cspi/spi_hyperlink.c:
3567 Doc coverage now 95%.
3569 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3571 One last namespacing revision:
3572 * libspi/accessibleeventlistener.[ch]:
3573 Renamed SpiAccessibleEventListener to SpiEventListener,
3574 (no need for two namespaces ;-)
3576 And lots of documentation fixes:
3578 * docs/at-spi-docs.sgml:
3579 Fixed 'underscore vs. hyphen' bug that was preventing
3580 the gtk-doc API docs from being automatically generated.
3583 * cspi/spi-listener.h
3585 * cspi/spi_accessible.c
3587 * cspi/spi_application.c
3588 * cspi/spi_component.c
3589 * cspi/spi_editabletext.c
3591 * cspi/spi_hypertext.c
3593 * cspi/spi_registry.c
3594 * cspi/spi_selection.c
3598 * docs/at-spi-docs.sgml
3599 * docs/at-spi-sections.txt
3601 Added and fixed up gtk-doc documentation in cspi.
3603 Interfaces now (fully) documented (subject to revision and enhancement):
3605 Event Listener Support
3607 AccessibleApplication
3611 AccessibleEditableText
3618 AccessibleRelationSet
3623 2001-11-14 Bill Haneman <bill.haneman@sun.com>
3625 * at-bridge/bridge.c:
3626 Initial work for toolkit-level key snooper connection by bridge.
3631 New typedefs and fixes to support new namespacing, and cleaner
3632 separation of cspi bindings from libspi bonobo implementation.
3633 Removed inconsistent and extraneous Spi* namespace prefix that
3634 had crept into cspi headers.
3635 Lots of comment fixes that sed had missed.
3637 * cspi/spi-roletypes.h:
3638 * cspi/spi-statetypes.h:
3639 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
3640 to AccessibleRoleType.
3642 * libspi/accessibleeventlistener.h:
3643 Fixed minor namespacing weirdness.
3645 * libspi/deviceeventcontroller.c:
3646 Reordered some internal API for device listeners.
3647 Changed the key registry final boolean to 'is_system_global'
3648 rather than 'is_synchronous', which is more descriptive of its
3650 Added spi_device_event_controller_new().
3651 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
3653 * libspi/keystrokelistener.[ch]:
3654 Namespaced KeystrokeListener to SpiKeystrokeListener.
3655 Changed uses of keymasks to use SPI_ prefix, and did other
3658 * libspi/keymasks.h:
3659 Namespaced keymask constants with SPI_ prefix.
3661 * libspi/registry.c:
3662 Some warning fixes, and knock-on fixes from namespace changes.
3665 Added rules for accessx-gui test program.
3667 * test/accessx-gui.c:
3668 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
3669 utility. It doesn't actually use at-spi, but it's still cool and
3672 * test/keysynth-demo.c:
3676 Fixes so that these test clients work properly with the namespaced
3677 libraries. (Incompletely tested for technical reasons, fixes may follow)
3680 2001-11-13 Michael Meeks <michael@ximian.com>
3682 * libspi/application.c
3683 (impl_accessibility_application_get_version),
3684 (impl_accessibility_application_get_toolkit_name):
3686 (impl_accessibility_application_set_id),
3687 (impl_accessibility_application_get_id): remove
3688 redundant casting code.
3690 * libspi/action.c (impl_getDescription): fix warnings.
3692 * libspi/accessible.c
3693 (impl_accessibility_accessible_get_parent),
3694 (impl_accessibility_accessible_get_child_at_index),
3695 (impl_accessibility_accessible_get_state),
3696 (impl_accessibility_accessible_get_relation_set):
3697 warning fixes & include action.h
3699 2001-11-13 Michael Meeks <michael@ximian.com>
3701 * *.[ch] fix bits I screwed up:
3703 s/([^ \tb(\*\&\?\",])spi_/\1/g;
3704 s/([^ \tb(\*\&\?\",])Spi/\1/g;
3706 2001-11-13 Michael Meeks <michael@ximian.com>
3708 * *.[ch] Namespace libspi into spi_ and Spi.
3710 2001-13-11 Michael Meeks <michael@ximian.com>
3712 * Makefile.am: dist & install at-spi-1.0.pc
3714 * libspi/Makefile.am: install into at-spi-1.0
3716 * idl/Makefile.am (idldir): install into at-spi-1.0
3718 * at-spi-1.0.pc.in: add.
3720 * configure.in: build it.
3722 2001-11-12 Bill Haneman <bill.haneman@sun.com>
3724 * test/keysynth-demo.c:
3725 Use a 'realize' signal-handler to set the WM properties for
3726 the virtual keyboard, rather than making it a "POPUP" type
3727 override-redirect window (thanks to anders carlsson for that
3730 2001-11-11 Bill Haneman <bill.haneman@sun.com>
3733 * test/keysynth-demo.c:
3734 Added new test of key synthesis, which creates a simple
3735 (mouse-operated) onscreen keyboard. It inserts key events into
3736 the currently-focused window, thus it does not grab keyboard focus
3739 * cspi/spi_registry.c:
3740 Added C binding for AT-SPI generateKeyEvent.
3742 * libspi/deviceeventcontroller.c:
3743 Added call to XFilterEvent so that key listener works with XIM (we
3744 hope). Added event_synth_type to generateKeyEvent, so that we can
3745 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
3746 synthesize a press/release pair for KeySyms.
3748 2001-11-09 Bill Haneman <bill.haneman@sun.com>
3750 * libspi/Makefile.am:
3751 * registryd/Makefile.am:
3752 (temporary) hack to include libXtst in libspi and registryd.
3753 (Needed for keystroke synthesis, see below).
3756 Improved API for registerKeystrokeListener, in accordance with
3757 discussions with Gnopernicus team and X server research.
3759 * libspi/registry.c:
3760 * libspi/deviceeventcontroller.c:
3761 * libspi/accessible.c:
3762 * libspi/keystrokelistener.c:
3763 Changes and fixes to support keylisteners for potentially
3764 consumed key events (that is, 'passive grabs').
3765 Added implementation for generateKeyEvent() [untested].
3768 Changes to registerKeystrokeListener() API, as above.
3769 Added deregisterGlobalEventListenerAll(), and
3770 deregisterKeystrokeListener(), which are needed for clean exit of
3772 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
3773 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
3775 * cspi/spi_registry.c:
3776 Added implementations of function prototypes mentioned above.
3778 * registryd/registryd.c:
3779 Added the key listener event source as a g_timeout(), to allow
3780 receipt of key events that are not caught by GDK (since GDK
3781 doesn't support passive keygrabs, this was necessary).
3784 Changed to attach a keylistener to 'Alt' keys, and
3785 respond to the following keycommands: Alt-M (toggle magnifier);
3786 Alt-F (toggle speech); Alt-Q (quit).
3787 Added an exit routine to deregister the listeners, and a key
3788 listener that prints some key info to the console when a key
3789 matches the listener mask (and is thus received by the listener).
3791 * util/idl/Magnifier.idl:
3792 Changes to magnifier API to support multiple zoom regions,
3793 non-uniform scaling in x and y, markDirty, and a host of other
3794 features that would be useful to magnification.
3797 * util/mag_client.c:
3798 * util/mag_client.h:
3799 * util/mag_control.c:
3801 Source code changes to support the above IDL changes.
3804 As above, and also changes to use a (slower) generic conversion
3805 path for colormap conversions, since the fast RGB conversions have been
3806 reported to fail for 16-bit displays.
3808 2001-10-26 Michael Meeks <michael@ximian.com>
3810 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
3812 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
3814 * at-bridge/Makefile.am: fix LDFLAGS.
3816 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3818 * at-bridge/bridge.c:
3819 Re-worked listeners for toolkit events, now we have signal
3820 and property listeners. Added a private method
3821 register_atk_event_listeners(), which registers with the
3822 various atk and gtk signals we need to monitor in order to emit
3824 Added emission hook for AtkObject:property-change events, to
3825 support the 'property listeners'.
3826 Fixed some alloc()s of Accessibility_Event structs to use CORBA
3829 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
3830 which emit warnings and exit, respectively, if CORBA errors occur
3831 during remote calls, and we now use these methods to check most of
3832 our CORBA calls in the C bindings.
3834 * cspi/spi_accessible.c:
3835 Changed AccessibleSelection_refSelectedChild() to
3836 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
3837 now increment refcounts.
3839 * cspi/spi_component.c:
3840 Fixed some long pointer casts (dangerous!) to pass pointers to
3841 CORBA_longs of the proper type to the CORBA stubs, and copy the
3842 data into the longs that were passed into the C bindings code.
3844 * at-bridge/bridge.c:
3846 * libspi/accessible.c:
3847 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
3848 hyperlinks, AtkHyperlink is an object type.
3850 * libspi/application.c:
3851 Added various conversions to and from "generic" event types and
3852 atk-specific types; this is really part of the 'bridge'
3853 implementation but is valid for all AtkObject-based accessibility
3856 * libspi/editabletext.c:
3857 Fixed nasty bug wherein editable text's finalize method was
3858 unref'ing tha AtkObject reference that the text parent class was
3859 about to unref _again_. There was also a nasty inheritance bug
3860 that meant that the AccessibleEditableText class was corrupt.
3862 * libspi/selection.c:
3863 Provided implementations for some selection API that was broken.
3865 * idl/Application.idl:
3866 Added registerObjectEventListener () method.
3869 Fixed a number of return values that were Bonobo_Unknowns from
3870 bonobo_object_corba_objref(), which I
3871 forgot to dup before returning. Changed instances of
3872 bonobo_object_corba_objref (bonobo_object(o)) to
3873 BONOBO_OBJREF(o), for concision and clarity.
3875 2001-10-13 Louise Miller <louise.miller@sun.com>
3877 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
3878 idl/Event.idl, idl/Registry.idl
3879 Changed these files to include Bonobo_Unknown.idl instead
3882 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
3884 * libspi/component.c libspi/component.h:
3885 Fixed typo. Added assertions for object checks in
3886 AccessibleComponent code.
3888 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3890 * idl/Accessible.idl:
3891 Added 'isEqual (Accessible *object)'
3892 method for Accessible. (Not Yet Implemented).
3895 Changed signature of registerKeystrokeListener() to
3896 take a KeySet and KeyEventSeq so that specific keys and event
3897 types could be requested for monitoring, and added a flag
3898 is_synchronous so that either synchronous or asynchronous
3899 notification could be requested. (However this is not all
3900 implemented yet). This also meant adding two new typedefs,
3901 KeyEventSeq and KeySet.
3904 Added two new relations, RELATION_TOOLTIP_FOR and
3905 RELATION_LEAFNODE_OF.
3908 Added new state, STATE_HAS_TOOLTIP.
3910 * libspi/text.c, editabletext.c:
3911 Added new assertions to all casts of bonobo-objects from
3912 CORBA servants, to prevent Text API calls on non-text objects.
3913 Changed suspect casts of int-pointer types, so that we
3914 always send a valid CORBA_long pointer to the CORBA APIs that use
3915 in/out long parameters. We then have to copy from the CORBA_long
3916 into the regular long or int for return to the C bindings, or
3917 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
3920 * libspi/deviceeventcontroller.c:
3921 Cleaned these sources up.
3923 Changed return type for getCharacterAtOffset to
3924 CORBA_unsigned_long, to allow for 32-bit characters.
3927 2001-10-08 Bill Haneman <bill.haneman@sun.com>
3931 Fixed 'make dist' so that distro compiles...
3932 * libspi/keymasks.h:
3934 * cspi/spi-listener.c:
3935 KeystrokeListenerCB now returns a boolean.
3937 Added KeyEventType struct, and KeyStroke.
3938 Also added createKeystrokeListener(),
3939 KeystrokeListener_addCallback(),
3940 KeystrokeListener_removeCallback(), and added a keymask to
3941 registerKeystrokeListener().
3942 * cspi/spi_accessible.c:
3943 Changed numerous return types for interfaces from
3944 AccessibleComponent to Accessible<InterfaceName>; this was
3945 probably a cut-and-paste error.
3947 Implementations of new KeystrokeListener api (from spi.h,
3950 Changes to key modifier mapping.
3951 Created ControllerEventMask struct.
3952 Made DeviceEventController derive from Bonobo::Unknown.
3954 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3955 * libspi/deviceeventcontroller.c:
3956 Added a number of new internal (private) methods.
3957 * libspi/editabletext.c:
3958 * libspi/editabletext.h:
3959 Fixed a number of bugs related to the fact that
3960 editabletext inherits from text. Fixed the EditableText struct,
3961 the init() call, and use correct casts when calling Text methods
3962 from an EditableText object. Removed (duplicate) atko from the
3963 EditableText structure, we use the one in the parent Text
3964 structure via the casts mentioned above.
3965 * libspi/keystrokelistener.[ch]:
3966 * libspi/registry.c:
3967 Changes in support of keyboard handling (above).
3969 Keyboard handling, though partly functional, is still not
3970 recommended for at-spi client use as there is considerable
3971 work yet to be done.
3974 Changed some places where pointers to various int types
3975 are cast to be pointers to CORBA_long types and vice-versa:
3976 pointer casting is not safe so we pass pointers of the correct
3977 types and then cast the result before putting it into the target
3980 * libspi/text.h: minor typos corrected.
3982 We now speak not only the name of a Text element, but the
3983 first sentence of its content, when it receives focus.
3984 I also changed the text compression to 75% from 50%.
3985 * util/Accessibility_Util.server.in:
3986 Changed the default magnifier type to be a 3x vertical
3987 splitscreen magnifier (was previously a 2x horizontal one).
3989 2001-10-03 Bill Haneman <bill.haneman@sun.com>
3991 * libspi/keystrokelistener.h:
3992 * libspi/keystrokelistener.c:
3993 Initial functional implementations of KeystrokeListener.
3996 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3998 Fixed string handling for NULL strings in libspi.
3999 Added spi_freeString to free strings returned by C bindings.
4001 2001-09-30 Bill Haneman <bill.haneman@sun.com>
4003 * libspi/keystrokelistener.h:
4004 * libspi/keystrokelistener.c:
4005 Began (no-op) implementations of KeystrokeListener
4007 * libspi/deviceeventcontroller.c:
4008 * libspi/deviceeventcontroller.h:
4009 Began creating implementations of DeviceEventController,
4010 to handle keystroke and mouse event listening and
4012 * libspi/accessible.c:
4013 Stubbed-in the implementations for
4014 Accessibility_Accessible_getState and
4015 Accessibility_Accessible_getRelationSet.
4016 * libspi/registry.c:
4017 Improved de-registration process and fixed some bugs,
4018 deregistration now works correctly.
4020 Added initialization of applications list (to NULL).
4022 Reduced speech compression from 0.5 to 0.7, for demo.
4023 Changed call to gdk_window_set_decorations()
4024 to gtk_window_set_decorated().
4025 * at-bridge/bridge.c:
4026 Bridge now deregisters when app exits, via
4027 registration of a cleanup function
4028 with the g_atexit() call.
4029 Required making 'app' static, renamed 'this_app'.
4030 Fixed broken use of bonobo_init, passing argv wrongly.
4032 2001-09-27 Bill Haneman <bill.haneman@sun.com>
4036 Created a new directory for
4037 accessibility-related utilities, primarily for
4038 testing and demo purposes, but with possible
4045 Onscreen magnifier utility that
4046 is implemented as a bonobo service.
4048 * util/mag_client.c:
4049 * util/mag_client.h:
4050 Client-side support (simple C bindings)
4051 for Magnification service
4053 * util/mag_control.c:
4054 Client program example for
4055 Magnification service
4057 * util/Accessibility_Magnifier.server.in:
4058 Bonobo-activation file for the
4059 Magnification service.
4062 * util/idl/Magnifier.idl:
4063 IDL defining the bonobo Magnification
4067 Modifications to use the bonobo-activated magnifier
4068 above, in place of trying to connect to an existing
4069 magnifier that uses socket-listening IPC.
4071 If env variable MAGNIFIER is set, a magnifier service
4072 will be started if one does not exist.
4074 2001-09-25 Bill Haneman <bill.haneman@sun.com>
4076 * at-bridge/bridge.c:
4077 applied patch from Marc to build and run
4078 against new glib and gtk+ (seemed like a change
4079 to bonobo_init signature was made ?)
4081 made festival-server support turned off by default.
4082 Added support for a simple magnifier (off by default)
4083 which will be added to a 'util' directory later.
4084 * at-bridge/Makefile.am:
4085 Changed "application.h" header from a 'source'
4086 to a 'dependency' of libat-bridge.
4088 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4097 Added interface implementation c files to list of
4098 includes so they are included in libcspi.
4101 Changed prototype of AccessibleAction_doAction to return a
4103 Changed prototype of AccessibleTable_getCaption to
4104 return an Accessible.
4105 Changed prototype of AccessibleTable_getSelectedRows
4106 and AccessibleTable_getSelectedColumns to
4107 return a long (returns the number of selected rows
4108 or columns respectively).
4109 Changed name of AccessibleText_refRunAttributes to
4110 AccessibleText_getAttributes.
4111 Changed prototype of AccessibleText_getCharacterExtents to
4112 return a void rather than a boolean.
4113 Added support for a AccessibleCoordType parameter
4114 specifying what type of coordinates are desired.
4115 Added an AccessibleCordType parameter to
4116 AccessibleText_getPointAtOffset.
4118 * cspi/spi_accessible.c:
4119 Added code to return the outstanding interfaces from
4120 Accessible_queryInterface.
4122 * cspi/spi_action.c:
4124 Corrected call to getNActions to call the c binding
4127 * cspi/spi_editabletext.c:
4129 Changed name from setRunAttributes to setAttributes.
4131 * cspi/spi_hyperlink.c:
4133 Changed call to getNAnchors to correctly call the c
4134 binding for an attribute.
4136 * cspi/spi_hypertext.c:
4138 Changed getImageDescription to correctly call the
4139 binding for an attribute.
4141 * cspi/spi_selection.c:
4142 Changed getNSelectedChildren to correctly call the c
4143 binding for the attribute.
4144 Changed refSelectedChild to getSelectedChild.
4148 Changed getCaption to return an Accessible.
4149 Fixed calls which retrieve attributes.
4150 Changed refAt to getAccessibleAt.
4151 Changed getNSelectedRows and getNSelectedColumns to
4155 Changed getCharacterExtents and getPointAtOffset to accept an
4156 AccessibleCoordType.
4158 Changed calls which retrieve attributes.
4159 Changed refRunAttributes to getAttributes.
4164 * idl/Hyperlink.idl:
4165 Changed n_anchors attribute to nAnchors to keep naming
4166 convention consistent.
4169 Made Table inherit from Bonobo::Unknown.
4170 Added nSelectedColumns and nSelectedRows attributes.
4173 Made Value inherit from Bonobo::Unknown.
4175 * libspi/hyperlink.c:
4176 Change for nAnchors attributte name change.
4178 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4186 Added interface implementation c files to list of
4187 includes so they are included in libcspi.
4190 Changed prototype of AccessibleAction_doAction to return a
4192 Changed prototype of AccessibleTable_getCaption to
4193 return an Accessible.
4194 Changed prototype of AccessibleTable_getSelectedRows
4195 and AccessibleTable_getSelectedColumns to
4196 return a long (returns the number of selected rows
4197 or columns respectively).
4198 Changed name of AccessibleText_refRunAttributes to
4199 AccessibleText_getAttributes.
4200 Changed prototype of AccessibleText_getCharacterExtents to
4201 return a void rather than a boolean.
4202 Added support for a AccessibleCoordType parameter
4203 specifying what type of coordinates are desired.
4204 Added an AccessibleCordType parameter to
4205 AccessibleText_getPointAtOffset.
4207 * cspi/spi_accessible.c:
4208 Added code to return the outstanding interfaces from
4209 Accessible_queryInterface.
4211 * cspi/spi_action.c:
4213 Corrected call to getNActions to call the c binding
4216 * cspi/spi_editabletext.c:
4218 Changed name from setRunAttributes to setAttributes.
4220 * cspi/spi_hyperlink.c:
4222 Changed call to getNAnchors to correctly call the c
4223 binding for an attribute.
4225 * cspi/spi_hypertext.c:
4227 Changed getImageDescription to correctly call the
4228 binding for an attribute.
4230 * cspi/spi_selection.c:
4231 Changed getNSelectedChildren to correctly call the c
4232 binding for the attribute.
4233 Changed refSelectedChild to getSelectedChild.
4237 Changed getCaption to return an Accessible.
4238 Fixed calls which retrieve attributes.
4239 Changed refAt to getAccessibleAt.
4240 Changed getNSelectedRows and getNSelectedColumns to
4244 Changed getCharacterExtents and getPointAtOffset to accept an
4245 AccessibleCoordType.
4247 Changed calls which retrieve attributes.
4248 Changed refRunAttributes to getAttributes.
4253 * idl/Hyperlink.idl:
4254 Changed n_anchors attribute to nAnchors to keep naming
4255 convention consistent.
4258 Made Table inherit from Bonobo::Unknown.
4259 Added nSelectedColumns and nSelectedRows attributes.
4262 Made Value inherit from Bonobo::Unknown.
4264 * libspi/hyperlink.c:
4265 Change for nAnchors attributte name change.
4268 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
4270 implementations-- made server implementations own AtkObject pointers
4271 rather than their respective AtkInterrface pointers to fix
4272 refcounting. AtkHyperlink is still broken.
4274 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4275 * cspi/spi_accessible.c:
4276 Added method Accessible_Role_getName(),
4277 and requisite string array (role_names).
4278 Added conversion string_from_corba_strin() call
4279 to Accessible_getName and _getDescription.
4280 * libspi/accessible.c:
4281 Added implementation for Accessible_getRole()
4283 Added festival support, used if environment variable
4286 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4288 * at-bridge/bridge.c:
4289 Now allocate Accessibility_Event using
4290 Accessibility_Event__alloc() instead of g_new0().
4291 * libspi/accessibleeventlistener.c:
4292 Initialize AccessibleEventListener->callbacks to NULL.
4293 Fixed accessible__event_listener_init() param, changed to
4294 "AccessibleEventListener *" type.
4295 Changed a bonobo_object_release_unref() call to
4296 Accessibility_Accessible_unref().
4297 * libspi/listener.c:
4298 Changed Bonobo_Unknown_unref to (equivalent)
4299 Accessibility_Accessible_unref.
4300 * libspi/registry.c:
4301 Changed bonobo_object_release_unref to
4302 Accessibility_Accessible_unref.
4304 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4307 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
4308 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
4309 spi-util.c spi-util.h
4310 Implementations for C bindings to remaining accessibility
4313 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4316 changed return value of Action from void to boolean to
4317 bring in line with ATK.
4320 Changed getText funcions to return "out" start and end offsets.
4321 Changed getAttributes to take and offset and return the start
4322 and end offset of the attribute run.
4323 Changed getOffsetAtPoint and getCharacterExtents to take an
4324 enum describing whether coordinates are window or screen.
4327 libspi/action.c libspi/action.h libspi/editabletext.c
4328 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
4329 libspi/hypertext.c libspi/hypertext.h libspi/image.c
4330 libspi/image.h libspi/selection.c libspi/selection.h
4331 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
4332 libspi/value.c libspi/value.h
4333 Added server implementations for outstanding ATK interfaces
4334 not yet implemented.
4336 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4339 Added (missing) getName() method.
4340 Made nActions an attribute.
4341 * idl/EditableText.idl:
4342 Changed order of params in setAttributes.
4343 * idl/Hyperlink.idl:
4344 Removed getAnchor, added getURI.
4346 Changed attributes to methods, for efficiency
4347 (so that getting extents can be done in one call)
4348 * idl/Selection.idl:
4349 Changed nSelectedChildren to attribute, and re-indented.
4350 * idl/Table.idl: changed nrows, ncolumns, caption, summary
4352 * idl/Text.idl: reformatted to match our coding style.
4353 (temporarily?) removed getRowColumnAtOffset().
4354 Changed text selection API to support multi-select and
4355 non-contiguous selections, as in ATK.
4356 * idl/Value.idl: changed some methods to attributes.
4358 2001-08-24 Mark McLoughlin <mark@skynet.ie>
4360 * libspi/listener.c(impl_notify_event):
4361 BonoboUnkown_unref the source instead
4362 of bonobo_object_release_unref - the ORB
4363 handles the releasing.
4365 * configure.in: require ORBit-2.3.94 for
4368 2001-08-21 Bill Haneman <bill.haneman@sun.com>
4370 Tagged CVS repository 'EA_1_0'.
4371 * README.EARLY_ACCESS:
4372 Alphabetized acknowledgements list, and
4374 Listed some known dependencies of at-spi.
4376 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4378 * docs/at-spi-docs.sgml:
4379 * docs/at-spi-sections.txt:
4380 * docs/at-spi-overrides.txt: (Added zero-length file)
4381 Documentation improvements - gtk-doc should build
4382 docs for all implemented C bindings now.
4385 * cspi/spi.c: (New file)
4386 * cspi/spi_event.c: (New file)
4387 * cspi/spi_registry.c: (New file)
4388 * cspi/spi_accessible.c: (New file)
4389 * cspi/spi_application.c: (New file)
4390 * cspi/spi_component.c: (New file)
4391 Split spi_main.c into six parts, and included them from
4392 "spi.c". This is a bit of a hack, probably temporary,
4393 but required by gtk-doc, apparently.
4395 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4398 * docs/at-spi-docs.sgml:
4399 * docs/at-spi-sections.txt:
4401 Initial checkins/modifications for gtk-doc generation.
4404 Added (missing) interface query methods to Accessible's C binding.
4406 Added GenericInterface type definition.
4408 Added query for AccessibleComponent interface to focus event handler.
4409 Added printout of bounding box for focussed component.
4410 * libspi/component.c:
4411 Added partial implementation for AccessibleComponent to C binding.
4412 * idl/Application.idl:
4413 * libspi/registry.c:
4414 * libspi/listener.c:
4415 * libspi/application.c:
4416 * libspi/application.h:
4417 Changed "ID" attribute type from string to long.
4419 2001-08-19 Bill Haneman <bill.haneman@sun.com>
4423 Made method naming consistent: methods taking object args
4424 start with uppercase, other methods (except those using
4425 acronyms) start with lowercase. Underscores delimit between
4426 object names and method names:
4427 SPI_init() - uppercase since it starts with an acronym.
4428 getDesktopCount () - lowercase start since no object param0.
4429 Accessible_getName() - uppercase object type name, studlyCaps method
4433 Added gtk-doc documentation for all currently implemented
4434 methods in the C bindings API.
4436 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4438 * Makefile.am : changed build order to build test last.
4441 Changed "createEventListener" to "CreateEventListener".
4442 * libspi/accessibleeventlistener.c :
4443 Bugfix for addition of callbacks.
4444 * test/Makefile.am :
4445 * test/simple-at.c :
4446 Added new test that uses the C bindings API.
4448 * libspi/listener.c :
4449 * libspi/registry.c :
4450 * libspi/accessibleeventlistener.c :
4451 * at-bridge/bridge.c :
4452 Renamed member "target" of Accessibility_Event to "source",
4453 which is more descriptive.
4456 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4460 * cspi/Makefile.am :
4461 Added makefile support for at-spi/cspi directory.
4464 * cspi/spi-listener.h : (NEW FILE)
4465 Added support for/use of spi-listener.h.
4467 C bindings now build successfully, with no warnings.
4468 * libspi/accessibleeventlistener.h : (NEW FILE)
4469 * libspi/accessibleeventlistener.c : (NEW FILE)
4470 * libspi/Makefile.am :
4471 Added new object type "AccessibleEventListener"
4472 which inherits from Listener, and allows attachment
4473 of in-process callbacks (so that a client with a listening
4474 object instance can add functionality to the local
4475 implementation, dynamically).
4477 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4479 * libspi/accessible.c:
4480 Add implementation for get_index_in_parent().
4482 Added #include of "spi-roletypes.h", and
4483 added enumerated type AccessibleCoordType.
4484 Added definition for KeystrokeListener (function type).
4487 * cspi/spi-statetypes.h :
4488 * cspi/spi-roletypes.h :
4490 Added these headers, used by spi.h.
4492 Added code (NOTE: not yet built by make).
4494 2001-08-18 Mark McLoughlin <mark@skynet.ie>
4496 * libspi/Makefile.am: generate imodule
4497 at the same time as other idl compiler
4500 2001-08-17 Bill Haneman <bill.haneman@sun.com>
4501 * libspi/registry.c :
4502 * libspi/application.c :
4503 * idl/Application.idl :
4504 Made registration with toolkit an application method,
4505 which is required since each app has its own toolkit static
4506 environment. Thus the bridge must register for
4507 notification of toolkit events from each application in turn.
4508 Toolkit notifications are now successfully registered for, and
4509 sent to the listening at client.
4511 Changed toolkit event string to use hyphens rather than underscores.
4512 * libspi/listener.c :
4513 listner now gives more info in debug mode - it reports the
4514 name of the event received, as well as the name of the source.
4517 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4519 * libspi/registry.c :
4520 added more implementation for toolkit events.
4521 Fixed bug such that toolkit event registrations
4522 (via atk) use the whole event name string, not
4524 Removed a useless call to an ORBit_ method.
4525 * at-bridge/bridge.c :
4526 Removed unused local sbuf[] variable.
4528 We now register for Gtk:GtkWidget:button_press_event
4529 events as well as "focus:" events.
4531 Add some more API from Registry.idl that was missing,
4532 for keystroke listening, keystroke and mouse event
4533 synthesis, and enumeration of accessible desktops.
4535 2001-08-16 Michael Meeks <michael@ximian.com>
4537 * configure.in: use AM_GLIB_GNU_GETTEXT.
4539 * Makefile.am (SUBDIRS): kill intl.
4541 2001-08-15 Michael Meeks <michael@ximian.com>
4543 * registryd/Makefile.am: s/oaf/server/ relocate info file.
4545 * configure.in: upd.
4547 * configure.in: depend on a recent bonobo-activation that
4548 will find our server files ...
4550 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4552 * libspi/accessible.c : accessible_new() :
4553 Now we add the Component interface via bonobo_object_add_interface,
4554 if the contained AtkObject implements AtkComponent.
4555 * libspi/accessible.h : now include "component.h"
4556 * libspi/component.h :
4557 * libspi/component.c : added files - implementation of
4558 bonobo wrapper object for Accessibility/Component
4559 * libspi/listener.c :
4560 Added test code to check for Accessibility/Component:1.0
4561 interface and report whether it is implemented by the
4563 * libspi/registry.c :
4564 Now we check for not only the hash of the whole event
4565 string before relaying the event, we also check the
4566 "minor" event string (without the detail string).
4567 This allows event listeners to be registered against
4568 all events of a certain major+minor type, or just
4569 against a specific major+minor+detail type.
4570 * libspi/accessible.c :
4571 Added implementations for Accessible:get_parent(),
4572 Accessible:getChildCount(), and Accessible:getChildAtIndex().
4573 * libspi/registry.c :
4574 * libspi/listener.c :
4575 Replaced calls to Accessibility_Accessible_ref() and
4576 Accessibility_Accessible_unref() with
4577 calls to bonobo_object_dup_ref() and
4578 bonobo_object_release_unref(), so that the CORBA object
4579 is dup-ed and released when relayed, as well as the bonobo object.
4581 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4583 * libspi/Makefile.am,
4584 registryd/Makefile.am,
4585 at-bridge/Makefile.am.
4586 test/Makefile.am, configure.in:
4587 reverse previous changes.
4589 * /idl/Image.idl: fix typo.
4591 * test/Makefile.am: put DEBUG_FLAGS
4594 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4596 * test/app.c: use argv[0] instead of
4599 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4601 * libspi/Makefile.am,
4602 registryd/Makefile.am,
4603 at-bridge/Makefile.am.
4604 test/Makefile.am, configure.in:
4605 cleanup, replace individual LIBS/CFLAGS with
4606 AT_COMMON_{LIBS|CFLAGS}.
4610 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4612 * configure.in, libspi/Makefile.am:
4613 Change IDL path checking for bonobo-activation
4616 2001-08-15 Bill Haneman <bill.haneman@sun.com>
4618 * registryd/registry.c : separated event listeners to use
4619 3 separate lists (focus, window, toolkit). Began testing
4620 event names against hashes before relaying events.
4621 * test/at.c : now register for events of type "focus:"
4622 * test/app.c : now generate events of type "focus:"
4623 * at-bridge/bridge.c : register with ATK for focus events,
4624 and we now relay those focus events to any "focus:" listeners.
4625 This now works with the bridge as a GTK_MODULE when running test/at.
4626 * libspi/registry.c :
4627 * libspi/listener.c :
4628 now we ref event sources before propagating, and unref on receipt.
4629 * libspi/registry.c :
4630 some changes to internal structs, to support event typestring hashes.
4631 * text/app.c : changed the way the appname is generated.
4632 * cspi : added directory that will hold the C bindings library for
4633 non-CORBA/bonobo-savvy clients.
4634 * cspi/spi.h : header file that contains the function prototypes for the C binding.
4635 * idl/Component.idl : added in parameter to indicate coord system for
4636 geometry-related calls.
4637 * idl/Hyperlink.idl : added readonly n_links attribute
4638 * idl/Image.idl : changed methods to attributes.
4640 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4642 * at-bridge/Makefile.am: link against
4643 ../libspi/libspi.la instead of -lspi.
4645 * at-spi/test/app.c: include
4646 bonobo-activation.h. Use a default appname
4647 if one is not provided.
4649 2001-08-14 Bill Haneman <bill.haneman@sun.com>
4651 * idl/Registry.idl : temporarily changed register_Application
4652 to oneway, to work around issue with initial registration
4654 * idl/Application.idl : changed attribute "id" from readonly
4655 to read-write, since it needs to be assigned by Registry.
4656 * registryd/registryd.c : added call to set application id
4658 * registryd/registry.c : changed de-registration procedure to
4659 use CORBA_Object_hash() to find matching object ref in application
4660 lists and listener lists.
4661 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
4662 began distinguishing between event types (work in progress).
4664 2001-08-13 Bill Haneman <bill.haneman@sun.com>
4667 * libspi/application.c:
4668 Added implementations for get/set id, get_toolkitName,
4670 * registryd/registryd.c :
4674 Converted from use of OAF to bonobo-activation.
4675 * libspi/desktop.h :
4676 * libspi/desktop.c :
4678 Removed references to atksimpleobject, since base atkobject
4679 implementation now provides functionality we need.
4680 * libspi/atksimpleobject.c :
4681 * libspi/atksimpleobject.h :
4686 * at-bridge/Makefile.am
4687 * at-bridge/bridge.c
4690 Added directory "bridge" and contents, and added dependencies
4691 in Makefile.am/configure.in.
4692 Initial checkin of "at-bridge".
4693 This code is a GTK_MODULE which automatically registers
4694 GTK+ apps with the accessibility registry, using an object
4695 reference to the root ATK object.
4697 2001-08-10 Mark McLoughlin <mark@skynet.ie>
4699 * po/Makefile.in.in: Remove. Again. If this
4700 doesn't get autogenerated - you need to update
4703 2001-08-07 Mark McLoughlin <mark@skynet.ie>
4705 * po/Makefile.in.in: Add. Again.
4707 2001-07-31 Bill Haneman <bill.haneman@sun.com>
4709 * libspi/accessible.c : added support for 'description' property.
4710 * libspi/accessible.c
4712 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
4713 (since the two are now equivalent in libbonobo)
4721 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
4722 Bonobo::Unknown as does Accessibility::Accessible.
4723 * idl/StreamableContent.idl : as above, and replaced internal InputStream
4724 interface with Bonobo::Stream, since it was redundant with it.
4725 (The Stream returned by a StreamableContext object is expected to
4726 implement only a subset of Bonobo::Stream)
4728 2001-07-28 Anders Carlsson <andersca@gnome.org>
4730 * libspi/accessible.c (accessible_object_finalize): Change
4731 g_free to g_object_unref since the AtkObject is a GObject.
4733 2001-07-30 Bill Haneman <bill.haneman@sun.com>
4735 * idl/Accessibility.idl: add new IDL files
4738 * idl/Action.idl: Definitions of actionable UI object
4739 * idl/Component.idl: Definitions of UI component geometry, etc.
4740 * idl/Hyperlink.idl: Defs of hyperlink behavior
4741 * idl/Image.idl: Def of accessible image
4742 * idl/Selection.idl: Definition of UI object with selectable children
4743 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
4744 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
4745 * idl/Text.idl: Interface defs for UI elements with complex textual content
4746 * idl/Value.idl: Definition of UI element that is a value controller or display
4748 2001-07-27 Michael Meeks <michael@ximian.com>
4750 * po/Makefile.in.in: remove autogenerated file from CVS.
4752 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
4755 * idl/Registry.idl: include guard.
4757 * idl/Accessibility.idl: Add, and include all the other IDL
4760 * idl/*.idl: remove mass of pragmas etc.
4762 2001-07-26 Michael Meeks <michael@ximian.com>
4764 * registryd/Makefile.am (registryd_SOURCES): remove
4767 2001-07-27 Mark McLoughlin <mark@skynet.ie>
4769 * libspi/.cvsignore, registryd/.cvsignore,
4770 test/.cvsignore: updated.
4772 * po/Makefile.in.in: gettext update.
4774 2001-07-25 Bill Haneman <bill.haneman@sun.com>
4776 * initial CVS checkin
4778 2001-06-29 Michael Meeks <michael@ximian.com>
4780 * configure.in: add AM_CONFIG_HEADER to gen config.h