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