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