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