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