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