1 2006-01-09 Bill Haneman <billh@gnome.org>
3 * configure.in: Removed po/Makefile.in inclusion, we do not need
6 * idl/Accessibility.idl: Improved documentation here, and for all
7 IDL in the 'GNOME::Accessibility' namespace.
9 * idl/Accessibility_Accessible.idl:
10 (LOCALE_TYPE): Added enum.
11 (AttributeSet): New, for returning multiple name/value attribute pairs.
12 (RoleSet): New, sequence of Roles, to be used in upcoming
14 (getAttributes): New API, allows retrieval of name/value pair
15 annotations for all kinds of Accessible objects. C.f.
16 Text:getAttributes, which is only for typographic/textual/semantic tags in
18 (getApplication): New, retrieves the host/containing Application
19 instance for an object (without having to walk up the whole tree).
21 * idl/Accessibility_Component.idl:
22 (getAlpha): New method, returns the alpha blending (aka 'opacity')
23 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
26 * idl/Accessibility_Event.idl:
27 (EventDetails): New struct definition, for encapsulating
28 commonly-queried information about emitted events. The use of
29 this structure in emitted events (in the 'any' member of
30 Accessibility_Event) should greatly reduce the number of
31 client-server roundtrips necessary.
33 * idl/Accessibility_Image.idl:
34 (imageLocale): New, a readonly attribute indicating the POSIX
35 LC_MESSAGES locale of the image and associated Alt/descriptive
38 * idl/Accessibility_Relation.idl:
39 (RELATION_PARENT_WINDOW_OF): Include, as complement to
42 * idl/Accessibility_Role.idl:
43 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
44 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
45 complex document and form support.
47 * idl/Accessibility_State.idl:
48 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
49 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
50 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
51 for support of complex documents and forms.
53 * idl/Accessibility_StreamableContent.idl:
54 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
55 allow old bonobo-stream interfaces to be deprecated in the next
58 * idl/Accessibility_Text.idl:
59 (getAttributeValue): New method, allows query-by-name of single
62 * libspi/accessible.c:
63 Added support for new roles. Implemented new methods
64 (impl_accessibility_accessible_get_application): New
65 (impl_accessibility_accessible_get_attributes): New
68 (impl_accessibility_component_get_alpha): New.
71 (impl_accessibility_image_get_locale): New.
73 * libspi/relation.c: Added support for new relation type.
75 * libspi/stateset.c: Added support for new state types.
78 (impl_getAttributeValue): New.
81 New prototypes for private methods
83 spi_init_any_object, spi_init_any_string,
87 Use EventDetails in the event emission methods.
90 (cspi_role_from_spi_role): Expose this adapter method, since
91 we need it in the bridge (see below).
94 (AccessibleEvent_getSourceName):
95 (AccessibleEvent_getSourceRole):
96 (AccessibleEvent_getSourceApplication):
97 (AccessibleEvent_getSourceDetails):
98 New methods for interrogating/demarshalling
99 event details (i.e. source's accessible name, role,
102 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
103 Make use of the new EventDetails struct in events, if present.
104 (AccessibleEvent_getSourceName)
105 (AccessibleEvent_getSourceRole)
106 (AccessibleEvent_getSourceApplication)
107 (AccessibleEvent_getSourceDetails): Implement the newly exposed
109 (Accessible_getAttributes): New, wraps
110 Accessibility_Accessible_getAttributes.
111 (Accessible_getHostApplication): New, wraps
112 Accessibility_Accessible_getApplication.
115 (AccessibleImage_getImageLocale): New wrapper for
116 Accessibility_Image_get_imageLocale.
118 * cspi/spi_component.c:
119 (AccessibleComponent_getAlpha): New wrapper for
120 Accessibility_Component_getAlpha.
122 * atk-bridge/bridge.c:
123 Use new prototyped for init_any methods.
124 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
125 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
126 (spi_atk_bridge_init_base): Wrappers
127 for spi_init_any_* methods, due to refactor; include extended
128 information in the Accessibility_EventDetails struct, for instance
129 accessible-name, Role, and containing Application.
131 * registryd/registry.c:
132 Use new event emission (with EventDetails).
134 * registryd/deviceeventcontroller.c:
135 Use new event emission (with EventDetails).
137 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
139 * configure.in: Generate po/Makefile.in
140 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
141 * cspi/spi_streamablecontent.c:
142 (accessible_bonobo_stream_client_seek),
143 (AccessibleStreamableContent_seek): Remove unused vars.
144 * libspi/application.c: Missing header.
145 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
146 * login-helper/login-helper.c: (login_helper_finalize),
147 (login_helper_init): Remove unused stuff
148 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
149 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
150 and surround some with #ifdef GRAB_BUTTON.
151 * test/event-listener-test.c: (main), (report_event),
152 (report_caret_event), (report_detail_event),
153 (report_detail1_event), (report_bounds_event), (report_text_event),
154 (report_text_selection_event),
155 (report_active_descendant_changed_event),
156 (report_children_changed_event), (report_name_changed_event),
157 (report_description_changed_event), (report_parent_changed_event),
158 (report_window_event), (report_table_summary_event),
159 (report_table_header_event), (report_table_caption_event),
160 (report_table_row_description_event),
161 (report_table_column_description_event), (timing_test_event):
162 Remove a bunch of unused variables and fix a slew of format specifiers
163 * test/key-listener-test.c: (report_all_key_event): Format specifier
164 * test/keypad-test.c: (print_key_event): Same
165 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
167 * test/screen-review-test.c: (main), (print_chunk_debug),
168 (review_buffer_get_text_chunk), (debug_chunk_list),
169 (string_guess_clip), (text_chunk_get_clipped_string),
170 (text_chunk_list_to_string), (get_screen_review_line_at):
171 Remove unused variables and fix format specifiers.
172 * test/simple-at.c: (report_text_event): Format specifier fix.
173 * test/stress-test.c: (main): Remove unused var.
175 2005-12-29 Abel Cheung <maddog@linuxhall.org>
177 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
178 (yes I know that's useless)
180 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
182 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
184 2005-11-17 Michael Meeks <michael.meeks@novell.com>
186 * atk-bridge/bridge.c (spi_atk_emit_eventv):
187 urgh-fix embarassing typo.
189 2005-11-16 Michael Meeks <michael.meeks@novell.com>
191 * atk-bridge/bridge.c (spi_atk_emit_eventv):
192 do a faster, less problematic _unref call on this local
193 object, rather than a slower (potentially cross-thread
194 complicated) CORBA call.
196 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
198 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
199 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
200 * registryd/deviceeventcontroller.c:
201 (spi_controller_notify_mouselisteners),
202 (impl_generate_keyboard_event):
203 * test/screen-review-test.c: (chunk_bounds_within):
204 * test/test-simple.c: (test_desktop): Remove some unused code
205 and fix compiler warnings. Closes bug #320049.
207 2005-10-27 Bill Haneman <bill.haneman@sun.com>
209 * registryd/deviceeventcontroller.c:
210 (spi_controller_notify_keylisteners): Check
211 to make sure the event listener has requested 'preemptive'
212 status before pre-empting an event.
214 2005-08-29 Bill Haneman <bill.haneman@sun.com>
216 * configure.in, README, NEWS: Release 1.6.5.
218 2005-07-25 Matthias Clasen <mclasen@redhat.com>
220 * test/window-listener-test.c: Fix a printf
221 format error. (#169453)
223 2005-07-15 Bill Haneman <bill.haneman@sun.com>
225 * tests/test-simple.c:
226 (key_listener_cb): Ensure that the keystring is dup'ed instead of
227 relying on the old string from the key event hanging around after
228 the event handler returns. Fixes broken 'make check'.
230 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
232 * Added Marathi (mr_IN) translations.
234 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
236 * cspi/bonobo/cspi-bonobo-listener.c:
237 (cspi_event_list_remove_by_cb): Fix the build.
239 2005-05-26 Michael Meeks <michael.meeks@novell.com>
241 * cspi/bonobo/cspi-bonobo-listener.c
242 (cspi_event_list_remove_by_cb): actually filter by callback.
244 2005-05-25 Bill Haneman <bill.haneman@sun.com>
246 * registryd/registry.c (remove_listener_cb):
247 Make deregistration filter rules match the event emission rules.
249 2005-05-25 Michael Meeks <michael.meeks@novell.com>
251 * registryd/registry.c (remove_listener_cb),
252 (impl_accessibility_registry_deregister_global_event_listener),
253 (impl_accessibility_registry_deregister_global_event_listener_all):
254 pass a closure to the remove callback to filter listeners more
255 accurately on remove.
257 2005-04-05 Bill Haneman <bill.haneman@sun.com>
259 * configure.in: Revved to 1.6.4.
260 Remember to put quotes around XEVIE_LIBS assignment.
261 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
264 * tests/event-listener-test.c: Tweaked the tests - more detail
265 from caret events, and some interrogation of AccessibleText APIs.
266 Commented-out the bounds-changed events by default, since they can
269 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
271 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
272 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
273 Same here. Closes bug #167806
275 2005-04-05 Bill Haneman <bill.haneman@sun.com>
277 * atk-bridge/bridge.c:
278 (spi_atk_bridge_signal_listener):
279 Free the any._value if any._release is TRUE,
280 since the ORB won't do it for us in this case
281 [because this method is not a skel].
284 2005-03-30 Steve Murphy <murf@e-tools.com>
286 * configure.in: Added "rw" to ALL_LINGUAS.
288 2005-03-29 Bill Haneman <bill.haneman@sun.com>
290 * configure.in: Improved check for HAVE_XEVIE, to detect
291 presence on XOrg, where -lXevie is a separate library.
293 2005-03-08 Bill Haneman <bill.haneman@sun.com>
295 * configure.in, NEWS, README: Revved to 1.6.3.
297 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
299 * configure.in: Added "xh" to ALL_LINGUAS.
301 2005-02-07 Bill Haneman <bill.haneman@sun.com>
303 * atk-bridge/bridge.c:
304 (atk_bridge_init): Added missing NULL in g_strconcat(),
305 also check for symlink before logging to
306 insecure directory. Thanks to meissner@suse.de.
308 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
310 * tests/login-helper-server-test.c: Add return call to main
311 function. Patch from Chris Lahey. Fixes bug #165129.
313 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
315 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
317 2004-12-09 Bill Haneman <billh@gnome.org>
319 * registryd/registry-main.c:
320 Added #define <string.h> for strrchr. (bug 160862).
321 Thanks to Vincent Berger for catching.
323 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
325 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
326 restart registry process if the registry process is found to have died
327 and the current process is exiting.
328 (spi_atk_bridge_exit_func): Do not attempt to deregister the
329 application if the registry process has died.
330 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
331 does not return a registry object.
332 (spi_atk_tidy_windows): Give up if the registry process has died.
334 This fixes problems with hangs and crashes when logging out.
336 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
338 * registryd/desktop.c: Add checking that we are not exiting before
339 calling spi_desktop_remove_application in
340 abnormal_application_termination. Fix for bug #152147.
342 2004-12-02 Bill Haneman <billh@gnome.org>
344 * configure.in, NEWS, README: Revved to 1.6.1.
346 Patch from Padraig O'Briain <padraig.obriain@sun.com>
347 * atk-bridge/bridge.c:
348 (atk_bridge_init): Save the pid when we start, to detect forks.
349 (spi_atk_bridge_exit_func): Don't call the cleanup routines
350 if we're in a forked pid.
352 2004-10-09 Bill Haneman <billh@gnome.org>
354 * idl/Accessibility_LoginHelper.idl:
355 Improved inline documentation.
357 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
359 * configure.in: Added gl (Galician) to ALL_LINGUAS
361 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
363 * libspi/accessible.c:
364 (impl_accessibility_accessible_get_role_name),
365 (impl_accessibility_accessible_get_local_role_name):
367 * libspi/component.c:
368 (impl_accessibility_component_get_accessible_at_point):
370 * libspi/eventlistener.c: (spi_event_listener_new):
372 * libspi/stateset.c: (impl_compare): More of the same
373 * libspi/table.c: (impl_getRowDescription): Again.
374 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
375 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
376 (impl_generate_keyboard_event): Same.
377 * registryd/registry-main.c: (main): Same
378 * test/event-listener-test.c: (test_exit): Same
379 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
380 * test/keysynth-test.c: (test_key_synthesis): Same
381 * test/login-helper-server-test.c: (main): Fix warning.
382 * test/screen-review-test.c: (test_exit): Fix include.
383 * test/simple-at.c: (simple_at_exit), (_festival_init):
386 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
388 * configure.in, NEWS, README: Revved to 1.6.0.
390 2004-09-12 Bill Haneman <bill.haneman@sun.com>
392 * configure.in: Rev and re-dist, since the 1.5.4 tarball
393 was missing the HTML docs.
395 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
397 * configure.in: only cleanups:
398 - better looking PKG_CHECK_MODULES() output,
400 - declare in one common place required versions of other tools using
403 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
405 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
406 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
407 required ATK version accordingly.
409 2004-09-03 Bill Haneman <bill.haneman@sun.com>
411 * cspi/bonobo/cspi-bonobo.c:
412 (cspi_display_name): Fix C99ism.
413 * atk-bridge/bridge.c:
414 (spi_display_name): Fix C99ism.
415 Patch from Jens Granseuer, jensgr@gmx.net.
417 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
419 * configure.in: Added "or" to ALL_LINGUAS.
421 2004-08-20 Bill Haneman <bill.haneman@sun.com>
423 * configure.in, NEWS, README: Revved to 1.5.4.
425 * registryd/registry-main.c:
426 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
429 * cspi/bonobo/cspi-bonobo.c:
430 (cspi_display_name): New convenience method, gets DISPLAY with
431 screen number stripped, if AT_SPI_DISPLAY isn't already set.
432 (cspi_init): Set the activation env value above before getting
435 * atk-bridge/bridge.c:
436 (spi_display_name): Create the AT_SPI_DISPLAY activation
437 environment for an app, based on the DISPLAY environment with the
438 screen number stripped off.
439 (atk_bridge_init): Allow redirection of error messages to a log.
440 (spi_atk_bridge_get_registry): Call
441 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
443 Fixes for bugs #149962, #136986, #144086.
445 2004-08-16 Christian Rose <menthos@menthos.com>
447 * configure.in: Added "bs" to ALL_LINGUAS.
449 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
451 * configure.in: Added nb to ALL_LINGUAS.
453 2004-09-03 Bill Haneman <bill.haneman@sun.com>
456 (SPI_init): Return error code '2' if the activated
457 registry cannot be pinged. Fixes bug #147648.
459 2004-07-28 Bill Haneman <bill.haneman@sun.com>
461 * registryd/deviceeventcontroller.c:
462 (spi_dec_init_mouse_listener): Don't do XGrabButton,
463 rely on timer-poll instead, to avoid conflict with
466 2004-07-20 Bill Haneman <bill.haneman@sun.com>
468 * configure.in: Revved to 1.5.3.
470 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
472 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
474 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
476 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
478 2004-06-11 Bill Haneman <bill.haneman@sun.com>
480 * atk-bridge/bridge.c:
481 (spi_atk_bridge_do_registration):
482 Register with ATK for AtkComponent:bounds-changed events.
483 (api_atk_bridge_signal_listener):
484 Marshal the AtkRectangle info into the event notification
485 for object:bounds-changed events.
488 (spi_init_any_rect): New method, inits a corba struct of
489 type Accessibility_BoundingBox from an AtkRectangle.
491 * libspi/spi-private.h: Declared spi_init_any_rect (above).
494 (SPIRect): New struct definition.
495 (SPI_freeRect): New declaration.
496 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
499 (AccessibleBoundsChangedEvent_getNewBounds): New method,
500 implemented. Gets the bounding box data from the CORBA_any
501 associated with a bounds-changed event notification.
502 (cspi_internal_event_get_rect): New, used internally by above method.
505 (SPI_freeRect): Implemented this new method, for freeing
508 * test/event-listener-test.c:
509 (main, report_bounds_event):
510 Added a test for object:bounds-changed events.
512 2004-06-01 Bill Haneman <bill.haneman@sun.com>
514 * test/login-helper-server-test.c:
515 (main): Fix C99-ism. Thanks to Jens Granseuer.
517 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
519 * libloginhelper-1.0.pc.in:
520 * idl/Accessibility_LoginHelper.idl:
521 * login-helper/Makefile.am:
522 * login-helper/login-helper.[ch]:
523 * test/login-helper-client-test.c:
524 * test/login-helper-server-test.c: Added files missing from CVS.
525 Files obtained from at-spi-1.5.2 tarball.
527 2004-05-27 Bill Haneman <bill.haneman@sun.com>
529 * configure.in: Create login-helper/Makefile.
530 Incremented micro version.
532 * Makefile.am: Add login-helper subdir and pkgconfig data.
534 * login-helper: New subdir.
536 * libloginhelper-1.0.pc.in: New.
538 * idl/Accessibility_LoginHelper.idl: New file, defines
539 interface whereby authentication clients can identify agents which
540 need access to services during the login process, e.g. screen lock
543 * login-helper/Makefile.am : New.
545 * login-helper/login-helper.[ch] : New, implementation of
546 a LoginHelper base class. Services needing LoginHelper can subclass.
548 * test/Makefile.am : Added test for login-helper, client and
551 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
552 Use proper prefix in #include files.
554 * test/login-helper-client-test.c: New.
556 * test/login-helper-server-test.c: New.
558 2004-05-27 Alexander Shopov <ash@contact.bg>
560 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
562 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
564 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
565 is positive. This should make it easier to detect inapprorpiate unref
568 2004-05-11 James Henstridge <james@daa.com.au>
570 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
571 no-op and deprecated.
573 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
575 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
577 2004-04-28 Bill Haneman <billh@gnome.org>
579 * Makefile.am: Added --enable-gtk-doc to
580 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
582 2004-04-19 Bill Haneman <billh@gnome.org>
584 * configure.in: Revved to 1.5.1.
586 * registryd/deviceeventcontroller.c:
588 (DEControllerPrivateData): Added fields for
589 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
590 (spi_dec_replace_map_keysym): New internal utility for
591 replacing a keysym in the keymap - used to allow
592 synthesis of individual characters which aren't in the
594 (spi_dec_reset_reserved): New; resets the changed keysym value
596 (keycode_for_keysym): We now try to deal with failed
597 XKeysymToKeycode requests by changing a keymap value
598 and returning a reserved keycode. We now take
599 a DEController pointer as first arg.
600 (spi_controller_register_with_devices): Call XkbGetMap with
601 the XkbKeySymsMask. Find the highest keycode in the current
602 keymap which doesn't have any grabs, and mark that one for
603 temporary re-mapping when out-of-range KeySyms are synthesized.
604 (dec_synth_keycode_press): Call XFlush after synthesizing the key
607 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
609 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
611 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
613 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
615 2004-03-24 Bill Haneman <billh@gnome.org>
618 (AccessibleTable_addRowSelection),
619 (AccessibleTable_addColumnSelection),
620 (AccessibleTable_removeRowSelection),
621 (AccessibleTable_removeColumnSelection):
622 Add declarations for spi wrappers which were
623 inadvertantly omitted. Fixes bug #133413.
626 Revved to 1.5.0 (unstable series for GNOME 2.7).
628 2004-03-24 Bill Haneman <billh@gnome.org>
630 * atk-bridge/bridge.c:
631 Bracketed some debug output in
632 conditionals, to avoid printing it in normal use.
635 * libspi/hyperlink.c:
636 Don't cast 'object' to ATK_OBJECT when constructing
637 an AtkAction interface for a hyperlink.
638 See discussion in bug #120659.
640 * test/key-listener-test.c:
641 (report_all_key_event): Send output to stderr,
642 not stdout, for consistency with the rest of the test callbacks.
645 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
646 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
647 Incremented to 1.4.1 (but didn't dist yet - I'm going to
648 try incrementing the revision AFTER doing a dist, at least
651 2004-03-22 Bill Haneman <billh@gnome.org>
653 * configure.in: Revved to 1.4.0, libtool 9.14.9
655 2004-03-17 Laszlo Peter <laca@sun.com>
657 * libspi-1.0-uninstalled.pc.in: add idldir
659 * cspi-1.0-uninstalled.pc.in: add idldir
661 2004-03-16 Gareth Owen <gowen72@yahoo.com>
663 * configure.in: Added "en_GB" to ALL_LINGUAS
665 2004-03-15 Bill Haneman <billh@gnome.org>
667 * configure.in: Revved to 1.3.16,
670 2004-03-15 Laszlo Peter <laca@sun.com>
672 * libspi-1.0-uninstalled.pc.in: new file
674 * cspi-1.0-uninstalled.pc.in: new file
676 * configure.in: add the new pc files to AC_OUTPUT
678 * Makefile.am: add the new pc files to EXTRA_DIST
680 2004-03-12 Bill Haneman <billh@gnome.org>
682 * atk-bridge/bridge.c:
683 (spi_atk_bridge_key_listener):
684 Make sure to return consumed=FALSE if snoop
685 event is not dispatched to listener.
688 2004-03-01 Bill Haneman <billh@gnome.org>
690 * configure.in: Revved to 1.3.15,
693 2004-03-07 Danilo Segan <dsegan@gmx.net>
695 * configure.in: Added "sr@ije" to ALL_LINGUAS.
697 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
699 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
701 2004-03-01 Bill Haneman <billh@gnome.org>
703 * configure.in: Revved to 1.3.14.
706 (SPI_exit): Removed "bye-bye" exit message.
707 Moved "leak" report to happen before the
708 iteration over the leaked refs list.
709 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
711 2004-02-24 Bill Haneman <billh@gnome.org>
713 * configure.in: Revved to 1.3.13.
715 * docs/reference/cspi/Makefile.am:
716 Correct typo that was breaking the docs build.
718 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
720 * autogen.sh: Require version 1.7 of automake.
722 * configure.in: call GTK_DOC_CHECK([1.0])
724 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
726 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
728 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
730 * test/Makefile.am: Remove use of CFLAGS.
732 This fixes bug #132987.
734 2004-02-11 Bill Haneman <billh@gnome.org>
736 * reverted most of Tomasz' patch below, since it was breaking
737 builds (see bug #134058).
739 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
741 * docs/reference/cspi/at-spi-cspi.types: added empty file for
742 correct pass "make dist" (empty .. because seems no sach types in
743 header files with gtk-doc markups).
744 * docs/reference/cspi/Makefile.am, configure.in:
745 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
746 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
747 * Makefile.am: added:
748 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
749 for force correct pass generate documentation on "make distcheck".
750 * libspi/Makefile.am: fixes for automake >= 1.6.
751 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
752 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
755 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
757 * docs/reference/cspi/Makefile.am (install-data-local): Install
758 index.sgml since the doc autobuilder on widget.gnome.org looks for
761 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
763 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
766 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
768 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
770 2004-01-27 Brian Cameron <brian.cameron@sun.com>
772 * test/simple-at.c: Fixed null string problems that cause core
773 dumping problems on Solaris.
775 2004-01-12 Bill Haneman <billh@gnome.org>
777 * configure.in: Incremented version to 1.3.11.
779 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
781 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
782 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
785 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
787 * configure.in: Added "fa" to ALL_LINGUAS.
789 2003-12-20 Arafat Medini <lumina@silverpen.de>
791 * configure.in: Added "ar" to ALL_LINGUAS
793 2003-12-16 Bill Haneman <billh@gnome.org>
795 * registryd/registry-main.c:
797 Set the reg_env DISPLAY variable before registering the
798 activated registry service. Fixes bug #129479.
800 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
802 * configure.in: Added "id" in ALL_LINGUAS
803 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
805 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
807 * registryd/deviceeventcontroller.c (global_filter_fn):
808 When an event is consumed discard any XEvents were added to
809 the queue while dealing with the the event. This can happen if
810 processing of the event takes a long time. Call XUngrabKeyboard
811 if an event was discarded. This fixes bug $124837.
812 Only call wait_for_release_event for a KeyPress.
813 Use local variable display instead of spi_get_display().
814 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
817 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
819 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
820 Allow for mask to contain values other than NumLock mask.
823 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
825 * registryd/devieceventcontroller.c:
826 (wait_for_release_event): Change first parameter from GdkEvent to
828 (global_filter_fn); Correct call to wait_for_release_event.
832 2003-12-08 Bill Haneman <billh@gnome.org>
836 * registryd/ucs2keysym.c: New file.
838 * registryd/deviceeventcontroller.c:
839 (dec_keysym_for_unichar): Remove old partial implementation and
840 replace with call to ucs2keysym(), which is much more complete.
841 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
846 2003-12-05 Bill Haneman <billh@gnome.org>
848 * configure.in: Version 1.3.9.
850 * docs/reference/cspi/tmpl/spi_registry.sgml:
851 Added reference to libspi/keymasks.h to the
852 description of Registry queries: AccessibleKeyMaskType.
855 2003-12-04 Bill Haneman <billh@gnome.org>
859 * idl/Accessibility_Application.idl:
860 (Accessibility::LOCALE_TYPE): New enum, corresponds to
861 setlocale's LC_TYPEs.
862 (Accessibility::Application::getLocale): New method.
863 Allows clients to query the locale, by type, of an app.
866 * cspi/spi_application.c:
867 (AccessibleApplication_getLocale): New method, wraps IDL above.
869 * libspi/application.c:
870 (spi_application_class_init): Init epv entry for getLocale.
871 (impl_accessibility_application_get_locale): Impl for above.
873 * test/test-simple.c:
874 (test_application): Added assertion for getLocale, i.e.
875 that the string from AccessibleApplication_getLocale (app, type)
876 is the same as that from setlocale (type, NULL);
878 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
880 *registryd/deviceeventcontroller.c: Add an idle handler which polls
881 the keyboard on a timeout intil the key state goes from pressed to
882 released. Fixes bug #111429.
884 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
886 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
887 root object so that it is present when a context menu in an
888 out-of-process applet is popped up.
889 (spi_atk_bridge_do_registration): Create acceessible application root
890 object only if it does not exist.
892 This fixes bug #125834.
894 2003-12-01 Bill Haneman <billh@gnome.org>
896 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
899 Added enum for AccessibleStreamableContentSeekType.
900 (AccessibleStreamableContent_freeContentTypeList): New.
902 * cspi/spi_streamablecontent.c:
903 (accessible_bonobo_stream_client_seek): New private method.
904 (AccessibleStreamableContent_seek): Implemented this method,
905 using Bonobo_Stream_seek.
906 (AccessibleStreamableContent_freeContentTypeList): New method
907 for freeing the return value from
908 AccessibleStreamableContent_getContentTypes.
909 (stream_cache_item_free): Replaces stream_release; stop leaks.
910 (stream_release): removed.
911 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
912 free the memory properly.
914 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
918 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
920 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
922 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
924 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
926 2003-12-01 Bill Haneman <billh@gnome.org>
928 Fix for bug/rfe #127463.
930 * idl/Accessibility_Accessible.idl:
931 (getLocalizedRoleName): New.
932 (unimplemented4): Removed (replaced by above).
934 * libspi/accessible.c:
935 (impl_accessibility_accessible_get_local_role_name): New.
936 (spi_accessible_class_init): Add getLocalizedRoleName entry to
940 (Accessible_getLocalizedRoleName): New.
942 * cspi/spi_accessible.c:
943 (Accessible_getLocalizedRoleName): New.
945 2003-12-01 Bill Haneman <billh@gnome.org>
948 * idl/Accessibility_Text.idl:
949 (getDefaultAttributes): New.
950 (unimplemented4): Removed (replaced by above method).
953 (impl_getDefaultAttributes): New method.
954 (spi_text_class_init):
955 initialize the get_default_attributes slot in the epv.
958 (AccessibleText_getDefaultAttributes): New prototype.
961 (AccessibleText_getDefaultAttributes): New method.
963 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
965 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
966 write beyond the end of the table. Fixes bug #120473.
968 2003-09-30 Christian Rose <menthos@menthos.com>
970 * configure.in: Added "eu" to ALL_LINGUAS.
972 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
974 * configure.in: ALL_LINGUAS: Added no.
976 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
978 * configure.in: Added lt to ALL_LINGUAS.
980 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
982 * atk-bridge/bridge.c:
983 (atk_bridge_init): Register event listeners always even for
984 out-of-process applet.
985 (spi_atk_bridge_toplevel_added): Remove call to
986 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
987 (spi_atk_bridge_toplevelk_removed): Remove call to
988 spi_atk_deregister_event_listenersa as the listeners are now always
990 (spi_atk_bridge_register_application): Remove call to
991 spi_atk_register_event_listeners as it is not done in atk_bridge_init
993 This fixes bug #120991.
995 * libspi/table.c (impl_getColumnDescription): Correct typo,
996 pointed out by Bolian.Yin@sun.com.
998 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1000 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1002 2003-09-08 Bill Haneman <billh@gnome.org>
1004 * configure.in: Revved to 1.3.7.
1006 This is the GNOME 2.4.0 release of at-spi.
1008 * docs/reference/cspi/Makefile.am:
1009 Removed spurious inclusion of 'index.sgml' in the
1010 html directory; this was breaking make distcheck and
1011 also some other build environments.
1013 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1015 * registryd/registry.[ch}:
1016 Add queue_handler_id and focus_object to SpiRegistry data structure.
1017 (registry_flush_event_queue): If event being discarded is
1018 "state-change:focused" store object as focus_object.
1019 (registry_start_queue): Remove queue handler and focus object
1021 (registry_discard_event): New function which discards a focus event
1022 if we had stored focus object in the registry.
1023 (registry_queue_event): Add new check that is_queueing is set as this
1024 function is reentrant.
1025 (registry_filer_event): Add call to registry_discard_event.
1027 This resolves issues raised in bug #108664.
1029 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1031 * configure.in: Added "bn" to ALL_LINGUAS.
1033 2003-09-04 Bill Haneman <billh@gnome.org>
1035 * cspi/spi_event.c: Documentation improvements for
1036 (SPI_registerAccessibleKeylistener).
1038 * docs/reference/tmpl/spi_registry.sgml:
1039 Documentation improvements for SpiAccessibleKeylistenerCB.
1041 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1043 * configure.in: Added "ro" to ALL_LINGUAS.
1046 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1048 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1049 not decremented to zero. Fixes bug #120725.
1051 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1053 * configure.in: Added "ja" to ALL_LINGUAS.
1055 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1057 * configure.in: Added "is" to ALL_LINGUAS.
1059 2003-08-22 Christian Rose <menthos@menthos.com>
1061 * configure.in: Added "nl" to ALL_LINGUAS.
1063 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1065 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1066 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1068 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1070 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1071 type for unspecified exception.
1072 * cspi_streamablecontect): Add include of string.h for memcpy.
1073 (stream_release): Correct call to bonobo_object_release_unref
1074 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1075 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1076 argument of _cspi_expection_throw.
1077 * libspi/hyperlink.c: Add include of libspi/action.h:
1078 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1079 * libspi/streamablecontent.c: add include of libspi/component.h.
1080 * regisrtyd/deviceeventcontroller.c:
1081 (spi_dec_translate_mask): Removed unused variable priv.
1082 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1083 * registryd/registry.c:
1084 (registry_filter_event): Remove unused variable queue_is-empty.
1085 (impl_registry_notify_event): Use correct modifier in fprintf call.
1087 This fixes compiler warnings reported in bug #120220.
1089 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1091 * registryd/registryd.c: Remove this file.
1093 2003-08-17 Sanlig Badral <badral@openmn.org>
1095 * configure.in: Added mn to ALL_LINGUAS.
1097 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1099 * configure.in: Added et to ALL_LINGUAS.
1101 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1103 * test/event-listener-test.c: Change active-descendant to
1104 active-descendant-changed.
1106 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1108 * configure.in: Added "fi" in ALL_LINGUAS.
1110 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1112 * configure.in: Added "hi" in ALL_LINGUAS.
1114 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1116 * configure.in: Revved to 1.3.6.
1120 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1122 * registryd/deviceeventcontroller.c
1123 (spi_device_event_controller_object_finalize): Fix typo in previous
1126 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1128 * registryd/deviceeventcontroller.c
1129 (spi_device_event_controller_object_finalize): Fix build on
1130 systems without XEvIE.
1132 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1134 * acconfig.h, configure.in, registryd/Makefile.am,
1135 registryd/devicecontoller.[ch]: Add XEViE support.
1137 2003-08-06 Wang Jian <lark@linux.net.cn>
1139 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1141 2003-08-06 Metin Amiroff<metin@karegen.com>
1143 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1145 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1147 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1148 MODIFIER_ALT in correct place.
1150 This fixes part of bug #118114.
1152 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1154 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1156 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1158 * configure.in: Added "ko" to ALL_LINGUAS.
1160 2003-07-28 Ole Laursen <olau@hardworking.dk>
1162 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1164 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1166 * configure.in: Added "sq" to ALL_LINGUAS.
1168 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1170 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1172 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1174 * configure.in: updated ALL_LINGUAS list
1176 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1178 * configure.in: Added Belarusian to ALL_LINGUAS.
1180 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1182 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1184 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1185 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1187 This fixes bug #116949.
1189 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1191 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1192 Correct CSPI to SPI in function documentation.
1194 This fixes bug #118054.
1196 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1198 * configure.in: Added Russian to ALL_LINGUAS.
1200 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1202 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1204 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1206 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1208 2003-07-10 Joel Brich <joel.brich@laposte.net>
1210 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1212 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1214 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1216 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1218 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1219 resources allocated for AccessibleEvent. See cspi_event().
1221 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1222 static variable streams to NULL.
1224 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1225 Update so that AcessibleEvent_ref will work.
1227 This fixes bug #116624.
1229 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1231 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1233 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1235 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1237 2003-07-02 Christian Neumair <chris@gnome-de.org>
1239 * configure.in: Added "de" (German) to ALL_LINGUAS.
1241 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1243 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1245 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1247 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1249 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1251 * configure.in: Added "pl" to ALL_LINGUAS.
1253 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1255 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1257 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1260 (get_action_from_servant):
1261 Removed assertion that action is implemented on an AtkObject.
1263 * libspi/hyperlink.c:
1264 (spi_hyperlink_new):
1265 Aggregate AccessibleAction interface on the hyperlink object if
1266 the object implements AtkAction. (This convention is used in
1269 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1271 * configure.in: Revved to 1.3.5.
1273 * registryd/Accessibility_Registry.server.in.in:
1274 Marked up appropriate strings for translation.
1276 * atk-bridge/bridge.c: Marked a couple of
1277 user-visible warnings for translation. Questionable
1278 whether they are really useful, but possibly so.
1281 2003-06-28 Christian Rose <menthos@menthos.com>
1283 * configure.in: Added "sv" to ALL_LINGUAS.
1285 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1287 * registryd/registry.c:
1288 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1289 (registry_defer_on_event): Defer focus: events, this is an
1290 improvement to the patch for bug #108664.
1292 * TODO: Update with 2.4/"Dev Complete" items.
1294 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1296 * atk-bridge/bridge.c:
1297 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1298 looks up signals once.
1299 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1300 if doing registration.
1301 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1302 when doing registration.
1304 This fixes bug #115014.
1306 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1308 * atk-bridge/bridge.c:
1309 (atk_bridge_init): Add signal handler for children-changed:remove on
1310 root when in a BonoboComponent.
1311 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1312 for first toplevel only other incrememt variable toplevels.
1313 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1314 application and remove listeners.
1315 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1317 (spi_atk_deregister_event_listeners): New function which removes
1319 (reinit_register_vars): New fuction which reinitializes variables.
1321 This fixes bug #111578.
1323 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1325 * configure.in: version 1.3.4.
1327 * cspi/spi_accessible.c:
1328 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1331 2003-06-13 Michael Meeks <michael@ximian.com>
1333 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1335 * cspi/spi_main.c (cspi_peek_ev): impl.
1337 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1339 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1341 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1343 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1344 SPI_ROLE_AUTOCOMPLETE
1346 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1348 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1349 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1351 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1353 * libspi/streamablecontent.h:
1354 * libspi/streamablecontent.c:
1355 New files, provide implementation/wrappers for
1356 Accessibility_StreamableContent.
1358 * cspi/spi_streamablecontent.c:
1359 Connected the C wrappers to the libspi C bindings.
1360 (AccessibleStreamableContent_close): New method.
1363 (AccessibleStreamableContent_close): New method, needed
1364 since we have an "open, [seek], read, close" model in cspi.
1366 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1368 Fix for #108664; Padraig's revision of my original patch.
1370 * registryd/registry.h:
1371 Added event queue list, is_queuing, and exit_notify_timeout
1372 to the registry struct.
1374 * registryd/registry.c:
1375 (registry_init): Initialize new struct from registry.h.
1376 (impl_registry_notify_event):
1377 Filter events before notifying, in case some need to be
1379 (registry_filter_event): New,
1380 we defer certain incoming events (for instance
1381 window:deactivate) because we may wish to hide
1382 or reject them based on pending events. This is
1383 mostly a workaround for bug #108664.
1384 (registry_queue_event, registry_start_queue): New.
1385 (registry_defer_on_event): Test event to see if it
1387 (registry_reset_on_event): Returns TRUE if the
1388 event should cause a queue reset.
1389 (registry_discard_on_event): Returns TRUE if the event
1390 should cause the previous queue contents to be discarded.
1391 (registry_timeout_flush_queue): Flushes the pending event
1392 queue if no reset/discard-triggering events have come in
1393 within the timeout period.
1394 (registry_emit_event): New.
1395 (registry_clone_notify_context): New, used when queueing the
1396 event notify contexts.
1398 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1400 * configure.in: Version revved to 1.3.2, lt 0.9.2
1401 Incremented ATK required version to 1.3.4.
1403 * cspi/spi_registry.c:
1404 (SPI_generateKeyEvent):
1405 We now pass the keystring along if it's non-null.
1407 * registryd/deviceeventcontroller.c:
1408 (keysym_mod_mask): New method, returns modifier mask
1409 required to generate a keysym from a given keycode.
1410 (dec_synth_keysym): New method.
1411 (dec_synth_keystring): New method.
1412 (dec_get_modifier_state): New method.
1413 (dec_lock_modifiers): New
1414 (dec_unlock_modifiers): New.
1415 (dec_keysym_for_unichar): New, rather brute-force
1416 conversion from UCS-4 to X KeySyms. Only works for
1417 Latin at the moment, with partial implementations for
1418 Greek, Hebrew, and (incomplete) Katakana.
1419 (impl_generate_keyboard_event): Now implement
1420 "KEYSTRING" synthesis and implement "KEYSYM"
1422 (keycode_from_keysym): Improved, passes a returned
1423 modmask value now if the corresponding param is non-NULL.
1425 Fixes bugs #92143 and #109776.
1428 * test/keysynth-test.c:
1429 New test program for key synthesis, to confirm fixes for
1433 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1435 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1437 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1438 Add line for RELATION_POPUP_FOR
1440 * docs/reference/cspi/tmpl/spi_relation.sgml:
1441 Add relation SPI_RELATION_POPUP_FOR
1443 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1444 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1446 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1448 * libspi/relation.c (spi_init_relation_type_table):
1449 Add line for RELATION_POPUP_FOR
1451 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1453 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1454 there are still windows which have not been deleted and emit
1455 window:deactivate, if necessary and window:destroy events.
1456 This fixes bug #114370. The change on June 5th was not correct.
1458 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1460 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1463 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1465 New methods for client exception handling and interception.
1466 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1467 (SPI_exceptionHandlerPop): You guessed it...
1468 (SPI_getSourceType): Return the type of object which offended.
1469 (SPI_getExceptionCode): Return an enum code telling, possibly,
1470 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1471 (SPIAccessibleException_getSource): get the source object for
1472 exceptions that come from Accessibles, if SPIExceptionSourceType is
1473 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1474 (SPIException_getDescription): New, returns a string description of
1475 the problem. [Not yet a stable ABI, strings are not frozen]
1477 * cspi/spi-private.h:
1478 Added implementation details of opaque SPIException
1482 Implementations of above. Also
1483 (_cspi_exception_throw): new private method that
1484 dispatches exceptions to handlers, called from cspi-bonobo.c
1486 * cspi/bonobo/cspi-bonobo.c:
1487 (cspi_check_ev): call _cspi_exception_throw.
1488 Don't print a warning message if the exception has been
1489 handled by _cspi_exception_throw.
1491 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1493 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1494 there are still windows which have not been deleted and emit
1495 window:deactivate, if necessary and window:destroy events.
1496 This fixes bug #114370.
1498 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1501 (cspi_accessible_is_a): Make non-fatal
1502 if the object reference is dead.
1504 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1506 * cspi/spi_main.c: #include <stdio.h>
1507 * test/simple-at.c: ditto
1508 * test/event-listener-test.c: ditto
1509 * test/screen-review-test.c: ditto
1511 2003-05-30 Michael Meeks <michael@ximian.com>
1513 * test/test-simple.c (main): use CORBA_ORB_perform_work
1514 instead of an unnecessary linc_ call.
1516 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1518 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1519 Add SPI_STATE_INDETERMINATE.
1521 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1524 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1526 * libspi/stateset.c (init_state_type_tables): Add support for
1529 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1531 * configure: Update versions of atk and gail required.
1532 This fixes bug #113268.
1534 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1536 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1538 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1540 * libspi/Makefile.am:
1541 Ensure headers are generated before being used by c sources.
1543 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1546 Simplified lt versioning rules.
1547 Incremented version to 1.3.0, to indicate that we're on the
1548 unstable branch now.
1550 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1552 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1553 Add MKDB_OPTIONS=--outtput-format=xml
1555 * docs/reference/cspi/at-spi-cspi-docs.sgml
1556 docs/reference/idl/at-spi-idl-docs.sgml:
1557 Convert to Docbook XML.
1559 This fixes bug #111793.
1561 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1563 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1564 AcccessibleKeyEventType, AccessibleKeyMaskType.
1566 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1568 * cspi/state-types.h: Add documentation for AccessibleState.
1570 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1571 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1572 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1573 AccessibleComponentLayer.
1575 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1578 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1580 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1581 Accessible. Add description of AccessibleEvent,
1582 AccessibleEventListenerCB.
1584 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1587 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1588 documentation. Add description of AccessibleKeystrokeListenerCB,
1589 AccessibleKeyEventMask, AccessibleModifierMaskType,
1590 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1591 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1593 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1596 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1599 This fixes bug #104730.
1601 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1603 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1604 Set is_text field of Accessibility_DeviceEvent data structure.
1606 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1607 is-text field of AccessibleDeviceEvent data structure.
1609 This addresses part of bug #108666.
1611 * registryd/devcieeventcontroller.c: Unset debug option.
1613 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1615 * cspi/accessible.c:
1616 (cpi_initial_relation_type_table): New function which initializes
1617 mapping between Accessibility_RelationType and AccessibleRelationType.
1618 (cspi_relation_type_from_spi_relation_type): New function which
1619 translates an Accessibility_RelationType into an AccessibleRelationType.
1620 (AccessibleRelation_getRelationType): Use
1621 cpi_relation_type_get_spi_relation_type to return correct value.
1622 (spi_state_to_corba): Return correct type for default case.
1624 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1625 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1627 * cspi/cspi-bonobo-listener.c:
1628 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1631 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1632 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1633 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1634 libspi/image.c, libspi/listener.c, libspi/selection.c,
1635 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1636 registryd/desktop.c, registryd/registry.c:
1637 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1639 * libspi/eventlistener.c
1640 Remove semicolon after BONOBO_TYPE_FUNC.
1642 * libspi/relation.c:
1643 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1644 (spi_init_relation_type_table): Initialize using correct type.
1646 * registryd/desktop.c:
1647 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1648 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1649 of Accessibility_KeyEventType.
1651 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1654 * tests/simple-at.c, tests/screen-review-test.c:
1655 Add include for <strings.h>.
1657 * tests.stress-test.c:
1658 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1660 These changes fix compiler warnings when using FORTE compiler on
1661 Solaris; fixes bug #107479.
1664 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1667 * configure.in: revved to 1.1.10
1669 * libspi/keymasks.h:
1670 (SPI_KEYMASK_NUMLOCK): Added.
1672 * registryd/deviceeventcontroller.c:
1673 (spi_key_event_matches_listener): AND with a smaller
1674 bitmask (as we should).
1675 (spi_dec_translate_mask):
1676 New method, sets the virtual NumLock modifier bit
1677 if numlock is on. Eventually it can handle other virtual
1678 modifier bits if needed, or other marshalling from
1679 at-spi modifier masks to platform (X) masks.
1680 (spi_dec_key_listener_new):
1681 Call spi_dec_translate_mask to set up virtual mod bits
1682 in the 'mask' field when creating a new listener struct.
1683 (spi_dec_emit_modifier_event):
1684 Set the virtual (i.e. NumLock) bits before emitting event.
1685 (spi_controller_register_with_devices):
1686 Query for the NumLock modifier 'physical' bit if Xkb is
1687 present, for use in above methods.
1691 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1693 * registryd/deviceeventcontroller.c:
1694 (spi_keystroke_from_x_key_event):
1695 Instead of checking to see if the keysym is
1696 printable, check the string from XLookupString
1697 if available, get the first unicode character from it,
1698 and call g_unichar_isprint to determine whether the
1699 is_text flag should be TRUE or FALSE.
1703 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1705 * atk-bridge/bridge.c: Add support for extended events
1706 * cspi/spi_event.c: Add documentation and implementation for
1708 * tests/event-listener-test.c: Add tests for extended events.
1710 This fixes bugs #100424 and #100426.
1712 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1714 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1715 of LT_CURRENT. This fixes bug #89350.
1717 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1719 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1720 number of signal parameter values before accessing them. This fixes
1723 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1725 * configure.in: Fixed duplicate inclusion of -lspi.
1726 * branched for gnome-2-2/HEAD.
1727 [created tag "gnome-2-2"]
1729 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1731 * configure.in: 1.1.9 release.
1734 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1736 [needed by GOK, to fix bugs 107985 and 107988]
1737 * registryd/deviceeventcontroller.c:
1738 (spi_dec_clear_unlatch_pending):
1739 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1740 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1741 (spi_dec_init_mouse_listener):Emit warning if mouse button
1743 (spi_device_event_controller_forward_mouse_event):
1744 Removed unnecessary parens from a conditional.
1745 (global_filter_fn):Added TODO comment.
1746 (impl_generate_keyboard_event):
1747 Cancel a pending relatch if a 'delatching' key was
1750 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1752 * atk-bridge/bridge.c:
1753 Change atk_signal_child_changed to atk_signal_children_changed.
1754 Reorganize code in spi_atk_bridge_signal_listener().
1756 * test/event-listener-test.c:
1757 Add children_changed_listener and report_children_changed_event()
1758 to test AccessibleChildEvent_getChildAccessible.
1760 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1762 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1763 g_strdup to CORBA_String_dup (bug #105291)
1765 * test/event-listener-test.c (report_text_event): Add call to
1768 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1770 * registryd/deviceeventcontroller.c:
1771 (spi_keystroke_from_x_key_event):
1772 Fix string and keysym return codes to match modifier state.
1775 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1777 * registryd/deviceeventcontroller.c:
1778 (spi_keystroke_from_x_key_event):
1779 Fix segv due to improper use of isprint(c). [bug #107254]
1781 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1784 (get_accessible_text_boundary_type):
1785 Move default return value to (new) default case in switch.
1786 (get_accessible_text_clip_type):
1787 Move default return value to (new) default case in switch.
1789 * libspi/application.c:
1790 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1791 Remove unused methods.
1792 (impl_accessibility_application_register_object_event_listener):
1793 Remove unused methods.
1796 Added #include of <math.h>.
1798 * registryd/deviceeventcontroller.c:
1799 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1800 we don't currently use this method.
1801 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1803 (impl_generate_key_event):
1804 Remove unused variables.
1805 (impl_generate_mouse_event):
1806 Initialize button to zero, just in case we get an invalid
1807 input. Added support for mouse buttons 4 and 5.
1808 (spi_device_event_controller_new):
1809 Removed unused variable declaration for 'private'.
1811 Added #include of <gdk/gdk.h>
1813 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1815 * configure.in: Update to work when X is not installed in expected
1816 location. Fixes bug #105836.
1818 * atk-bridge/bridge.c
1819 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1821 (spi_atk_register_event_listener): Add signal listener for
1823 (spi_atk_bridge_signal_listener): Event event when link-selected
1824 signal is emitted. (bug #104622)
1826 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1827 on returned string. (bug #105291)
1829 * test/event-listener-test.c: Add test for link-selected.
1831 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1833 * atk-bridge/Makefile.am: Correct typo in previous commit.
1835 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1837 * atk-bridge/Makefile.am: Allow for build directory to be different
1838 from source directory
1840 * registryd/Makefile.am: Allow for build directory to be different
1841 from source directory
1845 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1848 Fixed dependencies for libcspi so that libspi gets pulled in
1849 properly. Fixes 104741.
1853 Clean up inline docs a little.
1855 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1857 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1858 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1859 the AtkObject within an SpiDesktop.
1860 This addresses bug #101524.
1862 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1863 Remove call to gdk_init().
1865 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1866 so that Display is set when SpiDesktop is created.
1868 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1870 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1871 This fixes bug #102830.
1873 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1875 * test/test-simple.c: Update to take account of fact that GailButton
1876 now implements AtkText.
1877 (create_text_window): Set name on AtkObject for GtkEntry.
1878 (validate_accessible): Check accessible name before calling test_text().
1880 * libspi/Makefile.am: Fix problem with building outside of source
1881 directory. Bug #98120.
1883 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1884 typo in documentation comments. Bug #94275.
1886 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1888 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1890 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1893 Add includes to avoid compiler warnings on Solaris.
1894 (impl_getRangeExtents): Bug fix.
1896 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1898 Fix for 100944, [API addition approved by Gman and murrayc].
1905 * idl/Accessibility_Text.idl:
1906 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1907 (Text::getRangeExtents): New method for efficient
1908 bounds query of a text range.
1909 (Text::getBoundedRanges): New method for efficient
1910 clipping of text to bounding boxes.
1911 (unImplemented7, unImplemented8):
1912 Removed these padding methods to preserve bincompat.
1915 (impl_getRangeExtents): implementation of new IDL.
1916 (impl_getBoundedRanges): implementation of new IDL.
1917 (SpiTextRect): Internal use struct.
1918 (_spi_text_rect_union): internal method, calculates union of two
1919 SpiTextRect bounding rects.
1920 (_spi_text_range_seq_from_gslist): internal method, allows us
1921 to build our sequence efficiently as a gslist then convert it
1923 (_spi_bounds_contain): internal method, determines whether
1924 a text character is "in" or "out" of a clip rect according to
1925 values of TEXT_CLIP_TYPE.
1926 (spi_text_class_init): Initialize the new methods in the epv.
1929 (AccessibleTextClipType): New enum used by screen review api.
1930 (AccessibleTextRange): New struct used by screen review api.
1931 (AccessibleText_getRangeExtents):
1932 cspi binding for Accessibility_Text_getRangeExtents.
1933 (AccessibleText_getBoundedRanges):
1934 cspi binding for Accessibility_Text_getBoundedRanges.
1935 (AccessibleTextRange_freeRanges): convenience method.
1938 (AccessibleText_getRangeExtents):
1939 cspi binding for Accessibility_Text_getRangeExtents.
1940 (AccessibleText_getBoundedRanges):
1941 cspi binding for Accessibility_Text_getBoundedRanges.
1942 (AccessibleTextRange_freeRanges): convenience method.
1943 (get_accessible_text_clip_type): internal conversion method.
1944 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1946 * registryd/deviceeventcontroller.c:
1947 (spi_dec_mouse_check):
1948 Improved behavior for mouse:abs events
1949 [same granularity as mouse:rel events, and no
1950 events when mouse is idle].
1952 2002-12-16 Michael Meeks <michael@ximian.com>
1954 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1956 * libspi/stateset.c (state_spi_to_atk): split out
1957 ( fix several remote array bounds nasties )
1958 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1959 (impl_remove): make safe from array bounds issues.
1960 (spi_atk_state_from_spi_state): impl.
1962 * libspi/stateset.h (spi_state_set_cache_is_empty):
1963 add a set of wrapper defines to get layering right.
1965 * cspi/spi_accessible.c: update state set stuff to
1968 2002-12-14 Michael Meeks <michael@ximian.com>
1970 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1971 to avoid 2 roundtrips to the registry per key event
1972 (spi_atk_bridge_key_listener): upd.
1973 (deregister_application): release the dec.
1975 * registryd/registry.c (notify_listeners_cb):
1976 bin lots of re-enterant complexity - we no longer
1977 do a round-trip bonobo ref here, ensure that a single
1978 listener's exception failure won't poison all other
1980 (impl_registry_notify_event): bin obvious memory leak.
1982 2002-12-13 Michael Meeks <michael@ximian.com>
1984 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1985 init the ev so the error is meaningful.
1986 (spi_atk_bridge_key_listener): ditto.
1988 * cspi/spi_main.c (cspi_ev): init the ev so we start
1989 with a clean slate, otherwise the first exception
1990 kills us completely.
1992 * cspi/spi_text.c (get_accessible_text_boundary_type):
1993 add a fallthrough for no warnings.
1995 * cspi/spi_registry.c: prune unused warnings.
1997 * cspi/spi_main.c (cspi_object_take): fix
1998 mind-blowing brokenness ( by watching the compile
2001 * cspi/spi_accessible.c (Accessible_getStateSet):
2002 re-impl. to use an AtkStateSet.
2003 (spi_state_type_from_accessible_state),
2004 (init_state_table): bin these.
2006 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2008 (atk_state_set_from_accessibility_state_set): here.
2010 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2011 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2012 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2013 (AccessibleStateSet_add, AccessibleStateSet_remove),
2014 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2015 (AccessibleStateSet_isEmpty): re-write to use a local
2018 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2020 * configure.in: Revved to 1.1.7 (new keymask vals).
2022 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2024 * libspi/keymasks.h:
2025 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2027 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2030 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2031 to compare two CORBA_TypeCodes.
2032 (cspi_internal_event_add): Silence warning from FORTE compiler.
2034 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2035 avoid implicit declaration of functions.
2037 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2039 * atk-bridge/bridge.c:
2040 (spi_atk_bridge_init_event_type_consts): Store signal id for
2041 active-descendant-changed signal.
2042 (spi_atk_register_event_listeners): Add signal listener for
2043 active-descendant-changed signal,
2044 (spi_atk_bridge_signal_listener): Move code in function
2045 spi_atk-signal_emit_event() into this function.
2046 Add support for active-descendant-changed
2047 Update support for child-changed signal.
2048 (spi_bridge_window_event_listener): Silence warning.
2050 * libspi/spi_private.[ch]:
2051 (spi_init_any_object): Change second parameter from CORBA_Object to
2053 Omit call to CORBA_Object_duplicate().
2054 Set CORBA_any's _value to CORBA_Object*.
2056 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2062 (AccessibleEvent_ref, AccessibleEvent_unref):
2063 New methods, for persisting an event outside the emission context.
2064 Must be used if the new accessor methods are to be called
2065 outside of the event listener's callback.
2067 * cspi/bonobo/cspi-bonobo.c:
2068 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2069 as second parameter instead of NULL, so we can call
2070 cspi_check_ev afterwards.
2073 (cspi_object_take): New internal method,
2074 converts a CORBA_Object reference to a hard ref on
2075 an Accessible if possible, returning NULL if the object
2076 reference is invalid or an Accessible * otherwise.
2079 (AccessibleEvent_ref):
2080 Increment the event's internal private refcount, and
2081 add the event's internal struct to an internal cache
2082 if it's not already there.
2083 (AccessibleEvent_unref):
2084 Decrement the event's refcount and remove it from
2085 the cspi event cache if refcount==0.
2086 (cspi_event_compare): New private method.
2087 Compares two event structs via their ids. Used
2089 (cspi_internal_event_lookup): New private method.
2090 (cspi_internal_event_check): New private method,
2091 a 0-order sanity check for events to make sure their
2092 private data is intact.
2093 (cspi_internal_event_add, cspi_internal_event_remove):
2094 New private methods for managiing the event cache.
2096 * cspi/bonobo/cspi-bonobo-listener.c:
2098 Initialize the new private data elements (id, magic, ref_count).
2100 * atk-bridge/bridge.c:
2101 (spi_atk_bridge_signal_listener):
2102 Fixed bug #100530, passing wrong params to emission func.
2104 * registryd/deviceeventcontroller.c:
2105 (spi_dec_button_update_and_emit):
2106 Fixed type in mask bit operations; fix for #99799.
2108 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2110 Removed some of the more dangerous workarounds from
2111 previous commit; they are only needed by GOK, which
2112 in reality should be using another method to accomplish
2113 the goals. So on reconsideration some of the workarounds
2114 need to be reverted:
2116 * registryd/deviceeventcontroller.c:
2117 (spi_keycodes_contain, spi_dec_init_keycode_list):
2118 Removed these methods, used only by a nasty hack to try
2119 and detect whether a key synthesis should be allowed
2120 to reset the XKB latch state or not. This code was only
2121 required to work around an interaction between GOK,
2122 button events, and XKB.
2123 (impl_generate_key_event):
2124 Removed hack at end of key generation that tried to
2125 "do the right thing" if XKB latch keys were generated
2126 in the midst of button press/release pairs.
2129 Added a check for HAVE_XINPUT. Not normally used yet.
2131 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2133 Workarounds and fixes for mouse event/XKB interaction.
2135 * registryd/deviceeventcontroller.c:
2136 (spi_keycodes_contain, spi_dec_init_keycode_list):
2137 New internal methods.
2138 (spi_dec_set_unlatch_pending):
2139 Split the method that tells XKB to expect an
2140 unlatch (and revert it) out of the rest of the
2141 event handling code. This method is called by the
2142 two mouse event handlers (the poll and the filter).
2143 (spi_dec_update_and_emit, spi_dec_mouse_check):
2144 New methods split from spi_dec_poll_mouse_moved.
2145 The second one is now called from inside the filterFn
2146 when an XKB delatch event is received, to determine
2147 whether to revert the delatch or not.
2148 (spi_poll_mouse_moved): Refactor; also we can now
2149 properly handle the case where multiple button states
2150 have changed between polling cycles and we didn't get
2151 notified due to another client's grab.
2153 Synchronize the server while handling an XKB notification.
2154 Ugly, but apparently necessary to avoid nasty races.
2155 Check the mouse state on receipt of an XKB latch change,
2156 to decide whether to revert the latch or not. (Latches are
2157 reverted if there is an immediately preceding mouse button
2158 event that a client has consumed, in which case we don't want
2159 the user to see the side-effect of the event).
2160 (spi_device_event_controller_forward_mouse_event):
2161 Check for modifier events and fire before resetting mouse_mask_state,
2162 prevents losing modifier events.
2164 (impl_generate_keyboard_event):
2165 If we've just generated a keyboard event for a non-shift key,
2166 we don't want to revert the pending XKB latch.
2167 Otherwise, check the modifier state (via a call to
2168 spi_dev_mouse_check) and set the relatch mask to
2169 that state before returning.
2171 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2174 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2177 * atk-bridge/bridge.c:
2178 (spi_atk_register_event_listeners):
2179 Don't re-register for ATK events if the registry has died
2180 and the app needs to re-register; the ATK listeners are in
2181 process and doing so will cause duplicate emission.
2183 * registryd/deviceeventcontroller.c:
2184 (spi_poll_mouse_moved):
2185 Reformat the source, detect and emit multiple button-change
2186 events (i.e. if multiple buttons have changed between poll
2188 Add code to detect mouse-down events even when the pointer
2189 is grabbed; workaround for GOK bug 98420.
2190 (spi_controller_register_with_devices):
2191 Call XTestGrabControl with 'impervious' flag set to True,
2192 allows us to synthesize events and query the pointer even during
2193 an active grab by another client.
2194 (spi_device_event_controller_forward_mouse_event):
2195 Set the mouse_mask_state to the mouse_button_state from
2196 the intercepted event, to synchronize the grab listener with
2199 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2201 * cspi/spi_accessible.c:
2202 (AccessibleRole_getName):
2203 Added necessary strings for making this (deprecated)
2204 method work with the new role types.
2205 (init_role_table, role_table):
2206 Added definition of SPI_ROLE_APPLICATION.
2208 * libspi/spi-roletypes.h:
2209 Added SPI_ROLE_APPLICATION.
2211 * idl/Accessibility_Role.idl:
2212 Added ROLE_APPLICATION.
2214 * docs/reference/cspi/at-spi-cspi-decl.txt:
2215 Added SPI_ROLE_APPLICATION to docs.
2217 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2219 * cspi/spi_accessible.c
2220 (cspi_init_role_table): Do not write beyond end of role_table.
2221 (Accessible_getRole): Use correct type for value returned by
2222 Accessibility_Accessible_getRole().
2224 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2225 beyond end of role_table. (This fixes bug #98269)
2227 * libspi/application.c: Add include file spi-private.h for
2228 definition of spi_init_any_nil.
2230 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2234 * libspi/spi-private.h:
2235 Added DGB() macro, and extern int _dbg declaration.
2237 * registryd/registry.c:
2238 (definitions) storage for _dbg.
2239 (spi_registry_init):
2240 Get environment variable "AT_SPI_DEBUG".
2241 (spi_registry_set_debug):
2242 New method, to initialize _dbg value.
2243 (spi_listener_struct_new, spi_registry_object_finalize):
2244 (notify_listeners_cb):
2245 Changed fprintfs to use DBG and g_warning().
2247 * registryd/deviceeventcontroller.c:
2248 (_deregister_keygrab, spi_controller_register_device_listener):
2249 Changed debug/warning messages to use DBG macro.
2251 * libspi/listener.c:
2252 (impl_notify_event):
2253 Changed warning messages to use DBG macro and g_warning().
2255 * atk-bridge/bridge.c:
2256 (atk_bridge_init, spi_atk_bridge_get_registry):
2257 (spi_atk_bridge_exit_func):
2258 (spi_atk_bridge_property_event_listener):
2259 Changed status, warning, and error messages to use
2260 g_warning, g_message, and DBG macros.
2263 Read the state of the AT_SPI_DEBUG environment variable
2264 and set a local '_dbg' accordingly.
2266 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2268 FIXES for 98836, 98842, other bugs.
2271 Revved to 1.1.4, interface-age=4, binary-age=4.
2273 * registryd/deviceeventcontroller.c:
2275 Fixed crasher bug in last_mouse_pos initialization.
2277 * registryd/registry.c:
2278 (desktop_add_application, desktop_remove_application):
2279 Added (and then commented out) some support for
2280 object context marshalling. [TODO]
2282 * atk-bridge/bridge.c:
2283 (spi_atk_bridge_event_context_create):
2284 Commented out object context creation until it can
2285 be properly tested and debugged.
2287 * registryd/registry.c:
2288 (impl_registry_notify_event):
2289 Fixed crasher bug, we were calling
2290 spi_re_entrant_list_foreach () with an empty list.
2292 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2294 * idl/Accessibility_Action.idl:
2295 * idl/Accessibility_Component.idl:
2296 * idl/Accessibility_Desktop.idl:
2297 * idl/Accessibility_Event.idl:
2298 * idl/Accessibility_Hyperlink.idl:
2299 * idl/Accessibility_Image.idl:
2300 * idl/Accessibility_Relation.idl:
2301 * idl/Accessibility_Selection.idl:
2302 * idl/Accessibility_State.idl:
2303 * idl/Accessibility_Value.idl:
2304 Updated unimplemented slot count to minimum of
2305 four for all interfaces, for ABI freeze.
2307 * idl/Accessibility_EditableText.idl:
2308 * idl/Accessibility_Text.idl:
2309 Updated unimplemented slot count to six
2312 * idl/Accessibility_Registry.idl:
2313 Updated unimplemented slot count to six
2314 (also for DeviceEventController),
2317 * idl/Accessibility_Table.idl:
2318 Updated unimplemented slot count to eight,
2321 * idl/Accessibility_Event.idl:
2322 Added CORBA_any "any_data" member to Event struct.
2324 * idl/Accessibility_Event.idl:
2325 Added CORBA_any "any_data" member to Event struct.
2327 * atk-bridge/bridge.c:
2329 atk_signal_text_changed, atk_signal_child_changed,
2330 signal ids queried from gtype system.
2331 (AtkBridgeEventContextType): New enum.
2332 (AtkBridgeEventContextData): New struct.
2333 (AtkBridgeEventContext): New struct.
2334 (atk_bridge_init_event_type_consts):
2335 New method, initializes type contants for comparison
2336 prior to emit_eventv.
2337 (atk_bridge_event_context_init): New method,
2338 initializes a CORBA_any from an AtkBridgeEventContext.
2339 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2340 initialize the event.any_data struct.
2341 (spi_atk_bridge_event_context_create): New method,
2342 creates an AtkBridgeEventContext from signal/event info.
2343 (spi_atk_bridge_event_context_free): New method.
2344 (spi_atk_emit_eventv): Changed to take an
2345 AtkBridgeEventContext parameter. We now initialize
2346 the event.any_data member prior to notifying the
2347 Registry, via the AtkBridgeEventContext.
2348 (spi_atk_bridge_property_event_listener):
2349 (spi_atk_bridge_state_event_listener):
2350 Match emit_eventv signature.
2351 (spi_atk_bridge_object_event_listener):
2352 Match emit_eventv signature, and create an
2353 event context from the event details.
2354 Free the event context afterwards.
2355 (spi_atk_bridge_window_event_listener):
2356 Create an event context, pass it to the
2360 (AccessibleEvent_getContextString):
2361 (AccessibleEvent_getContextObject):
2362 New methods, allow query of AccessibleEvent objects
2363 for more context details (via the "any_data" member
2364 of the Event struct, above).
2367 Definitions for AccessibleEvent_getContextString
2368 and AccessibleEvent_getContextObject.
2370 * cspi/spi_listener.h:
2371 (InternalEvent): New struct.
2374 (AccessibleEvent_getContextString):
2375 (AccessibleEvent_getContextObject):
2376 Implementations of new methods, for obtaining
2377 additional context information from some event types.
2379 * cspi/spi_registry.c:
2380 (SPI_registerGlobalEventListener):
2381 Added mention of active-descendant-changed event in docs.
2383 * cspi/cspi-bonobo-listener.c:
2385 Marshal the any into the AccessibleEvent via
2388 * libspi/spi-private.h:
2389 #include <orbit/orbit.h>
2391 (spi_init_any_string):
2392 (spi_init_any_object):
2393 New convenience function declarations.
2397 (spi_init_any_string):
2398 (spi_init_any_object):
2399 New convenience function implementations.
2401 * registryd/deviceeventcontroller.c:
2402 (spi_poll_dec_mouse_moved):
2403 (spi_device_event_controller_forward_mous_event):
2404 Initialize any_data member of event.
2405 (spi_deregister_controller_device_listener):
2406 Fix incorrect param pass which was preventing deregistration.
2408 * registryd/registry.c:
2409 (desktop_add_application):
2410 (desktop_remove_application):
2411 Add object data to event's any_data before dispatch.
2413 Fix for error messages from GAIL.
2415 * test/event-listener-test.c:
2416 Test new ContextString and "any_data" API:
2417 (report_text_event): New method query and output context string.
2418 (main): register a new text listener with report_text_event
2421 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2423 Fixes for bugs 98127 and 97914.
2424 * cspi/spi-roletypes.h:
2425 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2427 * cspi/spi-statetypes.h:
2428 Added SPI_STATE_MANAGES_DESCENDANTS
2430 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2431 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2432 * cspi/spi_accessible.c:
2433 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2434 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2435 Accessibility_STATE_MANAGES_DESCENDANTS
2436 * libspi/accessible.c:
2437 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2438 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2439 As requested by Bill, I also cleaned up the alignment.
2440 * libspi/relation.c:
2441 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2442 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2443 * libspi/stateset.c:
2444 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2445 Accessibility_STATE_MANAGES_DESCENDANTS
2446 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2447 Document changes reflecting modifications to roles.
2448 * docs/reference/cspi/tmpl/spi_relation.sgml:
2449 Document changes reflecting modifications to relations.
2450 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2451 Document changes reflecting modifications to states.
2453 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2456 Revved to 1.1.3, interface-age=3, binary-age=3.
2457 Added REBUILD macro.
2460 Removed accessx-gui from the tests, since we have a nice
2461 keyboard accessibility capplet now :-)
2463 * test/keysynth-demo.c:
2464 (increment_scan): removed do-nothing default: case,
2467 * test/visual-bell.c:
2468 (main) : removed do-nothing default: case,
2471 * cspi/spi_action.c:
2472 (AccessibleAction_getKeyBinding_):
2473 Documented keybinding string format.
2477 (AccessibleText_getAttributes):
2478 Documented the text attribute string format.
2479 It's changed to use semicolon delimiters also,
2480 to prevent clashes with CSS attributes, but the old
2481 trick of looking for ", " strings will still work
2482 (as unreliably as ever). Fix for bug related to 97916.
2485 Include <cspi/bonobo/cspi-bonobo-listener.h>
2486 Fixes build warning.
2487 (SPI_freeAccessibleKeySet):
2488 (AccessibleKeystrokeListener_addCallback):
2489 (AccessibleKeystrokeListener_removeCallback):
2490 Modify to use AccessibleDeviceListener API internally,
2491 instead of AccessibleKeystrokeListener.
2493 * idl/Accessibility_Event.idl:
2494 Added two more empty slots to EventListener (for a total of four).
2496 * idl/Accessibility_Accessible.idl:
2497 Added four empty slots to Accessible interface.
2499 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2501 * idl/Accessibility_Registry.idl:
2502 (KeyEventType, EventType):
2503 Marked KeyEventType as deprecated; it duplicates
2504 functionality of EventType, which has been extended to
2505 include Mouse-button events.
2506 (KeyEventTypeSeq): defined in terms of EventType.
2507 (registerDeviceEventListener, deregisterDeviceEventListener):
2508 New methods, for managing listeners to device events,
2509 which potentially may consume them.
2512 Added definition for AccessibleDeviceListener.
2514 * cspi/spi-listener.h:
2515 (enum AccessibleDeviceEventType):
2516 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2517 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2518 for backwards compat.
2519 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2520 and typedef'd AccessibleKeystroke to it for back-compat.
2521 (AccessibleDeviceListenerCB):
2522 New function prototype typedef.
2525 (AccessibleDeviceEventMask): New typedef.
2526 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2527 (AccessibleKeyMaskType):
2528 Set equivalent to AccessibleModifierMaskType for back-compat.
2529 (SPI_createAccessibleKeystrokeListener):
2530 (AccessibleKeystrokeListener_unref):
2531 Deprecated in favor of equivalent (better-named) new API below..
2532 keystroke listeners are like all device listeners.
2533 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2534 New API names for old features :-).
2535 (AccessibleDeviceListener_addCallback):
2536 (AccessibleDeviceListener_removeCallback):
2537 (SPI_registerDeviceEventListener):
2538 (SPI_deregisterDeviceEventListener):
2542 (SPI_createAccessibleKeystrokeListener):
2543 Use new preferred API, cspi_device_listener_new() and
2544 cspi_device_listener_add_cb().
2545 (AccessibleKeystrokeListener_removeCallback):
2546 Use new preferred API, cspi_device_listener_remove_cb().
2547 (AccessibleKeystrokeListener_unref):
2548 Use new preferred API, cspi_device_listener_unref().
2549 (SPI_createAccessibleDeviceListener):
2550 (AccessibleDeviceListener_addCallback):
2551 (AccessibleDeviceListener_removeCallback):
2552 Implementation of new API.
2554 * cspi/spi_registry.c:
2555 (SPI_registerDeviceEventListener):
2556 (SPI_deregisterDeviceEventListener):
2557 Implementation of new API. Fixed memory leak and removed need to
2558 allocate EventTypeSeq (thanks Michael for catching this).
2559 Squashed a wayward CORBA_exception_free that shouldn't get called.
2561 * cspi/bonobo/cspi-bonobo-listener.c:
2563 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2564 (cspi_key_event): renamed to cspi_device_event().
2565 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2566 Extended to handle mouse button events as well as key events.
2567 (CSpiKeystrokeListener):
2568 Class superceded by CSpiDeviceListener.
2569 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2570 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2572 * cspi/bonobo/cspi-bonobo-listener.h:
2573 (CSpiKeystrokeListener):
2574 Class superceded by CSpiDeviceListener.
2575 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2576 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2578 * libspi/Makefile.am:
2579 Replaced keystrokelistener.h and keystrokelistener.c
2580 with devicelistener.h and devicelistener.c; keystrokelisener.h
2581 stub retained for back-compat.
2583 * libspi/keystrokelistener.c:
2587 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2589 * registryd/deviceeventcontroller.c:
2590 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2591 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2592 (DEControllerPrivateData): Added xkb settings data.
2593 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2594 button release events (which can't be captured via XGrabButton).
2595 Don't dispatch via the 'normal' event mechanism if the device event was
2597 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2598 Handle the typeseq data in its new location (see above).
2599 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2600 New methods, for "generic" device listeners.
2601 (spi_controller_register_device_listener):
2602 Now handle mouse event listeners as well as key listeners.
2603 (spi_controller_notify_mouselisteners):
2604 New internal method.
2605 (spi_device_event_controller_forward_mouse_event):
2606 Now we notify mouse device listeners as well as generating the
2607 non-consumable "mouse:" events.
2609 We must check and restore the XKB
2610 modifier map if we consume the event, since the act of triggering
2611 a mouse event will normally reset the XKB latch. This is required for
2613 (spi_controller_register_with_devices):
2614 Load the XKB settings when registering, and register for XKB
2615 state notify events.
2616 (spi_key_eventtype_seq_contains_event):
2617 Renamed spi_eventtype_seq_contains_event, since it's used
2618 internally for all device event types now.
2619 (spi_key_event_matches_listener):
2620 Uses spi_eventtype_seq_contains_event now.
2621 (spi_device_event_controller_object_finalize):
2622 Free the private data and the XkbKeyboard struct.
2623 (impl_register_device_listener, impl_deregister_device_listener):
2624 Implementation of new IDL.
2625 (spi_deregister_controller_device_listener):
2626 New internal method.
2627 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2628 More efficient implementation, we don't have to create a new
2629 XkbControls structure every time we query.
2630 (spi_device_event_controller_class_init):
2631 Initialize the epv entries for the new IDL. Assign the
2632 "spi-dec-private" quark.
2633 (spi_device_event_controller_init):
2634 Initialize the private data.
2635 (spi_device_event_controller_forward_key_event):
2636 Removed a bogus CORBA_exception_free() call.
2638 * registryd/deviceeventcontroller.h:
2639 Replaced inclusion of keystrokelistener.h with
2642 * test/event-listener-test.c:
2643 (report_mouse_event):
2646 Added mouse-event device listener.
2648 * test/test-simple.c:
2649 (create_test_window):
2650 Fixed regression (we were instantiating a GtkRange,
2651 which is now an abstract class). Also fixed to match
2652 existing AtkRole names, this seems to have changed in ATK
2653 awhile ago; too late now I think, and the new
2654 mechanism is at least elegant and consistent with the
2655 glib enum "nick" APIs.
2657 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2659 * idl/Accessibility_Relation.idl:
2660 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2661 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2662 * idl/Accessibility_Role.idl:
2663 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2664 * idl/Accessibility_State.idl:
2665 add STATE_MANAGES_DESCENDANTS
2666 * test/event-listener-test.c:
2667 Added a listener for active-descendant events.
2669 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2671 * atk-bridge/bridge.c
2672 (atk_bridge_init): If application is Bonobo component wait until top
2673 level is added before registering
2674 (spi_atk_bridge_do_registration): New function which contains code,
2675 formerly in atk_bridge_init, to do application registration.
2676 (spi_atk_bridge_toplevel_added): Signal called when top level
2677 added to Bonobo component
2679 This fixes bug #83134.
2681 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2683 * registryd/deviceeventcontroller.c
2684 Fixed compilation error caused by calling gettimeofday()
2687 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2692 Added template for HAVE_XKB.
2695 Changes to check for XKB, and to set the HAVE_XKB #define if it
2698 * libspi/listener.c:
2699 ()impl_notify_event): Make failure to get event source name
2702 * registryd/deviceeventcontroller.c:
2703 (#include): include X11/XKBlib.h.
2704 (DEControllerPrivateData) : New struct.
2705 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2707 (dec_synth_keycode_press) (dec_synth_keycode_release):
2708 New methods; split the key synthesis code into these methods.
2709 They check XKB settings before determining the "time" values to
2710 pass to Xtest; this fixes bug #95828.
2711 (impl_generate_keyboard_event): Changed to use methods above,
2712 instead of callng Xtest directly.
2713 (spi_device_event_controller_init): Initialize new privae struct s
2715 (spi_device_event_controllr_object_finalize):
2716 Free the (new) private data.
2718 * registryd/deviceeventcontroller.h:
2719 Add new gpointer to end of struct data.
2721 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2724 Incremented revision to 1.1.2, SONAME is still '.so', library
2725 extensions are ".so.0.0.2".
2727 * registryd/deviceeventcontroller.c:
2728 FIXES FOR #93592 and #95940.
2729 (statics): renamed mouse_button_state to mouse_mask_state,
2730 added key_modifier_mask.
2731 (spi_dec_poll_mouse_moved):
2732 Added key modifier checks, and emit "keyboard:modifiers"
2733 events when the key modifiers currently in use change.
2734 Also generate "mouse:abs" events periodically, even if the mouse
2735 is stationary (should we?).
2736 Alternatively we could generate "mouse:abs" events for either all
2737 mouse movements, or every 'nth' mouse movement, or at the
2738 beginning and end of every "active" mouse period.
2740 * test/event-listener-test.c:
2741 (main): Added listener for "keyboard:modifiers" events.
2743 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2745 * libspi/keymasks.h:
2746 Added key mask #defines for mouse buttons; e.g.
2747 SPI_KEYMASK_BUTTON1, etc.
2750 Incremented dependency on ATK to version 1.1.0. (This dependency
2751 is probably premature but will soon be real enough).
2753 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2755 * libspi/hyperlink.[ch]
2756 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2757 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2760 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2765 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2767 * registryd/deviceeventcontroller.c
2768 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2769 events to be ignored.
2770 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2771 keyboard_mode so that XAllowEvents() can be called.
2775 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2777 * cspi/spi-accessible.c: Correct names of roles returned by
2778 AccessibleRole_getName(). Fixes bug #95055.
2780 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2782 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2785 * registryd/registry.c
2786 (desktop_remove_application: Write diagnostic message to stderr for
2789 (impl_accessibility_registry_deregister_global_event_listener):
2790 Correct size of lists array. This addresses bug #94555).
2792 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2794 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2797 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2799 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2802 * registryd/registry.c (impl_registry_notify_event): Remove
2803 unnecessary call to parser_event_type().
2805 * docs/reference/cspi/tmpl/spi_component.sgml:
2806 Add reference to SPI_LAYER_WINDOW.
2808 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2810 * registryd/registry.c
2811 (desktop_add_application): Remove leak.
2812 (desktop_remove_application): Remove leak.
2813 (parser_event_type): Remove leak.
2815 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2817 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2818 bogus call to CORBA_string_dup(). Also removed unnecessary
2819 g_string_dup/g_free calls.
2821 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2823 * registryd/deviceeventcontroller.c:
2824 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2826 * test/event-listener-test.c:
2827 main: commented out three redundant listeners, to reduce output
2828 noise. (They still are potentially useful for testing).
2831 2002-09-13 Michael Meeks <michael@ximian.com>
2833 * Update all the copyrights to include Ximian.
2835 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2837 * cspi/spi.h: add SPI_LAYER_WINDOW.
2839 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2840 add Accessibility_LAYER_WINDOW case.
2842 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2844 * libspi/component.c: (impl_accessibility_component_get_layer):
2845 add ATK_LAYER_WINDOW case.
2847 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2849 * configure.in: incremented micro version.
2851 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2853 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2856 Clarified and reworded our commit policy.
2859 Started an API "todo" addition list for 2.2.
2862 (impl_getSelection):
2863 Free char pointer from atk_text_get_selection, which was being leaked.
2865 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2868 Small revision to author acknowledgement.
2870 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2872 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2873 If signal has detail add it to the type of the event.
2876 2002-08-12 Michael Meeks <michael@ximian.com>
2878 * test/test-simple.c (global_listener_cb): bin bogosity.
2879 (test_keylisteners): disable, still doesn't work reliably,
2880 certainly not on my system anyway.
2882 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2883 don't leak a reference on the DEC. This round-trip
2884 fetching of the DEC per keystroke sucks, it should be
2887 * cspi/spi-private.h,
2888 * cspi/cspi-lowlevel.h,
2889 * cspi/bonobo/cspi-bonobo-listener.[ch],
2890 * cspi/bonobo/cspi-bonobo.c: get the copyright
2891 notices better - there is still a large amount of
2892 work in at-spi falsely attributed solely to Sun.
2894 * cspi/spi_main.c (cspi_object_ref): kill bogus
2895 hash lookup, just increment the ref.
2896 (SPI_freeString): make explicit the fact that we
2897 handle NULL strings just fine.
2898 (report_leaked_ref): obey coding standards.
2899 (cspi_object_hash, cspi_object_equal): kill retval.
2900 (cspi_object_release): only release if not on loan.
2901 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2902 (cspi_object_borrow, cspi_object_return): impl.
2904 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2905 use cspi_object_borrow / return.
2907 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2909 * cspi/bonobo/cspi-bonobo-listener.c:
2911 Don't call cspi_oject_new() because this is creating a new Accessible
2912 every single time that an event is fired. This causes ATs like at-poke
2913 to nolonger recognise the source of the event and thus ignore it.
2914 Re-use the object from the cache, ref it and then unref it after the
2915 listeners have been called.
2917 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2919 * test/event-listener-test.c:
2920 Added command-line options to disable mouse events (m) and
2923 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2925 * configure.in: Update required versions of ATK, GTK+ and GAIL
2927 * cspi-1.0.pc.in: Add dependency for X include files
2930 * cspi/bonobo/Makefile.am:
2931 Add $(X_CFLAGS) so that X include files
2932 are picked up even if not in standard place (bug #71686)
2934 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2936 * registryd/deviceeventcontroller.c: fix for 84261
2937 (spi_dec_mouse_moved):
2938 Added test of mouse button mask, so that we can detect mouse
2939 button release. Unfortunately we can't otherwise detect mouse
2940 button release events without consuming the mouse press event,
2941 because of the way XGrabButton works. This means that our mouse
2942 release events have a latency dependent on the polling period
2943 while the mouse button is down. At least in this case we only
2944 have to poll while the button is down, and not at other times.
2945 If the button masks don't match with what the last press event
2946 reported, we report the appropriate button release event.
2947 (spi_dec_ungrab_mouse):
2948 New method (not yet called).
2949 (spi_device_event_controller_forward_mouse_event):
2950 New method, sends mouse press event from GdkFilter.
2951 (spi_dec_init_mouse_listener):
2952 Added code to call XGrabButton, redirecting mouse button events to
2953 the root window and our Gdk event loop.
2955 Added code to filter mouse button events, and reordered.
2957 * test/event-listener-test.c:
2959 Added registration for mouse events of type "mouse:button".
2961 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2963 * registryd/deviceeventcontroller.c: partial fix for 84261
2964 (spi_dec_poll_mouse_idle):
2965 New method, a timeout which checks to see if the mouse
2967 (spi_dec_poll_mouse_moving):
2968 A timeout to be called when mouse motion is underway.
2969 (spi_dec_poll_mouse_moved):
2970 A method which fires an event if the mouse has moved, and reports
2971 whether or not it did so.
2972 (spi_dec_init_mouse_listener):
2973 A method which sets up the timeouts above.
2974 (spi_device_event_controller_new):
2975 Now calls spi_dec_init_mouse_listener.
2977 * registryd/registry.c:
2978 (spi_registry_init):
2979 Now we initialize the device event controller when the registry is
2980 initialized, instead of waiting until a client has requested a key
2981 event notification; this is because we need the event controller
2982 for mouse events, but the mouse event registration API is a
2983 "registry" call and doesn't explicitly call the
2984 deviceeventcontroller.
2985 We now report mouse motion events with a 100 ms idle latency and
2986 a 20 ms granularity when motion is in progress.
2988 * test/event-listener-test.c:
2990 We now register the "detail listener" for events of type
2991 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2992 delivered only for the first mouse event received, and thereafter
2993 "mouse:abs" events are delivered.)
2995 * cspi/spi_registry.c:
2996 DOCS: Documented the above mouse event typestrings.
2998 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3000 Happy Summer Solstice...
3002 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3003 (spi_controller_notify_keylisteners):
3004 Changes to remove a listener from the listener list, freeing its
3005 open keygrabs, if a notification to that listener fails. This
3006 means that although a dead listener can continue to hold a passive
3007 keygrab, a maximum of one dispatch to such a listener can fail
3008 before the listener is removed from the list, thus the keygrab
3009 will be released on the next occurrence.
3010 As part of this fix:
3011 (spi_notify_keylisteners):
3012 Renamed to spi_controller_notify_keylisteners, as the controller
3013 instance must now be passed as an argument.
3014 The copied 'notify' GList is now a list of DEControllerKeyListener
3015 objects, since we need more than just the CORBA reference if a
3016 notify fails and we need to deregister the listener.
3017 (impl_notify_listeners_sync):
3018 (impl_notify_listeners_async):
3019 (spi_device_event_controller_forward_key_event):
3020 Modify use of notify_keylisteners in accordance with above
3022 (spi_deregister_controller_key_listener):
3023 New method introduced by refactoring, from
3024 impl_deregister_keystroke_listener.
3025 (impl_deregister_keystroke_listener):
3026 Call spi_deregister_controller_key_listener.
3027 (spi_key_listener_clone):
3028 New method to copy a key listner without doing a 'ref' on the
3029 remote object instance; used to create a notifier list.
3030 (spi_key_listener_data_free):
3031 New method, frees data without unreffing the source.
3033 (spi_key_listener_clone_free): new method.
3034 (spi_key_listener_free):
3035 refactored to call spi_key_listener_data_free.
3037 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3039 * registryd/registry.c: [fix for bug 86048]
3040 (notify_listeners_cb):
3041 Clear CORBA system exceptions which occur when notifying
3042 listeners, before returning to the source of the original event,
3043 since the event source doesn't care if the relayed notify failed.
3044 In other words, don't complain to the atk-bridge if the registry
3045 could not notify all its listeners, that's no fault of the
3046 application and thus should not appear to be an error from the
3047 application's perspective.
3049 * cspi/spi_main.c: [fix for bug 85980]
3051 Replaced use of bonobo_object_dup_ref with call to the wrapper
3052 method, csou_dup_ref (); this silences a compiler warning and
3053 provided more portability.
3055 Ping the registry before return, and restart if necessary.
3057 * cspi/bonobo/cspi-bonobo.c:
3059 New internal method.
3061 Fixed this method to return an object reference, as it should have
3064 * cspi/cspi-lowlevel.h:
3065 Added internal definition for cspi_ping() and fixed
3066 return type of cspi_dup_ref().
3069 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3071 * atk-bridge/bridge.c: [fix for bug 85305]
3072 (spi_atk_bridge_register_application):
3073 New method where the initial application registry calls have been
3074 moved; it allows an application to re-register in response to
3075 certain error conditions (such as a registry restart, see below).
3077 Moved some initialization code to the method
3078 spi_atk_bridge_get_registry, below.
3079 (spi_atk_bridge_get_registry):
3080 New, private accessor function for the Accessibility_Registry
3081 instance. If the registry has not been started before, or has
3082 died (as detected by failure of a CORBA exception), it is
3083 restarted before return, and spi_atk_bridge_register_application
3084 is called again to register with the new bridge instance.
3085 (spi_atk_emit_eventv):
3086 Set registry_died on error; use spi_atk_bridge_get_registry () to
3087 access the registry.
3089 * registryd/registry.c:
3090 (impl_accessibility_registry_register_global_event_listener):
3091 Set listener's event_type_quark to etype.minor instead of
3092 etype.major (fix for bug 84856).
3094 * test/event-listener-test.c:
3095 (report_detail_event):
3096 Change the output string so that user/tester can tell that the
3097 'detail listener' was called instead of the 'generic listener'.
3099 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3101 Fixes for bugs 84900, 84908, 84897, 84898.
3106 Revved version to 1.1.0
3107 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3108 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3110 * idl/Accessibility_Registry.idl:
3111 (EventListener::notifyEvent):
3112 Removed 'oneway' directive after extensive consulation with
3113 ORBit2 team and others. This means also that unref() of the event
3114 source can and should be done synchronously after emission, rather
3115 than remotely in the client, after servicing the notify call on
3118 NOTE: This change speeds up listener performance considerably, but
3119 introduces new latency on the application side. We may want to
3120 add an event queue to the atk-bridge.
3122 * atk-bridge/bridge.c:
3123 (spi_atk_bridge_focus_tracker):
3124 Do a local unref() on the event source after emission.
3126 * registryd/registry.c:
3127 (desktop_remove_application):
3128 Do an unref() on the event source after emission.
3129 (desktop_add_application):
3130 Do an unref() on the event source after emission.
3131 (notify_listeners_cb):
3132 When relaying an event, don't automatically add the event source
3133 to the local object cache, just CORBA_dup it instead. Likewise,
3134 if this method reenters, release the ref rather than calling
3136 (impl_registry_notify_event):
3137 No longer call remote unref() on the event source after dispatch.
3139 * libspi/eventlistener.c:
3140 (impl_accessible_event_notify_event):
3141 Removed remote unref ()
3143 * cspi/bonobo/cspi-bonobo-listener.c:
3145 We now call cspi_object_new() instead of cspi_object_add() on
3146 receipt of an event; thus we only have an implicit object ref
3147 while the cspi_event method is being executed. If we need to keep
3148 a reference to the object, the listener must call ref() on the
3149 object. Thus also we don't need to call cspi_object_unref() after
3150 invoking the listener callbacks in this method.
3154 New internal API for creating a new cspi object, without adding it
3155 to the object cache.
3157 Now uses cspi_object_new() to create the cspi object instance.
3159 Now checks to see if the object is in the internal object cache,
3160 and adds it if necessary before incrementing its refcount (note
3161 that new objects are added with a refcount of 1).
3162 (report_leaked_ref):
3163 New method which gives some information on leaked object instances
3164 if leak detection is turned on.
3166 * test/event-listener-test.c:
3167 (timing_test_event):
3168 New method, used for testing event delivery timing for special
3169 events of type "object:test". It reports elapsed time and
3170 events/sec every 500 events.
3172 Added a new listener, 'test listener', to check timing of event
3173 receipt as noted above.
3175 Added some timing output here also, reports elapsed time every 100
3178 * test/stress-test.c:
3179 Emit events of type "object:test", for use with "event-listener-test".
3181 * test/test-simple.c:
3182 (global_listener_cb):
3183 Call Accessible_ref() on the event source before calling
3184 validate_accessible, since the validation process does pointer
3185 comparisons on the event source, meaning that the event source
3186 needs to be added to the local object cache first. Any use of
3187 such pointer comparisons between Accessible objects requires that
3188 the caller hold an explicit reference to those objects.
3189 We also must therefore call Accessible_unref() when leaving this method.
3191 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3193 * registryd/deviceeventcontroller.c:
3194 (spi_controller_update_key_grabs):
3195 Fix for #84735, subsequent keygrab listeners not informed of
3196 registration failure.
3199 (spi_base_construct):
3200 Add an assertion on construct, to make sure the GObject passed in
3201 is really a GObject.
3203 Explicitly initialize object->gobj pointer to NULL;
3205 * cspi/bonobo/cspi-bonobo-listener.c:
3206 (cspi_object_add_ref):
3207 New method, can specify whether to dup-ref a bonobo object passed
3208 in if it's newly added to the object cache.
3210 Now calls cspi_object_add_ref with second param of "FALSE". This
3211 prevents us from doing a pointless dup-ref followed by
3212 release-unref for all those cases where the object is already in
3213 our object cache (fix for #85205).
3215 * atk-bridge/bridge.c:
3216 (spi_atk_bridge_idle_init):
3217 Removed this method, we don't need to initialize in an idle
3220 Changed to call spi_atk_register_event_listeners directly, not via an
3221 idle handler. (fix for #81139)
3222 (gnome_accessibility_module_shutdown):
3223 Removed conditional around deregistration of listeners, since we
3224 don't use the idle handler and thus have always registered when
3226 (spi_init_keystroke_from_atk_key_event):
3227 Changed references to Accessibility_KEY_PRESSED to
3228 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3230 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3232 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3237 * test/stress-test.c:
3240 (may have been an incomplete commit yesterday?)
3242 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3245 Added target for new stress-test.
3247 * test/stress-test.c:
3248 New test, sends 1000 focus notifies in quick succession.
3250 * test/key-listener-test.c:
3251 Now we report whether a keylistener registration
3252 request succeeded or failed.
3254 * test/event-listener-test.c:
3255 Uncommented some listeners which are now implemented.
3258 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3260 * registryd/deviceeventcontroller.c:
3261 (spi_controller_update_key_grabs):
3262 Fix for #82509, lack of failure notification when
3263 ALL_WINDOWS keygrabs fail due to XGrabKey
3264 failure: we synchronize the server when
3265 registering a passive grab, to make sure we get the
3266 error message before the call returns.
3268 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3270 * test/test-simple.c:
3272 Removed #ifdef KEY_IMPL_WORKS guards.
3273 (test_keylisteners):
3274 Removed #ifdef KEY_IMPL_WORKS guards.
3275 Fixed bug which was causing a hang waiting for a
3276 "press" event (which was already overwritten by a "release"
3277 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3279 Added code to set globals 'key_press_received' and
3280 'key_release_received'.
3283 Added section "1.1 API Proposed Additions" which
3284 lists API additions desired for at-spi-1.1 (only one so far).
3285 Updated TODO list a little.
3287 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3289 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3292 * configure.in: Revved to 1.0.0.
3294 * idl/Accessibility_Registry.idl:
3295 (registerKeystrokeListener):
3296 Added boolean return value.
3298 * registryd/registry.c:
3299 (notify_listeners_cb): Minor fix to debug output.
3301 * registryd/Accessibility_Registry.server.in.in:
3302 Revved version number in OAFIID to 1.0.
3304 * registryd/registryd.c:
3306 Use new OAFIID version.
3308 * cspi/bonobo/cspi-bonobo.c:
3310 Use new OAFIID version.
3316 * atk-bridge/bridge.c:
3318 Use new OAFIID version.
3320 * registryd/deviceeventcontroller.c:
3321 (impl_register_keystroke_listener):
3322 Added CORBA_boolean return value.
3323 (spi_controller_register_device_listener):
3324 Added gboolean return value.
3325 (spi_controller_register_global_keygrabs):
3326 Added gboolean return value.
3327 (spi_key_set_contains_key):
3328 Added implementation for many more control keys,
3329 for instance F1-F12, arrow keys, End, Home, Page_Up,
3331 [TODO: some still not implemented].
3333 * text/screen-review-test.c:
3334 (text_chunk_pad_string):
3335 New function: it provides mapping between coordinate
3336 positions of text chunks and character positions in the
3337 screen-review-line output string.
3338 (text_chunk_to_string):
3339 New function, calls text_chunk_pad_string with various
3340 pad/delimiter characters. Pushbuttons are delimited with
3341 square brackets, Frames with vertical 'pipe' lines, and
3342 other text with double quotes.
3343 (text_chunk_list_to_string):
3344 Calls new function text_chunk_to_string.
3345 (toplevel_composite):
3346 New function to composite layers CANVAS through
3347 POPUP in each toplevel (other layers are composited
3348 across toplevels, i.e. BACKGROUND and OVERLAY).
3349 (review_buffer_composite):
3350 Revise to use new methods.
3356 2002-05-31 Laszlo Peter <laca@sun.com>
3358 * configure.in: add the Xtst libdir to the runpath on Solaris,
3359 since it's not in the default library search path.
3361 2002-05-29 jacob berkman <jacob@ximian.com>
3363 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3365 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3367 * test/screen-review-test.c:
3368 (text_chunk_pad_string):
3369 Added method, which pads the string according to the
3370 text bounds of the chunk. It also takes a 3-character
3371 string as a param which indicates the characters to be
3372 used for start, padding, and end delimitation of the chunk.
3373 (text_chunk_to_string):
3374 Changed to use text_chunk_pad_string.
3376 * configure.in: Fixed bug in AC_OUTPUT that was
3377 causing path substitution in Accessibility_Registry.server
3380 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3382 * text/screen-review-test.c:
3383 (guess_string_clip):
3384 New method which attempts a best-guess at clipping
3385 text from components (like Java labels) which don't
3386 actually implement AccessibleText. This inaccurate
3387 clip is based on the assumption that the label is
3388 justified left-and-right, and monospaced.
3389 (text_chunk_get_clipped_string):
3390 We now call guess_string_clip() for text-containing
3391 components that don't implement AccessibleText.
3393 * test/screen-review-test.c:
3394 (review_buffer_get_text_chunk):
3395 We now pull "name" from labels if they do not implement
3396 AccessibleText (i.e. for Java labels).
3397 (get_screen_review_line_at):
3398 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3401 Replaceded AC_OUTPUT target
3402 registryd/Accessibility_Registry.server with
3403 registryd/Accessibility_Registry.server.in.
3405 * registryd/Accessibility_Registry.server.in:
3406 Removed (this is now a Makefile target).
3408 * registryd/Accessibility_Registry.server.in.in:
3409 Added (source for target above). We now use $(libexecdir) as
3410 prefix for the executable at-spi-registryd.
3412 * registry/Makefile.am:
3413 Now install at-spi-registryd into $(libexecdir), and build .server
3414 file with path (see above).
3416 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3418 * test/screen-review-test.c:
3419 (text_chunk_get_clipped_string):
3420 We now check to see if words fall within clip bounds
3421 before resorting to character-by-character clip bounds testing.
3423 * TODO: Added a section for "2.2 Proposed API Additions".
3425 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3427 * test/screen-review-test.c:
3429 Added a screen review benchmarking and test program to test
3432 * cspi/spi_accessible.c:
3434 Made some of the debug strings passed to cspi_check_ev a
3435 little more specific.
3437 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3439 * test/screen-review-test.c: Fix crashes in debug statements
3441 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3443 * test/screen-review-test.c: Added this file.
3445 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3447 * atk-bridge/bridge.c: changed "object:state-change" to
3448 "object:state-changed" to match docs.
3450 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3452 * atk-bridge/bridge.c: Hooked up state-change event details.
3454 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3456 * registryd/registry.c:
3457 Fixed quarking bug in event string parsing; now events with
3458 detail parameters get matched correctly to listeners.
3461 * util/idl/Magnifier.idl: remove.
3463 * util/*.[ch]: Remove.
3464 Magnification utilities and IDL are now in module gnome-mag.
3466 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3468 * registryd/deviceeventcontroller.c:
3469 Fixed bug in grab key conversion which was causing keycode grabs
3470 to be converted to AnyKey grabs.
3473 updated NEWS file to reflect recent spin-off of gnome-mag.
3475 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3477 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3478 busted AccessibleStateSet_compare. Removed redundant casts.
3480 * cspi/spi-action.c: Removed redundant casts.
3482 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3484 * cspi/spi_component.c: Fixed typos and casting error.
3486 * cspi/spi_editabletext.c: Removed redundant casts.
3488 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3490 * cspi/spi_hypertext.c: Eliminated redundant casts.
3492 * cspi/spi_image.c: Eliminated redundant casts.
3494 * cspi/spi_registry.c: Eliminated redundant casts.
3495 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3496 * cspi/spi_selection.c: Removed redundant casts.
3497 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3498 handling. Screen geometry and text offsets were being returned as 0
3499 on error which is technically valid-- changed these to return -1.
3500 Added marshaller for text boundary types to fix bug with boundary
3501 types being passed incorrectly to atk.
3503 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3506 * cspi/spi_registry.c:
3507 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3508 which was uncovered by the recent key changes.
3510 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3512 * test/event-listener-test.c:
3514 Added new test, "event-listener-test";
3515 this code does two things; it benchmarks traversal time
3516 for the accessible hierarchy for the first running accessible
3517 app, and it connects listeners for all supported event types.
3518 It is thus useful as an example event listener and for
3519 diagnostics/debugging of event generation.
3521 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3524 Removed unnecessary dependency on libutil.
3527 Revved micro version: 0.13.1
3529 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3532 Removed util/Makefile from targets.
3535 Removed util subdir from SUBDIRS (temporarily,
3536 pending removal of magnifier-only code
3540 #ifdef-ed out magnifier dependencies, since
3541 magnifier IDL, headers, and binary now live in
3542 module gnome-mag and we don't want at-spi to depend
3543 on gnome-mag. A magnifier demo which can run alongside
3544 simple-at is forthcoming in the gnome-mag module.
3546 NOTE: Split magnifier binary, IDL, and magnification
3547 activation code from at-spi into module gnome-mag.
3549 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3551 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3552 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3554 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3557 Revved to version 0.13.0
3559 * idl/Accessibility_Registry.idl:
3560 Changed definition of KeySet from sequence of longs to sequence of
3561 KeyDefinitions, and added KeyDefinition struct.
3562 Required for fix to bug 80616.
3564 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3565 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3566 to use new definition (see above).
3568 * registryd/deviceeventcontroller.c: handle_keygrab(),
3569 spi_keyset_contains_key():
3570 Changed to make use of new struct; this allows matching based on
3571 string key-name, for instance "Tab". This also allows matching of
3572 composed characters, non-alphanumeric characters in a way that
3573 doesn't involve dependencies on X keysym codes directly, etc.
3575 * test/key-listener-test.c:
3576 Added test for Alt-Tab key using "string" specification of keyset,
3577 and modified one of the tests to use a keycode-based keyset.
3578 Thus this test both tests and demonstrates the creation and use of
3579 keysets of three forms: specified via keycode array,
3580 keysym array, and string array. (The string case only contains a
3581 single string, i.e. a string array of length 1).
3584 Turned on PRINT_TREE option by default. Also fixed a
3585 string-freeing bug in the PRINT_TREE code.
3586 Added a listener to window:minimize events.
3588 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3590 * atk-bridge/bridge.c:
3591 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3592 for window:activate and window:deactiveate
3593 (atk_bridge_property_event_listener atk_bridge_signal_listener
3594 atk_bridge_window_event_listener) Tidy debug code
3596 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3598 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3599 Fixed handling for NULL return value from ATK.
3601 * libspi/action.c libspi/component.c libspi/editabletext.
3602 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3603 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3604 Removed redundant casts.
3606 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3607 Fixed off by one bug.
3609 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3610 function not present in idl)
3612 2002-05-02 jacob berkman <jacob@ximian.com>
3614 * atk-bridge/Makefile.am: make atk-bridge a real module
3616 2002-04-26 Radek Doulik <rodo@ximian.com>
3618 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3619 atk_state_types table
3621 2002-04-22 jacob berkman <jacob@ximian.com>
3624 * libspi/Makefile.am: add deps on the built files to help
3625 automake, and don't version the ORBit typelib
3627 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3629 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3630 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3631 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3632 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3633 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3634 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3635 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3636 libspi/accessible.h libspi/accessible.h libspi/base.h
3637 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3638 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3639 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3640 libspi/spi-private.h libspi/statetset.h libspi/table.h
3641 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3642 util/mag_client.h util/mag_control.c util/mag_image.c
3643 util/mag_image.h util/magnifier.c util/magnifier.h:
3644 Add missing file headers; standardize existing ones
3646 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3648 * atk-bridge/bridge.c: Added window event support.
3650 2002-04-18 Michael Meeks <michael@ximian.com>
3652 * libspi/relation.c (impl_getNTargets): impl.
3653 (impl_getTarget): impl.
3655 * libspi/Makefile.am: fix stateset install.
3657 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3660 Started putting useful info in this file.
3662 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3664 * atk-bridge/bridge.c:
3665 Propagate state-changed notifications to ATs
3667 * cspi/spi_registry.c: update docs to reflect actual behavior of
3668 state-change events.
3670 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3673 Incremented version to 0.12.1
3675 * util/mag_client.h:
3676 Add missing declaration for magnifier_exit,
3677 used by mag_control.c - Forte compiler didn't like
3678 the implicit redeclaration of the function :-(
3681 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3684 Revved version to 0.12 due to API change (see below).
3686 * cspi/spi-roletypes.h:
3687 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3688 definition from the inline docs, and added docs
3689 for SPI_ROLE_LAST_DEFINED.
3692 * cspi/spi_streamablecontent.c:
3693 Added missing seek_type parameter to
3694 (so far unused) method,
3695 AccessibleStreamableContent_seek().
3696 [ RT approval JodyG. ]
3699 Fixed docs for SPI_createAccessibleKeystrokeListener.
3701 * cspi/spi_registry.c:
3702 Fixed docs for SPI_KEYSET_ALL_KEYS.
3704 * docs/reference/cspi/at-spi-cspi-sections.txt:
3705 Added a number of missing APIs to SECTIONS.
3707 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3709 * registryd/Makefile.am:
3711 * cspi/bonobo/Makefile.am:
3712 Add $(X_LIBS) to makefiles.
3714 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3717 Revved version to 0.11.
3719 * libspi/component.c:
3720 Added implementation for grabFocus.
3722 * idl/Accessibility_Component.idl
3723 (Accessibility_Component_grabFocus):
3724 Made this method return boolean to indicate success or failure, to
3725 be consistent with cspi and the corresponding ATK method.
3727 * idl/Accessibility_Selection.idl
3728 (Accessibility_Selection_selectAll) :
3729 Made these methods return boolean to indicate success or
3730 failure, to be consistent with cspi and the corresponding ATK methods.
3732 * idl/Accessibility_EditableText.idl
3733 (Accessibility_EditableText_setTextContents,
3734 Accessibility_EditableText_insertText,
3735 Accessibility_EditableText_cutText,
3736 Accessibility_EditableText_deleteText,
3737 Accessibility_EditableText_pasteText):
3738 Made these methods return boolean to indicate
3741 * cspi/spi_editabletext.c:
3742 Made these methods return booleans.
3744 * libspi/selection.c:
3745 * libspi/component.c:
3746 * libspi/editabletext.c:
3747 Connected the boolean returns from ATK
3748 to the server-side code referenced above.
3750 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3752 * idl/Accessibility_Table.idl: Added missing methods,
3753 Accessibility_Table_addRowSelection,
3754 Accessibility_Table_addColumnSelection,
3755 Accessibility_Table_removeRowSelection,
3756 Accessibility_Table_removeColumnSelection.
3759 Added C wrappers for above IDL:
3760 AccessibleTable_addRowSelection,
3761 AccessibleTable_addColumnSelection,
3762 AccessibleTable_removeRowSelection,
3763 AccessibleTable_removeColumnSelection.
3766 Added server-side implementation code for IDL above, connecting
3767 to pre-existing ATK api.
3769 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3771 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3773 * libspi/accessible.c: Added implementation fo
3774 Accessibility_Accessible_get_state.
3776 * libspi/libspi.h: Added stateset.h to the list of includes.
3778 * libspi/stateset.c: Fixed broken implementation.
3780 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3783 Added implementation code for Accessibility_Magnifier_exit ().
3785 * util/mag_control.c:
3786 Added test code for above method; you can
3787 now kill an existing magnifier via
3788 ./mag_control q, from the util directory.
3790 * test/key-listener-test.c:
3792 Added a new test, for our key listener API.
3794 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3796 * test/app.c, test/keysynth-demo.c:
3798 Replace use of snprintf with g_snprintf.
3799 (fix for bugzilla 78249)
3801 2002-03-27 Michael Meeks <michael@ximian.com>
3805 * util/Makefile.am (INCLUDES): fix.
3806 (DONT_DIST_SOURCE): don't distribute the
3809 * libspi/Makefile.am (dist-hook): ditto.
3811 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3813 * libspi/hypertext.c:
3814 Fix warnings when yelp is used with atk-bridge
3816 2002-03-21 Michael Meeks <michael@ximian.com>
3818 * libspi/application.c (spi_application_new):
3819 use spi_accessible_construct so we use the AtkObject
3822 2002-03-19 Michael Meeks <michael@ximian.com>
3824 * registryd/registry.c (desktop_remove_application),
3825 (desktop_add_application): clean coding style.
3827 * registryd/desktop.c (spi_desktop_remove_application),
3828 (spi_desktop_add_application): kill re-enterency hazards.
3829 (spi_desktop_dispose): remove bogus redundant cast
3830 obscuring bug; fix bug too.
3831 (spi_desktop_init): make the desktop object immortal.
3833 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3836 Added a #define-guarded tree-traversal step
3837 when enumerating the apps (diagnostic tool).
3839 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3841 * idl/Accessibility_Role.idl:
3842 Added ROLE_DRAWING_AREA which seemed to be missing from the
3845 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3847 * cspi/spi-roletypes.h cspi/spi_accessible.c
3848 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3851 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3852 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3853 AT when applications are added and removed from the desktop. This
3854 reverts the previous broken implementation using the backing
3855 AtkObject for the SpiDesktop.
3857 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3859 * registryd/desktop.c: emit the "children-changed::add" and
3860 "children-changed::remove" signals on the backing ATK object for
3861 the desktop so AT can tell when applications are started and shut
3864 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3866 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3868 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3870 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3872 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3874 * cspi/state-types.h: synched with IDL and ATK
3876 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3878 * libspi/accessible.c
3879 (impl_accessibility_accessible_get_child_at_index):
3880 Change return value for g_return_if_fail ()
3881 to CORBA_OBJECT_NIL instead of "0" (!)
3883 * registryd/Makefile.am:
3884 * registryd/Accessibility_Register.server.in:
3885 Changed name of executable, "registryd",
3886 to something more informative:
3889 2002-03-13 Michael Meeks <michael@ximian.com>
3891 * atk-bridge/bridge.c (atk_bridge_init): don't register
3892 if we're in a bonobo-component, rather than a bonobo app.
3894 2002-03-13 Michael Meeks <michael@ximian.com>
3896 * atk-bridge/bridge.c (gtk_module_init): split
3897 out body to (atk_bridge_init): here, since otherwise
3898 we get symbol conflicts and oddness when invoked
3899 from (gnome_accessibility_module_init): here (upd.)
3901 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3904 New file. Explicitly allow "build sheriff" putbacks provided
3905 they are tested on Solaris.
3907 * docs/reference/cspi/Makefile.am:
3908 Added '-' to the "cp" command for index.sgml.
3909 ("patch by thomasvs, soon coming to a GUADEC near you")
3912 Incremented version number (0.9.0) for new release.
3913 Changed macro that checks for popt, to better detect
3914 obsolete versions of popt.
3917 Added X_LIBS to AC_SUBST, for applications
3918 that call Xlib API directly.
3921 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3924 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3927 Fix regression caused by hard-coding major
3928 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3931 * test/test-simple.c (test_editable_text),
3932 (test_test): revert previous change (error was
3933 a regression in gail which is now fixed).
3935 2002-03-04 Michael Meeks <michael@ximian.com>
3937 * test/test-simple.c (test_editable_text),
3938 (test_text): pass G_MAXINT instead of '-1' for
3939 whole string - is this a good thing !?
3941 * cspi/spi_accessible.c
3942 (Accessible_getRelationSet): fix crasher bug
3943 overwriting the end of the array.
3945 * test/test-simple.c (validate_accessible): free,
3946 not g_free returned relation set.
3948 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3950 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3951 implemented stateset support
3953 * idl/Accessibility_State.idl: Made necessary changes to
3954 the IDL to support state sets.
3956 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3958 * registryd/deviceeventcontroller.c:
3959 Added implementation for generateMouseEvent.
3961 * cspi/spi_registry.c:
3962 Connected new implementation for generateMouseEvent
3965 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3968 Incremented revision (but no change in public API
3969 outside of 'utils', which are not installed public yet.)
3971 * libspi/component.c:
3972 Changed to use atk_component API for layers and
3973 mdi_zorder, instead of deprecated atk_object API.
3975 Magnification Utility Enhancements:
3978 Added implementation of createZoomRegion, clearAllZoomRegions,
3979 resizeZoomRegion. Added new commandline argument
3980 "--no-initial-region". Note that clearAllZoomRegions doesn't
3981 unmap the old '0' region as it should (yet), and the other
3982 methods only work when creating/resizing a single region,
3983 which is "region 0".
3984 (Code for multiple region support will be added later.)
3987 Now we raise the magnifier window each time it's refreshed;
3988 this will help keep it on top.
3990 * util/mag_client.h:
3991 Added simple wrappers for above, used by mag_control.
3992 For general use, it's recommended to use the bonobo magnifier
3993 control API directly instead of using these wrappers.
3996 Moved ZoomRegionData from magnifier.c to this file.
3998 * util/mag_control.c:
3999 Added some code to exercise new IDL implementations.
4001 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4003 * libspi/text.c: Provide implementation for getAttributes.
4005 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4008 Incremented revision.
4010 * test/test-simple.c:
4011 Replaced use of deprecated g_main_iteration with
4012 g_main_context_iteration.
4014 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4017 Incremented revision for desktop alpha 2.
4019 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4021 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4024 * test/simple-at.c: include netinet/in.h.
4026 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4028 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4029 use NULL, not CORBA_OBJECT_NIL.
4031 * libspi/accessible.c:
4032 (impl_accessibility_accessible_get_relation_set):
4033 allocate the sequence correctly.
4035 * libspi/remoteobject.h: kill spi_remote_object_new.
4037 * test/test-simple.c: (validate_accessible): add code
4038 to test relation sets, now all we need is to figure
4039 out how to excercise this code path :/
4041 2002-01-18 Michael Meeks <michael@ximian.com>
4043 * test/test-simple.c
4044 (key_listener_cb): consume the key.
4045 (test_keylisteners): update.
4046 (main): wait for any pending unrefs on events.
4048 * registryd/deviceeventcontroller.c
4049 (spi_controller_update_key_grabs): only re-issue the
4050 grab on a key release.
4051 (spi_device_event_controller_forward_key_event):
4052 refresh the keygrabs before we notify the listeners,
4053 to reduce the X ungrab / re-grab race.
4054 (spi_controller_register_with_devices): remove
4055 XSelectInput - we do that with the gdk_window_ call.
4056 (_spi_controller_device_error_handler): return a value.
4057 s/GDK_DISPLAY/spi_get_display/
4059 2002-01-17 Michael Meeks <michael@ximian.com>
4061 * registryd/deviceeventcontroller.c
4062 (_deregister_keygrab): don't blow out the later
4065 * test/test-simple.c (test_keylisteners): do a
4066 more intelligent validation.
4068 2002-01-14 Michael Meeks <michael@ximian.com>
4070 * atk-bridge/bridge.c
4071 (gnome_accessibility_module_init),
4072 (gnome_accessibility_module_shutdown): impl.
4073 (gtk_module_init): protect vs. double inits.
4074 (add_signal_listener): impl.
4075 (spi_atk_bridge_state_event_listener): kill
4076 (deregister_application): split out of
4077 (spi_atk_bridge_exit_func): here.
4079 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4082 Added caret tracking when using magnifier, and
4083 now use text bounds for focus tracking of text elements, rather than
4084 the component bounds - this is helpful for short text fields in long
4085 table cells, at high magnification.
4087 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4089 * registryd/deviceeventcontroller.c:
4090 Regression fix for keylistener de-registration; global keygrabs
4091 were not being released when deregisterKeystrokeListener was
4092 called in cspi, since
4093 Accessibility_DeviceEventController_deregisterKeystrokeListener
4094 was called with a zero-length keyset. That is because the cspi
4095 method, SPI_deregisterKeystrokeListener, does not take a keyset
4096 parameter but instead should remove all the key grabs held be a
4098 The code in impl_deregister_keystroke_listener was changed to copy
4099 the keylist from the listener instance previously registered with
4100 the DeviceEventController before releasing the grabs.
4102 * registryd/registry.c:
4103 * registryd/deviceeventcontroller.c:
4104 * libspi/spi-private.h:
4106 Changed spelling of "re-enterant" to "re-entrant" globally.
4108 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4110 * test/test-simple.c:
4111 Changed key listeners test - the test was slightly mis-using the
4112 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4113 It now uses '=' as the key event listened to and generated,
4114 relying on a keysym match rather than assuming that keycode 33
4115 is always equal to keysym '!'.
4117 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4120 Changed simple-at to use a specific keyset, rather than
4121 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4122 manager, desktop, etc.
4124 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4126 * registryd/deviceeventcontroller.c:
4127 Replaced standard X error handler with a special handler that
4128 is non-fatal for failed keygrabs. This works around
4129 problems with keygrab clashes sometimes observed on
4131 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4132 mouse handling code as yet).
4134 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4137 Incremented revision for desktop alpha release.
4140 Fixed a couple of the more glaring errors (still not
4143 2002-01-11 Michael Meeks <michael@ximian.com>
4145 * registryd/deviceeventcontroller.c
4146 (spi_device_event_controller_forward_key_event): kill
4147 XUngrabKey / XKeyGrab race.
4148 (spi_controller_grab_keyboard): rename to
4149 (spi_controller_update_key_grabs): this, and deal
4150 with incremental adding / removing grabs more
4152 (_register_keygrab): ensure we're not pending a remove.
4153 (spi_grab_mask_free): impl.
4154 (spi_controller_register_global_keygrabs): split out
4156 (handle_keygrab): impl.
4157 (_deregister_keygrab): impl.
4158 (spi_controller_deregister_global_keygrabs): impl.
4159 (spi_controller_update_key_grabs): re-issue the grab if
4160 we just recieved a notification.
4162 * test/test-simple.c (key_listener_cb): remove debug.
4164 * registryd/deviceeventcontroller.c
4165 (spi_controller_register_device_listener): after
4166 registering a global keygrab, actualy register it !
4167 don't wait for a timeout; doh !
4169 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4170 to make it more readable / manipulable.
4171 s/grabmask/grab_mask/ s/refcount/ref_count/
4172 s/keyval/key_val/ s/modmask/mod_mask
4174 2002-01-08 Michael Meeks <michael@ximian.com>
4176 * registryd/deviceeventcontroller.c
4177 (spi_controller_register_with_devices): use gdk calls to
4179 (global_filter_fn): implement the filter.
4180 (spi_device_event_controller_check_key_event): rename to
4181 (spi_device_event_controller_forward_key_event): this & upd.
4182 (spi_get_display): replace with GDK_DISPLAY.
4184 * registryd/deviceeventcontroller.c
4185 (spi_controller_deregister_device_listener): unroll into
4186 (impl_deregister_keystroke_listener): here to simplify.
4187 (spi_controller_register_global_keygrabs): split cut and
4188 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4189 (spi_controller_deregister_device_listener): remove.
4190 (impl_register_mouse_listener): remove, no mouse listener
4191 support in at-spi-1.0
4193 * registryd/registry.c
4194 (_device_event_controller_hook): kill.
4195 (spi_registry_init): upd.
4197 * registryd/deviceeventcontroller.c
4198 (spi_device_event_controller_class_init): upd.
4199 (spi_check_key_event): merge into.
4200 (spi_device_event_controller_check_key_event):
4201 here and kill strange static ev init, don't leak
4202 the x_event - nor dynamicaly allocate it.
4204 * registryd/registry-main.c (main): re-direct
4205 timeout to remove strange vtable mess.
4207 * registryd/deviceeventcontroller.c
4208 (remove_listener_cb): impl.
4209 (spi_controller_deregister_device_listener):
4210 fix re-enterancy hazard.
4212 2002-01-07 Michael Meeks <michael@ximian.com>
4214 * registryd/deviceeventcontroller.c
4215 (spi_device_event_controller_new): upd.
4216 (impl_notify_listeners_sync): upd. debug.
4217 (spi_notify_keylisteners): fix re-enterancy hazards,
4218 prettify, remove O(n*n) iteration.
4219 (spi_controller_grab_keyboard): fix iteration.
4220 (spi_check_key_event): re-format to suit coding style.
4221 Clean all the warnings - we're warning free.
4223 * registryd/deviceeventcontroller.h:
4224 * registryd/registry.h: make mutualy referential with
4225 typesafe forward references instead of (!) void pointer
4228 2002-01-11 Michael Meeks <michael@ximian.com>
4230 * cspi/spi_accessible.c (role_names): add a role name
4231 to sync this array with the enum; and make the regression
4234 2002-01-10 Michael Meeks <michael@ximian.com>
4236 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4237 allow expansion of enumeration & kill warning.
4239 * test/test-simple.c (key_listener_cb): impl.
4240 (test_keylisteners): impl.
4242 * cspi/spi-listener.h: make listener signatures const
4243 on the provided (const) events.
4245 * test/keysynth-demo.c: upd. to const events.
4247 * test/simple-at.c: ditto.
4249 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4252 Rev the version to 0.5 (the previous tarball was named 0.4,
4253 even though the micro number was 3), so we need to rev upwards
4254 again for beta2/"desktop-alpha"
4257 Checked in a demo script, which requires editing before use!
4258 Proceed with caution.
4261 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4263 * cspi/spi_accessible.c:
4264 Add a couple of missing enum initializations, and fix some enum
4267 * cspi/spi_registry.c:
4268 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4270 * docs/reference/cspi/at-spi-cspi-sections.txt:
4271 Remove/fix a couple of broken document references.
4274 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4275 as Alt-Control to listen for commands, since on some systems
4276 Control-Alt may already be grabbed.
4278 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4281 Update version number to 0.4 for Beta2.
4283 * libspi/accessible.c, libspi/accessible.h:
4284 Expose spi_accessible_construct, to enable libgail-gnome
4285 construction from spi_accessible subtype.
4287 * utils/magnifier.c:
4288 Workaround for bug in some non-gnome-compliant window managers
4289 which made magnifier resize improperly.
4291 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4293 * libspi/accessible.c: (spi_accessible_new) :
4294 Move the test for SPI_IS_REMOTE_OBJECT to
4295 spi_accessible_new_return, fixing a bug and compile time warning.
4297 2002-01-08 Michael Meeks <michael@ximian.com>
4299 * registryd/registry.c (parse_event_type): remove strndup.
4301 * libspi/Makefile.am (libspi_la_SOURCES): remove
4302 sources already included in the headers section.
4304 * libspi/util.c: add.
4306 * libspi/spi-private.h: add.
4308 * registryd/registry.c: update to moved list iterators.
4310 2002-01-05 Michael Meeks <michael@ximian.com>
4312 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4314 * test/test-simple.c (main): ditto.
4316 2002-01-04 Michael Meeks <michael@ximian.com>
4318 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4319 redundant construct.
4321 * registryd/registry.c
4322 (get_listener_list): impl.
4323 (impl_accessibility_registry_register_global_event_listener):
4324 re-impl. to simplify using ~, remove dodgy const cast off.
4325 (parse_event_type): constify.
4326 (impl_accessibility_registry_deregister_global_event_listener_all):
4327 re-write, more efficiency and simplicity, kill re-enterancy
4329 (compare_listener_corbaref, compare_corba_objects),
4330 (compare_listener_quarks): define out.
4331 (impl_accessibility_registry_deregister_global_event_listener):
4332 re-write for effiency, and nail re-enterancy hazard.
4333 (impl_accessibility_registry_get_desktop_list): impl.
4334 (re_enterant_list_delete_link): impl.
4335 (re_enterant_list_foreach): impl.
4336 (remove_listener_cb): impl.
4337 (_registry_notify_listeners): kill.
4338 (notify_listeners_cb): impl.
4340 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4341 (SPI_getDesktopList): impl.
4343 * test/test-simple.c (test_desktop): test the methods.
4345 2002-01-03 Michael Meeks <michael@ximian.com>
4347 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4348 keystrings since we free them
4349 (SPI_freeAccessibleKeySet): in here.
4351 * libspi/accessible.c (spi_accessible_new): kill warning,
4352 wonder what is going on with the constructor here.
4354 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4356 * libspi/accessible.c (spi_accessible_new ()) :
4357 Added check to see if AtkObject is an SpiRemoteObject before
4358 creating an SpiAccessible.
4360 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4362 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4363 Enable keygrabs using the Control modifier, now that they are
4364 working properly (they were previously disabled).
4367 Change the command keygrab for this demo to "Control+Alt", so as
4368 to conflict with fewer other key commands on the system; this
4369 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4371 Removed a pointlessly-chatty keylistener for unshifted keys
4372 (shifted keys are still reported).
4374 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4376 * libspi/remoteobject.h:
4377 * libspi/remoteobject.c:
4378 Added definitions for special AtkObject subtype, required for
4379 support of remote components (specifically, used by BonoboControl
4380 accessibility implementation).
4382 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4384 * cspi/spi.h: synched relation types with ATK
4386 * cspi/spi_accessible.c: Added implementations of
4387 AcccessibleRelation_* methods
4389 * idl/Accessibility_Relation.idl: added getRelationTypeName
4390 method. Synched known relation types with ATK. Allowed for
4391 relation type extension with the RELATION_EXTENDED type.
4393 * libspi/relation.c: Provided implementations for
4394 AccessibleRelation methods.
4396 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4398 API tweaks for today's API 'freeze'.
4401 Added placeholder functions to allow future compatible expansion
4402 of the IDL interfaces.
4404 * idl/Accessibility_Registry.idl:
4405 Changed generateKeyEvent to generateKeyboardEvent. Changed
4406 signature of this method to accept an optional keystring in
4407 parameter (for complex text input synthesis) and changed use of
4408 simple 'boolean' parameter in registerKeystrokeListener to a
4409 struct, EventListenerMode.
4411 * cspi/spi_accessible.c:
4413 * cspi/spi_streamablecontent.c:
4414 Added references to AccessibleStreamableContent interface, and
4415 definition and implementation of AccessibleStreamableContent
4418 * cspi/spi_registry.c:
4420 Changed generateKeyEvent API to generateKeyboardEvent,
4421 taking a new (optional) keystring parameter to support complex
4426 Renamed directory (to better reflect its actual purpose, bridging
4427 from at-spi to ATK). The .so module is also now named
4430 * idl/Accessibility_Hypertext.idl:
4431 * libspi/accessible.c:
4432 * libspi/hypertext.h:
4433 * libspi/hypertext.c:
4434 Changed Accessibility_Hypertext to *not* derive from
4437 * cspi/spi_registry.c:
4438 Added list of legal event type names for 'window' events, which
4439 completes the registry event API.
4441 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4443 * at-bridge/bridge.c: Added registration for separate
4444 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4445 signals. If either of the first two parameters to the generic
4446 bridge signal handler are ints, they are passed on as event
4447 details. This allows an AT to determine what text was inserted.
4449 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4451 * registryd/deviceeventcontroller.c:
4452 Fixed regressions in generateKeyEvent caused by the removal of
4453 gdk_init from registryd; we now use pure X calls to connect to the
4454 display, which makes sense because deviceeventcontroller already
4455 uses a fair bit of X API (should eventually be migrated to a
4456 'portability layer').
4458 * registryd/desktop.c:
4459 Fixed minor regression in spi_desktop_init, changed the way the
4460 desktop name is being set to work with new spi_base API
4461 (gobject-based, rather than AtkObject-based).
4463 * registryd/Makefile.am:
4464 Minor revision of makefile to use XTST_LIBS variable rather than
4465 hard-wiring the Xtst LD_ADD element.
4467 * test/keysynth-demo.c:
4468 Tweaked an output message; added initialization of the
4469 'keystrings' member of the "switch listener" key_set.
4471 * libspi/relation.c:
4472 Squashed compile-time warning.
4474 * libspi/accessible.c:
4475 Cosmetic and formatting fixes, renamed a static method.
4477 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4479 * libspi/accessible.c
4481 * libspi/application.c
4484 * libspi/component.c
4485 * libspi/editabletext.c
4486 * libspi/hyperlink.c
4487 * libspi/hypertext.c
4489 * libspi/selection.c
4493 * registryd/desktop.c:
4494 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4496 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4498 * idl/Accessibility_Registry.idl:
4499 Added boolean member 'is_text' to DeviceEvent. This is for the
4500 use of key events, and helps prevent ambiguity between composed
4501 key strings and keysym names, since both may potentially be
4502 returned in the 'event_string' member.
4504 * at-bridge/bridge.c:
4505 * registryd/deviceeventcontroller.c:
4506 Use the 'is_text' member when notifying device event listeners.
4507 Knon issue: composed characters are not dealt with correctly by
4508 the global key listener implementation yet.
4510 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4512 * at-bridge/bridge.c:
4513 Namespaced local static methods to spi_atk_bridge_* where
4514 previously named bridge_*, and spi_* elsewhere.
4516 * at-bridge/bridge.c:
4517 * cspi/bonobo/cspi-bonobo-listener.c:
4518 Added demarshalling/conversion for string member of
4519 Accessibility_DeviceEvent to AccessibleKeystroke.
4521 * registryd/deviceeventcontroller.c:
4522 Added code to fill the Accessibility_DeviceEvent key string value
4523 member for global key events (i.e. from XGrabKey), to match
4524 behavior of Accessibility_DeviceEvent from the toolkit key events
4525 from the bridge. Fixed timestamp in global key event notifications.
4528 Added printout of key event's string value to
4529 report_ordinary_key_event, for demo/debugging purposes.
4531 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4533 * idl/Accessibility_Registry.idl:
4534 Removed Accessibility_KeyStroke structure in favor of generic
4535 Accessibility_DeviceEvent structure.
4536 Changed Accessibility_ControllerEventMask from a struct to an
4539 * at-bridge/bridge.c:
4540 Changed APIs to use DeviceEvent structure as above, and removed
4541 bogus casting between these event structures.
4543 * cspi/spi-listener.h:
4544 Added keystring member of AccessibleKeystroke structure, to enable
4545 matching on event "names" rather than only hardware codes and
4549 Added keystrings member of AccessibleKeySet struct, to allow
4550 matching on event names (as above).
4551 Added declarations for SPI_createAccessibleKeySet and
4552 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4553 event modmasks directly as unsigned ints rather than structs with
4554 refcounts, in the DeviceEventController methods.
4556 * cspi/spi_registry.c:
4557 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4559 * cspi/spi-roletypes.h:
4560 Added documentation of newly added SPI Roles.
4562 * cspi/bonobo/cspi-bonobo-listener.c:
4563 Changes in support of API changes above.
4565 * libspi/accessible.c:
4566 Converted APIs to use DeviceEvent structure (see IDL changes
4569 * registryd/deviceeventcontroller.c:
4570 Added DEControllerGrabMask structure to track keygrabs not only by
4571 modmask but by keyset as well; this allows us to do "global"
4572 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4573 grabbing on AnyKey and then filtering after-the-fact.
4574 Bugfixes for event filtration mean that we don't get false matches
4575 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4577 * registryd/deviceeventcontroller.c:
4578 Namespaced a number of static methods to use spi_ prefix. Major
4579 revision to internals of global (i.e. X) key grabs.
4581 * registryd/deviceeventcontroller.h:
4582 Removed keymask_list and added keygrabs_list to
4583 SpiDeviceEventController struct.
4586 Added use of SPI_createAccessibleKeySet API when creating a
4587 listener for only one key. Attach a listener to "shift spacebar
4588 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4589 X key event names to SPI key event names, so that listeners are
4590 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4592 * test/keysynth-demo.c:
4593 Changed (incorrect) use of X key event names (KeyPressed,
4594 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4597 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4599 * libspi/accessible.c:
4600 Convert all AtkRole enumerations to Accessibility_Role enums when
4601 getting a role from an AtkObject.
4603 * cspi/spi_accessible.c:
4604 Complete the conversion of Accessibility_Role enums at runtime to
4605 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4606 role enums correctly match those given in spi-roletypes.h.
4607 Re-synchronize the local names list for AccessibleRole_getName ().
4608 AccessibleRole_getName is now deprecated, since it duplicates the
4609 more reliable Accessible_getRoleName.
4610 Added some role types from Accessibility_Role.idl.
4612 * idl/Accessibility_Role.idl:
4613 Added some role types used by AtkRole.
4615 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4618 * cspi/spi_registry.c:
4620 * cspi/cspi-bonobo-listener.c:
4621 Namespaced all methods that did not begin with an "SPI_" or
4622 "Accessible" prefix to "SPI_".
4625 Homogenized internal function namespace to "cspi_" for statics.
4628 Patched tests to use the new CSPI API.
4630 * docs/reference/cspi/at-spi-cspi-sections.txt:
4631 Updated docs to reflect namespace changes, and added a number of
4632 methods to the documentation.
4634 * registryd/registry.c:
4635 Changed use of strings and string hashes in listener event
4636 matching and parse_event_string to use GQuark, which is guaranteed
4639 * registryd/registry.h:
4640 Squashed annoying warning.
4642 * idl/Accessibility_Role.idl:
4643 Extended range of available Accessibility_Role values.
4645 * cspi/spi_accessible.c:
4646 Re-ordered role names.
4648 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4650 * idl/Accessibility_Value.idl:
4651 Revert use of union back to CORBA_double, since the double type is
4652 more efficient and can contain the other types without loss of
4655 * idl/Accessibility_Accessible.idl:
4656 Added method Accessibility:Accessible:getRoleName, to complement
4657 Accessibility:Accessible:getRole.
4659 * cspi/spi_accessible.c:
4661 Added C binding for above, Accessible_getRoleName (), and changed
4662 signature of Accessible_getRole () to return an AccessibleRole.
4664 * cspi/spi-roletypes.h:
4665 Changed AccessibleRole_getName to return a char * instead of a
4666 const char *. This method is now at least temporarily deprecated
4667 in favor of asking Accessibles for their RoleNames directly.
4670 Revert to match Accessibility_Value.idl;
4674 Change signature of AccessibleValue methods to use double rather
4678 * cspi/spi_accessible.c:
4679 Changed Accessible_getRole to return an AccessibleRole enum rather
4680 than a UTF-8 string. The UTF-8 string can still be obtained via
4681 AccessibleRole_getName ().
4683 * test/test-simple.c:
4684 Add test_action. Small fixup to match API change to Accessible_getRole.
4687 Bugfix for get_action_from_servant ().
4689 2001-12-11 Michael Meeks <michael@ximian.com>
4691 * libspi/libspi.h: remove registry.h and
4692 desktop.h, deviceeventcontroller.h
4694 * libspi/Makefile.am: remove registry.[ch],
4695 desktop.[ch], deviceeventcontroller.[ch]
4697 * registryd/Makefile.am: add registry.[ch],
4698 desktop.[ch], rename registryd.c to registry-main.c.
4699 add deviceeventcontroller.[ch]
4701 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4704 Replace setenv() call with putenv ().
4706 * libspi/component.c:
4707 Bugfix in AccessibleComponent_getExtents (),
4710 2001-12-11 Michael Meeks <michael@ximian.com>
4712 * libspi/image.c (impl_getImageExtents): impl.
4713 (spi_image_class_init): upd.
4716 (AccessibleImage_getImageDescription): fix daft bug
4719 * test/test-simple.c (global_listener_cb): update
4720 to only quit if not --poke
4721 (main): catch --poke.
4722 (validate_accessible): upd. dumping, call test_image
4725 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4728 * idl/Accessibility.idl: update all IDL includes.
4730 * idl/*.idl - rename to namespace - this sucks, blame
4731 mjs' bad decision for oafd.
4733 * test/test-simple.c (create_test_window): add more tests.
4734 (create_tree): split this out.
4735 (validate_accessible): bugfix.
4737 2001-12-11 Michael Meeks <michael@ximian.com>
4739 * cspi/bonobo/cspi-bonobo-listener.c:
4740 (cspi_kestroke_listener_unref),
4741 (cspi_event_listener_unref): impl. undoing previous
4742 homenous environment - for Bill.
4744 * cspi/spi_table.c (long_seq_to_array): use
4747 * cspi/spi_main.c: split out all bonoboish bits into
4750 * cspi/spi-impl.h: upd. typedefs.
4752 * cspi/spi_registry.c: update to lowlevel API,
4753 return booleans to indicate success in some places.
4755 * cspi/spi_event.c: update to lowlevel API.
4757 * cspi/bonobo/Makefile.am: add.
4759 * cspi/bonobo/cspi-lowlevel.h: add
4761 * cspi/bonobo/cspi-bonobo.c: add
4763 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4765 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4766 (SUBDIRS): add bonobo, link in the libs.
4768 * cspi/spi-util.c: kill this file.
4770 * TODO: merge in my bits.
4772 2001-12-11 Michael Meeks <michael@ximian.com>
4774 * test/test-simple.c (test_value, test_table, main):
4775 remove unused variables causing warnings.
4777 * configure.in: cleanup checks - require gail.
4779 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4782 Changed Value interface to use SValue (scalars) rather than
4783 assuming all values are floats. This allows floats, doubles,
4784 longs, shorts, and unsigned values to be manipulated.
4785 Introduced Accessibility:SValue union.
4788 Updated to use new API above, and to work correctly with GValues
4789 of different types in AtkValue.
4792 Updated to use new API above. cspi's API is as yet unchanged.
4795 Updated the Value revision action item.
4797 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4799 * test/test-simple.c:
4800 Added test_table (GtkTreeView widget in test window to follow).
4801 Un-commented test_value, added GtkRange widget.
4802 Added GtkTreeView widget with GtkListStore. It passes regression
4803 test but leaks one SPI object for some reason.
4806 Fixed bug in impl__set_currentValue.
4808 2001-12-10 Michael Meeks <michael@ximian.com>
4810 * cspi/spi_text.c: audit for exception handling,
4811 tolerating NULL object references safely etc.
4813 * cspi/spi_value.c: ditto.
4815 * cspi/spi_table.c (AccessibleTable_getSummary),
4816 (AccessibleTable_getAccessibleAt),
4817 (AccessibleTable_getRowHeader),
4818 (AccessibleTable_getColumnHeader),
4819 (AccessibleTable_getCaption): fix bugs hidden by
4821 (long_seq_to_array): impl.
4822 (AccessibleTable_getSelectedRows),
4823 (AccessibleTable_getSelectedColumns): use it.
4825 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4828 Added a TODO list (rough and short for now).
4830 * cspi/spi_hyperlink.c:
4831 * cspi/spi_hypertext.c:
4832 Fixed macro name typos, and remove use of obsolete macro in
4833 AccessibleHyperlink_getLink.
4835 * cspi/spi_action.c:
4836 * cspi/spi_accessible.c:
4837 * cspi/spi_application.c:
4838 * cspi/spi_component.c:
4839 * cspi/spi_selection.c:
4842 Documentation fixes (removed return values from ref/unref methods).
4844 2001-12-10 Michael Meeks <michael@ximian.com>
4846 * cspi/spi_action.c: audit for exception handling,
4847 tolerating NULL object references safely etc.
4849 * cspi/spi_accessible.c: ditto.
4851 * cspi/spi_component.c: ditto.
4853 * cspi/spi_editabletext.c: ditto.
4855 * cspi/spi_hyperlink.c: ditto.
4857 * cspi/spi_hypertext.c: ditto.
4859 * cspi/spi_image.c: ditto.
4861 * cspi/spi_selection.c: ditto.
4863 2001-12-10 Michael Meeks <michael@ximian.com>
4865 * configure.in: use cspi/libspi.pc.in instead.
4867 * Makefile.am (pkgconfig_DATA): upd. to match.
4869 * test/simple-at.c (report_focus_event): kill hacks around
4870 bad return values, use putenv not setenv
4872 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4873 fire ChildGone - I killed it.
4875 * libspi/component.c
4876 (impl_accessibility_component_get_extents): remove
4879 * idl/Accessible.idl: kill ChildGone exception.
4881 * cspi/*.[ch]: kill int return from ref / unref.
4883 * cspi/spi_main.c (cspi_object_add_check): fold into
4884 (cspi_object_add): here.
4886 * cspi/spi_component.c (AccessibleComponent_getExtents):
4887 handle exceptions elegantly.
4889 * cspi/spi-private.h (cspi_check_ev_return),
4890 (cspi_return_if_fail): impl.
4892 * cspi/spi_accessible.c: use extensively.
4893 (AccessibleStateSet_equals): add direct compare check.
4895 * cspi/spi_selection.c: tolerate NULL objs, and check
4896 exceptions before return.
4898 * cspi/spi-util.c (cspi_warn_ev): rename to
4899 (cspi_check_ev): this & don't pass ev in; no point.
4901 2001-12-10 Michael Meeks <michael@ximian.com>
4903 * test/test-simple.c: use putenv not setenv
4904 (get_environment_vars): more chatty if you're not using
4907 * test/simple-at.c: do the setenv so more people see the
4910 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4912 * libspi/registry.c:
4913 Changed check of CORBA_environment on notification to be a warning
4914 instead of an error for the moment, since we can recover from this
4915 error when caused by a queued notification from a dead app.
4918 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4919 used by all current implementors of AtkValue), and coerce to
4920 CORBA_float. (Proper general case fix may require change to Value.idl).
4922 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4926 * cspi/spi_accessible.c:
4927 Documentation fixes: added user_data params to documentation for
4928 listeners and callbacks.
4930 * cspi/spi_accessible.c:
4931 Changed AccessibleStateSet_compare to return a
4932 StateSet rather than return the difference set into a third parameter.
4935 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4938 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4939 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4943 Remove subdirectory po from SUBDIRS for now.
4945 * at-bridge/bridge.c:
4946 Beefed up a couple of debug printouts.
4947 One-line fix for signal notification name formatting.
4949 * libspi/accessible.c:
4950 Added assertion to spi_accessible_new ().
4952 * libspi/application.c:
4953 Put #ifdef qualifiers around a printf.
4956 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4958 * registryd/Makefile.am:
4960 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4961 INTLTOOL_SERVER_RULE macro.
4964 Added an event listener for several ATK signals, for
4965 testing and debugging. Removed a few g_warnings.
4966 Added test output if focussed item implements the Value interface.
4968 * test/test-simple.c:
4969 Added test_value () function (known not to pass at the moment, so
4970 not actually called yet.
4972 2001-12-08 Michael Meeks <michael@ximian.com>
4974 * at-bridge/bridge.c (bridge_focus_tracker),
4975 (emit_eventv): fix the same ref. leak.
4976 (register_atk_event_listeners): don't leak.
4978 * cspi/spi-listener-impl.c (cspi_event): more
4979 protection from client code.
4981 * test/test-simple.c (test_desktop): unref the app.
4983 * test/Makefile.am: upd. TESTS.
4985 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4987 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4989 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4991 * cspi/spi_registry.c: constify in strings.
4992 (deregisterGlobalEventListenerAll): don't release the ref.
4994 * cspi/spi.h: start removing redundant / conflicting
4995 gtkdoc comments, making the API readable at a glance :-)
4997 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4999 * test/keysynth-demo.c (keysynth_exit, main): upd.
5001 * test/simple-at.c (main, simple_at_exit): upd.
5003 * test/test-simple.c (unutterable_horror): kill.
5004 (utterable_normal_derefs): kill.
5005 (main): upd & do a setenv before gtk_init, so that we
5006 can use memprof - and to save the pain of remembering
5007 this, if we're running under memprof - don't exit.
5009 * cspi/spi_main.c (SPI_exit): return exit status
5011 (SPI_event_quit): impl.
5012 (SPI_event_main): simplify.
5013 (cspi_is_gnome_app): kill.
5014 (SPI_init): kill isGNOMEapp arg.
5016 * at-bridge/bridge.c (register_atk_event_listeners):
5017 re-instate the unref.
5018 (bridge_exit_func): don't re-activate the registry,
5019 protect vs. theoretical re-entry, use the
5020 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5021 assert a clean shutdown - for regression tests.
5023 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5025 * configure.in: Comment out dummy i18n support for now,
5026 otherwise it fails to build.
5027 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5028 EXTRA_DIST. They are missing in tarball.
5030 2001-12-07 Michael Meeks <michael@ximian.com>
5032 * util/magnifier.c: kill bonobo activation reg. race.
5034 * libspi/component.c
5035 (impl_accessibility_component_get_extents): make it match
5038 * libspi/registry.c (_registry_notify_listeners):
5039 re-remove X headers & reconcile conflicts.
5040 (spi_listener_struct_free): bad conflict resolve.
5041 (impl_accessibility_registry_register_application):
5042 more bad merging fixed.
5043 (impl_accessibility_registry_deregister_application): ditto.
5044 (spi_registry_new): ditto.
5045 (spi_registry_init): don't have an applications field.
5047 [ merge fixups2 branch to here ]
5048 2001-12-07 Michael Meeks <michael@ximian.com>
5050 * test/simple-at.c (report_focus_event),
5051 (report_focussed_accessible): remove g_warning debug.
5053 2001-12-07 Michael Meeks <michael@ximian.com>
5055 * test/test-simple.c (validate_tree): comment out some checks.
5056 (test_desktop): app now not registered idly - horay.
5058 2001-12-07 Michael Meeks <michael@ximian.com>
5060 * cspi/spi_registry.c
5061 (registerAccessibleKeystrokeListener): clean, stop it leaking
5062 great swathes of memory, and device event controller references.
5063 ensure we always pass valid sequences.
5064 (deregisterAccessibleKeystrokeListener): ditto.
5065 (generateKeyEvent): upd.
5067 * at-bridge/bridge.c (bridge_key_listener): handle
5068 registry dead exception gracefully.
5069 (bridge_focus_tracker, emit_eventv): free ev.
5071 * test/simple-at.c (report_focus_event): fix polarity.
5073 * libspi/application.c (notify_listeners): kill the ev
5074 argument, and make sure we init the ev we use.
5075 (spi_application_object_event_listener): split out a chunk
5076 (get_atk_object_ref): here & fixup.
5077 (reverse_lookup_name_for_toolkit_event): make const.
5078 (spi_application_toolkit_event_listener): fixup, kill leaks
5081 * at-bridge/bridge.c (register_atk_event_listeners):
5082 don't unref the noop object - causes grief.
5084 * libspi/registry.c: remove the X headers.
5085 turn off the debug churn.
5087 * libspi/accessible.c (spi_accessible_new_return): only
5088 release the ref if we are supposed to [doh]
5090 * test/simple-at.c (report_button_press, report_focus_event):
5091 guard vs. unexpected exit.
5093 * at-bridge/bridge.c (gtk_module_init): prune printf.
5094 (bridge_exit_func): fix app unref.
5096 * libspi/Makefile.am: don't install registry or desktop.h
5098 * libspi/*.h: update includes.
5100 * libspi/application.h: don't include ourself, or
5101 other redundant headers.
5103 2001-12-06 Michael Meeks <michael@ximian.com>
5105 * libspi/accessible.c
5106 (get_accessible_from_servant): impl.
5107 Upd. all CORBA impl.s to use it killing cut and paste.
5109 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5111 (SPI_init): register atexit cleanup handler here.
5113 2001-12-06 Michael Meeks <michael@ximian.com>
5115 * at-bridge/bridge.c (gtk_module_init): g_error on
5116 activation exception
5118 2001-12-06 Michael Meeks <michael@ximian.com>
5120 * at-bridge/bridge.c (gtk_module_init): some sort of
5121 confusing merge clash - reverted.
5122 (bridge_idle_init): ditto.
5124 * test/test-simple.c (main, utterable_normal_derefs):
5125 merge from Bill - somehow not committed.
5127 2001-12-06 Michael Meeks <michael@ximian.com>
5129 * libspi/value.c (spi_value_class_init): upd.
5130 (spi_value_finalize): kill.
5132 * libspi/table.c (spi_table_finalize): kill.
5133 (spi_table_interface_new): upd.
5134 (spi_table_class_init): upd.
5135 (get_table_from_servant): impl.
5136 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5138 * libspi/selection.c (spi_selection_finalize): kill.
5139 (spi_selection_interface_new): upd.
5140 (spi_selection_class_init): upd.
5141 (get_selection_from_servant): impl.
5142 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5144 * libspi/relation.c (spi_relation_finalize): kill.
5145 (spi_relation_class_init, spi_relation_new): upd
5147 * libspi/image.c (spi_image_finalize): kill.
5148 (spi_image_class_init): upd.
5149 (spi_image_interface_new): upd.
5150 (get_image_from_servant): impl.
5151 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5153 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5154 (spi_hyperlink_finalize): kill.
5155 (spi_hyperlink_new): upd.
5156 (get_hyperlink_from_servant): impl.
5157 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5159 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5160 (spi_hypertext_finalize): kill.
5161 (spi_hypertext_class_init): upd.
5162 (get_hypertext_from_servant): impl.
5163 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5165 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5166 (spi_editable_text_interface_new): upd.
5167 (get_editable_text_from_servant): impl.
5168 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5170 * libspi/text.c (get_text_from_servant): impl.
5171 All impls - update to use it killing more cut and paste,
5172 also fix bad string returns on duff args ( a somewhat
5173 impossible case to handle - but hey ).
5174 (spi_text_construct): impl.
5175 (spi_text_interface_new): upd.
5176 (spi_text_object_finalize): kill.
5178 * libspi/component.c
5179 (accessibility_component_object_finalize): kill.
5180 (spi_component_class_init): upd.
5181 (get_component_from_servant): impl. helper to kill cut & paste.
5182 (impl_accessibility_component_contains):
5183 (impl_accessibility_component_get_accessible_at_point):
5184 (impl_accessibility_component_get_position):
5185 (impl_accessibility_component_get_extents):
5186 (impl_accessibility_component_get_mdi_z_order):
5187 (impl_accessibility_component_get_layer):
5188 (spi_component_interface_new): upd.
5190 * libspi/action.c (spi_action_finalize): kill.
5191 (spi_action_class_init): upd. inherit from SpiObject.
5192 (spi_action_interface_new): upd.
5193 (get_action_from_servant): impl. helper to reduce cut & paste.
5194 (impl_getKeyBinding, impl_getName, impl_doAction),
5195 (impl_getDescription): Use it everywhere.
5197 * cspi/spi_main.c (get_live_refs): a pointer hash.
5198 (spi_object_hash, spi_object_equal): comment out.
5199 There are issues with CORBA object hashing that need
5202 * libspi/application.c (spi_application_init),
5203 (spi_application_new): upd.
5205 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5206 (spi_accessible_class_init): upd.
5207 s/accessible/object/ in epv methods.
5209 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5211 * at-bridge/bridge.c:
5212 Reorder the bridge initialization into the bridge gtk_module_init,
5213 an immediate call to bridge_register_app, and an idle_add for
5214 register_atk_event_listeners (the only code that *must* wait until
5215 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5216 the activation, creates the application's Accessible object, and
5217 queues the bridge_idle_init function. Restored call to
5218 Accessibility_Registry_deregisterApplication().
5219 Prior to making this call we obtain a new reference to the
5220 registry, which is a temporary hack that helps us handle apps that
5221 shut down the bonobo mainloop before we get there.
5223 * libspi/registry.c:
5224 Fix string leakage in debug block, and don't segv if a an app
5225 dies before its event notifications have been propagated.
5228 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5229 as stopgap measure until we get proper exception handling when
5230 objects die during or before interrogation.
5234 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5235 Also changed default value of is_gnome_app to TRUE.
5238 * test/keysynth-demo.c:
5239 Changed use of SPI_init and SPI_event_main to reflect API change above.
5242 Made report_focus_event check the warning value from getName
5243 before reporting on focussed accessible; simplifies handling of
5244 notifications from dead objects.
5246 * test/test-simple.c: (Changes not in this patch since source is
5249 2001-12-05 Michael Meeks <michael@ximian.com>
5251 * registryd/registryd.c (main): protect against
5252 bonobo-activation startup race condition.
5254 * cspi/spi_main.c (cspi_object_add_check): cope
5255 with the exception elegantly.
5257 * idl/Accessible.idl: decl. ChildGone
5259 * libspi/desktop.c (spi_desktop_dispose): impl.
5260 (spi_desktop_class_init): upd.
5261 (spi_desktop_add_application),
5262 (spi_desktop_remove_application),
5263 (abnormal_application_termination): impl.
5264 (impl_desktop_get_child_at_index): re-impl.
5267 (impl_accessibility_registry_deregister_application),
5268 (impl_accessibility_registry_register_application):
5269 kill excessive debug clutter.
5271 * test/test-simple.c (test_misc): test some NULL
5272 tolerance. (main): upd.
5274 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5275 implements no interfaces - so let's not crash.
5277 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5279 * libspi/accessible.c (spi_accessible_new_return): impl.
5280 helper to calm the cut and paste, to cope with
5281 NULL AtkObjects effectively and efficiently, and to kill
5282 the referencing bugs.
5284 * libspi/table.c (impl_getAccessibleAt),
5285 (impl_getRowHeader, impl_getColumnHeader): upd.
5287 * libspi/hyperlink.c (impl_getObject): upd.
5289 * libspi/accessible.c
5290 (impl_accessibility_accessible_get_child_at_index): upd.
5292 * libspi/component.c
5293 (impl_accessibility_component_get_accessible_at_point): upd.
5295 * test/test-simple.c (test_editable_text, test_text): impl.
5298 * cspi/spi_editabletext.c
5299 (AccessibleEditableText_insertText): constify.
5301 * test/test-simple.c (focus_me): make more robust.
5303 * libspi/accessible.c: remove some printfs in methods that
5304 we test and work fine, so we can get a clean tree dump.
5306 * test/test-simple.c (validate_accessible),
5307 (validate_tree): make tree dumping pretty too.
5309 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5310 it builds without debug on.
5312 * test/test-simple.c (validate_accessible): fix the most
5315 * cspi/spi_main.c (spi_object_release): leave the nicely
5316 blanked memory around if in debug mode.
5318 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5320 [committed to fixups2]
5321 2001-12-05 Michael Meeks <michael@ximian.com>
5323 * libspi/editabletext.c
5324 (spi_editable_text_class_init): g_type_class_peek_parent,
5325 not interface peek - so we finalize cleanly.
5327 * libspi/accessible.c (spi_accessible_new): kill debug.
5329 * test/test-simple.c (validate_accessible): fix ref.
5330 leak, print strings before freeing them; sigh, comment a
5331 chunk out due to strangeness.
5332 (validate_tree): unref the child after use.
5334 * cspi/spi_component.c (AccessibleComponent_getLayer):
5335 add missing break statement, switch on zlayer not the
5336 uninitialized retval.
5338 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5339 before (possibly re-entering) remote unref.
5341 * test/simple-at.c (main): unref the desktop.
5343 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5346 * cspi/spi_main.c (cspi_accessible_is_a): here to
5347 isolate bonobo API usage more.
5349 * libspi/registry.c (impl_accessibility_registry_register_application):
5350 prune bogus comment.
5352 2001-12-04 Michael Meeks <michael@ximian.com>
5354 * test/test-simple.c (validate_tree): upd.
5355 IndexInParent check to make it more lucid.
5356 (validate_accessible): dump the tree.
5358 * libspi/accessible.c (de_register_public_ref),
5359 (get_public_refs): impl.
5360 (spi_accessible_new): make more efficient & intuitive.
5361 Now IndexInParent check works.
5363 2001-12-04 Michael Meeks <michael@ximian.com>
5365 * cspi/spi-util.h: remove.
5367 * cspi/spi.h: move SPI_freeString here
5369 * libspi/component.c (impl_accessibility_component_get_layer):
5371 (impl_accessibility_component_get_mdi_z_order): ditto,
5372 return -1 on error - is this ok ?
5374 * test/test-simple.c (test_application): impl.
5376 * cspi/spi_accessible.c (Accessible_getApplication),
5377 (Accessible_isApplication): impl.
5379 * libspi/registry.c (spi_listener_struct_free): release
5380 the CORBA reference too.
5382 * libspi/accessible.c
5383 (impl_accessibility_accessible_get_parent): fix ref leak.
5385 * libspi/registry.c (spi_registry_new): make the registry
5386 immortal - we don't want it to go away ever.
5388 * libspi/application.c
5389 (spi_accessible_application_finalize): impl. cleanup.
5391 * cspi/spi_registry.c
5392 (deregisterGlobalEventListenerAll),
5393 (deregisterGlobalEventListener),
5394 (deregisterAccessibleKeystrokeListener): fix ref leak.
5396 * cspi/spi_main.c (SPI_init): remove redundant ref.
5398 * test/test-simple.c (unutterable_horror): impl. to force a
5403 (impl_accessibility_registry_deregister_application): release
5404 the application when we de-register it.
5406 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5407 until we have the infastructure to get it right.
5409 2001-12-03 Michael Meeks <michael@ximian.com>
5411 * libspi/Makefile.am: only build eventlistener.[ch]
5413 * libspi/accessible.c
5414 (impl_accessibility_accessible_get_child_at_index): don't leak.
5416 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5417 before we hit the idle handler.
5419 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5420 debugging than exit.
5422 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5424 * libspi/listener.c (impl_notify_event): check source
5425 not NIL before unref.
5427 * libspi/registry.c (impl_registry_notify_event): ditto.
5429 * libspi/eventlistener.c
5430 (impl_accessible_event_notify_event): unref the source.
5432 * libspi/accessibleeventlistener.c
5433 (impl_accessible_event_notify_event): unref the source.
5435 * idl/Event.idl: remove 'hash_id' attribute - of no
5438 * libspi/application.c (notify_listeners): upd list
5440 (spi_application_object_event_listener),
5441 (spi_application_toolkit_event_listener): upd to do correct
5445 (_registry_notify_listeners): update.
5446 (parse_event_type): this method also leaks like a sieve.
5447 (impl_accessibility_registry_deregister_global_event_listener):
5448 fix ETYPE_WINDOW case.
5450 * libspi/application.c
5451 (impl_accessibility_application_register_object_event_listener):
5454 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5456 * libspi/hypertext.c (impl_getLink): ditto.
5458 * cspi/spi_main.c (cspi_object_add): remove
5459 bogus CORBA_Object_duplicate.
5461 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5464 * cspi/spi_accessible.c
5465 (Accessible_getRelationSet): fix leak / referencing issue.
5467 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5468 (cspi_object_add, cspi_object_unref): upd.
5469 (spi_object_release, get_live_refs): impl.
5470 (cspi_cleanup): simplify.
5472 * *.[ch]: s/boolean/SpiBoolean/
5474 * cspi/spi_accessible.c (role_names): actualy order so it
5475 corresponds with the enum !
5477 * test/test-simple.c (test_roles): check some role strings
5478 vs. enums to detect offset errors.
5480 2001-12-01 Michael Meeks <michael@ximian.com>
5482 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5484 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5486 (Accessible_getChildAtIndex): use cspi_add_check so we
5487 check the ev before using a (possibly) invalid value.
5489 * libspi/accessible.c
5490 (impl_accessibility_accessible_get_parent): don't segv
5493 * at-bridge/bridge.c (gtk_module_init): upd.
5494 (bridge_property_event_listener): don't leak strings
5496 (bridge_state_event_listener),
5497 (bridge_property_event_listener): don't use a static
5498 buffer in case of recursive event emission &
5499 re-enterancy - split out the swathe of cut and paste
5501 (emit_eventv): and fix 2 ref leaks here & comply to the
5503 (bridge_register_app): rename to
5504 (bridge_idle_init): this and kill arg parsing, split
5505 various inits & bonobo-activation registration to module
5506 init time, kill referencing error.
5507 (bridge_exit_func): fix the same leak.
5508 (bridge_focus_tracker): don't leak event structures
5510 (bridge_signal_listener): more leakage and cut & paste
5512 (bridge_key_listener): return the result - FIXME is
5513 this polarity correct ?
5514 (accessibility_keystroke_from_atk_key_event): rename
5515 (accessibility_init_keystroke_from_atk_key_event): and stop
5517 (gtk_module_init): return a value - not that it is checked by
5519 (bridge_key_listener): register my horror at casting between
5520 IDL defined structs.
5521 (bridge_get_registry): kill - not used.
5523 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5525 * test/test-simple.c (test_roles): impl.
5526 (test_desktop, validate_accessible, validate_tree): impl.
5528 * cspi/spi_accessible.c (role_names): fixup bogus
5529 MAX_ROLES setup, make constants const for efficient linkage
5530 (AccessibleRole_getName): conform to coding style, make
5533 2001-11-30 Michael Meeks <michael@ximian.com>
5535 * cspi/spi.h: add missing prototype.
5537 * libspi/registry.c (spi_listener_struct_new): fix sig.
5539 * test/Makefile.am: add test-simple
5541 * test/test-simple.c: add
5543 * test/test.sh: add.
5545 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5547 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5548 do it straight - since otherwise we often get an activation race.
5550 [ work before Bill duplicated a chunk of it ... ]
5551 2001-11-30 Michael Meeks <michael@ximian.com>
5553 * libspi/keystrokelistener.c
5554 (spi_keystroke_listener_class_init): fixup arg
5557 * libspi/eventlistener.c
5558 (spi_event_listener_class_init): ditto.
5560 * tests/test.sh: add.
5562 * cspi/spi-listener-impl.h: update macros.
5564 * cspi/spi-listener-impl.c
5565 (cspi_event_listener_remove_callback): add
5566 correct pre-conditions.
5568 * cspi/spi_main.c (SPI_exit): guard vs. double
5569 exits, exit the mainloop nicely.
5570 (SPI_event_main): make more sense.
5571 (SPI_init): move the atexit evilness here so we
5572 always do it (yuck).
5573 (SPI_event_main): upd.
5575 * test/simple-at.c: update for listener changes.
5577 * registryd/registryd.c (main): prune kruft.
5579 * libspi/libspi.h: upd.
5581 * libspi/eventlistener.[ch]: rename broken macros.
5583 * libspi/accessibleeventlistener.[ch]: remove.
5585 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5587 * test/test-simple.c: Add - automated tests.
5589 * cspi/spi-listener-impl.c (cspi_event),
5590 (cspi_key_event): add user_data to invoke.
5591 (cspi_keystroke_listener_finalize): impl.
5592 (cspi_keystroke_listener_class_init): upd.
5595 (createAccessibleEventListener),
5596 (AccessibleEventListener_addCallback),
5597 (createAccessibleKeystrokeListener),
5598 (AccessibleKeystrokeListener_addCallback): upd.
5600 * libspi/deviceeventcontroller.c
5601 (spi_device_event_controller_check_key_event): add public proto.
5604 (impl_accessibility_registry_deregister_global_event_listener):
5605 always init listeners.
5606 (_registry_notify_listeners): yes it is.
5608 * cspi/spi-listener-impl.c (cspi_key_event):
5610 (cspi_event_listener_finalize): impl.
5611 (cspi_event_listener_class_init): hook up.
5612 (event_handler_new, event_handler_free),
5613 (event_list_remove_by_callback): impl.
5614 (cspi_event_listener_remove_callback),
5615 (cspi_keystroke_listener_remove_callback),
5616 (cspi_keystroke_listener_add_callback),
5617 (cspi_event_listener_add_callback): upd.
5619 * libspi/keystrokelistener.c
5620 (keystroke_listener_object_finalize): kill
5621 (spi_keystroke_listener_class_init): upd.
5622 (spi_keystroke_listener_add_callback),
5623 (spi_keystroke_listener_remove_callback): kill,
5625 (impl_key_event): prune drasticaly.
5627 * libspi/eventlistener.c
5628 (spi_event_listener_add_callback),
5629 (spi_event_listener_remove_callback): kill, use
5631 (impl_accessible_event_notify_event): upd.
5632 (spi_event_listener_object_finalize): remove.
5634 * libspi/Makefile.am: use eventlistener.[ch]
5636 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5638 * libspi/registry.c (_registry_notify_listeners):
5639 Changed listener loop iteration to use preferred convention.
5640 Got rid of string memory leaks caused be calling g_strconcat
5641 inside function calls.
5643 * libspi/registry.c (parse_event_type):
5644 Stopped g_strconcat memory leaks, free the g_strsplit return,
5645 g_strdup the split pieces when used, etc.
5647 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5650 Change method 'compare' to return a 'difference set' rather than
5651 taking a StateSet as an out parameter (more Java-friendly).
5653 * idl/Accessible.idl:
5654 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5656 * idl/Component.idl:
5658 Changed methods 'getExtents' and 'getImageExtents' in these
5659 interfaces to return a BoundingBox structure.
5660 (getPosition and getSize are redundant and possibly should be
5661 removed, rather than creating a corresponding Point struct.)
5663 * cspi/spi_component.c:
5664 Modify implementation of getExtents to reflect the above IDL
5669 Add (missing) AccessibleImage_getExtents () API.
5671 * docs/reference/cspi/at-spi-cspi-sections.txt:
5672 Added AccessibleImage_getImageExtents () to docs.
5674 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5676 * idl/Component.idl:
5677 Added two methods, getLayer () and getMDIZOrder (), to reflect
5678 the new ATK methods atk_object_get_layer and
5679 atk_object_get_mdi_z_order. (Which arguably should be part of the
5680 AtkComponent API and AtkObject). Also added an enum,
5681 ComponentLayer, for the first method's return value.
5683 * libspi/component.c:
5684 Added implementations for these methods.
5686 * cspi/spi_component.c:
5688 Added cspi binding methods for above,
5689 AccessibleComponent_getLayer() and
5690 AccessibleComponent_getMDIZOrder().
5691 Added cspi enum 'AccessibleComponentLayer'.
5693 * docs/reference/cspi/at-spi-cspi-sections.txt:
5694 Added above methods to docs.
5698 Changed typedef for 'boolean' type (and all references to it) to
5699 SPIBoolean, to avoid keyword clashes with C++.
5702 Changed usages of 'boolean' to SPIBoolean.
5704 * test/keysynth-demo.c:
5705 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5706 app), except where SPIBoolean is required by the callbacks API.
5708 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5710 * cspi/spi_registry.c:
5711 Removed obsolete X event loop for passive keygrabs (which now
5714 * registryd/registryd.c:
5715 Removed unnecessary call to gdk_init() [cruft]. This also allows
5716 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5719 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5721 * docs/reference/cspi:
5722 Included docs for SPI_freeString in generated documentation.
5725 Renamed spi_freeString to SPI_freeString, for consistency. Added
5726 documentation for this function.
5729 Renamed spi_freeString to SPI_freeString, for consistency.
5730 Removed obsolete method declaration string_from_corba_string.
5732 * test/keysynth-demo.c:
5733 Small tweak to comments.
5736 Stopped leaking the strings returned from CSPI.
5738 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5740 Merged Michael's branch (see his ChangeLog entries below).
5742 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5743 bridge is alive, release on exit.
5745 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5746 Fix type check macro.
5749 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5752 Added is_gnome_app static, and method cspi_is_gnome_app(),
5753 so we can call the appropriate shutdown routine at exit in SPI_exit.
5755 * cspi/spi_main.c (cspi_object_ref):
5756 Duplicate the corba object passed in, since we're keeping it around.
5758 * cspi/SPI_exit.c, cspi_cleanup:
5759 Moved the releasing of the live refs to its own function, so we
5760 can put it in g_atexit (). Call the appropriate shutdown API
5761 depending on whethe calling client is a gnome app or not
5762 (bonobo_main_quit or CORBA_ORB_shutdown).
5764 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5765 Unref the listener when this method is called, after
5766 deregistration. Updated the API docs to note this behavior.
5768 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5769 Bugfixes: Ref the bonobo object when returning a parent or child
5770 reference, or an AccessibleRelation. Generally made sure
5771 BonoboObject refcount is incremented whenever we return an
5774 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5775 Fixed typo/bug in signal declaration.
5777 * libspi/accessibleeventlistener.h:
5780 * libspi/application.c (spi_application_new):
5781 Fixed leak in initialization.
5784 Remembered to increment bonobo-object refcount when returning
5785 children (applications) from desktop object.
5786 Added (empty) finalize method.
5788 * libspi/deviceeventcontroller.c:
5789 Hold a ref to listeners inside DEControllerKeyListeners.
5790 Added dec_key_listener_free() method. Use prepend instead of
5791 append in key_listener list. Fixed some refcount madness and
5792 leaks in the listener registration/deregistration - deregistration
5793 now calls dec_key_listener_free() on listeners, and on the
5794 temporarily constructed dec_key_listener() used to perform the search/match.
5796 * libspi/hypertext.c (spi_hypertest_finalize):
5797 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5798 class. Also fixed spi_hypertext_interface_new() and
5799 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5801 * libspi/hypertext.h:
5802 Removed pointless and duplicate AtkObject pointer from
5805 * libspi/keystrokelistener.c:
5806 Fixed incorrect type of keystroke_listener_parent_class,
5807 renamed keystroke_listener_object_finalize to
5808 spi_keystroke_listener_object_finalize.
5809 Fixed typo in signal declaration
5810 (spi_keystroke_listener_class_init).
5812 * libspi/registry.c:
5813 Added funcsions spi_listener_struct_new() and
5814 spi_listener_struct_free() to help with memory management issues.
5815 We also now use these methods instead of gnew + poking stuff into
5816 the struct, and to decrement listener counts/free the listeners
5817 when deregistering them.
5818 Fix more refcount bugs in getDesktop() and
5819 getDeviceEventController().
5822 De-ref the desktop after enumerating the applications. Explicitly
5823 decrement the refcounts on the created listeners on exit (using
5824 _unref for keystroke listeners, and via the
5825 deregisterGlobalEventListenerAll command for other event
5828 2001-11-27 Michael Meeks <michael@ximian.com>
5830 * cspi/spi-listener.h: fixup enum.
5832 2001-11-27 Michael Meeks <michael@ximian.com>
5834 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5835 (cspi_keystroke_listener_new): Use the cspi variants.
5837 2001-11-26 Michael Meeks <michael@ximian.com>
5839 * test/keysynth-demo.c: fix 2 compile warnings, missing
5842 * test/simple-at.c (report_focussed_accessible),
5843 (report_focus_event, report_button_press),
5844 (check_property_change, is_command_key),
5845 (report_ordinary_key_event, report_command_key_event): upd.
5847 * util/mag_client.h: include pre-requisites.
5849 * libspi/accessibleeventlistener.c
5850 (spi_event_listener_object_finalize): free any lingering
5853 * libspi/keystrokelistener.c
5854 (keystroke_listener_object_finalize): ditto.
5856 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5857 callbacks, with cspi types.
5859 * cspi/spi_event.c (createAccessibleEventListener): chain to
5860 (AccessibleEventListener_addCallback): here.
5861 (createAccessibleKeystrokeListener): chain to
5862 (AccessibleKeystrokeListener_addCallback): here.
5864 * libspi/keystrokelistener.c
5865 (spi_keystroke_listener_class_init): add signal.
5866 (impl_key_event): emit the event.
5867 (boolean_handled_accumulator): impl.
5868 (marshal_BOOLEAN__POINTER): add, gack.
5870 * libspi/accessibleeventlistener.c
5871 (spi_event_listener_class_init): add signal.
5872 (impl_accessible_event_notify_event): emit the signal &
5873 make the loop efficient.
5874 (spi_event_listener_add_callback): prepend the callback.
5876 * libspi/accessibleeventlistener.h: add an 'event' signal,
5877 decl type on callback.
5879 * libspi/keystrokelistener.h: ditto.
5881 * cspi/spi-listener.h: make methods typesafe and
5882 make them use the new event typedefs.
5884 * test/simple-at.c (report_focussed_accessible):
5885 include mag_client.h
5886 Use *(void *)text_interface not the other thing.
5888 * configure.in: add gtk to registryd bits - since we use
5891 * util/magnifier.c: include libbonobo.h
5893 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5895 * test/keysynth-demo.c:
5896 Turned this into a simple scanning keyboard, to demonstrate the
5897 use of g_timeout_add () as a means of creating timers for
5898 scanning, and the use of GtkStyle for visually indicating when
5899 virtual keyboard elements are selected.
5901 keysynth-demo now listens to any keyboard keys with zero-valued
5902 keycodes (i.e. 'unused' keys) and interprets them as
5905 Reworked the shiftlatch code so that shift-down state isn't held
5906 for long periods (it's only synthesized immediately prior to
5907 the keysynth event it's modifying). Note that shiftlatch in this
5908 demo is a convenience, not intended to take the place of AccessX
5909 which is the better choice for getting 'sticky' modifier keys.
5911 * libspi/deviceeventcontroller.c:
5912 * at-bridge/bridge.c:
5913 * cspi/spi_registry.c:
5914 Removed some debug print stuff, and put other verbosity in #ifdef
5919 Implemented some more of the magnifier IDL for the simple
5920 magnifier: namely, getZoomRegionParams.
5921 Added mag_x and mag_y members to MagnifierData struct, aid of this
5923 Added GtkWindow::realize signal handler to magnifier, to keep it
5924 from receiving keyboard focus from the WM.
5926 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5928 * cspi/spi-private.h: my guess at what michael forgot
5929 before he ran off to NZ :-)
5931 2001-11-23 Michael Meeks <michael@ximian.com>
5933 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5934 comment out non existant method invoke so we link.
5936 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5937 use bonobo_exception_get_text for more friendly warnings.
5939 * cspi/spi.c (Obj_Add): move into spi_main & rename
5940 spi_object_add; kill spi.c
5942 * cspi/spi_registry.c
5943 (deregisterGlobalEventListener),
5944 (deregisterGlobalEventListenerAll),
5945 (registerGlobalEventListener): fix exception leaks.
5947 * cspi/spi_main.c (spi_exception): impl. helper, so we
5948 don't leak exceptions.
5950 * cspi/spi_selection.c
5951 (AccessibleSelection_deselectSelectedChild): return the
5954 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5955 (spi_registry): ditto.
5956 (SPI_init): guard against double inits.
5958 * cspi/*.c: use spi_ev (), and spi_registry () where
5959 appropriate - a temporary hack until we have something
5960 better. Use spi_object_add
5962 2001-11-22 Michael Meeks <michael@ximian.com>
5964 * cspi/Makefile.am: re organise, install the headers.
5966 * cspi/*.h: add G_BEGIN/END_DECLS
5968 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5971 Added non-preemptive keylistener for key events with no modifiers
5972 and shift-only modifier.
5974 * libspi/keystrokelistener.c:
5975 Removed some verbose diagnostics printout.
5977 * cspi/spi_registry.c:
5978 Fixed a bug that caused all key listeners to be registered as
5981 * libspi/deviceeventcontroller.c:
5982 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5983 for non-preemptive key masks.
5986 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5988 * docs/reference/idl/at-spi-idl-docs.sgml:
5989 * docs/reference/idl/at-spi-idl-sections.txt:
5990 * docs/reference/idl/at-spi-idl-overrides.txt:
5991 Added missing files.
5993 * docs/reference/Makefile.am:
5994 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5995 to scan the IDL files :-(
6000 Added .cvsignore files.
6002 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6004 * libspi/deviceeventcontroller.c:
6005 * libspi/keystrokelistener.c:
6007 * cspi/spi_registry.c:
6008 Added filters for KeySets, KeyEventSeq, and event types to key
6009 event dispatching, so listeners should only receive those events
6010 that they requested :-)
6012 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6017 * docs/reference:Makefile.am:
6018 * docs/reference/cspi:
6019 * docs/reference/cspi:Makefile.am:
6020 * docs/reference/cspi:tmpl:
6021 * docs/reference/cspi:tmpl:*.sgml:
6022 * docs/reference/idl:
6023 * docs/reference/idl:Makefile.am:
6024 * docs/reference/idl:at-spi-idl-sections.txt:
6025 * docs/reference/idl:at-spi-idl-docs.sgml:
6026 * docs/reference/idl:tmpl:
6027 * docs/reference/idl:tmpl:*.sgml:
6029 Restructured docs directory to allow separate 'reference' docs
6030 section, and forked idl and cspi docs. Added the sgml template
6031 files to CVS. Added the first sections/structural sgml for the
6034 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6036 * configure.in, libspi/Makefile.am: find libXtst.
6038 2001-11-21 Michael Meeks <michael@ximian.com>
6040 * test/accessx-gui.c: s/spi_value/value/ - doh.
6042 * libspi/base.[ch]: add.
6044 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6046 * idl/Accessible.idl:
6047 * idl/Application.idl:
6050 Started gtk-doc cleanup on IDL.
6052 * libspi/deviceeventcontroller.c:
6053 Added and connected non-preemptive key notification from the
6054 toolkits (in addition to the pre-emptive support from XServer
6055 which we had before, but which causes 'focus flashing'). Filters
6056 are presently limited to key modifiers and global/non-global,
6057 KeySets are presently ignored, as are KeyEvent masks.
6059 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6060 structs into the persistant structure rather than just storing
6061 pointers to things that might not persist across servant
6064 The XGrabKey call now does async keygrabs, because synchronous
6065 ones were deadlocking with GDK_event code in a very nasty way.
6067 Added boolean to internal method notify_keylisteners, to indicate
6068 whether the event came from the 'toolkit source' or the 'global
6069 (XServer) source' - this is used in the notification process to
6070 determine which listeners to send the event to.
6072 deviceeventcontroller.c is now warning-free.
6074 * libspi/registry.c:
6075 Fixed regression in application de-registration.
6076 Also fixed some really brain-dead weirdness having to do with
6077 event dispatching - event structs are now duplicated before being
6078 re-marshalled in the dispatch to listeners. This also fixes a
6079 Solaris build problem.
6082 2001-11-20 Michael Meeks <michael@ximian.com>
6085 (impl_accessibility_registry_deregister_global_event_listener):
6088 * libspi/deviceeventcontroller.c
6089 (spi_device_event_controller_check_key_event): return
6090 FALSE on no virtual method.
6092 * libspi/*..h: make includes work on a correctly pathed install.
6094 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6096 * libspi/application.h: kill unused ( and whacked out )
6097 gboolean *spi_application_set_id (AtkObject *app, long id);
6099 2001-11-20 Michael Meeks <michael@ximian.com>
6101 * libspi/*.[ch]: further convert to bonobo's type func
6102 macros, remove redundnant casts etc.
6104 * libspi/text.c s/accessibility_text/spi_text/g,
6105 re-order to de-cruft.
6107 * libspi/hypertext.c: re-order to kill a huge slew
6108 of redundant forward decls.
6110 * libspi/relation.c: ditto.
6112 * libspi/image.c: ditto.
6114 * */.cvsignore: update
6116 2001-11-20 Michael Meeks <michael@ximian.com>
6118 * libspi/deviceeventcontroller.c
6119 (_controller_register_with_devices): use g_getenv,
6120 kill stdlib.h include.
6122 * libspi/keystrokelistener.c
6123 (spi_keystroke_listener_get_type): kill
6124 (spi_keystroke_listener_class_init),
6125 (spi_keystroke_listener_init): rename to this.
6127 * libspi/text.c (impl_getAttributes): fix warning / bug.
6129 * libspi/*.[ch]: more headers, includes and over commenting.
6131 2001-11-20 Michael Meeks <michael@ximian.com>
6133 * libspi/*.[ch]: fixup headers, includes and over commenting.
6135 * libspi/image.c (impl__get_imageDescription): const
6136 correctness warning fix. remove redundant casting.
6138 * libspi/table.c (impl_getRowDescription): ditto.
6139 (impl_getColumnDescription): ditto.
6141 * libspi/libspi.h: add.
6143 2001-11-19 Michael Meeks <michael@ximian.com>
6145 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6147 * libspi/component.c (accessibility_component_get_type):
6148 rename to (spi_component_get_type): and macroify.
6149 (accessibility_component_init): rename to
6150 (spi_component_init): this
6151 (accessibility_component_class_init): rename to
6152 (spi_component_class_init): this
6154 * libspi/action.c (spi_action_get_type): kill, use the macro.
6156 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6159 * libspi/application.c (spi_application_object_event_listener),
6160 (impl_accessibility_application_register_object_event_listener):
6161 warning fixes / const understanding updates.
6163 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6166 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6168 * libspi/spi_accessible.c: Added docs and C bindings for
6169 AccessibleStateSet. (No implementations yet). Documentation
6170 coverage for C bindings now 100%. Made docs for event listeners
6175 boolean notifyListenersSync (in DeviceEventListener listener,
6176 in DeviceEvent event);
6178 oneway void notifyListenersAsync (in DeviceEventListener listener,
6179 in DeviceEvent event);
6181 Added DeviceEventListener and DeviceEvent structs (may deprecate
6182 KeyStroke and KeystrokeListener in favor of this generic
6183 event/listener framework for devices).
6185 * libspi/deviceeventcontroller.c:
6187 Changed some key listener code to take masks, etc., and paved the
6188 way for integration of toolkit/non-preemptive key events. Changed
6189 signatures of some internal methods.
6191 * at-bridge/bridge.c:
6192 Fixed regression connecting to interface signals, apparently
6193 caused by GTK+ changes.
6195 Added an internal bridge_state_listener to deal with
6196 property-change:accessible-state signals.
6198 Changed the key_listeners GList to store structs (including masks,
6199 etc.) instead of just CORBA_Objects (required for full
6200 implementation of key listener API).
6202 Connected the bridge to all currently supported Atk signals.
6203 Events now supported:
6204 object:property-change
6205 object:property-change:accessible-name
6206 object:property-change:accessible-state
6207 object:property-change:accessible-description
6208 object:property-change:accessible-parent
6209 object:property-change:accessible-value
6210 object:property-change:accessible-role
6211 object:property-change:accessible-table-caption
6212 object:property-change:accessible-table-column-description
6213 object:property-change:accessible-table-column-header
6214 object:property-change:accessible-table-row-description
6215 object:property-change:accessible-table-row-header
6216 object:property-change:accessible-table-summary
6217 object:children-changed
6218 object:visible-data-changed
6219 object:selection-changed
6220 object:text-selection-changed
6222 object:text-caret-moved
6224 object:row-reordered
6226 object:column-inserted
6227 object:column-reordered
6228 object:column-deleted
6229 object:model-changed
6231 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6233 * libspi/hyperlink.c,h:
6234 Fixed some broken stuff in hyperlink.
6236 * libspi/relation.h:
6237 * libspi/relation.c:
6238 * cspi/spi_accessible.c:
6239 Initial implementations of AccessibleRelation methods, and docs.
6241 * libspi/accessible.c:
6242 Fixed a bug that caused SEGV if an accessible
6243 object's description is NULL, and a client
6244 requests it. An empty string is now returned.
6246 * cspi/spi_editabletext.c:
6247 * cspi/spi_hypertext.c:
6249 * cspi/spi_hyperlink.c:
6253 Doc coverage now 95%.
6255 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6257 One last namespacing revision:
6258 * libspi/accessibleeventlistener.[ch]:
6259 Renamed SpiAccessibleEventListener to SpiEventListener,
6260 (no need for two namespaces ;-)
6262 And lots of documentation fixes:
6264 * docs/at-spi-docs.sgml:
6265 Fixed 'underscore vs. hyphen' bug that was preventing
6266 the gtk-doc API docs from being automatically generated.
6269 * cspi/spi-listener.h
6271 * cspi/spi_accessible.c
6273 * cspi/spi_application.c
6274 * cspi/spi_component.c
6275 * cspi/spi_editabletext.c
6277 * cspi/spi_hypertext.c
6279 * cspi/spi_registry.c
6280 * cspi/spi_selection.c
6284 * docs/at-spi-docs.sgml
6285 * docs/at-spi-sections.txt
6287 Added and fixed up gtk-doc documentation in cspi.
6289 Interfaces now (fully) documented (subject to revision and enhancement):
6291 Event Listener Support
6293 AccessibleApplication
6297 AccessibleEditableText
6304 AccessibleRelationSet
6309 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6311 * at-bridge/bridge.c:
6312 Initial work for toolkit-level key snooper connection by bridge.
6317 New typedefs and fixes to support new namespacing, and cleaner
6318 separation of cspi bindings from libspi bonobo implementation.
6319 Removed inconsistent and extraneous Spi* namespace prefix that
6320 had crept into cspi headers.
6321 Lots of comment fixes that sed had missed.
6323 * cspi/spi-roletypes.h:
6324 * cspi/spi-statetypes.h:
6325 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6326 to AccessibleRoleType.
6328 * libspi/accessibleeventlistener.h:
6329 Fixed minor namespacing weirdness.
6331 * libspi/deviceeventcontroller.c:
6332 Reordered some internal API for device listeners.
6333 Changed the key registry final boolean to 'is_system_global'
6334 rather than 'is_synchronous', which is more descriptive of its
6336 Added spi_device_event_controller_new().
6337 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6339 * libspi/keystrokelistener.[ch]:
6340 Namespaced KeystrokeListener to SpiKeystrokeListener.
6341 Changed uses of keymasks to use SPI_ prefix, and did other
6344 * libspi/keymasks.h:
6345 Namespaced keymask constants with SPI_ prefix.
6347 * libspi/registry.c:
6348 Some warning fixes, and knock-on fixes from namespace changes.
6351 Added rules for accessx-gui test program.
6353 * test/accessx-gui.c:
6354 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6355 utility. It doesn't actually use at-spi, but it's still cool and
6358 * test/keysynth-demo.c:
6362 Fixes so that these test clients work properly with the namespaced
6363 libraries. (Incompletely tested for technical reasons, fixes may follow)
6366 2001-11-13 Michael Meeks <michael@ximian.com>
6368 * libspi/application.c
6369 (impl_accessibility_application_get_version),
6370 (impl_accessibility_application_get_toolkit_name):
6372 (impl_accessibility_application_set_id),
6373 (impl_accessibility_application_get_id): remove
6374 redundant casting code.
6376 * libspi/action.c (impl_getDescription): fix warnings.
6378 * libspi/accessible.c
6379 (impl_accessibility_accessible_get_parent),
6380 (impl_accessibility_accessible_get_child_at_index),
6381 (impl_accessibility_accessible_get_state),
6382 (impl_accessibility_accessible_get_relation_set):
6383 warning fixes & include action.h
6385 2001-11-13 Michael Meeks <michael@ximian.com>
6387 * *.[ch] fix bits I screwed up:
6389 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6390 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6392 2001-11-13 Michael Meeks <michael@ximian.com>
6394 * *.[ch] Namespace libspi into spi_ and Spi.
6396 2001-13-11 Michael Meeks <michael@ximian.com>
6398 * Makefile.am: dist & install at-spi-1.0.pc
6400 * libspi/Makefile.am: install into at-spi-1.0
6402 * idl/Makefile.am (idldir): install into at-spi-1.0
6404 * at-spi-1.0.pc.in: add.
6406 * configure.in: build it.
6408 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6410 * test/keysynth-demo.c:
6411 Use a 'realize' signal-handler to set the WM properties for
6412 the virtual keyboard, rather than making it a "POPUP" type
6413 override-redirect window (thanks to anders carlsson for that
6416 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6419 * test/keysynth-demo.c:
6420 Added new test of key synthesis, which creates a simple
6421 (mouse-operated) onscreen keyboard. It inserts key events into
6422 the currently-focused window, thus it does not grab keyboard focus
6425 * cspi/spi_registry.c:
6426 Added C binding for AT-SPI generateKeyEvent.
6428 * libspi/deviceeventcontroller.c:
6429 Added call to XFilterEvent so that key listener works with XIM (we
6430 hope). Added event_synth_type to generateKeyEvent, so that we can
6431 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6432 synthesize a press/release pair for KeySyms.
6434 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6436 * libspi/Makefile.am:
6437 * registryd/Makefile.am:
6438 (temporary) hack to include libXtst in libspi and registryd.
6439 (Needed for keystroke synthesis, see below).
6442 Improved API for registerKeystrokeListener, in accordance with
6443 discussions with Gnopernicus team and X server research.
6445 * libspi/registry.c:
6446 * libspi/deviceeventcontroller.c:
6447 * libspi/accessible.c:
6448 * libspi/keystrokelistener.c:
6449 Changes and fixes to support keylisteners for potentially
6450 consumed key events (that is, 'passive grabs').
6451 Added implementation for generateKeyEvent() [untested].
6454 Changes to registerKeystrokeListener() API, as above.
6455 Added deregisterGlobalEventListenerAll(), and
6456 deregisterKeystrokeListener(), which are needed for clean exit of
6458 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6459 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6461 * cspi/spi_registry.c:
6462 Added implementations of function prototypes mentioned above.
6464 * registryd/registryd.c:
6465 Added the key listener event source as a g_timeout(), to allow
6466 receipt of key events that are not caught by GDK (since GDK
6467 doesn't support passive keygrabs, this was necessary).
6470 Changed to attach a keylistener to 'Alt' keys, and
6471 respond to the following keycommands: Alt-M (toggle magnifier);
6472 Alt-F (toggle speech); Alt-Q (quit).
6473 Added an exit routine to deregister the listeners, and a key
6474 listener that prints some key info to the console when a key
6475 matches the listener mask (and is thus received by the listener).
6477 * util/idl/Magnifier.idl:
6478 Changes to magnifier API to support multiple zoom regions,
6479 non-uniform scaling in x and y, markDirty, and a host of other
6480 features that would be useful to magnification.
6483 * util/mag_client.c:
6484 * util/mag_client.h:
6485 * util/mag_control.c:
6487 Source code changes to support the above IDL changes.
6490 As above, and also changes to use a (slower) generic conversion
6491 path for colormap conversions, since the fast RGB conversions have been
6492 reported to fail for 16-bit displays.
6494 2001-10-26 Michael Meeks <michael@ximian.com>
6496 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6498 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6500 * at-bridge/Makefile.am: fix LDFLAGS.
6502 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6504 * at-bridge/bridge.c:
6505 Re-worked listeners for toolkit events, now we have signal
6506 and property listeners. Added a private method
6507 register_atk_event_listeners(), which registers with the
6508 various atk and gtk signals we need to monitor in order to emit
6510 Added emission hook for AtkObject:property-change events, to
6511 support the 'property listeners'.
6512 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6515 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6516 which emit warnings and exit, respectively, if CORBA errors occur
6517 during remote calls, and we now use these methods to check most of
6518 our CORBA calls in the C bindings.
6520 * cspi/spi_accessible.c:
6521 Changed AccessibleSelection_refSelectedChild() to
6522 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6523 now increment refcounts.
6525 * cspi/spi_component.c:
6526 Fixed some long pointer casts (dangerous!) to pass pointers to
6527 CORBA_longs of the proper type to the CORBA stubs, and copy the
6528 data into the longs that were passed into the C bindings code.
6530 * at-bridge/bridge.c:
6532 * libspi/accessible.c:
6533 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6534 hyperlinks, AtkHyperlink is an object type.
6536 * libspi/application.c:
6537 Added various conversions to and from "generic" event types and
6538 atk-specific types; this is really part of the 'bridge'
6539 implementation but is valid for all AtkObject-based accessibility
6542 * libspi/editabletext.c:
6543 Fixed nasty bug wherein editable text's finalize method was
6544 unref'ing tha AtkObject reference that the text parent class was
6545 about to unref _again_. There was also a nasty inheritance bug
6546 that meant that the AccessibleEditableText class was corrupt.
6548 * libspi/selection.c:
6549 Provided implementations for some selection API that was broken.
6551 * idl/Application.idl:
6552 Added registerObjectEventListener () method.
6555 Fixed a number of return values that were Bonobo_Unknowns from
6556 bonobo_object_corba_objref(), which I
6557 forgot to dup before returning. Changed instances of
6558 bonobo_object_corba_objref (bonobo_object(o)) to
6559 BONOBO_OBJREF(o), for concision and clarity.
6561 2001-10-13 Louise Miller <louise.miller@sun.com>
6563 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6564 idl/Event.idl, idl/Registry.idl
6565 Changed these files to include Bonobo_Unknown.idl instead
6568 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6570 * libspi/component.c libspi/component.h:
6571 Fixed typo. Added assertions for object checks in
6572 AccessibleComponent code.
6574 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6576 * idl/Accessible.idl:
6577 Added 'isEqual (Accessible *object)'
6578 method for Accessible. (Not Yet Implemented).
6581 Changed signature of registerKeystrokeListener() to
6582 take a KeySet and KeyEventSeq so that specific keys and event
6583 types could be requested for monitoring, and added a flag
6584 is_synchronous so that either synchronous or asynchronous
6585 notification could be requested. (However this is not all
6586 implemented yet). This also meant adding two new typedefs,
6587 KeyEventSeq and KeySet.
6590 Added two new relations, RELATION_TOOLTIP_FOR and
6591 RELATION_LEAFNODE_OF.
6594 Added new state, STATE_HAS_TOOLTIP.
6596 * libspi/text.c, editabletext.c:
6597 Added new assertions to all casts of bonobo-objects from
6598 CORBA servants, to prevent Text API calls on non-text objects.
6599 Changed suspect casts of int-pointer types, so that we
6600 always send a valid CORBA_long pointer to the CORBA APIs that use
6601 in/out long parameters. We then have to copy from the CORBA_long
6602 into the regular long or int for return to the C bindings, or
6603 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6606 * libspi/deviceeventcontroller.c:
6607 Cleaned these sources up.
6609 Changed return type for getCharacterAtOffset to
6610 CORBA_unsigned_long, to allow for 32-bit characters.
6613 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6617 Fixed 'make dist' so that distro compiles...
6618 * libspi/keymasks.h:
6620 * cspi/spi-listener.c:
6621 KeystrokeListenerCB now returns a boolean.
6623 Added KeyEventType struct, and KeyStroke.
6624 Also added createKeystrokeListener(),
6625 KeystrokeListener_addCallback(),
6626 KeystrokeListener_removeCallback(), and added a keymask to
6627 registerKeystrokeListener().
6628 * cspi/spi_accessible.c:
6629 Changed numerous return types for interfaces from
6630 AccessibleComponent to Accessible<InterfaceName>; this was
6631 probably a cut-and-paste error.
6633 Implementations of new KeystrokeListener api (from spi.h,
6636 Changes to key modifier mapping.
6637 Created ControllerEventMask struct.
6638 Made DeviceEventController derive from Bonobo::Unknown.
6640 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6641 * libspi/deviceeventcontroller.c:
6642 Added a number of new internal (private) methods.
6643 * libspi/editabletext.c:
6644 * libspi/editabletext.h:
6645 Fixed a number of bugs related to the fact that
6646 editabletext inherits from text. Fixed the EditableText struct,
6647 the init() call, and use correct casts when calling Text methods
6648 from an EditableText object. Removed (duplicate) atko from the
6649 EditableText structure, we use the one in the parent Text
6650 structure via the casts mentioned above.
6651 * libspi/keystrokelistener.[ch]:
6652 * libspi/registry.c:
6653 Changes in support of keyboard handling (above).
6655 Keyboard handling, though partly functional, is still not
6656 recommended for at-spi client use as there is considerable
6657 work yet to be done.
6660 Changed some places where pointers to various int types
6661 are cast to be pointers to CORBA_long types and vice-versa:
6662 pointer casting is not safe so we pass pointers of the correct
6663 types and then cast the result before putting it into the target
6666 * libspi/text.h: minor typos corrected.
6668 We now speak not only the name of a Text element, but the
6669 first sentence of its content, when it receives focus.
6670 I also changed the text compression to 75% from 50%.
6671 * util/Accessibility_Util.server.in:
6672 Changed the default magnifier type to be a 3x vertical
6673 splitscreen magnifier (was previously a 2x horizontal one).
6675 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6677 * libspi/keystrokelistener.h:
6678 * libspi/keystrokelistener.c:
6679 Initial functional implementations of KeystrokeListener.
6682 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6684 Fixed string handling for NULL strings in libspi.
6685 Added spi_freeString to free strings returned by C bindings.
6687 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6689 * libspi/keystrokelistener.h:
6690 * libspi/keystrokelistener.c:
6691 Began (no-op) implementations of KeystrokeListener
6693 * libspi/deviceeventcontroller.c:
6694 * libspi/deviceeventcontroller.h:
6695 Began creating implementations of DeviceEventController,
6696 to handle keystroke and mouse event listening and
6698 * libspi/accessible.c:
6699 Stubbed-in the implementations for
6700 Accessibility_Accessible_getState and
6701 Accessibility_Accessible_getRelationSet.
6702 * libspi/registry.c:
6703 Improved de-registration process and fixed some bugs,
6704 deregistration now works correctly.
6706 Added initialization of applications list (to NULL).
6708 Reduced speech compression from 0.5 to 0.7, for demo.
6709 Changed call to gdk_window_set_decorations()
6710 to gtk_window_set_decorated().
6711 * at-bridge/bridge.c:
6712 Bridge now deregisters when app exits, via
6713 registration of a cleanup function
6714 with the g_atexit() call.
6715 Required making 'app' static, renamed 'this_app'.
6716 Fixed broken use of bonobo_init, passing argv wrongly.
6718 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6722 Created a new directory for
6723 accessibility-related utilities, primarily for
6724 testing and demo purposes, but with possible
6731 Onscreen magnifier utility that
6732 is implemented as a bonobo service.
6734 * util/mag_client.c:
6735 * util/mag_client.h:
6736 Client-side support (simple C bindings)
6737 for Magnification service
6739 * util/mag_control.c:
6740 Client program example for
6741 Magnification service
6743 * util/Accessibility_Magnifier.server.in:
6744 Bonobo-activation file for the
6745 Magnification service.
6748 * util/idl/Magnifier.idl:
6749 IDL defining the bonobo Magnification
6753 Modifications to use the bonobo-activated magnifier
6754 above, in place of trying to connect to an existing
6755 magnifier that uses socket-listening IPC.
6757 If env variable MAGNIFIER is set, a magnifier service
6758 will be started if one does not exist.
6760 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6762 * at-bridge/bridge.c:
6763 applied patch from Marc to build and run
6764 against new glib and gtk+ (seemed like a change
6765 to bonobo_init signature was made ?)
6767 made festival-server support turned off by default.
6768 Added support for a simple magnifier (off by default)
6769 which will be added to a 'util' directory later.
6770 * at-bridge/Makefile.am:
6771 Changed "application.h" header from a 'source'
6772 to a 'dependency' of libat-bridge.
6774 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6783 Added interface implementation c files to list of
6784 includes so they are included in libcspi.
6787 Changed prototype of AccessibleAction_doAction to return a
6789 Changed prototype of AccessibleTable_getCaption to
6790 return an Accessible.
6791 Changed prototype of AccessibleTable_getSelectedRows
6792 and AccessibleTable_getSelectedColumns to
6793 return a long (returns the number of selected rows
6794 or columns respectively).
6795 Changed name of AccessibleText_refRunAttributes to
6796 AccessibleText_getAttributes.
6797 Changed prototype of AccessibleText_getCharacterExtents to
6798 return a void rather than a boolean.
6799 Added support for a AccessibleCoordType parameter
6800 specifying what type of coordinates are desired.
6801 Added an AccessibleCordType parameter to
6802 AccessibleText_getPointAtOffset.
6804 * cspi/spi_accessible.c:
6805 Added code to return the outstanding interfaces from
6806 Accessible_queryInterface.
6808 * cspi/spi_action.c:
6810 Corrected call to getNActions to call the c binding
6813 * cspi/spi_editabletext.c:
6815 Changed name from setRunAttributes to setAttributes.
6817 * cspi/spi_hyperlink.c:
6819 Changed call to getNAnchors to correctly call the c
6820 binding for an attribute.
6822 * cspi/spi_hypertext.c:
6824 Changed getImageDescription to correctly call the
6825 binding for an attribute.
6827 * cspi/spi_selection.c:
6828 Changed getNSelectedChildren to correctly call the c
6829 binding for the attribute.
6830 Changed refSelectedChild to getSelectedChild.
6834 Changed getCaption to return an Accessible.
6835 Fixed calls which retrieve attributes.
6836 Changed refAt to getAccessibleAt.
6837 Changed getNSelectedRows and getNSelectedColumns to
6841 Changed getCharacterExtents and getPointAtOffset to accept an
6842 AccessibleCoordType.
6844 Changed calls which retrieve attributes.
6845 Changed refRunAttributes to getAttributes.
6850 * idl/Hyperlink.idl:
6851 Changed n_anchors attribute to nAnchors to keep naming
6852 convention consistent.
6855 Made Table inherit from Bonobo::Unknown.
6856 Added nSelectedColumns and nSelectedRows attributes.
6859 Made Value inherit from Bonobo::Unknown.
6861 * libspi/hyperlink.c:
6862 Change for nAnchors attributte name change.
6864 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6872 Added interface implementation c files to list of
6873 includes so they are included in libcspi.
6876 Changed prototype of AccessibleAction_doAction to return a
6878 Changed prototype of AccessibleTable_getCaption to
6879 return an Accessible.
6880 Changed prototype of AccessibleTable_getSelectedRows
6881 and AccessibleTable_getSelectedColumns to
6882 return a long (returns the number of selected rows
6883 or columns respectively).
6884 Changed name of AccessibleText_refRunAttributes to
6885 AccessibleText_getAttributes.
6886 Changed prototype of AccessibleText_getCharacterExtents to
6887 return a void rather than a boolean.
6888 Added support for a AccessibleCoordType parameter
6889 specifying what type of coordinates are desired.
6890 Added an AccessibleCordType parameter to
6891 AccessibleText_getPointAtOffset.
6893 * cspi/spi_accessible.c:
6894 Added code to return the outstanding interfaces from
6895 Accessible_queryInterface.
6897 * cspi/spi_action.c:
6899 Corrected call to getNActions to call the c binding
6902 * cspi/spi_editabletext.c:
6904 Changed name from setRunAttributes to setAttributes.
6906 * cspi/spi_hyperlink.c:
6908 Changed call to getNAnchors to correctly call the c
6909 binding for an attribute.
6911 * cspi/spi_hypertext.c:
6913 Changed getImageDescription to correctly call the
6914 binding for an attribute.
6916 * cspi/spi_selection.c:
6917 Changed getNSelectedChildren to correctly call the c
6918 binding for the attribute.
6919 Changed refSelectedChild to getSelectedChild.
6923 Changed getCaption to return an Accessible.
6924 Fixed calls which retrieve attributes.
6925 Changed refAt to getAccessibleAt.
6926 Changed getNSelectedRows and getNSelectedColumns to
6930 Changed getCharacterExtents and getPointAtOffset to accept an
6931 AccessibleCoordType.
6933 Changed calls which retrieve attributes.
6934 Changed refRunAttributes to getAttributes.
6939 * idl/Hyperlink.idl:
6940 Changed n_anchors attribute to nAnchors to keep naming
6941 convention consistent.
6944 Made Table inherit from Bonobo::Unknown.
6945 Added nSelectedColumns and nSelectedRows attributes.
6948 Made Value inherit from Bonobo::Unknown.
6950 * libspi/hyperlink.c:
6951 Change for nAnchors attributte name change.
6954 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6956 implementations-- made server implementations own AtkObject pointers
6957 rather than their respective AtkInterrface pointers to fix
6958 refcounting. AtkHyperlink is still broken.
6960 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6961 * cspi/spi_accessible.c:
6962 Added method Accessible_Role_getName(),
6963 and requisite string array (role_names).
6964 Added conversion string_from_corba_strin() call
6965 to Accessible_getName and _getDescription.
6966 * libspi/accessible.c:
6967 Added implementation for Accessible_getRole()
6969 Added festival support, used if environment variable
6972 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6974 * at-bridge/bridge.c:
6975 Now allocate Accessibility_Event using
6976 Accessibility_Event__alloc() instead of g_new0().
6977 * libspi/accessibleeventlistener.c:
6978 Initialize AccessibleEventListener->callbacks to NULL.
6979 Fixed accessible__event_listener_init() param, changed to
6980 "AccessibleEventListener *" type.
6981 Changed a bonobo_object_release_unref() call to
6982 Accessibility_Accessible_unref().
6983 * libspi/listener.c:
6984 Changed Bonobo_Unknown_unref to (equivalent)
6985 Accessibility_Accessible_unref.
6986 * libspi/registry.c:
6987 Changed bonobo_object_release_unref to
6988 Accessibility_Accessible_unref.
6990 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6993 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6994 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6995 spi-util.c spi-util.h
6996 Implementations for C bindings to remaining accessibility
6999 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7002 changed return value of Action from void to boolean to
7003 bring in line with ATK.
7006 Changed getText funcions to return "out" start and end offsets.
7007 Changed getAttributes to take and offset and return the start
7008 and end offset of the attribute run.
7009 Changed getOffsetAtPoint and getCharacterExtents to take an
7010 enum describing whether coordinates are window or screen.
7013 libspi/action.c libspi/action.h libspi/editabletext.c
7014 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7015 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7016 libspi/image.h libspi/selection.c libspi/selection.h
7017 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7018 libspi/value.c libspi/value.h
7019 Added server implementations for outstanding ATK interfaces
7020 not yet implemented.
7022 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7025 Added (missing) getName() method.
7026 Made nActions an attribute.
7027 * idl/EditableText.idl:
7028 Changed order of params in setAttributes.
7029 * idl/Hyperlink.idl:
7030 Removed getAnchor, added getURI.
7032 Changed attributes to methods, for efficiency
7033 (so that getting extents can be done in one call)
7034 * idl/Selection.idl:
7035 Changed nSelectedChildren to attribute, and re-indented.
7036 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7038 * idl/Text.idl: reformatted to match our coding style.
7039 (temporarily?) removed getRowColumnAtOffset().
7040 Changed text selection API to support multi-select and
7041 non-contiguous selections, as in ATK.
7042 * idl/Value.idl: changed some methods to attributes.
7044 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7046 * libspi/listener.c(impl_notify_event):
7047 BonoboUnkown_unref the source instead
7048 of bonobo_object_release_unref - the ORB
7049 handles the releasing.
7051 * configure.in: require ORBit-2.3.94 for
7054 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7056 Tagged CVS repository 'EA_1_0'.
7057 * README.EARLY_ACCESS:
7058 Alphabetized acknowledgements list, and
7060 Listed some known dependencies of at-spi.
7062 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7064 * docs/at-spi-docs.sgml:
7065 * docs/at-spi-sections.txt:
7066 * docs/at-spi-overrides.txt: (Added zero-length file)
7067 Documentation improvements - gtk-doc should build
7068 docs for all implemented C bindings now.
7071 * cspi/spi.c: (New file)
7072 * cspi/spi_event.c: (New file)
7073 * cspi/spi_registry.c: (New file)
7074 * cspi/spi_accessible.c: (New file)
7075 * cspi/spi_application.c: (New file)
7076 * cspi/spi_component.c: (New file)
7077 Split spi_main.c into six parts, and included them from
7078 "spi.c". This is a bit of a hack, probably temporary,
7079 but required by gtk-doc, apparently.
7081 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7084 * docs/at-spi-docs.sgml:
7085 * docs/at-spi-sections.txt:
7087 Initial checkins/modifications for gtk-doc generation.
7090 Added (missing) interface query methods to Accessible's C binding.
7092 Added GenericInterface type definition.
7094 Added query for AccessibleComponent interface to focus event handler.
7095 Added printout of bounding box for focussed component.
7096 * libspi/component.c:
7097 Added partial implementation for AccessibleComponent to C binding.
7098 * idl/Application.idl:
7099 * libspi/registry.c:
7100 * libspi/listener.c:
7101 * libspi/application.c:
7102 * libspi/application.h:
7103 Changed "ID" attribute type from string to long.
7105 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7109 Made method naming consistent: methods taking object args
7110 start with uppercase, other methods (except those using
7111 acronyms) start with lowercase. Underscores delimit between
7112 object names and method names:
7113 SPI_init() - uppercase since it starts with an acronym.
7114 getDesktopCount () - lowercase start since no object param0.
7115 Accessible_getName() - uppercase object type name, studlyCaps method
7119 Added gtk-doc documentation for all currently implemented
7120 methods in the C bindings API.
7122 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7124 * Makefile.am : changed build order to build test last.
7127 Changed "createEventListener" to "CreateEventListener".
7128 * libspi/accessibleeventlistener.c :
7129 Bugfix for addition of callbacks.
7130 * test/Makefile.am :
7131 * test/simple-at.c :
7132 Added new test that uses the C bindings API.
7134 * libspi/listener.c :
7135 * libspi/registry.c :
7136 * libspi/accessibleeventlistener.c :
7137 * at-bridge/bridge.c :
7138 Renamed member "target" of Accessibility_Event to "source",
7139 which is more descriptive.
7142 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7146 * cspi/Makefile.am :
7147 Added makefile support for at-spi/cspi directory.
7150 * cspi/spi-listener.h : (NEW FILE)
7151 Added support for/use of spi-listener.h.
7153 C bindings now build successfully, with no warnings.
7154 * libspi/accessibleeventlistener.h : (NEW FILE)
7155 * libspi/accessibleeventlistener.c : (NEW FILE)
7156 * libspi/Makefile.am :
7157 Added new object type "AccessibleEventListener"
7158 which inherits from Listener, and allows attachment
7159 of in-process callbacks (so that a client with a listening
7160 object instance can add functionality to the local
7161 implementation, dynamically).
7163 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7165 * libspi/accessible.c:
7166 Add implementation for get_index_in_parent().
7168 Added #include of "spi-roletypes.h", and
7169 added enumerated type AccessibleCoordType.
7170 Added definition for KeystrokeListener (function type).
7173 * cspi/spi-statetypes.h :
7174 * cspi/spi-roletypes.h :
7176 Added these headers, used by spi.h.
7178 Added code (NOTE: not yet built by make).
7180 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7182 * libspi/Makefile.am: generate imodule
7183 at the same time as other idl compiler
7186 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7187 * libspi/registry.c :
7188 * libspi/application.c :
7189 * idl/Application.idl :
7190 Made registration with toolkit an application method,
7191 which is required since each app has its own toolkit static
7192 environment. Thus the bridge must register for
7193 notification of toolkit events from each application in turn.
7194 Toolkit notifications are now successfully registered for, and
7195 sent to the listening at client.
7197 Changed toolkit event string to use hyphens rather than underscores.
7198 * libspi/listener.c :
7199 listner now gives more info in debug mode - it reports the
7200 name of the event received, as well as the name of the source.
7203 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7205 * libspi/registry.c :
7206 added more implementation for toolkit events.
7207 Fixed bug such that toolkit event registrations
7208 (via atk) use the whole event name string, not
7210 Removed a useless call to an ORBit_ method.
7211 * at-bridge/bridge.c :
7212 Removed unused local sbuf[] variable.
7214 We now register for Gtk:GtkWidget:button_press_event
7215 events as well as "focus:" events.
7217 Add some more API from Registry.idl that was missing,
7218 for keystroke listening, keystroke and mouse event
7219 synthesis, and enumeration of accessible desktops.
7221 2001-08-16 Michael Meeks <michael@ximian.com>
7223 * configure.in: use AM_GLIB_GNU_GETTEXT.
7225 * Makefile.am (SUBDIRS): kill intl.
7227 2001-08-15 Michael Meeks <michael@ximian.com>
7229 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7231 * configure.in: upd.
7233 * configure.in: depend on a recent bonobo-activation that
7234 will find our server files ...
7236 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7238 * libspi/accessible.c : accessible_new() :
7239 Now we add the Component interface via bonobo_object_add_interface,
7240 if the contained AtkObject implements AtkComponent.
7241 * libspi/accessible.h : now include "component.h"
7242 * libspi/component.h :
7243 * libspi/component.c : added files - implementation of
7244 bonobo wrapper object for Accessibility/Component
7245 * libspi/listener.c :
7246 Added test code to check for Accessibility/Component:1.0
7247 interface and report whether it is implemented by the
7249 * libspi/registry.c :
7250 Now we check for not only the hash of the whole event
7251 string before relaying the event, we also check the
7252 "minor" event string (without the detail string).
7253 This allows event listeners to be registered against
7254 all events of a certain major+minor type, or just
7255 against a specific major+minor+detail type.
7256 * libspi/accessible.c :
7257 Added implementations for Accessible:get_parent(),
7258 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7259 * libspi/registry.c :
7260 * libspi/listener.c :
7261 Replaced calls to Accessibility_Accessible_ref() and
7262 Accessibility_Accessible_unref() with
7263 calls to bonobo_object_dup_ref() and
7264 bonobo_object_release_unref(), so that the CORBA object
7265 is dup-ed and released when relayed, as well as the bonobo object.
7267 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7269 * libspi/Makefile.am,
7270 registryd/Makefile.am,
7271 at-bridge/Makefile.am.
7272 test/Makefile.am, configure.in:
7273 reverse previous changes.
7275 * /idl/Image.idl: fix typo.
7277 * test/Makefile.am: put DEBUG_FLAGS
7280 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7282 * test/app.c: use argv[0] instead of
7285 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7287 * libspi/Makefile.am,
7288 registryd/Makefile.am,
7289 at-bridge/Makefile.am.
7290 test/Makefile.am, configure.in:
7291 cleanup, replace individual LIBS/CFLAGS with
7292 AT_COMMON_{LIBS|CFLAGS}.
7296 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7298 * configure.in, libspi/Makefile.am:
7299 Change IDL path checking for bonobo-activation
7302 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7304 * registryd/registry.c : separated event listeners to use
7305 3 separate lists (focus, window, toolkit). Began testing
7306 event names against hashes before relaying events.
7307 * test/at.c : now register for events of type "focus:"
7308 * test/app.c : now generate events of type "focus:"
7309 * at-bridge/bridge.c : register with ATK for focus events,
7310 and we now relay those focus events to any "focus:" listeners.
7311 This now works with the bridge as a GTK_MODULE when running test/at.
7312 * libspi/registry.c :
7313 * libspi/listener.c :
7314 now we ref event sources before propagating, and unref on receipt.
7315 * libspi/registry.c :
7316 some changes to internal structs, to support event typestring hashes.
7317 * text/app.c : changed the way the appname is generated.
7318 * cspi : added directory that will hold the C bindings library for
7319 non-CORBA/bonobo-savvy clients.
7320 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7321 * idl/Component.idl : added in parameter to indicate coord system for
7322 geometry-related calls.
7323 * idl/Hyperlink.idl : added readonly n_links attribute
7324 * idl/Image.idl : changed methods to attributes.
7326 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7328 * at-bridge/Makefile.am: link against
7329 ../libspi/libspi.la instead of -lspi.
7331 * at-spi/test/app.c: include
7332 bonobo-activation.h. Use a default appname
7333 if one is not provided.
7335 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7337 * idl/Registry.idl : temporarily changed register_Application
7338 to oneway, to work around issue with initial registration
7340 * idl/Application.idl : changed attribute "id" from readonly
7341 to read-write, since it needs to be assigned by Registry.
7342 * registryd/registryd.c : added call to set application id
7344 * registryd/registry.c : changed de-registration procedure to
7345 use CORBA_Object_hash() to find matching object ref in application
7346 lists and listener lists.
7347 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7348 began distinguishing between event types (work in progress).
7350 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7353 * libspi/application.c:
7354 Added implementations for get/set id, get_toolkitName,
7356 * registryd/registryd.c :
7360 Converted from use of OAF to bonobo-activation.
7361 * libspi/desktop.h :
7362 * libspi/desktop.c :
7364 Removed references to atksimpleobject, since base atkobject
7365 implementation now provides functionality we need.
7366 * libspi/atksimpleobject.c :
7367 * libspi/atksimpleobject.h :
7372 * at-bridge/Makefile.am
7373 * at-bridge/bridge.c
7376 Added directory "bridge" and contents, and added dependencies
7377 in Makefile.am/configure.in.
7378 Initial checkin of "at-bridge".
7379 This code is a GTK_MODULE which automatically registers
7380 GTK+ apps with the accessibility registry, using an object
7381 reference to the root ATK object.
7383 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7385 * po/Makefile.in.in: Remove. Again. If this
7386 doesn't get autogenerated - you need to update
7389 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7391 * po/Makefile.in.in: Add. Again.
7393 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7395 * libspi/accessible.c : added support for 'description' property.
7396 * libspi/accessible.c
7398 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7399 (since the two are now equivalent in libbonobo)
7407 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7408 Bonobo::Unknown as does Accessibility::Accessible.
7409 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7410 interface with Bonobo::Stream, since it was redundant with it.
7411 (The Stream returned by a StreamableContext object is expected to
7412 implement only a subset of Bonobo::Stream)
7414 2001-07-28 Anders Carlsson <andersca@gnome.org>
7416 * libspi/accessible.c (accessible_object_finalize): Change
7417 g_free to g_object_unref since the AtkObject is a GObject.
7419 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7421 * idl/Accessibility.idl: add new IDL files
7424 * idl/Action.idl: Definitions of actionable UI object
7425 * idl/Component.idl: Definitions of UI component geometry, etc.
7426 * idl/Hyperlink.idl: Defs of hyperlink behavior
7427 * idl/Image.idl: Def of accessible image
7428 * idl/Selection.idl: Definition of UI object with selectable children
7429 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7430 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7431 * idl/Text.idl: Interface defs for UI elements with complex textual content
7432 * idl/Value.idl: Definition of UI element that is a value controller or display
7434 2001-07-27 Michael Meeks <michael@ximian.com>
7436 * po/Makefile.in.in: remove autogenerated file from CVS.
7438 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7441 * idl/Registry.idl: include guard.
7443 * idl/Accessibility.idl: Add, and include all the other IDL
7446 * idl/*.idl: remove mass of pragmas etc.
7448 2001-07-26 Michael Meeks <michael@ximian.com>
7450 * registryd/Makefile.am (registryd_SOURCES): remove
7453 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7455 * libspi/.cvsignore, registryd/.cvsignore,
7456 test/.cvsignore: updated.
7458 * po/Makefile.in.in: gettext update.
7460 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7462 * initial CVS checkin
7464 2001-06-29 Michael Meeks <michael@ximian.com>
7466 * configure.in: add AM_CONFIG_HEADER to gen config.h