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