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