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