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