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