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