6487a928719c7ce6ac2e1e33e4411788317abea7
[platform/core/uifw/at-spi2-atk.git] / ChangeLog
1 2002-08-19  Padraig O'Briain  <padraig.obriain@sun.com>
2
3         * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
4         If signal has detail add it to the type of the event.
5         (bug #90838)
6         
7 2002-08-12  Michael Meeks  <michael@ximian.com>
8
9         * test/test-simple.c (global_listener_cb): bin bogosity.
10         (test_keylisteners): disable, still doesn't work reliably,
11         certainly not on my system anyway.
12
13         * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
14         don't leak a reference on the DEC. This round-trip
15         fetching of the DEC per keystroke sucks, it should be
16         cached.
17
18         * cspi/spi-private.h,
19         * cspi/cspi-lowlevel.h,
20         * cspi/bonobo/cspi-bonobo-listener.[ch],
21         * cspi/bonobo/cspi-bonobo.c: get the copyright
22         notices better - there is still a large amount of
23         work in at-spi falsely attributed solely to Sun.
24
25         * cspi/spi_main.c (cspi_object_ref): kill bogus
26         hash lookup, just increment the ref.
27         (SPI_freeString): make explicit the fact that we
28         handle NULL strings just fine.
29         (report_leaked_ref): obey coding standards.
30         (cspi_object_hash, cspi_object_equal): kill retval.
31         (cspi_object_release): only release if not on loan.
32         (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
33         (cspi_object_borrow, cspi_object_return): impl.
34
35         * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
36         use cspi_object_borrow / return.
37
38 2002-08-12  Darren Kenny  <darren.kenny@sun.com>
39
40         * cspi/bonobo/cspi-bonobo-listener.c: 
41         (cspi_event):
42         Don't call cspi_oject_new() because this is creating a new Accessible
43         every single time that an event is fired. This causes ATs like at-poke
44         to nolonger recognise the source of the event and thus ignore it.
45         Re-use the object from the cache, ref it and then unref it after the
46         listeners have been called.
47
48 2002-08-06  Darren Kenny  <darren.kenny@sun.com>
49
50         * test/event-listener-test.c: 
51         Added command-line options to disable mouse events (m) and
52         show usage (h). 
53
54 2002-07-31  Padraig O'Briain  <padraig.obriain@sun.com>
55
56         * configure.in: Update required versions of ATK, GTK+ and GAIL
57
58         * cspi-1.0.pc.in: Add dependency for X include files
59
60         * cspi/Makefile.am:
61         * cspi/bonobo/Makefile.am: 
62         Add $(X_CFLAGS) so that X include files 
63         are picked up even if not in standard place (bug #71686)
64
65 2002-06-25  Bill Haneman  <bill.haneman@sun.com>
66
67         * registryd/deviceeventcontroller.c: fix for 84261
68         (spi_dec_mouse_moved):
69         Added test of mouse button mask, so that we can detect mouse
70         button release.  Unfortunately we can't otherwise detect mouse
71         button release events without consuming the mouse press event,
72         because of the way XGrabButton works.  This means that our mouse
73         release events have a latency dependent on the polling period
74         while the mouse button is down.  At least in this case we only
75         have to poll while the button is down, and not at other times.
76         If the button masks don't match with what the last press event
77         reported, we report the appropriate button release event.
78         (spi_dec_ungrab_mouse):
79         New method (not yet called).
80         (spi_device_event_controller_forward_mouse_event):
81         New method, sends mouse press event from GdkFilter.
82         (spi_dec_init_mouse_listener):
83         Added code to call XGrabButton, redirecting mouse button events to
84         the root window and our Gdk event loop.
85         (global_filter_fn):
86         Added code to filter mouse button events, and reordered.
87         
88         * test/event-listener-test.c:
89         (main):
90         Added registration for mouse events of type "mouse:button".
91
92 2002-06-25  Bill Haneman  <bill.haneman@sun.com>
93
94         * registryd/deviceeventcontroller.c: partial fix for 84261
95         (spi_dec_poll_mouse_idle):
96         New method, a timeout which checks to see if the mouse
97         has moved.
98         (spi_dec_poll_mouse_moving):
99         A timeout to be called when mouse motion is underway.
100         (spi_dec_poll_mouse_moved):
101         A method which fires an event if the mouse has moved, and reports
102         whether or not it did so. 
103         (spi_dec_init_mouse_listener):
104         A method which sets up the timeouts above.
105         (spi_device_event_controller_new):
106         Now calls spi_dec_init_mouse_listener.
107
108         * registryd/registry.c:
109         (spi_registry_init):
110         Now we initialize the device event controller when the registry is
111         initialized, instead of waiting until a client has requested a key
112         event notification; this is because we need the event controller
113         for mouse events, but the mouse event registration API is a
114         "registry" call and doesn't explicitly call the 
115         deviceeventcontroller.
116         We now report mouse motion events with a 100 ms idle latency and
117         a 20 ms granularity when motion is in progress.
118
119         * test/event-listener-test.c:
120         (main):
121         We now register the "detail listener" for events of type 
122         "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
123         delivered only for the first mouse event received, and thereafter
124         "mouse:abs" events are delivered.)
125
126         * cspi/spi_registry.c:
127         DOCS: Documented the above mouse event typestrings.
128         
129 2002-06-21  Bill Haneman  <bill.haneman@sun.com>
130
131         Happy Summer Solstice...
132
133         * registryd/deviceeventcontroller.c: [fix for bug 84100]
134         (spi_controller_notify_keylisteners):
135         Changes to remove a listener from the listener list, freeing its
136         open keygrabs, if a notification to that listener fails.  This
137         means that although a dead listener can continue to hold a passive
138         keygrab, a maximum of one dispatch to such a listener can fail
139         before the listener is removed from the list, thus the keygrab
140         will be released on the next occurrence.
141         As part of this fix:
142         (spi_notify_keylisteners):
143         Renamed to spi_controller_notify_keylisteners, as the controller
144         instance must now be passed as an argument.
145         The copied 'notify' GList is now a list of DEControllerKeyListener
146         objects, since we need more than just the CORBA reference if a
147         notify fails and we need to deregister the listener.
148         (impl_notify_listeners_sync):
149         (impl_notify_listeners_async):
150         (spi_device_event_controller_forward_key_event):
151         Modify use of notify_keylisteners in accordance with above
152         changes.
153         (spi_deregister_controller_key_listener):
154         New method introduced by refactoring, from 
155         impl_deregister_keystroke_listener.
156         (impl_deregister_keystroke_listener):
157         Call spi_deregister_controller_key_listener.
158         (spi_key_listener_clone):
159         New method to copy a key listner without doing a 'ref' on the
160         remote object instance; used to create a notifier list.
161         (spi_key_listener_data_free):
162         New method, frees data without unreffing the source.
163         Used in refactor.
164         (spi_key_listener_clone_free): new method.
165         (spi_key_listener_free): 
166         refactored to call spi_key_listener_data_free.
167         
168 2002-06-20  Bill Haneman  <bill.haneman@sun.com>
169
170         * registryd/registry.c: [fix for bug 86048]
171         (notify_listeners_cb):
172         Clear CORBA system exceptions which occur when notifying
173         listeners, before returning to the source of the original event,
174         since the event source doesn't care if the relayed notify failed.
175         In other words, don't complain to the atk-bridge if the registry
176         could not notify all its listeners, that's no fault of the
177         application and thus should not appear to be an error from the
178         application's perspective.
179         
180         * cspi/spi_main.c: [fix for bug 85980]
181         (cspi_object_ref):
182         Replaced use of bonobo_object_dup_ref with call to the wrapper
183         method, csou_dup_ref (); this silences a compiler warning and
184         provided more portability.
185         (cspi_registry):
186         Ping the registry before return, and restart if necessary.
187
188         * cspi/bonobo/cspi-bonobo.c:
189         (cspi_ping):
190         New internal method.
191         (cspi_dup_ref):
192         Fixed this method to return an object reference, as it should have
193         all along.
194
195         * cspi/cspi-lowlevel.h:
196         Added internal definition for cspi_ping() and fixed 
197         return type of cspi_dup_ref().
198         
199
200 2002-06-19  Bill Haneman  <bill.haneman@sun.com>
201
202         * atk-bridge/bridge.c:  [fix for bug 85305]
203         (spi_atk_bridge_register_application):
204         New method where the initial application registry calls have been
205         moved; it allows an application to re-register in response to
206         certain error conditions (such as a registry restart, see below).
207         (atk_bridge_init):
208         Moved some initialization code to the method
209         spi_atk_bridge_get_registry, below.
210         (spi_atk_bridge_get_registry):
211         New, private accessor function for the Accessibility_Registry
212         instance.  If the registry has not been started before, or has
213         died (as detected by failure of a CORBA exception), it is
214         restarted before return, and spi_atk_bridge_register_application
215         is called again to register with the new bridge instance.
216         (spi_atk_emit_eventv):
217         Set registry_died on error; use spi_atk_bridge_get_registry () to
218         access the registry.
219         
220         * registryd/registry.c:
221         (impl_accessibility_registry_register_global_event_listener):
222         Set listener's event_type_quark to etype.minor instead of
223         etype.major (fix for bug 84856).
224
225         * test/event-listener-test.c:
226         (report_detail_event):
227         Change the output string so that user/tester can tell that the
228         'detail listener' was called instead of the 'generic listener'.
229         
230 2002-06-18  Bill Haneman  <bill.haneman@sun.com>
231
232         Fixes for bugs 84900, 84908, 84897, 84898.
233
234         * NEWS: updated.
235         
236         * configure.in:
237         Revved version to 1.1.0 
238         (reserving the 1.0.X branch for gnome-2-0-0 branch, this
239         version is going to HEAD which will be used for gnome-2-0-1 and later.)
240         
241         * idl/Accessibility_Registry.idl:
242         (EventListener::notifyEvent):
243         Removed 'oneway' directive after extensive consulation with
244         ORBit2 team and others.  This means also that unref() of the event
245         source can and should be done synchronously after emission, rather
246         than remotely in the client, after servicing the notify call on
247         the listener side.
248
249         NOTE: This change speeds up listener performance considerably, but
250         introduces new latency on the application side.  We may want to
251         add an event queue to the atk-bridge.
252
253         * atk-bridge/bridge.c:
254         (spi_atk_bridge_focus_tracker):
255         Do a local unref() on the event source after emission.
256         
257         * registryd/registry.c:
258         (desktop_remove_application):
259         Do an unref() on the event source after emission.
260         (desktop_add_application):
261         Do an unref() on the event source after emission.
262         (notify_listeners_cb):
263         When relaying an event, don't automatically add the event source
264         to the local object cache, just CORBA_dup it instead.  Likewise,
265         if this method reenters, release the ref rather than calling
266         unref() as well.
267         (impl_registry_notify_event):
268         No longer call remote unref() on the event source after dispatch.
269
270         * libspi/eventlistener.c:
271         (impl_accessible_event_notify_event):
272         Removed remote unref ()
273         
274         * cspi/bonobo/cspi-bonobo-listener.c:
275         (cspi_event):
276         We now call cspi_object_new() instead of cspi_object_add() on
277         receipt of an event; thus we only have an implicit object ref
278         while the cspi_event method is being executed.  If we need to keep
279         a reference to the object, the listener must call ref() on the
280         object.  Thus also we don't need to call cspi_object_unref() after
281         invoking the listener callbacks in this method.
282         
283         * cspi/spi_main.c:
284         (cspi_object_new):
285         New internal API for creating a new cspi object, without adding it
286         to the object cache.
287         (cspi_object_add):
288         Now uses cspi_object_new() to create the cspi object instance.
289         (cspi_object_ref):
290         Now checks to see if the object is in the internal object cache,
291         and adds it if necessary before incrementing its refcount (note
292         that new objects are added with a refcount of 1).
293         (report_leaked_ref):
294         New method which gives some information on leaked object instances
295         if leak detection is turned on.
296
297         * test/event-listener-test.c:
298         (timing_test_event):
299         New method, used for testing event delivery timing for special
300         events of type "object:test".  It reports elapsed time and
301         events/sec every 500 events.
302         (main):
303         Added a new listener, 'test listener', to check timing of event
304         receipt as noted above.
305         (report_event):
306         Added some timing output here also, reports elapsed time every 100
307         events.
308
309         * test/stress-test.c:
310         Emit events of type "object:test", for use with "event-listener-test".
311
312         * test/test-simple.c:
313         (global_listener_cb):
314         Call Accessible_ref() on the event source before calling
315         validate_accessible, since the validation process does pointer
316         comparisons on the event source, meaning that the event source
317         needs to be added to the local object cache first.  Any use of
318         such pointer comparisons between Accessible objects requires that
319         the caller hold an explicit reference to those objects.
320         We also must therefore call Accessible_unref() when leaving this method.
321
322 2002-06-13  Bill Haneman  <bill.haneman@sun.com>
323
324         * registryd/deviceeventcontroller.c:
325         (spi_controller_update_key_grabs):
326         Fix for #84735, subsequent keygrab listeners not informed of
327         registration failure.
328
329         * libspi/base.c:
330         (spi_base_construct):
331         Add an assertion on construct, to make sure the GObject passed in
332         is really a GObject.
333         (spi_base_init):
334         Explicitly initialize object->gobj pointer to NULL;
335
336         * cspi/bonobo/cspi-bonobo-listener.c:
337         (cspi_object_add_ref):
338         New method, can specify whether to dup-ref a bonobo object passed
339         in if it's newly added to the object cache.
340         (cspi_object_add):
341         Now calls cspi_object_add_ref with second param of "FALSE".  This
342         prevents us from doing a pointless dup-ref followed by
343         release-unref for all those cases where the object is already in
344         our object cache (fix for #85205).
345
346         * atk-bridge/bridge.c:
347         (spi_atk_bridge_idle_init):
348         Removed this method, we don't need to initialize in an idle
349         handler anymore;
350         (atk_bridge_init):
351         Changed to call spi_atk_register_event_listeners directly, not via an
352         idle handler. (fix for #81139)
353         (gnome_accessibility_module_shutdown):
354         Removed conditional around deregistration of listeners, since we
355         don't use the idle handler and thus have always registered when
356         shutdown is called.
357         (spi_init_keystroke_from_atk_key_event):
358         Changed references to Accessibility_KEY_PRESSED to 
359         Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
360         
361 2002-06-12  Bill Haneman  <bill.haneman@sun.com>
362
363         (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
364         
365         * configure.in:
366         Revved to 1.0.1
367
368         * test/stress-test.c:
369         Added file.
370
371         (may have been an incomplete commit yesterday?)
372
373 2002-06-12  Bill Haneman  <bill.haneman@sun.com>
374
375         * test/Makefile.am:
376         Added target for new stress-test.
377         
378         * test/stress-test.c:
379         New test, sends 1000 focus notifies in quick succession.
380
381         * test/key-listener-test.c:
382         Now we report whether a keylistener registration
383         request succeeded or failed.
384
385         * test/event-listener-test.c:
386         Uncommented some listeners which are now implemented.
387
388
389 2002-06-06  Bill Haneman  <bill.haneman@sun.com>
390
391         * registryd/deviceeventcontroller.c:
392         (spi_controller_update_key_grabs):
393         Fix for #82509, lack of failure notification when
394         ALL_WINDOWS keygrabs fail due to XGrabKey
395         failure: we synchronize the server when 
396         registering a passive grab, to make sure we get the
397         error message before the call returns.
398
399 2002-06-03  Bill Haneman  <bill.haneman@sun.com>
400
401         * test/test-simple.c:
402         (key_listener_cb):
403         Removed #ifdef KEY_IMPL_WORKS guards.
404         (test_keylisteners):
405         Removed #ifdef KEY_IMPL_WORKS guards.
406         Fixed bug which was causing a hang waiting for a 
407         "press" event (which was already overwritten by a "release" 
408         event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
409         (key_listener_cb):
410         Added code to set globals 'key_press_received' and
411         'key_release_received'.
412
413         * TODO:
414         Added section "1.1 API Proposed Additions" which
415         lists API additions desired for at-spi-1.1 (only one so far).
416         Updated TODO list a little.
417         
418 2002-06-02  Bill Haneman  <bill.haneman@sun.com>
419
420         AT-SPI 1.0 API FINAL: at-spi 1.0 is now
421         API frozen.
422         
423         * configure.in: Revved to 1.0.0.
424
425         * idl/Accessibility_Registry.idl:
426         (registerKeystrokeListener):
427         Added boolean return value.
428         
429         * registryd/registry.c:
430         (notify_listeners_cb): Minor fix to debug output.
431
432         * registryd/Accessibility_Registry.server.in.in:
433         Revved version number in OAFIID to 1.0.
434
435         * registryd/registryd.c:
436         (main):
437         Use new OAFIID version.
438
439         * cspi/bonobo/cspi-bonobo.c:
440         (cspi_init):
441         Use new OAFIID version.
442
443         * test/at.c:
444         (main):
445         * test/app.c:
446         (main):
447         * atk-bridge/bridge.c:
448         (atk_bridge_init):
449         Use new OAFIID version.
450
451         * registryd/deviceeventcontroller.c:
452         (impl_register_keystroke_listener):
453         Added CORBA_boolean return value.
454         (spi_controller_register_device_listener):
455         Added gboolean return value.
456         (spi_controller_register_global_keygrabs):
457         Added gboolean return value.
458         (spi_key_set_contains_key):
459         Added implementation for many more control keys,
460         for instance F1-F12, arrow keys, End, Home, Page_Up,
461         Page_Down, Escape.
462         [TODO: some still not implemented]. 
463         
464         * text/screen-review-test.c:
465         (text_chunk_pad_string):
466         New function: it provides mapping between coordinate
467         positions of text chunks and character positions in the
468         screen-review-line output string.
469         (text_chunk_to_string):
470         New function, calls text_chunk_pad_string with various
471         pad/delimiter characters. Pushbuttons are delimited with
472         square brackets, Frames with vertical 'pipe' lines, and 
473         other text with double quotes.
474         (text_chunk_list_to_string):
475         Calls new function text_chunk_to_string.
476         (toplevel_composite):
477         New function to composite layers CANVAS through
478         POPUP in each toplevel (other layers are composited
479         across toplevels, i.e. BACKGROUND and OVERLAY).
480         (review_buffer_composite):
481         Revise to use new methods.
482         
483         
484         
485         
486
487 2002-05-31  Laszlo Peter  <laca@sun.com>
488
489         * configure.in: add the Xtst libdir to the runpath on Solaris,
490         since it's not in the default library search path.
491
492 2002-05-29  jacob berkman  <jacob@ximian.com>
493
494         * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
495
496 2002-05-29  Bill Haneman  <bill.haneman@sun.com>
497
498         * test/screen-review-test.c:
499         (text_chunk_pad_string):
500         Added method, which pads the string according to the 
501         text bounds of the chunk.  It also takes a 3-character
502         string as a param which indicates the characters to be 
503         used for start, padding, and end delimitation of the chunk.
504         (text_chunk_to_string):
505         Changed to use text_chunk_pad_string.
506         
507         * configure.in: Fixed bug in AC_OUTPUT that was
508         causing path substitution in Accessibility_Registry.server
509         to fail.
510
511 2002-05-23  Bill Haneman  <bill.haneman@sun.com>
512
513         * text/screen-review-test.c:
514         (guess_string_clip):
515         New method which attempts a best-guess at clipping
516         text from components (like Java labels) which don't
517         actually implement AccessibleText.  This inaccurate
518         clip is based on the assumption that the label is
519         justified left-and-right, and monospaced.
520         (text_chunk_get_clipped_string):
521         We now call guess_string_clip() for text-containing
522         components that don't implement AccessibleText.
523
524         * test/screen-review-test.c:
525         (review_buffer_get_text_chunk):
526         We now pull "name" from labels if they do not implement
527         AccessibleText (i.e. for Java labels).
528         (get_screen_review_line_at):
529         Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
530
531         * configure.in:
532         Replaceded AC_OUTPUT target
533         registryd/Accessibility_Registry.server with 
534         registryd/Accessibility_Registry.server.in.
535
536         * registryd/Accessibility_Registry.server.in:
537         Removed (this is now a Makefile target).
538
539         * registryd/Accessibility_Registry.server.in.in:
540         Added (source for target above).  We now use $(libexecdir) as
541         prefix for the executable at-spi-registryd.
542
543         * registry/Makefile.am: 
544         Now install at-spi-registryd into $(libexecdir), and build .server
545         file with path (see above).
546         
547 2002-05-22  Bill Haneman  <bill.haneman@sun.com>
548
549         * test/screen-review-test.c:
550         (text_chunk_get_clipped_string):        
551         We now check to see if words fall within clip bounds 
552         before resorting to character-by-character clip bounds testing.
553
554         * TODO: Added a section for "2.2 Proposed API Additions".
555
556 2002-05-21  Bill Haneman  <bill.haneman@sun.com>
557
558         * test/screen-review-test.c:
559         * test/Makefile.am:
560         Added a screen review benchmarking and test program to test
561         directory.
562
563         * cspi/spi_accessible.c:
564         * cspi/spi_main.c:
565         Made some of the debug strings passed to cspi_check_ev a
566         little more specific.
567
568 2002-05-21  Padraig O'Briain  <padraig.obriain@sun.com>
569
570         * test/screen-review-test.c: Fix crashes in debug statements
571
572 2002-05-20  Bill Haneman  <bill.haneman@sun.com>
573
574         * test/screen-review-test.c: Added this file.
575
576 2002-05-13  Marc Mulcahy <marc.mulcahy@sun.com>
577
578         * atk-bridge/bridge.c: changed "object:state-change" to
579         "object:state-changed" to match docs.
580
581 2002-05-13  Marc Mulcahy <marc.mulcahy@sun.com>
582
583         * atk-bridge/bridge.c: Hooked up state-change event details.
584
585 2002-05-11  Bill Haneman <bill.haneman@sun.com>
586
587         * registryd/registry.c:
588         Fixed quarking bug in event string parsing; now events with
589         detail parameters get matched correctly to listeners.
590         [Bugzilla 80608].
591
592         * util/idl/Magnifier.idl: remove.
593         * util/idl: remove
594         * util/*.[ch]: Remove.
595         Magnification utilities and IDL are now in module gnome-mag.
596
597 2002-05-10  Bill Haneman <bill.haneman@sun.com>
598
599         * registryd/deviceeventcontroller.c:
600         Fixed bug in grab key conversion which was causing keycode grabs
601         to be converted to AnyKey grabs.
602
603         * NEWS:
604         updated NEWS file to reflect recent spin-off of gnome-mag.
605
606 2002-05-09  Marc Mulcahy <marc.mulcahy@sun.com>
607
608         * cspi/spi_accessible.c: Added exception checks.  Fixed completely
609         busted AccessibleStateSet_compare.  Removed redundant casts.
610         
611         * cspi/spi-action.c: Removed redundant casts.
612
613         * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
614
615         * cspi/spi_component.c: Fixed typos and casting error.
616
617         * cspi/spi_editabletext.c: Removed redundant casts.
618
619         * cspi/spi_hyperlink.c: Fixed casting and exception checking.
620
621         * cspi/spi_hypertext.c: Eliminated redundant casts.
622
623         * cspi/spi_image.c: Eliminated redundant casts.
624
625         * cspi/spi_registry.c: Eliminated redundant casts.
626         SPI_deregisterGlobalEventListenerAll () removed retval variable.
627         * cspi/spi_selection.c: Removed redundant casts.
628         * cspi/spi_text.c: Eliminated redundant casts.  Fixed exception
629         handling.  Screen geometry and text offsets were being returned as 0
630         on error which is technically valid-- changed these to return -1.
631         Added marshaller for text boundary types to fix bug with boundary
632         types being passed incorrectly to atk.
633                         
634 2002-05-09  Bill Haneman <bill.haneman@sun.com>
635
636         
637         * cspi/spi_registry.c:
638         Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
639         which was uncovered by the recent key changes.
640
641 2002-05-09  Bill Haneman <bill.haneman@sun.com>
642
643         * test/event-listener-test.c:
644         * test/Makefile.am:
645         Added new test, "event-listener-test"; 
646         this code does two things; it benchmarks traversal time 
647         for the accessible hierarchy for the first running accessible 
648         app, and it connects listeners for all supported event types.  
649         It is thus useful as an example event listener and for 
650         diagnostics/debugging of event generation.
651         
652 2002-05-08  Bill Haneman <bill.haneman@sun.com>
653
654         * test/Makefile.am:
655         Removed unnecessary dependency on libutil.
656
657         * configure.in:
658         Revved micro version: 0.13.1
659
660 2002-05-08  Bill Haneman <bill.haneman@sun.com>
661
662         * configure.in: 
663         Removed util/Makefile from targets.
664
665         * Makefile.am:
666         Removed util subdir from SUBDIRS (temporarily, 
667         pending removal of magnifier-only code
668         from UTIL).
669
670         * test/simple-at.c:
671         #ifdef-ed out magnifier dependencies, since
672         magnifier IDL, headers, and binary now live in
673         module gnome-mag and we don't want at-spi to depend 
674         on gnome-mag.  A magnifier demo which can run alongside
675         simple-at is forthcoming in the gnome-mag module.
676         
677         NOTE: Split magnifier binary, IDL, and magnification
678         activation code from at-spi into module gnome-mag.
679
680 2002-05-03  Marc Mulcahy <marc.mulcahy@sun.com>
681  
682         * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
683         cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
684  
685 2002-05-03  Bill Haneman <bill.haneman@sun.com>
686
687         * configure.in:
688         Revved to version 0.13.0
689         
690         * idl/Accessibility_Registry.idl:
691         Changed definition of KeySet from sequence of longs to sequence of
692         KeyDefinitions, and added KeyDefinition struct.
693         Required for fix to bug 80616.
694
695         * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
696         Changed AccessibleKeySet to Accessibility_KeySet marshalling code
697         to use new definition (see above).  
698
699         * registryd/deviceeventcontroller.c: handle_keygrab(), 
700         spi_keyset_contains_key():
701         Changed to make use of new struct; this allows matching based on
702         string key-name, for instance "Tab".  This also allows matching of
703         composed characters, non-alphanumeric characters in a way that
704         doesn't involve dependencies on X keysym codes directly, etc.
705         
706         * test/key-listener-test.c:
707         Added test for Alt-Tab key using "string" specification of keyset,
708         and modified one of the tests to use a keycode-based keyset.
709         Thus this test both tests and demonstrates the creation and use of
710         keysets of three forms:  specified via keycode array, 
711         keysym array, and string array. (The string case only contains a
712         single string, i.e. a string array of length 1).        
713
714         * test/simple-at.c:
715         Turned on PRINT_TREE option by default.  Also fixed a
716         string-freeing bug in the PRINT_TREE code.  
717         Added a listener to window:minimize events.
718         
719 2002-05-08  Padraig O'Briain  <padraig.obriain@sun.com>
720
721         * atk-bridge/bridge.c:
722         (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
723         for window:activate and window:deactiveate
724         (atk_bridge_property_event_listener atk_bridge_signal_listener
725         atk_bridge_window_event_listener) Tidy debug code
726
727 2002-05-02  Marc Mulcahy <marc.mulcahy@sun.com>
728
729         * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
730         Fixed handling for NULL return value from ATK.
731
732         * libspi/action.c libspi/component.c libspi/editabletext.
733         libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
734         libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
735         Removed redundant casts.
736         
737         * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
738         Fixed off by one bug.
739         
740         *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
741         function not present in idl)
742         
743 2002-05-02  jacob berkman  <jacob@ximian.com>
744
745         * atk-bridge/Makefile.am: make atk-bridge a real module
746
747 2002-04-26  Radek Doulik  <rodo@ximian.com>
748
749         * libspi/stateset.c (spi_init_state_type_tables): fix size of
750         atk_state_types table
751
752 2002-04-22  jacob berkman  <jacob@ximian.com>
753
754         * util/Makefile.am: 
755         * libspi/Makefile.am: add deps on the built files to help
756         automake, and don't version the ORBit typelib
757
758 2002-04-19  Padraig O'Briain  <padraig.obriain@sun.com>
759
760         * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h 
761         cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
762         cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c 
763         cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
764         cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
765         cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
766         cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
767         libspi/accessible.h libspi/accessible.h libspi/base.h 
768         libspi/component.h libspi/editabletext.h libspi/hyperlink.h 
769         libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
770         libspi/relation.h libspi/remoteobject.h libspi/selection.h 
771         libspi/spi-private.h libspi/statetset.h libspi/table.h
772         libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
773         util/mag_client.h util/mag_control.c util/mag_image.c
774         util/mag_image.h util/magnifier.c util/magnifier.h: 
775         Add missing file headers; standardize existing ones
776
777 2002-04-18  Marc Mulcahy  <marc.mulcahy@sun.com>
778
779         * atk-bridge/bridge.c: Added window event support.
780
781 2002-04-18  Michael Meeks  <michael@ximian.com>
782
783         * libspi/relation.c (impl_getNTargets): impl.
784         (impl_getTarget): impl.
785
786         * libspi/Makefile.am: fix stateset install.
787
788 2002-04-17  Bill Haneman <bill.haneman@sun.com>
789
790         * NEWS:
791         Started putting useful info in this file.
792         
793 2002-04-17  Marc Mulcahy <marc.mulcahy@sun.com>
794  
795         * atk-bridge/bridge.c: 
796         Propagate state-changed notifications to ATs
797  
798         * cspi/spi_registry.c: update docs to reflect actual behavior of
799         state-change events.
800
801 2002-04-17  Bill Haneman <bill.haneman@sun.com>
802
803         * configure.in:
804         Incremented version to 0.12.1
805         
806         * util/mag_client.h:
807         Add missing declaration for magnifier_exit, 
808         used by mag_control.c - Forte compiler didn't like
809         the implicit redeclaration of the function :-(
810
811
812 2002-04-16  Bill Haneman <bill.haneman@sun.com>
813
814         * configure.in:
815         Revved version to 0.12 due to API change (see below).
816
817         * cspi/spi-roletypes.h:
818         removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE 
819         definition from the inline docs, and added docs
820         for SPI_ROLE_LAST_DEFINED.
821
822         * cspi/spi.h:
823         * cspi/spi_streamablecontent.c:
824         Added missing seek_type parameter to
825         (so far unused) method, 
826         AccessibleStreamableContent_seek().
827         [ RT approval JodyG. ]
828
829         * cspi/spi_event.c:
830         Fixed docs for SPI_createAccessibleKeystrokeListener.
831
832         * cspi/spi_registry.c:
833         Fixed docs for SPI_KEYSET_ALL_KEYS.
834         
835         * docs/reference/cspi/at-spi-cspi-sections.txt:
836         Added a number of missing APIs to SECTIONS.
837         
838 2002-04-16  Bill Haneman <bill.haneman@sun.com>
839
840         * registryd/Makefile.am:
841         * cspi/Makefile.am:
842         * cspi/bonobo/Makefile.am:
843         Add $(X_LIBS) to makefiles.
844
845 2002-04-15  Bill Haneman <bill.haneman@sun.com>
846
847         * configure.in:
848         Revved version to 0.11.
849
850         * libspi/component.c:
851         Added implementation for grabFocus.
852
853         * idl/Accessibility_Component.idl
854         (Accessibility_Component_grabFocus):
855         Made this method return boolean to indicate success or failure, to
856         be consistent with cspi and the corresponding ATK method.
857         
858         * idl/Accessibility_Selection.idl
859         (Accessibility_Selection_selectAll) :
860         Made these methods return boolean to indicate success or
861         failure, to be consistent with cspi and the corresponding ATK methods.
862         
863         * idl/Accessibility_EditableText.idl 
864         (Accessibility_EditableText_setTextContents,
865          Accessibility_EditableText_insertText,
866          Accessibility_EditableText_cutText,
867          Accessibility_EditableText_deleteText,
868          Accessibility_EditableText_pasteText):
869         Made these methods return boolean to indicate
870         success or failure.
871
872         * cspi/spi_editabletext.c:
873         Made these methods return booleans.
874
875         * libspi/selection.c:
876         * libspi/component.c:
877         * libspi/editabletext.c:
878         Connected the boolean returns from ATK
879         to the server-side code referenced above.
880         
881 2002-04-14  Bill Haneman <bill.haneman@sun.com>
882
883         * idl/Accessibility_Table.idl: Added missing methods,
884         Accessibility_Table_addRowSelection,
885         Accessibility_Table_addColumnSelection,
886         Accessibility_Table_removeRowSelection,
887         Accessibility_Table_removeColumnSelection.
888
889         * cspi/spi_table.c:
890         Added C wrappers for above IDL:
891         AccessibleTable_addRowSelection,
892         AccessibleTable_addColumnSelection,
893         AccessibleTable_removeRowSelection,
894         AccessibleTable_removeColumnSelection.
895         
896         * libspi/table.c:
897         Added server-side implementation code for IDL above, connecting
898         to pre-existing ATK api.
899         
900 2002-04-13  Marc Mulcahy <marc.mulcahy@sun.com>
901
902         * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
903
904         * libspi/accessible.c: Added implementation fo
905         Accessibility_Accessible_get_state.
906         
907         * libspi/libspi.h: Added stateset.h to the list of includes.
908
909         * libspi/stateset.c: Fixed broken implementation.
910
911 2002-04-13  Bill Haneman <bill.haneman@sun.com>
912
913         * util/magnifier.c:
914         Added implementation code for Accessibility_Magnifier_exit ().
915
916         * util/mag_control.c:
917         Added test code for above method; you can
918         now kill an existing magnifier via 
919         ./mag_control q, from the util directory.
920
921         * test/key-listener-test.c:
922         * test/Makefile.am:
923         Added a new test, for our key listener API.
924
925 2002-04-11  Bill Haneman <bill.haneman@sun.com>
926
927         * test/app.c, test/keysynth-demo.c:
928         * util/magnifier.c:
929         Replace use of snprintf with g_snprintf.
930         (fix for bugzilla 78249)
931
932 2002-03-27  Michael Meeks  <michael@ximian.com>
933
934         * Version 0.10.0
935
936         * util/Makefile.am (INCLUDES): fix.
937         (DONT_DIST_SOURCE): don't distribute the
938         generated files.
939
940         * libspi/Makefile.am (dist-hook): ditto.
941
942 2002-03-27  Padraig O'Briain  <padraig.obriain@sun.com>
943
944         * libspi/hypertext.c:
945         Fix warnings when yelp is used with atk-bridge
946
947 2002-03-21  Michael Meeks  <michael@ximian.com>
948
949         * libspi/application.c (spi_application_new):
950         use spi_accessible_construct so we use the AtkObject
951         cache correctly.
952
953 2002-03-19  Michael Meeks  <michael@ximian.com>
954
955         * registryd/registry.c (desktop_remove_application),
956         (desktop_add_application): clean coding style.
957
958         * registryd/desktop.c (spi_desktop_remove_application),
959         (spi_desktop_add_application): kill re-enterency hazards.
960         (spi_desktop_dispose): remove bogus redundant cast
961         obscuring bug; fix bug too.
962         (spi_desktop_init): make the desktop object immortal.
963
964 2002-03-16 Bill Haneman <bill.haneman@sun.com>
965
966         * test/simple-at.c:
967         Added a #define-guarded tree-traversal step
968         when enumerating the apps (diagnostic tool).
969
970 2002-03-15 Bill Haneman <bill.haneman@sun.com>
971
972         * idl/Accessibility_Role.idl:
973         Added ROLE_DRAWING_AREA which seemed to be missing from the
974         previous commit.
975
976 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
977
978         * cspi/spi-roletypes.h cspi/spi_accessible.c
979         idl/Accessibility_Role.idl libspi/accessible.c: synched up role
980         types with ATK.
981
982         * registryd/desktop.c registryd/desktop.h registryd/registry.c:
983         Added signals to SpiDesktop and callbacks in SpiRegistry to notify
984         AT when applications are added and removed from the desktop.  This
985         reverts the previous broken implementation using the backing
986         AtkObject for the SpiDesktop.
987         
988         2002-03-14  Marc Mulcahy <marc.mulcahy@sun.com>
989
990         * registryd/desktop.c: emit the "children-changed::add" and
991         "children-changed::remove" signals on the backing ATK object for
992         the desktop so AT can tell when applications are started and shut
993         down.
994
995         2002-03-14  Marc Mulcahy <marc.mulcahy@sun.com>
996
997         * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
998
999         2002-03-14  Marc Mulcahy <marc.mulcahy@sun.com>
1000
1001         * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
1002
1003         * cspi/spi_accessible.c: Implemented c bindings for stateset support
1004
1005         * cspi/state-types.h: synched with IDL and ATK
1006
1007         2002-03-13  Bill Haneman <bill.haneman@sun.com>
1008
1009         * libspi/accessible.c 
1010         (impl_accessibility_accessible_get_child_at_index):
1011         Change return value for g_return_if_fail ()
1012         to CORBA_OBJECT_NIL instead of "0" (!)
1013
1014         * registryd/Makefile.am:
1015         * registryd/Accessibility_Register.server.in:
1016         Changed name of executable, "registryd",
1017         to something more informative:
1018         "at-spi-registryd".
1019
1020 2002-03-13  Michael Meeks  <michael@ximian.com>
1021
1022         * atk-bridge/bridge.c (atk_bridge_init): don't register
1023         if we're in a bonobo-component, rather than a bonobo app.
1024
1025 2002-03-13  Michael Meeks  <michael@ximian.com>
1026
1027         * atk-bridge/bridge.c (gtk_module_init): split
1028         out body to (atk_bridge_init): here, since otherwise
1029         we get symbol conflicts and oddness when invoked
1030         from (gnome_accessibility_module_init): here (upd.)
1031
1032 2002-03-11  Bill Haneman  <bill.haneman@sun.com>
1033
1034         * HACKING:
1035         New file.  Explicitly allow "build sheriff" putbacks provided
1036         they are tested on Solaris.
1037         
1038         * docs/reference/cspi/Makefile.am:
1039         Added '-' to the "cp" command for index.sgml.
1040         ("patch by thomasvs, soon coming to a GUADEC near you")
1041
1042         * configure.in:
1043         Incremented version number (0.9.0) for new release.
1044         Changed macro that checks for popt, to better detect
1045         obsolete versions of popt.
1046         
1047         * configure.in:
1048         Added X_LIBS to AC_SUBST, for applications
1049         that call Xlib API directly.
1050         
1051
1052 2002-03-07  Bill Haneman  <bill.haneman@sun.com>
1053
1054         * configure.in:
1055         Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
1056
1057         * util/Makefile.am:
1058         Fix regression caused by hard-coding major
1059         version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
1060         (see above change).
1061         
1062         * test/test-simple.c (test_editable_text),
1063         (test_test): revert previous change (error was 
1064         a regression in gail which is now fixed).
1065         
1066 2002-03-04  Michael Meeks  <michael@ximian.com>
1067
1068         * test/test-simple.c (test_editable_text),
1069         (test_text): pass G_MAXINT instead of '-1' for
1070         whole string - is this a good thing !?
1071
1072         * cspi/spi_accessible.c
1073         (Accessible_getRelationSet): fix crasher bug
1074         overwriting the end of the array.
1075
1076         * test/test-simple.c (validate_accessible): free,
1077         not g_free returned relation set.
1078
1079 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
1080
1081         * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
1082         implemented stateset support
1083
1084         * idl/Accessibility_State.idl: Made necessary changes to
1085         the IDL to support state sets.
1086
1087 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1088
1089         * registryd/deviceeventcontroller.c:
1090         Added implementation for generateMouseEvent.
1091
1092         * cspi/spi_registry.c:
1093         Connected new implementation for generateMouseEvent
1094         to the C bindings.
1095         
1096 2002-02-12 Bill Haneman <bill.haneman@sun.com>
1097
1098         * configure.in: 0.8
1099         Incremented revision (but no change in public API
1100         outside of 'utils', which are not installed public yet.)
1101
1102         * libspi/component.c:
1103         Changed to use atk_component API for layers and
1104         mdi_zorder, instead of deprecated atk_object API.
1105         
1106         Magnification Utility Enhancements:
1107         
1108         * util/magnifier.c:
1109         Added implementation of createZoomRegion, clearAllZoomRegions,
1110         resizeZoomRegion.  Added new commandline argument
1111         "--no-initial-region".  Note that clearAllZoomRegions doesn't
1112         unmap the old '0' region as it should (yet), and the other
1113         methods only work when creating/resizing a single region,
1114         which is "region 0".  
1115         (Code for multiple region support will be added later.)
1116
1117         * util/mag_image.c:
1118         Now we raise the magnifier window each time it's refreshed;
1119         this will help keep it on top.
1120         
1121         * util/mag_client.h:
1122         Added simple wrappers for above, used by mag_control.
1123         For general use, it's recommended to use the bonobo magnifier
1124         control API directly instead of using these wrappers.
1125
1126         * util/mag_image.h:
1127         Moved ZoomRegionData from magnifier.c to this file.
1128         
1129         * util/mag_control.c: 
1130         Added some code to exercise new IDL implementations.
1131         
1132 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
1133
1134         * libspi/text.c: Provide implementation for getAttributes.
1135
1136 2002-02-04  Bill Haneman <bill.haneman@sun.com>
1137         
1138         * configure.in:
1139         Incremented revision.
1140
1141         * test/test-simple.c:
1142         Replaced use of deprecated g_main_iteration with 
1143         g_main_context_iteration.
1144         
1145 2002-01-28  Padraig O'Briain <padraig.obriain@sun.com>
1146
1147         * configure.in:
1148         Incremented revision for desktop alpha 2.
1149
1150 2002-01-28  Mark McLoughlin  <mark@skynet.ie>
1151
1152         * libspi/remoteobject.[ch]: make RemoteObject and interface rather
1153         than an atk object.
1154
1155         * test/simple-at.c: include netinet/in.h.
1156
1157 2002-01-24  Mark McLoughlin  <mark@skynet.ie>
1158
1159         * cspi/spi_accessible.c: (Accessible_getRelationSet):
1160         use NULL, not CORBA_OBJECT_NIL.
1161
1162         * libspi/accessible.c:
1163         (impl_accessibility_accessible_get_relation_set):
1164         allocate the sequence correctly.
1165
1166         * libspi/remoteobject.h: kill spi_remote_object_new.
1167
1168         * test/test-simple.c: (validate_accessible): add code
1169         to test relation sets, now all we need is to figure
1170         out how to excercise this code path :/
1171
1172 2002-01-18  Michael Meeks  <michael@ximian.com>
1173
1174         * test/test-simple.c
1175         (key_listener_cb): consume the key.
1176         (test_keylisteners): update.
1177         (main): wait for any pending unrefs on events.
1178
1179         * registryd/deviceeventcontroller.c
1180         (spi_controller_update_key_grabs): only re-issue the
1181         grab on a key release.
1182         (spi_device_event_controller_forward_key_event):
1183         refresh the keygrabs before we notify the listeners,
1184         to reduce the X ungrab / re-grab race.
1185         (spi_controller_register_with_devices): remove
1186         XSelectInput - we do that with the gdk_window_ call.
1187         (_spi_controller_device_error_handler): return a value.
1188         s/GDK_DISPLAY/spi_get_display/
1189
1190 2002-01-17  Michael Meeks  <michael@ximian.com>
1191
1192         * registryd/deviceeventcontroller.c
1193         (_deregister_keygrab): don't blow out the later
1194         assertion.
1195
1196         * test/test-simple.c (test_keylisteners): do a
1197         more intelligent validation.
1198
1199 2002-01-14  Michael Meeks  <michael@ximian.com>
1200
1201         * atk-bridge/bridge.c
1202         (gnome_accessibility_module_init),
1203         (gnome_accessibility_module_shutdown): impl.
1204         (gtk_module_init): protect vs. double inits.
1205         (add_signal_listener): impl.
1206         (spi_atk_bridge_state_event_listener): kill
1207         (deregister_application): split out of
1208         (spi_atk_bridge_exit_func): here.
1209
1210 2002-01-18  Bill Haneman <bill.haneman@sun.com>
1211
1212         * test/simple-at.c:
1213         Added caret tracking when using magnifier, and 
1214         now use text bounds for focus tracking of text elements, rather than
1215         the component bounds - this is helpful for short text fields in long
1216         table cells, at high magnification.
1217         
1218 2002-01-16  Bill Haneman <bill.haneman@sun.com>
1219
1220         * registryd/deviceeventcontroller.c:
1221         Regression fix for keylistener de-registration; global keygrabs
1222         were not being released when deregisterKeystrokeListener was
1223         called in cspi, since 
1224         Accessibility_DeviceEventController_deregisterKeystrokeListener
1225         was called with a zero-length keyset.  That is because the cspi
1226         method, SPI_deregisterKeystrokeListener, does not take a keyset
1227         parameter but instead should remove all the key grabs held be a
1228         keystroke listener.  
1229         The code in impl_deregister_keystroke_listener was changed to copy
1230         the keylist from the listener instance previously registered with
1231         the DeviceEventController before releasing the grabs.
1232
1233         * registryd/registry.c:
1234         * registryd/deviceeventcontroller.c:
1235         * libspi/spi-private.h:
1236         * libspi/util.c:
1237         Changed spelling of "re-enterant" to "re-entrant" globally.
1238
1239 2002-01-16  Bill Haneman <bill.haneman@sun.com>
1240
1241         * test/test-simple.c:
1242         Changed key listeners test - the test was slightly mis-using the
1243         (admittedly poorly documented) SPI_generateKeyboardEvent API.
1244         It now uses '=' as the key event listened to and generated,
1245         relying on a keysym match rather than assuming that keycode 33 
1246         is always equal to keysym '!'.
1247
1248 2002-01-15  Bill Haneman <bill.haneman@sun.com>
1249
1250         * test/simple-at.c:
1251         Changed simple-at to use a specific keyset, rather than
1252         SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
1253         manager, desktop, etc.
1254         
1255 2002-01-11  Bill Haneman <bill.haneman@sun.com>
1256
1257         * registryd/deviceeventcontroller.c:
1258         Replaced standard X error handler with a special handler that 
1259         is non-fatal for failed keygrabs.  This works around 
1260         problems with keygrab clashes sometimes observed on 
1261         Solaris using CDE.
1262         Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate 
1263         mouse handling code as yet).
1264         
1265 2002-01-11  Bill Haneman <bill.haneman@sun.com>
1266
1267         * configure.in:
1268         Incremented revision for desktop alpha release.
1269
1270         * README:
1271         Fixed a couple of the more glaring errors (still not 
1272         very up-to-date).
1273
1274 2002-01-11  Michael Meeks  <michael@ximian.com>
1275
1276         * registryd/deviceeventcontroller.c
1277         (spi_device_event_controller_forward_key_event): kill
1278         XUngrabKey / XKeyGrab race.
1279         (spi_controller_grab_keyboard): rename to
1280         (spi_controller_update_key_grabs): this, and deal
1281         with incremental adding / removing grabs more
1282         sensibly.
1283         (_register_keygrab): ensure we're not pending a remove.
1284         (spi_grab_mask_free): impl.
1285         (spi_controller_register_global_keygrabs): split out
1286         common code into:
1287         (handle_keygrab): impl.
1288         (_deregister_keygrab): impl.
1289         (spi_controller_deregister_global_keygrabs): impl.
1290         (spi_controller_update_key_grabs): re-issue the grab if
1291         we just recieved a notification.
1292
1293         * test/test-simple.c (key_listener_cb): remove debug.
1294
1295         * registryd/deviceeventcontroller.c
1296         (spi_controller_register_device_listener): after
1297         registering a global keygrab, actualy register it !
1298         don't wait for a timeout; doh !
1299
1300         * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
1301         to make it more readable / manipulable.
1302         s/grabmask/grab_mask/ s/refcount/ref_count/
1303         s/keyval/key_val/ s/modmask/mod_mask
1304
1305 2002-01-08  Michael Meeks  <michael@ximian.com>
1306
1307         * registryd/deviceeventcontroller.c
1308         (spi_controller_register_with_devices): use gdk calls to
1309         setup a filter.
1310         (global_filter_fn): implement the filter.
1311         (spi_device_event_controller_check_key_event): rename to
1312         (spi_device_event_controller_forward_key_event): this & upd.
1313         (spi_get_display): replace with GDK_DISPLAY.
1314
1315         * registryd/deviceeventcontroller.c
1316         (spi_controller_deregister_device_listener): unroll into
1317         (impl_deregister_keystroke_listener): here to simplify.
1318         (spi_controller_register_global_keygrabs): split cut and
1319         paste (!) out into (_register_keygrab): here, shorter & sweeter.
1320         (spi_controller_deregister_device_listener): remove.
1321         (impl_register_mouse_listener): remove, no mouse listener
1322         support in at-spi-1.0
1323
1324         * registryd/registry.c
1325         (_device_event_controller_hook): kill.
1326         (spi_registry_init): upd.
1327
1328         * registryd/deviceeventcontroller.c
1329         (spi_device_event_controller_class_init): upd.
1330         (spi_check_key_event): merge into.
1331         (spi_device_event_controller_check_key_event):
1332         here and kill strange static ev init, don't leak
1333         the x_event - nor dynamicaly allocate it.
1334
1335         * registryd/registry-main.c (main): re-direct
1336         timeout to remove strange vtable mess.
1337
1338         * registryd/deviceeventcontroller.c
1339         (remove_listener_cb): impl.
1340         (spi_controller_deregister_device_listener):
1341         fix re-enterancy hazard.
1342
1343 2002-01-07  Michael Meeks  <michael@ximian.com>
1344
1345         * registryd/deviceeventcontroller.c
1346         (spi_device_event_controller_new): upd.
1347         (impl_notify_listeners_sync): upd. debug.
1348         (spi_notify_keylisteners): fix re-enterancy hazards,
1349         prettify, remove O(n*n) iteration.
1350         (spi_controller_grab_keyboard): fix iteration.
1351         (spi_check_key_event): re-format to suit coding style.
1352         Clean all the warnings - we're warning free.
1353
1354         * registryd/deviceeventcontroller.h:
1355         * registryd/registry.h: make mutualy referential with
1356         typesafe forward references instead of (!) void pointer
1357         hacks.
1358
1359 2002-01-11  Michael Meeks  <michael@ximian.com>
1360
1361         * cspi/spi_accessible.c (role_names): add a role name
1362         to sync this array with the enum; and make the regression
1363         tests pass, sigh.
1364
1365 2002-01-10  Michael Meeks  <michael@ximian.com>
1366
1367         * cspi/spi_registry.c (SPI_generateKeyboardEvent): 
1368         allow expansion of enumeration & kill warning.
1369
1370         * test/test-simple.c (key_listener_cb): impl.
1371         (test_keylisteners): impl.
1372
1373         * cspi/spi-listener.h: make listener signatures const
1374         on the provided (const) events.
1375
1376         * test/keysynth-demo.c: upd. to const events.
1377
1378         * test/simple-at.c: ditto.
1379
1380 2002-01-11  Bill Haneman <bill.haneman@sun.com>
1381
1382         * configure.in:
1383         Rev the version to 0.5 (the previous tarball was named 0.4, 
1384         even though the micro number was 3), so we need to rev upwards
1385         again for beta2/"desktop-alpha" 
1386  
1387         * test/demo.csh:
1388         Checked in a demo script, which requires editing before use!
1389         Proceed with caution.
1390         
1391         * libspi/value.h:
1392         Fixed typo in header which was redefining SPI_ACTION_CLASS.
1393
1394         * cspi/spi_accessible.c:
1395         Add a couple of missing enum initializations, and fix some enum
1396         comments.
1397
1398         * cspi/spi_registry.c:
1399         Add comment describing keystring parameter to SPI_generateKeyboardEvent.
1400         
1401         * docs/reference/cspi/at-spi-cspi-sections.txt:
1402         Remove/fix a couple of broken document references.
1403
1404         * test/simple-at.c:
1405         Minor tweaks to the demo.  We now (sigh) use Alt-SHIFTLOCK as well
1406         as Alt-Control to listen for commands, since on some systems
1407         Control-Alt may already be grabbed.
1408
1409 2002-01-10  Bill Haneman <bill.haneman@sun.com>
1410
1411         * configure.in:
1412         Update version number to 0.4 for Beta2.
1413         
1414         * libspi/accessible.c, libspi/accessible.h:
1415         Expose spi_accessible_construct, to enable libgail-gnome
1416         construction from spi_accessible subtype.
1417
1418         * utils/magnifier.c:
1419         Workaround for bug in some non-gnome-compliant window managers
1420         which made magnifier resize improperly.
1421
1422 2002-01-09  Bill Haneman <bill.haneman@sun.com>
1423
1424         * libspi/accessible.c: (spi_accessible_new) :
1425         Move the test for SPI_IS_REMOTE_OBJECT to
1426         spi_accessible_new_return, fixing a bug and compile time warning.
1427         
1428 2002-01-08  Michael Meeks  <michael@ximian.com>
1429
1430         * registryd/registry.c (parse_event_type): remove strndup.
1431
1432         * libspi/Makefile.am (libspi_la_SOURCES): remove
1433         sources already included in the headers section.
1434
1435         * libspi/util.c: add.
1436
1437         * libspi/spi-private.h: add.
1438
1439         * registryd/registry.c: update to moved list iterators.
1440
1441 2002-01-05  Michael Meeks  <michael@ximian.com>
1442
1443         * test/simple-at.c (main): upd. auto-module set to atk-bridge
1444
1445         * test/test-simple.c (main): ditto.
1446
1447 2002-01-04  Michael Meeks  <michael@ximian.com>
1448
1449         * libspi/accessible.c (spi_accessible_new): remove 2nd,
1450         redundant construct.
1451
1452         * registryd/registry.c
1453         (get_listener_list): impl.
1454         (impl_accessibility_registry_register_global_event_listener):
1455         re-impl. to simplify using ~, remove dodgy const cast off.
1456         (parse_event_type): constify.
1457         (impl_accessibility_registry_deregister_global_event_listener_all): 
1458         re-write, more efficiency and simplicity, kill re-enterancy
1459         hazard.
1460         (compare_listener_corbaref, compare_corba_objects),
1461         (compare_listener_quarks): define out.
1462         (impl_accessibility_registry_deregister_global_event_listener): 
1463         re-write for effiency, and nail re-enterancy hazard.
1464         (impl_accessibility_registry_get_desktop_list): impl.
1465         (re_enterant_list_delete_link): impl.
1466         (re_enterant_list_foreach): impl.
1467         (remove_listener_cb): impl.
1468         (_registry_notify_listeners): kill.
1469         (notify_listeners_cb): impl.
1470
1471         * cspi/spi_registry.c (SPI_freeDesktopList): impl.
1472         (SPI_getDesktopList): impl.
1473
1474         * test/test-simple.c (test_desktop): test the methods.
1475
1476 2002-01-03  Michael Meeks  <michael@ximian.com>
1477
1478         * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
1479         keystrings since we free them
1480         (SPI_freeAccessibleKeySet): in here.
1481
1482         * libspi/accessible.c (spi_accessible_new): kill warning,
1483         wonder what is going on with the constructor here.
1484
1485 2002-03-01  Bill Haneman <bill.haneman@sun.com>
1486
1487         * libspi/accessible.c (spi_accessible_new ()) :
1488         Added check to see if AtkObject is an SpiRemoteObject before
1489         creating an SpiAccessible.
1490         
1491 2002-05-01  Bill Haneman <bill.haneman@sun.com>
1492
1493         * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
1494         Enable keygrabs using the Control modifier, now that they are
1495         working properly (they were previously disabled).
1496
1497         * test/simple-at.c:
1498         Change the command keygrab for this demo to "Control+Alt", so as
1499         to conflict with fewer other key commands on the system; this
1500         means that the quit command for "simple-at" is now "Ctrl-Alt-q".
1501
1502         Removed a pointlessly-chatty keylistener for unshifted keys
1503         (shifted keys are still reported).
1504         
1505 2002-02-01  Bill Haneman <bill.haneman@sun.com>
1506
1507         * libspi/remoteobject.h:
1508         * libspi/remoteobject.c:
1509         Added definitions for special AtkObject subtype, required for
1510         support of remote components (specifically, used by BonoboControl
1511         accessibility implementation).
1512         
1513 2002-01-02 Marc Mulcahy  <marc.mulcahy@sun.com>
1514
1515         * cspi/spi.h: synched relation types with ATK
1516
1517         * cspi/spi_accessible.c: Added implementations of
1518         AcccessibleRelation_* methods
1519
1520         * idl/Accessibility_Relation.idl: added getRelationTypeName
1521         method.  Synched known relation types with ATK.  Allowed for
1522         relation type extension with the RELATION_EXTENDED type.
1523         
1524         * libspi/relation.c: Provided implementations for
1525         AccessibleRelation methods.
1526
1527 2002-01-01  Bill Haneman <bill.haneman@sun.com>
1528
1529         API tweaks for today's API 'freeze'.
1530
1531         * idl/*:
1532         Added placeholder functions to allow future compatible expansion
1533         of the IDL interfaces.
1534
1535         * idl/Accessibility_Registry.idl:
1536         Changed generateKeyEvent to generateKeyboardEvent.  Changed
1537         signature of this method to accept an optional keystring in
1538         parameter (for complex text input synthesis) and changed use of
1539         simple 'boolean' parameter in registerKeystrokeListener to a
1540         struct, EventListenerMode.
1541
1542         * cspi/spi_accessible.c:
1543         * cspi/spi.h:
1544         * cspi/spi_streamablecontent.c:
1545         Added references to AccessibleStreamableContent interface, and
1546         definition and implementation of AccessibleStreamableContent 
1547         C bindings.
1548
1549         * cspi/spi_registry.c:
1550         * cspi/spi.h:
1551         Changed generateKeyEvent API to generateKeyboardEvent,
1552         taking a new (optional) keystring parameter to support complex
1553         text input.
1554         
1555         * at-bridge/*:
1556         * atk-bridge/*:
1557         Renamed directory (to better reflect its actual purpose, bridging
1558         from at-spi to ATK).  The .so module is also now named
1559         libatk-bridge.so.
1560
1561         * idl/Accessibility_Hypertext.idl:
1562         * libspi/accessible.c:
1563         * libspi/hypertext.h:
1564         * libspi/hypertext.c:
1565         Changed Accessibility_Hypertext to *not* derive from
1566         Accessibility_Text.
1567
1568         * cspi/spi_registry.c:
1569         Added list of legal event type names for 'window' events, which
1570         completes the registry event API.
1571
1572 2001-12-22  Marc Mulcahy  <marc.mulcahy@sun.com>
1573
1574         * at-bridge/bridge.c: Added registration for separate
1575         "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
1576         signals.  If either of the first two parameters to the generic
1577         bridge signal handler are ints, they are passed on as event
1578         details.  This allows an AT to determine what text was inserted.
1579
1580 2001-12-21  Bill Haneman <bill.haneman@sun.com>
1581
1582         * registryd/deviceeventcontroller.c:
1583         Fixed regressions in generateKeyEvent caused by the removal of
1584         gdk_init from registryd; we now use pure X calls to connect to the
1585         display, which makes sense because deviceeventcontroller already
1586         uses a fair bit of X API (should eventually be migrated to a
1587         'portability layer').
1588
1589         * registryd/desktop.c:
1590         Fixed minor regression in spi_desktop_init, changed the way the
1591         desktop name is being set to work with new spi_base API
1592         (gobject-based, rather than AtkObject-based).
1593
1594         * registryd/Makefile.am:
1595         Minor revision of makefile to use XTST_LIBS variable rather than
1596         hard-wiring the Xtst LD_ADD element.
1597
1598         * test/keysynth-demo.c:
1599         Tweaked an output message; added initialization of the
1600         'keystrings' member of the "switch listener" key_set.
1601
1602         * libspi/relation.c:
1603         Squashed compile-time warning.
1604
1605         * libspi/accessible.c:
1606         Cosmetic and formatting fixes, renamed a static method.
1607         
1608 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
1609
1610         * libspi/accessible.c 
1611         * libspi/action.c
1612         * libspi/application.c 
1613         * libspi/base.c 
1614         * libspi/base.h
1615         * libspi/component.c 
1616         * libspi/editabletext.c
1617         * libspi/hyperlink.c 
1618         * libspi/hypertext.c
1619         * libspi/image.c 
1620         * libspi/selection.c 
1621         * libspi/table.c
1622         * libspi/text.c 
1623         * libspi/value.c 
1624         * registryd/desktop.c:
1625         Changed SpiBase to contain a GObject pointer rather than an AtkObject
1626
1627 2001-12-17  Bill Haneman <bill.haneman@sun.com>
1628
1629         * idl/Accessibility_Registry.idl:
1630         Added boolean member 'is_text' to DeviceEvent.  This is for the
1631         use of key events, and helps prevent ambiguity between composed
1632         key strings and keysym names, since both may potentially be
1633         returned in the 'event_string' member.
1634
1635         * at-bridge/bridge.c:
1636         * registryd/deviceeventcontroller.c:
1637         Use the 'is_text' member when notifying device event listeners.
1638         Knon issue: composed characters are not dealt with correctly by
1639         the global key listener implementation yet.
1640         
1641 2001-12-17  Bill Haneman <bill.haneman@sun.com>
1642
1643         * at-bridge/bridge.c:
1644         Namespaced local static methods to spi_atk_bridge_* where
1645         previously named bridge_*, and spi_* elsewhere.
1646
1647         * at-bridge/bridge.c:
1648         * cspi/bonobo/cspi-bonobo-listener.c:
1649         Added demarshalling/conversion for string member of
1650         Accessibility_DeviceEvent to AccessibleKeystroke.
1651
1652         * registryd/deviceeventcontroller.c:
1653         Added code to fill the Accessibility_DeviceEvent key string value
1654         member for global key events (i.e. from XGrabKey), to match
1655         behavior of Accessibility_DeviceEvent from the toolkit key events
1656         from the bridge.  Fixed timestamp in global key event notifications.
1657
1658         * test/simple-at.c:
1659         Added printout of key event's string value to
1660         report_ordinary_key_event, for demo/debugging purposes.
1661
1662 2001-12-15  Bill Haneman <bill.haneman@sun.com>
1663
1664         * idl/Accessibility_Registry.idl:
1665         Removed Accessibility_KeyStroke structure in favor of generic
1666         Accessibility_DeviceEvent structure.
1667         Changed Accessibility_ControllerEventMask from a struct to an
1668         unsigned long.
1669
1670         * at-bridge/bridge.c:
1671         Changed APIs to use DeviceEvent structure as above, and removed
1672         bogus casting between these event structures.
1673
1674         * cspi/spi-listener.h:
1675         Added keystring member of AccessibleKeystroke structure, to enable
1676         matching on event "names" rather than only hardware codes and
1677         keysyms.
1678
1679         * cspi/spi.h:
1680         Added keystrings member of AccessibleKeySet struct, to allow
1681         matching on event names (as above).
1682         Added declarations for SPI_createAccessibleKeySet and
1683         SPI_freeAccessibleKeySet.  Due to changes in libspi, we now pass
1684         event modmasks directly as unsigned ints rather than structs with
1685         refcounts, in the DeviceEventController methods.
1686
1687         * cspi/spi_registry.c:
1688         Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
1689
1690         * cspi/spi-roletypes.h:
1691         Added documentation of newly added SPI Roles.
1692
1693         * cspi/bonobo/cspi-bonobo-listener.c:
1694         Changes in support of API changes above.
1695         
1696         * libspi/accessible.c:
1697         Converted APIs to use DeviceEvent structure (see IDL changes
1698         above). 
1699
1700         * registryd/deviceeventcontroller.c:
1701         Added DEControllerGrabMask structure to track keygrabs not only by
1702         modmask but by keyset as well; this allows us to do "global"
1703         (i.e. X) keygrabs on a per-key or keyset basis rather than always
1704         grabbing on AnyKey and then filtering after-the-fact.
1705         Bugfixes for event filtration mean that we don't get false matches
1706         on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
1707
1708         * registryd/deviceeventcontroller.c:
1709         Namespaced a number of static methods to use spi_ prefix.  Major
1710         revision to internals of global (i.e. X) key grabs.
1711
1712         * registryd/deviceeventcontroller.h:
1713         Removed keymask_list and added keygrabs_list to
1714         SpiDeviceEventController struct.
1715
1716         * test/simple-at.c:
1717         Added use of SPI_createAccessibleKeySet API when creating a
1718         listener for only one key.  Attach a listener to "shift spacebar
1719         SPI_KEY_RELEASE" as a demonstration.  Changed (incorrect) usage of
1720         X key event names to SPI key event names, so that listeners are
1721         registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
1722         
1723         * test/keysynth-demo.c:
1724         Changed (incorrect) use of X key event names (KeyPressed,
1725         KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
1726         
1727
1728 2001-12-12  Bill Haneman <bill.haneman@sun.com>
1729
1730         * libspi/accessible.c:
1731         Convert all AtkRole enumerations to Accessibility_Role enums when
1732         getting a role from an AtkObject.
1733         
1734         * cspi/spi_accessible.c:
1735         Complete the conversion of Accessibility_Role enums at runtime to
1736         AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
1737         role enums correctly match those given in spi-roletypes.h.  
1738         Re-synchronize the local names list for AccessibleRole_getName ().
1739         AccessibleRole_getName is now deprecated, since it duplicates the
1740         more reliable Accessible_getRoleName.
1741         Added some role types from Accessibility_Role.idl.
1742
1743         * idl/Accessibility_Role.idl:
1744         Added some role types used by AtkRole.
1745
1746 2001-12-12  Bill Haneman <bill.haneman@sun.com>
1747         
1748         * cspi/spi.h:
1749         * cspi/spi_registry.c:
1750         * cspi/spi_event.c:
1751         * cspi/cspi-bonobo-listener.c:
1752         Namespaced all methods that did not begin with an "SPI_" or
1753         "Accessible" prefix to "SPI_".  
1754
1755         * cspi/spi_main.c:
1756         Homogenized internal function namespace to "cspi_" for statics.
1757         
1758         * test/*.c:
1759         Patched tests to use the new CSPI API.
1760
1761         * docs/reference/cspi/at-spi-cspi-sections.txt:
1762         Updated docs to reflect namespace changes, and added a number of
1763         methods to the documentation.
1764         
1765         * registryd/registry.c:
1766         Changed use of strings and string hashes in listener event
1767         matching and parse_event_string to use GQuark, which is guaranteed
1768         unique.
1769         
1770         * registryd/registry.h:
1771         Squashed annoying warning.
1772
1773         * idl/Accessibility_Role.idl:
1774         Extended range of available Accessibility_Role values.
1775
1776         * cspi/spi_accessible.c:
1777         Re-ordered role names. 
1778
1779 2001-12-12  Bill Haneman <bill.haneman@sun.com>
1780
1781         * idl/Accessibility_Value.idl:
1782         Revert use of union back to CORBA_double, since the double type is
1783         more efficient and can contain the other types without loss of
1784         precision.
1785
1786         * idl/Accessibility_Accessible.idl:
1787         Added method Accessibility:Accessible:getRoleName, to complement
1788         Accessibility:Accessible:getRole.
1789
1790         * cspi/spi_accessible.c:
1791         * cspi/spi.h:
1792         Added C binding for above, Accessible_getRoleName (), and changed
1793         signature of Accessible_getRole () to return an AccessibleRole.
1794
1795         * cspi/spi-roletypes.h:
1796         Changed AccessibleRole_getName to return a char * instead of a
1797         const char *.  This method is now at least temporarily deprecated 
1798         in favor of asking Accessibles for their RoleNames directly.
1799
1800         * libspi/value.c:
1801         Revert to match Accessibility_Value.idl;
1802
1803         * cspi/spi_value.c:
1804         * cspi/spi.h:
1805         Change signature of AccessibleValue methods to use double rather
1806         than float.
1807
1808         * cspi/spi.h:
1809         * cspi/spi_accessible.c:
1810         Changed Accessible_getRole to return an AccessibleRole enum rather
1811         than a UTF-8 string.  The UTF-8 string can still be obtained via
1812         AccessibleRole_getName ().
1813         
1814         * test/test-simple.c:
1815         Add test_action.  Small fixup to match API change to Accessible_getRole.
1816
1817         * libspi/action.c:
1818         Bugfix for get_action_from_servant ().
1819
1820 2001-12-11  Michael Meeks  <michael@ximian.com>
1821
1822         * libspi/libspi.h: remove registry.h and
1823         desktop.h, deviceeventcontroller.h
1824
1825         * libspi/Makefile.am: remove registry.[ch],
1826         desktop.[ch], deviceeventcontroller.[ch]
1827
1828         * registryd/Makefile.am: add registry.[ch],
1829         desktop.[ch], rename registryd.c to registry-main.c.
1830         add deviceeventcontroller.[ch]
1831
1832 2001-12-11  Bill Haneman <bill.haneman@sun.com>
1833
1834         * test/simple-at.c:
1835         Replace setenv() call with putenv ().
1836
1837         * libspi/component.c:
1838         Bugfix in AccessibleComponent_getExtents (),
1839         (from Adi Dascal).
1840         
1841 2001-12-11  Michael Meeks  <michael@ximian.com>
1842
1843         * libspi/image.c (impl_getImageExtents): impl.
1844         (spi_image_class_init): upd.
1845
1846         * cspi/spi_image.c
1847         (AccessibleImage_getImageDescription): fix daft bug
1848         of mine (doh).
1849
1850         * test/test-simple.c (global_listener_cb): update
1851         to only quit if not --poke
1852         (main): catch --poke.
1853         (validate_accessible): upd. dumping, call test_image
1854         (test_image): impl.
1855
1856         * libspi/Makefile.am (IDL_DEPS): fixup the IDL
1857         dependencies.
1858
1859         * idl/Accessibility.idl: update all IDL includes.
1860
1861         * idl/*.idl - rename to namespace - this sucks, blame
1862         mjs' bad decision for oafd.
1863
1864         * test/test-simple.c (create_test_window): add more tests.
1865         (create_tree): split this out.
1866         (validate_accessible): bugfix.
1867
1868 2001-12-11  Michael Meeks  <michael@ximian.com>
1869
1870         * cspi/bonobo/cspi-bonobo-listener.c: 
1871         (cspi_kestroke_listener_unref),
1872         (cspi_event_listener_unref): impl. undoing previous
1873         homenous environment - for Bill.
1874
1875         * cspi/spi_table.c (long_seq_to_array): use
1876         malloc instead.
1877
1878         * cspi/spi_main.c: split out all bonoboish bits into
1879         bonobo/
1880
1881         * cspi/spi-impl.h: upd. typedefs.
1882
1883         * cspi/spi_registry.c: update to lowlevel API,
1884         return booleans to indicate success in some places.
1885
1886         * cspi/spi_event.c: update to lowlevel API.
1887
1888         * cspi/bonobo/Makefile.am: add.
1889
1890         * cspi/bonobo/cspi-lowlevel.h: add
1891
1892         * cspi/bonobo/cspi-bonobo.c: add
1893
1894         * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
1895
1896         * cspi/Makefile.am: remove spi-listener-impl.[ch],
1897         (SUBDIRS): add bonobo, link in the libs.
1898
1899         * cspi/spi-util.c: kill this file.
1900
1901         * TODO: merge in my bits.
1902
1903 2001-12-11  Michael Meeks  <michael@ximian.com>
1904
1905         * test/test-simple.c (test_value, test_table, main):
1906         remove unused variables causing warnings.
1907
1908         * configure.in: cleanup checks - require gail.
1909
1910 2001-12-11  Bill Haneman  <bill.haneman@sun.com>
1911
1912         * idl/Value.idl:
1913         Changed Value interface to use SValue (scalars) rather than
1914         assuming all values are floats.  This allows floats, doubles,
1915         longs, shorts, and unsigned values to be manipulated.
1916         Introduced Accessibility:SValue union.
1917
1918         * libspi/value.c:
1919         Updated to use new API above, and to work correctly with GValues
1920         of different types in AtkValue.
1921
1922         * cspi/spi_value.c:
1923         Updated to use new API above.  cspi's API is as yet unchanged.
1924
1925         * TODO: 
1926         Updated the Value revision action item.
1927         
1928 2001-12-10  Bill Haneman  <bill.haneman@sun.com>
1929
1930         * test/test-simple.c:
1931         Added test_table (GtkTreeView widget in test window to follow).
1932         Un-commented test_value, added GtkRange widget.
1933         Added GtkTreeView widget with GtkListStore.  It passes regression
1934         test but leaks one SPI object for some reason.
1935
1936         * libspi/value.c:
1937         Fixed bug in impl__set_currentValue.
1938
1939 2001-12-10  Michael Meeks  <michael@ximian.com>
1940
1941         * cspi/spi_text.c: audit for exception handling,
1942         tolerating NULL object references safely etc.
1943
1944         * cspi/spi_value.c: ditto.
1945
1946         * cspi/spi_table.c (AccessibleTable_getSummary),
1947         (AccessibleTable_getAccessibleAt),
1948         (AccessibleTable_getRowHeader),
1949         (AccessibleTable_getColumnHeader),
1950         (AccessibleTable_getCaption): fix bugs hidden by
1951         incorrect casts.
1952         (long_seq_to_array): impl.
1953         (AccessibleTable_getSelectedRows),
1954         (AccessibleTable_getSelectedColumns): use it.
1955
1956 2001-12-10  Bill Haneman  <bill.haneman@sun.com>
1957
1958         * TODO:
1959         Added a TODO list (rough and short for now).
1960
1961         * cspi/spi_hyperlink.c:
1962         * cspi/spi_hypertext.c:
1963         Fixed macro name typos, and remove use of obsolete macro in 
1964         AccessibleHyperlink_getLink.
1965
1966         * cspi/spi_action.c:
1967         * cspi/spi_accessible.c:
1968         * cspi/spi_application.c:
1969         * cspi/spi_component.c:
1970         * cspi/spi_selection.c:
1971         * cspi/spi_text.c:
1972         * cspi/spi_value.c:
1973         Documentation fixes (removed return values from ref/unref methods).
1974
1975 2001-12-10  Michael Meeks  <michael@ximian.com>
1976
1977         * cspi/spi_action.c: audit for exception handling,
1978         tolerating NULL object references safely etc.
1979
1980         * cspi/spi_accessible.c: ditto.
1981
1982         * cspi/spi_component.c: ditto.
1983
1984         * cspi/spi_editabletext.c: ditto.
1985
1986         * cspi/spi_hyperlink.c: ditto.
1987
1988         * cspi/spi_hypertext.c: ditto.
1989
1990         * cspi/spi_image.c: ditto.
1991
1992         * cspi/spi_selection.c: ditto.
1993
1994 2001-12-10  Michael Meeks  <michael@ximian.com>
1995
1996         * configure.in: use cspi/libspi.pc.in instead.
1997
1998         * Makefile.am (pkgconfig_DATA): upd. to match.
1999
2000         * test/simple-at.c (report_focus_event): kill hacks around
2001         bad return values, use putenv not setenv
2002
2003         * libspi/desktop.c (impl_desktop_get_child_at_index): don't
2004         fire ChildGone - I killed it.
2005
2006         * libspi/component.c
2007         (impl_accessibility_component_get_extents): remove
2008         bogus return.
2009
2010         * idl/Accessible.idl: kill ChildGone exception.
2011
2012         * cspi/*.[ch]: kill int return from ref / unref.
2013         
2014         * cspi/spi_main.c (cspi_object_add_check): fold into
2015         (cspi_object_add): here.
2016
2017         * cspi/spi_component.c (AccessibleComponent_getExtents):
2018         handle exceptions elegantly.
2019
2020         * cspi/spi-private.h (cspi_check_ev_return),
2021         (cspi_return_if_fail): impl.
2022
2023         * cspi/spi_accessible.c: use extensively.
2024         (AccessibleStateSet_equals): add direct compare check.
2025
2026         * cspi/spi_selection.c: tolerate NULL objs, and check
2027         exceptions before return.
2028
2029         * cspi/spi-util.c (cspi_warn_ev): rename to
2030         (cspi_check_ev): this & don't pass ev in; no point.
2031
2032 2001-12-10  Michael Meeks  <michael@ximian.com>
2033
2034         * test/test-simple.c: use putenv not setenv
2035         (get_environment_vars): more chatty if you're not using
2036         the fun bits.
2037
2038         * test/simple-at.c: do the setenv so more people see the
2039         nice demo easily.
2040
2041 2001-12-10  Bill Haneman <bill.haneman@sun.com>
2042
2043         * libspi/registry.c:
2044         Changed check of CORBA_environment on notification to be a warning
2045         instead of an error for the moment, since we can recover from this
2046         error when caused by a queued notification from a dead app.
2047         
2048         * libspi/value.c:
2049         Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
2050         used by all current implementors of AtkValue), and coerce to
2051         CORBA_float. (Proper general case fix may require change to Value.idl).
2052
2053 2001-12-09  Bill Haneman <bill.haneman@sun.com>
2054
2055         * cspi/spi.h:
2056         * cspi/spi_event.c:
2057         * cspi/spi_accessible.c:
2058         Documentation fixes: added user_data params to documentation for 
2059         listeners and callbacks.  
2060
2061         * cspi/spi_accessible.c: 
2062         Changed AccessibleStateSet_compare to return a
2063         StateSet rather than return the difference set into a third parameter.
2064         
2065         
2066 2001-12-09  Bill Haneman <bill.haneman@sun.com>
2067
2068         * configure.in:
2069         Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
2070         remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
2071         it). 
2072
2073         * Makefile.am:
2074         Remove subdirectory po from SUBDIRS for now.
2075
2076         * at-bridge/bridge.c:
2077         Beefed up a couple of debug printouts.
2078         One-line fix for signal notification name formatting.
2079
2080         * libspi/accessible.c:
2081         Added assertion to spi_accessible_new ().
2082
2083         * libspi/application.c:
2084         Put #ifdef qualifiers around a printf.
2085
2086         * libspi/value.c:
2087         Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
2088
2089         * registryd/Makefile.am:
2090         * util/Makefile.am:
2091         Replaces use of XML_I18N_MERGE_SERVER_RULE with
2092         INTLTOOL_SERVER_RULE macro.
2093
2094         * test/simple-at.c:
2095         Added an event listener for several ATK signals, for
2096         testing and debugging.  Removed a few g_warnings.
2097         Added test output if focussed item implements the Value interface.
2098
2099         * test/test-simple.c:
2100         Added test_value () function (known not to pass at the moment, so
2101         not actually called yet.
2102         
2103 2001-12-08  Michael Meeks  <michael@ximian.com>
2104
2105         * at-bridge/bridge.c (bridge_focus_tracker),
2106         (emit_eventv): fix the same ref. leak.
2107         (register_atk_event_listeners): don't leak.
2108
2109         * cspi/spi-listener-impl.c (cspi_event): more 
2110         protection from client code.
2111
2112         * test/test-simple.c (test_desktop): unref the app.
2113
2114         * test/Makefile.am: upd. TESTS.
2115
2116         * at-bridge/bridge.c (bridge_exit_func): release the registry.
2117
2118         * test/keysynth-demo.c (keysynth_exit): unref the listeners.
2119
2120         * cspi/spi_accessible.c (Accessible_queryInterface): constify.
2121
2122         * cspi/spi_registry.c: constify in strings.
2123         (deregisterGlobalEventListenerAll): don't release the ref.
2124
2125         * cspi/spi.h: start removing redundant / conflicting
2126         gtkdoc comments, making the API readable at a glance :-)
2127         
2128         * cspi/spi_event.c (AccessibleEventListener_unref): impl.
2129
2130         * test/keysynth-demo.c (keysynth_exit, main): upd.
2131
2132         * test/simple-at.c (main, simple_at_exit): upd.
2133
2134         * test/test-simple.c (unutterable_horror): kill.
2135         (utterable_normal_derefs): kill.
2136         (main): upd & do a setenv before gtk_init, so that we
2137         can use memprof - and to save the pain of remembering
2138         this, if we're running under memprof - don't exit.
2139
2140         * cspi/spi_main.c (SPI_exit): return exit status
2141         for cspi.
2142         (SPI_event_quit): impl.
2143         (SPI_event_main): simplify.
2144         (cspi_is_gnome_app): kill.
2145         (SPI_init): kill isGNOMEapp arg.
2146
2147         * at-bridge/bridge.c (register_atk_event_listeners):
2148         re-instate the unref.
2149         (bridge_exit_func): don't re-activate the registry,
2150         protect vs. theoretical re-entry, use the
2151         AT_BRIDGE_SHUTDOWN env. var to determine whether to
2152         assert a clean shutdown - for regression tests.
2153
2154 2001-12-08  Abel Cheung  <maddog@linux.org.hk>
2155
2156         * configure.in: Comment out dummy i18n support for now,
2157           otherwise it fails to build.
2158         * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
2159           EXTRA_DIST. They are missing in tarball.
2160
2161 2001-12-07  Michael Meeks  <michael@ximian.com>
2162
2163         * util/magnifier.c: kill bonobo activation reg. race.
2164
2165         * libspi/component.c
2166         (impl_accessibility_component_get_extents): make it match
2167         it's sig.
2168
2169         * libspi/registry.c (_registry_notify_listeners):
2170         re-remove X headers & reconcile conflicts.
2171         (spi_listener_struct_free): bad conflict resolve.
2172         (impl_accessibility_registry_register_application):
2173         more bad merging fixed.
2174         (impl_accessibility_registry_deregister_application): ditto.
2175         (spi_registry_new): ditto.
2176         (spi_registry_init): don't have an applications field.
2177
2178 [ merge fixups2 branch to here ]
2179 2001-12-07  Michael Meeks  <michael@ximian.com>
2180
2181         * test/simple-at.c (report_focus_event),
2182         (report_focussed_accessible): remove g_warning debug.
2183
2184 2001-12-07  Michael Meeks  <michael@ximian.com>
2185
2186         * test/test-simple.c (validate_tree): comment out some checks.
2187         (test_desktop): app now not registered idly - horay.
2188
2189 2001-12-07  Michael Meeks  <michael@ximian.com>
2190
2191         * cspi/spi_registry.c
2192         (registerAccessibleKeystrokeListener): clean, stop it leaking
2193         great swathes of memory, and device event controller references.
2194         ensure we always pass valid sequences.
2195         (deregisterAccessibleKeystrokeListener): ditto.
2196         (generateKeyEvent): upd.
2197
2198         * at-bridge/bridge.c (bridge_key_listener): handle
2199         registry dead exception gracefully.
2200         (bridge_focus_tracker, emit_eventv): free ev.
2201
2202         * test/simple-at.c (report_focus_event): fix polarity.
2203
2204         * libspi/application.c (notify_listeners): kill the ev
2205         argument, and make sure we init the ev we use.
2206         (spi_application_object_event_listener): split out a chunk
2207         (get_atk_object_ref): here & fixup.
2208         (reverse_lookup_name_for_toolkit_event): make const.
2209         (spi_application_toolkit_event_listener): fixup, kill leaks
2210         ref problems etc.
2211
2212         * at-bridge/bridge.c (register_atk_event_listeners):
2213         don't unref the noop object - causes grief.
2214
2215         * libspi/registry.c: remove the X headers.
2216         turn off the debug churn.
2217
2218         * libspi/accessible.c (spi_accessible_new_return): only
2219         release the ref if we are supposed to [doh]
2220
2221         * test/simple-at.c (report_button_press, report_focus_event):
2222         guard vs. unexpected exit.
2223
2224         * at-bridge/bridge.c (gtk_module_init): prune printf.
2225         (bridge_exit_func): fix app unref.
2226
2227         * libspi/Makefile.am: don't install registry or desktop.h
2228
2229         * libspi/*.h: update includes.
2230
2231         * libspi/application.h: don't include ourself, or
2232         other redundant headers.
2233
2234 2001-12-06  Michael Meeks  <michael@ximian.com>
2235
2236         * libspi/accessible.c
2237         (get_accessible_from_servant): impl.
2238         Upd. all CORBA impl.s to use it killing cut and paste.
2239
2240         * cspi/spi_main.c (cspi_cleanup): guard vs. double
2241         invokes.
2242         (SPI_init): register atexit cleanup handler here.
2243
2244 2001-12-06  Michael Meeks  <michael@ximian.com>
2245
2246         * at-bridge/bridge.c (gtk_module_init): g_error on
2247         activation exception
2248
2249 2001-12-06  Michael Meeks  <michael@ximian.com>
2250
2251         * at-bridge/bridge.c (gtk_module_init): some sort of
2252         confusing merge clash - reverted.
2253         (bridge_idle_init): ditto.
2254
2255         * test/test-simple.c (main, utterable_normal_derefs):
2256         merge from Bill - somehow not committed.
2257
2258 2001-12-06  Michael Meeks  <michael@ximian.com>
2259
2260         * libspi/value.c (spi_value_class_init): upd.
2261         (spi_value_finalize): kill.
2262
2263         * libspi/table.c (spi_table_finalize): kill.
2264         (spi_table_interface_new): upd.
2265         (spi_table_class_init): upd.
2266         (get_table_from_servant): impl.
2267         Upd. all CORBA impl.s to use it killing yet more cut and paste.
2268
2269         * libspi/selection.c (spi_selection_finalize): kill.
2270         (spi_selection_interface_new): upd.
2271         (spi_selection_class_init): upd.
2272         (get_selection_from_servant): impl.
2273         Upd. all CORBA impl.s to use it killing yet more cut and paste.
2274
2275         * libspi/relation.c (spi_relation_finalize): kill.
2276         (spi_relation_class_init, spi_relation_new): upd
2277
2278         * libspi/image.c (spi_image_finalize): kill.
2279         (spi_image_class_init): upd.
2280         (spi_image_interface_new): upd.
2281         (get_image_from_servant): impl.
2282         Upd. all CORBA impl.s to use it killing yet more cut and paste.
2283
2284         * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
2285         (spi_hyperlink_finalize): kill.
2286         (spi_hyperlink_new): upd.
2287         (get_hyperlink_from_servant): impl.
2288         Upd. all CORBA impl.s to use it killing yet more cut and paste.
2289
2290         * libspi/hypertext.c (spi_hypertext_interface_new): upd.
2291         (spi_hypertext_finalize): kill.
2292         (spi_hypertext_class_init): upd.
2293         (get_hypertext_from_servant): impl.
2294         Upd. all CORBA impl.s to use it killing yet more cut and paste.
2295
2296         * libspi/editabletext.c (spi_editable_text_finalize): kill.
2297         (spi_editable_text_interface_new): upd.
2298         (get_editable_text_from_servant): impl.
2299         Upd. all CORBA impl.s to use it killing yet more cut and paste.
2300         
2301         * libspi/text.c (get_text_from_servant): impl.
2302         All impls - update to use it killing more cut and paste,
2303         also fix bad string returns on duff args ( a somewhat
2304         impossible case to handle - but hey ).
2305         (spi_text_construct): impl.
2306         (spi_text_interface_new): upd.
2307         (spi_text_object_finalize): kill.
2308
2309         * libspi/component.c
2310         (accessibility_component_object_finalize): kill.
2311         (spi_component_class_init): upd.
2312         (get_component_from_servant): impl. helper to kill cut & paste.
2313         (impl_accessibility_component_contains): 
2314         (impl_accessibility_component_get_accessible_at_point): 
2315         (impl_accessibility_component_get_position): 
2316         (impl_accessibility_component_get_extents): 
2317         (impl_accessibility_component_get_mdi_z_order): 
2318         (impl_accessibility_component_get_layer): 
2319         (spi_component_interface_new): upd.
2320
2321         * libspi/action.c (spi_action_finalize): kill.
2322         (spi_action_class_init): upd. inherit from SpiObject.
2323         (spi_action_interface_new): upd.
2324         (get_action_from_servant): impl. helper to reduce cut & paste.
2325         (impl_getKeyBinding, impl_getName, impl_doAction),
2326         (impl_getDescription): Use it everywhere.
2327
2328         * cspi/spi_main.c (get_live_refs): a pointer hash.
2329         (spi_object_hash, spi_object_equal): comment out.
2330         There are issues with CORBA object hashing that need
2331         solving.
2332
2333         * libspi/application.c (spi_application_init),
2334         (spi_application_new): upd.
2335
2336         * libspi/accessible.c (spi_accessible_object_finalize): kill.
2337         (spi_accessible_class_init): upd.
2338         s/accessible/object/ in epv methods.
2339
2340 2001-12-05  Bill Haneman <bill.haneman@sun.com>
2341
2342         * at-bridge/bridge.c:
2343         Reorder the bridge initialization into the bridge gtk_module_init,
2344         an immediate call to bridge_register_app, and an idle_add for
2345         register_atk_event_listeners (the only code that *must* wait until
2346         GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
2347         the activation, creates the application's Accessible object, and
2348         queues the bridge_idle_init function.  Restored call to
2349         Accessibility_Registry_deregisterApplication().  
2350         Prior to making this call we obtain a new reference to the
2351         registry, which is a temporary hack that helps us handle apps that
2352         shut down the bonobo mainloop before we get there.
2353
2354         * libspi/registry.c:
2355         Fix string leakage in debug block, and don't segv if a an app
2356         dies before its event notifications have been propagated.
2357
2358         * cpi/spi_util.c:
2359         Modify cspi_check_ev() to call g_warning() rather than g_error(),
2360         as stopgap measure until we get proper exception handling when 
2361         objects die during or before interrogation.  
2362
2363         * cspi/spi_main.c:
2364         * cspi/spi.h:
2365         Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
2366         Also changed default value of is_gnome_app to TRUE.
2367
2368         * test/simple-at.c:
2369         * test/keysynth-demo.c:
2370         Changed use of SPI_init and SPI_event_main to reflect API change above.
2371
2372         * test/simple-at.c:
2373         Made report_focus_event check the warning value from getName
2374         before reporting on focussed accessible; simplifies handling of
2375         notifications from dead objects.
2376
2377         * test/test-simple.c: (Changes not in this patch since source is
2378         not in CVS ?)
2379         
2380 2001-12-05  Michael Meeks  <michael@ximian.com>
2381
2382         * registryd/registryd.c (main): protect against
2383         bonobo-activation startup race condition.
2384
2385         * cspi/spi_main.c (cspi_object_add_check): cope
2386         with the exception elegantly.
2387
2388         * idl/Accessible.idl: decl. ChildGone
2389
2390         * libspi/desktop.c (spi_desktop_dispose): impl.
2391         (spi_desktop_class_init): upd.
2392         (spi_desktop_add_application),
2393         (spi_desktop_remove_application),
2394         (abnormal_application_termination): impl.
2395         (impl_desktop_get_child_at_index): re-impl.
2396
2397         * libspi/registry.c
2398         (impl_accessibility_registry_deregister_application),
2399         (impl_accessibility_registry_register_application): 
2400         kill excessive debug clutter.
2401
2402         * test/test-simple.c (test_misc): test some NULL
2403         tolerance. (main): upd.
2404
2405         * cspi/spi_main.c (cspi_accessible_is_a): a NULL
2406         implements no interfaces - so let's not crash.
2407
2408         * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
2409
2410         * libspi/accessible.c (spi_accessible_new_return): impl.
2411         helper to calm the cut and paste, to cope with
2412         NULL AtkObjects effectively and efficiently, and to kill
2413         the referencing bugs.
2414
2415         * libspi/table.c (impl_getAccessibleAt),
2416         (impl_getRowHeader, impl_getColumnHeader): upd.
2417
2418         * libspi/hyperlink.c (impl_getObject): upd.
2419
2420         * libspi/accessible.c
2421         (impl_accessibility_accessible_get_child_at_index): upd.
2422
2423         * libspi/component.c
2424         (impl_accessibility_component_get_accessible_at_point): upd.
2425
2426         * test/test-simple.c (test_editable_text, test_text): impl.
2427         some simple tests.
2428
2429         * cspi/spi_editabletext.c
2430         (AccessibleEditableText_insertText): constify.
2431
2432         * test/test-simple.c (focus_me): make more robust.
2433
2434         * libspi/accessible.c: remove some printfs in methods that
2435         we test and work fine, so we can get a clean tree dump.
2436
2437         * test/test-simple.c (validate_accessible),
2438         (validate_tree): make tree dumping pretty too.
2439
2440         * at-bridge/bridge.c (bridge_signal_listener): upd. so
2441         it builds without debug on.
2442
2443         * test/test-simple.c (validate_accessible): fix the most
2444         ludicrous bug.
2445
2446         * cspi/spi_main.c (spi_object_release): leave the nicely
2447         blanked memory around if in debug mode.
2448
2449         * cspi/spi-listener-impl.c (cspi_event): use add_check.
2450
2451 [committed to fixups2]
2452 2001-12-05  Michael Meeks  <michael@ximian.com>
2453
2454         * libspi/editabletext.c
2455         (spi_editable_text_class_init): g_type_class_peek_parent,
2456         not interface peek - so we finalize cleanly.
2457
2458         * libspi/accessible.c (spi_accessible_new): kill debug.
2459
2460         * test/test-simple.c (validate_accessible): fix ref.
2461         leak, print strings before freeing them; sigh, comment a
2462         chunk out due to strangeness.
2463         (validate_tree): unref the child after use.
2464
2465         * cspi/spi_component.c (AccessibleComponent_getLayer):
2466         add missing break statement, switch on zlayer not the
2467         uninitialized retval.
2468
2469         * cspi/spi_main.c (cspi_object_add): add assert, local ref
2470         before (possibly re-entering) remote unref.
2471
2472         * test/simple-at.c (main): unref the desktop.
2473
2474         * cspi/spi_accessible.c (cspi_accessible_is_a): move 
2475         into:
2476         
2477         * cspi/spi_main.c (cspi_accessible_is_a): here to 
2478         isolate bonobo API usage more.
2479
2480         * libspi/registry.c (impl_accessibility_registry_register_application): 
2481         prune bogus comment.
2482
2483 2001-12-04  Michael Meeks  <michael@ximian.com>
2484
2485         * test/test-simple.c (validate_tree): upd.
2486         IndexInParent check to make it more lucid.
2487         (validate_accessible): dump the tree.
2488
2489         * libspi/accessible.c (de_register_public_ref),
2490         (get_public_refs): impl.
2491         (spi_accessible_new): make more efficient & intuitive.
2492         Now IndexInParent check works.
2493
2494 2001-12-04  Michael Meeks  <michael@ximian.com>
2495
2496         * cspi/spi-util.h: remove.
2497
2498         * cspi/spi.h: move SPI_freeString here
2499
2500         * libspi/component.c (impl_accessibility_component_get_layer): 
2501         warning fixage.
2502         (impl_accessibility_component_get_mdi_z_order): ditto,
2503         return -1 on error - is this ok ?
2504
2505         * test/test-simple.c (test_application): impl.
2506
2507         * cspi/spi_accessible.c (Accessible_getApplication),
2508         (Accessible_isApplication): impl.
2509
2510         * libspi/registry.c (spi_listener_struct_free): release
2511         the CORBA reference too.
2512
2513         * libspi/accessible.c
2514         (impl_accessibility_accessible_get_parent): fix ref leak.
2515
2516         * libspi/registry.c (spi_registry_new): make the registry
2517         immortal - we don't want it to go away ever.
2518
2519         * libspi/application.c
2520         (spi_accessible_application_finalize): impl. cleanup.
2521
2522         * cspi/spi_registry.c
2523         (deregisterGlobalEventListenerAll),
2524         (deregisterGlobalEventListener),
2525         (deregisterAccessibleKeystrokeListener): fix ref leak.
2526
2527         * cspi/spi_main.c (SPI_init): remove redundant ref.
2528
2529         * test/test-simple.c (unutterable_horror): impl. to force a
2530         clean shutdown.
2531         (main): use it.
2532
2533         * libspi/registry.c
2534         (impl_accessibility_registry_deregister_application): release
2535         the application when we de-register it.
2536
2537         * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
2538         until we have the infastructure to get it right.
2539
2540 2001-12-03  Michael Meeks  <michael@ximian.com>
2541
2542         * libspi/Makefile.am: only build eventlistener.[ch]
2543
2544         * libspi/accessible.c
2545         (impl_accessibility_accessible_get_child_at_index): don't leak.
2546
2547         * at-bridge/bridge.c (bridge_exit_func): cope with an exit
2548         before we hit the idle handler.
2549
2550         * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
2551         debugging than exit.
2552
2553         * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
2554
2555         * libspi/listener.c (impl_notify_event): check source
2556         not NIL before unref.
2557
2558         * libspi/registry.c (impl_registry_notify_event): ditto.
2559
2560         * libspi/eventlistener.c
2561         (impl_accessible_event_notify_event): unref the source.
2562
2563         * libspi/accessibleeventlistener.c
2564         (impl_accessible_event_notify_event): unref the source.
2565
2566         * idl/Event.idl: remove 'hash_id' attribute - of no
2567         concievable use.
2568
2569         * libspi/application.c (notify_listeners): upd list
2570         iteration & sig.
2571         (spi_application_object_event_listener), 
2572         (spi_application_toolkit_event_listener): upd to do correct
2573         CORBA ref counting.
2574
2575         * libspi/registry.c
2576         (_registry_notify_listeners): update.
2577         (parse_event_type): this method also leaks like a sieve.
2578         (impl_accessibility_registry_deregister_global_event_listener): 
2579         fix ETYPE_WINDOW case.
2580
2581         * libspi/application.c
2582         (impl_accessibility_application_register_object_event_listener): 
2583         kill leak.
2584
2585         * libspi/hyperlink.c (impl_getObject): fix ref mistake.
2586
2587         * libspi/hypertext.c (impl_getLink): ditto.
2588
2589         * cspi/spi_main.c (cspi_object_add): remove
2590         bogus CORBA_Object_duplicate.
2591
2592         * cspi/spi-listener-impl.c (cspi_event): dup/ref
2593         on the object_add.
2594
2595         * cspi/spi_accessible.c
2596         (Accessible_getRelationSet): fix leak / referencing issue.
2597
2598         * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
2599         (cspi_object_add, cspi_object_unref): upd.
2600         (spi_object_release, get_live_refs): impl.
2601         (cspi_cleanup): simplify.
2602
2603         * *.[ch]: s/boolean/SpiBoolean/
2604
2605         * cspi/spi_accessible.c (role_names): actualy order so it
2606         corresponds with the enum !
2607
2608         * test/test-simple.c (test_roles): check some role strings
2609         vs. enums to detect offset errors.
2610
2611 2001-12-01  Michael Meeks  <michael@ximian.com>
2612
2613         * cspi/spi_main.c (cspi_object_add_check): impl. helper.
2614
2615         * cspi/spi_accessible.c (Accessible_getChildAtIndex):
2616         check ev before 
2617         (Accessible_getChildAtIndex): use cspi_add_check so we
2618         check the ev before using a (possibly) invalid value.
2619
2620         * libspi/accessible.c
2621         (impl_accessibility_accessible_get_parent): don't segv
2622         on a NULL parent.
2623
2624         * at-bridge/bridge.c (gtk_module_init): upd.
2625         (bridge_property_event_listener): don't leak strings
2626         and events !
2627         (bridge_state_event_listener),
2628         (bridge_property_event_listener): don't use a static
2629         buffer in case of recursive event emission &
2630         re-enterancy - split out the swathe of cut and paste
2631         into:
2632         (emit_eventv): and fix 2 ref leaks here & comply to the
2633         coding style.
2634         (bridge_register_app): rename to 
2635         (bridge_idle_init): this and kill arg parsing, split
2636         various inits & bonobo-activation registration to module
2637         init time, kill referencing error.
2638         (bridge_exit_func): fix the same leak.
2639         (bridge_focus_tracker): don't leak event structures
2640         and strings.
2641         (bridge_signal_listener): more leakage and cut & paste
2642         fixage.
2643         (bridge_key_listener): return the result - FIXME is
2644         this polarity correct ?
2645         (accessibility_keystroke_from_atk_key_event): rename
2646         (accessibility_init_keystroke_from_atk_key_event): and stop
2647         leakage.
2648         (gtk_module_init): return a value - not that it is checked by
2649         Gtk - but hey.
2650         (bridge_key_listener): register my horror at casting between
2651         IDL defined structs.
2652         (bridge_get_registry): kill - not used.
2653
2654         * cspi/spi_accessible.c (Accessible_getRole): make return const.
2655
2656         * test/test-simple.c (test_roles): impl.
2657         (test_desktop, validate_accessible, validate_tree): impl.
2658
2659         * cspi/spi_accessible.c (role_names): fixup bogus
2660         MAX_ROLES setup, make constants const for efficient linkage
2661         (AccessibleRole_getName): conform to coding style, make
2662         return 'const'
2663
2664 2001-11-30  Michael Meeks  <michael@ximian.com>
2665
2666         * cspi/spi.h: add missing prototype.
2667
2668         * libspi/registry.c (spi_listener_struct_new): fix sig.
2669
2670         * test/Makefile.am: add test-simple
2671
2672         * test/test-simple.c: add
2673
2674         * test/test.sh: add.
2675
2676         * cspi/spi_main.c (SPI_init): make SPI_inited module global,
2677
2678         * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
2679         do it straight - since otherwise we often get an activation race.
2680
2681 [ work before Bill duplicated a chunk of it ... ]
2682 2001-11-30  Michael Meeks  <michael@ximian.com>
2683
2684         * libspi/keystrokelistener.c
2685         (spi_keystroke_listener_class_init): fixup arg
2686         count (doh).
2687
2688         * libspi/eventlistener.c
2689         (spi_event_listener_class_init): ditto.
2690
2691         * tests/test.sh: add.
2692
2693         * cspi/spi-listener-impl.h: update macros.
2694
2695         * cspi/spi-listener-impl.c
2696         (cspi_event_listener_remove_callback): add
2697         correct pre-conditions.
2698
2699         * cspi/spi_main.c (SPI_exit): guard vs. double
2700         exits, exit the mainloop nicely.
2701         (SPI_event_main): make more sense.
2702         (SPI_init): move the atexit evilness here so we
2703         always do it (yuck).
2704         (SPI_event_main): upd.
2705
2706         * test/simple-at.c: update for listener changes.
2707
2708         * registryd/registryd.c (main): prune kruft.
2709
2710         * libspi/libspi.h: upd.
2711
2712         * libspi/eventlistener.[ch]: rename broken macros.
2713
2714         * libspi/accessibleeventlistener.[ch]: remove.
2715
2716         * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
2717
2718         * test/test-simple.c: Add - automated tests.
2719
2720         * cspi/spi-listener-impl.c (cspi_event),
2721         (cspi_key_event): add user_data to invoke.
2722         (cspi_keystroke_listener_finalize): impl.
2723         (cspi_keystroke_listener_class_init): upd.
2724
2725         * cspi/spi_event.c
2726         (createAccessibleEventListener),
2727         (AccessibleEventListener_addCallback),
2728         (createAccessibleKeystrokeListener),
2729         (AccessibleKeystrokeListener_addCallback): upd.
2730
2731         * libspi/deviceeventcontroller.c
2732         (spi_device_event_controller_check_key_event): add public proto.
2733
2734         * libspi/registry.c
2735         (impl_accessibility_registry_deregister_global_event_listener): 
2736         always init listeners.
2737         (_registry_notify_listeners): yes it is.
2738
2739         * cspi/spi-listener-impl.c (cspi_key_event): 
2740         move debug to here.
2741         (cspi_event_listener_finalize): impl.
2742         (cspi_event_listener_class_init): hook up.
2743         (event_handler_new, event_handler_free),
2744         (event_list_remove_by_callback): impl.
2745         (cspi_event_listener_remove_callback),
2746         (cspi_keystroke_listener_remove_callback),
2747         (cspi_keystroke_listener_add_callback),
2748         (cspi_event_listener_add_callback): upd.
2749
2750         * libspi/keystrokelistener.c
2751         (keystroke_listener_object_finalize): kill
2752         (spi_keystroke_listener_class_init): upd.
2753         (spi_keystroke_listener_add_callback),
2754         (spi_keystroke_listener_remove_callback): kill,
2755         use signals.
2756         (impl_key_event): prune drasticaly.
2757
2758         * libspi/eventlistener.c
2759         (spi_event_listener_add_callback),
2760         (spi_event_listener_remove_callback): kill, use
2761         signals.
2762         (impl_accessible_event_notify_event): upd.
2763         (spi_event_listener_object_finalize): remove.
2764
2765         * libspi/Makefile.am: use eventlistener.[ch]
2766
2767 2001-12-04  Bill Haneman  <bill.haneman@sun.com>
2768
2769         * libspi/registry.c (_registry_notify_listeners):
2770         Changed listener loop iteration to use preferred convention.
2771         Got rid of string memory leaks caused be calling g_strconcat
2772         inside function calls.
2773
2774         * libspi/registry.c (parse_event_type):
2775         Stopped g_strconcat memory leaks, free the g_strsplit return,
2776         g_strdup the split pieces when used, etc.
2777
2778 2001-12-04  Bill Haneman  <bill.haneman@sun.com>
2779
2780         * idl/State.idl: 
2781         Change method 'compare' to return a 'difference set' rather than
2782         taking a StateSet as an out parameter (more Java-friendly).
2783
2784         * idl/Accessible.idl:
2785         Added CORBA struct 'BoundingBox', to faciliate API changes below:
2786         
2787         * idl/Component.idl:
2788         * idl/Image.idl:
2789         Changed methods 'getExtents' and 'getImageExtents' in these
2790         interfaces to return a BoundingBox structure.  
2791         (getPosition and getSize are redundant and possibly should be
2792         removed, rather than creating a corresponding Point struct.)
2793
2794         * cspi/spi_component.c:
2795         Modify implementation of getExtents to reflect the above IDL
2796         change.
2797         
2798         * cspi/spi_image.c:
2799         * cspi/spi.h:
2800         Add (missing) AccessibleImage_getExtents () API.
2801
2802         * docs/reference/cspi/at-spi-cspi-sections.txt:
2803         Added AccessibleImage_getImageExtents () to docs.
2804         
2805 2001-12-03  Bill Haneman  <bill.haneman@sun.com>
2806
2807         * idl/Component.idl:
2808         Added two methods, getLayer () and getMDIZOrder (), to reflect
2809         the new ATK methods atk_object_get_layer and
2810         atk_object_get_mdi_z_order. (Which arguably should be part of the
2811         AtkComponent API and AtkObject).  Also added an enum,
2812         ComponentLayer, for the first method's return value.
2813
2814         * libspi/component.c:
2815         Added implementations for these methods.
2816
2817         * cspi/spi_component.c:
2818         * cspi/spi.h:
2819         Added cspi binding methods for above, 
2820         AccessibleComponent_getLayer() and
2821         AccessibleComponent_getMDIZOrder().
2822         Added cspi enum 'AccessibleComponentLayer'.
2823
2824         * docs/reference/cspi/at-spi-cspi-sections.txt:
2825         Added above methods to docs.
2826
2827         * cspi/spi-impl.h:
2828         * cspi/spi*.[ch]:
2829         Changed typedef for 'boolean' type (and all references to it) to
2830         SPIBoolean, to avoid keyword clashes with C++.
2831
2832         * test/simple-at.c:
2833         Changed usages of 'boolean' to SPIBoolean.
2834
2835         * test/keysynth-demo.c:
2836         Changed usages of 'boolean' to 'gboolean' (since this is a gnome
2837         app), except where SPIBoolean is required by the callbacks API.
2838         
2839 2001-12-02  Bill Haneman  <bill.haneman@sun.com>
2840
2841         * cspi/spi_registry.c:
2842         Removed obsolete X event loop for passive keygrabs (which now
2843         lives in libspi).
2844
2845         * registryd/registryd.c:
2846         Removed unnecessary call to gdk_init() [cruft]. This also allows
2847         removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
2848         * configure.in.
2849
2850 2001-11-28  Bill Haneman  <bill.haneman@sun.com>
2851
2852         * docs/reference/cspi:
2853         Included docs for SPI_freeString in generated documentation.
2854
2855         * cspi/spi-util.c:c
2856         Renamed spi_freeString to SPI_freeString, for consistency.  Added
2857         documentation for this function.
2858
2859         * cspi/spi-util.h:
2860         Renamed spi_freeString to SPI_freeString, for consistency.  
2861         Removed obsolete method declaration string_from_corba_string.
2862
2863         * test/keysynth-demo.c:
2864         Small tweak to comments.
2865
2866         * test/simple-at.c:
2867         Stopped leaking the strings returned from CSPI. 
2868
2869 2001-11-28  Bill Haneman  <bill.haneman@sun.com>
2870
2871         Merged Michael's branch (see his ChangeLog entries below).
2872         
2873         * at-bridge/bridge.c: Explicitly hold a ref to the registry while
2874         bridge is alive, release on exit.
2875         
2876         * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
2877         Fix type check macro.
2878         
2879         * cspi/spi_event.c:
2880         Added AccessibleKeystrokeListener_unref() method to reduce leakage.
2881         
2882         * cspi/spi_main.c: 
2883         Added is_gnome_app static, and method cspi_is_gnome_app(), 
2884         so we can call the appropriate shutdown routine at exit in SPI_exit.
2885         
2886         * cspi/spi_main.c (cspi_object_ref):
2887         Duplicate the corba object passed in, since we're keeping it around.
2888         
2889         * cspi/SPI_exit.c, cspi_cleanup:
2890         Moved the releasing of the live refs to its own function, so we
2891         can put it in g_atexit ().  Call the appropriate shutdown API
2892         depending on whethe calling client is a gnome app or not
2893         (bonobo_main_quit or CORBA_ORB_shutdown).
2894         
2895         * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
2896         Unref the listener when this method is called, after
2897         deregistration.  Updated the API docs to note this behavior.
2898
2899         * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
2900         Bugfixes: Ref the bonobo object when returning a parent or child 
2901         reference, or an AccessibleRelation.  Generally made sure
2902         BonoboObject refcount is incremented whenever we return an
2903         Accessible.
2904
2905         * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
2906         Fixed typo/bug in signal declaration.
2907         
2908         * libspi/accessibleeventlistener.h:
2909         Fixed a type macro.
2910
2911         * libspi/application.c (spi_application_new):
2912         Fixed leak in initialization.
2913
2914         * libspi/desktop.c:
2915         Remembered to increment bonobo-object refcount when returning
2916         children (applications) from desktop object.
2917         Added (empty) finalize method.
2918
2919         * libspi/deviceeventcontroller.c:
2920         Hold a ref to listeners inside DEControllerKeyListeners.
2921         Added dec_key_listener_free() method.  Use prepend instead of
2922         append in key_listener list.  Fixed some refcount madness and
2923         leaks in the listener registration/deregistration - deregistration
2924         now calls dec_key_listener_free() on listeners, and on the
2925         temporarily constructed dec_key_listener() used to perform the search/match.
2926
2927         * libspi/hypertext.c (spi_hypertest_finalize):
2928         Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
2929         class.  Also fixed spi_hypertext_interface_new() and
2930         SpiHypertextClass.  Fixed a couple of paren-whitespace formatting bugs.
2931
2932         * libspi/hypertext.h: 
2933         Removed pointless and duplicate AtkObject pointer from
2934         SpiHypertextClass.
2935
2936         * libspi/keystrokelistener.c:
2937         Fixed incorrect type of keystroke_listener_parent_class,
2938         renamed keystroke_listener_object_finalize to
2939         spi_keystroke_listener_object_finalize.
2940         Fixed typo in signal declaration
2941         (spi_keystroke_listener_class_init).
2942
2943         * libspi/registry.c:
2944         Added funcsions spi_listener_struct_new() and
2945         spi_listener_struct_free() to help with memory management issues.
2946         We also now use these methods instead of gnew + poking stuff into
2947         the struct, and to decrement listener counts/free the listeners
2948         when deregistering them.
2949         Fix more refcount bugs in getDesktop() and
2950         getDeviceEventController().  
2951
2952         * test/simple-at.c:
2953         De-ref the desktop after enumerating the applications.  Explicitly
2954         decrement the refcounts on the created listeners on exit (using
2955         _unref for keystroke listeners, and via the
2956         deregisterGlobalEventListenerAll command for other event
2957         listeners).
2958         
2959 2001-11-27  Michael Meeks  <michael@ximian.com>
2960
2961         * cspi/spi-listener.h: fixup enum.
2962
2963 2001-11-27  Michael Meeks  <michael@ximian.com>
2964
2965         * cspi/spi-listener-impl.c (cspi_event_listener_new),
2966         (cspi_keystroke_listener_new): Use the cspi variants.
2967
2968 2001-11-26  Michael Meeks  <michael@ximian.com>
2969
2970         * test/keysynth-demo.c: fix 2 compile warnings, missing
2971         type in decl. etc.
2972
2973         * test/simple-at.c (report_focussed_accessible),
2974         (report_focus_event, report_button_press),
2975         (check_property_change, is_command_key),
2976         (report_ordinary_key_event, report_command_key_event): upd.
2977
2978         * util/mag_client.h: include pre-requisites.
2979
2980         * libspi/accessibleeventlistener.c
2981         (spi_event_listener_object_finalize): free any lingering
2982         callbacks.
2983         
2984         * libspi/keystrokelistener.c
2985         (keystroke_listener_object_finalize): ditto.
2986
2987         * cspi/spi-listener-impl.[ch]: Add to implement cspi style
2988         callbacks, with cspi types.
2989         
2990         * cspi/spi_event.c (createAccessibleEventListener): chain to
2991         (AccessibleEventListener_addCallback): here.
2992         (createAccessibleKeystrokeListener): chain to 
2993         (AccessibleKeystrokeListener_addCallback): here.
2994
2995         * libspi/keystrokelistener.c
2996         (spi_keystroke_listener_class_init): add signal.
2997         (impl_key_event): emit the event.
2998         (boolean_handled_accumulator): impl.
2999         (marshal_BOOLEAN__POINTER): add, gack.
3000
3001         * libspi/accessibleeventlistener.c
3002         (spi_event_listener_class_init): add signal.
3003         (impl_accessible_event_notify_event): emit the signal &
3004         make the loop efficient.
3005         (spi_event_listener_add_callback): prepend the callback.
3006
3007         * libspi/accessibleeventlistener.h: add an 'event' signal,
3008         decl type on callback.
3009
3010         * libspi/keystrokelistener.h: ditto.
3011
3012         * cspi/spi-listener.h: make methods typesafe and
3013         make them use the new event typedefs.
3014
3015         * test/simple-at.c (report_focussed_accessible):
3016         include mag_client.h
3017         Use *(void *)text_interface not the other thing.
3018         
3019         * configure.in: add gtk to registryd bits - since we use
3020         gdk there ( why ? )
3021
3022         * util/magnifier.c: include libbonobo.h
3023         
3024 2001-11-25  Bill Haneman  <bill.haneman@sun.com>
3025
3026         * test/keysynth-demo.c:
3027         Turned this into a simple scanning keyboard, to demonstrate the
3028         use of g_timeout_add () as a means of creating timers for
3029         scanning, and the use of GtkStyle for visually indicating when
3030         virtual keyboard elements are selected.
3031
3032         keysynth-demo now listens to any keyboard keys with zero-valued
3033         keycodes (i.e. 'unused' keys) and interprets them as
3034         single-switches.
3035
3036         Reworked the shiftlatch code so that shift-down state isn't held
3037         for long periods (it's only synthesized immediately prior to
3038         the keysynth event it's modifying).  Note that shiftlatch in this
3039         demo is a convenience, not intended to take the place of AccessX 
3040         which is the better choice for getting 'sticky' modifier keys.
3041
3042         * libspi/deviceeventcontroller.c:
3043         * at-bridge/bridge.c:
3044         * cspi/spi_registry.c:
3045         Removed some debug print stuff, and put other verbosity in #ifdef
3046         blocks.
3047
3048         * util/magnifier.c:
3049         * util/mag_image.h:
3050         Implemented some more of the magnifier IDL for the simple
3051         magnifier: namely, getZoomRegionParams. 
3052         Added mag_x and mag_y members to MagnifierData struct, aid of this
3053         implementation.
3054         Added GtkWindow::realize signal handler to magnifier, to keep it
3055         from receiving keyboard focus from the WM.
3056
3057 2001-11-23  Mark McLoughlin  <mark@skynet.ie>
3058
3059         * cspi/spi-private.h: my guess at what michael forgot
3060         before he ran off to NZ :-)
3061
3062 2001-11-23  Michael Meeks  <michael@ximian.com>
3063
3064         * cspi/spi_event.c (AccessibleEventListener_removeCallback):
3065         comment out non existant method invoke so we link.
3066
3067         * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
3068         use bonobo_exception_get_text for more friendly warnings.
3069
3070         * cspi/spi.c (Obj_Add): move into spi_main & rename
3071         spi_object_add; kill spi.c
3072
3073         * cspi/spi_registry.c
3074         (deregisterGlobalEventListener),
3075         (deregisterGlobalEventListenerAll),
3076         (registerGlobalEventListener): fix exception leaks.
3077
3078         * cspi/spi_main.c (spi_exception): impl. helper, so we
3079         don't leak exceptions.
3080
3081         * cspi/spi_selection.c
3082         (AccessibleSelection_deselectSelectedChild): return the
3083         success state.
3084
3085         * cspi/spi_main.c (spi_ev): impl; hack - gack.
3086         (spi_registry): ditto.
3087         (SPI_init): guard against double inits.
3088
3089         * cspi/*.c: use spi_ev (), and spi_registry () where
3090         appropriate - a temporary hack until we have something
3091         better. Use spi_object_add
3092
3093 2001-11-22  Michael Meeks  <michael@ximian.com>
3094
3095         * cspi/Makefile.am: re organise, install the headers.
3096
3097         * cspi/*.h: add G_BEGIN/END_DECLS
3098
3099 2001-11-22  Bill Haneman  <bill.haneman@sun.com>
3100
3101         * test/simple-at.c:
3102         Added non-preemptive keylistener for key events with no modifiers
3103         and shift-only modifier.
3104
3105         * libspi/keystrokelistener.c:
3106         Removed some verbose diagnostics printout.
3107
3108         * cspi/spi_registry.c:
3109         Fixed a bug that caused all key listeners to be registered as
3110         pre-emptive.
3111         
3112         * libspi/deviceeventcontroller.c:
3113         Fixed bug that caused XGrabKey (preemptive key grab) to be called
3114         for non-preemptive key masks.
3115
3116
3117 2001-11-22  Bill Haneman  <bill.haneman@sun.com>
3118
3119         * docs/reference/idl/at-spi-idl-docs.sgml:
3120         * docs/reference/idl/at-spi-idl-sections.txt:
3121         * docs/reference/idl/at-spi-idl-overrides.txt:
3122         Added missing files.
3123
3124         * docs/reference/Makefile.am:
3125         removed idl from SUBDIRS until we can figure a way to get gtk-doc
3126         to scan the IDL files :-(
3127
3128         * docs/reference:
3129         * docs/cspi:
3130         * docs/idl:
3131         Added .cvsignore files.
3132         
3133 2001-11-21  Bill Haneman  <bill.haneman@sun.com>
3134
3135         * libspi/deviceeventcontroller.c:
3136         * libspi/keystrokelistener.c:
3137         * cspi/spi_event.c:
3138         * cspi/spi_registry.c:
3139         Added filters for KeySets, KeyEventSeq, and event types to key
3140         event dispatching, so listeners should only receive those events
3141         that they requested :-)
3142
3143 2001-11-21  Bill Haneman  <bill.haneman@sun.com>
3144
3145         * configure.in:
3146         * docs/Makefile.am:
3147         * docs/reference:
3148         * docs/reference:Makefile.am:
3149         * docs/reference/cspi:
3150         * docs/reference/cspi:Makefile.am:
3151         * docs/reference/cspi:tmpl:
3152         * docs/reference/cspi:tmpl:*.sgml:
3153         * docs/reference/idl:
3154         * docs/reference/idl:Makefile.am:
3155         * docs/reference/idl:at-spi-idl-sections.txt:
3156         * docs/reference/idl:at-spi-idl-docs.sgml:
3157         * docs/reference/idl:tmpl:
3158         * docs/reference/idl:tmpl:*.sgml:
3159
3160         Restructured docs directory to allow separate 'reference' docs
3161         section, and forked idl and cspi docs.  Added the sgml template
3162         files to CVS.  Added the first sections/structural sgml for the
3163         IDL docs.
3164
3165 2001-11-21  Laszlo Peter  <laca@ireland.sun.com>
3166
3167         * configure.in, libspi/Makefile.am: find libXtst.
3168
3169 2001-11-21  Michael Meeks  <michael@ximian.com>
3170
3171         * test/accessx-gui.c: s/spi_value/value/ - doh.
3172
3173         * libspi/base.[ch]: add.
3174
3175 2001-11-18  Bill Haneman <bill.haneman@sun.com>
3176
3177         * idl/Accessible.idl:
3178         * idl/Application.idl:
3179         * idl/Registry.idl:
3180         * idl/Action.idl:
3181         Started gtk-doc cleanup on IDL.
3182
3183         * libspi/deviceeventcontroller.c:
3184         Added and connected non-preemptive key notification from the
3185         toolkits (in addition to the pre-emptive support from XServer
3186         which we had before, but which causes 'focus flashing').  Filters
3187         are presently limited to key modifiers and global/non-global,
3188         KeySets are presently ignored, as are KeyEvent masks.
3189
3190         Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
3191         structs into the persistant structure rather than just storing
3192         pointers to things that might not persist across servant
3193         invocations.
3194
3195         The XGrabKey call now does async keygrabs, because synchronous
3196         ones were deadlocking with GDK_event code in a very nasty way.
3197
3198         Added boolean to internal method notify_keylisteners, to indicate
3199         whether the event came from the 'toolkit source' or the 'global
3200         (XServer) source' - this is used in the notification process to
3201         determine which listeners to send the event to.
3202
3203         deviceeventcontroller.c is now warning-free.
3204         
3205         * libspi/registry.c:
3206         Fixed regression in application de-registration.
3207         Also fixed some really brain-dead weirdness having to do with
3208         event dispatching - event structs are now duplicated before being
3209         re-marshalled in the dispatch to listeners.  This also fixes a
3210         Solaris build problem.
3211         
3212         
3213 2001-11-20  Michael Meeks  <michael@ximian.com>
3214
3215         * libspi/registry.c
3216         (impl_accessibility_registry_deregister_global_event_listener): 
3217         segv. protection.
3218
3219         * libspi/deviceeventcontroller.c
3220         (spi_device_event_controller_check_key_event): return
3221         FALSE on no virtual method.
3222
3223         * libspi/*..h: make includes work on a correctly pathed install.
3224
3225         * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
3226
3227         * libspi/application.h: kill unused ( and whacked out )
3228         gboolean *spi_application_set_id (AtkObject *app, long id);
3229
3230 2001-11-20  Michael Meeks  <michael@ximian.com>
3231
3232         * libspi/*.[ch]: further convert to bonobo's type func
3233         macros, remove redundnant casts etc.
3234
3235         * libspi/text.c s/accessibility_text/spi_text/g,
3236         re-order to de-cruft.
3237
3238         * libspi/hypertext.c: re-order to kill a huge slew
3239         of redundant forward decls.
3240
3241         * libspi/relation.c: ditto.
3242
3243         * libspi/image.c: ditto.
3244
3245         * */.cvsignore: update
3246         
3247 2001-11-20  Michael Meeks  <michael@ximian.com>
3248
3249         * libspi/deviceeventcontroller.c
3250         (_controller_register_with_devices): use g_getenv,
3251         kill stdlib.h include.
3252
3253         * libspi/keystrokelistener.c
3254         (spi_keystroke_listener_get_type): kill
3255         (spi_keystroke_listener_class_init),
3256         (spi_keystroke_listener_init): rename to this.
3257
3258         * libspi/text.c (impl_getAttributes): fix warning / bug.
3259
3260         * libspi/*.[ch]: more headers, includes and over commenting.
3261         
3262 2001-11-20  Michael Meeks  <michael@ximian.com>
3263
3264         * libspi/*.[ch]: fixup headers, includes and over commenting.
3265
3266         * libspi/image.c (impl__get_imageDescription): const
3267         correctness warning fix. remove redundant casting.
3268
3269         * libspi/table.c (impl_getRowDescription): ditto.
3270         (impl_getColumnDescription): ditto.
3271
3272         * libspi/libspi.h: add.
3273
3274 2001-11-19  Michael Meeks  <michael@ximian.com>
3275
3276         * libspi/editabletext.c (impl_setAttributes): fix warnings.
3277
3278         * libspi/component.c (accessibility_component_get_type): 
3279         rename to (spi_component_get_type): and macroify.
3280         (accessibility_component_init): rename to
3281         (spi_component_init): this
3282         (accessibility_component_class_init): rename to
3283         (spi_component_class_init): this
3284
3285         * libspi/action.c (spi_action_get_type): kill, use the macro.
3286
3287         * libspi/deviceeventcontroller.c (_compare_listeners): re-order
3288         to avoid prototype.
3289
3290         * libspi/application.c (spi_application_object_event_listener),
3291         (impl_accessibility_application_register_object_event_listener):
3292         warning fixes / const understanding updates.
3293
3294         * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
3295         warning fixes.
3296
3297 2001-11-18  Bill Haneman <bill.haneman@sun.com>
3298
3299         * libspi/spi_accessible.c: Added docs and C bindings for
3300         AccessibleStateSet. (No implementations yet).  Documentation
3301         coverage for C bindings now 100%. Made docs for event listeners
3302         more explicit.
3303         
3304         * idl/Registry.idl:
3305         Added methods 
3306             boolean notifyListenersSync (in DeviceEventListener listener,
3307                                      in DeviceEvent event);
3308
3309             oneway void notifyListenersAsync (in DeviceEventListener listener,
3310                                           in DeviceEvent event);
3311
3312         Added DeviceEventListener and DeviceEvent structs (may deprecate
3313         KeyStroke and KeystrokeListener in favor of this generic
3314         event/listener framework for devices).
3315
3316         * libspi/deviceeventcontroller.c:
3317
3318         Changed some key listener code to take masks, etc., and paved the
3319         way for integration of toolkit/non-preemptive key events. Changed
3320         signatures of some internal methods.
3321
3322         * at-bridge/bridge.c:
3323         Fixed regression connecting to interface signals, apparently
3324         caused by GTK+ changes.
3325
3326         Added an internal bridge_state_listener to deal with
3327         property-change:accessible-state signals.
3328
3329         Changed the key_listeners GList to store structs (including masks,
3330         etc.) instead of just CORBA_Objects (required for full
3331         implementation of key listener API).
3332
3333         Connected the bridge to all currently supported Atk signals.
3334         Events now supported: 
3335             object:property-change
3336             object:property-change:accessible-name
3337             object:property-change:accessible-state
3338             object:property-change:accessible-description
3339             object:property-change:accessible-parent
3340             object:property-change:accessible-value
3341             object:property-change:accessible-role
3342             object:property-change:accessible-table-caption
3343             object:property-change:accessible-table-column-description
3344             object:property-change:accessible-table-column-header
3345             object:property-change:accessible-table-row-description
3346             object:property-change:accessible-table-row-header
3347             object:property-change:accessible-table-summary
3348             object:children-changed
3349             object:visible-data-changed
3350             object:selection-changed
3351             object:text-selection-changed
3352             object:text-changed
3353             object:text-caret-moved
3354             object:row-inserted
3355             object:row-reordered
3356             object:row-deleted
3357             object:column-inserted
3358             object:column-reordered
3359             object:column-deleted
3360             object:model-changed        
3361
3362 2001-11-16  Bill Haneman <bill.haneman@sun.com>
3363
3364         * libspi/hyperlink.c,h:
3365         Fixed some broken stuff in hyperlink.
3366         
3367         * libspi/relation.h:
3368         * libspi/relation.c:
3369         * cspi/spi_accessible.c:
3370         Initial implementations of AccessibleRelation methods, and docs.
3371
3372         * libspi/accessible.c:
3373         Fixed a bug that caused SEGV  if an accessible
3374         object's description is NULL, and a client
3375         requests it.  An empty string is now returned.
3376
3377         * cspi/spi_editabletext.c:
3378         * cspi/spi_hypertext.c:
3379         * cspi/spi_image.c:
3380         * cspi/spi_hyperlink.c:
3381         * cspi/spi_table.c:
3382         Added docs.  
3383
3384         Doc coverage now 95%.
3385
3386 2001-11-16  Bill Haneman <bill.haneman@sun.com>
3387
3388         One last namespacing revision:
3389         * libspi/accessibleeventlistener.[ch]:
3390         Renamed SpiAccessibleEventListener to SpiEventListener,
3391         (no need for two namespaces ;-)
3392
3393         And lots of documentation fixes:
3394
3395         * docs/at-spi-docs.sgml:
3396         Fixed 'underscore vs. hyphen' bug that was preventing
3397         the gtk-doc API docs from being automatically generated.
3398
3399         * cspi/spi-impl.h
3400         * cspi/spi-listener.h
3401         * cspi/spi.h
3402         * cspi/spi_accessible.c
3403         * cspi/spi_action.c
3404         * cspi/spi_application.c
3405         * cspi/spi_component.c
3406         * cspi/spi_editabletext.c
3407         * cspi/spi_event.c
3408         * cspi/spi_hypertext.c
3409         * cspi/spi_main.c
3410         * cspi/spi_registry.c
3411         * cspi/spi_selection.c
3412         * cspi/spi_text.c
3413         * cspi/spi_value.c
3414         * docs/Makefile.am
3415         * docs/at-spi-docs.sgml
3416         * docs/at-spi-sections.txt
3417         
3418         Added and fixed up gtk-doc documentation in cspi.
3419         
3420         Interfaces now (fully) documented (subject to revision and enhancement):
3421         SPI_main
3422         Event Listener Support
3423         Registry API
3424         AccessibleApplication
3425         Accessible
3426         AccessibleAction
3427         AccessibleComponent
3428         AccessibleEditableText
3429         AccessibleSelection
3430         AccessibleText
3431         AccessibleValue
3432
3433         still pending:
3434         AccessibleStateSet
3435         AccessibleRelationSet
3436         AccessibleImage
3437         AccessibleTable
3438         AccessibleHyperlink
3439         
3440 2001-11-14  Bill Haneman <bill.haneman@sun.com>
3441
3442         * at-bridge/bridge.c:
3443         Initial work for toolkit-level key snooper connection by bridge.
3444
3445         * cspi/spi-impl.h:
3446         * cspi/spi_*.h:
3447         * cspi/spi_*.c:
3448         New typedefs and fixes to support new namespacing, and cleaner
3449         separation of cspi bindings from libspi bonobo implementation.  
3450         Removed inconsistent and extraneous Spi* namespace prefix that
3451         had crept into cspi headers.
3452         Lots of comment fixes that sed had missed.
3453
3454         * cspi/spi-roletypes.h:
3455         * cspi/spi-statetypes.h:
3456         Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
3457         to AccessibleRoleType.
3458         
3459         * libspi/accessibleeventlistener.h:
3460         Fixed minor namespacing weirdness.
3461
3462         * libspi/deviceeventcontroller.c:
3463         Reordered some internal API for device listeners.
3464         Changed the key registry final boolean to 'is_system_global'
3465         rather than 'is_synchronous', which is more descriptive of its 
3466         actual meaning.
3467         Added spi_device_event_controller_new().
3468         Added  SpiRegistry backpointer to SpiDeviceEventControllerClass.
3469          
3470         * libspi/keystrokelistener.[ch]:
3471         Namespaced KeystrokeListener to SpiKeystrokeListener.
3472         Changed uses of keymasks to use SPI_ prefix, and did other
3473         knock-on fixups.
3474
3475         * libspi/keymasks.h:
3476         Namespaced keymask constants with SPI_ prefix.
3477
3478         * libspi/registry.c:
3479         Some warning fixes, and knock-on fixes from namespace changes.
3480
3481         * test/Makefile.am:
3482         Added rules for accessx-gui test program.
3483
3484         * test/accessx-gui.c:
3485         Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
3486         utility.  It doesn't actually use at-spi, but it's still cool and
3487         useful ;-)
3488
3489         * test/keysynth-demo.c:
3490         * test/simple-at.c:
3491         * test/at.c:
3492         * test/app.c:
3493         Fixes so that these test clients work properly with the namespaced
3494         libraries. (Incompletely tested for technical reasons, fixes may follow)
3495         
3496
3497 2001-11-13  Michael Meeks  <michael@ximian.com>
3498
3499         * libspi/application.c
3500         (impl_accessibility_application_get_version),
3501         (impl_accessibility_application_get_toolkit_name):
3502         warning fixes.
3503         (impl_accessibility_application_set_id),
3504         (impl_accessibility_application_get_id): remove
3505         redundant casting code.
3506
3507         * libspi/action.c (impl_getDescription): fix warnings.
3508
3509         * libspi/accessible.c
3510         (impl_accessibility_accessible_get_parent),
3511         (impl_accessibility_accessible_get_child_at_index),
3512         (impl_accessibility_accessible_get_state),
3513         (impl_accessibility_accessible_get_relation_set):
3514         warning fixes & include action.h
3515
3516 2001-11-13  Michael Meeks  <michael@ximian.com>
3517
3518         * *.[ch] fix bits I screwed up:
3519
3520                 s/([^ \tb(\*\&\?\",])spi_/\1/g;
3521                 s/([^ \tb(\*\&\?\",])Spi/\1/g;
3522         
3523 2001-11-13  Michael Meeks  <michael@ximian.com>
3524
3525         * *.[ch] Namespace libspi into spi_ and Spi.
3526
3527 2001-13-11  Michael Meeks  <michael@ximian.com>
3528
3529         * Makefile.am: dist & install at-spi-1.0.pc
3530
3531         * libspi/Makefile.am: install into at-spi-1.0
3532
3533         * idl/Makefile.am (idldir): install into at-spi-1.0
3534
3535         * at-spi-1.0.pc.in: add.
3536
3537         * configure.in: build it.
3538
3539 2001-11-12  Bill Haneman <bill.haneman@sun.com>
3540
3541         * test/keysynth-demo.c:
3542         Use a 'realize' signal-handler to set the WM properties for
3543         the virtual keyboard, rather than making it a "POPUP" type
3544         override-redirect window (thanks to anders carlsson for that
3545         tip!)
3546
3547 2001-11-11  Bill Haneman <bill.haneman@sun.com>
3548
3549         * test/Makefile.am:
3550         * test/keysynth-demo.c:
3551         Added new test of key synthesis, which creates a simple
3552         (mouse-operated) onscreen keyboard.  It inserts key events into
3553         the currently-focused window, thus it does not grab keyboard focus
3554         itself.
3555
3556         * cspi/spi_registry.c:
3557         Added C binding for AT-SPI generateKeyEvent.
3558
3559         * libspi/deviceeventcontroller.c:
3560         Added call to XFilterEvent so that key listener works with XIM (we
3561         hope).  Added event_synth_type to generateKeyEvent, so that we can
3562         produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
3563         synthesize a press/release pair for KeySyms.    
3564         
3565 2001-11-09  Bill Haneman <bill.haneman@sun.com>
3566
3567         * libspi/Makefile.am: 
3568         * registryd/Makefile.am:
3569         (temporary) hack to include libXtst in libspi and registryd.
3570         (Needed for keystroke synthesis, see below).
3571
3572         * idl/Registry.idl:
3573         Improved API for registerKeystrokeListener, in accordance with
3574         discussions with Gnopernicus team and X server research.
3575
3576         * libspi/registry.c:
3577         * libspi/deviceeventcontroller.c:
3578         * libspi/accessible.c:
3579         * libspi/keystrokelistener.c:
3580         Changes and fixes to support keylisteners for potentially
3581         consumed key events (that is, 'passive grabs').
3582         Added implementation for generateKeyEvent() [untested].
3583
3584         * cspi/spi.h:
3585         Changes to registerKeystrokeListener() API, as above.
3586         Added deregisterGlobalEventListenerAll(), and 
3587         deregisterKeystrokeListener(), which are needed for clean exit of
3588         clients.
3589         Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
3590         and a macro ALL_KEYS which may be used in place of a KeySet pointer.
3591         
3592         * cspi/spi_registry.c:
3593         Added implementations of function prototypes mentioned above.
3594         
3595         * registryd/registryd.c:
3596         Added the key listener event source as a g_timeout(), to allow
3597         receipt of key events that are not caught by GDK (since GDK
3598         doesn't support passive keygrabs, this was necessary).
3599
3600         * test/simple-at.c:
3601         Changed to attach a keylistener to 'Alt' keys, and
3602         respond to the following keycommands: Alt-M (toggle magnifier);
3603         Alt-F (toggle speech); Alt-Q (quit).
3604         Added an exit routine to deregister the listeners, and a key
3605         listener that prints some key info to the console when a key
3606         matches the listener mask (and is thus received by the listener).
3607         
3608         * util/idl/Magnifier.idl:
3609         Changes to magnifier API to support multiple zoom regions,
3610         non-uniform scaling in x and y, markDirty, and a host of other
3611         features that would be useful to magnification.
3612
3613         * util/mag_image.h:
3614         * util/mag_client.c:
3615         * util/mag_client.h:
3616         * util/mag_control.c:
3617         * util/magnifier.c:
3618         Source code changes to support the above IDL changes.
3619         
3620         * util/mag_image.c:
3621         As above, and also changes to use a (slower) generic conversion
3622         path for colormap conversions, since the fast RGB conversions have been
3623         reported to fail for 16-bit displays.
3624
3625 2001-10-26  Michael Meeks  <michael@ximian.com>
3626
3627         * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
3628
3629 2001-10-26  Laszlo Peter <laca@ireland.sun.com>
3630
3631         * at-bridge/Makefile.am: fix LDFLAGS.
3632
3633 2001-10-09  Bill Haneman <bill.haneman@sun.com>
3634
3635         * at-bridge/bridge.c:
3636         Re-worked listeners for toolkit events, now we have signal
3637         and property listeners. Added a private method
3638         register_atk_event_listeners(), which registers with the
3639         various atk and gtk signals we need to monitor in order to emit
3640         our at-spi events.
3641         Added emission hook for AtkObject:property-change events, to
3642         support the 'property listeners'.
3643         Fixed some alloc()s of Accessibility_Event structs to use CORBA
3644         allocation.
3645
3646         * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
3647         which emit warnings and exit, respectively, if CORBA errors occur
3648         during remote calls, and we now use these methods to check most of
3649         our CORBA calls in the C bindings.
3650
3651         * cspi/spi_accessible.c:
3652         Changed AccessibleSelection_refSelectedChild() to
3653         AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
3654         now increment refcounts.
3655
3656         * cspi/spi_component.c:
3657         Fixed some long pointer casts (dangerous!) to pass pointers to
3658         CORBA_longs of the proper type to the CORBA stubs, and copy the
3659         data into the longs that were passed into the C bindings code.
3660         
3661         * at-bridge/bridge.c:
3662         
3663         * libspi/accessible.c:
3664         Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
3665         hyperlinks, AtkHyperlink is an object type.     
3666
3667         * libspi/application.c:
3668         Added various conversions to and from "generic" event types and
3669         atk-specific types; this is really part of the 'bridge'
3670         implementation but is valid for all AtkObject-based accessibility 
3671         implementations.
3672
3673         * libspi/editabletext.c:
3674         Fixed nasty bug wherein editable text's finalize method was
3675         unref'ing tha AtkObject reference that the text parent class was
3676         about to unref _again_.  There was also a nasty inheritance bug
3677         that meant that the AccessibleEditableText class was corrupt.
3678
3679         * libspi/selection.c:
3680         Provided implementations for some selection API that was broken.
3681         
3682         * idl/Application.idl:
3683         Added registerObjectEventListener () method.
3684
3685         * THROUGHOUT:
3686         Fixed a number of return values that were Bonobo_Unknowns from
3687         bonobo_object_corba_objref(), which I
3688         forgot to dup before returning.  Changed instances of 
3689         bonobo_object_corba_objref (bonobo_object(o)) to
3690         BONOBO_OBJREF(o), for concision and clarity.
3691         
3692 2001-10-13  Louise Miller <louise.miller@sun.com>
3693
3694         * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
3695         idl/Event.idl, idl/Registry.idl
3696         Changed these files to include Bonobo_Unknown.idl instead
3697         of Bonobo.idl
3698
3699 2001-09-10  Marc Mulcahy <marc.mulcahy@sun.com
3700
3701         * libspi/component.c libspi/component.h:
3702                 Fixed typo.  Added assertions for object checks in 
3703         AccessibleComponent code.
3704
3705 2001-10-09  Bill Haneman <bill.haneman@sun.com>
3706
3707         * idl/Accessible.idl:
3708                 Added 'isEqual (Accessible *object)' 
3709         method for Accessible. (Not Yet Implemented).
3710         
3711         * idl/Registry.idl:
3712                 Changed signature of registerKeystrokeListener() to
3713         take a KeySet and KeyEventSeq so that specific keys and event
3714         types could be requested for monitoring, and added a flag
3715         is_synchronous so that either synchronous or asynchronous
3716         notification could be requested.  (However this is not all
3717         implemented yet). This also meant adding two new typedefs,
3718         KeyEventSeq and KeySet.
3719
3720         * idl/Relation.idl: 
3721                 Added two new relations, RELATION_TOOLTIP_FOR and
3722         RELATION_LEAFNODE_OF.
3723
3724         * idl/State.idl:
3725                 Added new state, STATE_HAS_TOOLTIP.
3726         
3727         * libspi/text.c, editabletext.c:
3728                 Added new assertions to all casts of bonobo-objects from
3729         CORBA servants, to prevent Text API calls on non-text objects.
3730                 Changed suspect casts of int-pointer types, so that we
3731         always send a valid CORBA_long pointer to the CORBA APIs that use
3732         in/out long parameters.  We then have to copy from the CORBA_long
3733         into the regular long or int for return to the C bindings, or
3734         vice-versa when returning parameters from ATK calls to the bonobo wrappers.
3735         
3736         * cspi/spi_text.c:
3737         * libspi/deviceeventcontroller.c:
3738                 Cleaned these sources up.
3739         * idl/Text.idl:
3740                 Changed return type for getCharacterAtOffset to
3741         CORBA_unsigned_long, to allow for 32-bit characters.
3742         
3743                 
3744 2001-10-08  Bill Haneman <bill.haneman@sun.com>
3745
3746         * util/Makefile.am:
3747         * idl/Makefile.am:
3748                 Fixed 'make dist' so that distro compiles...
3749         * libspi/keymasks.h:
3750                 new file.
3751         * cspi/spi-listener.c:
3752                 KeystrokeListenerCB now returns a boolean.
3753         * cspi/spi.h:
3754                 Added KeyEventType struct, and KeyStroke.
3755                 Also added createKeystrokeListener(),
3756         KeystrokeListener_addCallback(),
3757         KeystrokeListener_removeCallback(), and added a keymask to
3758         registerKeystrokeListener().
3759         * cspi/spi_accessible.c:
3760                 Changed numerous return types for interfaces from
3761         AccessibleComponent to Accessible<InterfaceName>; this was
3762         probably a cut-and-paste error.
3763         * cspi/spi_event.c:
3764                 Implementations of new KeystrokeListener api (from spi.h,
3765         above).
3766         * idl/Registry.idl:
3767                 Changes to key modifier mapping.
3768                 Created ControllerEventMask struct.
3769                 Made DeviceEventController derive from Bonobo::Unknown.
3770         * idl/Text.idl:
3771                 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
3772         * libspi/deviceeventcontroller.c:
3773                 Added a number of new internal (private) methods.
3774         * libspi/editabletext.c:
3775         * libspi/editabletext.h:
3776                 Fixed a number of bugs related to the fact that
3777         editabletext inherits from text.  Fixed the EditableText struct,
3778         the init() call, and use correct casts when calling Text methods
3779         from an EditableText object.  Removed (duplicate) atko from the
3780         EditableText structure, we use the one in the parent Text
3781         structure via the casts mentioned above.
3782         * libspi/keystrokelistener.[ch]:
3783         * libspi/registry.c:
3784                 Changes in support of keyboard handling (above).
3785         
3786         Keyboard handling, though partly functional, is still not
3787         recommended for at-spi client use as there is considerable 
3788         work yet to be done.
3789
3790         * libspi/text.c:
3791                 Changed some places where pointers to various int types
3792         are cast to be pointers to CORBA_long types and vice-versa:
3793         pointer casting is not safe so we pass pointers of the correct
3794         types and then cast the result before putting it into the target
3795         pointers.
3796
3797         * libspi/text.h: minor typos corrected.
3798         * test/simple-at.c: 
3799                 We now speak not only the name of a Text element, but the
3800         first sentence of its content, when it receives focus.
3801                 I also changed the text compression to 75% from 50%.
3802         * util/Accessibility_Util.server.in:
3803                 Changed the default magnifier type to be a 3x vertical
3804         splitscreen magnifier (was previously a 2x horizontal one).
3805
3806 2001-10-03  Bill Haneman <bill.haneman@sun.com>
3807
3808         * libspi/keystrokelistener.h:
3809         * libspi/keystrokelistener.c:
3810                 Initial functional implementations of KeystrokeListener.
3811         * idl/Registry.idl:
3812         
3813 2001-10-05  Marc Mulcahy <marc.mulcahy@sun.com>
3814
3815         Fixed string handling for NULL strings in libspi.
3816         Added spi_freeString to free strings returned by C bindings.
3817
3818 2001-09-30  Bill Haneman <bill.haneman@sun.com>
3819
3820         * libspi/keystrokelistener.h:
3821         * libspi/keystrokelistener.c:
3822                 Began (no-op) implementations of KeystrokeListener
3823                         (see below).
3824         * libspi/deviceeventcontroller.c:
3825         * libspi/deviceeventcontroller.h:
3826                 Began creating implementations of DeviceEventController,
3827                         to handle keystroke and mouse event listening and
3828                         synthesis.
3829         * libspi/accessible.c:
3830                 Stubbed-in the implementations for
3831                         Accessibility_Accessible_getState and
3832                         Accessibility_Accessible_getRelationSet.
3833         * libspi/registry.c:
3834                 Improved de-registration process and fixed some bugs, 
3835                         deregistration now works correctly.
3836         * libspi/desktop.c:
3837                 Added initialization of applications list (to NULL).
3838         * util/magnifier.c:
3839                 Reduced speech compression from 0.5 to 0.7, for demo.
3840                 Changed call to gdk_window_set_decorations()
3841                         to gtk_window_set_decorated().
3842         * at-bridge/bridge.c:
3843                 Bridge now deregisters when app exits, via
3844                         registration of a cleanup function
3845                         with the g_atexit() call.
3846                         Required making 'app' static, renamed 'this_app'.
3847                 Fixed broken use of bonobo_init, passing argv wrongly.
3848
3849 2001-09-27  Bill Haneman <bill.haneman@sun.com>
3850
3851         * util:
3852         * util/Makefile.am: 
3853                 Created a new directory for 
3854                         accessibility-related utilities, primarily for
3855                         testing and demo purposes, but with possible
3856                         end-user utility.
3857         
3858         * util/magnifier.c:
3859         * util/magnifier.h:
3860         * util/mag_image.c:
3861         * util/mag_image.h:
3862                 Onscreen magnifier utility that
3863                         is implemented as a bonobo service.
3864         
3865         * util/mag_client.c:
3866         * util/mag_client.h:
3867                 Client-side support (simple C bindings) 
3868                         for Magnification service
3869         
3870         * util/mag_control.c:
3871                 Client program example for 
3872                         Magnification service
3873         
3874         * util/Accessibility_Magnifier.server.in:
3875                 Bonobo-activation file for the 
3876                         Magnification service.
3877         
3878         * util/idl:
3879         * util/idl/Magnifier.idl:
3880                 IDL defining the bonobo Magnification
3881                         service interface.
3882
3883         * test/simple-at.c:
3884                 Modifications to use the bonobo-activated magnifier
3885                         above, in place of trying to connect to an existing
3886                         magnifier that uses socket-listening IPC.
3887
3888                 If env variable MAGNIFIER is set, a magnifier service
3889                         will be started if one does not exist.
3890         
3891 2001-09-25  Bill Haneman <bill.haneman@sun.com>
3892
3893         * at-bridge/bridge.c:
3894                 applied patch from Marc to build and run 
3895                 against new glib and gtk+ (seemed like a change 
3896                 to bonobo_init signature was made ?)
3897         * test/simple-at.c:
3898                 made festival-server support turned off by default.
3899                 Added support for a simple magnifier (off by default)
3900                 which will be added to a 'util' directory later.
3901         * at-bridge/Makefile.am:
3902                 Changed "application.h" header from a 'source'
3903                 to a 'dependency' of libat-bridge.
3904
3905 2001-09-12  Marc Mulcahy <marc.mulcahy@sun.com>
3906
3907         * cspi/Makefile.am:
3908                 Added spi-util.c.
3909
3910         * cspi/spi-util.c:
3911                 Fixed typo
3912
3913         * cspi/spi.c:
3914                 Added interface implementation c files to list of
3915                         includes so they are included in libcspi.
3916
3917         * cspi/spi.h:
3918                 Changed prototype of AccessibleAction_doAction to return a
3919                         boolean.
3920                 Changed prototype of AccessibleTable_getCaption to
3921                         return an Accessible.
3922                 Changed prototype of AccessibleTable_getSelectedRows
3923                         and AccessibleTable_getSelectedColumns to
3924                         return a long (returns the number of selected rows
3925                         or columns respectively).
3926                 Changed name of AccessibleText_refRunAttributes to
3927                         AccessibleText_getAttributes.
3928                 Changed prototype of AccessibleText_getCharacterExtents to
3929                         return a void rather than a boolean. 
3930                 Added support for a AccessibleCoordType parameter
3931                         specifying what type of coordinates are desired.
3932                 Added an AccessibleCordType parameter to
3933                         AccessibleText_getPointAtOffset.
3934
3935         * cspi/spi_accessible.c:
3936                 Added code to return the outstanding interfaces from
3937                         Accessible_queryInterface.
3938
3939         * cspi/spi_action.c:
3940                 Fixed typos.
3941                 Corrected call to getNActions to call the c binding
3942                         for an attribute.
3943
3944         * cspi/spi_editabletext.c:
3945                 Fixed typos.
3946                 Changed name from setRunAttributes to setAttributes.
3947
3948         * cspi/spi_hyperlink.c:
3949                 Fixed typos.
3950                 Changed call to getNAnchors to correctly call the c
3951                         binding for an attribute.
3952
3953         * cspi/spi_hypertext.c:
3954                 Fixed typos.
3955                 Changed getImageDescription to correctly call the
3956                         binding for an attribute.
3957
3958         * cspi/spi_selection.c:
3959                 Changed getNSelectedChildren to correctly call the c
3960                         binding for the attribute.
3961                 Changed refSelectedChild to getSelectedChild.
3962
3963         * cspi/spi_table.c:
3964                 Fixed typos.
3965                 Changed getCaption to return an Accessible.
3966                 Fixed calls which retrieve attributes.
3967                 Changed refAt to getAccessibleAt.
3968                 Changed getNSelectedRows and getNSelectedColumns to
3969                         return longs.
3970
3971         * cspi/spi_text.c:
3972                 Changed getCharacterExtents and getPointAtOffset to accept an
3973                         AccessibleCoordType.
3974                 Fixed typos.
3975                 Changed calls which retrieve attributes.
3976                 Changed refRunAttributes to getAttributes.
3977
3978         * cspi/spi_value.c:
3979                 Fixed typos.
3980
3981         * idl/Hyperlink.idl:
3982                 Changed n_anchors attribute to nAnchors to keep naming
3983                         convention consistent.
3984
3985         * idl/Table.idl:
3986                 Made Table inherit from Bonobo::Unknown.
3987                 Added nSelectedColumns and nSelectedRows attributes.
3988
3989         * idl/Value.idl:
3990                 Made Value inherit from Bonobo::Unknown.
3991
3992         * libspi/hyperlink.c:
3993                 Change for nAnchors attributte name change.
3994
3995 2001-09-12  Marc Mulcahy <marc.mulcahy@sun.com>
3996         * cspi/Makefile.am:
3997                 Added spi-util.c.
3998
3999         * cspi/spi-util.c:
4000                 Fixed typo
4001
4002         * cspi/spi.c:
4003                 Added interface implementation c files to list of
4004                         includes so they are included in libcspi.
4005
4006         * cspi/spi.h:
4007                 Changed prototype of AccessibleAction_doAction to return a
4008                         boolean.
4009                 Changed prototype of AccessibleTable_getCaption to
4010                         return an Accessible.
4011                 Changed prototype of AccessibleTable_getSelectedRows
4012                         and AccessibleTable_getSelectedColumns to
4013                         return a long (returns the number of selected rows
4014                         or columns respectively).
4015                 Changed name of AccessibleText_refRunAttributes to
4016                         AccessibleText_getAttributes.
4017                 Changed prototype of AccessibleText_getCharacterExtents to
4018                         return a void rather than a boolean. 
4019                 Added support for a AccessibleCoordType parameter
4020                         specifying what type of coordinates are desired.
4021                 Added an AccessibleCordType parameter to
4022                         AccessibleText_getPointAtOffset.
4023
4024         * cspi/spi_accessible.c:
4025                 Added code to return the outstanding interfaces from
4026                         Accessible_queryInterface.
4027
4028         * cspi/spi_action.c:
4029                 Fixed typos.
4030                 Corrected call to getNActions to call the c binding
4031                         for an attribute.
4032
4033         * cspi/spi_editabletext.c:
4034                 Fixed typos.
4035                 Changed name from setRunAttributes to setAttributes.
4036
4037         * cspi/spi_hyperlink.c:
4038                 Fixed typos.
4039                 Changed call to getNAnchors to correctly call the c
4040                         binding for an attribute.
4041
4042         * cspi/spi_hypertext.c:
4043                 Fixed typos.
4044                 Changed getImageDescription to correctly call the
4045                         binding for an attribute.
4046
4047         * cspi/spi_selection.c:
4048                 Changed getNSelectedChildren to correctly call the c
4049                         binding for the attribute.
4050                 Changed refSelectedChild to getSelectedChild.
4051
4052         * cspi/spi_table.c:
4053                 Fixed typos.
4054                 Changed getCaption to return an Accessible.
4055                 Fixed calls which retrieve attributes.
4056                 Changed refAt to getAccessibleAt.
4057                 Changed getNSelectedRows and getNSelectedColumns to
4058                         return longs.
4059
4060         * cspi/spi_text.c:
4061                 Changed getCharacterExtents and getPointAtOffset to accept an
4062                         AccessibleCoordType.
4063                 Fixed typos.
4064                 Changed calls which retrieve attributes.
4065                 Changed refRunAttributes to getAttributes.
4066
4067         * cspi/spi_value.c:
4068                 Fixed typos.
4069
4070         * idl/Hyperlink.idl:
4071                 Changed n_anchors attribute to nAnchors to keep naming
4072                         convention consistent.
4073
4074         * idl/Table.idl:
4075                 Made Table inherit from Bonobo::Unknown.
4076                 Added nSelectedColumns and nSelectedRows attributes.
4077
4078         * idl/Value.idl:
4079                 Made Value inherit from Bonobo::Unknown.
4080
4081         * libspi/hyperlink.c:
4082                 Change for nAnchors attributte name change.
4083
4084
4085 2001-09-05  Marc Mulcahy <marc.mulcahy@sun.com>
4086
4087         implementations-- made server implementations own AtkObject pointers
4088         rather than their respective AtkInterrface pointers to fix
4089         refcounting.  AtkHyperlink is still broken.
4090
4091 2001-09-04  Bill Haneman <bill.haneman@sun.com>
4092         * cspi/spi_accessible.c:
4093                 Added method Accessible_Role_getName(),
4094                         and requisite string array (role_names).
4095                 Added conversion string_from_corba_strin() call
4096                         to Accessible_getName and _getDescription.
4097         * libspi/accessible.c:
4098                 Added implementation for Accessible_getRole()
4099         * test/simple-at.c:
4100                 Added festival support, used if environment variable
4101                         FESTIVAL is set.
4102         
4103 2001-09-04  Bill Haneman <bill.haneman@sun.com>
4104
4105         * at-bridge/bridge.c:
4106             Now allocate Accessibility_Event using
4107             Accessibility_Event__alloc() instead of g_new0().
4108         * libspi/accessibleeventlistener.c:
4109             Initialize AccessibleEventListener->callbacks to NULL.
4110             Fixed accessible__event_listener_init() param, changed to
4111             "AccessibleEventListener *" type.
4112             Changed a bonobo_object_release_unref() call to
4113             Accessibility_Accessible_unref().
4114         * libspi/listener.c:
4115             Changed Bonobo_Unknown_unref to (equivalent) 
4116             Accessibility_Accessible_unref.
4117         * libspi/registry.c:
4118             Changed bonobo_object_release_unref to 
4119             Accessibility_Accessible_unref.
4120         
4121 2001-09-04  Marc Mulcahy <marc.mulcahy@sun.com>
4122         
4123         * Added files:
4124             spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
4125             spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
4126             spi-util.c spi-util.h
4127             Implementations for C bindings to remaining accessibility 
4128             interfaces.
4129
4130 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
4131         
4132         * idl/Action.idl:
4133             changed return value of Action from void to boolean to 
4134             bring in line with ATK.
4135
4136         * idl/Text.idl:
4137             Changed getText funcions to return "out" start and end offsets.
4138             Changed getAttributes to take and offset and return the start 
4139             and end offset of the attribute run.
4140             Changed getOffsetAtPoint and getCharacterExtents to take an 
4141              enum describing whether coordinates are window or screen.
4142
4143         * Added files:
4144             libspi/action.c libspi/action.h libspi/editabletext.c 
4145             libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
4146             libspi/hypertext.c libspi/hypertext.h libspi/image.c 
4147             libspi/image.h libspi/selection.c libspi/selection.h
4148             libspi/table.c libspi/table.h libspi/text.c libspi/text.h 
4149             libspi/value.c libspi/value.h
4150             Added server implementations for outstanding ATK interfaces 
4151             not yet implemented.
4152  
4153 2001-09-04  Bill Haneman <bill.haneman@sun.com>
4154
4155         * idl/Action.idl:
4156                 Added (missing) getName() method. 
4157                 Made nActions an attribute.
4158         * idl/EditableText.idl:
4159                 Changed order of params in setAttributes.
4160         * idl/Hyperlink.idl:
4161                 Removed getAnchor, added getURI.
4162         * idl/Image.idl:
4163                 Changed attributes to methods, for efficiency
4164                 (so that getting extents can be done in one call)
4165         * idl/Selection.idl:
4166                 Changed nSelectedChildren to attribute, and re-indented.
4167         * idl/Table.idl: changed nrows, ncolumns, caption, summary 
4168                 to attributes.
4169         * idl/Text.idl: reformatted to match our coding style.
4170                 (temporarily?) removed getRowColumnAtOffset().
4171                 Changed text selection API to support multi-select and
4172                 non-contiguous selections, as in ATK.
4173         * idl/Value.idl: changed some methods to attributes.
4174
4175 2001-08-24  Mark McLoughlin <mark@skynet.ie>
4176
4177         * libspi/listener.c(impl_notify_event):
4178         BonoboUnkown_unref the source instead
4179         of bonobo_object_release_unref - the ORB
4180         handles the releasing.
4181
4182         * configure.in: require ORBit-2.3.94 for
4183         this behaviour.
4184
4185 2001-08-21  Bill Haneman <bill.haneman@sun.com>
4186
4187         Tagged CVS repository 'EA_1_0'.
4188         * README.EARLY_ACCESS:
4189         Alphabetized acknowledgements list, and
4190         added someone.
4191         Listed some known dependencies of at-spi.
4192
4193 2001-08-20  Bill Haneman <bill.haneman@sun.com>
4194
4195         * docs/at-spi-docs.sgml:
4196         * docs/at-spi-sections.txt:
4197         * docs/at-spi-overrides.txt: (Added zero-length file)
4198         Documentation improvements - gtk-doc should build
4199         docs for all implemented C bindings now.
4200         * cspi/Makefile.am:
4201         * cspi/spi_main.c:
4202         * cspi/spi.c: (New file)
4203         * cspi/spi_event.c: (New file)
4204         * cspi/spi_registry.c: (New file)
4205         * cspi/spi_accessible.c: (New file)
4206         * cspi/spi_application.c: (New file)
4207         * cspi/spi_component.c: (New file)
4208         Split spi_main.c into six parts, and included them from
4209         "spi.c".  This is a bit of a hack, probably temporary,
4210         but required by gtk-doc, apparently.
4211         
4212 2001-08-20  Bill Haneman <bill.haneman@sun.com>
4213
4214         * docs/Makefile.am:
4215         * docs/at-spi-docs.sgml:
4216         * docs/at-spi-sections.txt:
4217         * configure.in:
4218         Initial checkins/modifications for gtk-doc generation.
4219         * cspi/spi.h:
4220         * cspi/spi.c:
4221         Added (missing) interface query methods to Accessible's C binding.
4222         * cspi/spi-impl.h:
4223         Added GenericInterface type definition.
4224         * test/simple-at.c:
4225         Added query for AccessibleComponent interface to focus event handler.
4226         Added printout of bounding box for focussed component.
4227         * libspi/component.c:
4228         Added partial implementation for AccessibleComponent to C binding.
4229         * idl/Application.idl:
4230         * libspi/registry.c:
4231         * libspi/listener.c:
4232         * libspi/application.c:
4233         * libspi/application.h:
4234         Changed "ID" attribute type from string to long.
4235
4236 2001-08-19  Bill Haneman <bill.haneman@sun.com>
4237
4238         * cspi/spi.h:
4239         * cspi/spi.c:
4240         Made method naming consistent: methods taking object args
4241         start with uppercase, other methods (except those using
4242         acronyms) start with lowercase.  Underscores delimit between
4243         object names and method names:
4244         SPI_init() - uppercase since it starts with an acronym.
4245         getDesktopCount () - lowercase start since no object param0.
4246         Accessible_getName() - uppercase object type name, studlyCaps method
4247                                name.
4248
4249         * cspi/spi.h:
4250         Added gtk-doc documentation for all currently implemented
4251         methods in the C bindings API.
4252
4253 2001-08-18  Bill Haneman <bill.haneman@sun.com>
4254
4255         * Makefile.am : changed build order to build test last.
4256         * cspi/spi.h :
4257         * cspi/spi_main.c :
4258         Changed "createEventListener" to "CreateEventListener".
4259         * libspi/accessibleeventlistener.c :
4260         Bugfix for addition of callbacks.
4261         * test/Makefile.am :
4262         * test/simple-at.c :
4263         Added new test that uses the C bindings API.
4264         * idl/Event.idl :
4265         * libspi/listener.c :
4266         * libspi/registry.c :
4267         * libspi/accessibleeventlistener.c :
4268         * at-bridge/bridge.c :
4269         Renamed member "target" of Accessibility_Event to "source",
4270         which is more descriptive.
4271         
4272
4273 2001-08-18  Bill Haneman <bill.haneman@sun.com>
4274
4275         * Makefile.am: 
4276         * configure.in :
4277         * cspi/Makefile.am :
4278         Added makefile support for at-spi/cspi directory.
4279         * cspi/spi.h : 
4280         * cspi/spi-impl.h :
4281         * cspi/spi-listener.h : (NEW FILE)
4282         Added support for/use of spi-listener.h.
4283         * cspi/spi_main.c :
4284         C bindings now build successfully, with no warnings.
4285         * libspi/accessibleeventlistener.h : (NEW FILE)
4286         * libspi/accessibleeventlistener.c : (NEW FILE)
4287         * libspi/Makefile.am :
4288         Added new object type "AccessibleEventListener"
4289         which inherits from Listener, and allows attachment
4290         of in-process callbacks (so that a client with a listening
4291         object instance can add functionality to the local 
4292         implementation, dynamically).
4293
4294 2001-08-18  Bill Haneman <bill.haneman@sun.com>
4295
4296         * libspi/accessible.c: 
4297         Add implementation for get_index_in_parent().
4298         * cspi/spi.h : 
4299         Added #include of "spi-roletypes.h", and
4300         added enumerated type AccessibleCoordType.
4301         Added definition for KeystrokeListener (function type).
4302
4303         ADDED FILES:
4304         * cspi/spi-statetypes.h :
4305         * cspi/spi-roletypes.h :
4306         * cspi/spi-impl.h :
4307         Added these headers, used by spi.h.
4308         * cspi/spi_main.c : 
4309         Added code (NOTE: not yet built by make).
4310
4311 2001-08-18  Mark McLoughlin <mark@skynet.ie>
4312
4313         * libspi/Makefile.am: generate imodule
4314         at the same time as other idl compiler 
4315         generated files. 
4316
4317 2001-08-17  Bill Haneman <bill.haneman@sun.com>
4318         * libspi/registry.c :
4319         * libspi/application.c :
4320         * idl/Application.idl :
4321         Made registration with toolkit an application method,
4322         which is required since each app has its own toolkit static
4323         environment.  Thus the bridge must register for 
4324         notification of toolkit events from each application in turn.
4325         Toolkit notifications are now successfully registered for, and
4326         sent to the listening at client.
4327         * test/at.c :
4328         Changed toolkit event string to use hyphens rather than underscores.
4329         * libspi/listener.c :
4330         listner now gives more info in debug mode - it reports the
4331         name of the event received, as well as the name of the source.
4332         
4333
4334 2001-08-16  Bill Haneman <bill.haneman@sun.com>
4335
4336         * libspi/registry.c :
4337         added more implementation for toolkit events.
4338         Fixed bug such that toolkit event registrations
4339         (via atk) use the whole event name string, not 
4340         just minor+detail.
4341         Removed a useless call to an ORBit_ method.
4342         * at-bridge/bridge.c :
4343         Removed unused local sbuf[] variable.
4344         * test/at.c :
4345         We now register for Gtk:GtkWidget:button_press_event 
4346         events as well as "focus:" events.
4347         * cspi/spi.h :
4348         Add some more API from Registry.idl that was missing,
4349         for keystroke listening, keystroke and mouse event
4350         synthesis, and enumeration of accessible desktops.
4351
4352 2001-08-16  Michael Meeks  <michael@ximian.com>
4353
4354         * configure.in: use AM_GLIB_GNU_GETTEXT.
4355
4356         * Makefile.am (SUBDIRS): kill intl.
4357
4358 2001-08-15  Michael Meeks  <michael@ximian.com>
4359
4360         * registryd/Makefile.am: s/oaf/server/ relocate info file.
4361
4362         * configure.in: upd.
4363
4364         * configure.in: depend on a recent bonobo-activation that
4365         will find our server files ...
4366
4367 2001-08-16  Bill Haneman <bill.haneman@sun.com>
4368
4369         * libspi/accessible.c : accessible_new() :
4370         Now we add the Component interface via bonobo_object_add_interface,
4371         if the contained AtkObject implements AtkComponent.
4372         * libspi/accessible.h : now include "component.h"
4373         * libspi/component.h :
4374         * libspi/component.c : added files - implementation of
4375         bonobo wrapper object for Accessibility/Component
4376         * libspi/listener.c :
4377         Added test code to check for Accessibility/Component:1.0
4378         interface and report whether it is implemented by the
4379         event source.
4380         * libspi/registry.c :
4381         Now we check for not only the hash of the whole event 
4382         string before relaying the event, we also check the
4383         "minor" event string (without the detail string).
4384         This allows event listeners to be registered against
4385         all events of a certain major+minor type, or just
4386         against a specific major+minor+detail type.
4387         * libspi/accessible.c :
4388         Added implementations for Accessible:get_parent(),
4389         Accessible:getChildCount(), and Accessible:getChildAtIndex().
4390         * libspi/registry.c :
4391         * libspi/listener.c :
4392         Replaced calls to Accessibility_Accessible_ref() and
4393         Accessibility_Accessible_unref() with 
4394         calls to bonobo_object_dup_ref() and 
4395         bonobo_object_release_unref(), so that the CORBA object
4396         is dup-ed and released when relayed, as well as the bonobo object.
4397
4398 2001-08-15  Mark McLoughlin <mark@skynet.ie>
4399
4400         * libspi/Makefile.am,
4401           registryd/Makefile.am,
4402           at-bridge/Makefile.am.
4403           test/Makefile.am, configure.in:
4404         reverse previous changes.
4405
4406         * /idl/Image.idl: fix typo.
4407
4408         * test/Makefile.am: put DEBUG_FLAGS
4409         in CFLAGS.
4410
4411 2001-08-15  Mark McLoughlin <mark@skynet.ie>
4412
4413         * test/app.c: use argv[0] instead of
4414         g_type_prgname.
4415
4416 2001-08-15  Mark McLoughlin <mark@skynet.ie>
4417
4418         * libspi/Makefile.am,
4419           registryd/Makefile.am,
4420           at-bridge/Makefile.am.
4421           test/Makefile.am, configure.in:
4422         cleanup, replace individual LIBS/CFLAGS with
4423         AT_COMMON_{LIBS|CFLAGS}.
4424
4425         * README: format.
4426
4427 2001-08-15  Mark McLoughlin <mark@skynet.ie>
4428         
4429         * configure.in, libspi/Makefile.am:
4430         Change IDL path checking for bonobo-activation
4431         as opposed to oaf.
4432
4433 2001-08-15  Bill Haneman <bill.haneman@sun.com>
4434
4435         * registryd/registry.c : separated event listeners to use
4436         3 separate lists (focus, window, toolkit).  Began testing
4437         event names against hashes before relaying events.
4438         * test/at.c : now register for events of type "focus:"
4439         * test/app.c : now generate events of type "focus:"
4440         * at-bridge/bridge.c : register with ATK for focus events,
4441         and we now relay those focus events to any "focus:" listeners.
4442         This now works with the bridge as a GTK_MODULE when running test/at.
4443         * libspi/registry.c :
4444         * libspi/listener.c : 
4445         now we ref event sources before propagating, and unref on receipt.
4446         * libspi/registry.c : 
4447         some changes to internal structs, to support event typestring hashes.
4448         * text/app.c : changed the way the appname is generated.
4449         * cspi : added directory that will hold the C bindings library for 
4450                 non-CORBA/bonobo-savvy clients.
4451         * cspi/spi.h : header file that contains the function prototypes for the C binding.
4452         * idl/Component.idl : added in parameter to indicate coord system for
4453                 geometry-related calls.
4454         * idl/Hyperlink.idl : added readonly n_links attribute
4455         * idl/Image.idl : changed methods to attributes.
4456         
4457 2001-08-15  Mark McLoughlin <mark@skynet.ie>
4458
4459         * at-bridge/Makefile.am: link against
4460         ../libspi/libspi.la instead of -lspi.
4461
4462         * at-spi/test/app.c: include 
4463         bonobo-activation.h. Use a default appname
4464         if one is not provided.
4465
4466 2001-08-14  Bill Haneman <bill.haneman@sun.com>
4467
4468         * idl/Registry.idl : temporarily changed register_Application
4469         to oneway, to work around issue with initial registration 
4470         re-entrancy.
4471         * idl/Application.idl : changed attribute "id" from readonly 
4472         to read-write, since it needs to be assigned by Registry.
4473         * registryd/registryd.c : added call to set application id 
4474         on registration.
4475         * registryd/registry.c : changed de-registration procedure to
4476         use CORBA_Object_hash() to find matching object ref in application
4477         lists and listener lists.
4478         * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
4479         began distinguishing between event types (work in progress).
4480
4481 2001-08-13  Bill Haneman <bill.haneman@sun.com>
4482
4483         CHANGES:
4484         * libspi/application.c:
4485         Added implementations for get/set id, get_toolkitName,
4486         get_version.
4487         * registryd/registryd.c :
4488         * test/at.c :
4489         * test/app.c :
4490         * Makefile.am :
4491         Converted from use of OAF to bonobo-activation.
4492         * libspi/desktop.h :
4493         * libspi/desktop.c :
4494         * test/app.c :
4495         Removed references to atksimpleobject, since base atkobject
4496         implementation now provides functionality we need.
4497         * libspi/atksimpleobject.c :
4498         * libspi/atksimpleobject.h :
4499         Removed.
4500         
4501         ADDITIONS:
4502         * at-bridge
4503         * at-bridge/Makefile.am
4504         * at-bridge/bridge.c
4505         * configure.in
4506         * Makefile.am
4507         Added directory "bridge" and contents, and added dependencies
4508         in Makefile.am/configure.in.  
4509         Initial checkin of "at-bridge".
4510         This code is a GTK_MODULE which automatically registers
4511         GTK+ apps with the accessibility registry, using an object
4512         reference to the root ATK object.
4513         
4514 2001-08-10  Mark McLoughlin <mark@skynet.ie>
4515
4516         * po/Makefile.in.in: Remove. Again. If this
4517         doesn't get autogenerated - you need to update
4518         gnome-common.
4519
4520 2001-08-07  Mark McLoughlin <mark@skynet.ie>
4521
4522         * po/Makefile.in.in: Add. Again.
4523
4524 2001-07-31  Bill Haneman <bill.haneman@sun.com>
4525
4526         * libspi/accessible.c : added support for 'description' property.
4527         * libspi/accessible.c
4528         * libspi/desktop.c
4529         * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
4530             (since the two are now equivalent in libbonobo)
4531         * idl/Action.idl
4532         * idl/Component.idl
4533         * idl/Hyperlink.idl
4534         * idl/Image.idl
4535         * idl/Selection.idl
4536         * idl/Table.idl
4537         * idl/Text.idl
4538         * idl/Value.idl : changed these 'secondary' interfaces to inherit from
4539              Bonobo::Unknown as does Accessibility::Accessible.
4540         * idl/StreamableContent.idl : as above, and replaced internal InputStream
4541              interface with Bonobo::Stream, since it was redundant with it.
4542              (The Stream returned by a StreamableContext object is expected to
4543              implement only a subset of Bonobo::Stream)
4544
4545 2001-07-28  Anders Carlsson  <andersca@gnome.org>
4546
4547         * libspi/accessible.c (accessible_object_finalize): Change
4548           g_free to g_object_unref since the AtkObject is a GObject.
4549
4550 2001-07-30  Bill Haneman <bill.haneman@sun.com>
4551
4552         * idl/Accessibility.idl: add new IDL files
4553         
4554         Added:
4555         * idl/Action.idl: Definitions of actionable UI object
4556         * idl/Component.idl: Definitions of UI component geometry, etc.
4557         * idl/Hyperlink.idl: Defs of hyperlink behavior
4558         * idl/Image.idl: Def of accessible image
4559         * idl/Selection.idl: Definition of UI object with selectable children
4560         * idl/StreamableContent.idl: Definition of UI object with streamable backing data
4561         * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
4562         * idl/Text.idl: Interface defs for UI elements with complex textual content
4563         * idl/Value.idl: Definition of UI element that is a value controller or display
4564         
4565 2001-07-27  Michael Meeks  <michael@ximian.com>
4566
4567         * po/Makefile.in.in: remove autogenerated file from CVS.
4568
4569         * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
4570         type library.
4571
4572         * idl/Registry.idl: include guard.
4573
4574         * idl/Accessibility.idl: Add, and include all the other IDL
4575         files.
4576
4577         * idl/*.idl: remove mass of pragmas etc.
4578
4579 2001-07-26  Michael Meeks  <michael@ximian.com>
4580
4581         * registryd/Makefile.am (registryd_SOURCES): remove
4582         redundant at_.
4583
4584 2001-07-27  Mark McLoughlin <mark@skynet.ie>
4585
4586         * libspi/.cvsignore, registryd/.cvsignore,
4587           test/.cvsignore: updated.
4588
4589         * po/Makefile.in.in: gettext update.
4590
4591 2001-07-25  Bill Haneman <bill.haneman@sun.com>
4592
4593         * initial CVS checkin
4594
4595 2001-06-29  Michael Meeks  <michael@ximian.com>
4596
4597         * configure.in: add AM_CONFIG_HEADER to gen config.h
4598
4599         * acconfig.h: add.
4600