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