1 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
4 bogus call to CORBA_string_dup(). Also removed unnecessary
5 g_string_dup/g_free calls.
7 2002-09-13 Bill Haneman <bill.haneman@sun.com>
9 * registryd/deviceeventcontroller.c:
10 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
12 * test/event-listener-test.c:
13 main: commented out three redundant listeners, to reduce output
14 noise. (They still are potentially useful for testing).
17 2002-09-13 Michael Meeks <michael@ximian.com>
19 * Update all the copyrights to include Ximian.
21 2002-09-06 Mark McLoughlin <mark@skynet.ie>
23 * cspi/spi.h: add SPI_LAYER_WINDOW.
25 * cspi/spi_component.c: (AccessibleComponent_getLayer):
26 add Accessibility_LAYER_WINDOW case.
28 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
30 * libspi/component.c: (impl_accessibility_component_get_layer):
31 add ATK_LAYER_WINDOW case.
33 2002-08-28 Bill Haneman <bill.haneman@sun.com>
35 * configure.in: incremented micro version.
37 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
39 2002-08-20 Bill Haneman <bill.haneman@sun.com>
42 Clarified and reworded our commit policy.
45 Started an API "todo" addition list for 2.2.
49 Free char pointer from atk_text_get_selection, which was being leaked.
51 2002-08-19 Bill Haneman <bill.haneman@sun.com>
54 Small revision to author acknowledgement.
56 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
58 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
59 If signal has detail add it to the type of the event.
62 2002-08-12 Michael Meeks <michael@ximian.com>
64 * test/test-simple.c (global_listener_cb): bin bogosity.
65 (test_keylisteners): disable, still doesn't work reliably,
66 certainly not on my system anyway.
68 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
69 don't leak a reference on the DEC. This round-trip
70 fetching of the DEC per keystroke sucks, it should be
74 * cspi/cspi-lowlevel.h,
75 * cspi/bonobo/cspi-bonobo-listener.[ch],
76 * cspi/bonobo/cspi-bonobo.c: get the copyright
77 notices better - there is still a large amount of
78 work in at-spi falsely attributed solely to Sun.
80 * cspi/spi_main.c (cspi_object_ref): kill bogus
81 hash lookup, just increment the ref.
82 (SPI_freeString): make explicit the fact that we
83 handle NULL strings just fine.
84 (report_leaked_ref): obey coding standards.
85 (cspi_object_hash, cspi_object_equal): kill retval.
86 (cspi_object_release): only release if not on loan.
87 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
88 (cspi_object_borrow, cspi_object_return): impl.
90 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
91 use cspi_object_borrow / return.
93 2002-08-12 Darren Kenny <darren.kenny@sun.com>
95 * cspi/bonobo/cspi-bonobo-listener.c:
97 Don't call cspi_oject_new() because this is creating a new Accessible
98 every single time that an event is fired. This causes ATs like at-poke
99 to nolonger recognise the source of the event and thus ignore it.
100 Re-use the object from the cache, ref it and then unref it after the
101 listeners have been called.
103 2002-08-06 Darren Kenny <darren.kenny@sun.com>
105 * test/event-listener-test.c:
106 Added command-line options to disable mouse events (m) and
109 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
111 * configure.in: Update required versions of ATK, GTK+ and GAIL
113 * cspi-1.0.pc.in: Add dependency for X include files
116 * cspi/bonobo/Makefile.am:
117 Add $(X_CFLAGS) so that X include files
118 are picked up even if not in standard place (bug #71686)
120 2002-06-25 Bill Haneman <bill.haneman@sun.com>
122 * registryd/deviceeventcontroller.c: fix for 84261
123 (spi_dec_mouse_moved):
124 Added test of mouse button mask, so that we can detect mouse
125 button release. Unfortunately we can't otherwise detect mouse
126 button release events without consuming the mouse press event,
127 because of the way XGrabButton works. This means that our mouse
128 release events have a latency dependent on the polling period
129 while the mouse button is down. At least in this case we only
130 have to poll while the button is down, and not at other times.
131 If the button masks don't match with what the last press event
132 reported, we report the appropriate button release event.
133 (spi_dec_ungrab_mouse):
134 New method (not yet called).
135 (spi_device_event_controller_forward_mouse_event):
136 New method, sends mouse press event from GdkFilter.
137 (spi_dec_init_mouse_listener):
138 Added code to call XGrabButton, redirecting mouse button events to
139 the root window and our Gdk event loop.
141 Added code to filter mouse button events, and reordered.
143 * test/event-listener-test.c:
145 Added registration for mouse events of type "mouse:button".
147 2002-06-25 Bill Haneman <bill.haneman@sun.com>
149 * registryd/deviceeventcontroller.c: partial fix for 84261
150 (spi_dec_poll_mouse_idle):
151 New method, a timeout which checks to see if the mouse
153 (spi_dec_poll_mouse_moving):
154 A timeout to be called when mouse motion is underway.
155 (spi_dec_poll_mouse_moved):
156 A method which fires an event if the mouse has moved, and reports
157 whether or not it did so.
158 (spi_dec_init_mouse_listener):
159 A method which sets up the timeouts above.
160 (spi_device_event_controller_new):
161 Now calls spi_dec_init_mouse_listener.
163 * registryd/registry.c:
165 Now we initialize the device event controller when the registry is
166 initialized, instead of waiting until a client has requested a key
167 event notification; this is because we need the event controller
168 for mouse events, but the mouse event registration API is a
169 "registry" call and doesn't explicitly call the
170 deviceeventcontroller.
171 We now report mouse motion events with a 100 ms idle latency and
172 a 20 ms granularity when motion is in progress.
174 * test/event-listener-test.c:
176 We now register the "detail listener" for events of type
177 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
178 delivered only for the first mouse event received, and thereafter
179 "mouse:abs" events are delivered.)
181 * cspi/spi_registry.c:
182 DOCS: Documented the above mouse event typestrings.
184 2002-06-21 Bill Haneman <bill.haneman@sun.com>
186 Happy Summer Solstice...
188 * registryd/deviceeventcontroller.c: [fix for bug 84100]
189 (spi_controller_notify_keylisteners):
190 Changes to remove a listener from the listener list, freeing its
191 open keygrabs, if a notification to that listener fails. This
192 means that although a dead listener can continue to hold a passive
193 keygrab, a maximum of one dispatch to such a listener can fail
194 before the listener is removed from the list, thus the keygrab
195 will be released on the next occurrence.
197 (spi_notify_keylisteners):
198 Renamed to spi_controller_notify_keylisteners, as the controller
199 instance must now be passed as an argument.
200 The copied 'notify' GList is now a list of DEControllerKeyListener
201 objects, since we need more than just the CORBA reference if a
202 notify fails and we need to deregister the listener.
203 (impl_notify_listeners_sync):
204 (impl_notify_listeners_async):
205 (spi_device_event_controller_forward_key_event):
206 Modify use of notify_keylisteners in accordance with above
208 (spi_deregister_controller_key_listener):
209 New method introduced by refactoring, from
210 impl_deregister_keystroke_listener.
211 (impl_deregister_keystroke_listener):
212 Call spi_deregister_controller_key_listener.
213 (spi_key_listener_clone):
214 New method to copy a key listner without doing a 'ref' on the
215 remote object instance; used to create a notifier list.
216 (spi_key_listener_data_free):
217 New method, frees data without unreffing the source.
219 (spi_key_listener_clone_free): new method.
220 (spi_key_listener_free):
221 refactored to call spi_key_listener_data_free.
223 2002-06-20 Bill Haneman <bill.haneman@sun.com>
225 * registryd/registry.c: [fix for bug 86048]
226 (notify_listeners_cb):
227 Clear CORBA system exceptions which occur when notifying
228 listeners, before returning to the source of the original event,
229 since the event source doesn't care if the relayed notify failed.
230 In other words, don't complain to the atk-bridge if the registry
231 could not notify all its listeners, that's no fault of the
232 application and thus should not appear to be an error from the
233 application's perspective.
235 * cspi/spi_main.c: [fix for bug 85980]
237 Replaced use of bonobo_object_dup_ref with call to the wrapper
238 method, csou_dup_ref (); this silences a compiler warning and
239 provided more portability.
241 Ping the registry before return, and restart if necessary.
243 * cspi/bonobo/cspi-bonobo.c:
247 Fixed this method to return an object reference, as it should have
250 * cspi/cspi-lowlevel.h:
251 Added internal definition for cspi_ping() and fixed
252 return type of cspi_dup_ref().
255 2002-06-19 Bill Haneman <bill.haneman@sun.com>
257 * atk-bridge/bridge.c: [fix for bug 85305]
258 (spi_atk_bridge_register_application):
259 New method where the initial application registry calls have been
260 moved; it allows an application to re-register in response to
261 certain error conditions (such as a registry restart, see below).
263 Moved some initialization code to the method
264 spi_atk_bridge_get_registry, below.
265 (spi_atk_bridge_get_registry):
266 New, private accessor function for the Accessibility_Registry
267 instance. If the registry has not been started before, or has
268 died (as detected by failure of a CORBA exception), it is
269 restarted before return, and spi_atk_bridge_register_application
270 is called again to register with the new bridge instance.
271 (spi_atk_emit_eventv):
272 Set registry_died on error; use spi_atk_bridge_get_registry () to
275 * registryd/registry.c:
276 (impl_accessibility_registry_register_global_event_listener):
277 Set listener's event_type_quark to etype.minor instead of
278 etype.major (fix for bug 84856).
280 * test/event-listener-test.c:
281 (report_detail_event):
282 Change the output string so that user/tester can tell that the
283 'detail listener' was called instead of the 'generic listener'.
285 2002-06-18 Bill Haneman <bill.haneman@sun.com>
287 Fixes for bugs 84900, 84908, 84897, 84898.
292 Revved version to 1.1.0
293 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
294 version is going to HEAD which will be used for gnome-2-0-1 and later.)
296 * idl/Accessibility_Registry.idl:
297 (EventListener::notifyEvent):
298 Removed 'oneway' directive after extensive consulation with
299 ORBit2 team and others. This means also that unref() of the event
300 source can and should be done synchronously after emission, rather
301 than remotely in the client, after servicing the notify call on
304 NOTE: This change speeds up listener performance considerably, but
305 introduces new latency on the application side. We may want to
306 add an event queue to the atk-bridge.
308 * atk-bridge/bridge.c:
309 (spi_atk_bridge_focus_tracker):
310 Do a local unref() on the event source after emission.
312 * registryd/registry.c:
313 (desktop_remove_application):
314 Do an unref() on the event source after emission.
315 (desktop_add_application):
316 Do an unref() on the event source after emission.
317 (notify_listeners_cb):
318 When relaying an event, don't automatically add the event source
319 to the local object cache, just CORBA_dup it instead. Likewise,
320 if this method reenters, release the ref rather than calling
322 (impl_registry_notify_event):
323 No longer call remote unref() on the event source after dispatch.
325 * libspi/eventlistener.c:
326 (impl_accessible_event_notify_event):
327 Removed remote unref ()
329 * cspi/bonobo/cspi-bonobo-listener.c:
331 We now call cspi_object_new() instead of cspi_object_add() on
332 receipt of an event; thus we only have an implicit object ref
333 while the cspi_event method is being executed. If we need to keep
334 a reference to the object, the listener must call ref() on the
335 object. Thus also we don't need to call cspi_object_unref() after
336 invoking the listener callbacks in this method.
340 New internal API for creating a new cspi object, without adding it
343 Now uses cspi_object_new() to create the cspi object instance.
345 Now checks to see if the object is in the internal object cache,
346 and adds it if necessary before incrementing its refcount (note
347 that new objects are added with a refcount of 1).
349 New method which gives some information on leaked object instances
350 if leak detection is turned on.
352 * test/event-listener-test.c:
354 New method, used for testing event delivery timing for special
355 events of type "object:test". It reports elapsed time and
356 events/sec every 500 events.
358 Added a new listener, 'test listener', to check timing of event
359 receipt as noted above.
361 Added some timing output here also, reports elapsed time every 100
364 * test/stress-test.c:
365 Emit events of type "object:test", for use with "event-listener-test".
367 * test/test-simple.c:
368 (global_listener_cb):
369 Call Accessible_ref() on the event source before calling
370 validate_accessible, since the validation process does pointer
371 comparisons on the event source, meaning that the event source
372 needs to be added to the local object cache first. Any use of
373 such pointer comparisons between Accessible objects requires that
374 the caller hold an explicit reference to those objects.
375 We also must therefore call Accessible_unref() when leaving this method.
377 2002-06-13 Bill Haneman <bill.haneman@sun.com>
379 * registryd/deviceeventcontroller.c:
380 (spi_controller_update_key_grabs):
381 Fix for #84735, subsequent keygrab listeners not informed of
382 registration failure.
385 (spi_base_construct):
386 Add an assertion on construct, to make sure the GObject passed in
389 Explicitly initialize object->gobj pointer to NULL;
391 * cspi/bonobo/cspi-bonobo-listener.c:
392 (cspi_object_add_ref):
393 New method, can specify whether to dup-ref a bonobo object passed
394 in if it's newly added to the object cache.
396 Now calls cspi_object_add_ref with second param of "FALSE". This
397 prevents us from doing a pointless dup-ref followed by
398 release-unref for all those cases where the object is already in
399 our object cache (fix for #85205).
401 * atk-bridge/bridge.c:
402 (spi_atk_bridge_idle_init):
403 Removed this method, we don't need to initialize in an idle
406 Changed to call spi_atk_register_event_listeners directly, not via an
407 idle handler. (fix for #81139)
408 (gnome_accessibility_module_shutdown):
409 Removed conditional around deregistration of listeners, since we
410 don't use the idle handler and thus have always registered when
412 (spi_init_keystroke_from_atk_key_event):
413 Changed references to Accessibility_KEY_PRESSED to
414 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
416 2002-06-12 Bill Haneman <bill.haneman@sun.com>
418 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
423 * test/stress-test.c:
426 (may have been an incomplete commit yesterday?)
428 2002-06-12 Bill Haneman <bill.haneman@sun.com>
431 Added target for new stress-test.
433 * test/stress-test.c:
434 New test, sends 1000 focus notifies in quick succession.
436 * test/key-listener-test.c:
437 Now we report whether a keylistener registration
438 request succeeded or failed.
440 * test/event-listener-test.c:
441 Uncommented some listeners which are now implemented.
444 2002-06-06 Bill Haneman <bill.haneman@sun.com>
446 * registryd/deviceeventcontroller.c:
447 (spi_controller_update_key_grabs):
448 Fix for #82509, lack of failure notification when
449 ALL_WINDOWS keygrabs fail due to XGrabKey
450 failure: we synchronize the server when
451 registering a passive grab, to make sure we get the
452 error message before the call returns.
454 2002-06-03 Bill Haneman <bill.haneman@sun.com>
456 * test/test-simple.c:
458 Removed #ifdef KEY_IMPL_WORKS guards.
460 Removed #ifdef KEY_IMPL_WORKS guards.
461 Fixed bug which was causing a hang waiting for a
462 "press" event (which was already overwritten by a "release"
463 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
465 Added code to set globals 'key_press_received' and
466 'key_release_received'.
469 Added section "1.1 API Proposed Additions" which
470 lists API additions desired for at-spi-1.1 (only one so far).
471 Updated TODO list a little.
473 2002-06-02 Bill Haneman <bill.haneman@sun.com>
475 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
478 * configure.in: Revved to 1.0.0.
480 * idl/Accessibility_Registry.idl:
481 (registerKeystrokeListener):
482 Added boolean return value.
484 * registryd/registry.c:
485 (notify_listeners_cb): Minor fix to debug output.
487 * registryd/Accessibility_Registry.server.in.in:
488 Revved version number in OAFIID to 1.0.
490 * registryd/registryd.c:
492 Use new OAFIID version.
494 * cspi/bonobo/cspi-bonobo.c:
496 Use new OAFIID version.
502 * atk-bridge/bridge.c:
504 Use new OAFIID version.
506 * registryd/deviceeventcontroller.c:
507 (impl_register_keystroke_listener):
508 Added CORBA_boolean return value.
509 (spi_controller_register_device_listener):
510 Added gboolean return value.
511 (spi_controller_register_global_keygrabs):
512 Added gboolean return value.
513 (spi_key_set_contains_key):
514 Added implementation for many more control keys,
515 for instance F1-F12, arrow keys, End, Home, Page_Up,
517 [TODO: some still not implemented].
519 * text/screen-review-test.c:
520 (text_chunk_pad_string):
521 New function: it provides mapping between coordinate
522 positions of text chunks and character positions in the
523 screen-review-line output string.
524 (text_chunk_to_string):
525 New function, calls text_chunk_pad_string with various
526 pad/delimiter characters. Pushbuttons are delimited with
527 square brackets, Frames with vertical 'pipe' lines, and
528 other text with double quotes.
529 (text_chunk_list_to_string):
530 Calls new function text_chunk_to_string.
531 (toplevel_composite):
532 New function to composite layers CANVAS through
533 POPUP in each toplevel (other layers are composited
534 across toplevels, i.e. BACKGROUND and OVERLAY).
535 (review_buffer_composite):
536 Revise to use new methods.
542 2002-05-31 Laszlo Peter <laca@sun.com>
544 * configure.in: add the Xtst libdir to the runpath on Solaris,
545 since it's not in the default library search path.
547 2002-05-29 jacob berkman <jacob@ximian.com>
549 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
551 2002-05-29 Bill Haneman <bill.haneman@sun.com>
553 * test/screen-review-test.c:
554 (text_chunk_pad_string):
555 Added method, which pads the string according to the
556 text bounds of the chunk. It also takes a 3-character
557 string as a param which indicates the characters to be
558 used for start, padding, and end delimitation of the chunk.
559 (text_chunk_to_string):
560 Changed to use text_chunk_pad_string.
562 * configure.in: Fixed bug in AC_OUTPUT that was
563 causing path substitution in Accessibility_Registry.server
566 2002-05-23 Bill Haneman <bill.haneman@sun.com>
568 * text/screen-review-test.c:
570 New method which attempts a best-guess at clipping
571 text from components (like Java labels) which don't
572 actually implement AccessibleText. This inaccurate
573 clip is based on the assumption that the label is
574 justified left-and-right, and monospaced.
575 (text_chunk_get_clipped_string):
576 We now call guess_string_clip() for text-containing
577 components that don't implement AccessibleText.
579 * test/screen-review-test.c:
580 (review_buffer_get_text_chunk):
581 We now pull "name" from labels if they do not implement
582 AccessibleText (i.e. for Java labels).
583 (get_screen_review_line_at):
584 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
587 Replaceded AC_OUTPUT target
588 registryd/Accessibility_Registry.server with
589 registryd/Accessibility_Registry.server.in.
591 * registryd/Accessibility_Registry.server.in:
592 Removed (this is now a Makefile target).
594 * registryd/Accessibility_Registry.server.in.in:
595 Added (source for target above). We now use $(libexecdir) as
596 prefix for the executable at-spi-registryd.
598 * registry/Makefile.am:
599 Now install at-spi-registryd into $(libexecdir), and build .server
600 file with path (see above).
602 2002-05-22 Bill Haneman <bill.haneman@sun.com>
604 * test/screen-review-test.c:
605 (text_chunk_get_clipped_string):
606 We now check to see if words fall within clip bounds
607 before resorting to character-by-character clip bounds testing.
609 * TODO: Added a section for "2.2 Proposed API Additions".
611 2002-05-21 Bill Haneman <bill.haneman@sun.com>
613 * test/screen-review-test.c:
615 Added a screen review benchmarking and test program to test
618 * cspi/spi_accessible.c:
620 Made some of the debug strings passed to cspi_check_ev a
621 little more specific.
623 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
625 * test/screen-review-test.c: Fix crashes in debug statements
627 2002-05-20 Bill Haneman <bill.haneman@sun.com>
629 * test/screen-review-test.c: Added this file.
631 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
633 * atk-bridge/bridge.c: changed "object:state-change" to
634 "object:state-changed" to match docs.
636 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
638 * atk-bridge/bridge.c: Hooked up state-change event details.
640 2002-05-11 Bill Haneman <bill.haneman@sun.com>
642 * registryd/registry.c:
643 Fixed quarking bug in event string parsing; now events with
644 detail parameters get matched correctly to listeners.
647 * util/idl/Magnifier.idl: remove.
649 * util/*.[ch]: Remove.
650 Magnification utilities and IDL are now in module gnome-mag.
652 2002-05-10 Bill Haneman <bill.haneman@sun.com>
654 * registryd/deviceeventcontroller.c:
655 Fixed bug in grab key conversion which was causing keycode grabs
656 to be converted to AnyKey grabs.
659 updated NEWS file to reflect recent spin-off of gnome-mag.
661 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
663 * cspi/spi_accessible.c: Added exception checks. Fixed completely
664 busted AccessibleStateSet_compare. Removed redundant casts.
666 * cspi/spi-action.c: Removed redundant casts.
668 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
670 * cspi/spi_component.c: Fixed typos and casting error.
672 * cspi/spi_editabletext.c: Removed redundant casts.
674 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
676 * cspi/spi_hypertext.c: Eliminated redundant casts.
678 * cspi/spi_image.c: Eliminated redundant casts.
680 * cspi/spi_registry.c: Eliminated redundant casts.
681 SPI_deregisterGlobalEventListenerAll () removed retval variable.
682 * cspi/spi_selection.c: Removed redundant casts.
683 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
684 handling. Screen geometry and text offsets were being returned as 0
685 on error which is technically valid-- changed these to return -1.
686 Added marshaller for text boundary types to fix bug with boundary
687 types being passed incorrectly to atk.
689 2002-05-09 Bill Haneman <bill.haneman@sun.com>
692 * cspi/spi_registry.c:
693 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
694 which was uncovered by the recent key changes.
696 2002-05-09 Bill Haneman <bill.haneman@sun.com>
698 * test/event-listener-test.c:
700 Added new test, "event-listener-test";
701 this code does two things; it benchmarks traversal time
702 for the accessible hierarchy for the first running accessible
703 app, and it connects listeners for all supported event types.
704 It is thus useful as an example event listener and for
705 diagnostics/debugging of event generation.
707 2002-05-08 Bill Haneman <bill.haneman@sun.com>
710 Removed unnecessary dependency on libutil.
713 Revved micro version: 0.13.1
715 2002-05-08 Bill Haneman <bill.haneman@sun.com>
718 Removed util/Makefile from targets.
721 Removed util subdir from SUBDIRS (temporarily,
722 pending removal of magnifier-only code
726 #ifdef-ed out magnifier dependencies, since
727 magnifier IDL, headers, and binary now live in
728 module gnome-mag and we don't want at-spi to depend
729 on gnome-mag. A magnifier demo which can run alongside
730 simple-at is forthcoming in the gnome-mag module.
732 NOTE: Split magnifier binary, IDL, and magnification
733 activation code from at-spi into module gnome-mag.
735 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
737 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
738 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
740 2002-05-03 Bill Haneman <bill.haneman@sun.com>
743 Revved to version 0.13.0
745 * idl/Accessibility_Registry.idl:
746 Changed definition of KeySet from sequence of longs to sequence of
747 KeyDefinitions, and added KeyDefinition struct.
748 Required for fix to bug 80616.
750 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
751 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
752 to use new definition (see above).
754 * registryd/deviceeventcontroller.c: handle_keygrab(),
755 spi_keyset_contains_key():
756 Changed to make use of new struct; this allows matching based on
757 string key-name, for instance "Tab". This also allows matching of
758 composed characters, non-alphanumeric characters in a way that
759 doesn't involve dependencies on X keysym codes directly, etc.
761 * test/key-listener-test.c:
762 Added test for Alt-Tab key using "string" specification of keyset,
763 and modified one of the tests to use a keycode-based keyset.
764 Thus this test both tests and demonstrates the creation and use of
765 keysets of three forms: specified via keycode array,
766 keysym array, and string array. (The string case only contains a
767 single string, i.e. a string array of length 1).
770 Turned on PRINT_TREE option by default. Also fixed a
771 string-freeing bug in the PRINT_TREE code.
772 Added a listener to window:minimize events.
774 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
776 * atk-bridge/bridge.c:
777 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
778 for window:activate and window:deactiveate
779 (atk_bridge_property_event_listener atk_bridge_signal_listener
780 atk_bridge_window_event_listener) Tidy debug code
782 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
784 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
785 Fixed handling for NULL return value from ATK.
787 * libspi/action.c libspi/component.c libspi/editabletext.
788 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
789 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
790 Removed redundant casts.
792 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
793 Fixed off by one bug.
795 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
796 function not present in idl)
798 2002-05-02 jacob berkman <jacob@ximian.com>
800 * atk-bridge/Makefile.am: make atk-bridge a real module
802 2002-04-26 Radek Doulik <rodo@ximian.com>
804 * libspi/stateset.c (spi_init_state_type_tables): fix size of
805 atk_state_types table
807 2002-04-22 jacob berkman <jacob@ximian.com>
810 * libspi/Makefile.am: add deps on the built files to help
811 automake, and don't version the ORBit typelib
813 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
815 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
816 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
817 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
818 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
819 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
820 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
821 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
822 libspi/accessible.h libspi/accessible.h libspi/base.h
823 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
824 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
825 libspi/relation.h libspi/remoteobject.h libspi/selection.h
826 libspi/spi-private.h libspi/statetset.h libspi/table.h
827 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
828 util/mag_client.h util/mag_control.c util/mag_image.c
829 util/mag_image.h util/magnifier.c util/magnifier.h:
830 Add missing file headers; standardize existing ones
832 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
834 * atk-bridge/bridge.c: Added window event support.
836 2002-04-18 Michael Meeks <michael@ximian.com>
838 * libspi/relation.c (impl_getNTargets): impl.
839 (impl_getTarget): impl.
841 * libspi/Makefile.am: fix stateset install.
843 2002-04-17 Bill Haneman <bill.haneman@sun.com>
846 Started putting useful info in this file.
848 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
850 * atk-bridge/bridge.c:
851 Propagate state-changed notifications to ATs
853 * cspi/spi_registry.c: update docs to reflect actual behavior of
856 2002-04-17 Bill Haneman <bill.haneman@sun.com>
859 Incremented version to 0.12.1
862 Add missing declaration for magnifier_exit,
863 used by mag_control.c - Forte compiler didn't like
864 the implicit redeclaration of the function :-(
867 2002-04-16 Bill Haneman <bill.haneman@sun.com>
870 Revved version to 0.12 due to API change (see below).
872 * cspi/spi-roletypes.h:
873 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
874 definition from the inline docs, and added docs
875 for SPI_ROLE_LAST_DEFINED.
878 * cspi/spi_streamablecontent.c:
879 Added missing seek_type parameter to
880 (so far unused) method,
881 AccessibleStreamableContent_seek().
882 [ RT approval JodyG. ]
885 Fixed docs for SPI_createAccessibleKeystrokeListener.
887 * cspi/spi_registry.c:
888 Fixed docs for SPI_KEYSET_ALL_KEYS.
890 * docs/reference/cspi/at-spi-cspi-sections.txt:
891 Added a number of missing APIs to SECTIONS.
893 2002-04-16 Bill Haneman <bill.haneman@sun.com>
895 * registryd/Makefile.am:
897 * cspi/bonobo/Makefile.am:
898 Add $(X_LIBS) to makefiles.
900 2002-04-15 Bill Haneman <bill.haneman@sun.com>
903 Revved version to 0.11.
905 * libspi/component.c:
906 Added implementation for grabFocus.
908 * idl/Accessibility_Component.idl
909 (Accessibility_Component_grabFocus):
910 Made this method return boolean to indicate success or failure, to
911 be consistent with cspi and the corresponding ATK method.
913 * idl/Accessibility_Selection.idl
914 (Accessibility_Selection_selectAll) :
915 Made these methods return boolean to indicate success or
916 failure, to be consistent with cspi and the corresponding ATK methods.
918 * idl/Accessibility_EditableText.idl
919 (Accessibility_EditableText_setTextContents,
920 Accessibility_EditableText_insertText,
921 Accessibility_EditableText_cutText,
922 Accessibility_EditableText_deleteText,
923 Accessibility_EditableText_pasteText):
924 Made these methods return boolean to indicate
927 * cspi/spi_editabletext.c:
928 Made these methods return booleans.
930 * libspi/selection.c:
931 * libspi/component.c:
932 * libspi/editabletext.c:
933 Connected the boolean returns from ATK
934 to the server-side code referenced above.
936 2002-04-14 Bill Haneman <bill.haneman@sun.com>
938 * idl/Accessibility_Table.idl: Added missing methods,
939 Accessibility_Table_addRowSelection,
940 Accessibility_Table_addColumnSelection,
941 Accessibility_Table_removeRowSelection,
942 Accessibility_Table_removeColumnSelection.
945 Added C wrappers for above IDL:
946 AccessibleTable_addRowSelection,
947 AccessibleTable_addColumnSelection,
948 AccessibleTable_removeRowSelection,
949 AccessibleTable_removeColumnSelection.
952 Added server-side implementation code for IDL above, connecting
953 to pre-existing ATK api.
955 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
957 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
959 * libspi/accessible.c: Added implementation fo
960 Accessibility_Accessible_get_state.
962 * libspi/libspi.h: Added stateset.h to the list of includes.
964 * libspi/stateset.c: Fixed broken implementation.
966 2002-04-13 Bill Haneman <bill.haneman@sun.com>
969 Added implementation code for Accessibility_Magnifier_exit ().
971 * util/mag_control.c:
972 Added test code for above method; you can
973 now kill an existing magnifier via
974 ./mag_control q, from the util directory.
976 * test/key-listener-test.c:
978 Added a new test, for our key listener API.
980 2002-04-11 Bill Haneman <bill.haneman@sun.com>
982 * test/app.c, test/keysynth-demo.c:
984 Replace use of snprintf with g_snprintf.
985 (fix for bugzilla 78249)
987 2002-03-27 Michael Meeks <michael@ximian.com>
991 * util/Makefile.am (INCLUDES): fix.
992 (DONT_DIST_SOURCE): don't distribute the
995 * libspi/Makefile.am (dist-hook): ditto.
997 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
999 * libspi/hypertext.c:
1000 Fix warnings when yelp is used with atk-bridge
1002 2002-03-21 Michael Meeks <michael@ximian.com>
1004 * libspi/application.c (spi_application_new):
1005 use spi_accessible_construct so we use the AtkObject
1008 2002-03-19 Michael Meeks <michael@ximian.com>
1010 * registryd/registry.c (desktop_remove_application),
1011 (desktop_add_application): clean coding style.
1013 * registryd/desktop.c (spi_desktop_remove_application),
1014 (spi_desktop_add_application): kill re-enterency hazards.
1015 (spi_desktop_dispose): remove bogus redundant cast
1016 obscuring bug; fix bug too.
1017 (spi_desktop_init): make the desktop object immortal.
1019 2002-03-16 Bill Haneman <bill.haneman@sun.com>
1022 Added a #define-guarded tree-traversal step
1023 when enumerating the apps (diagnostic tool).
1025 2002-03-15 Bill Haneman <bill.haneman@sun.com>
1027 * idl/Accessibility_Role.idl:
1028 Added ROLE_DRAWING_AREA which seemed to be missing from the
1031 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1033 * cspi/spi-roletypes.h cspi/spi_accessible.c
1034 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
1037 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
1038 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
1039 AT when applications are added and removed from the desktop. This
1040 reverts the previous broken implementation using the backing
1041 AtkObject for the SpiDesktop.
1043 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1045 * registryd/desktop.c: emit the "children-changed::add" and
1046 "children-changed::remove" signals on the backing ATK object for
1047 the desktop so AT can tell when applications are started and shut
1050 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1052 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
1054 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1056 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
1058 * cspi/spi_accessible.c: Implemented c bindings for stateset support
1060 * cspi/state-types.h: synched with IDL and ATK
1062 2002-03-13 Bill Haneman <bill.haneman@sun.com>
1064 * libspi/accessible.c
1065 (impl_accessibility_accessible_get_child_at_index):
1066 Change return value for g_return_if_fail ()
1067 to CORBA_OBJECT_NIL instead of "0" (!)
1069 * registryd/Makefile.am:
1070 * registryd/Accessibility_Register.server.in:
1071 Changed name of executable, "registryd",
1072 to something more informative:
1075 2002-03-13 Michael Meeks <michael@ximian.com>
1077 * atk-bridge/bridge.c (atk_bridge_init): don't register
1078 if we're in a bonobo-component, rather than a bonobo app.
1080 2002-03-13 Michael Meeks <michael@ximian.com>
1082 * atk-bridge/bridge.c (gtk_module_init): split
1083 out body to (atk_bridge_init): here, since otherwise
1084 we get symbol conflicts and oddness when invoked
1085 from (gnome_accessibility_module_init): here (upd.)
1087 2002-03-11 Bill Haneman <bill.haneman@sun.com>
1090 New file. Explicitly allow "build sheriff" putbacks provided
1091 they are tested on Solaris.
1093 * docs/reference/cspi/Makefile.am:
1094 Added '-' to the "cp" command for index.sgml.
1095 ("patch by thomasvs, soon coming to a GUADEC near you")
1098 Incremented version number (0.9.0) for new release.
1099 Changed macro that checks for popt, to better detect
1100 obsolete versions of popt.
1103 Added X_LIBS to AC_SUBST, for applications
1104 that call Xlib API directly.
1107 2002-03-07 Bill Haneman <bill.haneman@sun.com>
1110 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
1113 Fix regression caused by hard-coding major
1114 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
1117 * test/test-simple.c (test_editable_text),
1118 (test_test): revert previous change (error was
1119 a regression in gail which is now fixed).
1121 2002-03-04 Michael Meeks <michael@ximian.com>
1123 * test/test-simple.c (test_editable_text),
1124 (test_text): pass G_MAXINT instead of '-1' for
1125 whole string - is this a good thing !?
1127 * cspi/spi_accessible.c
1128 (Accessible_getRelationSet): fix crasher bug
1129 overwriting the end of the array.
1131 * test/test-simple.c (validate_accessible): free,
1132 not g_free returned relation set.
1134 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
1136 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
1137 implemented stateset support
1139 * idl/Accessibility_State.idl: Made necessary changes to
1140 the IDL to support state sets.
1142 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1144 * registryd/deviceeventcontroller.c:
1145 Added implementation for generateMouseEvent.
1147 * cspi/spi_registry.c:
1148 Connected new implementation for generateMouseEvent
1151 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1154 Incremented revision (but no change in public API
1155 outside of 'utils', which are not installed public yet.)
1157 * libspi/component.c:
1158 Changed to use atk_component API for layers and
1159 mdi_zorder, instead of deprecated atk_object API.
1161 Magnification Utility Enhancements:
1164 Added implementation of createZoomRegion, clearAllZoomRegions,
1165 resizeZoomRegion. Added new commandline argument
1166 "--no-initial-region". Note that clearAllZoomRegions doesn't
1167 unmap the old '0' region as it should (yet), and the other
1168 methods only work when creating/resizing a single region,
1169 which is "region 0".
1170 (Code for multiple region support will be added later.)
1173 Now we raise the magnifier window each time it's refreshed;
1174 this will help keep it on top.
1176 * util/mag_client.h:
1177 Added simple wrappers for above, used by mag_control.
1178 For general use, it's recommended to use the bonobo magnifier
1179 control API directly instead of using these wrappers.
1182 Moved ZoomRegionData from magnifier.c to this file.
1184 * util/mag_control.c:
1185 Added some code to exercise new IDL implementations.
1187 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
1189 * libspi/text.c: Provide implementation for getAttributes.
1191 2002-02-04 Bill Haneman <bill.haneman@sun.com>
1194 Incremented revision.
1196 * test/test-simple.c:
1197 Replaced use of deprecated g_main_iteration with
1198 g_main_context_iteration.
1200 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
1203 Incremented revision for desktop alpha 2.
1205 2002-01-28 Mark McLoughlin <mark@skynet.ie>
1207 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
1210 * test/simple-at.c: include netinet/in.h.
1212 2002-01-24 Mark McLoughlin <mark@skynet.ie>
1214 * cspi/spi_accessible.c: (Accessible_getRelationSet):
1215 use NULL, not CORBA_OBJECT_NIL.
1217 * libspi/accessible.c:
1218 (impl_accessibility_accessible_get_relation_set):
1219 allocate the sequence correctly.
1221 * libspi/remoteobject.h: kill spi_remote_object_new.
1223 * test/test-simple.c: (validate_accessible): add code
1224 to test relation sets, now all we need is to figure
1225 out how to excercise this code path :/
1227 2002-01-18 Michael Meeks <michael@ximian.com>
1229 * test/test-simple.c
1230 (key_listener_cb): consume the key.
1231 (test_keylisteners): update.
1232 (main): wait for any pending unrefs on events.
1234 * registryd/deviceeventcontroller.c
1235 (spi_controller_update_key_grabs): only re-issue the
1236 grab on a key release.
1237 (spi_device_event_controller_forward_key_event):
1238 refresh the keygrabs before we notify the listeners,
1239 to reduce the X ungrab / re-grab race.
1240 (spi_controller_register_with_devices): remove
1241 XSelectInput - we do that with the gdk_window_ call.
1242 (_spi_controller_device_error_handler): return a value.
1243 s/GDK_DISPLAY/spi_get_display/
1245 2002-01-17 Michael Meeks <michael@ximian.com>
1247 * registryd/deviceeventcontroller.c
1248 (_deregister_keygrab): don't blow out the later
1251 * test/test-simple.c (test_keylisteners): do a
1252 more intelligent validation.
1254 2002-01-14 Michael Meeks <michael@ximian.com>
1256 * atk-bridge/bridge.c
1257 (gnome_accessibility_module_init),
1258 (gnome_accessibility_module_shutdown): impl.
1259 (gtk_module_init): protect vs. double inits.
1260 (add_signal_listener): impl.
1261 (spi_atk_bridge_state_event_listener): kill
1262 (deregister_application): split out of
1263 (spi_atk_bridge_exit_func): here.
1265 2002-01-18 Bill Haneman <bill.haneman@sun.com>
1268 Added caret tracking when using magnifier, and
1269 now use text bounds for focus tracking of text elements, rather than
1270 the component bounds - this is helpful for short text fields in long
1271 table cells, at high magnification.
1273 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1275 * registryd/deviceeventcontroller.c:
1276 Regression fix for keylistener de-registration; global keygrabs
1277 were not being released when deregisterKeystrokeListener was
1278 called in cspi, since
1279 Accessibility_DeviceEventController_deregisterKeystrokeListener
1280 was called with a zero-length keyset. That is because the cspi
1281 method, SPI_deregisterKeystrokeListener, does not take a keyset
1282 parameter but instead should remove all the key grabs held be a
1284 The code in impl_deregister_keystroke_listener was changed to copy
1285 the keylist from the listener instance previously registered with
1286 the DeviceEventController before releasing the grabs.
1288 * registryd/registry.c:
1289 * registryd/deviceeventcontroller.c:
1290 * libspi/spi-private.h:
1292 Changed spelling of "re-enterant" to "re-entrant" globally.
1294 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1296 * test/test-simple.c:
1297 Changed key listeners test - the test was slightly mis-using the
1298 (admittedly poorly documented) SPI_generateKeyboardEvent API.
1299 It now uses '=' as the key event listened to and generated,
1300 relying on a keysym match rather than assuming that keycode 33
1301 is always equal to keysym '!'.
1303 2002-01-15 Bill Haneman <bill.haneman@sun.com>
1306 Changed simple-at to use a specific keyset, rather than
1307 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
1308 manager, desktop, etc.
1310 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1312 * registryd/deviceeventcontroller.c:
1313 Replaced standard X error handler with a special handler that
1314 is non-fatal for failed keygrabs. This works around
1315 problems with keygrab clashes sometimes observed on
1317 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
1318 mouse handling code as yet).
1320 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1323 Incremented revision for desktop alpha release.
1326 Fixed a couple of the more glaring errors (still not
1329 2002-01-11 Michael Meeks <michael@ximian.com>
1331 * registryd/deviceeventcontroller.c
1332 (spi_device_event_controller_forward_key_event): kill
1333 XUngrabKey / XKeyGrab race.
1334 (spi_controller_grab_keyboard): rename to
1335 (spi_controller_update_key_grabs): this, and deal
1336 with incremental adding / removing grabs more
1338 (_register_keygrab): ensure we're not pending a remove.
1339 (spi_grab_mask_free): impl.
1340 (spi_controller_register_global_keygrabs): split out
1342 (handle_keygrab): impl.
1343 (_deregister_keygrab): impl.
1344 (spi_controller_deregister_global_keygrabs): impl.
1345 (spi_controller_update_key_grabs): re-issue the grab if
1346 we just recieved a notification.
1348 * test/test-simple.c (key_listener_cb): remove debug.
1350 * registryd/deviceeventcontroller.c
1351 (spi_controller_register_device_listener): after
1352 registering a global keygrab, actualy register it !
1353 don't wait for a timeout; doh !
1355 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
1356 to make it more readable / manipulable.
1357 s/grabmask/grab_mask/ s/refcount/ref_count/
1358 s/keyval/key_val/ s/modmask/mod_mask
1360 2002-01-08 Michael Meeks <michael@ximian.com>
1362 * registryd/deviceeventcontroller.c
1363 (spi_controller_register_with_devices): use gdk calls to
1365 (global_filter_fn): implement the filter.
1366 (spi_device_event_controller_check_key_event): rename to
1367 (spi_device_event_controller_forward_key_event): this & upd.
1368 (spi_get_display): replace with GDK_DISPLAY.
1370 * registryd/deviceeventcontroller.c
1371 (spi_controller_deregister_device_listener): unroll into
1372 (impl_deregister_keystroke_listener): here to simplify.
1373 (spi_controller_register_global_keygrabs): split cut and
1374 paste (!) out into (_register_keygrab): here, shorter & sweeter.
1375 (spi_controller_deregister_device_listener): remove.
1376 (impl_register_mouse_listener): remove, no mouse listener
1377 support in at-spi-1.0
1379 * registryd/registry.c
1380 (_device_event_controller_hook): kill.
1381 (spi_registry_init): upd.
1383 * registryd/deviceeventcontroller.c
1384 (spi_device_event_controller_class_init): upd.
1385 (spi_check_key_event): merge into.
1386 (spi_device_event_controller_check_key_event):
1387 here and kill strange static ev init, don't leak
1388 the x_event - nor dynamicaly allocate it.
1390 * registryd/registry-main.c (main): re-direct
1391 timeout to remove strange vtable mess.
1393 * registryd/deviceeventcontroller.c
1394 (remove_listener_cb): impl.
1395 (spi_controller_deregister_device_listener):
1396 fix re-enterancy hazard.
1398 2002-01-07 Michael Meeks <michael@ximian.com>
1400 * registryd/deviceeventcontroller.c
1401 (spi_device_event_controller_new): upd.
1402 (impl_notify_listeners_sync): upd. debug.
1403 (spi_notify_keylisteners): fix re-enterancy hazards,
1404 prettify, remove O(n*n) iteration.
1405 (spi_controller_grab_keyboard): fix iteration.
1406 (spi_check_key_event): re-format to suit coding style.
1407 Clean all the warnings - we're warning free.
1409 * registryd/deviceeventcontroller.h:
1410 * registryd/registry.h: make mutualy referential with
1411 typesafe forward references instead of (!) void pointer
1414 2002-01-11 Michael Meeks <michael@ximian.com>
1416 * cspi/spi_accessible.c (role_names): add a role name
1417 to sync this array with the enum; and make the regression
1420 2002-01-10 Michael Meeks <michael@ximian.com>
1422 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
1423 allow expansion of enumeration & kill warning.
1425 * test/test-simple.c (key_listener_cb): impl.
1426 (test_keylisteners): impl.
1428 * cspi/spi-listener.h: make listener signatures const
1429 on the provided (const) events.
1431 * test/keysynth-demo.c: upd. to const events.
1433 * test/simple-at.c: ditto.
1435 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1438 Rev the version to 0.5 (the previous tarball was named 0.4,
1439 even though the micro number was 3), so we need to rev upwards
1440 again for beta2/"desktop-alpha"
1443 Checked in a demo script, which requires editing before use!
1444 Proceed with caution.
1447 Fixed typo in header which was redefining SPI_ACTION_CLASS.
1449 * cspi/spi_accessible.c:
1450 Add a couple of missing enum initializations, and fix some enum
1453 * cspi/spi_registry.c:
1454 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
1456 * docs/reference/cspi/at-spi-cspi-sections.txt:
1457 Remove/fix a couple of broken document references.
1460 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
1461 as Alt-Control to listen for commands, since on some systems
1462 Control-Alt may already be grabbed.
1464 2002-01-10 Bill Haneman <bill.haneman@sun.com>
1467 Update version number to 0.4 for Beta2.
1469 * libspi/accessible.c, libspi/accessible.h:
1470 Expose spi_accessible_construct, to enable libgail-gnome
1471 construction from spi_accessible subtype.
1473 * utils/magnifier.c:
1474 Workaround for bug in some non-gnome-compliant window managers
1475 which made magnifier resize improperly.
1477 2002-01-09 Bill Haneman <bill.haneman@sun.com>
1479 * libspi/accessible.c: (spi_accessible_new) :
1480 Move the test for SPI_IS_REMOTE_OBJECT to
1481 spi_accessible_new_return, fixing a bug and compile time warning.
1483 2002-01-08 Michael Meeks <michael@ximian.com>
1485 * registryd/registry.c (parse_event_type): remove strndup.
1487 * libspi/Makefile.am (libspi_la_SOURCES): remove
1488 sources already included in the headers section.
1490 * libspi/util.c: add.
1492 * libspi/spi-private.h: add.
1494 * registryd/registry.c: update to moved list iterators.
1496 2002-01-05 Michael Meeks <michael@ximian.com>
1498 * test/simple-at.c (main): upd. auto-module set to atk-bridge
1500 * test/test-simple.c (main): ditto.
1502 2002-01-04 Michael Meeks <michael@ximian.com>
1504 * libspi/accessible.c (spi_accessible_new): remove 2nd,
1505 redundant construct.
1507 * registryd/registry.c
1508 (get_listener_list): impl.
1509 (impl_accessibility_registry_register_global_event_listener):
1510 re-impl. to simplify using ~, remove dodgy const cast off.
1511 (parse_event_type): constify.
1512 (impl_accessibility_registry_deregister_global_event_listener_all):
1513 re-write, more efficiency and simplicity, kill re-enterancy
1515 (compare_listener_corbaref, compare_corba_objects),
1516 (compare_listener_quarks): define out.
1517 (impl_accessibility_registry_deregister_global_event_listener):
1518 re-write for effiency, and nail re-enterancy hazard.
1519 (impl_accessibility_registry_get_desktop_list): impl.
1520 (re_enterant_list_delete_link): impl.
1521 (re_enterant_list_foreach): impl.
1522 (remove_listener_cb): impl.
1523 (_registry_notify_listeners): kill.
1524 (notify_listeners_cb): impl.
1526 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
1527 (SPI_getDesktopList): impl.
1529 * test/test-simple.c (test_desktop): test the methods.
1531 2002-01-03 Michael Meeks <michael@ximian.com>
1533 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
1534 keystrings since we free them
1535 (SPI_freeAccessibleKeySet): in here.
1537 * libspi/accessible.c (spi_accessible_new): kill warning,
1538 wonder what is going on with the constructor here.
1540 2002-03-01 Bill Haneman <bill.haneman@sun.com>
1542 * libspi/accessible.c (spi_accessible_new ()) :
1543 Added check to see if AtkObject is an SpiRemoteObject before
1544 creating an SpiAccessible.
1546 2002-05-01 Bill Haneman <bill.haneman@sun.com>
1548 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
1549 Enable keygrabs using the Control modifier, now that they are
1550 working properly (they were previously disabled).
1553 Change the command keygrab for this demo to "Control+Alt", so as
1554 to conflict with fewer other key commands on the system; this
1555 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
1557 Removed a pointlessly-chatty keylistener for unshifted keys
1558 (shifted keys are still reported).
1560 2002-02-01 Bill Haneman <bill.haneman@sun.com>
1562 * libspi/remoteobject.h:
1563 * libspi/remoteobject.c:
1564 Added definitions for special AtkObject subtype, required for
1565 support of remote components (specifically, used by BonoboControl
1566 accessibility implementation).
1568 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
1570 * cspi/spi.h: synched relation types with ATK
1572 * cspi/spi_accessible.c: Added implementations of
1573 AcccessibleRelation_* methods
1575 * idl/Accessibility_Relation.idl: added getRelationTypeName
1576 method. Synched known relation types with ATK. Allowed for
1577 relation type extension with the RELATION_EXTENDED type.
1579 * libspi/relation.c: Provided implementations for
1580 AccessibleRelation methods.
1582 2002-01-01 Bill Haneman <bill.haneman@sun.com>
1584 API tweaks for today's API 'freeze'.
1587 Added placeholder functions to allow future compatible expansion
1588 of the IDL interfaces.
1590 * idl/Accessibility_Registry.idl:
1591 Changed generateKeyEvent to generateKeyboardEvent. Changed
1592 signature of this method to accept an optional keystring in
1593 parameter (for complex text input synthesis) and changed use of
1594 simple 'boolean' parameter in registerKeystrokeListener to a
1595 struct, EventListenerMode.
1597 * cspi/spi_accessible.c:
1599 * cspi/spi_streamablecontent.c:
1600 Added references to AccessibleStreamableContent interface, and
1601 definition and implementation of AccessibleStreamableContent
1604 * cspi/spi_registry.c:
1606 Changed generateKeyEvent API to generateKeyboardEvent,
1607 taking a new (optional) keystring parameter to support complex
1612 Renamed directory (to better reflect its actual purpose, bridging
1613 from at-spi to ATK). The .so module is also now named
1616 * idl/Accessibility_Hypertext.idl:
1617 * libspi/accessible.c:
1618 * libspi/hypertext.h:
1619 * libspi/hypertext.c:
1620 Changed Accessibility_Hypertext to *not* derive from
1623 * cspi/spi_registry.c:
1624 Added list of legal event type names for 'window' events, which
1625 completes the registry event API.
1627 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
1629 * at-bridge/bridge.c: Added registration for separate
1630 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
1631 signals. If either of the first two parameters to the generic
1632 bridge signal handler are ints, they are passed on as event
1633 details. This allows an AT to determine what text was inserted.
1635 2001-12-21 Bill Haneman <bill.haneman@sun.com>
1637 * registryd/deviceeventcontroller.c:
1638 Fixed regressions in generateKeyEvent caused by the removal of
1639 gdk_init from registryd; we now use pure X calls to connect to the
1640 display, which makes sense because deviceeventcontroller already
1641 uses a fair bit of X API (should eventually be migrated to a
1642 'portability layer').
1644 * registryd/desktop.c:
1645 Fixed minor regression in spi_desktop_init, changed the way the
1646 desktop name is being set to work with new spi_base API
1647 (gobject-based, rather than AtkObject-based).
1649 * registryd/Makefile.am:
1650 Minor revision of makefile to use XTST_LIBS variable rather than
1651 hard-wiring the Xtst LD_ADD element.
1653 * test/keysynth-demo.c:
1654 Tweaked an output message; added initialization of the
1655 'keystrings' member of the "switch listener" key_set.
1657 * libspi/relation.c:
1658 Squashed compile-time warning.
1660 * libspi/accessible.c:
1661 Cosmetic and formatting fixes, renamed a static method.
1663 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
1665 * libspi/accessible.c
1667 * libspi/application.c
1670 * libspi/component.c
1671 * libspi/editabletext.c
1672 * libspi/hyperlink.c
1673 * libspi/hypertext.c
1675 * libspi/selection.c
1679 * registryd/desktop.c:
1680 Changed SpiBase to contain a GObject pointer rather than an AtkObject
1682 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1684 * idl/Accessibility_Registry.idl:
1685 Added boolean member 'is_text' to DeviceEvent. This is for the
1686 use of key events, and helps prevent ambiguity between composed
1687 key strings and keysym names, since both may potentially be
1688 returned in the 'event_string' member.
1690 * at-bridge/bridge.c:
1691 * registryd/deviceeventcontroller.c:
1692 Use the 'is_text' member when notifying device event listeners.
1693 Knon issue: composed characters are not dealt with correctly by
1694 the global key listener implementation yet.
1696 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1698 * at-bridge/bridge.c:
1699 Namespaced local static methods to spi_atk_bridge_* where
1700 previously named bridge_*, and spi_* elsewhere.
1702 * at-bridge/bridge.c:
1703 * cspi/bonobo/cspi-bonobo-listener.c:
1704 Added demarshalling/conversion for string member of
1705 Accessibility_DeviceEvent to AccessibleKeystroke.
1707 * registryd/deviceeventcontroller.c:
1708 Added code to fill the Accessibility_DeviceEvent key string value
1709 member for global key events (i.e. from XGrabKey), to match
1710 behavior of Accessibility_DeviceEvent from the toolkit key events
1711 from the bridge. Fixed timestamp in global key event notifications.
1714 Added printout of key event's string value to
1715 report_ordinary_key_event, for demo/debugging purposes.
1717 2001-12-15 Bill Haneman <bill.haneman@sun.com>
1719 * idl/Accessibility_Registry.idl:
1720 Removed Accessibility_KeyStroke structure in favor of generic
1721 Accessibility_DeviceEvent structure.
1722 Changed Accessibility_ControllerEventMask from a struct to an
1725 * at-bridge/bridge.c:
1726 Changed APIs to use DeviceEvent structure as above, and removed
1727 bogus casting between these event structures.
1729 * cspi/spi-listener.h:
1730 Added keystring member of AccessibleKeystroke structure, to enable
1731 matching on event "names" rather than only hardware codes and
1735 Added keystrings member of AccessibleKeySet struct, to allow
1736 matching on event names (as above).
1737 Added declarations for SPI_createAccessibleKeySet and
1738 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
1739 event modmasks directly as unsigned ints rather than structs with
1740 refcounts, in the DeviceEventController methods.
1742 * cspi/spi_registry.c:
1743 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
1745 * cspi/spi-roletypes.h:
1746 Added documentation of newly added SPI Roles.
1748 * cspi/bonobo/cspi-bonobo-listener.c:
1749 Changes in support of API changes above.
1751 * libspi/accessible.c:
1752 Converted APIs to use DeviceEvent structure (see IDL changes
1755 * registryd/deviceeventcontroller.c:
1756 Added DEControllerGrabMask structure to track keygrabs not only by
1757 modmask but by keyset as well; this allows us to do "global"
1758 (i.e. X) keygrabs on a per-key or keyset basis rather than always
1759 grabbing on AnyKey and then filtering after-the-fact.
1760 Bugfixes for event filtration mean that we don't get false matches
1761 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
1763 * registryd/deviceeventcontroller.c:
1764 Namespaced a number of static methods to use spi_ prefix. Major
1765 revision to internals of global (i.e. X) key grabs.
1767 * registryd/deviceeventcontroller.h:
1768 Removed keymask_list and added keygrabs_list to
1769 SpiDeviceEventController struct.
1772 Added use of SPI_createAccessibleKeySet API when creating a
1773 listener for only one key. Attach a listener to "shift spacebar
1774 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
1775 X key event names to SPI key event names, so that listeners are
1776 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
1778 * test/keysynth-demo.c:
1779 Changed (incorrect) use of X key event names (KeyPressed,
1780 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
1783 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1785 * libspi/accessible.c:
1786 Convert all AtkRole enumerations to Accessibility_Role enums when
1787 getting a role from an AtkObject.
1789 * cspi/spi_accessible.c:
1790 Complete the conversion of Accessibility_Role enums at runtime to
1791 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
1792 role enums correctly match those given in spi-roletypes.h.
1793 Re-synchronize the local names list for AccessibleRole_getName ().
1794 AccessibleRole_getName is now deprecated, since it duplicates the
1795 more reliable Accessible_getRoleName.
1796 Added some role types from Accessibility_Role.idl.
1798 * idl/Accessibility_Role.idl:
1799 Added some role types used by AtkRole.
1801 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1804 * cspi/spi_registry.c:
1806 * cspi/cspi-bonobo-listener.c:
1807 Namespaced all methods that did not begin with an "SPI_" or
1808 "Accessible" prefix to "SPI_".
1811 Homogenized internal function namespace to "cspi_" for statics.
1814 Patched tests to use the new CSPI API.
1816 * docs/reference/cspi/at-spi-cspi-sections.txt:
1817 Updated docs to reflect namespace changes, and added a number of
1818 methods to the documentation.
1820 * registryd/registry.c:
1821 Changed use of strings and string hashes in listener event
1822 matching and parse_event_string to use GQuark, which is guaranteed
1825 * registryd/registry.h:
1826 Squashed annoying warning.
1828 * idl/Accessibility_Role.idl:
1829 Extended range of available Accessibility_Role values.
1831 * cspi/spi_accessible.c:
1832 Re-ordered role names.
1834 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1836 * idl/Accessibility_Value.idl:
1837 Revert use of union back to CORBA_double, since the double type is
1838 more efficient and can contain the other types without loss of
1841 * idl/Accessibility_Accessible.idl:
1842 Added method Accessibility:Accessible:getRoleName, to complement
1843 Accessibility:Accessible:getRole.
1845 * cspi/spi_accessible.c:
1847 Added C binding for above, Accessible_getRoleName (), and changed
1848 signature of Accessible_getRole () to return an AccessibleRole.
1850 * cspi/spi-roletypes.h:
1851 Changed AccessibleRole_getName to return a char * instead of a
1852 const char *. This method is now at least temporarily deprecated
1853 in favor of asking Accessibles for their RoleNames directly.
1856 Revert to match Accessibility_Value.idl;
1860 Change signature of AccessibleValue methods to use double rather
1864 * cspi/spi_accessible.c:
1865 Changed Accessible_getRole to return an AccessibleRole enum rather
1866 than a UTF-8 string. The UTF-8 string can still be obtained via
1867 AccessibleRole_getName ().
1869 * test/test-simple.c:
1870 Add test_action. Small fixup to match API change to Accessible_getRole.
1873 Bugfix for get_action_from_servant ().
1875 2001-12-11 Michael Meeks <michael@ximian.com>
1877 * libspi/libspi.h: remove registry.h and
1878 desktop.h, deviceeventcontroller.h
1880 * libspi/Makefile.am: remove registry.[ch],
1881 desktop.[ch], deviceeventcontroller.[ch]
1883 * registryd/Makefile.am: add registry.[ch],
1884 desktop.[ch], rename registryd.c to registry-main.c.
1885 add deviceeventcontroller.[ch]
1887 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1890 Replace setenv() call with putenv ().
1892 * libspi/component.c:
1893 Bugfix in AccessibleComponent_getExtents (),
1896 2001-12-11 Michael Meeks <michael@ximian.com>
1898 * libspi/image.c (impl_getImageExtents): impl.
1899 (spi_image_class_init): upd.
1902 (AccessibleImage_getImageDescription): fix daft bug
1905 * test/test-simple.c (global_listener_cb): update
1906 to only quit if not --poke
1907 (main): catch --poke.
1908 (validate_accessible): upd. dumping, call test_image
1911 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1914 * idl/Accessibility.idl: update all IDL includes.
1916 * idl/*.idl - rename to namespace - this sucks, blame
1917 mjs' bad decision for oafd.
1919 * test/test-simple.c (create_test_window): add more tests.
1920 (create_tree): split this out.
1921 (validate_accessible): bugfix.
1923 2001-12-11 Michael Meeks <michael@ximian.com>
1925 * cspi/bonobo/cspi-bonobo-listener.c:
1926 (cspi_kestroke_listener_unref),
1927 (cspi_event_listener_unref): impl. undoing previous
1928 homenous environment - for Bill.
1930 * cspi/spi_table.c (long_seq_to_array): use
1933 * cspi/spi_main.c: split out all bonoboish bits into
1936 * cspi/spi-impl.h: upd. typedefs.
1938 * cspi/spi_registry.c: update to lowlevel API,
1939 return booleans to indicate success in some places.
1941 * cspi/spi_event.c: update to lowlevel API.
1943 * cspi/bonobo/Makefile.am: add.
1945 * cspi/bonobo/cspi-lowlevel.h: add
1947 * cspi/bonobo/cspi-bonobo.c: add
1949 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1951 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1952 (SUBDIRS): add bonobo, link in the libs.
1954 * cspi/spi-util.c: kill this file.
1956 * TODO: merge in my bits.
1958 2001-12-11 Michael Meeks <michael@ximian.com>
1960 * test/test-simple.c (test_value, test_table, main):
1961 remove unused variables causing warnings.
1963 * configure.in: cleanup checks - require gail.
1965 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1968 Changed Value interface to use SValue (scalars) rather than
1969 assuming all values are floats. This allows floats, doubles,
1970 longs, shorts, and unsigned values to be manipulated.
1971 Introduced Accessibility:SValue union.
1974 Updated to use new API above, and to work correctly with GValues
1975 of different types in AtkValue.
1978 Updated to use new API above. cspi's API is as yet unchanged.
1981 Updated the Value revision action item.
1983 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1985 * test/test-simple.c:
1986 Added test_table (GtkTreeView widget in test window to follow).
1987 Un-commented test_value, added GtkRange widget.
1988 Added GtkTreeView widget with GtkListStore. It passes regression
1989 test but leaks one SPI object for some reason.
1992 Fixed bug in impl__set_currentValue.
1994 2001-12-10 Michael Meeks <michael@ximian.com>
1996 * cspi/spi_text.c: audit for exception handling,
1997 tolerating NULL object references safely etc.
1999 * cspi/spi_value.c: ditto.
2001 * cspi/spi_table.c (AccessibleTable_getSummary),
2002 (AccessibleTable_getAccessibleAt),
2003 (AccessibleTable_getRowHeader),
2004 (AccessibleTable_getColumnHeader),
2005 (AccessibleTable_getCaption): fix bugs hidden by
2007 (long_seq_to_array): impl.
2008 (AccessibleTable_getSelectedRows),
2009 (AccessibleTable_getSelectedColumns): use it.
2011 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2014 Added a TODO list (rough and short for now).
2016 * cspi/spi_hyperlink.c:
2017 * cspi/spi_hypertext.c:
2018 Fixed macro name typos, and remove use of obsolete macro in
2019 AccessibleHyperlink_getLink.
2021 * cspi/spi_action.c:
2022 * cspi/spi_accessible.c:
2023 * cspi/spi_application.c:
2024 * cspi/spi_component.c:
2025 * cspi/spi_selection.c:
2028 Documentation fixes (removed return values from ref/unref methods).
2030 2001-12-10 Michael Meeks <michael@ximian.com>
2032 * cspi/spi_action.c: audit for exception handling,
2033 tolerating NULL object references safely etc.
2035 * cspi/spi_accessible.c: ditto.
2037 * cspi/spi_component.c: ditto.
2039 * cspi/spi_editabletext.c: ditto.
2041 * cspi/spi_hyperlink.c: ditto.
2043 * cspi/spi_hypertext.c: ditto.
2045 * cspi/spi_image.c: ditto.
2047 * cspi/spi_selection.c: ditto.
2049 2001-12-10 Michael Meeks <michael@ximian.com>
2051 * configure.in: use cspi/libspi.pc.in instead.
2053 * Makefile.am (pkgconfig_DATA): upd. to match.
2055 * test/simple-at.c (report_focus_event): kill hacks around
2056 bad return values, use putenv not setenv
2058 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
2059 fire ChildGone - I killed it.
2061 * libspi/component.c
2062 (impl_accessibility_component_get_extents): remove
2065 * idl/Accessible.idl: kill ChildGone exception.
2067 * cspi/*.[ch]: kill int return from ref / unref.
2069 * cspi/spi_main.c (cspi_object_add_check): fold into
2070 (cspi_object_add): here.
2072 * cspi/spi_component.c (AccessibleComponent_getExtents):
2073 handle exceptions elegantly.
2075 * cspi/spi-private.h (cspi_check_ev_return),
2076 (cspi_return_if_fail): impl.
2078 * cspi/spi_accessible.c: use extensively.
2079 (AccessibleStateSet_equals): add direct compare check.
2081 * cspi/spi_selection.c: tolerate NULL objs, and check
2082 exceptions before return.
2084 * cspi/spi-util.c (cspi_warn_ev): rename to
2085 (cspi_check_ev): this & don't pass ev in; no point.
2087 2001-12-10 Michael Meeks <michael@ximian.com>
2089 * test/test-simple.c: use putenv not setenv
2090 (get_environment_vars): more chatty if you're not using
2093 * test/simple-at.c: do the setenv so more people see the
2096 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2098 * libspi/registry.c:
2099 Changed check of CORBA_environment on notification to be a warning
2100 instead of an error for the moment, since we can recover from this
2101 error when caused by a queued notification from a dead app.
2104 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
2105 used by all current implementors of AtkValue), and coerce to
2106 CORBA_float. (Proper general case fix may require change to Value.idl).
2108 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2112 * cspi/spi_accessible.c:
2113 Documentation fixes: added user_data params to documentation for
2114 listeners and callbacks.
2116 * cspi/spi_accessible.c:
2117 Changed AccessibleStateSet_compare to return a
2118 StateSet rather than return the difference set into a third parameter.
2121 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2124 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
2125 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
2129 Remove subdirectory po from SUBDIRS for now.
2131 * at-bridge/bridge.c:
2132 Beefed up a couple of debug printouts.
2133 One-line fix for signal notification name formatting.
2135 * libspi/accessible.c:
2136 Added assertion to spi_accessible_new ().
2138 * libspi/application.c:
2139 Put #ifdef qualifiers around a printf.
2142 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
2144 * registryd/Makefile.am:
2146 Replaces use of XML_I18N_MERGE_SERVER_RULE with
2147 INTLTOOL_SERVER_RULE macro.
2150 Added an event listener for several ATK signals, for
2151 testing and debugging. Removed a few g_warnings.
2152 Added test output if focussed item implements the Value interface.
2154 * test/test-simple.c:
2155 Added test_value () function (known not to pass at the moment, so
2156 not actually called yet.
2158 2001-12-08 Michael Meeks <michael@ximian.com>
2160 * at-bridge/bridge.c (bridge_focus_tracker),
2161 (emit_eventv): fix the same ref. leak.
2162 (register_atk_event_listeners): don't leak.
2164 * cspi/spi-listener-impl.c (cspi_event): more
2165 protection from client code.
2167 * test/test-simple.c (test_desktop): unref the app.
2169 * test/Makefile.am: upd. TESTS.
2171 * at-bridge/bridge.c (bridge_exit_func): release the registry.
2173 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
2175 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
2177 * cspi/spi_registry.c: constify in strings.
2178 (deregisterGlobalEventListenerAll): don't release the ref.
2180 * cspi/spi.h: start removing redundant / conflicting
2181 gtkdoc comments, making the API readable at a glance :-)
2183 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
2185 * test/keysynth-demo.c (keysynth_exit, main): upd.
2187 * test/simple-at.c (main, simple_at_exit): upd.
2189 * test/test-simple.c (unutterable_horror): kill.
2190 (utterable_normal_derefs): kill.
2191 (main): upd & do a setenv before gtk_init, so that we
2192 can use memprof - and to save the pain of remembering
2193 this, if we're running under memprof - don't exit.
2195 * cspi/spi_main.c (SPI_exit): return exit status
2197 (SPI_event_quit): impl.
2198 (SPI_event_main): simplify.
2199 (cspi_is_gnome_app): kill.
2200 (SPI_init): kill isGNOMEapp arg.
2202 * at-bridge/bridge.c (register_atk_event_listeners):
2203 re-instate the unref.
2204 (bridge_exit_func): don't re-activate the registry,
2205 protect vs. theoretical re-entry, use the
2206 AT_BRIDGE_SHUTDOWN env. var to determine whether to
2207 assert a clean shutdown - for regression tests.
2209 2001-12-08 Abel Cheung <maddog@linux.org.hk>
2211 * configure.in: Comment out dummy i18n support for now,
2212 otherwise it fails to build.
2213 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
2214 EXTRA_DIST. They are missing in tarball.
2216 2001-12-07 Michael Meeks <michael@ximian.com>
2218 * util/magnifier.c: kill bonobo activation reg. race.
2220 * libspi/component.c
2221 (impl_accessibility_component_get_extents): make it match
2224 * libspi/registry.c (_registry_notify_listeners):
2225 re-remove X headers & reconcile conflicts.
2226 (spi_listener_struct_free): bad conflict resolve.
2227 (impl_accessibility_registry_register_application):
2228 more bad merging fixed.
2229 (impl_accessibility_registry_deregister_application): ditto.
2230 (spi_registry_new): ditto.
2231 (spi_registry_init): don't have an applications field.
2233 [ merge fixups2 branch to here ]
2234 2001-12-07 Michael Meeks <michael@ximian.com>
2236 * test/simple-at.c (report_focus_event),
2237 (report_focussed_accessible): remove g_warning debug.
2239 2001-12-07 Michael Meeks <michael@ximian.com>
2241 * test/test-simple.c (validate_tree): comment out some checks.
2242 (test_desktop): app now not registered idly - horay.
2244 2001-12-07 Michael Meeks <michael@ximian.com>
2246 * cspi/spi_registry.c
2247 (registerAccessibleKeystrokeListener): clean, stop it leaking
2248 great swathes of memory, and device event controller references.
2249 ensure we always pass valid sequences.
2250 (deregisterAccessibleKeystrokeListener): ditto.
2251 (generateKeyEvent): upd.
2253 * at-bridge/bridge.c (bridge_key_listener): handle
2254 registry dead exception gracefully.
2255 (bridge_focus_tracker, emit_eventv): free ev.
2257 * test/simple-at.c (report_focus_event): fix polarity.
2259 * libspi/application.c (notify_listeners): kill the ev
2260 argument, and make sure we init the ev we use.
2261 (spi_application_object_event_listener): split out a chunk
2262 (get_atk_object_ref): here & fixup.
2263 (reverse_lookup_name_for_toolkit_event): make const.
2264 (spi_application_toolkit_event_listener): fixup, kill leaks
2267 * at-bridge/bridge.c (register_atk_event_listeners):
2268 don't unref the noop object - causes grief.
2270 * libspi/registry.c: remove the X headers.
2271 turn off the debug churn.
2273 * libspi/accessible.c (spi_accessible_new_return): only
2274 release the ref if we are supposed to [doh]
2276 * test/simple-at.c (report_button_press, report_focus_event):
2277 guard vs. unexpected exit.
2279 * at-bridge/bridge.c (gtk_module_init): prune printf.
2280 (bridge_exit_func): fix app unref.
2282 * libspi/Makefile.am: don't install registry or desktop.h
2284 * libspi/*.h: update includes.
2286 * libspi/application.h: don't include ourself, or
2287 other redundant headers.
2289 2001-12-06 Michael Meeks <michael@ximian.com>
2291 * libspi/accessible.c
2292 (get_accessible_from_servant): impl.
2293 Upd. all CORBA impl.s to use it killing cut and paste.
2295 * cspi/spi_main.c (cspi_cleanup): guard vs. double
2297 (SPI_init): register atexit cleanup handler here.
2299 2001-12-06 Michael Meeks <michael@ximian.com>
2301 * at-bridge/bridge.c (gtk_module_init): g_error on
2302 activation exception
2304 2001-12-06 Michael Meeks <michael@ximian.com>
2306 * at-bridge/bridge.c (gtk_module_init): some sort of
2307 confusing merge clash - reverted.
2308 (bridge_idle_init): ditto.
2310 * test/test-simple.c (main, utterable_normal_derefs):
2311 merge from Bill - somehow not committed.
2313 2001-12-06 Michael Meeks <michael@ximian.com>
2315 * libspi/value.c (spi_value_class_init): upd.
2316 (spi_value_finalize): kill.
2318 * libspi/table.c (spi_table_finalize): kill.
2319 (spi_table_interface_new): upd.
2320 (spi_table_class_init): upd.
2321 (get_table_from_servant): impl.
2322 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2324 * libspi/selection.c (spi_selection_finalize): kill.
2325 (spi_selection_interface_new): upd.
2326 (spi_selection_class_init): upd.
2327 (get_selection_from_servant): impl.
2328 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2330 * libspi/relation.c (spi_relation_finalize): kill.
2331 (spi_relation_class_init, spi_relation_new): upd
2333 * libspi/image.c (spi_image_finalize): kill.
2334 (spi_image_class_init): upd.
2335 (spi_image_interface_new): upd.
2336 (get_image_from_servant): impl.
2337 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2339 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
2340 (spi_hyperlink_finalize): kill.
2341 (spi_hyperlink_new): upd.
2342 (get_hyperlink_from_servant): impl.
2343 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2345 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
2346 (spi_hypertext_finalize): kill.
2347 (spi_hypertext_class_init): upd.
2348 (get_hypertext_from_servant): impl.
2349 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2351 * libspi/editabletext.c (spi_editable_text_finalize): kill.
2352 (spi_editable_text_interface_new): upd.
2353 (get_editable_text_from_servant): impl.
2354 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2356 * libspi/text.c (get_text_from_servant): impl.
2357 All impls - update to use it killing more cut and paste,
2358 also fix bad string returns on duff args ( a somewhat
2359 impossible case to handle - but hey ).
2360 (spi_text_construct): impl.
2361 (spi_text_interface_new): upd.
2362 (spi_text_object_finalize): kill.
2364 * libspi/component.c
2365 (accessibility_component_object_finalize): kill.
2366 (spi_component_class_init): upd.
2367 (get_component_from_servant): impl. helper to kill cut & paste.
2368 (impl_accessibility_component_contains):
2369 (impl_accessibility_component_get_accessible_at_point):
2370 (impl_accessibility_component_get_position):
2371 (impl_accessibility_component_get_extents):
2372 (impl_accessibility_component_get_mdi_z_order):
2373 (impl_accessibility_component_get_layer):
2374 (spi_component_interface_new): upd.
2376 * libspi/action.c (spi_action_finalize): kill.
2377 (spi_action_class_init): upd. inherit from SpiObject.
2378 (spi_action_interface_new): upd.
2379 (get_action_from_servant): impl. helper to reduce cut & paste.
2380 (impl_getKeyBinding, impl_getName, impl_doAction),
2381 (impl_getDescription): Use it everywhere.
2383 * cspi/spi_main.c (get_live_refs): a pointer hash.
2384 (spi_object_hash, spi_object_equal): comment out.
2385 There are issues with CORBA object hashing that need
2388 * libspi/application.c (spi_application_init),
2389 (spi_application_new): upd.
2391 * libspi/accessible.c (spi_accessible_object_finalize): kill.
2392 (spi_accessible_class_init): upd.
2393 s/accessible/object/ in epv methods.
2395 2001-12-05 Bill Haneman <bill.haneman@sun.com>
2397 * at-bridge/bridge.c:
2398 Reorder the bridge initialization into the bridge gtk_module_init,
2399 an immediate call to bridge_register_app, and an idle_add for
2400 register_atk_event_listeners (the only code that *must* wait until
2401 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
2402 the activation, creates the application's Accessible object, and
2403 queues the bridge_idle_init function. Restored call to
2404 Accessibility_Registry_deregisterApplication().
2405 Prior to making this call we obtain a new reference to the
2406 registry, which is a temporary hack that helps us handle apps that
2407 shut down the bonobo mainloop before we get there.
2409 * libspi/registry.c:
2410 Fix string leakage in debug block, and don't segv if a an app
2411 dies before its event notifications have been propagated.
2414 Modify cspi_check_ev() to call g_warning() rather than g_error(),
2415 as stopgap measure until we get proper exception handling when
2416 objects die during or before interrogation.
2420 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
2421 Also changed default value of is_gnome_app to TRUE.
2424 * test/keysynth-demo.c:
2425 Changed use of SPI_init and SPI_event_main to reflect API change above.
2428 Made report_focus_event check the warning value from getName
2429 before reporting on focussed accessible; simplifies handling of
2430 notifications from dead objects.
2432 * test/test-simple.c: (Changes not in this patch since source is
2435 2001-12-05 Michael Meeks <michael@ximian.com>
2437 * registryd/registryd.c (main): protect against
2438 bonobo-activation startup race condition.
2440 * cspi/spi_main.c (cspi_object_add_check): cope
2441 with the exception elegantly.
2443 * idl/Accessible.idl: decl. ChildGone
2445 * libspi/desktop.c (spi_desktop_dispose): impl.
2446 (spi_desktop_class_init): upd.
2447 (spi_desktop_add_application),
2448 (spi_desktop_remove_application),
2449 (abnormal_application_termination): impl.
2450 (impl_desktop_get_child_at_index): re-impl.
2453 (impl_accessibility_registry_deregister_application),
2454 (impl_accessibility_registry_register_application):
2455 kill excessive debug clutter.
2457 * test/test-simple.c (test_misc): test some NULL
2458 tolerance. (main): upd.
2460 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
2461 implements no interfaces - so let's not crash.
2463 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
2465 * libspi/accessible.c (spi_accessible_new_return): impl.
2466 helper to calm the cut and paste, to cope with
2467 NULL AtkObjects effectively and efficiently, and to kill
2468 the referencing bugs.
2470 * libspi/table.c (impl_getAccessibleAt),
2471 (impl_getRowHeader, impl_getColumnHeader): upd.
2473 * libspi/hyperlink.c (impl_getObject): upd.
2475 * libspi/accessible.c
2476 (impl_accessibility_accessible_get_child_at_index): upd.
2478 * libspi/component.c
2479 (impl_accessibility_component_get_accessible_at_point): upd.
2481 * test/test-simple.c (test_editable_text, test_text): impl.
2484 * cspi/spi_editabletext.c
2485 (AccessibleEditableText_insertText): constify.
2487 * test/test-simple.c (focus_me): make more robust.
2489 * libspi/accessible.c: remove some printfs in methods that
2490 we test and work fine, so we can get a clean tree dump.
2492 * test/test-simple.c (validate_accessible),
2493 (validate_tree): make tree dumping pretty too.
2495 * at-bridge/bridge.c (bridge_signal_listener): upd. so
2496 it builds without debug on.
2498 * test/test-simple.c (validate_accessible): fix the most
2501 * cspi/spi_main.c (spi_object_release): leave the nicely
2502 blanked memory around if in debug mode.
2504 * cspi/spi-listener-impl.c (cspi_event): use add_check.
2506 [committed to fixups2]
2507 2001-12-05 Michael Meeks <michael@ximian.com>
2509 * libspi/editabletext.c
2510 (spi_editable_text_class_init): g_type_class_peek_parent,
2511 not interface peek - so we finalize cleanly.
2513 * libspi/accessible.c (spi_accessible_new): kill debug.
2515 * test/test-simple.c (validate_accessible): fix ref.
2516 leak, print strings before freeing them; sigh, comment a
2517 chunk out due to strangeness.
2518 (validate_tree): unref the child after use.
2520 * cspi/spi_component.c (AccessibleComponent_getLayer):
2521 add missing break statement, switch on zlayer not the
2522 uninitialized retval.
2524 * cspi/spi_main.c (cspi_object_add): add assert, local ref
2525 before (possibly re-entering) remote unref.
2527 * test/simple-at.c (main): unref the desktop.
2529 * cspi/spi_accessible.c (cspi_accessible_is_a): move
2532 * cspi/spi_main.c (cspi_accessible_is_a): here to
2533 isolate bonobo API usage more.
2535 * libspi/registry.c (impl_accessibility_registry_register_application):
2536 prune bogus comment.
2538 2001-12-04 Michael Meeks <michael@ximian.com>
2540 * test/test-simple.c (validate_tree): upd.
2541 IndexInParent check to make it more lucid.
2542 (validate_accessible): dump the tree.
2544 * libspi/accessible.c (de_register_public_ref),
2545 (get_public_refs): impl.
2546 (spi_accessible_new): make more efficient & intuitive.
2547 Now IndexInParent check works.
2549 2001-12-04 Michael Meeks <michael@ximian.com>
2551 * cspi/spi-util.h: remove.
2553 * cspi/spi.h: move SPI_freeString here
2555 * libspi/component.c (impl_accessibility_component_get_layer):
2557 (impl_accessibility_component_get_mdi_z_order): ditto,
2558 return -1 on error - is this ok ?
2560 * test/test-simple.c (test_application): impl.
2562 * cspi/spi_accessible.c (Accessible_getApplication),
2563 (Accessible_isApplication): impl.
2565 * libspi/registry.c (spi_listener_struct_free): release
2566 the CORBA reference too.
2568 * libspi/accessible.c
2569 (impl_accessibility_accessible_get_parent): fix ref leak.
2571 * libspi/registry.c (spi_registry_new): make the registry
2572 immortal - we don't want it to go away ever.
2574 * libspi/application.c
2575 (spi_accessible_application_finalize): impl. cleanup.
2577 * cspi/spi_registry.c
2578 (deregisterGlobalEventListenerAll),
2579 (deregisterGlobalEventListener),
2580 (deregisterAccessibleKeystrokeListener): fix ref leak.
2582 * cspi/spi_main.c (SPI_init): remove redundant ref.
2584 * test/test-simple.c (unutterable_horror): impl. to force a
2589 (impl_accessibility_registry_deregister_application): release
2590 the application when we de-register it.
2592 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
2593 until we have the infastructure to get it right.
2595 2001-12-03 Michael Meeks <michael@ximian.com>
2597 * libspi/Makefile.am: only build eventlistener.[ch]
2599 * libspi/accessible.c
2600 (impl_accessibility_accessible_get_child_at_index): don't leak.
2602 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
2603 before we hit the idle handler.
2605 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
2606 debugging than exit.
2608 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
2610 * libspi/listener.c (impl_notify_event): check source
2611 not NIL before unref.
2613 * libspi/registry.c (impl_registry_notify_event): ditto.
2615 * libspi/eventlistener.c
2616 (impl_accessible_event_notify_event): unref the source.
2618 * libspi/accessibleeventlistener.c
2619 (impl_accessible_event_notify_event): unref the source.
2621 * idl/Event.idl: remove 'hash_id' attribute - of no
2624 * libspi/application.c (notify_listeners): upd list
2626 (spi_application_object_event_listener),
2627 (spi_application_toolkit_event_listener): upd to do correct
2631 (_registry_notify_listeners): update.
2632 (parse_event_type): this method also leaks like a sieve.
2633 (impl_accessibility_registry_deregister_global_event_listener):
2634 fix ETYPE_WINDOW case.
2636 * libspi/application.c
2637 (impl_accessibility_application_register_object_event_listener):
2640 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
2642 * libspi/hypertext.c (impl_getLink): ditto.
2644 * cspi/spi_main.c (cspi_object_add): remove
2645 bogus CORBA_Object_duplicate.
2647 * cspi/spi-listener-impl.c (cspi_event): dup/ref
2650 * cspi/spi_accessible.c
2651 (Accessible_getRelationSet): fix leak / referencing issue.
2653 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
2654 (cspi_object_add, cspi_object_unref): upd.
2655 (spi_object_release, get_live_refs): impl.
2656 (cspi_cleanup): simplify.
2658 * *.[ch]: s/boolean/SpiBoolean/
2660 * cspi/spi_accessible.c (role_names): actualy order so it
2661 corresponds with the enum !
2663 * test/test-simple.c (test_roles): check some role strings
2664 vs. enums to detect offset errors.
2666 2001-12-01 Michael Meeks <michael@ximian.com>
2668 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
2670 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
2672 (Accessible_getChildAtIndex): use cspi_add_check so we
2673 check the ev before using a (possibly) invalid value.
2675 * libspi/accessible.c
2676 (impl_accessibility_accessible_get_parent): don't segv
2679 * at-bridge/bridge.c (gtk_module_init): upd.
2680 (bridge_property_event_listener): don't leak strings
2682 (bridge_state_event_listener),
2683 (bridge_property_event_listener): don't use a static
2684 buffer in case of recursive event emission &
2685 re-enterancy - split out the swathe of cut and paste
2687 (emit_eventv): and fix 2 ref leaks here & comply to the
2689 (bridge_register_app): rename to
2690 (bridge_idle_init): this and kill arg parsing, split
2691 various inits & bonobo-activation registration to module
2692 init time, kill referencing error.
2693 (bridge_exit_func): fix the same leak.
2694 (bridge_focus_tracker): don't leak event structures
2696 (bridge_signal_listener): more leakage and cut & paste
2698 (bridge_key_listener): return the result - FIXME is
2699 this polarity correct ?
2700 (accessibility_keystroke_from_atk_key_event): rename
2701 (accessibility_init_keystroke_from_atk_key_event): and stop
2703 (gtk_module_init): return a value - not that it is checked by
2705 (bridge_key_listener): register my horror at casting between
2706 IDL defined structs.
2707 (bridge_get_registry): kill - not used.
2709 * cspi/spi_accessible.c (Accessible_getRole): make return const.
2711 * test/test-simple.c (test_roles): impl.
2712 (test_desktop, validate_accessible, validate_tree): impl.
2714 * cspi/spi_accessible.c (role_names): fixup bogus
2715 MAX_ROLES setup, make constants const for efficient linkage
2716 (AccessibleRole_getName): conform to coding style, make
2719 2001-11-30 Michael Meeks <michael@ximian.com>
2721 * cspi/spi.h: add missing prototype.
2723 * libspi/registry.c (spi_listener_struct_new): fix sig.
2725 * test/Makefile.am: add test-simple
2727 * test/test-simple.c: add
2729 * test/test.sh: add.
2731 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
2733 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
2734 do it straight - since otherwise we often get an activation race.
2736 [ work before Bill duplicated a chunk of it ... ]
2737 2001-11-30 Michael Meeks <michael@ximian.com>
2739 * libspi/keystrokelistener.c
2740 (spi_keystroke_listener_class_init): fixup arg
2743 * libspi/eventlistener.c
2744 (spi_event_listener_class_init): ditto.
2746 * tests/test.sh: add.
2748 * cspi/spi-listener-impl.h: update macros.
2750 * cspi/spi-listener-impl.c
2751 (cspi_event_listener_remove_callback): add
2752 correct pre-conditions.
2754 * cspi/spi_main.c (SPI_exit): guard vs. double
2755 exits, exit the mainloop nicely.
2756 (SPI_event_main): make more sense.
2757 (SPI_init): move the atexit evilness here so we
2758 always do it (yuck).
2759 (SPI_event_main): upd.
2761 * test/simple-at.c: update for listener changes.
2763 * registryd/registryd.c (main): prune kruft.
2765 * libspi/libspi.h: upd.
2767 * libspi/eventlistener.[ch]: rename broken macros.
2769 * libspi/accessibleeventlistener.[ch]: remove.
2771 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
2773 * test/test-simple.c: Add - automated tests.
2775 * cspi/spi-listener-impl.c (cspi_event),
2776 (cspi_key_event): add user_data to invoke.
2777 (cspi_keystroke_listener_finalize): impl.
2778 (cspi_keystroke_listener_class_init): upd.
2781 (createAccessibleEventListener),
2782 (AccessibleEventListener_addCallback),
2783 (createAccessibleKeystrokeListener),
2784 (AccessibleKeystrokeListener_addCallback): upd.
2786 * libspi/deviceeventcontroller.c
2787 (spi_device_event_controller_check_key_event): add public proto.
2790 (impl_accessibility_registry_deregister_global_event_listener):
2791 always init listeners.
2792 (_registry_notify_listeners): yes it is.
2794 * cspi/spi-listener-impl.c (cspi_key_event):
2796 (cspi_event_listener_finalize): impl.
2797 (cspi_event_listener_class_init): hook up.
2798 (event_handler_new, event_handler_free),
2799 (event_list_remove_by_callback): impl.
2800 (cspi_event_listener_remove_callback),
2801 (cspi_keystroke_listener_remove_callback),
2802 (cspi_keystroke_listener_add_callback),
2803 (cspi_event_listener_add_callback): upd.
2805 * libspi/keystrokelistener.c
2806 (keystroke_listener_object_finalize): kill
2807 (spi_keystroke_listener_class_init): upd.
2808 (spi_keystroke_listener_add_callback),
2809 (spi_keystroke_listener_remove_callback): kill,
2811 (impl_key_event): prune drasticaly.
2813 * libspi/eventlistener.c
2814 (spi_event_listener_add_callback),
2815 (spi_event_listener_remove_callback): kill, use
2817 (impl_accessible_event_notify_event): upd.
2818 (spi_event_listener_object_finalize): remove.
2820 * libspi/Makefile.am: use eventlistener.[ch]
2822 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2824 * libspi/registry.c (_registry_notify_listeners):
2825 Changed listener loop iteration to use preferred convention.
2826 Got rid of string memory leaks caused be calling g_strconcat
2827 inside function calls.
2829 * libspi/registry.c (parse_event_type):
2830 Stopped g_strconcat memory leaks, free the g_strsplit return,
2831 g_strdup the split pieces when used, etc.
2833 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2836 Change method 'compare' to return a 'difference set' rather than
2837 taking a StateSet as an out parameter (more Java-friendly).
2839 * idl/Accessible.idl:
2840 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2842 * idl/Component.idl:
2844 Changed methods 'getExtents' and 'getImageExtents' in these
2845 interfaces to return a BoundingBox structure.
2846 (getPosition and getSize are redundant and possibly should be
2847 removed, rather than creating a corresponding Point struct.)
2849 * cspi/spi_component.c:
2850 Modify implementation of getExtents to reflect the above IDL
2855 Add (missing) AccessibleImage_getExtents () API.
2857 * docs/reference/cspi/at-spi-cspi-sections.txt:
2858 Added AccessibleImage_getImageExtents () to docs.
2860 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2862 * idl/Component.idl:
2863 Added two methods, getLayer () and getMDIZOrder (), to reflect
2864 the new ATK methods atk_object_get_layer and
2865 atk_object_get_mdi_z_order. (Which arguably should be part of the
2866 AtkComponent API and AtkObject). Also added an enum,
2867 ComponentLayer, for the first method's return value.
2869 * libspi/component.c:
2870 Added implementations for these methods.
2872 * cspi/spi_component.c:
2874 Added cspi binding methods for above,
2875 AccessibleComponent_getLayer() and
2876 AccessibleComponent_getMDIZOrder().
2877 Added cspi enum 'AccessibleComponentLayer'.
2879 * docs/reference/cspi/at-spi-cspi-sections.txt:
2880 Added above methods to docs.
2884 Changed typedef for 'boolean' type (and all references to it) to
2885 SPIBoolean, to avoid keyword clashes with C++.
2888 Changed usages of 'boolean' to SPIBoolean.
2890 * test/keysynth-demo.c:
2891 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2892 app), except where SPIBoolean is required by the callbacks API.
2894 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2896 * cspi/spi_registry.c:
2897 Removed obsolete X event loop for passive keygrabs (which now
2900 * registryd/registryd.c:
2901 Removed unnecessary call to gdk_init() [cruft]. This also allows
2902 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2905 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2907 * docs/reference/cspi:
2908 Included docs for SPI_freeString in generated documentation.
2911 Renamed spi_freeString to SPI_freeString, for consistency. Added
2912 documentation for this function.
2915 Renamed spi_freeString to SPI_freeString, for consistency.
2916 Removed obsolete method declaration string_from_corba_string.
2918 * test/keysynth-demo.c:
2919 Small tweak to comments.
2922 Stopped leaking the strings returned from CSPI.
2924 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2926 Merged Michael's branch (see his ChangeLog entries below).
2928 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2929 bridge is alive, release on exit.
2931 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2932 Fix type check macro.
2935 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2938 Added is_gnome_app static, and method cspi_is_gnome_app(),
2939 so we can call the appropriate shutdown routine at exit in SPI_exit.
2941 * cspi/spi_main.c (cspi_object_ref):
2942 Duplicate the corba object passed in, since we're keeping it around.
2944 * cspi/SPI_exit.c, cspi_cleanup:
2945 Moved the releasing of the live refs to its own function, so we
2946 can put it in g_atexit (). Call the appropriate shutdown API
2947 depending on whethe calling client is a gnome app or not
2948 (bonobo_main_quit or CORBA_ORB_shutdown).
2950 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2951 Unref the listener when this method is called, after
2952 deregistration. Updated the API docs to note this behavior.
2954 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2955 Bugfixes: Ref the bonobo object when returning a parent or child
2956 reference, or an AccessibleRelation. Generally made sure
2957 BonoboObject refcount is incremented whenever we return an
2960 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2961 Fixed typo/bug in signal declaration.
2963 * libspi/accessibleeventlistener.h:
2966 * libspi/application.c (spi_application_new):
2967 Fixed leak in initialization.
2970 Remembered to increment bonobo-object refcount when returning
2971 children (applications) from desktop object.
2972 Added (empty) finalize method.
2974 * libspi/deviceeventcontroller.c:
2975 Hold a ref to listeners inside DEControllerKeyListeners.
2976 Added dec_key_listener_free() method. Use prepend instead of
2977 append in key_listener list. Fixed some refcount madness and
2978 leaks in the listener registration/deregistration - deregistration
2979 now calls dec_key_listener_free() on listeners, and on the
2980 temporarily constructed dec_key_listener() used to perform the search/match.
2982 * libspi/hypertext.c (spi_hypertest_finalize):
2983 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2984 class. Also fixed spi_hypertext_interface_new() and
2985 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2987 * libspi/hypertext.h:
2988 Removed pointless and duplicate AtkObject pointer from
2991 * libspi/keystrokelistener.c:
2992 Fixed incorrect type of keystroke_listener_parent_class,
2993 renamed keystroke_listener_object_finalize to
2994 spi_keystroke_listener_object_finalize.
2995 Fixed typo in signal declaration
2996 (spi_keystroke_listener_class_init).
2998 * libspi/registry.c:
2999 Added funcsions spi_listener_struct_new() and
3000 spi_listener_struct_free() to help with memory management issues.
3001 We also now use these methods instead of gnew + poking stuff into
3002 the struct, and to decrement listener counts/free the listeners
3003 when deregistering them.
3004 Fix more refcount bugs in getDesktop() and
3005 getDeviceEventController().
3008 De-ref the desktop after enumerating the applications. Explicitly
3009 decrement the refcounts on the created listeners on exit (using
3010 _unref for keystroke listeners, and via the
3011 deregisterGlobalEventListenerAll command for other event
3014 2001-11-27 Michael Meeks <michael@ximian.com>
3016 * cspi/spi-listener.h: fixup enum.
3018 2001-11-27 Michael Meeks <michael@ximian.com>
3020 * cspi/spi-listener-impl.c (cspi_event_listener_new),
3021 (cspi_keystroke_listener_new): Use the cspi variants.
3023 2001-11-26 Michael Meeks <michael@ximian.com>
3025 * test/keysynth-demo.c: fix 2 compile warnings, missing
3028 * test/simple-at.c (report_focussed_accessible),
3029 (report_focus_event, report_button_press),
3030 (check_property_change, is_command_key),
3031 (report_ordinary_key_event, report_command_key_event): upd.
3033 * util/mag_client.h: include pre-requisites.
3035 * libspi/accessibleeventlistener.c
3036 (spi_event_listener_object_finalize): free any lingering
3039 * libspi/keystrokelistener.c
3040 (keystroke_listener_object_finalize): ditto.
3042 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
3043 callbacks, with cspi types.
3045 * cspi/spi_event.c (createAccessibleEventListener): chain to
3046 (AccessibleEventListener_addCallback): here.
3047 (createAccessibleKeystrokeListener): chain to
3048 (AccessibleKeystrokeListener_addCallback): here.
3050 * libspi/keystrokelistener.c
3051 (spi_keystroke_listener_class_init): add signal.
3052 (impl_key_event): emit the event.
3053 (boolean_handled_accumulator): impl.
3054 (marshal_BOOLEAN__POINTER): add, gack.
3056 * libspi/accessibleeventlistener.c
3057 (spi_event_listener_class_init): add signal.
3058 (impl_accessible_event_notify_event): emit the signal &
3059 make the loop efficient.
3060 (spi_event_listener_add_callback): prepend the callback.
3062 * libspi/accessibleeventlistener.h: add an 'event' signal,
3063 decl type on callback.
3065 * libspi/keystrokelistener.h: ditto.
3067 * cspi/spi-listener.h: make methods typesafe and
3068 make them use the new event typedefs.
3070 * test/simple-at.c (report_focussed_accessible):
3071 include mag_client.h
3072 Use *(void *)text_interface not the other thing.
3074 * configure.in: add gtk to registryd bits - since we use
3077 * util/magnifier.c: include libbonobo.h
3079 2001-11-25 Bill Haneman <bill.haneman@sun.com>
3081 * test/keysynth-demo.c:
3082 Turned this into a simple scanning keyboard, to demonstrate the
3083 use of g_timeout_add () as a means of creating timers for
3084 scanning, and the use of GtkStyle for visually indicating when
3085 virtual keyboard elements are selected.
3087 keysynth-demo now listens to any keyboard keys with zero-valued
3088 keycodes (i.e. 'unused' keys) and interprets them as
3091 Reworked the shiftlatch code so that shift-down state isn't held
3092 for long periods (it's only synthesized immediately prior to
3093 the keysynth event it's modifying). Note that shiftlatch in this
3094 demo is a convenience, not intended to take the place of AccessX
3095 which is the better choice for getting 'sticky' modifier keys.
3097 * libspi/deviceeventcontroller.c:
3098 * at-bridge/bridge.c:
3099 * cspi/spi_registry.c:
3100 Removed some debug print stuff, and put other verbosity in #ifdef
3105 Implemented some more of the magnifier IDL for the simple
3106 magnifier: namely, getZoomRegionParams.
3107 Added mag_x and mag_y members to MagnifierData struct, aid of this
3109 Added GtkWindow::realize signal handler to magnifier, to keep it
3110 from receiving keyboard focus from the WM.
3112 2001-11-23 Mark McLoughlin <mark@skynet.ie>
3114 * cspi/spi-private.h: my guess at what michael forgot
3115 before he ran off to NZ :-)
3117 2001-11-23 Michael Meeks <michael@ximian.com>
3119 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
3120 comment out non existant method invoke so we link.
3122 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
3123 use bonobo_exception_get_text for more friendly warnings.
3125 * cspi/spi.c (Obj_Add): move into spi_main & rename
3126 spi_object_add; kill spi.c
3128 * cspi/spi_registry.c
3129 (deregisterGlobalEventListener),
3130 (deregisterGlobalEventListenerAll),
3131 (registerGlobalEventListener): fix exception leaks.
3133 * cspi/spi_main.c (spi_exception): impl. helper, so we
3134 don't leak exceptions.
3136 * cspi/spi_selection.c
3137 (AccessibleSelection_deselectSelectedChild): return the
3140 * cspi/spi_main.c (spi_ev): impl; hack - gack.
3141 (spi_registry): ditto.
3142 (SPI_init): guard against double inits.
3144 * cspi/*.c: use spi_ev (), and spi_registry () where
3145 appropriate - a temporary hack until we have something
3146 better. Use spi_object_add
3148 2001-11-22 Michael Meeks <michael@ximian.com>
3150 * cspi/Makefile.am: re organise, install the headers.
3152 * cspi/*.h: add G_BEGIN/END_DECLS
3154 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3157 Added non-preemptive keylistener for key events with no modifiers
3158 and shift-only modifier.
3160 * libspi/keystrokelistener.c:
3161 Removed some verbose diagnostics printout.
3163 * cspi/spi_registry.c:
3164 Fixed a bug that caused all key listeners to be registered as
3167 * libspi/deviceeventcontroller.c:
3168 Fixed bug that caused XGrabKey (preemptive key grab) to be called
3169 for non-preemptive key masks.
3172 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3174 * docs/reference/idl/at-spi-idl-docs.sgml:
3175 * docs/reference/idl/at-spi-idl-sections.txt:
3176 * docs/reference/idl/at-spi-idl-overrides.txt:
3177 Added missing files.
3179 * docs/reference/Makefile.am:
3180 removed idl from SUBDIRS until we can figure a way to get gtk-doc
3181 to scan the IDL files :-(
3186 Added .cvsignore files.
3188 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3190 * libspi/deviceeventcontroller.c:
3191 * libspi/keystrokelistener.c:
3193 * cspi/spi_registry.c:
3194 Added filters for KeySets, KeyEventSeq, and event types to key
3195 event dispatching, so listeners should only receive those events
3196 that they requested :-)
3198 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3203 * docs/reference:Makefile.am:
3204 * docs/reference/cspi:
3205 * docs/reference/cspi:Makefile.am:
3206 * docs/reference/cspi:tmpl:
3207 * docs/reference/cspi:tmpl:*.sgml:
3208 * docs/reference/idl:
3209 * docs/reference/idl:Makefile.am:
3210 * docs/reference/idl:at-spi-idl-sections.txt:
3211 * docs/reference/idl:at-spi-idl-docs.sgml:
3212 * docs/reference/idl:tmpl:
3213 * docs/reference/idl:tmpl:*.sgml:
3215 Restructured docs directory to allow separate 'reference' docs
3216 section, and forked idl and cspi docs. Added the sgml template
3217 files to CVS. Added the first sections/structural sgml for the
3220 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
3222 * configure.in, libspi/Makefile.am: find libXtst.
3224 2001-11-21 Michael Meeks <michael@ximian.com>
3226 * test/accessx-gui.c: s/spi_value/value/ - doh.
3228 * libspi/base.[ch]: add.
3230 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3232 * idl/Accessible.idl:
3233 * idl/Application.idl:
3236 Started gtk-doc cleanup on IDL.
3238 * libspi/deviceeventcontroller.c:
3239 Added and connected non-preemptive key notification from the
3240 toolkits (in addition to the pre-emptive support from XServer
3241 which we had before, but which causes 'focus flashing'). Filters
3242 are presently limited to key modifiers and global/non-global,
3243 KeySets are presently ignored, as are KeyEvent masks.
3245 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
3246 structs into the persistant structure rather than just storing
3247 pointers to things that might not persist across servant
3250 The XGrabKey call now does async keygrabs, because synchronous
3251 ones were deadlocking with GDK_event code in a very nasty way.
3253 Added boolean to internal method notify_keylisteners, to indicate
3254 whether the event came from the 'toolkit source' or the 'global
3255 (XServer) source' - this is used in the notification process to
3256 determine which listeners to send the event to.
3258 deviceeventcontroller.c is now warning-free.
3260 * libspi/registry.c:
3261 Fixed regression in application de-registration.
3262 Also fixed some really brain-dead weirdness having to do with
3263 event dispatching - event structs are now duplicated before being
3264 re-marshalled in the dispatch to listeners. This also fixes a
3265 Solaris build problem.
3268 2001-11-20 Michael Meeks <michael@ximian.com>
3271 (impl_accessibility_registry_deregister_global_event_listener):
3274 * libspi/deviceeventcontroller.c
3275 (spi_device_event_controller_check_key_event): return
3276 FALSE on no virtual method.
3278 * libspi/*..h: make includes work on a correctly pathed install.
3280 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
3282 * libspi/application.h: kill unused ( and whacked out )
3283 gboolean *spi_application_set_id (AtkObject *app, long id);
3285 2001-11-20 Michael Meeks <michael@ximian.com>
3287 * libspi/*.[ch]: further convert to bonobo's type func
3288 macros, remove redundnant casts etc.
3290 * libspi/text.c s/accessibility_text/spi_text/g,
3291 re-order to de-cruft.
3293 * libspi/hypertext.c: re-order to kill a huge slew
3294 of redundant forward decls.
3296 * libspi/relation.c: ditto.
3298 * libspi/image.c: ditto.
3300 * */.cvsignore: update
3302 2001-11-20 Michael Meeks <michael@ximian.com>
3304 * libspi/deviceeventcontroller.c
3305 (_controller_register_with_devices): use g_getenv,
3306 kill stdlib.h include.
3308 * libspi/keystrokelistener.c
3309 (spi_keystroke_listener_get_type): kill
3310 (spi_keystroke_listener_class_init),
3311 (spi_keystroke_listener_init): rename to this.
3313 * libspi/text.c (impl_getAttributes): fix warning / bug.
3315 * libspi/*.[ch]: more headers, includes and over commenting.
3317 2001-11-20 Michael Meeks <michael@ximian.com>
3319 * libspi/*.[ch]: fixup headers, includes and over commenting.
3321 * libspi/image.c (impl__get_imageDescription): const
3322 correctness warning fix. remove redundant casting.
3324 * libspi/table.c (impl_getRowDescription): ditto.
3325 (impl_getColumnDescription): ditto.
3327 * libspi/libspi.h: add.
3329 2001-11-19 Michael Meeks <michael@ximian.com>
3331 * libspi/editabletext.c (impl_setAttributes): fix warnings.
3333 * libspi/component.c (accessibility_component_get_type):
3334 rename to (spi_component_get_type): and macroify.
3335 (accessibility_component_init): rename to
3336 (spi_component_init): this
3337 (accessibility_component_class_init): rename to
3338 (spi_component_class_init): this
3340 * libspi/action.c (spi_action_get_type): kill, use the macro.
3342 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
3345 * libspi/application.c (spi_application_object_event_listener),
3346 (impl_accessibility_application_register_object_event_listener):
3347 warning fixes / const understanding updates.
3349 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
3352 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3354 * libspi/spi_accessible.c: Added docs and C bindings for
3355 AccessibleStateSet. (No implementations yet). Documentation
3356 coverage for C bindings now 100%. Made docs for event listeners
3361 boolean notifyListenersSync (in DeviceEventListener listener,
3362 in DeviceEvent event);
3364 oneway void notifyListenersAsync (in DeviceEventListener listener,
3365 in DeviceEvent event);
3367 Added DeviceEventListener and DeviceEvent structs (may deprecate
3368 KeyStroke and KeystrokeListener in favor of this generic
3369 event/listener framework for devices).
3371 * libspi/deviceeventcontroller.c:
3373 Changed some key listener code to take masks, etc., and paved the
3374 way for integration of toolkit/non-preemptive key events. Changed
3375 signatures of some internal methods.
3377 * at-bridge/bridge.c:
3378 Fixed regression connecting to interface signals, apparently
3379 caused by GTK+ changes.
3381 Added an internal bridge_state_listener to deal with
3382 property-change:accessible-state signals.
3384 Changed the key_listeners GList to store structs (including masks,
3385 etc.) instead of just CORBA_Objects (required for full
3386 implementation of key listener API).
3388 Connected the bridge to all currently supported Atk signals.
3389 Events now supported:
3390 object:property-change
3391 object:property-change:accessible-name
3392 object:property-change:accessible-state
3393 object:property-change:accessible-description
3394 object:property-change:accessible-parent
3395 object:property-change:accessible-value
3396 object:property-change:accessible-role
3397 object:property-change:accessible-table-caption
3398 object:property-change:accessible-table-column-description
3399 object:property-change:accessible-table-column-header
3400 object:property-change:accessible-table-row-description
3401 object:property-change:accessible-table-row-header
3402 object:property-change:accessible-table-summary
3403 object:children-changed
3404 object:visible-data-changed
3405 object:selection-changed
3406 object:text-selection-changed
3408 object:text-caret-moved
3410 object:row-reordered
3412 object:column-inserted
3413 object:column-reordered
3414 object:column-deleted
3415 object:model-changed
3417 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3419 * libspi/hyperlink.c,h:
3420 Fixed some broken stuff in hyperlink.
3422 * libspi/relation.h:
3423 * libspi/relation.c:
3424 * cspi/spi_accessible.c:
3425 Initial implementations of AccessibleRelation methods, and docs.
3427 * libspi/accessible.c:
3428 Fixed a bug that caused SEGV if an accessible
3429 object's description is NULL, and a client
3430 requests it. An empty string is now returned.
3432 * cspi/spi_editabletext.c:
3433 * cspi/spi_hypertext.c:
3435 * cspi/spi_hyperlink.c:
3439 Doc coverage now 95%.
3441 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3443 One last namespacing revision:
3444 * libspi/accessibleeventlistener.[ch]:
3445 Renamed SpiAccessibleEventListener to SpiEventListener,
3446 (no need for two namespaces ;-)
3448 And lots of documentation fixes:
3450 * docs/at-spi-docs.sgml:
3451 Fixed 'underscore vs. hyphen' bug that was preventing
3452 the gtk-doc API docs from being automatically generated.
3455 * cspi/spi-listener.h
3457 * cspi/spi_accessible.c
3459 * cspi/spi_application.c
3460 * cspi/spi_component.c
3461 * cspi/spi_editabletext.c
3463 * cspi/spi_hypertext.c
3465 * cspi/spi_registry.c
3466 * cspi/spi_selection.c
3470 * docs/at-spi-docs.sgml
3471 * docs/at-spi-sections.txt
3473 Added and fixed up gtk-doc documentation in cspi.
3475 Interfaces now (fully) documented (subject to revision and enhancement):
3477 Event Listener Support
3479 AccessibleApplication
3483 AccessibleEditableText
3490 AccessibleRelationSet
3495 2001-11-14 Bill Haneman <bill.haneman@sun.com>
3497 * at-bridge/bridge.c:
3498 Initial work for toolkit-level key snooper connection by bridge.
3503 New typedefs and fixes to support new namespacing, and cleaner
3504 separation of cspi bindings from libspi bonobo implementation.
3505 Removed inconsistent and extraneous Spi* namespace prefix that
3506 had crept into cspi headers.
3507 Lots of comment fixes that sed had missed.
3509 * cspi/spi-roletypes.h:
3510 * cspi/spi-statetypes.h:
3511 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
3512 to AccessibleRoleType.
3514 * libspi/accessibleeventlistener.h:
3515 Fixed minor namespacing weirdness.
3517 * libspi/deviceeventcontroller.c:
3518 Reordered some internal API for device listeners.
3519 Changed the key registry final boolean to 'is_system_global'
3520 rather than 'is_synchronous', which is more descriptive of its
3522 Added spi_device_event_controller_new().
3523 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
3525 * libspi/keystrokelistener.[ch]:
3526 Namespaced KeystrokeListener to SpiKeystrokeListener.
3527 Changed uses of keymasks to use SPI_ prefix, and did other
3530 * libspi/keymasks.h:
3531 Namespaced keymask constants with SPI_ prefix.
3533 * libspi/registry.c:
3534 Some warning fixes, and knock-on fixes from namespace changes.
3537 Added rules for accessx-gui test program.
3539 * test/accessx-gui.c:
3540 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
3541 utility. It doesn't actually use at-spi, but it's still cool and
3544 * test/keysynth-demo.c:
3548 Fixes so that these test clients work properly with the namespaced
3549 libraries. (Incompletely tested for technical reasons, fixes may follow)
3552 2001-11-13 Michael Meeks <michael@ximian.com>
3554 * libspi/application.c
3555 (impl_accessibility_application_get_version),
3556 (impl_accessibility_application_get_toolkit_name):
3558 (impl_accessibility_application_set_id),
3559 (impl_accessibility_application_get_id): remove
3560 redundant casting code.
3562 * libspi/action.c (impl_getDescription): fix warnings.
3564 * libspi/accessible.c
3565 (impl_accessibility_accessible_get_parent),
3566 (impl_accessibility_accessible_get_child_at_index),
3567 (impl_accessibility_accessible_get_state),
3568 (impl_accessibility_accessible_get_relation_set):
3569 warning fixes & include action.h
3571 2001-11-13 Michael Meeks <michael@ximian.com>
3573 * *.[ch] fix bits I screwed up:
3575 s/([^ \tb(\*\&\?\",])spi_/\1/g;
3576 s/([^ \tb(\*\&\?\",])Spi/\1/g;
3578 2001-11-13 Michael Meeks <michael@ximian.com>
3580 * *.[ch] Namespace libspi into spi_ and Spi.
3582 2001-13-11 Michael Meeks <michael@ximian.com>
3584 * Makefile.am: dist & install at-spi-1.0.pc
3586 * libspi/Makefile.am: install into at-spi-1.0
3588 * idl/Makefile.am (idldir): install into at-spi-1.0
3590 * at-spi-1.0.pc.in: add.
3592 * configure.in: build it.
3594 2001-11-12 Bill Haneman <bill.haneman@sun.com>
3596 * test/keysynth-demo.c:
3597 Use a 'realize' signal-handler to set the WM properties for
3598 the virtual keyboard, rather than making it a "POPUP" type
3599 override-redirect window (thanks to anders carlsson for that
3602 2001-11-11 Bill Haneman <bill.haneman@sun.com>
3605 * test/keysynth-demo.c:
3606 Added new test of key synthesis, which creates a simple
3607 (mouse-operated) onscreen keyboard. It inserts key events into
3608 the currently-focused window, thus it does not grab keyboard focus
3611 * cspi/spi_registry.c:
3612 Added C binding for AT-SPI generateKeyEvent.
3614 * libspi/deviceeventcontroller.c:
3615 Added call to XFilterEvent so that key listener works with XIM (we
3616 hope). Added event_synth_type to generateKeyEvent, so that we can
3617 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
3618 synthesize a press/release pair for KeySyms.
3620 2001-11-09 Bill Haneman <bill.haneman@sun.com>
3622 * libspi/Makefile.am:
3623 * registryd/Makefile.am:
3624 (temporary) hack to include libXtst in libspi and registryd.
3625 (Needed for keystroke synthesis, see below).
3628 Improved API for registerKeystrokeListener, in accordance with
3629 discussions with Gnopernicus team and X server research.
3631 * libspi/registry.c:
3632 * libspi/deviceeventcontroller.c:
3633 * libspi/accessible.c:
3634 * libspi/keystrokelistener.c:
3635 Changes and fixes to support keylisteners for potentially
3636 consumed key events (that is, 'passive grabs').
3637 Added implementation for generateKeyEvent() [untested].
3640 Changes to registerKeystrokeListener() API, as above.
3641 Added deregisterGlobalEventListenerAll(), and
3642 deregisterKeystrokeListener(), which are needed for clean exit of
3644 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
3645 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
3647 * cspi/spi_registry.c:
3648 Added implementations of function prototypes mentioned above.
3650 * registryd/registryd.c:
3651 Added the key listener event source as a g_timeout(), to allow
3652 receipt of key events that are not caught by GDK (since GDK
3653 doesn't support passive keygrabs, this was necessary).
3656 Changed to attach a keylistener to 'Alt' keys, and
3657 respond to the following keycommands: Alt-M (toggle magnifier);
3658 Alt-F (toggle speech); Alt-Q (quit).
3659 Added an exit routine to deregister the listeners, and a key
3660 listener that prints some key info to the console when a key
3661 matches the listener mask (and is thus received by the listener).
3663 * util/idl/Magnifier.idl:
3664 Changes to magnifier API to support multiple zoom regions,
3665 non-uniform scaling in x and y, markDirty, and a host of other
3666 features that would be useful to magnification.
3669 * util/mag_client.c:
3670 * util/mag_client.h:
3671 * util/mag_control.c:
3673 Source code changes to support the above IDL changes.
3676 As above, and also changes to use a (slower) generic conversion
3677 path for colormap conversions, since the fast RGB conversions have been
3678 reported to fail for 16-bit displays.
3680 2001-10-26 Michael Meeks <michael@ximian.com>
3682 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
3684 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
3686 * at-bridge/Makefile.am: fix LDFLAGS.
3688 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3690 * at-bridge/bridge.c:
3691 Re-worked listeners for toolkit events, now we have signal
3692 and property listeners. Added a private method
3693 register_atk_event_listeners(), which registers with the
3694 various atk and gtk signals we need to monitor in order to emit
3696 Added emission hook for AtkObject:property-change events, to
3697 support the 'property listeners'.
3698 Fixed some alloc()s of Accessibility_Event structs to use CORBA
3701 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
3702 which emit warnings and exit, respectively, if CORBA errors occur
3703 during remote calls, and we now use these methods to check most of
3704 our CORBA calls in the C bindings.
3706 * cspi/spi_accessible.c:
3707 Changed AccessibleSelection_refSelectedChild() to
3708 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
3709 now increment refcounts.
3711 * cspi/spi_component.c:
3712 Fixed some long pointer casts (dangerous!) to pass pointers to
3713 CORBA_longs of the proper type to the CORBA stubs, and copy the
3714 data into the longs that were passed into the C bindings code.
3716 * at-bridge/bridge.c:
3718 * libspi/accessible.c:
3719 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
3720 hyperlinks, AtkHyperlink is an object type.
3722 * libspi/application.c:
3723 Added various conversions to and from "generic" event types and
3724 atk-specific types; this is really part of the 'bridge'
3725 implementation but is valid for all AtkObject-based accessibility
3728 * libspi/editabletext.c:
3729 Fixed nasty bug wherein editable text's finalize method was
3730 unref'ing tha AtkObject reference that the text parent class was
3731 about to unref _again_. There was also a nasty inheritance bug
3732 that meant that the AccessibleEditableText class was corrupt.
3734 * libspi/selection.c:
3735 Provided implementations for some selection API that was broken.
3737 * idl/Application.idl:
3738 Added registerObjectEventListener () method.
3741 Fixed a number of return values that were Bonobo_Unknowns from
3742 bonobo_object_corba_objref(), which I
3743 forgot to dup before returning. Changed instances of
3744 bonobo_object_corba_objref (bonobo_object(o)) to
3745 BONOBO_OBJREF(o), for concision and clarity.
3747 2001-10-13 Louise Miller <louise.miller@sun.com>
3749 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
3750 idl/Event.idl, idl/Registry.idl
3751 Changed these files to include Bonobo_Unknown.idl instead
3754 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
3756 * libspi/component.c libspi/component.h:
3757 Fixed typo. Added assertions for object checks in
3758 AccessibleComponent code.
3760 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3762 * idl/Accessible.idl:
3763 Added 'isEqual (Accessible *object)'
3764 method for Accessible. (Not Yet Implemented).
3767 Changed signature of registerKeystrokeListener() to
3768 take a KeySet and KeyEventSeq so that specific keys and event
3769 types could be requested for monitoring, and added a flag
3770 is_synchronous so that either synchronous or asynchronous
3771 notification could be requested. (However this is not all
3772 implemented yet). This also meant adding two new typedefs,
3773 KeyEventSeq and KeySet.
3776 Added two new relations, RELATION_TOOLTIP_FOR and
3777 RELATION_LEAFNODE_OF.
3780 Added new state, STATE_HAS_TOOLTIP.
3782 * libspi/text.c, editabletext.c:
3783 Added new assertions to all casts of bonobo-objects from
3784 CORBA servants, to prevent Text API calls on non-text objects.
3785 Changed suspect casts of int-pointer types, so that we
3786 always send a valid CORBA_long pointer to the CORBA APIs that use
3787 in/out long parameters. We then have to copy from the CORBA_long
3788 into the regular long or int for return to the C bindings, or
3789 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
3792 * libspi/deviceeventcontroller.c:
3793 Cleaned these sources up.
3795 Changed return type for getCharacterAtOffset to
3796 CORBA_unsigned_long, to allow for 32-bit characters.
3799 2001-10-08 Bill Haneman <bill.haneman@sun.com>
3803 Fixed 'make dist' so that distro compiles...
3804 * libspi/keymasks.h:
3806 * cspi/spi-listener.c:
3807 KeystrokeListenerCB now returns a boolean.
3809 Added KeyEventType struct, and KeyStroke.
3810 Also added createKeystrokeListener(),
3811 KeystrokeListener_addCallback(),
3812 KeystrokeListener_removeCallback(), and added a keymask to
3813 registerKeystrokeListener().
3814 * cspi/spi_accessible.c:
3815 Changed numerous return types for interfaces from
3816 AccessibleComponent to Accessible<InterfaceName>; this was
3817 probably a cut-and-paste error.
3819 Implementations of new KeystrokeListener api (from spi.h,
3822 Changes to key modifier mapping.
3823 Created ControllerEventMask struct.
3824 Made DeviceEventController derive from Bonobo::Unknown.
3826 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3827 * libspi/deviceeventcontroller.c:
3828 Added a number of new internal (private) methods.
3829 * libspi/editabletext.c:
3830 * libspi/editabletext.h:
3831 Fixed a number of bugs related to the fact that
3832 editabletext inherits from text. Fixed the EditableText struct,
3833 the init() call, and use correct casts when calling Text methods
3834 from an EditableText object. Removed (duplicate) atko from the
3835 EditableText structure, we use the one in the parent Text
3836 structure via the casts mentioned above.
3837 * libspi/keystrokelistener.[ch]:
3838 * libspi/registry.c:
3839 Changes in support of keyboard handling (above).
3841 Keyboard handling, though partly functional, is still not
3842 recommended for at-spi client use as there is considerable
3843 work yet to be done.
3846 Changed some places where pointers to various int types
3847 are cast to be pointers to CORBA_long types and vice-versa:
3848 pointer casting is not safe so we pass pointers of the correct
3849 types and then cast the result before putting it into the target
3852 * libspi/text.h: minor typos corrected.
3854 We now speak not only the name of a Text element, but the
3855 first sentence of its content, when it receives focus.
3856 I also changed the text compression to 75% from 50%.
3857 * util/Accessibility_Util.server.in:
3858 Changed the default magnifier type to be a 3x vertical
3859 splitscreen magnifier (was previously a 2x horizontal one).
3861 2001-10-03 Bill Haneman <bill.haneman@sun.com>
3863 * libspi/keystrokelistener.h:
3864 * libspi/keystrokelistener.c:
3865 Initial functional implementations of KeystrokeListener.
3868 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3870 Fixed string handling for NULL strings in libspi.
3871 Added spi_freeString to free strings returned by C bindings.
3873 2001-09-30 Bill Haneman <bill.haneman@sun.com>
3875 * libspi/keystrokelistener.h:
3876 * libspi/keystrokelistener.c:
3877 Began (no-op) implementations of KeystrokeListener
3879 * libspi/deviceeventcontroller.c:
3880 * libspi/deviceeventcontroller.h:
3881 Began creating implementations of DeviceEventController,
3882 to handle keystroke and mouse event listening and
3884 * libspi/accessible.c:
3885 Stubbed-in the implementations for
3886 Accessibility_Accessible_getState and
3887 Accessibility_Accessible_getRelationSet.
3888 * libspi/registry.c:
3889 Improved de-registration process and fixed some bugs,
3890 deregistration now works correctly.
3892 Added initialization of applications list (to NULL).
3894 Reduced speech compression from 0.5 to 0.7, for demo.
3895 Changed call to gdk_window_set_decorations()
3896 to gtk_window_set_decorated().
3897 * at-bridge/bridge.c:
3898 Bridge now deregisters when app exits, via
3899 registration of a cleanup function
3900 with the g_atexit() call.
3901 Required making 'app' static, renamed 'this_app'.
3902 Fixed broken use of bonobo_init, passing argv wrongly.
3904 2001-09-27 Bill Haneman <bill.haneman@sun.com>
3908 Created a new directory for
3909 accessibility-related utilities, primarily for
3910 testing and demo purposes, but with possible
3917 Onscreen magnifier utility that
3918 is implemented as a bonobo service.
3920 * util/mag_client.c:
3921 * util/mag_client.h:
3922 Client-side support (simple C bindings)
3923 for Magnification service
3925 * util/mag_control.c:
3926 Client program example for
3927 Magnification service
3929 * util/Accessibility_Magnifier.server.in:
3930 Bonobo-activation file for the
3931 Magnification service.
3934 * util/idl/Magnifier.idl:
3935 IDL defining the bonobo Magnification
3939 Modifications to use the bonobo-activated magnifier
3940 above, in place of trying to connect to an existing
3941 magnifier that uses socket-listening IPC.
3943 If env variable MAGNIFIER is set, a magnifier service
3944 will be started if one does not exist.
3946 2001-09-25 Bill Haneman <bill.haneman@sun.com>
3948 * at-bridge/bridge.c:
3949 applied patch from Marc to build and run
3950 against new glib and gtk+ (seemed like a change
3951 to bonobo_init signature was made ?)
3953 made festival-server support turned off by default.
3954 Added support for a simple magnifier (off by default)
3955 which will be added to a 'util' directory later.
3956 * at-bridge/Makefile.am:
3957 Changed "application.h" header from a 'source'
3958 to a 'dependency' of libat-bridge.
3960 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3969 Added interface implementation c files to list of
3970 includes so they are included in libcspi.
3973 Changed prototype of AccessibleAction_doAction to return a
3975 Changed prototype of AccessibleTable_getCaption to
3976 return an Accessible.
3977 Changed prototype of AccessibleTable_getSelectedRows
3978 and AccessibleTable_getSelectedColumns to
3979 return a long (returns the number of selected rows
3980 or columns respectively).
3981 Changed name of AccessibleText_refRunAttributes to
3982 AccessibleText_getAttributes.
3983 Changed prototype of AccessibleText_getCharacterExtents to
3984 return a void rather than a boolean.
3985 Added support for a AccessibleCoordType parameter
3986 specifying what type of coordinates are desired.
3987 Added an AccessibleCordType parameter to
3988 AccessibleText_getPointAtOffset.
3990 * cspi/spi_accessible.c:
3991 Added code to return the outstanding interfaces from
3992 Accessible_queryInterface.
3994 * cspi/spi_action.c:
3996 Corrected call to getNActions to call the c binding
3999 * cspi/spi_editabletext.c:
4001 Changed name from setRunAttributes to setAttributes.
4003 * cspi/spi_hyperlink.c:
4005 Changed call to getNAnchors to correctly call the c
4006 binding for an attribute.
4008 * cspi/spi_hypertext.c:
4010 Changed getImageDescription to correctly call the
4011 binding for an attribute.
4013 * cspi/spi_selection.c:
4014 Changed getNSelectedChildren to correctly call the c
4015 binding for the attribute.
4016 Changed refSelectedChild to getSelectedChild.
4020 Changed getCaption to return an Accessible.
4021 Fixed calls which retrieve attributes.
4022 Changed refAt to getAccessibleAt.
4023 Changed getNSelectedRows and getNSelectedColumns to
4027 Changed getCharacterExtents and getPointAtOffset to accept an
4028 AccessibleCoordType.
4030 Changed calls which retrieve attributes.
4031 Changed refRunAttributes to getAttributes.
4036 * idl/Hyperlink.idl:
4037 Changed n_anchors attribute to nAnchors to keep naming
4038 convention consistent.
4041 Made Table inherit from Bonobo::Unknown.
4042 Added nSelectedColumns and nSelectedRows attributes.
4045 Made Value inherit from Bonobo::Unknown.
4047 * libspi/hyperlink.c:
4048 Change for nAnchors attributte name change.
4050 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4058 Added interface implementation c files to list of
4059 includes so they are included in libcspi.
4062 Changed prototype of AccessibleAction_doAction to return a
4064 Changed prototype of AccessibleTable_getCaption to
4065 return an Accessible.
4066 Changed prototype of AccessibleTable_getSelectedRows
4067 and AccessibleTable_getSelectedColumns to
4068 return a long (returns the number of selected rows
4069 or columns respectively).
4070 Changed name of AccessibleText_refRunAttributes to
4071 AccessibleText_getAttributes.
4072 Changed prototype of AccessibleText_getCharacterExtents to
4073 return a void rather than a boolean.
4074 Added support for a AccessibleCoordType parameter
4075 specifying what type of coordinates are desired.
4076 Added an AccessibleCordType parameter to
4077 AccessibleText_getPointAtOffset.
4079 * cspi/spi_accessible.c:
4080 Added code to return the outstanding interfaces from
4081 Accessible_queryInterface.
4083 * cspi/spi_action.c:
4085 Corrected call to getNActions to call the c binding
4088 * cspi/spi_editabletext.c:
4090 Changed name from setRunAttributes to setAttributes.
4092 * cspi/spi_hyperlink.c:
4094 Changed call to getNAnchors to correctly call the c
4095 binding for an attribute.
4097 * cspi/spi_hypertext.c:
4099 Changed getImageDescription to correctly call the
4100 binding for an attribute.
4102 * cspi/spi_selection.c:
4103 Changed getNSelectedChildren to correctly call the c
4104 binding for the attribute.
4105 Changed refSelectedChild to getSelectedChild.
4109 Changed getCaption to return an Accessible.
4110 Fixed calls which retrieve attributes.
4111 Changed refAt to getAccessibleAt.
4112 Changed getNSelectedRows and getNSelectedColumns to
4116 Changed getCharacterExtents and getPointAtOffset to accept an
4117 AccessibleCoordType.
4119 Changed calls which retrieve attributes.
4120 Changed refRunAttributes to getAttributes.
4125 * idl/Hyperlink.idl:
4126 Changed n_anchors attribute to nAnchors to keep naming
4127 convention consistent.
4130 Made Table inherit from Bonobo::Unknown.
4131 Added nSelectedColumns and nSelectedRows attributes.
4134 Made Value inherit from Bonobo::Unknown.
4136 * libspi/hyperlink.c:
4137 Change for nAnchors attributte name change.
4140 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
4142 implementations-- made server implementations own AtkObject pointers
4143 rather than their respective AtkInterrface pointers to fix
4144 refcounting. AtkHyperlink is still broken.
4146 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4147 * cspi/spi_accessible.c:
4148 Added method Accessible_Role_getName(),
4149 and requisite string array (role_names).
4150 Added conversion string_from_corba_strin() call
4151 to Accessible_getName and _getDescription.
4152 * libspi/accessible.c:
4153 Added implementation for Accessible_getRole()
4155 Added festival support, used if environment variable
4158 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4160 * at-bridge/bridge.c:
4161 Now allocate Accessibility_Event using
4162 Accessibility_Event__alloc() instead of g_new0().
4163 * libspi/accessibleeventlistener.c:
4164 Initialize AccessibleEventListener->callbacks to NULL.
4165 Fixed accessible__event_listener_init() param, changed to
4166 "AccessibleEventListener *" type.
4167 Changed a bonobo_object_release_unref() call to
4168 Accessibility_Accessible_unref().
4169 * libspi/listener.c:
4170 Changed Bonobo_Unknown_unref to (equivalent)
4171 Accessibility_Accessible_unref.
4172 * libspi/registry.c:
4173 Changed bonobo_object_release_unref to
4174 Accessibility_Accessible_unref.
4176 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4179 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
4180 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
4181 spi-util.c spi-util.h
4182 Implementations for C bindings to remaining accessibility
4185 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4188 changed return value of Action from void to boolean to
4189 bring in line with ATK.
4192 Changed getText funcions to return "out" start and end offsets.
4193 Changed getAttributes to take and offset and return the start
4194 and end offset of the attribute run.
4195 Changed getOffsetAtPoint and getCharacterExtents to take an
4196 enum describing whether coordinates are window or screen.
4199 libspi/action.c libspi/action.h libspi/editabletext.c
4200 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
4201 libspi/hypertext.c libspi/hypertext.h libspi/image.c
4202 libspi/image.h libspi/selection.c libspi/selection.h
4203 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
4204 libspi/value.c libspi/value.h
4205 Added server implementations for outstanding ATK interfaces
4206 not yet implemented.
4208 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4211 Added (missing) getName() method.
4212 Made nActions an attribute.
4213 * idl/EditableText.idl:
4214 Changed order of params in setAttributes.
4215 * idl/Hyperlink.idl:
4216 Removed getAnchor, added getURI.
4218 Changed attributes to methods, for efficiency
4219 (so that getting extents can be done in one call)
4220 * idl/Selection.idl:
4221 Changed nSelectedChildren to attribute, and re-indented.
4222 * idl/Table.idl: changed nrows, ncolumns, caption, summary
4224 * idl/Text.idl: reformatted to match our coding style.
4225 (temporarily?) removed getRowColumnAtOffset().
4226 Changed text selection API to support multi-select and
4227 non-contiguous selections, as in ATK.
4228 * idl/Value.idl: changed some methods to attributes.
4230 2001-08-24 Mark McLoughlin <mark@skynet.ie>
4232 * libspi/listener.c(impl_notify_event):
4233 BonoboUnkown_unref the source instead
4234 of bonobo_object_release_unref - the ORB
4235 handles the releasing.
4237 * configure.in: require ORBit-2.3.94 for
4240 2001-08-21 Bill Haneman <bill.haneman@sun.com>
4242 Tagged CVS repository 'EA_1_0'.
4243 * README.EARLY_ACCESS:
4244 Alphabetized acknowledgements list, and
4246 Listed some known dependencies of at-spi.
4248 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4250 * docs/at-spi-docs.sgml:
4251 * docs/at-spi-sections.txt:
4252 * docs/at-spi-overrides.txt: (Added zero-length file)
4253 Documentation improvements - gtk-doc should build
4254 docs for all implemented C bindings now.
4257 * cspi/spi.c: (New file)
4258 * cspi/spi_event.c: (New file)
4259 * cspi/spi_registry.c: (New file)
4260 * cspi/spi_accessible.c: (New file)
4261 * cspi/spi_application.c: (New file)
4262 * cspi/spi_component.c: (New file)
4263 Split spi_main.c into six parts, and included them from
4264 "spi.c". This is a bit of a hack, probably temporary,
4265 but required by gtk-doc, apparently.
4267 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4270 * docs/at-spi-docs.sgml:
4271 * docs/at-spi-sections.txt:
4273 Initial checkins/modifications for gtk-doc generation.
4276 Added (missing) interface query methods to Accessible's C binding.
4278 Added GenericInterface type definition.
4280 Added query for AccessibleComponent interface to focus event handler.
4281 Added printout of bounding box for focussed component.
4282 * libspi/component.c:
4283 Added partial implementation for AccessibleComponent to C binding.
4284 * idl/Application.idl:
4285 * libspi/registry.c:
4286 * libspi/listener.c:
4287 * libspi/application.c:
4288 * libspi/application.h:
4289 Changed "ID" attribute type from string to long.
4291 2001-08-19 Bill Haneman <bill.haneman@sun.com>
4295 Made method naming consistent: methods taking object args
4296 start with uppercase, other methods (except those using
4297 acronyms) start with lowercase. Underscores delimit between
4298 object names and method names:
4299 SPI_init() - uppercase since it starts with an acronym.
4300 getDesktopCount () - lowercase start since no object param0.
4301 Accessible_getName() - uppercase object type name, studlyCaps method
4305 Added gtk-doc documentation for all currently implemented
4306 methods in the C bindings API.
4308 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4310 * Makefile.am : changed build order to build test last.
4313 Changed "createEventListener" to "CreateEventListener".
4314 * libspi/accessibleeventlistener.c :
4315 Bugfix for addition of callbacks.
4316 * test/Makefile.am :
4317 * test/simple-at.c :
4318 Added new test that uses the C bindings API.
4320 * libspi/listener.c :
4321 * libspi/registry.c :
4322 * libspi/accessibleeventlistener.c :
4323 * at-bridge/bridge.c :
4324 Renamed member "target" of Accessibility_Event to "source",
4325 which is more descriptive.
4328 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4332 * cspi/Makefile.am :
4333 Added makefile support for at-spi/cspi directory.
4336 * cspi/spi-listener.h : (NEW FILE)
4337 Added support for/use of spi-listener.h.
4339 C bindings now build successfully, with no warnings.
4340 * libspi/accessibleeventlistener.h : (NEW FILE)
4341 * libspi/accessibleeventlistener.c : (NEW FILE)
4342 * libspi/Makefile.am :
4343 Added new object type "AccessibleEventListener"
4344 which inherits from Listener, and allows attachment
4345 of in-process callbacks (so that a client with a listening
4346 object instance can add functionality to the local
4347 implementation, dynamically).
4349 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4351 * libspi/accessible.c:
4352 Add implementation for get_index_in_parent().
4354 Added #include of "spi-roletypes.h", and
4355 added enumerated type AccessibleCoordType.
4356 Added definition for KeystrokeListener (function type).
4359 * cspi/spi-statetypes.h :
4360 * cspi/spi-roletypes.h :
4362 Added these headers, used by spi.h.
4364 Added code (NOTE: not yet built by make).
4366 2001-08-18 Mark McLoughlin <mark@skynet.ie>
4368 * libspi/Makefile.am: generate imodule
4369 at the same time as other idl compiler
4372 2001-08-17 Bill Haneman <bill.haneman@sun.com>
4373 * libspi/registry.c :
4374 * libspi/application.c :
4375 * idl/Application.idl :
4376 Made registration with toolkit an application method,
4377 which is required since each app has its own toolkit static
4378 environment. Thus the bridge must register for
4379 notification of toolkit events from each application in turn.
4380 Toolkit notifications are now successfully registered for, and
4381 sent to the listening at client.
4383 Changed toolkit event string to use hyphens rather than underscores.
4384 * libspi/listener.c :
4385 listner now gives more info in debug mode - it reports the
4386 name of the event received, as well as the name of the source.
4389 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4391 * libspi/registry.c :
4392 added more implementation for toolkit events.
4393 Fixed bug such that toolkit event registrations
4394 (via atk) use the whole event name string, not
4396 Removed a useless call to an ORBit_ method.
4397 * at-bridge/bridge.c :
4398 Removed unused local sbuf[] variable.
4400 We now register for Gtk:GtkWidget:button_press_event
4401 events as well as "focus:" events.
4403 Add some more API from Registry.idl that was missing,
4404 for keystroke listening, keystroke and mouse event
4405 synthesis, and enumeration of accessible desktops.
4407 2001-08-16 Michael Meeks <michael@ximian.com>
4409 * configure.in: use AM_GLIB_GNU_GETTEXT.
4411 * Makefile.am (SUBDIRS): kill intl.
4413 2001-08-15 Michael Meeks <michael@ximian.com>
4415 * registryd/Makefile.am: s/oaf/server/ relocate info file.
4417 * configure.in: upd.
4419 * configure.in: depend on a recent bonobo-activation that
4420 will find our server files ...
4422 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4424 * libspi/accessible.c : accessible_new() :
4425 Now we add the Component interface via bonobo_object_add_interface,
4426 if the contained AtkObject implements AtkComponent.
4427 * libspi/accessible.h : now include "component.h"
4428 * libspi/component.h :
4429 * libspi/component.c : added files - implementation of
4430 bonobo wrapper object for Accessibility/Component
4431 * libspi/listener.c :
4432 Added test code to check for Accessibility/Component:1.0
4433 interface and report whether it is implemented by the
4435 * libspi/registry.c :
4436 Now we check for not only the hash of the whole event
4437 string before relaying the event, we also check the
4438 "minor" event string (without the detail string).
4439 This allows event listeners to be registered against
4440 all events of a certain major+minor type, or just
4441 against a specific major+minor+detail type.
4442 * libspi/accessible.c :
4443 Added implementations for Accessible:get_parent(),
4444 Accessible:getChildCount(), and Accessible:getChildAtIndex().
4445 * libspi/registry.c :
4446 * libspi/listener.c :
4447 Replaced calls to Accessibility_Accessible_ref() and
4448 Accessibility_Accessible_unref() with
4449 calls to bonobo_object_dup_ref() and
4450 bonobo_object_release_unref(), so that the CORBA object
4451 is dup-ed and released when relayed, as well as the bonobo object.
4453 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4455 * libspi/Makefile.am,
4456 registryd/Makefile.am,
4457 at-bridge/Makefile.am.
4458 test/Makefile.am, configure.in:
4459 reverse previous changes.
4461 * /idl/Image.idl: fix typo.
4463 * test/Makefile.am: put DEBUG_FLAGS
4466 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4468 * test/app.c: use argv[0] instead of
4471 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4473 * libspi/Makefile.am,
4474 registryd/Makefile.am,
4475 at-bridge/Makefile.am.
4476 test/Makefile.am, configure.in:
4477 cleanup, replace individual LIBS/CFLAGS with
4478 AT_COMMON_{LIBS|CFLAGS}.
4482 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4484 * configure.in, libspi/Makefile.am:
4485 Change IDL path checking for bonobo-activation
4488 2001-08-15 Bill Haneman <bill.haneman@sun.com>
4490 * registryd/registry.c : separated event listeners to use
4491 3 separate lists (focus, window, toolkit). Began testing
4492 event names against hashes before relaying events.
4493 * test/at.c : now register for events of type "focus:"
4494 * test/app.c : now generate events of type "focus:"
4495 * at-bridge/bridge.c : register with ATK for focus events,
4496 and we now relay those focus events to any "focus:" listeners.
4497 This now works with the bridge as a GTK_MODULE when running test/at.
4498 * libspi/registry.c :
4499 * libspi/listener.c :
4500 now we ref event sources before propagating, and unref on receipt.
4501 * libspi/registry.c :
4502 some changes to internal structs, to support event typestring hashes.
4503 * text/app.c : changed the way the appname is generated.
4504 * cspi : added directory that will hold the C bindings library for
4505 non-CORBA/bonobo-savvy clients.
4506 * cspi/spi.h : header file that contains the function prototypes for the C binding.
4507 * idl/Component.idl : added in parameter to indicate coord system for
4508 geometry-related calls.
4509 * idl/Hyperlink.idl : added readonly n_links attribute
4510 * idl/Image.idl : changed methods to attributes.
4512 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4514 * at-bridge/Makefile.am: link against
4515 ../libspi/libspi.la instead of -lspi.
4517 * at-spi/test/app.c: include
4518 bonobo-activation.h. Use a default appname
4519 if one is not provided.
4521 2001-08-14 Bill Haneman <bill.haneman@sun.com>
4523 * idl/Registry.idl : temporarily changed register_Application
4524 to oneway, to work around issue with initial registration
4526 * idl/Application.idl : changed attribute "id" from readonly
4527 to read-write, since it needs to be assigned by Registry.
4528 * registryd/registryd.c : added call to set application id
4530 * registryd/registry.c : changed de-registration procedure to
4531 use CORBA_Object_hash() to find matching object ref in application
4532 lists and listener lists.
4533 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
4534 began distinguishing between event types (work in progress).
4536 2001-08-13 Bill Haneman <bill.haneman@sun.com>
4539 * libspi/application.c:
4540 Added implementations for get/set id, get_toolkitName,
4542 * registryd/registryd.c :
4546 Converted from use of OAF to bonobo-activation.
4547 * libspi/desktop.h :
4548 * libspi/desktop.c :
4550 Removed references to atksimpleobject, since base atkobject
4551 implementation now provides functionality we need.
4552 * libspi/atksimpleobject.c :
4553 * libspi/atksimpleobject.h :
4558 * at-bridge/Makefile.am
4559 * at-bridge/bridge.c
4562 Added directory "bridge" and contents, and added dependencies
4563 in Makefile.am/configure.in.
4564 Initial checkin of "at-bridge".
4565 This code is a GTK_MODULE which automatically registers
4566 GTK+ apps with the accessibility registry, using an object
4567 reference to the root ATK object.
4569 2001-08-10 Mark McLoughlin <mark@skynet.ie>
4571 * po/Makefile.in.in: Remove. Again. If this
4572 doesn't get autogenerated - you need to update
4575 2001-08-07 Mark McLoughlin <mark@skynet.ie>
4577 * po/Makefile.in.in: Add. Again.
4579 2001-07-31 Bill Haneman <bill.haneman@sun.com>
4581 * libspi/accessible.c : added support for 'description' property.
4582 * libspi/accessible.c
4584 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
4585 (since the two are now equivalent in libbonobo)
4593 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
4594 Bonobo::Unknown as does Accessibility::Accessible.
4595 * idl/StreamableContent.idl : as above, and replaced internal InputStream
4596 interface with Bonobo::Stream, since it was redundant with it.
4597 (The Stream returned by a StreamableContext object is expected to
4598 implement only a subset of Bonobo::Stream)
4600 2001-07-28 Anders Carlsson <andersca@gnome.org>
4602 * libspi/accessible.c (accessible_object_finalize): Change
4603 g_free to g_object_unref since the AtkObject is a GObject.
4605 2001-07-30 Bill Haneman <bill.haneman@sun.com>
4607 * idl/Accessibility.idl: add new IDL files
4610 * idl/Action.idl: Definitions of actionable UI object
4611 * idl/Component.idl: Definitions of UI component geometry, etc.
4612 * idl/Hyperlink.idl: Defs of hyperlink behavior
4613 * idl/Image.idl: Def of accessible image
4614 * idl/Selection.idl: Definition of UI object with selectable children
4615 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
4616 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
4617 * idl/Text.idl: Interface defs for UI elements with complex textual content
4618 * idl/Value.idl: Definition of UI element that is a value controller or display
4620 2001-07-27 Michael Meeks <michael@ximian.com>
4622 * po/Makefile.in.in: remove autogenerated file from CVS.
4624 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
4627 * idl/Registry.idl: include guard.
4629 * idl/Accessibility.idl: Add, and include all the other IDL
4632 * idl/*.idl: remove mass of pragmas etc.
4634 2001-07-26 Michael Meeks <michael@ximian.com>
4636 * registryd/Makefile.am (registryd_SOURCES): remove
4639 2001-07-27 Mark McLoughlin <mark@skynet.ie>
4641 * libspi/.cvsignore, registryd/.cvsignore,
4642 test/.cvsignore: updated.
4644 * po/Makefile.in.in: gettext update.
4646 2001-07-25 Bill Haneman <bill.haneman@sun.com>
4648 * initial CVS checkin
4650 2001-06-29 Michael Meeks <michael@ximian.com>
4652 * configure.in: add AM_CONFIG_HEADER to gen config.h