1 2002-08-19 Bill Haneman <bill.haneman@sun.com>
4 Small revision to author acknowledgement.
6 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
8 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
9 If signal has detail add it to the type of the event.
12 2002-08-12 Michael Meeks <michael@ximian.com>
14 * test/test-simple.c (global_listener_cb): bin bogosity.
15 (test_keylisteners): disable, still doesn't work reliably,
16 certainly not on my system anyway.
18 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
19 don't leak a reference on the DEC. This round-trip
20 fetching of the DEC per keystroke sucks, it should be
24 * cspi/cspi-lowlevel.h,
25 * cspi/bonobo/cspi-bonobo-listener.[ch],
26 * cspi/bonobo/cspi-bonobo.c: get the copyright
27 notices better - there is still a large amount of
28 work in at-spi falsely attributed solely to Sun.
30 * cspi/spi_main.c (cspi_object_ref): kill bogus
31 hash lookup, just increment the ref.
32 (SPI_freeString): make explicit the fact that we
33 handle NULL strings just fine.
34 (report_leaked_ref): obey coding standards.
35 (cspi_object_hash, cspi_object_equal): kill retval.
36 (cspi_object_release): only release if not on loan.
37 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
38 (cspi_object_borrow, cspi_object_return): impl.
40 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
41 use cspi_object_borrow / return.
43 2002-08-12 Darren Kenny <darren.kenny@sun.com>
45 * cspi/bonobo/cspi-bonobo-listener.c:
47 Don't call cspi_oject_new() because this is creating a new Accessible
48 every single time that an event is fired. This causes ATs like at-poke
49 to nolonger recognise the source of the event and thus ignore it.
50 Re-use the object from the cache, ref it and then unref it after the
51 listeners have been called.
53 2002-08-06 Darren Kenny <darren.kenny@sun.com>
55 * test/event-listener-test.c:
56 Added command-line options to disable mouse events (m) and
59 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
61 * configure.in: Update required versions of ATK, GTK+ and GAIL
63 * cspi-1.0.pc.in: Add dependency for X include files
66 * cspi/bonobo/Makefile.am:
67 Add $(X_CFLAGS) so that X include files
68 are picked up even if not in standard place (bug #71686)
70 2002-06-25 Bill Haneman <bill.haneman@sun.com>
72 * registryd/deviceeventcontroller.c: fix for 84261
73 (spi_dec_mouse_moved):
74 Added test of mouse button mask, so that we can detect mouse
75 button release. Unfortunately we can't otherwise detect mouse
76 button release events without consuming the mouse press event,
77 because of the way XGrabButton works. This means that our mouse
78 release events have a latency dependent on the polling period
79 while the mouse button is down. At least in this case we only
80 have to poll while the button is down, and not at other times.
81 If the button masks don't match with what the last press event
82 reported, we report the appropriate button release event.
83 (spi_dec_ungrab_mouse):
84 New method (not yet called).
85 (spi_device_event_controller_forward_mouse_event):
86 New method, sends mouse press event from GdkFilter.
87 (spi_dec_init_mouse_listener):
88 Added code to call XGrabButton, redirecting mouse button events to
89 the root window and our Gdk event loop.
91 Added code to filter mouse button events, and reordered.
93 * test/event-listener-test.c:
95 Added registration for mouse events of type "mouse:button".
97 2002-06-25 Bill Haneman <bill.haneman@sun.com>
99 * registryd/deviceeventcontroller.c: partial fix for 84261
100 (spi_dec_poll_mouse_idle):
101 New method, a timeout which checks to see if the mouse
103 (spi_dec_poll_mouse_moving):
104 A timeout to be called when mouse motion is underway.
105 (spi_dec_poll_mouse_moved):
106 A method which fires an event if the mouse has moved, and reports
107 whether or not it did so.
108 (spi_dec_init_mouse_listener):
109 A method which sets up the timeouts above.
110 (spi_device_event_controller_new):
111 Now calls spi_dec_init_mouse_listener.
113 * registryd/registry.c:
115 Now we initialize the device event controller when the registry is
116 initialized, instead of waiting until a client has requested a key
117 event notification; this is because we need the event controller
118 for mouse events, but the mouse event registration API is a
119 "registry" call and doesn't explicitly call the
120 deviceeventcontroller.
121 We now report mouse motion events with a 100 ms idle latency and
122 a 20 ms granularity when motion is in progress.
124 * test/event-listener-test.c:
126 We now register the "detail listener" for events of type
127 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
128 delivered only for the first mouse event received, and thereafter
129 "mouse:abs" events are delivered.)
131 * cspi/spi_registry.c:
132 DOCS: Documented the above mouse event typestrings.
134 2002-06-21 Bill Haneman <bill.haneman@sun.com>
136 Happy Summer Solstice...
138 * registryd/deviceeventcontroller.c: [fix for bug 84100]
139 (spi_controller_notify_keylisteners):
140 Changes to remove a listener from the listener list, freeing its
141 open keygrabs, if a notification to that listener fails. This
142 means that although a dead listener can continue to hold a passive
143 keygrab, a maximum of one dispatch to such a listener can fail
144 before the listener is removed from the list, thus the keygrab
145 will be released on the next occurrence.
147 (spi_notify_keylisteners):
148 Renamed to spi_controller_notify_keylisteners, as the controller
149 instance must now be passed as an argument.
150 The copied 'notify' GList is now a list of DEControllerKeyListener
151 objects, since we need more than just the CORBA reference if a
152 notify fails and we need to deregister the listener.
153 (impl_notify_listeners_sync):
154 (impl_notify_listeners_async):
155 (spi_device_event_controller_forward_key_event):
156 Modify use of notify_keylisteners in accordance with above
158 (spi_deregister_controller_key_listener):
159 New method introduced by refactoring, from
160 impl_deregister_keystroke_listener.
161 (impl_deregister_keystroke_listener):
162 Call spi_deregister_controller_key_listener.
163 (spi_key_listener_clone):
164 New method to copy a key listner without doing a 'ref' on the
165 remote object instance; used to create a notifier list.
166 (spi_key_listener_data_free):
167 New method, frees data without unreffing the source.
169 (spi_key_listener_clone_free): new method.
170 (spi_key_listener_free):
171 refactored to call spi_key_listener_data_free.
173 2002-06-20 Bill Haneman <bill.haneman@sun.com>
175 * registryd/registry.c: [fix for bug 86048]
176 (notify_listeners_cb):
177 Clear CORBA system exceptions which occur when notifying
178 listeners, before returning to the source of the original event,
179 since the event source doesn't care if the relayed notify failed.
180 In other words, don't complain to the atk-bridge if the registry
181 could not notify all its listeners, that's no fault of the
182 application and thus should not appear to be an error from the
183 application's perspective.
185 * cspi/spi_main.c: [fix for bug 85980]
187 Replaced use of bonobo_object_dup_ref with call to the wrapper
188 method, csou_dup_ref (); this silences a compiler warning and
189 provided more portability.
191 Ping the registry before return, and restart if necessary.
193 * cspi/bonobo/cspi-bonobo.c:
197 Fixed this method to return an object reference, as it should have
200 * cspi/cspi-lowlevel.h:
201 Added internal definition for cspi_ping() and fixed
202 return type of cspi_dup_ref().
205 2002-06-19 Bill Haneman <bill.haneman@sun.com>
207 * atk-bridge/bridge.c: [fix for bug 85305]
208 (spi_atk_bridge_register_application):
209 New method where the initial application registry calls have been
210 moved; it allows an application to re-register in response to
211 certain error conditions (such as a registry restart, see below).
213 Moved some initialization code to the method
214 spi_atk_bridge_get_registry, below.
215 (spi_atk_bridge_get_registry):
216 New, private accessor function for the Accessibility_Registry
217 instance. If the registry has not been started before, or has
218 died (as detected by failure of a CORBA exception), it is
219 restarted before return, and spi_atk_bridge_register_application
220 is called again to register with the new bridge instance.
221 (spi_atk_emit_eventv):
222 Set registry_died on error; use spi_atk_bridge_get_registry () to
225 * registryd/registry.c:
226 (impl_accessibility_registry_register_global_event_listener):
227 Set listener's event_type_quark to etype.minor instead of
228 etype.major (fix for bug 84856).
230 * test/event-listener-test.c:
231 (report_detail_event):
232 Change the output string so that user/tester can tell that the
233 'detail listener' was called instead of the 'generic listener'.
235 2002-06-18 Bill Haneman <bill.haneman@sun.com>
237 Fixes for bugs 84900, 84908, 84897, 84898.
242 Revved version to 1.1.0
243 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
244 version is going to HEAD which will be used for gnome-2-0-1 and later.)
246 * idl/Accessibility_Registry.idl:
247 (EventListener::notifyEvent):
248 Removed 'oneway' directive after extensive consulation with
249 ORBit2 team and others. This means also that unref() of the event
250 source can and should be done synchronously after emission, rather
251 than remotely in the client, after servicing the notify call on
254 NOTE: This change speeds up listener performance considerably, but
255 introduces new latency on the application side. We may want to
256 add an event queue to the atk-bridge.
258 * atk-bridge/bridge.c:
259 (spi_atk_bridge_focus_tracker):
260 Do a local unref() on the event source after emission.
262 * registryd/registry.c:
263 (desktop_remove_application):
264 Do an unref() on the event source after emission.
265 (desktop_add_application):
266 Do an unref() on the event source after emission.
267 (notify_listeners_cb):
268 When relaying an event, don't automatically add the event source
269 to the local object cache, just CORBA_dup it instead. Likewise,
270 if this method reenters, release the ref rather than calling
272 (impl_registry_notify_event):
273 No longer call remote unref() on the event source after dispatch.
275 * libspi/eventlistener.c:
276 (impl_accessible_event_notify_event):
277 Removed remote unref ()
279 * cspi/bonobo/cspi-bonobo-listener.c:
281 We now call cspi_object_new() instead of cspi_object_add() on
282 receipt of an event; thus we only have an implicit object ref
283 while the cspi_event method is being executed. If we need to keep
284 a reference to the object, the listener must call ref() on the
285 object. Thus also we don't need to call cspi_object_unref() after
286 invoking the listener callbacks in this method.
290 New internal API for creating a new cspi object, without adding it
293 Now uses cspi_object_new() to create the cspi object instance.
295 Now checks to see if the object is in the internal object cache,
296 and adds it if necessary before incrementing its refcount (note
297 that new objects are added with a refcount of 1).
299 New method which gives some information on leaked object instances
300 if leak detection is turned on.
302 * test/event-listener-test.c:
304 New method, used for testing event delivery timing for special
305 events of type "object:test". It reports elapsed time and
306 events/sec every 500 events.
308 Added a new listener, 'test listener', to check timing of event
309 receipt as noted above.
311 Added some timing output here also, reports elapsed time every 100
314 * test/stress-test.c:
315 Emit events of type "object:test", for use with "event-listener-test".
317 * test/test-simple.c:
318 (global_listener_cb):
319 Call Accessible_ref() on the event source before calling
320 validate_accessible, since the validation process does pointer
321 comparisons on the event source, meaning that the event source
322 needs to be added to the local object cache first. Any use of
323 such pointer comparisons between Accessible objects requires that
324 the caller hold an explicit reference to those objects.
325 We also must therefore call Accessible_unref() when leaving this method.
327 2002-06-13 Bill Haneman <bill.haneman@sun.com>
329 * registryd/deviceeventcontroller.c:
330 (spi_controller_update_key_grabs):
331 Fix for #84735, subsequent keygrab listeners not informed of
332 registration failure.
335 (spi_base_construct):
336 Add an assertion on construct, to make sure the GObject passed in
339 Explicitly initialize object->gobj pointer to NULL;
341 * cspi/bonobo/cspi-bonobo-listener.c:
342 (cspi_object_add_ref):
343 New method, can specify whether to dup-ref a bonobo object passed
344 in if it's newly added to the object cache.
346 Now calls cspi_object_add_ref with second param of "FALSE". This
347 prevents us from doing a pointless dup-ref followed by
348 release-unref for all those cases where the object is already in
349 our object cache (fix for #85205).
351 * atk-bridge/bridge.c:
352 (spi_atk_bridge_idle_init):
353 Removed this method, we don't need to initialize in an idle
356 Changed to call spi_atk_register_event_listeners directly, not via an
357 idle handler. (fix for #81139)
358 (gnome_accessibility_module_shutdown):
359 Removed conditional around deregistration of listeners, since we
360 don't use the idle handler and thus have always registered when
362 (spi_init_keystroke_from_atk_key_event):
363 Changed references to Accessibility_KEY_PRESSED to
364 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
366 2002-06-12 Bill Haneman <bill.haneman@sun.com>
368 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
373 * test/stress-test.c:
376 (may have been an incomplete commit yesterday?)
378 2002-06-12 Bill Haneman <bill.haneman@sun.com>
381 Added target for new stress-test.
383 * test/stress-test.c:
384 New test, sends 1000 focus notifies in quick succession.
386 * test/key-listener-test.c:
387 Now we report whether a keylistener registration
388 request succeeded or failed.
390 * test/event-listener-test.c:
391 Uncommented some listeners which are now implemented.
394 2002-06-06 Bill Haneman <bill.haneman@sun.com>
396 * registryd/deviceeventcontroller.c:
397 (spi_controller_update_key_grabs):
398 Fix for #82509, lack of failure notification when
399 ALL_WINDOWS keygrabs fail due to XGrabKey
400 failure: we synchronize the server when
401 registering a passive grab, to make sure we get the
402 error message before the call returns.
404 2002-06-03 Bill Haneman <bill.haneman@sun.com>
406 * test/test-simple.c:
408 Removed #ifdef KEY_IMPL_WORKS guards.
410 Removed #ifdef KEY_IMPL_WORKS guards.
411 Fixed bug which was causing a hang waiting for a
412 "press" event (which was already overwritten by a "release"
413 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
415 Added code to set globals 'key_press_received' and
416 'key_release_received'.
419 Added section "1.1 API Proposed Additions" which
420 lists API additions desired for at-spi-1.1 (only one so far).
421 Updated TODO list a little.
423 2002-06-02 Bill Haneman <bill.haneman@sun.com>
425 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
428 * configure.in: Revved to 1.0.0.
430 * idl/Accessibility_Registry.idl:
431 (registerKeystrokeListener):
432 Added boolean return value.
434 * registryd/registry.c:
435 (notify_listeners_cb): Minor fix to debug output.
437 * registryd/Accessibility_Registry.server.in.in:
438 Revved version number in OAFIID to 1.0.
440 * registryd/registryd.c:
442 Use new OAFIID version.
444 * cspi/bonobo/cspi-bonobo.c:
446 Use new OAFIID version.
452 * atk-bridge/bridge.c:
454 Use new OAFIID version.
456 * registryd/deviceeventcontroller.c:
457 (impl_register_keystroke_listener):
458 Added CORBA_boolean return value.
459 (spi_controller_register_device_listener):
460 Added gboolean return value.
461 (spi_controller_register_global_keygrabs):
462 Added gboolean return value.
463 (spi_key_set_contains_key):
464 Added implementation for many more control keys,
465 for instance F1-F12, arrow keys, End, Home, Page_Up,
467 [TODO: some still not implemented].
469 * text/screen-review-test.c:
470 (text_chunk_pad_string):
471 New function: it provides mapping between coordinate
472 positions of text chunks and character positions in the
473 screen-review-line output string.
474 (text_chunk_to_string):
475 New function, calls text_chunk_pad_string with various
476 pad/delimiter characters. Pushbuttons are delimited with
477 square brackets, Frames with vertical 'pipe' lines, and
478 other text with double quotes.
479 (text_chunk_list_to_string):
480 Calls new function text_chunk_to_string.
481 (toplevel_composite):
482 New function to composite layers CANVAS through
483 POPUP in each toplevel (other layers are composited
484 across toplevels, i.e. BACKGROUND and OVERLAY).
485 (review_buffer_composite):
486 Revise to use new methods.
492 2002-05-31 Laszlo Peter <laca@sun.com>
494 * configure.in: add the Xtst libdir to the runpath on Solaris,
495 since it's not in the default library search path.
497 2002-05-29 jacob berkman <jacob@ximian.com>
499 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
501 2002-05-29 Bill Haneman <bill.haneman@sun.com>
503 * test/screen-review-test.c:
504 (text_chunk_pad_string):
505 Added method, which pads the string according to the
506 text bounds of the chunk. It also takes a 3-character
507 string as a param which indicates the characters to be
508 used for start, padding, and end delimitation of the chunk.
509 (text_chunk_to_string):
510 Changed to use text_chunk_pad_string.
512 * configure.in: Fixed bug in AC_OUTPUT that was
513 causing path substitution in Accessibility_Registry.server
516 2002-05-23 Bill Haneman <bill.haneman@sun.com>
518 * text/screen-review-test.c:
520 New method which attempts a best-guess at clipping
521 text from components (like Java labels) which don't
522 actually implement AccessibleText. This inaccurate
523 clip is based on the assumption that the label is
524 justified left-and-right, and monospaced.
525 (text_chunk_get_clipped_string):
526 We now call guess_string_clip() for text-containing
527 components that don't implement AccessibleText.
529 * test/screen-review-test.c:
530 (review_buffer_get_text_chunk):
531 We now pull "name" from labels if they do not implement
532 AccessibleText (i.e. for Java labels).
533 (get_screen_review_line_at):
534 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
537 Replaceded AC_OUTPUT target
538 registryd/Accessibility_Registry.server with
539 registryd/Accessibility_Registry.server.in.
541 * registryd/Accessibility_Registry.server.in:
542 Removed (this is now a Makefile target).
544 * registryd/Accessibility_Registry.server.in.in:
545 Added (source for target above). We now use $(libexecdir) as
546 prefix for the executable at-spi-registryd.
548 * registry/Makefile.am:
549 Now install at-spi-registryd into $(libexecdir), and build .server
550 file with path (see above).
552 2002-05-22 Bill Haneman <bill.haneman@sun.com>
554 * test/screen-review-test.c:
555 (text_chunk_get_clipped_string):
556 We now check to see if words fall within clip bounds
557 before resorting to character-by-character clip bounds testing.
559 * TODO: Added a section for "2.2 Proposed API Additions".
561 2002-05-21 Bill Haneman <bill.haneman@sun.com>
563 * test/screen-review-test.c:
565 Added a screen review benchmarking and test program to test
568 * cspi/spi_accessible.c:
570 Made some of the debug strings passed to cspi_check_ev a
571 little more specific.
573 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
575 * test/screen-review-test.c: Fix crashes in debug statements
577 2002-05-20 Bill Haneman <bill.haneman@sun.com>
579 * test/screen-review-test.c: Added this file.
581 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
583 * atk-bridge/bridge.c: changed "object:state-change" to
584 "object:state-changed" to match docs.
586 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
588 * atk-bridge/bridge.c: Hooked up state-change event details.
590 2002-05-11 Bill Haneman <bill.haneman@sun.com>
592 * registryd/registry.c:
593 Fixed quarking bug in event string parsing; now events with
594 detail parameters get matched correctly to listeners.
597 * util/idl/Magnifier.idl: remove.
599 * util/*.[ch]: Remove.
600 Magnification utilities and IDL are now in module gnome-mag.
602 2002-05-10 Bill Haneman <bill.haneman@sun.com>
604 * registryd/deviceeventcontroller.c:
605 Fixed bug in grab key conversion which was causing keycode grabs
606 to be converted to AnyKey grabs.
609 updated NEWS file to reflect recent spin-off of gnome-mag.
611 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
613 * cspi/spi_accessible.c: Added exception checks. Fixed completely
614 busted AccessibleStateSet_compare. Removed redundant casts.
616 * cspi/spi-action.c: Removed redundant casts.
618 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
620 * cspi/spi_component.c: Fixed typos and casting error.
622 * cspi/spi_editabletext.c: Removed redundant casts.
624 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
626 * cspi/spi_hypertext.c: Eliminated redundant casts.
628 * cspi/spi_image.c: Eliminated redundant casts.
630 * cspi/spi_registry.c: Eliminated redundant casts.
631 SPI_deregisterGlobalEventListenerAll () removed retval variable.
632 * cspi/spi_selection.c: Removed redundant casts.
633 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
634 handling. Screen geometry and text offsets were being returned as 0
635 on error which is technically valid-- changed these to return -1.
636 Added marshaller for text boundary types to fix bug with boundary
637 types being passed incorrectly to atk.
639 2002-05-09 Bill Haneman <bill.haneman@sun.com>
642 * cspi/spi_registry.c:
643 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
644 which was uncovered by the recent key changes.
646 2002-05-09 Bill Haneman <bill.haneman@sun.com>
648 * test/event-listener-test.c:
650 Added new test, "event-listener-test";
651 this code does two things; it benchmarks traversal time
652 for the accessible hierarchy for the first running accessible
653 app, and it connects listeners for all supported event types.
654 It is thus useful as an example event listener and for
655 diagnostics/debugging of event generation.
657 2002-05-08 Bill Haneman <bill.haneman@sun.com>
660 Removed unnecessary dependency on libutil.
663 Revved micro version: 0.13.1
665 2002-05-08 Bill Haneman <bill.haneman@sun.com>
668 Removed util/Makefile from targets.
671 Removed util subdir from SUBDIRS (temporarily,
672 pending removal of magnifier-only code
676 #ifdef-ed out magnifier dependencies, since
677 magnifier IDL, headers, and binary now live in
678 module gnome-mag and we don't want at-spi to depend
679 on gnome-mag. A magnifier demo which can run alongside
680 simple-at is forthcoming in the gnome-mag module.
682 NOTE: Split magnifier binary, IDL, and magnification
683 activation code from at-spi into module gnome-mag.
685 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
687 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
688 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
690 2002-05-03 Bill Haneman <bill.haneman@sun.com>
693 Revved to version 0.13.0
695 * idl/Accessibility_Registry.idl:
696 Changed definition of KeySet from sequence of longs to sequence of
697 KeyDefinitions, and added KeyDefinition struct.
698 Required for fix to bug 80616.
700 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
701 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
702 to use new definition (see above).
704 * registryd/deviceeventcontroller.c: handle_keygrab(),
705 spi_keyset_contains_key():
706 Changed to make use of new struct; this allows matching based on
707 string key-name, for instance "Tab". This also allows matching of
708 composed characters, non-alphanumeric characters in a way that
709 doesn't involve dependencies on X keysym codes directly, etc.
711 * test/key-listener-test.c:
712 Added test for Alt-Tab key using "string" specification of keyset,
713 and modified one of the tests to use a keycode-based keyset.
714 Thus this test both tests and demonstrates the creation and use of
715 keysets of three forms: specified via keycode array,
716 keysym array, and string array. (The string case only contains a
717 single string, i.e. a string array of length 1).
720 Turned on PRINT_TREE option by default. Also fixed a
721 string-freeing bug in the PRINT_TREE code.
722 Added a listener to window:minimize events.
724 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
726 * atk-bridge/bridge.c:
727 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
728 for window:activate and window:deactiveate
729 (atk_bridge_property_event_listener atk_bridge_signal_listener
730 atk_bridge_window_event_listener) Tidy debug code
732 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
734 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
735 Fixed handling for NULL return value from ATK.
737 * libspi/action.c libspi/component.c libspi/editabletext.
738 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
739 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
740 Removed redundant casts.
742 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
743 Fixed off by one bug.
745 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
746 function not present in idl)
748 2002-05-02 jacob berkman <jacob@ximian.com>
750 * atk-bridge/Makefile.am: make atk-bridge a real module
752 2002-04-26 Radek Doulik <rodo@ximian.com>
754 * libspi/stateset.c (spi_init_state_type_tables): fix size of
755 atk_state_types table
757 2002-04-22 jacob berkman <jacob@ximian.com>
760 * libspi/Makefile.am: add deps on the built files to help
761 automake, and don't version the ORBit typelib
763 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
765 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
766 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
767 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
768 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
769 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
770 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
771 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
772 libspi/accessible.h libspi/accessible.h libspi/base.h
773 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
774 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
775 libspi/relation.h libspi/remoteobject.h libspi/selection.h
776 libspi/spi-private.h libspi/statetset.h libspi/table.h
777 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
778 util/mag_client.h util/mag_control.c util/mag_image.c
779 util/mag_image.h util/magnifier.c util/magnifier.h:
780 Add missing file headers; standardize existing ones
782 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
784 * atk-bridge/bridge.c: Added window event support.
786 2002-04-18 Michael Meeks <michael@ximian.com>
788 * libspi/relation.c (impl_getNTargets): impl.
789 (impl_getTarget): impl.
791 * libspi/Makefile.am: fix stateset install.
793 2002-04-17 Bill Haneman <bill.haneman@sun.com>
796 Started putting useful info in this file.
798 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
800 * atk-bridge/bridge.c:
801 Propagate state-changed notifications to ATs
803 * cspi/spi_registry.c: update docs to reflect actual behavior of
806 2002-04-17 Bill Haneman <bill.haneman@sun.com>
809 Incremented version to 0.12.1
812 Add missing declaration for magnifier_exit,
813 used by mag_control.c - Forte compiler didn't like
814 the implicit redeclaration of the function :-(
817 2002-04-16 Bill Haneman <bill.haneman@sun.com>
820 Revved version to 0.12 due to API change (see below).
822 * cspi/spi-roletypes.h:
823 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
824 definition from the inline docs, and added docs
825 for SPI_ROLE_LAST_DEFINED.
828 * cspi/spi_streamablecontent.c:
829 Added missing seek_type parameter to
830 (so far unused) method,
831 AccessibleStreamableContent_seek().
832 [ RT approval JodyG. ]
835 Fixed docs for SPI_createAccessibleKeystrokeListener.
837 * cspi/spi_registry.c:
838 Fixed docs for SPI_KEYSET_ALL_KEYS.
840 * docs/reference/cspi/at-spi-cspi-sections.txt:
841 Added a number of missing APIs to SECTIONS.
843 2002-04-16 Bill Haneman <bill.haneman@sun.com>
845 * registryd/Makefile.am:
847 * cspi/bonobo/Makefile.am:
848 Add $(X_LIBS) to makefiles.
850 2002-04-15 Bill Haneman <bill.haneman@sun.com>
853 Revved version to 0.11.
855 * libspi/component.c:
856 Added implementation for grabFocus.
858 * idl/Accessibility_Component.idl
859 (Accessibility_Component_grabFocus):
860 Made this method return boolean to indicate success or failure, to
861 be consistent with cspi and the corresponding ATK method.
863 * idl/Accessibility_Selection.idl
864 (Accessibility_Selection_selectAll) :
865 Made these methods return boolean to indicate success or
866 failure, to be consistent with cspi and the corresponding ATK methods.
868 * idl/Accessibility_EditableText.idl
869 (Accessibility_EditableText_setTextContents,
870 Accessibility_EditableText_insertText,
871 Accessibility_EditableText_cutText,
872 Accessibility_EditableText_deleteText,
873 Accessibility_EditableText_pasteText):
874 Made these methods return boolean to indicate
877 * cspi/spi_editabletext.c:
878 Made these methods return booleans.
880 * libspi/selection.c:
881 * libspi/component.c:
882 * libspi/editabletext.c:
883 Connected the boolean returns from ATK
884 to the server-side code referenced above.
886 2002-04-14 Bill Haneman <bill.haneman@sun.com>
888 * idl/Accessibility_Table.idl: Added missing methods,
889 Accessibility_Table_addRowSelection,
890 Accessibility_Table_addColumnSelection,
891 Accessibility_Table_removeRowSelection,
892 Accessibility_Table_removeColumnSelection.
895 Added C wrappers for above IDL:
896 AccessibleTable_addRowSelection,
897 AccessibleTable_addColumnSelection,
898 AccessibleTable_removeRowSelection,
899 AccessibleTable_removeColumnSelection.
902 Added server-side implementation code for IDL above, connecting
903 to pre-existing ATK api.
905 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
907 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
909 * libspi/accessible.c: Added implementation fo
910 Accessibility_Accessible_get_state.
912 * libspi/libspi.h: Added stateset.h to the list of includes.
914 * libspi/stateset.c: Fixed broken implementation.
916 2002-04-13 Bill Haneman <bill.haneman@sun.com>
919 Added implementation code for Accessibility_Magnifier_exit ().
921 * util/mag_control.c:
922 Added test code for above method; you can
923 now kill an existing magnifier via
924 ./mag_control q, from the util directory.
926 * test/key-listener-test.c:
928 Added a new test, for our key listener API.
930 2002-04-11 Bill Haneman <bill.haneman@sun.com>
932 * test/app.c, test/keysynth-demo.c:
934 Replace use of snprintf with g_snprintf.
935 (fix for bugzilla 78249)
937 2002-03-27 Michael Meeks <michael@ximian.com>
941 * util/Makefile.am (INCLUDES): fix.
942 (DONT_DIST_SOURCE): don't distribute the
945 * libspi/Makefile.am (dist-hook): ditto.
947 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
949 * libspi/hypertext.c:
950 Fix warnings when yelp is used with atk-bridge
952 2002-03-21 Michael Meeks <michael@ximian.com>
954 * libspi/application.c (spi_application_new):
955 use spi_accessible_construct so we use the AtkObject
958 2002-03-19 Michael Meeks <michael@ximian.com>
960 * registryd/registry.c (desktop_remove_application),
961 (desktop_add_application): clean coding style.
963 * registryd/desktop.c (spi_desktop_remove_application),
964 (spi_desktop_add_application): kill re-enterency hazards.
965 (spi_desktop_dispose): remove bogus redundant cast
966 obscuring bug; fix bug too.
967 (spi_desktop_init): make the desktop object immortal.
969 2002-03-16 Bill Haneman <bill.haneman@sun.com>
972 Added a #define-guarded tree-traversal step
973 when enumerating the apps (diagnostic tool).
975 2002-03-15 Bill Haneman <bill.haneman@sun.com>
977 * idl/Accessibility_Role.idl:
978 Added ROLE_DRAWING_AREA which seemed to be missing from the
981 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
983 * cspi/spi-roletypes.h cspi/spi_accessible.c
984 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
987 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
988 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
989 AT when applications are added and removed from the desktop. This
990 reverts the previous broken implementation using the backing
991 AtkObject for the SpiDesktop.
993 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
995 * registryd/desktop.c: emit the "children-changed::add" and
996 "children-changed::remove" signals on the backing ATK object for
997 the desktop so AT can tell when applications are started and shut
1000 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1002 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
1004 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1006 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
1008 * cspi/spi_accessible.c: Implemented c bindings for stateset support
1010 * cspi/state-types.h: synched with IDL and ATK
1012 2002-03-13 Bill Haneman <bill.haneman@sun.com>
1014 * libspi/accessible.c
1015 (impl_accessibility_accessible_get_child_at_index):
1016 Change return value for g_return_if_fail ()
1017 to CORBA_OBJECT_NIL instead of "0" (!)
1019 * registryd/Makefile.am:
1020 * registryd/Accessibility_Register.server.in:
1021 Changed name of executable, "registryd",
1022 to something more informative:
1025 2002-03-13 Michael Meeks <michael@ximian.com>
1027 * atk-bridge/bridge.c (atk_bridge_init): don't register
1028 if we're in a bonobo-component, rather than a bonobo app.
1030 2002-03-13 Michael Meeks <michael@ximian.com>
1032 * atk-bridge/bridge.c (gtk_module_init): split
1033 out body to (atk_bridge_init): here, since otherwise
1034 we get symbol conflicts and oddness when invoked
1035 from (gnome_accessibility_module_init): here (upd.)
1037 2002-03-11 Bill Haneman <bill.haneman@sun.com>
1040 New file. Explicitly allow "build sheriff" putbacks provided
1041 they are tested on Solaris.
1043 * docs/reference/cspi/Makefile.am:
1044 Added '-' to the "cp" command for index.sgml.
1045 ("patch by thomasvs, soon coming to a GUADEC near you")
1048 Incremented version number (0.9.0) for new release.
1049 Changed macro that checks for popt, to better detect
1050 obsolete versions of popt.
1053 Added X_LIBS to AC_SUBST, for applications
1054 that call Xlib API directly.
1057 2002-03-07 Bill Haneman <bill.haneman@sun.com>
1060 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
1063 Fix regression caused by hard-coding major
1064 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
1067 * test/test-simple.c (test_editable_text),
1068 (test_test): revert previous change (error was
1069 a regression in gail which is now fixed).
1071 2002-03-04 Michael Meeks <michael@ximian.com>
1073 * test/test-simple.c (test_editable_text),
1074 (test_text): pass G_MAXINT instead of '-1' for
1075 whole string - is this a good thing !?
1077 * cspi/spi_accessible.c
1078 (Accessible_getRelationSet): fix crasher bug
1079 overwriting the end of the array.
1081 * test/test-simple.c (validate_accessible): free,
1082 not g_free returned relation set.
1084 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
1086 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
1087 implemented stateset support
1089 * idl/Accessibility_State.idl: Made necessary changes to
1090 the IDL to support state sets.
1092 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1094 * registryd/deviceeventcontroller.c:
1095 Added implementation for generateMouseEvent.
1097 * cspi/spi_registry.c:
1098 Connected new implementation for generateMouseEvent
1101 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1104 Incremented revision (but no change in public API
1105 outside of 'utils', which are not installed public yet.)
1107 * libspi/component.c:
1108 Changed to use atk_component API for layers and
1109 mdi_zorder, instead of deprecated atk_object API.
1111 Magnification Utility Enhancements:
1114 Added implementation of createZoomRegion, clearAllZoomRegions,
1115 resizeZoomRegion. Added new commandline argument
1116 "--no-initial-region". Note that clearAllZoomRegions doesn't
1117 unmap the old '0' region as it should (yet), and the other
1118 methods only work when creating/resizing a single region,
1119 which is "region 0".
1120 (Code for multiple region support will be added later.)
1123 Now we raise the magnifier window each time it's refreshed;
1124 this will help keep it on top.
1126 * util/mag_client.h:
1127 Added simple wrappers for above, used by mag_control.
1128 For general use, it's recommended to use the bonobo magnifier
1129 control API directly instead of using these wrappers.
1132 Moved ZoomRegionData from magnifier.c to this file.
1134 * util/mag_control.c:
1135 Added some code to exercise new IDL implementations.
1137 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
1139 * libspi/text.c: Provide implementation for getAttributes.
1141 2002-02-04 Bill Haneman <bill.haneman@sun.com>
1144 Incremented revision.
1146 * test/test-simple.c:
1147 Replaced use of deprecated g_main_iteration with
1148 g_main_context_iteration.
1150 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
1153 Incremented revision for desktop alpha 2.
1155 2002-01-28 Mark McLoughlin <mark@skynet.ie>
1157 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
1160 * test/simple-at.c: include netinet/in.h.
1162 2002-01-24 Mark McLoughlin <mark@skynet.ie>
1164 * cspi/spi_accessible.c: (Accessible_getRelationSet):
1165 use NULL, not CORBA_OBJECT_NIL.
1167 * libspi/accessible.c:
1168 (impl_accessibility_accessible_get_relation_set):
1169 allocate the sequence correctly.
1171 * libspi/remoteobject.h: kill spi_remote_object_new.
1173 * test/test-simple.c: (validate_accessible): add code
1174 to test relation sets, now all we need is to figure
1175 out how to excercise this code path :/
1177 2002-01-18 Michael Meeks <michael@ximian.com>
1179 * test/test-simple.c
1180 (key_listener_cb): consume the key.
1181 (test_keylisteners): update.
1182 (main): wait for any pending unrefs on events.
1184 * registryd/deviceeventcontroller.c
1185 (spi_controller_update_key_grabs): only re-issue the
1186 grab on a key release.
1187 (spi_device_event_controller_forward_key_event):
1188 refresh the keygrabs before we notify the listeners,
1189 to reduce the X ungrab / re-grab race.
1190 (spi_controller_register_with_devices): remove
1191 XSelectInput - we do that with the gdk_window_ call.
1192 (_spi_controller_device_error_handler): return a value.
1193 s/GDK_DISPLAY/spi_get_display/
1195 2002-01-17 Michael Meeks <michael@ximian.com>
1197 * registryd/deviceeventcontroller.c
1198 (_deregister_keygrab): don't blow out the later
1201 * test/test-simple.c (test_keylisteners): do a
1202 more intelligent validation.
1204 2002-01-14 Michael Meeks <michael@ximian.com>
1206 * atk-bridge/bridge.c
1207 (gnome_accessibility_module_init),
1208 (gnome_accessibility_module_shutdown): impl.
1209 (gtk_module_init): protect vs. double inits.
1210 (add_signal_listener): impl.
1211 (spi_atk_bridge_state_event_listener): kill
1212 (deregister_application): split out of
1213 (spi_atk_bridge_exit_func): here.
1215 2002-01-18 Bill Haneman <bill.haneman@sun.com>
1218 Added caret tracking when using magnifier, and
1219 now use text bounds for focus tracking of text elements, rather than
1220 the component bounds - this is helpful for short text fields in long
1221 table cells, at high magnification.
1223 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1225 * registryd/deviceeventcontroller.c:
1226 Regression fix for keylistener de-registration; global keygrabs
1227 were not being released when deregisterKeystrokeListener was
1228 called in cspi, since
1229 Accessibility_DeviceEventController_deregisterKeystrokeListener
1230 was called with a zero-length keyset. That is because the cspi
1231 method, SPI_deregisterKeystrokeListener, does not take a keyset
1232 parameter but instead should remove all the key grabs held be a
1234 The code in impl_deregister_keystroke_listener was changed to copy
1235 the keylist from the listener instance previously registered with
1236 the DeviceEventController before releasing the grabs.
1238 * registryd/registry.c:
1239 * registryd/deviceeventcontroller.c:
1240 * libspi/spi-private.h:
1242 Changed spelling of "re-enterant" to "re-entrant" globally.
1244 2002-01-16 Bill Haneman <bill.haneman@sun.com>
1246 * test/test-simple.c:
1247 Changed key listeners test - the test was slightly mis-using the
1248 (admittedly poorly documented) SPI_generateKeyboardEvent API.
1249 It now uses '=' as the key event listened to and generated,
1250 relying on a keysym match rather than assuming that keycode 33
1251 is always equal to keysym '!'.
1253 2002-01-15 Bill Haneman <bill.haneman@sun.com>
1256 Changed simple-at to use a specific keyset, rather than
1257 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
1258 manager, desktop, etc.
1260 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1262 * registryd/deviceeventcontroller.c:
1263 Replaced standard X error handler with a special handler that
1264 is non-fatal for failed keygrabs. This works around
1265 problems with keygrab clashes sometimes observed on
1267 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
1268 mouse handling code as yet).
1270 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1273 Incremented revision for desktop alpha release.
1276 Fixed a couple of the more glaring errors (still not
1279 2002-01-11 Michael Meeks <michael@ximian.com>
1281 * registryd/deviceeventcontroller.c
1282 (spi_device_event_controller_forward_key_event): kill
1283 XUngrabKey / XKeyGrab race.
1284 (spi_controller_grab_keyboard): rename to
1285 (spi_controller_update_key_grabs): this, and deal
1286 with incremental adding / removing grabs more
1288 (_register_keygrab): ensure we're not pending a remove.
1289 (spi_grab_mask_free): impl.
1290 (spi_controller_register_global_keygrabs): split out
1292 (handle_keygrab): impl.
1293 (_deregister_keygrab): impl.
1294 (spi_controller_deregister_global_keygrabs): impl.
1295 (spi_controller_update_key_grabs): re-issue the grab if
1296 we just recieved a notification.
1298 * test/test-simple.c (key_listener_cb): remove debug.
1300 * registryd/deviceeventcontroller.c
1301 (spi_controller_register_device_listener): after
1302 registering a global keygrab, actualy register it !
1303 don't wait for a timeout; doh !
1305 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
1306 to make it more readable / manipulable.
1307 s/grabmask/grab_mask/ s/refcount/ref_count/
1308 s/keyval/key_val/ s/modmask/mod_mask
1310 2002-01-08 Michael Meeks <michael@ximian.com>
1312 * registryd/deviceeventcontroller.c
1313 (spi_controller_register_with_devices): use gdk calls to
1315 (global_filter_fn): implement the filter.
1316 (spi_device_event_controller_check_key_event): rename to
1317 (spi_device_event_controller_forward_key_event): this & upd.
1318 (spi_get_display): replace with GDK_DISPLAY.
1320 * registryd/deviceeventcontroller.c
1321 (spi_controller_deregister_device_listener): unroll into
1322 (impl_deregister_keystroke_listener): here to simplify.
1323 (spi_controller_register_global_keygrabs): split cut and
1324 paste (!) out into (_register_keygrab): here, shorter & sweeter.
1325 (spi_controller_deregister_device_listener): remove.
1326 (impl_register_mouse_listener): remove, no mouse listener
1327 support in at-spi-1.0
1329 * registryd/registry.c
1330 (_device_event_controller_hook): kill.
1331 (spi_registry_init): upd.
1333 * registryd/deviceeventcontroller.c
1334 (spi_device_event_controller_class_init): upd.
1335 (spi_check_key_event): merge into.
1336 (spi_device_event_controller_check_key_event):
1337 here and kill strange static ev init, don't leak
1338 the x_event - nor dynamicaly allocate it.
1340 * registryd/registry-main.c (main): re-direct
1341 timeout to remove strange vtable mess.
1343 * registryd/deviceeventcontroller.c
1344 (remove_listener_cb): impl.
1345 (spi_controller_deregister_device_listener):
1346 fix re-enterancy hazard.
1348 2002-01-07 Michael Meeks <michael@ximian.com>
1350 * registryd/deviceeventcontroller.c
1351 (spi_device_event_controller_new): upd.
1352 (impl_notify_listeners_sync): upd. debug.
1353 (spi_notify_keylisteners): fix re-enterancy hazards,
1354 prettify, remove O(n*n) iteration.
1355 (spi_controller_grab_keyboard): fix iteration.
1356 (spi_check_key_event): re-format to suit coding style.
1357 Clean all the warnings - we're warning free.
1359 * registryd/deviceeventcontroller.h:
1360 * registryd/registry.h: make mutualy referential with
1361 typesafe forward references instead of (!) void pointer
1364 2002-01-11 Michael Meeks <michael@ximian.com>
1366 * cspi/spi_accessible.c (role_names): add a role name
1367 to sync this array with the enum; and make the regression
1370 2002-01-10 Michael Meeks <michael@ximian.com>
1372 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
1373 allow expansion of enumeration & kill warning.
1375 * test/test-simple.c (key_listener_cb): impl.
1376 (test_keylisteners): impl.
1378 * cspi/spi-listener.h: make listener signatures const
1379 on the provided (const) events.
1381 * test/keysynth-demo.c: upd. to const events.
1383 * test/simple-at.c: ditto.
1385 2002-01-11 Bill Haneman <bill.haneman@sun.com>
1388 Rev the version to 0.5 (the previous tarball was named 0.4,
1389 even though the micro number was 3), so we need to rev upwards
1390 again for beta2/"desktop-alpha"
1393 Checked in a demo script, which requires editing before use!
1394 Proceed with caution.
1397 Fixed typo in header which was redefining SPI_ACTION_CLASS.
1399 * cspi/spi_accessible.c:
1400 Add a couple of missing enum initializations, and fix some enum
1403 * cspi/spi_registry.c:
1404 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
1406 * docs/reference/cspi/at-spi-cspi-sections.txt:
1407 Remove/fix a couple of broken document references.
1410 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
1411 as Alt-Control to listen for commands, since on some systems
1412 Control-Alt may already be grabbed.
1414 2002-01-10 Bill Haneman <bill.haneman@sun.com>
1417 Update version number to 0.4 for Beta2.
1419 * libspi/accessible.c, libspi/accessible.h:
1420 Expose spi_accessible_construct, to enable libgail-gnome
1421 construction from spi_accessible subtype.
1423 * utils/magnifier.c:
1424 Workaround for bug in some non-gnome-compliant window managers
1425 which made magnifier resize improperly.
1427 2002-01-09 Bill Haneman <bill.haneman@sun.com>
1429 * libspi/accessible.c: (spi_accessible_new) :
1430 Move the test for SPI_IS_REMOTE_OBJECT to
1431 spi_accessible_new_return, fixing a bug and compile time warning.
1433 2002-01-08 Michael Meeks <michael@ximian.com>
1435 * registryd/registry.c (parse_event_type): remove strndup.
1437 * libspi/Makefile.am (libspi_la_SOURCES): remove
1438 sources already included in the headers section.
1440 * libspi/util.c: add.
1442 * libspi/spi-private.h: add.
1444 * registryd/registry.c: update to moved list iterators.
1446 2002-01-05 Michael Meeks <michael@ximian.com>
1448 * test/simple-at.c (main): upd. auto-module set to atk-bridge
1450 * test/test-simple.c (main): ditto.
1452 2002-01-04 Michael Meeks <michael@ximian.com>
1454 * libspi/accessible.c (spi_accessible_new): remove 2nd,
1455 redundant construct.
1457 * registryd/registry.c
1458 (get_listener_list): impl.
1459 (impl_accessibility_registry_register_global_event_listener):
1460 re-impl. to simplify using ~, remove dodgy const cast off.
1461 (parse_event_type): constify.
1462 (impl_accessibility_registry_deregister_global_event_listener_all):
1463 re-write, more efficiency and simplicity, kill re-enterancy
1465 (compare_listener_corbaref, compare_corba_objects),
1466 (compare_listener_quarks): define out.
1467 (impl_accessibility_registry_deregister_global_event_listener):
1468 re-write for effiency, and nail re-enterancy hazard.
1469 (impl_accessibility_registry_get_desktop_list): impl.
1470 (re_enterant_list_delete_link): impl.
1471 (re_enterant_list_foreach): impl.
1472 (remove_listener_cb): impl.
1473 (_registry_notify_listeners): kill.
1474 (notify_listeners_cb): impl.
1476 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
1477 (SPI_getDesktopList): impl.
1479 * test/test-simple.c (test_desktop): test the methods.
1481 2002-01-03 Michael Meeks <michael@ximian.com>
1483 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
1484 keystrings since we free them
1485 (SPI_freeAccessibleKeySet): in here.
1487 * libspi/accessible.c (spi_accessible_new): kill warning,
1488 wonder what is going on with the constructor here.
1490 2002-03-01 Bill Haneman <bill.haneman@sun.com>
1492 * libspi/accessible.c (spi_accessible_new ()) :
1493 Added check to see if AtkObject is an SpiRemoteObject before
1494 creating an SpiAccessible.
1496 2002-05-01 Bill Haneman <bill.haneman@sun.com>
1498 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
1499 Enable keygrabs using the Control modifier, now that they are
1500 working properly (they were previously disabled).
1503 Change the command keygrab for this demo to "Control+Alt", so as
1504 to conflict with fewer other key commands on the system; this
1505 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
1507 Removed a pointlessly-chatty keylistener for unshifted keys
1508 (shifted keys are still reported).
1510 2002-02-01 Bill Haneman <bill.haneman@sun.com>
1512 * libspi/remoteobject.h:
1513 * libspi/remoteobject.c:
1514 Added definitions for special AtkObject subtype, required for
1515 support of remote components (specifically, used by BonoboControl
1516 accessibility implementation).
1518 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
1520 * cspi/spi.h: synched relation types with ATK
1522 * cspi/spi_accessible.c: Added implementations of
1523 AcccessibleRelation_* methods
1525 * idl/Accessibility_Relation.idl: added getRelationTypeName
1526 method. Synched known relation types with ATK. Allowed for
1527 relation type extension with the RELATION_EXTENDED type.
1529 * libspi/relation.c: Provided implementations for
1530 AccessibleRelation methods.
1532 2002-01-01 Bill Haneman <bill.haneman@sun.com>
1534 API tweaks for today's API 'freeze'.
1537 Added placeholder functions to allow future compatible expansion
1538 of the IDL interfaces.
1540 * idl/Accessibility_Registry.idl:
1541 Changed generateKeyEvent to generateKeyboardEvent. Changed
1542 signature of this method to accept an optional keystring in
1543 parameter (for complex text input synthesis) and changed use of
1544 simple 'boolean' parameter in registerKeystrokeListener to a
1545 struct, EventListenerMode.
1547 * cspi/spi_accessible.c:
1549 * cspi/spi_streamablecontent.c:
1550 Added references to AccessibleStreamableContent interface, and
1551 definition and implementation of AccessibleStreamableContent
1554 * cspi/spi_registry.c:
1556 Changed generateKeyEvent API to generateKeyboardEvent,
1557 taking a new (optional) keystring parameter to support complex
1562 Renamed directory (to better reflect its actual purpose, bridging
1563 from at-spi to ATK). The .so module is also now named
1566 * idl/Accessibility_Hypertext.idl:
1567 * libspi/accessible.c:
1568 * libspi/hypertext.h:
1569 * libspi/hypertext.c:
1570 Changed Accessibility_Hypertext to *not* derive from
1573 * cspi/spi_registry.c:
1574 Added list of legal event type names for 'window' events, which
1575 completes the registry event API.
1577 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
1579 * at-bridge/bridge.c: Added registration for separate
1580 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
1581 signals. If either of the first two parameters to the generic
1582 bridge signal handler are ints, they are passed on as event
1583 details. This allows an AT to determine what text was inserted.
1585 2001-12-21 Bill Haneman <bill.haneman@sun.com>
1587 * registryd/deviceeventcontroller.c:
1588 Fixed regressions in generateKeyEvent caused by the removal of
1589 gdk_init from registryd; we now use pure X calls to connect to the
1590 display, which makes sense because deviceeventcontroller already
1591 uses a fair bit of X API (should eventually be migrated to a
1592 'portability layer').
1594 * registryd/desktop.c:
1595 Fixed minor regression in spi_desktop_init, changed the way the
1596 desktop name is being set to work with new spi_base API
1597 (gobject-based, rather than AtkObject-based).
1599 * registryd/Makefile.am:
1600 Minor revision of makefile to use XTST_LIBS variable rather than
1601 hard-wiring the Xtst LD_ADD element.
1603 * test/keysynth-demo.c:
1604 Tweaked an output message; added initialization of the
1605 'keystrings' member of the "switch listener" key_set.
1607 * libspi/relation.c:
1608 Squashed compile-time warning.
1610 * libspi/accessible.c:
1611 Cosmetic and formatting fixes, renamed a static method.
1613 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
1615 * libspi/accessible.c
1617 * libspi/application.c
1620 * libspi/component.c
1621 * libspi/editabletext.c
1622 * libspi/hyperlink.c
1623 * libspi/hypertext.c
1625 * libspi/selection.c
1629 * registryd/desktop.c:
1630 Changed SpiBase to contain a GObject pointer rather than an AtkObject
1632 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1634 * idl/Accessibility_Registry.idl:
1635 Added boolean member 'is_text' to DeviceEvent. This is for the
1636 use of key events, and helps prevent ambiguity between composed
1637 key strings and keysym names, since both may potentially be
1638 returned in the 'event_string' member.
1640 * at-bridge/bridge.c:
1641 * registryd/deviceeventcontroller.c:
1642 Use the 'is_text' member when notifying device event listeners.
1643 Knon issue: composed characters are not dealt with correctly by
1644 the global key listener implementation yet.
1646 2001-12-17 Bill Haneman <bill.haneman@sun.com>
1648 * at-bridge/bridge.c:
1649 Namespaced local static methods to spi_atk_bridge_* where
1650 previously named bridge_*, and spi_* elsewhere.
1652 * at-bridge/bridge.c:
1653 * cspi/bonobo/cspi-bonobo-listener.c:
1654 Added demarshalling/conversion for string member of
1655 Accessibility_DeviceEvent to AccessibleKeystroke.
1657 * registryd/deviceeventcontroller.c:
1658 Added code to fill the Accessibility_DeviceEvent key string value
1659 member for global key events (i.e. from XGrabKey), to match
1660 behavior of Accessibility_DeviceEvent from the toolkit key events
1661 from the bridge. Fixed timestamp in global key event notifications.
1664 Added printout of key event's string value to
1665 report_ordinary_key_event, for demo/debugging purposes.
1667 2001-12-15 Bill Haneman <bill.haneman@sun.com>
1669 * idl/Accessibility_Registry.idl:
1670 Removed Accessibility_KeyStroke structure in favor of generic
1671 Accessibility_DeviceEvent structure.
1672 Changed Accessibility_ControllerEventMask from a struct to an
1675 * at-bridge/bridge.c:
1676 Changed APIs to use DeviceEvent structure as above, and removed
1677 bogus casting between these event structures.
1679 * cspi/spi-listener.h:
1680 Added keystring member of AccessibleKeystroke structure, to enable
1681 matching on event "names" rather than only hardware codes and
1685 Added keystrings member of AccessibleKeySet struct, to allow
1686 matching on event names (as above).
1687 Added declarations for SPI_createAccessibleKeySet and
1688 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
1689 event modmasks directly as unsigned ints rather than structs with
1690 refcounts, in the DeviceEventController methods.
1692 * cspi/spi_registry.c:
1693 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
1695 * cspi/spi-roletypes.h:
1696 Added documentation of newly added SPI Roles.
1698 * cspi/bonobo/cspi-bonobo-listener.c:
1699 Changes in support of API changes above.
1701 * libspi/accessible.c:
1702 Converted APIs to use DeviceEvent structure (see IDL changes
1705 * registryd/deviceeventcontroller.c:
1706 Added DEControllerGrabMask structure to track keygrabs not only by
1707 modmask but by keyset as well; this allows us to do "global"
1708 (i.e. X) keygrabs on a per-key or keyset basis rather than always
1709 grabbing on AnyKey and then filtering after-the-fact.
1710 Bugfixes for event filtration mean that we don't get false matches
1711 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
1713 * registryd/deviceeventcontroller.c:
1714 Namespaced a number of static methods to use spi_ prefix. Major
1715 revision to internals of global (i.e. X) key grabs.
1717 * registryd/deviceeventcontroller.h:
1718 Removed keymask_list and added keygrabs_list to
1719 SpiDeviceEventController struct.
1722 Added use of SPI_createAccessibleKeySet API when creating a
1723 listener for only one key. Attach a listener to "shift spacebar
1724 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
1725 X key event names to SPI key event names, so that listeners are
1726 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
1728 * test/keysynth-demo.c:
1729 Changed (incorrect) use of X key event names (KeyPressed,
1730 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
1733 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1735 * libspi/accessible.c:
1736 Convert all AtkRole enumerations to Accessibility_Role enums when
1737 getting a role from an AtkObject.
1739 * cspi/spi_accessible.c:
1740 Complete the conversion of Accessibility_Role enums at runtime to
1741 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
1742 role enums correctly match those given in spi-roletypes.h.
1743 Re-synchronize the local names list for AccessibleRole_getName ().
1744 AccessibleRole_getName is now deprecated, since it duplicates the
1745 more reliable Accessible_getRoleName.
1746 Added some role types from Accessibility_Role.idl.
1748 * idl/Accessibility_Role.idl:
1749 Added some role types used by AtkRole.
1751 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1754 * cspi/spi_registry.c:
1756 * cspi/cspi-bonobo-listener.c:
1757 Namespaced all methods that did not begin with an "SPI_" or
1758 "Accessible" prefix to "SPI_".
1761 Homogenized internal function namespace to "cspi_" for statics.
1764 Patched tests to use the new CSPI API.
1766 * docs/reference/cspi/at-spi-cspi-sections.txt:
1767 Updated docs to reflect namespace changes, and added a number of
1768 methods to the documentation.
1770 * registryd/registry.c:
1771 Changed use of strings and string hashes in listener event
1772 matching and parse_event_string to use GQuark, which is guaranteed
1775 * registryd/registry.h:
1776 Squashed annoying warning.
1778 * idl/Accessibility_Role.idl:
1779 Extended range of available Accessibility_Role values.
1781 * cspi/spi_accessible.c:
1782 Re-ordered role names.
1784 2001-12-12 Bill Haneman <bill.haneman@sun.com>
1786 * idl/Accessibility_Value.idl:
1787 Revert use of union back to CORBA_double, since the double type is
1788 more efficient and can contain the other types without loss of
1791 * idl/Accessibility_Accessible.idl:
1792 Added method Accessibility:Accessible:getRoleName, to complement
1793 Accessibility:Accessible:getRole.
1795 * cspi/spi_accessible.c:
1797 Added C binding for above, Accessible_getRoleName (), and changed
1798 signature of Accessible_getRole () to return an AccessibleRole.
1800 * cspi/spi-roletypes.h:
1801 Changed AccessibleRole_getName to return a char * instead of a
1802 const char *. This method is now at least temporarily deprecated
1803 in favor of asking Accessibles for their RoleNames directly.
1806 Revert to match Accessibility_Value.idl;
1810 Change signature of AccessibleValue methods to use double rather
1814 * cspi/spi_accessible.c:
1815 Changed Accessible_getRole to return an AccessibleRole enum rather
1816 than a UTF-8 string. The UTF-8 string can still be obtained via
1817 AccessibleRole_getName ().
1819 * test/test-simple.c:
1820 Add test_action. Small fixup to match API change to Accessible_getRole.
1823 Bugfix for get_action_from_servant ().
1825 2001-12-11 Michael Meeks <michael@ximian.com>
1827 * libspi/libspi.h: remove registry.h and
1828 desktop.h, deviceeventcontroller.h
1830 * libspi/Makefile.am: remove registry.[ch],
1831 desktop.[ch], deviceeventcontroller.[ch]
1833 * registryd/Makefile.am: add registry.[ch],
1834 desktop.[ch], rename registryd.c to registry-main.c.
1835 add deviceeventcontroller.[ch]
1837 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1840 Replace setenv() call with putenv ().
1842 * libspi/component.c:
1843 Bugfix in AccessibleComponent_getExtents (),
1846 2001-12-11 Michael Meeks <michael@ximian.com>
1848 * libspi/image.c (impl_getImageExtents): impl.
1849 (spi_image_class_init): upd.
1852 (AccessibleImage_getImageDescription): fix daft bug
1855 * test/test-simple.c (global_listener_cb): update
1856 to only quit if not --poke
1857 (main): catch --poke.
1858 (validate_accessible): upd. dumping, call test_image
1861 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1864 * idl/Accessibility.idl: update all IDL includes.
1866 * idl/*.idl - rename to namespace - this sucks, blame
1867 mjs' bad decision for oafd.
1869 * test/test-simple.c (create_test_window): add more tests.
1870 (create_tree): split this out.
1871 (validate_accessible): bugfix.
1873 2001-12-11 Michael Meeks <michael@ximian.com>
1875 * cspi/bonobo/cspi-bonobo-listener.c:
1876 (cspi_kestroke_listener_unref),
1877 (cspi_event_listener_unref): impl. undoing previous
1878 homenous environment - for Bill.
1880 * cspi/spi_table.c (long_seq_to_array): use
1883 * cspi/spi_main.c: split out all bonoboish bits into
1886 * cspi/spi-impl.h: upd. typedefs.
1888 * cspi/spi_registry.c: update to lowlevel API,
1889 return booleans to indicate success in some places.
1891 * cspi/spi_event.c: update to lowlevel API.
1893 * cspi/bonobo/Makefile.am: add.
1895 * cspi/bonobo/cspi-lowlevel.h: add
1897 * cspi/bonobo/cspi-bonobo.c: add
1899 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1901 * cspi/Makefile.am: remove spi-listener-impl.[ch],
1902 (SUBDIRS): add bonobo, link in the libs.
1904 * cspi/spi-util.c: kill this file.
1906 * TODO: merge in my bits.
1908 2001-12-11 Michael Meeks <michael@ximian.com>
1910 * test/test-simple.c (test_value, test_table, main):
1911 remove unused variables causing warnings.
1913 * configure.in: cleanup checks - require gail.
1915 2001-12-11 Bill Haneman <bill.haneman@sun.com>
1918 Changed Value interface to use SValue (scalars) rather than
1919 assuming all values are floats. This allows floats, doubles,
1920 longs, shorts, and unsigned values to be manipulated.
1921 Introduced Accessibility:SValue union.
1924 Updated to use new API above, and to work correctly with GValues
1925 of different types in AtkValue.
1928 Updated to use new API above. cspi's API is as yet unchanged.
1931 Updated the Value revision action item.
1933 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1935 * test/test-simple.c:
1936 Added test_table (GtkTreeView widget in test window to follow).
1937 Un-commented test_value, added GtkRange widget.
1938 Added GtkTreeView widget with GtkListStore. It passes regression
1939 test but leaks one SPI object for some reason.
1942 Fixed bug in impl__set_currentValue.
1944 2001-12-10 Michael Meeks <michael@ximian.com>
1946 * cspi/spi_text.c: audit for exception handling,
1947 tolerating NULL object references safely etc.
1949 * cspi/spi_value.c: ditto.
1951 * cspi/spi_table.c (AccessibleTable_getSummary),
1952 (AccessibleTable_getAccessibleAt),
1953 (AccessibleTable_getRowHeader),
1954 (AccessibleTable_getColumnHeader),
1955 (AccessibleTable_getCaption): fix bugs hidden by
1957 (long_seq_to_array): impl.
1958 (AccessibleTable_getSelectedRows),
1959 (AccessibleTable_getSelectedColumns): use it.
1961 2001-12-10 Bill Haneman <bill.haneman@sun.com>
1964 Added a TODO list (rough and short for now).
1966 * cspi/spi_hyperlink.c:
1967 * cspi/spi_hypertext.c:
1968 Fixed macro name typos, and remove use of obsolete macro in
1969 AccessibleHyperlink_getLink.
1971 * cspi/spi_action.c:
1972 * cspi/spi_accessible.c:
1973 * cspi/spi_application.c:
1974 * cspi/spi_component.c:
1975 * cspi/spi_selection.c:
1978 Documentation fixes (removed return values from ref/unref methods).
1980 2001-12-10 Michael Meeks <michael@ximian.com>
1982 * cspi/spi_action.c: audit for exception handling,
1983 tolerating NULL object references safely etc.
1985 * cspi/spi_accessible.c: ditto.
1987 * cspi/spi_component.c: ditto.
1989 * cspi/spi_editabletext.c: ditto.
1991 * cspi/spi_hyperlink.c: ditto.
1993 * cspi/spi_hypertext.c: ditto.
1995 * cspi/spi_image.c: ditto.
1997 * cspi/spi_selection.c: ditto.
1999 2001-12-10 Michael Meeks <michael@ximian.com>
2001 * configure.in: use cspi/libspi.pc.in instead.
2003 * Makefile.am (pkgconfig_DATA): upd. to match.
2005 * test/simple-at.c (report_focus_event): kill hacks around
2006 bad return values, use putenv not setenv
2008 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
2009 fire ChildGone - I killed it.
2011 * libspi/component.c
2012 (impl_accessibility_component_get_extents): remove
2015 * idl/Accessible.idl: kill ChildGone exception.
2017 * cspi/*.[ch]: kill int return from ref / unref.
2019 * cspi/spi_main.c (cspi_object_add_check): fold into
2020 (cspi_object_add): here.
2022 * cspi/spi_component.c (AccessibleComponent_getExtents):
2023 handle exceptions elegantly.
2025 * cspi/spi-private.h (cspi_check_ev_return),
2026 (cspi_return_if_fail): impl.
2028 * cspi/spi_accessible.c: use extensively.
2029 (AccessibleStateSet_equals): add direct compare check.
2031 * cspi/spi_selection.c: tolerate NULL objs, and check
2032 exceptions before return.
2034 * cspi/spi-util.c (cspi_warn_ev): rename to
2035 (cspi_check_ev): this & don't pass ev in; no point.
2037 2001-12-10 Michael Meeks <michael@ximian.com>
2039 * test/test-simple.c: use putenv not setenv
2040 (get_environment_vars): more chatty if you're not using
2043 * test/simple-at.c: do the setenv so more people see the
2046 2001-12-10 Bill Haneman <bill.haneman@sun.com>
2048 * libspi/registry.c:
2049 Changed check of CORBA_environment on notification to be a warning
2050 instead of an error for the moment, since we can recover from this
2051 error when caused by a queued notification from a dead app.
2054 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
2055 used by all current implementors of AtkValue), and coerce to
2056 CORBA_float. (Proper general case fix may require change to Value.idl).
2058 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2062 * cspi/spi_accessible.c:
2063 Documentation fixes: added user_data params to documentation for
2064 listeners and callbacks.
2066 * cspi/spi_accessible.c:
2067 Changed AccessibleStateSet_compare to return a
2068 StateSet rather than return the difference set into a third parameter.
2071 2001-12-09 Bill Haneman <bill.haneman@sun.com>
2074 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
2075 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
2079 Remove subdirectory po from SUBDIRS for now.
2081 * at-bridge/bridge.c:
2082 Beefed up a couple of debug printouts.
2083 One-line fix for signal notification name formatting.
2085 * libspi/accessible.c:
2086 Added assertion to spi_accessible_new ().
2088 * libspi/application.c:
2089 Put #ifdef qualifiers around a printf.
2092 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
2094 * registryd/Makefile.am:
2096 Replaces use of XML_I18N_MERGE_SERVER_RULE with
2097 INTLTOOL_SERVER_RULE macro.
2100 Added an event listener for several ATK signals, for
2101 testing and debugging. Removed a few g_warnings.
2102 Added test output if focussed item implements the Value interface.
2104 * test/test-simple.c:
2105 Added test_value () function (known not to pass at the moment, so
2106 not actually called yet.
2108 2001-12-08 Michael Meeks <michael@ximian.com>
2110 * at-bridge/bridge.c (bridge_focus_tracker),
2111 (emit_eventv): fix the same ref. leak.
2112 (register_atk_event_listeners): don't leak.
2114 * cspi/spi-listener-impl.c (cspi_event): more
2115 protection from client code.
2117 * test/test-simple.c (test_desktop): unref the app.
2119 * test/Makefile.am: upd. TESTS.
2121 * at-bridge/bridge.c (bridge_exit_func): release the registry.
2123 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
2125 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
2127 * cspi/spi_registry.c: constify in strings.
2128 (deregisterGlobalEventListenerAll): don't release the ref.
2130 * cspi/spi.h: start removing redundant / conflicting
2131 gtkdoc comments, making the API readable at a glance :-)
2133 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
2135 * test/keysynth-demo.c (keysynth_exit, main): upd.
2137 * test/simple-at.c (main, simple_at_exit): upd.
2139 * test/test-simple.c (unutterable_horror): kill.
2140 (utterable_normal_derefs): kill.
2141 (main): upd & do a setenv before gtk_init, so that we
2142 can use memprof - and to save the pain of remembering
2143 this, if we're running under memprof - don't exit.
2145 * cspi/spi_main.c (SPI_exit): return exit status
2147 (SPI_event_quit): impl.
2148 (SPI_event_main): simplify.
2149 (cspi_is_gnome_app): kill.
2150 (SPI_init): kill isGNOMEapp arg.
2152 * at-bridge/bridge.c (register_atk_event_listeners):
2153 re-instate the unref.
2154 (bridge_exit_func): don't re-activate the registry,
2155 protect vs. theoretical re-entry, use the
2156 AT_BRIDGE_SHUTDOWN env. var to determine whether to
2157 assert a clean shutdown - for regression tests.
2159 2001-12-08 Abel Cheung <maddog@linux.org.hk>
2161 * configure.in: Comment out dummy i18n support for now,
2162 otherwise it fails to build.
2163 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
2164 EXTRA_DIST. They are missing in tarball.
2166 2001-12-07 Michael Meeks <michael@ximian.com>
2168 * util/magnifier.c: kill bonobo activation reg. race.
2170 * libspi/component.c
2171 (impl_accessibility_component_get_extents): make it match
2174 * libspi/registry.c (_registry_notify_listeners):
2175 re-remove X headers & reconcile conflicts.
2176 (spi_listener_struct_free): bad conflict resolve.
2177 (impl_accessibility_registry_register_application):
2178 more bad merging fixed.
2179 (impl_accessibility_registry_deregister_application): ditto.
2180 (spi_registry_new): ditto.
2181 (spi_registry_init): don't have an applications field.
2183 [ merge fixups2 branch to here ]
2184 2001-12-07 Michael Meeks <michael@ximian.com>
2186 * test/simple-at.c (report_focus_event),
2187 (report_focussed_accessible): remove g_warning debug.
2189 2001-12-07 Michael Meeks <michael@ximian.com>
2191 * test/test-simple.c (validate_tree): comment out some checks.
2192 (test_desktop): app now not registered idly - horay.
2194 2001-12-07 Michael Meeks <michael@ximian.com>
2196 * cspi/spi_registry.c
2197 (registerAccessibleKeystrokeListener): clean, stop it leaking
2198 great swathes of memory, and device event controller references.
2199 ensure we always pass valid sequences.
2200 (deregisterAccessibleKeystrokeListener): ditto.
2201 (generateKeyEvent): upd.
2203 * at-bridge/bridge.c (bridge_key_listener): handle
2204 registry dead exception gracefully.
2205 (bridge_focus_tracker, emit_eventv): free ev.
2207 * test/simple-at.c (report_focus_event): fix polarity.
2209 * libspi/application.c (notify_listeners): kill the ev
2210 argument, and make sure we init the ev we use.
2211 (spi_application_object_event_listener): split out a chunk
2212 (get_atk_object_ref): here & fixup.
2213 (reverse_lookup_name_for_toolkit_event): make const.
2214 (spi_application_toolkit_event_listener): fixup, kill leaks
2217 * at-bridge/bridge.c (register_atk_event_listeners):
2218 don't unref the noop object - causes grief.
2220 * libspi/registry.c: remove the X headers.
2221 turn off the debug churn.
2223 * libspi/accessible.c (spi_accessible_new_return): only
2224 release the ref if we are supposed to [doh]
2226 * test/simple-at.c (report_button_press, report_focus_event):
2227 guard vs. unexpected exit.
2229 * at-bridge/bridge.c (gtk_module_init): prune printf.
2230 (bridge_exit_func): fix app unref.
2232 * libspi/Makefile.am: don't install registry or desktop.h
2234 * libspi/*.h: update includes.
2236 * libspi/application.h: don't include ourself, or
2237 other redundant headers.
2239 2001-12-06 Michael Meeks <michael@ximian.com>
2241 * libspi/accessible.c
2242 (get_accessible_from_servant): impl.
2243 Upd. all CORBA impl.s to use it killing cut and paste.
2245 * cspi/spi_main.c (cspi_cleanup): guard vs. double
2247 (SPI_init): register atexit cleanup handler here.
2249 2001-12-06 Michael Meeks <michael@ximian.com>
2251 * at-bridge/bridge.c (gtk_module_init): g_error on
2252 activation exception
2254 2001-12-06 Michael Meeks <michael@ximian.com>
2256 * at-bridge/bridge.c (gtk_module_init): some sort of
2257 confusing merge clash - reverted.
2258 (bridge_idle_init): ditto.
2260 * test/test-simple.c (main, utterable_normal_derefs):
2261 merge from Bill - somehow not committed.
2263 2001-12-06 Michael Meeks <michael@ximian.com>
2265 * libspi/value.c (spi_value_class_init): upd.
2266 (spi_value_finalize): kill.
2268 * libspi/table.c (spi_table_finalize): kill.
2269 (spi_table_interface_new): upd.
2270 (spi_table_class_init): upd.
2271 (get_table_from_servant): impl.
2272 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2274 * libspi/selection.c (spi_selection_finalize): kill.
2275 (spi_selection_interface_new): upd.
2276 (spi_selection_class_init): upd.
2277 (get_selection_from_servant): impl.
2278 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2280 * libspi/relation.c (spi_relation_finalize): kill.
2281 (spi_relation_class_init, spi_relation_new): upd
2283 * libspi/image.c (spi_image_finalize): kill.
2284 (spi_image_class_init): upd.
2285 (spi_image_interface_new): upd.
2286 (get_image_from_servant): impl.
2287 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2289 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
2290 (spi_hyperlink_finalize): kill.
2291 (spi_hyperlink_new): upd.
2292 (get_hyperlink_from_servant): impl.
2293 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2295 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
2296 (spi_hypertext_finalize): kill.
2297 (spi_hypertext_class_init): upd.
2298 (get_hypertext_from_servant): impl.
2299 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2301 * libspi/editabletext.c (spi_editable_text_finalize): kill.
2302 (spi_editable_text_interface_new): upd.
2303 (get_editable_text_from_servant): impl.
2304 Upd. all CORBA impl.s to use it killing yet more cut and paste.
2306 * libspi/text.c (get_text_from_servant): impl.
2307 All impls - update to use it killing more cut and paste,
2308 also fix bad string returns on duff args ( a somewhat
2309 impossible case to handle - but hey ).
2310 (spi_text_construct): impl.
2311 (spi_text_interface_new): upd.
2312 (spi_text_object_finalize): kill.
2314 * libspi/component.c
2315 (accessibility_component_object_finalize): kill.
2316 (spi_component_class_init): upd.
2317 (get_component_from_servant): impl. helper to kill cut & paste.
2318 (impl_accessibility_component_contains):
2319 (impl_accessibility_component_get_accessible_at_point):
2320 (impl_accessibility_component_get_position):
2321 (impl_accessibility_component_get_extents):
2322 (impl_accessibility_component_get_mdi_z_order):
2323 (impl_accessibility_component_get_layer):
2324 (spi_component_interface_new): upd.
2326 * libspi/action.c (spi_action_finalize): kill.
2327 (spi_action_class_init): upd. inherit from SpiObject.
2328 (spi_action_interface_new): upd.
2329 (get_action_from_servant): impl. helper to reduce cut & paste.
2330 (impl_getKeyBinding, impl_getName, impl_doAction),
2331 (impl_getDescription): Use it everywhere.
2333 * cspi/spi_main.c (get_live_refs): a pointer hash.
2334 (spi_object_hash, spi_object_equal): comment out.
2335 There are issues with CORBA object hashing that need
2338 * libspi/application.c (spi_application_init),
2339 (spi_application_new): upd.
2341 * libspi/accessible.c (spi_accessible_object_finalize): kill.
2342 (spi_accessible_class_init): upd.
2343 s/accessible/object/ in epv methods.
2345 2001-12-05 Bill Haneman <bill.haneman@sun.com>
2347 * at-bridge/bridge.c:
2348 Reorder the bridge initialization into the bridge gtk_module_init,
2349 an immediate call to bridge_register_app, and an idle_add for
2350 register_atk_event_listeners (the only code that *must* wait until
2351 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
2352 the activation, creates the application's Accessible object, and
2353 queues the bridge_idle_init function. Restored call to
2354 Accessibility_Registry_deregisterApplication().
2355 Prior to making this call we obtain a new reference to the
2356 registry, which is a temporary hack that helps us handle apps that
2357 shut down the bonobo mainloop before we get there.
2359 * libspi/registry.c:
2360 Fix string leakage in debug block, and don't segv if a an app
2361 dies before its event notifications have been propagated.
2364 Modify cspi_check_ev() to call g_warning() rather than g_error(),
2365 as stopgap measure until we get proper exception handling when
2366 objects die during or before interrogation.
2370 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
2371 Also changed default value of is_gnome_app to TRUE.
2374 * test/keysynth-demo.c:
2375 Changed use of SPI_init and SPI_event_main to reflect API change above.
2378 Made report_focus_event check the warning value from getName
2379 before reporting on focussed accessible; simplifies handling of
2380 notifications from dead objects.
2382 * test/test-simple.c: (Changes not in this patch since source is
2385 2001-12-05 Michael Meeks <michael@ximian.com>
2387 * registryd/registryd.c (main): protect against
2388 bonobo-activation startup race condition.
2390 * cspi/spi_main.c (cspi_object_add_check): cope
2391 with the exception elegantly.
2393 * idl/Accessible.idl: decl. ChildGone
2395 * libspi/desktop.c (spi_desktop_dispose): impl.
2396 (spi_desktop_class_init): upd.
2397 (spi_desktop_add_application),
2398 (spi_desktop_remove_application),
2399 (abnormal_application_termination): impl.
2400 (impl_desktop_get_child_at_index): re-impl.
2403 (impl_accessibility_registry_deregister_application),
2404 (impl_accessibility_registry_register_application):
2405 kill excessive debug clutter.
2407 * test/test-simple.c (test_misc): test some NULL
2408 tolerance. (main): upd.
2410 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
2411 implements no interfaces - so let's not crash.
2413 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
2415 * libspi/accessible.c (spi_accessible_new_return): impl.
2416 helper to calm the cut and paste, to cope with
2417 NULL AtkObjects effectively and efficiently, and to kill
2418 the referencing bugs.
2420 * libspi/table.c (impl_getAccessibleAt),
2421 (impl_getRowHeader, impl_getColumnHeader): upd.
2423 * libspi/hyperlink.c (impl_getObject): upd.
2425 * libspi/accessible.c
2426 (impl_accessibility_accessible_get_child_at_index): upd.
2428 * libspi/component.c
2429 (impl_accessibility_component_get_accessible_at_point): upd.
2431 * test/test-simple.c (test_editable_text, test_text): impl.
2434 * cspi/spi_editabletext.c
2435 (AccessibleEditableText_insertText): constify.
2437 * test/test-simple.c (focus_me): make more robust.
2439 * libspi/accessible.c: remove some printfs in methods that
2440 we test and work fine, so we can get a clean tree dump.
2442 * test/test-simple.c (validate_accessible),
2443 (validate_tree): make tree dumping pretty too.
2445 * at-bridge/bridge.c (bridge_signal_listener): upd. so
2446 it builds without debug on.
2448 * test/test-simple.c (validate_accessible): fix the most
2451 * cspi/spi_main.c (spi_object_release): leave the nicely
2452 blanked memory around if in debug mode.
2454 * cspi/spi-listener-impl.c (cspi_event): use add_check.
2456 [committed to fixups2]
2457 2001-12-05 Michael Meeks <michael@ximian.com>
2459 * libspi/editabletext.c
2460 (spi_editable_text_class_init): g_type_class_peek_parent,
2461 not interface peek - so we finalize cleanly.
2463 * libspi/accessible.c (spi_accessible_new): kill debug.
2465 * test/test-simple.c (validate_accessible): fix ref.
2466 leak, print strings before freeing them; sigh, comment a
2467 chunk out due to strangeness.
2468 (validate_tree): unref the child after use.
2470 * cspi/spi_component.c (AccessibleComponent_getLayer):
2471 add missing break statement, switch on zlayer not the
2472 uninitialized retval.
2474 * cspi/spi_main.c (cspi_object_add): add assert, local ref
2475 before (possibly re-entering) remote unref.
2477 * test/simple-at.c (main): unref the desktop.
2479 * cspi/spi_accessible.c (cspi_accessible_is_a): move
2482 * cspi/spi_main.c (cspi_accessible_is_a): here to
2483 isolate bonobo API usage more.
2485 * libspi/registry.c (impl_accessibility_registry_register_application):
2486 prune bogus comment.
2488 2001-12-04 Michael Meeks <michael@ximian.com>
2490 * test/test-simple.c (validate_tree): upd.
2491 IndexInParent check to make it more lucid.
2492 (validate_accessible): dump the tree.
2494 * libspi/accessible.c (de_register_public_ref),
2495 (get_public_refs): impl.
2496 (spi_accessible_new): make more efficient & intuitive.
2497 Now IndexInParent check works.
2499 2001-12-04 Michael Meeks <michael@ximian.com>
2501 * cspi/spi-util.h: remove.
2503 * cspi/spi.h: move SPI_freeString here
2505 * libspi/component.c (impl_accessibility_component_get_layer):
2507 (impl_accessibility_component_get_mdi_z_order): ditto,
2508 return -1 on error - is this ok ?
2510 * test/test-simple.c (test_application): impl.
2512 * cspi/spi_accessible.c (Accessible_getApplication),
2513 (Accessible_isApplication): impl.
2515 * libspi/registry.c (spi_listener_struct_free): release
2516 the CORBA reference too.
2518 * libspi/accessible.c
2519 (impl_accessibility_accessible_get_parent): fix ref leak.
2521 * libspi/registry.c (spi_registry_new): make the registry
2522 immortal - we don't want it to go away ever.
2524 * libspi/application.c
2525 (spi_accessible_application_finalize): impl. cleanup.
2527 * cspi/spi_registry.c
2528 (deregisterGlobalEventListenerAll),
2529 (deregisterGlobalEventListener),
2530 (deregisterAccessibleKeystrokeListener): fix ref leak.
2532 * cspi/spi_main.c (SPI_init): remove redundant ref.
2534 * test/test-simple.c (unutterable_horror): impl. to force a
2539 (impl_accessibility_registry_deregister_application): release
2540 the application when we de-register it.
2542 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
2543 until we have the infastructure to get it right.
2545 2001-12-03 Michael Meeks <michael@ximian.com>
2547 * libspi/Makefile.am: only build eventlistener.[ch]
2549 * libspi/accessible.c
2550 (impl_accessibility_accessible_get_child_at_index): don't leak.
2552 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
2553 before we hit the idle handler.
2555 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
2556 debugging than exit.
2558 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
2560 * libspi/listener.c (impl_notify_event): check source
2561 not NIL before unref.
2563 * libspi/registry.c (impl_registry_notify_event): ditto.
2565 * libspi/eventlistener.c
2566 (impl_accessible_event_notify_event): unref the source.
2568 * libspi/accessibleeventlistener.c
2569 (impl_accessible_event_notify_event): unref the source.
2571 * idl/Event.idl: remove 'hash_id' attribute - of no
2574 * libspi/application.c (notify_listeners): upd list
2576 (spi_application_object_event_listener),
2577 (spi_application_toolkit_event_listener): upd to do correct
2581 (_registry_notify_listeners): update.
2582 (parse_event_type): this method also leaks like a sieve.
2583 (impl_accessibility_registry_deregister_global_event_listener):
2584 fix ETYPE_WINDOW case.
2586 * libspi/application.c
2587 (impl_accessibility_application_register_object_event_listener):
2590 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
2592 * libspi/hypertext.c (impl_getLink): ditto.
2594 * cspi/spi_main.c (cspi_object_add): remove
2595 bogus CORBA_Object_duplicate.
2597 * cspi/spi-listener-impl.c (cspi_event): dup/ref
2600 * cspi/spi_accessible.c
2601 (Accessible_getRelationSet): fix leak / referencing issue.
2603 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
2604 (cspi_object_add, cspi_object_unref): upd.
2605 (spi_object_release, get_live_refs): impl.
2606 (cspi_cleanup): simplify.
2608 * *.[ch]: s/boolean/SpiBoolean/
2610 * cspi/spi_accessible.c (role_names): actualy order so it
2611 corresponds with the enum !
2613 * test/test-simple.c (test_roles): check some role strings
2614 vs. enums to detect offset errors.
2616 2001-12-01 Michael Meeks <michael@ximian.com>
2618 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
2620 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
2622 (Accessible_getChildAtIndex): use cspi_add_check so we
2623 check the ev before using a (possibly) invalid value.
2625 * libspi/accessible.c
2626 (impl_accessibility_accessible_get_parent): don't segv
2629 * at-bridge/bridge.c (gtk_module_init): upd.
2630 (bridge_property_event_listener): don't leak strings
2632 (bridge_state_event_listener),
2633 (bridge_property_event_listener): don't use a static
2634 buffer in case of recursive event emission &
2635 re-enterancy - split out the swathe of cut and paste
2637 (emit_eventv): and fix 2 ref leaks here & comply to the
2639 (bridge_register_app): rename to
2640 (bridge_idle_init): this and kill arg parsing, split
2641 various inits & bonobo-activation registration to module
2642 init time, kill referencing error.
2643 (bridge_exit_func): fix the same leak.
2644 (bridge_focus_tracker): don't leak event structures
2646 (bridge_signal_listener): more leakage and cut & paste
2648 (bridge_key_listener): return the result - FIXME is
2649 this polarity correct ?
2650 (accessibility_keystroke_from_atk_key_event): rename
2651 (accessibility_init_keystroke_from_atk_key_event): and stop
2653 (gtk_module_init): return a value - not that it is checked by
2655 (bridge_key_listener): register my horror at casting between
2656 IDL defined structs.
2657 (bridge_get_registry): kill - not used.
2659 * cspi/spi_accessible.c (Accessible_getRole): make return const.
2661 * test/test-simple.c (test_roles): impl.
2662 (test_desktop, validate_accessible, validate_tree): impl.
2664 * cspi/spi_accessible.c (role_names): fixup bogus
2665 MAX_ROLES setup, make constants const for efficient linkage
2666 (AccessibleRole_getName): conform to coding style, make
2669 2001-11-30 Michael Meeks <michael@ximian.com>
2671 * cspi/spi.h: add missing prototype.
2673 * libspi/registry.c (spi_listener_struct_new): fix sig.
2675 * test/Makefile.am: add test-simple
2677 * test/test-simple.c: add
2679 * test/test.sh: add.
2681 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
2683 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
2684 do it straight - since otherwise we often get an activation race.
2686 [ work before Bill duplicated a chunk of it ... ]
2687 2001-11-30 Michael Meeks <michael@ximian.com>
2689 * libspi/keystrokelistener.c
2690 (spi_keystroke_listener_class_init): fixup arg
2693 * libspi/eventlistener.c
2694 (spi_event_listener_class_init): ditto.
2696 * tests/test.sh: add.
2698 * cspi/spi-listener-impl.h: update macros.
2700 * cspi/spi-listener-impl.c
2701 (cspi_event_listener_remove_callback): add
2702 correct pre-conditions.
2704 * cspi/spi_main.c (SPI_exit): guard vs. double
2705 exits, exit the mainloop nicely.
2706 (SPI_event_main): make more sense.
2707 (SPI_init): move the atexit evilness here so we
2708 always do it (yuck).
2709 (SPI_event_main): upd.
2711 * test/simple-at.c: update for listener changes.
2713 * registryd/registryd.c (main): prune kruft.
2715 * libspi/libspi.h: upd.
2717 * libspi/eventlistener.[ch]: rename broken macros.
2719 * libspi/accessibleeventlistener.[ch]: remove.
2721 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
2723 * test/test-simple.c: Add - automated tests.
2725 * cspi/spi-listener-impl.c (cspi_event),
2726 (cspi_key_event): add user_data to invoke.
2727 (cspi_keystroke_listener_finalize): impl.
2728 (cspi_keystroke_listener_class_init): upd.
2731 (createAccessibleEventListener),
2732 (AccessibleEventListener_addCallback),
2733 (createAccessibleKeystrokeListener),
2734 (AccessibleKeystrokeListener_addCallback): upd.
2736 * libspi/deviceeventcontroller.c
2737 (spi_device_event_controller_check_key_event): add public proto.
2740 (impl_accessibility_registry_deregister_global_event_listener):
2741 always init listeners.
2742 (_registry_notify_listeners): yes it is.
2744 * cspi/spi-listener-impl.c (cspi_key_event):
2746 (cspi_event_listener_finalize): impl.
2747 (cspi_event_listener_class_init): hook up.
2748 (event_handler_new, event_handler_free),
2749 (event_list_remove_by_callback): impl.
2750 (cspi_event_listener_remove_callback),
2751 (cspi_keystroke_listener_remove_callback),
2752 (cspi_keystroke_listener_add_callback),
2753 (cspi_event_listener_add_callback): upd.
2755 * libspi/keystrokelistener.c
2756 (keystroke_listener_object_finalize): kill
2757 (spi_keystroke_listener_class_init): upd.
2758 (spi_keystroke_listener_add_callback),
2759 (spi_keystroke_listener_remove_callback): kill,
2761 (impl_key_event): prune drasticaly.
2763 * libspi/eventlistener.c
2764 (spi_event_listener_add_callback),
2765 (spi_event_listener_remove_callback): kill, use
2767 (impl_accessible_event_notify_event): upd.
2768 (spi_event_listener_object_finalize): remove.
2770 * libspi/Makefile.am: use eventlistener.[ch]
2772 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2774 * libspi/registry.c (_registry_notify_listeners):
2775 Changed listener loop iteration to use preferred convention.
2776 Got rid of string memory leaks caused be calling g_strconcat
2777 inside function calls.
2779 * libspi/registry.c (parse_event_type):
2780 Stopped g_strconcat memory leaks, free the g_strsplit return,
2781 g_strdup the split pieces when used, etc.
2783 2001-12-04 Bill Haneman <bill.haneman@sun.com>
2786 Change method 'compare' to return a 'difference set' rather than
2787 taking a StateSet as an out parameter (more Java-friendly).
2789 * idl/Accessible.idl:
2790 Added CORBA struct 'BoundingBox', to faciliate API changes below:
2792 * idl/Component.idl:
2794 Changed methods 'getExtents' and 'getImageExtents' in these
2795 interfaces to return a BoundingBox structure.
2796 (getPosition and getSize are redundant and possibly should be
2797 removed, rather than creating a corresponding Point struct.)
2799 * cspi/spi_component.c:
2800 Modify implementation of getExtents to reflect the above IDL
2805 Add (missing) AccessibleImage_getExtents () API.
2807 * docs/reference/cspi/at-spi-cspi-sections.txt:
2808 Added AccessibleImage_getImageExtents () to docs.
2810 2001-12-03 Bill Haneman <bill.haneman@sun.com>
2812 * idl/Component.idl:
2813 Added two methods, getLayer () and getMDIZOrder (), to reflect
2814 the new ATK methods atk_object_get_layer and
2815 atk_object_get_mdi_z_order. (Which arguably should be part of the
2816 AtkComponent API and AtkObject). Also added an enum,
2817 ComponentLayer, for the first method's return value.
2819 * libspi/component.c:
2820 Added implementations for these methods.
2822 * cspi/spi_component.c:
2824 Added cspi binding methods for above,
2825 AccessibleComponent_getLayer() and
2826 AccessibleComponent_getMDIZOrder().
2827 Added cspi enum 'AccessibleComponentLayer'.
2829 * docs/reference/cspi/at-spi-cspi-sections.txt:
2830 Added above methods to docs.
2834 Changed typedef for 'boolean' type (and all references to it) to
2835 SPIBoolean, to avoid keyword clashes with C++.
2838 Changed usages of 'boolean' to SPIBoolean.
2840 * test/keysynth-demo.c:
2841 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2842 app), except where SPIBoolean is required by the callbacks API.
2844 2001-12-02 Bill Haneman <bill.haneman@sun.com>
2846 * cspi/spi_registry.c:
2847 Removed obsolete X event loop for passive keygrabs (which now
2850 * registryd/registryd.c:
2851 Removed unnecessary call to gdk_init() [cruft]. This also allows
2852 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2855 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2857 * docs/reference/cspi:
2858 Included docs for SPI_freeString in generated documentation.
2861 Renamed spi_freeString to SPI_freeString, for consistency. Added
2862 documentation for this function.
2865 Renamed spi_freeString to SPI_freeString, for consistency.
2866 Removed obsolete method declaration string_from_corba_string.
2868 * test/keysynth-demo.c:
2869 Small tweak to comments.
2872 Stopped leaking the strings returned from CSPI.
2874 2001-11-28 Bill Haneman <bill.haneman@sun.com>
2876 Merged Michael's branch (see his ChangeLog entries below).
2878 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2879 bridge is alive, release on exit.
2881 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2882 Fix type check macro.
2885 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2888 Added is_gnome_app static, and method cspi_is_gnome_app(),
2889 so we can call the appropriate shutdown routine at exit in SPI_exit.
2891 * cspi/spi_main.c (cspi_object_ref):
2892 Duplicate the corba object passed in, since we're keeping it around.
2894 * cspi/SPI_exit.c, cspi_cleanup:
2895 Moved the releasing of the live refs to its own function, so we
2896 can put it in g_atexit (). Call the appropriate shutdown API
2897 depending on whethe calling client is a gnome app or not
2898 (bonobo_main_quit or CORBA_ORB_shutdown).
2900 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2901 Unref the listener when this method is called, after
2902 deregistration. Updated the API docs to note this behavior.
2904 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2905 Bugfixes: Ref the bonobo object when returning a parent or child
2906 reference, or an AccessibleRelation. Generally made sure
2907 BonoboObject refcount is incremented whenever we return an
2910 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2911 Fixed typo/bug in signal declaration.
2913 * libspi/accessibleeventlistener.h:
2916 * libspi/application.c (spi_application_new):
2917 Fixed leak in initialization.
2920 Remembered to increment bonobo-object refcount when returning
2921 children (applications) from desktop object.
2922 Added (empty) finalize method.
2924 * libspi/deviceeventcontroller.c:
2925 Hold a ref to listeners inside DEControllerKeyListeners.
2926 Added dec_key_listener_free() method. Use prepend instead of
2927 append in key_listener list. Fixed some refcount madness and
2928 leaks in the listener registration/deregistration - deregistration
2929 now calls dec_key_listener_free() on listeners, and on the
2930 temporarily constructed dec_key_listener() used to perform the search/match.
2932 * libspi/hypertext.c (spi_hypertest_finalize):
2933 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2934 class. Also fixed spi_hypertext_interface_new() and
2935 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
2937 * libspi/hypertext.h:
2938 Removed pointless and duplicate AtkObject pointer from
2941 * libspi/keystrokelistener.c:
2942 Fixed incorrect type of keystroke_listener_parent_class,
2943 renamed keystroke_listener_object_finalize to
2944 spi_keystroke_listener_object_finalize.
2945 Fixed typo in signal declaration
2946 (spi_keystroke_listener_class_init).
2948 * libspi/registry.c:
2949 Added funcsions spi_listener_struct_new() and
2950 spi_listener_struct_free() to help with memory management issues.
2951 We also now use these methods instead of gnew + poking stuff into
2952 the struct, and to decrement listener counts/free the listeners
2953 when deregistering them.
2954 Fix more refcount bugs in getDesktop() and
2955 getDeviceEventController().
2958 De-ref the desktop after enumerating the applications. Explicitly
2959 decrement the refcounts on the created listeners on exit (using
2960 _unref for keystroke listeners, and via the
2961 deregisterGlobalEventListenerAll command for other event
2964 2001-11-27 Michael Meeks <michael@ximian.com>
2966 * cspi/spi-listener.h: fixup enum.
2968 2001-11-27 Michael Meeks <michael@ximian.com>
2970 * cspi/spi-listener-impl.c (cspi_event_listener_new),
2971 (cspi_keystroke_listener_new): Use the cspi variants.
2973 2001-11-26 Michael Meeks <michael@ximian.com>
2975 * test/keysynth-demo.c: fix 2 compile warnings, missing
2978 * test/simple-at.c (report_focussed_accessible),
2979 (report_focus_event, report_button_press),
2980 (check_property_change, is_command_key),
2981 (report_ordinary_key_event, report_command_key_event): upd.
2983 * util/mag_client.h: include pre-requisites.
2985 * libspi/accessibleeventlistener.c
2986 (spi_event_listener_object_finalize): free any lingering
2989 * libspi/keystrokelistener.c
2990 (keystroke_listener_object_finalize): ditto.
2992 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
2993 callbacks, with cspi types.
2995 * cspi/spi_event.c (createAccessibleEventListener): chain to
2996 (AccessibleEventListener_addCallback): here.
2997 (createAccessibleKeystrokeListener): chain to
2998 (AccessibleKeystrokeListener_addCallback): here.
3000 * libspi/keystrokelistener.c
3001 (spi_keystroke_listener_class_init): add signal.
3002 (impl_key_event): emit the event.
3003 (boolean_handled_accumulator): impl.
3004 (marshal_BOOLEAN__POINTER): add, gack.
3006 * libspi/accessibleeventlistener.c
3007 (spi_event_listener_class_init): add signal.
3008 (impl_accessible_event_notify_event): emit the signal &
3009 make the loop efficient.
3010 (spi_event_listener_add_callback): prepend the callback.
3012 * libspi/accessibleeventlistener.h: add an 'event' signal,
3013 decl type on callback.
3015 * libspi/keystrokelistener.h: ditto.
3017 * cspi/spi-listener.h: make methods typesafe and
3018 make them use the new event typedefs.
3020 * test/simple-at.c (report_focussed_accessible):
3021 include mag_client.h
3022 Use *(void *)text_interface not the other thing.
3024 * configure.in: add gtk to registryd bits - since we use
3027 * util/magnifier.c: include libbonobo.h
3029 2001-11-25 Bill Haneman <bill.haneman@sun.com>
3031 * test/keysynth-demo.c:
3032 Turned this into a simple scanning keyboard, to demonstrate the
3033 use of g_timeout_add () as a means of creating timers for
3034 scanning, and the use of GtkStyle for visually indicating when
3035 virtual keyboard elements are selected.
3037 keysynth-demo now listens to any keyboard keys with zero-valued
3038 keycodes (i.e. 'unused' keys) and interprets them as
3041 Reworked the shiftlatch code so that shift-down state isn't held
3042 for long periods (it's only synthesized immediately prior to
3043 the keysynth event it's modifying). Note that shiftlatch in this
3044 demo is a convenience, not intended to take the place of AccessX
3045 which is the better choice for getting 'sticky' modifier keys.
3047 * libspi/deviceeventcontroller.c:
3048 * at-bridge/bridge.c:
3049 * cspi/spi_registry.c:
3050 Removed some debug print stuff, and put other verbosity in #ifdef
3055 Implemented some more of the magnifier IDL for the simple
3056 magnifier: namely, getZoomRegionParams.
3057 Added mag_x and mag_y members to MagnifierData struct, aid of this
3059 Added GtkWindow::realize signal handler to magnifier, to keep it
3060 from receiving keyboard focus from the WM.
3062 2001-11-23 Mark McLoughlin <mark@skynet.ie>
3064 * cspi/spi-private.h: my guess at what michael forgot
3065 before he ran off to NZ :-)
3067 2001-11-23 Michael Meeks <michael@ximian.com>
3069 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
3070 comment out non existant method invoke so we link.
3072 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
3073 use bonobo_exception_get_text for more friendly warnings.
3075 * cspi/spi.c (Obj_Add): move into spi_main & rename
3076 spi_object_add; kill spi.c
3078 * cspi/spi_registry.c
3079 (deregisterGlobalEventListener),
3080 (deregisterGlobalEventListenerAll),
3081 (registerGlobalEventListener): fix exception leaks.
3083 * cspi/spi_main.c (spi_exception): impl. helper, so we
3084 don't leak exceptions.
3086 * cspi/spi_selection.c
3087 (AccessibleSelection_deselectSelectedChild): return the
3090 * cspi/spi_main.c (spi_ev): impl; hack - gack.
3091 (spi_registry): ditto.
3092 (SPI_init): guard against double inits.
3094 * cspi/*.c: use spi_ev (), and spi_registry () where
3095 appropriate - a temporary hack until we have something
3096 better. Use spi_object_add
3098 2001-11-22 Michael Meeks <michael@ximian.com>
3100 * cspi/Makefile.am: re organise, install the headers.
3102 * cspi/*.h: add G_BEGIN/END_DECLS
3104 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3107 Added non-preemptive keylistener for key events with no modifiers
3108 and shift-only modifier.
3110 * libspi/keystrokelistener.c:
3111 Removed some verbose diagnostics printout.
3113 * cspi/spi_registry.c:
3114 Fixed a bug that caused all key listeners to be registered as
3117 * libspi/deviceeventcontroller.c:
3118 Fixed bug that caused XGrabKey (preemptive key grab) to be called
3119 for non-preemptive key masks.
3122 2001-11-22 Bill Haneman <bill.haneman@sun.com>
3124 * docs/reference/idl/at-spi-idl-docs.sgml:
3125 * docs/reference/idl/at-spi-idl-sections.txt:
3126 * docs/reference/idl/at-spi-idl-overrides.txt:
3127 Added missing files.
3129 * docs/reference/Makefile.am:
3130 removed idl from SUBDIRS until we can figure a way to get gtk-doc
3131 to scan the IDL files :-(
3136 Added .cvsignore files.
3138 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3140 * libspi/deviceeventcontroller.c:
3141 * libspi/keystrokelistener.c:
3143 * cspi/spi_registry.c:
3144 Added filters for KeySets, KeyEventSeq, and event types to key
3145 event dispatching, so listeners should only receive those events
3146 that they requested :-)
3148 2001-11-21 Bill Haneman <bill.haneman@sun.com>
3153 * docs/reference:Makefile.am:
3154 * docs/reference/cspi:
3155 * docs/reference/cspi:Makefile.am:
3156 * docs/reference/cspi:tmpl:
3157 * docs/reference/cspi:tmpl:*.sgml:
3158 * docs/reference/idl:
3159 * docs/reference/idl:Makefile.am:
3160 * docs/reference/idl:at-spi-idl-sections.txt:
3161 * docs/reference/idl:at-spi-idl-docs.sgml:
3162 * docs/reference/idl:tmpl:
3163 * docs/reference/idl:tmpl:*.sgml:
3165 Restructured docs directory to allow separate 'reference' docs
3166 section, and forked idl and cspi docs. Added the sgml template
3167 files to CVS. Added the first sections/structural sgml for the
3170 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
3172 * configure.in, libspi/Makefile.am: find libXtst.
3174 2001-11-21 Michael Meeks <michael@ximian.com>
3176 * test/accessx-gui.c: s/spi_value/value/ - doh.
3178 * libspi/base.[ch]: add.
3180 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3182 * idl/Accessible.idl:
3183 * idl/Application.idl:
3186 Started gtk-doc cleanup on IDL.
3188 * libspi/deviceeventcontroller.c:
3189 Added and connected non-preemptive key notification from the
3190 toolkits (in addition to the pre-emptive support from XServer
3191 which we had before, but which causes 'focus flashing'). Filters
3192 are presently limited to key modifiers and global/non-global,
3193 KeySets are presently ignored, as are KeyEvent masks.
3195 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
3196 structs into the persistant structure rather than just storing
3197 pointers to things that might not persist across servant
3200 The XGrabKey call now does async keygrabs, because synchronous
3201 ones were deadlocking with GDK_event code in a very nasty way.
3203 Added boolean to internal method notify_keylisteners, to indicate
3204 whether the event came from the 'toolkit source' or the 'global
3205 (XServer) source' - this is used in the notification process to
3206 determine which listeners to send the event to.
3208 deviceeventcontroller.c is now warning-free.
3210 * libspi/registry.c:
3211 Fixed regression in application de-registration.
3212 Also fixed some really brain-dead weirdness having to do with
3213 event dispatching - event structs are now duplicated before being
3214 re-marshalled in the dispatch to listeners. This also fixes a
3215 Solaris build problem.
3218 2001-11-20 Michael Meeks <michael@ximian.com>
3221 (impl_accessibility_registry_deregister_global_event_listener):
3224 * libspi/deviceeventcontroller.c
3225 (spi_device_event_controller_check_key_event): return
3226 FALSE on no virtual method.
3228 * libspi/*..h: make includes work on a correctly pathed install.
3230 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
3232 * libspi/application.h: kill unused ( and whacked out )
3233 gboolean *spi_application_set_id (AtkObject *app, long id);
3235 2001-11-20 Michael Meeks <michael@ximian.com>
3237 * libspi/*.[ch]: further convert to bonobo's type func
3238 macros, remove redundnant casts etc.
3240 * libspi/text.c s/accessibility_text/spi_text/g,
3241 re-order to de-cruft.
3243 * libspi/hypertext.c: re-order to kill a huge slew
3244 of redundant forward decls.
3246 * libspi/relation.c: ditto.
3248 * libspi/image.c: ditto.
3250 * */.cvsignore: update
3252 2001-11-20 Michael Meeks <michael@ximian.com>
3254 * libspi/deviceeventcontroller.c
3255 (_controller_register_with_devices): use g_getenv,
3256 kill stdlib.h include.
3258 * libspi/keystrokelistener.c
3259 (spi_keystroke_listener_get_type): kill
3260 (spi_keystroke_listener_class_init),
3261 (spi_keystroke_listener_init): rename to this.
3263 * libspi/text.c (impl_getAttributes): fix warning / bug.
3265 * libspi/*.[ch]: more headers, includes and over commenting.
3267 2001-11-20 Michael Meeks <michael@ximian.com>
3269 * libspi/*.[ch]: fixup headers, includes and over commenting.
3271 * libspi/image.c (impl__get_imageDescription): const
3272 correctness warning fix. remove redundant casting.
3274 * libspi/table.c (impl_getRowDescription): ditto.
3275 (impl_getColumnDescription): ditto.
3277 * libspi/libspi.h: add.
3279 2001-11-19 Michael Meeks <michael@ximian.com>
3281 * libspi/editabletext.c (impl_setAttributes): fix warnings.
3283 * libspi/component.c (accessibility_component_get_type):
3284 rename to (spi_component_get_type): and macroify.
3285 (accessibility_component_init): rename to
3286 (spi_component_init): this
3287 (accessibility_component_class_init): rename to
3288 (spi_component_class_init): this
3290 * libspi/action.c (spi_action_get_type): kill, use the macro.
3292 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
3295 * libspi/application.c (spi_application_object_event_listener),
3296 (impl_accessibility_application_register_object_event_listener):
3297 warning fixes / const understanding updates.
3299 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
3302 2001-11-18 Bill Haneman <bill.haneman@sun.com>
3304 * libspi/spi_accessible.c: Added docs and C bindings for
3305 AccessibleStateSet. (No implementations yet). Documentation
3306 coverage for C bindings now 100%. Made docs for event listeners
3311 boolean notifyListenersSync (in DeviceEventListener listener,
3312 in DeviceEvent event);
3314 oneway void notifyListenersAsync (in DeviceEventListener listener,
3315 in DeviceEvent event);
3317 Added DeviceEventListener and DeviceEvent structs (may deprecate
3318 KeyStroke and KeystrokeListener in favor of this generic
3319 event/listener framework for devices).
3321 * libspi/deviceeventcontroller.c:
3323 Changed some key listener code to take masks, etc., and paved the
3324 way for integration of toolkit/non-preemptive key events. Changed
3325 signatures of some internal methods.
3327 * at-bridge/bridge.c:
3328 Fixed regression connecting to interface signals, apparently
3329 caused by GTK+ changes.
3331 Added an internal bridge_state_listener to deal with
3332 property-change:accessible-state signals.
3334 Changed the key_listeners GList to store structs (including masks,
3335 etc.) instead of just CORBA_Objects (required for full
3336 implementation of key listener API).
3338 Connected the bridge to all currently supported Atk signals.
3339 Events now supported:
3340 object:property-change
3341 object:property-change:accessible-name
3342 object:property-change:accessible-state
3343 object:property-change:accessible-description
3344 object:property-change:accessible-parent
3345 object:property-change:accessible-value
3346 object:property-change:accessible-role
3347 object:property-change:accessible-table-caption
3348 object:property-change:accessible-table-column-description
3349 object:property-change:accessible-table-column-header
3350 object:property-change:accessible-table-row-description
3351 object:property-change:accessible-table-row-header
3352 object:property-change:accessible-table-summary
3353 object:children-changed
3354 object:visible-data-changed
3355 object:selection-changed
3356 object:text-selection-changed
3358 object:text-caret-moved
3360 object:row-reordered
3362 object:column-inserted
3363 object:column-reordered
3364 object:column-deleted
3365 object:model-changed
3367 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3369 * libspi/hyperlink.c,h:
3370 Fixed some broken stuff in hyperlink.
3372 * libspi/relation.h:
3373 * libspi/relation.c:
3374 * cspi/spi_accessible.c:
3375 Initial implementations of AccessibleRelation methods, and docs.
3377 * libspi/accessible.c:
3378 Fixed a bug that caused SEGV if an accessible
3379 object's description is NULL, and a client
3380 requests it. An empty string is now returned.
3382 * cspi/spi_editabletext.c:
3383 * cspi/spi_hypertext.c:
3385 * cspi/spi_hyperlink.c:
3389 Doc coverage now 95%.
3391 2001-11-16 Bill Haneman <bill.haneman@sun.com>
3393 One last namespacing revision:
3394 * libspi/accessibleeventlistener.[ch]:
3395 Renamed SpiAccessibleEventListener to SpiEventListener,
3396 (no need for two namespaces ;-)
3398 And lots of documentation fixes:
3400 * docs/at-spi-docs.sgml:
3401 Fixed 'underscore vs. hyphen' bug that was preventing
3402 the gtk-doc API docs from being automatically generated.
3405 * cspi/spi-listener.h
3407 * cspi/spi_accessible.c
3409 * cspi/spi_application.c
3410 * cspi/spi_component.c
3411 * cspi/spi_editabletext.c
3413 * cspi/spi_hypertext.c
3415 * cspi/spi_registry.c
3416 * cspi/spi_selection.c
3420 * docs/at-spi-docs.sgml
3421 * docs/at-spi-sections.txt
3423 Added and fixed up gtk-doc documentation in cspi.
3425 Interfaces now (fully) documented (subject to revision and enhancement):
3427 Event Listener Support
3429 AccessibleApplication
3433 AccessibleEditableText
3440 AccessibleRelationSet
3445 2001-11-14 Bill Haneman <bill.haneman@sun.com>
3447 * at-bridge/bridge.c:
3448 Initial work for toolkit-level key snooper connection by bridge.
3453 New typedefs and fixes to support new namespacing, and cleaner
3454 separation of cspi bindings from libspi bonobo implementation.
3455 Removed inconsistent and extraneous Spi* namespace prefix that
3456 had crept into cspi headers.
3457 Lots of comment fixes that sed had missed.
3459 * cspi/spi-roletypes.h:
3460 * cspi/spi-statetypes.h:
3461 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
3462 to AccessibleRoleType.
3464 * libspi/accessibleeventlistener.h:
3465 Fixed minor namespacing weirdness.
3467 * libspi/deviceeventcontroller.c:
3468 Reordered some internal API for device listeners.
3469 Changed the key registry final boolean to 'is_system_global'
3470 rather than 'is_synchronous', which is more descriptive of its
3472 Added spi_device_event_controller_new().
3473 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
3475 * libspi/keystrokelistener.[ch]:
3476 Namespaced KeystrokeListener to SpiKeystrokeListener.
3477 Changed uses of keymasks to use SPI_ prefix, and did other
3480 * libspi/keymasks.h:
3481 Namespaced keymask constants with SPI_ prefix.
3483 * libspi/registry.c:
3484 Some warning fixes, and knock-on fixes from namespace changes.
3487 Added rules for accessx-gui test program.
3489 * test/accessx-gui.c:
3490 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
3491 utility. It doesn't actually use at-spi, but it's still cool and
3494 * test/keysynth-demo.c:
3498 Fixes so that these test clients work properly with the namespaced
3499 libraries. (Incompletely tested for technical reasons, fixes may follow)
3502 2001-11-13 Michael Meeks <michael@ximian.com>
3504 * libspi/application.c
3505 (impl_accessibility_application_get_version),
3506 (impl_accessibility_application_get_toolkit_name):
3508 (impl_accessibility_application_set_id),
3509 (impl_accessibility_application_get_id): remove
3510 redundant casting code.
3512 * libspi/action.c (impl_getDescription): fix warnings.
3514 * libspi/accessible.c
3515 (impl_accessibility_accessible_get_parent),
3516 (impl_accessibility_accessible_get_child_at_index),
3517 (impl_accessibility_accessible_get_state),
3518 (impl_accessibility_accessible_get_relation_set):
3519 warning fixes & include action.h
3521 2001-11-13 Michael Meeks <michael@ximian.com>
3523 * *.[ch] fix bits I screwed up:
3525 s/([^ \tb(\*\&\?\",])spi_/\1/g;
3526 s/([^ \tb(\*\&\?\",])Spi/\1/g;
3528 2001-11-13 Michael Meeks <michael@ximian.com>
3530 * *.[ch] Namespace libspi into spi_ and Spi.
3532 2001-13-11 Michael Meeks <michael@ximian.com>
3534 * Makefile.am: dist & install at-spi-1.0.pc
3536 * libspi/Makefile.am: install into at-spi-1.0
3538 * idl/Makefile.am (idldir): install into at-spi-1.0
3540 * at-spi-1.0.pc.in: add.
3542 * configure.in: build it.
3544 2001-11-12 Bill Haneman <bill.haneman@sun.com>
3546 * test/keysynth-demo.c:
3547 Use a 'realize' signal-handler to set the WM properties for
3548 the virtual keyboard, rather than making it a "POPUP" type
3549 override-redirect window (thanks to anders carlsson for that
3552 2001-11-11 Bill Haneman <bill.haneman@sun.com>
3555 * test/keysynth-demo.c:
3556 Added new test of key synthesis, which creates a simple
3557 (mouse-operated) onscreen keyboard. It inserts key events into
3558 the currently-focused window, thus it does not grab keyboard focus
3561 * cspi/spi_registry.c:
3562 Added C binding for AT-SPI generateKeyEvent.
3564 * libspi/deviceeventcontroller.c:
3565 Added call to XFilterEvent so that key listener works with XIM (we
3566 hope). Added event_synth_type to generateKeyEvent, so that we can
3567 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
3568 synthesize a press/release pair for KeySyms.
3570 2001-11-09 Bill Haneman <bill.haneman@sun.com>
3572 * libspi/Makefile.am:
3573 * registryd/Makefile.am:
3574 (temporary) hack to include libXtst in libspi and registryd.
3575 (Needed for keystroke synthesis, see below).
3578 Improved API for registerKeystrokeListener, in accordance with
3579 discussions with Gnopernicus team and X server research.
3581 * libspi/registry.c:
3582 * libspi/deviceeventcontroller.c:
3583 * libspi/accessible.c:
3584 * libspi/keystrokelistener.c:
3585 Changes and fixes to support keylisteners for potentially
3586 consumed key events (that is, 'passive grabs').
3587 Added implementation for generateKeyEvent() [untested].
3590 Changes to registerKeystrokeListener() API, as above.
3591 Added deregisterGlobalEventListenerAll(), and
3592 deregisterKeystrokeListener(), which are needed for clean exit of
3594 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
3595 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
3597 * cspi/spi_registry.c:
3598 Added implementations of function prototypes mentioned above.
3600 * registryd/registryd.c:
3601 Added the key listener event source as a g_timeout(), to allow
3602 receipt of key events that are not caught by GDK (since GDK
3603 doesn't support passive keygrabs, this was necessary).
3606 Changed to attach a keylistener to 'Alt' keys, and
3607 respond to the following keycommands: Alt-M (toggle magnifier);
3608 Alt-F (toggle speech); Alt-Q (quit).
3609 Added an exit routine to deregister the listeners, and a key
3610 listener that prints some key info to the console when a key
3611 matches the listener mask (and is thus received by the listener).
3613 * util/idl/Magnifier.idl:
3614 Changes to magnifier API to support multiple zoom regions,
3615 non-uniform scaling in x and y, markDirty, and a host of other
3616 features that would be useful to magnification.
3619 * util/mag_client.c:
3620 * util/mag_client.h:
3621 * util/mag_control.c:
3623 Source code changes to support the above IDL changes.
3626 As above, and also changes to use a (slower) generic conversion
3627 path for colormap conversions, since the fast RGB conversions have been
3628 reported to fail for 16-bit displays.
3630 2001-10-26 Michael Meeks <michael@ximian.com>
3632 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
3634 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
3636 * at-bridge/Makefile.am: fix LDFLAGS.
3638 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3640 * at-bridge/bridge.c:
3641 Re-worked listeners for toolkit events, now we have signal
3642 and property listeners. Added a private method
3643 register_atk_event_listeners(), which registers with the
3644 various atk and gtk signals we need to monitor in order to emit
3646 Added emission hook for AtkObject:property-change events, to
3647 support the 'property listeners'.
3648 Fixed some alloc()s of Accessibility_Event structs to use CORBA
3651 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
3652 which emit warnings and exit, respectively, if CORBA errors occur
3653 during remote calls, and we now use these methods to check most of
3654 our CORBA calls in the C bindings.
3656 * cspi/spi_accessible.c:
3657 Changed AccessibleSelection_refSelectedChild() to
3658 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
3659 now increment refcounts.
3661 * cspi/spi_component.c:
3662 Fixed some long pointer casts (dangerous!) to pass pointers to
3663 CORBA_longs of the proper type to the CORBA stubs, and copy the
3664 data into the longs that were passed into the C bindings code.
3666 * at-bridge/bridge.c:
3668 * libspi/accessible.c:
3669 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
3670 hyperlinks, AtkHyperlink is an object type.
3672 * libspi/application.c:
3673 Added various conversions to and from "generic" event types and
3674 atk-specific types; this is really part of the 'bridge'
3675 implementation but is valid for all AtkObject-based accessibility
3678 * libspi/editabletext.c:
3679 Fixed nasty bug wherein editable text's finalize method was
3680 unref'ing tha AtkObject reference that the text parent class was
3681 about to unref _again_. There was also a nasty inheritance bug
3682 that meant that the AccessibleEditableText class was corrupt.
3684 * libspi/selection.c:
3685 Provided implementations for some selection API that was broken.
3687 * idl/Application.idl:
3688 Added registerObjectEventListener () method.
3691 Fixed a number of return values that were Bonobo_Unknowns from
3692 bonobo_object_corba_objref(), which I
3693 forgot to dup before returning. Changed instances of
3694 bonobo_object_corba_objref (bonobo_object(o)) to
3695 BONOBO_OBJREF(o), for concision and clarity.
3697 2001-10-13 Louise Miller <louise.miller@sun.com>
3699 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
3700 idl/Event.idl, idl/Registry.idl
3701 Changed these files to include Bonobo_Unknown.idl instead
3704 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
3706 * libspi/component.c libspi/component.h:
3707 Fixed typo. Added assertions for object checks in
3708 AccessibleComponent code.
3710 2001-10-09 Bill Haneman <bill.haneman@sun.com>
3712 * idl/Accessible.idl:
3713 Added 'isEqual (Accessible *object)'
3714 method for Accessible. (Not Yet Implemented).
3717 Changed signature of registerKeystrokeListener() to
3718 take a KeySet and KeyEventSeq so that specific keys and event
3719 types could be requested for monitoring, and added a flag
3720 is_synchronous so that either synchronous or asynchronous
3721 notification could be requested. (However this is not all
3722 implemented yet). This also meant adding two new typedefs,
3723 KeyEventSeq and KeySet.
3726 Added two new relations, RELATION_TOOLTIP_FOR and
3727 RELATION_LEAFNODE_OF.
3730 Added new state, STATE_HAS_TOOLTIP.
3732 * libspi/text.c, editabletext.c:
3733 Added new assertions to all casts of bonobo-objects from
3734 CORBA servants, to prevent Text API calls on non-text objects.
3735 Changed suspect casts of int-pointer types, so that we
3736 always send a valid CORBA_long pointer to the CORBA APIs that use
3737 in/out long parameters. We then have to copy from the CORBA_long
3738 into the regular long or int for return to the C bindings, or
3739 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
3742 * libspi/deviceeventcontroller.c:
3743 Cleaned these sources up.
3745 Changed return type for getCharacterAtOffset to
3746 CORBA_unsigned_long, to allow for 32-bit characters.
3749 2001-10-08 Bill Haneman <bill.haneman@sun.com>
3753 Fixed 'make dist' so that distro compiles...
3754 * libspi/keymasks.h:
3756 * cspi/spi-listener.c:
3757 KeystrokeListenerCB now returns a boolean.
3759 Added KeyEventType struct, and KeyStroke.
3760 Also added createKeystrokeListener(),
3761 KeystrokeListener_addCallback(),
3762 KeystrokeListener_removeCallback(), and added a keymask to
3763 registerKeystrokeListener().
3764 * cspi/spi_accessible.c:
3765 Changed numerous return types for interfaces from
3766 AccessibleComponent to Accessible<InterfaceName>; this was
3767 probably a cut-and-paste error.
3769 Implementations of new KeystrokeListener api (from spi.h,
3772 Changes to key modifier mapping.
3773 Created ControllerEventMask struct.
3774 Made DeviceEventController derive from Bonobo::Unknown.
3776 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3777 * libspi/deviceeventcontroller.c:
3778 Added a number of new internal (private) methods.
3779 * libspi/editabletext.c:
3780 * libspi/editabletext.h:
3781 Fixed a number of bugs related to the fact that
3782 editabletext inherits from text. Fixed the EditableText struct,
3783 the init() call, and use correct casts when calling Text methods
3784 from an EditableText object. Removed (duplicate) atko from the
3785 EditableText structure, we use the one in the parent Text
3786 structure via the casts mentioned above.
3787 * libspi/keystrokelistener.[ch]:
3788 * libspi/registry.c:
3789 Changes in support of keyboard handling (above).
3791 Keyboard handling, though partly functional, is still not
3792 recommended for at-spi client use as there is considerable
3793 work yet to be done.
3796 Changed some places where pointers to various int types
3797 are cast to be pointers to CORBA_long types and vice-versa:
3798 pointer casting is not safe so we pass pointers of the correct
3799 types and then cast the result before putting it into the target
3802 * libspi/text.h: minor typos corrected.
3804 We now speak not only the name of a Text element, but the
3805 first sentence of its content, when it receives focus.
3806 I also changed the text compression to 75% from 50%.
3807 * util/Accessibility_Util.server.in:
3808 Changed the default magnifier type to be a 3x vertical
3809 splitscreen magnifier (was previously a 2x horizontal one).
3811 2001-10-03 Bill Haneman <bill.haneman@sun.com>
3813 * libspi/keystrokelistener.h:
3814 * libspi/keystrokelistener.c:
3815 Initial functional implementations of KeystrokeListener.
3818 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
3820 Fixed string handling for NULL strings in libspi.
3821 Added spi_freeString to free strings returned by C bindings.
3823 2001-09-30 Bill Haneman <bill.haneman@sun.com>
3825 * libspi/keystrokelistener.h:
3826 * libspi/keystrokelistener.c:
3827 Began (no-op) implementations of KeystrokeListener
3829 * libspi/deviceeventcontroller.c:
3830 * libspi/deviceeventcontroller.h:
3831 Began creating implementations of DeviceEventController,
3832 to handle keystroke and mouse event listening and
3834 * libspi/accessible.c:
3835 Stubbed-in the implementations for
3836 Accessibility_Accessible_getState and
3837 Accessibility_Accessible_getRelationSet.
3838 * libspi/registry.c:
3839 Improved de-registration process and fixed some bugs,
3840 deregistration now works correctly.
3842 Added initialization of applications list (to NULL).
3844 Reduced speech compression from 0.5 to 0.7, for demo.
3845 Changed call to gdk_window_set_decorations()
3846 to gtk_window_set_decorated().
3847 * at-bridge/bridge.c:
3848 Bridge now deregisters when app exits, via
3849 registration of a cleanup function
3850 with the g_atexit() call.
3851 Required making 'app' static, renamed 'this_app'.
3852 Fixed broken use of bonobo_init, passing argv wrongly.
3854 2001-09-27 Bill Haneman <bill.haneman@sun.com>
3858 Created a new directory for
3859 accessibility-related utilities, primarily for
3860 testing and demo purposes, but with possible
3867 Onscreen magnifier utility that
3868 is implemented as a bonobo service.
3870 * util/mag_client.c:
3871 * util/mag_client.h:
3872 Client-side support (simple C bindings)
3873 for Magnification service
3875 * util/mag_control.c:
3876 Client program example for
3877 Magnification service
3879 * util/Accessibility_Magnifier.server.in:
3880 Bonobo-activation file for the
3881 Magnification service.
3884 * util/idl/Magnifier.idl:
3885 IDL defining the bonobo Magnification
3889 Modifications to use the bonobo-activated magnifier
3890 above, in place of trying to connect to an existing
3891 magnifier that uses socket-listening IPC.
3893 If env variable MAGNIFIER is set, a magnifier service
3894 will be started if one does not exist.
3896 2001-09-25 Bill Haneman <bill.haneman@sun.com>
3898 * at-bridge/bridge.c:
3899 applied patch from Marc to build and run
3900 against new glib and gtk+ (seemed like a change
3901 to bonobo_init signature was made ?)
3903 made festival-server support turned off by default.
3904 Added support for a simple magnifier (off by default)
3905 which will be added to a 'util' directory later.
3906 * at-bridge/Makefile.am:
3907 Changed "application.h" header from a 'source'
3908 to a 'dependency' of libat-bridge.
3910 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
3919 Added interface implementation c files to list of
3920 includes so they are included in libcspi.
3923 Changed prototype of AccessibleAction_doAction to return a
3925 Changed prototype of AccessibleTable_getCaption to
3926 return an Accessible.
3927 Changed prototype of AccessibleTable_getSelectedRows
3928 and AccessibleTable_getSelectedColumns to
3929 return a long (returns the number of selected rows
3930 or columns respectively).
3931 Changed name of AccessibleText_refRunAttributes to
3932 AccessibleText_getAttributes.
3933 Changed prototype of AccessibleText_getCharacterExtents to
3934 return a void rather than a boolean.
3935 Added support for a AccessibleCoordType parameter
3936 specifying what type of coordinates are desired.
3937 Added an AccessibleCordType parameter to
3938 AccessibleText_getPointAtOffset.
3940 * cspi/spi_accessible.c:
3941 Added code to return the outstanding interfaces from
3942 Accessible_queryInterface.
3944 * cspi/spi_action.c:
3946 Corrected call to getNActions to call the c binding
3949 * cspi/spi_editabletext.c:
3951 Changed name from setRunAttributes to setAttributes.
3953 * cspi/spi_hyperlink.c:
3955 Changed call to getNAnchors to correctly call the c
3956 binding for an attribute.
3958 * cspi/spi_hypertext.c:
3960 Changed getImageDescription to correctly call the
3961 binding for an attribute.
3963 * cspi/spi_selection.c:
3964 Changed getNSelectedChildren to correctly call the c
3965 binding for the attribute.
3966 Changed refSelectedChild to getSelectedChild.
3970 Changed getCaption to return an Accessible.
3971 Fixed calls which retrieve attributes.
3972 Changed refAt to getAccessibleAt.
3973 Changed getNSelectedRows and getNSelectedColumns to
3977 Changed getCharacterExtents and getPointAtOffset to accept an
3978 AccessibleCoordType.
3980 Changed calls which retrieve attributes.
3981 Changed refRunAttributes to getAttributes.
3986 * idl/Hyperlink.idl:
3987 Changed n_anchors attribute to nAnchors to keep naming
3988 convention consistent.
3991 Made Table inherit from Bonobo::Unknown.
3992 Added nSelectedColumns and nSelectedRows attributes.
3995 Made Value inherit from Bonobo::Unknown.
3997 * libspi/hyperlink.c:
3998 Change for nAnchors attributte name change.
4000 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
4008 Added interface implementation c files to list of
4009 includes so they are included in libcspi.
4012 Changed prototype of AccessibleAction_doAction to return a
4014 Changed prototype of AccessibleTable_getCaption to
4015 return an Accessible.
4016 Changed prototype of AccessibleTable_getSelectedRows
4017 and AccessibleTable_getSelectedColumns to
4018 return a long (returns the number of selected rows
4019 or columns respectively).
4020 Changed name of AccessibleText_refRunAttributes to
4021 AccessibleText_getAttributes.
4022 Changed prototype of AccessibleText_getCharacterExtents to
4023 return a void rather than a boolean.
4024 Added support for a AccessibleCoordType parameter
4025 specifying what type of coordinates are desired.
4026 Added an AccessibleCordType parameter to
4027 AccessibleText_getPointAtOffset.
4029 * cspi/spi_accessible.c:
4030 Added code to return the outstanding interfaces from
4031 Accessible_queryInterface.
4033 * cspi/spi_action.c:
4035 Corrected call to getNActions to call the c binding
4038 * cspi/spi_editabletext.c:
4040 Changed name from setRunAttributes to setAttributes.
4042 * cspi/spi_hyperlink.c:
4044 Changed call to getNAnchors to correctly call the c
4045 binding for an attribute.
4047 * cspi/spi_hypertext.c:
4049 Changed getImageDescription to correctly call the
4050 binding for an attribute.
4052 * cspi/spi_selection.c:
4053 Changed getNSelectedChildren to correctly call the c
4054 binding for the attribute.
4055 Changed refSelectedChild to getSelectedChild.
4059 Changed getCaption to return an Accessible.
4060 Fixed calls which retrieve attributes.
4061 Changed refAt to getAccessibleAt.
4062 Changed getNSelectedRows and getNSelectedColumns to
4066 Changed getCharacterExtents and getPointAtOffset to accept an
4067 AccessibleCoordType.
4069 Changed calls which retrieve attributes.
4070 Changed refRunAttributes to getAttributes.
4075 * idl/Hyperlink.idl:
4076 Changed n_anchors attribute to nAnchors to keep naming
4077 convention consistent.
4080 Made Table inherit from Bonobo::Unknown.
4081 Added nSelectedColumns and nSelectedRows attributes.
4084 Made Value inherit from Bonobo::Unknown.
4086 * libspi/hyperlink.c:
4087 Change for nAnchors attributte name change.
4090 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
4092 implementations-- made server implementations own AtkObject pointers
4093 rather than their respective AtkInterrface pointers to fix
4094 refcounting. AtkHyperlink is still broken.
4096 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4097 * cspi/spi_accessible.c:
4098 Added method Accessible_Role_getName(),
4099 and requisite string array (role_names).
4100 Added conversion string_from_corba_strin() call
4101 to Accessible_getName and _getDescription.
4102 * libspi/accessible.c:
4103 Added implementation for Accessible_getRole()
4105 Added festival support, used if environment variable
4108 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4110 * at-bridge/bridge.c:
4111 Now allocate Accessibility_Event using
4112 Accessibility_Event__alloc() instead of g_new0().
4113 * libspi/accessibleeventlistener.c:
4114 Initialize AccessibleEventListener->callbacks to NULL.
4115 Fixed accessible__event_listener_init() param, changed to
4116 "AccessibleEventListener *" type.
4117 Changed a bonobo_object_release_unref() call to
4118 Accessibility_Accessible_unref().
4119 * libspi/listener.c:
4120 Changed Bonobo_Unknown_unref to (equivalent)
4121 Accessibility_Accessible_unref.
4122 * libspi/registry.c:
4123 Changed bonobo_object_release_unref to
4124 Accessibility_Accessible_unref.
4126 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4129 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
4130 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
4131 spi-util.c spi-util.h
4132 Implementations for C bindings to remaining accessibility
4135 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4138 changed return value of Action from void to boolean to
4139 bring in line with ATK.
4142 Changed getText funcions to return "out" start and end offsets.
4143 Changed getAttributes to take and offset and return the start
4144 and end offset of the attribute run.
4145 Changed getOffsetAtPoint and getCharacterExtents to take an
4146 enum describing whether coordinates are window or screen.
4149 libspi/action.c libspi/action.h libspi/editabletext.c
4150 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
4151 libspi/hypertext.c libspi/hypertext.h libspi/image.c
4152 libspi/image.h libspi/selection.c libspi/selection.h
4153 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
4154 libspi/value.c libspi/value.h
4155 Added server implementations for outstanding ATK interfaces
4156 not yet implemented.
4158 2001-09-04 Bill Haneman <bill.haneman@sun.com>
4161 Added (missing) getName() method.
4162 Made nActions an attribute.
4163 * idl/EditableText.idl:
4164 Changed order of params in setAttributes.
4165 * idl/Hyperlink.idl:
4166 Removed getAnchor, added getURI.
4168 Changed attributes to methods, for efficiency
4169 (so that getting extents can be done in one call)
4170 * idl/Selection.idl:
4171 Changed nSelectedChildren to attribute, and re-indented.
4172 * idl/Table.idl: changed nrows, ncolumns, caption, summary
4174 * idl/Text.idl: reformatted to match our coding style.
4175 (temporarily?) removed getRowColumnAtOffset().
4176 Changed text selection API to support multi-select and
4177 non-contiguous selections, as in ATK.
4178 * idl/Value.idl: changed some methods to attributes.
4180 2001-08-24 Mark McLoughlin <mark@skynet.ie>
4182 * libspi/listener.c(impl_notify_event):
4183 BonoboUnkown_unref the source instead
4184 of bonobo_object_release_unref - the ORB
4185 handles the releasing.
4187 * configure.in: require ORBit-2.3.94 for
4190 2001-08-21 Bill Haneman <bill.haneman@sun.com>
4192 Tagged CVS repository 'EA_1_0'.
4193 * README.EARLY_ACCESS:
4194 Alphabetized acknowledgements list, and
4196 Listed some known dependencies of at-spi.
4198 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4200 * docs/at-spi-docs.sgml:
4201 * docs/at-spi-sections.txt:
4202 * docs/at-spi-overrides.txt: (Added zero-length file)
4203 Documentation improvements - gtk-doc should build
4204 docs for all implemented C bindings now.
4207 * cspi/spi.c: (New file)
4208 * cspi/spi_event.c: (New file)
4209 * cspi/spi_registry.c: (New file)
4210 * cspi/spi_accessible.c: (New file)
4211 * cspi/spi_application.c: (New file)
4212 * cspi/spi_component.c: (New file)
4213 Split spi_main.c into six parts, and included them from
4214 "spi.c". This is a bit of a hack, probably temporary,
4215 but required by gtk-doc, apparently.
4217 2001-08-20 Bill Haneman <bill.haneman@sun.com>
4220 * docs/at-spi-docs.sgml:
4221 * docs/at-spi-sections.txt:
4223 Initial checkins/modifications for gtk-doc generation.
4226 Added (missing) interface query methods to Accessible's C binding.
4228 Added GenericInterface type definition.
4230 Added query for AccessibleComponent interface to focus event handler.
4231 Added printout of bounding box for focussed component.
4232 * libspi/component.c:
4233 Added partial implementation for AccessibleComponent to C binding.
4234 * idl/Application.idl:
4235 * libspi/registry.c:
4236 * libspi/listener.c:
4237 * libspi/application.c:
4238 * libspi/application.h:
4239 Changed "ID" attribute type from string to long.
4241 2001-08-19 Bill Haneman <bill.haneman@sun.com>
4245 Made method naming consistent: methods taking object args
4246 start with uppercase, other methods (except those using
4247 acronyms) start with lowercase. Underscores delimit between
4248 object names and method names:
4249 SPI_init() - uppercase since it starts with an acronym.
4250 getDesktopCount () - lowercase start since no object param0.
4251 Accessible_getName() - uppercase object type name, studlyCaps method
4255 Added gtk-doc documentation for all currently implemented
4256 methods in the C bindings API.
4258 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4260 * Makefile.am : changed build order to build test last.
4263 Changed "createEventListener" to "CreateEventListener".
4264 * libspi/accessibleeventlistener.c :
4265 Bugfix for addition of callbacks.
4266 * test/Makefile.am :
4267 * test/simple-at.c :
4268 Added new test that uses the C bindings API.
4270 * libspi/listener.c :
4271 * libspi/registry.c :
4272 * libspi/accessibleeventlistener.c :
4273 * at-bridge/bridge.c :
4274 Renamed member "target" of Accessibility_Event to "source",
4275 which is more descriptive.
4278 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4282 * cspi/Makefile.am :
4283 Added makefile support for at-spi/cspi directory.
4286 * cspi/spi-listener.h : (NEW FILE)
4287 Added support for/use of spi-listener.h.
4289 C bindings now build successfully, with no warnings.
4290 * libspi/accessibleeventlistener.h : (NEW FILE)
4291 * libspi/accessibleeventlistener.c : (NEW FILE)
4292 * libspi/Makefile.am :
4293 Added new object type "AccessibleEventListener"
4294 which inherits from Listener, and allows attachment
4295 of in-process callbacks (so that a client with a listening
4296 object instance can add functionality to the local
4297 implementation, dynamically).
4299 2001-08-18 Bill Haneman <bill.haneman@sun.com>
4301 * libspi/accessible.c:
4302 Add implementation for get_index_in_parent().
4304 Added #include of "spi-roletypes.h", and
4305 added enumerated type AccessibleCoordType.
4306 Added definition for KeystrokeListener (function type).
4309 * cspi/spi-statetypes.h :
4310 * cspi/spi-roletypes.h :
4312 Added these headers, used by spi.h.
4314 Added code (NOTE: not yet built by make).
4316 2001-08-18 Mark McLoughlin <mark@skynet.ie>
4318 * libspi/Makefile.am: generate imodule
4319 at the same time as other idl compiler
4322 2001-08-17 Bill Haneman <bill.haneman@sun.com>
4323 * libspi/registry.c :
4324 * libspi/application.c :
4325 * idl/Application.idl :
4326 Made registration with toolkit an application method,
4327 which is required since each app has its own toolkit static
4328 environment. Thus the bridge must register for
4329 notification of toolkit events from each application in turn.
4330 Toolkit notifications are now successfully registered for, and
4331 sent to the listening at client.
4333 Changed toolkit event string to use hyphens rather than underscores.
4334 * libspi/listener.c :
4335 listner now gives more info in debug mode - it reports the
4336 name of the event received, as well as the name of the source.
4339 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4341 * libspi/registry.c :
4342 added more implementation for toolkit events.
4343 Fixed bug such that toolkit event registrations
4344 (via atk) use the whole event name string, not
4346 Removed a useless call to an ORBit_ method.
4347 * at-bridge/bridge.c :
4348 Removed unused local sbuf[] variable.
4350 We now register for Gtk:GtkWidget:button_press_event
4351 events as well as "focus:" events.
4353 Add some more API from Registry.idl that was missing,
4354 for keystroke listening, keystroke and mouse event
4355 synthesis, and enumeration of accessible desktops.
4357 2001-08-16 Michael Meeks <michael@ximian.com>
4359 * configure.in: use AM_GLIB_GNU_GETTEXT.
4361 * Makefile.am (SUBDIRS): kill intl.
4363 2001-08-15 Michael Meeks <michael@ximian.com>
4365 * registryd/Makefile.am: s/oaf/server/ relocate info file.
4367 * configure.in: upd.
4369 * configure.in: depend on a recent bonobo-activation that
4370 will find our server files ...
4372 2001-08-16 Bill Haneman <bill.haneman@sun.com>
4374 * libspi/accessible.c : accessible_new() :
4375 Now we add the Component interface via bonobo_object_add_interface,
4376 if the contained AtkObject implements AtkComponent.
4377 * libspi/accessible.h : now include "component.h"
4378 * libspi/component.h :
4379 * libspi/component.c : added files - implementation of
4380 bonobo wrapper object for Accessibility/Component
4381 * libspi/listener.c :
4382 Added test code to check for Accessibility/Component:1.0
4383 interface and report whether it is implemented by the
4385 * libspi/registry.c :
4386 Now we check for not only the hash of the whole event
4387 string before relaying the event, we also check the
4388 "minor" event string (without the detail string).
4389 This allows event listeners to be registered against
4390 all events of a certain major+minor type, or just
4391 against a specific major+minor+detail type.
4392 * libspi/accessible.c :
4393 Added implementations for Accessible:get_parent(),
4394 Accessible:getChildCount(), and Accessible:getChildAtIndex().
4395 * libspi/registry.c :
4396 * libspi/listener.c :
4397 Replaced calls to Accessibility_Accessible_ref() and
4398 Accessibility_Accessible_unref() with
4399 calls to bonobo_object_dup_ref() and
4400 bonobo_object_release_unref(), so that the CORBA object
4401 is dup-ed and released when relayed, as well as the bonobo object.
4403 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4405 * libspi/Makefile.am,
4406 registryd/Makefile.am,
4407 at-bridge/Makefile.am.
4408 test/Makefile.am, configure.in:
4409 reverse previous changes.
4411 * /idl/Image.idl: fix typo.
4413 * test/Makefile.am: put DEBUG_FLAGS
4416 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4418 * test/app.c: use argv[0] instead of
4421 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4423 * libspi/Makefile.am,
4424 registryd/Makefile.am,
4425 at-bridge/Makefile.am.
4426 test/Makefile.am, configure.in:
4427 cleanup, replace individual LIBS/CFLAGS with
4428 AT_COMMON_{LIBS|CFLAGS}.
4432 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4434 * configure.in, libspi/Makefile.am:
4435 Change IDL path checking for bonobo-activation
4438 2001-08-15 Bill Haneman <bill.haneman@sun.com>
4440 * registryd/registry.c : separated event listeners to use
4441 3 separate lists (focus, window, toolkit). Began testing
4442 event names against hashes before relaying events.
4443 * test/at.c : now register for events of type "focus:"
4444 * test/app.c : now generate events of type "focus:"
4445 * at-bridge/bridge.c : register with ATK for focus events,
4446 and we now relay those focus events to any "focus:" listeners.
4447 This now works with the bridge as a GTK_MODULE when running test/at.
4448 * libspi/registry.c :
4449 * libspi/listener.c :
4450 now we ref event sources before propagating, and unref on receipt.
4451 * libspi/registry.c :
4452 some changes to internal structs, to support event typestring hashes.
4453 * text/app.c : changed the way the appname is generated.
4454 * cspi : added directory that will hold the C bindings library for
4455 non-CORBA/bonobo-savvy clients.
4456 * cspi/spi.h : header file that contains the function prototypes for the C binding.
4457 * idl/Component.idl : added in parameter to indicate coord system for
4458 geometry-related calls.
4459 * idl/Hyperlink.idl : added readonly n_links attribute
4460 * idl/Image.idl : changed methods to attributes.
4462 2001-08-15 Mark McLoughlin <mark@skynet.ie>
4464 * at-bridge/Makefile.am: link against
4465 ../libspi/libspi.la instead of -lspi.
4467 * at-spi/test/app.c: include
4468 bonobo-activation.h. Use a default appname
4469 if one is not provided.
4471 2001-08-14 Bill Haneman <bill.haneman@sun.com>
4473 * idl/Registry.idl : temporarily changed register_Application
4474 to oneway, to work around issue with initial registration
4476 * idl/Application.idl : changed attribute "id" from readonly
4477 to read-write, since it needs to be assigned by Registry.
4478 * registryd/registryd.c : added call to set application id
4480 * registryd/registry.c : changed de-registration procedure to
4481 use CORBA_Object_hash() to find matching object ref in application
4482 lists and listener lists.
4483 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
4484 began distinguishing between event types (work in progress).
4486 2001-08-13 Bill Haneman <bill.haneman@sun.com>
4489 * libspi/application.c:
4490 Added implementations for get/set id, get_toolkitName,
4492 * registryd/registryd.c :
4496 Converted from use of OAF to bonobo-activation.
4497 * libspi/desktop.h :
4498 * libspi/desktop.c :
4500 Removed references to atksimpleobject, since base atkobject
4501 implementation now provides functionality we need.
4502 * libspi/atksimpleobject.c :
4503 * libspi/atksimpleobject.h :
4508 * at-bridge/Makefile.am
4509 * at-bridge/bridge.c
4512 Added directory "bridge" and contents, and added dependencies
4513 in Makefile.am/configure.in.
4514 Initial checkin of "at-bridge".
4515 This code is a GTK_MODULE which automatically registers
4516 GTK+ apps with the accessibility registry, using an object
4517 reference to the root ATK object.
4519 2001-08-10 Mark McLoughlin <mark@skynet.ie>
4521 * po/Makefile.in.in: Remove. Again. If this
4522 doesn't get autogenerated - you need to update
4525 2001-08-07 Mark McLoughlin <mark@skynet.ie>
4527 * po/Makefile.in.in: Add. Again.
4529 2001-07-31 Bill Haneman <bill.haneman@sun.com>
4531 * libspi/accessible.c : added support for 'description' property.
4532 * libspi/accessible.c
4534 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
4535 (since the two are now equivalent in libbonobo)
4543 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
4544 Bonobo::Unknown as does Accessibility::Accessible.
4545 * idl/StreamableContent.idl : as above, and replaced internal InputStream
4546 interface with Bonobo::Stream, since it was redundant with it.
4547 (The Stream returned by a StreamableContext object is expected to
4548 implement only a subset of Bonobo::Stream)
4550 2001-07-28 Anders Carlsson <andersca@gnome.org>
4552 * libspi/accessible.c (accessible_object_finalize): Change
4553 g_free to g_object_unref since the AtkObject is a GObject.
4555 2001-07-30 Bill Haneman <bill.haneman@sun.com>
4557 * idl/Accessibility.idl: add new IDL files
4560 * idl/Action.idl: Definitions of actionable UI object
4561 * idl/Component.idl: Definitions of UI component geometry, etc.
4562 * idl/Hyperlink.idl: Defs of hyperlink behavior
4563 * idl/Image.idl: Def of accessible image
4564 * idl/Selection.idl: Definition of UI object with selectable children
4565 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
4566 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
4567 * idl/Text.idl: Interface defs for UI elements with complex textual content
4568 * idl/Value.idl: Definition of UI element that is a value controller or display
4570 2001-07-27 Michael Meeks <michael@ximian.com>
4572 * po/Makefile.in.in: remove autogenerated file from CVS.
4574 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
4577 * idl/Registry.idl: include guard.
4579 * idl/Accessibility.idl: Add, and include all the other IDL
4582 * idl/*.idl: remove mass of pragmas etc.
4584 2001-07-26 Michael Meeks <michael@ximian.com>
4586 * registryd/Makefile.am (registryd_SOURCES): remove
4589 2001-07-27 Mark McLoughlin <mark@skynet.ie>
4591 * libspi/.cvsignore, registryd/.cvsignore,
4592 test/.cvsignore: updated.
4594 * po/Makefile.in.in: gettext update.
4596 2001-07-25 Bill Haneman <bill.haneman@sun.com>
4598 * initial CVS checkin
4600 2001-06-29 Michael Meeks <michael@ximian.com>
4602 * configure.in: add AM_CONFIG_HEADER to gen config.h