Modified Value.idl interface to use unions, removes the assumption that
[platform/core/uifw/at-spi2-atk.git] / ChangeLog
1 2001-12-11  Bill Haneman  <bill.haneman@sun.com>
2
3         * idl/Value.idl:
4         Changed Value interface to use SValue (scalars) rather than
5         assuming all values are floats.  This allows floats, doubles,
6         longs, shorts, and unsigned values to be manipulated.
7         Introduced Accessibility:SValue union.
8
9         * libspi/value.c:
10         Updated to use new API above, and to work correctly with GValues
11         of different types in AtkValue.
12
13         * cspi/spi_value.c:
14         Updated to use new API above.  cspi's API is as yet unchanged.
15
16         * TODO: 
17         Updated the Value revision action item.
18         
19 2001-12-10  Bill Haneman  <bill.haneman@sun.com>
20
21         * test/test-simple.c:
22         Added test_table (GtkTreeView widget in test window to follow).
23         Un-commented test_value, added GtkRange widget.
24         Added GtkTreeView widget with GtkListStore.  It passes regression
25         test but leaks one SPI object for some reason.
26
27         * libspi/value.c:
28         Fixed bug in impl__set_currentValue.
29
30 2001-12-10  Michael Meeks  <michael@ximian.com>
31
32         * cspi/spi_text.c: audit for exception handling,
33         tolerating NULL object references safely etc.
34
35         * cspi/spi_value.c: ditto.
36
37         * cspi/spi_table.c (AccessibleTable_getSummary),
38         (AccessibleTable_getAccessibleAt),
39         (AccessibleTable_getRowHeader),
40         (AccessibleTable_getColumnHeader),
41         (AccessibleTable_getCaption): fix bugs hidden by
42         incorrect casts.
43         (long_seq_to_array): impl.
44         (AccessibleTable_getSelectedRows),
45         (AccessibleTable_getSelectedColumns): use it.
46
47 2001-12-10  Bill Haneman  <bill.haneman@sun.com>
48
49         * TODO:
50         Added a TODO list (rough and short for now).
51
52         * cspi/spi_hyperlink.c:
53         * cspi/spi_hypertext.c:
54         Fixed macro name typos, and remove use of obsolete macro in 
55         AccessibleHyperlink_getLink.
56
57         * cspi/spi_action.c:
58         * cspi/spi_accessible.c:
59         * cspi/spi_application.c:
60         * cspi/spi_component.c:
61         * cspi/spi_selection.c:
62         * cspi/spi_text.c:
63         * cspi/spi_value.c:
64         Documentation fixes (removed return values from ref/unref methods).
65
66 2001-12-10  Michael Meeks  <michael@ximian.com>
67
68         * cspi/spi_action.c: audit for exception handling,
69         tolerating NULL object references safely etc.
70
71         * cspi/spi_accessible.c: ditto.
72
73         * cspi/spi_component.c: ditto.
74
75         * cspi/spi_editabletext.c: ditto.
76
77         * cspi/spi_hyperlink.c: ditto.
78
79         * cspi/spi_hypertext.c: ditto.
80
81         * cspi/spi_image.c: ditto.
82
83         * cspi/spi_selection.c: ditto.
84
85 2001-12-10  Michael Meeks  <michael@ximian.com>
86
87         * configure.in: use cspi/libspi.pc.in instead.
88
89         * Makefile.am (pkgconfig_DATA): upd. to match.
90
91         * test/simple-at.c (report_focus_event): kill hacks around
92         bad return values, use putenv not setenv
93
94         * libspi/desktop.c (impl_desktop_get_child_at_index): don't
95         fire ChildGone - I killed it.
96
97         * libspi/component.c
98         (impl_accessibility_component_get_extents): remove
99         bogus return.
100
101         * idl/Accessible.idl: kill ChildGone exception.
102
103         * cspi/*.[ch]: kill int return from ref / unref.
104         
105         * cspi/spi_main.c (cspi_object_add_check): fold into
106         (cspi_object_add): here.
107
108         * cspi/spi_component.c (AccessibleComponent_getExtents):
109         handle exceptions elegantly.
110
111         * cspi/spi-private.h (cspi_check_ev_return),
112         (cspi_return_if_fail): impl.
113
114         * cspi/spi_accessible.c: use extensively.
115         (AccessibleStateSet_equals): add direct compare check.
116
117         * cspi/spi_selection.c: tolerate NULL objs, and check
118         exceptions before return.
119
120         * cspi/spi-util.c (cspi_warn_ev): rename to
121         (cspi_check_ev): this & don't pass ev in; no point.
122
123 2001-12-10  Michael Meeks  <michael@ximian.com>
124
125         * test/test-simple.c: use putenv not setenv
126         (get_environment_vars): more chatty if you're not using
127         the fun bits.
128
129         * test/simple-at.c: do the setenv so more people see the
130         nice demo easily.
131
132 2001-12-10  Bill Haneman <bill.haneman@sun.com>
133
134         * libspi/registry.c:
135         Changed check of CORBA_environment on notification to be a warning
136         instead of an error for the moment, since we can recover from this
137         error when caused by a queued notification from a dead app.
138         
139         * libspi/value.c:
140         Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
141         used by all current implementors of AtkValue), and coerce to
142         CORBA_float. (Proper general case fix may require change to Value.idl).
143
144 2001-12-09  Bill Haneman <bill.haneman@sun.com>
145
146         * cspi/spi.h:
147         * cspi/spi_event.c:
148         * cspi/spi_accessible.c:
149         Documentation fixes: added user_data params to documentation for 
150         listeners and callbacks.  
151
152         * cspi/spi_accessible.c: 
153         Changed AccessibleStateSet_compare to return a
154         StateSet rather than return the difference set into a third parameter.
155         
156         
157 2001-12-09  Bill Haneman <bill.haneman@sun.com>
158
159         * configure.in:
160         Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
161         remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
162         it). 
163
164         * Makefile.am:
165         Remove subdirectory po from SUBDIRS for now.
166
167         * at-bridge/bridge.c:
168         Beefed up a couple of debug printouts.
169         One-line fix for signal notification name formatting.
170
171         * libspi/accessible.c:
172         Added assertion to spi_accessible_new ().
173
174         * libspi/application.c:
175         Put #ifdef qualifiers around a printf.
176
177         * libspi/value.c:
178         Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
179
180         * registryd/Makefile.am:
181         * util/Makefile.am:
182         Replaces use of XML_I18N_MERGE_SERVER_RULE with
183         INTLTOOL_SERVER_RULE macro.
184
185         * test/simple-at.c:
186         Added an event listener for several ATK signals, for
187         testing and debugging.  Removed a few g_warnings.
188         Added test output if focussed item implements the Value interface.
189
190         * test/test-simple.c:
191         Added test_value () function (known not to pass at the moment, so
192         not actually called yet.
193         
194 2001-12-08  Michael Meeks  <michael@ximian.com>
195
196         * at-bridge/bridge.c (bridge_focus_tracker),
197         (emit_eventv): fix the same ref. leak.
198         (register_atk_event_listeners): don't leak.
199
200         * cspi/spi-listener-impl.c (cspi_event): more 
201         protection from client code.
202
203         * test/test-simple.c (test_desktop): unref the app.
204
205         * test/Makefile.am: upd. TESTS.
206
207         * at-bridge/bridge.c (bridge_exit_func): release the registry.
208
209         * test/keysynth-demo.c (keysynth_exit): unref the listeners.
210
211         * cspi/spi_accessible.c (Accessible_queryInterface): constify.
212
213         * cspi/spi_registry.c: constify in strings.
214         (deregisterGlobalEventListenerAll): don't release the ref.
215
216         * cspi/spi.h: start removing redundant / conflicting
217         gtkdoc comments, making the API readable at a glance :-)
218         
219         * cspi/spi_event.c (AccessibleEventListener_unref): impl.
220
221         * test/keysynth-demo.c (keysynth_exit, main): upd.
222
223         * test/simple-at.c (main, simple_at_exit): upd.
224
225         * test/test-simple.c (unutterable_horror): kill.
226         (utterable_normal_derefs): kill.
227         (main): upd & do a setenv before gtk_init, so that we
228         can use memprof - and to save the pain of remembering
229         this, if we're running under memprof - don't exit.
230
231         * cspi/spi_main.c (SPI_exit): return exit status
232         for cspi.
233         (SPI_event_quit): impl.
234         (SPI_event_main): simplify.
235         (cspi_is_gnome_app): kill.
236         (SPI_init): kill isGNOMEapp arg.
237
238         * at-bridge/bridge.c (register_atk_event_listeners):
239         re-instate the unref.
240         (bridge_exit_func): don't re-activate the registry,
241         protect vs. theoretical re-entry, use the
242         AT_BRIDGE_SHUTDOWN env. var to determine whether to
243         assert a clean shutdown - for regression tests.
244
245 2001-12-08  Abel Cheung  <maddog@linux.org.hk>
246
247         * configure.in: Comment out dummy i18n support for now,
248           otherwise it fails to build.
249         * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
250           EXTRA_DIST. They are missing in tarball.
251
252 2001-12-07  Michael Meeks  <michael@ximian.com>
253
254         * util/magnifier.c: kill bonobo activation reg. race.
255
256         * libspi/component.c
257         (impl_accessibility_component_get_extents): make it match
258         it's sig.
259
260         * libspi/registry.c (_registry_notify_listeners):
261         re-remove X headers & reconcile conflicts.
262         (spi_listener_struct_free): bad conflict resolve.
263         (impl_accessibility_registry_register_application):
264         more bad merging fixed.
265         (impl_accessibility_registry_deregister_application): ditto.
266         (spi_registry_new): ditto.
267         (spi_registry_init): don't have an applications field.
268
269 [ merge fixups2 branch to here ]
270 2001-12-07  Michael Meeks  <michael@ximian.com>
271
272         * test/simple-at.c (report_focus_event),
273         (report_focussed_accessible): remove g_warning debug.
274
275 2001-12-07  Michael Meeks  <michael@ximian.com>
276
277         * test/test-simple.c (validate_tree): comment out some checks.
278         (test_desktop): app now not registered idly - horay.
279
280 2001-12-07  Michael Meeks  <michael@ximian.com>
281
282         * cspi/spi_registry.c
283         (registerAccessibleKeystrokeListener): clean, stop it leaking
284         great swathes of memory, and device event controller references.
285         ensure we always pass valid sequences.
286         (deregisterAccessibleKeystrokeListener): ditto.
287         (generateKeyEvent): upd.
288
289         * at-bridge/bridge.c (bridge_key_listener): handle
290         registry dead exception gracefully.
291         (bridge_focus_tracker, emit_eventv): free ev.
292
293         * test/simple-at.c (report_focus_event): fix polarity.
294
295         * libspi/application.c (notify_listeners): kill the ev
296         argument, and make sure we init the ev we use.
297         (spi_application_object_event_listener): split out a chunk
298         (get_atk_object_ref): here & fixup.
299         (reverse_lookup_name_for_toolkit_event): make const.
300         (spi_application_toolkit_event_listener): fixup, kill leaks
301         ref problems etc.
302
303         * at-bridge/bridge.c (register_atk_event_listeners):
304         don't unref the noop object - causes grief.
305
306         * libspi/registry.c: remove the X headers.
307         turn off the debug churn.
308
309         * libspi/accessible.c (spi_accessible_new_return): only
310         release the ref if we are supposed to [doh]
311
312         * test/simple-at.c (report_button_press, report_focus_event):
313         guard vs. unexpected exit.
314
315         * at-bridge/bridge.c (gtk_module_init): prune printf.
316         (bridge_exit_func): fix app unref.
317
318         * libspi/Makefile.am: don't install registry or desktop.h
319
320         * libspi/*.h: update includes.
321
322         * libspi/application.h: don't include ourself, or
323         other redundant headers.
324
325 2001-12-06  Michael Meeks  <michael@ximian.com>
326
327         * libspi/accessible.c
328         (get_accessible_from_servant): impl.
329         Upd. all CORBA impl.s to use it killing cut and paste.
330
331         * cspi/spi_main.c (cspi_cleanup): guard vs. double
332         invokes.
333         (SPI_init): register atexit cleanup handler here.
334
335 2001-12-06  Michael Meeks  <michael@ximian.com>
336
337         * at-bridge/bridge.c (gtk_module_init): g_error on
338         activation exception
339
340 2001-12-06  Michael Meeks  <michael@ximian.com>
341
342         * at-bridge/bridge.c (gtk_module_init): some sort of
343         confusing merge clash - reverted.
344         (bridge_idle_init): ditto.
345
346         * test/test-simple.c (main, utterable_normal_derefs):
347         merge from Bill - somehow not committed.
348
349 2001-12-06  Michael Meeks  <michael@ximian.com>
350
351         * libspi/value.c (spi_value_class_init): upd.
352         (spi_value_finalize): kill.
353
354         * libspi/table.c (spi_table_finalize): kill.
355         (spi_table_interface_new): upd.
356         (spi_table_class_init): upd.
357         (get_table_from_servant): impl.
358         Upd. all CORBA impl.s to use it killing yet more cut and paste.
359
360         * libspi/selection.c (spi_selection_finalize): kill.
361         (spi_selection_interface_new): upd.
362         (spi_selection_class_init): upd.
363         (get_selection_from_servant): impl.
364         Upd. all CORBA impl.s to use it killing yet more cut and paste.
365
366         * libspi/relation.c (spi_relation_finalize): kill.
367         (spi_relation_class_init, spi_relation_new): upd
368
369         * libspi/image.c (spi_image_finalize): kill.
370         (spi_image_class_init): upd.
371         (spi_image_interface_new): upd.
372         (get_image_from_servant): impl.
373         Upd. all CORBA impl.s to use it killing yet more cut and paste.
374
375         * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
376         (spi_hyperlink_finalize): kill.
377         (spi_hyperlink_new): upd.
378         (get_hyperlink_from_servant): impl.
379         Upd. all CORBA impl.s to use it killing yet more cut and paste.
380
381         * libspi/hypertext.c (spi_hypertext_interface_new): upd.
382         (spi_hypertext_finalize): kill.
383         (spi_hypertext_class_init): upd.
384         (get_hypertext_from_servant): impl.
385         Upd. all CORBA impl.s to use it killing yet more cut and paste.
386
387         * libspi/editabletext.c (spi_editable_text_finalize): kill.
388         (spi_editable_text_interface_new): upd.
389         (get_editable_text_from_servant): impl.
390         Upd. all CORBA impl.s to use it killing yet more cut and paste.
391         
392         * libspi/text.c (get_text_from_servant): impl.
393         All impls - update to use it killing more cut and paste,
394         also fix bad string returns on duff args ( a somewhat
395         impossible case to handle - but hey ).
396         (spi_text_construct): impl.
397         (spi_text_interface_new): upd.
398         (spi_text_object_finalize): kill.
399
400         * libspi/component.c
401         (accessibility_component_object_finalize): kill.
402         (spi_component_class_init): upd.
403         (get_component_from_servant): impl. helper to kill cut & paste.
404         (impl_accessibility_component_contains): 
405         (impl_accessibility_component_get_accessible_at_point): 
406         (impl_accessibility_component_get_position): 
407         (impl_accessibility_component_get_extents): 
408         (impl_accessibility_component_get_mdi_z_order): 
409         (impl_accessibility_component_get_layer): 
410         (spi_component_interface_new): upd.
411
412         * libspi/action.c (spi_action_finalize): kill.
413         (spi_action_class_init): upd. inherit from SpiObject.
414         (spi_action_interface_new): upd.
415         (get_action_from_servant): impl. helper to reduce cut & paste.
416         (impl_getKeyBinding, impl_getName, impl_doAction),
417         (impl_getDescription): Use it everywhere.
418
419         * cspi/spi_main.c (get_live_refs): a pointer hash.
420         (spi_object_hash, spi_object_equal): comment out.
421         There are issues with CORBA object hashing that need
422         solving.
423
424         * libspi/application.c (spi_application_init),
425         (spi_application_new): upd.
426
427         * libspi/accessible.c (spi_accessible_object_finalize): kill.
428         (spi_accessible_class_init): upd.
429         s/accessible/object/ in epv methods.
430
431 2001-12-05  Bill Haneman <bill.haneman@sun.com>
432
433         * at-bridge/bridge.c:
434         Reorder the bridge initialization into the bridge gtk_module_init,
435         an immediate call to bridge_register_app, and an idle_add for
436         register_atk_event_listeners (the only code that *must* wait until
437         GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
438         the activation, creates the application's Accessible object, and
439         queues the bridge_idle_init function.  Restored call to
440         Accessibility_Registry_deregisterApplication().  
441         Prior to making this call we obtain a new reference to the
442         registry, which is a temporary hack that helps us handle apps that
443         shut down the bonobo mainloop before we get there.
444
445         * libspi/registry.c:
446         Fix string leakage in debug block, and don't segv if a an app
447         dies before its event notifications have been propagated.
448
449         * cpi/spi_util.c:
450         Modify cspi_check_ev() to call g_warning() rather than g_error(),
451         as stopgap measure until we get proper exception handling when 
452         objects die during or before interrogation.  
453
454         * cspi/spi_main.c:
455         * cspi/spi.h:
456         Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
457         Also changed default value of is_gnome_app to TRUE.
458
459         * test/simple-at.c:
460         * test/keysynth-demo.c:
461         Changed use of SPI_init and SPI_event_main to reflect API change above.
462
463         * test/simple-at.c:
464         Made report_focus_event check the warning value from getName
465         before reporting on focussed accessible; simplifies handling of
466         notifications from dead objects.
467
468         * test/test-simple.c: (Changes not in this patch since source is
469         not in CVS ?)
470         
471 2001-12-05  Michael Meeks  <michael@ximian.com>
472
473         * registryd/registryd.c (main): protect against
474         bonobo-activation startup race condition.
475
476         * cspi/spi_main.c (cspi_object_add_check): cope
477         with the exception elegantly.
478
479         * idl/Accessible.idl: decl. ChildGone
480
481         * libspi/desktop.c (spi_desktop_dispose): impl.
482         (spi_desktop_class_init): upd.
483         (spi_desktop_add_application),
484         (spi_desktop_remove_application),
485         (abnormal_application_termination): impl.
486         (impl_desktop_get_child_at_index): re-impl.
487
488         * libspi/registry.c
489         (impl_accessibility_registry_deregister_application),
490         (impl_accessibility_registry_register_application): 
491         kill excessive debug clutter.
492
493         * test/test-simple.c (test_misc): test some NULL
494         tolerance. (main): upd.
495
496         * cspi/spi_main.c (cspi_accessible_is_a): a NULL
497         implements no interfaces - so let's not crash.
498
499         * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
500
501         * libspi/accessible.c (spi_accessible_new_return): impl.
502         helper to calm the cut and paste, to cope with
503         NULL AtkObjects effectively and efficiently, and to kill
504         the referencing bugs.
505
506         * libspi/table.c (impl_getAccessibleAt),
507         (impl_getRowHeader, impl_getColumnHeader): upd.
508
509         * libspi/hyperlink.c (impl_getObject): upd.
510
511         * libspi/accessible.c
512         (impl_accessibility_accessible_get_child_at_index): upd.
513
514         * libspi/component.c
515         (impl_accessibility_component_get_accessible_at_point): upd.
516
517         * test/test-simple.c (test_editable_text, test_text): impl.
518         some simple tests.
519
520         * cspi/spi_editabletext.c
521         (AccessibleEditableText_insertText): constify.
522
523         * test/test-simple.c (focus_me): make more robust.
524
525         * libspi/accessible.c: remove some printfs in methods that
526         we test and work fine, so we can get a clean tree dump.
527
528         * test/test-simple.c (validate_accessible),
529         (validate_tree): make tree dumping pretty too.
530
531         * at-bridge/bridge.c (bridge_signal_listener): upd. so
532         it builds without debug on.
533
534         * test/test-simple.c (validate_accessible): fix the most
535         ludicrous bug.
536
537         * cspi/spi_main.c (spi_object_release): leave the nicely
538         blanked memory around if in debug mode.
539
540         * cspi/spi-listener-impl.c (cspi_event): use add_check.
541
542 [committed to fixups2]
543 2001-12-05  Michael Meeks  <michael@ximian.com>
544
545         * libspi/editabletext.c
546         (spi_editable_text_class_init): g_type_class_peek_parent,
547         not interface peek - so we finalize cleanly.
548
549         * libspi/accessible.c (spi_accessible_new): kill debug.
550
551         * test/test-simple.c (validate_accessible): fix ref.
552         leak, print strings before freeing them; sigh, comment a
553         chunk out due to strangeness.
554         (validate_tree): unref the child after use.
555
556         * cspi/spi_component.c (AccessibleComponent_getLayer):
557         add missing break statement, switch on zlayer not the
558         uninitialized retval.
559
560         * cspi/spi_main.c (cspi_object_add): add assert, local ref
561         before (possibly re-entering) remote unref.
562
563         * test/simple-at.c (main): unref the desktop.
564
565         * cspi/spi_accessible.c (cspi_accessible_is_a): move 
566         into:
567         
568         * cspi/spi_main.c (cspi_accessible_is_a): here to 
569         isolate bonobo API usage more.
570
571         * libspi/registry.c (impl_accessibility_registry_register_application): 
572         prune bogus comment.
573
574 2001-12-04  Michael Meeks  <michael@ximian.com>
575
576         * test/test-simple.c (validate_tree): upd.
577         IndexInParent check to make it more lucid.
578         (validate_accessible): dump the tree.
579
580         * libspi/accessible.c (de_register_public_ref),
581         (get_public_refs): impl.
582         (spi_accessible_new): make more efficient & intuitive.
583         Now IndexInParent check works.
584
585 2001-12-04  Michael Meeks  <michael@ximian.com>
586
587         * cspi/spi-util.h: remove.
588
589         * cspi/spi.h: move SPI_freeString here
590
591         * libspi/component.c (impl_accessibility_component_get_layer): 
592         warning fixage.
593         (impl_accessibility_component_get_mdi_z_order): ditto,
594         return -1 on error - is this ok ?
595
596         * test/test-simple.c (test_application): impl.
597
598         * cspi/spi_accessible.c (Accessible_getApplication),
599         (Accessible_isApplication): impl.
600
601         * libspi/registry.c (spi_listener_struct_free): release
602         the CORBA reference too.
603
604         * libspi/accessible.c
605         (impl_accessibility_accessible_get_parent): fix ref leak.
606
607         * libspi/registry.c (spi_registry_new): make the registry
608         immortal - we don't want it to go away ever.
609
610         * libspi/application.c
611         (spi_accessible_application_finalize): impl. cleanup.
612
613         * cspi/spi_registry.c
614         (deregisterGlobalEventListenerAll),
615         (deregisterGlobalEventListener),
616         (deregisterAccessibleKeystrokeListener): fix ref leak.
617
618         * cspi/spi_main.c (SPI_init): remove redundant ref.
619
620         * test/test-simple.c (unutterable_horror): impl. to force a
621         clean shutdown.
622         (main): use it.
623
624         * libspi/registry.c
625         (impl_accessibility_registry_deregister_application): release
626         the application when we de-register it.
627
628         * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
629         until we have the infastructure to get it right.
630
631 2001-12-03  Michael Meeks  <michael@ximian.com>
632
633         * libspi/Makefile.am: only build eventlistener.[ch]
634
635         * libspi/accessible.c
636         (impl_accessibility_accessible_get_child_at_index): don't leak.
637
638         * at-bridge/bridge.c (bridge_exit_func): cope with an exit
639         before we hit the idle handler.
640
641         * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
642         debugging than exit.
643
644         * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
645
646         * libspi/listener.c (impl_notify_event): check source
647         not NIL before unref.
648
649         * libspi/registry.c (impl_registry_notify_event): ditto.
650
651         * libspi/eventlistener.c
652         (impl_accessible_event_notify_event): unref the source.
653
654         * libspi/accessibleeventlistener.c
655         (impl_accessible_event_notify_event): unref the source.
656
657         * idl/Event.idl: remove 'hash_id' attribute - of no
658         concievable use.
659
660         * libspi/application.c (notify_listeners): upd list
661         iteration & sig.
662         (spi_application_object_event_listener), 
663         (spi_application_toolkit_event_listener): upd to do correct
664         CORBA ref counting.
665
666         * libspi/registry.c
667         (_registry_notify_listeners): update.
668         (parse_event_type): this method also leaks like a sieve.
669         (impl_accessibility_registry_deregister_global_event_listener): 
670         fix ETYPE_WINDOW case.
671
672         * libspi/application.c
673         (impl_accessibility_application_register_object_event_listener): 
674         kill leak.
675
676         * libspi/hyperlink.c (impl_getObject): fix ref mistake.
677
678         * libspi/hypertext.c (impl_getLink): ditto.
679
680         * cspi/spi_main.c (cspi_object_add): remove
681         bogus CORBA_Object_duplicate.
682
683         * cspi/spi-listener-impl.c (cspi_event): dup/ref
684         on the object_add.
685
686         * cspi/spi_accessible.c
687         (Accessible_getRelationSet): fix leak / referencing issue.
688
689         * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
690         (cspi_object_add, cspi_object_unref): upd.
691         (spi_object_release, get_live_refs): impl.
692         (cspi_cleanup): simplify.
693
694         * *.[ch]: s/boolean/SpiBoolean/
695
696         * cspi/spi_accessible.c (role_names): actualy order so it
697         corresponds with the enum !
698
699         * test/test-simple.c (test_roles): check some role strings
700         vs. enums to detect offset errors.
701
702 2001-12-01  Michael Meeks  <michael@ximian.com>
703
704         * cspi/spi_main.c (cspi_object_add_check): impl. helper.
705
706         * cspi/spi_accessible.c (Accessible_getChildAtIndex):
707         check ev before 
708         (Accessible_getChildAtIndex): use cspi_add_check so we
709         check the ev before using a (possibly) invalid value.
710
711         * libspi/accessible.c
712         (impl_accessibility_accessible_get_parent): don't segv
713         on a NULL parent.
714
715         * at-bridge/bridge.c (gtk_module_init): upd.
716         (bridge_property_event_listener): don't leak strings
717         and events !
718         (bridge_state_event_listener),
719         (bridge_property_event_listener): don't use a static
720         buffer in case of recursive event emission &
721         re-enterancy - split out the swathe of cut and paste
722         into:
723         (emit_eventv): and fix 2 ref leaks here & comply to the
724         coding style.
725         (bridge_register_app): rename to 
726         (bridge_idle_init): this and kill arg parsing, split
727         various inits & bonobo-activation registration to module
728         init time, kill referencing error.
729         (bridge_exit_func): fix the same leak.
730         (bridge_focus_tracker): don't leak event structures
731         and strings.
732         (bridge_signal_listener): more leakage and cut & paste
733         fixage.
734         (bridge_key_listener): return the result - FIXME is
735         this polarity correct ?
736         (accessibility_keystroke_from_atk_key_event): rename
737         (accessibility_init_keystroke_from_atk_key_event): and stop
738         leakage.
739         (gtk_module_init): return a value - not that it is checked by
740         Gtk - but hey.
741         (bridge_key_listener): register my horror at casting between
742         IDL defined structs.
743         (bridge_get_registry): kill - not used.
744
745         * cspi/spi_accessible.c (Accessible_getRole): make return const.
746
747         * test/test-simple.c (test_roles): impl.
748         (test_desktop, validate_accessible, validate_tree): impl.
749
750         * cspi/spi_accessible.c (role_names): fixup bogus
751         MAX_ROLES setup, make constants const for efficient linkage
752         (AccessibleRole_getName): conform to coding style, make
753         return 'const'
754
755 2001-11-30  Michael Meeks  <michael@ximian.com>
756
757         * cspi/spi.h: add missing prototype.
758
759         * libspi/registry.c (spi_listener_struct_new): fix sig.
760
761         * test/Makefile.am: add test-simple
762
763         * test/test-simple.c: add
764
765         * test/test.sh: add.
766
767         * cspi/spi_main.c (SPI_init): make SPI_inited module global,
768
769         * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
770         do it straight - since otherwise we often get an activation race.
771
772 [ work before Bill duplicated a chunk of it ... ]
773 2001-11-30  Michael Meeks  <michael@ximian.com>
774
775         * libspi/keystrokelistener.c
776         (spi_keystroke_listener_class_init): fixup arg
777         count (doh).
778
779         * libspi/eventlistener.c
780         (spi_event_listener_class_init): ditto.
781
782         * tests/test.sh: add.
783
784         * cspi/spi-listener-impl.h: update macros.
785
786         * cspi/spi-listener-impl.c
787         (cspi_event_listener_remove_callback): add
788         correct pre-conditions.
789
790         * cspi/spi_main.c (SPI_exit): guard vs. double
791         exits, exit the mainloop nicely.
792         (SPI_event_main): make more sense.
793         (SPI_init): move the atexit evilness here so we
794         always do it (yuck).
795         (SPI_event_main): upd.
796
797         * test/simple-at.c: update for listener changes.
798
799         * registryd/registryd.c (main): prune kruft.
800
801         * libspi/libspi.h: upd.
802
803         * libspi/eventlistener.[ch]: rename broken macros.
804
805         * libspi/accessibleeventlistener.[ch]: remove.
806
807         * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
808
809         * test/test-simple.c: Add - automated tests.
810
811         * cspi/spi-listener-impl.c (cspi_event),
812         (cspi_key_event): add user_data to invoke.
813         (cspi_keystroke_listener_finalize): impl.
814         (cspi_keystroke_listener_class_init): upd.
815
816         * cspi/spi_event.c
817         (createAccessibleEventListener),
818         (AccessibleEventListener_addCallback),
819         (createAccessibleKeystrokeListener),
820         (AccessibleKeystrokeListener_addCallback): upd.
821
822         * libspi/deviceeventcontroller.c
823         (spi_device_event_controller_check_key_event): add public proto.
824
825         * libspi/registry.c
826         (impl_accessibility_registry_deregister_global_event_listener): 
827         always init listeners.
828         (_registry_notify_listeners): yes it is.
829
830         * cspi/spi-listener-impl.c (cspi_key_event): 
831         move debug to here.
832         (cspi_event_listener_finalize): impl.
833         (cspi_event_listener_class_init): hook up.
834         (event_handler_new, event_handler_free),
835         (event_list_remove_by_callback): impl.
836         (cspi_event_listener_remove_callback),
837         (cspi_keystroke_listener_remove_callback),
838         (cspi_keystroke_listener_add_callback),
839         (cspi_event_listener_add_callback): upd.
840
841         * libspi/keystrokelistener.c
842         (keystroke_listener_object_finalize): kill
843         (spi_keystroke_listener_class_init): upd.
844         (spi_keystroke_listener_add_callback),
845         (spi_keystroke_listener_remove_callback): kill,
846         use signals.
847         (impl_key_event): prune drasticaly.
848
849         * libspi/eventlistener.c
850         (spi_event_listener_add_callback),
851         (spi_event_listener_remove_callback): kill, use
852         signals.
853         (impl_accessible_event_notify_event): upd.
854         (spi_event_listener_object_finalize): remove.
855
856         * libspi/Makefile.am: use eventlistener.[ch]
857
858 2001-12-04  Bill Haneman  <bill.haneman@sun.com>
859
860         * libspi/registry.c (_registry_notify_listeners):
861         Changed listener loop iteration to use preferred convention.
862         Got rid of string memory leaks caused be calling g_strconcat
863         inside function calls.
864
865         * libspi/registry.c (parse_event_type):
866         Stopped g_strconcat memory leaks, free the g_strsplit return,
867         g_strdup the split pieces when used, etc.
868
869 2001-12-04  Bill Haneman  <bill.haneman@sun.com>
870
871         * idl/State.idl: 
872         Change method 'compare' to return a 'difference set' rather than
873         taking a StateSet as an out parameter (more Java-friendly).
874
875         * idl/Accessible.idl:
876         Added CORBA struct 'BoundingBox', to faciliate API changes below:
877         
878         * idl/Component.idl:
879         * idl/Image.idl:
880         Changed methods 'getExtents' and 'getImageExtents' in these
881         interfaces to return a BoundingBox structure.  
882         (getPosition and getSize are redundant and possibly should be
883         removed, rather than creating a corresponding Point struct.)
884
885         * cspi/spi_component.c:
886         Modify implementation of getExtents to reflect the above IDL
887         change.
888         
889         * cspi/spi_image.c:
890         * cspi/spi.h:
891         Add (missing) AccessibleImage_getExtents () API.
892
893         * docs/reference/cspi/at-spi-cspi-sections.txt:
894         Added AccessibleImage_getImageExtents () to docs.
895         
896 2001-12-03  Bill Haneman  <bill.haneman@sun.com>
897
898         * idl/Component.idl:
899         Added two methods, getLayer () and getMDIZOrder (), to reflect
900         the new ATK methods atk_object_get_layer and
901         atk_object_get_mdi_z_order. (Which arguably should be part of the
902         AtkComponent API and AtkObject).  Also added an enum,
903         ComponentLayer, for the first method's return value.
904
905         * libspi/component.c:
906         Added implementations for these methods.
907
908         * cspi/spi_component.c:
909         * cspi/spi.h:
910         Added cspi binding methods for above, 
911         AccessibleComponent_getLayer() and
912         AccessibleComponent_getMDIZOrder().
913         Added cspi enum 'AccessibleComponentLayer'.
914
915         * docs/reference/cspi/at-spi-cspi-sections.txt:
916         Added above methods to docs.
917
918         * cspi/spi-impl.h:
919         * cspi/spi*.[ch]:
920         Changed typedef for 'boolean' type (and all references to it) to
921         SPIBoolean, to avoid keyword clashes with C++.
922
923         * test/simple-at.c:
924         Changed usages of 'boolean' to SPIBoolean.
925
926         * test/keysynth-demo.c:
927         Changed usages of 'boolean' to 'gboolean' (since this is a gnome
928         app), except where SPIBoolean is required by the callbacks API.
929         
930 2001-12-02  Bill Haneman  <bill.haneman@sun.com>
931
932         * cspi/spi_registry.c:
933         Removed obsolete X event loop for passive keygrabs (which now
934         lives in libspi).
935
936         * registryd/registryd.c:
937         Removed unnecessary call to gdk_init() [cruft]. This also allows
938         removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
939         * configure.in.
940
941 2001-11-28  Bill Haneman  <bill.haneman@sun.com>
942
943         * docs/reference/cspi:
944         Included docs for SPI_freeString in generated documentation.
945
946         * cspi/spi-util.c:c
947         Renamed spi_freeString to SPI_freeString, for consistency.  Added
948         documentation for this function.
949
950         * cspi/spi-util.h:
951         Renamed spi_freeString to SPI_freeString, for consistency.  
952         Removed obsolete method declaration string_from_corba_string.
953
954         * test/keysynth-demo.c:
955         Small tweak to comments.
956
957         * test/simple-at.c:
958         Stopped leaking the strings returned from CSPI. 
959
960 2001-11-28  Bill Haneman  <bill.haneman@sun.com>
961
962         Merged Michael's branch (see his ChangeLog entries below).
963         
964         * at-bridge/bridge.c: Explicitly hold a ref to the registry while
965         bridge is alive, release on exit.
966         
967         * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
968         Fix type check macro.
969         
970         * cspi/spi_event.c:
971         Added AccessibleKeystrokeListener_unref() method to reduce leakage.
972         
973         * cspi/spi_main.c: 
974         Added is_gnome_app static, and method cspi_is_gnome_app(), 
975         so we can call the appropriate shutdown routine at exit in SPI_exit.
976         
977         * cspi/spi_main.c (cspi_object_ref):
978         Duplicate the corba object passed in, since we're keeping it around.
979         
980         * cspi/SPI_exit.c, cspi_cleanup:
981         Moved the releasing of the live refs to its own function, so we
982         can put it in g_atexit ().  Call the appropriate shutdown API
983         depending on whethe calling client is a gnome app or not
984         (bonobo_main_quit or CORBA_ORB_shutdown).
985         
986         * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
987         Unref the listener when this method is called, after
988         deregistration.  Updated the API docs to note this behavior.
989
990         * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
991         Bugfixes: Ref the bonobo object when returning a parent or child 
992         reference, or an AccessibleRelation.  Generally made sure
993         BonoboObject refcount is incremented whenever we return an
994         Accessible.
995
996         * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
997         Fixed typo/bug in signal declaration.
998         
999         * libspi/accessibleeventlistener.h:
1000         Fixed a type macro.
1001
1002         * libspi/application.c (spi_application_new):
1003         Fixed leak in initialization.
1004
1005         * libspi/desktop.c:
1006         Remembered to increment bonobo-object refcount when returning
1007         children (applications) from desktop object.
1008         Added (empty) finalize method.
1009
1010         * libspi/deviceeventcontroller.c:
1011         Hold a ref to listeners inside DEControllerKeyListeners.
1012         Added dec_key_listener_free() method.  Use prepend instead of
1013         append in key_listener list.  Fixed some refcount madness and
1014         leaks in the listener registration/deregistration - deregistration
1015         now calls dec_key_listener_free() on listeners, and on the
1016         temporarily constructed dec_key_listener() used to perform the search/match.
1017
1018         * libspi/hypertext.c (spi_hypertest_finalize):
1019         Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
1020         class.  Also fixed spi_hypertext_interface_new() and
1021         SpiHypertextClass.  Fixed a couple of paren-whitespace formatting bugs.
1022
1023         * libspi/hypertext.h: 
1024         Removed pointless and duplicate AtkObject pointer from
1025         SpiHypertextClass.
1026
1027         * libspi/keystrokelistener.c:
1028         Fixed incorrect type of keystroke_listener_parent_class,
1029         renamed keystroke_listener_object_finalize to
1030         spi_keystroke_listener_object_finalize.
1031         Fixed typo in signal declaration
1032         (spi_keystroke_listener_class_init).
1033
1034         * libspi/registry.c:
1035         Added funcsions spi_listener_struct_new() and
1036         spi_listener_struct_free() to help with memory management issues.
1037         We also now use these methods instead of gnew + poking stuff into
1038         the struct, and to decrement listener counts/free the listeners
1039         when deregistering them.
1040         Fix more refcount bugs in getDesktop() and
1041         getDeviceEventController().  
1042
1043         * test/simple-at.c:
1044         De-ref the desktop after enumerating the applications.  Explicitly
1045         decrement the refcounts on the created listeners on exit (using
1046         _unref for keystroke listeners, and via the
1047         deregisterGlobalEventListenerAll command for other event
1048         listeners).
1049         
1050 2001-11-27  Michael Meeks  <michael@ximian.com>
1051
1052         * cspi/spi-listener.h: fixup enum.
1053
1054 2001-11-27  Michael Meeks  <michael@ximian.com>
1055
1056         * cspi/spi-listener-impl.c (cspi_event_listener_new),
1057         (cspi_keystroke_listener_new): Use the cspi variants.
1058
1059 2001-11-26  Michael Meeks  <michael@ximian.com>
1060
1061         * test/keysynth-demo.c: fix 2 compile warnings, missing
1062         type in decl. etc.
1063
1064         * test/simple-at.c (report_focussed_accessible),
1065         (report_focus_event, report_button_press),
1066         (check_property_change, is_command_key),
1067         (report_ordinary_key_event, report_command_key_event): upd.
1068
1069         * util/mag_client.h: include pre-requisites.
1070
1071         * libspi/accessibleeventlistener.c
1072         (spi_event_listener_object_finalize): free any lingering
1073         callbacks.
1074         
1075         * libspi/keystrokelistener.c
1076         (keystroke_listener_object_finalize): ditto.
1077
1078         * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1079         callbacks, with cspi types.
1080         
1081         * cspi/spi_event.c (createAccessibleEventListener): chain to
1082         (AccessibleEventListener_addCallback): here.
1083         (createAccessibleKeystrokeListener): chain to 
1084         (AccessibleKeystrokeListener_addCallback): here.
1085
1086         * libspi/keystrokelistener.c
1087         (spi_keystroke_listener_class_init): add signal.
1088         (impl_key_event): emit the event.
1089         (boolean_handled_accumulator): impl.
1090         (marshal_BOOLEAN__POINTER): add, gack.
1091
1092         * libspi/accessibleeventlistener.c
1093         (spi_event_listener_class_init): add signal.
1094         (impl_accessible_event_notify_event): emit the signal &
1095         make the loop efficient.
1096         (spi_event_listener_add_callback): prepend the callback.
1097
1098         * libspi/accessibleeventlistener.h: add an 'event' signal,
1099         decl type on callback.
1100
1101         * libspi/keystrokelistener.h: ditto.
1102
1103         * cspi/spi-listener.h: make methods typesafe and
1104         make them use the new event typedefs.
1105
1106         * test/simple-at.c (report_focussed_accessible):
1107         include mag_client.h
1108         Use *(void *)text_interface not the other thing.
1109         
1110         * configure.in: add gtk to registryd bits - since we use
1111         gdk there ( why ? )
1112
1113         * util/magnifier.c: include libbonobo.h
1114         
1115 2001-11-25  Bill Haneman  <bill.haneman@sun.com>
1116
1117         * test/keysynth-demo.c:
1118         Turned this into a simple scanning keyboard, to demonstrate the
1119         use of g_timeout_add () as a means of creating timers for
1120         scanning, and the use of GtkStyle for visually indicating when
1121         virtual keyboard elements are selected.
1122
1123         keysynth-demo now listens to any keyboard keys with zero-valued
1124         keycodes (i.e. 'unused' keys) and interprets them as
1125         single-switches.
1126
1127         Reworked the shiftlatch code so that shift-down state isn't held
1128         for long periods (it's only synthesized immediately prior to
1129         the keysynth event it's modifying).  Note that shiftlatch in this
1130         demo is a convenience, not intended to take the place of AccessX 
1131         which is the better choice for getting 'sticky' modifier keys.
1132
1133         * libspi/deviceeventcontroller.c:
1134         * at-bridge/bridge.c:
1135         * cspi/spi_registry.c:
1136         Removed some debug print stuff, and put other verbosity in #ifdef
1137         blocks.
1138
1139         * util/magnifier.c:
1140         * util/mag_image.h:
1141         Implemented some more of the magnifier IDL for the simple
1142         magnifier: namely, getZoomRegionParams. 
1143         Added mag_x and mag_y members to MagnifierData struct, aid of this
1144         implementation.
1145         Added GtkWindow::realize signal handler to magnifier, to keep it
1146         from receiving keyboard focus from the WM.
1147
1148 2001-11-23  Mark McLoughlin  <mark@skynet.ie>
1149
1150         * cspi/spi-private.h: my guess at what michael forgot
1151         before he ran off to NZ :-)
1152
1153 2001-11-23  Michael Meeks  <michael@ximian.com>
1154
1155         * cspi/spi_event.c (AccessibleEventListener_removeCallback):
1156         comment out non existant method invoke so we link.
1157
1158         * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
1159         use bonobo_exception_get_text for more friendly warnings.
1160
1161         * cspi/spi.c (Obj_Add): move into spi_main & rename
1162         spi_object_add; kill spi.c
1163
1164         * cspi/spi_registry.c
1165         (deregisterGlobalEventListener),
1166         (deregisterGlobalEventListenerAll),
1167         (registerGlobalEventListener): fix exception leaks.
1168
1169         * cspi/spi_main.c (spi_exception): impl. helper, so we
1170         don't leak exceptions.
1171
1172         * cspi/spi_selection.c
1173         (AccessibleSelection_deselectSelectedChild): return the
1174         success state.
1175
1176         * cspi/spi_main.c (spi_ev): impl; hack - gack.
1177         (spi_registry): ditto.
1178         (SPI_init): guard against double inits.
1179
1180         * cspi/*.c: use spi_ev (), and spi_registry () where
1181         appropriate - a temporary hack until we have something
1182         better. Use spi_object_add
1183
1184 2001-11-22  Michael Meeks  <michael@ximian.com>
1185
1186         * cspi/Makefile.am: re organise, install the headers.
1187
1188         * cspi/*.h: add G_BEGIN/END_DECLS
1189
1190 2001-22-11  Bill Haneman  <bill.haneman@sun.com>
1191
1192         * test/simple-at.c:
1193         Added non-preemptive keylistener for key events with no modifiers
1194         and shift-only modifier.
1195
1196         * libspi/keystrokelistener.c:
1197         Removed some verbose diagnostics printout.
1198
1199         * cspi/spi_registry.c:
1200         Fixed a bug that caused all key listeners to be registered as
1201         pre-emptive.
1202         
1203         * libspi/deviceeventcontroller.c:
1204         Fixed bug that caused XGrabKey (preemptive key grab) to be called
1205         for non-preemptive key masks.
1206
1207
1208 2001-22-11  Bill Haneman  <bill.haneman@sun.com>
1209
1210         * docs/reference/idl/at-spi-idl-docs.sgml:
1211         * docs/reference/idl/at-spi-idl-sections.txt:
1212         * docs/reference/idl/at-spi-idl-overrides.txt:
1213         Added missing files.
1214
1215         * docs/reference/Makefile.am:
1216         removed idl from SUBDIRS until we can figure a way to get gtk-doc
1217         to scan the IDL files :-(
1218
1219         * docs/reference:
1220         * docs/cspi:
1221         * docs/idl:
1222         Added .cvsignore files.
1223         
1224 2001-21-11  Bill Haneman  <bill.haneman@sun.com>
1225
1226         * libspi/deviceeventcontroller.c:
1227         * libspi/keystrokelistener.c:
1228         * cspi/spi_event.c:
1229         * cspi/spi_registry.c:
1230         Added filters for KeySets, KeyEventSeq, and event types to key
1231         event dispatching, so listeners should only receive those events
1232         that they requested :-)
1233
1234 2001-21-11  Bill Haneman  <bill.haneman@sun.com>
1235
1236         * configure.in:
1237         * docs/Makefile.am:
1238         * docs/reference:
1239         * docs/reference:Makefile.am:
1240         * docs/reference/cspi:
1241         * docs/reference/cspi:Makefile.am:
1242         * docs/reference/cspi:tmpl:
1243         * docs/reference/cspi:tmpl:*.sgml:
1244         * docs/reference/idl:
1245         * docs/reference/idl:Makefile.am:
1246         * docs/reference/idl:at-spi-idl-sections.txt:
1247         * docs/reference/idl:at-spi-idl-docs.sgml:
1248         * docs/reference/idl:tmpl:
1249         * docs/reference/idl:tmpl:*.sgml:
1250
1251         Restructured docs directory to allow separate 'reference' docs
1252         section, and forked idl and cspi docs.  Added the sgml template
1253         files to CVS.  Added the first sections/structural sgml for the
1254         IDL docs.
1255
1256 2001-11-21  Laszlo Peter  <laca@ireland.sun.com>
1257
1258         * configure.in, libspi/Makefile.am: find libXtst.
1259
1260 2001-11-21  Michael Meeks  <michael@ximian.com>
1261
1262         * test/accessx-gui.c: s/spi_value/value/ - doh.
1263
1264         * libspi/base.[ch]: add.
1265
1266 2001-18-11  Bill Haneman <bill.haneman@sun.com>
1267
1268         * idl/Accessible.idl:
1269         * idl/Application.idl:
1270         * idl/Registry.idl:
1271         * idl/Action.idl:
1272         Started gtk-doc cleanup on IDL.
1273
1274         * libspi/deviceeventcontroller.c:
1275         Added and connected non-preemptive key notification from the
1276         toolkits (in addition to the pre-emptive support from XServer
1277         which we had before, but which causes 'focus flashing').  Filters
1278         are presently limited to key modifiers and global/non-global,
1279         KeySets are presently ignored, as are KeyEvent masks.
1280
1281         Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1282         structs into the persistant structure rather than just storing
1283         pointers to things that might not persist across servant
1284         invocations.
1285
1286         The XGrabKey call now does async keygrabs, because synchronous
1287         ones were deadlocking with GDK_event code in a very nasty way.
1288
1289         Added boolean to internal method notify_keylisteners, to indicate
1290         whether the event came from the 'toolkit source' or the 'global
1291         (XServer) source' - this is used in the notification process to
1292         determine which listeners to send the event to.
1293
1294         deviceeventcontroller.c is now warning-free.
1295         
1296         * libspi/registry.c:
1297         Fixed regression in application de-registration.
1298         Also fixed some really brain-dead weirdness having to do with
1299         event dispatching - event structs are now duplicated before being
1300         re-marshalled in the dispatch to listeners.  This also fixes a
1301         Solaris build problem.
1302         
1303         
1304 2001-20-11  Michael Meeks  <michael@ximian.com>
1305
1306         * libspi/registry.c
1307         (impl_accessibility_registry_deregister_global_event_listener): 
1308         segv. protection.
1309
1310         * libspi/deviceeventcontroller.c
1311         (spi_device_event_controller_check_key_event): return
1312         FALSE on no virtual method.
1313
1314         * libspi/*..h: make includes work on a correctly pathed install.
1315
1316         * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
1317
1318         * libspi/application.h: kill unused ( and whacked out )
1319         gboolean *spi_application_set_id (AtkObject *app, long id);
1320
1321 2001-20-11  Michael Meeks  <michael@ximian.com>
1322
1323         * libspi/*.[ch]: further convert to bonobo's type func
1324         macros, remove redundnant casts etc.
1325
1326         * libspi/text.c s/accessibility_text/spi_text/g,
1327         re-order to de-cruft.
1328
1329         * libspi/hypertext.c: re-order to kill a huge slew
1330         of redundant forward decls.
1331
1332         * libspi/relation.c: ditto.
1333
1334         * libspi/image.c: ditto.
1335
1336         * */.cvsignore: update
1337         
1338 2001-20-11  Michael Meeks  <michael@ximian.com>
1339
1340         * libspi/deviceeventcontroller.c
1341         (_controller_register_with_devices): use g_getenv,
1342         kill stdlib.h include.
1343
1344         * libspi/keystrokelistener.c
1345         (spi_keystroke_listener_get_type): kill
1346         (spi_keystroke_listener_class_init),
1347         (spi_keystroke_listener_init): rename to this.
1348
1349         * libspi/text.c (impl_getAttributes): fix warning / bug.
1350
1351         * libspi/*.[ch]: more headers, includes and over commenting.
1352         
1353 2001-20-11  Michael Meeks  <michael@ximian.com>
1354
1355         * libspi/*.[ch]: fixup headers, includes and over commenting.
1356
1357         * libspi/image.c (impl__get_imageDescription): const
1358         correctness warning fix. remove redundant casting.
1359
1360         * libspi/table.c (impl_getRowDescription): ditto.
1361         (impl_getColumnDescription): ditto.
1362
1363         * libspi/libspi.h: add.
1364
1365 2001-19-11  Michael Meeks  <michael@ximian.com>
1366
1367         * libspi/editabletext.c (impl_setAttributes): fix warnings.
1368
1369         * libspi/component.c (accessibility_component_get_type): 
1370         rename to (spi_component_get_type): and macroify.
1371         (accessibility_component_init): rename to
1372         (spi_component_init): this
1373         (accessibility_component_class_init): rename to
1374         (spi_component_class_init): this
1375
1376         * libspi/action.c (spi_action_get_type): kill, use the macro.
1377
1378         * libspi/deviceeventcontroller.c (_compare_listeners): re-order
1379         to avoid prototype.
1380
1381         * libspi/application.c (spi_application_object_event_listener),
1382         (impl_accessibility_application_register_object_event_listener):
1383         warning fixes / const understanding updates.
1384
1385         * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
1386         warning fixes.
1387
1388 2001-18-11  Bill Haneman <bill.haneman@sun.com>
1389
1390         * libspi/spi_accessible.c: Added docs and C bindings for
1391         AccessibleStateSet. (No implementations yet).  Documentation
1392         coverage for C bindings now 100%. Made docs for event listeners
1393         more explicit.
1394         
1395         * idl/Registry.idl:
1396         Added methods 
1397             boolean notifyListenersSync (in DeviceEventListener listener,
1398                                      in DeviceEvent event);
1399
1400             oneway void notifyListenersAsync (in DeviceEventListener listener,
1401                                           in DeviceEvent event);
1402
1403         Added DeviceEventListener and DeviceEvent structs (may deprecate
1404         KeyStroke and KeystrokeListener in favor of this generic
1405         event/listener framework for devices).
1406
1407         * libspi/deviceeventcontroller.c:
1408
1409         Changed some key listener code to take masks, etc., and paved the
1410         way for integration of toolkit/non-preemptive key events. Changed
1411         signatures of some internal methods.
1412
1413         * at-bridge/bridge.c:
1414         Fixed regression connecting to interface signals, apparently
1415         caused by GTK+ changes.
1416
1417         Added an internal bridge_state_listener to deal with
1418         property-change:accessible-state signals.
1419
1420         Changed the key_listeners GList to store structs (including masks,
1421         etc.) instead of just CORBA_Objects (required for full
1422         implementation of key listener API).
1423
1424         Connected the bridge to all currently supported Atk signals.
1425         Events now supported: 
1426             object:property-change
1427             object:property-change:accessible-name
1428             object:property-change:accessible-state
1429             object:property-change:accessible-description
1430             object:property-change:accessible-parent
1431             object:property-change:accessible-value
1432             object:property-change:accessible-role
1433             object:property-change:accessible-table-caption
1434             object:property-change:accessible-table-column-description
1435             object:property-change:accessible-table-column-header
1436             object:property-change:accessible-table-row-description
1437             object:property-change:accessible-table-row-header
1438             object:property-change:accessible-table-summary
1439             object:children-changed
1440             object:visible-data-changed
1441             object:selection-changed
1442             object:text-selection-changed
1443             object:text-changed
1444             object:text-caret-moved
1445             object:row-inserted
1446             object:row-reordered
1447             object:row-deleted
1448             object:column-inserted
1449             object:column-reordered
1450             object:column-deleted
1451             object:model-changed        
1452
1453 2001-16-11  Bill Haneman <bill.haneman@sun.com>
1454
1455         * libspi/hyperlink.c,h:
1456         Fixed some broken stuff in hyperlink.
1457         
1458         * libspi/relation.h:
1459         * libspi/relation.c:
1460         * cspi/spi_accessible.c:
1461         Initial implementations of AccessibleRelation methods, and docs.
1462
1463         * libspi/accessible.c:
1464         Fixed a bug that caused SEGV  if an accessible
1465         object's description is NULL, and a client
1466         requests it.  An empty string is now returned.
1467
1468         * cspi/spi_editabletext.c:
1469         * cspi/spi_hypertext.c:
1470         * cspi/spi_image.c:
1471         * cspi/spi_hyperlink.c:
1472         * cspi/spi_table.c:
1473         Added docs.  
1474
1475         Doc coverage now 95%.
1476
1477 2001-16-11  Bill Haneman <bill.haneman@sun.com>
1478
1479         One last namespacing revision:
1480         * libspi/accessibleeventlistener.[ch]:
1481         Renamed SpiAccessibleEventListener to SpiEventListener,
1482         (no need for two namespaces ;-)
1483
1484         And lots of documentation fixes:
1485
1486         * docs/at-spi-docs.sgml:
1487         Fixed 'underscore vs. hyphen' bug that was preventing
1488         the gtk-doc API docs from being automatically generated.
1489
1490         * cspi/spi-impl.h
1491         * cspi/spi-listener.h
1492         * cspi/spi.h
1493         * cspi/spi_accessible.c
1494         * cspi/spi_action.c
1495         * cspi/spi_application.c
1496         * cspi/spi_component.c
1497         * cspi/spi_editabletext.c
1498         * cspi/spi_event.c
1499         * cspi/spi_hypertext.c
1500         * cspi/spi_main.c
1501         * cspi/spi_registry.c
1502         * cspi/spi_selection.c
1503         * cspi/spi_text.c
1504         * cspi/spi_value.c
1505         * docs/Makefile.am
1506         * docs/at-spi-docs.sgml
1507         * docs/at-spi-sections.txt
1508         
1509         Added and fixed up gtk-doc documentation in cspi.
1510         
1511         Interfaces now (fully) documented (subject to revision and enhancement):
1512         SPI_main
1513         Event Listener Support
1514         Registry API
1515         AccessibleApplication
1516         Accessible
1517         AccessibleAction
1518         AccessibleComponent
1519         AccessibleEditableText
1520         AccessibleSelection
1521         AccessibleText
1522         AccessibleValue
1523
1524         still pending:
1525         AccessibleStateSet
1526         AccessibleRelationSet
1527         AccessibleImage
1528         AccessibleTable
1529         AccessibleHyperlink
1530         
1531 2001-14-11  Bill Haneman <bill.haneman@sun.com>
1532
1533         * at-bridge/bridge.c:
1534         Initial work for toolkit-level key snooper connection by bridge.
1535
1536         * cspi/spi-impl.h:
1537         * cspi/spi_*.h:
1538         * cspi/spi_*.c:
1539         New typedefs and fixes to support new namespacing, and cleaner
1540         separation of cspi bindings from libspi bonobo implementation.  
1541         Removed inconsistent and extraneous Spi* namespace prefix that
1542         had crept into cspi headers.
1543         Lots of comment fixes that sed had missed.
1544
1545         * cspi/spi-roletypes.h:
1546         * cspi/spi-statetypes.h:
1547         Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
1548         to AccessibleRoleType.
1549         
1550         * libspi/accessibleeventlistener.h:
1551         Fixed minor namespacing weirdness.
1552
1553         * libspi/deviceeventcontroller.c:
1554         Reordered some internal API for device listeners.
1555         Changed the key registry final boolean to 'is_system_global'
1556         rather than 'is_synchronous', which is more descriptive of its 
1557         actual meaning.
1558         Added spi_device_event_controller_new().
1559         Added  SpiRegistry backpointer to SpiDeviceEventControllerClass.
1560          
1561         * libspi/keystrokelistener.[ch]:
1562         Namespaced KeystrokeListener to SpiKeystrokeListener.
1563         Changed uses of keymasks to use SPI_ prefix, and did other
1564         knock-on fixups.
1565
1566         * libspi/keymasks.h:
1567         Namespaced keymask constants with SPI_ prefix.
1568
1569         * libspi/registry.c:
1570         Some warning fixes, and knock-on fixes from namespace changes.
1571
1572         * test/Makefile.am:
1573         Added rules for accessx-gui test program.
1574
1575         * test/accessx-gui.c:
1576         Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
1577         utility.  It doesn't actually use at-spi, but it's still cool and
1578         useful ;-)
1579
1580         * test/keysynth-demo.c:
1581         * test/simple-at.c:
1582         * test/at.c:
1583         * test/app.c:
1584         Fixes so that these test clients work properly with the namespaced
1585         libraries. (Incompletely tested for technical reasons, fixes may follow)
1586         
1587
1588 2001-13-11  Michael Meeks  <michael@ximian.com>
1589
1590         * libspi/application.c
1591         (impl_accessibility_application_get_version),
1592         (impl_accessibility_application_get_toolkit_name):
1593         warning fixes.
1594         (impl_accessibility_application_set_id),
1595         (impl_accessibility_application_get_id): remove
1596         redundant casting code.
1597
1598         * libspi/action.c (impl_getDescription): fix warnings.
1599
1600         * libspi/accessible.c
1601         (impl_accessibility_accessible_get_parent),
1602         (impl_accessibility_accessible_get_child_at_index),
1603         (impl_accessibility_accessible_get_state),
1604         (impl_accessibility_accessible_get_relation_set):
1605         warning fixes & include action.h
1606
1607 2001-13-11  Michael Meeks  <michael@ximian.com>
1608
1609         * *.[ch] fix bits I screwed up:
1610
1611                 s/([^ \tb(\*\&\?\",])spi_/\1/g;
1612                 s/([^ \tb(\*\&\?\",])Spi/\1/g;
1613         
1614 2001-13-11  Michael Meeks  <michael@ximian.com>
1615
1616         * *.[ch] Namespace libspi into spi_ and Spi.
1617
1618 2001-13-11  Michael Meeks  <michael@ximian.com>
1619
1620         * Makefile.am: dist & install at-spi-1.0.pc
1621
1622         * libspi/Makefile.am: install into at-spi-1.0
1623
1624         * idl/Makefile.am (idldir): install into at-spi-1.0
1625
1626         * at-spi-1.0.pc.in: add.
1627
1628         * configure.in: build it.
1629
1630 2001-12-11  Bill Haneman <bill.haneman@sun.com>
1631
1632         * test/keysynth-demo.c:
1633         Use a 'realize' signal-handler to set the WM properties for
1634         the virtual keyboard, rather than making it a "POPUP" type
1635         override-redirect window (thanks to anders carlsson for that
1636         tip!)
1637
1638 2001-11-11  Bill Haneman <bill.haneman@sun.com>
1639
1640         * test/Makefile.am:
1641         * test/keysynth-demo.c:
1642         Added new test of key synthesis, which creates a simple
1643         (mouse-operated) onscreen keyboard.  It inserts key events into
1644         the currently-focused window, thus it does not grab keyboard focus
1645         itself.
1646
1647         * cspi/spi_registry.c:
1648         Added C binding for AT-SPI generateKeyEvent.
1649
1650         * libspi/deviceeventcontroller.c:
1651         Added call to XFilterEvent so that key listener works with XIM (we
1652         hope).  Added event_synth_type to generateKeyEvent, so that we can
1653         produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
1654         synthesize a press/release pair for KeySyms.    
1655         
1656 2001-11-09  Bill Haneman <bill.haneman@sun.com>
1657
1658         * libspi/Makefile.am: 
1659         * registryd/Makefile.am:
1660         (temporary) hack to include libXtst in libspi and registryd.
1661         (Needed for keystroke synthesis, see below).
1662
1663         * idl/Registry.idl:
1664         Improved API for registerKeystrokeListener, in accordance with
1665         discussions with Gnopernicus team and X server research.
1666
1667         * libspi/registry.c:
1668         * libspi/deviceeventcontroller.c:
1669         * libspi/accessible.c:
1670         * libspi/keystrokelistener.c:
1671         Changes and fixes to support keylisteners for potentially
1672         consumed key events (that is, 'passive grabs').
1673         Added implementation for generateKeyEvent() [untested].
1674
1675         * cspi/spi.h:
1676         Changes to registerKeystrokeListener() API, as above.
1677         Added deregisterGlobalEventListenerAll(), and 
1678         deregisterKeystrokeListener(), which are needed for clean exit of
1679         clients.
1680         Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
1681         and a macro ALL_KEYS which may be used in place of a KeySet pointer.
1682         
1683         * cspi/spi_registry.c:
1684         Added implementations of function prototypes mentioned above.
1685         
1686         * registryd/registryd.c:
1687         Added the key listener event source as a g_timeout(), to allow
1688         receipt of key events that are not caught by GDK (since GDK
1689         doesn't support passive keygrabs, this was necessary).
1690
1691         * test/simple-at.c:
1692         Changed to attach a keylistener to 'Alt' keys, and
1693         respond to the following keycommands: Alt-M (toggle magnifier);
1694         Alt-F (toggle speech); Alt-Q (quit).
1695         Added an exit routine to deregister the listeners, and a key
1696         listener that prints some key info to the console when a key
1697         matches the listener mask (and is thus received by the listener).
1698         
1699         * util/idl/Magnifier.idl:
1700         Changes to magnifier API to support multiple zoom regions,
1701         non-uniform scaling in x and y, markDirty, and a host of other
1702         features that would be useful to magnification.
1703
1704         * util/mag_image.h:
1705         * util/mag_client.c:
1706         * util/mag_client.h:
1707         * util/mag_control.c:
1708         * util/magnifier.c:
1709         Source code changes to support the above IDL changes.
1710         
1711         * util/mag_image.c:
1712         As above, and also changes to use a (slower) generic conversion
1713         path for colormap conversions, since the fast RGB conversions have been
1714         reported to fail for 16-bit displays.
1715
1716 2001-10-26  Michael Meeks  <michael@ximian.com>
1717
1718         * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
1719
1720 <2001-10-26  Laszlo Peter <laca@ireland.sun.com>
1721
1722         * at-bridge/Makefile.am: fix LDFLAGS.
1723
1724 <2001-10-09  Bill Haneman <bill.haneman@sun.com>
1725
1726         * at-bridge/bridge.c:
1727         Re-worked listeners for toolkit events, now we have signal
1728         and property listeners. Added a private method
1729         register_atk_event_listeners(), which registers with the
1730         various atk and gtk signals we need to monitor in order to emit
1731         our at-spi events.
1732         Added emission hook for AtkObject:property-change events, to
1733         support the 'property listeners'.
1734         Fixed some alloc()s of Accessibility_Event structs to use CORBA
1735         allocation.
1736
1737         * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
1738         which emit warnings and exit, respectively, if CORBA errors occur
1739         during remote calls, and we now use these methods to check most of
1740         our CORBA calls in the C bindings.
1741
1742         * cspi/spi_accessible.c:
1743         Changed AccessibleSelection_refSelectedChild() to
1744         AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
1745         now increment refcounts.
1746
1747         * cspi/spi_component.c:
1748         Fixed some long pointer casts (dangerous!) to pass pointers to
1749         CORBA_longs of the proper type to the CORBA stubs, and copy the
1750         data into the longs that were passed into the C bindings code.
1751         
1752         * at-bridge/bridge.c:
1753         
1754         * libspi/accessible.c:
1755         Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
1756         hyperlinks, AtkHyperlink is an object type.     
1757
1758         * libspi/application.c:
1759         Added various conversions to and from "generic" event types and
1760         atk-specific types; this is really part of the 'bridge'
1761         implementation but is valid for all AtkObject-based accessibility 
1762         implementations.
1763
1764         * libspi/editabletext.c:
1765         Fixed nasty bug wherein editable text's finalize method was
1766         unref'ing tha AtkObject reference that the text parent class was
1767         about to unref _again_.  There was also a nasty inheritance bug
1768         that meant that the AccessibleEditableText class was corrupt.
1769
1770         * libspi/selection.c:
1771         Provided implementations for some selection API that was broken.
1772         
1773         * idl/Application.idl:
1774         Added registerObjectEventListener () method.
1775
1776         * THROUGHOUT:
1777         Fixed a number of return values that were Bonobo_Unknowns from
1778         bonobo_object_corba_objref(), which I
1779         forgot to dup before returning.  Changed instances of 
1780         bonobo_object_corba_objref (bonobo_object(o)) to
1781         BONOBO_OBJREF(o), for concision and clarity.
1782         
1783 <2001-10-13  Louise Miller <louise.miller@sun.com>
1784
1785         * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
1786         idl/Event.idl, idl/Registry.idl
1787         Changed these files to include Bonobo_Unknown.idl instead
1788         of Bonobo.idl
1789
1790 <2001-09-10  Marc Mulcahy <marc.mulcahy@sun.com
1791
1792         * libspi/component.c libspi/component.h:
1793                 Fixed typo.  Added assertions for object checks in 
1794         AccessibleComponent code.
1795
1796 <2001-10-09  Bill Haneman <bill.haneman@sun.com>
1797
1798         * idl/Accessible.idl:
1799                 Added 'isEqual (Accessible *object)' 
1800         method for Accessible. (Not Yet Implemented).
1801         
1802         * idl/Registry.idl:
1803                 Changed signature of registerKeystrokeListener() to
1804         take a KeySet and KeyEventSeq so that specific keys and event
1805         types could be requested for monitoring, and added a flag
1806         is_synchronous so that either synchronous or asynchronous
1807         notification could be requested.  (However this is not all
1808         implemented yet). This also meant adding two new typedefs,
1809         KeyEventSeq and KeySet.
1810
1811         * idl/Relation.idl: 
1812                 Added two new relations, RELATION_TOOLTIP_FOR and
1813         RELATION_LEAFNODE_OF.
1814
1815         * idl/State.idl:
1816                 Added new state, STATE_HAS_TOOLTIP.
1817         
1818         * libspi/text.c, editabletext.c:
1819                 Added new assertions to all casts of bonobo-objects from
1820         CORBA servants, to prevent Text API calls on non-text objects.
1821                 Changed suspect casts of int-pointer types, so that we
1822         always send a valid CORBA_long pointer to the CORBA APIs that use
1823         in/out long parameters.  We then have to copy from the CORBA_long
1824         into the regular long or int for return to the C bindings, or
1825         vice-versa when returning parameters from ATK calls to the bonobo wrappers.
1826         
1827         * cspi/spi_text.c:
1828         * libspi/deviceeventcontroller.c:
1829                 Cleaned these sources up.
1830         * idl/Text.idl:
1831                 Changed return type for getCharacterAtOffset to
1832         CORBA_unsigned_long, to allow for 32-bit characters.
1833         
1834                 
1835 <2001-10-08  Bill Haneman <bill.haneman@sun.com>
1836
1837         * util/Makefile.am:
1838         * idl/Makefile.am:
1839                 Fixed 'make dist' so that distro compiles...
1840         * libspi/keymasks.h:
1841                 new file.
1842         * cspi/spi-listener.c:
1843                 KeystrokeListenerCB now returns a boolean.
1844         * cspi/spi.h:
1845                 Added KeyEventType struct, and KeyStroke.
1846                 Also added createKeystrokeListener(),
1847         KeystrokeListener_addCallback(),
1848         KeystrokeListener_removeCallback(), and added a keymask to
1849         registerKeystrokeListener().
1850         * cspi/spi_accessible.c:
1851                 Changed numerous return types for interfaces from
1852         AccessibleComponent to Accessible<InterfaceName>; this was
1853         probably a cut-and-paste error.
1854         * cspi/spi_event.c:
1855                 Implementations of new KeystrokeListener api (from spi.h,
1856         above).
1857         * idl/Registry.idl:
1858                 Changes to key modifier mapping.
1859                 Created ControllerEventMask struct.
1860                 Made DeviceEventController derive from Bonobo::Unknown.
1861         * idl/Text.idl:
1862                 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
1863         * libspi/deviceeventcontroller.c:
1864                 Added a number of new internal (private) methods.
1865         * libspi/editabletext.c:
1866         * libspi/editabletext.h:
1867                 Fixed a number of bugs related to the fact that
1868         editabletext inherits from text.  Fixed the EditableText struct,
1869         the init() call, and use correct casts when calling Text methods
1870         from an EditableText object.  Removed (duplicate) atko from the
1871         EditableText structure, we use the one in the parent Text
1872         structure via the casts mentioned above.
1873         * libspi/keystrokelistener.[ch]:
1874         * libspi/registry.c:
1875                 Changes in support of keyboard handling (above).
1876         
1877         Keyboard handling, though partly functional, is still not
1878         recommended for at-spi client use as there is considerable 
1879         work yet to be done.
1880
1881         * libspi/text.c:
1882                 Changed some places where pointers to various int types
1883         are cast to be pointers to CORBA_long types and vice-versa:
1884         pointer casting is not safe so we pass pointers of the correct
1885         types and then cast the result before putting it into the target
1886         pointers.
1887
1888         * libspi/text.h: minor typos corrected.
1889         * test/simple-at.c: 
1890                 We now speak not only the name of a Text element, but the
1891         first sentence of its content, when it receives focus.
1892                 I also changed the text compression to 75% from 50%.
1893         * util/Accessibility_Util.server.in:
1894                 Changed the default magnifier type to be a 3x vertical
1895         splitscreen magnifier (was previously a 2x horizontal one).
1896
1897 <2001-10-03  Bill Haneman <bill.haneman@sun.com>
1898
1899         * libspi/keystrokelistener.h:
1900         * libspi/keystrokelistener.c:
1901                 Initial functional implementations of KeystrokeListener.
1902         * idl/Registry.idl:
1903         
1904 <2001-10-05  Marc Mulcahy <marc.mulcahy@sun.com>
1905
1906         Fixed string handling for NULL strings in libspi.
1907         Added spi_freeString to free strings returned by C bindings.
1908
1909 <2001-09-30  Bill Haneman <bill.haneman@sun.com>
1910
1911         * libspi/keystrokelistener.h:
1912         * libspi/keystrokelistener.c:
1913                 Began (no-op) implementations of KeystrokeListener
1914                         (see below).
1915         * libspi/deviceeventcontroller.c:
1916         * libspi/deviceeventcontroller.h:
1917                 Began creating implementations of DeviceEventController,
1918                         to handle keystroke and mouse event listening and
1919                         synthesis.
1920         * libspi/accessible.c:
1921                 Stubbed-in the implementations for
1922                         Accessibility_Accessible_getState and
1923                         Accessibility_Accessible_getRelationSet.
1924         * libspi/registry.c:
1925                 Improved de-registration process and fixed some bugs, 
1926                         deregistration now works correctly.
1927         * libspi/desktop.c:
1928                 Added initialization of applications list (to NULL).
1929         * util/magnifier.c:
1930                 Reduced speech compression from 0.5 to 0.7, for demo.
1931                 Changed call to gdk_window_set_decorations()
1932                         to gtk_window_set_decorated().
1933         * at-bridge/bridge.c:
1934                 Bridge now deregisters when app exits, via
1935                         registration of a cleanup function
1936                         with the g_atexit() call.
1937                         Required making 'app' static, renamed 'this_app'.
1938                 Fixed broken use of bonobo_init, passing argv wrongly.
1939
1940 <2001-09-27  Bill Haneman <bill.haneman@sun.com>
1941
1942         * util:
1943         * util/Makefile.am: 
1944                 Created a new directory for 
1945                         accessibility-related utilities, primarily for
1946                         testing and demo purposes, but with possible
1947                         end-user utility.
1948         
1949         * util/magnifier.c:
1950         * util/magnifier.h:
1951         * util/mag_image.c:
1952         * util/mag_image.h:
1953                 Onscreen magnifier utility that
1954                         is implemented as a bonobo service.
1955         
1956         * util/mag_client.c:
1957         * util/mag_client.h:
1958                 Client-side support (simple C bindings) 
1959                         for Magnification service
1960         
1961         * util/mag_control.c:
1962                 Client program example for 
1963                         Magnification service
1964         
1965         * util/Accessibility_Magnifier.server.in:
1966                 Bonobo-activation file for the 
1967                         Magnification service.
1968         
1969         * util/idl:
1970         * util/idl/Magnifier.idl:
1971                 IDL defining the bonobo Magnification
1972                         service interface.
1973
1974         * test/simple-at.c:
1975                 Modifications to use the bonobo-activated magnifier
1976                         above, in place of trying to connect to an existing
1977                         magnifier that uses socket-listening IPC.
1978
1979                 If env variable MAGNIFIER is set, a magnifier service
1980                         will be started if one does not exist.
1981         
1982 <2001-09-25  Bill Haneman <bill.haneman@sun.com>
1983         * at-bridge/bridge.c:
1984                 applied patch from Marc to build and run 
1985                 against new glib and gtk+ (seemed like a change 
1986                 to bonobo_init signature was made ?)
1987         * test/simple-at.c:
1988                 made festival-server support turned off by default.
1989                 Added support for a simple magnifier (off by default)
1990                 which will be added to a 'util' directory later.
1991         * at-bridge/Makefile.am:
1992                 Changed "application.h" header from a 'source'
1993                 to a 'dependency' of libat-bridge.
1994
1995 <2001-09-12  Marc Mulcahy <marc.mulcahy@sun.com>
1996         * cspi/Makefile.am:
1997                 Added spi-util.c.
1998
1999         * cspi/spi-util.c:
2000                 Fixed typo
2001
2002         * cspi/spi.c:
2003                 Added interface implementation c files to list of
2004                         includes so they are included in libcspi.
2005
2006         * cspi/spi.h:
2007                 Changed prototype of AccessibleAction_doAction to return a
2008                         boolean.
2009                 Changed prototype of AccessibleTable_getCaption to
2010                         return an Accessible.
2011                 Changed prototype of AccessibleTable_getSelectedRows
2012                         and AccessibleTable_getSelectedColumns to
2013                         return a long (returns the number of selected rows
2014                         or columns respectively).
2015                 Changed name of AccessibleText_refRunAttributes to
2016                         AccessibleText_getAttributes.
2017                 Changed prototype of AccessibleText_getCharacterExtents to
2018                         return a void rather than a boolean. 
2019                 Added support for a AccessibleCoordType parameter
2020                         specifying what type of coordinates are desired.
2021                 Added an AccessibleCordType parameter to
2022                         AccessibleText_getPointAtOffset.
2023
2024         * cspi/spi_accessible.c:
2025                 Added code to return the outstanding interfaces from
2026                         Accessible_queryInterface.
2027
2028         * cspi/spi_action.c:
2029                 Fixed typos.
2030                 Corrected call to getNActions to call the c binding
2031                         for an attribute.
2032
2033         * cspi/spi_editabletext.c:
2034                 Fixed typos.
2035                 Changed name from setRunAttributes to setAttributes.
2036
2037         * cspi/spi_hyperlink.c:
2038                 Fixed typos.
2039                 Changed call to getNAnchors to correctly call the c
2040                         binding for an attribute.
2041
2042         * cspi/spi_hypertext.c:
2043                 Fixed typos.
2044                 Changed getImageDescription to correctly call the
2045                         binding for an attribute.
2046
2047         * cspi/spi_selection.c:
2048                 Changed getNSelectedChildren to correctly call the c
2049                         binding for the attribute.
2050                 Changed refSelectedChild to getSelectedChild.
2051
2052         * cspi/spi_table.c:
2053                 Fixed typos.
2054                 Changed getCaption to return an Accessible.
2055                 Fixed calls which retrieve attributes.
2056                 Changed refAt to getAccessibleAt.
2057                 Changed getNSelectedRows and getNSelectedColumns to
2058                         return longs.
2059
2060         * cspi/spi_text.c:
2061                 Changed getCharacterExtents and getPointAtOffset to accept an
2062                         AccessibleCoordType.
2063                 Fixed typos.
2064                 Changed calls which retrieve attributes.
2065                 Changed refRunAttributes to getAttributes.
2066
2067         * cspi/spi_value.c:
2068                 Fixed typos.
2069
2070         * idl/Hyperlink.idl:
2071                 Changed n_anchors attribute to nAnchors to keep naming
2072                         convention consistent.
2073
2074         * idl/Table.idl:
2075                 Made Table inherit from Bonobo::Unknown.
2076                 Added nSelectedColumns and nSelectedRows attributes.
2077
2078         * idl/Value.idl:
2079                 Made Value inherit from Bonobo::Unknown.
2080
2081         * libspi/hyperlink.c:
2082                 Change for nAnchors attributte name change.
2083
2084 <2001-09-12  Marc Mulcahy <marc.mulcahy@sun.com>
2085         * cspi/Makefile.am:
2086                 Added spi-util.c.
2087
2088         * cspi/spi-util.c:
2089                 Fixed typo
2090
2091         * cspi/spi.c:
2092                 Added interface implementation c files to list of
2093                         includes so they are included in libcspi.
2094
2095         * cspi/spi.h:
2096                 Changed prototype of AccessibleAction_doAction to return a
2097                         boolean.
2098                 Changed prototype of AccessibleTable_getCaption to
2099                         return an Accessible.
2100                 Changed prototype of AccessibleTable_getSelectedRows
2101                         and AccessibleTable_getSelectedColumns to
2102                         return a long (returns the number of selected rows
2103                         or columns respectively).
2104                 Changed name of AccessibleText_refRunAttributes to
2105                         AccessibleText_getAttributes.
2106                 Changed prototype of AccessibleText_getCharacterExtents to
2107                         return a void rather than a boolean. 
2108                 Added support for a AccessibleCoordType parameter
2109                         specifying what type of coordinates are desired.
2110                 Added an AccessibleCordType parameter to
2111                         AccessibleText_getPointAtOffset.
2112
2113         * cspi/spi_accessible.c:
2114                 Added code to return the outstanding interfaces from
2115                         Accessible_queryInterface.
2116
2117         * cspi/spi_action.c:
2118                 Fixed typos.
2119                 Corrected call to getNActions to call the c binding
2120                         for an attribute.
2121
2122         * cspi/spi_editabletext.c:
2123                 Fixed typos.
2124                 Changed name from setRunAttributes to setAttributes.
2125
2126         * cspi/spi_hyperlink.c:
2127                 Fixed typos.
2128                 Changed call to getNAnchors to correctly call the c
2129                         binding for an attribute.
2130
2131         * cspi/spi_hypertext.c:
2132                 Fixed typos.
2133                 Changed getImageDescription to correctly call the
2134                         binding for an attribute.
2135
2136         * cspi/spi_selection.c:
2137                 Changed getNSelectedChildren to correctly call the c
2138                         binding for the attribute.
2139                 Changed refSelectedChild to getSelectedChild.
2140
2141         * cspi/spi_table.c:
2142                 Fixed typos.
2143                 Changed getCaption to return an Accessible.
2144                 Fixed calls which retrieve attributes.
2145                 Changed refAt to getAccessibleAt.
2146                 Changed getNSelectedRows and getNSelectedColumns to
2147                         return longs.
2148
2149         * cspi/spi_text.c:
2150                 Changed getCharacterExtents and getPointAtOffset to accept an
2151                         AccessibleCoordType.
2152                 Fixed typos.
2153                 Changed calls which retrieve attributes.
2154                 Changed refRunAttributes to getAttributes.
2155
2156         * cspi/spi_value.c:
2157                 Fixed typos.
2158
2159         * idl/Hyperlink.idl:
2160                 Changed n_anchors attribute to nAnchors to keep naming
2161                         convention consistent.
2162
2163         * idl/Table.idl:
2164                 Made Table inherit from Bonobo::Unknown.
2165                 Added nSelectedColumns and nSelectedRows attributes.
2166
2167         * idl/Value.idl:
2168                 Made Value inherit from Bonobo::Unknown.
2169
2170         * libspi/hyperlink.c:
2171                 Change for nAnchors attributte name change.
2172
2173
2174 <2001-09-05  Marc Mulcahy <marc.mulcahy@sun.com>
2175
2176         implementations-- made server implementations own AtkObject pointers
2177         rather than their respective AtkInterrface pointers to fix
2178         refcounting.  AtkHyperlink is still broken.
2179
2180 <2001-09-04  Bill Haneman <bill.haneman@sun.com>
2181         * cspi/spi_accessible.c:
2182                 Added method Accessible_Role_getName(),
2183                         and requisite string array (role_names).
2184                 Added conversion string_from_corba_strin() call
2185                         to Accessible_getName and _getDescription.
2186         * libspi/accessible.c:
2187                 Added implementation for Accessible_getRole()
2188         * test/simple-at.c:
2189                 Added festival support, used if environment variable
2190                         FESTIVAL is set.
2191         
2192 2001-09-04  Bill Haneman <bill.haneman@sun.com>
2193
2194         * at-bridge/bridge.c:
2195             Now allocate Accessibility_Event using
2196             Accessibility_Event__alloc() instead of g_new0().
2197         * libspi/accessibleeventlistener.c:
2198             Initialize AccessibleEventListener->callbacks to NULL.
2199             Fixed accessible__event_listener_init() param, changed to
2200             "AccessibleEventListener *" type.
2201             Changed a bonobo_object_release_unref() call to
2202             Accessibility_Accessible_unref().
2203         * libspi/listener.c:
2204             Changed Bonobo_Unknown_unref to (equivalent) 
2205             Accessibility_Accessible_unref.
2206         * libspi/registry.c:
2207             Changed bonobo_object_release_unref to 
2208             Accessibility_Accessible_unref.
2209         
2210 <2001-09-04  Marc Mulcahy <marc.mulcahy@sun.com>
2211         
2212         * Added files:
2213             spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
2214             spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
2215             spi-util.c spi-util.h
2216             Implementations for C bindings to remaining accessibility 
2217             interfaces.
2218
2219 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2220         
2221         * idl/Action.idl:
2222             changed return value of Action from void to boolean to 
2223             bring in line with ATK.
2224
2225         * idl/Text.idl:
2226             Changed getText funcions to return "out" start and end offsets.
2227             Changed getAttributes to take and offset and return the start 
2228             and end offset of the attribute run.
2229             Changed getOffsetAtPoint and getCharacterExtents to take an 
2230              enum describing whether coordinates are window or screen.
2231
2232         * Added files:
2233             libspi/action.c libspi/action.h libspi/editabletext.c 
2234             libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
2235             libspi/hypertext.c libspi/hypertext.h libspi/image.c 
2236             libspi/image.h libspi/selection.c libspi/selection.h
2237             libspi/table.c libspi/table.h libspi/text.c libspi/text.h 
2238             libspi/value.c libspi/value.h
2239             Added server implementations for outstanding ATK interfaces 
2240             not yet implemented.
2241  
2242 2001-09-04  Bill Haneman <bill.haneman@sun.com>
2243
2244         * idl/Action.idl:
2245                 Added (missing) getName() method. 
2246                 Made nActions an attribute.
2247         * idl/EditableText.idl:
2248                 Changed order of params in setAttributes.
2249         * idl/Hyperlink.idl:
2250                 Removed getAnchor, added getURI.
2251         * idl/Image.idl:
2252                 Changed attributes to methods, for efficiency
2253                 (so that getting extents can be done in one call)
2254         * idl/Selection.idl:
2255                 Changed nSelectedChildren to attribute, and re-indented.
2256         * idl/Table.idl: changed nrows, ncolumns, caption, summary 
2257                 to attributes.
2258         * idl/Text.idl: reformatted to match our coding style.
2259                 (temporarily?) removed getRowColumnAtOffset().
2260                 Changed text selection API to support multi-select and
2261                 non-contiguous selections, as in ATK.
2262         * idl/Value.idl: changed some methods to attributes.
2263
2264 2001-08-24  Mark McLoughlin <mark@skynet.ie>
2265
2266         * libspi/listener.c(impl_notify_event):
2267         BonoboUnkown_unref the source instead
2268         of bonobo_object_release_unref - the ORB
2269         handles the releasing.
2270
2271         * configure.in: require ORBit-2.3.94 for
2272         this behaviour.
2273
2274 2001-08-21  Bill Haneman <bill.haneman@sun.com>
2275
2276         Tagged CVS repository 'EA_1_0'.
2277         * README.EARLY_ACCESS:
2278         Alphabetized acknowledgements list, and
2279         added someone.
2280         Listed some known dependencies of at-spi.
2281
2282 2001-08-20  Bill Haneman <bill.haneman@sun.com>
2283
2284         * docs/at-spi-docs.sgml:
2285         * docs/at-spi-sections.txt:
2286         * docs/at-spi-overrides.txt: (Added zero-length file)
2287         Documentation improvements - gtk-doc should build
2288         docs for all implemented C bindings now.
2289         * cspi/Makefile.am:
2290         * cspi/spi_main.c:
2291         * cspi/spi.c: (New file)
2292         * cspi/spi_event.c: (New file)
2293         * cspi/spi_registry.c: (New file)
2294         * cspi/spi_accessible.c: (New file)
2295         * cspi/spi_application.c: (New file)
2296         * cspi/spi_component.c: (New file)
2297         Split spi_main.c into six parts, and included them from
2298         "spi.c".  This is a bit of a hack, probably temporary,
2299         but required by gtk-doc, apparently.
2300         
2301 2001-08-20  Bill Haneman <bill.haneman@sun.com>
2302
2303         * docs/Makefile.am:
2304         * docs/at-spi-docs.sgml:
2305         * docs/at-spi-sections.txt:
2306         * configure.in:
2307         Initial checkins/modifications for gtk-doc generation.
2308         * cspi/spi.h:
2309         * cspi/spi.c:
2310         Added (missing) interface query methods to Accessible's C binding.
2311         * cspi/spi-impl.h:
2312         Added GenericInterface type definition.
2313         * test/simple-at.c:
2314         Added query for AccessibleComponent interface to focus event handler.
2315         Added printout of bounding box for focussed component.
2316         * libspi/component.c:
2317         Added partial implementation for AccessibleComponent to C binding.
2318         * idl/Application.idl:
2319         * libspi/registry.c:
2320         * libspi/listener.c:
2321         * libspi/application.c:
2322         * libspi/application.h:
2323         Changed "ID" attribute type from string to long.
2324
2325 2001-08-19  Bill Haneman <bill.haneman@sun.com>
2326
2327         * cspi/spi.h:
2328         * cspi/spi.c:
2329         Made method naming consistent: methods taking object args
2330         start with uppercase, other methods (except those using
2331         acronyms) start with lowercase.  Underscores delimit between
2332         object names and method names:
2333         SPI_init() - uppercase since it starts with an acronym.
2334         getDesktopCount () - lowercase start since no object param0.
2335         Accessible_getName() - uppercase object type name, studlyCaps method
2336                                name.
2337
2338         *cspi/spi.h:
2339         Added gtk-doc documentation for all currently implemented
2340         methods in the C bindings API.
2341
2342 2001-08-18  Bill Haneman <bill.haneman@sun.com>
2343
2344         * Makefile.am : changed build order to build test last.
2345         * cspi/spi.h :
2346         * cspi/spi_main.c :
2347         Changed "createEventListener" to "CreateEventListener".
2348         * libspi/accessibleeventlistener.c :
2349         Bugfix for addition of callbacks.
2350         * test/Makefile.am :
2351         * test/simple-at.c :
2352         Added new test that uses the C bindings API.
2353         * idl/Event.idl :
2354         * libspi/listener.c :
2355         * libspi/registry.c :
2356         * libspi/accessibleeventlistener.c :
2357         * at-bridge/bridge.c :
2358         Renamed member "target" of Accessibility_Event to "source",
2359         which is more descriptive.
2360         
2361
2362 2001-08-18  Bill Haneman <bill.haneman@sun.com>
2363
2364         * Makefile.am: 
2365         * configure.in :
2366         * cspi/Makefile.am :
2367         Added makefile support for at-spi/cspi directory.
2368         * cspi/spi.h : 
2369         * cspi/spi-impl.h :
2370         * cspi/spi-listener.h : (NEW FILE)
2371         Added support for/use of spi-listener.h.
2372         * cspi/spi_main.c :
2373         C bindings now build successfully, with no warnings.
2374         * libspi/accessibleeventlistener.h : (NEW FILE)
2375         * libspi/accessibleeventlistener.c : (NEW FILE)
2376         * libspi/Makefile.am :
2377         Added new object type "AccessibleEventListener"
2378         which inherits from Listener, and allows attachment
2379         of in-process callbacks (so that a client with a listening
2380         object instance can add functionality to the local 
2381         implementation, dynamically).
2382
2383 2001-08-18  Bill Haneman <bill.haneman@sun.com>
2384
2385         * libspi/accessible.c: 
2386         Add implementation for get_index_in_parent().
2387         * cspi/spi.h : 
2388         Added #include of "spi-roletypes.h", and
2389         added enumerated type AccessibleCoordType.
2390         Added definition for KeystrokeListener (function type).
2391
2392         ADDED FILES:
2393         * cspi/spi-statetypes.h :
2394         * cspi/spi-roletypes.h :
2395         * cspi/spi-impl.h :
2396         Added these headers, used by spi.h.
2397         * cspi/spi_main.c : 
2398         Added code (NOTE: not yet built by make).
2399
2400 2001-08-18  Mark McLoughlin <mark@skynet.ie>
2401
2402         * libspi/Makefile.am: generate imodule
2403         at the same time as other idl compiler 
2404         generated files. 
2405
2406 2001-08-17  Bill Haneman <bill.haneman@sun.com>
2407         * libspi/registry.c :
2408         * libspi/application.c :
2409         * idl/Application.idl :
2410         Made registration with toolkit an application method,
2411         which is required since each app has its own toolkit static
2412         environment.  Thus the bridge must register for 
2413         notification of toolkit events from each application in turn.
2414         Toolkit notifications are now successfully registered for, and
2415         sent to the listening at client.
2416         * test/at.c :
2417         Changed toolkit event string to use hyphens rather than underscores.
2418         * libspi/listener.c :
2419         listner now gives more info in debug mode - it reports the
2420         name of the event received, as well as the name of the source.
2421         
2422
2423 2001-08-16  Bill Haneman <bill.haneman@sun.com>
2424
2425         * libspi/registry.c :
2426         added more implementation for toolkit events.
2427         Fixed bug such that toolkit event registrations
2428         (via atk) use the whole event name string, not 
2429         just minor+detail.
2430         Removed a useless call to an ORBit_ method.
2431         * at-bridge/bridge.c :
2432         Removed unused local sbuf[] variable.
2433         * test/at.c :
2434         We now register for Gtk:GtkWidget:button_press_event 
2435         events as well as "focus:" events.
2436         * cspi/spi.h :
2437         Add some more API from Registry.idl that was missing,
2438         for keystroke listening, keystroke and mouse event
2439         synthesis, and enumeration of accessible desktops.
2440
2441 2001-08-16  Michael Meeks  <michael@ximian.com>
2442
2443         * configure.in: use AM_GLIB_GNU_GETTEXT.
2444
2445         * Makefile.am (SUBDIRS): kill intl.
2446
2447 2001-08-15  Michael Meeks  <michael@ximian.com>
2448
2449         * registryd/Makefile.am: s/oaf/server/ relocate info file.
2450
2451         * configure.in: upd.
2452
2453         * configure.in: depend on a recent bonobo-activation that
2454         will find our server files ...
2455
2456 2001-08-16  Bill Haneman <bill.haneman@sun.com>
2457
2458         * libspi/accessible.c : accessible_new() :
2459         Now we add the Component interface via bonobo_object_add_interface,
2460         if the contained AtkObject implements AtkComponent.
2461         * libspi/accessible.h : now include "component.h"
2462         * libspi/component.h :
2463         * libspi/component.c : added files - implementation of
2464         bonobo wrapper object for Accessibility/Component
2465         * libspi/listener.c :
2466         Added test code to check for Accessibility/Component:1.0
2467         interface and report whether it is implemented by the
2468         event source.
2469         * libspi/registry.c :
2470         Now we check for not only the hash of the whole event 
2471         string before relaying the event, we also check the
2472         "minor" event string (without the detail string).
2473         This allows event listeners to be registered against
2474         all events of a certain major+minor type, or just
2475         against a specific major+minor+detail type.
2476         * libspi/accessible.c :
2477         Added implementations for Accessible:get_parent(),
2478         Accessible:getChildCount(), and Accessible:getChildAtIndex().
2479         * libspi/registry.c :
2480         * libspi/listener.c :
2481         Replaced calls to Accessibility_Accessible_ref() and
2482         Accessibility_Accessible_unref() with 
2483         calls to bonobo_object_dup_ref() and 
2484         bonobo_object_release_unref(), so that the CORBA object
2485         is dup-ed and released when relayed, as well as the bonobo object.
2486
2487 2001-08-15  Mark McLoughlin <mark@skynet.ie>
2488
2489         * libspi/Makefile.am,
2490           registryd/Makefile.am,
2491           at-bridge/Makefile.am.
2492           test/Makefile.am, configure.in:
2493         reverse previous changes.
2494
2495         * /idl/Image.idl: fix typo.
2496
2497         * test/Makefile.am: put DEBUG_FLAGS
2498         in CFLAGS.
2499
2500 2001-08-15  Mark McLoughlin <mark@skynet.ie>
2501
2502         * test/app.c: use argv[0] instead of
2503         g_type_prgname.
2504
2505 2001-08-15  Mark McLoughlin <mark@skynet.ie>
2506
2507         * libspi/Makefile.am,
2508           registryd/Makefile.am,
2509           at-bridge/Makefile.am.
2510           test/Makefile.am, configure.in:
2511         cleanup, replace individual LIBS/CFLAGS with
2512         AT_COMMON_{LIBS|CFLAGS}.
2513
2514         * README: format.
2515
2516 2001-08-15  Mark McLoughlin <mark@skynet.ie>
2517         
2518         * configure.in, libspi/Makefile.am:
2519         Change IDL path checking for bonobo-activation
2520         as opposed to oaf.
2521
2522 2001-08-15  Bill Haneman <bill.haneman@sun.com>
2523
2524         * registryd/registry.c : separated event listeners to use
2525         3 separate lists (focus, window, toolkit).  Began testing
2526         event names against hashes before relaying events.
2527         * test/at.c : now register for events of type "focus:"
2528         * test/app.c : now generate events of type "focus:"
2529         * at-bridge/bridge.c : register with ATK for focus events,
2530         and we now relay those focus events to any "focus:" listeners.
2531         This now works with the bridge as a GTK_MODULE when running test/at.
2532         * libspi/registry.c :
2533         * libspi/listener.c : 
2534         now we ref event sources before propagating, and unref on receipt.
2535         * libspi/registry.c : 
2536         some changes to internal structs, to support event typestring hashes.
2537         * text/app.c : changed the way the appname is generated.
2538         * cspi : added directory that will hold the C bindings library for 
2539                 non-CORBA/bonobo-savvy clients.
2540         * cspi/spi.h : header file that contains the function prototypes for the C binding.
2541         * idl/Component.idl : added in parameter to indicate coord system for
2542                 geometry-related calls.
2543         * idl/Hyperlink.idl : added readonly n_links attribute
2544         * idl/Image.idl : changed methods to attributes.
2545         
2546 2001-08-15  Mark McLoughlin <mark@skynet.ie>
2547
2548         * at-bridge/Makefile.am: link against
2549         ../libspi/libspi.la instead of -lspi.
2550
2551         * at-spi/test/app.c: include 
2552         bonobo-activation.h. Use a default appname
2553         if one is not provided.
2554
2555 2001-08-14  Bill Haneman <bill.haneman@sun.com>
2556
2557         * idl/Registry.idl : temporarily changed register_Application
2558         to oneway, to work around issue with initial registration 
2559         re-entrancy.
2560         * idl/Application.idl : changed attribute "id" from readonly 
2561         to read-write, since it needs to be assigned by Registry.
2562         * registryd/registryd.c : added call to set application id 
2563         on registration.
2564         * registryd/registry.c : changed de-registration procedure to
2565         use CORBA_Object_hash() to find matching object ref in application
2566         lists and listener lists.
2567         * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
2568         began distinguishing between event types (work in progress).
2569
2570 2001-08-13  Bill Haneman <bill.haneman@sun.com>
2571
2572         CHANGES:
2573         * libspi/application.c:
2574         Added implementations for get/set id, get_toolkitName,
2575         get_version.
2576         * registryd/registryd.c :
2577         * test/at.c :
2578         * test/app.c :
2579         * Makefile.am :
2580         Converted from use of OAF to bonobo-activation.
2581         * libspi/desktop.h :
2582         * libspi/desktop.c :
2583         * test/app.c :
2584         Removed references to atksimpleobject, since base atkobject
2585         implementation now provides functionality we need.
2586         * libspi/atksimpleobject.c :
2587         * libspi/atksimpleobject.h :
2588         Removed.
2589         
2590         ADDITIONS:
2591         * at-bridge
2592         * at-bridge/Makefile.am
2593         * at-bridge/bridge.c
2594         * configure.in
2595         * Makefile.am
2596         Added directory "bridge" and contents, and added dependencies
2597         in Makefile.am/configure.in.  
2598         Initial checkin of "at-bridge".
2599         This code is a GTK_MODULE which automatically registers
2600         GTK+ apps with the accessibility registry, using an object
2601         reference to the root ATK object.
2602         
2603 2001-08-10  Mark McLoughlin <mark@skynet.ie>
2604
2605         * po/Makefile.in.in: Remove. Again. If this
2606         doesn't get autogenerated - you need to update
2607         gnome-common.
2608
2609 2001-08-07  Mark McLoughlin <mark@skynet.ie>
2610
2611         * po/Makefile.in.in: Add. Again.
2612
2613 2001-07-31  Bill Haneman <bill.haneman@sun.com>
2614
2615         * libspi/accessible.c : added support for 'description' property.
2616         * libspi/accessible.c
2617         * libspi/desktop.c
2618         * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
2619             (since the two are now equivalent in libbonobo)
2620         * idl/Action.idl
2621         * idl/Component.idl
2622         * idl/Hyperlink.idl
2623         * idl/Image.idl
2624         * idl/Selection.idl
2625         * idl/Table.idl
2626         * idl/Text.idl
2627         * idl/Value.idl : changed these 'secondary' interfaces to inherit from
2628              Bonobo::Unknown as does Accessibility::Accessible.
2629         * idl/StreamableContent.idl : as above, and replaced internal InputStream
2630              interface with Bonobo::Stream, since it was redundant with it.
2631              (The Stream returned by a StreamableContext object is expected to
2632              implement only a subset of Bonobo::Stream)
2633
2634 2001-07-28  Anders Carlsson  <andersca@gnome.org>
2635
2636         * libspi/accessible.c (accessible_object_finalize): Change
2637           g_free to g_object_unref since the AtkObject is a GObject.
2638
2639 2001-07-30  Bill Haneman <bill.haneman@sun.com>
2640
2641         * idl/Accessibility.idl: add new IDL files
2642         
2643         Added:
2644         * idl/Action.idl: Definitions of actionable UI object
2645         * idl/Component.idl: Definitions of UI component geometry, etc.
2646         * idl/Hyperlink.idl: Defs of hyperlink behavior
2647         * idl/Image.idl: Def of accessible image
2648         * idl/Selection.idl: Definition of UI object with selectable children
2649         * idl/StreamableContent.idl: Definition of UI object with streamable backing data
2650         * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
2651         * idl/Text.idl: Interface defs for UI elements with complex textual content
2652         * idl/Value.idl: Definition of UI element that is a value controller or display
2653         
2654 2001-07-27  Michael Meeks  <michael@ximian.com>
2655
2656         * po/Makefile.in.in: remove autogenerated file from CVS.
2657
2658         * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
2659         type library.
2660
2661         * idl/Registry.idl: include guard.
2662
2663         * idl/Accessibility.idl: Add, and include all the other IDL
2664         files.
2665
2666         * idl/*.idl: remove mass of pragmas etc.
2667
2668 2001-07-26  Michael Meeks  <michael@ximian.com>
2669
2670         * registryd/Makefile.am (registryd_SOURCES): remove
2671         redundant at_.
2672
2673 2001-07-27  Mark McLoughlin <mark@skynet.ie>
2674
2675         * libspi/.cvsignore, registryd/.cvsignore,
2676           test/.cvsignore: updated.
2677
2678         * po/Makefile.in.in: gettext update.
2679
2680 2001-07-25  Bill Haneman <bill.haneman@sun.com>
2681
2682         * initial CVS checkin
2683
2684 2001-06-29  Michael Meeks  <michael@ximian.com>
2685
2686         * configure.in: add AM_CONFIG_HEADER to gen config.h
2687
2688         * acconfig.h: add.
2689