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