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