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