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