1 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
4 If signal has detail add it to the type of the event.
7 2002-08-12 Michael Meeks <michael@ximian.com>
9 * test/test-simple.c (global_listener_cb): bin bogosity.
10 (test_keylisteners): disable, still doesn't work reliably,
11 certainly not on my system anyway.
13 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
14 don't leak a reference on the DEC. This round-trip
15 fetching of the DEC per keystroke sucks, it should be
19 * cspi/cspi-lowlevel.h,
20 * cspi/bonobo/cspi-bonobo-listener.[ch],
21 * cspi/bonobo/cspi-bonobo.c: get the copyright
22 notices better - there is still a large amount of
23 work in at-spi falsely attributed solely to Sun.
25 * cspi/spi_main.c (cspi_object_ref): kill bogus
26 hash lookup, just increment the ref.
27 (SPI_freeString): make explicit the fact that we
28 handle NULL strings just fine.
29 (report_leaked_ref): obey coding standards.
30 (cspi_object_hash, cspi_object_equal): kill retval.
31 (cspi_object_release): only release if not on loan.
32 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
33 (cspi_object_borrow, cspi_object_return): impl.
35 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
36 use cspi_object_borrow / return.
38 2002-08-12 Darren Kenny <darren.kenny@sun.com>
40 * cspi/bonobo/cspi-bonobo-listener.c:
42 Don't call cspi_oject_new() because this is creating a new Accessible
43 every single time that an event is fired. This causes ATs like at-poke
44 to nolonger recognise the source of the event and thus ignore it.
45 Re-use the object from the cache, ref it and then unref it after the
46 listeners have been called.
48 2002-08-06 Darren Kenny <darren.kenny@sun.com>
50 * test/event-listener-test.c:
51 Added command-line options to disable mouse events (m) and
54 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
56 * configure.in: Update required versions of ATK, GTK+ and GAIL
58 * cspi-1.0.pc.in: Add dependency for X include files
61 * cspi/bonobo/Makefile.am:
62 Add $(X_CFLAGS) so that X include files
63 are picked up even if not in standard place (bug #71686)
65 2002-06-25 Bill Haneman <bill.haneman@sun.com>
67 * registryd/deviceeventcontroller.c: fix for 84261
68 (spi_dec_mouse_moved):
69 Added test of mouse button mask, so that we can detect mouse
70 button release. Unfortunately we can't otherwise detect mouse
71 button release events without consuming the mouse press event,
72 because of the way XGrabButton works. This means that our mouse
73 release events have a latency dependent on the polling period
74 while the mouse button is down. At least in this case we only
75 have to poll while the button is down, and not at other times.
76 If the button masks don't match with what the last press event
77 reported, we report the appropriate button release event.
78 (spi_dec_ungrab_mouse):
79 New method (not yet called).
80 (spi_device_event_controller_forward_mouse_event):
81 New method, sends mouse press event from GdkFilter.
82 (spi_dec_init_mouse_listener):
83 Added code to call XGrabButton, redirecting mouse button events to
84 the root window and our Gdk event loop.
86 Added code to filter mouse button events, and reordered.
88 * test/event-listener-test.c:
90 Added registration for mouse events of type "mouse:button".
92 2002-06-25 Bill Haneman <bill.haneman@sun.com>
94 * registryd/deviceeventcontroller.c: partial fix for 84261
95 (spi_dec_poll_mouse_idle):
96 New method, a timeout which checks to see if the mouse
98 (spi_dec_poll_mouse_moving):
99 A timeout to be called when mouse motion is underway.
100 (spi_dec_poll_mouse_moved):
101 A method which fires an event if the mouse has moved, and reports
102 whether or not it did so.
103 (spi_dec_init_mouse_listener):
104 A method which sets up the timeouts above.
105 (spi_device_event_controller_new):
106 Now calls spi_dec_init_mouse_listener.
108 * registryd/registry.c:
110 Now we initialize the device event controller when the registry is
111 initialized, instead of waiting until a client has requested a key
112 event notification; this is because we need the event controller
113 for mouse events, but the mouse event registration API is a
114 "registry" call and doesn't explicitly call the
115 deviceeventcontroller.
116 We now report mouse motion events with a 100 ms idle latency and
117 a 20 ms granularity when motion is in progress.
119 * test/event-listener-test.c:
121 We now register the "detail listener" for events of type
122 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
123 delivered only for the first mouse event received, and thereafter
124 "mouse:abs" events are delivered.)
126 * cspi/spi_registry.c:
127 DOCS: Documented the above mouse event typestrings.
129 2002-06-21 Bill Haneman <bill.haneman@sun.com>
131 Happy Summer Solstice...
133 * registryd/deviceeventcontroller.c: [fix for bug 84100]
134 (spi_controller_notify_keylisteners):
135 Changes to remove a listener from the listener list, freeing its
136 open keygrabs, if a notification to that listener fails. This
137 means that although a dead listener can continue to hold a passive
138 keygrab, a maximum of one dispatch to such a listener can fail
139 before the listener is removed from the list, thus the keygrab
140 will be released on the next occurrence.
142 (spi_notify_keylisteners):
143 Renamed to spi_controller_notify_keylisteners, as the controller
144 instance must now be passed as an argument.
145 The copied 'notify' GList is now a list of DEControllerKeyListener
146 objects, since we need more than just the CORBA reference if a
147 notify fails and we need to deregister the listener.
148 (impl_notify_listeners_sync):
149 (impl_notify_listeners_async):
150 (spi_device_event_controller_forward_key_event):
151 Modify use of notify_keylisteners in accordance with above
153 (spi_deregister_controller_key_listener):
154 New method introduced by refactoring, from
155 impl_deregister_keystroke_listener.
156 (impl_deregister_keystroke_listener):
157 Call spi_deregister_controller_key_listener.
158 (spi_key_listener_clone):
159 New method to copy a key listner without doing a 'ref' on the
160 remote object instance; used to create a notifier list.
161 (spi_key_listener_data_free):
162 New method, frees data without unreffing the source.
164 (spi_key_listener_clone_free): new method.
165 (spi_key_listener_free):
166 refactored to call spi_key_listener_data_free.
168 2002-06-20 Bill Haneman <bill.haneman@sun.com>
170 * registryd/registry.c: [fix for bug 86048]
171 (notify_listeners_cb):
172 Clear CORBA system exceptions which occur when notifying
173 listeners, before returning to the source of the original event,
174 since the event source doesn't care if the relayed notify failed.
175 In other words, don't complain to the atk-bridge if the registry
176 could not notify all its listeners, that's no fault of the
177 application and thus should not appear to be an error from the
178 application's perspective.
180 * cspi/spi_main.c: [fix for bug 85980]
182 Replaced use of bonobo_object_dup_ref with call to the wrapper
183 method, csou_dup_ref (); this silences a compiler warning and
184 provided more portability.
186 Ping the registry before return, and restart if necessary.
188 * cspi/bonobo/cspi-bonobo.c:
192 Fixed this method to return an object reference, as it should have
195 * cspi/cspi-lowlevel.h:
196 Added internal definition for cspi_ping() and fixed
197 return type of cspi_dup_ref().
200 2002-06-19 Bill Haneman <bill.haneman@sun.com>
202 * atk-bridge/bridge.c: [fix for bug 85305]
203 (spi_atk_bridge_register_application):
204 New method where the initial application registry calls have been
205 moved; it allows an application to re-register in response to
206 certain error conditions (such as a registry restart, see below).
208 Moved some initialization code to the method
209 spi_atk_bridge_get_registry, below.
210 (spi_atk_bridge_get_registry):
211 New, private accessor function for the Accessibility_Registry
212 instance. If the registry has not been started before, or has
213 died (as detected by failure of a CORBA exception), it is
214 restarted before return, and spi_atk_bridge_register_application
215 is called again to register with the new bridge instance.
216 (spi_atk_emit_eventv):
217 Set registry_died on error; use spi_atk_bridge_get_registry () to
220 * registryd/registry.c:
221 (impl_accessibility_registry_register_global_event_listener):
222 Set listener's event_type_quark to etype.minor instead of
223 etype.major (fix for bug 84856).
225 * test/event-listener-test.c:
226 (report_detail_event):
227 Change the output string so that user/tester can tell that the
228 'detail listener' was called instead of the 'generic listener'.
230 2002-06-18 Bill Haneman <bill.haneman@sun.com>
232 Fixes for bugs 84900, 84908, 84897, 84898.
237 Revved version to 1.1.0
238 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
239 version is going to HEAD which will be used for gnome-2-0-1 and later.)
241 * idl/Accessibility_Registry.idl:
242 (EventListener::notifyEvent):
243 Removed 'oneway' directive after extensive consulation with
244 ORBit2 team and others. This means also that unref() of the event
245 source can and should be done synchronously after emission, rather
246 than remotely in the client, after servicing the notify call on
249 NOTE: This change speeds up listener performance considerably, but
250 introduces new latency on the application side. We may want to
251 add an event queue to the atk-bridge.
253 * atk-bridge/bridge.c:
254 (spi_atk_bridge_focus_tracker):
255 Do a local unref() on the event source after emission.
257 * registryd/registry.c:
258 (desktop_remove_application):
259 Do an unref() on the event source after emission.
260 (desktop_add_application):
261 Do an unref() on the event source after emission.
262 (notify_listeners_cb):
263 When relaying an event, don't automatically add the event source
264 to the local object cache, just CORBA_dup it instead. Likewise,
265 if this method reenters, release the ref rather than calling
267 (impl_registry_notify_event):
268 No longer call remote unref() on the event source after dispatch.
270 * libspi/eventlistener.c:
271 (impl_accessible_event_notify_event):
272 Removed remote unref ()
274 * cspi/bonobo/cspi-bonobo-listener.c:
276 We now call cspi_object_new() instead of cspi_object_add() on
277 receipt of an event; thus we only have an implicit object ref
278 while the cspi_event method is being executed. If we need to keep
279 a reference to the object, the listener must call ref() on the
280 object. Thus also we don't need to call cspi_object_unref() after
281 invoking the listener callbacks in this method.
285 New internal API for creating a new cspi object, without adding it
288 Now uses cspi_object_new() to create the cspi object instance.
290 Now checks to see if the object is in the internal object cache,
291 and adds it if necessary before incrementing its refcount (note
292 that new objects are added with a refcount of 1).
294 New method which gives some information on leaked object instances
295 if leak detection is turned on.
297 * test/event-listener-test.c:
299 New method, used for testing event delivery timing for special
300 events of type "object:test". It reports elapsed time and
301 events/sec every 500 events.
303 Added a new listener, 'test listener', to check timing of event
304 receipt as noted above.
306 Added some timing output here also, reports elapsed time every 100
309 * test/stress-test.c:
310 Emit events of type "object:test", for use with "event-listener-test".
312 * test/test-simple.c:
313 (global_listener_cb):
314 Call Accessible_ref() on the event source before calling
315 validate_accessible, since the validation process does pointer
316 comparisons on the event source, meaning that the event source
317 needs to be added to the local object cache first. Any use of
318 such pointer comparisons between Accessible objects requires that
319 the caller hold an explicit reference to those objects.
320 We also must therefore call Accessible_unref() when leaving this method.
322 2002-06-13 Bill Haneman <bill.haneman@sun.com>
324 * registryd/deviceeventcontroller.c:
325 (spi_controller_update_key_grabs):
326 Fix for #84735, subsequent keygrab listeners not informed of
327 registration failure.
330 (spi_base_construct):
331 Add an assertion on construct, to make sure the GObject passed in
334 Explicitly initialize object->gobj pointer to NULL;
336 * cspi/bonobo/cspi-bonobo-listener.c:
337 (cspi_object_add_ref):
338 New method, can specify whether to dup-ref a bonobo object passed
339 in if it's newly added to the object cache.
341 Now calls cspi_object_add_ref with second param of "FALSE". This
342 prevents us from doing a pointless dup-ref followed by
343 release-unref for all those cases where the object is already in
344 our object cache (fix for #85205).
346 * atk-bridge/bridge.c:
347 (spi_atk_bridge_idle_init):
348 Removed this method, we don't need to initialize in an idle
351 Changed to call spi_atk_register_event_listeners directly, not via an
352 idle handler. (fix for #81139)
353 (gnome_accessibility_module_shutdown):
354 Removed conditional around deregistration of listeners, since we
355 don't use the idle handler and thus have always registered when
357 (spi_init_keystroke_from_atk_key_event):
358 Changed references to Accessibility_KEY_PRESSED to
359 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
361 2002-06-12 Bill Haneman <bill.haneman@sun.com>
363 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
368 * test/stress-test.c:
371 (may have been an incomplete commit yesterday?)
373 2002-06-12 Bill Haneman <bill.haneman@sun.com>
376 Added target for new stress-test.
378 * test/stress-test.c:
379 New test, sends 1000 focus notifies in quick succession.
381 * test/key-listener-test.c:
382 Now we report whether a keylistener registration
383 request succeeded or failed.
385 * test/event-listener-test.c:
386 Uncommented some listeners which are now implemented.
389 2002-06-06 Bill Haneman <bill.haneman@sun.com>
391 * registryd/deviceeventcontroller.c:
392 (spi_controller_update_key_grabs):
393 Fix for #82509, lack of failure notification when
394 ALL_WINDOWS keygrabs fail due to XGrabKey
395 failure: we synchronize the server when
396 registering a passive grab, to make sure we get the
397 error message before the call returns.
399 2002-06-03 Bill Haneman <bill.haneman@sun.com>
401 * test/test-simple.c:
403 Removed #ifdef KEY_IMPL_WORKS guards.
405 Removed #ifdef KEY_IMPL_WORKS guards.
406 Fixed bug which was causing a hang waiting for a
407 "press" event (which was already overwritten by a "release"
408 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
410 Added code to set globals 'key_press_received' and
411 'key_release_received'.
414 Added section "1.1 API Proposed Additions" which
415 lists API additions desired for at-spi-1.1 (only one so far).
416 Updated TODO list a little.
418 2002-06-02 Bill Haneman <bill.haneman@sun.com>
420 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
423 * configure.in: Revved to 1.0.0.
425 * idl/Accessibility_Registry.idl:
426 (registerKeystrokeListener):
427 Added boolean return value.
429 * registryd/registry.c:
430 (notify_listeners_cb): Minor fix to debug output.
432 * registryd/Accessibility_Registry.server.in.in:
433 Revved version number in OAFIID to 1.0.
435 * registryd/registryd.c:
437 Use new OAFIID version.
439 * cspi/bonobo/cspi-bonobo.c:
441 Use new OAFIID version.
447 * atk-bridge/bridge.c:
449 Use new OAFIID version.
451 * registryd/deviceeventcontroller.c:
452 (impl_register_keystroke_listener):
453 Added CORBA_boolean return value.
454 (spi_controller_register_device_listener):
455 Added gboolean return value.
456 (spi_controller_register_global_keygrabs):
457 Added gboolean return value.
458 (spi_key_set_contains_key):
459 Added implementation for many more control keys,
460 for instance F1-F12, arrow keys, End, Home, Page_Up,
462 [TODO: some still not implemented].
464 * text/screen-review-test.c:
465 (text_chunk_pad_string):
466 New function: it provides mapping between coordinate
467 positions of text chunks and character positions in the
468 screen-review-line output string.
469 (text_chunk_to_string):
470 New function, calls text_chunk_pad_string with various
471 pad/delimiter characters. Pushbuttons are delimited with
472 square brackets, Frames with vertical 'pipe' lines, and
473 other text with double quotes.
474 (text_chunk_list_to_string):
475 Calls new function text_chunk_to_string.
476 (toplevel_composite):
477 New function to composite layers CANVAS through
478 POPUP in each toplevel (other layers are composited
479 across toplevels, i.e. BACKGROUND and OVERLAY).
480 (review_buffer_composite):
481 Revise to use new methods.
487 2002-05-31 Laszlo Peter <laca@sun.com>
489 * configure.in: add the Xtst libdir to the runpath on Solaris,
490 since it's not in the default library search path.
492 2002-05-29 jacob berkman <jacob@ximian.com>
494 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
496 2002-05-29 Bill Haneman <bill.haneman@sun.com>
498 * test/screen-review-test.c:
499 (text_chunk_pad_string):
500 Added method, which pads the string according to the
501 text bounds of the chunk. It also takes a 3-character
502 string as a param which indicates the characters to be
503 used for start, padding, and end delimitation of the chunk.
504 (text_chunk_to_string):
505 Changed to use text_chunk_pad_string.
507 * configure.in: Fixed bug in AC_OUTPUT that was
508 causing path substitution in Accessibility_Registry.server
511 2002-05-23 Bill Haneman <bill.haneman@sun.com>
513 * text/screen-review-test.c:
515 New method which attempts a best-guess at clipping
516 text from components (like Java labels) which don't
517 actually implement AccessibleText. This inaccurate
518 clip is based on the assumption that the label is
519 justified left-and-right, and monospaced.
520 (text_chunk_get_clipped_string):
521 We now call guess_string_clip() for text-containing
522 components that don't implement AccessibleText.
524 * test/screen-review-test.c:
525 (review_buffer_get_text_chunk):
526 We now pull "name" from labels if they do not implement
527 AccessibleText (i.e. for Java labels).
528 (get_screen_review_line_at):
529 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
532 Replaceded AC_OUTPUT target
533 registryd/Accessibility_Registry.server with
534 registryd/Accessibility_Registry.server.in.
536 * registryd/Accessibility_Registry.server.in:
537 Removed (this is now a Makefile target).
539 * registryd/Accessibility_Registry.server.in.in:
540 Added (source for target above). We now use $(libexecdir) as
541 prefix for the executable at-spi-registryd.
543 * registry/Makefile.am:
544 Now install at-spi-registryd into $(libexecdir), and build .server
545 file with path (see above).
547 2002-05-22 Bill Haneman <bill.haneman@sun.com>
549 * test/screen-review-test.c:
550 (text_chunk_get_clipped_string):
551 We now check to see if words fall within clip bounds
552 before resorting to character-by-character clip bounds testing.
554 * TODO: Added a section for "2.2 Proposed API Additions".
556 2002-05-21 Bill Haneman <bill.haneman@sun.com>
558 * test/screen-review-test.c:
560 Added a screen review benchmarking and test program to test
563 * cspi/spi_accessible.c:
565 Made some of the debug strings passed to cspi_check_ev a
566 little more specific.
568 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
570 * test/screen-review-test.c: Fix crashes in debug statements
572 2002-05-20 Bill Haneman <bill.haneman@sun.com>
574 * test/screen-review-test.c: Added this file.
576 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
578 * atk-bridge/bridge.c: changed "object:state-change" to
579 "object:state-changed" to match docs.
581 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
583 * atk-bridge/bridge.c: Hooked up state-change event details.
585 2002-05-11 Bill Haneman <bill.haneman@sun.com>
587 * registryd/registry.c:
588 Fixed quarking bug in event string parsing; now events with
589 detail parameters get matched correctly to listeners.
592 * util/idl/Magnifier.idl: remove.
594 * util/*.[ch]: Remove.
595 Magnification utilities and IDL are now in module gnome-mag.
597 2002-05-10 Bill Haneman <bill.haneman@sun.com>
599 * registryd/deviceeventcontroller.c:
600 Fixed bug in grab key conversion which was causing keycode grabs
601 to be converted to AnyKey grabs.
604 updated NEWS file to reflect recent spin-off of gnome-mag.
606 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
608 * cspi/spi_accessible.c: Added exception checks. Fixed completely
609 busted AccessibleStateSet_compare. Removed redundant casts.
611 * cspi/spi-action.c: Removed redundant casts.
613 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
615 * cspi/spi_component.c: Fixed typos and casting error.
617 * cspi/spi_editabletext.c: Removed redundant casts.
619 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
621 * cspi/spi_hypertext.c: Eliminated redundant casts.
623 * cspi/spi_image.c: Eliminated redundant casts.
625 * cspi/spi_registry.c: Eliminated redundant casts.
626 SPI_deregisterGlobalEventListenerAll () removed retval variable.
627 * cspi/spi_selection.c: Removed redundant casts.
628 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
629 handling. Screen geometry and text offsets were being returned as 0
630 on error which is technically valid-- changed these to return -1.
631 Added marshaller for text boundary types to fix bug with boundary
632 types being passed incorrectly to atk.
634 2002-05-09 Bill Haneman <bill.haneman@sun.com>
637 * cspi/spi_registry.c:
638 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
639 which was uncovered by the recent key changes.
641 2002-05-09 Bill Haneman <bill.haneman@sun.com>
643 * test/event-listener-test.c:
645 Added new test, "event-listener-test";
646 this code does two things; it benchmarks traversal time
647 for the accessible hierarchy for the first running accessible
648 app, and it connects listeners for all supported event types.
649 It is thus useful as an example event listener and for
650 diagnostics/debugging of event generation.
652 2002-05-08 Bill Haneman <bill.haneman@sun.com>
655 Removed unnecessary dependency on libutil.
658 Revved micro version: 0.13.1
660 2002-05-08 Bill Haneman <bill.haneman@sun.com>
663 Removed util/Makefile from targets.
666 Removed util subdir from SUBDIRS (temporarily,
667 pending removal of magnifier-only code
671 #ifdef-ed out magnifier dependencies, since
672 magnifier IDL, headers, and binary now live in
673 module gnome-mag and we don't want at-spi to depend
674 on gnome-mag. A magnifier demo which can run alongside
675 simple-at is forthcoming in the gnome-mag module.
677 NOTE: Split magnifier binary, IDL, and magnification
678 activation code from at-spi into module gnome-mag.
680 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
682 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
683 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
685 2002-05-03 Bill Haneman <bill.haneman@sun.com>
688 Revved to version 0.13.0
690 * idl/Accessibility_Registry.idl:
691 Changed definition of KeySet from sequence of longs to sequence of
692 KeyDefinitions, and added KeyDefinition struct.
693 Required for fix to bug 80616.
695 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
696 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
697 to use new definition (see above).
699 * registryd/deviceeventcontroller.c: handle_keygrab(),
700 spi_keyset_contains_key():
701 Changed to make use of new struct; this allows matching based on
702 string key-name, for instance "Tab". This also allows matching of
703 composed characters, non-alphanumeric characters in a way that
704 doesn't involve dependencies on X keysym codes directly, etc.
706 * test/key-listener-test.c:
707 Added test for Alt-Tab key using "string" specification of keyset,
708 and modified one of the tests to use a keycode-based keyset.
709 Thus this test both tests and demonstrates the creation and use of
710 keysets of three forms: specified via keycode array,
711 keysym array, and string array. (The string case only contains a
712 single string, i.e. a string array of length 1).
715 Turned on PRINT_TREE option by default. Also fixed a
716 string-freeing bug in the PRINT_TREE code.
717 Added a listener to window:minimize events.
719 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
721 * atk-bridge/bridge.c:
722 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
723 for window:activate and window:deactiveate
724 (atk_bridge_property_event_listener atk_bridge_signal_listener
725 atk_bridge_window_event_listener) Tidy debug code
727 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
729 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
730 Fixed handling for NULL return value from ATK.
732 * libspi/action.c libspi/component.c libspi/editabletext.
733 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
734 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
735 Removed redundant casts.
737 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
738 Fixed off by one bug.
740 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
741 function not present in idl)
743 2002-05-02 jacob berkman <jacob@ximian.com>
745 * atk-bridge/Makefile.am: make atk-bridge a real module
747 2002-04-26 Radek Doulik <rodo@ximian.com>
749 * libspi/stateset.c (spi_init_state_type_tables): fix size of
750 atk_state_types table
752 2002-04-22 jacob berkman <jacob@ximian.com>
755 * libspi/Makefile.am: add deps on the built files to help
756 automake, and don't version the ORBit typelib
758 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
760 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
761 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
762 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
763 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
764 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
765 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
766 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
767 libspi/accessible.h libspi/accessible.h libspi/base.h
768 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
769 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
770 libspi/relation.h libspi/remoteobject.h libspi/selection.h
771 libspi/spi-private.h libspi/statetset.h libspi/table.h
772 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
773 util/mag_client.h util/mag_control.c util/mag_image.c
774 util/mag_image.h util/magnifier.c util/magnifier.h:
775 Add missing file headers; standardize existing ones
777 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
779 * atk-bridge/bridge.c: Added window event support.
781 2002-04-18 Michael Meeks <michael@ximian.com>
783 * libspi/relation.c (impl_getNTargets): impl.
784 (impl_getTarget): impl.
786 * libspi/Makefile.am: fix stateset install.
788 2002-04-17 Bill Haneman <bill.haneman@sun.com>
791 Started putting useful info in this file.
793 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
795 * atk-bridge/bridge.c:
796 Propagate state-changed notifications to ATs
798 * cspi/spi_registry.c: update docs to reflect actual behavior of
801 2002-04-17 Bill Haneman <bill.haneman@sun.com>
804 Incremented version to 0.12.1
807 Add missing declaration for magnifier_exit,
808 used by mag_control.c - Forte compiler didn't like
809 the implicit redeclaration of the function :-(
812 2002-04-16 Bill Haneman <bill.haneman@sun.com>
815 Revved version to 0.12 due to API change (see below).
817 * cspi/spi-roletypes.h:
818 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
819 definition from the inline docs, and added docs
820 for SPI_ROLE_LAST_DEFINED.
823 * cspi/spi_streamablecontent.c:
824 Added missing seek_type parameter to
825 (so far unused) method,
826 AccessibleStreamableContent_seek().
827 [ RT approval JodyG. ]
830 Fixed docs for SPI_createAccessibleKeystrokeListener.
832 * cspi/spi_registry.c:
833 Fixed docs for SPI_KEYSET_ALL_KEYS.
835 * docs/reference/cspi/at-spi-cspi-sections.txt:
836 Added a number of missing APIs to SECTIONS.
838 2002-04-16 Bill Haneman <bill.haneman@sun.com>
840 * registryd/Makefile.am:
842 * cspi/bonobo/Makefile.am:
843 Add $(X_LIBS) to makefiles.
845 2002-04-15 Bill Haneman <bill.haneman@sun.com>
848 Revved version to 0.11.
850 * libspi/component.c:
851 Added implementation for grabFocus.
853 * idl/Accessibility_Component.idl
854 (Accessibility_Component_grabFocus):
855 Made this method return boolean to indicate success or failure, to
856 be consistent with cspi and the corresponding ATK method.
858 * idl/Accessibility_Selection.idl
859 (Accessibility_Selection_selectAll) :
860 Made these methods return boolean to indicate success or
861 failure, to be consistent with cspi and the corresponding ATK methods.
863 * idl/Accessibility_EditableText.idl
864 (Accessibility_EditableText_setTextContents,
865 Accessibility_EditableText_insertText,
866 Accessibility_EditableText_cutText,
867 Accessibility_EditableText_deleteText,
868 Accessibility_EditableText_pasteText):
869 Made these methods return boolean to indicate
872 * cspi/spi_editabletext.c:
873 Made these methods return booleans.
875 * libspi/selection.c:
876 * libspi/component.c:
877 * libspi/editabletext.c:
878 Connected the boolean returns from ATK
879 to the server-side code referenced above.
881 2002-04-14 Bill Haneman <bill.haneman@sun.com>
883 * idl/Accessibility_Table.idl: Added missing methods,
884 Accessibility_Table_addRowSelection,
885 Accessibility_Table_addColumnSelection,
886 Accessibility_Table_removeRowSelection,
887 Accessibility_Table_removeColumnSelection.
890 Added C wrappers for above IDL:
891 AccessibleTable_addRowSelection,
892 AccessibleTable_addColumnSelection,
893 AccessibleTable_removeRowSelection,
894 AccessibleTable_removeColumnSelection.
897 Added server-side implementation code for IDL above, connecting
898 to pre-existing ATK api.
900 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
902 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
904 * libspi/accessible.c: Added implementation fo
905 Accessibility_Accessible_get_state.
907 * libspi/libspi.h: Added stateset.h to the list of includes.
909 * libspi/stateset.c: Fixed broken implementation.
911 2002-04-13 Bill Haneman <bill.haneman@sun.com>
914 Added implementation code for Accessibility_Magnifier_exit ().
916 * util/mag_control.c:
917 Added test code for above method; you can
918 now kill an existing magnifier via
919 ./mag_control q, from the util directory.
921 * test/key-listener-test.c:
923 Added a new test, for our key listener API.
925 2002-04-11 Bill Haneman <bill.haneman@sun.com>
927 * test/app.c, test/keysynth-demo.c:
929 Replace use of snprintf with g_snprintf.
930 (fix for bugzilla 78249)
932 2002-03-27 Michael Meeks <michael@ximian.com>
936 * util/Makefile.am (INCLUDES): fix.
937 (DONT_DIST_SOURCE): don't distribute the
940 * libspi/Makefile.am (dist-hook): ditto.
942 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
944 * libspi/hypertext.c:
945 Fix warnings when yelp is used with atk-bridge
947 2002-03-21 Michael Meeks <michael@ximian.com>
949 * libspi/application.c (spi_application_new):
950 use spi_accessible_construct so we use the AtkObject
953 2002-03-19 Michael Meeks <michael@ximian.com>
955 * registryd/registry.c (desktop_remove_application),
956 (desktop_add_application): clean coding style.
958 * registryd/desktop.c (spi_desktop_remove_application),
959 (spi_desktop_add_application): kill re-enterency hazards.
960 (spi_desktop_dispose): remove bogus redundant cast
961 obscuring bug; fix bug too.
962 (spi_desktop_init): make the desktop object immortal.
964 2002-03-16 Bill Haneman <bill.haneman@sun.com>
967 Added a #define-guarded tree-traversal step
968 when enumerating the apps (diagnostic tool).
970 2002-03-15 Bill Haneman <bill.haneman@sun.com>
972 * idl/Accessibility_Role.idl:
973 Added ROLE_DRAWING_AREA which seemed to be missing from the
976 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
978 * cspi/spi-roletypes.h cspi/spi_accessible.c
979 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
982 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
983 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
984 AT when applications are added and removed from the desktop. This
985 reverts the previous broken implementation using the backing
986 AtkObject for the SpiDesktop.
988 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
990 * registryd/desktop.c: emit the "children-changed::add" and
991 "children-changed::remove" signals on the backing ATK object for
992 the desktop so AT can tell when applications are started and shut
995 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
997 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
999 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1001 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
1003 * cspi/spi_accessible.c: Implemented c bindings for stateset support
1005 * cspi/state-types.h: synched with IDL and ATK
1007 2002-03-13 Bill Haneman <bill.haneman@sun.com>
1009 * libspi/accessible.c
1010 (impl_accessibility_accessible_get_child_at_index):
1011 Change return value for g_return_if_fail ()
1012 to CORBA_OBJECT_NIL instead of "0" (!)
1014 * registryd/Makefile.am:
1015 * registryd/Accessibility_Register.server.in:
1016 Changed name of executable, "registryd",
1017 to something more informative:
1020 2002-03-13 Michael Meeks <michael@ximian.com>
1022 * atk-bridge/bridge.c (atk_bridge_init): don't register
1023 if we're in a bonobo-component, rather than a bonobo app.
1025 2002-03-13 Michael Meeks <michael@ximian.com>
1027 * atk-bridge/bridge.c (gtk_module_init): split
1028 out body to (atk_bridge_init): here, since otherwise
1029 we get symbol conflicts and oddness when invoked
1030 from (gnome_accessibility_module_init): here (upd.)
1032 2002-03-11 Bill Haneman <bill.haneman@sun.com>
1035 New file. Explicitly allow "build sheriff" putbacks provided
1036 they are tested on Solaris.
1038 * docs/reference/cspi/Makefile.am:
1039 Added '-' to the "cp" command for index.sgml.
1040 ("patch by thomasvs, soon coming to a GUADEC near you")
1043 Incremented version number (0.9.0) for new release.
1044 Changed macro that checks for popt, to better detect
1045 obsolete versions of popt.
1048 Added X_LIBS to AC_SUBST, for applications
1049 that call Xlib API directly.
1052 2002-03-07 Bill Haneman <bill.haneman@sun.com>
1055 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
1058 Fix regression caused by hard-coding major
1059 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
1062 * test/test-simple.c (test_editable_text),
1063 (test_test): revert previous change (error was
1064 a regression in gail which is now fixed).
1066 2002-03-04 Michael Meeks <michael@ximian.com>
1068 * test/test-simple.c (test_editable_text),
1069 (test_text): pass G_MAXINT instead of '-1' for
1070 whole string - is this a good thing !?
1072 * cspi/spi_accessible.c
1073 (Accessible_getRelationSet): fix crasher bug
1074 overwriting the end of the array.
1076 * test/test-simple.c (validate_accessible): free,
1077 not g_free returned relation set.
1079 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
1081 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
1082 implemented stateset support
1084 * idl/Accessibility_State.idl: Made necessary changes to
1085 the IDL to support state sets.
1087 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1089 * registryd/deviceeventcontroller.c:
1090 Added implementation for generateMouseEvent.
1092 * cspi/spi_registry.c:
1093 Connected new implementation for generateMouseEvent
1096 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1099 Incremented revision (but no change in public API
1100 outside of 'utils', which are not installed public yet.)
1102 * libspi/component.c:
1103 Changed to use atk_component API for layers and
1104 mdi_zorder, instead of deprecated atk_object API.
1106 Magnification Utility Enhancements:
1109 Added implementation of createZoomRegion, clearAllZoomRegions,
1110 resizeZoomRegion. Added new commandline argument
1111 "--no-initial-region". Note that clearAllZoomRegions doesn't
1112 unmap the old '0' region as it should (yet), and the other
1113 methods only work when creating/resizing a single region,
1114 which is "region 0".
1115 (Code for multiple region support will be added later.)
1118 Now we raise the magnifier window each time it's refreshed;
1119 this will help keep it on top.
1121 * util/mag_client.h:
1122 Added simple wrappers for above, used by mag_control.
1123 For general use, it's recommended to use the bonobo magnifier
1124 control API directly instead of using these wrappers.
1127 Moved ZoomRegionData from magnifier.c to this file.
1129 * util/mag_control.c:
1130 Added some code to exercise new IDL implementations.
1132 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
1134 * libspi/text.c: Provide implementation for getAttributes.
1136 2002-02-04 Bill Haneman <bill.haneman@sun.com>
1139 Incremented revision.
1141 * test/test-simple.c:
1142 Replaced use of deprecated g_main_iteration with
1143 g_main_context_iteration.
1145 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
1148 Incremented revision for desktop alpha 2.
1150 2002-01-28 Mark McLoughlin <mark@skynet.ie>
1152 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
1155 * test/simple-at.c: include netinet/in.h.
1157 2002-01-24 Mark McLoughlin <mark@skynet.ie>
1159 * cspi/spi_accessible.c: (Accessible_getRelationSet):
1160 use NULL, not CORBA_OBJECT_NIL.
1162 * libspi/accessible.c:
1163 (impl_accessibility_accessible_get_relation_set):
1164 allocate the sequence correctly.
1166 * libspi/remoteobject.h: kill spi_remote_object_new.
1168 * test/test-simple.c: (validate_accessible): add code
1169 to test relation sets, now all we need is to figure
1170 out how to excercise this code path :/
1172 2002-01-18 Michael Meeks <michael@ximian.com>
1174 * test/test-simple.c
1175 (key_listener_cb): consume the key.
1176 (test_keylisteners): update.
1177 (main): wait for any pending unrefs on events.
1179 * registryd/deviceeventcontroller.c
1180 (spi_controller_update_key_grabs): only re-issue the
1181 grab on a key release.
1182 (spi_device_event_controller_forward_key_event):
1183 refresh the keygrabs before we notify the listeners,
1184 to reduce the X ungrab / re-grab race.
1185 (spi_controller_register_with_devices): remove
1186 XSelectInput - we do that with the gdk_window_ call.
1187 (_spi_controller_device_error_handler): return a value.
1188 s/GDK_DISPLAY/spi_get_display/
1190 2002-01-17 Michael Meeks <michael@ximian.com>
1192 * registryd/deviceeventcontroller.c
1193 (_deregister_keygrab): don't blow out the later
1196 * test/test-simple.c (test_keylisteners): do a
1197 more intelligent validation.
1199 2002-01-14 Michael Meeks <michael@ximian.com>
1201 * atk-bridge/bridge.c
1202 (gnome_accessibility_module_init),
1203 (gnome_accessibility_module_shutdown): impl.
1204 (gtk_module_init): protect vs. double inits.
1205 (add_signal_listener): impl.
1206 (spi_atk_bridge_state_event_listener): kill
1207 (deregister_application): split out of
1208 (spi_atk_bridge_exit_func): here.
1210 2002-01-18 Bill Haneman <bill.haneman@sun.com>
1213 Added caret tracking when using magnifier, and
1214 now use text bounds for focus tracking of text elements, rather than
1215 the component bounds - this is helpful for short text fields in long
1216 table cells, at high magnification.
1218 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1220 * registryd/deviceeventcontroller.c:
1221 Regression fix for keylistener de-registration; global keygrabs
1222 were not being released when deregisterKeystrokeListener was
1223 called in cspi, since
1224 Accessibility_DeviceEventController_deregisterKeystrokeListener
1225 was called with a zero-length keyset. That is because the cspi
1226 method, SPI_deregisterKeystrokeListener, does not take a keyset
1227 parameter but instead should remove all the key grabs held be a
1229 The code in impl_deregister_keystroke_listener was changed to copy
1230 the keylist from the listener instance previously registered with
1231 the DeviceEventController before releasing the grabs.
1233 * registryd/registry.c:
1234 * registryd/deviceeventcontroller.c:
1235 * libspi/spi-private.h:
1237 Changed spelling of "re-enterant" to "re-entrant" globally.
1239 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1241 * test/test-simple.c:
1242 Changed key listeners test - the test was slightly mis-using the
1243 (admittedly poorly documented) SPI_generateKeyboardEvent API.
1244 It now uses '=' as the key event listened to and generated,
1245 relying on a keysym match rather than assuming that keycode 33
1246 is always equal to keysym '!'.
1248 2002-01-15 Bill Haneman <bill.haneman@sun.com>
1251 Changed simple-at to use a specific keyset, rather than
1252 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
1253 manager, desktop, etc.
1255 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1257 * registryd/deviceeventcontroller.c:
1258 Replaced standard X error handler with a special handler that
1259 is non-fatal for failed keygrabs. This works around
1260 problems with keygrab clashes sometimes observed on
1262 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
1263 mouse handling code as yet).
1265 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1268 Incremented revision for desktop alpha release.
1271 Fixed a couple of the more glaring errors (still not
1274 2002-01-11 Michael Meeks <michael@ximian.com>
1276 * registryd/deviceeventcontroller.c
1277 (spi_device_event_controller_forward_key_event): kill
1278 XUngrabKey / XKeyGrab race.
1279 (spi_controller_grab_keyboard): rename to
1280 (spi_controller_update_key_grabs): this, and deal
1281 with incremental adding / removing grabs more
1283 (_register_keygrab): ensure we're not pending a remove.
1284 (spi_grab_mask_free): impl.
1285 (spi_controller_register_global_keygrabs): split out
1287 (handle_keygrab): impl.
1288 (_deregister_keygrab): impl.
1289 (spi_controller_deregister_global_keygrabs): impl.
1290 (spi_controller_update_key_grabs): re-issue the grab if
1291 we just recieved a notification.
1293 * test/test-simple.c (key_listener_cb): remove debug.
1295 * registryd/deviceeventcontroller.c
1296 (spi_controller_register_device_listener): after
1297 registering a global keygrab, actualy register it !
1298 don't wait for a timeout; doh !
1300 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
1301 to make it more readable / manipulable.
1302 s/grabmask/grab_mask/ s/refcount/ref_count/
1303 s/keyval/key_val/ s/modmask/mod_mask
1305 2002-01-08 Michael Meeks <michael@ximian.com>
1307 * registryd/deviceeventcontroller.c
1308 (spi_controller_register_with_devices): use gdk calls to
1310 (global_filter_fn): implement the filter.
1311 (spi_device_event_controller_check_key_event): rename to
1312 (spi_device_event_controller_forward_key_event): this & upd.
1313 (spi_get_display): replace with GDK_DISPLAY.
1315 * registryd/deviceeventcontroller.c
1316 (spi_controller_deregister_device_listener): unroll into
1317 (impl_deregister_keystroke_listener): here to simplify.
1318 (spi_controller_register_global_keygrabs): split cut and
1319 paste (!) out into (_register_keygrab): here, shorter & sweeter.
1320 (spi_controller_deregister_device_listener): remove.
1321 (impl_register_mouse_listener): remove, no mouse listener
1322 support in at-spi-1.0
1324 * registryd/registry.c
1325 (_device_event_controller_hook): kill.
1326 (spi_registry_init): upd.
1328 * registryd/deviceeventcontroller.c
1329 (spi_device_event_controller_class_init): upd.
1330 (spi_check_key_event): merge into.
1331 (spi_device_event_controller_check_key_event):
1332 here and kill strange static ev init, don't leak
1333 the x_event - nor dynamicaly allocate it.
1335 * registryd/registry-main.c (main): re-direct
1336 timeout to remove strange vtable mess.
1338 * registryd/deviceeventcontroller.c
1339 (remove_listener_cb): impl.
1340 (spi_controller_deregister_device_listener):
1341 fix re-enterancy hazard.
1343 2002-01-07 Michael Meeks <michael@ximian.com>
1345 * registryd/deviceeventcontroller.c
1346 (spi_device_event_controller_new): upd.
1347 (impl_notify_listeners_sync): upd. debug.
1348 (spi_notify_keylisteners): fix re-enterancy hazards,
1349 prettify, remove O(n*n) iteration.
1350 (spi_controller_grab_keyboard): fix iteration.
1351 (spi_check_key_event): re-format to suit coding style.
1352 Clean all the warnings - we're warning free.
1354 * registryd/deviceeventcontroller.h:
1355 * registryd/registry.h: make mutualy referential with
1356 typesafe forward references instead of (!) void pointer
1359 2002-01-11 Michael Meeks <michael@ximian.com>
1361 * cspi/spi_accessible.c (role_names): add a role name
1362 to sync this array with the enum; and make the regression
1365 2002-01-10 Michael Meeks <michael@ximian.com>
1367 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
1368 allow expansion of enumeration & kill warning.
1370 * test/test-simple.c (key_listener_cb): impl.
1371 (test_keylisteners): impl.
1373 * cspi/spi-listener.h: make listener signatures const
1374 on the provided (const) events.
1376 * test/keysynth-demo.c: upd. to const events.
1378 * test/simple-at.c: ditto.
1380 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1383 Rev the version to 0.5 (the previous tarball was named 0.4,
1384 even though the micro number was 3), so we need to rev upwards
1385 again for beta2/"desktop-alpha"
1388 Checked in a demo script, which requires editing before use!
1389 Proceed with caution.
1392 Fixed typo in header which was redefining SPI_ACTION_CLASS.
1394 * cspi/spi_accessible.c:
1395 Add a couple of missing enum initializations, and fix some enum
1398 * cspi/spi_registry.c:
1399 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
1401 * docs/reference/cspi/at-spi-cspi-sections.txt:
1402 Remove/fix a couple of broken document references.
1405 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
1406 as Alt-Control to listen for commands, since on some systems
1407 Control-Alt may already be grabbed.
1409 2002-01-10 Bill Haneman <bill.haneman@sun.com>
1412 Update version number to 0.4 for Beta2.
1414 * libspi/accessible.c, libspi/accessible.h:
1415 Expose spi_accessible_construct, to enable libgail-gnome
1416 construction from spi_accessible subtype.
1418 * utils/magnifier.c:
1419 Workaround for bug in some non-gnome-compliant window managers
1420 which made magnifier resize improperly.
1422 2002-01-09 Bill Haneman <bill.haneman@sun.com>
1424 * libspi/accessible.c: (spi_accessible_new) :
1425 Move the test for SPI_IS_REMOTE_OBJECT to
1426 spi_accessible_new_return, fixing a bug and compile time warning.
1428 2002-01-08 Michael Meeks <michael@ximian.com>
1430 * registryd/registry.c (parse_event_type): remove strndup.
1432 * libspi/Makefile.am (libspi_la_SOURCES): remove
1433 sources already included in the headers section.
1435 * libspi/util.c: add.
1437 * libspi/spi-private.h: add.
1439 * registryd/registry.c: update to moved list iterators.
1441 2002-01-05 Michael Meeks <michael@ximian.com>
1443 * test/simple-at.c (main): upd. auto-module set to atk-bridge
1445 * test/test-simple.c (main): ditto.
1447 2002-01-04 Michael Meeks <michael@ximian.com>
1449 * libspi/accessible.c (spi_accessible_new): remove 2nd,
1450 redundant construct.
1452 * registryd/registry.c
1453 (get_listener_list): impl.
1454 (impl_accessibility_registry_register_global_event_listener):
1455 re-impl. to simplify using ~, remove dodgy const cast off.
1456 (parse_event_type): constify.
1457 (impl_accessibility_registry_deregister_global_event_listener_all):
1458 re-write, more efficiency and simplicity, kill re-enterancy
1460 (compare_listener_corbaref, compare_corba_objects),
1461 (compare_listener_quarks): define out.
1462 (impl_accessibility_registry_deregister_global_event_listener):
1463 re-write for effiency, and nail re-enterancy hazard.
1464 (impl_accessibility_registry_get_desktop_list): impl.
1465 (re_enterant_list_delete_link): impl.
1466 (re_enterant_list_foreach): impl.
1467 (remove_listener_cb): impl.
1468 (_registry_notify_listeners): kill.
1469 (notify_listeners_cb): impl.
1471 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
1472 (SPI_getDesktopList): impl.
1474 * test/test-simple.c (test_desktop): test the methods.
1476 2002-01-03 Michael Meeks <michael@ximian.com>
1478 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
1479 keystrings since we free them
1480 (SPI_freeAccessibleKeySet): in here.
1482 * libspi/accessible.c (spi_accessible_new): kill warning,
1483 wonder what is going on with the constructor here.
1485 2002-03-01 Bill Haneman <bill.haneman@sun.com>
1487 * libspi/accessible.c (spi_accessible_new ()) :
1488 Added check to see if AtkObject is an SpiRemoteObject before
1489 creating an SpiAccessible.
1491 2002-05-01 Bill Haneman <bill.haneman@sun.com>
1493 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
1494 Enable keygrabs using the Control modifier, now that they are
1495 working properly (they were previously disabled).
1498 Change the command keygrab for this demo to "Control+Alt", so as
1499 to conflict with fewer other key commands on the system; this
1500 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
1502 Removed a pointlessly-chatty keylistener for unshifted keys
1503 (shifted keys are still reported).
1505 2002-02-01 Bill Haneman <bill.haneman@sun.com>
1507 * libspi/remoteobject.h:
1508 * libspi/remoteobject.c:
1509 Added definitions for special AtkObject subtype, required for
1510 support of remote components (specifically, used by BonoboControl
1511 accessibility implementation).
1513 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
1515 * cspi/spi.h: synched relation types with ATK
1517 * cspi/spi_accessible.c: Added implementations of
1518 AcccessibleRelation_* methods
1520 * idl/Accessibility_Relation.idl: added getRelationTypeName
1521 method. Synched known relation types with ATK. Allowed for
1522 relation type extension with the RELATION_EXTENDED type.
1524 * libspi/relation.c: Provided implementations for
1525 AccessibleRelation methods.
1527 2002-01-01 Bill Haneman <bill.haneman@sun.com>
1529 API tweaks for today's API 'freeze'.
1532 Added placeholder functions to allow future compatible expansion
1533 of the IDL interfaces.
1535 * idl/Accessibility_Registry.idl:
1536 Changed generateKeyEvent to generateKeyboardEvent. Changed
1537 signature of this method to accept an optional keystring in
1538 parameter (for complex text input synthesis) and changed use of
1539 simple 'boolean' parameter in registerKeystrokeListener to a
1540 struct, EventListenerMode.
1542 * cspi/spi_accessible.c:
1544 * cspi/spi_streamablecontent.c:
1545 Added references to AccessibleStreamableContent interface, and
1546 definition and implementation of AccessibleStreamableContent
1549 * cspi/spi_registry.c:
1551 Changed generateKeyEvent API to generateKeyboardEvent,
1552 taking a new (optional) keystring parameter to support complex
1557 Renamed directory (to better reflect its actual purpose, bridging
1558 from at-spi to ATK). The .so module is also now named
1561 * idl/Accessibility_Hypertext.idl:
1562 * libspi/accessible.c:
1563 * libspi/hypertext.h:
1564 * libspi/hypertext.c:
1565 Changed Accessibility_Hypertext to *not* derive from
1568 * cspi/spi_registry.c:
1569 Added list of legal event type names for 'window' events, which
1570 completes the registry event API.
1572 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
1574 * at-bridge/bridge.c: Added registration for separate
1575 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
1576 signals. If either of the first two parameters to the generic
1577 bridge signal handler are ints, they are passed on as event
1578 details. This allows an AT to determine what text was inserted.
1580 2001-12-21 Bill Haneman <bill.haneman@sun.com>
1582 * registryd/deviceeventcontroller.c:
1583 Fixed regressions in generateKeyEvent caused by the removal of
1584 gdk_init from registryd; we now use pure X calls to connect to the
1585 display, which makes sense because deviceeventcontroller already
1586 uses a fair bit of X API (should eventually be migrated to a
1587 'portability layer').
1589 * registryd/desktop.c:
1590 Fixed minor regression in spi_desktop_init, changed the way the
1591 desktop name is being set to work with new spi_base API
1592 (gobject-based, rather than AtkObject-based).
1594 * registryd/Makefile.am:
1595 Minor revision of makefile to use XTST_LIBS variable rather than
1596 hard-wiring the Xtst LD_ADD element.
1598 * test/keysynth-demo.c:
1599 Tweaked an output message; added initialization of the
1600 'keystrings' member of the "switch listener" key_set.
1602 * libspi/relation.c:
1603 Squashed compile-time warning.
1605 * libspi/accessible.c:
1606 Cosmetic and formatting fixes, renamed a static method.
1608 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
1610 * libspi/accessible.c
1612 * libspi/application.c
1615 * libspi/component.c
1616 * libspi/editabletext.c
1617 * libspi/hyperlink.c
1618 * libspi/hypertext.c
1620 * libspi/selection.c
1624 * registryd/desktop.c:
1625 Changed SpiBase to contain a GObject pointer rather than an AtkObject
1627 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1629 * idl/Accessibility_Registry.idl:
1630 Added boolean member 'is_text' to DeviceEvent. This is for the
1631 use of key events, and helps prevent ambiguity between composed
1632 key strings and keysym names, since both may potentially be
1633 returned in the 'event_string' member.
1635 * at-bridge/bridge.c:
1636 * registryd/deviceeventcontroller.c:
1637 Use the 'is_text' member when notifying device event listeners.
1638 Knon issue: composed characters are not dealt with correctly by
1639 the global key listener implementation yet.
1641 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1643 * at-bridge/bridge.c:
1644 Namespaced local static methods to spi_atk_bridge_* where
1645 previously named bridge_*, and spi_* elsewhere.
1647 * at-bridge/bridge.c:
1648 * cspi/bonobo/cspi-bonobo-listener.c:
1649 Added demarshalling/conversion for string member of
1650 Accessibility_DeviceEvent to AccessibleKeystroke.
1652 * registryd/deviceeventcontroller.c:
1653 Added code to fill the Accessibility_DeviceEvent key string value
1654 member for global key events (i.e. from XGrabKey), to match
1655 behavior of Accessibility_DeviceEvent from the toolkit key events
1656 from the bridge. Fixed timestamp in global key event notifications.
1659 Added printout of key event's string value to
1660 report_ordinary_key_event, for demo/debugging purposes.
1662 2001-12-15 Bill Haneman <bill.haneman@sun.com>
1664 * idl/Accessibility_Registry.idl:
1665 Removed Accessibility_KeyStroke structure in favor of generic
1666 Accessibility_DeviceEvent structure.
1667 Changed Accessibility_ControllerEventMask from a struct to an
1670 * at-bridge/bridge.c:
1671 Changed APIs to use DeviceEvent structure as above, and removed
1672 bogus casting between these event structures.
1674 * cspi/spi-listener.h:
1675 Added keystring member of AccessibleKeystroke structure, to enable
1676 matching on event "names" rather than only hardware codes and
1680 Added keystrings member of AccessibleKeySet struct, to allow
1681 matching on event names (as above).
1682 Added declarations for SPI_createAccessibleKeySet and
1683 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
1684 event modmasks directly as unsigned ints rather than structs with
1685 refcounts, in the DeviceEventController methods.
1687 * cspi/spi_registry.c:
1688 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
1690 * cspi/spi-roletypes.h:
1691 Added documentation of newly added SPI Roles.
1693 * cspi/bonobo/cspi-bonobo-listener.c:
1694 Changes in support of API changes above.
1696 * libspi/accessible.c:
1697 Converted APIs to use DeviceEvent structure (see IDL changes
1700 * registryd/deviceeventcontroller.c:
1701 Added DEControllerGrabMask structure to track keygrabs not only by
1702 modmask but by keyset as well; this allows us to do "global"
1703 (i.e. X) keygrabs on a per-key or keyset basis rather than always
1704 grabbing on AnyKey and then filtering after-the-fact.
1705 Bugfixes for event filtration mean that we don't get false matches
1706 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
1708 * registryd/deviceeventcontroller.c:
1709 Namespaced a number of static methods to use spi_ prefix. Major
1710 revision to internals of global (i.e. X) key grabs.
1712 * registryd/deviceeventcontroller.h:
1713 Removed keymask_list and added keygrabs_list to
1714 SpiDeviceEventController struct.
1717 Added use of SPI_createAccessibleKeySet API when creating a
1718 listener for only one key. Attach a listener to "shift spacebar
1719 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
1720 X key event names to SPI key event names, so that listeners are
1721 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
1723 * test/keysynth-demo.c:
1724 Changed (incorrect) use of X key event names (KeyPressed,
1725 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
1728 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1730 * libspi/accessible.c:
1731 Convert all AtkRole enumerations to Accessibility_Role enums when
1732 getting a role from an AtkObject.
1734 * cspi/spi_accessible.c:
1735 Complete the conversion of Accessibility_Role enums at runtime to
1736 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
1737 role enums correctly match those given in spi-roletypes.h.
1738 Re-synchronize the local names list for AccessibleRole_getName ().
1739 AccessibleRole_getName is now deprecated, since it duplicates the
1740 more reliable Accessible_getRoleName.
1741 Added some role types from Accessibility_Role.idl.
1743 * idl/Accessibility_Role.idl:
1744 Added some role types used by AtkRole.
1746 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1749 * cspi/spi_registry.c:
1751 * cspi/cspi-bonobo-listener.c:
1752 Namespaced all methods that did not begin with an "SPI_" or
1753 "Accessible" prefix to "SPI_".
1756 Homogenized internal function namespace to "cspi_" for statics.
1759 Patched tests to use the new CSPI API.
1761 * docs/reference/cspi/at-spi-cspi-sections.txt:
1762 Updated docs to reflect namespace changes, and added a number of
1763 methods to the documentation.
1765 * registryd/registry.c:
1766 Changed use of strings and string hashes in listener event
1767 matching and parse_event_string to use GQuark, which is guaranteed
1770 * registryd/registry.h:
1771 Squashed annoying warning.
1773 * idl/Accessibility_Role.idl:
1774 Extended range of available Accessibility_Role values.
1776 * cspi/spi_accessible.c:
1777 Re-ordered role names.
1779 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1781 * idl/Accessibility_Value.idl:
1782 Revert use of union back to CORBA_double, since the double type is
1783 more efficient and can contain the other types without loss of
1786 * idl/Accessibility_Accessible.idl:
1787 Added method Accessibility:Accessible:getRoleName, to complement
1788 Accessibility:Accessible:getRole.
1790 * cspi/spi_accessible.c:
1792 Added C binding for above, Accessible_getRoleName (), and changed
1793 signature of Accessible_getRole () to return an AccessibleRole.
1795 * cspi/spi-roletypes.h:
1796 Changed AccessibleRole_getName to return a char * instead of a
1797 const char *. This method is now at least temporarily deprecated
1798 in favor of asking Accessibles for their RoleNames directly.
1801 Revert to match Accessibility_Value.idl;
1805 Change signature of AccessibleValue methods to use double rather
1809 * cspi/spi_accessible.c:
1810 Changed Accessible_getRole to return an AccessibleRole enum rather
1811 than a UTF-8 string. The UTF-8 string can still be obtained via
1812 AccessibleRole_getName ().
1814 * test/test-simple.c:
1815 Add test_action. Small fixup to match API change to Accessible_getRole.
1818 Bugfix for get_action_from_servant ().
1820 2001-12-11 Michael Meeks <michael@ximian.com>
1822 * libspi/libspi.h: remove registry.h and
1823 desktop.h, deviceeventcontroller.h
1825 * libspi/Makefile.am: remove registry.[ch],
1826 desktop.[ch], deviceeventcontroller.[ch]
1828 * registryd/Makefile.am: add registry.[ch],
1829 desktop.[ch], rename registryd.c to registry-main.c.
1830 add deviceeventcontroller.[ch]
1832 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1835 Replace setenv() call with putenv ().
1837 * libspi/component.c:
1838 Bugfix in AccessibleComponent_getExtents (),
1841 2001-12-11 Michael Meeks <michael@ximian.com>
1843 * libspi/image.c (impl_getImageExtents): impl.
1844 (spi_image_class_init): upd.
1847 (AccessibleImage_getImageDescription): fix daft bug
1850 * test/test-simple.c (global_listener_cb): update
1851 to only quit if not --poke
1852 (main): catch --poke.
1853 (validate_accessible): upd. dumping, call test_image
1856 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1859 * idl/Accessibility.idl: update all IDL includes.
1861 * idl/*.idl - rename to namespace - this sucks, blame
1862 mjs' bad decision for oafd.
1864 * test/test-simple.c (create_test_window): add more tests.
1865 (create_tree): split this out.
1866 (validate_accessible): bugfix.
1868 2001-12-11 Michael Meeks <michael@ximian.com>
1870 * cspi/bonobo/cspi-bonobo-listener.c:
1871 (cspi_kestroke_listener_unref),
1872 (cspi_event_listener_unref): impl. undoing previous
1873 homenous environment - for Bill.
1875 * cspi/spi_table.c (long_seq_to_array): use
1878 * cspi/spi_main.c: split out all bonoboish bits into
1881 * cspi/spi-impl.h: upd. typedefs.
1883 * cspi/spi_registry.c: update to lowlevel API,
1884 return booleans to indicate success in some places.
1886 * cspi/spi_event.c: update to lowlevel API.
1888 * cspi/bonobo/Makefile.am: add.
1890 * cspi/bonobo/cspi-lowlevel.h: add
1892 * cspi/bonobo/cspi-bonobo.c: add
1894 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1896 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1897 (SUBDIRS): add bonobo, link in the libs.
1899 * cspi/spi-util.c: kill this file.
1901 * TODO: merge in my bits.
1903 2001-12-11 Michael Meeks <michael@ximian.com>
1905 * test/test-simple.c (test_value, test_table, main):
1906 remove unused variables causing warnings.
1908 * configure.in: cleanup checks - require gail.
1910 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1913 Changed Value interface to use SValue (scalars) rather than
1914 assuming all values are floats. This allows floats, doubles,
1915 longs, shorts, and unsigned values to be manipulated.
1916 Introduced Accessibility:SValue union.
1919 Updated to use new API above, and to work correctly with GValues
1920 of different types in AtkValue.
1923 Updated to use new API above. cspi's API is as yet unchanged.
1926 Updated the Value revision action item.
1928 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1930 * test/test-simple.c:
1931 Added test_table (GtkTreeView widget in test window to follow).
1932 Un-commented test_value, added GtkRange widget.
1933 Added GtkTreeView widget with GtkListStore. It passes regression
1934 test but leaks one SPI object for some reason.
1937 Fixed bug in impl__set_currentValue.
1939 2001-12-10 Michael Meeks <michael@ximian.com>
1941 * cspi/spi_text.c: audit for exception handling,
1942 tolerating NULL object references safely etc.
1944 * cspi/spi_value.c: ditto.
1946 * cspi/spi_table.c (AccessibleTable_getSummary),
1947 (AccessibleTable_getAccessibleAt),
1948 (AccessibleTable_getRowHeader),
1949 (AccessibleTable_getColumnHeader),
1950 (AccessibleTable_getCaption): fix bugs hidden by
1952 (long_seq_to_array): impl.
1953 (AccessibleTable_getSelectedRows),
1954 (AccessibleTable_getSelectedColumns): use it.
1956 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1959 Added a TODO list (rough and short for now).
1961 * cspi/spi_hyperlink.c:
1962 * cspi/spi_hypertext.c:
1963 Fixed macro name typos, and remove use of obsolete macro in
1964 AccessibleHyperlink_getLink.
1966 * cspi/spi_action.c:
1967 * cspi/spi_accessible.c:
1968 * cspi/spi_application.c:
1969 * cspi/spi_component.c:
1970 * cspi/spi_selection.c:
1973 Documentation fixes (removed return values from ref/unref methods).
1975 2001-12-10 Michael Meeks <michael@ximian.com>
1977 * cspi/spi_action.c: audit for exception handling,
1978 tolerating NULL object references safely etc.
1980 * cspi/spi_accessible.c: ditto.
1982 * cspi/spi_component.c: ditto.
1984 * cspi/spi_editabletext.c: ditto.
1986 * cspi/spi_hyperlink.c: ditto.
1988 * cspi/spi_hypertext.c: ditto.
1990 * cspi/spi_image.c: ditto.
1992 * cspi/spi_selection.c: ditto.
1994 2001-12-10 Michael Meeks <michael@ximian.com>
1996 * configure.in: use cspi/libspi.pc.in instead.
1998 * Makefile.am (pkgconfig_DATA): upd. to match.
2000 * test/simple-at.c (report_focus_event): kill hacks around
2001 bad return values, use putenv not setenv
2003 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
2004 fire ChildGone - I killed it.
2006 * libspi/component.c
2007 (impl_accessibility_component_get_extents): remove
2010 * idl/Accessible.idl: kill ChildGone exception.
2012 * cspi/*.[ch]: kill int return from ref / unref.
2014 * cspi/spi_main.c (cspi_object_add_check): fold into
2015 (cspi_object_add): here.
2017 * cspi/spi_component.c (AccessibleComponent_getExtents):
2018 handle exceptions elegantly.
2020 * cspi/spi-private.h (cspi_check_ev_return),
2021 (cspi_return_if_fail): impl.
2023 * cspi/spi_accessible.c: use extensively.
2024 (AccessibleStateSet_equals): add direct compare check.
2026 * cspi/spi_selection.c: tolerate NULL objs, and check
2027 exceptions before return.
2029 * cspi/spi-util.c (cspi_warn_ev): rename to
2030 (cspi_check_ev): this & don't pass ev in; no point.
2032 2001-12-10 Michael Meeks <michael@ximian.com>
2034 * test/test-simple.c: use putenv not setenv
2035 (get_environment_vars): more chatty if you're not using
2038 * test/simple-at.c: do the setenv so more people see the
2041 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2043 * libspi/registry.c:
2044 Changed check of CORBA_environment on notification to be a warning
2045 instead of an error for the moment, since we can recover from this
2046 error when caused by a queued notification from a dead app.
2049 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
2050 used by all current implementors of AtkValue), and coerce to
2051 CORBA_float. (Proper general case fix may require change to Value.idl).
2053 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2057 * cspi/spi_accessible.c:
2058 Documentation fixes: added user_data params to documentation for
2059 listeners and callbacks.
2061 * cspi/spi_accessible.c:
2062 Changed AccessibleStateSet_compare to return a
2063 StateSet rather than return the difference set into a third parameter.
2066 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2069 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
2070 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
2074 Remove subdirectory po from SUBDIRS for now.
2076 * at-bridge/bridge.c:
2077 Beefed up a couple of debug printouts.
2078 One-line fix for signal notification name formatting.
2080 * libspi/accessible.c:
2081 Added assertion to spi_accessible_new ().
2083 * libspi/application.c:
2084 Put #ifdef qualifiers around a printf.
2087 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
2089 * registryd/Makefile.am:
2091 Replaces use of XML_I18N_MERGE_SERVER_RULE with
2092 INTLTOOL_SERVER_RULE macro.
2095 Added an event listener for several ATK signals, for
2096 testing and debugging. Removed a few g_warnings.
2097 Added test output if focussed item implements the Value interface.
2099 * test/test-simple.c:
2100 Added test_value () function (known not to pass at the moment, so
2101 not actually called yet.
2103 2001-12-08 Michael Meeks <michael@ximian.com>
2105 * at-bridge/bridge.c (bridge_focus_tracker),
2106 (emit_eventv): fix the same ref. leak.
2107 (register_atk_event_listeners): don't leak.
2109 * cspi/spi-listener-impl.c (cspi_event): more
2110 protection from client code.
2112 * test/test-simple.c (test_desktop): unref the app.
2114 * test/Makefile.am: upd. TESTS.
2116 * at-bridge/bridge.c (bridge_exit_func): release the registry.
2118 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
2120 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
2122 * cspi/spi_registry.c: constify in strings.
2123 (deregisterGlobalEventListenerAll): don't release the ref.
2125 * cspi/spi.h: start removing redundant / conflicting
2126 gtkdoc comments, making the API readable at a glance :-)
2128 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
2130 * test/keysynth-demo.c (keysynth_exit, main): upd.
2132 * test/simple-at.c (main, simple_at_exit): upd.
2134 * test/test-simple.c (unutterable_horror): kill.
2135 (utterable_normal_derefs): kill.
2136 (main): upd & do a setenv before gtk_init, so that we
2137 can use memprof - and to save the pain of remembering
2138 this, if we're running under memprof - don't exit.
2140 * cspi/spi_main.c (SPI_exit): return exit status
2142 (SPI_event_quit): impl.
2143 (SPI_event_main): simplify.
2144 (cspi_is_gnome_app): kill.
2145 (SPI_init): kill isGNOMEapp arg.
2147 * at-bridge/bridge.c (register_atk_event_listeners):
2148 re-instate the unref.
2149 (bridge_exit_func): don't re-activate the registry,
2150 protect vs. theoretical re-entry, use the
2151 AT_BRIDGE_SHUTDOWN env. var to determine whether to
2152 assert a clean shutdown - for regression tests.
2154 2001-12-08 Abel Cheung <maddog@linux.org.hk>
2156 * configure.in: Comment out dummy i18n support for now,
2157 otherwise it fails to build.
2158 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
2159 EXTRA_DIST. They are missing in tarball.
2161 2001-12-07 Michael Meeks <michael@ximian.com>
2163 * util/magnifier.c: kill bonobo activation reg. race.
2165 * libspi/component.c
2166 (impl_accessibility_component_get_extents): make it match
2169 * libspi/registry.c (_registry_notify_listeners):
2170 re-remove X headers & reconcile conflicts.
2171 (spi_listener_struct_free): bad conflict resolve.
2172 (impl_accessibility_registry_register_application):
2173 more bad merging fixed.
2174 (impl_accessibility_registry_deregister_application): ditto.
2175 (spi_registry_new): ditto.
2176 (spi_registry_init): don't have an applications field.
2178 [ merge fixups2 branch to here ]
2179 2001-12-07 Michael Meeks <michael@ximian.com>
2181 * test/simple-at.c (report_focus_event),
2182 (report_focussed_accessible): remove g_warning debug.
2184 2001-12-07 Michael Meeks <michael@ximian.com>
2186 * test/test-simple.c (validate_tree): comment out some checks.
2187 (test_desktop): app now not registered idly - horay.
2189 2001-12-07 Michael Meeks <michael@ximian.com>
2191 * cspi/spi_registry.c
2192 (registerAccessibleKeystrokeListener): clean, stop it leaking
2193 great swathes of memory, and device event controller references.
2194 ensure we always pass valid sequences.
2195 (deregisterAccessibleKeystrokeListener): ditto.
2196 (generateKeyEvent): upd.
2198 * at-bridge/bridge.c (bridge_key_listener): handle
2199 registry dead exception gracefully.
2200 (bridge_focus_tracker, emit_eventv): free ev.
2202 * test/simple-at.c (report_focus_event): fix polarity.
2204 * libspi/application.c (notify_listeners): kill the ev
2205 argument, and make sure we init the ev we use.
2206 (spi_application_object_event_listener): split out a chunk
2207 (get_atk_object_ref): here & fixup.
2208 (reverse_lookup_name_for_toolkit_event): make const.
2209 (spi_application_toolkit_event_listener): fixup, kill leaks
2212 * at-bridge/bridge.c (register_atk_event_listeners):
2213 don't unref the noop object - causes grief.
2215 * libspi/registry.c: remove the X headers.
2216 turn off the debug churn.
2218 * libspi/accessible.c (spi_accessible_new_return): only
2219 release the ref if we are supposed to [doh]
2221 * test/simple-at.c (report_button_press, report_focus_event):
2222 guard vs. unexpected exit.
2224 * at-bridge/bridge.c (gtk_module_init): prune printf.
2225 (bridge_exit_func): fix app unref.
2227 * libspi/Makefile.am: don't install registry or desktop.h
2229 * libspi/*.h: update includes.
2231 * libspi/application.h: don't include ourself, or
2232 other redundant headers.
2234 2001-12-06 Michael Meeks <michael@ximian.com>
2236 * libspi/accessible.c
2237 (get_accessible_from_servant): impl.
2238 Upd. all CORBA impl.s to use it killing cut and paste.
2240 * cspi/spi_main.c (cspi_cleanup): guard vs. double
2242 (SPI_init): register atexit cleanup handler here.
2244 2001-12-06 Michael Meeks <michael@ximian.com>
2246 * at-bridge/bridge.c (gtk_module_init): g_error on
2247 activation exception
2249 2001-12-06 Michael Meeks <michael@ximian.com>
2251 * at-bridge/bridge.c (gtk_module_init): some sort of
2252 confusing merge clash - reverted.
2253 (bridge_idle_init): ditto.
2255 * test/test-simple.c (main, utterable_normal_derefs):
2256 merge from Bill - somehow not committed.
2258 2001-12-06 Michael Meeks <michael@ximian.com>
2260 * libspi/value.c (spi_value_class_init): upd.
2261 (spi_value_finalize): kill.
2263 * libspi/table.c (spi_table_finalize): kill.
2264 (spi_table_interface_new): upd.
2265 (spi_table_class_init): upd.
2266 (get_table_from_servant): impl.
2267 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2269 * libspi/selection.c (spi_selection_finalize): kill.
2270 (spi_selection_interface_new): upd.
2271 (spi_selection_class_init): upd.
2272 (get_selection_from_servant): impl.
2273 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2275 * libspi/relation.c (spi_relation_finalize): kill.
2276 (spi_relation_class_init, spi_relation_new): upd
2278 * libspi/image.c (spi_image_finalize): kill.
2279 (spi_image_class_init): upd.
2280 (spi_image_interface_new): upd.
2281 (get_image_from_servant): impl.
2282 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2284 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
2285 (spi_hyperlink_finalize): kill.
2286 (spi_hyperlink_new): upd.
2287 (get_hyperlink_from_servant): impl.
2288 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2290 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
2291 (spi_hypertext_finalize): kill.
2292 (spi_hypertext_class_init): upd.
2293 (get_hypertext_from_servant): impl.
2294 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2296 * libspi/editabletext.c (spi_editable_text_finalize): kill.
2297 (spi_editable_text_interface_new): upd.
2298 (get_editable_text_from_servant): impl.
2299 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2301 * libspi/text.c (get_text_from_servant): impl.
2302 All impls - update to use it killing more cut and paste,
2303 also fix bad string returns on duff args ( a somewhat
2304 impossible case to handle - but hey ).
2305 (spi_text_construct): impl.
2306 (spi_text_interface_new): upd.
2307 (spi_text_object_finalize): kill.
2309 * libspi/component.c
2310 (accessibility_component_object_finalize): kill.
2311 (spi_component_class_init): upd.
2312 (get_component_from_servant): impl. helper to kill cut & paste.
2313 (impl_accessibility_component_contains):
2314 (impl_accessibility_component_get_accessible_at_point):
2315 (impl_accessibility_component_get_position):
2316 (impl_accessibility_component_get_extents):
2317 (impl_accessibility_component_get_mdi_z_order):
2318 (impl_accessibility_component_get_layer):
2319 (spi_component_interface_new): upd.
2321 * libspi/action.c (spi_action_finalize): kill.
2322 (spi_action_class_init): upd. inherit from SpiObject.
2323 (spi_action_interface_new): upd.
2324 (get_action_from_servant): impl. helper to reduce cut & paste.
2325 (impl_getKeyBinding, impl_getName, impl_doAction),
2326 (impl_getDescription): Use it everywhere.
2328 * cspi/spi_main.c (get_live_refs): a pointer hash.
2329 (spi_object_hash, spi_object_equal): comment out.
2330 There are issues with CORBA object hashing that need
2333 * libspi/application.c (spi_application_init),
2334 (spi_application_new): upd.
2336 * libspi/accessible.c (spi_accessible_object_finalize): kill.
2337 (spi_accessible_class_init): upd.
2338 s/accessible/object/ in epv methods.
2340 2001-12-05 Bill Haneman <bill.haneman@sun.com>
2342 * at-bridge/bridge.c:
2343 Reorder the bridge initialization into the bridge gtk_module_init,
2344 an immediate call to bridge_register_app, and an idle_add for
2345 register_atk_event_listeners (the only code that *must* wait until
2346 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
2347 the activation, creates the application's Accessible object, and
2348 queues the bridge_idle_init function. Restored call to
2349 Accessibility_Registry_deregisterApplication().
2350 Prior to making this call we obtain a new reference to the
2351 registry, which is a temporary hack that helps us handle apps that
2352 shut down the bonobo mainloop before we get there.
2354 * libspi/registry.c:
2355 Fix string leakage in debug block, and don't segv if a an app
2356 dies before its event notifications have been propagated.
2359 Modify cspi_check_ev() to call g_warning() rather than g_error(),
2360 as stopgap measure until we get proper exception handling when
2361 objects die during or before interrogation.
2365 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
2366 Also changed default value of is_gnome_app to TRUE.
2369 * test/keysynth-demo.c:
2370 Changed use of SPI_init and SPI_event_main to reflect API change above.
2373 Made report_focus_event check the warning value from getName
2374 before reporting on focussed accessible; simplifies handling of
2375 notifications from dead objects.
2377 * test/test-simple.c: (Changes not in this patch since source is
2380 2001-12-05 Michael Meeks <michael@ximian.com>
2382 * registryd/registryd.c (main): protect against
2383 bonobo-activation startup race condition.
2385 * cspi/spi_main.c (cspi_object_add_check): cope
2386 with the exception elegantly.
2388 * idl/Accessible.idl: decl. ChildGone
2390 * libspi/desktop.c (spi_desktop_dispose): impl.
2391 (spi_desktop_class_init): upd.
2392 (spi_desktop_add_application),
2393 (spi_desktop_remove_application),
2394 (abnormal_application_termination): impl.
2395 (impl_desktop_get_child_at_index): re-impl.
2398 (impl_accessibility_registry_deregister_application),
2399 (impl_accessibility_registry_register_application):
2400 kill excessive debug clutter.
2402 * test/test-simple.c (test_misc): test some NULL
2403 tolerance. (main): upd.
2405 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
2406 implements no interfaces - so let's not crash.
2408 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
2410 * libspi/accessible.c (spi_accessible_new_return): impl.
2411 helper to calm the cut and paste, to cope with
2412 NULL AtkObjects effectively and efficiently, and to kill
2413 the referencing bugs.
2415 * libspi/table.c (impl_getAccessibleAt),
2416 (impl_getRowHeader, impl_getColumnHeader): upd.
2418 * libspi/hyperlink.c (impl_getObject): upd.
2420 * libspi/accessible.c
2421 (impl_accessibility_accessible_get_child_at_index): upd.
2423 * libspi/component.c
2424 (impl_accessibility_component_get_accessible_at_point): upd.
2426 * test/test-simple.c (test_editable_text, test_text): impl.
2429 * cspi/spi_editabletext.c
2430 (AccessibleEditableText_insertText): constify.
2432 * test/test-simple.c (focus_me): make more robust.
2434 * libspi/accessible.c: remove some printfs in methods that
2435 we test and work fine, so we can get a clean tree dump.
2437 * test/test-simple.c (validate_accessible),
2438 (validate_tree): make tree dumping pretty too.
2440 * at-bridge/bridge.c (bridge_signal_listener): upd. so
2441 it builds without debug on.
2443 * test/test-simple.c (validate_accessible): fix the most
2446 * cspi/spi_main.c (spi_object_release): leave the nicely
2447 blanked memory around if in debug mode.
2449 * cspi/spi-listener-impl.c (cspi_event): use add_check.
2451 [committed to fixups2]
2452 2001-12-05 Michael Meeks <michael@ximian.com>
2454 * libspi/editabletext.c
2455 (spi_editable_text_class_init): g_type_class_peek_parent,
2456 not interface peek - so we finalize cleanly.
2458 * libspi/accessible.c (spi_accessible_new): kill debug.
2460 * test/test-simple.c (validate_accessible): fix ref.
2461 leak, print strings before freeing them; sigh, comment a
2462 chunk out due to strangeness.
2463 (validate_tree): unref the child after use.
2465 * cspi/spi_component.c (AccessibleComponent_getLayer):
2466 add missing break statement, switch on zlayer not the
2467 uninitialized retval.
2469 * cspi/spi_main.c (cspi_object_add): add assert, local ref
2470 before (possibly re-entering) remote unref.
2472 * test/simple-at.c (main): unref the desktop.
2474 * cspi/spi_accessible.c (cspi_accessible_is_a): move
2477 * cspi/spi_main.c (cspi_accessible_is_a): here to
2478 isolate bonobo API usage more.
2480 * libspi/registry.c (impl_accessibility_registry_register_application):
2481 prune bogus comment.
2483 2001-12-04 Michael Meeks <michael@ximian.com>
2485 * test/test-simple.c (validate_tree): upd.
2486 IndexInParent check to make it more lucid.
2487 (validate_accessible): dump the tree.
2489 * libspi/accessible.c (de_register_public_ref),
2490 (get_public_refs): impl.
2491 (spi_accessible_new): make more efficient & intuitive.
2492 Now IndexInParent check works.
2494 2001-12-04 Michael Meeks <michael@ximian.com>
2496 * cspi/spi-util.h: remove.
2498 * cspi/spi.h: move SPI_freeString here
2500 * libspi/component.c (impl_accessibility_component_get_layer):
2502 (impl_accessibility_component_get_mdi_z_order): ditto,
2503 return -1 on error - is this ok ?
2505 * test/test-simple.c (test_application): impl.
2507 * cspi/spi_accessible.c (Accessible_getApplication),
2508 (Accessible_isApplication): impl.
2510 * libspi/registry.c (spi_listener_struct_free): release
2511 the CORBA reference too.
2513 * libspi/accessible.c
2514 (impl_accessibility_accessible_get_parent): fix ref leak.
2516 * libspi/registry.c (spi_registry_new): make the registry
2517 immortal - we don't want it to go away ever.
2519 * libspi/application.c
2520 (spi_accessible_application_finalize): impl. cleanup.
2522 * cspi/spi_registry.c
2523 (deregisterGlobalEventListenerAll),
2524 (deregisterGlobalEventListener),
2525 (deregisterAccessibleKeystrokeListener): fix ref leak.
2527 * cspi/spi_main.c (SPI_init): remove redundant ref.
2529 * test/test-simple.c (unutterable_horror): impl. to force a
2534 (impl_accessibility_registry_deregister_application): release
2535 the application when we de-register it.
2537 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
2538 until we have the infastructure to get it right.
2540 2001-12-03 Michael Meeks <michael@ximian.com>
2542 * libspi/Makefile.am: only build eventlistener.[ch]
2544 * libspi/accessible.c
2545 (impl_accessibility_accessible_get_child_at_index): don't leak.
2547 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
2548 before we hit the idle handler.
2550 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
2551 debugging than exit.
2553 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
2555 * libspi/listener.c (impl_notify_event): check source
2556 not NIL before unref.
2558 * libspi/registry.c (impl_registry_notify_event): ditto.
2560 * libspi/eventlistener.c
2561 (impl_accessible_event_notify_event): unref the source.
2563 * libspi/accessibleeventlistener.c
2564 (impl_accessible_event_notify_event): unref the source.
2566 * idl/Event.idl: remove 'hash_id' attribute - of no
2569 * libspi/application.c (notify_listeners): upd list
2571 (spi_application_object_event_listener),
2572 (spi_application_toolkit_event_listener): upd to do correct
2576 (_registry_notify_listeners): update.
2577 (parse_event_type): this method also leaks like a sieve.
2578 (impl_accessibility_registry_deregister_global_event_listener):
2579 fix ETYPE_WINDOW case.
2581 * libspi/application.c
2582 (impl_accessibility_application_register_object_event_listener):
2585 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
2587 * libspi/hypertext.c (impl_getLink): ditto.
2589 * cspi/spi_main.c (cspi_object_add): remove
2590 bogus CORBA_Object_duplicate.
2592 * cspi/spi-listener-impl.c (cspi_event): dup/ref
2595 * cspi/spi_accessible.c
2596 (Accessible_getRelationSet): fix leak / referencing issue.
2598 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
2599 (cspi_object_add, cspi_object_unref): upd.
2600 (spi_object_release, get_live_refs): impl.
2601 (cspi_cleanup): simplify.
2603 * *.[ch]: s/boolean/SpiBoolean/
2605 * cspi/spi_accessible.c (role_names): actualy order so it
2606 corresponds with the enum !
2608 * test/test-simple.c (test_roles): check some role strings
2609 vs. enums to detect offset errors.
2611 2001-12-01 Michael Meeks <michael@ximian.com>
2613 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
2615 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
2617 (Accessible_getChildAtIndex): use cspi_add_check so we
2618 check the ev before using a (possibly) invalid value.
2620 * libspi/accessible.c
2621 (impl_accessibility_accessible_get_parent): don't segv
2624 * at-bridge/bridge.c (gtk_module_init): upd.
2625 (bridge_property_event_listener): don't leak strings
2627 (bridge_state_event_listener),
2628 (bridge_property_event_listener): don't use a static
2629 buffer in case of recursive event emission &
2630 re-enterancy - split out the swathe of cut and paste
2632 (emit_eventv): and fix 2 ref leaks here & comply to the
2634 (bridge_register_app): rename to
2635 (bridge_idle_init): this and kill arg parsing, split
2636 various inits & bonobo-activation registration to module
2637 init time, kill referencing error.
2638 (bridge_exit_func): fix the same leak.
2639 (bridge_focus_tracker): don't leak event structures
2641 (bridge_signal_listener): more leakage and cut & paste
2643 (bridge_key_listener): return the result - FIXME is
2644 this polarity correct ?
2645 (accessibility_keystroke_from_atk_key_event): rename
2646 (accessibility_init_keystroke_from_atk_key_event): and stop
2648 (gtk_module_init): return a value - not that it is checked by
2650 (bridge_key_listener): register my horror at casting between
2651 IDL defined structs.
2652 (bridge_get_registry): kill - not used.
2654 * cspi/spi_accessible.c (Accessible_getRole): make return const.
2656 * test/test-simple.c (test_roles): impl.
2657 (test_desktop, validate_accessible, validate_tree): impl.
2659 * cspi/spi_accessible.c (role_names): fixup bogus
2660 MAX_ROLES setup, make constants const for efficient linkage
2661 (AccessibleRole_getName): conform to coding style, make
2664 2001-11-30 Michael Meeks <michael@ximian.com>
2666 * cspi/spi.h: add missing prototype.
2668 * libspi/registry.c (spi_listener_struct_new): fix sig.
2670 * test/Makefile.am: add test-simple
2672 * test/test-simple.c: add
2674 * test/test.sh: add.
2676 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
2678 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
2679 do it straight - since otherwise we often get an activation race.
2681 [ work before Bill duplicated a chunk of it ... ]
2682 2001-11-30 Michael Meeks <michael@ximian.com>
2684 * libspi/keystrokelistener.c
2685 (spi_keystroke_listener_class_init): fixup arg
2688 * libspi/eventlistener.c
2689 (spi_event_listener_class_init): ditto.
2691 * tests/test.sh: add.
2693 * cspi/spi-listener-impl.h: update macros.
2695 * cspi/spi-listener-impl.c
2696 (cspi_event_listener_remove_callback): add
2697 correct pre-conditions.
2699 * cspi/spi_main.c (SPI_exit): guard vs. double
2700 exits, exit the mainloop nicely.
2701 (SPI_event_main): make more sense.
2702 (SPI_init): move the atexit evilness here so we
2703 always do it (yuck).
2704 (SPI_event_main): upd.
2706 * test/simple-at.c: update for listener changes.
2708 * registryd/registryd.c (main): prune kruft.
2710 * libspi/libspi.h: upd.
2712 * libspi/eventlistener.[ch]: rename broken macros.
2714 * libspi/accessibleeventlistener.[ch]: remove.
2716 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
2718 * test/test-simple.c: Add - automated tests.
2720 * cspi/spi-listener-impl.c (cspi_event),
2721 (cspi_key_event): add user_data to invoke.
2722 (cspi_keystroke_listener_finalize): impl.
2723 (cspi_keystroke_listener_class_init): upd.
2726 (createAccessibleEventListener),
2727 (AccessibleEventListener_addCallback),
2728 (createAccessibleKeystrokeListener),
2729 (AccessibleKeystrokeListener_addCallback): upd.
2731 * libspi/deviceeventcontroller.c
2732 (spi_device_event_controller_check_key_event): add public proto.
2735 (impl_accessibility_registry_deregister_global_event_listener):
2736 always init listeners.
2737 (_registry_notify_listeners): yes it is.
2739 * cspi/spi-listener-impl.c (cspi_key_event):
2741 (cspi_event_listener_finalize): impl.
2742 (cspi_event_listener_class_init): hook up.
2743 (event_handler_new, event_handler_free),
2744 (event_list_remove_by_callback): impl.
2745 (cspi_event_listener_remove_callback),
2746 (cspi_keystroke_listener_remove_callback),
2747 (cspi_keystroke_listener_add_callback),
2748 (cspi_event_listener_add_callback): upd.
2750 * libspi/keystrokelistener.c
2751 (keystroke_listener_object_finalize): kill
2752 (spi_keystroke_listener_class_init): upd.
2753 (spi_keystroke_listener_add_callback),
2754 (spi_keystroke_listener_remove_callback): kill,
2756 (impl_key_event): prune drasticaly.
2758 * libspi/eventlistener.c
2759 (spi_event_listener_add_callback),
2760 (spi_event_listener_remove_callback): kill, use
2762 (impl_accessible_event_notify_event): upd.
2763 (spi_event_listener_object_finalize): remove.
2765 * libspi/Makefile.am: use eventlistener.[ch]
2767 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2769 * libspi/registry.c (_registry_notify_listeners):
2770 Changed listener loop iteration to use preferred convention.
2771 Got rid of string memory leaks caused be calling g_strconcat
2772 inside function calls.
2774 * libspi/registry.c (parse_event_type):
2775 Stopped g_strconcat memory leaks, free the g_strsplit return,
2776 g_strdup the split pieces when used, etc.
2778 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2781 Change method 'compare' to return a 'difference set' rather than
2782 taking a StateSet as an out parameter (more Java-friendly).
2784 * idl/Accessible.idl:
2785 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2787 * idl/Component.idl:
2789 Changed methods 'getExtents' and 'getImageExtents' in these
2790 interfaces to return a BoundingBox structure.
2791 (getPosition and getSize are redundant and possibly should be
2792 removed, rather than creating a corresponding Point struct.)
2794 * cspi/spi_component.c:
2795 Modify implementation of getExtents to reflect the above IDL
2800 Add (missing) AccessibleImage_getExtents () API.
2802 * docs/reference/cspi/at-spi-cspi-sections.txt:
2803 Added AccessibleImage_getImageExtents () to docs.
2805 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2807 * idl/Component.idl:
2808 Added two methods, getLayer () and getMDIZOrder (), to reflect
2809 the new ATK methods atk_object_get_layer and
2810 atk_object_get_mdi_z_order. (Which arguably should be part of the
2811 AtkComponent API and AtkObject). Also added an enum,
2812 ComponentLayer, for the first method's return value.
2814 * libspi/component.c:
2815 Added implementations for these methods.
2817 * cspi/spi_component.c:
2819 Added cspi binding methods for above,
2820 AccessibleComponent_getLayer() and
2821 AccessibleComponent_getMDIZOrder().
2822 Added cspi enum 'AccessibleComponentLayer'.
2824 * docs/reference/cspi/at-spi-cspi-sections.txt:
2825 Added above methods to docs.
2829 Changed typedef for 'boolean' type (and all references to it) to
2830 SPIBoolean, to avoid keyword clashes with C++.
2833 Changed usages of 'boolean' to SPIBoolean.
2835 * test/keysynth-demo.c:
2836 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2837 app), except where SPIBoolean is required by the callbacks API.
2839 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2841 * cspi/spi_registry.c:
2842 Removed obsolete X event loop for passive keygrabs (which now
2845 * registryd/registryd.c:
2846 Removed unnecessary call to gdk_init() [cruft]. This also allows
2847 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2850 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2852 * docs/reference/cspi:
2853 Included docs for SPI_freeString in generated documentation.
2856 Renamed spi_freeString to SPI_freeString, for consistency. Added
2857 documentation for this function.
2860 Renamed spi_freeString to SPI_freeString, for consistency.
2861 Removed obsolete method declaration string_from_corba_string.
2863 * test/keysynth-demo.c:
2864 Small tweak to comments.
2867 Stopped leaking the strings returned from CSPI.
2869 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2871 Merged Michael's branch (see his ChangeLog entries below).
2873 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2874 bridge is alive, release on exit.
2876 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2877 Fix type check macro.
2880 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2883 Added is_gnome_app static, and method cspi_is_gnome_app(),
2884 so we can call the appropriate shutdown routine at exit in SPI_exit.
2886 * cspi/spi_main.c (cspi_object_ref):
2887 Duplicate the corba object passed in, since we're keeping it around.
2889 * cspi/SPI_exit.c, cspi_cleanup:
2890 Moved the releasing of the live refs to its own function, so we
2891 can put it in g_atexit (). Call the appropriate shutdown API
2892 depending on whethe calling client is a gnome app or not
2893 (bonobo_main_quit or CORBA_ORB_shutdown).
2895 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2896 Unref the listener when this method is called, after
2897 deregistration. Updated the API docs to note this behavior.
2899 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2900 Bugfixes: Ref the bonobo object when returning a parent or child
2901 reference, or an AccessibleRelation. Generally made sure
2902 BonoboObject refcount is incremented whenever we return an
2905 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2906 Fixed typo/bug in signal declaration.
2908 * libspi/accessibleeventlistener.h:
2911 * libspi/application.c (spi_application_new):
2912 Fixed leak in initialization.
2915 Remembered to increment bonobo-object refcount when returning
2916 children (applications) from desktop object.
2917 Added (empty) finalize method.
2919 * libspi/deviceeventcontroller.c:
2920 Hold a ref to listeners inside DEControllerKeyListeners.
2921 Added dec_key_listener_free() method. Use prepend instead of
2922 append in key_listener list. Fixed some refcount madness and
2923 leaks in the listener registration/deregistration - deregistration
2924 now calls dec_key_listener_free() on listeners, and on the
2925 temporarily constructed dec_key_listener() used to perform the search/match.
2927 * libspi/hypertext.c (spi_hypertest_finalize):
2928 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2929 class. Also fixed spi_hypertext_interface_new() and
2930 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2932 * libspi/hypertext.h:
2933 Removed pointless and duplicate AtkObject pointer from
2936 * libspi/keystrokelistener.c:
2937 Fixed incorrect type of keystroke_listener_parent_class,
2938 renamed keystroke_listener_object_finalize to
2939 spi_keystroke_listener_object_finalize.
2940 Fixed typo in signal declaration
2941 (spi_keystroke_listener_class_init).
2943 * libspi/registry.c:
2944 Added funcsions spi_listener_struct_new() and
2945 spi_listener_struct_free() to help with memory management issues.
2946 We also now use these methods instead of gnew + poking stuff into
2947 the struct, and to decrement listener counts/free the listeners
2948 when deregistering them.
2949 Fix more refcount bugs in getDesktop() and
2950 getDeviceEventController().
2953 De-ref the desktop after enumerating the applications. Explicitly
2954 decrement the refcounts on the created listeners on exit (using
2955 _unref for keystroke listeners, and via the
2956 deregisterGlobalEventListenerAll command for other event
2959 2001-11-27 Michael Meeks <michael@ximian.com>
2961 * cspi/spi-listener.h: fixup enum.
2963 2001-11-27 Michael Meeks <michael@ximian.com>
2965 * cspi/spi-listener-impl.c (cspi_event_listener_new),
2966 (cspi_keystroke_listener_new): Use the cspi variants.
2968 2001-11-26 Michael Meeks <michael@ximian.com>
2970 * test/keysynth-demo.c: fix 2 compile warnings, missing
2973 * test/simple-at.c (report_focussed_accessible),
2974 (report_focus_event, report_button_press),
2975 (check_property_change, is_command_key),
2976 (report_ordinary_key_event, report_command_key_event): upd.
2978 * util/mag_client.h: include pre-requisites.
2980 * libspi/accessibleeventlistener.c
2981 (spi_event_listener_object_finalize): free any lingering
2984 * libspi/keystrokelistener.c
2985 (keystroke_listener_object_finalize): ditto.
2987 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
2988 callbacks, with cspi types.
2990 * cspi/spi_event.c (createAccessibleEventListener): chain to
2991 (AccessibleEventListener_addCallback): here.
2992 (createAccessibleKeystrokeListener): chain to
2993 (AccessibleKeystrokeListener_addCallback): here.
2995 * libspi/keystrokelistener.c
2996 (spi_keystroke_listener_class_init): add signal.
2997 (impl_key_event): emit the event.
2998 (boolean_handled_accumulator): impl.
2999 (marshal_BOOLEAN__POINTER): add, gack.
3001 * libspi/accessibleeventlistener.c
3002 (spi_event_listener_class_init): add signal.
3003 (impl_accessible_event_notify_event): emit the signal &
3004 make the loop efficient.
3005 (spi_event_listener_add_callback): prepend the callback.
3007 * libspi/accessibleeventlistener.h: add an 'event' signal,
3008 decl type on callback.
3010 * libspi/keystrokelistener.h: ditto.
3012 * cspi/spi-listener.h: make methods typesafe and
3013 make them use the new event typedefs.
3015 * test/simple-at.c (report_focussed_accessible):
3016 include mag_client.h
3017 Use *(void *)text_interface not the other thing.
3019 * configure.in: add gtk to registryd bits - since we use
3022 * util/magnifier.c: include libbonobo.h
3024 2001-11-25 Bill Haneman <bill.haneman@sun.com>
3026 * test/keysynth-demo.c:
3027 Turned this into a simple scanning keyboard, to demonstrate the
3028 use of g_timeout_add () as a means of creating timers for
3029 scanning, and the use of GtkStyle for visually indicating when
3030 virtual keyboard elements are selected.
3032 keysynth-demo now listens to any keyboard keys with zero-valued
3033 keycodes (i.e. 'unused' keys) and interprets them as
3036 Reworked the shiftlatch code so that shift-down state isn't held
3037 for long periods (it's only synthesized immediately prior to
3038 the keysynth event it's modifying). Note that shiftlatch in this
3039 demo is a convenience, not intended to take the place of AccessX
3040 which is the better choice for getting 'sticky' modifier keys.
3042 * libspi/deviceeventcontroller.c:
3043 * at-bridge/bridge.c:
3044 * cspi/spi_registry.c:
3045 Removed some debug print stuff, and put other verbosity in #ifdef
3050 Implemented some more of the magnifier IDL for the simple
3051 magnifier: namely, getZoomRegionParams.
3052 Added mag_x and mag_y members to MagnifierData struct, aid of this
3054 Added GtkWindow::realize signal handler to magnifier, to keep it
3055 from receiving keyboard focus from the WM.
3057 2001-11-23 Mark McLoughlin <mark@skynet.ie>
3059 * cspi/spi-private.h: my guess at what michael forgot
3060 before he ran off to NZ :-)
3062 2001-11-23 Michael Meeks <michael@ximian.com>
3064 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
3065 comment out non existant method invoke so we link.
3067 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
3068 use bonobo_exception_get_text for more friendly warnings.
3070 * cspi/spi.c (Obj_Add): move into spi_main & rename
3071 spi_object_add; kill spi.c
3073 * cspi/spi_registry.c
3074 (deregisterGlobalEventListener),
3075 (deregisterGlobalEventListenerAll),
3076 (registerGlobalEventListener): fix exception leaks.
3078 * cspi/spi_main.c (spi_exception): impl. helper, so we
3079 don't leak exceptions.
3081 * cspi/spi_selection.c
3082 (AccessibleSelection_deselectSelectedChild): return the
3085 * cspi/spi_main.c (spi_ev): impl; hack - gack.
3086 (spi_registry): ditto.
3087 (SPI_init): guard against double inits.
3089 * cspi/*.c: use spi_ev (), and spi_registry () where
3090 appropriate - a temporary hack until we have something
3091 better. Use spi_object_add
3093 2001-11-22 Michael Meeks <michael@ximian.com>
3095 * cspi/Makefile.am: re organise, install the headers.
3097 * cspi/*.h: add G_BEGIN/END_DECLS
3099 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3102 Added non-preemptive keylistener for key events with no modifiers
3103 and shift-only modifier.
3105 * libspi/keystrokelistener.c:
3106 Removed some verbose diagnostics printout.
3108 * cspi/spi_registry.c:
3109 Fixed a bug that caused all key listeners to be registered as
3112 * libspi/deviceeventcontroller.c:
3113 Fixed bug that caused XGrabKey (preemptive key grab) to be called
3114 for non-preemptive key masks.
3117 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3119 * docs/reference/idl/at-spi-idl-docs.sgml:
3120 * docs/reference/idl/at-spi-idl-sections.txt:
3121 * docs/reference/idl/at-spi-idl-overrides.txt:
3122 Added missing files.
3124 * docs/reference/Makefile.am:
3125 removed idl from SUBDIRS until we can figure a way to get gtk-doc
3126 to scan the IDL files :-(
3131 Added .cvsignore files.
3133 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3135 * libspi/deviceeventcontroller.c:
3136 * libspi/keystrokelistener.c:
3138 * cspi/spi_registry.c:
3139 Added filters for KeySets, KeyEventSeq, and event types to key
3140 event dispatching, so listeners should only receive those events
3141 that they requested :-)
3143 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3148 * docs/reference:Makefile.am:
3149 * docs/reference/cspi:
3150 * docs/reference/cspi:Makefile.am:
3151 * docs/reference/cspi:tmpl:
3152 * docs/reference/cspi:tmpl:*.sgml:
3153 * docs/reference/idl:
3154 * docs/reference/idl:Makefile.am:
3155 * docs/reference/idl:at-spi-idl-sections.txt:
3156 * docs/reference/idl:at-spi-idl-docs.sgml:
3157 * docs/reference/idl:tmpl:
3158 * docs/reference/idl:tmpl:*.sgml:
3160 Restructured docs directory to allow separate 'reference' docs
3161 section, and forked idl and cspi docs. Added the sgml template
3162 files to CVS. Added the first sections/structural sgml for the
3165 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
3167 * configure.in, libspi/Makefile.am: find libXtst.
3169 2001-11-21 Michael Meeks <michael@ximian.com>
3171 * test/accessx-gui.c: s/spi_value/value/ - doh.
3173 * libspi/base.[ch]: add.
3175 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3177 * idl/Accessible.idl:
3178 * idl/Application.idl:
3181 Started gtk-doc cleanup on IDL.
3183 * libspi/deviceeventcontroller.c:
3184 Added and connected non-preemptive key notification from the
3185 toolkits (in addition to the pre-emptive support from XServer
3186 which we had before, but which causes 'focus flashing'). Filters
3187 are presently limited to key modifiers and global/non-global,
3188 KeySets are presently ignored, as are KeyEvent masks.
3190 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
3191 structs into the persistant structure rather than just storing
3192 pointers to things that might not persist across servant
3195 The XGrabKey call now does async keygrabs, because synchronous
3196 ones were deadlocking with GDK_event code in a very nasty way.
3198 Added boolean to internal method notify_keylisteners, to indicate
3199 whether the event came from the 'toolkit source' or the 'global
3200 (XServer) source' - this is used in the notification process to
3201 determine which listeners to send the event to.
3203 deviceeventcontroller.c is now warning-free.
3205 * libspi/registry.c:
3206 Fixed regression in application de-registration.
3207 Also fixed some really brain-dead weirdness having to do with
3208 event dispatching - event structs are now duplicated before being
3209 re-marshalled in the dispatch to listeners. This also fixes a
3210 Solaris build problem.
3213 2001-11-20 Michael Meeks <michael@ximian.com>
3216 (impl_accessibility_registry_deregister_global_event_listener):
3219 * libspi/deviceeventcontroller.c
3220 (spi_device_event_controller_check_key_event): return
3221 FALSE on no virtual method.
3223 * libspi/*..h: make includes work on a correctly pathed install.
3225 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
3227 * libspi/application.h: kill unused ( and whacked out )
3228 gboolean *spi_application_set_id (AtkObject *app, long id);
3230 2001-11-20 Michael Meeks <michael@ximian.com>
3232 * libspi/*.[ch]: further convert to bonobo's type func
3233 macros, remove redundnant casts etc.
3235 * libspi/text.c s/accessibility_text/spi_text/g,
3236 re-order to de-cruft.
3238 * libspi/hypertext.c: re-order to kill a huge slew
3239 of redundant forward decls.
3241 * libspi/relation.c: ditto.
3243 * libspi/image.c: ditto.
3245 * */.cvsignore: update
3247 2001-11-20 Michael Meeks <michael@ximian.com>
3249 * libspi/deviceeventcontroller.c
3250 (_controller_register_with_devices): use g_getenv,
3251 kill stdlib.h include.
3253 * libspi/keystrokelistener.c
3254 (spi_keystroke_listener_get_type): kill
3255 (spi_keystroke_listener_class_init),
3256 (spi_keystroke_listener_init): rename to this.
3258 * libspi/text.c (impl_getAttributes): fix warning / bug.
3260 * libspi/*.[ch]: more headers, includes and over commenting.
3262 2001-11-20 Michael Meeks <michael@ximian.com>
3264 * libspi/*.[ch]: fixup headers, includes and over commenting.
3266 * libspi/image.c (impl__get_imageDescription): const
3267 correctness warning fix. remove redundant casting.
3269 * libspi/table.c (impl_getRowDescription): ditto.
3270 (impl_getColumnDescription): ditto.
3272 * libspi/libspi.h: add.
3274 2001-11-19 Michael Meeks <michael@ximian.com>
3276 * libspi/editabletext.c (impl_setAttributes): fix warnings.
3278 * libspi/component.c (accessibility_component_get_type):
3279 rename to (spi_component_get_type): and macroify.
3280 (accessibility_component_init): rename to
3281 (spi_component_init): this
3282 (accessibility_component_class_init): rename to
3283 (spi_component_class_init): this
3285 * libspi/action.c (spi_action_get_type): kill, use the macro.
3287 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
3290 * libspi/application.c (spi_application_object_event_listener),
3291 (impl_accessibility_application_register_object_event_listener):
3292 warning fixes / const understanding updates.
3294 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
3297 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3299 * libspi/spi_accessible.c: Added docs and C bindings for
3300 AccessibleStateSet. (No implementations yet). Documentation
3301 coverage for C bindings now 100%. Made docs for event listeners
3306 boolean notifyListenersSync (in DeviceEventListener listener,
3307 in DeviceEvent event);
3309 oneway void notifyListenersAsync (in DeviceEventListener listener,
3310 in DeviceEvent event);
3312 Added DeviceEventListener and DeviceEvent structs (may deprecate
3313 KeyStroke and KeystrokeListener in favor of this generic
3314 event/listener framework for devices).
3316 * libspi/deviceeventcontroller.c:
3318 Changed some key listener code to take masks, etc., and paved the
3319 way for integration of toolkit/non-preemptive key events. Changed
3320 signatures of some internal methods.
3322 * at-bridge/bridge.c:
3323 Fixed regression connecting to interface signals, apparently
3324 caused by GTK+ changes.
3326 Added an internal bridge_state_listener to deal with
3327 property-change:accessible-state signals.
3329 Changed the key_listeners GList to store structs (including masks,
3330 etc.) instead of just CORBA_Objects (required for full
3331 implementation of key listener API).
3333 Connected the bridge to all currently supported Atk signals.
3334 Events now supported:
3335 object:property-change
3336 object:property-change:accessible-name
3337 object:property-change:accessible-state
3338 object:property-change:accessible-description
3339 object:property-change:accessible-parent
3340 object:property-change:accessible-value
3341 object:property-change:accessible-role
3342 object:property-change:accessible-table-caption
3343 object:property-change:accessible-table-column-description
3344 object:property-change:accessible-table-column-header
3345 object:property-change:accessible-table-row-description
3346 object:property-change:accessible-table-row-header
3347 object:property-change:accessible-table-summary
3348 object:children-changed
3349 object:visible-data-changed
3350 object:selection-changed
3351 object:text-selection-changed
3353 object:text-caret-moved
3355 object:row-reordered
3357 object:column-inserted
3358 object:column-reordered
3359 object:column-deleted
3360 object:model-changed
3362 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3364 * libspi/hyperlink.c,h:
3365 Fixed some broken stuff in hyperlink.
3367 * libspi/relation.h:
3368 * libspi/relation.c:
3369 * cspi/spi_accessible.c:
3370 Initial implementations of AccessibleRelation methods, and docs.
3372 * libspi/accessible.c:
3373 Fixed a bug that caused SEGV if an accessible
3374 object's description is NULL, and a client
3375 requests it. An empty string is now returned.
3377 * cspi/spi_editabletext.c:
3378 * cspi/spi_hypertext.c:
3380 * cspi/spi_hyperlink.c:
3384 Doc coverage now 95%.
3386 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3388 One last namespacing revision:
3389 * libspi/accessibleeventlistener.[ch]:
3390 Renamed SpiAccessibleEventListener to SpiEventListener,
3391 (no need for two namespaces ;-)
3393 And lots of documentation fixes:
3395 * docs/at-spi-docs.sgml:
3396 Fixed 'underscore vs. hyphen' bug that was preventing
3397 the gtk-doc API docs from being automatically generated.
3400 * cspi/spi-listener.h
3402 * cspi/spi_accessible.c
3404 * cspi/spi_application.c
3405 * cspi/spi_component.c
3406 * cspi/spi_editabletext.c
3408 * cspi/spi_hypertext.c
3410 * cspi/spi_registry.c
3411 * cspi/spi_selection.c
3415 * docs/at-spi-docs.sgml
3416 * docs/at-spi-sections.txt
3418 Added and fixed up gtk-doc documentation in cspi.
3420 Interfaces now (fully) documented (subject to revision and enhancement):
3422 Event Listener Support
3424 AccessibleApplication
3428 AccessibleEditableText
3435 AccessibleRelationSet
3440 2001-11-14 Bill Haneman <bill.haneman@sun.com>
3442 * at-bridge/bridge.c:
3443 Initial work for toolkit-level key snooper connection by bridge.
3448 New typedefs and fixes to support new namespacing, and cleaner
3449 separation of cspi bindings from libspi bonobo implementation.
3450 Removed inconsistent and extraneous Spi* namespace prefix that
3451 had crept into cspi headers.
3452 Lots of comment fixes that sed had missed.
3454 * cspi/spi-roletypes.h:
3455 * cspi/spi-statetypes.h:
3456 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
3457 to AccessibleRoleType.
3459 * libspi/accessibleeventlistener.h:
3460 Fixed minor namespacing weirdness.
3462 * libspi/deviceeventcontroller.c:
3463 Reordered some internal API for device listeners.
3464 Changed the key registry final boolean to 'is_system_global'
3465 rather than 'is_synchronous', which is more descriptive of its
3467 Added spi_device_event_controller_new().
3468 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
3470 * libspi/keystrokelistener.[ch]:
3471 Namespaced KeystrokeListener to SpiKeystrokeListener.
3472 Changed uses of keymasks to use SPI_ prefix, and did other
3475 * libspi/keymasks.h:
3476 Namespaced keymask constants with SPI_ prefix.
3478 * libspi/registry.c:
3479 Some warning fixes, and knock-on fixes from namespace changes.
3482 Added rules for accessx-gui test program.
3484 * test/accessx-gui.c:
3485 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
3486 utility. It doesn't actually use at-spi, but it's still cool and
3489 * test/keysynth-demo.c:
3493 Fixes so that these test clients work properly with the namespaced
3494 libraries. (Incompletely tested for technical reasons, fixes may follow)
3497 2001-11-13 Michael Meeks <michael@ximian.com>
3499 * libspi/application.c
3500 (impl_accessibility_application_get_version),
3501 (impl_accessibility_application_get_toolkit_name):
3503 (impl_accessibility_application_set_id),
3504 (impl_accessibility_application_get_id): remove
3505 redundant casting code.
3507 * libspi/action.c (impl_getDescription): fix warnings.
3509 * libspi/accessible.c
3510 (impl_accessibility_accessible_get_parent),
3511 (impl_accessibility_accessible_get_child_at_index),
3512 (impl_accessibility_accessible_get_state),
3513 (impl_accessibility_accessible_get_relation_set):
3514 warning fixes & include action.h
3516 2001-11-13 Michael Meeks <michael@ximian.com>
3518 * *.[ch] fix bits I screwed up:
3520 s/([^ \tb(\*\&\?\",])spi_/\1/g;
3521 s/([^ \tb(\*\&\?\",])Spi/\1/g;
3523 2001-11-13 Michael Meeks <michael@ximian.com>
3525 * *.[ch] Namespace libspi into spi_ and Spi.
3527 2001-13-11 Michael Meeks <michael@ximian.com>
3529 * Makefile.am: dist & install at-spi-1.0.pc
3531 * libspi/Makefile.am: install into at-spi-1.0
3533 * idl/Makefile.am (idldir): install into at-spi-1.0
3535 * at-spi-1.0.pc.in: add.
3537 * configure.in: build it.
3539 2001-11-12 Bill Haneman <bill.haneman@sun.com>
3541 * test/keysynth-demo.c:
3542 Use a 'realize' signal-handler to set the WM properties for
3543 the virtual keyboard, rather than making it a "POPUP" type
3544 override-redirect window (thanks to anders carlsson for that
3547 2001-11-11 Bill Haneman <bill.haneman@sun.com>
3550 * test/keysynth-demo.c:
3551 Added new test of key synthesis, which creates a simple
3552 (mouse-operated) onscreen keyboard. It inserts key events into
3553 the currently-focused window, thus it does not grab keyboard focus
3556 * cspi/spi_registry.c:
3557 Added C binding for AT-SPI generateKeyEvent.
3559 * libspi/deviceeventcontroller.c:
3560 Added call to XFilterEvent so that key listener works with XIM (we
3561 hope). Added event_synth_type to generateKeyEvent, so that we can
3562 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
3563 synthesize a press/release pair for KeySyms.
3565 2001-11-09 Bill Haneman <bill.haneman@sun.com>
3567 * libspi/Makefile.am:
3568 * registryd/Makefile.am:
3569 (temporary) hack to include libXtst in libspi and registryd.
3570 (Needed for keystroke synthesis, see below).
3573 Improved API for registerKeystrokeListener, in accordance with
3574 discussions with Gnopernicus team and X server research.
3576 * libspi/registry.c:
3577 * libspi/deviceeventcontroller.c:
3578 * libspi/accessible.c:
3579 * libspi/keystrokelistener.c:
3580 Changes and fixes to support keylisteners for potentially
3581 consumed key events (that is, 'passive grabs').
3582 Added implementation for generateKeyEvent() [untested].
3585 Changes to registerKeystrokeListener() API, as above.
3586 Added deregisterGlobalEventListenerAll(), and
3587 deregisterKeystrokeListener(), which are needed for clean exit of
3589 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
3590 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
3592 * cspi/spi_registry.c:
3593 Added implementations of function prototypes mentioned above.
3595 * registryd/registryd.c:
3596 Added the key listener event source as a g_timeout(), to allow
3597 receipt of key events that are not caught by GDK (since GDK
3598 doesn't support passive keygrabs, this was necessary).
3601 Changed to attach a keylistener to 'Alt' keys, and
3602 respond to the following keycommands: Alt-M (toggle magnifier);
3603 Alt-F (toggle speech); Alt-Q (quit).
3604 Added an exit routine to deregister the listeners, and a key
3605 listener that prints some key info to the console when a key
3606 matches the listener mask (and is thus received by the listener).
3608 * util/idl/Magnifier.idl:
3609 Changes to magnifier API to support multiple zoom regions,
3610 non-uniform scaling in x and y, markDirty, and a host of other
3611 features that would be useful to magnification.
3614 * util/mag_client.c:
3615 * util/mag_client.h:
3616 * util/mag_control.c:
3618 Source code changes to support the above IDL changes.
3621 As above, and also changes to use a (slower) generic conversion
3622 path for colormap conversions, since the fast RGB conversions have been
3623 reported to fail for 16-bit displays.
3625 2001-10-26 Michael Meeks <michael@ximian.com>
3627 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
3629 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
3631 * at-bridge/Makefile.am: fix LDFLAGS.
3633 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3635 * at-bridge/bridge.c:
3636 Re-worked listeners for toolkit events, now we have signal
3637 and property listeners. Added a private method
3638 register_atk_event_listeners(), which registers with the
3639 various atk and gtk signals we need to monitor in order to emit
3641 Added emission hook for AtkObject:property-change events, to
3642 support the 'property listeners'.
3643 Fixed some alloc()s of Accessibility_Event structs to use CORBA
3646 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
3647 which emit warnings and exit, respectively, if CORBA errors occur
3648 during remote calls, and we now use these methods to check most of
3649 our CORBA calls in the C bindings.
3651 * cspi/spi_accessible.c:
3652 Changed AccessibleSelection_refSelectedChild() to
3653 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
3654 now increment refcounts.
3656 * cspi/spi_component.c:
3657 Fixed some long pointer casts (dangerous!) to pass pointers to
3658 CORBA_longs of the proper type to the CORBA stubs, and copy the
3659 data into the longs that were passed into the C bindings code.
3661 * at-bridge/bridge.c:
3663 * libspi/accessible.c:
3664 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
3665 hyperlinks, AtkHyperlink is an object type.
3667 * libspi/application.c:
3668 Added various conversions to and from "generic" event types and
3669 atk-specific types; this is really part of the 'bridge'
3670 implementation but is valid for all AtkObject-based accessibility
3673 * libspi/editabletext.c:
3674 Fixed nasty bug wherein editable text's finalize method was
3675 unref'ing tha AtkObject reference that the text parent class was
3676 about to unref _again_. There was also a nasty inheritance bug
3677 that meant that the AccessibleEditableText class was corrupt.
3679 * libspi/selection.c:
3680 Provided implementations for some selection API that was broken.
3682 * idl/Application.idl:
3683 Added registerObjectEventListener () method.
3686 Fixed a number of return values that were Bonobo_Unknowns from
3687 bonobo_object_corba_objref(), which I
3688 forgot to dup before returning. Changed instances of
3689 bonobo_object_corba_objref (bonobo_object(o)) to
3690 BONOBO_OBJREF(o), for concision and clarity.
3692 2001-10-13 Louise Miller <louise.miller@sun.com>
3694 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
3695 idl/Event.idl, idl/Registry.idl
3696 Changed these files to include Bonobo_Unknown.idl instead
3699 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
3701 * libspi/component.c libspi/component.h:
3702 Fixed typo. Added assertions for object checks in
3703 AccessibleComponent code.
3705 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3707 * idl/Accessible.idl:
3708 Added 'isEqual (Accessible *object)'
3709 method for Accessible. (Not Yet Implemented).
3712 Changed signature of registerKeystrokeListener() to
3713 take a KeySet and KeyEventSeq so that specific keys and event
3714 types could be requested for monitoring, and added a flag
3715 is_synchronous so that either synchronous or asynchronous
3716 notification could be requested. (However this is not all
3717 implemented yet). This also meant adding two new typedefs,
3718 KeyEventSeq and KeySet.
3721 Added two new relations, RELATION_TOOLTIP_FOR and
3722 RELATION_LEAFNODE_OF.
3725 Added new state, STATE_HAS_TOOLTIP.
3727 * libspi/text.c, editabletext.c:
3728 Added new assertions to all casts of bonobo-objects from
3729 CORBA servants, to prevent Text API calls on non-text objects.
3730 Changed suspect casts of int-pointer types, so that we
3731 always send a valid CORBA_long pointer to the CORBA APIs that use
3732 in/out long parameters. We then have to copy from the CORBA_long
3733 into the regular long or int for return to the C bindings, or
3734 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
3737 * libspi/deviceeventcontroller.c:
3738 Cleaned these sources up.
3740 Changed return type for getCharacterAtOffset to
3741 CORBA_unsigned_long, to allow for 32-bit characters.
3744 2001-10-08 Bill Haneman <bill.haneman@sun.com>
3748 Fixed 'make dist' so that distro compiles...
3749 * libspi/keymasks.h:
3751 * cspi/spi-listener.c:
3752 KeystrokeListenerCB now returns a boolean.
3754 Added KeyEventType struct, and KeyStroke.
3755 Also added createKeystrokeListener(),
3756 KeystrokeListener_addCallback(),
3757 KeystrokeListener_removeCallback(), and added a keymask to
3758 registerKeystrokeListener().
3759 * cspi/spi_accessible.c:
3760 Changed numerous return types for interfaces from
3761 AccessibleComponent to Accessible<InterfaceName>; this was
3762 probably a cut-and-paste error.
3764 Implementations of new KeystrokeListener api (from spi.h,
3767 Changes to key modifier mapping.
3768 Created ControllerEventMask struct.
3769 Made DeviceEventController derive from Bonobo::Unknown.
3771 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3772 * libspi/deviceeventcontroller.c:
3773 Added a number of new internal (private) methods.
3774 * libspi/editabletext.c:
3775 * libspi/editabletext.h:
3776 Fixed a number of bugs related to the fact that
3777 editabletext inherits from text. Fixed the EditableText struct,
3778 the init() call, and use correct casts when calling Text methods
3779 from an EditableText object. Removed (duplicate) atko from the
3780 EditableText structure, we use the one in the parent Text
3781 structure via the casts mentioned above.
3782 * libspi/keystrokelistener.[ch]:
3783 * libspi/registry.c:
3784 Changes in support of keyboard handling (above).
3786 Keyboard handling, though partly functional, is still not
3787 recommended for at-spi client use as there is considerable
3788 work yet to be done.
3791 Changed some places where pointers to various int types
3792 are cast to be pointers to CORBA_long types and vice-versa:
3793 pointer casting is not safe so we pass pointers of the correct
3794 types and then cast the result before putting it into the target
3797 * libspi/text.h: minor typos corrected.
3799 We now speak not only the name of a Text element, but the
3800 first sentence of its content, when it receives focus.
3801 I also changed the text compression to 75% from 50%.
3802 * util/Accessibility_Util.server.in:
3803 Changed the default magnifier type to be a 3x vertical
3804 splitscreen magnifier (was previously a 2x horizontal one).
3806 2001-10-03 Bill Haneman <bill.haneman@sun.com>
3808 * libspi/keystrokelistener.h:
3809 * libspi/keystrokelistener.c:
3810 Initial functional implementations of KeystrokeListener.
3813 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3815 Fixed string handling for NULL strings in libspi.
3816 Added spi_freeString to free strings returned by C bindings.
3818 2001-09-30 Bill Haneman <bill.haneman@sun.com>
3820 * libspi/keystrokelistener.h:
3821 * libspi/keystrokelistener.c:
3822 Began (no-op) implementations of KeystrokeListener
3824 * libspi/deviceeventcontroller.c:
3825 * libspi/deviceeventcontroller.h:
3826 Began creating implementations of DeviceEventController,
3827 to handle keystroke and mouse event listening and
3829 * libspi/accessible.c:
3830 Stubbed-in the implementations for
3831 Accessibility_Accessible_getState and
3832 Accessibility_Accessible_getRelationSet.
3833 * libspi/registry.c:
3834 Improved de-registration process and fixed some bugs,
3835 deregistration now works correctly.
3837 Added initialization of applications list (to NULL).
3839 Reduced speech compression from 0.5 to 0.7, for demo.
3840 Changed call to gdk_window_set_decorations()
3841 to gtk_window_set_decorated().
3842 * at-bridge/bridge.c:
3843 Bridge now deregisters when app exits, via
3844 registration of a cleanup function
3845 with the g_atexit() call.
3846 Required making 'app' static, renamed 'this_app'.
3847 Fixed broken use of bonobo_init, passing argv wrongly.
3849 2001-09-27 Bill Haneman <bill.haneman@sun.com>
3853 Created a new directory for
3854 accessibility-related utilities, primarily for
3855 testing and demo purposes, but with possible
3862 Onscreen magnifier utility that
3863 is implemented as a bonobo service.
3865 * util/mag_client.c:
3866 * util/mag_client.h:
3867 Client-side support (simple C bindings)
3868 for Magnification service
3870 * util/mag_control.c:
3871 Client program example for
3872 Magnification service
3874 * util/Accessibility_Magnifier.server.in:
3875 Bonobo-activation file for the
3876 Magnification service.
3879 * util/idl/Magnifier.idl:
3880 IDL defining the bonobo Magnification
3884 Modifications to use the bonobo-activated magnifier
3885 above, in place of trying to connect to an existing
3886 magnifier that uses socket-listening IPC.
3888 If env variable MAGNIFIER is set, a magnifier service
3889 will be started if one does not exist.
3891 2001-09-25 Bill Haneman <bill.haneman@sun.com>
3893 * at-bridge/bridge.c:
3894 applied patch from Marc to build and run
3895 against new glib and gtk+ (seemed like a change
3896 to bonobo_init signature was made ?)
3898 made festival-server support turned off by default.
3899 Added support for a simple magnifier (off by default)
3900 which will be added to a 'util' directory later.
3901 * at-bridge/Makefile.am:
3902 Changed "application.h" header from a 'source'
3903 to a 'dependency' of libat-bridge.
3905 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3914 Added interface implementation c files to list of
3915 includes so they are included in libcspi.
3918 Changed prototype of AccessibleAction_doAction to return a
3920 Changed prototype of AccessibleTable_getCaption to
3921 return an Accessible.
3922 Changed prototype of AccessibleTable_getSelectedRows
3923 and AccessibleTable_getSelectedColumns to
3924 return a long (returns the number of selected rows
3925 or columns respectively).
3926 Changed name of AccessibleText_refRunAttributes to
3927 AccessibleText_getAttributes.
3928 Changed prototype of AccessibleText_getCharacterExtents to
3929 return a void rather than a boolean.
3930 Added support for a AccessibleCoordType parameter
3931 specifying what type of coordinates are desired.
3932 Added an AccessibleCordType parameter to
3933 AccessibleText_getPointAtOffset.
3935 * cspi/spi_accessible.c:
3936 Added code to return the outstanding interfaces from
3937 Accessible_queryInterface.
3939 * cspi/spi_action.c:
3941 Corrected call to getNActions to call the c binding
3944 * cspi/spi_editabletext.c:
3946 Changed name from setRunAttributes to setAttributes.
3948 * cspi/spi_hyperlink.c:
3950 Changed call to getNAnchors to correctly call the c
3951 binding for an attribute.
3953 * cspi/spi_hypertext.c:
3955 Changed getImageDescription to correctly call the
3956 binding for an attribute.
3958 * cspi/spi_selection.c:
3959 Changed getNSelectedChildren to correctly call the c
3960 binding for the attribute.
3961 Changed refSelectedChild to getSelectedChild.
3965 Changed getCaption to return an Accessible.
3966 Fixed calls which retrieve attributes.
3967 Changed refAt to getAccessibleAt.
3968 Changed getNSelectedRows and getNSelectedColumns to
3972 Changed getCharacterExtents and getPointAtOffset to accept an
3973 AccessibleCoordType.
3975 Changed calls which retrieve attributes.
3976 Changed refRunAttributes to getAttributes.
3981 * idl/Hyperlink.idl:
3982 Changed n_anchors attribute to nAnchors to keep naming
3983 convention consistent.
3986 Made Table inherit from Bonobo::Unknown.
3987 Added nSelectedColumns and nSelectedRows attributes.
3990 Made Value inherit from Bonobo::Unknown.
3992 * libspi/hyperlink.c:
3993 Change for nAnchors attributte name change.
3995 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4003 Added interface implementation c files to list of
4004 includes so they are included in libcspi.
4007 Changed prototype of AccessibleAction_doAction to return a
4009 Changed prototype of AccessibleTable_getCaption to
4010 return an Accessible.
4011 Changed prototype of AccessibleTable_getSelectedRows
4012 and AccessibleTable_getSelectedColumns to
4013 return a long (returns the number of selected rows
4014 or columns respectively).
4015 Changed name of AccessibleText_refRunAttributes to
4016 AccessibleText_getAttributes.
4017 Changed prototype of AccessibleText_getCharacterExtents to
4018 return a void rather than a boolean.
4019 Added support for a AccessibleCoordType parameter
4020 specifying what type of coordinates are desired.
4021 Added an AccessibleCordType parameter to
4022 AccessibleText_getPointAtOffset.
4024 * cspi/spi_accessible.c:
4025 Added code to return the outstanding interfaces from
4026 Accessible_queryInterface.
4028 * cspi/spi_action.c:
4030 Corrected call to getNActions to call the c binding
4033 * cspi/spi_editabletext.c:
4035 Changed name from setRunAttributes to setAttributes.
4037 * cspi/spi_hyperlink.c:
4039 Changed call to getNAnchors to correctly call the c
4040 binding for an attribute.
4042 * cspi/spi_hypertext.c:
4044 Changed getImageDescription to correctly call the
4045 binding for an attribute.
4047 * cspi/spi_selection.c:
4048 Changed getNSelectedChildren to correctly call the c
4049 binding for the attribute.
4050 Changed refSelectedChild to getSelectedChild.
4054 Changed getCaption to return an Accessible.
4055 Fixed calls which retrieve attributes.
4056 Changed refAt to getAccessibleAt.
4057 Changed getNSelectedRows and getNSelectedColumns to
4061 Changed getCharacterExtents and getPointAtOffset to accept an
4062 AccessibleCoordType.
4064 Changed calls which retrieve attributes.
4065 Changed refRunAttributes to getAttributes.
4070 * idl/Hyperlink.idl:
4071 Changed n_anchors attribute to nAnchors to keep naming
4072 convention consistent.
4075 Made Table inherit from Bonobo::Unknown.
4076 Added nSelectedColumns and nSelectedRows attributes.
4079 Made Value inherit from Bonobo::Unknown.
4081 * libspi/hyperlink.c:
4082 Change for nAnchors attributte name change.
4085 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
4087 implementations-- made server implementations own AtkObject pointers
4088 rather than their respective AtkInterrface pointers to fix
4089 refcounting. AtkHyperlink is still broken.
4091 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4092 * cspi/spi_accessible.c:
4093 Added method Accessible_Role_getName(),
4094 and requisite string array (role_names).
4095 Added conversion string_from_corba_strin() call
4096 to Accessible_getName and _getDescription.
4097 * libspi/accessible.c:
4098 Added implementation for Accessible_getRole()
4100 Added festival support, used if environment variable
4103 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4105 * at-bridge/bridge.c:
4106 Now allocate Accessibility_Event using
4107 Accessibility_Event__alloc() instead of g_new0().
4108 * libspi/accessibleeventlistener.c:
4109 Initialize AccessibleEventListener->callbacks to NULL.
4110 Fixed accessible__event_listener_init() param, changed to
4111 "AccessibleEventListener *" type.
4112 Changed a bonobo_object_release_unref() call to
4113 Accessibility_Accessible_unref().
4114 * libspi/listener.c:
4115 Changed Bonobo_Unknown_unref to (equivalent)
4116 Accessibility_Accessible_unref.
4117 * libspi/registry.c:
4118 Changed bonobo_object_release_unref to
4119 Accessibility_Accessible_unref.
4121 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4124 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
4125 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
4126 spi-util.c spi-util.h
4127 Implementations for C bindings to remaining accessibility
4130 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4133 changed return value of Action from void to boolean to
4134 bring in line with ATK.
4137 Changed getText funcions to return "out" start and end offsets.
4138 Changed getAttributes to take and offset and return the start
4139 and end offset of the attribute run.
4140 Changed getOffsetAtPoint and getCharacterExtents to take an
4141 enum describing whether coordinates are window or screen.
4144 libspi/action.c libspi/action.h libspi/editabletext.c
4145 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
4146 libspi/hypertext.c libspi/hypertext.h libspi/image.c
4147 libspi/image.h libspi/selection.c libspi/selection.h
4148 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
4149 libspi/value.c libspi/value.h
4150 Added server implementations for outstanding ATK interfaces
4151 not yet implemented.
4153 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4156 Added (missing) getName() method.
4157 Made nActions an attribute.
4158 * idl/EditableText.idl:
4159 Changed order of params in setAttributes.
4160 * idl/Hyperlink.idl:
4161 Removed getAnchor, added getURI.
4163 Changed attributes to methods, for efficiency
4164 (so that getting extents can be done in one call)
4165 * idl/Selection.idl:
4166 Changed nSelectedChildren to attribute, and re-indented.
4167 * idl/Table.idl: changed nrows, ncolumns, caption, summary
4169 * idl/Text.idl: reformatted to match our coding style.
4170 (temporarily?) removed getRowColumnAtOffset().
4171 Changed text selection API to support multi-select and
4172 non-contiguous selections, as in ATK.
4173 * idl/Value.idl: changed some methods to attributes.
4175 2001-08-24 Mark McLoughlin <mark@skynet.ie>
4177 * libspi/listener.c(impl_notify_event):
4178 BonoboUnkown_unref the source instead
4179 of bonobo_object_release_unref - the ORB
4180 handles the releasing.
4182 * configure.in: require ORBit-2.3.94 for
4185 2001-08-21 Bill Haneman <bill.haneman@sun.com>
4187 Tagged CVS repository 'EA_1_0'.
4188 * README.EARLY_ACCESS:
4189 Alphabetized acknowledgements list, and
4191 Listed some known dependencies of at-spi.
4193 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4195 * docs/at-spi-docs.sgml:
4196 * docs/at-spi-sections.txt:
4197 * docs/at-spi-overrides.txt: (Added zero-length file)
4198 Documentation improvements - gtk-doc should build
4199 docs for all implemented C bindings now.
4202 * cspi/spi.c: (New file)
4203 * cspi/spi_event.c: (New file)
4204 * cspi/spi_registry.c: (New file)
4205 * cspi/spi_accessible.c: (New file)
4206 * cspi/spi_application.c: (New file)
4207 * cspi/spi_component.c: (New file)
4208 Split spi_main.c into six parts, and included them from
4209 "spi.c". This is a bit of a hack, probably temporary,
4210 but required by gtk-doc, apparently.
4212 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4215 * docs/at-spi-docs.sgml:
4216 * docs/at-spi-sections.txt:
4218 Initial checkins/modifications for gtk-doc generation.
4221 Added (missing) interface query methods to Accessible's C binding.
4223 Added GenericInterface type definition.
4225 Added query for AccessibleComponent interface to focus event handler.
4226 Added printout of bounding box for focussed component.
4227 * libspi/component.c:
4228 Added partial implementation for AccessibleComponent to C binding.
4229 * idl/Application.idl:
4230 * libspi/registry.c:
4231 * libspi/listener.c:
4232 * libspi/application.c:
4233 * libspi/application.h:
4234 Changed "ID" attribute type from string to long.
4236 2001-08-19 Bill Haneman <bill.haneman@sun.com>
4240 Made method naming consistent: methods taking object args
4241 start with uppercase, other methods (except those using
4242 acronyms) start with lowercase. Underscores delimit between
4243 object names and method names:
4244 SPI_init() - uppercase since it starts with an acronym.
4245 getDesktopCount () - lowercase start since no object param0.
4246 Accessible_getName() - uppercase object type name, studlyCaps method
4250 Added gtk-doc documentation for all currently implemented
4251 methods in the C bindings API.
4253 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4255 * Makefile.am : changed build order to build test last.
4258 Changed "createEventListener" to "CreateEventListener".
4259 * libspi/accessibleeventlistener.c :
4260 Bugfix for addition of callbacks.
4261 * test/Makefile.am :
4262 * test/simple-at.c :
4263 Added new test that uses the C bindings API.
4265 * libspi/listener.c :
4266 * libspi/registry.c :
4267 * libspi/accessibleeventlistener.c :
4268 * at-bridge/bridge.c :
4269 Renamed member "target" of Accessibility_Event to "source",
4270 which is more descriptive.
4273 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4277 * cspi/Makefile.am :
4278 Added makefile support for at-spi/cspi directory.
4281 * cspi/spi-listener.h : (NEW FILE)
4282 Added support for/use of spi-listener.h.
4284 C bindings now build successfully, with no warnings.
4285 * libspi/accessibleeventlistener.h : (NEW FILE)
4286 * libspi/accessibleeventlistener.c : (NEW FILE)
4287 * libspi/Makefile.am :
4288 Added new object type "AccessibleEventListener"
4289 which inherits from Listener, and allows attachment
4290 of in-process callbacks (so that a client with a listening
4291 object instance can add functionality to the local
4292 implementation, dynamically).
4294 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4296 * libspi/accessible.c:
4297 Add implementation for get_index_in_parent().
4299 Added #include of "spi-roletypes.h", and
4300 added enumerated type AccessibleCoordType.
4301 Added definition for KeystrokeListener (function type).
4304 * cspi/spi-statetypes.h :
4305 * cspi/spi-roletypes.h :
4307 Added these headers, used by spi.h.
4309 Added code (NOTE: not yet built by make).
4311 2001-08-18 Mark McLoughlin <mark@skynet.ie>
4313 * libspi/Makefile.am: generate imodule
4314 at the same time as other idl compiler
4317 2001-08-17 Bill Haneman <bill.haneman@sun.com>
4318 * libspi/registry.c :
4319 * libspi/application.c :
4320 * idl/Application.idl :
4321 Made registration with toolkit an application method,
4322 which is required since each app has its own toolkit static
4323 environment. Thus the bridge must register for
4324 notification of toolkit events from each application in turn.
4325 Toolkit notifications are now successfully registered for, and
4326 sent to the listening at client.
4328 Changed toolkit event string to use hyphens rather than underscores.
4329 * libspi/listener.c :
4330 listner now gives more info in debug mode - it reports the
4331 name of the event received, as well as the name of the source.
4334 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4336 * libspi/registry.c :
4337 added more implementation for toolkit events.
4338 Fixed bug such that toolkit event registrations
4339 (via atk) use the whole event name string, not
4341 Removed a useless call to an ORBit_ method.
4342 * at-bridge/bridge.c :
4343 Removed unused local sbuf[] variable.
4345 We now register for Gtk:GtkWidget:button_press_event
4346 events as well as "focus:" events.
4348 Add some more API from Registry.idl that was missing,
4349 for keystroke listening, keystroke and mouse event
4350 synthesis, and enumeration of accessible desktops.
4352 2001-08-16 Michael Meeks <michael@ximian.com>
4354 * configure.in: use AM_GLIB_GNU_GETTEXT.
4356 * Makefile.am (SUBDIRS): kill intl.
4358 2001-08-15 Michael Meeks <michael@ximian.com>
4360 * registryd/Makefile.am: s/oaf/server/ relocate info file.
4362 * configure.in: upd.
4364 * configure.in: depend on a recent bonobo-activation that
4365 will find our server files ...
4367 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4369 * libspi/accessible.c : accessible_new() :
4370 Now we add the Component interface via bonobo_object_add_interface,
4371 if the contained AtkObject implements AtkComponent.
4372 * libspi/accessible.h : now include "component.h"
4373 * libspi/component.h :
4374 * libspi/component.c : added files - implementation of
4375 bonobo wrapper object for Accessibility/Component
4376 * libspi/listener.c :
4377 Added test code to check for Accessibility/Component:1.0
4378 interface and report whether it is implemented by the
4380 * libspi/registry.c :
4381 Now we check for not only the hash of the whole event
4382 string before relaying the event, we also check the
4383 "minor" event string (without the detail string).
4384 This allows event listeners to be registered against
4385 all events of a certain major+minor type, or just
4386 against a specific major+minor+detail type.
4387 * libspi/accessible.c :
4388 Added implementations for Accessible:get_parent(),
4389 Accessible:getChildCount(), and Accessible:getChildAtIndex().
4390 * libspi/registry.c :
4391 * libspi/listener.c :
4392 Replaced calls to Accessibility_Accessible_ref() and
4393 Accessibility_Accessible_unref() with
4394 calls to bonobo_object_dup_ref() and
4395 bonobo_object_release_unref(), so that the CORBA object
4396 is dup-ed and released when relayed, as well as the bonobo object.
4398 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4400 * libspi/Makefile.am,
4401 registryd/Makefile.am,
4402 at-bridge/Makefile.am.
4403 test/Makefile.am, configure.in:
4404 reverse previous changes.
4406 * /idl/Image.idl: fix typo.
4408 * test/Makefile.am: put DEBUG_FLAGS
4411 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4413 * test/app.c: use argv[0] instead of
4416 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4418 * libspi/Makefile.am,
4419 registryd/Makefile.am,
4420 at-bridge/Makefile.am.
4421 test/Makefile.am, configure.in:
4422 cleanup, replace individual LIBS/CFLAGS with
4423 AT_COMMON_{LIBS|CFLAGS}.
4427 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4429 * configure.in, libspi/Makefile.am:
4430 Change IDL path checking for bonobo-activation
4433 2001-08-15 Bill Haneman <bill.haneman@sun.com>
4435 * registryd/registry.c : separated event listeners to use
4436 3 separate lists (focus, window, toolkit). Began testing
4437 event names against hashes before relaying events.
4438 * test/at.c : now register for events of type "focus:"
4439 * test/app.c : now generate events of type "focus:"
4440 * at-bridge/bridge.c : register with ATK for focus events,
4441 and we now relay those focus events to any "focus:" listeners.
4442 This now works with the bridge as a GTK_MODULE when running test/at.
4443 * libspi/registry.c :
4444 * libspi/listener.c :
4445 now we ref event sources before propagating, and unref on receipt.
4446 * libspi/registry.c :
4447 some changes to internal structs, to support event typestring hashes.
4448 * text/app.c : changed the way the appname is generated.
4449 * cspi : added directory that will hold the C bindings library for
4450 non-CORBA/bonobo-savvy clients.
4451 * cspi/spi.h : header file that contains the function prototypes for the C binding.
4452 * idl/Component.idl : added in parameter to indicate coord system for
4453 geometry-related calls.
4454 * idl/Hyperlink.idl : added readonly n_links attribute
4455 * idl/Image.idl : changed methods to attributes.
4457 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4459 * at-bridge/Makefile.am: link against
4460 ../libspi/libspi.la instead of -lspi.
4462 * at-spi/test/app.c: include
4463 bonobo-activation.h. Use a default appname
4464 if one is not provided.
4466 2001-08-14 Bill Haneman <bill.haneman@sun.com>
4468 * idl/Registry.idl : temporarily changed register_Application
4469 to oneway, to work around issue with initial registration
4471 * idl/Application.idl : changed attribute "id" from readonly
4472 to read-write, since it needs to be assigned by Registry.
4473 * registryd/registryd.c : added call to set application id
4475 * registryd/registry.c : changed de-registration procedure to
4476 use CORBA_Object_hash() to find matching object ref in application
4477 lists and listener lists.
4478 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
4479 began distinguishing between event types (work in progress).
4481 2001-08-13 Bill Haneman <bill.haneman@sun.com>
4484 * libspi/application.c:
4485 Added implementations for get/set id, get_toolkitName,
4487 * registryd/registryd.c :
4491 Converted from use of OAF to bonobo-activation.
4492 * libspi/desktop.h :
4493 * libspi/desktop.c :
4495 Removed references to atksimpleobject, since base atkobject
4496 implementation now provides functionality we need.
4497 * libspi/atksimpleobject.c :
4498 * libspi/atksimpleobject.h :
4503 * at-bridge/Makefile.am
4504 * at-bridge/bridge.c
4507 Added directory "bridge" and contents, and added dependencies
4508 in Makefile.am/configure.in.
4509 Initial checkin of "at-bridge".
4510 This code is a GTK_MODULE which automatically registers
4511 GTK+ apps with the accessibility registry, using an object
4512 reference to the root ATK object.
4514 2001-08-10 Mark McLoughlin <mark@skynet.ie>
4516 * po/Makefile.in.in: Remove. Again. If this
4517 doesn't get autogenerated - you need to update
4520 2001-08-07 Mark McLoughlin <mark@skynet.ie>
4522 * po/Makefile.in.in: Add. Again.
4524 2001-07-31 Bill Haneman <bill.haneman@sun.com>
4526 * libspi/accessible.c : added support for 'description' property.
4527 * libspi/accessible.c
4529 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
4530 (since the two are now equivalent in libbonobo)
4538 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
4539 Bonobo::Unknown as does Accessibility::Accessible.
4540 * idl/StreamableContent.idl : as above, and replaced internal InputStream
4541 interface with Bonobo::Stream, since it was redundant with it.
4542 (The Stream returned by a StreamableContext object is expected to
4543 implement only a subset of Bonobo::Stream)
4545 2001-07-28 Anders Carlsson <andersca@gnome.org>
4547 * libspi/accessible.c (accessible_object_finalize): Change
4548 g_free to g_object_unref since the AtkObject is a GObject.
4550 2001-07-30 Bill Haneman <bill.haneman@sun.com>
4552 * idl/Accessibility.idl: add new IDL files
4555 * idl/Action.idl: Definitions of actionable UI object
4556 * idl/Component.idl: Definitions of UI component geometry, etc.
4557 * idl/Hyperlink.idl: Defs of hyperlink behavior
4558 * idl/Image.idl: Def of accessible image
4559 * idl/Selection.idl: Definition of UI object with selectable children
4560 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
4561 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
4562 * idl/Text.idl: Interface defs for UI elements with complex textual content
4563 * idl/Value.idl: Definition of UI element that is a value controller or display
4565 2001-07-27 Michael Meeks <michael@ximian.com>
4567 * po/Makefile.in.in: remove autogenerated file from CVS.
4569 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
4572 * idl/Registry.idl: include guard.
4574 * idl/Accessibility.idl: Add, and include all the other IDL
4577 * idl/*.idl: remove mass of pragmas etc.
4579 2001-07-26 Michael Meeks <michael@ximian.com>
4581 * registryd/Makefile.am (registryd_SOURCES): remove
4584 2001-07-27 Mark McLoughlin <mark@skynet.ie>
4586 * libspi/.cvsignore, registryd/.cvsignore,
4587 test/.cvsignore: updated.
4589 * po/Makefile.in.in: gettext update.
4591 2001-07-25 Bill Haneman <bill.haneman@sun.com>
4593 * initial CVS checkin
4595 2001-06-29 Michael Meeks <michael@ximian.com>
4597 * configure.in: add AM_CONFIG_HEADER to gen config.h