1 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3 * libspi/hyperlink.[ch]
4 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
5 (get_hyperlink_from_servant): Check object is AtkHyperlink not
8 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
13 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
15 * registryd/deviceeventcontroller.c
16 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
18 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
19 keyboard_mode so that XAllowEvents() can be called.
23 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
25 * cspi/spi-accessible.c: Correct names of roles returned by
26 AccessibleRole_getName(). Fixes bug #95055.
28 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
30 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
33 * registryd/registry.c
34 (desktop_remove_application: Write diagnostic message to stderr for
37 (impl_accessibility_registry_deregister_global_event_listener):
38 Correct size of lists array. This addresses bug #94555).
40 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
42 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
45 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
47 * registryd/Makefile: Add CLEANFILES so that .server file is removed
50 * registryd/registry.c (impl_registry_notify_event): Remove
51 unnecessary call to parser_event_type().
53 * docs/reference/cspi/tmpl/spi_component.sgml:
54 Add reference to SPI_LAYER_WINDOW.
56 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
58 * registryd/registry.c
59 (desktop_add_application): Remove leak.
60 (desktop_remove_application): Remove leak.
61 (parser_event_type): Remove leak.
63 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
65 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
66 bogus call to CORBA_string_dup(). Also removed unnecessary
67 g_string_dup/g_free calls.
69 2002-09-13 Bill Haneman <bill.haneman@sun.com>
71 * registryd/deviceeventcontroller.c:
72 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
74 * test/event-listener-test.c:
75 main: commented out three redundant listeners, to reduce output
76 noise. (They still are potentially useful for testing).
79 2002-09-13 Michael Meeks <michael@ximian.com>
81 * Update all the copyrights to include Ximian.
83 2002-09-06 Mark McLoughlin <mark@skynet.ie>
85 * cspi/spi.h: add SPI_LAYER_WINDOW.
87 * cspi/spi_component.c: (AccessibleComponent_getLayer):
88 add Accessibility_LAYER_WINDOW case.
90 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
92 * libspi/component.c: (impl_accessibility_component_get_layer):
93 add ATK_LAYER_WINDOW case.
95 2002-08-28 Bill Haneman <bill.haneman@sun.com>
97 * configure.in: incremented micro version.
99 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
101 2002-08-20 Bill Haneman <bill.haneman@sun.com>
104 Clarified and reworded our commit policy.
107 Started an API "todo" addition list for 2.2.
111 Free char pointer from atk_text_get_selection, which was being leaked.
113 2002-08-19 Bill Haneman <bill.haneman@sun.com>
116 Small revision to author acknowledgement.
118 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
120 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
121 If signal has detail add it to the type of the event.
124 2002-08-12 Michael Meeks <michael@ximian.com>
126 * test/test-simple.c (global_listener_cb): bin bogosity.
127 (test_keylisteners): disable, still doesn't work reliably,
128 certainly not on my system anyway.
130 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
131 don't leak a reference on the DEC. This round-trip
132 fetching of the DEC per keystroke sucks, it should be
135 * cspi/spi-private.h,
136 * cspi/cspi-lowlevel.h,
137 * cspi/bonobo/cspi-bonobo-listener.[ch],
138 * cspi/bonobo/cspi-bonobo.c: get the copyright
139 notices better - there is still a large amount of
140 work in at-spi falsely attributed solely to Sun.
142 * cspi/spi_main.c (cspi_object_ref): kill bogus
143 hash lookup, just increment the ref.
144 (SPI_freeString): make explicit the fact that we
145 handle NULL strings just fine.
146 (report_leaked_ref): obey coding standards.
147 (cspi_object_hash, cspi_object_equal): kill retval.
148 (cspi_object_release): only release if not on loan.
149 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
150 (cspi_object_borrow, cspi_object_return): impl.
152 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
153 use cspi_object_borrow / return.
155 2002-08-12 Darren Kenny <darren.kenny@sun.com>
157 * cspi/bonobo/cspi-bonobo-listener.c:
159 Don't call cspi_oject_new() because this is creating a new Accessible
160 every single time that an event is fired. This causes ATs like at-poke
161 to nolonger recognise the source of the event and thus ignore it.
162 Re-use the object from the cache, ref it and then unref it after the
163 listeners have been called.
165 2002-08-06 Darren Kenny <darren.kenny@sun.com>
167 * test/event-listener-test.c:
168 Added command-line options to disable mouse events (m) and
171 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
173 * configure.in: Update required versions of ATK, GTK+ and GAIL
175 * cspi-1.0.pc.in: Add dependency for X include files
178 * cspi/bonobo/Makefile.am:
179 Add $(X_CFLAGS) so that X include files
180 are picked up even if not in standard place (bug #71686)
182 2002-06-25 Bill Haneman <bill.haneman@sun.com>
184 * registryd/deviceeventcontroller.c: fix for 84261
185 (spi_dec_mouse_moved):
186 Added test of mouse button mask, so that we can detect mouse
187 button release. Unfortunately we can't otherwise detect mouse
188 button release events without consuming the mouse press event,
189 because of the way XGrabButton works. This means that our mouse
190 release events have a latency dependent on the polling period
191 while the mouse button is down. At least in this case we only
192 have to poll while the button is down, and not at other times.
193 If the button masks don't match with what the last press event
194 reported, we report the appropriate button release event.
195 (spi_dec_ungrab_mouse):
196 New method (not yet called).
197 (spi_device_event_controller_forward_mouse_event):
198 New method, sends mouse press event from GdkFilter.
199 (spi_dec_init_mouse_listener):
200 Added code to call XGrabButton, redirecting mouse button events to
201 the root window and our Gdk event loop.
203 Added code to filter mouse button events, and reordered.
205 * test/event-listener-test.c:
207 Added registration for mouse events of type "mouse:button".
209 2002-06-25 Bill Haneman <bill.haneman@sun.com>
211 * registryd/deviceeventcontroller.c: partial fix for 84261
212 (spi_dec_poll_mouse_idle):
213 New method, a timeout which checks to see if the mouse
215 (spi_dec_poll_mouse_moving):
216 A timeout to be called when mouse motion is underway.
217 (spi_dec_poll_mouse_moved):
218 A method which fires an event if the mouse has moved, and reports
219 whether or not it did so.
220 (spi_dec_init_mouse_listener):
221 A method which sets up the timeouts above.
222 (spi_device_event_controller_new):
223 Now calls spi_dec_init_mouse_listener.
225 * registryd/registry.c:
227 Now we initialize the device event controller when the registry is
228 initialized, instead of waiting until a client has requested a key
229 event notification; this is because we need the event controller
230 for mouse events, but the mouse event registration API is a
231 "registry" call and doesn't explicitly call the
232 deviceeventcontroller.
233 We now report mouse motion events with a 100 ms idle latency and
234 a 20 ms granularity when motion is in progress.
236 * test/event-listener-test.c:
238 We now register the "detail listener" for events of type
239 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
240 delivered only for the first mouse event received, and thereafter
241 "mouse:abs" events are delivered.)
243 * cspi/spi_registry.c:
244 DOCS: Documented the above mouse event typestrings.
246 2002-06-21 Bill Haneman <bill.haneman@sun.com>
248 Happy Summer Solstice...
250 * registryd/deviceeventcontroller.c: [fix for bug 84100]
251 (spi_controller_notify_keylisteners):
252 Changes to remove a listener from the listener list, freeing its
253 open keygrabs, if a notification to that listener fails. This
254 means that although a dead listener can continue to hold a passive
255 keygrab, a maximum of one dispatch to such a listener can fail
256 before the listener is removed from the list, thus the keygrab
257 will be released on the next occurrence.
259 (spi_notify_keylisteners):
260 Renamed to spi_controller_notify_keylisteners, as the controller
261 instance must now be passed as an argument.
262 The copied 'notify' GList is now a list of DEControllerKeyListener
263 objects, since we need more than just the CORBA reference if a
264 notify fails and we need to deregister the listener.
265 (impl_notify_listeners_sync):
266 (impl_notify_listeners_async):
267 (spi_device_event_controller_forward_key_event):
268 Modify use of notify_keylisteners in accordance with above
270 (spi_deregister_controller_key_listener):
271 New method introduced by refactoring, from
272 impl_deregister_keystroke_listener.
273 (impl_deregister_keystroke_listener):
274 Call spi_deregister_controller_key_listener.
275 (spi_key_listener_clone):
276 New method to copy a key listner without doing a 'ref' on the
277 remote object instance; used to create a notifier list.
278 (spi_key_listener_data_free):
279 New method, frees data without unreffing the source.
281 (spi_key_listener_clone_free): new method.
282 (spi_key_listener_free):
283 refactored to call spi_key_listener_data_free.
285 2002-06-20 Bill Haneman <bill.haneman@sun.com>
287 * registryd/registry.c: [fix for bug 86048]
288 (notify_listeners_cb):
289 Clear CORBA system exceptions which occur when notifying
290 listeners, before returning to the source of the original event,
291 since the event source doesn't care if the relayed notify failed.
292 In other words, don't complain to the atk-bridge if the registry
293 could not notify all its listeners, that's no fault of the
294 application and thus should not appear to be an error from the
295 application's perspective.
297 * cspi/spi_main.c: [fix for bug 85980]
299 Replaced use of bonobo_object_dup_ref with call to the wrapper
300 method, csou_dup_ref (); this silences a compiler warning and
301 provided more portability.
303 Ping the registry before return, and restart if necessary.
305 * cspi/bonobo/cspi-bonobo.c:
309 Fixed this method to return an object reference, as it should have
312 * cspi/cspi-lowlevel.h:
313 Added internal definition for cspi_ping() and fixed
314 return type of cspi_dup_ref().
317 2002-06-19 Bill Haneman <bill.haneman@sun.com>
319 * atk-bridge/bridge.c: [fix for bug 85305]
320 (spi_atk_bridge_register_application):
321 New method where the initial application registry calls have been
322 moved; it allows an application to re-register in response to
323 certain error conditions (such as a registry restart, see below).
325 Moved some initialization code to the method
326 spi_atk_bridge_get_registry, below.
327 (spi_atk_bridge_get_registry):
328 New, private accessor function for the Accessibility_Registry
329 instance. If the registry has not been started before, or has
330 died (as detected by failure of a CORBA exception), it is
331 restarted before return, and spi_atk_bridge_register_application
332 is called again to register with the new bridge instance.
333 (spi_atk_emit_eventv):
334 Set registry_died on error; use spi_atk_bridge_get_registry () to
337 * registryd/registry.c:
338 (impl_accessibility_registry_register_global_event_listener):
339 Set listener's event_type_quark to etype.minor instead of
340 etype.major (fix for bug 84856).
342 * test/event-listener-test.c:
343 (report_detail_event):
344 Change the output string so that user/tester can tell that the
345 'detail listener' was called instead of the 'generic listener'.
347 2002-06-18 Bill Haneman <bill.haneman@sun.com>
349 Fixes for bugs 84900, 84908, 84897, 84898.
354 Revved version to 1.1.0
355 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
356 version is going to HEAD which will be used for gnome-2-0-1 and later.)
358 * idl/Accessibility_Registry.idl:
359 (EventListener::notifyEvent):
360 Removed 'oneway' directive after extensive consulation with
361 ORBit2 team and others. This means also that unref() of the event
362 source can and should be done synchronously after emission, rather
363 than remotely in the client, after servicing the notify call on
366 NOTE: This change speeds up listener performance considerably, but
367 introduces new latency on the application side. We may want to
368 add an event queue to the atk-bridge.
370 * atk-bridge/bridge.c:
371 (spi_atk_bridge_focus_tracker):
372 Do a local unref() on the event source after emission.
374 * registryd/registry.c:
375 (desktop_remove_application):
376 Do an unref() on the event source after emission.
377 (desktop_add_application):
378 Do an unref() on the event source after emission.
379 (notify_listeners_cb):
380 When relaying an event, don't automatically add the event source
381 to the local object cache, just CORBA_dup it instead. Likewise,
382 if this method reenters, release the ref rather than calling
384 (impl_registry_notify_event):
385 No longer call remote unref() on the event source after dispatch.
387 * libspi/eventlistener.c:
388 (impl_accessible_event_notify_event):
389 Removed remote unref ()
391 * cspi/bonobo/cspi-bonobo-listener.c:
393 We now call cspi_object_new() instead of cspi_object_add() on
394 receipt of an event; thus we only have an implicit object ref
395 while the cspi_event method is being executed. If we need to keep
396 a reference to the object, the listener must call ref() on the
397 object. Thus also we don't need to call cspi_object_unref() after
398 invoking the listener callbacks in this method.
402 New internal API for creating a new cspi object, without adding it
405 Now uses cspi_object_new() to create the cspi object instance.
407 Now checks to see if the object is in the internal object cache,
408 and adds it if necessary before incrementing its refcount (note
409 that new objects are added with a refcount of 1).
411 New method which gives some information on leaked object instances
412 if leak detection is turned on.
414 * test/event-listener-test.c:
416 New method, used for testing event delivery timing for special
417 events of type "object:test". It reports elapsed time and
418 events/sec every 500 events.
420 Added a new listener, 'test listener', to check timing of event
421 receipt as noted above.
423 Added some timing output here also, reports elapsed time every 100
426 * test/stress-test.c:
427 Emit events of type "object:test", for use with "event-listener-test".
429 * test/test-simple.c:
430 (global_listener_cb):
431 Call Accessible_ref() on the event source before calling
432 validate_accessible, since the validation process does pointer
433 comparisons on the event source, meaning that the event source
434 needs to be added to the local object cache first. Any use of
435 such pointer comparisons between Accessible objects requires that
436 the caller hold an explicit reference to those objects.
437 We also must therefore call Accessible_unref() when leaving this method.
439 2002-06-13 Bill Haneman <bill.haneman@sun.com>
441 * registryd/deviceeventcontroller.c:
442 (spi_controller_update_key_grabs):
443 Fix for #84735, subsequent keygrab listeners not informed of
444 registration failure.
447 (spi_base_construct):
448 Add an assertion on construct, to make sure the GObject passed in
451 Explicitly initialize object->gobj pointer to NULL;
453 * cspi/bonobo/cspi-bonobo-listener.c:
454 (cspi_object_add_ref):
455 New method, can specify whether to dup-ref a bonobo object passed
456 in if it's newly added to the object cache.
458 Now calls cspi_object_add_ref with second param of "FALSE". This
459 prevents us from doing a pointless dup-ref followed by
460 release-unref for all those cases where the object is already in
461 our object cache (fix for #85205).
463 * atk-bridge/bridge.c:
464 (spi_atk_bridge_idle_init):
465 Removed this method, we don't need to initialize in an idle
468 Changed to call spi_atk_register_event_listeners directly, not via an
469 idle handler. (fix for #81139)
470 (gnome_accessibility_module_shutdown):
471 Removed conditional around deregistration of listeners, since we
472 don't use the idle handler and thus have always registered when
474 (spi_init_keystroke_from_atk_key_event):
475 Changed references to Accessibility_KEY_PRESSED to
476 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
478 2002-06-12 Bill Haneman <bill.haneman@sun.com>
480 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
485 * test/stress-test.c:
488 (may have been an incomplete commit yesterday?)
490 2002-06-12 Bill Haneman <bill.haneman@sun.com>
493 Added target for new stress-test.
495 * test/stress-test.c:
496 New test, sends 1000 focus notifies in quick succession.
498 * test/key-listener-test.c:
499 Now we report whether a keylistener registration
500 request succeeded or failed.
502 * test/event-listener-test.c:
503 Uncommented some listeners which are now implemented.
506 2002-06-06 Bill Haneman <bill.haneman@sun.com>
508 * registryd/deviceeventcontroller.c:
509 (spi_controller_update_key_grabs):
510 Fix for #82509, lack of failure notification when
511 ALL_WINDOWS keygrabs fail due to XGrabKey
512 failure: we synchronize the server when
513 registering a passive grab, to make sure we get the
514 error message before the call returns.
516 2002-06-03 Bill Haneman <bill.haneman@sun.com>
518 * test/test-simple.c:
520 Removed #ifdef KEY_IMPL_WORKS guards.
522 Removed #ifdef KEY_IMPL_WORKS guards.
523 Fixed bug which was causing a hang waiting for a
524 "press" event (which was already overwritten by a "release"
525 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
527 Added code to set globals 'key_press_received' and
528 'key_release_received'.
531 Added section "1.1 API Proposed Additions" which
532 lists API additions desired for at-spi-1.1 (only one so far).
533 Updated TODO list a little.
535 2002-06-02 Bill Haneman <bill.haneman@sun.com>
537 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
540 * configure.in: Revved to 1.0.0.
542 * idl/Accessibility_Registry.idl:
543 (registerKeystrokeListener):
544 Added boolean return value.
546 * registryd/registry.c:
547 (notify_listeners_cb): Minor fix to debug output.
549 * registryd/Accessibility_Registry.server.in.in:
550 Revved version number in OAFIID to 1.0.
552 * registryd/registryd.c:
554 Use new OAFIID version.
556 * cspi/bonobo/cspi-bonobo.c:
558 Use new OAFIID version.
564 * atk-bridge/bridge.c:
566 Use new OAFIID version.
568 * registryd/deviceeventcontroller.c:
569 (impl_register_keystroke_listener):
570 Added CORBA_boolean return value.
571 (spi_controller_register_device_listener):
572 Added gboolean return value.
573 (spi_controller_register_global_keygrabs):
574 Added gboolean return value.
575 (spi_key_set_contains_key):
576 Added implementation for many more control keys,
577 for instance F1-F12, arrow keys, End, Home, Page_Up,
579 [TODO: some still not implemented].
581 * text/screen-review-test.c:
582 (text_chunk_pad_string):
583 New function: it provides mapping between coordinate
584 positions of text chunks and character positions in the
585 screen-review-line output string.
586 (text_chunk_to_string):
587 New function, calls text_chunk_pad_string with various
588 pad/delimiter characters. Pushbuttons are delimited with
589 square brackets, Frames with vertical 'pipe' lines, and
590 other text with double quotes.
591 (text_chunk_list_to_string):
592 Calls new function text_chunk_to_string.
593 (toplevel_composite):
594 New function to composite layers CANVAS through
595 POPUP in each toplevel (other layers are composited
596 across toplevels, i.e. BACKGROUND and OVERLAY).
597 (review_buffer_composite):
598 Revise to use new methods.
604 2002-05-31 Laszlo Peter <laca@sun.com>
606 * configure.in: add the Xtst libdir to the runpath on Solaris,
607 since it's not in the default library search path.
609 2002-05-29 jacob berkman <jacob@ximian.com>
611 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
613 2002-05-29 Bill Haneman <bill.haneman@sun.com>
615 * test/screen-review-test.c:
616 (text_chunk_pad_string):
617 Added method, which pads the string according to the
618 text bounds of the chunk. It also takes a 3-character
619 string as a param which indicates the characters to be
620 used for start, padding, and end delimitation of the chunk.
621 (text_chunk_to_string):
622 Changed to use text_chunk_pad_string.
624 * configure.in: Fixed bug in AC_OUTPUT that was
625 causing path substitution in Accessibility_Registry.server
628 2002-05-23 Bill Haneman <bill.haneman@sun.com>
630 * text/screen-review-test.c:
632 New method which attempts a best-guess at clipping
633 text from components (like Java labels) which don't
634 actually implement AccessibleText. This inaccurate
635 clip is based on the assumption that the label is
636 justified left-and-right, and monospaced.
637 (text_chunk_get_clipped_string):
638 We now call guess_string_clip() for text-containing
639 components that don't implement AccessibleText.
641 * test/screen-review-test.c:
642 (review_buffer_get_text_chunk):
643 We now pull "name" from labels if they do not implement
644 AccessibleText (i.e. for Java labels).
645 (get_screen_review_line_at):
646 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
649 Replaceded AC_OUTPUT target
650 registryd/Accessibility_Registry.server with
651 registryd/Accessibility_Registry.server.in.
653 * registryd/Accessibility_Registry.server.in:
654 Removed (this is now a Makefile target).
656 * registryd/Accessibility_Registry.server.in.in:
657 Added (source for target above). We now use $(libexecdir) as
658 prefix for the executable at-spi-registryd.
660 * registry/Makefile.am:
661 Now install at-spi-registryd into $(libexecdir), and build .server
662 file with path (see above).
664 2002-05-22 Bill Haneman <bill.haneman@sun.com>
666 * test/screen-review-test.c:
667 (text_chunk_get_clipped_string):
668 We now check to see if words fall within clip bounds
669 before resorting to character-by-character clip bounds testing.
671 * TODO: Added a section for "2.2 Proposed API Additions".
673 2002-05-21 Bill Haneman <bill.haneman@sun.com>
675 * test/screen-review-test.c:
677 Added a screen review benchmarking and test program to test
680 * cspi/spi_accessible.c:
682 Made some of the debug strings passed to cspi_check_ev a
683 little more specific.
685 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
687 * test/screen-review-test.c: Fix crashes in debug statements
689 2002-05-20 Bill Haneman <bill.haneman@sun.com>
691 * test/screen-review-test.c: Added this file.
693 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
695 * atk-bridge/bridge.c: changed "object:state-change" to
696 "object:state-changed" to match docs.
698 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
700 * atk-bridge/bridge.c: Hooked up state-change event details.
702 2002-05-11 Bill Haneman <bill.haneman@sun.com>
704 * registryd/registry.c:
705 Fixed quarking bug in event string parsing; now events with
706 detail parameters get matched correctly to listeners.
709 * util/idl/Magnifier.idl: remove.
711 * util/*.[ch]: Remove.
712 Magnification utilities and IDL are now in module gnome-mag.
714 2002-05-10 Bill Haneman <bill.haneman@sun.com>
716 * registryd/deviceeventcontroller.c:
717 Fixed bug in grab key conversion which was causing keycode grabs
718 to be converted to AnyKey grabs.
721 updated NEWS file to reflect recent spin-off of gnome-mag.
723 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
725 * cspi/spi_accessible.c: Added exception checks. Fixed completely
726 busted AccessibleStateSet_compare. Removed redundant casts.
728 * cspi/spi-action.c: Removed redundant casts.
730 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
732 * cspi/spi_component.c: Fixed typos and casting error.
734 * cspi/spi_editabletext.c: Removed redundant casts.
736 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
738 * cspi/spi_hypertext.c: Eliminated redundant casts.
740 * cspi/spi_image.c: Eliminated redundant casts.
742 * cspi/spi_registry.c: Eliminated redundant casts.
743 SPI_deregisterGlobalEventListenerAll () removed retval variable.
744 * cspi/spi_selection.c: Removed redundant casts.
745 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
746 handling. Screen geometry and text offsets were being returned as 0
747 on error which is technically valid-- changed these to return -1.
748 Added marshaller for text boundary types to fix bug with boundary
749 types being passed incorrectly to atk.
751 2002-05-09 Bill Haneman <bill.haneman@sun.com>
754 * cspi/spi_registry.c:
755 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
756 which was uncovered by the recent key changes.
758 2002-05-09 Bill Haneman <bill.haneman@sun.com>
760 * test/event-listener-test.c:
762 Added new test, "event-listener-test";
763 this code does two things; it benchmarks traversal time
764 for the accessible hierarchy for the first running accessible
765 app, and it connects listeners for all supported event types.
766 It is thus useful as an example event listener and for
767 diagnostics/debugging of event generation.
769 2002-05-08 Bill Haneman <bill.haneman@sun.com>
772 Removed unnecessary dependency on libutil.
775 Revved micro version: 0.13.1
777 2002-05-08 Bill Haneman <bill.haneman@sun.com>
780 Removed util/Makefile from targets.
783 Removed util subdir from SUBDIRS (temporarily,
784 pending removal of magnifier-only code
788 #ifdef-ed out magnifier dependencies, since
789 magnifier IDL, headers, and binary now live in
790 module gnome-mag and we don't want at-spi to depend
791 on gnome-mag. A magnifier demo which can run alongside
792 simple-at is forthcoming in the gnome-mag module.
794 NOTE: Split magnifier binary, IDL, and magnification
795 activation code from at-spi into module gnome-mag.
797 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
799 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
800 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
802 2002-05-03 Bill Haneman <bill.haneman@sun.com>
805 Revved to version 0.13.0
807 * idl/Accessibility_Registry.idl:
808 Changed definition of KeySet from sequence of longs to sequence of
809 KeyDefinitions, and added KeyDefinition struct.
810 Required for fix to bug 80616.
812 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
813 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
814 to use new definition (see above).
816 * registryd/deviceeventcontroller.c: handle_keygrab(),
817 spi_keyset_contains_key():
818 Changed to make use of new struct; this allows matching based on
819 string key-name, for instance "Tab". This also allows matching of
820 composed characters, non-alphanumeric characters in a way that
821 doesn't involve dependencies on X keysym codes directly, etc.
823 * test/key-listener-test.c:
824 Added test for Alt-Tab key using "string" specification of keyset,
825 and modified one of the tests to use a keycode-based keyset.
826 Thus this test both tests and demonstrates the creation and use of
827 keysets of three forms: specified via keycode array,
828 keysym array, and string array. (The string case only contains a
829 single string, i.e. a string array of length 1).
832 Turned on PRINT_TREE option by default. Also fixed a
833 string-freeing bug in the PRINT_TREE code.
834 Added a listener to window:minimize events.
836 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
838 * atk-bridge/bridge.c:
839 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
840 for window:activate and window:deactiveate
841 (atk_bridge_property_event_listener atk_bridge_signal_listener
842 atk_bridge_window_event_listener) Tidy debug code
844 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
846 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
847 Fixed handling for NULL return value from ATK.
849 * libspi/action.c libspi/component.c libspi/editabletext.
850 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
851 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
852 Removed redundant casts.
854 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
855 Fixed off by one bug.
857 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
858 function not present in idl)
860 2002-05-02 jacob berkman <jacob@ximian.com>
862 * atk-bridge/Makefile.am: make atk-bridge a real module
864 2002-04-26 Radek Doulik <rodo@ximian.com>
866 * libspi/stateset.c (spi_init_state_type_tables): fix size of
867 atk_state_types table
869 2002-04-22 jacob berkman <jacob@ximian.com>
872 * libspi/Makefile.am: add deps on the built files to help
873 automake, and don't version the ORBit typelib
875 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
877 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
878 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
879 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
880 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
881 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
882 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
883 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
884 libspi/accessible.h libspi/accessible.h libspi/base.h
885 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
886 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
887 libspi/relation.h libspi/remoteobject.h libspi/selection.h
888 libspi/spi-private.h libspi/statetset.h libspi/table.h
889 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
890 util/mag_client.h util/mag_control.c util/mag_image.c
891 util/mag_image.h util/magnifier.c util/magnifier.h:
892 Add missing file headers; standardize existing ones
894 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
896 * atk-bridge/bridge.c: Added window event support.
898 2002-04-18 Michael Meeks <michael@ximian.com>
900 * libspi/relation.c (impl_getNTargets): impl.
901 (impl_getTarget): impl.
903 * libspi/Makefile.am: fix stateset install.
905 2002-04-17 Bill Haneman <bill.haneman@sun.com>
908 Started putting useful info in this file.
910 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
912 * atk-bridge/bridge.c:
913 Propagate state-changed notifications to ATs
915 * cspi/spi_registry.c: update docs to reflect actual behavior of
918 2002-04-17 Bill Haneman <bill.haneman@sun.com>
921 Incremented version to 0.12.1
924 Add missing declaration for magnifier_exit,
925 used by mag_control.c - Forte compiler didn't like
926 the implicit redeclaration of the function :-(
929 2002-04-16 Bill Haneman <bill.haneman@sun.com>
932 Revved version to 0.12 due to API change (see below).
934 * cspi/spi-roletypes.h:
935 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
936 definition from the inline docs, and added docs
937 for SPI_ROLE_LAST_DEFINED.
940 * cspi/spi_streamablecontent.c:
941 Added missing seek_type parameter to
942 (so far unused) method,
943 AccessibleStreamableContent_seek().
944 [ RT approval JodyG. ]
947 Fixed docs for SPI_createAccessibleKeystrokeListener.
949 * cspi/spi_registry.c:
950 Fixed docs for SPI_KEYSET_ALL_KEYS.
952 * docs/reference/cspi/at-spi-cspi-sections.txt:
953 Added a number of missing APIs to SECTIONS.
955 2002-04-16 Bill Haneman <bill.haneman@sun.com>
957 * registryd/Makefile.am:
959 * cspi/bonobo/Makefile.am:
960 Add $(X_LIBS) to makefiles.
962 2002-04-15 Bill Haneman <bill.haneman@sun.com>
965 Revved version to 0.11.
967 * libspi/component.c:
968 Added implementation for grabFocus.
970 * idl/Accessibility_Component.idl
971 (Accessibility_Component_grabFocus):
972 Made this method return boolean to indicate success or failure, to
973 be consistent with cspi and the corresponding ATK method.
975 * idl/Accessibility_Selection.idl
976 (Accessibility_Selection_selectAll) :
977 Made these methods return boolean to indicate success or
978 failure, to be consistent with cspi and the corresponding ATK methods.
980 * idl/Accessibility_EditableText.idl
981 (Accessibility_EditableText_setTextContents,
982 Accessibility_EditableText_insertText,
983 Accessibility_EditableText_cutText,
984 Accessibility_EditableText_deleteText,
985 Accessibility_EditableText_pasteText):
986 Made these methods return boolean to indicate
989 * cspi/spi_editabletext.c:
990 Made these methods return booleans.
992 * libspi/selection.c:
993 * libspi/component.c:
994 * libspi/editabletext.c:
995 Connected the boolean returns from ATK
996 to the server-side code referenced above.
998 2002-04-14 Bill Haneman <bill.haneman@sun.com>
1000 * idl/Accessibility_Table.idl: Added missing methods,
1001 Accessibility_Table_addRowSelection,
1002 Accessibility_Table_addColumnSelection,
1003 Accessibility_Table_removeRowSelection,
1004 Accessibility_Table_removeColumnSelection.
1007 Added C wrappers for above IDL:
1008 AccessibleTable_addRowSelection,
1009 AccessibleTable_addColumnSelection,
1010 AccessibleTable_removeRowSelection,
1011 AccessibleTable_removeColumnSelection.
1014 Added server-side implementation code for IDL above, connecting
1015 to pre-existing ATK api.
1017 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
1019 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
1021 * libspi/accessible.c: Added implementation fo
1022 Accessibility_Accessible_get_state.
1024 * libspi/libspi.h: Added stateset.h to the list of includes.
1026 * libspi/stateset.c: Fixed broken implementation.
1028 2002-04-13 Bill Haneman <bill.haneman@sun.com>
1031 Added implementation code for Accessibility_Magnifier_exit ().
1033 * util/mag_control.c:
1034 Added test code for above method; you can
1035 now kill an existing magnifier via
1036 ./mag_control q, from the util directory.
1038 * test/key-listener-test.c:
1040 Added a new test, for our key listener API.
1042 2002-04-11 Bill Haneman <bill.haneman@sun.com>
1044 * test/app.c, test/keysynth-demo.c:
1046 Replace use of snprintf with g_snprintf.
1047 (fix for bugzilla 78249)
1049 2002-03-27 Michael Meeks <michael@ximian.com>
1053 * util/Makefile.am (INCLUDES): fix.
1054 (DONT_DIST_SOURCE): don't distribute the
1057 * libspi/Makefile.am (dist-hook): ditto.
1059 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
1061 * libspi/hypertext.c:
1062 Fix warnings when yelp is used with atk-bridge
1064 2002-03-21 Michael Meeks <michael@ximian.com>
1066 * libspi/application.c (spi_application_new):
1067 use spi_accessible_construct so we use the AtkObject
1070 2002-03-19 Michael Meeks <michael@ximian.com>
1072 * registryd/registry.c (desktop_remove_application),
1073 (desktop_add_application): clean coding style.
1075 * registryd/desktop.c (spi_desktop_remove_application),
1076 (spi_desktop_add_application): kill re-enterency hazards.
1077 (spi_desktop_dispose): remove bogus redundant cast
1078 obscuring bug; fix bug too.
1079 (spi_desktop_init): make the desktop object immortal.
1081 2002-03-16 Bill Haneman <bill.haneman@sun.com>
1084 Added a #define-guarded tree-traversal step
1085 when enumerating the apps (diagnostic tool).
1087 2002-03-15 Bill Haneman <bill.haneman@sun.com>
1089 * idl/Accessibility_Role.idl:
1090 Added ROLE_DRAWING_AREA which seemed to be missing from the
1093 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1095 * cspi/spi-roletypes.h cspi/spi_accessible.c
1096 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
1099 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
1100 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
1101 AT when applications are added and removed from the desktop. This
1102 reverts the previous broken implementation using the backing
1103 AtkObject for the SpiDesktop.
1105 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1107 * registryd/desktop.c: emit the "children-changed::add" and
1108 "children-changed::remove" signals on the backing ATK object for
1109 the desktop so AT can tell when applications are started and shut
1112 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1114 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
1116 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1118 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
1120 * cspi/spi_accessible.c: Implemented c bindings for stateset support
1122 * cspi/state-types.h: synched with IDL and ATK
1124 2002-03-13 Bill Haneman <bill.haneman@sun.com>
1126 * libspi/accessible.c
1127 (impl_accessibility_accessible_get_child_at_index):
1128 Change return value for g_return_if_fail ()
1129 to CORBA_OBJECT_NIL instead of "0" (!)
1131 * registryd/Makefile.am:
1132 * registryd/Accessibility_Register.server.in:
1133 Changed name of executable, "registryd",
1134 to something more informative:
1137 2002-03-13 Michael Meeks <michael@ximian.com>
1139 * atk-bridge/bridge.c (atk_bridge_init): don't register
1140 if we're in a bonobo-component, rather than a bonobo app.
1142 2002-03-13 Michael Meeks <michael@ximian.com>
1144 * atk-bridge/bridge.c (gtk_module_init): split
1145 out body to (atk_bridge_init): here, since otherwise
1146 we get symbol conflicts and oddness when invoked
1147 from (gnome_accessibility_module_init): here (upd.)
1149 2002-03-11 Bill Haneman <bill.haneman@sun.com>
1152 New file. Explicitly allow "build sheriff" putbacks provided
1153 they are tested on Solaris.
1155 * docs/reference/cspi/Makefile.am:
1156 Added '-' to the "cp" command for index.sgml.
1157 ("patch by thomasvs, soon coming to a GUADEC near you")
1160 Incremented version number (0.9.0) for new release.
1161 Changed macro that checks for popt, to better detect
1162 obsolete versions of popt.
1165 Added X_LIBS to AC_SUBST, for applications
1166 that call Xlib API directly.
1169 2002-03-07 Bill Haneman <bill.haneman@sun.com>
1172 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
1175 Fix regression caused by hard-coding major
1176 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
1179 * test/test-simple.c (test_editable_text),
1180 (test_test): revert previous change (error was
1181 a regression in gail which is now fixed).
1183 2002-03-04 Michael Meeks <michael@ximian.com>
1185 * test/test-simple.c (test_editable_text),
1186 (test_text): pass G_MAXINT instead of '-1' for
1187 whole string - is this a good thing !?
1189 * cspi/spi_accessible.c
1190 (Accessible_getRelationSet): fix crasher bug
1191 overwriting the end of the array.
1193 * test/test-simple.c (validate_accessible): free,
1194 not g_free returned relation set.
1196 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
1198 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
1199 implemented stateset support
1201 * idl/Accessibility_State.idl: Made necessary changes to
1202 the IDL to support state sets.
1204 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1206 * registryd/deviceeventcontroller.c:
1207 Added implementation for generateMouseEvent.
1209 * cspi/spi_registry.c:
1210 Connected new implementation for generateMouseEvent
1213 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1216 Incremented revision (but no change in public API
1217 outside of 'utils', which are not installed public yet.)
1219 * libspi/component.c:
1220 Changed to use atk_component API for layers and
1221 mdi_zorder, instead of deprecated atk_object API.
1223 Magnification Utility Enhancements:
1226 Added implementation of createZoomRegion, clearAllZoomRegions,
1227 resizeZoomRegion. Added new commandline argument
1228 "--no-initial-region". Note that clearAllZoomRegions doesn't
1229 unmap the old '0' region as it should (yet), and the other
1230 methods only work when creating/resizing a single region,
1231 which is "region 0".
1232 (Code for multiple region support will be added later.)
1235 Now we raise the magnifier window each time it's refreshed;
1236 this will help keep it on top.
1238 * util/mag_client.h:
1239 Added simple wrappers for above, used by mag_control.
1240 For general use, it's recommended to use the bonobo magnifier
1241 control API directly instead of using these wrappers.
1244 Moved ZoomRegionData from magnifier.c to this file.
1246 * util/mag_control.c:
1247 Added some code to exercise new IDL implementations.
1249 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
1251 * libspi/text.c: Provide implementation for getAttributes.
1253 2002-02-04 Bill Haneman <bill.haneman@sun.com>
1256 Incremented revision.
1258 * test/test-simple.c:
1259 Replaced use of deprecated g_main_iteration with
1260 g_main_context_iteration.
1262 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
1265 Incremented revision for desktop alpha 2.
1267 2002-01-28 Mark McLoughlin <mark@skynet.ie>
1269 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
1272 * test/simple-at.c: include netinet/in.h.
1274 2002-01-24 Mark McLoughlin <mark@skynet.ie>
1276 * cspi/spi_accessible.c: (Accessible_getRelationSet):
1277 use NULL, not CORBA_OBJECT_NIL.
1279 * libspi/accessible.c:
1280 (impl_accessibility_accessible_get_relation_set):
1281 allocate the sequence correctly.
1283 * libspi/remoteobject.h: kill spi_remote_object_new.
1285 * test/test-simple.c: (validate_accessible): add code
1286 to test relation sets, now all we need is to figure
1287 out how to excercise this code path :/
1289 2002-01-18 Michael Meeks <michael@ximian.com>
1291 * test/test-simple.c
1292 (key_listener_cb): consume the key.
1293 (test_keylisteners): update.
1294 (main): wait for any pending unrefs on events.
1296 * registryd/deviceeventcontroller.c
1297 (spi_controller_update_key_grabs): only re-issue the
1298 grab on a key release.
1299 (spi_device_event_controller_forward_key_event):
1300 refresh the keygrabs before we notify the listeners,
1301 to reduce the X ungrab / re-grab race.
1302 (spi_controller_register_with_devices): remove
1303 XSelectInput - we do that with the gdk_window_ call.
1304 (_spi_controller_device_error_handler): return a value.
1305 s/GDK_DISPLAY/spi_get_display/
1307 2002-01-17 Michael Meeks <michael@ximian.com>
1309 * registryd/deviceeventcontroller.c
1310 (_deregister_keygrab): don't blow out the later
1313 * test/test-simple.c (test_keylisteners): do a
1314 more intelligent validation.
1316 2002-01-14 Michael Meeks <michael@ximian.com>
1318 * atk-bridge/bridge.c
1319 (gnome_accessibility_module_init),
1320 (gnome_accessibility_module_shutdown): impl.
1321 (gtk_module_init): protect vs. double inits.
1322 (add_signal_listener): impl.
1323 (spi_atk_bridge_state_event_listener): kill
1324 (deregister_application): split out of
1325 (spi_atk_bridge_exit_func): here.
1327 2002-01-18 Bill Haneman <bill.haneman@sun.com>
1330 Added caret tracking when using magnifier, and
1331 now use text bounds for focus tracking of text elements, rather than
1332 the component bounds - this is helpful for short text fields in long
1333 table cells, at high magnification.
1335 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1337 * registryd/deviceeventcontroller.c:
1338 Regression fix for keylistener de-registration; global keygrabs
1339 were not being released when deregisterKeystrokeListener was
1340 called in cspi, since
1341 Accessibility_DeviceEventController_deregisterKeystrokeListener
1342 was called with a zero-length keyset. That is because the cspi
1343 method, SPI_deregisterKeystrokeListener, does not take a keyset
1344 parameter but instead should remove all the key grabs held be a
1346 The code in impl_deregister_keystroke_listener was changed to copy
1347 the keylist from the listener instance previously registered with
1348 the DeviceEventController before releasing the grabs.
1350 * registryd/registry.c:
1351 * registryd/deviceeventcontroller.c:
1352 * libspi/spi-private.h:
1354 Changed spelling of "re-enterant" to "re-entrant" globally.
1356 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1358 * test/test-simple.c:
1359 Changed key listeners test - the test was slightly mis-using the
1360 (admittedly poorly documented) SPI_generateKeyboardEvent API.
1361 It now uses '=' as the key event listened to and generated,
1362 relying on a keysym match rather than assuming that keycode 33
1363 is always equal to keysym '!'.
1365 2002-01-15 Bill Haneman <bill.haneman@sun.com>
1368 Changed simple-at to use a specific keyset, rather than
1369 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
1370 manager, desktop, etc.
1372 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1374 * registryd/deviceeventcontroller.c:
1375 Replaced standard X error handler with a special handler that
1376 is non-fatal for failed keygrabs. This works around
1377 problems with keygrab clashes sometimes observed on
1379 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
1380 mouse handling code as yet).
1382 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1385 Incremented revision for desktop alpha release.
1388 Fixed a couple of the more glaring errors (still not
1391 2002-01-11 Michael Meeks <michael@ximian.com>
1393 * registryd/deviceeventcontroller.c
1394 (spi_device_event_controller_forward_key_event): kill
1395 XUngrabKey / XKeyGrab race.
1396 (spi_controller_grab_keyboard): rename to
1397 (spi_controller_update_key_grabs): this, and deal
1398 with incremental adding / removing grabs more
1400 (_register_keygrab): ensure we're not pending a remove.
1401 (spi_grab_mask_free): impl.
1402 (spi_controller_register_global_keygrabs): split out
1404 (handle_keygrab): impl.
1405 (_deregister_keygrab): impl.
1406 (spi_controller_deregister_global_keygrabs): impl.
1407 (spi_controller_update_key_grabs): re-issue the grab if
1408 we just recieved a notification.
1410 * test/test-simple.c (key_listener_cb): remove debug.
1412 * registryd/deviceeventcontroller.c
1413 (spi_controller_register_device_listener): after
1414 registering a global keygrab, actualy register it !
1415 don't wait for a timeout; doh !
1417 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
1418 to make it more readable / manipulable.
1419 s/grabmask/grab_mask/ s/refcount/ref_count/
1420 s/keyval/key_val/ s/modmask/mod_mask
1422 2002-01-08 Michael Meeks <michael@ximian.com>
1424 * registryd/deviceeventcontroller.c
1425 (spi_controller_register_with_devices): use gdk calls to
1427 (global_filter_fn): implement the filter.
1428 (spi_device_event_controller_check_key_event): rename to
1429 (spi_device_event_controller_forward_key_event): this & upd.
1430 (spi_get_display): replace with GDK_DISPLAY.
1432 * registryd/deviceeventcontroller.c
1433 (spi_controller_deregister_device_listener): unroll into
1434 (impl_deregister_keystroke_listener): here to simplify.
1435 (spi_controller_register_global_keygrabs): split cut and
1436 paste (!) out into (_register_keygrab): here, shorter & sweeter.
1437 (spi_controller_deregister_device_listener): remove.
1438 (impl_register_mouse_listener): remove, no mouse listener
1439 support in at-spi-1.0
1441 * registryd/registry.c
1442 (_device_event_controller_hook): kill.
1443 (spi_registry_init): upd.
1445 * registryd/deviceeventcontroller.c
1446 (spi_device_event_controller_class_init): upd.
1447 (spi_check_key_event): merge into.
1448 (spi_device_event_controller_check_key_event):
1449 here and kill strange static ev init, don't leak
1450 the x_event - nor dynamicaly allocate it.
1452 * registryd/registry-main.c (main): re-direct
1453 timeout to remove strange vtable mess.
1455 * registryd/deviceeventcontroller.c
1456 (remove_listener_cb): impl.
1457 (spi_controller_deregister_device_listener):
1458 fix re-enterancy hazard.
1460 2002-01-07 Michael Meeks <michael@ximian.com>
1462 * registryd/deviceeventcontroller.c
1463 (spi_device_event_controller_new): upd.
1464 (impl_notify_listeners_sync): upd. debug.
1465 (spi_notify_keylisteners): fix re-enterancy hazards,
1466 prettify, remove O(n*n) iteration.
1467 (spi_controller_grab_keyboard): fix iteration.
1468 (spi_check_key_event): re-format to suit coding style.
1469 Clean all the warnings - we're warning free.
1471 * registryd/deviceeventcontroller.h:
1472 * registryd/registry.h: make mutualy referential with
1473 typesafe forward references instead of (!) void pointer
1476 2002-01-11 Michael Meeks <michael@ximian.com>
1478 * cspi/spi_accessible.c (role_names): add a role name
1479 to sync this array with the enum; and make the regression
1482 2002-01-10 Michael Meeks <michael@ximian.com>
1484 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
1485 allow expansion of enumeration & kill warning.
1487 * test/test-simple.c (key_listener_cb): impl.
1488 (test_keylisteners): impl.
1490 * cspi/spi-listener.h: make listener signatures const
1491 on the provided (const) events.
1493 * test/keysynth-demo.c: upd. to const events.
1495 * test/simple-at.c: ditto.
1497 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1500 Rev the version to 0.5 (the previous tarball was named 0.4,
1501 even though the micro number was 3), so we need to rev upwards
1502 again for beta2/"desktop-alpha"
1505 Checked in a demo script, which requires editing before use!
1506 Proceed with caution.
1509 Fixed typo in header which was redefining SPI_ACTION_CLASS.
1511 * cspi/spi_accessible.c:
1512 Add a couple of missing enum initializations, and fix some enum
1515 * cspi/spi_registry.c:
1516 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
1518 * docs/reference/cspi/at-spi-cspi-sections.txt:
1519 Remove/fix a couple of broken document references.
1522 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
1523 as Alt-Control to listen for commands, since on some systems
1524 Control-Alt may already be grabbed.
1526 2002-01-10 Bill Haneman <bill.haneman@sun.com>
1529 Update version number to 0.4 for Beta2.
1531 * libspi/accessible.c, libspi/accessible.h:
1532 Expose spi_accessible_construct, to enable libgail-gnome
1533 construction from spi_accessible subtype.
1535 * utils/magnifier.c:
1536 Workaround for bug in some non-gnome-compliant window managers
1537 which made magnifier resize improperly.
1539 2002-01-09 Bill Haneman <bill.haneman@sun.com>
1541 * libspi/accessible.c: (spi_accessible_new) :
1542 Move the test for SPI_IS_REMOTE_OBJECT to
1543 spi_accessible_new_return, fixing a bug and compile time warning.
1545 2002-01-08 Michael Meeks <michael@ximian.com>
1547 * registryd/registry.c (parse_event_type): remove strndup.
1549 * libspi/Makefile.am (libspi_la_SOURCES): remove
1550 sources already included in the headers section.
1552 * libspi/util.c: add.
1554 * libspi/spi-private.h: add.
1556 * registryd/registry.c: update to moved list iterators.
1558 2002-01-05 Michael Meeks <michael@ximian.com>
1560 * test/simple-at.c (main): upd. auto-module set to atk-bridge
1562 * test/test-simple.c (main): ditto.
1564 2002-01-04 Michael Meeks <michael@ximian.com>
1566 * libspi/accessible.c (spi_accessible_new): remove 2nd,
1567 redundant construct.
1569 * registryd/registry.c
1570 (get_listener_list): impl.
1571 (impl_accessibility_registry_register_global_event_listener):
1572 re-impl. to simplify using ~, remove dodgy const cast off.
1573 (parse_event_type): constify.
1574 (impl_accessibility_registry_deregister_global_event_listener_all):
1575 re-write, more efficiency and simplicity, kill re-enterancy
1577 (compare_listener_corbaref, compare_corba_objects),
1578 (compare_listener_quarks): define out.
1579 (impl_accessibility_registry_deregister_global_event_listener):
1580 re-write for effiency, and nail re-enterancy hazard.
1581 (impl_accessibility_registry_get_desktop_list): impl.
1582 (re_enterant_list_delete_link): impl.
1583 (re_enterant_list_foreach): impl.
1584 (remove_listener_cb): impl.
1585 (_registry_notify_listeners): kill.
1586 (notify_listeners_cb): impl.
1588 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
1589 (SPI_getDesktopList): impl.
1591 * test/test-simple.c (test_desktop): test the methods.
1593 2002-01-03 Michael Meeks <michael@ximian.com>
1595 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
1596 keystrings since we free them
1597 (SPI_freeAccessibleKeySet): in here.
1599 * libspi/accessible.c (spi_accessible_new): kill warning,
1600 wonder what is going on with the constructor here.
1602 2002-03-01 Bill Haneman <bill.haneman@sun.com>
1604 * libspi/accessible.c (spi_accessible_new ()) :
1605 Added check to see if AtkObject is an SpiRemoteObject before
1606 creating an SpiAccessible.
1608 2002-05-01 Bill Haneman <bill.haneman@sun.com>
1610 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
1611 Enable keygrabs using the Control modifier, now that they are
1612 working properly (they were previously disabled).
1615 Change the command keygrab for this demo to "Control+Alt", so as
1616 to conflict with fewer other key commands on the system; this
1617 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
1619 Removed a pointlessly-chatty keylistener for unshifted keys
1620 (shifted keys are still reported).
1622 2002-02-01 Bill Haneman <bill.haneman@sun.com>
1624 * libspi/remoteobject.h:
1625 * libspi/remoteobject.c:
1626 Added definitions for special AtkObject subtype, required for
1627 support of remote components (specifically, used by BonoboControl
1628 accessibility implementation).
1630 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
1632 * cspi/spi.h: synched relation types with ATK
1634 * cspi/spi_accessible.c: Added implementations of
1635 AcccessibleRelation_* methods
1637 * idl/Accessibility_Relation.idl: added getRelationTypeName
1638 method. Synched known relation types with ATK. Allowed for
1639 relation type extension with the RELATION_EXTENDED type.
1641 * libspi/relation.c: Provided implementations for
1642 AccessibleRelation methods.
1644 2002-01-01 Bill Haneman <bill.haneman@sun.com>
1646 API tweaks for today's API 'freeze'.
1649 Added placeholder functions to allow future compatible expansion
1650 of the IDL interfaces.
1652 * idl/Accessibility_Registry.idl:
1653 Changed generateKeyEvent to generateKeyboardEvent. Changed
1654 signature of this method to accept an optional keystring in
1655 parameter (for complex text input synthesis) and changed use of
1656 simple 'boolean' parameter in registerKeystrokeListener to a
1657 struct, EventListenerMode.
1659 * cspi/spi_accessible.c:
1661 * cspi/spi_streamablecontent.c:
1662 Added references to AccessibleStreamableContent interface, and
1663 definition and implementation of AccessibleStreamableContent
1666 * cspi/spi_registry.c:
1668 Changed generateKeyEvent API to generateKeyboardEvent,
1669 taking a new (optional) keystring parameter to support complex
1674 Renamed directory (to better reflect its actual purpose, bridging
1675 from at-spi to ATK). The .so module is also now named
1678 * idl/Accessibility_Hypertext.idl:
1679 * libspi/accessible.c:
1680 * libspi/hypertext.h:
1681 * libspi/hypertext.c:
1682 Changed Accessibility_Hypertext to *not* derive from
1685 * cspi/spi_registry.c:
1686 Added list of legal event type names for 'window' events, which
1687 completes the registry event API.
1689 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
1691 * at-bridge/bridge.c: Added registration for separate
1692 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
1693 signals. If either of the first two parameters to the generic
1694 bridge signal handler are ints, they are passed on as event
1695 details. This allows an AT to determine what text was inserted.
1697 2001-12-21 Bill Haneman <bill.haneman@sun.com>
1699 * registryd/deviceeventcontroller.c:
1700 Fixed regressions in generateKeyEvent caused by the removal of
1701 gdk_init from registryd; we now use pure X calls to connect to the
1702 display, which makes sense because deviceeventcontroller already
1703 uses a fair bit of X API (should eventually be migrated to a
1704 'portability layer').
1706 * registryd/desktop.c:
1707 Fixed minor regression in spi_desktop_init, changed the way the
1708 desktop name is being set to work with new spi_base API
1709 (gobject-based, rather than AtkObject-based).
1711 * registryd/Makefile.am:
1712 Minor revision of makefile to use XTST_LIBS variable rather than
1713 hard-wiring the Xtst LD_ADD element.
1715 * test/keysynth-demo.c:
1716 Tweaked an output message; added initialization of the
1717 'keystrings' member of the "switch listener" key_set.
1719 * libspi/relation.c:
1720 Squashed compile-time warning.
1722 * libspi/accessible.c:
1723 Cosmetic and formatting fixes, renamed a static method.
1725 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
1727 * libspi/accessible.c
1729 * libspi/application.c
1732 * libspi/component.c
1733 * libspi/editabletext.c
1734 * libspi/hyperlink.c
1735 * libspi/hypertext.c
1737 * libspi/selection.c
1741 * registryd/desktop.c:
1742 Changed SpiBase to contain a GObject pointer rather than an AtkObject
1744 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1746 * idl/Accessibility_Registry.idl:
1747 Added boolean member 'is_text' to DeviceEvent. This is for the
1748 use of key events, and helps prevent ambiguity between composed
1749 key strings and keysym names, since both may potentially be
1750 returned in the 'event_string' member.
1752 * at-bridge/bridge.c:
1753 * registryd/deviceeventcontroller.c:
1754 Use the 'is_text' member when notifying device event listeners.
1755 Knon issue: composed characters are not dealt with correctly by
1756 the global key listener implementation yet.
1758 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1760 * at-bridge/bridge.c:
1761 Namespaced local static methods to spi_atk_bridge_* where
1762 previously named bridge_*, and spi_* elsewhere.
1764 * at-bridge/bridge.c:
1765 * cspi/bonobo/cspi-bonobo-listener.c:
1766 Added demarshalling/conversion for string member of
1767 Accessibility_DeviceEvent to AccessibleKeystroke.
1769 * registryd/deviceeventcontroller.c:
1770 Added code to fill the Accessibility_DeviceEvent key string value
1771 member for global key events (i.e. from XGrabKey), to match
1772 behavior of Accessibility_DeviceEvent from the toolkit key events
1773 from the bridge. Fixed timestamp in global key event notifications.
1776 Added printout of key event's string value to
1777 report_ordinary_key_event, for demo/debugging purposes.
1779 2001-12-15 Bill Haneman <bill.haneman@sun.com>
1781 * idl/Accessibility_Registry.idl:
1782 Removed Accessibility_KeyStroke structure in favor of generic
1783 Accessibility_DeviceEvent structure.
1784 Changed Accessibility_ControllerEventMask from a struct to an
1787 * at-bridge/bridge.c:
1788 Changed APIs to use DeviceEvent structure as above, and removed
1789 bogus casting between these event structures.
1791 * cspi/spi-listener.h:
1792 Added keystring member of AccessibleKeystroke structure, to enable
1793 matching on event "names" rather than only hardware codes and
1797 Added keystrings member of AccessibleKeySet struct, to allow
1798 matching on event names (as above).
1799 Added declarations for SPI_createAccessibleKeySet and
1800 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
1801 event modmasks directly as unsigned ints rather than structs with
1802 refcounts, in the DeviceEventController methods.
1804 * cspi/spi_registry.c:
1805 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
1807 * cspi/spi-roletypes.h:
1808 Added documentation of newly added SPI Roles.
1810 * cspi/bonobo/cspi-bonobo-listener.c:
1811 Changes in support of API changes above.
1813 * libspi/accessible.c:
1814 Converted APIs to use DeviceEvent structure (see IDL changes
1817 * registryd/deviceeventcontroller.c:
1818 Added DEControllerGrabMask structure to track keygrabs not only by
1819 modmask but by keyset as well; this allows us to do "global"
1820 (i.e. X) keygrabs on a per-key or keyset basis rather than always
1821 grabbing on AnyKey and then filtering after-the-fact.
1822 Bugfixes for event filtration mean that we don't get false matches
1823 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
1825 * registryd/deviceeventcontroller.c:
1826 Namespaced a number of static methods to use spi_ prefix. Major
1827 revision to internals of global (i.e. X) key grabs.
1829 * registryd/deviceeventcontroller.h:
1830 Removed keymask_list and added keygrabs_list to
1831 SpiDeviceEventController struct.
1834 Added use of SPI_createAccessibleKeySet API when creating a
1835 listener for only one key. Attach a listener to "shift spacebar
1836 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
1837 X key event names to SPI key event names, so that listeners are
1838 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
1840 * test/keysynth-demo.c:
1841 Changed (incorrect) use of X key event names (KeyPressed,
1842 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
1845 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1847 * libspi/accessible.c:
1848 Convert all AtkRole enumerations to Accessibility_Role enums when
1849 getting a role from an AtkObject.
1851 * cspi/spi_accessible.c:
1852 Complete the conversion of Accessibility_Role enums at runtime to
1853 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
1854 role enums correctly match those given in spi-roletypes.h.
1855 Re-synchronize the local names list for AccessibleRole_getName ().
1856 AccessibleRole_getName is now deprecated, since it duplicates the
1857 more reliable Accessible_getRoleName.
1858 Added some role types from Accessibility_Role.idl.
1860 * idl/Accessibility_Role.idl:
1861 Added some role types used by AtkRole.
1863 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1866 * cspi/spi_registry.c:
1868 * cspi/cspi-bonobo-listener.c:
1869 Namespaced all methods that did not begin with an "SPI_" or
1870 "Accessible" prefix to "SPI_".
1873 Homogenized internal function namespace to "cspi_" for statics.
1876 Patched tests to use the new CSPI API.
1878 * docs/reference/cspi/at-spi-cspi-sections.txt:
1879 Updated docs to reflect namespace changes, and added a number of
1880 methods to the documentation.
1882 * registryd/registry.c:
1883 Changed use of strings and string hashes in listener event
1884 matching and parse_event_string to use GQuark, which is guaranteed
1887 * registryd/registry.h:
1888 Squashed annoying warning.
1890 * idl/Accessibility_Role.idl:
1891 Extended range of available Accessibility_Role values.
1893 * cspi/spi_accessible.c:
1894 Re-ordered role names.
1896 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1898 * idl/Accessibility_Value.idl:
1899 Revert use of union back to CORBA_double, since the double type is
1900 more efficient and can contain the other types without loss of
1903 * idl/Accessibility_Accessible.idl:
1904 Added method Accessibility:Accessible:getRoleName, to complement
1905 Accessibility:Accessible:getRole.
1907 * cspi/spi_accessible.c:
1909 Added C binding for above, Accessible_getRoleName (), and changed
1910 signature of Accessible_getRole () to return an AccessibleRole.
1912 * cspi/spi-roletypes.h:
1913 Changed AccessibleRole_getName to return a char * instead of a
1914 const char *. This method is now at least temporarily deprecated
1915 in favor of asking Accessibles for their RoleNames directly.
1918 Revert to match Accessibility_Value.idl;
1922 Change signature of AccessibleValue methods to use double rather
1926 * cspi/spi_accessible.c:
1927 Changed Accessible_getRole to return an AccessibleRole enum rather
1928 than a UTF-8 string. The UTF-8 string can still be obtained via
1929 AccessibleRole_getName ().
1931 * test/test-simple.c:
1932 Add test_action. Small fixup to match API change to Accessible_getRole.
1935 Bugfix for get_action_from_servant ().
1937 2001-12-11 Michael Meeks <michael@ximian.com>
1939 * libspi/libspi.h: remove registry.h and
1940 desktop.h, deviceeventcontroller.h
1942 * libspi/Makefile.am: remove registry.[ch],
1943 desktop.[ch], deviceeventcontroller.[ch]
1945 * registryd/Makefile.am: add registry.[ch],
1946 desktop.[ch], rename registryd.c to registry-main.c.
1947 add deviceeventcontroller.[ch]
1949 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1952 Replace setenv() call with putenv ().
1954 * libspi/component.c:
1955 Bugfix in AccessibleComponent_getExtents (),
1958 2001-12-11 Michael Meeks <michael@ximian.com>
1960 * libspi/image.c (impl_getImageExtents): impl.
1961 (spi_image_class_init): upd.
1964 (AccessibleImage_getImageDescription): fix daft bug
1967 * test/test-simple.c (global_listener_cb): update
1968 to only quit if not --poke
1969 (main): catch --poke.
1970 (validate_accessible): upd. dumping, call test_image
1973 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1976 * idl/Accessibility.idl: update all IDL includes.
1978 * idl/*.idl - rename to namespace - this sucks, blame
1979 mjs' bad decision for oafd.
1981 * test/test-simple.c (create_test_window): add more tests.
1982 (create_tree): split this out.
1983 (validate_accessible): bugfix.
1985 2001-12-11 Michael Meeks <michael@ximian.com>
1987 * cspi/bonobo/cspi-bonobo-listener.c:
1988 (cspi_kestroke_listener_unref),
1989 (cspi_event_listener_unref): impl. undoing previous
1990 homenous environment - for Bill.
1992 * cspi/spi_table.c (long_seq_to_array): use
1995 * cspi/spi_main.c: split out all bonoboish bits into
1998 * cspi/spi-impl.h: upd. typedefs.
2000 * cspi/spi_registry.c: update to lowlevel API,
2001 return booleans to indicate success in some places.
2003 * cspi/spi_event.c: update to lowlevel API.
2005 * cspi/bonobo/Makefile.am: add.
2007 * cspi/bonobo/cspi-lowlevel.h: add
2009 * cspi/bonobo/cspi-bonobo.c: add
2011 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
2013 * cspi/Makefile.am: remove spi-listener-impl.[ch],
2014 (SUBDIRS): add bonobo, link in the libs.
2016 * cspi/spi-util.c: kill this file.
2018 * TODO: merge in my bits.
2020 2001-12-11 Michael Meeks <michael@ximian.com>
2022 * test/test-simple.c (test_value, test_table, main):
2023 remove unused variables causing warnings.
2025 * configure.in: cleanup checks - require gail.
2027 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2030 Changed Value interface to use SValue (scalars) rather than
2031 assuming all values are floats. This allows floats, doubles,
2032 longs, shorts, and unsigned values to be manipulated.
2033 Introduced Accessibility:SValue union.
2036 Updated to use new API above, and to work correctly with GValues
2037 of different types in AtkValue.
2040 Updated to use new API above. cspi's API is as yet unchanged.
2043 Updated the Value revision action item.
2045 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2047 * test/test-simple.c:
2048 Added test_table (GtkTreeView widget in test window to follow).
2049 Un-commented test_value, added GtkRange widget.
2050 Added GtkTreeView widget with GtkListStore. It passes regression
2051 test but leaks one SPI object for some reason.
2054 Fixed bug in impl__set_currentValue.
2056 2001-12-10 Michael Meeks <michael@ximian.com>
2058 * cspi/spi_text.c: audit for exception handling,
2059 tolerating NULL object references safely etc.
2061 * cspi/spi_value.c: ditto.
2063 * cspi/spi_table.c (AccessibleTable_getSummary),
2064 (AccessibleTable_getAccessibleAt),
2065 (AccessibleTable_getRowHeader),
2066 (AccessibleTable_getColumnHeader),
2067 (AccessibleTable_getCaption): fix bugs hidden by
2069 (long_seq_to_array): impl.
2070 (AccessibleTable_getSelectedRows),
2071 (AccessibleTable_getSelectedColumns): use it.
2073 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2076 Added a TODO list (rough and short for now).
2078 * cspi/spi_hyperlink.c:
2079 * cspi/spi_hypertext.c:
2080 Fixed macro name typos, and remove use of obsolete macro in
2081 AccessibleHyperlink_getLink.
2083 * cspi/spi_action.c:
2084 * cspi/spi_accessible.c:
2085 * cspi/spi_application.c:
2086 * cspi/spi_component.c:
2087 * cspi/spi_selection.c:
2090 Documentation fixes (removed return values from ref/unref methods).
2092 2001-12-10 Michael Meeks <michael@ximian.com>
2094 * cspi/spi_action.c: audit for exception handling,
2095 tolerating NULL object references safely etc.
2097 * cspi/spi_accessible.c: ditto.
2099 * cspi/spi_component.c: ditto.
2101 * cspi/spi_editabletext.c: ditto.
2103 * cspi/spi_hyperlink.c: ditto.
2105 * cspi/spi_hypertext.c: ditto.
2107 * cspi/spi_image.c: ditto.
2109 * cspi/spi_selection.c: ditto.
2111 2001-12-10 Michael Meeks <michael@ximian.com>
2113 * configure.in: use cspi/libspi.pc.in instead.
2115 * Makefile.am (pkgconfig_DATA): upd. to match.
2117 * test/simple-at.c (report_focus_event): kill hacks around
2118 bad return values, use putenv not setenv
2120 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
2121 fire ChildGone - I killed it.
2123 * libspi/component.c
2124 (impl_accessibility_component_get_extents): remove
2127 * idl/Accessible.idl: kill ChildGone exception.
2129 * cspi/*.[ch]: kill int return from ref / unref.
2131 * cspi/spi_main.c (cspi_object_add_check): fold into
2132 (cspi_object_add): here.
2134 * cspi/spi_component.c (AccessibleComponent_getExtents):
2135 handle exceptions elegantly.
2137 * cspi/spi-private.h (cspi_check_ev_return),
2138 (cspi_return_if_fail): impl.
2140 * cspi/spi_accessible.c: use extensively.
2141 (AccessibleStateSet_equals): add direct compare check.
2143 * cspi/spi_selection.c: tolerate NULL objs, and check
2144 exceptions before return.
2146 * cspi/spi-util.c (cspi_warn_ev): rename to
2147 (cspi_check_ev): this & don't pass ev in; no point.
2149 2001-12-10 Michael Meeks <michael@ximian.com>
2151 * test/test-simple.c: use putenv not setenv
2152 (get_environment_vars): more chatty if you're not using
2155 * test/simple-at.c: do the setenv so more people see the
2158 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2160 * libspi/registry.c:
2161 Changed check of CORBA_environment on notification to be a warning
2162 instead of an error for the moment, since we can recover from this
2163 error when caused by a queued notification from a dead app.
2166 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
2167 used by all current implementors of AtkValue), and coerce to
2168 CORBA_float. (Proper general case fix may require change to Value.idl).
2170 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2174 * cspi/spi_accessible.c:
2175 Documentation fixes: added user_data params to documentation for
2176 listeners and callbacks.
2178 * cspi/spi_accessible.c:
2179 Changed AccessibleStateSet_compare to return a
2180 StateSet rather than return the difference set into a third parameter.
2183 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2186 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
2187 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
2191 Remove subdirectory po from SUBDIRS for now.
2193 * at-bridge/bridge.c:
2194 Beefed up a couple of debug printouts.
2195 One-line fix for signal notification name formatting.
2197 * libspi/accessible.c:
2198 Added assertion to spi_accessible_new ().
2200 * libspi/application.c:
2201 Put #ifdef qualifiers around a printf.
2204 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
2206 * registryd/Makefile.am:
2208 Replaces use of XML_I18N_MERGE_SERVER_RULE with
2209 INTLTOOL_SERVER_RULE macro.
2212 Added an event listener for several ATK signals, for
2213 testing and debugging. Removed a few g_warnings.
2214 Added test output if focussed item implements the Value interface.
2216 * test/test-simple.c:
2217 Added test_value () function (known not to pass at the moment, so
2218 not actually called yet.
2220 2001-12-08 Michael Meeks <michael@ximian.com>
2222 * at-bridge/bridge.c (bridge_focus_tracker),
2223 (emit_eventv): fix the same ref. leak.
2224 (register_atk_event_listeners): don't leak.
2226 * cspi/spi-listener-impl.c (cspi_event): more
2227 protection from client code.
2229 * test/test-simple.c (test_desktop): unref the app.
2231 * test/Makefile.am: upd. TESTS.
2233 * at-bridge/bridge.c (bridge_exit_func): release the registry.
2235 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
2237 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
2239 * cspi/spi_registry.c: constify in strings.
2240 (deregisterGlobalEventListenerAll): don't release the ref.
2242 * cspi/spi.h: start removing redundant / conflicting
2243 gtkdoc comments, making the API readable at a glance :-)
2245 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
2247 * test/keysynth-demo.c (keysynth_exit, main): upd.
2249 * test/simple-at.c (main, simple_at_exit): upd.
2251 * test/test-simple.c (unutterable_horror): kill.
2252 (utterable_normal_derefs): kill.
2253 (main): upd & do a setenv before gtk_init, so that we
2254 can use memprof - and to save the pain of remembering
2255 this, if we're running under memprof - don't exit.
2257 * cspi/spi_main.c (SPI_exit): return exit status
2259 (SPI_event_quit): impl.
2260 (SPI_event_main): simplify.
2261 (cspi_is_gnome_app): kill.
2262 (SPI_init): kill isGNOMEapp arg.
2264 * at-bridge/bridge.c (register_atk_event_listeners):
2265 re-instate the unref.
2266 (bridge_exit_func): don't re-activate the registry,
2267 protect vs. theoretical re-entry, use the
2268 AT_BRIDGE_SHUTDOWN env. var to determine whether to
2269 assert a clean shutdown - for regression tests.
2271 2001-12-08 Abel Cheung <maddog@linux.org.hk>
2273 * configure.in: Comment out dummy i18n support for now,
2274 otherwise it fails to build.
2275 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
2276 EXTRA_DIST. They are missing in tarball.
2278 2001-12-07 Michael Meeks <michael@ximian.com>
2280 * util/magnifier.c: kill bonobo activation reg. race.
2282 * libspi/component.c
2283 (impl_accessibility_component_get_extents): make it match
2286 * libspi/registry.c (_registry_notify_listeners):
2287 re-remove X headers & reconcile conflicts.
2288 (spi_listener_struct_free): bad conflict resolve.
2289 (impl_accessibility_registry_register_application):
2290 more bad merging fixed.
2291 (impl_accessibility_registry_deregister_application): ditto.
2292 (spi_registry_new): ditto.
2293 (spi_registry_init): don't have an applications field.
2295 [ merge fixups2 branch to here ]
2296 2001-12-07 Michael Meeks <michael@ximian.com>
2298 * test/simple-at.c (report_focus_event),
2299 (report_focussed_accessible): remove g_warning debug.
2301 2001-12-07 Michael Meeks <michael@ximian.com>
2303 * test/test-simple.c (validate_tree): comment out some checks.
2304 (test_desktop): app now not registered idly - horay.
2306 2001-12-07 Michael Meeks <michael@ximian.com>
2308 * cspi/spi_registry.c
2309 (registerAccessibleKeystrokeListener): clean, stop it leaking
2310 great swathes of memory, and device event controller references.
2311 ensure we always pass valid sequences.
2312 (deregisterAccessibleKeystrokeListener): ditto.
2313 (generateKeyEvent): upd.
2315 * at-bridge/bridge.c (bridge_key_listener): handle
2316 registry dead exception gracefully.
2317 (bridge_focus_tracker, emit_eventv): free ev.
2319 * test/simple-at.c (report_focus_event): fix polarity.
2321 * libspi/application.c (notify_listeners): kill the ev
2322 argument, and make sure we init the ev we use.
2323 (spi_application_object_event_listener): split out a chunk
2324 (get_atk_object_ref): here & fixup.
2325 (reverse_lookup_name_for_toolkit_event): make const.
2326 (spi_application_toolkit_event_listener): fixup, kill leaks
2329 * at-bridge/bridge.c (register_atk_event_listeners):
2330 don't unref the noop object - causes grief.
2332 * libspi/registry.c: remove the X headers.
2333 turn off the debug churn.
2335 * libspi/accessible.c (spi_accessible_new_return): only
2336 release the ref if we are supposed to [doh]
2338 * test/simple-at.c (report_button_press, report_focus_event):
2339 guard vs. unexpected exit.
2341 * at-bridge/bridge.c (gtk_module_init): prune printf.
2342 (bridge_exit_func): fix app unref.
2344 * libspi/Makefile.am: don't install registry or desktop.h
2346 * libspi/*.h: update includes.
2348 * libspi/application.h: don't include ourself, or
2349 other redundant headers.
2351 2001-12-06 Michael Meeks <michael@ximian.com>
2353 * libspi/accessible.c
2354 (get_accessible_from_servant): impl.
2355 Upd. all CORBA impl.s to use it killing cut and paste.
2357 * cspi/spi_main.c (cspi_cleanup): guard vs. double
2359 (SPI_init): register atexit cleanup handler here.
2361 2001-12-06 Michael Meeks <michael@ximian.com>
2363 * at-bridge/bridge.c (gtk_module_init): g_error on
2364 activation exception
2366 2001-12-06 Michael Meeks <michael@ximian.com>
2368 * at-bridge/bridge.c (gtk_module_init): some sort of
2369 confusing merge clash - reverted.
2370 (bridge_idle_init): ditto.
2372 * test/test-simple.c (main, utterable_normal_derefs):
2373 merge from Bill - somehow not committed.
2375 2001-12-06 Michael Meeks <michael@ximian.com>
2377 * libspi/value.c (spi_value_class_init): upd.
2378 (spi_value_finalize): kill.
2380 * libspi/table.c (spi_table_finalize): kill.
2381 (spi_table_interface_new): upd.
2382 (spi_table_class_init): upd.
2383 (get_table_from_servant): impl.
2384 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2386 * libspi/selection.c (spi_selection_finalize): kill.
2387 (spi_selection_interface_new): upd.
2388 (spi_selection_class_init): upd.
2389 (get_selection_from_servant): impl.
2390 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2392 * libspi/relation.c (spi_relation_finalize): kill.
2393 (spi_relation_class_init, spi_relation_new): upd
2395 * libspi/image.c (spi_image_finalize): kill.
2396 (spi_image_class_init): upd.
2397 (spi_image_interface_new): upd.
2398 (get_image_from_servant): impl.
2399 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2401 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
2402 (spi_hyperlink_finalize): kill.
2403 (spi_hyperlink_new): upd.
2404 (get_hyperlink_from_servant): impl.
2405 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2407 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
2408 (spi_hypertext_finalize): kill.
2409 (spi_hypertext_class_init): upd.
2410 (get_hypertext_from_servant): impl.
2411 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2413 * libspi/editabletext.c (spi_editable_text_finalize): kill.
2414 (spi_editable_text_interface_new): upd.
2415 (get_editable_text_from_servant): impl.
2416 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2418 * libspi/text.c (get_text_from_servant): impl.
2419 All impls - update to use it killing more cut and paste,
2420 also fix bad string returns on duff args ( a somewhat
2421 impossible case to handle - but hey ).
2422 (spi_text_construct): impl.
2423 (spi_text_interface_new): upd.
2424 (spi_text_object_finalize): kill.
2426 * libspi/component.c
2427 (accessibility_component_object_finalize): kill.
2428 (spi_component_class_init): upd.
2429 (get_component_from_servant): impl. helper to kill cut & paste.
2430 (impl_accessibility_component_contains):
2431 (impl_accessibility_component_get_accessible_at_point):
2432 (impl_accessibility_component_get_position):
2433 (impl_accessibility_component_get_extents):
2434 (impl_accessibility_component_get_mdi_z_order):
2435 (impl_accessibility_component_get_layer):
2436 (spi_component_interface_new): upd.
2438 * libspi/action.c (spi_action_finalize): kill.
2439 (spi_action_class_init): upd. inherit from SpiObject.
2440 (spi_action_interface_new): upd.
2441 (get_action_from_servant): impl. helper to reduce cut & paste.
2442 (impl_getKeyBinding, impl_getName, impl_doAction),
2443 (impl_getDescription): Use it everywhere.
2445 * cspi/spi_main.c (get_live_refs): a pointer hash.
2446 (spi_object_hash, spi_object_equal): comment out.
2447 There are issues with CORBA object hashing that need
2450 * libspi/application.c (spi_application_init),
2451 (spi_application_new): upd.
2453 * libspi/accessible.c (spi_accessible_object_finalize): kill.
2454 (spi_accessible_class_init): upd.
2455 s/accessible/object/ in epv methods.
2457 2001-12-05 Bill Haneman <bill.haneman@sun.com>
2459 * at-bridge/bridge.c:
2460 Reorder the bridge initialization into the bridge gtk_module_init,
2461 an immediate call to bridge_register_app, and an idle_add for
2462 register_atk_event_listeners (the only code that *must* wait until
2463 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
2464 the activation, creates the application's Accessible object, and
2465 queues the bridge_idle_init function. Restored call to
2466 Accessibility_Registry_deregisterApplication().
2467 Prior to making this call we obtain a new reference to the
2468 registry, which is a temporary hack that helps us handle apps that
2469 shut down the bonobo mainloop before we get there.
2471 * libspi/registry.c:
2472 Fix string leakage in debug block, and don't segv if a an app
2473 dies before its event notifications have been propagated.
2476 Modify cspi_check_ev() to call g_warning() rather than g_error(),
2477 as stopgap measure until we get proper exception handling when
2478 objects die during or before interrogation.
2482 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
2483 Also changed default value of is_gnome_app to TRUE.
2486 * test/keysynth-demo.c:
2487 Changed use of SPI_init and SPI_event_main to reflect API change above.
2490 Made report_focus_event check the warning value from getName
2491 before reporting on focussed accessible; simplifies handling of
2492 notifications from dead objects.
2494 * test/test-simple.c: (Changes not in this patch since source is
2497 2001-12-05 Michael Meeks <michael@ximian.com>
2499 * registryd/registryd.c (main): protect against
2500 bonobo-activation startup race condition.
2502 * cspi/spi_main.c (cspi_object_add_check): cope
2503 with the exception elegantly.
2505 * idl/Accessible.idl: decl. ChildGone
2507 * libspi/desktop.c (spi_desktop_dispose): impl.
2508 (spi_desktop_class_init): upd.
2509 (spi_desktop_add_application),
2510 (spi_desktop_remove_application),
2511 (abnormal_application_termination): impl.
2512 (impl_desktop_get_child_at_index): re-impl.
2515 (impl_accessibility_registry_deregister_application),
2516 (impl_accessibility_registry_register_application):
2517 kill excessive debug clutter.
2519 * test/test-simple.c (test_misc): test some NULL
2520 tolerance. (main): upd.
2522 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
2523 implements no interfaces - so let's not crash.
2525 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
2527 * libspi/accessible.c (spi_accessible_new_return): impl.
2528 helper to calm the cut and paste, to cope with
2529 NULL AtkObjects effectively and efficiently, and to kill
2530 the referencing bugs.
2532 * libspi/table.c (impl_getAccessibleAt),
2533 (impl_getRowHeader, impl_getColumnHeader): upd.
2535 * libspi/hyperlink.c (impl_getObject): upd.
2537 * libspi/accessible.c
2538 (impl_accessibility_accessible_get_child_at_index): upd.
2540 * libspi/component.c
2541 (impl_accessibility_component_get_accessible_at_point): upd.
2543 * test/test-simple.c (test_editable_text, test_text): impl.
2546 * cspi/spi_editabletext.c
2547 (AccessibleEditableText_insertText): constify.
2549 * test/test-simple.c (focus_me): make more robust.
2551 * libspi/accessible.c: remove some printfs in methods that
2552 we test and work fine, so we can get a clean tree dump.
2554 * test/test-simple.c (validate_accessible),
2555 (validate_tree): make tree dumping pretty too.
2557 * at-bridge/bridge.c (bridge_signal_listener): upd. so
2558 it builds without debug on.
2560 * test/test-simple.c (validate_accessible): fix the most
2563 * cspi/spi_main.c (spi_object_release): leave the nicely
2564 blanked memory around if in debug mode.
2566 * cspi/spi-listener-impl.c (cspi_event): use add_check.
2568 [committed to fixups2]
2569 2001-12-05 Michael Meeks <michael@ximian.com>
2571 * libspi/editabletext.c
2572 (spi_editable_text_class_init): g_type_class_peek_parent,
2573 not interface peek - so we finalize cleanly.
2575 * libspi/accessible.c (spi_accessible_new): kill debug.
2577 * test/test-simple.c (validate_accessible): fix ref.
2578 leak, print strings before freeing them; sigh, comment a
2579 chunk out due to strangeness.
2580 (validate_tree): unref the child after use.
2582 * cspi/spi_component.c (AccessibleComponent_getLayer):
2583 add missing break statement, switch on zlayer not the
2584 uninitialized retval.
2586 * cspi/spi_main.c (cspi_object_add): add assert, local ref
2587 before (possibly re-entering) remote unref.
2589 * test/simple-at.c (main): unref the desktop.
2591 * cspi/spi_accessible.c (cspi_accessible_is_a): move
2594 * cspi/spi_main.c (cspi_accessible_is_a): here to
2595 isolate bonobo API usage more.
2597 * libspi/registry.c (impl_accessibility_registry_register_application):
2598 prune bogus comment.
2600 2001-12-04 Michael Meeks <michael@ximian.com>
2602 * test/test-simple.c (validate_tree): upd.
2603 IndexInParent check to make it more lucid.
2604 (validate_accessible): dump the tree.
2606 * libspi/accessible.c (de_register_public_ref),
2607 (get_public_refs): impl.
2608 (spi_accessible_new): make more efficient & intuitive.
2609 Now IndexInParent check works.
2611 2001-12-04 Michael Meeks <michael@ximian.com>
2613 * cspi/spi-util.h: remove.
2615 * cspi/spi.h: move SPI_freeString here
2617 * libspi/component.c (impl_accessibility_component_get_layer):
2619 (impl_accessibility_component_get_mdi_z_order): ditto,
2620 return -1 on error - is this ok ?
2622 * test/test-simple.c (test_application): impl.
2624 * cspi/spi_accessible.c (Accessible_getApplication),
2625 (Accessible_isApplication): impl.
2627 * libspi/registry.c (spi_listener_struct_free): release
2628 the CORBA reference too.
2630 * libspi/accessible.c
2631 (impl_accessibility_accessible_get_parent): fix ref leak.
2633 * libspi/registry.c (spi_registry_new): make the registry
2634 immortal - we don't want it to go away ever.
2636 * libspi/application.c
2637 (spi_accessible_application_finalize): impl. cleanup.
2639 * cspi/spi_registry.c
2640 (deregisterGlobalEventListenerAll),
2641 (deregisterGlobalEventListener),
2642 (deregisterAccessibleKeystrokeListener): fix ref leak.
2644 * cspi/spi_main.c (SPI_init): remove redundant ref.
2646 * test/test-simple.c (unutterable_horror): impl. to force a
2651 (impl_accessibility_registry_deregister_application): release
2652 the application when we de-register it.
2654 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
2655 until we have the infastructure to get it right.
2657 2001-12-03 Michael Meeks <michael@ximian.com>
2659 * libspi/Makefile.am: only build eventlistener.[ch]
2661 * libspi/accessible.c
2662 (impl_accessibility_accessible_get_child_at_index): don't leak.
2664 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
2665 before we hit the idle handler.
2667 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
2668 debugging than exit.
2670 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
2672 * libspi/listener.c (impl_notify_event): check source
2673 not NIL before unref.
2675 * libspi/registry.c (impl_registry_notify_event): ditto.
2677 * libspi/eventlistener.c
2678 (impl_accessible_event_notify_event): unref the source.
2680 * libspi/accessibleeventlistener.c
2681 (impl_accessible_event_notify_event): unref the source.
2683 * idl/Event.idl: remove 'hash_id' attribute - of no
2686 * libspi/application.c (notify_listeners): upd list
2688 (spi_application_object_event_listener),
2689 (spi_application_toolkit_event_listener): upd to do correct
2693 (_registry_notify_listeners): update.
2694 (parse_event_type): this method also leaks like a sieve.
2695 (impl_accessibility_registry_deregister_global_event_listener):
2696 fix ETYPE_WINDOW case.
2698 * libspi/application.c
2699 (impl_accessibility_application_register_object_event_listener):
2702 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
2704 * libspi/hypertext.c (impl_getLink): ditto.
2706 * cspi/spi_main.c (cspi_object_add): remove
2707 bogus CORBA_Object_duplicate.
2709 * cspi/spi-listener-impl.c (cspi_event): dup/ref
2712 * cspi/spi_accessible.c
2713 (Accessible_getRelationSet): fix leak / referencing issue.
2715 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
2716 (cspi_object_add, cspi_object_unref): upd.
2717 (spi_object_release, get_live_refs): impl.
2718 (cspi_cleanup): simplify.
2720 * *.[ch]: s/boolean/SpiBoolean/
2722 * cspi/spi_accessible.c (role_names): actualy order so it
2723 corresponds with the enum !
2725 * test/test-simple.c (test_roles): check some role strings
2726 vs. enums to detect offset errors.
2728 2001-12-01 Michael Meeks <michael@ximian.com>
2730 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
2732 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
2734 (Accessible_getChildAtIndex): use cspi_add_check so we
2735 check the ev before using a (possibly) invalid value.
2737 * libspi/accessible.c
2738 (impl_accessibility_accessible_get_parent): don't segv
2741 * at-bridge/bridge.c (gtk_module_init): upd.
2742 (bridge_property_event_listener): don't leak strings
2744 (bridge_state_event_listener),
2745 (bridge_property_event_listener): don't use a static
2746 buffer in case of recursive event emission &
2747 re-enterancy - split out the swathe of cut and paste
2749 (emit_eventv): and fix 2 ref leaks here & comply to the
2751 (bridge_register_app): rename to
2752 (bridge_idle_init): this and kill arg parsing, split
2753 various inits & bonobo-activation registration to module
2754 init time, kill referencing error.
2755 (bridge_exit_func): fix the same leak.
2756 (bridge_focus_tracker): don't leak event structures
2758 (bridge_signal_listener): more leakage and cut & paste
2760 (bridge_key_listener): return the result - FIXME is
2761 this polarity correct ?
2762 (accessibility_keystroke_from_atk_key_event): rename
2763 (accessibility_init_keystroke_from_atk_key_event): and stop
2765 (gtk_module_init): return a value - not that it is checked by
2767 (bridge_key_listener): register my horror at casting between
2768 IDL defined structs.
2769 (bridge_get_registry): kill - not used.
2771 * cspi/spi_accessible.c (Accessible_getRole): make return const.
2773 * test/test-simple.c (test_roles): impl.
2774 (test_desktop, validate_accessible, validate_tree): impl.
2776 * cspi/spi_accessible.c (role_names): fixup bogus
2777 MAX_ROLES setup, make constants const for efficient linkage
2778 (AccessibleRole_getName): conform to coding style, make
2781 2001-11-30 Michael Meeks <michael@ximian.com>
2783 * cspi/spi.h: add missing prototype.
2785 * libspi/registry.c (spi_listener_struct_new): fix sig.
2787 * test/Makefile.am: add test-simple
2789 * test/test-simple.c: add
2791 * test/test.sh: add.
2793 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
2795 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
2796 do it straight - since otherwise we often get an activation race.
2798 [ work before Bill duplicated a chunk of it ... ]
2799 2001-11-30 Michael Meeks <michael@ximian.com>
2801 * libspi/keystrokelistener.c
2802 (spi_keystroke_listener_class_init): fixup arg
2805 * libspi/eventlistener.c
2806 (spi_event_listener_class_init): ditto.
2808 * tests/test.sh: add.
2810 * cspi/spi-listener-impl.h: update macros.
2812 * cspi/spi-listener-impl.c
2813 (cspi_event_listener_remove_callback): add
2814 correct pre-conditions.
2816 * cspi/spi_main.c (SPI_exit): guard vs. double
2817 exits, exit the mainloop nicely.
2818 (SPI_event_main): make more sense.
2819 (SPI_init): move the atexit evilness here so we
2820 always do it (yuck).
2821 (SPI_event_main): upd.
2823 * test/simple-at.c: update for listener changes.
2825 * registryd/registryd.c (main): prune kruft.
2827 * libspi/libspi.h: upd.
2829 * libspi/eventlistener.[ch]: rename broken macros.
2831 * libspi/accessibleeventlistener.[ch]: remove.
2833 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
2835 * test/test-simple.c: Add - automated tests.
2837 * cspi/spi-listener-impl.c (cspi_event),
2838 (cspi_key_event): add user_data to invoke.
2839 (cspi_keystroke_listener_finalize): impl.
2840 (cspi_keystroke_listener_class_init): upd.
2843 (createAccessibleEventListener),
2844 (AccessibleEventListener_addCallback),
2845 (createAccessibleKeystrokeListener),
2846 (AccessibleKeystrokeListener_addCallback): upd.
2848 * libspi/deviceeventcontroller.c
2849 (spi_device_event_controller_check_key_event): add public proto.
2852 (impl_accessibility_registry_deregister_global_event_listener):
2853 always init listeners.
2854 (_registry_notify_listeners): yes it is.
2856 * cspi/spi-listener-impl.c (cspi_key_event):
2858 (cspi_event_listener_finalize): impl.
2859 (cspi_event_listener_class_init): hook up.
2860 (event_handler_new, event_handler_free),
2861 (event_list_remove_by_callback): impl.
2862 (cspi_event_listener_remove_callback),
2863 (cspi_keystroke_listener_remove_callback),
2864 (cspi_keystroke_listener_add_callback),
2865 (cspi_event_listener_add_callback): upd.
2867 * libspi/keystrokelistener.c
2868 (keystroke_listener_object_finalize): kill
2869 (spi_keystroke_listener_class_init): upd.
2870 (spi_keystroke_listener_add_callback),
2871 (spi_keystroke_listener_remove_callback): kill,
2873 (impl_key_event): prune drasticaly.
2875 * libspi/eventlistener.c
2876 (spi_event_listener_add_callback),
2877 (spi_event_listener_remove_callback): kill, use
2879 (impl_accessible_event_notify_event): upd.
2880 (spi_event_listener_object_finalize): remove.
2882 * libspi/Makefile.am: use eventlistener.[ch]
2884 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2886 * libspi/registry.c (_registry_notify_listeners):
2887 Changed listener loop iteration to use preferred convention.
2888 Got rid of string memory leaks caused be calling g_strconcat
2889 inside function calls.
2891 * libspi/registry.c (parse_event_type):
2892 Stopped g_strconcat memory leaks, free the g_strsplit return,
2893 g_strdup the split pieces when used, etc.
2895 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2898 Change method 'compare' to return a 'difference set' rather than
2899 taking a StateSet as an out parameter (more Java-friendly).
2901 * idl/Accessible.idl:
2902 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2904 * idl/Component.idl:
2906 Changed methods 'getExtents' and 'getImageExtents' in these
2907 interfaces to return a BoundingBox structure.
2908 (getPosition and getSize are redundant and possibly should be
2909 removed, rather than creating a corresponding Point struct.)
2911 * cspi/spi_component.c:
2912 Modify implementation of getExtents to reflect the above IDL
2917 Add (missing) AccessibleImage_getExtents () API.
2919 * docs/reference/cspi/at-spi-cspi-sections.txt:
2920 Added AccessibleImage_getImageExtents () to docs.
2922 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2924 * idl/Component.idl:
2925 Added two methods, getLayer () and getMDIZOrder (), to reflect
2926 the new ATK methods atk_object_get_layer and
2927 atk_object_get_mdi_z_order. (Which arguably should be part of the
2928 AtkComponent API and AtkObject). Also added an enum,
2929 ComponentLayer, for the first method's return value.
2931 * libspi/component.c:
2932 Added implementations for these methods.
2934 * cspi/spi_component.c:
2936 Added cspi binding methods for above,
2937 AccessibleComponent_getLayer() and
2938 AccessibleComponent_getMDIZOrder().
2939 Added cspi enum 'AccessibleComponentLayer'.
2941 * docs/reference/cspi/at-spi-cspi-sections.txt:
2942 Added above methods to docs.
2946 Changed typedef for 'boolean' type (and all references to it) to
2947 SPIBoolean, to avoid keyword clashes with C++.
2950 Changed usages of 'boolean' to SPIBoolean.
2952 * test/keysynth-demo.c:
2953 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2954 app), except where SPIBoolean is required by the callbacks API.
2956 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2958 * cspi/spi_registry.c:
2959 Removed obsolete X event loop for passive keygrabs (which now
2962 * registryd/registryd.c:
2963 Removed unnecessary call to gdk_init() [cruft]. This also allows
2964 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2967 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2969 * docs/reference/cspi:
2970 Included docs for SPI_freeString in generated documentation.
2973 Renamed spi_freeString to SPI_freeString, for consistency. Added
2974 documentation for this function.
2977 Renamed spi_freeString to SPI_freeString, for consistency.
2978 Removed obsolete method declaration string_from_corba_string.
2980 * test/keysynth-demo.c:
2981 Small tweak to comments.
2984 Stopped leaking the strings returned from CSPI.
2986 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2988 Merged Michael's branch (see his ChangeLog entries below).
2990 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2991 bridge is alive, release on exit.
2993 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2994 Fix type check macro.
2997 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
3000 Added is_gnome_app static, and method cspi_is_gnome_app(),
3001 so we can call the appropriate shutdown routine at exit in SPI_exit.
3003 * cspi/spi_main.c (cspi_object_ref):
3004 Duplicate the corba object passed in, since we're keeping it around.
3006 * cspi/SPI_exit.c, cspi_cleanup:
3007 Moved the releasing of the live refs to its own function, so we
3008 can put it in g_atexit (). Call the appropriate shutdown API
3009 depending on whethe calling client is a gnome app or not
3010 (bonobo_main_quit or CORBA_ORB_shutdown).
3012 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
3013 Unref the listener when this method is called, after
3014 deregistration. Updated the API docs to note this behavior.
3016 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
3017 Bugfixes: Ref the bonobo object when returning a parent or child
3018 reference, or an AccessibleRelation. Generally made sure
3019 BonoboObject refcount is incremented whenever we return an
3022 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
3023 Fixed typo/bug in signal declaration.
3025 * libspi/accessibleeventlistener.h:
3028 * libspi/application.c (spi_application_new):
3029 Fixed leak in initialization.
3032 Remembered to increment bonobo-object refcount when returning
3033 children (applications) from desktop object.
3034 Added (empty) finalize method.
3036 * libspi/deviceeventcontroller.c:
3037 Hold a ref to listeners inside DEControllerKeyListeners.
3038 Added dec_key_listener_free() method. Use prepend instead of
3039 append in key_listener list. Fixed some refcount madness and
3040 leaks in the listener registration/deregistration - deregistration
3041 now calls dec_key_listener_free() on listeners, and on the
3042 temporarily constructed dec_key_listener() used to perform the search/match.
3044 * libspi/hypertext.c (spi_hypertest_finalize):
3045 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
3046 class. Also fixed spi_hypertext_interface_new() and
3047 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
3049 * libspi/hypertext.h:
3050 Removed pointless and duplicate AtkObject pointer from
3053 * libspi/keystrokelistener.c:
3054 Fixed incorrect type of keystroke_listener_parent_class,
3055 renamed keystroke_listener_object_finalize to
3056 spi_keystroke_listener_object_finalize.
3057 Fixed typo in signal declaration
3058 (spi_keystroke_listener_class_init).
3060 * libspi/registry.c:
3061 Added funcsions spi_listener_struct_new() and
3062 spi_listener_struct_free() to help with memory management issues.
3063 We also now use these methods instead of gnew + poking stuff into
3064 the struct, and to decrement listener counts/free the listeners
3065 when deregistering them.
3066 Fix more refcount bugs in getDesktop() and
3067 getDeviceEventController().
3070 De-ref the desktop after enumerating the applications. Explicitly
3071 decrement the refcounts on the created listeners on exit (using
3072 _unref for keystroke listeners, and via the
3073 deregisterGlobalEventListenerAll command for other event
3076 2001-11-27 Michael Meeks <michael@ximian.com>
3078 * cspi/spi-listener.h: fixup enum.
3080 2001-11-27 Michael Meeks <michael@ximian.com>
3082 * cspi/spi-listener-impl.c (cspi_event_listener_new),
3083 (cspi_keystroke_listener_new): Use the cspi variants.
3085 2001-11-26 Michael Meeks <michael@ximian.com>
3087 * test/keysynth-demo.c: fix 2 compile warnings, missing
3090 * test/simple-at.c (report_focussed_accessible),
3091 (report_focus_event, report_button_press),
3092 (check_property_change, is_command_key),
3093 (report_ordinary_key_event, report_command_key_event): upd.
3095 * util/mag_client.h: include pre-requisites.
3097 * libspi/accessibleeventlistener.c
3098 (spi_event_listener_object_finalize): free any lingering
3101 * libspi/keystrokelistener.c
3102 (keystroke_listener_object_finalize): ditto.
3104 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
3105 callbacks, with cspi types.
3107 * cspi/spi_event.c (createAccessibleEventListener): chain to
3108 (AccessibleEventListener_addCallback): here.
3109 (createAccessibleKeystrokeListener): chain to
3110 (AccessibleKeystrokeListener_addCallback): here.
3112 * libspi/keystrokelistener.c
3113 (spi_keystroke_listener_class_init): add signal.
3114 (impl_key_event): emit the event.
3115 (boolean_handled_accumulator): impl.
3116 (marshal_BOOLEAN__POINTER): add, gack.
3118 * libspi/accessibleeventlistener.c
3119 (spi_event_listener_class_init): add signal.
3120 (impl_accessible_event_notify_event): emit the signal &
3121 make the loop efficient.
3122 (spi_event_listener_add_callback): prepend the callback.
3124 * libspi/accessibleeventlistener.h: add an 'event' signal,
3125 decl type on callback.
3127 * libspi/keystrokelistener.h: ditto.
3129 * cspi/spi-listener.h: make methods typesafe and
3130 make them use the new event typedefs.
3132 * test/simple-at.c (report_focussed_accessible):
3133 include mag_client.h
3134 Use *(void *)text_interface not the other thing.
3136 * configure.in: add gtk to registryd bits - since we use
3139 * util/magnifier.c: include libbonobo.h
3141 2001-11-25 Bill Haneman <bill.haneman@sun.com>
3143 * test/keysynth-demo.c:
3144 Turned this into a simple scanning keyboard, to demonstrate the
3145 use of g_timeout_add () as a means of creating timers for
3146 scanning, and the use of GtkStyle for visually indicating when
3147 virtual keyboard elements are selected.
3149 keysynth-demo now listens to any keyboard keys with zero-valued
3150 keycodes (i.e. 'unused' keys) and interprets them as
3153 Reworked the shiftlatch code so that shift-down state isn't held
3154 for long periods (it's only synthesized immediately prior to
3155 the keysynth event it's modifying). Note that shiftlatch in this
3156 demo is a convenience, not intended to take the place of AccessX
3157 which is the better choice for getting 'sticky' modifier keys.
3159 * libspi/deviceeventcontroller.c:
3160 * at-bridge/bridge.c:
3161 * cspi/spi_registry.c:
3162 Removed some debug print stuff, and put other verbosity in #ifdef
3167 Implemented some more of the magnifier IDL for the simple
3168 magnifier: namely, getZoomRegionParams.
3169 Added mag_x and mag_y members to MagnifierData struct, aid of this
3171 Added GtkWindow::realize signal handler to magnifier, to keep it
3172 from receiving keyboard focus from the WM.
3174 2001-11-23 Mark McLoughlin <mark@skynet.ie>
3176 * cspi/spi-private.h: my guess at what michael forgot
3177 before he ran off to NZ :-)
3179 2001-11-23 Michael Meeks <michael@ximian.com>
3181 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
3182 comment out non existant method invoke so we link.
3184 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
3185 use bonobo_exception_get_text for more friendly warnings.
3187 * cspi/spi.c (Obj_Add): move into spi_main & rename
3188 spi_object_add; kill spi.c
3190 * cspi/spi_registry.c
3191 (deregisterGlobalEventListener),
3192 (deregisterGlobalEventListenerAll),
3193 (registerGlobalEventListener): fix exception leaks.
3195 * cspi/spi_main.c (spi_exception): impl. helper, so we
3196 don't leak exceptions.
3198 * cspi/spi_selection.c
3199 (AccessibleSelection_deselectSelectedChild): return the
3202 * cspi/spi_main.c (spi_ev): impl; hack - gack.
3203 (spi_registry): ditto.
3204 (SPI_init): guard against double inits.
3206 * cspi/*.c: use spi_ev (), and spi_registry () where
3207 appropriate - a temporary hack until we have something
3208 better. Use spi_object_add
3210 2001-11-22 Michael Meeks <michael@ximian.com>
3212 * cspi/Makefile.am: re organise, install the headers.
3214 * cspi/*.h: add G_BEGIN/END_DECLS
3216 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3219 Added non-preemptive keylistener for key events with no modifiers
3220 and shift-only modifier.
3222 * libspi/keystrokelistener.c:
3223 Removed some verbose diagnostics printout.
3225 * cspi/spi_registry.c:
3226 Fixed a bug that caused all key listeners to be registered as
3229 * libspi/deviceeventcontroller.c:
3230 Fixed bug that caused XGrabKey (preemptive key grab) to be called
3231 for non-preemptive key masks.
3234 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3236 * docs/reference/idl/at-spi-idl-docs.sgml:
3237 * docs/reference/idl/at-spi-idl-sections.txt:
3238 * docs/reference/idl/at-spi-idl-overrides.txt:
3239 Added missing files.
3241 * docs/reference/Makefile.am:
3242 removed idl from SUBDIRS until we can figure a way to get gtk-doc
3243 to scan the IDL files :-(
3248 Added .cvsignore files.
3250 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3252 * libspi/deviceeventcontroller.c:
3253 * libspi/keystrokelistener.c:
3255 * cspi/spi_registry.c:
3256 Added filters for KeySets, KeyEventSeq, and event types to key
3257 event dispatching, so listeners should only receive those events
3258 that they requested :-)
3260 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3265 * docs/reference:Makefile.am:
3266 * docs/reference/cspi:
3267 * docs/reference/cspi:Makefile.am:
3268 * docs/reference/cspi:tmpl:
3269 * docs/reference/cspi:tmpl:*.sgml:
3270 * docs/reference/idl:
3271 * docs/reference/idl:Makefile.am:
3272 * docs/reference/idl:at-spi-idl-sections.txt:
3273 * docs/reference/idl:at-spi-idl-docs.sgml:
3274 * docs/reference/idl:tmpl:
3275 * docs/reference/idl:tmpl:*.sgml:
3277 Restructured docs directory to allow separate 'reference' docs
3278 section, and forked idl and cspi docs. Added the sgml template
3279 files to CVS. Added the first sections/structural sgml for the
3282 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
3284 * configure.in, libspi/Makefile.am: find libXtst.
3286 2001-11-21 Michael Meeks <michael@ximian.com>
3288 * test/accessx-gui.c: s/spi_value/value/ - doh.
3290 * libspi/base.[ch]: add.
3292 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3294 * idl/Accessible.idl:
3295 * idl/Application.idl:
3298 Started gtk-doc cleanup on IDL.
3300 * libspi/deviceeventcontroller.c:
3301 Added and connected non-preemptive key notification from the
3302 toolkits (in addition to the pre-emptive support from XServer
3303 which we had before, but which causes 'focus flashing'). Filters
3304 are presently limited to key modifiers and global/non-global,
3305 KeySets are presently ignored, as are KeyEvent masks.
3307 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
3308 structs into the persistant structure rather than just storing
3309 pointers to things that might not persist across servant
3312 The XGrabKey call now does async keygrabs, because synchronous
3313 ones were deadlocking with GDK_event code in a very nasty way.
3315 Added boolean to internal method notify_keylisteners, to indicate
3316 whether the event came from the 'toolkit source' or the 'global
3317 (XServer) source' - this is used in the notification process to
3318 determine which listeners to send the event to.
3320 deviceeventcontroller.c is now warning-free.
3322 * libspi/registry.c:
3323 Fixed regression in application de-registration.
3324 Also fixed some really brain-dead weirdness having to do with
3325 event dispatching - event structs are now duplicated before being
3326 re-marshalled in the dispatch to listeners. This also fixes a
3327 Solaris build problem.
3330 2001-11-20 Michael Meeks <michael@ximian.com>
3333 (impl_accessibility_registry_deregister_global_event_listener):
3336 * libspi/deviceeventcontroller.c
3337 (spi_device_event_controller_check_key_event): return
3338 FALSE on no virtual method.
3340 * libspi/*..h: make includes work on a correctly pathed install.
3342 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
3344 * libspi/application.h: kill unused ( and whacked out )
3345 gboolean *spi_application_set_id (AtkObject *app, long id);
3347 2001-11-20 Michael Meeks <michael@ximian.com>
3349 * libspi/*.[ch]: further convert to bonobo's type func
3350 macros, remove redundnant casts etc.
3352 * libspi/text.c s/accessibility_text/spi_text/g,
3353 re-order to de-cruft.
3355 * libspi/hypertext.c: re-order to kill a huge slew
3356 of redundant forward decls.
3358 * libspi/relation.c: ditto.
3360 * libspi/image.c: ditto.
3362 * */.cvsignore: update
3364 2001-11-20 Michael Meeks <michael@ximian.com>
3366 * libspi/deviceeventcontroller.c
3367 (_controller_register_with_devices): use g_getenv,
3368 kill stdlib.h include.
3370 * libspi/keystrokelistener.c
3371 (spi_keystroke_listener_get_type): kill
3372 (spi_keystroke_listener_class_init),
3373 (spi_keystroke_listener_init): rename to this.
3375 * libspi/text.c (impl_getAttributes): fix warning / bug.
3377 * libspi/*.[ch]: more headers, includes and over commenting.
3379 2001-11-20 Michael Meeks <michael@ximian.com>
3381 * libspi/*.[ch]: fixup headers, includes and over commenting.
3383 * libspi/image.c (impl__get_imageDescription): const
3384 correctness warning fix. remove redundant casting.
3386 * libspi/table.c (impl_getRowDescription): ditto.
3387 (impl_getColumnDescription): ditto.
3389 * libspi/libspi.h: add.
3391 2001-11-19 Michael Meeks <michael@ximian.com>
3393 * libspi/editabletext.c (impl_setAttributes): fix warnings.
3395 * libspi/component.c (accessibility_component_get_type):
3396 rename to (spi_component_get_type): and macroify.
3397 (accessibility_component_init): rename to
3398 (spi_component_init): this
3399 (accessibility_component_class_init): rename to
3400 (spi_component_class_init): this
3402 * libspi/action.c (spi_action_get_type): kill, use the macro.
3404 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
3407 * libspi/application.c (spi_application_object_event_listener),
3408 (impl_accessibility_application_register_object_event_listener):
3409 warning fixes / const understanding updates.
3411 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
3414 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3416 * libspi/spi_accessible.c: Added docs and C bindings for
3417 AccessibleStateSet. (No implementations yet). Documentation
3418 coverage for C bindings now 100%. Made docs for event listeners
3423 boolean notifyListenersSync (in DeviceEventListener listener,
3424 in DeviceEvent event);
3426 oneway void notifyListenersAsync (in DeviceEventListener listener,
3427 in DeviceEvent event);
3429 Added DeviceEventListener and DeviceEvent structs (may deprecate
3430 KeyStroke and KeystrokeListener in favor of this generic
3431 event/listener framework for devices).
3433 * libspi/deviceeventcontroller.c:
3435 Changed some key listener code to take masks, etc., and paved the
3436 way for integration of toolkit/non-preemptive key events. Changed
3437 signatures of some internal methods.
3439 * at-bridge/bridge.c:
3440 Fixed regression connecting to interface signals, apparently
3441 caused by GTK+ changes.
3443 Added an internal bridge_state_listener to deal with
3444 property-change:accessible-state signals.
3446 Changed the key_listeners GList to store structs (including masks,
3447 etc.) instead of just CORBA_Objects (required for full
3448 implementation of key listener API).
3450 Connected the bridge to all currently supported Atk signals.
3451 Events now supported:
3452 object:property-change
3453 object:property-change:accessible-name
3454 object:property-change:accessible-state
3455 object:property-change:accessible-description
3456 object:property-change:accessible-parent
3457 object:property-change:accessible-value
3458 object:property-change:accessible-role
3459 object:property-change:accessible-table-caption
3460 object:property-change:accessible-table-column-description
3461 object:property-change:accessible-table-column-header
3462 object:property-change:accessible-table-row-description
3463 object:property-change:accessible-table-row-header
3464 object:property-change:accessible-table-summary
3465 object:children-changed
3466 object:visible-data-changed
3467 object:selection-changed
3468 object:text-selection-changed
3470 object:text-caret-moved
3472 object:row-reordered
3474 object:column-inserted
3475 object:column-reordered
3476 object:column-deleted
3477 object:model-changed
3479 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3481 * libspi/hyperlink.c,h:
3482 Fixed some broken stuff in hyperlink.
3484 * libspi/relation.h:
3485 * libspi/relation.c:
3486 * cspi/spi_accessible.c:
3487 Initial implementations of AccessibleRelation methods, and docs.
3489 * libspi/accessible.c:
3490 Fixed a bug that caused SEGV if an accessible
3491 object's description is NULL, and a client
3492 requests it. An empty string is now returned.
3494 * cspi/spi_editabletext.c:
3495 * cspi/spi_hypertext.c:
3497 * cspi/spi_hyperlink.c:
3501 Doc coverage now 95%.
3503 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3505 One last namespacing revision:
3506 * libspi/accessibleeventlistener.[ch]:
3507 Renamed SpiAccessibleEventListener to SpiEventListener,
3508 (no need for two namespaces ;-)
3510 And lots of documentation fixes:
3512 * docs/at-spi-docs.sgml:
3513 Fixed 'underscore vs. hyphen' bug that was preventing
3514 the gtk-doc API docs from being automatically generated.
3517 * cspi/spi-listener.h
3519 * cspi/spi_accessible.c
3521 * cspi/spi_application.c
3522 * cspi/spi_component.c
3523 * cspi/spi_editabletext.c
3525 * cspi/spi_hypertext.c
3527 * cspi/spi_registry.c
3528 * cspi/spi_selection.c
3532 * docs/at-spi-docs.sgml
3533 * docs/at-spi-sections.txt
3535 Added and fixed up gtk-doc documentation in cspi.
3537 Interfaces now (fully) documented (subject to revision and enhancement):
3539 Event Listener Support
3541 AccessibleApplication
3545 AccessibleEditableText
3552 AccessibleRelationSet
3557 2001-11-14 Bill Haneman <bill.haneman@sun.com>
3559 * at-bridge/bridge.c:
3560 Initial work for toolkit-level key snooper connection by bridge.
3565 New typedefs and fixes to support new namespacing, and cleaner
3566 separation of cspi bindings from libspi bonobo implementation.
3567 Removed inconsistent and extraneous Spi* namespace prefix that
3568 had crept into cspi headers.
3569 Lots of comment fixes that sed had missed.
3571 * cspi/spi-roletypes.h:
3572 * cspi/spi-statetypes.h:
3573 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
3574 to AccessibleRoleType.
3576 * libspi/accessibleeventlistener.h:
3577 Fixed minor namespacing weirdness.
3579 * libspi/deviceeventcontroller.c:
3580 Reordered some internal API for device listeners.
3581 Changed the key registry final boolean to 'is_system_global'
3582 rather than 'is_synchronous', which is more descriptive of its
3584 Added spi_device_event_controller_new().
3585 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
3587 * libspi/keystrokelistener.[ch]:
3588 Namespaced KeystrokeListener to SpiKeystrokeListener.
3589 Changed uses of keymasks to use SPI_ prefix, and did other
3592 * libspi/keymasks.h:
3593 Namespaced keymask constants with SPI_ prefix.
3595 * libspi/registry.c:
3596 Some warning fixes, and knock-on fixes from namespace changes.
3599 Added rules for accessx-gui test program.
3601 * test/accessx-gui.c:
3602 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
3603 utility. It doesn't actually use at-spi, but it's still cool and
3606 * test/keysynth-demo.c:
3610 Fixes so that these test clients work properly with the namespaced
3611 libraries. (Incompletely tested for technical reasons, fixes may follow)
3614 2001-11-13 Michael Meeks <michael@ximian.com>
3616 * libspi/application.c
3617 (impl_accessibility_application_get_version),
3618 (impl_accessibility_application_get_toolkit_name):
3620 (impl_accessibility_application_set_id),
3621 (impl_accessibility_application_get_id): remove
3622 redundant casting code.
3624 * libspi/action.c (impl_getDescription): fix warnings.
3626 * libspi/accessible.c
3627 (impl_accessibility_accessible_get_parent),
3628 (impl_accessibility_accessible_get_child_at_index),
3629 (impl_accessibility_accessible_get_state),
3630 (impl_accessibility_accessible_get_relation_set):
3631 warning fixes & include action.h
3633 2001-11-13 Michael Meeks <michael@ximian.com>
3635 * *.[ch] fix bits I screwed up:
3637 s/([^ \tb(\*\&\?\",])spi_/\1/g;
3638 s/([^ \tb(\*\&\?\",])Spi/\1/g;
3640 2001-11-13 Michael Meeks <michael@ximian.com>
3642 * *.[ch] Namespace libspi into spi_ and Spi.
3644 2001-13-11 Michael Meeks <michael@ximian.com>
3646 * Makefile.am: dist & install at-spi-1.0.pc
3648 * libspi/Makefile.am: install into at-spi-1.0
3650 * idl/Makefile.am (idldir): install into at-spi-1.0
3652 * at-spi-1.0.pc.in: add.
3654 * configure.in: build it.
3656 2001-11-12 Bill Haneman <bill.haneman@sun.com>
3658 * test/keysynth-demo.c:
3659 Use a 'realize' signal-handler to set the WM properties for
3660 the virtual keyboard, rather than making it a "POPUP" type
3661 override-redirect window (thanks to anders carlsson for that
3664 2001-11-11 Bill Haneman <bill.haneman@sun.com>
3667 * test/keysynth-demo.c:
3668 Added new test of key synthesis, which creates a simple
3669 (mouse-operated) onscreen keyboard. It inserts key events into
3670 the currently-focused window, thus it does not grab keyboard focus
3673 * cspi/spi_registry.c:
3674 Added C binding for AT-SPI generateKeyEvent.
3676 * libspi/deviceeventcontroller.c:
3677 Added call to XFilterEvent so that key listener works with XIM (we
3678 hope). Added event_synth_type to generateKeyEvent, so that we can
3679 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
3680 synthesize a press/release pair for KeySyms.
3682 2001-11-09 Bill Haneman <bill.haneman@sun.com>
3684 * libspi/Makefile.am:
3685 * registryd/Makefile.am:
3686 (temporary) hack to include libXtst in libspi and registryd.
3687 (Needed for keystroke synthesis, see below).
3690 Improved API for registerKeystrokeListener, in accordance with
3691 discussions with Gnopernicus team and X server research.
3693 * libspi/registry.c:
3694 * libspi/deviceeventcontroller.c:
3695 * libspi/accessible.c:
3696 * libspi/keystrokelistener.c:
3697 Changes and fixes to support keylisteners for potentially
3698 consumed key events (that is, 'passive grabs').
3699 Added implementation for generateKeyEvent() [untested].
3702 Changes to registerKeystrokeListener() API, as above.
3703 Added deregisterGlobalEventListenerAll(), and
3704 deregisterKeystrokeListener(), which are needed for clean exit of
3706 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
3707 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
3709 * cspi/spi_registry.c:
3710 Added implementations of function prototypes mentioned above.
3712 * registryd/registryd.c:
3713 Added the key listener event source as a g_timeout(), to allow
3714 receipt of key events that are not caught by GDK (since GDK
3715 doesn't support passive keygrabs, this was necessary).
3718 Changed to attach a keylistener to 'Alt' keys, and
3719 respond to the following keycommands: Alt-M (toggle magnifier);
3720 Alt-F (toggle speech); Alt-Q (quit).
3721 Added an exit routine to deregister the listeners, and a key
3722 listener that prints some key info to the console when a key
3723 matches the listener mask (and is thus received by the listener).
3725 * util/idl/Magnifier.idl:
3726 Changes to magnifier API to support multiple zoom regions,
3727 non-uniform scaling in x and y, markDirty, and a host of other
3728 features that would be useful to magnification.
3731 * util/mag_client.c:
3732 * util/mag_client.h:
3733 * util/mag_control.c:
3735 Source code changes to support the above IDL changes.
3738 As above, and also changes to use a (slower) generic conversion
3739 path for colormap conversions, since the fast RGB conversions have been
3740 reported to fail for 16-bit displays.
3742 2001-10-26 Michael Meeks <michael@ximian.com>
3744 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
3746 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
3748 * at-bridge/Makefile.am: fix LDFLAGS.
3750 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3752 * at-bridge/bridge.c:
3753 Re-worked listeners for toolkit events, now we have signal
3754 and property listeners. Added a private method
3755 register_atk_event_listeners(), which registers with the
3756 various atk and gtk signals we need to monitor in order to emit
3758 Added emission hook for AtkObject:property-change events, to
3759 support the 'property listeners'.
3760 Fixed some alloc()s of Accessibility_Event structs to use CORBA
3763 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
3764 which emit warnings and exit, respectively, if CORBA errors occur
3765 during remote calls, and we now use these methods to check most of
3766 our CORBA calls in the C bindings.
3768 * cspi/spi_accessible.c:
3769 Changed AccessibleSelection_refSelectedChild() to
3770 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
3771 now increment refcounts.
3773 * cspi/spi_component.c:
3774 Fixed some long pointer casts (dangerous!) to pass pointers to
3775 CORBA_longs of the proper type to the CORBA stubs, and copy the
3776 data into the longs that were passed into the C bindings code.
3778 * at-bridge/bridge.c:
3780 * libspi/accessible.c:
3781 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
3782 hyperlinks, AtkHyperlink is an object type.
3784 * libspi/application.c:
3785 Added various conversions to and from "generic" event types and
3786 atk-specific types; this is really part of the 'bridge'
3787 implementation but is valid for all AtkObject-based accessibility
3790 * libspi/editabletext.c:
3791 Fixed nasty bug wherein editable text's finalize method was
3792 unref'ing tha AtkObject reference that the text parent class was
3793 about to unref _again_. There was also a nasty inheritance bug
3794 that meant that the AccessibleEditableText class was corrupt.
3796 * libspi/selection.c:
3797 Provided implementations for some selection API that was broken.
3799 * idl/Application.idl:
3800 Added registerObjectEventListener () method.
3803 Fixed a number of return values that were Bonobo_Unknowns from
3804 bonobo_object_corba_objref(), which I
3805 forgot to dup before returning. Changed instances of
3806 bonobo_object_corba_objref (bonobo_object(o)) to
3807 BONOBO_OBJREF(o), for concision and clarity.
3809 2001-10-13 Louise Miller <louise.miller@sun.com>
3811 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
3812 idl/Event.idl, idl/Registry.idl
3813 Changed these files to include Bonobo_Unknown.idl instead
3816 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
3818 * libspi/component.c libspi/component.h:
3819 Fixed typo. Added assertions for object checks in
3820 AccessibleComponent code.
3822 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3824 * idl/Accessible.idl:
3825 Added 'isEqual (Accessible *object)'
3826 method for Accessible. (Not Yet Implemented).
3829 Changed signature of registerKeystrokeListener() to
3830 take a KeySet and KeyEventSeq so that specific keys and event
3831 types could be requested for monitoring, and added a flag
3832 is_synchronous so that either synchronous or asynchronous
3833 notification could be requested. (However this is not all
3834 implemented yet). This also meant adding two new typedefs,
3835 KeyEventSeq and KeySet.
3838 Added two new relations, RELATION_TOOLTIP_FOR and
3839 RELATION_LEAFNODE_OF.
3842 Added new state, STATE_HAS_TOOLTIP.
3844 * libspi/text.c, editabletext.c:
3845 Added new assertions to all casts of bonobo-objects from
3846 CORBA servants, to prevent Text API calls on non-text objects.
3847 Changed suspect casts of int-pointer types, so that we
3848 always send a valid CORBA_long pointer to the CORBA APIs that use
3849 in/out long parameters. We then have to copy from the CORBA_long
3850 into the regular long or int for return to the C bindings, or
3851 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
3854 * libspi/deviceeventcontroller.c:
3855 Cleaned these sources up.
3857 Changed return type for getCharacterAtOffset to
3858 CORBA_unsigned_long, to allow for 32-bit characters.
3861 2001-10-08 Bill Haneman <bill.haneman@sun.com>
3865 Fixed 'make dist' so that distro compiles...
3866 * libspi/keymasks.h:
3868 * cspi/spi-listener.c:
3869 KeystrokeListenerCB now returns a boolean.
3871 Added KeyEventType struct, and KeyStroke.
3872 Also added createKeystrokeListener(),
3873 KeystrokeListener_addCallback(),
3874 KeystrokeListener_removeCallback(), and added a keymask to
3875 registerKeystrokeListener().
3876 * cspi/spi_accessible.c:
3877 Changed numerous return types for interfaces from
3878 AccessibleComponent to Accessible<InterfaceName>; this was
3879 probably a cut-and-paste error.
3881 Implementations of new KeystrokeListener api (from spi.h,
3884 Changes to key modifier mapping.
3885 Created ControllerEventMask struct.
3886 Made DeviceEventController derive from Bonobo::Unknown.
3888 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3889 * libspi/deviceeventcontroller.c:
3890 Added a number of new internal (private) methods.
3891 * libspi/editabletext.c:
3892 * libspi/editabletext.h:
3893 Fixed a number of bugs related to the fact that
3894 editabletext inherits from text. Fixed the EditableText struct,
3895 the init() call, and use correct casts when calling Text methods
3896 from an EditableText object. Removed (duplicate) atko from the
3897 EditableText structure, we use the one in the parent Text
3898 structure via the casts mentioned above.
3899 * libspi/keystrokelistener.[ch]:
3900 * libspi/registry.c:
3901 Changes in support of keyboard handling (above).
3903 Keyboard handling, though partly functional, is still not
3904 recommended for at-spi client use as there is considerable
3905 work yet to be done.
3908 Changed some places where pointers to various int types
3909 are cast to be pointers to CORBA_long types and vice-versa:
3910 pointer casting is not safe so we pass pointers of the correct
3911 types and then cast the result before putting it into the target
3914 * libspi/text.h: minor typos corrected.
3916 We now speak not only the name of a Text element, but the
3917 first sentence of its content, when it receives focus.
3918 I also changed the text compression to 75% from 50%.
3919 * util/Accessibility_Util.server.in:
3920 Changed the default magnifier type to be a 3x vertical
3921 splitscreen magnifier (was previously a 2x horizontal one).
3923 2001-10-03 Bill Haneman <bill.haneman@sun.com>
3925 * libspi/keystrokelistener.h:
3926 * libspi/keystrokelistener.c:
3927 Initial functional implementations of KeystrokeListener.
3930 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3932 Fixed string handling for NULL strings in libspi.
3933 Added spi_freeString to free strings returned by C bindings.
3935 2001-09-30 Bill Haneman <bill.haneman@sun.com>
3937 * libspi/keystrokelistener.h:
3938 * libspi/keystrokelistener.c:
3939 Began (no-op) implementations of KeystrokeListener
3941 * libspi/deviceeventcontroller.c:
3942 * libspi/deviceeventcontroller.h:
3943 Began creating implementations of DeviceEventController,
3944 to handle keystroke and mouse event listening and
3946 * libspi/accessible.c:
3947 Stubbed-in the implementations for
3948 Accessibility_Accessible_getState and
3949 Accessibility_Accessible_getRelationSet.
3950 * libspi/registry.c:
3951 Improved de-registration process and fixed some bugs,
3952 deregistration now works correctly.
3954 Added initialization of applications list (to NULL).
3956 Reduced speech compression from 0.5 to 0.7, for demo.
3957 Changed call to gdk_window_set_decorations()
3958 to gtk_window_set_decorated().
3959 * at-bridge/bridge.c:
3960 Bridge now deregisters when app exits, via
3961 registration of a cleanup function
3962 with the g_atexit() call.
3963 Required making 'app' static, renamed 'this_app'.
3964 Fixed broken use of bonobo_init, passing argv wrongly.
3966 2001-09-27 Bill Haneman <bill.haneman@sun.com>
3970 Created a new directory for
3971 accessibility-related utilities, primarily for
3972 testing and demo purposes, but with possible
3979 Onscreen magnifier utility that
3980 is implemented as a bonobo service.
3982 * util/mag_client.c:
3983 * util/mag_client.h:
3984 Client-side support (simple C bindings)
3985 for Magnification service
3987 * util/mag_control.c:
3988 Client program example for
3989 Magnification service
3991 * util/Accessibility_Magnifier.server.in:
3992 Bonobo-activation file for the
3993 Magnification service.
3996 * util/idl/Magnifier.idl:
3997 IDL defining the bonobo Magnification
4001 Modifications to use the bonobo-activated magnifier
4002 above, in place of trying to connect to an existing
4003 magnifier that uses socket-listening IPC.
4005 If env variable MAGNIFIER is set, a magnifier service
4006 will be started if one does not exist.
4008 2001-09-25 Bill Haneman <bill.haneman@sun.com>
4010 * at-bridge/bridge.c:
4011 applied patch from Marc to build and run
4012 against new glib and gtk+ (seemed like a change
4013 to bonobo_init signature was made ?)
4015 made festival-server support turned off by default.
4016 Added support for a simple magnifier (off by default)
4017 which will be added to a 'util' directory later.
4018 * at-bridge/Makefile.am:
4019 Changed "application.h" header from a 'source'
4020 to a 'dependency' of libat-bridge.
4022 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4031 Added interface implementation c files to list of
4032 includes so they are included in libcspi.
4035 Changed prototype of AccessibleAction_doAction to return a
4037 Changed prototype of AccessibleTable_getCaption to
4038 return an Accessible.
4039 Changed prototype of AccessibleTable_getSelectedRows
4040 and AccessibleTable_getSelectedColumns to
4041 return a long (returns the number of selected rows
4042 or columns respectively).
4043 Changed name of AccessibleText_refRunAttributes to
4044 AccessibleText_getAttributes.
4045 Changed prototype of AccessibleText_getCharacterExtents to
4046 return a void rather than a boolean.
4047 Added support for a AccessibleCoordType parameter
4048 specifying what type of coordinates are desired.
4049 Added an AccessibleCordType parameter to
4050 AccessibleText_getPointAtOffset.
4052 * cspi/spi_accessible.c:
4053 Added code to return the outstanding interfaces from
4054 Accessible_queryInterface.
4056 * cspi/spi_action.c:
4058 Corrected call to getNActions to call the c binding
4061 * cspi/spi_editabletext.c:
4063 Changed name from setRunAttributes to setAttributes.
4065 * cspi/spi_hyperlink.c:
4067 Changed call to getNAnchors to correctly call the c
4068 binding for an attribute.
4070 * cspi/spi_hypertext.c:
4072 Changed getImageDescription to correctly call the
4073 binding for an attribute.
4075 * cspi/spi_selection.c:
4076 Changed getNSelectedChildren to correctly call the c
4077 binding for the attribute.
4078 Changed refSelectedChild to getSelectedChild.
4082 Changed getCaption to return an Accessible.
4083 Fixed calls which retrieve attributes.
4084 Changed refAt to getAccessibleAt.
4085 Changed getNSelectedRows and getNSelectedColumns to
4089 Changed getCharacterExtents and getPointAtOffset to accept an
4090 AccessibleCoordType.
4092 Changed calls which retrieve attributes.
4093 Changed refRunAttributes to getAttributes.
4098 * idl/Hyperlink.idl:
4099 Changed n_anchors attribute to nAnchors to keep naming
4100 convention consistent.
4103 Made Table inherit from Bonobo::Unknown.
4104 Added nSelectedColumns and nSelectedRows attributes.
4107 Made Value inherit from Bonobo::Unknown.
4109 * libspi/hyperlink.c:
4110 Change for nAnchors attributte name change.
4112 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4120 Added interface implementation c files to list of
4121 includes so they are included in libcspi.
4124 Changed prototype of AccessibleAction_doAction to return a
4126 Changed prototype of AccessibleTable_getCaption to
4127 return an Accessible.
4128 Changed prototype of AccessibleTable_getSelectedRows
4129 and AccessibleTable_getSelectedColumns to
4130 return a long (returns the number of selected rows
4131 or columns respectively).
4132 Changed name of AccessibleText_refRunAttributes to
4133 AccessibleText_getAttributes.
4134 Changed prototype of AccessibleText_getCharacterExtents to
4135 return a void rather than a boolean.
4136 Added support for a AccessibleCoordType parameter
4137 specifying what type of coordinates are desired.
4138 Added an AccessibleCordType parameter to
4139 AccessibleText_getPointAtOffset.
4141 * cspi/spi_accessible.c:
4142 Added code to return the outstanding interfaces from
4143 Accessible_queryInterface.
4145 * cspi/spi_action.c:
4147 Corrected call to getNActions to call the c binding
4150 * cspi/spi_editabletext.c:
4152 Changed name from setRunAttributes to setAttributes.
4154 * cspi/spi_hyperlink.c:
4156 Changed call to getNAnchors to correctly call the c
4157 binding for an attribute.
4159 * cspi/spi_hypertext.c:
4161 Changed getImageDescription to correctly call the
4162 binding for an attribute.
4164 * cspi/spi_selection.c:
4165 Changed getNSelectedChildren to correctly call the c
4166 binding for the attribute.
4167 Changed refSelectedChild to getSelectedChild.
4171 Changed getCaption to return an Accessible.
4172 Fixed calls which retrieve attributes.
4173 Changed refAt to getAccessibleAt.
4174 Changed getNSelectedRows and getNSelectedColumns to
4178 Changed getCharacterExtents and getPointAtOffset to accept an
4179 AccessibleCoordType.
4181 Changed calls which retrieve attributes.
4182 Changed refRunAttributes to getAttributes.
4187 * idl/Hyperlink.idl:
4188 Changed n_anchors attribute to nAnchors to keep naming
4189 convention consistent.
4192 Made Table inherit from Bonobo::Unknown.
4193 Added nSelectedColumns and nSelectedRows attributes.
4196 Made Value inherit from Bonobo::Unknown.
4198 * libspi/hyperlink.c:
4199 Change for nAnchors attributte name change.
4202 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
4204 implementations-- made server implementations own AtkObject pointers
4205 rather than their respective AtkInterrface pointers to fix
4206 refcounting. AtkHyperlink is still broken.
4208 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4209 * cspi/spi_accessible.c:
4210 Added method Accessible_Role_getName(),
4211 and requisite string array (role_names).
4212 Added conversion string_from_corba_strin() call
4213 to Accessible_getName and _getDescription.
4214 * libspi/accessible.c:
4215 Added implementation for Accessible_getRole()
4217 Added festival support, used if environment variable
4220 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4222 * at-bridge/bridge.c:
4223 Now allocate Accessibility_Event using
4224 Accessibility_Event__alloc() instead of g_new0().
4225 * libspi/accessibleeventlistener.c:
4226 Initialize AccessibleEventListener->callbacks to NULL.
4227 Fixed accessible__event_listener_init() param, changed to
4228 "AccessibleEventListener *" type.
4229 Changed a bonobo_object_release_unref() call to
4230 Accessibility_Accessible_unref().
4231 * libspi/listener.c:
4232 Changed Bonobo_Unknown_unref to (equivalent)
4233 Accessibility_Accessible_unref.
4234 * libspi/registry.c:
4235 Changed bonobo_object_release_unref to
4236 Accessibility_Accessible_unref.
4238 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4241 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
4242 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
4243 spi-util.c spi-util.h
4244 Implementations for C bindings to remaining accessibility
4247 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4250 changed return value of Action from void to boolean to
4251 bring in line with ATK.
4254 Changed getText funcions to return "out" start and end offsets.
4255 Changed getAttributes to take and offset and return the start
4256 and end offset of the attribute run.
4257 Changed getOffsetAtPoint and getCharacterExtents to take an
4258 enum describing whether coordinates are window or screen.
4261 libspi/action.c libspi/action.h libspi/editabletext.c
4262 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
4263 libspi/hypertext.c libspi/hypertext.h libspi/image.c
4264 libspi/image.h libspi/selection.c libspi/selection.h
4265 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
4266 libspi/value.c libspi/value.h
4267 Added server implementations for outstanding ATK interfaces
4268 not yet implemented.
4270 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4273 Added (missing) getName() method.
4274 Made nActions an attribute.
4275 * idl/EditableText.idl:
4276 Changed order of params in setAttributes.
4277 * idl/Hyperlink.idl:
4278 Removed getAnchor, added getURI.
4280 Changed attributes to methods, for efficiency
4281 (so that getting extents can be done in one call)
4282 * idl/Selection.idl:
4283 Changed nSelectedChildren to attribute, and re-indented.
4284 * idl/Table.idl: changed nrows, ncolumns, caption, summary
4286 * idl/Text.idl: reformatted to match our coding style.
4287 (temporarily?) removed getRowColumnAtOffset().
4288 Changed text selection API to support multi-select and
4289 non-contiguous selections, as in ATK.
4290 * idl/Value.idl: changed some methods to attributes.
4292 2001-08-24 Mark McLoughlin <mark@skynet.ie>
4294 * libspi/listener.c(impl_notify_event):
4295 BonoboUnkown_unref the source instead
4296 of bonobo_object_release_unref - the ORB
4297 handles the releasing.
4299 * configure.in: require ORBit-2.3.94 for
4302 2001-08-21 Bill Haneman <bill.haneman@sun.com>
4304 Tagged CVS repository 'EA_1_0'.
4305 * README.EARLY_ACCESS:
4306 Alphabetized acknowledgements list, and
4308 Listed some known dependencies of at-spi.
4310 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4312 * docs/at-spi-docs.sgml:
4313 * docs/at-spi-sections.txt:
4314 * docs/at-spi-overrides.txt: (Added zero-length file)
4315 Documentation improvements - gtk-doc should build
4316 docs for all implemented C bindings now.
4319 * cspi/spi.c: (New file)
4320 * cspi/spi_event.c: (New file)
4321 * cspi/spi_registry.c: (New file)
4322 * cspi/spi_accessible.c: (New file)
4323 * cspi/spi_application.c: (New file)
4324 * cspi/spi_component.c: (New file)
4325 Split spi_main.c into six parts, and included them from
4326 "spi.c". This is a bit of a hack, probably temporary,
4327 but required by gtk-doc, apparently.
4329 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4332 * docs/at-spi-docs.sgml:
4333 * docs/at-spi-sections.txt:
4335 Initial checkins/modifications for gtk-doc generation.
4338 Added (missing) interface query methods to Accessible's C binding.
4340 Added GenericInterface type definition.
4342 Added query for AccessibleComponent interface to focus event handler.
4343 Added printout of bounding box for focussed component.
4344 * libspi/component.c:
4345 Added partial implementation for AccessibleComponent to C binding.
4346 * idl/Application.idl:
4347 * libspi/registry.c:
4348 * libspi/listener.c:
4349 * libspi/application.c:
4350 * libspi/application.h:
4351 Changed "ID" attribute type from string to long.
4353 2001-08-19 Bill Haneman <bill.haneman@sun.com>
4357 Made method naming consistent: methods taking object args
4358 start with uppercase, other methods (except those using
4359 acronyms) start with lowercase. Underscores delimit between
4360 object names and method names:
4361 SPI_init() - uppercase since it starts with an acronym.
4362 getDesktopCount () - lowercase start since no object param0.
4363 Accessible_getName() - uppercase object type name, studlyCaps method
4367 Added gtk-doc documentation for all currently implemented
4368 methods in the C bindings API.
4370 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4372 * Makefile.am : changed build order to build test last.
4375 Changed "createEventListener" to "CreateEventListener".
4376 * libspi/accessibleeventlistener.c :
4377 Bugfix for addition of callbacks.
4378 * test/Makefile.am :
4379 * test/simple-at.c :
4380 Added new test that uses the C bindings API.
4382 * libspi/listener.c :
4383 * libspi/registry.c :
4384 * libspi/accessibleeventlistener.c :
4385 * at-bridge/bridge.c :
4386 Renamed member "target" of Accessibility_Event to "source",
4387 which is more descriptive.
4390 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4394 * cspi/Makefile.am :
4395 Added makefile support for at-spi/cspi directory.
4398 * cspi/spi-listener.h : (NEW FILE)
4399 Added support for/use of spi-listener.h.
4401 C bindings now build successfully, with no warnings.
4402 * libspi/accessibleeventlistener.h : (NEW FILE)
4403 * libspi/accessibleeventlistener.c : (NEW FILE)
4404 * libspi/Makefile.am :
4405 Added new object type "AccessibleEventListener"
4406 which inherits from Listener, and allows attachment
4407 of in-process callbacks (so that a client with a listening
4408 object instance can add functionality to the local
4409 implementation, dynamically).
4411 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4413 * libspi/accessible.c:
4414 Add implementation for get_index_in_parent().
4416 Added #include of "spi-roletypes.h", and
4417 added enumerated type AccessibleCoordType.
4418 Added definition for KeystrokeListener (function type).
4421 * cspi/spi-statetypes.h :
4422 * cspi/spi-roletypes.h :
4424 Added these headers, used by spi.h.
4426 Added code (NOTE: not yet built by make).
4428 2001-08-18 Mark McLoughlin <mark@skynet.ie>
4430 * libspi/Makefile.am: generate imodule
4431 at the same time as other idl compiler
4434 2001-08-17 Bill Haneman <bill.haneman@sun.com>
4435 * libspi/registry.c :
4436 * libspi/application.c :
4437 * idl/Application.idl :
4438 Made registration with toolkit an application method,
4439 which is required since each app has its own toolkit static
4440 environment. Thus the bridge must register for
4441 notification of toolkit events from each application in turn.
4442 Toolkit notifications are now successfully registered for, and
4443 sent to the listening at client.
4445 Changed toolkit event string to use hyphens rather than underscores.
4446 * libspi/listener.c :
4447 listner now gives more info in debug mode - it reports the
4448 name of the event received, as well as the name of the source.
4451 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4453 * libspi/registry.c :
4454 added more implementation for toolkit events.
4455 Fixed bug such that toolkit event registrations
4456 (via atk) use the whole event name string, not
4458 Removed a useless call to an ORBit_ method.
4459 * at-bridge/bridge.c :
4460 Removed unused local sbuf[] variable.
4462 We now register for Gtk:GtkWidget:button_press_event
4463 events as well as "focus:" events.
4465 Add some more API from Registry.idl that was missing,
4466 for keystroke listening, keystroke and mouse event
4467 synthesis, and enumeration of accessible desktops.
4469 2001-08-16 Michael Meeks <michael@ximian.com>
4471 * configure.in: use AM_GLIB_GNU_GETTEXT.
4473 * Makefile.am (SUBDIRS): kill intl.
4475 2001-08-15 Michael Meeks <michael@ximian.com>
4477 * registryd/Makefile.am: s/oaf/server/ relocate info file.
4479 * configure.in: upd.
4481 * configure.in: depend on a recent bonobo-activation that
4482 will find our server files ...
4484 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4486 * libspi/accessible.c : accessible_new() :
4487 Now we add the Component interface via bonobo_object_add_interface,
4488 if the contained AtkObject implements AtkComponent.
4489 * libspi/accessible.h : now include "component.h"
4490 * libspi/component.h :
4491 * libspi/component.c : added files - implementation of
4492 bonobo wrapper object for Accessibility/Component
4493 * libspi/listener.c :
4494 Added test code to check for Accessibility/Component:1.0
4495 interface and report whether it is implemented by the
4497 * libspi/registry.c :
4498 Now we check for not only the hash of the whole event
4499 string before relaying the event, we also check the
4500 "minor" event string (without the detail string).
4501 This allows event listeners to be registered against
4502 all events of a certain major+minor type, or just
4503 against a specific major+minor+detail type.
4504 * libspi/accessible.c :
4505 Added implementations for Accessible:get_parent(),
4506 Accessible:getChildCount(), and Accessible:getChildAtIndex().
4507 * libspi/registry.c :
4508 * libspi/listener.c :
4509 Replaced calls to Accessibility_Accessible_ref() and
4510 Accessibility_Accessible_unref() with
4511 calls to bonobo_object_dup_ref() and
4512 bonobo_object_release_unref(), so that the CORBA object
4513 is dup-ed and released when relayed, as well as the bonobo object.
4515 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4517 * libspi/Makefile.am,
4518 registryd/Makefile.am,
4519 at-bridge/Makefile.am.
4520 test/Makefile.am, configure.in:
4521 reverse previous changes.
4523 * /idl/Image.idl: fix typo.
4525 * test/Makefile.am: put DEBUG_FLAGS
4528 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4530 * test/app.c: use argv[0] instead of
4533 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4535 * libspi/Makefile.am,
4536 registryd/Makefile.am,
4537 at-bridge/Makefile.am.
4538 test/Makefile.am, configure.in:
4539 cleanup, replace individual LIBS/CFLAGS with
4540 AT_COMMON_{LIBS|CFLAGS}.
4544 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4546 * configure.in, libspi/Makefile.am:
4547 Change IDL path checking for bonobo-activation
4550 2001-08-15 Bill Haneman <bill.haneman@sun.com>
4552 * registryd/registry.c : separated event listeners to use
4553 3 separate lists (focus, window, toolkit). Began testing
4554 event names against hashes before relaying events.
4555 * test/at.c : now register for events of type "focus:"
4556 * test/app.c : now generate events of type "focus:"
4557 * at-bridge/bridge.c : register with ATK for focus events,
4558 and we now relay those focus events to any "focus:" listeners.
4559 This now works with the bridge as a GTK_MODULE when running test/at.
4560 * libspi/registry.c :
4561 * libspi/listener.c :
4562 now we ref event sources before propagating, and unref on receipt.
4563 * libspi/registry.c :
4564 some changes to internal structs, to support event typestring hashes.
4565 * text/app.c : changed the way the appname is generated.
4566 * cspi : added directory that will hold the C bindings library for
4567 non-CORBA/bonobo-savvy clients.
4568 * cspi/spi.h : header file that contains the function prototypes for the C binding.
4569 * idl/Component.idl : added in parameter to indicate coord system for
4570 geometry-related calls.
4571 * idl/Hyperlink.idl : added readonly n_links attribute
4572 * idl/Image.idl : changed methods to attributes.
4574 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4576 * at-bridge/Makefile.am: link against
4577 ../libspi/libspi.la instead of -lspi.
4579 * at-spi/test/app.c: include
4580 bonobo-activation.h. Use a default appname
4581 if one is not provided.
4583 2001-08-14 Bill Haneman <bill.haneman@sun.com>
4585 * idl/Registry.idl : temporarily changed register_Application
4586 to oneway, to work around issue with initial registration
4588 * idl/Application.idl : changed attribute "id" from readonly
4589 to read-write, since it needs to be assigned by Registry.
4590 * registryd/registryd.c : added call to set application id
4592 * registryd/registry.c : changed de-registration procedure to
4593 use CORBA_Object_hash() to find matching object ref in application
4594 lists and listener lists.
4595 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
4596 began distinguishing between event types (work in progress).
4598 2001-08-13 Bill Haneman <bill.haneman@sun.com>
4601 * libspi/application.c:
4602 Added implementations for get/set id, get_toolkitName,
4604 * registryd/registryd.c :
4608 Converted from use of OAF to bonobo-activation.
4609 * libspi/desktop.h :
4610 * libspi/desktop.c :
4612 Removed references to atksimpleobject, since base atkobject
4613 implementation now provides functionality we need.
4614 * libspi/atksimpleobject.c :
4615 * libspi/atksimpleobject.h :
4620 * at-bridge/Makefile.am
4621 * at-bridge/bridge.c
4624 Added directory "bridge" and contents, and added dependencies
4625 in Makefile.am/configure.in.
4626 Initial checkin of "at-bridge".
4627 This code is a GTK_MODULE which automatically registers
4628 GTK+ apps with the accessibility registry, using an object
4629 reference to the root ATK object.
4631 2001-08-10 Mark McLoughlin <mark@skynet.ie>
4633 * po/Makefile.in.in: Remove. Again. If this
4634 doesn't get autogenerated - you need to update
4637 2001-08-07 Mark McLoughlin <mark@skynet.ie>
4639 * po/Makefile.in.in: Add. Again.
4641 2001-07-31 Bill Haneman <bill.haneman@sun.com>
4643 * libspi/accessible.c : added support for 'description' property.
4644 * libspi/accessible.c
4646 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
4647 (since the two are now equivalent in libbonobo)
4655 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
4656 Bonobo::Unknown as does Accessibility::Accessible.
4657 * idl/StreamableContent.idl : as above, and replaced internal InputStream
4658 interface with Bonobo::Stream, since it was redundant with it.
4659 (The Stream returned by a StreamableContext object is expected to
4660 implement only a subset of Bonobo::Stream)
4662 2001-07-28 Anders Carlsson <andersca@gnome.org>
4664 * libspi/accessible.c (accessible_object_finalize): Change
4665 g_free to g_object_unref since the AtkObject is a GObject.
4667 2001-07-30 Bill Haneman <bill.haneman@sun.com>
4669 * idl/Accessibility.idl: add new IDL files
4672 * idl/Action.idl: Definitions of actionable UI object
4673 * idl/Component.idl: Definitions of UI component geometry, etc.
4674 * idl/Hyperlink.idl: Defs of hyperlink behavior
4675 * idl/Image.idl: Def of accessible image
4676 * idl/Selection.idl: Definition of UI object with selectable children
4677 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
4678 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
4679 * idl/Text.idl: Interface defs for UI elements with complex textual content
4680 * idl/Value.idl: Definition of UI element that is a value controller or display
4682 2001-07-27 Michael Meeks <michael@ximian.com>
4684 * po/Makefile.in.in: remove autogenerated file from CVS.
4686 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
4689 * idl/Registry.idl: include guard.
4691 * idl/Accessibility.idl: Add, and include all the other IDL
4694 * idl/*.idl: remove mass of pragmas etc.
4696 2001-07-26 Michael Meeks <michael@ximian.com>
4698 * registryd/Makefile.am (registryd_SOURCES): remove
4701 2001-07-27 Mark McLoughlin <mark@skynet.ie>
4703 * libspi/.cvsignore, registryd/.cvsignore,
4704 test/.cvsignore: updated.
4706 * po/Makefile.in.in: gettext update.
4708 2001-07-25 Bill Haneman <bill.haneman@sun.com>
4710 * initial CVS checkin
4712 2001-06-29 Michael Meeks <michael@ximian.com>
4714 * configure.in: add AM_CONFIG_HEADER to gen config.h