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