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