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