1 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
3 * configure.in: Generate po/Makefile.in
4 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
5 * cspi/spi_streamablecontent.c:
6 (accessible_bonobo_stream_client_seek),
7 (AccessibleStreamableContent_seek): Remove unused vars.
8 * libspi/application.c: Missing header.
9 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
10 * login-helper/login-helper.c: (login_helper_finalize),
11 (login_helper_init): Remove unused stuff
12 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
13 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
14 and surround some with #ifdef GRAB_BUTTON.
15 * test/event-listener-test.c: (main), (report_event),
16 (report_caret_event), (report_detail_event),
17 (report_detail1_event), (report_bounds_event), (report_text_event),
18 (report_text_selection_event),
19 (report_active_descendant_changed_event),
20 (report_children_changed_event), (report_name_changed_event),
21 (report_description_changed_event), (report_parent_changed_event),
22 (report_window_event), (report_table_summary_event),
23 (report_table_header_event), (report_table_caption_event),
24 (report_table_row_description_event),
25 (report_table_column_description_event), (timing_test_event):
26 Remove a bunch of unused variables and fix a slew of format specifiers
27 * test/key-listener-test.c: (report_all_key_event): Format specifier
28 * test/keypad-test.c: (print_key_event): Same
29 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
31 * test/screen-review-test.c: (main), (print_chunk_debug),
32 (review_buffer_get_text_chunk), (debug_chunk_list),
33 (string_guess_clip), (text_chunk_get_clipped_string),
34 (text_chunk_list_to_string), (get_screen_review_line_at):
35 Remove unused variables and fix format specifiers.
36 * test/simple-at.c: (report_text_event): Format specifier fix.
37 * test/stress-test.c: (main): Remove unused var.
39 2005-12-29 Abel Cheung <maddog@linuxhall.org>
41 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
42 (yes I know that's useless)
44 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
46 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
48 2005-11-17 Michael Meeks <michael.meeks@novell.com>
50 * atk-bridge/bridge.c (spi_atk_emit_eventv):
51 urgh-fix embarassing typo.
53 2005-11-16 Michael Meeks <michael.meeks@novell.com>
55 * atk-bridge/bridge.c (spi_atk_emit_eventv):
56 do a faster, less problematic _unref call on this local
57 object, rather than a slower (potentially cross-thread
58 complicated) CORBA call.
60 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
62 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
63 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
64 * registryd/deviceeventcontroller.c:
65 (spi_controller_notify_mouselisteners),
66 (impl_generate_keyboard_event):
67 * test/screen-review-test.c: (chunk_bounds_within):
68 * test/test-simple.c: (test_desktop): Remove some unused code
69 and fix compiler warnings. Closes bug #320049.
71 2005-10-27 Bill Haneman <bill.haneman@sun.com>
73 * registryd/deviceeventcontroller.c:
74 (spi_controller_notify_keylisteners): Check
75 to make sure the event listener has requested 'preemptive'
76 status before pre-empting an event.
78 2005-08-29 Bill Haneman <bill.haneman@sun.com>
80 * configure.in, README, NEWS: Release 1.6.5.
82 2005-07-25 Matthias Clasen <mclasen@redhat.com>
84 * test/window-listener-test.c: Fix a printf
85 format error. (#169453)
87 2005-07-15 Bill Haneman <bill.haneman@sun.com>
89 * tests/test-simple.c:
90 (key_listener_cb): Ensure that the keystring is dup'ed instead of
91 relying on the old string from the key event hanging around after
92 the event handler returns. Fixes broken 'make check'.
94 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
96 * Added Marathi (mr_IN) translations.
98 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
100 * cspi/bonobo/cspi-bonobo-listener.c:
101 (cspi_event_list_remove_by_cb): Fix the build.
103 2005-05-26 Michael Meeks <michael.meeks@novell.com>
105 * cspi/bonobo/cspi-bonobo-listener.c
106 (cspi_event_list_remove_by_cb): actually filter by callback.
108 2005-05-25 Bill Haneman <bill.haneman@sun.com>
110 * registryd/registry.c (remove_listener_cb):
111 Make deregistration filter rules match the event emission rules.
113 2005-05-25 Michael Meeks <michael.meeks@novell.com>
115 * registryd/registry.c (remove_listener_cb),
116 (impl_accessibility_registry_deregister_global_event_listener),
117 (impl_accessibility_registry_deregister_global_event_listener_all):
118 pass a closure to the remove callback to filter listeners more
119 accurately on remove.
121 2005-04-05 Bill Haneman <bill.haneman@sun.com>
123 * configure.in: Revved to 1.6.4.
124 Remember to put quotes around XEVIE_LIBS assignment.
125 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
128 * tests/event-listener-test.c: Tweaked the tests - more detail
129 from caret events, and some interrogation of AccessibleText APIs.
130 Commented-out the bounds-changed events by default, since they can
133 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
135 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
136 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
137 Same here. Closes bug #167806
139 2005-04-05 Bill Haneman <bill.haneman@sun.com>
141 * atk-bridge/bridge.c:
142 (spi_atk_bridge_signal_listener):
143 Free the any._value if any._release is TRUE,
144 since the ORB won't do it for us in this case
145 [because this method is not a skel].
148 2005-03-30 Steve Murphy <murf@e-tools.com>
150 * configure.in: Added "rw" to ALL_LINGUAS.
152 2005-03-29 Bill Haneman <bill.haneman@sun.com>
154 * configure.in: Improved check for HAVE_XEVIE, to detect
155 presence on XOrg, where -lXevie is a separate library.
157 2005-03-08 Bill Haneman <bill.haneman@sun.com>
159 * configure.in, NEWS, README: Revved to 1.6.3.
161 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
163 * configure.in: Added "xh" to ALL_LINGUAS.
165 2005-02-07 Bill Haneman <bill.haneman@sun.com>
167 * atk-bridge/bridge.c:
168 (atk_bridge_init): Added missing NULL in g_strconcat(),
169 also check for symlink before logging to
170 insecure directory. Thanks to meissner@suse.de.
172 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
174 * tests/login-helper-server-test.c: Add return call to main
175 function. Patch from Chris Lahey. Fixes bug #165129.
177 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
179 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
181 2004-12-09 Bill Haneman <billh@gnome.org>
183 * registryd/registry-main.c:
184 Added #define <string.h> for strrchr. (bug 160862).
185 Thanks to Vincent Berger for catching.
187 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
189 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
190 restart registry process if the registry process is found to have died
191 and the current process is exiting.
192 (spi_atk_bridge_exit_func): Do not attempt to deregister the
193 application if the registry process has died.
194 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
195 does not return a registry object.
196 (spi_atk_tidy_windows): Give up if the registry process has died.
198 This fixes problems with hangs and crashes when logging out.
200 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
202 * registryd/desktop.c: Add checking that we are not exiting before
203 calling spi_desktop_remove_application in
204 abnormal_application_termination. Fix for bug #152147.
206 2004-12-02 Bill Haneman <billh@gnome.org>
208 * configure.in, NEWS, README: Revved to 1.6.1.
210 Patch from Padraig O'Briain <padraig.obriain@sun.com>
211 * atk-bridge/bridge.c:
212 (atk_bridge_init): Save the pid when we start, to detect forks.
213 (spi_atk_bridge_exit_func): Don't call the cleanup routines
214 if we're in a forked pid.
216 2004-10-09 Bill Haneman <billh@gnome.org>
218 * idl/Accessibility_LoginHelper.idl:
219 Improved inline documentation.
221 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
223 * configure.in: Added gl (Galician) to ALL_LINGUAS
225 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
227 * libspi/accessible.c:
228 (impl_accessibility_accessible_get_role_name),
229 (impl_accessibility_accessible_get_local_role_name):
231 * libspi/component.c:
232 (impl_accessibility_component_get_accessible_at_point):
234 * libspi/eventlistener.c: (spi_event_listener_new):
236 * libspi/stateset.c: (impl_compare): More of the same
237 * libspi/table.c: (impl_getRowDescription): Again.
238 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
239 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
240 (impl_generate_keyboard_event): Same.
241 * registryd/registry-main.c: (main): Same
242 * test/event-listener-test.c: (test_exit): Same
243 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
244 * test/keysynth-test.c: (test_key_synthesis): Same
245 * test/login-helper-server-test.c: (main): Fix warning.
246 * test/screen-review-test.c: (test_exit): Fix include.
247 * test/simple-at.c: (simple_at_exit), (_festival_init):
250 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
252 * configure.in, NEWS, README: Revved to 1.6.0.
254 2004-09-12 Bill Haneman <bill.haneman@sun.com>
256 * configure.in: Rev and re-dist, since the 1.5.4 tarball
257 was missing the HTML docs.
259 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
261 * configure.in: only cleanups:
262 - better looking PKG_CHECK_MODULES() output,
264 - declare in one common place required versions of other tools using
267 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
269 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
270 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
271 required ATK version accordingly.
273 2004-09-03 Bill Haneman <bill.haneman@sun.com>
275 * cspi/bonobo/cspi-bonobo.c:
276 (cspi_display_name): Fix C99ism.
277 * atk-bridge/bridge.c:
278 (spi_display_name): Fix C99ism.
279 Patch from Jens Granseuer, jensgr@gmx.net.
281 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
283 * configure.in: Added "or" to ALL_LINGUAS.
285 2004-08-20 Bill Haneman <bill.haneman@sun.com>
287 * configure.in, NEWS, README: Revved to 1.5.4.
289 * registryd/registry-main.c:
290 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
293 * cspi/bonobo/cspi-bonobo.c:
294 (cspi_display_name): New convenience method, gets DISPLAY with
295 screen number stripped, if AT_SPI_DISPLAY isn't already set.
296 (cspi_init): Set the activation env value above before getting
299 * atk-bridge/bridge.c:
300 (spi_display_name): Create the AT_SPI_DISPLAY activation
301 environment for an app, based on the DISPLAY environment with the
302 screen number stripped off.
303 (atk_bridge_init): Allow redirection of error messages to a log.
304 (spi_atk_bridge_get_registry): Call
305 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
307 Fixes for bugs #149962, #136986, #144086.
309 2004-08-16 Christian Rose <menthos@menthos.com>
311 * configure.in: Added "bs" to ALL_LINGUAS.
313 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
315 * configure.in: Added nb to ALL_LINGUAS.
317 2004-09-03 Bill Haneman <bill.haneman@sun.com>
320 (SPI_init): Return error code '2' if the activated
321 registry cannot be pinged. Fixes bug #147648.
323 2004-07-28 Bill Haneman <bill.haneman@sun.com>
325 * registryd/deviceeventcontroller.c:
326 (spi_dec_init_mouse_listener): Don't do XGrabButton,
327 rely on timer-poll instead, to avoid conflict with
330 2004-07-20 Bill Haneman <bill.haneman@sun.com>
332 * configure.in: Revved to 1.5.3.
334 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
336 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
338 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
340 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
342 2004-06-11 Bill Haneman <bill.haneman@sun.com>
344 * atk-bridge/bridge.c:
345 (spi_atk_bridge_do_registration):
346 Register with ATK for AtkComponent:bounds-changed events.
347 (api_atk_bridge_signal_listener):
348 Marshal the AtkRectangle info into the event notification
349 for object:bounds-changed events.
352 (spi_init_any_rect): New method, inits a corba struct of
353 type Accessibility_BoundingBox from an AtkRectangle.
355 * libspi/spi-private.h: Declared spi_init_any_rect (above).
358 (SPIRect): New struct definition.
359 (SPI_freeRect): New declaration.
360 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
363 (AccessibleBoundsChangedEvent_getNewBounds): New method,
364 implemented. Gets the bounding box data from the CORBA_any
365 associated with a bounds-changed event notification.
366 (cspi_internal_event_get_rect): New, used internally by above method.
369 (SPI_freeRect): Implemented this new method, for freeing
372 * test/event-listener-test.c:
373 (main, report_bounds_event):
374 Added a test for object:bounds-changed events.
376 2004-06-01 Bill Haneman <bill.haneman@sun.com>
378 * test/login-helper-server-test.c:
379 (main): Fix C99-ism. Thanks to Jens Granseuer.
381 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
383 * libloginhelper-1.0.pc.in:
384 * idl/Accessibility_LoginHelper.idl:
385 * login-helper/Makefile.am:
386 * login-helper/login-helper.[ch]:
387 * test/login-helper-client-test.c:
388 * test/login-helper-server-test.c: Added files missing from CVS.
389 Files obtained from at-spi-1.5.2 tarball.
391 2004-05-27 Bill Haneman <bill.haneman@sun.com>
393 * configure.in: Create login-helper/Makefile.
394 Incremented micro version.
396 * Makefile.am: Add login-helper subdir and pkgconfig data.
398 * login-helper: New subdir.
400 * libloginhelper-1.0.pc.in: New.
402 * idl/Accessibility_LoginHelper.idl: New file, defines
403 interface whereby authentication clients can identify agents which
404 need access to services during the login process, e.g. screen lock
407 * login-helper/Makefile.am : New.
409 * login-helper/login-helper.[ch] : New, implementation of
410 a LoginHelper base class. Services needing LoginHelper can subclass.
412 * test/Makefile.am : Added test for login-helper, client and
415 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
416 Use proper prefix in #include files.
418 * test/login-helper-client-test.c: New.
420 * test/login-helper-server-test.c: New.
422 2004-05-27 Alexander Shopov <ash@contact.bg>
424 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
426 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
428 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
429 is positive. This should make it easier to detect inapprorpiate unref
432 2004-05-11 James Henstridge <james@daa.com.au>
434 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
435 no-op and deprecated.
437 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
439 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
441 2004-04-28 Bill Haneman <billh@gnome.org>
443 * Makefile.am: Added --enable-gtk-doc to
444 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
446 2004-04-19 Bill Haneman <billh@gnome.org>
448 * configure.in: Revved to 1.5.1.
450 * registryd/deviceeventcontroller.c:
452 (DEControllerPrivateData): Added fields for
453 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
454 (spi_dec_replace_map_keysym): New internal utility for
455 replacing a keysym in the keymap - used to allow
456 synthesis of individual characters which aren't in the
458 (spi_dec_reset_reserved): New; resets the changed keysym value
460 (keycode_for_keysym): We now try to deal with failed
461 XKeysymToKeycode requests by changing a keymap value
462 and returning a reserved keycode. We now take
463 a DEController pointer as first arg.
464 (spi_controller_register_with_devices): Call XkbGetMap with
465 the XkbKeySymsMask. Find the highest keycode in the current
466 keymap which doesn't have any grabs, and mark that one for
467 temporary re-mapping when out-of-range KeySyms are synthesized.
468 (dec_synth_keycode_press): Call XFlush after synthesizing the key
471 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
473 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
475 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
477 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
479 2004-03-24 Bill Haneman <billh@gnome.org>
482 (AccessibleTable_addRowSelection),
483 (AccessibleTable_addColumnSelection),
484 (AccessibleTable_removeRowSelection),
485 (AccessibleTable_removeColumnSelection):
486 Add declarations for spi wrappers which were
487 inadvertantly omitted. Fixes bug #133413.
490 Revved to 1.5.0 (unstable series for GNOME 2.7).
492 2004-03-24 Bill Haneman <billh@gnome.org>
494 * atk-bridge/bridge.c:
495 Bracketed some debug output in
496 conditionals, to avoid printing it in normal use.
499 * libspi/hyperlink.c:
500 Don't cast 'object' to ATK_OBJECT when constructing
501 an AtkAction interface for a hyperlink.
502 See discussion in bug #120659.
504 * test/key-listener-test.c:
505 (report_all_key_event): Send output to stderr,
506 not stdout, for consistency with the rest of the test callbacks.
509 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
510 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
511 Incremented to 1.4.1 (but didn't dist yet - I'm going to
512 try incrementing the revision AFTER doing a dist, at least
515 2004-03-22 Bill Haneman <billh@gnome.org>
517 * configure.in: Revved to 1.4.0, libtool 9.14.9
519 2004-03-17 Laszlo Peter <laca@sun.com>
521 * libspi-1.0-uninstalled.pc.in: add idldir
523 * cspi-1.0-uninstalled.pc.in: add idldir
525 2004-03-16 Gareth Owen <gowen72@yahoo.com>
527 * configure.in: Added "en_GB" to ALL_LINGUAS
529 2004-03-15 Bill Haneman <billh@gnome.org>
531 * configure.in: Revved to 1.3.16,
534 2004-03-15 Laszlo Peter <laca@sun.com>
536 * libspi-1.0-uninstalled.pc.in: new file
538 * cspi-1.0-uninstalled.pc.in: new file
540 * configure.in: add the new pc files to AC_OUTPUT
542 * Makefile.am: add the new pc files to EXTRA_DIST
544 2004-03-12 Bill Haneman <billh@gnome.org>
546 * atk-bridge/bridge.c:
547 (spi_atk_bridge_key_listener):
548 Make sure to return consumed=FALSE if snoop
549 event is not dispatched to listener.
552 2004-03-01 Bill Haneman <billh@gnome.org>
554 * configure.in: Revved to 1.3.15,
557 2004-03-07 Danilo Segan <dsegan@gmx.net>
559 * configure.in: Added "sr@ije" to ALL_LINGUAS.
561 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
563 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
565 2004-03-01 Bill Haneman <billh@gnome.org>
567 * configure.in: Revved to 1.3.14.
570 (SPI_exit): Removed "bye-bye" exit message.
571 Moved "leak" report to happen before the
572 iteration over the leaked refs list.
573 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
575 2004-02-24 Bill Haneman <billh@gnome.org>
577 * configure.in: Revved to 1.3.13.
579 * docs/reference/cspi/Makefile.am:
580 Correct typo that was breaking the docs build.
582 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
584 * autogen.sh: Require version 1.7 of automake.
586 * configure.in: call GTK_DOC_CHECK([1.0])
588 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
590 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
592 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
594 * test/Makefile.am: Remove use of CFLAGS.
596 This fixes bug #132987.
598 2004-02-11 Bill Haneman <billh@gnome.org>
600 * reverted most of Tomasz' patch below, since it was breaking
601 builds (see bug #134058).
603 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
605 * docs/reference/cspi/at-spi-cspi.types: added empty file for
606 correct pass "make dist" (empty .. because seems no sach types in
607 header files with gtk-doc markups).
608 * docs/reference/cspi/Makefile.am, configure.in:
609 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
610 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
611 * Makefile.am: added:
612 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
613 for force correct pass generate documentation on "make distcheck".
614 * libspi/Makefile.am: fixes for automake >= 1.6.
615 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
616 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
619 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
621 * docs/reference/cspi/Makefile.am (install-data-local): Install
622 index.sgml since the doc autobuilder on widget.gnome.org looks for
625 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
627 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
630 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
632 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
634 2004-01-27 Brian Cameron <brian.cameron@sun.com>
636 * test/simple-at.c: Fixed null string problems that cause core
637 dumping problems on Solaris.
639 2004-01-12 Bill Haneman <billh@gnome.org>
641 * configure.in: Incremented version to 1.3.11.
643 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
645 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
646 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
649 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
651 * configure.in: Added "fa" to ALL_LINGUAS.
653 2003-12-20 Arafat Medini <lumina@silverpen.de>
655 * configure.in: Added "ar" to ALL_LINGUAS
657 2003-12-16 Bill Haneman <billh@gnome.org>
659 * registryd/registry-main.c:
661 Set the reg_env DISPLAY variable before registering the
662 activated registry service. Fixes bug #129479.
664 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
666 * configure.in: Added "id" in ALL_LINGUAS
667 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
669 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
671 * registryd/deviceeventcontroller.c (global_filter_fn):
672 When an event is consumed discard any XEvents were added to
673 the queue while dealing with the the event. This can happen if
674 processing of the event takes a long time. Call XUngrabKeyboard
675 if an event was discarded. This fixes bug $124837.
676 Only call wait_for_release_event for a KeyPress.
677 Use local variable display instead of spi_get_display().
678 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
681 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
683 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
684 Allow for mask to contain values other than NumLock mask.
687 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
689 * registryd/devieceventcontroller.c:
690 (wait_for_release_event): Change first parameter from GdkEvent to
692 (global_filter_fn); Correct call to wait_for_release_event.
696 2003-12-08 Bill Haneman <billh@gnome.org>
700 * registryd/ucs2keysym.c: New file.
702 * registryd/deviceeventcontroller.c:
703 (dec_keysym_for_unichar): Remove old partial implementation and
704 replace with call to ucs2keysym(), which is much more complete.
705 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
710 2003-12-05 Bill Haneman <billh@gnome.org>
712 * configure.in: Version 1.3.9.
714 * docs/reference/cspi/tmpl/spi_registry.sgml:
715 Added reference to libspi/keymasks.h to the
716 description of Registry queries: AccessibleKeyMaskType.
719 2003-12-04 Bill Haneman <billh@gnome.org>
723 * idl/Accessibility_Application.idl:
724 (Accessibility::LOCALE_TYPE): New enum, corresponds to
725 setlocale's LC_TYPEs.
726 (Accessibility::Application::getLocale): New method.
727 Allows clients to query the locale, by type, of an app.
730 * cspi/spi_application.c:
731 (AccessibleApplication_getLocale): New method, wraps IDL above.
733 * libspi/application.c:
734 (spi_application_class_init): Init epv entry for getLocale.
735 (impl_accessibility_application_get_locale): Impl for above.
737 * test/test-simple.c:
738 (test_application): Added assertion for getLocale, i.e.
739 that the string from AccessibleApplication_getLocale (app, type)
740 is the same as that from setlocale (type, NULL);
742 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
744 *registryd/deviceeventcontroller.c: Add an idle handler which polls
745 the keyboard on a timeout intil the key state goes from pressed to
746 released. Fixes bug #111429.
748 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
750 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
751 root object so that it is present when a context menu in an
752 out-of-process applet is popped up.
753 (spi_atk_bridge_do_registration): Create acceessible application root
754 object only if it does not exist.
756 This fixes bug #125834.
758 2003-12-01 Bill Haneman <billh@gnome.org>
760 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
763 Added enum for AccessibleStreamableContentSeekType.
764 (AccessibleStreamableContent_freeContentTypeList): New.
766 * cspi/spi_streamablecontent.c:
767 (accessible_bonobo_stream_client_seek): New private method.
768 (AccessibleStreamableContent_seek): Implemented this method,
769 using Bonobo_Stream_seek.
770 (AccessibleStreamableContent_freeContentTypeList): New method
771 for freeing the return value from
772 AccessibleStreamableContent_getContentTypes.
773 (stream_cache_item_free): Replaces stream_release; stop leaks.
774 (stream_release): removed.
775 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
776 free the memory properly.
778 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
782 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
784 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
786 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
788 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
790 2003-12-01 Bill Haneman <billh@gnome.org>
792 Fix for bug/rfe #127463.
794 * idl/Accessibility_Accessible.idl:
795 (getLocalizedRoleName): New.
796 (unimplemented4): Removed (replaced by above).
798 * libspi/accessible.c:
799 (impl_accessibility_accessible_get_local_role_name): New.
800 (spi_accessible_class_init): Add getLocalizedRoleName entry to
804 (Accessible_getLocalizedRoleName): New.
806 * cspi/spi_accessible.c:
807 (Accessible_getLocalizedRoleName): New.
809 2003-12-01 Bill Haneman <billh@gnome.org>
812 * idl/Accessibility_Text.idl:
813 (getDefaultAttributes): New.
814 (unimplemented4): Removed (replaced by above method).
817 (impl_getDefaultAttributes): New method.
818 (spi_text_class_init):
819 initialize the get_default_attributes slot in the epv.
822 (AccessibleText_getDefaultAttributes): New prototype.
825 (AccessibleText_getDefaultAttributes): New method.
827 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
829 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
830 write beyond the end of the table. Fixes bug #120473.
832 2003-09-30 Christian Rose <menthos@menthos.com>
834 * configure.in: Added "eu" to ALL_LINGUAS.
836 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
838 * configure.in: ALL_LINGUAS: Added no.
840 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
842 * configure.in: Added lt to ALL_LINGUAS.
844 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
846 * atk-bridge/bridge.c:
847 (atk_bridge_init): Register event listeners always even for
848 out-of-process applet.
849 (spi_atk_bridge_toplevel_added): Remove call to
850 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
851 (spi_atk_bridge_toplevelk_removed): Remove call to
852 spi_atk_deregister_event_listenersa as the listeners are now always
854 (spi_atk_bridge_register_application): Remove call to
855 spi_atk_register_event_listeners as it is not done in atk_bridge_init
857 This fixes bug #120991.
859 * libspi/table.c (impl_getColumnDescription): Correct typo,
860 pointed out by Bolian.Yin@sun.com.
862 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
864 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
866 2003-09-08 Bill Haneman <billh@gnome.org>
868 * configure.in: Revved to 1.3.7.
870 This is the GNOME 2.4.0 release of at-spi.
872 * docs/reference/cspi/Makefile.am:
873 Removed spurious inclusion of 'index.sgml' in the
874 html directory; this was breaking make distcheck and
875 also some other build environments.
877 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
879 * registryd/registry.[ch}:
880 Add queue_handler_id and focus_object to SpiRegistry data structure.
881 (registry_flush_event_queue): If event being discarded is
882 "state-change:focused" store object as focus_object.
883 (registry_start_queue): Remove queue handler and focus object
885 (registry_discard_event): New function which discards a focus event
886 if we had stored focus object in the registry.
887 (registry_queue_event): Add new check that is_queueing is set as this
888 function is reentrant.
889 (registry_filer_event): Add call to registry_discard_event.
891 This resolves issues raised in bug #108664.
893 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
895 * configure.in: Added "bn" to ALL_LINGUAS.
897 2003-09-04 Bill Haneman <billh@gnome.org>
899 * cspi/spi_event.c: Documentation improvements for
900 (SPI_registerAccessibleKeylistener).
902 * docs/reference/tmpl/spi_registry.sgml:
903 Documentation improvements for SpiAccessibleKeylistenerCB.
905 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
907 * configure.in: Added "ro" to ALL_LINGUAS.
910 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
912 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
913 not decremented to zero. Fixes bug #120725.
915 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
917 * configure.in: Added "ja" to ALL_LINGUAS.
919 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
921 * configure.in: Added "is" to ALL_LINGUAS.
923 2003-08-22 Christian Rose <menthos@menthos.com>
925 * configure.in: Added "nl" to ALL_LINGUAS.
927 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
929 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
930 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
932 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
934 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
935 type for unspecified exception.
936 * cspi_streamablecontect): Add include of string.h for memcpy.
937 (stream_release): Correct call to bonobo_object_release_unref
938 (stream_cache_item_free): Correct call to bonobo_object_release_unref
939 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
940 argument of _cspi_expection_throw.
941 * libspi/hyperlink.c: Add include of libspi/action.h:
942 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
943 * libspi/streamablecontent.c: add include of libspi/component.h.
944 * regisrtyd/deviceeventcontroller.c:
945 (spi_dec_translate_mask): Removed unused variable priv.
946 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
947 * registryd/registry.c:
948 (registry_filter_event): Remove unused variable queue_is-empty.
949 (impl_registry_notify_event): Use correct modifier in fprintf call.
951 This fixes compiler warnings reported in bug #120220.
953 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
955 * registryd/registryd.c: Remove this file.
957 2003-08-17 Sanlig Badral <badral@openmn.org>
959 * configure.in: Added mn to ALL_LINGUAS.
961 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
963 * configure.in: Added et to ALL_LINGUAS.
965 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
967 * test/event-listener-test.c: Change active-descendant to
968 active-descendant-changed.
970 2003-08-10 Sami Pesonen <sampeson@iki.fi>
972 * configure.in: Added "fi" in ALL_LINGUAS.
974 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
976 * configure.in: Added "hi" in ALL_LINGUAS.
978 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
980 * configure.in: Revved to 1.3.6.
984 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
986 * registryd/deviceeventcontroller.c
987 (spi_device_event_controller_object_finalize): Fix typo in previous
990 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
992 * registryd/deviceeventcontroller.c
993 (spi_device_event_controller_object_finalize): Fix build on
994 systems without XEvIE.
996 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
998 * acconfig.h, configure.in, registryd/Makefile.am,
999 registryd/devicecontoller.[ch]: Add XEViE support.
1001 2003-08-06 Wang Jian <lark@linux.net.cn>
1003 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1005 2003-08-06 Metin Amiroff<metin@karegen.com>
1007 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1009 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1011 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1012 MODIFIER_ALT in correct place.
1014 This fixes part of bug #118114.
1016 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1018 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1020 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1022 * configure.in: Added "ko" to ALL_LINGUAS.
1024 2003-07-28 Ole Laursen <olau@hardworking.dk>
1026 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1028 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1030 * configure.in: Added "sq" to ALL_LINGUAS.
1032 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1034 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1036 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1038 * configure.in: updated ALL_LINGUAS list
1040 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1042 * configure.in: Added Belarusian to ALL_LINGUAS.
1044 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1046 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1048 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1049 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1051 This fixes bug #116949.
1053 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1055 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1056 Correct CSPI to SPI in function documentation.
1058 This fixes bug #118054.
1060 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1062 * configure.in: Added Russian to ALL_LINGUAS.
1064 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1066 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1068 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1070 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1072 2003-07-10 Joel Brich <joel.brich@laposte.net>
1074 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1076 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1078 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1080 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1082 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1083 resources allocated for AccessibleEvent. See cspi_event().
1085 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1086 static variable streams to NULL.
1088 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1089 Update so that AcessibleEvent_ref will work.
1091 This fixes bug #116624.
1093 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1095 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1097 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1099 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1101 2003-07-02 Christian Neumair <chris@gnome-de.org>
1103 * configure.in: Added "de" (German) to ALL_LINGUAS.
1105 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1107 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1109 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1111 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1113 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1115 * configure.in: Added "pl" to ALL_LINGUAS.
1117 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1119 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1121 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1124 (get_action_from_servant):
1125 Removed assertion that action is implemented on an AtkObject.
1127 * libspi/hyperlink.c:
1128 (spi_hyperlink_new):
1129 Aggregate AccessibleAction interface on the hyperlink object if
1130 the object implements AtkAction. (This convention is used in
1133 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1135 * configure.in: Revved to 1.3.5.
1137 * registryd/Accessibility_Registry.server.in.in:
1138 Marked up appropriate strings for translation.
1140 * atk-bridge/bridge.c: Marked a couple of
1141 user-visible warnings for translation. Questionable
1142 whether they are really useful, but possibly so.
1145 2003-06-28 Christian Rose <menthos@menthos.com>
1147 * configure.in: Added "sv" to ALL_LINGUAS.
1149 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1151 * registryd/registry.c:
1152 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1153 (registry_defer_on_event): Defer focus: events, this is an
1154 improvement to the patch for bug #108664.
1156 * TODO: Update with 2.4/"Dev Complete" items.
1158 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1160 * atk-bridge/bridge.c:
1161 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1162 looks up signals once.
1163 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1164 if doing registration.
1165 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1166 when doing registration.
1168 This fixes bug #115014.
1170 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1172 * atk-bridge/bridge.c:
1173 (atk_bridge_init): Add signal handler for children-changed:remove on
1174 root when in a BonoboComponent.
1175 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1176 for first toplevel only other incrememt variable toplevels.
1177 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1178 application and remove listeners.
1179 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1181 (spi_atk_deregister_event_listeners): New function which removes
1183 (reinit_register_vars): New fuction which reinitializes variables.
1185 This fixes bug #111578.
1187 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1189 * configure.in: version 1.3.4.
1191 * cspi/spi_accessible.c:
1192 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1195 2003-06-13 Michael Meeks <michael@ximian.com>
1197 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1199 * cspi/spi_main.c (cspi_peek_ev): impl.
1201 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1203 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1205 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1207 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1208 SPI_ROLE_AUTOCOMPLETE
1210 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1212 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1213 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1215 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1217 * libspi/streamablecontent.h:
1218 * libspi/streamablecontent.c:
1219 New files, provide implementation/wrappers for
1220 Accessibility_StreamableContent.
1222 * cspi/spi_streamablecontent.c:
1223 Connected the C wrappers to the libspi C bindings.
1224 (AccessibleStreamableContent_close): New method.
1227 (AccessibleStreamableContent_close): New method, needed
1228 since we have an "open, [seek], read, close" model in cspi.
1230 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1232 Fix for #108664; Padraig's revision of my original patch.
1234 * registryd/registry.h:
1235 Added event queue list, is_queuing, and exit_notify_timeout
1236 to the registry struct.
1238 * registryd/registry.c:
1239 (registry_init): Initialize new struct from registry.h.
1240 (impl_registry_notify_event):
1241 Filter events before notifying, in case some need to be
1243 (registry_filter_event): New,
1244 we defer certain incoming events (for instance
1245 window:deactivate) because we may wish to hide
1246 or reject them based on pending events. This is
1247 mostly a workaround for bug #108664.
1248 (registry_queue_event, registry_start_queue): New.
1249 (registry_defer_on_event): Test event to see if it
1251 (registry_reset_on_event): Returns TRUE if the
1252 event should cause a queue reset.
1253 (registry_discard_on_event): Returns TRUE if the event
1254 should cause the previous queue contents to be discarded.
1255 (registry_timeout_flush_queue): Flushes the pending event
1256 queue if no reset/discard-triggering events have come in
1257 within the timeout period.
1258 (registry_emit_event): New.
1259 (registry_clone_notify_context): New, used when queueing the
1260 event notify contexts.
1262 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1264 * configure.in: Version revved to 1.3.2, lt 0.9.2
1265 Incremented ATK required version to 1.3.4.
1267 * cspi/spi_registry.c:
1268 (SPI_generateKeyEvent):
1269 We now pass the keystring along if it's non-null.
1271 * registryd/deviceeventcontroller.c:
1272 (keysym_mod_mask): New method, returns modifier mask
1273 required to generate a keysym from a given keycode.
1274 (dec_synth_keysym): New method.
1275 (dec_synth_keystring): New method.
1276 (dec_get_modifier_state): New method.
1277 (dec_lock_modifiers): New
1278 (dec_unlock_modifiers): New.
1279 (dec_keysym_for_unichar): New, rather brute-force
1280 conversion from UCS-4 to X KeySyms. Only works for
1281 Latin at the moment, with partial implementations for
1282 Greek, Hebrew, and (incomplete) Katakana.
1283 (impl_generate_keyboard_event): Now implement
1284 "KEYSTRING" synthesis and implement "KEYSYM"
1286 (keycode_from_keysym): Improved, passes a returned
1287 modmask value now if the corresponding param is non-NULL.
1289 Fixes bugs #92143 and #109776.
1292 * test/keysynth-test.c:
1293 New test program for key synthesis, to confirm fixes for
1297 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1299 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1301 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1302 Add line for RELATION_POPUP_FOR
1304 * docs/reference/cspi/tmpl/spi_relation.sgml:
1305 Add relation SPI_RELATION_POPUP_FOR
1307 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1308 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1310 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1312 * libspi/relation.c (spi_init_relation_type_table):
1313 Add line for RELATION_POPUP_FOR
1315 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1317 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1318 there are still windows which have not been deleted and emit
1319 window:deactivate, if necessary and window:destroy events.
1320 This fixes bug #114370. The change on June 5th was not correct.
1322 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1324 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1327 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1329 New methods for client exception handling and interception.
1330 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1331 (SPI_exceptionHandlerPop): You guessed it...
1332 (SPI_getSourceType): Return the type of object which offended.
1333 (SPI_getExceptionCode): Return an enum code telling, possibly,
1334 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1335 (SPIAccessibleException_getSource): get the source object for
1336 exceptions that come from Accessibles, if SPIExceptionSourceType is
1337 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1338 (SPIException_getDescription): New, returns a string description of
1339 the problem. [Not yet a stable ABI, strings are not frozen]
1341 * cspi/spi-private.h:
1342 Added implementation details of opaque SPIException
1346 Implementations of above. Also
1347 (_cspi_exception_throw): new private method that
1348 dispatches exceptions to handlers, called from cspi-bonobo.c
1350 * cspi/bonobo/cspi-bonobo.c:
1351 (cspi_check_ev): call _cspi_exception_throw.
1352 Don't print a warning message if the exception has been
1353 handled by _cspi_exception_throw.
1355 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1357 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1358 there are still windows which have not been deleted and emit
1359 window:deactivate, if necessary and window:destroy events.
1360 This fixes bug #114370.
1362 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1365 (cspi_accessible_is_a): Make non-fatal
1366 if the object reference is dead.
1368 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1370 * cspi/spi_main.c: #include <stdio.h>
1371 * test/simple-at.c: ditto
1372 * test/event-listener-test.c: ditto
1373 * test/screen-review-test.c: ditto
1375 2003-05-30 Michael Meeks <michael@ximian.com>
1377 * test/test-simple.c (main): use CORBA_ORB_perform_work
1378 instead of an unnecessary linc_ call.
1380 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1382 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1383 Add SPI_STATE_INDETERMINATE.
1385 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1388 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1390 * libspi/stateset.c (init_state_type_tables): Add support for
1393 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1395 * configure: Update versions of atk and gail required.
1396 This fixes bug #113268.
1398 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1400 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1402 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1404 * libspi/Makefile.am:
1405 Ensure headers are generated before being used by c sources.
1407 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1410 Simplified lt versioning rules.
1411 Incremented version to 1.3.0, to indicate that we're on the
1412 unstable branch now.
1414 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1416 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1417 Add MKDB_OPTIONS=--outtput-format=xml
1419 * docs/reference/cspi/at-spi-cspi-docs.sgml
1420 docs/reference/idl/at-spi-idl-docs.sgml:
1421 Convert to Docbook XML.
1423 This fixes bug #111793.
1425 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1427 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1428 AcccessibleKeyEventType, AccessibleKeyMaskType.
1430 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1432 * cspi/state-types.h: Add documentation for AccessibleState.
1434 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1435 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1436 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1437 AccessibleComponentLayer.
1439 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1442 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1444 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1445 Accessible. Add description of AccessibleEvent,
1446 AccessibleEventListenerCB.
1448 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1451 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1452 documentation. Add description of AccessibleKeystrokeListenerCB,
1453 AccessibleKeyEventMask, AccessibleModifierMaskType,
1454 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1455 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1457 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1460 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1463 This fixes bug #104730.
1465 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1467 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1468 Set is_text field of Accessibility_DeviceEvent data structure.
1470 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1471 is-text field of AccessibleDeviceEvent data structure.
1473 This addresses part of bug #108666.
1475 * registryd/devcieeventcontroller.c: Unset debug option.
1477 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1479 * cspi/accessible.c:
1480 (cpi_initial_relation_type_table): New function which initializes
1481 mapping between Accessibility_RelationType and AccessibleRelationType.
1482 (cspi_relation_type_from_spi_relation_type): New function which
1483 translates an Accessibility_RelationType into an AccessibleRelationType.
1484 (AccessibleRelation_getRelationType): Use
1485 cpi_relation_type_get_spi_relation_type to return correct value.
1486 (spi_state_to_corba): Return correct type for default case.
1488 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1489 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1491 * cspi/cspi-bonobo-listener.c:
1492 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1495 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1496 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1497 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1498 libspi/image.c, libspi/listener.c, libspi/selection.c,
1499 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1500 registryd/desktop.c, registryd/registry.c:
1501 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1503 * libspi/eventlistener.c
1504 Remove semicolon after BONOBO_TYPE_FUNC.
1506 * libspi/relation.c:
1507 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1508 (spi_init_relation_type_table): Initialize using correct type.
1510 * registryd/desktop.c:
1511 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1512 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1513 of Accessibility_KeyEventType.
1515 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1518 * tests/simple-at.c, tests/screen-review-test.c:
1519 Add include for <strings.h>.
1521 * tests.stress-test.c:
1522 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1524 These changes fix compiler warnings when using FORTE compiler on
1525 Solaris; fixes bug #107479.
1528 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1531 * configure.in: revved to 1.1.10
1533 * libspi/keymasks.h:
1534 (SPI_KEYMASK_NUMLOCK): Added.
1536 * registryd/deviceeventcontroller.c:
1537 (spi_key_event_matches_listener): AND with a smaller
1538 bitmask (as we should).
1539 (spi_dec_translate_mask):
1540 New method, sets the virtual NumLock modifier bit
1541 if numlock is on. Eventually it can handle other virtual
1542 modifier bits if needed, or other marshalling from
1543 at-spi modifier masks to platform (X) masks.
1544 (spi_dec_key_listener_new):
1545 Call spi_dec_translate_mask to set up virtual mod bits
1546 in the 'mask' field when creating a new listener struct.
1547 (spi_dec_emit_modifier_event):
1548 Set the virtual (i.e. NumLock) bits before emitting event.
1549 (spi_controller_register_with_devices):
1550 Query for the NumLock modifier 'physical' bit if Xkb is
1551 present, for use in above methods.
1555 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1557 * registryd/deviceeventcontroller.c:
1558 (spi_keystroke_from_x_key_event):
1559 Instead of checking to see if the keysym is
1560 printable, check the string from XLookupString
1561 if available, get the first unicode character from it,
1562 and call g_unichar_isprint to determine whether the
1563 is_text flag should be TRUE or FALSE.
1567 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1569 * atk-bridge/bridge.c: Add support for extended events
1570 * cspi/spi_event.c: Add documentation and implementation for
1572 * tests/event-listener-test.c: Add tests for extended events.
1574 This fixes bugs #100424 and #100426.
1576 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1578 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1579 of LT_CURRENT. This fixes bug #89350.
1581 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1583 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1584 number of signal parameter values before accessing them. This fixes
1587 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1589 * configure.in: Fixed duplicate inclusion of -lspi.
1590 * branched for gnome-2-2/HEAD.
1591 [created tag "gnome-2-2"]
1593 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1595 * configure.in: 1.1.9 release.
1598 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1600 [needed by GOK, to fix bugs 107985 and 107988]
1601 * registryd/deviceeventcontroller.c:
1602 (spi_dec_clear_unlatch_pending):
1603 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1604 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1605 (spi_dec_init_mouse_listener):Emit warning if mouse button
1607 (spi_device_event_controller_forward_mouse_event):
1608 Removed unnecessary parens from a conditional.
1609 (global_filter_fn):Added TODO comment.
1610 (impl_generate_keyboard_event):
1611 Cancel a pending relatch if a 'delatching' key was
1614 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1616 * atk-bridge/bridge.c:
1617 Change atk_signal_child_changed to atk_signal_children_changed.
1618 Reorganize code in spi_atk_bridge_signal_listener().
1620 * test/event-listener-test.c:
1621 Add children_changed_listener and report_children_changed_event()
1622 to test AccessibleChildEvent_getChildAccessible.
1624 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1626 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1627 g_strdup to CORBA_String_dup (bug #105291)
1629 * test/event-listener-test.c (report_text_event): Add call to
1632 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1634 * registryd/deviceeventcontroller.c:
1635 (spi_keystroke_from_x_key_event):
1636 Fix string and keysym return codes to match modifier state.
1639 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1641 * registryd/deviceeventcontroller.c:
1642 (spi_keystroke_from_x_key_event):
1643 Fix segv due to improper use of isprint(c). [bug #107254]
1645 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1648 (get_accessible_text_boundary_type):
1649 Move default return value to (new) default case in switch.
1650 (get_accessible_text_clip_type):
1651 Move default return value to (new) default case in switch.
1653 * libspi/application.c:
1654 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1655 Remove unused methods.
1656 (impl_accessibility_application_register_object_event_listener):
1657 Remove unused methods.
1660 Added #include of <math.h>.
1662 * registryd/deviceeventcontroller.c:
1663 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1664 we don't currently use this method.
1665 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1667 (impl_generate_key_event):
1668 Remove unused variables.
1669 (impl_generate_mouse_event):
1670 Initialize button to zero, just in case we get an invalid
1671 input. Added support for mouse buttons 4 and 5.
1672 (spi_device_event_controller_new):
1673 Removed unused variable declaration for 'private'.
1675 Added #include of <gdk/gdk.h>
1677 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1679 * configure.in: Update to work when X is not installed in expected
1680 location. Fixes bug #105836.
1682 * atk-bridge/bridge.c
1683 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1685 (spi_atk_register_event_listener): Add signal listener for
1687 (spi_atk_bridge_signal_listener): Event event when link-selected
1688 signal is emitted. (bug #104622)
1690 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1691 on returned string. (bug #105291)
1693 * test/event-listener-test.c: Add test for link-selected.
1695 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1697 * atk-bridge/Makefile.am: Correct typo in previous commit.
1699 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1701 * atk-bridge/Makefile.am: Allow for build directory to be different
1702 from source directory
1704 * registryd/Makefile.am: Allow for build directory to be different
1705 from source directory
1709 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1712 Fixed dependencies for libcspi so that libspi gets pulled in
1713 properly. Fixes 104741.
1717 Clean up inline docs a little.
1719 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1721 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1722 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1723 the AtkObject within an SpiDesktop.
1724 This addresses bug #101524.
1726 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1727 Remove call to gdk_init().
1729 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1730 so that Display is set when SpiDesktop is created.
1732 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1734 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1735 This fixes bug #102830.
1737 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1739 * test/test-simple.c: Update to take account of fact that GailButton
1740 now implements AtkText.
1741 (create_text_window): Set name on AtkObject for GtkEntry.
1742 (validate_accessible): Check accessible name before calling test_text().
1744 * libspi/Makefile.am: Fix problem with building outside of source
1745 directory. Bug #98120.
1747 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1748 typo in documentation comments. Bug #94275.
1750 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1752 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1754 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1757 Add includes to avoid compiler warnings on Solaris.
1758 (impl_getRangeExtents): Bug fix.
1760 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1762 Fix for 100944, [API addition approved by Gman and murrayc].
1769 * idl/Accessibility_Text.idl:
1770 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1771 (Text::getRangeExtents): New method for efficient
1772 bounds query of a text range.
1773 (Text::getBoundedRanges): New method for efficient
1774 clipping of text to bounding boxes.
1775 (unImplemented7, unImplemented8):
1776 Removed these padding methods to preserve bincompat.
1779 (impl_getRangeExtents): implementation of new IDL.
1780 (impl_getBoundedRanges): implementation of new IDL.
1781 (SpiTextRect): Internal use struct.
1782 (_spi_text_rect_union): internal method, calculates union of two
1783 SpiTextRect bounding rects.
1784 (_spi_text_range_seq_from_gslist): internal method, allows us
1785 to build our sequence efficiently as a gslist then convert it
1787 (_spi_bounds_contain): internal method, determines whether
1788 a text character is "in" or "out" of a clip rect according to
1789 values of TEXT_CLIP_TYPE.
1790 (spi_text_class_init): Initialize the new methods in the epv.
1793 (AccessibleTextClipType): New enum used by screen review api.
1794 (AccessibleTextRange): New struct used by screen review api.
1795 (AccessibleText_getRangeExtents):
1796 cspi binding for Accessibility_Text_getRangeExtents.
1797 (AccessibleText_getBoundedRanges):
1798 cspi binding for Accessibility_Text_getBoundedRanges.
1799 (AccessibleTextRange_freeRanges): convenience method.
1802 (AccessibleText_getRangeExtents):
1803 cspi binding for Accessibility_Text_getRangeExtents.
1804 (AccessibleText_getBoundedRanges):
1805 cspi binding for Accessibility_Text_getBoundedRanges.
1806 (AccessibleTextRange_freeRanges): convenience method.
1807 (get_accessible_text_clip_type): internal conversion method.
1808 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1810 * registryd/deviceeventcontroller.c:
1811 (spi_dec_mouse_check):
1812 Improved behavior for mouse:abs events
1813 [same granularity as mouse:rel events, and no
1814 events when mouse is idle].
1816 2002-12-16 Michael Meeks <michael@ximian.com>
1818 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1820 * libspi/stateset.c (state_spi_to_atk): split out
1821 ( fix several remote array bounds nasties )
1822 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1823 (impl_remove): make safe from array bounds issues.
1824 (spi_atk_state_from_spi_state): impl.
1826 * libspi/stateset.h (spi_state_set_cache_is_empty):
1827 add a set of wrapper defines to get layering right.
1829 * cspi/spi_accessible.c: update state set stuff to
1832 2002-12-14 Michael Meeks <michael@ximian.com>
1834 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1835 to avoid 2 roundtrips to the registry per key event
1836 (spi_atk_bridge_key_listener): upd.
1837 (deregister_application): release the dec.
1839 * registryd/registry.c (notify_listeners_cb):
1840 bin lots of re-enterant complexity - we no longer
1841 do a round-trip bonobo ref here, ensure that a single
1842 listener's exception failure won't poison all other
1844 (impl_registry_notify_event): bin obvious memory leak.
1846 2002-12-13 Michael Meeks <michael@ximian.com>
1848 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1849 init the ev so the error is meaningful.
1850 (spi_atk_bridge_key_listener): ditto.
1852 * cspi/spi_main.c (cspi_ev): init the ev so we start
1853 with a clean slate, otherwise the first exception
1854 kills us completely.
1856 * cspi/spi_text.c (get_accessible_text_boundary_type):
1857 add a fallthrough for no warnings.
1859 * cspi/spi_registry.c: prune unused warnings.
1861 * cspi/spi_main.c (cspi_object_take): fix
1862 mind-blowing brokenness ( by watching the compile
1865 * cspi/spi_accessible.c (Accessible_getStateSet):
1866 re-impl. to use an AtkStateSet.
1867 (spi_state_type_from_accessible_state),
1868 (init_state_table): bin these.
1870 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1872 (atk_state_set_from_accessibility_state_set): here.
1874 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1875 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1876 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1877 (AccessibleStateSet_add, AccessibleStateSet_remove),
1878 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1879 (AccessibleStateSet_isEmpty): re-write to use a local
1882 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1884 * configure.in: Revved to 1.1.7 (new keymask vals).
1886 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1888 * libspi/keymasks.h:
1889 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1891 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1894 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1895 to compare two CORBA_TypeCodes.
1896 (cspi_internal_event_add): Silence warning from FORTE compiler.
1898 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1899 avoid implicit declaration of functions.
1901 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1903 * atk-bridge/bridge.c:
1904 (spi_atk_bridge_init_event_type_consts): Store signal id for
1905 active-descendant-changed signal.
1906 (spi_atk_register_event_listeners): Add signal listener for
1907 active-descendant-changed signal,
1908 (spi_atk_bridge_signal_listener): Move code in function
1909 spi_atk-signal_emit_event() into this function.
1910 Add support for active-descendant-changed
1911 Update support for child-changed signal.
1912 (spi_bridge_window_event_listener): Silence warning.
1914 * libspi/spi_private.[ch]:
1915 (spi_init_any_object): Change second parameter from CORBA_Object to
1917 Omit call to CORBA_Object_duplicate().
1918 Set CORBA_any's _value to CORBA_Object*.
1920 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1926 (AccessibleEvent_ref, AccessibleEvent_unref):
1927 New methods, for persisting an event outside the emission context.
1928 Must be used if the new accessor methods are to be called
1929 outside of the event listener's callback.
1931 * cspi/bonobo/cspi-bonobo.c:
1932 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1933 as second parameter instead of NULL, so we can call
1934 cspi_check_ev afterwards.
1937 (cspi_object_take): New internal method,
1938 converts a CORBA_Object reference to a hard ref on
1939 an Accessible if possible, returning NULL if the object
1940 reference is invalid or an Accessible * otherwise.
1943 (AccessibleEvent_ref):
1944 Increment the event's internal private refcount, and
1945 add the event's internal struct to an internal cache
1946 if it's not already there.
1947 (AccessibleEvent_unref):
1948 Decrement the event's refcount and remove it from
1949 the cspi event cache if refcount==0.
1950 (cspi_event_compare): New private method.
1951 Compares two event structs via their ids. Used
1953 (cspi_internal_event_lookup): New private method.
1954 (cspi_internal_event_check): New private method,
1955 a 0-order sanity check for events to make sure their
1956 private data is intact.
1957 (cspi_internal_event_add, cspi_internal_event_remove):
1958 New private methods for managiing the event cache.
1960 * cspi/bonobo/cspi-bonobo-listener.c:
1962 Initialize the new private data elements (id, magic, ref_count).
1964 * atk-bridge/bridge.c:
1965 (spi_atk_bridge_signal_listener):
1966 Fixed bug #100530, passing wrong params to emission func.
1968 * registryd/deviceeventcontroller.c:
1969 (spi_dec_button_update_and_emit):
1970 Fixed type in mask bit operations; fix for #99799.
1972 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1974 Removed some of the more dangerous workarounds from
1975 previous commit; they are only needed by GOK, which
1976 in reality should be using another method to accomplish
1977 the goals. So on reconsideration some of the workarounds
1978 need to be reverted:
1980 * registryd/deviceeventcontroller.c:
1981 (spi_keycodes_contain, spi_dec_init_keycode_list):
1982 Removed these methods, used only by a nasty hack to try
1983 and detect whether a key synthesis should be allowed
1984 to reset the XKB latch state or not. This code was only
1985 required to work around an interaction between GOK,
1986 button events, and XKB.
1987 (impl_generate_key_event):
1988 Removed hack at end of key generation that tried to
1989 "do the right thing" if XKB latch keys were generated
1990 in the midst of button press/release pairs.
1993 Added a check for HAVE_XINPUT. Not normally used yet.
1995 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1997 Workarounds and fixes for mouse event/XKB interaction.
1999 * registryd/deviceeventcontroller.c:
2000 (spi_keycodes_contain, spi_dec_init_keycode_list):
2001 New internal methods.
2002 (spi_dec_set_unlatch_pending):
2003 Split the method that tells XKB to expect an
2004 unlatch (and revert it) out of the rest of the
2005 event handling code. This method is called by the
2006 two mouse event handlers (the poll and the filter).
2007 (spi_dec_update_and_emit, spi_dec_mouse_check):
2008 New methods split from spi_dec_poll_mouse_moved.
2009 The second one is now called from inside the filterFn
2010 when an XKB delatch event is received, to determine
2011 whether to revert the delatch or not.
2012 (spi_poll_mouse_moved): Refactor; also we can now
2013 properly handle the case where multiple button states
2014 have changed between polling cycles and we didn't get
2015 notified due to another client's grab.
2017 Synchronize the server while handling an XKB notification.
2018 Ugly, but apparently necessary to avoid nasty races.
2019 Check the mouse state on receipt of an XKB latch change,
2020 to decide whether to revert the latch or not. (Latches are
2021 reverted if there is an immediately preceding mouse button
2022 event that a client has consumed, in which case we don't want
2023 the user to see the side-effect of the event).
2024 (spi_device_event_controller_forward_mouse_event):
2025 Check for modifier events and fire before resetting mouse_mask_state,
2026 prevents losing modifier events.
2028 (impl_generate_keyboard_event):
2029 If we've just generated a keyboard event for a non-shift key,
2030 we don't want to revert the pending XKB latch.
2031 Otherwise, check the modifier state (via a call to
2032 spi_dev_mouse_check) and set the relatch mask to
2033 that state before returning.
2035 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2038 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2041 * atk-bridge/bridge.c:
2042 (spi_atk_register_event_listeners):
2043 Don't re-register for ATK events if the registry has died
2044 and the app needs to re-register; the ATK listeners are in
2045 process and doing so will cause duplicate emission.
2047 * registryd/deviceeventcontroller.c:
2048 (spi_poll_mouse_moved):
2049 Reformat the source, detect and emit multiple button-change
2050 events (i.e. if multiple buttons have changed between poll
2052 Add code to detect mouse-down events even when the pointer
2053 is grabbed; workaround for GOK bug 98420.
2054 (spi_controller_register_with_devices):
2055 Call XTestGrabControl with 'impervious' flag set to True,
2056 allows us to synthesize events and query the pointer even during
2057 an active grab by another client.
2058 (spi_device_event_controller_forward_mouse_event):
2059 Set the mouse_mask_state to the mouse_button_state from
2060 the intercepted event, to synchronize the grab listener with
2063 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2065 * cspi/spi_accessible.c:
2066 (AccessibleRole_getName):
2067 Added necessary strings for making this (deprecated)
2068 method work with the new role types.
2069 (init_role_table, role_table):
2070 Added definition of SPI_ROLE_APPLICATION.
2072 * libspi/spi-roletypes.h:
2073 Added SPI_ROLE_APPLICATION.
2075 * idl/Accessibility_Role.idl:
2076 Added ROLE_APPLICATION.
2078 * docs/reference/cspi/at-spi-cspi-decl.txt:
2079 Added SPI_ROLE_APPLICATION to docs.
2081 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2083 * cspi/spi_accessible.c
2084 (cspi_init_role_table): Do not write beyond end of role_table.
2085 (Accessible_getRole): Use correct type for value returned by
2086 Accessibility_Accessible_getRole().
2088 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2089 beyond end of role_table. (This fixes bug #98269)
2091 * libspi/application.c: Add include file spi-private.h for
2092 definition of spi_init_any_nil.
2094 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2098 * libspi/spi-private.h:
2099 Added DGB() macro, and extern int _dbg declaration.
2101 * registryd/registry.c:
2102 (definitions) storage for _dbg.
2103 (spi_registry_init):
2104 Get environment variable "AT_SPI_DEBUG".
2105 (spi_registry_set_debug):
2106 New method, to initialize _dbg value.
2107 (spi_listener_struct_new, spi_registry_object_finalize):
2108 (notify_listeners_cb):
2109 Changed fprintfs to use DBG and g_warning().
2111 * registryd/deviceeventcontroller.c:
2112 (_deregister_keygrab, spi_controller_register_device_listener):
2113 Changed debug/warning messages to use DBG macro.
2115 * libspi/listener.c:
2116 (impl_notify_event):
2117 Changed warning messages to use DBG macro and g_warning().
2119 * atk-bridge/bridge.c:
2120 (atk_bridge_init, spi_atk_bridge_get_registry):
2121 (spi_atk_bridge_exit_func):
2122 (spi_atk_bridge_property_event_listener):
2123 Changed status, warning, and error messages to use
2124 g_warning, g_message, and DBG macros.
2127 Read the state of the AT_SPI_DEBUG environment variable
2128 and set a local '_dbg' accordingly.
2130 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2132 FIXES for 98836, 98842, other bugs.
2135 Revved to 1.1.4, interface-age=4, binary-age=4.
2137 * registryd/deviceeventcontroller.c:
2139 Fixed crasher bug in last_mouse_pos initialization.
2141 * registryd/registry.c:
2142 (desktop_add_application, desktop_remove_application):
2143 Added (and then commented out) some support for
2144 object context marshalling. [TODO]
2146 * atk-bridge/bridge.c:
2147 (spi_atk_bridge_event_context_create):
2148 Commented out object context creation until it can
2149 be properly tested and debugged.
2151 * registryd/registry.c:
2152 (impl_registry_notify_event):
2153 Fixed crasher bug, we were calling
2154 spi_re_entrant_list_foreach () with an empty list.
2156 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2158 * idl/Accessibility_Action.idl:
2159 * idl/Accessibility_Component.idl:
2160 * idl/Accessibility_Desktop.idl:
2161 * idl/Accessibility_Event.idl:
2162 * idl/Accessibility_Hyperlink.idl:
2163 * idl/Accessibility_Image.idl:
2164 * idl/Accessibility_Relation.idl:
2165 * idl/Accessibility_Selection.idl:
2166 * idl/Accessibility_State.idl:
2167 * idl/Accessibility_Value.idl:
2168 Updated unimplemented slot count to minimum of
2169 four for all interfaces, for ABI freeze.
2171 * idl/Accessibility_EditableText.idl:
2172 * idl/Accessibility_Text.idl:
2173 Updated unimplemented slot count to six
2176 * idl/Accessibility_Registry.idl:
2177 Updated unimplemented slot count to six
2178 (also for DeviceEventController),
2181 * idl/Accessibility_Table.idl:
2182 Updated unimplemented slot count to eight,
2185 * idl/Accessibility_Event.idl:
2186 Added CORBA_any "any_data" member to Event struct.
2188 * idl/Accessibility_Event.idl:
2189 Added CORBA_any "any_data" member to Event struct.
2191 * atk-bridge/bridge.c:
2193 atk_signal_text_changed, atk_signal_child_changed,
2194 signal ids queried from gtype system.
2195 (AtkBridgeEventContextType): New enum.
2196 (AtkBridgeEventContextData): New struct.
2197 (AtkBridgeEventContext): New struct.
2198 (atk_bridge_init_event_type_consts):
2199 New method, initializes type contants for comparison
2200 prior to emit_eventv.
2201 (atk_bridge_event_context_init): New method,
2202 initializes a CORBA_any from an AtkBridgeEventContext.
2203 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2204 initialize the event.any_data struct.
2205 (spi_atk_bridge_event_context_create): New method,
2206 creates an AtkBridgeEventContext from signal/event info.
2207 (spi_atk_bridge_event_context_free): New method.
2208 (spi_atk_emit_eventv): Changed to take an
2209 AtkBridgeEventContext parameter. We now initialize
2210 the event.any_data member prior to notifying the
2211 Registry, via the AtkBridgeEventContext.
2212 (spi_atk_bridge_property_event_listener):
2213 (spi_atk_bridge_state_event_listener):
2214 Match emit_eventv signature.
2215 (spi_atk_bridge_object_event_listener):
2216 Match emit_eventv signature, and create an
2217 event context from the event details.
2218 Free the event context afterwards.
2219 (spi_atk_bridge_window_event_listener):
2220 Create an event context, pass it to the
2224 (AccessibleEvent_getContextString):
2225 (AccessibleEvent_getContextObject):
2226 New methods, allow query of AccessibleEvent objects
2227 for more context details (via the "any_data" member
2228 of the Event struct, above).
2231 Definitions for AccessibleEvent_getContextString
2232 and AccessibleEvent_getContextObject.
2234 * cspi/spi_listener.h:
2235 (InternalEvent): New struct.
2238 (AccessibleEvent_getContextString):
2239 (AccessibleEvent_getContextObject):
2240 Implementations of new methods, for obtaining
2241 additional context information from some event types.
2243 * cspi/spi_registry.c:
2244 (SPI_registerGlobalEventListener):
2245 Added mention of active-descendant-changed event in docs.
2247 * cspi/cspi-bonobo-listener.c:
2249 Marshal the any into the AccessibleEvent via
2252 * libspi/spi-private.h:
2253 #include <orbit/orbit.h>
2255 (spi_init_any_string):
2256 (spi_init_any_object):
2257 New convenience function declarations.
2261 (spi_init_any_string):
2262 (spi_init_any_object):
2263 New convenience function implementations.
2265 * registryd/deviceeventcontroller.c:
2266 (spi_poll_dec_mouse_moved):
2267 (spi_device_event_controller_forward_mous_event):
2268 Initialize any_data member of event.
2269 (spi_deregister_controller_device_listener):
2270 Fix incorrect param pass which was preventing deregistration.
2272 * registryd/registry.c:
2273 (desktop_add_application):
2274 (desktop_remove_application):
2275 Add object data to event's any_data before dispatch.
2277 Fix for error messages from GAIL.
2279 * test/event-listener-test.c:
2280 Test new ContextString and "any_data" API:
2281 (report_text_event): New method query and output context string.
2282 (main): register a new text listener with report_text_event
2285 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2287 Fixes for bugs 98127 and 97914.
2288 * cspi/spi-roletypes.h:
2289 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2291 * cspi/spi-statetypes.h:
2292 Added SPI_STATE_MANAGES_DESCENDANTS
2294 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2295 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2296 * cspi/spi_accessible.c:
2297 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2298 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2299 Accessibility_STATE_MANAGES_DESCENDANTS
2300 * libspi/accessible.c:
2301 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2302 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2303 As requested by Bill, I also cleaned up the alignment.
2304 * libspi/relation.c:
2305 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2306 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2307 * libspi/stateset.c:
2308 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2309 Accessibility_STATE_MANAGES_DESCENDANTS
2310 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2311 Document changes reflecting modifications to roles.
2312 * docs/reference/cspi/tmpl/spi_relation.sgml:
2313 Document changes reflecting modifications to relations.
2314 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2315 Document changes reflecting modifications to states.
2317 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2320 Revved to 1.1.3, interface-age=3, binary-age=3.
2321 Added REBUILD macro.
2324 Removed accessx-gui from the tests, since we have a nice
2325 keyboard accessibility capplet now :-)
2327 * test/keysynth-demo.c:
2328 (increment_scan): removed do-nothing default: case,
2331 * test/visual-bell.c:
2332 (main) : removed do-nothing default: case,
2335 * cspi/spi_action.c:
2336 (AccessibleAction_getKeyBinding_):
2337 Documented keybinding string format.
2341 (AccessibleText_getAttributes):
2342 Documented the text attribute string format.
2343 It's changed to use semicolon delimiters also,
2344 to prevent clashes with CSS attributes, but the old
2345 trick of looking for ", " strings will still work
2346 (as unreliably as ever). Fix for bug related to 97916.
2349 Include <cspi/bonobo/cspi-bonobo-listener.h>
2350 Fixes build warning.
2351 (SPI_freeAccessibleKeySet):
2352 (AccessibleKeystrokeListener_addCallback):
2353 (AccessibleKeystrokeListener_removeCallback):
2354 Modify to use AccessibleDeviceListener API internally,
2355 instead of AccessibleKeystrokeListener.
2357 * idl/Accessibility_Event.idl:
2358 Added two more empty slots to EventListener (for a total of four).
2360 * idl/Accessibility_Accessible.idl:
2361 Added four empty slots to Accessible interface.
2363 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2365 * idl/Accessibility_Registry.idl:
2366 (KeyEventType, EventType):
2367 Marked KeyEventType as deprecated; it duplicates
2368 functionality of EventType, which has been extended to
2369 include Mouse-button events.
2370 (KeyEventTypeSeq): defined in terms of EventType.
2371 (registerDeviceEventListener, deregisterDeviceEventListener):
2372 New methods, for managing listeners to device events,
2373 which potentially may consume them.
2376 Added definition for AccessibleDeviceListener.
2378 * cspi/spi-listener.h:
2379 (enum AccessibleDeviceEventType):
2380 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2381 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2382 for backwards compat.
2383 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2384 and typedef'd AccessibleKeystroke to it for back-compat.
2385 (AccessibleDeviceListenerCB):
2386 New function prototype typedef.
2389 (AccessibleDeviceEventMask): New typedef.
2390 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2391 (AccessibleKeyMaskType):
2392 Set equivalent to AccessibleModifierMaskType for back-compat.
2393 (SPI_createAccessibleKeystrokeListener):
2394 (AccessibleKeystrokeListener_unref):
2395 Deprecated in favor of equivalent (better-named) new API below..
2396 keystroke listeners are like all device listeners.
2397 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2398 New API names for old features :-).
2399 (AccessibleDeviceListener_addCallback):
2400 (AccessibleDeviceListener_removeCallback):
2401 (SPI_registerDeviceEventListener):
2402 (SPI_deregisterDeviceEventListener):
2406 (SPI_createAccessibleKeystrokeListener):
2407 Use new preferred API, cspi_device_listener_new() and
2408 cspi_device_listener_add_cb().
2409 (AccessibleKeystrokeListener_removeCallback):
2410 Use new preferred API, cspi_device_listener_remove_cb().
2411 (AccessibleKeystrokeListener_unref):
2412 Use new preferred API, cspi_device_listener_unref().
2413 (SPI_createAccessibleDeviceListener):
2414 (AccessibleDeviceListener_addCallback):
2415 (AccessibleDeviceListener_removeCallback):
2416 Implementation of new API.
2418 * cspi/spi_registry.c:
2419 (SPI_registerDeviceEventListener):
2420 (SPI_deregisterDeviceEventListener):
2421 Implementation of new API. Fixed memory leak and removed need to
2422 allocate EventTypeSeq (thanks Michael for catching this).
2423 Squashed a wayward CORBA_exception_free that shouldn't get called.
2425 * cspi/bonobo/cspi-bonobo-listener.c:
2427 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2428 (cspi_key_event): renamed to cspi_device_event().
2429 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2430 Extended to handle mouse button events as well as key events.
2431 (CSpiKeystrokeListener):
2432 Class superceded by CSpiDeviceListener.
2433 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2434 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2436 * cspi/bonobo/cspi-bonobo-listener.h:
2437 (CSpiKeystrokeListener):
2438 Class superceded by CSpiDeviceListener.
2439 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2440 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2442 * libspi/Makefile.am:
2443 Replaced keystrokelistener.h and keystrokelistener.c
2444 with devicelistener.h and devicelistener.c; keystrokelisener.h
2445 stub retained for back-compat.
2447 * libspi/keystrokelistener.c:
2451 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2453 * registryd/deviceeventcontroller.c:
2454 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2455 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2456 (DEControllerPrivateData): Added xkb settings data.
2457 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2458 button release events (which can't be captured via XGrabButton).
2459 Don't dispatch via the 'normal' event mechanism if the device event was
2461 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2462 Handle the typeseq data in its new location (see above).
2463 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2464 New methods, for "generic" device listeners.
2465 (spi_controller_register_device_listener):
2466 Now handle mouse event listeners as well as key listeners.
2467 (spi_controller_notify_mouselisteners):
2468 New internal method.
2469 (spi_device_event_controller_forward_mouse_event):
2470 Now we notify mouse device listeners as well as generating the
2471 non-consumable "mouse:" events.
2473 We must check and restore the XKB
2474 modifier map if we consume the event, since the act of triggering
2475 a mouse event will normally reset the XKB latch. This is required for
2477 (spi_controller_register_with_devices):
2478 Load the XKB settings when registering, and register for XKB
2479 state notify events.
2480 (spi_key_eventtype_seq_contains_event):
2481 Renamed spi_eventtype_seq_contains_event, since it's used
2482 internally for all device event types now.
2483 (spi_key_event_matches_listener):
2484 Uses spi_eventtype_seq_contains_event now.
2485 (spi_device_event_controller_object_finalize):
2486 Free the private data and the XkbKeyboard struct.
2487 (impl_register_device_listener, impl_deregister_device_listener):
2488 Implementation of new IDL.
2489 (spi_deregister_controller_device_listener):
2490 New internal method.
2491 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2492 More efficient implementation, we don't have to create a new
2493 XkbControls structure every time we query.
2494 (spi_device_event_controller_class_init):
2495 Initialize the epv entries for the new IDL. Assign the
2496 "spi-dec-private" quark.
2497 (spi_device_event_controller_init):
2498 Initialize the private data.
2499 (spi_device_event_controller_forward_key_event):
2500 Removed a bogus CORBA_exception_free() call.
2502 * registryd/deviceeventcontroller.h:
2503 Replaced inclusion of keystrokelistener.h with
2506 * test/event-listener-test.c:
2507 (report_mouse_event):
2510 Added mouse-event device listener.
2512 * test/test-simple.c:
2513 (create_test_window):
2514 Fixed regression (we were instantiating a GtkRange,
2515 which is now an abstract class). Also fixed to match
2516 existing AtkRole names, this seems to have changed in ATK
2517 awhile ago; too late now I think, and the new
2518 mechanism is at least elegant and consistent with the
2519 glib enum "nick" APIs.
2521 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2523 * idl/Accessibility_Relation.idl:
2524 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2525 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2526 * idl/Accessibility_Role.idl:
2527 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2528 * idl/Accessibility_State.idl:
2529 add STATE_MANAGES_DESCENDANTS
2530 * test/event-listener-test.c:
2531 Added a listener for active-descendant events.
2533 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2535 * atk-bridge/bridge.c
2536 (atk_bridge_init): If application is Bonobo component wait until top
2537 level is added before registering
2538 (spi_atk_bridge_do_registration): New function which contains code,
2539 formerly in atk_bridge_init, to do application registration.
2540 (spi_atk_bridge_toplevel_added): Signal called when top level
2541 added to Bonobo component
2543 This fixes bug #83134.
2545 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2547 * registryd/deviceeventcontroller.c
2548 Fixed compilation error caused by calling gettimeofday()
2551 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2556 Added template for HAVE_XKB.
2559 Changes to check for XKB, and to set the HAVE_XKB #define if it
2562 * libspi/listener.c:
2563 ()impl_notify_event): Make failure to get event source name
2566 * registryd/deviceeventcontroller.c:
2567 (#include): include X11/XKBlib.h.
2568 (DEControllerPrivateData) : New struct.
2569 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2571 (dec_synth_keycode_press) (dec_synth_keycode_release):
2572 New methods; split the key synthesis code into these methods.
2573 They check XKB settings before determining the "time" values to
2574 pass to Xtest; this fixes bug #95828.
2575 (impl_generate_keyboard_event): Changed to use methods above,
2576 instead of callng Xtest directly.
2577 (spi_device_event_controller_init): Initialize new privae struct s
2579 (spi_device_event_controllr_object_finalize):
2580 Free the (new) private data.
2582 * registryd/deviceeventcontroller.h:
2583 Add new gpointer to end of struct data.
2585 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2588 Incremented revision to 1.1.2, SONAME is still '.so', library
2589 extensions are ".so.0.0.2".
2591 * registryd/deviceeventcontroller.c:
2592 FIXES FOR #93592 and #95940.
2593 (statics): renamed mouse_button_state to mouse_mask_state,
2594 added key_modifier_mask.
2595 (spi_dec_poll_mouse_moved):
2596 Added key modifier checks, and emit "keyboard:modifiers"
2597 events when the key modifiers currently in use change.
2598 Also generate "mouse:abs" events periodically, even if the mouse
2599 is stationary (should we?).
2600 Alternatively we could generate "mouse:abs" events for either all
2601 mouse movements, or every 'nth' mouse movement, or at the
2602 beginning and end of every "active" mouse period.
2604 * test/event-listener-test.c:
2605 (main): Added listener for "keyboard:modifiers" events.
2607 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2609 * libspi/keymasks.h:
2610 Added key mask #defines for mouse buttons; e.g.
2611 SPI_KEYMASK_BUTTON1, etc.
2614 Incremented dependency on ATK to version 1.1.0. (This dependency
2615 is probably premature but will soon be real enough).
2617 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2619 * libspi/hyperlink.[ch]
2620 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2621 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2624 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2629 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2631 * registryd/deviceeventcontroller.c
2632 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2633 events to be ignored.
2634 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2635 keyboard_mode so that XAllowEvents() can be called.
2639 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2641 * cspi/spi-accessible.c: Correct names of roles returned by
2642 AccessibleRole_getName(). Fixes bug #95055.
2644 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2646 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2649 * registryd/registry.c
2650 (desktop_remove_application: Write diagnostic message to stderr for
2653 (impl_accessibility_registry_deregister_global_event_listener):
2654 Correct size of lists array. This addresses bug #94555).
2656 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2658 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2661 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2663 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2666 * registryd/registry.c (impl_registry_notify_event): Remove
2667 unnecessary call to parser_event_type().
2669 * docs/reference/cspi/tmpl/spi_component.sgml:
2670 Add reference to SPI_LAYER_WINDOW.
2672 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2674 * registryd/registry.c
2675 (desktop_add_application): Remove leak.
2676 (desktop_remove_application): Remove leak.
2677 (parser_event_type): Remove leak.
2679 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2681 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2682 bogus call to CORBA_string_dup(). Also removed unnecessary
2683 g_string_dup/g_free calls.
2685 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2687 * registryd/deviceeventcontroller.c:
2688 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2690 * test/event-listener-test.c:
2691 main: commented out three redundant listeners, to reduce output
2692 noise. (They still are potentially useful for testing).
2695 2002-09-13 Michael Meeks <michael@ximian.com>
2697 * Update all the copyrights to include Ximian.
2699 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2701 * cspi/spi.h: add SPI_LAYER_WINDOW.
2703 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2704 add Accessibility_LAYER_WINDOW case.
2706 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2708 * libspi/component.c: (impl_accessibility_component_get_layer):
2709 add ATK_LAYER_WINDOW case.
2711 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2713 * configure.in: incremented micro version.
2715 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2717 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2720 Clarified and reworded our commit policy.
2723 Started an API "todo" addition list for 2.2.
2726 (impl_getSelection):
2727 Free char pointer from atk_text_get_selection, which was being leaked.
2729 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2732 Small revision to author acknowledgement.
2734 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2736 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2737 If signal has detail add it to the type of the event.
2740 2002-08-12 Michael Meeks <michael@ximian.com>
2742 * test/test-simple.c (global_listener_cb): bin bogosity.
2743 (test_keylisteners): disable, still doesn't work reliably,
2744 certainly not on my system anyway.
2746 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2747 don't leak a reference on the DEC. This round-trip
2748 fetching of the DEC per keystroke sucks, it should be
2751 * cspi/spi-private.h,
2752 * cspi/cspi-lowlevel.h,
2753 * cspi/bonobo/cspi-bonobo-listener.[ch],
2754 * cspi/bonobo/cspi-bonobo.c: get the copyright
2755 notices better - there is still a large amount of
2756 work in at-spi falsely attributed solely to Sun.
2758 * cspi/spi_main.c (cspi_object_ref): kill bogus
2759 hash lookup, just increment the ref.
2760 (SPI_freeString): make explicit the fact that we
2761 handle NULL strings just fine.
2762 (report_leaked_ref): obey coding standards.
2763 (cspi_object_hash, cspi_object_equal): kill retval.
2764 (cspi_object_release): only release if not on loan.
2765 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2766 (cspi_object_borrow, cspi_object_return): impl.
2768 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2769 use cspi_object_borrow / return.
2771 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2773 * cspi/bonobo/cspi-bonobo-listener.c:
2775 Don't call cspi_oject_new() because this is creating a new Accessible
2776 every single time that an event is fired. This causes ATs like at-poke
2777 to nolonger recognise the source of the event and thus ignore it.
2778 Re-use the object from the cache, ref it and then unref it after the
2779 listeners have been called.
2781 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2783 * test/event-listener-test.c:
2784 Added command-line options to disable mouse events (m) and
2787 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2789 * configure.in: Update required versions of ATK, GTK+ and GAIL
2791 * cspi-1.0.pc.in: Add dependency for X include files
2794 * cspi/bonobo/Makefile.am:
2795 Add $(X_CFLAGS) so that X include files
2796 are picked up even if not in standard place (bug #71686)
2798 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2800 * registryd/deviceeventcontroller.c: fix for 84261
2801 (spi_dec_mouse_moved):
2802 Added test of mouse button mask, so that we can detect mouse
2803 button release. Unfortunately we can't otherwise detect mouse
2804 button release events without consuming the mouse press event,
2805 because of the way XGrabButton works. This means that our mouse
2806 release events have a latency dependent on the polling period
2807 while the mouse button is down. At least in this case we only
2808 have to poll while the button is down, and not at other times.
2809 If the button masks don't match with what the last press event
2810 reported, we report the appropriate button release event.
2811 (spi_dec_ungrab_mouse):
2812 New method (not yet called).
2813 (spi_device_event_controller_forward_mouse_event):
2814 New method, sends mouse press event from GdkFilter.
2815 (spi_dec_init_mouse_listener):
2816 Added code to call XGrabButton, redirecting mouse button events to
2817 the root window and our Gdk event loop.
2819 Added code to filter mouse button events, and reordered.
2821 * test/event-listener-test.c:
2823 Added registration for mouse events of type "mouse:button".
2825 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2827 * registryd/deviceeventcontroller.c: partial fix for 84261
2828 (spi_dec_poll_mouse_idle):
2829 New method, a timeout which checks to see if the mouse
2831 (spi_dec_poll_mouse_moving):
2832 A timeout to be called when mouse motion is underway.
2833 (spi_dec_poll_mouse_moved):
2834 A method which fires an event if the mouse has moved, and reports
2835 whether or not it did so.
2836 (spi_dec_init_mouse_listener):
2837 A method which sets up the timeouts above.
2838 (spi_device_event_controller_new):
2839 Now calls spi_dec_init_mouse_listener.
2841 * registryd/registry.c:
2842 (spi_registry_init):
2843 Now we initialize the device event controller when the registry is
2844 initialized, instead of waiting until a client has requested a key
2845 event notification; this is because we need the event controller
2846 for mouse events, but the mouse event registration API is a
2847 "registry" call and doesn't explicitly call the
2848 deviceeventcontroller.
2849 We now report mouse motion events with a 100 ms idle latency and
2850 a 20 ms granularity when motion is in progress.
2852 * test/event-listener-test.c:
2854 We now register the "detail listener" for events of type
2855 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2856 delivered only for the first mouse event received, and thereafter
2857 "mouse:abs" events are delivered.)
2859 * cspi/spi_registry.c:
2860 DOCS: Documented the above mouse event typestrings.
2862 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2864 Happy Summer Solstice...
2866 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2867 (spi_controller_notify_keylisteners):
2868 Changes to remove a listener from the listener list, freeing its
2869 open keygrabs, if a notification to that listener fails. This
2870 means that although a dead listener can continue to hold a passive
2871 keygrab, a maximum of one dispatch to such a listener can fail
2872 before the listener is removed from the list, thus the keygrab
2873 will be released on the next occurrence.
2874 As part of this fix:
2875 (spi_notify_keylisteners):
2876 Renamed to spi_controller_notify_keylisteners, as the controller
2877 instance must now be passed as an argument.
2878 The copied 'notify' GList is now a list of DEControllerKeyListener
2879 objects, since we need more than just the CORBA reference if a
2880 notify fails and we need to deregister the listener.
2881 (impl_notify_listeners_sync):
2882 (impl_notify_listeners_async):
2883 (spi_device_event_controller_forward_key_event):
2884 Modify use of notify_keylisteners in accordance with above
2886 (spi_deregister_controller_key_listener):
2887 New method introduced by refactoring, from
2888 impl_deregister_keystroke_listener.
2889 (impl_deregister_keystroke_listener):
2890 Call spi_deregister_controller_key_listener.
2891 (spi_key_listener_clone):
2892 New method to copy a key listner without doing a 'ref' on the
2893 remote object instance; used to create a notifier list.
2894 (spi_key_listener_data_free):
2895 New method, frees data without unreffing the source.
2897 (spi_key_listener_clone_free): new method.
2898 (spi_key_listener_free):
2899 refactored to call spi_key_listener_data_free.
2901 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2903 * registryd/registry.c: [fix for bug 86048]
2904 (notify_listeners_cb):
2905 Clear CORBA system exceptions which occur when notifying
2906 listeners, before returning to the source of the original event,
2907 since the event source doesn't care if the relayed notify failed.
2908 In other words, don't complain to the atk-bridge if the registry
2909 could not notify all its listeners, that's no fault of the
2910 application and thus should not appear to be an error from the
2911 application's perspective.
2913 * cspi/spi_main.c: [fix for bug 85980]
2915 Replaced use of bonobo_object_dup_ref with call to the wrapper
2916 method, csou_dup_ref (); this silences a compiler warning and
2917 provided more portability.
2919 Ping the registry before return, and restart if necessary.
2921 * cspi/bonobo/cspi-bonobo.c:
2923 New internal method.
2925 Fixed this method to return an object reference, as it should have
2928 * cspi/cspi-lowlevel.h:
2929 Added internal definition for cspi_ping() and fixed
2930 return type of cspi_dup_ref().
2933 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2935 * atk-bridge/bridge.c: [fix for bug 85305]
2936 (spi_atk_bridge_register_application):
2937 New method where the initial application registry calls have been
2938 moved; it allows an application to re-register in response to
2939 certain error conditions (such as a registry restart, see below).
2941 Moved some initialization code to the method
2942 spi_atk_bridge_get_registry, below.
2943 (spi_atk_bridge_get_registry):
2944 New, private accessor function for the Accessibility_Registry
2945 instance. If the registry has not been started before, or has
2946 died (as detected by failure of a CORBA exception), it is
2947 restarted before return, and spi_atk_bridge_register_application
2948 is called again to register with the new bridge instance.
2949 (spi_atk_emit_eventv):
2950 Set registry_died on error; use spi_atk_bridge_get_registry () to
2951 access the registry.
2953 * registryd/registry.c:
2954 (impl_accessibility_registry_register_global_event_listener):
2955 Set listener's event_type_quark to etype.minor instead of
2956 etype.major (fix for bug 84856).
2958 * test/event-listener-test.c:
2959 (report_detail_event):
2960 Change the output string so that user/tester can tell that the
2961 'detail listener' was called instead of the 'generic listener'.
2963 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2965 Fixes for bugs 84900, 84908, 84897, 84898.
2970 Revved version to 1.1.0
2971 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2972 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2974 * idl/Accessibility_Registry.idl:
2975 (EventListener::notifyEvent):
2976 Removed 'oneway' directive after extensive consulation with
2977 ORBit2 team and others. This means also that unref() of the event
2978 source can and should be done synchronously after emission, rather
2979 than remotely in the client, after servicing the notify call on
2982 NOTE: This change speeds up listener performance considerably, but
2983 introduces new latency on the application side. We may want to
2984 add an event queue to the atk-bridge.
2986 * atk-bridge/bridge.c:
2987 (spi_atk_bridge_focus_tracker):
2988 Do a local unref() on the event source after emission.
2990 * registryd/registry.c:
2991 (desktop_remove_application):
2992 Do an unref() on the event source after emission.
2993 (desktop_add_application):
2994 Do an unref() on the event source after emission.
2995 (notify_listeners_cb):
2996 When relaying an event, don't automatically add the event source
2997 to the local object cache, just CORBA_dup it instead. Likewise,
2998 if this method reenters, release the ref rather than calling
3000 (impl_registry_notify_event):
3001 No longer call remote unref() on the event source after dispatch.
3003 * libspi/eventlistener.c:
3004 (impl_accessible_event_notify_event):
3005 Removed remote unref ()
3007 * cspi/bonobo/cspi-bonobo-listener.c:
3009 We now call cspi_object_new() instead of cspi_object_add() on
3010 receipt of an event; thus we only have an implicit object ref
3011 while the cspi_event method is being executed. If we need to keep
3012 a reference to the object, the listener must call ref() on the
3013 object. Thus also we don't need to call cspi_object_unref() after
3014 invoking the listener callbacks in this method.
3018 New internal API for creating a new cspi object, without adding it
3019 to the object cache.
3021 Now uses cspi_object_new() to create the cspi object instance.
3023 Now checks to see if the object is in the internal object cache,
3024 and adds it if necessary before incrementing its refcount (note
3025 that new objects are added with a refcount of 1).
3026 (report_leaked_ref):
3027 New method which gives some information on leaked object instances
3028 if leak detection is turned on.
3030 * test/event-listener-test.c:
3031 (timing_test_event):
3032 New method, used for testing event delivery timing for special
3033 events of type "object:test". It reports elapsed time and
3034 events/sec every 500 events.
3036 Added a new listener, 'test listener', to check timing of event
3037 receipt as noted above.
3039 Added some timing output here also, reports elapsed time every 100
3042 * test/stress-test.c:
3043 Emit events of type "object:test", for use with "event-listener-test".
3045 * test/test-simple.c:
3046 (global_listener_cb):
3047 Call Accessible_ref() on the event source before calling
3048 validate_accessible, since the validation process does pointer
3049 comparisons on the event source, meaning that the event source
3050 needs to be added to the local object cache first. Any use of
3051 such pointer comparisons between Accessible objects requires that
3052 the caller hold an explicit reference to those objects.
3053 We also must therefore call Accessible_unref() when leaving this method.
3055 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3057 * registryd/deviceeventcontroller.c:
3058 (spi_controller_update_key_grabs):
3059 Fix for #84735, subsequent keygrab listeners not informed of
3060 registration failure.
3063 (spi_base_construct):
3064 Add an assertion on construct, to make sure the GObject passed in
3065 is really a GObject.
3067 Explicitly initialize object->gobj pointer to NULL;
3069 * cspi/bonobo/cspi-bonobo-listener.c:
3070 (cspi_object_add_ref):
3071 New method, can specify whether to dup-ref a bonobo object passed
3072 in if it's newly added to the object cache.
3074 Now calls cspi_object_add_ref with second param of "FALSE". This
3075 prevents us from doing a pointless dup-ref followed by
3076 release-unref for all those cases where the object is already in
3077 our object cache (fix for #85205).
3079 * atk-bridge/bridge.c:
3080 (spi_atk_bridge_idle_init):
3081 Removed this method, we don't need to initialize in an idle
3084 Changed to call spi_atk_register_event_listeners directly, not via an
3085 idle handler. (fix for #81139)
3086 (gnome_accessibility_module_shutdown):
3087 Removed conditional around deregistration of listeners, since we
3088 don't use the idle handler and thus have always registered when
3090 (spi_init_keystroke_from_atk_key_event):
3091 Changed references to Accessibility_KEY_PRESSED to
3092 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3094 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3096 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3101 * test/stress-test.c:
3104 (may have been an incomplete commit yesterday?)
3106 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3109 Added target for new stress-test.
3111 * test/stress-test.c:
3112 New test, sends 1000 focus notifies in quick succession.
3114 * test/key-listener-test.c:
3115 Now we report whether a keylistener registration
3116 request succeeded or failed.
3118 * test/event-listener-test.c:
3119 Uncommented some listeners which are now implemented.
3122 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3124 * registryd/deviceeventcontroller.c:
3125 (spi_controller_update_key_grabs):
3126 Fix for #82509, lack of failure notification when
3127 ALL_WINDOWS keygrabs fail due to XGrabKey
3128 failure: we synchronize the server when
3129 registering a passive grab, to make sure we get the
3130 error message before the call returns.
3132 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3134 * test/test-simple.c:
3136 Removed #ifdef KEY_IMPL_WORKS guards.
3137 (test_keylisteners):
3138 Removed #ifdef KEY_IMPL_WORKS guards.
3139 Fixed bug which was causing a hang waiting for a
3140 "press" event (which was already overwritten by a "release"
3141 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3143 Added code to set globals 'key_press_received' and
3144 'key_release_received'.
3147 Added section "1.1 API Proposed Additions" which
3148 lists API additions desired for at-spi-1.1 (only one so far).
3149 Updated TODO list a little.
3151 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3153 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3156 * configure.in: Revved to 1.0.0.
3158 * idl/Accessibility_Registry.idl:
3159 (registerKeystrokeListener):
3160 Added boolean return value.
3162 * registryd/registry.c:
3163 (notify_listeners_cb): Minor fix to debug output.
3165 * registryd/Accessibility_Registry.server.in.in:
3166 Revved version number in OAFIID to 1.0.
3168 * registryd/registryd.c:
3170 Use new OAFIID version.
3172 * cspi/bonobo/cspi-bonobo.c:
3174 Use new OAFIID version.
3180 * atk-bridge/bridge.c:
3182 Use new OAFIID version.
3184 * registryd/deviceeventcontroller.c:
3185 (impl_register_keystroke_listener):
3186 Added CORBA_boolean return value.
3187 (spi_controller_register_device_listener):
3188 Added gboolean return value.
3189 (spi_controller_register_global_keygrabs):
3190 Added gboolean return value.
3191 (spi_key_set_contains_key):
3192 Added implementation for many more control keys,
3193 for instance F1-F12, arrow keys, End, Home, Page_Up,
3195 [TODO: some still not implemented].
3197 * text/screen-review-test.c:
3198 (text_chunk_pad_string):
3199 New function: it provides mapping between coordinate
3200 positions of text chunks and character positions in the
3201 screen-review-line output string.
3202 (text_chunk_to_string):
3203 New function, calls text_chunk_pad_string with various
3204 pad/delimiter characters. Pushbuttons are delimited with
3205 square brackets, Frames with vertical 'pipe' lines, and
3206 other text with double quotes.
3207 (text_chunk_list_to_string):
3208 Calls new function text_chunk_to_string.
3209 (toplevel_composite):
3210 New function to composite layers CANVAS through
3211 POPUP in each toplevel (other layers are composited
3212 across toplevels, i.e. BACKGROUND and OVERLAY).
3213 (review_buffer_composite):
3214 Revise to use new methods.
3220 2002-05-31 Laszlo Peter <laca@sun.com>
3222 * configure.in: add the Xtst libdir to the runpath on Solaris,
3223 since it's not in the default library search path.
3225 2002-05-29 jacob berkman <jacob@ximian.com>
3227 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3229 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3231 * test/screen-review-test.c:
3232 (text_chunk_pad_string):
3233 Added method, which pads the string according to the
3234 text bounds of the chunk. It also takes a 3-character
3235 string as a param which indicates the characters to be
3236 used for start, padding, and end delimitation of the chunk.
3237 (text_chunk_to_string):
3238 Changed to use text_chunk_pad_string.
3240 * configure.in: Fixed bug in AC_OUTPUT that was
3241 causing path substitution in Accessibility_Registry.server
3244 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3246 * text/screen-review-test.c:
3247 (guess_string_clip):
3248 New method which attempts a best-guess at clipping
3249 text from components (like Java labels) which don't
3250 actually implement AccessibleText. This inaccurate
3251 clip is based on the assumption that the label is
3252 justified left-and-right, and monospaced.
3253 (text_chunk_get_clipped_string):
3254 We now call guess_string_clip() for text-containing
3255 components that don't implement AccessibleText.
3257 * test/screen-review-test.c:
3258 (review_buffer_get_text_chunk):
3259 We now pull "name" from labels if they do not implement
3260 AccessibleText (i.e. for Java labels).
3261 (get_screen_review_line_at):
3262 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3265 Replaceded AC_OUTPUT target
3266 registryd/Accessibility_Registry.server with
3267 registryd/Accessibility_Registry.server.in.
3269 * registryd/Accessibility_Registry.server.in:
3270 Removed (this is now a Makefile target).
3272 * registryd/Accessibility_Registry.server.in.in:
3273 Added (source for target above). We now use $(libexecdir) as
3274 prefix for the executable at-spi-registryd.
3276 * registry/Makefile.am:
3277 Now install at-spi-registryd into $(libexecdir), and build .server
3278 file with path (see above).
3280 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3282 * test/screen-review-test.c:
3283 (text_chunk_get_clipped_string):
3284 We now check to see if words fall within clip bounds
3285 before resorting to character-by-character clip bounds testing.
3287 * TODO: Added a section for "2.2 Proposed API Additions".
3289 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3291 * test/screen-review-test.c:
3293 Added a screen review benchmarking and test program to test
3296 * cspi/spi_accessible.c:
3298 Made some of the debug strings passed to cspi_check_ev a
3299 little more specific.
3301 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3303 * test/screen-review-test.c: Fix crashes in debug statements
3305 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3307 * test/screen-review-test.c: Added this file.
3309 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3311 * atk-bridge/bridge.c: changed "object:state-change" to
3312 "object:state-changed" to match docs.
3314 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3316 * atk-bridge/bridge.c: Hooked up state-change event details.
3318 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3320 * registryd/registry.c:
3321 Fixed quarking bug in event string parsing; now events with
3322 detail parameters get matched correctly to listeners.
3325 * util/idl/Magnifier.idl: remove.
3327 * util/*.[ch]: Remove.
3328 Magnification utilities and IDL are now in module gnome-mag.
3330 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3332 * registryd/deviceeventcontroller.c:
3333 Fixed bug in grab key conversion which was causing keycode grabs
3334 to be converted to AnyKey grabs.
3337 updated NEWS file to reflect recent spin-off of gnome-mag.
3339 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3341 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3342 busted AccessibleStateSet_compare. Removed redundant casts.
3344 * cspi/spi-action.c: Removed redundant casts.
3346 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3348 * cspi/spi_component.c: Fixed typos and casting error.
3350 * cspi/spi_editabletext.c: Removed redundant casts.
3352 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3354 * cspi/spi_hypertext.c: Eliminated redundant casts.
3356 * cspi/spi_image.c: Eliminated redundant casts.
3358 * cspi/spi_registry.c: Eliminated redundant casts.
3359 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3360 * cspi/spi_selection.c: Removed redundant casts.
3361 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3362 handling. Screen geometry and text offsets were being returned as 0
3363 on error which is technically valid-- changed these to return -1.
3364 Added marshaller for text boundary types to fix bug with boundary
3365 types being passed incorrectly to atk.
3367 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3370 * cspi/spi_registry.c:
3371 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3372 which was uncovered by the recent key changes.
3374 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3376 * test/event-listener-test.c:
3378 Added new test, "event-listener-test";
3379 this code does two things; it benchmarks traversal time
3380 for the accessible hierarchy for the first running accessible
3381 app, and it connects listeners for all supported event types.
3382 It is thus useful as an example event listener and for
3383 diagnostics/debugging of event generation.
3385 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3388 Removed unnecessary dependency on libutil.
3391 Revved micro version: 0.13.1
3393 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3396 Removed util/Makefile from targets.
3399 Removed util subdir from SUBDIRS (temporarily,
3400 pending removal of magnifier-only code
3404 #ifdef-ed out magnifier dependencies, since
3405 magnifier IDL, headers, and binary now live in
3406 module gnome-mag and we don't want at-spi to depend
3407 on gnome-mag. A magnifier demo which can run alongside
3408 simple-at is forthcoming in the gnome-mag module.
3410 NOTE: Split magnifier binary, IDL, and magnification
3411 activation code from at-spi into module gnome-mag.
3413 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3415 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3416 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3418 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3421 Revved to version 0.13.0
3423 * idl/Accessibility_Registry.idl:
3424 Changed definition of KeySet from sequence of longs to sequence of
3425 KeyDefinitions, and added KeyDefinition struct.
3426 Required for fix to bug 80616.
3428 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3429 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3430 to use new definition (see above).
3432 * registryd/deviceeventcontroller.c: handle_keygrab(),
3433 spi_keyset_contains_key():
3434 Changed to make use of new struct; this allows matching based on
3435 string key-name, for instance "Tab". This also allows matching of
3436 composed characters, non-alphanumeric characters in a way that
3437 doesn't involve dependencies on X keysym codes directly, etc.
3439 * test/key-listener-test.c:
3440 Added test for Alt-Tab key using "string" specification of keyset,
3441 and modified one of the tests to use a keycode-based keyset.
3442 Thus this test both tests and demonstrates the creation and use of
3443 keysets of three forms: specified via keycode array,
3444 keysym array, and string array. (The string case only contains a
3445 single string, i.e. a string array of length 1).
3448 Turned on PRINT_TREE option by default. Also fixed a
3449 string-freeing bug in the PRINT_TREE code.
3450 Added a listener to window:minimize events.
3452 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3454 * atk-bridge/bridge.c:
3455 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3456 for window:activate and window:deactiveate
3457 (atk_bridge_property_event_listener atk_bridge_signal_listener
3458 atk_bridge_window_event_listener) Tidy debug code
3460 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3462 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3463 Fixed handling for NULL return value from ATK.
3465 * libspi/action.c libspi/component.c libspi/editabletext.
3466 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3467 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3468 Removed redundant casts.
3470 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3471 Fixed off by one bug.
3473 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3474 function not present in idl)
3476 2002-05-02 jacob berkman <jacob@ximian.com>
3478 * atk-bridge/Makefile.am: make atk-bridge a real module
3480 2002-04-26 Radek Doulik <rodo@ximian.com>
3482 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3483 atk_state_types table
3485 2002-04-22 jacob berkman <jacob@ximian.com>
3488 * libspi/Makefile.am: add deps on the built files to help
3489 automake, and don't version the ORBit typelib
3491 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3493 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3494 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3495 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3496 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3497 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3498 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3499 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3500 libspi/accessible.h libspi/accessible.h libspi/base.h
3501 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3502 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3503 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3504 libspi/spi-private.h libspi/statetset.h libspi/table.h
3505 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3506 util/mag_client.h util/mag_control.c util/mag_image.c
3507 util/mag_image.h util/magnifier.c util/magnifier.h:
3508 Add missing file headers; standardize existing ones
3510 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3512 * atk-bridge/bridge.c: Added window event support.
3514 2002-04-18 Michael Meeks <michael@ximian.com>
3516 * libspi/relation.c (impl_getNTargets): impl.
3517 (impl_getTarget): impl.
3519 * libspi/Makefile.am: fix stateset install.
3521 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3524 Started putting useful info in this file.
3526 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3528 * atk-bridge/bridge.c:
3529 Propagate state-changed notifications to ATs
3531 * cspi/spi_registry.c: update docs to reflect actual behavior of
3532 state-change events.
3534 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3537 Incremented version to 0.12.1
3539 * util/mag_client.h:
3540 Add missing declaration for magnifier_exit,
3541 used by mag_control.c - Forte compiler didn't like
3542 the implicit redeclaration of the function :-(
3545 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3548 Revved version to 0.12 due to API change (see below).
3550 * cspi/spi-roletypes.h:
3551 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3552 definition from the inline docs, and added docs
3553 for SPI_ROLE_LAST_DEFINED.
3556 * cspi/spi_streamablecontent.c:
3557 Added missing seek_type parameter to
3558 (so far unused) method,
3559 AccessibleStreamableContent_seek().
3560 [ RT approval JodyG. ]
3563 Fixed docs for SPI_createAccessibleKeystrokeListener.
3565 * cspi/spi_registry.c:
3566 Fixed docs for SPI_KEYSET_ALL_KEYS.
3568 * docs/reference/cspi/at-spi-cspi-sections.txt:
3569 Added a number of missing APIs to SECTIONS.
3571 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3573 * registryd/Makefile.am:
3575 * cspi/bonobo/Makefile.am:
3576 Add $(X_LIBS) to makefiles.
3578 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3581 Revved version to 0.11.
3583 * libspi/component.c:
3584 Added implementation for grabFocus.
3586 * idl/Accessibility_Component.idl
3587 (Accessibility_Component_grabFocus):
3588 Made this method return boolean to indicate success or failure, to
3589 be consistent with cspi and the corresponding ATK method.
3591 * idl/Accessibility_Selection.idl
3592 (Accessibility_Selection_selectAll) :
3593 Made these methods return boolean to indicate success or
3594 failure, to be consistent with cspi and the corresponding ATK methods.
3596 * idl/Accessibility_EditableText.idl
3597 (Accessibility_EditableText_setTextContents,
3598 Accessibility_EditableText_insertText,
3599 Accessibility_EditableText_cutText,
3600 Accessibility_EditableText_deleteText,
3601 Accessibility_EditableText_pasteText):
3602 Made these methods return boolean to indicate
3605 * cspi/spi_editabletext.c:
3606 Made these methods return booleans.
3608 * libspi/selection.c:
3609 * libspi/component.c:
3610 * libspi/editabletext.c:
3611 Connected the boolean returns from ATK
3612 to the server-side code referenced above.
3614 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3616 * idl/Accessibility_Table.idl: Added missing methods,
3617 Accessibility_Table_addRowSelection,
3618 Accessibility_Table_addColumnSelection,
3619 Accessibility_Table_removeRowSelection,
3620 Accessibility_Table_removeColumnSelection.
3623 Added C wrappers for above IDL:
3624 AccessibleTable_addRowSelection,
3625 AccessibleTable_addColumnSelection,
3626 AccessibleTable_removeRowSelection,
3627 AccessibleTable_removeColumnSelection.
3630 Added server-side implementation code for IDL above, connecting
3631 to pre-existing ATK api.
3633 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3635 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3637 * libspi/accessible.c: Added implementation fo
3638 Accessibility_Accessible_get_state.
3640 * libspi/libspi.h: Added stateset.h to the list of includes.
3642 * libspi/stateset.c: Fixed broken implementation.
3644 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3647 Added implementation code for Accessibility_Magnifier_exit ().
3649 * util/mag_control.c:
3650 Added test code for above method; you can
3651 now kill an existing magnifier via
3652 ./mag_control q, from the util directory.
3654 * test/key-listener-test.c:
3656 Added a new test, for our key listener API.
3658 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3660 * test/app.c, test/keysynth-demo.c:
3662 Replace use of snprintf with g_snprintf.
3663 (fix for bugzilla 78249)
3665 2002-03-27 Michael Meeks <michael@ximian.com>
3669 * util/Makefile.am (INCLUDES): fix.
3670 (DONT_DIST_SOURCE): don't distribute the
3673 * libspi/Makefile.am (dist-hook): ditto.
3675 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3677 * libspi/hypertext.c:
3678 Fix warnings when yelp is used with atk-bridge
3680 2002-03-21 Michael Meeks <michael@ximian.com>
3682 * libspi/application.c (spi_application_new):
3683 use spi_accessible_construct so we use the AtkObject
3686 2002-03-19 Michael Meeks <michael@ximian.com>
3688 * registryd/registry.c (desktop_remove_application),
3689 (desktop_add_application): clean coding style.
3691 * registryd/desktop.c (spi_desktop_remove_application),
3692 (spi_desktop_add_application): kill re-enterency hazards.
3693 (spi_desktop_dispose): remove bogus redundant cast
3694 obscuring bug; fix bug too.
3695 (spi_desktop_init): make the desktop object immortal.
3697 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3700 Added a #define-guarded tree-traversal step
3701 when enumerating the apps (diagnostic tool).
3703 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3705 * idl/Accessibility_Role.idl:
3706 Added ROLE_DRAWING_AREA which seemed to be missing from the
3709 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3711 * cspi/spi-roletypes.h cspi/spi_accessible.c
3712 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3715 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3716 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3717 AT when applications are added and removed from the desktop. This
3718 reverts the previous broken implementation using the backing
3719 AtkObject for the SpiDesktop.
3721 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3723 * registryd/desktop.c: emit the "children-changed::add" and
3724 "children-changed::remove" signals on the backing ATK object for
3725 the desktop so AT can tell when applications are started and shut
3728 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3730 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3732 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3734 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3736 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3738 * cspi/state-types.h: synched with IDL and ATK
3740 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3742 * libspi/accessible.c
3743 (impl_accessibility_accessible_get_child_at_index):
3744 Change return value for g_return_if_fail ()
3745 to CORBA_OBJECT_NIL instead of "0" (!)
3747 * registryd/Makefile.am:
3748 * registryd/Accessibility_Register.server.in:
3749 Changed name of executable, "registryd",
3750 to something more informative:
3753 2002-03-13 Michael Meeks <michael@ximian.com>
3755 * atk-bridge/bridge.c (atk_bridge_init): don't register
3756 if we're in a bonobo-component, rather than a bonobo app.
3758 2002-03-13 Michael Meeks <michael@ximian.com>
3760 * atk-bridge/bridge.c (gtk_module_init): split
3761 out body to (atk_bridge_init): here, since otherwise
3762 we get symbol conflicts and oddness when invoked
3763 from (gnome_accessibility_module_init): here (upd.)
3765 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3768 New file. Explicitly allow "build sheriff" putbacks provided
3769 they are tested on Solaris.
3771 * docs/reference/cspi/Makefile.am:
3772 Added '-' to the "cp" command for index.sgml.
3773 ("patch by thomasvs, soon coming to a GUADEC near you")
3776 Incremented version number (0.9.0) for new release.
3777 Changed macro that checks for popt, to better detect
3778 obsolete versions of popt.
3781 Added X_LIBS to AC_SUBST, for applications
3782 that call Xlib API directly.
3785 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3788 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3791 Fix regression caused by hard-coding major
3792 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3795 * test/test-simple.c (test_editable_text),
3796 (test_test): revert previous change (error was
3797 a regression in gail which is now fixed).
3799 2002-03-04 Michael Meeks <michael@ximian.com>
3801 * test/test-simple.c (test_editable_text),
3802 (test_text): pass G_MAXINT instead of '-1' for
3803 whole string - is this a good thing !?
3805 * cspi/spi_accessible.c
3806 (Accessible_getRelationSet): fix crasher bug
3807 overwriting the end of the array.
3809 * test/test-simple.c (validate_accessible): free,
3810 not g_free returned relation set.
3812 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3814 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3815 implemented stateset support
3817 * idl/Accessibility_State.idl: Made necessary changes to
3818 the IDL to support state sets.
3820 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3822 * registryd/deviceeventcontroller.c:
3823 Added implementation for generateMouseEvent.
3825 * cspi/spi_registry.c:
3826 Connected new implementation for generateMouseEvent
3829 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3832 Incremented revision (but no change in public API
3833 outside of 'utils', which are not installed public yet.)
3835 * libspi/component.c:
3836 Changed to use atk_component API for layers and
3837 mdi_zorder, instead of deprecated atk_object API.
3839 Magnification Utility Enhancements:
3842 Added implementation of createZoomRegion, clearAllZoomRegions,
3843 resizeZoomRegion. Added new commandline argument
3844 "--no-initial-region". Note that clearAllZoomRegions doesn't
3845 unmap the old '0' region as it should (yet), and the other
3846 methods only work when creating/resizing a single region,
3847 which is "region 0".
3848 (Code for multiple region support will be added later.)
3851 Now we raise the magnifier window each time it's refreshed;
3852 this will help keep it on top.
3854 * util/mag_client.h:
3855 Added simple wrappers for above, used by mag_control.
3856 For general use, it's recommended to use the bonobo magnifier
3857 control API directly instead of using these wrappers.
3860 Moved ZoomRegionData from magnifier.c to this file.
3862 * util/mag_control.c:
3863 Added some code to exercise new IDL implementations.
3865 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3867 * libspi/text.c: Provide implementation for getAttributes.
3869 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3872 Incremented revision.
3874 * test/test-simple.c:
3875 Replaced use of deprecated g_main_iteration with
3876 g_main_context_iteration.
3878 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3881 Incremented revision for desktop alpha 2.
3883 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3885 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3888 * test/simple-at.c: include netinet/in.h.
3890 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3892 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3893 use NULL, not CORBA_OBJECT_NIL.
3895 * libspi/accessible.c:
3896 (impl_accessibility_accessible_get_relation_set):
3897 allocate the sequence correctly.
3899 * libspi/remoteobject.h: kill spi_remote_object_new.
3901 * test/test-simple.c: (validate_accessible): add code
3902 to test relation sets, now all we need is to figure
3903 out how to excercise this code path :/
3905 2002-01-18 Michael Meeks <michael@ximian.com>
3907 * test/test-simple.c
3908 (key_listener_cb): consume the key.
3909 (test_keylisteners): update.
3910 (main): wait for any pending unrefs on events.
3912 * registryd/deviceeventcontroller.c
3913 (spi_controller_update_key_grabs): only re-issue the
3914 grab on a key release.
3915 (spi_device_event_controller_forward_key_event):
3916 refresh the keygrabs before we notify the listeners,
3917 to reduce the X ungrab / re-grab race.
3918 (spi_controller_register_with_devices): remove
3919 XSelectInput - we do that with the gdk_window_ call.
3920 (_spi_controller_device_error_handler): return a value.
3921 s/GDK_DISPLAY/spi_get_display/
3923 2002-01-17 Michael Meeks <michael@ximian.com>
3925 * registryd/deviceeventcontroller.c
3926 (_deregister_keygrab): don't blow out the later
3929 * test/test-simple.c (test_keylisteners): do a
3930 more intelligent validation.
3932 2002-01-14 Michael Meeks <michael@ximian.com>
3934 * atk-bridge/bridge.c
3935 (gnome_accessibility_module_init),
3936 (gnome_accessibility_module_shutdown): impl.
3937 (gtk_module_init): protect vs. double inits.
3938 (add_signal_listener): impl.
3939 (spi_atk_bridge_state_event_listener): kill
3940 (deregister_application): split out of
3941 (spi_atk_bridge_exit_func): here.
3943 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3946 Added caret tracking when using magnifier, and
3947 now use text bounds for focus tracking of text elements, rather than
3948 the component bounds - this is helpful for short text fields in long
3949 table cells, at high magnification.
3951 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3953 * registryd/deviceeventcontroller.c:
3954 Regression fix for keylistener de-registration; global keygrabs
3955 were not being released when deregisterKeystrokeListener was
3956 called in cspi, since
3957 Accessibility_DeviceEventController_deregisterKeystrokeListener
3958 was called with a zero-length keyset. That is because the cspi
3959 method, SPI_deregisterKeystrokeListener, does not take a keyset
3960 parameter but instead should remove all the key grabs held be a
3962 The code in impl_deregister_keystroke_listener was changed to copy
3963 the keylist from the listener instance previously registered with
3964 the DeviceEventController before releasing the grabs.
3966 * registryd/registry.c:
3967 * registryd/deviceeventcontroller.c:
3968 * libspi/spi-private.h:
3970 Changed spelling of "re-enterant" to "re-entrant" globally.
3972 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3974 * test/test-simple.c:
3975 Changed key listeners test - the test was slightly mis-using the
3976 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3977 It now uses '=' as the key event listened to and generated,
3978 relying on a keysym match rather than assuming that keycode 33
3979 is always equal to keysym '!'.
3981 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3984 Changed simple-at to use a specific keyset, rather than
3985 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3986 manager, desktop, etc.
3988 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3990 * registryd/deviceeventcontroller.c:
3991 Replaced standard X error handler with a special handler that
3992 is non-fatal for failed keygrabs. This works around
3993 problems with keygrab clashes sometimes observed on
3995 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3996 mouse handling code as yet).
3998 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4001 Incremented revision for desktop alpha release.
4004 Fixed a couple of the more glaring errors (still not
4007 2002-01-11 Michael Meeks <michael@ximian.com>
4009 * registryd/deviceeventcontroller.c
4010 (spi_device_event_controller_forward_key_event): kill
4011 XUngrabKey / XKeyGrab race.
4012 (spi_controller_grab_keyboard): rename to
4013 (spi_controller_update_key_grabs): this, and deal
4014 with incremental adding / removing grabs more
4016 (_register_keygrab): ensure we're not pending a remove.
4017 (spi_grab_mask_free): impl.
4018 (spi_controller_register_global_keygrabs): split out
4020 (handle_keygrab): impl.
4021 (_deregister_keygrab): impl.
4022 (spi_controller_deregister_global_keygrabs): impl.
4023 (spi_controller_update_key_grabs): re-issue the grab if
4024 we just recieved a notification.
4026 * test/test-simple.c (key_listener_cb): remove debug.
4028 * registryd/deviceeventcontroller.c
4029 (spi_controller_register_device_listener): after
4030 registering a global keygrab, actualy register it !
4031 don't wait for a timeout; doh !
4033 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4034 to make it more readable / manipulable.
4035 s/grabmask/grab_mask/ s/refcount/ref_count/
4036 s/keyval/key_val/ s/modmask/mod_mask
4038 2002-01-08 Michael Meeks <michael@ximian.com>
4040 * registryd/deviceeventcontroller.c
4041 (spi_controller_register_with_devices): use gdk calls to
4043 (global_filter_fn): implement the filter.
4044 (spi_device_event_controller_check_key_event): rename to
4045 (spi_device_event_controller_forward_key_event): this & upd.
4046 (spi_get_display): replace with GDK_DISPLAY.
4048 * registryd/deviceeventcontroller.c
4049 (spi_controller_deregister_device_listener): unroll into
4050 (impl_deregister_keystroke_listener): here to simplify.
4051 (spi_controller_register_global_keygrabs): split cut and
4052 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4053 (spi_controller_deregister_device_listener): remove.
4054 (impl_register_mouse_listener): remove, no mouse listener
4055 support in at-spi-1.0
4057 * registryd/registry.c
4058 (_device_event_controller_hook): kill.
4059 (spi_registry_init): upd.
4061 * registryd/deviceeventcontroller.c
4062 (spi_device_event_controller_class_init): upd.
4063 (spi_check_key_event): merge into.
4064 (spi_device_event_controller_check_key_event):
4065 here and kill strange static ev init, don't leak
4066 the x_event - nor dynamicaly allocate it.
4068 * registryd/registry-main.c (main): re-direct
4069 timeout to remove strange vtable mess.
4071 * registryd/deviceeventcontroller.c
4072 (remove_listener_cb): impl.
4073 (spi_controller_deregister_device_listener):
4074 fix re-enterancy hazard.
4076 2002-01-07 Michael Meeks <michael@ximian.com>
4078 * registryd/deviceeventcontroller.c
4079 (spi_device_event_controller_new): upd.
4080 (impl_notify_listeners_sync): upd. debug.
4081 (spi_notify_keylisteners): fix re-enterancy hazards,
4082 prettify, remove O(n*n) iteration.
4083 (spi_controller_grab_keyboard): fix iteration.
4084 (spi_check_key_event): re-format to suit coding style.
4085 Clean all the warnings - we're warning free.
4087 * registryd/deviceeventcontroller.h:
4088 * registryd/registry.h: make mutualy referential with
4089 typesafe forward references instead of (!) void pointer
4092 2002-01-11 Michael Meeks <michael@ximian.com>
4094 * cspi/spi_accessible.c (role_names): add a role name
4095 to sync this array with the enum; and make the regression
4098 2002-01-10 Michael Meeks <michael@ximian.com>
4100 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4101 allow expansion of enumeration & kill warning.
4103 * test/test-simple.c (key_listener_cb): impl.
4104 (test_keylisteners): impl.
4106 * cspi/spi-listener.h: make listener signatures const
4107 on the provided (const) events.
4109 * test/keysynth-demo.c: upd. to const events.
4111 * test/simple-at.c: ditto.
4113 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4116 Rev the version to 0.5 (the previous tarball was named 0.4,
4117 even though the micro number was 3), so we need to rev upwards
4118 again for beta2/"desktop-alpha"
4121 Checked in a demo script, which requires editing before use!
4122 Proceed with caution.
4125 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4127 * cspi/spi_accessible.c:
4128 Add a couple of missing enum initializations, and fix some enum
4131 * cspi/spi_registry.c:
4132 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4134 * docs/reference/cspi/at-spi-cspi-sections.txt:
4135 Remove/fix a couple of broken document references.
4138 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4139 as Alt-Control to listen for commands, since on some systems
4140 Control-Alt may already be grabbed.
4142 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4145 Update version number to 0.4 for Beta2.
4147 * libspi/accessible.c, libspi/accessible.h:
4148 Expose spi_accessible_construct, to enable libgail-gnome
4149 construction from spi_accessible subtype.
4151 * utils/magnifier.c:
4152 Workaround for bug in some non-gnome-compliant window managers
4153 which made magnifier resize improperly.
4155 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4157 * libspi/accessible.c: (spi_accessible_new) :
4158 Move the test for SPI_IS_REMOTE_OBJECT to
4159 spi_accessible_new_return, fixing a bug and compile time warning.
4161 2002-01-08 Michael Meeks <michael@ximian.com>
4163 * registryd/registry.c (parse_event_type): remove strndup.
4165 * libspi/Makefile.am (libspi_la_SOURCES): remove
4166 sources already included in the headers section.
4168 * libspi/util.c: add.
4170 * libspi/spi-private.h: add.
4172 * registryd/registry.c: update to moved list iterators.
4174 2002-01-05 Michael Meeks <michael@ximian.com>
4176 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4178 * test/test-simple.c (main): ditto.
4180 2002-01-04 Michael Meeks <michael@ximian.com>
4182 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4183 redundant construct.
4185 * registryd/registry.c
4186 (get_listener_list): impl.
4187 (impl_accessibility_registry_register_global_event_listener):
4188 re-impl. to simplify using ~, remove dodgy const cast off.
4189 (parse_event_type): constify.
4190 (impl_accessibility_registry_deregister_global_event_listener_all):
4191 re-write, more efficiency and simplicity, kill re-enterancy
4193 (compare_listener_corbaref, compare_corba_objects),
4194 (compare_listener_quarks): define out.
4195 (impl_accessibility_registry_deregister_global_event_listener):
4196 re-write for effiency, and nail re-enterancy hazard.
4197 (impl_accessibility_registry_get_desktop_list): impl.
4198 (re_enterant_list_delete_link): impl.
4199 (re_enterant_list_foreach): impl.
4200 (remove_listener_cb): impl.
4201 (_registry_notify_listeners): kill.
4202 (notify_listeners_cb): impl.
4204 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4205 (SPI_getDesktopList): impl.
4207 * test/test-simple.c (test_desktop): test the methods.
4209 2002-01-03 Michael Meeks <michael@ximian.com>
4211 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4212 keystrings since we free them
4213 (SPI_freeAccessibleKeySet): in here.
4215 * libspi/accessible.c (spi_accessible_new): kill warning,
4216 wonder what is going on with the constructor here.
4218 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4220 * libspi/accessible.c (spi_accessible_new ()) :
4221 Added check to see if AtkObject is an SpiRemoteObject before
4222 creating an SpiAccessible.
4224 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4226 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4227 Enable keygrabs using the Control modifier, now that they are
4228 working properly (they were previously disabled).
4231 Change the command keygrab for this demo to "Control+Alt", so as
4232 to conflict with fewer other key commands on the system; this
4233 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4235 Removed a pointlessly-chatty keylistener for unshifted keys
4236 (shifted keys are still reported).
4238 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4240 * libspi/remoteobject.h:
4241 * libspi/remoteobject.c:
4242 Added definitions for special AtkObject subtype, required for
4243 support of remote components (specifically, used by BonoboControl
4244 accessibility implementation).
4246 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4248 * cspi/spi.h: synched relation types with ATK
4250 * cspi/spi_accessible.c: Added implementations of
4251 AcccessibleRelation_* methods
4253 * idl/Accessibility_Relation.idl: added getRelationTypeName
4254 method. Synched known relation types with ATK. Allowed for
4255 relation type extension with the RELATION_EXTENDED type.
4257 * libspi/relation.c: Provided implementations for
4258 AccessibleRelation methods.
4260 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4262 API tweaks for today's API 'freeze'.
4265 Added placeholder functions to allow future compatible expansion
4266 of the IDL interfaces.
4268 * idl/Accessibility_Registry.idl:
4269 Changed generateKeyEvent to generateKeyboardEvent. Changed
4270 signature of this method to accept an optional keystring in
4271 parameter (for complex text input synthesis) and changed use of
4272 simple 'boolean' parameter in registerKeystrokeListener to a
4273 struct, EventListenerMode.
4275 * cspi/spi_accessible.c:
4277 * cspi/spi_streamablecontent.c:
4278 Added references to AccessibleStreamableContent interface, and
4279 definition and implementation of AccessibleStreamableContent
4282 * cspi/spi_registry.c:
4284 Changed generateKeyEvent API to generateKeyboardEvent,
4285 taking a new (optional) keystring parameter to support complex
4290 Renamed directory (to better reflect its actual purpose, bridging
4291 from at-spi to ATK). The .so module is also now named
4294 * idl/Accessibility_Hypertext.idl:
4295 * libspi/accessible.c:
4296 * libspi/hypertext.h:
4297 * libspi/hypertext.c:
4298 Changed Accessibility_Hypertext to *not* derive from
4301 * cspi/spi_registry.c:
4302 Added list of legal event type names for 'window' events, which
4303 completes the registry event API.
4305 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4307 * at-bridge/bridge.c: Added registration for separate
4308 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4309 signals. If either of the first two parameters to the generic
4310 bridge signal handler are ints, they are passed on as event
4311 details. This allows an AT to determine what text was inserted.
4313 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4315 * registryd/deviceeventcontroller.c:
4316 Fixed regressions in generateKeyEvent caused by the removal of
4317 gdk_init from registryd; we now use pure X calls to connect to the
4318 display, which makes sense because deviceeventcontroller already
4319 uses a fair bit of X API (should eventually be migrated to a
4320 'portability layer').
4322 * registryd/desktop.c:
4323 Fixed minor regression in spi_desktop_init, changed the way the
4324 desktop name is being set to work with new spi_base API
4325 (gobject-based, rather than AtkObject-based).
4327 * registryd/Makefile.am:
4328 Minor revision of makefile to use XTST_LIBS variable rather than
4329 hard-wiring the Xtst LD_ADD element.
4331 * test/keysynth-demo.c:
4332 Tweaked an output message; added initialization of the
4333 'keystrings' member of the "switch listener" key_set.
4335 * libspi/relation.c:
4336 Squashed compile-time warning.
4338 * libspi/accessible.c:
4339 Cosmetic and formatting fixes, renamed a static method.
4341 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4343 * libspi/accessible.c
4345 * libspi/application.c
4348 * libspi/component.c
4349 * libspi/editabletext.c
4350 * libspi/hyperlink.c
4351 * libspi/hypertext.c
4353 * libspi/selection.c
4357 * registryd/desktop.c:
4358 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4360 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4362 * idl/Accessibility_Registry.idl:
4363 Added boolean member 'is_text' to DeviceEvent. This is for the
4364 use of key events, and helps prevent ambiguity between composed
4365 key strings and keysym names, since both may potentially be
4366 returned in the 'event_string' member.
4368 * at-bridge/bridge.c:
4369 * registryd/deviceeventcontroller.c:
4370 Use the 'is_text' member when notifying device event listeners.
4371 Knon issue: composed characters are not dealt with correctly by
4372 the global key listener implementation yet.
4374 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4376 * at-bridge/bridge.c:
4377 Namespaced local static methods to spi_atk_bridge_* where
4378 previously named bridge_*, and spi_* elsewhere.
4380 * at-bridge/bridge.c:
4381 * cspi/bonobo/cspi-bonobo-listener.c:
4382 Added demarshalling/conversion for string member of
4383 Accessibility_DeviceEvent to AccessibleKeystroke.
4385 * registryd/deviceeventcontroller.c:
4386 Added code to fill the Accessibility_DeviceEvent key string value
4387 member for global key events (i.e. from XGrabKey), to match
4388 behavior of Accessibility_DeviceEvent from the toolkit key events
4389 from the bridge. Fixed timestamp in global key event notifications.
4392 Added printout of key event's string value to
4393 report_ordinary_key_event, for demo/debugging purposes.
4395 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4397 * idl/Accessibility_Registry.idl:
4398 Removed Accessibility_KeyStroke structure in favor of generic
4399 Accessibility_DeviceEvent structure.
4400 Changed Accessibility_ControllerEventMask from a struct to an
4403 * at-bridge/bridge.c:
4404 Changed APIs to use DeviceEvent structure as above, and removed
4405 bogus casting between these event structures.
4407 * cspi/spi-listener.h:
4408 Added keystring member of AccessibleKeystroke structure, to enable
4409 matching on event "names" rather than only hardware codes and
4413 Added keystrings member of AccessibleKeySet struct, to allow
4414 matching on event names (as above).
4415 Added declarations for SPI_createAccessibleKeySet and
4416 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4417 event modmasks directly as unsigned ints rather than structs with
4418 refcounts, in the DeviceEventController methods.
4420 * cspi/spi_registry.c:
4421 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4423 * cspi/spi-roletypes.h:
4424 Added documentation of newly added SPI Roles.
4426 * cspi/bonobo/cspi-bonobo-listener.c:
4427 Changes in support of API changes above.
4429 * libspi/accessible.c:
4430 Converted APIs to use DeviceEvent structure (see IDL changes
4433 * registryd/deviceeventcontroller.c:
4434 Added DEControllerGrabMask structure to track keygrabs not only by
4435 modmask but by keyset as well; this allows us to do "global"
4436 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4437 grabbing on AnyKey and then filtering after-the-fact.
4438 Bugfixes for event filtration mean that we don't get false matches
4439 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4441 * registryd/deviceeventcontroller.c:
4442 Namespaced a number of static methods to use spi_ prefix. Major
4443 revision to internals of global (i.e. X) key grabs.
4445 * registryd/deviceeventcontroller.h:
4446 Removed keymask_list and added keygrabs_list to
4447 SpiDeviceEventController struct.
4450 Added use of SPI_createAccessibleKeySet API when creating a
4451 listener for only one key. Attach a listener to "shift spacebar
4452 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4453 X key event names to SPI key event names, so that listeners are
4454 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4456 * test/keysynth-demo.c:
4457 Changed (incorrect) use of X key event names (KeyPressed,
4458 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4461 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4463 * libspi/accessible.c:
4464 Convert all AtkRole enumerations to Accessibility_Role enums when
4465 getting a role from an AtkObject.
4467 * cspi/spi_accessible.c:
4468 Complete the conversion of Accessibility_Role enums at runtime to
4469 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4470 role enums correctly match those given in spi-roletypes.h.
4471 Re-synchronize the local names list for AccessibleRole_getName ().
4472 AccessibleRole_getName is now deprecated, since it duplicates the
4473 more reliable Accessible_getRoleName.
4474 Added some role types from Accessibility_Role.idl.
4476 * idl/Accessibility_Role.idl:
4477 Added some role types used by AtkRole.
4479 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4482 * cspi/spi_registry.c:
4484 * cspi/cspi-bonobo-listener.c:
4485 Namespaced all methods that did not begin with an "SPI_" or
4486 "Accessible" prefix to "SPI_".
4489 Homogenized internal function namespace to "cspi_" for statics.
4492 Patched tests to use the new CSPI API.
4494 * docs/reference/cspi/at-spi-cspi-sections.txt:
4495 Updated docs to reflect namespace changes, and added a number of
4496 methods to the documentation.
4498 * registryd/registry.c:
4499 Changed use of strings and string hashes in listener event
4500 matching and parse_event_string to use GQuark, which is guaranteed
4503 * registryd/registry.h:
4504 Squashed annoying warning.
4506 * idl/Accessibility_Role.idl:
4507 Extended range of available Accessibility_Role values.
4509 * cspi/spi_accessible.c:
4510 Re-ordered role names.
4512 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4514 * idl/Accessibility_Value.idl:
4515 Revert use of union back to CORBA_double, since the double type is
4516 more efficient and can contain the other types without loss of
4519 * idl/Accessibility_Accessible.idl:
4520 Added method Accessibility:Accessible:getRoleName, to complement
4521 Accessibility:Accessible:getRole.
4523 * cspi/spi_accessible.c:
4525 Added C binding for above, Accessible_getRoleName (), and changed
4526 signature of Accessible_getRole () to return an AccessibleRole.
4528 * cspi/spi-roletypes.h:
4529 Changed AccessibleRole_getName to return a char * instead of a
4530 const char *. This method is now at least temporarily deprecated
4531 in favor of asking Accessibles for their RoleNames directly.
4534 Revert to match Accessibility_Value.idl;
4538 Change signature of AccessibleValue methods to use double rather
4542 * cspi/spi_accessible.c:
4543 Changed Accessible_getRole to return an AccessibleRole enum rather
4544 than a UTF-8 string. The UTF-8 string can still be obtained via
4545 AccessibleRole_getName ().
4547 * test/test-simple.c:
4548 Add test_action. Small fixup to match API change to Accessible_getRole.
4551 Bugfix for get_action_from_servant ().
4553 2001-12-11 Michael Meeks <michael@ximian.com>
4555 * libspi/libspi.h: remove registry.h and
4556 desktop.h, deviceeventcontroller.h
4558 * libspi/Makefile.am: remove registry.[ch],
4559 desktop.[ch], deviceeventcontroller.[ch]
4561 * registryd/Makefile.am: add registry.[ch],
4562 desktop.[ch], rename registryd.c to registry-main.c.
4563 add deviceeventcontroller.[ch]
4565 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4568 Replace setenv() call with putenv ().
4570 * libspi/component.c:
4571 Bugfix in AccessibleComponent_getExtents (),
4574 2001-12-11 Michael Meeks <michael@ximian.com>
4576 * libspi/image.c (impl_getImageExtents): impl.
4577 (spi_image_class_init): upd.
4580 (AccessibleImage_getImageDescription): fix daft bug
4583 * test/test-simple.c (global_listener_cb): update
4584 to only quit if not --poke
4585 (main): catch --poke.
4586 (validate_accessible): upd. dumping, call test_image
4589 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4592 * idl/Accessibility.idl: update all IDL includes.
4594 * idl/*.idl - rename to namespace - this sucks, blame
4595 mjs' bad decision for oafd.
4597 * test/test-simple.c (create_test_window): add more tests.
4598 (create_tree): split this out.
4599 (validate_accessible): bugfix.
4601 2001-12-11 Michael Meeks <michael@ximian.com>
4603 * cspi/bonobo/cspi-bonobo-listener.c:
4604 (cspi_kestroke_listener_unref),
4605 (cspi_event_listener_unref): impl. undoing previous
4606 homenous environment - for Bill.
4608 * cspi/spi_table.c (long_seq_to_array): use
4611 * cspi/spi_main.c: split out all bonoboish bits into
4614 * cspi/spi-impl.h: upd. typedefs.
4616 * cspi/spi_registry.c: update to lowlevel API,
4617 return booleans to indicate success in some places.
4619 * cspi/spi_event.c: update to lowlevel API.
4621 * cspi/bonobo/Makefile.am: add.
4623 * cspi/bonobo/cspi-lowlevel.h: add
4625 * cspi/bonobo/cspi-bonobo.c: add
4627 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4629 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4630 (SUBDIRS): add bonobo, link in the libs.
4632 * cspi/spi-util.c: kill this file.
4634 * TODO: merge in my bits.
4636 2001-12-11 Michael Meeks <michael@ximian.com>
4638 * test/test-simple.c (test_value, test_table, main):
4639 remove unused variables causing warnings.
4641 * configure.in: cleanup checks - require gail.
4643 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4646 Changed Value interface to use SValue (scalars) rather than
4647 assuming all values are floats. This allows floats, doubles,
4648 longs, shorts, and unsigned values to be manipulated.
4649 Introduced Accessibility:SValue union.
4652 Updated to use new API above, and to work correctly with GValues
4653 of different types in AtkValue.
4656 Updated to use new API above. cspi's API is as yet unchanged.
4659 Updated the Value revision action item.
4661 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4663 * test/test-simple.c:
4664 Added test_table (GtkTreeView widget in test window to follow).
4665 Un-commented test_value, added GtkRange widget.
4666 Added GtkTreeView widget with GtkListStore. It passes regression
4667 test but leaks one SPI object for some reason.
4670 Fixed bug in impl__set_currentValue.
4672 2001-12-10 Michael Meeks <michael@ximian.com>
4674 * cspi/spi_text.c: audit for exception handling,
4675 tolerating NULL object references safely etc.
4677 * cspi/spi_value.c: ditto.
4679 * cspi/spi_table.c (AccessibleTable_getSummary),
4680 (AccessibleTable_getAccessibleAt),
4681 (AccessibleTable_getRowHeader),
4682 (AccessibleTable_getColumnHeader),
4683 (AccessibleTable_getCaption): fix bugs hidden by
4685 (long_seq_to_array): impl.
4686 (AccessibleTable_getSelectedRows),
4687 (AccessibleTable_getSelectedColumns): use it.
4689 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4692 Added a TODO list (rough and short for now).
4694 * cspi/spi_hyperlink.c:
4695 * cspi/spi_hypertext.c:
4696 Fixed macro name typos, and remove use of obsolete macro in
4697 AccessibleHyperlink_getLink.
4699 * cspi/spi_action.c:
4700 * cspi/spi_accessible.c:
4701 * cspi/spi_application.c:
4702 * cspi/spi_component.c:
4703 * cspi/spi_selection.c:
4706 Documentation fixes (removed return values from ref/unref methods).
4708 2001-12-10 Michael Meeks <michael@ximian.com>
4710 * cspi/spi_action.c: audit for exception handling,
4711 tolerating NULL object references safely etc.
4713 * cspi/spi_accessible.c: ditto.
4715 * cspi/spi_component.c: ditto.
4717 * cspi/spi_editabletext.c: ditto.
4719 * cspi/spi_hyperlink.c: ditto.
4721 * cspi/spi_hypertext.c: ditto.
4723 * cspi/spi_image.c: ditto.
4725 * cspi/spi_selection.c: ditto.
4727 2001-12-10 Michael Meeks <michael@ximian.com>
4729 * configure.in: use cspi/libspi.pc.in instead.
4731 * Makefile.am (pkgconfig_DATA): upd. to match.
4733 * test/simple-at.c (report_focus_event): kill hacks around
4734 bad return values, use putenv not setenv
4736 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4737 fire ChildGone - I killed it.
4739 * libspi/component.c
4740 (impl_accessibility_component_get_extents): remove
4743 * idl/Accessible.idl: kill ChildGone exception.
4745 * cspi/*.[ch]: kill int return from ref / unref.
4747 * cspi/spi_main.c (cspi_object_add_check): fold into
4748 (cspi_object_add): here.
4750 * cspi/spi_component.c (AccessibleComponent_getExtents):
4751 handle exceptions elegantly.
4753 * cspi/spi-private.h (cspi_check_ev_return),
4754 (cspi_return_if_fail): impl.
4756 * cspi/spi_accessible.c: use extensively.
4757 (AccessibleStateSet_equals): add direct compare check.
4759 * cspi/spi_selection.c: tolerate NULL objs, and check
4760 exceptions before return.
4762 * cspi/spi-util.c (cspi_warn_ev): rename to
4763 (cspi_check_ev): this & don't pass ev in; no point.
4765 2001-12-10 Michael Meeks <michael@ximian.com>
4767 * test/test-simple.c: use putenv not setenv
4768 (get_environment_vars): more chatty if you're not using
4771 * test/simple-at.c: do the setenv so more people see the
4774 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4776 * libspi/registry.c:
4777 Changed check of CORBA_environment on notification to be a warning
4778 instead of an error for the moment, since we can recover from this
4779 error when caused by a queued notification from a dead app.
4782 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4783 used by all current implementors of AtkValue), and coerce to
4784 CORBA_float. (Proper general case fix may require change to Value.idl).
4786 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4790 * cspi/spi_accessible.c:
4791 Documentation fixes: added user_data params to documentation for
4792 listeners and callbacks.
4794 * cspi/spi_accessible.c:
4795 Changed AccessibleStateSet_compare to return a
4796 StateSet rather than return the difference set into a third parameter.
4799 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4802 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4803 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4807 Remove subdirectory po from SUBDIRS for now.
4809 * at-bridge/bridge.c:
4810 Beefed up a couple of debug printouts.
4811 One-line fix for signal notification name formatting.
4813 * libspi/accessible.c:
4814 Added assertion to spi_accessible_new ().
4816 * libspi/application.c:
4817 Put #ifdef qualifiers around a printf.
4820 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4822 * registryd/Makefile.am:
4824 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4825 INTLTOOL_SERVER_RULE macro.
4828 Added an event listener for several ATK signals, for
4829 testing and debugging. Removed a few g_warnings.
4830 Added test output if focussed item implements the Value interface.
4832 * test/test-simple.c:
4833 Added test_value () function (known not to pass at the moment, so
4834 not actually called yet.
4836 2001-12-08 Michael Meeks <michael@ximian.com>
4838 * at-bridge/bridge.c (bridge_focus_tracker),
4839 (emit_eventv): fix the same ref. leak.
4840 (register_atk_event_listeners): don't leak.
4842 * cspi/spi-listener-impl.c (cspi_event): more
4843 protection from client code.
4845 * test/test-simple.c (test_desktop): unref the app.
4847 * test/Makefile.am: upd. TESTS.
4849 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4851 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4853 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4855 * cspi/spi_registry.c: constify in strings.
4856 (deregisterGlobalEventListenerAll): don't release the ref.
4858 * cspi/spi.h: start removing redundant / conflicting
4859 gtkdoc comments, making the API readable at a glance :-)
4861 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4863 * test/keysynth-demo.c (keysynth_exit, main): upd.
4865 * test/simple-at.c (main, simple_at_exit): upd.
4867 * test/test-simple.c (unutterable_horror): kill.
4868 (utterable_normal_derefs): kill.
4869 (main): upd & do a setenv before gtk_init, so that we
4870 can use memprof - and to save the pain of remembering
4871 this, if we're running under memprof - don't exit.
4873 * cspi/spi_main.c (SPI_exit): return exit status
4875 (SPI_event_quit): impl.
4876 (SPI_event_main): simplify.
4877 (cspi_is_gnome_app): kill.
4878 (SPI_init): kill isGNOMEapp arg.
4880 * at-bridge/bridge.c (register_atk_event_listeners):
4881 re-instate the unref.
4882 (bridge_exit_func): don't re-activate the registry,
4883 protect vs. theoretical re-entry, use the
4884 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4885 assert a clean shutdown - for regression tests.
4887 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4889 * configure.in: Comment out dummy i18n support for now,
4890 otherwise it fails to build.
4891 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4892 EXTRA_DIST. They are missing in tarball.
4894 2001-12-07 Michael Meeks <michael@ximian.com>
4896 * util/magnifier.c: kill bonobo activation reg. race.
4898 * libspi/component.c
4899 (impl_accessibility_component_get_extents): make it match
4902 * libspi/registry.c (_registry_notify_listeners):
4903 re-remove X headers & reconcile conflicts.
4904 (spi_listener_struct_free): bad conflict resolve.
4905 (impl_accessibility_registry_register_application):
4906 more bad merging fixed.
4907 (impl_accessibility_registry_deregister_application): ditto.
4908 (spi_registry_new): ditto.
4909 (spi_registry_init): don't have an applications field.
4911 [ merge fixups2 branch to here ]
4912 2001-12-07 Michael Meeks <michael@ximian.com>
4914 * test/simple-at.c (report_focus_event),
4915 (report_focussed_accessible): remove g_warning debug.
4917 2001-12-07 Michael Meeks <michael@ximian.com>
4919 * test/test-simple.c (validate_tree): comment out some checks.
4920 (test_desktop): app now not registered idly - horay.
4922 2001-12-07 Michael Meeks <michael@ximian.com>
4924 * cspi/spi_registry.c
4925 (registerAccessibleKeystrokeListener): clean, stop it leaking
4926 great swathes of memory, and device event controller references.
4927 ensure we always pass valid sequences.
4928 (deregisterAccessibleKeystrokeListener): ditto.
4929 (generateKeyEvent): upd.
4931 * at-bridge/bridge.c (bridge_key_listener): handle
4932 registry dead exception gracefully.
4933 (bridge_focus_tracker, emit_eventv): free ev.
4935 * test/simple-at.c (report_focus_event): fix polarity.
4937 * libspi/application.c (notify_listeners): kill the ev
4938 argument, and make sure we init the ev we use.
4939 (spi_application_object_event_listener): split out a chunk
4940 (get_atk_object_ref): here & fixup.
4941 (reverse_lookup_name_for_toolkit_event): make const.
4942 (spi_application_toolkit_event_listener): fixup, kill leaks
4945 * at-bridge/bridge.c (register_atk_event_listeners):
4946 don't unref the noop object - causes grief.
4948 * libspi/registry.c: remove the X headers.
4949 turn off the debug churn.
4951 * libspi/accessible.c (spi_accessible_new_return): only
4952 release the ref if we are supposed to [doh]
4954 * test/simple-at.c (report_button_press, report_focus_event):
4955 guard vs. unexpected exit.
4957 * at-bridge/bridge.c (gtk_module_init): prune printf.
4958 (bridge_exit_func): fix app unref.
4960 * libspi/Makefile.am: don't install registry or desktop.h
4962 * libspi/*.h: update includes.
4964 * libspi/application.h: don't include ourself, or
4965 other redundant headers.
4967 2001-12-06 Michael Meeks <michael@ximian.com>
4969 * libspi/accessible.c
4970 (get_accessible_from_servant): impl.
4971 Upd. all CORBA impl.s to use it killing cut and paste.
4973 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4975 (SPI_init): register atexit cleanup handler here.
4977 2001-12-06 Michael Meeks <michael@ximian.com>
4979 * at-bridge/bridge.c (gtk_module_init): g_error on
4980 activation exception
4982 2001-12-06 Michael Meeks <michael@ximian.com>
4984 * at-bridge/bridge.c (gtk_module_init): some sort of
4985 confusing merge clash - reverted.
4986 (bridge_idle_init): ditto.
4988 * test/test-simple.c (main, utterable_normal_derefs):
4989 merge from Bill - somehow not committed.
4991 2001-12-06 Michael Meeks <michael@ximian.com>
4993 * libspi/value.c (spi_value_class_init): upd.
4994 (spi_value_finalize): kill.
4996 * libspi/table.c (spi_table_finalize): kill.
4997 (spi_table_interface_new): upd.
4998 (spi_table_class_init): upd.
4999 (get_table_from_servant): impl.
5000 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5002 * libspi/selection.c (spi_selection_finalize): kill.
5003 (spi_selection_interface_new): upd.
5004 (spi_selection_class_init): upd.
5005 (get_selection_from_servant): impl.
5006 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5008 * libspi/relation.c (spi_relation_finalize): kill.
5009 (spi_relation_class_init, spi_relation_new): upd
5011 * libspi/image.c (spi_image_finalize): kill.
5012 (spi_image_class_init): upd.
5013 (spi_image_interface_new): upd.
5014 (get_image_from_servant): impl.
5015 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5017 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5018 (spi_hyperlink_finalize): kill.
5019 (spi_hyperlink_new): upd.
5020 (get_hyperlink_from_servant): impl.
5021 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5023 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5024 (spi_hypertext_finalize): kill.
5025 (spi_hypertext_class_init): upd.
5026 (get_hypertext_from_servant): impl.
5027 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5029 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5030 (spi_editable_text_interface_new): upd.
5031 (get_editable_text_from_servant): impl.
5032 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5034 * libspi/text.c (get_text_from_servant): impl.
5035 All impls - update to use it killing more cut and paste,
5036 also fix bad string returns on duff args ( a somewhat
5037 impossible case to handle - but hey ).
5038 (spi_text_construct): impl.
5039 (spi_text_interface_new): upd.
5040 (spi_text_object_finalize): kill.
5042 * libspi/component.c
5043 (accessibility_component_object_finalize): kill.
5044 (spi_component_class_init): upd.
5045 (get_component_from_servant): impl. helper to kill cut & paste.
5046 (impl_accessibility_component_contains):
5047 (impl_accessibility_component_get_accessible_at_point):
5048 (impl_accessibility_component_get_position):
5049 (impl_accessibility_component_get_extents):
5050 (impl_accessibility_component_get_mdi_z_order):
5051 (impl_accessibility_component_get_layer):
5052 (spi_component_interface_new): upd.
5054 * libspi/action.c (spi_action_finalize): kill.
5055 (spi_action_class_init): upd. inherit from SpiObject.
5056 (spi_action_interface_new): upd.
5057 (get_action_from_servant): impl. helper to reduce cut & paste.
5058 (impl_getKeyBinding, impl_getName, impl_doAction),
5059 (impl_getDescription): Use it everywhere.
5061 * cspi/spi_main.c (get_live_refs): a pointer hash.
5062 (spi_object_hash, spi_object_equal): comment out.
5063 There are issues with CORBA object hashing that need
5066 * libspi/application.c (spi_application_init),
5067 (spi_application_new): upd.
5069 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5070 (spi_accessible_class_init): upd.
5071 s/accessible/object/ in epv methods.
5073 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5075 * at-bridge/bridge.c:
5076 Reorder the bridge initialization into the bridge gtk_module_init,
5077 an immediate call to bridge_register_app, and an idle_add for
5078 register_atk_event_listeners (the only code that *must* wait until
5079 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5080 the activation, creates the application's Accessible object, and
5081 queues the bridge_idle_init function. Restored call to
5082 Accessibility_Registry_deregisterApplication().
5083 Prior to making this call we obtain a new reference to the
5084 registry, which is a temporary hack that helps us handle apps that
5085 shut down the bonobo mainloop before we get there.
5087 * libspi/registry.c:
5088 Fix string leakage in debug block, and don't segv if a an app
5089 dies before its event notifications have been propagated.
5092 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5093 as stopgap measure until we get proper exception handling when
5094 objects die during or before interrogation.
5098 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5099 Also changed default value of is_gnome_app to TRUE.
5102 * test/keysynth-demo.c:
5103 Changed use of SPI_init and SPI_event_main to reflect API change above.
5106 Made report_focus_event check the warning value from getName
5107 before reporting on focussed accessible; simplifies handling of
5108 notifications from dead objects.
5110 * test/test-simple.c: (Changes not in this patch since source is
5113 2001-12-05 Michael Meeks <michael@ximian.com>
5115 * registryd/registryd.c (main): protect against
5116 bonobo-activation startup race condition.
5118 * cspi/spi_main.c (cspi_object_add_check): cope
5119 with the exception elegantly.
5121 * idl/Accessible.idl: decl. ChildGone
5123 * libspi/desktop.c (spi_desktop_dispose): impl.
5124 (spi_desktop_class_init): upd.
5125 (spi_desktop_add_application),
5126 (spi_desktop_remove_application),
5127 (abnormal_application_termination): impl.
5128 (impl_desktop_get_child_at_index): re-impl.
5131 (impl_accessibility_registry_deregister_application),
5132 (impl_accessibility_registry_register_application):
5133 kill excessive debug clutter.
5135 * test/test-simple.c (test_misc): test some NULL
5136 tolerance. (main): upd.
5138 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5139 implements no interfaces - so let's not crash.
5141 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5143 * libspi/accessible.c (spi_accessible_new_return): impl.
5144 helper to calm the cut and paste, to cope with
5145 NULL AtkObjects effectively and efficiently, and to kill
5146 the referencing bugs.
5148 * libspi/table.c (impl_getAccessibleAt),
5149 (impl_getRowHeader, impl_getColumnHeader): upd.
5151 * libspi/hyperlink.c (impl_getObject): upd.
5153 * libspi/accessible.c
5154 (impl_accessibility_accessible_get_child_at_index): upd.
5156 * libspi/component.c
5157 (impl_accessibility_component_get_accessible_at_point): upd.
5159 * test/test-simple.c (test_editable_text, test_text): impl.
5162 * cspi/spi_editabletext.c
5163 (AccessibleEditableText_insertText): constify.
5165 * test/test-simple.c (focus_me): make more robust.
5167 * libspi/accessible.c: remove some printfs in methods that
5168 we test and work fine, so we can get a clean tree dump.
5170 * test/test-simple.c (validate_accessible),
5171 (validate_tree): make tree dumping pretty too.
5173 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5174 it builds without debug on.
5176 * test/test-simple.c (validate_accessible): fix the most
5179 * cspi/spi_main.c (spi_object_release): leave the nicely
5180 blanked memory around if in debug mode.
5182 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5184 [committed to fixups2]
5185 2001-12-05 Michael Meeks <michael@ximian.com>
5187 * libspi/editabletext.c
5188 (spi_editable_text_class_init): g_type_class_peek_parent,
5189 not interface peek - so we finalize cleanly.
5191 * libspi/accessible.c (spi_accessible_new): kill debug.
5193 * test/test-simple.c (validate_accessible): fix ref.
5194 leak, print strings before freeing them; sigh, comment a
5195 chunk out due to strangeness.
5196 (validate_tree): unref the child after use.
5198 * cspi/spi_component.c (AccessibleComponent_getLayer):
5199 add missing break statement, switch on zlayer not the
5200 uninitialized retval.
5202 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5203 before (possibly re-entering) remote unref.
5205 * test/simple-at.c (main): unref the desktop.
5207 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5210 * cspi/spi_main.c (cspi_accessible_is_a): here to
5211 isolate bonobo API usage more.
5213 * libspi/registry.c (impl_accessibility_registry_register_application):
5214 prune bogus comment.
5216 2001-12-04 Michael Meeks <michael@ximian.com>
5218 * test/test-simple.c (validate_tree): upd.
5219 IndexInParent check to make it more lucid.
5220 (validate_accessible): dump the tree.
5222 * libspi/accessible.c (de_register_public_ref),
5223 (get_public_refs): impl.
5224 (spi_accessible_new): make more efficient & intuitive.
5225 Now IndexInParent check works.
5227 2001-12-04 Michael Meeks <michael@ximian.com>
5229 * cspi/spi-util.h: remove.
5231 * cspi/spi.h: move SPI_freeString here
5233 * libspi/component.c (impl_accessibility_component_get_layer):
5235 (impl_accessibility_component_get_mdi_z_order): ditto,
5236 return -1 on error - is this ok ?
5238 * test/test-simple.c (test_application): impl.
5240 * cspi/spi_accessible.c (Accessible_getApplication),
5241 (Accessible_isApplication): impl.
5243 * libspi/registry.c (spi_listener_struct_free): release
5244 the CORBA reference too.
5246 * libspi/accessible.c
5247 (impl_accessibility_accessible_get_parent): fix ref leak.
5249 * libspi/registry.c (spi_registry_new): make the registry
5250 immortal - we don't want it to go away ever.
5252 * libspi/application.c
5253 (spi_accessible_application_finalize): impl. cleanup.
5255 * cspi/spi_registry.c
5256 (deregisterGlobalEventListenerAll),
5257 (deregisterGlobalEventListener),
5258 (deregisterAccessibleKeystrokeListener): fix ref leak.
5260 * cspi/spi_main.c (SPI_init): remove redundant ref.
5262 * test/test-simple.c (unutterable_horror): impl. to force a
5267 (impl_accessibility_registry_deregister_application): release
5268 the application when we de-register it.
5270 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5271 until we have the infastructure to get it right.
5273 2001-12-03 Michael Meeks <michael@ximian.com>
5275 * libspi/Makefile.am: only build eventlistener.[ch]
5277 * libspi/accessible.c
5278 (impl_accessibility_accessible_get_child_at_index): don't leak.
5280 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5281 before we hit the idle handler.
5283 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5284 debugging than exit.
5286 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5288 * libspi/listener.c (impl_notify_event): check source
5289 not NIL before unref.
5291 * libspi/registry.c (impl_registry_notify_event): ditto.
5293 * libspi/eventlistener.c
5294 (impl_accessible_event_notify_event): unref the source.
5296 * libspi/accessibleeventlistener.c
5297 (impl_accessible_event_notify_event): unref the source.
5299 * idl/Event.idl: remove 'hash_id' attribute - of no
5302 * libspi/application.c (notify_listeners): upd list
5304 (spi_application_object_event_listener),
5305 (spi_application_toolkit_event_listener): upd to do correct
5309 (_registry_notify_listeners): update.
5310 (parse_event_type): this method also leaks like a sieve.
5311 (impl_accessibility_registry_deregister_global_event_listener):
5312 fix ETYPE_WINDOW case.
5314 * libspi/application.c
5315 (impl_accessibility_application_register_object_event_listener):
5318 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5320 * libspi/hypertext.c (impl_getLink): ditto.
5322 * cspi/spi_main.c (cspi_object_add): remove
5323 bogus CORBA_Object_duplicate.
5325 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5328 * cspi/spi_accessible.c
5329 (Accessible_getRelationSet): fix leak / referencing issue.
5331 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5332 (cspi_object_add, cspi_object_unref): upd.
5333 (spi_object_release, get_live_refs): impl.
5334 (cspi_cleanup): simplify.
5336 * *.[ch]: s/boolean/SpiBoolean/
5338 * cspi/spi_accessible.c (role_names): actualy order so it
5339 corresponds with the enum !
5341 * test/test-simple.c (test_roles): check some role strings
5342 vs. enums to detect offset errors.
5344 2001-12-01 Michael Meeks <michael@ximian.com>
5346 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5348 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5350 (Accessible_getChildAtIndex): use cspi_add_check so we
5351 check the ev before using a (possibly) invalid value.
5353 * libspi/accessible.c
5354 (impl_accessibility_accessible_get_parent): don't segv
5357 * at-bridge/bridge.c (gtk_module_init): upd.
5358 (bridge_property_event_listener): don't leak strings
5360 (bridge_state_event_listener),
5361 (bridge_property_event_listener): don't use a static
5362 buffer in case of recursive event emission &
5363 re-enterancy - split out the swathe of cut and paste
5365 (emit_eventv): and fix 2 ref leaks here & comply to the
5367 (bridge_register_app): rename to
5368 (bridge_idle_init): this and kill arg parsing, split
5369 various inits & bonobo-activation registration to module
5370 init time, kill referencing error.
5371 (bridge_exit_func): fix the same leak.
5372 (bridge_focus_tracker): don't leak event structures
5374 (bridge_signal_listener): more leakage and cut & paste
5376 (bridge_key_listener): return the result - FIXME is
5377 this polarity correct ?
5378 (accessibility_keystroke_from_atk_key_event): rename
5379 (accessibility_init_keystroke_from_atk_key_event): and stop
5381 (gtk_module_init): return a value - not that it is checked by
5383 (bridge_key_listener): register my horror at casting between
5384 IDL defined structs.
5385 (bridge_get_registry): kill - not used.
5387 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5389 * test/test-simple.c (test_roles): impl.
5390 (test_desktop, validate_accessible, validate_tree): impl.
5392 * cspi/spi_accessible.c (role_names): fixup bogus
5393 MAX_ROLES setup, make constants const for efficient linkage
5394 (AccessibleRole_getName): conform to coding style, make
5397 2001-11-30 Michael Meeks <michael@ximian.com>
5399 * cspi/spi.h: add missing prototype.
5401 * libspi/registry.c (spi_listener_struct_new): fix sig.
5403 * test/Makefile.am: add test-simple
5405 * test/test-simple.c: add
5407 * test/test.sh: add.
5409 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5411 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5412 do it straight - since otherwise we often get an activation race.
5414 [ work before Bill duplicated a chunk of it ... ]
5415 2001-11-30 Michael Meeks <michael@ximian.com>
5417 * libspi/keystrokelistener.c
5418 (spi_keystroke_listener_class_init): fixup arg
5421 * libspi/eventlistener.c
5422 (spi_event_listener_class_init): ditto.
5424 * tests/test.sh: add.
5426 * cspi/spi-listener-impl.h: update macros.
5428 * cspi/spi-listener-impl.c
5429 (cspi_event_listener_remove_callback): add
5430 correct pre-conditions.
5432 * cspi/spi_main.c (SPI_exit): guard vs. double
5433 exits, exit the mainloop nicely.
5434 (SPI_event_main): make more sense.
5435 (SPI_init): move the atexit evilness here so we
5436 always do it (yuck).
5437 (SPI_event_main): upd.
5439 * test/simple-at.c: update for listener changes.
5441 * registryd/registryd.c (main): prune kruft.
5443 * libspi/libspi.h: upd.
5445 * libspi/eventlistener.[ch]: rename broken macros.
5447 * libspi/accessibleeventlistener.[ch]: remove.
5449 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5451 * test/test-simple.c: Add - automated tests.
5453 * cspi/spi-listener-impl.c (cspi_event),
5454 (cspi_key_event): add user_data to invoke.
5455 (cspi_keystroke_listener_finalize): impl.
5456 (cspi_keystroke_listener_class_init): upd.
5459 (createAccessibleEventListener),
5460 (AccessibleEventListener_addCallback),
5461 (createAccessibleKeystrokeListener),
5462 (AccessibleKeystrokeListener_addCallback): upd.
5464 * libspi/deviceeventcontroller.c
5465 (spi_device_event_controller_check_key_event): add public proto.
5468 (impl_accessibility_registry_deregister_global_event_listener):
5469 always init listeners.
5470 (_registry_notify_listeners): yes it is.
5472 * cspi/spi-listener-impl.c (cspi_key_event):
5474 (cspi_event_listener_finalize): impl.
5475 (cspi_event_listener_class_init): hook up.
5476 (event_handler_new, event_handler_free),
5477 (event_list_remove_by_callback): impl.
5478 (cspi_event_listener_remove_callback),
5479 (cspi_keystroke_listener_remove_callback),
5480 (cspi_keystroke_listener_add_callback),
5481 (cspi_event_listener_add_callback): upd.
5483 * libspi/keystrokelistener.c
5484 (keystroke_listener_object_finalize): kill
5485 (spi_keystroke_listener_class_init): upd.
5486 (spi_keystroke_listener_add_callback),
5487 (spi_keystroke_listener_remove_callback): kill,
5489 (impl_key_event): prune drasticaly.
5491 * libspi/eventlistener.c
5492 (spi_event_listener_add_callback),
5493 (spi_event_listener_remove_callback): kill, use
5495 (impl_accessible_event_notify_event): upd.
5496 (spi_event_listener_object_finalize): remove.
5498 * libspi/Makefile.am: use eventlistener.[ch]
5500 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5502 * libspi/registry.c (_registry_notify_listeners):
5503 Changed listener loop iteration to use preferred convention.
5504 Got rid of string memory leaks caused be calling g_strconcat
5505 inside function calls.
5507 * libspi/registry.c (parse_event_type):
5508 Stopped g_strconcat memory leaks, free the g_strsplit return,
5509 g_strdup the split pieces when used, etc.
5511 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5514 Change method 'compare' to return a 'difference set' rather than
5515 taking a StateSet as an out parameter (more Java-friendly).
5517 * idl/Accessible.idl:
5518 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5520 * idl/Component.idl:
5522 Changed methods 'getExtents' and 'getImageExtents' in these
5523 interfaces to return a BoundingBox structure.
5524 (getPosition and getSize are redundant and possibly should be
5525 removed, rather than creating a corresponding Point struct.)
5527 * cspi/spi_component.c:
5528 Modify implementation of getExtents to reflect the above IDL
5533 Add (missing) AccessibleImage_getExtents () API.
5535 * docs/reference/cspi/at-spi-cspi-sections.txt:
5536 Added AccessibleImage_getImageExtents () to docs.
5538 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5540 * idl/Component.idl:
5541 Added two methods, getLayer () and getMDIZOrder (), to reflect
5542 the new ATK methods atk_object_get_layer and
5543 atk_object_get_mdi_z_order. (Which arguably should be part of the
5544 AtkComponent API and AtkObject). Also added an enum,
5545 ComponentLayer, for the first method's return value.
5547 * libspi/component.c:
5548 Added implementations for these methods.
5550 * cspi/spi_component.c:
5552 Added cspi binding methods for above,
5553 AccessibleComponent_getLayer() and
5554 AccessibleComponent_getMDIZOrder().
5555 Added cspi enum 'AccessibleComponentLayer'.
5557 * docs/reference/cspi/at-spi-cspi-sections.txt:
5558 Added above methods to docs.
5562 Changed typedef for 'boolean' type (and all references to it) to
5563 SPIBoolean, to avoid keyword clashes with C++.
5566 Changed usages of 'boolean' to SPIBoolean.
5568 * test/keysynth-demo.c:
5569 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5570 app), except where SPIBoolean is required by the callbacks API.
5572 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5574 * cspi/spi_registry.c:
5575 Removed obsolete X event loop for passive keygrabs (which now
5578 * registryd/registryd.c:
5579 Removed unnecessary call to gdk_init() [cruft]. This also allows
5580 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5583 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5585 * docs/reference/cspi:
5586 Included docs for SPI_freeString in generated documentation.
5589 Renamed spi_freeString to SPI_freeString, for consistency. Added
5590 documentation for this function.
5593 Renamed spi_freeString to SPI_freeString, for consistency.
5594 Removed obsolete method declaration string_from_corba_string.
5596 * test/keysynth-demo.c:
5597 Small tweak to comments.
5600 Stopped leaking the strings returned from CSPI.
5602 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5604 Merged Michael's branch (see his ChangeLog entries below).
5606 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5607 bridge is alive, release on exit.
5609 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5610 Fix type check macro.
5613 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5616 Added is_gnome_app static, and method cspi_is_gnome_app(),
5617 so we can call the appropriate shutdown routine at exit in SPI_exit.
5619 * cspi/spi_main.c (cspi_object_ref):
5620 Duplicate the corba object passed in, since we're keeping it around.
5622 * cspi/SPI_exit.c, cspi_cleanup:
5623 Moved the releasing of the live refs to its own function, so we
5624 can put it in g_atexit (). Call the appropriate shutdown API
5625 depending on whethe calling client is a gnome app or not
5626 (bonobo_main_quit or CORBA_ORB_shutdown).
5628 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5629 Unref the listener when this method is called, after
5630 deregistration. Updated the API docs to note this behavior.
5632 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5633 Bugfixes: Ref the bonobo object when returning a parent or child
5634 reference, or an AccessibleRelation. Generally made sure
5635 BonoboObject refcount is incremented whenever we return an
5638 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5639 Fixed typo/bug in signal declaration.
5641 * libspi/accessibleeventlistener.h:
5644 * libspi/application.c (spi_application_new):
5645 Fixed leak in initialization.
5648 Remembered to increment bonobo-object refcount when returning
5649 children (applications) from desktop object.
5650 Added (empty) finalize method.
5652 * libspi/deviceeventcontroller.c:
5653 Hold a ref to listeners inside DEControllerKeyListeners.
5654 Added dec_key_listener_free() method. Use prepend instead of
5655 append in key_listener list. Fixed some refcount madness and
5656 leaks in the listener registration/deregistration - deregistration
5657 now calls dec_key_listener_free() on listeners, and on the
5658 temporarily constructed dec_key_listener() used to perform the search/match.
5660 * libspi/hypertext.c (spi_hypertest_finalize):
5661 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5662 class. Also fixed spi_hypertext_interface_new() and
5663 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5665 * libspi/hypertext.h:
5666 Removed pointless and duplicate AtkObject pointer from
5669 * libspi/keystrokelistener.c:
5670 Fixed incorrect type of keystroke_listener_parent_class,
5671 renamed keystroke_listener_object_finalize to
5672 spi_keystroke_listener_object_finalize.
5673 Fixed typo in signal declaration
5674 (spi_keystroke_listener_class_init).
5676 * libspi/registry.c:
5677 Added funcsions spi_listener_struct_new() and
5678 spi_listener_struct_free() to help with memory management issues.
5679 We also now use these methods instead of gnew + poking stuff into
5680 the struct, and to decrement listener counts/free the listeners
5681 when deregistering them.
5682 Fix more refcount bugs in getDesktop() and
5683 getDeviceEventController().
5686 De-ref the desktop after enumerating the applications. Explicitly
5687 decrement the refcounts on the created listeners on exit (using
5688 _unref for keystroke listeners, and via the
5689 deregisterGlobalEventListenerAll command for other event
5692 2001-11-27 Michael Meeks <michael@ximian.com>
5694 * cspi/spi-listener.h: fixup enum.
5696 2001-11-27 Michael Meeks <michael@ximian.com>
5698 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5699 (cspi_keystroke_listener_new): Use the cspi variants.
5701 2001-11-26 Michael Meeks <michael@ximian.com>
5703 * test/keysynth-demo.c: fix 2 compile warnings, missing
5706 * test/simple-at.c (report_focussed_accessible),
5707 (report_focus_event, report_button_press),
5708 (check_property_change, is_command_key),
5709 (report_ordinary_key_event, report_command_key_event): upd.
5711 * util/mag_client.h: include pre-requisites.
5713 * libspi/accessibleeventlistener.c
5714 (spi_event_listener_object_finalize): free any lingering
5717 * libspi/keystrokelistener.c
5718 (keystroke_listener_object_finalize): ditto.
5720 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5721 callbacks, with cspi types.
5723 * cspi/spi_event.c (createAccessibleEventListener): chain to
5724 (AccessibleEventListener_addCallback): here.
5725 (createAccessibleKeystrokeListener): chain to
5726 (AccessibleKeystrokeListener_addCallback): here.
5728 * libspi/keystrokelistener.c
5729 (spi_keystroke_listener_class_init): add signal.
5730 (impl_key_event): emit the event.
5731 (boolean_handled_accumulator): impl.
5732 (marshal_BOOLEAN__POINTER): add, gack.
5734 * libspi/accessibleeventlistener.c
5735 (spi_event_listener_class_init): add signal.
5736 (impl_accessible_event_notify_event): emit the signal &
5737 make the loop efficient.
5738 (spi_event_listener_add_callback): prepend the callback.
5740 * libspi/accessibleeventlistener.h: add an 'event' signal,
5741 decl type on callback.
5743 * libspi/keystrokelistener.h: ditto.
5745 * cspi/spi-listener.h: make methods typesafe and
5746 make them use the new event typedefs.
5748 * test/simple-at.c (report_focussed_accessible):
5749 include mag_client.h
5750 Use *(void *)text_interface not the other thing.
5752 * configure.in: add gtk to registryd bits - since we use
5755 * util/magnifier.c: include libbonobo.h
5757 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5759 * test/keysynth-demo.c:
5760 Turned this into a simple scanning keyboard, to demonstrate the
5761 use of g_timeout_add () as a means of creating timers for
5762 scanning, and the use of GtkStyle for visually indicating when
5763 virtual keyboard elements are selected.
5765 keysynth-demo now listens to any keyboard keys with zero-valued
5766 keycodes (i.e. 'unused' keys) and interprets them as
5769 Reworked the shiftlatch code so that shift-down state isn't held
5770 for long periods (it's only synthesized immediately prior to
5771 the keysynth event it's modifying). Note that shiftlatch in this
5772 demo is a convenience, not intended to take the place of AccessX
5773 which is the better choice for getting 'sticky' modifier keys.
5775 * libspi/deviceeventcontroller.c:
5776 * at-bridge/bridge.c:
5777 * cspi/spi_registry.c:
5778 Removed some debug print stuff, and put other verbosity in #ifdef
5783 Implemented some more of the magnifier IDL for the simple
5784 magnifier: namely, getZoomRegionParams.
5785 Added mag_x and mag_y members to MagnifierData struct, aid of this
5787 Added GtkWindow::realize signal handler to magnifier, to keep it
5788 from receiving keyboard focus from the WM.
5790 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5792 * cspi/spi-private.h: my guess at what michael forgot
5793 before he ran off to NZ :-)
5795 2001-11-23 Michael Meeks <michael@ximian.com>
5797 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5798 comment out non existant method invoke so we link.
5800 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5801 use bonobo_exception_get_text for more friendly warnings.
5803 * cspi/spi.c (Obj_Add): move into spi_main & rename
5804 spi_object_add; kill spi.c
5806 * cspi/spi_registry.c
5807 (deregisterGlobalEventListener),
5808 (deregisterGlobalEventListenerAll),
5809 (registerGlobalEventListener): fix exception leaks.
5811 * cspi/spi_main.c (spi_exception): impl. helper, so we
5812 don't leak exceptions.
5814 * cspi/spi_selection.c
5815 (AccessibleSelection_deselectSelectedChild): return the
5818 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5819 (spi_registry): ditto.
5820 (SPI_init): guard against double inits.
5822 * cspi/*.c: use spi_ev (), and spi_registry () where
5823 appropriate - a temporary hack until we have something
5824 better. Use spi_object_add
5826 2001-11-22 Michael Meeks <michael@ximian.com>
5828 * cspi/Makefile.am: re organise, install the headers.
5830 * cspi/*.h: add G_BEGIN/END_DECLS
5832 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5835 Added non-preemptive keylistener for key events with no modifiers
5836 and shift-only modifier.
5838 * libspi/keystrokelistener.c:
5839 Removed some verbose diagnostics printout.
5841 * cspi/spi_registry.c:
5842 Fixed a bug that caused all key listeners to be registered as
5845 * libspi/deviceeventcontroller.c:
5846 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5847 for non-preemptive key masks.
5850 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5852 * docs/reference/idl/at-spi-idl-docs.sgml:
5853 * docs/reference/idl/at-spi-idl-sections.txt:
5854 * docs/reference/idl/at-spi-idl-overrides.txt:
5855 Added missing files.
5857 * docs/reference/Makefile.am:
5858 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5859 to scan the IDL files :-(
5864 Added .cvsignore files.
5866 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5868 * libspi/deviceeventcontroller.c:
5869 * libspi/keystrokelistener.c:
5871 * cspi/spi_registry.c:
5872 Added filters for KeySets, KeyEventSeq, and event types to key
5873 event dispatching, so listeners should only receive those events
5874 that they requested :-)
5876 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5881 * docs/reference:Makefile.am:
5882 * docs/reference/cspi:
5883 * docs/reference/cspi:Makefile.am:
5884 * docs/reference/cspi:tmpl:
5885 * docs/reference/cspi:tmpl:*.sgml:
5886 * docs/reference/idl:
5887 * docs/reference/idl:Makefile.am:
5888 * docs/reference/idl:at-spi-idl-sections.txt:
5889 * docs/reference/idl:at-spi-idl-docs.sgml:
5890 * docs/reference/idl:tmpl:
5891 * docs/reference/idl:tmpl:*.sgml:
5893 Restructured docs directory to allow separate 'reference' docs
5894 section, and forked idl and cspi docs. Added the sgml template
5895 files to CVS. Added the first sections/structural sgml for the
5898 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5900 * configure.in, libspi/Makefile.am: find libXtst.
5902 2001-11-21 Michael Meeks <michael@ximian.com>
5904 * test/accessx-gui.c: s/spi_value/value/ - doh.
5906 * libspi/base.[ch]: add.
5908 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5910 * idl/Accessible.idl:
5911 * idl/Application.idl:
5914 Started gtk-doc cleanup on IDL.
5916 * libspi/deviceeventcontroller.c:
5917 Added and connected non-preemptive key notification from the
5918 toolkits (in addition to the pre-emptive support from XServer
5919 which we had before, but which causes 'focus flashing'). Filters
5920 are presently limited to key modifiers and global/non-global,
5921 KeySets are presently ignored, as are KeyEvent masks.
5923 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5924 structs into the persistant structure rather than just storing
5925 pointers to things that might not persist across servant
5928 The XGrabKey call now does async keygrabs, because synchronous
5929 ones were deadlocking with GDK_event code in a very nasty way.
5931 Added boolean to internal method notify_keylisteners, to indicate
5932 whether the event came from the 'toolkit source' or the 'global
5933 (XServer) source' - this is used in the notification process to
5934 determine which listeners to send the event to.
5936 deviceeventcontroller.c is now warning-free.
5938 * libspi/registry.c:
5939 Fixed regression in application de-registration.
5940 Also fixed some really brain-dead weirdness having to do with
5941 event dispatching - event structs are now duplicated before being
5942 re-marshalled in the dispatch to listeners. This also fixes a
5943 Solaris build problem.
5946 2001-11-20 Michael Meeks <michael@ximian.com>
5949 (impl_accessibility_registry_deregister_global_event_listener):
5952 * libspi/deviceeventcontroller.c
5953 (spi_device_event_controller_check_key_event): return
5954 FALSE on no virtual method.
5956 * libspi/*..h: make includes work on a correctly pathed install.
5958 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5960 * libspi/application.h: kill unused ( and whacked out )
5961 gboolean *spi_application_set_id (AtkObject *app, long id);
5963 2001-11-20 Michael Meeks <michael@ximian.com>
5965 * libspi/*.[ch]: further convert to bonobo's type func
5966 macros, remove redundnant casts etc.
5968 * libspi/text.c s/accessibility_text/spi_text/g,
5969 re-order to de-cruft.
5971 * libspi/hypertext.c: re-order to kill a huge slew
5972 of redundant forward decls.
5974 * libspi/relation.c: ditto.
5976 * libspi/image.c: ditto.
5978 * */.cvsignore: update
5980 2001-11-20 Michael Meeks <michael@ximian.com>
5982 * libspi/deviceeventcontroller.c
5983 (_controller_register_with_devices): use g_getenv,
5984 kill stdlib.h include.
5986 * libspi/keystrokelistener.c
5987 (spi_keystroke_listener_get_type): kill
5988 (spi_keystroke_listener_class_init),
5989 (spi_keystroke_listener_init): rename to this.
5991 * libspi/text.c (impl_getAttributes): fix warning / bug.
5993 * libspi/*.[ch]: more headers, includes and over commenting.
5995 2001-11-20 Michael Meeks <michael@ximian.com>
5997 * libspi/*.[ch]: fixup headers, includes and over commenting.
5999 * libspi/image.c (impl__get_imageDescription): const
6000 correctness warning fix. remove redundant casting.
6002 * libspi/table.c (impl_getRowDescription): ditto.
6003 (impl_getColumnDescription): ditto.
6005 * libspi/libspi.h: add.
6007 2001-11-19 Michael Meeks <michael@ximian.com>
6009 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6011 * libspi/component.c (accessibility_component_get_type):
6012 rename to (spi_component_get_type): and macroify.
6013 (accessibility_component_init): rename to
6014 (spi_component_init): this
6015 (accessibility_component_class_init): rename to
6016 (spi_component_class_init): this
6018 * libspi/action.c (spi_action_get_type): kill, use the macro.
6020 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6023 * libspi/application.c (spi_application_object_event_listener),
6024 (impl_accessibility_application_register_object_event_listener):
6025 warning fixes / const understanding updates.
6027 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6030 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6032 * libspi/spi_accessible.c: Added docs and C bindings for
6033 AccessibleStateSet. (No implementations yet). Documentation
6034 coverage for C bindings now 100%. Made docs for event listeners
6039 boolean notifyListenersSync (in DeviceEventListener listener,
6040 in DeviceEvent event);
6042 oneway void notifyListenersAsync (in DeviceEventListener listener,
6043 in DeviceEvent event);
6045 Added DeviceEventListener and DeviceEvent structs (may deprecate
6046 KeyStroke and KeystrokeListener in favor of this generic
6047 event/listener framework for devices).
6049 * libspi/deviceeventcontroller.c:
6051 Changed some key listener code to take masks, etc., and paved the
6052 way for integration of toolkit/non-preemptive key events. Changed
6053 signatures of some internal methods.
6055 * at-bridge/bridge.c:
6056 Fixed regression connecting to interface signals, apparently
6057 caused by GTK+ changes.
6059 Added an internal bridge_state_listener to deal with
6060 property-change:accessible-state signals.
6062 Changed the key_listeners GList to store structs (including masks,
6063 etc.) instead of just CORBA_Objects (required for full
6064 implementation of key listener API).
6066 Connected the bridge to all currently supported Atk signals.
6067 Events now supported:
6068 object:property-change
6069 object:property-change:accessible-name
6070 object:property-change:accessible-state
6071 object:property-change:accessible-description
6072 object:property-change:accessible-parent
6073 object:property-change:accessible-value
6074 object:property-change:accessible-role
6075 object:property-change:accessible-table-caption
6076 object:property-change:accessible-table-column-description
6077 object:property-change:accessible-table-column-header
6078 object:property-change:accessible-table-row-description
6079 object:property-change:accessible-table-row-header
6080 object:property-change:accessible-table-summary
6081 object:children-changed
6082 object:visible-data-changed
6083 object:selection-changed
6084 object:text-selection-changed
6086 object:text-caret-moved
6088 object:row-reordered
6090 object:column-inserted
6091 object:column-reordered
6092 object:column-deleted
6093 object:model-changed
6095 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6097 * libspi/hyperlink.c,h:
6098 Fixed some broken stuff in hyperlink.
6100 * libspi/relation.h:
6101 * libspi/relation.c:
6102 * cspi/spi_accessible.c:
6103 Initial implementations of AccessibleRelation methods, and docs.
6105 * libspi/accessible.c:
6106 Fixed a bug that caused SEGV if an accessible
6107 object's description is NULL, and a client
6108 requests it. An empty string is now returned.
6110 * cspi/spi_editabletext.c:
6111 * cspi/spi_hypertext.c:
6113 * cspi/spi_hyperlink.c:
6117 Doc coverage now 95%.
6119 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6121 One last namespacing revision:
6122 * libspi/accessibleeventlistener.[ch]:
6123 Renamed SpiAccessibleEventListener to SpiEventListener,
6124 (no need for two namespaces ;-)
6126 And lots of documentation fixes:
6128 * docs/at-spi-docs.sgml:
6129 Fixed 'underscore vs. hyphen' bug that was preventing
6130 the gtk-doc API docs from being automatically generated.
6133 * cspi/spi-listener.h
6135 * cspi/spi_accessible.c
6137 * cspi/spi_application.c
6138 * cspi/spi_component.c
6139 * cspi/spi_editabletext.c
6141 * cspi/spi_hypertext.c
6143 * cspi/spi_registry.c
6144 * cspi/spi_selection.c
6148 * docs/at-spi-docs.sgml
6149 * docs/at-spi-sections.txt
6151 Added and fixed up gtk-doc documentation in cspi.
6153 Interfaces now (fully) documented (subject to revision and enhancement):
6155 Event Listener Support
6157 AccessibleApplication
6161 AccessibleEditableText
6168 AccessibleRelationSet
6173 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6175 * at-bridge/bridge.c:
6176 Initial work for toolkit-level key snooper connection by bridge.
6181 New typedefs and fixes to support new namespacing, and cleaner
6182 separation of cspi bindings from libspi bonobo implementation.
6183 Removed inconsistent and extraneous Spi* namespace prefix that
6184 had crept into cspi headers.
6185 Lots of comment fixes that sed had missed.
6187 * cspi/spi-roletypes.h:
6188 * cspi/spi-statetypes.h:
6189 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6190 to AccessibleRoleType.
6192 * libspi/accessibleeventlistener.h:
6193 Fixed minor namespacing weirdness.
6195 * libspi/deviceeventcontroller.c:
6196 Reordered some internal API for device listeners.
6197 Changed the key registry final boolean to 'is_system_global'
6198 rather than 'is_synchronous', which is more descriptive of its
6200 Added spi_device_event_controller_new().
6201 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6203 * libspi/keystrokelistener.[ch]:
6204 Namespaced KeystrokeListener to SpiKeystrokeListener.
6205 Changed uses of keymasks to use SPI_ prefix, and did other
6208 * libspi/keymasks.h:
6209 Namespaced keymask constants with SPI_ prefix.
6211 * libspi/registry.c:
6212 Some warning fixes, and knock-on fixes from namespace changes.
6215 Added rules for accessx-gui test program.
6217 * test/accessx-gui.c:
6218 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6219 utility. It doesn't actually use at-spi, but it's still cool and
6222 * test/keysynth-demo.c:
6226 Fixes so that these test clients work properly with the namespaced
6227 libraries. (Incompletely tested for technical reasons, fixes may follow)
6230 2001-11-13 Michael Meeks <michael@ximian.com>
6232 * libspi/application.c
6233 (impl_accessibility_application_get_version),
6234 (impl_accessibility_application_get_toolkit_name):
6236 (impl_accessibility_application_set_id),
6237 (impl_accessibility_application_get_id): remove
6238 redundant casting code.
6240 * libspi/action.c (impl_getDescription): fix warnings.
6242 * libspi/accessible.c
6243 (impl_accessibility_accessible_get_parent),
6244 (impl_accessibility_accessible_get_child_at_index),
6245 (impl_accessibility_accessible_get_state),
6246 (impl_accessibility_accessible_get_relation_set):
6247 warning fixes & include action.h
6249 2001-11-13 Michael Meeks <michael@ximian.com>
6251 * *.[ch] fix bits I screwed up:
6253 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6254 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6256 2001-11-13 Michael Meeks <michael@ximian.com>
6258 * *.[ch] Namespace libspi into spi_ and Spi.
6260 2001-13-11 Michael Meeks <michael@ximian.com>
6262 * Makefile.am: dist & install at-spi-1.0.pc
6264 * libspi/Makefile.am: install into at-spi-1.0
6266 * idl/Makefile.am (idldir): install into at-spi-1.0
6268 * at-spi-1.0.pc.in: add.
6270 * configure.in: build it.
6272 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6274 * test/keysynth-demo.c:
6275 Use a 'realize' signal-handler to set the WM properties for
6276 the virtual keyboard, rather than making it a "POPUP" type
6277 override-redirect window (thanks to anders carlsson for that
6280 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6283 * test/keysynth-demo.c:
6284 Added new test of key synthesis, which creates a simple
6285 (mouse-operated) onscreen keyboard. It inserts key events into
6286 the currently-focused window, thus it does not grab keyboard focus
6289 * cspi/spi_registry.c:
6290 Added C binding for AT-SPI generateKeyEvent.
6292 * libspi/deviceeventcontroller.c:
6293 Added call to XFilterEvent so that key listener works with XIM (we
6294 hope). Added event_synth_type to generateKeyEvent, so that we can
6295 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6296 synthesize a press/release pair for KeySyms.
6298 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6300 * libspi/Makefile.am:
6301 * registryd/Makefile.am:
6302 (temporary) hack to include libXtst in libspi and registryd.
6303 (Needed for keystroke synthesis, see below).
6306 Improved API for registerKeystrokeListener, in accordance with
6307 discussions with Gnopernicus team and X server research.
6309 * libspi/registry.c:
6310 * libspi/deviceeventcontroller.c:
6311 * libspi/accessible.c:
6312 * libspi/keystrokelistener.c:
6313 Changes and fixes to support keylisteners for potentially
6314 consumed key events (that is, 'passive grabs').
6315 Added implementation for generateKeyEvent() [untested].
6318 Changes to registerKeystrokeListener() API, as above.
6319 Added deregisterGlobalEventListenerAll(), and
6320 deregisterKeystrokeListener(), which are needed for clean exit of
6322 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6323 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6325 * cspi/spi_registry.c:
6326 Added implementations of function prototypes mentioned above.
6328 * registryd/registryd.c:
6329 Added the key listener event source as a g_timeout(), to allow
6330 receipt of key events that are not caught by GDK (since GDK
6331 doesn't support passive keygrabs, this was necessary).
6334 Changed to attach a keylistener to 'Alt' keys, and
6335 respond to the following keycommands: Alt-M (toggle magnifier);
6336 Alt-F (toggle speech); Alt-Q (quit).
6337 Added an exit routine to deregister the listeners, and a key
6338 listener that prints some key info to the console when a key
6339 matches the listener mask (and is thus received by the listener).
6341 * util/idl/Magnifier.idl:
6342 Changes to magnifier API to support multiple zoom regions,
6343 non-uniform scaling in x and y, markDirty, and a host of other
6344 features that would be useful to magnification.
6347 * util/mag_client.c:
6348 * util/mag_client.h:
6349 * util/mag_control.c:
6351 Source code changes to support the above IDL changes.
6354 As above, and also changes to use a (slower) generic conversion
6355 path for colormap conversions, since the fast RGB conversions have been
6356 reported to fail for 16-bit displays.
6358 2001-10-26 Michael Meeks <michael@ximian.com>
6360 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6362 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6364 * at-bridge/Makefile.am: fix LDFLAGS.
6366 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6368 * at-bridge/bridge.c:
6369 Re-worked listeners for toolkit events, now we have signal
6370 and property listeners. Added a private method
6371 register_atk_event_listeners(), which registers with the
6372 various atk and gtk signals we need to monitor in order to emit
6374 Added emission hook for AtkObject:property-change events, to
6375 support the 'property listeners'.
6376 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6379 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6380 which emit warnings and exit, respectively, if CORBA errors occur
6381 during remote calls, and we now use these methods to check most of
6382 our CORBA calls in the C bindings.
6384 * cspi/spi_accessible.c:
6385 Changed AccessibleSelection_refSelectedChild() to
6386 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6387 now increment refcounts.
6389 * cspi/spi_component.c:
6390 Fixed some long pointer casts (dangerous!) to pass pointers to
6391 CORBA_longs of the proper type to the CORBA stubs, and copy the
6392 data into the longs that were passed into the C bindings code.
6394 * at-bridge/bridge.c:
6396 * libspi/accessible.c:
6397 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6398 hyperlinks, AtkHyperlink is an object type.
6400 * libspi/application.c:
6401 Added various conversions to and from "generic" event types and
6402 atk-specific types; this is really part of the 'bridge'
6403 implementation but is valid for all AtkObject-based accessibility
6406 * libspi/editabletext.c:
6407 Fixed nasty bug wherein editable text's finalize method was
6408 unref'ing tha AtkObject reference that the text parent class was
6409 about to unref _again_. There was also a nasty inheritance bug
6410 that meant that the AccessibleEditableText class was corrupt.
6412 * libspi/selection.c:
6413 Provided implementations for some selection API that was broken.
6415 * idl/Application.idl:
6416 Added registerObjectEventListener () method.
6419 Fixed a number of return values that were Bonobo_Unknowns from
6420 bonobo_object_corba_objref(), which I
6421 forgot to dup before returning. Changed instances of
6422 bonobo_object_corba_objref (bonobo_object(o)) to
6423 BONOBO_OBJREF(o), for concision and clarity.
6425 2001-10-13 Louise Miller <louise.miller@sun.com>
6427 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6428 idl/Event.idl, idl/Registry.idl
6429 Changed these files to include Bonobo_Unknown.idl instead
6432 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6434 * libspi/component.c libspi/component.h:
6435 Fixed typo. Added assertions for object checks in
6436 AccessibleComponent code.
6438 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6440 * idl/Accessible.idl:
6441 Added 'isEqual (Accessible *object)'
6442 method for Accessible. (Not Yet Implemented).
6445 Changed signature of registerKeystrokeListener() to
6446 take a KeySet and KeyEventSeq so that specific keys and event
6447 types could be requested for monitoring, and added a flag
6448 is_synchronous so that either synchronous or asynchronous
6449 notification could be requested. (However this is not all
6450 implemented yet). This also meant adding two new typedefs,
6451 KeyEventSeq and KeySet.
6454 Added two new relations, RELATION_TOOLTIP_FOR and
6455 RELATION_LEAFNODE_OF.
6458 Added new state, STATE_HAS_TOOLTIP.
6460 * libspi/text.c, editabletext.c:
6461 Added new assertions to all casts of bonobo-objects from
6462 CORBA servants, to prevent Text API calls on non-text objects.
6463 Changed suspect casts of int-pointer types, so that we
6464 always send a valid CORBA_long pointer to the CORBA APIs that use
6465 in/out long parameters. We then have to copy from the CORBA_long
6466 into the regular long or int for return to the C bindings, or
6467 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6470 * libspi/deviceeventcontroller.c:
6471 Cleaned these sources up.
6473 Changed return type for getCharacterAtOffset to
6474 CORBA_unsigned_long, to allow for 32-bit characters.
6477 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6481 Fixed 'make dist' so that distro compiles...
6482 * libspi/keymasks.h:
6484 * cspi/spi-listener.c:
6485 KeystrokeListenerCB now returns a boolean.
6487 Added KeyEventType struct, and KeyStroke.
6488 Also added createKeystrokeListener(),
6489 KeystrokeListener_addCallback(),
6490 KeystrokeListener_removeCallback(), and added a keymask to
6491 registerKeystrokeListener().
6492 * cspi/spi_accessible.c:
6493 Changed numerous return types for interfaces from
6494 AccessibleComponent to Accessible<InterfaceName>; this was
6495 probably a cut-and-paste error.
6497 Implementations of new KeystrokeListener api (from spi.h,
6500 Changes to key modifier mapping.
6501 Created ControllerEventMask struct.
6502 Made DeviceEventController derive from Bonobo::Unknown.
6504 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6505 * libspi/deviceeventcontroller.c:
6506 Added a number of new internal (private) methods.
6507 * libspi/editabletext.c:
6508 * libspi/editabletext.h:
6509 Fixed a number of bugs related to the fact that
6510 editabletext inherits from text. Fixed the EditableText struct,
6511 the init() call, and use correct casts when calling Text methods
6512 from an EditableText object. Removed (duplicate) atko from the
6513 EditableText structure, we use the one in the parent Text
6514 structure via the casts mentioned above.
6515 * libspi/keystrokelistener.[ch]:
6516 * libspi/registry.c:
6517 Changes in support of keyboard handling (above).
6519 Keyboard handling, though partly functional, is still not
6520 recommended for at-spi client use as there is considerable
6521 work yet to be done.
6524 Changed some places where pointers to various int types
6525 are cast to be pointers to CORBA_long types and vice-versa:
6526 pointer casting is not safe so we pass pointers of the correct
6527 types and then cast the result before putting it into the target
6530 * libspi/text.h: minor typos corrected.
6532 We now speak not only the name of a Text element, but the
6533 first sentence of its content, when it receives focus.
6534 I also changed the text compression to 75% from 50%.
6535 * util/Accessibility_Util.server.in:
6536 Changed the default magnifier type to be a 3x vertical
6537 splitscreen magnifier (was previously a 2x horizontal one).
6539 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6541 * libspi/keystrokelistener.h:
6542 * libspi/keystrokelistener.c:
6543 Initial functional implementations of KeystrokeListener.
6546 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6548 Fixed string handling for NULL strings in libspi.
6549 Added spi_freeString to free strings returned by C bindings.
6551 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6553 * libspi/keystrokelistener.h:
6554 * libspi/keystrokelistener.c:
6555 Began (no-op) implementations of KeystrokeListener
6557 * libspi/deviceeventcontroller.c:
6558 * libspi/deviceeventcontroller.h:
6559 Began creating implementations of DeviceEventController,
6560 to handle keystroke and mouse event listening and
6562 * libspi/accessible.c:
6563 Stubbed-in the implementations for
6564 Accessibility_Accessible_getState and
6565 Accessibility_Accessible_getRelationSet.
6566 * libspi/registry.c:
6567 Improved de-registration process and fixed some bugs,
6568 deregistration now works correctly.
6570 Added initialization of applications list (to NULL).
6572 Reduced speech compression from 0.5 to 0.7, for demo.
6573 Changed call to gdk_window_set_decorations()
6574 to gtk_window_set_decorated().
6575 * at-bridge/bridge.c:
6576 Bridge now deregisters when app exits, via
6577 registration of a cleanup function
6578 with the g_atexit() call.
6579 Required making 'app' static, renamed 'this_app'.
6580 Fixed broken use of bonobo_init, passing argv wrongly.
6582 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6586 Created a new directory for
6587 accessibility-related utilities, primarily for
6588 testing and demo purposes, but with possible
6595 Onscreen magnifier utility that
6596 is implemented as a bonobo service.
6598 * util/mag_client.c:
6599 * util/mag_client.h:
6600 Client-side support (simple C bindings)
6601 for Magnification service
6603 * util/mag_control.c:
6604 Client program example for
6605 Magnification service
6607 * util/Accessibility_Magnifier.server.in:
6608 Bonobo-activation file for the
6609 Magnification service.
6612 * util/idl/Magnifier.idl:
6613 IDL defining the bonobo Magnification
6617 Modifications to use the bonobo-activated magnifier
6618 above, in place of trying to connect to an existing
6619 magnifier that uses socket-listening IPC.
6621 If env variable MAGNIFIER is set, a magnifier service
6622 will be started if one does not exist.
6624 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6626 * at-bridge/bridge.c:
6627 applied patch from Marc to build and run
6628 against new glib and gtk+ (seemed like a change
6629 to bonobo_init signature was made ?)
6631 made festival-server support turned off by default.
6632 Added support for a simple magnifier (off by default)
6633 which will be added to a 'util' directory later.
6634 * at-bridge/Makefile.am:
6635 Changed "application.h" header from a 'source'
6636 to a 'dependency' of libat-bridge.
6638 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6647 Added interface implementation c files to list of
6648 includes so they are included in libcspi.
6651 Changed prototype of AccessibleAction_doAction to return a
6653 Changed prototype of AccessibleTable_getCaption to
6654 return an Accessible.
6655 Changed prototype of AccessibleTable_getSelectedRows
6656 and AccessibleTable_getSelectedColumns to
6657 return a long (returns the number of selected rows
6658 or columns respectively).
6659 Changed name of AccessibleText_refRunAttributes to
6660 AccessibleText_getAttributes.
6661 Changed prototype of AccessibleText_getCharacterExtents to
6662 return a void rather than a boolean.
6663 Added support for a AccessibleCoordType parameter
6664 specifying what type of coordinates are desired.
6665 Added an AccessibleCordType parameter to
6666 AccessibleText_getPointAtOffset.
6668 * cspi/spi_accessible.c:
6669 Added code to return the outstanding interfaces from
6670 Accessible_queryInterface.
6672 * cspi/spi_action.c:
6674 Corrected call to getNActions to call the c binding
6677 * cspi/spi_editabletext.c:
6679 Changed name from setRunAttributes to setAttributes.
6681 * cspi/spi_hyperlink.c:
6683 Changed call to getNAnchors to correctly call the c
6684 binding for an attribute.
6686 * cspi/spi_hypertext.c:
6688 Changed getImageDescription to correctly call the
6689 binding for an attribute.
6691 * cspi/spi_selection.c:
6692 Changed getNSelectedChildren to correctly call the c
6693 binding for the attribute.
6694 Changed refSelectedChild to getSelectedChild.
6698 Changed getCaption to return an Accessible.
6699 Fixed calls which retrieve attributes.
6700 Changed refAt to getAccessibleAt.
6701 Changed getNSelectedRows and getNSelectedColumns to
6705 Changed getCharacterExtents and getPointAtOffset to accept an
6706 AccessibleCoordType.
6708 Changed calls which retrieve attributes.
6709 Changed refRunAttributes to getAttributes.
6714 * idl/Hyperlink.idl:
6715 Changed n_anchors attribute to nAnchors to keep naming
6716 convention consistent.
6719 Made Table inherit from Bonobo::Unknown.
6720 Added nSelectedColumns and nSelectedRows attributes.
6723 Made Value inherit from Bonobo::Unknown.
6725 * libspi/hyperlink.c:
6726 Change for nAnchors attributte name change.
6728 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6736 Added interface implementation c files to list of
6737 includes so they are included in libcspi.
6740 Changed prototype of AccessibleAction_doAction to return a
6742 Changed prototype of AccessibleTable_getCaption to
6743 return an Accessible.
6744 Changed prototype of AccessibleTable_getSelectedRows
6745 and AccessibleTable_getSelectedColumns to
6746 return a long (returns the number of selected rows
6747 or columns respectively).
6748 Changed name of AccessibleText_refRunAttributes to
6749 AccessibleText_getAttributes.
6750 Changed prototype of AccessibleText_getCharacterExtents to
6751 return a void rather than a boolean.
6752 Added support for a AccessibleCoordType parameter
6753 specifying what type of coordinates are desired.
6754 Added an AccessibleCordType parameter to
6755 AccessibleText_getPointAtOffset.
6757 * cspi/spi_accessible.c:
6758 Added code to return the outstanding interfaces from
6759 Accessible_queryInterface.
6761 * cspi/spi_action.c:
6763 Corrected call to getNActions to call the c binding
6766 * cspi/spi_editabletext.c:
6768 Changed name from setRunAttributes to setAttributes.
6770 * cspi/spi_hyperlink.c:
6772 Changed call to getNAnchors to correctly call the c
6773 binding for an attribute.
6775 * cspi/spi_hypertext.c:
6777 Changed getImageDescription to correctly call the
6778 binding for an attribute.
6780 * cspi/spi_selection.c:
6781 Changed getNSelectedChildren to correctly call the c
6782 binding for the attribute.
6783 Changed refSelectedChild to getSelectedChild.
6787 Changed getCaption to return an Accessible.
6788 Fixed calls which retrieve attributes.
6789 Changed refAt to getAccessibleAt.
6790 Changed getNSelectedRows and getNSelectedColumns to
6794 Changed getCharacterExtents and getPointAtOffset to accept an
6795 AccessibleCoordType.
6797 Changed calls which retrieve attributes.
6798 Changed refRunAttributes to getAttributes.
6803 * idl/Hyperlink.idl:
6804 Changed n_anchors attribute to nAnchors to keep naming
6805 convention consistent.
6808 Made Table inherit from Bonobo::Unknown.
6809 Added nSelectedColumns and nSelectedRows attributes.
6812 Made Value inherit from Bonobo::Unknown.
6814 * libspi/hyperlink.c:
6815 Change for nAnchors attributte name change.
6818 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6820 implementations-- made server implementations own AtkObject pointers
6821 rather than their respective AtkInterrface pointers to fix
6822 refcounting. AtkHyperlink is still broken.
6824 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6825 * cspi/spi_accessible.c:
6826 Added method Accessible_Role_getName(),
6827 and requisite string array (role_names).
6828 Added conversion string_from_corba_strin() call
6829 to Accessible_getName and _getDescription.
6830 * libspi/accessible.c:
6831 Added implementation for Accessible_getRole()
6833 Added festival support, used if environment variable
6836 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6838 * at-bridge/bridge.c:
6839 Now allocate Accessibility_Event using
6840 Accessibility_Event__alloc() instead of g_new0().
6841 * libspi/accessibleeventlistener.c:
6842 Initialize AccessibleEventListener->callbacks to NULL.
6843 Fixed accessible__event_listener_init() param, changed to
6844 "AccessibleEventListener *" type.
6845 Changed a bonobo_object_release_unref() call to
6846 Accessibility_Accessible_unref().
6847 * libspi/listener.c:
6848 Changed Bonobo_Unknown_unref to (equivalent)
6849 Accessibility_Accessible_unref.
6850 * libspi/registry.c:
6851 Changed bonobo_object_release_unref to
6852 Accessibility_Accessible_unref.
6854 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6857 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6858 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6859 spi-util.c spi-util.h
6860 Implementations for C bindings to remaining accessibility
6863 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6866 changed return value of Action from void to boolean to
6867 bring in line with ATK.
6870 Changed getText funcions to return "out" start and end offsets.
6871 Changed getAttributes to take and offset and return the start
6872 and end offset of the attribute run.
6873 Changed getOffsetAtPoint and getCharacterExtents to take an
6874 enum describing whether coordinates are window or screen.
6877 libspi/action.c libspi/action.h libspi/editabletext.c
6878 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6879 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6880 libspi/image.h libspi/selection.c libspi/selection.h
6881 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6882 libspi/value.c libspi/value.h
6883 Added server implementations for outstanding ATK interfaces
6884 not yet implemented.
6886 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6889 Added (missing) getName() method.
6890 Made nActions an attribute.
6891 * idl/EditableText.idl:
6892 Changed order of params in setAttributes.
6893 * idl/Hyperlink.idl:
6894 Removed getAnchor, added getURI.
6896 Changed attributes to methods, for efficiency
6897 (so that getting extents can be done in one call)
6898 * idl/Selection.idl:
6899 Changed nSelectedChildren to attribute, and re-indented.
6900 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6902 * idl/Text.idl: reformatted to match our coding style.
6903 (temporarily?) removed getRowColumnAtOffset().
6904 Changed text selection API to support multi-select and
6905 non-contiguous selections, as in ATK.
6906 * idl/Value.idl: changed some methods to attributes.
6908 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6910 * libspi/listener.c(impl_notify_event):
6911 BonoboUnkown_unref the source instead
6912 of bonobo_object_release_unref - the ORB
6913 handles the releasing.
6915 * configure.in: require ORBit-2.3.94 for
6918 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6920 Tagged CVS repository 'EA_1_0'.
6921 * README.EARLY_ACCESS:
6922 Alphabetized acknowledgements list, and
6924 Listed some known dependencies of at-spi.
6926 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6928 * docs/at-spi-docs.sgml:
6929 * docs/at-spi-sections.txt:
6930 * docs/at-spi-overrides.txt: (Added zero-length file)
6931 Documentation improvements - gtk-doc should build
6932 docs for all implemented C bindings now.
6935 * cspi/spi.c: (New file)
6936 * cspi/spi_event.c: (New file)
6937 * cspi/spi_registry.c: (New file)
6938 * cspi/spi_accessible.c: (New file)
6939 * cspi/spi_application.c: (New file)
6940 * cspi/spi_component.c: (New file)
6941 Split spi_main.c into six parts, and included them from
6942 "spi.c". This is a bit of a hack, probably temporary,
6943 but required by gtk-doc, apparently.
6945 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6948 * docs/at-spi-docs.sgml:
6949 * docs/at-spi-sections.txt:
6951 Initial checkins/modifications for gtk-doc generation.
6954 Added (missing) interface query methods to Accessible's C binding.
6956 Added GenericInterface type definition.
6958 Added query for AccessibleComponent interface to focus event handler.
6959 Added printout of bounding box for focussed component.
6960 * libspi/component.c:
6961 Added partial implementation for AccessibleComponent to C binding.
6962 * idl/Application.idl:
6963 * libspi/registry.c:
6964 * libspi/listener.c:
6965 * libspi/application.c:
6966 * libspi/application.h:
6967 Changed "ID" attribute type from string to long.
6969 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6973 Made method naming consistent: methods taking object args
6974 start with uppercase, other methods (except those using
6975 acronyms) start with lowercase. Underscores delimit between
6976 object names and method names:
6977 SPI_init() - uppercase since it starts with an acronym.
6978 getDesktopCount () - lowercase start since no object param0.
6979 Accessible_getName() - uppercase object type name, studlyCaps method
6983 Added gtk-doc documentation for all currently implemented
6984 methods in the C bindings API.
6986 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6988 * Makefile.am : changed build order to build test last.
6991 Changed "createEventListener" to "CreateEventListener".
6992 * libspi/accessibleeventlistener.c :
6993 Bugfix for addition of callbacks.
6994 * test/Makefile.am :
6995 * test/simple-at.c :
6996 Added new test that uses the C bindings API.
6998 * libspi/listener.c :
6999 * libspi/registry.c :
7000 * libspi/accessibleeventlistener.c :
7001 * at-bridge/bridge.c :
7002 Renamed member "target" of Accessibility_Event to "source",
7003 which is more descriptive.
7006 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7010 * cspi/Makefile.am :
7011 Added makefile support for at-spi/cspi directory.
7014 * cspi/spi-listener.h : (NEW FILE)
7015 Added support for/use of spi-listener.h.
7017 C bindings now build successfully, with no warnings.
7018 * libspi/accessibleeventlistener.h : (NEW FILE)
7019 * libspi/accessibleeventlistener.c : (NEW FILE)
7020 * libspi/Makefile.am :
7021 Added new object type "AccessibleEventListener"
7022 which inherits from Listener, and allows attachment
7023 of in-process callbacks (so that a client with a listening
7024 object instance can add functionality to the local
7025 implementation, dynamically).
7027 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7029 * libspi/accessible.c:
7030 Add implementation for get_index_in_parent().
7032 Added #include of "spi-roletypes.h", and
7033 added enumerated type AccessibleCoordType.
7034 Added definition for KeystrokeListener (function type).
7037 * cspi/spi-statetypes.h :
7038 * cspi/spi-roletypes.h :
7040 Added these headers, used by spi.h.
7042 Added code (NOTE: not yet built by make).
7044 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7046 * libspi/Makefile.am: generate imodule
7047 at the same time as other idl compiler
7050 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7051 * libspi/registry.c :
7052 * libspi/application.c :
7053 * idl/Application.idl :
7054 Made registration with toolkit an application method,
7055 which is required since each app has its own toolkit static
7056 environment. Thus the bridge must register for
7057 notification of toolkit events from each application in turn.
7058 Toolkit notifications are now successfully registered for, and
7059 sent to the listening at client.
7061 Changed toolkit event string to use hyphens rather than underscores.
7062 * libspi/listener.c :
7063 listner now gives more info in debug mode - it reports the
7064 name of the event received, as well as the name of the source.
7067 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7069 * libspi/registry.c :
7070 added more implementation for toolkit events.
7071 Fixed bug such that toolkit event registrations
7072 (via atk) use the whole event name string, not
7074 Removed a useless call to an ORBit_ method.
7075 * at-bridge/bridge.c :
7076 Removed unused local sbuf[] variable.
7078 We now register for Gtk:GtkWidget:button_press_event
7079 events as well as "focus:" events.
7081 Add some more API from Registry.idl that was missing,
7082 for keystroke listening, keystroke and mouse event
7083 synthesis, and enumeration of accessible desktops.
7085 2001-08-16 Michael Meeks <michael@ximian.com>
7087 * configure.in: use AM_GLIB_GNU_GETTEXT.
7089 * Makefile.am (SUBDIRS): kill intl.
7091 2001-08-15 Michael Meeks <michael@ximian.com>
7093 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7095 * configure.in: upd.
7097 * configure.in: depend on a recent bonobo-activation that
7098 will find our server files ...
7100 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7102 * libspi/accessible.c : accessible_new() :
7103 Now we add the Component interface via bonobo_object_add_interface,
7104 if the contained AtkObject implements AtkComponent.
7105 * libspi/accessible.h : now include "component.h"
7106 * libspi/component.h :
7107 * libspi/component.c : added files - implementation of
7108 bonobo wrapper object for Accessibility/Component
7109 * libspi/listener.c :
7110 Added test code to check for Accessibility/Component:1.0
7111 interface and report whether it is implemented by the
7113 * libspi/registry.c :
7114 Now we check for not only the hash of the whole event
7115 string before relaying the event, we also check the
7116 "minor" event string (without the detail string).
7117 This allows event listeners to be registered against
7118 all events of a certain major+minor type, or just
7119 against a specific major+minor+detail type.
7120 * libspi/accessible.c :
7121 Added implementations for Accessible:get_parent(),
7122 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7123 * libspi/registry.c :
7124 * libspi/listener.c :
7125 Replaced calls to Accessibility_Accessible_ref() and
7126 Accessibility_Accessible_unref() with
7127 calls to bonobo_object_dup_ref() and
7128 bonobo_object_release_unref(), so that the CORBA object
7129 is dup-ed and released when relayed, as well as the bonobo object.
7131 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7133 * libspi/Makefile.am,
7134 registryd/Makefile.am,
7135 at-bridge/Makefile.am.
7136 test/Makefile.am, configure.in:
7137 reverse previous changes.
7139 * /idl/Image.idl: fix typo.
7141 * test/Makefile.am: put DEBUG_FLAGS
7144 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7146 * test/app.c: use argv[0] instead of
7149 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7151 * libspi/Makefile.am,
7152 registryd/Makefile.am,
7153 at-bridge/Makefile.am.
7154 test/Makefile.am, configure.in:
7155 cleanup, replace individual LIBS/CFLAGS with
7156 AT_COMMON_{LIBS|CFLAGS}.
7160 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7162 * configure.in, libspi/Makefile.am:
7163 Change IDL path checking for bonobo-activation
7166 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7168 * registryd/registry.c : separated event listeners to use
7169 3 separate lists (focus, window, toolkit). Began testing
7170 event names against hashes before relaying events.
7171 * test/at.c : now register for events of type "focus:"
7172 * test/app.c : now generate events of type "focus:"
7173 * at-bridge/bridge.c : register with ATK for focus events,
7174 and we now relay those focus events to any "focus:" listeners.
7175 This now works with the bridge as a GTK_MODULE when running test/at.
7176 * libspi/registry.c :
7177 * libspi/listener.c :
7178 now we ref event sources before propagating, and unref on receipt.
7179 * libspi/registry.c :
7180 some changes to internal structs, to support event typestring hashes.
7181 * text/app.c : changed the way the appname is generated.
7182 * cspi : added directory that will hold the C bindings library for
7183 non-CORBA/bonobo-savvy clients.
7184 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7185 * idl/Component.idl : added in parameter to indicate coord system for
7186 geometry-related calls.
7187 * idl/Hyperlink.idl : added readonly n_links attribute
7188 * idl/Image.idl : changed methods to attributes.
7190 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7192 * at-bridge/Makefile.am: link against
7193 ../libspi/libspi.la instead of -lspi.
7195 * at-spi/test/app.c: include
7196 bonobo-activation.h. Use a default appname
7197 if one is not provided.
7199 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7201 * idl/Registry.idl : temporarily changed register_Application
7202 to oneway, to work around issue with initial registration
7204 * idl/Application.idl : changed attribute "id" from readonly
7205 to read-write, since it needs to be assigned by Registry.
7206 * registryd/registryd.c : added call to set application id
7208 * registryd/registry.c : changed de-registration procedure to
7209 use CORBA_Object_hash() to find matching object ref in application
7210 lists and listener lists.
7211 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7212 began distinguishing between event types (work in progress).
7214 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7217 * libspi/application.c:
7218 Added implementations for get/set id, get_toolkitName,
7220 * registryd/registryd.c :
7224 Converted from use of OAF to bonobo-activation.
7225 * libspi/desktop.h :
7226 * libspi/desktop.c :
7228 Removed references to atksimpleobject, since base atkobject
7229 implementation now provides functionality we need.
7230 * libspi/atksimpleobject.c :
7231 * libspi/atksimpleobject.h :
7236 * at-bridge/Makefile.am
7237 * at-bridge/bridge.c
7240 Added directory "bridge" and contents, and added dependencies
7241 in Makefile.am/configure.in.
7242 Initial checkin of "at-bridge".
7243 This code is a GTK_MODULE which automatically registers
7244 GTK+ apps with the accessibility registry, using an object
7245 reference to the root ATK object.
7247 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7249 * po/Makefile.in.in: Remove. Again. If this
7250 doesn't get autogenerated - you need to update
7253 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7255 * po/Makefile.in.in: Add. Again.
7257 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7259 * libspi/accessible.c : added support for 'description' property.
7260 * libspi/accessible.c
7262 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7263 (since the two are now equivalent in libbonobo)
7271 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7272 Bonobo::Unknown as does Accessibility::Accessible.
7273 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7274 interface with Bonobo::Stream, since it was redundant with it.
7275 (The Stream returned by a StreamableContext object is expected to
7276 implement only a subset of Bonobo::Stream)
7278 2001-07-28 Anders Carlsson <andersca@gnome.org>
7280 * libspi/accessible.c (accessible_object_finalize): Change
7281 g_free to g_object_unref since the AtkObject is a GObject.
7283 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7285 * idl/Accessibility.idl: add new IDL files
7288 * idl/Action.idl: Definitions of actionable UI object
7289 * idl/Component.idl: Definitions of UI component geometry, etc.
7290 * idl/Hyperlink.idl: Defs of hyperlink behavior
7291 * idl/Image.idl: Def of accessible image
7292 * idl/Selection.idl: Definition of UI object with selectable children
7293 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7294 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7295 * idl/Text.idl: Interface defs for UI elements with complex textual content
7296 * idl/Value.idl: Definition of UI element that is a value controller or display
7298 2001-07-27 Michael Meeks <michael@ximian.com>
7300 * po/Makefile.in.in: remove autogenerated file from CVS.
7302 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7305 * idl/Registry.idl: include guard.
7307 * idl/Accessibility.idl: Add, and include all the other IDL
7310 * idl/*.idl: remove mass of pragmas etc.
7312 2001-07-26 Michael Meeks <michael@ximian.com>
7314 * registryd/Makefile.am (registryd_SOURCES): remove
7317 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7319 * libspi/.cvsignore, registryd/.cvsignore,
7320 test/.cvsignore: updated.
7322 * po/Makefile.in.in: gettext update.
7324 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7326 * initial CVS checkin
7328 2001-06-29 Michael Meeks <michael@ximian.com>
7330 * configure.in: add AM_CONFIG_HEADER to gen config.h