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