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