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