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