1 2002-10-16 Bill Haneman <bill.haneman@sun.com>
4 Incremented revision to 1.1.2, SONAME is still '.so', library
5 extensions are ".so.0.0.2".
7 * registryd/deviceeventcontroller.c:
8 FIXES FOR #93592 and #95940.
9 (statics): renamed mouse_button_state to mouse_mask_state,
10 added key_modifier_mask.
11 (spi_dec_poll_mouse_moved):
12 Added key modifier checks, and emit "keyboard:modifiers"
13 events when the key modifiers currently in use change.
14 Also generate "mouse:abs" events periodically, even if the mouse
15 is stationary (should we?).
16 Alternatively we could generate "mouse:abs" events for either all
17 mouse movements, or every 'nth' mouse movement, or at the
18 beginning and end of every "active" mouse period.
20 * test/event-listener-test.c:
21 (main): Added listener for "keyboard:modifiers" events.
23 2002-10-15 Bill Haneman <bill.haneman@sun.com>
26 Added key mask #defines for mouse buttons; e.g.
27 SPI_KEYMASK_BUTTON1, etc.
30 Incremented dependency on ATK to version 1.1.0. (This dependency
31 is probably premature but will soon be real enough).
33 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
35 * libspi/hyperlink.[ch]
36 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
37 (get_hyperlink_from_servant): Check object is AtkHyperlink not
40 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
45 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
47 * registryd/deviceeventcontroller.c
48 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
50 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
51 keyboard_mode so that XAllowEvents() can be called.
55 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
57 * cspi/spi-accessible.c: Correct names of roles returned by
58 AccessibleRole_getName(). Fixes bug #95055.
60 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
62 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
65 * registryd/registry.c
66 (desktop_remove_application: Write diagnostic message to stderr for
69 (impl_accessibility_registry_deregister_global_event_listener):
70 Correct size of lists array. This addresses bug #94555).
72 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
74 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
77 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
79 * registryd/Makefile: Add CLEANFILES so that .server file is removed
82 * registryd/registry.c (impl_registry_notify_event): Remove
83 unnecessary call to parser_event_type().
85 * docs/reference/cspi/tmpl/spi_component.sgml:
86 Add reference to SPI_LAYER_WINDOW.
88 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
90 * registryd/registry.c
91 (desktop_add_application): Remove leak.
92 (desktop_remove_application): Remove leak.
93 (parser_event_type): Remove leak.
95 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
97 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
98 bogus call to CORBA_string_dup(). Also removed unnecessary
99 g_string_dup/g_free calls.
101 2002-09-13 Bill Haneman <bill.haneman@sun.com>
103 * registryd/deviceeventcontroller.c:
104 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
106 * test/event-listener-test.c:
107 main: commented out three redundant listeners, to reduce output
108 noise. (They still are potentially useful for testing).
111 2002-09-13 Michael Meeks <michael@ximian.com>
113 * Update all the copyrights to include Ximian.
115 2002-09-06 Mark McLoughlin <mark@skynet.ie>
117 * cspi/spi.h: add SPI_LAYER_WINDOW.
119 * cspi/spi_component.c: (AccessibleComponent_getLayer):
120 add Accessibility_LAYER_WINDOW case.
122 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
124 * libspi/component.c: (impl_accessibility_component_get_layer):
125 add ATK_LAYER_WINDOW case.
127 2002-08-28 Bill Haneman <bill.haneman@sun.com>
129 * configure.in: incremented micro version.
131 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
133 2002-08-20 Bill Haneman <bill.haneman@sun.com>
136 Clarified and reworded our commit policy.
139 Started an API "todo" addition list for 2.2.
143 Free char pointer from atk_text_get_selection, which was being leaked.
145 2002-08-19 Bill Haneman <bill.haneman@sun.com>
148 Small revision to author acknowledgement.
150 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
152 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
153 If signal has detail add it to the type of the event.
156 2002-08-12 Michael Meeks <michael@ximian.com>
158 * test/test-simple.c (global_listener_cb): bin bogosity.
159 (test_keylisteners): disable, still doesn't work reliably,
160 certainly not on my system anyway.
162 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
163 don't leak a reference on the DEC. This round-trip
164 fetching of the DEC per keystroke sucks, it should be
167 * cspi/spi-private.h,
168 * cspi/cspi-lowlevel.h,
169 * cspi/bonobo/cspi-bonobo-listener.[ch],
170 * cspi/bonobo/cspi-bonobo.c: get the copyright
171 notices better - there is still a large amount of
172 work in at-spi falsely attributed solely to Sun.
174 * cspi/spi_main.c (cspi_object_ref): kill bogus
175 hash lookup, just increment the ref.
176 (SPI_freeString): make explicit the fact that we
177 handle NULL strings just fine.
178 (report_leaked_ref): obey coding standards.
179 (cspi_object_hash, cspi_object_equal): kill retval.
180 (cspi_object_release): only release if not on loan.
181 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
182 (cspi_object_borrow, cspi_object_return): impl.
184 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
185 use cspi_object_borrow / return.
187 2002-08-12 Darren Kenny <darren.kenny@sun.com>
189 * cspi/bonobo/cspi-bonobo-listener.c:
191 Don't call cspi_oject_new() because this is creating a new Accessible
192 every single time that an event is fired. This causes ATs like at-poke
193 to nolonger recognise the source of the event and thus ignore it.
194 Re-use the object from the cache, ref it and then unref it after the
195 listeners have been called.
197 2002-08-06 Darren Kenny <darren.kenny@sun.com>
199 * test/event-listener-test.c:
200 Added command-line options to disable mouse events (m) and
203 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
205 * configure.in: Update required versions of ATK, GTK+ and GAIL
207 * cspi-1.0.pc.in: Add dependency for X include files
210 * cspi/bonobo/Makefile.am:
211 Add $(X_CFLAGS) so that X include files
212 are picked up even if not in standard place (bug #71686)
214 2002-06-25 Bill Haneman <bill.haneman@sun.com>
216 * registryd/deviceeventcontroller.c: fix for 84261
217 (spi_dec_mouse_moved):
218 Added test of mouse button mask, so that we can detect mouse
219 button release. Unfortunately we can't otherwise detect mouse
220 button release events without consuming the mouse press event,
221 because of the way XGrabButton works. This means that our mouse
222 release events have a latency dependent on the polling period
223 while the mouse button is down. At least in this case we only
224 have to poll while the button is down, and not at other times.
225 If the button masks don't match with what the last press event
226 reported, we report the appropriate button release event.
227 (spi_dec_ungrab_mouse):
228 New method (not yet called).
229 (spi_device_event_controller_forward_mouse_event):
230 New method, sends mouse press event from GdkFilter.
231 (spi_dec_init_mouse_listener):
232 Added code to call XGrabButton, redirecting mouse button events to
233 the root window and our Gdk event loop.
235 Added code to filter mouse button events, and reordered.
237 * test/event-listener-test.c:
239 Added registration for mouse events of type "mouse:button".
241 2002-06-25 Bill Haneman <bill.haneman@sun.com>
243 * registryd/deviceeventcontroller.c: partial fix for 84261
244 (spi_dec_poll_mouse_idle):
245 New method, a timeout which checks to see if the mouse
247 (spi_dec_poll_mouse_moving):
248 A timeout to be called when mouse motion is underway.
249 (spi_dec_poll_mouse_moved):
250 A method which fires an event if the mouse has moved, and reports
251 whether or not it did so.
252 (spi_dec_init_mouse_listener):
253 A method which sets up the timeouts above.
254 (spi_device_event_controller_new):
255 Now calls spi_dec_init_mouse_listener.
257 * registryd/registry.c:
259 Now we initialize the device event controller when the registry is
260 initialized, instead of waiting until a client has requested a key
261 event notification; this is because we need the event controller
262 for mouse events, but the mouse event registration API is a
263 "registry" call and doesn't explicitly call the
264 deviceeventcontroller.
265 We now report mouse motion events with a 100 ms idle latency and
266 a 20 ms granularity when motion is in progress.
268 * test/event-listener-test.c:
270 We now register the "detail listener" for events of type
271 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
272 delivered only for the first mouse event received, and thereafter
273 "mouse:abs" events are delivered.)
275 * cspi/spi_registry.c:
276 DOCS: Documented the above mouse event typestrings.
278 2002-06-21 Bill Haneman <bill.haneman@sun.com>
280 Happy Summer Solstice...
282 * registryd/deviceeventcontroller.c: [fix for bug 84100]
283 (spi_controller_notify_keylisteners):
284 Changes to remove a listener from the listener list, freeing its
285 open keygrabs, if a notification to that listener fails. This
286 means that although a dead listener can continue to hold a passive
287 keygrab, a maximum of one dispatch to such a listener can fail
288 before the listener is removed from the list, thus the keygrab
289 will be released on the next occurrence.
291 (spi_notify_keylisteners):
292 Renamed to spi_controller_notify_keylisteners, as the controller
293 instance must now be passed as an argument.
294 The copied 'notify' GList is now a list of DEControllerKeyListener
295 objects, since we need more than just the CORBA reference if a
296 notify fails and we need to deregister the listener.
297 (impl_notify_listeners_sync):
298 (impl_notify_listeners_async):
299 (spi_device_event_controller_forward_key_event):
300 Modify use of notify_keylisteners in accordance with above
302 (spi_deregister_controller_key_listener):
303 New method introduced by refactoring, from
304 impl_deregister_keystroke_listener.
305 (impl_deregister_keystroke_listener):
306 Call spi_deregister_controller_key_listener.
307 (spi_key_listener_clone):
308 New method to copy a key listner without doing a 'ref' on the
309 remote object instance; used to create a notifier list.
310 (spi_key_listener_data_free):
311 New method, frees data without unreffing the source.
313 (spi_key_listener_clone_free): new method.
314 (spi_key_listener_free):
315 refactored to call spi_key_listener_data_free.
317 2002-06-20 Bill Haneman <bill.haneman@sun.com>
319 * registryd/registry.c: [fix for bug 86048]
320 (notify_listeners_cb):
321 Clear CORBA system exceptions which occur when notifying
322 listeners, before returning to the source of the original event,
323 since the event source doesn't care if the relayed notify failed.
324 In other words, don't complain to the atk-bridge if the registry
325 could not notify all its listeners, that's no fault of the
326 application and thus should not appear to be an error from the
327 application's perspective.
329 * cspi/spi_main.c: [fix for bug 85980]
331 Replaced use of bonobo_object_dup_ref with call to the wrapper
332 method, csou_dup_ref (); this silences a compiler warning and
333 provided more portability.
335 Ping the registry before return, and restart if necessary.
337 * cspi/bonobo/cspi-bonobo.c:
341 Fixed this method to return an object reference, as it should have
344 * cspi/cspi-lowlevel.h:
345 Added internal definition for cspi_ping() and fixed
346 return type of cspi_dup_ref().
349 2002-06-19 Bill Haneman <bill.haneman@sun.com>
351 * atk-bridge/bridge.c: [fix for bug 85305]
352 (spi_atk_bridge_register_application):
353 New method where the initial application registry calls have been
354 moved; it allows an application to re-register in response to
355 certain error conditions (such as a registry restart, see below).
357 Moved some initialization code to the method
358 spi_atk_bridge_get_registry, below.
359 (spi_atk_bridge_get_registry):
360 New, private accessor function for the Accessibility_Registry
361 instance. If the registry has not been started before, or has
362 died (as detected by failure of a CORBA exception), it is
363 restarted before return, and spi_atk_bridge_register_application
364 is called again to register with the new bridge instance.
365 (spi_atk_emit_eventv):
366 Set registry_died on error; use spi_atk_bridge_get_registry () to
369 * registryd/registry.c:
370 (impl_accessibility_registry_register_global_event_listener):
371 Set listener's event_type_quark to etype.minor instead of
372 etype.major (fix for bug 84856).
374 * test/event-listener-test.c:
375 (report_detail_event):
376 Change the output string so that user/tester can tell that the
377 'detail listener' was called instead of the 'generic listener'.
379 2002-06-18 Bill Haneman <bill.haneman@sun.com>
381 Fixes for bugs 84900, 84908, 84897, 84898.
386 Revved version to 1.1.0
387 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
388 version is going to HEAD which will be used for gnome-2-0-1 and later.)
390 * idl/Accessibility_Registry.idl:
391 (EventListener::notifyEvent):
392 Removed 'oneway' directive after extensive consulation with
393 ORBit2 team and others. This means also that unref() of the event
394 source can and should be done synchronously after emission, rather
395 than remotely in the client, after servicing the notify call on
398 NOTE: This change speeds up listener performance considerably, but
399 introduces new latency on the application side. We may want to
400 add an event queue to the atk-bridge.
402 * atk-bridge/bridge.c:
403 (spi_atk_bridge_focus_tracker):
404 Do a local unref() on the event source after emission.
406 * registryd/registry.c:
407 (desktop_remove_application):
408 Do an unref() on the event source after emission.
409 (desktop_add_application):
410 Do an unref() on the event source after emission.
411 (notify_listeners_cb):
412 When relaying an event, don't automatically add the event source
413 to the local object cache, just CORBA_dup it instead. Likewise,
414 if this method reenters, release the ref rather than calling
416 (impl_registry_notify_event):
417 No longer call remote unref() on the event source after dispatch.
419 * libspi/eventlistener.c:
420 (impl_accessible_event_notify_event):
421 Removed remote unref ()
423 * cspi/bonobo/cspi-bonobo-listener.c:
425 We now call cspi_object_new() instead of cspi_object_add() on
426 receipt of an event; thus we only have an implicit object ref
427 while the cspi_event method is being executed. If we need to keep
428 a reference to the object, the listener must call ref() on the
429 object. Thus also we don't need to call cspi_object_unref() after
430 invoking the listener callbacks in this method.
434 New internal API for creating a new cspi object, without adding it
437 Now uses cspi_object_new() to create the cspi object instance.
439 Now checks to see if the object is in the internal object cache,
440 and adds it if necessary before incrementing its refcount (note
441 that new objects are added with a refcount of 1).
443 New method which gives some information on leaked object instances
444 if leak detection is turned on.
446 * test/event-listener-test.c:
448 New method, used for testing event delivery timing for special
449 events of type "object:test". It reports elapsed time and
450 events/sec every 500 events.
452 Added a new listener, 'test listener', to check timing of event
453 receipt as noted above.
455 Added some timing output here also, reports elapsed time every 100
458 * test/stress-test.c:
459 Emit events of type "object:test", for use with "event-listener-test".
461 * test/test-simple.c:
462 (global_listener_cb):
463 Call Accessible_ref() on the event source before calling
464 validate_accessible, since the validation process does pointer
465 comparisons on the event source, meaning that the event source
466 needs to be added to the local object cache first. Any use of
467 such pointer comparisons between Accessible objects requires that
468 the caller hold an explicit reference to those objects.
469 We also must therefore call Accessible_unref() when leaving this method.
471 2002-06-13 Bill Haneman <bill.haneman@sun.com>
473 * registryd/deviceeventcontroller.c:
474 (spi_controller_update_key_grabs):
475 Fix for #84735, subsequent keygrab listeners not informed of
476 registration failure.
479 (spi_base_construct):
480 Add an assertion on construct, to make sure the GObject passed in
483 Explicitly initialize object->gobj pointer to NULL;
485 * cspi/bonobo/cspi-bonobo-listener.c:
486 (cspi_object_add_ref):
487 New method, can specify whether to dup-ref a bonobo object passed
488 in if it's newly added to the object cache.
490 Now calls cspi_object_add_ref with second param of "FALSE". This
491 prevents us from doing a pointless dup-ref followed by
492 release-unref for all those cases where the object is already in
493 our object cache (fix for #85205).
495 * atk-bridge/bridge.c:
496 (spi_atk_bridge_idle_init):
497 Removed this method, we don't need to initialize in an idle
500 Changed to call spi_atk_register_event_listeners directly, not via an
501 idle handler. (fix for #81139)
502 (gnome_accessibility_module_shutdown):
503 Removed conditional around deregistration of listeners, since we
504 don't use the idle handler and thus have always registered when
506 (spi_init_keystroke_from_atk_key_event):
507 Changed references to Accessibility_KEY_PRESSED to
508 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
510 2002-06-12 Bill Haneman <bill.haneman@sun.com>
512 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
517 * test/stress-test.c:
520 (may have been an incomplete commit yesterday?)
522 2002-06-12 Bill Haneman <bill.haneman@sun.com>
525 Added target for new stress-test.
527 * test/stress-test.c:
528 New test, sends 1000 focus notifies in quick succession.
530 * test/key-listener-test.c:
531 Now we report whether a keylistener registration
532 request succeeded or failed.
534 * test/event-listener-test.c:
535 Uncommented some listeners which are now implemented.
538 2002-06-06 Bill Haneman <bill.haneman@sun.com>
540 * registryd/deviceeventcontroller.c:
541 (spi_controller_update_key_grabs):
542 Fix for #82509, lack of failure notification when
543 ALL_WINDOWS keygrabs fail due to XGrabKey
544 failure: we synchronize the server when
545 registering a passive grab, to make sure we get the
546 error message before the call returns.
548 2002-06-03 Bill Haneman <bill.haneman@sun.com>
550 * test/test-simple.c:
552 Removed #ifdef KEY_IMPL_WORKS guards.
554 Removed #ifdef KEY_IMPL_WORKS guards.
555 Fixed bug which was causing a hang waiting for a
556 "press" event (which was already overwritten by a "release"
557 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
559 Added code to set globals 'key_press_received' and
560 'key_release_received'.
563 Added section "1.1 API Proposed Additions" which
564 lists API additions desired for at-spi-1.1 (only one so far).
565 Updated TODO list a little.
567 2002-06-02 Bill Haneman <bill.haneman@sun.com>
569 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
572 * configure.in: Revved to 1.0.0.
574 * idl/Accessibility_Registry.idl:
575 (registerKeystrokeListener):
576 Added boolean return value.
578 * registryd/registry.c:
579 (notify_listeners_cb): Minor fix to debug output.
581 * registryd/Accessibility_Registry.server.in.in:
582 Revved version number in OAFIID to 1.0.
584 * registryd/registryd.c:
586 Use new OAFIID version.
588 * cspi/bonobo/cspi-bonobo.c:
590 Use new OAFIID version.
596 * atk-bridge/bridge.c:
598 Use new OAFIID version.
600 * registryd/deviceeventcontroller.c:
601 (impl_register_keystroke_listener):
602 Added CORBA_boolean return value.
603 (spi_controller_register_device_listener):
604 Added gboolean return value.
605 (spi_controller_register_global_keygrabs):
606 Added gboolean return value.
607 (spi_key_set_contains_key):
608 Added implementation for many more control keys,
609 for instance F1-F12, arrow keys, End, Home, Page_Up,
611 [TODO: some still not implemented].
613 * text/screen-review-test.c:
614 (text_chunk_pad_string):
615 New function: it provides mapping between coordinate
616 positions of text chunks and character positions in the
617 screen-review-line output string.
618 (text_chunk_to_string):
619 New function, calls text_chunk_pad_string with various
620 pad/delimiter characters. Pushbuttons are delimited with
621 square brackets, Frames with vertical 'pipe' lines, and
622 other text with double quotes.
623 (text_chunk_list_to_string):
624 Calls new function text_chunk_to_string.
625 (toplevel_composite):
626 New function to composite layers CANVAS through
627 POPUP in each toplevel (other layers are composited
628 across toplevels, i.e. BACKGROUND and OVERLAY).
629 (review_buffer_composite):
630 Revise to use new methods.
636 2002-05-31 Laszlo Peter <laca@sun.com>
638 * configure.in: add the Xtst libdir to the runpath on Solaris,
639 since it's not in the default library search path.
641 2002-05-29 jacob berkman <jacob@ximian.com>
643 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
645 2002-05-29 Bill Haneman <bill.haneman@sun.com>
647 * test/screen-review-test.c:
648 (text_chunk_pad_string):
649 Added method, which pads the string according to the
650 text bounds of the chunk. It also takes a 3-character
651 string as a param which indicates the characters to be
652 used for start, padding, and end delimitation of the chunk.
653 (text_chunk_to_string):
654 Changed to use text_chunk_pad_string.
656 * configure.in: Fixed bug in AC_OUTPUT that was
657 causing path substitution in Accessibility_Registry.server
660 2002-05-23 Bill Haneman <bill.haneman@sun.com>
662 * text/screen-review-test.c:
664 New method which attempts a best-guess at clipping
665 text from components (like Java labels) which don't
666 actually implement AccessibleText. This inaccurate
667 clip is based on the assumption that the label is
668 justified left-and-right, and monospaced.
669 (text_chunk_get_clipped_string):
670 We now call guess_string_clip() for text-containing
671 components that don't implement AccessibleText.
673 * test/screen-review-test.c:
674 (review_buffer_get_text_chunk):
675 We now pull "name" from labels if they do not implement
676 AccessibleText (i.e. for Java labels).
677 (get_screen_review_line_at):
678 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
681 Replaceded AC_OUTPUT target
682 registryd/Accessibility_Registry.server with
683 registryd/Accessibility_Registry.server.in.
685 * registryd/Accessibility_Registry.server.in:
686 Removed (this is now a Makefile target).
688 * registryd/Accessibility_Registry.server.in.in:
689 Added (source for target above). We now use $(libexecdir) as
690 prefix for the executable at-spi-registryd.
692 * registry/Makefile.am:
693 Now install at-spi-registryd into $(libexecdir), and build .server
694 file with path (see above).
696 2002-05-22 Bill Haneman <bill.haneman@sun.com>
698 * test/screen-review-test.c:
699 (text_chunk_get_clipped_string):
700 We now check to see if words fall within clip bounds
701 before resorting to character-by-character clip bounds testing.
703 * TODO: Added a section for "2.2 Proposed API Additions".
705 2002-05-21 Bill Haneman <bill.haneman@sun.com>
707 * test/screen-review-test.c:
709 Added a screen review benchmarking and test program to test
712 * cspi/spi_accessible.c:
714 Made some of the debug strings passed to cspi_check_ev a
715 little more specific.
717 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
719 * test/screen-review-test.c: Fix crashes in debug statements
721 2002-05-20 Bill Haneman <bill.haneman@sun.com>
723 * test/screen-review-test.c: Added this file.
725 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
727 * atk-bridge/bridge.c: changed "object:state-change" to
728 "object:state-changed" to match docs.
730 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
732 * atk-bridge/bridge.c: Hooked up state-change event details.
734 2002-05-11 Bill Haneman <bill.haneman@sun.com>
736 * registryd/registry.c:
737 Fixed quarking bug in event string parsing; now events with
738 detail parameters get matched correctly to listeners.
741 * util/idl/Magnifier.idl: remove.
743 * util/*.[ch]: Remove.
744 Magnification utilities and IDL are now in module gnome-mag.
746 2002-05-10 Bill Haneman <bill.haneman@sun.com>
748 * registryd/deviceeventcontroller.c:
749 Fixed bug in grab key conversion which was causing keycode grabs
750 to be converted to AnyKey grabs.
753 updated NEWS file to reflect recent spin-off of gnome-mag.
755 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
757 * cspi/spi_accessible.c: Added exception checks. Fixed completely
758 busted AccessibleStateSet_compare. Removed redundant casts.
760 * cspi/spi-action.c: Removed redundant casts.
762 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
764 * cspi/spi_component.c: Fixed typos and casting error.
766 * cspi/spi_editabletext.c: Removed redundant casts.
768 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
770 * cspi/spi_hypertext.c: Eliminated redundant casts.
772 * cspi/spi_image.c: Eliminated redundant casts.
774 * cspi/spi_registry.c: Eliminated redundant casts.
775 SPI_deregisterGlobalEventListenerAll () removed retval variable.
776 * cspi/spi_selection.c: Removed redundant casts.
777 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
778 handling. Screen geometry and text offsets were being returned as 0
779 on error which is technically valid-- changed these to return -1.
780 Added marshaller for text boundary types to fix bug with boundary
781 types being passed incorrectly to atk.
783 2002-05-09 Bill Haneman <bill.haneman@sun.com>
786 * cspi/spi_registry.c:
787 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
788 which was uncovered by the recent key changes.
790 2002-05-09 Bill Haneman <bill.haneman@sun.com>
792 * test/event-listener-test.c:
794 Added new test, "event-listener-test";
795 this code does two things; it benchmarks traversal time
796 for the accessible hierarchy for the first running accessible
797 app, and it connects listeners for all supported event types.
798 It is thus useful as an example event listener and for
799 diagnostics/debugging of event generation.
801 2002-05-08 Bill Haneman <bill.haneman@sun.com>
804 Removed unnecessary dependency on libutil.
807 Revved micro version: 0.13.1
809 2002-05-08 Bill Haneman <bill.haneman@sun.com>
812 Removed util/Makefile from targets.
815 Removed util subdir from SUBDIRS (temporarily,
816 pending removal of magnifier-only code
820 #ifdef-ed out magnifier dependencies, since
821 magnifier IDL, headers, and binary now live in
822 module gnome-mag and we don't want at-spi to depend
823 on gnome-mag. A magnifier demo which can run alongside
824 simple-at is forthcoming in the gnome-mag module.
826 NOTE: Split magnifier binary, IDL, and magnification
827 activation code from at-spi into module gnome-mag.
829 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
831 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
832 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
834 2002-05-03 Bill Haneman <bill.haneman@sun.com>
837 Revved to version 0.13.0
839 * idl/Accessibility_Registry.idl:
840 Changed definition of KeySet from sequence of longs to sequence of
841 KeyDefinitions, and added KeyDefinition struct.
842 Required for fix to bug 80616.
844 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
845 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
846 to use new definition (see above).
848 * registryd/deviceeventcontroller.c: handle_keygrab(),
849 spi_keyset_contains_key():
850 Changed to make use of new struct; this allows matching based on
851 string key-name, for instance "Tab". This also allows matching of
852 composed characters, non-alphanumeric characters in a way that
853 doesn't involve dependencies on X keysym codes directly, etc.
855 * test/key-listener-test.c:
856 Added test for Alt-Tab key using "string" specification of keyset,
857 and modified one of the tests to use a keycode-based keyset.
858 Thus this test both tests and demonstrates the creation and use of
859 keysets of three forms: specified via keycode array,
860 keysym array, and string array. (The string case only contains a
861 single string, i.e. a string array of length 1).
864 Turned on PRINT_TREE option by default. Also fixed a
865 string-freeing bug in the PRINT_TREE code.
866 Added a listener to window:minimize events.
868 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
870 * atk-bridge/bridge.c:
871 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
872 for window:activate and window:deactiveate
873 (atk_bridge_property_event_listener atk_bridge_signal_listener
874 atk_bridge_window_event_listener) Tidy debug code
876 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
878 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
879 Fixed handling for NULL return value from ATK.
881 * libspi/action.c libspi/component.c libspi/editabletext.
882 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
883 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
884 Removed redundant casts.
886 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
887 Fixed off by one bug.
889 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
890 function not present in idl)
892 2002-05-02 jacob berkman <jacob@ximian.com>
894 * atk-bridge/Makefile.am: make atk-bridge a real module
896 2002-04-26 Radek Doulik <rodo@ximian.com>
898 * libspi/stateset.c (spi_init_state_type_tables): fix size of
899 atk_state_types table
901 2002-04-22 jacob berkman <jacob@ximian.com>
904 * libspi/Makefile.am: add deps on the built files to help
905 automake, and don't version the ORBit typelib
907 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
909 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
910 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
911 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
912 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
913 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
914 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
915 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
916 libspi/accessible.h libspi/accessible.h libspi/base.h
917 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
918 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
919 libspi/relation.h libspi/remoteobject.h libspi/selection.h
920 libspi/spi-private.h libspi/statetset.h libspi/table.h
921 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
922 util/mag_client.h util/mag_control.c util/mag_image.c
923 util/mag_image.h util/magnifier.c util/magnifier.h:
924 Add missing file headers; standardize existing ones
926 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
928 * atk-bridge/bridge.c: Added window event support.
930 2002-04-18 Michael Meeks <michael@ximian.com>
932 * libspi/relation.c (impl_getNTargets): impl.
933 (impl_getTarget): impl.
935 * libspi/Makefile.am: fix stateset install.
937 2002-04-17 Bill Haneman <bill.haneman@sun.com>
940 Started putting useful info in this file.
942 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
944 * atk-bridge/bridge.c:
945 Propagate state-changed notifications to ATs
947 * cspi/spi_registry.c: update docs to reflect actual behavior of
950 2002-04-17 Bill Haneman <bill.haneman@sun.com>
953 Incremented version to 0.12.1
956 Add missing declaration for magnifier_exit,
957 used by mag_control.c - Forte compiler didn't like
958 the implicit redeclaration of the function :-(
961 2002-04-16 Bill Haneman <bill.haneman@sun.com>
964 Revved version to 0.12 due to API change (see below).
966 * cspi/spi-roletypes.h:
967 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
968 definition from the inline docs, and added docs
969 for SPI_ROLE_LAST_DEFINED.
972 * cspi/spi_streamablecontent.c:
973 Added missing seek_type parameter to
974 (so far unused) method,
975 AccessibleStreamableContent_seek().
976 [ RT approval JodyG. ]
979 Fixed docs for SPI_createAccessibleKeystrokeListener.
981 * cspi/spi_registry.c:
982 Fixed docs for SPI_KEYSET_ALL_KEYS.
984 * docs/reference/cspi/at-spi-cspi-sections.txt:
985 Added a number of missing APIs to SECTIONS.
987 2002-04-16 Bill Haneman <bill.haneman@sun.com>
989 * registryd/Makefile.am:
991 * cspi/bonobo/Makefile.am:
992 Add $(X_LIBS) to makefiles.
994 2002-04-15 Bill Haneman <bill.haneman@sun.com>
997 Revved version to 0.11.
999 * libspi/component.c:
1000 Added implementation for grabFocus.
1002 * idl/Accessibility_Component.idl
1003 (Accessibility_Component_grabFocus):
1004 Made this method return boolean to indicate success or failure, to
1005 be consistent with cspi and the corresponding ATK method.
1007 * idl/Accessibility_Selection.idl
1008 (Accessibility_Selection_selectAll) :
1009 Made these methods return boolean to indicate success or
1010 failure, to be consistent with cspi and the corresponding ATK methods.
1012 * idl/Accessibility_EditableText.idl
1013 (Accessibility_EditableText_setTextContents,
1014 Accessibility_EditableText_insertText,
1015 Accessibility_EditableText_cutText,
1016 Accessibility_EditableText_deleteText,
1017 Accessibility_EditableText_pasteText):
1018 Made these methods return boolean to indicate
1021 * cspi/spi_editabletext.c:
1022 Made these methods return booleans.
1024 * libspi/selection.c:
1025 * libspi/component.c:
1026 * libspi/editabletext.c:
1027 Connected the boolean returns from ATK
1028 to the server-side code referenced above.
1030 2002-04-14 Bill Haneman <bill.haneman@sun.com>
1032 * idl/Accessibility_Table.idl: Added missing methods,
1033 Accessibility_Table_addRowSelection,
1034 Accessibility_Table_addColumnSelection,
1035 Accessibility_Table_removeRowSelection,
1036 Accessibility_Table_removeColumnSelection.
1039 Added C wrappers for above IDL:
1040 AccessibleTable_addRowSelection,
1041 AccessibleTable_addColumnSelection,
1042 AccessibleTable_removeRowSelection,
1043 AccessibleTable_removeColumnSelection.
1046 Added server-side implementation code for IDL above, connecting
1047 to pre-existing ATK api.
1049 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
1051 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
1053 * libspi/accessible.c: Added implementation fo
1054 Accessibility_Accessible_get_state.
1056 * libspi/libspi.h: Added stateset.h to the list of includes.
1058 * libspi/stateset.c: Fixed broken implementation.
1060 2002-04-13 Bill Haneman <bill.haneman@sun.com>
1063 Added implementation code for Accessibility_Magnifier_exit ().
1065 * util/mag_control.c:
1066 Added test code for above method; you can
1067 now kill an existing magnifier via
1068 ./mag_control q, from the util directory.
1070 * test/key-listener-test.c:
1072 Added a new test, for our key listener API.
1074 2002-04-11 Bill Haneman <bill.haneman@sun.com>
1076 * test/app.c, test/keysynth-demo.c:
1078 Replace use of snprintf with g_snprintf.
1079 (fix for bugzilla 78249)
1081 2002-03-27 Michael Meeks <michael@ximian.com>
1085 * util/Makefile.am (INCLUDES): fix.
1086 (DONT_DIST_SOURCE): don't distribute the
1089 * libspi/Makefile.am (dist-hook): ditto.
1091 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
1093 * libspi/hypertext.c:
1094 Fix warnings when yelp is used with atk-bridge
1096 2002-03-21 Michael Meeks <michael@ximian.com>
1098 * libspi/application.c (spi_application_new):
1099 use spi_accessible_construct so we use the AtkObject
1102 2002-03-19 Michael Meeks <michael@ximian.com>
1104 * registryd/registry.c (desktop_remove_application),
1105 (desktop_add_application): clean coding style.
1107 * registryd/desktop.c (spi_desktop_remove_application),
1108 (spi_desktop_add_application): kill re-enterency hazards.
1109 (spi_desktop_dispose): remove bogus redundant cast
1110 obscuring bug; fix bug too.
1111 (spi_desktop_init): make the desktop object immortal.
1113 2002-03-16 Bill Haneman <bill.haneman@sun.com>
1116 Added a #define-guarded tree-traversal step
1117 when enumerating the apps (diagnostic tool).
1119 2002-03-15 Bill Haneman <bill.haneman@sun.com>
1121 * idl/Accessibility_Role.idl:
1122 Added ROLE_DRAWING_AREA which seemed to be missing from the
1125 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1127 * cspi/spi-roletypes.h cspi/spi_accessible.c
1128 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
1131 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
1132 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
1133 AT when applications are added and removed from the desktop. This
1134 reverts the previous broken implementation using the backing
1135 AtkObject for the SpiDesktop.
1137 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1139 * registryd/desktop.c: emit the "children-changed::add" and
1140 "children-changed::remove" signals on the backing ATK object for
1141 the desktop so AT can tell when applications are started and shut
1144 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1146 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
1148 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1150 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
1152 * cspi/spi_accessible.c: Implemented c bindings for stateset support
1154 * cspi/state-types.h: synched with IDL and ATK
1156 2002-03-13 Bill Haneman <bill.haneman@sun.com>
1158 * libspi/accessible.c
1159 (impl_accessibility_accessible_get_child_at_index):
1160 Change return value for g_return_if_fail ()
1161 to CORBA_OBJECT_NIL instead of "0" (!)
1163 * registryd/Makefile.am:
1164 * registryd/Accessibility_Register.server.in:
1165 Changed name of executable, "registryd",
1166 to something more informative:
1169 2002-03-13 Michael Meeks <michael@ximian.com>
1171 * atk-bridge/bridge.c (atk_bridge_init): don't register
1172 if we're in a bonobo-component, rather than a bonobo app.
1174 2002-03-13 Michael Meeks <michael@ximian.com>
1176 * atk-bridge/bridge.c (gtk_module_init): split
1177 out body to (atk_bridge_init): here, since otherwise
1178 we get symbol conflicts and oddness when invoked
1179 from (gnome_accessibility_module_init): here (upd.)
1181 2002-03-11 Bill Haneman <bill.haneman@sun.com>
1184 New file. Explicitly allow "build sheriff" putbacks provided
1185 they are tested on Solaris.
1187 * docs/reference/cspi/Makefile.am:
1188 Added '-' to the "cp" command for index.sgml.
1189 ("patch by thomasvs, soon coming to a GUADEC near you")
1192 Incremented version number (0.9.0) for new release.
1193 Changed macro that checks for popt, to better detect
1194 obsolete versions of popt.
1197 Added X_LIBS to AC_SUBST, for applications
1198 that call Xlib API directly.
1201 2002-03-07 Bill Haneman <bill.haneman@sun.com>
1204 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
1207 Fix regression caused by hard-coding major
1208 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
1211 * test/test-simple.c (test_editable_text),
1212 (test_test): revert previous change (error was
1213 a regression in gail which is now fixed).
1215 2002-03-04 Michael Meeks <michael@ximian.com>
1217 * test/test-simple.c (test_editable_text),
1218 (test_text): pass G_MAXINT instead of '-1' for
1219 whole string - is this a good thing !?
1221 * cspi/spi_accessible.c
1222 (Accessible_getRelationSet): fix crasher bug
1223 overwriting the end of the array.
1225 * test/test-simple.c (validate_accessible): free,
1226 not g_free returned relation set.
1228 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
1230 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
1231 implemented stateset support
1233 * idl/Accessibility_State.idl: Made necessary changes to
1234 the IDL to support state sets.
1236 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1238 * registryd/deviceeventcontroller.c:
1239 Added implementation for generateMouseEvent.
1241 * cspi/spi_registry.c:
1242 Connected new implementation for generateMouseEvent
1245 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1248 Incremented revision (but no change in public API
1249 outside of 'utils', which are not installed public yet.)
1251 * libspi/component.c:
1252 Changed to use atk_component API for layers and
1253 mdi_zorder, instead of deprecated atk_object API.
1255 Magnification Utility Enhancements:
1258 Added implementation of createZoomRegion, clearAllZoomRegions,
1259 resizeZoomRegion. Added new commandline argument
1260 "--no-initial-region". Note that clearAllZoomRegions doesn't
1261 unmap the old '0' region as it should (yet), and the other
1262 methods only work when creating/resizing a single region,
1263 which is "region 0".
1264 (Code for multiple region support will be added later.)
1267 Now we raise the magnifier window each time it's refreshed;
1268 this will help keep it on top.
1270 * util/mag_client.h:
1271 Added simple wrappers for above, used by mag_control.
1272 For general use, it's recommended to use the bonobo magnifier
1273 control API directly instead of using these wrappers.
1276 Moved ZoomRegionData from magnifier.c to this file.
1278 * util/mag_control.c:
1279 Added some code to exercise new IDL implementations.
1281 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
1283 * libspi/text.c: Provide implementation for getAttributes.
1285 2002-02-04 Bill Haneman <bill.haneman@sun.com>
1288 Incremented revision.
1290 * test/test-simple.c:
1291 Replaced use of deprecated g_main_iteration with
1292 g_main_context_iteration.
1294 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
1297 Incremented revision for desktop alpha 2.
1299 2002-01-28 Mark McLoughlin <mark@skynet.ie>
1301 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
1304 * test/simple-at.c: include netinet/in.h.
1306 2002-01-24 Mark McLoughlin <mark@skynet.ie>
1308 * cspi/spi_accessible.c: (Accessible_getRelationSet):
1309 use NULL, not CORBA_OBJECT_NIL.
1311 * libspi/accessible.c:
1312 (impl_accessibility_accessible_get_relation_set):
1313 allocate the sequence correctly.
1315 * libspi/remoteobject.h: kill spi_remote_object_new.
1317 * test/test-simple.c: (validate_accessible): add code
1318 to test relation sets, now all we need is to figure
1319 out how to excercise this code path :/
1321 2002-01-18 Michael Meeks <michael@ximian.com>
1323 * test/test-simple.c
1324 (key_listener_cb): consume the key.
1325 (test_keylisteners): update.
1326 (main): wait for any pending unrefs on events.
1328 * registryd/deviceeventcontroller.c
1329 (spi_controller_update_key_grabs): only re-issue the
1330 grab on a key release.
1331 (spi_device_event_controller_forward_key_event):
1332 refresh the keygrabs before we notify the listeners,
1333 to reduce the X ungrab / re-grab race.
1334 (spi_controller_register_with_devices): remove
1335 XSelectInput - we do that with the gdk_window_ call.
1336 (_spi_controller_device_error_handler): return a value.
1337 s/GDK_DISPLAY/spi_get_display/
1339 2002-01-17 Michael Meeks <michael@ximian.com>
1341 * registryd/deviceeventcontroller.c
1342 (_deregister_keygrab): don't blow out the later
1345 * test/test-simple.c (test_keylisteners): do a
1346 more intelligent validation.
1348 2002-01-14 Michael Meeks <michael@ximian.com>
1350 * atk-bridge/bridge.c
1351 (gnome_accessibility_module_init),
1352 (gnome_accessibility_module_shutdown): impl.
1353 (gtk_module_init): protect vs. double inits.
1354 (add_signal_listener): impl.
1355 (spi_atk_bridge_state_event_listener): kill
1356 (deregister_application): split out of
1357 (spi_atk_bridge_exit_func): here.
1359 2002-01-18 Bill Haneman <bill.haneman@sun.com>
1362 Added caret tracking when using magnifier, and
1363 now use text bounds for focus tracking of text elements, rather than
1364 the component bounds - this is helpful for short text fields in long
1365 table cells, at high magnification.
1367 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1369 * registryd/deviceeventcontroller.c:
1370 Regression fix for keylistener de-registration; global keygrabs
1371 were not being released when deregisterKeystrokeListener was
1372 called in cspi, since
1373 Accessibility_DeviceEventController_deregisterKeystrokeListener
1374 was called with a zero-length keyset. That is because the cspi
1375 method, SPI_deregisterKeystrokeListener, does not take a keyset
1376 parameter but instead should remove all the key grabs held be a
1378 The code in impl_deregister_keystroke_listener was changed to copy
1379 the keylist from the listener instance previously registered with
1380 the DeviceEventController before releasing the grabs.
1382 * registryd/registry.c:
1383 * registryd/deviceeventcontroller.c:
1384 * libspi/spi-private.h:
1386 Changed spelling of "re-enterant" to "re-entrant" globally.
1388 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1390 * test/test-simple.c:
1391 Changed key listeners test - the test was slightly mis-using the
1392 (admittedly poorly documented) SPI_generateKeyboardEvent API.
1393 It now uses '=' as the key event listened to and generated,
1394 relying on a keysym match rather than assuming that keycode 33
1395 is always equal to keysym '!'.
1397 2002-01-15 Bill Haneman <bill.haneman@sun.com>
1400 Changed simple-at to use a specific keyset, rather than
1401 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
1402 manager, desktop, etc.
1404 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1406 * registryd/deviceeventcontroller.c:
1407 Replaced standard X error handler with a special handler that
1408 is non-fatal for failed keygrabs. This works around
1409 problems with keygrab clashes sometimes observed on
1411 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
1412 mouse handling code as yet).
1414 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1417 Incremented revision for desktop alpha release.
1420 Fixed a couple of the more glaring errors (still not
1423 2002-01-11 Michael Meeks <michael@ximian.com>
1425 * registryd/deviceeventcontroller.c
1426 (spi_device_event_controller_forward_key_event): kill
1427 XUngrabKey / XKeyGrab race.
1428 (spi_controller_grab_keyboard): rename to
1429 (spi_controller_update_key_grabs): this, and deal
1430 with incremental adding / removing grabs more
1432 (_register_keygrab): ensure we're not pending a remove.
1433 (spi_grab_mask_free): impl.
1434 (spi_controller_register_global_keygrabs): split out
1436 (handle_keygrab): impl.
1437 (_deregister_keygrab): impl.
1438 (spi_controller_deregister_global_keygrabs): impl.
1439 (spi_controller_update_key_grabs): re-issue the grab if
1440 we just recieved a notification.
1442 * test/test-simple.c (key_listener_cb): remove debug.
1444 * registryd/deviceeventcontroller.c
1445 (spi_controller_register_device_listener): after
1446 registering a global keygrab, actualy register it !
1447 don't wait for a timeout; doh !
1449 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
1450 to make it more readable / manipulable.
1451 s/grabmask/grab_mask/ s/refcount/ref_count/
1452 s/keyval/key_val/ s/modmask/mod_mask
1454 2002-01-08 Michael Meeks <michael@ximian.com>
1456 * registryd/deviceeventcontroller.c
1457 (spi_controller_register_with_devices): use gdk calls to
1459 (global_filter_fn): implement the filter.
1460 (spi_device_event_controller_check_key_event): rename to
1461 (spi_device_event_controller_forward_key_event): this & upd.
1462 (spi_get_display): replace with GDK_DISPLAY.
1464 * registryd/deviceeventcontroller.c
1465 (spi_controller_deregister_device_listener): unroll into
1466 (impl_deregister_keystroke_listener): here to simplify.
1467 (spi_controller_register_global_keygrabs): split cut and
1468 paste (!) out into (_register_keygrab): here, shorter & sweeter.
1469 (spi_controller_deregister_device_listener): remove.
1470 (impl_register_mouse_listener): remove, no mouse listener
1471 support in at-spi-1.0
1473 * registryd/registry.c
1474 (_device_event_controller_hook): kill.
1475 (spi_registry_init): upd.
1477 * registryd/deviceeventcontroller.c
1478 (spi_device_event_controller_class_init): upd.
1479 (spi_check_key_event): merge into.
1480 (spi_device_event_controller_check_key_event):
1481 here and kill strange static ev init, don't leak
1482 the x_event - nor dynamicaly allocate it.
1484 * registryd/registry-main.c (main): re-direct
1485 timeout to remove strange vtable mess.
1487 * registryd/deviceeventcontroller.c
1488 (remove_listener_cb): impl.
1489 (spi_controller_deregister_device_listener):
1490 fix re-enterancy hazard.
1492 2002-01-07 Michael Meeks <michael@ximian.com>
1494 * registryd/deviceeventcontroller.c
1495 (spi_device_event_controller_new): upd.
1496 (impl_notify_listeners_sync): upd. debug.
1497 (spi_notify_keylisteners): fix re-enterancy hazards,
1498 prettify, remove O(n*n) iteration.
1499 (spi_controller_grab_keyboard): fix iteration.
1500 (spi_check_key_event): re-format to suit coding style.
1501 Clean all the warnings - we're warning free.
1503 * registryd/deviceeventcontroller.h:
1504 * registryd/registry.h: make mutualy referential with
1505 typesafe forward references instead of (!) void pointer
1508 2002-01-11 Michael Meeks <michael@ximian.com>
1510 * cspi/spi_accessible.c (role_names): add a role name
1511 to sync this array with the enum; and make the regression
1514 2002-01-10 Michael Meeks <michael@ximian.com>
1516 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
1517 allow expansion of enumeration & kill warning.
1519 * test/test-simple.c (key_listener_cb): impl.
1520 (test_keylisteners): impl.
1522 * cspi/spi-listener.h: make listener signatures const
1523 on the provided (const) events.
1525 * test/keysynth-demo.c: upd. to const events.
1527 * test/simple-at.c: ditto.
1529 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1532 Rev the version to 0.5 (the previous tarball was named 0.4,
1533 even though the micro number was 3), so we need to rev upwards
1534 again for beta2/"desktop-alpha"
1537 Checked in a demo script, which requires editing before use!
1538 Proceed with caution.
1541 Fixed typo in header which was redefining SPI_ACTION_CLASS.
1543 * cspi/spi_accessible.c:
1544 Add a couple of missing enum initializations, and fix some enum
1547 * cspi/spi_registry.c:
1548 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
1550 * docs/reference/cspi/at-spi-cspi-sections.txt:
1551 Remove/fix a couple of broken document references.
1554 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
1555 as Alt-Control to listen for commands, since on some systems
1556 Control-Alt may already be grabbed.
1558 2002-01-10 Bill Haneman <bill.haneman@sun.com>
1561 Update version number to 0.4 for Beta2.
1563 * libspi/accessible.c, libspi/accessible.h:
1564 Expose spi_accessible_construct, to enable libgail-gnome
1565 construction from spi_accessible subtype.
1567 * utils/magnifier.c:
1568 Workaround for bug in some non-gnome-compliant window managers
1569 which made magnifier resize improperly.
1571 2002-01-09 Bill Haneman <bill.haneman@sun.com>
1573 * libspi/accessible.c: (spi_accessible_new) :
1574 Move the test for SPI_IS_REMOTE_OBJECT to
1575 spi_accessible_new_return, fixing a bug and compile time warning.
1577 2002-01-08 Michael Meeks <michael@ximian.com>
1579 * registryd/registry.c (parse_event_type): remove strndup.
1581 * libspi/Makefile.am (libspi_la_SOURCES): remove
1582 sources already included in the headers section.
1584 * libspi/util.c: add.
1586 * libspi/spi-private.h: add.
1588 * registryd/registry.c: update to moved list iterators.
1590 2002-01-05 Michael Meeks <michael@ximian.com>
1592 * test/simple-at.c (main): upd. auto-module set to atk-bridge
1594 * test/test-simple.c (main): ditto.
1596 2002-01-04 Michael Meeks <michael@ximian.com>
1598 * libspi/accessible.c (spi_accessible_new): remove 2nd,
1599 redundant construct.
1601 * registryd/registry.c
1602 (get_listener_list): impl.
1603 (impl_accessibility_registry_register_global_event_listener):
1604 re-impl. to simplify using ~, remove dodgy const cast off.
1605 (parse_event_type): constify.
1606 (impl_accessibility_registry_deregister_global_event_listener_all):
1607 re-write, more efficiency and simplicity, kill re-enterancy
1609 (compare_listener_corbaref, compare_corba_objects),
1610 (compare_listener_quarks): define out.
1611 (impl_accessibility_registry_deregister_global_event_listener):
1612 re-write for effiency, and nail re-enterancy hazard.
1613 (impl_accessibility_registry_get_desktop_list): impl.
1614 (re_enterant_list_delete_link): impl.
1615 (re_enterant_list_foreach): impl.
1616 (remove_listener_cb): impl.
1617 (_registry_notify_listeners): kill.
1618 (notify_listeners_cb): impl.
1620 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
1621 (SPI_getDesktopList): impl.
1623 * test/test-simple.c (test_desktop): test the methods.
1625 2002-01-03 Michael Meeks <michael@ximian.com>
1627 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
1628 keystrings since we free them
1629 (SPI_freeAccessibleKeySet): in here.
1631 * libspi/accessible.c (spi_accessible_new): kill warning,
1632 wonder what is going on with the constructor here.
1634 2002-03-01 Bill Haneman <bill.haneman@sun.com>
1636 * libspi/accessible.c (spi_accessible_new ()) :
1637 Added check to see if AtkObject is an SpiRemoteObject before
1638 creating an SpiAccessible.
1640 2002-05-01 Bill Haneman <bill.haneman@sun.com>
1642 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
1643 Enable keygrabs using the Control modifier, now that they are
1644 working properly (they were previously disabled).
1647 Change the command keygrab for this demo to "Control+Alt", so as
1648 to conflict with fewer other key commands on the system; this
1649 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
1651 Removed a pointlessly-chatty keylistener for unshifted keys
1652 (shifted keys are still reported).
1654 2002-02-01 Bill Haneman <bill.haneman@sun.com>
1656 * libspi/remoteobject.h:
1657 * libspi/remoteobject.c:
1658 Added definitions for special AtkObject subtype, required for
1659 support of remote components (specifically, used by BonoboControl
1660 accessibility implementation).
1662 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
1664 * cspi/spi.h: synched relation types with ATK
1666 * cspi/spi_accessible.c: Added implementations of
1667 AcccessibleRelation_* methods
1669 * idl/Accessibility_Relation.idl: added getRelationTypeName
1670 method. Synched known relation types with ATK. Allowed for
1671 relation type extension with the RELATION_EXTENDED type.
1673 * libspi/relation.c: Provided implementations for
1674 AccessibleRelation methods.
1676 2002-01-01 Bill Haneman <bill.haneman@sun.com>
1678 API tweaks for today's API 'freeze'.
1681 Added placeholder functions to allow future compatible expansion
1682 of the IDL interfaces.
1684 * idl/Accessibility_Registry.idl:
1685 Changed generateKeyEvent to generateKeyboardEvent. Changed
1686 signature of this method to accept an optional keystring in
1687 parameter (for complex text input synthesis) and changed use of
1688 simple 'boolean' parameter in registerKeystrokeListener to a
1689 struct, EventListenerMode.
1691 * cspi/spi_accessible.c:
1693 * cspi/spi_streamablecontent.c:
1694 Added references to AccessibleStreamableContent interface, and
1695 definition and implementation of AccessibleStreamableContent
1698 * cspi/spi_registry.c:
1700 Changed generateKeyEvent API to generateKeyboardEvent,
1701 taking a new (optional) keystring parameter to support complex
1706 Renamed directory (to better reflect its actual purpose, bridging
1707 from at-spi to ATK). The .so module is also now named
1710 * idl/Accessibility_Hypertext.idl:
1711 * libspi/accessible.c:
1712 * libspi/hypertext.h:
1713 * libspi/hypertext.c:
1714 Changed Accessibility_Hypertext to *not* derive from
1717 * cspi/spi_registry.c:
1718 Added list of legal event type names for 'window' events, which
1719 completes the registry event API.
1721 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
1723 * at-bridge/bridge.c: Added registration for separate
1724 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
1725 signals. If either of the first two parameters to the generic
1726 bridge signal handler are ints, they are passed on as event
1727 details. This allows an AT to determine what text was inserted.
1729 2001-12-21 Bill Haneman <bill.haneman@sun.com>
1731 * registryd/deviceeventcontroller.c:
1732 Fixed regressions in generateKeyEvent caused by the removal of
1733 gdk_init from registryd; we now use pure X calls to connect to the
1734 display, which makes sense because deviceeventcontroller already
1735 uses a fair bit of X API (should eventually be migrated to a
1736 'portability layer').
1738 * registryd/desktop.c:
1739 Fixed minor regression in spi_desktop_init, changed the way the
1740 desktop name is being set to work with new spi_base API
1741 (gobject-based, rather than AtkObject-based).
1743 * registryd/Makefile.am:
1744 Minor revision of makefile to use XTST_LIBS variable rather than
1745 hard-wiring the Xtst LD_ADD element.
1747 * test/keysynth-demo.c:
1748 Tweaked an output message; added initialization of the
1749 'keystrings' member of the "switch listener" key_set.
1751 * libspi/relation.c:
1752 Squashed compile-time warning.
1754 * libspi/accessible.c:
1755 Cosmetic and formatting fixes, renamed a static method.
1757 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
1759 * libspi/accessible.c
1761 * libspi/application.c
1764 * libspi/component.c
1765 * libspi/editabletext.c
1766 * libspi/hyperlink.c
1767 * libspi/hypertext.c
1769 * libspi/selection.c
1773 * registryd/desktop.c:
1774 Changed SpiBase to contain a GObject pointer rather than an AtkObject
1776 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1778 * idl/Accessibility_Registry.idl:
1779 Added boolean member 'is_text' to DeviceEvent. This is for the
1780 use of key events, and helps prevent ambiguity between composed
1781 key strings and keysym names, since both may potentially be
1782 returned in the 'event_string' member.
1784 * at-bridge/bridge.c:
1785 * registryd/deviceeventcontroller.c:
1786 Use the 'is_text' member when notifying device event listeners.
1787 Knon issue: composed characters are not dealt with correctly by
1788 the global key listener implementation yet.
1790 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1792 * at-bridge/bridge.c:
1793 Namespaced local static methods to spi_atk_bridge_* where
1794 previously named bridge_*, and spi_* elsewhere.
1796 * at-bridge/bridge.c:
1797 * cspi/bonobo/cspi-bonobo-listener.c:
1798 Added demarshalling/conversion for string member of
1799 Accessibility_DeviceEvent to AccessibleKeystroke.
1801 * registryd/deviceeventcontroller.c:
1802 Added code to fill the Accessibility_DeviceEvent key string value
1803 member for global key events (i.e. from XGrabKey), to match
1804 behavior of Accessibility_DeviceEvent from the toolkit key events
1805 from the bridge. Fixed timestamp in global key event notifications.
1808 Added printout of key event's string value to
1809 report_ordinary_key_event, for demo/debugging purposes.
1811 2001-12-15 Bill Haneman <bill.haneman@sun.com>
1813 * idl/Accessibility_Registry.idl:
1814 Removed Accessibility_KeyStroke structure in favor of generic
1815 Accessibility_DeviceEvent structure.
1816 Changed Accessibility_ControllerEventMask from a struct to an
1819 * at-bridge/bridge.c:
1820 Changed APIs to use DeviceEvent structure as above, and removed
1821 bogus casting between these event structures.
1823 * cspi/spi-listener.h:
1824 Added keystring member of AccessibleKeystroke structure, to enable
1825 matching on event "names" rather than only hardware codes and
1829 Added keystrings member of AccessibleKeySet struct, to allow
1830 matching on event names (as above).
1831 Added declarations for SPI_createAccessibleKeySet and
1832 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
1833 event modmasks directly as unsigned ints rather than structs with
1834 refcounts, in the DeviceEventController methods.
1836 * cspi/spi_registry.c:
1837 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
1839 * cspi/spi-roletypes.h:
1840 Added documentation of newly added SPI Roles.
1842 * cspi/bonobo/cspi-bonobo-listener.c:
1843 Changes in support of API changes above.
1845 * libspi/accessible.c:
1846 Converted APIs to use DeviceEvent structure (see IDL changes
1849 * registryd/deviceeventcontroller.c:
1850 Added DEControllerGrabMask structure to track keygrabs not only by
1851 modmask but by keyset as well; this allows us to do "global"
1852 (i.e. X) keygrabs on a per-key or keyset basis rather than always
1853 grabbing on AnyKey and then filtering after-the-fact.
1854 Bugfixes for event filtration mean that we don't get false matches
1855 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
1857 * registryd/deviceeventcontroller.c:
1858 Namespaced a number of static methods to use spi_ prefix. Major
1859 revision to internals of global (i.e. X) key grabs.
1861 * registryd/deviceeventcontroller.h:
1862 Removed keymask_list and added keygrabs_list to
1863 SpiDeviceEventController struct.
1866 Added use of SPI_createAccessibleKeySet API when creating a
1867 listener for only one key. Attach a listener to "shift spacebar
1868 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
1869 X key event names to SPI key event names, so that listeners are
1870 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
1872 * test/keysynth-demo.c:
1873 Changed (incorrect) use of X key event names (KeyPressed,
1874 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
1877 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1879 * libspi/accessible.c:
1880 Convert all AtkRole enumerations to Accessibility_Role enums when
1881 getting a role from an AtkObject.
1883 * cspi/spi_accessible.c:
1884 Complete the conversion of Accessibility_Role enums at runtime to
1885 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
1886 role enums correctly match those given in spi-roletypes.h.
1887 Re-synchronize the local names list for AccessibleRole_getName ().
1888 AccessibleRole_getName is now deprecated, since it duplicates the
1889 more reliable Accessible_getRoleName.
1890 Added some role types from Accessibility_Role.idl.
1892 * idl/Accessibility_Role.idl:
1893 Added some role types used by AtkRole.
1895 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1898 * cspi/spi_registry.c:
1900 * cspi/cspi-bonobo-listener.c:
1901 Namespaced all methods that did not begin with an "SPI_" or
1902 "Accessible" prefix to "SPI_".
1905 Homogenized internal function namespace to "cspi_" for statics.
1908 Patched tests to use the new CSPI API.
1910 * docs/reference/cspi/at-spi-cspi-sections.txt:
1911 Updated docs to reflect namespace changes, and added a number of
1912 methods to the documentation.
1914 * registryd/registry.c:
1915 Changed use of strings and string hashes in listener event
1916 matching and parse_event_string to use GQuark, which is guaranteed
1919 * registryd/registry.h:
1920 Squashed annoying warning.
1922 * idl/Accessibility_Role.idl:
1923 Extended range of available Accessibility_Role values.
1925 * cspi/spi_accessible.c:
1926 Re-ordered role names.
1928 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1930 * idl/Accessibility_Value.idl:
1931 Revert use of union back to CORBA_double, since the double type is
1932 more efficient and can contain the other types without loss of
1935 * idl/Accessibility_Accessible.idl:
1936 Added method Accessibility:Accessible:getRoleName, to complement
1937 Accessibility:Accessible:getRole.
1939 * cspi/spi_accessible.c:
1941 Added C binding for above, Accessible_getRoleName (), and changed
1942 signature of Accessible_getRole () to return an AccessibleRole.
1944 * cspi/spi-roletypes.h:
1945 Changed AccessibleRole_getName to return a char * instead of a
1946 const char *. This method is now at least temporarily deprecated
1947 in favor of asking Accessibles for their RoleNames directly.
1950 Revert to match Accessibility_Value.idl;
1954 Change signature of AccessibleValue methods to use double rather
1958 * cspi/spi_accessible.c:
1959 Changed Accessible_getRole to return an AccessibleRole enum rather
1960 than a UTF-8 string. The UTF-8 string can still be obtained via
1961 AccessibleRole_getName ().
1963 * test/test-simple.c:
1964 Add test_action. Small fixup to match API change to Accessible_getRole.
1967 Bugfix for get_action_from_servant ().
1969 2001-12-11 Michael Meeks <michael@ximian.com>
1971 * libspi/libspi.h: remove registry.h and
1972 desktop.h, deviceeventcontroller.h
1974 * libspi/Makefile.am: remove registry.[ch],
1975 desktop.[ch], deviceeventcontroller.[ch]
1977 * registryd/Makefile.am: add registry.[ch],
1978 desktop.[ch], rename registryd.c to registry-main.c.
1979 add deviceeventcontroller.[ch]
1981 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1984 Replace setenv() call with putenv ().
1986 * libspi/component.c:
1987 Bugfix in AccessibleComponent_getExtents (),
1990 2001-12-11 Michael Meeks <michael@ximian.com>
1992 * libspi/image.c (impl_getImageExtents): impl.
1993 (spi_image_class_init): upd.
1996 (AccessibleImage_getImageDescription): fix daft bug
1999 * test/test-simple.c (global_listener_cb): update
2000 to only quit if not --poke
2001 (main): catch --poke.
2002 (validate_accessible): upd. dumping, call test_image
2005 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
2008 * idl/Accessibility.idl: update all IDL includes.
2010 * idl/*.idl - rename to namespace - this sucks, blame
2011 mjs' bad decision for oafd.
2013 * test/test-simple.c (create_test_window): add more tests.
2014 (create_tree): split this out.
2015 (validate_accessible): bugfix.
2017 2001-12-11 Michael Meeks <michael@ximian.com>
2019 * cspi/bonobo/cspi-bonobo-listener.c:
2020 (cspi_kestroke_listener_unref),
2021 (cspi_event_listener_unref): impl. undoing previous
2022 homenous environment - for Bill.
2024 * cspi/spi_table.c (long_seq_to_array): use
2027 * cspi/spi_main.c: split out all bonoboish bits into
2030 * cspi/spi-impl.h: upd. typedefs.
2032 * cspi/spi_registry.c: update to lowlevel API,
2033 return booleans to indicate success in some places.
2035 * cspi/spi_event.c: update to lowlevel API.
2037 * cspi/bonobo/Makefile.am: add.
2039 * cspi/bonobo/cspi-lowlevel.h: add
2041 * cspi/bonobo/cspi-bonobo.c: add
2043 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
2045 * cspi/Makefile.am: remove spi-listener-impl.[ch],
2046 (SUBDIRS): add bonobo, link in the libs.
2048 * cspi/spi-util.c: kill this file.
2050 * TODO: merge in my bits.
2052 2001-12-11 Michael Meeks <michael@ximian.com>
2054 * test/test-simple.c (test_value, test_table, main):
2055 remove unused variables causing warnings.
2057 * configure.in: cleanup checks - require gail.
2059 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2062 Changed Value interface to use SValue (scalars) rather than
2063 assuming all values are floats. This allows floats, doubles,
2064 longs, shorts, and unsigned values to be manipulated.
2065 Introduced Accessibility:SValue union.
2068 Updated to use new API above, and to work correctly with GValues
2069 of different types in AtkValue.
2072 Updated to use new API above. cspi's API is as yet unchanged.
2075 Updated the Value revision action item.
2077 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2079 * test/test-simple.c:
2080 Added test_table (GtkTreeView widget in test window to follow).
2081 Un-commented test_value, added GtkRange widget.
2082 Added GtkTreeView widget with GtkListStore. It passes regression
2083 test but leaks one SPI object for some reason.
2086 Fixed bug in impl__set_currentValue.
2088 2001-12-10 Michael Meeks <michael@ximian.com>
2090 * cspi/spi_text.c: audit for exception handling,
2091 tolerating NULL object references safely etc.
2093 * cspi/spi_value.c: ditto.
2095 * cspi/spi_table.c (AccessibleTable_getSummary),
2096 (AccessibleTable_getAccessibleAt),
2097 (AccessibleTable_getRowHeader),
2098 (AccessibleTable_getColumnHeader),
2099 (AccessibleTable_getCaption): fix bugs hidden by
2101 (long_seq_to_array): impl.
2102 (AccessibleTable_getSelectedRows),
2103 (AccessibleTable_getSelectedColumns): use it.
2105 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2108 Added a TODO list (rough and short for now).
2110 * cspi/spi_hyperlink.c:
2111 * cspi/spi_hypertext.c:
2112 Fixed macro name typos, and remove use of obsolete macro in
2113 AccessibleHyperlink_getLink.
2115 * cspi/spi_action.c:
2116 * cspi/spi_accessible.c:
2117 * cspi/spi_application.c:
2118 * cspi/spi_component.c:
2119 * cspi/spi_selection.c:
2122 Documentation fixes (removed return values from ref/unref methods).
2124 2001-12-10 Michael Meeks <michael@ximian.com>
2126 * cspi/spi_action.c: audit for exception handling,
2127 tolerating NULL object references safely etc.
2129 * cspi/spi_accessible.c: ditto.
2131 * cspi/spi_component.c: ditto.
2133 * cspi/spi_editabletext.c: ditto.
2135 * cspi/spi_hyperlink.c: ditto.
2137 * cspi/spi_hypertext.c: ditto.
2139 * cspi/spi_image.c: ditto.
2141 * cspi/spi_selection.c: ditto.
2143 2001-12-10 Michael Meeks <michael@ximian.com>
2145 * configure.in: use cspi/libspi.pc.in instead.
2147 * Makefile.am (pkgconfig_DATA): upd. to match.
2149 * test/simple-at.c (report_focus_event): kill hacks around
2150 bad return values, use putenv not setenv
2152 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
2153 fire ChildGone - I killed it.
2155 * libspi/component.c
2156 (impl_accessibility_component_get_extents): remove
2159 * idl/Accessible.idl: kill ChildGone exception.
2161 * cspi/*.[ch]: kill int return from ref / unref.
2163 * cspi/spi_main.c (cspi_object_add_check): fold into
2164 (cspi_object_add): here.
2166 * cspi/spi_component.c (AccessibleComponent_getExtents):
2167 handle exceptions elegantly.
2169 * cspi/spi-private.h (cspi_check_ev_return),
2170 (cspi_return_if_fail): impl.
2172 * cspi/spi_accessible.c: use extensively.
2173 (AccessibleStateSet_equals): add direct compare check.
2175 * cspi/spi_selection.c: tolerate NULL objs, and check
2176 exceptions before return.
2178 * cspi/spi-util.c (cspi_warn_ev): rename to
2179 (cspi_check_ev): this & don't pass ev in; no point.
2181 2001-12-10 Michael Meeks <michael@ximian.com>
2183 * test/test-simple.c: use putenv not setenv
2184 (get_environment_vars): more chatty if you're not using
2187 * test/simple-at.c: do the setenv so more people see the
2190 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2192 * libspi/registry.c:
2193 Changed check of CORBA_environment on notification to be a warning
2194 instead of an error for the moment, since we can recover from this
2195 error when caused by a queued notification from a dead app.
2198 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
2199 used by all current implementors of AtkValue), and coerce to
2200 CORBA_float. (Proper general case fix may require change to Value.idl).
2202 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2206 * cspi/spi_accessible.c:
2207 Documentation fixes: added user_data params to documentation for
2208 listeners and callbacks.
2210 * cspi/spi_accessible.c:
2211 Changed AccessibleStateSet_compare to return a
2212 StateSet rather than return the difference set into a third parameter.
2215 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2218 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
2219 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
2223 Remove subdirectory po from SUBDIRS for now.
2225 * at-bridge/bridge.c:
2226 Beefed up a couple of debug printouts.
2227 One-line fix for signal notification name formatting.
2229 * libspi/accessible.c:
2230 Added assertion to spi_accessible_new ().
2232 * libspi/application.c:
2233 Put #ifdef qualifiers around a printf.
2236 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
2238 * registryd/Makefile.am:
2240 Replaces use of XML_I18N_MERGE_SERVER_RULE with
2241 INTLTOOL_SERVER_RULE macro.
2244 Added an event listener for several ATK signals, for
2245 testing and debugging. Removed a few g_warnings.
2246 Added test output if focussed item implements the Value interface.
2248 * test/test-simple.c:
2249 Added test_value () function (known not to pass at the moment, so
2250 not actually called yet.
2252 2001-12-08 Michael Meeks <michael@ximian.com>
2254 * at-bridge/bridge.c (bridge_focus_tracker),
2255 (emit_eventv): fix the same ref. leak.
2256 (register_atk_event_listeners): don't leak.
2258 * cspi/spi-listener-impl.c (cspi_event): more
2259 protection from client code.
2261 * test/test-simple.c (test_desktop): unref the app.
2263 * test/Makefile.am: upd. TESTS.
2265 * at-bridge/bridge.c (bridge_exit_func): release the registry.
2267 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
2269 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
2271 * cspi/spi_registry.c: constify in strings.
2272 (deregisterGlobalEventListenerAll): don't release the ref.
2274 * cspi/spi.h: start removing redundant / conflicting
2275 gtkdoc comments, making the API readable at a glance :-)
2277 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
2279 * test/keysynth-demo.c (keysynth_exit, main): upd.
2281 * test/simple-at.c (main, simple_at_exit): upd.
2283 * test/test-simple.c (unutterable_horror): kill.
2284 (utterable_normal_derefs): kill.
2285 (main): upd & do a setenv before gtk_init, so that we
2286 can use memprof - and to save the pain of remembering
2287 this, if we're running under memprof - don't exit.
2289 * cspi/spi_main.c (SPI_exit): return exit status
2291 (SPI_event_quit): impl.
2292 (SPI_event_main): simplify.
2293 (cspi_is_gnome_app): kill.
2294 (SPI_init): kill isGNOMEapp arg.
2296 * at-bridge/bridge.c (register_atk_event_listeners):
2297 re-instate the unref.
2298 (bridge_exit_func): don't re-activate the registry,
2299 protect vs. theoretical re-entry, use the
2300 AT_BRIDGE_SHUTDOWN env. var to determine whether to
2301 assert a clean shutdown - for regression tests.
2303 2001-12-08 Abel Cheung <maddog@linux.org.hk>
2305 * configure.in: Comment out dummy i18n support for now,
2306 otherwise it fails to build.
2307 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
2308 EXTRA_DIST. They are missing in tarball.
2310 2001-12-07 Michael Meeks <michael@ximian.com>
2312 * util/magnifier.c: kill bonobo activation reg. race.
2314 * libspi/component.c
2315 (impl_accessibility_component_get_extents): make it match
2318 * libspi/registry.c (_registry_notify_listeners):
2319 re-remove X headers & reconcile conflicts.
2320 (spi_listener_struct_free): bad conflict resolve.
2321 (impl_accessibility_registry_register_application):
2322 more bad merging fixed.
2323 (impl_accessibility_registry_deregister_application): ditto.
2324 (spi_registry_new): ditto.
2325 (spi_registry_init): don't have an applications field.
2327 [ merge fixups2 branch to here ]
2328 2001-12-07 Michael Meeks <michael@ximian.com>
2330 * test/simple-at.c (report_focus_event),
2331 (report_focussed_accessible): remove g_warning debug.
2333 2001-12-07 Michael Meeks <michael@ximian.com>
2335 * test/test-simple.c (validate_tree): comment out some checks.
2336 (test_desktop): app now not registered idly - horay.
2338 2001-12-07 Michael Meeks <michael@ximian.com>
2340 * cspi/spi_registry.c
2341 (registerAccessibleKeystrokeListener): clean, stop it leaking
2342 great swathes of memory, and device event controller references.
2343 ensure we always pass valid sequences.
2344 (deregisterAccessibleKeystrokeListener): ditto.
2345 (generateKeyEvent): upd.
2347 * at-bridge/bridge.c (bridge_key_listener): handle
2348 registry dead exception gracefully.
2349 (bridge_focus_tracker, emit_eventv): free ev.
2351 * test/simple-at.c (report_focus_event): fix polarity.
2353 * libspi/application.c (notify_listeners): kill the ev
2354 argument, and make sure we init the ev we use.
2355 (spi_application_object_event_listener): split out a chunk
2356 (get_atk_object_ref): here & fixup.
2357 (reverse_lookup_name_for_toolkit_event): make const.
2358 (spi_application_toolkit_event_listener): fixup, kill leaks
2361 * at-bridge/bridge.c (register_atk_event_listeners):
2362 don't unref the noop object - causes grief.
2364 * libspi/registry.c: remove the X headers.
2365 turn off the debug churn.
2367 * libspi/accessible.c (spi_accessible_new_return): only
2368 release the ref if we are supposed to [doh]
2370 * test/simple-at.c (report_button_press, report_focus_event):
2371 guard vs. unexpected exit.
2373 * at-bridge/bridge.c (gtk_module_init): prune printf.
2374 (bridge_exit_func): fix app unref.
2376 * libspi/Makefile.am: don't install registry or desktop.h
2378 * libspi/*.h: update includes.
2380 * libspi/application.h: don't include ourself, or
2381 other redundant headers.
2383 2001-12-06 Michael Meeks <michael@ximian.com>
2385 * libspi/accessible.c
2386 (get_accessible_from_servant): impl.
2387 Upd. all CORBA impl.s to use it killing cut and paste.
2389 * cspi/spi_main.c (cspi_cleanup): guard vs. double
2391 (SPI_init): register atexit cleanup handler here.
2393 2001-12-06 Michael Meeks <michael@ximian.com>
2395 * at-bridge/bridge.c (gtk_module_init): g_error on
2396 activation exception
2398 2001-12-06 Michael Meeks <michael@ximian.com>
2400 * at-bridge/bridge.c (gtk_module_init): some sort of
2401 confusing merge clash - reverted.
2402 (bridge_idle_init): ditto.
2404 * test/test-simple.c (main, utterable_normal_derefs):
2405 merge from Bill - somehow not committed.
2407 2001-12-06 Michael Meeks <michael@ximian.com>
2409 * libspi/value.c (spi_value_class_init): upd.
2410 (spi_value_finalize): kill.
2412 * libspi/table.c (spi_table_finalize): kill.
2413 (spi_table_interface_new): upd.
2414 (spi_table_class_init): upd.
2415 (get_table_from_servant): impl.
2416 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2418 * libspi/selection.c (spi_selection_finalize): kill.
2419 (spi_selection_interface_new): upd.
2420 (spi_selection_class_init): upd.
2421 (get_selection_from_servant): impl.
2422 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2424 * libspi/relation.c (spi_relation_finalize): kill.
2425 (spi_relation_class_init, spi_relation_new): upd
2427 * libspi/image.c (spi_image_finalize): kill.
2428 (spi_image_class_init): upd.
2429 (spi_image_interface_new): upd.
2430 (get_image_from_servant): impl.
2431 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2433 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
2434 (spi_hyperlink_finalize): kill.
2435 (spi_hyperlink_new): upd.
2436 (get_hyperlink_from_servant): impl.
2437 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2439 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
2440 (spi_hypertext_finalize): kill.
2441 (spi_hypertext_class_init): upd.
2442 (get_hypertext_from_servant): impl.
2443 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2445 * libspi/editabletext.c (spi_editable_text_finalize): kill.
2446 (spi_editable_text_interface_new): upd.
2447 (get_editable_text_from_servant): impl.
2448 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2450 * libspi/text.c (get_text_from_servant): impl.
2451 All impls - update to use it killing more cut and paste,
2452 also fix bad string returns on duff args ( a somewhat
2453 impossible case to handle - but hey ).
2454 (spi_text_construct): impl.
2455 (spi_text_interface_new): upd.
2456 (spi_text_object_finalize): kill.
2458 * libspi/component.c
2459 (accessibility_component_object_finalize): kill.
2460 (spi_component_class_init): upd.
2461 (get_component_from_servant): impl. helper to kill cut & paste.
2462 (impl_accessibility_component_contains):
2463 (impl_accessibility_component_get_accessible_at_point):
2464 (impl_accessibility_component_get_position):
2465 (impl_accessibility_component_get_extents):
2466 (impl_accessibility_component_get_mdi_z_order):
2467 (impl_accessibility_component_get_layer):
2468 (spi_component_interface_new): upd.
2470 * libspi/action.c (spi_action_finalize): kill.
2471 (spi_action_class_init): upd. inherit from SpiObject.
2472 (spi_action_interface_new): upd.
2473 (get_action_from_servant): impl. helper to reduce cut & paste.
2474 (impl_getKeyBinding, impl_getName, impl_doAction),
2475 (impl_getDescription): Use it everywhere.
2477 * cspi/spi_main.c (get_live_refs): a pointer hash.
2478 (spi_object_hash, spi_object_equal): comment out.
2479 There are issues with CORBA object hashing that need
2482 * libspi/application.c (spi_application_init),
2483 (spi_application_new): upd.
2485 * libspi/accessible.c (spi_accessible_object_finalize): kill.
2486 (spi_accessible_class_init): upd.
2487 s/accessible/object/ in epv methods.
2489 2001-12-05 Bill Haneman <bill.haneman@sun.com>
2491 * at-bridge/bridge.c:
2492 Reorder the bridge initialization into the bridge gtk_module_init,
2493 an immediate call to bridge_register_app, and an idle_add for
2494 register_atk_event_listeners (the only code that *must* wait until
2495 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
2496 the activation, creates the application's Accessible object, and
2497 queues the bridge_idle_init function. Restored call to
2498 Accessibility_Registry_deregisterApplication().
2499 Prior to making this call we obtain a new reference to the
2500 registry, which is a temporary hack that helps us handle apps that
2501 shut down the bonobo mainloop before we get there.
2503 * libspi/registry.c:
2504 Fix string leakage in debug block, and don't segv if a an app
2505 dies before its event notifications have been propagated.
2508 Modify cspi_check_ev() to call g_warning() rather than g_error(),
2509 as stopgap measure until we get proper exception handling when
2510 objects die during or before interrogation.
2514 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
2515 Also changed default value of is_gnome_app to TRUE.
2518 * test/keysynth-demo.c:
2519 Changed use of SPI_init and SPI_event_main to reflect API change above.
2522 Made report_focus_event check the warning value from getName
2523 before reporting on focussed accessible; simplifies handling of
2524 notifications from dead objects.
2526 * test/test-simple.c: (Changes not in this patch since source is
2529 2001-12-05 Michael Meeks <michael@ximian.com>
2531 * registryd/registryd.c (main): protect against
2532 bonobo-activation startup race condition.
2534 * cspi/spi_main.c (cspi_object_add_check): cope
2535 with the exception elegantly.
2537 * idl/Accessible.idl: decl. ChildGone
2539 * libspi/desktop.c (spi_desktop_dispose): impl.
2540 (spi_desktop_class_init): upd.
2541 (spi_desktop_add_application),
2542 (spi_desktop_remove_application),
2543 (abnormal_application_termination): impl.
2544 (impl_desktop_get_child_at_index): re-impl.
2547 (impl_accessibility_registry_deregister_application),
2548 (impl_accessibility_registry_register_application):
2549 kill excessive debug clutter.
2551 * test/test-simple.c (test_misc): test some NULL
2552 tolerance. (main): upd.
2554 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
2555 implements no interfaces - so let's not crash.
2557 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
2559 * libspi/accessible.c (spi_accessible_new_return): impl.
2560 helper to calm the cut and paste, to cope with
2561 NULL AtkObjects effectively and efficiently, and to kill
2562 the referencing bugs.
2564 * libspi/table.c (impl_getAccessibleAt),
2565 (impl_getRowHeader, impl_getColumnHeader): upd.
2567 * libspi/hyperlink.c (impl_getObject): upd.
2569 * libspi/accessible.c
2570 (impl_accessibility_accessible_get_child_at_index): upd.
2572 * libspi/component.c
2573 (impl_accessibility_component_get_accessible_at_point): upd.
2575 * test/test-simple.c (test_editable_text, test_text): impl.
2578 * cspi/spi_editabletext.c
2579 (AccessibleEditableText_insertText): constify.
2581 * test/test-simple.c (focus_me): make more robust.
2583 * libspi/accessible.c: remove some printfs in methods that
2584 we test and work fine, so we can get a clean tree dump.
2586 * test/test-simple.c (validate_accessible),
2587 (validate_tree): make tree dumping pretty too.
2589 * at-bridge/bridge.c (bridge_signal_listener): upd. so
2590 it builds without debug on.
2592 * test/test-simple.c (validate_accessible): fix the most
2595 * cspi/spi_main.c (spi_object_release): leave the nicely
2596 blanked memory around if in debug mode.
2598 * cspi/spi-listener-impl.c (cspi_event): use add_check.
2600 [committed to fixups2]
2601 2001-12-05 Michael Meeks <michael@ximian.com>
2603 * libspi/editabletext.c
2604 (spi_editable_text_class_init): g_type_class_peek_parent,
2605 not interface peek - so we finalize cleanly.
2607 * libspi/accessible.c (spi_accessible_new): kill debug.
2609 * test/test-simple.c (validate_accessible): fix ref.
2610 leak, print strings before freeing them; sigh, comment a
2611 chunk out due to strangeness.
2612 (validate_tree): unref the child after use.
2614 * cspi/spi_component.c (AccessibleComponent_getLayer):
2615 add missing break statement, switch on zlayer not the
2616 uninitialized retval.
2618 * cspi/spi_main.c (cspi_object_add): add assert, local ref
2619 before (possibly re-entering) remote unref.
2621 * test/simple-at.c (main): unref the desktop.
2623 * cspi/spi_accessible.c (cspi_accessible_is_a): move
2626 * cspi/spi_main.c (cspi_accessible_is_a): here to
2627 isolate bonobo API usage more.
2629 * libspi/registry.c (impl_accessibility_registry_register_application):
2630 prune bogus comment.
2632 2001-12-04 Michael Meeks <michael@ximian.com>
2634 * test/test-simple.c (validate_tree): upd.
2635 IndexInParent check to make it more lucid.
2636 (validate_accessible): dump the tree.
2638 * libspi/accessible.c (de_register_public_ref),
2639 (get_public_refs): impl.
2640 (spi_accessible_new): make more efficient & intuitive.
2641 Now IndexInParent check works.
2643 2001-12-04 Michael Meeks <michael@ximian.com>
2645 * cspi/spi-util.h: remove.
2647 * cspi/spi.h: move SPI_freeString here
2649 * libspi/component.c (impl_accessibility_component_get_layer):
2651 (impl_accessibility_component_get_mdi_z_order): ditto,
2652 return -1 on error - is this ok ?
2654 * test/test-simple.c (test_application): impl.
2656 * cspi/spi_accessible.c (Accessible_getApplication),
2657 (Accessible_isApplication): impl.
2659 * libspi/registry.c (spi_listener_struct_free): release
2660 the CORBA reference too.
2662 * libspi/accessible.c
2663 (impl_accessibility_accessible_get_parent): fix ref leak.
2665 * libspi/registry.c (spi_registry_new): make the registry
2666 immortal - we don't want it to go away ever.
2668 * libspi/application.c
2669 (spi_accessible_application_finalize): impl. cleanup.
2671 * cspi/spi_registry.c
2672 (deregisterGlobalEventListenerAll),
2673 (deregisterGlobalEventListener),
2674 (deregisterAccessibleKeystrokeListener): fix ref leak.
2676 * cspi/spi_main.c (SPI_init): remove redundant ref.
2678 * test/test-simple.c (unutterable_horror): impl. to force a
2683 (impl_accessibility_registry_deregister_application): release
2684 the application when we de-register it.
2686 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
2687 until we have the infastructure to get it right.
2689 2001-12-03 Michael Meeks <michael@ximian.com>
2691 * libspi/Makefile.am: only build eventlistener.[ch]
2693 * libspi/accessible.c
2694 (impl_accessibility_accessible_get_child_at_index): don't leak.
2696 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
2697 before we hit the idle handler.
2699 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
2700 debugging than exit.
2702 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
2704 * libspi/listener.c (impl_notify_event): check source
2705 not NIL before unref.
2707 * libspi/registry.c (impl_registry_notify_event): ditto.
2709 * libspi/eventlistener.c
2710 (impl_accessible_event_notify_event): unref the source.
2712 * libspi/accessibleeventlistener.c
2713 (impl_accessible_event_notify_event): unref the source.
2715 * idl/Event.idl: remove 'hash_id' attribute - of no
2718 * libspi/application.c (notify_listeners): upd list
2720 (spi_application_object_event_listener),
2721 (spi_application_toolkit_event_listener): upd to do correct
2725 (_registry_notify_listeners): update.
2726 (parse_event_type): this method also leaks like a sieve.
2727 (impl_accessibility_registry_deregister_global_event_listener):
2728 fix ETYPE_WINDOW case.
2730 * libspi/application.c
2731 (impl_accessibility_application_register_object_event_listener):
2734 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
2736 * libspi/hypertext.c (impl_getLink): ditto.
2738 * cspi/spi_main.c (cspi_object_add): remove
2739 bogus CORBA_Object_duplicate.
2741 * cspi/spi-listener-impl.c (cspi_event): dup/ref
2744 * cspi/spi_accessible.c
2745 (Accessible_getRelationSet): fix leak / referencing issue.
2747 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
2748 (cspi_object_add, cspi_object_unref): upd.
2749 (spi_object_release, get_live_refs): impl.
2750 (cspi_cleanup): simplify.
2752 * *.[ch]: s/boolean/SpiBoolean/
2754 * cspi/spi_accessible.c (role_names): actualy order so it
2755 corresponds with the enum !
2757 * test/test-simple.c (test_roles): check some role strings
2758 vs. enums to detect offset errors.
2760 2001-12-01 Michael Meeks <michael@ximian.com>
2762 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
2764 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
2766 (Accessible_getChildAtIndex): use cspi_add_check so we
2767 check the ev before using a (possibly) invalid value.
2769 * libspi/accessible.c
2770 (impl_accessibility_accessible_get_parent): don't segv
2773 * at-bridge/bridge.c (gtk_module_init): upd.
2774 (bridge_property_event_listener): don't leak strings
2776 (bridge_state_event_listener),
2777 (bridge_property_event_listener): don't use a static
2778 buffer in case of recursive event emission &
2779 re-enterancy - split out the swathe of cut and paste
2781 (emit_eventv): and fix 2 ref leaks here & comply to the
2783 (bridge_register_app): rename to
2784 (bridge_idle_init): this and kill arg parsing, split
2785 various inits & bonobo-activation registration to module
2786 init time, kill referencing error.
2787 (bridge_exit_func): fix the same leak.
2788 (bridge_focus_tracker): don't leak event structures
2790 (bridge_signal_listener): more leakage and cut & paste
2792 (bridge_key_listener): return the result - FIXME is
2793 this polarity correct ?
2794 (accessibility_keystroke_from_atk_key_event): rename
2795 (accessibility_init_keystroke_from_atk_key_event): and stop
2797 (gtk_module_init): return a value - not that it is checked by
2799 (bridge_key_listener): register my horror at casting between
2800 IDL defined structs.
2801 (bridge_get_registry): kill - not used.
2803 * cspi/spi_accessible.c (Accessible_getRole): make return const.
2805 * test/test-simple.c (test_roles): impl.
2806 (test_desktop, validate_accessible, validate_tree): impl.
2808 * cspi/spi_accessible.c (role_names): fixup bogus
2809 MAX_ROLES setup, make constants const for efficient linkage
2810 (AccessibleRole_getName): conform to coding style, make
2813 2001-11-30 Michael Meeks <michael@ximian.com>
2815 * cspi/spi.h: add missing prototype.
2817 * libspi/registry.c (spi_listener_struct_new): fix sig.
2819 * test/Makefile.am: add test-simple
2821 * test/test-simple.c: add
2823 * test/test.sh: add.
2825 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
2827 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
2828 do it straight - since otherwise we often get an activation race.
2830 [ work before Bill duplicated a chunk of it ... ]
2831 2001-11-30 Michael Meeks <michael@ximian.com>
2833 * libspi/keystrokelistener.c
2834 (spi_keystroke_listener_class_init): fixup arg
2837 * libspi/eventlistener.c
2838 (spi_event_listener_class_init): ditto.
2840 * tests/test.sh: add.
2842 * cspi/spi-listener-impl.h: update macros.
2844 * cspi/spi-listener-impl.c
2845 (cspi_event_listener_remove_callback): add
2846 correct pre-conditions.
2848 * cspi/spi_main.c (SPI_exit): guard vs. double
2849 exits, exit the mainloop nicely.
2850 (SPI_event_main): make more sense.
2851 (SPI_init): move the atexit evilness here so we
2852 always do it (yuck).
2853 (SPI_event_main): upd.
2855 * test/simple-at.c: update for listener changes.
2857 * registryd/registryd.c (main): prune kruft.
2859 * libspi/libspi.h: upd.
2861 * libspi/eventlistener.[ch]: rename broken macros.
2863 * libspi/accessibleeventlistener.[ch]: remove.
2865 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
2867 * test/test-simple.c: Add - automated tests.
2869 * cspi/spi-listener-impl.c (cspi_event),
2870 (cspi_key_event): add user_data to invoke.
2871 (cspi_keystroke_listener_finalize): impl.
2872 (cspi_keystroke_listener_class_init): upd.
2875 (createAccessibleEventListener),
2876 (AccessibleEventListener_addCallback),
2877 (createAccessibleKeystrokeListener),
2878 (AccessibleKeystrokeListener_addCallback): upd.
2880 * libspi/deviceeventcontroller.c
2881 (spi_device_event_controller_check_key_event): add public proto.
2884 (impl_accessibility_registry_deregister_global_event_listener):
2885 always init listeners.
2886 (_registry_notify_listeners): yes it is.
2888 * cspi/spi-listener-impl.c (cspi_key_event):
2890 (cspi_event_listener_finalize): impl.
2891 (cspi_event_listener_class_init): hook up.
2892 (event_handler_new, event_handler_free),
2893 (event_list_remove_by_callback): impl.
2894 (cspi_event_listener_remove_callback),
2895 (cspi_keystroke_listener_remove_callback),
2896 (cspi_keystroke_listener_add_callback),
2897 (cspi_event_listener_add_callback): upd.
2899 * libspi/keystrokelistener.c
2900 (keystroke_listener_object_finalize): kill
2901 (spi_keystroke_listener_class_init): upd.
2902 (spi_keystroke_listener_add_callback),
2903 (spi_keystroke_listener_remove_callback): kill,
2905 (impl_key_event): prune drasticaly.
2907 * libspi/eventlistener.c
2908 (spi_event_listener_add_callback),
2909 (spi_event_listener_remove_callback): kill, use
2911 (impl_accessible_event_notify_event): upd.
2912 (spi_event_listener_object_finalize): remove.
2914 * libspi/Makefile.am: use eventlistener.[ch]
2916 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2918 * libspi/registry.c (_registry_notify_listeners):
2919 Changed listener loop iteration to use preferred convention.
2920 Got rid of string memory leaks caused be calling g_strconcat
2921 inside function calls.
2923 * libspi/registry.c (parse_event_type):
2924 Stopped g_strconcat memory leaks, free the g_strsplit return,
2925 g_strdup the split pieces when used, etc.
2927 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2930 Change method 'compare' to return a 'difference set' rather than
2931 taking a StateSet as an out parameter (more Java-friendly).
2933 * idl/Accessible.idl:
2934 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2936 * idl/Component.idl:
2938 Changed methods 'getExtents' and 'getImageExtents' in these
2939 interfaces to return a BoundingBox structure.
2940 (getPosition and getSize are redundant and possibly should be
2941 removed, rather than creating a corresponding Point struct.)
2943 * cspi/spi_component.c:
2944 Modify implementation of getExtents to reflect the above IDL
2949 Add (missing) AccessibleImage_getExtents () API.
2951 * docs/reference/cspi/at-spi-cspi-sections.txt:
2952 Added AccessibleImage_getImageExtents () to docs.
2954 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2956 * idl/Component.idl:
2957 Added two methods, getLayer () and getMDIZOrder (), to reflect
2958 the new ATK methods atk_object_get_layer and
2959 atk_object_get_mdi_z_order. (Which arguably should be part of the
2960 AtkComponent API and AtkObject). Also added an enum,
2961 ComponentLayer, for the first method's return value.
2963 * libspi/component.c:
2964 Added implementations for these methods.
2966 * cspi/spi_component.c:
2968 Added cspi binding methods for above,
2969 AccessibleComponent_getLayer() and
2970 AccessibleComponent_getMDIZOrder().
2971 Added cspi enum 'AccessibleComponentLayer'.
2973 * docs/reference/cspi/at-spi-cspi-sections.txt:
2974 Added above methods to docs.
2978 Changed typedef for 'boolean' type (and all references to it) to
2979 SPIBoolean, to avoid keyword clashes with C++.
2982 Changed usages of 'boolean' to SPIBoolean.
2984 * test/keysynth-demo.c:
2985 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2986 app), except where SPIBoolean is required by the callbacks API.
2988 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2990 * cspi/spi_registry.c:
2991 Removed obsolete X event loop for passive keygrabs (which now
2994 * registryd/registryd.c:
2995 Removed unnecessary call to gdk_init() [cruft]. This also allows
2996 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2999 2001-11-28 Bill Haneman <bill.haneman@sun.com>
3001 * docs/reference/cspi:
3002 Included docs for SPI_freeString in generated documentation.
3005 Renamed spi_freeString to SPI_freeString, for consistency. Added
3006 documentation for this function.
3009 Renamed spi_freeString to SPI_freeString, for consistency.
3010 Removed obsolete method declaration string_from_corba_string.
3012 * test/keysynth-demo.c:
3013 Small tweak to comments.
3016 Stopped leaking the strings returned from CSPI.
3018 2001-11-28 Bill Haneman <bill.haneman@sun.com>
3020 Merged Michael's branch (see his ChangeLog entries below).
3022 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
3023 bridge is alive, release on exit.
3025 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
3026 Fix type check macro.
3029 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
3032 Added is_gnome_app static, and method cspi_is_gnome_app(),
3033 so we can call the appropriate shutdown routine at exit in SPI_exit.
3035 * cspi/spi_main.c (cspi_object_ref):
3036 Duplicate the corba object passed in, since we're keeping it around.
3038 * cspi/SPI_exit.c, cspi_cleanup:
3039 Moved the releasing of the live refs to its own function, so we
3040 can put it in g_atexit (). Call the appropriate shutdown API
3041 depending on whethe calling client is a gnome app or not
3042 (bonobo_main_quit or CORBA_ORB_shutdown).
3044 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
3045 Unref the listener when this method is called, after
3046 deregistration. Updated the API docs to note this behavior.
3048 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
3049 Bugfixes: Ref the bonobo object when returning a parent or child
3050 reference, or an AccessibleRelation. Generally made sure
3051 BonoboObject refcount is incremented whenever we return an
3054 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
3055 Fixed typo/bug in signal declaration.
3057 * libspi/accessibleeventlistener.h:
3060 * libspi/application.c (spi_application_new):
3061 Fixed leak in initialization.
3064 Remembered to increment bonobo-object refcount when returning
3065 children (applications) from desktop object.
3066 Added (empty) finalize method.
3068 * libspi/deviceeventcontroller.c:
3069 Hold a ref to listeners inside DEControllerKeyListeners.
3070 Added dec_key_listener_free() method. Use prepend instead of
3071 append in key_listener list. Fixed some refcount madness and
3072 leaks in the listener registration/deregistration - deregistration
3073 now calls dec_key_listener_free() on listeners, and on the
3074 temporarily constructed dec_key_listener() used to perform the search/match.
3076 * libspi/hypertext.c (spi_hypertest_finalize):
3077 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
3078 class. Also fixed spi_hypertext_interface_new() and
3079 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
3081 * libspi/hypertext.h:
3082 Removed pointless and duplicate AtkObject pointer from
3085 * libspi/keystrokelistener.c:
3086 Fixed incorrect type of keystroke_listener_parent_class,
3087 renamed keystroke_listener_object_finalize to
3088 spi_keystroke_listener_object_finalize.
3089 Fixed typo in signal declaration
3090 (spi_keystroke_listener_class_init).
3092 * libspi/registry.c:
3093 Added funcsions spi_listener_struct_new() and
3094 spi_listener_struct_free() to help with memory management issues.
3095 We also now use these methods instead of gnew + poking stuff into
3096 the struct, and to decrement listener counts/free the listeners
3097 when deregistering them.
3098 Fix more refcount bugs in getDesktop() and
3099 getDeviceEventController().
3102 De-ref the desktop after enumerating the applications. Explicitly
3103 decrement the refcounts on the created listeners on exit (using
3104 _unref for keystroke listeners, and via the
3105 deregisterGlobalEventListenerAll command for other event
3108 2001-11-27 Michael Meeks <michael@ximian.com>
3110 * cspi/spi-listener.h: fixup enum.
3112 2001-11-27 Michael Meeks <michael@ximian.com>
3114 * cspi/spi-listener-impl.c (cspi_event_listener_new),
3115 (cspi_keystroke_listener_new): Use the cspi variants.
3117 2001-11-26 Michael Meeks <michael@ximian.com>
3119 * test/keysynth-demo.c: fix 2 compile warnings, missing
3122 * test/simple-at.c (report_focussed_accessible),
3123 (report_focus_event, report_button_press),
3124 (check_property_change, is_command_key),
3125 (report_ordinary_key_event, report_command_key_event): upd.
3127 * util/mag_client.h: include pre-requisites.
3129 * libspi/accessibleeventlistener.c
3130 (spi_event_listener_object_finalize): free any lingering
3133 * libspi/keystrokelistener.c
3134 (keystroke_listener_object_finalize): ditto.
3136 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
3137 callbacks, with cspi types.
3139 * cspi/spi_event.c (createAccessibleEventListener): chain to
3140 (AccessibleEventListener_addCallback): here.
3141 (createAccessibleKeystrokeListener): chain to
3142 (AccessibleKeystrokeListener_addCallback): here.
3144 * libspi/keystrokelistener.c
3145 (spi_keystroke_listener_class_init): add signal.
3146 (impl_key_event): emit the event.
3147 (boolean_handled_accumulator): impl.
3148 (marshal_BOOLEAN__POINTER): add, gack.
3150 * libspi/accessibleeventlistener.c
3151 (spi_event_listener_class_init): add signal.
3152 (impl_accessible_event_notify_event): emit the signal &
3153 make the loop efficient.
3154 (spi_event_listener_add_callback): prepend the callback.
3156 * libspi/accessibleeventlistener.h: add an 'event' signal,
3157 decl type on callback.
3159 * libspi/keystrokelistener.h: ditto.
3161 * cspi/spi-listener.h: make methods typesafe and
3162 make them use the new event typedefs.
3164 * test/simple-at.c (report_focussed_accessible):
3165 include mag_client.h
3166 Use *(void *)text_interface not the other thing.
3168 * configure.in: add gtk to registryd bits - since we use
3171 * util/magnifier.c: include libbonobo.h
3173 2001-11-25 Bill Haneman <bill.haneman@sun.com>
3175 * test/keysynth-demo.c:
3176 Turned this into a simple scanning keyboard, to demonstrate the
3177 use of g_timeout_add () as a means of creating timers for
3178 scanning, and the use of GtkStyle for visually indicating when
3179 virtual keyboard elements are selected.
3181 keysynth-demo now listens to any keyboard keys with zero-valued
3182 keycodes (i.e. 'unused' keys) and interprets them as
3185 Reworked the shiftlatch code so that shift-down state isn't held
3186 for long periods (it's only synthesized immediately prior to
3187 the keysynth event it's modifying). Note that shiftlatch in this
3188 demo is a convenience, not intended to take the place of AccessX
3189 which is the better choice for getting 'sticky' modifier keys.
3191 * libspi/deviceeventcontroller.c:
3192 * at-bridge/bridge.c:
3193 * cspi/spi_registry.c:
3194 Removed some debug print stuff, and put other verbosity in #ifdef
3199 Implemented some more of the magnifier IDL for the simple
3200 magnifier: namely, getZoomRegionParams.
3201 Added mag_x and mag_y members to MagnifierData struct, aid of this
3203 Added GtkWindow::realize signal handler to magnifier, to keep it
3204 from receiving keyboard focus from the WM.
3206 2001-11-23 Mark McLoughlin <mark@skynet.ie>
3208 * cspi/spi-private.h: my guess at what michael forgot
3209 before he ran off to NZ :-)
3211 2001-11-23 Michael Meeks <michael@ximian.com>
3213 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
3214 comment out non existant method invoke so we link.
3216 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
3217 use bonobo_exception_get_text for more friendly warnings.
3219 * cspi/spi.c (Obj_Add): move into spi_main & rename
3220 spi_object_add; kill spi.c
3222 * cspi/spi_registry.c
3223 (deregisterGlobalEventListener),
3224 (deregisterGlobalEventListenerAll),
3225 (registerGlobalEventListener): fix exception leaks.
3227 * cspi/spi_main.c (spi_exception): impl. helper, so we
3228 don't leak exceptions.
3230 * cspi/spi_selection.c
3231 (AccessibleSelection_deselectSelectedChild): return the
3234 * cspi/spi_main.c (spi_ev): impl; hack - gack.
3235 (spi_registry): ditto.
3236 (SPI_init): guard against double inits.
3238 * cspi/*.c: use spi_ev (), and spi_registry () where
3239 appropriate - a temporary hack until we have something
3240 better. Use spi_object_add
3242 2001-11-22 Michael Meeks <michael@ximian.com>
3244 * cspi/Makefile.am: re organise, install the headers.
3246 * cspi/*.h: add G_BEGIN/END_DECLS
3248 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3251 Added non-preemptive keylistener for key events with no modifiers
3252 and shift-only modifier.
3254 * libspi/keystrokelistener.c:
3255 Removed some verbose diagnostics printout.
3257 * cspi/spi_registry.c:
3258 Fixed a bug that caused all key listeners to be registered as
3261 * libspi/deviceeventcontroller.c:
3262 Fixed bug that caused XGrabKey (preemptive key grab) to be called
3263 for non-preemptive key masks.
3266 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3268 * docs/reference/idl/at-spi-idl-docs.sgml:
3269 * docs/reference/idl/at-spi-idl-sections.txt:
3270 * docs/reference/idl/at-spi-idl-overrides.txt:
3271 Added missing files.
3273 * docs/reference/Makefile.am:
3274 removed idl from SUBDIRS until we can figure a way to get gtk-doc
3275 to scan the IDL files :-(
3280 Added .cvsignore files.
3282 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3284 * libspi/deviceeventcontroller.c:
3285 * libspi/keystrokelistener.c:
3287 * cspi/spi_registry.c:
3288 Added filters for KeySets, KeyEventSeq, and event types to key
3289 event dispatching, so listeners should only receive those events
3290 that they requested :-)
3292 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3297 * docs/reference:Makefile.am:
3298 * docs/reference/cspi:
3299 * docs/reference/cspi:Makefile.am:
3300 * docs/reference/cspi:tmpl:
3301 * docs/reference/cspi:tmpl:*.sgml:
3302 * docs/reference/idl:
3303 * docs/reference/idl:Makefile.am:
3304 * docs/reference/idl:at-spi-idl-sections.txt:
3305 * docs/reference/idl:at-spi-idl-docs.sgml:
3306 * docs/reference/idl:tmpl:
3307 * docs/reference/idl:tmpl:*.sgml:
3309 Restructured docs directory to allow separate 'reference' docs
3310 section, and forked idl and cspi docs. Added the sgml template
3311 files to CVS. Added the first sections/structural sgml for the
3314 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
3316 * configure.in, libspi/Makefile.am: find libXtst.
3318 2001-11-21 Michael Meeks <michael@ximian.com>
3320 * test/accessx-gui.c: s/spi_value/value/ - doh.
3322 * libspi/base.[ch]: add.
3324 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3326 * idl/Accessible.idl:
3327 * idl/Application.idl:
3330 Started gtk-doc cleanup on IDL.
3332 * libspi/deviceeventcontroller.c:
3333 Added and connected non-preemptive key notification from the
3334 toolkits (in addition to the pre-emptive support from XServer
3335 which we had before, but which causes 'focus flashing'). Filters
3336 are presently limited to key modifiers and global/non-global,
3337 KeySets are presently ignored, as are KeyEvent masks.
3339 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
3340 structs into the persistant structure rather than just storing
3341 pointers to things that might not persist across servant
3344 The XGrabKey call now does async keygrabs, because synchronous
3345 ones were deadlocking with GDK_event code in a very nasty way.
3347 Added boolean to internal method notify_keylisteners, to indicate
3348 whether the event came from the 'toolkit source' or the 'global
3349 (XServer) source' - this is used in the notification process to
3350 determine which listeners to send the event to.
3352 deviceeventcontroller.c is now warning-free.
3354 * libspi/registry.c:
3355 Fixed regression in application de-registration.
3356 Also fixed some really brain-dead weirdness having to do with
3357 event dispatching - event structs are now duplicated before being
3358 re-marshalled in the dispatch to listeners. This also fixes a
3359 Solaris build problem.
3362 2001-11-20 Michael Meeks <michael@ximian.com>
3365 (impl_accessibility_registry_deregister_global_event_listener):
3368 * libspi/deviceeventcontroller.c
3369 (spi_device_event_controller_check_key_event): return
3370 FALSE on no virtual method.
3372 * libspi/*..h: make includes work on a correctly pathed install.
3374 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
3376 * libspi/application.h: kill unused ( and whacked out )
3377 gboolean *spi_application_set_id (AtkObject *app, long id);
3379 2001-11-20 Michael Meeks <michael@ximian.com>
3381 * libspi/*.[ch]: further convert to bonobo's type func
3382 macros, remove redundnant casts etc.
3384 * libspi/text.c s/accessibility_text/spi_text/g,
3385 re-order to de-cruft.
3387 * libspi/hypertext.c: re-order to kill a huge slew
3388 of redundant forward decls.
3390 * libspi/relation.c: ditto.
3392 * libspi/image.c: ditto.
3394 * */.cvsignore: update
3396 2001-11-20 Michael Meeks <michael@ximian.com>
3398 * libspi/deviceeventcontroller.c
3399 (_controller_register_with_devices): use g_getenv,
3400 kill stdlib.h include.
3402 * libspi/keystrokelistener.c
3403 (spi_keystroke_listener_get_type): kill
3404 (spi_keystroke_listener_class_init),
3405 (spi_keystroke_listener_init): rename to this.
3407 * libspi/text.c (impl_getAttributes): fix warning / bug.
3409 * libspi/*.[ch]: more headers, includes and over commenting.
3411 2001-11-20 Michael Meeks <michael@ximian.com>
3413 * libspi/*.[ch]: fixup headers, includes and over commenting.
3415 * libspi/image.c (impl__get_imageDescription): const
3416 correctness warning fix. remove redundant casting.
3418 * libspi/table.c (impl_getRowDescription): ditto.
3419 (impl_getColumnDescription): ditto.
3421 * libspi/libspi.h: add.
3423 2001-11-19 Michael Meeks <michael@ximian.com>
3425 * libspi/editabletext.c (impl_setAttributes): fix warnings.
3427 * libspi/component.c (accessibility_component_get_type):
3428 rename to (spi_component_get_type): and macroify.
3429 (accessibility_component_init): rename to
3430 (spi_component_init): this
3431 (accessibility_component_class_init): rename to
3432 (spi_component_class_init): this
3434 * libspi/action.c (spi_action_get_type): kill, use the macro.
3436 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
3439 * libspi/application.c (spi_application_object_event_listener),
3440 (impl_accessibility_application_register_object_event_listener):
3441 warning fixes / const understanding updates.
3443 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
3446 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3448 * libspi/spi_accessible.c: Added docs and C bindings for
3449 AccessibleStateSet. (No implementations yet). Documentation
3450 coverage for C bindings now 100%. Made docs for event listeners
3455 boolean notifyListenersSync (in DeviceEventListener listener,
3456 in DeviceEvent event);
3458 oneway void notifyListenersAsync (in DeviceEventListener listener,
3459 in DeviceEvent event);
3461 Added DeviceEventListener and DeviceEvent structs (may deprecate
3462 KeyStroke and KeystrokeListener in favor of this generic
3463 event/listener framework for devices).
3465 * libspi/deviceeventcontroller.c:
3467 Changed some key listener code to take masks, etc., and paved the
3468 way for integration of toolkit/non-preemptive key events. Changed
3469 signatures of some internal methods.
3471 * at-bridge/bridge.c:
3472 Fixed regression connecting to interface signals, apparently
3473 caused by GTK+ changes.
3475 Added an internal bridge_state_listener to deal with
3476 property-change:accessible-state signals.
3478 Changed the key_listeners GList to store structs (including masks,
3479 etc.) instead of just CORBA_Objects (required for full
3480 implementation of key listener API).
3482 Connected the bridge to all currently supported Atk signals.
3483 Events now supported:
3484 object:property-change
3485 object:property-change:accessible-name
3486 object:property-change:accessible-state
3487 object:property-change:accessible-description
3488 object:property-change:accessible-parent
3489 object:property-change:accessible-value
3490 object:property-change:accessible-role
3491 object:property-change:accessible-table-caption
3492 object:property-change:accessible-table-column-description
3493 object:property-change:accessible-table-column-header
3494 object:property-change:accessible-table-row-description
3495 object:property-change:accessible-table-row-header
3496 object:property-change:accessible-table-summary
3497 object:children-changed
3498 object:visible-data-changed
3499 object:selection-changed
3500 object:text-selection-changed
3502 object:text-caret-moved
3504 object:row-reordered
3506 object:column-inserted
3507 object:column-reordered
3508 object:column-deleted
3509 object:model-changed
3511 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3513 * libspi/hyperlink.c,h:
3514 Fixed some broken stuff in hyperlink.
3516 * libspi/relation.h:
3517 * libspi/relation.c:
3518 * cspi/spi_accessible.c:
3519 Initial implementations of AccessibleRelation methods, and docs.
3521 * libspi/accessible.c:
3522 Fixed a bug that caused SEGV if an accessible
3523 object's description is NULL, and a client
3524 requests it. An empty string is now returned.
3526 * cspi/spi_editabletext.c:
3527 * cspi/spi_hypertext.c:
3529 * cspi/spi_hyperlink.c:
3533 Doc coverage now 95%.
3535 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3537 One last namespacing revision:
3538 * libspi/accessibleeventlistener.[ch]:
3539 Renamed SpiAccessibleEventListener to SpiEventListener,
3540 (no need for two namespaces ;-)
3542 And lots of documentation fixes:
3544 * docs/at-spi-docs.sgml:
3545 Fixed 'underscore vs. hyphen' bug that was preventing
3546 the gtk-doc API docs from being automatically generated.
3549 * cspi/spi-listener.h
3551 * cspi/spi_accessible.c
3553 * cspi/spi_application.c
3554 * cspi/spi_component.c
3555 * cspi/spi_editabletext.c
3557 * cspi/spi_hypertext.c
3559 * cspi/spi_registry.c
3560 * cspi/spi_selection.c
3564 * docs/at-spi-docs.sgml
3565 * docs/at-spi-sections.txt
3567 Added and fixed up gtk-doc documentation in cspi.
3569 Interfaces now (fully) documented (subject to revision and enhancement):
3571 Event Listener Support
3573 AccessibleApplication
3577 AccessibleEditableText
3584 AccessibleRelationSet
3589 2001-11-14 Bill Haneman <bill.haneman@sun.com>
3591 * at-bridge/bridge.c:
3592 Initial work for toolkit-level key snooper connection by bridge.
3597 New typedefs and fixes to support new namespacing, and cleaner
3598 separation of cspi bindings from libspi bonobo implementation.
3599 Removed inconsistent and extraneous Spi* namespace prefix that
3600 had crept into cspi headers.
3601 Lots of comment fixes that sed had missed.
3603 * cspi/spi-roletypes.h:
3604 * cspi/spi-statetypes.h:
3605 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
3606 to AccessibleRoleType.
3608 * libspi/accessibleeventlistener.h:
3609 Fixed minor namespacing weirdness.
3611 * libspi/deviceeventcontroller.c:
3612 Reordered some internal API for device listeners.
3613 Changed the key registry final boolean to 'is_system_global'
3614 rather than 'is_synchronous', which is more descriptive of its
3616 Added spi_device_event_controller_new().
3617 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
3619 * libspi/keystrokelistener.[ch]:
3620 Namespaced KeystrokeListener to SpiKeystrokeListener.
3621 Changed uses of keymasks to use SPI_ prefix, and did other
3624 * libspi/keymasks.h:
3625 Namespaced keymask constants with SPI_ prefix.
3627 * libspi/registry.c:
3628 Some warning fixes, and knock-on fixes from namespace changes.
3631 Added rules for accessx-gui test program.
3633 * test/accessx-gui.c:
3634 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
3635 utility. It doesn't actually use at-spi, but it's still cool and
3638 * test/keysynth-demo.c:
3642 Fixes so that these test clients work properly with the namespaced
3643 libraries. (Incompletely tested for technical reasons, fixes may follow)
3646 2001-11-13 Michael Meeks <michael@ximian.com>
3648 * libspi/application.c
3649 (impl_accessibility_application_get_version),
3650 (impl_accessibility_application_get_toolkit_name):
3652 (impl_accessibility_application_set_id),
3653 (impl_accessibility_application_get_id): remove
3654 redundant casting code.
3656 * libspi/action.c (impl_getDescription): fix warnings.
3658 * libspi/accessible.c
3659 (impl_accessibility_accessible_get_parent),
3660 (impl_accessibility_accessible_get_child_at_index),
3661 (impl_accessibility_accessible_get_state),
3662 (impl_accessibility_accessible_get_relation_set):
3663 warning fixes & include action.h
3665 2001-11-13 Michael Meeks <michael@ximian.com>
3667 * *.[ch] fix bits I screwed up:
3669 s/([^ \tb(\*\&\?\",])spi_/\1/g;
3670 s/([^ \tb(\*\&\?\",])Spi/\1/g;
3672 2001-11-13 Michael Meeks <michael@ximian.com>
3674 * *.[ch] Namespace libspi into spi_ and Spi.
3676 2001-13-11 Michael Meeks <michael@ximian.com>
3678 * Makefile.am: dist & install at-spi-1.0.pc
3680 * libspi/Makefile.am: install into at-spi-1.0
3682 * idl/Makefile.am (idldir): install into at-spi-1.0
3684 * at-spi-1.0.pc.in: add.
3686 * configure.in: build it.
3688 2001-11-12 Bill Haneman <bill.haneman@sun.com>
3690 * test/keysynth-demo.c:
3691 Use a 'realize' signal-handler to set the WM properties for
3692 the virtual keyboard, rather than making it a "POPUP" type
3693 override-redirect window (thanks to anders carlsson for that
3696 2001-11-11 Bill Haneman <bill.haneman@sun.com>
3699 * test/keysynth-demo.c:
3700 Added new test of key synthesis, which creates a simple
3701 (mouse-operated) onscreen keyboard. It inserts key events into
3702 the currently-focused window, thus it does not grab keyboard focus
3705 * cspi/spi_registry.c:
3706 Added C binding for AT-SPI generateKeyEvent.
3708 * libspi/deviceeventcontroller.c:
3709 Added call to XFilterEvent so that key listener works with XIM (we
3710 hope). Added event_synth_type to generateKeyEvent, so that we can
3711 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
3712 synthesize a press/release pair for KeySyms.
3714 2001-11-09 Bill Haneman <bill.haneman@sun.com>
3716 * libspi/Makefile.am:
3717 * registryd/Makefile.am:
3718 (temporary) hack to include libXtst in libspi and registryd.
3719 (Needed for keystroke synthesis, see below).
3722 Improved API for registerKeystrokeListener, in accordance with
3723 discussions with Gnopernicus team and X server research.
3725 * libspi/registry.c:
3726 * libspi/deviceeventcontroller.c:
3727 * libspi/accessible.c:
3728 * libspi/keystrokelistener.c:
3729 Changes and fixes to support keylisteners for potentially
3730 consumed key events (that is, 'passive grabs').
3731 Added implementation for generateKeyEvent() [untested].
3734 Changes to registerKeystrokeListener() API, as above.
3735 Added deregisterGlobalEventListenerAll(), and
3736 deregisterKeystrokeListener(), which are needed for clean exit of
3738 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
3739 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
3741 * cspi/spi_registry.c:
3742 Added implementations of function prototypes mentioned above.
3744 * registryd/registryd.c:
3745 Added the key listener event source as a g_timeout(), to allow
3746 receipt of key events that are not caught by GDK (since GDK
3747 doesn't support passive keygrabs, this was necessary).
3750 Changed to attach a keylistener to 'Alt' keys, and
3751 respond to the following keycommands: Alt-M (toggle magnifier);
3752 Alt-F (toggle speech); Alt-Q (quit).
3753 Added an exit routine to deregister the listeners, and a key
3754 listener that prints some key info to the console when a key
3755 matches the listener mask (and is thus received by the listener).
3757 * util/idl/Magnifier.idl:
3758 Changes to magnifier API to support multiple zoom regions,
3759 non-uniform scaling in x and y, markDirty, and a host of other
3760 features that would be useful to magnification.
3763 * util/mag_client.c:
3764 * util/mag_client.h:
3765 * util/mag_control.c:
3767 Source code changes to support the above IDL changes.
3770 As above, and also changes to use a (slower) generic conversion
3771 path for colormap conversions, since the fast RGB conversions have been
3772 reported to fail for 16-bit displays.
3774 2001-10-26 Michael Meeks <michael@ximian.com>
3776 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
3778 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
3780 * at-bridge/Makefile.am: fix LDFLAGS.
3782 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3784 * at-bridge/bridge.c:
3785 Re-worked listeners for toolkit events, now we have signal
3786 and property listeners. Added a private method
3787 register_atk_event_listeners(), which registers with the
3788 various atk and gtk signals we need to monitor in order to emit
3790 Added emission hook for AtkObject:property-change events, to
3791 support the 'property listeners'.
3792 Fixed some alloc()s of Accessibility_Event structs to use CORBA
3795 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
3796 which emit warnings and exit, respectively, if CORBA errors occur
3797 during remote calls, and we now use these methods to check most of
3798 our CORBA calls in the C bindings.
3800 * cspi/spi_accessible.c:
3801 Changed AccessibleSelection_refSelectedChild() to
3802 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
3803 now increment refcounts.
3805 * cspi/spi_component.c:
3806 Fixed some long pointer casts (dangerous!) to pass pointers to
3807 CORBA_longs of the proper type to the CORBA stubs, and copy the
3808 data into the longs that were passed into the C bindings code.
3810 * at-bridge/bridge.c:
3812 * libspi/accessible.c:
3813 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
3814 hyperlinks, AtkHyperlink is an object type.
3816 * libspi/application.c:
3817 Added various conversions to and from "generic" event types and
3818 atk-specific types; this is really part of the 'bridge'
3819 implementation but is valid for all AtkObject-based accessibility
3822 * libspi/editabletext.c:
3823 Fixed nasty bug wherein editable text's finalize method was
3824 unref'ing tha AtkObject reference that the text parent class was
3825 about to unref _again_. There was also a nasty inheritance bug
3826 that meant that the AccessibleEditableText class was corrupt.
3828 * libspi/selection.c:
3829 Provided implementations for some selection API that was broken.
3831 * idl/Application.idl:
3832 Added registerObjectEventListener () method.
3835 Fixed a number of return values that were Bonobo_Unknowns from
3836 bonobo_object_corba_objref(), which I
3837 forgot to dup before returning. Changed instances of
3838 bonobo_object_corba_objref (bonobo_object(o)) to
3839 BONOBO_OBJREF(o), for concision and clarity.
3841 2001-10-13 Louise Miller <louise.miller@sun.com>
3843 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
3844 idl/Event.idl, idl/Registry.idl
3845 Changed these files to include Bonobo_Unknown.idl instead
3848 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
3850 * libspi/component.c libspi/component.h:
3851 Fixed typo. Added assertions for object checks in
3852 AccessibleComponent code.
3854 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3856 * idl/Accessible.idl:
3857 Added 'isEqual (Accessible *object)'
3858 method for Accessible. (Not Yet Implemented).
3861 Changed signature of registerKeystrokeListener() to
3862 take a KeySet and KeyEventSeq so that specific keys and event
3863 types could be requested for monitoring, and added a flag
3864 is_synchronous so that either synchronous or asynchronous
3865 notification could be requested. (However this is not all
3866 implemented yet). This also meant adding two new typedefs,
3867 KeyEventSeq and KeySet.
3870 Added two new relations, RELATION_TOOLTIP_FOR and
3871 RELATION_LEAFNODE_OF.
3874 Added new state, STATE_HAS_TOOLTIP.
3876 * libspi/text.c, editabletext.c:
3877 Added new assertions to all casts of bonobo-objects from
3878 CORBA servants, to prevent Text API calls on non-text objects.
3879 Changed suspect casts of int-pointer types, so that we
3880 always send a valid CORBA_long pointer to the CORBA APIs that use
3881 in/out long parameters. We then have to copy from the CORBA_long
3882 into the regular long or int for return to the C bindings, or
3883 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
3886 * libspi/deviceeventcontroller.c:
3887 Cleaned these sources up.
3889 Changed return type for getCharacterAtOffset to
3890 CORBA_unsigned_long, to allow for 32-bit characters.
3893 2001-10-08 Bill Haneman <bill.haneman@sun.com>
3897 Fixed 'make dist' so that distro compiles...
3898 * libspi/keymasks.h:
3900 * cspi/spi-listener.c:
3901 KeystrokeListenerCB now returns a boolean.
3903 Added KeyEventType struct, and KeyStroke.
3904 Also added createKeystrokeListener(),
3905 KeystrokeListener_addCallback(),
3906 KeystrokeListener_removeCallback(), and added a keymask to
3907 registerKeystrokeListener().
3908 * cspi/spi_accessible.c:
3909 Changed numerous return types for interfaces from
3910 AccessibleComponent to Accessible<InterfaceName>; this was
3911 probably a cut-and-paste error.
3913 Implementations of new KeystrokeListener api (from spi.h,
3916 Changes to key modifier mapping.
3917 Created ControllerEventMask struct.
3918 Made DeviceEventController derive from Bonobo::Unknown.
3920 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3921 * libspi/deviceeventcontroller.c:
3922 Added a number of new internal (private) methods.
3923 * libspi/editabletext.c:
3924 * libspi/editabletext.h:
3925 Fixed a number of bugs related to the fact that
3926 editabletext inherits from text. Fixed the EditableText struct,
3927 the init() call, and use correct casts when calling Text methods
3928 from an EditableText object. Removed (duplicate) atko from the
3929 EditableText structure, we use the one in the parent Text
3930 structure via the casts mentioned above.
3931 * libspi/keystrokelistener.[ch]:
3932 * libspi/registry.c:
3933 Changes in support of keyboard handling (above).
3935 Keyboard handling, though partly functional, is still not
3936 recommended for at-spi client use as there is considerable
3937 work yet to be done.
3940 Changed some places where pointers to various int types
3941 are cast to be pointers to CORBA_long types and vice-versa:
3942 pointer casting is not safe so we pass pointers of the correct
3943 types and then cast the result before putting it into the target
3946 * libspi/text.h: minor typos corrected.
3948 We now speak not only the name of a Text element, but the
3949 first sentence of its content, when it receives focus.
3950 I also changed the text compression to 75% from 50%.
3951 * util/Accessibility_Util.server.in:
3952 Changed the default magnifier type to be a 3x vertical
3953 splitscreen magnifier (was previously a 2x horizontal one).
3955 2001-10-03 Bill Haneman <bill.haneman@sun.com>
3957 * libspi/keystrokelistener.h:
3958 * libspi/keystrokelistener.c:
3959 Initial functional implementations of KeystrokeListener.
3962 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3964 Fixed string handling for NULL strings in libspi.
3965 Added spi_freeString to free strings returned by C bindings.
3967 2001-09-30 Bill Haneman <bill.haneman@sun.com>
3969 * libspi/keystrokelistener.h:
3970 * libspi/keystrokelistener.c:
3971 Began (no-op) implementations of KeystrokeListener
3973 * libspi/deviceeventcontroller.c:
3974 * libspi/deviceeventcontroller.h:
3975 Began creating implementations of DeviceEventController,
3976 to handle keystroke and mouse event listening and
3978 * libspi/accessible.c:
3979 Stubbed-in the implementations for
3980 Accessibility_Accessible_getState and
3981 Accessibility_Accessible_getRelationSet.
3982 * libspi/registry.c:
3983 Improved de-registration process and fixed some bugs,
3984 deregistration now works correctly.
3986 Added initialization of applications list (to NULL).
3988 Reduced speech compression from 0.5 to 0.7, for demo.
3989 Changed call to gdk_window_set_decorations()
3990 to gtk_window_set_decorated().
3991 * at-bridge/bridge.c:
3992 Bridge now deregisters when app exits, via
3993 registration of a cleanup function
3994 with the g_atexit() call.
3995 Required making 'app' static, renamed 'this_app'.
3996 Fixed broken use of bonobo_init, passing argv wrongly.
3998 2001-09-27 Bill Haneman <bill.haneman@sun.com>
4002 Created a new directory for
4003 accessibility-related utilities, primarily for
4004 testing and demo purposes, but with possible
4011 Onscreen magnifier utility that
4012 is implemented as a bonobo service.
4014 * util/mag_client.c:
4015 * util/mag_client.h:
4016 Client-side support (simple C bindings)
4017 for Magnification service
4019 * util/mag_control.c:
4020 Client program example for
4021 Magnification service
4023 * util/Accessibility_Magnifier.server.in:
4024 Bonobo-activation file for the
4025 Magnification service.
4028 * util/idl/Magnifier.idl:
4029 IDL defining the bonobo Magnification
4033 Modifications to use the bonobo-activated magnifier
4034 above, in place of trying to connect to an existing
4035 magnifier that uses socket-listening IPC.
4037 If env variable MAGNIFIER is set, a magnifier service
4038 will be started if one does not exist.
4040 2001-09-25 Bill Haneman <bill.haneman@sun.com>
4042 * at-bridge/bridge.c:
4043 applied patch from Marc to build and run
4044 against new glib and gtk+ (seemed like a change
4045 to bonobo_init signature was made ?)
4047 made festival-server support turned off by default.
4048 Added support for a simple magnifier (off by default)
4049 which will be added to a 'util' directory later.
4050 * at-bridge/Makefile.am:
4051 Changed "application.h" header from a 'source'
4052 to a 'dependency' of libat-bridge.
4054 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4063 Added interface implementation c files to list of
4064 includes so they are included in libcspi.
4067 Changed prototype of AccessibleAction_doAction to return a
4069 Changed prototype of AccessibleTable_getCaption to
4070 return an Accessible.
4071 Changed prototype of AccessibleTable_getSelectedRows
4072 and AccessibleTable_getSelectedColumns to
4073 return a long (returns the number of selected rows
4074 or columns respectively).
4075 Changed name of AccessibleText_refRunAttributes to
4076 AccessibleText_getAttributes.
4077 Changed prototype of AccessibleText_getCharacterExtents to
4078 return a void rather than a boolean.
4079 Added support for a AccessibleCoordType parameter
4080 specifying what type of coordinates are desired.
4081 Added an AccessibleCordType parameter to
4082 AccessibleText_getPointAtOffset.
4084 * cspi/spi_accessible.c:
4085 Added code to return the outstanding interfaces from
4086 Accessible_queryInterface.
4088 * cspi/spi_action.c:
4090 Corrected call to getNActions to call the c binding
4093 * cspi/spi_editabletext.c:
4095 Changed name from setRunAttributes to setAttributes.
4097 * cspi/spi_hyperlink.c:
4099 Changed call to getNAnchors to correctly call the c
4100 binding for an attribute.
4102 * cspi/spi_hypertext.c:
4104 Changed getImageDescription to correctly call the
4105 binding for an attribute.
4107 * cspi/spi_selection.c:
4108 Changed getNSelectedChildren to correctly call the c
4109 binding for the attribute.
4110 Changed refSelectedChild to getSelectedChild.
4114 Changed getCaption to return an Accessible.
4115 Fixed calls which retrieve attributes.
4116 Changed refAt to getAccessibleAt.
4117 Changed getNSelectedRows and getNSelectedColumns to
4121 Changed getCharacterExtents and getPointAtOffset to accept an
4122 AccessibleCoordType.
4124 Changed calls which retrieve attributes.
4125 Changed refRunAttributes to getAttributes.
4130 * idl/Hyperlink.idl:
4131 Changed n_anchors attribute to nAnchors to keep naming
4132 convention consistent.
4135 Made Table inherit from Bonobo::Unknown.
4136 Added nSelectedColumns and nSelectedRows attributes.
4139 Made Value inherit from Bonobo::Unknown.
4141 * libspi/hyperlink.c:
4142 Change for nAnchors attributte name change.
4144 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4152 Added interface implementation c files to list of
4153 includes so they are included in libcspi.
4156 Changed prototype of AccessibleAction_doAction to return a
4158 Changed prototype of AccessibleTable_getCaption to
4159 return an Accessible.
4160 Changed prototype of AccessibleTable_getSelectedRows
4161 and AccessibleTable_getSelectedColumns to
4162 return a long (returns the number of selected rows
4163 or columns respectively).
4164 Changed name of AccessibleText_refRunAttributes to
4165 AccessibleText_getAttributes.
4166 Changed prototype of AccessibleText_getCharacterExtents to
4167 return a void rather than a boolean.
4168 Added support for a AccessibleCoordType parameter
4169 specifying what type of coordinates are desired.
4170 Added an AccessibleCordType parameter to
4171 AccessibleText_getPointAtOffset.
4173 * cspi/spi_accessible.c:
4174 Added code to return the outstanding interfaces from
4175 Accessible_queryInterface.
4177 * cspi/spi_action.c:
4179 Corrected call to getNActions to call the c binding
4182 * cspi/spi_editabletext.c:
4184 Changed name from setRunAttributes to setAttributes.
4186 * cspi/spi_hyperlink.c:
4188 Changed call to getNAnchors to correctly call the c
4189 binding for an attribute.
4191 * cspi/spi_hypertext.c:
4193 Changed getImageDescription to correctly call the
4194 binding for an attribute.
4196 * cspi/spi_selection.c:
4197 Changed getNSelectedChildren to correctly call the c
4198 binding for the attribute.
4199 Changed refSelectedChild to getSelectedChild.
4203 Changed getCaption to return an Accessible.
4204 Fixed calls which retrieve attributes.
4205 Changed refAt to getAccessibleAt.
4206 Changed getNSelectedRows and getNSelectedColumns to
4210 Changed getCharacterExtents and getPointAtOffset to accept an
4211 AccessibleCoordType.
4213 Changed calls which retrieve attributes.
4214 Changed refRunAttributes to getAttributes.
4219 * idl/Hyperlink.idl:
4220 Changed n_anchors attribute to nAnchors to keep naming
4221 convention consistent.
4224 Made Table inherit from Bonobo::Unknown.
4225 Added nSelectedColumns and nSelectedRows attributes.
4228 Made Value inherit from Bonobo::Unknown.
4230 * libspi/hyperlink.c:
4231 Change for nAnchors attributte name change.
4234 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
4236 implementations-- made server implementations own AtkObject pointers
4237 rather than their respective AtkInterrface pointers to fix
4238 refcounting. AtkHyperlink is still broken.
4240 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4241 * cspi/spi_accessible.c:
4242 Added method Accessible_Role_getName(),
4243 and requisite string array (role_names).
4244 Added conversion string_from_corba_strin() call
4245 to Accessible_getName and _getDescription.
4246 * libspi/accessible.c:
4247 Added implementation for Accessible_getRole()
4249 Added festival support, used if environment variable
4252 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4254 * at-bridge/bridge.c:
4255 Now allocate Accessibility_Event using
4256 Accessibility_Event__alloc() instead of g_new0().
4257 * libspi/accessibleeventlistener.c:
4258 Initialize AccessibleEventListener->callbacks to NULL.
4259 Fixed accessible__event_listener_init() param, changed to
4260 "AccessibleEventListener *" type.
4261 Changed a bonobo_object_release_unref() call to
4262 Accessibility_Accessible_unref().
4263 * libspi/listener.c:
4264 Changed Bonobo_Unknown_unref to (equivalent)
4265 Accessibility_Accessible_unref.
4266 * libspi/registry.c:
4267 Changed bonobo_object_release_unref to
4268 Accessibility_Accessible_unref.
4270 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4273 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
4274 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
4275 spi-util.c spi-util.h
4276 Implementations for C bindings to remaining accessibility
4279 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4282 changed return value of Action from void to boolean to
4283 bring in line with ATK.
4286 Changed getText funcions to return "out" start and end offsets.
4287 Changed getAttributes to take and offset and return the start
4288 and end offset of the attribute run.
4289 Changed getOffsetAtPoint and getCharacterExtents to take an
4290 enum describing whether coordinates are window or screen.
4293 libspi/action.c libspi/action.h libspi/editabletext.c
4294 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
4295 libspi/hypertext.c libspi/hypertext.h libspi/image.c
4296 libspi/image.h libspi/selection.c libspi/selection.h
4297 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
4298 libspi/value.c libspi/value.h
4299 Added server implementations for outstanding ATK interfaces
4300 not yet implemented.
4302 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4305 Added (missing) getName() method.
4306 Made nActions an attribute.
4307 * idl/EditableText.idl:
4308 Changed order of params in setAttributes.
4309 * idl/Hyperlink.idl:
4310 Removed getAnchor, added getURI.
4312 Changed attributes to methods, for efficiency
4313 (so that getting extents can be done in one call)
4314 * idl/Selection.idl:
4315 Changed nSelectedChildren to attribute, and re-indented.
4316 * idl/Table.idl: changed nrows, ncolumns, caption, summary
4318 * idl/Text.idl: reformatted to match our coding style.
4319 (temporarily?) removed getRowColumnAtOffset().
4320 Changed text selection API to support multi-select and
4321 non-contiguous selections, as in ATK.
4322 * idl/Value.idl: changed some methods to attributes.
4324 2001-08-24 Mark McLoughlin <mark@skynet.ie>
4326 * libspi/listener.c(impl_notify_event):
4327 BonoboUnkown_unref the source instead
4328 of bonobo_object_release_unref - the ORB
4329 handles the releasing.
4331 * configure.in: require ORBit-2.3.94 for
4334 2001-08-21 Bill Haneman <bill.haneman@sun.com>
4336 Tagged CVS repository 'EA_1_0'.
4337 * README.EARLY_ACCESS:
4338 Alphabetized acknowledgements list, and
4340 Listed some known dependencies of at-spi.
4342 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4344 * docs/at-spi-docs.sgml:
4345 * docs/at-spi-sections.txt:
4346 * docs/at-spi-overrides.txt: (Added zero-length file)
4347 Documentation improvements - gtk-doc should build
4348 docs for all implemented C bindings now.
4351 * cspi/spi.c: (New file)
4352 * cspi/spi_event.c: (New file)
4353 * cspi/spi_registry.c: (New file)
4354 * cspi/spi_accessible.c: (New file)
4355 * cspi/spi_application.c: (New file)
4356 * cspi/spi_component.c: (New file)
4357 Split spi_main.c into six parts, and included them from
4358 "spi.c". This is a bit of a hack, probably temporary,
4359 but required by gtk-doc, apparently.
4361 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4364 * docs/at-spi-docs.sgml:
4365 * docs/at-spi-sections.txt:
4367 Initial checkins/modifications for gtk-doc generation.
4370 Added (missing) interface query methods to Accessible's C binding.
4372 Added GenericInterface type definition.
4374 Added query for AccessibleComponent interface to focus event handler.
4375 Added printout of bounding box for focussed component.
4376 * libspi/component.c:
4377 Added partial implementation for AccessibleComponent to C binding.
4378 * idl/Application.idl:
4379 * libspi/registry.c:
4380 * libspi/listener.c:
4381 * libspi/application.c:
4382 * libspi/application.h:
4383 Changed "ID" attribute type from string to long.
4385 2001-08-19 Bill Haneman <bill.haneman@sun.com>
4389 Made method naming consistent: methods taking object args
4390 start with uppercase, other methods (except those using
4391 acronyms) start with lowercase. Underscores delimit between
4392 object names and method names:
4393 SPI_init() - uppercase since it starts with an acronym.
4394 getDesktopCount () - lowercase start since no object param0.
4395 Accessible_getName() - uppercase object type name, studlyCaps method
4399 Added gtk-doc documentation for all currently implemented
4400 methods in the C bindings API.
4402 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4404 * Makefile.am : changed build order to build test last.
4407 Changed "createEventListener" to "CreateEventListener".
4408 * libspi/accessibleeventlistener.c :
4409 Bugfix for addition of callbacks.
4410 * test/Makefile.am :
4411 * test/simple-at.c :
4412 Added new test that uses the C bindings API.
4414 * libspi/listener.c :
4415 * libspi/registry.c :
4416 * libspi/accessibleeventlistener.c :
4417 * at-bridge/bridge.c :
4418 Renamed member "target" of Accessibility_Event to "source",
4419 which is more descriptive.
4422 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4426 * cspi/Makefile.am :
4427 Added makefile support for at-spi/cspi directory.
4430 * cspi/spi-listener.h : (NEW FILE)
4431 Added support for/use of spi-listener.h.
4433 C bindings now build successfully, with no warnings.
4434 * libspi/accessibleeventlistener.h : (NEW FILE)
4435 * libspi/accessibleeventlistener.c : (NEW FILE)
4436 * libspi/Makefile.am :
4437 Added new object type "AccessibleEventListener"
4438 which inherits from Listener, and allows attachment
4439 of in-process callbacks (so that a client with a listening
4440 object instance can add functionality to the local
4441 implementation, dynamically).
4443 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4445 * libspi/accessible.c:
4446 Add implementation for get_index_in_parent().
4448 Added #include of "spi-roletypes.h", and
4449 added enumerated type AccessibleCoordType.
4450 Added definition for KeystrokeListener (function type).
4453 * cspi/spi-statetypes.h :
4454 * cspi/spi-roletypes.h :
4456 Added these headers, used by spi.h.
4458 Added code (NOTE: not yet built by make).
4460 2001-08-18 Mark McLoughlin <mark@skynet.ie>
4462 * libspi/Makefile.am: generate imodule
4463 at the same time as other idl compiler
4466 2001-08-17 Bill Haneman <bill.haneman@sun.com>
4467 * libspi/registry.c :
4468 * libspi/application.c :
4469 * idl/Application.idl :
4470 Made registration with toolkit an application method,
4471 which is required since each app has its own toolkit static
4472 environment. Thus the bridge must register for
4473 notification of toolkit events from each application in turn.
4474 Toolkit notifications are now successfully registered for, and
4475 sent to the listening at client.
4477 Changed toolkit event string to use hyphens rather than underscores.
4478 * libspi/listener.c :
4479 listner now gives more info in debug mode - it reports the
4480 name of the event received, as well as the name of the source.
4483 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4485 * libspi/registry.c :
4486 added more implementation for toolkit events.
4487 Fixed bug such that toolkit event registrations
4488 (via atk) use the whole event name string, not
4490 Removed a useless call to an ORBit_ method.
4491 * at-bridge/bridge.c :
4492 Removed unused local sbuf[] variable.
4494 We now register for Gtk:GtkWidget:button_press_event
4495 events as well as "focus:" events.
4497 Add some more API from Registry.idl that was missing,
4498 for keystroke listening, keystroke and mouse event
4499 synthesis, and enumeration of accessible desktops.
4501 2001-08-16 Michael Meeks <michael@ximian.com>
4503 * configure.in: use AM_GLIB_GNU_GETTEXT.
4505 * Makefile.am (SUBDIRS): kill intl.
4507 2001-08-15 Michael Meeks <michael@ximian.com>
4509 * registryd/Makefile.am: s/oaf/server/ relocate info file.
4511 * configure.in: upd.
4513 * configure.in: depend on a recent bonobo-activation that
4514 will find our server files ...
4516 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4518 * libspi/accessible.c : accessible_new() :
4519 Now we add the Component interface via bonobo_object_add_interface,
4520 if the contained AtkObject implements AtkComponent.
4521 * libspi/accessible.h : now include "component.h"
4522 * libspi/component.h :
4523 * libspi/component.c : added files - implementation of
4524 bonobo wrapper object for Accessibility/Component
4525 * libspi/listener.c :
4526 Added test code to check for Accessibility/Component:1.0
4527 interface and report whether it is implemented by the
4529 * libspi/registry.c :
4530 Now we check for not only the hash of the whole event
4531 string before relaying the event, we also check the
4532 "minor" event string (without the detail string).
4533 This allows event listeners to be registered against
4534 all events of a certain major+minor type, or just
4535 against a specific major+minor+detail type.
4536 * libspi/accessible.c :
4537 Added implementations for Accessible:get_parent(),
4538 Accessible:getChildCount(), and Accessible:getChildAtIndex().
4539 * libspi/registry.c :
4540 * libspi/listener.c :
4541 Replaced calls to Accessibility_Accessible_ref() and
4542 Accessibility_Accessible_unref() with
4543 calls to bonobo_object_dup_ref() and
4544 bonobo_object_release_unref(), so that the CORBA object
4545 is dup-ed and released when relayed, as well as the bonobo object.
4547 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4549 * libspi/Makefile.am,
4550 registryd/Makefile.am,
4551 at-bridge/Makefile.am.
4552 test/Makefile.am, configure.in:
4553 reverse previous changes.
4555 * /idl/Image.idl: fix typo.
4557 * test/Makefile.am: put DEBUG_FLAGS
4560 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4562 * test/app.c: use argv[0] instead of
4565 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4567 * libspi/Makefile.am,
4568 registryd/Makefile.am,
4569 at-bridge/Makefile.am.
4570 test/Makefile.am, configure.in:
4571 cleanup, replace individual LIBS/CFLAGS with
4572 AT_COMMON_{LIBS|CFLAGS}.
4576 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4578 * configure.in, libspi/Makefile.am:
4579 Change IDL path checking for bonobo-activation
4582 2001-08-15 Bill Haneman <bill.haneman@sun.com>
4584 * registryd/registry.c : separated event listeners to use
4585 3 separate lists (focus, window, toolkit). Began testing
4586 event names against hashes before relaying events.
4587 * test/at.c : now register for events of type "focus:"
4588 * test/app.c : now generate events of type "focus:"
4589 * at-bridge/bridge.c : register with ATK for focus events,
4590 and we now relay those focus events to any "focus:" listeners.
4591 This now works with the bridge as a GTK_MODULE when running test/at.
4592 * libspi/registry.c :
4593 * libspi/listener.c :
4594 now we ref event sources before propagating, and unref on receipt.
4595 * libspi/registry.c :
4596 some changes to internal structs, to support event typestring hashes.
4597 * text/app.c : changed the way the appname is generated.
4598 * cspi : added directory that will hold the C bindings library for
4599 non-CORBA/bonobo-savvy clients.
4600 * cspi/spi.h : header file that contains the function prototypes for the C binding.
4601 * idl/Component.idl : added in parameter to indicate coord system for
4602 geometry-related calls.
4603 * idl/Hyperlink.idl : added readonly n_links attribute
4604 * idl/Image.idl : changed methods to attributes.
4606 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4608 * at-bridge/Makefile.am: link against
4609 ../libspi/libspi.la instead of -lspi.
4611 * at-spi/test/app.c: include
4612 bonobo-activation.h. Use a default appname
4613 if one is not provided.
4615 2001-08-14 Bill Haneman <bill.haneman@sun.com>
4617 * idl/Registry.idl : temporarily changed register_Application
4618 to oneway, to work around issue with initial registration
4620 * idl/Application.idl : changed attribute "id" from readonly
4621 to read-write, since it needs to be assigned by Registry.
4622 * registryd/registryd.c : added call to set application id
4624 * registryd/registry.c : changed de-registration procedure to
4625 use CORBA_Object_hash() to find matching object ref in application
4626 lists and listener lists.
4627 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
4628 began distinguishing between event types (work in progress).
4630 2001-08-13 Bill Haneman <bill.haneman@sun.com>
4633 * libspi/application.c:
4634 Added implementations for get/set id, get_toolkitName,
4636 * registryd/registryd.c :
4640 Converted from use of OAF to bonobo-activation.
4641 * libspi/desktop.h :
4642 * libspi/desktop.c :
4644 Removed references to atksimpleobject, since base atkobject
4645 implementation now provides functionality we need.
4646 * libspi/atksimpleobject.c :
4647 * libspi/atksimpleobject.h :
4652 * at-bridge/Makefile.am
4653 * at-bridge/bridge.c
4656 Added directory "bridge" and contents, and added dependencies
4657 in Makefile.am/configure.in.
4658 Initial checkin of "at-bridge".
4659 This code is a GTK_MODULE which automatically registers
4660 GTK+ apps with the accessibility registry, using an object
4661 reference to the root ATK object.
4663 2001-08-10 Mark McLoughlin <mark@skynet.ie>
4665 * po/Makefile.in.in: Remove. Again. If this
4666 doesn't get autogenerated - you need to update
4669 2001-08-07 Mark McLoughlin <mark@skynet.ie>
4671 * po/Makefile.in.in: Add. Again.
4673 2001-07-31 Bill Haneman <bill.haneman@sun.com>
4675 * libspi/accessible.c : added support for 'description' property.
4676 * libspi/accessible.c
4678 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
4679 (since the two are now equivalent in libbonobo)
4687 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
4688 Bonobo::Unknown as does Accessibility::Accessible.
4689 * idl/StreamableContent.idl : as above, and replaced internal InputStream
4690 interface with Bonobo::Stream, since it was redundant with it.
4691 (The Stream returned by a StreamableContext object is expected to
4692 implement only a subset of Bonobo::Stream)
4694 2001-07-28 Anders Carlsson <andersca@gnome.org>
4696 * libspi/accessible.c (accessible_object_finalize): Change
4697 g_free to g_object_unref since the AtkObject is a GObject.
4699 2001-07-30 Bill Haneman <bill.haneman@sun.com>
4701 * idl/Accessibility.idl: add new IDL files
4704 * idl/Action.idl: Definitions of actionable UI object
4705 * idl/Component.idl: Definitions of UI component geometry, etc.
4706 * idl/Hyperlink.idl: Defs of hyperlink behavior
4707 * idl/Image.idl: Def of accessible image
4708 * idl/Selection.idl: Definition of UI object with selectable children
4709 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
4710 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
4711 * idl/Text.idl: Interface defs for UI elements with complex textual content
4712 * idl/Value.idl: Definition of UI element that is a value controller or display
4714 2001-07-27 Michael Meeks <michael@ximian.com>
4716 * po/Makefile.in.in: remove autogenerated file from CVS.
4718 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
4721 * idl/Registry.idl: include guard.
4723 * idl/Accessibility.idl: Add, and include all the other IDL
4726 * idl/*.idl: remove mass of pragmas etc.
4728 2001-07-26 Michael Meeks <michael@ximian.com>
4730 * registryd/Makefile.am (registryd_SOURCES): remove
4733 2001-07-27 Mark McLoughlin <mark@skynet.ie>
4735 * libspi/.cvsignore, registryd/.cvsignore,
4736 test/.cvsignore: updated.
4738 * po/Makefile.in.in: gettext update.
4740 2001-07-25 Bill Haneman <bill.haneman@sun.com>
4742 * initial CVS checkin
4744 2001-06-29 Michael Meeks <michael@ximian.com>
4746 * configure.in: add AM_CONFIG_HEADER to gen config.h