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