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