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