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