1 2002-08-12 Michael Meeks <michael@ximian.com>
3 * test/test-simple.c (global_listener_cb): bin bogosity.
4 (test_keylisteners): disable, still doesn't work reliably,
5 certainly not on my system anyway.
7 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
8 don't leak a reference on the DEC. This round-trip
9 fetching of the DEC per keystroke sucks, it should be
13 * cspi/cspi-lowlevel.h,
14 * cspi/bonobo/cspi-bonobo-listener.[ch],
15 * cspi/bonobo/cspi-bonobo.c: get the copyright
16 notices better - there is still a large amount of
17 work in at-spi falsely attributed solely to Sun.
19 * cspi/spi_main.c (cspi_object_ref): kill bogus
20 hash lookup, just increment the ref.
21 (SPI_freeString): make explicit the fact that we
22 handle NULL strings just fine.
23 (report_leaked_ref): obey coding standards.
24 (cspi_object_hash, cspi_object_equal): kill retval.
25 (cspi_object_release): only release if not on loan.
26 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
27 (cspi_object_borrow, cspi_object_return): impl.
29 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
30 use cspi_object_borrow / return.
32 2002-08-12 Darren Kenny <darren.kenny@sun.com>
34 * cspi/bonobo/cspi-bonobo-listener.c:
36 Don't call cspi_oject_new() because this is creating a new Accessible
37 every single time that an event is fired. This causes ATs like at-poke
38 to nolonger recognise the source of the event and thus ignore it.
39 Re-use the object from the cache, ref it and then unref it after the
40 listeners have been called.
42 2002-08-06 Darren Kenny <darren.kenny@sun.com>
44 * test/event-listener-test.c:
45 Added command-line options to disable mouse events (m) and
48 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
50 * configure.in: Update required versions of ATK, GTK+ and GAIL
52 * cspi-1.0.pc.in: Add dependency for X include files
55 * cspi/bonobo/Makefile.am:
56 Add $(X_CFLAGS) so that X include files
57 are picked up even if not in standard place (bug #71686)
59 2002-06-25 Bill Haneman <bill.haneman@sun.com>
61 * registryd/deviceeventcontroller.c: fix for 84261
62 (spi_dec_mouse_moved):
63 Added test of mouse button mask, so that we can detect mouse
64 button release. Unfortunately we can't otherwise detect mouse
65 button release events without consuming the mouse press event,
66 because of the way XGrabButton works. This means that our mouse
67 release events have a latency dependent on the polling period
68 while the mouse button is down. At least in this case we only
69 have to poll while the button is down, and not at other times.
70 If the button masks don't match with what the last press event
71 reported, we report the appropriate button release event.
72 (spi_dec_ungrab_mouse):
73 New method (not yet called).
74 (spi_device_event_controller_forward_mouse_event):
75 New method, sends mouse press event from GdkFilter.
76 (spi_dec_init_mouse_listener):
77 Added code to call XGrabButton, redirecting mouse button events to
78 the root window and our Gdk event loop.
80 Added code to filter mouse button events, and reordered.
82 * test/event-listener-test.c:
84 Added registration for mouse events of type "mouse:button".
86 2002-06-25 Bill Haneman <bill.haneman@sun.com>
88 * registryd/deviceeventcontroller.c: partial fix for 84261
89 (spi_dec_poll_mouse_idle):
90 New method, a timeout which checks to see if the mouse
92 (spi_dec_poll_mouse_moving):
93 A timeout to be called when mouse motion is underway.
94 (spi_dec_poll_mouse_moved):
95 A method which fires an event if the mouse has moved, and reports
96 whether or not it did so.
97 (spi_dec_init_mouse_listener):
98 A method which sets up the timeouts above.
99 (spi_device_event_controller_new):
100 Now calls spi_dec_init_mouse_listener.
102 * registryd/registry.c:
104 Now we initialize the device event controller when the registry is
105 initialized, instead of waiting until a client has requested a key
106 event notification; this is because we need the event controller
107 for mouse events, but the mouse event registration API is a
108 "registry" call and doesn't explicitly call the
109 deviceeventcontroller.
110 We now report mouse motion events with a 100 ms idle latency and
111 a 20 ms granularity when motion is in progress.
113 * test/event-listener-test.c:
115 We now register the "detail listener" for events of type
116 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
117 delivered only for the first mouse event received, and thereafter
118 "mouse:abs" events are delivered.)
120 * cspi/spi_registry.c:
121 DOCS: Documented the above mouse event typestrings.
123 2002-06-21 Bill Haneman <bill.haneman@sun.com>
125 Happy Summer Solstice...
127 * registryd/deviceeventcontroller.c: [fix for bug 84100]
128 (spi_controller_notify_keylisteners):
129 Changes to remove a listener from the listener list, freeing its
130 open keygrabs, if a notification to that listener fails. This
131 means that although a dead listener can continue to hold a passive
132 keygrab, a maximum of one dispatch to such a listener can fail
133 before the listener is removed from the list, thus the keygrab
134 will be released on the next occurrence.
136 (spi_notify_keylisteners):
137 Renamed to spi_controller_notify_keylisteners, as the controller
138 instance must now be passed as an argument.
139 The copied 'notify' GList is now a list of DEControllerKeyListener
140 objects, since we need more than just the CORBA reference if a
141 notify fails and we need to deregister the listener.
142 (impl_notify_listeners_sync):
143 (impl_notify_listeners_async):
144 (spi_device_event_controller_forward_key_event):
145 Modify use of notify_keylisteners in accordance with above
147 (spi_deregister_controller_key_listener):
148 New method introduced by refactoring, from
149 impl_deregister_keystroke_listener.
150 (impl_deregister_keystroke_listener):
151 Call spi_deregister_controller_key_listener.
152 (spi_key_listener_clone):
153 New method to copy a key listner without doing a 'ref' on the
154 remote object instance; used to create a notifier list.
155 (spi_key_listener_data_free):
156 New method, frees data without unreffing the source.
158 (spi_key_listener_clone_free): new method.
159 (spi_key_listener_free):
160 refactored to call spi_key_listener_data_free.
162 2002-06-20 Bill Haneman <bill.haneman@sun.com>
164 * registryd/registry.c: [fix for bug 86048]
165 (notify_listeners_cb):
166 Clear CORBA system exceptions which occur when notifying
167 listeners, before returning to the source of the original event,
168 since the event source doesn't care if the relayed notify failed.
169 In other words, don't complain to the atk-bridge if the registry
170 could not notify all its listeners, that's no fault of the
171 application and thus should not appear to be an error from the
172 application's perspective.
174 * cspi/spi_main.c: [fix for bug 85980]
176 Replaced use of bonobo_object_dup_ref with call to the wrapper
177 method, csou_dup_ref (); this silences a compiler warning and
178 provided more portability.
180 Ping the registry before return, and restart if necessary.
182 * cspi/bonobo/cspi-bonobo.c:
186 Fixed this method to return an object reference, as it should have
189 * cspi/cspi-lowlevel.h:
190 Added internal definition for cspi_ping() and fixed
191 return type of cspi_dup_ref().
194 2002-06-19 Bill Haneman <bill.haneman@sun.com>
196 * atk-bridge/bridge.c: [fix for bug 85305]
197 (spi_atk_bridge_register_application):
198 New method where the initial application registry calls have been
199 moved; it allows an application to re-register in response to
200 certain error conditions (such as a registry restart, see below).
202 Moved some initialization code to the method
203 spi_atk_bridge_get_registry, below.
204 (spi_atk_bridge_get_registry):
205 New, private accessor function for the Accessibility_Registry
206 instance. If the registry has not been started before, or has
207 died (as detected by failure of a CORBA exception), it is
208 restarted before return, and spi_atk_bridge_register_application
209 is called again to register with the new bridge instance.
210 (spi_atk_emit_eventv):
211 Set registry_died on error; use spi_atk_bridge_get_registry () to
214 * registryd/registry.c:
215 (impl_accessibility_registry_register_global_event_listener):
216 Set listener's event_type_quark to etype.minor instead of
217 etype.major (fix for bug 84856).
219 * test/event-listener-test.c:
220 (report_detail_event):
221 Change the output string so that user/tester can tell that the
222 'detail listener' was called instead of the 'generic listener'.
224 2002-06-18 Bill Haneman <bill.haneman@sun.com>
226 Fixes for bugs 84900, 84908, 84897, 84898.
231 Revved version to 1.1.0
232 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
233 version is going to HEAD which will be used for gnome-2-0-1 and later.)
235 * idl/Accessibility_Registry.idl:
236 (EventListener::notifyEvent):
237 Removed 'oneway' directive after extensive consulation with
238 ORBit2 team and others. This means also that unref() of the event
239 source can and should be done synchronously after emission, rather
240 than remotely in the client, after servicing the notify call on
243 NOTE: This change speeds up listener performance considerably, but
244 introduces new latency on the application side. We may want to
245 add an event queue to the atk-bridge.
247 * atk-bridge/bridge.c:
248 (spi_atk_bridge_focus_tracker):
249 Do a local unref() on the event source after emission.
251 * registryd/registry.c:
252 (desktop_remove_application):
253 Do an unref() on the event source after emission.
254 (desktop_add_application):
255 Do an unref() on the event source after emission.
256 (notify_listeners_cb):
257 When relaying an event, don't automatically add the event source
258 to the local object cache, just CORBA_dup it instead. Likewise,
259 if this method reenters, release the ref rather than calling
261 (impl_registry_notify_event):
262 No longer call remote unref() on the event source after dispatch.
264 * libspi/eventlistener.c:
265 (impl_accessible_event_notify_event):
266 Removed remote unref ()
268 * cspi/bonobo/cspi-bonobo-listener.c:
270 We now call cspi_object_new() instead of cspi_object_add() on
271 receipt of an event; thus we only have an implicit object ref
272 while the cspi_event method is being executed. If we need to keep
273 a reference to the object, the listener must call ref() on the
274 object. Thus also we don't need to call cspi_object_unref() after
275 invoking the listener callbacks in this method.
279 New internal API for creating a new cspi object, without adding it
282 Now uses cspi_object_new() to create the cspi object instance.
284 Now checks to see if the object is in the internal object cache,
285 and adds it if necessary before incrementing its refcount (note
286 that new objects are added with a refcount of 1).
288 New method which gives some information on leaked object instances
289 if leak detection is turned on.
291 * test/event-listener-test.c:
293 New method, used for testing event delivery timing for special
294 events of type "object:test". It reports elapsed time and
295 events/sec every 500 events.
297 Added a new listener, 'test listener', to check timing of event
298 receipt as noted above.
300 Added some timing output here also, reports elapsed time every 100
303 * test/stress-test.c:
304 Emit events of type "object:test", for use with "event-listener-test".
306 * test/test-simple.c:
307 (global_listener_cb):
308 Call Accessible_ref() on the event source before calling
309 validate_accessible, since the validation process does pointer
310 comparisons on the event source, meaning that the event source
311 needs to be added to the local object cache first. Any use of
312 such pointer comparisons between Accessible objects requires that
313 the caller hold an explicit reference to those objects.
314 We also must therefore call Accessible_unref() when leaving this method.
316 2002-06-13 Bill Haneman <bill.haneman@sun.com>
318 * registryd/deviceeventcontroller.c:
319 (spi_controller_update_key_grabs):
320 Fix for #84735, subsequent keygrab listeners not informed of
321 registration failure.
324 (spi_base_construct):
325 Add an assertion on construct, to make sure the GObject passed in
328 Explicitly initialize object->gobj pointer to NULL;
330 * cspi/bonobo/cspi-bonobo-listener.c:
331 (cspi_object_add_ref):
332 New method, can specify whether to dup-ref a bonobo object passed
333 in if it's newly added to the object cache.
335 Now calls cspi_object_add_ref with second param of "FALSE". This
336 prevents us from doing a pointless dup-ref followed by
337 release-unref for all those cases where the object is already in
338 our object cache (fix for #85205).
340 * atk-bridge/bridge.c:
341 (spi_atk_bridge_idle_init):
342 Removed this method, we don't need to initialize in an idle
345 Changed to call spi_atk_register_event_listeners directly, not via an
346 idle handler. (fix for #81139)
347 (gnome_accessibility_module_shutdown):
348 Removed conditional around deregistration of listeners, since we
349 don't use the idle handler and thus have always registered when
351 (spi_init_keystroke_from_atk_key_event):
352 Changed references to Accessibility_KEY_PRESSED to
353 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
355 2002-06-12 Bill Haneman <bill.haneman@sun.com>
357 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
362 * test/stress-test.c:
365 (may have been an incomplete commit yesterday?)
367 2002-06-12 Bill Haneman <bill.haneman@sun.com>
370 Added target for new stress-test.
372 * test/stress-test.c:
373 New test, sends 1000 focus notifies in quick succession.
375 * test/key-listener-test.c:
376 Now we report whether a keylistener registration
377 request succeeded or failed.
379 * test/event-listener-test.c:
380 Uncommented some listeners which are now implemented.
383 2002-06-06 Bill Haneman <bill.haneman@sun.com>
385 * registryd/deviceeventcontroller.c:
386 (spi_controller_update_key_grabs):
387 Fix for #82509, lack of failure notification when
388 ALL_WINDOWS keygrabs fail due to XGrabKey
389 failure: we synchronize the server when
390 registering a passive grab, to make sure we get the
391 error message before the call returns.
393 2002-06-03 Bill Haneman <bill.haneman@sun.com>
395 * test/test-simple.c:
397 Removed #ifdef KEY_IMPL_WORKS guards.
399 Removed #ifdef KEY_IMPL_WORKS guards.
400 Fixed bug which was causing a hang waiting for a
401 "press" event (which was already overwritten by a "release"
402 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
404 Added code to set globals 'key_press_received' and
405 'key_release_received'.
408 Added section "1.1 API Proposed Additions" which
409 lists API additions desired for at-spi-1.1 (only one so far).
410 Updated TODO list a little.
412 2002-06-02 Bill Haneman <bill.haneman@sun.com>
414 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
417 * configure.in: Revved to 1.0.0.
419 * idl/Accessibility_Registry.idl:
420 (registerKeystrokeListener):
421 Added boolean return value.
423 * registryd/registry.c:
424 (notify_listeners_cb): Minor fix to debug output.
426 * registryd/Accessibility_Registry.server.in.in:
427 Revved version number in OAFIID to 1.0.
429 * registryd/registryd.c:
431 Use new OAFIID version.
433 * cspi/bonobo/cspi-bonobo.c:
435 Use new OAFIID version.
441 * atk-bridge/bridge.c:
443 Use new OAFIID version.
445 * registryd/deviceeventcontroller.c:
446 (impl_register_keystroke_listener):
447 Added CORBA_boolean return value.
448 (spi_controller_register_device_listener):
449 Added gboolean return value.
450 (spi_controller_register_global_keygrabs):
451 Added gboolean return value.
452 (spi_key_set_contains_key):
453 Added implementation for many more control keys,
454 for instance F1-F12, arrow keys, End, Home, Page_Up,
456 [TODO: some still not implemented].
458 * text/screen-review-test.c:
459 (text_chunk_pad_string):
460 New function: it provides mapping between coordinate
461 positions of text chunks and character positions in the
462 screen-review-line output string.
463 (text_chunk_to_string):
464 New function, calls text_chunk_pad_string with various
465 pad/delimiter characters. Pushbuttons are delimited with
466 square brackets, Frames with vertical 'pipe' lines, and
467 other text with double quotes.
468 (text_chunk_list_to_string):
469 Calls new function text_chunk_to_string.
470 (toplevel_composite):
471 New function to composite layers CANVAS through
472 POPUP in each toplevel (other layers are composited
473 across toplevels, i.e. BACKGROUND and OVERLAY).
474 (review_buffer_composite):
475 Revise to use new methods.
481 2002-05-31 Laszlo Peter <laca@sun.com>
483 * configure.in: add the Xtst libdir to the runpath on Solaris,
484 since it's not in the default library search path.
486 2002-05-29 jacob berkman <jacob@ximian.com>
488 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
490 2002-05-29 Bill Haneman <bill.haneman@sun.com>
492 * test/screen-review-test.c:
493 (text_chunk_pad_string):
494 Added method, which pads the string according to the
495 text bounds of the chunk. It also takes a 3-character
496 string as a param which indicates the characters to be
497 used for start, padding, and end delimitation of the chunk.
498 (text_chunk_to_string):
499 Changed to use text_chunk_pad_string.
501 * configure.in: Fixed bug in AC_OUTPUT that was
502 causing path substitution in Accessibility_Registry.server
505 2002-05-23 Bill Haneman <bill.haneman@sun.com>
507 * text/screen-review-test.c:
509 New method which attempts a best-guess at clipping
510 text from components (like Java labels) which don't
511 actually implement AccessibleText. This inaccurate
512 clip is based on the assumption that the label is
513 justified left-and-right, and monospaced.
514 (text_chunk_get_clipped_string):
515 We now call guess_string_clip() for text-containing
516 components that don't implement AccessibleText.
518 * test/screen-review-test.c:
519 (review_buffer_get_text_chunk):
520 We now pull "name" from labels if they do not implement
521 AccessibleText (i.e. for Java labels).
522 (get_screen_review_line_at):
523 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
526 Replaceded AC_OUTPUT target
527 registryd/Accessibility_Registry.server with
528 registryd/Accessibility_Registry.server.in.
530 * registryd/Accessibility_Registry.server.in:
531 Removed (this is now a Makefile target).
533 * registryd/Accessibility_Registry.server.in.in:
534 Added (source for target above). We now use $(libexecdir) as
535 prefix for the executable at-spi-registryd.
537 * registry/Makefile.am:
538 Now install at-spi-registryd into $(libexecdir), and build .server
539 file with path (see above).
541 2002-05-22 Bill Haneman <bill.haneman@sun.com>
543 * test/screen-review-test.c:
544 (text_chunk_get_clipped_string):
545 We now check to see if words fall within clip bounds
546 before resorting to character-by-character clip bounds testing.
548 * TODO: Added a section for "2.2 Proposed API Additions".
550 2002-05-21 Bill Haneman <bill.haneman@sun.com>
552 * test/screen-review-test.c:
554 Added a screen review benchmarking and test program to test
557 * cspi/spi_accessible.c:
559 Made some of the debug strings passed to cspi_check_ev a
560 little more specific.
562 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
564 * test/screen-review-test.c: Fix crashes in debug statements
566 2002-05-20 Bill Haneman <bill.haneman@sun.com>
568 * test/screen-review-test.c: Added this file.
570 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
572 * atk-bridge/bridge.c: changed "object:state-change" to
573 "object:state-changed" to match docs.
575 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
577 * atk-bridge/bridge.c: Hooked up state-change event details.
579 2002-05-11 Bill Haneman <bill.haneman@sun.com>
581 * registryd/registry.c:
582 Fixed quarking bug in event string parsing; now events with
583 detail parameters get matched correctly to listeners.
586 * util/idl/Magnifier.idl: remove.
588 * util/*.[ch]: Remove.
589 Magnification utilities and IDL are now in module gnome-mag.
591 2002-05-10 Bill Haneman <bill.haneman@sun.com>
593 * registryd/deviceeventcontroller.c:
594 Fixed bug in grab key conversion which was causing keycode grabs
595 to be converted to AnyKey grabs.
598 updated NEWS file to reflect recent spin-off of gnome-mag.
600 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
602 * cspi/spi_accessible.c: Added exception checks. Fixed completely
603 busted AccessibleStateSet_compare. Removed redundant casts.
605 * cspi/spi-action.c: Removed redundant casts.
607 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
609 * cspi/spi_component.c: Fixed typos and casting error.
611 * cspi/spi_editabletext.c: Removed redundant casts.
613 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
615 * cspi/spi_hypertext.c: Eliminated redundant casts.
617 * cspi/spi_image.c: Eliminated redundant casts.
619 * cspi/spi_registry.c: Eliminated redundant casts.
620 SPI_deregisterGlobalEventListenerAll () removed retval variable.
621 * cspi/spi_selection.c: Removed redundant casts.
622 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
623 handling. Screen geometry and text offsets were being returned as 0
624 on error which is technically valid-- changed these to return -1.
625 Added marshaller for text boundary types to fix bug with boundary
626 types being passed incorrectly to atk.
628 2002-05-09 Bill Haneman <bill.haneman@sun.com>
631 * cspi/spi_registry.c:
632 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
633 which was uncovered by the recent key changes.
635 2002-05-09 Bill Haneman <bill.haneman@sun.com>
637 * test/event-listener-test.c:
639 Added new test, "event-listener-test";
640 this code does two things; it benchmarks traversal time
641 for the accessible hierarchy for the first running accessible
642 app, and it connects listeners for all supported event types.
643 It is thus useful as an example event listener and for
644 diagnostics/debugging of event generation.
646 2002-05-08 Bill Haneman <bill.haneman@sun.com>
649 Removed unnecessary dependency on libutil.
652 Revved micro version: 0.13.1
654 2002-05-08 Bill Haneman <bill.haneman@sun.com>
657 Removed util/Makefile from targets.
660 Removed util subdir from SUBDIRS (temporarily,
661 pending removal of magnifier-only code
665 #ifdef-ed out magnifier dependencies, since
666 magnifier IDL, headers, and binary now live in
667 module gnome-mag and we don't want at-spi to depend
668 on gnome-mag. A magnifier demo which can run alongside
669 simple-at is forthcoming in the gnome-mag module.
671 NOTE: Split magnifier binary, IDL, and magnification
672 activation code from at-spi into module gnome-mag.
674 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
676 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
677 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
679 2002-05-03 Bill Haneman <bill.haneman@sun.com>
682 Revved to version 0.13.0
684 * idl/Accessibility_Registry.idl:
685 Changed definition of KeySet from sequence of longs to sequence of
686 KeyDefinitions, and added KeyDefinition struct.
687 Required for fix to bug 80616.
689 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
690 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
691 to use new definition (see above).
693 * registryd/deviceeventcontroller.c: handle_keygrab(),
694 spi_keyset_contains_key():
695 Changed to make use of new struct; this allows matching based on
696 string key-name, for instance "Tab". This also allows matching of
697 composed characters, non-alphanumeric characters in a way that
698 doesn't involve dependencies on X keysym codes directly, etc.
700 * test/key-listener-test.c:
701 Added test for Alt-Tab key using "string" specification of keyset,
702 and modified one of the tests to use a keycode-based keyset.
703 Thus this test both tests and demonstrates the creation and use of
704 keysets of three forms: specified via keycode array,
705 keysym array, and string array. (The string case only contains a
706 single string, i.e. a string array of length 1).
709 Turned on PRINT_TREE option by default. Also fixed a
710 string-freeing bug in the PRINT_TREE code.
711 Added a listener to window:minimize events.
713 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
715 * atk-bridge/bridge.c:
716 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
717 for window:activate and window:deactiveate
718 (atk_bridge_property_event_listener atk_bridge_signal_listener
719 atk_bridge_window_event_listener) Tidy debug code
721 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
723 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
724 Fixed handling for NULL return value from ATK.
726 * libspi/action.c libspi/component.c libspi/editabletext.
727 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
728 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
729 Removed redundant casts.
731 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
732 Fixed off by one bug.
734 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
735 function not present in idl)
737 2002-05-02 jacob berkman <jacob@ximian.com>
739 * atk-bridge/Makefile.am: make atk-bridge a real module
741 2002-04-26 Radek Doulik <rodo@ximian.com>
743 * libspi/stateset.c (spi_init_state_type_tables): fix size of
744 atk_state_types table
746 2002-04-22 jacob berkman <jacob@ximian.com>
749 * libspi/Makefile.am: add deps on the built files to help
750 automake, and don't version the ORBit typelib
752 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
754 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
755 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
756 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
757 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
758 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
759 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
760 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
761 libspi/accessible.h libspi/accessible.h libspi/base.h
762 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
763 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
764 libspi/relation.h libspi/remoteobject.h libspi/selection.h
765 libspi/spi-private.h libspi/statetset.h libspi/table.h
766 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
767 util/mag_client.h util/mag_control.c util/mag_image.c
768 util/mag_image.h util/magnifier.c util/magnifier.h:
769 Add missing file headers; standardize existing ones
771 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
773 * atk-bridge/bridge.c: Added window event support.
775 2002-04-18 Michael Meeks <michael@ximian.com>
777 * libspi/relation.c (impl_getNTargets): impl.
778 (impl_getTarget): impl.
780 * libspi/Makefile.am: fix stateset install.
782 2002-04-17 Bill Haneman <bill.haneman@sun.com>
785 Started putting useful info in this file.
787 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
789 * atk-bridge/bridge.c:
790 Propagate state-changed notifications to ATs
792 * cspi/spi_registry.c: update docs to reflect actual behavior of
795 2002-04-17 Bill Haneman <bill.haneman@sun.com>
798 Incremented version to 0.12.1
801 Add missing declaration for magnifier_exit,
802 used by mag_control.c - Forte compiler didn't like
803 the implicit redeclaration of the function :-(
806 2002-04-16 Bill Haneman <bill.haneman@sun.com>
809 Revved version to 0.12 due to API change (see below).
811 * cspi/spi-roletypes.h:
812 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
813 definition from the inline docs, and added docs
814 for SPI_ROLE_LAST_DEFINED.
817 * cspi/spi_streamablecontent.c:
818 Added missing seek_type parameter to
819 (so far unused) method,
820 AccessibleStreamableContent_seek().
821 [ RT approval JodyG. ]
824 Fixed docs for SPI_createAccessibleKeystrokeListener.
826 * cspi/spi_registry.c:
827 Fixed docs for SPI_KEYSET_ALL_KEYS.
829 * docs/reference/cspi/at-spi-cspi-sections.txt:
830 Added a number of missing APIs to SECTIONS.
832 2002-04-16 Bill Haneman <bill.haneman@sun.com>
834 * registryd/Makefile.am:
836 * cspi/bonobo/Makefile.am:
837 Add $(X_LIBS) to makefiles.
839 2002-04-15 Bill Haneman <bill.haneman@sun.com>
842 Revved version to 0.11.
844 * libspi/component.c:
845 Added implementation for grabFocus.
847 * idl/Accessibility_Component.idl
848 (Accessibility_Component_grabFocus):
849 Made this method return boolean to indicate success or failure, to
850 be consistent with cspi and the corresponding ATK method.
852 * idl/Accessibility_Selection.idl
853 (Accessibility_Selection_selectAll) :
854 Made these methods return boolean to indicate success or
855 failure, to be consistent with cspi and the corresponding ATK methods.
857 * idl/Accessibility_EditableText.idl
858 (Accessibility_EditableText_setTextContents,
859 Accessibility_EditableText_insertText,
860 Accessibility_EditableText_cutText,
861 Accessibility_EditableText_deleteText,
862 Accessibility_EditableText_pasteText):
863 Made these methods return boolean to indicate
866 * cspi/spi_editabletext.c:
867 Made these methods return booleans.
869 * libspi/selection.c:
870 * libspi/component.c:
871 * libspi/editabletext.c:
872 Connected the boolean returns from ATK
873 to the server-side code referenced above.
875 2002-04-14 Bill Haneman <bill.haneman@sun.com>
877 * idl/Accessibility_Table.idl: Added missing methods,
878 Accessibility_Table_addRowSelection,
879 Accessibility_Table_addColumnSelection,
880 Accessibility_Table_removeRowSelection,
881 Accessibility_Table_removeColumnSelection.
884 Added C wrappers for above IDL:
885 AccessibleTable_addRowSelection,
886 AccessibleTable_addColumnSelection,
887 AccessibleTable_removeRowSelection,
888 AccessibleTable_removeColumnSelection.
891 Added server-side implementation code for IDL above, connecting
892 to pre-existing ATK api.
894 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
896 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
898 * libspi/accessible.c: Added implementation fo
899 Accessibility_Accessible_get_state.
901 * libspi/libspi.h: Added stateset.h to the list of includes.
903 * libspi/stateset.c: Fixed broken implementation.
905 2002-04-13 Bill Haneman <bill.haneman@sun.com>
908 Added implementation code for Accessibility_Magnifier_exit ().
910 * util/mag_control.c:
911 Added test code for above method; you can
912 now kill an existing magnifier via
913 ./mag_control q, from the util directory.
915 * test/key-listener-test.c:
917 Added a new test, for our key listener API.
919 2002-04-11 Bill Haneman <bill.haneman@sun.com>
921 * test/app.c, test/keysynth-demo.c:
923 Replace use of snprintf with g_snprintf.
924 (fix for bugzilla 78249)
926 2002-03-27 Michael Meeks <michael@ximian.com>
930 * util/Makefile.am (INCLUDES): fix.
931 (DONT_DIST_SOURCE): don't distribute the
934 * libspi/Makefile.am (dist-hook): ditto.
936 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
938 * libspi/hypertext.c:
939 Fix warnings when yelp is used with atk-bridge
941 2002-03-21 Michael Meeks <michael@ximian.com>
943 * libspi/application.c (spi_application_new):
944 use spi_accessible_construct so we use the AtkObject
947 2002-03-19 Michael Meeks <michael@ximian.com>
949 * registryd/registry.c (desktop_remove_application),
950 (desktop_add_application): clean coding style.
952 * registryd/desktop.c (spi_desktop_remove_application),
953 (spi_desktop_add_application): kill re-enterency hazards.
954 (spi_desktop_dispose): remove bogus redundant cast
955 obscuring bug; fix bug too.
956 (spi_desktop_init): make the desktop object immortal.
958 2002-03-16 Bill Haneman <bill.haneman@sun.com>
961 Added a #define-guarded tree-traversal step
962 when enumerating the apps (diagnostic tool).
964 2002-03-15 Bill Haneman <bill.haneman@sun.com>
966 * idl/Accessibility_Role.idl:
967 Added ROLE_DRAWING_AREA which seemed to be missing from the
970 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
972 * cspi/spi-roletypes.h cspi/spi_accessible.c
973 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
976 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
977 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
978 AT when applications are added and removed from the desktop. This
979 reverts the previous broken implementation using the backing
980 AtkObject for the SpiDesktop.
982 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
984 * registryd/desktop.c: emit the "children-changed::add" and
985 "children-changed::remove" signals on the backing ATK object for
986 the desktop so AT can tell when applications are started and shut
989 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
991 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
993 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
995 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
997 * cspi/spi_accessible.c: Implemented c bindings for stateset support
999 * cspi/state-types.h: synched with IDL and ATK
1001 2002-03-13 Bill Haneman <bill.haneman@sun.com>
1003 * libspi/accessible.c
1004 (impl_accessibility_accessible_get_child_at_index):
1005 Change return value for g_return_if_fail ()
1006 to CORBA_OBJECT_NIL instead of "0" (!)
1008 * registryd/Makefile.am:
1009 * registryd/Accessibility_Register.server.in:
1010 Changed name of executable, "registryd",
1011 to something more informative:
1014 2002-03-13 Michael Meeks <michael@ximian.com>
1016 * atk-bridge/bridge.c (atk_bridge_init): don't register
1017 if we're in a bonobo-component, rather than a bonobo app.
1019 2002-03-13 Michael Meeks <michael@ximian.com>
1021 * atk-bridge/bridge.c (gtk_module_init): split
1022 out body to (atk_bridge_init): here, since otherwise
1023 we get symbol conflicts and oddness when invoked
1024 from (gnome_accessibility_module_init): here (upd.)
1026 2002-03-11 Bill Haneman <bill.haneman@sun.com>
1029 New file. Explicitly allow "build sheriff" putbacks provided
1030 they are tested on Solaris.
1032 * docs/reference/cspi/Makefile.am:
1033 Added '-' to the "cp" command for index.sgml.
1034 ("patch by thomasvs, soon coming to a GUADEC near you")
1037 Incremented version number (0.9.0) for new release.
1038 Changed macro that checks for popt, to better detect
1039 obsolete versions of popt.
1042 Added X_LIBS to AC_SUBST, for applications
1043 that call Xlib API directly.
1046 2002-03-07 Bill Haneman <bill.haneman@sun.com>
1049 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
1052 Fix regression caused by hard-coding major
1053 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
1056 * test/test-simple.c (test_editable_text),
1057 (test_test): revert previous change (error was
1058 a regression in gail which is now fixed).
1060 2002-03-04 Michael Meeks <michael@ximian.com>
1062 * test/test-simple.c (test_editable_text),
1063 (test_text): pass G_MAXINT instead of '-1' for
1064 whole string - is this a good thing !?
1066 * cspi/spi_accessible.c
1067 (Accessible_getRelationSet): fix crasher bug
1068 overwriting the end of the array.
1070 * test/test-simple.c (validate_accessible): free,
1071 not g_free returned relation set.
1073 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
1075 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
1076 implemented stateset support
1078 * idl/Accessibility_State.idl: Made necessary changes to
1079 the IDL to support state sets.
1081 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1083 * registryd/deviceeventcontroller.c:
1084 Added implementation for generateMouseEvent.
1086 * cspi/spi_registry.c:
1087 Connected new implementation for generateMouseEvent
1090 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1093 Incremented revision (but no change in public API
1094 outside of 'utils', which are not installed public yet.)
1096 * libspi/component.c:
1097 Changed to use atk_component API for layers and
1098 mdi_zorder, instead of deprecated atk_object API.
1100 Magnification Utility Enhancements:
1103 Added implementation of createZoomRegion, clearAllZoomRegions,
1104 resizeZoomRegion. Added new commandline argument
1105 "--no-initial-region". Note that clearAllZoomRegions doesn't
1106 unmap the old '0' region as it should (yet), and the other
1107 methods only work when creating/resizing a single region,
1108 which is "region 0".
1109 (Code for multiple region support will be added later.)
1112 Now we raise the magnifier window each time it's refreshed;
1113 this will help keep it on top.
1115 * util/mag_client.h:
1116 Added simple wrappers for above, used by mag_control.
1117 For general use, it's recommended to use the bonobo magnifier
1118 control API directly instead of using these wrappers.
1121 Moved ZoomRegionData from magnifier.c to this file.
1123 * util/mag_control.c:
1124 Added some code to exercise new IDL implementations.
1126 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
1128 * libspi/text.c: Provide implementation for getAttributes.
1130 2002-02-04 Bill Haneman <bill.haneman@sun.com>
1133 Incremented revision.
1135 * test/test-simple.c:
1136 Replaced use of deprecated g_main_iteration with
1137 g_main_context_iteration.
1139 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
1142 Incremented revision for desktop alpha 2.
1144 2002-01-28 Mark McLoughlin <mark@skynet.ie>
1146 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
1149 * test/simple-at.c: include netinet/in.h.
1151 2002-01-24 Mark McLoughlin <mark@skynet.ie>
1153 * cspi/spi_accessible.c: (Accessible_getRelationSet):
1154 use NULL, not CORBA_OBJECT_NIL.
1156 * libspi/accessible.c:
1157 (impl_accessibility_accessible_get_relation_set):
1158 allocate the sequence correctly.
1160 * libspi/remoteobject.h: kill spi_remote_object_new.
1162 * test/test-simple.c: (validate_accessible): add code
1163 to test relation sets, now all we need is to figure
1164 out how to excercise this code path :/
1166 2002-01-18 Michael Meeks <michael@ximian.com>
1168 * test/test-simple.c
1169 (key_listener_cb): consume the key.
1170 (test_keylisteners): update.
1171 (main): wait for any pending unrefs on events.
1173 * registryd/deviceeventcontroller.c
1174 (spi_controller_update_key_grabs): only re-issue the
1175 grab on a key release.
1176 (spi_device_event_controller_forward_key_event):
1177 refresh the keygrabs before we notify the listeners,
1178 to reduce the X ungrab / re-grab race.
1179 (spi_controller_register_with_devices): remove
1180 XSelectInput - we do that with the gdk_window_ call.
1181 (_spi_controller_device_error_handler): return a value.
1182 s/GDK_DISPLAY/spi_get_display/
1184 2002-01-17 Michael Meeks <michael@ximian.com>
1186 * registryd/deviceeventcontroller.c
1187 (_deregister_keygrab): don't blow out the later
1190 * test/test-simple.c (test_keylisteners): do a
1191 more intelligent validation.
1193 2002-01-14 Michael Meeks <michael@ximian.com>
1195 * atk-bridge/bridge.c
1196 (gnome_accessibility_module_init),
1197 (gnome_accessibility_module_shutdown): impl.
1198 (gtk_module_init): protect vs. double inits.
1199 (add_signal_listener): impl.
1200 (spi_atk_bridge_state_event_listener): kill
1201 (deregister_application): split out of
1202 (spi_atk_bridge_exit_func): here.
1204 2002-01-18 Bill Haneman <bill.haneman@sun.com>
1207 Added caret tracking when using magnifier, and
1208 now use text bounds for focus tracking of text elements, rather than
1209 the component bounds - this is helpful for short text fields in long
1210 table cells, at high magnification.
1212 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1214 * registryd/deviceeventcontroller.c:
1215 Regression fix for keylistener de-registration; global keygrabs
1216 were not being released when deregisterKeystrokeListener was
1217 called in cspi, since
1218 Accessibility_DeviceEventController_deregisterKeystrokeListener
1219 was called with a zero-length keyset. That is because the cspi
1220 method, SPI_deregisterKeystrokeListener, does not take a keyset
1221 parameter but instead should remove all the key grabs held be a
1223 The code in impl_deregister_keystroke_listener was changed to copy
1224 the keylist from the listener instance previously registered with
1225 the DeviceEventController before releasing the grabs.
1227 * registryd/registry.c:
1228 * registryd/deviceeventcontroller.c:
1229 * libspi/spi-private.h:
1231 Changed spelling of "re-enterant" to "re-entrant" globally.
1233 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1235 * test/test-simple.c:
1236 Changed key listeners test - the test was slightly mis-using the
1237 (admittedly poorly documented) SPI_generateKeyboardEvent API.
1238 It now uses '=' as the key event listened to and generated,
1239 relying on a keysym match rather than assuming that keycode 33
1240 is always equal to keysym '!'.
1242 2002-01-15 Bill Haneman <bill.haneman@sun.com>
1245 Changed simple-at to use a specific keyset, rather than
1246 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
1247 manager, desktop, etc.
1249 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1251 * registryd/deviceeventcontroller.c:
1252 Replaced standard X error handler with a special handler that
1253 is non-fatal for failed keygrabs. This works around
1254 problems with keygrab clashes sometimes observed on
1256 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
1257 mouse handling code as yet).
1259 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1262 Incremented revision for desktop alpha release.
1265 Fixed a couple of the more glaring errors (still not
1268 2002-01-11 Michael Meeks <michael@ximian.com>
1270 * registryd/deviceeventcontroller.c
1271 (spi_device_event_controller_forward_key_event): kill
1272 XUngrabKey / XKeyGrab race.
1273 (spi_controller_grab_keyboard): rename to
1274 (spi_controller_update_key_grabs): this, and deal
1275 with incremental adding / removing grabs more
1277 (_register_keygrab): ensure we're not pending a remove.
1278 (spi_grab_mask_free): impl.
1279 (spi_controller_register_global_keygrabs): split out
1281 (handle_keygrab): impl.
1282 (_deregister_keygrab): impl.
1283 (spi_controller_deregister_global_keygrabs): impl.
1284 (spi_controller_update_key_grabs): re-issue the grab if
1285 we just recieved a notification.
1287 * test/test-simple.c (key_listener_cb): remove debug.
1289 * registryd/deviceeventcontroller.c
1290 (spi_controller_register_device_listener): after
1291 registering a global keygrab, actualy register it !
1292 don't wait for a timeout; doh !
1294 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
1295 to make it more readable / manipulable.
1296 s/grabmask/grab_mask/ s/refcount/ref_count/
1297 s/keyval/key_val/ s/modmask/mod_mask
1299 2002-01-08 Michael Meeks <michael@ximian.com>
1301 * registryd/deviceeventcontroller.c
1302 (spi_controller_register_with_devices): use gdk calls to
1304 (global_filter_fn): implement the filter.
1305 (spi_device_event_controller_check_key_event): rename to
1306 (spi_device_event_controller_forward_key_event): this & upd.
1307 (spi_get_display): replace with GDK_DISPLAY.
1309 * registryd/deviceeventcontroller.c
1310 (spi_controller_deregister_device_listener): unroll into
1311 (impl_deregister_keystroke_listener): here to simplify.
1312 (spi_controller_register_global_keygrabs): split cut and
1313 paste (!) out into (_register_keygrab): here, shorter & sweeter.
1314 (spi_controller_deregister_device_listener): remove.
1315 (impl_register_mouse_listener): remove, no mouse listener
1316 support in at-spi-1.0
1318 * registryd/registry.c
1319 (_device_event_controller_hook): kill.
1320 (spi_registry_init): upd.
1322 * registryd/deviceeventcontroller.c
1323 (spi_device_event_controller_class_init): upd.
1324 (spi_check_key_event): merge into.
1325 (spi_device_event_controller_check_key_event):
1326 here and kill strange static ev init, don't leak
1327 the x_event - nor dynamicaly allocate it.
1329 * registryd/registry-main.c (main): re-direct
1330 timeout to remove strange vtable mess.
1332 * registryd/deviceeventcontroller.c
1333 (remove_listener_cb): impl.
1334 (spi_controller_deregister_device_listener):
1335 fix re-enterancy hazard.
1337 2002-01-07 Michael Meeks <michael@ximian.com>
1339 * registryd/deviceeventcontroller.c
1340 (spi_device_event_controller_new): upd.
1341 (impl_notify_listeners_sync): upd. debug.
1342 (spi_notify_keylisteners): fix re-enterancy hazards,
1343 prettify, remove O(n*n) iteration.
1344 (spi_controller_grab_keyboard): fix iteration.
1345 (spi_check_key_event): re-format to suit coding style.
1346 Clean all the warnings - we're warning free.
1348 * registryd/deviceeventcontroller.h:
1349 * registryd/registry.h: make mutualy referential with
1350 typesafe forward references instead of (!) void pointer
1353 2002-01-11 Michael Meeks <michael@ximian.com>
1355 * cspi/spi_accessible.c (role_names): add a role name
1356 to sync this array with the enum; and make the regression
1359 2002-01-10 Michael Meeks <michael@ximian.com>
1361 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
1362 allow expansion of enumeration & kill warning.
1364 * test/test-simple.c (key_listener_cb): impl.
1365 (test_keylisteners): impl.
1367 * cspi/spi-listener.h: make listener signatures const
1368 on the provided (const) events.
1370 * test/keysynth-demo.c: upd. to const events.
1372 * test/simple-at.c: ditto.
1374 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1377 Rev the version to 0.5 (the previous tarball was named 0.4,
1378 even though the micro number was 3), so we need to rev upwards
1379 again for beta2/"desktop-alpha"
1382 Checked in a demo script, which requires editing before use!
1383 Proceed with caution.
1386 Fixed typo in header which was redefining SPI_ACTION_CLASS.
1388 * cspi/spi_accessible.c:
1389 Add a couple of missing enum initializations, and fix some enum
1392 * cspi/spi_registry.c:
1393 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
1395 * docs/reference/cspi/at-spi-cspi-sections.txt:
1396 Remove/fix a couple of broken document references.
1399 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
1400 as Alt-Control to listen for commands, since on some systems
1401 Control-Alt may already be grabbed.
1403 2002-01-10 Bill Haneman <bill.haneman@sun.com>
1406 Update version number to 0.4 for Beta2.
1408 * libspi/accessible.c, libspi/accessible.h:
1409 Expose spi_accessible_construct, to enable libgail-gnome
1410 construction from spi_accessible subtype.
1412 * utils/magnifier.c:
1413 Workaround for bug in some non-gnome-compliant window managers
1414 which made magnifier resize improperly.
1416 2002-01-09 Bill Haneman <bill.haneman@sun.com>
1418 * libspi/accessible.c: (spi_accessible_new) :
1419 Move the test for SPI_IS_REMOTE_OBJECT to
1420 spi_accessible_new_return, fixing a bug and compile time warning.
1422 2002-01-08 Michael Meeks <michael@ximian.com>
1424 * registryd/registry.c (parse_event_type): remove strndup.
1426 * libspi/Makefile.am (libspi_la_SOURCES): remove
1427 sources already included in the headers section.
1429 * libspi/util.c: add.
1431 * libspi/spi-private.h: add.
1433 * registryd/registry.c: update to moved list iterators.
1435 2002-01-05 Michael Meeks <michael@ximian.com>
1437 * test/simple-at.c (main): upd. auto-module set to atk-bridge
1439 * test/test-simple.c (main): ditto.
1441 2002-01-04 Michael Meeks <michael@ximian.com>
1443 * libspi/accessible.c (spi_accessible_new): remove 2nd,
1444 redundant construct.
1446 * registryd/registry.c
1447 (get_listener_list): impl.
1448 (impl_accessibility_registry_register_global_event_listener):
1449 re-impl. to simplify using ~, remove dodgy const cast off.
1450 (parse_event_type): constify.
1451 (impl_accessibility_registry_deregister_global_event_listener_all):
1452 re-write, more efficiency and simplicity, kill re-enterancy
1454 (compare_listener_corbaref, compare_corba_objects),
1455 (compare_listener_quarks): define out.
1456 (impl_accessibility_registry_deregister_global_event_listener):
1457 re-write for effiency, and nail re-enterancy hazard.
1458 (impl_accessibility_registry_get_desktop_list): impl.
1459 (re_enterant_list_delete_link): impl.
1460 (re_enterant_list_foreach): impl.
1461 (remove_listener_cb): impl.
1462 (_registry_notify_listeners): kill.
1463 (notify_listeners_cb): impl.
1465 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
1466 (SPI_getDesktopList): impl.
1468 * test/test-simple.c (test_desktop): test the methods.
1470 2002-01-03 Michael Meeks <michael@ximian.com>
1472 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
1473 keystrings since we free them
1474 (SPI_freeAccessibleKeySet): in here.
1476 * libspi/accessible.c (spi_accessible_new): kill warning,
1477 wonder what is going on with the constructor here.
1479 2002-03-01 Bill Haneman <bill.haneman@sun.com>
1481 * libspi/accessible.c (spi_accessible_new ()) :
1482 Added check to see if AtkObject is an SpiRemoteObject before
1483 creating an SpiAccessible.
1485 2002-05-01 Bill Haneman <bill.haneman@sun.com>
1487 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
1488 Enable keygrabs using the Control modifier, now that they are
1489 working properly (they were previously disabled).
1492 Change the command keygrab for this demo to "Control+Alt", so as
1493 to conflict with fewer other key commands on the system; this
1494 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
1496 Removed a pointlessly-chatty keylistener for unshifted keys
1497 (shifted keys are still reported).
1499 2002-02-01 Bill Haneman <bill.haneman@sun.com>
1501 * libspi/remoteobject.h:
1502 * libspi/remoteobject.c:
1503 Added definitions for special AtkObject subtype, required for
1504 support of remote components (specifically, used by BonoboControl
1505 accessibility implementation).
1507 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
1509 * cspi/spi.h: synched relation types with ATK
1511 * cspi/spi_accessible.c: Added implementations of
1512 AcccessibleRelation_* methods
1514 * idl/Accessibility_Relation.idl: added getRelationTypeName
1515 method. Synched known relation types with ATK. Allowed for
1516 relation type extension with the RELATION_EXTENDED type.
1518 * libspi/relation.c: Provided implementations for
1519 AccessibleRelation methods.
1521 2002-01-01 Bill Haneman <bill.haneman@sun.com>
1523 API tweaks for today's API 'freeze'.
1526 Added placeholder functions to allow future compatible expansion
1527 of the IDL interfaces.
1529 * idl/Accessibility_Registry.idl:
1530 Changed generateKeyEvent to generateKeyboardEvent. Changed
1531 signature of this method to accept an optional keystring in
1532 parameter (for complex text input synthesis) and changed use of
1533 simple 'boolean' parameter in registerKeystrokeListener to a
1534 struct, EventListenerMode.
1536 * cspi/spi_accessible.c:
1538 * cspi/spi_streamablecontent.c:
1539 Added references to AccessibleStreamableContent interface, and
1540 definition and implementation of AccessibleStreamableContent
1543 * cspi/spi_registry.c:
1545 Changed generateKeyEvent API to generateKeyboardEvent,
1546 taking a new (optional) keystring parameter to support complex
1551 Renamed directory (to better reflect its actual purpose, bridging
1552 from at-spi to ATK). The .so module is also now named
1555 * idl/Accessibility_Hypertext.idl:
1556 * libspi/accessible.c:
1557 * libspi/hypertext.h:
1558 * libspi/hypertext.c:
1559 Changed Accessibility_Hypertext to *not* derive from
1562 * cspi/spi_registry.c:
1563 Added list of legal event type names for 'window' events, which
1564 completes the registry event API.
1566 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
1568 * at-bridge/bridge.c: Added registration for separate
1569 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
1570 signals. If either of the first two parameters to the generic
1571 bridge signal handler are ints, they are passed on as event
1572 details. This allows an AT to determine what text was inserted.
1574 2001-12-21 Bill Haneman <bill.haneman@sun.com>
1576 * registryd/deviceeventcontroller.c:
1577 Fixed regressions in generateKeyEvent caused by the removal of
1578 gdk_init from registryd; we now use pure X calls to connect to the
1579 display, which makes sense because deviceeventcontroller already
1580 uses a fair bit of X API (should eventually be migrated to a
1581 'portability layer').
1583 * registryd/desktop.c:
1584 Fixed minor regression in spi_desktop_init, changed the way the
1585 desktop name is being set to work with new spi_base API
1586 (gobject-based, rather than AtkObject-based).
1588 * registryd/Makefile.am:
1589 Minor revision of makefile to use XTST_LIBS variable rather than
1590 hard-wiring the Xtst LD_ADD element.
1592 * test/keysynth-demo.c:
1593 Tweaked an output message; added initialization of the
1594 'keystrings' member of the "switch listener" key_set.
1596 * libspi/relation.c:
1597 Squashed compile-time warning.
1599 * libspi/accessible.c:
1600 Cosmetic and formatting fixes, renamed a static method.
1602 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
1604 * libspi/accessible.c
1606 * libspi/application.c
1609 * libspi/component.c
1610 * libspi/editabletext.c
1611 * libspi/hyperlink.c
1612 * libspi/hypertext.c
1614 * libspi/selection.c
1618 * registryd/desktop.c:
1619 Changed SpiBase to contain a GObject pointer rather than an AtkObject
1621 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1623 * idl/Accessibility_Registry.idl:
1624 Added boolean member 'is_text' to DeviceEvent. This is for the
1625 use of key events, and helps prevent ambiguity between composed
1626 key strings and keysym names, since both may potentially be
1627 returned in the 'event_string' member.
1629 * at-bridge/bridge.c:
1630 * registryd/deviceeventcontroller.c:
1631 Use the 'is_text' member when notifying device event listeners.
1632 Knon issue: composed characters are not dealt with correctly by
1633 the global key listener implementation yet.
1635 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1637 * at-bridge/bridge.c:
1638 Namespaced local static methods to spi_atk_bridge_* where
1639 previously named bridge_*, and spi_* elsewhere.
1641 * at-bridge/bridge.c:
1642 * cspi/bonobo/cspi-bonobo-listener.c:
1643 Added demarshalling/conversion for string member of
1644 Accessibility_DeviceEvent to AccessibleKeystroke.
1646 * registryd/deviceeventcontroller.c:
1647 Added code to fill the Accessibility_DeviceEvent key string value
1648 member for global key events (i.e. from XGrabKey), to match
1649 behavior of Accessibility_DeviceEvent from the toolkit key events
1650 from the bridge. Fixed timestamp in global key event notifications.
1653 Added printout of key event's string value to
1654 report_ordinary_key_event, for demo/debugging purposes.
1656 2001-12-15 Bill Haneman <bill.haneman@sun.com>
1658 * idl/Accessibility_Registry.idl:
1659 Removed Accessibility_KeyStroke structure in favor of generic
1660 Accessibility_DeviceEvent structure.
1661 Changed Accessibility_ControllerEventMask from a struct to an
1664 * at-bridge/bridge.c:
1665 Changed APIs to use DeviceEvent structure as above, and removed
1666 bogus casting between these event structures.
1668 * cspi/spi-listener.h:
1669 Added keystring member of AccessibleKeystroke structure, to enable
1670 matching on event "names" rather than only hardware codes and
1674 Added keystrings member of AccessibleKeySet struct, to allow
1675 matching on event names (as above).
1676 Added declarations for SPI_createAccessibleKeySet and
1677 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
1678 event modmasks directly as unsigned ints rather than structs with
1679 refcounts, in the DeviceEventController methods.
1681 * cspi/spi_registry.c:
1682 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
1684 * cspi/spi-roletypes.h:
1685 Added documentation of newly added SPI Roles.
1687 * cspi/bonobo/cspi-bonobo-listener.c:
1688 Changes in support of API changes above.
1690 * libspi/accessible.c:
1691 Converted APIs to use DeviceEvent structure (see IDL changes
1694 * registryd/deviceeventcontroller.c:
1695 Added DEControllerGrabMask structure to track keygrabs not only by
1696 modmask but by keyset as well; this allows us to do "global"
1697 (i.e. X) keygrabs on a per-key or keyset basis rather than always
1698 grabbing on AnyKey and then filtering after-the-fact.
1699 Bugfixes for event filtration mean that we don't get false matches
1700 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
1702 * registryd/deviceeventcontroller.c:
1703 Namespaced a number of static methods to use spi_ prefix. Major
1704 revision to internals of global (i.e. X) key grabs.
1706 * registryd/deviceeventcontroller.h:
1707 Removed keymask_list and added keygrabs_list to
1708 SpiDeviceEventController struct.
1711 Added use of SPI_createAccessibleKeySet API when creating a
1712 listener for only one key. Attach a listener to "shift spacebar
1713 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
1714 X key event names to SPI key event names, so that listeners are
1715 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
1717 * test/keysynth-demo.c:
1718 Changed (incorrect) use of X key event names (KeyPressed,
1719 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
1722 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1724 * libspi/accessible.c:
1725 Convert all AtkRole enumerations to Accessibility_Role enums when
1726 getting a role from an AtkObject.
1728 * cspi/spi_accessible.c:
1729 Complete the conversion of Accessibility_Role enums at runtime to
1730 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
1731 role enums correctly match those given in spi-roletypes.h.
1732 Re-synchronize the local names list for AccessibleRole_getName ().
1733 AccessibleRole_getName is now deprecated, since it duplicates the
1734 more reliable Accessible_getRoleName.
1735 Added some role types from Accessibility_Role.idl.
1737 * idl/Accessibility_Role.idl:
1738 Added some role types used by AtkRole.
1740 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1743 * cspi/spi_registry.c:
1745 * cspi/cspi-bonobo-listener.c:
1746 Namespaced all methods that did not begin with an "SPI_" or
1747 "Accessible" prefix to "SPI_".
1750 Homogenized internal function namespace to "cspi_" for statics.
1753 Patched tests to use the new CSPI API.
1755 * docs/reference/cspi/at-spi-cspi-sections.txt:
1756 Updated docs to reflect namespace changes, and added a number of
1757 methods to the documentation.
1759 * registryd/registry.c:
1760 Changed use of strings and string hashes in listener event
1761 matching and parse_event_string to use GQuark, which is guaranteed
1764 * registryd/registry.h:
1765 Squashed annoying warning.
1767 * idl/Accessibility_Role.idl:
1768 Extended range of available Accessibility_Role values.
1770 * cspi/spi_accessible.c:
1771 Re-ordered role names.
1773 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1775 * idl/Accessibility_Value.idl:
1776 Revert use of union back to CORBA_double, since the double type is
1777 more efficient and can contain the other types without loss of
1780 * idl/Accessibility_Accessible.idl:
1781 Added method Accessibility:Accessible:getRoleName, to complement
1782 Accessibility:Accessible:getRole.
1784 * cspi/spi_accessible.c:
1786 Added C binding for above, Accessible_getRoleName (), and changed
1787 signature of Accessible_getRole () to return an AccessibleRole.
1789 * cspi/spi-roletypes.h:
1790 Changed AccessibleRole_getName to return a char * instead of a
1791 const char *. This method is now at least temporarily deprecated
1792 in favor of asking Accessibles for their RoleNames directly.
1795 Revert to match Accessibility_Value.idl;
1799 Change signature of AccessibleValue methods to use double rather
1803 * cspi/spi_accessible.c:
1804 Changed Accessible_getRole to return an AccessibleRole enum rather
1805 than a UTF-8 string. The UTF-8 string can still be obtained via
1806 AccessibleRole_getName ().
1808 * test/test-simple.c:
1809 Add test_action. Small fixup to match API change to Accessible_getRole.
1812 Bugfix for get_action_from_servant ().
1814 2001-12-11 Michael Meeks <michael@ximian.com>
1816 * libspi/libspi.h: remove registry.h and
1817 desktop.h, deviceeventcontroller.h
1819 * libspi/Makefile.am: remove registry.[ch],
1820 desktop.[ch], deviceeventcontroller.[ch]
1822 * registryd/Makefile.am: add registry.[ch],
1823 desktop.[ch], rename registryd.c to registry-main.c.
1824 add deviceeventcontroller.[ch]
1826 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1829 Replace setenv() call with putenv ().
1831 * libspi/component.c:
1832 Bugfix in AccessibleComponent_getExtents (),
1835 2001-12-11 Michael Meeks <michael@ximian.com>
1837 * libspi/image.c (impl_getImageExtents): impl.
1838 (spi_image_class_init): upd.
1841 (AccessibleImage_getImageDescription): fix daft bug
1844 * test/test-simple.c (global_listener_cb): update
1845 to only quit if not --poke
1846 (main): catch --poke.
1847 (validate_accessible): upd. dumping, call test_image
1850 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1853 * idl/Accessibility.idl: update all IDL includes.
1855 * idl/*.idl - rename to namespace - this sucks, blame
1856 mjs' bad decision for oafd.
1858 * test/test-simple.c (create_test_window): add more tests.
1859 (create_tree): split this out.
1860 (validate_accessible): bugfix.
1862 2001-12-11 Michael Meeks <michael@ximian.com>
1864 * cspi/bonobo/cspi-bonobo-listener.c:
1865 (cspi_kestroke_listener_unref),
1866 (cspi_event_listener_unref): impl. undoing previous
1867 homenous environment - for Bill.
1869 * cspi/spi_table.c (long_seq_to_array): use
1872 * cspi/spi_main.c: split out all bonoboish bits into
1875 * cspi/spi-impl.h: upd. typedefs.
1877 * cspi/spi_registry.c: update to lowlevel API,
1878 return booleans to indicate success in some places.
1880 * cspi/spi_event.c: update to lowlevel API.
1882 * cspi/bonobo/Makefile.am: add.
1884 * cspi/bonobo/cspi-lowlevel.h: add
1886 * cspi/bonobo/cspi-bonobo.c: add
1888 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1890 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1891 (SUBDIRS): add bonobo, link in the libs.
1893 * cspi/spi-util.c: kill this file.
1895 * TODO: merge in my bits.
1897 2001-12-11 Michael Meeks <michael@ximian.com>
1899 * test/test-simple.c (test_value, test_table, main):
1900 remove unused variables causing warnings.
1902 * configure.in: cleanup checks - require gail.
1904 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1907 Changed Value interface to use SValue (scalars) rather than
1908 assuming all values are floats. This allows floats, doubles,
1909 longs, shorts, and unsigned values to be manipulated.
1910 Introduced Accessibility:SValue union.
1913 Updated to use new API above, and to work correctly with GValues
1914 of different types in AtkValue.
1917 Updated to use new API above. cspi's API is as yet unchanged.
1920 Updated the Value revision action item.
1922 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1924 * test/test-simple.c:
1925 Added test_table (GtkTreeView widget in test window to follow).
1926 Un-commented test_value, added GtkRange widget.
1927 Added GtkTreeView widget with GtkListStore. It passes regression
1928 test but leaks one SPI object for some reason.
1931 Fixed bug in impl__set_currentValue.
1933 2001-12-10 Michael Meeks <michael@ximian.com>
1935 * cspi/spi_text.c: audit for exception handling,
1936 tolerating NULL object references safely etc.
1938 * cspi/spi_value.c: ditto.
1940 * cspi/spi_table.c (AccessibleTable_getSummary),
1941 (AccessibleTable_getAccessibleAt),
1942 (AccessibleTable_getRowHeader),
1943 (AccessibleTable_getColumnHeader),
1944 (AccessibleTable_getCaption): fix bugs hidden by
1946 (long_seq_to_array): impl.
1947 (AccessibleTable_getSelectedRows),
1948 (AccessibleTable_getSelectedColumns): use it.
1950 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1953 Added a TODO list (rough and short for now).
1955 * cspi/spi_hyperlink.c:
1956 * cspi/spi_hypertext.c:
1957 Fixed macro name typos, and remove use of obsolete macro in
1958 AccessibleHyperlink_getLink.
1960 * cspi/spi_action.c:
1961 * cspi/spi_accessible.c:
1962 * cspi/spi_application.c:
1963 * cspi/spi_component.c:
1964 * cspi/spi_selection.c:
1967 Documentation fixes (removed return values from ref/unref methods).
1969 2001-12-10 Michael Meeks <michael@ximian.com>
1971 * cspi/spi_action.c: audit for exception handling,
1972 tolerating NULL object references safely etc.
1974 * cspi/spi_accessible.c: ditto.
1976 * cspi/spi_component.c: ditto.
1978 * cspi/spi_editabletext.c: ditto.
1980 * cspi/spi_hyperlink.c: ditto.
1982 * cspi/spi_hypertext.c: ditto.
1984 * cspi/spi_image.c: ditto.
1986 * cspi/spi_selection.c: ditto.
1988 2001-12-10 Michael Meeks <michael@ximian.com>
1990 * configure.in: use cspi/libspi.pc.in instead.
1992 * Makefile.am (pkgconfig_DATA): upd. to match.
1994 * test/simple-at.c (report_focus_event): kill hacks around
1995 bad return values, use putenv not setenv
1997 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
1998 fire ChildGone - I killed it.
2000 * libspi/component.c
2001 (impl_accessibility_component_get_extents): remove
2004 * idl/Accessible.idl: kill ChildGone exception.
2006 * cspi/*.[ch]: kill int return from ref / unref.
2008 * cspi/spi_main.c (cspi_object_add_check): fold into
2009 (cspi_object_add): here.
2011 * cspi/spi_component.c (AccessibleComponent_getExtents):
2012 handle exceptions elegantly.
2014 * cspi/spi-private.h (cspi_check_ev_return),
2015 (cspi_return_if_fail): impl.
2017 * cspi/spi_accessible.c: use extensively.
2018 (AccessibleStateSet_equals): add direct compare check.
2020 * cspi/spi_selection.c: tolerate NULL objs, and check
2021 exceptions before return.
2023 * cspi/spi-util.c (cspi_warn_ev): rename to
2024 (cspi_check_ev): this & don't pass ev in; no point.
2026 2001-12-10 Michael Meeks <michael@ximian.com>
2028 * test/test-simple.c: use putenv not setenv
2029 (get_environment_vars): more chatty if you're not using
2032 * test/simple-at.c: do the setenv so more people see the
2035 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2037 * libspi/registry.c:
2038 Changed check of CORBA_environment on notification to be a warning
2039 instead of an error for the moment, since we can recover from this
2040 error when caused by a queued notification from a dead app.
2043 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
2044 used by all current implementors of AtkValue), and coerce to
2045 CORBA_float. (Proper general case fix may require change to Value.idl).
2047 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2051 * cspi/spi_accessible.c:
2052 Documentation fixes: added user_data params to documentation for
2053 listeners and callbacks.
2055 * cspi/spi_accessible.c:
2056 Changed AccessibleStateSet_compare to return a
2057 StateSet rather than return the difference set into a third parameter.
2060 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2063 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
2064 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
2068 Remove subdirectory po from SUBDIRS for now.
2070 * at-bridge/bridge.c:
2071 Beefed up a couple of debug printouts.
2072 One-line fix for signal notification name formatting.
2074 * libspi/accessible.c:
2075 Added assertion to spi_accessible_new ().
2077 * libspi/application.c:
2078 Put #ifdef qualifiers around a printf.
2081 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
2083 * registryd/Makefile.am:
2085 Replaces use of XML_I18N_MERGE_SERVER_RULE with
2086 INTLTOOL_SERVER_RULE macro.
2089 Added an event listener for several ATK signals, for
2090 testing and debugging. Removed a few g_warnings.
2091 Added test output if focussed item implements the Value interface.
2093 * test/test-simple.c:
2094 Added test_value () function (known not to pass at the moment, so
2095 not actually called yet.
2097 2001-12-08 Michael Meeks <michael@ximian.com>
2099 * at-bridge/bridge.c (bridge_focus_tracker),
2100 (emit_eventv): fix the same ref. leak.
2101 (register_atk_event_listeners): don't leak.
2103 * cspi/spi-listener-impl.c (cspi_event): more
2104 protection from client code.
2106 * test/test-simple.c (test_desktop): unref the app.
2108 * test/Makefile.am: upd. TESTS.
2110 * at-bridge/bridge.c (bridge_exit_func): release the registry.
2112 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
2114 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
2116 * cspi/spi_registry.c: constify in strings.
2117 (deregisterGlobalEventListenerAll): don't release the ref.
2119 * cspi/spi.h: start removing redundant / conflicting
2120 gtkdoc comments, making the API readable at a glance :-)
2122 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
2124 * test/keysynth-demo.c (keysynth_exit, main): upd.
2126 * test/simple-at.c (main, simple_at_exit): upd.
2128 * test/test-simple.c (unutterable_horror): kill.
2129 (utterable_normal_derefs): kill.
2130 (main): upd & do a setenv before gtk_init, so that we
2131 can use memprof - and to save the pain of remembering
2132 this, if we're running under memprof - don't exit.
2134 * cspi/spi_main.c (SPI_exit): return exit status
2136 (SPI_event_quit): impl.
2137 (SPI_event_main): simplify.
2138 (cspi_is_gnome_app): kill.
2139 (SPI_init): kill isGNOMEapp arg.
2141 * at-bridge/bridge.c (register_atk_event_listeners):
2142 re-instate the unref.
2143 (bridge_exit_func): don't re-activate the registry,
2144 protect vs. theoretical re-entry, use the
2145 AT_BRIDGE_SHUTDOWN env. var to determine whether to
2146 assert a clean shutdown - for regression tests.
2148 2001-12-08 Abel Cheung <maddog@linux.org.hk>
2150 * configure.in: Comment out dummy i18n support for now,
2151 otherwise it fails to build.
2152 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
2153 EXTRA_DIST. They are missing in tarball.
2155 2001-12-07 Michael Meeks <michael@ximian.com>
2157 * util/magnifier.c: kill bonobo activation reg. race.
2159 * libspi/component.c
2160 (impl_accessibility_component_get_extents): make it match
2163 * libspi/registry.c (_registry_notify_listeners):
2164 re-remove X headers & reconcile conflicts.
2165 (spi_listener_struct_free): bad conflict resolve.
2166 (impl_accessibility_registry_register_application):
2167 more bad merging fixed.
2168 (impl_accessibility_registry_deregister_application): ditto.
2169 (spi_registry_new): ditto.
2170 (spi_registry_init): don't have an applications field.
2172 [ merge fixups2 branch to here ]
2173 2001-12-07 Michael Meeks <michael@ximian.com>
2175 * test/simple-at.c (report_focus_event),
2176 (report_focussed_accessible): remove g_warning debug.
2178 2001-12-07 Michael Meeks <michael@ximian.com>
2180 * test/test-simple.c (validate_tree): comment out some checks.
2181 (test_desktop): app now not registered idly - horay.
2183 2001-12-07 Michael Meeks <michael@ximian.com>
2185 * cspi/spi_registry.c
2186 (registerAccessibleKeystrokeListener): clean, stop it leaking
2187 great swathes of memory, and device event controller references.
2188 ensure we always pass valid sequences.
2189 (deregisterAccessibleKeystrokeListener): ditto.
2190 (generateKeyEvent): upd.
2192 * at-bridge/bridge.c (bridge_key_listener): handle
2193 registry dead exception gracefully.
2194 (bridge_focus_tracker, emit_eventv): free ev.
2196 * test/simple-at.c (report_focus_event): fix polarity.
2198 * libspi/application.c (notify_listeners): kill the ev
2199 argument, and make sure we init the ev we use.
2200 (spi_application_object_event_listener): split out a chunk
2201 (get_atk_object_ref): here & fixup.
2202 (reverse_lookup_name_for_toolkit_event): make const.
2203 (spi_application_toolkit_event_listener): fixup, kill leaks
2206 * at-bridge/bridge.c (register_atk_event_listeners):
2207 don't unref the noop object - causes grief.
2209 * libspi/registry.c: remove the X headers.
2210 turn off the debug churn.
2212 * libspi/accessible.c (spi_accessible_new_return): only
2213 release the ref if we are supposed to [doh]
2215 * test/simple-at.c (report_button_press, report_focus_event):
2216 guard vs. unexpected exit.
2218 * at-bridge/bridge.c (gtk_module_init): prune printf.
2219 (bridge_exit_func): fix app unref.
2221 * libspi/Makefile.am: don't install registry or desktop.h
2223 * libspi/*.h: update includes.
2225 * libspi/application.h: don't include ourself, or
2226 other redundant headers.
2228 2001-12-06 Michael Meeks <michael@ximian.com>
2230 * libspi/accessible.c
2231 (get_accessible_from_servant): impl.
2232 Upd. all CORBA impl.s to use it killing cut and paste.
2234 * cspi/spi_main.c (cspi_cleanup): guard vs. double
2236 (SPI_init): register atexit cleanup handler here.
2238 2001-12-06 Michael Meeks <michael@ximian.com>
2240 * at-bridge/bridge.c (gtk_module_init): g_error on
2241 activation exception
2243 2001-12-06 Michael Meeks <michael@ximian.com>
2245 * at-bridge/bridge.c (gtk_module_init): some sort of
2246 confusing merge clash - reverted.
2247 (bridge_idle_init): ditto.
2249 * test/test-simple.c (main, utterable_normal_derefs):
2250 merge from Bill - somehow not committed.
2252 2001-12-06 Michael Meeks <michael@ximian.com>
2254 * libspi/value.c (spi_value_class_init): upd.
2255 (spi_value_finalize): kill.
2257 * libspi/table.c (spi_table_finalize): kill.
2258 (spi_table_interface_new): upd.
2259 (spi_table_class_init): upd.
2260 (get_table_from_servant): impl.
2261 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2263 * libspi/selection.c (spi_selection_finalize): kill.
2264 (spi_selection_interface_new): upd.
2265 (spi_selection_class_init): upd.
2266 (get_selection_from_servant): impl.
2267 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2269 * libspi/relation.c (spi_relation_finalize): kill.
2270 (spi_relation_class_init, spi_relation_new): upd
2272 * libspi/image.c (spi_image_finalize): kill.
2273 (spi_image_class_init): upd.
2274 (spi_image_interface_new): upd.
2275 (get_image_from_servant): impl.
2276 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2278 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
2279 (spi_hyperlink_finalize): kill.
2280 (spi_hyperlink_new): upd.
2281 (get_hyperlink_from_servant): impl.
2282 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2284 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
2285 (spi_hypertext_finalize): kill.
2286 (spi_hypertext_class_init): upd.
2287 (get_hypertext_from_servant): impl.
2288 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2290 * libspi/editabletext.c (spi_editable_text_finalize): kill.
2291 (spi_editable_text_interface_new): upd.
2292 (get_editable_text_from_servant): impl.
2293 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2295 * libspi/text.c (get_text_from_servant): impl.
2296 All impls - update to use it killing more cut and paste,
2297 also fix bad string returns on duff args ( a somewhat
2298 impossible case to handle - but hey ).
2299 (spi_text_construct): impl.
2300 (spi_text_interface_new): upd.
2301 (spi_text_object_finalize): kill.
2303 * libspi/component.c
2304 (accessibility_component_object_finalize): kill.
2305 (spi_component_class_init): upd.
2306 (get_component_from_servant): impl. helper to kill cut & paste.
2307 (impl_accessibility_component_contains):
2308 (impl_accessibility_component_get_accessible_at_point):
2309 (impl_accessibility_component_get_position):
2310 (impl_accessibility_component_get_extents):
2311 (impl_accessibility_component_get_mdi_z_order):
2312 (impl_accessibility_component_get_layer):
2313 (spi_component_interface_new): upd.
2315 * libspi/action.c (spi_action_finalize): kill.
2316 (spi_action_class_init): upd. inherit from SpiObject.
2317 (spi_action_interface_new): upd.
2318 (get_action_from_servant): impl. helper to reduce cut & paste.
2319 (impl_getKeyBinding, impl_getName, impl_doAction),
2320 (impl_getDescription): Use it everywhere.
2322 * cspi/spi_main.c (get_live_refs): a pointer hash.
2323 (spi_object_hash, spi_object_equal): comment out.
2324 There are issues with CORBA object hashing that need
2327 * libspi/application.c (spi_application_init),
2328 (spi_application_new): upd.
2330 * libspi/accessible.c (spi_accessible_object_finalize): kill.
2331 (spi_accessible_class_init): upd.
2332 s/accessible/object/ in epv methods.
2334 2001-12-05 Bill Haneman <bill.haneman@sun.com>
2336 * at-bridge/bridge.c:
2337 Reorder the bridge initialization into the bridge gtk_module_init,
2338 an immediate call to bridge_register_app, and an idle_add for
2339 register_atk_event_listeners (the only code that *must* wait until
2340 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
2341 the activation, creates the application's Accessible object, and
2342 queues the bridge_idle_init function. Restored call to
2343 Accessibility_Registry_deregisterApplication().
2344 Prior to making this call we obtain a new reference to the
2345 registry, which is a temporary hack that helps us handle apps that
2346 shut down the bonobo mainloop before we get there.
2348 * libspi/registry.c:
2349 Fix string leakage in debug block, and don't segv if a an app
2350 dies before its event notifications have been propagated.
2353 Modify cspi_check_ev() to call g_warning() rather than g_error(),
2354 as stopgap measure until we get proper exception handling when
2355 objects die during or before interrogation.
2359 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
2360 Also changed default value of is_gnome_app to TRUE.
2363 * test/keysynth-demo.c:
2364 Changed use of SPI_init and SPI_event_main to reflect API change above.
2367 Made report_focus_event check the warning value from getName
2368 before reporting on focussed accessible; simplifies handling of
2369 notifications from dead objects.
2371 * test/test-simple.c: (Changes not in this patch since source is
2374 2001-12-05 Michael Meeks <michael@ximian.com>
2376 * registryd/registryd.c (main): protect against
2377 bonobo-activation startup race condition.
2379 * cspi/spi_main.c (cspi_object_add_check): cope
2380 with the exception elegantly.
2382 * idl/Accessible.idl: decl. ChildGone
2384 * libspi/desktop.c (spi_desktop_dispose): impl.
2385 (spi_desktop_class_init): upd.
2386 (spi_desktop_add_application),
2387 (spi_desktop_remove_application),
2388 (abnormal_application_termination): impl.
2389 (impl_desktop_get_child_at_index): re-impl.
2392 (impl_accessibility_registry_deregister_application),
2393 (impl_accessibility_registry_register_application):
2394 kill excessive debug clutter.
2396 * test/test-simple.c (test_misc): test some NULL
2397 tolerance. (main): upd.
2399 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
2400 implements no interfaces - so let's not crash.
2402 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
2404 * libspi/accessible.c (spi_accessible_new_return): impl.
2405 helper to calm the cut and paste, to cope with
2406 NULL AtkObjects effectively and efficiently, and to kill
2407 the referencing bugs.
2409 * libspi/table.c (impl_getAccessibleAt),
2410 (impl_getRowHeader, impl_getColumnHeader): upd.
2412 * libspi/hyperlink.c (impl_getObject): upd.
2414 * libspi/accessible.c
2415 (impl_accessibility_accessible_get_child_at_index): upd.
2417 * libspi/component.c
2418 (impl_accessibility_component_get_accessible_at_point): upd.
2420 * test/test-simple.c (test_editable_text, test_text): impl.
2423 * cspi/spi_editabletext.c
2424 (AccessibleEditableText_insertText): constify.
2426 * test/test-simple.c (focus_me): make more robust.
2428 * libspi/accessible.c: remove some printfs in methods that
2429 we test and work fine, so we can get a clean tree dump.
2431 * test/test-simple.c (validate_accessible),
2432 (validate_tree): make tree dumping pretty too.
2434 * at-bridge/bridge.c (bridge_signal_listener): upd. so
2435 it builds without debug on.
2437 * test/test-simple.c (validate_accessible): fix the most
2440 * cspi/spi_main.c (spi_object_release): leave the nicely
2441 blanked memory around if in debug mode.
2443 * cspi/spi-listener-impl.c (cspi_event): use add_check.
2445 [committed to fixups2]
2446 2001-12-05 Michael Meeks <michael@ximian.com>
2448 * libspi/editabletext.c
2449 (spi_editable_text_class_init): g_type_class_peek_parent,
2450 not interface peek - so we finalize cleanly.
2452 * libspi/accessible.c (spi_accessible_new): kill debug.
2454 * test/test-simple.c (validate_accessible): fix ref.
2455 leak, print strings before freeing them; sigh, comment a
2456 chunk out due to strangeness.
2457 (validate_tree): unref the child after use.
2459 * cspi/spi_component.c (AccessibleComponent_getLayer):
2460 add missing break statement, switch on zlayer not the
2461 uninitialized retval.
2463 * cspi/spi_main.c (cspi_object_add): add assert, local ref
2464 before (possibly re-entering) remote unref.
2466 * test/simple-at.c (main): unref the desktop.
2468 * cspi/spi_accessible.c (cspi_accessible_is_a): move
2471 * cspi/spi_main.c (cspi_accessible_is_a): here to
2472 isolate bonobo API usage more.
2474 * libspi/registry.c (impl_accessibility_registry_register_application):
2475 prune bogus comment.
2477 2001-12-04 Michael Meeks <michael@ximian.com>
2479 * test/test-simple.c (validate_tree): upd.
2480 IndexInParent check to make it more lucid.
2481 (validate_accessible): dump the tree.
2483 * libspi/accessible.c (de_register_public_ref),
2484 (get_public_refs): impl.
2485 (spi_accessible_new): make more efficient & intuitive.
2486 Now IndexInParent check works.
2488 2001-12-04 Michael Meeks <michael@ximian.com>
2490 * cspi/spi-util.h: remove.
2492 * cspi/spi.h: move SPI_freeString here
2494 * libspi/component.c (impl_accessibility_component_get_layer):
2496 (impl_accessibility_component_get_mdi_z_order): ditto,
2497 return -1 on error - is this ok ?
2499 * test/test-simple.c (test_application): impl.
2501 * cspi/spi_accessible.c (Accessible_getApplication),
2502 (Accessible_isApplication): impl.
2504 * libspi/registry.c (spi_listener_struct_free): release
2505 the CORBA reference too.
2507 * libspi/accessible.c
2508 (impl_accessibility_accessible_get_parent): fix ref leak.
2510 * libspi/registry.c (spi_registry_new): make the registry
2511 immortal - we don't want it to go away ever.
2513 * libspi/application.c
2514 (spi_accessible_application_finalize): impl. cleanup.
2516 * cspi/spi_registry.c
2517 (deregisterGlobalEventListenerAll),
2518 (deregisterGlobalEventListener),
2519 (deregisterAccessibleKeystrokeListener): fix ref leak.
2521 * cspi/spi_main.c (SPI_init): remove redundant ref.
2523 * test/test-simple.c (unutterable_horror): impl. to force a
2528 (impl_accessibility_registry_deregister_application): release
2529 the application when we de-register it.
2531 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
2532 until we have the infastructure to get it right.
2534 2001-12-03 Michael Meeks <michael@ximian.com>
2536 * libspi/Makefile.am: only build eventlistener.[ch]
2538 * libspi/accessible.c
2539 (impl_accessibility_accessible_get_child_at_index): don't leak.
2541 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
2542 before we hit the idle handler.
2544 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
2545 debugging than exit.
2547 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
2549 * libspi/listener.c (impl_notify_event): check source
2550 not NIL before unref.
2552 * libspi/registry.c (impl_registry_notify_event): ditto.
2554 * libspi/eventlistener.c
2555 (impl_accessible_event_notify_event): unref the source.
2557 * libspi/accessibleeventlistener.c
2558 (impl_accessible_event_notify_event): unref the source.
2560 * idl/Event.idl: remove 'hash_id' attribute - of no
2563 * libspi/application.c (notify_listeners): upd list
2565 (spi_application_object_event_listener),
2566 (spi_application_toolkit_event_listener): upd to do correct
2570 (_registry_notify_listeners): update.
2571 (parse_event_type): this method also leaks like a sieve.
2572 (impl_accessibility_registry_deregister_global_event_listener):
2573 fix ETYPE_WINDOW case.
2575 * libspi/application.c
2576 (impl_accessibility_application_register_object_event_listener):
2579 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
2581 * libspi/hypertext.c (impl_getLink): ditto.
2583 * cspi/spi_main.c (cspi_object_add): remove
2584 bogus CORBA_Object_duplicate.
2586 * cspi/spi-listener-impl.c (cspi_event): dup/ref
2589 * cspi/spi_accessible.c
2590 (Accessible_getRelationSet): fix leak / referencing issue.
2592 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
2593 (cspi_object_add, cspi_object_unref): upd.
2594 (spi_object_release, get_live_refs): impl.
2595 (cspi_cleanup): simplify.
2597 * *.[ch]: s/boolean/SpiBoolean/
2599 * cspi/spi_accessible.c (role_names): actualy order so it
2600 corresponds with the enum !
2602 * test/test-simple.c (test_roles): check some role strings
2603 vs. enums to detect offset errors.
2605 2001-12-01 Michael Meeks <michael@ximian.com>
2607 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
2609 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
2611 (Accessible_getChildAtIndex): use cspi_add_check so we
2612 check the ev before using a (possibly) invalid value.
2614 * libspi/accessible.c
2615 (impl_accessibility_accessible_get_parent): don't segv
2618 * at-bridge/bridge.c (gtk_module_init): upd.
2619 (bridge_property_event_listener): don't leak strings
2621 (bridge_state_event_listener),
2622 (bridge_property_event_listener): don't use a static
2623 buffer in case of recursive event emission &
2624 re-enterancy - split out the swathe of cut and paste
2626 (emit_eventv): and fix 2 ref leaks here & comply to the
2628 (bridge_register_app): rename to
2629 (bridge_idle_init): this and kill arg parsing, split
2630 various inits & bonobo-activation registration to module
2631 init time, kill referencing error.
2632 (bridge_exit_func): fix the same leak.
2633 (bridge_focus_tracker): don't leak event structures
2635 (bridge_signal_listener): more leakage and cut & paste
2637 (bridge_key_listener): return the result - FIXME is
2638 this polarity correct ?
2639 (accessibility_keystroke_from_atk_key_event): rename
2640 (accessibility_init_keystroke_from_atk_key_event): and stop
2642 (gtk_module_init): return a value - not that it is checked by
2644 (bridge_key_listener): register my horror at casting between
2645 IDL defined structs.
2646 (bridge_get_registry): kill - not used.
2648 * cspi/spi_accessible.c (Accessible_getRole): make return const.
2650 * test/test-simple.c (test_roles): impl.
2651 (test_desktop, validate_accessible, validate_tree): impl.
2653 * cspi/spi_accessible.c (role_names): fixup bogus
2654 MAX_ROLES setup, make constants const for efficient linkage
2655 (AccessibleRole_getName): conform to coding style, make
2658 2001-11-30 Michael Meeks <michael@ximian.com>
2660 * cspi/spi.h: add missing prototype.
2662 * libspi/registry.c (spi_listener_struct_new): fix sig.
2664 * test/Makefile.am: add test-simple
2666 * test/test-simple.c: add
2668 * test/test.sh: add.
2670 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
2672 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
2673 do it straight - since otherwise we often get an activation race.
2675 [ work before Bill duplicated a chunk of it ... ]
2676 2001-11-30 Michael Meeks <michael@ximian.com>
2678 * libspi/keystrokelistener.c
2679 (spi_keystroke_listener_class_init): fixup arg
2682 * libspi/eventlistener.c
2683 (spi_event_listener_class_init): ditto.
2685 * tests/test.sh: add.
2687 * cspi/spi-listener-impl.h: update macros.
2689 * cspi/spi-listener-impl.c
2690 (cspi_event_listener_remove_callback): add
2691 correct pre-conditions.
2693 * cspi/spi_main.c (SPI_exit): guard vs. double
2694 exits, exit the mainloop nicely.
2695 (SPI_event_main): make more sense.
2696 (SPI_init): move the atexit evilness here so we
2697 always do it (yuck).
2698 (SPI_event_main): upd.
2700 * test/simple-at.c: update for listener changes.
2702 * registryd/registryd.c (main): prune kruft.
2704 * libspi/libspi.h: upd.
2706 * libspi/eventlistener.[ch]: rename broken macros.
2708 * libspi/accessibleeventlistener.[ch]: remove.
2710 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
2712 * test/test-simple.c: Add - automated tests.
2714 * cspi/spi-listener-impl.c (cspi_event),
2715 (cspi_key_event): add user_data to invoke.
2716 (cspi_keystroke_listener_finalize): impl.
2717 (cspi_keystroke_listener_class_init): upd.
2720 (createAccessibleEventListener),
2721 (AccessibleEventListener_addCallback),
2722 (createAccessibleKeystrokeListener),
2723 (AccessibleKeystrokeListener_addCallback): upd.
2725 * libspi/deviceeventcontroller.c
2726 (spi_device_event_controller_check_key_event): add public proto.
2729 (impl_accessibility_registry_deregister_global_event_listener):
2730 always init listeners.
2731 (_registry_notify_listeners): yes it is.
2733 * cspi/spi-listener-impl.c (cspi_key_event):
2735 (cspi_event_listener_finalize): impl.
2736 (cspi_event_listener_class_init): hook up.
2737 (event_handler_new, event_handler_free),
2738 (event_list_remove_by_callback): impl.
2739 (cspi_event_listener_remove_callback),
2740 (cspi_keystroke_listener_remove_callback),
2741 (cspi_keystroke_listener_add_callback),
2742 (cspi_event_listener_add_callback): upd.
2744 * libspi/keystrokelistener.c
2745 (keystroke_listener_object_finalize): kill
2746 (spi_keystroke_listener_class_init): upd.
2747 (spi_keystroke_listener_add_callback),
2748 (spi_keystroke_listener_remove_callback): kill,
2750 (impl_key_event): prune drasticaly.
2752 * libspi/eventlistener.c
2753 (spi_event_listener_add_callback),
2754 (spi_event_listener_remove_callback): kill, use
2756 (impl_accessible_event_notify_event): upd.
2757 (spi_event_listener_object_finalize): remove.
2759 * libspi/Makefile.am: use eventlistener.[ch]
2761 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2763 * libspi/registry.c (_registry_notify_listeners):
2764 Changed listener loop iteration to use preferred convention.
2765 Got rid of string memory leaks caused be calling g_strconcat
2766 inside function calls.
2768 * libspi/registry.c (parse_event_type):
2769 Stopped g_strconcat memory leaks, free the g_strsplit return,
2770 g_strdup the split pieces when used, etc.
2772 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2775 Change method 'compare' to return a 'difference set' rather than
2776 taking a StateSet as an out parameter (more Java-friendly).
2778 * idl/Accessible.idl:
2779 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2781 * idl/Component.idl:
2783 Changed methods 'getExtents' and 'getImageExtents' in these
2784 interfaces to return a BoundingBox structure.
2785 (getPosition and getSize are redundant and possibly should be
2786 removed, rather than creating a corresponding Point struct.)
2788 * cspi/spi_component.c:
2789 Modify implementation of getExtents to reflect the above IDL
2794 Add (missing) AccessibleImage_getExtents () API.
2796 * docs/reference/cspi/at-spi-cspi-sections.txt:
2797 Added AccessibleImage_getImageExtents () to docs.
2799 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2801 * idl/Component.idl:
2802 Added two methods, getLayer () and getMDIZOrder (), to reflect
2803 the new ATK methods atk_object_get_layer and
2804 atk_object_get_mdi_z_order. (Which arguably should be part of the
2805 AtkComponent API and AtkObject). Also added an enum,
2806 ComponentLayer, for the first method's return value.
2808 * libspi/component.c:
2809 Added implementations for these methods.
2811 * cspi/spi_component.c:
2813 Added cspi binding methods for above,
2814 AccessibleComponent_getLayer() and
2815 AccessibleComponent_getMDIZOrder().
2816 Added cspi enum 'AccessibleComponentLayer'.
2818 * docs/reference/cspi/at-spi-cspi-sections.txt:
2819 Added above methods to docs.
2823 Changed typedef for 'boolean' type (and all references to it) to
2824 SPIBoolean, to avoid keyword clashes with C++.
2827 Changed usages of 'boolean' to SPIBoolean.
2829 * test/keysynth-demo.c:
2830 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2831 app), except where SPIBoolean is required by the callbacks API.
2833 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2835 * cspi/spi_registry.c:
2836 Removed obsolete X event loop for passive keygrabs (which now
2839 * registryd/registryd.c:
2840 Removed unnecessary call to gdk_init() [cruft]. This also allows
2841 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2844 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2846 * docs/reference/cspi:
2847 Included docs for SPI_freeString in generated documentation.
2850 Renamed spi_freeString to SPI_freeString, for consistency. Added
2851 documentation for this function.
2854 Renamed spi_freeString to SPI_freeString, for consistency.
2855 Removed obsolete method declaration string_from_corba_string.
2857 * test/keysynth-demo.c:
2858 Small tweak to comments.
2861 Stopped leaking the strings returned from CSPI.
2863 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2865 Merged Michael's branch (see his ChangeLog entries below).
2867 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2868 bridge is alive, release on exit.
2870 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2871 Fix type check macro.
2874 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2877 Added is_gnome_app static, and method cspi_is_gnome_app(),
2878 so we can call the appropriate shutdown routine at exit in SPI_exit.
2880 * cspi/spi_main.c (cspi_object_ref):
2881 Duplicate the corba object passed in, since we're keeping it around.
2883 * cspi/SPI_exit.c, cspi_cleanup:
2884 Moved the releasing of the live refs to its own function, so we
2885 can put it in g_atexit (). Call the appropriate shutdown API
2886 depending on whethe calling client is a gnome app or not
2887 (bonobo_main_quit or CORBA_ORB_shutdown).
2889 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2890 Unref the listener when this method is called, after
2891 deregistration. Updated the API docs to note this behavior.
2893 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2894 Bugfixes: Ref the bonobo object when returning a parent or child
2895 reference, or an AccessibleRelation. Generally made sure
2896 BonoboObject refcount is incremented whenever we return an
2899 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2900 Fixed typo/bug in signal declaration.
2902 * libspi/accessibleeventlistener.h:
2905 * libspi/application.c (spi_application_new):
2906 Fixed leak in initialization.
2909 Remembered to increment bonobo-object refcount when returning
2910 children (applications) from desktop object.
2911 Added (empty) finalize method.
2913 * libspi/deviceeventcontroller.c:
2914 Hold a ref to listeners inside DEControllerKeyListeners.
2915 Added dec_key_listener_free() method. Use prepend instead of
2916 append in key_listener list. Fixed some refcount madness and
2917 leaks in the listener registration/deregistration - deregistration
2918 now calls dec_key_listener_free() on listeners, and on the
2919 temporarily constructed dec_key_listener() used to perform the search/match.
2921 * libspi/hypertext.c (spi_hypertest_finalize):
2922 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2923 class. Also fixed spi_hypertext_interface_new() and
2924 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2926 * libspi/hypertext.h:
2927 Removed pointless and duplicate AtkObject pointer from
2930 * libspi/keystrokelistener.c:
2931 Fixed incorrect type of keystroke_listener_parent_class,
2932 renamed keystroke_listener_object_finalize to
2933 spi_keystroke_listener_object_finalize.
2934 Fixed typo in signal declaration
2935 (spi_keystroke_listener_class_init).
2937 * libspi/registry.c:
2938 Added funcsions spi_listener_struct_new() and
2939 spi_listener_struct_free() to help with memory management issues.
2940 We also now use these methods instead of gnew + poking stuff into
2941 the struct, and to decrement listener counts/free the listeners
2942 when deregistering them.
2943 Fix more refcount bugs in getDesktop() and
2944 getDeviceEventController().
2947 De-ref the desktop after enumerating the applications. Explicitly
2948 decrement the refcounts on the created listeners on exit (using
2949 _unref for keystroke listeners, and via the
2950 deregisterGlobalEventListenerAll command for other event
2953 2001-11-27 Michael Meeks <michael@ximian.com>
2955 * cspi/spi-listener.h: fixup enum.
2957 2001-11-27 Michael Meeks <michael@ximian.com>
2959 * cspi/spi-listener-impl.c (cspi_event_listener_new),
2960 (cspi_keystroke_listener_new): Use the cspi variants.
2962 2001-11-26 Michael Meeks <michael@ximian.com>
2964 * test/keysynth-demo.c: fix 2 compile warnings, missing
2967 * test/simple-at.c (report_focussed_accessible),
2968 (report_focus_event, report_button_press),
2969 (check_property_change, is_command_key),
2970 (report_ordinary_key_event, report_command_key_event): upd.
2972 * util/mag_client.h: include pre-requisites.
2974 * libspi/accessibleeventlistener.c
2975 (spi_event_listener_object_finalize): free any lingering
2978 * libspi/keystrokelistener.c
2979 (keystroke_listener_object_finalize): ditto.
2981 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
2982 callbacks, with cspi types.
2984 * cspi/spi_event.c (createAccessibleEventListener): chain to
2985 (AccessibleEventListener_addCallback): here.
2986 (createAccessibleKeystrokeListener): chain to
2987 (AccessibleKeystrokeListener_addCallback): here.
2989 * libspi/keystrokelistener.c
2990 (spi_keystroke_listener_class_init): add signal.
2991 (impl_key_event): emit the event.
2992 (boolean_handled_accumulator): impl.
2993 (marshal_BOOLEAN__POINTER): add, gack.
2995 * libspi/accessibleeventlistener.c
2996 (spi_event_listener_class_init): add signal.
2997 (impl_accessible_event_notify_event): emit the signal &
2998 make the loop efficient.
2999 (spi_event_listener_add_callback): prepend the callback.
3001 * libspi/accessibleeventlistener.h: add an 'event' signal,
3002 decl type on callback.
3004 * libspi/keystrokelistener.h: ditto.
3006 * cspi/spi-listener.h: make methods typesafe and
3007 make them use the new event typedefs.
3009 * test/simple-at.c (report_focussed_accessible):
3010 include mag_client.h
3011 Use *(void *)text_interface not the other thing.
3013 * configure.in: add gtk to registryd bits - since we use
3016 * util/magnifier.c: include libbonobo.h
3018 2001-11-25 Bill Haneman <bill.haneman@sun.com>
3020 * test/keysynth-demo.c:
3021 Turned this into a simple scanning keyboard, to demonstrate the
3022 use of g_timeout_add () as a means of creating timers for
3023 scanning, and the use of GtkStyle for visually indicating when
3024 virtual keyboard elements are selected.
3026 keysynth-demo now listens to any keyboard keys with zero-valued
3027 keycodes (i.e. 'unused' keys) and interprets them as
3030 Reworked the shiftlatch code so that shift-down state isn't held
3031 for long periods (it's only synthesized immediately prior to
3032 the keysynth event it's modifying). Note that shiftlatch in this
3033 demo is a convenience, not intended to take the place of AccessX
3034 which is the better choice for getting 'sticky' modifier keys.
3036 * libspi/deviceeventcontroller.c:
3037 * at-bridge/bridge.c:
3038 * cspi/spi_registry.c:
3039 Removed some debug print stuff, and put other verbosity in #ifdef
3044 Implemented some more of the magnifier IDL for the simple
3045 magnifier: namely, getZoomRegionParams.
3046 Added mag_x and mag_y members to MagnifierData struct, aid of this
3048 Added GtkWindow::realize signal handler to magnifier, to keep it
3049 from receiving keyboard focus from the WM.
3051 2001-11-23 Mark McLoughlin <mark@skynet.ie>
3053 * cspi/spi-private.h: my guess at what michael forgot
3054 before he ran off to NZ :-)
3056 2001-11-23 Michael Meeks <michael@ximian.com>
3058 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
3059 comment out non existant method invoke so we link.
3061 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
3062 use bonobo_exception_get_text for more friendly warnings.
3064 * cspi/spi.c (Obj_Add): move into spi_main & rename
3065 spi_object_add; kill spi.c
3067 * cspi/spi_registry.c
3068 (deregisterGlobalEventListener),
3069 (deregisterGlobalEventListenerAll),
3070 (registerGlobalEventListener): fix exception leaks.
3072 * cspi/spi_main.c (spi_exception): impl. helper, so we
3073 don't leak exceptions.
3075 * cspi/spi_selection.c
3076 (AccessibleSelection_deselectSelectedChild): return the
3079 * cspi/spi_main.c (spi_ev): impl; hack - gack.
3080 (spi_registry): ditto.
3081 (SPI_init): guard against double inits.
3083 * cspi/*.c: use spi_ev (), and spi_registry () where
3084 appropriate - a temporary hack until we have something
3085 better. Use spi_object_add
3087 2001-11-22 Michael Meeks <michael@ximian.com>
3089 * cspi/Makefile.am: re organise, install the headers.
3091 * cspi/*.h: add G_BEGIN/END_DECLS
3093 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3096 Added non-preemptive keylistener for key events with no modifiers
3097 and shift-only modifier.
3099 * libspi/keystrokelistener.c:
3100 Removed some verbose diagnostics printout.
3102 * cspi/spi_registry.c:
3103 Fixed a bug that caused all key listeners to be registered as
3106 * libspi/deviceeventcontroller.c:
3107 Fixed bug that caused XGrabKey (preemptive key grab) to be called
3108 for non-preemptive key masks.
3111 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3113 * docs/reference/idl/at-spi-idl-docs.sgml:
3114 * docs/reference/idl/at-spi-idl-sections.txt:
3115 * docs/reference/idl/at-spi-idl-overrides.txt:
3116 Added missing files.
3118 * docs/reference/Makefile.am:
3119 removed idl from SUBDIRS until we can figure a way to get gtk-doc
3120 to scan the IDL files :-(
3125 Added .cvsignore files.
3127 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3129 * libspi/deviceeventcontroller.c:
3130 * libspi/keystrokelistener.c:
3132 * cspi/spi_registry.c:
3133 Added filters for KeySets, KeyEventSeq, and event types to key
3134 event dispatching, so listeners should only receive those events
3135 that they requested :-)
3137 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3142 * docs/reference:Makefile.am:
3143 * docs/reference/cspi:
3144 * docs/reference/cspi:Makefile.am:
3145 * docs/reference/cspi:tmpl:
3146 * docs/reference/cspi:tmpl:*.sgml:
3147 * docs/reference/idl:
3148 * docs/reference/idl:Makefile.am:
3149 * docs/reference/idl:at-spi-idl-sections.txt:
3150 * docs/reference/idl:at-spi-idl-docs.sgml:
3151 * docs/reference/idl:tmpl:
3152 * docs/reference/idl:tmpl:*.sgml:
3154 Restructured docs directory to allow separate 'reference' docs
3155 section, and forked idl and cspi docs. Added the sgml template
3156 files to CVS. Added the first sections/structural sgml for the
3159 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
3161 * configure.in, libspi/Makefile.am: find libXtst.
3163 2001-11-21 Michael Meeks <michael@ximian.com>
3165 * test/accessx-gui.c: s/spi_value/value/ - doh.
3167 * libspi/base.[ch]: add.
3169 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3171 * idl/Accessible.idl:
3172 * idl/Application.idl:
3175 Started gtk-doc cleanup on IDL.
3177 * libspi/deviceeventcontroller.c:
3178 Added and connected non-preemptive key notification from the
3179 toolkits (in addition to the pre-emptive support from XServer
3180 which we had before, but which causes 'focus flashing'). Filters
3181 are presently limited to key modifiers and global/non-global,
3182 KeySets are presently ignored, as are KeyEvent masks.
3184 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
3185 structs into the persistant structure rather than just storing
3186 pointers to things that might not persist across servant
3189 The XGrabKey call now does async keygrabs, because synchronous
3190 ones were deadlocking with GDK_event code in a very nasty way.
3192 Added boolean to internal method notify_keylisteners, to indicate
3193 whether the event came from the 'toolkit source' or the 'global
3194 (XServer) source' - this is used in the notification process to
3195 determine which listeners to send the event to.
3197 deviceeventcontroller.c is now warning-free.
3199 * libspi/registry.c:
3200 Fixed regression in application de-registration.
3201 Also fixed some really brain-dead weirdness having to do with
3202 event dispatching - event structs are now duplicated before being
3203 re-marshalled in the dispatch to listeners. This also fixes a
3204 Solaris build problem.
3207 2001-11-20 Michael Meeks <michael@ximian.com>
3210 (impl_accessibility_registry_deregister_global_event_listener):
3213 * libspi/deviceeventcontroller.c
3214 (spi_device_event_controller_check_key_event): return
3215 FALSE on no virtual method.
3217 * libspi/*..h: make includes work on a correctly pathed install.
3219 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
3221 * libspi/application.h: kill unused ( and whacked out )
3222 gboolean *spi_application_set_id (AtkObject *app, long id);
3224 2001-11-20 Michael Meeks <michael@ximian.com>
3226 * libspi/*.[ch]: further convert to bonobo's type func
3227 macros, remove redundnant casts etc.
3229 * libspi/text.c s/accessibility_text/spi_text/g,
3230 re-order to de-cruft.
3232 * libspi/hypertext.c: re-order to kill a huge slew
3233 of redundant forward decls.
3235 * libspi/relation.c: ditto.
3237 * libspi/image.c: ditto.
3239 * */.cvsignore: update
3241 2001-11-20 Michael Meeks <michael@ximian.com>
3243 * libspi/deviceeventcontroller.c
3244 (_controller_register_with_devices): use g_getenv,
3245 kill stdlib.h include.
3247 * libspi/keystrokelistener.c
3248 (spi_keystroke_listener_get_type): kill
3249 (spi_keystroke_listener_class_init),
3250 (spi_keystroke_listener_init): rename to this.
3252 * libspi/text.c (impl_getAttributes): fix warning / bug.
3254 * libspi/*.[ch]: more headers, includes and over commenting.
3256 2001-11-20 Michael Meeks <michael@ximian.com>
3258 * libspi/*.[ch]: fixup headers, includes and over commenting.
3260 * libspi/image.c (impl__get_imageDescription): const
3261 correctness warning fix. remove redundant casting.
3263 * libspi/table.c (impl_getRowDescription): ditto.
3264 (impl_getColumnDescription): ditto.
3266 * libspi/libspi.h: add.
3268 2001-11-19 Michael Meeks <michael@ximian.com>
3270 * libspi/editabletext.c (impl_setAttributes): fix warnings.
3272 * libspi/component.c (accessibility_component_get_type):
3273 rename to (spi_component_get_type): and macroify.
3274 (accessibility_component_init): rename to
3275 (spi_component_init): this
3276 (accessibility_component_class_init): rename to
3277 (spi_component_class_init): this
3279 * libspi/action.c (spi_action_get_type): kill, use the macro.
3281 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
3284 * libspi/application.c (spi_application_object_event_listener),
3285 (impl_accessibility_application_register_object_event_listener):
3286 warning fixes / const understanding updates.
3288 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
3291 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3293 * libspi/spi_accessible.c: Added docs and C bindings for
3294 AccessibleStateSet. (No implementations yet). Documentation
3295 coverage for C bindings now 100%. Made docs for event listeners
3300 boolean notifyListenersSync (in DeviceEventListener listener,
3301 in DeviceEvent event);
3303 oneway void notifyListenersAsync (in DeviceEventListener listener,
3304 in DeviceEvent event);
3306 Added DeviceEventListener and DeviceEvent structs (may deprecate
3307 KeyStroke and KeystrokeListener in favor of this generic
3308 event/listener framework for devices).
3310 * libspi/deviceeventcontroller.c:
3312 Changed some key listener code to take masks, etc., and paved the
3313 way for integration of toolkit/non-preemptive key events. Changed
3314 signatures of some internal methods.
3316 * at-bridge/bridge.c:
3317 Fixed regression connecting to interface signals, apparently
3318 caused by GTK+ changes.
3320 Added an internal bridge_state_listener to deal with
3321 property-change:accessible-state signals.
3323 Changed the key_listeners GList to store structs (including masks,
3324 etc.) instead of just CORBA_Objects (required for full
3325 implementation of key listener API).
3327 Connected the bridge to all currently supported Atk signals.
3328 Events now supported:
3329 object:property-change
3330 object:property-change:accessible-name
3331 object:property-change:accessible-state
3332 object:property-change:accessible-description
3333 object:property-change:accessible-parent
3334 object:property-change:accessible-value
3335 object:property-change:accessible-role
3336 object:property-change:accessible-table-caption
3337 object:property-change:accessible-table-column-description
3338 object:property-change:accessible-table-column-header
3339 object:property-change:accessible-table-row-description
3340 object:property-change:accessible-table-row-header
3341 object:property-change:accessible-table-summary
3342 object:children-changed
3343 object:visible-data-changed
3344 object:selection-changed
3345 object:text-selection-changed
3347 object:text-caret-moved
3349 object:row-reordered
3351 object:column-inserted
3352 object:column-reordered
3353 object:column-deleted
3354 object:model-changed
3356 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3358 * libspi/hyperlink.c,h:
3359 Fixed some broken stuff in hyperlink.
3361 * libspi/relation.h:
3362 * libspi/relation.c:
3363 * cspi/spi_accessible.c:
3364 Initial implementations of AccessibleRelation methods, and docs.
3366 * libspi/accessible.c:
3367 Fixed a bug that caused SEGV if an accessible
3368 object's description is NULL, and a client
3369 requests it. An empty string is now returned.
3371 * cspi/spi_editabletext.c:
3372 * cspi/spi_hypertext.c:
3374 * cspi/spi_hyperlink.c:
3378 Doc coverage now 95%.
3380 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3382 One last namespacing revision:
3383 * libspi/accessibleeventlistener.[ch]:
3384 Renamed SpiAccessibleEventListener to SpiEventListener,
3385 (no need for two namespaces ;-)
3387 And lots of documentation fixes:
3389 * docs/at-spi-docs.sgml:
3390 Fixed 'underscore vs. hyphen' bug that was preventing
3391 the gtk-doc API docs from being automatically generated.
3394 * cspi/spi-listener.h
3396 * cspi/spi_accessible.c
3398 * cspi/spi_application.c
3399 * cspi/spi_component.c
3400 * cspi/spi_editabletext.c
3402 * cspi/spi_hypertext.c
3404 * cspi/spi_registry.c
3405 * cspi/spi_selection.c
3409 * docs/at-spi-docs.sgml
3410 * docs/at-spi-sections.txt
3412 Added and fixed up gtk-doc documentation in cspi.
3414 Interfaces now (fully) documented (subject to revision and enhancement):
3416 Event Listener Support
3418 AccessibleApplication
3422 AccessibleEditableText
3429 AccessibleRelationSet
3434 2001-11-14 Bill Haneman <bill.haneman@sun.com>
3436 * at-bridge/bridge.c:
3437 Initial work for toolkit-level key snooper connection by bridge.
3442 New typedefs and fixes to support new namespacing, and cleaner
3443 separation of cspi bindings from libspi bonobo implementation.
3444 Removed inconsistent and extraneous Spi* namespace prefix that
3445 had crept into cspi headers.
3446 Lots of comment fixes that sed had missed.
3448 * cspi/spi-roletypes.h:
3449 * cspi/spi-statetypes.h:
3450 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
3451 to AccessibleRoleType.
3453 * libspi/accessibleeventlistener.h:
3454 Fixed minor namespacing weirdness.
3456 * libspi/deviceeventcontroller.c:
3457 Reordered some internal API for device listeners.
3458 Changed the key registry final boolean to 'is_system_global'
3459 rather than 'is_synchronous', which is more descriptive of its
3461 Added spi_device_event_controller_new().
3462 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
3464 * libspi/keystrokelistener.[ch]:
3465 Namespaced KeystrokeListener to SpiKeystrokeListener.
3466 Changed uses of keymasks to use SPI_ prefix, and did other
3469 * libspi/keymasks.h:
3470 Namespaced keymask constants with SPI_ prefix.
3472 * libspi/registry.c:
3473 Some warning fixes, and knock-on fixes from namespace changes.
3476 Added rules for accessx-gui test program.
3478 * test/accessx-gui.c:
3479 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
3480 utility. It doesn't actually use at-spi, but it's still cool and
3483 * test/keysynth-demo.c:
3487 Fixes so that these test clients work properly with the namespaced
3488 libraries. (Incompletely tested for technical reasons, fixes may follow)
3491 2001-11-13 Michael Meeks <michael@ximian.com>
3493 * libspi/application.c
3494 (impl_accessibility_application_get_version),
3495 (impl_accessibility_application_get_toolkit_name):
3497 (impl_accessibility_application_set_id),
3498 (impl_accessibility_application_get_id): remove
3499 redundant casting code.
3501 * libspi/action.c (impl_getDescription): fix warnings.
3503 * libspi/accessible.c
3504 (impl_accessibility_accessible_get_parent),
3505 (impl_accessibility_accessible_get_child_at_index),
3506 (impl_accessibility_accessible_get_state),
3507 (impl_accessibility_accessible_get_relation_set):
3508 warning fixes & include action.h
3510 2001-11-13 Michael Meeks <michael@ximian.com>
3512 * *.[ch] fix bits I screwed up:
3514 s/([^ \tb(\*\&\?\",])spi_/\1/g;
3515 s/([^ \tb(\*\&\?\",])Spi/\1/g;
3517 2001-11-13 Michael Meeks <michael@ximian.com>
3519 * *.[ch] Namespace libspi into spi_ and Spi.
3521 2001-13-11 Michael Meeks <michael@ximian.com>
3523 * Makefile.am: dist & install at-spi-1.0.pc
3525 * libspi/Makefile.am: install into at-spi-1.0
3527 * idl/Makefile.am (idldir): install into at-spi-1.0
3529 * at-spi-1.0.pc.in: add.
3531 * configure.in: build it.
3533 2001-11-12 Bill Haneman <bill.haneman@sun.com>
3535 * test/keysynth-demo.c:
3536 Use a 'realize' signal-handler to set the WM properties for
3537 the virtual keyboard, rather than making it a "POPUP" type
3538 override-redirect window (thanks to anders carlsson for that
3541 2001-11-11 Bill Haneman <bill.haneman@sun.com>
3544 * test/keysynth-demo.c:
3545 Added new test of key synthesis, which creates a simple
3546 (mouse-operated) onscreen keyboard. It inserts key events into
3547 the currently-focused window, thus it does not grab keyboard focus
3550 * cspi/spi_registry.c:
3551 Added C binding for AT-SPI generateKeyEvent.
3553 * libspi/deviceeventcontroller.c:
3554 Added call to XFilterEvent so that key listener works with XIM (we
3555 hope). Added event_synth_type to generateKeyEvent, so that we can
3556 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
3557 synthesize a press/release pair for KeySyms.
3559 2001-11-09 Bill Haneman <bill.haneman@sun.com>
3561 * libspi/Makefile.am:
3562 * registryd/Makefile.am:
3563 (temporary) hack to include libXtst in libspi and registryd.
3564 (Needed for keystroke synthesis, see below).
3567 Improved API for registerKeystrokeListener, in accordance with
3568 discussions with Gnopernicus team and X server research.
3570 * libspi/registry.c:
3571 * libspi/deviceeventcontroller.c:
3572 * libspi/accessible.c:
3573 * libspi/keystrokelistener.c:
3574 Changes and fixes to support keylisteners for potentially
3575 consumed key events (that is, 'passive grabs').
3576 Added implementation for generateKeyEvent() [untested].
3579 Changes to registerKeystrokeListener() API, as above.
3580 Added deregisterGlobalEventListenerAll(), and
3581 deregisterKeystrokeListener(), which are needed for clean exit of
3583 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
3584 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
3586 * cspi/spi_registry.c:
3587 Added implementations of function prototypes mentioned above.
3589 * registryd/registryd.c:
3590 Added the key listener event source as a g_timeout(), to allow
3591 receipt of key events that are not caught by GDK (since GDK
3592 doesn't support passive keygrabs, this was necessary).
3595 Changed to attach a keylistener to 'Alt' keys, and
3596 respond to the following keycommands: Alt-M (toggle magnifier);
3597 Alt-F (toggle speech); Alt-Q (quit).
3598 Added an exit routine to deregister the listeners, and a key
3599 listener that prints some key info to the console when a key
3600 matches the listener mask (and is thus received by the listener).
3602 * util/idl/Magnifier.idl:
3603 Changes to magnifier API to support multiple zoom regions,
3604 non-uniform scaling in x and y, markDirty, and a host of other
3605 features that would be useful to magnification.
3608 * util/mag_client.c:
3609 * util/mag_client.h:
3610 * util/mag_control.c:
3612 Source code changes to support the above IDL changes.
3615 As above, and also changes to use a (slower) generic conversion
3616 path for colormap conversions, since the fast RGB conversions have been
3617 reported to fail for 16-bit displays.
3619 2001-10-26 Michael Meeks <michael@ximian.com>
3621 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
3623 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
3625 * at-bridge/Makefile.am: fix LDFLAGS.
3627 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3629 * at-bridge/bridge.c:
3630 Re-worked listeners for toolkit events, now we have signal
3631 and property listeners. Added a private method
3632 register_atk_event_listeners(), which registers with the
3633 various atk and gtk signals we need to monitor in order to emit
3635 Added emission hook for AtkObject:property-change events, to
3636 support the 'property listeners'.
3637 Fixed some alloc()s of Accessibility_Event structs to use CORBA
3640 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
3641 which emit warnings and exit, respectively, if CORBA errors occur
3642 during remote calls, and we now use these methods to check most of
3643 our CORBA calls in the C bindings.
3645 * cspi/spi_accessible.c:
3646 Changed AccessibleSelection_refSelectedChild() to
3647 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
3648 now increment refcounts.
3650 * cspi/spi_component.c:
3651 Fixed some long pointer casts (dangerous!) to pass pointers to
3652 CORBA_longs of the proper type to the CORBA stubs, and copy the
3653 data into the longs that were passed into the C bindings code.
3655 * at-bridge/bridge.c:
3657 * libspi/accessible.c:
3658 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
3659 hyperlinks, AtkHyperlink is an object type.
3661 * libspi/application.c:
3662 Added various conversions to and from "generic" event types and
3663 atk-specific types; this is really part of the 'bridge'
3664 implementation but is valid for all AtkObject-based accessibility
3667 * libspi/editabletext.c:
3668 Fixed nasty bug wherein editable text's finalize method was
3669 unref'ing tha AtkObject reference that the text parent class was
3670 about to unref _again_. There was also a nasty inheritance bug
3671 that meant that the AccessibleEditableText class was corrupt.
3673 * libspi/selection.c:
3674 Provided implementations for some selection API that was broken.
3676 * idl/Application.idl:
3677 Added registerObjectEventListener () method.
3680 Fixed a number of return values that were Bonobo_Unknowns from
3681 bonobo_object_corba_objref(), which I
3682 forgot to dup before returning. Changed instances of
3683 bonobo_object_corba_objref (bonobo_object(o)) to
3684 BONOBO_OBJREF(o), for concision and clarity.
3686 2001-10-13 Louise Miller <louise.miller@sun.com>
3688 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
3689 idl/Event.idl, idl/Registry.idl
3690 Changed these files to include Bonobo_Unknown.idl instead
3693 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
3695 * libspi/component.c libspi/component.h:
3696 Fixed typo. Added assertions for object checks in
3697 AccessibleComponent code.
3699 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3701 * idl/Accessible.idl:
3702 Added 'isEqual (Accessible *object)'
3703 method for Accessible. (Not Yet Implemented).
3706 Changed signature of registerKeystrokeListener() to
3707 take a KeySet and KeyEventSeq so that specific keys and event
3708 types could be requested for monitoring, and added a flag
3709 is_synchronous so that either synchronous or asynchronous
3710 notification could be requested. (However this is not all
3711 implemented yet). This also meant adding two new typedefs,
3712 KeyEventSeq and KeySet.
3715 Added two new relations, RELATION_TOOLTIP_FOR and
3716 RELATION_LEAFNODE_OF.
3719 Added new state, STATE_HAS_TOOLTIP.
3721 * libspi/text.c, editabletext.c:
3722 Added new assertions to all casts of bonobo-objects from
3723 CORBA servants, to prevent Text API calls on non-text objects.
3724 Changed suspect casts of int-pointer types, so that we
3725 always send a valid CORBA_long pointer to the CORBA APIs that use
3726 in/out long parameters. We then have to copy from the CORBA_long
3727 into the regular long or int for return to the C bindings, or
3728 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
3731 * libspi/deviceeventcontroller.c:
3732 Cleaned these sources up.
3734 Changed return type for getCharacterAtOffset to
3735 CORBA_unsigned_long, to allow for 32-bit characters.
3738 2001-10-08 Bill Haneman <bill.haneman@sun.com>
3742 Fixed 'make dist' so that distro compiles...
3743 * libspi/keymasks.h:
3745 * cspi/spi-listener.c:
3746 KeystrokeListenerCB now returns a boolean.
3748 Added KeyEventType struct, and KeyStroke.
3749 Also added createKeystrokeListener(),
3750 KeystrokeListener_addCallback(),
3751 KeystrokeListener_removeCallback(), and added a keymask to
3752 registerKeystrokeListener().
3753 * cspi/spi_accessible.c:
3754 Changed numerous return types for interfaces from
3755 AccessibleComponent to Accessible<InterfaceName>; this was
3756 probably a cut-and-paste error.
3758 Implementations of new KeystrokeListener api (from spi.h,
3761 Changes to key modifier mapping.
3762 Created ControllerEventMask struct.
3763 Made DeviceEventController derive from Bonobo::Unknown.
3765 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3766 * libspi/deviceeventcontroller.c:
3767 Added a number of new internal (private) methods.
3768 * libspi/editabletext.c:
3769 * libspi/editabletext.h:
3770 Fixed a number of bugs related to the fact that
3771 editabletext inherits from text. Fixed the EditableText struct,
3772 the init() call, and use correct casts when calling Text methods
3773 from an EditableText object. Removed (duplicate) atko from the
3774 EditableText structure, we use the one in the parent Text
3775 structure via the casts mentioned above.
3776 * libspi/keystrokelistener.[ch]:
3777 * libspi/registry.c:
3778 Changes in support of keyboard handling (above).
3780 Keyboard handling, though partly functional, is still not
3781 recommended for at-spi client use as there is considerable
3782 work yet to be done.
3785 Changed some places where pointers to various int types
3786 are cast to be pointers to CORBA_long types and vice-versa:
3787 pointer casting is not safe so we pass pointers of the correct
3788 types and then cast the result before putting it into the target
3791 * libspi/text.h: minor typos corrected.
3793 We now speak not only the name of a Text element, but the
3794 first sentence of its content, when it receives focus.
3795 I also changed the text compression to 75% from 50%.
3796 * util/Accessibility_Util.server.in:
3797 Changed the default magnifier type to be a 3x vertical
3798 splitscreen magnifier (was previously a 2x horizontal one).
3800 2001-10-03 Bill Haneman <bill.haneman@sun.com>
3802 * libspi/keystrokelistener.h:
3803 * libspi/keystrokelistener.c:
3804 Initial functional implementations of KeystrokeListener.
3807 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3809 Fixed string handling for NULL strings in libspi.
3810 Added spi_freeString to free strings returned by C bindings.
3812 2001-09-30 Bill Haneman <bill.haneman@sun.com>
3814 * libspi/keystrokelistener.h:
3815 * libspi/keystrokelistener.c:
3816 Began (no-op) implementations of KeystrokeListener
3818 * libspi/deviceeventcontroller.c:
3819 * libspi/deviceeventcontroller.h:
3820 Began creating implementations of DeviceEventController,
3821 to handle keystroke and mouse event listening and
3823 * libspi/accessible.c:
3824 Stubbed-in the implementations for
3825 Accessibility_Accessible_getState and
3826 Accessibility_Accessible_getRelationSet.
3827 * libspi/registry.c:
3828 Improved de-registration process and fixed some bugs,
3829 deregistration now works correctly.
3831 Added initialization of applications list (to NULL).
3833 Reduced speech compression from 0.5 to 0.7, for demo.
3834 Changed call to gdk_window_set_decorations()
3835 to gtk_window_set_decorated().
3836 * at-bridge/bridge.c:
3837 Bridge now deregisters when app exits, via
3838 registration of a cleanup function
3839 with the g_atexit() call.
3840 Required making 'app' static, renamed 'this_app'.
3841 Fixed broken use of bonobo_init, passing argv wrongly.
3843 2001-09-27 Bill Haneman <bill.haneman@sun.com>
3847 Created a new directory for
3848 accessibility-related utilities, primarily for
3849 testing and demo purposes, but with possible
3856 Onscreen magnifier utility that
3857 is implemented as a bonobo service.
3859 * util/mag_client.c:
3860 * util/mag_client.h:
3861 Client-side support (simple C bindings)
3862 for Magnification service
3864 * util/mag_control.c:
3865 Client program example for
3866 Magnification service
3868 * util/Accessibility_Magnifier.server.in:
3869 Bonobo-activation file for the
3870 Magnification service.
3873 * util/idl/Magnifier.idl:
3874 IDL defining the bonobo Magnification
3878 Modifications to use the bonobo-activated magnifier
3879 above, in place of trying to connect to an existing
3880 magnifier that uses socket-listening IPC.
3882 If env variable MAGNIFIER is set, a magnifier service
3883 will be started if one does not exist.
3885 2001-09-25 Bill Haneman <bill.haneman@sun.com>
3887 * at-bridge/bridge.c:
3888 applied patch from Marc to build and run
3889 against new glib and gtk+ (seemed like a change
3890 to bonobo_init signature was made ?)
3892 made festival-server support turned off by default.
3893 Added support for a simple magnifier (off by default)
3894 which will be added to a 'util' directory later.
3895 * at-bridge/Makefile.am:
3896 Changed "application.h" header from a 'source'
3897 to a 'dependency' of libat-bridge.
3899 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3908 Added interface implementation c files to list of
3909 includes so they are included in libcspi.
3912 Changed prototype of AccessibleAction_doAction to return a
3914 Changed prototype of AccessibleTable_getCaption to
3915 return an Accessible.
3916 Changed prototype of AccessibleTable_getSelectedRows
3917 and AccessibleTable_getSelectedColumns to
3918 return a long (returns the number of selected rows
3919 or columns respectively).
3920 Changed name of AccessibleText_refRunAttributes to
3921 AccessibleText_getAttributes.
3922 Changed prototype of AccessibleText_getCharacterExtents to
3923 return a void rather than a boolean.
3924 Added support for a AccessibleCoordType parameter
3925 specifying what type of coordinates are desired.
3926 Added an AccessibleCordType parameter to
3927 AccessibleText_getPointAtOffset.
3929 * cspi/spi_accessible.c:
3930 Added code to return the outstanding interfaces from
3931 Accessible_queryInterface.
3933 * cspi/spi_action.c:
3935 Corrected call to getNActions to call the c binding
3938 * cspi/spi_editabletext.c:
3940 Changed name from setRunAttributes to setAttributes.
3942 * cspi/spi_hyperlink.c:
3944 Changed call to getNAnchors to correctly call the c
3945 binding for an attribute.
3947 * cspi/spi_hypertext.c:
3949 Changed getImageDescription to correctly call the
3950 binding for an attribute.
3952 * cspi/spi_selection.c:
3953 Changed getNSelectedChildren to correctly call the c
3954 binding for the attribute.
3955 Changed refSelectedChild to getSelectedChild.
3959 Changed getCaption to return an Accessible.
3960 Fixed calls which retrieve attributes.
3961 Changed refAt to getAccessibleAt.
3962 Changed getNSelectedRows and getNSelectedColumns to
3966 Changed getCharacterExtents and getPointAtOffset to accept an
3967 AccessibleCoordType.
3969 Changed calls which retrieve attributes.
3970 Changed refRunAttributes to getAttributes.
3975 * idl/Hyperlink.idl:
3976 Changed n_anchors attribute to nAnchors to keep naming
3977 convention consistent.
3980 Made Table inherit from Bonobo::Unknown.
3981 Added nSelectedColumns and nSelectedRows attributes.
3984 Made Value inherit from Bonobo::Unknown.
3986 * libspi/hyperlink.c:
3987 Change for nAnchors attributte name change.
3989 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3997 Added interface implementation c files to list of
3998 includes so they are included in libcspi.
4001 Changed prototype of AccessibleAction_doAction to return a
4003 Changed prototype of AccessibleTable_getCaption to
4004 return an Accessible.
4005 Changed prototype of AccessibleTable_getSelectedRows
4006 and AccessibleTable_getSelectedColumns to
4007 return a long (returns the number of selected rows
4008 or columns respectively).
4009 Changed name of AccessibleText_refRunAttributes to
4010 AccessibleText_getAttributes.
4011 Changed prototype of AccessibleText_getCharacterExtents to
4012 return a void rather than a boolean.
4013 Added support for a AccessibleCoordType parameter
4014 specifying what type of coordinates are desired.
4015 Added an AccessibleCordType parameter to
4016 AccessibleText_getPointAtOffset.
4018 * cspi/spi_accessible.c:
4019 Added code to return the outstanding interfaces from
4020 Accessible_queryInterface.
4022 * cspi/spi_action.c:
4024 Corrected call to getNActions to call the c binding
4027 * cspi/spi_editabletext.c:
4029 Changed name from setRunAttributes to setAttributes.
4031 * cspi/spi_hyperlink.c:
4033 Changed call to getNAnchors to correctly call the c
4034 binding for an attribute.
4036 * cspi/spi_hypertext.c:
4038 Changed getImageDescription to correctly call the
4039 binding for an attribute.
4041 * cspi/spi_selection.c:
4042 Changed getNSelectedChildren to correctly call the c
4043 binding for the attribute.
4044 Changed refSelectedChild to getSelectedChild.
4048 Changed getCaption to return an Accessible.
4049 Fixed calls which retrieve attributes.
4050 Changed refAt to getAccessibleAt.
4051 Changed getNSelectedRows and getNSelectedColumns to
4055 Changed getCharacterExtents and getPointAtOffset to accept an
4056 AccessibleCoordType.
4058 Changed calls which retrieve attributes.
4059 Changed refRunAttributes to getAttributes.
4064 * idl/Hyperlink.idl:
4065 Changed n_anchors attribute to nAnchors to keep naming
4066 convention consistent.
4069 Made Table inherit from Bonobo::Unknown.
4070 Added nSelectedColumns and nSelectedRows attributes.
4073 Made Value inherit from Bonobo::Unknown.
4075 * libspi/hyperlink.c:
4076 Change for nAnchors attributte name change.
4079 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
4081 implementations-- made server implementations own AtkObject pointers
4082 rather than their respective AtkInterrface pointers to fix
4083 refcounting. AtkHyperlink is still broken.
4085 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4086 * cspi/spi_accessible.c:
4087 Added method Accessible_Role_getName(),
4088 and requisite string array (role_names).
4089 Added conversion string_from_corba_strin() call
4090 to Accessible_getName and _getDescription.
4091 * libspi/accessible.c:
4092 Added implementation for Accessible_getRole()
4094 Added festival support, used if environment variable
4097 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4099 * at-bridge/bridge.c:
4100 Now allocate Accessibility_Event using
4101 Accessibility_Event__alloc() instead of g_new0().
4102 * libspi/accessibleeventlistener.c:
4103 Initialize AccessibleEventListener->callbacks to NULL.
4104 Fixed accessible__event_listener_init() param, changed to
4105 "AccessibleEventListener *" type.
4106 Changed a bonobo_object_release_unref() call to
4107 Accessibility_Accessible_unref().
4108 * libspi/listener.c:
4109 Changed Bonobo_Unknown_unref to (equivalent)
4110 Accessibility_Accessible_unref.
4111 * libspi/registry.c:
4112 Changed bonobo_object_release_unref to
4113 Accessibility_Accessible_unref.
4115 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4118 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
4119 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
4120 spi-util.c spi-util.h
4121 Implementations for C bindings to remaining accessibility
4124 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4127 changed return value of Action from void to boolean to
4128 bring in line with ATK.
4131 Changed getText funcions to return "out" start and end offsets.
4132 Changed getAttributes to take and offset and return the start
4133 and end offset of the attribute run.
4134 Changed getOffsetAtPoint and getCharacterExtents to take an
4135 enum describing whether coordinates are window or screen.
4138 libspi/action.c libspi/action.h libspi/editabletext.c
4139 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
4140 libspi/hypertext.c libspi/hypertext.h libspi/image.c
4141 libspi/image.h libspi/selection.c libspi/selection.h
4142 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
4143 libspi/value.c libspi/value.h
4144 Added server implementations for outstanding ATK interfaces
4145 not yet implemented.
4147 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4150 Added (missing) getName() method.
4151 Made nActions an attribute.
4152 * idl/EditableText.idl:
4153 Changed order of params in setAttributes.
4154 * idl/Hyperlink.idl:
4155 Removed getAnchor, added getURI.
4157 Changed attributes to methods, for efficiency
4158 (so that getting extents can be done in one call)
4159 * idl/Selection.idl:
4160 Changed nSelectedChildren to attribute, and re-indented.
4161 * idl/Table.idl: changed nrows, ncolumns, caption, summary
4163 * idl/Text.idl: reformatted to match our coding style.
4164 (temporarily?) removed getRowColumnAtOffset().
4165 Changed text selection API to support multi-select and
4166 non-contiguous selections, as in ATK.
4167 * idl/Value.idl: changed some methods to attributes.
4169 2001-08-24 Mark McLoughlin <mark@skynet.ie>
4171 * libspi/listener.c(impl_notify_event):
4172 BonoboUnkown_unref the source instead
4173 of bonobo_object_release_unref - the ORB
4174 handles the releasing.
4176 * configure.in: require ORBit-2.3.94 for
4179 2001-08-21 Bill Haneman <bill.haneman@sun.com>
4181 Tagged CVS repository 'EA_1_0'.
4182 * README.EARLY_ACCESS:
4183 Alphabetized acknowledgements list, and
4185 Listed some known dependencies of at-spi.
4187 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4189 * docs/at-spi-docs.sgml:
4190 * docs/at-spi-sections.txt:
4191 * docs/at-spi-overrides.txt: (Added zero-length file)
4192 Documentation improvements - gtk-doc should build
4193 docs for all implemented C bindings now.
4196 * cspi/spi.c: (New file)
4197 * cspi/spi_event.c: (New file)
4198 * cspi/spi_registry.c: (New file)
4199 * cspi/spi_accessible.c: (New file)
4200 * cspi/spi_application.c: (New file)
4201 * cspi/spi_component.c: (New file)
4202 Split spi_main.c into six parts, and included them from
4203 "spi.c". This is a bit of a hack, probably temporary,
4204 but required by gtk-doc, apparently.
4206 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4209 * docs/at-spi-docs.sgml:
4210 * docs/at-spi-sections.txt:
4212 Initial checkins/modifications for gtk-doc generation.
4215 Added (missing) interface query methods to Accessible's C binding.
4217 Added GenericInterface type definition.
4219 Added query for AccessibleComponent interface to focus event handler.
4220 Added printout of bounding box for focussed component.
4221 * libspi/component.c:
4222 Added partial implementation for AccessibleComponent to C binding.
4223 * idl/Application.idl:
4224 * libspi/registry.c:
4225 * libspi/listener.c:
4226 * libspi/application.c:
4227 * libspi/application.h:
4228 Changed "ID" attribute type from string to long.
4230 2001-08-19 Bill Haneman <bill.haneman@sun.com>
4234 Made method naming consistent: methods taking object args
4235 start with uppercase, other methods (except those using
4236 acronyms) start with lowercase. Underscores delimit between
4237 object names and method names:
4238 SPI_init() - uppercase since it starts with an acronym.
4239 getDesktopCount () - lowercase start since no object param0.
4240 Accessible_getName() - uppercase object type name, studlyCaps method
4244 Added gtk-doc documentation for all currently implemented
4245 methods in the C bindings API.
4247 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4249 * Makefile.am : changed build order to build test last.
4252 Changed "createEventListener" to "CreateEventListener".
4253 * libspi/accessibleeventlistener.c :
4254 Bugfix for addition of callbacks.
4255 * test/Makefile.am :
4256 * test/simple-at.c :
4257 Added new test that uses the C bindings API.
4259 * libspi/listener.c :
4260 * libspi/registry.c :
4261 * libspi/accessibleeventlistener.c :
4262 * at-bridge/bridge.c :
4263 Renamed member "target" of Accessibility_Event to "source",
4264 which is more descriptive.
4267 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4271 * cspi/Makefile.am :
4272 Added makefile support for at-spi/cspi directory.
4275 * cspi/spi-listener.h : (NEW FILE)
4276 Added support for/use of spi-listener.h.
4278 C bindings now build successfully, with no warnings.
4279 * libspi/accessibleeventlistener.h : (NEW FILE)
4280 * libspi/accessibleeventlistener.c : (NEW FILE)
4281 * libspi/Makefile.am :
4282 Added new object type "AccessibleEventListener"
4283 which inherits from Listener, and allows attachment
4284 of in-process callbacks (so that a client with a listening
4285 object instance can add functionality to the local
4286 implementation, dynamically).
4288 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4290 * libspi/accessible.c:
4291 Add implementation for get_index_in_parent().
4293 Added #include of "spi-roletypes.h", and
4294 added enumerated type AccessibleCoordType.
4295 Added definition for KeystrokeListener (function type).
4298 * cspi/spi-statetypes.h :
4299 * cspi/spi-roletypes.h :
4301 Added these headers, used by spi.h.
4303 Added code (NOTE: not yet built by make).
4305 2001-08-18 Mark McLoughlin <mark@skynet.ie>
4307 * libspi/Makefile.am: generate imodule
4308 at the same time as other idl compiler
4311 2001-08-17 Bill Haneman <bill.haneman@sun.com>
4312 * libspi/registry.c :
4313 * libspi/application.c :
4314 * idl/Application.idl :
4315 Made registration with toolkit an application method,
4316 which is required since each app has its own toolkit static
4317 environment. Thus the bridge must register for
4318 notification of toolkit events from each application in turn.
4319 Toolkit notifications are now successfully registered for, and
4320 sent to the listening at client.
4322 Changed toolkit event string to use hyphens rather than underscores.
4323 * libspi/listener.c :
4324 listner now gives more info in debug mode - it reports the
4325 name of the event received, as well as the name of the source.
4328 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4330 * libspi/registry.c :
4331 added more implementation for toolkit events.
4332 Fixed bug such that toolkit event registrations
4333 (via atk) use the whole event name string, not
4335 Removed a useless call to an ORBit_ method.
4336 * at-bridge/bridge.c :
4337 Removed unused local sbuf[] variable.
4339 We now register for Gtk:GtkWidget:button_press_event
4340 events as well as "focus:" events.
4342 Add some more API from Registry.idl that was missing,
4343 for keystroke listening, keystroke and mouse event
4344 synthesis, and enumeration of accessible desktops.
4346 2001-08-16 Michael Meeks <michael@ximian.com>
4348 * configure.in: use AM_GLIB_GNU_GETTEXT.
4350 * Makefile.am (SUBDIRS): kill intl.
4352 2001-08-15 Michael Meeks <michael@ximian.com>
4354 * registryd/Makefile.am: s/oaf/server/ relocate info file.
4356 * configure.in: upd.
4358 * configure.in: depend on a recent bonobo-activation that
4359 will find our server files ...
4361 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4363 * libspi/accessible.c : accessible_new() :
4364 Now we add the Component interface via bonobo_object_add_interface,
4365 if the contained AtkObject implements AtkComponent.
4366 * libspi/accessible.h : now include "component.h"
4367 * libspi/component.h :
4368 * libspi/component.c : added files - implementation of
4369 bonobo wrapper object for Accessibility/Component
4370 * libspi/listener.c :
4371 Added test code to check for Accessibility/Component:1.0
4372 interface and report whether it is implemented by the
4374 * libspi/registry.c :
4375 Now we check for not only the hash of the whole event
4376 string before relaying the event, we also check the
4377 "minor" event string (without the detail string).
4378 This allows event listeners to be registered against
4379 all events of a certain major+minor type, or just
4380 against a specific major+minor+detail type.
4381 * libspi/accessible.c :
4382 Added implementations for Accessible:get_parent(),
4383 Accessible:getChildCount(), and Accessible:getChildAtIndex().
4384 * libspi/registry.c :
4385 * libspi/listener.c :
4386 Replaced calls to Accessibility_Accessible_ref() and
4387 Accessibility_Accessible_unref() with
4388 calls to bonobo_object_dup_ref() and
4389 bonobo_object_release_unref(), so that the CORBA object
4390 is dup-ed and released when relayed, as well as the bonobo object.
4392 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4394 * libspi/Makefile.am,
4395 registryd/Makefile.am,
4396 at-bridge/Makefile.am.
4397 test/Makefile.am, configure.in:
4398 reverse previous changes.
4400 * /idl/Image.idl: fix typo.
4402 * test/Makefile.am: put DEBUG_FLAGS
4405 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4407 * test/app.c: use argv[0] instead of
4410 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4412 * libspi/Makefile.am,
4413 registryd/Makefile.am,
4414 at-bridge/Makefile.am.
4415 test/Makefile.am, configure.in:
4416 cleanup, replace individual LIBS/CFLAGS with
4417 AT_COMMON_{LIBS|CFLAGS}.
4421 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4423 * configure.in, libspi/Makefile.am:
4424 Change IDL path checking for bonobo-activation
4427 2001-08-15 Bill Haneman <bill.haneman@sun.com>
4429 * registryd/registry.c : separated event listeners to use
4430 3 separate lists (focus, window, toolkit). Began testing
4431 event names against hashes before relaying events.
4432 * test/at.c : now register for events of type "focus:"
4433 * test/app.c : now generate events of type "focus:"
4434 * at-bridge/bridge.c : register with ATK for focus events,
4435 and we now relay those focus events to any "focus:" listeners.
4436 This now works with the bridge as a GTK_MODULE when running test/at.
4437 * libspi/registry.c :
4438 * libspi/listener.c :
4439 now we ref event sources before propagating, and unref on receipt.
4440 * libspi/registry.c :
4441 some changes to internal structs, to support event typestring hashes.
4442 * text/app.c : changed the way the appname is generated.
4443 * cspi : added directory that will hold the C bindings library for
4444 non-CORBA/bonobo-savvy clients.
4445 * cspi/spi.h : header file that contains the function prototypes for the C binding.
4446 * idl/Component.idl : added in parameter to indicate coord system for
4447 geometry-related calls.
4448 * idl/Hyperlink.idl : added readonly n_links attribute
4449 * idl/Image.idl : changed methods to attributes.
4451 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4453 * at-bridge/Makefile.am: link against
4454 ../libspi/libspi.la instead of -lspi.
4456 * at-spi/test/app.c: include
4457 bonobo-activation.h. Use a default appname
4458 if one is not provided.
4460 2001-08-14 Bill Haneman <bill.haneman@sun.com>
4462 * idl/Registry.idl : temporarily changed register_Application
4463 to oneway, to work around issue with initial registration
4465 * idl/Application.idl : changed attribute "id" from readonly
4466 to read-write, since it needs to be assigned by Registry.
4467 * registryd/registryd.c : added call to set application id
4469 * registryd/registry.c : changed de-registration procedure to
4470 use CORBA_Object_hash() to find matching object ref in application
4471 lists and listener lists.
4472 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
4473 began distinguishing between event types (work in progress).
4475 2001-08-13 Bill Haneman <bill.haneman@sun.com>
4478 * libspi/application.c:
4479 Added implementations for get/set id, get_toolkitName,
4481 * registryd/registryd.c :
4485 Converted from use of OAF to bonobo-activation.
4486 * libspi/desktop.h :
4487 * libspi/desktop.c :
4489 Removed references to atksimpleobject, since base atkobject
4490 implementation now provides functionality we need.
4491 * libspi/atksimpleobject.c :
4492 * libspi/atksimpleobject.h :
4497 * at-bridge/Makefile.am
4498 * at-bridge/bridge.c
4501 Added directory "bridge" and contents, and added dependencies
4502 in Makefile.am/configure.in.
4503 Initial checkin of "at-bridge".
4504 This code is a GTK_MODULE which automatically registers
4505 GTK+ apps with the accessibility registry, using an object
4506 reference to the root ATK object.
4508 2001-08-10 Mark McLoughlin <mark@skynet.ie>
4510 * po/Makefile.in.in: Remove. Again. If this
4511 doesn't get autogenerated - you need to update
4514 2001-08-07 Mark McLoughlin <mark@skynet.ie>
4516 * po/Makefile.in.in: Add. Again.
4518 2001-07-31 Bill Haneman <bill.haneman@sun.com>
4520 * libspi/accessible.c : added support for 'description' property.
4521 * libspi/accessible.c
4523 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
4524 (since the two are now equivalent in libbonobo)
4532 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
4533 Bonobo::Unknown as does Accessibility::Accessible.
4534 * idl/StreamableContent.idl : as above, and replaced internal InputStream
4535 interface with Bonobo::Stream, since it was redundant with it.
4536 (The Stream returned by a StreamableContext object is expected to
4537 implement only a subset of Bonobo::Stream)
4539 2001-07-28 Anders Carlsson <andersca@gnome.org>
4541 * libspi/accessible.c (accessible_object_finalize): Change
4542 g_free to g_object_unref since the AtkObject is a GObject.
4544 2001-07-30 Bill Haneman <bill.haneman@sun.com>
4546 * idl/Accessibility.idl: add new IDL files
4549 * idl/Action.idl: Definitions of actionable UI object
4550 * idl/Component.idl: Definitions of UI component geometry, etc.
4551 * idl/Hyperlink.idl: Defs of hyperlink behavior
4552 * idl/Image.idl: Def of accessible image
4553 * idl/Selection.idl: Definition of UI object with selectable children
4554 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
4555 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
4556 * idl/Text.idl: Interface defs for UI elements with complex textual content
4557 * idl/Value.idl: Definition of UI element that is a value controller or display
4559 2001-07-27 Michael Meeks <michael@ximian.com>
4561 * po/Makefile.in.in: remove autogenerated file from CVS.
4563 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
4566 * idl/Registry.idl: include guard.
4568 * idl/Accessibility.idl: Add, and include all the other IDL
4571 * idl/*.idl: remove mass of pragmas etc.
4573 2001-07-26 Michael Meeks <michael@ximian.com>
4575 * registryd/Makefile.am (registryd_SOURCES): remove
4578 2001-07-27 Mark McLoughlin <mark@skynet.ie>
4580 * libspi/.cvsignore, registryd/.cvsignore,
4581 test/.cvsignore: updated.
4583 * po/Makefile.in.in: gettext update.
4585 2001-07-25 Bill Haneman <bill.haneman@sun.com>
4587 * initial CVS checkin
4589 2001-06-29 Michael Meeks <michael@ximian.com>
4591 * configure.in: add AM_CONFIG_HEADER to gen config.h