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