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