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