1 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3 * registryd/deviceeventcontroller.c: partial fix for 84261
4 (spi_dec_poll_mouse_idle):
5 New method, a timeout which checks to see if the mouse
7 (spi_dec_poll_mouse_moving):
8 A timeout to be called when mouse motion is underway.
9 (spi_dec_poll_mouse_moved):
10 A method which fires an event if the mouse has moved, and reports
11 whether or not it did so.
12 (spi_dec_init_mouse_listener):
13 A method which sets up the timeouts above.
14 (spi_device_event_controller_new):
15 Now calls spi_dec_init_mouse_listener.
17 * registryd/registry.c:
19 Now we initialize the device event controller when the registry is
20 initialized, instead of waiting until a client has requested a key
21 event notification; this is because we need the event controller
22 for mouse events, but the mouse event registration API is a
23 "registry" call and doesn't explicitly call the
24 deviceeventcontroller.
25 We now report mouse motion events with a 100 ms idle latency and
26 a 20 ms granularity when motion is in progress.
28 * test/event-listener-test.c:
30 We now register the "detail listener" for events of type
31 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
32 delivered only for the first mouse event received, and thereafter
33 "mouse:abs" events are delivered.)
35 * cspi/spi_registry.c:
36 DOCS: Documented the above mouse event typestrings.
38 2002-06-21 Bill Haneman <bill.haneman@sun.com>
40 Happy Summer Solstice...
42 * registryd/deviceeventcontroller.c: [fix for bug 84100]
43 (spi_controller_notify_keylisteners):
44 Changes to remove a listener from the listener list, freeing its
45 open keygrabs, if a notification to that listener fails. This
46 means that although a dead listener can continue to hold a passive
47 keygrab, a maximum of one dispatch to such a listener can fail
48 before the listener is removed from the list, thus the keygrab
49 will be released on the next occurrence.
51 (spi_notify_keylisteners):
52 Renamed to spi_controller_notify_keylisteners, as the controller
53 instance must now be passed as an argument.
54 The copied 'notify' GList is now a list of DEControllerKeyListener
55 objects, since we need more than just the CORBA reference if a
56 notify fails and we need to deregister the listener.
57 (impl_notify_listeners_sync):
58 (impl_notify_listeners_async):
59 (spi_device_event_controller_forward_key_event):
60 Modify use of notify_keylisteners in accordance with above
62 (spi_deregister_controller_key_listener):
63 New method introduced by refactoring, from
64 impl_deregister_keystroke_listener.
65 (impl_deregister_keystroke_listener):
66 Call spi_deregister_controller_key_listener.
67 (spi_key_listener_clone):
68 New method to copy a key listner without doing a 'ref' on the
69 remote object instance; used to create a notifier list.
70 (spi_key_listener_data_free):
71 New method, frees data without unreffing the source.
73 (spi_key_listener_clone_free): new method.
74 (spi_key_listener_free):
75 refactored to call spi_key_listener_data_free.
77 2002-06-20 Bill Haneman <bill.haneman@sun.com>
79 * registryd/registry.c: [fix for bug 86048]
80 (notify_listeners_cb):
81 Clear CORBA system exceptions which occur when notifying
82 listeners, before returning to the source of the original event,
83 since the event source doesn't care if the relayed notify failed.
84 In other words, don't complain to the atk-bridge if the registry
85 could not notify all its listeners, that's no fault of the
86 application and thus should not appear to be an error from the
87 application's perspective.
89 * cspi/spi_main.c: [fix for bug 85980]
91 Replaced use of bonobo_object_dup_ref with call to the wrapper
92 method, csou_dup_ref (); this silences a compiler warning and
93 provided more portability.
95 Ping the registry before return, and restart if necessary.
97 * cspi/bonobo/cspi-bonobo.c:
101 Fixed this method to return an object reference, as it should have
104 * cspi/cspi-lowlevel.h:
105 Added internal definition for cspi_ping() and fixed
106 return type of cspi_dup_ref().
109 2002-06-19 Bill Haneman <bill.haneman@sun.com>
111 * atk-bridge/bridge.c: [fix for bug 85305]
112 (spi_atk_bridge_register_application):
113 New method where the initial application registry calls have been
114 moved; it allows an application to re-register in response to
115 certain error conditions (such as a registry restart, see below).
117 Moved some initialization code to the method
118 spi_atk_bridge_get_registry, below.
119 (spi_atk_bridge_get_registry):
120 New, private accessor function for the Accessibility_Registry
121 instance. If the registry has not been started before, or has
122 died (as detected by failure of a CORBA exception), it is
123 restarted before return, and spi_atk_bridge_register_application
124 is called again to register with the new bridge instance.
125 (spi_atk_emit_eventv):
126 Set registry_died on error; use spi_atk_bridge_get_registry () to
129 * registryd/registry.c:
130 (impl_accessibility_registry_register_global_event_listener):
131 Set listener's event_type_quark to etype.minor instead of
132 etype.major (fix for bug 84856).
134 * test/event-listener-test.c:
135 (report_detail_event):
136 Change the output string so that user/tester can tell that the
137 'detail listener' was called instead of the 'generic listener'.
139 2002-06-18 Bill Haneman <bill.haneman@sun.com>
141 Fixes for bugs 84900, 84908, 84897, 84898.
146 Revved version to 1.1.0
147 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
148 version is going to HEAD which will be used for gnome-2-0-1 and later.)
150 * idl/Accessibility_Registry.idl:
151 (EventListener::notifyEvent):
152 Removed 'oneway' directive after extensive consulation with
153 ORBit2 team and others. This means also that unref() of the event
154 source can and should be done synchronously after emission, rather
155 than remotely in the client, after servicing the notify call on
158 NOTE: This change speeds up listener performance considerably, but
159 introduces new latency on the application side. We may want to
160 add an event queue to the atk-bridge.
162 * atk-bridge/bridge.c:
163 (spi_atk_bridge_focus_tracker):
164 Do a local unref() on the event source after emission.
166 * registryd/registry.c:
167 (desktop_remove_application):
168 Do an unref() on the event source after emission.
169 (desktop_add_application):
170 Do an unref() on the event source after emission.
171 (notify_listeners_cb):
172 When relaying an event, don't automatically add the event source
173 to the local object cache, just CORBA_dup it instead. Likewise,
174 if this method reenters, release the ref rather than calling
176 (impl_registry_notify_event):
177 No longer call remote unref() on the event source after dispatch.
179 * libspi/eventlistener.c:
180 (impl_accessible_event_notify_event):
181 Removed remote unref ()
183 * cspi/bonobo/cspi-bonobo-listener.c:
185 We now call cspi_object_new() instead of cspi_object_add() on
186 receipt of an event; thus we only have an implicit object ref
187 while the cspi_event method is being executed. If we need to keep
188 a reference to the object, the listener must call ref() on the
189 object. Thus also we don't need to call cspi_object_unref() after
190 invoking the listener callbacks in this method.
194 New internal API for creating a new cspi object, without adding it
197 Now uses cspi_object_new() to create the cspi object instance.
199 Now checks to see if the object is in the internal object cache,
200 and adds it if necessary before incrementing its refcount (note
201 that new objects are added with a refcount of 1).
203 New method which gives some information on leaked object instances
204 if leak detection is turned on.
206 * test/event-listener-test.c:
208 New method, used for testing event delivery timing for special
209 events of type "object:test". It reports elapsed time and
210 events/sec every 500 events.
212 Added a new listener, 'test listener', to check timing of event
213 receipt as noted above.
215 Added some timing output here also, reports elapsed time every 100
218 * test/stress-test.c:
219 Emit events of type "object:test", for use with "event-listener-test".
221 * test/test-simple.c:
222 (global_listener_cb):
223 Call Accessible_ref() on the event source before calling
224 validate_accessible, since the validation process does pointer
225 comparisons on the event source, meaning that the event source
226 needs to be added to the local object cache first. Any use of
227 such pointer comparisons between Accessible objects requires that
228 the caller hold an explicit reference to those objects.
229 We also must therefore call Accessible_unref() when leaving this method.
231 2002-06-13 Bill Haneman <bill.haneman@sun.com>
233 * registryd/deviceeventcontroller.c:
234 (spi_controller_update_key_grabs):
235 Fix for #84735, subsequent keygrab listeners not informed of
236 registration failure.
239 (spi_base_construct):
240 Add an assertion on construct, to make sure the GObject passed in
243 Explicitly initialize object->gobj pointer to NULL;
245 * cspi/bonobo/cspi-bonobo-listener.c:
246 (cspi_object_add_ref):
247 New method, can specify whether to dup-ref a bonobo object passed
248 in if it's newly added to the object cache.
250 Now calls cspi_object_add_ref with second param of "FALSE". This
251 prevents us from doing a pointless dup-ref followed by
252 release-unref for all those cases where the object is already in
253 our object cache (fix for #85205).
255 * atk-bridge/bridge.c:
256 (spi_atk_bridge_idle_init):
257 Removed this method, we don't need to initialize in an idle
260 Changed to call spi_atk_register_event_listeners directly, not via an
261 idle handler. (fix for #81139)
262 (gnome_accessibility_module_shutdown):
263 Removed conditional around deregistration of listeners, since we
264 don't use the idle handler and thus have always registered when
266 (spi_init_keystroke_from_atk_key_event):
267 Changed references to Accessibility_KEY_PRESSED to
268 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
270 2002-06-12 Bill Haneman <bill.haneman@sun.com>
272 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
277 * test/stress-test.c:
280 (may have been an incomplete commit yesterday?)
282 2002-06-12 Bill Haneman <bill.haneman@sun.com>
285 Added target for new stress-test.
287 * test/stress-test.c:
288 New test, sends 1000 focus notifies in quick succession.
290 * test/key-listener-test.c:
291 Now we report whether a keylistener registration
292 request succeeded or failed.
294 * test/event-listener-test.c:
295 Uncommented some listeners which are now implemented.
298 2002-06-06 Bill Haneman <bill.haneman@sun.com>
300 * registryd/deviceeventcontroller.c:
301 (spi_controller_update_key_grabs):
302 Fix for #82509, lack of failure notification when
303 ALL_WINDOWS keygrabs fail due to XGrabKey
304 failure: we synchronize the server when
305 registering a passive grab, to make sure we get the
306 error message before the call returns.
308 2002-06-03 Bill Haneman <bill.haneman@sun.com>
310 * test/test-simple.c:
312 Removed #ifdef KEY_IMPL_WORKS guards.
314 Removed #ifdef KEY_IMPL_WORKS guards.
315 Fixed bug which was causing a hang waiting for a
316 "press" event (which was already overwritten by a "release"
317 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
319 Added code to set globals 'key_press_received' and
320 'key_release_received'.
323 Added section "1.1 API Proposed Additions" which
324 lists API additions desired for at-spi-1.1 (only one so far).
325 Updated TODO list a little.
327 2002-06-02 Bill Haneman <bill.haneman@sun.com>
329 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
332 * configure.in: Revved to 1.0.0.
334 * idl/Accessibility_Registry.idl:
335 (registerKeystrokeListener):
336 Added boolean return value.
338 * registryd/registry.c:
339 (notify_listeners_cb): Minor fix to debug output.
341 * registryd/Accessibility_Registry.server.in.in:
342 Revved version number in OAFIID to 1.0.
344 * registryd/registryd.c:
346 Use new OAFIID version.
348 * cspi/bonobo/cspi-bonobo.c:
350 Use new OAFIID version.
356 * atk-bridge/bridge.c:
358 Use new OAFIID version.
360 * registryd/deviceeventcontroller.c:
361 (impl_register_keystroke_listener):
362 Added CORBA_boolean return value.
363 (spi_controller_register_device_listener):
364 Added gboolean return value.
365 (spi_controller_register_global_keygrabs):
366 Added gboolean return value.
367 (spi_key_set_contains_key):
368 Added implementation for many more control keys,
369 for instance F1-F12, arrow keys, End, Home, Page_Up,
371 [TODO: some still not implemented].
373 * text/screen-review-test.c:
374 (text_chunk_pad_string):
375 New function: it provides mapping between coordinate
376 positions of text chunks and character positions in the
377 screen-review-line output string.
378 (text_chunk_to_string):
379 New function, calls text_chunk_pad_string with various
380 pad/delimiter characters. Pushbuttons are delimited with
381 square brackets, Frames with vertical 'pipe' lines, and
382 other text with double quotes.
383 (text_chunk_list_to_string):
384 Calls new function text_chunk_to_string.
385 (toplevel_composite):
386 New function to composite layers CANVAS through
387 POPUP in each toplevel (other layers are composited
388 across toplevels, i.e. BACKGROUND and OVERLAY).
389 (review_buffer_composite):
390 Revise to use new methods.
396 2002-05-31 Laszlo Peter <laca@sun.com>
398 * configure.in: add the Xtst libdir to the runpath on Solaris,
399 since it's not in the default library search path.
401 2002-05-29 jacob berkman <jacob@ximian.com>
403 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
405 2002-05-29 Bill Haneman <bill.haneman@sun.com>
407 * test/screen-review-test.c:
408 (text_chunk_pad_string):
409 Added method, which pads the string according to the
410 text bounds of the chunk. It also takes a 3-character
411 string as a param which indicates the characters to be
412 used for start, padding, and end delimitation of the chunk.
413 (text_chunk_to_string):
414 Changed to use text_chunk_pad_string.
416 * configure.in: Fixed bug in AC_OUTPUT that was
417 causing path substitution in Accessibility_Registry.server
420 2002-05-23 Bill Haneman <bill.haneman@sun.com>
422 * text/screen-review-test.c:
424 New method which attempts a best-guess at clipping
425 text from components (like Java labels) which don't
426 actually implement AccessibleText. This inaccurate
427 clip is based on the assumption that the label is
428 justified left-and-right, and monospaced.
429 (text_chunk_get_clipped_string):
430 We now call guess_string_clip() for text-containing
431 components that don't implement AccessibleText.
433 * test/screen-review-test.c:
434 (review_buffer_get_text_chunk):
435 We now pull "name" from labels if they do not implement
436 AccessibleText (i.e. for Java labels).
437 (get_screen_review_line_at):
438 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
441 Replaceded AC_OUTPUT target
442 registryd/Accessibility_Registry.server with
443 registryd/Accessibility_Registry.server.in.
445 * registryd/Accessibility_Registry.server.in:
446 Removed (this is now a Makefile target).
448 * registryd/Accessibility_Registry.server.in.in:
449 Added (source for target above). We now use $(libexecdir) as
450 prefix for the executable at-spi-registryd.
452 * registry/Makefile.am:
453 Now install at-spi-registryd into $(libexecdir), and build .server
454 file with path (see above).
456 2002-05-22 Bill Haneman <bill.haneman@sun.com>
458 * test/screen-review-test.c:
459 (text_chunk_get_clipped_string):
460 We now check to see if words fall within clip bounds
461 before resorting to character-by-character clip bounds testing.
463 * TODO: Added a section for "2.2 Proposed API Additions".
465 2002-05-21 Bill Haneman <bill.haneman@sun.com>
467 * test/screen-review-test.c:
469 Added a screen review benchmarking and test program to test
472 * cspi/spi_accessible.c:
474 Made some of the debug strings passed to cspi_check_ev a
475 little more specific.
477 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
479 * test/screen-review-test.c: Fix crashes in debug statements
481 2002-05-20 Bill Haneman <bill.haneman@sun.com>
483 * test/screen-review-test.c: Added this file.
485 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
487 * atk-bridge/bridge.c: changed "object:state-change" to
488 "object:state-changed" to match docs.
490 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
492 * atk-bridge/bridge.c: Hooked up state-change event details.
494 2002-05-11 Bill Haneman <bill.haneman@sun.com>
496 * registryd/registry.c:
497 Fixed quarking bug in event string parsing; now events with
498 detail parameters get matched correctly to listeners.
501 * util/idl/Magnifier.idl: remove.
503 * util/*.[ch]: Remove.
504 Magnification utilities and IDL are now in module gnome-mag.
506 2002-05-10 Bill Haneman <bill.haneman@sun.com>
508 * registryd/deviceeventcontroller.c:
509 Fixed bug in grab key conversion which was causing keycode grabs
510 to be converted to AnyKey grabs.
513 updated NEWS file to reflect recent spin-off of gnome-mag.
515 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
517 * cspi/spi_accessible.c: Added exception checks. Fixed completely
518 busted AccessibleStateSet_compare. Removed redundant casts.
520 * cspi/spi-action.c: Removed redundant casts.
522 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
524 * cspi/spi_component.c: Fixed typos and casting error.
526 * cspi/spi_editabletext.c: Removed redundant casts.
528 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
530 * cspi/spi_hypertext.c: Eliminated redundant casts.
532 * cspi/spi_image.c: Eliminated redundant casts.
534 * cspi/spi_registry.c: Eliminated redundant casts.
535 SPI_deregisterGlobalEventListenerAll () removed retval variable.
536 * cspi/spi_selection.c: Removed redundant casts.
537 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
538 handling. Screen geometry and text offsets were being returned as 0
539 on error which is technically valid-- changed these to return -1.
540 Added marshaller for text boundary types to fix bug with boundary
541 types being passed incorrectly to atk.
543 2002-05-09 Bill Haneman <bill.haneman@sun.com>
546 * cspi/spi_registry.c:
547 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
548 which was uncovered by the recent key changes.
550 2002-05-09 Bill Haneman <bill.haneman@sun.com>
552 * test/event-listener-test.c:
554 Added new test, "event-listener-test";
555 this code does two things; it benchmarks traversal time
556 for the accessible hierarchy for the first running accessible
557 app, and it connects listeners for all supported event types.
558 It is thus useful as an example event listener and for
559 diagnostics/debugging of event generation.
561 2002-05-08 Bill Haneman <bill.haneman@sun.com>
564 Removed unnecessary dependency on libutil.
567 Revved micro version: 0.13.1
569 2002-05-08 Bill Haneman <bill.haneman@sun.com>
572 Removed util/Makefile from targets.
575 Removed util subdir from SUBDIRS (temporarily,
576 pending removal of magnifier-only code
580 #ifdef-ed out magnifier dependencies, since
581 magnifier IDL, headers, and binary now live in
582 module gnome-mag and we don't want at-spi to depend
583 on gnome-mag. A magnifier demo which can run alongside
584 simple-at is forthcoming in the gnome-mag module.
586 NOTE: Split magnifier binary, IDL, and magnification
587 activation code from at-spi into module gnome-mag.
589 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
591 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
592 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
594 2002-05-03 Bill Haneman <bill.haneman@sun.com>
597 Revved to version 0.13.0
599 * idl/Accessibility_Registry.idl:
600 Changed definition of KeySet from sequence of longs to sequence of
601 KeyDefinitions, and added KeyDefinition struct.
602 Required for fix to bug 80616.
604 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
605 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
606 to use new definition (see above).
608 * registryd/deviceeventcontroller.c: handle_keygrab(),
609 spi_keyset_contains_key():
610 Changed to make use of new struct; this allows matching based on
611 string key-name, for instance "Tab". This also allows matching of
612 composed characters, non-alphanumeric characters in a way that
613 doesn't involve dependencies on X keysym codes directly, etc.
615 * test/key-listener-test.c:
616 Added test for Alt-Tab key using "string" specification of keyset,
617 and modified one of the tests to use a keycode-based keyset.
618 Thus this test both tests and demonstrates the creation and use of
619 keysets of three forms: specified via keycode array,
620 keysym array, and string array. (The string case only contains a
621 single string, i.e. a string array of length 1).
624 Turned on PRINT_TREE option by default. Also fixed a
625 string-freeing bug in the PRINT_TREE code.
626 Added a listener to window:minimize events.
628 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
630 * atk-bridge/bridge.c:
631 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
632 for window:activate and window:deactiveate
633 (atk_bridge_property_event_listener atk_bridge_signal_listener
634 atk_bridge_window_event_listener) Tidy debug code
636 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
638 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
639 Fixed handling for NULL return value from ATK.
641 * libspi/action.c libspi/component.c libspi/editabletext.
642 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
643 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
644 Removed redundant casts.
646 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
647 Fixed off by one bug.
649 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
650 function not present in idl)
652 2002-05-02 jacob berkman <jacob@ximian.com>
654 * atk-bridge/Makefile.am: make atk-bridge a real module
656 2002-04-26 Radek Doulik <rodo@ximian.com>
658 * libspi/stateset.c (spi_init_state_type_tables): fix size of
659 atk_state_types table
661 2002-04-22 jacob berkman <jacob@ximian.com>
664 * libspi/Makefile.am: add deps on the built files to help
665 automake, and don't version the ORBit typelib
667 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
669 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
670 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
671 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
672 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
673 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
674 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
675 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
676 libspi/accessible.h libspi/accessible.h libspi/base.h
677 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
678 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
679 libspi/relation.h libspi/remoteobject.h libspi/selection.h
680 libspi/spi-private.h libspi/statetset.h libspi/table.h
681 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
682 util/mag_client.h util/mag_control.c util/mag_image.c
683 util/mag_image.h util/magnifier.c util/magnifier.h:
684 Add missing file headers; standardize existing ones
686 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
688 * atk-bridge/bridge.c: Added window event support.
690 2002-04-18 Michael Meeks <michael@ximian.com>
692 * libspi/relation.c (impl_getNTargets): impl.
693 (impl_getTarget): impl.
695 * libspi/Makefile.am: fix stateset install.
697 2002-04-17 Bill Haneman <bill.haneman@sun.com>
700 Started putting useful info in this file.
702 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
704 * atk-bridge/bridge.c:
705 Propagate state-changed notifications to ATs
707 * cspi/spi_registry.c: update docs to reflect actual behavior of
710 2002-04-17 Bill Haneman <bill.haneman@sun.com>
713 Incremented version to 0.12.1
716 Add missing declaration for magnifier_exit,
717 used by mag_control.c - Forte compiler didn't like
718 the implicit redeclaration of the function :-(
721 2002-04-16 Bill Haneman <bill.haneman@sun.com>
724 Revved version to 0.12 due to API change (see below).
726 * cspi/spi-roletypes.h:
727 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
728 definition from the inline docs, and added docs
729 for SPI_ROLE_LAST_DEFINED.
732 * cspi/spi_streamablecontent.c:
733 Added missing seek_type parameter to
734 (so far unused) method,
735 AccessibleStreamableContent_seek().
736 [ RT approval JodyG. ]
739 Fixed docs for SPI_createAccessibleKeystrokeListener.
741 * cspi/spi_registry.c:
742 Fixed docs for SPI_KEYSET_ALL_KEYS.
744 * docs/reference/cspi/at-spi-cspi-sections.txt:
745 Added a number of missing APIs to SECTIONS.
747 2002-04-16 Bill Haneman <bill.haneman@sun.com>
749 * registryd/Makefile.am:
751 * cspi/bonobo/Makefile.am:
752 Add $(X_LIBS) to makefiles.
754 2002-04-15 Bill Haneman <bill.haneman@sun.com>
757 Revved version to 0.11.
759 * libspi/component.c:
760 Added implementation for grabFocus.
762 * idl/Accessibility_Component.idl
763 (Accessibility_Component_grabFocus):
764 Made this method return boolean to indicate success or failure, to
765 be consistent with cspi and the corresponding ATK method.
767 * idl/Accessibility_Selection.idl
768 (Accessibility_Selection_selectAll) :
769 Made these methods return boolean to indicate success or
770 failure, to be consistent with cspi and the corresponding ATK methods.
772 * idl/Accessibility_EditableText.idl
773 (Accessibility_EditableText_setTextContents,
774 Accessibility_EditableText_insertText,
775 Accessibility_EditableText_cutText,
776 Accessibility_EditableText_deleteText,
777 Accessibility_EditableText_pasteText):
778 Made these methods return boolean to indicate
781 * cspi/spi_editabletext.c:
782 Made these methods return booleans.
784 * libspi/selection.c:
785 * libspi/component.c:
786 * libspi/editabletext.c:
787 Connected the boolean returns from ATK
788 to the server-side code referenced above.
790 2002-04-14 Bill Haneman <bill.haneman@sun.com>
792 * idl/Accessibility_Table.idl: Added missing methods,
793 Accessibility_Table_addRowSelection,
794 Accessibility_Table_addColumnSelection,
795 Accessibility_Table_removeRowSelection,
796 Accessibility_Table_removeColumnSelection.
799 Added C wrappers for above IDL:
800 AccessibleTable_addRowSelection,
801 AccessibleTable_addColumnSelection,
802 AccessibleTable_removeRowSelection,
803 AccessibleTable_removeColumnSelection.
806 Added server-side implementation code for IDL above, connecting
807 to pre-existing ATK api.
809 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
811 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
813 * libspi/accessible.c: Added implementation fo
814 Accessibility_Accessible_get_state.
816 * libspi/libspi.h: Added stateset.h to the list of includes.
818 * libspi/stateset.c: Fixed broken implementation.
820 2002-04-13 Bill Haneman <bill.haneman@sun.com>
823 Added implementation code for Accessibility_Magnifier_exit ().
825 * util/mag_control.c:
826 Added test code for above method; you can
827 now kill an existing magnifier via
828 ./mag_control q, from the util directory.
830 * test/key-listener-test.c:
832 Added a new test, for our key listener API.
834 2002-04-11 Bill Haneman <bill.haneman@sun.com>
836 * test/app.c, test/keysynth-demo.c:
838 Replace use of snprintf with g_snprintf.
839 (fix for bugzilla 78249)
841 2002-03-27 Michael Meeks <michael@ximian.com>
845 * util/Makefile.am (INCLUDES): fix.
846 (DONT_DIST_SOURCE): don't distribute the
849 * libspi/Makefile.am (dist-hook): ditto.
851 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
853 * libspi/hypertext.c:
854 Fix warnings when yelp is used with atk-bridge
856 2002-03-21 Michael Meeks <michael@ximian.com>
858 * libspi/application.c (spi_application_new):
859 use spi_accessible_construct so we use the AtkObject
862 2002-03-19 Michael Meeks <michael@ximian.com>
864 * registryd/registry.c (desktop_remove_application),
865 (desktop_add_application): clean coding style.
867 * registryd/desktop.c (spi_desktop_remove_application),
868 (spi_desktop_add_application): kill re-enterency hazards.
869 (spi_desktop_dispose): remove bogus redundant cast
870 obscuring bug; fix bug too.
871 (spi_desktop_init): make the desktop object immortal.
873 2002-03-16 Bill Haneman <bill.haneman@sun.com>
876 Added a #define-guarded tree-traversal step
877 when enumerating the apps (diagnostic tool).
879 2002-03-15 Bill Haneman <bill.haneman@sun.com>
881 * idl/Accessibility_Role.idl:
882 Added ROLE_DRAWING_AREA which seemed to be missing from the
885 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
887 * cspi/spi-roletypes.h cspi/spi_accessible.c
888 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
891 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
892 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
893 AT when applications are added and removed from the desktop. This
894 reverts the previous broken implementation using the backing
895 AtkObject for the SpiDesktop.
897 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
899 * registryd/desktop.c: emit the "children-changed::add" and
900 "children-changed::remove" signals on the backing ATK object for
901 the desktop so AT can tell when applications are started and shut
904 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
906 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
908 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
910 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
912 * cspi/spi_accessible.c: Implemented c bindings for stateset support
914 * cspi/state-types.h: synched with IDL and ATK
916 2002-03-13 Bill Haneman <bill.haneman@sun.com>
918 * libspi/accessible.c
919 (impl_accessibility_accessible_get_child_at_index):
920 Change return value for g_return_if_fail ()
921 to CORBA_OBJECT_NIL instead of "0" (!)
923 * registryd/Makefile.am:
924 * registryd/Accessibility_Register.server.in:
925 Changed name of executable, "registryd",
926 to something more informative:
929 2002-03-13 Michael Meeks <michael@ximian.com>
931 * atk-bridge/bridge.c (atk_bridge_init): don't register
932 if we're in a bonobo-component, rather than a bonobo app.
934 2002-03-13 Michael Meeks <michael@ximian.com>
936 * atk-bridge/bridge.c (gtk_module_init): split
937 out body to (atk_bridge_init): here, since otherwise
938 we get symbol conflicts and oddness when invoked
939 from (gnome_accessibility_module_init): here (upd.)
941 2002-03-11 Bill Haneman <bill.haneman@sun.com>
944 New file. Explicitly allow "build sheriff" putbacks provided
945 they are tested on Solaris.
947 * docs/reference/cspi/Makefile.am:
948 Added '-' to the "cp" command for index.sgml.
949 ("patch by thomasvs, soon coming to a GUADEC near you")
952 Incremented version number (0.9.0) for new release.
953 Changed macro that checks for popt, to better detect
954 obsolete versions of popt.
957 Added X_LIBS to AC_SUBST, for applications
958 that call Xlib API directly.
961 2002-03-07 Bill Haneman <bill.haneman@sun.com>
964 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
967 Fix regression caused by hard-coding major
968 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
971 * test/test-simple.c (test_editable_text),
972 (test_test): revert previous change (error was
973 a regression in gail which is now fixed).
975 2002-03-04 Michael Meeks <michael@ximian.com>
977 * test/test-simple.c (test_editable_text),
978 (test_text): pass G_MAXINT instead of '-1' for
979 whole string - is this a good thing !?
981 * cspi/spi_accessible.c
982 (Accessible_getRelationSet): fix crasher bug
983 overwriting the end of the array.
985 * test/test-simple.c (validate_accessible): free,
986 not g_free returned relation set.
988 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
990 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
991 implemented stateset support
993 * idl/Accessibility_State.idl: Made necessary changes to
994 the IDL to support state sets.
996 2002-02-12 Bill Haneman <bill.haneman@sun.com>
998 * registryd/deviceeventcontroller.c:
999 Added implementation for generateMouseEvent.
1001 * cspi/spi_registry.c:
1002 Connected new implementation for generateMouseEvent
1005 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1008 Incremented revision (but no change in public API
1009 outside of 'utils', which are not installed public yet.)
1011 * libspi/component.c:
1012 Changed to use atk_component API for layers and
1013 mdi_zorder, instead of deprecated atk_object API.
1015 Magnification Utility Enhancements:
1018 Added implementation of createZoomRegion, clearAllZoomRegions,
1019 resizeZoomRegion. Added new commandline argument
1020 "--no-initial-region". Note that clearAllZoomRegions doesn't
1021 unmap the old '0' region as it should (yet), and the other
1022 methods only work when creating/resizing a single region,
1023 which is "region 0".
1024 (Code for multiple region support will be added later.)
1027 Now we raise the magnifier window each time it's refreshed;
1028 this will help keep it on top.
1030 * util/mag_client.h:
1031 Added simple wrappers for above, used by mag_control.
1032 For general use, it's recommended to use the bonobo magnifier
1033 control API directly instead of using these wrappers.
1036 Moved ZoomRegionData from magnifier.c to this file.
1038 * util/mag_control.c:
1039 Added some code to exercise new IDL implementations.
1041 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
1043 * libspi/text.c: Provide implementation for getAttributes.
1045 2002-02-04 Bill Haneman <bill.haneman@sun.com>
1048 Incremented revision.
1050 * test/test-simple.c:
1051 Replaced use of deprecated g_main_iteration with
1052 g_main_context_iteration.
1054 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
1057 Incremented revision for desktop alpha 2.
1059 2002-01-28 Mark McLoughlin <mark@skynet.ie>
1061 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
1064 * test/simple-at.c: include netinet/in.h.
1066 2002-01-24 Mark McLoughlin <mark@skynet.ie>
1068 * cspi/spi_accessible.c: (Accessible_getRelationSet):
1069 use NULL, not CORBA_OBJECT_NIL.
1071 * libspi/accessible.c:
1072 (impl_accessibility_accessible_get_relation_set):
1073 allocate the sequence correctly.
1075 * libspi/remoteobject.h: kill spi_remote_object_new.
1077 * test/test-simple.c: (validate_accessible): add code
1078 to test relation sets, now all we need is to figure
1079 out how to excercise this code path :/
1081 2002-01-18 Michael Meeks <michael@ximian.com>
1083 * test/test-simple.c
1084 (key_listener_cb): consume the key.
1085 (test_keylisteners): update.
1086 (main): wait for any pending unrefs on events.
1088 * registryd/deviceeventcontroller.c
1089 (spi_controller_update_key_grabs): only re-issue the
1090 grab on a key release.
1091 (spi_device_event_controller_forward_key_event):
1092 refresh the keygrabs before we notify the listeners,
1093 to reduce the X ungrab / re-grab race.
1094 (spi_controller_register_with_devices): remove
1095 XSelectInput - we do that with the gdk_window_ call.
1096 (_spi_controller_device_error_handler): return a value.
1097 s/GDK_DISPLAY/spi_get_display/
1099 2002-01-17 Michael Meeks <michael@ximian.com>
1101 * registryd/deviceeventcontroller.c
1102 (_deregister_keygrab): don't blow out the later
1105 * test/test-simple.c (test_keylisteners): do a
1106 more intelligent validation.
1108 2002-01-14 Michael Meeks <michael@ximian.com>
1110 * atk-bridge/bridge.c
1111 (gnome_accessibility_module_init),
1112 (gnome_accessibility_module_shutdown): impl.
1113 (gtk_module_init): protect vs. double inits.
1114 (add_signal_listener): impl.
1115 (spi_atk_bridge_state_event_listener): kill
1116 (deregister_application): split out of
1117 (spi_atk_bridge_exit_func): here.
1119 2002-01-18 Bill Haneman <bill.haneman@sun.com>
1122 Added caret tracking when using magnifier, and
1123 now use text bounds for focus tracking of text elements, rather than
1124 the component bounds - this is helpful for short text fields in long
1125 table cells, at high magnification.
1127 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1129 * registryd/deviceeventcontroller.c:
1130 Regression fix for keylistener de-registration; global keygrabs
1131 were not being released when deregisterKeystrokeListener was
1132 called in cspi, since
1133 Accessibility_DeviceEventController_deregisterKeystrokeListener
1134 was called with a zero-length keyset. That is because the cspi
1135 method, SPI_deregisterKeystrokeListener, does not take a keyset
1136 parameter but instead should remove all the key grabs held be a
1138 The code in impl_deregister_keystroke_listener was changed to copy
1139 the keylist from the listener instance previously registered with
1140 the DeviceEventController before releasing the grabs.
1142 * registryd/registry.c:
1143 * registryd/deviceeventcontroller.c:
1144 * libspi/spi-private.h:
1146 Changed spelling of "re-enterant" to "re-entrant" globally.
1148 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1150 * test/test-simple.c:
1151 Changed key listeners test - the test was slightly mis-using the
1152 (admittedly poorly documented) SPI_generateKeyboardEvent API.
1153 It now uses '=' as the key event listened to and generated,
1154 relying on a keysym match rather than assuming that keycode 33
1155 is always equal to keysym '!'.
1157 2002-01-15 Bill Haneman <bill.haneman@sun.com>
1160 Changed simple-at to use a specific keyset, rather than
1161 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
1162 manager, desktop, etc.
1164 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1166 * registryd/deviceeventcontroller.c:
1167 Replaced standard X error handler with a special handler that
1168 is non-fatal for failed keygrabs. This works around
1169 problems with keygrab clashes sometimes observed on
1171 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
1172 mouse handling code as yet).
1174 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1177 Incremented revision for desktop alpha release.
1180 Fixed a couple of the more glaring errors (still not
1183 2002-01-11 Michael Meeks <michael@ximian.com>
1185 * registryd/deviceeventcontroller.c
1186 (spi_device_event_controller_forward_key_event): kill
1187 XUngrabKey / XKeyGrab race.
1188 (spi_controller_grab_keyboard): rename to
1189 (spi_controller_update_key_grabs): this, and deal
1190 with incremental adding / removing grabs more
1192 (_register_keygrab): ensure we're not pending a remove.
1193 (spi_grab_mask_free): impl.
1194 (spi_controller_register_global_keygrabs): split out
1196 (handle_keygrab): impl.
1197 (_deregister_keygrab): impl.
1198 (spi_controller_deregister_global_keygrabs): impl.
1199 (spi_controller_update_key_grabs): re-issue the grab if
1200 we just recieved a notification.
1202 * test/test-simple.c (key_listener_cb): remove debug.
1204 * registryd/deviceeventcontroller.c
1205 (spi_controller_register_device_listener): after
1206 registering a global keygrab, actualy register it !
1207 don't wait for a timeout; doh !
1209 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
1210 to make it more readable / manipulable.
1211 s/grabmask/grab_mask/ s/refcount/ref_count/
1212 s/keyval/key_val/ s/modmask/mod_mask
1214 2002-01-08 Michael Meeks <michael@ximian.com>
1216 * registryd/deviceeventcontroller.c
1217 (spi_controller_register_with_devices): use gdk calls to
1219 (global_filter_fn): implement the filter.
1220 (spi_device_event_controller_check_key_event): rename to
1221 (spi_device_event_controller_forward_key_event): this & upd.
1222 (spi_get_display): replace with GDK_DISPLAY.
1224 * registryd/deviceeventcontroller.c
1225 (spi_controller_deregister_device_listener): unroll into
1226 (impl_deregister_keystroke_listener): here to simplify.
1227 (spi_controller_register_global_keygrabs): split cut and
1228 paste (!) out into (_register_keygrab): here, shorter & sweeter.
1229 (spi_controller_deregister_device_listener): remove.
1230 (impl_register_mouse_listener): remove, no mouse listener
1231 support in at-spi-1.0
1233 * registryd/registry.c
1234 (_device_event_controller_hook): kill.
1235 (spi_registry_init): upd.
1237 * registryd/deviceeventcontroller.c
1238 (spi_device_event_controller_class_init): upd.
1239 (spi_check_key_event): merge into.
1240 (spi_device_event_controller_check_key_event):
1241 here and kill strange static ev init, don't leak
1242 the x_event - nor dynamicaly allocate it.
1244 * registryd/registry-main.c (main): re-direct
1245 timeout to remove strange vtable mess.
1247 * registryd/deviceeventcontroller.c
1248 (remove_listener_cb): impl.
1249 (spi_controller_deregister_device_listener):
1250 fix re-enterancy hazard.
1252 2002-01-07 Michael Meeks <michael@ximian.com>
1254 * registryd/deviceeventcontroller.c
1255 (spi_device_event_controller_new): upd.
1256 (impl_notify_listeners_sync): upd. debug.
1257 (spi_notify_keylisteners): fix re-enterancy hazards,
1258 prettify, remove O(n*n) iteration.
1259 (spi_controller_grab_keyboard): fix iteration.
1260 (spi_check_key_event): re-format to suit coding style.
1261 Clean all the warnings - we're warning free.
1263 * registryd/deviceeventcontroller.h:
1264 * registryd/registry.h: make mutualy referential with
1265 typesafe forward references instead of (!) void pointer
1268 2002-01-11 Michael Meeks <michael@ximian.com>
1270 * cspi/spi_accessible.c (role_names): add a role name
1271 to sync this array with the enum; and make the regression
1274 2002-01-10 Michael Meeks <michael@ximian.com>
1276 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
1277 allow expansion of enumeration & kill warning.
1279 * test/test-simple.c (key_listener_cb): impl.
1280 (test_keylisteners): impl.
1282 * cspi/spi-listener.h: make listener signatures const
1283 on the provided (const) events.
1285 * test/keysynth-demo.c: upd. to const events.
1287 * test/simple-at.c: ditto.
1289 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1292 Rev the version to 0.5 (the previous tarball was named 0.4,
1293 even though the micro number was 3), so we need to rev upwards
1294 again for beta2/"desktop-alpha"
1297 Checked in a demo script, which requires editing before use!
1298 Proceed with caution.
1301 Fixed typo in header which was redefining SPI_ACTION_CLASS.
1303 * cspi/spi_accessible.c:
1304 Add a couple of missing enum initializations, and fix some enum
1307 * cspi/spi_registry.c:
1308 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
1310 * docs/reference/cspi/at-spi-cspi-sections.txt:
1311 Remove/fix a couple of broken document references.
1314 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
1315 as Alt-Control to listen for commands, since on some systems
1316 Control-Alt may already be grabbed.
1318 2002-01-10 Bill Haneman <bill.haneman@sun.com>
1321 Update version number to 0.4 for Beta2.
1323 * libspi/accessible.c, libspi/accessible.h:
1324 Expose spi_accessible_construct, to enable libgail-gnome
1325 construction from spi_accessible subtype.
1327 * utils/magnifier.c:
1328 Workaround for bug in some non-gnome-compliant window managers
1329 which made magnifier resize improperly.
1331 2002-01-09 Bill Haneman <bill.haneman@sun.com>
1333 * libspi/accessible.c: (spi_accessible_new) :
1334 Move the test for SPI_IS_REMOTE_OBJECT to
1335 spi_accessible_new_return, fixing a bug and compile time warning.
1337 2002-01-08 Michael Meeks <michael@ximian.com>
1339 * registryd/registry.c (parse_event_type): remove strndup.
1341 * libspi/Makefile.am (libspi_la_SOURCES): remove
1342 sources already included in the headers section.
1344 * libspi/util.c: add.
1346 * libspi/spi-private.h: add.
1348 * registryd/registry.c: update to moved list iterators.
1350 2002-01-05 Michael Meeks <michael@ximian.com>
1352 * test/simple-at.c (main): upd. auto-module set to atk-bridge
1354 * test/test-simple.c (main): ditto.
1356 2002-01-04 Michael Meeks <michael@ximian.com>
1358 * libspi/accessible.c (spi_accessible_new): remove 2nd,
1359 redundant construct.
1361 * registryd/registry.c
1362 (get_listener_list): impl.
1363 (impl_accessibility_registry_register_global_event_listener):
1364 re-impl. to simplify using ~, remove dodgy const cast off.
1365 (parse_event_type): constify.
1366 (impl_accessibility_registry_deregister_global_event_listener_all):
1367 re-write, more efficiency and simplicity, kill re-enterancy
1369 (compare_listener_corbaref, compare_corba_objects),
1370 (compare_listener_quarks): define out.
1371 (impl_accessibility_registry_deregister_global_event_listener):
1372 re-write for effiency, and nail re-enterancy hazard.
1373 (impl_accessibility_registry_get_desktop_list): impl.
1374 (re_enterant_list_delete_link): impl.
1375 (re_enterant_list_foreach): impl.
1376 (remove_listener_cb): impl.
1377 (_registry_notify_listeners): kill.
1378 (notify_listeners_cb): impl.
1380 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
1381 (SPI_getDesktopList): impl.
1383 * test/test-simple.c (test_desktop): test the methods.
1385 2002-01-03 Michael Meeks <michael@ximian.com>
1387 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
1388 keystrings since we free them
1389 (SPI_freeAccessibleKeySet): in here.
1391 * libspi/accessible.c (spi_accessible_new): kill warning,
1392 wonder what is going on with the constructor here.
1394 2002-03-01 Bill Haneman <bill.haneman@sun.com>
1396 * libspi/accessible.c (spi_accessible_new ()) :
1397 Added check to see if AtkObject is an SpiRemoteObject before
1398 creating an SpiAccessible.
1400 2002-05-01 Bill Haneman <bill.haneman@sun.com>
1402 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
1403 Enable keygrabs using the Control modifier, now that they are
1404 working properly (they were previously disabled).
1407 Change the command keygrab for this demo to "Control+Alt", so as
1408 to conflict with fewer other key commands on the system; this
1409 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
1411 Removed a pointlessly-chatty keylistener for unshifted keys
1412 (shifted keys are still reported).
1414 2002-02-01 Bill Haneman <bill.haneman@sun.com>
1416 * libspi/remoteobject.h:
1417 * libspi/remoteobject.c:
1418 Added definitions for special AtkObject subtype, required for
1419 support of remote components (specifically, used by BonoboControl
1420 accessibility implementation).
1422 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
1424 * cspi/spi.h: synched relation types with ATK
1426 * cspi/spi_accessible.c: Added implementations of
1427 AcccessibleRelation_* methods
1429 * idl/Accessibility_Relation.idl: added getRelationTypeName
1430 method. Synched known relation types with ATK. Allowed for
1431 relation type extension with the RELATION_EXTENDED type.
1433 * libspi/relation.c: Provided implementations for
1434 AccessibleRelation methods.
1436 2002-01-01 Bill Haneman <bill.haneman@sun.com>
1438 API tweaks for today's API 'freeze'.
1441 Added placeholder functions to allow future compatible expansion
1442 of the IDL interfaces.
1444 * idl/Accessibility_Registry.idl:
1445 Changed generateKeyEvent to generateKeyboardEvent. Changed
1446 signature of this method to accept an optional keystring in
1447 parameter (for complex text input synthesis) and changed use of
1448 simple 'boolean' parameter in registerKeystrokeListener to a
1449 struct, EventListenerMode.
1451 * cspi/spi_accessible.c:
1453 * cspi/spi_streamablecontent.c:
1454 Added references to AccessibleStreamableContent interface, and
1455 definition and implementation of AccessibleStreamableContent
1458 * cspi/spi_registry.c:
1460 Changed generateKeyEvent API to generateKeyboardEvent,
1461 taking a new (optional) keystring parameter to support complex
1466 Renamed directory (to better reflect its actual purpose, bridging
1467 from at-spi to ATK). The .so module is also now named
1470 * idl/Accessibility_Hypertext.idl:
1471 * libspi/accessible.c:
1472 * libspi/hypertext.h:
1473 * libspi/hypertext.c:
1474 Changed Accessibility_Hypertext to *not* derive from
1477 * cspi/spi_registry.c:
1478 Added list of legal event type names for 'window' events, which
1479 completes the registry event API.
1481 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
1483 * at-bridge/bridge.c: Added registration for separate
1484 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
1485 signals. If either of the first two parameters to the generic
1486 bridge signal handler are ints, they are passed on as event
1487 details. This allows an AT to determine what text was inserted.
1489 2001-12-21 Bill Haneman <bill.haneman@sun.com>
1491 * registryd/deviceeventcontroller.c:
1492 Fixed regressions in generateKeyEvent caused by the removal of
1493 gdk_init from registryd; we now use pure X calls to connect to the
1494 display, which makes sense because deviceeventcontroller already
1495 uses a fair bit of X API (should eventually be migrated to a
1496 'portability layer').
1498 * registryd/desktop.c:
1499 Fixed minor regression in spi_desktop_init, changed the way the
1500 desktop name is being set to work with new spi_base API
1501 (gobject-based, rather than AtkObject-based).
1503 * registryd/Makefile.am:
1504 Minor revision of makefile to use XTST_LIBS variable rather than
1505 hard-wiring the Xtst LD_ADD element.
1507 * test/keysynth-demo.c:
1508 Tweaked an output message; added initialization of the
1509 'keystrings' member of the "switch listener" key_set.
1511 * libspi/relation.c:
1512 Squashed compile-time warning.
1514 * libspi/accessible.c:
1515 Cosmetic and formatting fixes, renamed a static method.
1517 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
1519 * libspi/accessible.c
1521 * libspi/application.c
1524 * libspi/component.c
1525 * libspi/editabletext.c
1526 * libspi/hyperlink.c
1527 * libspi/hypertext.c
1529 * libspi/selection.c
1533 * registryd/desktop.c:
1534 Changed SpiBase to contain a GObject pointer rather than an AtkObject
1536 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1538 * idl/Accessibility_Registry.idl:
1539 Added boolean member 'is_text' to DeviceEvent. This is for the
1540 use of key events, and helps prevent ambiguity between composed
1541 key strings and keysym names, since both may potentially be
1542 returned in the 'event_string' member.
1544 * at-bridge/bridge.c:
1545 * registryd/deviceeventcontroller.c:
1546 Use the 'is_text' member when notifying device event listeners.
1547 Knon issue: composed characters are not dealt with correctly by
1548 the global key listener implementation yet.
1550 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1552 * at-bridge/bridge.c:
1553 Namespaced local static methods to spi_atk_bridge_* where
1554 previously named bridge_*, and spi_* elsewhere.
1556 * at-bridge/bridge.c:
1557 * cspi/bonobo/cspi-bonobo-listener.c:
1558 Added demarshalling/conversion for string member of
1559 Accessibility_DeviceEvent to AccessibleKeystroke.
1561 * registryd/deviceeventcontroller.c:
1562 Added code to fill the Accessibility_DeviceEvent key string value
1563 member for global key events (i.e. from XGrabKey), to match
1564 behavior of Accessibility_DeviceEvent from the toolkit key events
1565 from the bridge. Fixed timestamp in global key event notifications.
1568 Added printout of key event's string value to
1569 report_ordinary_key_event, for demo/debugging purposes.
1571 2001-12-15 Bill Haneman <bill.haneman@sun.com>
1573 * idl/Accessibility_Registry.idl:
1574 Removed Accessibility_KeyStroke structure in favor of generic
1575 Accessibility_DeviceEvent structure.
1576 Changed Accessibility_ControllerEventMask from a struct to an
1579 * at-bridge/bridge.c:
1580 Changed APIs to use DeviceEvent structure as above, and removed
1581 bogus casting between these event structures.
1583 * cspi/spi-listener.h:
1584 Added keystring member of AccessibleKeystroke structure, to enable
1585 matching on event "names" rather than only hardware codes and
1589 Added keystrings member of AccessibleKeySet struct, to allow
1590 matching on event names (as above).
1591 Added declarations for SPI_createAccessibleKeySet and
1592 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
1593 event modmasks directly as unsigned ints rather than structs with
1594 refcounts, in the DeviceEventController methods.
1596 * cspi/spi_registry.c:
1597 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
1599 * cspi/spi-roletypes.h:
1600 Added documentation of newly added SPI Roles.
1602 * cspi/bonobo/cspi-bonobo-listener.c:
1603 Changes in support of API changes above.
1605 * libspi/accessible.c:
1606 Converted APIs to use DeviceEvent structure (see IDL changes
1609 * registryd/deviceeventcontroller.c:
1610 Added DEControllerGrabMask structure to track keygrabs not only by
1611 modmask but by keyset as well; this allows us to do "global"
1612 (i.e. X) keygrabs on a per-key or keyset basis rather than always
1613 grabbing on AnyKey and then filtering after-the-fact.
1614 Bugfixes for event filtration mean that we don't get false matches
1615 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
1617 * registryd/deviceeventcontroller.c:
1618 Namespaced a number of static methods to use spi_ prefix. Major
1619 revision to internals of global (i.e. X) key grabs.
1621 * registryd/deviceeventcontroller.h:
1622 Removed keymask_list and added keygrabs_list to
1623 SpiDeviceEventController struct.
1626 Added use of SPI_createAccessibleKeySet API when creating a
1627 listener for only one key. Attach a listener to "shift spacebar
1628 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
1629 X key event names to SPI key event names, so that listeners are
1630 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
1632 * test/keysynth-demo.c:
1633 Changed (incorrect) use of X key event names (KeyPressed,
1634 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
1637 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1639 * libspi/accessible.c:
1640 Convert all AtkRole enumerations to Accessibility_Role enums when
1641 getting a role from an AtkObject.
1643 * cspi/spi_accessible.c:
1644 Complete the conversion of Accessibility_Role enums at runtime to
1645 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
1646 role enums correctly match those given in spi-roletypes.h.
1647 Re-synchronize the local names list for AccessibleRole_getName ().
1648 AccessibleRole_getName is now deprecated, since it duplicates the
1649 more reliable Accessible_getRoleName.
1650 Added some role types from Accessibility_Role.idl.
1652 * idl/Accessibility_Role.idl:
1653 Added some role types used by AtkRole.
1655 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1658 * cspi/spi_registry.c:
1660 * cspi/cspi-bonobo-listener.c:
1661 Namespaced all methods that did not begin with an "SPI_" or
1662 "Accessible" prefix to "SPI_".
1665 Homogenized internal function namespace to "cspi_" for statics.
1668 Patched tests to use the new CSPI API.
1670 * docs/reference/cspi/at-spi-cspi-sections.txt:
1671 Updated docs to reflect namespace changes, and added a number of
1672 methods to the documentation.
1674 * registryd/registry.c:
1675 Changed use of strings and string hashes in listener event
1676 matching and parse_event_string to use GQuark, which is guaranteed
1679 * registryd/registry.h:
1680 Squashed annoying warning.
1682 * idl/Accessibility_Role.idl:
1683 Extended range of available Accessibility_Role values.
1685 * cspi/spi_accessible.c:
1686 Re-ordered role names.
1688 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1690 * idl/Accessibility_Value.idl:
1691 Revert use of union back to CORBA_double, since the double type is
1692 more efficient and can contain the other types without loss of
1695 * idl/Accessibility_Accessible.idl:
1696 Added method Accessibility:Accessible:getRoleName, to complement
1697 Accessibility:Accessible:getRole.
1699 * cspi/spi_accessible.c:
1701 Added C binding for above, Accessible_getRoleName (), and changed
1702 signature of Accessible_getRole () to return an AccessibleRole.
1704 * cspi/spi-roletypes.h:
1705 Changed AccessibleRole_getName to return a char * instead of a
1706 const char *. This method is now at least temporarily deprecated
1707 in favor of asking Accessibles for their RoleNames directly.
1710 Revert to match Accessibility_Value.idl;
1714 Change signature of AccessibleValue methods to use double rather
1718 * cspi/spi_accessible.c:
1719 Changed Accessible_getRole to return an AccessibleRole enum rather
1720 than a UTF-8 string. The UTF-8 string can still be obtained via
1721 AccessibleRole_getName ().
1723 * test/test-simple.c:
1724 Add test_action. Small fixup to match API change to Accessible_getRole.
1727 Bugfix for get_action_from_servant ().
1729 2001-12-11 Michael Meeks <michael@ximian.com>
1731 * libspi/libspi.h: remove registry.h and
1732 desktop.h, deviceeventcontroller.h
1734 * libspi/Makefile.am: remove registry.[ch],
1735 desktop.[ch], deviceeventcontroller.[ch]
1737 * registryd/Makefile.am: add registry.[ch],
1738 desktop.[ch], rename registryd.c to registry-main.c.
1739 add deviceeventcontroller.[ch]
1741 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1744 Replace setenv() call with putenv ().
1746 * libspi/component.c:
1747 Bugfix in AccessibleComponent_getExtents (),
1750 2001-12-11 Michael Meeks <michael@ximian.com>
1752 * libspi/image.c (impl_getImageExtents): impl.
1753 (spi_image_class_init): upd.
1756 (AccessibleImage_getImageDescription): fix daft bug
1759 * test/test-simple.c (global_listener_cb): update
1760 to only quit if not --poke
1761 (main): catch --poke.
1762 (validate_accessible): upd. dumping, call test_image
1765 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1768 * idl/Accessibility.idl: update all IDL includes.
1770 * idl/*.idl - rename to namespace - this sucks, blame
1771 mjs' bad decision for oafd.
1773 * test/test-simple.c (create_test_window): add more tests.
1774 (create_tree): split this out.
1775 (validate_accessible): bugfix.
1777 2001-12-11 Michael Meeks <michael@ximian.com>
1779 * cspi/bonobo/cspi-bonobo-listener.c:
1780 (cspi_kestroke_listener_unref),
1781 (cspi_event_listener_unref): impl. undoing previous
1782 homenous environment - for Bill.
1784 * cspi/spi_table.c (long_seq_to_array): use
1787 * cspi/spi_main.c: split out all bonoboish bits into
1790 * cspi/spi-impl.h: upd. typedefs.
1792 * cspi/spi_registry.c: update to lowlevel API,
1793 return booleans to indicate success in some places.
1795 * cspi/spi_event.c: update to lowlevel API.
1797 * cspi/bonobo/Makefile.am: add.
1799 * cspi/bonobo/cspi-lowlevel.h: add
1801 * cspi/bonobo/cspi-bonobo.c: add
1803 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1805 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1806 (SUBDIRS): add bonobo, link in the libs.
1808 * cspi/spi-util.c: kill this file.
1810 * TODO: merge in my bits.
1812 2001-12-11 Michael Meeks <michael@ximian.com>
1814 * test/test-simple.c (test_value, test_table, main):
1815 remove unused variables causing warnings.
1817 * configure.in: cleanup checks - require gail.
1819 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1822 Changed Value interface to use SValue (scalars) rather than
1823 assuming all values are floats. This allows floats, doubles,
1824 longs, shorts, and unsigned values to be manipulated.
1825 Introduced Accessibility:SValue union.
1828 Updated to use new API above, and to work correctly with GValues
1829 of different types in AtkValue.
1832 Updated to use new API above. cspi's API is as yet unchanged.
1835 Updated the Value revision action item.
1837 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1839 * test/test-simple.c:
1840 Added test_table (GtkTreeView widget in test window to follow).
1841 Un-commented test_value, added GtkRange widget.
1842 Added GtkTreeView widget with GtkListStore. It passes regression
1843 test but leaks one SPI object for some reason.
1846 Fixed bug in impl__set_currentValue.
1848 2001-12-10 Michael Meeks <michael@ximian.com>
1850 * cspi/spi_text.c: audit for exception handling,
1851 tolerating NULL object references safely etc.
1853 * cspi/spi_value.c: ditto.
1855 * cspi/spi_table.c (AccessibleTable_getSummary),
1856 (AccessibleTable_getAccessibleAt),
1857 (AccessibleTable_getRowHeader),
1858 (AccessibleTable_getColumnHeader),
1859 (AccessibleTable_getCaption): fix bugs hidden by
1861 (long_seq_to_array): impl.
1862 (AccessibleTable_getSelectedRows),
1863 (AccessibleTable_getSelectedColumns): use it.
1865 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1868 Added a TODO list (rough and short for now).
1870 * cspi/spi_hyperlink.c:
1871 * cspi/spi_hypertext.c:
1872 Fixed macro name typos, and remove use of obsolete macro in
1873 AccessibleHyperlink_getLink.
1875 * cspi/spi_action.c:
1876 * cspi/spi_accessible.c:
1877 * cspi/spi_application.c:
1878 * cspi/spi_component.c:
1879 * cspi/spi_selection.c:
1882 Documentation fixes (removed return values from ref/unref methods).
1884 2001-12-10 Michael Meeks <michael@ximian.com>
1886 * cspi/spi_action.c: audit for exception handling,
1887 tolerating NULL object references safely etc.
1889 * cspi/spi_accessible.c: ditto.
1891 * cspi/spi_component.c: ditto.
1893 * cspi/spi_editabletext.c: ditto.
1895 * cspi/spi_hyperlink.c: ditto.
1897 * cspi/spi_hypertext.c: ditto.
1899 * cspi/spi_image.c: ditto.
1901 * cspi/spi_selection.c: ditto.
1903 2001-12-10 Michael Meeks <michael@ximian.com>
1905 * configure.in: use cspi/libspi.pc.in instead.
1907 * Makefile.am (pkgconfig_DATA): upd. to match.
1909 * test/simple-at.c (report_focus_event): kill hacks around
1910 bad return values, use putenv not setenv
1912 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
1913 fire ChildGone - I killed it.
1915 * libspi/component.c
1916 (impl_accessibility_component_get_extents): remove
1919 * idl/Accessible.idl: kill ChildGone exception.
1921 * cspi/*.[ch]: kill int return from ref / unref.
1923 * cspi/spi_main.c (cspi_object_add_check): fold into
1924 (cspi_object_add): here.
1926 * cspi/spi_component.c (AccessibleComponent_getExtents):
1927 handle exceptions elegantly.
1929 * cspi/spi-private.h (cspi_check_ev_return),
1930 (cspi_return_if_fail): impl.
1932 * cspi/spi_accessible.c: use extensively.
1933 (AccessibleStateSet_equals): add direct compare check.
1935 * cspi/spi_selection.c: tolerate NULL objs, and check
1936 exceptions before return.
1938 * cspi/spi-util.c (cspi_warn_ev): rename to
1939 (cspi_check_ev): this & don't pass ev in; no point.
1941 2001-12-10 Michael Meeks <michael@ximian.com>
1943 * test/test-simple.c: use putenv not setenv
1944 (get_environment_vars): more chatty if you're not using
1947 * test/simple-at.c: do the setenv so more people see the
1950 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1952 * libspi/registry.c:
1953 Changed check of CORBA_environment on notification to be a warning
1954 instead of an error for the moment, since we can recover from this
1955 error when caused by a queued notification from a dead app.
1958 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
1959 used by all current implementors of AtkValue), and coerce to
1960 CORBA_float. (Proper general case fix may require change to Value.idl).
1962 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1966 * cspi/spi_accessible.c:
1967 Documentation fixes: added user_data params to documentation for
1968 listeners and callbacks.
1970 * cspi/spi_accessible.c:
1971 Changed AccessibleStateSet_compare to return a
1972 StateSet rather than return the difference set into a third parameter.
1975 2001-12-09 Bill Haneman <bill.haneman@sun.com>
1978 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
1979 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
1983 Remove subdirectory po from SUBDIRS for now.
1985 * at-bridge/bridge.c:
1986 Beefed up a couple of debug printouts.
1987 One-line fix for signal notification name formatting.
1989 * libspi/accessible.c:
1990 Added assertion to spi_accessible_new ().
1992 * libspi/application.c:
1993 Put #ifdef qualifiers around a printf.
1996 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
1998 * registryd/Makefile.am:
2000 Replaces use of XML_I18N_MERGE_SERVER_RULE with
2001 INTLTOOL_SERVER_RULE macro.
2004 Added an event listener for several ATK signals, for
2005 testing and debugging. Removed a few g_warnings.
2006 Added test output if focussed item implements the Value interface.
2008 * test/test-simple.c:
2009 Added test_value () function (known not to pass at the moment, so
2010 not actually called yet.
2012 2001-12-08 Michael Meeks <michael@ximian.com>
2014 * at-bridge/bridge.c (bridge_focus_tracker),
2015 (emit_eventv): fix the same ref. leak.
2016 (register_atk_event_listeners): don't leak.
2018 * cspi/spi-listener-impl.c (cspi_event): more
2019 protection from client code.
2021 * test/test-simple.c (test_desktop): unref the app.
2023 * test/Makefile.am: upd. TESTS.
2025 * at-bridge/bridge.c (bridge_exit_func): release the registry.
2027 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
2029 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
2031 * cspi/spi_registry.c: constify in strings.
2032 (deregisterGlobalEventListenerAll): don't release the ref.
2034 * cspi/spi.h: start removing redundant / conflicting
2035 gtkdoc comments, making the API readable at a glance :-)
2037 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
2039 * test/keysynth-demo.c (keysynth_exit, main): upd.
2041 * test/simple-at.c (main, simple_at_exit): upd.
2043 * test/test-simple.c (unutterable_horror): kill.
2044 (utterable_normal_derefs): kill.
2045 (main): upd & do a setenv before gtk_init, so that we
2046 can use memprof - and to save the pain of remembering
2047 this, if we're running under memprof - don't exit.
2049 * cspi/spi_main.c (SPI_exit): return exit status
2051 (SPI_event_quit): impl.
2052 (SPI_event_main): simplify.
2053 (cspi_is_gnome_app): kill.
2054 (SPI_init): kill isGNOMEapp arg.
2056 * at-bridge/bridge.c (register_atk_event_listeners):
2057 re-instate the unref.
2058 (bridge_exit_func): don't re-activate the registry,
2059 protect vs. theoretical re-entry, use the
2060 AT_BRIDGE_SHUTDOWN env. var to determine whether to
2061 assert a clean shutdown - for regression tests.
2063 2001-12-08 Abel Cheung <maddog@linux.org.hk>
2065 * configure.in: Comment out dummy i18n support for now,
2066 otherwise it fails to build.
2067 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
2068 EXTRA_DIST. They are missing in tarball.
2070 2001-12-07 Michael Meeks <michael@ximian.com>
2072 * util/magnifier.c: kill bonobo activation reg. race.
2074 * libspi/component.c
2075 (impl_accessibility_component_get_extents): make it match
2078 * libspi/registry.c (_registry_notify_listeners):
2079 re-remove X headers & reconcile conflicts.
2080 (spi_listener_struct_free): bad conflict resolve.
2081 (impl_accessibility_registry_register_application):
2082 more bad merging fixed.
2083 (impl_accessibility_registry_deregister_application): ditto.
2084 (spi_registry_new): ditto.
2085 (spi_registry_init): don't have an applications field.
2087 [ merge fixups2 branch to here ]
2088 2001-12-07 Michael Meeks <michael@ximian.com>
2090 * test/simple-at.c (report_focus_event),
2091 (report_focussed_accessible): remove g_warning debug.
2093 2001-12-07 Michael Meeks <michael@ximian.com>
2095 * test/test-simple.c (validate_tree): comment out some checks.
2096 (test_desktop): app now not registered idly - horay.
2098 2001-12-07 Michael Meeks <michael@ximian.com>
2100 * cspi/spi_registry.c
2101 (registerAccessibleKeystrokeListener): clean, stop it leaking
2102 great swathes of memory, and device event controller references.
2103 ensure we always pass valid sequences.
2104 (deregisterAccessibleKeystrokeListener): ditto.
2105 (generateKeyEvent): upd.
2107 * at-bridge/bridge.c (bridge_key_listener): handle
2108 registry dead exception gracefully.
2109 (bridge_focus_tracker, emit_eventv): free ev.
2111 * test/simple-at.c (report_focus_event): fix polarity.
2113 * libspi/application.c (notify_listeners): kill the ev
2114 argument, and make sure we init the ev we use.
2115 (spi_application_object_event_listener): split out a chunk
2116 (get_atk_object_ref): here & fixup.
2117 (reverse_lookup_name_for_toolkit_event): make const.
2118 (spi_application_toolkit_event_listener): fixup, kill leaks
2121 * at-bridge/bridge.c (register_atk_event_listeners):
2122 don't unref the noop object - causes grief.
2124 * libspi/registry.c: remove the X headers.
2125 turn off the debug churn.
2127 * libspi/accessible.c (spi_accessible_new_return): only
2128 release the ref if we are supposed to [doh]
2130 * test/simple-at.c (report_button_press, report_focus_event):
2131 guard vs. unexpected exit.
2133 * at-bridge/bridge.c (gtk_module_init): prune printf.
2134 (bridge_exit_func): fix app unref.
2136 * libspi/Makefile.am: don't install registry or desktop.h
2138 * libspi/*.h: update includes.
2140 * libspi/application.h: don't include ourself, or
2141 other redundant headers.
2143 2001-12-06 Michael Meeks <michael@ximian.com>
2145 * libspi/accessible.c
2146 (get_accessible_from_servant): impl.
2147 Upd. all CORBA impl.s to use it killing cut and paste.
2149 * cspi/spi_main.c (cspi_cleanup): guard vs. double
2151 (SPI_init): register atexit cleanup handler here.
2153 2001-12-06 Michael Meeks <michael@ximian.com>
2155 * at-bridge/bridge.c (gtk_module_init): g_error on
2156 activation exception
2158 2001-12-06 Michael Meeks <michael@ximian.com>
2160 * at-bridge/bridge.c (gtk_module_init): some sort of
2161 confusing merge clash - reverted.
2162 (bridge_idle_init): ditto.
2164 * test/test-simple.c (main, utterable_normal_derefs):
2165 merge from Bill - somehow not committed.
2167 2001-12-06 Michael Meeks <michael@ximian.com>
2169 * libspi/value.c (spi_value_class_init): upd.
2170 (spi_value_finalize): kill.
2172 * libspi/table.c (spi_table_finalize): kill.
2173 (spi_table_interface_new): upd.
2174 (spi_table_class_init): upd.
2175 (get_table_from_servant): impl.
2176 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2178 * libspi/selection.c (spi_selection_finalize): kill.
2179 (spi_selection_interface_new): upd.
2180 (spi_selection_class_init): upd.
2181 (get_selection_from_servant): impl.
2182 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2184 * libspi/relation.c (spi_relation_finalize): kill.
2185 (spi_relation_class_init, spi_relation_new): upd
2187 * libspi/image.c (spi_image_finalize): kill.
2188 (spi_image_class_init): upd.
2189 (spi_image_interface_new): upd.
2190 (get_image_from_servant): impl.
2191 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2193 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
2194 (spi_hyperlink_finalize): kill.
2195 (spi_hyperlink_new): upd.
2196 (get_hyperlink_from_servant): impl.
2197 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2199 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
2200 (spi_hypertext_finalize): kill.
2201 (spi_hypertext_class_init): upd.
2202 (get_hypertext_from_servant): impl.
2203 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2205 * libspi/editabletext.c (spi_editable_text_finalize): kill.
2206 (spi_editable_text_interface_new): upd.
2207 (get_editable_text_from_servant): impl.
2208 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2210 * libspi/text.c (get_text_from_servant): impl.
2211 All impls - update to use it killing more cut and paste,
2212 also fix bad string returns on duff args ( a somewhat
2213 impossible case to handle - but hey ).
2214 (spi_text_construct): impl.
2215 (spi_text_interface_new): upd.
2216 (spi_text_object_finalize): kill.
2218 * libspi/component.c
2219 (accessibility_component_object_finalize): kill.
2220 (spi_component_class_init): upd.
2221 (get_component_from_servant): impl. helper to kill cut & paste.
2222 (impl_accessibility_component_contains):
2223 (impl_accessibility_component_get_accessible_at_point):
2224 (impl_accessibility_component_get_position):
2225 (impl_accessibility_component_get_extents):
2226 (impl_accessibility_component_get_mdi_z_order):
2227 (impl_accessibility_component_get_layer):
2228 (spi_component_interface_new): upd.
2230 * libspi/action.c (spi_action_finalize): kill.
2231 (spi_action_class_init): upd. inherit from SpiObject.
2232 (spi_action_interface_new): upd.
2233 (get_action_from_servant): impl. helper to reduce cut & paste.
2234 (impl_getKeyBinding, impl_getName, impl_doAction),
2235 (impl_getDescription): Use it everywhere.
2237 * cspi/spi_main.c (get_live_refs): a pointer hash.
2238 (spi_object_hash, spi_object_equal): comment out.
2239 There are issues with CORBA object hashing that need
2242 * libspi/application.c (spi_application_init),
2243 (spi_application_new): upd.
2245 * libspi/accessible.c (spi_accessible_object_finalize): kill.
2246 (spi_accessible_class_init): upd.
2247 s/accessible/object/ in epv methods.
2249 2001-12-05 Bill Haneman <bill.haneman@sun.com>
2251 * at-bridge/bridge.c:
2252 Reorder the bridge initialization into the bridge gtk_module_init,
2253 an immediate call to bridge_register_app, and an idle_add for
2254 register_atk_event_listeners (the only code that *must* wait until
2255 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
2256 the activation, creates the application's Accessible object, and
2257 queues the bridge_idle_init function. Restored call to
2258 Accessibility_Registry_deregisterApplication().
2259 Prior to making this call we obtain a new reference to the
2260 registry, which is a temporary hack that helps us handle apps that
2261 shut down the bonobo mainloop before we get there.
2263 * libspi/registry.c:
2264 Fix string leakage in debug block, and don't segv if a an app
2265 dies before its event notifications have been propagated.
2268 Modify cspi_check_ev() to call g_warning() rather than g_error(),
2269 as stopgap measure until we get proper exception handling when
2270 objects die during or before interrogation.
2274 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
2275 Also changed default value of is_gnome_app to TRUE.
2278 * test/keysynth-demo.c:
2279 Changed use of SPI_init and SPI_event_main to reflect API change above.
2282 Made report_focus_event check the warning value from getName
2283 before reporting on focussed accessible; simplifies handling of
2284 notifications from dead objects.
2286 * test/test-simple.c: (Changes not in this patch since source is
2289 2001-12-05 Michael Meeks <michael@ximian.com>
2291 * registryd/registryd.c (main): protect against
2292 bonobo-activation startup race condition.
2294 * cspi/spi_main.c (cspi_object_add_check): cope
2295 with the exception elegantly.
2297 * idl/Accessible.idl: decl. ChildGone
2299 * libspi/desktop.c (spi_desktop_dispose): impl.
2300 (spi_desktop_class_init): upd.
2301 (spi_desktop_add_application),
2302 (spi_desktop_remove_application),
2303 (abnormal_application_termination): impl.
2304 (impl_desktop_get_child_at_index): re-impl.
2307 (impl_accessibility_registry_deregister_application),
2308 (impl_accessibility_registry_register_application):
2309 kill excessive debug clutter.
2311 * test/test-simple.c (test_misc): test some NULL
2312 tolerance. (main): upd.
2314 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
2315 implements no interfaces - so let's not crash.
2317 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
2319 * libspi/accessible.c (spi_accessible_new_return): impl.
2320 helper to calm the cut and paste, to cope with
2321 NULL AtkObjects effectively and efficiently, and to kill
2322 the referencing bugs.
2324 * libspi/table.c (impl_getAccessibleAt),
2325 (impl_getRowHeader, impl_getColumnHeader): upd.
2327 * libspi/hyperlink.c (impl_getObject): upd.
2329 * libspi/accessible.c
2330 (impl_accessibility_accessible_get_child_at_index): upd.
2332 * libspi/component.c
2333 (impl_accessibility_component_get_accessible_at_point): upd.
2335 * test/test-simple.c (test_editable_text, test_text): impl.
2338 * cspi/spi_editabletext.c
2339 (AccessibleEditableText_insertText): constify.
2341 * test/test-simple.c (focus_me): make more robust.
2343 * libspi/accessible.c: remove some printfs in methods that
2344 we test and work fine, so we can get a clean tree dump.
2346 * test/test-simple.c (validate_accessible),
2347 (validate_tree): make tree dumping pretty too.
2349 * at-bridge/bridge.c (bridge_signal_listener): upd. so
2350 it builds without debug on.
2352 * test/test-simple.c (validate_accessible): fix the most
2355 * cspi/spi_main.c (spi_object_release): leave the nicely
2356 blanked memory around if in debug mode.
2358 * cspi/spi-listener-impl.c (cspi_event): use add_check.
2360 [committed to fixups2]
2361 2001-12-05 Michael Meeks <michael@ximian.com>
2363 * libspi/editabletext.c
2364 (spi_editable_text_class_init): g_type_class_peek_parent,
2365 not interface peek - so we finalize cleanly.
2367 * libspi/accessible.c (spi_accessible_new): kill debug.
2369 * test/test-simple.c (validate_accessible): fix ref.
2370 leak, print strings before freeing them; sigh, comment a
2371 chunk out due to strangeness.
2372 (validate_tree): unref the child after use.
2374 * cspi/spi_component.c (AccessibleComponent_getLayer):
2375 add missing break statement, switch on zlayer not the
2376 uninitialized retval.
2378 * cspi/spi_main.c (cspi_object_add): add assert, local ref
2379 before (possibly re-entering) remote unref.
2381 * test/simple-at.c (main): unref the desktop.
2383 * cspi/spi_accessible.c (cspi_accessible_is_a): move
2386 * cspi/spi_main.c (cspi_accessible_is_a): here to
2387 isolate bonobo API usage more.
2389 * libspi/registry.c (impl_accessibility_registry_register_application):
2390 prune bogus comment.
2392 2001-12-04 Michael Meeks <michael@ximian.com>
2394 * test/test-simple.c (validate_tree): upd.
2395 IndexInParent check to make it more lucid.
2396 (validate_accessible): dump the tree.
2398 * libspi/accessible.c (de_register_public_ref),
2399 (get_public_refs): impl.
2400 (spi_accessible_new): make more efficient & intuitive.
2401 Now IndexInParent check works.
2403 2001-12-04 Michael Meeks <michael@ximian.com>
2405 * cspi/spi-util.h: remove.
2407 * cspi/spi.h: move SPI_freeString here
2409 * libspi/component.c (impl_accessibility_component_get_layer):
2411 (impl_accessibility_component_get_mdi_z_order): ditto,
2412 return -1 on error - is this ok ?
2414 * test/test-simple.c (test_application): impl.
2416 * cspi/spi_accessible.c (Accessible_getApplication),
2417 (Accessible_isApplication): impl.
2419 * libspi/registry.c (spi_listener_struct_free): release
2420 the CORBA reference too.
2422 * libspi/accessible.c
2423 (impl_accessibility_accessible_get_parent): fix ref leak.
2425 * libspi/registry.c (spi_registry_new): make the registry
2426 immortal - we don't want it to go away ever.
2428 * libspi/application.c
2429 (spi_accessible_application_finalize): impl. cleanup.
2431 * cspi/spi_registry.c
2432 (deregisterGlobalEventListenerAll),
2433 (deregisterGlobalEventListener),
2434 (deregisterAccessibleKeystrokeListener): fix ref leak.
2436 * cspi/spi_main.c (SPI_init): remove redundant ref.
2438 * test/test-simple.c (unutterable_horror): impl. to force a
2443 (impl_accessibility_registry_deregister_application): release
2444 the application when we de-register it.
2446 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
2447 until we have the infastructure to get it right.
2449 2001-12-03 Michael Meeks <michael@ximian.com>
2451 * libspi/Makefile.am: only build eventlistener.[ch]
2453 * libspi/accessible.c
2454 (impl_accessibility_accessible_get_child_at_index): don't leak.
2456 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
2457 before we hit the idle handler.
2459 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
2460 debugging than exit.
2462 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
2464 * libspi/listener.c (impl_notify_event): check source
2465 not NIL before unref.
2467 * libspi/registry.c (impl_registry_notify_event): ditto.
2469 * libspi/eventlistener.c
2470 (impl_accessible_event_notify_event): unref the source.
2472 * libspi/accessibleeventlistener.c
2473 (impl_accessible_event_notify_event): unref the source.
2475 * idl/Event.idl: remove 'hash_id' attribute - of no
2478 * libspi/application.c (notify_listeners): upd list
2480 (spi_application_object_event_listener),
2481 (spi_application_toolkit_event_listener): upd to do correct
2485 (_registry_notify_listeners): update.
2486 (parse_event_type): this method also leaks like a sieve.
2487 (impl_accessibility_registry_deregister_global_event_listener):
2488 fix ETYPE_WINDOW case.
2490 * libspi/application.c
2491 (impl_accessibility_application_register_object_event_listener):
2494 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
2496 * libspi/hypertext.c (impl_getLink): ditto.
2498 * cspi/spi_main.c (cspi_object_add): remove
2499 bogus CORBA_Object_duplicate.
2501 * cspi/spi-listener-impl.c (cspi_event): dup/ref
2504 * cspi/spi_accessible.c
2505 (Accessible_getRelationSet): fix leak / referencing issue.
2507 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
2508 (cspi_object_add, cspi_object_unref): upd.
2509 (spi_object_release, get_live_refs): impl.
2510 (cspi_cleanup): simplify.
2512 * *.[ch]: s/boolean/SpiBoolean/
2514 * cspi/spi_accessible.c (role_names): actualy order so it
2515 corresponds with the enum !
2517 * test/test-simple.c (test_roles): check some role strings
2518 vs. enums to detect offset errors.
2520 2001-12-01 Michael Meeks <michael@ximian.com>
2522 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
2524 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
2526 (Accessible_getChildAtIndex): use cspi_add_check so we
2527 check the ev before using a (possibly) invalid value.
2529 * libspi/accessible.c
2530 (impl_accessibility_accessible_get_parent): don't segv
2533 * at-bridge/bridge.c (gtk_module_init): upd.
2534 (bridge_property_event_listener): don't leak strings
2536 (bridge_state_event_listener),
2537 (bridge_property_event_listener): don't use a static
2538 buffer in case of recursive event emission &
2539 re-enterancy - split out the swathe of cut and paste
2541 (emit_eventv): and fix 2 ref leaks here & comply to the
2543 (bridge_register_app): rename to
2544 (bridge_idle_init): this and kill arg parsing, split
2545 various inits & bonobo-activation registration to module
2546 init time, kill referencing error.
2547 (bridge_exit_func): fix the same leak.
2548 (bridge_focus_tracker): don't leak event structures
2550 (bridge_signal_listener): more leakage and cut & paste
2552 (bridge_key_listener): return the result - FIXME is
2553 this polarity correct ?
2554 (accessibility_keystroke_from_atk_key_event): rename
2555 (accessibility_init_keystroke_from_atk_key_event): and stop
2557 (gtk_module_init): return a value - not that it is checked by
2559 (bridge_key_listener): register my horror at casting between
2560 IDL defined structs.
2561 (bridge_get_registry): kill - not used.
2563 * cspi/spi_accessible.c (Accessible_getRole): make return const.
2565 * test/test-simple.c (test_roles): impl.
2566 (test_desktop, validate_accessible, validate_tree): impl.
2568 * cspi/spi_accessible.c (role_names): fixup bogus
2569 MAX_ROLES setup, make constants const for efficient linkage
2570 (AccessibleRole_getName): conform to coding style, make
2573 2001-11-30 Michael Meeks <michael@ximian.com>
2575 * cspi/spi.h: add missing prototype.
2577 * libspi/registry.c (spi_listener_struct_new): fix sig.
2579 * test/Makefile.am: add test-simple
2581 * test/test-simple.c: add
2583 * test/test.sh: add.
2585 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
2587 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
2588 do it straight - since otherwise we often get an activation race.
2590 [ work before Bill duplicated a chunk of it ... ]
2591 2001-11-30 Michael Meeks <michael@ximian.com>
2593 * libspi/keystrokelistener.c
2594 (spi_keystroke_listener_class_init): fixup arg
2597 * libspi/eventlistener.c
2598 (spi_event_listener_class_init): ditto.
2600 * tests/test.sh: add.
2602 * cspi/spi-listener-impl.h: update macros.
2604 * cspi/spi-listener-impl.c
2605 (cspi_event_listener_remove_callback): add
2606 correct pre-conditions.
2608 * cspi/spi_main.c (SPI_exit): guard vs. double
2609 exits, exit the mainloop nicely.
2610 (SPI_event_main): make more sense.
2611 (SPI_init): move the atexit evilness here so we
2612 always do it (yuck).
2613 (SPI_event_main): upd.
2615 * test/simple-at.c: update for listener changes.
2617 * registryd/registryd.c (main): prune kruft.
2619 * libspi/libspi.h: upd.
2621 * libspi/eventlistener.[ch]: rename broken macros.
2623 * libspi/accessibleeventlistener.[ch]: remove.
2625 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
2627 * test/test-simple.c: Add - automated tests.
2629 * cspi/spi-listener-impl.c (cspi_event),
2630 (cspi_key_event): add user_data to invoke.
2631 (cspi_keystroke_listener_finalize): impl.
2632 (cspi_keystroke_listener_class_init): upd.
2635 (createAccessibleEventListener),
2636 (AccessibleEventListener_addCallback),
2637 (createAccessibleKeystrokeListener),
2638 (AccessibleKeystrokeListener_addCallback): upd.
2640 * libspi/deviceeventcontroller.c
2641 (spi_device_event_controller_check_key_event): add public proto.
2644 (impl_accessibility_registry_deregister_global_event_listener):
2645 always init listeners.
2646 (_registry_notify_listeners): yes it is.
2648 * cspi/spi-listener-impl.c (cspi_key_event):
2650 (cspi_event_listener_finalize): impl.
2651 (cspi_event_listener_class_init): hook up.
2652 (event_handler_new, event_handler_free),
2653 (event_list_remove_by_callback): impl.
2654 (cspi_event_listener_remove_callback),
2655 (cspi_keystroke_listener_remove_callback),
2656 (cspi_keystroke_listener_add_callback),
2657 (cspi_event_listener_add_callback): upd.
2659 * libspi/keystrokelistener.c
2660 (keystroke_listener_object_finalize): kill
2661 (spi_keystroke_listener_class_init): upd.
2662 (spi_keystroke_listener_add_callback),
2663 (spi_keystroke_listener_remove_callback): kill,
2665 (impl_key_event): prune drasticaly.
2667 * libspi/eventlistener.c
2668 (spi_event_listener_add_callback),
2669 (spi_event_listener_remove_callback): kill, use
2671 (impl_accessible_event_notify_event): upd.
2672 (spi_event_listener_object_finalize): remove.
2674 * libspi/Makefile.am: use eventlistener.[ch]
2676 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2678 * libspi/registry.c (_registry_notify_listeners):
2679 Changed listener loop iteration to use preferred convention.
2680 Got rid of string memory leaks caused be calling g_strconcat
2681 inside function calls.
2683 * libspi/registry.c (parse_event_type):
2684 Stopped g_strconcat memory leaks, free the g_strsplit return,
2685 g_strdup the split pieces when used, etc.
2687 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2690 Change method 'compare' to return a 'difference set' rather than
2691 taking a StateSet as an out parameter (more Java-friendly).
2693 * idl/Accessible.idl:
2694 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2696 * idl/Component.idl:
2698 Changed methods 'getExtents' and 'getImageExtents' in these
2699 interfaces to return a BoundingBox structure.
2700 (getPosition and getSize are redundant and possibly should be
2701 removed, rather than creating a corresponding Point struct.)
2703 * cspi/spi_component.c:
2704 Modify implementation of getExtents to reflect the above IDL
2709 Add (missing) AccessibleImage_getExtents () API.
2711 * docs/reference/cspi/at-spi-cspi-sections.txt:
2712 Added AccessibleImage_getImageExtents () to docs.
2714 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2716 * idl/Component.idl:
2717 Added two methods, getLayer () and getMDIZOrder (), to reflect
2718 the new ATK methods atk_object_get_layer and
2719 atk_object_get_mdi_z_order. (Which arguably should be part of the
2720 AtkComponent API and AtkObject). Also added an enum,
2721 ComponentLayer, for the first method's return value.
2723 * libspi/component.c:
2724 Added implementations for these methods.
2726 * cspi/spi_component.c:
2728 Added cspi binding methods for above,
2729 AccessibleComponent_getLayer() and
2730 AccessibleComponent_getMDIZOrder().
2731 Added cspi enum 'AccessibleComponentLayer'.
2733 * docs/reference/cspi/at-spi-cspi-sections.txt:
2734 Added above methods to docs.
2738 Changed typedef for 'boolean' type (and all references to it) to
2739 SPIBoolean, to avoid keyword clashes with C++.
2742 Changed usages of 'boolean' to SPIBoolean.
2744 * test/keysynth-demo.c:
2745 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2746 app), except where SPIBoolean is required by the callbacks API.
2748 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2750 * cspi/spi_registry.c:
2751 Removed obsolete X event loop for passive keygrabs (which now
2754 * registryd/registryd.c:
2755 Removed unnecessary call to gdk_init() [cruft]. This also allows
2756 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2759 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2761 * docs/reference/cspi:
2762 Included docs for SPI_freeString in generated documentation.
2765 Renamed spi_freeString to SPI_freeString, for consistency. Added
2766 documentation for this function.
2769 Renamed spi_freeString to SPI_freeString, for consistency.
2770 Removed obsolete method declaration string_from_corba_string.
2772 * test/keysynth-demo.c:
2773 Small tweak to comments.
2776 Stopped leaking the strings returned from CSPI.
2778 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2780 Merged Michael's branch (see his ChangeLog entries below).
2782 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2783 bridge is alive, release on exit.
2785 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2786 Fix type check macro.
2789 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2792 Added is_gnome_app static, and method cspi_is_gnome_app(),
2793 so we can call the appropriate shutdown routine at exit in SPI_exit.
2795 * cspi/spi_main.c (cspi_object_ref):
2796 Duplicate the corba object passed in, since we're keeping it around.
2798 * cspi/SPI_exit.c, cspi_cleanup:
2799 Moved the releasing of the live refs to its own function, so we
2800 can put it in g_atexit (). Call the appropriate shutdown API
2801 depending on whethe calling client is a gnome app or not
2802 (bonobo_main_quit or CORBA_ORB_shutdown).
2804 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2805 Unref the listener when this method is called, after
2806 deregistration. Updated the API docs to note this behavior.
2808 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2809 Bugfixes: Ref the bonobo object when returning a parent or child
2810 reference, or an AccessibleRelation. Generally made sure
2811 BonoboObject refcount is incremented whenever we return an
2814 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2815 Fixed typo/bug in signal declaration.
2817 * libspi/accessibleeventlistener.h:
2820 * libspi/application.c (spi_application_new):
2821 Fixed leak in initialization.
2824 Remembered to increment bonobo-object refcount when returning
2825 children (applications) from desktop object.
2826 Added (empty) finalize method.
2828 * libspi/deviceeventcontroller.c:
2829 Hold a ref to listeners inside DEControllerKeyListeners.
2830 Added dec_key_listener_free() method. Use prepend instead of
2831 append in key_listener list. Fixed some refcount madness and
2832 leaks in the listener registration/deregistration - deregistration
2833 now calls dec_key_listener_free() on listeners, and on the
2834 temporarily constructed dec_key_listener() used to perform the search/match.
2836 * libspi/hypertext.c (spi_hypertest_finalize):
2837 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2838 class. Also fixed spi_hypertext_interface_new() and
2839 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2841 * libspi/hypertext.h:
2842 Removed pointless and duplicate AtkObject pointer from
2845 * libspi/keystrokelistener.c:
2846 Fixed incorrect type of keystroke_listener_parent_class,
2847 renamed keystroke_listener_object_finalize to
2848 spi_keystroke_listener_object_finalize.
2849 Fixed typo in signal declaration
2850 (spi_keystroke_listener_class_init).
2852 * libspi/registry.c:
2853 Added funcsions spi_listener_struct_new() and
2854 spi_listener_struct_free() to help with memory management issues.
2855 We also now use these methods instead of gnew + poking stuff into
2856 the struct, and to decrement listener counts/free the listeners
2857 when deregistering them.
2858 Fix more refcount bugs in getDesktop() and
2859 getDeviceEventController().
2862 De-ref the desktop after enumerating the applications. Explicitly
2863 decrement the refcounts on the created listeners on exit (using
2864 _unref for keystroke listeners, and via the
2865 deregisterGlobalEventListenerAll command for other event
2868 2001-11-27 Michael Meeks <michael@ximian.com>
2870 * cspi/spi-listener.h: fixup enum.
2872 2001-11-27 Michael Meeks <michael@ximian.com>
2874 * cspi/spi-listener-impl.c (cspi_event_listener_new),
2875 (cspi_keystroke_listener_new): Use the cspi variants.
2877 2001-11-26 Michael Meeks <michael@ximian.com>
2879 * test/keysynth-demo.c: fix 2 compile warnings, missing
2882 * test/simple-at.c (report_focussed_accessible),
2883 (report_focus_event, report_button_press),
2884 (check_property_change, is_command_key),
2885 (report_ordinary_key_event, report_command_key_event): upd.
2887 * util/mag_client.h: include pre-requisites.
2889 * libspi/accessibleeventlistener.c
2890 (spi_event_listener_object_finalize): free any lingering
2893 * libspi/keystrokelistener.c
2894 (keystroke_listener_object_finalize): ditto.
2896 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
2897 callbacks, with cspi types.
2899 * cspi/spi_event.c (createAccessibleEventListener): chain to
2900 (AccessibleEventListener_addCallback): here.
2901 (createAccessibleKeystrokeListener): chain to
2902 (AccessibleKeystrokeListener_addCallback): here.
2904 * libspi/keystrokelistener.c
2905 (spi_keystroke_listener_class_init): add signal.
2906 (impl_key_event): emit the event.
2907 (boolean_handled_accumulator): impl.
2908 (marshal_BOOLEAN__POINTER): add, gack.
2910 * libspi/accessibleeventlistener.c
2911 (spi_event_listener_class_init): add signal.
2912 (impl_accessible_event_notify_event): emit the signal &
2913 make the loop efficient.
2914 (spi_event_listener_add_callback): prepend the callback.
2916 * libspi/accessibleeventlistener.h: add an 'event' signal,
2917 decl type on callback.
2919 * libspi/keystrokelistener.h: ditto.
2921 * cspi/spi-listener.h: make methods typesafe and
2922 make them use the new event typedefs.
2924 * test/simple-at.c (report_focussed_accessible):
2925 include mag_client.h
2926 Use *(void *)text_interface not the other thing.
2928 * configure.in: add gtk to registryd bits - since we use
2931 * util/magnifier.c: include libbonobo.h
2933 2001-11-25 Bill Haneman <bill.haneman@sun.com>
2935 * test/keysynth-demo.c:
2936 Turned this into a simple scanning keyboard, to demonstrate the
2937 use of g_timeout_add () as a means of creating timers for
2938 scanning, and the use of GtkStyle for visually indicating when
2939 virtual keyboard elements are selected.
2941 keysynth-demo now listens to any keyboard keys with zero-valued
2942 keycodes (i.e. 'unused' keys) and interprets them as
2945 Reworked the shiftlatch code so that shift-down state isn't held
2946 for long periods (it's only synthesized immediately prior to
2947 the keysynth event it's modifying). Note that shiftlatch in this
2948 demo is a convenience, not intended to take the place of AccessX
2949 which is the better choice for getting 'sticky' modifier keys.
2951 * libspi/deviceeventcontroller.c:
2952 * at-bridge/bridge.c:
2953 * cspi/spi_registry.c:
2954 Removed some debug print stuff, and put other verbosity in #ifdef
2959 Implemented some more of the magnifier IDL for the simple
2960 magnifier: namely, getZoomRegionParams.
2961 Added mag_x and mag_y members to MagnifierData struct, aid of this
2963 Added GtkWindow::realize signal handler to magnifier, to keep it
2964 from receiving keyboard focus from the WM.
2966 2001-11-23 Mark McLoughlin <mark@skynet.ie>
2968 * cspi/spi-private.h: my guess at what michael forgot
2969 before he ran off to NZ :-)
2971 2001-11-23 Michael Meeks <michael@ximian.com>
2973 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
2974 comment out non existant method invoke so we link.
2976 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
2977 use bonobo_exception_get_text for more friendly warnings.
2979 * cspi/spi.c (Obj_Add): move into spi_main & rename
2980 spi_object_add; kill spi.c
2982 * cspi/spi_registry.c
2983 (deregisterGlobalEventListener),
2984 (deregisterGlobalEventListenerAll),
2985 (registerGlobalEventListener): fix exception leaks.
2987 * cspi/spi_main.c (spi_exception): impl. helper, so we
2988 don't leak exceptions.
2990 * cspi/spi_selection.c
2991 (AccessibleSelection_deselectSelectedChild): return the
2994 * cspi/spi_main.c (spi_ev): impl; hack - gack.
2995 (spi_registry): ditto.
2996 (SPI_init): guard against double inits.
2998 * cspi/*.c: use spi_ev (), and spi_registry () where
2999 appropriate - a temporary hack until we have something
3000 better. Use spi_object_add
3002 2001-11-22 Michael Meeks <michael@ximian.com>
3004 * cspi/Makefile.am: re organise, install the headers.
3006 * cspi/*.h: add G_BEGIN/END_DECLS
3008 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3011 Added non-preemptive keylistener for key events with no modifiers
3012 and shift-only modifier.
3014 * libspi/keystrokelistener.c:
3015 Removed some verbose diagnostics printout.
3017 * cspi/spi_registry.c:
3018 Fixed a bug that caused all key listeners to be registered as
3021 * libspi/deviceeventcontroller.c:
3022 Fixed bug that caused XGrabKey (preemptive key grab) to be called
3023 for non-preemptive key masks.
3026 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3028 * docs/reference/idl/at-spi-idl-docs.sgml:
3029 * docs/reference/idl/at-spi-idl-sections.txt:
3030 * docs/reference/idl/at-spi-idl-overrides.txt:
3031 Added missing files.
3033 * docs/reference/Makefile.am:
3034 removed idl from SUBDIRS until we can figure a way to get gtk-doc
3035 to scan the IDL files :-(
3040 Added .cvsignore files.
3042 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3044 * libspi/deviceeventcontroller.c:
3045 * libspi/keystrokelistener.c:
3047 * cspi/spi_registry.c:
3048 Added filters for KeySets, KeyEventSeq, and event types to key
3049 event dispatching, so listeners should only receive those events
3050 that they requested :-)
3052 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3057 * docs/reference:Makefile.am:
3058 * docs/reference/cspi:
3059 * docs/reference/cspi:Makefile.am:
3060 * docs/reference/cspi:tmpl:
3061 * docs/reference/cspi:tmpl:*.sgml:
3062 * docs/reference/idl:
3063 * docs/reference/idl:Makefile.am:
3064 * docs/reference/idl:at-spi-idl-sections.txt:
3065 * docs/reference/idl:at-spi-idl-docs.sgml:
3066 * docs/reference/idl:tmpl:
3067 * docs/reference/idl:tmpl:*.sgml:
3069 Restructured docs directory to allow separate 'reference' docs
3070 section, and forked idl and cspi docs. Added the sgml template
3071 files to CVS. Added the first sections/structural sgml for the
3074 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
3076 * configure.in, libspi/Makefile.am: find libXtst.
3078 2001-11-21 Michael Meeks <michael@ximian.com>
3080 * test/accessx-gui.c: s/spi_value/value/ - doh.
3082 * libspi/base.[ch]: add.
3084 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3086 * idl/Accessible.idl:
3087 * idl/Application.idl:
3090 Started gtk-doc cleanup on IDL.
3092 * libspi/deviceeventcontroller.c:
3093 Added and connected non-preemptive key notification from the
3094 toolkits (in addition to the pre-emptive support from XServer
3095 which we had before, but which causes 'focus flashing'). Filters
3096 are presently limited to key modifiers and global/non-global,
3097 KeySets are presently ignored, as are KeyEvent masks.
3099 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
3100 structs into the persistant structure rather than just storing
3101 pointers to things that might not persist across servant
3104 The XGrabKey call now does async keygrabs, because synchronous
3105 ones were deadlocking with GDK_event code in a very nasty way.
3107 Added boolean to internal method notify_keylisteners, to indicate
3108 whether the event came from the 'toolkit source' or the 'global
3109 (XServer) source' - this is used in the notification process to
3110 determine which listeners to send the event to.
3112 deviceeventcontroller.c is now warning-free.
3114 * libspi/registry.c:
3115 Fixed regression in application de-registration.
3116 Also fixed some really brain-dead weirdness having to do with
3117 event dispatching - event structs are now duplicated before being
3118 re-marshalled in the dispatch to listeners. This also fixes a
3119 Solaris build problem.
3122 2001-11-20 Michael Meeks <michael@ximian.com>
3125 (impl_accessibility_registry_deregister_global_event_listener):
3128 * libspi/deviceeventcontroller.c
3129 (spi_device_event_controller_check_key_event): return
3130 FALSE on no virtual method.
3132 * libspi/*..h: make includes work on a correctly pathed install.
3134 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
3136 * libspi/application.h: kill unused ( and whacked out )
3137 gboolean *spi_application_set_id (AtkObject *app, long id);
3139 2001-11-20 Michael Meeks <michael@ximian.com>
3141 * libspi/*.[ch]: further convert to bonobo's type func
3142 macros, remove redundnant casts etc.
3144 * libspi/text.c s/accessibility_text/spi_text/g,
3145 re-order to de-cruft.
3147 * libspi/hypertext.c: re-order to kill a huge slew
3148 of redundant forward decls.
3150 * libspi/relation.c: ditto.
3152 * libspi/image.c: ditto.
3154 * */.cvsignore: update
3156 2001-11-20 Michael Meeks <michael@ximian.com>
3158 * libspi/deviceeventcontroller.c
3159 (_controller_register_with_devices): use g_getenv,
3160 kill stdlib.h include.
3162 * libspi/keystrokelistener.c
3163 (spi_keystroke_listener_get_type): kill
3164 (spi_keystroke_listener_class_init),
3165 (spi_keystroke_listener_init): rename to this.
3167 * libspi/text.c (impl_getAttributes): fix warning / bug.
3169 * libspi/*.[ch]: more headers, includes and over commenting.
3171 2001-11-20 Michael Meeks <michael@ximian.com>
3173 * libspi/*.[ch]: fixup headers, includes and over commenting.
3175 * libspi/image.c (impl__get_imageDescription): const
3176 correctness warning fix. remove redundant casting.
3178 * libspi/table.c (impl_getRowDescription): ditto.
3179 (impl_getColumnDescription): ditto.
3181 * libspi/libspi.h: add.
3183 2001-11-19 Michael Meeks <michael@ximian.com>
3185 * libspi/editabletext.c (impl_setAttributes): fix warnings.
3187 * libspi/component.c (accessibility_component_get_type):
3188 rename to (spi_component_get_type): and macroify.
3189 (accessibility_component_init): rename to
3190 (spi_component_init): this
3191 (accessibility_component_class_init): rename to
3192 (spi_component_class_init): this
3194 * libspi/action.c (spi_action_get_type): kill, use the macro.
3196 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
3199 * libspi/application.c (spi_application_object_event_listener),
3200 (impl_accessibility_application_register_object_event_listener):
3201 warning fixes / const understanding updates.
3203 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
3206 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3208 * libspi/spi_accessible.c: Added docs and C bindings for
3209 AccessibleStateSet. (No implementations yet). Documentation
3210 coverage for C bindings now 100%. Made docs for event listeners
3215 boolean notifyListenersSync (in DeviceEventListener listener,
3216 in DeviceEvent event);
3218 oneway void notifyListenersAsync (in DeviceEventListener listener,
3219 in DeviceEvent event);
3221 Added DeviceEventListener and DeviceEvent structs (may deprecate
3222 KeyStroke and KeystrokeListener in favor of this generic
3223 event/listener framework for devices).
3225 * libspi/deviceeventcontroller.c:
3227 Changed some key listener code to take masks, etc., and paved the
3228 way for integration of toolkit/non-preemptive key events. Changed
3229 signatures of some internal methods.
3231 * at-bridge/bridge.c:
3232 Fixed regression connecting to interface signals, apparently
3233 caused by GTK+ changes.
3235 Added an internal bridge_state_listener to deal with
3236 property-change:accessible-state signals.
3238 Changed the key_listeners GList to store structs (including masks,
3239 etc.) instead of just CORBA_Objects (required for full
3240 implementation of key listener API).
3242 Connected the bridge to all currently supported Atk signals.
3243 Events now supported:
3244 object:property-change
3245 object:property-change:accessible-name
3246 object:property-change:accessible-state
3247 object:property-change:accessible-description
3248 object:property-change:accessible-parent
3249 object:property-change:accessible-value
3250 object:property-change:accessible-role
3251 object:property-change:accessible-table-caption
3252 object:property-change:accessible-table-column-description
3253 object:property-change:accessible-table-column-header
3254 object:property-change:accessible-table-row-description
3255 object:property-change:accessible-table-row-header
3256 object:property-change:accessible-table-summary
3257 object:children-changed
3258 object:visible-data-changed
3259 object:selection-changed
3260 object:text-selection-changed
3262 object:text-caret-moved
3264 object:row-reordered
3266 object:column-inserted
3267 object:column-reordered
3268 object:column-deleted
3269 object:model-changed
3271 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3273 * libspi/hyperlink.c,h:
3274 Fixed some broken stuff in hyperlink.
3276 * libspi/relation.h:
3277 * libspi/relation.c:
3278 * cspi/spi_accessible.c:
3279 Initial implementations of AccessibleRelation methods, and docs.
3281 * libspi/accessible.c:
3282 Fixed a bug that caused SEGV if an accessible
3283 object's description is NULL, and a client
3284 requests it. An empty string is now returned.
3286 * cspi/spi_editabletext.c:
3287 * cspi/spi_hypertext.c:
3289 * cspi/spi_hyperlink.c:
3293 Doc coverage now 95%.
3295 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3297 One last namespacing revision:
3298 * libspi/accessibleeventlistener.[ch]:
3299 Renamed SpiAccessibleEventListener to SpiEventListener,
3300 (no need for two namespaces ;-)
3302 And lots of documentation fixes:
3304 * docs/at-spi-docs.sgml:
3305 Fixed 'underscore vs. hyphen' bug that was preventing
3306 the gtk-doc API docs from being automatically generated.
3309 * cspi/spi-listener.h
3311 * cspi/spi_accessible.c
3313 * cspi/spi_application.c
3314 * cspi/spi_component.c
3315 * cspi/spi_editabletext.c
3317 * cspi/spi_hypertext.c
3319 * cspi/spi_registry.c
3320 * cspi/spi_selection.c
3324 * docs/at-spi-docs.sgml
3325 * docs/at-spi-sections.txt
3327 Added and fixed up gtk-doc documentation in cspi.
3329 Interfaces now (fully) documented (subject to revision and enhancement):
3331 Event Listener Support
3333 AccessibleApplication
3337 AccessibleEditableText
3344 AccessibleRelationSet
3349 2001-11-14 Bill Haneman <bill.haneman@sun.com>
3351 * at-bridge/bridge.c:
3352 Initial work for toolkit-level key snooper connection by bridge.
3357 New typedefs and fixes to support new namespacing, and cleaner
3358 separation of cspi bindings from libspi bonobo implementation.
3359 Removed inconsistent and extraneous Spi* namespace prefix that
3360 had crept into cspi headers.
3361 Lots of comment fixes that sed had missed.
3363 * cspi/spi-roletypes.h:
3364 * cspi/spi-statetypes.h:
3365 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
3366 to AccessibleRoleType.
3368 * libspi/accessibleeventlistener.h:
3369 Fixed minor namespacing weirdness.
3371 * libspi/deviceeventcontroller.c:
3372 Reordered some internal API for device listeners.
3373 Changed the key registry final boolean to 'is_system_global'
3374 rather than 'is_synchronous', which is more descriptive of its
3376 Added spi_device_event_controller_new().
3377 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
3379 * libspi/keystrokelistener.[ch]:
3380 Namespaced KeystrokeListener to SpiKeystrokeListener.
3381 Changed uses of keymasks to use SPI_ prefix, and did other
3384 * libspi/keymasks.h:
3385 Namespaced keymask constants with SPI_ prefix.
3387 * libspi/registry.c:
3388 Some warning fixes, and knock-on fixes from namespace changes.
3391 Added rules for accessx-gui test program.
3393 * test/accessx-gui.c:
3394 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
3395 utility. It doesn't actually use at-spi, but it's still cool and
3398 * test/keysynth-demo.c:
3402 Fixes so that these test clients work properly with the namespaced
3403 libraries. (Incompletely tested for technical reasons, fixes may follow)
3406 2001-11-13 Michael Meeks <michael@ximian.com>
3408 * libspi/application.c
3409 (impl_accessibility_application_get_version),
3410 (impl_accessibility_application_get_toolkit_name):
3412 (impl_accessibility_application_set_id),
3413 (impl_accessibility_application_get_id): remove
3414 redundant casting code.
3416 * libspi/action.c (impl_getDescription): fix warnings.
3418 * libspi/accessible.c
3419 (impl_accessibility_accessible_get_parent),
3420 (impl_accessibility_accessible_get_child_at_index),
3421 (impl_accessibility_accessible_get_state),
3422 (impl_accessibility_accessible_get_relation_set):
3423 warning fixes & include action.h
3425 2001-11-13 Michael Meeks <michael@ximian.com>
3427 * *.[ch] fix bits I screwed up:
3429 s/([^ \tb(\*\&\?\",])spi_/\1/g;
3430 s/([^ \tb(\*\&\?\",])Spi/\1/g;
3432 2001-11-13 Michael Meeks <michael@ximian.com>
3434 * *.[ch] Namespace libspi into spi_ and Spi.
3436 2001-13-11 Michael Meeks <michael@ximian.com>
3438 * Makefile.am: dist & install at-spi-1.0.pc
3440 * libspi/Makefile.am: install into at-spi-1.0
3442 * idl/Makefile.am (idldir): install into at-spi-1.0
3444 * at-spi-1.0.pc.in: add.
3446 * configure.in: build it.
3448 2001-11-12 Bill Haneman <bill.haneman@sun.com>
3450 * test/keysynth-demo.c:
3451 Use a 'realize' signal-handler to set the WM properties for
3452 the virtual keyboard, rather than making it a "POPUP" type
3453 override-redirect window (thanks to anders carlsson for that
3456 2001-11-11 Bill Haneman <bill.haneman@sun.com>
3459 * test/keysynth-demo.c:
3460 Added new test of key synthesis, which creates a simple
3461 (mouse-operated) onscreen keyboard. It inserts key events into
3462 the currently-focused window, thus it does not grab keyboard focus
3465 * cspi/spi_registry.c:
3466 Added C binding for AT-SPI generateKeyEvent.
3468 * libspi/deviceeventcontroller.c:
3469 Added call to XFilterEvent so that key listener works with XIM (we
3470 hope). Added event_synth_type to generateKeyEvent, so that we can
3471 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
3472 synthesize a press/release pair for KeySyms.
3474 2001-11-09 Bill Haneman <bill.haneman@sun.com>
3476 * libspi/Makefile.am:
3477 * registryd/Makefile.am:
3478 (temporary) hack to include libXtst in libspi and registryd.
3479 (Needed for keystroke synthesis, see below).
3482 Improved API for registerKeystrokeListener, in accordance with
3483 discussions with Gnopernicus team and X server research.
3485 * libspi/registry.c:
3486 * libspi/deviceeventcontroller.c:
3487 * libspi/accessible.c:
3488 * libspi/keystrokelistener.c:
3489 Changes and fixes to support keylisteners for potentially
3490 consumed key events (that is, 'passive grabs').
3491 Added implementation for generateKeyEvent() [untested].
3494 Changes to registerKeystrokeListener() API, as above.
3495 Added deregisterGlobalEventListenerAll(), and
3496 deregisterKeystrokeListener(), which are needed for clean exit of
3498 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
3499 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
3501 * cspi/spi_registry.c:
3502 Added implementations of function prototypes mentioned above.
3504 * registryd/registryd.c:
3505 Added the key listener event source as a g_timeout(), to allow
3506 receipt of key events that are not caught by GDK (since GDK
3507 doesn't support passive keygrabs, this was necessary).
3510 Changed to attach a keylistener to 'Alt' keys, and
3511 respond to the following keycommands: Alt-M (toggle magnifier);
3512 Alt-F (toggle speech); Alt-Q (quit).
3513 Added an exit routine to deregister the listeners, and a key
3514 listener that prints some key info to the console when a key
3515 matches the listener mask (and is thus received by the listener).
3517 * util/idl/Magnifier.idl:
3518 Changes to magnifier API to support multiple zoom regions,
3519 non-uniform scaling in x and y, markDirty, and a host of other
3520 features that would be useful to magnification.
3523 * util/mag_client.c:
3524 * util/mag_client.h:
3525 * util/mag_control.c:
3527 Source code changes to support the above IDL changes.
3530 As above, and also changes to use a (slower) generic conversion
3531 path for colormap conversions, since the fast RGB conversions have been
3532 reported to fail for 16-bit displays.
3534 2001-10-26 Michael Meeks <michael@ximian.com>
3536 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
3538 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
3540 * at-bridge/Makefile.am: fix LDFLAGS.
3542 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3544 * at-bridge/bridge.c:
3545 Re-worked listeners for toolkit events, now we have signal
3546 and property listeners. Added a private method
3547 register_atk_event_listeners(), which registers with the
3548 various atk and gtk signals we need to monitor in order to emit
3550 Added emission hook for AtkObject:property-change events, to
3551 support the 'property listeners'.
3552 Fixed some alloc()s of Accessibility_Event structs to use CORBA
3555 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
3556 which emit warnings and exit, respectively, if CORBA errors occur
3557 during remote calls, and we now use these methods to check most of
3558 our CORBA calls in the C bindings.
3560 * cspi/spi_accessible.c:
3561 Changed AccessibleSelection_refSelectedChild() to
3562 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
3563 now increment refcounts.
3565 * cspi/spi_component.c:
3566 Fixed some long pointer casts (dangerous!) to pass pointers to
3567 CORBA_longs of the proper type to the CORBA stubs, and copy the
3568 data into the longs that were passed into the C bindings code.
3570 * at-bridge/bridge.c:
3572 * libspi/accessible.c:
3573 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
3574 hyperlinks, AtkHyperlink is an object type.
3576 * libspi/application.c:
3577 Added various conversions to and from "generic" event types and
3578 atk-specific types; this is really part of the 'bridge'
3579 implementation but is valid for all AtkObject-based accessibility
3582 * libspi/editabletext.c:
3583 Fixed nasty bug wherein editable text's finalize method was
3584 unref'ing tha AtkObject reference that the text parent class was
3585 about to unref _again_. There was also a nasty inheritance bug
3586 that meant that the AccessibleEditableText class was corrupt.
3588 * libspi/selection.c:
3589 Provided implementations for some selection API that was broken.
3591 * idl/Application.idl:
3592 Added registerObjectEventListener () method.
3595 Fixed a number of return values that were Bonobo_Unknowns from
3596 bonobo_object_corba_objref(), which I
3597 forgot to dup before returning. Changed instances of
3598 bonobo_object_corba_objref (bonobo_object(o)) to
3599 BONOBO_OBJREF(o), for concision and clarity.
3601 2001-10-13 Louise Miller <louise.miller@sun.com>
3603 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
3604 idl/Event.idl, idl/Registry.idl
3605 Changed these files to include Bonobo_Unknown.idl instead
3608 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
3610 * libspi/component.c libspi/component.h:
3611 Fixed typo. Added assertions for object checks in
3612 AccessibleComponent code.
3614 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3616 * idl/Accessible.idl:
3617 Added 'isEqual (Accessible *object)'
3618 method for Accessible. (Not Yet Implemented).
3621 Changed signature of registerKeystrokeListener() to
3622 take a KeySet and KeyEventSeq so that specific keys and event
3623 types could be requested for monitoring, and added a flag
3624 is_synchronous so that either synchronous or asynchronous
3625 notification could be requested. (However this is not all
3626 implemented yet). This also meant adding two new typedefs,
3627 KeyEventSeq and KeySet.
3630 Added two new relations, RELATION_TOOLTIP_FOR and
3631 RELATION_LEAFNODE_OF.
3634 Added new state, STATE_HAS_TOOLTIP.
3636 * libspi/text.c, editabletext.c:
3637 Added new assertions to all casts of bonobo-objects from
3638 CORBA servants, to prevent Text API calls on non-text objects.
3639 Changed suspect casts of int-pointer types, so that we
3640 always send a valid CORBA_long pointer to the CORBA APIs that use
3641 in/out long parameters. We then have to copy from the CORBA_long
3642 into the regular long or int for return to the C bindings, or
3643 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
3646 * libspi/deviceeventcontroller.c:
3647 Cleaned these sources up.
3649 Changed return type for getCharacterAtOffset to
3650 CORBA_unsigned_long, to allow for 32-bit characters.
3653 2001-10-08 Bill Haneman <bill.haneman@sun.com>
3657 Fixed 'make dist' so that distro compiles...
3658 * libspi/keymasks.h:
3660 * cspi/spi-listener.c:
3661 KeystrokeListenerCB now returns a boolean.
3663 Added KeyEventType struct, and KeyStroke.
3664 Also added createKeystrokeListener(),
3665 KeystrokeListener_addCallback(),
3666 KeystrokeListener_removeCallback(), and added a keymask to
3667 registerKeystrokeListener().
3668 * cspi/spi_accessible.c:
3669 Changed numerous return types for interfaces from
3670 AccessibleComponent to Accessible<InterfaceName>; this was
3671 probably a cut-and-paste error.
3673 Implementations of new KeystrokeListener api (from spi.h,
3676 Changes to key modifier mapping.
3677 Created ControllerEventMask struct.
3678 Made DeviceEventController derive from Bonobo::Unknown.
3680 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3681 * libspi/deviceeventcontroller.c:
3682 Added a number of new internal (private) methods.
3683 * libspi/editabletext.c:
3684 * libspi/editabletext.h:
3685 Fixed a number of bugs related to the fact that
3686 editabletext inherits from text. Fixed the EditableText struct,
3687 the init() call, and use correct casts when calling Text methods
3688 from an EditableText object. Removed (duplicate) atko from the
3689 EditableText structure, we use the one in the parent Text
3690 structure via the casts mentioned above.
3691 * libspi/keystrokelistener.[ch]:
3692 * libspi/registry.c:
3693 Changes in support of keyboard handling (above).
3695 Keyboard handling, though partly functional, is still not
3696 recommended for at-spi client use as there is considerable
3697 work yet to be done.
3700 Changed some places where pointers to various int types
3701 are cast to be pointers to CORBA_long types and vice-versa:
3702 pointer casting is not safe so we pass pointers of the correct
3703 types and then cast the result before putting it into the target
3706 * libspi/text.h: minor typos corrected.
3708 We now speak not only the name of a Text element, but the
3709 first sentence of its content, when it receives focus.
3710 I also changed the text compression to 75% from 50%.
3711 * util/Accessibility_Util.server.in:
3712 Changed the default magnifier type to be a 3x vertical
3713 splitscreen magnifier (was previously a 2x horizontal one).
3715 2001-10-03 Bill Haneman <bill.haneman@sun.com>
3717 * libspi/keystrokelistener.h:
3718 * libspi/keystrokelistener.c:
3719 Initial functional implementations of KeystrokeListener.
3722 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3724 Fixed string handling for NULL strings in libspi.
3725 Added spi_freeString to free strings returned by C bindings.
3727 2001-09-30 Bill Haneman <bill.haneman@sun.com>
3729 * libspi/keystrokelistener.h:
3730 * libspi/keystrokelistener.c:
3731 Began (no-op) implementations of KeystrokeListener
3733 * libspi/deviceeventcontroller.c:
3734 * libspi/deviceeventcontroller.h:
3735 Began creating implementations of DeviceEventController,
3736 to handle keystroke and mouse event listening and
3738 * libspi/accessible.c:
3739 Stubbed-in the implementations for
3740 Accessibility_Accessible_getState and
3741 Accessibility_Accessible_getRelationSet.
3742 * libspi/registry.c:
3743 Improved de-registration process and fixed some bugs,
3744 deregistration now works correctly.
3746 Added initialization of applications list (to NULL).
3748 Reduced speech compression from 0.5 to 0.7, for demo.
3749 Changed call to gdk_window_set_decorations()
3750 to gtk_window_set_decorated().
3751 * at-bridge/bridge.c:
3752 Bridge now deregisters when app exits, via
3753 registration of a cleanup function
3754 with the g_atexit() call.
3755 Required making 'app' static, renamed 'this_app'.
3756 Fixed broken use of bonobo_init, passing argv wrongly.
3758 2001-09-27 Bill Haneman <bill.haneman@sun.com>
3762 Created a new directory for
3763 accessibility-related utilities, primarily for
3764 testing and demo purposes, but with possible
3771 Onscreen magnifier utility that
3772 is implemented as a bonobo service.
3774 * util/mag_client.c:
3775 * util/mag_client.h:
3776 Client-side support (simple C bindings)
3777 for Magnification service
3779 * util/mag_control.c:
3780 Client program example for
3781 Magnification service
3783 * util/Accessibility_Magnifier.server.in:
3784 Bonobo-activation file for the
3785 Magnification service.
3788 * util/idl/Magnifier.idl:
3789 IDL defining the bonobo Magnification
3793 Modifications to use the bonobo-activated magnifier
3794 above, in place of trying to connect to an existing
3795 magnifier that uses socket-listening IPC.
3797 If env variable MAGNIFIER is set, a magnifier service
3798 will be started if one does not exist.
3800 2001-09-25 Bill Haneman <bill.haneman@sun.com>
3802 * at-bridge/bridge.c:
3803 applied patch from Marc to build and run
3804 against new glib and gtk+ (seemed like a change
3805 to bonobo_init signature was made ?)
3807 made festival-server support turned off by default.
3808 Added support for a simple magnifier (off by default)
3809 which will be added to a 'util' directory later.
3810 * at-bridge/Makefile.am:
3811 Changed "application.h" header from a 'source'
3812 to a 'dependency' of libat-bridge.
3814 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3823 Added interface implementation c files to list of
3824 includes so they are included in libcspi.
3827 Changed prototype of AccessibleAction_doAction to return a
3829 Changed prototype of AccessibleTable_getCaption to
3830 return an Accessible.
3831 Changed prototype of AccessibleTable_getSelectedRows
3832 and AccessibleTable_getSelectedColumns to
3833 return a long (returns the number of selected rows
3834 or columns respectively).
3835 Changed name of AccessibleText_refRunAttributes to
3836 AccessibleText_getAttributes.
3837 Changed prototype of AccessibleText_getCharacterExtents to
3838 return a void rather than a boolean.
3839 Added support for a AccessibleCoordType parameter
3840 specifying what type of coordinates are desired.
3841 Added an AccessibleCordType parameter to
3842 AccessibleText_getPointAtOffset.
3844 * cspi/spi_accessible.c:
3845 Added code to return the outstanding interfaces from
3846 Accessible_queryInterface.
3848 * cspi/spi_action.c:
3850 Corrected call to getNActions to call the c binding
3853 * cspi/spi_editabletext.c:
3855 Changed name from setRunAttributes to setAttributes.
3857 * cspi/spi_hyperlink.c:
3859 Changed call to getNAnchors to correctly call the c
3860 binding for an attribute.
3862 * cspi/spi_hypertext.c:
3864 Changed getImageDescription to correctly call the
3865 binding for an attribute.
3867 * cspi/spi_selection.c:
3868 Changed getNSelectedChildren to correctly call the c
3869 binding for the attribute.
3870 Changed refSelectedChild to getSelectedChild.
3874 Changed getCaption to return an Accessible.
3875 Fixed calls which retrieve attributes.
3876 Changed refAt to getAccessibleAt.
3877 Changed getNSelectedRows and getNSelectedColumns to
3881 Changed getCharacterExtents and getPointAtOffset to accept an
3882 AccessibleCoordType.
3884 Changed calls which retrieve attributes.
3885 Changed refRunAttributes to getAttributes.
3890 * idl/Hyperlink.idl:
3891 Changed n_anchors attribute to nAnchors to keep naming
3892 convention consistent.
3895 Made Table inherit from Bonobo::Unknown.
3896 Added nSelectedColumns and nSelectedRows attributes.
3899 Made Value inherit from Bonobo::Unknown.
3901 * libspi/hyperlink.c:
3902 Change for nAnchors attributte name change.
3904 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3912 Added interface implementation c files to list of
3913 includes so they are included in libcspi.
3916 Changed prototype of AccessibleAction_doAction to return a
3918 Changed prototype of AccessibleTable_getCaption to
3919 return an Accessible.
3920 Changed prototype of AccessibleTable_getSelectedRows
3921 and AccessibleTable_getSelectedColumns to
3922 return a long (returns the number of selected rows
3923 or columns respectively).
3924 Changed name of AccessibleText_refRunAttributes to
3925 AccessibleText_getAttributes.
3926 Changed prototype of AccessibleText_getCharacterExtents to
3927 return a void rather than a boolean.
3928 Added support for a AccessibleCoordType parameter
3929 specifying what type of coordinates are desired.
3930 Added an AccessibleCordType parameter to
3931 AccessibleText_getPointAtOffset.
3933 * cspi/spi_accessible.c:
3934 Added code to return the outstanding interfaces from
3935 Accessible_queryInterface.
3937 * cspi/spi_action.c:
3939 Corrected call to getNActions to call the c binding
3942 * cspi/spi_editabletext.c:
3944 Changed name from setRunAttributes to setAttributes.
3946 * cspi/spi_hyperlink.c:
3948 Changed call to getNAnchors to correctly call the c
3949 binding for an attribute.
3951 * cspi/spi_hypertext.c:
3953 Changed getImageDescription to correctly call the
3954 binding for an attribute.
3956 * cspi/spi_selection.c:
3957 Changed getNSelectedChildren to correctly call the c
3958 binding for the attribute.
3959 Changed refSelectedChild to getSelectedChild.
3963 Changed getCaption to return an Accessible.
3964 Fixed calls which retrieve attributes.
3965 Changed refAt to getAccessibleAt.
3966 Changed getNSelectedRows and getNSelectedColumns to
3970 Changed getCharacterExtents and getPointAtOffset to accept an
3971 AccessibleCoordType.
3973 Changed calls which retrieve attributes.
3974 Changed refRunAttributes to getAttributes.
3979 * idl/Hyperlink.idl:
3980 Changed n_anchors attribute to nAnchors to keep naming
3981 convention consistent.
3984 Made Table inherit from Bonobo::Unknown.
3985 Added nSelectedColumns and nSelectedRows attributes.
3988 Made Value inherit from Bonobo::Unknown.
3990 * libspi/hyperlink.c:
3991 Change for nAnchors attributte name change.
3994 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
3996 implementations-- made server implementations own AtkObject pointers
3997 rather than their respective AtkInterrface pointers to fix
3998 refcounting. AtkHyperlink is still broken.
4000 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4001 * cspi/spi_accessible.c:
4002 Added method Accessible_Role_getName(),
4003 and requisite string array (role_names).
4004 Added conversion string_from_corba_strin() call
4005 to Accessible_getName and _getDescription.
4006 * libspi/accessible.c:
4007 Added implementation for Accessible_getRole()
4009 Added festival support, used if environment variable
4012 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4014 * at-bridge/bridge.c:
4015 Now allocate Accessibility_Event using
4016 Accessibility_Event__alloc() instead of g_new0().
4017 * libspi/accessibleeventlistener.c:
4018 Initialize AccessibleEventListener->callbacks to NULL.
4019 Fixed accessible__event_listener_init() param, changed to
4020 "AccessibleEventListener *" type.
4021 Changed a bonobo_object_release_unref() call to
4022 Accessibility_Accessible_unref().
4023 * libspi/listener.c:
4024 Changed Bonobo_Unknown_unref to (equivalent)
4025 Accessibility_Accessible_unref.
4026 * libspi/registry.c:
4027 Changed bonobo_object_release_unref to
4028 Accessibility_Accessible_unref.
4030 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4033 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
4034 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
4035 spi-util.c spi-util.h
4036 Implementations for C bindings to remaining accessibility
4039 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4042 changed return value of Action from void to boolean to
4043 bring in line with ATK.
4046 Changed getText funcions to return "out" start and end offsets.
4047 Changed getAttributes to take and offset and return the start
4048 and end offset of the attribute run.
4049 Changed getOffsetAtPoint and getCharacterExtents to take an
4050 enum describing whether coordinates are window or screen.
4053 libspi/action.c libspi/action.h libspi/editabletext.c
4054 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
4055 libspi/hypertext.c libspi/hypertext.h libspi/image.c
4056 libspi/image.h libspi/selection.c libspi/selection.h
4057 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
4058 libspi/value.c libspi/value.h
4059 Added server implementations for outstanding ATK interfaces
4060 not yet implemented.
4062 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4065 Added (missing) getName() method.
4066 Made nActions an attribute.
4067 * idl/EditableText.idl:
4068 Changed order of params in setAttributes.
4069 * idl/Hyperlink.idl:
4070 Removed getAnchor, added getURI.
4072 Changed attributes to methods, for efficiency
4073 (so that getting extents can be done in one call)
4074 * idl/Selection.idl:
4075 Changed nSelectedChildren to attribute, and re-indented.
4076 * idl/Table.idl: changed nrows, ncolumns, caption, summary
4078 * idl/Text.idl: reformatted to match our coding style.
4079 (temporarily?) removed getRowColumnAtOffset().
4080 Changed text selection API to support multi-select and
4081 non-contiguous selections, as in ATK.
4082 * idl/Value.idl: changed some methods to attributes.
4084 2001-08-24 Mark McLoughlin <mark@skynet.ie>
4086 * libspi/listener.c(impl_notify_event):
4087 BonoboUnkown_unref the source instead
4088 of bonobo_object_release_unref - the ORB
4089 handles the releasing.
4091 * configure.in: require ORBit-2.3.94 for
4094 2001-08-21 Bill Haneman <bill.haneman@sun.com>
4096 Tagged CVS repository 'EA_1_0'.
4097 * README.EARLY_ACCESS:
4098 Alphabetized acknowledgements list, and
4100 Listed some known dependencies of at-spi.
4102 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4104 * docs/at-spi-docs.sgml:
4105 * docs/at-spi-sections.txt:
4106 * docs/at-spi-overrides.txt: (Added zero-length file)
4107 Documentation improvements - gtk-doc should build
4108 docs for all implemented C bindings now.
4111 * cspi/spi.c: (New file)
4112 * cspi/spi_event.c: (New file)
4113 * cspi/spi_registry.c: (New file)
4114 * cspi/spi_accessible.c: (New file)
4115 * cspi/spi_application.c: (New file)
4116 * cspi/spi_component.c: (New file)
4117 Split spi_main.c into six parts, and included them from
4118 "spi.c". This is a bit of a hack, probably temporary,
4119 but required by gtk-doc, apparently.
4121 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4124 * docs/at-spi-docs.sgml:
4125 * docs/at-spi-sections.txt:
4127 Initial checkins/modifications for gtk-doc generation.
4130 Added (missing) interface query methods to Accessible's C binding.
4132 Added GenericInterface type definition.
4134 Added query for AccessibleComponent interface to focus event handler.
4135 Added printout of bounding box for focussed component.
4136 * libspi/component.c:
4137 Added partial implementation for AccessibleComponent to C binding.
4138 * idl/Application.idl:
4139 * libspi/registry.c:
4140 * libspi/listener.c:
4141 * libspi/application.c:
4142 * libspi/application.h:
4143 Changed "ID" attribute type from string to long.
4145 2001-08-19 Bill Haneman <bill.haneman@sun.com>
4149 Made method naming consistent: methods taking object args
4150 start with uppercase, other methods (except those using
4151 acronyms) start with lowercase. Underscores delimit between
4152 object names and method names:
4153 SPI_init() - uppercase since it starts with an acronym.
4154 getDesktopCount () - lowercase start since no object param0.
4155 Accessible_getName() - uppercase object type name, studlyCaps method
4159 Added gtk-doc documentation for all currently implemented
4160 methods in the C bindings API.
4162 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4164 * Makefile.am : changed build order to build test last.
4167 Changed "createEventListener" to "CreateEventListener".
4168 * libspi/accessibleeventlistener.c :
4169 Bugfix for addition of callbacks.
4170 * test/Makefile.am :
4171 * test/simple-at.c :
4172 Added new test that uses the C bindings API.
4174 * libspi/listener.c :
4175 * libspi/registry.c :
4176 * libspi/accessibleeventlistener.c :
4177 * at-bridge/bridge.c :
4178 Renamed member "target" of Accessibility_Event to "source",
4179 which is more descriptive.
4182 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4186 * cspi/Makefile.am :
4187 Added makefile support for at-spi/cspi directory.
4190 * cspi/spi-listener.h : (NEW FILE)
4191 Added support for/use of spi-listener.h.
4193 C bindings now build successfully, with no warnings.
4194 * libspi/accessibleeventlistener.h : (NEW FILE)
4195 * libspi/accessibleeventlistener.c : (NEW FILE)
4196 * libspi/Makefile.am :
4197 Added new object type "AccessibleEventListener"
4198 which inherits from Listener, and allows attachment
4199 of in-process callbacks (so that a client with a listening
4200 object instance can add functionality to the local
4201 implementation, dynamically).
4203 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4205 * libspi/accessible.c:
4206 Add implementation for get_index_in_parent().
4208 Added #include of "spi-roletypes.h", and
4209 added enumerated type AccessibleCoordType.
4210 Added definition for KeystrokeListener (function type).
4213 * cspi/spi-statetypes.h :
4214 * cspi/spi-roletypes.h :
4216 Added these headers, used by spi.h.
4218 Added code (NOTE: not yet built by make).
4220 2001-08-18 Mark McLoughlin <mark@skynet.ie>
4222 * libspi/Makefile.am: generate imodule
4223 at the same time as other idl compiler
4226 2001-08-17 Bill Haneman <bill.haneman@sun.com>
4227 * libspi/registry.c :
4228 * libspi/application.c :
4229 * idl/Application.idl :
4230 Made registration with toolkit an application method,
4231 which is required since each app has its own toolkit static
4232 environment. Thus the bridge must register for
4233 notification of toolkit events from each application in turn.
4234 Toolkit notifications are now successfully registered for, and
4235 sent to the listening at client.
4237 Changed toolkit event string to use hyphens rather than underscores.
4238 * libspi/listener.c :
4239 listner now gives more info in debug mode - it reports the
4240 name of the event received, as well as the name of the source.
4243 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4245 * libspi/registry.c :
4246 added more implementation for toolkit events.
4247 Fixed bug such that toolkit event registrations
4248 (via atk) use the whole event name string, not
4250 Removed a useless call to an ORBit_ method.
4251 * at-bridge/bridge.c :
4252 Removed unused local sbuf[] variable.
4254 We now register for Gtk:GtkWidget:button_press_event
4255 events as well as "focus:" events.
4257 Add some more API from Registry.idl that was missing,
4258 for keystroke listening, keystroke and mouse event
4259 synthesis, and enumeration of accessible desktops.
4261 2001-08-16 Michael Meeks <michael@ximian.com>
4263 * configure.in: use AM_GLIB_GNU_GETTEXT.
4265 * Makefile.am (SUBDIRS): kill intl.
4267 2001-08-15 Michael Meeks <michael@ximian.com>
4269 * registryd/Makefile.am: s/oaf/server/ relocate info file.
4271 * configure.in: upd.
4273 * configure.in: depend on a recent bonobo-activation that
4274 will find our server files ...
4276 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4278 * libspi/accessible.c : accessible_new() :
4279 Now we add the Component interface via bonobo_object_add_interface,
4280 if the contained AtkObject implements AtkComponent.
4281 * libspi/accessible.h : now include "component.h"
4282 * libspi/component.h :
4283 * libspi/component.c : added files - implementation of
4284 bonobo wrapper object for Accessibility/Component
4285 * libspi/listener.c :
4286 Added test code to check for Accessibility/Component:1.0
4287 interface and report whether it is implemented by the
4289 * libspi/registry.c :
4290 Now we check for not only the hash of the whole event
4291 string before relaying the event, we also check the
4292 "minor" event string (without the detail string).
4293 This allows event listeners to be registered against
4294 all events of a certain major+minor type, or just
4295 against a specific major+minor+detail type.
4296 * libspi/accessible.c :
4297 Added implementations for Accessible:get_parent(),
4298 Accessible:getChildCount(), and Accessible:getChildAtIndex().
4299 * libspi/registry.c :
4300 * libspi/listener.c :
4301 Replaced calls to Accessibility_Accessible_ref() and
4302 Accessibility_Accessible_unref() with
4303 calls to bonobo_object_dup_ref() and
4304 bonobo_object_release_unref(), so that the CORBA object
4305 is dup-ed and released when relayed, as well as the bonobo object.
4307 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4309 * libspi/Makefile.am,
4310 registryd/Makefile.am,
4311 at-bridge/Makefile.am.
4312 test/Makefile.am, configure.in:
4313 reverse previous changes.
4315 * /idl/Image.idl: fix typo.
4317 * test/Makefile.am: put DEBUG_FLAGS
4320 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4322 * test/app.c: use argv[0] instead of
4325 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4327 * libspi/Makefile.am,
4328 registryd/Makefile.am,
4329 at-bridge/Makefile.am.
4330 test/Makefile.am, configure.in:
4331 cleanup, replace individual LIBS/CFLAGS with
4332 AT_COMMON_{LIBS|CFLAGS}.
4336 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4338 * configure.in, libspi/Makefile.am:
4339 Change IDL path checking for bonobo-activation
4342 2001-08-15 Bill Haneman <bill.haneman@sun.com>
4344 * registryd/registry.c : separated event listeners to use
4345 3 separate lists (focus, window, toolkit). Began testing
4346 event names against hashes before relaying events.
4347 * test/at.c : now register for events of type "focus:"
4348 * test/app.c : now generate events of type "focus:"
4349 * at-bridge/bridge.c : register with ATK for focus events,
4350 and we now relay those focus events to any "focus:" listeners.
4351 This now works with the bridge as a GTK_MODULE when running test/at.
4352 * libspi/registry.c :
4353 * libspi/listener.c :
4354 now we ref event sources before propagating, and unref on receipt.
4355 * libspi/registry.c :
4356 some changes to internal structs, to support event typestring hashes.
4357 * text/app.c : changed the way the appname is generated.
4358 * cspi : added directory that will hold the C bindings library for
4359 non-CORBA/bonobo-savvy clients.
4360 * cspi/spi.h : header file that contains the function prototypes for the C binding.
4361 * idl/Component.idl : added in parameter to indicate coord system for
4362 geometry-related calls.
4363 * idl/Hyperlink.idl : added readonly n_links attribute
4364 * idl/Image.idl : changed methods to attributes.
4366 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4368 * at-bridge/Makefile.am: link against
4369 ../libspi/libspi.la instead of -lspi.
4371 * at-spi/test/app.c: include
4372 bonobo-activation.h. Use a default appname
4373 if one is not provided.
4375 2001-08-14 Bill Haneman <bill.haneman@sun.com>
4377 * idl/Registry.idl : temporarily changed register_Application
4378 to oneway, to work around issue with initial registration
4380 * idl/Application.idl : changed attribute "id" from readonly
4381 to read-write, since it needs to be assigned by Registry.
4382 * registryd/registryd.c : added call to set application id
4384 * registryd/registry.c : changed de-registration procedure to
4385 use CORBA_Object_hash() to find matching object ref in application
4386 lists and listener lists.
4387 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
4388 began distinguishing between event types (work in progress).
4390 2001-08-13 Bill Haneman <bill.haneman@sun.com>
4393 * libspi/application.c:
4394 Added implementations for get/set id, get_toolkitName,
4396 * registryd/registryd.c :
4400 Converted from use of OAF to bonobo-activation.
4401 * libspi/desktop.h :
4402 * libspi/desktop.c :
4404 Removed references to atksimpleobject, since base atkobject
4405 implementation now provides functionality we need.
4406 * libspi/atksimpleobject.c :
4407 * libspi/atksimpleobject.h :
4412 * at-bridge/Makefile.am
4413 * at-bridge/bridge.c
4416 Added directory "bridge" and contents, and added dependencies
4417 in Makefile.am/configure.in.
4418 Initial checkin of "at-bridge".
4419 This code is a GTK_MODULE which automatically registers
4420 GTK+ apps with the accessibility registry, using an object
4421 reference to the root ATK object.
4423 2001-08-10 Mark McLoughlin <mark@skynet.ie>
4425 * po/Makefile.in.in: Remove. Again. If this
4426 doesn't get autogenerated - you need to update
4429 2001-08-07 Mark McLoughlin <mark@skynet.ie>
4431 * po/Makefile.in.in: Add. Again.
4433 2001-07-31 Bill Haneman <bill.haneman@sun.com>
4435 * libspi/accessible.c : added support for 'description' property.
4436 * libspi/accessible.c
4438 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
4439 (since the two are now equivalent in libbonobo)
4447 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
4448 Bonobo::Unknown as does Accessibility::Accessible.
4449 * idl/StreamableContent.idl : as above, and replaced internal InputStream
4450 interface with Bonobo::Stream, since it was redundant with it.
4451 (The Stream returned by a StreamableContext object is expected to
4452 implement only a subset of Bonobo::Stream)
4454 2001-07-28 Anders Carlsson <andersca@gnome.org>
4456 * libspi/accessible.c (accessible_object_finalize): Change
4457 g_free to g_object_unref since the AtkObject is a GObject.
4459 2001-07-30 Bill Haneman <bill.haneman@sun.com>
4461 * idl/Accessibility.idl: add new IDL files
4464 * idl/Action.idl: Definitions of actionable UI object
4465 * idl/Component.idl: Definitions of UI component geometry, etc.
4466 * idl/Hyperlink.idl: Defs of hyperlink behavior
4467 * idl/Image.idl: Def of accessible image
4468 * idl/Selection.idl: Definition of UI object with selectable children
4469 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
4470 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
4471 * idl/Text.idl: Interface defs for UI elements with complex textual content
4472 * idl/Value.idl: Definition of UI element that is a value controller or display
4474 2001-07-27 Michael Meeks <michael@ximian.com>
4476 * po/Makefile.in.in: remove autogenerated file from CVS.
4478 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
4481 * idl/Registry.idl: include guard.
4483 * idl/Accessibility.idl: Add, and include all the other IDL
4486 * idl/*.idl: remove mass of pragmas etc.
4488 2001-07-26 Michael Meeks <michael@ximian.com>
4490 * registryd/Makefile.am (registryd_SOURCES): remove
4493 2001-07-27 Mark McLoughlin <mark@skynet.ie>
4495 * libspi/.cvsignore, registryd/.cvsignore,
4496 test/.cvsignore: updated.
4498 * po/Makefile.in.in: gettext update.
4500 2001-07-25 Bill Haneman <bill.haneman@sun.com>
4502 * initial CVS checkin
4504 2001-06-29 Michael Meeks <michael@ximian.com>
4506 * configure.in: add AM_CONFIG_HEADER to gen config.h