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