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