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