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