1 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3 * registryd/deviceeventcontroller.c: fix for 84261
5 Added test of mouse button mask, so that we can detect mouse
6 button release. Unfortunately we can't otherwise detect mouse
7 button release events without consuming the mouse press event,
8 because of the way XGrabButton works. This means that our mouse
9 release events have a latency dependent on the polling period
10 while the mouse button is down. At least in this case we only
11 have to poll while the button is down, and not at other times.
12 If the button masks don't match with what the last press event
13 reported, we report the appropriate button release event.
14 (spi_dec_ungrab_mouse):
15 New method (not yet called).
16 (spi_device_event_controller_forward_mouse_event):
17 New method, sends mouse press event from GdkFilter.
18 (spi_dec_init_mouse_listener):
19 Added code to call XGrabButton, redirecting mouse button events to
20 the root window and our Gdk event loop.
22 Added code to filter mouse button events, and reordered.
24 * test/event-listener-test.c:
26 Added registration for mouse events of type "mouse:button".
28 2002-06-25 Bill Haneman <bill.haneman@sun.com>
30 * registryd/deviceeventcontroller.c: partial fix for 84261
31 (spi_dec_poll_mouse_idle):
32 New method, a timeout which checks to see if the mouse
34 (spi_dec_poll_mouse_moving):
35 A timeout to be called when mouse motion is underway.
36 (spi_dec_poll_mouse_moved):
37 A method which fires an event if the mouse has moved, and reports
38 whether or not it did so.
39 (spi_dec_init_mouse_listener):
40 A method which sets up the timeouts above.
41 (spi_device_event_controller_new):
42 Now calls spi_dec_init_mouse_listener.
44 * registryd/registry.c:
46 Now we initialize the device event controller when the registry is
47 initialized, instead of waiting until a client has requested a key
48 event notification; this is because we need the event controller
49 for mouse events, but the mouse event registration API is a
50 "registry" call and doesn't explicitly call the
51 deviceeventcontroller.
52 We now report mouse motion events with a 100 ms idle latency and
53 a 20 ms granularity when motion is in progress.
55 * test/event-listener-test.c:
57 We now register the "detail listener" for events of type
58 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
59 delivered only for the first mouse event received, and thereafter
60 "mouse:abs" events are delivered.)
62 * cspi/spi_registry.c:
63 DOCS: Documented the above mouse event typestrings.
65 2002-06-21 Bill Haneman <bill.haneman@sun.com>
67 Happy Summer Solstice...
69 * registryd/deviceeventcontroller.c: [fix for bug 84100]
70 (spi_controller_notify_keylisteners):
71 Changes to remove a listener from the listener list, freeing its
72 open keygrabs, if a notification to that listener fails. This
73 means that although a dead listener can continue to hold a passive
74 keygrab, a maximum of one dispatch to such a listener can fail
75 before the listener is removed from the list, thus the keygrab
76 will be released on the next occurrence.
78 (spi_notify_keylisteners):
79 Renamed to spi_controller_notify_keylisteners, as the controller
80 instance must now be passed as an argument.
81 The copied 'notify' GList is now a list of DEControllerKeyListener
82 objects, since we need more than just the CORBA reference if a
83 notify fails and we need to deregister the listener.
84 (impl_notify_listeners_sync):
85 (impl_notify_listeners_async):
86 (spi_device_event_controller_forward_key_event):
87 Modify use of notify_keylisteners in accordance with above
89 (spi_deregister_controller_key_listener):
90 New method introduced by refactoring, from
91 impl_deregister_keystroke_listener.
92 (impl_deregister_keystroke_listener):
93 Call spi_deregister_controller_key_listener.
94 (spi_key_listener_clone):
95 New method to copy a key listner without doing a 'ref' on the
96 remote object instance; used to create a notifier list.
97 (spi_key_listener_data_free):
98 New method, frees data without unreffing the source.
100 (spi_key_listener_clone_free): new method.
101 (spi_key_listener_free):
102 refactored to call spi_key_listener_data_free.
104 2002-06-20 Bill Haneman <bill.haneman@sun.com>
106 * registryd/registry.c: [fix for bug 86048]
107 (notify_listeners_cb):
108 Clear CORBA system exceptions which occur when notifying
109 listeners, before returning to the source of the original event,
110 since the event source doesn't care if the relayed notify failed.
111 In other words, don't complain to the atk-bridge if the registry
112 could not notify all its listeners, that's no fault of the
113 application and thus should not appear to be an error from the
114 application's perspective.
116 * cspi/spi_main.c: [fix for bug 85980]
118 Replaced use of bonobo_object_dup_ref with call to the wrapper
119 method, csou_dup_ref (); this silences a compiler warning and
120 provided more portability.
122 Ping the registry before return, and restart if necessary.
124 * cspi/bonobo/cspi-bonobo.c:
128 Fixed this method to return an object reference, as it should have
131 * cspi/cspi-lowlevel.h:
132 Added internal definition for cspi_ping() and fixed
133 return type of cspi_dup_ref().
136 2002-06-19 Bill Haneman <bill.haneman@sun.com>
138 * atk-bridge/bridge.c: [fix for bug 85305]
139 (spi_atk_bridge_register_application):
140 New method where the initial application registry calls have been
141 moved; it allows an application to re-register in response to
142 certain error conditions (such as a registry restart, see below).
144 Moved some initialization code to the method
145 spi_atk_bridge_get_registry, below.
146 (spi_atk_bridge_get_registry):
147 New, private accessor function for the Accessibility_Registry
148 instance. If the registry has not been started before, or has
149 died (as detected by failure of a CORBA exception), it is
150 restarted before return, and spi_atk_bridge_register_application
151 is called again to register with the new bridge instance.
152 (spi_atk_emit_eventv):
153 Set registry_died on error; use spi_atk_bridge_get_registry () to
156 * registryd/registry.c:
157 (impl_accessibility_registry_register_global_event_listener):
158 Set listener's event_type_quark to etype.minor instead of
159 etype.major (fix for bug 84856).
161 * test/event-listener-test.c:
162 (report_detail_event):
163 Change the output string so that user/tester can tell that the
164 'detail listener' was called instead of the 'generic listener'.
166 2002-06-18 Bill Haneman <bill.haneman@sun.com>
168 Fixes for bugs 84900, 84908, 84897, 84898.
173 Revved version to 1.1.0
174 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
175 version is going to HEAD which will be used for gnome-2-0-1 and later.)
177 * idl/Accessibility_Registry.idl:
178 (EventListener::notifyEvent):
179 Removed 'oneway' directive after extensive consulation with
180 ORBit2 team and others. This means also that unref() of the event
181 source can and should be done synchronously after emission, rather
182 than remotely in the client, after servicing the notify call on
185 NOTE: This change speeds up listener performance considerably, but
186 introduces new latency on the application side. We may want to
187 add an event queue to the atk-bridge.
189 * atk-bridge/bridge.c:
190 (spi_atk_bridge_focus_tracker):
191 Do a local unref() on the event source after emission.
193 * registryd/registry.c:
194 (desktop_remove_application):
195 Do an unref() on the event source after emission.
196 (desktop_add_application):
197 Do an unref() on the event source after emission.
198 (notify_listeners_cb):
199 When relaying an event, don't automatically add the event source
200 to the local object cache, just CORBA_dup it instead. Likewise,
201 if this method reenters, release the ref rather than calling
203 (impl_registry_notify_event):
204 No longer call remote unref() on the event source after dispatch.
206 * libspi/eventlistener.c:
207 (impl_accessible_event_notify_event):
208 Removed remote unref ()
210 * cspi/bonobo/cspi-bonobo-listener.c:
212 We now call cspi_object_new() instead of cspi_object_add() on
213 receipt of an event; thus we only have an implicit object ref
214 while the cspi_event method is being executed. If we need to keep
215 a reference to the object, the listener must call ref() on the
216 object. Thus also we don't need to call cspi_object_unref() after
217 invoking the listener callbacks in this method.
221 New internal API for creating a new cspi object, without adding it
224 Now uses cspi_object_new() to create the cspi object instance.
226 Now checks to see if the object is in the internal object cache,
227 and adds it if necessary before incrementing its refcount (note
228 that new objects are added with a refcount of 1).
230 New method which gives some information on leaked object instances
231 if leak detection is turned on.
233 * test/event-listener-test.c:
235 New method, used for testing event delivery timing for special
236 events of type "object:test". It reports elapsed time and
237 events/sec every 500 events.
239 Added a new listener, 'test listener', to check timing of event
240 receipt as noted above.
242 Added some timing output here also, reports elapsed time every 100
245 * test/stress-test.c:
246 Emit events of type "object:test", for use with "event-listener-test".
248 * test/test-simple.c:
249 (global_listener_cb):
250 Call Accessible_ref() on the event source before calling
251 validate_accessible, since the validation process does pointer
252 comparisons on the event source, meaning that the event source
253 needs to be added to the local object cache first. Any use of
254 such pointer comparisons between Accessible objects requires that
255 the caller hold an explicit reference to those objects.
256 We also must therefore call Accessible_unref() when leaving this method.
258 2002-06-13 Bill Haneman <bill.haneman@sun.com>
260 * registryd/deviceeventcontroller.c:
261 (spi_controller_update_key_grabs):
262 Fix for #84735, subsequent keygrab listeners not informed of
263 registration failure.
266 (spi_base_construct):
267 Add an assertion on construct, to make sure the GObject passed in
270 Explicitly initialize object->gobj pointer to NULL;
272 * cspi/bonobo/cspi-bonobo-listener.c:
273 (cspi_object_add_ref):
274 New method, can specify whether to dup-ref a bonobo object passed
275 in if it's newly added to the object cache.
277 Now calls cspi_object_add_ref with second param of "FALSE". This
278 prevents us from doing a pointless dup-ref followed by
279 release-unref for all those cases where the object is already in
280 our object cache (fix for #85205).
282 * atk-bridge/bridge.c:
283 (spi_atk_bridge_idle_init):
284 Removed this method, we don't need to initialize in an idle
287 Changed to call spi_atk_register_event_listeners directly, not via an
288 idle handler. (fix for #81139)
289 (gnome_accessibility_module_shutdown):
290 Removed conditional around deregistration of listeners, since we
291 don't use the idle handler and thus have always registered when
293 (spi_init_keystroke_from_atk_key_event):
294 Changed references to Accessibility_KEY_PRESSED to
295 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
297 2002-06-12 Bill Haneman <bill.haneman@sun.com>
299 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
304 * test/stress-test.c:
307 (may have been an incomplete commit yesterday?)
309 2002-06-12 Bill Haneman <bill.haneman@sun.com>
312 Added target for new stress-test.
314 * test/stress-test.c:
315 New test, sends 1000 focus notifies in quick succession.
317 * test/key-listener-test.c:
318 Now we report whether a keylistener registration
319 request succeeded or failed.
321 * test/event-listener-test.c:
322 Uncommented some listeners which are now implemented.
325 2002-06-06 Bill Haneman <bill.haneman@sun.com>
327 * registryd/deviceeventcontroller.c:
328 (spi_controller_update_key_grabs):
329 Fix for #82509, lack of failure notification when
330 ALL_WINDOWS keygrabs fail due to XGrabKey
331 failure: we synchronize the server when
332 registering a passive grab, to make sure we get the
333 error message before the call returns.
335 2002-06-03 Bill Haneman <bill.haneman@sun.com>
337 * test/test-simple.c:
339 Removed #ifdef KEY_IMPL_WORKS guards.
341 Removed #ifdef KEY_IMPL_WORKS guards.
342 Fixed bug which was causing a hang waiting for a
343 "press" event (which was already overwritten by a "release"
344 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
346 Added code to set globals 'key_press_received' and
347 'key_release_received'.
350 Added section "1.1 API Proposed Additions" which
351 lists API additions desired for at-spi-1.1 (only one so far).
352 Updated TODO list a little.
354 2002-06-02 Bill Haneman <bill.haneman@sun.com>
356 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
359 * configure.in: Revved to 1.0.0.
361 * idl/Accessibility_Registry.idl:
362 (registerKeystrokeListener):
363 Added boolean return value.
365 * registryd/registry.c:
366 (notify_listeners_cb): Minor fix to debug output.
368 * registryd/Accessibility_Registry.server.in.in:
369 Revved version number in OAFIID to 1.0.
371 * registryd/registryd.c:
373 Use new OAFIID version.
375 * cspi/bonobo/cspi-bonobo.c:
377 Use new OAFIID version.
383 * atk-bridge/bridge.c:
385 Use new OAFIID version.
387 * registryd/deviceeventcontroller.c:
388 (impl_register_keystroke_listener):
389 Added CORBA_boolean return value.
390 (spi_controller_register_device_listener):
391 Added gboolean return value.
392 (spi_controller_register_global_keygrabs):
393 Added gboolean return value.
394 (spi_key_set_contains_key):
395 Added implementation for many more control keys,
396 for instance F1-F12, arrow keys, End, Home, Page_Up,
398 [TODO: some still not implemented].
400 * text/screen-review-test.c:
401 (text_chunk_pad_string):
402 New function: it provides mapping between coordinate
403 positions of text chunks and character positions in the
404 screen-review-line output string.
405 (text_chunk_to_string):
406 New function, calls text_chunk_pad_string with various
407 pad/delimiter characters. Pushbuttons are delimited with
408 square brackets, Frames with vertical 'pipe' lines, and
409 other text with double quotes.
410 (text_chunk_list_to_string):
411 Calls new function text_chunk_to_string.
412 (toplevel_composite):
413 New function to composite layers CANVAS through
414 POPUP in each toplevel (other layers are composited
415 across toplevels, i.e. BACKGROUND and OVERLAY).
416 (review_buffer_composite):
417 Revise to use new methods.
423 2002-05-31 Laszlo Peter <laca@sun.com>
425 * configure.in: add the Xtst libdir to the runpath on Solaris,
426 since it's not in the default library search path.
428 2002-05-29 jacob berkman <jacob@ximian.com>
430 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
432 2002-05-29 Bill Haneman <bill.haneman@sun.com>
434 * test/screen-review-test.c:
435 (text_chunk_pad_string):
436 Added method, which pads the string according to the
437 text bounds of the chunk. It also takes a 3-character
438 string as a param which indicates the characters to be
439 used for start, padding, and end delimitation of the chunk.
440 (text_chunk_to_string):
441 Changed to use text_chunk_pad_string.
443 * configure.in: Fixed bug in AC_OUTPUT that was
444 causing path substitution in Accessibility_Registry.server
447 2002-05-23 Bill Haneman <bill.haneman@sun.com>
449 * text/screen-review-test.c:
451 New method which attempts a best-guess at clipping
452 text from components (like Java labels) which don't
453 actually implement AccessibleText. This inaccurate
454 clip is based on the assumption that the label is
455 justified left-and-right, and monospaced.
456 (text_chunk_get_clipped_string):
457 We now call guess_string_clip() for text-containing
458 components that don't implement AccessibleText.
460 * test/screen-review-test.c:
461 (review_buffer_get_text_chunk):
462 We now pull "name" from labels if they do not implement
463 AccessibleText (i.e. for Java labels).
464 (get_screen_review_line_at):
465 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
468 Replaceded AC_OUTPUT target
469 registryd/Accessibility_Registry.server with
470 registryd/Accessibility_Registry.server.in.
472 * registryd/Accessibility_Registry.server.in:
473 Removed (this is now a Makefile target).
475 * registryd/Accessibility_Registry.server.in.in:
476 Added (source for target above). We now use $(libexecdir) as
477 prefix for the executable at-spi-registryd.
479 * registry/Makefile.am:
480 Now install at-spi-registryd into $(libexecdir), and build .server
481 file with path (see above).
483 2002-05-22 Bill Haneman <bill.haneman@sun.com>
485 * test/screen-review-test.c:
486 (text_chunk_get_clipped_string):
487 We now check to see if words fall within clip bounds
488 before resorting to character-by-character clip bounds testing.
490 * TODO: Added a section for "2.2 Proposed API Additions".
492 2002-05-21 Bill Haneman <bill.haneman@sun.com>
494 * test/screen-review-test.c:
496 Added a screen review benchmarking and test program to test
499 * cspi/spi_accessible.c:
501 Made some of the debug strings passed to cspi_check_ev a
502 little more specific.
504 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
506 * test/screen-review-test.c: Fix crashes in debug statements
508 2002-05-20 Bill Haneman <bill.haneman@sun.com>
510 * test/screen-review-test.c: Added this file.
512 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
514 * atk-bridge/bridge.c: changed "object:state-change" to
515 "object:state-changed" to match docs.
517 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
519 * atk-bridge/bridge.c: Hooked up state-change event details.
521 2002-05-11 Bill Haneman <bill.haneman@sun.com>
523 * registryd/registry.c:
524 Fixed quarking bug in event string parsing; now events with
525 detail parameters get matched correctly to listeners.
528 * util/idl/Magnifier.idl: remove.
530 * util/*.[ch]: Remove.
531 Magnification utilities and IDL are now in module gnome-mag.
533 2002-05-10 Bill Haneman <bill.haneman@sun.com>
535 * registryd/deviceeventcontroller.c:
536 Fixed bug in grab key conversion which was causing keycode grabs
537 to be converted to AnyKey grabs.
540 updated NEWS file to reflect recent spin-off of gnome-mag.
542 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
544 * cspi/spi_accessible.c: Added exception checks. Fixed completely
545 busted AccessibleStateSet_compare. Removed redundant casts.
547 * cspi/spi-action.c: Removed redundant casts.
549 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
551 * cspi/spi_component.c: Fixed typos and casting error.
553 * cspi/spi_editabletext.c: Removed redundant casts.
555 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
557 * cspi/spi_hypertext.c: Eliminated redundant casts.
559 * cspi/spi_image.c: Eliminated redundant casts.
561 * cspi/spi_registry.c: Eliminated redundant casts.
562 SPI_deregisterGlobalEventListenerAll () removed retval variable.
563 * cspi/spi_selection.c: Removed redundant casts.
564 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
565 handling. Screen geometry and text offsets were being returned as 0
566 on error which is technically valid-- changed these to return -1.
567 Added marshaller for text boundary types to fix bug with boundary
568 types being passed incorrectly to atk.
570 2002-05-09 Bill Haneman <bill.haneman@sun.com>
573 * cspi/spi_registry.c:
574 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
575 which was uncovered by the recent key changes.
577 2002-05-09 Bill Haneman <bill.haneman@sun.com>
579 * test/event-listener-test.c:
581 Added new test, "event-listener-test";
582 this code does two things; it benchmarks traversal time
583 for the accessible hierarchy for the first running accessible
584 app, and it connects listeners for all supported event types.
585 It is thus useful as an example event listener and for
586 diagnostics/debugging of event generation.
588 2002-05-08 Bill Haneman <bill.haneman@sun.com>
591 Removed unnecessary dependency on libutil.
594 Revved micro version: 0.13.1
596 2002-05-08 Bill Haneman <bill.haneman@sun.com>
599 Removed util/Makefile from targets.
602 Removed util subdir from SUBDIRS (temporarily,
603 pending removal of magnifier-only code
607 #ifdef-ed out magnifier dependencies, since
608 magnifier IDL, headers, and binary now live in
609 module gnome-mag and we don't want at-spi to depend
610 on gnome-mag. A magnifier demo which can run alongside
611 simple-at is forthcoming in the gnome-mag module.
613 NOTE: Split magnifier binary, IDL, and magnification
614 activation code from at-spi into module gnome-mag.
616 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
618 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
619 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
621 2002-05-03 Bill Haneman <bill.haneman@sun.com>
624 Revved to version 0.13.0
626 * idl/Accessibility_Registry.idl:
627 Changed definition of KeySet from sequence of longs to sequence of
628 KeyDefinitions, and added KeyDefinition struct.
629 Required for fix to bug 80616.
631 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
632 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
633 to use new definition (see above).
635 * registryd/deviceeventcontroller.c: handle_keygrab(),
636 spi_keyset_contains_key():
637 Changed to make use of new struct; this allows matching based on
638 string key-name, for instance "Tab". This also allows matching of
639 composed characters, non-alphanumeric characters in a way that
640 doesn't involve dependencies on X keysym codes directly, etc.
642 * test/key-listener-test.c:
643 Added test for Alt-Tab key using "string" specification of keyset,
644 and modified one of the tests to use a keycode-based keyset.
645 Thus this test both tests and demonstrates the creation and use of
646 keysets of three forms: specified via keycode array,
647 keysym array, and string array. (The string case only contains a
648 single string, i.e. a string array of length 1).
651 Turned on PRINT_TREE option by default. Also fixed a
652 string-freeing bug in the PRINT_TREE code.
653 Added a listener to window:minimize events.
655 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
657 * atk-bridge/bridge.c:
658 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
659 for window:activate and window:deactiveate
660 (atk_bridge_property_event_listener atk_bridge_signal_listener
661 atk_bridge_window_event_listener) Tidy debug code
663 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
665 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
666 Fixed handling for NULL return value from ATK.
668 * libspi/action.c libspi/component.c libspi/editabletext.
669 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
670 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
671 Removed redundant casts.
673 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
674 Fixed off by one bug.
676 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
677 function not present in idl)
679 2002-05-02 jacob berkman <jacob@ximian.com>
681 * atk-bridge/Makefile.am: make atk-bridge a real module
683 2002-04-26 Radek Doulik <rodo@ximian.com>
685 * libspi/stateset.c (spi_init_state_type_tables): fix size of
686 atk_state_types table
688 2002-04-22 jacob berkman <jacob@ximian.com>
691 * libspi/Makefile.am: add deps on the built files to help
692 automake, and don't version the ORBit typelib
694 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
696 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
697 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
698 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
699 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
700 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
701 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
702 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
703 libspi/accessible.h libspi/accessible.h libspi/base.h
704 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
705 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
706 libspi/relation.h libspi/remoteobject.h libspi/selection.h
707 libspi/spi-private.h libspi/statetset.h libspi/table.h
708 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
709 util/mag_client.h util/mag_control.c util/mag_image.c
710 util/mag_image.h util/magnifier.c util/magnifier.h:
711 Add missing file headers; standardize existing ones
713 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
715 * atk-bridge/bridge.c: Added window event support.
717 2002-04-18 Michael Meeks <michael@ximian.com>
719 * libspi/relation.c (impl_getNTargets): impl.
720 (impl_getTarget): impl.
722 * libspi/Makefile.am: fix stateset install.
724 2002-04-17 Bill Haneman <bill.haneman@sun.com>
727 Started putting useful info in this file.
729 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
731 * atk-bridge/bridge.c:
732 Propagate state-changed notifications to ATs
734 * cspi/spi_registry.c: update docs to reflect actual behavior of
737 2002-04-17 Bill Haneman <bill.haneman@sun.com>
740 Incremented version to 0.12.1
743 Add missing declaration for magnifier_exit,
744 used by mag_control.c - Forte compiler didn't like
745 the implicit redeclaration of the function :-(
748 2002-04-16 Bill Haneman <bill.haneman@sun.com>
751 Revved version to 0.12 due to API change (see below).
753 * cspi/spi-roletypes.h:
754 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
755 definition from the inline docs, and added docs
756 for SPI_ROLE_LAST_DEFINED.
759 * cspi/spi_streamablecontent.c:
760 Added missing seek_type parameter to
761 (so far unused) method,
762 AccessibleStreamableContent_seek().
763 [ RT approval JodyG. ]
766 Fixed docs for SPI_createAccessibleKeystrokeListener.
768 * cspi/spi_registry.c:
769 Fixed docs for SPI_KEYSET_ALL_KEYS.
771 * docs/reference/cspi/at-spi-cspi-sections.txt:
772 Added a number of missing APIs to SECTIONS.
774 2002-04-16 Bill Haneman <bill.haneman@sun.com>
776 * registryd/Makefile.am:
778 * cspi/bonobo/Makefile.am:
779 Add $(X_LIBS) to makefiles.
781 2002-04-15 Bill Haneman <bill.haneman@sun.com>
784 Revved version to 0.11.
786 * libspi/component.c:
787 Added implementation for grabFocus.
789 * idl/Accessibility_Component.idl
790 (Accessibility_Component_grabFocus):
791 Made this method return boolean to indicate success or failure, to
792 be consistent with cspi and the corresponding ATK method.
794 * idl/Accessibility_Selection.idl
795 (Accessibility_Selection_selectAll) :
796 Made these methods return boolean to indicate success or
797 failure, to be consistent with cspi and the corresponding ATK methods.
799 * idl/Accessibility_EditableText.idl
800 (Accessibility_EditableText_setTextContents,
801 Accessibility_EditableText_insertText,
802 Accessibility_EditableText_cutText,
803 Accessibility_EditableText_deleteText,
804 Accessibility_EditableText_pasteText):
805 Made these methods return boolean to indicate
808 * cspi/spi_editabletext.c:
809 Made these methods return booleans.
811 * libspi/selection.c:
812 * libspi/component.c:
813 * libspi/editabletext.c:
814 Connected the boolean returns from ATK
815 to the server-side code referenced above.
817 2002-04-14 Bill Haneman <bill.haneman@sun.com>
819 * idl/Accessibility_Table.idl: Added missing methods,
820 Accessibility_Table_addRowSelection,
821 Accessibility_Table_addColumnSelection,
822 Accessibility_Table_removeRowSelection,
823 Accessibility_Table_removeColumnSelection.
826 Added C wrappers for above IDL:
827 AccessibleTable_addRowSelection,
828 AccessibleTable_addColumnSelection,
829 AccessibleTable_removeRowSelection,
830 AccessibleTable_removeColumnSelection.
833 Added server-side implementation code for IDL above, connecting
834 to pre-existing ATK api.
836 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
838 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
840 * libspi/accessible.c: Added implementation fo
841 Accessibility_Accessible_get_state.
843 * libspi/libspi.h: Added stateset.h to the list of includes.
845 * libspi/stateset.c: Fixed broken implementation.
847 2002-04-13 Bill Haneman <bill.haneman@sun.com>
850 Added implementation code for Accessibility_Magnifier_exit ().
852 * util/mag_control.c:
853 Added test code for above method; you can
854 now kill an existing magnifier via
855 ./mag_control q, from the util directory.
857 * test/key-listener-test.c:
859 Added a new test, for our key listener API.
861 2002-04-11 Bill Haneman <bill.haneman@sun.com>
863 * test/app.c, test/keysynth-demo.c:
865 Replace use of snprintf with g_snprintf.
866 (fix for bugzilla 78249)
868 2002-03-27 Michael Meeks <michael@ximian.com>
872 * util/Makefile.am (INCLUDES): fix.
873 (DONT_DIST_SOURCE): don't distribute the
876 * libspi/Makefile.am (dist-hook): ditto.
878 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
880 * libspi/hypertext.c:
881 Fix warnings when yelp is used with atk-bridge
883 2002-03-21 Michael Meeks <michael@ximian.com>
885 * libspi/application.c (spi_application_new):
886 use spi_accessible_construct so we use the AtkObject
889 2002-03-19 Michael Meeks <michael@ximian.com>
891 * registryd/registry.c (desktop_remove_application),
892 (desktop_add_application): clean coding style.
894 * registryd/desktop.c (spi_desktop_remove_application),
895 (spi_desktop_add_application): kill re-enterency hazards.
896 (spi_desktop_dispose): remove bogus redundant cast
897 obscuring bug; fix bug too.
898 (spi_desktop_init): make the desktop object immortal.
900 2002-03-16 Bill Haneman <bill.haneman@sun.com>
903 Added a #define-guarded tree-traversal step
904 when enumerating the apps (diagnostic tool).
906 2002-03-15 Bill Haneman <bill.haneman@sun.com>
908 * idl/Accessibility_Role.idl:
909 Added ROLE_DRAWING_AREA which seemed to be missing from the
912 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
914 * cspi/spi-roletypes.h cspi/spi_accessible.c
915 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
918 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
919 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
920 AT when applications are added and removed from the desktop. This
921 reverts the previous broken implementation using the backing
922 AtkObject for the SpiDesktop.
924 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
926 * registryd/desktop.c: emit the "children-changed::add" and
927 "children-changed::remove" signals on the backing ATK object for
928 the desktop so AT can tell when applications are started and shut
931 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
933 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
935 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
937 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
939 * cspi/spi_accessible.c: Implemented c bindings for stateset support
941 * cspi/state-types.h: synched with IDL and ATK
943 2002-03-13 Bill Haneman <bill.haneman@sun.com>
945 * libspi/accessible.c
946 (impl_accessibility_accessible_get_child_at_index):
947 Change return value for g_return_if_fail ()
948 to CORBA_OBJECT_NIL instead of "0" (!)
950 * registryd/Makefile.am:
951 * registryd/Accessibility_Register.server.in:
952 Changed name of executable, "registryd",
953 to something more informative:
956 2002-03-13 Michael Meeks <michael@ximian.com>
958 * atk-bridge/bridge.c (atk_bridge_init): don't register
959 if we're in a bonobo-component, rather than a bonobo app.
961 2002-03-13 Michael Meeks <michael@ximian.com>
963 * atk-bridge/bridge.c (gtk_module_init): split
964 out body to (atk_bridge_init): here, since otherwise
965 we get symbol conflicts and oddness when invoked
966 from (gnome_accessibility_module_init): here (upd.)
968 2002-03-11 Bill Haneman <bill.haneman@sun.com>
971 New file. Explicitly allow "build sheriff" putbacks provided
972 they are tested on Solaris.
974 * docs/reference/cspi/Makefile.am:
975 Added '-' to the "cp" command for index.sgml.
976 ("patch by thomasvs, soon coming to a GUADEC near you")
979 Incremented version number (0.9.0) for new release.
980 Changed macro that checks for popt, to better detect
981 obsolete versions of popt.
984 Added X_LIBS to AC_SUBST, for applications
985 that call Xlib API directly.
988 2002-03-07 Bill Haneman <bill.haneman@sun.com>
991 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
994 Fix regression caused by hard-coding major
995 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
998 * test/test-simple.c (test_editable_text),
999 (test_test): revert previous change (error was
1000 a regression in gail which is now fixed).
1002 2002-03-04 Michael Meeks <michael@ximian.com>
1004 * test/test-simple.c (test_editable_text),
1005 (test_text): pass G_MAXINT instead of '-1' for
1006 whole string - is this a good thing !?
1008 * cspi/spi_accessible.c
1009 (Accessible_getRelationSet): fix crasher bug
1010 overwriting the end of the array.
1012 * test/test-simple.c (validate_accessible): free,
1013 not g_free returned relation set.
1015 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
1017 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
1018 implemented stateset support
1020 * idl/Accessibility_State.idl: Made necessary changes to
1021 the IDL to support state sets.
1023 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1025 * registryd/deviceeventcontroller.c:
1026 Added implementation for generateMouseEvent.
1028 * cspi/spi_registry.c:
1029 Connected new implementation for generateMouseEvent
1032 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1035 Incremented revision (but no change in public API
1036 outside of 'utils', which are not installed public yet.)
1038 * libspi/component.c:
1039 Changed to use atk_component API for layers and
1040 mdi_zorder, instead of deprecated atk_object API.
1042 Magnification Utility Enhancements:
1045 Added implementation of createZoomRegion, clearAllZoomRegions,
1046 resizeZoomRegion. Added new commandline argument
1047 "--no-initial-region". Note that clearAllZoomRegions doesn't
1048 unmap the old '0' region as it should (yet), and the other
1049 methods only work when creating/resizing a single region,
1050 which is "region 0".
1051 (Code for multiple region support will be added later.)
1054 Now we raise the magnifier window each time it's refreshed;
1055 this will help keep it on top.
1057 * util/mag_client.h:
1058 Added simple wrappers for above, used by mag_control.
1059 For general use, it's recommended to use the bonobo magnifier
1060 control API directly instead of using these wrappers.
1063 Moved ZoomRegionData from magnifier.c to this file.
1065 * util/mag_control.c:
1066 Added some code to exercise new IDL implementations.
1068 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
1070 * libspi/text.c: Provide implementation for getAttributes.
1072 2002-02-04 Bill Haneman <bill.haneman@sun.com>
1075 Incremented revision.
1077 * test/test-simple.c:
1078 Replaced use of deprecated g_main_iteration with
1079 g_main_context_iteration.
1081 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
1084 Incremented revision for desktop alpha 2.
1086 2002-01-28 Mark McLoughlin <mark@skynet.ie>
1088 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
1091 * test/simple-at.c: include netinet/in.h.
1093 2002-01-24 Mark McLoughlin <mark@skynet.ie>
1095 * cspi/spi_accessible.c: (Accessible_getRelationSet):
1096 use NULL, not CORBA_OBJECT_NIL.
1098 * libspi/accessible.c:
1099 (impl_accessibility_accessible_get_relation_set):
1100 allocate the sequence correctly.
1102 * libspi/remoteobject.h: kill spi_remote_object_new.
1104 * test/test-simple.c: (validate_accessible): add code
1105 to test relation sets, now all we need is to figure
1106 out how to excercise this code path :/
1108 2002-01-18 Michael Meeks <michael@ximian.com>
1110 * test/test-simple.c
1111 (key_listener_cb): consume the key.
1112 (test_keylisteners): update.
1113 (main): wait for any pending unrefs on events.
1115 * registryd/deviceeventcontroller.c
1116 (spi_controller_update_key_grabs): only re-issue the
1117 grab on a key release.
1118 (spi_device_event_controller_forward_key_event):
1119 refresh the keygrabs before we notify the listeners,
1120 to reduce the X ungrab / re-grab race.
1121 (spi_controller_register_with_devices): remove
1122 XSelectInput - we do that with the gdk_window_ call.
1123 (_spi_controller_device_error_handler): return a value.
1124 s/GDK_DISPLAY/spi_get_display/
1126 2002-01-17 Michael Meeks <michael@ximian.com>
1128 * registryd/deviceeventcontroller.c
1129 (_deregister_keygrab): don't blow out the later
1132 * test/test-simple.c (test_keylisteners): do a
1133 more intelligent validation.
1135 2002-01-14 Michael Meeks <michael@ximian.com>
1137 * atk-bridge/bridge.c
1138 (gnome_accessibility_module_init),
1139 (gnome_accessibility_module_shutdown): impl.
1140 (gtk_module_init): protect vs. double inits.
1141 (add_signal_listener): impl.
1142 (spi_atk_bridge_state_event_listener): kill
1143 (deregister_application): split out of
1144 (spi_atk_bridge_exit_func): here.
1146 2002-01-18 Bill Haneman <bill.haneman@sun.com>
1149 Added caret tracking when using magnifier, and
1150 now use text bounds for focus tracking of text elements, rather than
1151 the component bounds - this is helpful for short text fields in long
1152 table cells, at high magnification.
1154 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1156 * registryd/deviceeventcontroller.c:
1157 Regression fix for keylistener de-registration; global keygrabs
1158 were not being released when deregisterKeystrokeListener was
1159 called in cspi, since
1160 Accessibility_DeviceEventController_deregisterKeystrokeListener
1161 was called with a zero-length keyset. That is because the cspi
1162 method, SPI_deregisterKeystrokeListener, does not take a keyset
1163 parameter but instead should remove all the key grabs held be a
1165 The code in impl_deregister_keystroke_listener was changed to copy
1166 the keylist from the listener instance previously registered with
1167 the DeviceEventController before releasing the grabs.
1169 * registryd/registry.c:
1170 * registryd/deviceeventcontroller.c:
1171 * libspi/spi-private.h:
1173 Changed spelling of "re-enterant" to "re-entrant" globally.
1175 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1177 * test/test-simple.c:
1178 Changed key listeners test - the test was slightly mis-using the
1179 (admittedly poorly documented) SPI_generateKeyboardEvent API.
1180 It now uses '=' as the key event listened to and generated,
1181 relying on a keysym match rather than assuming that keycode 33
1182 is always equal to keysym '!'.
1184 2002-01-15 Bill Haneman <bill.haneman@sun.com>
1187 Changed simple-at to use a specific keyset, rather than
1188 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
1189 manager, desktop, etc.
1191 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1193 * registryd/deviceeventcontroller.c:
1194 Replaced standard X error handler with a special handler that
1195 is non-fatal for failed keygrabs. This works around
1196 problems with keygrab clashes sometimes observed on
1198 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
1199 mouse handling code as yet).
1201 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1204 Incremented revision for desktop alpha release.
1207 Fixed a couple of the more glaring errors (still not
1210 2002-01-11 Michael Meeks <michael@ximian.com>
1212 * registryd/deviceeventcontroller.c
1213 (spi_device_event_controller_forward_key_event): kill
1214 XUngrabKey / XKeyGrab race.
1215 (spi_controller_grab_keyboard): rename to
1216 (spi_controller_update_key_grabs): this, and deal
1217 with incremental adding / removing grabs more
1219 (_register_keygrab): ensure we're not pending a remove.
1220 (spi_grab_mask_free): impl.
1221 (spi_controller_register_global_keygrabs): split out
1223 (handle_keygrab): impl.
1224 (_deregister_keygrab): impl.
1225 (spi_controller_deregister_global_keygrabs): impl.
1226 (spi_controller_update_key_grabs): re-issue the grab if
1227 we just recieved a notification.
1229 * test/test-simple.c (key_listener_cb): remove debug.
1231 * registryd/deviceeventcontroller.c
1232 (spi_controller_register_device_listener): after
1233 registering a global keygrab, actualy register it !
1234 don't wait for a timeout; doh !
1236 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
1237 to make it more readable / manipulable.
1238 s/grabmask/grab_mask/ s/refcount/ref_count/
1239 s/keyval/key_val/ s/modmask/mod_mask
1241 2002-01-08 Michael Meeks <michael@ximian.com>
1243 * registryd/deviceeventcontroller.c
1244 (spi_controller_register_with_devices): use gdk calls to
1246 (global_filter_fn): implement the filter.
1247 (spi_device_event_controller_check_key_event): rename to
1248 (spi_device_event_controller_forward_key_event): this & upd.
1249 (spi_get_display): replace with GDK_DISPLAY.
1251 * registryd/deviceeventcontroller.c
1252 (spi_controller_deregister_device_listener): unroll into
1253 (impl_deregister_keystroke_listener): here to simplify.
1254 (spi_controller_register_global_keygrabs): split cut and
1255 paste (!) out into (_register_keygrab): here, shorter & sweeter.
1256 (spi_controller_deregister_device_listener): remove.
1257 (impl_register_mouse_listener): remove, no mouse listener
1258 support in at-spi-1.0
1260 * registryd/registry.c
1261 (_device_event_controller_hook): kill.
1262 (spi_registry_init): upd.
1264 * registryd/deviceeventcontroller.c
1265 (spi_device_event_controller_class_init): upd.
1266 (spi_check_key_event): merge into.
1267 (spi_device_event_controller_check_key_event):
1268 here and kill strange static ev init, don't leak
1269 the x_event - nor dynamicaly allocate it.
1271 * registryd/registry-main.c (main): re-direct
1272 timeout to remove strange vtable mess.
1274 * registryd/deviceeventcontroller.c
1275 (remove_listener_cb): impl.
1276 (spi_controller_deregister_device_listener):
1277 fix re-enterancy hazard.
1279 2002-01-07 Michael Meeks <michael@ximian.com>
1281 * registryd/deviceeventcontroller.c
1282 (spi_device_event_controller_new): upd.
1283 (impl_notify_listeners_sync): upd. debug.
1284 (spi_notify_keylisteners): fix re-enterancy hazards,
1285 prettify, remove O(n*n) iteration.
1286 (spi_controller_grab_keyboard): fix iteration.
1287 (spi_check_key_event): re-format to suit coding style.
1288 Clean all the warnings - we're warning free.
1290 * registryd/deviceeventcontroller.h:
1291 * registryd/registry.h: make mutualy referential with
1292 typesafe forward references instead of (!) void pointer
1295 2002-01-11 Michael Meeks <michael@ximian.com>
1297 * cspi/spi_accessible.c (role_names): add a role name
1298 to sync this array with the enum; and make the regression
1301 2002-01-10 Michael Meeks <michael@ximian.com>
1303 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
1304 allow expansion of enumeration & kill warning.
1306 * test/test-simple.c (key_listener_cb): impl.
1307 (test_keylisteners): impl.
1309 * cspi/spi-listener.h: make listener signatures const
1310 on the provided (const) events.
1312 * test/keysynth-demo.c: upd. to const events.
1314 * test/simple-at.c: ditto.
1316 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1319 Rev the version to 0.5 (the previous tarball was named 0.4,
1320 even though the micro number was 3), so we need to rev upwards
1321 again for beta2/"desktop-alpha"
1324 Checked in a demo script, which requires editing before use!
1325 Proceed with caution.
1328 Fixed typo in header which was redefining SPI_ACTION_CLASS.
1330 * cspi/spi_accessible.c:
1331 Add a couple of missing enum initializations, and fix some enum
1334 * cspi/spi_registry.c:
1335 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
1337 * docs/reference/cspi/at-spi-cspi-sections.txt:
1338 Remove/fix a couple of broken document references.
1341 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
1342 as Alt-Control to listen for commands, since on some systems
1343 Control-Alt may already be grabbed.
1345 2002-01-10 Bill Haneman <bill.haneman@sun.com>
1348 Update version number to 0.4 for Beta2.
1350 * libspi/accessible.c, libspi/accessible.h:
1351 Expose spi_accessible_construct, to enable libgail-gnome
1352 construction from spi_accessible subtype.
1354 * utils/magnifier.c:
1355 Workaround for bug in some non-gnome-compliant window managers
1356 which made magnifier resize improperly.
1358 2002-01-09 Bill Haneman <bill.haneman@sun.com>
1360 * libspi/accessible.c: (spi_accessible_new) :
1361 Move the test for SPI_IS_REMOTE_OBJECT to
1362 spi_accessible_new_return, fixing a bug and compile time warning.
1364 2002-01-08 Michael Meeks <michael@ximian.com>
1366 * registryd/registry.c (parse_event_type): remove strndup.
1368 * libspi/Makefile.am (libspi_la_SOURCES): remove
1369 sources already included in the headers section.
1371 * libspi/util.c: add.
1373 * libspi/spi-private.h: add.
1375 * registryd/registry.c: update to moved list iterators.
1377 2002-01-05 Michael Meeks <michael@ximian.com>
1379 * test/simple-at.c (main): upd. auto-module set to atk-bridge
1381 * test/test-simple.c (main): ditto.
1383 2002-01-04 Michael Meeks <michael@ximian.com>
1385 * libspi/accessible.c (spi_accessible_new): remove 2nd,
1386 redundant construct.
1388 * registryd/registry.c
1389 (get_listener_list): impl.
1390 (impl_accessibility_registry_register_global_event_listener):
1391 re-impl. to simplify using ~, remove dodgy const cast off.
1392 (parse_event_type): constify.
1393 (impl_accessibility_registry_deregister_global_event_listener_all):
1394 re-write, more efficiency and simplicity, kill re-enterancy
1396 (compare_listener_corbaref, compare_corba_objects),
1397 (compare_listener_quarks): define out.
1398 (impl_accessibility_registry_deregister_global_event_listener):
1399 re-write for effiency, and nail re-enterancy hazard.
1400 (impl_accessibility_registry_get_desktop_list): impl.
1401 (re_enterant_list_delete_link): impl.
1402 (re_enterant_list_foreach): impl.
1403 (remove_listener_cb): impl.
1404 (_registry_notify_listeners): kill.
1405 (notify_listeners_cb): impl.
1407 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
1408 (SPI_getDesktopList): impl.
1410 * test/test-simple.c (test_desktop): test the methods.
1412 2002-01-03 Michael Meeks <michael@ximian.com>
1414 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
1415 keystrings since we free them
1416 (SPI_freeAccessibleKeySet): in here.
1418 * libspi/accessible.c (spi_accessible_new): kill warning,
1419 wonder what is going on with the constructor here.
1421 2002-03-01 Bill Haneman <bill.haneman@sun.com>
1423 * libspi/accessible.c (spi_accessible_new ()) :
1424 Added check to see if AtkObject is an SpiRemoteObject before
1425 creating an SpiAccessible.
1427 2002-05-01 Bill Haneman <bill.haneman@sun.com>
1429 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
1430 Enable keygrabs using the Control modifier, now that they are
1431 working properly (they were previously disabled).
1434 Change the command keygrab for this demo to "Control+Alt", so as
1435 to conflict with fewer other key commands on the system; this
1436 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
1438 Removed a pointlessly-chatty keylistener for unshifted keys
1439 (shifted keys are still reported).
1441 2002-02-01 Bill Haneman <bill.haneman@sun.com>
1443 * libspi/remoteobject.h:
1444 * libspi/remoteobject.c:
1445 Added definitions for special AtkObject subtype, required for
1446 support of remote components (specifically, used by BonoboControl
1447 accessibility implementation).
1449 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
1451 * cspi/spi.h: synched relation types with ATK
1453 * cspi/spi_accessible.c: Added implementations of
1454 AcccessibleRelation_* methods
1456 * idl/Accessibility_Relation.idl: added getRelationTypeName
1457 method. Synched known relation types with ATK. Allowed for
1458 relation type extension with the RELATION_EXTENDED type.
1460 * libspi/relation.c: Provided implementations for
1461 AccessibleRelation methods.
1463 2002-01-01 Bill Haneman <bill.haneman@sun.com>
1465 API tweaks for today's API 'freeze'.
1468 Added placeholder functions to allow future compatible expansion
1469 of the IDL interfaces.
1471 * idl/Accessibility_Registry.idl:
1472 Changed generateKeyEvent to generateKeyboardEvent. Changed
1473 signature of this method to accept an optional keystring in
1474 parameter (for complex text input synthesis) and changed use of
1475 simple 'boolean' parameter in registerKeystrokeListener to a
1476 struct, EventListenerMode.
1478 * cspi/spi_accessible.c:
1480 * cspi/spi_streamablecontent.c:
1481 Added references to AccessibleStreamableContent interface, and
1482 definition and implementation of AccessibleStreamableContent
1485 * cspi/spi_registry.c:
1487 Changed generateKeyEvent API to generateKeyboardEvent,
1488 taking a new (optional) keystring parameter to support complex
1493 Renamed directory (to better reflect its actual purpose, bridging
1494 from at-spi to ATK). The .so module is also now named
1497 * idl/Accessibility_Hypertext.idl:
1498 * libspi/accessible.c:
1499 * libspi/hypertext.h:
1500 * libspi/hypertext.c:
1501 Changed Accessibility_Hypertext to *not* derive from
1504 * cspi/spi_registry.c:
1505 Added list of legal event type names for 'window' events, which
1506 completes the registry event API.
1508 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
1510 * at-bridge/bridge.c: Added registration for separate
1511 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
1512 signals. If either of the first two parameters to the generic
1513 bridge signal handler are ints, they are passed on as event
1514 details. This allows an AT to determine what text was inserted.
1516 2001-12-21 Bill Haneman <bill.haneman@sun.com>
1518 * registryd/deviceeventcontroller.c:
1519 Fixed regressions in generateKeyEvent caused by the removal of
1520 gdk_init from registryd; we now use pure X calls to connect to the
1521 display, which makes sense because deviceeventcontroller already
1522 uses a fair bit of X API (should eventually be migrated to a
1523 'portability layer').
1525 * registryd/desktop.c:
1526 Fixed minor regression in spi_desktop_init, changed the way the
1527 desktop name is being set to work with new spi_base API
1528 (gobject-based, rather than AtkObject-based).
1530 * registryd/Makefile.am:
1531 Minor revision of makefile to use XTST_LIBS variable rather than
1532 hard-wiring the Xtst LD_ADD element.
1534 * test/keysynth-demo.c:
1535 Tweaked an output message; added initialization of the
1536 'keystrings' member of the "switch listener" key_set.
1538 * libspi/relation.c:
1539 Squashed compile-time warning.
1541 * libspi/accessible.c:
1542 Cosmetic and formatting fixes, renamed a static method.
1544 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
1546 * libspi/accessible.c
1548 * libspi/application.c
1551 * libspi/component.c
1552 * libspi/editabletext.c
1553 * libspi/hyperlink.c
1554 * libspi/hypertext.c
1556 * libspi/selection.c
1560 * registryd/desktop.c:
1561 Changed SpiBase to contain a GObject pointer rather than an AtkObject
1563 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1565 * idl/Accessibility_Registry.idl:
1566 Added boolean member 'is_text' to DeviceEvent. This is for the
1567 use of key events, and helps prevent ambiguity between composed
1568 key strings and keysym names, since both may potentially be
1569 returned in the 'event_string' member.
1571 * at-bridge/bridge.c:
1572 * registryd/deviceeventcontroller.c:
1573 Use the 'is_text' member when notifying device event listeners.
1574 Knon issue: composed characters are not dealt with correctly by
1575 the global key listener implementation yet.
1577 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1579 * at-bridge/bridge.c:
1580 Namespaced local static methods to spi_atk_bridge_* where
1581 previously named bridge_*, and spi_* elsewhere.
1583 * at-bridge/bridge.c:
1584 * cspi/bonobo/cspi-bonobo-listener.c:
1585 Added demarshalling/conversion for string member of
1586 Accessibility_DeviceEvent to AccessibleKeystroke.
1588 * registryd/deviceeventcontroller.c:
1589 Added code to fill the Accessibility_DeviceEvent key string value
1590 member for global key events (i.e. from XGrabKey), to match
1591 behavior of Accessibility_DeviceEvent from the toolkit key events
1592 from the bridge. Fixed timestamp in global key event notifications.
1595 Added printout of key event's string value to
1596 report_ordinary_key_event, for demo/debugging purposes.
1598 2001-12-15 Bill Haneman <bill.haneman@sun.com>
1600 * idl/Accessibility_Registry.idl:
1601 Removed Accessibility_KeyStroke structure in favor of generic
1602 Accessibility_DeviceEvent structure.
1603 Changed Accessibility_ControllerEventMask from a struct to an
1606 * at-bridge/bridge.c:
1607 Changed APIs to use DeviceEvent structure as above, and removed
1608 bogus casting between these event structures.
1610 * cspi/spi-listener.h:
1611 Added keystring member of AccessibleKeystroke structure, to enable
1612 matching on event "names" rather than only hardware codes and
1616 Added keystrings member of AccessibleKeySet struct, to allow
1617 matching on event names (as above).
1618 Added declarations for SPI_createAccessibleKeySet and
1619 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
1620 event modmasks directly as unsigned ints rather than structs with
1621 refcounts, in the DeviceEventController methods.
1623 * cspi/spi_registry.c:
1624 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
1626 * cspi/spi-roletypes.h:
1627 Added documentation of newly added SPI Roles.
1629 * cspi/bonobo/cspi-bonobo-listener.c:
1630 Changes in support of API changes above.
1632 * libspi/accessible.c:
1633 Converted APIs to use DeviceEvent structure (see IDL changes
1636 * registryd/deviceeventcontroller.c:
1637 Added DEControllerGrabMask structure to track keygrabs not only by
1638 modmask but by keyset as well; this allows us to do "global"
1639 (i.e. X) keygrabs on a per-key or keyset basis rather than always
1640 grabbing on AnyKey and then filtering after-the-fact.
1641 Bugfixes for event filtration mean that we don't get false matches
1642 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
1644 * registryd/deviceeventcontroller.c:
1645 Namespaced a number of static methods to use spi_ prefix. Major
1646 revision to internals of global (i.e. X) key grabs.
1648 * registryd/deviceeventcontroller.h:
1649 Removed keymask_list and added keygrabs_list to
1650 SpiDeviceEventController struct.
1653 Added use of SPI_createAccessibleKeySet API when creating a
1654 listener for only one key. Attach a listener to "shift spacebar
1655 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
1656 X key event names to SPI key event names, so that listeners are
1657 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
1659 * test/keysynth-demo.c:
1660 Changed (incorrect) use of X key event names (KeyPressed,
1661 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
1664 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1666 * libspi/accessible.c:
1667 Convert all AtkRole enumerations to Accessibility_Role enums when
1668 getting a role from an AtkObject.
1670 * cspi/spi_accessible.c:
1671 Complete the conversion of Accessibility_Role enums at runtime to
1672 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
1673 role enums correctly match those given in spi-roletypes.h.
1674 Re-synchronize the local names list for AccessibleRole_getName ().
1675 AccessibleRole_getName is now deprecated, since it duplicates the
1676 more reliable Accessible_getRoleName.
1677 Added some role types from Accessibility_Role.idl.
1679 * idl/Accessibility_Role.idl:
1680 Added some role types used by AtkRole.
1682 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1685 * cspi/spi_registry.c:
1687 * cspi/cspi-bonobo-listener.c:
1688 Namespaced all methods that did not begin with an "SPI_" or
1689 "Accessible" prefix to "SPI_".
1692 Homogenized internal function namespace to "cspi_" for statics.
1695 Patched tests to use the new CSPI API.
1697 * docs/reference/cspi/at-spi-cspi-sections.txt:
1698 Updated docs to reflect namespace changes, and added a number of
1699 methods to the documentation.
1701 * registryd/registry.c:
1702 Changed use of strings and string hashes in listener event
1703 matching and parse_event_string to use GQuark, which is guaranteed
1706 * registryd/registry.h:
1707 Squashed annoying warning.
1709 * idl/Accessibility_Role.idl:
1710 Extended range of available Accessibility_Role values.
1712 * cspi/spi_accessible.c:
1713 Re-ordered role names.
1715 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1717 * idl/Accessibility_Value.idl:
1718 Revert use of union back to CORBA_double, since the double type is
1719 more efficient and can contain the other types without loss of
1722 * idl/Accessibility_Accessible.idl:
1723 Added method Accessibility:Accessible:getRoleName, to complement
1724 Accessibility:Accessible:getRole.
1726 * cspi/spi_accessible.c:
1728 Added C binding for above, Accessible_getRoleName (), and changed
1729 signature of Accessible_getRole () to return an AccessibleRole.
1731 * cspi/spi-roletypes.h:
1732 Changed AccessibleRole_getName to return a char * instead of a
1733 const char *. This method is now at least temporarily deprecated
1734 in favor of asking Accessibles for their RoleNames directly.
1737 Revert to match Accessibility_Value.idl;
1741 Change signature of AccessibleValue methods to use double rather
1745 * cspi/spi_accessible.c:
1746 Changed Accessible_getRole to return an AccessibleRole enum rather
1747 than a UTF-8 string. The UTF-8 string can still be obtained via
1748 AccessibleRole_getName ().
1750 * test/test-simple.c:
1751 Add test_action. Small fixup to match API change to Accessible_getRole.
1754 Bugfix for get_action_from_servant ().
1756 2001-12-11 Michael Meeks <michael@ximian.com>
1758 * libspi/libspi.h: remove registry.h and
1759 desktop.h, deviceeventcontroller.h
1761 * libspi/Makefile.am: remove registry.[ch],
1762 desktop.[ch], deviceeventcontroller.[ch]
1764 * registryd/Makefile.am: add registry.[ch],
1765 desktop.[ch], rename registryd.c to registry-main.c.
1766 add deviceeventcontroller.[ch]
1768 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1771 Replace setenv() call with putenv ().
1773 * libspi/component.c:
1774 Bugfix in AccessibleComponent_getExtents (),
1777 2001-12-11 Michael Meeks <michael@ximian.com>
1779 * libspi/image.c (impl_getImageExtents): impl.
1780 (spi_image_class_init): upd.
1783 (AccessibleImage_getImageDescription): fix daft bug
1786 * test/test-simple.c (global_listener_cb): update
1787 to only quit if not --poke
1788 (main): catch --poke.
1789 (validate_accessible): upd. dumping, call test_image
1792 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1795 * idl/Accessibility.idl: update all IDL includes.
1797 * idl/*.idl - rename to namespace - this sucks, blame
1798 mjs' bad decision for oafd.
1800 * test/test-simple.c (create_test_window): add more tests.
1801 (create_tree): split this out.
1802 (validate_accessible): bugfix.
1804 2001-12-11 Michael Meeks <michael@ximian.com>
1806 * cspi/bonobo/cspi-bonobo-listener.c:
1807 (cspi_kestroke_listener_unref),
1808 (cspi_event_listener_unref): impl. undoing previous
1809 homenous environment - for Bill.
1811 * cspi/spi_table.c (long_seq_to_array): use
1814 * cspi/spi_main.c: split out all bonoboish bits into
1817 * cspi/spi-impl.h: upd. typedefs.
1819 * cspi/spi_registry.c: update to lowlevel API,
1820 return booleans to indicate success in some places.
1822 * cspi/spi_event.c: update to lowlevel API.
1824 * cspi/bonobo/Makefile.am: add.
1826 * cspi/bonobo/cspi-lowlevel.h: add
1828 * cspi/bonobo/cspi-bonobo.c: add
1830 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1832 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1833 (SUBDIRS): add bonobo, link in the libs.
1835 * cspi/spi-util.c: kill this file.
1837 * TODO: merge in my bits.
1839 2001-12-11 Michael Meeks <michael@ximian.com>
1841 * test/test-simple.c (test_value, test_table, main):
1842 remove unused variables causing warnings.
1844 * configure.in: cleanup checks - require gail.
1846 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1849 Changed Value interface to use SValue (scalars) rather than
1850 assuming all values are floats. This allows floats, doubles,
1851 longs, shorts, and unsigned values to be manipulated.
1852 Introduced Accessibility:SValue union.
1855 Updated to use new API above, and to work correctly with GValues
1856 of different types in AtkValue.
1859 Updated to use new API above. cspi's API is as yet unchanged.
1862 Updated the Value revision action item.
1864 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1866 * test/test-simple.c:
1867 Added test_table (GtkTreeView widget in test window to follow).
1868 Un-commented test_value, added GtkRange widget.
1869 Added GtkTreeView widget with GtkListStore. It passes regression
1870 test but leaks one SPI object for some reason.
1873 Fixed bug in impl__set_currentValue.
1875 2001-12-10 Michael Meeks <michael@ximian.com>
1877 * cspi/spi_text.c: audit for exception handling,
1878 tolerating NULL object references safely etc.
1880 * cspi/spi_value.c: ditto.
1882 * cspi/spi_table.c (AccessibleTable_getSummary),
1883 (AccessibleTable_getAccessibleAt),
1884 (AccessibleTable_getRowHeader),
1885 (AccessibleTable_getColumnHeader),
1886 (AccessibleTable_getCaption): fix bugs hidden by
1888 (long_seq_to_array): impl.
1889 (AccessibleTable_getSelectedRows),
1890 (AccessibleTable_getSelectedColumns): use it.
1892 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1895 Added a TODO list (rough and short for now).
1897 * cspi/spi_hyperlink.c:
1898 * cspi/spi_hypertext.c:
1899 Fixed macro name typos, and remove use of obsolete macro in
1900 AccessibleHyperlink_getLink.
1902 * cspi/spi_action.c:
1903 * cspi/spi_accessible.c:
1904 * cspi/spi_application.c:
1905 * cspi/spi_component.c:
1906 * cspi/spi_selection.c:
1909 Documentation fixes (removed return values from ref/unref methods).
1911 2001-12-10 Michael Meeks <michael@ximian.com>
1913 * cspi/spi_action.c: audit for exception handling,
1914 tolerating NULL object references safely etc.
1916 * cspi/spi_accessible.c: ditto.
1918 * cspi/spi_component.c: ditto.
1920 * cspi/spi_editabletext.c: ditto.
1922 * cspi/spi_hyperlink.c: ditto.
1924 * cspi/spi_hypertext.c: ditto.
1926 * cspi/spi_image.c: ditto.
1928 * cspi/spi_selection.c: ditto.
1930 2001-12-10 Michael Meeks <michael@ximian.com>
1932 * configure.in: use cspi/libspi.pc.in instead.
1934 * Makefile.am (pkgconfig_DATA): upd. to match.
1936 * test/simple-at.c (report_focus_event): kill hacks around
1937 bad return values, use putenv not setenv
1939 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
1940 fire ChildGone - I killed it.
1942 * libspi/component.c
1943 (impl_accessibility_component_get_extents): remove
1946 * idl/Accessible.idl: kill ChildGone exception.
1948 * cspi/*.[ch]: kill int return from ref / unref.
1950 * cspi/spi_main.c (cspi_object_add_check): fold into
1951 (cspi_object_add): here.
1953 * cspi/spi_component.c (AccessibleComponent_getExtents):
1954 handle exceptions elegantly.
1956 * cspi/spi-private.h (cspi_check_ev_return),
1957 (cspi_return_if_fail): impl.
1959 * cspi/spi_accessible.c: use extensively.
1960 (AccessibleStateSet_equals): add direct compare check.
1962 * cspi/spi_selection.c: tolerate NULL objs, and check
1963 exceptions before return.
1965 * cspi/spi-util.c (cspi_warn_ev): rename to
1966 (cspi_check_ev): this & don't pass ev in; no point.
1968 2001-12-10 Michael Meeks <michael@ximian.com>
1970 * test/test-simple.c: use putenv not setenv
1971 (get_environment_vars): more chatty if you're not using
1974 * test/simple-at.c: do the setenv so more people see the
1977 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1979 * libspi/registry.c:
1980 Changed check of CORBA_environment on notification to be a warning
1981 instead of an error for the moment, since we can recover from this
1982 error when caused by a queued notification from a dead app.
1985 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
1986 used by all current implementors of AtkValue), and coerce to
1987 CORBA_float. (Proper general case fix may require change to Value.idl).
1989 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1993 * cspi/spi_accessible.c:
1994 Documentation fixes: added user_data params to documentation for
1995 listeners and callbacks.
1997 * cspi/spi_accessible.c:
1998 Changed AccessibleStateSet_compare to return a
1999 StateSet rather than return the difference set into a third parameter.
2002 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2005 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
2006 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
2010 Remove subdirectory po from SUBDIRS for now.
2012 * at-bridge/bridge.c:
2013 Beefed up a couple of debug printouts.
2014 One-line fix for signal notification name formatting.
2016 * libspi/accessible.c:
2017 Added assertion to spi_accessible_new ().
2019 * libspi/application.c:
2020 Put #ifdef qualifiers around a printf.
2023 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
2025 * registryd/Makefile.am:
2027 Replaces use of XML_I18N_MERGE_SERVER_RULE with
2028 INTLTOOL_SERVER_RULE macro.
2031 Added an event listener for several ATK signals, for
2032 testing and debugging. Removed a few g_warnings.
2033 Added test output if focussed item implements the Value interface.
2035 * test/test-simple.c:
2036 Added test_value () function (known not to pass at the moment, so
2037 not actually called yet.
2039 2001-12-08 Michael Meeks <michael@ximian.com>
2041 * at-bridge/bridge.c (bridge_focus_tracker),
2042 (emit_eventv): fix the same ref. leak.
2043 (register_atk_event_listeners): don't leak.
2045 * cspi/spi-listener-impl.c (cspi_event): more
2046 protection from client code.
2048 * test/test-simple.c (test_desktop): unref the app.
2050 * test/Makefile.am: upd. TESTS.
2052 * at-bridge/bridge.c (bridge_exit_func): release the registry.
2054 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
2056 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
2058 * cspi/spi_registry.c: constify in strings.
2059 (deregisterGlobalEventListenerAll): don't release the ref.
2061 * cspi/spi.h: start removing redundant / conflicting
2062 gtkdoc comments, making the API readable at a glance :-)
2064 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
2066 * test/keysynth-demo.c (keysynth_exit, main): upd.
2068 * test/simple-at.c (main, simple_at_exit): upd.
2070 * test/test-simple.c (unutterable_horror): kill.
2071 (utterable_normal_derefs): kill.
2072 (main): upd & do a setenv before gtk_init, so that we
2073 can use memprof - and to save the pain of remembering
2074 this, if we're running under memprof - don't exit.
2076 * cspi/spi_main.c (SPI_exit): return exit status
2078 (SPI_event_quit): impl.
2079 (SPI_event_main): simplify.
2080 (cspi_is_gnome_app): kill.
2081 (SPI_init): kill isGNOMEapp arg.
2083 * at-bridge/bridge.c (register_atk_event_listeners):
2084 re-instate the unref.
2085 (bridge_exit_func): don't re-activate the registry,
2086 protect vs. theoretical re-entry, use the
2087 AT_BRIDGE_SHUTDOWN env. var to determine whether to
2088 assert a clean shutdown - for regression tests.
2090 2001-12-08 Abel Cheung <maddog@linux.org.hk>
2092 * configure.in: Comment out dummy i18n support for now,
2093 otherwise it fails to build.
2094 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
2095 EXTRA_DIST. They are missing in tarball.
2097 2001-12-07 Michael Meeks <michael@ximian.com>
2099 * util/magnifier.c: kill bonobo activation reg. race.
2101 * libspi/component.c
2102 (impl_accessibility_component_get_extents): make it match
2105 * libspi/registry.c (_registry_notify_listeners):
2106 re-remove X headers & reconcile conflicts.
2107 (spi_listener_struct_free): bad conflict resolve.
2108 (impl_accessibility_registry_register_application):
2109 more bad merging fixed.
2110 (impl_accessibility_registry_deregister_application): ditto.
2111 (spi_registry_new): ditto.
2112 (spi_registry_init): don't have an applications field.
2114 [ merge fixups2 branch to here ]
2115 2001-12-07 Michael Meeks <michael@ximian.com>
2117 * test/simple-at.c (report_focus_event),
2118 (report_focussed_accessible): remove g_warning debug.
2120 2001-12-07 Michael Meeks <michael@ximian.com>
2122 * test/test-simple.c (validate_tree): comment out some checks.
2123 (test_desktop): app now not registered idly - horay.
2125 2001-12-07 Michael Meeks <michael@ximian.com>
2127 * cspi/spi_registry.c
2128 (registerAccessibleKeystrokeListener): clean, stop it leaking
2129 great swathes of memory, and device event controller references.
2130 ensure we always pass valid sequences.
2131 (deregisterAccessibleKeystrokeListener): ditto.
2132 (generateKeyEvent): upd.
2134 * at-bridge/bridge.c (bridge_key_listener): handle
2135 registry dead exception gracefully.
2136 (bridge_focus_tracker, emit_eventv): free ev.
2138 * test/simple-at.c (report_focus_event): fix polarity.
2140 * libspi/application.c (notify_listeners): kill the ev
2141 argument, and make sure we init the ev we use.
2142 (spi_application_object_event_listener): split out a chunk
2143 (get_atk_object_ref): here & fixup.
2144 (reverse_lookup_name_for_toolkit_event): make const.
2145 (spi_application_toolkit_event_listener): fixup, kill leaks
2148 * at-bridge/bridge.c (register_atk_event_listeners):
2149 don't unref the noop object - causes grief.
2151 * libspi/registry.c: remove the X headers.
2152 turn off the debug churn.
2154 * libspi/accessible.c (spi_accessible_new_return): only
2155 release the ref if we are supposed to [doh]
2157 * test/simple-at.c (report_button_press, report_focus_event):
2158 guard vs. unexpected exit.
2160 * at-bridge/bridge.c (gtk_module_init): prune printf.
2161 (bridge_exit_func): fix app unref.
2163 * libspi/Makefile.am: don't install registry or desktop.h
2165 * libspi/*.h: update includes.
2167 * libspi/application.h: don't include ourself, or
2168 other redundant headers.
2170 2001-12-06 Michael Meeks <michael@ximian.com>
2172 * libspi/accessible.c
2173 (get_accessible_from_servant): impl.
2174 Upd. all CORBA impl.s to use it killing cut and paste.
2176 * cspi/spi_main.c (cspi_cleanup): guard vs. double
2178 (SPI_init): register atexit cleanup handler here.
2180 2001-12-06 Michael Meeks <michael@ximian.com>
2182 * at-bridge/bridge.c (gtk_module_init): g_error on
2183 activation exception
2185 2001-12-06 Michael Meeks <michael@ximian.com>
2187 * at-bridge/bridge.c (gtk_module_init): some sort of
2188 confusing merge clash - reverted.
2189 (bridge_idle_init): ditto.
2191 * test/test-simple.c (main, utterable_normal_derefs):
2192 merge from Bill - somehow not committed.
2194 2001-12-06 Michael Meeks <michael@ximian.com>
2196 * libspi/value.c (spi_value_class_init): upd.
2197 (spi_value_finalize): kill.
2199 * libspi/table.c (spi_table_finalize): kill.
2200 (spi_table_interface_new): upd.
2201 (spi_table_class_init): upd.
2202 (get_table_from_servant): impl.
2203 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2205 * libspi/selection.c (spi_selection_finalize): kill.
2206 (spi_selection_interface_new): upd.
2207 (spi_selection_class_init): upd.
2208 (get_selection_from_servant): impl.
2209 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2211 * libspi/relation.c (spi_relation_finalize): kill.
2212 (spi_relation_class_init, spi_relation_new): upd
2214 * libspi/image.c (spi_image_finalize): kill.
2215 (spi_image_class_init): upd.
2216 (spi_image_interface_new): upd.
2217 (get_image_from_servant): impl.
2218 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2220 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
2221 (spi_hyperlink_finalize): kill.
2222 (spi_hyperlink_new): upd.
2223 (get_hyperlink_from_servant): impl.
2224 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2226 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
2227 (spi_hypertext_finalize): kill.
2228 (spi_hypertext_class_init): upd.
2229 (get_hypertext_from_servant): impl.
2230 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2232 * libspi/editabletext.c (spi_editable_text_finalize): kill.
2233 (spi_editable_text_interface_new): upd.
2234 (get_editable_text_from_servant): impl.
2235 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2237 * libspi/text.c (get_text_from_servant): impl.
2238 All impls - update to use it killing more cut and paste,
2239 also fix bad string returns on duff args ( a somewhat
2240 impossible case to handle - but hey ).
2241 (spi_text_construct): impl.
2242 (spi_text_interface_new): upd.
2243 (spi_text_object_finalize): kill.
2245 * libspi/component.c
2246 (accessibility_component_object_finalize): kill.
2247 (spi_component_class_init): upd.
2248 (get_component_from_servant): impl. helper to kill cut & paste.
2249 (impl_accessibility_component_contains):
2250 (impl_accessibility_component_get_accessible_at_point):
2251 (impl_accessibility_component_get_position):
2252 (impl_accessibility_component_get_extents):
2253 (impl_accessibility_component_get_mdi_z_order):
2254 (impl_accessibility_component_get_layer):
2255 (spi_component_interface_new): upd.
2257 * libspi/action.c (spi_action_finalize): kill.
2258 (spi_action_class_init): upd. inherit from SpiObject.
2259 (spi_action_interface_new): upd.
2260 (get_action_from_servant): impl. helper to reduce cut & paste.
2261 (impl_getKeyBinding, impl_getName, impl_doAction),
2262 (impl_getDescription): Use it everywhere.
2264 * cspi/spi_main.c (get_live_refs): a pointer hash.
2265 (spi_object_hash, spi_object_equal): comment out.
2266 There are issues with CORBA object hashing that need
2269 * libspi/application.c (spi_application_init),
2270 (spi_application_new): upd.
2272 * libspi/accessible.c (spi_accessible_object_finalize): kill.
2273 (spi_accessible_class_init): upd.
2274 s/accessible/object/ in epv methods.
2276 2001-12-05 Bill Haneman <bill.haneman@sun.com>
2278 * at-bridge/bridge.c:
2279 Reorder the bridge initialization into the bridge gtk_module_init,
2280 an immediate call to bridge_register_app, and an idle_add for
2281 register_atk_event_listeners (the only code that *must* wait until
2282 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
2283 the activation, creates the application's Accessible object, and
2284 queues the bridge_idle_init function. Restored call to
2285 Accessibility_Registry_deregisterApplication().
2286 Prior to making this call we obtain a new reference to the
2287 registry, which is a temporary hack that helps us handle apps that
2288 shut down the bonobo mainloop before we get there.
2290 * libspi/registry.c:
2291 Fix string leakage in debug block, and don't segv if a an app
2292 dies before its event notifications have been propagated.
2295 Modify cspi_check_ev() to call g_warning() rather than g_error(),
2296 as stopgap measure until we get proper exception handling when
2297 objects die during or before interrogation.
2301 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
2302 Also changed default value of is_gnome_app to TRUE.
2305 * test/keysynth-demo.c:
2306 Changed use of SPI_init and SPI_event_main to reflect API change above.
2309 Made report_focus_event check the warning value from getName
2310 before reporting on focussed accessible; simplifies handling of
2311 notifications from dead objects.
2313 * test/test-simple.c: (Changes not in this patch since source is
2316 2001-12-05 Michael Meeks <michael@ximian.com>
2318 * registryd/registryd.c (main): protect against
2319 bonobo-activation startup race condition.
2321 * cspi/spi_main.c (cspi_object_add_check): cope
2322 with the exception elegantly.
2324 * idl/Accessible.idl: decl. ChildGone
2326 * libspi/desktop.c (spi_desktop_dispose): impl.
2327 (spi_desktop_class_init): upd.
2328 (spi_desktop_add_application),
2329 (spi_desktop_remove_application),
2330 (abnormal_application_termination): impl.
2331 (impl_desktop_get_child_at_index): re-impl.
2334 (impl_accessibility_registry_deregister_application),
2335 (impl_accessibility_registry_register_application):
2336 kill excessive debug clutter.
2338 * test/test-simple.c (test_misc): test some NULL
2339 tolerance. (main): upd.
2341 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
2342 implements no interfaces - so let's not crash.
2344 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
2346 * libspi/accessible.c (spi_accessible_new_return): impl.
2347 helper to calm the cut and paste, to cope with
2348 NULL AtkObjects effectively and efficiently, and to kill
2349 the referencing bugs.
2351 * libspi/table.c (impl_getAccessibleAt),
2352 (impl_getRowHeader, impl_getColumnHeader): upd.
2354 * libspi/hyperlink.c (impl_getObject): upd.
2356 * libspi/accessible.c
2357 (impl_accessibility_accessible_get_child_at_index): upd.
2359 * libspi/component.c
2360 (impl_accessibility_component_get_accessible_at_point): upd.
2362 * test/test-simple.c (test_editable_text, test_text): impl.
2365 * cspi/spi_editabletext.c
2366 (AccessibleEditableText_insertText): constify.
2368 * test/test-simple.c (focus_me): make more robust.
2370 * libspi/accessible.c: remove some printfs in methods that
2371 we test and work fine, so we can get a clean tree dump.
2373 * test/test-simple.c (validate_accessible),
2374 (validate_tree): make tree dumping pretty too.
2376 * at-bridge/bridge.c (bridge_signal_listener): upd. so
2377 it builds without debug on.
2379 * test/test-simple.c (validate_accessible): fix the most
2382 * cspi/spi_main.c (spi_object_release): leave the nicely
2383 blanked memory around if in debug mode.
2385 * cspi/spi-listener-impl.c (cspi_event): use add_check.
2387 [committed to fixups2]
2388 2001-12-05 Michael Meeks <michael@ximian.com>
2390 * libspi/editabletext.c
2391 (spi_editable_text_class_init): g_type_class_peek_parent,
2392 not interface peek - so we finalize cleanly.
2394 * libspi/accessible.c (spi_accessible_new): kill debug.
2396 * test/test-simple.c (validate_accessible): fix ref.
2397 leak, print strings before freeing them; sigh, comment a
2398 chunk out due to strangeness.
2399 (validate_tree): unref the child after use.
2401 * cspi/spi_component.c (AccessibleComponent_getLayer):
2402 add missing break statement, switch on zlayer not the
2403 uninitialized retval.
2405 * cspi/spi_main.c (cspi_object_add): add assert, local ref
2406 before (possibly re-entering) remote unref.
2408 * test/simple-at.c (main): unref the desktop.
2410 * cspi/spi_accessible.c (cspi_accessible_is_a): move
2413 * cspi/spi_main.c (cspi_accessible_is_a): here to
2414 isolate bonobo API usage more.
2416 * libspi/registry.c (impl_accessibility_registry_register_application):
2417 prune bogus comment.
2419 2001-12-04 Michael Meeks <michael@ximian.com>
2421 * test/test-simple.c (validate_tree): upd.
2422 IndexInParent check to make it more lucid.
2423 (validate_accessible): dump the tree.
2425 * libspi/accessible.c (de_register_public_ref),
2426 (get_public_refs): impl.
2427 (spi_accessible_new): make more efficient & intuitive.
2428 Now IndexInParent check works.
2430 2001-12-04 Michael Meeks <michael@ximian.com>
2432 * cspi/spi-util.h: remove.
2434 * cspi/spi.h: move SPI_freeString here
2436 * libspi/component.c (impl_accessibility_component_get_layer):
2438 (impl_accessibility_component_get_mdi_z_order): ditto,
2439 return -1 on error - is this ok ?
2441 * test/test-simple.c (test_application): impl.
2443 * cspi/spi_accessible.c (Accessible_getApplication),
2444 (Accessible_isApplication): impl.
2446 * libspi/registry.c (spi_listener_struct_free): release
2447 the CORBA reference too.
2449 * libspi/accessible.c
2450 (impl_accessibility_accessible_get_parent): fix ref leak.
2452 * libspi/registry.c (spi_registry_new): make the registry
2453 immortal - we don't want it to go away ever.
2455 * libspi/application.c
2456 (spi_accessible_application_finalize): impl. cleanup.
2458 * cspi/spi_registry.c
2459 (deregisterGlobalEventListenerAll),
2460 (deregisterGlobalEventListener),
2461 (deregisterAccessibleKeystrokeListener): fix ref leak.
2463 * cspi/spi_main.c (SPI_init): remove redundant ref.
2465 * test/test-simple.c (unutterable_horror): impl. to force a
2470 (impl_accessibility_registry_deregister_application): release
2471 the application when we de-register it.
2473 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
2474 until we have the infastructure to get it right.
2476 2001-12-03 Michael Meeks <michael@ximian.com>
2478 * libspi/Makefile.am: only build eventlistener.[ch]
2480 * libspi/accessible.c
2481 (impl_accessibility_accessible_get_child_at_index): don't leak.
2483 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
2484 before we hit the idle handler.
2486 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
2487 debugging than exit.
2489 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
2491 * libspi/listener.c (impl_notify_event): check source
2492 not NIL before unref.
2494 * libspi/registry.c (impl_registry_notify_event): ditto.
2496 * libspi/eventlistener.c
2497 (impl_accessible_event_notify_event): unref the source.
2499 * libspi/accessibleeventlistener.c
2500 (impl_accessible_event_notify_event): unref the source.
2502 * idl/Event.idl: remove 'hash_id' attribute - of no
2505 * libspi/application.c (notify_listeners): upd list
2507 (spi_application_object_event_listener),
2508 (spi_application_toolkit_event_listener): upd to do correct
2512 (_registry_notify_listeners): update.
2513 (parse_event_type): this method also leaks like a sieve.
2514 (impl_accessibility_registry_deregister_global_event_listener):
2515 fix ETYPE_WINDOW case.
2517 * libspi/application.c
2518 (impl_accessibility_application_register_object_event_listener):
2521 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
2523 * libspi/hypertext.c (impl_getLink): ditto.
2525 * cspi/spi_main.c (cspi_object_add): remove
2526 bogus CORBA_Object_duplicate.
2528 * cspi/spi-listener-impl.c (cspi_event): dup/ref
2531 * cspi/spi_accessible.c
2532 (Accessible_getRelationSet): fix leak / referencing issue.
2534 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
2535 (cspi_object_add, cspi_object_unref): upd.
2536 (spi_object_release, get_live_refs): impl.
2537 (cspi_cleanup): simplify.
2539 * *.[ch]: s/boolean/SpiBoolean/
2541 * cspi/spi_accessible.c (role_names): actualy order so it
2542 corresponds with the enum !
2544 * test/test-simple.c (test_roles): check some role strings
2545 vs. enums to detect offset errors.
2547 2001-12-01 Michael Meeks <michael@ximian.com>
2549 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
2551 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
2553 (Accessible_getChildAtIndex): use cspi_add_check so we
2554 check the ev before using a (possibly) invalid value.
2556 * libspi/accessible.c
2557 (impl_accessibility_accessible_get_parent): don't segv
2560 * at-bridge/bridge.c (gtk_module_init): upd.
2561 (bridge_property_event_listener): don't leak strings
2563 (bridge_state_event_listener),
2564 (bridge_property_event_listener): don't use a static
2565 buffer in case of recursive event emission &
2566 re-enterancy - split out the swathe of cut and paste
2568 (emit_eventv): and fix 2 ref leaks here & comply to the
2570 (bridge_register_app): rename to
2571 (bridge_idle_init): this and kill arg parsing, split
2572 various inits & bonobo-activation registration to module
2573 init time, kill referencing error.
2574 (bridge_exit_func): fix the same leak.
2575 (bridge_focus_tracker): don't leak event structures
2577 (bridge_signal_listener): more leakage and cut & paste
2579 (bridge_key_listener): return the result - FIXME is
2580 this polarity correct ?
2581 (accessibility_keystroke_from_atk_key_event): rename
2582 (accessibility_init_keystroke_from_atk_key_event): and stop
2584 (gtk_module_init): return a value - not that it is checked by
2586 (bridge_key_listener): register my horror at casting between
2587 IDL defined structs.
2588 (bridge_get_registry): kill - not used.
2590 * cspi/spi_accessible.c (Accessible_getRole): make return const.
2592 * test/test-simple.c (test_roles): impl.
2593 (test_desktop, validate_accessible, validate_tree): impl.
2595 * cspi/spi_accessible.c (role_names): fixup bogus
2596 MAX_ROLES setup, make constants const for efficient linkage
2597 (AccessibleRole_getName): conform to coding style, make
2600 2001-11-30 Michael Meeks <michael@ximian.com>
2602 * cspi/spi.h: add missing prototype.
2604 * libspi/registry.c (spi_listener_struct_new): fix sig.
2606 * test/Makefile.am: add test-simple
2608 * test/test-simple.c: add
2610 * test/test.sh: add.
2612 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
2614 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
2615 do it straight - since otherwise we often get an activation race.
2617 [ work before Bill duplicated a chunk of it ... ]
2618 2001-11-30 Michael Meeks <michael@ximian.com>
2620 * libspi/keystrokelistener.c
2621 (spi_keystroke_listener_class_init): fixup arg
2624 * libspi/eventlistener.c
2625 (spi_event_listener_class_init): ditto.
2627 * tests/test.sh: add.
2629 * cspi/spi-listener-impl.h: update macros.
2631 * cspi/spi-listener-impl.c
2632 (cspi_event_listener_remove_callback): add
2633 correct pre-conditions.
2635 * cspi/spi_main.c (SPI_exit): guard vs. double
2636 exits, exit the mainloop nicely.
2637 (SPI_event_main): make more sense.
2638 (SPI_init): move the atexit evilness here so we
2639 always do it (yuck).
2640 (SPI_event_main): upd.
2642 * test/simple-at.c: update for listener changes.
2644 * registryd/registryd.c (main): prune kruft.
2646 * libspi/libspi.h: upd.
2648 * libspi/eventlistener.[ch]: rename broken macros.
2650 * libspi/accessibleeventlistener.[ch]: remove.
2652 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
2654 * test/test-simple.c: Add - automated tests.
2656 * cspi/spi-listener-impl.c (cspi_event),
2657 (cspi_key_event): add user_data to invoke.
2658 (cspi_keystroke_listener_finalize): impl.
2659 (cspi_keystroke_listener_class_init): upd.
2662 (createAccessibleEventListener),
2663 (AccessibleEventListener_addCallback),
2664 (createAccessibleKeystrokeListener),
2665 (AccessibleKeystrokeListener_addCallback): upd.
2667 * libspi/deviceeventcontroller.c
2668 (spi_device_event_controller_check_key_event): add public proto.
2671 (impl_accessibility_registry_deregister_global_event_listener):
2672 always init listeners.
2673 (_registry_notify_listeners): yes it is.
2675 * cspi/spi-listener-impl.c (cspi_key_event):
2677 (cspi_event_listener_finalize): impl.
2678 (cspi_event_listener_class_init): hook up.
2679 (event_handler_new, event_handler_free),
2680 (event_list_remove_by_callback): impl.
2681 (cspi_event_listener_remove_callback),
2682 (cspi_keystroke_listener_remove_callback),
2683 (cspi_keystroke_listener_add_callback),
2684 (cspi_event_listener_add_callback): upd.
2686 * libspi/keystrokelistener.c
2687 (keystroke_listener_object_finalize): kill
2688 (spi_keystroke_listener_class_init): upd.
2689 (spi_keystroke_listener_add_callback),
2690 (spi_keystroke_listener_remove_callback): kill,
2692 (impl_key_event): prune drasticaly.
2694 * libspi/eventlistener.c
2695 (spi_event_listener_add_callback),
2696 (spi_event_listener_remove_callback): kill, use
2698 (impl_accessible_event_notify_event): upd.
2699 (spi_event_listener_object_finalize): remove.
2701 * libspi/Makefile.am: use eventlistener.[ch]
2703 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2705 * libspi/registry.c (_registry_notify_listeners):
2706 Changed listener loop iteration to use preferred convention.
2707 Got rid of string memory leaks caused be calling g_strconcat
2708 inside function calls.
2710 * libspi/registry.c (parse_event_type):
2711 Stopped g_strconcat memory leaks, free the g_strsplit return,
2712 g_strdup the split pieces when used, etc.
2714 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2717 Change method 'compare' to return a 'difference set' rather than
2718 taking a StateSet as an out parameter (more Java-friendly).
2720 * idl/Accessible.idl:
2721 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2723 * idl/Component.idl:
2725 Changed methods 'getExtents' and 'getImageExtents' in these
2726 interfaces to return a BoundingBox structure.
2727 (getPosition and getSize are redundant and possibly should be
2728 removed, rather than creating a corresponding Point struct.)
2730 * cspi/spi_component.c:
2731 Modify implementation of getExtents to reflect the above IDL
2736 Add (missing) AccessibleImage_getExtents () API.
2738 * docs/reference/cspi/at-spi-cspi-sections.txt:
2739 Added AccessibleImage_getImageExtents () to docs.
2741 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2743 * idl/Component.idl:
2744 Added two methods, getLayer () and getMDIZOrder (), to reflect
2745 the new ATK methods atk_object_get_layer and
2746 atk_object_get_mdi_z_order. (Which arguably should be part of the
2747 AtkComponent API and AtkObject). Also added an enum,
2748 ComponentLayer, for the first method's return value.
2750 * libspi/component.c:
2751 Added implementations for these methods.
2753 * cspi/spi_component.c:
2755 Added cspi binding methods for above,
2756 AccessibleComponent_getLayer() and
2757 AccessibleComponent_getMDIZOrder().
2758 Added cspi enum 'AccessibleComponentLayer'.
2760 * docs/reference/cspi/at-spi-cspi-sections.txt:
2761 Added above methods to docs.
2765 Changed typedef for 'boolean' type (and all references to it) to
2766 SPIBoolean, to avoid keyword clashes with C++.
2769 Changed usages of 'boolean' to SPIBoolean.
2771 * test/keysynth-demo.c:
2772 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2773 app), except where SPIBoolean is required by the callbacks API.
2775 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2777 * cspi/spi_registry.c:
2778 Removed obsolete X event loop for passive keygrabs (which now
2781 * registryd/registryd.c:
2782 Removed unnecessary call to gdk_init() [cruft]. This also allows
2783 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2786 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2788 * docs/reference/cspi:
2789 Included docs for SPI_freeString in generated documentation.
2792 Renamed spi_freeString to SPI_freeString, for consistency. Added
2793 documentation for this function.
2796 Renamed spi_freeString to SPI_freeString, for consistency.
2797 Removed obsolete method declaration string_from_corba_string.
2799 * test/keysynth-demo.c:
2800 Small tweak to comments.
2803 Stopped leaking the strings returned from CSPI.
2805 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2807 Merged Michael's branch (see his ChangeLog entries below).
2809 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2810 bridge is alive, release on exit.
2812 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2813 Fix type check macro.
2816 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2819 Added is_gnome_app static, and method cspi_is_gnome_app(),
2820 so we can call the appropriate shutdown routine at exit in SPI_exit.
2822 * cspi/spi_main.c (cspi_object_ref):
2823 Duplicate the corba object passed in, since we're keeping it around.
2825 * cspi/SPI_exit.c, cspi_cleanup:
2826 Moved the releasing of the live refs to its own function, so we
2827 can put it in g_atexit (). Call the appropriate shutdown API
2828 depending on whethe calling client is a gnome app or not
2829 (bonobo_main_quit or CORBA_ORB_shutdown).
2831 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2832 Unref the listener when this method is called, after
2833 deregistration. Updated the API docs to note this behavior.
2835 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2836 Bugfixes: Ref the bonobo object when returning a parent or child
2837 reference, or an AccessibleRelation. Generally made sure
2838 BonoboObject refcount is incremented whenever we return an
2841 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2842 Fixed typo/bug in signal declaration.
2844 * libspi/accessibleeventlistener.h:
2847 * libspi/application.c (spi_application_new):
2848 Fixed leak in initialization.
2851 Remembered to increment bonobo-object refcount when returning
2852 children (applications) from desktop object.
2853 Added (empty) finalize method.
2855 * libspi/deviceeventcontroller.c:
2856 Hold a ref to listeners inside DEControllerKeyListeners.
2857 Added dec_key_listener_free() method. Use prepend instead of
2858 append in key_listener list. Fixed some refcount madness and
2859 leaks in the listener registration/deregistration - deregistration
2860 now calls dec_key_listener_free() on listeners, and on the
2861 temporarily constructed dec_key_listener() used to perform the search/match.
2863 * libspi/hypertext.c (spi_hypertest_finalize):
2864 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2865 class. Also fixed spi_hypertext_interface_new() and
2866 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2868 * libspi/hypertext.h:
2869 Removed pointless and duplicate AtkObject pointer from
2872 * libspi/keystrokelistener.c:
2873 Fixed incorrect type of keystroke_listener_parent_class,
2874 renamed keystroke_listener_object_finalize to
2875 spi_keystroke_listener_object_finalize.
2876 Fixed typo in signal declaration
2877 (spi_keystroke_listener_class_init).
2879 * libspi/registry.c:
2880 Added funcsions spi_listener_struct_new() and
2881 spi_listener_struct_free() to help with memory management issues.
2882 We also now use these methods instead of gnew + poking stuff into
2883 the struct, and to decrement listener counts/free the listeners
2884 when deregistering them.
2885 Fix more refcount bugs in getDesktop() and
2886 getDeviceEventController().
2889 De-ref the desktop after enumerating the applications. Explicitly
2890 decrement the refcounts on the created listeners on exit (using
2891 _unref for keystroke listeners, and via the
2892 deregisterGlobalEventListenerAll command for other event
2895 2001-11-27 Michael Meeks <michael@ximian.com>
2897 * cspi/spi-listener.h: fixup enum.
2899 2001-11-27 Michael Meeks <michael@ximian.com>
2901 * cspi/spi-listener-impl.c (cspi_event_listener_new),
2902 (cspi_keystroke_listener_new): Use the cspi variants.
2904 2001-11-26 Michael Meeks <michael@ximian.com>
2906 * test/keysynth-demo.c: fix 2 compile warnings, missing
2909 * test/simple-at.c (report_focussed_accessible),
2910 (report_focus_event, report_button_press),
2911 (check_property_change, is_command_key),
2912 (report_ordinary_key_event, report_command_key_event): upd.
2914 * util/mag_client.h: include pre-requisites.
2916 * libspi/accessibleeventlistener.c
2917 (spi_event_listener_object_finalize): free any lingering
2920 * libspi/keystrokelistener.c
2921 (keystroke_listener_object_finalize): ditto.
2923 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
2924 callbacks, with cspi types.
2926 * cspi/spi_event.c (createAccessibleEventListener): chain to
2927 (AccessibleEventListener_addCallback): here.
2928 (createAccessibleKeystrokeListener): chain to
2929 (AccessibleKeystrokeListener_addCallback): here.
2931 * libspi/keystrokelistener.c
2932 (spi_keystroke_listener_class_init): add signal.
2933 (impl_key_event): emit the event.
2934 (boolean_handled_accumulator): impl.
2935 (marshal_BOOLEAN__POINTER): add, gack.
2937 * libspi/accessibleeventlistener.c
2938 (spi_event_listener_class_init): add signal.
2939 (impl_accessible_event_notify_event): emit the signal &
2940 make the loop efficient.
2941 (spi_event_listener_add_callback): prepend the callback.
2943 * libspi/accessibleeventlistener.h: add an 'event' signal,
2944 decl type on callback.
2946 * libspi/keystrokelistener.h: ditto.
2948 * cspi/spi-listener.h: make methods typesafe and
2949 make them use the new event typedefs.
2951 * test/simple-at.c (report_focussed_accessible):
2952 include mag_client.h
2953 Use *(void *)text_interface not the other thing.
2955 * configure.in: add gtk to registryd bits - since we use
2958 * util/magnifier.c: include libbonobo.h
2960 2001-11-25 Bill Haneman <bill.haneman@sun.com>
2962 * test/keysynth-demo.c:
2963 Turned this into a simple scanning keyboard, to demonstrate the
2964 use of g_timeout_add () as a means of creating timers for
2965 scanning, and the use of GtkStyle for visually indicating when
2966 virtual keyboard elements are selected.
2968 keysynth-demo now listens to any keyboard keys with zero-valued
2969 keycodes (i.e. 'unused' keys) and interprets them as
2972 Reworked the shiftlatch code so that shift-down state isn't held
2973 for long periods (it's only synthesized immediately prior to
2974 the keysynth event it's modifying). Note that shiftlatch in this
2975 demo is a convenience, not intended to take the place of AccessX
2976 which is the better choice for getting 'sticky' modifier keys.
2978 * libspi/deviceeventcontroller.c:
2979 * at-bridge/bridge.c:
2980 * cspi/spi_registry.c:
2981 Removed some debug print stuff, and put other verbosity in #ifdef
2986 Implemented some more of the magnifier IDL for the simple
2987 magnifier: namely, getZoomRegionParams.
2988 Added mag_x and mag_y members to MagnifierData struct, aid of this
2990 Added GtkWindow::realize signal handler to magnifier, to keep it
2991 from receiving keyboard focus from the WM.
2993 2001-11-23 Mark McLoughlin <mark@skynet.ie>
2995 * cspi/spi-private.h: my guess at what michael forgot
2996 before he ran off to NZ :-)
2998 2001-11-23 Michael Meeks <michael@ximian.com>
3000 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
3001 comment out non existant method invoke so we link.
3003 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
3004 use bonobo_exception_get_text for more friendly warnings.
3006 * cspi/spi.c (Obj_Add): move into spi_main & rename
3007 spi_object_add; kill spi.c
3009 * cspi/spi_registry.c
3010 (deregisterGlobalEventListener),
3011 (deregisterGlobalEventListenerAll),
3012 (registerGlobalEventListener): fix exception leaks.
3014 * cspi/spi_main.c (spi_exception): impl. helper, so we
3015 don't leak exceptions.
3017 * cspi/spi_selection.c
3018 (AccessibleSelection_deselectSelectedChild): return the
3021 * cspi/spi_main.c (spi_ev): impl; hack - gack.
3022 (spi_registry): ditto.
3023 (SPI_init): guard against double inits.
3025 * cspi/*.c: use spi_ev (), and spi_registry () where
3026 appropriate - a temporary hack until we have something
3027 better. Use spi_object_add
3029 2001-11-22 Michael Meeks <michael@ximian.com>
3031 * cspi/Makefile.am: re organise, install the headers.
3033 * cspi/*.h: add G_BEGIN/END_DECLS
3035 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3038 Added non-preemptive keylistener for key events with no modifiers
3039 and shift-only modifier.
3041 * libspi/keystrokelistener.c:
3042 Removed some verbose diagnostics printout.
3044 * cspi/spi_registry.c:
3045 Fixed a bug that caused all key listeners to be registered as
3048 * libspi/deviceeventcontroller.c:
3049 Fixed bug that caused XGrabKey (preemptive key grab) to be called
3050 for non-preemptive key masks.
3053 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3055 * docs/reference/idl/at-spi-idl-docs.sgml:
3056 * docs/reference/idl/at-spi-idl-sections.txt:
3057 * docs/reference/idl/at-spi-idl-overrides.txt:
3058 Added missing files.
3060 * docs/reference/Makefile.am:
3061 removed idl from SUBDIRS until we can figure a way to get gtk-doc
3062 to scan the IDL files :-(
3067 Added .cvsignore files.
3069 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3071 * libspi/deviceeventcontroller.c:
3072 * libspi/keystrokelistener.c:
3074 * cspi/spi_registry.c:
3075 Added filters for KeySets, KeyEventSeq, and event types to key
3076 event dispatching, so listeners should only receive those events
3077 that they requested :-)
3079 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3084 * docs/reference:Makefile.am:
3085 * docs/reference/cspi:
3086 * docs/reference/cspi:Makefile.am:
3087 * docs/reference/cspi:tmpl:
3088 * docs/reference/cspi:tmpl:*.sgml:
3089 * docs/reference/idl:
3090 * docs/reference/idl:Makefile.am:
3091 * docs/reference/idl:at-spi-idl-sections.txt:
3092 * docs/reference/idl:at-spi-idl-docs.sgml:
3093 * docs/reference/idl:tmpl:
3094 * docs/reference/idl:tmpl:*.sgml:
3096 Restructured docs directory to allow separate 'reference' docs
3097 section, and forked idl and cspi docs. Added the sgml template
3098 files to CVS. Added the first sections/structural sgml for the
3101 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
3103 * configure.in, libspi/Makefile.am: find libXtst.
3105 2001-11-21 Michael Meeks <michael@ximian.com>
3107 * test/accessx-gui.c: s/spi_value/value/ - doh.
3109 * libspi/base.[ch]: add.
3111 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3113 * idl/Accessible.idl:
3114 * idl/Application.idl:
3117 Started gtk-doc cleanup on IDL.
3119 * libspi/deviceeventcontroller.c:
3120 Added and connected non-preemptive key notification from the
3121 toolkits (in addition to the pre-emptive support from XServer
3122 which we had before, but which causes 'focus flashing'). Filters
3123 are presently limited to key modifiers and global/non-global,
3124 KeySets are presently ignored, as are KeyEvent masks.
3126 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
3127 structs into the persistant structure rather than just storing
3128 pointers to things that might not persist across servant
3131 The XGrabKey call now does async keygrabs, because synchronous
3132 ones were deadlocking with GDK_event code in a very nasty way.
3134 Added boolean to internal method notify_keylisteners, to indicate
3135 whether the event came from the 'toolkit source' or the 'global
3136 (XServer) source' - this is used in the notification process to
3137 determine which listeners to send the event to.
3139 deviceeventcontroller.c is now warning-free.
3141 * libspi/registry.c:
3142 Fixed regression in application de-registration.
3143 Also fixed some really brain-dead weirdness having to do with
3144 event dispatching - event structs are now duplicated before being
3145 re-marshalled in the dispatch to listeners. This also fixes a
3146 Solaris build problem.
3149 2001-11-20 Michael Meeks <michael@ximian.com>
3152 (impl_accessibility_registry_deregister_global_event_listener):
3155 * libspi/deviceeventcontroller.c
3156 (spi_device_event_controller_check_key_event): return
3157 FALSE on no virtual method.
3159 * libspi/*..h: make includes work on a correctly pathed install.
3161 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
3163 * libspi/application.h: kill unused ( and whacked out )
3164 gboolean *spi_application_set_id (AtkObject *app, long id);
3166 2001-11-20 Michael Meeks <michael@ximian.com>
3168 * libspi/*.[ch]: further convert to bonobo's type func
3169 macros, remove redundnant casts etc.
3171 * libspi/text.c s/accessibility_text/spi_text/g,
3172 re-order to de-cruft.
3174 * libspi/hypertext.c: re-order to kill a huge slew
3175 of redundant forward decls.
3177 * libspi/relation.c: ditto.
3179 * libspi/image.c: ditto.
3181 * */.cvsignore: update
3183 2001-11-20 Michael Meeks <michael@ximian.com>
3185 * libspi/deviceeventcontroller.c
3186 (_controller_register_with_devices): use g_getenv,
3187 kill stdlib.h include.
3189 * libspi/keystrokelistener.c
3190 (spi_keystroke_listener_get_type): kill
3191 (spi_keystroke_listener_class_init),
3192 (spi_keystroke_listener_init): rename to this.
3194 * libspi/text.c (impl_getAttributes): fix warning / bug.
3196 * libspi/*.[ch]: more headers, includes and over commenting.
3198 2001-11-20 Michael Meeks <michael@ximian.com>
3200 * libspi/*.[ch]: fixup headers, includes and over commenting.
3202 * libspi/image.c (impl__get_imageDescription): const
3203 correctness warning fix. remove redundant casting.
3205 * libspi/table.c (impl_getRowDescription): ditto.
3206 (impl_getColumnDescription): ditto.
3208 * libspi/libspi.h: add.
3210 2001-11-19 Michael Meeks <michael@ximian.com>
3212 * libspi/editabletext.c (impl_setAttributes): fix warnings.
3214 * libspi/component.c (accessibility_component_get_type):
3215 rename to (spi_component_get_type): and macroify.
3216 (accessibility_component_init): rename to
3217 (spi_component_init): this
3218 (accessibility_component_class_init): rename to
3219 (spi_component_class_init): this
3221 * libspi/action.c (spi_action_get_type): kill, use the macro.
3223 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
3226 * libspi/application.c (spi_application_object_event_listener),
3227 (impl_accessibility_application_register_object_event_listener):
3228 warning fixes / const understanding updates.
3230 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
3233 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3235 * libspi/spi_accessible.c: Added docs and C bindings for
3236 AccessibleStateSet. (No implementations yet). Documentation
3237 coverage for C bindings now 100%. Made docs for event listeners
3242 boolean notifyListenersSync (in DeviceEventListener listener,
3243 in DeviceEvent event);
3245 oneway void notifyListenersAsync (in DeviceEventListener listener,
3246 in DeviceEvent event);
3248 Added DeviceEventListener and DeviceEvent structs (may deprecate
3249 KeyStroke and KeystrokeListener in favor of this generic
3250 event/listener framework for devices).
3252 * libspi/deviceeventcontroller.c:
3254 Changed some key listener code to take masks, etc., and paved the
3255 way for integration of toolkit/non-preemptive key events. Changed
3256 signatures of some internal methods.
3258 * at-bridge/bridge.c:
3259 Fixed regression connecting to interface signals, apparently
3260 caused by GTK+ changes.
3262 Added an internal bridge_state_listener to deal with
3263 property-change:accessible-state signals.
3265 Changed the key_listeners GList to store structs (including masks,
3266 etc.) instead of just CORBA_Objects (required for full
3267 implementation of key listener API).
3269 Connected the bridge to all currently supported Atk signals.
3270 Events now supported:
3271 object:property-change
3272 object:property-change:accessible-name
3273 object:property-change:accessible-state
3274 object:property-change:accessible-description
3275 object:property-change:accessible-parent
3276 object:property-change:accessible-value
3277 object:property-change:accessible-role
3278 object:property-change:accessible-table-caption
3279 object:property-change:accessible-table-column-description
3280 object:property-change:accessible-table-column-header
3281 object:property-change:accessible-table-row-description
3282 object:property-change:accessible-table-row-header
3283 object:property-change:accessible-table-summary
3284 object:children-changed
3285 object:visible-data-changed
3286 object:selection-changed
3287 object:text-selection-changed
3289 object:text-caret-moved
3291 object:row-reordered
3293 object:column-inserted
3294 object:column-reordered
3295 object:column-deleted
3296 object:model-changed
3298 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3300 * libspi/hyperlink.c,h:
3301 Fixed some broken stuff in hyperlink.
3303 * libspi/relation.h:
3304 * libspi/relation.c:
3305 * cspi/spi_accessible.c:
3306 Initial implementations of AccessibleRelation methods, and docs.
3308 * libspi/accessible.c:
3309 Fixed a bug that caused SEGV if an accessible
3310 object's description is NULL, and a client
3311 requests it. An empty string is now returned.
3313 * cspi/spi_editabletext.c:
3314 * cspi/spi_hypertext.c:
3316 * cspi/spi_hyperlink.c:
3320 Doc coverage now 95%.
3322 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3324 One last namespacing revision:
3325 * libspi/accessibleeventlistener.[ch]:
3326 Renamed SpiAccessibleEventListener to SpiEventListener,
3327 (no need for two namespaces ;-)
3329 And lots of documentation fixes:
3331 * docs/at-spi-docs.sgml:
3332 Fixed 'underscore vs. hyphen' bug that was preventing
3333 the gtk-doc API docs from being automatically generated.
3336 * cspi/spi-listener.h
3338 * cspi/spi_accessible.c
3340 * cspi/spi_application.c
3341 * cspi/spi_component.c
3342 * cspi/spi_editabletext.c
3344 * cspi/spi_hypertext.c
3346 * cspi/spi_registry.c
3347 * cspi/spi_selection.c
3351 * docs/at-spi-docs.sgml
3352 * docs/at-spi-sections.txt
3354 Added and fixed up gtk-doc documentation in cspi.
3356 Interfaces now (fully) documented (subject to revision and enhancement):
3358 Event Listener Support
3360 AccessibleApplication
3364 AccessibleEditableText
3371 AccessibleRelationSet
3376 2001-11-14 Bill Haneman <bill.haneman@sun.com>
3378 * at-bridge/bridge.c:
3379 Initial work for toolkit-level key snooper connection by bridge.
3384 New typedefs and fixes to support new namespacing, and cleaner
3385 separation of cspi bindings from libspi bonobo implementation.
3386 Removed inconsistent and extraneous Spi* namespace prefix that
3387 had crept into cspi headers.
3388 Lots of comment fixes that sed had missed.
3390 * cspi/spi-roletypes.h:
3391 * cspi/spi-statetypes.h:
3392 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
3393 to AccessibleRoleType.
3395 * libspi/accessibleeventlistener.h:
3396 Fixed minor namespacing weirdness.
3398 * libspi/deviceeventcontroller.c:
3399 Reordered some internal API for device listeners.
3400 Changed the key registry final boolean to 'is_system_global'
3401 rather than 'is_synchronous', which is more descriptive of its
3403 Added spi_device_event_controller_new().
3404 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
3406 * libspi/keystrokelistener.[ch]:
3407 Namespaced KeystrokeListener to SpiKeystrokeListener.
3408 Changed uses of keymasks to use SPI_ prefix, and did other
3411 * libspi/keymasks.h:
3412 Namespaced keymask constants with SPI_ prefix.
3414 * libspi/registry.c:
3415 Some warning fixes, and knock-on fixes from namespace changes.
3418 Added rules for accessx-gui test program.
3420 * test/accessx-gui.c:
3421 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
3422 utility. It doesn't actually use at-spi, but it's still cool and
3425 * test/keysynth-demo.c:
3429 Fixes so that these test clients work properly with the namespaced
3430 libraries. (Incompletely tested for technical reasons, fixes may follow)
3433 2001-11-13 Michael Meeks <michael@ximian.com>
3435 * libspi/application.c
3436 (impl_accessibility_application_get_version),
3437 (impl_accessibility_application_get_toolkit_name):
3439 (impl_accessibility_application_set_id),
3440 (impl_accessibility_application_get_id): remove
3441 redundant casting code.
3443 * libspi/action.c (impl_getDescription): fix warnings.
3445 * libspi/accessible.c
3446 (impl_accessibility_accessible_get_parent),
3447 (impl_accessibility_accessible_get_child_at_index),
3448 (impl_accessibility_accessible_get_state),
3449 (impl_accessibility_accessible_get_relation_set):
3450 warning fixes & include action.h
3452 2001-11-13 Michael Meeks <michael@ximian.com>
3454 * *.[ch] fix bits I screwed up:
3456 s/([^ \tb(\*\&\?\",])spi_/\1/g;
3457 s/([^ \tb(\*\&\?\",])Spi/\1/g;
3459 2001-11-13 Michael Meeks <michael@ximian.com>
3461 * *.[ch] Namespace libspi into spi_ and Spi.
3463 2001-13-11 Michael Meeks <michael@ximian.com>
3465 * Makefile.am: dist & install at-spi-1.0.pc
3467 * libspi/Makefile.am: install into at-spi-1.0
3469 * idl/Makefile.am (idldir): install into at-spi-1.0
3471 * at-spi-1.0.pc.in: add.
3473 * configure.in: build it.
3475 2001-11-12 Bill Haneman <bill.haneman@sun.com>
3477 * test/keysynth-demo.c:
3478 Use a 'realize' signal-handler to set the WM properties for
3479 the virtual keyboard, rather than making it a "POPUP" type
3480 override-redirect window (thanks to anders carlsson for that
3483 2001-11-11 Bill Haneman <bill.haneman@sun.com>
3486 * test/keysynth-demo.c:
3487 Added new test of key synthesis, which creates a simple
3488 (mouse-operated) onscreen keyboard. It inserts key events into
3489 the currently-focused window, thus it does not grab keyboard focus
3492 * cspi/spi_registry.c:
3493 Added C binding for AT-SPI generateKeyEvent.
3495 * libspi/deviceeventcontroller.c:
3496 Added call to XFilterEvent so that key listener works with XIM (we
3497 hope). Added event_synth_type to generateKeyEvent, so that we can
3498 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
3499 synthesize a press/release pair for KeySyms.
3501 2001-11-09 Bill Haneman <bill.haneman@sun.com>
3503 * libspi/Makefile.am:
3504 * registryd/Makefile.am:
3505 (temporary) hack to include libXtst in libspi and registryd.
3506 (Needed for keystroke synthesis, see below).
3509 Improved API for registerKeystrokeListener, in accordance with
3510 discussions with Gnopernicus team and X server research.
3512 * libspi/registry.c:
3513 * libspi/deviceeventcontroller.c:
3514 * libspi/accessible.c:
3515 * libspi/keystrokelistener.c:
3516 Changes and fixes to support keylisteners for potentially
3517 consumed key events (that is, 'passive grabs').
3518 Added implementation for generateKeyEvent() [untested].
3521 Changes to registerKeystrokeListener() API, as above.
3522 Added deregisterGlobalEventListenerAll(), and
3523 deregisterKeystrokeListener(), which are needed for clean exit of
3525 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
3526 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
3528 * cspi/spi_registry.c:
3529 Added implementations of function prototypes mentioned above.
3531 * registryd/registryd.c:
3532 Added the key listener event source as a g_timeout(), to allow
3533 receipt of key events that are not caught by GDK (since GDK
3534 doesn't support passive keygrabs, this was necessary).
3537 Changed to attach a keylistener to 'Alt' keys, and
3538 respond to the following keycommands: Alt-M (toggle magnifier);
3539 Alt-F (toggle speech); Alt-Q (quit).
3540 Added an exit routine to deregister the listeners, and a key
3541 listener that prints some key info to the console when a key
3542 matches the listener mask (and is thus received by the listener).
3544 * util/idl/Magnifier.idl:
3545 Changes to magnifier API to support multiple zoom regions,
3546 non-uniform scaling in x and y, markDirty, and a host of other
3547 features that would be useful to magnification.
3550 * util/mag_client.c:
3551 * util/mag_client.h:
3552 * util/mag_control.c:
3554 Source code changes to support the above IDL changes.
3557 As above, and also changes to use a (slower) generic conversion
3558 path for colormap conversions, since the fast RGB conversions have been
3559 reported to fail for 16-bit displays.
3561 2001-10-26 Michael Meeks <michael@ximian.com>
3563 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
3565 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
3567 * at-bridge/Makefile.am: fix LDFLAGS.
3569 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3571 * at-bridge/bridge.c:
3572 Re-worked listeners for toolkit events, now we have signal
3573 and property listeners. Added a private method
3574 register_atk_event_listeners(), which registers with the
3575 various atk and gtk signals we need to monitor in order to emit
3577 Added emission hook for AtkObject:property-change events, to
3578 support the 'property listeners'.
3579 Fixed some alloc()s of Accessibility_Event structs to use CORBA
3582 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
3583 which emit warnings and exit, respectively, if CORBA errors occur
3584 during remote calls, and we now use these methods to check most of
3585 our CORBA calls in the C bindings.
3587 * cspi/spi_accessible.c:
3588 Changed AccessibleSelection_refSelectedChild() to
3589 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
3590 now increment refcounts.
3592 * cspi/spi_component.c:
3593 Fixed some long pointer casts (dangerous!) to pass pointers to
3594 CORBA_longs of the proper type to the CORBA stubs, and copy the
3595 data into the longs that were passed into the C bindings code.
3597 * at-bridge/bridge.c:
3599 * libspi/accessible.c:
3600 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
3601 hyperlinks, AtkHyperlink is an object type.
3603 * libspi/application.c:
3604 Added various conversions to and from "generic" event types and
3605 atk-specific types; this is really part of the 'bridge'
3606 implementation but is valid for all AtkObject-based accessibility
3609 * libspi/editabletext.c:
3610 Fixed nasty bug wherein editable text's finalize method was
3611 unref'ing tha AtkObject reference that the text parent class was
3612 about to unref _again_. There was also a nasty inheritance bug
3613 that meant that the AccessibleEditableText class was corrupt.
3615 * libspi/selection.c:
3616 Provided implementations for some selection API that was broken.
3618 * idl/Application.idl:
3619 Added registerObjectEventListener () method.
3622 Fixed a number of return values that were Bonobo_Unknowns from
3623 bonobo_object_corba_objref(), which I
3624 forgot to dup before returning. Changed instances of
3625 bonobo_object_corba_objref (bonobo_object(o)) to
3626 BONOBO_OBJREF(o), for concision and clarity.
3628 2001-10-13 Louise Miller <louise.miller@sun.com>
3630 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
3631 idl/Event.idl, idl/Registry.idl
3632 Changed these files to include Bonobo_Unknown.idl instead
3635 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
3637 * libspi/component.c libspi/component.h:
3638 Fixed typo. Added assertions for object checks in
3639 AccessibleComponent code.
3641 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3643 * idl/Accessible.idl:
3644 Added 'isEqual (Accessible *object)'
3645 method for Accessible. (Not Yet Implemented).
3648 Changed signature of registerKeystrokeListener() to
3649 take a KeySet and KeyEventSeq so that specific keys and event
3650 types could be requested for monitoring, and added a flag
3651 is_synchronous so that either synchronous or asynchronous
3652 notification could be requested. (However this is not all
3653 implemented yet). This also meant adding two new typedefs,
3654 KeyEventSeq and KeySet.
3657 Added two new relations, RELATION_TOOLTIP_FOR and
3658 RELATION_LEAFNODE_OF.
3661 Added new state, STATE_HAS_TOOLTIP.
3663 * libspi/text.c, editabletext.c:
3664 Added new assertions to all casts of bonobo-objects from
3665 CORBA servants, to prevent Text API calls on non-text objects.
3666 Changed suspect casts of int-pointer types, so that we
3667 always send a valid CORBA_long pointer to the CORBA APIs that use
3668 in/out long parameters. We then have to copy from the CORBA_long
3669 into the regular long or int for return to the C bindings, or
3670 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
3673 * libspi/deviceeventcontroller.c:
3674 Cleaned these sources up.
3676 Changed return type for getCharacterAtOffset to
3677 CORBA_unsigned_long, to allow for 32-bit characters.
3680 2001-10-08 Bill Haneman <bill.haneman@sun.com>
3684 Fixed 'make dist' so that distro compiles...
3685 * libspi/keymasks.h:
3687 * cspi/spi-listener.c:
3688 KeystrokeListenerCB now returns a boolean.
3690 Added KeyEventType struct, and KeyStroke.
3691 Also added createKeystrokeListener(),
3692 KeystrokeListener_addCallback(),
3693 KeystrokeListener_removeCallback(), and added a keymask to
3694 registerKeystrokeListener().
3695 * cspi/spi_accessible.c:
3696 Changed numerous return types for interfaces from
3697 AccessibleComponent to Accessible<InterfaceName>; this was
3698 probably a cut-and-paste error.
3700 Implementations of new KeystrokeListener api (from spi.h,
3703 Changes to key modifier mapping.
3704 Created ControllerEventMask struct.
3705 Made DeviceEventController derive from Bonobo::Unknown.
3707 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3708 * libspi/deviceeventcontroller.c:
3709 Added a number of new internal (private) methods.
3710 * libspi/editabletext.c:
3711 * libspi/editabletext.h:
3712 Fixed a number of bugs related to the fact that
3713 editabletext inherits from text. Fixed the EditableText struct,
3714 the init() call, and use correct casts when calling Text methods
3715 from an EditableText object. Removed (duplicate) atko from the
3716 EditableText structure, we use the one in the parent Text
3717 structure via the casts mentioned above.
3718 * libspi/keystrokelistener.[ch]:
3719 * libspi/registry.c:
3720 Changes in support of keyboard handling (above).
3722 Keyboard handling, though partly functional, is still not
3723 recommended for at-spi client use as there is considerable
3724 work yet to be done.
3727 Changed some places where pointers to various int types
3728 are cast to be pointers to CORBA_long types and vice-versa:
3729 pointer casting is not safe so we pass pointers of the correct
3730 types and then cast the result before putting it into the target
3733 * libspi/text.h: minor typos corrected.
3735 We now speak not only the name of a Text element, but the
3736 first sentence of its content, when it receives focus.
3737 I also changed the text compression to 75% from 50%.
3738 * util/Accessibility_Util.server.in:
3739 Changed the default magnifier type to be a 3x vertical
3740 splitscreen magnifier (was previously a 2x horizontal one).
3742 2001-10-03 Bill Haneman <bill.haneman@sun.com>
3744 * libspi/keystrokelistener.h:
3745 * libspi/keystrokelistener.c:
3746 Initial functional implementations of KeystrokeListener.
3749 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3751 Fixed string handling for NULL strings in libspi.
3752 Added spi_freeString to free strings returned by C bindings.
3754 2001-09-30 Bill Haneman <bill.haneman@sun.com>
3756 * libspi/keystrokelistener.h:
3757 * libspi/keystrokelistener.c:
3758 Began (no-op) implementations of KeystrokeListener
3760 * libspi/deviceeventcontroller.c:
3761 * libspi/deviceeventcontroller.h:
3762 Began creating implementations of DeviceEventController,
3763 to handle keystroke and mouse event listening and
3765 * libspi/accessible.c:
3766 Stubbed-in the implementations for
3767 Accessibility_Accessible_getState and
3768 Accessibility_Accessible_getRelationSet.
3769 * libspi/registry.c:
3770 Improved de-registration process and fixed some bugs,
3771 deregistration now works correctly.
3773 Added initialization of applications list (to NULL).
3775 Reduced speech compression from 0.5 to 0.7, for demo.
3776 Changed call to gdk_window_set_decorations()
3777 to gtk_window_set_decorated().
3778 * at-bridge/bridge.c:
3779 Bridge now deregisters when app exits, via
3780 registration of a cleanup function
3781 with the g_atexit() call.
3782 Required making 'app' static, renamed 'this_app'.
3783 Fixed broken use of bonobo_init, passing argv wrongly.
3785 2001-09-27 Bill Haneman <bill.haneman@sun.com>
3789 Created a new directory for
3790 accessibility-related utilities, primarily for
3791 testing and demo purposes, but with possible
3798 Onscreen magnifier utility that
3799 is implemented as a bonobo service.
3801 * util/mag_client.c:
3802 * util/mag_client.h:
3803 Client-side support (simple C bindings)
3804 for Magnification service
3806 * util/mag_control.c:
3807 Client program example for
3808 Magnification service
3810 * util/Accessibility_Magnifier.server.in:
3811 Bonobo-activation file for the
3812 Magnification service.
3815 * util/idl/Magnifier.idl:
3816 IDL defining the bonobo Magnification
3820 Modifications to use the bonobo-activated magnifier
3821 above, in place of trying to connect to an existing
3822 magnifier that uses socket-listening IPC.
3824 If env variable MAGNIFIER is set, a magnifier service
3825 will be started if one does not exist.
3827 2001-09-25 Bill Haneman <bill.haneman@sun.com>
3829 * at-bridge/bridge.c:
3830 applied patch from Marc to build and run
3831 against new glib and gtk+ (seemed like a change
3832 to bonobo_init signature was made ?)
3834 made festival-server support turned off by default.
3835 Added support for a simple magnifier (off by default)
3836 which will be added to a 'util' directory later.
3837 * at-bridge/Makefile.am:
3838 Changed "application.h" header from a 'source'
3839 to a 'dependency' of libat-bridge.
3841 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3850 Added interface implementation c files to list of
3851 includes so they are included in libcspi.
3854 Changed prototype of AccessibleAction_doAction to return a
3856 Changed prototype of AccessibleTable_getCaption to
3857 return an Accessible.
3858 Changed prototype of AccessibleTable_getSelectedRows
3859 and AccessibleTable_getSelectedColumns to
3860 return a long (returns the number of selected rows
3861 or columns respectively).
3862 Changed name of AccessibleText_refRunAttributes to
3863 AccessibleText_getAttributes.
3864 Changed prototype of AccessibleText_getCharacterExtents to
3865 return a void rather than a boolean.
3866 Added support for a AccessibleCoordType parameter
3867 specifying what type of coordinates are desired.
3868 Added an AccessibleCordType parameter to
3869 AccessibleText_getPointAtOffset.
3871 * cspi/spi_accessible.c:
3872 Added code to return the outstanding interfaces from
3873 Accessible_queryInterface.
3875 * cspi/spi_action.c:
3877 Corrected call to getNActions to call the c binding
3880 * cspi/spi_editabletext.c:
3882 Changed name from setRunAttributes to setAttributes.
3884 * cspi/spi_hyperlink.c:
3886 Changed call to getNAnchors to correctly call the c
3887 binding for an attribute.
3889 * cspi/spi_hypertext.c:
3891 Changed getImageDescription to correctly call the
3892 binding for an attribute.
3894 * cspi/spi_selection.c:
3895 Changed getNSelectedChildren to correctly call the c
3896 binding for the attribute.
3897 Changed refSelectedChild to getSelectedChild.
3901 Changed getCaption to return an Accessible.
3902 Fixed calls which retrieve attributes.
3903 Changed refAt to getAccessibleAt.
3904 Changed getNSelectedRows and getNSelectedColumns to
3908 Changed getCharacterExtents and getPointAtOffset to accept an
3909 AccessibleCoordType.
3911 Changed calls which retrieve attributes.
3912 Changed refRunAttributes to getAttributes.
3917 * idl/Hyperlink.idl:
3918 Changed n_anchors attribute to nAnchors to keep naming
3919 convention consistent.
3922 Made Table inherit from Bonobo::Unknown.
3923 Added nSelectedColumns and nSelectedRows attributes.
3926 Made Value inherit from Bonobo::Unknown.
3928 * libspi/hyperlink.c:
3929 Change for nAnchors attributte name change.
3931 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3939 Added interface implementation c files to list of
3940 includes so they are included in libcspi.
3943 Changed prototype of AccessibleAction_doAction to return a
3945 Changed prototype of AccessibleTable_getCaption to
3946 return an Accessible.
3947 Changed prototype of AccessibleTable_getSelectedRows
3948 and AccessibleTable_getSelectedColumns to
3949 return a long (returns the number of selected rows
3950 or columns respectively).
3951 Changed name of AccessibleText_refRunAttributes to
3952 AccessibleText_getAttributes.
3953 Changed prototype of AccessibleText_getCharacterExtents to
3954 return a void rather than a boolean.
3955 Added support for a AccessibleCoordType parameter
3956 specifying what type of coordinates are desired.
3957 Added an AccessibleCordType parameter to
3958 AccessibleText_getPointAtOffset.
3960 * cspi/spi_accessible.c:
3961 Added code to return the outstanding interfaces from
3962 Accessible_queryInterface.
3964 * cspi/spi_action.c:
3966 Corrected call to getNActions to call the c binding
3969 * cspi/spi_editabletext.c:
3971 Changed name from setRunAttributes to setAttributes.
3973 * cspi/spi_hyperlink.c:
3975 Changed call to getNAnchors to correctly call the c
3976 binding for an attribute.
3978 * cspi/spi_hypertext.c:
3980 Changed getImageDescription to correctly call the
3981 binding for an attribute.
3983 * cspi/spi_selection.c:
3984 Changed getNSelectedChildren to correctly call the c
3985 binding for the attribute.
3986 Changed refSelectedChild to getSelectedChild.
3990 Changed getCaption to return an Accessible.
3991 Fixed calls which retrieve attributes.
3992 Changed refAt to getAccessibleAt.
3993 Changed getNSelectedRows and getNSelectedColumns to
3997 Changed getCharacterExtents and getPointAtOffset to accept an
3998 AccessibleCoordType.
4000 Changed calls which retrieve attributes.
4001 Changed refRunAttributes to getAttributes.
4006 * idl/Hyperlink.idl:
4007 Changed n_anchors attribute to nAnchors to keep naming
4008 convention consistent.
4011 Made Table inherit from Bonobo::Unknown.
4012 Added nSelectedColumns and nSelectedRows attributes.
4015 Made Value inherit from Bonobo::Unknown.
4017 * libspi/hyperlink.c:
4018 Change for nAnchors attributte name change.
4021 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
4023 implementations-- made server implementations own AtkObject pointers
4024 rather than their respective AtkInterrface pointers to fix
4025 refcounting. AtkHyperlink is still broken.
4027 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4028 * cspi/spi_accessible.c:
4029 Added method Accessible_Role_getName(),
4030 and requisite string array (role_names).
4031 Added conversion string_from_corba_strin() call
4032 to Accessible_getName and _getDescription.
4033 * libspi/accessible.c:
4034 Added implementation for Accessible_getRole()
4036 Added festival support, used if environment variable
4039 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4041 * at-bridge/bridge.c:
4042 Now allocate Accessibility_Event using
4043 Accessibility_Event__alloc() instead of g_new0().
4044 * libspi/accessibleeventlistener.c:
4045 Initialize AccessibleEventListener->callbacks to NULL.
4046 Fixed accessible__event_listener_init() param, changed to
4047 "AccessibleEventListener *" type.
4048 Changed a bonobo_object_release_unref() call to
4049 Accessibility_Accessible_unref().
4050 * libspi/listener.c:
4051 Changed Bonobo_Unknown_unref to (equivalent)
4052 Accessibility_Accessible_unref.
4053 * libspi/registry.c:
4054 Changed bonobo_object_release_unref to
4055 Accessibility_Accessible_unref.
4057 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4060 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
4061 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
4062 spi-util.c spi-util.h
4063 Implementations for C bindings to remaining accessibility
4066 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4069 changed return value of Action from void to boolean to
4070 bring in line with ATK.
4073 Changed getText funcions to return "out" start and end offsets.
4074 Changed getAttributes to take and offset and return the start
4075 and end offset of the attribute run.
4076 Changed getOffsetAtPoint and getCharacterExtents to take an
4077 enum describing whether coordinates are window or screen.
4080 libspi/action.c libspi/action.h libspi/editabletext.c
4081 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
4082 libspi/hypertext.c libspi/hypertext.h libspi/image.c
4083 libspi/image.h libspi/selection.c libspi/selection.h
4084 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
4085 libspi/value.c libspi/value.h
4086 Added server implementations for outstanding ATK interfaces
4087 not yet implemented.
4089 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4092 Added (missing) getName() method.
4093 Made nActions an attribute.
4094 * idl/EditableText.idl:
4095 Changed order of params in setAttributes.
4096 * idl/Hyperlink.idl:
4097 Removed getAnchor, added getURI.
4099 Changed attributes to methods, for efficiency
4100 (so that getting extents can be done in one call)
4101 * idl/Selection.idl:
4102 Changed nSelectedChildren to attribute, and re-indented.
4103 * idl/Table.idl: changed nrows, ncolumns, caption, summary
4105 * idl/Text.idl: reformatted to match our coding style.
4106 (temporarily?) removed getRowColumnAtOffset().
4107 Changed text selection API to support multi-select and
4108 non-contiguous selections, as in ATK.
4109 * idl/Value.idl: changed some methods to attributes.
4111 2001-08-24 Mark McLoughlin <mark@skynet.ie>
4113 * libspi/listener.c(impl_notify_event):
4114 BonoboUnkown_unref the source instead
4115 of bonobo_object_release_unref - the ORB
4116 handles the releasing.
4118 * configure.in: require ORBit-2.3.94 for
4121 2001-08-21 Bill Haneman <bill.haneman@sun.com>
4123 Tagged CVS repository 'EA_1_0'.
4124 * README.EARLY_ACCESS:
4125 Alphabetized acknowledgements list, and
4127 Listed some known dependencies of at-spi.
4129 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4131 * docs/at-spi-docs.sgml:
4132 * docs/at-spi-sections.txt:
4133 * docs/at-spi-overrides.txt: (Added zero-length file)
4134 Documentation improvements - gtk-doc should build
4135 docs for all implemented C bindings now.
4138 * cspi/spi.c: (New file)
4139 * cspi/spi_event.c: (New file)
4140 * cspi/spi_registry.c: (New file)
4141 * cspi/spi_accessible.c: (New file)
4142 * cspi/spi_application.c: (New file)
4143 * cspi/spi_component.c: (New file)
4144 Split spi_main.c into six parts, and included them from
4145 "spi.c". This is a bit of a hack, probably temporary,
4146 but required by gtk-doc, apparently.
4148 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4151 * docs/at-spi-docs.sgml:
4152 * docs/at-spi-sections.txt:
4154 Initial checkins/modifications for gtk-doc generation.
4157 Added (missing) interface query methods to Accessible's C binding.
4159 Added GenericInterface type definition.
4161 Added query for AccessibleComponent interface to focus event handler.
4162 Added printout of bounding box for focussed component.
4163 * libspi/component.c:
4164 Added partial implementation for AccessibleComponent to C binding.
4165 * idl/Application.idl:
4166 * libspi/registry.c:
4167 * libspi/listener.c:
4168 * libspi/application.c:
4169 * libspi/application.h:
4170 Changed "ID" attribute type from string to long.
4172 2001-08-19 Bill Haneman <bill.haneman@sun.com>
4176 Made method naming consistent: methods taking object args
4177 start with uppercase, other methods (except those using
4178 acronyms) start with lowercase. Underscores delimit between
4179 object names and method names:
4180 SPI_init() - uppercase since it starts with an acronym.
4181 getDesktopCount () - lowercase start since no object param0.
4182 Accessible_getName() - uppercase object type name, studlyCaps method
4186 Added gtk-doc documentation for all currently implemented
4187 methods in the C bindings API.
4189 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4191 * Makefile.am : changed build order to build test last.
4194 Changed "createEventListener" to "CreateEventListener".
4195 * libspi/accessibleeventlistener.c :
4196 Bugfix for addition of callbacks.
4197 * test/Makefile.am :
4198 * test/simple-at.c :
4199 Added new test that uses the C bindings API.
4201 * libspi/listener.c :
4202 * libspi/registry.c :
4203 * libspi/accessibleeventlistener.c :
4204 * at-bridge/bridge.c :
4205 Renamed member "target" of Accessibility_Event to "source",
4206 which is more descriptive.
4209 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4213 * cspi/Makefile.am :
4214 Added makefile support for at-spi/cspi directory.
4217 * cspi/spi-listener.h : (NEW FILE)
4218 Added support for/use of spi-listener.h.
4220 C bindings now build successfully, with no warnings.
4221 * libspi/accessibleeventlistener.h : (NEW FILE)
4222 * libspi/accessibleeventlistener.c : (NEW FILE)
4223 * libspi/Makefile.am :
4224 Added new object type "AccessibleEventListener"
4225 which inherits from Listener, and allows attachment
4226 of in-process callbacks (so that a client with a listening
4227 object instance can add functionality to the local
4228 implementation, dynamically).
4230 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4232 * libspi/accessible.c:
4233 Add implementation for get_index_in_parent().
4235 Added #include of "spi-roletypes.h", and
4236 added enumerated type AccessibleCoordType.
4237 Added definition for KeystrokeListener (function type).
4240 * cspi/spi-statetypes.h :
4241 * cspi/spi-roletypes.h :
4243 Added these headers, used by spi.h.
4245 Added code (NOTE: not yet built by make).
4247 2001-08-18 Mark McLoughlin <mark@skynet.ie>
4249 * libspi/Makefile.am: generate imodule
4250 at the same time as other idl compiler
4253 2001-08-17 Bill Haneman <bill.haneman@sun.com>
4254 * libspi/registry.c :
4255 * libspi/application.c :
4256 * idl/Application.idl :
4257 Made registration with toolkit an application method,
4258 which is required since each app has its own toolkit static
4259 environment. Thus the bridge must register for
4260 notification of toolkit events from each application in turn.
4261 Toolkit notifications are now successfully registered for, and
4262 sent to the listening at client.
4264 Changed toolkit event string to use hyphens rather than underscores.
4265 * libspi/listener.c :
4266 listner now gives more info in debug mode - it reports the
4267 name of the event received, as well as the name of the source.
4270 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4272 * libspi/registry.c :
4273 added more implementation for toolkit events.
4274 Fixed bug such that toolkit event registrations
4275 (via atk) use the whole event name string, not
4277 Removed a useless call to an ORBit_ method.
4278 * at-bridge/bridge.c :
4279 Removed unused local sbuf[] variable.
4281 We now register for Gtk:GtkWidget:button_press_event
4282 events as well as "focus:" events.
4284 Add some more API from Registry.idl that was missing,
4285 for keystroke listening, keystroke and mouse event
4286 synthesis, and enumeration of accessible desktops.
4288 2001-08-16 Michael Meeks <michael@ximian.com>
4290 * configure.in: use AM_GLIB_GNU_GETTEXT.
4292 * Makefile.am (SUBDIRS): kill intl.
4294 2001-08-15 Michael Meeks <michael@ximian.com>
4296 * registryd/Makefile.am: s/oaf/server/ relocate info file.
4298 * configure.in: upd.
4300 * configure.in: depend on a recent bonobo-activation that
4301 will find our server files ...
4303 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4305 * libspi/accessible.c : accessible_new() :
4306 Now we add the Component interface via bonobo_object_add_interface,
4307 if the contained AtkObject implements AtkComponent.
4308 * libspi/accessible.h : now include "component.h"
4309 * libspi/component.h :
4310 * libspi/component.c : added files - implementation of
4311 bonobo wrapper object for Accessibility/Component
4312 * libspi/listener.c :
4313 Added test code to check for Accessibility/Component:1.0
4314 interface and report whether it is implemented by the
4316 * libspi/registry.c :
4317 Now we check for not only the hash of the whole event
4318 string before relaying the event, we also check the
4319 "minor" event string (without the detail string).
4320 This allows event listeners to be registered against
4321 all events of a certain major+minor type, or just
4322 against a specific major+minor+detail type.
4323 * libspi/accessible.c :
4324 Added implementations for Accessible:get_parent(),
4325 Accessible:getChildCount(), and Accessible:getChildAtIndex().
4326 * libspi/registry.c :
4327 * libspi/listener.c :
4328 Replaced calls to Accessibility_Accessible_ref() and
4329 Accessibility_Accessible_unref() with
4330 calls to bonobo_object_dup_ref() and
4331 bonobo_object_release_unref(), so that the CORBA object
4332 is dup-ed and released when relayed, as well as the bonobo object.
4334 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4336 * libspi/Makefile.am,
4337 registryd/Makefile.am,
4338 at-bridge/Makefile.am.
4339 test/Makefile.am, configure.in:
4340 reverse previous changes.
4342 * /idl/Image.idl: fix typo.
4344 * test/Makefile.am: put DEBUG_FLAGS
4347 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4349 * test/app.c: use argv[0] instead of
4352 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4354 * libspi/Makefile.am,
4355 registryd/Makefile.am,
4356 at-bridge/Makefile.am.
4357 test/Makefile.am, configure.in:
4358 cleanup, replace individual LIBS/CFLAGS with
4359 AT_COMMON_{LIBS|CFLAGS}.
4363 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4365 * configure.in, libspi/Makefile.am:
4366 Change IDL path checking for bonobo-activation
4369 2001-08-15 Bill Haneman <bill.haneman@sun.com>
4371 * registryd/registry.c : separated event listeners to use
4372 3 separate lists (focus, window, toolkit). Began testing
4373 event names against hashes before relaying events.
4374 * test/at.c : now register for events of type "focus:"
4375 * test/app.c : now generate events of type "focus:"
4376 * at-bridge/bridge.c : register with ATK for focus events,
4377 and we now relay those focus events to any "focus:" listeners.
4378 This now works with the bridge as a GTK_MODULE when running test/at.
4379 * libspi/registry.c :
4380 * libspi/listener.c :
4381 now we ref event sources before propagating, and unref on receipt.
4382 * libspi/registry.c :
4383 some changes to internal structs, to support event typestring hashes.
4384 * text/app.c : changed the way the appname is generated.
4385 * cspi : added directory that will hold the C bindings library for
4386 non-CORBA/bonobo-savvy clients.
4387 * cspi/spi.h : header file that contains the function prototypes for the C binding.
4388 * idl/Component.idl : added in parameter to indicate coord system for
4389 geometry-related calls.
4390 * idl/Hyperlink.idl : added readonly n_links attribute
4391 * idl/Image.idl : changed methods to attributes.
4393 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4395 * at-bridge/Makefile.am: link against
4396 ../libspi/libspi.la instead of -lspi.
4398 * at-spi/test/app.c: include
4399 bonobo-activation.h. Use a default appname
4400 if one is not provided.
4402 2001-08-14 Bill Haneman <bill.haneman@sun.com>
4404 * idl/Registry.idl : temporarily changed register_Application
4405 to oneway, to work around issue with initial registration
4407 * idl/Application.idl : changed attribute "id" from readonly
4408 to read-write, since it needs to be assigned by Registry.
4409 * registryd/registryd.c : added call to set application id
4411 * registryd/registry.c : changed de-registration procedure to
4412 use CORBA_Object_hash() to find matching object ref in application
4413 lists and listener lists.
4414 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
4415 began distinguishing between event types (work in progress).
4417 2001-08-13 Bill Haneman <bill.haneman@sun.com>
4420 * libspi/application.c:
4421 Added implementations for get/set id, get_toolkitName,
4423 * registryd/registryd.c :
4427 Converted from use of OAF to bonobo-activation.
4428 * libspi/desktop.h :
4429 * libspi/desktop.c :
4431 Removed references to atksimpleobject, since base atkobject
4432 implementation now provides functionality we need.
4433 * libspi/atksimpleobject.c :
4434 * libspi/atksimpleobject.h :
4439 * at-bridge/Makefile.am
4440 * at-bridge/bridge.c
4443 Added directory "bridge" and contents, and added dependencies
4444 in Makefile.am/configure.in.
4445 Initial checkin of "at-bridge".
4446 This code is a GTK_MODULE which automatically registers
4447 GTK+ apps with the accessibility registry, using an object
4448 reference to the root ATK object.
4450 2001-08-10 Mark McLoughlin <mark@skynet.ie>
4452 * po/Makefile.in.in: Remove. Again. If this
4453 doesn't get autogenerated - you need to update
4456 2001-08-07 Mark McLoughlin <mark@skynet.ie>
4458 * po/Makefile.in.in: Add. Again.
4460 2001-07-31 Bill Haneman <bill.haneman@sun.com>
4462 * libspi/accessible.c : added support for 'description' property.
4463 * libspi/accessible.c
4465 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
4466 (since the two are now equivalent in libbonobo)
4474 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
4475 Bonobo::Unknown as does Accessibility::Accessible.
4476 * idl/StreamableContent.idl : as above, and replaced internal InputStream
4477 interface with Bonobo::Stream, since it was redundant with it.
4478 (The Stream returned by a StreamableContext object is expected to
4479 implement only a subset of Bonobo::Stream)
4481 2001-07-28 Anders Carlsson <andersca@gnome.org>
4483 * libspi/accessible.c (accessible_object_finalize): Change
4484 g_free to g_object_unref since the AtkObject is a GObject.
4486 2001-07-30 Bill Haneman <bill.haneman@sun.com>
4488 * idl/Accessibility.idl: add new IDL files
4491 * idl/Action.idl: Definitions of actionable UI object
4492 * idl/Component.idl: Definitions of UI component geometry, etc.
4493 * idl/Hyperlink.idl: Defs of hyperlink behavior
4494 * idl/Image.idl: Def of accessible image
4495 * idl/Selection.idl: Definition of UI object with selectable children
4496 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
4497 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
4498 * idl/Text.idl: Interface defs for UI elements with complex textual content
4499 * idl/Value.idl: Definition of UI element that is a value controller or display
4501 2001-07-27 Michael Meeks <michael@ximian.com>
4503 * po/Makefile.in.in: remove autogenerated file from CVS.
4505 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
4508 * idl/Registry.idl: include guard.
4510 * idl/Accessibility.idl: Add, and include all the other IDL
4513 * idl/*.idl: remove mass of pragmas etc.
4515 2001-07-26 Michael Meeks <michael@ximian.com>
4517 * registryd/Makefile.am (registryd_SOURCES): remove
4520 2001-07-27 Mark McLoughlin <mark@skynet.ie>
4522 * libspi/.cvsignore, registryd/.cvsignore,
4523 test/.cvsignore: updated.
4525 * po/Makefile.in.in: gettext update.
4527 2001-07-25 Bill Haneman <bill.haneman@sun.com>
4529 * initial CVS checkin
4531 2001-06-29 Michael Meeks <michael@ximian.com>
4533 * configure.in: add AM_CONFIG_HEADER to gen config.h