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