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