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