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