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