1 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
7 (desktop_remove_application: Write diagnostic message to stderr for
10 (impl_accessibility_registry_deregister_global_event_listener):
11 Correct size of lists array. This addresses bug #94555).
13 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
15 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
18 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
20 * registryd/Makefile: Add CLEANFILES so that .server file is removed
23 * registryd/registry.c (impl_registry_notify_event): Remove
24 unnecessary call to parser_event_type().
26 * docs/reference/cspi/tmpl/spi_component.sgml:
27 Add reference to SPI_LAYER_WINDOW.
29 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
31 * registryd/registry.c
32 (desktop_add_application): Remove leak.
33 (desktop_remove_application): Remove leak.
34 (parser_event_type): Remove leak.
36 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
38 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
39 bogus call to CORBA_string_dup(). Also removed unnecessary
40 g_string_dup/g_free calls.
42 2002-09-13 Bill Haneman <bill.haneman@sun.com>
44 * registryd/deviceeventcontroller.c:
45 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
47 * test/event-listener-test.c:
48 main: commented out three redundant listeners, to reduce output
49 noise. (They still are potentially useful for testing).
52 2002-09-13 Michael Meeks <michael@ximian.com>
54 * Update all the copyrights to include Ximian.
56 2002-09-06 Mark McLoughlin <mark@skynet.ie>
58 * cspi/spi.h: add SPI_LAYER_WINDOW.
60 * cspi/spi_component.c: (AccessibleComponent_getLayer):
61 add Accessibility_LAYER_WINDOW case.
63 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
65 * libspi/component.c: (impl_accessibility_component_get_layer):
66 add ATK_LAYER_WINDOW case.
68 2002-08-28 Bill Haneman <bill.haneman@sun.com>
70 * configure.in: incremented micro version.
72 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
74 2002-08-20 Bill Haneman <bill.haneman@sun.com>
77 Clarified and reworded our commit policy.
80 Started an API "todo" addition list for 2.2.
84 Free char pointer from atk_text_get_selection, which was being leaked.
86 2002-08-19 Bill Haneman <bill.haneman@sun.com>
89 Small revision to author acknowledgement.
91 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
93 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
94 If signal has detail add it to the type of the event.
97 2002-08-12 Michael Meeks <michael@ximian.com>
99 * test/test-simple.c (global_listener_cb): bin bogosity.
100 (test_keylisteners): disable, still doesn't work reliably,
101 certainly not on my system anyway.
103 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
104 don't leak a reference on the DEC. This round-trip
105 fetching of the DEC per keystroke sucks, it should be
108 * cspi/spi-private.h,
109 * cspi/cspi-lowlevel.h,
110 * cspi/bonobo/cspi-bonobo-listener.[ch],
111 * cspi/bonobo/cspi-bonobo.c: get the copyright
112 notices better - there is still a large amount of
113 work in at-spi falsely attributed solely to Sun.
115 * cspi/spi_main.c (cspi_object_ref): kill bogus
116 hash lookup, just increment the ref.
117 (SPI_freeString): make explicit the fact that we
118 handle NULL strings just fine.
119 (report_leaked_ref): obey coding standards.
120 (cspi_object_hash, cspi_object_equal): kill retval.
121 (cspi_object_release): only release if not on loan.
122 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
123 (cspi_object_borrow, cspi_object_return): impl.
125 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
126 use cspi_object_borrow / return.
128 2002-08-12 Darren Kenny <darren.kenny@sun.com>
130 * cspi/bonobo/cspi-bonobo-listener.c:
132 Don't call cspi_oject_new() because this is creating a new Accessible
133 every single time that an event is fired. This causes ATs like at-poke
134 to nolonger recognise the source of the event and thus ignore it.
135 Re-use the object from the cache, ref it and then unref it after the
136 listeners have been called.
138 2002-08-06 Darren Kenny <darren.kenny@sun.com>
140 * test/event-listener-test.c:
141 Added command-line options to disable mouse events (m) and
144 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
146 * configure.in: Update required versions of ATK, GTK+ and GAIL
148 * cspi-1.0.pc.in: Add dependency for X include files
151 * cspi/bonobo/Makefile.am:
152 Add $(X_CFLAGS) so that X include files
153 are picked up even if not in standard place (bug #71686)
155 2002-06-25 Bill Haneman <bill.haneman@sun.com>
157 * registryd/deviceeventcontroller.c: fix for 84261
158 (spi_dec_mouse_moved):
159 Added test of mouse button mask, so that we can detect mouse
160 button release. Unfortunately we can't otherwise detect mouse
161 button release events without consuming the mouse press event,
162 because of the way XGrabButton works. This means that our mouse
163 release events have a latency dependent on the polling period
164 while the mouse button is down. At least in this case we only
165 have to poll while the button is down, and not at other times.
166 If the button masks don't match with what the last press event
167 reported, we report the appropriate button release event.
168 (spi_dec_ungrab_mouse):
169 New method (not yet called).
170 (spi_device_event_controller_forward_mouse_event):
171 New method, sends mouse press event from GdkFilter.
172 (spi_dec_init_mouse_listener):
173 Added code to call XGrabButton, redirecting mouse button events to
174 the root window and our Gdk event loop.
176 Added code to filter mouse button events, and reordered.
178 * test/event-listener-test.c:
180 Added registration for mouse events of type "mouse:button".
182 2002-06-25 Bill Haneman <bill.haneman@sun.com>
184 * registryd/deviceeventcontroller.c: partial fix for 84261
185 (spi_dec_poll_mouse_idle):
186 New method, a timeout which checks to see if the mouse
188 (spi_dec_poll_mouse_moving):
189 A timeout to be called when mouse motion is underway.
190 (spi_dec_poll_mouse_moved):
191 A method which fires an event if the mouse has moved, and reports
192 whether or not it did so.
193 (spi_dec_init_mouse_listener):
194 A method which sets up the timeouts above.
195 (spi_device_event_controller_new):
196 Now calls spi_dec_init_mouse_listener.
198 * registryd/registry.c:
200 Now we initialize the device event controller when the registry is
201 initialized, instead of waiting until a client has requested a key
202 event notification; this is because we need the event controller
203 for mouse events, but the mouse event registration API is a
204 "registry" call and doesn't explicitly call the
205 deviceeventcontroller.
206 We now report mouse motion events with a 100 ms idle latency and
207 a 20 ms granularity when motion is in progress.
209 * test/event-listener-test.c:
211 We now register the "detail listener" for events of type
212 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
213 delivered only for the first mouse event received, and thereafter
214 "mouse:abs" events are delivered.)
216 * cspi/spi_registry.c:
217 DOCS: Documented the above mouse event typestrings.
219 2002-06-21 Bill Haneman <bill.haneman@sun.com>
221 Happy Summer Solstice...
223 * registryd/deviceeventcontroller.c: [fix for bug 84100]
224 (spi_controller_notify_keylisteners):
225 Changes to remove a listener from the listener list, freeing its
226 open keygrabs, if a notification to that listener fails. This
227 means that although a dead listener can continue to hold a passive
228 keygrab, a maximum of one dispatch to such a listener can fail
229 before the listener is removed from the list, thus the keygrab
230 will be released on the next occurrence.
232 (spi_notify_keylisteners):
233 Renamed to spi_controller_notify_keylisteners, as the controller
234 instance must now be passed as an argument.
235 The copied 'notify' GList is now a list of DEControllerKeyListener
236 objects, since we need more than just the CORBA reference if a
237 notify fails and we need to deregister the listener.
238 (impl_notify_listeners_sync):
239 (impl_notify_listeners_async):
240 (spi_device_event_controller_forward_key_event):
241 Modify use of notify_keylisteners in accordance with above
243 (spi_deregister_controller_key_listener):
244 New method introduced by refactoring, from
245 impl_deregister_keystroke_listener.
246 (impl_deregister_keystroke_listener):
247 Call spi_deregister_controller_key_listener.
248 (spi_key_listener_clone):
249 New method to copy a key listner without doing a 'ref' on the
250 remote object instance; used to create a notifier list.
251 (spi_key_listener_data_free):
252 New method, frees data without unreffing the source.
254 (spi_key_listener_clone_free): new method.
255 (spi_key_listener_free):
256 refactored to call spi_key_listener_data_free.
258 2002-06-20 Bill Haneman <bill.haneman@sun.com>
260 * registryd/registry.c: [fix for bug 86048]
261 (notify_listeners_cb):
262 Clear CORBA system exceptions which occur when notifying
263 listeners, before returning to the source of the original event,
264 since the event source doesn't care if the relayed notify failed.
265 In other words, don't complain to the atk-bridge if the registry
266 could not notify all its listeners, that's no fault of the
267 application and thus should not appear to be an error from the
268 application's perspective.
270 * cspi/spi_main.c: [fix for bug 85980]
272 Replaced use of bonobo_object_dup_ref with call to the wrapper
273 method, csou_dup_ref (); this silences a compiler warning and
274 provided more portability.
276 Ping the registry before return, and restart if necessary.
278 * cspi/bonobo/cspi-bonobo.c:
282 Fixed this method to return an object reference, as it should have
285 * cspi/cspi-lowlevel.h:
286 Added internal definition for cspi_ping() and fixed
287 return type of cspi_dup_ref().
290 2002-06-19 Bill Haneman <bill.haneman@sun.com>
292 * atk-bridge/bridge.c: [fix for bug 85305]
293 (spi_atk_bridge_register_application):
294 New method where the initial application registry calls have been
295 moved; it allows an application to re-register in response to
296 certain error conditions (such as a registry restart, see below).
298 Moved some initialization code to the method
299 spi_atk_bridge_get_registry, below.
300 (spi_atk_bridge_get_registry):
301 New, private accessor function for the Accessibility_Registry
302 instance. If the registry has not been started before, or has
303 died (as detected by failure of a CORBA exception), it is
304 restarted before return, and spi_atk_bridge_register_application
305 is called again to register with the new bridge instance.
306 (spi_atk_emit_eventv):
307 Set registry_died on error; use spi_atk_bridge_get_registry () to
310 * registryd/registry.c:
311 (impl_accessibility_registry_register_global_event_listener):
312 Set listener's event_type_quark to etype.minor instead of
313 etype.major (fix for bug 84856).
315 * test/event-listener-test.c:
316 (report_detail_event):
317 Change the output string so that user/tester can tell that the
318 'detail listener' was called instead of the 'generic listener'.
320 2002-06-18 Bill Haneman <bill.haneman@sun.com>
322 Fixes for bugs 84900, 84908, 84897, 84898.
327 Revved version to 1.1.0
328 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
329 version is going to HEAD which will be used for gnome-2-0-1 and later.)
331 * idl/Accessibility_Registry.idl:
332 (EventListener::notifyEvent):
333 Removed 'oneway' directive after extensive consulation with
334 ORBit2 team and others. This means also that unref() of the event
335 source can and should be done synchronously after emission, rather
336 than remotely in the client, after servicing the notify call on
339 NOTE: This change speeds up listener performance considerably, but
340 introduces new latency on the application side. We may want to
341 add an event queue to the atk-bridge.
343 * atk-bridge/bridge.c:
344 (spi_atk_bridge_focus_tracker):
345 Do a local unref() on the event source after emission.
347 * registryd/registry.c:
348 (desktop_remove_application):
349 Do an unref() on the event source after emission.
350 (desktop_add_application):
351 Do an unref() on the event source after emission.
352 (notify_listeners_cb):
353 When relaying an event, don't automatically add the event source
354 to the local object cache, just CORBA_dup it instead. Likewise,
355 if this method reenters, release the ref rather than calling
357 (impl_registry_notify_event):
358 No longer call remote unref() on the event source after dispatch.
360 * libspi/eventlistener.c:
361 (impl_accessible_event_notify_event):
362 Removed remote unref ()
364 * cspi/bonobo/cspi-bonobo-listener.c:
366 We now call cspi_object_new() instead of cspi_object_add() on
367 receipt of an event; thus we only have an implicit object ref
368 while the cspi_event method is being executed. If we need to keep
369 a reference to the object, the listener must call ref() on the
370 object. Thus also we don't need to call cspi_object_unref() after
371 invoking the listener callbacks in this method.
375 New internal API for creating a new cspi object, without adding it
378 Now uses cspi_object_new() to create the cspi object instance.
380 Now checks to see if the object is in the internal object cache,
381 and adds it if necessary before incrementing its refcount (note
382 that new objects are added with a refcount of 1).
384 New method which gives some information on leaked object instances
385 if leak detection is turned on.
387 * test/event-listener-test.c:
389 New method, used for testing event delivery timing for special
390 events of type "object:test". It reports elapsed time and
391 events/sec every 500 events.
393 Added a new listener, 'test listener', to check timing of event
394 receipt as noted above.
396 Added some timing output here also, reports elapsed time every 100
399 * test/stress-test.c:
400 Emit events of type "object:test", for use with "event-listener-test".
402 * test/test-simple.c:
403 (global_listener_cb):
404 Call Accessible_ref() on the event source before calling
405 validate_accessible, since the validation process does pointer
406 comparisons on the event source, meaning that the event source
407 needs to be added to the local object cache first. Any use of
408 such pointer comparisons between Accessible objects requires that
409 the caller hold an explicit reference to those objects.
410 We also must therefore call Accessible_unref() when leaving this method.
412 2002-06-13 Bill Haneman <bill.haneman@sun.com>
414 * registryd/deviceeventcontroller.c:
415 (spi_controller_update_key_grabs):
416 Fix for #84735, subsequent keygrab listeners not informed of
417 registration failure.
420 (spi_base_construct):
421 Add an assertion on construct, to make sure the GObject passed in
424 Explicitly initialize object->gobj pointer to NULL;
426 * cspi/bonobo/cspi-bonobo-listener.c:
427 (cspi_object_add_ref):
428 New method, can specify whether to dup-ref a bonobo object passed
429 in if it's newly added to the object cache.
431 Now calls cspi_object_add_ref with second param of "FALSE". This
432 prevents us from doing a pointless dup-ref followed by
433 release-unref for all those cases where the object is already in
434 our object cache (fix for #85205).
436 * atk-bridge/bridge.c:
437 (spi_atk_bridge_idle_init):
438 Removed this method, we don't need to initialize in an idle
441 Changed to call spi_atk_register_event_listeners directly, not via an
442 idle handler. (fix for #81139)
443 (gnome_accessibility_module_shutdown):
444 Removed conditional around deregistration of listeners, since we
445 don't use the idle handler and thus have always registered when
447 (spi_init_keystroke_from_atk_key_event):
448 Changed references to Accessibility_KEY_PRESSED to
449 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
451 2002-06-12 Bill Haneman <bill.haneman@sun.com>
453 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
458 * test/stress-test.c:
461 (may have been an incomplete commit yesterday?)
463 2002-06-12 Bill Haneman <bill.haneman@sun.com>
466 Added target for new stress-test.
468 * test/stress-test.c:
469 New test, sends 1000 focus notifies in quick succession.
471 * test/key-listener-test.c:
472 Now we report whether a keylistener registration
473 request succeeded or failed.
475 * test/event-listener-test.c:
476 Uncommented some listeners which are now implemented.
479 2002-06-06 Bill Haneman <bill.haneman@sun.com>
481 * registryd/deviceeventcontroller.c:
482 (spi_controller_update_key_grabs):
483 Fix for #82509, lack of failure notification when
484 ALL_WINDOWS keygrabs fail due to XGrabKey
485 failure: we synchronize the server when
486 registering a passive grab, to make sure we get the
487 error message before the call returns.
489 2002-06-03 Bill Haneman <bill.haneman@sun.com>
491 * test/test-simple.c:
493 Removed #ifdef KEY_IMPL_WORKS guards.
495 Removed #ifdef KEY_IMPL_WORKS guards.
496 Fixed bug which was causing a hang waiting for a
497 "press" event (which was already overwritten by a "release"
498 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
500 Added code to set globals 'key_press_received' and
501 'key_release_received'.
504 Added section "1.1 API Proposed Additions" which
505 lists API additions desired for at-spi-1.1 (only one so far).
506 Updated TODO list a little.
508 2002-06-02 Bill Haneman <bill.haneman@sun.com>
510 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
513 * configure.in: Revved to 1.0.0.
515 * idl/Accessibility_Registry.idl:
516 (registerKeystrokeListener):
517 Added boolean return value.
519 * registryd/registry.c:
520 (notify_listeners_cb): Minor fix to debug output.
522 * registryd/Accessibility_Registry.server.in.in:
523 Revved version number in OAFIID to 1.0.
525 * registryd/registryd.c:
527 Use new OAFIID version.
529 * cspi/bonobo/cspi-bonobo.c:
531 Use new OAFIID version.
537 * atk-bridge/bridge.c:
539 Use new OAFIID version.
541 * registryd/deviceeventcontroller.c:
542 (impl_register_keystroke_listener):
543 Added CORBA_boolean return value.
544 (spi_controller_register_device_listener):
545 Added gboolean return value.
546 (spi_controller_register_global_keygrabs):
547 Added gboolean return value.
548 (spi_key_set_contains_key):
549 Added implementation for many more control keys,
550 for instance F1-F12, arrow keys, End, Home, Page_Up,
552 [TODO: some still not implemented].
554 * text/screen-review-test.c:
555 (text_chunk_pad_string):
556 New function: it provides mapping between coordinate
557 positions of text chunks and character positions in the
558 screen-review-line output string.
559 (text_chunk_to_string):
560 New function, calls text_chunk_pad_string with various
561 pad/delimiter characters. Pushbuttons are delimited with
562 square brackets, Frames with vertical 'pipe' lines, and
563 other text with double quotes.
564 (text_chunk_list_to_string):
565 Calls new function text_chunk_to_string.
566 (toplevel_composite):
567 New function to composite layers CANVAS through
568 POPUP in each toplevel (other layers are composited
569 across toplevels, i.e. BACKGROUND and OVERLAY).
570 (review_buffer_composite):
571 Revise to use new methods.
577 2002-05-31 Laszlo Peter <laca@sun.com>
579 * configure.in: add the Xtst libdir to the runpath on Solaris,
580 since it's not in the default library search path.
582 2002-05-29 jacob berkman <jacob@ximian.com>
584 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
586 2002-05-29 Bill Haneman <bill.haneman@sun.com>
588 * test/screen-review-test.c:
589 (text_chunk_pad_string):
590 Added method, which pads the string according to the
591 text bounds of the chunk. It also takes a 3-character
592 string as a param which indicates the characters to be
593 used for start, padding, and end delimitation of the chunk.
594 (text_chunk_to_string):
595 Changed to use text_chunk_pad_string.
597 * configure.in: Fixed bug in AC_OUTPUT that was
598 causing path substitution in Accessibility_Registry.server
601 2002-05-23 Bill Haneman <bill.haneman@sun.com>
603 * text/screen-review-test.c:
605 New method which attempts a best-guess at clipping
606 text from components (like Java labels) which don't
607 actually implement AccessibleText. This inaccurate
608 clip is based on the assumption that the label is
609 justified left-and-right, and monospaced.
610 (text_chunk_get_clipped_string):
611 We now call guess_string_clip() for text-containing
612 components that don't implement AccessibleText.
614 * test/screen-review-test.c:
615 (review_buffer_get_text_chunk):
616 We now pull "name" from labels if they do not implement
617 AccessibleText (i.e. for Java labels).
618 (get_screen_review_line_at):
619 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
622 Replaceded AC_OUTPUT target
623 registryd/Accessibility_Registry.server with
624 registryd/Accessibility_Registry.server.in.
626 * registryd/Accessibility_Registry.server.in:
627 Removed (this is now a Makefile target).
629 * registryd/Accessibility_Registry.server.in.in:
630 Added (source for target above). We now use $(libexecdir) as
631 prefix for the executable at-spi-registryd.
633 * registry/Makefile.am:
634 Now install at-spi-registryd into $(libexecdir), and build .server
635 file with path (see above).
637 2002-05-22 Bill Haneman <bill.haneman@sun.com>
639 * test/screen-review-test.c:
640 (text_chunk_get_clipped_string):
641 We now check to see if words fall within clip bounds
642 before resorting to character-by-character clip bounds testing.
644 * TODO: Added a section for "2.2 Proposed API Additions".
646 2002-05-21 Bill Haneman <bill.haneman@sun.com>
648 * test/screen-review-test.c:
650 Added a screen review benchmarking and test program to test
653 * cspi/spi_accessible.c:
655 Made some of the debug strings passed to cspi_check_ev a
656 little more specific.
658 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
660 * test/screen-review-test.c: Fix crashes in debug statements
662 2002-05-20 Bill Haneman <bill.haneman@sun.com>
664 * test/screen-review-test.c: Added this file.
666 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
668 * atk-bridge/bridge.c: changed "object:state-change" to
669 "object:state-changed" to match docs.
671 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
673 * atk-bridge/bridge.c: Hooked up state-change event details.
675 2002-05-11 Bill Haneman <bill.haneman@sun.com>
677 * registryd/registry.c:
678 Fixed quarking bug in event string parsing; now events with
679 detail parameters get matched correctly to listeners.
682 * util/idl/Magnifier.idl: remove.
684 * util/*.[ch]: Remove.
685 Magnification utilities and IDL are now in module gnome-mag.
687 2002-05-10 Bill Haneman <bill.haneman@sun.com>
689 * registryd/deviceeventcontroller.c:
690 Fixed bug in grab key conversion which was causing keycode grabs
691 to be converted to AnyKey grabs.
694 updated NEWS file to reflect recent spin-off of gnome-mag.
696 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
698 * cspi/spi_accessible.c: Added exception checks. Fixed completely
699 busted AccessibleStateSet_compare. Removed redundant casts.
701 * cspi/spi-action.c: Removed redundant casts.
703 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
705 * cspi/spi_component.c: Fixed typos and casting error.
707 * cspi/spi_editabletext.c: Removed redundant casts.
709 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
711 * cspi/spi_hypertext.c: Eliminated redundant casts.
713 * cspi/spi_image.c: Eliminated redundant casts.
715 * cspi/spi_registry.c: Eliminated redundant casts.
716 SPI_deregisterGlobalEventListenerAll () removed retval variable.
717 * cspi/spi_selection.c: Removed redundant casts.
718 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
719 handling. Screen geometry and text offsets were being returned as 0
720 on error which is technically valid-- changed these to return -1.
721 Added marshaller for text boundary types to fix bug with boundary
722 types being passed incorrectly to atk.
724 2002-05-09 Bill Haneman <bill.haneman@sun.com>
727 * cspi/spi_registry.c:
728 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
729 which was uncovered by the recent key changes.
731 2002-05-09 Bill Haneman <bill.haneman@sun.com>
733 * test/event-listener-test.c:
735 Added new test, "event-listener-test";
736 this code does two things; it benchmarks traversal time
737 for the accessible hierarchy for the first running accessible
738 app, and it connects listeners for all supported event types.
739 It is thus useful as an example event listener and for
740 diagnostics/debugging of event generation.
742 2002-05-08 Bill Haneman <bill.haneman@sun.com>
745 Removed unnecessary dependency on libutil.
748 Revved micro version: 0.13.1
750 2002-05-08 Bill Haneman <bill.haneman@sun.com>
753 Removed util/Makefile from targets.
756 Removed util subdir from SUBDIRS (temporarily,
757 pending removal of magnifier-only code
761 #ifdef-ed out magnifier dependencies, since
762 magnifier IDL, headers, and binary now live in
763 module gnome-mag and we don't want at-spi to depend
764 on gnome-mag. A magnifier demo which can run alongside
765 simple-at is forthcoming in the gnome-mag module.
767 NOTE: Split magnifier binary, IDL, and magnification
768 activation code from at-spi into module gnome-mag.
770 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
772 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
773 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
775 2002-05-03 Bill Haneman <bill.haneman@sun.com>
778 Revved to version 0.13.0
780 * idl/Accessibility_Registry.idl:
781 Changed definition of KeySet from sequence of longs to sequence of
782 KeyDefinitions, and added KeyDefinition struct.
783 Required for fix to bug 80616.
785 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
786 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
787 to use new definition (see above).
789 * registryd/deviceeventcontroller.c: handle_keygrab(),
790 spi_keyset_contains_key():
791 Changed to make use of new struct; this allows matching based on
792 string key-name, for instance "Tab". This also allows matching of
793 composed characters, non-alphanumeric characters in a way that
794 doesn't involve dependencies on X keysym codes directly, etc.
796 * test/key-listener-test.c:
797 Added test for Alt-Tab key using "string" specification of keyset,
798 and modified one of the tests to use a keycode-based keyset.
799 Thus this test both tests and demonstrates the creation and use of
800 keysets of three forms: specified via keycode array,
801 keysym array, and string array. (The string case only contains a
802 single string, i.e. a string array of length 1).
805 Turned on PRINT_TREE option by default. Also fixed a
806 string-freeing bug in the PRINT_TREE code.
807 Added a listener to window:minimize events.
809 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
811 * atk-bridge/bridge.c:
812 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
813 for window:activate and window:deactiveate
814 (atk_bridge_property_event_listener atk_bridge_signal_listener
815 atk_bridge_window_event_listener) Tidy debug code
817 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
819 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
820 Fixed handling for NULL return value from ATK.
822 * libspi/action.c libspi/component.c libspi/editabletext.
823 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
824 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
825 Removed redundant casts.
827 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
828 Fixed off by one bug.
830 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
831 function not present in idl)
833 2002-05-02 jacob berkman <jacob@ximian.com>
835 * atk-bridge/Makefile.am: make atk-bridge a real module
837 2002-04-26 Radek Doulik <rodo@ximian.com>
839 * libspi/stateset.c (spi_init_state_type_tables): fix size of
840 atk_state_types table
842 2002-04-22 jacob berkman <jacob@ximian.com>
845 * libspi/Makefile.am: add deps on the built files to help
846 automake, and don't version the ORBit typelib
848 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
850 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
851 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
852 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
853 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
854 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
855 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
856 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
857 libspi/accessible.h libspi/accessible.h libspi/base.h
858 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
859 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
860 libspi/relation.h libspi/remoteobject.h libspi/selection.h
861 libspi/spi-private.h libspi/statetset.h libspi/table.h
862 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
863 util/mag_client.h util/mag_control.c util/mag_image.c
864 util/mag_image.h util/magnifier.c util/magnifier.h:
865 Add missing file headers; standardize existing ones
867 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
869 * atk-bridge/bridge.c: Added window event support.
871 2002-04-18 Michael Meeks <michael@ximian.com>
873 * libspi/relation.c (impl_getNTargets): impl.
874 (impl_getTarget): impl.
876 * libspi/Makefile.am: fix stateset install.
878 2002-04-17 Bill Haneman <bill.haneman@sun.com>
881 Started putting useful info in this file.
883 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
885 * atk-bridge/bridge.c:
886 Propagate state-changed notifications to ATs
888 * cspi/spi_registry.c: update docs to reflect actual behavior of
891 2002-04-17 Bill Haneman <bill.haneman@sun.com>
894 Incremented version to 0.12.1
897 Add missing declaration for magnifier_exit,
898 used by mag_control.c - Forte compiler didn't like
899 the implicit redeclaration of the function :-(
902 2002-04-16 Bill Haneman <bill.haneman@sun.com>
905 Revved version to 0.12 due to API change (see below).
907 * cspi/spi-roletypes.h:
908 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
909 definition from the inline docs, and added docs
910 for SPI_ROLE_LAST_DEFINED.
913 * cspi/spi_streamablecontent.c:
914 Added missing seek_type parameter to
915 (so far unused) method,
916 AccessibleStreamableContent_seek().
917 [ RT approval JodyG. ]
920 Fixed docs for SPI_createAccessibleKeystrokeListener.
922 * cspi/spi_registry.c:
923 Fixed docs for SPI_KEYSET_ALL_KEYS.
925 * docs/reference/cspi/at-spi-cspi-sections.txt:
926 Added a number of missing APIs to SECTIONS.
928 2002-04-16 Bill Haneman <bill.haneman@sun.com>
930 * registryd/Makefile.am:
932 * cspi/bonobo/Makefile.am:
933 Add $(X_LIBS) to makefiles.
935 2002-04-15 Bill Haneman <bill.haneman@sun.com>
938 Revved version to 0.11.
940 * libspi/component.c:
941 Added implementation for grabFocus.
943 * idl/Accessibility_Component.idl
944 (Accessibility_Component_grabFocus):
945 Made this method return boolean to indicate success or failure, to
946 be consistent with cspi and the corresponding ATK method.
948 * idl/Accessibility_Selection.idl
949 (Accessibility_Selection_selectAll) :
950 Made these methods return boolean to indicate success or
951 failure, to be consistent with cspi and the corresponding ATK methods.
953 * idl/Accessibility_EditableText.idl
954 (Accessibility_EditableText_setTextContents,
955 Accessibility_EditableText_insertText,
956 Accessibility_EditableText_cutText,
957 Accessibility_EditableText_deleteText,
958 Accessibility_EditableText_pasteText):
959 Made these methods return boolean to indicate
962 * cspi/spi_editabletext.c:
963 Made these methods return booleans.
965 * libspi/selection.c:
966 * libspi/component.c:
967 * libspi/editabletext.c:
968 Connected the boolean returns from ATK
969 to the server-side code referenced above.
971 2002-04-14 Bill Haneman <bill.haneman@sun.com>
973 * idl/Accessibility_Table.idl: Added missing methods,
974 Accessibility_Table_addRowSelection,
975 Accessibility_Table_addColumnSelection,
976 Accessibility_Table_removeRowSelection,
977 Accessibility_Table_removeColumnSelection.
980 Added C wrappers for above IDL:
981 AccessibleTable_addRowSelection,
982 AccessibleTable_addColumnSelection,
983 AccessibleTable_removeRowSelection,
984 AccessibleTable_removeColumnSelection.
987 Added server-side implementation code for IDL above, connecting
988 to pre-existing ATK api.
990 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
992 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
994 * libspi/accessible.c: Added implementation fo
995 Accessibility_Accessible_get_state.
997 * libspi/libspi.h: Added stateset.h to the list of includes.
999 * libspi/stateset.c: Fixed broken implementation.
1001 2002-04-13 Bill Haneman <bill.haneman@sun.com>
1004 Added implementation code for Accessibility_Magnifier_exit ().
1006 * util/mag_control.c:
1007 Added test code for above method; you can
1008 now kill an existing magnifier via
1009 ./mag_control q, from the util directory.
1011 * test/key-listener-test.c:
1013 Added a new test, for our key listener API.
1015 2002-04-11 Bill Haneman <bill.haneman@sun.com>
1017 * test/app.c, test/keysynth-demo.c:
1019 Replace use of snprintf with g_snprintf.
1020 (fix for bugzilla 78249)
1022 2002-03-27 Michael Meeks <michael@ximian.com>
1026 * util/Makefile.am (INCLUDES): fix.
1027 (DONT_DIST_SOURCE): don't distribute the
1030 * libspi/Makefile.am (dist-hook): ditto.
1032 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
1034 * libspi/hypertext.c:
1035 Fix warnings when yelp is used with atk-bridge
1037 2002-03-21 Michael Meeks <michael@ximian.com>
1039 * libspi/application.c (spi_application_new):
1040 use spi_accessible_construct so we use the AtkObject
1043 2002-03-19 Michael Meeks <michael@ximian.com>
1045 * registryd/registry.c (desktop_remove_application),
1046 (desktop_add_application): clean coding style.
1048 * registryd/desktop.c (spi_desktop_remove_application),
1049 (spi_desktop_add_application): kill re-enterency hazards.
1050 (spi_desktop_dispose): remove bogus redundant cast
1051 obscuring bug; fix bug too.
1052 (spi_desktop_init): make the desktop object immortal.
1054 2002-03-16 Bill Haneman <bill.haneman@sun.com>
1057 Added a #define-guarded tree-traversal step
1058 when enumerating the apps (diagnostic tool).
1060 2002-03-15 Bill Haneman <bill.haneman@sun.com>
1062 * idl/Accessibility_Role.idl:
1063 Added ROLE_DRAWING_AREA which seemed to be missing from the
1066 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1068 * cspi/spi-roletypes.h cspi/spi_accessible.c
1069 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
1072 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
1073 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
1074 AT when applications are added and removed from the desktop. This
1075 reverts the previous broken implementation using the backing
1076 AtkObject for the SpiDesktop.
1078 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1080 * registryd/desktop.c: emit the "children-changed::add" and
1081 "children-changed::remove" signals on the backing ATK object for
1082 the desktop so AT can tell when applications are started and shut
1085 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1087 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
1089 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1091 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
1093 * cspi/spi_accessible.c: Implemented c bindings for stateset support
1095 * cspi/state-types.h: synched with IDL and ATK
1097 2002-03-13 Bill Haneman <bill.haneman@sun.com>
1099 * libspi/accessible.c
1100 (impl_accessibility_accessible_get_child_at_index):
1101 Change return value for g_return_if_fail ()
1102 to CORBA_OBJECT_NIL instead of "0" (!)
1104 * registryd/Makefile.am:
1105 * registryd/Accessibility_Register.server.in:
1106 Changed name of executable, "registryd",
1107 to something more informative:
1110 2002-03-13 Michael Meeks <michael@ximian.com>
1112 * atk-bridge/bridge.c (atk_bridge_init): don't register
1113 if we're in a bonobo-component, rather than a bonobo app.
1115 2002-03-13 Michael Meeks <michael@ximian.com>
1117 * atk-bridge/bridge.c (gtk_module_init): split
1118 out body to (atk_bridge_init): here, since otherwise
1119 we get symbol conflicts and oddness when invoked
1120 from (gnome_accessibility_module_init): here (upd.)
1122 2002-03-11 Bill Haneman <bill.haneman@sun.com>
1125 New file. Explicitly allow "build sheriff" putbacks provided
1126 they are tested on Solaris.
1128 * docs/reference/cspi/Makefile.am:
1129 Added '-' to the "cp" command for index.sgml.
1130 ("patch by thomasvs, soon coming to a GUADEC near you")
1133 Incremented version number (0.9.0) for new release.
1134 Changed macro that checks for popt, to better detect
1135 obsolete versions of popt.
1138 Added X_LIBS to AC_SUBST, for applications
1139 that call Xlib API directly.
1142 2002-03-07 Bill Haneman <bill.haneman@sun.com>
1145 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
1148 Fix regression caused by hard-coding major
1149 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
1152 * test/test-simple.c (test_editable_text),
1153 (test_test): revert previous change (error was
1154 a regression in gail which is now fixed).
1156 2002-03-04 Michael Meeks <michael@ximian.com>
1158 * test/test-simple.c (test_editable_text),
1159 (test_text): pass G_MAXINT instead of '-1' for
1160 whole string - is this a good thing !?
1162 * cspi/spi_accessible.c
1163 (Accessible_getRelationSet): fix crasher bug
1164 overwriting the end of the array.
1166 * test/test-simple.c (validate_accessible): free,
1167 not g_free returned relation set.
1169 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
1171 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
1172 implemented stateset support
1174 * idl/Accessibility_State.idl: Made necessary changes to
1175 the IDL to support state sets.
1177 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1179 * registryd/deviceeventcontroller.c:
1180 Added implementation for generateMouseEvent.
1182 * cspi/spi_registry.c:
1183 Connected new implementation for generateMouseEvent
1186 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1189 Incremented revision (but no change in public API
1190 outside of 'utils', which are not installed public yet.)
1192 * libspi/component.c:
1193 Changed to use atk_component API for layers and
1194 mdi_zorder, instead of deprecated atk_object API.
1196 Magnification Utility Enhancements:
1199 Added implementation of createZoomRegion, clearAllZoomRegions,
1200 resizeZoomRegion. Added new commandline argument
1201 "--no-initial-region". Note that clearAllZoomRegions doesn't
1202 unmap the old '0' region as it should (yet), and the other
1203 methods only work when creating/resizing a single region,
1204 which is "region 0".
1205 (Code for multiple region support will be added later.)
1208 Now we raise the magnifier window each time it's refreshed;
1209 this will help keep it on top.
1211 * util/mag_client.h:
1212 Added simple wrappers for above, used by mag_control.
1213 For general use, it's recommended to use the bonobo magnifier
1214 control API directly instead of using these wrappers.
1217 Moved ZoomRegionData from magnifier.c to this file.
1219 * util/mag_control.c:
1220 Added some code to exercise new IDL implementations.
1222 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
1224 * libspi/text.c: Provide implementation for getAttributes.
1226 2002-02-04 Bill Haneman <bill.haneman@sun.com>
1229 Incremented revision.
1231 * test/test-simple.c:
1232 Replaced use of deprecated g_main_iteration with
1233 g_main_context_iteration.
1235 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
1238 Incremented revision for desktop alpha 2.
1240 2002-01-28 Mark McLoughlin <mark@skynet.ie>
1242 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
1245 * test/simple-at.c: include netinet/in.h.
1247 2002-01-24 Mark McLoughlin <mark@skynet.ie>
1249 * cspi/spi_accessible.c: (Accessible_getRelationSet):
1250 use NULL, not CORBA_OBJECT_NIL.
1252 * libspi/accessible.c:
1253 (impl_accessibility_accessible_get_relation_set):
1254 allocate the sequence correctly.
1256 * libspi/remoteobject.h: kill spi_remote_object_new.
1258 * test/test-simple.c: (validate_accessible): add code
1259 to test relation sets, now all we need is to figure
1260 out how to excercise this code path :/
1262 2002-01-18 Michael Meeks <michael@ximian.com>
1264 * test/test-simple.c
1265 (key_listener_cb): consume the key.
1266 (test_keylisteners): update.
1267 (main): wait for any pending unrefs on events.
1269 * registryd/deviceeventcontroller.c
1270 (spi_controller_update_key_grabs): only re-issue the
1271 grab on a key release.
1272 (spi_device_event_controller_forward_key_event):
1273 refresh the keygrabs before we notify the listeners,
1274 to reduce the X ungrab / re-grab race.
1275 (spi_controller_register_with_devices): remove
1276 XSelectInput - we do that with the gdk_window_ call.
1277 (_spi_controller_device_error_handler): return a value.
1278 s/GDK_DISPLAY/spi_get_display/
1280 2002-01-17 Michael Meeks <michael@ximian.com>
1282 * registryd/deviceeventcontroller.c
1283 (_deregister_keygrab): don't blow out the later
1286 * test/test-simple.c (test_keylisteners): do a
1287 more intelligent validation.
1289 2002-01-14 Michael Meeks <michael@ximian.com>
1291 * atk-bridge/bridge.c
1292 (gnome_accessibility_module_init),
1293 (gnome_accessibility_module_shutdown): impl.
1294 (gtk_module_init): protect vs. double inits.
1295 (add_signal_listener): impl.
1296 (spi_atk_bridge_state_event_listener): kill
1297 (deregister_application): split out of
1298 (spi_atk_bridge_exit_func): here.
1300 2002-01-18 Bill Haneman <bill.haneman@sun.com>
1303 Added caret tracking when using magnifier, and
1304 now use text bounds for focus tracking of text elements, rather than
1305 the component bounds - this is helpful for short text fields in long
1306 table cells, at high magnification.
1308 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1310 * registryd/deviceeventcontroller.c:
1311 Regression fix for keylistener de-registration; global keygrabs
1312 were not being released when deregisterKeystrokeListener was
1313 called in cspi, since
1314 Accessibility_DeviceEventController_deregisterKeystrokeListener
1315 was called with a zero-length keyset. That is because the cspi
1316 method, SPI_deregisterKeystrokeListener, does not take a keyset
1317 parameter but instead should remove all the key grabs held be a
1319 The code in impl_deregister_keystroke_listener was changed to copy
1320 the keylist from the listener instance previously registered with
1321 the DeviceEventController before releasing the grabs.
1323 * registryd/registry.c:
1324 * registryd/deviceeventcontroller.c:
1325 * libspi/spi-private.h:
1327 Changed spelling of "re-enterant" to "re-entrant" globally.
1329 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1331 * test/test-simple.c:
1332 Changed key listeners test - the test was slightly mis-using the
1333 (admittedly poorly documented) SPI_generateKeyboardEvent API.
1334 It now uses '=' as the key event listened to and generated,
1335 relying on a keysym match rather than assuming that keycode 33
1336 is always equal to keysym '!'.
1338 2002-01-15 Bill Haneman <bill.haneman@sun.com>
1341 Changed simple-at to use a specific keyset, rather than
1342 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
1343 manager, desktop, etc.
1345 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1347 * registryd/deviceeventcontroller.c:
1348 Replaced standard X error handler with a special handler that
1349 is non-fatal for failed keygrabs. This works around
1350 problems with keygrab clashes sometimes observed on
1352 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
1353 mouse handling code as yet).
1355 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1358 Incremented revision for desktop alpha release.
1361 Fixed a couple of the more glaring errors (still not
1364 2002-01-11 Michael Meeks <michael@ximian.com>
1366 * registryd/deviceeventcontroller.c
1367 (spi_device_event_controller_forward_key_event): kill
1368 XUngrabKey / XKeyGrab race.
1369 (spi_controller_grab_keyboard): rename to
1370 (spi_controller_update_key_grabs): this, and deal
1371 with incremental adding / removing grabs more
1373 (_register_keygrab): ensure we're not pending a remove.
1374 (spi_grab_mask_free): impl.
1375 (spi_controller_register_global_keygrabs): split out
1377 (handle_keygrab): impl.
1378 (_deregister_keygrab): impl.
1379 (spi_controller_deregister_global_keygrabs): impl.
1380 (spi_controller_update_key_grabs): re-issue the grab if
1381 we just recieved a notification.
1383 * test/test-simple.c (key_listener_cb): remove debug.
1385 * registryd/deviceeventcontroller.c
1386 (spi_controller_register_device_listener): after
1387 registering a global keygrab, actualy register it !
1388 don't wait for a timeout; doh !
1390 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
1391 to make it more readable / manipulable.
1392 s/grabmask/grab_mask/ s/refcount/ref_count/
1393 s/keyval/key_val/ s/modmask/mod_mask
1395 2002-01-08 Michael Meeks <michael@ximian.com>
1397 * registryd/deviceeventcontroller.c
1398 (spi_controller_register_with_devices): use gdk calls to
1400 (global_filter_fn): implement the filter.
1401 (spi_device_event_controller_check_key_event): rename to
1402 (spi_device_event_controller_forward_key_event): this & upd.
1403 (spi_get_display): replace with GDK_DISPLAY.
1405 * registryd/deviceeventcontroller.c
1406 (spi_controller_deregister_device_listener): unroll into
1407 (impl_deregister_keystroke_listener): here to simplify.
1408 (spi_controller_register_global_keygrabs): split cut and
1409 paste (!) out into (_register_keygrab): here, shorter & sweeter.
1410 (spi_controller_deregister_device_listener): remove.
1411 (impl_register_mouse_listener): remove, no mouse listener
1412 support in at-spi-1.0
1414 * registryd/registry.c
1415 (_device_event_controller_hook): kill.
1416 (spi_registry_init): upd.
1418 * registryd/deviceeventcontroller.c
1419 (spi_device_event_controller_class_init): upd.
1420 (spi_check_key_event): merge into.
1421 (spi_device_event_controller_check_key_event):
1422 here and kill strange static ev init, don't leak
1423 the x_event - nor dynamicaly allocate it.
1425 * registryd/registry-main.c (main): re-direct
1426 timeout to remove strange vtable mess.
1428 * registryd/deviceeventcontroller.c
1429 (remove_listener_cb): impl.
1430 (spi_controller_deregister_device_listener):
1431 fix re-enterancy hazard.
1433 2002-01-07 Michael Meeks <michael@ximian.com>
1435 * registryd/deviceeventcontroller.c
1436 (spi_device_event_controller_new): upd.
1437 (impl_notify_listeners_sync): upd. debug.
1438 (spi_notify_keylisteners): fix re-enterancy hazards,
1439 prettify, remove O(n*n) iteration.
1440 (spi_controller_grab_keyboard): fix iteration.
1441 (spi_check_key_event): re-format to suit coding style.
1442 Clean all the warnings - we're warning free.
1444 * registryd/deviceeventcontroller.h:
1445 * registryd/registry.h: make mutualy referential with
1446 typesafe forward references instead of (!) void pointer
1449 2002-01-11 Michael Meeks <michael@ximian.com>
1451 * cspi/spi_accessible.c (role_names): add a role name
1452 to sync this array with the enum; and make the regression
1455 2002-01-10 Michael Meeks <michael@ximian.com>
1457 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
1458 allow expansion of enumeration & kill warning.
1460 * test/test-simple.c (key_listener_cb): impl.
1461 (test_keylisteners): impl.
1463 * cspi/spi-listener.h: make listener signatures const
1464 on the provided (const) events.
1466 * test/keysynth-demo.c: upd. to const events.
1468 * test/simple-at.c: ditto.
1470 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1473 Rev the version to 0.5 (the previous tarball was named 0.4,
1474 even though the micro number was 3), so we need to rev upwards
1475 again for beta2/"desktop-alpha"
1478 Checked in a demo script, which requires editing before use!
1479 Proceed with caution.
1482 Fixed typo in header which was redefining SPI_ACTION_CLASS.
1484 * cspi/spi_accessible.c:
1485 Add a couple of missing enum initializations, and fix some enum
1488 * cspi/spi_registry.c:
1489 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
1491 * docs/reference/cspi/at-spi-cspi-sections.txt:
1492 Remove/fix a couple of broken document references.
1495 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
1496 as Alt-Control to listen for commands, since on some systems
1497 Control-Alt may already be grabbed.
1499 2002-01-10 Bill Haneman <bill.haneman@sun.com>
1502 Update version number to 0.4 for Beta2.
1504 * libspi/accessible.c, libspi/accessible.h:
1505 Expose spi_accessible_construct, to enable libgail-gnome
1506 construction from spi_accessible subtype.
1508 * utils/magnifier.c:
1509 Workaround for bug in some non-gnome-compliant window managers
1510 which made magnifier resize improperly.
1512 2002-01-09 Bill Haneman <bill.haneman@sun.com>
1514 * libspi/accessible.c: (spi_accessible_new) :
1515 Move the test for SPI_IS_REMOTE_OBJECT to
1516 spi_accessible_new_return, fixing a bug and compile time warning.
1518 2002-01-08 Michael Meeks <michael@ximian.com>
1520 * registryd/registry.c (parse_event_type): remove strndup.
1522 * libspi/Makefile.am (libspi_la_SOURCES): remove
1523 sources already included in the headers section.
1525 * libspi/util.c: add.
1527 * libspi/spi-private.h: add.
1529 * registryd/registry.c: update to moved list iterators.
1531 2002-01-05 Michael Meeks <michael@ximian.com>
1533 * test/simple-at.c (main): upd. auto-module set to atk-bridge
1535 * test/test-simple.c (main): ditto.
1537 2002-01-04 Michael Meeks <michael@ximian.com>
1539 * libspi/accessible.c (spi_accessible_new): remove 2nd,
1540 redundant construct.
1542 * registryd/registry.c
1543 (get_listener_list): impl.
1544 (impl_accessibility_registry_register_global_event_listener):
1545 re-impl. to simplify using ~, remove dodgy const cast off.
1546 (parse_event_type): constify.
1547 (impl_accessibility_registry_deregister_global_event_listener_all):
1548 re-write, more efficiency and simplicity, kill re-enterancy
1550 (compare_listener_corbaref, compare_corba_objects),
1551 (compare_listener_quarks): define out.
1552 (impl_accessibility_registry_deregister_global_event_listener):
1553 re-write for effiency, and nail re-enterancy hazard.
1554 (impl_accessibility_registry_get_desktop_list): impl.
1555 (re_enterant_list_delete_link): impl.
1556 (re_enterant_list_foreach): impl.
1557 (remove_listener_cb): impl.
1558 (_registry_notify_listeners): kill.
1559 (notify_listeners_cb): impl.
1561 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
1562 (SPI_getDesktopList): impl.
1564 * test/test-simple.c (test_desktop): test the methods.
1566 2002-01-03 Michael Meeks <michael@ximian.com>
1568 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
1569 keystrings since we free them
1570 (SPI_freeAccessibleKeySet): in here.
1572 * libspi/accessible.c (spi_accessible_new): kill warning,
1573 wonder what is going on with the constructor here.
1575 2002-03-01 Bill Haneman <bill.haneman@sun.com>
1577 * libspi/accessible.c (spi_accessible_new ()) :
1578 Added check to see if AtkObject is an SpiRemoteObject before
1579 creating an SpiAccessible.
1581 2002-05-01 Bill Haneman <bill.haneman@sun.com>
1583 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
1584 Enable keygrabs using the Control modifier, now that they are
1585 working properly (they were previously disabled).
1588 Change the command keygrab for this demo to "Control+Alt", so as
1589 to conflict with fewer other key commands on the system; this
1590 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
1592 Removed a pointlessly-chatty keylistener for unshifted keys
1593 (shifted keys are still reported).
1595 2002-02-01 Bill Haneman <bill.haneman@sun.com>
1597 * libspi/remoteobject.h:
1598 * libspi/remoteobject.c:
1599 Added definitions for special AtkObject subtype, required for
1600 support of remote components (specifically, used by BonoboControl
1601 accessibility implementation).
1603 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
1605 * cspi/spi.h: synched relation types with ATK
1607 * cspi/spi_accessible.c: Added implementations of
1608 AcccessibleRelation_* methods
1610 * idl/Accessibility_Relation.idl: added getRelationTypeName
1611 method. Synched known relation types with ATK. Allowed for
1612 relation type extension with the RELATION_EXTENDED type.
1614 * libspi/relation.c: Provided implementations for
1615 AccessibleRelation methods.
1617 2002-01-01 Bill Haneman <bill.haneman@sun.com>
1619 API tweaks for today's API 'freeze'.
1622 Added placeholder functions to allow future compatible expansion
1623 of the IDL interfaces.
1625 * idl/Accessibility_Registry.idl:
1626 Changed generateKeyEvent to generateKeyboardEvent. Changed
1627 signature of this method to accept an optional keystring in
1628 parameter (for complex text input synthesis) and changed use of
1629 simple 'boolean' parameter in registerKeystrokeListener to a
1630 struct, EventListenerMode.
1632 * cspi/spi_accessible.c:
1634 * cspi/spi_streamablecontent.c:
1635 Added references to AccessibleStreamableContent interface, and
1636 definition and implementation of AccessibleStreamableContent
1639 * cspi/spi_registry.c:
1641 Changed generateKeyEvent API to generateKeyboardEvent,
1642 taking a new (optional) keystring parameter to support complex
1647 Renamed directory (to better reflect its actual purpose, bridging
1648 from at-spi to ATK). The .so module is also now named
1651 * idl/Accessibility_Hypertext.idl:
1652 * libspi/accessible.c:
1653 * libspi/hypertext.h:
1654 * libspi/hypertext.c:
1655 Changed Accessibility_Hypertext to *not* derive from
1658 * cspi/spi_registry.c:
1659 Added list of legal event type names for 'window' events, which
1660 completes the registry event API.
1662 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
1664 * at-bridge/bridge.c: Added registration for separate
1665 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
1666 signals. If either of the first two parameters to the generic
1667 bridge signal handler are ints, they are passed on as event
1668 details. This allows an AT to determine what text was inserted.
1670 2001-12-21 Bill Haneman <bill.haneman@sun.com>
1672 * registryd/deviceeventcontroller.c:
1673 Fixed regressions in generateKeyEvent caused by the removal of
1674 gdk_init from registryd; we now use pure X calls to connect to the
1675 display, which makes sense because deviceeventcontroller already
1676 uses a fair bit of X API (should eventually be migrated to a
1677 'portability layer').
1679 * registryd/desktop.c:
1680 Fixed minor regression in spi_desktop_init, changed the way the
1681 desktop name is being set to work with new spi_base API
1682 (gobject-based, rather than AtkObject-based).
1684 * registryd/Makefile.am:
1685 Minor revision of makefile to use XTST_LIBS variable rather than
1686 hard-wiring the Xtst LD_ADD element.
1688 * test/keysynth-demo.c:
1689 Tweaked an output message; added initialization of the
1690 'keystrings' member of the "switch listener" key_set.
1692 * libspi/relation.c:
1693 Squashed compile-time warning.
1695 * libspi/accessible.c:
1696 Cosmetic and formatting fixes, renamed a static method.
1698 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
1700 * libspi/accessible.c
1702 * libspi/application.c
1705 * libspi/component.c
1706 * libspi/editabletext.c
1707 * libspi/hyperlink.c
1708 * libspi/hypertext.c
1710 * libspi/selection.c
1714 * registryd/desktop.c:
1715 Changed SpiBase to contain a GObject pointer rather than an AtkObject
1717 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1719 * idl/Accessibility_Registry.idl:
1720 Added boolean member 'is_text' to DeviceEvent. This is for the
1721 use of key events, and helps prevent ambiguity between composed
1722 key strings and keysym names, since both may potentially be
1723 returned in the 'event_string' member.
1725 * at-bridge/bridge.c:
1726 * registryd/deviceeventcontroller.c:
1727 Use the 'is_text' member when notifying device event listeners.
1728 Knon issue: composed characters are not dealt with correctly by
1729 the global key listener implementation yet.
1731 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1733 * at-bridge/bridge.c:
1734 Namespaced local static methods to spi_atk_bridge_* where
1735 previously named bridge_*, and spi_* elsewhere.
1737 * at-bridge/bridge.c:
1738 * cspi/bonobo/cspi-bonobo-listener.c:
1739 Added demarshalling/conversion for string member of
1740 Accessibility_DeviceEvent to AccessibleKeystroke.
1742 * registryd/deviceeventcontroller.c:
1743 Added code to fill the Accessibility_DeviceEvent key string value
1744 member for global key events (i.e. from XGrabKey), to match
1745 behavior of Accessibility_DeviceEvent from the toolkit key events
1746 from the bridge. Fixed timestamp in global key event notifications.
1749 Added printout of key event's string value to
1750 report_ordinary_key_event, for demo/debugging purposes.
1752 2001-12-15 Bill Haneman <bill.haneman@sun.com>
1754 * idl/Accessibility_Registry.idl:
1755 Removed Accessibility_KeyStroke structure in favor of generic
1756 Accessibility_DeviceEvent structure.
1757 Changed Accessibility_ControllerEventMask from a struct to an
1760 * at-bridge/bridge.c:
1761 Changed APIs to use DeviceEvent structure as above, and removed
1762 bogus casting between these event structures.
1764 * cspi/spi-listener.h:
1765 Added keystring member of AccessibleKeystroke structure, to enable
1766 matching on event "names" rather than only hardware codes and
1770 Added keystrings member of AccessibleKeySet struct, to allow
1771 matching on event names (as above).
1772 Added declarations for SPI_createAccessibleKeySet and
1773 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
1774 event modmasks directly as unsigned ints rather than structs with
1775 refcounts, in the DeviceEventController methods.
1777 * cspi/spi_registry.c:
1778 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
1780 * cspi/spi-roletypes.h:
1781 Added documentation of newly added SPI Roles.
1783 * cspi/bonobo/cspi-bonobo-listener.c:
1784 Changes in support of API changes above.
1786 * libspi/accessible.c:
1787 Converted APIs to use DeviceEvent structure (see IDL changes
1790 * registryd/deviceeventcontroller.c:
1791 Added DEControllerGrabMask structure to track keygrabs not only by
1792 modmask but by keyset as well; this allows us to do "global"
1793 (i.e. X) keygrabs on a per-key or keyset basis rather than always
1794 grabbing on AnyKey and then filtering after-the-fact.
1795 Bugfixes for event filtration mean that we don't get false matches
1796 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
1798 * registryd/deviceeventcontroller.c:
1799 Namespaced a number of static methods to use spi_ prefix. Major
1800 revision to internals of global (i.e. X) key grabs.
1802 * registryd/deviceeventcontroller.h:
1803 Removed keymask_list and added keygrabs_list to
1804 SpiDeviceEventController struct.
1807 Added use of SPI_createAccessibleKeySet API when creating a
1808 listener for only one key. Attach a listener to "shift spacebar
1809 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
1810 X key event names to SPI key event names, so that listeners are
1811 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
1813 * test/keysynth-demo.c:
1814 Changed (incorrect) use of X key event names (KeyPressed,
1815 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
1818 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1820 * libspi/accessible.c:
1821 Convert all AtkRole enumerations to Accessibility_Role enums when
1822 getting a role from an AtkObject.
1824 * cspi/spi_accessible.c:
1825 Complete the conversion of Accessibility_Role enums at runtime to
1826 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
1827 role enums correctly match those given in spi-roletypes.h.
1828 Re-synchronize the local names list for AccessibleRole_getName ().
1829 AccessibleRole_getName is now deprecated, since it duplicates the
1830 more reliable Accessible_getRoleName.
1831 Added some role types from Accessibility_Role.idl.
1833 * idl/Accessibility_Role.idl:
1834 Added some role types used by AtkRole.
1836 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1839 * cspi/spi_registry.c:
1841 * cspi/cspi-bonobo-listener.c:
1842 Namespaced all methods that did not begin with an "SPI_" or
1843 "Accessible" prefix to "SPI_".
1846 Homogenized internal function namespace to "cspi_" for statics.
1849 Patched tests to use the new CSPI API.
1851 * docs/reference/cspi/at-spi-cspi-sections.txt:
1852 Updated docs to reflect namespace changes, and added a number of
1853 methods to the documentation.
1855 * registryd/registry.c:
1856 Changed use of strings and string hashes in listener event
1857 matching and parse_event_string to use GQuark, which is guaranteed
1860 * registryd/registry.h:
1861 Squashed annoying warning.
1863 * idl/Accessibility_Role.idl:
1864 Extended range of available Accessibility_Role values.
1866 * cspi/spi_accessible.c:
1867 Re-ordered role names.
1869 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1871 * idl/Accessibility_Value.idl:
1872 Revert use of union back to CORBA_double, since the double type is
1873 more efficient and can contain the other types without loss of
1876 * idl/Accessibility_Accessible.idl:
1877 Added method Accessibility:Accessible:getRoleName, to complement
1878 Accessibility:Accessible:getRole.
1880 * cspi/spi_accessible.c:
1882 Added C binding for above, Accessible_getRoleName (), and changed
1883 signature of Accessible_getRole () to return an AccessibleRole.
1885 * cspi/spi-roletypes.h:
1886 Changed AccessibleRole_getName to return a char * instead of a
1887 const char *. This method is now at least temporarily deprecated
1888 in favor of asking Accessibles for their RoleNames directly.
1891 Revert to match Accessibility_Value.idl;
1895 Change signature of AccessibleValue methods to use double rather
1899 * cspi/spi_accessible.c:
1900 Changed Accessible_getRole to return an AccessibleRole enum rather
1901 than a UTF-8 string. The UTF-8 string can still be obtained via
1902 AccessibleRole_getName ().
1904 * test/test-simple.c:
1905 Add test_action. Small fixup to match API change to Accessible_getRole.
1908 Bugfix for get_action_from_servant ().
1910 2001-12-11 Michael Meeks <michael@ximian.com>
1912 * libspi/libspi.h: remove registry.h and
1913 desktop.h, deviceeventcontroller.h
1915 * libspi/Makefile.am: remove registry.[ch],
1916 desktop.[ch], deviceeventcontroller.[ch]
1918 * registryd/Makefile.am: add registry.[ch],
1919 desktop.[ch], rename registryd.c to registry-main.c.
1920 add deviceeventcontroller.[ch]
1922 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1925 Replace setenv() call with putenv ().
1927 * libspi/component.c:
1928 Bugfix in AccessibleComponent_getExtents (),
1931 2001-12-11 Michael Meeks <michael@ximian.com>
1933 * libspi/image.c (impl_getImageExtents): impl.
1934 (spi_image_class_init): upd.
1937 (AccessibleImage_getImageDescription): fix daft bug
1940 * test/test-simple.c (global_listener_cb): update
1941 to only quit if not --poke
1942 (main): catch --poke.
1943 (validate_accessible): upd. dumping, call test_image
1946 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1949 * idl/Accessibility.idl: update all IDL includes.
1951 * idl/*.idl - rename to namespace - this sucks, blame
1952 mjs' bad decision for oafd.
1954 * test/test-simple.c (create_test_window): add more tests.
1955 (create_tree): split this out.
1956 (validate_accessible): bugfix.
1958 2001-12-11 Michael Meeks <michael@ximian.com>
1960 * cspi/bonobo/cspi-bonobo-listener.c:
1961 (cspi_kestroke_listener_unref),
1962 (cspi_event_listener_unref): impl. undoing previous
1963 homenous environment - for Bill.
1965 * cspi/spi_table.c (long_seq_to_array): use
1968 * cspi/spi_main.c: split out all bonoboish bits into
1971 * cspi/spi-impl.h: upd. typedefs.
1973 * cspi/spi_registry.c: update to lowlevel API,
1974 return booleans to indicate success in some places.
1976 * cspi/spi_event.c: update to lowlevel API.
1978 * cspi/bonobo/Makefile.am: add.
1980 * cspi/bonobo/cspi-lowlevel.h: add
1982 * cspi/bonobo/cspi-bonobo.c: add
1984 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1986 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1987 (SUBDIRS): add bonobo, link in the libs.
1989 * cspi/spi-util.c: kill this file.
1991 * TODO: merge in my bits.
1993 2001-12-11 Michael Meeks <michael@ximian.com>
1995 * test/test-simple.c (test_value, test_table, main):
1996 remove unused variables causing warnings.
1998 * configure.in: cleanup checks - require gail.
2000 2001-12-11 Bill Haneman <bill.haneman@sun.com>
2003 Changed Value interface to use SValue (scalars) rather than
2004 assuming all values are floats. This allows floats, doubles,
2005 longs, shorts, and unsigned values to be manipulated.
2006 Introduced Accessibility:SValue union.
2009 Updated to use new API above, and to work correctly with GValues
2010 of different types in AtkValue.
2013 Updated to use new API above. cspi's API is as yet unchanged.
2016 Updated the Value revision action item.
2018 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2020 * test/test-simple.c:
2021 Added test_table (GtkTreeView widget in test window to follow).
2022 Un-commented test_value, added GtkRange widget.
2023 Added GtkTreeView widget with GtkListStore. It passes regression
2024 test but leaks one SPI object for some reason.
2027 Fixed bug in impl__set_currentValue.
2029 2001-12-10 Michael Meeks <michael@ximian.com>
2031 * cspi/spi_text.c: audit for exception handling,
2032 tolerating NULL object references safely etc.
2034 * cspi/spi_value.c: ditto.
2036 * cspi/spi_table.c (AccessibleTable_getSummary),
2037 (AccessibleTable_getAccessibleAt),
2038 (AccessibleTable_getRowHeader),
2039 (AccessibleTable_getColumnHeader),
2040 (AccessibleTable_getCaption): fix bugs hidden by
2042 (long_seq_to_array): impl.
2043 (AccessibleTable_getSelectedRows),
2044 (AccessibleTable_getSelectedColumns): use it.
2046 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2049 Added a TODO list (rough and short for now).
2051 * cspi/spi_hyperlink.c:
2052 * cspi/spi_hypertext.c:
2053 Fixed macro name typos, and remove use of obsolete macro in
2054 AccessibleHyperlink_getLink.
2056 * cspi/spi_action.c:
2057 * cspi/spi_accessible.c:
2058 * cspi/spi_application.c:
2059 * cspi/spi_component.c:
2060 * cspi/spi_selection.c:
2063 Documentation fixes (removed return values from ref/unref methods).
2065 2001-12-10 Michael Meeks <michael@ximian.com>
2067 * cspi/spi_action.c: audit for exception handling,
2068 tolerating NULL object references safely etc.
2070 * cspi/spi_accessible.c: ditto.
2072 * cspi/spi_component.c: ditto.
2074 * cspi/spi_editabletext.c: ditto.
2076 * cspi/spi_hyperlink.c: ditto.
2078 * cspi/spi_hypertext.c: ditto.
2080 * cspi/spi_image.c: ditto.
2082 * cspi/spi_selection.c: ditto.
2084 2001-12-10 Michael Meeks <michael@ximian.com>
2086 * configure.in: use cspi/libspi.pc.in instead.
2088 * Makefile.am (pkgconfig_DATA): upd. to match.
2090 * test/simple-at.c (report_focus_event): kill hacks around
2091 bad return values, use putenv not setenv
2093 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
2094 fire ChildGone - I killed it.
2096 * libspi/component.c
2097 (impl_accessibility_component_get_extents): remove
2100 * idl/Accessible.idl: kill ChildGone exception.
2102 * cspi/*.[ch]: kill int return from ref / unref.
2104 * cspi/spi_main.c (cspi_object_add_check): fold into
2105 (cspi_object_add): here.
2107 * cspi/spi_component.c (AccessibleComponent_getExtents):
2108 handle exceptions elegantly.
2110 * cspi/spi-private.h (cspi_check_ev_return),
2111 (cspi_return_if_fail): impl.
2113 * cspi/spi_accessible.c: use extensively.
2114 (AccessibleStateSet_equals): add direct compare check.
2116 * cspi/spi_selection.c: tolerate NULL objs, and check
2117 exceptions before return.
2119 * cspi/spi-util.c (cspi_warn_ev): rename to
2120 (cspi_check_ev): this & don't pass ev in; no point.
2122 2001-12-10 Michael Meeks <michael@ximian.com>
2124 * test/test-simple.c: use putenv not setenv
2125 (get_environment_vars): more chatty if you're not using
2128 * test/simple-at.c: do the setenv so more people see the
2131 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2133 * libspi/registry.c:
2134 Changed check of CORBA_environment on notification to be a warning
2135 instead of an error for the moment, since we can recover from this
2136 error when caused by a queued notification from a dead app.
2139 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
2140 used by all current implementors of AtkValue), and coerce to
2141 CORBA_float. (Proper general case fix may require change to Value.idl).
2143 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2147 * cspi/spi_accessible.c:
2148 Documentation fixes: added user_data params to documentation for
2149 listeners and callbacks.
2151 * cspi/spi_accessible.c:
2152 Changed AccessibleStateSet_compare to return a
2153 StateSet rather than return the difference set into a third parameter.
2156 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2159 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
2160 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
2164 Remove subdirectory po from SUBDIRS for now.
2166 * at-bridge/bridge.c:
2167 Beefed up a couple of debug printouts.
2168 One-line fix for signal notification name formatting.
2170 * libspi/accessible.c:
2171 Added assertion to spi_accessible_new ().
2173 * libspi/application.c:
2174 Put #ifdef qualifiers around a printf.
2177 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
2179 * registryd/Makefile.am:
2181 Replaces use of XML_I18N_MERGE_SERVER_RULE with
2182 INTLTOOL_SERVER_RULE macro.
2185 Added an event listener for several ATK signals, for
2186 testing and debugging. Removed a few g_warnings.
2187 Added test output if focussed item implements the Value interface.
2189 * test/test-simple.c:
2190 Added test_value () function (known not to pass at the moment, so
2191 not actually called yet.
2193 2001-12-08 Michael Meeks <michael@ximian.com>
2195 * at-bridge/bridge.c (bridge_focus_tracker),
2196 (emit_eventv): fix the same ref. leak.
2197 (register_atk_event_listeners): don't leak.
2199 * cspi/spi-listener-impl.c (cspi_event): more
2200 protection from client code.
2202 * test/test-simple.c (test_desktop): unref the app.
2204 * test/Makefile.am: upd. TESTS.
2206 * at-bridge/bridge.c (bridge_exit_func): release the registry.
2208 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
2210 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
2212 * cspi/spi_registry.c: constify in strings.
2213 (deregisterGlobalEventListenerAll): don't release the ref.
2215 * cspi/spi.h: start removing redundant / conflicting
2216 gtkdoc comments, making the API readable at a glance :-)
2218 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
2220 * test/keysynth-demo.c (keysynth_exit, main): upd.
2222 * test/simple-at.c (main, simple_at_exit): upd.
2224 * test/test-simple.c (unutterable_horror): kill.
2225 (utterable_normal_derefs): kill.
2226 (main): upd & do a setenv before gtk_init, so that we
2227 can use memprof - and to save the pain of remembering
2228 this, if we're running under memprof - don't exit.
2230 * cspi/spi_main.c (SPI_exit): return exit status
2232 (SPI_event_quit): impl.
2233 (SPI_event_main): simplify.
2234 (cspi_is_gnome_app): kill.
2235 (SPI_init): kill isGNOMEapp arg.
2237 * at-bridge/bridge.c (register_atk_event_listeners):
2238 re-instate the unref.
2239 (bridge_exit_func): don't re-activate the registry,
2240 protect vs. theoretical re-entry, use the
2241 AT_BRIDGE_SHUTDOWN env. var to determine whether to
2242 assert a clean shutdown - for regression tests.
2244 2001-12-08 Abel Cheung <maddog@linux.org.hk>
2246 * configure.in: Comment out dummy i18n support for now,
2247 otherwise it fails to build.
2248 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
2249 EXTRA_DIST. They are missing in tarball.
2251 2001-12-07 Michael Meeks <michael@ximian.com>
2253 * util/magnifier.c: kill bonobo activation reg. race.
2255 * libspi/component.c
2256 (impl_accessibility_component_get_extents): make it match
2259 * libspi/registry.c (_registry_notify_listeners):
2260 re-remove X headers & reconcile conflicts.
2261 (spi_listener_struct_free): bad conflict resolve.
2262 (impl_accessibility_registry_register_application):
2263 more bad merging fixed.
2264 (impl_accessibility_registry_deregister_application): ditto.
2265 (spi_registry_new): ditto.
2266 (spi_registry_init): don't have an applications field.
2268 [ merge fixups2 branch to here ]
2269 2001-12-07 Michael Meeks <michael@ximian.com>
2271 * test/simple-at.c (report_focus_event),
2272 (report_focussed_accessible): remove g_warning debug.
2274 2001-12-07 Michael Meeks <michael@ximian.com>
2276 * test/test-simple.c (validate_tree): comment out some checks.
2277 (test_desktop): app now not registered idly - horay.
2279 2001-12-07 Michael Meeks <michael@ximian.com>
2281 * cspi/spi_registry.c
2282 (registerAccessibleKeystrokeListener): clean, stop it leaking
2283 great swathes of memory, and device event controller references.
2284 ensure we always pass valid sequences.
2285 (deregisterAccessibleKeystrokeListener): ditto.
2286 (generateKeyEvent): upd.
2288 * at-bridge/bridge.c (bridge_key_listener): handle
2289 registry dead exception gracefully.
2290 (bridge_focus_tracker, emit_eventv): free ev.
2292 * test/simple-at.c (report_focus_event): fix polarity.
2294 * libspi/application.c (notify_listeners): kill the ev
2295 argument, and make sure we init the ev we use.
2296 (spi_application_object_event_listener): split out a chunk
2297 (get_atk_object_ref): here & fixup.
2298 (reverse_lookup_name_for_toolkit_event): make const.
2299 (spi_application_toolkit_event_listener): fixup, kill leaks
2302 * at-bridge/bridge.c (register_atk_event_listeners):
2303 don't unref the noop object - causes grief.
2305 * libspi/registry.c: remove the X headers.
2306 turn off the debug churn.
2308 * libspi/accessible.c (spi_accessible_new_return): only
2309 release the ref if we are supposed to [doh]
2311 * test/simple-at.c (report_button_press, report_focus_event):
2312 guard vs. unexpected exit.
2314 * at-bridge/bridge.c (gtk_module_init): prune printf.
2315 (bridge_exit_func): fix app unref.
2317 * libspi/Makefile.am: don't install registry or desktop.h
2319 * libspi/*.h: update includes.
2321 * libspi/application.h: don't include ourself, or
2322 other redundant headers.
2324 2001-12-06 Michael Meeks <michael@ximian.com>
2326 * libspi/accessible.c
2327 (get_accessible_from_servant): impl.
2328 Upd. all CORBA impl.s to use it killing cut and paste.
2330 * cspi/spi_main.c (cspi_cleanup): guard vs. double
2332 (SPI_init): register atexit cleanup handler here.
2334 2001-12-06 Michael Meeks <michael@ximian.com>
2336 * at-bridge/bridge.c (gtk_module_init): g_error on
2337 activation exception
2339 2001-12-06 Michael Meeks <michael@ximian.com>
2341 * at-bridge/bridge.c (gtk_module_init): some sort of
2342 confusing merge clash - reverted.
2343 (bridge_idle_init): ditto.
2345 * test/test-simple.c (main, utterable_normal_derefs):
2346 merge from Bill - somehow not committed.
2348 2001-12-06 Michael Meeks <michael@ximian.com>
2350 * libspi/value.c (spi_value_class_init): upd.
2351 (spi_value_finalize): kill.
2353 * libspi/table.c (spi_table_finalize): kill.
2354 (spi_table_interface_new): upd.
2355 (spi_table_class_init): upd.
2356 (get_table_from_servant): impl.
2357 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2359 * libspi/selection.c (spi_selection_finalize): kill.
2360 (spi_selection_interface_new): upd.
2361 (spi_selection_class_init): upd.
2362 (get_selection_from_servant): impl.
2363 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2365 * libspi/relation.c (spi_relation_finalize): kill.
2366 (spi_relation_class_init, spi_relation_new): upd
2368 * libspi/image.c (spi_image_finalize): kill.
2369 (spi_image_class_init): upd.
2370 (spi_image_interface_new): upd.
2371 (get_image_from_servant): impl.
2372 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2374 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
2375 (spi_hyperlink_finalize): kill.
2376 (spi_hyperlink_new): upd.
2377 (get_hyperlink_from_servant): impl.
2378 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2380 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
2381 (spi_hypertext_finalize): kill.
2382 (spi_hypertext_class_init): upd.
2383 (get_hypertext_from_servant): impl.
2384 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2386 * libspi/editabletext.c (spi_editable_text_finalize): kill.
2387 (spi_editable_text_interface_new): upd.
2388 (get_editable_text_from_servant): impl.
2389 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2391 * libspi/text.c (get_text_from_servant): impl.
2392 All impls - update to use it killing more cut and paste,
2393 also fix bad string returns on duff args ( a somewhat
2394 impossible case to handle - but hey ).
2395 (spi_text_construct): impl.
2396 (spi_text_interface_new): upd.
2397 (spi_text_object_finalize): kill.
2399 * libspi/component.c
2400 (accessibility_component_object_finalize): kill.
2401 (spi_component_class_init): upd.
2402 (get_component_from_servant): impl. helper to kill cut & paste.
2403 (impl_accessibility_component_contains):
2404 (impl_accessibility_component_get_accessible_at_point):
2405 (impl_accessibility_component_get_position):
2406 (impl_accessibility_component_get_extents):
2407 (impl_accessibility_component_get_mdi_z_order):
2408 (impl_accessibility_component_get_layer):
2409 (spi_component_interface_new): upd.
2411 * libspi/action.c (spi_action_finalize): kill.
2412 (spi_action_class_init): upd. inherit from SpiObject.
2413 (spi_action_interface_new): upd.
2414 (get_action_from_servant): impl. helper to reduce cut & paste.
2415 (impl_getKeyBinding, impl_getName, impl_doAction),
2416 (impl_getDescription): Use it everywhere.
2418 * cspi/spi_main.c (get_live_refs): a pointer hash.
2419 (spi_object_hash, spi_object_equal): comment out.
2420 There are issues with CORBA object hashing that need
2423 * libspi/application.c (spi_application_init),
2424 (spi_application_new): upd.
2426 * libspi/accessible.c (spi_accessible_object_finalize): kill.
2427 (spi_accessible_class_init): upd.
2428 s/accessible/object/ in epv methods.
2430 2001-12-05 Bill Haneman <bill.haneman@sun.com>
2432 * at-bridge/bridge.c:
2433 Reorder the bridge initialization into the bridge gtk_module_init,
2434 an immediate call to bridge_register_app, and an idle_add for
2435 register_atk_event_listeners (the only code that *must* wait until
2436 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
2437 the activation, creates the application's Accessible object, and
2438 queues the bridge_idle_init function. Restored call to
2439 Accessibility_Registry_deregisterApplication().
2440 Prior to making this call we obtain a new reference to the
2441 registry, which is a temporary hack that helps us handle apps that
2442 shut down the bonobo mainloop before we get there.
2444 * libspi/registry.c:
2445 Fix string leakage in debug block, and don't segv if a an app
2446 dies before its event notifications have been propagated.
2449 Modify cspi_check_ev() to call g_warning() rather than g_error(),
2450 as stopgap measure until we get proper exception handling when
2451 objects die during or before interrogation.
2455 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
2456 Also changed default value of is_gnome_app to TRUE.
2459 * test/keysynth-demo.c:
2460 Changed use of SPI_init and SPI_event_main to reflect API change above.
2463 Made report_focus_event check the warning value from getName
2464 before reporting on focussed accessible; simplifies handling of
2465 notifications from dead objects.
2467 * test/test-simple.c: (Changes not in this patch since source is
2470 2001-12-05 Michael Meeks <michael@ximian.com>
2472 * registryd/registryd.c (main): protect against
2473 bonobo-activation startup race condition.
2475 * cspi/spi_main.c (cspi_object_add_check): cope
2476 with the exception elegantly.
2478 * idl/Accessible.idl: decl. ChildGone
2480 * libspi/desktop.c (spi_desktop_dispose): impl.
2481 (spi_desktop_class_init): upd.
2482 (spi_desktop_add_application),
2483 (spi_desktop_remove_application),
2484 (abnormal_application_termination): impl.
2485 (impl_desktop_get_child_at_index): re-impl.
2488 (impl_accessibility_registry_deregister_application),
2489 (impl_accessibility_registry_register_application):
2490 kill excessive debug clutter.
2492 * test/test-simple.c (test_misc): test some NULL
2493 tolerance. (main): upd.
2495 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
2496 implements no interfaces - so let's not crash.
2498 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
2500 * libspi/accessible.c (spi_accessible_new_return): impl.
2501 helper to calm the cut and paste, to cope with
2502 NULL AtkObjects effectively and efficiently, and to kill
2503 the referencing bugs.
2505 * libspi/table.c (impl_getAccessibleAt),
2506 (impl_getRowHeader, impl_getColumnHeader): upd.
2508 * libspi/hyperlink.c (impl_getObject): upd.
2510 * libspi/accessible.c
2511 (impl_accessibility_accessible_get_child_at_index): upd.
2513 * libspi/component.c
2514 (impl_accessibility_component_get_accessible_at_point): upd.
2516 * test/test-simple.c (test_editable_text, test_text): impl.
2519 * cspi/spi_editabletext.c
2520 (AccessibleEditableText_insertText): constify.
2522 * test/test-simple.c (focus_me): make more robust.
2524 * libspi/accessible.c: remove some printfs in methods that
2525 we test and work fine, so we can get a clean tree dump.
2527 * test/test-simple.c (validate_accessible),
2528 (validate_tree): make tree dumping pretty too.
2530 * at-bridge/bridge.c (bridge_signal_listener): upd. so
2531 it builds without debug on.
2533 * test/test-simple.c (validate_accessible): fix the most
2536 * cspi/spi_main.c (spi_object_release): leave the nicely
2537 blanked memory around if in debug mode.
2539 * cspi/spi-listener-impl.c (cspi_event): use add_check.
2541 [committed to fixups2]
2542 2001-12-05 Michael Meeks <michael@ximian.com>
2544 * libspi/editabletext.c
2545 (spi_editable_text_class_init): g_type_class_peek_parent,
2546 not interface peek - so we finalize cleanly.
2548 * libspi/accessible.c (spi_accessible_new): kill debug.
2550 * test/test-simple.c (validate_accessible): fix ref.
2551 leak, print strings before freeing them; sigh, comment a
2552 chunk out due to strangeness.
2553 (validate_tree): unref the child after use.
2555 * cspi/spi_component.c (AccessibleComponent_getLayer):
2556 add missing break statement, switch on zlayer not the
2557 uninitialized retval.
2559 * cspi/spi_main.c (cspi_object_add): add assert, local ref
2560 before (possibly re-entering) remote unref.
2562 * test/simple-at.c (main): unref the desktop.
2564 * cspi/spi_accessible.c (cspi_accessible_is_a): move
2567 * cspi/spi_main.c (cspi_accessible_is_a): here to
2568 isolate bonobo API usage more.
2570 * libspi/registry.c (impl_accessibility_registry_register_application):
2571 prune bogus comment.
2573 2001-12-04 Michael Meeks <michael@ximian.com>
2575 * test/test-simple.c (validate_tree): upd.
2576 IndexInParent check to make it more lucid.
2577 (validate_accessible): dump the tree.
2579 * libspi/accessible.c (de_register_public_ref),
2580 (get_public_refs): impl.
2581 (spi_accessible_new): make more efficient & intuitive.
2582 Now IndexInParent check works.
2584 2001-12-04 Michael Meeks <michael@ximian.com>
2586 * cspi/spi-util.h: remove.
2588 * cspi/spi.h: move SPI_freeString here
2590 * libspi/component.c (impl_accessibility_component_get_layer):
2592 (impl_accessibility_component_get_mdi_z_order): ditto,
2593 return -1 on error - is this ok ?
2595 * test/test-simple.c (test_application): impl.
2597 * cspi/spi_accessible.c (Accessible_getApplication),
2598 (Accessible_isApplication): impl.
2600 * libspi/registry.c (spi_listener_struct_free): release
2601 the CORBA reference too.
2603 * libspi/accessible.c
2604 (impl_accessibility_accessible_get_parent): fix ref leak.
2606 * libspi/registry.c (spi_registry_new): make the registry
2607 immortal - we don't want it to go away ever.
2609 * libspi/application.c
2610 (spi_accessible_application_finalize): impl. cleanup.
2612 * cspi/spi_registry.c
2613 (deregisterGlobalEventListenerAll),
2614 (deregisterGlobalEventListener),
2615 (deregisterAccessibleKeystrokeListener): fix ref leak.
2617 * cspi/spi_main.c (SPI_init): remove redundant ref.
2619 * test/test-simple.c (unutterable_horror): impl. to force a
2624 (impl_accessibility_registry_deregister_application): release
2625 the application when we de-register it.
2627 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
2628 until we have the infastructure to get it right.
2630 2001-12-03 Michael Meeks <michael@ximian.com>
2632 * libspi/Makefile.am: only build eventlistener.[ch]
2634 * libspi/accessible.c
2635 (impl_accessibility_accessible_get_child_at_index): don't leak.
2637 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
2638 before we hit the idle handler.
2640 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
2641 debugging than exit.
2643 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
2645 * libspi/listener.c (impl_notify_event): check source
2646 not NIL before unref.
2648 * libspi/registry.c (impl_registry_notify_event): ditto.
2650 * libspi/eventlistener.c
2651 (impl_accessible_event_notify_event): unref the source.
2653 * libspi/accessibleeventlistener.c
2654 (impl_accessible_event_notify_event): unref the source.
2656 * idl/Event.idl: remove 'hash_id' attribute - of no
2659 * libspi/application.c (notify_listeners): upd list
2661 (spi_application_object_event_listener),
2662 (spi_application_toolkit_event_listener): upd to do correct
2666 (_registry_notify_listeners): update.
2667 (parse_event_type): this method also leaks like a sieve.
2668 (impl_accessibility_registry_deregister_global_event_listener):
2669 fix ETYPE_WINDOW case.
2671 * libspi/application.c
2672 (impl_accessibility_application_register_object_event_listener):
2675 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
2677 * libspi/hypertext.c (impl_getLink): ditto.
2679 * cspi/spi_main.c (cspi_object_add): remove
2680 bogus CORBA_Object_duplicate.
2682 * cspi/spi-listener-impl.c (cspi_event): dup/ref
2685 * cspi/spi_accessible.c
2686 (Accessible_getRelationSet): fix leak / referencing issue.
2688 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
2689 (cspi_object_add, cspi_object_unref): upd.
2690 (spi_object_release, get_live_refs): impl.
2691 (cspi_cleanup): simplify.
2693 * *.[ch]: s/boolean/SpiBoolean/
2695 * cspi/spi_accessible.c (role_names): actualy order so it
2696 corresponds with the enum !
2698 * test/test-simple.c (test_roles): check some role strings
2699 vs. enums to detect offset errors.
2701 2001-12-01 Michael Meeks <michael@ximian.com>
2703 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
2705 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
2707 (Accessible_getChildAtIndex): use cspi_add_check so we
2708 check the ev before using a (possibly) invalid value.
2710 * libspi/accessible.c
2711 (impl_accessibility_accessible_get_parent): don't segv
2714 * at-bridge/bridge.c (gtk_module_init): upd.
2715 (bridge_property_event_listener): don't leak strings
2717 (bridge_state_event_listener),
2718 (bridge_property_event_listener): don't use a static
2719 buffer in case of recursive event emission &
2720 re-enterancy - split out the swathe of cut and paste
2722 (emit_eventv): and fix 2 ref leaks here & comply to the
2724 (bridge_register_app): rename to
2725 (bridge_idle_init): this and kill arg parsing, split
2726 various inits & bonobo-activation registration to module
2727 init time, kill referencing error.
2728 (bridge_exit_func): fix the same leak.
2729 (bridge_focus_tracker): don't leak event structures
2731 (bridge_signal_listener): more leakage and cut & paste
2733 (bridge_key_listener): return the result - FIXME is
2734 this polarity correct ?
2735 (accessibility_keystroke_from_atk_key_event): rename
2736 (accessibility_init_keystroke_from_atk_key_event): and stop
2738 (gtk_module_init): return a value - not that it is checked by
2740 (bridge_key_listener): register my horror at casting between
2741 IDL defined structs.
2742 (bridge_get_registry): kill - not used.
2744 * cspi/spi_accessible.c (Accessible_getRole): make return const.
2746 * test/test-simple.c (test_roles): impl.
2747 (test_desktop, validate_accessible, validate_tree): impl.
2749 * cspi/spi_accessible.c (role_names): fixup bogus
2750 MAX_ROLES setup, make constants const for efficient linkage
2751 (AccessibleRole_getName): conform to coding style, make
2754 2001-11-30 Michael Meeks <michael@ximian.com>
2756 * cspi/spi.h: add missing prototype.
2758 * libspi/registry.c (spi_listener_struct_new): fix sig.
2760 * test/Makefile.am: add test-simple
2762 * test/test-simple.c: add
2764 * test/test.sh: add.
2766 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
2768 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
2769 do it straight - since otherwise we often get an activation race.
2771 [ work before Bill duplicated a chunk of it ... ]
2772 2001-11-30 Michael Meeks <michael@ximian.com>
2774 * libspi/keystrokelistener.c
2775 (spi_keystroke_listener_class_init): fixup arg
2778 * libspi/eventlistener.c
2779 (spi_event_listener_class_init): ditto.
2781 * tests/test.sh: add.
2783 * cspi/spi-listener-impl.h: update macros.
2785 * cspi/spi-listener-impl.c
2786 (cspi_event_listener_remove_callback): add
2787 correct pre-conditions.
2789 * cspi/spi_main.c (SPI_exit): guard vs. double
2790 exits, exit the mainloop nicely.
2791 (SPI_event_main): make more sense.
2792 (SPI_init): move the atexit evilness here so we
2793 always do it (yuck).
2794 (SPI_event_main): upd.
2796 * test/simple-at.c: update for listener changes.
2798 * registryd/registryd.c (main): prune kruft.
2800 * libspi/libspi.h: upd.
2802 * libspi/eventlistener.[ch]: rename broken macros.
2804 * libspi/accessibleeventlistener.[ch]: remove.
2806 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
2808 * test/test-simple.c: Add - automated tests.
2810 * cspi/spi-listener-impl.c (cspi_event),
2811 (cspi_key_event): add user_data to invoke.
2812 (cspi_keystroke_listener_finalize): impl.
2813 (cspi_keystroke_listener_class_init): upd.
2816 (createAccessibleEventListener),
2817 (AccessibleEventListener_addCallback),
2818 (createAccessibleKeystrokeListener),
2819 (AccessibleKeystrokeListener_addCallback): upd.
2821 * libspi/deviceeventcontroller.c
2822 (spi_device_event_controller_check_key_event): add public proto.
2825 (impl_accessibility_registry_deregister_global_event_listener):
2826 always init listeners.
2827 (_registry_notify_listeners): yes it is.
2829 * cspi/spi-listener-impl.c (cspi_key_event):
2831 (cspi_event_listener_finalize): impl.
2832 (cspi_event_listener_class_init): hook up.
2833 (event_handler_new, event_handler_free),
2834 (event_list_remove_by_callback): impl.
2835 (cspi_event_listener_remove_callback),
2836 (cspi_keystroke_listener_remove_callback),
2837 (cspi_keystroke_listener_add_callback),
2838 (cspi_event_listener_add_callback): upd.
2840 * libspi/keystrokelistener.c
2841 (keystroke_listener_object_finalize): kill
2842 (spi_keystroke_listener_class_init): upd.
2843 (spi_keystroke_listener_add_callback),
2844 (spi_keystroke_listener_remove_callback): kill,
2846 (impl_key_event): prune drasticaly.
2848 * libspi/eventlistener.c
2849 (spi_event_listener_add_callback),
2850 (spi_event_listener_remove_callback): kill, use
2852 (impl_accessible_event_notify_event): upd.
2853 (spi_event_listener_object_finalize): remove.
2855 * libspi/Makefile.am: use eventlistener.[ch]
2857 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2859 * libspi/registry.c (_registry_notify_listeners):
2860 Changed listener loop iteration to use preferred convention.
2861 Got rid of string memory leaks caused be calling g_strconcat
2862 inside function calls.
2864 * libspi/registry.c (parse_event_type):
2865 Stopped g_strconcat memory leaks, free the g_strsplit return,
2866 g_strdup the split pieces when used, etc.
2868 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2871 Change method 'compare' to return a 'difference set' rather than
2872 taking a StateSet as an out parameter (more Java-friendly).
2874 * idl/Accessible.idl:
2875 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2877 * idl/Component.idl:
2879 Changed methods 'getExtents' and 'getImageExtents' in these
2880 interfaces to return a BoundingBox structure.
2881 (getPosition and getSize are redundant and possibly should be
2882 removed, rather than creating a corresponding Point struct.)
2884 * cspi/spi_component.c:
2885 Modify implementation of getExtents to reflect the above IDL
2890 Add (missing) AccessibleImage_getExtents () API.
2892 * docs/reference/cspi/at-spi-cspi-sections.txt:
2893 Added AccessibleImage_getImageExtents () to docs.
2895 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2897 * idl/Component.idl:
2898 Added two methods, getLayer () and getMDIZOrder (), to reflect
2899 the new ATK methods atk_object_get_layer and
2900 atk_object_get_mdi_z_order. (Which arguably should be part of the
2901 AtkComponent API and AtkObject). Also added an enum,
2902 ComponentLayer, for the first method's return value.
2904 * libspi/component.c:
2905 Added implementations for these methods.
2907 * cspi/spi_component.c:
2909 Added cspi binding methods for above,
2910 AccessibleComponent_getLayer() and
2911 AccessibleComponent_getMDIZOrder().
2912 Added cspi enum 'AccessibleComponentLayer'.
2914 * docs/reference/cspi/at-spi-cspi-sections.txt:
2915 Added above methods to docs.
2919 Changed typedef for 'boolean' type (and all references to it) to
2920 SPIBoolean, to avoid keyword clashes with C++.
2923 Changed usages of 'boolean' to SPIBoolean.
2925 * test/keysynth-demo.c:
2926 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2927 app), except where SPIBoolean is required by the callbacks API.
2929 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2931 * cspi/spi_registry.c:
2932 Removed obsolete X event loop for passive keygrabs (which now
2935 * registryd/registryd.c:
2936 Removed unnecessary call to gdk_init() [cruft]. This also allows
2937 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2940 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2942 * docs/reference/cspi:
2943 Included docs for SPI_freeString in generated documentation.
2946 Renamed spi_freeString to SPI_freeString, for consistency. Added
2947 documentation for this function.
2950 Renamed spi_freeString to SPI_freeString, for consistency.
2951 Removed obsolete method declaration string_from_corba_string.
2953 * test/keysynth-demo.c:
2954 Small tweak to comments.
2957 Stopped leaking the strings returned from CSPI.
2959 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2961 Merged Michael's branch (see his ChangeLog entries below).
2963 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2964 bridge is alive, release on exit.
2966 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2967 Fix type check macro.
2970 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2973 Added is_gnome_app static, and method cspi_is_gnome_app(),
2974 so we can call the appropriate shutdown routine at exit in SPI_exit.
2976 * cspi/spi_main.c (cspi_object_ref):
2977 Duplicate the corba object passed in, since we're keeping it around.
2979 * cspi/SPI_exit.c, cspi_cleanup:
2980 Moved the releasing of the live refs to its own function, so we
2981 can put it in g_atexit (). Call the appropriate shutdown API
2982 depending on whethe calling client is a gnome app or not
2983 (bonobo_main_quit or CORBA_ORB_shutdown).
2985 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2986 Unref the listener when this method is called, after
2987 deregistration. Updated the API docs to note this behavior.
2989 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2990 Bugfixes: Ref the bonobo object when returning a parent or child
2991 reference, or an AccessibleRelation. Generally made sure
2992 BonoboObject refcount is incremented whenever we return an
2995 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2996 Fixed typo/bug in signal declaration.
2998 * libspi/accessibleeventlistener.h:
3001 * libspi/application.c (spi_application_new):
3002 Fixed leak in initialization.
3005 Remembered to increment bonobo-object refcount when returning
3006 children (applications) from desktop object.
3007 Added (empty) finalize method.
3009 * libspi/deviceeventcontroller.c:
3010 Hold a ref to listeners inside DEControllerKeyListeners.
3011 Added dec_key_listener_free() method. Use prepend instead of
3012 append in key_listener list. Fixed some refcount madness and
3013 leaks in the listener registration/deregistration - deregistration
3014 now calls dec_key_listener_free() on listeners, and on the
3015 temporarily constructed dec_key_listener() used to perform the search/match.
3017 * libspi/hypertext.c (spi_hypertest_finalize):
3018 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
3019 class. Also fixed spi_hypertext_interface_new() and
3020 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
3022 * libspi/hypertext.h:
3023 Removed pointless and duplicate AtkObject pointer from
3026 * libspi/keystrokelistener.c:
3027 Fixed incorrect type of keystroke_listener_parent_class,
3028 renamed keystroke_listener_object_finalize to
3029 spi_keystroke_listener_object_finalize.
3030 Fixed typo in signal declaration
3031 (spi_keystroke_listener_class_init).
3033 * libspi/registry.c:
3034 Added funcsions spi_listener_struct_new() and
3035 spi_listener_struct_free() to help with memory management issues.
3036 We also now use these methods instead of gnew + poking stuff into
3037 the struct, and to decrement listener counts/free the listeners
3038 when deregistering them.
3039 Fix more refcount bugs in getDesktop() and
3040 getDeviceEventController().
3043 De-ref the desktop after enumerating the applications. Explicitly
3044 decrement the refcounts on the created listeners on exit (using
3045 _unref for keystroke listeners, and via the
3046 deregisterGlobalEventListenerAll command for other event
3049 2001-11-27 Michael Meeks <michael@ximian.com>
3051 * cspi/spi-listener.h: fixup enum.
3053 2001-11-27 Michael Meeks <michael@ximian.com>
3055 * cspi/spi-listener-impl.c (cspi_event_listener_new),
3056 (cspi_keystroke_listener_new): Use the cspi variants.
3058 2001-11-26 Michael Meeks <michael@ximian.com>
3060 * test/keysynth-demo.c: fix 2 compile warnings, missing
3063 * test/simple-at.c (report_focussed_accessible),
3064 (report_focus_event, report_button_press),
3065 (check_property_change, is_command_key),
3066 (report_ordinary_key_event, report_command_key_event): upd.
3068 * util/mag_client.h: include pre-requisites.
3070 * libspi/accessibleeventlistener.c
3071 (spi_event_listener_object_finalize): free any lingering
3074 * libspi/keystrokelistener.c
3075 (keystroke_listener_object_finalize): ditto.
3077 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
3078 callbacks, with cspi types.
3080 * cspi/spi_event.c (createAccessibleEventListener): chain to
3081 (AccessibleEventListener_addCallback): here.
3082 (createAccessibleKeystrokeListener): chain to
3083 (AccessibleKeystrokeListener_addCallback): here.
3085 * libspi/keystrokelistener.c
3086 (spi_keystroke_listener_class_init): add signal.
3087 (impl_key_event): emit the event.
3088 (boolean_handled_accumulator): impl.
3089 (marshal_BOOLEAN__POINTER): add, gack.
3091 * libspi/accessibleeventlistener.c
3092 (spi_event_listener_class_init): add signal.
3093 (impl_accessible_event_notify_event): emit the signal &
3094 make the loop efficient.
3095 (spi_event_listener_add_callback): prepend the callback.
3097 * libspi/accessibleeventlistener.h: add an 'event' signal,
3098 decl type on callback.
3100 * libspi/keystrokelistener.h: ditto.
3102 * cspi/spi-listener.h: make methods typesafe and
3103 make them use the new event typedefs.
3105 * test/simple-at.c (report_focussed_accessible):
3106 include mag_client.h
3107 Use *(void *)text_interface not the other thing.
3109 * configure.in: add gtk to registryd bits - since we use
3112 * util/magnifier.c: include libbonobo.h
3114 2001-11-25 Bill Haneman <bill.haneman@sun.com>
3116 * test/keysynth-demo.c:
3117 Turned this into a simple scanning keyboard, to demonstrate the
3118 use of g_timeout_add () as a means of creating timers for
3119 scanning, and the use of GtkStyle for visually indicating when
3120 virtual keyboard elements are selected.
3122 keysynth-demo now listens to any keyboard keys with zero-valued
3123 keycodes (i.e. 'unused' keys) and interprets them as
3126 Reworked the shiftlatch code so that shift-down state isn't held
3127 for long periods (it's only synthesized immediately prior to
3128 the keysynth event it's modifying). Note that shiftlatch in this
3129 demo is a convenience, not intended to take the place of AccessX
3130 which is the better choice for getting 'sticky' modifier keys.
3132 * libspi/deviceeventcontroller.c:
3133 * at-bridge/bridge.c:
3134 * cspi/spi_registry.c:
3135 Removed some debug print stuff, and put other verbosity in #ifdef
3140 Implemented some more of the magnifier IDL for the simple
3141 magnifier: namely, getZoomRegionParams.
3142 Added mag_x and mag_y members to MagnifierData struct, aid of this
3144 Added GtkWindow::realize signal handler to magnifier, to keep it
3145 from receiving keyboard focus from the WM.
3147 2001-11-23 Mark McLoughlin <mark@skynet.ie>
3149 * cspi/spi-private.h: my guess at what michael forgot
3150 before he ran off to NZ :-)
3152 2001-11-23 Michael Meeks <michael@ximian.com>
3154 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
3155 comment out non existant method invoke so we link.
3157 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
3158 use bonobo_exception_get_text for more friendly warnings.
3160 * cspi/spi.c (Obj_Add): move into spi_main & rename
3161 spi_object_add; kill spi.c
3163 * cspi/spi_registry.c
3164 (deregisterGlobalEventListener),
3165 (deregisterGlobalEventListenerAll),
3166 (registerGlobalEventListener): fix exception leaks.
3168 * cspi/spi_main.c (spi_exception): impl. helper, so we
3169 don't leak exceptions.
3171 * cspi/spi_selection.c
3172 (AccessibleSelection_deselectSelectedChild): return the
3175 * cspi/spi_main.c (spi_ev): impl; hack - gack.
3176 (spi_registry): ditto.
3177 (SPI_init): guard against double inits.
3179 * cspi/*.c: use spi_ev (), and spi_registry () where
3180 appropriate - a temporary hack until we have something
3181 better. Use spi_object_add
3183 2001-11-22 Michael Meeks <michael@ximian.com>
3185 * cspi/Makefile.am: re organise, install the headers.
3187 * cspi/*.h: add G_BEGIN/END_DECLS
3189 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3192 Added non-preemptive keylistener for key events with no modifiers
3193 and shift-only modifier.
3195 * libspi/keystrokelistener.c:
3196 Removed some verbose diagnostics printout.
3198 * cspi/spi_registry.c:
3199 Fixed a bug that caused all key listeners to be registered as
3202 * libspi/deviceeventcontroller.c:
3203 Fixed bug that caused XGrabKey (preemptive key grab) to be called
3204 for non-preemptive key masks.
3207 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3209 * docs/reference/idl/at-spi-idl-docs.sgml:
3210 * docs/reference/idl/at-spi-idl-sections.txt:
3211 * docs/reference/idl/at-spi-idl-overrides.txt:
3212 Added missing files.
3214 * docs/reference/Makefile.am:
3215 removed idl from SUBDIRS until we can figure a way to get gtk-doc
3216 to scan the IDL files :-(
3221 Added .cvsignore files.
3223 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3225 * libspi/deviceeventcontroller.c:
3226 * libspi/keystrokelistener.c:
3228 * cspi/spi_registry.c:
3229 Added filters for KeySets, KeyEventSeq, and event types to key
3230 event dispatching, so listeners should only receive those events
3231 that they requested :-)
3233 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3238 * docs/reference:Makefile.am:
3239 * docs/reference/cspi:
3240 * docs/reference/cspi:Makefile.am:
3241 * docs/reference/cspi:tmpl:
3242 * docs/reference/cspi:tmpl:*.sgml:
3243 * docs/reference/idl:
3244 * docs/reference/idl:Makefile.am:
3245 * docs/reference/idl:at-spi-idl-sections.txt:
3246 * docs/reference/idl:at-spi-idl-docs.sgml:
3247 * docs/reference/idl:tmpl:
3248 * docs/reference/idl:tmpl:*.sgml:
3250 Restructured docs directory to allow separate 'reference' docs
3251 section, and forked idl and cspi docs. Added the sgml template
3252 files to CVS. Added the first sections/structural sgml for the
3255 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
3257 * configure.in, libspi/Makefile.am: find libXtst.
3259 2001-11-21 Michael Meeks <michael@ximian.com>
3261 * test/accessx-gui.c: s/spi_value/value/ - doh.
3263 * libspi/base.[ch]: add.
3265 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3267 * idl/Accessible.idl:
3268 * idl/Application.idl:
3271 Started gtk-doc cleanup on IDL.
3273 * libspi/deviceeventcontroller.c:
3274 Added and connected non-preemptive key notification from the
3275 toolkits (in addition to the pre-emptive support from XServer
3276 which we had before, but which causes 'focus flashing'). Filters
3277 are presently limited to key modifiers and global/non-global,
3278 KeySets are presently ignored, as are KeyEvent masks.
3280 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
3281 structs into the persistant structure rather than just storing
3282 pointers to things that might not persist across servant
3285 The XGrabKey call now does async keygrabs, because synchronous
3286 ones were deadlocking with GDK_event code in a very nasty way.
3288 Added boolean to internal method notify_keylisteners, to indicate
3289 whether the event came from the 'toolkit source' or the 'global
3290 (XServer) source' - this is used in the notification process to
3291 determine which listeners to send the event to.
3293 deviceeventcontroller.c is now warning-free.
3295 * libspi/registry.c:
3296 Fixed regression in application de-registration.
3297 Also fixed some really brain-dead weirdness having to do with
3298 event dispatching - event structs are now duplicated before being
3299 re-marshalled in the dispatch to listeners. This also fixes a
3300 Solaris build problem.
3303 2001-11-20 Michael Meeks <michael@ximian.com>
3306 (impl_accessibility_registry_deregister_global_event_listener):
3309 * libspi/deviceeventcontroller.c
3310 (spi_device_event_controller_check_key_event): return
3311 FALSE on no virtual method.
3313 * libspi/*..h: make includes work on a correctly pathed install.
3315 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
3317 * libspi/application.h: kill unused ( and whacked out )
3318 gboolean *spi_application_set_id (AtkObject *app, long id);
3320 2001-11-20 Michael Meeks <michael@ximian.com>
3322 * libspi/*.[ch]: further convert to bonobo's type func
3323 macros, remove redundnant casts etc.
3325 * libspi/text.c s/accessibility_text/spi_text/g,
3326 re-order to de-cruft.
3328 * libspi/hypertext.c: re-order to kill a huge slew
3329 of redundant forward decls.
3331 * libspi/relation.c: ditto.
3333 * libspi/image.c: ditto.
3335 * */.cvsignore: update
3337 2001-11-20 Michael Meeks <michael@ximian.com>
3339 * libspi/deviceeventcontroller.c
3340 (_controller_register_with_devices): use g_getenv,
3341 kill stdlib.h include.
3343 * libspi/keystrokelistener.c
3344 (spi_keystroke_listener_get_type): kill
3345 (spi_keystroke_listener_class_init),
3346 (spi_keystroke_listener_init): rename to this.
3348 * libspi/text.c (impl_getAttributes): fix warning / bug.
3350 * libspi/*.[ch]: more headers, includes and over commenting.
3352 2001-11-20 Michael Meeks <michael@ximian.com>
3354 * libspi/*.[ch]: fixup headers, includes and over commenting.
3356 * libspi/image.c (impl__get_imageDescription): const
3357 correctness warning fix. remove redundant casting.
3359 * libspi/table.c (impl_getRowDescription): ditto.
3360 (impl_getColumnDescription): ditto.
3362 * libspi/libspi.h: add.
3364 2001-11-19 Michael Meeks <michael@ximian.com>
3366 * libspi/editabletext.c (impl_setAttributes): fix warnings.
3368 * libspi/component.c (accessibility_component_get_type):
3369 rename to (spi_component_get_type): and macroify.
3370 (accessibility_component_init): rename to
3371 (spi_component_init): this
3372 (accessibility_component_class_init): rename to
3373 (spi_component_class_init): this
3375 * libspi/action.c (spi_action_get_type): kill, use the macro.
3377 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
3380 * libspi/application.c (spi_application_object_event_listener),
3381 (impl_accessibility_application_register_object_event_listener):
3382 warning fixes / const understanding updates.
3384 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
3387 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3389 * libspi/spi_accessible.c: Added docs and C bindings for
3390 AccessibleStateSet. (No implementations yet). Documentation
3391 coverage for C bindings now 100%. Made docs for event listeners
3396 boolean notifyListenersSync (in DeviceEventListener listener,
3397 in DeviceEvent event);
3399 oneway void notifyListenersAsync (in DeviceEventListener listener,
3400 in DeviceEvent event);
3402 Added DeviceEventListener and DeviceEvent structs (may deprecate
3403 KeyStroke and KeystrokeListener in favor of this generic
3404 event/listener framework for devices).
3406 * libspi/deviceeventcontroller.c:
3408 Changed some key listener code to take masks, etc., and paved the
3409 way for integration of toolkit/non-preemptive key events. Changed
3410 signatures of some internal methods.
3412 * at-bridge/bridge.c:
3413 Fixed regression connecting to interface signals, apparently
3414 caused by GTK+ changes.
3416 Added an internal bridge_state_listener to deal with
3417 property-change:accessible-state signals.
3419 Changed the key_listeners GList to store structs (including masks,
3420 etc.) instead of just CORBA_Objects (required for full
3421 implementation of key listener API).
3423 Connected the bridge to all currently supported Atk signals.
3424 Events now supported:
3425 object:property-change
3426 object:property-change:accessible-name
3427 object:property-change:accessible-state
3428 object:property-change:accessible-description
3429 object:property-change:accessible-parent
3430 object:property-change:accessible-value
3431 object:property-change:accessible-role
3432 object:property-change:accessible-table-caption
3433 object:property-change:accessible-table-column-description
3434 object:property-change:accessible-table-column-header
3435 object:property-change:accessible-table-row-description
3436 object:property-change:accessible-table-row-header
3437 object:property-change:accessible-table-summary
3438 object:children-changed
3439 object:visible-data-changed
3440 object:selection-changed
3441 object:text-selection-changed
3443 object:text-caret-moved
3445 object:row-reordered
3447 object:column-inserted
3448 object:column-reordered
3449 object:column-deleted
3450 object:model-changed
3452 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3454 * libspi/hyperlink.c,h:
3455 Fixed some broken stuff in hyperlink.
3457 * libspi/relation.h:
3458 * libspi/relation.c:
3459 * cspi/spi_accessible.c:
3460 Initial implementations of AccessibleRelation methods, and docs.
3462 * libspi/accessible.c:
3463 Fixed a bug that caused SEGV if an accessible
3464 object's description is NULL, and a client
3465 requests it. An empty string is now returned.
3467 * cspi/spi_editabletext.c:
3468 * cspi/spi_hypertext.c:
3470 * cspi/spi_hyperlink.c:
3474 Doc coverage now 95%.
3476 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3478 One last namespacing revision:
3479 * libspi/accessibleeventlistener.[ch]:
3480 Renamed SpiAccessibleEventListener to SpiEventListener,
3481 (no need for two namespaces ;-)
3483 And lots of documentation fixes:
3485 * docs/at-spi-docs.sgml:
3486 Fixed 'underscore vs. hyphen' bug that was preventing
3487 the gtk-doc API docs from being automatically generated.
3490 * cspi/spi-listener.h
3492 * cspi/spi_accessible.c
3494 * cspi/spi_application.c
3495 * cspi/spi_component.c
3496 * cspi/spi_editabletext.c
3498 * cspi/spi_hypertext.c
3500 * cspi/spi_registry.c
3501 * cspi/spi_selection.c
3505 * docs/at-spi-docs.sgml
3506 * docs/at-spi-sections.txt
3508 Added and fixed up gtk-doc documentation in cspi.
3510 Interfaces now (fully) documented (subject to revision and enhancement):
3512 Event Listener Support
3514 AccessibleApplication
3518 AccessibleEditableText
3525 AccessibleRelationSet
3530 2001-11-14 Bill Haneman <bill.haneman@sun.com>
3532 * at-bridge/bridge.c:
3533 Initial work for toolkit-level key snooper connection by bridge.
3538 New typedefs and fixes to support new namespacing, and cleaner
3539 separation of cspi bindings from libspi bonobo implementation.
3540 Removed inconsistent and extraneous Spi* namespace prefix that
3541 had crept into cspi headers.
3542 Lots of comment fixes that sed had missed.
3544 * cspi/spi-roletypes.h:
3545 * cspi/spi-statetypes.h:
3546 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
3547 to AccessibleRoleType.
3549 * libspi/accessibleeventlistener.h:
3550 Fixed minor namespacing weirdness.
3552 * libspi/deviceeventcontroller.c:
3553 Reordered some internal API for device listeners.
3554 Changed the key registry final boolean to 'is_system_global'
3555 rather than 'is_synchronous', which is more descriptive of its
3557 Added spi_device_event_controller_new().
3558 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
3560 * libspi/keystrokelistener.[ch]:
3561 Namespaced KeystrokeListener to SpiKeystrokeListener.
3562 Changed uses of keymasks to use SPI_ prefix, and did other
3565 * libspi/keymasks.h:
3566 Namespaced keymask constants with SPI_ prefix.
3568 * libspi/registry.c:
3569 Some warning fixes, and knock-on fixes from namespace changes.
3572 Added rules for accessx-gui test program.
3574 * test/accessx-gui.c:
3575 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
3576 utility. It doesn't actually use at-spi, but it's still cool and
3579 * test/keysynth-demo.c:
3583 Fixes so that these test clients work properly with the namespaced
3584 libraries. (Incompletely tested for technical reasons, fixes may follow)
3587 2001-11-13 Michael Meeks <michael@ximian.com>
3589 * libspi/application.c
3590 (impl_accessibility_application_get_version),
3591 (impl_accessibility_application_get_toolkit_name):
3593 (impl_accessibility_application_set_id),
3594 (impl_accessibility_application_get_id): remove
3595 redundant casting code.
3597 * libspi/action.c (impl_getDescription): fix warnings.
3599 * libspi/accessible.c
3600 (impl_accessibility_accessible_get_parent),
3601 (impl_accessibility_accessible_get_child_at_index),
3602 (impl_accessibility_accessible_get_state),
3603 (impl_accessibility_accessible_get_relation_set):
3604 warning fixes & include action.h
3606 2001-11-13 Michael Meeks <michael@ximian.com>
3608 * *.[ch] fix bits I screwed up:
3610 s/([^ \tb(\*\&\?\",])spi_/\1/g;
3611 s/([^ \tb(\*\&\?\",])Spi/\1/g;
3613 2001-11-13 Michael Meeks <michael@ximian.com>
3615 * *.[ch] Namespace libspi into spi_ and Spi.
3617 2001-13-11 Michael Meeks <michael@ximian.com>
3619 * Makefile.am: dist & install at-spi-1.0.pc
3621 * libspi/Makefile.am: install into at-spi-1.0
3623 * idl/Makefile.am (idldir): install into at-spi-1.0
3625 * at-spi-1.0.pc.in: add.
3627 * configure.in: build it.
3629 2001-11-12 Bill Haneman <bill.haneman@sun.com>
3631 * test/keysynth-demo.c:
3632 Use a 'realize' signal-handler to set the WM properties for
3633 the virtual keyboard, rather than making it a "POPUP" type
3634 override-redirect window (thanks to anders carlsson for that
3637 2001-11-11 Bill Haneman <bill.haneman@sun.com>
3640 * test/keysynth-demo.c:
3641 Added new test of key synthesis, which creates a simple
3642 (mouse-operated) onscreen keyboard. It inserts key events into
3643 the currently-focused window, thus it does not grab keyboard focus
3646 * cspi/spi_registry.c:
3647 Added C binding for AT-SPI generateKeyEvent.
3649 * libspi/deviceeventcontroller.c:
3650 Added call to XFilterEvent so that key listener works with XIM (we
3651 hope). Added event_synth_type to generateKeyEvent, so that we can
3652 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
3653 synthesize a press/release pair for KeySyms.
3655 2001-11-09 Bill Haneman <bill.haneman@sun.com>
3657 * libspi/Makefile.am:
3658 * registryd/Makefile.am:
3659 (temporary) hack to include libXtst in libspi and registryd.
3660 (Needed for keystroke synthesis, see below).
3663 Improved API for registerKeystrokeListener, in accordance with
3664 discussions with Gnopernicus team and X server research.
3666 * libspi/registry.c:
3667 * libspi/deviceeventcontroller.c:
3668 * libspi/accessible.c:
3669 * libspi/keystrokelistener.c:
3670 Changes and fixes to support keylisteners for potentially
3671 consumed key events (that is, 'passive grabs').
3672 Added implementation for generateKeyEvent() [untested].
3675 Changes to registerKeystrokeListener() API, as above.
3676 Added deregisterGlobalEventListenerAll(), and
3677 deregisterKeystrokeListener(), which are needed for clean exit of
3679 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
3680 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
3682 * cspi/spi_registry.c:
3683 Added implementations of function prototypes mentioned above.
3685 * registryd/registryd.c:
3686 Added the key listener event source as a g_timeout(), to allow
3687 receipt of key events that are not caught by GDK (since GDK
3688 doesn't support passive keygrabs, this was necessary).
3691 Changed to attach a keylistener to 'Alt' keys, and
3692 respond to the following keycommands: Alt-M (toggle magnifier);
3693 Alt-F (toggle speech); Alt-Q (quit).
3694 Added an exit routine to deregister the listeners, and a key
3695 listener that prints some key info to the console when a key
3696 matches the listener mask (and is thus received by the listener).
3698 * util/idl/Magnifier.idl:
3699 Changes to magnifier API to support multiple zoom regions,
3700 non-uniform scaling in x and y, markDirty, and a host of other
3701 features that would be useful to magnification.
3704 * util/mag_client.c:
3705 * util/mag_client.h:
3706 * util/mag_control.c:
3708 Source code changes to support the above IDL changes.
3711 As above, and also changes to use a (slower) generic conversion
3712 path for colormap conversions, since the fast RGB conversions have been
3713 reported to fail for 16-bit displays.
3715 2001-10-26 Michael Meeks <michael@ximian.com>
3717 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
3719 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
3721 * at-bridge/Makefile.am: fix LDFLAGS.
3723 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3725 * at-bridge/bridge.c:
3726 Re-worked listeners for toolkit events, now we have signal
3727 and property listeners. Added a private method
3728 register_atk_event_listeners(), which registers with the
3729 various atk and gtk signals we need to monitor in order to emit
3731 Added emission hook for AtkObject:property-change events, to
3732 support the 'property listeners'.
3733 Fixed some alloc()s of Accessibility_Event structs to use CORBA
3736 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
3737 which emit warnings and exit, respectively, if CORBA errors occur
3738 during remote calls, and we now use these methods to check most of
3739 our CORBA calls in the C bindings.
3741 * cspi/spi_accessible.c:
3742 Changed AccessibleSelection_refSelectedChild() to
3743 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
3744 now increment refcounts.
3746 * cspi/spi_component.c:
3747 Fixed some long pointer casts (dangerous!) to pass pointers to
3748 CORBA_longs of the proper type to the CORBA stubs, and copy the
3749 data into the longs that were passed into the C bindings code.
3751 * at-bridge/bridge.c:
3753 * libspi/accessible.c:
3754 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
3755 hyperlinks, AtkHyperlink is an object type.
3757 * libspi/application.c:
3758 Added various conversions to and from "generic" event types and
3759 atk-specific types; this is really part of the 'bridge'
3760 implementation but is valid for all AtkObject-based accessibility
3763 * libspi/editabletext.c:
3764 Fixed nasty bug wherein editable text's finalize method was
3765 unref'ing tha AtkObject reference that the text parent class was
3766 about to unref _again_. There was also a nasty inheritance bug
3767 that meant that the AccessibleEditableText class was corrupt.
3769 * libspi/selection.c:
3770 Provided implementations for some selection API that was broken.
3772 * idl/Application.idl:
3773 Added registerObjectEventListener () method.
3776 Fixed a number of return values that were Bonobo_Unknowns from
3777 bonobo_object_corba_objref(), which I
3778 forgot to dup before returning. Changed instances of
3779 bonobo_object_corba_objref (bonobo_object(o)) to
3780 BONOBO_OBJREF(o), for concision and clarity.
3782 2001-10-13 Louise Miller <louise.miller@sun.com>
3784 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
3785 idl/Event.idl, idl/Registry.idl
3786 Changed these files to include Bonobo_Unknown.idl instead
3789 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
3791 * libspi/component.c libspi/component.h:
3792 Fixed typo. Added assertions for object checks in
3793 AccessibleComponent code.
3795 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3797 * idl/Accessible.idl:
3798 Added 'isEqual (Accessible *object)'
3799 method for Accessible. (Not Yet Implemented).
3802 Changed signature of registerKeystrokeListener() to
3803 take a KeySet and KeyEventSeq so that specific keys and event
3804 types could be requested for monitoring, and added a flag
3805 is_synchronous so that either synchronous or asynchronous
3806 notification could be requested. (However this is not all
3807 implemented yet). This also meant adding two new typedefs,
3808 KeyEventSeq and KeySet.
3811 Added two new relations, RELATION_TOOLTIP_FOR and
3812 RELATION_LEAFNODE_OF.
3815 Added new state, STATE_HAS_TOOLTIP.
3817 * libspi/text.c, editabletext.c:
3818 Added new assertions to all casts of bonobo-objects from
3819 CORBA servants, to prevent Text API calls on non-text objects.
3820 Changed suspect casts of int-pointer types, so that we
3821 always send a valid CORBA_long pointer to the CORBA APIs that use
3822 in/out long parameters. We then have to copy from the CORBA_long
3823 into the regular long or int for return to the C bindings, or
3824 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
3827 * libspi/deviceeventcontroller.c:
3828 Cleaned these sources up.
3830 Changed return type for getCharacterAtOffset to
3831 CORBA_unsigned_long, to allow for 32-bit characters.
3834 2001-10-08 Bill Haneman <bill.haneman@sun.com>
3838 Fixed 'make dist' so that distro compiles...
3839 * libspi/keymasks.h:
3841 * cspi/spi-listener.c:
3842 KeystrokeListenerCB now returns a boolean.
3844 Added KeyEventType struct, and KeyStroke.
3845 Also added createKeystrokeListener(),
3846 KeystrokeListener_addCallback(),
3847 KeystrokeListener_removeCallback(), and added a keymask to
3848 registerKeystrokeListener().
3849 * cspi/spi_accessible.c:
3850 Changed numerous return types for interfaces from
3851 AccessibleComponent to Accessible<InterfaceName>; this was
3852 probably a cut-and-paste error.
3854 Implementations of new KeystrokeListener api (from spi.h,
3857 Changes to key modifier mapping.
3858 Created ControllerEventMask struct.
3859 Made DeviceEventController derive from Bonobo::Unknown.
3861 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3862 * libspi/deviceeventcontroller.c:
3863 Added a number of new internal (private) methods.
3864 * libspi/editabletext.c:
3865 * libspi/editabletext.h:
3866 Fixed a number of bugs related to the fact that
3867 editabletext inherits from text. Fixed the EditableText struct,
3868 the init() call, and use correct casts when calling Text methods
3869 from an EditableText object. Removed (duplicate) atko from the
3870 EditableText structure, we use the one in the parent Text
3871 structure via the casts mentioned above.
3872 * libspi/keystrokelistener.[ch]:
3873 * libspi/registry.c:
3874 Changes in support of keyboard handling (above).
3876 Keyboard handling, though partly functional, is still not
3877 recommended for at-spi client use as there is considerable
3878 work yet to be done.
3881 Changed some places where pointers to various int types
3882 are cast to be pointers to CORBA_long types and vice-versa:
3883 pointer casting is not safe so we pass pointers of the correct
3884 types and then cast the result before putting it into the target
3887 * libspi/text.h: minor typos corrected.
3889 We now speak not only the name of a Text element, but the
3890 first sentence of its content, when it receives focus.
3891 I also changed the text compression to 75% from 50%.
3892 * util/Accessibility_Util.server.in:
3893 Changed the default magnifier type to be a 3x vertical
3894 splitscreen magnifier (was previously a 2x horizontal one).
3896 2001-10-03 Bill Haneman <bill.haneman@sun.com>
3898 * libspi/keystrokelistener.h:
3899 * libspi/keystrokelistener.c:
3900 Initial functional implementations of KeystrokeListener.
3903 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3905 Fixed string handling for NULL strings in libspi.
3906 Added spi_freeString to free strings returned by C bindings.
3908 2001-09-30 Bill Haneman <bill.haneman@sun.com>
3910 * libspi/keystrokelistener.h:
3911 * libspi/keystrokelistener.c:
3912 Began (no-op) implementations of KeystrokeListener
3914 * libspi/deviceeventcontroller.c:
3915 * libspi/deviceeventcontroller.h:
3916 Began creating implementations of DeviceEventController,
3917 to handle keystroke and mouse event listening and
3919 * libspi/accessible.c:
3920 Stubbed-in the implementations for
3921 Accessibility_Accessible_getState and
3922 Accessibility_Accessible_getRelationSet.
3923 * libspi/registry.c:
3924 Improved de-registration process and fixed some bugs,
3925 deregistration now works correctly.
3927 Added initialization of applications list (to NULL).
3929 Reduced speech compression from 0.5 to 0.7, for demo.
3930 Changed call to gdk_window_set_decorations()
3931 to gtk_window_set_decorated().
3932 * at-bridge/bridge.c:
3933 Bridge now deregisters when app exits, via
3934 registration of a cleanup function
3935 with the g_atexit() call.
3936 Required making 'app' static, renamed 'this_app'.
3937 Fixed broken use of bonobo_init, passing argv wrongly.
3939 2001-09-27 Bill Haneman <bill.haneman@sun.com>
3943 Created a new directory for
3944 accessibility-related utilities, primarily for
3945 testing and demo purposes, but with possible
3952 Onscreen magnifier utility that
3953 is implemented as a bonobo service.
3955 * util/mag_client.c:
3956 * util/mag_client.h:
3957 Client-side support (simple C bindings)
3958 for Magnification service
3960 * util/mag_control.c:
3961 Client program example for
3962 Magnification service
3964 * util/Accessibility_Magnifier.server.in:
3965 Bonobo-activation file for the
3966 Magnification service.
3969 * util/idl/Magnifier.idl:
3970 IDL defining the bonobo Magnification
3974 Modifications to use the bonobo-activated magnifier
3975 above, in place of trying to connect to an existing
3976 magnifier that uses socket-listening IPC.
3978 If env variable MAGNIFIER is set, a magnifier service
3979 will be started if one does not exist.
3981 2001-09-25 Bill Haneman <bill.haneman@sun.com>
3983 * at-bridge/bridge.c:
3984 applied patch from Marc to build and run
3985 against new glib and gtk+ (seemed like a change
3986 to bonobo_init signature was made ?)
3988 made festival-server support turned off by default.
3989 Added support for a simple magnifier (off by default)
3990 which will be added to a 'util' directory later.
3991 * at-bridge/Makefile.am:
3992 Changed "application.h" header from a 'source'
3993 to a 'dependency' of libat-bridge.
3995 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4004 Added interface implementation c files to list of
4005 includes so they are included in libcspi.
4008 Changed prototype of AccessibleAction_doAction to return a
4010 Changed prototype of AccessibleTable_getCaption to
4011 return an Accessible.
4012 Changed prototype of AccessibleTable_getSelectedRows
4013 and AccessibleTable_getSelectedColumns to
4014 return a long (returns the number of selected rows
4015 or columns respectively).
4016 Changed name of AccessibleText_refRunAttributes to
4017 AccessibleText_getAttributes.
4018 Changed prototype of AccessibleText_getCharacterExtents to
4019 return a void rather than a boolean.
4020 Added support for a AccessibleCoordType parameter
4021 specifying what type of coordinates are desired.
4022 Added an AccessibleCordType parameter to
4023 AccessibleText_getPointAtOffset.
4025 * cspi/spi_accessible.c:
4026 Added code to return the outstanding interfaces from
4027 Accessible_queryInterface.
4029 * cspi/spi_action.c:
4031 Corrected call to getNActions to call the c binding
4034 * cspi/spi_editabletext.c:
4036 Changed name from setRunAttributes to setAttributes.
4038 * cspi/spi_hyperlink.c:
4040 Changed call to getNAnchors to correctly call the c
4041 binding for an attribute.
4043 * cspi/spi_hypertext.c:
4045 Changed getImageDescription to correctly call the
4046 binding for an attribute.
4048 * cspi/spi_selection.c:
4049 Changed getNSelectedChildren to correctly call the c
4050 binding for the attribute.
4051 Changed refSelectedChild to getSelectedChild.
4055 Changed getCaption to return an Accessible.
4056 Fixed calls which retrieve attributes.
4057 Changed refAt to getAccessibleAt.
4058 Changed getNSelectedRows and getNSelectedColumns to
4062 Changed getCharacterExtents and getPointAtOffset to accept an
4063 AccessibleCoordType.
4065 Changed calls which retrieve attributes.
4066 Changed refRunAttributes to getAttributes.
4071 * idl/Hyperlink.idl:
4072 Changed n_anchors attribute to nAnchors to keep naming
4073 convention consistent.
4076 Made Table inherit from Bonobo::Unknown.
4077 Added nSelectedColumns and nSelectedRows attributes.
4080 Made Value inherit from Bonobo::Unknown.
4082 * libspi/hyperlink.c:
4083 Change for nAnchors attributte name change.
4085 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4093 Added interface implementation c files to list of
4094 includes so they are included in libcspi.
4097 Changed prototype of AccessibleAction_doAction to return a
4099 Changed prototype of AccessibleTable_getCaption to
4100 return an Accessible.
4101 Changed prototype of AccessibleTable_getSelectedRows
4102 and AccessibleTable_getSelectedColumns to
4103 return a long (returns the number of selected rows
4104 or columns respectively).
4105 Changed name of AccessibleText_refRunAttributes to
4106 AccessibleText_getAttributes.
4107 Changed prototype of AccessibleText_getCharacterExtents to
4108 return a void rather than a boolean.
4109 Added support for a AccessibleCoordType parameter
4110 specifying what type of coordinates are desired.
4111 Added an AccessibleCordType parameter to
4112 AccessibleText_getPointAtOffset.
4114 * cspi/spi_accessible.c:
4115 Added code to return the outstanding interfaces from
4116 Accessible_queryInterface.
4118 * cspi/spi_action.c:
4120 Corrected call to getNActions to call the c binding
4123 * cspi/spi_editabletext.c:
4125 Changed name from setRunAttributes to setAttributes.
4127 * cspi/spi_hyperlink.c:
4129 Changed call to getNAnchors to correctly call the c
4130 binding for an attribute.
4132 * cspi/spi_hypertext.c:
4134 Changed getImageDescription to correctly call the
4135 binding for an attribute.
4137 * cspi/spi_selection.c:
4138 Changed getNSelectedChildren to correctly call the c
4139 binding for the attribute.
4140 Changed refSelectedChild to getSelectedChild.
4144 Changed getCaption to return an Accessible.
4145 Fixed calls which retrieve attributes.
4146 Changed refAt to getAccessibleAt.
4147 Changed getNSelectedRows and getNSelectedColumns to
4151 Changed getCharacterExtents and getPointAtOffset to accept an
4152 AccessibleCoordType.
4154 Changed calls which retrieve attributes.
4155 Changed refRunAttributes to getAttributes.
4160 * idl/Hyperlink.idl:
4161 Changed n_anchors attribute to nAnchors to keep naming
4162 convention consistent.
4165 Made Table inherit from Bonobo::Unknown.
4166 Added nSelectedColumns and nSelectedRows attributes.
4169 Made Value inherit from Bonobo::Unknown.
4171 * libspi/hyperlink.c:
4172 Change for nAnchors attributte name change.
4175 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
4177 implementations-- made server implementations own AtkObject pointers
4178 rather than their respective AtkInterrface pointers to fix
4179 refcounting. AtkHyperlink is still broken.
4181 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4182 * cspi/spi_accessible.c:
4183 Added method Accessible_Role_getName(),
4184 and requisite string array (role_names).
4185 Added conversion string_from_corba_strin() call
4186 to Accessible_getName and _getDescription.
4187 * libspi/accessible.c:
4188 Added implementation for Accessible_getRole()
4190 Added festival support, used if environment variable
4193 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4195 * at-bridge/bridge.c:
4196 Now allocate Accessibility_Event using
4197 Accessibility_Event__alloc() instead of g_new0().
4198 * libspi/accessibleeventlistener.c:
4199 Initialize AccessibleEventListener->callbacks to NULL.
4200 Fixed accessible__event_listener_init() param, changed to
4201 "AccessibleEventListener *" type.
4202 Changed a bonobo_object_release_unref() call to
4203 Accessibility_Accessible_unref().
4204 * libspi/listener.c:
4205 Changed Bonobo_Unknown_unref to (equivalent)
4206 Accessibility_Accessible_unref.
4207 * libspi/registry.c:
4208 Changed bonobo_object_release_unref to
4209 Accessibility_Accessible_unref.
4211 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4214 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
4215 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
4216 spi-util.c spi-util.h
4217 Implementations for C bindings to remaining accessibility
4220 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4223 changed return value of Action from void to boolean to
4224 bring in line with ATK.
4227 Changed getText funcions to return "out" start and end offsets.
4228 Changed getAttributes to take and offset and return the start
4229 and end offset of the attribute run.
4230 Changed getOffsetAtPoint and getCharacterExtents to take an
4231 enum describing whether coordinates are window or screen.
4234 libspi/action.c libspi/action.h libspi/editabletext.c
4235 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
4236 libspi/hypertext.c libspi/hypertext.h libspi/image.c
4237 libspi/image.h libspi/selection.c libspi/selection.h
4238 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
4239 libspi/value.c libspi/value.h
4240 Added server implementations for outstanding ATK interfaces
4241 not yet implemented.
4243 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4246 Added (missing) getName() method.
4247 Made nActions an attribute.
4248 * idl/EditableText.idl:
4249 Changed order of params in setAttributes.
4250 * idl/Hyperlink.idl:
4251 Removed getAnchor, added getURI.
4253 Changed attributes to methods, for efficiency
4254 (so that getting extents can be done in one call)
4255 * idl/Selection.idl:
4256 Changed nSelectedChildren to attribute, and re-indented.
4257 * idl/Table.idl: changed nrows, ncolumns, caption, summary
4259 * idl/Text.idl: reformatted to match our coding style.
4260 (temporarily?) removed getRowColumnAtOffset().
4261 Changed text selection API to support multi-select and
4262 non-contiguous selections, as in ATK.
4263 * idl/Value.idl: changed some methods to attributes.
4265 2001-08-24 Mark McLoughlin <mark@skynet.ie>
4267 * libspi/listener.c(impl_notify_event):
4268 BonoboUnkown_unref the source instead
4269 of bonobo_object_release_unref - the ORB
4270 handles the releasing.
4272 * configure.in: require ORBit-2.3.94 for
4275 2001-08-21 Bill Haneman <bill.haneman@sun.com>
4277 Tagged CVS repository 'EA_1_0'.
4278 * README.EARLY_ACCESS:
4279 Alphabetized acknowledgements list, and
4281 Listed some known dependencies of at-spi.
4283 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4285 * docs/at-spi-docs.sgml:
4286 * docs/at-spi-sections.txt:
4287 * docs/at-spi-overrides.txt: (Added zero-length file)
4288 Documentation improvements - gtk-doc should build
4289 docs for all implemented C bindings now.
4292 * cspi/spi.c: (New file)
4293 * cspi/spi_event.c: (New file)
4294 * cspi/spi_registry.c: (New file)
4295 * cspi/spi_accessible.c: (New file)
4296 * cspi/spi_application.c: (New file)
4297 * cspi/spi_component.c: (New file)
4298 Split spi_main.c into six parts, and included them from
4299 "spi.c". This is a bit of a hack, probably temporary,
4300 but required by gtk-doc, apparently.
4302 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4305 * docs/at-spi-docs.sgml:
4306 * docs/at-spi-sections.txt:
4308 Initial checkins/modifications for gtk-doc generation.
4311 Added (missing) interface query methods to Accessible's C binding.
4313 Added GenericInterface type definition.
4315 Added query for AccessibleComponent interface to focus event handler.
4316 Added printout of bounding box for focussed component.
4317 * libspi/component.c:
4318 Added partial implementation for AccessibleComponent to C binding.
4319 * idl/Application.idl:
4320 * libspi/registry.c:
4321 * libspi/listener.c:
4322 * libspi/application.c:
4323 * libspi/application.h:
4324 Changed "ID" attribute type from string to long.
4326 2001-08-19 Bill Haneman <bill.haneman@sun.com>
4330 Made method naming consistent: methods taking object args
4331 start with uppercase, other methods (except those using
4332 acronyms) start with lowercase. Underscores delimit between
4333 object names and method names:
4334 SPI_init() - uppercase since it starts with an acronym.
4335 getDesktopCount () - lowercase start since no object param0.
4336 Accessible_getName() - uppercase object type name, studlyCaps method
4340 Added gtk-doc documentation for all currently implemented
4341 methods in the C bindings API.
4343 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4345 * Makefile.am : changed build order to build test last.
4348 Changed "createEventListener" to "CreateEventListener".
4349 * libspi/accessibleeventlistener.c :
4350 Bugfix for addition of callbacks.
4351 * test/Makefile.am :
4352 * test/simple-at.c :
4353 Added new test that uses the C bindings API.
4355 * libspi/listener.c :
4356 * libspi/registry.c :
4357 * libspi/accessibleeventlistener.c :
4358 * at-bridge/bridge.c :
4359 Renamed member "target" of Accessibility_Event to "source",
4360 which is more descriptive.
4363 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4367 * cspi/Makefile.am :
4368 Added makefile support for at-spi/cspi directory.
4371 * cspi/spi-listener.h : (NEW FILE)
4372 Added support for/use of spi-listener.h.
4374 C bindings now build successfully, with no warnings.
4375 * libspi/accessibleeventlistener.h : (NEW FILE)
4376 * libspi/accessibleeventlistener.c : (NEW FILE)
4377 * libspi/Makefile.am :
4378 Added new object type "AccessibleEventListener"
4379 which inherits from Listener, and allows attachment
4380 of in-process callbacks (so that a client with a listening
4381 object instance can add functionality to the local
4382 implementation, dynamically).
4384 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4386 * libspi/accessible.c:
4387 Add implementation for get_index_in_parent().
4389 Added #include of "spi-roletypes.h", and
4390 added enumerated type AccessibleCoordType.
4391 Added definition for KeystrokeListener (function type).
4394 * cspi/spi-statetypes.h :
4395 * cspi/spi-roletypes.h :
4397 Added these headers, used by spi.h.
4399 Added code (NOTE: not yet built by make).
4401 2001-08-18 Mark McLoughlin <mark@skynet.ie>
4403 * libspi/Makefile.am: generate imodule
4404 at the same time as other idl compiler
4407 2001-08-17 Bill Haneman <bill.haneman@sun.com>
4408 * libspi/registry.c :
4409 * libspi/application.c :
4410 * idl/Application.idl :
4411 Made registration with toolkit an application method,
4412 which is required since each app has its own toolkit static
4413 environment. Thus the bridge must register for
4414 notification of toolkit events from each application in turn.
4415 Toolkit notifications are now successfully registered for, and
4416 sent to the listening at client.
4418 Changed toolkit event string to use hyphens rather than underscores.
4419 * libspi/listener.c :
4420 listner now gives more info in debug mode - it reports the
4421 name of the event received, as well as the name of the source.
4424 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4426 * libspi/registry.c :
4427 added more implementation for toolkit events.
4428 Fixed bug such that toolkit event registrations
4429 (via atk) use the whole event name string, not
4431 Removed a useless call to an ORBit_ method.
4432 * at-bridge/bridge.c :
4433 Removed unused local sbuf[] variable.
4435 We now register for Gtk:GtkWidget:button_press_event
4436 events as well as "focus:" events.
4438 Add some more API from Registry.idl that was missing,
4439 for keystroke listening, keystroke and mouse event
4440 synthesis, and enumeration of accessible desktops.
4442 2001-08-16 Michael Meeks <michael@ximian.com>
4444 * configure.in: use AM_GLIB_GNU_GETTEXT.
4446 * Makefile.am (SUBDIRS): kill intl.
4448 2001-08-15 Michael Meeks <michael@ximian.com>
4450 * registryd/Makefile.am: s/oaf/server/ relocate info file.
4452 * configure.in: upd.
4454 * configure.in: depend on a recent bonobo-activation that
4455 will find our server files ...
4457 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4459 * libspi/accessible.c : accessible_new() :
4460 Now we add the Component interface via bonobo_object_add_interface,
4461 if the contained AtkObject implements AtkComponent.
4462 * libspi/accessible.h : now include "component.h"
4463 * libspi/component.h :
4464 * libspi/component.c : added files - implementation of
4465 bonobo wrapper object for Accessibility/Component
4466 * libspi/listener.c :
4467 Added test code to check for Accessibility/Component:1.0
4468 interface and report whether it is implemented by the
4470 * libspi/registry.c :
4471 Now we check for not only the hash of the whole event
4472 string before relaying the event, we also check the
4473 "minor" event string (without the detail string).
4474 This allows event listeners to be registered against
4475 all events of a certain major+minor type, or just
4476 against a specific major+minor+detail type.
4477 * libspi/accessible.c :
4478 Added implementations for Accessible:get_parent(),
4479 Accessible:getChildCount(), and Accessible:getChildAtIndex().
4480 * libspi/registry.c :
4481 * libspi/listener.c :
4482 Replaced calls to Accessibility_Accessible_ref() and
4483 Accessibility_Accessible_unref() with
4484 calls to bonobo_object_dup_ref() and
4485 bonobo_object_release_unref(), so that the CORBA object
4486 is dup-ed and released when relayed, as well as the bonobo object.
4488 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4490 * libspi/Makefile.am,
4491 registryd/Makefile.am,
4492 at-bridge/Makefile.am.
4493 test/Makefile.am, configure.in:
4494 reverse previous changes.
4496 * /idl/Image.idl: fix typo.
4498 * test/Makefile.am: put DEBUG_FLAGS
4501 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4503 * test/app.c: use argv[0] instead of
4506 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4508 * libspi/Makefile.am,
4509 registryd/Makefile.am,
4510 at-bridge/Makefile.am.
4511 test/Makefile.am, configure.in:
4512 cleanup, replace individual LIBS/CFLAGS with
4513 AT_COMMON_{LIBS|CFLAGS}.
4517 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4519 * configure.in, libspi/Makefile.am:
4520 Change IDL path checking for bonobo-activation
4523 2001-08-15 Bill Haneman <bill.haneman@sun.com>
4525 * registryd/registry.c : separated event listeners to use
4526 3 separate lists (focus, window, toolkit). Began testing
4527 event names against hashes before relaying events.
4528 * test/at.c : now register for events of type "focus:"
4529 * test/app.c : now generate events of type "focus:"
4530 * at-bridge/bridge.c : register with ATK for focus events,
4531 and we now relay those focus events to any "focus:" listeners.
4532 This now works with the bridge as a GTK_MODULE when running test/at.
4533 * libspi/registry.c :
4534 * libspi/listener.c :
4535 now we ref event sources before propagating, and unref on receipt.
4536 * libspi/registry.c :
4537 some changes to internal structs, to support event typestring hashes.
4538 * text/app.c : changed the way the appname is generated.
4539 * cspi : added directory that will hold the C bindings library for
4540 non-CORBA/bonobo-savvy clients.
4541 * cspi/spi.h : header file that contains the function prototypes for the C binding.
4542 * idl/Component.idl : added in parameter to indicate coord system for
4543 geometry-related calls.
4544 * idl/Hyperlink.idl : added readonly n_links attribute
4545 * idl/Image.idl : changed methods to attributes.
4547 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4549 * at-bridge/Makefile.am: link against
4550 ../libspi/libspi.la instead of -lspi.
4552 * at-spi/test/app.c: include
4553 bonobo-activation.h. Use a default appname
4554 if one is not provided.
4556 2001-08-14 Bill Haneman <bill.haneman@sun.com>
4558 * idl/Registry.idl : temporarily changed register_Application
4559 to oneway, to work around issue with initial registration
4561 * idl/Application.idl : changed attribute "id" from readonly
4562 to read-write, since it needs to be assigned by Registry.
4563 * registryd/registryd.c : added call to set application id
4565 * registryd/registry.c : changed de-registration procedure to
4566 use CORBA_Object_hash() to find matching object ref in application
4567 lists and listener lists.
4568 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
4569 began distinguishing between event types (work in progress).
4571 2001-08-13 Bill Haneman <bill.haneman@sun.com>
4574 * libspi/application.c:
4575 Added implementations for get/set id, get_toolkitName,
4577 * registryd/registryd.c :
4581 Converted from use of OAF to bonobo-activation.
4582 * libspi/desktop.h :
4583 * libspi/desktop.c :
4585 Removed references to atksimpleobject, since base atkobject
4586 implementation now provides functionality we need.
4587 * libspi/atksimpleobject.c :
4588 * libspi/atksimpleobject.h :
4593 * at-bridge/Makefile.am
4594 * at-bridge/bridge.c
4597 Added directory "bridge" and contents, and added dependencies
4598 in Makefile.am/configure.in.
4599 Initial checkin of "at-bridge".
4600 This code is a GTK_MODULE which automatically registers
4601 GTK+ apps with the accessibility registry, using an object
4602 reference to the root ATK object.
4604 2001-08-10 Mark McLoughlin <mark@skynet.ie>
4606 * po/Makefile.in.in: Remove. Again. If this
4607 doesn't get autogenerated - you need to update
4610 2001-08-07 Mark McLoughlin <mark@skynet.ie>
4612 * po/Makefile.in.in: Add. Again.
4614 2001-07-31 Bill Haneman <bill.haneman@sun.com>
4616 * libspi/accessible.c : added support for 'description' property.
4617 * libspi/accessible.c
4619 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
4620 (since the two are now equivalent in libbonobo)
4628 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
4629 Bonobo::Unknown as does Accessibility::Accessible.
4630 * idl/StreamableContent.idl : as above, and replaced internal InputStream
4631 interface with Bonobo::Stream, since it was redundant with it.
4632 (The Stream returned by a StreamableContext object is expected to
4633 implement only a subset of Bonobo::Stream)
4635 2001-07-28 Anders Carlsson <andersca@gnome.org>
4637 * libspi/accessible.c (accessible_object_finalize): Change
4638 g_free to g_object_unref since the AtkObject is a GObject.
4640 2001-07-30 Bill Haneman <bill.haneman@sun.com>
4642 * idl/Accessibility.idl: add new IDL files
4645 * idl/Action.idl: Definitions of actionable UI object
4646 * idl/Component.idl: Definitions of UI component geometry, etc.
4647 * idl/Hyperlink.idl: Defs of hyperlink behavior
4648 * idl/Image.idl: Def of accessible image
4649 * idl/Selection.idl: Definition of UI object with selectable children
4650 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
4651 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
4652 * idl/Text.idl: Interface defs for UI elements with complex textual content
4653 * idl/Value.idl: Definition of UI element that is a value controller or display
4655 2001-07-27 Michael Meeks <michael@ximian.com>
4657 * po/Makefile.in.in: remove autogenerated file from CVS.
4659 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
4662 * idl/Registry.idl: include guard.
4664 * idl/Accessibility.idl: Add, and include all the other IDL
4667 * idl/*.idl: remove mass of pragmas etc.
4669 2001-07-26 Michael Meeks <michael@ximian.com>
4671 * registryd/Makefile.am (registryd_SOURCES): remove
4674 2001-07-27 Mark McLoughlin <mark@skynet.ie>
4676 * libspi/.cvsignore, registryd/.cvsignore,
4677 test/.cvsignore: updated.
4679 * po/Makefile.in.in: gettext update.
4681 2001-07-25 Bill Haneman <bill.haneman@sun.com>
4683 * initial CVS checkin
4685 2001-06-29 Michael Meeks <michael@ximian.com>
4687 * configure.in: add AM_CONFIG_HEADER to gen config.h