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