1 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3 * test/event-listener-test.c:
4 Added command-line options to disable mouse events (m) and
7 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
9 * configure.in: Update required versions of ATK, GTK+ and GAIL
11 * cspi-1.0.pc.in: Add dependency for X include files
14 * cspi/bonobo/Makefile.am:
15 Add $(X_CFLAGS) so that X include files
16 are picked up even if not in standard place (bug #71686)
18 2002-06-25 Bill Haneman <bill.haneman@sun.com>
20 * registryd/deviceeventcontroller.c: fix for 84261
21 (spi_dec_mouse_moved):
22 Added test of mouse button mask, so that we can detect mouse
23 button release. Unfortunately we can't otherwise detect mouse
24 button release events without consuming the mouse press event,
25 because of the way XGrabButton works. This means that our mouse
26 release events have a latency dependent on the polling period
27 while the mouse button is down. At least in this case we only
28 have to poll while the button is down, and not at other times.
29 If the button masks don't match with what the last press event
30 reported, we report the appropriate button release event.
31 (spi_dec_ungrab_mouse):
32 New method (not yet called).
33 (spi_device_event_controller_forward_mouse_event):
34 New method, sends mouse press event from GdkFilter.
35 (spi_dec_init_mouse_listener):
36 Added code to call XGrabButton, redirecting mouse button events to
37 the root window and our Gdk event loop.
39 Added code to filter mouse button events, and reordered.
41 * test/event-listener-test.c:
43 Added registration for mouse events of type "mouse:button".
45 2002-06-25 Bill Haneman <bill.haneman@sun.com>
47 * registryd/deviceeventcontroller.c: partial fix for 84261
48 (spi_dec_poll_mouse_idle):
49 New method, a timeout which checks to see if the mouse
51 (spi_dec_poll_mouse_moving):
52 A timeout to be called when mouse motion is underway.
53 (spi_dec_poll_mouse_moved):
54 A method which fires an event if the mouse has moved, and reports
55 whether or not it did so.
56 (spi_dec_init_mouse_listener):
57 A method which sets up the timeouts above.
58 (spi_device_event_controller_new):
59 Now calls spi_dec_init_mouse_listener.
61 * registryd/registry.c:
63 Now we initialize the device event controller when the registry is
64 initialized, instead of waiting until a client has requested a key
65 event notification; this is because we need the event controller
66 for mouse events, but the mouse event registration API is a
67 "registry" call and doesn't explicitly call the
68 deviceeventcontroller.
69 We now report mouse motion events with a 100 ms idle latency and
70 a 20 ms granularity when motion is in progress.
72 * test/event-listener-test.c:
74 We now register the "detail listener" for events of type
75 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
76 delivered only for the first mouse event received, and thereafter
77 "mouse:abs" events are delivered.)
79 * cspi/spi_registry.c:
80 DOCS: Documented the above mouse event typestrings.
82 2002-06-21 Bill Haneman <bill.haneman@sun.com>
84 Happy Summer Solstice...
86 * registryd/deviceeventcontroller.c: [fix for bug 84100]
87 (spi_controller_notify_keylisteners):
88 Changes to remove a listener from the listener list, freeing its
89 open keygrabs, if a notification to that listener fails. This
90 means that although a dead listener can continue to hold a passive
91 keygrab, a maximum of one dispatch to such a listener can fail
92 before the listener is removed from the list, thus the keygrab
93 will be released on the next occurrence.
95 (spi_notify_keylisteners):
96 Renamed to spi_controller_notify_keylisteners, as the controller
97 instance must now be passed as an argument.
98 The copied 'notify' GList is now a list of DEControllerKeyListener
99 objects, since we need more than just the CORBA reference if a
100 notify fails and we need to deregister the listener.
101 (impl_notify_listeners_sync):
102 (impl_notify_listeners_async):
103 (spi_device_event_controller_forward_key_event):
104 Modify use of notify_keylisteners in accordance with above
106 (spi_deregister_controller_key_listener):
107 New method introduced by refactoring, from
108 impl_deregister_keystroke_listener.
109 (impl_deregister_keystroke_listener):
110 Call spi_deregister_controller_key_listener.
111 (spi_key_listener_clone):
112 New method to copy a key listner without doing a 'ref' on the
113 remote object instance; used to create a notifier list.
114 (spi_key_listener_data_free):
115 New method, frees data without unreffing the source.
117 (spi_key_listener_clone_free): new method.
118 (spi_key_listener_free):
119 refactored to call spi_key_listener_data_free.
121 2002-06-20 Bill Haneman <bill.haneman@sun.com>
123 * registryd/registry.c: [fix for bug 86048]
124 (notify_listeners_cb):
125 Clear CORBA system exceptions which occur when notifying
126 listeners, before returning to the source of the original event,
127 since the event source doesn't care if the relayed notify failed.
128 In other words, don't complain to the atk-bridge if the registry
129 could not notify all its listeners, that's no fault of the
130 application and thus should not appear to be an error from the
131 application's perspective.
133 * cspi/spi_main.c: [fix for bug 85980]
135 Replaced use of bonobo_object_dup_ref with call to the wrapper
136 method, csou_dup_ref (); this silences a compiler warning and
137 provided more portability.
139 Ping the registry before return, and restart if necessary.
141 * cspi/bonobo/cspi-bonobo.c:
145 Fixed this method to return an object reference, as it should have
148 * cspi/cspi-lowlevel.h:
149 Added internal definition for cspi_ping() and fixed
150 return type of cspi_dup_ref().
153 2002-06-19 Bill Haneman <bill.haneman@sun.com>
155 * atk-bridge/bridge.c: [fix for bug 85305]
156 (spi_atk_bridge_register_application):
157 New method where the initial application registry calls have been
158 moved; it allows an application to re-register in response to
159 certain error conditions (such as a registry restart, see below).
161 Moved some initialization code to the method
162 spi_atk_bridge_get_registry, below.
163 (spi_atk_bridge_get_registry):
164 New, private accessor function for the Accessibility_Registry
165 instance. If the registry has not been started before, or has
166 died (as detected by failure of a CORBA exception), it is
167 restarted before return, and spi_atk_bridge_register_application
168 is called again to register with the new bridge instance.
169 (spi_atk_emit_eventv):
170 Set registry_died on error; use spi_atk_bridge_get_registry () to
173 * registryd/registry.c:
174 (impl_accessibility_registry_register_global_event_listener):
175 Set listener's event_type_quark to etype.minor instead of
176 etype.major (fix for bug 84856).
178 * test/event-listener-test.c:
179 (report_detail_event):
180 Change the output string so that user/tester can tell that the
181 'detail listener' was called instead of the 'generic listener'.
183 2002-06-18 Bill Haneman <bill.haneman@sun.com>
185 Fixes for bugs 84900, 84908, 84897, 84898.
190 Revved version to 1.1.0
191 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
192 version is going to HEAD which will be used for gnome-2-0-1 and later.)
194 * idl/Accessibility_Registry.idl:
195 (EventListener::notifyEvent):
196 Removed 'oneway' directive after extensive consulation with
197 ORBit2 team and others. This means also that unref() of the event
198 source can and should be done synchronously after emission, rather
199 than remotely in the client, after servicing the notify call on
202 NOTE: This change speeds up listener performance considerably, but
203 introduces new latency on the application side. We may want to
204 add an event queue to the atk-bridge.
206 * atk-bridge/bridge.c:
207 (spi_atk_bridge_focus_tracker):
208 Do a local unref() on the event source after emission.
210 * registryd/registry.c:
211 (desktop_remove_application):
212 Do an unref() on the event source after emission.
213 (desktop_add_application):
214 Do an unref() on the event source after emission.
215 (notify_listeners_cb):
216 When relaying an event, don't automatically add the event source
217 to the local object cache, just CORBA_dup it instead. Likewise,
218 if this method reenters, release the ref rather than calling
220 (impl_registry_notify_event):
221 No longer call remote unref() on the event source after dispatch.
223 * libspi/eventlistener.c:
224 (impl_accessible_event_notify_event):
225 Removed remote unref ()
227 * cspi/bonobo/cspi-bonobo-listener.c:
229 We now call cspi_object_new() instead of cspi_object_add() on
230 receipt of an event; thus we only have an implicit object ref
231 while the cspi_event method is being executed. If we need to keep
232 a reference to the object, the listener must call ref() on the
233 object. Thus also we don't need to call cspi_object_unref() after
234 invoking the listener callbacks in this method.
238 New internal API for creating a new cspi object, without adding it
241 Now uses cspi_object_new() to create the cspi object instance.
243 Now checks to see if the object is in the internal object cache,
244 and adds it if necessary before incrementing its refcount (note
245 that new objects are added with a refcount of 1).
247 New method which gives some information on leaked object instances
248 if leak detection is turned on.
250 * test/event-listener-test.c:
252 New method, used for testing event delivery timing for special
253 events of type "object:test". It reports elapsed time and
254 events/sec every 500 events.
256 Added a new listener, 'test listener', to check timing of event
257 receipt as noted above.
259 Added some timing output here also, reports elapsed time every 100
262 * test/stress-test.c:
263 Emit events of type "object:test", for use with "event-listener-test".
265 * test/test-simple.c:
266 (global_listener_cb):
267 Call Accessible_ref() on the event source before calling
268 validate_accessible, since the validation process does pointer
269 comparisons on the event source, meaning that the event source
270 needs to be added to the local object cache first. Any use of
271 such pointer comparisons between Accessible objects requires that
272 the caller hold an explicit reference to those objects.
273 We also must therefore call Accessible_unref() when leaving this method.
275 2002-06-13 Bill Haneman <bill.haneman@sun.com>
277 * registryd/deviceeventcontroller.c:
278 (spi_controller_update_key_grabs):
279 Fix for #84735, subsequent keygrab listeners not informed of
280 registration failure.
283 (spi_base_construct):
284 Add an assertion on construct, to make sure the GObject passed in
287 Explicitly initialize object->gobj pointer to NULL;
289 * cspi/bonobo/cspi-bonobo-listener.c:
290 (cspi_object_add_ref):
291 New method, can specify whether to dup-ref a bonobo object passed
292 in if it's newly added to the object cache.
294 Now calls cspi_object_add_ref with second param of "FALSE". This
295 prevents us from doing a pointless dup-ref followed by
296 release-unref for all those cases where the object is already in
297 our object cache (fix for #85205).
299 * atk-bridge/bridge.c:
300 (spi_atk_bridge_idle_init):
301 Removed this method, we don't need to initialize in an idle
304 Changed to call spi_atk_register_event_listeners directly, not via an
305 idle handler. (fix for #81139)
306 (gnome_accessibility_module_shutdown):
307 Removed conditional around deregistration of listeners, since we
308 don't use the idle handler and thus have always registered when
310 (spi_init_keystroke_from_atk_key_event):
311 Changed references to Accessibility_KEY_PRESSED to
312 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
314 2002-06-12 Bill Haneman <bill.haneman@sun.com>
316 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
321 * test/stress-test.c:
324 (may have been an incomplete commit yesterday?)
326 2002-06-12 Bill Haneman <bill.haneman@sun.com>
329 Added target for new stress-test.
331 * test/stress-test.c:
332 New test, sends 1000 focus notifies in quick succession.
334 * test/key-listener-test.c:
335 Now we report whether a keylistener registration
336 request succeeded or failed.
338 * test/event-listener-test.c:
339 Uncommented some listeners which are now implemented.
342 2002-06-06 Bill Haneman <bill.haneman@sun.com>
344 * registryd/deviceeventcontroller.c:
345 (spi_controller_update_key_grabs):
346 Fix for #82509, lack of failure notification when
347 ALL_WINDOWS keygrabs fail due to XGrabKey
348 failure: we synchronize the server when
349 registering a passive grab, to make sure we get the
350 error message before the call returns.
352 2002-06-03 Bill Haneman <bill.haneman@sun.com>
354 * test/test-simple.c:
356 Removed #ifdef KEY_IMPL_WORKS guards.
358 Removed #ifdef KEY_IMPL_WORKS guards.
359 Fixed bug which was causing a hang waiting for a
360 "press" event (which was already overwritten by a "release"
361 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
363 Added code to set globals 'key_press_received' and
364 'key_release_received'.
367 Added section "1.1 API Proposed Additions" which
368 lists API additions desired for at-spi-1.1 (only one so far).
369 Updated TODO list a little.
371 2002-06-02 Bill Haneman <bill.haneman@sun.com>
373 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
376 * configure.in: Revved to 1.0.0.
378 * idl/Accessibility_Registry.idl:
379 (registerKeystrokeListener):
380 Added boolean return value.
382 * registryd/registry.c:
383 (notify_listeners_cb): Minor fix to debug output.
385 * registryd/Accessibility_Registry.server.in.in:
386 Revved version number in OAFIID to 1.0.
388 * registryd/registryd.c:
390 Use new OAFIID version.
392 * cspi/bonobo/cspi-bonobo.c:
394 Use new OAFIID version.
400 * atk-bridge/bridge.c:
402 Use new OAFIID version.
404 * registryd/deviceeventcontroller.c:
405 (impl_register_keystroke_listener):
406 Added CORBA_boolean return value.
407 (spi_controller_register_device_listener):
408 Added gboolean return value.
409 (spi_controller_register_global_keygrabs):
410 Added gboolean return value.
411 (spi_key_set_contains_key):
412 Added implementation for many more control keys,
413 for instance F1-F12, arrow keys, End, Home, Page_Up,
415 [TODO: some still not implemented].
417 * text/screen-review-test.c:
418 (text_chunk_pad_string):
419 New function: it provides mapping between coordinate
420 positions of text chunks and character positions in the
421 screen-review-line output string.
422 (text_chunk_to_string):
423 New function, calls text_chunk_pad_string with various
424 pad/delimiter characters. Pushbuttons are delimited with
425 square brackets, Frames with vertical 'pipe' lines, and
426 other text with double quotes.
427 (text_chunk_list_to_string):
428 Calls new function text_chunk_to_string.
429 (toplevel_composite):
430 New function to composite layers CANVAS through
431 POPUP in each toplevel (other layers are composited
432 across toplevels, i.e. BACKGROUND and OVERLAY).
433 (review_buffer_composite):
434 Revise to use new methods.
440 2002-05-31 Laszlo Peter <laca@sun.com>
442 * configure.in: add the Xtst libdir to the runpath on Solaris,
443 since it's not in the default library search path.
445 2002-05-29 jacob berkman <jacob@ximian.com>
447 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
449 2002-05-29 Bill Haneman <bill.haneman@sun.com>
451 * test/screen-review-test.c:
452 (text_chunk_pad_string):
453 Added method, which pads the string according to the
454 text bounds of the chunk. It also takes a 3-character
455 string as a param which indicates the characters to be
456 used for start, padding, and end delimitation of the chunk.
457 (text_chunk_to_string):
458 Changed to use text_chunk_pad_string.
460 * configure.in: Fixed bug in AC_OUTPUT that was
461 causing path substitution in Accessibility_Registry.server
464 2002-05-23 Bill Haneman <bill.haneman@sun.com>
466 * text/screen-review-test.c:
468 New method which attempts a best-guess at clipping
469 text from components (like Java labels) which don't
470 actually implement AccessibleText. This inaccurate
471 clip is based on the assumption that the label is
472 justified left-and-right, and monospaced.
473 (text_chunk_get_clipped_string):
474 We now call guess_string_clip() for text-containing
475 components that don't implement AccessibleText.
477 * test/screen-review-test.c:
478 (review_buffer_get_text_chunk):
479 We now pull "name" from labels if they do not implement
480 AccessibleText (i.e. for Java labels).
481 (get_screen_review_line_at):
482 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
485 Replaceded AC_OUTPUT target
486 registryd/Accessibility_Registry.server with
487 registryd/Accessibility_Registry.server.in.
489 * registryd/Accessibility_Registry.server.in:
490 Removed (this is now a Makefile target).
492 * registryd/Accessibility_Registry.server.in.in:
493 Added (source for target above). We now use $(libexecdir) as
494 prefix for the executable at-spi-registryd.
496 * registry/Makefile.am:
497 Now install at-spi-registryd into $(libexecdir), and build .server
498 file with path (see above).
500 2002-05-22 Bill Haneman <bill.haneman@sun.com>
502 * test/screen-review-test.c:
503 (text_chunk_get_clipped_string):
504 We now check to see if words fall within clip bounds
505 before resorting to character-by-character clip bounds testing.
507 * TODO: Added a section for "2.2 Proposed API Additions".
509 2002-05-21 Bill Haneman <bill.haneman@sun.com>
511 * test/screen-review-test.c:
513 Added a screen review benchmarking and test program to test
516 * cspi/spi_accessible.c:
518 Made some of the debug strings passed to cspi_check_ev a
519 little more specific.
521 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
523 * test/screen-review-test.c: Fix crashes in debug statements
525 2002-05-20 Bill Haneman <bill.haneman@sun.com>
527 * test/screen-review-test.c: Added this file.
529 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
531 * atk-bridge/bridge.c: changed "object:state-change" to
532 "object:state-changed" to match docs.
534 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
536 * atk-bridge/bridge.c: Hooked up state-change event details.
538 2002-05-11 Bill Haneman <bill.haneman@sun.com>
540 * registryd/registry.c:
541 Fixed quarking bug in event string parsing; now events with
542 detail parameters get matched correctly to listeners.
545 * util/idl/Magnifier.idl: remove.
547 * util/*.[ch]: Remove.
548 Magnification utilities and IDL are now in module gnome-mag.
550 2002-05-10 Bill Haneman <bill.haneman@sun.com>
552 * registryd/deviceeventcontroller.c:
553 Fixed bug in grab key conversion which was causing keycode grabs
554 to be converted to AnyKey grabs.
557 updated NEWS file to reflect recent spin-off of gnome-mag.
559 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
561 * cspi/spi_accessible.c: Added exception checks. Fixed completely
562 busted AccessibleStateSet_compare. Removed redundant casts.
564 * cspi/spi-action.c: Removed redundant casts.
566 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
568 * cspi/spi_component.c: Fixed typos and casting error.
570 * cspi/spi_editabletext.c: Removed redundant casts.
572 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
574 * cspi/spi_hypertext.c: Eliminated redundant casts.
576 * cspi/spi_image.c: Eliminated redundant casts.
578 * cspi/spi_registry.c: Eliminated redundant casts.
579 SPI_deregisterGlobalEventListenerAll () removed retval variable.
580 * cspi/spi_selection.c: Removed redundant casts.
581 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
582 handling. Screen geometry and text offsets were being returned as 0
583 on error which is technically valid-- changed these to return -1.
584 Added marshaller for text boundary types to fix bug with boundary
585 types being passed incorrectly to atk.
587 2002-05-09 Bill Haneman <bill.haneman@sun.com>
590 * cspi/spi_registry.c:
591 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
592 which was uncovered by the recent key changes.
594 2002-05-09 Bill Haneman <bill.haneman@sun.com>
596 * test/event-listener-test.c:
598 Added new test, "event-listener-test";
599 this code does two things; it benchmarks traversal time
600 for the accessible hierarchy for the first running accessible
601 app, and it connects listeners for all supported event types.
602 It is thus useful as an example event listener and for
603 diagnostics/debugging of event generation.
605 2002-05-08 Bill Haneman <bill.haneman@sun.com>
608 Removed unnecessary dependency on libutil.
611 Revved micro version: 0.13.1
613 2002-05-08 Bill Haneman <bill.haneman@sun.com>
616 Removed util/Makefile from targets.
619 Removed util subdir from SUBDIRS (temporarily,
620 pending removal of magnifier-only code
624 #ifdef-ed out magnifier dependencies, since
625 magnifier IDL, headers, and binary now live in
626 module gnome-mag and we don't want at-spi to depend
627 on gnome-mag. A magnifier demo which can run alongside
628 simple-at is forthcoming in the gnome-mag module.
630 NOTE: Split magnifier binary, IDL, and magnification
631 activation code from at-spi into module gnome-mag.
633 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
635 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
636 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
638 2002-05-03 Bill Haneman <bill.haneman@sun.com>
641 Revved to version 0.13.0
643 * idl/Accessibility_Registry.idl:
644 Changed definition of KeySet from sequence of longs to sequence of
645 KeyDefinitions, and added KeyDefinition struct.
646 Required for fix to bug 80616.
648 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
649 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
650 to use new definition (see above).
652 * registryd/deviceeventcontroller.c: handle_keygrab(),
653 spi_keyset_contains_key():
654 Changed to make use of new struct; this allows matching based on
655 string key-name, for instance "Tab". This also allows matching of
656 composed characters, non-alphanumeric characters in a way that
657 doesn't involve dependencies on X keysym codes directly, etc.
659 * test/key-listener-test.c:
660 Added test for Alt-Tab key using "string" specification of keyset,
661 and modified one of the tests to use a keycode-based keyset.
662 Thus this test both tests and demonstrates the creation and use of
663 keysets of three forms: specified via keycode array,
664 keysym array, and string array. (The string case only contains a
665 single string, i.e. a string array of length 1).
668 Turned on PRINT_TREE option by default. Also fixed a
669 string-freeing bug in the PRINT_TREE code.
670 Added a listener to window:minimize events.
672 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
674 * atk-bridge/bridge.c:
675 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
676 for window:activate and window:deactiveate
677 (atk_bridge_property_event_listener atk_bridge_signal_listener
678 atk_bridge_window_event_listener) Tidy debug code
680 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
682 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
683 Fixed handling for NULL return value from ATK.
685 * libspi/action.c libspi/component.c libspi/editabletext.
686 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
687 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
688 Removed redundant casts.
690 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
691 Fixed off by one bug.
693 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
694 function not present in idl)
696 2002-05-02 jacob berkman <jacob@ximian.com>
698 * atk-bridge/Makefile.am: make atk-bridge a real module
700 2002-04-26 Radek Doulik <rodo@ximian.com>
702 * libspi/stateset.c (spi_init_state_type_tables): fix size of
703 atk_state_types table
705 2002-04-22 jacob berkman <jacob@ximian.com>
708 * libspi/Makefile.am: add deps on the built files to help
709 automake, and don't version the ORBit typelib
711 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
713 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
714 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
715 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
716 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
717 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
718 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
719 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
720 libspi/accessible.h libspi/accessible.h libspi/base.h
721 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
722 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
723 libspi/relation.h libspi/remoteobject.h libspi/selection.h
724 libspi/spi-private.h libspi/statetset.h libspi/table.h
725 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
726 util/mag_client.h util/mag_control.c util/mag_image.c
727 util/mag_image.h util/magnifier.c util/magnifier.h:
728 Add missing file headers; standardize existing ones
730 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
732 * atk-bridge/bridge.c: Added window event support.
734 2002-04-18 Michael Meeks <michael@ximian.com>
736 * libspi/relation.c (impl_getNTargets): impl.
737 (impl_getTarget): impl.
739 * libspi/Makefile.am: fix stateset install.
741 2002-04-17 Bill Haneman <bill.haneman@sun.com>
744 Started putting useful info in this file.
746 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
748 * atk-bridge/bridge.c:
749 Propagate state-changed notifications to ATs
751 * cspi/spi_registry.c: update docs to reflect actual behavior of
754 2002-04-17 Bill Haneman <bill.haneman@sun.com>
757 Incremented version to 0.12.1
760 Add missing declaration for magnifier_exit,
761 used by mag_control.c - Forte compiler didn't like
762 the implicit redeclaration of the function :-(
765 2002-04-16 Bill Haneman <bill.haneman@sun.com>
768 Revved version to 0.12 due to API change (see below).
770 * cspi/spi-roletypes.h:
771 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
772 definition from the inline docs, and added docs
773 for SPI_ROLE_LAST_DEFINED.
776 * cspi/spi_streamablecontent.c:
777 Added missing seek_type parameter to
778 (so far unused) method,
779 AccessibleStreamableContent_seek().
780 [ RT approval JodyG. ]
783 Fixed docs for SPI_createAccessibleKeystrokeListener.
785 * cspi/spi_registry.c:
786 Fixed docs for SPI_KEYSET_ALL_KEYS.
788 * docs/reference/cspi/at-spi-cspi-sections.txt:
789 Added a number of missing APIs to SECTIONS.
791 2002-04-16 Bill Haneman <bill.haneman@sun.com>
793 * registryd/Makefile.am:
795 * cspi/bonobo/Makefile.am:
796 Add $(X_LIBS) to makefiles.
798 2002-04-15 Bill Haneman <bill.haneman@sun.com>
801 Revved version to 0.11.
803 * libspi/component.c:
804 Added implementation for grabFocus.
806 * idl/Accessibility_Component.idl
807 (Accessibility_Component_grabFocus):
808 Made this method return boolean to indicate success or failure, to
809 be consistent with cspi and the corresponding ATK method.
811 * idl/Accessibility_Selection.idl
812 (Accessibility_Selection_selectAll) :
813 Made these methods return boolean to indicate success or
814 failure, to be consistent with cspi and the corresponding ATK methods.
816 * idl/Accessibility_EditableText.idl
817 (Accessibility_EditableText_setTextContents,
818 Accessibility_EditableText_insertText,
819 Accessibility_EditableText_cutText,
820 Accessibility_EditableText_deleteText,
821 Accessibility_EditableText_pasteText):
822 Made these methods return boolean to indicate
825 * cspi/spi_editabletext.c:
826 Made these methods return booleans.
828 * libspi/selection.c:
829 * libspi/component.c:
830 * libspi/editabletext.c:
831 Connected the boolean returns from ATK
832 to the server-side code referenced above.
834 2002-04-14 Bill Haneman <bill.haneman@sun.com>
836 * idl/Accessibility_Table.idl: Added missing methods,
837 Accessibility_Table_addRowSelection,
838 Accessibility_Table_addColumnSelection,
839 Accessibility_Table_removeRowSelection,
840 Accessibility_Table_removeColumnSelection.
843 Added C wrappers for above IDL:
844 AccessibleTable_addRowSelection,
845 AccessibleTable_addColumnSelection,
846 AccessibleTable_removeRowSelection,
847 AccessibleTable_removeColumnSelection.
850 Added server-side implementation code for IDL above, connecting
851 to pre-existing ATK api.
853 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
855 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
857 * libspi/accessible.c: Added implementation fo
858 Accessibility_Accessible_get_state.
860 * libspi/libspi.h: Added stateset.h to the list of includes.
862 * libspi/stateset.c: Fixed broken implementation.
864 2002-04-13 Bill Haneman <bill.haneman@sun.com>
867 Added implementation code for Accessibility_Magnifier_exit ().
869 * util/mag_control.c:
870 Added test code for above method; you can
871 now kill an existing magnifier via
872 ./mag_control q, from the util directory.
874 * test/key-listener-test.c:
876 Added a new test, for our key listener API.
878 2002-04-11 Bill Haneman <bill.haneman@sun.com>
880 * test/app.c, test/keysynth-demo.c:
882 Replace use of snprintf with g_snprintf.
883 (fix for bugzilla 78249)
885 2002-03-27 Michael Meeks <michael@ximian.com>
889 * util/Makefile.am (INCLUDES): fix.
890 (DONT_DIST_SOURCE): don't distribute the
893 * libspi/Makefile.am (dist-hook): ditto.
895 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
897 * libspi/hypertext.c:
898 Fix warnings when yelp is used with atk-bridge
900 2002-03-21 Michael Meeks <michael@ximian.com>
902 * libspi/application.c (spi_application_new):
903 use spi_accessible_construct so we use the AtkObject
906 2002-03-19 Michael Meeks <michael@ximian.com>
908 * registryd/registry.c (desktop_remove_application),
909 (desktop_add_application): clean coding style.
911 * registryd/desktop.c (spi_desktop_remove_application),
912 (spi_desktop_add_application): kill re-enterency hazards.
913 (spi_desktop_dispose): remove bogus redundant cast
914 obscuring bug; fix bug too.
915 (spi_desktop_init): make the desktop object immortal.
917 2002-03-16 Bill Haneman <bill.haneman@sun.com>
920 Added a #define-guarded tree-traversal step
921 when enumerating the apps (diagnostic tool).
923 2002-03-15 Bill Haneman <bill.haneman@sun.com>
925 * idl/Accessibility_Role.idl:
926 Added ROLE_DRAWING_AREA which seemed to be missing from the
929 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
931 * cspi/spi-roletypes.h cspi/spi_accessible.c
932 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
935 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
936 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
937 AT when applications are added and removed from the desktop. This
938 reverts the previous broken implementation using the backing
939 AtkObject for the SpiDesktop.
941 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
943 * registryd/desktop.c: emit the "children-changed::add" and
944 "children-changed::remove" signals on the backing ATK object for
945 the desktop so AT can tell when applications are started and shut
948 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
950 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
952 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
954 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
956 * cspi/spi_accessible.c: Implemented c bindings for stateset support
958 * cspi/state-types.h: synched with IDL and ATK
960 2002-03-13 Bill Haneman <bill.haneman@sun.com>
962 * libspi/accessible.c
963 (impl_accessibility_accessible_get_child_at_index):
964 Change return value for g_return_if_fail ()
965 to CORBA_OBJECT_NIL instead of "0" (!)
967 * registryd/Makefile.am:
968 * registryd/Accessibility_Register.server.in:
969 Changed name of executable, "registryd",
970 to something more informative:
973 2002-03-13 Michael Meeks <michael@ximian.com>
975 * atk-bridge/bridge.c (atk_bridge_init): don't register
976 if we're in a bonobo-component, rather than a bonobo app.
978 2002-03-13 Michael Meeks <michael@ximian.com>
980 * atk-bridge/bridge.c (gtk_module_init): split
981 out body to (atk_bridge_init): here, since otherwise
982 we get symbol conflicts and oddness when invoked
983 from (gnome_accessibility_module_init): here (upd.)
985 2002-03-11 Bill Haneman <bill.haneman@sun.com>
988 New file. Explicitly allow "build sheriff" putbacks provided
989 they are tested on Solaris.
991 * docs/reference/cspi/Makefile.am:
992 Added '-' to the "cp" command for index.sgml.
993 ("patch by thomasvs, soon coming to a GUADEC near you")
996 Incremented version number (0.9.0) for new release.
997 Changed macro that checks for popt, to better detect
998 obsolete versions of popt.
1001 Added X_LIBS to AC_SUBST, for applications
1002 that call Xlib API directly.
1005 2002-03-07 Bill Haneman <bill.haneman@sun.com>
1008 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
1011 Fix regression caused by hard-coding major
1012 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
1015 * test/test-simple.c (test_editable_text),
1016 (test_test): revert previous change (error was
1017 a regression in gail which is now fixed).
1019 2002-03-04 Michael Meeks <michael@ximian.com>
1021 * test/test-simple.c (test_editable_text),
1022 (test_text): pass G_MAXINT instead of '-1' for
1023 whole string - is this a good thing !?
1025 * cspi/spi_accessible.c
1026 (Accessible_getRelationSet): fix crasher bug
1027 overwriting the end of the array.
1029 * test/test-simple.c (validate_accessible): free,
1030 not g_free returned relation set.
1032 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
1034 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
1035 implemented stateset support
1037 * idl/Accessibility_State.idl: Made necessary changes to
1038 the IDL to support state sets.
1040 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1042 * registryd/deviceeventcontroller.c:
1043 Added implementation for generateMouseEvent.
1045 * cspi/spi_registry.c:
1046 Connected new implementation for generateMouseEvent
1049 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1052 Incremented revision (but no change in public API
1053 outside of 'utils', which are not installed public yet.)
1055 * libspi/component.c:
1056 Changed to use atk_component API for layers and
1057 mdi_zorder, instead of deprecated atk_object API.
1059 Magnification Utility Enhancements:
1062 Added implementation of createZoomRegion, clearAllZoomRegions,
1063 resizeZoomRegion. Added new commandline argument
1064 "--no-initial-region". Note that clearAllZoomRegions doesn't
1065 unmap the old '0' region as it should (yet), and the other
1066 methods only work when creating/resizing a single region,
1067 which is "region 0".
1068 (Code for multiple region support will be added later.)
1071 Now we raise the magnifier window each time it's refreshed;
1072 this will help keep it on top.
1074 * util/mag_client.h:
1075 Added simple wrappers for above, used by mag_control.
1076 For general use, it's recommended to use the bonobo magnifier
1077 control API directly instead of using these wrappers.
1080 Moved ZoomRegionData from magnifier.c to this file.
1082 * util/mag_control.c:
1083 Added some code to exercise new IDL implementations.
1085 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
1087 * libspi/text.c: Provide implementation for getAttributes.
1089 2002-02-04 Bill Haneman <bill.haneman@sun.com>
1092 Incremented revision.
1094 * test/test-simple.c:
1095 Replaced use of deprecated g_main_iteration with
1096 g_main_context_iteration.
1098 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
1101 Incremented revision for desktop alpha 2.
1103 2002-01-28 Mark McLoughlin <mark@skynet.ie>
1105 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
1108 * test/simple-at.c: include netinet/in.h.
1110 2002-01-24 Mark McLoughlin <mark@skynet.ie>
1112 * cspi/spi_accessible.c: (Accessible_getRelationSet):
1113 use NULL, not CORBA_OBJECT_NIL.
1115 * libspi/accessible.c:
1116 (impl_accessibility_accessible_get_relation_set):
1117 allocate the sequence correctly.
1119 * libspi/remoteobject.h: kill spi_remote_object_new.
1121 * test/test-simple.c: (validate_accessible): add code
1122 to test relation sets, now all we need is to figure
1123 out how to excercise this code path :/
1125 2002-01-18 Michael Meeks <michael@ximian.com>
1127 * test/test-simple.c
1128 (key_listener_cb): consume the key.
1129 (test_keylisteners): update.
1130 (main): wait for any pending unrefs on events.
1132 * registryd/deviceeventcontroller.c
1133 (spi_controller_update_key_grabs): only re-issue the
1134 grab on a key release.
1135 (spi_device_event_controller_forward_key_event):
1136 refresh the keygrabs before we notify the listeners,
1137 to reduce the X ungrab / re-grab race.
1138 (spi_controller_register_with_devices): remove
1139 XSelectInput - we do that with the gdk_window_ call.
1140 (_spi_controller_device_error_handler): return a value.
1141 s/GDK_DISPLAY/spi_get_display/
1143 2002-01-17 Michael Meeks <michael@ximian.com>
1145 * registryd/deviceeventcontroller.c
1146 (_deregister_keygrab): don't blow out the later
1149 * test/test-simple.c (test_keylisteners): do a
1150 more intelligent validation.
1152 2002-01-14 Michael Meeks <michael@ximian.com>
1154 * atk-bridge/bridge.c
1155 (gnome_accessibility_module_init),
1156 (gnome_accessibility_module_shutdown): impl.
1157 (gtk_module_init): protect vs. double inits.
1158 (add_signal_listener): impl.
1159 (spi_atk_bridge_state_event_listener): kill
1160 (deregister_application): split out of
1161 (spi_atk_bridge_exit_func): here.
1163 2002-01-18 Bill Haneman <bill.haneman@sun.com>
1166 Added caret tracking when using magnifier, and
1167 now use text bounds for focus tracking of text elements, rather than
1168 the component bounds - this is helpful for short text fields in long
1169 table cells, at high magnification.
1171 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1173 * registryd/deviceeventcontroller.c:
1174 Regression fix for keylistener de-registration; global keygrabs
1175 were not being released when deregisterKeystrokeListener was
1176 called in cspi, since
1177 Accessibility_DeviceEventController_deregisterKeystrokeListener
1178 was called with a zero-length keyset. That is because the cspi
1179 method, SPI_deregisterKeystrokeListener, does not take a keyset
1180 parameter but instead should remove all the key grabs held be a
1182 The code in impl_deregister_keystroke_listener was changed to copy
1183 the keylist from the listener instance previously registered with
1184 the DeviceEventController before releasing the grabs.
1186 * registryd/registry.c:
1187 * registryd/deviceeventcontroller.c:
1188 * libspi/spi-private.h:
1190 Changed spelling of "re-enterant" to "re-entrant" globally.
1192 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1194 * test/test-simple.c:
1195 Changed key listeners test - the test was slightly mis-using the
1196 (admittedly poorly documented) SPI_generateKeyboardEvent API.
1197 It now uses '=' as the key event listened to and generated,
1198 relying on a keysym match rather than assuming that keycode 33
1199 is always equal to keysym '!'.
1201 2002-01-15 Bill Haneman <bill.haneman@sun.com>
1204 Changed simple-at to use a specific keyset, rather than
1205 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
1206 manager, desktop, etc.
1208 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1210 * registryd/deviceeventcontroller.c:
1211 Replaced standard X error handler with a special handler that
1212 is non-fatal for failed keygrabs. This works around
1213 problems with keygrab clashes sometimes observed on
1215 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
1216 mouse handling code as yet).
1218 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1221 Incremented revision for desktop alpha release.
1224 Fixed a couple of the more glaring errors (still not
1227 2002-01-11 Michael Meeks <michael@ximian.com>
1229 * registryd/deviceeventcontroller.c
1230 (spi_device_event_controller_forward_key_event): kill
1231 XUngrabKey / XKeyGrab race.
1232 (spi_controller_grab_keyboard): rename to
1233 (spi_controller_update_key_grabs): this, and deal
1234 with incremental adding / removing grabs more
1236 (_register_keygrab): ensure we're not pending a remove.
1237 (spi_grab_mask_free): impl.
1238 (spi_controller_register_global_keygrabs): split out
1240 (handle_keygrab): impl.
1241 (_deregister_keygrab): impl.
1242 (spi_controller_deregister_global_keygrabs): impl.
1243 (spi_controller_update_key_grabs): re-issue the grab if
1244 we just recieved a notification.
1246 * test/test-simple.c (key_listener_cb): remove debug.
1248 * registryd/deviceeventcontroller.c
1249 (spi_controller_register_device_listener): after
1250 registering a global keygrab, actualy register it !
1251 don't wait for a timeout; doh !
1253 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
1254 to make it more readable / manipulable.
1255 s/grabmask/grab_mask/ s/refcount/ref_count/
1256 s/keyval/key_val/ s/modmask/mod_mask
1258 2002-01-08 Michael Meeks <michael@ximian.com>
1260 * registryd/deviceeventcontroller.c
1261 (spi_controller_register_with_devices): use gdk calls to
1263 (global_filter_fn): implement the filter.
1264 (spi_device_event_controller_check_key_event): rename to
1265 (spi_device_event_controller_forward_key_event): this & upd.
1266 (spi_get_display): replace with GDK_DISPLAY.
1268 * registryd/deviceeventcontroller.c
1269 (spi_controller_deregister_device_listener): unroll into
1270 (impl_deregister_keystroke_listener): here to simplify.
1271 (spi_controller_register_global_keygrabs): split cut and
1272 paste (!) out into (_register_keygrab): here, shorter & sweeter.
1273 (spi_controller_deregister_device_listener): remove.
1274 (impl_register_mouse_listener): remove, no mouse listener
1275 support in at-spi-1.0
1277 * registryd/registry.c
1278 (_device_event_controller_hook): kill.
1279 (spi_registry_init): upd.
1281 * registryd/deviceeventcontroller.c
1282 (spi_device_event_controller_class_init): upd.
1283 (spi_check_key_event): merge into.
1284 (spi_device_event_controller_check_key_event):
1285 here and kill strange static ev init, don't leak
1286 the x_event - nor dynamicaly allocate it.
1288 * registryd/registry-main.c (main): re-direct
1289 timeout to remove strange vtable mess.
1291 * registryd/deviceeventcontroller.c
1292 (remove_listener_cb): impl.
1293 (spi_controller_deregister_device_listener):
1294 fix re-enterancy hazard.
1296 2002-01-07 Michael Meeks <michael@ximian.com>
1298 * registryd/deviceeventcontroller.c
1299 (spi_device_event_controller_new): upd.
1300 (impl_notify_listeners_sync): upd. debug.
1301 (spi_notify_keylisteners): fix re-enterancy hazards,
1302 prettify, remove O(n*n) iteration.
1303 (spi_controller_grab_keyboard): fix iteration.
1304 (spi_check_key_event): re-format to suit coding style.
1305 Clean all the warnings - we're warning free.
1307 * registryd/deviceeventcontroller.h:
1308 * registryd/registry.h: make mutualy referential with
1309 typesafe forward references instead of (!) void pointer
1312 2002-01-11 Michael Meeks <michael@ximian.com>
1314 * cspi/spi_accessible.c (role_names): add a role name
1315 to sync this array with the enum; and make the regression
1318 2002-01-10 Michael Meeks <michael@ximian.com>
1320 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
1321 allow expansion of enumeration & kill warning.
1323 * test/test-simple.c (key_listener_cb): impl.
1324 (test_keylisteners): impl.
1326 * cspi/spi-listener.h: make listener signatures const
1327 on the provided (const) events.
1329 * test/keysynth-demo.c: upd. to const events.
1331 * test/simple-at.c: ditto.
1333 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1336 Rev the version to 0.5 (the previous tarball was named 0.4,
1337 even though the micro number was 3), so we need to rev upwards
1338 again for beta2/"desktop-alpha"
1341 Checked in a demo script, which requires editing before use!
1342 Proceed with caution.
1345 Fixed typo in header which was redefining SPI_ACTION_CLASS.
1347 * cspi/spi_accessible.c:
1348 Add a couple of missing enum initializations, and fix some enum
1351 * cspi/spi_registry.c:
1352 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
1354 * docs/reference/cspi/at-spi-cspi-sections.txt:
1355 Remove/fix a couple of broken document references.
1358 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
1359 as Alt-Control to listen for commands, since on some systems
1360 Control-Alt may already be grabbed.
1362 2002-01-10 Bill Haneman <bill.haneman@sun.com>
1365 Update version number to 0.4 for Beta2.
1367 * libspi/accessible.c, libspi/accessible.h:
1368 Expose spi_accessible_construct, to enable libgail-gnome
1369 construction from spi_accessible subtype.
1371 * utils/magnifier.c:
1372 Workaround for bug in some non-gnome-compliant window managers
1373 which made magnifier resize improperly.
1375 2002-01-09 Bill Haneman <bill.haneman@sun.com>
1377 * libspi/accessible.c: (spi_accessible_new) :
1378 Move the test for SPI_IS_REMOTE_OBJECT to
1379 spi_accessible_new_return, fixing a bug and compile time warning.
1381 2002-01-08 Michael Meeks <michael@ximian.com>
1383 * registryd/registry.c (parse_event_type): remove strndup.
1385 * libspi/Makefile.am (libspi_la_SOURCES): remove
1386 sources already included in the headers section.
1388 * libspi/util.c: add.
1390 * libspi/spi-private.h: add.
1392 * registryd/registry.c: update to moved list iterators.
1394 2002-01-05 Michael Meeks <michael@ximian.com>
1396 * test/simple-at.c (main): upd. auto-module set to atk-bridge
1398 * test/test-simple.c (main): ditto.
1400 2002-01-04 Michael Meeks <michael@ximian.com>
1402 * libspi/accessible.c (spi_accessible_new): remove 2nd,
1403 redundant construct.
1405 * registryd/registry.c
1406 (get_listener_list): impl.
1407 (impl_accessibility_registry_register_global_event_listener):
1408 re-impl. to simplify using ~, remove dodgy const cast off.
1409 (parse_event_type): constify.
1410 (impl_accessibility_registry_deregister_global_event_listener_all):
1411 re-write, more efficiency and simplicity, kill re-enterancy
1413 (compare_listener_corbaref, compare_corba_objects),
1414 (compare_listener_quarks): define out.
1415 (impl_accessibility_registry_deregister_global_event_listener):
1416 re-write for effiency, and nail re-enterancy hazard.
1417 (impl_accessibility_registry_get_desktop_list): impl.
1418 (re_enterant_list_delete_link): impl.
1419 (re_enterant_list_foreach): impl.
1420 (remove_listener_cb): impl.
1421 (_registry_notify_listeners): kill.
1422 (notify_listeners_cb): impl.
1424 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
1425 (SPI_getDesktopList): impl.
1427 * test/test-simple.c (test_desktop): test the methods.
1429 2002-01-03 Michael Meeks <michael@ximian.com>
1431 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
1432 keystrings since we free them
1433 (SPI_freeAccessibleKeySet): in here.
1435 * libspi/accessible.c (spi_accessible_new): kill warning,
1436 wonder what is going on with the constructor here.
1438 2002-03-01 Bill Haneman <bill.haneman@sun.com>
1440 * libspi/accessible.c (spi_accessible_new ()) :
1441 Added check to see if AtkObject is an SpiRemoteObject before
1442 creating an SpiAccessible.
1444 2002-05-01 Bill Haneman <bill.haneman@sun.com>
1446 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
1447 Enable keygrabs using the Control modifier, now that they are
1448 working properly (they were previously disabled).
1451 Change the command keygrab for this demo to "Control+Alt", so as
1452 to conflict with fewer other key commands on the system; this
1453 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
1455 Removed a pointlessly-chatty keylistener for unshifted keys
1456 (shifted keys are still reported).
1458 2002-02-01 Bill Haneman <bill.haneman@sun.com>
1460 * libspi/remoteobject.h:
1461 * libspi/remoteobject.c:
1462 Added definitions for special AtkObject subtype, required for
1463 support of remote components (specifically, used by BonoboControl
1464 accessibility implementation).
1466 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
1468 * cspi/spi.h: synched relation types with ATK
1470 * cspi/spi_accessible.c: Added implementations of
1471 AcccessibleRelation_* methods
1473 * idl/Accessibility_Relation.idl: added getRelationTypeName
1474 method. Synched known relation types with ATK. Allowed for
1475 relation type extension with the RELATION_EXTENDED type.
1477 * libspi/relation.c: Provided implementations for
1478 AccessibleRelation methods.
1480 2002-01-01 Bill Haneman <bill.haneman@sun.com>
1482 API tweaks for today's API 'freeze'.
1485 Added placeholder functions to allow future compatible expansion
1486 of the IDL interfaces.
1488 * idl/Accessibility_Registry.idl:
1489 Changed generateKeyEvent to generateKeyboardEvent. Changed
1490 signature of this method to accept an optional keystring in
1491 parameter (for complex text input synthesis) and changed use of
1492 simple 'boolean' parameter in registerKeystrokeListener to a
1493 struct, EventListenerMode.
1495 * cspi/spi_accessible.c:
1497 * cspi/spi_streamablecontent.c:
1498 Added references to AccessibleStreamableContent interface, and
1499 definition and implementation of AccessibleStreamableContent
1502 * cspi/spi_registry.c:
1504 Changed generateKeyEvent API to generateKeyboardEvent,
1505 taking a new (optional) keystring parameter to support complex
1510 Renamed directory (to better reflect its actual purpose, bridging
1511 from at-spi to ATK). The .so module is also now named
1514 * idl/Accessibility_Hypertext.idl:
1515 * libspi/accessible.c:
1516 * libspi/hypertext.h:
1517 * libspi/hypertext.c:
1518 Changed Accessibility_Hypertext to *not* derive from
1521 * cspi/spi_registry.c:
1522 Added list of legal event type names for 'window' events, which
1523 completes the registry event API.
1525 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
1527 * at-bridge/bridge.c: Added registration for separate
1528 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
1529 signals. If either of the first two parameters to the generic
1530 bridge signal handler are ints, they are passed on as event
1531 details. This allows an AT to determine what text was inserted.
1533 2001-12-21 Bill Haneman <bill.haneman@sun.com>
1535 * registryd/deviceeventcontroller.c:
1536 Fixed regressions in generateKeyEvent caused by the removal of
1537 gdk_init from registryd; we now use pure X calls to connect to the
1538 display, which makes sense because deviceeventcontroller already
1539 uses a fair bit of X API (should eventually be migrated to a
1540 'portability layer').
1542 * registryd/desktop.c:
1543 Fixed minor regression in spi_desktop_init, changed the way the
1544 desktop name is being set to work with new spi_base API
1545 (gobject-based, rather than AtkObject-based).
1547 * registryd/Makefile.am:
1548 Minor revision of makefile to use XTST_LIBS variable rather than
1549 hard-wiring the Xtst LD_ADD element.
1551 * test/keysynth-demo.c:
1552 Tweaked an output message; added initialization of the
1553 'keystrings' member of the "switch listener" key_set.
1555 * libspi/relation.c:
1556 Squashed compile-time warning.
1558 * libspi/accessible.c:
1559 Cosmetic and formatting fixes, renamed a static method.
1561 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
1563 * libspi/accessible.c
1565 * libspi/application.c
1568 * libspi/component.c
1569 * libspi/editabletext.c
1570 * libspi/hyperlink.c
1571 * libspi/hypertext.c
1573 * libspi/selection.c
1577 * registryd/desktop.c:
1578 Changed SpiBase to contain a GObject pointer rather than an AtkObject
1580 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1582 * idl/Accessibility_Registry.idl:
1583 Added boolean member 'is_text' to DeviceEvent. This is for the
1584 use of key events, and helps prevent ambiguity between composed
1585 key strings and keysym names, since both may potentially be
1586 returned in the 'event_string' member.
1588 * at-bridge/bridge.c:
1589 * registryd/deviceeventcontroller.c:
1590 Use the 'is_text' member when notifying device event listeners.
1591 Knon issue: composed characters are not dealt with correctly by
1592 the global key listener implementation yet.
1594 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1596 * at-bridge/bridge.c:
1597 Namespaced local static methods to spi_atk_bridge_* where
1598 previously named bridge_*, and spi_* elsewhere.
1600 * at-bridge/bridge.c:
1601 * cspi/bonobo/cspi-bonobo-listener.c:
1602 Added demarshalling/conversion for string member of
1603 Accessibility_DeviceEvent to AccessibleKeystroke.
1605 * registryd/deviceeventcontroller.c:
1606 Added code to fill the Accessibility_DeviceEvent key string value
1607 member for global key events (i.e. from XGrabKey), to match
1608 behavior of Accessibility_DeviceEvent from the toolkit key events
1609 from the bridge. Fixed timestamp in global key event notifications.
1612 Added printout of key event's string value to
1613 report_ordinary_key_event, for demo/debugging purposes.
1615 2001-12-15 Bill Haneman <bill.haneman@sun.com>
1617 * idl/Accessibility_Registry.idl:
1618 Removed Accessibility_KeyStroke structure in favor of generic
1619 Accessibility_DeviceEvent structure.
1620 Changed Accessibility_ControllerEventMask from a struct to an
1623 * at-bridge/bridge.c:
1624 Changed APIs to use DeviceEvent structure as above, and removed
1625 bogus casting between these event structures.
1627 * cspi/spi-listener.h:
1628 Added keystring member of AccessibleKeystroke structure, to enable
1629 matching on event "names" rather than only hardware codes and
1633 Added keystrings member of AccessibleKeySet struct, to allow
1634 matching on event names (as above).
1635 Added declarations for SPI_createAccessibleKeySet and
1636 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
1637 event modmasks directly as unsigned ints rather than structs with
1638 refcounts, in the DeviceEventController methods.
1640 * cspi/spi_registry.c:
1641 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
1643 * cspi/spi-roletypes.h:
1644 Added documentation of newly added SPI Roles.
1646 * cspi/bonobo/cspi-bonobo-listener.c:
1647 Changes in support of API changes above.
1649 * libspi/accessible.c:
1650 Converted APIs to use DeviceEvent structure (see IDL changes
1653 * registryd/deviceeventcontroller.c:
1654 Added DEControllerGrabMask structure to track keygrabs not only by
1655 modmask but by keyset as well; this allows us to do "global"
1656 (i.e. X) keygrabs on a per-key or keyset basis rather than always
1657 grabbing on AnyKey and then filtering after-the-fact.
1658 Bugfixes for event filtration mean that we don't get false matches
1659 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
1661 * registryd/deviceeventcontroller.c:
1662 Namespaced a number of static methods to use spi_ prefix. Major
1663 revision to internals of global (i.e. X) key grabs.
1665 * registryd/deviceeventcontroller.h:
1666 Removed keymask_list and added keygrabs_list to
1667 SpiDeviceEventController struct.
1670 Added use of SPI_createAccessibleKeySet API when creating a
1671 listener for only one key. Attach a listener to "shift spacebar
1672 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
1673 X key event names to SPI key event names, so that listeners are
1674 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
1676 * test/keysynth-demo.c:
1677 Changed (incorrect) use of X key event names (KeyPressed,
1678 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
1681 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1683 * libspi/accessible.c:
1684 Convert all AtkRole enumerations to Accessibility_Role enums when
1685 getting a role from an AtkObject.
1687 * cspi/spi_accessible.c:
1688 Complete the conversion of Accessibility_Role enums at runtime to
1689 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
1690 role enums correctly match those given in spi-roletypes.h.
1691 Re-synchronize the local names list for AccessibleRole_getName ().
1692 AccessibleRole_getName is now deprecated, since it duplicates the
1693 more reliable Accessible_getRoleName.
1694 Added some role types from Accessibility_Role.idl.
1696 * idl/Accessibility_Role.idl:
1697 Added some role types used by AtkRole.
1699 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1702 * cspi/spi_registry.c:
1704 * cspi/cspi-bonobo-listener.c:
1705 Namespaced all methods that did not begin with an "SPI_" or
1706 "Accessible" prefix to "SPI_".
1709 Homogenized internal function namespace to "cspi_" for statics.
1712 Patched tests to use the new CSPI API.
1714 * docs/reference/cspi/at-spi-cspi-sections.txt:
1715 Updated docs to reflect namespace changes, and added a number of
1716 methods to the documentation.
1718 * registryd/registry.c:
1719 Changed use of strings and string hashes in listener event
1720 matching and parse_event_string to use GQuark, which is guaranteed
1723 * registryd/registry.h:
1724 Squashed annoying warning.
1726 * idl/Accessibility_Role.idl:
1727 Extended range of available Accessibility_Role values.
1729 * cspi/spi_accessible.c:
1730 Re-ordered role names.
1732 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1734 * idl/Accessibility_Value.idl:
1735 Revert use of union back to CORBA_double, since the double type is
1736 more efficient and can contain the other types without loss of
1739 * idl/Accessibility_Accessible.idl:
1740 Added method Accessibility:Accessible:getRoleName, to complement
1741 Accessibility:Accessible:getRole.
1743 * cspi/spi_accessible.c:
1745 Added C binding for above, Accessible_getRoleName (), and changed
1746 signature of Accessible_getRole () to return an AccessibleRole.
1748 * cspi/spi-roletypes.h:
1749 Changed AccessibleRole_getName to return a char * instead of a
1750 const char *. This method is now at least temporarily deprecated
1751 in favor of asking Accessibles for their RoleNames directly.
1754 Revert to match Accessibility_Value.idl;
1758 Change signature of AccessibleValue methods to use double rather
1762 * cspi/spi_accessible.c:
1763 Changed Accessible_getRole to return an AccessibleRole enum rather
1764 than a UTF-8 string. The UTF-8 string can still be obtained via
1765 AccessibleRole_getName ().
1767 * test/test-simple.c:
1768 Add test_action. Small fixup to match API change to Accessible_getRole.
1771 Bugfix for get_action_from_servant ().
1773 2001-12-11 Michael Meeks <michael@ximian.com>
1775 * libspi/libspi.h: remove registry.h and
1776 desktop.h, deviceeventcontroller.h
1778 * libspi/Makefile.am: remove registry.[ch],
1779 desktop.[ch], deviceeventcontroller.[ch]
1781 * registryd/Makefile.am: add registry.[ch],
1782 desktop.[ch], rename registryd.c to registry-main.c.
1783 add deviceeventcontroller.[ch]
1785 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1788 Replace setenv() call with putenv ().
1790 * libspi/component.c:
1791 Bugfix in AccessibleComponent_getExtents (),
1794 2001-12-11 Michael Meeks <michael@ximian.com>
1796 * libspi/image.c (impl_getImageExtents): impl.
1797 (spi_image_class_init): upd.
1800 (AccessibleImage_getImageDescription): fix daft bug
1803 * test/test-simple.c (global_listener_cb): update
1804 to only quit if not --poke
1805 (main): catch --poke.
1806 (validate_accessible): upd. dumping, call test_image
1809 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1812 * idl/Accessibility.idl: update all IDL includes.
1814 * idl/*.idl - rename to namespace - this sucks, blame
1815 mjs' bad decision for oafd.
1817 * test/test-simple.c (create_test_window): add more tests.
1818 (create_tree): split this out.
1819 (validate_accessible): bugfix.
1821 2001-12-11 Michael Meeks <michael@ximian.com>
1823 * cspi/bonobo/cspi-bonobo-listener.c:
1824 (cspi_kestroke_listener_unref),
1825 (cspi_event_listener_unref): impl. undoing previous
1826 homenous environment - for Bill.
1828 * cspi/spi_table.c (long_seq_to_array): use
1831 * cspi/spi_main.c: split out all bonoboish bits into
1834 * cspi/spi-impl.h: upd. typedefs.
1836 * cspi/spi_registry.c: update to lowlevel API,
1837 return booleans to indicate success in some places.
1839 * cspi/spi_event.c: update to lowlevel API.
1841 * cspi/bonobo/Makefile.am: add.
1843 * cspi/bonobo/cspi-lowlevel.h: add
1845 * cspi/bonobo/cspi-bonobo.c: add
1847 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1849 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1850 (SUBDIRS): add bonobo, link in the libs.
1852 * cspi/spi-util.c: kill this file.
1854 * TODO: merge in my bits.
1856 2001-12-11 Michael Meeks <michael@ximian.com>
1858 * test/test-simple.c (test_value, test_table, main):
1859 remove unused variables causing warnings.
1861 * configure.in: cleanup checks - require gail.
1863 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1866 Changed Value interface to use SValue (scalars) rather than
1867 assuming all values are floats. This allows floats, doubles,
1868 longs, shorts, and unsigned values to be manipulated.
1869 Introduced Accessibility:SValue union.
1872 Updated to use new API above, and to work correctly with GValues
1873 of different types in AtkValue.
1876 Updated to use new API above. cspi's API is as yet unchanged.
1879 Updated the Value revision action item.
1881 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1883 * test/test-simple.c:
1884 Added test_table (GtkTreeView widget in test window to follow).
1885 Un-commented test_value, added GtkRange widget.
1886 Added GtkTreeView widget with GtkListStore. It passes regression
1887 test but leaks one SPI object for some reason.
1890 Fixed bug in impl__set_currentValue.
1892 2001-12-10 Michael Meeks <michael@ximian.com>
1894 * cspi/spi_text.c: audit for exception handling,
1895 tolerating NULL object references safely etc.
1897 * cspi/spi_value.c: ditto.
1899 * cspi/spi_table.c (AccessibleTable_getSummary),
1900 (AccessibleTable_getAccessibleAt),
1901 (AccessibleTable_getRowHeader),
1902 (AccessibleTable_getColumnHeader),
1903 (AccessibleTable_getCaption): fix bugs hidden by
1905 (long_seq_to_array): impl.
1906 (AccessibleTable_getSelectedRows),
1907 (AccessibleTable_getSelectedColumns): use it.
1909 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1912 Added a TODO list (rough and short for now).
1914 * cspi/spi_hyperlink.c:
1915 * cspi/spi_hypertext.c:
1916 Fixed macro name typos, and remove use of obsolete macro in
1917 AccessibleHyperlink_getLink.
1919 * cspi/spi_action.c:
1920 * cspi/spi_accessible.c:
1921 * cspi/spi_application.c:
1922 * cspi/spi_component.c:
1923 * cspi/spi_selection.c:
1926 Documentation fixes (removed return values from ref/unref methods).
1928 2001-12-10 Michael Meeks <michael@ximian.com>
1930 * cspi/spi_action.c: audit for exception handling,
1931 tolerating NULL object references safely etc.
1933 * cspi/spi_accessible.c: ditto.
1935 * cspi/spi_component.c: ditto.
1937 * cspi/spi_editabletext.c: ditto.
1939 * cspi/spi_hyperlink.c: ditto.
1941 * cspi/spi_hypertext.c: ditto.
1943 * cspi/spi_image.c: ditto.
1945 * cspi/spi_selection.c: ditto.
1947 2001-12-10 Michael Meeks <michael@ximian.com>
1949 * configure.in: use cspi/libspi.pc.in instead.
1951 * Makefile.am (pkgconfig_DATA): upd. to match.
1953 * test/simple-at.c (report_focus_event): kill hacks around
1954 bad return values, use putenv not setenv
1956 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
1957 fire ChildGone - I killed it.
1959 * libspi/component.c
1960 (impl_accessibility_component_get_extents): remove
1963 * idl/Accessible.idl: kill ChildGone exception.
1965 * cspi/*.[ch]: kill int return from ref / unref.
1967 * cspi/spi_main.c (cspi_object_add_check): fold into
1968 (cspi_object_add): here.
1970 * cspi/spi_component.c (AccessibleComponent_getExtents):
1971 handle exceptions elegantly.
1973 * cspi/spi-private.h (cspi_check_ev_return),
1974 (cspi_return_if_fail): impl.
1976 * cspi/spi_accessible.c: use extensively.
1977 (AccessibleStateSet_equals): add direct compare check.
1979 * cspi/spi_selection.c: tolerate NULL objs, and check
1980 exceptions before return.
1982 * cspi/spi-util.c (cspi_warn_ev): rename to
1983 (cspi_check_ev): this & don't pass ev in; no point.
1985 2001-12-10 Michael Meeks <michael@ximian.com>
1987 * test/test-simple.c: use putenv not setenv
1988 (get_environment_vars): more chatty if you're not using
1991 * test/simple-at.c: do the setenv so more people see the
1994 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1996 * libspi/registry.c:
1997 Changed check of CORBA_environment on notification to be a warning
1998 instead of an error for the moment, since we can recover from this
1999 error when caused by a queued notification from a dead app.
2002 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
2003 used by all current implementors of AtkValue), and coerce to
2004 CORBA_float. (Proper general case fix may require change to Value.idl).
2006 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2010 * cspi/spi_accessible.c:
2011 Documentation fixes: added user_data params to documentation for
2012 listeners and callbacks.
2014 * cspi/spi_accessible.c:
2015 Changed AccessibleStateSet_compare to return a
2016 StateSet rather than return the difference set into a third parameter.
2019 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2022 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
2023 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
2027 Remove subdirectory po from SUBDIRS for now.
2029 * at-bridge/bridge.c:
2030 Beefed up a couple of debug printouts.
2031 One-line fix for signal notification name formatting.
2033 * libspi/accessible.c:
2034 Added assertion to spi_accessible_new ().
2036 * libspi/application.c:
2037 Put #ifdef qualifiers around a printf.
2040 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
2042 * registryd/Makefile.am:
2044 Replaces use of XML_I18N_MERGE_SERVER_RULE with
2045 INTLTOOL_SERVER_RULE macro.
2048 Added an event listener for several ATK signals, for
2049 testing and debugging. Removed a few g_warnings.
2050 Added test output if focussed item implements the Value interface.
2052 * test/test-simple.c:
2053 Added test_value () function (known not to pass at the moment, so
2054 not actually called yet.
2056 2001-12-08 Michael Meeks <michael@ximian.com>
2058 * at-bridge/bridge.c (bridge_focus_tracker),
2059 (emit_eventv): fix the same ref. leak.
2060 (register_atk_event_listeners): don't leak.
2062 * cspi/spi-listener-impl.c (cspi_event): more
2063 protection from client code.
2065 * test/test-simple.c (test_desktop): unref the app.
2067 * test/Makefile.am: upd. TESTS.
2069 * at-bridge/bridge.c (bridge_exit_func): release the registry.
2071 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
2073 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
2075 * cspi/spi_registry.c: constify in strings.
2076 (deregisterGlobalEventListenerAll): don't release the ref.
2078 * cspi/spi.h: start removing redundant / conflicting
2079 gtkdoc comments, making the API readable at a glance :-)
2081 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
2083 * test/keysynth-demo.c (keysynth_exit, main): upd.
2085 * test/simple-at.c (main, simple_at_exit): upd.
2087 * test/test-simple.c (unutterable_horror): kill.
2088 (utterable_normal_derefs): kill.
2089 (main): upd & do a setenv before gtk_init, so that we
2090 can use memprof - and to save the pain of remembering
2091 this, if we're running under memprof - don't exit.
2093 * cspi/spi_main.c (SPI_exit): return exit status
2095 (SPI_event_quit): impl.
2096 (SPI_event_main): simplify.
2097 (cspi_is_gnome_app): kill.
2098 (SPI_init): kill isGNOMEapp arg.
2100 * at-bridge/bridge.c (register_atk_event_listeners):
2101 re-instate the unref.
2102 (bridge_exit_func): don't re-activate the registry,
2103 protect vs. theoretical re-entry, use the
2104 AT_BRIDGE_SHUTDOWN env. var to determine whether to
2105 assert a clean shutdown - for regression tests.
2107 2001-12-08 Abel Cheung <maddog@linux.org.hk>
2109 * configure.in: Comment out dummy i18n support for now,
2110 otherwise it fails to build.
2111 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
2112 EXTRA_DIST. They are missing in tarball.
2114 2001-12-07 Michael Meeks <michael@ximian.com>
2116 * util/magnifier.c: kill bonobo activation reg. race.
2118 * libspi/component.c
2119 (impl_accessibility_component_get_extents): make it match
2122 * libspi/registry.c (_registry_notify_listeners):
2123 re-remove X headers & reconcile conflicts.
2124 (spi_listener_struct_free): bad conflict resolve.
2125 (impl_accessibility_registry_register_application):
2126 more bad merging fixed.
2127 (impl_accessibility_registry_deregister_application): ditto.
2128 (spi_registry_new): ditto.
2129 (spi_registry_init): don't have an applications field.
2131 [ merge fixups2 branch to here ]
2132 2001-12-07 Michael Meeks <michael@ximian.com>
2134 * test/simple-at.c (report_focus_event),
2135 (report_focussed_accessible): remove g_warning debug.
2137 2001-12-07 Michael Meeks <michael@ximian.com>
2139 * test/test-simple.c (validate_tree): comment out some checks.
2140 (test_desktop): app now not registered idly - horay.
2142 2001-12-07 Michael Meeks <michael@ximian.com>
2144 * cspi/spi_registry.c
2145 (registerAccessibleKeystrokeListener): clean, stop it leaking
2146 great swathes of memory, and device event controller references.
2147 ensure we always pass valid sequences.
2148 (deregisterAccessibleKeystrokeListener): ditto.
2149 (generateKeyEvent): upd.
2151 * at-bridge/bridge.c (bridge_key_listener): handle
2152 registry dead exception gracefully.
2153 (bridge_focus_tracker, emit_eventv): free ev.
2155 * test/simple-at.c (report_focus_event): fix polarity.
2157 * libspi/application.c (notify_listeners): kill the ev
2158 argument, and make sure we init the ev we use.
2159 (spi_application_object_event_listener): split out a chunk
2160 (get_atk_object_ref): here & fixup.
2161 (reverse_lookup_name_for_toolkit_event): make const.
2162 (spi_application_toolkit_event_listener): fixup, kill leaks
2165 * at-bridge/bridge.c (register_atk_event_listeners):
2166 don't unref the noop object - causes grief.
2168 * libspi/registry.c: remove the X headers.
2169 turn off the debug churn.
2171 * libspi/accessible.c (spi_accessible_new_return): only
2172 release the ref if we are supposed to [doh]
2174 * test/simple-at.c (report_button_press, report_focus_event):
2175 guard vs. unexpected exit.
2177 * at-bridge/bridge.c (gtk_module_init): prune printf.
2178 (bridge_exit_func): fix app unref.
2180 * libspi/Makefile.am: don't install registry or desktop.h
2182 * libspi/*.h: update includes.
2184 * libspi/application.h: don't include ourself, or
2185 other redundant headers.
2187 2001-12-06 Michael Meeks <michael@ximian.com>
2189 * libspi/accessible.c
2190 (get_accessible_from_servant): impl.
2191 Upd. all CORBA impl.s to use it killing cut and paste.
2193 * cspi/spi_main.c (cspi_cleanup): guard vs. double
2195 (SPI_init): register atexit cleanup handler here.
2197 2001-12-06 Michael Meeks <michael@ximian.com>
2199 * at-bridge/bridge.c (gtk_module_init): g_error on
2200 activation exception
2202 2001-12-06 Michael Meeks <michael@ximian.com>
2204 * at-bridge/bridge.c (gtk_module_init): some sort of
2205 confusing merge clash - reverted.
2206 (bridge_idle_init): ditto.
2208 * test/test-simple.c (main, utterable_normal_derefs):
2209 merge from Bill - somehow not committed.
2211 2001-12-06 Michael Meeks <michael@ximian.com>
2213 * libspi/value.c (spi_value_class_init): upd.
2214 (spi_value_finalize): kill.
2216 * libspi/table.c (spi_table_finalize): kill.
2217 (spi_table_interface_new): upd.
2218 (spi_table_class_init): upd.
2219 (get_table_from_servant): impl.
2220 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2222 * libspi/selection.c (spi_selection_finalize): kill.
2223 (spi_selection_interface_new): upd.
2224 (spi_selection_class_init): upd.
2225 (get_selection_from_servant): impl.
2226 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2228 * libspi/relation.c (spi_relation_finalize): kill.
2229 (spi_relation_class_init, spi_relation_new): upd
2231 * libspi/image.c (spi_image_finalize): kill.
2232 (spi_image_class_init): upd.
2233 (spi_image_interface_new): upd.
2234 (get_image_from_servant): impl.
2235 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2237 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
2238 (spi_hyperlink_finalize): kill.
2239 (spi_hyperlink_new): upd.
2240 (get_hyperlink_from_servant): impl.
2241 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2243 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
2244 (spi_hypertext_finalize): kill.
2245 (spi_hypertext_class_init): upd.
2246 (get_hypertext_from_servant): impl.
2247 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2249 * libspi/editabletext.c (spi_editable_text_finalize): kill.
2250 (spi_editable_text_interface_new): upd.
2251 (get_editable_text_from_servant): impl.
2252 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2254 * libspi/text.c (get_text_from_servant): impl.
2255 All impls - update to use it killing more cut and paste,
2256 also fix bad string returns on duff args ( a somewhat
2257 impossible case to handle - but hey ).
2258 (spi_text_construct): impl.
2259 (spi_text_interface_new): upd.
2260 (spi_text_object_finalize): kill.
2262 * libspi/component.c
2263 (accessibility_component_object_finalize): kill.
2264 (spi_component_class_init): upd.
2265 (get_component_from_servant): impl. helper to kill cut & paste.
2266 (impl_accessibility_component_contains):
2267 (impl_accessibility_component_get_accessible_at_point):
2268 (impl_accessibility_component_get_position):
2269 (impl_accessibility_component_get_extents):
2270 (impl_accessibility_component_get_mdi_z_order):
2271 (impl_accessibility_component_get_layer):
2272 (spi_component_interface_new): upd.
2274 * libspi/action.c (spi_action_finalize): kill.
2275 (spi_action_class_init): upd. inherit from SpiObject.
2276 (spi_action_interface_new): upd.
2277 (get_action_from_servant): impl. helper to reduce cut & paste.
2278 (impl_getKeyBinding, impl_getName, impl_doAction),
2279 (impl_getDescription): Use it everywhere.
2281 * cspi/spi_main.c (get_live_refs): a pointer hash.
2282 (spi_object_hash, spi_object_equal): comment out.
2283 There are issues with CORBA object hashing that need
2286 * libspi/application.c (spi_application_init),
2287 (spi_application_new): upd.
2289 * libspi/accessible.c (spi_accessible_object_finalize): kill.
2290 (spi_accessible_class_init): upd.
2291 s/accessible/object/ in epv methods.
2293 2001-12-05 Bill Haneman <bill.haneman@sun.com>
2295 * at-bridge/bridge.c:
2296 Reorder the bridge initialization into the bridge gtk_module_init,
2297 an immediate call to bridge_register_app, and an idle_add for
2298 register_atk_event_listeners (the only code that *must* wait until
2299 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
2300 the activation, creates the application's Accessible object, and
2301 queues the bridge_idle_init function. Restored call to
2302 Accessibility_Registry_deregisterApplication().
2303 Prior to making this call we obtain a new reference to the
2304 registry, which is a temporary hack that helps us handle apps that
2305 shut down the bonobo mainloop before we get there.
2307 * libspi/registry.c:
2308 Fix string leakage in debug block, and don't segv if a an app
2309 dies before its event notifications have been propagated.
2312 Modify cspi_check_ev() to call g_warning() rather than g_error(),
2313 as stopgap measure until we get proper exception handling when
2314 objects die during or before interrogation.
2318 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
2319 Also changed default value of is_gnome_app to TRUE.
2322 * test/keysynth-demo.c:
2323 Changed use of SPI_init and SPI_event_main to reflect API change above.
2326 Made report_focus_event check the warning value from getName
2327 before reporting on focussed accessible; simplifies handling of
2328 notifications from dead objects.
2330 * test/test-simple.c: (Changes not in this patch since source is
2333 2001-12-05 Michael Meeks <michael@ximian.com>
2335 * registryd/registryd.c (main): protect against
2336 bonobo-activation startup race condition.
2338 * cspi/spi_main.c (cspi_object_add_check): cope
2339 with the exception elegantly.
2341 * idl/Accessible.idl: decl. ChildGone
2343 * libspi/desktop.c (spi_desktop_dispose): impl.
2344 (spi_desktop_class_init): upd.
2345 (spi_desktop_add_application),
2346 (spi_desktop_remove_application),
2347 (abnormal_application_termination): impl.
2348 (impl_desktop_get_child_at_index): re-impl.
2351 (impl_accessibility_registry_deregister_application),
2352 (impl_accessibility_registry_register_application):
2353 kill excessive debug clutter.
2355 * test/test-simple.c (test_misc): test some NULL
2356 tolerance. (main): upd.
2358 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
2359 implements no interfaces - so let's not crash.
2361 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
2363 * libspi/accessible.c (spi_accessible_new_return): impl.
2364 helper to calm the cut and paste, to cope with
2365 NULL AtkObjects effectively and efficiently, and to kill
2366 the referencing bugs.
2368 * libspi/table.c (impl_getAccessibleAt),
2369 (impl_getRowHeader, impl_getColumnHeader): upd.
2371 * libspi/hyperlink.c (impl_getObject): upd.
2373 * libspi/accessible.c
2374 (impl_accessibility_accessible_get_child_at_index): upd.
2376 * libspi/component.c
2377 (impl_accessibility_component_get_accessible_at_point): upd.
2379 * test/test-simple.c (test_editable_text, test_text): impl.
2382 * cspi/spi_editabletext.c
2383 (AccessibleEditableText_insertText): constify.
2385 * test/test-simple.c (focus_me): make more robust.
2387 * libspi/accessible.c: remove some printfs in methods that
2388 we test and work fine, so we can get a clean tree dump.
2390 * test/test-simple.c (validate_accessible),
2391 (validate_tree): make tree dumping pretty too.
2393 * at-bridge/bridge.c (bridge_signal_listener): upd. so
2394 it builds without debug on.
2396 * test/test-simple.c (validate_accessible): fix the most
2399 * cspi/spi_main.c (spi_object_release): leave the nicely
2400 blanked memory around if in debug mode.
2402 * cspi/spi-listener-impl.c (cspi_event): use add_check.
2404 [committed to fixups2]
2405 2001-12-05 Michael Meeks <michael@ximian.com>
2407 * libspi/editabletext.c
2408 (spi_editable_text_class_init): g_type_class_peek_parent,
2409 not interface peek - so we finalize cleanly.
2411 * libspi/accessible.c (spi_accessible_new): kill debug.
2413 * test/test-simple.c (validate_accessible): fix ref.
2414 leak, print strings before freeing them; sigh, comment a
2415 chunk out due to strangeness.
2416 (validate_tree): unref the child after use.
2418 * cspi/spi_component.c (AccessibleComponent_getLayer):
2419 add missing break statement, switch on zlayer not the
2420 uninitialized retval.
2422 * cspi/spi_main.c (cspi_object_add): add assert, local ref
2423 before (possibly re-entering) remote unref.
2425 * test/simple-at.c (main): unref the desktop.
2427 * cspi/spi_accessible.c (cspi_accessible_is_a): move
2430 * cspi/spi_main.c (cspi_accessible_is_a): here to
2431 isolate bonobo API usage more.
2433 * libspi/registry.c (impl_accessibility_registry_register_application):
2434 prune bogus comment.
2436 2001-12-04 Michael Meeks <michael@ximian.com>
2438 * test/test-simple.c (validate_tree): upd.
2439 IndexInParent check to make it more lucid.
2440 (validate_accessible): dump the tree.
2442 * libspi/accessible.c (de_register_public_ref),
2443 (get_public_refs): impl.
2444 (spi_accessible_new): make more efficient & intuitive.
2445 Now IndexInParent check works.
2447 2001-12-04 Michael Meeks <michael@ximian.com>
2449 * cspi/spi-util.h: remove.
2451 * cspi/spi.h: move SPI_freeString here
2453 * libspi/component.c (impl_accessibility_component_get_layer):
2455 (impl_accessibility_component_get_mdi_z_order): ditto,
2456 return -1 on error - is this ok ?
2458 * test/test-simple.c (test_application): impl.
2460 * cspi/spi_accessible.c (Accessible_getApplication),
2461 (Accessible_isApplication): impl.
2463 * libspi/registry.c (spi_listener_struct_free): release
2464 the CORBA reference too.
2466 * libspi/accessible.c
2467 (impl_accessibility_accessible_get_parent): fix ref leak.
2469 * libspi/registry.c (spi_registry_new): make the registry
2470 immortal - we don't want it to go away ever.
2472 * libspi/application.c
2473 (spi_accessible_application_finalize): impl. cleanup.
2475 * cspi/spi_registry.c
2476 (deregisterGlobalEventListenerAll),
2477 (deregisterGlobalEventListener),
2478 (deregisterAccessibleKeystrokeListener): fix ref leak.
2480 * cspi/spi_main.c (SPI_init): remove redundant ref.
2482 * test/test-simple.c (unutterable_horror): impl. to force a
2487 (impl_accessibility_registry_deregister_application): release
2488 the application when we de-register it.
2490 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
2491 until we have the infastructure to get it right.
2493 2001-12-03 Michael Meeks <michael@ximian.com>
2495 * libspi/Makefile.am: only build eventlistener.[ch]
2497 * libspi/accessible.c
2498 (impl_accessibility_accessible_get_child_at_index): don't leak.
2500 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
2501 before we hit the idle handler.
2503 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
2504 debugging than exit.
2506 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
2508 * libspi/listener.c (impl_notify_event): check source
2509 not NIL before unref.
2511 * libspi/registry.c (impl_registry_notify_event): ditto.
2513 * libspi/eventlistener.c
2514 (impl_accessible_event_notify_event): unref the source.
2516 * libspi/accessibleeventlistener.c
2517 (impl_accessible_event_notify_event): unref the source.
2519 * idl/Event.idl: remove 'hash_id' attribute - of no
2522 * libspi/application.c (notify_listeners): upd list
2524 (spi_application_object_event_listener),
2525 (spi_application_toolkit_event_listener): upd to do correct
2529 (_registry_notify_listeners): update.
2530 (parse_event_type): this method also leaks like a sieve.
2531 (impl_accessibility_registry_deregister_global_event_listener):
2532 fix ETYPE_WINDOW case.
2534 * libspi/application.c
2535 (impl_accessibility_application_register_object_event_listener):
2538 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
2540 * libspi/hypertext.c (impl_getLink): ditto.
2542 * cspi/spi_main.c (cspi_object_add): remove
2543 bogus CORBA_Object_duplicate.
2545 * cspi/spi-listener-impl.c (cspi_event): dup/ref
2548 * cspi/spi_accessible.c
2549 (Accessible_getRelationSet): fix leak / referencing issue.
2551 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
2552 (cspi_object_add, cspi_object_unref): upd.
2553 (spi_object_release, get_live_refs): impl.
2554 (cspi_cleanup): simplify.
2556 * *.[ch]: s/boolean/SpiBoolean/
2558 * cspi/spi_accessible.c (role_names): actualy order so it
2559 corresponds with the enum !
2561 * test/test-simple.c (test_roles): check some role strings
2562 vs. enums to detect offset errors.
2564 2001-12-01 Michael Meeks <michael@ximian.com>
2566 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
2568 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
2570 (Accessible_getChildAtIndex): use cspi_add_check so we
2571 check the ev before using a (possibly) invalid value.
2573 * libspi/accessible.c
2574 (impl_accessibility_accessible_get_parent): don't segv
2577 * at-bridge/bridge.c (gtk_module_init): upd.
2578 (bridge_property_event_listener): don't leak strings
2580 (bridge_state_event_listener),
2581 (bridge_property_event_listener): don't use a static
2582 buffer in case of recursive event emission &
2583 re-enterancy - split out the swathe of cut and paste
2585 (emit_eventv): and fix 2 ref leaks here & comply to the
2587 (bridge_register_app): rename to
2588 (bridge_idle_init): this and kill arg parsing, split
2589 various inits & bonobo-activation registration to module
2590 init time, kill referencing error.
2591 (bridge_exit_func): fix the same leak.
2592 (bridge_focus_tracker): don't leak event structures
2594 (bridge_signal_listener): more leakage and cut & paste
2596 (bridge_key_listener): return the result - FIXME is
2597 this polarity correct ?
2598 (accessibility_keystroke_from_atk_key_event): rename
2599 (accessibility_init_keystroke_from_atk_key_event): and stop
2601 (gtk_module_init): return a value - not that it is checked by
2603 (bridge_key_listener): register my horror at casting between
2604 IDL defined structs.
2605 (bridge_get_registry): kill - not used.
2607 * cspi/spi_accessible.c (Accessible_getRole): make return const.
2609 * test/test-simple.c (test_roles): impl.
2610 (test_desktop, validate_accessible, validate_tree): impl.
2612 * cspi/spi_accessible.c (role_names): fixup bogus
2613 MAX_ROLES setup, make constants const for efficient linkage
2614 (AccessibleRole_getName): conform to coding style, make
2617 2001-11-30 Michael Meeks <michael@ximian.com>
2619 * cspi/spi.h: add missing prototype.
2621 * libspi/registry.c (spi_listener_struct_new): fix sig.
2623 * test/Makefile.am: add test-simple
2625 * test/test-simple.c: add
2627 * test/test.sh: add.
2629 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
2631 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
2632 do it straight - since otherwise we often get an activation race.
2634 [ work before Bill duplicated a chunk of it ... ]
2635 2001-11-30 Michael Meeks <michael@ximian.com>
2637 * libspi/keystrokelistener.c
2638 (spi_keystroke_listener_class_init): fixup arg
2641 * libspi/eventlistener.c
2642 (spi_event_listener_class_init): ditto.
2644 * tests/test.sh: add.
2646 * cspi/spi-listener-impl.h: update macros.
2648 * cspi/spi-listener-impl.c
2649 (cspi_event_listener_remove_callback): add
2650 correct pre-conditions.
2652 * cspi/spi_main.c (SPI_exit): guard vs. double
2653 exits, exit the mainloop nicely.
2654 (SPI_event_main): make more sense.
2655 (SPI_init): move the atexit evilness here so we
2656 always do it (yuck).
2657 (SPI_event_main): upd.
2659 * test/simple-at.c: update for listener changes.
2661 * registryd/registryd.c (main): prune kruft.
2663 * libspi/libspi.h: upd.
2665 * libspi/eventlistener.[ch]: rename broken macros.
2667 * libspi/accessibleeventlistener.[ch]: remove.
2669 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
2671 * test/test-simple.c: Add - automated tests.
2673 * cspi/spi-listener-impl.c (cspi_event),
2674 (cspi_key_event): add user_data to invoke.
2675 (cspi_keystroke_listener_finalize): impl.
2676 (cspi_keystroke_listener_class_init): upd.
2679 (createAccessibleEventListener),
2680 (AccessibleEventListener_addCallback),
2681 (createAccessibleKeystrokeListener),
2682 (AccessibleKeystrokeListener_addCallback): upd.
2684 * libspi/deviceeventcontroller.c
2685 (spi_device_event_controller_check_key_event): add public proto.
2688 (impl_accessibility_registry_deregister_global_event_listener):
2689 always init listeners.
2690 (_registry_notify_listeners): yes it is.
2692 * cspi/spi-listener-impl.c (cspi_key_event):
2694 (cspi_event_listener_finalize): impl.
2695 (cspi_event_listener_class_init): hook up.
2696 (event_handler_new, event_handler_free),
2697 (event_list_remove_by_callback): impl.
2698 (cspi_event_listener_remove_callback),
2699 (cspi_keystroke_listener_remove_callback),
2700 (cspi_keystroke_listener_add_callback),
2701 (cspi_event_listener_add_callback): upd.
2703 * libspi/keystrokelistener.c
2704 (keystroke_listener_object_finalize): kill
2705 (spi_keystroke_listener_class_init): upd.
2706 (spi_keystroke_listener_add_callback),
2707 (spi_keystroke_listener_remove_callback): kill,
2709 (impl_key_event): prune drasticaly.
2711 * libspi/eventlistener.c
2712 (spi_event_listener_add_callback),
2713 (spi_event_listener_remove_callback): kill, use
2715 (impl_accessible_event_notify_event): upd.
2716 (spi_event_listener_object_finalize): remove.
2718 * libspi/Makefile.am: use eventlistener.[ch]
2720 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2722 * libspi/registry.c (_registry_notify_listeners):
2723 Changed listener loop iteration to use preferred convention.
2724 Got rid of string memory leaks caused be calling g_strconcat
2725 inside function calls.
2727 * libspi/registry.c (parse_event_type):
2728 Stopped g_strconcat memory leaks, free the g_strsplit return,
2729 g_strdup the split pieces when used, etc.
2731 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2734 Change method 'compare' to return a 'difference set' rather than
2735 taking a StateSet as an out parameter (more Java-friendly).
2737 * idl/Accessible.idl:
2738 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2740 * idl/Component.idl:
2742 Changed methods 'getExtents' and 'getImageExtents' in these
2743 interfaces to return a BoundingBox structure.
2744 (getPosition and getSize are redundant and possibly should be
2745 removed, rather than creating a corresponding Point struct.)
2747 * cspi/spi_component.c:
2748 Modify implementation of getExtents to reflect the above IDL
2753 Add (missing) AccessibleImage_getExtents () API.
2755 * docs/reference/cspi/at-spi-cspi-sections.txt:
2756 Added AccessibleImage_getImageExtents () to docs.
2758 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2760 * idl/Component.idl:
2761 Added two methods, getLayer () and getMDIZOrder (), to reflect
2762 the new ATK methods atk_object_get_layer and
2763 atk_object_get_mdi_z_order. (Which arguably should be part of the
2764 AtkComponent API and AtkObject). Also added an enum,
2765 ComponentLayer, for the first method's return value.
2767 * libspi/component.c:
2768 Added implementations for these methods.
2770 * cspi/spi_component.c:
2772 Added cspi binding methods for above,
2773 AccessibleComponent_getLayer() and
2774 AccessibleComponent_getMDIZOrder().
2775 Added cspi enum 'AccessibleComponentLayer'.
2777 * docs/reference/cspi/at-spi-cspi-sections.txt:
2778 Added above methods to docs.
2782 Changed typedef for 'boolean' type (and all references to it) to
2783 SPIBoolean, to avoid keyword clashes with C++.
2786 Changed usages of 'boolean' to SPIBoolean.
2788 * test/keysynth-demo.c:
2789 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2790 app), except where SPIBoolean is required by the callbacks API.
2792 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2794 * cspi/spi_registry.c:
2795 Removed obsolete X event loop for passive keygrabs (which now
2798 * registryd/registryd.c:
2799 Removed unnecessary call to gdk_init() [cruft]. This also allows
2800 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2803 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2805 * docs/reference/cspi:
2806 Included docs for SPI_freeString in generated documentation.
2809 Renamed spi_freeString to SPI_freeString, for consistency. Added
2810 documentation for this function.
2813 Renamed spi_freeString to SPI_freeString, for consistency.
2814 Removed obsolete method declaration string_from_corba_string.
2816 * test/keysynth-demo.c:
2817 Small tweak to comments.
2820 Stopped leaking the strings returned from CSPI.
2822 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2824 Merged Michael's branch (see his ChangeLog entries below).
2826 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2827 bridge is alive, release on exit.
2829 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2830 Fix type check macro.
2833 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2836 Added is_gnome_app static, and method cspi_is_gnome_app(),
2837 so we can call the appropriate shutdown routine at exit in SPI_exit.
2839 * cspi/spi_main.c (cspi_object_ref):
2840 Duplicate the corba object passed in, since we're keeping it around.
2842 * cspi/SPI_exit.c, cspi_cleanup:
2843 Moved the releasing of the live refs to its own function, so we
2844 can put it in g_atexit (). Call the appropriate shutdown API
2845 depending on whethe calling client is a gnome app or not
2846 (bonobo_main_quit or CORBA_ORB_shutdown).
2848 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2849 Unref the listener when this method is called, after
2850 deregistration. Updated the API docs to note this behavior.
2852 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2853 Bugfixes: Ref the bonobo object when returning a parent or child
2854 reference, or an AccessibleRelation. Generally made sure
2855 BonoboObject refcount is incremented whenever we return an
2858 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2859 Fixed typo/bug in signal declaration.
2861 * libspi/accessibleeventlistener.h:
2864 * libspi/application.c (spi_application_new):
2865 Fixed leak in initialization.
2868 Remembered to increment bonobo-object refcount when returning
2869 children (applications) from desktop object.
2870 Added (empty) finalize method.
2872 * libspi/deviceeventcontroller.c:
2873 Hold a ref to listeners inside DEControllerKeyListeners.
2874 Added dec_key_listener_free() method. Use prepend instead of
2875 append in key_listener list. Fixed some refcount madness and
2876 leaks in the listener registration/deregistration - deregistration
2877 now calls dec_key_listener_free() on listeners, and on the
2878 temporarily constructed dec_key_listener() used to perform the search/match.
2880 * libspi/hypertext.c (spi_hypertest_finalize):
2881 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2882 class. Also fixed spi_hypertext_interface_new() and
2883 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2885 * libspi/hypertext.h:
2886 Removed pointless and duplicate AtkObject pointer from
2889 * libspi/keystrokelistener.c:
2890 Fixed incorrect type of keystroke_listener_parent_class,
2891 renamed keystroke_listener_object_finalize to
2892 spi_keystroke_listener_object_finalize.
2893 Fixed typo in signal declaration
2894 (spi_keystroke_listener_class_init).
2896 * libspi/registry.c:
2897 Added funcsions spi_listener_struct_new() and
2898 spi_listener_struct_free() to help with memory management issues.
2899 We also now use these methods instead of gnew + poking stuff into
2900 the struct, and to decrement listener counts/free the listeners
2901 when deregistering them.
2902 Fix more refcount bugs in getDesktop() and
2903 getDeviceEventController().
2906 De-ref the desktop after enumerating the applications. Explicitly
2907 decrement the refcounts on the created listeners on exit (using
2908 _unref for keystroke listeners, and via the
2909 deregisterGlobalEventListenerAll command for other event
2912 2001-11-27 Michael Meeks <michael@ximian.com>
2914 * cspi/spi-listener.h: fixup enum.
2916 2001-11-27 Michael Meeks <michael@ximian.com>
2918 * cspi/spi-listener-impl.c (cspi_event_listener_new),
2919 (cspi_keystroke_listener_new): Use the cspi variants.
2921 2001-11-26 Michael Meeks <michael@ximian.com>
2923 * test/keysynth-demo.c: fix 2 compile warnings, missing
2926 * test/simple-at.c (report_focussed_accessible),
2927 (report_focus_event, report_button_press),
2928 (check_property_change, is_command_key),
2929 (report_ordinary_key_event, report_command_key_event): upd.
2931 * util/mag_client.h: include pre-requisites.
2933 * libspi/accessibleeventlistener.c
2934 (spi_event_listener_object_finalize): free any lingering
2937 * libspi/keystrokelistener.c
2938 (keystroke_listener_object_finalize): ditto.
2940 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
2941 callbacks, with cspi types.
2943 * cspi/spi_event.c (createAccessibleEventListener): chain to
2944 (AccessibleEventListener_addCallback): here.
2945 (createAccessibleKeystrokeListener): chain to
2946 (AccessibleKeystrokeListener_addCallback): here.
2948 * libspi/keystrokelistener.c
2949 (spi_keystroke_listener_class_init): add signal.
2950 (impl_key_event): emit the event.
2951 (boolean_handled_accumulator): impl.
2952 (marshal_BOOLEAN__POINTER): add, gack.
2954 * libspi/accessibleeventlistener.c
2955 (spi_event_listener_class_init): add signal.
2956 (impl_accessible_event_notify_event): emit the signal &
2957 make the loop efficient.
2958 (spi_event_listener_add_callback): prepend the callback.
2960 * libspi/accessibleeventlistener.h: add an 'event' signal,
2961 decl type on callback.
2963 * libspi/keystrokelistener.h: ditto.
2965 * cspi/spi-listener.h: make methods typesafe and
2966 make them use the new event typedefs.
2968 * test/simple-at.c (report_focussed_accessible):
2969 include mag_client.h
2970 Use *(void *)text_interface not the other thing.
2972 * configure.in: add gtk to registryd bits - since we use
2975 * util/magnifier.c: include libbonobo.h
2977 2001-11-25 Bill Haneman <bill.haneman@sun.com>
2979 * test/keysynth-demo.c:
2980 Turned this into a simple scanning keyboard, to demonstrate the
2981 use of g_timeout_add () as a means of creating timers for
2982 scanning, and the use of GtkStyle for visually indicating when
2983 virtual keyboard elements are selected.
2985 keysynth-demo now listens to any keyboard keys with zero-valued
2986 keycodes (i.e. 'unused' keys) and interprets them as
2989 Reworked the shiftlatch code so that shift-down state isn't held
2990 for long periods (it's only synthesized immediately prior to
2991 the keysynth event it's modifying). Note that shiftlatch in this
2992 demo is a convenience, not intended to take the place of AccessX
2993 which is the better choice for getting 'sticky' modifier keys.
2995 * libspi/deviceeventcontroller.c:
2996 * at-bridge/bridge.c:
2997 * cspi/spi_registry.c:
2998 Removed some debug print stuff, and put other verbosity in #ifdef
3003 Implemented some more of the magnifier IDL for the simple
3004 magnifier: namely, getZoomRegionParams.
3005 Added mag_x and mag_y members to MagnifierData struct, aid of this
3007 Added GtkWindow::realize signal handler to magnifier, to keep it
3008 from receiving keyboard focus from the WM.
3010 2001-11-23 Mark McLoughlin <mark@skynet.ie>
3012 * cspi/spi-private.h: my guess at what michael forgot
3013 before he ran off to NZ :-)
3015 2001-11-23 Michael Meeks <michael@ximian.com>
3017 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
3018 comment out non existant method invoke so we link.
3020 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
3021 use bonobo_exception_get_text for more friendly warnings.
3023 * cspi/spi.c (Obj_Add): move into spi_main & rename
3024 spi_object_add; kill spi.c
3026 * cspi/spi_registry.c
3027 (deregisterGlobalEventListener),
3028 (deregisterGlobalEventListenerAll),
3029 (registerGlobalEventListener): fix exception leaks.
3031 * cspi/spi_main.c (spi_exception): impl. helper, so we
3032 don't leak exceptions.
3034 * cspi/spi_selection.c
3035 (AccessibleSelection_deselectSelectedChild): return the
3038 * cspi/spi_main.c (spi_ev): impl; hack - gack.
3039 (spi_registry): ditto.
3040 (SPI_init): guard against double inits.
3042 * cspi/*.c: use spi_ev (), and spi_registry () where
3043 appropriate - a temporary hack until we have something
3044 better. Use spi_object_add
3046 2001-11-22 Michael Meeks <michael@ximian.com>
3048 * cspi/Makefile.am: re organise, install the headers.
3050 * cspi/*.h: add G_BEGIN/END_DECLS
3052 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3055 Added non-preemptive keylistener for key events with no modifiers
3056 and shift-only modifier.
3058 * libspi/keystrokelistener.c:
3059 Removed some verbose diagnostics printout.
3061 * cspi/spi_registry.c:
3062 Fixed a bug that caused all key listeners to be registered as
3065 * libspi/deviceeventcontroller.c:
3066 Fixed bug that caused XGrabKey (preemptive key grab) to be called
3067 for non-preemptive key masks.
3070 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3072 * docs/reference/idl/at-spi-idl-docs.sgml:
3073 * docs/reference/idl/at-spi-idl-sections.txt:
3074 * docs/reference/idl/at-spi-idl-overrides.txt:
3075 Added missing files.
3077 * docs/reference/Makefile.am:
3078 removed idl from SUBDIRS until we can figure a way to get gtk-doc
3079 to scan the IDL files :-(
3084 Added .cvsignore files.
3086 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3088 * libspi/deviceeventcontroller.c:
3089 * libspi/keystrokelistener.c:
3091 * cspi/spi_registry.c:
3092 Added filters for KeySets, KeyEventSeq, and event types to key
3093 event dispatching, so listeners should only receive those events
3094 that they requested :-)
3096 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3101 * docs/reference:Makefile.am:
3102 * docs/reference/cspi:
3103 * docs/reference/cspi:Makefile.am:
3104 * docs/reference/cspi:tmpl:
3105 * docs/reference/cspi:tmpl:*.sgml:
3106 * docs/reference/idl:
3107 * docs/reference/idl:Makefile.am:
3108 * docs/reference/idl:at-spi-idl-sections.txt:
3109 * docs/reference/idl:at-spi-idl-docs.sgml:
3110 * docs/reference/idl:tmpl:
3111 * docs/reference/idl:tmpl:*.sgml:
3113 Restructured docs directory to allow separate 'reference' docs
3114 section, and forked idl and cspi docs. Added the sgml template
3115 files to CVS. Added the first sections/structural sgml for the
3118 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
3120 * configure.in, libspi/Makefile.am: find libXtst.
3122 2001-11-21 Michael Meeks <michael@ximian.com>
3124 * test/accessx-gui.c: s/spi_value/value/ - doh.
3126 * libspi/base.[ch]: add.
3128 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3130 * idl/Accessible.idl:
3131 * idl/Application.idl:
3134 Started gtk-doc cleanup on IDL.
3136 * libspi/deviceeventcontroller.c:
3137 Added and connected non-preemptive key notification from the
3138 toolkits (in addition to the pre-emptive support from XServer
3139 which we had before, but which causes 'focus flashing'). Filters
3140 are presently limited to key modifiers and global/non-global,
3141 KeySets are presently ignored, as are KeyEvent masks.
3143 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
3144 structs into the persistant structure rather than just storing
3145 pointers to things that might not persist across servant
3148 The XGrabKey call now does async keygrabs, because synchronous
3149 ones were deadlocking with GDK_event code in a very nasty way.
3151 Added boolean to internal method notify_keylisteners, to indicate
3152 whether the event came from the 'toolkit source' or the 'global
3153 (XServer) source' - this is used in the notification process to
3154 determine which listeners to send the event to.
3156 deviceeventcontroller.c is now warning-free.
3158 * libspi/registry.c:
3159 Fixed regression in application de-registration.
3160 Also fixed some really brain-dead weirdness having to do with
3161 event dispatching - event structs are now duplicated before being
3162 re-marshalled in the dispatch to listeners. This also fixes a
3163 Solaris build problem.
3166 2001-11-20 Michael Meeks <michael@ximian.com>
3169 (impl_accessibility_registry_deregister_global_event_listener):
3172 * libspi/deviceeventcontroller.c
3173 (spi_device_event_controller_check_key_event): return
3174 FALSE on no virtual method.
3176 * libspi/*..h: make includes work on a correctly pathed install.
3178 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
3180 * libspi/application.h: kill unused ( and whacked out )
3181 gboolean *spi_application_set_id (AtkObject *app, long id);
3183 2001-11-20 Michael Meeks <michael@ximian.com>
3185 * libspi/*.[ch]: further convert to bonobo's type func
3186 macros, remove redundnant casts etc.
3188 * libspi/text.c s/accessibility_text/spi_text/g,
3189 re-order to de-cruft.
3191 * libspi/hypertext.c: re-order to kill a huge slew
3192 of redundant forward decls.
3194 * libspi/relation.c: ditto.
3196 * libspi/image.c: ditto.
3198 * */.cvsignore: update
3200 2001-11-20 Michael Meeks <michael@ximian.com>
3202 * libspi/deviceeventcontroller.c
3203 (_controller_register_with_devices): use g_getenv,
3204 kill stdlib.h include.
3206 * libspi/keystrokelistener.c
3207 (spi_keystroke_listener_get_type): kill
3208 (spi_keystroke_listener_class_init),
3209 (spi_keystroke_listener_init): rename to this.
3211 * libspi/text.c (impl_getAttributes): fix warning / bug.
3213 * libspi/*.[ch]: more headers, includes and over commenting.
3215 2001-11-20 Michael Meeks <michael@ximian.com>
3217 * libspi/*.[ch]: fixup headers, includes and over commenting.
3219 * libspi/image.c (impl__get_imageDescription): const
3220 correctness warning fix. remove redundant casting.
3222 * libspi/table.c (impl_getRowDescription): ditto.
3223 (impl_getColumnDescription): ditto.
3225 * libspi/libspi.h: add.
3227 2001-11-19 Michael Meeks <michael@ximian.com>
3229 * libspi/editabletext.c (impl_setAttributes): fix warnings.
3231 * libspi/component.c (accessibility_component_get_type):
3232 rename to (spi_component_get_type): and macroify.
3233 (accessibility_component_init): rename to
3234 (spi_component_init): this
3235 (accessibility_component_class_init): rename to
3236 (spi_component_class_init): this
3238 * libspi/action.c (spi_action_get_type): kill, use the macro.
3240 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
3243 * libspi/application.c (spi_application_object_event_listener),
3244 (impl_accessibility_application_register_object_event_listener):
3245 warning fixes / const understanding updates.
3247 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
3250 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3252 * libspi/spi_accessible.c: Added docs and C bindings for
3253 AccessibleStateSet. (No implementations yet). Documentation
3254 coverage for C bindings now 100%. Made docs for event listeners
3259 boolean notifyListenersSync (in DeviceEventListener listener,
3260 in DeviceEvent event);
3262 oneway void notifyListenersAsync (in DeviceEventListener listener,
3263 in DeviceEvent event);
3265 Added DeviceEventListener and DeviceEvent structs (may deprecate
3266 KeyStroke and KeystrokeListener in favor of this generic
3267 event/listener framework for devices).
3269 * libspi/deviceeventcontroller.c:
3271 Changed some key listener code to take masks, etc., and paved the
3272 way for integration of toolkit/non-preemptive key events. Changed
3273 signatures of some internal methods.
3275 * at-bridge/bridge.c:
3276 Fixed regression connecting to interface signals, apparently
3277 caused by GTK+ changes.
3279 Added an internal bridge_state_listener to deal with
3280 property-change:accessible-state signals.
3282 Changed the key_listeners GList to store structs (including masks,
3283 etc.) instead of just CORBA_Objects (required for full
3284 implementation of key listener API).
3286 Connected the bridge to all currently supported Atk signals.
3287 Events now supported:
3288 object:property-change
3289 object:property-change:accessible-name
3290 object:property-change:accessible-state
3291 object:property-change:accessible-description
3292 object:property-change:accessible-parent
3293 object:property-change:accessible-value
3294 object:property-change:accessible-role
3295 object:property-change:accessible-table-caption
3296 object:property-change:accessible-table-column-description
3297 object:property-change:accessible-table-column-header
3298 object:property-change:accessible-table-row-description
3299 object:property-change:accessible-table-row-header
3300 object:property-change:accessible-table-summary
3301 object:children-changed
3302 object:visible-data-changed
3303 object:selection-changed
3304 object:text-selection-changed
3306 object:text-caret-moved
3308 object:row-reordered
3310 object:column-inserted
3311 object:column-reordered
3312 object:column-deleted
3313 object:model-changed
3315 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3317 * libspi/hyperlink.c,h:
3318 Fixed some broken stuff in hyperlink.
3320 * libspi/relation.h:
3321 * libspi/relation.c:
3322 * cspi/spi_accessible.c:
3323 Initial implementations of AccessibleRelation methods, and docs.
3325 * libspi/accessible.c:
3326 Fixed a bug that caused SEGV if an accessible
3327 object's description is NULL, and a client
3328 requests it. An empty string is now returned.
3330 * cspi/spi_editabletext.c:
3331 * cspi/spi_hypertext.c:
3333 * cspi/spi_hyperlink.c:
3337 Doc coverage now 95%.
3339 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3341 One last namespacing revision:
3342 * libspi/accessibleeventlistener.[ch]:
3343 Renamed SpiAccessibleEventListener to SpiEventListener,
3344 (no need for two namespaces ;-)
3346 And lots of documentation fixes:
3348 * docs/at-spi-docs.sgml:
3349 Fixed 'underscore vs. hyphen' bug that was preventing
3350 the gtk-doc API docs from being automatically generated.
3353 * cspi/spi-listener.h
3355 * cspi/spi_accessible.c
3357 * cspi/spi_application.c
3358 * cspi/spi_component.c
3359 * cspi/spi_editabletext.c
3361 * cspi/spi_hypertext.c
3363 * cspi/spi_registry.c
3364 * cspi/spi_selection.c
3368 * docs/at-spi-docs.sgml
3369 * docs/at-spi-sections.txt
3371 Added and fixed up gtk-doc documentation in cspi.
3373 Interfaces now (fully) documented (subject to revision and enhancement):
3375 Event Listener Support
3377 AccessibleApplication
3381 AccessibleEditableText
3388 AccessibleRelationSet
3393 2001-11-14 Bill Haneman <bill.haneman@sun.com>
3395 * at-bridge/bridge.c:
3396 Initial work for toolkit-level key snooper connection by bridge.
3401 New typedefs and fixes to support new namespacing, and cleaner
3402 separation of cspi bindings from libspi bonobo implementation.
3403 Removed inconsistent and extraneous Spi* namespace prefix that
3404 had crept into cspi headers.
3405 Lots of comment fixes that sed had missed.
3407 * cspi/spi-roletypes.h:
3408 * cspi/spi-statetypes.h:
3409 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
3410 to AccessibleRoleType.
3412 * libspi/accessibleeventlistener.h:
3413 Fixed minor namespacing weirdness.
3415 * libspi/deviceeventcontroller.c:
3416 Reordered some internal API for device listeners.
3417 Changed the key registry final boolean to 'is_system_global'
3418 rather than 'is_synchronous', which is more descriptive of its
3420 Added spi_device_event_controller_new().
3421 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
3423 * libspi/keystrokelistener.[ch]:
3424 Namespaced KeystrokeListener to SpiKeystrokeListener.
3425 Changed uses of keymasks to use SPI_ prefix, and did other
3428 * libspi/keymasks.h:
3429 Namespaced keymask constants with SPI_ prefix.
3431 * libspi/registry.c:
3432 Some warning fixes, and knock-on fixes from namespace changes.
3435 Added rules for accessx-gui test program.
3437 * test/accessx-gui.c:
3438 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
3439 utility. It doesn't actually use at-spi, but it's still cool and
3442 * test/keysynth-demo.c:
3446 Fixes so that these test clients work properly with the namespaced
3447 libraries. (Incompletely tested for technical reasons, fixes may follow)
3450 2001-11-13 Michael Meeks <michael@ximian.com>
3452 * libspi/application.c
3453 (impl_accessibility_application_get_version),
3454 (impl_accessibility_application_get_toolkit_name):
3456 (impl_accessibility_application_set_id),
3457 (impl_accessibility_application_get_id): remove
3458 redundant casting code.
3460 * libspi/action.c (impl_getDescription): fix warnings.
3462 * libspi/accessible.c
3463 (impl_accessibility_accessible_get_parent),
3464 (impl_accessibility_accessible_get_child_at_index),
3465 (impl_accessibility_accessible_get_state),
3466 (impl_accessibility_accessible_get_relation_set):
3467 warning fixes & include action.h
3469 2001-11-13 Michael Meeks <michael@ximian.com>
3471 * *.[ch] fix bits I screwed up:
3473 s/([^ \tb(\*\&\?\",])spi_/\1/g;
3474 s/([^ \tb(\*\&\?\",])Spi/\1/g;
3476 2001-11-13 Michael Meeks <michael@ximian.com>
3478 * *.[ch] Namespace libspi into spi_ and Spi.
3480 2001-13-11 Michael Meeks <michael@ximian.com>
3482 * Makefile.am: dist & install at-spi-1.0.pc
3484 * libspi/Makefile.am: install into at-spi-1.0
3486 * idl/Makefile.am (idldir): install into at-spi-1.0
3488 * at-spi-1.0.pc.in: add.
3490 * configure.in: build it.
3492 2001-11-12 Bill Haneman <bill.haneman@sun.com>
3494 * test/keysynth-demo.c:
3495 Use a 'realize' signal-handler to set the WM properties for
3496 the virtual keyboard, rather than making it a "POPUP" type
3497 override-redirect window (thanks to anders carlsson for that
3500 2001-11-11 Bill Haneman <bill.haneman@sun.com>
3503 * test/keysynth-demo.c:
3504 Added new test of key synthesis, which creates a simple
3505 (mouse-operated) onscreen keyboard. It inserts key events into
3506 the currently-focused window, thus it does not grab keyboard focus
3509 * cspi/spi_registry.c:
3510 Added C binding for AT-SPI generateKeyEvent.
3512 * libspi/deviceeventcontroller.c:
3513 Added call to XFilterEvent so that key listener works with XIM (we
3514 hope). Added event_synth_type to generateKeyEvent, so that we can
3515 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
3516 synthesize a press/release pair for KeySyms.
3518 2001-11-09 Bill Haneman <bill.haneman@sun.com>
3520 * libspi/Makefile.am:
3521 * registryd/Makefile.am:
3522 (temporary) hack to include libXtst in libspi and registryd.
3523 (Needed for keystroke synthesis, see below).
3526 Improved API for registerKeystrokeListener, in accordance with
3527 discussions with Gnopernicus team and X server research.
3529 * libspi/registry.c:
3530 * libspi/deviceeventcontroller.c:
3531 * libspi/accessible.c:
3532 * libspi/keystrokelistener.c:
3533 Changes and fixes to support keylisteners for potentially
3534 consumed key events (that is, 'passive grabs').
3535 Added implementation for generateKeyEvent() [untested].
3538 Changes to registerKeystrokeListener() API, as above.
3539 Added deregisterGlobalEventListenerAll(), and
3540 deregisterKeystrokeListener(), which are needed for clean exit of
3542 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
3543 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
3545 * cspi/spi_registry.c:
3546 Added implementations of function prototypes mentioned above.
3548 * registryd/registryd.c:
3549 Added the key listener event source as a g_timeout(), to allow
3550 receipt of key events that are not caught by GDK (since GDK
3551 doesn't support passive keygrabs, this was necessary).
3554 Changed to attach a keylistener to 'Alt' keys, and
3555 respond to the following keycommands: Alt-M (toggle magnifier);
3556 Alt-F (toggle speech); Alt-Q (quit).
3557 Added an exit routine to deregister the listeners, and a key
3558 listener that prints some key info to the console when a key
3559 matches the listener mask (and is thus received by the listener).
3561 * util/idl/Magnifier.idl:
3562 Changes to magnifier API to support multiple zoom regions,
3563 non-uniform scaling in x and y, markDirty, and a host of other
3564 features that would be useful to magnification.
3567 * util/mag_client.c:
3568 * util/mag_client.h:
3569 * util/mag_control.c:
3571 Source code changes to support the above IDL changes.
3574 As above, and also changes to use a (slower) generic conversion
3575 path for colormap conversions, since the fast RGB conversions have been
3576 reported to fail for 16-bit displays.
3578 2001-10-26 Michael Meeks <michael@ximian.com>
3580 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
3582 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
3584 * at-bridge/Makefile.am: fix LDFLAGS.
3586 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3588 * at-bridge/bridge.c:
3589 Re-worked listeners for toolkit events, now we have signal
3590 and property listeners. Added a private method
3591 register_atk_event_listeners(), which registers with the
3592 various atk and gtk signals we need to monitor in order to emit
3594 Added emission hook for AtkObject:property-change events, to
3595 support the 'property listeners'.
3596 Fixed some alloc()s of Accessibility_Event structs to use CORBA
3599 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
3600 which emit warnings and exit, respectively, if CORBA errors occur
3601 during remote calls, and we now use these methods to check most of
3602 our CORBA calls in the C bindings.
3604 * cspi/spi_accessible.c:
3605 Changed AccessibleSelection_refSelectedChild() to
3606 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
3607 now increment refcounts.
3609 * cspi/spi_component.c:
3610 Fixed some long pointer casts (dangerous!) to pass pointers to
3611 CORBA_longs of the proper type to the CORBA stubs, and copy the
3612 data into the longs that were passed into the C bindings code.
3614 * at-bridge/bridge.c:
3616 * libspi/accessible.c:
3617 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
3618 hyperlinks, AtkHyperlink is an object type.
3620 * libspi/application.c:
3621 Added various conversions to and from "generic" event types and
3622 atk-specific types; this is really part of the 'bridge'
3623 implementation but is valid for all AtkObject-based accessibility
3626 * libspi/editabletext.c:
3627 Fixed nasty bug wherein editable text's finalize method was
3628 unref'ing tha AtkObject reference that the text parent class was
3629 about to unref _again_. There was also a nasty inheritance bug
3630 that meant that the AccessibleEditableText class was corrupt.
3632 * libspi/selection.c:
3633 Provided implementations for some selection API that was broken.
3635 * idl/Application.idl:
3636 Added registerObjectEventListener () method.
3639 Fixed a number of return values that were Bonobo_Unknowns from
3640 bonobo_object_corba_objref(), which I
3641 forgot to dup before returning. Changed instances of
3642 bonobo_object_corba_objref (bonobo_object(o)) to
3643 BONOBO_OBJREF(o), for concision and clarity.
3645 2001-10-13 Louise Miller <louise.miller@sun.com>
3647 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
3648 idl/Event.idl, idl/Registry.idl
3649 Changed these files to include Bonobo_Unknown.idl instead
3652 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
3654 * libspi/component.c libspi/component.h:
3655 Fixed typo. Added assertions for object checks in
3656 AccessibleComponent code.
3658 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3660 * idl/Accessible.idl:
3661 Added 'isEqual (Accessible *object)'
3662 method for Accessible. (Not Yet Implemented).
3665 Changed signature of registerKeystrokeListener() to
3666 take a KeySet and KeyEventSeq so that specific keys and event
3667 types could be requested for monitoring, and added a flag
3668 is_synchronous so that either synchronous or asynchronous
3669 notification could be requested. (However this is not all
3670 implemented yet). This also meant adding two new typedefs,
3671 KeyEventSeq and KeySet.
3674 Added two new relations, RELATION_TOOLTIP_FOR and
3675 RELATION_LEAFNODE_OF.
3678 Added new state, STATE_HAS_TOOLTIP.
3680 * libspi/text.c, editabletext.c:
3681 Added new assertions to all casts of bonobo-objects from
3682 CORBA servants, to prevent Text API calls on non-text objects.
3683 Changed suspect casts of int-pointer types, so that we
3684 always send a valid CORBA_long pointer to the CORBA APIs that use
3685 in/out long parameters. We then have to copy from the CORBA_long
3686 into the regular long or int for return to the C bindings, or
3687 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
3690 * libspi/deviceeventcontroller.c:
3691 Cleaned these sources up.
3693 Changed return type for getCharacterAtOffset to
3694 CORBA_unsigned_long, to allow for 32-bit characters.
3697 2001-10-08 Bill Haneman <bill.haneman@sun.com>
3701 Fixed 'make dist' so that distro compiles...
3702 * libspi/keymasks.h:
3704 * cspi/spi-listener.c:
3705 KeystrokeListenerCB now returns a boolean.
3707 Added KeyEventType struct, and KeyStroke.
3708 Also added createKeystrokeListener(),
3709 KeystrokeListener_addCallback(),
3710 KeystrokeListener_removeCallback(), and added a keymask to
3711 registerKeystrokeListener().
3712 * cspi/spi_accessible.c:
3713 Changed numerous return types for interfaces from
3714 AccessibleComponent to Accessible<InterfaceName>; this was
3715 probably a cut-and-paste error.
3717 Implementations of new KeystrokeListener api (from spi.h,
3720 Changes to key modifier mapping.
3721 Created ControllerEventMask struct.
3722 Made DeviceEventController derive from Bonobo::Unknown.
3724 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3725 * libspi/deviceeventcontroller.c:
3726 Added a number of new internal (private) methods.
3727 * libspi/editabletext.c:
3728 * libspi/editabletext.h:
3729 Fixed a number of bugs related to the fact that
3730 editabletext inherits from text. Fixed the EditableText struct,
3731 the init() call, and use correct casts when calling Text methods
3732 from an EditableText object. Removed (duplicate) atko from the
3733 EditableText structure, we use the one in the parent Text
3734 structure via the casts mentioned above.
3735 * libspi/keystrokelistener.[ch]:
3736 * libspi/registry.c:
3737 Changes in support of keyboard handling (above).
3739 Keyboard handling, though partly functional, is still not
3740 recommended for at-spi client use as there is considerable
3741 work yet to be done.
3744 Changed some places where pointers to various int types
3745 are cast to be pointers to CORBA_long types and vice-versa:
3746 pointer casting is not safe so we pass pointers of the correct
3747 types and then cast the result before putting it into the target
3750 * libspi/text.h: minor typos corrected.
3752 We now speak not only the name of a Text element, but the
3753 first sentence of its content, when it receives focus.
3754 I also changed the text compression to 75% from 50%.
3755 * util/Accessibility_Util.server.in:
3756 Changed the default magnifier type to be a 3x vertical
3757 splitscreen magnifier (was previously a 2x horizontal one).
3759 2001-10-03 Bill Haneman <bill.haneman@sun.com>
3761 * libspi/keystrokelistener.h:
3762 * libspi/keystrokelistener.c:
3763 Initial functional implementations of KeystrokeListener.
3766 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3768 Fixed string handling for NULL strings in libspi.
3769 Added spi_freeString to free strings returned by C bindings.
3771 2001-09-30 Bill Haneman <bill.haneman@sun.com>
3773 * libspi/keystrokelistener.h:
3774 * libspi/keystrokelistener.c:
3775 Began (no-op) implementations of KeystrokeListener
3777 * libspi/deviceeventcontroller.c:
3778 * libspi/deviceeventcontroller.h:
3779 Began creating implementations of DeviceEventController,
3780 to handle keystroke and mouse event listening and
3782 * libspi/accessible.c:
3783 Stubbed-in the implementations for
3784 Accessibility_Accessible_getState and
3785 Accessibility_Accessible_getRelationSet.
3786 * libspi/registry.c:
3787 Improved de-registration process and fixed some bugs,
3788 deregistration now works correctly.
3790 Added initialization of applications list (to NULL).
3792 Reduced speech compression from 0.5 to 0.7, for demo.
3793 Changed call to gdk_window_set_decorations()
3794 to gtk_window_set_decorated().
3795 * at-bridge/bridge.c:
3796 Bridge now deregisters when app exits, via
3797 registration of a cleanup function
3798 with the g_atexit() call.
3799 Required making 'app' static, renamed 'this_app'.
3800 Fixed broken use of bonobo_init, passing argv wrongly.
3802 2001-09-27 Bill Haneman <bill.haneman@sun.com>
3806 Created a new directory for
3807 accessibility-related utilities, primarily for
3808 testing and demo purposes, but with possible
3815 Onscreen magnifier utility that
3816 is implemented as a bonobo service.
3818 * util/mag_client.c:
3819 * util/mag_client.h:
3820 Client-side support (simple C bindings)
3821 for Magnification service
3823 * util/mag_control.c:
3824 Client program example for
3825 Magnification service
3827 * util/Accessibility_Magnifier.server.in:
3828 Bonobo-activation file for the
3829 Magnification service.
3832 * util/idl/Magnifier.idl:
3833 IDL defining the bonobo Magnification
3837 Modifications to use the bonobo-activated magnifier
3838 above, in place of trying to connect to an existing
3839 magnifier that uses socket-listening IPC.
3841 If env variable MAGNIFIER is set, a magnifier service
3842 will be started if one does not exist.
3844 2001-09-25 Bill Haneman <bill.haneman@sun.com>
3846 * at-bridge/bridge.c:
3847 applied patch from Marc to build and run
3848 against new glib and gtk+ (seemed like a change
3849 to bonobo_init signature was made ?)
3851 made festival-server support turned off by default.
3852 Added support for a simple magnifier (off by default)
3853 which will be added to a 'util' directory later.
3854 * at-bridge/Makefile.am:
3855 Changed "application.h" header from a 'source'
3856 to a 'dependency' of libat-bridge.
3858 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3867 Added interface implementation c files to list of
3868 includes so they are included in libcspi.
3871 Changed prototype of AccessibleAction_doAction to return a
3873 Changed prototype of AccessibleTable_getCaption to
3874 return an Accessible.
3875 Changed prototype of AccessibleTable_getSelectedRows
3876 and AccessibleTable_getSelectedColumns to
3877 return a long (returns the number of selected rows
3878 or columns respectively).
3879 Changed name of AccessibleText_refRunAttributes to
3880 AccessibleText_getAttributes.
3881 Changed prototype of AccessibleText_getCharacterExtents to
3882 return a void rather than a boolean.
3883 Added support for a AccessibleCoordType parameter
3884 specifying what type of coordinates are desired.
3885 Added an AccessibleCordType parameter to
3886 AccessibleText_getPointAtOffset.
3888 * cspi/spi_accessible.c:
3889 Added code to return the outstanding interfaces from
3890 Accessible_queryInterface.
3892 * cspi/spi_action.c:
3894 Corrected call to getNActions to call the c binding
3897 * cspi/spi_editabletext.c:
3899 Changed name from setRunAttributes to setAttributes.
3901 * cspi/spi_hyperlink.c:
3903 Changed call to getNAnchors to correctly call the c
3904 binding for an attribute.
3906 * cspi/spi_hypertext.c:
3908 Changed getImageDescription to correctly call the
3909 binding for an attribute.
3911 * cspi/spi_selection.c:
3912 Changed getNSelectedChildren to correctly call the c
3913 binding for the attribute.
3914 Changed refSelectedChild to getSelectedChild.
3918 Changed getCaption to return an Accessible.
3919 Fixed calls which retrieve attributes.
3920 Changed refAt to getAccessibleAt.
3921 Changed getNSelectedRows and getNSelectedColumns to
3925 Changed getCharacterExtents and getPointAtOffset to accept an
3926 AccessibleCoordType.
3928 Changed calls which retrieve attributes.
3929 Changed refRunAttributes to getAttributes.
3934 * idl/Hyperlink.idl:
3935 Changed n_anchors attribute to nAnchors to keep naming
3936 convention consistent.
3939 Made Table inherit from Bonobo::Unknown.
3940 Added nSelectedColumns and nSelectedRows attributes.
3943 Made Value inherit from Bonobo::Unknown.
3945 * libspi/hyperlink.c:
3946 Change for nAnchors attributte name change.
3948 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3956 Added interface implementation c files to list of
3957 includes so they are included in libcspi.
3960 Changed prototype of AccessibleAction_doAction to return a
3962 Changed prototype of AccessibleTable_getCaption to
3963 return an Accessible.
3964 Changed prototype of AccessibleTable_getSelectedRows
3965 and AccessibleTable_getSelectedColumns to
3966 return a long (returns the number of selected rows
3967 or columns respectively).
3968 Changed name of AccessibleText_refRunAttributes to
3969 AccessibleText_getAttributes.
3970 Changed prototype of AccessibleText_getCharacterExtents to
3971 return a void rather than a boolean.
3972 Added support for a AccessibleCoordType parameter
3973 specifying what type of coordinates are desired.
3974 Added an AccessibleCordType parameter to
3975 AccessibleText_getPointAtOffset.
3977 * cspi/spi_accessible.c:
3978 Added code to return the outstanding interfaces from
3979 Accessible_queryInterface.
3981 * cspi/spi_action.c:
3983 Corrected call to getNActions to call the c binding
3986 * cspi/spi_editabletext.c:
3988 Changed name from setRunAttributes to setAttributes.
3990 * cspi/spi_hyperlink.c:
3992 Changed call to getNAnchors to correctly call the c
3993 binding for an attribute.
3995 * cspi/spi_hypertext.c:
3997 Changed getImageDescription to correctly call the
3998 binding for an attribute.
4000 * cspi/spi_selection.c:
4001 Changed getNSelectedChildren to correctly call the c
4002 binding for the attribute.
4003 Changed refSelectedChild to getSelectedChild.
4007 Changed getCaption to return an Accessible.
4008 Fixed calls which retrieve attributes.
4009 Changed refAt to getAccessibleAt.
4010 Changed getNSelectedRows and getNSelectedColumns to
4014 Changed getCharacterExtents and getPointAtOffset to accept an
4015 AccessibleCoordType.
4017 Changed calls which retrieve attributes.
4018 Changed refRunAttributes to getAttributes.
4023 * idl/Hyperlink.idl:
4024 Changed n_anchors attribute to nAnchors to keep naming
4025 convention consistent.
4028 Made Table inherit from Bonobo::Unknown.
4029 Added nSelectedColumns and nSelectedRows attributes.
4032 Made Value inherit from Bonobo::Unknown.
4034 * libspi/hyperlink.c:
4035 Change for nAnchors attributte name change.
4038 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
4040 implementations-- made server implementations own AtkObject pointers
4041 rather than their respective AtkInterrface pointers to fix
4042 refcounting. AtkHyperlink is still broken.
4044 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4045 * cspi/spi_accessible.c:
4046 Added method Accessible_Role_getName(),
4047 and requisite string array (role_names).
4048 Added conversion string_from_corba_strin() call
4049 to Accessible_getName and _getDescription.
4050 * libspi/accessible.c:
4051 Added implementation for Accessible_getRole()
4053 Added festival support, used if environment variable
4056 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4058 * at-bridge/bridge.c:
4059 Now allocate Accessibility_Event using
4060 Accessibility_Event__alloc() instead of g_new0().
4061 * libspi/accessibleeventlistener.c:
4062 Initialize AccessibleEventListener->callbacks to NULL.
4063 Fixed accessible__event_listener_init() param, changed to
4064 "AccessibleEventListener *" type.
4065 Changed a bonobo_object_release_unref() call to
4066 Accessibility_Accessible_unref().
4067 * libspi/listener.c:
4068 Changed Bonobo_Unknown_unref to (equivalent)
4069 Accessibility_Accessible_unref.
4070 * libspi/registry.c:
4071 Changed bonobo_object_release_unref to
4072 Accessibility_Accessible_unref.
4074 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4077 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
4078 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
4079 spi-util.c spi-util.h
4080 Implementations for C bindings to remaining accessibility
4083 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4086 changed return value of Action from void to boolean to
4087 bring in line with ATK.
4090 Changed getText funcions to return "out" start and end offsets.
4091 Changed getAttributes to take and offset and return the start
4092 and end offset of the attribute run.
4093 Changed getOffsetAtPoint and getCharacterExtents to take an
4094 enum describing whether coordinates are window or screen.
4097 libspi/action.c libspi/action.h libspi/editabletext.c
4098 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
4099 libspi/hypertext.c libspi/hypertext.h libspi/image.c
4100 libspi/image.h libspi/selection.c libspi/selection.h
4101 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
4102 libspi/value.c libspi/value.h
4103 Added server implementations for outstanding ATK interfaces
4104 not yet implemented.
4106 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4109 Added (missing) getName() method.
4110 Made nActions an attribute.
4111 * idl/EditableText.idl:
4112 Changed order of params in setAttributes.
4113 * idl/Hyperlink.idl:
4114 Removed getAnchor, added getURI.
4116 Changed attributes to methods, for efficiency
4117 (so that getting extents can be done in one call)
4118 * idl/Selection.idl:
4119 Changed nSelectedChildren to attribute, and re-indented.
4120 * idl/Table.idl: changed nrows, ncolumns, caption, summary
4122 * idl/Text.idl: reformatted to match our coding style.
4123 (temporarily?) removed getRowColumnAtOffset().
4124 Changed text selection API to support multi-select and
4125 non-contiguous selections, as in ATK.
4126 * idl/Value.idl: changed some methods to attributes.
4128 2001-08-24 Mark McLoughlin <mark@skynet.ie>
4130 * libspi/listener.c(impl_notify_event):
4131 BonoboUnkown_unref the source instead
4132 of bonobo_object_release_unref - the ORB
4133 handles the releasing.
4135 * configure.in: require ORBit-2.3.94 for
4138 2001-08-21 Bill Haneman <bill.haneman@sun.com>
4140 Tagged CVS repository 'EA_1_0'.
4141 * README.EARLY_ACCESS:
4142 Alphabetized acknowledgements list, and
4144 Listed some known dependencies of at-spi.
4146 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4148 * docs/at-spi-docs.sgml:
4149 * docs/at-spi-sections.txt:
4150 * docs/at-spi-overrides.txt: (Added zero-length file)
4151 Documentation improvements - gtk-doc should build
4152 docs for all implemented C bindings now.
4155 * cspi/spi.c: (New file)
4156 * cspi/spi_event.c: (New file)
4157 * cspi/spi_registry.c: (New file)
4158 * cspi/spi_accessible.c: (New file)
4159 * cspi/spi_application.c: (New file)
4160 * cspi/spi_component.c: (New file)
4161 Split spi_main.c into six parts, and included them from
4162 "spi.c". This is a bit of a hack, probably temporary,
4163 but required by gtk-doc, apparently.
4165 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4168 * docs/at-spi-docs.sgml:
4169 * docs/at-spi-sections.txt:
4171 Initial checkins/modifications for gtk-doc generation.
4174 Added (missing) interface query methods to Accessible's C binding.
4176 Added GenericInterface type definition.
4178 Added query for AccessibleComponent interface to focus event handler.
4179 Added printout of bounding box for focussed component.
4180 * libspi/component.c:
4181 Added partial implementation for AccessibleComponent to C binding.
4182 * idl/Application.idl:
4183 * libspi/registry.c:
4184 * libspi/listener.c:
4185 * libspi/application.c:
4186 * libspi/application.h:
4187 Changed "ID" attribute type from string to long.
4189 2001-08-19 Bill Haneman <bill.haneman@sun.com>
4193 Made method naming consistent: methods taking object args
4194 start with uppercase, other methods (except those using
4195 acronyms) start with lowercase. Underscores delimit between
4196 object names and method names:
4197 SPI_init() - uppercase since it starts with an acronym.
4198 getDesktopCount () - lowercase start since no object param0.
4199 Accessible_getName() - uppercase object type name, studlyCaps method
4203 Added gtk-doc documentation for all currently implemented
4204 methods in the C bindings API.
4206 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4208 * Makefile.am : changed build order to build test last.
4211 Changed "createEventListener" to "CreateEventListener".
4212 * libspi/accessibleeventlistener.c :
4213 Bugfix for addition of callbacks.
4214 * test/Makefile.am :
4215 * test/simple-at.c :
4216 Added new test that uses the C bindings API.
4218 * libspi/listener.c :
4219 * libspi/registry.c :
4220 * libspi/accessibleeventlistener.c :
4221 * at-bridge/bridge.c :
4222 Renamed member "target" of Accessibility_Event to "source",
4223 which is more descriptive.
4226 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4230 * cspi/Makefile.am :
4231 Added makefile support for at-spi/cspi directory.
4234 * cspi/spi-listener.h : (NEW FILE)
4235 Added support for/use of spi-listener.h.
4237 C bindings now build successfully, with no warnings.
4238 * libspi/accessibleeventlistener.h : (NEW FILE)
4239 * libspi/accessibleeventlistener.c : (NEW FILE)
4240 * libspi/Makefile.am :
4241 Added new object type "AccessibleEventListener"
4242 which inherits from Listener, and allows attachment
4243 of in-process callbacks (so that a client with a listening
4244 object instance can add functionality to the local
4245 implementation, dynamically).
4247 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4249 * libspi/accessible.c:
4250 Add implementation for get_index_in_parent().
4252 Added #include of "spi-roletypes.h", and
4253 added enumerated type AccessibleCoordType.
4254 Added definition for KeystrokeListener (function type).
4257 * cspi/spi-statetypes.h :
4258 * cspi/spi-roletypes.h :
4260 Added these headers, used by spi.h.
4262 Added code (NOTE: not yet built by make).
4264 2001-08-18 Mark McLoughlin <mark@skynet.ie>
4266 * libspi/Makefile.am: generate imodule
4267 at the same time as other idl compiler
4270 2001-08-17 Bill Haneman <bill.haneman@sun.com>
4271 * libspi/registry.c :
4272 * libspi/application.c :
4273 * idl/Application.idl :
4274 Made registration with toolkit an application method,
4275 which is required since each app has its own toolkit static
4276 environment. Thus the bridge must register for
4277 notification of toolkit events from each application in turn.
4278 Toolkit notifications are now successfully registered for, and
4279 sent to the listening at client.
4281 Changed toolkit event string to use hyphens rather than underscores.
4282 * libspi/listener.c :
4283 listner now gives more info in debug mode - it reports the
4284 name of the event received, as well as the name of the source.
4287 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4289 * libspi/registry.c :
4290 added more implementation for toolkit events.
4291 Fixed bug such that toolkit event registrations
4292 (via atk) use the whole event name string, not
4294 Removed a useless call to an ORBit_ method.
4295 * at-bridge/bridge.c :
4296 Removed unused local sbuf[] variable.
4298 We now register for Gtk:GtkWidget:button_press_event
4299 events as well as "focus:" events.
4301 Add some more API from Registry.idl that was missing,
4302 for keystroke listening, keystroke and mouse event
4303 synthesis, and enumeration of accessible desktops.
4305 2001-08-16 Michael Meeks <michael@ximian.com>
4307 * configure.in: use AM_GLIB_GNU_GETTEXT.
4309 * Makefile.am (SUBDIRS): kill intl.
4311 2001-08-15 Michael Meeks <michael@ximian.com>
4313 * registryd/Makefile.am: s/oaf/server/ relocate info file.
4315 * configure.in: upd.
4317 * configure.in: depend on a recent bonobo-activation that
4318 will find our server files ...
4320 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4322 * libspi/accessible.c : accessible_new() :
4323 Now we add the Component interface via bonobo_object_add_interface,
4324 if the contained AtkObject implements AtkComponent.
4325 * libspi/accessible.h : now include "component.h"
4326 * libspi/component.h :
4327 * libspi/component.c : added files - implementation of
4328 bonobo wrapper object for Accessibility/Component
4329 * libspi/listener.c :
4330 Added test code to check for Accessibility/Component:1.0
4331 interface and report whether it is implemented by the
4333 * libspi/registry.c :
4334 Now we check for not only the hash of the whole event
4335 string before relaying the event, we also check the
4336 "minor" event string (without the detail string).
4337 This allows event listeners to be registered against
4338 all events of a certain major+minor type, or just
4339 against a specific major+minor+detail type.
4340 * libspi/accessible.c :
4341 Added implementations for Accessible:get_parent(),
4342 Accessible:getChildCount(), and Accessible:getChildAtIndex().
4343 * libspi/registry.c :
4344 * libspi/listener.c :
4345 Replaced calls to Accessibility_Accessible_ref() and
4346 Accessibility_Accessible_unref() with
4347 calls to bonobo_object_dup_ref() and
4348 bonobo_object_release_unref(), so that the CORBA object
4349 is dup-ed and released when relayed, as well as the bonobo object.
4351 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4353 * libspi/Makefile.am,
4354 registryd/Makefile.am,
4355 at-bridge/Makefile.am.
4356 test/Makefile.am, configure.in:
4357 reverse previous changes.
4359 * /idl/Image.idl: fix typo.
4361 * test/Makefile.am: put DEBUG_FLAGS
4364 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4366 * test/app.c: use argv[0] instead of
4369 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4371 * libspi/Makefile.am,
4372 registryd/Makefile.am,
4373 at-bridge/Makefile.am.
4374 test/Makefile.am, configure.in:
4375 cleanup, replace individual LIBS/CFLAGS with
4376 AT_COMMON_{LIBS|CFLAGS}.
4380 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4382 * configure.in, libspi/Makefile.am:
4383 Change IDL path checking for bonobo-activation
4386 2001-08-15 Bill Haneman <bill.haneman@sun.com>
4388 * registryd/registry.c : separated event listeners to use
4389 3 separate lists (focus, window, toolkit). Began testing
4390 event names against hashes before relaying events.
4391 * test/at.c : now register for events of type "focus:"
4392 * test/app.c : now generate events of type "focus:"
4393 * at-bridge/bridge.c : register with ATK for focus events,
4394 and we now relay those focus events to any "focus:" listeners.
4395 This now works with the bridge as a GTK_MODULE when running test/at.
4396 * libspi/registry.c :
4397 * libspi/listener.c :
4398 now we ref event sources before propagating, and unref on receipt.
4399 * libspi/registry.c :
4400 some changes to internal structs, to support event typestring hashes.
4401 * text/app.c : changed the way the appname is generated.
4402 * cspi : added directory that will hold the C bindings library for
4403 non-CORBA/bonobo-savvy clients.
4404 * cspi/spi.h : header file that contains the function prototypes for the C binding.
4405 * idl/Component.idl : added in parameter to indicate coord system for
4406 geometry-related calls.
4407 * idl/Hyperlink.idl : added readonly n_links attribute
4408 * idl/Image.idl : changed methods to attributes.
4410 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4412 * at-bridge/Makefile.am: link against
4413 ../libspi/libspi.la instead of -lspi.
4415 * at-spi/test/app.c: include
4416 bonobo-activation.h. Use a default appname
4417 if one is not provided.
4419 2001-08-14 Bill Haneman <bill.haneman@sun.com>
4421 * idl/Registry.idl : temporarily changed register_Application
4422 to oneway, to work around issue with initial registration
4424 * idl/Application.idl : changed attribute "id" from readonly
4425 to read-write, since it needs to be assigned by Registry.
4426 * registryd/registryd.c : added call to set application id
4428 * registryd/registry.c : changed de-registration procedure to
4429 use CORBA_Object_hash() to find matching object ref in application
4430 lists and listener lists.
4431 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
4432 began distinguishing between event types (work in progress).
4434 2001-08-13 Bill Haneman <bill.haneman@sun.com>
4437 * libspi/application.c:
4438 Added implementations for get/set id, get_toolkitName,
4440 * registryd/registryd.c :
4444 Converted from use of OAF to bonobo-activation.
4445 * libspi/desktop.h :
4446 * libspi/desktop.c :
4448 Removed references to atksimpleobject, since base atkobject
4449 implementation now provides functionality we need.
4450 * libspi/atksimpleobject.c :
4451 * libspi/atksimpleobject.h :
4456 * at-bridge/Makefile.am
4457 * at-bridge/bridge.c
4460 Added directory "bridge" and contents, and added dependencies
4461 in Makefile.am/configure.in.
4462 Initial checkin of "at-bridge".
4463 This code is a GTK_MODULE which automatically registers
4464 GTK+ apps with the accessibility registry, using an object
4465 reference to the root ATK object.
4467 2001-08-10 Mark McLoughlin <mark@skynet.ie>
4469 * po/Makefile.in.in: Remove. Again. If this
4470 doesn't get autogenerated - you need to update
4473 2001-08-07 Mark McLoughlin <mark@skynet.ie>
4475 * po/Makefile.in.in: Add. Again.
4477 2001-07-31 Bill Haneman <bill.haneman@sun.com>
4479 * libspi/accessible.c : added support for 'description' property.
4480 * libspi/accessible.c
4482 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
4483 (since the two are now equivalent in libbonobo)
4491 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
4492 Bonobo::Unknown as does Accessibility::Accessible.
4493 * idl/StreamableContent.idl : as above, and replaced internal InputStream
4494 interface with Bonobo::Stream, since it was redundant with it.
4495 (The Stream returned by a StreamableContext object is expected to
4496 implement only a subset of Bonobo::Stream)
4498 2001-07-28 Anders Carlsson <andersca@gnome.org>
4500 * libspi/accessible.c (accessible_object_finalize): Change
4501 g_free to g_object_unref since the AtkObject is a GObject.
4503 2001-07-30 Bill Haneman <bill.haneman@sun.com>
4505 * idl/Accessibility.idl: add new IDL files
4508 * idl/Action.idl: Definitions of actionable UI object
4509 * idl/Component.idl: Definitions of UI component geometry, etc.
4510 * idl/Hyperlink.idl: Defs of hyperlink behavior
4511 * idl/Image.idl: Def of accessible image
4512 * idl/Selection.idl: Definition of UI object with selectable children
4513 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
4514 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
4515 * idl/Text.idl: Interface defs for UI elements with complex textual content
4516 * idl/Value.idl: Definition of UI element that is a value controller or display
4518 2001-07-27 Michael Meeks <michael@ximian.com>
4520 * po/Makefile.in.in: remove autogenerated file from CVS.
4522 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
4525 * idl/Registry.idl: include guard.
4527 * idl/Accessibility.idl: Add, and include all the other IDL
4530 * idl/*.idl: remove mass of pragmas etc.
4532 2001-07-26 Michael Meeks <michael@ximian.com>
4534 * registryd/Makefile.am (registryd_SOURCES): remove
4537 2001-07-27 Mark McLoughlin <mark@skynet.ie>
4539 * libspi/.cvsignore, registryd/.cvsignore,
4540 test/.cvsignore: updated.
4542 * po/Makefile.in.in: gettext update.
4544 2001-07-25 Bill Haneman <bill.haneman@sun.com>
4546 * initial CVS checkin
4548 2001-06-29 Michael Meeks <michael@ximian.com>
4550 * configure.in: add AM_CONFIG_HEADER to gen config.h