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