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