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