1 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3 * cspi/spi.h: add SPI_LAYER_WINDOW.
5 * cspi/spi_component.c: (AccessibleComponent_getLayer):
6 add Accessibility_LAYER_WINDOW case.
8 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
10 * libspi/component.c: (impl_accessibility_component_get_layer):
11 add ATK_LAYER_WINDOW case.
13 2002-08-28 Bill Haneman <bill.haneman@sun.com>
15 * configure.in: incremented micro version.
17 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
19 2002-08-20 Bill Haneman <bill.haneman@sun.com>
22 Clarified and reworded our commit policy.
25 Started an API "todo" addition list for 2.2.
29 Free char pointer from atk_text_get_selection, which was being leaked.
31 2002-08-19 Bill Haneman <bill.haneman@sun.com>
34 Small revision to author acknowledgement.
36 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
38 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
39 If signal has detail add it to the type of the event.
42 2002-08-12 Michael Meeks <michael@ximian.com>
44 * test/test-simple.c (global_listener_cb): bin bogosity.
45 (test_keylisteners): disable, still doesn't work reliably,
46 certainly not on my system anyway.
48 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
49 don't leak a reference on the DEC. This round-trip
50 fetching of the DEC per keystroke sucks, it should be
54 * cspi/cspi-lowlevel.h,
55 * cspi/bonobo/cspi-bonobo-listener.[ch],
56 * cspi/bonobo/cspi-bonobo.c: get the copyright
57 notices better - there is still a large amount of
58 work in at-spi falsely attributed solely to Sun.
60 * cspi/spi_main.c (cspi_object_ref): kill bogus
61 hash lookup, just increment the ref.
62 (SPI_freeString): make explicit the fact that we
63 handle NULL strings just fine.
64 (report_leaked_ref): obey coding standards.
65 (cspi_object_hash, cspi_object_equal): kill retval.
66 (cspi_object_release): only release if not on loan.
67 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
68 (cspi_object_borrow, cspi_object_return): impl.
70 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
71 use cspi_object_borrow / return.
73 2002-08-12 Darren Kenny <darren.kenny@sun.com>
75 * cspi/bonobo/cspi-bonobo-listener.c:
77 Don't call cspi_oject_new() because this is creating a new Accessible
78 every single time that an event is fired. This causes ATs like at-poke
79 to nolonger recognise the source of the event and thus ignore it.
80 Re-use the object from the cache, ref it and then unref it after the
81 listeners have been called.
83 2002-08-06 Darren Kenny <darren.kenny@sun.com>
85 * test/event-listener-test.c:
86 Added command-line options to disable mouse events (m) and
89 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
91 * configure.in: Update required versions of ATK, GTK+ and GAIL
93 * cspi-1.0.pc.in: Add dependency for X include files
96 * cspi/bonobo/Makefile.am:
97 Add $(X_CFLAGS) so that X include files
98 are picked up even if not in standard place (bug #71686)
100 2002-06-25 Bill Haneman <bill.haneman@sun.com>
102 * registryd/deviceeventcontroller.c: fix for 84261
103 (spi_dec_mouse_moved):
104 Added test of mouse button mask, so that we can detect mouse
105 button release. Unfortunately we can't otherwise detect mouse
106 button release events without consuming the mouse press event,
107 because of the way XGrabButton works. This means that our mouse
108 release events have a latency dependent on the polling period
109 while the mouse button is down. At least in this case we only
110 have to poll while the button is down, and not at other times.
111 If the button masks don't match with what the last press event
112 reported, we report the appropriate button release event.
113 (spi_dec_ungrab_mouse):
114 New method (not yet called).
115 (spi_device_event_controller_forward_mouse_event):
116 New method, sends mouse press event from GdkFilter.
117 (spi_dec_init_mouse_listener):
118 Added code to call XGrabButton, redirecting mouse button events to
119 the root window and our Gdk event loop.
121 Added code to filter mouse button events, and reordered.
123 * test/event-listener-test.c:
125 Added registration for mouse events of type "mouse:button".
127 2002-06-25 Bill Haneman <bill.haneman@sun.com>
129 * registryd/deviceeventcontroller.c: partial fix for 84261
130 (spi_dec_poll_mouse_idle):
131 New method, a timeout which checks to see if the mouse
133 (spi_dec_poll_mouse_moving):
134 A timeout to be called when mouse motion is underway.
135 (spi_dec_poll_mouse_moved):
136 A method which fires an event if the mouse has moved, and reports
137 whether or not it did so.
138 (spi_dec_init_mouse_listener):
139 A method which sets up the timeouts above.
140 (spi_device_event_controller_new):
141 Now calls spi_dec_init_mouse_listener.
143 * registryd/registry.c:
145 Now we initialize the device event controller when the registry is
146 initialized, instead of waiting until a client has requested a key
147 event notification; this is because we need the event controller
148 for mouse events, but the mouse event registration API is a
149 "registry" call and doesn't explicitly call the
150 deviceeventcontroller.
151 We now report mouse motion events with a 100 ms idle latency and
152 a 20 ms granularity when motion is in progress.
154 * test/event-listener-test.c:
156 We now register the "detail listener" for events of type
157 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
158 delivered only for the first mouse event received, and thereafter
159 "mouse:abs" events are delivered.)
161 * cspi/spi_registry.c:
162 DOCS: Documented the above mouse event typestrings.
164 2002-06-21 Bill Haneman <bill.haneman@sun.com>
166 Happy Summer Solstice...
168 * registryd/deviceeventcontroller.c: [fix for bug 84100]
169 (spi_controller_notify_keylisteners):
170 Changes to remove a listener from the listener list, freeing its
171 open keygrabs, if a notification to that listener fails. This
172 means that although a dead listener can continue to hold a passive
173 keygrab, a maximum of one dispatch to such a listener can fail
174 before the listener is removed from the list, thus the keygrab
175 will be released on the next occurrence.
177 (spi_notify_keylisteners):
178 Renamed to spi_controller_notify_keylisteners, as the controller
179 instance must now be passed as an argument.
180 The copied 'notify' GList is now a list of DEControllerKeyListener
181 objects, since we need more than just the CORBA reference if a
182 notify fails and we need to deregister the listener.
183 (impl_notify_listeners_sync):
184 (impl_notify_listeners_async):
185 (spi_device_event_controller_forward_key_event):
186 Modify use of notify_keylisteners in accordance with above
188 (spi_deregister_controller_key_listener):
189 New method introduced by refactoring, from
190 impl_deregister_keystroke_listener.
191 (impl_deregister_keystroke_listener):
192 Call spi_deregister_controller_key_listener.
193 (spi_key_listener_clone):
194 New method to copy a key listner without doing a 'ref' on the
195 remote object instance; used to create a notifier list.
196 (spi_key_listener_data_free):
197 New method, frees data without unreffing the source.
199 (spi_key_listener_clone_free): new method.
200 (spi_key_listener_free):
201 refactored to call spi_key_listener_data_free.
203 2002-06-20 Bill Haneman <bill.haneman@sun.com>
205 * registryd/registry.c: [fix for bug 86048]
206 (notify_listeners_cb):
207 Clear CORBA system exceptions which occur when notifying
208 listeners, before returning to the source of the original event,
209 since the event source doesn't care if the relayed notify failed.
210 In other words, don't complain to the atk-bridge if the registry
211 could not notify all its listeners, that's no fault of the
212 application and thus should not appear to be an error from the
213 application's perspective.
215 * cspi/spi_main.c: [fix for bug 85980]
217 Replaced use of bonobo_object_dup_ref with call to the wrapper
218 method, csou_dup_ref (); this silences a compiler warning and
219 provided more portability.
221 Ping the registry before return, and restart if necessary.
223 * cspi/bonobo/cspi-bonobo.c:
227 Fixed this method to return an object reference, as it should have
230 * cspi/cspi-lowlevel.h:
231 Added internal definition for cspi_ping() and fixed
232 return type of cspi_dup_ref().
235 2002-06-19 Bill Haneman <bill.haneman@sun.com>
237 * atk-bridge/bridge.c: [fix for bug 85305]
238 (spi_atk_bridge_register_application):
239 New method where the initial application registry calls have been
240 moved; it allows an application to re-register in response to
241 certain error conditions (such as a registry restart, see below).
243 Moved some initialization code to the method
244 spi_atk_bridge_get_registry, below.
245 (spi_atk_bridge_get_registry):
246 New, private accessor function for the Accessibility_Registry
247 instance. If the registry has not been started before, or has
248 died (as detected by failure of a CORBA exception), it is
249 restarted before return, and spi_atk_bridge_register_application
250 is called again to register with the new bridge instance.
251 (spi_atk_emit_eventv):
252 Set registry_died on error; use spi_atk_bridge_get_registry () to
255 * registryd/registry.c:
256 (impl_accessibility_registry_register_global_event_listener):
257 Set listener's event_type_quark to etype.minor instead of
258 etype.major (fix for bug 84856).
260 * test/event-listener-test.c:
261 (report_detail_event):
262 Change the output string so that user/tester can tell that the
263 'detail listener' was called instead of the 'generic listener'.
265 2002-06-18 Bill Haneman <bill.haneman@sun.com>
267 Fixes for bugs 84900, 84908, 84897, 84898.
272 Revved version to 1.1.0
273 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
274 version is going to HEAD which will be used for gnome-2-0-1 and later.)
276 * idl/Accessibility_Registry.idl:
277 (EventListener::notifyEvent):
278 Removed 'oneway' directive after extensive consulation with
279 ORBit2 team and others. This means also that unref() of the event
280 source can and should be done synchronously after emission, rather
281 than remotely in the client, after servicing the notify call on
284 NOTE: This change speeds up listener performance considerably, but
285 introduces new latency on the application side. We may want to
286 add an event queue to the atk-bridge.
288 * atk-bridge/bridge.c:
289 (spi_atk_bridge_focus_tracker):
290 Do a local unref() on the event source after emission.
292 * registryd/registry.c:
293 (desktop_remove_application):
294 Do an unref() on the event source after emission.
295 (desktop_add_application):
296 Do an unref() on the event source after emission.
297 (notify_listeners_cb):
298 When relaying an event, don't automatically add the event source
299 to the local object cache, just CORBA_dup it instead. Likewise,
300 if this method reenters, release the ref rather than calling
302 (impl_registry_notify_event):
303 No longer call remote unref() on the event source after dispatch.
305 * libspi/eventlistener.c:
306 (impl_accessible_event_notify_event):
307 Removed remote unref ()
309 * cspi/bonobo/cspi-bonobo-listener.c:
311 We now call cspi_object_new() instead of cspi_object_add() on
312 receipt of an event; thus we only have an implicit object ref
313 while the cspi_event method is being executed. If we need to keep
314 a reference to the object, the listener must call ref() on the
315 object. Thus also we don't need to call cspi_object_unref() after
316 invoking the listener callbacks in this method.
320 New internal API for creating a new cspi object, without adding it
323 Now uses cspi_object_new() to create the cspi object instance.
325 Now checks to see if the object is in the internal object cache,
326 and adds it if necessary before incrementing its refcount (note
327 that new objects are added with a refcount of 1).
329 New method which gives some information on leaked object instances
330 if leak detection is turned on.
332 * test/event-listener-test.c:
334 New method, used for testing event delivery timing for special
335 events of type "object:test". It reports elapsed time and
336 events/sec every 500 events.
338 Added a new listener, 'test listener', to check timing of event
339 receipt as noted above.
341 Added some timing output here also, reports elapsed time every 100
344 * test/stress-test.c:
345 Emit events of type "object:test", for use with "event-listener-test".
347 * test/test-simple.c:
348 (global_listener_cb):
349 Call Accessible_ref() on the event source before calling
350 validate_accessible, since the validation process does pointer
351 comparisons on the event source, meaning that the event source
352 needs to be added to the local object cache first. Any use of
353 such pointer comparisons between Accessible objects requires that
354 the caller hold an explicit reference to those objects.
355 We also must therefore call Accessible_unref() when leaving this method.
357 2002-06-13 Bill Haneman <bill.haneman@sun.com>
359 * registryd/deviceeventcontroller.c:
360 (spi_controller_update_key_grabs):
361 Fix for #84735, subsequent keygrab listeners not informed of
362 registration failure.
365 (spi_base_construct):
366 Add an assertion on construct, to make sure the GObject passed in
369 Explicitly initialize object->gobj pointer to NULL;
371 * cspi/bonobo/cspi-bonobo-listener.c:
372 (cspi_object_add_ref):
373 New method, can specify whether to dup-ref a bonobo object passed
374 in if it's newly added to the object cache.
376 Now calls cspi_object_add_ref with second param of "FALSE". This
377 prevents us from doing a pointless dup-ref followed by
378 release-unref for all those cases where the object is already in
379 our object cache (fix for #85205).
381 * atk-bridge/bridge.c:
382 (spi_atk_bridge_idle_init):
383 Removed this method, we don't need to initialize in an idle
386 Changed to call spi_atk_register_event_listeners directly, not via an
387 idle handler. (fix for #81139)
388 (gnome_accessibility_module_shutdown):
389 Removed conditional around deregistration of listeners, since we
390 don't use the idle handler and thus have always registered when
392 (spi_init_keystroke_from_atk_key_event):
393 Changed references to Accessibility_KEY_PRESSED to
394 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
396 2002-06-12 Bill Haneman <bill.haneman@sun.com>
398 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
403 * test/stress-test.c:
406 (may have been an incomplete commit yesterday?)
408 2002-06-12 Bill Haneman <bill.haneman@sun.com>
411 Added target for new stress-test.
413 * test/stress-test.c:
414 New test, sends 1000 focus notifies in quick succession.
416 * test/key-listener-test.c:
417 Now we report whether a keylistener registration
418 request succeeded or failed.
420 * test/event-listener-test.c:
421 Uncommented some listeners which are now implemented.
424 2002-06-06 Bill Haneman <bill.haneman@sun.com>
426 * registryd/deviceeventcontroller.c:
427 (spi_controller_update_key_grabs):
428 Fix for #82509, lack of failure notification when
429 ALL_WINDOWS keygrabs fail due to XGrabKey
430 failure: we synchronize the server when
431 registering a passive grab, to make sure we get the
432 error message before the call returns.
434 2002-06-03 Bill Haneman <bill.haneman@sun.com>
436 * test/test-simple.c:
438 Removed #ifdef KEY_IMPL_WORKS guards.
440 Removed #ifdef KEY_IMPL_WORKS guards.
441 Fixed bug which was causing a hang waiting for a
442 "press" event (which was already overwritten by a "release"
443 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
445 Added code to set globals 'key_press_received' and
446 'key_release_received'.
449 Added section "1.1 API Proposed Additions" which
450 lists API additions desired for at-spi-1.1 (only one so far).
451 Updated TODO list a little.
453 2002-06-02 Bill Haneman <bill.haneman@sun.com>
455 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
458 * configure.in: Revved to 1.0.0.
460 * idl/Accessibility_Registry.idl:
461 (registerKeystrokeListener):
462 Added boolean return value.
464 * registryd/registry.c:
465 (notify_listeners_cb): Minor fix to debug output.
467 * registryd/Accessibility_Registry.server.in.in:
468 Revved version number in OAFIID to 1.0.
470 * registryd/registryd.c:
472 Use new OAFIID version.
474 * cspi/bonobo/cspi-bonobo.c:
476 Use new OAFIID version.
482 * atk-bridge/bridge.c:
484 Use new OAFIID version.
486 * registryd/deviceeventcontroller.c:
487 (impl_register_keystroke_listener):
488 Added CORBA_boolean return value.
489 (spi_controller_register_device_listener):
490 Added gboolean return value.
491 (spi_controller_register_global_keygrabs):
492 Added gboolean return value.
493 (spi_key_set_contains_key):
494 Added implementation for many more control keys,
495 for instance F1-F12, arrow keys, End, Home, Page_Up,
497 [TODO: some still not implemented].
499 * text/screen-review-test.c:
500 (text_chunk_pad_string):
501 New function: it provides mapping between coordinate
502 positions of text chunks and character positions in the
503 screen-review-line output string.
504 (text_chunk_to_string):
505 New function, calls text_chunk_pad_string with various
506 pad/delimiter characters. Pushbuttons are delimited with
507 square brackets, Frames with vertical 'pipe' lines, and
508 other text with double quotes.
509 (text_chunk_list_to_string):
510 Calls new function text_chunk_to_string.
511 (toplevel_composite):
512 New function to composite layers CANVAS through
513 POPUP in each toplevel (other layers are composited
514 across toplevels, i.e. BACKGROUND and OVERLAY).
515 (review_buffer_composite):
516 Revise to use new methods.
522 2002-05-31 Laszlo Peter <laca@sun.com>
524 * configure.in: add the Xtst libdir to the runpath on Solaris,
525 since it's not in the default library search path.
527 2002-05-29 jacob berkman <jacob@ximian.com>
529 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
531 2002-05-29 Bill Haneman <bill.haneman@sun.com>
533 * test/screen-review-test.c:
534 (text_chunk_pad_string):
535 Added method, which pads the string according to the
536 text bounds of the chunk. It also takes a 3-character
537 string as a param which indicates the characters to be
538 used for start, padding, and end delimitation of the chunk.
539 (text_chunk_to_string):
540 Changed to use text_chunk_pad_string.
542 * configure.in: Fixed bug in AC_OUTPUT that was
543 causing path substitution in Accessibility_Registry.server
546 2002-05-23 Bill Haneman <bill.haneman@sun.com>
548 * text/screen-review-test.c:
550 New method which attempts a best-guess at clipping
551 text from components (like Java labels) which don't
552 actually implement AccessibleText. This inaccurate
553 clip is based on the assumption that the label is
554 justified left-and-right, and monospaced.
555 (text_chunk_get_clipped_string):
556 We now call guess_string_clip() for text-containing
557 components that don't implement AccessibleText.
559 * test/screen-review-test.c:
560 (review_buffer_get_text_chunk):
561 We now pull "name" from labels if they do not implement
562 AccessibleText (i.e. for Java labels).
563 (get_screen_review_line_at):
564 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
567 Replaceded AC_OUTPUT target
568 registryd/Accessibility_Registry.server with
569 registryd/Accessibility_Registry.server.in.
571 * registryd/Accessibility_Registry.server.in:
572 Removed (this is now a Makefile target).
574 * registryd/Accessibility_Registry.server.in.in:
575 Added (source for target above). We now use $(libexecdir) as
576 prefix for the executable at-spi-registryd.
578 * registry/Makefile.am:
579 Now install at-spi-registryd into $(libexecdir), and build .server
580 file with path (see above).
582 2002-05-22 Bill Haneman <bill.haneman@sun.com>
584 * test/screen-review-test.c:
585 (text_chunk_get_clipped_string):
586 We now check to see if words fall within clip bounds
587 before resorting to character-by-character clip bounds testing.
589 * TODO: Added a section for "2.2 Proposed API Additions".
591 2002-05-21 Bill Haneman <bill.haneman@sun.com>
593 * test/screen-review-test.c:
595 Added a screen review benchmarking and test program to test
598 * cspi/spi_accessible.c:
600 Made some of the debug strings passed to cspi_check_ev a
601 little more specific.
603 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
605 * test/screen-review-test.c: Fix crashes in debug statements
607 2002-05-20 Bill Haneman <bill.haneman@sun.com>
609 * test/screen-review-test.c: Added this file.
611 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
613 * atk-bridge/bridge.c: changed "object:state-change" to
614 "object:state-changed" to match docs.
616 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
618 * atk-bridge/bridge.c: Hooked up state-change event details.
620 2002-05-11 Bill Haneman <bill.haneman@sun.com>
622 * registryd/registry.c:
623 Fixed quarking bug in event string parsing; now events with
624 detail parameters get matched correctly to listeners.
627 * util/idl/Magnifier.idl: remove.
629 * util/*.[ch]: Remove.
630 Magnification utilities and IDL are now in module gnome-mag.
632 2002-05-10 Bill Haneman <bill.haneman@sun.com>
634 * registryd/deviceeventcontroller.c:
635 Fixed bug in grab key conversion which was causing keycode grabs
636 to be converted to AnyKey grabs.
639 updated NEWS file to reflect recent spin-off of gnome-mag.
641 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
643 * cspi/spi_accessible.c: Added exception checks. Fixed completely
644 busted AccessibleStateSet_compare. Removed redundant casts.
646 * cspi/spi-action.c: Removed redundant casts.
648 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
650 * cspi/spi_component.c: Fixed typos and casting error.
652 * cspi/spi_editabletext.c: Removed redundant casts.
654 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
656 * cspi/spi_hypertext.c: Eliminated redundant casts.
658 * cspi/spi_image.c: Eliminated redundant casts.
660 * cspi/spi_registry.c: Eliminated redundant casts.
661 SPI_deregisterGlobalEventListenerAll () removed retval variable.
662 * cspi/spi_selection.c: Removed redundant casts.
663 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
664 handling. Screen geometry and text offsets were being returned as 0
665 on error which is technically valid-- changed these to return -1.
666 Added marshaller for text boundary types to fix bug with boundary
667 types being passed incorrectly to atk.
669 2002-05-09 Bill Haneman <bill.haneman@sun.com>
672 * cspi/spi_registry.c:
673 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
674 which was uncovered by the recent key changes.
676 2002-05-09 Bill Haneman <bill.haneman@sun.com>
678 * test/event-listener-test.c:
680 Added new test, "event-listener-test";
681 this code does two things; it benchmarks traversal time
682 for the accessible hierarchy for the first running accessible
683 app, and it connects listeners for all supported event types.
684 It is thus useful as an example event listener and for
685 diagnostics/debugging of event generation.
687 2002-05-08 Bill Haneman <bill.haneman@sun.com>
690 Removed unnecessary dependency on libutil.
693 Revved micro version: 0.13.1
695 2002-05-08 Bill Haneman <bill.haneman@sun.com>
698 Removed util/Makefile from targets.
701 Removed util subdir from SUBDIRS (temporarily,
702 pending removal of magnifier-only code
706 #ifdef-ed out magnifier dependencies, since
707 magnifier IDL, headers, and binary now live in
708 module gnome-mag and we don't want at-spi to depend
709 on gnome-mag. A magnifier demo which can run alongside
710 simple-at is forthcoming in the gnome-mag module.
712 NOTE: Split magnifier binary, IDL, and magnification
713 activation code from at-spi into module gnome-mag.
715 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
717 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
718 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
720 2002-05-03 Bill Haneman <bill.haneman@sun.com>
723 Revved to version 0.13.0
725 * idl/Accessibility_Registry.idl:
726 Changed definition of KeySet from sequence of longs to sequence of
727 KeyDefinitions, and added KeyDefinition struct.
728 Required for fix to bug 80616.
730 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
731 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
732 to use new definition (see above).
734 * registryd/deviceeventcontroller.c: handle_keygrab(),
735 spi_keyset_contains_key():
736 Changed to make use of new struct; this allows matching based on
737 string key-name, for instance "Tab". This also allows matching of
738 composed characters, non-alphanumeric characters in a way that
739 doesn't involve dependencies on X keysym codes directly, etc.
741 * test/key-listener-test.c:
742 Added test for Alt-Tab key using "string" specification of keyset,
743 and modified one of the tests to use a keycode-based keyset.
744 Thus this test both tests and demonstrates the creation and use of
745 keysets of three forms: specified via keycode array,
746 keysym array, and string array. (The string case only contains a
747 single string, i.e. a string array of length 1).
750 Turned on PRINT_TREE option by default. Also fixed a
751 string-freeing bug in the PRINT_TREE code.
752 Added a listener to window:minimize events.
754 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
756 * atk-bridge/bridge.c:
757 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
758 for window:activate and window:deactiveate
759 (atk_bridge_property_event_listener atk_bridge_signal_listener
760 atk_bridge_window_event_listener) Tidy debug code
762 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
764 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
765 Fixed handling for NULL return value from ATK.
767 * libspi/action.c libspi/component.c libspi/editabletext.
768 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
769 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
770 Removed redundant casts.
772 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
773 Fixed off by one bug.
775 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
776 function not present in idl)
778 2002-05-02 jacob berkman <jacob@ximian.com>
780 * atk-bridge/Makefile.am: make atk-bridge a real module
782 2002-04-26 Radek Doulik <rodo@ximian.com>
784 * libspi/stateset.c (spi_init_state_type_tables): fix size of
785 atk_state_types table
787 2002-04-22 jacob berkman <jacob@ximian.com>
790 * libspi/Makefile.am: add deps on the built files to help
791 automake, and don't version the ORBit typelib
793 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
795 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
796 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
797 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
798 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
799 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
800 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
801 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
802 libspi/accessible.h libspi/accessible.h libspi/base.h
803 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
804 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
805 libspi/relation.h libspi/remoteobject.h libspi/selection.h
806 libspi/spi-private.h libspi/statetset.h libspi/table.h
807 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
808 util/mag_client.h util/mag_control.c util/mag_image.c
809 util/mag_image.h util/magnifier.c util/magnifier.h:
810 Add missing file headers; standardize existing ones
812 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
814 * atk-bridge/bridge.c: Added window event support.
816 2002-04-18 Michael Meeks <michael@ximian.com>
818 * libspi/relation.c (impl_getNTargets): impl.
819 (impl_getTarget): impl.
821 * libspi/Makefile.am: fix stateset install.
823 2002-04-17 Bill Haneman <bill.haneman@sun.com>
826 Started putting useful info in this file.
828 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
830 * atk-bridge/bridge.c:
831 Propagate state-changed notifications to ATs
833 * cspi/spi_registry.c: update docs to reflect actual behavior of
836 2002-04-17 Bill Haneman <bill.haneman@sun.com>
839 Incremented version to 0.12.1
842 Add missing declaration for magnifier_exit,
843 used by mag_control.c - Forte compiler didn't like
844 the implicit redeclaration of the function :-(
847 2002-04-16 Bill Haneman <bill.haneman@sun.com>
850 Revved version to 0.12 due to API change (see below).
852 * cspi/spi-roletypes.h:
853 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
854 definition from the inline docs, and added docs
855 for SPI_ROLE_LAST_DEFINED.
858 * cspi/spi_streamablecontent.c:
859 Added missing seek_type parameter to
860 (so far unused) method,
861 AccessibleStreamableContent_seek().
862 [ RT approval JodyG. ]
865 Fixed docs for SPI_createAccessibleKeystrokeListener.
867 * cspi/spi_registry.c:
868 Fixed docs for SPI_KEYSET_ALL_KEYS.
870 * docs/reference/cspi/at-spi-cspi-sections.txt:
871 Added a number of missing APIs to SECTIONS.
873 2002-04-16 Bill Haneman <bill.haneman@sun.com>
875 * registryd/Makefile.am:
877 * cspi/bonobo/Makefile.am:
878 Add $(X_LIBS) to makefiles.
880 2002-04-15 Bill Haneman <bill.haneman@sun.com>
883 Revved version to 0.11.
885 * libspi/component.c:
886 Added implementation for grabFocus.
888 * idl/Accessibility_Component.idl
889 (Accessibility_Component_grabFocus):
890 Made this method return boolean to indicate success or failure, to
891 be consistent with cspi and the corresponding ATK method.
893 * idl/Accessibility_Selection.idl
894 (Accessibility_Selection_selectAll) :
895 Made these methods return boolean to indicate success or
896 failure, to be consistent with cspi and the corresponding ATK methods.
898 * idl/Accessibility_EditableText.idl
899 (Accessibility_EditableText_setTextContents,
900 Accessibility_EditableText_insertText,
901 Accessibility_EditableText_cutText,
902 Accessibility_EditableText_deleteText,
903 Accessibility_EditableText_pasteText):
904 Made these methods return boolean to indicate
907 * cspi/spi_editabletext.c:
908 Made these methods return booleans.
910 * libspi/selection.c:
911 * libspi/component.c:
912 * libspi/editabletext.c:
913 Connected the boolean returns from ATK
914 to the server-side code referenced above.
916 2002-04-14 Bill Haneman <bill.haneman@sun.com>
918 * idl/Accessibility_Table.idl: Added missing methods,
919 Accessibility_Table_addRowSelection,
920 Accessibility_Table_addColumnSelection,
921 Accessibility_Table_removeRowSelection,
922 Accessibility_Table_removeColumnSelection.
925 Added C wrappers for above IDL:
926 AccessibleTable_addRowSelection,
927 AccessibleTable_addColumnSelection,
928 AccessibleTable_removeRowSelection,
929 AccessibleTable_removeColumnSelection.
932 Added server-side implementation code for IDL above, connecting
933 to pre-existing ATK api.
935 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
937 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
939 * libspi/accessible.c: Added implementation fo
940 Accessibility_Accessible_get_state.
942 * libspi/libspi.h: Added stateset.h to the list of includes.
944 * libspi/stateset.c: Fixed broken implementation.
946 2002-04-13 Bill Haneman <bill.haneman@sun.com>
949 Added implementation code for Accessibility_Magnifier_exit ().
951 * util/mag_control.c:
952 Added test code for above method; you can
953 now kill an existing magnifier via
954 ./mag_control q, from the util directory.
956 * test/key-listener-test.c:
958 Added a new test, for our key listener API.
960 2002-04-11 Bill Haneman <bill.haneman@sun.com>
962 * test/app.c, test/keysynth-demo.c:
964 Replace use of snprintf with g_snprintf.
965 (fix for bugzilla 78249)
967 2002-03-27 Michael Meeks <michael@ximian.com>
971 * util/Makefile.am (INCLUDES): fix.
972 (DONT_DIST_SOURCE): don't distribute the
975 * libspi/Makefile.am (dist-hook): ditto.
977 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
979 * libspi/hypertext.c:
980 Fix warnings when yelp is used with atk-bridge
982 2002-03-21 Michael Meeks <michael@ximian.com>
984 * libspi/application.c (spi_application_new):
985 use spi_accessible_construct so we use the AtkObject
988 2002-03-19 Michael Meeks <michael@ximian.com>
990 * registryd/registry.c (desktop_remove_application),
991 (desktop_add_application): clean coding style.
993 * registryd/desktop.c (spi_desktop_remove_application),
994 (spi_desktop_add_application): kill re-enterency hazards.
995 (spi_desktop_dispose): remove bogus redundant cast
996 obscuring bug; fix bug too.
997 (spi_desktop_init): make the desktop object immortal.
999 2002-03-16 Bill Haneman <bill.haneman@sun.com>
1002 Added a #define-guarded tree-traversal step
1003 when enumerating the apps (diagnostic tool).
1005 2002-03-15 Bill Haneman <bill.haneman@sun.com>
1007 * idl/Accessibility_Role.idl:
1008 Added ROLE_DRAWING_AREA which seemed to be missing from the
1011 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1013 * cspi/spi-roletypes.h cspi/spi_accessible.c
1014 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
1017 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
1018 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
1019 AT when applications are added and removed from the desktop. This
1020 reverts the previous broken implementation using the backing
1021 AtkObject for the SpiDesktop.
1023 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1025 * registryd/desktop.c: emit the "children-changed::add" and
1026 "children-changed::remove" signals on the backing ATK object for
1027 the desktop so AT can tell when applications are started and shut
1030 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1032 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
1034 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1036 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
1038 * cspi/spi_accessible.c: Implemented c bindings for stateset support
1040 * cspi/state-types.h: synched with IDL and ATK
1042 2002-03-13 Bill Haneman <bill.haneman@sun.com>
1044 * libspi/accessible.c
1045 (impl_accessibility_accessible_get_child_at_index):
1046 Change return value for g_return_if_fail ()
1047 to CORBA_OBJECT_NIL instead of "0" (!)
1049 * registryd/Makefile.am:
1050 * registryd/Accessibility_Register.server.in:
1051 Changed name of executable, "registryd",
1052 to something more informative:
1055 2002-03-13 Michael Meeks <michael@ximian.com>
1057 * atk-bridge/bridge.c (atk_bridge_init): don't register
1058 if we're in a bonobo-component, rather than a bonobo app.
1060 2002-03-13 Michael Meeks <michael@ximian.com>
1062 * atk-bridge/bridge.c (gtk_module_init): split
1063 out body to (atk_bridge_init): here, since otherwise
1064 we get symbol conflicts and oddness when invoked
1065 from (gnome_accessibility_module_init): here (upd.)
1067 2002-03-11 Bill Haneman <bill.haneman@sun.com>
1070 New file. Explicitly allow "build sheriff" putbacks provided
1071 they are tested on Solaris.
1073 * docs/reference/cspi/Makefile.am:
1074 Added '-' to the "cp" command for index.sgml.
1075 ("patch by thomasvs, soon coming to a GUADEC near you")
1078 Incremented version number (0.9.0) for new release.
1079 Changed macro that checks for popt, to better detect
1080 obsolete versions of popt.
1083 Added X_LIBS to AC_SUBST, for applications
1084 that call Xlib API directly.
1087 2002-03-07 Bill Haneman <bill.haneman@sun.com>
1090 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
1093 Fix regression caused by hard-coding major
1094 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
1097 * test/test-simple.c (test_editable_text),
1098 (test_test): revert previous change (error was
1099 a regression in gail which is now fixed).
1101 2002-03-04 Michael Meeks <michael@ximian.com>
1103 * test/test-simple.c (test_editable_text),
1104 (test_text): pass G_MAXINT instead of '-1' for
1105 whole string - is this a good thing !?
1107 * cspi/spi_accessible.c
1108 (Accessible_getRelationSet): fix crasher bug
1109 overwriting the end of the array.
1111 * test/test-simple.c (validate_accessible): free,
1112 not g_free returned relation set.
1114 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
1116 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
1117 implemented stateset support
1119 * idl/Accessibility_State.idl: Made necessary changes to
1120 the IDL to support state sets.
1122 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1124 * registryd/deviceeventcontroller.c:
1125 Added implementation for generateMouseEvent.
1127 * cspi/spi_registry.c:
1128 Connected new implementation for generateMouseEvent
1131 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1134 Incremented revision (but no change in public API
1135 outside of 'utils', which are not installed public yet.)
1137 * libspi/component.c:
1138 Changed to use atk_component API for layers and
1139 mdi_zorder, instead of deprecated atk_object API.
1141 Magnification Utility Enhancements:
1144 Added implementation of createZoomRegion, clearAllZoomRegions,
1145 resizeZoomRegion. Added new commandline argument
1146 "--no-initial-region". Note that clearAllZoomRegions doesn't
1147 unmap the old '0' region as it should (yet), and the other
1148 methods only work when creating/resizing a single region,
1149 which is "region 0".
1150 (Code for multiple region support will be added later.)
1153 Now we raise the magnifier window each time it's refreshed;
1154 this will help keep it on top.
1156 * util/mag_client.h:
1157 Added simple wrappers for above, used by mag_control.
1158 For general use, it's recommended to use the bonobo magnifier
1159 control API directly instead of using these wrappers.
1162 Moved ZoomRegionData from magnifier.c to this file.
1164 * util/mag_control.c:
1165 Added some code to exercise new IDL implementations.
1167 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
1169 * libspi/text.c: Provide implementation for getAttributes.
1171 2002-02-04 Bill Haneman <bill.haneman@sun.com>
1174 Incremented revision.
1176 * test/test-simple.c:
1177 Replaced use of deprecated g_main_iteration with
1178 g_main_context_iteration.
1180 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
1183 Incremented revision for desktop alpha 2.
1185 2002-01-28 Mark McLoughlin <mark@skynet.ie>
1187 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
1190 * test/simple-at.c: include netinet/in.h.
1192 2002-01-24 Mark McLoughlin <mark@skynet.ie>
1194 * cspi/spi_accessible.c: (Accessible_getRelationSet):
1195 use NULL, not CORBA_OBJECT_NIL.
1197 * libspi/accessible.c:
1198 (impl_accessibility_accessible_get_relation_set):
1199 allocate the sequence correctly.
1201 * libspi/remoteobject.h: kill spi_remote_object_new.
1203 * test/test-simple.c: (validate_accessible): add code
1204 to test relation sets, now all we need is to figure
1205 out how to excercise this code path :/
1207 2002-01-18 Michael Meeks <michael@ximian.com>
1209 * test/test-simple.c
1210 (key_listener_cb): consume the key.
1211 (test_keylisteners): update.
1212 (main): wait for any pending unrefs on events.
1214 * registryd/deviceeventcontroller.c
1215 (spi_controller_update_key_grabs): only re-issue the
1216 grab on a key release.
1217 (spi_device_event_controller_forward_key_event):
1218 refresh the keygrabs before we notify the listeners,
1219 to reduce the X ungrab / re-grab race.
1220 (spi_controller_register_with_devices): remove
1221 XSelectInput - we do that with the gdk_window_ call.
1222 (_spi_controller_device_error_handler): return a value.
1223 s/GDK_DISPLAY/spi_get_display/
1225 2002-01-17 Michael Meeks <michael@ximian.com>
1227 * registryd/deviceeventcontroller.c
1228 (_deregister_keygrab): don't blow out the later
1231 * test/test-simple.c (test_keylisteners): do a
1232 more intelligent validation.
1234 2002-01-14 Michael Meeks <michael@ximian.com>
1236 * atk-bridge/bridge.c
1237 (gnome_accessibility_module_init),
1238 (gnome_accessibility_module_shutdown): impl.
1239 (gtk_module_init): protect vs. double inits.
1240 (add_signal_listener): impl.
1241 (spi_atk_bridge_state_event_listener): kill
1242 (deregister_application): split out of
1243 (spi_atk_bridge_exit_func): here.
1245 2002-01-18 Bill Haneman <bill.haneman@sun.com>
1248 Added caret tracking when using magnifier, and
1249 now use text bounds for focus tracking of text elements, rather than
1250 the component bounds - this is helpful for short text fields in long
1251 table cells, at high magnification.
1253 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1255 * registryd/deviceeventcontroller.c:
1256 Regression fix for keylistener de-registration; global keygrabs
1257 were not being released when deregisterKeystrokeListener was
1258 called in cspi, since
1259 Accessibility_DeviceEventController_deregisterKeystrokeListener
1260 was called with a zero-length keyset. That is because the cspi
1261 method, SPI_deregisterKeystrokeListener, does not take a keyset
1262 parameter but instead should remove all the key grabs held be a
1264 The code in impl_deregister_keystroke_listener was changed to copy
1265 the keylist from the listener instance previously registered with
1266 the DeviceEventController before releasing the grabs.
1268 * registryd/registry.c:
1269 * registryd/deviceeventcontroller.c:
1270 * libspi/spi-private.h:
1272 Changed spelling of "re-enterant" to "re-entrant" globally.
1274 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1276 * test/test-simple.c:
1277 Changed key listeners test - the test was slightly mis-using the
1278 (admittedly poorly documented) SPI_generateKeyboardEvent API.
1279 It now uses '=' as the key event listened to and generated,
1280 relying on a keysym match rather than assuming that keycode 33
1281 is always equal to keysym '!'.
1283 2002-01-15 Bill Haneman <bill.haneman@sun.com>
1286 Changed simple-at to use a specific keyset, rather than
1287 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
1288 manager, desktop, etc.
1290 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1292 * registryd/deviceeventcontroller.c:
1293 Replaced standard X error handler with a special handler that
1294 is non-fatal for failed keygrabs. This works around
1295 problems with keygrab clashes sometimes observed on
1297 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
1298 mouse handling code as yet).
1300 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1303 Incremented revision for desktop alpha release.
1306 Fixed a couple of the more glaring errors (still not
1309 2002-01-11 Michael Meeks <michael@ximian.com>
1311 * registryd/deviceeventcontroller.c
1312 (spi_device_event_controller_forward_key_event): kill
1313 XUngrabKey / XKeyGrab race.
1314 (spi_controller_grab_keyboard): rename to
1315 (spi_controller_update_key_grabs): this, and deal
1316 with incremental adding / removing grabs more
1318 (_register_keygrab): ensure we're not pending a remove.
1319 (spi_grab_mask_free): impl.
1320 (spi_controller_register_global_keygrabs): split out
1322 (handle_keygrab): impl.
1323 (_deregister_keygrab): impl.
1324 (spi_controller_deregister_global_keygrabs): impl.
1325 (spi_controller_update_key_grabs): re-issue the grab if
1326 we just recieved a notification.
1328 * test/test-simple.c (key_listener_cb): remove debug.
1330 * registryd/deviceeventcontroller.c
1331 (spi_controller_register_device_listener): after
1332 registering a global keygrab, actualy register it !
1333 don't wait for a timeout; doh !
1335 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
1336 to make it more readable / manipulable.
1337 s/grabmask/grab_mask/ s/refcount/ref_count/
1338 s/keyval/key_val/ s/modmask/mod_mask
1340 2002-01-08 Michael Meeks <michael@ximian.com>
1342 * registryd/deviceeventcontroller.c
1343 (spi_controller_register_with_devices): use gdk calls to
1345 (global_filter_fn): implement the filter.
1346 (spi_device_event_controller_check_key_event): rename to
1347 (spi_device_event_controller_forward_key_event): this & upd.
1348 (spi_get_display): replace with GDK_DISPLAY.
1350 * registryd/deviceeventcontroller.c
1351 (spi_controller_deregister_device_listener): unroll into
1352 (impl_deregister_keystroke_listener): here to simplify.
1353 (spi_controller_register_global_keygrabs): split cut and
1354 paste (!) out into (_register_keygrab): here, shorter & sweeter.
1355 (spi_controller_deregister_device_listener): remove.
1356 (impl_register_mouse_listener): remove, no mouse listener
1357 support in at-spi-1.0
1359 * registryd/registry.c
1360 (_device_event_controller_hook): kill.
1361 (spi_registry_init): upd.
1363 * registryd/deviceeventcontroller.c
1364 (spi_device_event_controller_class_init): upd.
1365 (spi_check_key_event): merge into.
1366 (spi_device_event_controller_check_key_event):
1367 here and kill strange static ev init, don't leak
1368 the x_event - nor dynamicaly allocate it.
1370 * registryd/registry-main.c (main): re-direct
1371 timeout to remove strange vtable mess.
1373 * registryd/deviceeventcontroller.c
1374 (remove_listener_cb): impl.
1375 (spi_controller_deregister_device_listener):
1376 fix re-enterancy hazard.
1378 2002-01-07 Michael Meeks <michael@ximian.com>
1380 * registryd/deviceeventcontroller.c
1381 (spi_device_event_controller_new): upd.
1382 (impl_notify_listeners_sync): upd. debug.
1383 (spi_notify_keylisteners): fix re-enterancy hazards,
1384 prettify, remove O(n*n) iteration.
1385 (spi_controller_grab_keyboard): fix iteration.
1386 (spi_check_key_event): re-format to suit coding style.
1387 Clean all the warnings - we're warning free.
1389 * registryd/deviceeventcontroller.h:
1390 * registryd/registry.h: make mutualy referential with
1391 typesafe forward references instead of (!) void pointer
1394 2002-01-11 Michael Meeks <michael@ximian.com>
1396 * cspi/spi_accessible.c (role_names): add a role name
1397 to sync this array with the enum; and make the regression
1400 2002-01-10 Michael Meeks <michael@ximian.com>
1402 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
1403 allow expansion of enumeration & kill warning.
1405 * test/test-simple.c (key_listener_cb): impl.
1406 (test_keylisteners): impl.
1408 * cspi/spi-listener.h: make listener signatures const
1409 on the provided (const) events.
1411 * test/keysynth-demo.c: upd. to const events.
1413 * test/simple-at.c: ditto.
1415 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1418 Rev the version to 0.5 (the previous tarball was named 0.4,
1419 even though the micro number was 3), so we need to rev upwards
1420 again for beta2/"desktop-alpha"
1423 Checked in a demo script, which requires editing before use!
1424 Proceed with caution.
1427 Fixed typo in header which was redefining SPI_ACTION_CLASS.
1429 * cspi/spi_accessible.c:
1430 Add a couple of missing enum initializations, and fix some enum
1433 * cspi/spi_registry.c:
1434 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
1436 * docs/reference/cspi/at-spi-cspi-sections.txt:
1437 Remove/fix a couple of broken document references.
1440 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
1441 as Alt-Control to listen for commands, since on some systems
1442 Control-Alt may already be grabbed.
1444 2002-01-10 Bill Haneman <bill.haneman@sun.com>
1447 Update version number to 0.4 for Beta2.
1449 * libspi/accessible.c, libspi/accessible.h:
1450 Expose spi_accessible_construct, to enable libgail-gnome
1451 construction from spi_accessible subtype.
1453 * utils/magnifier.c:
1454 Workaround for bug in some non-gnome-compliant window managers
1455 which made magnifier resize improperly.
1457 2002-01-09 Bill Haneman <bill.haneman@sun.com>
1459 * libspi/accessible.c: (spi_accessible_new) :
1460 Move the test for SPI_IS_REMOTE_OBJECT to
1461 spi_accessible_new_return, fixing a bug and compile time warning.
1463 2002-01-08 Michael Meeks <michael@ximian.com>
1465 * registryd/registry.c (parse_event_type): remove strndup.
1467 * libspi/Makefile.am (libspi_la_SOURCES): remove
1468 sources already included in the headers section.
1470 * libspi/util.c: add.
1472 * libspi/spi-private.h: add.
1474 * registryd/registry.c: update to moved list iterators.
1476 2002-01-05 Michael Meeks <michael@ximian.com>
1478 * test/simple-at.c (main): upd. auto-module set to atk-bridge
1480 * test/test-simple.c (main): ditto.
1482 2002-01-04 Michael Meeks <michael@ximian.com>
1484 * libspi/accessible.c (spi_accessible_new): remove 2nd,
1485 redundant construct.
1487 * registryd/registry.c
1488 (get_listener_list): impl.
1489 (impl_accessibility_registry_register_global_event_listener):
1490 re-impl. to simplify using ~, remove dodgy const cast off.
1491 (parse_event_type): constify.
1492 (impl_accessibility_registry_deregister_global_event_listener_all):
1493 re-write, more efficiency and simplicity, kill re-enterancy
1495 (compare_listener_corbaref, compare_corba_objects),
1496 (compare_listener_quarks): define out.
1497 (impl_accessibility_registry_deregister_global_event_listener):
1498 re-write for effiency, and nail re-enterancy hazard.
1499 (impl_accessibility_registry_get_desktop_list): impl.
1500 (re_enterant_list_delete_link): impl.
1501 (re_enterant_list_foreach): impl.
1502 (remove_listener_cb): impl.
1503 (_registry_notify_listeners): kill.
1504 (notify_listeners_cb): impl.
1506 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
1507 (SPI_getDesktopList): impl.
1509 * test/test-simple.c (test_desktop): test the methods.
1511 2002-01-03 Michael Meeks <michael@ximian.com>
1513 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
1514 keystrings since we free them
1515 (SPI_freeAccessibleKeySet): in here.
1517 * libspi/accessible.c (spi_accessible_new): kill warning,
1518 wonder what is going on with the constructor here.
1520 2002-03-01 Bill Haneman <bill.haneman@sun.com>
1522 * libspi/accessible.c (spi_accessible_new ()) :
1523 Added check to see if AtkObject is an SpiRemoteObject before
1524 creating an SpiAccessible.
1526 2002-05-01 Bill Haneman <bill.haneman@sun.com>
1528 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
1529 Enable keygrabs using the Control modifier, now that they are
1530 working properly (they were previously disabled).
1533 Change the command keygrab for this demo to "Control+Alt", so as
1534 to conflict with fewer other key commands on the system; this
1535 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
1537 Removed a pointlessly-chatty keylistener for unshifted keys
1538 (shifted keys are still reported).
1540 2002-02-01 Bill Haneman <bill.haneman@sun.com>
1542 * libspi/remoteobject.h:
1543 * libspi/remoteobject.c:
1544 Added definitions for special AtkObject subtype, required for
1545 support of remote components (specifically, used by BonoboControl
1546 accessibility implementation).
1548 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
1550 * cspi/spi.h: synched relation types with ATK
1552 * cspi/spi_accessible.c: Added implementations of
1553 AcccessibleRelation_* methods
1555 * idl/Accessibility_Relation.idl: added getRelationTypeName
1556 method. Synched known relation types with ATK. Allowed for
1557 relation type extension with the RELATION_EXTENDED type.
1559 * libspi/relation.c: Provided implementations for
1560 AccessibleRelation methods.
1562 2002-01-01 Bill Haneman <bill.haneman@sun.com>
1564 API tweaks for today's API 'freeze'.
1567 Added placeholder functions to allow future compatible expansion
1568 of the IDL interfaces.
1570 * idl/Accessibility_Registry.idl:
1571 Changed generateKeyEvent to generateKeyboardEvent. Changed
1572 signature of this method to accept an optional keystring in
1573 parameter (for complex text input synthesis) and changed use of
1574 simple 'boolean' parameter in registerKeystrokeListener to a
1575 struct, EventListenerMode.
1577 * cspi/spi_accessible.c:
1579 * cspi/spi_streamablecontent.c:
1580 Added references to AccessibleStreamableContent interface, and
1581 definition and implementation of AccessibleStreamableContent
1584 * cspi/spi_registry.c:
1586 Changed generateKeyEvent API to generateKeyboardEvent,
1587 taking a new (optional) keystring parameter to support complex
1592 Renamed directory (to better reflect its actual purpose, bridging
1593 from at-spi to ATK). The .so module is also now named
1596 * idl/Accessibility_Hypertext.idl:
1597 * libspi/accessible.c:
1598 * libspi/hypertext.h:
1599 * libspi/hypertext.c:
1600 Changed Accessibility_Hypertext to *not* derive from
1603 * cspi/spi_registry.c:
1604 Added list of legal event type names for 'window' events, which
1605 completes the registry event API.
1607 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
1609 * at-bridge/bridge.c: Added registration for separate
1610 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
1611 signals. If either of the first two parameters to the generic
1612 bridge signal handler are ints, they are passed on as event
1613 details. This allows an AT to determine what text was inserted.
1615 2001-12-21 Bill Haneman <bill.haneman@sun.com>
1617 * registryd/deviceeventcontroller.c:
1618 Fixed regressions in generateKeyEvent caused by the removal of
1619 gdk_init from registryd; we now use pure X calls to connect to the
1620 display, which makes sense because deviceeventcontroller already
1621 uses a fair bit of X API (should eventually be migrated to a
1622 'portability layer').
1624 * registryd/desktop.c:
1625 Fixed minor regression in spi_desktop_init, changed the way the
1626 desktop name is being set to work with new spi_base API
1627 (gobject-based, rather than AtkObject-based).
1629 * registryd/Makefile.am:
1630 Minor revision of makefile to use XTST_LIBS variable rather than
1631 hard-wiring the Xtst LD_ADD element.
1633 * test/keysynth-demo.c:
1634 Tweaked an output message; added initialization of the
1635 'keystrings' member of the "switch listener" key_set.
1637 * libspi/relation.c:
1638 Squashed compile-time warning.
1640 * libspi/accessible.c:
1641 Cosmetic and formatting fixes, renamed a static method.
1643 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
1645 * libspi/accessible.c
1647 * libspi/application.c
1650 * libspi/component.c
1651 * libspi/editabletext.c
1652 * libspi/hyperlink.c
1653 * libspi/hypertext.c
1655 * libspi/selection.c
1659 * registryd/desktop.c:
1660 Changed SpiBase to contain a GObject pointer rather than an AtkObject
1662 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1664 * idl/Accessibility_Registry.idl:
1665 Added boolean member 'is_text' to DeviceEvent. This is for the
1666 use of key events, and helps prevent ambiguity between composed
1667 key strings and keysym names, since both may potentially be
1668 returned in the 'event_string' member.
1670 * at-bridge/bridge.c:
1671 * registryd/deviceeventcontroller.c:
1672 Use the 'is_text' member when notifying device event listeners.
1673 Knon issue: composed characters are not dealt with correctly by
1674 the global key listener implementation yet.
1676 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1678 * at-bridge/bridge.c:
1679 Namespaced local static methods to spi_atk_bridge_* where
1680 previously named bridge_*, and spi_* elsewhere.
1682 * at-bridge/bridge.c:
1683 * cspi/bonobo/cspi-bonobo-listener.c:
1684 Added demarshalling/conversion for string member of
1685 Accessibility_DeviceEvent to AccessibleKeystroke.
1687 * registryd/deviceeventcontroller.c:
1688 Added code to fill the Accessibility_DeviceEvent key string value
1689 member for global key events (i.e. from XGrabKey), to match
1690 behavior of Accessibility_DeviceEvent from the toolkit key events
1691 from the bridge. Fixed timestamp in global key event notifications.
1694 Added printout of key event's string value to
1695 report_ordinary_key_event, for demo/debugging purposes.
1697 2001-12-15 Bill Haneman <bill.haneman@sun.com>
1699 * idl/Accessibility_Registry.idl:
1700 Removed Accessibility_KeyStroke structure in favor of generic
1701 Accessibility_DeviceEvent structure.
1702 Changed Accessibility_ControllerEventMask from a struct to an
1705 * at-bridge/bridge.c:
1706 Changed APIs to use DeviceEvent structure as above, and removed
1707 bogus casting between these event structures.
1709 * cspi/spi-listener.h:
1710 Added keystring member of AccessibleKeystroke structure, to enable
1711 matching on event "names" rather than only hardware codes and
1715 Added keystrings member of AccessibleKeySet struct, to allow
1716 matching on event names (as above).
1717 Added declarations for SPI_createAccessibleKeySet and
1718 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
1719 event modmasks directly as unsigned ints rather than structs with
1720 refcounts, in the DeviceEventController methods.
1722 * cspi/spi_registry.c:
1723 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
1725 * cspi/spi-roletypes.h:
1726 Added documentation of newly added SPI Roles.
1728 * cspi/bonobo/cspi-bonobo-listener.c:
1729 Changes in support of API changes above.
1731 * libspi/accessible.c:
1732 Converted APIs to use DeviceEvent structure (see IDL changes
1735 * registryd/deviceeventcontroller.c:
1736 Added DEControllerGrabMask structure to track keygrabs not only by
1737 modmask but by keyset as well; this allows us to do "global"
1738 (i.e. X) keygrabs on a per-key or keyset basis rather than always
1739 grabbing on AnyKey and then filtering after-the-fact.
1740 Bugfixes for event filtration mean that we don't get false matches
1741 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
1743 * registryd/deviceeventcontroller.c:
1744 Namespaced a number of static methods to use spi_ prefix. Major
1745 revision to internals of global (i.e. X) key grabs.
1747 * registryd/deviceeventcontroller.h:
1748 Removed keymask_list and added keygrabs_list to
1749 SpiDeviceEventController struct.
1752 Added use of SPI_createAccessibleKeySet API when creating a
1753 listener for only one key. Attach a listener to "shift spacebar
1754 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
1755 X key event names to SPI key event names, so that listeners are
1756 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
1758 * test/keysynth-demo.c:
1759 Changed (incorrect) use of X key event names (KeyPressed,
1760 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
1763 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1765 * libspi/accessible.c:
1766 Convert all AtkRole enumerations to Accessibility_Role enums when
1767 getting a role from an AtkObject.
1769 * cspi/spi_accessible.c:
1770 Complete the conversion of Accessibility_Role enums at runtime to
1771 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
1772 role enums correctly match those given in spi-roletypes.h.
1773 Re-synchronize the local names list for AccessibleRole_getName ().
1774 AccessibleRole_getName is now deprecated, since it duplicates the
1775 more reliable Accessible_getRoleName.
1776 Added some role types from Accessibility_Role.idl.
1778 * idl/Accessibility_Role.idl:
1779 Added some role types used by AtkRole.
1781 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1784 * cspi/spi_registry.c:
1786 * cspi/cspi-bonobo-listener.c:
1787 Namespaced all methods that did not begin with an "SPI_" or
1788 "Accessible" prefix to "SPI_".
1791 Homogenized internal function namespace to "cspi_" for statics.
1794 Patched tests to use the new CSPI API.
1796 * docs/reference/cspi/at-spi-cspi-sections.txt:
1797 Updated docs to reflect namespace changes, and added a number of
1798 methods to the documentation.
1800 * registryd/registry.c:
1801 Changed use of strings and string hashes in listener event
1802 matching and parse_event_string to use GQuark, which is guaranteed
1805 * registryd/registry.h:
1806 Squashed annoying warning.
1808 * idl/Accessibility_Role.idl:
1809 Extended range of available Accessibility_Role values.
1811 * cspi/spi_accessible.c:
1812 Re-ordered role names.
1814 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1816 * idl/Accessibility_Value.idl:
1817 Revert use of union back to CORBA_double, since the double type is
1818 more efficient and can contain the other types without loss of
1821 * idl/Accessibility_Accessible.idl:
1822 Added method Accessibility:Accessible:getRoleName, to complement
1823 Accessibility:Accessible:getRole.
1825 * cspi/spi_accessible.c:
1827 Added C binding for above, Accessible_getRoleName (), and changed
1828 signature of Accessible_getRole () to return an AccessibleRole.
1830 * cspi/spi-roletypes.h:
1831 Changed AccessibleRole_getName to return a char * instead of a
1832 const char *. This method is now at least temporarily deprecated
1833 in favor of asking Accessibles for their RoleNames directly.
1836 Revert to match Accessibility_Value.idl;
1840 Change signature of AccessibleValue methods to use double rather
1844 * cspi/spi_accessible.c:
1845 Changed Accessible_getRole to return an AccessibleRole enum rather
1846 than a UTF-8 string. The UTF-8 string can still be obtained via
1847 AccessibleRole_getName ().
1849 * test/test-simple.c:
1850 Add test_action. Small fixup to match API change to Accessible_getRole.
1853 Bugfix for get_action_from_servant ().
1855 2001-12-11 Michael Meeks <michael@ximian.com>
1857 * libspi/libspi.h: remove registry.h and
1858 desktop.h, deviceeventcontroller.h
1860 * libspi/Makefile.am: remove registry.[ch],
1861 desktop.[ch], deviceeventcontroller.[ch]
1863 * registryd/Makefile.am: add registry.[ch],
1864 desktop.[ch], rename registryd.c to registry-main.c.
1865 add deviceeventcontroller.[ch]
1867 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1870 Replace setenv() call with putenv ().
1872 * libspi/component.c:
1873 Bugfix in AccessibleComponent_getExtents (),
1876 2001-12-11 Michael Meeks <michael@ximian.com>
1878 * libspi/image.c (impl_getImageExtents): impl.
1879 (spi_image_class_init): upd.
1882 (AccessibleImage_getImageDescription): fix daft bug
1885 * test/test-simple.c (global_listener_cb): update
1886 to only quit if not --poke
1887 (main): catch --poke.
1888 (validate_accessible): upd. dumping, call test_image
1891 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1894 * idl/Accessibility.idl: update all IDL includes.
1896 * idl/*.idl - rename to namespace - this sucks, blame
1897 mjs' bad decision for oafd.
1899 * test/test-simple.c (create_test_window): add more tests.
1900 (create_tree): split this out.
1901 (validate_accessible): bugfix.
1903 2001-12-11 Michael Meeks <michael@ximian.com>
1905 * cspi/bonobo/cspi-bonobo-listener.c:
1906 (cspi_kestroke_listener_unref),
1907 (cspi_event_listener_unref): impl. undoing previous
1908 homenous environment - for Bill.
1910 * cspi/spi_table.c (long_seq_to_array): use
1913 * cspi/spi_main.c: split out all bonoboish bits into
1916 * cspi/spi-impl.h: upd. typedefs.
1918 * cspi/spi_registry.c: update to lowlevel API,
1919 return booleans to indicate success in some places.
1921 * cspi/spi_event.c: update to lowlevel API.
1923 * cspi/bonobo/Makefile.am: add.
1925 * cspi/bonobo/cspi-lowlevel.h: add
1927 * cspi/bonobo/cspi-bonobo.c: add
1929 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1931 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1932 (SUBDIRS): add bonobo, link in the libs.
1934 * cspi/spi-util.c: kill this file.
1936 * TODO: merge in my bits.
1938 2001-12-11 Michael Meeks <michael@ximian.com>
1940 * test/test-simple.c (test_value, test_table, main):
1941 remove unused variables causing warnings.
1943 * configure.in: cleanup checks - require gail.
1945 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1948 Changed Value interface to use SValue (scalars) rather than
1949 assuming all values are floats. This allows floats, doubles,
1950 longs, shorts, and unsigned values to be manipulated.
1951 Introduced Accessibility:SValue union.
1954 Updated to use new API above, and to work correctly with GValues
1955 of different types in AtkValue.
1958 Updated to use new API above. cspi's API is as yet unchanged.
1961 Updated the Value revision action item.
1963 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1965 * test/test-simple.c:
1966 Added test_table (GtkTreeView widget in test window to follow).
1967 Un-commented test_value, added GtkRange widget.
1968 Added GtkTreeView widget with GtkListStore. It passes regression
1969 test but leaks one SPI object for some reason.
1972 Fixed bug in impl__set_currentValue.
1974 2001-12-10 Michael Meeks <michael@ximian.com>
1976 * cspi/spi_text.c: audit for exception handling,
1977 tolerating NULL object references safely etc.
1979 * cspi/spi_value.c: ditto.
1981 * cspi/spi_table.c (AccessibleTable_getSummary),
1982 (AccessibleTable_getAccessibleAt),
1983 (AccessibleTable_getRowHeader),
1984 (AccessibleTable_getColumnHeader),
1985 (AccessibleTable_getCaption): fix bugs hidden by
1987 (long_seq_to_array): impl.
1988 (AccessibleTable_getSelectedRows),
1989 (AccessibleTable_getSelectedColumns): use it.
1991 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1994 Added a TODO list (rough and short for now).
1996 * cspi/spi_hyperlink.c:
1997 * cspi/spi_hypertext.c:
1998 Fixed macro name typos, and remove use of obsolete macro in
1999 AccessibleHyperlink_getLink.
2001 * cspi/spi_action.c:
2002 * cspi/spi_accessible.c:
2003 * cspi/spi_application.c:
2004 * cspi/spi_component.c:
2005 * cspi/spi_selection.c:
2008 Documentation fixes (removed return values from ref/unref methods).
2010 2001-12-10 Michael Meeks <michael@ximian.com>
2012 * cspi/spi_action.c: audit for exception handling,
2013 tolerating NULL object references safely etc.
2015 * cspi/spi_accessible.c: ditto.
2017 * cspi/spi_component.c: ditto.
2019 * cspi/spi_editabletext.c: ditto.
2021 * cspi/spi_hyperlink.c: ditto.
2023 * cspi/spi_hypertext.c: ditto.
2025 * cspi/spi_image.c: ditto.
2027 * cspi/spi_selection.c: ditto.
2029 2001-12-10 Michael Meeks <michael@ximian.com>
2031 * configure.in: use cspi/libspi.pc.in instead.
2033 * Makefile.am (pkgconfig_DATA): upd. to match.
2035 * test/simple-at.c (report_focus_event): kill hacks around
2036 bad return values, use putenv not setenv
2038 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
2039 fire ChildGone - I killed it.
2041 * libspi/component.c
2042 (impl_accessibility_component_get_extents): remove
2045 * idl/Accessible.idl: kill ChildGone exception.
2047 * cspi/*.[ch]: kill int return from ref / unref.
2049 * cspi/spi_main.c (cspi_object_add_check): fold into
2050 (cspi_object_add): here.
2052 * cspi/spi_component.c (AccessibleComponent_getExtents):
2053 handle exceptions elegantly.
2055 * cspi/spi-private.h (cspi_check_ev_return),
2056 (cspi_return_if_fail): impl.
2058 * cspi/spi_accessible.c: use extensively.
2059 (AccessibleStateSet_equals): add direct compare check.
2061 * cspi/spi_selection.c: tolerate NULL objs, and check
2062 exceptions before return.
2064 * cspi/spi-util.c (cspi_warn_ev): rename to
2065 (cspi_check_ev): this & don't pass ev in; no point.
2067 2001-12-10 Michael Meeks <michael@ximian.com>
2069 * test/test-simple.c: use putenv not setenv
2070 (get_environment_vars): more chatty if you're not using
2073 * test/simple-at.c: do the setenv so more people see the
2076 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2078 * libspi/registry.c:
2079 Changed check of CORBA_environment on notification to be a warning
2080 instead of an error for the moment, since we can recover from this
2081 error when caused by a queued notification from a dead app.
2084 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
2085 used by all current implementors of AtkValue), and coerce to
2086 CORBA_float. (Proper general case fix may require change to Value.idl).
2088 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2092 * cspi/spi_accessible.c:
2093 Documentation fixes: added user_data params to documentation for
2094 listeners and callbacks.
2096 * cspi/spi_accessible.c:
2097 Changed AccessibleStateSet_compare to return a
2098 StateSet rather than return the difference set into a third parameter.
2101 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2104 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
2105 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
2109 Remove subdirectory po from SUBDIRS for now.
2111 * at-bridge/bridge.c:
2112 Beefed up a couple of debug printouts.
2113 One-line fix for signal notification name formatting.
2115 * libspi/accessible.c:
2116 Added assertion to spi_accessible_new ().
2118 * libspi/application.c:
2119 Put #ifdef qualifiers around a printf.
2122 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
2124 * registryd/Makefile.am:
2126 Replaces use of XML_I18N_MERGE_SERVER_RULE with
2127 INTLTOOL_SERVER_RULE macro.
2130 Added an event listener for several ATK signals, for
2131 testing and debugging. Removed a few g_warnings.
2132 Added test output if focussed item implements the Value interface.
2134 * test/test-simple.c:
2135 Added test_value () function (known not to pass at the moment, so
2136 not actually called yet.
2138 2001-12-08 Michael Meeks <michael@ximian.com>
2140 * at-bridge/bridge.c (bridge_focus_tracker),
2141 (emit_eventv): fix the same ref. leak.
2142 (register_atk_event_listeners): don't leak.
2144 * cspi/spi-listener-impl.c (cspi_event): more
2145 protection from client code.
2147 * test/test-simple.c (test_desktop): unref the app.
2149 * test/Makefile.am: upd. TESTS.
2151 * at-bridge/bridge.c (bridge_exit_func): release the registry.
2153 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
2155 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
2157 * cspi/spi_registry.c: constify in strings.
2158 (deregisterGlobalEventListenerAll): don't release the ref.
2160 * cspi/spi.h: start removing redundant / conflicting
2161 gtkdoc comments, making the API readable at a glance :-)
2163 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
2165 * test/keysynth-demo.c (keysynth_exit, main): upd.
2167 * test/simple-at.c (main, simple_at_exit): upd.
2169 * test/test-simple.c (unutterable_horror): kill.
2170 (utterable_normal_derefs): kill.
2171 (main): upd & do a setenv before gtk_init, so that we
2172 can use memprof - and to save the pain of remembering
2173 this, if we're running under memprof - don't exit.
2175 * cspi/spi_main.c (SPI_exit): return exit status
2177 (SPI_event_quit): impl.
2178 (SPI_event_main): simplify.
2179 (cspi_is_gnome_app): kill.
2180 (SPI_init): kill isGNOMEapp arg.
2182 * at-bridge/bridge.c (register_atk_event_listeners):
2183 re-instate the unref.
2184 (bridge_exit_func): don't re-activate the registry,
2185 protect vs. theoretical re-entry, use the
2186 AT_BRIDGE_SHUTDOWN env. var to determine whether to
2187 assert a clean shutdown - for regression tests.
2189 2001-12-08 Abel Cheung <maddog@linux.org.hk>
2191 * configure.in: Comment out dummy i18n support for now,
2192 otherwise it fails to build.
2193 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
2194 EXTRA_DIST. They are missing in tarball.
2196 2001-12-07 Michael Meeks <michael@ximian.com>
2198 * util/magnifier.c: kill bonobo activation reg. race.
2200 * libspi/component.c
2201 (impl_accessibility_component_get_extents): make it match
2204 * libspi/registry.c (_registry_notify_listeners):
2205 re-remove X headers & reconcile conflicts.
2206 (spi_listener_struct_free): bad conflict resolve.
2207 (impl_accessibility_registry_register_application):
2208 more bad merging fixed.
2209 (impl_accessibility_registry_deregister_application): ditto.
2210 (spi_registry_new): ditto.
2211 (spi_registry_init): don't have an applications field.
2213 [ merge fixups2 branch to here ]
2214 2001-12-07 Michael Meeks <michael@ximian.com>
2216 * test/simple-at.c (report_focus_event),
2217 (report_focussed_accessible): remove g_warning debug.
2219 2001-12-07 Michael Meeks <michael@ximian.com>
2221 * test/test-simple.c (validate_tree): comment out some checks.
2222 (test_desktop): app now not registered idly - horay.
2224 2001-12-07 Michael Meeks <michael@ximian.com>
2226 * cspi/spi_registry.c
2227 (registerAccessibleKeystrokeListener): clean, stop it leaking
2228 great swathes of memory, and device event controller references.
2229 ensure we always pass valid sequences.
2230 (deregisterAccessibleKeystrokeListener): ditto.
2231 (generateKeyEvent): upd.
2233 * at-bridge/bridge.c (bridge_key_listener): handle
2234 registry dead exception gracefully.
2235 (bridge_focus_tracker, emit_eventv): free ev.
2237 * test/simple-at.c (report_focus_event): fix polarity.
2239 * libspi/application.c (notify_listeners): kill the ev
2240 argument, and make sure we init the ev we use.
2241 (spi_application_object_event_listener): split out a chunk
2242 (get_atk_object_ref): here & fixup.
2243 (reverse_lookup_name_for_toolkit_event): make const.
2244 (spi_application_toolkit_event_listener): fixup, kill leaks
2247 * at-bridge/bridge.c (register_atk_event_listeners):
2248 don't unref the noop object - causes grief.
2250 * libspi/registry.c: remove the X headers.
2251 turn off the debug churn.
2253 * libspi/accessible.c (spi_accessible_new_return): only
2254 release the ref if we are supposed to [doh]
2256 * test/simple-at.c (report_button_press, report_focus_event):
2257 guard vs. unexpected exit.
2259 * at-bridge/bridge.c (gtk_module_init): prune printf.
2260 (bridge_exit_func): fix app unref.
2262 * libspi/Makefile.am: don't install registry or desktop.h
2264 * libspi/*.h: update includes.
2266 * libspi/application.h: don't include ourself, or
2267 other redundant headers.
2269 2001-12-06 Michael Meeks <michael@ximian.com>
2271 * libspi/accessible.c
2272 (get_accessible_from_servant): impl.
2273 Upd. all CORBA impl.s to use it killing cut and paste.
2275 * cspi/spi_main.c (cspi_cleanup): guard vs. double
2277 (SPI_init): register atexit cleanup handler here.
2279 2001-12-06 Michael Meeks <michael@ximian.com>
2281 * at-bridge/bridge.c (gtk_module_init): g_error on
2282 activation exception
2284 2001-12-06 Michael Meeks <michael@ximian.com>
2286 * at-bridge/bridge.c (gtk_module_init): some sort of
2287 confusing merge clash - reverted.
2288 (bridge_idle_init): ditto.
2290 * test/test-simple.c (main, utterable_normal_derefs):
2291 merge from Bill - somehow not committed.
2293 2001-12-06 Michael Meeks <michael@ximian.com>
2295 * libspi/value.c (spi_value_class_init): upd.
2296 (spi_value_finalize): kill.
2298 * libspi/table.c (spi_table_finalize): kill.
2299 (spi_table_interface_new): upd.
2300 (spi_table_class_init): upd.
2301 (get_table_from_servant): impl.
2302 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2304 * libspi/selection.c (spi_selection_finalize): kill.
2305 (spi_selection_interface_new): upd.
2306 (spi_selection_class_init): upd.
2307 (get_selection_from_servant): impl.
2308 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2310 * libspi/relation.c (spi_relation_finalize): kill.
2311 (spi_relation_class_init, spi_relation_new): upd
2313 * libspi/image.c (spi_image_finalize): kill.
2314 (spi_image_class_init): upd.
2315 (spi_image_interface_new): upd.
2316 (get_image_from_servant): impl.
2317 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2319 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
2320 (spi_hyperlink_finalize): kill.
2321 (spi_hyperlink_new): upd.
2322 (get_hyperlink_from_servant): impl.
2323 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2325 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
2326 (spi_hypertext_finalize): kill.
2327 (spi_hypertext_class_init): upd.
2328 (get_hypertext_from_servant): impl.
2329 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2331 * libspi/editabletext.c (spi_editable_text_finalize): kill.
2332 (spi_editable_text_interface_new): upd.
2333 (get_editable_text_from_servant): impl.
2334 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2336 * libspi/text.c (get_text_from_servant): impl.
2337 All impls - update to use it killing more cut and paste,
2338 also fix bad string returns on duff args ( a somewhat
2339 impossible case to handle - but hey ).
2340 (spi_text_construct): impl.
2341 (spi_text_interface_new): upd.
2342 (spi_text_object_finalize): kill.
2344 * libspi/component.c
2345 (accessibility_component_object_finalize): kill.
2346 (spi_component_class_init): upd.
2347 (get_component_from_servant): impl. helper to kill cut & paste.
2348 (impl_accessibility_component_contains):
2349 (impl_accessibility_component_get_accessible_at_point):
2350 (impl_accessibility_component_get_position):
2351 (impl_accessibility_component_get_extents):
2352 (impl_accessibility_component_get_mdi_z_order):
2353 (impl_accessibility_component_get_layer):
2354 (spi_component_interface_new): upd.
2356 * libspi/action.c (spi_action_finalize): kill.
2357 (spi_action_class_init): upd. inherit from SpiObject.
2358 (spi_action_interface_new): upd.
2359 (get_action_from_servant): impl. helper to reduce cut & paste.
2360 (impl_getKeyBinding, impl_getName, impl_doAction),
2361 (impl_getDescription): Use it everywhere.
2363 * cspi/spi_main.c (get_live_refs): a pointer hash.
2364 (spi_object_hash, spi_object_equal): comment out.
2365 There are issues with CORBA object hashing that need
2368 * libspi/application.c (spi_application_init),
2369 (spi_application_new): upd.
2371 * libspi/accessible.c (spi_accessible_object_finalize): kill.
2372 (spi_accessible_class_init): upd.
2373 s/accessible/object/ in epv methods.
2375 2001-12-05 Bill Haneman <bill.haneman@sun.com>
2377 * at-bridge/bridge.c:
2378 Reorder the bridge initialization into the bridge gtk_module_init,
2379 an immediate call to bridge_register_app, and an idle_add for
2380 register_atk_event_listeners (the only code that *must* wait until
2381 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
2382 the activation, creates the application's Accessible object, and
2383 queues the bridge_idle_init function. Restored call to
2384 Accessibility_Registry_deregisterApplication().
2385 Prior to making this call we obtain a new reference to the
2386 registry, which is a temporary hack that helps us handle apps that
2387 shut down the bonobo mainloop before we get there.
2389 * libspi/registry.c:
2390 Fix string leakage in debug block, and don't segv if a an app
2391 dies before its event notifications have been propagated.
2394 Modify cspi_check_ev() to call g_warning() rather than g_error(),
2395 as stopgap measure until we get proper exception handling when
2396 objects die during or before interrogation.
2400 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
2401 Also changed default value of is_gnome_app to TRUE.
2404 * test/keysynth-demo.c:
2405 Changed use of SPI_init and SPI_event_main to reflect API change above.
2408 Made report_focus_event check the warning value from getName
2409 before reporting on focussed accessible; simplifies handling of
2410 notifications from dead objects.
2412 * test/test-simple.c: (Changes not in this patch since source is
2415 2001-12-05 Michael Meeks <michael@ximian.com>
2417 * registryd/registryd.c (main): protect against
2418 bonobo-activation startup race condition.
2420 * cspi/spi_main.c (cspi_object_add_check): cope
2421 with the exception elegantly.
2423 * idl/Accessible.idl: decl. ChildGone
2425 * libspi/desktop.c (spi_desktop_dispose): impl.
2426 (spi_desktop_class_init): upd.
2427 (spi_desktop_add_application),
2428 (spi_desktop_remove_application),
2429 (abnormal_application_termination): impl.
2430 (impl_desktop_get_child_at_index): re-impl.
2433 (impl_accessibility_registry_deregister_application),
2434 (impl_accessibility_registry_register_application):
2435 kill excessive debug clutter.
2437 * test/test-simple.c (test_misc): test some NULL
2438 tolerance. (main): upd.
2440 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
2441 implements no interfaces - so let's not crash.
2443 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
2445 * libspi/accessible.c (spi_accessible_new_return): impl.
2446 helper to calm the cut and paste, to cope with
2447 NULL AtkObjects effectively and efficiently, and to kill
2448 the referencing bugs.
2450 * libspi/table.c (impl_getAccessibleAt),
2451 (impl_getRowHeader, impl_getColumnHeader): upd.
2453 * libspi/hyperlink.c (impl_getObject): upd.
2455 * libspi/accessible.c
2456 (impl_accessibility_accessible_get_child_at_index): upd.
2458 * libspi/component.c
2459 (impl_accessibility_component_get_accessible_at_point): upd.
2461 * test/test-simple.c (test_editable_text, test_text): impl.
2464 * cspi/spi_editabletext.c
2465 (AccessibleEditableText_insertText): constify.
2467 * test/test-simple.c (focus_me): make more robust.
2469 * libspi/accessible.c: remove some printfs in methods that
2470 we test and work fine, so we can get a clean tree dump.
2472 * test/test-simple.c (validate_accessible),
2473 (validate_tree): make tree dumping pretty too.
2475 * at-bridge/bridge.c (bridge_signal_listener): upd. so
2476 it builds without debug on.
2478 * test/test-simple.c (validate_accessible): fix the most
2481 * cspi/spi_main.c (spi_object_release): leave the nicely
2482 blanked memory around if in debug mode.
2484 * cspi/spi-listener-impl.c (cspi_event): use add_check.
2486 [committed to fixups2]
2487 2001-12-05 Michael Meeks <michael@ximian.com>
2489 * libspi/editabletext.c
2490 (spi_editable_text_class_init): g_type_class_peek_parent,
2491 not interface peek - so we finalize cleanly.
2493 * libspi/accessible.c (spi_accessible_new): kill debug.
2495 * test/test-simple.c (validate_accessible): fix ref.
2496 leak, print strings before freeing them; sigh, comment a
2497 chunk out due to strangeness.
2498 (validate_tree): unref the child after use.
2500 * cspi/spi_component.c (AccessibleComponent_getLayer):
2501 add missing break statement, switch on zlayer not the
2502 uninitialized retval.
2504 * cspi/spi_main.c (cspi_object_add): add assert, local ref
2505 before (possibly re-entering) remote unref.
2507 * test/simple-at.c (main): unref the desktop.
2509 * cspi/spi_accessible.c (cspi_accessible_is_a): move
2512 * cspi/spi_main.c (cspi_accessible_is_a): here to
2513 isolate bonobo API usage more.
2515 * libspi/registry.c (impl_accessibility_registry_register_application):
2516 prune bogus comment.
2518 2001-12-04 Michael Meeks <michael@ximian.com>
2520 * test/test-simple.c (validate_tree): upd.
2521 IndexInParent check to make it more lucid.
2522 (validate_accessible): dump the tree.
2524 * libspi/accessible.c (de_register_public_ref),
2525 (get_public_refs): impl.
2526 (spi_accessible_new): make more efficient & intuitive.
2527 Now IndexInParent check works.
2529 2001-12-04 Michael Meeks <michael@ximian.com>
2531 * cspi/spi-util.h: remove.
2533 * cspi/spi.h: move SPI_freeString here
2535 * libspi/component.c (impl_accessibility_component_get_layer):
2537 (impl_accessibility_component_get_mdi_z_order): ditto,
2538 return -1 on error - is this ok ?
2540 * test/test-simple.c (test_application): impl.
2542 * cspi/spi_accessible.c (Accessible_getApplication),
2543 (Accessible_isApplication): impl.
2545 * libspi/registry.c (spi_listener_struct_free): release
2546 the CORBA reference too.
2548 * libspi/accessible.c
2549 (impl_accessibility_accessible_get_parent): fix ref leak.
2551 * libspi/registry.c (spi_registry_new): make the registry
2552 immortal - we don't want it to go away ever.
2554 * libspi/application.c
2555 (spi_accessible_application_finalize): impl. cleanup.
2557 * cspi/spi_registry.c
2558 (deregisterGlobalEventListenerAll),
2559 (deregisterGlobalEventListener),
2560 (deregisterAccessibleKeystrokeListener): fix ref leak.
2562 * cspi/spi_main.c (SPI_init): remove redundant ref.
2564 * test/test-simple.c (unutterable_horror): impl. to force a
2569 (impl_accessibility_registry_deregister_application): release
2570 the application when we de-register it.
2572 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
2573 until we have the infastructure to get it right.
2575 2001-12-03 Michael Meeks <michael@ximian.com>
2577 * libspi/Makefile.am: only build eventlistener.[ch]
2579 * libspi/accessible.c
2580 (impl_accessibility_accessible_get_child_at_index): don't leak.
2582 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
2583 before we hit the idle handler.
2585 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
2586 debugging than exit.
2588 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
2590 * libspi/listener.c (impl_notify_event): check source
2591 not NIL before unref.
2593 * libspi/registry.c (impl_registry_notify_event): ditto.
2595 * libspi/eventlistener.c
2596 (impl_accessible_event_notify_event): unref the source.
2598 * libspi/accessibleeventlistener.c
2599 (impl_accessible_event_notify_event): unref the source.
2601 * idl/Event.idl: remove 'hash_id' attribute - of no
2604 * libspi/application.c (notify_listeners): upd list
2606 (spi_application_object_event_listener),
2607 (spi_application_toolkit_event_listener): upd to do correct
2611 (_registry_notify_listeners): update.
2612 (parse_event_type): this method also leaks like a sieve.
2613 (impl_accessibility_registry_deregister_global_event_listener):
2614 fix ETYPE_WINDOW case.
2616 * libspi/application.c
2617 (impl_accessibility_application_register_object_event_listener):
2620 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
2622 * libspi/hypertext.c (impl_getLink): ditto.
2624 * cspi/spi_main.c (cspi_object_add): remove
2625 bogus CORBA_Object_duplicate.
2627 * cspi/spi-listener-impl.c (cspi_event): dup/ref
2630 * cspi/spi_accessible.c
2631 (Accessible_getRelationSet): fix leak / referencing issue.
2633 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
2634 (cspi_object_add, cspi_object_unref): upd.
2635 (spi_object_release, get_live_refs): impl.
2636 (cspi_cleanup): simplify.
2638 * *.[ch]: s/boolean/SpiBoolean/
2640 * cspi/spi_accessible.c (role_names): actualy order so it
2641 corresponds with the enum !
2643 * test/test-simple.c (test_roles): check some role strings
2644 vs. enums to detect offset errors.
2646 2001-12-01 Michael Meeks <michael@ximian.com>
2648 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
2650 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
2652 (Accessible_getChildAtIndex): use cspi_add_check so we
2653 check the ev before using a (possibly) invalid value.
2655 * libspi/accessible.c
2656 (impl_accessibility_accessible_get_parent): don't segv
2659 * at-bridge/bridge.c (gtk_module_init): upd.
2660 (bridge_property_event_listener): don't leak strings
2662 (bridge_state_event_listener),
2663 (bridge_property_event_listener): don't use a static
2664 buffer in case of recursive event emission &
2665 re-enterancy - split out the swathe of cut and paste
2667 (emit_eventv): and fix 2 ref leaks here & comply to the
2669 (bridge_register_app): rename to
2670 (bridge_idle_init): this and kill arg parsing, split
2671 various inits & bonobo-activation registration to module
2672 init time, kill referencing error.
2673 (bridge_exit_func): fix the same leak.
2674 (bridge_focus_tracker): don't leak event structures
2676 (bridge_signal_listener): more leakage and cut & paste
2678 (bridge_key_listener): return the result - FIXME is
2679 this polarity correct ?
2680 (accessibility_keystroke_from_atk_key_event): rename
2681 (accessibility_init_keystroke_from_atk_key_event): and stop
2683 (gtk_module_init): return a value - not that it is checked by
2685 (bridge_key_listener): register my horror at casting between
2686 IDL defined structs.
2687 (bridge_get_registry): kill - not used.
2689 * cspi/spi_accessible.c (Accessible_getRole): make return const.
2691 * test/test-simple.c (test_roles): impl.
2692 (test_desktop, validate_accessible, validate_tree): impl.
2694 * cspi/spi_accessible.c (role_names): fixup bogus
2695 MAX_ROLES setup, make constants const for efficient linkage
2696 (AccessibleRole_getName): conform to coding style, make
2699 2001-11-30 Michael Meeks <michael@ximian.com>
2701 * cspi/spi.h: add missing prototype.
2703 * libspi/registry.c (spi_listener_struct_new): fix sig.
2705 * test/Makefile.am: add test-simple
2707 * test/test-simple.c: add
2709 * test/test.sh: add.
2711 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
2713 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
2714 do it straight - since otherwise we often get an activation race.
2716 [ work before Bill duplicated a chunk of it ... ]
2717 2001-11-30 Michael Meeks <michael@ximian.com>
2719 * libspi/keystrokelistener.c
2720 (spi_keystroke_listener_class_init): fixup arg
2723 * libspi/eventlistener.c
2724 (spi_event_listener_class_init): ditto.
2726 * tests/test.sh: add.
2728 * cspi/spi-listener-impl.h: update macros.
2730 * cspi/spi-listener-impl.c
2731 (cspi_event_listener_remove_callback): add
2732 correct pre-conditions.
2734 * cspi/spi_main.c (SPI_exit): guard vs. double
2735 exits, exit the mainloop nicely.
2736 (SPI_event_main): make more sense.
2737 (SPI_init): move the atexit evilness here so we
2738 always do it (yuck).
2739 (SPI_event_main): upd.
2741 * test/simple-at.c: update for listener changes.
2743 * registryd/registryd.c (main): prune kruft.
2745 * libspi/libspi.h: upd.
2747 * libspi/eventlistener.[ch]: rename broken macros.
2749 * libspi/accessibleeventlistener.[ch]: remove.
2751 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
2753 * test/test-simple.c: Add - automated tests.
2755 * cspi/spi-listener-impl.c (cspi_event),
2756 (cspi_key_event): add user_data to invoke.
2757 (cspi_keystroke_listener_finalize): impl.
2758 (cspi_keystroke_listener_class_init): upd.
2761 (createAccessibleEventListener),
2762 (AccessibleEventListener_addCallback),
2763 (createAccessibleKeystrokeListener),
2764 (AccessibleKeystrokeListener_addCallback): upd.
2766 * libspi/deviceeventcontroller.c
2767 (spi_device_event_controller_check_key_event): add public proto.
2770 (impl_accessibility_registry_deregister_global_event_listener):
2771 always init listeners.
2772 (_registry_notify_listeners): yes it is.
2774 * cspi/spi-listener-impl.c (cspi_key_event):
2776 (cspi_event_listener_finalize): impl.
2777 (cspi_event_listener_class_init): hook up.
2778 (event_handler_new, event_handler_free),
2779 (event_list_remove_by_callback): impl.
2780 (cspi_event_listener_remove_callback),
2781 (cspi_keystroke_listener_remove_callback),
2782 (cspi_keystroke_listener_add_callback),
2783 (cspi_event_listener_add_callback): upd.
2785 * libspi/keystrokelistener.c
2786 (keystroke_listener_object_finalize): kill
2787 (spi_keystroke_listener_class_init): upd.
2788 (spi_keystroke_listener_add_callback),
2789 (spi_keystroke_listener_remove_callback): kill,
2791 (impl_key_event): prune drasticaly.
2793 * libspi/eventlistener.c
2794 (spi_event_listener_add_callback),
2795 (spi_event_listener_remove_callback): kill, use
2797 (impl_accessible_event_notify_event): upd.
2798 (spi_event_listener_object_finalize): remove.
2800 * libspi/Makefile.am: use eventlistener.[ch]
2802 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2804 * libspi/registry.c (_registry_notify_listeners):
2805 Changed listener loop iteration to use preferred convention.
2806 Got rid of string memory leaks caused be calling g_strconcat
2807 inside function calls.
2809 * libspi/registry.c (parse_event_type):
2810 Stopped g_strconcat memory leaks, free the g_strsplit return,
2811 g_strdup the split pieces when used, etc.
2813 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2816 Change method 'compare' to return a 'difference set' rather than
2817 taking a StateSet as an out parameter (more Java-friendly).
2819 * idl/Accessible.idl:
2820 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2822 * idl/Component.idl:
2824 Changed methods 'getExtents' and 'getImageExtents' in these
2825 interfaces to return a BoundingBox structure.
2826 (getPosition and getSize are redundant and possibly should be
2827 removed, rather than creating a corresponding Point struct.)
2829 * cspi/spi_component.c:
2830 Modify implementation of getExtents to reflect the above IDL
2835 Add (missing) AccessibleImage_getExtents () API.
2837 * docs/reference/cspi/at-spi-cspi-sections.txt:
2838 Added AccessibleImage_getImageExtents () to docs.
2840 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2842 * idl/Component.idl:
2843 Added two methods, getLayer () and getMDIZOrder (), to reflect
2844 the new ATK methods atk_object_get_layer and
2845 atk_object_get_mdi_z_order. (Which arguably should be part of the
2846 AtkComponent API and AtkObject). Also added an enum,
2847 ComponentLayer, for the first method's return value.
2849 * libspi/component.c:
2850 Added implementations for these methods.
2852 * cspi/spi_component.c:
2854 Added cspi binding methods for above,
2855 AccessibleComponent_getLayer() and
2856 AccessibleComponent_getMDIZOrder().
2857 Added cspi enum 'AccessibleComponentLayer'.
2859 * docs/reference/cspi/at-spi-cspi-sections.txt:
2860 Added above methods to docs.
2864 Changed typedef for 'boolean' type (and all references to it) to
2865 SPIBoolean, to avoid keyword clashes with C++.
2868 Changed usages of 'boolean' to SPIBoolean.
2870 * test/keysynth-demo.c:
2871 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2872 app), except where SPIBoolean is required by the callbacks API.
2874 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2876 * cspi/spi_registry.c:
2877 Removed obsolete X event loop for passive keygrabs (which now
2880 * registryd/registryd.c:
2881 Removed unnecessary call to gdk_init() [cruft]. This also allows
2882 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2885 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2887 * docs/reference/cspi:
2888 Included docs for SPI_freeString in generated documentation.
2891 Renamed spi_freeString to SPI_freeString, for consistency. Added
2892 documentation for this function.
2895 Renamed spi_freeString to SPI_freeString, for consistency.
2896 Removed obsolete method declaration string_from_corba_string.
2898 * test/keysynth-demo.c:
2899 Small tweak to comments.
2902 Stopped leaking the strings returned from CSPI.
2904 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2906 Merged Michael's branch (see his ChangeLog entries below).
2908 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2909 bridge is alive, release on exit.
2911 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2912 Fix type check macro.
2915 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2918 Added is_gnome_app static, and method cspi_is_gnome_app(),
2919 so we can call the appropriate shutdown routine at exit in SPI_exit.
2921 * cspi/spi_main.c (cspi_object_ref):
2922 Duplicate the corba object passed in, since we're keeping it around.
2924 * cspi/SPI_exit.c, cspi_cleanup:
2925 Moved the releasing of the live refs to its own function, so we
2926 can put it in g_atexit (). Call the appropriate shutdown API
2927 depending on whethe calling client is a gnome app or not
2928 (bonobo_main_quit or CORBA_ORB_shutdown).
2930 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2931 Unref the listener when this method is called, after
2932 deregistration. Updated the API docs to note this behavior.
2934 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2935 Bugfixes: Ref the bonobo object when returning a parent or child
2936 reference, or an AccessibleRelation. Generally made sure
2937 BonoboObject refcount is incremented whenever we return an
2940 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2941 Fixed typo/bug in signal declaration.
2943 * libspi/accessibleeventlistener.h:
2946 * libspi/application.c (spi_application_new):
2947 Fixed leak in initialization.
2950 Remembered to increment bonobo-object refcount when returning
2951 children (applications) from desktop object.
2952 Added (empty) finalize method.
2954 * libspi/deviceeventcontroller.c:
2955 Hold a ref to listeners inside DEControllerKeyListeners.
2956 Added dec_key_listener_free() method. Use prepend instead of
2957 append in key_listener list. Fixed some refcount madness and
2958 leaks in the listener registration/deregistration - deregistration
2959 now calls dec_key_listener_free() on listeners, and on the
2960 temporarily constructed dec_key_listener() used to perform the search/match.
2962 * libspi/hypertext.c (spi_hypertest_finalize):
2963 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2964 class. Also fixed spi_hypertext_interface_new() and
2965 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2967 * libspi/hypertext.h:
2968 Removed pointless and duplicate AtkObject pointer from
2971 * libspi/keystrokelistener.c:
2972 Fixed incorrect type of keystroke_listener_parent_class,
2973 renamed keystroke_listener_object_finalize to
2974 spi_keystroke_listener_object_finalize.
2975 Fixed typo in signal declaration
2976 (spi_keystroke_listener_class_init).
2978 * libspi/registry.c:
2979 Added funcsions spi_listener_struct_new() and
2980 spi_listener_struct_free() to help with memory management issues.
2981 We also now use these methods instead of gnew + poking stuff into
2982 the struct, and to decrement listener counts/free the listeners
2983 when deregistering them.
2984 Fix more refcount bugs in getDesktop() and
2985 getDeviceEventController().
2988 De-ref the desktop after enumerating the applications. Explicitly
2989 decrement the refcounts on the created listeners on exit (using
2990 _unref for keystroke listeners, and via the
2991 deregisterGlobalEventListenerAll command for other event
2994 2001-11-27 Michael Meeks <michael@ximian.com>
2996 * cspi/spi-listener.h: fixup enum.
2998 2001-11-27 Michael Meeks <michael@ximian.com>
3000 * cspi/spi-listener-impl.c (cspi_event_listener_new),
3001 (cspi_keystroke_listener_new): Use the cspi variants.
3003 2001-11-26 Michael Meeks <michael@ximian.com>
3005 * test/keysynth-demo.c: fix 2 compile warnings, missing
3008 * test/simple-at.c (report_focussed_accessible),
3009 (report_focus_event, report_button_press),
3010 (check_property_change, is_command_key),
3011 (report_ordinary_key_event, report_command_key_event): upd.
3013 * util/mag_client.h: include pre-requisites.
3015 * libspi/accessibleeventlistener.c
3016 (spi_event_listener_object_finalize): free any lingering
3019 * libspi/keystrokelistener.c
3020 (keystroke_listener_object_finalize): ditto.
3022 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
3023 callbacks, with cspi types.
3025 * cspi/spi_event.c (createAccessibleEventListener): chain to
3026 (AccessibleEventListener_addCallback): here.
3027 (createAccessibleKeystrokeListener): chain to
3028 (AccessibleKeystrokeListener_addCallback): here.
3030 * libspi/keystrokelistener.c
3031 (spi_keystroke_listener_class_init): add signal.
3032 (impl_key_event): emit the event.
3033 (boolean_handled_accumulator): impl.
3034 (marshal_BOOLEAN__POINTER): add, gack.
3036 * libspi/accessibleeventlistener.c
3037 (spi_event_listener_class_init): add signal.
3038 (impl_accessible_event_notify_event): emit the signal &
3039 make the loop efficient.
3040 (spi_event_listener_add_callback): prepend the callback.
3042 * libspi/accessibleeventlistener.h: add an 'event' signal,
3043 decl type on callback.
3045 * libspi/keystrokelistener.h: ditto.
3047 * cspi/spi-listener.h: make methods typesafe and
3048 make them use the new event typedefs.
3050 * test/simple-at.c (report_focussed_accessible):
3051 include mag_client.h
3052 Use *(void *)text_interface not the other thing.
3054 * configure.in: add gtk to registryd bits - since we use
3057 * util/magnifier.c: include libbonobo.h
3059 2001-11-25 Bill Haneman <bill.haneman@sun.com>
3061 * test/keysynth-demo.c:
3062 Turned this into a simple scanning keyboard, to demonstrate the
3063 use of g_timeout_add () as a means of creating timers for
3064 scanning, and the use of GtkStyle for visually indicating when
3065 virtual keyboard elements are selected.
3067 keysynth-demo now listens to any keyboard keys with zero-valued
3068 keycodes (i.e. 'unused' keys) and interprets them as
3071 Reworked the shiftlatch code so that shift-down state isn't held
3072 for long periods (it's only synthesized immediately prior to
3073 the keysynth event it's modifying). Note that shiftlatch in this
3074 demo is a convenience, not intended to take the place of AccessX
3075 which is the better choice for getting 'sticky' modifier keys.
3077 * libspi/deviceeventcontroller.c:
3078 * at-bridge/bridge.c:
3079 * cspi/spi_registry.c:
3080 Removed some debug print stuff, and put other verbosity in #ifdef
3085 Implemented some more of the magnifier IDL for the simple
3086 magnifier: namely, getZoomRegionParams.
3087 Added mag_x and mag_y members to MagnifierData struct, aid of this
3089 Added GtkWindow::realize signal handler to magnifier, to keep it
3090 from receiving keyboard focus from the WM.
3092 2001-11-23 Mark McLoughlin <mark@skynet.ie>
3094 * cspi/spi-private.h: my guess at what michael forgot
3095 before he ran off to NZ :-)
3097 2001-11-23 Michael Meeks <michael@ximian.com>
3099 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
3100 comment out non existant method invoke so we link.
3102 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
3103 use bonobo_exception_get_text for more friendly warnings.
3105 * cspi/spi.c (Obj_Add): move into spi_main & rename
3106 spi_object_add; kill spi.c
3108 * cspi/spi_registry.c
3109 (deregisterGlobalEventListener),
3110 (deregisterGlobalEventListenerAll),
3111 (registerGlobalEventListener): fix exception leaks.
3113 * cspi/spi_main.c (spi_exception): impl. helper, so we
3114 don't leak exceptions.
3116 * cspi/spi_selection.c
3117 (AccessibleSelection_deselectSelectedChild): return the
3120 * cspi/spi_main.c (spi_ev): impl; hack - gack.
3121 (spi_registry): ditto.
3122 (SPI_init): guard against double inits.
3124 * cspi/*.c: use spi_ev (), and spi_registry () where
3125 appropriate - a temporary hack until we have something
3126 better. Use spi_object_add
3128 2001-11-22 Michael Meeks <michael@ximian.com>
3130 * cspi/Makefile.am: re organise, install the headers.
3132 * cspi/*.h: add G_BEGIN/END_DECLS
3134 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3137 Added non-preemptive keylistener for key events with no modifiers
3138 and shift-only modifier.
3140 * libspi/keystrokelistener.c:
3141 Removed some verbose diagnostics printout.
3143 * cspi/spi_registry.c:
3144 Fixed a bug that caused all key listeners to be registered as
3147 * libspi/deviceeventcontroller.c:
3148 Fixed bug that caused XGrabKey (preemptive key grab) to be called
3149 for non-preemptive key masks.
3152 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3154 * docs/reference/idl/at-spi-idl-docs.sgml:
3155 * docs/reference/idl/at-spi-idl-sections.txt:
3156 * docs/reference/idl/at-spi-idl-overrides.txt:
3157 Added missing files.
3159 * docs/reference/Makefile.am:
3160 removed idl from SUBDIRS until we can figure a way to get gtk-doc
3161 to scan the IDL files :-(
3166 Added .cvsignore files.
3168 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3170 * libspi/deviceeventcontroller.c:
3171 * libspi/keystrokelistener.c:
3173 * cspi/spi_registry.c:
3174 Added filters for KeySets, KeyEventSeq, and event types to key
3175 event dispatching, so listeners should only receive those events
3176 that they requested :-)
3178 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3183 * docs/reference:Makefile.am:
3184 * docs/reference/cspi:
3185 * docs/reference/cspi:Makefile.am:
3186 * docs/reference/cspi:tmpl:
3187 * docs/reference/cspi:tmpl:*.sgml:
3188 * docs/reference/idl:
3189 * docs/reference/idl:Makefile.am:
3190 * docs/reference/idl:at-spi-idl-sections.txt:
3191 * docs/reference/idl:at-spi-idl-docs.sgml:
3192 * docs/reference/idl:tmpl:
3193 * docs/reference/idl:tmpl:*.sgml:
3195 Restructured docs directory to allow separate 'reference' docs
3196 section, and forked idl and cspi docs. Added the sgml template
3197 files to CVS. Added the first sections/structural sgml for the
3200 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
3202 * configure.in, libspi/Makefile.am: find libXtst.
3204 2001-11-21 Michael Meeks <michael@ximian.com>
3206 * test/accessx-gui.c: s/spi_value/value/ - doh.
3208 * libspi/base.[ch]: add.
3210 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3212 * idl/Accessible.idl:
3213 * idl/Application.idl:
3216 Started gtk-doc cleanup on IDL.
3218 * libspi/deviceeventcontroller.c:
3219 Added and connected non-preemptive key notification from the
3220 toolkits (in addition to the pre-emptive support from XServer
3221 which we had before, but which causes 'focus flashing'). Filters
3222 are presently limited to key modifiers and global/non-global,
3223 KeySets are presently ignored, as are KeyEvent masks.
3225 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
3226 structs into the persistant structure rather than just storing
3227 pointers to things that might not persist across servant
3230 The XGrabKey call now does async keygrabs, because synchronous
3231 ones were deadlocking with GDK_event code in a very nasty way.
3233 Added boolean to internal method notify_keylisteners, to indicate
3234 whether the event came from the 'toolkit source' or the 'global
3235 (XServer) source' - this is used in the notification process to
3236 determine which listeners to send the event to.
3238 deviceeventcontroller.c is now warning-free.
3240 * libspi/registry.c:
3241 Fixed regression in application de-registration.
3242 Also fixed some really brain-dead weirdness having to do with
3243 event dispatching - event structs are now duplicated before being
3244 re-marshalled in the dispatch to listeners. This also fixes a
3245 Solaris build problem.
3248 2001-11-20 Michael Meeks <michael@ximian.com>
3251 (impl_accessibility_registry_deregister_global_event_listener):
3254 * libspi/deviceeventcontroller.c
3255 (spi_device_event_controller_check_key_event): return
3256 FALSE on no virtual method.
3258 * libspi/*..h: make includes work on a correctly pathed install.
3260 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
3262 * libspi/application.h: kill unused ( and whacked out )
3263 gboolean *spi_application_set_id (AtkObject *app, long id);
3265 2001-11-20 Michael Meeks <michael@ximian.com>
3267 * libspi/*.[ch]: further convert to bonobo's type func
3268 macros, remove redundnant casts etc.
3270 * libspi/text.c s/accessibility_text/spi_text/g,
3271 re-order to de-cruft.
3273 * libspi/hypertext.c: re-order to kill a huge slew
3274 of redundant forward decls.
3276 * libspi/relation.c: ditto.
3278 * libspi/image.c: ditto.
3280 * */.cvsignore: update
3282 2001-11-20 Michael Meeks <michael@ximian.com>
3284 * libspi/deviceeventcontroller.c
3285 (_controller_register_with_devices): use g_getenv,
3286 kill stdlib.h include.
3288 * libspi/keystrokelistener.c
3289 (spi_keystroke_listener_get_type): kill
3290 (spi_keystroke_listener_class_init),
3291 (spi_keystroke_listener_init): rename to this.
3293 * libspi/text.c (impl_getAttributes): fix warning / bug.
3295 * libspi/*.[ch]: more headers, includes and over commenting.
3297 2001-11-20 Michael Meeks <michael@ximian.com>
3299 * libspi/*.[ch]: fixup headers, includes and over commenting.
3301 * libspi/image.c (impl__get_imageDescription): const
3302 correctness warning fix. remove redundant casting.
3304 * libspi/table.c (impl_getRowDescription): ditto.
3305 (impl_getColumnDescription): ditto.
3307 * libspi/libspi.h: add.
3309 2001-11-19 Michael Meeks <michael@ximian.com>
3311 * libspi/editabletext.c (impl_setAttributes): fix warnings.
3313 * libspi/component.c (accessibility_component_get_type):
3314 rename to (spi_component_get_type): and macroify.
3315 (accessibility_component_init): rename to
3316 (spi_component_init): this
3317 (accessibility_component_class_init): rename to
3318 (spi_component_class_init): this
3320 * libspi/action.c (spi_action_get_type): kill, use the macro.
3322 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
3325 * libspi/application.c (spi_application_object_event_listener),
3326 (impl_accessibility_application_register_object_event_listener):
3327 warning fixes / const understanding updates.
3329 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
3332 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3334 * libspi/spi_accessible.c: Added docs and C bindings for
3335 AccessibleStateSet. (No implementations yet). Documentation
3336 coverage for C bindings now 100%. Made docs for event listeners
3341 boolean notifyListenersSync (in DeviceEventListener listener,
3342 in DeviceEvent event);
3344 oneway void notifyListenersAsync (in DeviceEventListener listener,
3345 in DeviceEvent event);
3347 Added DeviceEventListener and DeviceEvent structs (may deprecate
3348 KeyStroke and KeystrokeListener in favor of this generic
3349 event/listener framework for devices).
3351 * libspi/deviceeventcontroller.c:
3353 Changed some key listener code to take masks, etc., and paved the
3354 way for integration of toolkit/non-preemptive key events. Changed
3355 signatures of some internal methods.
3357 * at-bridge/bridge.c:
3358 Fixed regression connecting to interface signals, apparently
3359 caused by GTK+ changes.
3361 Added an internal bridge_state_listener to deal with
3362 property-change:accessible-state signals.
3364 Changed the key_listeners GList to store structs (including masks,
3365 etc.) instead of just CORBA_Objects (required for full
3366 implementation of key listener API).
3368 Connected the bridge to all currently supported Atk signals.
3369 Events now supported:
3370 object:property-change
3371 object:property-change:accessible-name
3372 object:property-change:accessible-state
3373 object:property-change:accessible-description
3374 object:property-change:accessible-parent
3375 object:property-change:accessible-value
3376 object:property-change:accessible-role
3377 object:property-change:accessible-table-caption
3378 object:property-change:accessible-table-column-description
3379 object:property-change:accessible-table-column-header
3380 object:property-change:accessible-table-row-description
3381 object:property-change:accessible-table-row-header
3382 object:property-change:accessible-table-summary
3383 object:children-changed
3384 object:visible-data-changed
3385 object:selection-changed
3386 object:text-selection-changed
3388 object:text-caret-moved
3390 object:row-reordered
3392 object:column-inserted
3393 object:column-reordered
3394 object:column-deleted
3395 object:model-changed
3397 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3399 * libspi/hyperlink.c,h:
3400 Fixed some broken stuff in hyperlink.
3402 * libspi/relation.h:
3403 * libspi/relation.c:
3404 * cspi/spi_accessible.c:
3405 Initial implementations of AccessibleRelation methods, and docs.
3407 * libspi/accessible.c:
3408 Fixed a bug that caused SEGV if an accessible
3409 object's description is NULL, and a client
3410 requests it. An empty string is now returned.
3412 * cspi/spi_editabletext.c:
3413 * cspi/spi_hypertext.c:
3415 * cspi/spi_hyperlink.c:
3419 Doc coverage now 95%.
3421 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3423 One last namespacing revision:
3424 * libspi/accessibleeventlistener.[ch]:
3425 Renamed SpiAccessibleEventListener to SpiEventListener,
3426 (no need for two namespaces ;-)
3428 And lots of documentation fixes:
3430 * docs/at-spi-docs.sgml:
3431 Fixed 'underscore vs. hyphen' bug that was preventing
3432 the gtk-doc API docs from being automatically generated.
3435 * cspi/spi-listener.h
3437 * cspi/spi_accessible.c
3439 * cspi/spi_application.c
3440 * cspi/spi_component.c
3441 * cspi/spi_editabletext.c
3443 * cspi/spi_hypertext.c
3445 * cspi/spi_registry.c
3446 * cspi/spi_selection.c
3450 * docs/at-spi-docs.sgml
3451 * docs/at-spi-sections.txt
3453 Added and fixed up gtk-doc documentation in cspi.
3455 Interfaces now (fully) documented (subject to revision and enhancement):
3457 Event Listener Support
3459 AccessibleApplication
3463 AccessibleEditableText
3470 AccessibleRelationSet
3475 2001-11-14 Bill Haneman <bill.haneman@sun.com>
3477 * at-bridge/bridge.c:
3478 Initial work for toolkit-level key snooper connection by bridge.
3483 New typedefs and fixes to support new namespacing, and cleaner
3484 separation of cspi bindings from libspi bonobo implementation.
3485 Removed inconsistent and extraneous Spi* namespace prefix that
3486 had crept into cspi headers.
3487 Lots of comment fixes that sed had missed.
3489 * cspi/spi-roletypes.h:
3490 * cspi/spi-statetypes.h:
3491 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
3492 to AccessibleRoleType.
3494 * libspi/accessibleeventlistener.h:
3495 Fixed minor namespacing weirdness.
3497 * libspi/deviceeventcontroller.c:
3498 Reordered some internal API for device listeners.
3499 Changed the key registry final boolean to 'is_system_global'
3500 rather than 'is_synchronous', which is more descriptive of its
3502 Added spi_device_event_controller_new().
3503 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
3505 * libspi/keystrokelistener.[ch]:
3506 Namespaced KeystrokeListener to SpiKeystrokeListener.
3507 Changed uses of keymasks to use SPI_ prefix, and did other
3510 * libspi/keymasks.h:
3511 Namespaced keymask constants with SPI_ prefix.
3513 * libspi/registry.c:
3514 Some warning fixes, and knock-on fixes from namespace changes.
3517 Added rules for accessx-gui test program.
3519 * test/accessx-gui.c:
3520 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
3521 utility. It doesn't actually use at-spi, but it's still cool and
3524 * test/keysynth-demo.c:
3528 Fixes so that these test clients work properly with the namespaced
3529 libraries. (Incompletely tested for technical reasons, fixes may follow)
3532 2001-11-13 Michael Meeks <michael@ximian.com>
3534 * libspi/application.c
3535 (impl_accessibility_application_get_version),
3536 (impl_accessibility_application_get_toolkit_name):
3538 (impl_accessibility_application_set_id),
3539 (impl_accessibility_application_get_id): remove
3540 redundant casting code.
3542 * libspi/action.c (impl_getDescription): fix warnings.
3544 * libspi/accessible.c
3545 (impl_accessibility_accessible_get_parent),
3546 (impl_accessibility_accessible_get_child_at_index),
3547 (impl_accessibility_accessible_get_state),
3548 (impl_accessibility_accessible_get_relation_set):
3549 warning fixes & include action.h
3551 2001-11-13 Michael Meeks <michael@ximian.com>
3553 * *.[ch] fix bits I screwed up:
3555 s/([^ \tb(\*\&\?\",])spi_/\1/g;
3556 s/([^ \tb(\*\&\?\",])Spi/\1/g;
3558 2001-11-13 Michael Meeks <michael@ximian.com>
3560 * *.[ch] Namespace libspi into spi_ and Spi.
3562 2001-13-11 Michael Meeks <michael@ximian.com>
3564 * Makefile.am: dist & install at-spi-1.0.pc
3566 * libspi/Makefile.am: install into at-spi-1.0
3568 * idl/Makefile.am (idldir): install into at-spi-1.0
3570 * at-spi-1.0.pc.in: add.
3572 * configure.in: build it.
3574 2001-11-12 Bill Haneman <bill.haneman@sun.com>
3576 * test/keysynth-demo.c:
3577 Use a 'realize' signal-handler to set the WM properties for
3578 the virtual keyboard, rather than making it a "POPUP" type
3579 override-redirect window (thanks to anders carlsson for that
3582 2001-11-11 Bill Haneman <bill.haneman@sun.com>
3585 * test/keysynth-demo.c:
3586 Added new test of key synthesis, which creates a simple
3587 (mouse-operated) onscreen keyboard. It inserts key events into
3588 the currently-focused window, thus it does not grab keyboard focus
3591 * cspi/spi_registry.c:
3592 Added C binding for AT-SPI generateKeyEvent.
3594 * libspi/deviceeventcontroller.c:
3595 Added call to XFilterEvent so that key listener works with XIM (we
3596 hope). Added event_synth_type to generateKeyEvent, so that we can
3597 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
3598 synthesize a press/release pair for KeySyms.
3600 2001-11-09 Bill Haneman <bill.haneman@sun.com>
3602 * libspi/Makefile.am:
3603 * registryd/Makefile.am:
3604 (temporary) hack to include libXtst in libspi and registryd.
3605 (Needed for keystroke synthesis, see below).
3608 Improved API for registerKeystrokeListener, in accordance with
3609 discussions with Gnopernicus team and X server research.
3611 * libspi/registry.c:
3612 * libspi/deviceeventcontroller.c:
3613 * libspi/accessible.c:
3614 * libspi/keystrokelistener.c:
3615 Changes and fixes to support keylisteners for potentially
3616 consumed key events (that is, 'passive grabs').
3617 Added implementation for generateKeyEvent() [untested].
3620 Changes to registerKeystrokeListener() API, as above.
3621 Added deregisterGlobalEventListenerAll(), and
3622 deregisterKeystrokeListener(), which are needed for clean exit of
3624 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
3625 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
3627 * cspi/spi_registry.c:
3628 Added implementations of function prototypes mentioned above.
3630 * registryd/registryd.c:
3631 Added the key listener event source as a g_timeout(), to allow
3632 receipt of key events that are not caught by GDK (since GDK
3633 doesn't support passive keygrabs, this was necessary).
3636 Changed to attach a keylistener to 'Alt' keys, and
3637 respond to the following keycommands: Alt-M (toggle magnifier);
3638 Alt-F (toggle speech); Alt-Q (quit).
3639 Added an exit routine to deregister the listeners, and a key
3640 listener that prints some key info to the console when a key
3641 matches the listener mask (and is thus received by the listener).
3643 * util/idl/Magnifier.idl:
3644 Changes to magnifier API to support multiple zoom regions,
3645 non-uniform scaling in x and y, markDirty, and a host of other
3646 features that would be useful to magnification.
3649 * util/mag_client.c:
3650 * util/mag_client.h:
3651 * util/mag_control.c:
3653 Source code changes to support the above IDL changes.
3656 As above, and also changes to use a (slower) generic conversion
3657 path for colormap conversions, since the fast RGB conversions have been
3658 reported to fail for 16-bit displays.
3660 2001-10-26 Michael Meeks <michael@ximian.com>
3662 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
3664 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
3666 * at-bridge/Makefile.am: fix LDFLAGS.
3668 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3670 * at-bridge/bridge.c:
3671 Re-worked listeners for toolkit events, now we have signal
3672 and property listeners. Added a private method
3673 register_atk_event_listeners(), which registers with the
3674 various atk and gtk signals we need to monitor in order to emit
3676 Added emission hook for AtkObject:property-change events, to
3677 support the 'property listeners'.
3678 Fixed some alloc()s of Accessibility_Event structs to use CORBA
3681 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
3682 which emit warnings and exit, respectively, if CORBA errors occur
3683 during remote calls, and we now use these methods to check most of
3684 our CORBA calls in the C bindings.
3686 * cspi/spi_accessible.c:
3687 Changed AccessibleSelection_refSelectedChild() to
3688 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
3689 now increment refcounts.
3691 * cspi/spi_component.c:
3692 Fixed some long pointer casts (dangerous!) to pass pointers to
3693 CORBA_longs of the proper type to the CORBA stubs, and copy the
3694 data into the longs that were passed into the C bindings code.
3696 * at-bridge/bridge.c:
3698 * libspi/accessible.c:
3699 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
3700 hyperlinks, AtkHyperlink is an object type.
3702 * libspi/application.c:
3703 Added various conversions to and from "generic" event types and
3704 atk-specific types; this is really part of the 'bridge'
3705 implementation but is valid for all AtkObject-based accessibility
3708 * libspi/editabletext.c:
3709 Fixed nasty bug wherein editable text's finalize method was
3710 unref'ing tha AtkObject reference that the text parent class was
3711 about to unref _again_. There was also a nasty inheritance bug
3712 that meant that the AccessibleEditableText class was corrupt.
3714 * libspi/selection.c:
3715 Provided implementations for some selection API that was broken.
3717 * idl/Application.idl:
3718 Added registerObjectEventListener () method.
3721 Fixed a number of return values that were Bonobo_Unknowns from
3722 bonobo_object_corba_objref(), which I
3723 forgot to dup before returning. Changed instances of
3724 bonobo_object_corba_objref (bonobo_object(o)) to
3725 BONOBO_OBJREF(o), for concision and clarity.
3727 2001-10-13 Louise Miller <louise.miller@sun.com>
3729 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
3730 idl/Event.idl, idl/Registry.idl
3731 Changed these files to include Bonobo_Unknown.idl instead
3734 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
3736 * libspi/component.c libspi/component.h:
3737 Fixed typo. Added assertions for object checks in
3738 AccessibleComponent code.
3740 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3742 * idl/Accessible.idl:
3743 Added 'isEqual (Accessible *object)'
3744 method for Accessible. (Not Yet Implemented).
3747 Changed signature of registerKeystrokeListener() to
3748 take a KeySet and KeyEventSeq so that specific keys and event
3749 types could be requested for monitoring, and added a flag
3750 is_synchronous so that either synchronous or asynchronous
3751 notification could be requested. (However this is not all
3752 implemented yet). This also meant adding two new typedefs,
3753 KeyEventSeq and KeySet.
3756 Added two new relations, RELATION_TOOLTIP_FOR and
3757 RELATION_LEAFNODE_OF.
3760 Added new state, STATE_HAS_TOOLTIP.
3762 * libspi/text.c, editabletext.c:
3763 Added new assertions to all casts of bonobo-objects from
3764 CORBA servants, to prevent Text API calls on non-text objects.
3765 Changed suspect casts of int-pointer types, so that we
3766 always send a valid CORBA_long pointer to the CORBA APIs that use
3767 in/out long parameters. We then have to copy from the CORBA_long
3768 into the regular long or int for return to the C bindings, or
3769 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
3772 * libspi/deviceeventcontroller.c:
3773 Cleaned these sources up.
3775 Changed return type for getCharacterAtOffset to
3776 CORBA_unsigned_long, to allow for 32-bit characters.
3779 2001-10-08 Bill Haneman <bill.haneman@sun.com>
3783 Fixed 'make dist' so that distro compiles...
3784 * libspi/keymasks.h:
3786 * cspi/spi-listener.c:
3787 KeystrokeListenerCB now returns a boolean.
3789 Added KeyEventType struct, and KeyStroke.
3790 Also added createKeystrokeListener(),
3791 KeystrokeListener_addCallback(),
3792 KeystrokeListener_removeCallback(), and added a keymask to
3793 registerKeystrokeListener().
3794 * cspi/spi_accessible.c:
3795 Changed numerous return types for interfaces from
3796 AccessibleComponent to Accessible<InterfaceName>; this was
3797 probably a cut-and-paste error.
3799 Implementations of new KeystrokeListener api (from spi.h,
3802 Changes to key modifier mapping.
3803 Created ControllerEventMask struct.
3804 Made DeviceEventController derive from Bonobo::Unknown.
3806 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3807 * libspi/deviceeventcontroller.c:
3808 Added a number of new internal (private) methods.
3809 * libspi/editabletext.c:
3810 * libspi/editabletext.h:
3811 Fixed a number of bugs related to the fact that
3812 editabletext inherits from text. Fixed the EditableText struct,
3813 the init() call, and use correct casts when calling Text methods
3814 from an EditableText object. Removed (duplicate) atko from the
3815 EditableText structure, we use the one in the parent Text
3816 structure via the casts mentioned above.
3817 * libspi/keystrokelistener.[ch]:
3818 * libspi/registry.c:
3819 Changes in support of keyboard handling (above).
3821 Keyboard handling, though partly functional, is still not
3822 recommended for at-spi client use as there is considerable
3823 work yet to be done.
3826 Changed some places where pointers to various int types
3827 are cast to be pointers to CORBA_long types and vice-versa:
3828 pointer casting is not safe so we pass pointers of the correct
3829 types and then cast the result before putting it into the target
3832 * libspi/text.h: minor typos corrected.
3834 We now speak not only the name of a Text element, but the
3835 first sentence of its content, when it receives focus.
3836 I also changed the text compression to 75% from 50%.
3837 * util/Accessibility_Util.server.in:
3838 Changed the default magnifier type to be a 3x vertical
3839 splitscreen magnifier (was previously a 2x horizontal one).
3841 2001-10-03 Bill Haneman <bill.haneman@sun.com>
3843 * libspi/keystrokelistener.h:
3844 * libspi/keystrokelistener.c:
3845 Initial functional implementations of KeystrokeListener.
3848 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3850 Fixed string handling for NULL strings in libspi.
3851 Added spi_freeString to free strings returned by C bindings.
3853 2001-09-30 Bill Haneman <bill.haneman@sun.com>
3855 * libspi/keystrokelistener.h:
3856 * libspi/keystrokelistener.c:
3857 Began (no-op) implementations of KeystrokeListener
3859 * libspi/deviceeventcontroller.c:
3860 * libspi/deviceeventcontroller.h:
3861 Began creating implementations of DeviceEventController,
3862 to handle keystroke and mouse event listening and
3864 * libspi/accessible.c:
3865 Stubbed-in the implementations for
3866 Accessibility_Accessible_getState and
3867 Accessibility_Accessible_getRelationSet.
3868 * libspi/registry.c:
3869 Improved de-registration process and fixed some bugs,
3870 deregistration now works correctly.
3872 Added initialization of applications list (to NULL).
3874 Reduced speech compression from 0.5 to 0.7, for demo.
3875 Changed call to gdk_window_set_decorations()
3876 to gtk_window_set_decorated().
3877 * at-bridge/bridge.c:
3878 Bridge now deregisters when app exits, via
3879 registration of a cleanup function
3880 with the g_atexit() call.
3881 Required making 'app' static, renamed 'this_app'.
3882 Fixed broken use of bonobo_init, passing argv wrongly.
3884 2001-09-27 Bill Haneman <bill.haneman@sun.com>
3888 Created a new directory for
3889 accessibility-related utilities, primarily for
3890 testing and demo purposes, but with possible
3897 Onscreen magnifier utility that
3898 is implemented as a bonobo service.
3900 * util/mag_client.c:
3901 * util/mag_client.h:
3902 Client-side support (simple C bindings)
3903 for Magnification service
3905 * util/mag_control.c:
3906 Client program example for
3907 Magnification service
3909 * util/Accessibility_Magnifier.server.in:
3910 Bonobo-activation file for the
3911 Magnification service.
3914 * util/idl/Magnifier.idl:
3915 IDL defining the bonobo Magnification
3919 Modifications to use the bonobo-activated magnifier
3920 above, in place of trying to connect to an existing
3921 magnifier that uses socket-listening IPC.
3923 If env variable MAGNIFIER is set, a magnifier service
3924 will be started if one does not exist.
3926 2001-09-25 Bill Haneman <bill.haneman@sun.com>
3928 * at-bridge/bridge.c:
3929 applied patch from Marc to build and run
3930 against new glib and gtk+ (seemed like a change
3931 to bonobo_init signature was made ?)
3933 made festival-server support turned off by default.
3934 Added support for a simple magnifier (off by default)
3935 which will be added to a 'util' directory later.
3936 * at-bridge/Makefile.am:
3937 Changed "application.h" header from a 'source'
3938 to a 'dependency' of libat-bridge.
3940 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3949 Added interface implementation c files to list of
3950 includes so they are included in libcspi.
3953 Changed prototype of AccessibleAction_doAction to return a
3955 Changed prototype of AccessibleTable_getCaption to
3956 return an Accessible.
3957 Changed prototype of AccessibleTable_getSelectedRows
3958 and AccessibleTable_getSelectedColumns to
3959 return a long (returns the number of selected rows
3960 or columns respectively).
3961 Changed name of AccessibleText_refRunAttributes to
3962 AccessibleText_getAttributes.
3963 Changed prototype of AccessibleText_getCharacterExtents to
3964 return a void rather than a boolean.
3965 Added support for a AccessibleCoordType parameter
3966 specifying what type of coordinates are desired.
3967 Added an AccessibleCordType parameter to
3968 AccessibleText_getPointAtOffset.
3970 * cspi/spi_accessible.c:
3971 Added code to return the outstanding interfaces from
3972 Accessible_queryInterface.
3974 * cspi/spi_action.c:
3976 Corrected call to getNActions to call the c binding
3979 * cspi/spi_editabletext.c:
3981 Changed name from setRunAttributes to setAttributes.
3983 * cspi/spi_hyperlink.c:
3985 Changed call to getNAnchors to correctly call the c
3986 binding for an attribute.
3988 * cspi/spi_hypertext.c:
3990 Changed getImageDescription to correctly call the
3991 binding for an attribute.
3993 * cspi/spi_selection.c:
3994 Changed getNSelectedChildren to correctly call the c
3995 binding for the attribute.
3996 Changed refSelectedChild to getSelectedChild.
4000 Changed getCaption to return an Accessible.
4001 Fixed calls which retrieve attributes.
4002 Changed refAt to getAccessibleAt.
4003 Changed getNSelectedRows and getNSelectedColumns to
4007 Changed getCharacterExtents and getPointAtOffset to accept an
4008 AccessibleCoordType.
4010 Changed calls which retrieve attributes.
4011 Changed refRunAttributes to getAttributes.
4016 * idl/Hyperlink.idl:
4017 Changed n_anchors attribute to nAnchors to keep naming
4018 convention consistent.
4021 Made Table inherit from Bonobo::Unknown.
4022 Added nSelectedColumns and nSelectedRows attributes.
4025 Made Value inherit from Bonobo::Unknown.
4027 * libspi/hyperlink.c:
4028 Change for nAnchors attributte name change.
4030 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4038 Added interface implementation c files to list of
4039 includes so they are included in libcspi.
4042 Changed prototype of AccessibleAction_doAction to return a
4044 Changed prototype of AccessibleTable_getCaption to
4045 return an Accessible.
4046 Changed prototype of AccessibleTable_getSelectedRows
4047 and AccessibleTable_getSelectedColumns to
4048 return a long (returns the number of selected rows
4049 or columns respectively).
4050 Changed name of AccessibleText_refRunAttributes to
4051 AccessibleText_getAttributes.
4052 Changed prototype of AccessibleText_getCharacterExtents to
4053 return a void rather than a boolean.
4054 Added support for a AccessibleCoordType parameter
4055 specifying what type of coordinates are desired.
4056 Added an AccessibleCordType parameter to
4057 AccessibleText_getPointAtOffset.
4059 * cspi/spi_accessible.c:
4060 Added code to return the outstanding interfaces from
4061 Accessible_queryInterface.
4063 * cspi/spi_action.c:
4065 Corrected call to getNActions to call the c binding
4068 * cspi/spi_editabletext.c:
4070 Changed name from setRunAttributes to setAttributes.
4072 * cspi/spi_hyperlink.c:
4074 Changed call to getNAnchors to correctly call the c
4075 binding for an attribute.
4077 * cspi/spi_hypertext.c:
4079 Changed getImageDescription to correctly call the
4080 binding for an attribute.
4082 * cspi/spi_selection.c:
4083 Changed getNSelectedChildren to correctly call the c
4084 binding for the attribute.
4085 Changed refSelectedChild to getSelectedChild.
4089 Changed getCaption to return an Accessible.
4090 Fixed calls which retrieve attributes.
4091 Changed refAt to getAccessibleAt.
4092 Changed getNSelectedRows and getNSelectedColumns to
4096 Changed getCharacterExtents and getPointAtOffset to accept an
4097 AccessibleCoordType.
4099 Changed calls which retrieve attributes.
4100 Changed refRunAttributes to getAttributes.
4105 * idl/Hyperlink.idl:
4106 Changed n_anchors attribute to nAnchors to keep naming
4107 convention consistent.
4110 Made Table inherit from Bonobo::Unknown.
4111 Added nSelectedColumns and nSelectedRows attributes.
4114 Made Value inherit from Bonobo::Unknown.
4116 * libspi/hyperlink.c:
4117 Change for nAnchors attributte name change.
4120 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
4122 implementations-- made server implementations own AtkObject pointers
4123 rather than their respective AtkInterrface pointers to fix
4124 refcounting. AtkHyperlink is still broken.
4126 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4127 * cspi/spi_accessible.c:
4128 Added method Accessible_Role_getName(),
4129 and requisite string array (role_names).
4130 Added conversion string_from_corba_strin() call
4131 to Accessible_getName and _getDescription.
4132 * libspi/accessible.c:
4133 Added implementation for Accessible_getRole()
4135 Added festival support, used if environment variable
4138 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4140 * at-bridge/bridge.c:
4141 Now allocate Accessibility_Event using
4142 Accessibility_Event__alloc() instead of g_new0().
4143 * libspi/accessibleeventlistener.c:
4144 Initialize AccessibleEventListener->callbacks to NULL.
4145 Fixed accessible__event_listener_init() param, changed to
4146 "AccessibleEventListener *" type.
4147 Changed a bonobo_object_release_unref() call to
4148 Accessibility_Accessible_unref().
4149 * libspi/listener.c:
4150 Changed Bonobo_Unknown_unref to (equivalent)
4151 Accessibility_Accessible_unref.
4152 * libspi/registry.c:
4153 Changed bonobo_object_release_unref to
4154 Accessibility_Accessible_unref.
4156 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4159 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
4160 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
4161 spi-util.c spi-util.h
4162 Implementations for C bindings to remaining accessibility
4165 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4168 changed return value of Action from void to boolean to
4169 bring in line with ATK.
4172 Changed getText funcions to return "out" start and end offsets.
4173 Changed getAttributes to take and offset and return the start
4174 and end offset of the attribute run.
4175 Changed getOffsetAtPoint and getCharacterExtents to take an
4176 enum describing whether coordinates are window or screen.
4179 libspi/action.c libspi/action.h libspi/editabletext.c
4180 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
4181 libspi/hypertext.c libspi/hypertext.h libspi/image.c
4182 libspi/image.h libspi/selection.c libspi/selection.h
4183 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
4184 libspi/value.c libspi/value.h
4185 Added server implementations for outstanding ATK interfaces
4186 not yet implemented.
4188 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4191 Added (missing) getName() method.
4192 Made nActions an attribute.
4193 * idl/EditableText.idl:
4194 Changed order of params in setAttributes.
4195 * idl/Hyperlink.idl:
4196 Removed getAnchor, added getURI.
4198 Changed attributes to methods, for efficiency
4199 (so that getting extents can be done in one call)
4200 * idl/Selection.idl:
4201 Changed nSelectedChildren to attribute, and re-indented.
4202 * idl/Table.idl: changed nrows, ncolumns, caption, summary
4204 * idl/Text.idl: reformatted to match our coding style.
4205 (temporarily?) removed getRowColumnAtOffset().
4206 Changed text selection API to support multi-select and
4207 non-contiguous selections, as in ATK.
4208 * idl/Value.idl: changed some methods to attributes.
4210 2001-08-24 Mark McLoughlin <mark@skynet.ie>
4212 * libspi/listener.c(impl_notify_event):
4213 BonoboUnkown_unref the source instead
4214 of bonobo_object_release_unref - the ORB
4215 handles the releasing.
4217 * configure.in: require ORBit-2.3.94 for
4220 2001-08-21 Bill Haneman <bill.haneman@sun.com>
4222 Tagged CVS repository 'EA_1_0'.
4223 * README.EARLY_ACCESS:
4224 Alphabetized acknowledgements list, and
4226 Listed some known dependencies of at-spi.
4228 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4230 * docs/at-spi-docs.sgml:
4231 * docs/at-spi-sections.txt:
4232 * docs/at-spi-overrides.txt: (Added zero-length file)
4233 Documentation improvements - gtk-doc should build
4234 docs for all implemented C bindings now.
4237 * cspi/spi.c: (New file)
4238 * cspi/spi_event.c: (New file)
4239 * cspi/spi_registry.c: (New file)
4240 * cspi/spi_accessible.c: (New file)
4241 * cspi/spi_application.c: (New file)
4242 * cspi/spi_component.c: (New file)
4243 Split spi_main.c into six parts, and included them from
4244 "spi.c". This is a bit of a hack, probably temporary,
4245 but required by gtk-doc, apparently.
4247 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4250 * docs/at-spi-docs.sgml:
4251 * docs/at-spi-sections.txt:
4253 Initial checkins/modifications for gtk-doc generation.
4256 Added (missing) interface query methods to Accessible's C binding.
4258 Added GenericInterface type definition.
4260 Added query for AccessibleComponent interface to focus event handler.
4261 Added printout of bounding box for focussed component.
4262 * libspi/component.c:
4263 Added partial implementation for AccessibleComponent to C binding.
4264 * idl/Application.idl:
4265 * libspi/registry.c:
4266 * libspi/listener.c:
4267 * libspi/application.c:
4268 * libspi/application.h:
4269 Changed "ID" attribute type from string to long.
4271 2001-08-19 Bill Haneman <bill.haneman@sun.com>
4275 Made method naming consistent: methods taking object args
4276 start with uppercase, other methods (except those using
4277 acronyms) start with lowercase. Underscores delimit between
4278 object names and method names:
4279 SPI_init() - uppercase since it starts with an acronym.
4280 getDesktopCount () - lowercase start since no object param0.
4281 Accessible_getName() - uppercase object type name, studlyCaps method
4285 Added gtk-doc documentation for all currently implemented
4286 methods in the C bindings API.
4288 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4290 * Makefile.am : changed build order to build test last.
4293 Changed "createEventListener" to "CreateEventListener".
4294 * libspi/accessibleeventlistener.c :
4295 Bugfix for addition of callbacks.
4296 * test/Makefile.am :
4297 * test/simple-at.c :
4298 Added new test that uses the C bindings API.
4300 * libspi/listener.c :
4301 * libspi/registry.c :
4302 * libspi/accessibleeventlistener.c :
4303 * at-bridge/bridge.c :
4304 Renamed member "target" of Accessibility_Event to "source",
4305 which is more descriptive.
4308 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4312 * cspi/Makefile.am :
4313 Added makefile support for at-spi/cspi directory.
4316 * cspi/spi-listener.h : (NEW FILE)
4317 Added support for/use of spi-listener.h.
4319 C bindings now build successfully, with no warnings.
4320 * libspi/accessibleeventlistener.h : (NEW FILE)
4321 * libspi/accessibleeventlistener.c : (NEW FILE)
4322 * libspi/Makefile.am :
4323 Added new object type "AccessibleEventListener"
4324 which inherits from Listener, and allows attachment
4325 of in-process callbacks (so that a client with a listening
4326 object instance can add functionality to the local
4327 implementation, dynamically).
4329 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4331 * libspi/accessible.c:
4332 Add implementation for get_index_in_parent().
4334 Added #include of "spi-roletypes.h", and
4335 added enumerated type AccessibleCoordType.
4336 Added definition for KeystrokeListener (function type).
4339 * cspi/spi-statetypes.h :
4340 * cspi/spi-roletypes.h :
4342 Added these headers, used by spi.h.
4344 Added code (NOTE: not yet built by make).
4346 2001-08-18 Mark McLoughlin <mark@skynet.ie>
4348 * libspi/Makefile.am: generate imodule
4349 at the same time as other idl compiler
4352 2001-08-17 Bill Haneman <bill.haneman@sun.com>
4353 * libspi/registry.c :
4354 * libspi/application.c :
4355 * idl/Application.idl :
4356 Made registration with toolkit an application method,
4357 which is required since each app has its own toolkit static
4358 environment. Thus the bridge must register for
4359 notification of toolkit events from each application in turn.
4360 Toolkit notifications are now successfully registered for, and
4361 sent to the listening at client.
4363 Changed toolkit event string to use hyphens rather than underscores.
4364 * libspi/listener.c :
4365 listner now gives more info in debug mode - it reports the
4366 name of the event received, as well as the name of the source.
4369 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4371 * libspi/registry.c :
4372 added more implementation for toolkit events.
4373 Fixed bug such that toolkit event registrations
4374 (via atk) use the whole event name string, not
4376 Removed a useless call to an ORBit_ method.
4377 * at-bridge/bridge.c :
4378 Removed unused local sbuf[] variable.
4380 We now register for Gtk:GtkWidget:button_press_event
4381 events as well as "focus:" events.
4383 Add some more API from Registry.idl that was missing,
4384 for keystroke listening, keystroke and mouse event
4385 synthesis, and enumeration of accessible desktops.
4387 2001-08-16 Michael Meeks <michael@ximian.com>
4389 * configure.in: use AM_GLIB_GNU_GETTEXT.
4391 * Makefile.am (SUBDIRS): kill intl.
4393 2001-08-15 Michael Meeks <michael@ximian.com>
4395 * registryd/Makefile.am: s/oaf/server/ relocate info file.
4397 * configure.in: upd.
4399 * configure.in: depend on a recent bonobo-activation that
4400 will find our server files ...
4402 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4404 * libspi/accessible.c : accessible_new() :
4405 Now we add the Component interface via bonobo_object_add_interface,
4406 if the contained AtkObject implements AtkComponent.
4407 * libspi/accessible.h : now include "component.h"
4408 * libspi/component.h :
4409 * libspi/component.c : added files - implementation of
4410 bonobo wrapper object for Accessibility/Component
4411 * libspi/listener.c :
4412 Added test code to check for Accessibility/Component:1.0
4413 interface and report whether it is implemented by the
4415 * libspi/registry.c :
4416 Now we check for not only the hash of the whole event
4417 string before relaying the event, we also check the
4418 "minor" event string (without the detail string).
4419 This allows event listeners to be registered against
4420 all events of a certain major+minor type, or just
4421 against a specific major+minor+detail type.
4422 * libspi/accessible.c :
4423 Added implementations for Accessible:get_parent(),
4424 Accessible:getChildCount(), and Accessible:getChildAtIndex().
4425 * libspi/registry.c :
4426 * libspi/listener.c :
4427 Replaced calls to Accessibility_Accessible_ref() and
4428 Accessibility_Accessible_unref() with
4429 calls to bonobo_object_dup_ref() and
4430 bonobo_object_release_unref(), so that the CORBA object
4431 is dup-ed and released when relayed, as well as the bonobo object.
4433 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4435 * libspi/Makefile.am,
4436 registryd/Makefile.am,
4437 at-bridge/Makefile.am.
4438 test/Makefile.am, configure.in:
4439 reverse previous changes.
4441 * /idl/Image.idl: fix typo.
4443 * test/Makefile.am: put DEBUG_FLAGS
4446 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4448 * test/app.c: use argv[0] instead of
4451 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4453 * libspi/Makefile.am,
4454 registryd/Makefile.am,
4455 at-bridge/Makefile.am.
4456 test/Makefile.am, configure.in:
4457 cleanup, replace individual LIBS/CFLAGS with
4458 AT_COMMON_{LIBS|CFLAGS}.
4462 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4464 * configure.in, libspi/Makefile.am:
4465 Change IDL path checking for bonobo-activation
4468 2001-08-15 Bill Haneman <bill.haneman@sun.com>
4470 * registryd/registry.c : separated event listeners to use
4471 3 separate lists (focus, window, toolkit). Began testing
4472 event names against hashes before relaying events.
4473 * test/at.c : now register for events of type "focus:"
4474 * test/app.c : now generate events of type "focus:"
4475 * at-bridge/bridge.c : register with ATK for focus events,
4476 and we now relay those focus events to any "focus:" listeners.
4477 This now works with the bridge as a GTK_MODULE when running test/at.
4478 * libspi/registry.c :
4479 * libspi/listener.c :
4480 now we ref event sources before propagating, and unref on receipt.
4481 * libspi/registry.c :
4482 some changes to internal structs, to support event typestring hashes.
4483 * text/app.c : changed the way the appname is generated.
4484 * cspi : added directory that will hold the C bindings library for
4485 non-CORBA/bonobo-savvy clients.
4486 * cspi/spi.h : header file that contains the function prototypes for the C binding.
4487 * idl/Component.idl : added in parameter to indicate coord system for
4488 geometry-related calls.
4489 * idl/Hyperlink.idl : added readonly n_links attribute
4490 * idl/Image.idl : changed methods to attributes.
4492 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4494 * at-bridge/Makefile.am: link against
4495 ../libspi/libspi.la instead of -lspi.
4497 * at-spi/test/app.c: include
4498 bonobo-activation.h. Use a default appname
4499 if one is not provided.
4501 2001-08-14 Bill Haneman <bill.haneman@sun.com>
4503 * idl/Registry.idl : temporarily changed register_Application
4504 to oneway, to work around issue with initial registration
4506 * idl/Application.idl : changed attribute "id" from readonly
4507 to read-write, since it needs to be assigned by Registry.
4508 * registryd/registryd.c : added call to set application id
4510 * registryd/registry.c : changed de-registration procedure to
4511 use CORBA_Object_hash() to find matching object ref in application
4512 lists and listener lists.
4513 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
4514 began distinguishing between event types (work in progress).
4516 2001-08-13 Bill Haneman <bill.haneman@sun.com>
4519 * libspi/application.c:
4520 Added implementations for get/set id, get_toolkitName,
4522 * registryd/registryd.c :
4526 Converted from use of OAF to bonobo-activation.
4527 * libspi/desktop.h :
4528 * libspi/desktop.c :
4530 Removed references to atksimpleobject, since base atkobject
4531 implementation now provides functionality we need.
4532 * libspi/atksimpleobject.c :
4533 * libspi/atksimpleobject.h :
4538 * at-bridge/Makefile.am
4539 * at-bridge/bridge.c
4542 Added directory "bridge" and contents, and added dependencies
4543 in Makefile.am/configure.in.
4544 Initial checkin of "at-bridge".
4545 This code is a GTK_MODULE which automatically registers
4546 GTK+ apps with the accessibility registry, using an object
4547 reference to the root ATK object.
4549 2001-08-10 Mark McLoughlin <mark@skynet.ie>
4551 * po/Makefile.in.in: Remove. Again. If this
4552 doesn't get autogenerated - you need to update
4555 2001-08-07 Mark McLoughlin <mark@skynet.ie>
4557 * po/Makefile.in.in: Add. Again.
4559 2001-07-31 Bill Haneman <bill.haneman@sun.com>
4561 * libspi/accessible.c : added support for 'description' property.
4562 * libspi/accessible.c
4564 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
4565 (since the two are now equivalent in libbonobo)
4573 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
4574 Bonobo::Unknown as does Accessibility::Accessible.
4575 * idl/StreamableContent.idl : as above, and replaced internal InputStream
4576 interface with Bonobo::Stream, since it was redundant with it.
4577 (The Stream returned by a StreamableContext object is expected to
4578 implement only a subset of Bonobo::Stream)
4580 2001-07-28 Anders Carlsson <andersca@gnome.org>
4582 * libspi/accessible.c (accessible_object_finalize): Change
4583 g_free to g_object_unref since the AtkObject is a GObject.
4585 2001-07-30 Bill Haneman <bill.haneman@sun.com>
4587 * idl/Accessibility.idl: add new IDL files
4590 * idl/Action.idl: Definitions of actionable UI object
4591 * idl/Component.idl: Definitions of UI component geometry, etc.
4592 * idl/Hyperlink.idl: Defs of hyperlink behavior
4593 * idl/Image.idl: Def of accessible image
4594 * idl/Selection.idl: Definition of UI object with selectable children
4595 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
4596 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
4597 * idl/Text.idl: Interface defs for UI elements with complex textual content
4598 * idl/Value.idl: Definition of UI element that is a value controller or display
4600 2001-07-27 Michael Meeks <michael@ximian.com>
4602 * po/Makefile.in.in: remove autogenerated file from CVS.
4604 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
4607 * idl/Registry.idl: include guard.
4609 * idl/Accessibility.idl: Add, and include all the other IDL
4612 * idl/*.idl: remove mass of pragmas etc.
4614 2001-07-26 Michael Meeks <michael@ximian.com>
4616 * registryd/Makefile.am (registryd_SOURCES): remove
4619 2001-07-27 Mark McLoughlin <mark@skynet.ie>
4621 * libspi/.cvsignore, registryd/.cvsignore,
4622 test/.cvsignore: updated.
4624 * po/Makefile.in.in: gettext update.
4626 2001-07-25 Bill Haneman <bill.haneman@sun.com>
4628 * initial CVS checkin
4630 2001-06-29 Michael Meeks <michael@ximian.com>
4632 * configure.in: add AM_CONFIG_HEADER to gen config.h