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