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