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