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