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