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