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