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