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