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