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