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