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