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