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