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