1 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3 * registryd/Makefile: Add CLEANFILES so that .server file is removed
6 * registryd/registry.c (impl_registry_notify_event): Remove
7 unnecessary call to parser_event_type().
9 * docs/reference/cspi/tmpl/spi_component.sgml:
10 Add reference to SPI_LAYER_WINDOW.
12 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
14 * registryd/registry.c
15 (desktop_add_application): Remove leak.
16 (desktop_remove_application): Remove leak.
17 (parser_event_type): Remove leak.
19 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
21 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
22 bogus call to CORBA_string_dup(). Also removed unnecessary
23 g_string_dup/g_free calls.
25 2002-09-13 Bill Haneman <bill.haneman@sun.com>
27 * registryd/deviceeventcontroller.c:
28 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
30 * test/event-listener-test.c:
31 main: commented out three redundant listeners, to reduce output
32 noise. (They still are potentially useful for testing).
35 2002-09-13 Michael Meeks <michael@ximian.com>
37 * Update all the copyrights to include Ximian.
39 2002-09-06 Mark McLoughlin <mark@skynet.ie>
41 * cspi/spi.h: add SPI_LAYER_WINDOW.
43 * cspi/spi_component.c: (AccessibleComponent_getLayer):
44 add Accessibility_LAYER_WINDOW case.
46 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
48 * libspi/component.c: (impl_accessibility_component_get_layer):
49 add ATK_LAYER_WINDOW case.
51 2002-08-28 Bill Haneman <bill.haneman@sun.com>
53 * configure.in: incremented micro version.
55 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
57 2002-08-20 Bill Haneman <bill.haneman@sun.com>
60 Clarified and reworded our commit policy.
63 Started an API "todo" addition list for 2.2.
67 Free char pointer from atk_text_get_selection, which was being leaked.
69 2002-08-19 Bill Haneman <bill.haneman@sun.com>
72 Small revision to author acknowledgement.
74 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
76 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
77 If signal has detail add it to the type of the event.
80 2002-08-12 Michael Meeks <michael@ximian.com>
82 * test/test-simple.c (global_listener_cb): bin bogosity.
83 (test_keylisteners): disable, still doesn't work reliably,
84 certainly not on my system anyway.
86 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
87 don't leak a reference on the DEC. This round-trip
88 fetching of the DEC per keystroke sucks, it should be
92 * cspi/cspi-lowlevel.h,
93 * cspi/bonobo/cspi-bonobo-listener.[ch],
94 * cspi/bonobo/cspi-bonobo.c: get the copyright
95 notices better - there is still a large amount of
96 work in at-spi falsely attributed solely to Sun.
98 * cspi/spi_main.c (cspi_object_ref): kill bogus
99 hash lookup, just increment the ref.
100 (SPI_freeString): make explicit the fact that we
101 handle NULL strings just fine.
102 (report_leaked_ref): obey coding standards.
103 (cspi_object_hash, cspi_object_equal): kill retval.
104 (cspi_object_release): only release if not on loan.
105 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
106 (cspi_object_borrow, cspi_object_return): impl.
108 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
109 use cspi_object_borrow / return.
111 2002-08-12 Darren Kenny <darren.kenny@sun.com>
113 * cspi/bonobo/cspi-bonobo-listener.c:
115 Don't call cspi_oject_new() because this is creating a new Accessible
116 every single time that an event is fired. This causes ATs like at-poke
117 to nolonger recognise the source of the event and thus ignore it.
118 Re-use the object from the cache, ref it and then unref it after the
119 listeners have been called.
121 2002-08-06 Darren Kenny <darren.kenny@sun.com>
123 * test/event-listener-test.c:
124 Added command-line options to disable mouse events (m) and
127 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
129 * configure.in: Update required versions of ATK, GTK+ and GAIL
131 * cspi-1.0.pc.in: Add dependency for X include files
134 * cspi/bonobo/Makefile.am:
135 Add $(X_CFLAGS) so that X include files
136 are picked up even if not in standard place (bug #71686)
138 2002-06-25 Bill Haneman <bill.haneman@sun.com>
140 * registryd/deviceeventcontroller.c: fix for 84261
141 (spi_dec_mouse_moved):
142 Added test of mouse button mask, so that we can detect mouse
143 button release. Unfortunately we can't otherwise detect mouse
144 button release events without consuming the mouse press event,
145 because of the way XGrabButton works. This means that our mouse
146 release events have a latency dependent on the polling period
147 while the mouse button is down. At least in this case we only
148 have to poll while the button is down, and not at other times.
149 If the button masks don't match with what the last press event
150 reported, we report the appropriate button release event.
151 (spi_dec_ungrab_mouse):
152 New method (not yet called).
153 (spi_device_event_controller_forward_mouse_event):
154 New method, sends mouse press event from GdkFilter.
155 (spi_dec_init_mouse_listener):
156 Added code to call XGrabButton, redirecting mouse button events to
157 the root window and our Gdk event loop.
159 Added code to filter mouse button events, and reordered.
161 * test/event-listener-test.c:
163 Added registration for mouse events of type "mouse:button".
165 2002-06-25 Bill Haneman <bill.haneman@sun.com>
167 * registryd/deviceeventcontroller.c: partial fix for 84261
168 (spi_dec_poll_mouse_idle):
169 New method, a timeout which checks to see if the mouse
171 (spi_dec_poll_mouse_moving):
172 A timeout to be called when mouse motion is underway.
173 (spi_dec_poll_mouse_moved):
174 A method which fires an event if the mouse has moved, and reports
175 whether or not it did so.
176 (spi_dec_init_mouse_listener):
177 A method which sets up the timeouts above.
178 (spi_device_event_controller_new):
179 Now calls spi_dec_init_mouse_listener.
181 * registryd/registry.c:
183 Now we initialize the device event controller when the registry is
184 initialized, instead of waiting until a client has requested a key
185 event notification; this is because we need the event controller
186 for mouse events, but the mouse event registration API is a
187 "registry" call and doesn't explicitly call the
188 deviceeventcontroller.
189 We now report mouse motion events with a 100 ms idle latency and
190 a 20 ms granularity when motion is in progress.
192 * test/event-listener-test.c:
194 We now register the "detail listener" for events of type
195 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
196 delivered only for the first mouse event received, and thereafter
197 "mouse:abs" events are delivered.)
199 * cspi/spi_registry.c:
200 DOCS: Documented the above mouse event typestrings.
202 2002-06-21 Bill Haneman <bill.haneman@sun.com>
204 Happy Summer Solstice...
206 * registryd/deviceeventcontroller.c: [fix for bug 84100]
207 (spi_controller_notify_keylisteners):
208 Changes to remove a listener from the listener list, freeing its
209 open keygrabs, if a notification to that listener fails. This
210 means that although a dead listener can continue to hold a passive
211 keygrab, a maximum of one dispatch to such a listener can fail
212 before the listener is removed from the list, thus the keygrab
213 will be released on the next occurrence.
215 (spi_notify_keylisteners):
216 Renamed to spi_controller_notify_keylisteners, as the controller
217 instance must now be passed as an argument.
218 The copied 'notify' GList is now a list of DEControllerKeyListener
219 objects, since we need more than just the CORBA reference if a
220 notify fails and we need to deregister the listener.
221 (impl_notify_listeners_sync):
222 (impl_notify_listeners_async):
223 (spi_device_event_controller_forward_key_event):
224 Modify use of notify_keylisteners in accordance with above
226 (spi_deregister_controller_key_listener):
227 New method introduced by refactoring, from
228 impl_deregister_keystroke_listener.
229 (impl_deregister_keystroke_listener):
230 Call spi_deregister_controller_key_listener.
231 (spi_key_listener_clone):
232 New method to copy a key listner without doing a 'ref' on the
233 remote object instance; used to create a notifier list.
234 (spi_key_listener_data_free):
235 New method, frees data without unreffing the source.
237 (spi_key_listener_clone_free): new method.
238 (spi_key_listener_free):
239 refactored to call spi_key_listener_data_free.
241 2002-06-20 Bill Haneman <bill.haneman@sun.com>
243 * registryd/registry.c: [fix for bug 86048]
244 (notify_listeners_cb):
245 Clear CORBA system exceptions which occur when notifying
246 listeners, before returning to the source of the original event,
247 since the event source doesn't care if the relayed notify failed.
248 In other words, don't complain to the atk-bridge if the registry
249 could not notify all its listeners, that's no fault of the
250 application and thus should not appear to be an error from the
251 application's perspective.
253 * cspi/spi_main.c: [fix for bug 85980]
255 Replaced use of bonobo_object_dup_ref with call to the wrapper
256 method, csou_dup_ref (); this silences a compiler warning and
257 provided more portability.
259 Ping the registry before return, and restart if necessary.
261 * cspi/bonobo/cspi-bonobo.c:
265 Fixed this method to return an object reference, as it should have
268 * cspi/cspi-lowlevel.h:
269 Added internal definition for cspi_ping() and fixed
270 return type of cspi_dup_ref().
273 2002-06-19 Bill Haneman <bill.haneman@sun.com>
275 * atk-bridge/bridge.c: [fix for bug 85305]
276 (spi_atk_bridge_register_application):
277 New method where the initial application registry calls have been
278 moved; it allows an application to re-register in response to
279 certain error conditions (such as a registry restart, see below).
281 Moved some initialization code to the method
282 spi_atk_bridge_get_registry, below.
283 (spi_atk_bridge_get_registry):
284 New, private accessor function for the Accessibility_Registry
285 instance. If the registry has not been started before, or has
286 died (as detected by failure of a CORBA exception), it is
287 restarted before return, and spi_atk_bridge_register_application
288 is called again to register with the new bridge instance.
289 (spi_atk_emit_eventv):
290 Set registry_died on error; use spi_atk_bridge_get_registry () to
293 * registryd/registry.c:
294 (impl_accessibility_registry_register_global_event_listener):
295 Set listener's event_type_quark to etype.minor instead of
296 etype.major (fix for bug 84856).
298 * test/event-listener-test.c:
299 (report_detail_event):
300 Change the output string so that user/tester can tell that the
301 'detail listener' was called instead of the 'generic listener'.
303 2002-06-18 Bill Haneman <bill.haneman@sun.com>
305 Fixes for bugs 84900, 84908, 84897, 84898.
310 Revved version to 1.1.0
311 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
312 version is going to HEAD which will be used for gnome-2-0-1 and later.)
314 * idl/Accessibility_Registry.idl:
315 (EventListener::notifyEvent):
316 Removed 'oneway' directive after extensive consulation with
317 ORBit2 team and others. This means also that unref() of the event
318 source can and should be done synchronously after emission, rather
319 than remotely in the client, after servicing the notify call on
322 NOTE: This change speeds up listener performance considerably, but
323 introduces new latency on the application side. We may want to
324 add an event queue to the atk-bridge.
326 * atk-bridge/bridge.c:
327 (spi_atk_bridge_focus_tracker):
328 Do a local unref() on the event source after emission.
330 * registryd/registry.c:
331 (desktop_remove_application):
332 Do an unref() on the event source after emission.
333 (desktop_add_application):
334 Do an unref() on the event source after emission.
335 (notify_listeners_cb):
336 When relaying an event, don't automatically add the event source
337 to the local object cache, just CORBA_dup it instead. Likewise,
338 if this method reenters, release the ref rather than calling
340 (impl_registry_notify_event):
341 No longer call remote unref() on the event source after dispatch.
343 * libspi/eventlistener.c:
344 (impl_accessible_event_notify_event):
345 Removed remote unref ()
347 * cspi/bonobo/cspi-bonobo-listener.c:
349 We now call cspi_object_new() instead of cspi_object_add() on
350 receipt of an event; thus we only have an implicit object ref
351 while the cspi_event method is being executed. If we need to keep
352 a reference to the object, the listener must call ref() on the
353 object. Thus also we don't need to call cspi_object_unref() after
354 invoking the listener callbacks in this method.
358 New internal API for creating a new cspi object, without adding it
361 Now uses cspi_object_new() to create the cspi object instance.
363 Now checks to see if the object is in the internal object cache,
364 and adds it if necessary before incrementing its refcount (note
365 that new objects are added with a refcount of 1).
367 New method which gives some information on leaked object instances
368 if leak detection is turned on.
370 * test/event-listener-test.c:
372 New method, used for testing event delivery timing for special
373 events of type "object:test". It reports elapsed time and
374 events/sec every 500 events.
376 Added a new listener, 'test listener', to check timing of event
377 receipt as noted above.
379 Added some timing output here also, reports elapsed time every 100
382 * test/stress-test.c:
383 Emit events of type "object:test", for use with "event-listener-test".
385 * test/test-simple.c:
386 (global_listener_cb):
387 Call Accessible_ref() on the event source before calling
388 validate_accessible, since the validation process does pointer
389 comparisons on the event source, meaning that the event source
390 needs to be added to the local object cache first. Any use of
391 such pointer comparisons between Accessible objects requires that
392 the caller hold an explicit reference to those objects.
393 We also must therefore call Accessible_unref() when leaving this method.
395 2002-06-13 Bill Haneman <bill.haneman@sun.com>
397 * registryd/deviceeventcontroller.c:
398 (spi_controller_update_key_grabs):
399 Fix for #84735, subsequent keygrab listeners not informed of
400 registration failure.
403 (spi_base_construct):
404 Add an assertion on construct, to make sure the GObject passed in
407 Explicitly initialize object->gobj pointer to NULL;
409 * cspi/bonobo/cspi-bonobo-listener.c:
410 (cspi_object_add_ref):
411 New method, can specify whether to dup-ref a bonobo object passed
412 in if it's newly added to the object cache.
414 Now calls cspi_object_add_ref with second param of "FALSE". This
415 prevents us from doing a pointless dup-ref followed by
416 release-unref for all those cases where the object is already in
417 our object cache (fix for #85205).
419 * atk-bridge/bridge.c:
420 (spi_atk_bridge_idle_init):
421 Removed this method, we don't need to initialize in an idle
424 Changed to call spi_atk_register_event_listeners directly, not via an
425 idle handler. (fix for #81139)
426 (gnome_accessibility_module_shutdown):
427 Removed conditional around deregistration of listeners, since we
428 don't use the idle handler and thus have always registered when
430 (spi_init_keystroke_from_atk_key_event):
431 Changed references to Accessibility_KEY_PRESSED to
432 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
434 2002-06-12 Bill Haneman <bill.haneman@sun.com>
436 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
441 * test/stress-test.c:
444 (may have been an incomplete commit yesterday?)
446 2002-06-12 Bill Haneman <bill.haneman@sun.com>
449 Added target for new stress-test.
451 * test/stress-test.c:
452 New test, sends 1000 focus notifies in quick succession.
454 * test/key-listener-test.c:
455 Now we report whether a keylistener registration
456 request succeeded or failed.
458 * test/event-listener-test.c:
459 Uncommented some listeners which are now implemented.
462 2002-06-06 Bill Haneman <bill.haneman@sun.com>
464 * registryd/deviceeventcontroller.c:
465 (spi_controller_update_key_grabs):
466 Fix for #82509, lack of failure notification when
467 ALL_WINDOWS keygrabs fail due to XGrabKey
468 failure: we synchronize the server when
469 registering a passive grab, to make sure we get the
470 error message before the call returns.
472 2002-06-03 Bill Haneman <bill.haneman@sun.com>
474 * test/test-simple.c:
476 Removed #ifdef KEY_IMPL_WORKS guards.
478 Removed #ifdef KEY_IMPL_WORKS guards.
479 Fixed bug which was causing a hang waiting for a
480 "press" event (which was already overwritten by a "release"
481 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
483 Added code to set globals 'key_press_received' and
484 'key_release_received'.
487 Added section "1.1 API Proposed Additions" which
488 lists API additions desired for at-spi-1.1 (only one so far).
489 Updated TODO list a little.
491 2002-06-02 Bill Haneman <bill.haneman@sun.com>
493 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
496 * configure.in: Revved to 1.0.0.
498 * idl/Accessibility_Registry.idl:
499 (registerKeystrokeListener):
500 Added boolean return value.
502 * registryd/registry.c:
503 (notify_listeners_cb): Minor fix to debug output.
505 * registryd/Accessibility_Registry.server.in.in:
506 Revved version number in OAFIID to 1.0.
508 * registryd/registryd.c:
510 Use new OAFIID version.
512 * cspi/bonobo/cspi-bonobo.c:
514 Use new OAFIID version.
520 * atk-bridge/bridge.c:
522 Use new OAFIID version.
524 * registryd/deviceeventcontroller.c:
525 (impl_register_keystroke_listener):
526 Added CORBA_boolean return value.
527 (spi_controller_register_device_listener):
528 Added gboolean return value.
529 (spi_controller_register_global_keygrabs):
530 Added gboolean return value.
531 (spi_key_set_contains_key):
532 Added implementation for many more control keys,
533 for instance F1-F12, arrow keys, End, Home, Page_Up,
535 [TODO: some still not implemented].
537 * text/screen-review-test.c:
538 (text_chunk_pad_string):
539 New function: it provides mapping between coordinate
540 positions of text chunks and character positions in the
541 screen-review-line output string.
542 (text_chunk_to_string):
543 New function, calls text_chunk_pad_string with various
544 pad/delimiter characters. Pushbuttons are delimited with
545 square brackets, Frames with vertical 'pipe' lines, and
546 other text with double quotes.
547 (text_chunk_list_to_string):
548 Calls new function text_chunk_to_string.
549 (toplevel_composite):
550 New function to composite layers CANVAS through
551 POPUP in each toplevel (other layers are composited
552 across toplevels, i.e. BACKGROUND and OVERLAY).
553 (review_buffer_composite):
554 Revise to use new methods.
560 2002-05-31 Laszlo Peter <laca@sun.com>
562 * configure.in: add the Xtst libdir to the runpath on Solaris,
563 since it's not in the default library search path.
565 2002-05-29 jacob berkman <jacob@ximian.com>
567 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
569 2002-05-29 Bill Haneman <bill.haneman@sun.com>
571 * test/screen-review-test.c:
572 (text_chunk_pad_string):
573 Added method, which pads the string according to the
574 text bounds of the chunk. It also takes a 3-character
575 string as a param which indicates the characters to be
576 used for start, padding, and end delimitation of the chunk.
577 (text_chunk_to_string):
578 Changed to use text_chunk_pad_string.
580 * configure.in: Fixed bug in AC_OUTPUT that was
581 causing path substitution in Accessibility_Registry.server
584 2002-05-23 Bill Haneman <bill.haneman@sun.com>
586 * text/screen-review-test.c:
588 New method which attempts a best-guess at clipping
589 text from components (like Java labels) which don't
590 actually implement AccessibleText. This inaccurate
591 clip is based on the assumption that the label is
592 justified left-and-right, and monospaced.
593 (text_chunk_get_clipped_string):
594 We now call guess_string_clip() for text-containing
595 components that don't implement AccessibleText.
597 * test/screen-review-test.c:
598 (review_buffer_get_text_chunk):
599 We now pull "name" from labels if they do not implement
600 AccessibleText (i.e. for Java labels).
601 (get_screen_review_line_at):
602 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
605 Replaceded AC_OUTPUT target
606 registryd/Accessibility_Registry.server with
607 registryd/Accessibility_Registry.server.in.
609 * registryd/Accessibility_Registry.server.in:
610 Removed (this is now a Makefile target).
612 * registryd/Accessibility_Registry.server.in.in:
613 Added (source for target above). We now use $(libexecdir) as
614 prefix for the executable at-spi-registryd.
616 * registry/Makefile.am:
617 Now install at-spi-registryd into $(libexecdir), and build .server
618 file with path (see above).
620 2002-05-22 Bill Haneman <bill.haneman@sun.com>
622 * test/screen-review-test.c:
623 (text_chunk_get_clipped_string):
624 We now check to see if words fall within clip bounds
625 before resorting to character-by-character clip bounds testing.
627 * TODO: Added a section for "2.2 Proposed API Additions".
629 2002-05-21 Bill Haneman <bill.haneman@sun.com>
631 * test/screen-review-test.c:
633 Added a screen review benchmarking and test program to test
636 * cspi/spi_accessible.c:
638 Made some of the debug strings passed to cspi_check_ev a
639 little more specific.
641 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
643 * test/screen-review-test.c: Fix crashes in debug statements
645 2002-05-20 Bill Haneman <bill.haneman@sun.com>
647 * test/screen-review-test.c: Added this file.
649 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
651 * atk-bridge/bridge.c: changed "object:state-change" to
652 "object:state-changed" to match docs.
654 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
656 * atk-bridge/bridge.c: Hooked up state-change event details.
658 2002-05-11 Bill Haneman <bill.haneman@sun.com>
660 * registryd/registry.c:
661 Fixed quarking bug in event string parsing; now events with
662 detail parameters get matched correctly to listeners.
665 * util/idl/Magnifier.idl: remove.
667 * util/*.[ch]: Remove.
668 Magnification utilities and IDL are now in module gnome-mag.
670 2002-05-10 Bill Haneman <bill.haneman@sun.com>
672 * registryd/deviceeventcontroller.c:
673 Fixed bug in grab key conversion which was causing keycode grabs
674 to be converted to AnyKey grabs.
677 updated NEWS file to reflect recent spin-off of gnome-mag.
679 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
681 * cspi/spi_accessible.c: Added exception checks. Fixed completely
682 busted AccessibleStateSet_compare. Removed redundant casts.
684 * cspi/spi-action.c: Removed redundant casts.
686 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
688 * cspi/spi_component.c: Fixed typos and casting error.
690 * cspi/spi_editabletext.c: Removed redundant casts.
692 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
694 * cspi/spi_hypertext.c: Eliminated redundant casts.
696 * cspi/spi_image.c: Eliminated redundant casts.
698 * cspi/spi_registry.c: Eliminated redundant casts.
699 SPI_deregisterGlobalEventListenerAll () removed retval variable.
700 * cspi/spi_selection.c: Removed redundant casts.
701 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
702 handling. Screen geometry and text offsets were being returned as 0
703 on error which is technically valid-- changed these to return -1.
704 Added marshaller for text boundary types to fix bug with boundary
705 types being passed incorrectly to atk.
707 2002-05-09 Bill Haneman <bill.haneman@sun.com>
710 * cspi/spi_registry.c:
711 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
712 which was uncovered by the recent key changes.
714 2002-05-09 Bill Haneman <bill.haneman@sun.com>
716 * test/event-listener-test.c:
718 Added new test, "event-listener-test";
719 this code does two things; it benchmarks traversal time
720 for the accessible hierarchy for the first running accessible
721 app, and it connects listeners for all supported event types.
722 It is thus useful as an example event listener and for
723 diagnostics/debugging of event generation.
725 2002-05-08 Bill Haneman <bill.haneman@sun.com>
728 Removed unnecessary dependency on libutil.
731 Revved micro version: 0.13.1
733 2002-05-08 Bill Haneman <bill.haneman@sun.com>
736 Removed util/Makefile from targets.
739 Removed util subdir from SUBDIRS (temporarily,
740 pending removal of magnifier-only code
744 #ifdef-ed out magnifier dependencies, since
745 magnifier IDL, headers, and binary now live in
746 module gnome-mag and we don't want at-spi to depend
747 on gnome-mag. A magnifier demo which can run alongside
748 simple-at is forthcoming in the gnome-mag module.
750 NOTE: Split magnifier binary, IDL, and magnification
751 activation code from at-spi into module gnome-mag.
753 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
755 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
756 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
758 2002-05-03 Bill Haneman <bill.haneman@sun.com>
761 Revved to version 0.13.0
763 * idl/Accessibility_Registry.idl:
764 Changed definition of KeySet from sequence of longs to sequence of
765 KeyDefinitions, and added KeyDefinition struct.
766 Required for fix to bug 80616.
768 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
769 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
770 to use new definition (see above).
772 * registryd/deviceeventcontroller.c: handle_keygrab(),
773 spi_keyset_contains_key():
774 Changed to make use of new struct; this allows matching based on
775 string key-name, for instance "Tab". This also allows matching of
776 composed characters, non-alphanumeric characters in a way that
777 doesn't involve dependencies on X keysym codes directly, etc.
779 * test/key-listener-test.c:
780 Added test for Alt-Tab key using "string" specification of keyset,
781 and modified one of the tests to use a keycode-based keyset.
782 Thus this test both tests and demonstrates the creation and use of
783 keysets of three forms: specified via keycode array,
784 keysym array, and string array. (The string case only contains a
785 single string, i.e. a string array of length 1).
788 Turned on PRINT_TREE option by default. Also fixed a
789 string-freeing bug in the PRINT_TREE code.
790 Added a listener to window:minimize events.
792 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
794 * atk-bridge/bridge.c:
795 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
796 for window:activate and window:deactiveate
797 (atk_bridge_property_event_listener atk_bridge_signal_listener
798 atk_bridge_window_event_listener) Tidy debug code
800 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
802 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
803 Fixed handling for NULL return value from ATK.
805 * libspi/action.c libspi/component.c libspi/editabletext.
806 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
807 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
808 Removed redundant casts.
810 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
811 Fixed off by one bug.
813 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
814 function not present in idl)
816 2002-05-02 jacob berkman <jacob@ximian.com>
818 * atk-bridge/Makefile.am: make atk-bridge a real module
820 2002-04-26 Radek Doulik <rodo@ximian.com>
822 * libspi/stateset.c (spi_init_state_type_tables): fix size of
823 atk_state_types table
825 2002-04-22 jacob berkman <jacob@ximian.com>
828 * libspi/Makefile.am: add deps on the built files to help
829 automake, and don't version the ORBit typelib
831 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
833 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
834 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
835 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
836 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
837 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
838 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
839 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
840 libspi/accessible.h libspi/accessible.h libspi/base.h
841 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
842 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
843 libspi/relation.h libspi/remoteobject.h libspi/selection.h
844 libspi/spi-private.h libspi/statetset.h libspi/table.h
845 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
846 util/mag_client.h util/mag_control.c util/mag_image.c
847 util/mag_image.h util/magnifier.c util/magnifier.h:
848 Add missing file headers; standardize existing ones
850 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
852 * atk-bridge/bridge.c: Added window event support.
854 2002-04-18 Michael Meeks <michael@ximian.com>
856 * libspi/relation.c (impl_getNTargets): impl.
857 (impl_getTarget): impl.
859 * libspi/Makefile.am: fix stateset install.
861 2002-04-17 Bill Haneman <bill.haneman@sun.com>
864 Started putting useful info in this file.
866 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
868 * atk-bridge/bridge.c:
869 Propagate state-changed notifications to ATs
871 * cspi/spi_registry.c: update docs to reflect actual behavior of
874 2002-04-17 Bill Haneman <bill.haneman@sun.com>
877 Incremented version to 0.12.1
880 Add missing declaration for magnifier_exit,
881 used by mag_control.c - Forte compiler didn't like
882 the implicit redeclaration of the function :-(
885 2002-04-16 Bill Haneman <bill.haneman@sun.com>
888 Revved version to 0.12 due to API change (see below).
890 * cspi/spi-roletypes.h:
891 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
892 definition from the inline docs, and added docs
893 for SPI_ROLE_LAST_DEFINED.
896 * cspi/spi_streamablecontent.c:
897 Added missing seek_type parameter to
898 (so far unused) method,
899 AccessibleStreamableContent_seek().
900 [ RT approval JodyG. ]
903 Fixed docs for SPI_createAccessibleKeystrokeListener.
905 * cspi/spi_registry.c:
906 Fixed docs for SPI_KEYSET_ALL_KEYS.
908 * docs/reference/cspi/at-spi-cspi-sections.txt:
909 Added a number of missing APIs to SECTIONS.
911 2002-04-16 Bill Haneman <bill.haneman@sun.com>
913 * registryd/Makefile.am:
915 * cspi/bonobo/Makefile.am:
916 Add $(X_LIBS) to makefiles.
918 2002-04-15 Bill Haneman <bill.haneman@sun.com>
921 Revved version to 0.11.
923 * libspi/component.c:
924 Added implementation for grabFocus.
926 * idl/Accessibility_Component.idl
927 (Accessibility_Component_grabFocus):
928 Made this method return boolean to indicate success or failure, to
929 be consistent with cspi and the corresponding ATK method.
931 * idl/Accessibility_Selection.idl
932 (Accessibility_Selection_selectAll) :
933 Made these methods return boolean to indicate success or
934 failure, to be consistent with cspi and the corresponding ATK methods.
936 * idl/Accessibility_EditableText.idl
937 (Accessibility_EditableText_setTextContents,
938 Accessibility_EditableText_insertText,
939 Accessibility_EditableText_cutText,
940 Accessibility_EditableText_deleteText,
941 Accessibility_EditableText_pasteText):
942 Made these methods return boolean to indicate
945 * cspi/spi_editabletext.c:
946 Made these methods return booleans.
948 * libspi/selection.c:
949 * libspi/component.c:
950 * libspi/editabletext.c:
951 Connected the boolean returns from ATK
952 to the server-side code referenced above.
954 2002-04-14 Bill Haneman <bill.haneman@sun.com>
956 * idl/Accessibility_Table.idl: Added missing methods,
957 Accessibility_Table_addRowSelection,
958 Accessibility_Table_addColumnSelection,
959 Accessibility_Table_removeRowSelection,
960 Accessibility_Table_removeColumnSelection.
963 Added C wrappers for above IDL:
964 AccessibleTable_addRowSelection,
965 AccessibleTable_addColumnSelection,
966 AccessibleTable_removeRowSelection,
967 AccessibleTable_removeColumnSelection.
970 Added server-side implementation code for IDL above, connecting
971 to pre-existing ATK api.
973 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
975 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
977 * libspi/accessible.c: Added implementation fo
978 Accessibility_Accessible_get_state.
980 * libspi/libspi.h: Added stateset.h to the list of includes.
982 * libspi/stateset.c: Fixed broken implementation.
984 2002-04-13 Bill Haneman <bill.haneman@sun.com>
987 Added implementation code for Accessibility_Magnifier_exit ().
989 * util/mag_control.c:
990 Added test code for above method; you can
991 now kill an existing magnifier via
992 ./mag_control q, from the util directory.
994 * test/key-listener-test.c:
996 Added a new test, for our key listener API.
998 2002-04-11 Bill Haneman <bill.haneman@sun.com>
1000 * test/app.c, test/keysynth-demo.c:
1002 Replace use of snprintf with g_snprintf.
1003 (fix for bugzilla 78249)
1005 2002-03-27 Michael Meeks <michael@ximian.com>
1009 * util/Makefile.am (INCLUDES): fix.
1010 (DONT_DIST_SOURCE): don't distribute the
1013 * libspi/Makefile.am (dist-hook): ditto.
1015 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
1017 * libspi/hypertext.c:
1018 Fix warnings when yelp is used with atk-bridge
1020 2002-03-21 Michael Meeks <michael@ximian.com>
1022 * libspi/application.c (spi_application_new):
1023 use spi_accessible_construct so we use the AtkObject
1026 2002-03-19 Michael Meeks <michael@ximian.com>
1028 * registryd/registry.c (desktop_remove_application),
1029 (desktop_add_application): clean coding style.
1031 * registryd/desktop.c (spi_desktop_remove_application),
1032 (spi_desktop_add_application): kill re-enterency hazards.
1033 (spi_desktop_dispose): remove bogus redundant cast
1034 obscuring bug; fix bug too.
1035 (spi_desktop_init): make the desktop object immortal.
1037 2002-03-16 Bill Haneman <bill.haneman@sun.com>
1040 Added a #define-guarded tree-traversal step
1041 when enumerating the apps (diagnostic tool).
1043 2002-03-15 Bill Haneman <bill.haneman@sun.com>
1045 * idl/Accessibility_Role.idl:
1046 Added ROLE_DRAWING_AREA which seemed to be missing from the
1049 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1051 * cspi/spi-roletypes.h cspi/spi_accessible.c
1052 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
1055 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
1056 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
1057 AT when applications are added and removed from the desktop. This
1058 reverts the previous broken implementation using the backing
1059 AtkObject for the SpiDesktop.
1061 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1063 * registryd/desktop.c: emit the "children-changed::add" and
1064 "children-changed::remove" signals on the backing ATK object for
1065 the desktop so AT can tell when applications are started and shut
1068 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1070 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
1072 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1074 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
1076 * cspi/spi_accessible.c: Implemented c bindings for stateset support
1078 * cspi/state-types.h: synched with IDL and ATK
1080 2002-03-13 Bill Haneman <bill.haneman@sun.com>
1082 * libspi/accessible.c
1083 (impl_accessibility_accessible_get_child_at_index):
1084 Change return value for g_return_if_fail ()
1085 to CORBA_OBJECT_NIL instead of "0" (!)
1087 * registryd/Makefile.am:
1088 * registryd/Accessibility_Register.server.in:
1089 Changed name of executable, "registryd",
1090 to something more informative:
1093 2002-03-13 Michael Meeks <michael@ximian.com>
1095 * atk-bridge/bridge.c (atk_bridge_init): don't register
1096 if we're in a bonobo-component, rather than a bonobo app.
1098 2002-03-13 Michael Meeks <michael@ximian.com>
1100 * atk-bridge/bridge.c (gtk_module_init): split
1101 out body to (atk_bridge_init): here, since otherwise
1102 we get symbol conflicts and oddness when invoked
1103 from (gnome_accessibility_module_init): here (upd.)
1105 2002-03-11 Bill Haneman <bill.haneman@sun.com>
1108 New file. Explicitly allow "build sheriff" putbacks provided
1109 they are tested on Solaris.
1111 * docs/reference/cspi/Makefile.am:
1112 Added '-' to the "cp" command for index.sgml.
1113 ("patch by thomasvs, soon coming to a GUADEC near you")
1116 Incremented version number (0.9.0) for new release.
1117 Changed macro that checks for popt, to better detect
1118 obsolete versions of popt.
1121 Added X_LIBS to AC_SUBST, for applications
1122 that call Xlib API directly.
1125 2002-03-07 Bill Haneman <bill.haneman@sun.com>
1128 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
1131 Fix regression caused by hard-coding major
1132 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
1135 * test/test-simple.c (test_editable_text),
1136 (test_test): revert previous change (error was
1137 a regression in gail which is now fixed).
1139 2002-03-04 Michael Meeks <michael@ximian.com>
1141 * test/test-simple.c (test_editable_text),
1142 (test_text): pass G_MAXINT instead of '-1' for
1143 whole string - is this a good thing !?
1145 * cspi/spi_accessible.c
1146 (Accessible_getRelationSet): fix crasher bug
1147 overwriting the end of the array.
1149 * test/test-simple.c (validate_accessible): free,
1150 not g_free returned relation set.
1152 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
1154 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
1155 implemented stateset support
1157 * idl/Accessibility_State.idl: Made necessary changes to
1158 the IDL to support state sets.
1160 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1162 * registryd/deviceeventcontroller.c:
1163 Added implementation for generateMouseEvent.
1165 * cspi/spi_registry.c:
1166 Connected new implementation for generateMouseEvent
1169 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1172 Incremented revision (but no change in public API
1173 outside of 'utils', which are not installed public yet.)
1175 * libspi/component.c:
1176 Changed to use atk_component API for layers and
1177 mdi_zorder, instead of deprecated atk_object API.
1179 Magnification Utility Enhancements:
1182 Added implementation of createZoomRegion, clearAllZoomRegions,
1183 resizeZoomRegion. Added new commandline argument
1184 "--no-initial-region". Note that clearAllZoomRegions doesn't
1185 unmap the old '0' region as it should (yet), and the other
1186 methods only work when creating/resizing a single region,
1187 which is "region 0".
1188 (Code for multiple region support will be added later.)
1191 Now we raise the magnifier window each time it's refreshed;
1192 this will help keep it on top.
1194 * util/mag_client.h:
1195 Added simple wrappers for above, used by mag_control.
1196 For general use, it's recommended to use the bonobo magnifier
1197 control API directly instead of using these wrappers.
1200 Moved ZoomRegionData from magnifier.c to this file.
1202 * util/mag_control.c:
1203 Added some code to exercise new IDL implementations.
1205 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
1207 * libspi/text.c: Provide implementation for getAttributes.
1209 2002-02-04 Bill Haneman <bill.haneman@sun.com>
1212 Incremented revision.
1214 * test/test-simple.c:
1215 Replaced use of deprecated g_main_iteration with
1216 g_main_context_iteration.
1218 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
1221 Incremented revision for desktop alpha 2.
1223 2002-01-28 Mark McLoughlin <mark@skynet.ie>
1225 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
1228 * test/simple-at.c: include netinet/in.h.
1230 2002-01-24 Mark McLoughlin <mark@skynet.ie>
1232 * cspi/spi_accessible.c: (Accessible_getRelationSet):
1233 use NULL, not CORBA_OBJECT_NIL.
1235 * libspi/accessible.c:
1236 (impl_accessibility_accessible_get_relation_set):
1237 allocate the sequence correctly.
1239 * libspi/remoteobject.h: kill spi_remote_object_new.
1241 * test/test-simple.c: (validate_accessible): add code
1242 to test relation sets, now all we need is to figure
1243 out how to excercise this code path :/
1245 2002-01-18 Michael Meeks <michael@ximian.com>
1247 * test/test-simple.c
1248 (key_listener_cb): consume the key.
1249 (test_keylisteners): update.
1250 (main): wait for any pending unrefs on events.
1252 * registryd/deviceeventcontroller.c
1253 (spi_controller_update_key_grabs): only re-issue the
1254 grab on a key release.
1255 (spi_device_event_controller_forward_key_event):
1256 refresh the keygrabs before we notify the listeners,
1257 to reduce the X ungrab / re-grab race.
1258 (spi_controller_register_with_devices): remove
1259 XSelectInput - we do that with the gdk_window_ call.
1260 (_spi_controller_device_error_handler): return a value.
1261 s/GDK_DISPLAY/spi_get_display/
1263 2002-01-17 Michael Meeks <michael@ximian.com>
1265 * registryd/deviceeventcontroller.c
1266 (_deregister_keygrab): don't blow out the later
1269 * test/test-simple.c (test_keylisteners): do a
1270 more intelligent validation.
1272 2002-01-14 Michael Meeks <michael@ximian.com>
1274 * atk-bridge/bridge.c
1275 (gnome_accessibility_module_init),
1276 (gnome_accessibility_module_shutdown): impl.
1277 (gtk_module_init): protect vs. double inits.
1278 (add_signal_listener): impl.
1279 (spi_atk_bridge_state_event_listener): kill
1280 (deregister_application): split out of
1281 (spi_atk_bridge_exit_func): here.
1283 2002-01-18 Bill Haneman <bill.haneman@sun.com>
1286 Added caret tracking when using magnifier, and
1287 now use text bounds for focus tracking of text elements, rather than
1288 the component bounds - this is helpful for short text fields in long
1289 table cells, at high magnification.
1291 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1293 * registryd/deviceeventcontroller.c:
1294 Regression fix for keylistener de-registration; global keygrabs
1295 were not being released when deregisterKeystrokeListener was
1296 called in cspi, since
1297 Accessibility_DeviceEventController_deregisterKeystrokeListener
1298 was called with a zero-length keyset. That is because the cspi
1299 method, SPI_deregisterKeystrokeListener, does not take a keyset
1300 parameter but instead should remove all the key grabs held be a
1302 The code in impl_deregister_keystroke_listener was changed to copy
1303 the keylist from the listener instance previously registered with
1304 the DeviceEventController before releasing the grabs.
1306 * registryd/registry.c:
1307 * registryd/deviceeventcontroller.c:
1308 * libspi/spi-private.h:
1310 Changed spelling of "re-enterant" to "re-entrant" globally.
1312 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1314 * test/test-simple.c:
1315 Changed key listeners test - the test was slightly mis-using the
1316 (admittedly poorly documented) SPI_generateKeyboardEvent API.
1317 It now uses '=' as the key event listened to and generated,
1318 relying on a keysym match rather than assuming that keycode 33
1319 is always equal to keysym '!'.
1321 2002-01-15 Bill Haneman <bill.haneman@sun.com>
1324 Changed simple-at to use a specific keyset, rather than
1325 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
1326 manager, desktop, etc.
1328 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1330 * registryd/deviceeventcontroller.c:
1331 Replaced standard X error handler with a special handler that
1332 is non-fatal for failed keygrabs. This works around
1333 problems with keygrab clashes sometimes observed on
1335 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
1336 mouse handling code as yet).
1338 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1341 Incremented revision for desktop alpha release.
1344 Fixed a couple of the more glaring errors (still not
1347 2002-01-11 Michael Meeks <michael@ximian.com>
1349 * registryd/deviceeventcontroller.c
1350 (spi_device_event_controller_forward_key_event): kill
1351 XUngrabKey / XKeyGrab race.
1352 (spi_controller_grab_keyboard): rename to
1353 (spi_controller_update_key_grabs): this, and deal
1354 with incremental adding / removing grabs more
1356 (_register_keygrab): ensure we're not pending a remove.
1357 (spi_grab_mask_free): impl.
1358 (spi_controller_register_global_keygrabs): split out
1360 (handle_keygrab): impl.
1361 (_deregister_keygrab): impl.
1362 (spi_controller_deregister_global_keygrabs): impl.
1363 (spi_controller_update_key_grabs): re-issue the grab if
1364 we just recieved a notification.
1366 * test/test-simple.c (key_listener_cb): remove debug.
1368 * registryd/deviceeventcontroller.c
1369 (spi_controller_register_device_listener): after
1370 registering a global keygrab, actualy register it !
1371 don't wait for a timeout; doh !
1373 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
1374 to make it more readable / manipulable.
1375 s/grabmask/grab_mask/ s/refcount/ref_count/
1376 s/keyval/key_val/ s/modmask/mod_mask
1378 2002-01-08 Michael Meeks <michael@ximian.com>
1380 * registryd/deviceeventcontroller.c
1381 (spi_controller_register_with_devices): use gdk calls to
1383 (global_filter_fn): implement the filter.
1384 (spi_device_event_controller_check_key_event): rename to
1385 (spi_device_event_controller_forward_key_event): this & upd.
1386 (spi_get_display): replace with GDK_DISPLAY.
1388 * registryd/deviceeventcontroller.c
1389 (spi_controller_deregister_device_listener): unroll into
1390 (impl_deregister_keystroke_listener): here to simplify.
1391 (spi_controller_register_global_keygrabs): split cut and
1392 paste (!) out into (_register_keygrab): here, shorter & sweeter.
1393 (spi_controller_deregister_device_listener): remove.
1394 (impl_register_mouse_listener): remove, no mouse listener
1395 support in at-spi-1.0
1397 * registryd/registry.c
1398 (_device_event_controller_hook): kill.
1399 (spi_registry_init): upd.
1401 * registryd/deviceeventcontroller.c
1402 (spi_device_event_controller_class_init): upd.
1403 (spi_check_key_event): merge into.
1404 (spi_device_event_controller_check_key_event):
1405 here and kill strange static ev init, don't leak
1406 the x_event - nor dynamicaly allocate it.
1408 * registryd/registry-main.c (main): re-direct
1409 timeout to remove strange vtable mess.
1411 * registryd/deviceeventcontroller.c
1412 (remove_listener_cb): impl.
1413 (spi_controller_deregister_device_listener):
1414 fix re-enterancy hazard.
1416 2002-01-07 Michael Meeks <michael@ximian.com>
1418 * registryd/deviceeventcontroller.c
1419 (spi_device_event_controller_new): upd.
1420 (impl_notify_listeners_sync): upd. debug.
1421 (spi_notify_keylisteners): fix re-enterancy hazards,
1422 prettify, remove O(n*n) iteration.
1423 (spi_controller_grab_keyboard): fix iteration.
1424 (spi_check_key_event): re-format to suit coding style.
1425 Clean all the warnings - we're warning free.
1427 * registryd/deviceeventcontroller.h:
1428 * registryd/registry.h: make mutualy referential with
1429 typesafe forward references instead of (!) void pointer
1432 2002-01-11 Michael Meeks <michael@ximian.com>
1434 * cspi/spi_accessible.c (role_names): add a role name
1435 to sync this array with the enum; and make the regression
1438 2002-01-10 Michael Meeks <michael@ximian.com>
1440 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
1441 allow expansion of enumeration & kill warning.
1443 * test/test-simple.c (key_listener_cb): impl.
1444 (test_keylisteners): impl.
1446 * cspi/spi-listener.h: make listener signatures const
1447 on the provided (const) events.
1449 * test/keysynth-demo.c: upd. to const events.
1451 * test/simple-at.c: ditto.
1453 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1456 Rev the version to 0.5 (the previous tarball was named 0.4,
1457 even though the micro number was 3), so we need to rev upwards
1458 again for beta2/"desktop-alpha"
1461 Checked in a demo script, which requires editing before use!
1462 Proceed with caution.
1465 Fixed typo in header which was redefining SPI_ACTION_CLASS.
1467 * cspi/spi_accessible.c:
1468 Add a couple of missing enum initializations, and fix some enum
1471 * cspi/spi_registry.c:
1472 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
1474 * docs/reference/cspi/at-spi-cspi-sections.txt:
1475 Remove/fix a couple of broken document references.
1478 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
1479 as Alt-Control to listen for commands, since on some systems
1480 Control-Alt may already be grabbed.
1482 2002-01-10 Bill Haneman <bill.haneman@sun.com>
1485 Update version number to 0.4 for Beta2.
1487 * libspi/accessible.c, libspi/accessible.h:
1488 Expose spi_accessible_construct, to enable libgail-gnome
1489 construction from spi_accessible subtype.
1491 * utils/magnifier.c:
1492 Workaround for bug in some non-gnome-compliant window managers
1493 which made magnifier resize improperly.
1495 2002-01-09 Bill Haneman <bill.haneman@sun.com>
1497 * libspi/accessible.c: (spi_accessible_new) :
1498 Move the test for SPI_IS_REMOTE_OBJECT to
1499 spi_accessible_new_return, fixing a bug and compile time warning.
1501 2002-01-08 Michael Meeks <michael@ximian.com>
1503 * registryd/registry.c (parse_event_type): remove strndup.
1505 * libspi/Makefile.am (libspi_la_SOURCES): remove
1506 sources already included in the headers section.
1508 * libspi/util.c: add.
1510 * libspi/spi-private.h: add.
1512 * registryd/registry.c: update to moved list iterators.
1514 2002-01-05 Michael Meeks <michael@ximian.com>
1516 * test/simple-at.c (main): upd. auto-module set to atk-bridge
1518 * test/test-simple.c (main): ditto.
1520 2002-01-04 Michael Meeks <michael@ximian.com>
1522 * libspi/accessible.c (spi_accessible_new): remove 2nd,
1523 redundant construct.
1525 * registryd/registry.c
1526 (get_listener_list): impl.
1527 (impl_accessibility_registry_register_global_event_listener):
1528 re-impl. to simplify using ~, remove dodgy const cast off.
1529 (parse_event_type): constify.
1530 (impl_accessibility_registry_deregister_global_event_listener_all):
1531 re-write, more efficiency and simplicity, kill re-enterancy
1533 (compare_listener_corbaref, compare_corba_objects),
1534 (compare_listener_quarks): define out.
1535 (impl_accessibility_registry_deregister_global_event_listener):
1536 re-write for effiency, and nail re-enterancy hazard.
1537 (impl_accessibility_registry_get_desktop_list): impl.
1538 (re_enterant_list_delete_link): impl.
1539 (re_enterant_list_foreach): impl.
1540 (remove_listener_cb): impl.
1541 (_registry_notify_listeners): kill.
1542 (notify_listeners_cb): impl.
1544 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
1545 (SPI_getDesktopList): impl.
1547 * test/test-simple.c (test_desktop): test the methods.
1549 2002-01-03 Michael Meeks <michael@ximian.com>
1551 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
1552 keystrings since we free them
1553 (SPI_freeAccessibleKeySet): in here.
1555 * libspi/accessible.c (spi_accessible_new): kill warning,
1556 wonder what is going on with the constructor here.
1558 2002-03-01 Bill Haneman <bill.haneman@sun.com>
1560 * libspi/accessible.c (spi_accessible_new ()) :
1561 Added check to see if AtkObject is an SpiRemoteObject before
1562 creating an SpiAccessible.
1564 2002-05-01 Bill Haneman <bill.haneman@sun.com>
1566 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
1567 Enable keygrabs using the Control modifier, now that they are
1568 working properly (they were previously disabled).
1571 Change the command keygrab for this demo to "Control+Alt", so as
1572 to conflict with fewer other key commands on the system; this
1573 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
1575 Removed a pointlessly-chatty keylistener for unshifted keys
1576 (shifted keys are still reported).
1578 2002-02-01 Bill Haneman <bill.haneman@sun.com>
1580 * libspi/remoteobject.h:
1581 * libspi/remoteobject.c:
1582 Added definitions for special AtkObject subtype, required for
1583 support of remote components (specifically, used by BonoboControl
1584 accessibility implementation).
1586 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
1588 * cspi/spi.h: synched relation types with ATK
1590 * cspi/spi_accessible.c: Added implementations of
1591 AcccessibleRelation_* methods
1593 * idl/Accessibility_Relation.idl: added getRelationTypeName
1594 method. Synched known relation types with ATK. Allowed for
1595 relation type extension with the RELATION_EXTENDED type.
1597 * libspi/relation.c: Provided implementations for
1598 AccessibleRelation methods.
1600 2002-01-01 Bill Haneman <bill.haneman@sun.com>
1602 API tweaks for today's API 'freeze'.
1605 Added placeholder functions to allow future compatible expansion
1606 of the IDL interfaces.
1608 * idl/Accessibility_Registry.idl:
1609 Changed generateKeyEvent to generateKeyboardEvent. Changed
1610 signature of this method to accept an optional keystring in
1611 parameter (for complex text input synthesis) and changed use of
1612 simple 'boolean' parameter in registerKeystrokeListener to a
1613 struct, EventListenerMode.
1615 * cspi/spi_accessible.c:
1617 * cspi/spi_streamablecontent.c:
1618 Added references to AccessibleStreamableContent interface, and
1619 definition and implementation of AccessibleStreamableContent
1622 * cspi/spi_registry.c:
1624 Changed generateKeyEvent API to generateKeyboardEvent,
1625 taking a new (optional) keystring parameter to support complex
1630 Renamed directory (to better reflect its actual purpose, bridging
1631 from at-spi to ATK). The .so module is also now named
1634 * idl/Accessibility_Hypertext.idl:
1635 * libspi/accessible.c:
1636 * libspi/hypertext.h:
1637 * libspi/hypertext.c:
1638 Changed Accessibility_Hypertext to *not* derive from
1641 * cspi/spi_registry.c:
1642 Added list of legal event type names for 'window' events, which
1643 completes the registry event API.
1645 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
1647 * at-bridge/bridge.c: Added registration for separate
1648 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
1649 signals. If either of the first two parameters to the generic
1650 bridge signal handler are ints, they are passed on as event
1651 details. This allows an AT to determine what text was inserted.
1653 2001-12-21 Bill Haneman <bill.haneman@sun.com>
1655 * registryd/deviceeventcontroller.c:
1656 Fixed regressions in generateKeyEvent caused by the removal of
1657 gdk_init from registryd; we now use pure X calls to connect to the
1658 display, which makes sense because deviceeventcontroller already
1659 uses a fair bit of X API (should eventually be migrated to a
1660 'portability layer').
1662 * registryd/desktop.c:
1663 Fixed minor regression in spi_desktop_init, changed the way the
1664 desktop name is being set to work with new spi_base API
1665 (gobject-based, rather than AtkObject-based).
1667 * registryd/Makefile.am:
1668 Minor revision of makefile to use XTST_LIBS variable rather than
1669 hard-wiring the Xtst LD_ADD element.
1671 * test/keysynth-demo.c:
1672 Tweaked an output message; added initialization of the
1673 'keystrings' member of the "switch listener" key_set.
1675 * libspi/relation.c:
1676 Squashed compile-time warning.
1678 * libspi/accessible.c:
1679 Cosmetic and formatting fixes, renamed a static method.
1681 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
1683 * libspi/accessible.c
1685 * libspi/application.c
1688 * libspi/component.c
1689 * libspi/editabletext.c
1690 * libspi/hyperlink.c
1691 * libspi/hypertext.c
1693 * libspi/selection.c
1697 * registryd/desktop.c:
1698 Changed SpiBase to contain a GObject pointer rather than an AtkObject
1700 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1702 * idl/Accessibility_Registry.idl:
1703 Added boolean member 'is_text' to DeviceEvent. This is for the
1704 use of key events, and helps prevent ambiguity between composed
1705 key strings and keysym names, since both may potentially be
1706 returned in the 'event_string' member.
1708 * at-bridge/bridge.c:
1709 * registryd/deviceeventcontroller.c:
1710 Use the 'is_text' member when notifying device event listeners.
1711 Knon issue: composed characters are not dealt with correctly by
1712 the global key listener implementation yet.
1714 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1716 * at-bridge/bridge.c:
1717 Namespaced local static methods to spi_atk_bridge_* where
1718 previously named bridge_*, and spi_* elsewhere.
1720 * at-bridge/bridge.c:
1721 * cspi/bonobo/cspi-bonobo-listener.c:
1722 Added demarshalling/conversion for string member of
1723 Accessibility_DeviceEvent to AccessibleKeystroke.
1725 * registryd/deviceeventcontroller.c:
1726 Added code to fill the Accessibility_DeviceEvent key string value
1727 member for global key events (i.e. from XGrabKey), to match
1728 behavior of Accessibility_DeviceEvent from the toolkit key events
1729 from the bridge. Fixed timestamp in global key event notifications.
1732 Added printout of key event's string value to
1733 report_ordinary_key_event, for demo/debugging purposes.
1735 2001-12-15 Bill Haneman <bill.haneman@sun.com>
1737 * idl/Accessibility_Registry.idl:
1738 Removed Accessibility_KeyStroke structure in favor of generic
1739 Accessibility_DeviceEvent structure.
1740 Changed Accessibility_ControllerEventMask from a struct to an
1743 * at-bridge/bridge.c:
1744 Changed APIs to use DeviceEvent structure as above, and removed
1745 bogus casting between these event structures.
1747 * cspi/spi-listener.h:
1748 Added keystring member of AccessibleKeystroke structure, to enable
1749 matching on event "names" rather than only hardware codes and
1753 Added keystrings member of AccessibleKeySet struct, to allow
1754 matching on event names (as above).
1755 Added declarations for SPI_createAccessibleKeySet and
1756 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
1757 event modmasks directly as unsigned ints rather than structs with
1758 refcounts, in the DeviceEventController methods.
1760 * cspi/spi_registry.c:
1761 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
1763 * cspi/spi-roletypes.h:
1764 Added documentation of newly added SPI Roles.
1766 * cspi/bonobo/cspi-bonobo-listener.c:
1767 Changes in support of API changes above.
1769 * libspi/accessible.c:
1770 Converted APIs to use DeviceEvent structure (see IDL changes
1773 * registryd/deviceeventcontroller.c:
1774 Added DEControllerGrabMask structure to track keygrabs not only by
1775 modmask but by keyset as well; this allows us to do "global"
1776 (i.e. X) keygrabs on a per-key or keyset basis rather than always
1777 grabbing on AnyKey and then filtering after-the-fact.
1778 Bugfixes for event filtration mean that we don't get false matches
1779 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
1781 * registryd/deviceeventcontroller.c:
1782 Namespaced a number of static methods to use spi_ prefix. Major
1783 revision to internals of global (i.e. X) key grabs.
1785 * registryd/deviceeventcontroller.h:
1786 Removed keymask_list and added keygrabs_list to
1787 SpiDeviceEventController struct.
1790 Added use of SPI_createAccessibleKeySet API when creating a
1791 listener for only one key. Attach a listener to "shift spacebar
1792 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
1793 X key event names to SPI key event names, so that listeners are
1794 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
1796 * test/keysynth-demo.c:
1797 Changed (incorrect) use of X key event names (KeyPressed,
1798 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
1801 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1803 * libspi/accessible.c:
1804 Convert all AtkRole enumerations to Accessibility_Role enums when
1805 getting a role from an AtkObject.
1807 * cspi/spi_accessible.c:
1808 Complete the conversion of Accessibility_Role enums at runtime to
1809 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
1810 role enums correctly match those given in spi-roletypes.h.
1811 Re-synchronize the local names list for AccessibleRole_getName ().
1812 AccessibleRole_getName is now deprecated, since it duplicates the
1813 more reliable Accessible_getRoleName.
1814 Added some role types from Accessibility_Role.idl.
1816 * idl/Accessibility_Role.idl:
1817 Added some role types used by AtkRole.
1819 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1822 * cspi/spi_registry.c:
1824 * cspi/cspi-bonobo-listener.c:
1825 Namespaced all methods that did not begin with an "SPI_" or
1826 "Accessible" prefix to "SPI_".
1829 Homogenized internal function namespace to "cspi_" for statics.
1832 Patched tests to use the new CSPI API.
1834 * docs/reference/cspi/at-spi-cspi-sections.txt:
1835 Updated docs to reflect namespace changes, and added a number of
1836 methods to the documentation.
1838 * registryd/registry.c:
1839 Changed use of strings and string hashes in listener event
1840 matching and parse_event_string to use GQuark, which is guaranteed
1843 * registryd/registry.h:
1844 Squashed annoying warning.
1846 * idl/Accessibility_Role.idl:
1847 Extended range of available Accessibility_Role values.
1849 * cspi/spi_accessible.c:
1850 Re-ordered role names.
1852 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1854 * idl/Accessibility_Value.idl:
1855 Revert use of union back to CORBA_double, since the double type is
1856 more efficient and can contain the other types without loss of
1859 * idl/Accessibility_Accessible.idl:
1860 Added method Accessibility:Accessible:getRoleName, to complement
1861 Accessibility:Accessible:getRole.
1863 * cspi/spi_accessible.c:
1865 Added C binding for above, Accessible_getRoleName (), and changed
1866 signature of Accessible_getRole () to return an AccessibleRole.
1868 * cspi/spi-roletypes.h:
1869 Changed AccessibleRole_getName to return a char * instead of a
1870 const char *. This method is now at least temporarily deprecated
1871 in favor of asking Accessibles for their RoleNames directly.
1874 Revert to match Accessibility_Value.idl;
1878 Change signature of AccessibleValue methods to use double rather
1882 * cspi/spi_accessible.c:
1883 Changed Accessible_getRole to return an AccessibleRole enum rather
1884 than a UTF-8 string. The UTF-8 string can still be obtained via
1885 AccessibleRole_getName ().
1887 * test/test-simple.c:
1888 Add test_action. Small fixup to match API change to Accessible_getRole.
1891 Bugfix for get_action_from_servant ().
1893 2001-12-11 Michael Meeks <michael@ximian.com>
1895 * libspi/libspi.h: remove registry.h and
1896 desktop.h, deviceeventcontroller.h
1898 * libspi/Makefile.am: remove registry.[ch],
1899 desktop.[ch], deviceeventcontroller.[ch]
1901 * registryd/Makefile.am: add registry.[ch],
1902 desktop.[ch], rename registryd.c to registry-main.c.
1903 add deviceeventcontroller.[ch]
1905 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1908 Replace setenv() call with putenv ().
1910 * libspi/component.c:
1911 Bugfix in AccessibleComponent_getExtents (),
1914 2001-12-11 Michael Meeks <michael@ximian.com>
1916 * libspi/image.c (impl_getImageExtents): impl.
1917 (spi_image_class_init): upd.
1920 (AccessibleImage_getImageDescription): fix daft bug
1923 * test/test-simple.c (global_listener_cb): update
1924 to only quit if not --poke
1925 (main): catch --poke.
1926 (validate_accessible): upd. dumping, call test_image
1929 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1932 * idl/Accessibility.idl: update all IDL includes.
1934 * idl/*.idl - rename to namespace - this sucks, blame
1935 mjs' bad decision for oafd.
1937 * test/test-simple.c (create_test_window): add more tests.
1938 (create_tree): split this out.
1939 (validate_accessible): bugfix.
1941 2001-12-11 Michael Meeks <michael@ximian.com>
1943 * cspi/bonobo/cspi-bonobo-listener.c:
1944 (cspi_kestroke_listener_unref),
1945 (cspi_event_listener_unref): impl. undoing previous
1946 homenous environment - for Bill.
1948 * cspi/spi_table.c (long_seq_to_array): use
1951 * cspi/spi_main.c: split out all bonoboish bits into
1954 * cspi/spi-impl.h: upd. typedefs.
1956 * cspi/spi_registry.c: update to lowlevel API,
1957 return booleans to indicate success in some places.
1959 * cspi/spi_event.c: update to lowlevel API.
1961 * cspi/bonobo/Makefile.am: add.
1963 * cspi/bonobo/cspi-lowlevel.h: add
1965 * cspi/bonobo/cspi-bonobo.c: add
1967 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1969 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1970 (SUBDIRS): add bonobo, link in the libs.
1972 * cspi/spi-util.c: kill this file.
1974 * TODO: merge in my bits.
1976 2001-12-11 Michael Meeks <michael@ximian.com>
1978 * test/test-simple.c (test_value, test_table, main):
1979 remove unused variables causing warnings.
1981 * configure.in: cleanup checks - require gail.
1983 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1986 Changed Value interface to use SValue (scalars) rather than
1987 assuming all values are floats. This allows floats, doubles,
1988 longs, shorts, and unsigned values to be manipulated.
1989 Introduced Accessibility:SValue union.
1992 Updated to use new API above, and to work correctly with GValues
1993 of different types in AtkValue.
1996 Updated to use new API above. cspi's API is as yet unchanged.
1999 Updated the Value revision action item.
2001 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2003 * test/test-simple.c:
2004 Added test_table (GtkTreeView widget in test window to follow).
2005 Un-commented test_value, added GtkRange widget.
2006 Added GtkTreeView widget with GtkListStore. It passes regression
2007 test but leaks one SPI object for some reason.
2010 Fixed bug in impl__set_currentValue.
2012 2001-12-10 Michael Meeks <michael@ximian.com>
2014 * cspi/spi_text.c: audit for exception handling,
2015 tolerating NULL object references safely etc.
2017 * cspi/spi_value.c: ditto.
2019 * cspi/spi_table.c (AccessibleTable_getSummary),
2020 (AccessibleTable_getAccessibleAt),
2021 (AccessibleTable_getRowHeader),
2022 (AccessibleTable_getColumnHeader),
2023 (AccessibleTable_getCaption): fix bugs hidden by
2025 (long_seq_to_array): impl.
2026 (AccessibleTable_getSelectedRows),
2027 (AccessibleTable_getSelectedColumns): use it.
2029 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2032 Added a TODO list (rough and short for now).
2034 * cspi/spi_hyperlink.c:
2035 * cspi/spi_hypertext.c:
2036 Fixed macro name typos, and remove use of obsolete macro in
2037 AccessibleHyperlink_getLink.
2039 * cspi/spi_action.c:
2040 * cspi/spi_accessible.c:
2041 * cspi/spi_application.c:
2042 * cspi/spi_component.c:
2043 * cspi/spi_selection.c:
2046 Documentation fixes (removed return values from ref/unref methods).
2048 2001-12-10 Michael Meeks <michael@ximian.com>
2050 * cspi/spi_action.c: audit for exception handling,
2051 tolerating NULL object references safely etc.
2053 * cspi/spi_accessible.c: ditto.
2055 * cspi/spi_component.c: ditto.
2057 * cspi/spi_editabletext.c: ditto.
2059 * cspi/spi_hyperlink.c: ditto.
2061 * cspi/spi_hypertext.c: ditto.
2063 * cspi/spi_image.c: ditto.
2065 * cspi/spi_selection.c: ditto.
2067 2001-12-10 Michael Meeks <michael@ximian.com>
2069 * configure.in: use cspi/libspi.pc.in instead.
2071 * Makefile.am (pkgconfig_DATA): upd. to match.
2073 * test/simple-at.c (report_focus_event): kill hacks around
2074 bad return values, use putenv not setenv
2076 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
2077 fire ChildGone - I killed it.
2079 * libspi/component.c
2080 (impl_accessibility_component_get_extents): remove
2083 * idl/Accessible.idl: kill ChildGone exception.
2085 * cspi/*.[ch]: kill int return from ref / unref.
2087 * cspi/spi_main.c (cspi_object_add_check): fold into
2088 (cspi_object_add): here.
2090 * cspi/spi_component.c (AccessibleComponent_getExtents):
2091 handle exceptions elegantly.
2093 * cspi/spi-private.h (cspi_check_ev_return),
2094 (cspi_return_if_fail): impl.
2096 * cspi/spi_accessible.c: use extensively.
2097 (AccessibleStateSet_equals): add direct compare check.
2099 * cspi/spi_selection.c: tolerate NULL objs, and check
2100 exceptions before return.
2102 * cspi/spi-util.c (cspi_warn_ev): rename to
2103 (cspi_check_ev): this & don't pass ev in; no point.
2105 2001-12-10 Michael Meeks <michael@ximian.com>
2107 * test/test-simple.c: use putenv not setenv
2108 (get_environment_vars): more chatty if you're not using
2111 * test/simple-at.c: do the setenv so more people see the
2114 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2116 * libspi/registry.c:
2117 Changed check of CORBA_environment on notification to be a warning
2118 instead of an error for the moment, since we can recover from this
2119 error when caused by a queued notification from a dead app.
2122 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
2123 used by all current implementors of AtkValue), and coerce to
2124 CORBA_float. (Proper general case fix may require change to Value.idl).
2126 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2130 * cspi/spi_accessible.c:
2131 Documentation fixes: added user_data params to documentation for
2132 listeners and callbacks.
2134 * cspi/spi_accessible.c:
2135 Changed AccessibleStateSet_compare to return a
2136 StateSet rather than return the difference set into a third parameter.
2139 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2142 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
2143 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
2147 Remove subdirectory po from SUBDIRS for now.
2149 * at-bridge/bridge.c:
2150 Beefed up a couple of debug printouts.
2151 One-line fix for signal notification name formatting.
2153 * libspi/accessible.c:
2154 Added assertion to spi_accessible_new ().
2156 * libspi/application.c:
2157 Put #ifdef qualifiers around a printf.
2160 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
2162 * registryd/Makefile.am:
2164 Replaces use of XML_I18N_MERGE_SERVER_RULE with
2165 INTLTOOL_SERVER_RULE macro.
2168 Added an event listener for several ATK signals, for
2169 testing and debugging. Removed a few g_warnings.
2170 Added test output if focussed item implements the Value interface.
2172 * test/test-simple.c:
2173 Added test_value () function (known not to pass at the moment, so
2174 not actually called yet.
2176 2001-12-08 Michael Meeks <michael@ximian.com>
2178 * at-bridge/bridge.c (bridge_focus_tracker),
2179 (emit_eventv): fix the same ref. leak.
2180 (register_atk_event_listeners): don't leak.
2182 * cspi/spi-listener-impl.c (cspi_event): more
2183 protection from client code.
2185 * test/test-simple.c (test_desktop): unref the app.
2187 * test/Makefile.am: upd. TESTS.
2189 * at-bridge/bridge.c (bridge_exit_func): release the registry.
2191 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
2193 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
2195 * cspi/spi_registry.c: constify in strings.
2196 (deregisterGlobalEventListenerAll): don't release the ref.
2198 * cspi/spi.h: start removing redundant / conflicting
2199 gtkdoc comments, making the API readable at a glance :-)
2201 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
2203 * test/keysynth-demo.c (keysynth_exit, main): upd.
2205 * test/simple-at.c (main, simple_at_exit): upd.
2207 * test/test-simple.c (unutterable_horror): kill.
2208 (utterable_normal_derefs): kill.
2209 (main): upd & do a setenv before gtk_init, so that we
2210 can use memprof - and to save the pain of remembering
2211 this, if we're running under memprof - don't exit.
2213 * cspi/spi_main.c (SPI_exit): return exit status
2215 (SPI_event_quit): impl.
2216 (SPI_event_main): simplify.
2217 (cspi_is_gnome_app): kill.
2218 (SPI_init): kill isGNOMEapp arg.
2220 * at-bridge/bridge.c (register_atk_event_listeners):
2221 re-instate the unref.
2222 (bridge_exit_func): don't re-activate the registry,
2223 protect vs. theoretical re-entry, use the
2224 AT_BRIDGE_SHUTDOWN env. var to determine whether to
2225 assert a clean shutdown - for regression tests.
2227 2001-12-08 Abel Cheung <maddog@linux.org.hk>
2229 * configure.in: Comment out dummy i18n support for now,
2230 otherwise it fails to build.
2231 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
2232 EXTRA_DIST. They are missing in tarball.
2234 2001-12-07 Michael Meeks <michael@ximian.com>
2236 * util/magnifier.c: kill bonobo activation reg. race.
2238 * libspi/component.c
2239 (impl_accessibility_component_get_extents): make it match
2242 * libspi/registry.c (_registry_notify_listeners):
2243 re-remove X headers & reconcile conflicts.
2244 (spi_listener_struct_free): bad conflict resolve.
2245 (impl_accessibility_registry_register_application):
2246 more bad merging fixed.
2247 (impl_accessibility_registry_deregister_application): ditto.
2248 (spi_registry_new): ditto.
2249 (spi_registry_init): don't have an applications field.
2251 [ merge fixups2 branch to here ]
2252 2001-12-07 Michael Meeks <michael@ximian.com>
2254 * test/simple-at.c (report_focus_event),
2255 (report_focussed_accessible): remove g_warning debug.
2257 2001-12-07 Michael Meeks <michael@ximian.com>
2259 * test/test-simple.c (validate_tree): comment out some checks.
2260 (test_desktop): app now not registered idly - horay.
2262 2001-12-07 Michael Meeks <michael@ximian.com>
2264 * cspi/spi_registry.c
2265 (registerAccessibleKeystrokeListener): clean, stop it leaking
2266 great swathes of memory, and device event controller references.
2267 ensure we always pass valid sequences.
2268 (deregisterAccessibleKeystrokeListener): ditto.
2269 (generateKeyEvent): upd.
2271 * at-bridge/bridge.c (bridge_key_listener): handle
2272 registry dead exception gracefully.
2273 (bridge_focus_tracker, emit_eventv): free ev.
2275 * test/simple-at.c (report_focus_event): fix polarity.
2277 * libspi/application.c (notify_listeners): kill the ev
2278 argument, and make sure we init the ev we use.
2279 (spi_application_object_event_listener): split out a chunk
2280 (get_atk_object_ref): here & fixup.
2281 (reverse_lookup_name_for_toolkit_event): make const.
2282 (spi_application_toolkit_event_listener): fixup, kill leaks
2285 * at-bridge/bridge.c (register_atk_event_listeners):
2286 don't unref the noop object - causes grief.
2288 * libspi/registry.c: remove the X headers.
2289 turn off the debug churn.
2291 * libspi/accessible.c (spi_accessible_new_return): only
2292 release the ref if we are supposed to [doh]
2294 * test/simple-at.c (report_button_press, report_focus_event):
2295 guard vs. unexpected exit.
2297 * at-bridge/bridge.c (gtk_module_init): prune printf.
2298 (bridge_exit_func): fix app unref.
2300 * libspi/Makefile.am: don't install registry or desktop.h
2302 * libspi/*.h: update includes.
2304 * libspi/application.h: don't include ourself, or
2305 other redundant headers.
2307 2001-12-06 Michael Meeks <michael@ximian.com>
2309 * libspi/accessible.c
2310 (get_accessible_from_servant): impl.
2311 Upd. all CORBA impl.s to use it killing cut and paste.
2313 * cspi/spi_main.c (cspi_cleanup): guard vs. double
2315 (SPI_init): register atexit cleanup handler here.
2317 2001-12-06 Michael Meeks <michael@ximian.com>
2319 * at-bridge/bridge.c (gtk_module_init): g_error on
2320 activation exception
2322 2001-12-06 Michael Meeks <michael@ximian.com>
2324 * at-bridge/bridge.c (gtk_module_init): some sort of
2325 confusing merge clash - reverted.
2326 (bridge_idle_init): ditto.
2328 * test/test-simple.c (main, utterable_normal_derefs):
2329 merge from Bill - somehow not committed.
2331 2001-12-06 Michael Meeks <michael@ximian.com>
2333 * libspi/value.c (spi_value_class_init): upd.
2334 (spi_value_finalize): kill.
2336 * libspi/table.c (spi_table_finalize): kill.
2337 (spi_table_interface_new): upd.
2338 (spi_table_class_init): upd.
2339 (get_table_from_servant): impl.
2340 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2342 * libspi/selection.c (spi_selection_finalize): kill.
2343 (spi_selection_interface_new): upd.
2344 (spi_selection_class_init): upd.
2345 (get_selection_from_servant): impl.
2346 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2348 * libspi/relation.c (spi_relation_finalize): kill.
2349 (spi_relation_class_init, spi_relation_new): upd
2351 * libspi/image.c (spi_image_finalize): kill.
2352 (spi_image_class_init): upd.
2353 (spi_image_interface_new): upd.
2354 (get_image_from_servant): impl.
2355 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2357 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
2358 (spi_hyperlink_finalize): kill.
2359 (spi_hyperlink_new): upd.
2360 (get_hyperlink_from_servant): impl.
2361 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2363 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
2364 (spi_hypertext_finalize): kill.
2365 (spi_hypertext_class_init): upd.
2366 (get_hypertext_from_servant): impl.
2367 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2369 * libspi/editabletext.c (spi_editable_text_finalize): kill.
2370 (spi_editable_text_interface_new): upd.
2371 (get_editable_text_from_servant): impl.
2372 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2374 * libspi/text.c (get_text_from_servant): impl.
2375 All impls - update to use it killing more cut and paste,
2376 also fix bad string returns on duff args ( a somewhat
2377 impossible case to handle - but hey ).
2378 (spi_text_construct): impl.
2379 (spi_text_interface_new): upd.
2380 (spi_text_object_finalize): kill.
2382 * libspi/component.c
2383 (accessibility_component_object_finalize): kill.
2384 (spi_component_class_init): upd.
2385 (get_component_from_servant): impl. helper to kill cut & paste.
2386 (impl_accessibility_component_contains):
2387 (impl_accessibility_component_get_accessible_at_point):
2388 (impl_accessibility_component_get_position):
2389 (impl_accessibility_component_get_extents):
2390 (impl_accessibility_component_get_mdi_z_order):
2391 (impl_accessibility_component_get_layer):
2392 (spi_component_interface_new): upd.
2394 * libspi/action.c (spi_action_finalize): kill.
2395 (spi_action_class_init): upd. inherit from SpiObject.
2396 (spi_action_interface_new): upd.
2397 (get_action_from_servant): impl. helper to reduce cut & paste.
2398 (impl_getKeyBinding, impl_getName, impl_doAction),
2399 (impl_getDescription): Use it everywhere.
2401 * cspi/spi_main.c (get_live_refs): a pointer hash.
2402 (spi_object_hash, spi_object_equal): comment out.
2403 There are issues with CORBA object hashing that need
2406 * libspi/application.c (spi_application_init),
2407 (spi_application_new): upd.
2409 * libspi/accessible.c (spi_accessible_object_finalize): kill.
2410 (spi_accessible_class_init): upd.
2411 s/accessible/object/ in epv methods.
2413 2001-12-05 Bill Haneman <bill.haneman@sun.com>
2415 * at-bridge/bridge.c:
2416 Reorder the bridge initialization into the bridge gtk_module_init,
2417 an immediate call to bridge_register_app, and an idle_add for
2418 register_atk_event_listeners (the only code that *must* wait until
2419 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
2420 the activation, creates the application's Accessible object, and
2421 queues the bridge_idle_init function. Restored call to
2422 Accessibility_Registry_deregisterApplication().
2423 Prior to making this call we obtain a new reference to the
2424 registry, which is a temporary hack that helps us handle apps that
2425 shut down the bonobo mainloop before we get there.
2427 * libspi/registry.c:
2428 Fix string leakage in debug block, and don't segv if a an app
2429 dies before its event notifications have been propagated.
2432 Modify cspi_check_ev() to call g_warning() rather than g_error(),
2433 as stopgap measure until we get proper exception handling when
2434 objects die during or before interrogation.
2438 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
2439 Also changed default value of is_gnome_app to TRUE.
2442 * test/keysynth-demo.c:
2443 Changed use of SPI_init and SPI_event_main to reflect API change above.
2446 Made report_focus_event check the warning value from getName
2447 before reporting on focussed accessible; simplifies handling of
2448 notifications from dead objects.
2450 * test/test-simple.c: (Changes not in this patch since source is
2453 2001-12-05 Michael Meeks <michael@ximian.com>
2455 * registryd/registryd.c (main): protect against
2456 bonobo-activation startup race condition.
2458 * cspi/spi_main.c (cspi_object_add_check): cope
2459 with the exception elegantly.
2461 * idl/Accessible.idl: decl. ChildGone
2463 * libspi/desktop.c (spi_desktop_dispose): impl.
2464 (spi_desktop_class_init): upd.
2465 (spi_desktop_add_application),
2466 (spi_desktop_remove_application),
2467 (abnormal_application_termination): impl.
2468 (impl_desktop_get_child_at_index): re-impl.
2471 (impl_accessibility_registry_deregister_application),
2472 (impl_accessibility_registry_register_application):
2473 kill excessive debug clutter.
2475 * test/test-simple.c (test_misc): test some NULL
2476 tolerance. (main): upd.
2478 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
2479 implements no interfaces - so let's not crash.
2481 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
2483 * libspi/accessible.c (spi_accessible_new_return): impl.
2484 helper to calm the cut and paste, to cope with
2485 NULL AtkObjects effectively and efficiently, and to kill
2486 the referencing bugs.
2488 * libspi/table.c (impl_getAccessibleAt),
2489 (impl_getRowHeader, impl_getColumnHeader): upd.
2491 * libspi/hyperlink.c (impl_getObject): upd.
2493 * libspi/accessible.c
2494 (impl_accessibility_accessible_get_child_at_index): upd.
2496 * libspi/component.c
2497 (impl_accessibility_component_get_accessible_at_point): upd.
2499 * test/test-simple.c (test_editable_text, test_text): impl.
2502 * cspi/spi_editabletext.c
2503 (AccessibleEditableText_insertText): constify.
2505 * test/test-simple.c (focus_me): make more robust.
2507 * libspi/accessible.c: remove some printfs in methods that
2508 we test and work fine, so we can get a clean tree dump.
2510 * test/test-simple.c (validate_accessible),
2511 (validate_tree): make tree dumping pretty too.
2513 * at-bridge/bridge.c (bridge_signal_listener): upd. so
2514 it builds without debug on.
2516 * test/test-simple.c (validate_accessible): fix the most
2519 * cspi/spi_main.c (spi_object_release): leave the nicely
2520 blanked memory around if in debug mode.
2522 * cspi/spi-listener-impl.c (cspi_event): use add_check.
2524 [committed to fixups2]
2525 2001-12-05 Michael Meeks <michael@ximian.com>
2527 * libspi/editabletext.c
2528 (spi_editable_text_class_init): g_type_class_peek_parent,
2529 not interface peek - so we finalize cleanly.
2531 * libspi/accessible.c (spi_accessible_new): kill debug.
2533 * test/test-simple.c (validate_accessible): fix ref.
2534 leak, print strings before freeing them; sigh, comment a
2535 chunk out due to strangeness.
2536 (validate_tree): unref the child after use.
2538 * cspi/spi_component.c (AccessibleComponent_getLayer):
2539 add missing break statement, switch on zlayer not the
2540 uninitialized retval.
2542 * cspi/spi_main.c (cspi_object_add): add assert, local ref
2543 before (possibly re-entering) remote unref.
2545 * test/simple-at.c (main): unref the desktop.
2547 * cspi/spi_accessible.c (cspi_accessible_is_a): move
2550 * cspi/spi_main.c (cspi_accessible_is_a): here to
2551 isolate bonobo API usage more.
2553 * libspi/registry.c (impl_accessibility_registry_register_application):
2554 prune bogus comment.
2556 2001-12-04 Michael Meeks <michael@ximian.com>
2558 * test/test-simple.c (validate_tree): upd.
2559 IndexInParent check to make it more lucid.
2560 (validate_accessible): dump the tree.
2562 * libspi/accessible.c (de_register_public_ref),
2563 (get_public_refs): impl.
2564 (spi_accessible_new): make more efficient & intuitive.
2565 Now IndexInParent check works.
2567 2001-12-04 Michael Meeks <michael@ximian.com>
2569 * cspi/spi-util.h: remove.
2571 * cspi/spi.h: move SPI_freeString here
2573 * libspi/component.c (impl_accessibility_component_get_layer):
2575 (impl_accessibility_component_get_mdi_z_order): ditto,
2576 return -1 on error - is this ok ?
2578 * test/test-simple.c (test_application): impl.
2580 * cspi/spi_accessible.c (Accessible_getApplication),
2581 (Accessible_isApplication): impl.
2583 * libspi/registry.c (spi_listener_struct_free): release
2584 the CORBA reference too.
2586 * libspi/accessible.c
2587 (impl_accessibility_accessible_get_parent): fix ref leak.
2589 * libspi/registry.c (spi_registry_new): make the registry
2590 immortal - we don't want it to go away ever.
2592 * libspi/application.c
2593 (spi_accessible_application_finalize): impl. cleanup.
2595 * cspi/spi_registry.c
2596 (deregisterGlobalEventListenerAll),
2597 (deregisterGlobalEventListener),
2598 (deregisterAccessibleKeystrokeListener): fix ref leak.
2600 * cspi/spi_main.c (SPI_init): remove redundant ref.
2602 * test/test-simple.c (unutterable_horror): impl. to force a
2607 (impl_accessibility_registry_deregister_application): release
2608 the application when we de-register it.
2610 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
2611 until we have the infastructure to get it right.
2613 2001-12-03 Michael Meeks <michael@ximian.com>
2615 * libspi/Makefile.am: only build eventlistener.[ch]
2617 * libspi/accessible.c
2618 (impl_accessibility_accessible_get_child_at_index): don't leak.
2620 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
2621 before we hit the idle handler.
2623 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
2624 debugging than exit.
2626 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
2628 * libspi/listener.c (impl_notify_event): check source
2629 not NIL before unref.
2631 * libspi/registry.c (impl_registry_notify_event): ditto.
2633 * libspi/eventlistener.c
2634 (impl_accessible_event_notify_event): unref the source.
2636 * libspi/accessibleeventlistener.c
2637 (impl_accessible_event_notify_event): unref the source.
2639 * idl/Event.idl: remove 'hash_id' attribute - of no
2642 * libspi/application.c (notify_listeners): upd list
2644 (spi_application_object_event_listener),
2645 (spi_application_toolkit_event_listener): upd to do correct
2649 (_registry_notify_listeners): update.
2650 (parse_event_type): this method also leaks like a sieve.
2651 (impl_accessibility_registry_deregister_global_event_listener):
2652 fix ETYPE_WINDOW case.
2654 * libspi/application.c
2655 (impl_accessibility_application_register_object_event_listener):
2658 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
2660 * libspi/hypertext.c (impl_getLink): ditto.
2662 * cspi/spi_main.c (cspi_object_add): remove
2663 bogus CORBA_Object_duplicate.
2665 * cspi/spi-listener-impl.c (cspi_event): dup/ref
2668 * cspi/spi_accessible.c
2669 (Accessible_getRelationSet): fix leak / referencing issue.
2671 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
2672 (cspi_object_add, cspi_object_unref): upd.
2673 (spi_object_release, get_live_refs): impl.
2674 (cspi_cleanup): simplify.
2676 * *.[ch]: s/boolean/SpiBoolean/
2678 * cspi/spi_accessible.c (role_names): actualy order so it
2679 corresponds with the enum !
2681 * test/test-simple.c (test_roles): check some role strings
2682 vs. enums to detect offset errors.
2684 2001-12-01 Michael Meeks <michael@ximian.com>
2686 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
2688 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
2690 (Accessible_getChildAtIndex): use cspi_add_check so we
2691 check the ev before using a (possibly) invalid value.
2693 * libspi/accessible.c
2694 (impl_accessibility_accessible_get_parent): don't segv
2697 * at-bridge/bridge.c (gtk_module_init): upd.
2698 (bridge_property_event_listener): don't leak strings
2700 (bridge_state_event_listener),
2701 (bridge_property_event_listener): don't use a static
2702 buffer in case of recursive event emission &
2703 re-enterancy - split out the swathe of cut and paste
2705 (emit_eventv): and fix 2 ref leaks here & comply to the
2707 (bridge_register_app): rename to
2708 (bridge_idle_init): this and kill arg parsing, split
2709 various inits & bonobo-activation registration to module
2710 init time, kill referencing error.
2711 (bridge_exit_func): fix the same leak.
2712 (bridge_focus_tracker): don't leak event structures
2714 (bridge_signal_listener): more leakage and cut & paste
2716 (bridge_key_listener): return the result - FIXME is
2717 this polarity correct ?
2718 (accessibility_keystroke_from_atk_key_event): rename
2719 (accessibility_init_keystroke_from_atk_key_event): and stop
2721 (gtk_module_init): return a value - not that it is checked by
2723 (bridge_key_listener): register my horror at casting between
2724 IDL defined structs.
2725 (bridge_get_registry): kill - not used.
2727 * cspi/spi_accessible.c (Accessible_getRole): make return const.
2729 * test/test-simple.c (test_roles): impl.
2730 (test_desktop, validate_accessible, validate_tree): impl.
2732 * cspi/spi_accessible.c (role_names): fixup bogus
2733 MAX_ROLES setup, make constants const for efficient linkage
2734 (AccessibleRole_getName): conform to coding style, make
2737 2001-11-30 Michael Meeks <michael@ximian.com>
2739 * cspi/spi.h: add missing prototype.
2741 * libspi/registry.c (spi_listener_struct_new): fix sig.
2743 * test/Makefile.am: add test-simple
2745 * test/test-simple.c: add
2747 * test/test.sh: add.
2749 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
2751 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
2752 do it straight - since otherwise we often get an activation race.
2754 [ work before Bill duplicated a chunk of it ... ]
2755 2001-11-30 Michael Meeks <michael@ximian.com>
2757 * libspi/keystrokelistener.c
2758 (spi_keystroke_listener_class_init): fixup arg
2761 * libspi/eventlistener.c
2762 (spi_event_listener_class_init): ditto.
2764 * tests/test.sh: add.
2766 * cspi/spi-listener-impl.h: update macros.
2768 * cspi/spi-listener-impl.c
2769 (cspi_event_listener_remove_callback): add
2770 correct pre-conditions.
2772 * cspi/spi_main.c (SPI_exit): guard vs. double
2773 exits, exit the mainloop nicely.
2774 (SPI_event_main): make more sense.
2775 (SPI_init): move the atexit evilness here so we
2776 always do it (yuck).
2777 (SPI_event_main): upd.
2779 * test/simple-at.c: update for listener changes.
2781 * registryd/registryd.c (main): prune kruft.
2783 * libspi/libspi.h: upd.
2785 * libspi/eventlistener.[ch]: rename broken macros.
2787 * libspi/accessibleeventlistener.[ch]: remove.
2789 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
2791 * test/test-simple.c: Add - automated tests.
2793 * cspi/spi-listener-impl.c (cspi_event),
2794 (cspi_key_event): add user_data to invoke.
2795 (cspi_keystroke_listener_finalize): impl.
2796 (cspi_keystroke_listener_class_init): upd.
2799 (createAccessibleEventListener),
2800 (AccessibleEventListener_addCallback),
2801 (createAccessibleKeystrokeListener),
2802 (AccessibleKeystrokeListener_addCallback): upd.
2804 * libspi/deviceeventcontroller.c
2805 (spi_device_event_controller_check_key_event): add public proto.
2808 (impl_accessibility_registry_deregister_global_event_listener):
2809 always init listeners.
2810 (_registry_notify_listeners): yes it is.
2812 * cspi/spi-listener-impl.c (cspi_key_event):
2814 (cspi_event_listener_finalize): impl.
2815 (cspi_event_listener_class_init): hook up.
2816 (event_handler_new, event_handler_free),
2817 (event_list_remove_by_callback): impl.
2818 (cspi_event_listener_remove_callback),
2819 (cspi_keystroke_listener_remove_callback),
2820 (cspi_keystroke_listener_add_callback),
2821 (cspi_event_listener_add_callback): upd.
2823 * libspi/keystrokelistener.c
2824 (keystroke_listener_object_finalize): kill
2825 (spi_keystroke_listener_class_init): upd.
2826 (spi_keystroke_listener_add_callback),
2827 (spi_keystroke_listener_remove_callback): kill,
2829 (impl_key_event): prune drasticaly.
2831 * libspi/eventlistener.c
2832 (spi_event_listener_add_callback),
2833 (spi_event_listener_remove_callback): kill, use
2835 (impl_accessible_event_notify_event): upd.
2836 (spi_event_listener_object_finalize): remove.
2838 * libspi/Makefile.am: use eventlistener.[ch]
2840 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2842 * libspi/registry.c (_registry_notify_listeners):
2843 Changed listener loop iteration to use preferred convention.
2844 Got rid of string memory leaks caused be calling g_strconcat
2845 inside function calls.
2847 * libspi/registry.c (parse_event_type):
2848 Stopped g_strconcat memory leaks, free the g_strsplit return,
2849 g_strdup the split pieces when used, etc.
2851 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2854 Change method 'compare' to return a 'difference set' rather than
2855 taking a StateSet as an out parameter (more Java-friendly).
2857 * idl/Accessible.idl:
2858 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2860 * idl/Component.idl:
2862 Changed methods 'getExtents' and 'getImageExtents' in these
2863 interfaces to return a BoundingBox structure.
2864 (getPosition and getSize are redundant and possibly should be
2865 removed, rather than creating a corresponding Point struct.)
2867 * cspi/spi_component.c:
2868 Modify implementation of getExtents to reflect the above IDL
2873 Add (missing) AccessibleImage_getExtents () API.
2875 * docs/reference/cspi/at-spi-cspi-sections.txt:
2876 Added AccessibleImage_getImageExtents () to docs.
2878 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2880 * idl/Component.idl:
2881 Added two methods, getLayer () and getMDIZOrder (), to reflect
2882 the new ATK methods atk_object_get_layer and
2883 atk_object_get_mdi_z_order. (Which arguably should be part of the
2884 AtkComponent API and AtkObject). Also added an enum,
2885 ComponentLayer, for the first method's return value.
2887 * libspi/component.c:
2888 Added implementations for these methods.
2890 * cspi/spi_component.c:
2892 Added cspi binding methods for above,
2893 AccessibleComponent_getLayer() and
2894 AccessibleComponent_getMDIZOrder().
2895 Added cspi enum 'AccessibleComponentLayer'.
2897 * docs/reference/cspi/at-spi-cspi-sections.txt:
2898 Added above methods to docs.
2902 Changed typedef for 'boolean' type (and all references to it) to
2903 SPIBoolean, to avoid keyword clashes with C++.
2906 Changed usages of 'boolean' to SPIBoolean.
2908 * test/keysynth-demo.c:
2909 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2910 app), except where SPIBoolean is required by the callbacks API.
2912 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2914 * cspi/spi_registry.c:
2915 Removed obsolete X event loop for passive keygrabs (which now
2918 * registryd/registryd.c:
2919 Removed unnecessary call to gdk_init() [cruft]. This also allows
2920 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2923 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2925 * docs/reference/cspi:
2926 Included docs for SPI_freeString in generated documentation.
2929 Renamed spi_freeString to SPI_freeString, for consistency. Added
2930 documentation for this function.
2933 Renamed spi_freeString to SPI_freeString, for consistency.
2934 Removed obsolete method declaration string_from_corba_string.
2936 * test/keysynth-demo.c:
2937 Small tweak to comments.
2940 Stopped leaking the strings returned from CSPI.
2942 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2944 Merged Michael's branch (see his ChangeLog entries below).
2946 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2947 bridge is alive, release on exit.
2949 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2950 Fix type check macro.
2953 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2956 Added is_gnome_app static, and method cspi_is_gnome_app(),
2957 so we can call the appropriate shutdown routine at exit in SPI_exit.
2959 * cspi/spi_main.c (cspi_object_ref):
2960 Duplicate the corba object passed in, since we're keeping it around.
2962 * cspi/SPI_exit.c, cspi_cleanup:
2963 Moved the releasing of the live refs to its own function, so we
2964 can put it in g_atexit (). Call the appropriate shutdown API
2965 depending on whethe calling client is a gnome app or not
2966 (bonobo_main_quit or CORBA_ORB_shutdown).
2968 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2969 Unref the listener when this method is called, after
2970 deregistration. Updated the API docs to note this behavior.
2972 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2973 Bugfixes: Ref the bonobo object when returning a parent or child
2974 reference, or an AccessibleRelation. Generally made sure
2975 BonoboObject refcount is incremented whenever we return an
2978 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2979 Fixed typo/bug in signal declaration.
2981 * libspi/accessibleeventlistener.h:
2984 * libspi/application.c (spi_application_new):
2985 Fixed leak in initialization.
2988 Remembered to increment bonobo-object refcount when returning
2989 children (applications) from desktop object.
2990 Added (empty) finalize method.
2992 * libspi/deviceeventcontroller.c:
2993 Hold a ref to listeners inside DEControllerKeyListeners.
2994 Added dec_key_listener_free() method. Use prepend instead of
2995 append in key_listener list. Fixed some refcount madness and
2996 leaks in the listener registration/deregistration - deregistration
2997 now calls dec_key_listener_free() on listeners, and on the
2998 temporarily constructed dec_key_listener() used to perform the search/match.
3000 * libspi/hypertext.c (spi_hypertest_finalize):
3001 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
3002 class. Also fixed spi_hypertext_interface_new() and
3003 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
3005 * libspi/hypertext.h:
3006 Removed pointless and duplicate AtkObject pointer from
3009 * libspi/keystrokelistener.c:
3010 Fixed incorrect type of keystroke_listener_parent_class,
3011 renamed keystroke_listener_object_finalize to
3012 spi_keystroke_listener_object_finalize.
3013 Fixed typo in signal declaration
3014 (spi_keystroke_listener_class_init).
3016 * libspi/registry.c:
3017 Added funcsions spi_listener_struct_new() and
3018 spi_listener_struct_free() to help with memory management issues.
3019 We also now use these methods instead of gnew + poking stuff into
3020 the struct, and to decrement listener counts/free the listeners
3021 when deregistering them.
3022 Fix more refcount bugs in getDesktop() and
3023 getDeviceEventController().
3026 De-ref the desktop after enumerating the applications. Explicitly
3027 decrement the refcounts on the created listeners on exit (using
3028 _unref for keystroke listeners, and via the
3029 deregisterGlobalEventListenerAll command for other event
3032 2001-11-27 Michael Meeks <michael@ximian.com>
3034 * cspi/spi-listener.h: fixup enum.
3036 2001-11-27 Michael Meeks <michael@ximian.com>
3038 * cspi/spi-listener-impl.c (cspi_event_listener_new),
3039 (cspi_keystroke_listener_new): Use the cspi variants.
3041 2001-11-26 Michael Meeks <michael@ximian.com>
3043 * test/keysynth-demo.c: fix 2 compile warnings, missing
3046 * test/simple-at.c (report_focussed_accessible),
3047 (report_focus_event, report_button_press),
3048 (check_property_change, is_command_key),
3049 (report_ordinary_key_event, report_command_key_event): upd.
3051 * util/mag_client.h: include pre-requisites.
3053 * libspi/accessibleeventlistener.c
3054 (spi_event_listener_object_finalize): free any lingering
3057 * libspi/keystrokelistener.c
3058 (keystroke_listener_object_finalize): ditto.
3060 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
3061 callbacks, with cspi types.
3063 * cspi/spi_event.c (createAccessibleEventListener): chain to
3064 (AccessibleEventListener_addCallback): here.
3065 (createAccessibleKeystrokeListener): chain to
3066 (AccessibleKeystrokeListener_addCallback): here.
3068 * libspi/keystrokelistener.c
3069 (spi_keystroke_listener_class_init): add signal.
3070 (impl_key_event): emit the event.
3071 (boolean_handled_accumulator): impl.
3072 (marshal_BOOLEAN__POINTER): add, gack.
3074 * libspi/accessibleeventlistener.c
3075 (spi_event_listener_class_init): add signal.
3076 (impl_accessible_event_notify_event): emit the signal &
3077 make the loop efficient.
3078 (spi_event_listener_add_callback): prepend the callback.
3080 * libspi/accessibleeventlistener.h: add an 'event' signal,
3081 decl type on callback.
3083 * libspi/keystrokelistener.h: ditto.
3085 * cspi/spi-listener.h: make methods typesafe and
3086 make them use the new event typedefs.
3088 * test/simple-at.c (report_focussed_accessible):
3089 include mag_client.h
3090 Use *(void *)text_interface not the other thing.
3092 * configure.in: add gtk to registryd bits - since we use
3095 * util/magnifier.c: include libbonobo.h
3097 2001-11-25 Bill Haneman <bill.haneman@sun.com>
3099 * test/keysynth-demo.c:
3100 Turned this into a simple scanning keyboard, to demonstrate the
3101 use of g_timeout_add () as a means of creating timers for
3102 scanning, and the use of GtkStyle for visually indicating when
3103 virtual keyboard elements are selected.
3105 keysynth-demo now listens to any keyboard keys with zero-valued
3106 keycodes (i.e. 'unused' keys) and interprets them as
3109 Reworked the shiftlatch code so that shift-down state isn't held
3110 for long periods (it's only synthesized immediately prior to
3111 the keysynth event it's modifying). Note that shiftlatch in this
3112 demo is a convenience, not intended to take the place of AccessX
3113 which is the better choice for getting 'sticky' modifier keys.
3115 * libspi/deviceeventcontroller.c:
3116 * at-bridge/bridge.c:
3117 * cspi/spi_registry.c:
3118 Removed some debug print stuff, and put other verbosity in #ifdef
3123 Implemented some more of the magnifier IDL for the simple
3124 magnifier: namely, getZoomRegionParams.
3125 Added mag_x and mag_y members to MagnifierData struct, aid of this
3127 Added GtkWindow::realize signal handler to magnifier, to keep it
3128 from receiving keyboard focus from the WM.
3130 2001-11-23 Mark McLoughlin <mark@skynet.ie>
3132 * cspi/spi-private.h: my guess at what michael forgot
3133 before he ran off to NZ :-)
3135 2001-11-23 Michael Meeks <michael@ximian.com>
3137 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
3138 comment out non existant method invoke so we link.
3140 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
3141 use bonobo_exception_get_text for more friendly warnings.
3143 * cspi/spi.c (Obj_Add): move into spi_main & rename
3144 spi_object_add; kill spi.c
3146 * cspi/spi_registry.c
3147 (deregisterGlobalEventListener),
3148 (deregisterGlobalEventListenerAll),
3149 (registerGlobalEventListener): fix exception leaks.
3151 * cspi/spi_main.c (spi_exception): impl. helper, so we
3152 don't leak exceptions.
3154 * cspi/spi_selection.c
3155 (AccessibleSelection_deselectSelectedChild): return the
3158 * cspi/spi_main.c (spi_ev): impl; hack - gack.
3159 (spi_registry): ditto.
3160 (SPI_init): guard against double inits.
3162 * cspi/*.c: use spi_ev (), and spi_registry () where
3163 appropriate - a temporary hack until we have something
3164 better. Use spi_object_add
3166 2001-11-22 Michael Meeks <michael@ximian.com>
3168 * cspi/Makefile.am: re organise, install the headers.
3170 * cspi/*.h: add G_BEGIN/END_DECLS
3172 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3175 Added non-preemptive keylistener for key events with no modifiers
3176 and shift-only modifier.
3178 * libspi/keystrokelistener.c:
3179 Removed some verbose diagnostics printout.
3181 * cspi/spi_registry.c:
3182 Fixed a bug that caused all key listeners to be registered as
3185 * libspi/deviceeventcontroller.c:
3186 Fixed bug that caused XGrabKey (preemptive key grab) to be called
3187 for non-preemptive key masks.
3190 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3192 * docs/reference/idl/at-spi-idl-docs.sgml:
3193 * docs/reference/idl/at-spi-idl-sections.txt:
3194 * docs/reference/idl/at-spi-idl-overrides.txt:
3195 Added missing files.
3197 * docs/reference/Makefile.am:
3198 removed idl from SUBDIRS until we can figure a way to get gtk-doc
3199 to scan the IDL files :-(
3204 Added .cvsignore files.
3206 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3208 * libspi/deviceeventcontroller.c:
3209 * libspi/keystrokelistener.c:
3211 * cspi/spi_registry.c:
3212 Added filters for KeySets, KeyEventSeq, and event types to key
3213 event dispatching, so listeners should only receive those events
3214 that they requested :-)
3216 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3221 * docs/reference:Makefile.am:
3222 * docs/reference/cspi:
3223 * docs/reference/cspi:Makefile.am:
3224 * docs/reference/cspi:tmpl:
3225 * docs/reference/cspi:tmpl:*.sgml:
3226 * docs/reference/idl:
3227 * docs/reference/idl:Makefile.am:
3228 * docs/reference/idl:at-spi-idl-sections.txt:
3229 * docs/reference/idl:at-spi-idl-docs.sgml:
3230 * docs/reference/idl:tmpl:
3231 * docs/reference/idl:tmpl:*.sgml:
3233 Restructured docs directory to allow separate 'reference' docs
3234 section, and forked idl and cspi docs. Added the sgml template
3235 files to CVS. Added the first sections/structural sgml for the
3238 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
3240 * configure.in, libspi/Makefile.am: find libXtst.
3242 2001-11-21 Michael Meeks <michael@ximian.com>
3244 * test/accessx-gui.c: s/spi_value/value/ - doh.
3246 * libspi/base.[ch]: add.
3248 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3250 * idl/Accessible.idl:
3251 * idl/Application.idl:
3254 Started gtk-doc cleanup on IDL.
3256 * libspi/deviceeventcontroller.c:
3257 Added and connected non-preemptive key notification from the
3258 toolkits (in addition to the pre-emptive support from XServer
3259 which we had before, but which causes 'focus flashing'). Filters
3260 are presently limited to key modifiers and global/non-global,
3261 KeySets are presently ignored, as are KeyEvent masks.
3263 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
3264 structs into the persistant structure rather than just storing
3265 pointers to things that might not persist across servant
3268 The XGrabKey call now does async keygrabs, because synchronous
3269 ones were deadlocking with GDK_event code in a very nasty way.
3271 Added boolean to internal method notify_keylisteners, to indicate
3272 whether the event came from the 'toolkit source' or the 'global
3273 (XServer) source' - this is used in the notification process to
3274 determine which listeners to send the event to.
3276 deviceeventcontroller.c is now warning-free.
3278 * libspi/registry.c:
3279 Fixed regression in application de-registration.
3280 Also fixed some really brain-dead weirdness having to do with
3281 event dispatching - event structs are now duplicated before being
3282 re-marshalled in the dispatch to listeners. This also fixes a
3283 Solaris build problem.
3286 2001-11-20 Michael Meeks <michael@ximian.com>
3289 (impl_accessibility_registry_deregister_global_event_listener):
3292 * libspi/deviceeventcontroller.c
3293 (spi_device_event_controller_check_key_event): return
3294 FALSE on no virtual method.
3296 * libspi/*..h: make includes work on a correctly pathed install.
3298 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
3300 * libspi/application.h: kill unused ( and whacked out )
3301 gboolean *spi_application_set_id (AtkObject *app, long id);
3303 2001-11-20 Michael Meeks <michael@ximian.com>
3305 * libspi/*.[ch]: further convert to bonobo's type func
3306 macros, remove redundnant casts etc.
3308 * libspi/text.c s/accessibility_text/spi_text/g,
3309 re-order to de-cruft.
3311 * libspi/hypertext.c: re-order to kill a huge slew
3312 of redundant forward decls.
3314 * libspi/relation.c: ditto.
3316 * libspi/image.c: ditto.
3318 * */.cvsignore: update
3320 2001-11-20 Michael Meeks <michael@ximian.com>
3322 * libspi/deviceeventcontroller.c
3323 (_controller_register_with_devices): use g_getenv,
3324 kill stdlib.h include.
3326 * libspi/keystrokelistener.c
3327 (spi_keystroke_listener_get_type): kill
3328 (spi_keystroke_listener_class_init),
3329 (spi_keystroke_listener_init): rename to this.
3331 * libspi/text.c (impl_getAttributes): fix warning / bug.
3333 * libspi/*.[ch]: more headers, includes and over commenting.
3335 2001-11-20 Michael Meeks <michael@ximian.com>
3337 * libspi/*.[ch]: fixup headers, includes and over commenting.
3339 * libspi/image.c (impl__get_imageDescription): const
3340 correctness warning fix. remove redundant casting.
3342 * libspi/table.c (impl_getRowDescription): ditto.
3343 (impl_getColumnDescription): ditto.
3345 * libspi/libspi.h: add.
3347 2001-11-19 Michael Meeks <michael@ximian.com>
3349 * libspi/editabletext.c (impl_setAttributes): fix warnings.
3351 * libspi/component.c (accessibility_component_get_type):
3352 rename to (spi_component_get_type): and macroify.
3353 (accessibility_component_init): rename to
3354 (spi_component_init): this
3355 (accessibility_component_class_init): rename to
3356 (spi_component_class_init): this
3358 * libspi/action.c (spi_action_get_type): kill, use the macro.
3360 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
3363 * libspi/application.c (spi_application_object_event_listener),
3364 (impl_accessibility_application_register_object_event_listener):
3365 warning fixes / const understanding updates.
3367 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
3370 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3372 * libspi/spi_accessible.c: Added docs and C bindings for
3373 AccessibleStateSet. (No implementations yet). Documentation
3374 coverage for C bindings now 100%. Made docs for event listeners
3379 boolean notifyListenersSync (in DeviceEventListener listener,
3380 in DeviceEvent event);
3382 oneway void notifyListenersAsync (in DeviceEventListener listener,
3383 in DeviceEvent event);
3385 Added DeviceEventListener and DeviceEvent structs (may deprecate
3386 KeyStroke and KeystrokeListener in favor of this generic
3387 event/listener framework for devices).
3389 * libspi/deviceeventcontroller.c:
3391 Changed some key listener code to take masks, etc., and paved the
3392 way for integration of toolkit/non-preemptive key events. Changed
3393 signatures of some internal methods.
3395 * at-bridge/bridge.c:
3396 Fixed regression connecting to interface signals, apparently
3397 caused by GTK+ changes.
3399 Added an internal bridge_state_listener to deal with
3400 property-change:accessible-state signals.
3402 Changed the key_listeners GList to store structs (including masks,
3403 etc.) instead of just CORBA_Objects (required for full
3404 implementation of key listener API).
3406 Connected the bridge to all currently supported Atk signals.
3407 Events now supported:
3408 object:property-change
3409 object:property-change:accessible-name
3410 object:property-change:accessible-state
3411 object:property-change:accessible-description
3412 object:property-change:accessible-parent
3413 object:property-change:accessible-value
3414 object:property-change:accessible-role
3415 object:property-change:accessible-table-caption
3416 object:property-change:accessible-table-column-description
3417 object:property-change:accessible-table-column-header
3418 object:property-change:accessible-table-row-description
3419 object:property-change:accessible-table-row-header
3420 object:property-change:accessible-table-summary
3421 object:children-changed
3422 object:visible-data-changed
3423 object:selection-changed
3424 object:text-selection-changed
3426 object:text-caret-moved
3428 object:row-reordered
3430 object:column-inserted
3431 object:column-reordered
3432 object:column-deleted
3433 object:model-changed
3435 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3437 * libspi/hyperlink.c,h:
3438 Fixed some broken stuff in hyperlink.
3440 * libspi/relation.h:
3441 * libspi/relation.c:
3442 * cspi/spi_accessible.c:
3443 Initial implementations of AccessibleRelation methods, and docs.
3445 * libspi/accessible.c:
3446 Fixed a bug that caused SEGV if an accessible
3447 object's description is NULL, and a client
3448 requests it. An empty string is now returned.
3450 * cspi/spi_editabletext.c:
3451 * cspi/spi_hypertext.c:
3453 * cspi/spi_hyperlink.c:
3457 Doc coverage now 95%.
3459 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3461 One last namespacing revision:
3462 * libspi/accessibleeventlistener.[ch]:
3463 Renamed SpiAccessibleEventListener to SpiEventListener,
3464 (no need for two namespaces ;-)
3466 And lots of documentation fixes:
3468 * docs/at-spi-docs.sgml:
3469 Fixed 'underscore vs. hyphen' bug that was preventing
3470 the gtk-doc API docs from being automatically generated.
3473 * cspi/spi-listener.h
3475 * cspi/spi_accessible.c
3477 * cspi/spi_application.c
3478 * cspi/spi_component.c
3479 * cspi/spi_editabletext.c
3481 * cspi/spi_hypertext.c
3483 * cspi/spi_registry.c
3484 * cspi/spi_selection.c
3488 * docs/at-spi-docs.sgml
3489 * docs/at-spi-sections.txt
3491 Added and fixed up gtk-doc documentation in cspi.
3493 Interfaces now (fully) documented (subject to revision and enhancement):
3495 Event Listener Support
3497 AccessibleApplication
3501 AccessibleEditableText
3508 AccessibleRelationSet
3513 2001-11-14 Bill Haneman <bill.haneman@sun.com>
3515 * at-bridge/bridge.c:
3516 Initial work for toolkit-level key snooper connection by bridge.
3521 New typedefs and fixes to support new namespacing, and cleaner
3522 separation of cspi bindings from libspi bonobo implementation.
3523 Removed inconsistent and extraneous Spi* namespace prefix that
3524 had crept into cspi headers.
3525 Lots of comment fixes that sed had missed.
3527 * cspi/spi-roletypes.h:
3528 * cspi/spi-statetypes.h:
3529 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
3530 to AccessibleRoleType.
3532 * libspi/accessibleeventlistener.h:
3533 Fixed minor namespacing weirdness.
3535 * libspi/deviceeventcontroller.c:
3536 Reordered some internal API for device listeners.
3537 Changed the key registry final boolean to 'is_system_global'
3538 rather than 'is_synchronous', which is more descriptive of its
3540 Added spi_device_event_controller_new().
3541 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
3543 * libspi/keystrokelistener.[ch]:
3544 Namespaced KeystrokeListener to SpiKeystrokeListener.
3545 Changed uses of keymasks to use SPI_ prefix, and did other
3548 * libspi/keymasks.h:
3549 Namespaced keymask constants with SPI_ prefix.
3551 * libspi/registry.c:
3552 Some warning fixes, and knock-on fixes from namespace changes.
3555 Added rules for accessx-gui test program.
3557 * test/accessx-gui.c:
3558 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
3559 utility. It doesn't actually use at-spi, but it's still cool and
3562 * test/keysynth-demo.c:
3566 Fixes so that these test clients work properly with the namespaced
3567 libraries. (Incompletely tested for technical reasons, fixes may follow)
3570 2001-11-13 Michael Meeks <michael@ximian.com>
3572 * libspi/application.c
3573 (impl_accessibility_application_get_version),
3574 (impl_accessibility_application_get_toolkit_name):
3576 (impl_accessibility_application_set_id),
3577 (impl_accessibility_application_get_id): remove
3578 redundant casting code.
3580 * libspi/action.c (impl_getDescription): fix warnings.
3582 * libspi/accessible.c
3583 (impl_accessibility_accessible_get_parent),
3584 (impl_accessibility_accessible_get_child_at_index),
3585 (impl_accessibility_accessible_get_state),
3586 (impl_accessibility_accessible_get_relation_set):
3587 warning fixes & include action.h
3589 2001-11-13 Michael Meeks <michael@ximian.com>
3591 * *.[ch] fix bits I screwed up:
3593 s/([^ \tb(\*\&\?\",])spi_/\1/g;
3594 s/([^ \tb(\*\&\?\",])Spi/\1/g;
3596 2001-11-13 Michael Meeks <michael@ximian.com>
3598 * *.[ch] Namespace libspi into spi_ and Spi.
3600 2001-13-11 Michael Meeks <michael@ximian.com>
3602 * Makefile.am: dist & install at-spi-1.0.pc
3604 * libspi/Makefile.am: install into at-spi-1.0
3606 * idl/Makefile.am (idldir): install into at-spi-1.0
3608 * at-spi-1.0.pc.in: add.
3610 * configure.in: build it.
3612 2001-11-12 Bill Haneman <bill.haneman@sun.com>
3614 * test/keysynth-demo.c:
3615 Use a 'realize' signal-handler to set the WM properties for
3616 the virtual keyboard, rather than making it a "POPUP" type
3617 override-redirect window (thanks to anders carlsson for that
3620 2001-11-11 Bill Haneman <bill.haneman@sun.com>
3623 * test/keysynth-demo.c:
3624 Added new test of key synthesis, which creates a simple
3625 (mouse-operated) onscreen keyboard. It inserts key events into
3626 the currently-focused window, thus it does not grab keyboard focus
3629 * cspi/spi_registry.c:
3630 Added C binding for AT-SPI generateKeyEvent.
3632 * libspi/deviceeventcontroller.c:
3633 Added call to XFilterEvent so that key listener works with XIM (we
3634 hope). Added event_synth_type to generateKeyEvent, so that we can
3635 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
3636 synthesize a press/release pair for KeySyms.
3638 2001-11-09 Bill Haneman <bill.haneman@sun.com>
3640 * libspi/Makefile.am:
3641 * registryd/Makefile.am:
3642 (temporary) hack to include libXtst in libspi and registryd.
3643 (Needed for keystroke synthesis, see below).
3646 Improved API for registerKeystrokeListener, in accordance with
3647 discussions with Gnopernicus team and X server research.
3649 * libspi/registry.c:
3650 * libspi/deviceeventcontroller.c:
3651 * libspi/accessible.c:
3652 * libspi/keystrokelistener.c:
3653 Changes and fixes to support keylisteners for potentially
3654 consumed key events (that is, 'passive grabs').
3655 Added implementation for generateKeyEvent() [untested].
3658 Changes to registerKeystrokeListener() API, as above.
3659 Added deregisterGlobalEventListenerAll(), and
3660 deregisterKeystrokeListener(), which are needed for clean exit of
3662 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
3663 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
3665 * cspi/spi_registry.c:
3666 Added implementations of function prototypes mentioned above.
3668 * registryd/registryd.c:
3669 Added the key listener event source as a g_timeout(), to allow
3670 receipt of key events that are not caught by GDK (since GDK
3671 doesn't support passive keygrabs, this was necessary).
3674 Changed to attach a keylistener to 'Alt' keys, and
3675 respond to the following keycommands: Alt-M (toggle magnifier);
3676 Alt-F (toggle speech); Alt-Q (quit).
3677 Added an exit routine to deregister the listeners, and a key
3678 listener that prints some key info to the console when a key
3679 matches the listener mask (and is thus received by the listener).
3681 * util/idl/Magnifier.idl:
3682 Changes to magnifier API to support multiple zoom regions,
3683 non-uniform scaling in x and y, markDirty, and a host of other
3684 features that would be useful to magnification.
3687 * util/mag_client.c:
3688 * util/mag_client.h:
3689 * util/mag_control.c:
3691 Source code changes to support the above IDL changes.
3694 As above, and also changes to use a (slower) generic conversion
3695 path for colormap conversions, since the fast RGB conversions have been
3696 reported to fail for 16-bit displays.
3698 2001-10-26 Michael Meeks <michael@ximian.com>
3700 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
3702 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
3704 * at-bridge/Makefile.am: fix LDFLAGS.
3706 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3708 * at-bridge/bridge.c:
3709 Re-worked listeners for toolkit events, now we have signal
3710 and property listeners. Added a private method
3711 register_atk_event_listeners(), which registers with the
3712 various atk and gtk signals we need to monitor in order to emit
3714 Added emission hook for AtkObject:property-change events, to
3715 support the 'property listeners'.
3716 Fixed some alloc()s of Accessibility_Event structs to use CORBA
3719 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
3720 which emit warnings and exit, respectively, if CORBA errors occur
3721 during remote calls, and we now use these methods to check most of
3722 our CORBA calls in the C bindings.
3724 * cspi/spi_accessible.c:
3725 Changed AccessibleSelection_refSelectedChild() to
3726 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
3727 now increment refcounts.
3729 * cspi/spi_component.c:
3730 Fixed some long pointer casts (dangerous!) to pass pointers to
3731 CORBA_longs of the proper type to the CORBA stubs, and copy the
3732 data into the longs that were passed into the C bindings code.
3734 * at-bridge/bridge.c:
3736 * libspi/accessible.c:
3737 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
3738 hyperlinks, AtkHyperlink is an object type.
3740 * libspi/application.c:
3741 Added various conversions to and from "generic" event types and
3742 atk-specific types; this is really part of the 'bridge'
3743 implementation but is valid for all AtkObject-based accessibility
3746 * libspi/editabletext.c:
3747 Fixed nasty bug wherein editable text's finalize method was
3748 unref'ing tha AtkObject reference that the text parent class was
3749 about to unref _again_. There was also a nasty inheritance bug
3750 that meant that the AccessibleEditableText class was corrupt.
3752 * libspi/selection.c:
3753 Provided implementations for some selection API that was broken.
3755 * idl/Application.idl:
3756 Added registerObjectEventListener () method.
3759 Fixed a number of return values that were Bonobo_Unknowns from
3760 bonobo_object_corba_objref(), which I
3761 forgot to dup before returning. Changed instances of
3762 bonobo_object_corba_objref (bonobo_object(o)) to
3763 BONOBO_OBJREF(o), for concision and clarity.
3765 2001-10-13 Louise Miller <louise.miller@sun.com>
3767 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
3768 idl/Event.idl, idl/Registry.idl
3769 Changed these files to include Bonobo_Unknown.idl instead
3772 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
3774 * libspi/component.c libspi/component.h:
3775 Fixed typo. Added assertions for object checks in
3776 AccessibleComponent code.
3778 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3780 * idl/Accessible.idl:
3781 Added 'isEqual (Accessible *object)'
3782 method for Accessible. (Not Yet Implemented).
3785 Changed signature of registerKeystrokeListener() to
3786 take a KeySet and KeyEventSeq so that specific keys and event
3787 types could be requested for monitoring, and added a flag
3788 is_synchronous so that either synchronous or asynchronous
3789 notification could be requested. (However this is not all
3790 implemented yet). This also meant adding two new typedefs,
3791 KeyEventSeq and KeySet.
3794 Added two new relations, RELATION_TOOLTIP_FOR and
3795 RELATION_LEAFNODE_OF.
3798 Added new state, STATE_HAS_TOOLTIP.
3800 * libspi/text.c, editabletext.c:
3801 Added new assertions to all casts of bonobo-objects from
3802 CORBA servants, to prevent Text API calls on non-text objects.
3803 Changed suspect casts of int-pointer types, so that we
3804 always send a valid CORBA_long pointer to the CORBA APIs that use
3805 in/out long parameters. We then have to copy from the CORBA_long
3806 into the regular long or int for return to the C bindings, or
3807 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
3810 * libspi/deviceeventcontroller.c:
3811 Cleaned these sources up.
3813 Changed return type for getCharacterAtOffset to
3814 CORBA_unsigned_long, to allow for 32-bit characters.
3817 2001-10-08 Bill Haneman <bill.haneman@sun.com>
3821 Fixed 'make dist' so that distro compiles...
3822 * libspi/keymasks.h:
3824 * cspi/spi-listener.c:
3825 KeystrokeListenerCB now returns a boolean.
3827 Added KeyEventType struct, and KeyStroke.
3828 Also added createKeystrokeListener(),
3829 KeystrokeListener_addCallback(),
3830 KeystrokeListener_removeCallback(), and added a keymask to
3831 registerKeystrokeListener().
3832 * cspi/spi_accessible.c:
3833 Changed numerous return types for interfaces from
3834 AccessibleComponent to Accessible<InterfaceName>; this was
3835 probably a cut-and-paste error.
3837 Implementations of new KeystrokeListener api (from spi.h,
3840 Changes to key modifier mapping.
3841 Created ControllerEventMask struct.
3842 Made DeviceEventController derive from Bonobo::Unknown.
3844 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3845 * libspi/deviceeventcontroller.c:
3846 Added a number of new internal (private) methods.
3847 * libspi/editabletext.c:
3848 * libspi/editabletext.h:
3849 Fixed a number of bugs related to the fact that
3850 editabletext inherits from text. Fixed the EditableText struct,
3851 the init() call, and use correct casts when calling Text methods
3852 from an EditableText object. Removed (duplicate) atko from the
3853 EditableText structure, we use the one in the parent Text
3854 structure via the casts mentioned above.
3855 * libspi/keystrokelistener.[ch]:
3856 * libspi/registry.c:
3857 Changes in support of keyboard handling (above).
3859 Keyboard handling, though partly functional, is still not
3860 recommended for at-spi client use as there is considerable
3861 work yet to be done.
3864 Changed some places where pointers to various int types
3865 are cast to be pointers to CORBA_long types and vice-versa:
3866 pointer casting is not safe so we pass pointers of the correct
3867 types and then cast the result before putting it into the target
3870 * libspi/text.h: minor typos corrected.
3872 We now speak not only the name of a Text element, but the
3873 first sentence of its content, when it receives focus.
3874 I also changed the text compression to 75% from 50%.
3875 * util/Accessibility_Util.server.in:
3876 Changed the default magnifier type to be a 3x vertical
3877 splitscreen magnifier (was previously a 2x horizontal one).
3879 2001-10-03 Bill Haneman <bill.haneman@sun.com>
3881 * libspi/keystrokelistener.h:
3882 * libspi/keystrokelistener.c:
3883 Initial functional implementations of KeystrokeListener.
3886 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3888 Fixed string handling for NULL strings in libspi.
3889 Added spi_freeString to free strings returned by C bindings.
3891 2001-09-30 Bill Haneman <bill.haneman@sun.com>
3893 * libspi/keystrokelistener.h:
3894 * libspi/keystrokelistener.c:
3895 Began (no-op) implementations of KeystrokeListener
3897 * libspi/deviceeventcontroller.c:
3898 * libspi/deviceeventcontroller.h:
3899 Began creating implementations of DeviceEventController,
3900 to handle keystroke and mouse event listening and
3902 * libspi/accessible.c:
3903 Stubbed-in the implementations for
3904 Accessibility_Accessible_getState and
3905 Accessibility_Accessible_getRelationSet.
3906 * libspi/registry.c:
3907 Improved de-registration process and fixed some bugs,
3908 deregistration now works correctly.
3910 Added initialization of applications list (to NULL).
3912 Reduced speech compression from 0.5 to 0.7, for demo.
3913 Changed call to gdk_window_set_decorations()
3914 to gtk_window_set_decorated().
3915 * at-bridge/bridge.c:
3916 Bridge now deregisters when app exits, via
3917 registration of a cleanup function
3918 with the g_atexit() call.
3919 Required making 'app' static, renamed 'this_app'.
3920 Fixed broken use of bonobo_init, passing argv wrongly.
3922 2001-09-27 Bill Haneman <bill.haneman@sun.com>
3926 Created a new directory for
3927 accessibility-related utilities, primarily for
3928 testing and demo purposes, but with possible
3935 Onscreen magnifier utility that
3936 is implemented as a bonobo service.
3938 * util/mag_client.c:
3939 * util/mag_client.h:
3940 Client-side support (simple C bindings)
3941 for Magnification service
3943 * util/mag_control.c:
3944 Client program example for
3945 Magnification service
3947 * util/Accessibility_Magnifier.server.in:
3948 Bonobo-activation file for the
3949 Magnification service.
3952 * util/idl/Magnifier.idl:
3953 IDL defining the bonobo Magnification
3957 Modifications to use the bonobo-activated magnifier
3958 above, in place of trying to connect to an existing
3959 magnifier that uses socket-listening IPC.
3961 If env variable MAGNIFIER is set, a magnifier service
3962 will be started if one does not exist.
3964 2001-09-25 Bill Haneman <bill.haneman@sun.com>
3966 * at-bridge/bridge.c:
3967 applied patch from Marc to build and run
3968 against new glib and gtk+ (seemed like a change
3969 to bonobo_init signature was made ?)
3971 made festival-server support turned off by default.
3972 Added support for a simple magnifier (off by default)
3973 which will be added to a 'util' directory later.
3974 * at-bridge/Makefile.am:
3975 Changed "application.h" header from a 'source'
3976 to a 'dependency' of libat-bridge.
3978 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3987 Added interface implementation c files to list of
3988 includes so they are included in libcspi.
3991 Changed prototype of AccessibleAction_doAction to return a
3993 Changed prototype of AccessibleTable_getCaption to
3994 return an Accessible.
3995 Changed prototype of AccessibleTable_getSelectedRows
3996 and AccessibleTable_getSelectedColumns to
3997 return a long (returns the number of selected rows
3998 or columns respectively).
3999 Changed name of AccessibleText_refRunAttributes to
4000 AccessibleText_getAttributes.
4001 Changed prototype of AccessibleText_getCharacterExtents to
4002 return a void rather than a boolean.
4003 Added support for a AccessibleCoordType parameter
4004 specifying what type of coordinates are desired.
4005 Added an AccessibleCordType parameter to
4006 AccessibleText_getPointAtOffset.
4008 * cspi/spi_accessible.c:
4009 Added code to return the outstanding interfaces from
4010 Accessible_queryInterface.
4012 * cspi/spi_action.c:
4014 Corrected call to getNActions to call the c binding
4017 * cspi/spi_editabletext.c:
4019 Changed name from setRunAttributes to setAttributes.
4021 * cspi/spi_hyperlink.c:
4023 Changed call to getNAnchors to correctly call the c
4024 binding for an attribute.
4026 * cspi/spi_hypertext.c:
4028 Changed getImageDescription to correctly call the
4029 binding for an attribute.
4031 * cspi/spi_selection.c:
4032 Changed getNSelectedChildren to correctly call the c
4033 binding for the attribute.
4034 Changed refSelectedChild to getSelectedChild.
4038 Changed getCaption to return an Accessible.
4039 Fixed calls which retrieve attributes.
4040 Changed refAt to getAccessibleAt.
4041 Changed getNSelectedRows and getNSelectedColumns to
4045 Changed getCharacterExtents and getPointAtOffset to accept an
4046 AccessibleCoordType.
4048 Changed calls which retrieve attributes.
4049 Changed refRunAttributes to getAttributes.
4054 * idl/Hyperlink.idl:
4055 Changed n_anchors attribute to nAnchors to keep naming
4056 convention consistent.
4059 Made Table inherit from Bonobo::Unknown.
4060 Added nSelectedColumns and nSelectedRows attributes.
4063 Made Value inherit from Bonobo::Unknown.
4065 * libspi/hyperlink.c:
4066 Change for nAnchors attributte name change.
4068 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4076 Added interface implementation c files to list of
4077 includes so they are included in libcspi.
4080 Changed prototype of AccessibleAction_doAction to return a
4082 Changed prototype of AccessibleTable_getCaption to
4083 return an Accessible.
4084 Changed prototype of AccessibleTable_getSelectedRows
4085 and AccessibleTable_getSelectedColumns to
4086 return a long (returns the number of selected rows
4087 or columns respectively).
4088 Changed name of AccessibleText_refRunAttributes to
4089 AccessibleText_getAttributes.
4090 Changed prototype of AccessibleText_getCharacterExtents to
4091 return a void rather than a boolean.
4092 Added support for a AccessibleCoordType parameter
4093 specifying what type of coordinates are desired.
4094 Added an AccessibleCordType parameter to
4095 AccessibleText_getPointAtOffset.
4097 * cspi/spi_accessible.c:
4098 Added code to return the outstanding interfaces from
4099 Accessible_queryInterface.
4101 * cspi/spi_action.c:
4103 Corrected call to getNActions to call the c binding
4106 * cspi/spi_editabletext.c:
4108 Changed name from setRunAttributes to setAttributes.
4110 * cspi/spi_hyperlink.c:
4112 Changed call to getNAnchors to correctly call the c
4113 binding for an attribute.
4115 * cspi/spi_hypertext.c:
4117 Changed getImageDescription to correctly call the
4118 binding for an attribute.
4120 * cspi/spi_selection.c:
4121 Changed getNSelectedChildren to correctly call the c
4122 binding for the attribute.
4123 Changed refSelectedChild to getSelectedChild.
4127 Changed getCaption to return an Accessible.
4128 Fixed calls which retrieve attributes.
4129 Changed refAt to getAccessibleAt.
4130 Changed getNSelectedRows and getNSelectedColumns to
4134 Changed getCharacterExtents and getPointAtOffset to accept an
4135 AccessibleCoordType.
4137 Changed calls which retrieve attributes.
4138 Changed refRunAttributes to getAttributes.
4143 * idl/Hyperlink.idl:
4144 Changed n_anchors attribute to nAnchors to keep naming
4145 convention consistent.
4148 Made Table inherit from Bonobo::Unknown.
4149 Added nSelectedColumns and nSelectedRows attributes.
4152 Made Value inherit from Bonobo::Unknown.
4154 * libspi/hyperlink.c:
4155 Change for nAnchors attributte name change.
4158 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
4160 implementations-- made server implementations own AtkObject pointers
4161 rather than their respective AtkInterrface pointers to fix
4162 refcounting. AtkHyperlink is still broken.
4164 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4165 * cspi/spi_accessible.c:
4166 Added method Accessible_Role_getName(),
4167 and requisite string array (role_names).
4168 Added conversion string_from_corba_strin() call
4169 to Accessible_getName and _getDescription.
4170 * libspi/accessible.c:
4171 Added implementation for Accessible_getRole()
4173 Added festival support, used if environment variable
4176 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4178 * at-bridge/bridge.c:
4179 Now allocate Accessibility_Event using
4180 Accessibility_Event__alloc() instead of g_new0().
4181 * libspi/accessibleeventlistener.c:
4182 Initialize AccessibleEventListener->callbacks to NULL.
4183 Fixed accessible__event_listener_init() param, changed to
4184 "AccessibleEventListener *" type.
4185 Changed a bonobo_object_release_unref() call to
4186 Accessibility_Accessible_unref().
4187 * libspi/listener.c:
4188 Changed Bonobo_Unknown_unref to (equivalent)
4189 Accessibility_Accessible_unref.
4190 * libspi/registry.c:
4191 Changed bonobo_object_release_unref to
4192 Accessibility_Accessible_unref.
4194 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4197 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
4198 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
4199 spi-util.c spi-util.h
4200 Implementations for C bindings to remaining accessibility
4203 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4206 changed return value of Action from void to boolean to
4207 bring in line with ATK.
4210 Changed getText funcions to return "out" start and end offsets.
4211 Changed getAttributes to take and offset and return the start
4212 and end offset of the attribute run.
4213 Changed getOffsetAtPoint and getCharacterExtents to take an
4214 enum describing whether coordinates are window or screen.
4217 libspi/action.c libspi/action.h libspi/editabletext.c
4218 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
4219 libspi/hypertext.c libspi/hypertext.h libspi/image.c
4220 libspi/image.h libspi/selection.c libspi/selection.h
4221 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
4222 libspi/value.c libspi/value.h
4223 Added server implementations for outstanding ATK interfaces
4224 not yet implemented.
4226 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4229 Added (missing) getName() method.
4230 Made nActions an attribute.
4231 * idl/EditableText.idl:
4232 Changed order of params in setAttributes.
4233 * idl/Hyperlink.idl:
4234 Removed getAnchor, added getURI.
4236 Changed attributes to methods, for efficiency
4237 (so that getting extents can be done in one call)
4238 * idl/Selection.idl:
4239 Changed nSelectedChildren to attribute, and re-indented.
4240 * idl/Table.idl: changed nrows, ncolumns, caption, summary
4242 * idl/Text.idl: reformatted to match our coding style.
4243 (temporarily?) removed getRowColumnAtOffset().
4244 Changed text selection API to support multi-select and
4245 non-contiguous selections, as in ATK.
4246 * idl/Value.idl: changed some methods to attributes.
4248 2001-08-24 Mark McLoughlin <mark@skynet.ie>
4250 * libspi/listener.c(impl_notify_event):
4251 BonoboUnkown_unref the source instead
4252 of bonobo_object_release_unref - the ORB
4253 handles the releasing.
4255 * configure.in: require ORBit-2.3.94 for
4258 2001-08-21 Bill Haneman <bill.haneman@sun.com>
4260 Tagged CVS repository 'EA_1_0'.
4261 * README.EARLY_ACCESS:
4262 Alphabetized acknowledgements list, and
4264 Listed some known dependencies of at-spi.
4266 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4268 * docs/at-spi-docs.sgml:
4269 * docs/at-spi-sections.txt:
4270 * docs/at-spi-overrides.txt: (Added zero-length file)
4271 Documentation improvements - gtk-doc should build
4272 docs for all implemented C bindings now.
4275 * cspi/spi.c: (New file)
4276 * cspi/spi_event.c: (New file)
4277 * cspi/spi_registry.c: (New file)
4278 * cspi/spi_accessible.c: (New file)
4279 * cspi/spi_application.c: (New file)
4280 * cspi/spi_component.c: (New file)
4281 Split spi_main.c into six parts, and included them from
4282 "spi.c". This is a bit of a hack, probably temporary,
4283 but required by gtk-doc, apparently.
4285 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4288 * docs/at-spi-docs.sgml:
4289 * docs/at-spi-sections.txt:
4291 Initial checkins/modifications for gtk-doc generation.
4294 Added (missing) interface query methods to Accessible's C binding.
4296 Added GenericInterface type definition.
4298 Added query for AccessibleComponent interface to focus event handler.
4299 Added printout of bounding box for focussed component.
4300 * libspi/component.c:
4301 Added partial implementation for AccessibleComponent to C binding.
4302 * idl/Application.idl:
4303 * libspi/registry.c:
4304 * libspi/listener.c:
4305 * libspi/application.c:
4306 * libspi/application.h:
4307 Changed "ID" attribute type from string to long.
4309 2001-08-19 Bill Haneman <bill.haneman@sun.com>
4313 Made method naming consistent: methods taking object args
4314 start with uppercase, other methods (except those using
4315 acronyms) start with lowercase. Underscores delimit between
4316 object names and method names:
4317 SPI_init() - uppercase since it starts with an acronym.
4318 getDesktopCount () - lowercase start since no object param0.
4319 Accessible_getName() - uppercase object type name, studlyCaps method
4323 Added gtk-doc documentation for all currently implemented
4324 methods in the C bindings API.
4326 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4328 * Makefile.am : changed build order to build test last.
4331 Changed "createEventListener" to "CreateEventListener".
4332 * libspi/accessibleeventlistener.c :
4333 Bugfix for addition of callbacks.
4334 * test/Makefile.am :
4335 * test/simple-at.c :
4336 Added new test that uses the C bindings API.
4338 * libspi/listener.c :
4339 * libspi/registry.c :
4340 * libspi/accessibleeventlistener.c :
4341 * at-bridge/bridge.c :
4342 Renamed member "target" of Accessibility_Event to "source",
4343 which is more descriptive.
4346 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4350 * cspi/Makefile.am :
4351 Added makefile support for at-spi/cspi directory.
4354 * cspi/spi-listener.h : (NEW FILE)
4355 Added support for/use of spi-listener.h.
4357 C bindings now build successfully, with no warnings.
4358 * libspi/accessibleeventlistener.h : (NEW FILE)
4359 * libspi/accessibleeventlistener.c : (NEW FILE)
4360 * libspi/Makefile.am :
4361 Added new object type "AccessibleEventListener"
4362 which inherits from Listener, and allows attachment
4363 of in-process callbacks (so that a client with a listening
4364 object instance can add functionality to the local
4365 implementation, dynamically).
4367 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4369 * libspi/accessible.c:
4370 Add implementation for get_index_in_parent().
4372 Added #include of "spi-roletypes.h", and
4373 added enumerated type AccessibleCoordType.
4374 Added definition for KeystrokeListener (function type).
4377 * cspi/spi-statetypes.h :
4378 * cspi/spi-roletypes.h :
4380 Added these headers, used by spi.h.
4382 Added code (NOTE: not yet built by make).
4384 2001-08-18 Mark McLoughlin <mark@skynet.ie>
4386 * libspi/Makefile.am: generate imodule
4387 at the same time as other idl compiler
4390 2001-08-17 Bill Haneman <bill.haneman@sun.com>
4391 * libspi/registry.c :
4392 * libspi/application.c :
4393 * idl/Application.idl :
4394 Made registration with toolkit an application method,
4395 which is required since each app has its own toolkit static
4396 environment. Thus the bridge must register for
4397 notification of toolkit events from each application in turn.
4398 Toolkit notifications are now successfully registered for, and
4399 sent to the listening at client.
4401 Changed toolkit event string to use hyphens rather than underscores.
4402 * libspi/listener.c :
4403 listner now gives more info in debug mode - it reports the
4404 name of the event received, as well as the name of the source.
4407 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4409 * libspi/registry.c :
4410 added more implementation for toolkit events.
4411 Fixed bug such that toolkit event registrations
4412 (via atk) use the whole event name string, not
4414 Removed a useless call to an ORBit_ method.
4415 * at-bridge/bridge.c :
4416 Removed unused local sbuf[] variable.
4418 We now register for Gtk:GtkWidget:button_press_event
4419 events as well as "focus:" events.
4421 Add some more API from Registry.idl that was missing,
4422 for keystroke listening, keystroke and mouse event
4423 synthesis, and enumeration of accessible desktops.
4425 2001-08-16 Michael Meeks <michael@ximian.com>
4427 * configure.in: use AM_GLIB_GNU_GETTEXT.
4429 * Makefile.am (SUBDIRS): kill intl.
4431 2001-08-15 Michael Meeks <michael@ximian.com>
4433 * registryd/Makefile.am: s/oaf/server/ relocate info file.
4435 * configure.in: upd.
4437 * configure.in: depend on a recent bonobo-activation that
4438 will find our server files ...
4440 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4442 * libspi/accessible.c : accessible_new() :
4443 Now we add the Component interface via bonobo_object_add_interface,
4444 if the contained AtkObject implements AtkComponent.
4445 * libspi/accessible.h : now include "component.h"
4446 * libspi/component.h :
4447 * libspi/component.c : added files - implementation of
4448 bonobo wrapper object for Accessibility/Component
4449 * libspi/listener.c :
4450 Added test code to check for Accessibility/Component:1.0
4451 interface and report whether it is implemented by the
4453 * libspi/registry.c :
4454 Now we check for not only the hash of the whole event
4455 string before relaying the event, we also check the
4456 "minor" event string (without the detail string).
4457 This allows event listeners to be registered against
4458 all events of a certain major+minor type, or just
4459 against a specific major+minor+detail type.
4460 * libspi/accessible.c :
4461 Added implementations for Accessible:get_parent(),
4462 Accessible:getChildCount(), and Accessible:getChildAtIndex().
4463 * libspi/registry.c :
4464 * libspi/listener.c :
4465 Replaced calls to Accessibility_Accessible_ref() and
4466 Accessibility_Accessible_unref() with
4467 calls to bonobo_object_dup_ref() and
4468 bonobo_object_release_unref(), so that the CORBA object
4469 is dup-ed and released when relayed, as well as the bonobo object.
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 reverse previous changes.
4479 * /idl/Image.idl: fix typo.
4481 * test/Makefile.am: put DEBUG_FLAGS
4484 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4486 * test/app.c: use argv[0] instead of
4489 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4491 * libspi/Makefile.am,
4492 registryd/Makefile.am,
4493 at-bridge/Makefile.am.
4494 test/Makefile.am, configure.in:
4495 cleanup, replace individual LIBS/CFLAGS with
4496 AT_COMMON_{LIBS|CFLAGS}.
4500 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4502 * configure.in, libspi/Makefile.am:
4503 Change IDL path checking for bonobo-activation
4506 2001-08-15 Bill Haneman <bill.haneman@sun.com>
4508 * registryd/registry.c : separated event listeners to use
4509 3 separate lists (focus, window, toolkit). Began testing
4510 event names against hashes before relaying events.
4511 * test/at.c : now register for events of type "focus:"
4512 * test/app.c : now generate events of type "focus:"
4513 * at-bridge/bridge.c : register with ATK for focus events,
4514 and we now relay those focus events to any "focus:" listeners.
4515 This now works with the bridge as a GTK_MODULE when running test/at.
4516 * libspi/registry.c :
4517 * libspi/listener.c :
4518 now we ref event sources before propagating, and unref on receipt.
4519 * libspi/registry.c :
4520 some changes to internal structs, to support event typestring hashes.
4521 * text/app.c : changed the way the appname is generated.
4522 * cspi : added directory that will hold the C bindings library for
4523 non-CORBA/bonobo-savvy clients.
4524 * cspi/spi.h : header file that contains the function prototypes for the C binding.
4525 * idl/Component.idl : added in parameter to indicate coord system for
4526 geometry-related calls.
4527 * idl/Hyperlink.idl : added readonly n_links attribute
4528 * idl/Image.idl : changed methods to attributes.
4530 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4532 * at-bridge/Makefile.am: link against
4533 ../libspi/libspi.la instead of -lspi.
4535 * at-spi/test/app.c: include
4536 bonobo-activation.h. Use a default appname
4537 if one is not provided.
4539 2001-08-14 Bill Haneman <bill.haneman@sun.com>
4541 * idl/Registry.idl : temporarily changed register_Application
4542 to oneway, to work around issue with initial registration
4544 * idl/Application.idl : changed attribute "id" from readonly
4545 to read-write, since it needs to be assigned by Registry.
4546 * registryd/registryd.c : added call to set application id
4548 * registryd/registry.c : changed de-registration procedure to
4549 use CORBA_Object_hash() to find matching object ref in application
4550 lists and listener lists.
4551 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
4552 began distinguishing between event types (work in progress).
4554 2001-08-13 Bill Haneman <bill.haneman@sun.com>
4557 * libspi/application.c:
4558 Added implementations for get/set id, get_toolkitName,
4560 * registryd/registryd.c :
4564 Converted from use of OAF to bonobo-activation.
4565 * libspi/desktop.h :
4566 * libspi/desktop.c :
4568 Removed references to atksimpleobject, since base atkobject
4569 implementation now provides functionality we need.
4570 * libspi/atksimpleobject.c :
4571 * libspi/atksimpleobject.h :
4576 * at-bridge/Makefile.am
4577 * at-bridge/bridge.c
4580 Added directory "bridge" and contents, and added dependencies
4581 in Makefile.am/configure.in.
4582 Initial checkin of "at-bridge".
4583 This code is a GTK_MODULE which automatically registers
4584 GTK+ apps with the accessibility registry, using an object
4585 reference to the root ATK object.
4587 2001-08-10 Mark McLoughlin <mark@skynet.ie>
4589 * po/Makefile.in.in: Remove. Again. If this
4590 doesn't get autogenerated - you need to update
4593 2001-08-07 Mark McLoughlin <mark@skynet.ie>
4595 * po/Makefile.in.in: Add. Again.
4597 2001-07-31 Bill Haneman <bill.haneman@sun.com>
4599 * libspi/accessible.c : added support for 'description' property.
4600 * libspi/accessible.c
4602 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
4603 (since the two are now equivalent in libbonobo)
4611 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
4612 Bonobo::Unknown as does Accessibility::Accessible.
4613 * idl/StreamableContent.idl : as above, and replaced internal InputStream
4614 interface with Bonobo::Stream, since it was redundant with it.
4615 (The Stream returned by a StreamableContext object is expected to
4616 implement only a subset of Bonobo::Stream)
4618 2001-07-28 Anders Carlsson <andersca@gnome.org>
4620 * libspi/accessible.c (accessible_object_finalize): Change
4621 g_free to g_object_unref since the AtkObject is a GObject.
4623 2001-07-30 Bill Haneman <bill.haneman@sun.com>
4625 * idl/Accessibility.idl: add new IDL files
4628 * idl/Action.idl: Definitions of actionable UI object
4629 * idl/Component.idl: Definitions of UI component geometry, etc.
4630 * idl/Hyperlink.idl: Defs of hyperlink behavior
4631 * idl/Image.idl: Def of accessible image
4632 * idl/Selection.idl: Definition of UI object with selectable children
4633 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
4634 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
4635 * idl/Text.idl: Interface defs for UI elements with complex textual content
4636 * idl/Value.idl: Definition of UI element that is a value controller or display
4638 2001-07-27 Michael Meeks <michael@ximian.com>
4640 * po/Makefile.in.in: remove autogenerated file from CVS.
4642 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
4645 * idl/Registry.idl: include guard.
4647 * idl/Accessibility.idl: Add, and include all the other IDL
4650 * idl/*.idl: remove mass of pragmas etc.
4652 2001-07-26 Michael Meeks <michael@ximian.com>
4654 * registryd/Makefile.am (registryd_SOURCES): remove
4657 2001-07-27 Mark McLoughlin <mark@skynet.ie>
4659 * libspi/.cvsignore, registryd/.cvsignore,
4660 test/.cvsignore: updated.
4662 * po/Makefile.in.in: gettext update.
4664 2001-07-25 Bill Haneman <bill.haneman@sun.com>
4666 * initial CVS checkin
4668 2001-06-29 Michael Meeks <michael@ximian.com>
4670 * configure.in: add AM_CONFIG_HEADER to gen config.h