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