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