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