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