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