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