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