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