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