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