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