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