ae54f51dac5f1a7ae339d92562dcd44d5bb0feb2
[platform/core/uifw/at-spi2-atk.git] / ChangeLog
1 2003-01-10  Padraig O'Briain <padraig.obriain@sun.com
2
3         * libspi/text.c:
4         Add includes to avoid compiler warnings on Solaris.
5         (impl_getRangeExtents): Bug fix.
6
7 2002-12-17  Bill Haneman <bill.haneman@sun.com
8
9         Fix for 100944, [API addition approved by Gman and murrayc].
10         
11         * NEWS: updated.
12         
13         * configure.in:
14         Revved to 1.1.8.
15
16         * idl/Accessibility_Text.idl:
17         (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
18         (Text::getRangeExtents): New method for efficient 
19         bounds query of a text range.
20         (Text::getBoundedRanges): New method for efficient
21         clipping of text to bounding boxes.
22         (unImplemented7, unImplemented8): 
23         Removed these padding methods to preserve bincompat.
24
25         * libspi/text.c:
26         (impl_getRangeExtents): implementation of new IDL.
27         (impl_getBoundedRanges): implementation of new IDL.
28         (SpiTextRect): Internal use struct.
29         (_spi_text_rect_union): internal method, calculates union of two
30         SpiTextRect bounding rects.
31         (_spi_text_range_seq_from_gslist): internal method, allows us
32         to build our sequence efficiently as a gslist then convert it
33         to a CORBA seq.
34         (_spi_bounds_contain): internal method, determines whether
35         a text character is "in" or "out" of a clip rect according to
36         values of TEXT_CLIP_TYPE.
37         (spi_text_class_init): Initialize the new methods in the epv.
38         
39         * cspi/spi.h:
40         (AccessibleTextClipType): New enum used by screen review api.
41         (AccessibleTextRange): New struct used by screen review api.
42         (AccessibleText_getRangeExtents): 
43         cspi binding for Accessibility_Text_getRangeExtents.
44         (AccessibleText_getBoundedRanges):
45         cspi binding for Accessibility_Text_getBoundedRanges.
46         (AccessibleTextRange_freeRanges): convenience method.
47         
48         * cspi/spi_text.c:
49         (AccessibleText_getRangeExtents): 
50         cspi binding for Accessibility_Text_getRangeExtents.
51         (AccessibleText_getBoundedRanges):
52         cspi binding for Accessibility_Text_getBoundedRanges.
53         (AccessibleTextRange_freeRanges): convenience method.
54         (get_accessible_text_clip_type): internal conversion method.
55         (get_accessible_text_ranges_from_range_seq): internal conversion method.
56
57         * registryd/deviceeventcontroller.c:
58         (spi_dec_mouse_check):
59         Improved behavior for mouse:abs events 
60         [same granularity as mouse:rel events, and no
61         events when mouse is idle].     
62         
63 2002-12-16  Michael Meeks  <michael@ximian.com>
64
65         * cspi/spi_accessible.c (spi_state_to_corba): rename.
66
67         * libspi/stateset.c (state_spi_to_atk): split out
68         ( fix several remote array bounds nasties )
69         (spi_atk_state_set_from_sequence, impl_contains, impl_add),
70         (impl_remove): make safe from array bounds issues.
71         (spi_atk_state_from_spi_state): impl.
72
73         * libspi/stateset.h (spi_state_set_cache_is_empty): 
74         add a set of wrapper defines to get layering right.
75
76         * cspi/spi_accessible.c: update state set stuff to
77         use it.
78
79 2002-12-14  Michael Meeks  <michael@ximian.com>
80
81         * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
82         to avoid 2 roundtrips to the registry per key event
83         (spi_atk_bridge_key_listener): upd.
84         (deregister_application): release the dec.
85
86         * registryd/registry.c (notify_listeners_cb):
87         bin lots of re-enterant complexity - we no longer
88         do a round-trip bonobo ref here, ensure that a single
89         listener's exception failure won't poison all other
90         notifications.
91         (impl_registry_notify_event): bin obvious memory leak.
92
93 2002-12-13  Michael Meeks  <michael@ximian.com>
94
95         * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
96         init the ev so the error is meaningful.
97         (spi_atk_bridge_key_listener): ditto.
98
99         * cspi/spi_main.c (cspi_ev): init the ev so we start
100         with a clean slate, otherwise the first exception
101         kills us completely.
102
103         * cspi/spi_text.c (get_accessible_text_boundary_type): 
104         add a fallthrough for no warnings.
105
106         * cspi/spi_registry.c: prune unused warnings.
107
108         * cspi/spi_main.c (cspi_object_take): fix
109         mind-blowing brokenness ( by watching the compile
110         warnings )
111
112         * cspi/spi_accessible.c (Accessible_getStateSet):
113         re-impl. to use an AtkStateSet.
114         (spi_state_type_from_accessible_state),
115         (init_state_table): bin these.
116
117         * libspi/stateset.c (spi_atk_state_set_from_sequence):
118         split out from
119         (atk_state_set_from_accessibility_state_set): here.
120
121         * cspi/spi_accessible.c (spi_state_to_atk): impl.
122         (AccessibleStateSet_contains, AccessibleStateSet_ref),
123         (AccessibleStateSet_unref, AccessibleStateSet_contains),
124         (AccessibleStateSet_add, AccessibleStateSet_remove),
125         (AccessibleStateSet_equals, AccessibleStateSet_compare),
126         (AccessibleStateSet_isEmpty): re-write to use a local
127         AtkStateSet object.
128
129 2002-12-13  Bill Haneman <bill.haneman@sun.com>
130
131         * configure.in: Revved to 1.1.7 (new keymask vals).
132
133 2002-12-10  Bill Haneman <bill.haneman@sun.com>
134
135         * libspi/keymasks.h:
136         Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
137
138 2002-12-10  Padraig O'Briain  <padraig.obriain@sun.com>
139
140         * cspi/spi_event.c 
141         (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent() 
142         to compare two CORBA_TypeCodes.
143         (cspi_internal_event_add): Silence warning from FORTE compiler.
144
145         * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to 
146         avoid implicit declaration of functions.
147         
148 2002-12-09  Padraig O'Briain  <padraig.obriain@sun.com>
149
150         * atk-bridge/bridge.c:
151         (spi_atk_bridge_init_event_type_consts): Store signal id for
152         active-descendant-changed signal.
153         (spi_atk_register_event_listeners): Add signal listener for
154         active-descendant-changed signal,
155         (spi_atk_bridge_signal_listener): Move code in function 
156         spi_atk-signal_emit_event() into this function.
157         Add support for active-descendant-changed
158         Update support for child-changed signal.
159         (spi_bridge_window_event_listener): Silence warning.
160
161         * libspi/spi_private.[ch]:
162         (spi_init_any_object): Change second parameter from CORBA_Object to
163         CORBA_Object*.
164         Omit call to CORBA_Object_duplicate(). 
165         Set CORBA_any's _value to CORBA_Object*.        
166
167 2002-12-06  Bill Haneman  <bill.haneman@sun.com>
168
169         * configure.in:
170         Revved to 1.1.6.
171         
172         * cspi/spi.h: 
173         (AccessibleEvent_ref, AccessibleEvent_unref):
174         New methods, for persisting an event outside the emission context.
175         Must be used if the new accessor methods are to be called
176         outside of the event listener's callback.
177
178         * cspi/bonobo/cspi-bonobo.c:
179         (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
180         as second parameter instead of NULL, so we can call
181         cspi_check_ev afterwards.
182         
183         * cspi/spi_main.c:
184         (cspi_object_take): New internal method, 
185         converts a CORBA_Object reference to a hard ref on
186         an Accessible if possible, returning NULL if the object
187         reference is invalid or an Accessible * otherwise.
188
189         * cspi/spi_event.c:
190         (AccessibleEvent_ref): 
191         Increment the event's internal private refcount, and 
192         add the event's internal struct to an internal cache 
193         if it's not already there.
194         (AccessibleEvent_unref): 
195         Decrement the event's refcount and remove it from
196         the cspi event cache if refcount==0.
197         (cspi_event_compare): New private method.
198         Compares two event structs via their ids. Used 
199         for queue lookup.
200         (cspi_internal_event_lookup): New private method.
201         (cspi_internal_event_check): New private method,
202         a 0-order sanity check for events to make sure their
203         private data is intact.
204         (cspi_internal_event_add, cspi_internal_event_remove):
205         New private methods for managiing the event cache.
206
207         * cspi/bonobo/cspi-bonobo-listener.c:
208         (cspi_event):
209         Initialize the new private data elements (id, magic, ref_count).
210         
211         * atk-bridge/bridge.c:
212         (spi_atk_bridge_signal_listener):
213         Fixed bug #100530, passing wrong params to emission func.
214
215         * registryd/deviceeventcontroller.c:
216         (spi_dec_button_update_and_emit): 
217         Fixed type in mask bit operations; fix for #99799.
218         
219 2002-12-02  Bill Haneman  <bill.haneman@sun.com>
220
221         Removed some of the more dangerous workarounds from
222         previous commit; they are only needed by GOK, which
223         in reality should be using another method to accomplish
224         the goals.  So on reconsideration some of the workarounds
225         need to be reverted:
226         
227         * registryd/deviceeventcontroller.c:
228         (spi_keycodes_contain, spi_dec_init_keycode_list): 
229         Removed these methods, used only by a nasty hack to try
230         and detect whether a key synthesis should be allowed
231         to reset the XKB latch state or not. This code was only
232         required to work around an interaction between GOK,
233         button events, and XKB.
234         (impl_generate_key_event):
235         Removed hack at end of key generation that tried to
236         "do the right thing" if XKB latch keys were generated
237         in the midst of button press/release pairs.  
238
239         * configure.in:
240         Added a check for HAVE_XINPUT.  Not normally used yet.
241
242 2002-11-25  Bill Haneman  <bill.haneman@sun.com>
243
244         Workarounds and fixes for mouse event/XKB interaction.
245         
246         * registryd/deviceeventcontroller.c:
247         (spi_keycodes_contain, spi_dec_init_keycode_list): 
248         New internal methods.
249         (spi_dec_set_unlatch_pending):
250         Split the method that tells XKB to expect an
251         unlatch (and revert it) out of the rest of the
252         event handling code.  This method is called by the
253         two mouse event handlers (the poll and the filter).
254         (spi_dec_update_and_emit, spi_dec_mouse_check): 
255         New methods split from spi_dec_poll_mouse_moved.
256         The second one is now called from inside the filterFn
257         when an XKB delatch event is received, to determine 
258         whether to revert the delatch or not.
259         (spi_poll_mouse_moved): Refactor; also we can now
260         properly handle the case where multiple button states
261         have changed between polling cycles and we didn't get
262         notified due to another client's grab.
263         (global_filter_fn): 
264         Synchronize the server while handling an XKB notification.
265         Ugly, but apparently necessary to avoid nasty races.
266         Check the mouse state on receipt of an XKB latch change,
267         to decide whether to revert the latch or not. (Latches are
268         reverted if there is an immediately preceding mouse button
269         event that a client has consumed, in which case we don't want
270         the user to see the side-effect of the event).
271         (spi_device_event_controller_forward_mouse_event):
272         Check for modifier events and fire before resetting mouse_mask_state,
273         prevents losing modifier events.
274
275         (impl_generate_keyboard_event):
276         If we've just generated a keyboard event for a non-shift key,
277         we don't want to revert the pending XKB latch. 
278         Otherwise, check the modifier state (via a call to 
279         spi_dev_mouse_check) and set the relatch mask to 
280         that state before returning.
281         
282 2002-11-24  Bill Haneman  <bill.haneman@sun.com>
283
284         * NEWS: 
285         Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
286         retagged).
287         
288         * atk-bridge/bridge.c:
289         (spi_atk_register_event_listeners):
290         Don't re-register for ATK events if the registry has died
291         and the app needs to re-register; the ATK listeners are in
292         process and doing so will cause duplicate emission.
293
294         * registryd/deviceeventcontroller.c:
295         (spi_poll_mouse_moved):
296         Reformat the source, detect and emit multiple button-change
297         events (i.e. if multiple buttons have changed between poll
298         intervals).
299         Add code to detect mouse-down events even when the pointer
300         is grabbed; workaround for GOK bug 98420.
301         (spi_controller_register_with_devices):
302         Call XTestGrabControl with 'impervious' flag set to True,
303         allows us to synthesize events and query the pointer even during
304         an active grab by another client.
305         (spi_device_event_controller_forward_mouse_event):
306         Set the mouse_mask_state to the mouse_button_state from
307         the intercepted event, to synchronize the grab listener with
308         the poll state.
309         
310 2002-11-20  Bill Haneman  <bill.haneman@sun.com>
311
312         * cspi/spi_accessible.c:
313         (AccessibleRole_getName):
314         Added necessary strings for making this (deprecated) 
315         method work with the new role types. 
316         (init_role_table, role_table):
317         Added definition of SPI_ROLE_APPLICATION.
318
319         * libspi/spi-roletypes.h:
320         Added SPI_ROLE_APPLICATION.
321
322         * idl/Accessibility_Role.idl:
323         Added ROLE_APPLICATION. 
324
325         * docs/reference/cspi/at-spi-cspi-decl.txt:
326         Added SPI_ROLE_APPLICATION to docs.
327
328 2002-11-20  Padraig O'Briain  <padraig.obriain@sun.com>
329
330         * cspi/spi_accessible.c
331         (cspi_init_role_table): Do not write beyond end of role_table.
332         (Accessible_getRole): Use correct type for value returned by
333         Accessibility_Accessible_getRole().
334
335         * libspi/accessible.c (spi_init_role_lookup_table): Do not write
336         beyond end of role_table. (This fixes bug #98269)
337
338         * libspi/application.c: Add include file spi-private.h for 
339         definition of spi_init_any_nil.
340
341 2002-11-19 Bill Haneman <bill.haneman@sun.com>
342
343         FIX for bug 99024.
344         
345         * libspi/spi-private.h:
346         Added DGB() macro, and extern int _dbg declaration.
347         
348         * registryd/registry.c:
349         (definitions) storage for _dbg.
350         (spi_registry_init):
351         Get environment variable "AT_SPI_DEBUG".
352         (spi_registry_set_debug):
353         New method, to initialize _dbg value.
354         (spi_listener_struct_new, spi_registry_object_finalize):
355         (notify_listeners_cb):
356         Changed fprintfs to use DBG and g_warning().
357
358         * registryd/deviceeventcontroller.c:
359         (_deregister_keygrab, spi_controller_register_device_listener):
360         Changed debug/warning messages to use DBG macro.
361
362         * libspi/listener.c:
363         (impl_notify_event):
364         Changed warning messages to use DBG macro and g_warning().
365
366         * atk-bridge/bridge.c:
367         (atk_bridge_init, spi_atk_bridge_get_registry):
368         (spi_atk_bridge_exit_func):
369         (spi_atk_bridge_property_event_listener):
370         Changed status, warning, and error messages to use
371         g_warning, g_message, and DBG macros.
372
373         (atk_bridge_init):
374         Read the state of the AT_SPI_DEBUG environment variable
375         and set a local '_dbg' accordingly.
376         
377 2002-11-19 Bill Haneman <bill.haneman@sun.com>
378
379         FIXES for 98836, 98842, other bugs.
380         
381         * configure.in:
382         Revved to 1.1.4, interface-age=4, binary-age=4.
383
384         * registryd/deviceeventcontroller.c:
385         (statics):
386         Fixed crasher bug in last_mouse_pos initialization.
387
388         * registryd/registry.c:
389         (desktop_add_application, desktop_remove_application):
390         Added (and then commented out) some support for
391         object context marshalling. [TODO]
392
393         * atk-bridge/bridge.c:
394         (spi_atk_bridge_event_context_create):
395         Commented out object context creation until it can
396         be properly tested and debugged.
397
398         * registryd/registry.c:
399         (impl_registry_notify_event):
400         Fixed crasher bug, we were calling 
401         spi_re_entrant_list_foreach () with an empty list.
402
403 2002-11-18  Bill Haneman <bill.haneman@sun.com>
404         
405         * idl/Accessibility_Action.idl:
406         * idl/Accessibility_Component.idl:
407         * idl/Accessibility_Desktop.idl:
408         * idl/Accessibility_Event.idl:
409         * idl/Accessibility_Hyperlink.idl:
410         * idl/Accessibility_Image.idl:
411         * idl/Accessibility_Relation.idl:
412         * idl/Accessibility_Selection.idl:
413         * idl/Accessibility_State.idl:
414         * idl/Accessibility_Value.idl:
415         Updated unimplemented slot count to minimum of
416         four for all interfaces, for ABI freeze. 
417
418         * idl/Accessibility_EditableText.idl:
419         * idl/Accessibility_Text.idl:
420         Updated unimplemented slot count to six
421         for ABI freeze. 
422         
423         * idl/Accessibility_Registry.idl:
424         Updated unimplemented slot count to six
425         (also for DeviceEventController), 
426         for ABI freeze. 
427
428         * idl/Accessibility_Table.idl:
429         Updated unimplemented slot count to eight,
430         for ABI freeze. 
431
432         * idl/Accessibility_Event.idl:
433         Added CORBA_any "any_data" member to Event struct.
434
435         * idl/Accessibility_Event.idl:
436         Added CORBA_any "any_data" member to Event struct.
437
438         * atk-bridge/bridge.c:
439         (statics):
440         atk_signal_text_changed, atk_signal_child_changed,
441         signal ids queried from gtype system.
442         (AtkBridgeEventContextType): New enum.
443         (AtkBridgeEventContextData): New struct.
444         (AtkBridgeEventContext): New struct.
445         (atk_bridge_init_event_type_consts):
446         New method, initializes type contants for comparison 
447         prior to emit_eventv.
448         (atk_bridge_event_context_init): New method,
449         initializes a CORBA_any from an AtkBridgeEventContext.
450         (atk_bridge_focus_tracker): Call spi_init_any_nil to
451         initialize the event.any_data struct.
452         (spi_atk_bridge_event_context_create): New method,
453         creates an AtkBridgeEventContext from signal/event info.
454         (spi_atk_bridge_event_context_free): New method.
455         (spi_atk_emit_eventv): Changed to take an 
456         AtkBridgeEventContext parameter. We now initialize
457         the event.any_data member prior to notifying the 
458         Registry, via the AtkBridgeEventContext.
459         (spi_atk_bridge_property_event_listener):
460         (spi_atk_bridge_state_event_listener):
461         Match emit_eventv signature.
462         (spi_atk_bridge_object_event_listener):
463         Match emit_eventv signature, and create an
464         event context from the event details.
465         Free the event context afterwards.
466         (spi_atk_bridge_window_event_listener):
467         Create an event context, pass it to the
468         emit_eventv call.
469         
470         * cspi/spi_event.c:
471         (AccessibleEvent_getContextString):
472         (AccessibleEvent_getContextObject):
473         New methods, allow query of AccessibleEvent objects
474         for more context details (via the "any_data" member 
475         of the Event struct, above).
476         
477         * cspi/spi.h:
478         Definitions for AccessibleEvent_getContextString
479         and AccessibleEvent_getContextObject.
480
481         * cspi/spi_listener.h:
482         (InternalEvent): New struct.
483
484         * cspi/spi_event.c:
485         (AccessibleEvent_getContextString):
486         (AccessibleEvent_getContextObject):
487         Implementations of new methods, for obtaining
488         additional context information from some event types.
489
490         * cspi/spi_registry.c:
491         (SPI_registerGlobalEventListener):
492         Added mention of active-descendant-changed event in docs.
493
494         * cspi/cspi-bonobo-listener.c:
495         (cspi_event):
496         Marshal the any into the AccessibleEvent via
497         InternalEvent.
498         
499         * libspi/spi-private.h:
500         #include <orbit/orbit.h>
501         (spi_init_any_nil):
502         (spi_init_any_string):
503         (spi_init_any_object):
504         New convenience function declarations.
505
506         * libspi/util.c:
507         (spi_init_any_nil):
508         (spi_init_any_string):
509         (spi_init_any_object):
510         New convenience function implementations.
511
512         * registryd/deviceeventcontroller.c:
513         (spi_poll_dec_mouse_moved):
514         (spi_device_event_controller_forward_mous_event):
515         Initialize any_data member of event.
516         (spi_deregister_controller_device_listener):
517         Fix incorrect param pass which was preventing deregistration.
518
519         * registryd/registry.c:
520         (desktop_add_application):
521         (desktop_remove_application):
522         Add object data to event's any_data before dispatch.
523         (parse_event_type):
524         Fix for error messages from GAIL.
525         
526         * test/event-listener-test.c:
527         Test new ContextString and "any_data" API:
528         (report_text_event): New method query and output context string.
529         (main): register a new text listener with report_text_event
530         callback.
531
532 2002-11-19  Darren Kenny  <darren.kenny@sun.com>
533
534         Fixes for bugs 98127 and 97914.
535         * cspi/spi-roletypes.h:
536         Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
537         SPI_ROLE_RULER
538         * cspi/spi-statetypes.h:
539         Added SPI_STATE_MANAGES_DESCENDANTS
540         * cspi/spi.h:
541         Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
542         SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
543         * cspi/spi_accessible.c:
544         Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
545         Added mapping from SPI_STATE_MANAGES_DESCENDANTS to 
546         Accessibility_STATE_MANAGES_DESCENDANTS
547         * libspi/accessible.c:
548         Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
549         Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} 
550         As requested by Bill, I also cleaned up the alignment.
551         * libspi/relation.c:
552         Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
553         EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
554         * libspi/stateset.c:
555         Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
556         Accessibility_STATE_MANAGES_DESCENDANTS
557         * docs/reference/cspi/tmpl/spi_accessible.sgml:
558         Document changes reflecting modifications to roles.
559         * docs/reference/cspi/tmpl/spi_relation.sgml:
560         Document changes reflecting modifications to relations.
561         * docs/reference/cspi/tmpl/spi_stateset.sgml:
562         Document changes reflecting modifications to states.
563
564 2002-11-17  Bill Haneman <bill.haneman@sun.com>
565
566         * configure.in:
567         Revved to 1.1.3, interface-age=3, binary-age=3.
568         Added REBUILD macro.
569
570         * test/Makefile.am:
571         Removed accessx-gui from the tests, since we have a nice
572         keyboard accessibility capplet now :-)
573
574         * test/keysynth-demo.c:
575         (increment_scan): removed do-nothing default: case,
576         silences warning.
577
578         * test/visual-bell.c:
579         (main) : removed do-nothing default: case, 
580         silences warning.
581
582         * cspi/spi_action.c:
583         (AccessibleAction_getKeyBinding_): 
584         Documented keybinding string format.
585         FIX for bug 97916.
586
587         * cspi/spi_text.c:
588         (AccessibleText_getAttributes):
589         Documented the text attribute string format.
590         It's changed to use semicolon delimiters also,
591         to prevent clashes with CSS attributes, but the old
592         trick of looking for ", " strings will still work
593         (as unreliably as ever).  Fix for bug related to 97916.
594
595         * cspi/spi_event.c:
596         Include <cspi/bonobo/cspi-bonobo-listener.h>
597         Fixes build warning.
598         (SPI_freeAccessibleKeySet):
599         (AccessibleKeystrokeListener_addCallback):
600         (AccessibleKeystrokeListener_removeCallback):
601         Modify to use AccessibleDeviceListener API internally,
602         instead of AccessibleKeystrokeListener.
603         
604         * idl/Accessibility_Event.idl:
605         Added two more empty slots to EventListener (for a total of four).
606
607         * idl/Accessibility_Accessible.idl:
608         Added four empty slots to Accessible interface.
609
610 2002-11-15  Bill Haneman <bill.haneman@sun.com>
611
612         * idl/Accessibility_Registry.idl:
613         (KeyEventType, EventType):
614         Marked KeyEventType as deprecated; it duplicates
615         functionality of EventType, which has been extended to
616         include Mouse-button events.
617         (KeyEventTypeSeq): defined in terms of EventType.
618         (registerDeviceEventListener, deregisterDeviceEventListener):
619         New methods, for managing listeners to device events,
620         which potentially may consume them.     
621         
622         * cspi/spi-impl.h:
623         Added definition for AccessibleDeviceListener.
624
625         * cspi/spi-listener.h:
626         (enum AccessibleDeviceEventType):
627         Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
628         Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
629         for backwards compat.
630         (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
631         and typedef'd AccessibleKeystroke to it for back-compat.
632         (AccessibleDeviceListenerCB):
633         New function prototype typedef.
634
635         * cspi/spi.h:
636         (AccessibleDeviceEventMask): New typedef.
637         (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
638         (AccessibleKeyMaskType): 
639         Set equivalent to AccessibleModifierMaskType for back-compat.   
640         (SPI_createAccessibleKeystrokeListener):
641         (AccessibleKeystrokeListener_unref):
642         Deprecated in favor of equivalent (better-named) new API below..
643         keystroke listeners are like all device listeners.
644         (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
645         New API names for old features :-).
646         (AccessibleDeviceListener_addCallback):
647         (AccessibleDeviceListener_removeCallback): 
648         (SPI_registerDeviceEventListener): 
649         (SPI_deregisterDeviceEventListener): 
650         New methods.
651         
652         * cspi/spi_event.c:
653         (SPI_createAccessibleKeystrokeListener):
654         Use new preferred API, cspi_device_listener_new() and
655         cspi_device_listener_add_cb().
656         (AccessibleKeystrokeListener_removeCallback):
657         Use new preferred API, cspi_device_listener_remove_cb().
658         (AccessibleKeystrokeListener_unref):
659         Use new preferred API, cspi_device_listener_unref().
660         (SPI_createAccessibleDeviceListener):
661         (AccessibleDeviceListener_addCallback):
662         (AccessibleDeviceListener_removeCallback):
663         Implementation of new API.
664
665         * cspi/spi_registry.c:
666         (SPI_registerDeviceEventListener):
667         (SPI_deregisterDeviceEventListener):
668         Implementation of new API.  Fixed memory leak and removed need to
669         allocate EventTypeSeq (thanks Michael for catching this).
670         Squashed a wayward CORBA_exception_free that shouldn't get called.
671
672         * cspi/bonobo/cspi-bonobo-listener.c:
673         (EventHandler):
674         Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
675         (cspi_key_event): renamed to cspi_device_event().
676         Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
677         Extended to handle mouse button events as well as key events.
678         (CSpiKeystrokeListener):
679         Class superceded by CSpiDeviceListener.
680         (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
681         These internal APIs changed to "*device_listener" from "*keystroke_listener".
682
683         * cspi/bonobo/cspi-bonobo-listener.h:
684         (CSpiKeystrokeListener):
685         Class superceded by CSpiDeviceListener.
686         (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
687         These internal APIs changed to "*device_listener" from "*keystroke_listener".
688
689         * libspi/Makefile.am:
690         Replaced keystrokelistener.h and keystrokelistener.c
691         with devicelistener.h and devicelistener.c; keystrokelisener.h
692         stub retained for back-compat.
693
694         * libspi/keystrokelistener.c:
695         Removed file.
696
697         * libspi/libspi.h:
698         Replaced inclusion of keystrokelistener.h with devicelistener.h.        
699
700         * registryd/deviceeventcontroller.c:
701         (DEControllerListener): Added Accessibility_EventTypeSeq member.
702         (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
703         (DEControllerPrivateData): Added xkb settings data.
704         (spi_dec_poll_mouse_moved): Changed to dispatch device events for
705         button release events (which can't be captured via XGrabButton).
706         Don't dispatch via the 'normal' event mechanism if the device event was
707         consumed.
708         (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
709         Handle the typeseq data in its new location (see above).
710         (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
711         New methods, for "generic" device listeners.
712         (spi_controller_register_device_listener):
713         Now handle mouse event listeners as well as key listeners.
714         (spi_controller_notify_mouselisteners):
715         New internal method.
716         (spi_device_event_controller_forward_mouse_event):
717         Now we notify mouse device listeners as well as generating the
718         non-consumable "mouse:" events.  
719         (global_filter_fn):
720         We must check and restore the XKB
721         modifier map if we consume the event, since the act of triggering
722         a mouse event will normally reset the XKB latch.  This is required for 
723         instance by GOK.
724         (spi_controller_register_with_devices):
725         Load the XKB settings when registering, and register for XKB 
726         state notify events. 
727         (spi_key_eventtype_seq_contains_event):
728         Renamed spi_eventtype_seq_contains_event, since it's used
729         internally for all device event types now.
730         (spi_key_event_matches_listener):
731         Uses spi_eventtype_seq_contains_event now.
732         (spi_device_event_controller_object_finalize):
733         Free the private data and the XkbKeyboard struct.
734         (impl_register_device_listener, impl_deregister_device_listener):
735         Implementation of new IDL.
736         (spi_deregister_controller_device_listener):
737         New internal method.
738         (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
739         More efficient implementation, we don't have to create a new
740         XkbControls structure every time we query.
741         (spi_device_event_controller_class_init):
742         Initialize the epv entries for the new IDL.  Assign the 
743         "spi-dec-private" quark.
744         (spi_device_event_controller_init):
745         Initialize the private data.
746         (spi_device_event_controller_forward_key_event):
747         Removed a bogus CORBA_exception_free() call.
748         
749         * registryd/deviceeventcontroller.h:
750         Replaced inclusion of keystrokelistener.h with
751         devicelistener.h.
752
753         * test/event-listener-test.c:
754         (report_mouse_event):
755         New method.
756         (main):
757         Added mouse-event device listener.
758
759         * test/test-simple.c:
760         (create_test_window):
761         Fixed regression (we were instantiating a GtkRange,
762         which is now an abstract class).  Also fixed to match
763         existing AtkRole names, this seems to have changed in ATK
764         awhile ago; too late now I think, and the new
765         mechanism is at least elegant and consistent with the
766         glib enum "nick" APIs.  
767
768 2002-11-15  Darren Kenny  <darren.kenny@sun.com>
769
770         * idl/Accessibility_Relation.idl:
771         add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
772         RELATION_EMBEDS,RELATION_EMBEDDED_BY
773         * idl/Accessibility_Role.idl:
774         add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
775         * idl/Accessibility_State.idl:
776         add STATE_MANAGES_DESCENDANTS
777         * test/event-listener-test.c:
778         Added a listener for active-descendant events.
779
780 2002-11-15  Padraig O'Briain  <padraig.obriain@sun.com>
781
782         * atk-bridge/bridge.c
783         (atk_bridge_init): If application is Bonobo component wait until top
784         level is added before registering
785         (spi_atk_bridge_do_registration): New function which contains code, 
786         formerly in atk_bridge_init, to do application registration.
787         (spi_atk_bridge_toplevel_added): Signal called when top level
788         added to Bonobo component
789
790         This fixes bug #83134.
791
792 2002-10-23  Vitaly Tishkov  <tvv@sparc.spb.su>
793
794         * registryd/deviceeventcontroller.c
795         Fixed compilation error caused by calling gettimeofday() 
796         with 1 parameter
797
798 2002-10-18  Bill Haneman  <bill.haneman@sun.com>
799
800         BUGFIX for #95828.
801
802         * acconfig.h:
803         Added template for HAVE_XKB.
804         
805         * configure.in:
806         Changes to check for XKB, and to set the HAVE_XKB #define if it 
807         is available.
808         
809         * libspi/listener.c:
810         ()impl_notify_event): Make failure to get event source name
811         nonfatal.
812
813         * registryd/deviceeventcontroller.c:
814         (#include): include X11/XKBlib.h.
815         (DEControllerPrivateData) : New struct.
816         (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) : 
817         New methods.
818         (dec_synth_keycode_press) (dec_synth_keycode_release):
819         New methods; split the key synthesis code into these methods.
820         They check XKB settings before determining the "time" values to
821         pass to Xtest; this fixes bug #95828.
822         (impl_generate_keyboard_event): Changed to use methods above,
823         instead of callng Xtest directly.
824         (spi_device_event_controller_init): Initialize new privae struct s
825         above.
826         (spi_device_event_controllr_object_finalize):
827         Free the (new) private data.
828
829         * registryd/deviceeventcontroller.h:
830         Add new gpointer to end of struct data.
831
832 2002-10-16  Bill Haneman  <bill.haneman@sun.com>
833
834         * configure.in:
835         Incremented revision to 1.1.2, SONAME is still '.so', library
836         extensions are ".so.0.0.2".
837
838         * registryd/deviceeventcontroller.c:
839         FIXES FOR #93592 and #95940.
840         (statics):  renamed mouse_button_state to mouse_mask_state, 
841         added key_modifier_mask.
842         (spi_dec_poll_mouse_moved): 
843         Added key modifier checks, and emit "keyboard:modifiers"
844         events when the key modifiers currently in use change.
845         Also generate "mouse:abs" events periodically, even if the mouse
846         is stationary (should we?).
847         Alternatively we could generate "mouse:abs" events for either all
848         mouse movements, or every 'nth' mouse movement, or at the
849         beginning and end of every "active" mouse period.
850         
851         * test/event-listener-test.c:
852         (main): Added listener for "keyboard:modifiers" events.
853         
854 2002-10-15  Bill Haneman  <bill.haneman@sun.com>
855
856         * libspi/keymasks.h:
857         Added key mask #defines for mouse buttons; e.g.
858         SPI_KEYMASK_BUTTON1, etc.
859
860         * configure.in:
861         Incremented dependency on ATK to version 1.1.0. (This dependency
862         is probably premature but will soon be real enough).
863
864 2002-10-11  Padraig O'Briain  <padraig.obriain@sun.com>
865
866         * libspi/hyperlink.[ch]
867         (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
868         (get_hyperlink_from_servant): Check object is AtkHyperlink not 
869         AtkObject.
870
871         * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
872         AtkObject.
873
874         Fixes bug #95517.
875
876 2002-10-10  Padraig O'Briain  <padraig.obriain@sun.com>
877
878         * registryd/deviceeventcontroller.c
879         (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
880         events to be ignored.
881         (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
882         keyboard_mode so that XAllowEvents() can be called.
883
884         Fixes bug #93658.
885
886 2002-10-08  Padraig O'Briain  <padraig.obriain@sun.com>
887
888         * cspi/spi-accessible.c: Correct names of roles returned by
889         AccessibleRole_getName(). Fixes bug #95055.
890
891 2002-10-03  Padraig O'Briain  <padraig.obriain@sun.com>
892
893         * cspi/spi_main.c (report_leaked_ref): Report address of leaked
894         object.
895
896         * registryd/registry.c
897         (desktop_remove_application: Write diagnostic message to stderr for
898         consistency.
899
900         (impl_accessibility_registry_deregister_global_event_listener):
901         Correct size of lists array. This addresses bug #94555).
902
903 2002-09-24  Padraig O'Briain  <padraig.obriain@sun.com>
904
905         * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
906         in some role names.
907
908 2002-09-19  Padraig O'Briain  <padraig.obriain@sun.com>
909
910         * registryd/Makefile: Add CLEANFILES so that .server file is removed
911         on make clean
912
913         * registryd/registry.c (impl_registry_notify_event): Remove
914         unnecessary call to parser_event_type().
915
916         * docs/reference/cspi/tmpl/spi_component.sgml:
917         Add reference to SPI_LAYER_WINDOW.
918
919 2002-09-17  Padraig O'Briain  <padraig.obriain@sun.com>
920
921         * registryd/registry.c
922         (desktop_add_application): Remove leak.
923         (desktop_remove_application): Remove leak.
924         (parser_event_type): Remove leak.
925
926 2002-09-16  Padraig O'Briain  <padraig.obriain@sun.com>
927
928         * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
929         bogus call to CORBA_string_dup(). Also removed unnecessary
930         g_string_dup/g_free calls.
931         
932 2002-09-13  Bill Haneman <bill.haneman@sun.com>
933
934         * registryd/deviceeventcontroller.c:
935         spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
936
937         * test/event-listener-test.c:
938         main: commented out three redundant listeners, to reduce output
939         noise. (They still are potentially useful for testing).
940         
941
942 2002-09-13  Michael Meeks  <michael@ximian.com>
943
944         * Update all the copyrights to include Ximian.
945
946 2002-09-06  Mark McLoughlin  <mark@skynet.ie>
947
948         * cspi/spi.h: add SPI_LAYER_WINDOW.
949
950         * cspi/spi_component.c: (AccessibleComponent_getLayer):
951         add Accessibility_LAYER_WINDOW case.
952
953         * idl/Accessibility_Component.idl: add LAYER_WINDOW.
954
955         * libspi/component.c: (impl_accessibility_component_get_layer):
956         add ATK_LAYER_WINDOW case.
957
958 2002-08-28  Bill Haneman <bill.haneman@sun.com>
959
960         * configure.in: incremented micro version.
961
962         * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
963
964 2002-08-20  Bill Haneman <bill.haneman@sun.com>
965
966         * HACKING: 
967         Clarified and reworded our commit policy.
968
969         * NEWS:
970         Started an API "todo" addition list for 2.2.
971
972         * libspi/text.c:
973         (impl_getSelection):
974         Free char pointer from atk_text_get_selection, which was being leaked.
975
976 2002-08-19  Bill Haneman <bill.haneman@sun.com>
977
978         * AUTHORS: 
979         Small revision to author acknowledgement.
980
981 2002-08-19  Padraig O'Briain  <padraig.obriain@sun.com>
982
983         * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
984         If signal has detail add it to the type of the event.
985         (bug #90838)
986         
987 2002-08-12  Michael Meeks  <michael@ximian.com>
988
989         * test/test-simple.c (global_listener_cb): bin bogosity.
990         (test_keylisteners): disable, still doesn't work reliably,
991         certainly not on my system anyway.
992
993         * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
994         don't leak a reference on the DEC. This round-trip
995         fetching of the DEC per keystroke sucks, it should be
996         cached.
997
998         * cspi/spi-private.h,
999         * cspi/cspi-lowlevel.h,
1000         * cspi/bonobo/cspi-bonobo-listener.[ch],
1001         * cspi/bonobo/cspi-bonobo.c: get the copyright
1002         notices better - there is still a large amount of
1003         work in at-spi falsely attributed solely to Sun.
1004
1005         * cspi/spi_main.c (cspi_object_ref): kill bogus
1006         hash lookup, just increment the ref.
1007         (SPI_freeString): make explicit the fact that we
1008         handle NULL strings just fine.
1009         (report_leaked_ref): obey coding standards.
1010         (cspi_object_hash, cspi_object_equal): kill retval.
1011         (cspi_object_release): only release if not on loan.
1012         (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1013         (cspi_object_borrow, cspi_object_return): impl.
1014
1015         * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1016         use cspi_object_borrow / return.
1017
1018 2002-08-12  Darren Kenny  <darren.kenny@sun.com>
1019
1020         * cspi/bonobo/cspi-bonobo-listener.c: 
1021         (cspi_event):
1022         Don't call cspi_oject_new() because this is creating a new Accessible
1023         every single time that an event is fired. This causes ATs like at-poke
1024         to nolonger recognise the source of the event and thus ignore it.
1025         Re-use the object from the cache, ref it and then unref it after the
1026         listeners have been called.
1027
1028 2002-08-06  Darren Kenny  <darren.kenny@sun.com>
1029
1030         * test/event-listener-test.c: 
1031         Added command-line options to disable mouse events (m) and
1032         show usage (h). 
1033
1034 2002-07-31  Padraig O'Briain  <padraig.obriain@sun.com>
1035
1036         * configure.in: Update required versions of ATK, GTK+ and GAIL
1037
1038         * cspi-1.0.pc.in: Add dependency for X include files
1039
1040         * cspi/Makefile.am:
1041         * cspi/bonobo/Makefile.am: 
1042         Add $(X_CFLAGS) so that X include files 
1043         are picked up even if not in standard place (bug #71686)
1044
1045 2002-06-25  Bill Haneman  <bill.haneman@sun.com>
1046
1047         * registryd/deviceeventcontroller.c: fix for 84261
1048         (spi_dec_mouse_moved):
1049         Added test of mouse button mask, so that we can detect mouse
1050         button release.  Unfortunately we can't otherwise detect mouse
1051         button release events without consuming the mouse press event,
1052         because of the way XGrabButton works.  This means that our mouse
1053         release events have a latency dependent on the polling period
1054         while the mouse button is down.  At least in this case we only
1055         have to poll while the button is down, and not at other times.
1056         If the button masks don't match with what the last press event
1057         reported, we report the appropriate button release event.
1058         (spi_dec_ungrab_mouse):
1059         New method (not yet called).
1060         (spi_device_event_controller_forward_mouse_event):
1061         New method, sends mouse press event from GdkFilter.
1062         (spi_dec_init_mouse_listener):
1063         Added code to call XGrabButton, redirecting mouse button events to
1064         the root window and our Gdk event loop.
1065         (global_filter_fn):
1066         Added code to filter mouse button events, and reordered.
1067         
1068         * test/event-listener-test.c:
1069         (main):
1070         Added registration for mouse events of type "mouse:button".
1071
1072 2002-06-25  Bill Haneman  <bill.haneman@sun.com>
1073
1074         * registryd/deviceeventcontroller.c: partial fix for 84261
1075         (spi_dec_poll_mouse_idle):
1076         New method, a timeout which checks to see if the mouse
1077         has moved.
1078         (spi_dec_poll_mouse_moving):
1079         A timeout to be called when mouse motion is underway.
1080         (spi_dec_poll_mouse_moved):
1081         A method which fires an event if the mouse has moved, and reports
1082         whether or not it did so. 
1083         (spi_dec_init_mouse_listener):
1084         A method which sets up the timeouts above.
1085         (spi_device_event_controller_new):
1086         Now calls spi_dec_init_mouse_listener.
1087
1088         * registryd/registry.c:
1089         (spi_registry_init):
1090         Now we initialize the device event controller when the registry is
1091         initialized, instead of waiting until a client has requested a key
1092         event notification; this is because we need the event controller
1093         for mouse events, but the mouse event registration API is a
1094         "registry" call and doesn't explicitly call the 
1095         deviceeventcontroller.
1096         We now report mouse motion events with a 100 ms idle latency and
1097         a 20 ms granularity when motion is in progress.
1098
1099         * test/event-listener-test.c:
1100         (main):
1101         We now register the "detail listener" for events of type 
1102         "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1103         delivered only for the first mouse event received, and thereafter
1104         "mouse:abs" events are delivered.)
1105
1106         * cspi/spi_registry.c:
1107         DOCS: Documented the above mouse event typestrings.
1108         
1109 2002-06-21  Bill Haneman  <bill.haneman@sun.com>
1110
1111         Happy Summer Solstice...
1112
1113         * registryd/deviceeventcontroller.c: [fix for bug 84100]
1114         (spi_controller_notify_keylisteners):
1115         Changes to remove a listener from the listener list, freeing its
1116         open keygrabs, if a notification to that listener fails.  This
1117         means that although a dead listener can continue to hold a passive
1118         keygrab, a maximum of one dispatch to such a listener can fail
1119         before the listener is removed from the list, thus the keygrab
1120         will be released on the next occurrence.
1121         As part of this fix:
1122         (spi_notify_keylisteners):
1123         Renamed to spi_controller_notify_keylisteners, as the controller
1124         instance must now be passed as an argument.
1125         The copied 'notify' GList is now a list of DEControllerKeyListener
1126         objects, since we need more than just the CORBA reference if a
1127         notify fails and we need to deregister the listener.
1128         (impl_notify_listeners_sync):
1129         (impl_notify_listeners_async):
1130         (spi_device_event_controller_forward_key_event):
1131         Modify use of notify_keylisteners in accordance with above
1132         changes.
1133         (spi_deregister_controller_key_listener):
1134         New method introduced by refactoring, from 
1135         impl_deregister_keystroke_listener.
1136         (impl_deregister_keystroke_listener):
1137         Call spi_deregister_controller_key_listener.
1138         (spi_key_listener_clone):
1139         New method to copy a key listner without doing a 'ref' on the
1140         remote object instance; used to create a notifier list.
1141         (spi_key_listener_data_free):
1142         New method, frees data without unreffing the source.
1143         Used in refactor.
1144         (spi_key_listener_clone_free): new method.
1145         (spi_key_listener_free): 
1146         refactored to call spi_key_listener_data_free.
1147         
1148 2002-06-20  Bill Haneman  <bill.haneman@sun.com>
1149
1150         * registryd/registry.c: [fix for bug 86048]
1151         (notify_listeners_cb):
1152         Clear CORBA system exceptions which occur when notifying
1153         listeners, before returning to the source of the original event,
1154         since the event source doesn't care if the relayed notify failed.
1155         In other words, don't complain to the atk-bridge if the registry
1156         could not notify all its listeners, that's no fault of the
1157         application and thus should not appear to be an error from the
1158         application's perspective.
1159         
1160         * cspi/spi_main.c: [fix for bug 85980]
1161         (cspi_object_ref):
1162         Replaced use of bonobo_object_dup_ref with call to the wrapper
1163         method, csou_dup_ref (); this silences a compiler warning and
1164         provided more portability.
1165         (cspi_registry):
1166         Ping the registry before return, and restart if necessary.
1167
1168         * cspi/bonobo/cspi-bonobo.c:
1169         (cspi_ping):
1170         New internal method.
1171         (cspi_dup_ref):
1172         Fixed this method to return an object reference, as it should have
1173         all along.
1174
1175         * cspi/cspi-lowlevel.h:
1176         Added internal definition for cspi_ping() and fixed 
1177         return type of cspi_dup_ref().
1178         
1179
1180 2002-06-19  Bill Haneman  <bill.haneman@sun.com>
1181
1182         * atk-bridge/bridge.c:  [fix for bug 85305]
1183         (spi_atk_bridge_register_application):
1184         New method where the initial application registry calls have been
1185         moved; it allows an application to re-register in response to
1186         certain error conditions (such as a registry restart, see below).
1187         (atk_bridge_init):
1188         Moved some initialization code to the method
1189         spi_atk_bridge_get_registry, below.
1190         (spi_atk_bridge_get_registry):
1191         New, private accessor function for the Accessibility_Registry
1192         instance.  If the registry has not been started before, or has
1193         died (as detected by failure of a CORBA exception), it is
1194         restarted before return, and spi_atk_bridge_register_application
1195         is called again to register with the new bridge instance.
1196         (spi_atk_emit_eventv):
1197         Set registry_died on error; use spi_atk_bridge_get_registry () to
1198         access the registry.
1199         
1200         * registryd/registry.c:
1201         (impl_accessibility_registry_register_global_event_listener):
1202         Set listener's event_type_quark to etype.minor instead of
1203         etype.major (fix for bug 84856).
1204
1205         * test/event-listener-test.c:
1206         (report_detail_event):
1207         Change the output string so that user/tester can tell that the
1208         'detail listener' was called instead of the 'generic listener'.
1209         
1210 2002-06-18  Bill Haneman  <bill.haneman@sun.com>
1211
1212         Fixes for bugs 84900, 84908, 84897, 84898.
1213
1214         * NEWS: updated.
1215         
1216         * configure.in:
1217         Revved version to 1.1.0 
1218         (reserving the 1.0.X branch for gnome-2-0-0 branch, this
1219         version is going to HEAD which will be used for gnome-2-0-1 and later.)
1220         
1221         * idl/Accessibility_Registry.idl:
1222         (EventListener::notifyEvent):
1223         Removed 'oneway' directive after extensive consulation with
1224         ORBit2 team and others.  This means also that unref() of the event
1225         source can and should be done synchronously after emission, rather
1226         than remotely in the client, after servicing the notify call on
1227         the listener side.
1228
1229         NOTE: This change speeds up listener performance considerably, but
1230         introduces new latency on the application side.  We may want to
1231         add an event queue to the atk-bridge.
1232
1233         * atk-bridge/bridge.c:
1234         (spi_atk_bridge_focus_tracker):
1235         Do a local unref() on the event source after emission.
1236         
1237         * registryd/registry.c:
1238         (desktop_remove_application):
1239         Do an unref() on the event source after emission.
1240         (desktop_add_application):
1241         Do an unref() on the event source after emission.
1242         (notify_listeners_cb):
1243         When relaying an event, don't automatically add the event source
1244         to the local object cache, just CORBA_dup it instead.  Likewise,
1245         if this method reenters, release the ref rather than calling
1246         unref() as well.
1247         (impl_registry_notify_event):
1248         No longer call remote unref() on the event source after dispatch.
1249
1250         * libspi/eventlistener.c:
1251         (impl_accessible_event_notify_event):
1252         Removed remote unref ()
1253         
1254         * cspi/bonobo/cspi-bonobo-listener.c:
1255         (cspi_event):
1256         We now call cspi_object_new() instead of cspi_object_add() on
1257         receipt of an event; thus we only have an implicit object ref
1258         while the cspi_event method is being executed.  If we need to keep
1259         a reference to the object, the listener must call ref() on the
1260         object.  Thus also we don't need to call cspi_object_unref() after
1261         invoking the listener callbacks in this method.
1262         
1263         * cspi/spi_main.c:
1264         (cspi_object_new):
1265         New internal API for creating a new cspi object, without adding it
1266         to the object cache.
1267         (cspi_object_add):
1268         Now uses cspi_object_new() to create the cspi object instance.
1269         (cspi_object_ref):
1270         Now checks to see if the object is in the internal object cache,
1271         and adds it if necessary before incrementing its refcount (note
1272         that new objects are added with a refcount of 1).
1273         (report_leaked_ref):
1274         New method which gives some information on leaked object instances
1275         if leak detection is turned on.
1276
1277         * test/event-listener-test.c:
1278         (timing_test_event):
1279         New method, used for testing event delivery timing for special
1280         events of type "object:test".  It reports elapsed time and
1281         events/sec every 500 events.
1282         (main):
1283         Added a new listener, 'test listener', to check timing of event
1284         receipt as noted above.
1285         (report_event):
1286         Added some timing output here also, reports elapsed time every 100
1287         events.
1288
1289         * test/stress-test.c:
1290         Emit events of type "object:test", for use with "event-listener-test".
1291
1292         * test/test-simple.c:
1293         (global_listener_cb):
1294         Call Accessible_ref() on the event source before calling
1295         validate_accessible, since the validation process does pointer
1296         comparisons on the event source, meaning that the event source
1297         needs to be added to the local object cache first.  Any use of
1298         such pointer comparisons between Accessible objects requires that
1299         the caller hold an explicit reference to those objects.
1300         We also must therefore call Accessible_unref() when leaving this method.
1301
1302 2002-06-13  Bill Haneman  <bill.haneman@sun.com>
1303
1304         * registryd/deviceeventcontroller.c:
1305         (spi_controller_update_key_grabs):
1306         Fix for #84735, subsequent keygrab listeners not informed of
1307         registration failure.
1308
1309         * libspi/base.c:
1310         (spi_base_construct):
1311         Add an assertion on construct, to make sure the GObject passed in
1312         is really a GObject.
1313         (spi_base_init):
1314         Explicitly initialize object->gobj pointer to NULL;
1315
1316         * cspi/bonobo/cspi-bonobo-listener.c:
1317         (cspi_object_add_ref):
1318         New method, can specify whether to dup-ref a bonobo object passed
1319         in if it's newly added to the object cache.
1320         (cspi_object_add):
1321         Now calls cspi_object_add_ref with second param of "FALSE".  This
1322         prevents us from doing a pointless dup-ref followed by
1323         release-unref for all those cases where the object is already in
1324         our object cache (fix for #85205).
1325
1326         * atk-bridge/bridge.c:
1327         (spi_atk_bridge_idle_init):
1328         Removed this method, we don't need to initialize in an idle
1329         handler anymore;
1330         (atk_bridge_init):
1331         Changed to call spi_atk_register_event_listeners directly, not via an
1332         idle handler. (fix for #81139)
1333         (gnome_accessibility_module_shutdown):
1334         Removed conditional around deregistration of listeners, since we
1335         don't use the idle handler and thus have always registered when
1336         shutdown is called.
1337         (spi_init_keystroke_from_atk_key_event):
1338         Changed references to Accessibility_KEY_PRESSED to 
1339         Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
1340         
1341 2002-06-12  Bill Haneman  <bill.haneman@sun.com>
1342
1343         (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
1344         
1345         * configure.in:
1346         Revved to 1.0.1
1347
1348         * test/stress-test.c:
1349         Added file.
1350
1351         (may have been an incomplete commit yesterday?)
1352
1353 2002-06-12  Bill Haneman  <bill.haneman@sun.com>
1354
1355         * test/Makefile.am:
1356         Added target for new stress-test.
1357         
1358         * test/stress-test.c:
1359         New test, sends 1000 focus notifies in quick succession.
1360
1361         * test/key-listener-test.c:
1362         Now we report whether a keylistener registration
1363         request succeeded or failed.
1364
1365         * test/event-listener-test.c:
1366         Uncommented some listeners which are now implemented.
1367
1368
1369 2002-06-06  Bill Haneman  <bill.haneman@sun.com>
1370
1371         * registryd/deviceeventcontroller.c:
1372         (spi_controller_update_key_grabs):
1373         Fix for #82509, lack of failure notification when
1374         ALL_WINDOWS keygrabs fail due to XGrabKey
1375         failure: we synchronize the server when 
1376         registering a passive grab, to make sure we get the
1377         error message before the call returns.
1378
1379 2002-06-03  Bill Haneman  <bill.haneman@sun.com>
1380
1381         * test/test-simple.c:
1382         (key_listener_cb):
1383         Removed #ifdef KEY_IMPL_WORKS guards.
1384         (test_keylisteners):
1385         Removed #ifdef KEY_IMPL_WORKS guards.
1386         Fixed bug which was causing a hang waiting for a 
1387         "press" event (which was already overwritten by a "release" 
1388         event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
1389         (key_listener_cb):
1390         Added code to set globals 'key_press_received' and
1391         'key_release_received'.
1392
1393         * TODO:
1394         Added section "1.1 API Proposed Additions" which
1395         lists API additions desired for at-spi-1.1 (only one so far).
1396         Updated TODO list a little.
1397         
1398 2002-06-02  Bill Haneman  <bill.haneman@sun.com>
1399
1400         AT-SPI 1.0 API FINAL: at-spi 1.0 is now
1401         API frozen.
1402         
1403         * configure.in: Revved to 1.0.0.
1404
1405         * idl/Accessibility_Registry.idl:
1406         (registerKeystrokeListener):
1407         Added boolean return value.
1408         
1409         * registryd/registry.c:
1410         (notify_listeners_cb): Minor fix to debug output.
1411
1412         * registryd/Accessibility_Registry.server.in.in:
1413         Revved version number in OAFIID to 1.0.
1414
1415         * registryd/registryd.c:
1416         (main):
1417         Use new OAFIID version.
1418
1419         * cspi/bonobo/cspi-bonobo.c:
1420         (cspi_init):
1421         Use new OAFIID version.
1422
1423         * test/at.c:
1424         (main):
1425         * test/app.c:
1426         (main):
1427         * atk-bridge/bridge.c:
1428         (atk_bridge_init):
1429         Use new OAFIID version.
1430
1431         * registryd/deviceeventcontroller.c:
1432         (impl_register_keystroke_listener):
1433         Added CORBA_boolean return value.
1434         (spi_controller_register_device_listener):
1435         Added gboolean return value.
1436         (spi_controller_register_global_keygrabs):
1437         Added gboolean return value.
1438         (spi_key_set_contains_key):
1439         Added implementation for many more control keys,
1440         for instance F1-F12, arrow keys, End, Home, Page_Up,
1441         Page_Down, Escape.
1442         [TODO: some still not implemented]. 
1443         
1444         * text/screen-review-test.c:
1445         (text_chunk_pad_string):
1446         New function: it provides mapping between coordinate
1447         positions of text chunks and character positions in the
1448         screen-review-line output string.
1449         (text_chunk_to_string):
1450         New function, calls text_chunk_pad_string with various
1451         pad/delimiter characters. Pushbuttons are delimited with
1452         square brackets, Frames with vertical 'pipe' lines, and 
1453         other text with double quotes.
1454         (text_chunk_list_to_string):
1455         Calls new function text_chunk_to_string.
1456         (toplevel_composite):
1457         New function to composite layers CANVAS through
1458         POPUP in each toplevel (other layers are composited
1459         across toplevels, i.e. BACKGROUND and OVERLAY).
1460         (review_buffer_composite):
1461         Revise to use new methods.
1462         
1463         
1464         
1465         
1466
1467 2002-05-31  Laszlo Peter  <laca@sun.com>
1468
1469         * configure.in: add the Xtst libdir to the runpath on Solaris,
1470         since it's not in the default library search path.
1471
1472 2002-05-29  jacob berkman  <jacob@ximian.com>
1473
1474         * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
1475
1476 2002-05-29  Bill Haneman  <bill.haneman@sun.com>
1477
1478         * test/screen-review-test.c:
1479         (text_chunk_pad_string):
1480         Added method, which pads the string according to the 
1481         text bounds of the chunk.  It also takes a 3-character
1482         string as a param which indicates the characters to be 
1483         used for start, padding, and end delimitation of the chunk.
1484         (text_chunk_to_string):
1485         Changed to use text_chunk_pad_string.
1486         
1487         * configure.in: Fixed bug in AC_OUTPUT that was
1488         causing path substitution in Accessibility_Registry.server
1489         to fail.
1490
1491 2002-05-23  Bill Haneman  <bill.haneman@sun.com>
1492
1493         * text/screen-review-test.c:
1494         (guess_string_clip):
1495         New method which attempts a best-guess at clipping
1496         text from components (like Java labels) which don't
1497         actually implement AccessibleText.  This inaccurate
1498         clip is based on the assumption that the label is
1499         justified left-and-right, and monospaced.
1500         (text_chunk_get_clipped_string):
1501         We now call guess_string_clip() for text-containing
1502         components that don't implement AccessibleText.
1503
1504         * test/screen-review-test.c:
1505         (review_buffer_get_text_chunk):
1506         We now pull "name" from labels if they do not implement
1507         AccessibleText (i.e. for Java labels).
1508         (get_screen_review_line_at):
1509         Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
1510
1511         * configure.in:
1512         Replaceded AC_OUTPUT target
1513         registryd/Accessibility_Registry.server with 
1514         registryd/Accessibility_Registry.server.in.
1515
1516         * registryd/Accessibility_Registry.server.in:
1517         Removed (this is now a Makefile target).
1518
1519         * registryd/Accessibility_Registry.server.in.in:
1520         Added (source for target above).  We now use $(libexecdir) as
1521         prefix for the executable at-spi-registryd.
1522
1523         * registry/Makefile.am: 
1524         Now install at-spi-registryd into $(libexecdir), and build .server
1525         file with path (see above).
1526         
1527 2002-05-22  Bill Haneman  <bill.haneman@sun.com>
1528
1529         * test/screen-review-test.c:
1530         (text_chunk_get_clipped_string):        
1531         We now check to see if words fall within clip bounds 
1532         before resorting to character-by-character clip bounds testing.
1533
1534         * TODO: Added a section for "2.2 Proposed API Additions".
1535
1536 2002-05-21  Bill Haneman  <bill.haneman@sun.com>
1537
1538         * test/screen-review-test.c:
1539         * test/Makefile.am:
1540         Added a screen review benchmarking and test program to test
1541         directory.
1542
1543         * cspi/spi_accessible.c:
1544         * cspi/spi_main.c:
1545         Made some of the debug strings passed to cspi_check_ev a
1546         little more specific.
1547
1548 2002-05-21  Padraig O'Briain  <padraig.obriain@sun.com>
1549
1550         * test/screen-review-test.c: Fix crashes in debug statements
1551
1552 2002-05-20  Bill Haneman  <bill.haneman@sun.com>
1553
1554         * test/screen-review-test.c: Added this file.
1555
1556 2002-05-13  Marc Mulcahy <marc.mulcahy@sun.com>
1557
1558         * atk-bridge/bridge.c: changed "object:state-change" to
1559         "object:state-changed" to match docs.
1560
1561 2002-05-13  Marc Mulcahy <marc.mulcahy@sun.com>
1562
1563         * atk-bridge/bridge.c: Hooked up state-change event details.
1564
1565 2002-05-11  Bill Haneman <bill.haneman@sun.com>
1566
1567         * registryd/registry.c:
1568         Fixed quarking bug in event string parsing; now events with
1569         detail parameters get matched correctly to listeners.
1570         [Bugzilla 80608].
1571
1572         * util/idl/Magnifier.idl: remove.
1573         * util/idl: remove
1574         * util/*.[ch]: Remove.
1575         Magnification utilities and IDL are now in module gnome-mag.
1576
1577 2002-05-10  Bill Haneman <bill.haneman@sun.com>
1578
1579         * registryd/deviceeventcontroller.c:
1580         Fixed bug in grab key conversion which was causing keycode grabs
1581         to be converted to AnyKey grabs.
1582
1583         * NEWS:
1584         updated NEWS file to reflect recent spin-off of gnome-mag.
1585
1586 2002-05-09  Marc Mulcahy <marc.mulcahy@sun.com>
1587
1588         * cspi/spi_accessible.c: Added exception checks.  Fixed completely
1589         busted AccessibleStateSet_compare.  Removed redundant casts.
1590         
1591         * cspi/spi-action.c: Removed redundant casts.
1592
1593         * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
1594
1595         * cspi/spi_component.c: Fixed typos and casting error.
1596
1597         * cspi/spi_editabletext.c: Removed redundant casts.
1598
1599         * cspi/spi_hyperlink.c: Fixed casting and exception checking.
1600
1601         * cspi/spi_hypertext.c: Eliminated redundant casts.
1602
1603         * cspi/spi_image.c: Eliminated redundant casts.
1604
1605         * cspi/spi_registry.c: Eliminated redundant casts.
1606         SPI_deregisterGlobalEventListenerAll () removed retval variable.
1607         * cspi/spi_selection.c: Removed redundant casts.
1608         * cspi/spi_text.c: Eliminated redundant casts.  Fixed exception
1609         handling.  Screen geometry and text offsets were being returned as 0
1610         on error which is technically valid-- changed these to return -1.
1611         Added marshaller for text boundary types to fix bug with boundary
1612         types being passed incorrectly to atk.
1613                         
1614 2002-05-09  Bill Haneman <bill.haneman@sun.com>
1615
1616         
1617         * cspi/spi_registry.c:
1618         Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
1619         which was uncovered by the recent key changes.
1620
1621 2002-05-09  Bill Haneman <bill.haneman@sun.com>
1622
1623         * test/event-listener-test.c:
1624         * test/Makefile.am:
1625         Added new test, "event-listener-test"; 
1626         this code does two things; it benchmarks traversal time 
1627         for the accessible hierarchy for the first running accessible 
1628         app, and it connects listeners for all supported event types.  
1629         It is thus useful as an example event listener and for 
1630         diagnostics/debugging of event generation.
1631         
1632 2002-05-08  Bill Haneman <bill.haneman@sun.com>
1633
1634         * test/Makefile.am:
1635         Removed unnecessary dependency on libutil.
1636
1637         * configure.in:
1638         Revved micro version: 0.13.1
1639
1640 2002-05-08  Bill Haneman <bill.haneman@sun.com>
1641
1642         * configure.in: 
1643         Removed util/Makefile from targets.
1644
1645         * Makefile.am:
1646         Removed util subdir from SUBDIRS (temporarily, 
1647         pending removal of magnifier-only code
1648         from UTIL).
1649
1650         * test/simple-at.c:
1651         #ifdef-ed out magnifier dependencies, since
1652         magnifier IDL, headers, and binary now live in
1653         module gnome-mag and we don't want at-spi to depend 
1654         on gnome-mag.  A magnifier demo which can run alongside
1655         simple-at is forthcoming in the gnome-mag module.
1656         
1657         NOTE: Split magnifier binary, IDL, and magnification
1658         activation code from at-spi into module gnome-mag.
1659
1660 2002-05-03  Marc Mulcahy <marc.mulcahy@sun.com>
1661  
1662         * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
1663         cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
1664  
1665 2002-05-03  Bill Haneman <bill.haneman@sun.com>
1666
1667         * configure.in:
1668         Revved to version 0.13.0
1669         
1670         * idl/Accessibility_Registry.idl:
1671         Changed definition of KeySet from sequence of longs to sequence of
1672         KeyDefinitions, and added KeyDefinition struct.
1673         Required for fix to bug 80616.
1674
1675         * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
1676         Changed AccessibleKeySet to Accessibility_KeySet marshalling code
1677         to use new definition (see above).  
1678
1679         * registryd/deviceeventcontroller.c: handle_keygrab(), 
1680         spi_keyset_contains_key():
1681         Changed to make use of new struct; this allows matching based on
1682         string key-name, for instance "Tab".  This also allows matching of
1683         composed characters, non-alphanumeric characters in a way that
1684         doesn't involve dependencies on X keysym codes directly, etc.
1685         
1686         * test/key-listener-test.c:
1687         Added test for Alt-Tab key using "string" specification of keyset,
1688         and modified one of the tests to use a keycode-based keyset.
1689         Thus this test both tests and demonstrates the creation and use of
1690         keysets of three forms:  specified via keycode array, 
1691         keysym array, and string array. (The string case only contains a
1692         single string, i.e. a string array of length 1).        
1693
1694         * test/simple-at.c:
1695         Turned on PRINT_TREE option by default.  Also fixed a
1696         string-freeing bug in the PRINT_TREE code.  
1697         Added a listener to window:minimize events.
1698         
1699 2002-05-08  Padraig O'Briain  <padraig.obriain@sun.com>
1700
1701         * atk-bridge/bridge.c:
1702         (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
1703         for window:activate and window:deactiveate
1704         (atk_bridge_property_event_listener atk_bridge_signal_listener
1705         atk_bridge_window_event_listener) Tidy debug code
1706
1707 2002-05-02  Marc Mulcahy <marc.mulcahy@sun.com>
1708
1709         * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
1710         Fixed handling for NULL return value from ATK.
1711
1712         * libspi/action.c libspi/component.c libspi/editabletext.
1713         libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
1714         libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
1715         Removed redundant casts.
1716         
1717         * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
1718         Fixed off by one bug.
1719         
1720         *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
1721         function not present in idl)
1722         
1723 2002-05-02  jacob berkman  <jacob@ximian.com>
1724
1725         * atk-bridge/Makefile.am: make atk-bridge a real module
1726
1727 2002-04-26  Radek Doulik  <rodo@ximian.com>
1728
1729         * libspi/stateset.c (spi_init_state_type_tables): fix size of
1730         atk_state_types table
1731
1732 2002-04-22  jacob berkman  <jacob@ximian.com>
1733
1734         * util/Makefile.am: 
1735         * libspi/Makefile.am: add deps on the built files to help
1736         automake, and don't version the ORBit typelib
1737
1738 2002-04-19  Padraig O'Briain  <padraig.obriain@sun.com>
1739
1740         * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h 
1741         cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
1742         cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c 
1743         cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
1744         cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
1745         cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
1746         cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
1747         libspi/accessible.h libspi/accessible.h libspi/base.h 
1748         libspi/component.h libspi/editabletext.h libspi/hyperlink.h 
1749         libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
1750         libspi/relation.h libspi/remoteobject.h libspi/selection.h 
1751         libspi/spi-private.h libspi/statetset.h libspi/table.h
1752         libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
1753         util/mag_client.h util/mag_control.c util/mag_image.c
1754         util/mag_image.h util/magnifier.c util/magnifier.h: 
1755         Add missing file headers; standardize existing ones
1756
1757 2002-04-18  Marc Mulcahy  <marc.mulcahy@sun.com>
1758
1759         * atk-bridge/bridge.c: Added window event support.
1760
1761 2002-04-18  Michael Meeks  <michael@ximian.com>
1762
1763         * libspi/relation.c (impl_getNTargets): impl.
1764         (impl_getTarget): impl.
1765
1766         * libspi/Makefile.am: fix stateset install.
1767
1768 2002-04-17  Bill Haneman <bill.haneman@sun.com>
1769
1770         * NEWS:
1771         Started putting useful info in this file.
1772         
1773 2002-04-17  Marc Mulcahy <marc.mulcahy@sun.com>
1774  
1775         * atk-bridge/bridge.c: 
1776         Propagate state-changed notifications to ATs
1777  
1778         * cspi/spi_registry.c: update docs to reflect actual behavior of
1779         state-change events.
1780
1781 2002-04-17  Bill Haneman <bill.haneman@sun.com>
1782
1783         * configure.in:
1784         Incremented version to 0.12.1
1785         
1786         * util/mag_client.h:
1787         Add missing declaration for magnifier_exit, 
1788         used by mag_control.c - Forte compiler didn't like
1789         the implicit redeclaration of the function :-(
1790
1791
1792 2002-04-16  Bill Haneman <bill.haneman@sun.com>
1793
1794         * configure.in:
1795         Revved version to 0.12 due to API change (see below).
1796
1797         * cspi/spi-roletypes.h:
1798         removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE 
1799         definition from the inline docs, and added docs
1800         for SPI_ROLE_LAST_DEFINED.
1801
1802         * cspi/spi.h:
1803         * cspi/spi_streamablecontent.c:
1804         Added missing seek_type parameter to
1805         (so far unused) method, 
1806         AccessibleStreamableContent_seek().
1807         [ RT approval JodyG. ]
1808
1809         * cspi/spi_event.c:
1810         Fixed docs for SPI_createAccessibleKeystrokeListener.
1811
1812         * cspi/spi_registry.c:
1813         Fixed docs for SPI_KEYSET_ALL_KEYS.
1814         
1815         * docs/reference/cspi/at-spi-cspi-sections.txt:
1816         Added a number of missing APIs to SECTIONS.
1817         
1818 2002-04-16  Bill Haneman <bill.haneman@sun.com>
1819
1820         * registryd/Makefile.am:
1821         * cspi/Makefile.am:
1822         * cspi/bonobo/Makefile.am:
1823         Add $(X_LIBS) to makefiles.
1824
1825 2002-04-15  Bill Haneman <bill.haneman@sun.com>
1826
1827         * configure.in:
1828         Revved version to 0.11.
1829
1830         * libspi/component.c:
1831         Added implementation for grabFocus.
1832
1833         * idl/Accessibility_Component.idl
1834         (Accessibility_Component_grabFocus):
1835         Made this method return boolean to indicate success or failure, to
1836         be consistent with cspi and the corresponding ATK method.
1837         
1838         * idl/Accessibility_Selection.idl
1839         (Accessibility_Selection_selectAll) :
1840         Made these methods return boolean to indicate success or
1841         failure, to be consistent with cspi and the corresponding ATK methods.
1842         
1843         * idl/Accessibility_EditableText.idl 
1844         (Accessibility_EditableText_setTextContents,
1845          Accessibility_EditableText_insertText,
1846          Accessibility_EditableText_cutText,
1847          Accessibility_EditableText_deleteText,
1848          Accessibility_EditableText_pasteText):
1849         Made these methods return boolean to indicate
1850         success or failure.
1851
1852         * cspi/spi_editabletext.c:
1853         Made these methods return booleans.
1854
1855         * libspi/selection.c:
1856         * libspi/component.c:
1857         * libspi/editabletext.c:
1858         Connected the boolean returns from ATK
1859         to the server-side code referenced above.
1860         
1861 2002-04-14  Bill Haneman <bill.haneman@sun.com>
1862
1863         * idl/Accessibility_Table.idl: Added missing methods,
1864         Accessibility_Table_addRowSelection,
1865         Accessibility_Table_addColumnSelection,
1866         Accessibility_Table_removeRowSelection,
1867         Accessibility_Table_removeColumnSelection.
1868
1869         * cspi/spi_table.c:
1870         Added C wrappers for above IDL:
1871         AccessibleTable_addRowSelection,
1872         AccessibleTable_addColumnSelection,
1873         AccessibleTable_removeRowSelection,
1874         AccessibleTable_removeColumnSelection.
1875         
1876         * libspi/table.c:
1877         Added server-side implementation code for IDL above, connecting
1878         to pre-existing ATK api.
1879         
1880 2002-04-13  Marc Mulcahy <marc.mulcahy@sun.com>
1881
1882         * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
1883
1884         * libspi/accessible.c: Added implementation fo
1885         Accessibility_Accessible_get_state.
1886         
1887         * libspi/libspi.h: Added stateset.h to the list of includes.
1888
1889         * libspi/stateset.c: Fixed broken implementation.
1890
1891 2002-04-13  Bill Haneman <bill.haneman@sun.com>
1892
1893         * util/magnifier.c:
1894         Added implementation code for Accessibility_Magnifier_exit ().
1895
1896         * util/mag_control.c:
1897         Added test code for above method; you can
1898         now kill an existing magnifier via 
1899         ./mag_control q, from the util directory.
1900
1901         * test/key-listener-test.c:
1902         * test/Makefile.am:
1903         Added a new test, for our key listener API.
1904
1905 2002-04-11  Bill Haneman <bill.haneman@sun.com>
1906
1907         * test/app.c, test/keysynth-demo.c:
1908         * util/magnifier.c:
1909         Replace use of snprintf with g_snprintf.
1910         (fix for bugzilla 78249)
1911
1912 2002-03-27  Michael Meeks  <michael@ximian.com>
1913
1914         * Version 0.10.0
1915
1916         * util/Makefile.am (INCLUDES): fix.
1917         (DONT_DIST_SOURCE): don't distribute the
1918         generated files.
1919
1920         * libspi/Makefile.am (dist-hook): ditto.
1921
1922 2002-03-27  Padraig O'Briain  <padraig.obriain@sun.com>
1923
1924         * libspi/hypertext.c:
1925         Fix warnings when yelp is used with atk-bridge
1926
1927 2002-03-21  Michael Meeks  <michael@ximian.com>
1928
1929         * libspi/application.c (spi_application_new):
1930         use spi_accessible_construct so we use the AtkObject
1931         cache correctly.
1932
1933 2002-03-19  Michael Meeks  <michael@ximian.com>
1934
1935         * registryd/registry.c (desktop_remove_application),
1936         (desktop_add_application): clean coding style.
1937
1938         * registryd/desktop.c (spi_desktop_remove_application),
1939         (spi_desktop_add_application): kill re-enterency hazards.
1940         (spi_desktop_dispose): remove bogus redundant cast
1941         obscuring bug; fix bug too.
1942         (spi_desktop_init): make the desktop object immortal.
1943
1944 2002-03-16 Bill Haneman <bill.haneman@sun.com>
1945
1946         * test/simple-at.c:
1947         Added a #define-guarded tree-traversal step
1948         when enumerating the apps (diagnostic tool).
1949
1950 2002-03-15 Bill Haneman <bill.haneman@sun.com>
1951
1952         * idl/Accessibility_Role.idl:
1953         Added ROLE_DRAWING_AREA which seemed to be missing from the
1954         previous commit.
1955
1956 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
1957
1958         * cspi/spi-roletypes.h cspi/spi_accessible.c
1959         idl/Accessibility_Role.idl libspi/accessible.c: synched up role
1960         types with ATK.
1961
1962         * registryd/desktop.c registryd/desktop.h registryd/registry.c:
1963         Added signals to SpiDesktop and callbacks in SpiRegistry to notify
1964         AT when applications are added and removed from the desktop.  This
1965         reverts the previous broken implementation using the backing
1966         AtkObject for the SpiDesktop.
1967         
1968         2002-03-14  Marc Mulcahy <marc.mulcahy@sun.com>
1969
1970         * registryd/desktop.c: emit the "children-changed::add" and
1971         "children-changed::remove" signals on the backing ATK object for
1972         the desktop so AT can tell when applications are started and shut
1973         down.
1974
1975         2002-03-14  Marc Mulcahy <marc.mulcahy@sun.com>
1976
1977         * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
1978
1979         2002-03-14  Marc Mulcahy <marc.mulcahy@sun.com>
1980
1981         * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
1982
1983         * cspi/spi_accessible.c: Implemented c bindings for stateset support
1984
1985         * cspi/state-types.h: synched with IDL and ATK
1986
1987         2002-03-13  Bill Haneman <bill.haneman@sun.com>
1988
1989         * libspi/accessible.c 
1990         (impl_accessibility_accessible_get_child_at_index):
1991         Change return value for g_return_if_fail ()
1992         to CORBA_OBJECT_NIL instead of "0" (!)
1993
1994         * registryd/Makefile.am:
1995         * registryd/Accessibility_Register.server.in:
1996         Changed name of executable, "registryd",
1997         to something more informative:
1998         "at-spi-registryd".
1999
2000 2002-03-13  Michael Meeks  <michael@ximian.com>
2001
2002         * atk-bridge/bridge.c (atk_bridge_init): don't register
2003         if we're in a bonobo-component, rather than a bonobo app.
2004
2005 2002-03-13  Michael Meeks  <michael@ximian.com>
2006
2007         * atk-bridge/bridge.c (gtk_module_init): split
2008         out body to (atk_bridge_init): here, since otherwise
2009         we get symbol conflicts and oddness when invoked
2010         from (gnome_accessibility_module_init): here (upd.)
2011
2012 2002-03-11  Bill Haneman  <bill.haneman@sun.com>
2013
2014         * HACKING:
2015         New file.  Explicitly allow "build sheriff" putbacks provided
2016         they are tested on Solaris.
2017         
2018         * docs/reference/cspi/Makefile.am:
2019         Added '-' to the "cp" command for index.sgml.
2020         ("patch by thomasvs, soon coming to a GUADEC near you")
2021
2022         * configure.in:
2023         Incremented version number (0.9.0) for new release.
2024         Changed macro that checks for popt, to better detect
2025         obsolete versions of popt.
2026         
2027         * configure.in:
2028         Added X_LIBS to AC_SUBST, for applications
2029         that call Xlib API directly.
2030         
2031
2032 2002-03-07  Bill Haneman  <bill.haneman@sun.com>
2033
2034         * configure.in:
2035         Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2036
2037         * util/Makefile.am:
2038         Fix regression caused by hard-coding major
2039         version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2040         (see above change).
2041         
2042         * test/test-simple.c (test_editable_text),
2043         (test_test): revert previous change (error was 
2044         a regression in gail which is now fixed).
2045         
2046 2002-03-04  Michael Meeks  <michael@ximian.com>
2047
2048         * test/test-simple.c (test_editable_text),
2049         (test_text): pass G_MAXINT instead of '-1' for
2050         whole string - is this a good thing !?
2051
2052         * cspi/spi_accessible.c
2053         (Accessible_getRelationSet): fix crasher bug
2054         overwriting the end of the array.
2055
2056         * test/test-simple.c (validate_accessible): free,
2057         not g_free returned relation set.
2058
2059 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2060
2061         * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2062         implemented stateset support
2063
2064         * idl/Accessibility_State.idl: Made necessary changes to
2065         the IDL to support state sets.
2066
2067 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2068
2069         * registryd/deviceeventcontroller.c:
2070         Added implementation for generateMouseEvent.
2071
2072         * cspi/spi_registry.c:
2073         Connected new implementation for generateMouseEvent
2074         to the C bindings.
2075         
2076 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2077
2078         * configure.in: 0.8
2079         Incremented revision (but no change in public API
2080         outside of 'utils', which are not installed public yet.)
2081
2082         * libspi/component.c:
2083         Changed to use atk_component API for layers and
2084         mdi_zorder, instead of deprecated atk_object API.
2085         
2086         Magnification Utility Enhancements:
2087         
2088         * util/magnifier.c:
2089         Added implementation of createZoomRegion, clearAllZoomRegions,
2090         resizeZoomRegion.  Added new commandline argument
2091         "--no-initial-region".  Note that clearAllZoomRegions doesn't
2092         unmap the old '0' region as it should (yet), and the other
2093         methods only work when creating/resizing a single region,
2094         which is "region 0".  
2095         (Code for multiple region support will be added later.)
2096
2097         * util/mag_image.c:
2098         Now we raise the magnifier window each time it's refreshed;
2099         this will help keep it on top.
2100         
2101         * util/mag_client.h:
2102         Added simple wrappers for above, used by mag_control.
2103         For general use, it's recommended to use the bonobo magnifier
2104         control API directly instead of using these wrappers.
2105
2106         * util/mag_image.h:
2107         Moved ZoomRegionData from magnifier.c to this file.
2108         
2109         * util/mag_control.c: 
2110         Added some code to exercise new IDL implementations.
2111         
2112 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2113
2114         * libspi/text.c: Provide implementation for getAttributes.
2115
2116 2002-02-04  Bill Haneman <bill.haneman@sun.com>
2117         
2118         * configure.in:
2119         Incremented revision.
2120
2121         * test/test-simple.c:
2122         Replaced use of deprecated g_main_iteration with 
2123         g_main_context_iteration.
2124         
2125 2002-01-28  Padraig O'Briain <padraig.obriain@sun.com>
2126
2127         * configure.in:
2128         Incremented revision for desktop alpha 2.
2129
2130 2002-01-28  Mark McLoughlin  <mark@skynet.ie>
2131
2132         * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2133         than an atk object.
2134
2135         * test/simple-at.c: include netinet/in.h.
2136
2137 2002-01-24  Mark McLoughlin  <mark@skynet.ie>
2138
2139         * cspi/spi_accessible.c: (Accessible_getRelationSet):
2140         use NULL, not CORBA_OBJECT_NIL.
2141
2142         * libspi/accessible.c:
2143         (impl_accessibility_accessible_get_relation_set):
2144         allocate the sequence correctly.
2145
2146         * libspi/remoteobject.h: kill spi_remote_object_new.
2147
2148         * test/test-simple.c: (validate_accessible): add code
2149         to test relation sets, now all we need is to figure
2150         out how to excercise this code path :/
2151
2152 2002-01-18  Michael Meeks  <michael@ximian.com>
2153
2154         * test/test-simple.c
2155         (key_listener_cb): consume the key.
2156         (test_keylisteners): update.
2157         (main): wait for any pending unrefs on events.
2158
2159         * registryd/deviceeventcontroller.c
2160         (spi_controller_update_key_grabs): only re-issue the
2161         grab on a key release.
2162         (spi_device_event_controller_forward_key_event):
2163         refresh the keygrabs before we notify the listeners,
2164         to reduce the X ungrab / re-grab race.
2165         (spi_controller_register_with_devices): remove
2166         XSelectInput - we do that with the gdk_window_ call.
2167         (_spi_controller_device_error_handler): return a value.
2168         s/GDK_DISPLAY/spi_get_display/
2169
2170 2002-01-17  Michael Meeks  <michael@ximian.com>
2171
2172         * registryd/deviceeventcontroller.c
2173         (_deregister_keygrab): don't blow out the later
2174         assertion.
2175
2176         * test/test-simple.c (test_keylisteners): do a
2177         more intelligent validation.
2178
2179 2002-01-14  Michael Meeks  <michael@ximian.com>
2180
2181         * atk-bridge/bridge.c
2182         (gnome_accessibility_module_init),
2183         (gnome_accessibility_module_shutdown): impl.
2184         (gtk_module_init): protect vs. double inits.
2185         (add_signal_listener): impl.
2186         (spi_atk_bridge_state_event_listener): kill
2187         (deregister_application): split out of
2188         (spi_atk_bridge_exit_func): here.
2189
2190 2002-01-18  Bill Haneman <bill.haneman@sun.com>
2191
2192         * test/simple-at.c:
2193         Added caret tracking when using magnifier, and 
2194         now use text bounds for focus tracking of text elements, rather than
2195         the component bounds - this is helpful for short text fields in long
2196         table cells, at high magnification.
2197         
2198 2002-01-16  Bill Haneman <bill.haneman@sun.com>
2199
2200         * registryd/deviceeventcontroller.c:
2201         Regression fix for keylistener de-registration; global keygrabs
2202         were not being released when deregisterKeystrokeListener was
2203         called in cspi, since 
2204         Accessibility_DeviceEventController_deregisterKeystrokeListener
2205         was called with a zero-length keyset.  That is because the cspi
2206         method, SPI_deregisterKeystrokeListener, does not take a keyset
2207         parameter but instead should remove all the key grabs held be a
2208         keystroke listener.  
2209         The code in impl_deregister_keystroke_listener was changed to copy
2210         the keylist from the listener instance previously registered with
2211         the DeviceEventController before releasing the grabs.
2212
2213         * registryd/registry.c:
2214         * registryd/deviceeventcontroller.c:
2215         * libspi/spi-private.h:
2216         * libspi/util.c:
2217         Changed spelling of "re-enterant" to "re-entrant" globally.
2218
2219 2002-01-16  Bill Haneman <bill.haneman@sun.com>
2220
2221         * test/test-simple.c:
2222         Changed key listeners test - the test was slightly mis-using the
2223         (admittedly poorly documented) SPI_generateKeyboardEvent API.
2224         It now uses '=' as the key event listened to and generated,
2225         relying on a keysym match rather than assuming that keycode 33 
2226         is always equal to keysym '!'.
2227
2228 2002-01-15  Bill Haneman <bill.haneman@sun.com>
2229
2230         * test/simple-at.c:
2231         Changed simple-at to use a specific keyset, rather than
2232         SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
2233         manager, desktop, etc.
2234         
2235 2002-01-11  Bill Haneman <bill.haneman@sun.com>
2236
2237         * registryd/deviceeventcontroller.c:
2238         Replaced standard X error handler with a special handler that 
2239         is non-fatal for failed keygrabs.  This works around 
2240         problems with keygrab clashes sometimes observed on 
2241         Solaris using CDE.
2242         Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate 
2243         mouse handling code as yet).
2244         
2245 2002-01-11  Bill Haneman <bill.haneman@sun.com>
2246
2247         * configure.in:
2248         Incremented revision for desktop alpha release.
2249
2250         * README:
2251         Fixed a couple of the more glaring errors (still not 
2252         very up-to-date).
2253
2254 2002-01-11  Michael Meeks  <michael@ximian.com>
2255
2256         * registryd/deviceeventcontroller.c
2257         (spi_device_event_controller_forward_key_event): kill
2258         XUngrabKey / XKeyGrab race.
2259         (spi_controller_grab_keyboard): rename to
2260         (spi_controller_update_key_grabs): this, and deal
2261         with incremental adding / removing grabs more
2262         sensibly.
2263         (_register_keygrab): ensure we're not pending a remove.
2264         (spi_grab_mask_free): impl.
2265         (spi_controller_register_global_keygrabs): split out
2266         common code into:
2267         (handle_keygrab): impl.
2268         (_deregister_keygrab): impl.
2269         (spi_controller_deregister_global_keygrabs): impl.
2270         (spi_controller_update_key_grabs): re-issue the grab if
2271         we just recieved a notification.
2272
2273         * test/test-simple.c (key_listener_cb): remove debug.
2274
2275         * registryd/deviceeventcontroller.c
2276         (spi_controller_register_device_listener): after
2277         registering a global keygrab, actualy register it !
2278         don't wait for a timeout; doh !
2279
2280         * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
2281         to make it more readable / manipulable.
2282         s/grabmask/grab_mask/ s/refcount/ref_count/
2283         s/keyval/key_val/ s/modmask/mod_mask
2284
2285 2002-01-08  Michael Meeks  <michael@ximian.com>
2286
2287         * registryd/deviceeventcontroller.c
2288         (spi_controller_register_with_devices): use gdk calls to
2289         setup a filter.
2290         (global_filter_fn): implement the filter.
2291         (spi_device_event_controller_check_key_event): rename to
2292         (spi_device_event_controller_forward_key_event): this & upd.
2293         (spi_get_display): replace with GDK_DISPLAY.
2294
2295         * registryd/deviceeventcontroller.c
2296         (spi_controller_deregister_device_listener): unroll into
2297         (impl_deregister_keystroke_listener): here to simplify.
2298         (spi_controller_register_global_keygrabs): split cut and
2299         paste (!) out into (_register_keygrab): here, shorter & sweeter.
2300         (spi_controller_deregister_device_listener): remove.
2301         (impl_register_mouse_listener): remove, no mouse listener
2302         support in at-spi-1.0
2303
2304         * registryd/registry.c
2305         (_device_event_controller_hook): kill.
2306         (spi_registry_init): upd.
2307
2308         * registryd/deviceeventcontroller.c
2309         (spi_device_event_controller_class_init): upd.
2310         (spi_check_key_event): merge into.
2311         (spi_device_event_controller_check_key_event):
2312         here and kill strange static ev init, don't leak
2313         the x_event - nor dynamicaly allocate it.
2314
2315         * registryd/registry-main.c (main): re-direct
2316         timeout to remove strange vtable mess.
2317
2318         * registryd/deviceeventcontroller.c
2319         (remove_listener_cb): impl.
2320         (spi_controller_deregister_device_listener):
2321         fix re-enterancy hazard.
2322
2323 2002-01-07  Michael Meeks  <michael@ximian.com>
2324
2325         * registryd/deviceeventcontroller.c
2326         (spi_device_event_controller_new): upd.
2327         (impl_notify_listeners_sync): upd. debug.
2328         (spi_notify_keylisteners): fix re-enterancy hazards,
2329         prettify, remove O(n*n) iteration.
2330         (spi_controller_grab_keyboard): fix iteration.
2331         (spi_check_key_event): re-format to suit coding style.
2332         Clean all the warnings - we're warning free.
2333
2334         * registryd/deviceeventcontroller.h:
2335         * registryd/registry.h: make mutualy referential with
2336         typesafe forward references instead of (!) void pointer
2337         hacks.
2338
2339 2002-01-11  Michael Meeks  <michael@ximian.com>
2340
2341         * cspi/spi_accessible.c (role_names): add a role name
2342         to sync this array with the enum; and make the regression
2343         tests pass, sigh.
2344
2345 2002-01-10  Michael Meeks  <michael@ximian.com>
2346
2347         * cspi/spi_registry.c (SPI_generateKeyboardEvent): 
2348         allow expansion of enumeration & kill warning.
2349
2350         * test/test-simple.c (key_listener_cb): impl.
2351         (test_keylisteners): impl.
2352
2353         * cspi/spi-listener.h: make listener signatures const
2354         on the provided (const) events.
2355
2356         * test/keysynth-demo.c: upd. to const events.
2357
2358         * test/simple-at.c: ditto.
2359
2360 2002-01-11  Bill Haneman <bill.haneman@sun.com>
2361
2362         * configure.in:
2363         Rev the version to 0.5 (the previous tarball was named 0.4, 
2364         even though the micro number was 3), so we need to rev upwards
2365         again for beta2/"desktop-alpha" 
2366  
2367         * test/demo.csh:
2368         Checked in a demo script, which requires editing before use!
2369         Proceed with caution.
2370         
2371         * libspi/value.h:
2372         Fixed typo in header which was redefining SPI_ACTION_CLASS.
2373
2374         * cspi/spi_accessible.c:
2375         Add a couple of missing enum initializations, and fix some enum
2376         comments.
2377
2378         * cspi/spi_registry.c:
2379         Add comment describing keystring parameter to SPI_generateKeyboardEvent.
2380         
2381         * docs/reference/cspi/at-spi-cspi-sections.txt:
2382         Remove/fix a couple of broken document references.
2383
2384         * test/simple-at.c:
2385         Minor tweaks to the demo.  We now (sigh) use Alt-SHIFTLOCK as well
2386         as Alt-Control to listen for commands, since on some systems
2387         Control-Alt may already be grabbed.
2388
2389 2002-01-10  Bill Haneman <bill.haneman@sun.com>
2390
2391         * configure.in:
2392         Update version number to 0.4 for Beta2.
2393         
2394         * libspi/accessible.c, libspi/accessible.h:
2395         Expose spi_accessible_construct, to enable libgail-gnome
2396         construction from spi_accessible subtype.
2397
2398         * utils/magnifier.c:
2399         Workaround for bug in some non-gnome-compliant window managers
2400         which made magnifier resize improperly.
2401
2402 2002-01-09  Bill Haneman <bill.haneman@sun.com>
2403
2404         * libspi/accessible.c: (spi_accessible_new) :
2405         Move the test for SPI_IS_REMOTE_OBJECT to
2406         spi_accessible_new_return, fixing a bug and compile time warning.
2407         
2408 2002-01-08  Michael Meeks  <michael@ximian.com>
2409
2410         * registryd/registry.c (parse_event_type): remove strndup.
2411
2412         * libspi/Makefile.am (libspi_la_SOURCES): remove
2413         sources already included in the headers section.
2414
2415         * libspi/util.c: add.
2416
2417         * libspi/spi-private.h: add.
2418
2419         * registryd/registry.c: update to moved list iterators.
2420
2421 2002-01-05  Michael Meeks  <michael@ximian.com>
2422
2423         * test/simple-at.c (main): upd. auto-module set to atk-bridge
2424
2425         * test/test-simple.c (main): ditto.
2426
2427 2002-01-04  Michael Meeks  <michael@ximian.com>
2428
2429         * libspi/accessible.c (spi_accessible_new): remove 2nd,
2430         redundant construct.
2431
2432         * registryd/registry.c
2433         (get_listener_list): impl.
2434         (impl_accessibility_registry_register_global_event_listener):
2435         re-impl. to simplify using ~, remove dodgy const cast off.
2436         (parse_event_type): constify.
2437         (impl_accessibility_registry_deregister_global_event_listener_all): 
2438         re-write, more efficiency and simplicity, kill re-enterancy
2439         hazard.
2440         (compare_listener_corbaref, compare_corba_objects),
2441         (compare_listener_quarks): define out.
2442         (impl_accessibility_registry_deregister_global_event_listener): 
2443         re-write for effiency, and nail re-enterancy hazard.
2444         (impl_accessibility_registry_get_desktop_list): impl.
2445         (re_enterant_list_delete_link): impl.
2446         (re_enterant_list_foreach): impl.
2447         (remove_listener_cb): impl.
2448         (_registry_notify_listeners): kill.
2449         (notify_listeners_cb): impl.
2450
2451         * cspi/spi_registry.c (SPI_freeDesktopList): impl.
2452         (SPI_getDesktopList): impl.
2453
2454         * test/test-simple.c (test_desktop): test the methods.
2455
2456 2002-01-03  Michael Meeks  <michael@ximian.com>
2457
2458         * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
2459         keystrings since we free them
2460         (SPI_freeAccessibleKeySet): in here.
2461
2462         * libspi/accessible.c (spi_accessible_new): kill warning,
2463         wonder what is going on with the constructor here.
2464
2465 2002-03-01  Bill Haneman <bill.haneman@sun.com>
2466
2467         * libspi/accessible.c (spi_accessible_new ()) :
2468         Added check to see if AtkObject is an SpiRemoteObject before
2469         creating an SpiAccessible.
2470         
2471 2002-05-01  Bill Haneman <bill.haneman@sun.com>
2472
2473         * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
2474         Enable keygrabs using the Control modifier, now that they are
2475         working properly (they were previously disabled).
2476
2477         * test/simple-at.c:
2478         Change the command keygrab for this demo to "Control+Alt", so as
2479         to conflict with fewer other key commands on the system; this
2480         means that the quit command for "simple-at" is now "Ctrl-Alt-q".
2481
2482         Removed a pointlessly-chatty keylistener for unshifted keys
2483         (shifted keys are still reported).
2484         
2485 2002-02-01  Bill Haneman <bill.haneman@sun.com>
2486
2487         * libspi/remoteobject.h:
2488         * libspi/remoteobject.c:
2489         Added definitions for special AtkObject subtype, required for
2490         support of remote components (specifically, used by BonoboControl
2491         accessibility implementation).
2492         
2493 2002-01-02 Marc Mulcahy  <marc.mulcahy@sun.com>
2494
2495         * cspi/spi.h: synched relation types with ATK
2496
2497         * cspi/spi_accessible.c: Added implementations of
2498         AcccessibleRelation_* methods
2499
2500         * idl/Accessibility_Relation.idl: added getRelationTypeName
2501         method.  Synched known relation types with ATK.  Allowed for
2502         relation type extension with the RELATION_EXTENDED type.
2503         
2504         * libspi/relation.c: Provided implementations for
2505         AccessibleRelation methods.
2506
2507 2002-01-01  Bill Haneman <bill.haneman@sun.com>
2508
2509         API tweaks for today's API 'freeze'.
2510
2511         * idl/*:
2512         Added placeholder functions to allow future compatible expansion
2513         of the IDL interfaces.
2514
2515         * idl/Accessibility_Registry.idl:
2516         Changed generateKeyEvent to generateKeyboardEvent.  Changed
2517         signature of this method to accept an optional keystring in
2518         parameter (for complex text input synthesis) and changed use of
2519         simple 'boolean' parameter in registerKeystrokeListener to a
2520         struct, EventListenerMode.
2521
2522         * cspi/spi_accessible.c:
2523         * cspi/spi.h:
2524         * cspi/spi_streamablecontent.c:
2525         Added references to AccessibleStreamableContent interface, and
2526         definition and implementation of AccessibleStreamableContent 
2527         C bindings.
2528
2529         * cspi/spi_registry.c:
2530         * cspi/spi.h:
2531         Changed generateKeyEvent API to generateKeyboardEvent,
2532         taking a new (optional) keystring parameter to support complex
2533         text input.
2534         
2535         * at-bridge/*:
2536         * atk-bridge/*:
2537         Renamed directory (to better reflect its actual purpose, bridging
2538         from at-spi to ATK).  The .so module is also now named
2539         libatk-bridge.so.
2540
2541         * idl/Accessibility_Hypertext.idl:
2542         * libspi/accessible.c:
2543         * libspi/hypertext.h:
2544         * libspi/hypertext.c:
2545         Changed Accessibility_Hypertext to *not* derive from
2546         Accessibility_Text.
2547
2548         * cspi/spi_registry.c:
2549         Added list of legal event type names for 'window' events, which
2550         completes the registry event API.
2551
2552 2001-12-22  Marc Mulcahy  <marc.mulcahy@sun.com>
2553
2554         * at-bridge/bridge.c: Added registration for separate
2555         "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
2556         signals.  If either of the first two parameters to the generic
2557         bridge signal handler are ints, they are passed on as event
2558         details.  This allows an AT to determine what text was inserted.
2559
2560 2001-12-21  Bill Haneman <bill.haneman@sun.com>
2561
2562         * registryd/deviceeventcontroller.c:
2563         Fixed regressions in generateKeyEvent caused by the removal of
2564         gdk_init from registryd; we now use pure X calls to connect to the
2565         display, which makes sense because deviceeventcontroller already
2566         uses a fair bit of X API (should eventually be migrated to a
2567         'portability layer').
2568
2569         * registryd/desktop.c:
2570         Fixed minor regression in spi_desktop_init, changed the way the
2571         desktop name is being set to work with new spi_base API
2572         (gobject-based, rather than AtkObject-based).
2573
2574         * registryd/Makefile.am:
2575         Minor revision of makefile to use XTST_LIBS variable rather than
2576         hard-wiring the Xtst LD_ADD element.
2577
2578         * test/keysynth-demo.c:
2579         Tweaked an output message; added initialization of the
2580         'keystrings' member of the "switch listener" key_set.
2581
2582         * libspi/relation.c:
2583         Squashed compile-time warning.
2584
2585         * libspi/accessible.c:
2586         Cosmetic and formatting fixes, renamed a static method.
2587         
2588 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
2589
2590         * libspi/accessible.c 
2591         * libspi/action.c
2592         * libspi/application.c 
2593         * libspi/base.c 
2594         * libspi/base.h
2595         * libspi/component.c 
2596         * libspi/editabletext.c
2597         * libspi/hyperlink.c 
2598         * libspi/hypertext.c
2599         * libspi/image.c 
2600         * libspi/selection.c 
2601         * libspi/table.c
2602         * libspi/text.c 
2603         * libspi/value.c 
2604         * registryd/desktop.c:
2605         Changed SpiBase to contain a GObject pointer rather than an AtkObject
2606
2607 2001-12-17  Bill Haneman <bill.haneman@sun.com>
2608
2609         * idl/Accessibility_Registry.idl:
2610         Added boolean member 'is_text' to DeviceEvent.  This is for the
2611         use of key events, and helps prevent ambiguity between composed
2612         key strings and keysym names, since both may potentially be
2613         returned in the 'event_string' member.
2614
2615         * at-bridge/bridge.c:
2616         * registryd/deviceeventcontroller.c:
2617         Use the 'is_text' member when notifying device event listeners.
2618         Knon issue: composed characters are not dealt with correctly by
2619         the global key listener implementation yet.
2620         
2621 2001-12-17  Bill Haneman <bill.haneman@sun.com>
2622
2623         * at-bridge/bridge.c:
2624         Namespaced local static methods to spi_atk_bridge_* where
2625         previously named bridge_*, and spi_* elsewhere.
2626
2627         * at-bridge/bridge.c:
2628         * cspi/bonobo/cspi-bonobo-listener.c:
2629         Added demarshalling/conversion for string member of
2630         Accessibility_DeviceEvent to AccessibleKeystroke.
2631
2632         * registryd/deviceeventcontroller.c:
2633         Added code to fill the Accessibility_DeviceEvent key string value
2634         member for global key events (i.e. from XGrabKey), to match
2635         behavior of Accessibility_DeviceEvent from the toolkit key events
2636         from the bridge.  Fixed timestamp in global key event notifications.
2637
2638         * test/simple-at.c:
2639         Added printout of key event's string value to
2640         report_ordinary_key_event, for demo/debugging purposes.
2641
2642 2001-12-15  Bill Haneman <bill.haneman@sun.com>
2643
2644         * idl/Accessibility_Registry.idl:
2645         Removed Accessibility_KeyStroke structure in favor of generic
2646         Accessibility_DeviceEvent structure.
2647         Changed Accessibility_ControllerEventMask from a struct to an
2648         unsigned long.
2649
2650         * at-bridge/bridge.c:
2651         Changed APIs to use DeviceEvent structure as above, and removed
2652         bogus casting between these event structures.
2653
2654         * cspi/spi-listener.h:
2655         Added keystring member of AccessibleKeystroke structure, to enable
2656         matching on event "names" rather than only hardware codes and
2657         keysyms.
2658
2659         * cspi/spi.h:
2660         Added keystrings member of AccessibleKeySet struct, to allow
2661         matching on event names (as above).
2662         Added declarations for SPI_createAccessibleKeySet and
2663         SPI_freeAccessibleKeySet.  Due to changes in libspi, we now pass
2664         event modmasks directly as unsigned ints rather than structs with
2665         refcounts, in the DeviceEventController methods.
2666
2667         * cspi/spi_registry.c:
2668         Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
2669
2670         * cspi/spi-roletypes.h:
2671         Added documentation of newly added SPI Roles.
2672
2673         * cspi/bonobo/cspi-bonobo-listener.c:
2674         Changes in support of API changes above.
2675         
2676         * libspi/accessible.c:
2677         Converted APIs to use DeviceEvent structure (see IDL changes
2678         above). 
2679
2680         * registryd/deviceeventcontroller.c:
2681         Added DEControllerGrabMask structure to track keygrabs not only by
2682         modmask but by keyset as well; this allows us to do "global"
2683         (i.e. X) keygrabs on a per-key or keyset basis rather than always
2684         grabbing on AnyKey and then filtering after-the-fact.
2685         Bugfixes for event filtration mean that we don't get false matches
2686         on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
2687
2688         * registryd/deviceeventcontroller.c:
2689         Namespaced a number of static methods to use spi_ prefix.  Major
2690         revision to internals of global (i.e. X) key grabs.
2691
2692         * registryd/deviceeventcontroller.h:
2693         Removed keymask_list and added keygrabs_list to
2694         SpiDeviceEventController struct.
2695
2696         * test/simple-at.c:
2697         Added use of SPI_createAccessibleKeySet API when creating a
2698         listener for only one key.  Attach a listener to "shift spacebar
2699         SPI_KEY_RELEASE" as a demonstration.  Changed (incorrect) usage of
2700         X key event names to SPI key event names, so that listeners are
2701         registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
2702         
2703         * test/keysynth-demo.c:
2704         Changed (incorrect) use of X key event names (KeyPressed,
2705         KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
2706         
2707
2708 2001-12-12  Bill Haneman <bill.haneman@sun.com>
2709
2710         * libspi/accessible.c:
2711         Convert all AtkRole enumerations to Accessibility_Role enums when
2712         getting a role from an AtkObject.
2713         
2714         * cspi/spi_accessible.c:
2715         Complete the conversion of Accessibility_Role enums at runtime to
2716         AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
2717         role enums correctly match those given in spi-roletypes.h.  
2718         Re-synchronize the local names list for AccessibleRole_getName ().
2719         AccessibleRole_getName is now deprecated, since it duplicates the
2720         more reliable Accessible_getRoleName.
2721         Added some role types from Accessibility_Role.idl.
2722
2723         * idl/Accessibility_Role.idl:
2724         Added some role types used by AtkRole.
2725
2726 2001-12-12  Bill Haneman <bill.haneman@sun.com>
2727         
2728         * cspi/spi.h:
2729         * cspi/spi_registry.c:
2730         * cspi/spi_event.c:
2731         * cspi/cspi-bonobo-listener.c:
2732         Namespaced all methods that did not begin with an "SPI_" or
2733         "Accessible" prefix to "SPI_".  
2734
2735         * cspi/spi_main.c:
2736         Homogenized internal function namespace to "cspi_" for statics.
2737         
2738         * test/*.c:
2739         Patched tests to use the new CSPI API.
2740
2741         * docs/reference/cspi/at-spi-cspi-sections.txt:
2742         Updated docs to reflect namespace changes, and added a number of
2743         methods to the documentation.
2744         
2745         * registryd/registry.c:
2746         Changed use of strings and string hashes in listener event
2747         matching and parse_event_string to use GQuark, which is guaranteed
2748         unique.
2749         
2750         * registryd/registry.h:
2751         Squashed annoying warning.
2752
2753         * idl/Accessibility_Role.idl:
2754         Extended range of available Accessibility_Role values.
2755
2756         * cspi/spi_accessible.c:
2757         Re-ordered role names. 
2758
2759 2001-12-12  Bill Haneman <bill.haneman@sun.com>
2760
2761         * idl/Accessibility_Value.idl:
2762         Revert use of union back to CORBA_double, since the double type is
2763         more efficient and can contain the other types without loss of
2764         precision.
2765
2766         * idl/Accessibility_Accessible.idl:
2767         Added method Accessibility:Accessible:getRoleName, to complement
2768         Accessibility:Accessible:getRole.
2769
2770         * cspi/spi_accessible.c:
2771         * cspi/spi.h:
2772         Added C binding for above, Accessible_getRoleName (), and changed
2773         signature of Accessible_getRole () to return an AccessibleRole.
2774
2775         * cspi/spi-roletypes.h:
2776         Changed AccessibleRole_getName to return a char * instead of a
2777         const char *.  This method is now at least temporarily deprecated 
2778         in favor of asking Accessibles for their RoleNames directly.
2779
2780         * libspi/value.c:
2781         Revert to match Accessibility_Value.idl;
2782
2783         * cspi/spi_value.c:
2784         * cspi/spi.h:
2785         Change signature of AccessibleValue methods to use double rather
2786         than float.
2787
2788         * cspi/spi.h:
2789         * cspi/spi_accessible.c:
2790         Changed Accessible_getRole to return an AccessibleRole enum rather
2791         than a UTF-8 string.  The UTF-8 string can still be obtained via
2792         AccessibleRole_getName ().
2793         
2794         * test/test-simple.c:
2795         Add test_action.  Small fixup to match API change to Accessible_getRole.
2796
2797         * libspi/action.c:
2798         Bugfix for get_action_from_servant ().
2799
2800 2001-12-11  Michael Meeks  <michael@ximian.com>
2801
2802         * libspi/libspi.h: remove registry.h and
2803         desktop.h, deviceeventcontroller.h
2804
2805         * libspi/Makefile.am: remove registry.[ch],
2806         desktop.[ch], deviceeventcontroller.[ch]
2807
2808         * registryd/Makefile.am: add registry.[ch],
2809         desktop.[ch], rename registryd.c to registry-main.c.
2810         add deviceeventcontroller.[ch]
2811
2812 2001-12-11  Bill Haneman <bill.haneman@sun.com>
2813
2814         * test/simple-at.c:
2815         Replace setenv() call with putenv ().
2816
2817         * libspi/component.c:
2818         Bugfix in AccessibleComponent_getExtents (),
2819         (from Adi Dascal).
2820         
2821 2001-12-11  Michael Meeks  <michael@ximian.com>
2822
2823         * libspi/image.c (impl_getImageExtents): impl.
2824         (spi_image_class_init): upd.
2825
2826         * cspi/spi_image.c
2827         (AccessibleImage_getImageDescription): fix daft bug
2828         of mine (doh).
2829
2830         * test/test-simple.c (global_listener_cb): update
2831         to only quit if not --poke
2832         (main): catch --poke.
2833         (validate_accessible): upd. dumping, call test_image
2834         (test_image): impl.
2835
2836         * libspi/Makefile.am (IDL_DEPS): fixup the IDL
2837         dependencies.
2838
2839         * idl/Accessibility.idl: update all IDL includes.
2840
2841         * idl/*.idl - rename to namespace - this sucks, blame
2842         mjs' bad decision for oafd.
2843
2844         * test/test-simple.c (create_test_window): add more tests.
2845         (create_tree): split this out.
2846         (validate_accessible): bugfix.
2847
2848 2001-12-11  Michael Meeks  <michael@ximian.com>
2849
2850         * cspi/bonobo/cspi-bonobo-listener.c: 
2851         (cspi_kestroke_listener_unref),
2852         (cspi_event_listener_unref): impl. undoing previous
2853         homenous environment - for Bill.
2854
2855         * cspi/spi_table.c (long_seq_to_array): use
2856         malloc instead.
2857
2858         * cspi/spi_main.c: split out all bonoboish bits into
2859         bonobo/
2860
2861         * cspi/spi-impl.h: upd. typedefs.
2862
2863         * cspi/spi_registry.c: update to lowlevel API,
2864         return booleans to indicate success in some places.
2865
2866         * cspi/spi_event.c: update to lowlevel API.
2867
2868         * cspi/bonobo/Makefile.am: add.
2869
2870         * cspi/bonobo/cspi-lowlevel.h: add
2871
2872         * cspi/bonobo/cspi-bonobo.c: add
2873
2874         * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
2875
2876         * cspi/Makefile.am: remove spi-listener-impl.[ch],
2877         (SUBDIRS): add bonobo, link in the libs.
2878
2879         * cspi/spi-util.c: kill this file.
2880
2881         * TODO: merge in my bits.
2882
2883 2001-12-11  Michael Meeks  <michael@ximian.com>
2884
2885         * test/test-simple.c (test_value, test_table, main):
2886         remove unused variables causing warnings.
2887
2888         * configure.in: cleanup checks - require gail.
2889
2890 2001-12-11  Bill Haneman  <bill.haneman@sun.com>
2891
2892         * idl/Value.idl:
2893         Changed Value interface to use SValue (scalars) rather than
2894         assuming all values are floats.  This allows floats, doubles,
2895         longs, shorts, and unsigned values to be manipulated.
2896         Introduced Accessibility:SValue union.
2897
2898         * libspi/value.c:
2899         Updated to use new API above, and to work correctly with GValues
2900         of different types in AtkValue.
2901
2902         * cspi/spi_value.c:
2903         Updated to use new API above.  cspi's API is as yet unchanged.
2904
2905         * TODO: 
2906         Updated the Value revision action item.
2907         
2908 2001-12-10  Bill Haneman  <bill.haneman@sun.com>
2909
2910         * test/test-simple.c:
2911         Added test_table (GtkTreeView widget in test window to follow).
2912         Un-commented test_value, added GtkRange widget.
2913         Added GtkTreeView widget with GtkListStore.  It passes regression
2914         test but leaks one SPI object for some reason.
2915
2916         * libspi/value.c:
2917         Fixed bug in impl__set_currentValue.
2918
2919 2001-12-10  Michael Meeks  <michael@ximian.com>
2920
2921         * cspi/spi_text.c: audit for exception handling,
2922         tolerating NULL object references safely etc.
2923
2924         * cspi/spi_value.c: ditto.
2925
2926         * cspi/spi_table.c (AccessibleTable_getSummary),
2927         (AccessibleTable_getAccessibleAt),
2928         (AccessibleTable_getRowHeader),
2929         (AccessibleTable_getColumnHeader),
2930         (AccessibleTable_getCaption): fix bugs hidden by
2931         incorrect casts.
2932         (long_seq_to_array): impl.
2933         (AccessibleTable_getSelectedRows),
2934         (AccessibleTable_getSelectedColumns): use it.
2935
2936 2001-12-10  Bill Haneman  <bill.haneman@sun.com>
2937
2938         * TODO:
2939         Added a TODO list (rough and short for now).
2940
2941         * cspi/spi_hyperlink.c:
2942         * cspi/spi_hypertext.c:
2943         Fixed macro name typos, and remove use of obsolete macro in 
2944         AccessibleHyperlink_getLink.
2945
2946         * cspi/spi_action.c:
2947         * cspi/spi_accessible.c:
2948         * cspi/spi_application.c:
2949         * cspi/spi_component.c:
2950         * cspi/spi_selection.c:
2951         * cspi/spi_text.c:
2952         * cspi/spi_value.c:
2953         Documentation fixes (removed return values from ref/unref methods).
2954
2955 2001-12-10  Michael Meeks  <michael@ximian.com>
2956
2957         * cspi/spi_action.c: audit for exception handling,
2958         tolerating NULL object references safely etc.
2959
2960         * cspi/spi_accessible.c: ditto.
2961
2962         * cspi/spi_component.c: ditto.
2963
2964         * cspi/spi_editabletext.c: ditto.
2965
2966         * cspi/spi_hyperlink.c: ditto.
2967
2968         * cspi/spi_hypertext.c: ditto.
2969
2970         * cspi/spi_image.c: ditto.
2971
2972         * cspi/spi_selection.c: ditto.
2973
2974 2001-12-10  Michael Meeks  <michael@ximian.com>
2975
2976         * configure.in: use cspi/libspi.pc.in instead.
2977
2978         * Makefile.am (pkgconfig_DATA): upd. to match.
2979
2980         * test/simple-at.c (report_focus_event): kill hacks around
2981         bad return values, use putenv not setenv
2982
2983         * libspi/desktop.c (impl_desktop_get_child_at_index): don't
2984         fire ChildGone - I killed it.
2985
2986         * libspi/component.c
2987         (impl_accessibility_component_get_extents): remove
2988         bogus return.
2989
2990         * idl/Accessible.idl: kill ChildGone exception.
2991
2992         * cspi/*.[ch]: kill int return from ref / unref.
2993         
2994         * cspi/spi_main.c (cspi_object_add_check): fold into
2995         (cspi_object_add): here.
2996
2997         * cspi/spi_component.c (AccessibleComponent_getExtents):
2998         handle exceptions elegantly.
2999
3000         * cspi/spi-private.h (cspi_check_ev_return),
3001         (cspi_return_if_fail): impl.
3002
3003         * cspi/spi_accessible.c: use extensively.
3004         (AccessibleStateSet_equals): add direct compare check.
3005
3006         * cspi/spi_selection.c: tolerate NULL objs, and check
3007         exceptions before return.
3008
3009         * cspi/spi-util.c (cspi_warn_ev): rename to
3010         (cspi_check_ev): this & don't pass ev in; no point.
3011
3012 2001-12-10  Michael Meeks  <michael@ximian.com>
3013
3014         * test/test-simple.c: use putenv not setenv
3015         (get_environment_vars): more chatty if you're not using
3016         the fun bits.
3017
3018         * test/simple-at.c: do the setenv so more people see the
3019         nice demo easily.
3020
3021 2001-12-10  Bill Haneman <bill.haneman@sun.com>
3022
3023         * libspi/registry.c:
3024         Changed check of CORBA_environment on notification to be a warning
3025         instead of an error for the moment, since we can recover from this
3026         error when caused by a queued notification from a dead app.
3027         
3028         * libspi/value.c:
3029         Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3030         used by all current implementors of AtkValue), and coerce to
3031         CORBA_float. (Proper general case fix may require change to Value.idl).
3032
3033 2001-12-09  Bill Haneman <bill.haneman@sun.com>
3034
3035         * cspi/spi.h:
3036         * cspi/spi_event.c:
3037         * cspi/spi_accessible.c:
3038         Documentation fixes: added user_data params to documentation for 
3039         listeners and callbacks.  
3040
3041         * cspi/spi_accessible.c: 
3042         Changed AccessibleStateSet_compare to return a
3043         StateSet rather than return the difference set into a third parameter.
3044         
3045         
3046 2001-12-09  Bill Haneman <bill.haneman@sun.com>
3047
3048         * configure.in:
3049         Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3050         remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3051         it). 
3052
3053         * Makefile.am:
3054         Remove subdirectory po from SUBDIRS for now.
3055
3056         * at-bridge/bridge.c:
3057         Beefed up a couple of debug printouts.
3058         One-line fix for signal notification name formatting.
3059
3060         * libspi/accessible.c:
3061         Added assertion to spi_accessible_new ().
3062
3063         * libspi/application.c:
3064         Put #ifdef qualifiers around a printf.
3065
3066         * libspi/value.c:
3067         Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3068
3069         * registryd/Makefile.am:
3070         * util/Makefile.am:
3071         Replaces use of XML_I18N_MERGE_SERVER_RULE with
3072         INTLTOOL_SERVER_RULE macro.
3073
3074         * test/simple-at.c:
3075         Added an event listener for several ATK signals, for
3076         testing and debugging.  Removed a few g_warnings.
3077         Added test output if focussed item implements the Value interface.
3078
3079         * test/test-simple.c:
3080         Added test_value () function (known not to pass at the moment, so
3081         not actually called yet.
3082         
3083 2001-12-08  Michael Meeks  <michael@ximian.com>
3084
3085         * at-bridge/bridge.c (bridge_focus_tracker),
3086         (emit_eventv): fix the same ref. leak.
3087         (register_atk_event_listeners): don't leak.
3088
3089         * cspi/spi-listener-impl.c (cspi_event): more 
3090         protection from client code.
3091
3092         * test/test-simple.c (test_desktop): unref the app.
3093
3094         * test/Makefile.am: upd. TESTS.
3095
3096         * at-bridge/bridge.c (bridge_exit_func): release the registry.
3097
3098         * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3099
3100         * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3101
3102         * cspi/spi_registry.c: constify in strings.
3103         (deregisterGlobalEventListenerAll): don't release the ref.
3104
3105         * cspi/spi.h: start removing redundant / conflicting
3106         gtkdoc comments, making the API readable at a glance :-)
3107         
3108         * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3109
3110         * test/keysynth-demo.c (keysynth_exit, main): upd.
3111
3112         * test/simple-at.c (main, simple_at_exit): upd.
3113
3114         * test/test-simple.c (unutterable_horror): kill.
3115         (utterable_normal_derefs): kill.
3116         (main): upd & do a setenv before gtk_init, so that we
3117         can use memprof - and to save the pain of remembering
3118         this, if we're running under memprof - don't exit.
3119
3120         * cspi/spi_main.c (SPI_exit): return exit status
3121         for cspi.
3122         (SPI_event_quit): impl.
3123         (SPI_event_main): simplify.
3124         (cspi_is_gnome_app): kill.
3125         (SPI_init): kill isGNOMEapp arg.
3126
3127         * at-bridge/bridge.c (register_atk_event_listeners):
3128         re-instate the unref.
3129         (bridge_exit_func): don't re-activate the registry,
3130         protect vs. theoretical re-entry, use the
3131         AT_BRIDGE_SHUTDOWN env. var to determine whether to
3132         assert a clean shutdown - for regression tests.
3133
3134 2001-12-08  Abel Cheung  <maddog@linux.org.hk>
3135
3136         * configure.in: Comment out dummy i18n support for now,
3137           otherwise it fails to build.
3138         * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3139           EXTRA_DIST. They are missing in tarball.
3140
3141 2001-12-07  Michael Meeks  <michael@ximian.com>
3142
3143         * util/magnifier.c: kill bonobo activation reg. race.
3144
3145         * libspi/component.c
3146         (impl_accessibility_component_get_extents): make it match
3147         it's sig.
3148
3149         * libspi/registry.c (_registry_notify_listeners):
3150         re-remove X headers & reconcile conflicts.
3151         (spi_listener_struct_free): bad conflict resolve.
3152         (impl_accessibility_registry_register_application):
3153         more bad merging fixed.
3154         (impl_accessibility_registry_deregister_application): ditto.
3155         (spi_registry_new): ditto.
3156         (spi_registry_init): don't have an applications field.
3157
3158 [ merge fixups2 branch to here ]
3159 2001-12-07  Michael Meeks  <michael@ximian.com>
3160
3161         * test/simple-at.c (report_focus_event),
3162         (report_focussed_accessible): remove g_warning debug.
3163
3164 2001-12-07  Michael Meeks  <michael@ximian.com>
3165
3166         * test/test-simple.c (validate_tree): comment out some checks.
3167         (test_desktop): app now not registered idly - horay.
3168
3169 2001-12-07  Michael Meeks  <michael@ximian.com>
3170
3171         * cspi/spi_registry.c
3172         (registerAccessibleKeystrokeListener): clean, stop it leaking
3173         great swathes of memory, and device event controller references.
3174         ensure we always pass valid sequences.
3175         (deregisterAccessibleKeystrokeListener): ditto.
3176         (generateKeyEvent): upd.
3177
3178         * at-bridge/bridge.c (bridge_key_listener): handle
3179         registry dead exception gracefully.
3180         (bridge_focus_tracker, emit_eventv): free ev.
3181
3182         * test/simple-at.c (report_focus_event): fix polarity.
3183
3184         * libspi/application.c (notify_listeners): kill the ev
3185         argument, and make sure we init the ev we use.
3186         (spi_application_object_event_listener): split out a chunk
3187         (get_atk_object_ref): here & fixup.
3188         (reverse_lookup_name_for_toolkit_event): make const.
3189         (spi_application_toolkit_event_listener): fixup, kill leaks
3190         ref problems etc.
3191
3192         * at-bridge/bridge.c (register_atk_event_listeners):
3193         don't unref the noop object - causes grief.
3194
3195         * libspi/registry.c: remove the X headers.
3196         turn off the debug churn.
3197
3198         * libspi/accessible.c (spi_accessible_new_return): only
3199         release the ref if we are supposed to [doh]
3200
3201         * test/simple-at.c (report_button_press, report_focus_event):
3202         guard vs. unexpected exit.
3203
3204         * at-bridge/bridge.c (gtk_module_init): prune printf.
3205         (bridge_exit_func): fix app unref.
3206
3207         * libspi/Makefile.am: don't install registry or desktop.h
3208
3209         * libspi/*.h: update includes.
3210
3211         * libspi/application.h: don't include ourself, or
3212         other redundant headers.
3213
3214 2001-12-06  Michael Meeks  <michael@ximian.com>
3215
3216         * libspi/accessible.c
3217         (get_accessible_from_servant): impl.
3218         Upd. all CORBA impl.s to use it killing cut and paste.
3219
3220         * cspi/spi_main.c (cspi_cleanup): guard vs. double
3221         invokes.
3222         (SPI_init): register atexit cleanup handler here.
3223
3224 2001-12-06  Michael Meeks  <michael@ximian.com>
3225
3226         * at-bridge/bridge.c (gtk_module_init): g_error on
3227         activation exception
3228
3229 2001-12-06  Michael Meeks  <michael@ximian.com>
3230
3231         * at-bridge/bridge.c (gtk_module_init): some sort of
3232         confusing merge clash - reverted.
3233         (bridge_idle_init): ditto.
3234
3235         * test/test-simple.c (main, utterable_normal_derefs):
3236         merge from Bill - somehow not committed.
3237
3238 2001-12-06  Michael Meeks  <michael@ximian.com>
3239
3240         * libspi/value.c (spi_value_class_init): upd.
3241         (spi_value_finalize): kill.
3242
3243         * libspi/table.c (spi_table_finalize): kill.
3244         (spi_table_interface_new): upd.
3245         (spi_table_class_init): upd.
3246         (get_table_from_servant): impl.
3247         Upd. all CORBA impl.s to use it killing yet more cut and paste.
3248
3249         * libspi/selection.c (spi_selection_finalize): kill.
3250         (spi_selection_interface_new): upd.
3251         (spi_selection_class_init): upd.
3252         (get_selection_from_servant): impl.
3253         Upd. all CORBA impl.s to use it killing yet more cut and paste.
3254
3255         * libspi/relation.c (spi_relation_finalize): kill.
3256         (spi_relation_class_init, spi_relation_new): upd
3257
3258         * libspi/image.c (spi_image_finalize): kill.
3259         (spi_image_class_init): upd.
3260         (spi_image_interface_new): upd.
3261         (get_image_from_servant): impl.
3262         Upd. all CORBA impl.s to use it killing yet more cut and paste.
3263
3264         * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
3265         (spi_hyperlink_finalize): kill.
3266         (spi_hyperlink_new): upd.
3267         (get_hyperlink_from_servant): impl.
3268         Upd. all CORBA impl.s to use it killing yet more cut and paste.
3269
3270         * libspi/hypertext.c (spi_hypertext_interface_new): upd.
3271         (spi_hypertext_finalize): kill.
3272         (spi_hypertext_class_init): upd.
3273         (get_hypertext_from_servant): impl.
3274         Upd. all CORBA impl.s to use it killing yet more cut and paste.
3275
3276         * libspi/editabletext.c (spi_editable_text_finalize): kill.
3277         (spi_editable_text_interface_new): upd.
3278         (get_editable_text_from_servant): impl.
3279         Upd. all CORBA impl.s to use it killing yet more cut and paste.
3280         
3281         * libspi/text.c (get_text_from_servant): impl.
3282         All impls - update to use it killing more cut and paste,
3283         also fix bad string returns on duff args ( a somewhat
3284         impossible case to handle - but hey ).
3285         (spi_text_construct): impl.
3286         (spi_text_interface_new): upd.
3287         (spi_text_object_finalize): kill.
3288
3289         * libspi/component.c
3290         (accessibility_component_object_finalize): kill.
3291         (spi_component_class_init): upd.
3292         (get_component_from_servant): impl. helper to kill cut & paste.
3293         (impl_accessibility_component_contains): 
3294         (impl_accessibility_component_get_accessible_at_point): 
3295         (impl_accessibility_component_get_position): 
3296         (impl_accessibility_component_get_extents): 
3297         (impl_accessibility_component_get_mdi_z_order): 
3298         (impl_accessibility_component_get_layer): 
3299         (spi_component_interface_new): upd.
3300
3301         * libspi/action.c (spi_action_finalize): kill.
3302         (spi_action_class_init): upd. inherit from SpiObject.
3303         (spi_action_interface_new): upd.
3304         (get_action_from_servant): impl. helper to reduce cut & paste.
3305         (impl_getKeyBinding, impl_getName, impl_doAction),
3306         (impl_getDescription): Use it everywhere.
3307
3308         * cspi/spi_main.c (get_live_refs): a pointer hash.
3309         (spi_object_hash, spi_object_equal): comment out.
3310         There are issues with CORBA object hashing that need
3311         solving.
3312
3313         * libspi/application.c (spi_application_init),
3314         (spi_application_new): upd.
3315
3316         * libspi/accessible.c (spi_accessible_object_finalize): kill.
3317         (spi_accessible_class_init): upd.
3318         s/accessible/object/ in epv methods.
3319
3320 2001-12-05  Bill Haneman <bill.haneman@sun.com>
3321
3322         * at-bridge/bridge.c:
3323         Reorder the bridge initialization into the bridge gtk_module_init,
3324         an immediate call to bridge_register_app, and an idle_add for
3325         register_atk_event_listeners (the only code that *must* wait until
3326         GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
3327         the activation, creates the application's Accessible object, and
3328         queues the bridge_idle_init function.  Restored call to
3329         Accessibility_Registry_deregisterApplication().  
3330         Prior to making this call we obtain a new reference to the
3331         registry, which is a temporary hack that helps us handle apps that
3332         shut down the bonobo mainloop before we get there.
3333
3334         * libspi/registry.c:
3335         Fix string leakage in debug block, and don't segv if a an app
3336         dies before its event notifications have been propagated.
3337
3338         * cpi/spi_util.c:
3339         Modify cspi_check_ev() to call g_warning() rather than g_error(),
3340         as stopgap measure until we get proper exception handling when 
3341         objects die during or before interrogation.  
3342
3343         * cspi/spi_main.c:
3344         * cspi/spi.h:
3345         Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
3346         Also changed default value of is_gnome_app to TRUE.
3347
3348         * test/simple-at.c:
3349         * test/keysynth-demo.c:
3350         Changed use of SPI_init and SPI_event_main to reflect API change above.
3351
3352         * test/simple-at.c:
3353         Made report_focus_event check the warning value from getName
3354         before reporting on focussed accessible; simplifies handling of
3355         notifications from dead objects.
3356
3357         * test/test-simple.c: (Changes not in this patch since source is
3358         not in CVS ?)
3359         
3360 2001-12-05  Michael Meeks  <michael@ximian.com>
3361
3362         * registryd/registryd.c (main): protect against
3363         bonobo-activation startup race condition.
3364
3365         * cspi/spi_main.c (cspi_object_add_check): cope
3366         with the exception elegantly.
3367
3368         * idl/Accessible.idl: decl. ChildGone
3369
3370         * libspi/desktop.c (spi_desktop_dispose): impl.
3371         (spi_desktop_class_init): upd.
3372         (spi_desktop_add_application),
3373         (spi_desktop_remove_application),
3374         (abnormal_application_termination): impl.
3375         (impl_desktop_get_child_at_index): re-impl.
3376
3377         * libspi/registry.c
3378         (impl_accessibility_registry_deregister_application),
3379         (impl_accessibility_registry_register_application): 
3380         kill excessive debug clutter.
3381
3382         * test/test-simple.c (test_misc): test some NULL
3383         tolerance. (main): upd.
3384
3385         * cspi/spi_main.c (cspi_accessible_is_a): a NULL
3386         implements no interfaces - so let's not crash.
3387
3388         * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
3389
3390         * libspi/accessible.c (spi_accessible_new_return): impl.
3391         helper to calm the cut and paste, to cope with
3392         NULL AtkObjects effectively and efficiently, and to kill
3393         the referencing bugs.
3394
3395         * libspi/table.c (impl_getAccessibleAt),
3396         (impl_getRowHeader, impl_getColumnHeader): upd.
3397
3398         * libspi/hyperlink.c (impl_getObject): upd.
3399
3400         * libspi/accessible.c
3401         (impl_accessibility_accessible_get_child_at_index): upd.
3402
3403         * libspi/component.c
3404         (impl_accessibility_component_get_accessible_at_point): upd.
3405
3406         * test/test-simple.c (test_editable_text, test_text): impl.
3407         some simple tests.
3408
3409         * cspi/spi_editabletext.c
3410         (AccessibleEditableText_insertText): constify.
3411
3412         * test/test-simple.c (focus_me): make more robust.
3413
3414         * libspi/accessible.c: remove some printfs in methods that
3415         we test and work fine, so we can get a clean tree dump.
3416
3417         * test/test-simple.c (validate_accessible),
3418         (validate_tree): make tree dumping pretty too.
3419
3420         * at-bridge/bridge.c (bridge_signal_listener): upd. so
3421         it builds without debug on.
3422
3423         * test/test-simple.c (validate_accessible): fix the most
3424         ludicrous bug.
3425
3426         * cspi/spi_main.c (spi_object_release): leave the nicely
3427         blanked memory around if in debug mode.
3428
3429         * cspi/spi-listener-impl.c (cspi_event): use add_check.
3430
3431 [committed to fixups2]
3432 2001-12-05  Michael Meeks  <michael@ximian.com>
3433
3434         * libspi/editabletext.c
3435         (spi_editable_text_class_init): g_type_class_peek_parent,
3436         not interface peek - so we finalize cleanly.
3437
3438         * libspi/accessible.c (spi_accessible_new): kill debug.
3439
3440         * test/test-simple.c (validate_accessible): fix ref.
3441         leak, print strings before freeing them; sigh, comment a
3442         chunk out due to strangeness.
3443         (validate_tree): unref the child after use.
3444
3445         * cspi/spi_component.c (AccessibleComponent_getLayer):
3446         add missing break statement, switch on zlayer not the
3447         uninitialized retval.
3448
3449         * cspi/spi_main.c (cspi_object_add): add assert, local ref
3450         before (possibly re-entering) remote unref.
3451
3452         * test/simple-at.c (main): unref the desktop.
3453
3454         * cspi/spi_accessible.c (cspi_accessible_is_a): move 
3455         into:
3456         
3457         * cspi/spi_main.c (cspi_accessible_is_a): here to 
3458         isolate bonobo API usage more.
3459
3460         * libspi/registry.c (impl_accessibility_registry_register_application): 
3461         prune bogus comment.
3462
3463 2001-12-04  Michael Meeks  <michael@ximian.com>
3464
3465         * test/test-simple.c (validate_tree): upd.
3466         IndexInParent check to make it more lucid.
3467         (validate_accessible): dump the tree.
3468
3469         * libspi/accessible.c (de_register_public_ref),
3470         (get_public_refs): impl.
3471         (spi_accessible_new): make more efficient & intuitive.
3472         Now IndexInParent check works.
3473
3474 2001-12-04  Michael Meeks  <michael@ximian.com>
3475
3476         * cspi/spi-util.h: remove.
3477
3478         * cspi/spi.h: move SPI_freeString here
3479
3480         * libspi/component.c (impl_accessibility_component_get_layer): 
3481         warning fixage.
3482         (impl_accessibility_component_get_mdi_z_order): ditto,
3483         return -1 on error - is this ok ?
3484
3485         * test/test-simple.c (test_application): impl.
3486
3487         * cspi/spi_accessible.c (Accessible_getApplication),
3488         (Accessible_isApplication): impl.
3489
3490         * libspi/registry.c (spi_listener_struct_free): release
3491         the CORBA reference too.
3492
3493         * libspi/accessible.c
3494         (impl_accessibility_accessible_get_parent): fix ref leak.
3495
3496         * libspi/registry.c (spi_registry_new): make the registry
3497         immortal - we don't want it to go away ever.
3498
3499         * libspi/application.c
3500         (spi_accessible_application_finalize): impl. cleanup.
3501
3502         * cspi/spi_registry.c
3503         (deregisterGlobalEventListenerAll),
3504         (deregisterGlobalEventListener),
3505         (deregisterAccessibleKeystrokeListener): fix ref leak.
3506
3507         * cspi/spi_main.c (SPI_init): remove redundant ref.
3508
3509         * test/test-simple.c (unutterable_horror): impl. to force a
3510         clean shutdown.
3511         (main): use it.
3512
3513         * libspi/registry.c
3514         (impl_accessibility_registry_deregister_application): release
3515         the application when we de-register it.
3516
3517         * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
3518         until we have the infastructure to get it right.
3519
3520 2001-12-03  Michael Meeks  <michael@ximian.com>
3521
3522         * libspi/Makefile.am: only build eventlistener.[ch]
3523
3524         * libspi/accessible.c
3525         (impl_accessibility_accessible_get_child_at_index): don't leak.
3526
3527         * at-bridge/bridge.c (bridge_exit_func): cope with an exit
3528         before we hit the idle handler.
3529
3530         * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
3531         debugging than exit.
3532
3533         * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
3534
3535         * libspi/listener.c (impl_notify_event): check source
3536         not NIL before unref.
3537
3538         * libspi/registry.c (impl_registry_notify_event): ditto.
3539
3540         * libspi/eventlistener.c
3541         (impl_accessible_event_notify_event): unref the source.
3542
3543         * libspi/accessibleeventlistener.c
3544         (impl_accessible_event_notify_event): unref the source.
3545
3546         * idl/Event.idl: remove 'hash_id' attribute - of no
3547         concievable use.
3548
3549         * libspi/application.c (notify_listeners): upd list
3550         iteration & sig.
3551         (spi_application_object_event_listener), 
3552         (spi_application_toolkit_event_listener): upd to do correct
3553         CORBA ref counting.
3554
3555         * libspi/registry.c
3556         (_registry_notify_listeners): update.
3557         (parse_event_type): this method also leaks like a sieve.
3558         (impl_accessibility_registry_deregister_global_event_listener): 
3559         fix ETYPE_WINDOW case.
3560
3561         * libspi/application.c
3562         (impl_accessibility_application_register_object_event_listener): 
3563         kill leak.
3564
3565         * libspi/hyperlink.c (impl_getObject): fix ref mistake.
3566
3567         * libspi/hypertext.c (impl_getLink): ditto.
3568
3569         * cspi/spi_main.c (cspi_object_add): remove
3570         bogus CORBA_Object_duplicate.
3571
3572         * cspi/spi-listener-impl.c (cspi_event): dup/ref
3573         on the object_add.
3574
3575         * cspi/spi_accessible.c
3576         (Accessible_getRelationSet): fix leak / referencing issue.
3577
3578         * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
3579         (cspi_object_add, cspi_object_unref): upd.
3580         (spi_object_release, get_live_refs): impl.
3581         (cspi_cleanup): simplify.
3582
3583         * *.[ch]: s/boolean/SpiBoolean/
3584
3585         * cspi/spi_accessible.c (role_names): actualy order so it
3586         corresponds with the enum !
3587
3588         * test/test-simple.c (test_roles): check some role strings
3589         vs. enums to detect offset errors.
3590
3591 2001-12-01  Michael Meeks  <michael@ximian.com>
3592
3593         * cspi/spi_main.c (cspi_object_add_check): impl. helper.
3594
3595         * cspi/spi_accessible.c (Accessible_getChildAtIndex):
3596         check ev before 
3597         (Accessible_getChildAtIndex): use cspi_add_check so we
3598         check the ev before using a (possibly) invalid value.
3599
3600         * libspi/accessible.c
3601         (impl_accessibility_accessible_get_parent): don't segv
3602         on a NULL parent.
3603
3604         * at-bridge/bridge.c (gtk_module_init): upd.
3605         (bridge_property_event_listener): don't leak strings
3606         and events !
3607         (bridge_state_event_listener),
3608         (bridge_property_event_listener): don't use a static
3609         buffer in case of recursive event emission &
3610         re-enterancy - split out the swathe of cut and paste
3611         into:
3612         (emit_eventv): and fix 2 ref leaks here & comply to the
3613         coding style.
3614         (bridge_register_app): rename to 
3615         (bridge_idle_init): this and kill arg parsing, split
3616         various inits & bonobo-activation registration to module
3617         init time, kill referencing error.
3618         (bridge_exit_func): fix the same leak.
3619         (bridge_focus_tracker): don't leak event structures
3620         and strings.
3621         (bridge_signal_listener): more leakage and cut & paste
3622         fixage.
3623         (bridge_key_listener): return the result - FIXME is
3624         this polarity correct ?
3625         (accessibility_keystroke_from_atk_key_event): rename
3626         (accessibility_init_keystroke_from_atk_key_event): and stop
3627         leakage.
3628         (gtk_module_init): return a value - not that it is checked by
3629         Gtk - but hey.
3630         (bridge_key_listener): register my horror at casting between
3631         IDL defined structs.
3632         (bridge_get_registry): kill - not used.
3633
3634         * cspi/spi_accessible.c (Accessible_getRole): make return const.
3635
3636         * test/test-simple.c (test_roles): impl.
3637         (test_desktop, validate_accessible, validate_tree): impl.
3638
3639         * cspi/spi_accessible.c (role_names): fixup bogus
3640         MAX_ROLES setup, make constants const for efficient linkage
3641         (AccessibleRole_getName): conform to coding style, make
3642         return 'const'
3643
3644 2001-11-30  Michael Meeks  <michael@ximian.com>
3645
3646         * cspi/spi.h: add missing prototype.
3647
3648         * libspi/registry.c (spi_listener_struct_new): fix sig.
3649
3650         * test/Makefile.am: add test-simple
3651
3652         * test/test-simple.c: add
3653
3654         * test/test.sh: add.
3655
3656         * cspi/spi_main.c (SPI_init): make SPI_inited module global,
3657
3658         * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
3659         do it straight - since otherwise we often get an activation race.
3660
3661 [ work before Bill duplicated a chunk of it ... ]
3662 2001-11-30  Michael Meeks  <michael@ximian.com>
3663
3664         * libspi/keystrokelistener.c
3665         (spi_keystroke_listener_class_init): fixup arg
3666         count (doh).
3667
3668         * libspi/eventlistener.c
3669         (spi_event_listener_class_init): ditto.
3670
3671         * tests/test.sh: add.
3672
3673         * cspi/spi-listener-impl.h: update macros.
3674
3675         * cspi/spi-listener-impl.c
3676         (cspi_event_listener_remove_callback): add
3677         correct pre-conditions.
3678
3679         * cspi/spi_main.c (SPI_exit): guard vs. double
3680         exits, exit the mainloop nicely.
3681         (SPI_event_main): make more sense.
3682         (SPI_init): move the atexit evilness here so we
3683         always do it (yuck).
3684         (SPI_event_main): upd.
3685
3686         * test/simple-at.c: update for listener changes.
3687
3688         * registryd/registryd.c (main): prune kruft.
3689
3690         * libspi/libspi.h: upd.
3691
3692         * libspi/eventlistener.[ch]: rename broken macros.
3693
3694         * libspi/accessibleeventlistener.[ch]: remove.
3695
3696         * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
3697
3698         * test/test-simple.c: Add - automated tests.
3699
3700         * cspi/spi-listener-impl.c (cspi_event),
3701         (cspi_key_event): add user_data to invoke.
3702         (cspi_keystroke_listener_finalize): impl.
3703         (cspi_keystroke_listener_class_init): upd.
3704
3705         * cspi/spi_event.c
3706         (createAccessibleEventListener),
3707         (AccessibleEventListener_addCallback),
3708         (createAccessibleKeystrokeListener),
3709         (AccessibleKeystrokeListener_addCallback): upd.
3710
3711         * libspi/deviceeventcontroller.c
3712         (spi_device_event_controller_check_key_event): add public proto.
3713
3714         * libspi/registry.c
3715         (impl_accessibility_registry_deregister_global_event_listener): 
3716         always init listeners.
3717         (_registry_notify_listeners): yes it is.
3718
3719         * cspi/spi-listener-impl.c (cspi_key_event): 
3720         move debug to here.
3721         (cspi_event_listener_finalize): impl.
3722         (cspi_event_listener_class_init): hook up.
3723         (event_handler_new, event_handler_free),
3724         (event_list_remove_by_callback): impl.
3725         (cspi_event_listener_remove_callback),
3726         (cspi_keystroke_listener_remove_callback),
3727         (cspi_keystroke_listener_add_callback),
3728         (cspi_event_listener_add_callback): upd.
3729
3730         * libspi/keystrokelistener.c
3731         (keystroke_listener_object_finalize): kill
3732         (spi_keystroke_listener_class_init): upd.
3733         (spi_keystroke_listener_add_callback),
3734         (spi_keystroke_listener_remove_callback): kill,
3735         use signals.
3736         (impl_key_event): prune drasticaly.
3737
3738         * libspi/eventlistener.c
3739         (spi_event_listener_add_callback),
3740         (spi_event_listener_remove_callback): kill, use
3741         signals.
3742         (impl_accessible_event_notify_event): upd.
3743         (spi_event_listener_object_finalize): remove.
3744
3745         * libspi/Makefile.am: use eventlistener.[ch]
3746
3747 2001-12-04  Bill Haneman  <bill.haneman@sun.com>
3748
3749         * libspi/registry.c (_registry_notify_listeners):
3750         Changed listener loop iteration to use preferred convention.
3751         Got rid of string memory leaks caused be calling g_strconcat
3752         inside function calls.
3753
3754         * libspi/registry.c (parse_event_type):
3755         Stopped g_strconcat memory leaks, free the g_strsplit return,
3756         g_strdup the split pieces when used, etc.
3757
3758 2001-12-04  Bill Haneman  <bill.haneman@sun.com>
3759
3760         * idl/State.idl: 
3761         Change method 'compare' to return a 'difference set' rather than
3762         taking a StateSet as an out parameter (more Java-friendly).
3763
3764         * idl/Accessible.idl:
3765         Added CORBA struct 'BoundingBox', to faciliate API changes below:
3766         
3767         * idl/Component.idl:
3768         * idl/Image.idl:
3769         Changed methods 'getExtents' and 'getImageExtents' in these
3770         interfaces to return a BoundingBox structure.  
3771         (getPosition and getSize are redundant and possibly should be
3772         removed, rather than creating a corresponding Point struct.)
3773
3774         * cspi/spi_component.c:
3775         Modify implementation of getExtents to reflect the above IDL
3776         change.
3777         
3778         * cspi/spi_image.c:
3779         * cspi/spi.h:
3780         Add (missing) AccessibleImage_getExtents () API.
3781
3782         * docs/reference/cspi/at-spi-cspi-sections.txt:
3783         Added AccessibleImage_getImageExtents () to docs.
3784         
3785 2001-12-03  Bill Haneman  <bill.haneman@sun.com>
3786
3787         * idl/Component.idl:
3788         Added two methods, getLayer () and getMDIZOrder (), to reflect
3789         the new ATK methods atk_object_get_layer and
3790         atk_object_get_mdi_z_order. (Which arguably should be part of the
3791         AtkComponent API and AtkObject).  Also added an enum,
3792         ComponentLayer, for the first method's return value.
3793
3794         * libspi/component.c:
3795         Added implementations for these methods.
3796
3797         * cspi/spi_component.c:
3798         * cspi/spi.h:
3799         Added cspi binding methods for above, 
3800         AccessibleComponent_getLayer() and
3801         AccessibleComponent_getMDIZOrder().
3802         Added cspi enum 'AccessibleComponentLayer'.
3803
3804         * docs/reference/cspi/at-spi-cspi-sections.txt:
3805         Added above methods to docs.
3806
3807         * cspi/spi-impl.h:
3808         * cspi/spi*.[ch]:
3809         Changed typedef for 'boolean' type (and all references to it) to
3810         SPIBoolean, to avoid keyword clashes with C++.
3811
3812         * test/simple-at.c:
3813         Changed usages of 'boolean' to SPIBoolean.
3814
3815         * test/keysynth-demo.c:
3816         Changed usages of 'boolean' to 'gboolean' (since this is a gnome
3817         app), except where SPIBoolean is required by the callbacks API.
3818         
3819 2001-12-02  Bill Haneman  <bill.haneman@sun.com>
3820
3821         * cspi/spi_registry.c:
3822         Removed obsolete X event loop for passive keygrabs (which now
3823         lives in libspi).
3824
3825         * registryd/registryd.c:
3826         Removed unnecessary call to gdk_init() [cruft]. This also allows
3827         removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
3828         * configure.in.
3829
3830 2001-11-28  Bill Haneman  <bill.haneman@sun.com>
3831
3832         * docs/reference/cspi:
3833         Included docs for SPI_freeString in generated documentation.
3834
3835         * cspi/spi-util.c:c
3836         Renamed spi_freeString to SPI_freeString, for consistency.  Added
3837         documentation for this function.
3838
3839         * cspi/spi-util.h:
3840         Renamed spi_freeString to SPI_freeString, for consistency.  
3841         Removed obsolete method declaration string_from_corba_string.
3842
3843         * test/keysynth-demo.c:
3844         Small tweak to comments.
3845
3846         * test/simple-at.c:
3847         Stopped leaking the strings returned from CSPI. 
3848
3849 2001-11-28  Bill Haneman  <bill.haneman@sun.com>
3850
3851         Merged Michael's branch (see his ChangeLog entries below).
3852         
3853         * at-bridge/bridge.c: Explicitly hold a ref to the registry while
3854         bridge is alive, release on exit.
3855         
3856         * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
3857         Fix type check macro.
3858         
3859         * cspi/spi_event.c:
3860         Added AccessibleKeystrokeListener_unref() method to reduce leakage.
3861         
3862         * cspi/spi_main.c: 
3863         Added is_gnome_app static, and method cspi_is_gnome_app(), 
3864         so we can call the appropriate shutdown routine at exit in SPI_exit.
3865         
3866         * cspi/spi_main.c (cspi_object_ref):
3867         Duplicate the corba object passed in, since we're keeping it around.
3868         
3869         * cspi/SPI_exit.c, cspi_cleanup:
3870         Moved the releasing of the live refs to its own function, so we
3871         can put it in g_atexit ().  Call the appropriate shutdown API
3872         depending on whethe calling client is a gnome app or not
3873         (bonobo_main_quit or CORBA_ORB_shutdown).
3874         
3875         * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
3876         Unref the listener when this method is called, after
3877         deregistration.  Updated the API docs to note this behavior.
3878
3879         * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
3880         Bugfixes: Ref the bonobo object when returning a parent or child 
3881         reference, or an AccessibleRelation.  Generally made sure
3882         BonoboObject refcount is incremented whenever we return an
3883         Accessible.
3884
3885         * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
3886         Fixed typo/bug in signal declaration.
3887         
3888         * libspi/accessibleeventlistener.h:
3889         Fixed a type macro.
3890
3891         * libspi/application.c (spi_application_new):
3892         Fixed leak in initialization.
3893
3894         * libspi/desktop.c:
3895         Remembered to increment bonobo-object refcount when returning
3896         children (applications) from desktop object.
3897         Added (empty) finalize method.
3898
3899         * libspi/deviceeventcontroller.c:
3900         Hold a ref to listeners inside DEControllerKeyListeners.
3901         Added dec_key_listener_free() method.  Use prepend instead of
3902         append in key_listener list.  Fixed some refcount madness and
3903         leaks in the listener registration/deregistration - deregistration
3904         now calls dec_key_listener_free() on listeners, and on the
3905         temporarily constructed dec_key_listener() used to perform the search/match.
3906
3907         * libspi/hypertext.c (spi_hypertest_finalize):
3908         Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
3909         class.  Also fixed spi_hypertext_interface_new() and
3910         SpiHypertextClass.  Fixed a couple of paren-whitespace formatting bugs.
3911
3912         * libspi/hypertext.h: 
3913         Removed pointless and duplicate AtkObject pointer from
3914         SpiHypertextClass.
3915
3916         * libspi/keystrokelistener.c:
3917         Fixed incorrect type of keystroke_listener_parent_class,
3918         renamed keystroke_listener_object_finalize to
3919         spi_keystroke_listener_object_finalize.
3920         Fixed typo in signal declaration
3921         (spi_keystroke_listener_class_init).
3922
3923         * libspi/registry.c:
3924         Added funcsions spi_listener_struct_new() and
3925         spi_listener_struct_free() to help with memory management issues.
3926         We also now use these methods instead of gnew + poking stuff into
3927         the struct, and to decrement listener counts/free the listeners
3928         when deregistering them.
3929         Fix more refcount bugs in getDesktop() and
3930         getDeviceEventController().  
3931
3932         * test/simple-at.c:
3933         De-ref the desktop after enumerating the applications.  Explicitly
3934         decrement the refcounts on the created listeners on exit (using
3935         _unref for keystroke listeners, and via the
3936         deregisterGlobalEventListenerAll command for other event
3937         listeners).
3938         
3939 2001-11-27  Michael Meeks  <michael@ximian.com>
3940
3941         * cspi/spi-listener.h: fixup enum.
3942
3943 2001-11-27  Michael Meeks  <michael@ximian.com>
3944
3945         * cspi/spi-listener-impl.c (cspi_event_listener_new),
3946         (cspi_keystroke_listener_new): Use the cspi variants.
3947
3948 2001-11-26  Michael Meeks  <michael@ximian.com>
3949
3950         * test/keysynth-demo.c: fix 2 compile warnings, missing
3951         type in decl. etc.
3952
3953         * test/simple-at.c (report_focussed_accessible),
3954         (report_focus_event, report_button_press),
3955         (check_property_change, is_command_key),
3956         (report_ordinary_key_event, report_command_key_event): upd.
3957
3958         * util/mag_client.h: include pre-requisites.
3959
3960         * libspi/accessibleeventlistener.c
3961         (spi_event_listener_object_finalize): free any lingering
3962         callbacks.
3963         
3964         * libspi/keystrokelistener.c
3965         (keystroke_listener_object_finalize): ditto.
3966
3967         * cspi/spi-listener-impl.[ch]: Add to implement cspi style
3968         callbacks, with cspi types.
3969         
3970         * cspi/spi_event.c (createAccessibleEventListener): chain to
3971         (AccessibleEventListener_addCallback): here.
3972         (createAccessibleKeystrokeListener): chain to 
3973         (AccessibleKeystrokeListener_addCallback): here.
3974
3975         * libspi/keystrokelistener.c
3976         (spi_keystroke_listener_class_init): add signal.
3977         (impl_key_event): emit the event.
3978         (boolean_handled_accumulator): impl.
3979         (marshal_BOOLEAN__POINTER): add, gack.
3980
3981         * libspi/accessibleeventlistener.c
3982         (spi_event_listener_class_init): add signal.
3983         (impl_accessible_event_notify_event): emit the signal &
3984         make the loop efficient.
3985         (spi_event_listener_add_callback): prepend the callback.
3986
3987         * libspi/accessibleeventlistener.h: add an 'event' signal,
3988         decl type on callback.
3989
3990         * libspi/keystrokelistener.h: ditto.
3991
3992         * cspi/spi-listener.h: make methods typesafe and
3993         make them use the new event typedefs.
3994
3995         * test/simple-at.c (report_focussed_accessible):
3996         include mag_client.h
3997         Use *(void *)text_interface not the other thing.
3998         
3999         * configure.in: add gtk to registryd bits - since we use
4000         gdk there ( why ? )
4001
4002         * util/magnifier.c: include libbonobo.h
4003         
4004 2001-11-25  Bill Haneman  <bill.haneman@sun.com>
4005
4006         * test/keysynth-demo.c:
4007         Turned this into a simple scanning keyboard, to demonstrate the
4008         use of g_timeout_add () as a means of creating timers for
4009         scanning, and the use of GtkStyle for visually indicating when
4010         virtual keyboard elements are selected.
4011
4012         keysynth-demo now listens to any keyboard keys with zero-valued
4013         keycodes (i.e. 'unused' keys) and interprets them as
4014         single-switches.
4015
4016         Reworked the shiftlatch code so that shift-down state isn't held
4017         for long periods (it's only synthesized immediately prior to
4018         the keysynth event it's modifying).  Note that shiftlatch in this
4019         demo is a convenience, not intended to take the place of AccessX 
4020         which is the better choice for getting 'sticky' modifier keys.
4021
4022         * libspi/deviceeventcontroller.c:
4023         * at-bridge/bridge.c:
4024         * cspi/spi_registry.c:
4025         Removed some debug print stuff, and put other verbosity in #ifdef
4026         blocks.
4027
4028         * util/magnifier.c:
4029         * util/mag_image.h:
4030         Implemented some more of the magnifier IDL for the simple
4031         magnifier: namely, getZoomRegionParams. 
4032         Added mag_x and mag_y members to MagnifierData struct, aid of this
4033         implementation.
4034         Added GtkWindow::realize signal handler to magnifier, to keep it
4035         from receiving keyboard focus from the WM.
4036
4037 2001-11-23  Mark McLoughlin  <mark@skynet.ie>
4038
4039         * cspi/spi-private.h: my guess at what michael forgot
4040         before he ran off to NZ :-)
4041
4042 2001-11-23  Michael Meeks  <michael@ximian.com>
4043
4044         * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4045         comment out non existant method invoke so we link.
4046
4047         * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4048         use bonobo_exception_get_text for more friendly warnings.
4049
4050         * cspi/spi.c (Obj_Add): move into spi_main & rename
4051         spi_object_add; kill spi.c
4052
4053         * cspi/spi_registry.c
4054         (deregisterGlobalEventListener),
4055         (deregisterGlobalEventListenerAll),
4056         (registerGlobalEventListener): fix exception leaks.
4057
4058         * cspi/spi_main.c (spi_exception): impl. helper, so we
4059         don't leak exceptions.
4060
4061         * cspi/spi_selection.c
4062         (AccessibleSelection_deselectSelectedChild): return the
4063         success state.
4064
4065         * cspi/spi_main.c (spi_ev): impl; hack - gack.
4066         (spi_registry): ditto.
4067         (SPI_init): guard against double inits.
4068
4069         * cspi/*.c: use spi_ev (), and spi_registry () where
4070         appropriate - a temporary hack until we have something
4071         better. Use spi_object_add
4072
4073 2001-11-22  Michael Meeks  <michael@ximian.com>
4074
4075         * cspi/Makefile.am: re organise, install the headers.
4076
4077         * cspi/*.h: add G_BEGIN/END_DECLS
4078
4079 2001-11-22  Bill Haneman  <bill.haneman@sun.com>
4080
4081         * test/simple-at.c:
4082         Added non-preemptive keylistener for key events with no modifiers
4083         and shift-only modifier.
4084
4085         * libspi/keystrokelistener.c:
4086         Removed some verbose diagnostics printout.
4087
4088         * cspi/spi_registry.c:
4089         Fixed a bug that caused all key listeners to be registered as
4090         pre-emptive.
4091         
4092         * libspi/deviceeventcontroller.c:
4093         Fixed bug that caused XGrabKey (preemptive key grab) to be called
4094         for non-preemptive key masks.
4095
4096
4097 2001-11-22  Bill Haneman  <bill.haneman@sun.com>
4098
4099         * docs/reference/idl/at-spi-idl-docs.sgml:
4100         * docs/reference/idl/at-spi-idl-sections.txt:
4101         * docs/reference/idl/at-spi-idl-overrides.txt:
4102         Added missing files.
4103
4104         * docs/reference/Makefile.am:
4105         removed idl from SUBDIRS until we can figure a way to get gtk-doc
4106         to scan the IDL files :-(
4107
4108         * docs/reference:
4109         * docs/cspi:
4110         * docs/idl:
4111         Added .cvsignore files.
4112         
4113 2001-11-21  Bill Haneman  <bill.haneman@sun.com>
4114
4115         * libspi/deviceeventcontroller.c:
4116         * libspi/keystrokelistener.c:
4117         * cspi/spi_event.c:
4118         * cspi/spi_registry.c:
4119         Added filters for KeySets, KeyEventSeq, and event types to key
4120         event dispatching, so listeners should only receive those events
4121         that they requested :-)
4122
4123 2001-11-21  Bill Haneman  <bill.haneman@sun.com>
4124
4125         * configure.in:
4126         * docs/Makefile.am:
4127         * docs/reference:
4128         * docs/reference:Makefile.am:
4129         * docs/reference/cspi:
4130         * docs/reference/cspi:Makefile.am:
4131         * docs/reference/cspi:tmpl:
4132         * docs/reference/cspi:tmpl:*.sgml:
4133         * docs/reference/idl:
4134         * docs/reference/idl:Makefile.am:
4135         * docs/reference/idl:at-spi-idl-sections.txt:
4136         * docs/reference/idl:at-spi-idl-docs.sgml:
4137         * docs/reference/idl:tmpl:
4138         * docs/reference/idl:tmpl:*.sgml:
4139
4140         Restructured docs directory to allow separate 'reference' docs
4141         section, and forked idl and cspi docs.  Added the sgml template
4142         files to CVS.  Added the first sections/structural sgml for the
4143         IDL docs.
4144
4145 2001-11-21  Laszlo Peter  <laca@ireland.sun.com>
4146
4147         * configure.in, libspi/Makefile.am: find libXtst.
4148
4149 2001-11-21  Michael Meeks  <michael@ximian.com>
4150
4151         * test/accessx-gui.c: s/spi_value/value/ - doh.
4152
4153         * libspi/base.[ch]: add.
4154
4155 2001-11-18  Bill Haneman <bill.haneman@sun.com>
4156
4157         * idl/Accessible.idl:
4158         * idl/Application.idl:
4159         * idl/Registry.idl:
4160         * idl/Action.idl:
4161         Started gtk-doc cleanup on IDL.
4162
4163         * libspi/deviceeventcontroller.c:
4164         Added and connected non-preemptive key notification from the
4165         toolkits (in addition to the pre-emptive support from XServer
4166         which we had before, but which causes 'focus flashing').  Filters
4167         are presently limited to key modifiers and global/non-global,
4168         KeySets are presently ignored, as are KeyEvent masks.
4169
4170         Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4171         structs into the persistant structure rather than just storing
4172         pointers to things that might not persist across servant
4173         invocations.
4174
4175         The XGrabKey call now does async keygrabs, because synchronous
4176         ones were deadlocking with GDK_event code in a very nasty way.
4177
4178         Added boolean to internal method notify_keylisteners, to indicate
4179         whether the event came from the 'toolkit source' or the 'global
4180         (XServer) source' - this is used in the notification process to
4181         determine which listeners to send the event to.
4182
4183         deviceeventcontroller.c is now warning-free.
4184         
4185         * libspi/registry.c:
4186         Fixed regression in application de-registration.
4187         Also fixed some really brain-dead weirdness having to do with
4188         event dispatching - event structs are now duplicated before being
4189         re-marshalled in the dispatch to listeners.  This also fixes a
4190         Solaris build problem.
4191         
4192         
4193 2001-11-20  Michael Meeks  <michael@ximian.com>
4194
4195         * libspi/registry.c
4196         (impl_accessibility_registry_deregister_global_event_listener): 
4197         segv. protection.
4198
4199         * libspi/deviceeventcontroller.c
4200         (spi_device_event_controller_check_key_event): return
4201         FALSE on no virtual method.
4202
4203         * libspi/*..h: make includes work on a correctly pathed install.
4204
4205         * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4206
4207         * libspi/application.h: kill unused ( and whacked out )
4208         gboolean *spi_application_set_id (AtkObject *app, long id);
4209
4210 2001-11-20  Michael Meeks  <michael@ximian.com>
4211
4212         * libspi/*.[ch]: further convert to bonobo's type func
4213         macros, remove redundnant casts etc.
4214
4215         * libspi/text.c s/accessibility_text/spi_text/g,
4216         re-order to de-cruft.
4217
4218         * libspi/hypertext.c: re-order to kill a huge slew
4219         of redundant forward decls.
4220
4221         * libspi/relation.c: ditto.
4222
4223         * libspi/image.c: ditto.
4224
4225         * */.cvsignore: update
4226         
4227 2001-11-20  Michael Meeks  <michael@ximian.com>
4228
4229         * libspi/deviceeventcontroller.c
4230         (_controller_register_with_devices): use g_getenv,
4231         kill stdlib.h include.
4232
4233         * libspi/keystrokelistener.c
4234         (spi_keystroke_listener_get_type): kill
4235         (spi_keystroke_listener_class_init),
4236         (spi_keystroke_listener_init): rename to this.
4237
4238         * libspi/text.c (impl_getAttributes): fix warning / bug.
4239
4240         * libspi/*.[ch]: more headers, includes and over commenting.
4241         
4242 2001-11-20  Michael Meeks  <michael@ximian.com>
4243
4244         * libspi/*.[ch]: fixup headers, includes and over commenting.
4245
4246         * libspi/image.c (impl__get_imageDescription): const
4247         correctness warning fix. remove redundant casting.
4248
4249         * libspi/table.c (impl_getRowDescription): ditto.
4250         (impl_getColumnDescription): ditto.
4251
4252         * libspi/libspi.h: add.
4253
4254 2001-11-19  Michael Meeks  <michael@ximian.com>
4255
4256         * libspi/editabletext.c (impl_setAttributes): fix warnings.
4257
4258         * libspi/component.c (accessibility_component_get_type): 
4259         rename to (spi_component_get_type): and macroify.
4260         (accessibility_component_init): rename to
4261         (spi_component_init): this
4262         (accessibility_component_class_init): rename to
4263         (spi_component_class_init): this
4264
4265         * libspi/action.c (spi_action_get_type): kill, use the macro.
4266
4267         * libspi/deviceeventcontroller.c (_compare_listeners): re-order
4268         to avoid prototype.
4269
4270         * libspi/application.c (spi_application_object_event_listener),
4271         (impl_accessibility_application_register_object_event_listener):
4272         warning fixes / const understanding updates.
4273
4274         * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
4275         warning fixes.
4276
4277 2001-11-18  Bill Haneman <bill.haneman@sun.com>
4278
4279         * libspi/spi_accessible.c: Added docs and C bindings for
4280         AccessibleStateSet. (No implementations yet).  Documentation
4281         coverage for C bindings now 100%. Made docs for event listeners
4282         more explicit.
4283         
4284         * idl/Registry.idl:
4285         Added methods 
4286             boolean notifyListenersSync (in DeviceEventListener listener,
4287                                      in DeviceEvent event);
4288
4289             oneway void notifyListenersAsync (in DeviceEventListener listener,
4290                                           in DeviceEvent event);
4291
4292         Added DeviceEventListener and DeviceEvent structs (may deprecate
4293         KeyStroke and KeystrokeListener in favor of this generic
4294         event/listener framework for devices).
4295
4296         * libspi/deviceeventcontroller.c:
4297
4298         Changed some key listener code to take masks, etc., and paved the
4299         way for integration of toolkit/non-preemptive key events. Changed
4300         signatures of some internal methods.
4301
4302         * at-bridge/bridge.c:
4303         Fixed regression connecting to interface signals, apparently
4304         caused by GTK+ changes.
4305
4306         Added an internal bridge_state_listener to deal with
4307         property-change:accessible-state signals.
4308
4309         Changed the key_listeners GList to store structs (including masks,
4310         etc.) instead of just CORBA_Objects (required for full
4311         implementation of key listener API).
4312
4313         Connected the bridge to all currently supported Atk signals.
4314         Events now supported: 
4315             object:property-change
4316             object:property-change:accessible-name
4317             object:property-change:accessible-state
4318             object:property-change:accessible-description
4319             object:property-change:accessible-parent
4320             object:property-change:accessible-value
4321             object:property-change:accessible-role
4322             object:property-change:accessible-table-caption
4323             object:property-change:accessible-table-column-description
4324             object:property-change:accessible-table-column-header
4325             object:property-change:accessible-table-row-description
4326             object:property-change:accessible-table-row-header
4327             object:property-change:accessible-table-summary
4328             object:children-changed
4329             object:visible-data-changed
4330             object:selection-changed
4331             object:text-selection-changed
4332             object:text-changed
4333             object:text-caret-moved
4334             object:row-inserted
4335             object:row-reordered
4336             object:row-deleted
4337             object:column-inserted
4338             object:column-reordered
4339             object:column-deleted
4340             object:model-changed        
4341
4342 2001-11-16  Bill Haneman <bill.haneman@sun.com>
4343
4344         * libspi/hyperlink.c,h:
4345         Fixed some broken stuff in hyperlink.
4346         
4347         * libspi/relation.h:
4348         * libspi/relation.c:
4349         * cspi/spi_accessible.c:
4350         Initial implementations of AccessibleRelation methods, and docs.
4351
4352         * libspi/accessible.c:
4353         Fixed a bug that caused SEGV  if an accessible
4354         object's description is NULL, and a client
4355         requests it.  An empty string is now returned.
4356
4357         * cspi/spi_editabletext.c:
4358         * cspi/spi_hypertext.c:
4359         * cspi/spi_image.c:
4360         * cspi/spi_hyperlink.c:
4361         * cspi/spi_table.c:
4362         Added docs.  
4363
4364         Doc coverage now 95%.
4365
4366 2001-11-16  Bill Haneman <bill.haneman@sun.com>
4367
4368         One last namespacing revision:
4369         * libspi/accessibleeventlistener.[ch]:
4370         Renamed SpiAccessibleEventListener to SpiEventListener,
4371         (no need for two namespaces ;-)
4372
4373         And lots of documentation fixes:
4374
4375         * docs/at-spi-docs.sgml:
4376         Fixed 'underscore vs. hyphen' bug that was preventing
4377         the gtk-doc API docs from being automatically generated.
4378
4379         * cspi/spi-impl.h
4380         * cspi/spi-listener.h
4381         * cspi/spi.h
4382         * cspi/spi_accessible.c
4383         * cspi/spi_action.c
4384         * cspi/spi_application.c
4385         * cspi/spi_component.c
4386         * cspi/spi_editabletext.c
4387         * cspi/spi_event.c
4388         * cspi/spi_hypertext.c
4389         * cspi/spi_main.c
4390         * cspi/spi_registry.c
4391         * cspi/spi_selection.c
4392         * cspi/spi_text.c
4393         * cspi/spi_value.c
4394         * docs/Makefile.am
4395         * docs/at-spi-docs.sgml
4396         * docs/at-spi-sections.txt
4397         
4398         Added and fixed up gtk-doc documentation in cspi.
4399         
4400         Interfaces now (fully) documented (subject to revision and enhancement):
4401         SPI_main
4402         Event Listener Support
4403         Registry API
4404         AccessibleApplication
4405         Accessible
4406         AccessibleAction
4407         AccessibleComponent
4408         AccessibleEditableText
4409         AccessibleSelection
4410         AccessibleText
4411         AccessibleValue
4412
4413         still pending:
4414         AccessibleStateSet
4415         AccessibleRelationSet
4416         AccessibleImage
4417         AccessibleTable
4418         AccessibleHyperlink
4419         
4420 2001-11-14  Bill Haneman <bill.haneman@sun.com>
4421
4422         * at-bridge/bridge.c:
4423         Initial work for toolkit-level key snooper connection by bridge.
4424
4425         * cspi/spi-impl.h:
4426         * cspi/spi_*.h:
4427         * cspi/spi_*.c:
4428         New typedefs and fixes to support new namespacing, and cleaner
4429         separation of cspi bindings from libspi bonobo implementation.  
4430         Removed inconsistent and extraneous Spi* namespace prefix that
4431         had crept into cspi headers.
4432         Lots of comment fixes that sed had missed.
4433
4434         * cspi/spi-roletypes.h:
4435         * cspi/spi-statetypes.h:
4436         Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
4437         to AccessibleRoleType.
4438         
4439         * libspi/accessibleeventlistener.h:
4440         Fixed minor namespacing weirdness.
4441
4442         * libspi/deviceeventcontroller.c:
4443         Reordered some internal API for device listeners.
4444         Changed the key registry final boolean to 'is_system_global'
4445         rather than 'is_synchronous', which is more descriptive of its 
4446         actual meaning.
4447         Added spi_device_event_controller_new().
4448         Added  SpiRegistry backpointer to SpiDeviceEventControllerClass.
4449          
4450         * libspi/keystrokelistener.[ch]:
4451         Namespaced KeystrokeListener to SpiKeystrokeListener.
4452         Changed uses of keymasks to use SPI_ prefix, and did other
4453         knock-on fixups.
4454
4455         * libspi/keymasks.h:
4456         Namespaced keymask constants with SPI_ prefix.
4457
4458         * libspi/registry.c:
4459         Some warning fixes, and knock-on fixes from namespace changes.
4460
4461         * test/Makefile.am:
4462         Added rules for accessx-gui test program.
4463
4464         * test/accessx-gui.c:
4465         Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
4466         utility.  It doesn't actually use at-spi, but it's still cool and
4467         useful ;-)
4468
4469         * test/keysynth-demo.c:
4470         * test/simple-at.c:
4471         * test/at.c:
4472         * test/app.c:
4473         Fixes so that these test clients work properly with the namespaced
4474         libraries. (Incompletely tested for technical reasons, fixes may follow)
4475         
4476
4477 2001-11-13  Michael Meeks  <michael@ximian.com>
4478
4479         * libspi/application.c
4480         (impl_accessibility_application_get_version),
4481         (impl_accessibility_application_get_toolkit_name):
4482         warning fixes.
4483         (impl_accessibility_application_set_id),
4484         (impl_accessibility_application_get_id): remove
4485         redundant casting code.
4486
4487         * libspi/action.c (impl_getDescription): fix warnings.
4488
4489         * libspi/accessible.c
4490         (impl_accessibility_accessible_get_parent),
4491         (impl_accessibility_accessible_get_child_at_index),
4492         (impl_accessibility_accessible_get_state),
4493         (impl_accessibility_accessible_get_relation_set):
4494         warning fixes & include action.h
4495
4496 2001-11-13  Michael Meeks  <michael@ximian.com>
4497
4498         * *.[ch] fix bits I screwed up:
4499
4500                 s/([^ \tb(\*\&\?\",])spi_/\1/g;
4501                 s/([^ \tb(\*\&\?\",])Spi/\1/g;
4502         
4503 2001-11-13  Michael Meeks  <michael@ximian.com>
4504
4505         * *.[ch] Namespace libspi into spi_ and Spi.
4506
4507 2001-13-11  Michael Meeks  <michael@ximian.com>
4508
4509         * Makefile.am: dist & install at-spi-1.0.pc
4510
4511         * libspi/Makefile.am: install into at-spi-1.0
4512
4513         * idl/Makefile.am (idldir): install into at-spi-1.0
4514
4515         * at-spi-1.0.pc.in: add.
4516
4517         * configure.in: build it.
4518
4519 2001-11-12  Bill Haneman <bill.haneman@sun.com>
4520
4521         * test/keysynth-demo.c:
4522         Use a 'realize' signal-handler to set the WM properties for
4523         the virtual keyboard, rather than making it a "POPUP" type
4524         override-redirect window (thanks to anders carlsson for that
4525         tip!)
4526
4527 2001-11-11  Bill Haneman <bill.haneman@sun.com>
4528
4529         * test/Makefile.am:
4530         * test/keysynth-demo.c:
4531         Added new test of key synthesis, which creates a simple
4532         (mouse-operated) onscreen keyboard.  It inserts key events into
4533         the currently-focused window, thus it does not grab keyboard focus
4534         itself.
4535
4536         * cspi/spi_registry.c:
4537         Added C binding for AT-SPI generateKeyEvent.
4538
4539         * libspi/deviceeventcontroller.c:
4540         Added call to XFilterEvent so that key listener works with XIM (we
4541         hope).  Added event_synth_type to generateKeyEvent, so that we can
4542         produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
4543         synthesize a press/release pair for KeySyms.    
4544         
4545 2001-11-09  Bill Haneman <bill.haneman@sun.com>
4546
4547         * libspi/Makefile.am: 
4548         * registryd/Makefile.am:
4549         (temporary) hack to include libXtst in libspi and registryd.
4550         (Needed for keystroke synthesis, see below).
4551
4552         * idl/Registry.idl:
4553         Improved API for registerKeystrokeListener, in accordance with
4554         discussions with Gnopernicus team and X server research.
4555
4556         * libspi/registry.c:
4557         * libspi/deviceeventcontroller.c:
4558         * libspi/accessible.c:
4559         * libspi/keystrokelistener.c:
4560         Changes and fixes to support keylisteners for potentially
4561         consumed key events (that is, 'passive grabs').
4562         Added implementation for generateKeyEvent() [untested].
4563
4564         * cspi/spi.h:
4565         Changes to registerKeystrokeListener() API, as above.
4566         Added deregisterGlobalEventListenerAll(), and 
4567         deregisterKeystrokeListener(), which are needed for clean exit of
4568         clients.
4569         Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
4570         and a macro ALL_KEYS which may be used in place of a KeySet pointer.
4571         
4572         * cspi/spi_registry.c:
4573         Added implementations of function prototypes mentioned above.
4574         
4575         * registryd/registryd.c:
4576         Added the key listener event source as a g_timeout(), to allow
4577         receipt of key events that are not caught by GDK (since GDK
4578         doesn't support passive keygrabs, this was necessary).
4579
4580         * test/simple-at.c:
4581         Changed to attach a keylistener to 'Alt' keys, and
4582         respond to the following keycommands: Alt-M (toggle magnifier);
4583         Alt-F (toggle speech); Alt-Q (quit).
4584         Added an exit routine to deregister the listeners, and a key
4585         listener that prints some key info to the console when a key
4586         matches the listener mask (and is thus received by the listener).
4587         
4588         * util/idl/Magnifier.idl:
4589         Changes to magnifier API to support multiple zoom regions,
4590         non-uniform scaling in x and y, markDirty, and a host of other
4591         features that would be useful to magnification.
4592
4593         * util/mag_image.h:
4594         * util/mag_client.c:
4595         * util/mag_client.h:
4596         * util/mag_control.c:
4597         * util/magnifier.c:
4598         Source code changes to support the above IDL changes.
4599         
4600         * util/mag_image.c:
4601         As above, and also changes to use a (slower) generic conversion
4602         path for colormap conversions, since the fast RGB conversions have been
4603         reported to fail for 16-bit displays.
4604
4605 2001-10-26  Michael Meeks  <michael@ximian.com>
4606
4607         * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
4608
4609 2001-10-26  Laszlo Peter <laca@ireland.sun.com>
4610
4611         * at-bridge/Makefile.am: fix LDFLAGS.
4612
4613 2001-10-09  Bill Haneman <bill.haneman@sun.com>
4614
4615         * at-bridge/bridge.c:
4616         Re-worked listeners for toolkit events, now we have signal
4617         and property listeners. Added a private method
4618         register_atk_event_listeners(), which registers with the
4619         various atk and gtk signals we need to monitor in order to emit
4620         our at-spi events.
4621         Added emission hook for AtkObject:property-change events, to
4622         support the 'property listeners'.
4623         Fixed some alloc()s of Accessibility_Event structs to use CORBA
4624         allocation.
4625
4626         * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
4627         which emit warnings and exit, respectively, if CORBA errors occur
4628         during remote calls, and we now use these methods to check most of
4629         our CORBA calls in the C bindings.
4630
4631         * cspi/spi_accessible.c:
4632         Changed AccessibleSelection_refSelectedChild() to
4633         AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
4634         now increment refcounts.
4635
4636         * cspi/spi_component.c:
4637         Fixed some long pointer casts (dangerous!) to pass pointers to
4638         CORBA_longs of the proper type to the CORBA stubs, and copy the
4639         data into the longs that were passed into the C bindings code.
4640         
4641         * at-bridge/bridge.c:
4642         
4643         * libspi/accessible.c:
4644         Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
4645         hyperlinks, AtkHyperlink is an object type.     
4646
4647         * libspi/application.c:
4648         Added various conversions to and from "generic" event types and
4649         atk-specific types; this is really part of the 'bridge'
4650         implementation but is valid for all AtkObject-based accessibility 
4651         implementations.
4652
4653         * libspi/editabletext.c:
4654         Fixed nasty bug wherein editable text's finalize method was
4655         unref'ing tha AtkObject reference that the text parent class was
4656         about to unref _again_.  There was also a nasty inheritance bug
4657         that meant that the AccessibleEditableText class was corrupt.
4658
4659         * libspi/selection.c:
4660         Provided implementations for some selection API that was broken.
4661         
4662         * idl/Application.idl:
4663         Added registerObjectEventListener () method.
4664
4665         * THROUGHOUT:
4666         Fixed a number of return values that were Bonobo_Unknowns from
4667         bonobo_object_corba_objref(), which I
4668         forgot to dup before returning.  Changed instances of 
4669         bonobo_object_corba_objref (bonobo_object(o)) to
4670         BONOBO_OBJREF(o), for concision and clarity.
4671         
4672 2001-10-13  Louise Miller <louise.miller@sun.com>
4673
4674         * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
4675         idl/Event.idl, idl/Registry.idl
4676         Changed these files to include Bonobo_Unknown.idl instead
4677         of Bonobo.idl
4678
4679 2001-09-10  Marc Mulcahy <marc.mulcahy@sun.com
4680
4681         * libspi/component.c libspi/component.h:
4682                 Fixed typo.  Added assertions for object checks in 
4683         AccessibleComponent code.
4684
4685 2001-10-09  Bill Haneman <bill.haneman@sun.com>
4686
4687         * idl/Accessible.idl:
4688                 Added 'isEqual (Accessible *object)' 
4689         method for Accessible. (Not Yet Implemented).
4690         
4691         * idl/Registry.idl:
4692                 Changed signature of registerKeystrokeListener() to
4693         take a KeySet and KeyEventSeq so that specific keys and event
4694         types could be requested for monitoring, and added a flag
4695         is_synchronous so that either synchronous or asynchronous
4696         notification could be requested.  (However this is not all
4697         implemented yet). This also meant adding two new typedefs,
4698         KeyEventSeq and KeySet.
4699
4700         * idl/Relation.idl: 
4701                 Added two new relations, RELATION_TOOLTIP_FOR and
4702         RELATION_LEAFNODE_OF.
4703
4704         * idl/State.idl:
4705                 Added new state, STATE_HAS_TOOLTIP.
4706         
4707         * libspi/text.c, editabletext.c:
4708                 Added new assertions to all casts of bonobo-objects from
4709         CORBA servants, to prevent Text API calls on non-text objects.
4710                 Changed suspect casts of int-pointer types, so that we
4711         always send a valid CORBA_long pointer to the CORBA APIs that use
4712         in/out long parameters.  We then have to copy from the CORBA_long
4713         into the regular long or int for return to the C bindings, or
4714         vice-versa when returning parameters from ATK calls to the bonobo wrappers.
4715         
4716         * cspi/spi_text.c:
4717         * libspi/deviceeventcontroller.c:
4718                 Cleaned these sources up.
4719         * idl/Text.idl:
4720                 Changed return type for getCharacterAtOffset to
4721         CORBA_unsigned_long, to allow for 32-bit characters.
4722         
4723                 
4724 2001-10-08  Bill Haneman <bill.haneman@sun.com>
4725
4726         * util/Makefile.am:
4727         * idl/Makefile.am:
4728                 Fixed 'make dist' so that distro compiles...
4729         * libspi/keymasks.h:
4730                 new file.
4731         * cspi/spi-listener.c:
4732                 KeystrokeListenerCB now returns a boolean.
4733         * cspi/spi.h:
4734                 Added KeyEventType struct, and KeyStroke.
4735                 Also added createKeystrokeListener(),
4736         KeystrokeListener_addCallback(),
4737         KeystrokeListener_removeCallback(), and added a keymask to
4738         registerKeystrokeListener().
4739         * cspi/spi_accessible.c:
4740                 Changed numerous return types for interfaces from
4741         AccessibleComponent to Accessible<InterfaceName>; this was
4742         probably a cut-and-paste error.
4743         * cspi/spi_event.c:
4744                 Implementations of new KeystrokeListener api (from spi.h,
4745         above).
4746         * idl/Registry.idl:
4747                 Changes to key modifier mapping.
4748                 Created ControllerEventMask struct.
4749                 Made DeviceEventController derive from Bonobo::Unknown.
4750         * idl/Text.idl:
4751                 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
4752         * libspi/deviceeventcontroller.c:
4753                 Added a number of new internal (private) methods.
4754         * libspi/editabletext.c:
4755         * libspi/editabletext.h:
4756                 Fixed a number of bugs related to the fact that
4757         editabletext inherits from text.  Fixed the EditableText struct,
4758         the init() call, and use correct casts when calling Text methods
4759         from an EditableText object.  Removed (duplicate) atko from the
4760         EditableText structure, we use the one in the parent Text
4761         structure via the casts mentioned above.
4762         * libspi/keystrokelistener.[ch]:
4763         * libspi/registry.c:
4764                 Changes in support of keyboard handling (above).
4765         
4766         Keyboard handling, though partly functional, is still not
4767         recommended for at-spi client use as there is considerable 
4768         work yet to be done.
4769
4770         * libspi/text.c:
4771                 Changed some places where pointers to various int types
4772         are cast to be pointers to CORBA_long types and vice-versa:
4773         pointer casting is not safe so we pass pointers of the correct
4774         types and then cast the result before putting it into the target
4775         pointers.
4776
4777         * libspi/text.h: minor typos corrected.
4778         * test/simple-at.c: 
4779                 We now speak not only the name of a Text element, but the
4780         first sentence of its content, when it receives focus.
4781                 I also changed the text compression to 75% from 50%.
4782         * util/Accessibility_Util.server.in:
4783                 Changed the default magnifier type to be a 3x vertical
4784         splitscreen magnifier (was previously a 2x horizontal one).
4785
4786 2001-10-03  Bill Haneman <bill.haneman@sun.com>
4787
4788         * libspi/keystrokelistener.h:
4789         * libspi/keystrokelistener.c:
4790                 Initial functional implementations of KeystrokeListener.
4791         * idl/Registry.idl:
4792         
4793 2001-10-05  Marc Mulcahy <marc.mulcahy@sun.com>
4794
4795         Fixed string handling for NULL strings in libspi.
4796         Added spi_freeString to free strings returned by C bindings.
4797
4798 2001-09-30  Bill Haneman <bill.haneman@sun.com>
4799
4800         * libspi/keystrokelistener.h:
4801         * libspi/keystrokelistener.c:
4802                 Began (no-op) implementations of KeystrokeListener
4803                         (see below).
4804         * libspi/deviceeventcontroller.c:
4805         * libspi/deviceeventcontroller.h:
4806                 Began creating implementations of DeviceEventController,
4807                         to handle keystroke and mouse event listening and
4808                         synthesis.
4809         * libspi/accessible.c:
4810                 Stubbed-in the implementations for
4811                         Accessibility_Accessible_getState and
4812                         Accessibility_Accessible_getRelationSet.
4813         * libspi/registry.c:
4814                 Improved de-registration process and fixed some bugs, 
4815                         deregistration now works correctly.
4816         * libspi/desktop.c:
4817                 Added initialization of applications list (to NULL).
4818         * util/magnifier.c:
4819                 Reduced speech compression from 0.5 to 0.7, for demo.
4820                 Changed call to gdk_window_set_decorations()
4821                         to gtk_window_set_decorated().
4822         * at-bridge/bridge.c:
4823                 Bridge now deregisters when app exits, via
4824                         registration of a cleanup function
4825                         with the g_atexit() call.
4826                         Required making 'app' static, renamed 'this_app'.
4827                 Fixed broken use of bonobo_init, passing argv wrongly.
4828
4829 2001-09-27  Bill Haneman <bill.haneman@sun.com>
4830
4831         * util:
4832         * util/Makefile.am: 
4833                 Created a new directory for 
4834                         accessibility-related utilities, primarily for
4835                         testing and demo purposes, but with possible
4836                         end-user utility.
4837         
4838         * util/magnifier.c:
4839         * util/magnifier.h:
4840         * util/mag_image.c:
4841         * util/mag_image.h:
4842                 Onscreen magnifier utility that
4843                         is implemented as a bonobo service.
4844         
4845         * util/mag_client.c:
4846         * util/mag_client.h:
4847                 Client-side support (simple C bindings) 
4848                         for Magnification service
4849         
4850         * util/mag_control.c:
4851                 Client program example for 
4852                         Magnification service
4853         
4854         * util/Accessibility_Magnifier.server.in:
4855                 Bonobo-activation file for the 
4856                         Magnification service.
4857         
4858         * util/idl:
4859         * util/idl/Magnifier.idl:
4860                 IDL defining the bonobo Magnification
4861                         service interface.
4862
4863         * test/simple-at.c:
4864                 Modifications to use the bonobo-activated magnifier
4865                         above, in place of trying to connect to an existing
4866                         magnifier that uses socket-listening IPC.
4867
4868                 If env variable MAGNIFIER is set, a magnifier service
4869                         will be started if one does not exist.
4870         
4871 2001-09-25  Bill Haneman <bill.haneman@sun.com>
4872
4873         * at-bridge/bridge.c:
4874                 applied patch from Marc to build and run 
4875                 against new glib and gtk+ (seemed like a change 
4876                 to bonobo_init signature was made ?)
4877         * test/simple-at.c:
4878                 made festival-server support turned off by default.
4879                 Added support for a simple magnifier (off by default)
4880                 which will be added to a 'util' directory later.
4881         * at-bridge/Makefile.am:
4882                 Changed "application.h" header from a 'source'
4883                 to a 'dependency' of libat-bridge.
4884
4885 2001-09-12  Marc Mulcahy <marc.mulcahy@sun.com>
4886
4887         * cspi/Makefile.am:
4888                 Added spi-util.c.
4889
4890         * cspi/spi-util.c:
4891                 Fixed typo
4892
4893         * cspi/spi.c:
4894                 Added interface implementation c files to list of
4895                         includes so they are included in libcspi.
4896
4897         * cspi/spi.h:
4898                 Changed prototype of AccessibleAction_doAction to return a
4899                         boolean.
4900                 Changed prototype of AccessibleTable_getCaption to
4901                         return an Accessible.
4902                 Changed prototype of AccessibleTable_getSelectedRows
4903                         and AccessibleTable_getSelectedColumns to
4904                         return a long (returns the number of selected rows
4905                         or columns respectively).
4906                 Changed name of AccessibleText_refRunAttributes to
4907                         AccessibleText_getAttributes.
4908                 Changed prototype of AccessibleText_getCharacterExtents to
4909                         return a void rather than a boolean. 
4910                 Added support for a AccessibleCoordType parameter
4911                         specifying what type of coordinates are desired.
4912                 Added an AccessibleCordType parameter to
4913                         AccessibleText_getPointAtOffset.
4914
4915         * cspi/spi_accessible.c:
4916                 Added code to return the outstanding interfaces from
4917                         Accessible_queryInterface.
4918
4919         * cspi/spi_action.c:
4920                 Fixed typos.
4921                 Corrected call to getNActions to call the c binding
4922                         for an attribute.
4923
4924         * cspi/spi_editabletext.c:
4925                 Fixed typos.
4926                 Changed name from setRunAttributes to setAttributes.
4927
4928         * cspi/spi_hyperlink.c:
4929                 Fixed typos.
4930                 Changed call to getNAnchors to correctly call the c
4931                         binding for an attribute.
4932
4933         * cspi/spi_hypertext.c:
4934                 Fixed typos.
4935                 Changed getImageDescription to correctly call the
4936                         binding for an attribute.
4937
4938         * cspi/spi_selection.c:
4939                 Changed getNSelectedChildren to correctly call the c
4940                         binding for the attribute.
4941                 Changed refSelectedChild to getSelectedChild.
4942
4943         * cspi/spi_table.c:
4944                 Fixed typos.
4945                 Changed getCaption to return an Accessible.
4946                 Fixed calls which retrieve attributes.
4947                 Changed refAt to getAccessibleAt.
4948                 Changed getNSelectedRows and getNSelectedColumns to
4949                         return longs.
4950
4951         * cspi/spi_text.c:
4952                 Changed getCharacterExtents and getPointAtOffset to accept an
4953                         AccessibleCoordType.
4954                 Fixed typos.
4955                 Changed calls which retrieve attributes.
4956                 Changed refRunAttributes to getAttributes.
4957
4958         * cspi/spi_value.c:
4959                 Fixed typos.
4960
4961         * idl/Hyperlink.idl:
4962                 Changed n_anchors attribute to nAnchors to keep naming
4963                         convention consistent.
4964
4965         * idl/Table.idl:
4966                 Made Table inherit from Bonobo::Unknown.
4967                 Added nSelectedColumns and nSelectedRows attributes.
4968
4969         * idl/Value.idl:
4970                 Made Value inherit from Bonobo::Unknown.
4971
4972         * libspi/hyperlink.c:
4973                 Change for nAnchors attributte name change.
4974
4975 2001-09-12  Marc Mulcahy <marc.mulcahy@sun.com>
4976         * cspi/Makefile.am:
4977                 Added spi-util.c.
4978
4979         * cspi/spi-util.c:
4980                 Fixed typo
4981
4982         * cspi/spi.c:
4983                 Added interface implementation c files to list of
4984                         includes so they are included in libcspi.
4985
4986         * cspi/spi.h:
4987                 Changed prototype of AccessibleAction_doAction to return a
4988                         boolean.
4989                 Changed prototype of AccessibleTable_getCaption to
4990                         return an Accessible.
4991                 Changed prototype of AccessibleTable_getSelectedRows
4992                         and AccessibleTable_getSelectedColumns to
4993                         return a long (returns the number of selected rows
4994                         or columns respectively).
4995                 Changed name of AccessibleText_refRunAttributes to
4996                         AccessibleText_getAttributes.
4997                 Changed prototype of AccessibleText_getCharacterExtents to
4998                         return a void rather than a boolean. 
4999                 Added support for a AccessibleCoordType parameter
5000                         specifying what type of coordinates are desired.
5001                 Added an AccessibleCordType parameter to
5002                         AccessibleText_getPointAtOffset.
5003
5004         * cspi/spi_accessible.c:
5005                 Added code to return the outstanding interfaces from
5006                         Accessible_queryInterface.
5007
5008         * cspi/spi_action.c:
5009                 Fixed typos.
5010                 Corrected call to getNActions to call the c binding
5011                         for an attribute.
5012
5013         * cspi/spi_editabletext.c:
5014                 Fixed typos.
5015                 Changed name from setRunAttributes to setAttributes.
5016
5017         * cspi/spi_hyperlink.c:
5018                 Fixed typos.
5019                 Changed call to getNAnchors to correctly call the c
5020                         binding for an attribute.
5021
5022         * cspi/spi_hypertext.c:
5023                 Fixed typos.
5024                 Changed getImageDescription to correctly call the
5025                         binding for an attribute.
5026
5027         * cspi/spi_selection.c:
5028                 Changed getNSelectedChildren to correctly call the c
5029                         binding for the attribute.
5030                 Changed refSelectedChild to getSelectedChild.
5031
5032         * cspi/spi_table.c:
5033                 Fixed typos.
5034                 Changed getCaption to return an Accessible.
5035                 Fixed calls which retrieve attributes.
5036                 Changed refAt to getAccessibleAt.
5037                 Changed getNSelectedRows and getNSelectedColumns to
5038                         return longs.
5039
5040         * cspi/spi_text.c:
5041                 Changed getCharacterExtents and getPointAtOffset to accept an
5042                         AccessibleCoordType.
5043                 Fixed typos.
5044                 Changed calls which retrieve attributes.
5045                 Changed refRunAttributes to getAttributes.
5046
5047         * cspi/spi_value.c:
5048                 Fixed typos.
5049
5050         * idl/Hyperlink.idl:
5051                 Changed n_anchors attribute to nAnchors to keep naming
5052                         convention consistent.
5053
5054         * idl/Table.idl:
5055                 Made Table inherit from Bonobo::Unknown.
5056                 Added nSelectedColumns and nSelectedRows attributes.
5057
5058         * idl/Value.idl:
5059                 Made Value inherit from Bonobo::Unknown.
5060
5061         * libspi/hyperlink.c:
5062                 Change for nAnchors attributte name change.
5063
5064
5065 2001-09-05  Marc Mulcahy <marc.mulcahy@sun.com>
5066
5067         implementations-- made server implementations own AtkObject pointers
5068         rather than their respective AtkInterrface pointers to fix
5069         refcounting.  AtkHyperlink is still broken.
5070
5071 2001-09-04  Bill Haneman <bill.haneman@sun.com>
5072         * cspi/spi_accessible.c:
5073                 Added method Accessible_Role_getName(),
5074                         and requisite string array (role_names).
5075                 Added conversion string_from_corba_strin() call
5076                         to Accessible_getName and _getDescription.
5077         * libspi/accessible.c:
5078                 Added implementation for Accessible_getRole()
5079         * test/simple-at.c:
5080                 Added festival support, used if environment variable
5081                         FESTIVAL is set.
5082         
5083 2001-09-04  Bill Haneman <bill.haneman@sun.com>
5084
5085         * at-bridge/bridge.c:
5086             Now allocate Accessibility_Event using
5087             Accessibility_Event__alloc() instead of g_new0().
5088         * libspi/accessibleeventlistener.c:
5089             Initialize AccessibleEventListener->callbacks to NULL.
5090             Fixed accessible__event_listener_init() param, changed to
5091             "AccessibleEventListener *" type.
5092             Changed a bonobo_object_release_unref() call to
5093             Accessibility_Accessible_unref().
5094         * libspi/listener.c:
5095             Changed Bonobo_Unknown_unref to (equivalent) 
5096             Accessibility_Accessible_unref.
5097         * libspi/registry.c:
5098             Changed bonobo_object_release_unref to 
5099             Accessibility_Accessible_unref.
5100         
5101 2001-09-04  Marc Mulcahy <marc.mulcahy@sun.com>
5102         
5103         * Added files:
5104             spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5105             spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5106             spi-util.c spi-util.h
5107             Implementations for C bindings to remaining accessibility 
5108             interfaces.
5109
5110 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5111         
5112         * idl/Action.idl:
5113             changed return value of Action from void to boolean to 
5114             bring in line with ATK.
5115
5116         * idl/Text.idl:
5117             Changed getText funcions to return "out" start and end offsets.
5118             Changed getAttributes to take and offset and return the start 
5119             and end offset of the attribute run.
5120             Changed getOffsetAtPoint and getCharacterExtents to take an 
5121              enum describing whether coordinates are window or screen.
5122
5123         * Added files:
5124             libspi/action.c libspi/action.h libspi/editabletext.c 
5125             libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5126             libspi/hypertext.c libspi/hypertext.h libspi/image.c 
5127             libspi/image.h libspi/selection.c libspi/selection.h
5128             libspi/table.c libspi/table.h libspi/text.c libspi/text.h 
5129             libspi/value.c libspi/value.h
5130             Added server implementations for outstanding ATK interfaces 
5131             not yet implemented.
5132  
5133 2001-09-04  Bill Haneman <bill.haneman@sun.com>
5134
5135         * idl/Action.idl:
5136                 Added (missing) getName() method. 
5137                 Made nActions an attribute.
5138         * idl/EditableText.idl:
5139                 Changed order of params in setAttributes.
5140         * idl/Hyperlink.idl:
5141                 Removed getAnchor, added getURI.
5142         * idl/Image.idl:
5143                 Changed attributes to methods, for efficiency
5144                 (so that getting extents can be done in one call)
5145         * idl/Selection.idl:
5146                 Changed nSelectedChildren to attribute, and re-indented.
5147         * idl/Table.idl: changed nrows, ncolumns, caption, summary 
5148                 to attributes.
5149         * idl/Text.idl: reformatted to match our coding style.
5150                 (temporarily?) removed getRowColumnAtOffset().
5151                 Changed text selection API to support multi-select and
5152                 non-contiguous selections, as in ATK.
5153         * idl/Value.idl: changed some methods to attributes.
5154
5155 2001-08-24  Mark McLoughlin <mark@skynet.ie>
5156
5157         * libspi/listener.c(impl_notify_event):
5158         BonoboUnkown_unref the source instead
5159         of bonobo_object_release_unref - the ORB
5160         handles the releasing.
5161
5162         * configure.in: require ORBit-2.3.94 for
5163         this behaviour.
5164
5165 2001-08-21  Bill Haneman <bill.haneman@sun.com>
5166
5167         Tagged CVS repository 'EA_1_0'.
5168         * README.EARLY_ACCESS:
5169         Alphabetized acknowledgements list, and
5170         added someone.
5171         Listed some known dependencies of at-spi.
5172
5173 2001-08-20  Bill Haneman <bill.haneman@sun.com>
5174
5175         * docs/at-spi-docs.sgml:
5176         * docs/at-spi-sections.txt:
5177         * docs/at-spi-overrides.txt: (Added zero-length file)
5178         Documentation improvements - gtk-doc should build
5179         docs for all implemented C bindings now.
5180         * cspi/Makefile.am:
5181         * cspi/spi_main.c:
5182         * cspi/spi.c: (New file)
5183         * cspi/spi_event.c: (New file)
5184         * cspi/spi_registry.c: (New file)
5185         * cspi/spi_accessible.c: (New file)
5186         * cspi/spi_application.c: (New file)
5187         * cspi/spi_component.c: (New file)
5188         Split spi_main.c into six parts, and included them from
5189         "spi.c".  This is a bit of a hack, probably temporary,
5190         but required by gtk-doc, apparently.
5191         
5192 2001-08-20  Bill Haneman <bill.haneman@sun.com>
5193
5194         * docs/Makefile.am:
5195         * docs/at-spi-docs.sgml:
5196         * docs/at-spi-sections.txt:
5197         * configure.in:
5198         Initial checkins/modifications for gtk-doc generation.
5199         * cspi/spi.h:
5200         * cspi/spi.c:
5201         Added (missing) interface query methods to Accessible's C binding.
5202         * cspi/spi-impl.h:
5203         Added GenericInterface type definition.
5204         * test/simple-at.c:
5205         Added query for AccessibleComponent interface to focus event handler.
5206         Added printout of bounding box for focussed component.
5207         * libspi/component.c:
5208         Added partial implementation for AccessibleComponent to C binding.
5209         * idl/Application.idl:
5210         * libspi/registry.c:
5211         * libspi/listener.c:
5212         * libspi/application.c:
5213         * libspi/application.h:
5214         Changed "ID" attribute type from string to long.
5215
5216 2001-08-19  Bill Haneman <bill.haneman@sun.com>
5217
5218         * cspi/spi.h:
5219         * cspi/spi.c:
5220         Made method naming consistent: methods taking object args
5221         start with uppercase, other methods (except those using
5222         acronyms) start with lowercase.  Underscores delimit between
5223         object names and method names:
5224         SPI_init() - uppercase since it starts with an acronym.
5225         getDesktopCount () - lowercase start since no object param0.
5226         Accessible_getName() - uppercase object type name, studlyCaps method
5227                                name.
5228
5229         * cspi/spi.h:
5230         Added gtk-doc documentation for all currently implemented
5231         methods in the C bindings API.
5232
5233 2001-08-18  Bill Haneman <bill.haneman@sun.com>
5234
5235         * Makefile.am : changed build order to build test last.
5236         * cspi/spi.h :
5237         * cspi/spi_main.c :
5238         Changed "createEventListener" to "CreateEventListener".
5239         * libspi/accessibleeventlistener.c :
5240         Bugfix for addition of callbacks.
5241         * test/Makefile.am :
5242         * test/simple-at.c :
5243         Added new test that uses the C bindings API.
5244         * idl/Event.idl :
5245         * libspi/listener.c :
5246         * libspi/registry.c :
5247         * libspi/accessibleeventlistener.c :
5248         * at-bridge/bridge.c :
5249         Renamed member "target" of Accessibility_Event to "source",
5250         which is more descriptive.
5251         
5252
5253 2001-08-18  Bill Haneman <bill.haneman@sun.com>
5254
5255         * Makefile.am: 
5256         * configure.in :
5257         * cspi/Makefile.am :
5258         Added makefile support for at-spi/cspi directory.
5259         * cspi/spi.h : 
5260         * cspi/spi-impl.h :
5261         * cspi/spi-listener.h : (NEW FILE)
5262         Added support for/use of spi-listener.h.
5263         * cspi/spi_main.c :
5264         C bindings now build successfully, with no warnings.
5265         * libspi/accessibleeventlistener.h : (NEW FILE)
5266         * libspi/accessibleeventlistener.c : (NEW FILE)
5267         * libspi/Makefile.am :
5268         Added new object type "AccessibleEventListener"
5269         which inherits from Listener, and allows attachment
5270         of in-process callbacks (so that a client with a listening
5271         object instance can add functionality to the local 
5272         implementation, dynamically).
5273
5274 2001-08-18  Bill Haneman <bill.haneman@sun.com>
5275
5276         * libspi/accessible.c: 
5277         Add implementation for get_index_in_parent().
5278         * cspi/spi.h : 
5279         Added #include of "spi-roletypes.h", and
5280         added enumerated type AccessibleCoordType.
5281         Added definition for KeystrokeListener (function type).
5282
5283         ADDED FILES:
5284         * cspi/spi-statetypes.h :
5285         * cspi/spi-roletypes.h :
5286         * cspi/spi-impl.h :
5287         Added these headers, used by spi.h.
5288         * cspi/spi_main.c : 
5289         Added code (NOTE: not yet built by make).
5290
5291 2001-08-18  Mark McLoughlin <mark@skynet.ie>
5292
5293         * libspi/Makefile.am: generate imodule
5294         at the same time as other idl compiler 
5295         generated files. 
5296
5297 2001-08-17  Bill Haneman <bill.haneman@sun.com>
5298         * libspi/registry.c :
5299         * libspi/application.c :
5300         * idl/Application.idl :
5301         Made registration with toolkit an application method,
5302         which is required since each app has its own toolkit static
5303         environment.  Thus the bridge must register for 
5304         notification of toolkit events from each application in turn.
5305         Toolkit notifications are now successfully registered for, and
5306         sent to the listening at client.
5307         * test/at.c :
5308         Changed toolkit event string to use hyphens rather than underscores.
5309         * libspi/listener.c :
5310         listner now gives more info in debug mode - it reports the
5311         name of the event received, as well as the name of the source.
5312         
5313
5314 2001-08-16  Bill Haneman <bill.haneman@sun.com>
5315
5316         * libspi/registry.c :
5317         added more implementation for toolkit events.
5318         Fixed bug such that toolkit event registrations
5319         (via atk) use the whole event name string, not 
5320         just minor+detail.
5321         Removed a useless call to an ORBit_ method.
5322         * at-bridge/bridge.c :
5323         Removed unused local sbuf[] variable.
5324         * test/at.c :
5325         We now register for Gtk:GtkWidget:button_press_event 
5326         events as well as "focus:" events.
5327         * cspi/spi.h :
5328         Add some more API from Registry.idl that was missing,
5329         for keystroke listening, keystroke and mouse event
5330         synthesis, and enumeration of accessible desktops.
5331
5332 2001-08-16  Michael Meeks  <michael@ximian.com>
5333
5334         * configure.in: use AM_GLIB_GNU_GETTEXT.
5335
5336         * Makefile.am (SUBDIRS): kill intl.
5337
5338 2001-08-15  Michael Meeks  <michael@ximian.com>
5339
5340         * registryd/Makefile.am: s/oaf/server/ relocate info file.
5341
5342         * configure.in: upd.
5343
5344         * configure.in: depend on a recent bonobo-activation that
5345         will find our server files ...
5346
5347 2001-08-16  Bill Haneman <bill.haneman@sun.com>
5348
5349         * libspi/accessible.c : accessible_new() :
5350         Now we add the Component interface via bonobo_object_add_interface,
5351         if the contained AtkObject implements AtkComponent.
5352         * libspi/accessible.h : now include "component.h"
5353         * libspi/component.h :
5354         * libspi/component.c : added files - implementation of
5355         bonobo wrapper object for Accessibility/Component
5356         * libspi/listener.c :
5357         Added test code to check for Accessibility/Component:1.0
5358         interface and report whether it is implemented by the
5359         event source.
5360         * libspi/registry.c :
5361         Now we check for not only the hash of the whole event 
5362         string before relaying the event, we also check the
5363         "minor" event string (without the detail string).
5364         This allows event listeners to be registered against
5365         all events of a certain major+minor type, or just
5366         against a specific major+minor+detail type.
5367         * libspi/accessible.c :
5368         Added implementations for Accessible:get_parent(),
5369         Accessible:getChildCount(), and Accessible:getChildAtIndex().
5370         * libspi/registry.c :
5371         * libspi/listener.c :
5372         Replaced calls to Accessibility_Accessible_ref() and
5373         Accessibility_Accessible_unref() with 
5374         calls to bonobo_object_dup_ref() and 
5375         bonobo_object_release_unref(), so that the CORBA object
5376         is dup-ed and released when relayed, as well as the bonobo object.
5377
5378 2001-08-15  Mark McLoughlin <mark@skynet.ie>
5379
5380         * libspi/Makefile.am,
5381           registryd/Makefile.am,
5382           at-bridge/Makefile.am.
5383           test/Makefile.am, configure.in:
5384         reverse previous changes.
5385
5386         * /idl/Image.idl: fix typo.
5387
5388         * test/Makefile.am: put DEBUG_FLAGS
5389         in CFLAGS.
5390
5391 2001-08-15  Mark McLoughlin <mark@skynet.ie>
5392
5393         * test/app.c: use argv[0] instead of
5394         g_type_prgname.
5395
5396 2001-08-15  Mark McLoughlin <mark@skynet.ie>
5397
5398         * libspi/Makefile.am,
5399           registryd/Makefile.am,
5400           at-bridge/Makefile.am.
5401           test/Makefile.am, configure.in:
5402         cleanup, replace individual LIBS/CFLAGS with
5403         AT_COMMON_{LIBS|CFLAGS}.
5404
5405         * README: format.
5406
5407 2001-08-15  Mark McLoughlin <mark@skynet.ie>
5408         
5409         * configure.in, libspi/Makefile.am:
5410         Change IDL path checking for bonobo-activation
5411         as opposed to oaf.
5412
5413 2001-08-15  Bill Haneman <bill.haneman@sun.com>
5414
5415         * registryd/registry.c : separated event listeners to use
5416         3 separate lists (focus, window, toolkit).  Began testing
5417         event names against hashes before relaying events.
5418         * test/at.c : now register for events of type "focus:"
5419         * test/app.c : now generate events of type "focus:"
5420         * at-bridge/bridge.c : register with ATK for focus events,
5421         and we now relay those focus events to any "focus:" listeners.
5422         This now works with the bridge as a GTK_MODULE when running test/at.
5423         * libspi/registry.c :
5424         * libspi/listener.c : 
5425         now we ref event sources before propagating, and unref on receipt.
5426         * libspi/registry.c : 
5427         some changes to internal structs, to support event typestring hashes.
5428         * text/app.c : changed the way the appname is generated.
5429         * cspi : added directory that will hold the C bindings library for 
5430                 non-CORBA/bonobo-savvy clients.
5431         * cspi/spi.h : header file that contains the function prototypes for the C binding.
5432         * idl/Component.idl : added in parameter to indicate coord system for
5433                 geometry-related calls.
5434         * idl/Hyperlink.idl : added readonly n_links attribute
5435         * idl/Image.idl : changed methods to attributes.
5436         
5437 2001-08-15  Mark McLoughlin <mark@skynet.ie>
5438
5439         * at-bridge/Makefile.am: link against
5440         ../libspi/libspi.la instead of -lspi.
5441
5442         * at-spi/test/app.c: include 
5443         bonobo-activation.h. Use a default appname
5444         if one is not provided.
5445
5446 2001-08-14  Bill Haneman <bill.haneman@sun.com>
5447
5448         * idl/Registry.idl : temporarily changed register_Application
5449         to oneway, to work around issue with initial registration 
5450         re-entrancy.
5451         * idl/Application.idl : changed attribute "id" from readonly 
5452         to read-write, since it needs to be assigned by Registry.
5453         * registryd/registryd.c : added call to set application id 
5454         on registration.
5455         * registryd/registry.c : changed de-registration procedure to
5456         use CORBA_Object_hash() to find matching object ref in application
5457         lists and listener lists.
5458         * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
5459         began distinguishing between event types (work in progress).
5460
5461 2001-08-13  Bill Haneman <bill.haneman@sun.com>
5462
5463         CHANGES:
5464         * libspi/application.c:
5465         Added implementations for get/set id, get_toolkitName,
5466         get_version.
5467         * registryd/registryd.c :
5468         * test/at.c :
5469         * test/app.c :
5470         * Makefile.am :
5471         Converted from use of OAF to bonobo-activation.
5472         * libspi/desktop.h :
5473         * libspi/desktop.c :
5474         * test/app.c :
5475         Removed references to atksimpleobject, since base atkobject
5476         implementation now provides functionality we need.
5477         * libspi/atksimpleobject.c :
5478         * libspi/atksimpleobject.h :
5479         Removed.
5480         
5481         ADDITIONS:
5482         * at-bridge
5483         * at-bridge/Makefile.am
5484         * at-bridge/bridge.c
5485         * configure.in
5486         * Makefile.am
5487         Added directory "bridge" and contents, and added dependencies
5488         in Makefile.am/configure.in.  
5489         Initial checkin of "at-bridge".
5490         This code is a GTK_MODULE which automatically registers
5491         GTK+ apps with the accessibility registry, using an object
5492         reference to the root ATK object.
5493         
5494 2001-08-10  Mark McLoughlin <mark@skynet.ie>
5495
5496         * po/Makefile.in.in: Remove. Again. If this
5497         doesn't get autogenerated - you need to update
5498         gnome-common.
5499
5500 2001-08-07  Mark McLoughlin <mark@skynet.ie>
5501
5502         * po/Makefile.in.in: Add. Again.
5503
5504 2001-07-31  Bill Haneman <bill.haneman@sun.com>
5505
5506         * libspi/accessible.c : added support for 'description' property.
5507         * libspi/accessible.c
5508         * libspi/desktop.c
5509         * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
5510             (since the two are now equivalent in libbonobo)
5511         * idl/Action.idl
5512         * idl/Component.idl
5513         * idl/Hyperlink.idl
5514         * idl/Image.idl
5515         * idl/Selection.idl
5516         * idl/Table.idl
5517         * idl/Text.idl
5518         * idl/Value.idl : changed these 'secondary' interfaces to inherit from
5519              Bonobo::Unknown as does Accessibility::Accessible.
5520         * idl/StreamableContent.idl : as above, and replaced internal InputStream
5521              interface with Bonobo::Stream, since it was redundant with it.
5522              (The Stream returned by a StreamableContext object is expected to
5523              implement only a subset of Bonobo::Stream)
5524
5525 2001-07-28  Anders Carlsson  <andersca@gnome.org>
5526
5527         * libspi/accessible.c (accessible_object_finalize): Change
5528           g_free to g_object_unref since the AtkObject is a GObject.
5529
5530 2001-07-30  Bill Haneman <bill.haneman@sun.com>
5531
5532         * idl/Accessibility.idl: add new IDL files
5533         
5534         Added:
5535         * idl/Action.idl: Definitions of actionable UI object
5536         * idl/Component.idl: Definitions of UI component geometry, etc.
5537         * idl/Hyperlink.idl: Defs of hyperlink behavior
5538         * idl/Image.idl: Def of accessible image
5539         * idl/Selection.idl: Definition of UI object with selectable children
5540         * idl/StreamableContent.idl: Definition of UI object with streamable backing data
5541         * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
5542         * idl/Text.idl: Interface defs for UI elements with complex textual content
5543         * idl/Value.idl: Definition of UI element that is a value controller or display
5544         
5545 2001-07-27  Michael Meeks  <michael@ximian.com>
5546
5547         * po/Makefile.in.in: remove autogenerated file from CVS.
5548
5549         * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
5550         type library.
5551
5552         * idl/Registry.idl: include guard.
5553
5554         * idl/Accessibility.idl: Add, and include all the other IDL
5555         files.
5556
5557         * idl/*.idl: remove mass of pragmas etc.
5558
5559 2001-07-26  Michael Meeks  <michael@ximian.com>
5560
5561         * registryd/Makefile.am (registryd_SOURCES): remove
5562         redundant at_.
5563
5564 2001-07-27  Mark McLoughlin <mark@skynet.ie>
5565
5566         * libspi/.cvsignore, registryd/.cvsignore,
5567           test/.cvsignore: updated.
5568
5569         * po/Makefile.in.in: gettext update.
5570
5571 2001-07-25  Bill Haneman <bill.haneman@sun.com>
5572
5573         * initial CVS checkin
5574
5575 2001-06-29  Michael Meeks  <michael@ximian.com>
5576
5577         * configure.in: add AM_CONFIG_HEADER to gen config.h
5578
5579         * acconfig.h: add.
5580