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