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