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