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