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