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