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