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