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