1 2002-09-13 Michael Meeks <michael@ximian.com>
3 * Update all the copyrights to include Ximian.
5 2002-09-06 Mark McLoughlin <mark@skynet.ie>
7 * cspi/spi.h: add SPI_LAYER_WINDOW.
9 * cspi/spi_component.c: (AccessibleComponent_getLayer):
10 add Accessibility_LAYER_WINDOW case.
12 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
14 * libspi/component.c: (impl_accessibility_component_get_layer):
15 add ATK_LAYER_WINDOW case.
17 2002-08-28 Bill Haneman <bill.haneman@sun.com>
19 * configure.in: incremented micro version.
21 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
23 2002-08-20 Bill Haneman <bill.haneman@sun.com>
26 Clarified and reworded our commit policy.
29 Started an API "todo" addition list for 2.2.
33 Free char pointer from atk_text_get_selection, which was being leaked.
35 2002-08-19 Bill Haneman <bill.haneman@sun.com>
38 Small revision to author acknowledgement.
40 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
42 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
43 If signal has detail add it to the type of the event.
46 2002-08-12 Michael Meeks <michael@ximian.com>
48 * test/test-simple.c (global_listener_cb): bin bogosity.
49 (test_keylisteners): disable, still doesn't work reliably,
50 certainly not on my system anyway.
52 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
53 don't leak a reference on the DEC. This round-trip
54 fetching of the DEC per keystroke sucks, it should be
58 * cspi/cspi-lowlevel.h,
59 * cspi/bonobo/cspi-bonobo-listener.[ch],
60 * cspi/bonobo/cspi-bonobo.c: get the copyright
61 notices better - there is still a large amount of
62 work in at-spi falsely attributed solely to Sun.
64 * cspi/spi_main.c (cspi_object_ref): kill bogus
65 hash lookup, just increment the ref.
66 (SPI_freeString): make explicit the fact that we
67 handle NULL strings just fine.
68 (report_leaked_ref): obey coding standards.
69 (cspi_object_hash, cspi_object_equal): kill retval.
70 (cspi_object_release): only release if not on loan.
71 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
72 (cspi_object_borrow, cspi_object_return): impl.
74 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
75 use cspi_object_borrow / return.
77 2002-08-12 Darren Kenny <darren.kenny@sun.com>
79 * cspi/bonobo/cspi-bonobo-listener.c:
81 Don't call cspi_oject_new() because this is creating a new Accessible
82 every single time that an event is fired. This causes ATs like at-poke
83 to nolonger recognise the source of the event and thus ignore it.
84 Re-use the object from the cache, ref it and then unref it after the
85 listeners have been called.
87 2002-08-06 Darren Kenny <darren.kenny@sun.com>
89 * test/event-listener-test.c:
90 Added command-line options to disable mouse events (m) and
93 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
95 * configure.in: Update required versions of ATK, GTK+ and GAIL
97 * cspi-1.0.pc.in: Add dependency for X include files
100 * cspi/bonobo/Makefile.am:
101 Add $(X_CFLAGS) so that X include files
102 are picked up even if not in standard place (bug #71686)
104 2002-06-25 Bill Haneman <bill.haneman@sun.com>
106 * registryd/deviceeventcontroller.c: fix for 84261
107 (spi_dec_mouse_moved):
108 Added test of mouse button mask, so that we can detect mouse
109 button release. Unfortunately we can't otherwise detect mouse
110 button release events without consuming the mouse press event,
111 because of the way XGrabButton works. This means that our mouse
112 release events have a latency dependent on the polling period
113 while the mouse button is down. At least in this case we only
114 have to poll while the button is down, and not at other times.
115 If the button masks don't match with what the last press event
116 reported, we report the appropriate button release event.
117 (spi_dec_ungrab_mouse):
118 New method (not yet called).
119 (spi_device_event_controller_forward_mouse_event):
120 New method, sends mouse press event from GdkFilter.
121 (spi_dec_init_mouse_listener):
122 Added code to call XGrabButton, redirecting mouse button events to
123 the root window and our Gdk event loop.
125 Added code to filter mouse button events, and reordered.
127 * test/event-listener-test.c:
129 Added registration for mouse events of type "mouse:button".
131 2002-06-25 Bill Haneman <bill.haneman@sun.com>
133 * registryd/deviceeventcontroller.c: partial fix for 84261
134 (spi_dec_poll_mouse_idle):
135 New method, a timeout which checks to see if the mouse
137 (spi_dec_poll_mouse_moving):
138 A timeout to be called when mouse motion is underway.
139 (spi_dec_poll_mouse_moved):
140 A method which fires an event if the mouse has moved, and reports
141 whether or not it did so.
142 (spi_dec_init_mouse_listener):
143 A method which sets up the timeouts above.
144 (spi_device_event_controller_new):
145 Now calls spi_dec_init_mouse_listener.
147 * registryd/registry.c:
149 Now we initialize the device event controller when the registry is
150 initialized, instead of waiting until a client has requested a key
151 event notification; this is because we need the event controller
152 for mouse events, but the mouse event registration API is a
153 "registry" call and doesn't explicitly call the
154 deviceeventcontroller.
155 We now report mouse motion events with a 100 ms idle latency and
156 a 20 ms granularity when motion is in progress.
158 * test/event-listener-test.c:
160 We now register the "detail listener" for events of type
161 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
162 delivered only for the first mouse event received, and thereafter
163 "mouse:abs" events are delivered.)
165 * cspi/spi_registry.c:
166 DOCS: Documented the above mouse event typestrings.
168 2002-06-21 Bill Haneman <bill.haneman@sun.com>
170 Happy Summer Solstice...
172 * registryd/deviceeventcontroller.c: [fix for bug 84100]
173 (spi_controller_notify_keylisteners):
174 Changes to remove a listener from the listener list, freeing its
175 open keygrabs, if a notification to that listener fails. This
176 means that although a dead listener can continue to hold a passive
177 keygrab, a maximum of one dispatch to such a listener can fail
178 before the listener is removed from the list, thus the keygrab
179 will be released on the next occurrence.
181 (spi_notify_keylisteners):
182 Renamed to spi_controller_notify_keylisteners, as the controller
183 instance must now be passed as an argument.
184 The copied 'notify' GList is now a list of DEControllerKeyListener
185 objects, since we need more than just the CORBA reference if a
186 notify fails and we need to deregister the listener.
187 (impl_notify_listeners_sync):
188 (impl_notify_listeners_async):
189 (spi_device_event_controller_forward_key_event):
190 Modify use of notify_keylisteners in accordance with above
192 (spi_deregister_controller_key_listener):
193 New method introduced by refactoring, from
194 impl_deregister_keystroke_listener.
195 (impl_deregister_keystroke_listener):
196 Call spi_deregister_controller_key_listener.
197 (spi_key_listener_clone):
198 New method to copy a key listner without doing a 'ref' on the
199 remote object instance; used to create a notifier list.
200 (spi_key_listener_data_free):
201 New method, frees data without unreffing the source.
203 (spi_key_listener_clone_free): new method.
204 (spi_key_listener_free):
205 refactored to call spi_key_listener_data_free.
207 2002-06-20 Bill Haneman <bill.haneman@sun.com>
209 * registryd/registry.c: [fix for bug 86048]
210 (notify_listeners_cb):
211 Clear CORBA system exceptions which occur when notifying
212 listeners, before returning to the source of the original event,
213 since the event source doesn't care if the relayed notify failed.
214 In other words, don't complain to the atk-bridge if the registry
215 could not notify all its listeners, that's no fault of the
216 application and thus should not appear to be an error from the
217 application's perspective.
219 * cspi/spi_main.c: [fix for bug 85980]
221 Replaced use of bonobo_object_dup_ref with call to the wrapper
222 method, csou_dup_ref (); this silences a compiler warning and
223 provided more portability.
225 Ping the registry before return, and restart if necessary.
227 * cspi/bonobo/cspi-bonobo.c:
231 Fixed this method to return an object reference, as it should have
234 * cspi/cspi-lowlevel.h:
235 Added internal definition for cspi_ping() and fixed
236 return type of cspi_dup_ref().
239 2002-06-19 Bill Haneman <bill.haneman@sun.com>
241 * atk-bridge/bridge.c: [fix for bug 85305]
242 (spi_atk_bridge_register_application):
243 New method where the initial application registry calls have been
244 moved; it allows an application to re-register in response to
245 certain error conditions (such as a registry restart, see below).
247 Moved some initialization code to the method
248 spi_atk_bridge_get_registry, below.
249 (spi_atk_bridge_get_registry):
250 New, private accessor function for the Accessibility_Registry
251 instance. If the registry has not been started before, or has
252 died (as detected by failure of a CORBA exception), it is
253 restarted before return, and spi_atk_bridge_register_application
254 is called again to register with the new bridge instance.
255 (spi_atk_emit_eventv):
256 Set registry_died on error; use spi_atk_bridge_get_registry () to
259 * registryd/registry.c:
260 (impl_accessibility_registry_register_global_event_listener):
261 Set listener's event_type_quark to etype.minor instead of
262 etype.major (fix for bug 84856).
264 * test/event-listener-test.c:
265 (report_detail_event):
266 Change the output string so that user/tester can tell that the
267 'detail listener' was called instead of the 'generic listener'.
269 2002-06-18 Bill Haneman <bill.haneman@sun.com>
271 Fixes for bugs 84900, 84908, 84897, 84898.
276 Revved version to 1.1.0
277 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
278 version is going to HEAD which will be used for gnome-2-0-1 and later.)
280 * idl/Accessibility_Registry.idl:
281 (EventListener::notifyEvent):
282 Removed 'oneway' directive after extensive consulation with
283 ORBit2 team and others. This means also that unref() of the event
284 source can and should be done synchronously after emission, rather
285 than remotely in the client, after servicing the notify call on
288 NOTE: This change speeds up listener performance considerably, but
289 introduces new latency on the application side. We may want to
290 add an event queue to the atk-bridge.
292 * atk-bridge/bridge.c:
293 (spi_atk_bridge_focus_tracker):
294 Do a local unref() on the event source after emission.
296 * registryd/registry.c:
297 (desktop_remove_application):
298 Do an unref() on the event source after emission.
299 (desktop_add_application):
300 Do an unref() on the event source after emission.
301 (notify_listeners_cb):
302 When relaying an event, don't automatically add the event source
303 to the local object cache, just CORBA_dup it instead. Likewise,
304 if this method reenters, release the ref rather than calling
306 (impl_registry_notify_event):
307 No longer call remote unref() on the event source after dispatch.
309 * libspi/eventlistener.c:
310 (impl_accessible_event_notify_event):
311 Removed remote unref ()
313 * cspi/bonobo/cspi-bonobo-listener.c:
315 We now call cspi_object_new() instead of cspi_object_add() on
316 receipt of an event; thus we only have an implicit object ref
317 while the cspi_event method is being executed. If we need to keep
318 a reference to the object, the listener must call ref() on the
319 object. Thus also we don't need to call cspi_object_unref() after
320 invoking the listener callbacks in this method.
324 New internal API for creating a new cspi object, without adding it
327 Now uses cspi_object_new() to create the cspi object instance.
329 Now checks to see if the object is in the internal object cache,
330 and adds it if necessary before incrementing its refcount (note
331 that new objects are added with a refcount of 1).
333 New method which gives some information on leaked object instances
334 if leak detection is turned on.
336 * test/event-listener-test.c:
338 New method, used for testing event delivery timing for special
339 events of type "object:test". It reports elapsed time and
340 events/sec every 500 events.
342 Added a new listener, 'test listener', to check timing of event
343 receipt as noted above.
345 Added some timing output here also, reports elapsed time every 100
348 * test/stress-test.c:
349 Emit events of type "object:test", for use with "event-listener-test".
351 * test/test-simple.c:
352 (global_listener_cb):
353 Call Accessible_ref() on the event source before calling
354 validate_accessible, since the validation process does pointer
355 comparisons on the event source, meaning that the event source
356 needs to be added to the local object cache first. Any use of
357 such pointer comparisons between Accessible objects requires that
358 the caller hold an explicit reference to those objects.
359 We also must therefore call Accessible_unref() when leaving this method.
361 2002-06-13 Bill Haneman <bill.haneman@sun.com>
363 * registryd/deviceeventcontroller.c:
364 (spi_controller_update_key_grabs):
365 Fix for #84735, subsequent keygrab listeners not informed of
366 registration failure.
369 (spi_base_construct):
370 Add an assertion on construct, to make sure the GObject passed in
373 Explicitly initialize object->gobj pointer to NULL;
375 * cspi/bonobo/cspi-bonobo-listener.c:
376 (cspi_object_add_ref):
377 New method, can specify whether to dup-ref a bonobo object passed
378 in if it's newly added to the object cache.
380 Now calls cspi_object_add_ref with second param of "FALSE". This
381 prevents us from doing a pointless dup-ref followed by
382 release-unref for all those cases where the object is already in
383 our object cache (fix for #85205).
385 * atk-bridge/bridge.c:
386 (spi_atk_bridge_idle_init):
387 Removed this method, we don't need to initialize in an idle
390 Changed to call spi_atk_register_event_listeners directly, not via an
391 idle handler. (fix for #81139)
392 (gnome_accessibility_module_shutdown):
393 Removed conditional around deregistration of listeners, since we
394 don't use the idle handler and thus have always registered when
396 (spi_init_keystroke_from_atk_key_event):
397 Changed references to Accessibility_KEY_PRESSED to
398 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
400 2002-06-12 Bill Haneman <bill.haneman@sun.com>
402 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
407 * test/stress-test.c:
410 (may have been an incomplete commit yesterday?)
412 2002-06-12 Bill Haneman <bill.haneman@sun.com>
415 Added target for new stress-test.
417 * test/stress-test.c:
418 New test, sends 1000 focus notifies in quick succession.
420 * test/key-listener-test.c:
421 Now we report whether a keylistener registration
422 request succeeded or failed.
424 * test/event-listener-test.c:
425 Uncommented some listeners which are now implemented.
428 2002-06-06 Bill Haneman <bill.haneman@sun.com>
430 * registryd/deviceeventcontroller.c:
431 (spi_controller_update_key_grabs):
432 Fix for #82509, lack of failure notification when
433 ALL_WINDOWS keygrabs fail due to XGrabKey
434 failure: we synchronize the server when
435 registering a passive grab, to make sure we get the
436 error message before the call returns.
438 2002-06-03 Bill Haneman <bill.haneman@sun.com>
440 * test/test-simple.c:
442 Removed #ifdef KEY_IMPL_WORKS guards.
444 Removed #ifdef KEY_IMPL_WORKS guards.
445 Fixed bug which was causing a hang waiting for a
446 "press" event (which was already overwritten by a "release"
447 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
449 Added code to set globals 'key_press_received' and
450 'key_release_received'.
453 Added section "1.1 API Proposed Additions" which
454 lists API additions desired for at-spi-1.1 (only one so far).
455 Updated TODO list a little.
457 2002-06-02 Bill Haneman <bill.haneman@sun.com>
459 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
462 * configure.in: Revved to 1.0.0.
464 * idl/Accessibility_Registry.idl:
465 (registerKeystrokeListener):
466 Added boolean return value.
468 * registryd/registry.c:
469 (notify_listeners_cb): Minor fix to debug output.
471 * registryd/Accessibility_Registry.server.in.in:
472 Revved version number in OAFIID to 1.0.
474 * registryd/registryd.c:
476 Use new OAFIID version.
478 * cspi/bonobo/cspi-bonobo.c:
480 Use new OAFIID version.
486 * atk-bridge/bridge.c:
488 Use new OAFIID version.
490 * registryd/deviceeventcontroller.c:
491 (impl_register_keystroke_listener):
492 Added CORBA_boolean return value.
493 (spi_controller_register_device_listener):
494 Added gboolean return value.
495 (spi_controller_register_global_keygrabs):
496 Added gboolean return value.
497 (spi_key_set_contains_key):
498 Added implementation for many more control keys,
499 for instance F1-F12, arrow keys, End, Home, Page_Up,
501 [TODO: some still not implemented].
503 * text/screen-review-test.c:
504 (text_chunk_pad_string):
505 New function: it provides mapping between coordinate
506 positions of text chunks and character positions in the
507 screen-review-line output string.
508 (text_chunk_to_string):
509 New function, calls text_chunk_pad_string with various
510 pad/delimiter characters. Pushbuttons are delimited with
511 square brackets, Frames with vertical 'pipe' lines, and
512 other text with double quotes.
513 (text_chunk_list_to_string):
514 Calls new function text_chunk_to_string.
515 (toplevel_composite):
516 New function to composite layers CANVAS through
517 POPUP in each toplevel (other layers are composited
518 across toplevels, i.e. BACKGROUND and OVERLAY).
519 (review_buffer_composite):
520 Revise to use new methods.
526 2002-05-31 Laszlo Peter <laca@sun.com>
528 * configure.in: add the Xtst libdir to the runpath on Solaris,
529 since it's not in the default library search path.
531 2002-05-29 jacob berkman <jacob@ximian.com>
533 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
535 2002-05-29 Bill Haneman <bill.haneman@sun.com>
537 * test/screen-review-test.c:
538 (text_chunk_pad_string):
539 Added method, which pads the string according to the
540 text bounds of the chunk. It also takes a 3-character
541 string as a param which indicates the characters to be
542 used for start, padding, and end delimitation of the chunk.
543 (text_chunk_to_string):
544 Changed to use text_chunk_pad_string.
546 * configure.in: Fixed bug in AC_OUTPUT that was
547 causing path substitution in Accessibility_Registry.server
550 2002-05-23 Bill Haneman <bill.haneman@sun.com>
552 * text/screen-review-test.c:
554 New method which attempts a best-guess at clipping
555 text from components (like Java labels) which don't
556 actually implement AccessibleText. This inaccurate
557 clip is based on the assumption that the label is
558 justified left-and-right, and monospaced.
559 (text_chunk_get_clipped_string):
560 We now call guess_string_clip() for text-containing
561 components that don't implement AccessibleText.
563 * test/screen-review-test.c:
564 (review_buffer_get_text_chunk):
565 We now pull "name" from labels if they do not implement
566 AccessibleText (i.e. for Java labels).
567 (get_screen_review_line_at):
568 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
571 Replaceded AC_OUTPUT target
572 registryd/Accessibility_Registry.server with
573 registryd/Accessibility_Registry.server.in.
575 * registryd/Accessibility_Registry.server.in:
576 Removed (this is now a Makefile target).
578 * registryd/Accessibility_Registry.server.in.in:
579 Added (source for target above). We now use $(libexecdir) as
580 prefix for the executable at-spi-registryd.
582 * registry/Makefile.am:
583 Now install at-spi-registryd into $(libexecdir), and build .server
584 file with path (see above).
586 2002-05-22 Bill Haneman <bill.haneman@sun.com>
588 * test/screen-review-test.c:
589 (text_chunk_get_clipped_string):
590 We now check to see if words fall within clip bounds
591 before resorting to character-by-character clip bounds testing.
593 * TODO: Added a section for "2.2 Proposed API Additions".
595 2002-05-21 Bill Haneman <bill.haneman@sun.com>
597 * test/screen-review-test.c:
599 Added a screen review benchmarking and test program to test
602 * cspi/spi_accessible.c:
604 Made some of the debug strings passed to cspi_check_ev a
605 little more specific.
607 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
609 * test/screen-review-test.c: Fix crashes in debug statements
611 2002-05-20 Bill Haneman <bill.haneman@sun.com>
613 * test/screen-review-test.c: Added this file.
615 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
617 * atk-bridge/bridge.c: changed "object:state-change" to
618 "object:state-changed" to match docs.
620 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
622 * atk-bridge/bridge.c: Hooked up state-change event details.
624 2002-05-11 Bill Haneman <bill.haneman@sun.com>
626 * registryd/registry.c:
627 Fixed quarking bug in event string parsing; now events with
628 detail parameters get matched correctly to listeners.
631 * util/idl/Magnifier.idl: remove.
633 * util/*.[ch]: Remove.
634 Magnification utilities and IDL are now in module gnome-mag.
636 2002-05-10 Bill Haneman <bill.haneman@sun.com>
638 * registryd/deviceeventcontroller.c:
639 Fixed bug in grab key conversion which was causing keycode grabs
640 to be converted to AnyKey grabs.
643 updated NEWS file to reflect recent spin-off of gnome-mag.
645 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
647 * cspi/spi_accessible.c: Added exception checks. Fixed completely
648 busted AccessibleStateSet_compare. Removed redundant casts.
650 * cspi/spi-action.c: Removed redundant casts.
652 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
654 * cspi/spi_component.c: Fixed typos and casting error.
656 * cspi/spi_editabletext.c: Removed redundant casts.
658 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
660 * cspi/spi_hypertext.c: Eliminated redundant casts.
662 * cspi/spi_image.c: Eliminated redundant casts.
664 * cspi/spi_registry.c: Eliminated redundant casts.
665 SPI_deregisterGlobalEventListenerAll () removed retval variable.
666 * cspi/spi_selection.c: Removed redundant casts.
667 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
668 handling. Screen geometry and text offsets were being returned as 0
669 on error which is technically valid-- changed these to return -1.
670 Added marshaller for text boundary types to fix bug with boundary
671 types being passed incorrectly to atk.
673 2002-05-09 Bill Haneman <bill.haneman@sun.com>
676 * cspi/spi_registry.c:
677 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
678 which was uncovered by the recent key changes.
680 2002-05-09 Bill Haneman <bill.haneman@sun.com>
682 * test/event-listener-test.c:
684 Added new test, "event-listener-test";
685 this code does two things; it benchmarks traversal time
686 for the accessible hierarchy for the first running accessible
687 app, and it connects listeners for all supported event types.
688 It is thus useful as an example event listener and for
689 diagnostics/debugging of event generation.
691 2002-05-08 Bill Haneman <bill.haneman@sun.com>
694 Removed unnecessary dependency on libutil.
697 Revved micro version: 0.13.1
699 2002-05-08 Bill Haneman <bill.haneman@sun.com>
702 Removed util/Makefile from targets.
705 Removed util subdir from SUBDIRS (temporarily,
706 pending removal of magnifier-only code
710 #ifdef-ed out magnifier dependencies, since
711 magnifier IDL, headers, and binary now live in
712 module gnome-mag and we don't want at-spi to depend
713 on gnome-mag. A magnifier demo which can run alongside
714 simple-at is forthcoming in the gnome-mag module.
716 NOTE: Split magnifier binary, IDL, and magnification
717 activation code from at-spi into module gnome-mag.
719 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
721 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
722 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
724 2002-05-03 Bill Haneman <bill.haneman@sun.com>
727 Revved to version 0.13.0
729 * idl/Accessibility_Registry.idl:
730 Changed definition of KeySet from sequence of longs to sequence of
731 KeyDefinitions, and added KeyDefinition struct.
732 Required for fix to bug 80616.
734 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
735 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
736 to use new definition (see above).
738 * registryd/deviceeventcontroller.c: handle_keygrab(),
739 spi_keyset_contains_key():
740 Changed to make use of new struct; this allows matching based on
741 string key-name, for instance "Tab". This also allows matching of
742 composed characters, non-alphanumeric characters in a way that
743 doesn't involve dependencies on X keysym codes directly, etc.
745 * test/key-listener-test.c:
746 Added test for Alt-Tab key using "string" specification of keyset,
747 and modified one of the tests to use a keycode-based keyset.
748 Thus this test both tests and demonstrates the creation and use of
749 keysets of three forms: specified via keycode array,
750 keysym array, and string array. (The string case only contains a
751 single string, i.e. a string array of length 1).
754 Turned on PRINT_TREE option by default. Also fixed a
755 string-freeing bug in the PRINT_TREE code.
756 Added a listener to window:minimize events.
758 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
760 * atk-bridge/bridge.c:
761 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
762 for window:activate and window:deactiveate
763 (atk_bridge_property_event_listener atk_bridge_signal_listener
764 atk_bridge_window_event_listener) Tidy debug code
766 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
768 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
769 Fixed handling for NULL return value from ATK.
771 * libspi/action.c libspi/component.c libspi/editabletext.
772 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
773 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
774 Removed redundant casts.
776 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
777 Fixed off by one bug.
779 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
780 function not present in idl)
782 2002-05-02 jacob berkman <jacob@ximian.com>
784 * atk-bridge/Makefile.am: make atk-bridge a real module
786 2002-04-26 Radek Doulik <rodo@ximian.com>
788 * libspi/stateset.c (spi_init_state_type_tables): fix size of
789 atk_state_types table
791 2002-04-22 jacob berkman <jacob@ximian.com>
794 * libspi/Makefile.am: add deps on the built files to help
795 automake, and don't version the ORBit typelib
797 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
799 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
800 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
801 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
802 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
803 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
804 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
805 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
806 libspi/accessible.h libspi/accessible.h libspi/base.h
807 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
808 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
809 libspi/relation.h libspi/remoteobject.h libspi/selection.h
810 libspi/spi-private.h libspi/statetset.h libspi/table.h
811 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
812 util/mag_client.h util/mag_control.c util/mag_image.c
813 util/mag_image.h util/magnifier.c util/magnifier.h:
814 Add missing file headers; standardize existing ones
816 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
818 * atk-bridge/bridge.c: Added window event support.
820 2002-04-18 Michael Meeks <michael@ximian.com>
822 * libspi/relation.c (impl_getNTargets): impl.
823 (impl_getTarget): impl.
825 * libspi/Makefile.am: fix stateset install.
827 2002-04-17 Bill Haneman <bill.haneman@sun.com>
830 Started putting useful info in this file.
832 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
834 * atk-bridge/bridge.c:
835 Propagate state-changed notifications to ATs
837 * cspi/spi_registry.c: update docs to reflect actual behavior of
840 2002-04-17 Bill Haneman <bill.haneman@sun.com>
843 Incremented version to 0.12.1
846 Add missing declaration for magnifier_exit,
847 used by mag_control.c - Forte compiler didn't like
848 the implicit redeclaration of the function :-(
851 2002-04-16 Bill Haneman <bill.haneman@sun.com>
854 Revved version to 0.12 due to API change (see below).
856 * cspi/spi-roletypes.h:
857 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
858 definition from the inline docs, and added docs
859 for SPI_ROLE_LAST_DEFINED.
862 * cspi/spi_streamablecontent.c:
863 Added missing seek_type parameter to
864 (so far unused) method,
865 AccessibleStreamableContent_seek().
866 [ RT approval JodyG. ]
869 Fixed docs for SPI_createAccessibleKeystrokeListener.
871 * cspi/spi_registry.c:
872 Fixed docs for SPI_KEYSET_ALL_KEYS.
874 * docs/reference/cspi/at-spi-cspi-sections.txt:
875 Added a number of missing APIs to SECTIONS.
877 2002-04-16 Bill Haneman <bill.haneman@sun.com>
879 * registryd/Makefile.am:
881 * cspi/bonobo/Makefile.am:
882 Add $(X_LIBS) to makefiles.
884 2002-04-15 Bill Haneman <bill.haneman@sun.com>
887 Revved version to 0.11.
889 * libspi/component.c:
890 Added implementation for grabFocus.
892 * idl/Accessibility_Component.idl
893 (Accessibility_Component_grabFocus):
894 Made this method return boolean to indicate success or failure, to
895 be consistent with cspi and the corresponding ATK method.
897 * idl/Accessibility_Selection.idl
898 (Accessibility_Selection_selectAll) :
899 Made these methods return boolean to indicate success or
900 failure, to be consistent with cspi and the corresponding ATK methods.
902 * idl/Accessibility_EditableText.idl
903 (Accessibility_EditableText_setTextContents,
904 Accessibility_EditableText_insertText,
905 Accessibility_EditableText_cutText,
906 Accessibility_EditableText_deleteText,
907 Accessibility_EditableText_pasteText):
908 Made these methods return boolean to indicate
911 * cspi/spi_editabletext.c:
912 Made these methods return booleans.
914 * libspi/selection.c:
915 * libspi/component.c:
916 * libspi/editabletext.c:
917 Connected the boolean returns from ATK
918 to the server-side code referenced above.
920 2002-04-14 Bill Haneman <bill.haneman@sun.com>
922 * idl/Accessibility_Table.idl: Added missing methods,
923 Accessibility_Table_addRowSelection,
924 Accessibility_Table_addColumnSelection,
925 Accessibility_Table_removeRowSelection,
926 Accessibility_Table_removeColumnSelection.
929 Added C wrappers for above IDL:
930 AccessibleTable_addRowSelection,
931 AccessibleTable_addColumnSelection,
932 AccessibleTable_removeRowSelection,
933 AccessibleTable_removeColumnSelection.
936 Added server-side implementation code for IDL above, connecting
937 to pre-existing ATK api.
939 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
941 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
943 * libspi/accessible.c: Added implementation fo
944 Accessibility_Accessible_get_state.
946 * libspi/libspi.h: Added stateset.h to the list of includes.
948 * libspi/stateset.c: Fixed broken implementation.
950 2002-04-13 Bill Haneman <bill.haneman@sun.com>
953 Added implementation code for Accessibility_Magnifier_exit ().
955 * util/mag_control.c:
956 Added test code for above method; you can
957 now kill an existing magnifier via
958 ./mag_control q, from the util directory.
960 * test/key-listener-test.c:
962 Added a new test, for our key listener API.
964 2002-04-11 Bill Haneman <bill.haneman@sun.com>
966 * test/app.c, test/keysynth-demo.c:
968 Replace use of snprintf with g_snprintf.
969 (fix for bugzilla 78249)
971 2002-03-27 Michael Meeks <michael@ximian.com>
975 * util/Makefile.am (INCLUDES): fix.
976 (DONT_DIST_SOURCE): don't distribute the
979 * libspi/Makefile.am (dist-hook): ditto.
981 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
983 * libspi/hypertext.c:
984 Fix warnings when yelp is used with atk-bridge
986 2002-03-21 Michael Meeks <michael@ximian.com>
988 * libspi/application.c (spi_application_new):
989 use spi_accessible_construct so we use the AtkObject
992 2002-03-19 Michael Meeks <michael@ximian.com>
994 * registryd/registry.c (desktop_remove_application),
995 (desktop_add_application): clean coding style.
997 * registryd/desktop.c (spi_desktop_remove_application),
998 (spi_desktop_add_application): kill re-enterency hazards.
999 (spi_desktop_dispose): remove bogus redundant cast
1000 obscuring bug; fix bug too.
1001 (spi_desktop_init): make the desktop object immortal.
1003 2002-03-16 Bill Haneman <bill.haneman@sun.com>
1006 Added a #define-guarded tree-traversal step
1007 when enumerating the apps (diagnostic tool).
1009 2002-03-15 Bill Haneman <bill.haneman@sun.com>
1011 * idl/Accessibility_Role.idl:
1012 Added ROLE_DRAWING_AREA which seemed to be missing from the
1015 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1017 * cspi/spi-roletypes.h cspi/spi_accessible.c
1018 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
1021 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
1022 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
1023 AT when applications are added and removed from the desktop. This
1024 reverts the previous broken implementation using the backing
1025 AtkObject for the SpiDesktop.
1027 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1029 * registryd/desktop.c: emit the "children-changed::add" and
1030 "children-changed::remove" signals on the backing ATK object for
1031 the desktop so AT can tell when applications are started and shut
1034 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1036 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
1038 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1040 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
1042 * cspi/spi_accessible.c: Implemented c bindings for stateset support
1044 * cspi/state-types.h: synched with IDL and ATK
1046 2002-03-13 Bill Haneman <bill.haneman@sun.com>
1048 * libspi/accessible.c
1049 (impl_accessibility_accessible_get_child_at_index):
1050 Change return value for g_return_if_fail ()
1051 to CORBA_OBJECT_NIL instead of "0" (!)
1053 * registryd/Makefile.am:
1054 * registryd/Accessibility_Register.server.in:
1055 Changed name of executable, "registryd",
1056 to something more informative:
1059 2002-03-13 Michael Meeks <michael@ximian.com>
1061 * atk-bridge/bridge.c (atk_bridge_init): don't register
1062 if we're in a bonobo-component, rather than a bonobo app.
1064 2002-03-13 Michael Meeks <michael@ximian.com>
1066 * atk-bridge/bridge.c (gtk_module_init): split
1067 out body to (atk_bridge_init): here, since otherwise
1068 we get symbol conflicts and oddness when invoked
1069 from (gnome_accessibility_module_init): here (upd.)
1071 2002-03-11 Bill Haneman <bill.haneman@sun.com>
1074 New file. Explicitly allow "build sheriff" putbacks provided
1075 they are tested on Solaris.
1077 * docs/reference/cspi/Makefile.am:
1078 Added '-' to the "cp" command for index.sgml.
1079 ("patch by thomasvs, soon coming to a GUADEC near you")
1082 Incremented version number (0.9.0) for new release.
1083 Changed macro that checks for popt, to better detect
1084 obsolete versions of popt.
1087 Added X_LIBS to AC_SUBST, for applications
1088 that call Xlib API directly.
1091 2002-03-07 Bill Haneman <bill.haneman@sun.com>
1094 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
1097 Fix regression caused by hard-coding major
1098 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
1101 * test/test-simple.c (test_editable_text),
1102 (test_test): revert previous change (error was
1103 a regression in gail which is now fixed).
1105 2002-03-04 Michael Meeks <michael@ximian.com>
1107 * test/test-simple.c (test_editable_text),
1108 (test_text): pass G_MAXINT instead of '-1' for
1109 whole string - is this a good thing !?
1111 * cspi/spi_accessible.c
1112 (Accessible_getRelationSet): fix crasher bug
1113 overwriting the end of the array.
1115 * test/test-simple.c (validate_accessible): free,
1116 not g_free returned relation set.
1118 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
1120 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
1121 implemented stateset support
1123 * idl/Accessibility_State.idl: Made necessary changes to
1124 the IDL to support state sets.
1126 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1128 * registryd/deviceeventcontroller.c:
1129 Added implementation for generateMouseEvent.
1131 * cspi/spi_registry.c:
1132 Connected new implementation for generateMouseEvent
1135 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1138 Incremented revision (but no change in public API
1139 outside of 'utils', which are not installed public yet.)
1141 * libspi/component.c:
1142 Changed to use atk_component API for layers and
1143 mdi_zorder, instead of deprecated atk_object API.
1145 Magnification Utility Enhancements:
1148 Added implementation of createZoomRegion, clearAllZoomRegions,
1149 resizeZoomRegion. Added new commandline argument
1150 "--no-initial-region". Note that clearAllZoomRegions doesn't
1151 unmap the old '0' region as it should (yet), and the other
1152 methods only work when creating/resizing a single region,
1153 which is "region 0".
1154 (Code for multiple region support will be added later.)
1157 Now we raise the magnifier window each time it's refreshed;
1158 this will help keep it on top.
1160 * util/mag_client.h:
1161 Added simple wrappers for above, used by mag_control.
1162 For general use, it's recommended to use the bonobo magnifier
1163 control API directly instead of using these wrappers.
1166 Moved ZoomRegionData from magnifier.c to this file.
1168 * util/mag_control.c:
1169 Added some code to exercise new IDL implementations.
1171 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
1173 * libspi/text.c: Provide implementation for getAttributes.
1175 2002-02-04 Bill Haneman <bill.haneman@sun.com>
1178 Incremented revision.
1180 * test/test-simple.c:
1181 Replaced use of deprecated g_main_iteration with
1182 g_main_context_iteration.
1184 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
1187 Incremented revision for desktop alpha 2.
1189 2002-01-28 Mark McLoughlin <mark@skynet.ie>
1191 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
1194 * test/simple-at.c: include netinet/in.h.
1196 2002-01-24 Mark McLoughlin <mark@skynet.ie>
1198 * cspi/spi_accessible.c: (Accessible_getRelationSet):
1199 use NULL, not CORBA_OBJECT_NIL.
1201 * libspi/accessible.c:
1202 (impl_accessibility_accessible_get_relation_set):
1203 allocate the sequence correctly.
1205 * libspi/remoteobject.h: kill spi_remote_object_new.
1207 * test/test-simple.c: (validate_accessible): add code
1208 to test relation sets, now all we need is to figure
1209 out how to excercise this code path :/
1211 2002-01-18 Michael Meeks <michael@ximian.com>
1213 * test/test-simple.c
1214 (key_listener_cb): consume the key.
1215 (test_keylisteners): update.
1216 (main): wait for any pending unrefs on events.
1218 * registryd/deviceeventcontroller.c
1219 (spi_controller_update_key_grabs): only re-issue the
1220 grab on a key release.
1221 (spi_device_event_controller_forward_key_event):
1222 refresh the keygrabs before we notify the listeners,
1223 to reduce the X ungrab / re-grab race.
1224 (spi_controller_register_with_devices): remove
1225 XSelectInput - we do that with the gdk_window_ call.
1226 (_spi_controller_device_error_handler): return a value.
1227 s/GDK_DISPLAY/spi_get_display/
1229 2002-01-17 Michael Meeks <michael@ximian.com>
1231 * registryd/deviceeventcontroller.c
1232 (_deregister_keygrab): don't blow out the later
1235 * test/test-simple.c (test_keylisteners): do a
1236 more intelligent validation.
1238 2002-01-14 Michael Meeks <michael@ximian.com>
1240 * atk-bridge/bridge.c
1241 (gnome_accessibility_module_init),
1242 (gnome_accessibility_module_shutdown): impl.
1243 (gtk_module_init): protect vs. double inits.
1244 (add_signal_listener): impl.
1245 (spi_atk_bridge_state_event_listener): kill
1246 (deregister_application): split out of
1247 (spi_atk_bridge_exit_func): here.
1249 2002-01-18 Bill Haneman <bill.haneman@sun.com>
1252 Added caret tracking when using magnifier, and
1253 now use text bounds for focus tracking of text elements, rather than
1254 the component bounds - this is helpful for short text fields in long
1255 table cells, at high magnification.
1257 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1259 * registryd/deviceeventcontroller.c:
1260 Regression fix for keylistener de-registration; global keygrabs
1261 were not being released when deregisterKeystrokeListener was
1262 called in cspi, since
1263 Accessibility_DeviceEventController_deregisterKeystrokeListener
1264 was called with a zero-length keyset. That is because the cspi
1265 method, SPI_deregisterKeystrokeListener, does not take a keyset
1266 parameter but instead should remove all the key grabs held be a
1268 The code in impl_deregister_keystroke_listener was changed to copy
1269 the keylist from the listener instance previously registered with
1270 the DeviceEventController before releasing the grabs.
1272 * registryd/registry.c:
1273 * registryd/deviceeventcontroller.c:
1274 * libspi/spi-private.h:
1276 Changed spelling of "re-enterant" to "re-entrant" globally.
1278 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1280 * test/test-simple.c:
1281 Changed key listeners test - the test was slightly mis-using the
1282 (admittedly poorly documented) SPI_generateKeyboardEvent API.
1283 It now uses '=' as the key event listened to and generated,
1284 relying on a keysym match rather than assuming that keycode 33
1285 is always equal to keysym '!'.
1287 2002-01-15 Bill Haneman <bill.haneman@sun.com>
1290 Changed simple-at to use a specific keyset, rather than
1291 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
1292 manager, desktop, etc.
1294 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1296 * registryd/deviceeventcontroller.c:
1297 Replaced standard X error handler with a special handler that
1298 is non-fatal for failed keygrabs. This works around
1299 problems with keygrab clashes sometimes observed on
1301 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
1302 mouse handling code as yet).
1304 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1307 Incremented revision for desktop alpha release.
1310 Fixed a couple of the more glaring errors (still not
1313 2002-01-11 Michael Meeks <michael@ximian.com>
1315 * registryd/deviceeventcontroller.c
1316 (spi_device_event_controller_forward_key_event): kill
1317 XUngrabKey / XKeyGrab race.
1318 (spi_controller_grab_keyboard): rename to
1319 (spi_controller_update_key_grabs): this, and deal
1320 with incremental adding / removing grabs more
1322 (_register_keygrab): ensure we're not pending a remove.
1323 (spi_grab_mask_free): impl.
1324 (spi_controller_register_global_keygrabs): split out
1326 (handle_keygrab): impl.
1327 (_deregister_keygrab): impl.
1328 (spi_controller_deregister_global_keygrabs): impl.
1329 (spi_controller_update_key_grabs): re-issue the grab if
1330 we just recieved a notification.
1332 * test/test-simple.c (key_listener_cb): remove debug.
1334 * registryd/deviceeventcontroller.c
1335 (spi_controller_register_device_listener): after
1336 registering a global keygrab, actualy register it !
1337 don't wait for a timeout; doh !
1339 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
1340 to make it more readable / manipulable.
1341 s/grabmask/grab_mask/ s/refcount/ref_count/
1342 s/keyval/key_val/ s/modmask/mod_mask
1344 2002-01-08 Michael Meeks <michael@ximian.com>
1346 * registryd/deviceeventcontroller.c
1347 (spi_controller_register_with_devices): use gdk calls to
1349 (global_filter_fn): implement the filter.
1350 (spi_device_event_controller_check_key_event): rename to
1351 (spi_device_event_controller_forward_key_event): this & upd.
1352 (spi_get_display): replace with GDK_DISPLAY.
1354 * registryd/deviceeventcontroller.c
1355 (spi_controller_deregister_device_listener): unroll into
1356 (impl_deregister_keystroke_listener): here to simplify.
1357 (spi_controller_register_global_keygrabs): split cut and
1358 paste (!) out into (_register_keygrab): here, shorter & sweeter.
1359 (spi_controller_deregister_device_listener): remove.
1360 (impl_register_mouse_listener): remove, no mouse listener
1361 support in at-spi-1.0
1363 * registryd/registry.c
1364 (_device_event_controller_hook): kill.
1365 (spi_registry_init): upd.
1367 * registryd/deviceeventcontroller.c
1368 (spi_device_event_controller_class_init): upd.
1369 (spi_check_key_event): merge into.
1370 (spi_device_event_controller_check_key_event):
1371 here and kill strange static ev init, don't leak
1372 the x_event - nor dynamicaly allocate it.
1374 * registryd/registry-main.c (main): re-direct
1375 timeout to remove strange vtable mess.
1377 * registryd/deviceeventcontroller.c
1378 (remove_listener_cb): impl.
1379 (spi_controller_deregister_device_listener):
1380 fix re-enterancy hazard.
1382 2002-01-07 Michael Meeks <michael@ximian.com>
1384 * registryd/deviceeventcontroller.c
1385 (spi_device_event_controller_new): upd.
1386 (impl_notify_listeners_sync): upd. debug.
1387 (spi_notify_keylisteners): fix re-enterancy hazards,
1388 prettify, remove O(n*n) iteration.
1389 (spi_controller_grab_keyboard): fix iteration.
1390 (spi_check_key_event): re-format to suit coding style.
1391 Clean all the warnings - we're warning free.
1393 * registryd/deviceeventcontroller.h:
1394 * registryd/registry.h: make mutualy referential with
1395 typesafe forward references instead of (!) void pointer
1398 2002-01-11 Michael Meeks <michael@ximian.com>
1400 * cspi/spi_accessible.c (role_names): add a role name
1401 to sync this array with the enum; and make the regression
1404 2002-01-10 Michael Meeks <michael@ximian.com>
1406 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
1407 allow expansion of enumeration & kill warning.
1409 * test/test-simple.c (key_listener_cb): impl.
1410 (test_keylisteners): impl.
1412 * cspi/spi-listener.h: make listener signatures const
1413 on the provided (const) events.
1415 * test/keysynth-demo.c: upd. to const events.
1417 * test/simple-at.c: ditto.
1419 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1422 Rev the version to 0.5 (the previous tarball was named 0.4,
1423 even though the micro number was 3), so we need to rev upwards
1424 again for beta2/"desktop-alpha"
1427 Checked in a demo script, which requires editing before use!
1428 Proceed with caution.
1431 Fixed typo in header which was redefining SPI_ACTION_CLASS.
1433 * cspi/spi_accessible.c:
1434 Add a couple of missing enum initializations, and fix some enum
1437 * cspi/spi_registry.c:
1438 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
1440 * docs/reference/cspi/at-spi-cspi-sections.txt:
1441 Remove/fix a couple of broken document references.
1444 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
1445 as Alt-Control to listen for commands, since on some systems
1446 Control-Alt may already be grabbed.
1448 2002-01-10 Bill Haneman <bill.haneman@sun.com>
1451 Update version number to 0.4 for Beta2.
1453 * libspi/accessible.c, libspi/accessible.h:
1454 Expose spi_accessible_construct, to enable libgail-gnome
1455 construction from spi_accessible subtype.
1457 * utils/magnifier.c:
1458 Workaround for bug in some non-gnome-compliant window managers
1459 which made magnifier resize improperly.
1461 2002-01-09 Bill Haneman <bill.haneman@sun.com>
1463 * libspi/accessible.c: (spi_accessible_new) :
1464 Move the test for SPI_IS_REMOTE_OBJECT to
1465 spi_accessible_new_return, fixing a bug and compile time warning.
1467 2002-01-08 Michael Meeks <michael@ximian.com>
1469 * registryd/registry.c (parse_event_type): remove strndup.
1471 * libspi/Makefile.am (libspi_la_SOURCES): remove
1472 sources already included in the headers section.
1474 * libspi/util.c: add.
1476 * libspi/spi-private.h: add.
1478 * registryd/registry.c: update to moved list iterators.
1480 2002-01-05 Michael Meeks <michael@ximian.com>
1482 * test/simple-at.c (main): upd. auto-module set to atk-bridge
1484 * test/test-simple.c (main): ditto.
1486 2002-01-04 Michael Meeks <michael@ximian.com>
1488 * libspi/accessible.c (spi_accessible_new): remove 2nd,
1489 redundant construct.
1491 * registryd/registry.c
1492 (get_listener_list): impl.
1493 (impl_accessibility_registry_register_global_event_listener):
1494 re-impl. to simplify using ~, remove dodgy const cast off.
1495 (parse_event_type): constify.
1496 (impl_accessibility_registry_deregister_global_event_listener_all):
1497 re-write, more efficiency and simplicity, kill re-enterancy
1499 (compare_listener_corbaref, compare_corba_objects),
1500 (compare_listener_quarks): define out.
1501 (impl_accessibility_registry_deregister_global_event_listener):
1502 re-write for effiency, and nail re-enterancy hazard.
1503 (impl_accessibility_registry_get_desktop_list): impl.
1504 (re_enterant_list_delete_link): impl.
1505 (re_enterant_list_foreach): impl.
1506 (remove_listener_cb): impl.
1507 (_registry_notify_listeners): kill.
1508 (notify_listeners_cb): impl.
1510 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
1511 (SPI_getDesktopList): impl.
1513 * test/test-simple.c (test_desktop): test the methods.
1515 2002-01-03 Michael Meeks <michael@ximian.com>
1517 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
1518 keystrings since we free them
1519 (SPI_freeAccessibleKeySet): in here.
1521 * libspi/accessible.c (spi_accessible_new): kill warning,
1522 wonder what is going on with the constructor here.
1524 2002-03-01 Bill Haneman <bill.haneman@sun.com>
1526 * libspi/accessible.c (spi_accessible_new ()) :
1527 Added check to see if AtkObject is an SpiRemoteObject before
1528 creating an SpiAccessible.
1530 2002-05-01 Bill Haneman <bill.haneman@sun.com>
1532 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
1533 Enable keygrabs using the Control modifier, now that they are
1534 working properly (they were previously disabled).
1537 Change the command keygrab for this demo to "Control+Alt", so as
1538 to conflict with fewer other key commands on the system; this
1539 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
1541 Removed a pointlessly-chatty keylistener for unshifted keys
1542 (shifted keys are still reported).
1544 2002-02-01 Bill Haneman <bill.haneman@sun.com>
1546 * libspi/remoteobject.h:
1547 * libspi/remoteobject.c:
1548 Added definitions for special AtkObject subtype, required for
1549 support of remote components (specifically, used by BonoboControl
1550 accessibility implementation).
1552 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
1554 * cspi/spi.h: synched relation types with ATK
1556 * cspi/spi_accessible.c: Added implementations of
1557 AcccessibleRelation_* methods
1559 * idl/Accessibility_Relation.idl: added getRelationTypeName
1560 method. Synched known relation types with ATK. Allowed for
1561 relation type extension with the RELATION_EXTENDED type.
1563 * libspi/relation.c: Provided implementations for
1564 AccessibleRelation methods.
1566 2002-01-01 Bill Haneman <bill.haneman@sun.com>
1568 API tweaks for today's API 'freeze'.
1571 Added placeholder functions to allow future compatible expansion
1572 of the IDL interfaces.
1574 * idl/Accessibility_Registry.idl:
1575 Changed generateKeyEvent to generateKeyboardEvent. Changed
1576 signature of this method to accept an optional keystring in
1577 parameter (for complex text input synthesis) and changed use of
1578 simple 'boolean' parameter in registerKeystrokeListener to a
1579 struct, EventListenerMode.
1581 * cspi/spi_accessible.c:
1583 * cspi/spi_streamablecontent.c:
1584 Added references to AccessibleStreamableContent interface, and
1585 definition and implementation of AccessibleStreamableContent
1588 * cspi/spi_registry.c:
1590 Changed generateKeyEvent API to generateKeyboardEvent,
1591 taking a new (optional) keystring parameter to support complex
1596 Renamed directory (to better reflect its actual purpose, bridging
1597 from at-spi to ATK). The .so module is also now named
1600 * idl/Accessibility_Hypertext.idl:
1601 * libspi/accessible.c:
1602 * libspi/hypertext.h:
1603 * libspi/hypertext.c:
1604 Changed Accessibility_Hypertext to *not* derive from
1607 * cspi/spi_registry.c:
1608 Added list of legal event type names for 'window' events, which
1609 completes the registry event API.
1611 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
1613 * at-bridge/bridge.c: Added registration for separate
1614 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
1615 signals. If either of the first two parameters to the generic
1616 bridge signal handler are ints, they are passed on as event
1617 details. This allows an AT to determine what text was inserted.
1619 2001-12-21 Bill Haneman <bill.haneman@sun.com>
1621 * registryd/deviceeventcontroller.c:
1622 Fixed regressions in generateKeyEvent caused by the removal of
1623 gdk_init from registryd; we now use pure X calls to connect to the
1624 display, which makes sense because deviceeventcontroller already
1625 uses a fair bit of X API (should eventually be migrated to a
1626 'portability layer').
1628 * registryd/desktop.c:
1629 Fixed minor regression in spi_desktop_init, changed the way the
1630 desktop name is being set to work with new spi_base API
1631 (gobject-based, rather than AtkObject-based).
1633 * registryd/Makefile.am:
1634 Minor revision of makefile to use XTST_LIBS variable rather than
1635 hard-wiring the Xtst LD_ADD element.
1637 * test/keysynth-demo.c:
1638 Tweaked an output message; added initialization of the
1639 'keystrings' member of the "switch listener" key_set.
1641 * libspi/relation.c:
1642 Squashed compile-time warning.
1644 * libspi/accessible.c:
1645 Cosmetic and formatting fixes, renamed a static method.
1647 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
1649 * libspi/accessible.c
1651 * libspi/application.c
1654 * libspi/component.c
1655 * libspi/editabletext.c
1656 * libspi/hyperlink.c
1657 * libspi/hypertext.c
1659 * libspi/selection.c
1663 * registryd/desktop.c:
1664 Changed SpiBase to contain a GObject pointer rather than an AtkObject
1666 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1668 * idl/Accessibility_Registry.idl:
1669 Added boolean member 'is_text' to DeviceEvent. This is for the
1670 use of key events, and helps prevent ambiguity between composed
1671 key strings and keysym names, since both may potentially be
1672 returned in the 'event_string' member.
1674 * at-bridge/bridge.c:
1675 * registryd/deviceeventcontroller.c:
1676 Use the 'is_text' member when notifying device event listeners.
1677 Knon issue: composed characters are not dealt with correctly by
1678 the global key listener implementation yet.
1680 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1682 * at-bridge/bridge.c:
1683 Namespaced local static methods to spi_atk_bridge_* where
1684 previously named bridge_*, and spi_* elsewhere.
1686 * at-bridge/bridge.c:
1687 * cspi/bonobo/cspi-bonobo-listener.c:
1688 Added demarshalling/conversion for string member of
1689 Accessibility_DeviceEvent to AccessibleKeystroke.
1691 * registryd/deviceeventcontroller.c:
1692 Added code to fill the Accessibility_DeviceEvent key string value
1693 member for global key events (i.e. from XGrabKey), to match
1694 behavior of Accessibility_DeviceEvent from the toolkit key events
1695 from the bridge. Fixed timestamp in global key event notifications.
1698 Added printout of key event's string value to
1699 report_ordinary_key_event, for demo/debugging purposes.
1701 2001-12-15 Bill Haneman <bill.haneman@sun.com>
1703 * idl/Accessibility_Registry.idl:
1704 Removed Accessibility_KeyStroke structure in favor of generic
1705 Accessibility_DeviceEvent structure.
1706 Changed Accessibility_ControllerEventMask from a struct to an
1709 * at-bridge/bridge.c:
1710 Changed APIs to use DeviceEvent structure as above, and removed
1711 bogus casting between these event structures.
1713 * cspi/spi-listener.h:
1714 Added keystring member of AccessibleKeystroke structure, to enable
1715 matching on event "names" rather than only hardware codes and
1719 Added keystrings member of AccessibleKeySet struct, to allow
1720 matching on event names (as above).
1721 Added declarations for SPI_createAccessibleKeySet and
1722 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
1723 event modmasks directly as unsigned ints rather than structs with
1724 refcounts, in the DeviceEventController methods.
1726 * cspi/spi_registry.c:
1727 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
1729 * cspi/spi-roletypes.h:
1730 Added documentation of newly added SPI Roles.
1732 * cspi/bonobo/cspi-bonobo-listener.c:
1733 Changes in support of API changes above.
1735 * libspi/accessible.c:
1736 Converted APIs to use DeviceEvent structure (see IDL changes
1739 * registryd/deviceeventcontroller.c:
1740 Added DEControllerGrabMask structure to track keygrabs not only by
1741 modmask but by keyset as well; this allows us to do "global"
1742 (i.e. X) keygrabs on a per-key or keyset basis rather than always
1743 grabbing on AnyKey and then filtering after-the-fact.
1744 Bugfixes for event filtration mean that we don't get false matches
1745 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
1747 * registryd/deviceeventcontroller.c:
1748 Namespaced a number of static methods to use spi_ prefix. Major
1749 revision to internals of global (i.e. X) key grabs.
1751 * registryd/deviceeventcontroller.h:
1752 Removed keymask_list and added keygrabs_list to
1753 SpiDeviceEventController struct.
1756 Added use of SPI_createAccessibleKeySet API when creating a
1757 listener for only one key. Attach a listener to "shift spacebar
1758 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
1759 X key event names to SPI key event names, so that listeners are
1760 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
1762 * test/keysynth-demo.c:
1763 Changed (incorrect) use of X key event names (KeyPressed,
1764 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
1767 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1769 * libspi/accessible.c:
1770 Convert all AtkRole enumerations to Accessibility_Role enums when
1771 getting a role from an AtkObject.
1773 * cspi/spi_accessible.c:
1774 Complete the conversion of Accessibility_Role enums at runtime to
1775 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
1776 role enums correctly match those given in spi-roletypes.h.
1777 Re-synchronize the local names list for AccessibleRole_getName ().
1778 AccessibleRole_getName is now deprecated, since it duplicates the
1779 more reliable Accessible_getRoleName.
1780 Added some role types from Accessibility_Role.idl.
1782 * idl/Accessibility_Role.idl:
1783 Added some role types used by AtkRole.
1785 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1788 * cspi/spi_registry.c:
1790 * cspi/cspi-bonobo-listener.c:
1791 Namespaced all methods that did not begin with an "SPI_" or
1792 "Accessible" prefix to "SPI_".
1795 Homogenized internal function namespace to "cspi_" for statics.
1798 Patched tests to use the new CSPI API.
1800 * docs/reference/cspi/at-spi-cspi-sections.txt:
1801 Updated docs to reflect namespace changes, and added a number of
1802 methods to the documentation.
1804 * registryd/registry.c:
1805 Changed use of strings and string hashes in listener event
1806 matching and parse_event_string to use GQuark, which is guaranteed
1809 * registryd/registry.h:
1810 Squashed annoying warning.
1812 * idl/Accessibility_Role.idl:
1813 Extended range of available Accessibility_Role values.
1815 * cspi/spi_accessible.c:
1816 Re-ordered role names.
1818 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1820 * idl/Accessibility_Value.idl:
1821 Revert use of union back to CORBA_double, since the double type is
1822 more efficient and can contain the other types without loss of
1825 * idl/Accessibility_Accessible.idl:
1826 Added method Accessibility:Accessible:getRoleName, to complement
1827 Accessibility:Accessible:getRole.
1829 * cspi/spi_accessible.c:
1831 Added C binding for above, Accessible_getRoleName (), and changed
1832 signature of Accessible_getRole () to return an AccessibleRole.
1834 * cspi/spi-roletypes.h:
1835 Changed AccessibleRole_getName to return a char * instead of a
1836 const char *. This method is now at least temporarily deprecated
1837 in favor of asking Accessibles for their RoleNames directly.
1840 Revert to match Accessibility_Value.idl;
1844 Change signature of AccessibleValue methods to use double rather
1848 * cspi/spi_accessible.c:
1849 Changed Accessible_getRole to return an AccessibleRole enum rather
1850 than a UTF-8 string. The UTF-8 string can still be obtained via
1851 AccessibleRole_getName ().
1853 * test/test-simple.c:
1854 Add test_action. Small fixup to match API change to Accessible_getRole.
1857 Bugfix for get_action_from_servant ().
1859 2001-12-11 Michael Meeks <michael@ximian.com>
1861 * libspi/libspi.h: remove registry.h and
1862 desktop.h, deviceeventcontroller.h
1864 * libspi/Makefile.am: remove registry.[ch],
1865 desktop.[ch], deviceeventcontroller.[ch]
1867 * registryd/Makefile.am: add registry.[ch],
1868 desktop.[ch], rename registryd.c to registry-main.c.
1869 add deviceeventcontroller.[ch]
1871 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1874 Replace setenv() call with putenv ().
1876 * libspi/component.c:
1877 Bugfix in AccessibleComponent_getExtents (),
1880 2001-12-11 Michael Meeks <michael@ximian.com>
1882 * libspi/image.c (impl_getImageExtents): impl.
1883 (spi_image_class_init): upd.
1886 (AccessibleImage_getImageDescription): fix daft bug
1889 * test/test-simple.c (global_listener_cb): update
1890 to only quit if not --poke
1891 (main): catch --poke.
1892 (validate_accessible): upd. dumping, call test_image
1895 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1898 * idl/Accessibility.idl: update all IDL includes.
1900 * idl/*.idl - rename to namespace - this sucks, blame
1901 mjs' bad decision for oafd.
1903 * test/test-simple.c (create_test_window): add more tests.
1904 (create_tree): split this out.
1905 (validate_accessible): bugfix.
1907 2001-12-11 Michael Meeks <michael@ximian.com>
1909 * cspi/bonobo/cspi-bonobo-listener.c:
1910 (cspi_kestroke_listener_unref),
1911 (cspi_event_listener_unref): impl. undoing previous
1912 homenous environment - for Bill.
1914 * cspi/spi_table.c (long_seq_to_array): use
1917 * cspi/spi_main.c: split out all bonoboish bits into
1920 * cspi/spi-impl.h: upd. typedefs.
1922 * cspi/spi_registry.c: update to lowlevel API,
1923 return booleans to indicate success in some places.
1925 * cspi/spi_event.c: update to lowlevel API.
1927 * cspi/bonobo/Makefile.am: add.
1929 * cspi/bonobo/cspi-lowlevel.h: add
1931 * cspi/bonobo/cspi-bonobo.c: add
1933 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1935 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1936 (SUBDIRS): add bonobo, link in the libs.
1938 * cspi/spi-util.c: kill this file.
1940 * TODO: merge in my bits.
1942 2001-12-11 Michael Meeks <michael@ximian.com>
1944 * test/test-simple.c (test_value, test_table, main):
1945 remove unused variables causing warnings.
1947 * configure.in: cleanup checks - require gail.
1949 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1952 Changed Value interface to use SValue (scalars) rather than
1953 assuming all values are floats. This allows floats, doubles,
1954 longs, shorts, and unsigned values to be manipulated.
1955 Introduced Accessibility:SValue union.
1958 Updated to use new API above, and to work correctly with GValues
1959 of different types in AtkValue.
1962 Updated to use new API above. cspi's API is as yet unchanged.
1965 Updated the Value revision action item.
1967 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1969 * test/test-simple.c:
1970 Added test_table (GtkTreeView widget in test window to follow).
1971 Un-commented test_value, added GtkRange widget.
1972 Added GtkTreeView widget with GtkListStore. It passes regression
1973 test but leaks one SPI object for some reason.
1976 Fixed bug in impl__set_currentValue.
1978 2001-12-10 Michael Meeks <michael@ximian.com>
1980 * cspi/spi_text.c: audit for exception handling,
1981 tolerating NULL object references safely etc.
1983 * cspi/spi_value.c: ditto.
1985 * cspi/spi_table.c (AccessibleTable_getSummary),
1986 (AccessibleTable_getAccessibleAt),
1987 (AccessibleTable_getRowHeader),
1988 (AccessibleTable_getColumnHeader),
1989 (AccessibleTable_getCaption): fix bugs hidden by
1991 (long_seq_to_array): impl.
1992 (AccessibleTable_getSelectedRows),
1993 (AccessibleTable_getSelectedColumns): use it.
1995 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1998 Added a TODO list (rough and short for now).
2000 * cspi/spi_hyperlink.c:
2001 * cspi/spi_hypertext.c:
2002 Fixed macro name typos, and remove use of obsolete macro in
2003 AccessibleHyperlink_getLink.
2005 * cspi/spi_action.c:
2006 * cspi/spi_accessible.c:
2007 * cspi/spi_application.c:
2008 * cspi/spi_component.c:
2009 * cspi/spi_selection.c:
2012 Documentation fixes (removed return values from ref/unref methods).
2014 2001-12-10 Michael Meeks <michael@ximian.com>
2016 * cspi/spi_action.c: audit for exception handling,
2017 tolerating NULL object references safely etc.
2019 * cspi/spi_accessible.c: ditto.
2021 * cspi/spi_component.c: ditto.
2023 * cspi/spi_editabletext.c: ditto.
2025 * cspi/spi_hyperlink.c: ditto.
2027 * cspi/spi_hypertext.c: ditto.
2029 * cspi/spi_image.c: ditto.
2031 * cspi/spi_selection.c: ditto.
2033 2001-12-10 Michael Meeks <michael@ximian.com>
2035 * configure.in: use cspi/libspi.pc.in instead.
2037 * Makefile.am (pkgconfig_DATA): upd. to match.
2039 * test/simple-at.c (report_focus_event): kill hacks around
2040 bad return values, use putenv not setenv
2042 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
2043 fire ChildGone - I killed it.
2045 * libspi/component.c
2046 (impl_accessibility_component_get_extents): remove
2049 * idl/Accessible.idl: kill ChildGone exception.
2051 * cspi/*.[ch]: kill int return from ref / unref.
2053 * cspi/spi_main.c (cspi_object_add_check): fold into
2054 (cspi_object_add): here.
2056 * cspi/spi_component.c (AccessibleComponent_getExtents):
2057 handle exceptions elegantly.
2059 * cspi/spi-private.h (cspi_check_ev_return),
2060 (cspi_return_if_fail): impl.
2062 * cspi/spi_accessible.c: use extensively.
2063 (AccessibleStateSet_equals): add direct compare check.
2065 * cspi/spi_selection.c: tolerate NULL objs, and check
2066 exceptions before return.
2068 * cspi/spi-util.c (cspi_warn_ev): rename to
2069 (cspi_check_ev): this & don't pass ev in; no point.
2071 2001-12-10 Michael Meeks <michael@ximian.com>
2073 * test/test-simple.c: use putenv not setenv
2074 (get_environment_vars): more chatty if you're not using
2077 * test/simple-at.c: do the setenv so more people see the
2080 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2082 * libspi/registry.c:
2083 Changed check of CORBA_environment on notification to be a warning
2084 instead of an error for the moment, since we can recover from this
2085 error when caused by a queued notification from a dead app.
2088 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
2089 used by all current implementors of AtkValue), and coerce to
2090 CORBA_float. (Proper general case fix may require change to Value.idl).
2092 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2096 * cspi/spi_accessible.c:
2097 Documentation fixes: added user_data params to documentation for
2098 listeners and callbacks.
2100 * cspi/spi_accessible.c:
2101 Changed AccessibleStateSet_compare to return a
2102 StateSet rather than return the difference set into a third parameter.
2105 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2108 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
2109 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
2113 Remove subdirectory po from SUBDIRS for now.
2115 * at-bridge/bridge.c:
2116 Beefed up a couple of debug printouts.
2117 One-line fix for signal notification name formatting.
2119 * libspi/accessible.c:
2120 Added assertion to spi_accessible_new ().
2122 * libspi/application.c:
2123 Put #ifdef qualifiers around a printf.
2126 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
2128 * registryd/Makefile.am:
2130 Replaces use of XML_I18N_MERGE_SERVER_RULE with
2131 INTLTOOL_SERVER_RULE macro.
2134 Added an event listener for several ATK signals, for
2135 testing and debugging. Removed a few g_warnings.
2136 Added test output if focussed item implements the Value interface.
2138 * test/test-simple.c:
2139 Added test_value () function (known not to pass at the moment, so
2140 not actually called yet.
2142 2001-12-08 Michael Meeks <michael@ximian.com>
2144 * at-bridge/bridge.c (bridge_focus_tracker),
2145 (emit_eventv): fix the same ref. leak.
2146 (register_atk_event_listeners): don't leak.
2148 * cspi/spi-listener-impl.c (cspi_event): more
2149 protection from client code.
2151 * test/test-simple.c (test_desktop): unref the app.
2153 * test/Makefile.am: upd. TESTS.
2155 * at-bridge/bridge.c (bridge_exit_func): release the registry.
2157 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
2159 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
2161 * cspi/spi_registry.c: constify in strings.
2162 (deregisterGlobalEventListenerAll): don't release the ref.
2164 * cspi/spi.h: start removing redundant / conflicting
2165 gtkdoc comments, making the API readable at a glance :-)
2167 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
2169 * test/keysynth-demo.c (keysynth_exit, main): upd.
2171 * test/simple-at.c (main, simple_at_exit): upd.
2173 * test/test-simple.c (unutterable_horror): kill.
2174 (utterable_normal_derefs): kill.
2175 (main): upd & do a setenv before gtk_init, so that we
2176 can use memprof - and to save the pain of remembering
2177 this, if we're running under memprof - don't exit.
2179 * cspi/spi_main.c (SPI_exit): return exit status
2181 (SPI_event_quit): impl.
2182 (SPI_event_main): simplify.
2183 (cspi_is_gnome_app): kill.
2184 (SPI_init): kill isGNOMEapp arg.
2186 * at-bridge/bridge.c (register_atk_event_listeners):
2187 re-instate the unref.
2188 (bridge_exit_func): don't re-activate the registry,
2189 protect vs. theoretical re-entry, use the
2190 AT_BRIDGE_SHUTDOWN env. var to determine whether to
2191 assert a clean shutdown - for regression tests.
2193 2001-12-08 Abel Cheung <maddog@linux.org.hk>
2195 * configure.in: Comment out dummy i18n support for now,
2196 otherwise it fails to build.
2197 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
2198 EXTRA_DIST. They are missing in tarball.
2200 2001-12-07 Michael Meeks <michael@ximian.com>
2202 * util/magnifier.c: kill bonobo activation reg. race.
2204 * libspi/component.c
2205 (impl_accessibility_component_get_extents): make it match
2208 * libspi/registry.c (_registry_notify_listeners):
2209 re-remove X headers & reconcile conflicts.
2210 (spi_listener_struct_free): bad conflict resolve.
2211 (impl_accessibility_registry_register_application):
2212 more bad merging fixed.
2213 (impl_accessibility_registry_deregister_application): ditto.
2214 (spi_registry_new): ditto.
2215 (spi_registry_init): don't have an applications field.
2217 [ merge fixups2 branch to here ]
2218 2001-12-07 Michael Meeks <michael@ximian.com>
2220 * test/simple-at.c (report_focus_event),
2221 (report_focussed_accessible): remove g_warning debug.
2223 2001-12-07 Michael Meeks <michael@ximian.com>
2225 * test/test-simple.c (validate_tree): comment out some checks.
2226 (test_desktop): app now not registered idly - horay.
2228 2001-12-07 Michael Meeks <michael@ximian.com>
2230 * cspi/spi_registry.c
2231 (registerAccessibleKeystrokeListener): clean, stop it leaking
2232 great swathes of memory, and device event controller references.
2233 ensure we always pass valid sequences.
2234 (deregisterAccessibleKeystrokeListener): ditto.
2235 (generateKeyEvent): upd.
2237 * at-bridge/bridge.c (bridge_key_listener): handle
2238 registry dead exception gracefully.
2239 (bridge_focus_tracker, emit_eventv): free ev.
2241 * test/simple-at.c (report_focus_event): fix polarity.
2243 * libspi/application.c (notify_listeners): kill the ev
2244 argument, and make sure we init the ev we use.
2245 (spi_application_object_event_listener): split out a chunk
2246 (get_atk_object_ref): here & fixup.
2247 (reverse_lookup_name_for_toolkit_event): make const.
2248 (spi_application_toolkit_event_listener): fixup, kill leaks
2251 * at-bridge/bridge.c (register_atk_event_listeners):
2252 don't unref the noop object - causes grief.
2254 * libspi/registry.c: remove the X headers.
2255 turn off the debug churn.
2257 * libspi/accessible.c (spi_accessible_new_return): only
2258 release the ref if we are supposed to [doh]
2260 * test/simple-at.c (report_button_press, report_focus_event):
2261 guard vs. unexpected exit.
2263 * at-bridge/bridge.c (gtk_module_init): prune printf.
2264 (bridge_exit_func): fix app unref.
2266 * libspi/Makefile.am: don't install registry or desktop.h
2268 * libspi/*.h: update includes.
2270 * libspi/application.h: don't include ourself, or
2271 other redundant headers.
2273 2001-12-06 Michael Meeks <michael@ximian.com>
2275 * libspi/accessible.c
2276 (get_accessible_from_servant): impl.
2277 Upd. all CORBA impl.s to use it killing cut and paste.
2279 * cspi/spi_main.c (cspi_cleanup): guard vs. double
2281 (SPI_init): register atexit cleanup handler here.
2283 2001-12-06 Michael Meeks <michael@ximian.com>
2285 * at-bridge/bridge.c (gtk_module_init): g_error on
2286 activation exception
2288 2001-12-06 Michael Meeks <michael@ximian.com>
2290 * at-bridge/bridge.c (gtk_module_init): some sort of
2291 confusing merge clash - reverted.
2292 (bridge_idle_init): ditto.
2294 * test/test-simple.c (main, utterable_normal_derefs):
2295 merge from Bill - somehow not committed.
2297 2001-12-06 Michael Meeks <michael@ximian.com>
2299 * libspi/value.c (spi_value_class_init): upd.
2300 (spi_value_finalize): kill.
2302 * libspi/table.c (spi_table_finalize): kill.
2303 (spi_table_interface_new): upd.
2304 (spi_table_class_init): upd.
2305 (get_table_from_servant): impl.
2306 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2308 * libspi/selection.c (spi_selection_finalize): kill.
2309 (spi_selection_interface_new): upd.
2310 (spi_selection_class_init): upd.
2311 (get_selection_from_servant): impl.
2312 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2314 * libspi/relation.c (spi_relation_finalize): kill.
2315 (spi_relation_class_init, spi_relation_new): upd
2317 * libspi/image.c (spi_image_finalize): kill.
2318 (spi_image_class_init): upd.
2319 (spi_image_interface_new): upd.
2320 (get_image_from_servant): impl.
2321 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2323 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
2324 (spi_hyperlink_finalize): kill.
2325 (spi_hyperlink_new): upd.
2326 (get_hyperlink_from_servant): impl.
2327 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2329 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
2330 (spi_hypertext_finalize): kill.
2331 (spi_hypertext_class_init): upd.
2332 (get_hypertext_from_servant): impl.
2333 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2335 * libspi/editabletext.c (spi_editable_text_finalize): kill.
2336 (spi_editable_text_interface_new): upd.
2337 (get_editable_text_from_servant): impl.
2338 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2340 * libspi/text.c (get_text_from_servant): impl.
2341 All impls - update to use it killing more cut and paste,
2342 also fix bad string returns on duff args ( a somewhat
2343 impossible case to handle - but hey ).
2344 (spi_text_construct): impl.
2345 (spi_text_interface_new): upd.
2346 (spi_text_object_finalize): kill.
2348 * libspi/component.c
2349 (accessibility_component_object_finalize): kill.
2350 (spi_component_class_init): upd.
2351 (get_component_from_servant): impl. helper to kill cut & paste.
2352 (impl_accessibility_component_contains):
2353 (impl_accessibility_component_get_accessible_at_point):
2354 (impl_accessibility_component_get_position):
2355 (impl_accessibility_component_get_extents):
2356 (impl_accessibility_component_get_mdi_z_order):
2357 (impl_accessibility_component_get_layer):
2358 (spi_component_interface_new): upd.
2360 * libspi/action.c (spi_action_finalize): kill.
2361 (spi_action_class_init): upd. inherit from SpiObject.
2362 (spi_action_interface_new): upd.
2363 (get_action_from_servant): impl. helper to reduce cut & paste.
2364 (impl_getKeyBinding, impl_getName, impl_doAction),
2365 (impl_getDescription): Use it everywhere.
2367 * cspi/spi_main.c (get_live_refs): a pointer hash.
2368 (spi_object_hash, spi_object_equal): comment out.
2369 There are issues with CORBA object hashing that need
2372 * libspi/application.c (spi_application_init),
2373 (spi_application_new): upd.
2375 * libspi/accessible.c (spi_accessible_object_finalize): kill.
2376 (spi_accessible_class_init): upd.
2377 s/accessible/object/ in epv methods.
2379 2001-12-05 Bill Haneman <bill.haneman@sun.com>
2381 * at-bridge/bridge.c:
2382 Reorder the bridge initialization into the bridge gtk_module_init,
2383 an immediate call to bridge_register_app, and an idle_add for
2384 register_atk_event_listeners (the only code that *must* wait until
2385 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
2386 the activation, creates the application's Accessible object, and
2387 queues the bridge_idle_init function. Restored call to
2388 Accessibility_Registry_deregisterApplication().
2389 Prior to making this call we obtain a new reference to the
2390 registry, which is a temporary hack that helps us handle apps that
2391 shut down the bonobo mainloop before we get there.
2393 * libspi/registry.c:
2394 Fix string leakage in debug block, and don't segv if a an app
2395 dies before its event notifications have been propagated.
2398 Modify cspi_check_ev() to call g_warning() rather than g_error(),
2399 as stopgap measure until we get proper exception handling when
2400 objects die during or before interrogation.
2404 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
2405 Also changed default value of is_gnome_app to TRUE.
2408 * test/keysynth-demo.c:
2409 Changed use of SPI_init and SPI_event_main to reflect API change above.
2412 Made report_focus_event check the warning value from getName
2413 before reporting on focussed accessible; simplifies handling of
2414 notifications from dead objects.
2416 * test/test-simple.c: (Changes not in this patch since source is
2419 2001-12-05 Michael Meeks <michael@ximian.com>
2421 * registryd/registryd.c (main): protect against
2422 bonobo-activation startup race condition.
2424 * cspi/spi_main.c (cspi_object_add_check): cope
2425 with the exception elegantly.
2427 * idl/Accessible.idl: decl. ChildGone
2429 * libspi/desktop.c (spi_desktop_dispose): impl.
2430 (spi_desktop_class_init): upd.
2431 (spi_desktop_add_application),
2432 (spi_desktop_remove_application),
2433 (abnormal_application_termination): impl.
2434 (impl_desktop_get_child_at_index): re-impl.
2437 (impl_accessibility_registry_deregister_application),
2438 (impl_accessibility_registry_register_application):
2439 kill excessive debug clutter.
2441 * test/test-simple.c (test_misc): test some NULL
2442 tolerance. (main): upd.
2444 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
2445 implements no interfaces - so let's not crash.
2447 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
2449 * libspi/accessible.c (spi_accessible_new_return): impl.
2450 helper to calm the cut and paste, to cope with
2451 NULL AtkObjects effectively and efficiently, and to kill
2452 the referencing bugs.
2454 * libspi/table.c (impl_getAccessibleAt),
2455 (impl_getRowHeader, impl_getColumnHeader): upd.
2457 * libspi/hyperlink.c (impl_getObject): upd.
2459 * libspi/accessible.c
2460 (impl_accessibility_accessible_get_child_at_index): upd.
2462 * libspi/component.c
2463 (impl_accessibility_component_get_accessible_at_point): upd.
2465 * test/test-simple.c (test_editable_text, test_text): impl.
2468 * cspi/spi_editabletext.c
2469 (AccessibleEditableText_insertText): constify.
2471 * test/test-simple.c (focus_me): make more robust.
2473 * libspi/accessible.c: remove some printfs in methods that
2474 we test and work fine, so we can get a clean tree dump.
2476 * test/test-simple.c (validate_accessible),
2477 (validate_tree): make tree dumping pretty too.
2479 * at-bridge/bridge.c (bridge_signal_listener): upd. so
2480 it builds without debug on.
2482 * test/test-simple.c (validate_accessible): fix the most
2485 * cspi/spi_main.c (spi_object_release): leave the nicely
2486 blanked memory around if in debug mode.
2488 * cspi/spi-listener-impl.c (cspi_event): use add_check.
2490 [committed to fixups2]
2491 2001-12-05 Michael Meeks <michael@ximian.com>
2493 * libspi/editabletext.c
2494 (spi_editable_text_class_init): g_type_class_peek_parent,
2495 not interface peek - so we finalize cleanly.
2497 * libspi/accessible.c (spi_accessible_new): kill debug.
2499 * test/test-simple.c (validate_accessible): fix ref.
2500 leak, print strings before freeing them; sigh, comment a
2501 chunk out due to strangeness.
2502 (validate_tree): unref the child after use.
2504 * cspi/spi_component.c (AccessibleComponent_getLayer):
2505 add missing break statement, switch on zlayer not the
2506 uninitialized retval.
2508 * cspi/spi_main.c (cspi_object_add): add assert, local ref
2509 before (possibly re-entering) remote unref.
2511 * test/simple-at.c (main): unref the desktop.
2513 * cspi/spi_accessible.c (cspi_accessible_is_a): move
2516 * cspi/spi_main.c (cspi_accessible_is_a): here to
2517 isolate bonobo API usage more.
2519 * libspi/registry.c (impl_accessibility_registry_register_application):
2520 prune bogus comment.
2522 2001-12-04 Michael Meeks <michael@ximian.com>
2524 * test/test-simple.c (validate_tree): upd.
2525 IndexInParent check to make it more lucid.
2526 (validate_accessible): dump the tree.
2528 * libspi/accessible.c (de_register_public_ref),
2529 (get_public_refs): impl.
2530 (spi_accessible_new): make more efficient & intuitive.
2531 Now IndexInParent check works.
2533 2001-12-04 Michael Meeks <michael@ximian.com>
2535 * cspi/spi-util.h: remove.
2537 * cspi/spi.h: move SPI_freeString here
2539 * libspi/component.c (impl_accessibility_component_get_layer):
2541 (impl_accessibility_component_get_mdi_z_order): ditto,
2542 return -1 on error - is this ok ?
2544 * test/test-simple.c (test_application): impl.
2546 * cspi/spi_accessible.c (Accessible_getApplication),
2547 (Accessible_isApplication): impl.
2549 * libspi/registry.c (spi_listener_struct_free): release
2550 the CORBA reference too.
2552 * libspi/accessible.c
2553 (impl_accessibility_accessible_get_parent): fix ref leak.
2555 * libspi/registry.c (spi_registry_new): make the registry
2556 immortal - we don't want it to go away ever.
2558 * libspi/application.c
2559 (spi_accessible_application_finalize): impl. cleanup.
2561 * cspi/spi_registry.c
2562 (deregisterGlobalEventListenerAll),
2563 (deregisterGlobalEventListener),
2564 (deregisterAccessibleKeystrokeListener): fix ref leak.
2566 * cspi/spi_main.c (SPI_init): remove redundant ref.
2568 * test/test-simple.c (unutterable_horror): impl. to force a
2573 (impl_accessibility_registry_deregister_application): release
2574 the application when we de-register it.
2576 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
2577 until we have the infastructure to get it right.
2579 2001-12-03 Michael Meeks <michael@ximian.com>
2581 * libspi/Makefile.am: only build eventlistener.[ch]
2583 * libspi/accessible.c
2584 (impl_accessibility_accessible_get_child_at_index): don't leak.
2586 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
2587 before we hit the idle handler.
2589 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
2590 debugging than exit.
2592 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
2594 * libspi/listener.c (impl_notify_event): check source
2595 not NIL before unref.
2597 * libspi/registry.c (impl_registry_notify_event): ditto.
2599 * libspi/eventlistener.c
2600 (impl_accessible_event_notify_event): unref the source.
2602 * libspi/accessibleeventlistener.c
2603 (impl_accessible_event_notify_event): unref the source.
2605 * idl/Event.idl: remove 'hash_id' attribute - of no
2608 * libspi/application.c (notify_listeners): upd list
2610 (spi_application_object_event_listener),
2611 (spi_application_toolkit_event_listener): upd to do correct
2615 (_registry_notify_listeners): update.
2616 (parse_event_type): this method also leaks like a sieve.
2617 (impl_accessibility_registry_deregister_global_event_listener):
2618 fix ETYPE_WINDOW case.
2620 * libspi/application.c
2621 (impl_accessibility_application_register_object_event_listener):
2624 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
2626 * libspi/hypertext.c (impl_getLink): ditto.
2628 * cspi/spi_main.c (cspi_object_add): remove
2629 bogus CORBA_Object_duplicate.
2631 * cspi/spi-listener-impl.c (cspi_event): dup/ref
2634 * cspi/spi_accessible.c
2635 (Accessible_getRelationSet): fix leak / referencing issue.
2637 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
2638 (cspi_object_add, cspi_object_unref): upd.
2639 (spi_object_release, get_live_refs): impl.
2640 (cspi_cleanup): simplify.
2642 * *.[ch]: s/boolean/SpiBoolean/
2644 * cspi/spi_accessible.c (role_names): actualy order so it
2645 corresponds with the enum !
2647 * test/test-simple.c (test_roles): check some role strings
2648 vs. enums to detect offset errors.
2650 2001-12-01 Michael Meeks <michael@ximian.com>
2652 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
2654 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
2656 (Accessible_getChildAtIndex): use cspi_add_check so we
2657 check the ev before using a (possibly) invalid value.
2659 * libspi/accessible.c
2660 (impl_accessibility_accessible_get_parent): don't segv
2663 * at-bridge/bridge.c (gtk_module_init): upd.
2664 (bridge_property_event_listener): don't leak strings
2666 (bridge_state_event_listener),
2667 (bridge_property_event_listener): don't use a static
2668 buffer in case of recursive event emission &
2669 re-enterancy - split out the swathe of cut and paste
2671 (emit_eventv): and fix 2 ref leaks here & comply to the
2673 (bridge_register_app): rename to
2674 (bridge_idle_init): this and kill arg parsing, split
2675 various inits & bonobo-activation registration to module
2676 init time, kill referencing error.
2677 (bridge_exit_func): fix the same leak.
2678 (bridge_focus_tracker): don't leak event structures
2680 (bridge_signal_listener): more leakage and cut & paste
2682 (bridge_key_listener): return the result - FIXME is
2683 this polarity correct ?
2684 (accessibility_keystroke_from_atk_key_event): rename
2685 (accessibility_init_keystroke_from_atk_key_event): and stop
2687 (gtk_module_init): return a value - not that it is checked by
2689 (bridge_key_listener): register my horror at casting between
2690 IDL defined structs.
2691 (bridge_get_registry): kill - not used.
2693 * cspi/spi_accessible.c (Accessible_getRole): make return const.
2695 * test/test-simple.c (test_roles): impl.
2696 (test_desktop, validate_accessible, validate_tree): impl.
2698 * cspi/spi_accessible.c (role_names): fixup bogus
2699 MAX_ROLES setup, make constants const for efficient linkage
2700 (AccessibleRole_getName): conform to coding style, make
2703 2001-11-30 Michael Meeks <michael@ximian.com>
2705 * cspi/spi.h: add missing prototype.
2707 * libspi/registry.c (spi_listener_struct_new): fix sig.
2709 * test/Makefile.am: add test-simple
2711 * test/test-simple.c: add
2713 * test/test.sh: add.
2715 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
2717 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
2718 do it straight - since otherwise we often get an activation race.
2720 [ work before Bill duplicated a chunk of it ... ]
2721 2001-11-30 Michael Meeks <michael@ximian.com>
2723 * libspi/keystrokelistener.c
2724 (spi_keystroke_listener_class_init): fixup arg
2727 * libspi/eventlistener.c
2728 (spi_event_listener_class_init): ditto.
2730 * tests/test.sh: add.
2732 * cspi/spi-listener-impl.h: update macros.
2734 * cspi/spi-listener-impl.c
2735 (cspi_event_listener_remove_callback): add
2736 correct pre-conditions.
2738 * cspi/spi_main.c (SPI_exit): guard vs. double
2739 exits, exit the mainloop nicely.
2740 (SPI_event_main): make more sense.
2741 (SPI_init): move the atexit evilness here so we
2742 always do it (yuck).
2743 (SPI_event_main): upd.
2745 * test/simple-at.c: update for listener changes.
2747 * registryd/registryd.c (main): prune kruft.
2749 * libspi/libspi.h: upd.
2751 * libspi/eventlistener.[ch]: rename broken macros.
2753 * libspi/accessibleeventlistener.[ch]: remove.
2755 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
2757 * test/test-simple.c: Add - automated tests.
2759 * cspi/spi-listener-impl.c (cspi_event),
2760 (cspi_key_event): add user_data to invoke.
2761 (cspi_keystroke_listener_finalize): impl.
2762 (cspi_keystroke_listener_class_init): upd.
2765 (createAccessibleEventListener),
2766 (AccessibleEventListener_addCallback),
2767 (createAccessibleKeystrokeListener),
2768 (AccessibleKeystrokeListener_addCallback): upd.
2770 * libspi/deviceeventcontroller.c
2771 (spi_device_event_controller_check_key_event): add public proto.
2774 (impl_accessibility_registry_deregister_global_event_listener):
2775 always init listeners.
2776 (_registry_notify_listeners): yes it is.
2778 * cspi/spi-listener-impl.c (cspi_key_event):
2780 (cspi_event_listener_finalize): impl.
2781 (cspi_event_listener_class_init): hook up.
2782 (event_handler_new, event_handler_free),
2783 (event_list_remove_by_callback): impl.
2784 (cspi_event_listener_remove_callback),
2785 (cspi_keystroke_listener_remove_callback),
2786 (cspi_keystroke_listener_add_callback),
2787 (cspi_event_listener_add_callback): upd.
2789 * libspi/keystrokelistener.c
2790 (keystroke_listener_object_finalize): kill
2791 (spi_keystroke_listener_class_init): upd.
2792 (spi_keystroke_listener_add_callback),
2793 (spi_keystroke_listener_remove_callback): kill,
2795 (impl_key_event): prune drasticaly.
2797 * libspi/eventlistener.c
2798 (spi_event_listener_add_callback),
2799 (spi_event_listener_remove_callback): kill, use
2801 (impl_accessible_event_notify_event): upd.
2802 (spi_event_listener_object_finalize): remove.
2804 * libspi/Makefile.am: use eventlistener.[ch]
2806 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2808 * libspi/registry.c (_registry_notify_listeners):
2809 Changed listener loop iteration to use preferred convention.
2810 Got rid of string memory leaks caused be calling g_strconcat
2811 inside function calls.
2813 * libspi/registry.c (parse_event_type):
2814 Stopped g_strconcat memory leaks, free the g_strsplit return,
2815 g_strdup the split pieces when used, etc.
2817 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2820 Change method 'compare' to return a 'difference set' rather than
2821 taking a StateSet as an out parameter (more Java-friendly).
2823 * idl/Accessible.idl:
2824 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2826 * idl/Component.idl:
2828 Changed methods 'getExtents' and 'getImageExtents' in these
2829 interfaces to return a BoundingBox structure.
2830 (getPosition and getSize are redundant and possibly should be
2831 removed, rather than creating a corresponding Point struct.)
2833 * cspi/spi_component.c:
2834 Modify implementation of getExtents to reflect the above IDL
2839 Add (missing) AccessibleImage_getExtents () API.
2841 * docs/reference/cspi/at-spi-cspi-sections.txt:
2842 Added AccessibleImage_getImageExtents () to docs.
2844 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2846 * idl/Component.idl:
2847 Added two methods, getLayer () and getMDIZOrder (), to reflect
2848 the new ATK methods atk_object_get_layer and
2849 atk_object_get_mdi_z_order. (Which arguably should be part of the
2850 AtkComponent API and AtkObject). Also added an enum,
2851 ComponentLayer, for the first method's return value.
2853 * libspi/component.c:
2854 Added implementations for these methods.
2856 * cspi/spi_component.c:
2858 Added cspi binding methods for above,
2859 AccessibleComponent_getLayer() and
2860 AccessibleComponent_getMDIZOrder().
2861 Added cspi enum 'AccessibleComponentLayer'.
2863 * docs/reference/cspi/at-spi-cspi-sections.txt:
2864 Added above methods to docs.
2868 Changed typedef for 'boolean' type (and all references to it) to
2869 SPIBoolean, to avoid keyword clashes with C++.
2872 Changed usages of 'boolean' to SPIBoolean.
2874 * test/keysynth-demo.c:
2875 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2876 app), except where SPIBoolean is required by the callbacks API.
2878 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2880 * cspi/spi_registry.c:
2881 Removed obsolete X event loop for passive keygrabs (which now
2884 * registryd/registryd.c:
2885 Removed unnecessary call to gdk_init() [cruft]. This also allows
2886 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2889 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2891 * docs/reference/cspi:
2892 Included docs for SPI_freeString in generated documentation.
2895 Renamed spi_freeString to SPI_freeString, for consistency. Added
2896 documentation for this function.
2899 Renamed spi_freeString to SPI_freeString, for consistency.
2900 Removed obsolete method declaration string_from_corba_string.
2902 * test/keysynth-demo.c:
2903 Small tweak to comments.
2906 Stopped leaking the strings returned from CSPI.
2908 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2910 Merged Michael's branch (see his ChangeLog entries below).
2912 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2913 bridge is alive, release on exit.
2915 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2916 Fix type check macro.
2919 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2922 Added is_gnome_app static, and method cspi_is_gnome_app(),
2923 so we can call the appropriate shutdown routine at exit in SPI_exit.
2925 * cspi/spi_main.c (cspi_object_ref):
2926 Duplicate the corba object passed in, since we're keeping it around.
2928 * cspi/SPI_exit.c, cspi_cleanup:
2929 Moved the releasing of the live refs to its own function, so we
2930 can put it in g_atexit (). Call the appropriate shutdown API
2931 depending on whethe calling client is a gnome app or not
2932 (bonobo_main_quit or CORBA_ORB_shutdown).
2934 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2935 Unref the listener when this method is called, after
2936 deregistration. Updated the API docs to note this behavior.
2938 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2939 Bugfixes: Ref the bonobo object when returning a parent or child
2940 reference, or an AccessibleRelation. Generally made sure
2941 BonoboObject refcount is incremented whenever we return an
2944 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2945 Fixed typo/bug in signal declaration.
2947 * libspi/accessibleeventlistener.h:
2950 * libspi/application.c (spi_application_new):
2951 Fixed leak in initialization.
2954 Remembered to increment bonobo-object refcount when returning
2955 children (applications) from desktop object.
2956 Added (empty) finalize method.
2958 * libspi/deviceeventcontroller.c:
2959 Hold a ref to listeners inside DEControllerKeyListeners.
2960 Added dec_key_listener_free() method. Use prepend instead of
2961 append in key_listener list. Fixed some refcount madness and
2962 leaks in the listener registration/deregistration - deregistration
2963 now calls dec_key_listener_free() on listeners, and on the
2964 temporarily constructed dec_key_listener() used to perform the search/match.
2966 * libspi/hypertext.c (spi_hypertest_finalize):
2967 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2968 class. Also fixed spi_hypertext_interface_new() and
2969 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2971 * libspi/hypertext.h:
2972 Removed pointless and duplicate AtkObject pointer from
2975 * libspi/keystrokelistener.c:
2976 Fixed incorrect type of keystroke_listener_parent_class,
2977 renamed keystroke_listener_object_finalize to
2978 spi_keystroke_listener_object_finalize.
2979 Fixed typo in signal declaration
2980 (spi_keystroke_listener_class_init).
2982 * libspi/registry.c:
2983 Added funcsions spi_listener_struct_new() and
2984 spi_listener_struct_free() to help with memory management issues.
2985 We also now use these methods instead of gnew + poking stuff into
2986 the struct, and to decrement listener counts/free the listeners
2987 when deregistering them.
2988 Fix more refcount bugs in getDesktop() and
2989 getDeviceEventController().
2992 De-ref the desktop after enumerating the applications. Explicitly
2993 decrement the refcounts on the created listeners on exit (using
2994 _unref for keystroke listeners, and via the
2995 deregisterGlobalEventListenerAll command for other event
2998 2001-11-27 Michael Meeks <michael@ximian.com>
3000 * cspi/spi-listener.h: fixup enum.
3002 2001-11-27 Michael Meeks <michael@ximian.com>
3004 * cspi/spi-listener-impl.c (cspi_event_listener_new),
3005 (cspi_keystroke_listener_new): Use the cspi variants.
3007 2001-11-26 Michael Meeks <michael@ximian.com>
3009 * test/keysynth-demo.c: fix 2 compile warnings, missing
3012 * test/simple-at.c (report_focussed_accessible),
3013 (report_focus_event, report_button_press),
3014 (check_property_change, is_command_key),
3015 (report_ordinary_key_event, report_command_key_event): upd.
3017 * util/mag_client.h: include pre-requisites.
3019 * libspi/accessibleeventlistener.c
3020 (spi_event_listener_object_finalize): free any lingering
3023 * libspi/keystrokelistener.c
3024 (keystroke_listener_object_finalize): ditto.
3026 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
3027 callbacks, with cspi types.
3029 * cspi/spi_event.c (createAccessibleEventListener): chain to
3030 (AccessibleEventListener_addCallback): here.
3031 (createAccessibleKeystrokeListener): chain to
3032 (AccessibleKeystrokeListener_addCallback): here.
3034 * libspi/keystrokelistener.c
3035 (spi_keystroke_listener_class_init): add signal.
3036 (impl_key_event): emit the event.
3037 (boolean_handled_accumulator): impl.
3038 (marshal_BOOLEAN__POINTER): add, gack.
3040 * libspi/accessibleeventlistener.c
3041 (spi_event_listener_class_init): add signal.
3042 (impl_accessible_event_notify_event): emit the signal &
3043 make the loop efficient.
3044 (spi_event_listener_add_callback): prepend the callback.
3046 * libspi/accessibleeventlistener.h: add an 'event' signal,
3047 decl type on callback.
3049 * libspi/keystrokelistener.h: ditto.
3051 * cspi/spi-listener.h: make methods typesafe and
3052 make them use the new event typedefs.
3054 * test/simple-at.c (report_focussed_accessible):
3055 include mag_client.h
3056 Use *(void *)text_interface not the other thing.
3058 * configure.in: add gtk to registryd bits - since we use
3061 * util/magnifier.c: include libbonobo.h
3063 2001-11-25 Bill Haneman <bill.haneman@sun.com>
3065 * test/keysynth-demo.c:
3066 Turned this into a simple scanning keyboard, to demonstrate the
3067 use of g_timeout_add () as a means of creating timers for
3068 scanning, and the use of GtkStyle for visually indicating when
3069 virtual keyboard elements are selected.
3071 keysynth-demo now listens to any keyboard keys with zero-valued
3072 keycodes (i.e. 'unused' keys) and interprets them as
3075 Reworked the shiftlatch code so that shift-down state isn't held
3076 for long periods (it's only synthesized immediately prior to
3077 the keysynth event it's modifying). Note that shiftlatch in this
3078 demo is a convenience, not intended to take the place of AccessX
3079 which is the better choice for getting 'sticky' modifier keys.
3081 * libspi/deviceeventcontroller.c:
3082 * at-bridge/bridge.c:
3083 * cspi/spi_registry.c:
3084 Removed some debug print stuff, and put other verbosity in #ifdef
3089 Implemented some more of the magnifier IDL for the simple
3090 magnifier: namely, getZoomRegionParams.
3091 Added mag_x and mag_y members to MagnifierData struct, aid of this
3093 Added GtkWindow::realize signal handler to magnifier, to keep it
3094 from receiving keyboard focus from the WM.
3096 2001-11-23 Mark McLoughlin <mark@skynet.ie>
3098 * cspi/spi-private.h: my guess at what michael forgot
3099 before he ran off to NZ :-)
3101 2001-11-23 Michael Meeks <michael@ximian.com>
3103 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
3104 comment out non existant method invoke so we link.
3106 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
3107 use bonobo_exception_get_text for more friendly warnings.
3109 * cspi/spi.c (Obj_Add): move into spi_main & rename
3110 spi_object_add; kill spi.c
3112 * cspi/spi_registry.c
3113 (deregisterGlobalEventListener),
3114 (deregisterGlobalEventListenerAll),
3115 (registerGlobalEventListener): fix exception leaks.
3117 * cspi/spi_main.c (spi_exception): impl. helper, so we
3118 don't leak exceptions.
3120 * cspi/spi_selection.c
3121 (AccessibleSelection_deselectSelectedChild): return the
3124 * cspi/spi_main.c (spi_ev): impl; hack - gack.
3125 (spi_registry): ditto.
3126 (SPI_init): guard against double inits.
3128 * cspi/*.c: use spi_ev (), and spi_registry () where
3129 appropriate - a temporary hack until we have something
3130 better. Use spi_object_add
3132 2001-11-22 Michael Meeks <michael@ximian.com>
3134 * cspi/Makefile.am: re organise, install the headers.
3136 * cspi/*.h: add G_BEGIN/END_DECLS
3138 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3141 Added non-preemptive keylistener for key events with no modifiers
3142 and shift-only modifier.
3144 * libspi/keystrokelistener.c:
3145 Removed some verbose diagnostics printout.
3147 * cspi/spi_registry.c:
3148 Fixed a bug that caused all key listeners to be registered as
3151 * libspi/deviceeventcontroller.c:
3152 Fixed bug that caused XGrabKey (preemptive key grab) to be called
3153 for non-preemptive key masks.
3156 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3158 * docs/reference/idl/at-spi-idl-docs.sgml:
3159 * docs/reference/idl/at-spi-idl-sections.txt:
3160 * docs/reference/idl/at-spi-idl-overrides.txt:
3161 Added missing files.
3163 * docs/reference/Makefile.am:
3164 removed idl from SUBDIRS until we can figure a way to get gtk-doc
3165 to scan the IDL files :-(
3170 Added .cvsignore files.
3172 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3174 * libspi/deviceeventcontroller.c:
3175 * libspi/keystrokelistener.c:
3177 * cspi/spi_registry.c:
3178 Added filters for KeySets, KeyEventSeq, and event types to key
3179 event dispatching, so listeners should only receive those events
3180 that they requested :-)
3182 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3187 * docs/reference:Makefile.am:
3188 * docs/reference/cspi:
3189 * docs/reference/cspi:Makefile.am:
3190 * docs/reference/cspi:tmpl:
3191 * docs/reference/cspi:tmpl:*.sgml:
3192 * docs/reference/idl:
3193 * docs/reference/idl:Makefile.am:
3194 * docs/reference/idl:at-spi-idl-sections.txt:
3195 * docs/reference/idl:at-spi-idl-docs.sgml:
3196 * docs/reference/idl:tmpl:
3197 * docs/reference/idl:tmpl:*.sgml:
3199 Restructured docs directory to allow separate 'reference' docs
3200 section, and forked idl and cspi docs. Added the sgml template
3201 files to CVS. Added the first sections/structural sgml for the
3204 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
3206 * configure.in, libspi/Makefile.am: find libXtst.
3208 2001-11-21 Michael Meeks <michael@ximian.com>
3210 * test/accessx-gui.c: s/spi_value/value/ - doh.
3212 * libspi/base.[ch]: add.
3214 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3216 * idl/Accessible.idl:
3217 * idl/Application.idl:
3220 Started gtk-doc cleanup on IDL.
3222 * libspi/deviceeventcontroller.c:
3223 Added and connected non-preemptive key notification from the
3224 toolkits (in addition to the pre-emptive support from XServer
3225 which we had before, but which causes 'focus flashing'). Filters
3226 are presently limited to key modifiers and global/non-global,
3227 KeySets are presently ignored, as are KeyEvent masks.
3229 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
3230 structs into the persistant structure rather than just storing
3231 pointers to things that might not persist across servant
3234 The XGrabKey call now does async keygrabs, because synchronous
3235 ones were deadlocking with GDK_event code in a very nasty way.
3237 Added boolean to internal method notify_keylisteners, to indicate
3238 whether the event came from the 'toolkit source' or the 'global
3239 (XServer) source' - this is used in the notification process to
3240 determine which listeners to send the event to.
3242 deviceeventcontroller.c is now warning-free.
3244 * libspi/registry.c:
3245 Fixed regression in application de-registration.
3246 Also fixed some really brain-dead weirdness having to do with
3247 event dispatching - event structs are now duplicated before being
3248 re-marshalled in the dispatch to listeners. This also fixes a
3249 Solaris build problem.
3252 2001-11-20 Michael Meeks <michael@ximian.com>
3255 (impl_accessibility_registry_deregister_global_event_listener):
3258 * libspi/deviceeventcontroller.c
3259 (spi_device_event_controller_check_key_event): return
3260 FALSE on no virtual method.
3262 * libspi/*..h: make includes work on a correctly pathed install.
3264 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
3266 * libspi/application.h: kill unused ( and whacked out )
3267 gboolean *spi_application_set_id (AtkObject *app, long id);
3269 2001-11-20 Michael Meeks <michael@ximian.com>
3271 * libspi/*.[ch]: further convert to bonobo's type func
3272 macros, remove redundnant casts etc.
3274 * libspi/text.c s/accessibility_text/spi_text/g,
3275 re-order to de-cruft.
3277 * libspi/hypertext.c: re-order to kill a huge slew
3278 of redundant forward decls.
3280 * libspi/relation.c: ditto.
3282 * libspi/image.c: ditto.
3284 * */.cvsignore: update
3286 2001-11-20 Michael Meeks <michael@ximian.com>
3288 * libspi/deviceeventcontroller.c
3289 (_controller_register_with_devices): use g_getenv,
3290 kill stdlib.h include.
3292 * libspi/keystrokelistener.c
3293 (spi_keystroke_listener_get_type): kill
3294 (spi_keystroke_listener_class_init),
3295 (spi_keystroke_listener_init): rename to this.
3297 * libspi/text.c (impl_getAttributes): fix warning / bug.
3299 * libspi/*.[ch]: more headers, includes and over commenting.
3301 2001-11-20 Michael Meeks <michael@ximian.com>
3303 * libspi/*.[ch]: fixup headers, includes and over commenting.
3305 * libspi/image.c (impl__get_imageDescription): const
3306 correctness warning fix. remove redundant casting.
3308 * libspi/table.c (impl_getRowDescription): ditto.
3309 (impl_getColumnDescription): ditto.
3311 * libspi/libspi.h: add.
3313 2001-11-19 Michael Meeks <michael@ximian.com>
3315 * libspi/editabletext.c (impl_setAttributes): fix warnings.
3317 * libspi/component.c (accessibility_component_get_type):
3318 rename to (spi_component_get_type): and macroify.
3319 (accessibility_component_init): rename to
3320 (spi_component_init): this
3321 (accessibility_component_class_init): rename to
3322 (spi_component_class_init): this
3324 * libspi/action.c (spi_action_get_type): kill, use the macro.
3326 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
3329 * libspi/application.c (spi_application_object_event_listener),
3330 (impl_accessibility_application_register_object_event_listener):
3331 warning fixes / const understanding updates.
3333 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
3336 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3338 * libspi/spi_accessible.c: Added docs and C bindings for
3339 AccessibleStateSet. (No implementations yet). Documentation
3340 coverage for C bindings now 100%. Made docs for event listeners
3345 boolean notifyListenersSync (in DeviceEventListener listener,
3346 in DeviceEvent event);
3348 oneway void notifyListenersAsync (in DeviceEventListener listener,
3349 in DeviceEvent event);
3351 Added DeviceEventListener and DeviceEvent structs (may deprecate
3352 KeyStroke and KeystrokeListener in favor of this generic
3353 event/listener framework for devices).
3355 * libspi/deviceeventcontroller.c:
3357 Changed some key listener code to take masks, etc., and paved the
3358 way for integration of toolkit/non-preemptive key events. Changed
3359 signatures of some internal methods.
3361 * at-bridge/bridge.c:
3362 Fixed regression connecting to interface signals, apparently
3363 caused by GTK+ changes.
3365 Added an internal bridge_state_listener to deal with
3366 property-change:accessible-state signals.
3368 Changed the key_listeners GList to store structs (including masks,
3369 etc.) instead of just CORBA_Objects (required for full
3370 implementation of key listener API).
3372 Connected the bridge to all currently supported Atk signals.
3373 Events now supported:
3374 object:property-change
3375 object:property-change:accessible-name
3376 object:property-change:accessible-state
3377 object:property-change:accessible-description
3378 object:property-change:accessible-parent
3379 object:property-change:accessible-value
3380 object:property-change:accessible-role
3381 object:property-change:accessible-table-caption
3382 object:property-change:accessible-table-column-description
3383 object:property-change:accessible-table-column-header
3384 object:property-change:accessible-table-row-description
3385 object:property-change:accessible-table-row-header
3386 object:property-change:accessible-table-summary
3387 object:children-changed
3388 object:visible-data-changed
3389 object:selection-changed
3390 object:text-selection-changed
3392 object:text-caret-moved
3394 object:row-reordered
3396 object:column-inserted
3397 object:column-reordered
3398 object:column-deleted
3399 object:model-changed
3401 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3403 * libspi/hyperlink.c,h:
3404 Fixed some broken stuff in hyperlink.
3406 * libspi/relation.h:
3407 * libspi/relation.c:
3408 * cspi/spi_accessible.c:
3409 Initial implementations of AccessibleRelation methods, and docs.
3411 * libspi/accessible.c:
3412 Fixed a bug that caused SEGV if an accessible
3413 object's description is NULL, and a client
3414 requests it. An empty string is now returned.
3416 * cspi/spi_editabletext.c:
3417 * cspi/spi_hypertext.c:
3419 * cspi/spi_hyperlink.c:
3423 Doc coverage now 95%.
3425 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3427 One last namespacing revision:
3428 * libspi/accessibleeventlistener.[ch]:
3429 Renamed SpiAccessibleEventListener to SpiEventListener,
3430 (no need for two namespaces ;-)
3432 And lots of documentation fixes:
3434 * docs/at-spi-docs.sgml:
3435 Fixed 'underscore vs. hyphen' bug that was preventing
3436 the gtk-doc API docs from being automatically generated.
3439 * cspi/spi-listener.h
3441 * cspi/spi_accessible.c
3443 * cspi/spi_application.c
3444 * cspi/spi_component.c
3445 * cspi/spi_editabletext.c
3447 * cspi/spi_hypertext.c
3449 * cspi/spi_registry.c
3450 * cspi/spi_selection.c
3454 * docs/at-spi-docs.sgml
3455 * docs/at-spi-sections.txt
3457 Added and fixed up gtk-doc documentation in cspi.
3459 Interfaces now (fully) documented (subject to revision and enhancement):
3461 Event Listener Support
3463 AccessibleApplication
3467 AccessibleEditableText
3474 AccessibleRelationSet
3479 2001-11-14 Bill Haneman <bill.haneman@sun.com>
3481 * at-bridge/bridge.c:
3482 Initial work for toolkit-level key snooper connection by bridge.
3487 New typedefs and fixes to support new namespacing, and cleaner
3488 separation of cspi bindings from libspi bonobo implementation.
3489 Removed inconsistent and extraneous Spi* namespace prefix that
3490 had crept into cspi headers.
3491 Lots of comment fixes that sed had missed.
3493 * cspi/spi-roletypes.h:
3494 * cspi/spi-statetypes.h:
3495 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
3496 to AccessibleRoleType.
3498 * libspi/accessibleeventlistener.h:
3499 Fixed minor namespacing weirdness.
3501 * libspi/deviceeventcontroller.c:
3502 Reordered some internal API for device listeners.
3503 Changed the key registry final boolean to 'is_system_global'
3504 rather than 'is_synchronous', which is more descriptive of its
3506 Added spi_device_event_controller_new().
3507 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
3509 * libspi/keystrokelistener.[ch]:
3510 Namespaced KeystrokeListener to SpiKeystrokeListener.
3511 Changed uses of keymasks to use SPI_ prefix, and did other
3514 * libspi/keymasks.h:
3515 Namespaced keymask constants with SPI_ prefix.
3517 * libspi/registry.c:
3518 Some warning fixes, and knock-on fixes from namespace changes.
3521 Added rules for accessx-gui test program.
3523 * test/accessx-gui.c:
3524 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
3525 utility. It doesn't actually use at-spi, but it's still cool and
3528 * test/keysynth-demo.c:
3532 Fixes so that these test clients work properly with the namespaced
3533 libraries. (Incompletely tested for technical reasons, fixes may follow)
3536 2001-11-13 Michael Meeks <michael@ximian.com>
3538 * libspi/application.c
3539 (impl_accessibility_application_get_version),
3540 (impl_accessibility_application_get_toolkit_name):
3542 (impl_accessibility_application_set_id),
3543 (impl_accessibility_application_get_id): remove
3544 redundant casting code.
3546 * libspi/action.c (impl_getDescription): fix warnings.
3548 * libspi/accessible.c
3549 (impl_accessibility_accessible_get_parent),
3550 (impl_accessibility_accessible_get_child_at_index),
3551 (impl_accessibility_accessible_get_state),
3552 (impl_accessibility_accessible_get_relation_set):
3553 warning fixes & include action.h
3555 2001-11-13 Michael Meeks <michael@ximian.com>
3557 * *.[ch] fix bits I screwed up:
3559 s/([^ \tb(\*\&\?\",])spi_/\1/g;
3560 s/([^ \tb(\*\&\?\",])Spi/\1/g;
3562 2001-11-13 Michael Meeks <michael@ximian.com>
3564 * *.[ch] Namespace libspi into spi_ and Spi.
3566 2001-13-11 Michael Meeks <michael@ximian.com>
3568 * Makefile.am: dist & install at-spi-1.0.pc
3570 * libspi/Makefile.am: install into at-spi-1.0
3572 * idl/Makefile.am (idldir): install into at-spi-1.0
3574 * at-spi-1.0.pc.in: add.
3576 * configure.in: build it.
3578 2001-11-12 Bill Haneman <bill.haneman@sun.com>
3580 * test/keysynth-demo.c:
3581 Use a 'realize' signal-handler to set the WM properties for
3582 the virtual keyboard, rather than making it a "POPUP" type
3583 override-redirect window (thanks to anders carlsson for that
3586 2001-11-11 Bill Haneman <bill.haneman@sun.com>
3589 * test/keysynth-demo.c:
3590 Added new test of key synthesis, which creates a simple
3591 (mouse-operated) onscreen keyboard. It inserts key events into
3592 the currently-focused window, thus it does not grab keyboard focus
3595 * cspi/spi_registry.c:
3596 Added C binding for AT-SPI generateKeyEvent.
3598 * libspi/deviceeventcontroller.c:
3599 Added call to XFilterEvent so that key listener works with XIM (we
3600 hope). Added event_synth_type to generateKeyEvent, so that we can
3601 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
3602 synthesize a press/release pair for KeySyms.
3604 2001-11-09 Bill Haneman <bill.haneman@sun.com>
3606 * libspi/Makefile.am:
3607 * registryd/Makefile.am:
3608 (temporary) hack to include libXtst in libspi and registryd.
3609 (Needed for keystroke synthesis, see below).
3612 Improved API for registerKeystrokeListener, in accordance with
3613 discussions with Gnopernicus team and X server research.
3615 * libspi/registry.c:
3616 * libspi/deviceeventcontroller.c:
3617 * libspi/accessible.c:
3618 * libspi/keystrokelistener.c:
3619 Changes and fixes to support keylisteners for potentially
3620 consumed key events (that is, 'passive grabs').
3621 Added implementation for generateKeyEvent() [untested].
3624 Changes to registerKeystrokeListener() API, as above.
3625 Added deregisterGlobalEventListenerAll(), and
3626 deregisterKeystrokeListener(), which are needed for clean exit of
3628 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
3629 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
3631 * cspi/spi_registry.c:
3632 Added implementations of function prototypes mentioned above.
3634 * registryd/registryd.c:
3635 Added the key listener event source as a g_timeout(), to allow
3636 receipt of key events that are not caught by GDK (since GDK
3637 doesn't support passive keygrabs, this was necessary).
3640 Changed to attach a keylistener to 'Alt' keys, and
3641 respond to the following keycommands: Alt-M (toggle magnifier);
3642 Alt-F (toggle speech); Alt-Q (quit).
3643 Added an exit routine to deregister the listeners, and a key
3644 listener that prints some key info to the console when a key
3645 matches the listener mask (and is thus received by the listener).
3647 * util/idl/Magnifier.idl:
3648 Changes to magnifier API to support multiple zoom regions,
3649 non-uniform scaling in x and y, markDirty, and a host of other
3650 features that would be useful to magnification.
3653 * util/mag_client.c:
3654 * util/mag_client.h:
3655 * util/mag_control.c:
3657 Source code changes to support the above IDL changes.
3660 As above, and also changes to use a (slower) generic conversion
3661 path for colormap conversions, since the fast RGB conversions have been
3662 reported to fail for 16-bit displays.
3664 2001-10-26 Michael Meeks <michael@ximian.com>
3666 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
3668 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
3670 * at-bridge/Makefile.am: fix LDFLAGS.
3672 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3674 * at-bridge/bridge.c:
3675 Re-worked listeners for toolkit events, now we have signal
3676 and property listeners. Added a private method
3677 register_atk_event_listeners(), which registers with the
3678 various atk and gtk signals we need to monitor in order to emit
3680 Added emission hook for AtkObject:property-change events, to
3681 support the 'property listeners'.
3682 Fixed some alloc()s of Accessibility_Event structs to use CORBA
3685 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
3686 which emit warnings and exit, respectively, if CORBA errors occur
3687 during remote calls, and we now use these methods to check most of
3688 our CORBA calls in the C bindings.
3690 * cspi/spi_accessible.c:
3691 Changed AccessibleSelection_refSelectedChild() to
3692 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
3693 now increment refcounts.
3695 * cspi/spi_component.c:
3696 Fixed some long pointer casts (dangerous!) to pass pointers to
3697 CORBA_longs of the proper type to the CORBA stubs, and copy the
3698 data into the longs that were passed into the C bindings code.
3700 * at-bridge/bridge.c:
3702 * libspi/accessible.c:
3703 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
3704 hyperlinks, AtkHyperlink is an object type.
3706 * libspi/application.c:
3707 Added various conversions to and from "generic" event types and
3708 atk-specific types; this is really part of the 'bridge'
3709 implementation but is valid for all AtkObject-based accessibility
3712 * libspi/editabletext.c:
3713 Fixed nasty bug wherein editable text's finalize method was
3714 unref'ing tha AtkObject reference that the text parent class was
3715 about to unref _again_. There was also a nasty inheritance bug
3716 that meant that the AccessibleEditableText class was corrupt.
3718 * libspi/selection.c:
3719 Provided implementations for some selection API that was broken.
3721 * idl/Application.idl:
3722 Added registerObjectEventListener () method.
3725 Fixed a number of return values that were Bonobo_Unknowns from
3726 bonobo_object_corba_objref(), which I
3727 forgot to dup before returning. Changed instances of
3728 bonobo_object_corba_objref (bonobo_object(o)) to
3729 BONOBO_OBJREF(o), for concision and clarity.
3731 2001-10-13 Louise Miller <louise.miller@sun.com>
3733 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
3734 idl/Event.idl, idl/Registry.idl
3735 Changed these files to include Bonobo_Unknown.idl instead
3738 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
3740 * libspi/component.c libspi/component.h:
3741 Fixed typo. Added assertions for object checks in
3742 AccessibleComponent code.
3744 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3746 * idl/Accessible.idl:
3747 Added 'isEqual (Accessible *object)'
3748 method for Accessible. (Not Yet Implemented).
3751 Changed signature of registerKeystrokeListener() to
3752 take a KeySet and KeyEventSeq so that specific keys and event
3753 types could be requested for monitoring, and added a flag
3754 is_synchronous so that either synchronous or asynchronous
3755 notification could be requested. (However this is not all
3756 implemented yet). This also meant adding two new typedefs,
3757 KeyEventSeq and KeySet.
3760 Added two new relations, RELATION_TOOLTIP_FOR and
3761 RELATION_LEAFNODE_OF.
3764 Added new state, STATE_HAS_TOOLTIP.
3766 * libspi/text.c, editabletext.c:
3767 Added new assertions to all casts of bonobo-objects from
3768 CORBA servants, to prevent Text API calls on non-text objects.
3769 Changed suspect casts of int-pointer types, so that we
3770 always send a valid CORBA_long pointer to the CORBA APIs that use
3771 in/out long parameters. We then have to copy from the CORBA_long
3772 into the regular long or int for return to the C bindings, or
3773 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
3776 * libspi/deviceeventcontroller.c:
3777 Cleaned these sources up.
3779 Changed return type for getCharacterAtOffset to
3780 CORBA_unsigned_long, to allow for 32-bit characters.
3783 2001-10-08 Bill Haneman <bill.haneman@sun.com>
3787 Fixed 'make dist' so that distro compiles...
3788 * libspi/keymasks.h:
3790 * cspi/spi-listener.c:
3791 KeystrokeListenerCB now returns a boolean.
3793 Added KeyEventType struct, and KeyStroke.
3794 Also added createKeystrokeListener(),
3795 KeystrokeListener_addCallback(),
3796 KeystrokeListener_removeCallback(), and added a keymask to
3797 registerKeystrokeListener().
3798 * cspi/spi_accessible.c:
3799 Changed numerous return types for interfaces from
3800 AccessibleComponent to Accessible<InterfaceName>; this was
3801 probably a cut-and-paste error.
3803 Implementations of new KeystrokeListener api (from spi.h,
3806 Changes to key modifier mapping.
3807 Created ControllerEventMask struct.
3808 Made DeviceEventController derive from Bonobo::Unknown.
3810 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3811 * libspi/deviceeventcontroller.c:
3812 Added a number of new internal (private) methods.
3813 * libspi/editabletext.c:
3814 * libspi/editabletext.h:
3815 Fixed a number of bugs related to the fact that
3816 editabletext inherits from text. Fixed the EditableText struct,
3817 the init() call, and use correct casts when calling Text methods
3818 from an EditableText object. Removed (duplicate) atko from the
3819 EditableText structure, we use the one in the parent Text
3820 structure via the casts mentioned above.
3821 * libspi/keystrokelistener.[ch]:
3822 * libspi/registry.c:
3823 Changes in support of keyboard handling (above).
3825 Keyboard handling, though partly functional, is still not
3826 recommended for at-spi client use as there is considerable
3827 work yet to be done.
3830 Changed some places where pointers to various int types
3831 are cast to be pointers to CORBA_long types and vice-versa:
3832 pointer casting is not safe so we pass pointers of the correct
3833 types and then cast the result before putting it into the target
3836 * libspi/text.h: minor typos corrected.
3838 We now speak not only the name of a Text element, but the
3839 first sentence of its content, when it receives focus.
3840 I also changed the text compression to 75% from 50%.
3841 * util/Accessibility_Util.server.in:
3842 Changed the default magnifier type to be a 3x vertical
3843 splitscreen magnifier (was previously a 2x horizontal one).
3845 2001-10-03 Bill Haneman <bill.haneman@sun.com>
3847 * libspi/keystrokelistener.h:
3848 * libspi/keystrokelistener.c:
3849 Initial functional implementations of KeystrokeListener.
3852 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3854 Fixed string handling for NULL strings in libspi.
3855 Added spi_freeString to free strings returned by C bindings.
3857 2001-09-30 Bill Haneman <bill.haneman@sun.com>
3859 * libspi/keystrokelistener.h:
3860 * libspi/keystrokelistener.c:
3861 Began (no-op) implementations of KeystrokeListener
3863 * libspi/deviceeventcontroller.c:
3864 * libspi/deviceeventcontroller.h:
3865 Began creating implementations of DeviceEventController,
3866 to handle keystroke and mouse event listening and
3868 * libspi/accessible.c:
3869 Stubbed-in the implementations for
3870 Accessibility_Accessible_getState and
3871 Accessibility_Accessible_getRelationSet.
3872 * libspi/registry.c:
3873 Improved de-registration process and fixed some bugs,
3874 deregistration now works correctly.
3876 Added initialization of applications list (to NULL).
3878 Reduced speech compression from 0.5 to 0.7, for demo.
3879 Changed call to gdk_window_set_decorations()
3880 to gtk_window_set_decorated().
3881 * at-bridge/bridge.c:
3882 Bridge now deregisters when app exits, via
3883 registration of a cleanup function
3884 with the g_atexit() call.
3885 Required making 'app' static, renamed 'this_app'.
3886 Fixed broken use of bonobo_init, passing argv wrongly.
3888 2001-09-27 Bill Haneman <bill.haneman@sun.com>
3892 Created a new directory for
3893 accessibility-related utilities, primarily for
3894 testing and demo purposes, but with possible
3901 Onscreen magnifier utility that
3902 is implemented as a bonobo service.
3904 * util/mag_client.c:
3905 * util/mag_client.h:
3906 Client-side support (simple C bindings)
3907 for Magnification service
3909 * util/mag_control.c:
3910 Client program example for
3911 Magnification service
3913 * util/Accessibility_Magnifier.server.in:
3914 Bonobo-activation file for the
3915 Magnification service.
3918 * util/idl/Magnifier.idl:
3919 IDL defining the bonobo Magnification
3923 Modifications to use the bonobo-activated magnifier
3924 above, in place of trying to connect to an existing
3925 magnifier that uses socket-listening IPC.
3927 If env variable MAGNIFIER is set, a magnifier service
3928 will be started if one does not exist.
3930 2001-09-25 Bill Haneman <bill.haneman@sun.com>
3932 * at-bridge/bridge.c:
3933 applied patch from Marc to build and run
3934 against new glib and gtk+ (seemed like a change
3935 to bonobo_init signature was made ?)
3937 made festival-server support turned off by default.
3938 Added support for a simple magnifier (off by default)
3939 which will be added to a 'util' directory later.
3940 * at-bridge/Makefile.am:
3941 Changed "application.h" header from a 'source'
3942 to a 'dependency' of libat-bridge.
3944 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3953 Added interface implementation c files to list of
3954 includes so they are included in libcspi.
3957 Changed prototype of AccessibleAction_doAction to return a
3959 Changed prototype of AccessibleTable_getCaption to
3960 return an Accessible.
3961 Changed prototype of AccessibleTable_getSelectedRows
3962 and AccessibleTable_getSelectedColumns to
3963 return a long (returns the number of selected rows
3964 or columns respectively).
3965 Changed name of AccessibleText_refRunAttributes to
3966 AccessibleText_getAttributes.
3967 Changed prototype of AccessibleText_getCharacterExtents to
3968 return a void rather than a boolean.
3969 Added support for a AccessibleCoordType parameter
3970 specifying what type of coordinates are desired.
3971 Added an AccessibleCordType parameter to
3972 AccessibleText_getPointAtOffset.
3974 * cspi/spi_accessible.c:
3975 Added code to return the outstanding interfaces from
3976 Accessible_queryInterface.
3978 * cspi/spi_action.c:
3980 Corrected call to getNActions to call the c binding
3983 * cspi/spi_editabletext.c:
3985 Changed name from setRunAttributes to setAttributes.
3987 * cspi/spi_hyperlink.c:
3989 Changed call to getNAnchors to correctly call the c
3990 binding for an attribute.
3992 * cspi/spi_hypertext.c:
3994 Changed getImageDescription to correctly call the
3995 binding for an attribute.
3997 * cspi/spi_selection.c:
3998 Changed getNSelectedChildren to correctly call the c
3999 binding for the attribute.
4000 Changed refSelectedChild to getSelectedChild.
4004 Changed getCaption to return an Accessible.
4005 Fixed calls which retrieve attributes.
4006 Changed refAt to getAccessibleAt.
4007 Changed getNSelectedRows and getNSelectedColumns to
4011 Changed getCharacterExtents and getPointAtOffset to accept an
4012 AccessibleCoordType.
4014 Changed calls which retrieve attributes.
4015 Changed refRunAttributes to getAttributes.
4020 * idl/Hyperlink.idl:
4021 Changed n_anchors attribute to nAnchors to keep naming
4022 convention consistent.
4025 Made Table inherit from Bonobo::Unknown.
4026 Added nSelectedColumns and nSelectedRows attributes.
4029 Made Value inherit from Bonobo::Unknown.
4031 * libspi/hyperlink.c:
4032 Change for nAnchors attributte name change.
4034 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4042 Added interface implementation c files to list of
4043 includes so they are included in libcspi.
4046 Changed prototype of AccessibleAction_doAction to return a
4048 Changed prototype of AccessibleTable_getCaption to
4049 return an Accessible.
4050 Changed prototype of AccessibleTable_getSelectedRows
4051 and AccessibleTable_getSelectedColumns to
4052 return a long (returns the number of selected rows
4053 or columns respectively).
4054 Changed name of AccessibleText_refRunAttributes to
4055 AccessibleText_getAttributes.
4056 Changed prototype of AccessibleText_getCharacterExtents to
4057 return a void rather than a boolean.
4058 Added support for a AccessibleCoordType parameter
4059 specifying what type of coordinates are desired.
4060 Added an AccessibleCordType parameter to
4061 AccessibleText_getPointAtOffset.
4063 * cspi/spi_accessible.c:
4064 Added code to return the outstanding interfaces from
4065 Accessible_queryInterface.
4067 * cspi/spi_action.c:
4069 Corrected call to getNActions to call the c binding
4072 * cspi/spi_editabletext.c:
4074 Changed name from setRunAttributes to setAttributes.
4076 * cspi/spi_hyperlink.c:
4078 Changed call to getNAnchors to correctly call the c
4079 binding for an attribute.
4081 * cspi/spi_hypertext.c:
4083 Changed getImageDescription to correctly call the
4084 binding for an attribute.
4086 * cspi/spi_selection.c:
4087 Changed getNSelectedChildren to correctly call the c
4088 binding for the attribute.
4089 Changed refSelectedChild to getSelectedChild.
4093 Changed getCaption to return an Accessible.
4094 Fixed calls which retrieve attributes.
4095 Changed refAt to getAccessibleAt.
4096 Changed getNSelectedRows and getNSelectedColumns to
4100 Changed getCharacterExtents and getPointAtOffset to accept an
4101 AccessibleCoordType.
4103 Changed calls which retrieve attributes.
4104 Changed refRunAttributes to getAttributes.
4109 * idl/Hyperlink.idl:
4110 Changed n_anchors attribute to nAnchors to keep naming
4111 convention consistent.
4114 Made Table inherit from Bonobo::Unknown.
4115 Added nSelectedColumns and nSelectedRows attributes.
4118 Made Value inherit from Bonobo::Unknown.
4120 * libspi/hyperlink.c:
4121 Change for nAnchors attributte name change.
4124 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
4126 implementations-- made server implementations own AtkObject pointers
4127 rather than their respective AtkInterrface pointers to fix
4128 refcounting. AtkHyperlink is still broken.
4130 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4131 * cspi/spi_accessible.c:
4132 Added method Accessible_Role_getName(),
4133 and requisite string array (role_names).
4134 Added conversion string_from_corba_strin() call
4135 to Accessible_getName and _getDescription.
4136 * libspi/accessible.c:
4137 Added implementation for Accessible_getRole()
4139 Added festival support, used if environment variable
4142 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4144 * at-bridge/bridge.c:
4145 Now allocate Accessibility_Event using
4146 Accessibility_Event__alloc() instead of g_new0().
4147 * libspi/accessibleeventlistener.c:
4148 Initialize AccessibleEventListener->callbacks to NULL.
4149 Fixed accessible__event_listener_init() param, changed to
4150 "AccessibleEventListener *" type.
4151 Changed a bonobo_object_release_unref() call to
4152 Accessibility_Accessible_unref().
4153 * libspi/listener.c:
4154 Changed Bonobo_Unknown_unref to (equivalent)
4155 Accessibility_Accessible_unref.
4156 * libspi/registry.c:
4157 Changed bonobo_object_release_unref to
4158 Accessibility_Accessible_unref.
4160 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4163 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
4164 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
4165 spi-util.c spi-util.h
4166 Implementations for C bindings to remaining accessibility
4169 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4172 changed return value of Action from void to boolean to
4173 bring in line with ATK.
4176 Changed getText funcions to return "out" start and end offsets.
4177 Changed getAttributes to take and offset and return the start
4178 and end offset of the attribute run.
4179 Changed getOffsetAtPoint and getCharacterExtents to take an
4180 enum describing whether coordinates are window or screen.
4183 libspi/action.c libspi/action.h libspi/editabletext.c
4184 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
4185 libspi/hypertext.c libspi/hypertext.h libspi/image.c
4186 libspi/image.h libspi/selection.c libspi/selection.h
4187 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
4188 libspi/value.c libspi/value.h
4189 Added server implementations for outstanding ATK interfaces
4190 not yet implemented.
4192 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4195 Added (missing) getName() method.
4196 Made nActions an attribute.
4197 * idl/EditableText.idl:
4198 Changed order of params in setAttributes.
4199 * idl/Hyperlink.idl:
4200 Removed getAnchor, added getURI.
4202 Changed attributes to methods, for efficiency
4203 (so that getting extents can be done in one call)
4204 * idl/Selection.idl:
4205 Changed nSelectedChildren to attribute, and re-indented.
4206 * idl/Table.idl: changed nrows, ncolumns, caption, summary
4208 * idl/Text.idl: reformatted to match our coding style.
4209 (temporarily?) removed getRowColumnAtOffset().
4210 Changed text selection API to support multi-select and
4211 non-contiguous selections, as in ATK.
4212 * idl/Value.idl: changed some methods to attributes.
4214 2001-08-24 Mark McLoughlin <mark@skynet.ie>
4216 * libspi/listener.c(impl_notify_event):
4217 BonoboUnkown_unref the source instead
4218 of bonobo_object_release_unref - the ORB
4219 handles the releasing.
4221 * configure.in: require ORBit-2.3.94 for
4224 2001-08-21 Bill Haneman <bill.haneman@sun.com>
4226 Tagged CVS repository 'EA_1_0'.
4227 * README.EARLY_ACCESS:
4228 Alphabetized acknowledgements list, and
4230 Listed some known dependencies of at-spi.
4232 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4234 * docs/at-spi-docs.sgml:
4235 * docs/at-spi-sections.txt:
4236 * docs/at-spi-overrides.txt: (Added zero-length file)
4237 Documentation improvements - gtk-doc should build
4238 docs for all implemented C bindings now.
4241 * cspi/spi.c: (New file)
4242 * cspi/spi_event.c: (New file)
4243 * cspi/spi_registry.c: (New file)
4244 * cspi/spi_accessible.c: (New file)
4245 * cspi/spi_application.c: (New file)
4246 * cspi/spi_component.c: (New file)
4247 Split spi_main.c into six parts, and included them from
4248 "spi.c". This is a bit of a hack, probably temporary,
4249 but required by gtk-doc, apparently.
4251 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4254 * docs/at-spi-docs.sgml:
4255 * docs/at-spi-sections.txt:
4257 Initial checkins/modifications for gtk-doc generation.
4260 Added (missing) interface query methods to Accessible's C binding.
4262 Added GenericInterface type definition.
4264 Added query for AccessibleComponent interface to focus event handler.
4265 Added printout of bounding box for focussed component.
4266 * libspi/component.c:
4267 Added partial implementation for AccessibleComponent to C binding.
4268 * idl/Application.idl:
4269 * libspi/registry.c:
4270 * libspi/listener.c:
4271 * libspi/application.c:
4272 * libspi/application.h:
4273 Changed "ID" attribute type from string to long.
4275 2001-08-19 Bill Haneman <bill.haneman@sun.com>
4279 Made method naming consistent: methods taking object args
4280 start with uppercase, other methods (except those using
4281 acronyms) start with lowercase. Underscores delimit between
4282 object names and method names:
4283 SPI_init() - uppercase since it starts with an acronym.
4284 getDesktopCount () - lowercase start since no object param0.
4285 Accessible_getName() - uppercase object type name, studlyCaps method
4289 Added gtk-doc documentation for all currently implemented
4290 methods in the C bindings API.
4292 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4294 * Makefile.am : changed build order to build test last.
4297 Changed "createEventListener" to "CreateEventListener".
4298 * libspi/accessibleeventlistener.c :
4299 Bugfix for addition of callbacks.
4300 * test/Makefile.am :
4301 * test/simple-at.c :
4302 Added new test that uses the C bindings API.
4304 * libspi/listener.c :
4305 * libspi/registry.c :
4306 * libspi/accessibleeventlistener.c :
4307 * at-bridge/bridge.c :
4308 Renamed member "target" of Accessibility_Event to "source",
4309 which is more descriptive.
4312 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4316 * cspi/Makefile.am :
4317 Added makefile support for at-spi/cspi directory.
4320 * cspi/spi-listener.h : (NEW FILE)
4321 Added support for/use of spi-listener.h.
4323 C bindings now build successfully, with no warnings.
4324 * libspi/accessibleeventlistener.h : (NEW FILE)
4325 * libspi/accessibleeventlistener.c : (NEW FILE)
4326 * libspi/Makefile.am :
4327 Added new object type "AccessibleEventListener"
4328 which inherits from Listener, and allows attachment
4329 of in-process callbacks (so that a client with a listening
4330 object instance can add functionality to the local
4331 implementation, dynamically).
4333 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4335 * libspi/accessible.c:
4336 Add implementation for get_index_in_parent().
4338 Added #include of "spi-roletypes.h", and
4339 added enumerated type AccessibleCoordType.
4340 Added definition for KeystrokeListener (function type).
4343 * cspi/spi-statetypes.h :
4344 * cspi/spi-roletypes.h :
4346 Added these headers, used by spi.h.
4348 Added code (NOTE: not yet built by make).
4350 2001-08-18 Mark McLoughlin <mark@skynet.ie>
4352 * libspi/Makefile.am: generate imodule
4353 at the same time as other idl compiler
4356 2001-08-17 Bill Haneman <bill.haneman@sun.com>
4357 * libspi/registry.c :
4358 * libspi/application.c :
4359 * idl/Application.idl :
4360 Made registration with toolkit an application method,
4361 which is required since each app has its own toolkit static
4362 environment. Thus the bridge must register for
4363 notification of toolkit events from each application in turn.
4364 Toolkit notifications are now successfully registered for, and
4365 sent to the listening at client.
4367 Changed toolkit event string to use hyphens rather than underscores.
4368 * libspi/listener.c :
4369 listner now gives more info in debug mode - it reports the
4370 name of the event received, as well as the name of the source.
4373 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4375 * libspi/registry.c :
4376 added more implementation for toolkit events.
4377 Fixed bug such that toolkit event registrations
4378 (via atk) use the whole event name string, not
4380 Removed a useless call to an ORBit_ method.
4381 * at-bridge/bridge.c :
4382 Removed unused local sbuf[] variable.
4384 We now register for Gtk:GtkWidget:button_press_event
4385 events as well as "focus:" events.
4387 Add some more API from Registry.idl that was missing,
4388 for keystroke listening, keystroke and mouse event
4389 synthesis, and enumeration of accessible desktops.
4391 2001-08-16 Michael Meeks <michael@ximian.com>
4393 * configure.in: use AM_GLIB_GNU_GETTEXT.
4395 * Makefile.am (SUBDIRS): kill intl.
4397 2001-08-15 Michael Meeks <michael@ximian.com>
4399 * registryd/Makefile.am: s/oaf/server/ relocate info file.
4401 * configure.in: upd.
4403 * configure.in: depend on a recent bonobo-activation that
4404 will find our server files ...
4406 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4408 * libspi/accessible.c : accessible_new() :
4409 Now we add the Component interface via bonobo_object_add_interface,
4410 if the contained AtkObject implements AtkComponent.
4411 * libspi/accessible.h : now include "component.h"
4412 * libspi/component.h :
4413 * libspi/component.c : added files - implementation of
4414 bonobo wrapper object for Accessibility/Component
4415 * libspi/listener.c :
4416 Added test code to check for Accessibility/Component:1.0
4417 interface and report whether it is implemented by the
4419 * libspi/registry.c :
4420 Now we check for not only the hash of the whole event
4421 string before relaying the event, we also check the
4422 "minor" event string (without the detail string).
4423 This allows event listeners to be registered against
4424 all events of a certain major+minor type, or just
4425 against a specific major+minor+detail type.
4426 * libspi/accessible.c :
4427 Added implementations for Accessible:get_parent(),
4428 Accessible:getChildCount(), and Accessible:getChildAtIndex().
4429 * libspi/registry.c :
4430 * libspi/listener.c :
4431 Replaced calls to Accessibility_Accessible_ref() and
4432 Accessibility_Accessible_unref() with
4433 calls to bonobo_object_dup_ref() and
4434 bonobo_object_release_unref(), so that the CORBA object
4435 is dup-ed and released when relayed, as well as the bonobo object.
4437 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4439 * libspi/Makefile.am,
4440 registryd/Makefile.am,
4441 at-bridge/Makefile.am.
4442 test/Makefile.am, configure.in:
4443 reverse previous changes.
4445 * /idl/Image.idl: fix typo.
4447 * test/Makefile.am: put DEBUG_FLAGS
4450 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4452 * test/app.c: use argv[0] instead of
4455 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4457 * libspi/Makefile.am,
4458 registryd/Makefile.am,
4459 at-bridge/Makefile.am.
4460 test/Makefile.am, configure.in:
4461 cleanup, replace individual LIBS/CFLAGS with
4462 AT_COMMON_{LIBS|CFLAGS}.
4466 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4468 * configure.in, libspi/Makefile.am:
4469 Change IDL path checking for bonobo-activation
4472 2001-08-15 Bill Haneman <bill.haneman@sun.com>
4474 * registryd/registry.c : separated event listeners to use
4475 3 separate lists (focus, window, toolkit). Began testing
4476 event names against hashes before relaying events.
4477 * test/at.c : now register for events of type "focus:"
4478 * test/app.c : now generate events of type "focus:"
4479 * at-bridge/bridge.c : register with ATK for focus events,
4480 and we now relay those focus events to any "focus:" listeners.
4481 This now works with the bridge as a GTK_MODULE when running test/at.
4482 * libspi/registry.c :
4483 * libspi/listener.c :
4484 now we ref event sources before propagating, and unref on receipt.
4485 * libspi/registry.c :
4486 some changes to internal structs, to support event typestring hashes.
4487 * text/app.c : changed the way the appname is generated.
4488 * cspi : added directory that will hold the C bindings library for
4489 non-CORBA/bonobo-savvy clients.
4490 * cspi/spi.h : header file that contains the function prototypes for the C binding.
4491 * idl/Component.idl : added in parameter to indicate coord system for
4492 geometry-related calls.
4493 * idl/Hyperlink.idl : added readonly n_links attribute
4494 * idl/Image.idl : changed methods to attributes.
4496 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4498 * at-bridge/Makefile.am: link against
4499 ../libspi/libspi.la instead of -lspi.
4501 * at-spi/test/app.c: include
4502 bonobo-activation.h. Use a default appname
4503 if one is not provided.
4505 2001-08-14 Bill Haneman <bill.haneman@sun.com>
4507 * idl/Registry.idl : temporarily changed register_Application
4508 to oneway, to work around issue with initial registration
4510 * idl/Application.idl : changed attribute "id" from readonly
4511 to read-write, since it needs to be assigned by Registry.
4512 * registryd/registryd.c : added call to set application id
4514 * registryd/registry.c : changed de-registration procedure to
4515 use CORBA_Object_hash() to find matching object ref in application
4516 lists and listener lists.
4517 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
4518 began distinguishing between event types (work in progress).
4520 2001-08-13 Bill Haneman <bill.haneman@sun.com>
4523 * libspi/application.c:
4524 Added implementations for get/set id, get_toolkitName,
4526 * registryd/registryd.c :
4530 Converted from use of OAF to bonobo-activation.
4531 * libspi/desktop.h :
4532 * libspi/desktop.c :
4534 Removed references to atksimpleobject, since base atkobject
4535 implementation now provides functionality we need.
4536 * libspi/atksimpleobject.c :
4537 * libspi/atksimpleobject.h :
4542 * at-bridge/Makefile.am
4543 * at-bridge/bridge.c
4546 Added directory "bridge" and contents, and added dependencies
4547 in Makefile.am/configure.in.
4548 Initial checkin of "at-bridge".
4549 This code is a GTK_MODULE which automatically registers
4550 GTK+ apps with the accessibility registry, using an object
4551 reference to the root ATK object.
4553 2001-08-10 Mark McLoughlin <mark@skynet.ie>
4555 * po/Makefile.in.in: Remove. Again. If this
4556 doesn't get autogenerated - you need to update
4559 2001-08-07 Mark McLoughlin <mark@skynet.ie>
4561 * po/Makefile.in.in: Add. Again.
4563 2001-07-31 Bill Haneman <bill.haneman@sun.com>
4565 * libspi/accessible.c : added support for 'description' property.
4566 * libspi/accessible.c
4568 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
4569 (since the two are now equivalent in libbonobo)
4577 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
4578 Bonobo::Unknown as does Accessibility::Accessible.
4579 * idl/StreamableContent.idl : as above, and replaced internal InputStream
4580 interface with Bonobo::Stream, since it was redundant with it.
4581 (The Stream returned by a StreamableContext object is expected to
4582 implement only a subset of Bonobo::Stream)
4584 2001-07-28 Anders Carlsson <andersca@gnome.org>
4586 * libspi/accessible.c (accessible_object_finalize): Change
4587 g_free to g_object_unref since the AtkObject is a GObject.
4589 2001-07-30 Bill Haneman <bill.haneman@sun.com>
4591 * idl/Accessibility.idl: add new IDL files
4594 * idl/Action.idl: Definitions of actionable UI object
4595 * idl/Component.idl: Definitions of UI component geometry, etc.
4596 * idl/Hyperlink.idl: Defs of hyperlink behavior
4597 * idl/Image.idl: Def of accessible image
4598 * idl/Selection.idl: Definition of UI object with selectable children
4599 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
4600 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
4601 * idl/Text.idl: Interface defs for UI elements with complex textual content
4602 * idl/Value.idl: Definition of UI element that is a value controller or display
4604 2001-07-27 Michael Meeks <michael@ximian.com>
4606 * po/Makefile.in.in: remove autogenerated file from CVS.
4608 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
4611 * idl/Registry.idl: include guard.
4613 * idl/Accessibility.idl: Add, and include all the other IDL
4616 * idl/*.idl: remove mass of pragmas etc.
4618 2001-07-26 Michael Meeks <michael@ximian.com>
4620 * registryd/Makefile.am (registryd_SOURCES): remove
4623 2001-07-27 Mark McLoughlin <mark@skynet.ie>
4625 * libspi/.cvsignore, registryd/.cvsignore,
4626 test/.cvsignore: updated.
4628 * po/Makefile.in.in: gettext update.
4630 2001-07-25 Bill Haneman <bill.haneman@sun.com>
4632 * initial CVS checkin
4634 2001-06-29 Michael Meeks <michael@ximian.com>
4636 * configure.in: add AM_CONFIG_HEADER to gen config.h