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