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