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