1 2006-03-20 Bill Haneman <bill.haneman@sun.com>
4 (impl_get_selected_rows): Don't free the selection if it's
5 empty or has not been assigned; init it to NULL so you can tell.
6 Also, allow for zero selected rows.
7 (impl_getSelectedColumns): Ditto. Bug #319088.
9 2006-03-11 Vincent Untz <vuntz@gnome.org>
11 Leak fix for bug #334217.
13 * libspi/application.c: spi_application_toolkit_event_listener():
14 don't duplicate the string we pass as an argument to
15 spi_init_any_nil() since spi_init_any_nil() already does it
16 * registryd/deviceeventcontroller.c:
17 (spi_dec_button_update_and_emit): ditto
18 (spi_dec_mouse_check): ditto
19 (spi_dec_emit_modifier_event): ditto
20 (spi_device_event_controller_forward_mouse): ditto
21 * registryd/registry.c:
22 (desktop_add_application): ditto
23 (desktop_remove_application): ditto
25 2006-02-20 Bill Haneman <billh@gnome.org>
27 * configure.in: Rev to 1.7.6.
29 Leak fixes for bug #331924.
31 * atk-bridge/bridge.c:
32 (spi_atk_bridge_init_base): Don't dup the string, it's already
33 been dup-ed. Fixes a leak.
34 (spi_atk_emit_eventv): Move the CORBA_free call here,
35 instead of spi_atk_state_event_listener; fixes another leak.
36 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
37 notifying the registry; fixes another leak.
39 * registryd/registry.c:
40 (registry_flush_event_queue): Free the CORBA_any when
41 flushing the event, not just the string. Fixes another leak.
42 (registry_queue_event): Free the CORBA_any when dropping
43 events on the floor; fixes another leak.
46 (spi_init_any_object, spi_init_any_nil):
47 Always set _release to TRUE. Fixes another leak.
49 2006-02-20 Bill Haneman <billh@gnome.org>
51 * configure.in: Rev to 1.7.5.
52 Reinstate localization of this module. Thanks for Rodney
53 Dawes for fixing my patch.
55 * registryd/Makefile.am: Remove Accessibility_Registry.server
56 from dist, since it needs to be re-created at configure time.
59 2006-01-31 Bill Haneman <billh@gnome.org>
61 * configure.in: Rev to 1.7.4 (to include build fix below).
63 * idl/Makefile.am: Include Selector.idl in dist.
67 (cspi_internal_event_get_object): Handle case where
68 "object" isn't present, i.e. CORBA_TC_Object doesn't match
69 the EventDetails data.
70 (cspi_internal_event_get_text): Handle NULL string.
71 (cspi_internal_event_get_rect): Handle missing/empty rect
72 data, Accessibility_TC_RectBounds doesn't match any_data.
74 2006-01-30 Bill Haneman <billh@gnome.org>
78 * atk-bridge/bridge.c:
79 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
80 interface and use that when instantiating a new source
81 accessible. Better fix for bug #321814.
83 2006-01-27 Bill Haneman <billh@gnome.org>
85 * idl/Accessibility_Selector.idl: Added to the cvs repository.
87 * configure.in: Revved to 1.7.3.
89 2006-01-17 Bill Haneman <billh@gnome.org>
91 * configure.in: Revved to 1.7.2, re-dist to include docs.
93 2006-01-09 Bill Haneman <billh@gnome.org>
95 * configure.in: Removed po/Makefile.in inclusion, we do not need
98 * idl/Accessibility.idl: Improved documentation here, and for all
99 IDL in the 'GNOME::Accessibility' namespace.
101 * idl/Accessibility_Accessible.idl:
102 (LOCALE_TYPE): Added enum.
103 (AttributeSet): New, for returning multiple name/value attribute pairs.
104 (RoleSet): New, sequence of Roles, to be used in upcoming
106 (getAttributes): New API, allows retrieval of name/value pair
107 annotations for all kinds of Accessible objects. C.f.
108 Text:getAttributes, which is only for typographic/textual/semantic tags in
110 (getApplication): New, retrieves the host/containing Application
111 instance for an object (without having to walk up the whole tree).
113 * idl/Accessibility_Component.idl:
114 (getAlpha): New method, returns the alpha blending (aka 'opacity')
115 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
118 * idl/Accessibility_Event.idl:
119 (EventDetails): New struct definition, for encapsulating
120 commonly-queried information about emitted events. The use of
121 this structure in emitted events (in the 'any' member of
122 Accessibility_Event) should greatly reduce the number of
123 client-server roundtrips necessary.
125 * idl/Accessibility_Image.idl:
126 (imageLocale): New, a readonly attribute indicating the POSIX
127 LC_MESSAGES locale of the image and associated Alt/descriptive
130 * idl/Accessibility_Relation.idl:
131 (RELATION_PARENT_WINDOW_OF): Include, as complement to
134 * idl/Accessibility_Role.idl:
135 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
136 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
137 complex document and form support.
139 * idl/Accessibility_State.idl:
140 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
141 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
142 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
143 for support of complex documents and forms.
145 * idl/Accessibility_StreamableContent.idl:
146 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
147 allow old bonobo-stream interfaces to be deprecated in the next
150 * idl/Accessibility_Text.idl:
151 (getAttributeValue): New method, allows query-by-name of single
154 * libspi/accessible.c:
155 Added support for new roles. Implemented new methods
156 (impl_accessibility_accessible_get_application): New
157 (impl_accessibility_accessible_get_attributes): New
159 * libspi/component.c:
160 (impl_accessibility_component_get_alpha): New.
163 (impl_accessibility_image_get_locale): New.
165 * libspi/relation.c: Added support for new relation type.
167 * libspi/stateset.c: Added support for new state types.
170 (impl_getAttributeValue): New.
173 New prototypes for private methods
175 spi_init_any_object, spi_init_any_string,
178 * libspi/spi_event.c:
179 Use EventDetails in the event emission methods.
181 * cspi/spi-private.h:
182 (cspi_role_from_spi_role): Expose this adapter method, since
183 we need it in the bridge (see below).
186 (AccessibleEvent_getSourceName):
187 (AccessibleEvent_getSourceRole):
188 (AccessibleEvent_getSourceApplication):
189 (AccessibleEvent_getSourceDetails):
190 New methods for interrogating/demarshalling
191 event details (i.e. source's accessible name, role,
194 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
195 Make use of the new EventDetails struct in events, if present.
196 (AccessibleEvent_getSourceName)
197 (AccessibleEvent_getSourceRole)
198 (AccessibleEvent_getSourceApplication)
199 (AccessibleEvent_getSourceDetails): Implement the newly exposed
201 (Accessible_getAttributes): New, wraps
202 Accessibility_Accessible_getAttributes.
203 (Accessible_getHostApplication): New, wraps
204 Accessibility_Accessible_getApplication.
207 (AccessibleImage_getImageLocale): New wrapper for
208 Accessibility_Image_get_imageLocale.
210 * cspi/spi_component.c:
211 (AccessibleComponent_getAlpha): New wrapper for
212 Accessibility_Component_getAlpha.
214 * atk-bridge/bridge.c:
215 Use new prototyped for init_any methods.
216 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
217 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
218 (spi_atk_bridge_init_base): Wrappers
219 for spi_init_any_* methods, due to refactor; include extended
220 information in the Accessibility_EventDetails struct, for instance
221 accessible-name, Role, and containing Application.
223 * registryd/registry.c:
224 Use new event emission (with EventDetails).
226 * registryd/deviceeventcontroller.c:
227 Use new event emission (with EventDetails).
229 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
231 * configure.in: Generate po/Makefile.in
232 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
233 * cspi/spi_streamablecontent.c:
234 (accessible_bonobo_stream_client_seek),
235 (AccessibleStreamableContent_seek): Remove unused vars.
236 * libspi/application.c: Missing header.
237 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
238 * login-helper/login-helper.c: (login_helper_finalize),
239 (login_helper_init): Remove unused stuff
240 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
241 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
242 and surround some with #ifdef GRAB_BUTTON.
243 * test/event-listener-test.c: (main), (report_event),
244 (report_caret_event), (report_detail_event),
245 (report_detail1_event), (report_bounds_event), (report_text_event),
246 (report_text_selection_event),
247 (report_active_descendant_changed_event),
248 (report_children_changed_event), (report_name_changed_event),
249 (report_description_changed_event), (report_parent_changed_event),
250 (report_window_event), (report_table_summary_event),
251 (report_table_header_event), (report_table_caption_event),
252 (report_table_row_description_event),
253 (report_table_column_description_event), (timing_test_event):
254 Remove a bunch of unused variables and fix a slew of format specifiers
255 * test/key-listener-test.c: (report_all_key_event): Format specifier
256 * test/keypad-test.c: (print_key_event): Same
257 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
259 * test/screen-review-test.c: (main), (print_chunk_debug),
260 (review_buffer_get_text_chunk), (debug_chunk_list),
261 (string_guess_clip), (text_chunk_get_clipped_string),
262 (text_chunk_list_to_string), (get_screen_review_line_at):
263 Remove unused variables and fix format specifiers.
264 * test/simple-at.c: (report_text_event): Format specifier fix.
265 * test/stress-test.c: (main): Remove unused var.
267 2005-12-29 Abel Cheung <maddog@linuxhall.org>
269 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
270 (yes I know that's useless)
272 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
274 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
276 2005-11-17 Michael Meeks <michael.meeks@novell.com>
278 * atk-bridge/bridge.c (spi_atk_emit_eventv):
279 urgh-fix embarassing typo.
281 2005-11-16 Michael Meeks <michael.meeks@novell.com>
283 * atk-bridge/bridge.c (spi_atk_emit_eventv):
284 do a faster, less problematic _unref call on this local
285 object, rather than a slower (potentially cross-thread
286 complicated) CORBA call.
288 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
290 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
291 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
292 * registryd/deviceeventcontroller.c:
293 (spi_controller_notify_mouselisteners),
294 (impl_generate_keyboard_event):
295 * test/screen-review-test.c: (chunk_bounds_within):
296 * test/test-simple.c: (test_desktop): Remove some unused code
297 and fix compiler warnings. Closes bug #320049.
299 2005-10-27 Bill Haneman <bill.haneman@sun.com>
301 * registryd/deviceeventcontroller.c:
302 (spi_controller_notify_keylisteners): Check
303 to make sure the event listener has requested 'preemptive'
304 status before pre-empting an event.
306 2005-08-29 Bill Haneman <bill.haneman@sun.com>
308 * configure.in, README, NEWS: Release 1.6.5.
310 2005-07-25 Matthias Clasen <mclasen@redhat.com>
312 * test/window-listener-test.c: Fix a printf
313 format error. (#169453)
315 2005-07-15 Bill Haneman <bill.haneman@sun.com>
317 * tests/test-simple.c:
318 (key_listener_cb): Ensure that the keystring is dup'ed instead of
319 relying on the old string from the key event hanging around after
320 the event handler returns. Fixes broken 'make check'.
322 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
324 * Added Marathi (mr_IN) translations.
326 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
328 * cspi/bonobo/cspi-bonobo-listener.c:
329 (cspi_event_list_remove_by_cb): Fix the build.
331 2005-05-26 Michael Meeks <michael.meeks@novell.com>
333 * cspi/bonobo/cspi-bonobo-listener.c
334 (cspi_event_list_remove_by_cb): actually filter by callback.
336 2005-05-25 Bill Haneman <bill.haneman@sun.com>
338 * registryd/registry.c (remove_listener_cb):
339 Make deregistration filter rules match the event emission rules.
341 2005-05-25 Michael Meeks <michael.meeks@novell.com>
343 * registryd/registry.c (remove_listener_cb),
344 (impl_accessibility_registry_deregister_global_event_listener),
345 (impl_accessibility_registry_deregister_global_event_listener_all):
346 pass a closure to the remove callback to filter listeners more
347 accurately on remove.
349 2005-04-05 Bill Haneman <bill.haneman@sun.com>
351 * configure.in: Revved to 1.6.4.
352 Remember to put quotes around XEVIE_LIBS assignment.
353 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
356 * tests/event-listener-test.c: Tweaked the tests - more detail
357 from caret events, and some interrogation of AccessibleText APIs.
358 Commented-out the bounds-changed events by default, since they can
361 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
363 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
364 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
365 Same here. Closes bug #167806
367 2005-04-05 Bill Haneman <bill.haneman@sun.com>
369 * atk-bridge/bridge.c:
370 (spi_atk_bridge_signal_listener):
371 Free the any._value if any._release is TRUE,
372 since the ORB won't do it for us in this case
373 [because this method is not a skel].
376 2005-03-30 Steve Murphy <murf@e-tools.com>
378 * configure.in: Added "rw" to ALL_LINGUAS.
380 2005-03-29 Bill Haneman <bill.haneman@sun.com>
382 * configure.in: Improved check for HAVE_XEVIE, to detect
383 presence on XOrg, where -lXevie is a separate library.
385 2005-03-08 Bill Haneman <bill.haneman@sun.com>
387 * configure.in, NEWS, README: Revved to 1.6.3.
389 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
391 * configure.in: Added "xh" to ALL_LINGUAS.
393 2005-02-07 Bill Haneman <bill.haneman@sun.com>
395 * atk-bridge/bridge.c:
396 (atk_bridge_init): Added missing NULL in g_strconcat(),
397 also check for symlink before logging to
398 insecure directory. Thanks to meissner@suse.de.
400 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
402 * tests/login-helper-server-test.c: Add return call to main
403 function. Patch from Chris Lahey. Fixes bug #165129.
405 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
407 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
409 2004-12-09 Bill Haneman <billh@gnome.org>
411 * registryd/registry-main.c:
412 Added #define <string.h> for strrchr. (bug 160862).
413 Thanks to Vincent Berger for catching.
415 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
417 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
418 restart registry process if the registry process is found to have died
419 and the current process is exiting.
420 (spi_atk_bridge_exit_func): Do not attempt to deregister the
421 application if the registry process has died.
422 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
423 does not return a registry object.
424 (spi_atk_tidy_windows): Give up if the registry process has died.
426 This fixes problems with hangs and crashes when logging out.
428 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
430 * registryd/desktop.c: Add checking that we are not exiting before
431 calling spi_desktop_remove_application in
432 abnormal_application_termination. Fix for bug #152147.
434 2004-12-02 Bill Haneman <billh@gnome.org>
436 * configure.in, NEWS, README: Revved to 1.6.1.
438 Patch from Padraig O'Briain <padraig.obriain@sun.com>
439 * atk-bridge/bridge.c:
440 (atk_bridge_init): Save the pid when we start, to detect forks.
441 (spi_atk_bridge_exit_func): Don't call the cleanup routines
442 if we're in a forked pid.
444 2004-10-09 Bill Haneman <billh@gnome.org>
446 * idl/Accessibility_LoginHelper.idl:
447 Improved inline documentation.
449 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
451 * configure.in: Added gl (Galician) to ALL_LINGUAS
453 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
455 * libspi/accessible.c:
456 (impl_accessibility_accessible_get_role_name),
457 (impl_accessibility_accessible_get_local_role_name):
459 * libspi/component.c:
460 (impl_accessibility_component_get_accessible_at_point):
462 * libspi/eventlistener.c: (spi_event_listener_new):
464 * libspi/stateset.c: (impl_compare): More of the same
465 * libspi/table.c: (impl_getRowDescription): Again.
466 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
467 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
468 (impl_generate_keyboard_event): Same.
469 * registryd/registry-main.c: (main): Same
470 * test/event-listener-test.c: (test_exit): Same
471 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
472 * test/keysynth-test.c: (test_key_synthesis): Same
473 * test/login-helper-server-test.c: (main): Fix warning.
474 * test/screen-review-test.c: (test_exit): Fix include.
475 * test/simple-at.c: (simple_at_exit), (_festival_init):
478 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
480 * configure.in, NEWS, README: Revved to 1.6.0.
482 2004-09-12 Bill Haneman <bill.haneman@sun.com>
484 * configure.in: Rev and re-dist, since the 1.5.4 tarball
485 was missing the HTML docs.
487 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
489 * configure.in: only cleanups:
490 - better looking PKG_CHECK_MODULES() output,
492 - declare in one common place required versions of other tools using
495 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
497 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
498 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
499 required ATK version accordingly.
501 2004-09-03 Bill Haneman <bill.haneman@sun.com>
503 * cspi/bonobo/cspi-bonobo.c:
504 (cspi_display_name): Fix C99ism.
505 * atk-bridge/bridge.c:
506 (spi_display_name): Fix C99ism.
507 Patch from Jens Granseuer, jensgr@gmx.net.
509 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
511 * configure.in: Added "or" to ALL_LINGUAS.
513 2004-08-20 Bill Haneman <bill.haneman@sun.com>
515 * configure.in, NEWS, README: Revved to 1.5.4.
517 * registryd/registry-main.c:
518 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
521 * cspi/bonobo/cspi-bonobo.c:
522 (cspi_display_name): New convenience method, gets DISPLAY with
523 screen number stripped, if AT_SPI_DISPLAY isn't already set.
524 (cspi_init): Set the activation env value above before getting
527 * atk-bridge/bridge.c:
528 (spi_display_name): Create the AT_SPI_DISPLAY activation
529 environment for an app, based on the DISPLAY environment with the
530 screen number stripped off.
531 (atk_bridge_init): Allow redirection of error messages to a log.
532 (spi_atk_bridge_get_registry): Call
533 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
535 Fixes for bugs #149962, #136986, #144086.
537 2004-08-16 Christian Rose <menthos@menthos.com>
539 * configure.in: Added "bs" to ALL_LINGUAS.
541 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
543 * configure.in: Added nb to ALL_LINGUAS.
545 2004-09-03 Bill Haneman <bill.haneman@sun.com>
548 (SPI_init): Return error code '2' if the activated
549 registry cannot be pinged. Fixes bug #147648.
551 2004-07-28 Bill Haneman <bill.haneman@sun.com>
553 * registryd/deviceeventcontroller.c:
554 (spi_dec_init_mouse_listener): Don't do XGrabButton,
555 rely on timer-poll instead, to avoid conflict with
558 2004-07-20 Bill Haneman <bill.haneman@sun.com>
560 * configure.in: Revved to 1.5.3.
562 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
564 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
566 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
568 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
570 2004-06-11 Bill Haneman <bill.haneman@sun.com>
572 * atk-bridge/bridge.c:
573 (spi_atk_bridge_do_registration):
574 Register with ATK for AtkComponent:bounds-changed events.
575 (api_atk_bridge_signal_listener):
576 Marshal the AtkRectangle info into the event notification
577 for object:bounds-changed events.
580 (spi_init_any_rect): New method, inits a corba struct of
581 type Accessibility_BoundingBox from an AtkRectangle.
583 * libspi/spi-private.h: Declared spi_init_any_rect (above).
586 (SPIRect): New struct definition.
587 (SPI_freeRect): New declaration.
588 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
591 (AccessibleBoundsChangedEvent_getNewBounds): New method,
592 implemented. Gets the bounding box data from the CORBA_any
593 associated with a bounds-changed event notification.
594 (cspi_internal_event_get_rect): New, used internally by above method.
597 (SPI_freeRect): Implemented this new method, for freeing
600 * test/event-listener-test.c:
601 (main, report_bounds_event):
602 Added a test for object:bounds-changed events.
604 2004-06-01 Bill Haneman <bill.haneman@sun.com>
606 * test/login-helper-server-test.c:
607 (main): Fix C99-ism. Thanks to Jens Granseuer.
609 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
611 * libloginhelper-1.0.pc.in:
612 * idl/Accessibility_LoginHelper.idl:
613 * login-helper/Makefile.am:
614 * login-helper/login-helper.[ch]:
615 * test/login-helper-client-test.c:
616 * test/login-helper-server-test.c: Added files missing from CVS.
617 Files obtained from at-spi-1.5.2 tarball.
619 2004-05-27 Bill Haneman <bill.haneman@sun.com>
621 * configure.in: Create login-helper/Makefile.
622 Incremented micro version.
624 * Makefile.am: Add login-helper subdir and pkgconfig data.
626 * login-helper: New subdir.
628 * libloginhelper-1.0.pc.in: New.
630 * idl/Accessibility_LoginHelper.idl: New file, defines
631 interface whereby authentication clients can identify agents which
632 need access to services during the login process, e.g. screen lock
635 * login-helper/Makefile.am : New.
637 * login-helper/login-helper.[ch] : New, implementation of
638 a LoginHelper base class. Services needing LoginHelper can subclass.
640 * test/Makefile.am : Added test for login-helper, client and
643 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
644 Use proper prefix in #include files.
646 * test/login-helper-client-test.c: New.
648 * test/login-helper-server-test.c: New.
650 2004-05-27 Alexander Shopov <ash@contact.bg>
652 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
654 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
656 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
657 is positive. This should make it easier to detect inapprorpiate unref
660 2004-05-11 James Henstridge <james@daa.com.au>
662 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
663 no-op and deprecated.
665 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
667 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
669 2004-04-28 Bill Haneman <billh@gnome.org>
671 * Makefile.am: Added --enable-gtk-doc to
672 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
674 2004-04-19 Bill Haneman <billh@gnome.org>
676 * configure.in: Revved to 1.5.1.
678 * registryd/deviceeventcontroller.c:
680 (DEControllerPrivateData): Added fields for
681 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
682 (spi_dec_replace_map_keysym): New internal utility for
683 replacing a keysym in the keymap - used to allow
684 synthesis of individual characters which aren't in the
686 (spi_dec_reset_reserved): New; resets the changed keysym value
688 (keycode_for_keysym): We now try to deal with failed
689 XKeysymToKeycode requests by changing a keymap value
690 and returning a reserved keycode. We now take
691 a DEController pointer as first arg.
692 (spi_controller_register_with_devices): Call XkbGetMap with
693 the XkbKeySymsMask. Find the highest keycode in the current
694 keymap which doesn't have any grabs, and mark that one for
695 temporary re-mapping when out-of-range KeySyms are synthesized.
696 (dec_synth_keycode_press): Call XFlush after synthesizing the key
699 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
701 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
703 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
705 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
707 2004-03-24 Bill Haneman <billh@gnome.org>
710 (AccessibleTable_addRowSelection),
711 (AccessibleTable_addColumnSelection),
712 (AccessibleTable_removeRowSelection),
713 (AccessibleTable_removeColumnSelection):
714 Add declarations for spi wrappers which were
715 inadvertantly omitted. Fixes bug #133413.
718 Revved to 1.5.0 (unstable series for GNOME 2.7).
720 2004-03-24 Bill Haneman <billh@gnome.org>
722 * atk-bridge/bridge.c:
723 Bracketed some debug output in
724 conditionals, to avoid printing it in normal use.
727 * libspi/hyperlink.c:
728 Don't cast 'object' to ATK_OBJECT when constructing
729 an AtkAction interface for a hyperlink.
730 See discussion in bug #120659.
732 * test/key-listener-test.c:
733 (report_all_key_event): Send output to stderr,
734 not stdout, for consistency with the rest of the test callbacks.
737 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
738 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
739 Incremented to 1.4.1 (but didn't dist yet - I'm going to
740 try incrementing the revision AFTER doing a dist, at least
743 2004-03-22 Bill Haneman <billh@gnome.org>
745 * configure.in: Revved to 1.4.0, libtool 9.14.9
747 2004-03-17 Laszlo Peter <laca@sun.com>
749 * libspi-1.0-uninstalled.pc.in: add idldir
751 * cspi-1.0-uninstalled.pc.in: add idldir
753 2004-03-16 Gareth Owen <gowen72@yahoo.com>
755 * configure.in: Added "en_GB" to ALL_LINGUAS
757 2004-03-15 Bill Haneman <billh@gnome.org>
759 * configure.in: Revved to 1.3.16,
762 2004-03-15 Laszlo Peter <laca@sun.com>
764 * libspi-1.0-uninstalled.pc.in: new file
766 * cspi-1.0-uninstalled.pc.in: new file
768 * configure.in: add the new pc files to AC_OUTPUT
770 * Makefile.am: add the new pc files to EXTRA_DIST
772 2004-03-12 Bill Haneman <billh@gnome.org>
774 * atk-bridge/bridge.c:
775 (spi_atk_bridge_key_listener):
776 Make sure to return consumed=FALSE if snoop
777 event is not dispatched to listener.
780 2004-03-01 Bill Haneman <billh@gnome.org>
782 * configure.in: Revved to 1.3.15,
785 2004-03-07 Danilo Segan <dsegan@gmx.net>
787 * configure.in: Added "sr@ije" to ALL_LINGUAS.
789 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
791 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
793 2004-03-01 Bill Haneman <billh@gnome.org>
795 * configure.in: Revved to 1.3.14.
798 (SPI_exit): Removed "bye-bye" exit message.
799 Moved "leak" report to happen before the
800 iteration over the leaked refs list.
801 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
803 2004-02-24 Bill Haneman <billh@gnome.org>
805 * configure.in: Revved to 1.3.13.
807 * docs/reference/cspi/Makefile.am:
808 Correct typo that was breaking the docs build.
810 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
812 * autogen.sh: Require version 1.7 of automake.
814 * configure.in: call GTK_DOC_CHECK([1.0])
816 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
818 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
820 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
822 * test/Makefile.am: Remove use of CFLAGS.
824 This fixes bug #132987.
826 2004-02-11 Bill Haneman <billh@gnome.org>
828 * reverted most of Tomasz' patch below, since it was breaking
829 builds (see bug #134058).
831 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
833 * docs/reference/cspi/at-spi-cspi.types: added empty file for
834 correct pass "make dist" (empty .. because seems no sach types in
835 header files with gtk-doc markups).
836 * docs/reference/cspi/Makefile.am, configure.in:
837 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
838 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
839 * Makefile.am: added:
840 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
841 for force correct pass generate documentation on "make distcheck".
842 * libspi/Makefile.am: fixes for automake >= 1.6.
843 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
844 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
847 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
849 * docs/reference/cspi/Makefile.am (install-data-local): Install
850 index.sgml since the doc autobuilder on widget.gnome.org looks for
853 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
855 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
858 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
860 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
862 2004-01-27 Brian Cameron <brian.cameron@sun.com>
864 * test/simple-at.c: Fixed null string problems that cause core
865 dumping problems on Solaris.
867 2004-01-12 Bill Haneman <billh@gnome.org>
869 * configure.in: Incremented version to 1.3.11.
871 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
873 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
874 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
877 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
879 * configure.in: Added "fa" to ALL_LINGUAS.
881 2003-12-20 Arafat Medini <lumina@silverpen.de>
883 * configure.in: Added "ar" to ALL_LINGUAS
885 2003-12-16 Bill Haneman <billh@gnome.org>
887 * registryd/registry-main.c:
889 Set the reg_env DISPLAY variable before registering the
890 activated registry service. Fixes bug #129479.
892 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
894 * configure.in: Added "id" in ALL_LINGUAS
895 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
897 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
899 * registryd/deviceeventcontroller.c (global_filter_fn):
900 When an event is consumed discard any XEvents were added to
901 the queue while dealing with the the event. This can happen if
902 processing of the event takes a long time. Call XUngrabKeyboard
903 if an event was discarded. This fixes bug $124837.
904 Only call wait_for_release_event for a KeyPress.
905 Use local variable display instead of spi_get_display().
906 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
909 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
911 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
912 Allow for mask to contain values other than NumLock mask.
915 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
917 * registryd/devieceventcontroller.c:
918 (wait_for_release_event): Change first parameter from GdkEvent to
920 (global_filter_fn); Correct call to wait_for_release_event.
924 2003-12-08 Bill Haneman <billh@gnome.org>
928 * registryd/ucs2keysym.c: New file.
930 * registryd/deviceeventcontroller.c:
931 (dec_keysym_for_unichar): Remove old partial implementation and
932 replace with call to ucs2keysym(), which is much more complete.
933 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
938 2003-12-05 Bill Haneman <billh@gnome.org>
940 * configure.in: Version 1.3.9.
942 * docs/reference/cspi/tmpl/spi_registry.sgml:
943 Added reference to libspi/keymasks.h to the
944 description of Registry queries: AccessibleKeyMaskType.
947 2003-12-04 Bill Haneman <billh@gnome.org>
951 * idl/Accessibility_Application.idl:
952 (Accessibility::LOCALE_TYPE): New enum, corresponds to
953 setlocale's LC_TYPEs.
954 (Accessibility::Application::getLocale): New method.
955 Allows clients to query the locale, by type, of an app.
958 * cspi/spi_application.c:
959 (AccessibleApplication_getLocale): New method, wraps IDL above.
961 * libspi/application.c:
962 (spi_application_class_init): Init epv entry for getLocale.
963 (impl_accessibility_application_get_locale): Impl for above.
965 * test/test-simple.c:
966 (test_application): Added assertion for getLocale, i.e.
967 that the string from AccessibleApplication_getLocale (app, type)
968 is the same as that from setlocale (type, NULL);
970 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
972 *registryd/deviceeventcontroller.c: Add an idle handler which polls
973 the keyboard on a timeout intil the key state goes from pressed to
974 released. Fixes bug #111429.
976 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
978 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
979 root object so that it is present when a context menu in an
980 out-of-process applet is popped up.
981 (spi_atk_bridge_do_registration): Create acceessible application root
982 object only if it does not exist.
984 This fixes bug #125834.
986 2003-12-01 Bill Haneman <billh@gnome.org>
988 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
991 Added enum for AccessibleStreamableContentSeekType.
992 (AccessibleStreamableContent_freeContentTypeList): New.
994 * cspi/spi_streamablecontent.c:
995 (accessible_bonobo_stream_client_seek): New private method.
996 (AccessibleStreamableContent_seek): Implemented this method,
997 using Bonobo_Stream_seek.
998 (AccessibleStreamableContent_freeContentTypeList): New method
999 for freeing the return value from
1000 AccessibleStreamableContent_getContentTypes.
1001 (stream_cache_item_free): Replaces stream_release; stop leaks.
1002 (stream_release): removed.
1003 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1004 free the memory properly.
1006 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1008 Fix for bug #116009.
1010 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1012 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1014 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1016 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1018 2003-12-01 Bill Haneman <billh@gnome.org>
1020 Fix for bug/rfe #127463.
1022 * idl/Accessibility_Accessible.idl:
1023 (getLocalizedRoleName): New.
1024 (unimplemented4): Removed (replaced by above).
1026 * libspi/accessible.c:
1027 (impl_accessibility_accessible_get_local_role_name): New.
1028 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1032 (Accessible_getLocalizedRoleName): New.
1034 * cspi/spi_accessible.c:
1035 (Accessible_getLocalizedRoleName): New.
1037 2003-12-01 Bill Haneman <billh@gnome.org>
1039 Fix for bug #118581.
1040 * idl/Accessibility_Text.idl:
1041 (getDefaultAttributes): New.
1042 (unimplemented4): Removed (replaced by above method).
1045 (impl_getDefaultAttributes): New method.
1046 (spi_text_class_init):
1047 initialize the get_default_attributes slot in the epv.
1050 (AccessibleText_getDefaultAttributes): New prototype.
1053 (AccessibleText_getDefaultAttributes): New method.
1055 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1057 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1058 write beyond the end of the table. Fixes bug #120473.
1060 2003-09-30 Christian Rose <menthos@menthos.com>
1062 * configure.in: Added "eu" to ALL_LINGUAS.
1064 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1066 * configure.in: ALL_LINGUAS: Added no.
1068 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1070 * configure.in: Added lt to ALL_LINGUAS.
1072 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1074 * atk-bridge/bridge.c:
1075 (atk_bridge_init): Register event listeners always even for
1076 out-of-process applet.
1077 (spi_atk_bridge_toplevel_added): Remove call to
1078 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1079 (spi_atk_bridge_toplevelk_removed): Remove call to
1080 spi_atk_deregister_event_listenersa as the listeners are now always
1082 (spi_atk_bridge_register_application): Remove call to
1083 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1085 This fixes bug #120991.
1087 * libspi/table.c (impl_getColumnDescription): Correct typo,
1088 pointed out by Bolian.Yin@sun.com.
1090 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1092 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1094 2003-09-08 Bill Haneman <billh@gnome.org>
1096 * configure.in: Revved to 1.3.7.
1098 This is the GNOME 2.4.0 release of at-spi.
1100 * docs/reference/cspi/Makefile.am:
1101 Removed spurious inclusion of 'index.sgml' in the
1102 html directory; this was breaking make distcheck and
1103 also some other build environments.
1105 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1107 * registryd/registry.[ch}:
1108 Add queue_handler_id and focus_object to SpiRegistry data structure.
1109 (registry_flush_event_queue): If event being discarded is
1110 "state-change:focused" store object as focus_object.
1111 (registry_start_queue): Remove queue handler and focus object
1113 (registry_discard_event): New function which discards a focus event
1114 if we had stored focus object in the registry.
1115 (registry_queue_event): Add new check that is_queueing is set as this
1116 function is reentrant.
1117 (registry_filer_event): Add call to registry_discard_event.
1119 This resolves issues raised in bug #108664.
1121 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1123 * configure.in: Added "bn" to ALL_LINGUAS.
1125 2003-09-04 Bill Haneman <billh@gnome.org>
1127 * cspi/spi_event.c: Documentation improvements for
1128 (SPI_registerAccessibleKeylistener).
1130 * docs/reference/tmpl/spi_registry.sgml:
1131 Documentation improvements for SpiAccessibleKeylistenerCB.
1133 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1135 * configure.in: Added "ro" to ALL_LINGUAS.
1138 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1140 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1141 not decremented to zero. Fixes bug #120725.
1143 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1145 * configure.in: Added "ja" to ALL_LINGUAS.
1147 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1149 * configure.in: Added "is" to ALL_LINGUAS.
1151 2003-08-22 Christian Rose <menthos@menthos.com>
1153 * configure.in: Added "nl" to ALL_LINGUAS.
1155 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1157 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1158 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1160 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1162 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1163 type for unspecified exception.
1164 * cspi_streamablecontect): Add include of string.h for memcpy.
1165 (stream_release): Correct call to bonobo_object_release_unref
1166 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1167 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1168 argument of _cspi_expection_throw.
1169 * libspi/hyperlink.c: Add include of libspi/action.h:
1170 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1171 * libspi/streamablecontent.c: add include of libspi/component.h.
1172 * regisrtyd/deviceeventcontroller.c:
1173 (spi_dec_translate_mask): Removed unused variable priv.
1174 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1175 * registryd/registry.c:
1176 (registry_filter_event): Remove unused variable queue_is-empty.
1177 (impl_registry_notify_event): Use correct modifier in fprintf call.
1179 This fixes compiler warnings reported in bug #120220.
1181 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1183 * registryd/registryd.c: Remove this file.
1185 2003-08-17 Sanlig Badral <badral@openmn.org>
1187 * configure.in: Added mn to ALL_LINGUAS.
1189 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1191 * configure.in: Added et to ALL_LINGUAS.
1193 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1195 * test/event-listener-test.c: Change active-descendant to
1196 active-descendant-changed.
1198 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1200 * configure.in: Added "fi" in ALL_LINGUAS.
1202 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1204 * configure.in: Added "hi" in ALL_LINGUAS.
1206 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1208 * configure.in: Revved to 1.3.6.
1212 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1214 * registryd/deviceeventcontroller.c
1215 (spi_device_event_controller_object_finalize): Fix typo in previous
1218 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1220 * registryd/deviceeventcontroller.c
1221 (spi_device_event_controller_object_finalize): Fix build on
1222 systems without XEvIE.
1224 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1226 * acconfig.h, configure.in, registryd/Makefile.am,
1227 registryd/devicecontoller.[ch]: Add XEViE support.
1229 2003-08-06 Wang Jian <lark@linux.net.cn>
1231 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1233 2003-08-06 Metin Amiroff<metin@karegen.com>
1235 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1237 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1239 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1240 MODIFIER_ALT in correct place.
1242 This fixes part of bug #118114.
1244 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1246 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1248 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1250 * configure.in: Added "ko" to ALL_LINGUAS.
1252 2003-07-28 Ole Laursen <olau@hardworking.dk>
1254 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1256 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1258 * configure.in: Added "sq" to ALL_LINGUAS.
1260 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1262 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1264 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1266 * configure.in: updated ALL_LINGUAS list
1268 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1270 * configure.in: Added Belarusian to ALL_LINGUAS.
1272 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1274 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1276 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1277 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1279 This fixes bug #116949.
1281 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1283 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1284 Correct CSPI to SPI in function documentation.
1286 This fixes bug #118054.
1288 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1290 * configure.in: Added Russian to ALL_LINGUAS.
1292 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1294 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1296 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1298 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1300 2003-07-10 Joel Brich <joel.brich@laposte.net>
1302 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1304 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1306 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1308 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1310 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1311 resources allocated for AccessibleEvent. See cspi_event().
1313 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1314 static variable streams to NULL.
1316 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1317 Update so that AcessibleEvent_ref will work.
1319 This fixes bug #116624.
1321 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1323 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1325 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1327 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1329 2003-07-02 Christian Neumair <chris@gnome-de.org>
1331 * configure.in: Added "de" (German) to ALL_LINGUAS.
1333 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1335 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1337 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1339 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1341 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1343 * configure.in: Added "pl" to ALL_LINGUAS.
1345 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1347 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1349 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1352 (get_action_from_servant):
1353 Removed assertion that action is implemented on an AtkObject.
1355 * libspi/hyperlink.c:
1356 (spi_hyperlink_new):
1357 Aggregate AccessibleAction interface on the hyperlink object if
1358 the object implements AtkAction. (This convention is used in
1361 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1363 * configure.in: Revved to 1.3.5.
1365 * registryd/Accessibility_Registry.server.in.in:
1366 Marked up appropriate strings for translation.
1368 * atk-bridge/bridge.c: Marked a couple of
1369 user-visible warnings for translation. Questionable
1370 whether they are really useful, but possibly so.
1373 2003-06-28 Christian Rose <menthos@menthos.com>
1375 * configure.in: Added "sv" to ALL_LINGUAS.
1377 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1379 * registryd/registry.c:
1380 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1381 (registry_defer_on_event): Defer focus: events, this is an
1382 improvement to the patch for bug #108664.
1384 * TODO: Update with 2.4/"Dev Complete" items.
1386 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1388 * atk-bridge/bridge.c:
1389 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1390 looks up signals once.
1391 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1392 if doing registration.
1393 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1394 when doing registration.
1396 This fixes bug #115014.
1398 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1400 * atk-bridge/bridge.c:
1401 (atk_bridge_init): Add signal handler for children-changed:remove on
1402 root when in a BonoboComponent.
1403 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1404 for first toplevel only other incrememt variable toplevels.
1405 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1406 application and remove listeners.
1407 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1409 (spi_atk_deregister_event_listeners): New function which removes
1411 (reinit_register_vars): New fuction which reinitializes variables.
1413 This fixes bug #111578.
1415 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1417 * configure.in: version 1.3.4.
1419 * cspi/spi_accessible.c:
1420 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1423 2003-06-13 Michael Meeks <michael@ximian.com>
1425 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1427 * cspi/spi_main.c (cspi_peek_ev): impl.
1429 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1431 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1433 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1435 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1436 SPI_ROLE_AUTOCOMPLETE
1438 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1440 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1441 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1443 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1445 * libspi/streamablecontent.h:
1446 * libspi/streamablecontent.c:
1447 New files, provide implementation/wrappers for
1448 Accessibility_StreamableContent.
1450 * cspi/spi_streamablecontent.c:
1451 Connected the C wrappers to the libspi C bindings.
1452 (AccessibleStreamableContent_close): New method.
1455 (AccessibleStreamableContent_close): New method, needed
1456 since we have an "open, [seek], read, close" model in cspi.
1458 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1460 Fix for #108664; Padraig's revision of my original patch.
1462 * registryd/registry.h:
1463 Added event queue list, is_queuing, and exit_notify_timeout
1464 to the registry struct.
1466 * registryd/registry.c:
1467 (registry_init): Initialize new struct from registry.h.
1468 (impl_registry_notify_event):
1469 Filter events before notifying, in case some need to be
1471 (registry_filter_event): New,
1472 we defer certain incoming events (for instance
1473 window:deactivate) because we may wish to hide
1474 or reject them based on pending events. This is
1475 mostly a workaround for bug #108664.
1476 (registry_queue_event, registry_start_queue): New.
1477 (registry_defer_on_event): Test event to see if it
1479 (registry_reset_on_event): Returns TRUE if the
1480 event should cause a queue reset.
1481 (registry_discard_on_event): Returns TRUE if the event
1482 should cause the previous queue contents to be discarded.
1483 (registry_timeout_flush_queue): Flushes the pending event
1484 queue if no reset/discard-triggering events have come in
1485 within the timeout period.
1486 (registry_emit_event): New.
1487 (registry_clone_notify_context): New, used when queueing the
1488 event notify contexts.
1490 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1492 * configure.in: Version revved to 1.3.2, lt 0.9.2
1493 Incremented ATK required version to 1.3.4.
1495 * cspi/spi_registry.c:
1496 (SPI_generateKeyEvent):
1497 We now pass the keystring along if it's non-null.
1499 * registryd/deviceeventcontroller.c:
1500 (keysym_mod_mask): New method, returns modifier mask
1501 required to generate a keysym from a given keycode.
1502 (dec_synth_keysym): New method.
1503 (dec_synth_keystring): New method.
1504 (dec_get_modifier_state): New method.
1505 (dec_lock_modifiers): New
1506 (dec_unlock_modifiers): New.
1507 (dec_keysym_for_unichar): New, rather brute-force
1508 conversion from UCS-4 to X KeySyms. Only works for
1509 Latin at the moment, with partial implementations for
1510 Greek, Hebrew, and (incomplete) Katakana.
1511 (impl_generate_keyboard_event): Now implement
1512 "KEYSTRING" synthesis and implement "KEYSYM"
1514 (keycode_from_keysym): Improved, passes a returned
1515 modmask value now if the corresponding param is non-NULL.
1517 Fixes bugs #92143 and #109776.
1520 * test/keysynth-test.c:
1521 New test program for key synthesis, to confirm fixes for
1525 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1527 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1529 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1530 Add line for RELATION_POPUP_FOR
1532 * docs/reference/cspi/tmpl/spi_relation.sgml:
1533 Add relation SPI_RELATION_POPUP_FOR
1535 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1536 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1538 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1540 * libspi/relation.c (spi_init_relation_type_table):
1541 Add line for RELATION_POPUP_FOR
1543 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1545 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1546 there are still windows which have not been deleted and emit
1547 window:deactivate, if necessary and window:destroy events.
1548 This fixes bug #114370. The change on June 5th was not correct.
1550 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1552 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1555 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1557 New methods for client exception handling and interception.
1558 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1559 (SPI_exceptionHandlerPop): You guessed it...
1560 (SPI_getSourceType): Return the type of object which offended.
1561 (SPI_getExceptionCode): Return an enum code telling, possibly,
1562 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1563 (SPIAccessibleException_getSource): get the source object for
1564 exceptions that come from Accessibles, if SPIExceptionSourceType is
1565 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1566 (SPIException_getDescription): New, returns a string description of
1567 the problem. [Not yet a stable ABI, strings are not frozen]
1569 * cspi/spi-private.h:
1570 Added implementation details of opaque SPIException
1574 Implementations of above. Also
1575 (_cspi_exception_throw): new private method that
1576 dispatches exceptions to handlers, called from cspi-bonobo.c
1578 * cspi/bonobo/cspi-bonobo.c:
1579 (cspi_check_ev): call _cspi_exception_throw.
1580 Don't print a warning message if the exception has been
1581 handled by _cspi_exception_throw.
1583 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1585 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1586 there are still windows which have not been deleted and emit
1587 window:deactivate, if necessary and window:destroy events.
1588 This fixes bug #114370.
1590 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1593 (cspi_accessible_is_a): Make non-fatal
1594 if the object reference is dead.
1596 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1598 * cspi/spi_main.c: #include <stdio.h>
1599 * test/simple-at.c: ditto
1600 * test/event-listener-test.c: ditto
1601 * test/screen-review-test.c: ditto
1603 2003-05-30 Michael Meeks <michael@ximian.com>
1605 * test/test-simple.c (main): use CORBA_ORB_perform_work
1606 instead of an unnecessary linc_ call.
1608 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1610 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1611 Add SPI_STATE_INDETERMINATE.
1613 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1616 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1618 * libspi/stateset.c (init_state_type_tables): Add support for
1621 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1623 * configure: Update versions of atk and gail required.
1624 This fixes bug #113268.
1626 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1628 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1630 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1632 * libspi/Makefile.am:
1633 Ensure headers are generated before being used by c sources.
1635 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1638 Simplified lt versioning rules.
1639 Incremented version to 1.3.0, to indicate that we're on the
1640 unstable branch now.
1642 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1644 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1645 Add MKDB_OPTIONS=--outtput-format=xml
1647 * docs/reference/cspi/at-spi-cspi-docs.sgml
1648 docs/reference/idl/at-spi-idl-docs.sgml:
1649 Convert to Docbook XML.
1651 This fixes bug #111793.
1653 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1655 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1656 AcccessibleKeyEventType, AccessibleKeyMaskType.
1658 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1660 * cspi/state-types.h: Add documentation for AccessibleState.
1662 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1663 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1664 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1665 AccessibleComponentLayer.
1667 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1670 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1672 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1673 Accessible. Add description of AccessibleEvent,
1674 AccessibleEventListenerCB.
1676 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1679 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1680 documentation. Add description of AccessibleKeystrokeListenerCB,
1681 AccessibleKeyEventMask, AccessibleModifierMaskType,
1682 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1683 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1685 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1688 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1691 This fixes bug #104730.
1693 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1695 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1696 Set is_text field of Accessibility_DeviceEvent data structure.
1698 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1699 is-text field of AccessibleDeviceEvent data structure.
1701 This addresses part of bug #108666.
1703 * registryd/devcieeventcontroller.c: Unset debug option.
1705 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1707 * cspi/accessible.c:
1708 (cpi_initial_relation_type_table): New function which initializes
1709 mapping between Accessibility_RelationType and AccessibleRelationType.
1710 (cspi_relation_type_from_spi_relation_type): New function which
1711 translates an Accessibility_RelationType into an AccessibleRelationType.
1712 (AccessibleRelation_getRelationType): Use
1713 cpi_relation_type_get_spi_relation_type to return correct value.
1714 (spi_state_to_corba): Return correct type for default case.
1716 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1717 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1719 * cspi/cspi-bonobo-listener.c:
1720 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1723 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1724 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1725 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1726 libspi/image.c, libspi/listener.c, libspi/selection.c,
1727 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1728 registryd/desktop.c, registryd/registry.c:
1729 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1731 * libspi/eventlistener.c
1732 Remove semicolon after BONOBO_TYPE_FUNC.
1734 * libspi/relation.c:
1735 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1736 (spi_init_relation_type_table): Initialize using correct type.
1738 * registryd/desktop.c:
1739 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1740 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1741 of Accessibility_KeyEventType.
1743 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1746 * tests/simple-at.c, tests/screen-review-test.c:
1747 Add include for <strings.h>.
1749 * tests.stress-test.c:
1750 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1752 These changes fix compiler warnings when using FORTE compiler on
1753 Solaris; fixes bug #107479.
1756 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1759 * configure.in: revved to 1.1.10
1761 * libspi/keymasks.h:
1762 (SPI_KEYMASK_NUMLOCK): Added.
1764 * registryd/deviceeventcontroller.c:
1765 (spi_key_event_matches_listener): AND with a smaller
1766 bitmask (as we should).
1767 (spi_dec_translate_mask):
1768 New method, sets the virtual NumLock modifier bit
1769 if numlock is on. Eventually it can handle other virtual
1770 modifier bits if needed, or other marshalling from
1771 at-spi modifier masks to platform (X) masks.
1772 (spi_dec_key_listener_new):
1773 Call spi_dec_translate_mask to set up virtual mod bits
1774 in the 'mask' field when creating a new listener struct.
1775 (spi_dec_emit_modifier_event):
1776 Set the virtual (i.e. NumLock) bits before emitting event.
1777 (spi_controller_register_with_devices):
1778 Query for the NumLock modifier 'physical' bit if Xkb is
1779 present, for use in above methods.
1783 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1785 * registryd/deviceeventcontroller.c:
1786 (spi_keystroke_from_x_key_event):
1787 Instead of checking to see if the keysym is
1788 printable, check the string from XLookupString
1789 if available, get the first unicode character from it,
1790 and call g_unichar_isprint to determine whether the
1791 is_text flag should be TRUE or FALSE.
1795 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1797 * atk-bridge/bridge.c: Add support for extended events
1798 * cspi/spi_event.c: Add documentation and implementation for
1800 * tests/event-listener-test.c: Add tests for extended events.
1802 This fixes bugs #100424 and #100426.
1804 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1806 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1807 of LT_CURRENT. This fixes bug #89350.
1809 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1811 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1812 number of signal parameter values before accessing them. This fixes
1815 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1817 * configure.in: Fixed duplicate inclusion of -lspi.
1818 * branched for gnome-2-2/HEAD.
1819 [created tag "gnome-2-2"]
1821 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1823 * configure.in: 1.1.9 release.
1826 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1828 [needed by GOK, to fix bugs 107985 and 107988]
1829 * registryd/deviceeventcontroller.c:
1830 (spi_dec_clear_unlatch_pending):
1831 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1832 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1833 (spi_dec_init_mouse_listener):Emit warning if mouse button
1835 (spi_device_event_controller_forward_mouse_event):
1836 Removed unnecessary parens from a conditional.
1837 (global_filter_fn):Added TODO comment.
1838 (impl_generate_keyboard_event):
1839 Cancel a pending relatch if a 'delatching' key was
1842 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1844 * atk-bridge/bridge.c:
1845 Change atk_signal_child_changed to atk_signal_children_changed.
1846 Reorganize code in spi_atk_bridge_signal_listener().
1848 * test/event-listener-test.c:
1849 Add children_changed_listener and report_children_changed_event()
1850 to test AccessibleChildEvent_getChildAccessible.
1852 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1854 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1855 g_strdup to CORBA_String_dup (bug #105291)
1857 * test/event-listener-test.c (report_text_event): Add call to
1860 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1862 * registryd/deviceeventcontroller.c:
1863 (spi_keystroke_from_x_key_event):
1864 Fix string and keysym return codes to match modifier state.
1867 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1869 * registryd/deviceeventcontroller.c:
1870 (spi_keystroke_from_x_key_event):
1871 Fix segv due to improper use of isprint(c). [bug #107254]
1873 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1876 (get_accessible_text_boundary_type):
1877 Move default return value to (new) default case in switch.
1878 (get_accessible_text_clip_type):
1879 Move default return value to (new) default case in switch.
1881 * libspi/application.c:
1882 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1883 Remove unused methods.
1884 (impl_accessibility_application_register_object_event_listener):
1885 Remove unused methods.
1888 Added #include of <math.h>.
1890 * registryd/deviceeventcontroller.c:
1891 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1892 we don't currently use this method.
1893 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1895 (impl_generate_key_event):
1896 Remove unused variables.
1897 (impl_generate_mouse_event):
1898 Initialize button to zero, just in case we get an invalid
1899 input. Added support for mouse buttons 4 and 5.
1900 (spi_device_event_controller_new):
1901 Removed unused variable declaration for 'private'.
1903 Added #include of <gdk/gdk.h>
1905 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1907 * configure.in: Update to work when X is not installed in expected
1908 location. Fixes bug #105836.
1910 * atk-bridge/bridge.c
1911 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1913 (spi_atk_register_event_listener): Add signal listener for
1915 (spi_atk_bridge_signal_listener): Event event when link-selected
1916 signal is emitted. (bug #104622)
1918 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1919 on returned string. (bug #105291)
1921 * test/event-listener-test.c: Add test for link-selected.
1923 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1925 * atk-bridge/Makefile.am: Correct typo in previous commit.
1927 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1929 * atk-bridge/Makefile.am: Allow for build directory to be different
1930 from source directory
1932 * registryd/Makefile.am: Allow for build directory to be different
1933 from source directory
1937 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1940 Fixed dependencies for libcspi so that libspi gets pulled in
1941 properly. Fixes 104741.
1945 Clean up inline docs a little.
1947 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1949 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1950 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1951 the AtkObject within an SpiDesktop.
1952 This addresses bug #101524.
1954 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1955 Remove call to gdk_init().
1957 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1958 so that Display is set when SpiDesktop is created.
1960 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1962 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1963 This fixes bug #102830.
1965 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1967 * test/test-simple.c: Update to take account of fact that GailButton
1968 now implements AtkText.
1969 (create_text_window): Set name on AtkObject for GtkEntry.
1970 (validate_accessible): Check accessible name before calling test_text().
1972 * libspi/Makefile.am: Fix problem with building outside of source
1973 directory. Bug #98120.
1975 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1976 typo in documentation comments. Bug #94275.
1978 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1980 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1982 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1985 Add includes to avoid compiler warnings on Solaris.
1986 (impl_getRangeExtents): Bug fix.
1988 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1990 Fix for 100944, [API addition approved by Gman and murrayc].
1997 * idl/Accessibility_Text.idl:
1998 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1999 (Text::getRangeExtents): New method for efficient
2000 bounds query of a text range.
2001 (Text::getBoundedRanges): New method for efficient
2002 clipping of text to bounding boxes.
2003 (unImplemented7, unImplemented8):
2004 Removed these padding methods to preserve bincompat.
2007 (impl_getRangeExtents): implementation of new IDL.
2008 (impl_getBoundedRanges): implementation of new IDL.
2009 (SpiTextRect): Internal use struct.
2010 (_spi_text_rect_union): internal method, calculates union of two
2011 SpiTextRect bounding rects.
2012 (_spi_text_range_seq_from_gslist): internal method, allows us
2013 to build our sequence efficiently as a gslist then convert it
2015 (_spi_bounds_contain): internal method, determines whether
2016 a text character is "in" or "out" of a clip rect according to
2017 values of TEXT_CLIP_TYPE.
2018 (spi_text_class_init): Initialize the new methods in the epv.
2021 (AccessibleTextClipType): New enum used by screen review api.
2022 (AccessibleTextRange): New struct used by screen review api.
2023 (AccessibleText_getRangeExtents):
2024 cspi binding for Accessibility_Text_getRangeExtents.
2025 (AccessibleText_getBoundedRanges):
2026 cspi binding for Accessibility_Text_getBoundedRanges.
2027 (AccessibleTextRange_freeRanges): convenience method.
2030 (AccessibleText_getRangeExtents):
2031 cspi binding for Accessibility_Text_getRangeExtents.
2032 (AccessibleText_getBoundedRanges):
2033 cspi binding for Accessibility_Text_getBoundedRanges.
2034 (AccessibleTextRange_freeRanges): convenience method.
2035 (get_accessible_text_clip_type): internal conversion method.
2036 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2038 * registryd/deviceeventcontroller.c:
2039 (spi_dec_mouse_check):
2040 Improved behavior for mouse:abs events
2041 [same granularity as mouse:rel events, and no
2042 events when mouse is idle].
2044 2002-12-16 Michael Meeks <michael@ximian.com>
2046 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2048 * libspi/stateset.c (state_spi_to_atk): split out
2049 ( fix several remote array bounds nasties )
2050 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2051 (impl_remove): make safe from array bounds issues.
2052 (spi_atk_state_from_spi_state): impl.
2054 * libspi/stateset.h (spi_state_set_cache_is_empty):
2055 add a set of wrapper defines to get layering right.
2057 * cspi/spi_accessible.c: update state set stuff to
2060 2002-12-14 Michael Meeks <michael@ximian.com>
2062 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2063 to avoid 2 roundtrips to the registry per key event
2064 (spi_atk_bridge_key_listener): upd.
2065 (deregister_application): release the dec.
2067 * registryd/registry.c (notify_listeners_cb):
2068 bin lots of re-enterant complexity - we no longer
2069 do a round-trip bonobo ref here, ensure that a single
2070 listener's exception failure won't poison all other
2072 (impl_registry_notify_event): bin obvious memory leak.
2074 2002-12-13 Michael Meeks <michael@ximian.com>
2076 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2077 init the ev so the error is meaningful.
2078 (spi_atk_bridge_key_listener): ditto.
2080 * cspi/spi_main.c (cspi_ev): init the ev so we start
2081 with a clean slate, otherwise the first exception
2082 kills us completely.
2084 * cspi/spi_text.c (get_accessible_text_boundary_type):
2085 add a fallthrough for no warnings.
2087 * cspi/spi_registry.c: prune unused warnings.
2089 * cspi/spi_main.c (cspi_object_take): fix
2090 mind-blowing brokenness ( by watching the compile
2093 * cspi/spi_accessible.c (Accessible_getStateSet):
2094 re-impl. to use an AtkStateSet.
2095 (spi_state_type_from_accessible_state),
2096 (init_state_table): bin these.
2098 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2100 (atk_state_set_from_accessibility_state_set): here.
2102 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2103 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2104 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2105 (AccessibleStateSet_add, AccessibleStateSet_remove),
2106 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2107 (AccessibleStateSet_isEmpty): re-write to use a local
2110 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2112 * configure.in: Revved to 1.1.7 (new keymask vals).
2114 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2116 * libspi/keymasks.h:
2117 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2119 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2122 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2123 to compare two CORBA_TypeCodes.
2124 (cspi_internal_event_add): Silence warning from FORTE compiler.
2126 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2127 avoid implicit declaration of functions.
2129 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2131 * atk-bridge/bridge.c:
2132 (spi_atk_bridge_init_event_type_consts): Store signal id for
2133 active-descendant-changed signal.
2134 (spi_atk_register_event_listeners): Add signal listener for
2135 active-descendant-changed signal,
2136 (spi_atk_bridge_signal_listener): Move code in function
2137 spi_atk-signal_emit_event() into this function.
2138 Add support for active-descendant-changed
2139 Update support for child-changed signal.
2140 (spi_bridge_window_event_listener): Silence warning.
2142 * libspi/spi_private.[ch]:
2143 (spi_init_any_object): Change second parameter from CORBA_Object to
2145 Omit call to CORBA_Object_duplicate().
2146 Set CORBA_any's _value to CORBA_Object*.
2148 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2154 (AccessibleEvent_ref, AccessibleEvent_unref):
2155 New methods, for persisting an event outside the emission context.
2156 Must be used if the new accessor methods are to be called
2157 outside of the event listener's callback.
2159 * cspi/bonobo/cspi-bonobo.c:
2160 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2161 as second parameter instead of NULL, so we can call
2162 cspi_check_ev afterwards.
2165 (cspi_object_take): New internal method,
2166 converts a CORBA_Object reference to a hard ref on
2167 an Accessible if possible, returning NULL if the object
2168 reference is invalid or an Accessible * otherwise.
2171 (AccessibleEvent_ref):
2172 Increment the event's internal private refcount, and
2173 add the event's internal struct to an internal cache
2174 if it's not already there.
2175 (AccessibleEvent_unref):
2176 Decrement the event's refcount and remove it from
2177 the cspi event cache if refcount==0.
2178 (cspi_event_compare): New private method.
2179 Compares two event structs via their ids. Used
2181 (cspi_internal_event_lookup): New private method.
2182 (cspi_internal_event_check): New private method,
2183 a 0-order sanity check for events to make sure their
2184 private data is intact.
2185 (cspi_internal_event_add, cspi_internal_event_remove):
2186 New private methods for managiing the event cache.
2188 * cspi/bonobo/cspi-bonobo-listener.c:
2190 Initialize the new private data elements (id, magic, ref_count).
2192 * atk-bridge/bridge.c:
2193 (spi_atk_bridge_signal_listener):
2194 Fixed bug #100530, passing wrong params to emission func.
2196 * registryd/deviceeventcontroller.c:
2197 (spi_dec_button_update_and_emit):
2198 Fixed type in mask bit operations; fix for #99799.
2200 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2202 Removed some of the more dangerous workarounds from
2203 previous commit; they are only needed by GOK, which
2204 in reality should be using another method to accomplish
2205 the goals. So on reconsideration some of the workarounds
2206 need to be reverted:
2208 * registryd/deviceeventcontroller.c:
2209 (spi_keycodes_contain, spi_dec_init_keycode_list):
2210 Removed these methods, used only by a nasty hack to try
2211 and detect whether a key synthesis should be allowed
2212 to reset the XKB latch state or not. This code was only
2213 required to work around an interaction between GOK,
2214 button events, and XKB.
2215 (impl_generate_key_event):
2216 Removed hack at end of key generation that tried to
2217 "do the right thing" if XKB latch keys were generated
2218 in the midst of button press/release pairs.
2221 Added a check for HAVE_XINPUT. Not normally used yet.
2223 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2225 Workarounds and fixes for mouse event/XKB interaction.
2227 * registryd/deviceeventcontroller.c:
2228 (spi_keycodes_contain, spi_dec_init_keycode_list):
2229 New internal methods.
2230 (spi_dec_set_unlatch_pending):
2231 Split the method that tells XKB to expect an
2232 unlatch (and revert it) out of the rest of the
2233 event handling code. This method is called by the
2234 two mouse event handlers (the poll and the filter).
2235 (spi_dec_update_and_emit, spi_dec_mouse_check):
2236 New methods split from spi_dec_poll_mouse_moved.
2237 The second one is now called from inside the filterFn
2238 when an XKB delatch event is received, to determine
2239 whether to revert the delatch or not.
2240 (spi_poll_mouse_moved): Refactor; also we can now
2241 properly handle the case where multiple button states
2242 have changed between polling cycles and we didn't get
2243 notified due to another client's grab.
2245 Synchronize the server while handling an XKB notification.
2246 Ugly, but apparently necessary to avoid nasty races.
2247 Check the mouse state on receipt of an XKB latch change,
2248 to decide whether to revert the latch or not. (Latches are
2249 reverted if there is an immediately preceding mouse button
2250 event that a client has consumed, in which case we don't want
2251 the user to see the side-effect of the event).
2252 (spi_device_event_controller_forward_mouse_event):
2253 Check for modifier events and fire before resetting mouse_mask_state,
2254 prevents losing modifier events.
2256 (impl_generate_keyboard_event):
2257 If we've just generated a keyboard event for a non-shift key,
2258 we don't want to revert the pending XKB latch.
2259 Otherwise, check the modifier state (via a call to
2260 spi_dev_mouse_check) and set the relatch mask to
2261 that state before returning.
2263 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2266 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2269 * atk-bridge/bridge.c:
2270 (spi_atk_register_event_listeners):
2271 Don't re-register for ATK events if the registry has died
2272 and the app needs to re-register; the ATK listeners are in
2273 process and doing so will cause duplicate emission.
2275 * registryd/deviceeventcontroller.c:
2276 (spi_poll_mouse_moved):
2277 Reformat the source, detect and emit multiple button-change
2278 events (i.e. if multiple buttons have changed between poll
2280 Add code to detect mouse-down events even when the pointer
2281 is grabbed; workaround for GOK bug 98420.
2282 (spi_controller_register_with_devices):
2283 Call XTestGrabControl with 'impervious' flag set to True,
2284 allows us to synthesize events and query the pointer even during
2285 an active grab by another client.
2286 (spi_device_event_controller_forward_mouse_event):
2287 Set the mouse_mask_state to the mouse_button_state from
2288 the intercepted event, to synchronize the grab listener with
2291 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2293 * cspi/spi_accessible.c:
2294 (AccessibleRole_getName):
2295 Added necessary strings for making this (deprecated)
2296 method work with the new role types.
2297 (init_role_table, role_table):
2298 Added definition of SPI_ROLE_APPLICATION.
2300 * libspi/spi-roletypes.h:
2301 Added SPI_ROLE_APPLICATION.
2303 * idl/Accessibility_Role.idl:
2304 Added ROLE_APPLICATION.
2306 * docs/reference/cspi/at-spi-cspi-decl.txt:
2307 Added SPI_ROLE_APPLICATION to docs.
2309 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2311 * cspi/spi_accessible.c
2312 (cspi_init_role_table): Do not write beyond end of role_table.
2313 (Accessible_getRole): Use correct type for value returned by
2314 Accessibility_Accessible_getRole().
2316 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2317 beyond end of role_table. (This fixes bug #98269)
2319 * libspi/application.c: Add include file spi-private.h for
2320 definition of spi_init_any_nil.
2322 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2326 * libspi/spi-private.h:
2327 Added DGB() macro, and extern int _dbg declaration.
2329 * registryd/registry.c:
2330 (definitions) storage for _dbg.
2331 (spi_registry_init):
2332 Get environment variable "AT_SPI_DEBUG".
2333 (spi_registry_set_debug):
2334 New method, to initialize _dbg value.
2335 (spi_listener_struct_new, spi_registry_object_finalize):
2336 (notify_listeners_cb):
2337 Changed fprintfs to use DBG and g_warning().
2339 * registryd/deviceeventcontroller.c:
2340 (_deregister_keygrab, spi_controller_register_device_listener):
2341 Changed debug/warning messages to use DBG macro.
2343 * libspi/listener.c:
2344 (impl_notify_event):
2345 Changed warning messages to use DBG macro and g_warning().
2347 * atk-bridge/bridge.c:
2348 (atk_bridge_init, spi_atk_bridge_get_registry):
2349 (spi_atk_bridge_exit_func):
2350 (spi_atk_bridge_property_event_listener):
2351 Changed status, warning, and error messages to use
2352 g_warning, g_message, and DBG macros.
2355 Read the state of the AT_SPI_DEBUG environment variable
2356 and set a local '_dbg' accordingly.
2358 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2360 FIXES for 98836, 98842, other bugs.
2363 Revved to 1.1.4, interface-age=4, binary-age=4.
2365 * registryd/deviceeventcontroller.c:
2367 Fixed crasher bug in last_mouse_pos initialization.
2369 * registryd/registry.c:
2370 (desktop_add_application, desktop_remove_application):
2371 Added (and then commented out) some support for
2372 object context marshalling. [TODO]
2374 * atk-bridge/bridge.c:
2375 (spi_atk_bridge_event_context_create):
2376 Commented out object context creation until it can
2377 be properly tested and debugged.
2379 * registryd/registry.c:
2380 (impl_registry_notify_event):
2381 Fixed crasher bug, we were calling
2382 spi_re_entrant_list_foreach () with an empty list.
2384 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2386 * idl/Accessibility_Action.idl:
2387 * idl/Accessibility_Component.idl:
2388 * idl/Accessibility_Desktop.idl:
2389 * idl/Accessibility_Event.idl:
2390 * idl/Accessibility_Hyperlink.idl:
2391 * idl/Accessibility_Image.idl:
2392 * idl/Accessibility_Relation.idl:
2393 * idl/Accessibility_Selection.idl:
2394 * idl/Accessibility_State.idl:
2395 * idl/Accessibility_Value.idl:
2396 Updated unimplemented slot count to minimum of
2397 four for all interfaces, for ABI freeze.
2399 * idl/Accessibility_EditableText.idl:
2400 * idl/Accessibility_Text.idl:
2401 Updated unimplemented slot count to six
2404 * idl/Accessibility_Registry.idl:
2405 Updated unimplemented slot count to six
2406 (also for DeviceEventController),
2409 * idl/Accessibility_Table.idl:
2410 Updated unimplemented slot count to eight,
2413 * idl/Accessibility_Event.idl:
2414 Added CORBA_any "any_data" member to Event struct.
2416 * idl/Accessibility_Event.idl:
2417 Added CORBA_any "any_data" member to Event struct.
2419 * atk-bridge/bridge.c:
2421 atk_signal_text_changed, atk_signal_child_changed,
2422 signal ids queried from gtype system.
2423 (AtkBridgeEventContextType): New enum.
2424 (AtkBridgeEventContextData): New struct.
2425 (AtkBridgeEventContext): New struct.
2426 (atk_bridge_init_event_type_consts):
2427 New method, initializes type contants for comparison
2428 prior to emit_eventv.
2429 (atk_bridge_event_context_init): New method,
2430 initializes a CORBA_any from an AtkBridgeEventContext.
2431 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2432 initialize the event.any_data struct.
2433 (spi_atk_bridge_event_context_create): New method,
2434 creates an AtkBridgeEventContext from signal/event info.
2435 (spi_atk_bridge_event_context_free): New method.
2436 (spi_atk_emit_eventv): Changed to take an
2437 AtkBridgeEventContext parameter. We now initialize
2438 the event.any_data member prior to notifying the
2439 Registry, via the AtkBridgeEventContext.
2440 (spi_atk_bridge_property_event_listener):
2441 (spi_atk_bridge_state_event_listener):
2442 Match emit_eventv signature.
2443 (spi_atk_bridge_object_event_listener):
2444 Match emit_eventv signature, and create an
2445 event context from the event details.
2446 Free the event context afterwards.
2447 (spi_atk_bridge_window_event_listener):
2448 Create an event context, pass it to the
2452 (AccessibleEvent_getContextString):
2453 (AccessibleEvent_getContextObject):
2454 New methods, allow query of AccessibleEvent objects
2455 for more context details (via the "any_data" member
2456 of the Event struct, above).
2459 Definitions for AccessibleEvent_getContextString
2460 and AccessibleEvent_getContextObject.
2462 * cspi/spi_listener.h:
2463 (InternalEvent): New struct.
2466 (AccessibleEvent_getContextString):
2467 (AccessibleEvent_getContextObject):
2468 Implementations of new methods, for obtaining
2469 additional context information from some event types.
2471 * cspi/spi_registry.c:
2472 (SPI_registerGlobalEventListener):
2473 Added mention of active-descendant-changed event in docs.
2475 * cspi/cspi-bonobo-listener.c:
2477 Marshal the any into the AccessibleEvent via
2480 * libspi/spi-private.h:
2481 #include <orbit/orbit.h>
2483 (spi_init_any_string):
2484 (spi_init_any_object):
2485 New convenience function declarations.
2489 (spi_init_any_string):
2490 (spi_init_any_object):
2491 New convenience function implementations.
2493 * registryd/deviceeventcontroller.c:
2494 (spi_poll_dec_mouse_moved):
2495 (spi_device_event_controller_forward_mous_event):
2496 Initialize any_data member of event.
2497 (spi_deregister_controller_device_listener):
2498 Fix incorrect param pass which was preventing deregistration.
2500 * registryd/registry.c:
2501 (desktop_add_application):
2502 (desktop_remove_application):
2503 Add object data to event's any_data before dispatch.
2505 Fix for error messages from GAIL.
2507 * test/event-listener-test.c:
2508 Test new ContextString and "any_data" API:
2509 (report_text_event): New method query and output context string.
2510 (main): register a new text listener with report_text_event
2513 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2515 Fixes for bugs 98127 and 97914.
2516 * cspi/spi-roletypes.h:
2517 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2519 * cspi/spi-statetypes.h:
2520 Added SPI_STATE_MANAGES_DESCENDANTS
2522 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2523 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2524 * cspi/spi_accessible.c:
2525 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2526 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2527 Accessibility_STATE_MANAGES_DESCENDANTS
2528 * libspi/accessible.c:
2529 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2530 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2531 As requested by Bill, I also cleaned up the alignment.
2532 * libspi/relation.c:
2533 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2534 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2535 * libspi/stateset.c:
2536 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2537 Accessibility_STATE_MANAGES_DESCENDANTS
2538 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2539 Document changes reflecting modifications to roles.
2540 * docs/reference/cspi/tmpl/spi_relation.sgml:
2541 Document changes reflecting modifications to relations.
2542 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2543 Document changes reflecting modifications to states.
2545 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2548 Revved to 1.1.3, interface-age=3, binary-age=3.
2549 Added REBUILD macro.
2552 Removed accessx-gui from the tests, since we have a nice
2553 keyboard accessibility capplet now :-)
2555 * test/keysynth-demo.c:
2556 (increment_scan): removed do-nothing default: case,
2559 * test/visual-bell.c:
2560 (main) : removed do-nothing default: case,
2563 * cspi/spi_action.c:
2564 (AccessibleAction_getKeyBinding_):
2565 Documented keybinding string format.
2569 (AccessibleText_getAttributes):
2570 Documented the text attribute string format.
2571 It's changed to use semicolon delimiters also,
2572 to prevent clashes with CSS attributes, but the old
2573 trick of looking for ", " strings will still work
2574 (as unreliably as ever). Fix for bug related to 97916.
2577 Include <cspi/bonobo/cspi-bonobo-listener.h>
2578 Fixes build warning.
2579 (SPI_freeAccessibleKeySet):
2580 (AccessibleKeystrokeListener_addCallback):
2581 (AccessibleKeystrokeListener_removeCallback):
2582 Modify to use AccessibleDeviceListener API internally,
2583 instead of AccessibleKeystrokeListener.
2585 * idl/Accessibility_Event.idl:
2586 Added two more empty slots to EventListener (for a total of four).
2588 * idl/Accessibility_Accessible.idl:
2589 Added four empty slots to Accessible interface.
2591 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2593 * idl/Accessibility_Registry.idl:
2594 (KeyEventType, EventType):
2595 Marked KeyEventType as deprecated; it duplicates
2596 functionality of EventType, which has been extended to
2597 include Mouse-button events.
2598 (KeyEventTypeSeq): defined in terms of EventType.
2599 (registerDeviceEventListener, deregisterDeviceEventListener):
2600 New methods, for managing listeners to device events,
2601 which potentially may consume them.
2604 Added definition for AccessibleDeviceListener.
2606 * cspi/spi-listener.h:
2607 (enum AccessibleDeviceEventType):
2608 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2609 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2610 for backwards compat.
2611 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2612 and typedef'd AccessibleKeystroke to it for back-compat.
2613 (AccessibleDeviceListenerCB):
2614 New function prototype typedef.
2617 (AccessibleDeviceEventMask): New typedef.
2618 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2619 (AccessibleKeyMaskType):
2620 Set equivalent to AccessibleModifierMaskType for back-compat.
2621 (SPI_createAccessibleKeystrokeListener):
2622 (AccessibleKeystrokeListener_unref):
2623 Deprecated in favor of equivalent (better-named) new API below..
2624 keystroke listeners are like all device listeners.
2625 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2626 New API names for old features :-).
2627 (AccessibleDeviceListener_addCallback):
2628 (AccessibleDeviceListener_removeCallback):
2629 (SPI_registerDeviceEventListener):
2630 (SPI_deregisterDeviceEventListener):
2634 (SPI_createAccessibleKeystrokeListener):
2635 Use new preferred API, cspi_device_listener_new() and
2636 cspi_device_listener_add_cb().
2637 (AccessibleKeystrokeListener_removeCallback):
2638 Use new preferred API, cspi_device_listener_remove_cb().
2639 (AccessibleKeystrokeListener_unref):
2640 Use new preferred API, cspi_device_listener_unref().
2641 (SPI_createAccessibleDeviceListener):
2642 (AccessibleDeviceListener_addCallback):
2643 (AccessibleDeviceListener_removeCallback):
2644 Implementation of new API.
2646 * cspi/spi_registry.c:
2647 (SPI_registerDeviceEventListener):
2648 (SPI_deregisterDeviceEventListener):
2649 Implementation of new API. Fixed memory leak and removed need to
2650 allocate EventTypeSeq (thanks Michael for catching this).
2651 Squashed a wayward CORBA_exception_free that shouldn't get called.
2653 * cspi/bonobo/cspi-bonobo-listener.c:
2655 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2656 (cspi_key_event): renamed to cspi_device_event().
2657 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2658 Extended to handle mouse button events as well as key events.
2659 (CSpiKeystrokeListener):
2660 Class superceded by CSpiDeviceListener.
2661 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2662 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2664 * cspi/bonobo/cspi-bonobo-listener.h:
2665 (CSpiKeystrokeListener):
2666 Class superceded by CSpiDeviceListener.
2667 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2668 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2670 * libspi/Makefile.am:
2671 Replaced keystrokelistener.h and keystrokelistener.c
2672 with devicelistener.h and devicelistener.c; keystrokelisener.h
2673 stub retained for back-compat.
2675 * libspi/keystrokelistener.c:
2679 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2681 * registryd/deviceeventcontroller.c:
2682 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2683 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2684 (DEControllerPrivateData): Added xkb settings data.
2685 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2686 button release events (which can't be captured via XGrabButton).
2687 Don't dispatch via the 'normal' event mechanism if the device event was
2689 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2690 Handle the typeseq data in its new location (see above).
2691 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2692 New methods, for "generic" device listeners.
2693 (spi_controller_register_device_listener):
2694 Now handle mouse event listeners as well as key listeners.
2695 (spi_controller_notify_mouselisteners):
2696 New internal method.
2697 (spi_device_event_controller_forward_mouse_event):
2698 Now we notify mouse device listeners as well as generating the
2699 non-consumable "mouse:" events.
2701 We must check and restore the XKB
2702 modifier map if we consume the event, since the act of triggering
2703 a mouse event will normally reset the XKB latch. This is required for
2705 (spi_controller_register_with_devices):
2706 Load the XKB settings when registering, and register for XKB
2707 state notify events.
2708 (spi_key_eventtype_seq_contains_event):
2709 Renamed spi_eventtype_seq_contains_event, since it's used
2710 internally for all device event types now.
2711 (spi_key_event_matches_listener):
2712 Uses spi_eventtype_seq_contains_event now.
2713 (spi_device_event_controller_object_finalize):
2714 Free the private data and the XkbKeyboard struct.
2715 (impl_register_device_listener, impl_deregister_device_listener):
2716 Implementation of new IDL.
2717 (spi_deregister_controller_device_listener):
2718 New internal method.
2719 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2720 More efficient implementation, we don't have to create a new
2721 XkbControls structure every time we query.
2722 (spi_device_event_controller_class_init):
2723 Initialize the epv entries for the new IDL. Assign the
2724 "spi-dec-private" quark.
2725 (spi_device_event_controller_init):
2726 Initialize the private data.
2727 (spi_device_event_controller_forward_key_event):
2728 Removed a bogus CORBA_exception_free() call.
2730 * registryd/deviceeventcontroller.h:
2731 Replaced inclusion of keystrokelistener.h with
2734 * test/event-listener-test.c:
2735 (report_mouse_event):
2738 Added mouse-event device listener.
2740 * test/test-simple.c:
2741 (create_test_window):
2742 Fixed regression (we were instantiating a GtkRange,
2743 which is now an abstract class). Also fixed to match
2744 existing AtkRole names, this seems to have changed in ATK
2745 awhile ago; too late now I think, and the new
2746 mechanism is at least elegant and consistent with the
2747 glib enum "nick" APIs.
2749 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2751 * idl/Accessibility_Relation.idl:
2752 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2753 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2754 * idl/Accessibility_Role.idl:
2755 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2756 * idl/Accessibility_State.idl:
2757 add STATE_MANAGES_DESCENDANTS
2758 * test/event-listener-test.c:
2759 Added a listener for active-descendant events.
2761 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2763 * atk-bridge/bridge.c
2764 (atk_bridge_init): If application is Bonobo component wait until top
2765 level is added before registering
2766 (spi_atk_bridge_do_registration): New function which contains code,
2767 formerly in atk_bridge_init, to do application registration.
2768 (spi_atk_bridge_toplevel_added): Signal called when top level
2769 added to Bonobo component
2771 This fixes bug #83134.
2773 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2775 * registryd/deviceeventcontroller.c
2776 Fixed compilation error caused by calling gettimeofday()
2779 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2784 Added template for HAVE_XKB.
2787 Changes to check for XKB, and to set the HAVE_XKB #define if it
2790 * libspi/listener.c:
2791 ()impl_notify_event): Make failure to get event source name
2794 * registryd/deviceeventcontroller.c:
2795 (#include): include X11/XKBlib.h.
2796 (DEControllerPrivateData) : New struct.
2797 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2799 (dec_synth_keycode_press) (dec_synth_keycode_release):
2800 New methods; split the key synthesis code into these methods.
2801 They check XKB settings before determining the "time" values to
2802 pass to Xtest; this fixes bug #95828.
2803 (impl_generate_keyboard_event): Changed to use methods above,
2804 instead of callng Xtest directly.
2805 (spi_device_event_controller_init): Initialize new privae struct s
2807 (spi_device_event_controllr_object_finalize):
2808 Free the (new) private data.
2810 * registryd/deviceeventcontroller.h:
2811 Add new gpointer to end of struct data.
2813 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2816 Incremented revision to 1.1.2, SONAME is still '.so', library
2817 extensions are ".so.0.0.2".
2819 * registryd/deviceeventcontroller.c:
2820 FIXES FOR #93592 and #95940.
2821 (statics): renamed mouse_button_state to mouse_mask_state,
2822 added key_modifier_mask.
2823 (spi_dec_poll_mouse_moved):
2824 Added key modifier checks, and emit "keyboard:modifiers"
2825 events when the key modifiers currently in use change.
2826 Also generate "mouse:abs" events periodically, even if the mouse
2827 is stationary (should we?).
2828 Alternatively we could generate "mouse:abs" events for either all
2829 mouse movements, or every 'nth' mouse movement, or at the
2830 beginning and end of every "active" mouse period.
2832 * test/event-listener-test.c:
2833 (main): Added listener for "keyboard:modifiers" events.
2835 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2837 * libspi/keymasks.h:
2838 Added key mask #defines for mouse buttons; e.g.
2839 SPI_KEYMASK_BUTTON1, etc.
2842 Incremented dependency on ATK to version 1.1.0. (This dependency
2843 is probably premature but will soon be real enough).
2845 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2847 * libspi/hyperlink.[ch]
2848 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2849 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2852 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2857 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2859 * registryd/deviceeventcontroller.c
2860 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2861 events to be ignored.
2862 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2863 keyboard_mode so that XAllowEvents() can be called.
2867 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2869 * cspi/spi-accessible.c: Correct names of roles returned by
2870 AccessibleRole_getName(). Fixes bug #95055.
2872 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2874 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2877 * registryd/registry.c
2878 (desktop_remove_application: Write diagnostic message to stderr for
2881 (impl_accessibility_registry_deregister_global_event_listener):
2882 Correct size of lists array. This addresses bug #94555).
2884 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2886 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2889 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2891 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2894 * registryd/registry.c (impl_registry_notify_event): Remove
2895 unnecessary call to parser_event_type().
2897 * docs/reference/cspi/tmpl/spi_component.sgml:
2898 Add reference to SPI_LAYER_WINDOW.
2900 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2902 * registryd/registry.c
2903 (desktop_add_application): Remove leak.
2904 (desktop_remove_application): Remove leak.
2905 (parser_event_type): Remove leak.
2907 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2909 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2910 bogus call to CORBA_string_dup(). Also removed unnecessary
2911 g_string_dup/g_free calls.
2913 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2915 * registryd/deviceeventcontroller.c:
2916 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2918 * test/event-listener-test.c:
2919 main: commented out three redundant listeners, to reduce output
2920 noise. (They still are potentially useful for testing).
2923 2002-09-13 Michael Meeks <michael@ximian.com>
2925 * Update all the copyrights to include Ximian.
2927 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2929 * cspi/spi.h: add SPI_LAYER_WINDOW.
2931 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2932 add Accessibility_LAYER_WINDOW case.
2934 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2936 * libspi/component.c: (impl_accessibility_component_get_layer):
2937 add ATK_LAYER_WINDOW case.
2939 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2941 * configure.in: incremented micro version.
2943 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2945 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2948 Clarified and reworded our commit policy.
2951 Started an API "todo" addition list for 2.2.
2954 (impl_getSelection):
2955 Free char pointer from atk_text_get_selection, which was being leaked.
2957 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2960 Small revision to author acknowledgement.
2962 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2964 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2965 If signal has detail add it to the type of the event.
2968 2002-08-12 Michael Meeks <michael@ximian.com>
2970 * test/test-simple.c (global_listener_cb): bin bogosity.
2971 (test_keylisteners): disable, still doesn't work reliably,
2972 certainly not on my system anyway.
2974 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2975 don't leak a reference on the DEC. This round-trip
2976 fetching of the DEC per keystroke sucks, it should be
2979 * cspi/spi-private.h,
2980 * cspi/cspi-lowlevel.h,
2981 * cspi/bonobo/cspi-bonobo-listener.[ch],
2982 * cspi/bonobo/cspi-bonobo.c: get the copyright
2983 notices better - there is still a large amount of
2984 work in at-spi falsely attributed solely to Sun.
2986 * cspi/spi_main.c (cspi_object_ref): kill bogus
2987 hash lookup, just increment the ref.
2988 (SPI_freeString): make explicit the fact that we
2989 handle NULL strings just fine.
2990 (report_leaked_ref): obey coding standards.
2991 (cspi_object_hash, cspi_object_equal): kill retval.
2992 (cspi_object_release): only release if not on loan.
2993 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2994 (cspi_object_borrow, cspi_object_return): impl.
2996 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2997 use cspi_object_borrow / return.
2999 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3001 * cspi/bonobo/cspi-bonobo-listener.c:
3003 Don't call cspi_oject_new() because this is creating a new Accessible
3004 every single time that an event is fired. This causes ATs like at-poke
3005 to nolonger recognise the source of the event and thus ignore it.
3006 Re-use the object from the cache, ref it and then unref it after the
3007 listeners have been called.
3009 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3011 * test/event-listener-test.c:
3012 Added command-line options to disable mouse events (m) and
3015 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3017 * configure.in: Update required versions of ATK, GTK+ and GAIL
3019 * cspi-1.0.pc.in: Add dependency for X include files
3022 * cspi/bonobo/Makefile.am:
3023 Add $(X_CFLAGS) so that X include files
3024 are picked up even if not in standard place (bug #71686)
3026 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3028 * registryd/deviceeventcontroller.c: fix for 84261
3029 (spi_dec_mouse_moved):
3030 Added test of mouse button mask, so that we can detect mouse
3031 button release. Unfortunately we can't otherwise detect mouse
3032 button release events without consuming the mouse press event,
3033 because of the way XGrabButton works. This means that our mouse
3034 release events have a latency dependent on the polling period
3035 while the mouse button is down. At least in this case we only
3036 have to poll while the button is down, and not at other times.
3037 If the button masks don't match with what the last press event
3038 reported, we report the appropriate button release event.
3039 (spi_dec_ungrab_mouse):
3040 New method (not yet called).
3041 (spi_device_event_controller_forward_mouse_event):
3042 New method, sends mouse press event from GdkFilter.
3043 (spi_dec_init_mouse_listener):
3044 Added code to call XGrabButton, redirecting mouse button events to
3045 the root window and our Gdk event loop.
3047 Added code to filter mouse button events, and reordered.
3049 * test/event-listener-test.c:
3051 Added registration for mouse events of type "mouse:button".
3053 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3055 * registryd/deviceeventcontroller.c: partial fix for 84261
3056 (spi_dec_poll_mouse_idle):
3057 New method, a timeout which checks to see if the mouse
3059 (spi_dec_poll_mouse_moving):
3060 A timeout to be called when mouse motion is underway.
3061 (spi_dec_poll_mouse_moved):
3062 A method which fires an event if the mouse has moved, and reports
3063 whether or not it did so.
3064 (spi_dec_init_mouse_listener):
3065 A method which sets up the timeouts above.
3066 (spi_device_event_controller_new):
3067 Now calls spi_dec_init_mouse_listener.
3069 * registryd/registry.c:
3070 (spi_registry_init):
3071 Now we initialize the device event controller when the registry is
3072 initialized, instead of waiting until a client has requested a key
3073 event notification; this is because we need the event controller
3074 for mouse events, but the mouse event registration API is a
3075 "registry" call and doesn't explicitly call the
3076 deviceeventcontroller.
3077 We now report mouse motion events with a 100 ms idle latency and
3078 a 20 ms granularity when motion is in progress.
3080 * test/event-listener-test.c:
3082 We now register the "detail listener" for events of type
3083 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3084 delivered only for the first mouse event received, and thereafter
3085 "mouse:abs" events are delivered.)
3087 * cspi/spi_registry.c:
3088 DOCS: Documented the above mouse event typestrings.
3090 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3092 Happy Summer Solstice...
3094 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3095 (spi_controller_notify_keylisteners):
3096 Changes to remove a listener from the listener list, freeing its
3097 open keygrabs, if a notification to that listener fails. This
3098 means that although a dead listener can continue to hold a passive
3099 keygrab, a maximum of one dispatch to such a listener can fail
3100 before the listener is removed from the list, thus the keygrab
3101 will be released on the next occurrence.
3102 As part of this fix:
3103 (spi_notify_keylisteners):
3104 Renamed to spi_controller_notify_keylisteners, as the controller
3105 instance must now be passed as an argument.
3106 The copied 'notify' GList is now a list of DEControllerKeyListener
3107 objects, since we need more than just the CORBA reference if a
3108 notify fails and we need to deregister the listener.
3109 (impl_notify_listeners_sync):
3110 (impl_notify_listeners_async):
3111 (spi_device_event_controller_forward_key_event):
3112 Modify use of notify_keylisteners in accordance with above
3114 (spi_deregister_controller_key_listener):
3115 New method introduced by refactoring, from
3116 impl_deregister_keystroke_listener.
3117 (impl_deregister_keystroke_listener):
3118 Call spi_deregister_controller_key_listener.
3119 (spi_key_listener_clone):
3120 New method to copy a key listner without doing a 'ref' on the
3121 remote object instance; used to create a notifier list.
3122 (spi_key_listener_data_free):
3123 New method, frees data without unreffing the source.
3125 (spi_key_listener_clone_free): new method.
3126 (spi_key_listener_free):
3127 refactored to call spi_key_listener_data_free.
3129 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3131 * registryd/registry.c: [fix for bug 86048]
3132 (notify_listeners_cb):
3133 Clear CORBA system exceptions which occur when notifying
3134 listeners, before returning to the source of the original event,
3135 since the event source doesn't care if the relayed notify failed.
3136 In other words, don't complain to the atk-bridge if the registry
3137 could not notify all its listeners, that's no fault of the
3138 application and thus should not appear to be an error from the
3139 application's perspective.
3141 * cspi/spi_main.c: [fix for bug 85980]
3143 Replaced use of bonobo_object_dup_ref with call to the wrapper
3144 method, csou_dup_ref (); this silences a compiler warning and
3145 provided more portability.
3147 Ping the registry before return, and restart if necessary.
3149 * cspi/bonobo/cspi-bonobo.c:
3151 New internal method.
3153 Fixed this method to return an object reference, as it should have
3156 * cspi/cspi-lowlevel.h:
3157 Added internal definition for cspi_ping() and fixed
3158 return type of cspi_dup_ref().
3161 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3163 * atk-bridge/bridge.c: [fix for bug 85305]
3164 (spi_atk_bridge_register_application):
3165 New method where the initial application registry calls have been
3166 moved; it allows an application to re-register in response to
3167 certain error conditions (such as a registry restart, see below).
3169 Moved some initialization code to the method
3170 spi_atk_bridge_get_registry, below.
3171 (spi_atk_bridge_get_registry):
3172 New, private accessor function for the Accessibility_Registry
3173 instance. If the registry has not been started before, or has
3174 died (as detected by failure of a CORBA exception), it is
3175 restarted before return, and spi_atk_bridge_register_application
3176 is called again to register with the new bridge instance.
3177 (spi_atk_emit_eventv):
3178 Set registry_died on error; use spi_atk_bridge_get_registry () to
3179 access the registry.
3181 * registryd/registry.c:
3182 (impl_accessibility_registry_register_global_event_listener):
3183 Set listener's event_type_quark to etype.minor instead of
3184 etype.major (fix for bug 84856).
3186 * test/event-listener-test.c:
3187 (report_detail_event):
3188 Change the output string so that user/tester can tell that the
3189 'detail listener' was called instead of the 'generic listener'.
3191 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3193 Fixes for bugs 84900, 84908, 84897, 84898.
3198 Revved version to 1.1.0
3199 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3200 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3202 * idl/Accessibility_Registry.idl:
3203 (EventListener::notifyEvent):
3204 Removed 'oneway' directive after extensive consulation with
3205 ORBit2 team and others. This means also that unref() of the event
3206 source can and should be done synchronously after emission, rather
3207 than remotely in the client, after servicing the notify call on
3210 NOTE: This change speeds up listener performance considerably, but
3211 introduces new latency on the application side. We may want to
3212 add an event queue to the atk-bridge.
3214 * atk-bridge/bridge.c:
3215 (spi_atk_bridge_focus_tracker):
3216 Do a local unref() on the event source after emission.
3218 * registryd/registry.c:
3219 (desktop_remove_application):
3220 Do an unref() on the event source after emission.
3221 (desktop_add_application):
3222 Do an unref() on the event source after emission.
3223 (notify_listeners_cb):
3224 When relaying an event, don't automatically add the event source
3225 to the local object cache, just CORBA_dup it instead. Likewise,
3226 if this method reenters, release the ref rather than calling
3228 (impl_registry_notify_event):
3229 No longer call remote unref() on the event source after dispatch.
3231 * libspi/eventlistener.c:
3232 (impl_accessible_event_notify_event):
3233 Removed remote unref ()
3235 * cspi/bonobo/cspi-bonobo-listener.c:
3237 We now call cspi_object_new() instead of cspi_object_add() on
3238 receipt of an event; thus we only have an implicit object ref
3239 while the cspi_event method is being executed. If we need to keep
3240 a reference to the object, the listener must call ref() on the
3241 object. Thus also we don't need to call cspi_object_unref() after
3242 invoking the listener callbacks in this method.
3246 New internal API for creating a new cspi object, without adding it
3247 to the object cache.
3249 Now uses cspi_object_new() to create the cspi object instance.
3251 Now checks to see if the object is in the internal object cache,
3252 and adds it if necessary before incrementing its refcount (note
3253 that new objects are added with a refcount of 1).
3254 (report_leaked_ref):
3255 New method which gives some information on leaked object instances
3256 if leak detection is turned on.
3258 * test/event-listener-test.c:
3259 (timing_test_event):
3260 New method, used for testing event delivery timing for special
3261 events of type "object:test". It reports elapsed time and
3262 events/sec every 500 events.
3264 Added a new listener, 'test listener', to check timing of event
3265 receipt as noted above.
3267 Added some timing output here also, reports elapsed time every 100
3270 * test/stress-test.c:
3271 Emit events of type "object:test", for use with "event-listener-test".
3273 * test/test-simple.c:
3274 (global_listener_cb):
3275 Call Accessible_ref() on the event source before calling
3276 validate_accessible, since the validation process does pointer
3277 comparisons on the event source, meaning that the event source
3278 needs to be added to the local object cache first. Any use of
3279 such pointer comparisons between Accessible objects requires that
3280 the caller hold an explicit reference to those objects.
3281 We also must therefore call Accessible_unref() when leaving this method.
3283 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3285 * registryd/deviceeventcontroller.c:
3286 (spi_controller_update_key_grabs):
3287 Fix for #84735, subsequent keygrab listeners not informed of
3288 registration failure.
3291 (spi_base_construct):
3292 Add an assertion on construct, to make sure the GObject passed in
3293 is really a GObject.
3295 Explicitly initialize object->gobj pointer to NULL;
3297 * cspi/bonobo/cspi-bonobo-listener.c:
3298 (cspi_object_add_ref):
3299 New method, can specify whether to dup-ref a bonobo object passed
3300 in if it's newly added to the object cache.
3302 Now calls cspi_object_add_ref with second param of "FALSE". This
3303 prevents us from doing a pointless dup-ref followed by
3304 release-unref for all those cases where the object is already in
3305 our object cache (fix for #85205).
3307 * atk-bridge/bridge.c:
3308 (spi_atk_bridge_idle_init):
3309 Removed this method, we don't need to initialize in an idle
3312 Changed to call spi_atk_register_event_listeners directly, not via an
3313 idle handler. (fix for #81139)
3314 (gnome_accessibility_module_shutdown):
3315 Removed conditional around deregistration of listeners, since we
3316 don't use the idle handler and thus have always registered when
3318 (spi_init_keystroke_from_atk_key_event):
3319 Changed references to Accessibility_KEY_PRESSED to
3320 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3322 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3324 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3329 * test/stress-test.c:
3332 (may have been an incomplete commit yesterday?)
3334 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3337 Added target for new stress-test.
3339 * test/stress-test.c:
3340 New test, sends 1000 focus notifies in quick succession.
3342 * test/key-listener-test.c:
3343 Now we report whether a keylistener registration
3344 request succeeded or failed.
3346 * test/event-listener-test.c:
3347 Uncommented some listeners which are now implemented.
3350 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3352 * registryd/deviceeventcontroller.c:
3353 (spi_controller_update_key_grabs):
3354 Fix for #82509, lack of failure notification when
3355 ALL_WINDOWS keygrabs fail due to XGrabKey
3356 failure: we synchronize the server when
3357 registering a passive grab, to make sure we get the
3358 error message before the call returns.
3360 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3362 * test/test-simple.c:
3364 Removed #ifdef KEY_IMPL_WORKS guards.
3365 (test_keylisteners):
3366 Removed #ifdef KEY_IMPL_WORKS guards.
3367 Fixed bug which was causing a hang waiting for a
3368 "press" event (which was already overwritten by a "release"
3369 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3371 Added code to set globals 'key_press_received' and
3372 'key_release_received'.
3375 Added section "1.1 API Proposed Additions" which
3376 lists API additions desired for at-spi-1.1 (only one so far).
3377 Updated TODO list a little.
3379 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3381 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3384 * configure.in: Revved to 1.0.0.
3386 * idl/Accessibility_Registry.idl:
3387 (registerKeystrokeListener):
3388 Added boolean return value.
3390 * registryd/registry.c:
3391 (notify_listeners_cb): Minor fix to debug output.
3393 * registryd/Accessibility_Registry.server.in.in:
3394 Revved version number in OAFIID to 1.0.
3396 * registryd/registryd.c:
3398 Use new OAFIID version.
3400 * cspi/bonobo/cspi-bonobo.c:
3402 Use new OAFIID version.
3408 * atk-bridge/bridge.c:
3410 Use new OAFIID version.
3412 * registryd/deviceeventcontroller.c:
3413 (impl_register_keystroke_listener):
3414 Added CORBA_boolean return value.
3415 (spi_controller_register_device_listener):
3416 Added gboolean return value.
3417 (spi_controller_register_global_keygrabs):
3418 Added gboolean return value.
3419 (spi_key_set_contains_key):
3420 Added implementation for many more control keys,
3421 for instance F1-F12, arrow keys, End, Home, Page_Up,
3423 [TODO: some still not implemented].
3425 * text/screen-review-test.c:
3426 (text_chunk_pad_string):
3427 New function: it provides mapping between coordinate
3428 positions of text chunks and character positions in the
3429 screen-review-line output string.
3430 (text_chunk_to_string):
3431 New function, calls text_chunk_pad_string with various
3432 pad/delimiter characters. Pushbuttons are delimited with
3433 square brackets, Frames with vertical 'pipe' lines, and
3434 other text with double quotes.
3435 (text_chunk_list_to_string):
3436 Calls new function text_chunk_to_string.
3437 (toplevel_composite):
3438 New function to composite layers CANVAS through
3439 POPUP in each toplevel (other layers are composited
3440 across toplevels, i.e. BACKGROUND and OVERLAY).
3441 (review_buffer_composite):
3442 Revise to use new methods.
3448 2002-05-31 Laszlo Peter <laca@sun.com>
3450 * configure.in: add the Xtst libdir to the runpath on Solaris,
3451 since it's not in the default library search path.
3453 2002-05-29 jacob berkman <jacob@ximian.com>
3455 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3457 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3459 * test/screen-review-test.c:
3460 (text_chunk_pad_string):
3461 Added method, which pads the string according to the
3462 text bounds of the chunk. It also takes a 3-character
3463 string as a param which indicates the characters to be
3464 used for start, padding, and end delimitation of the chunk.
3465 (text_chunk_to_string):
3466 Changed to use text_chunk_pad_string.
3468 * configure.in: Fixed bug in AC_OUTPUT that was
3469 causing path substitution in Accessibility_Registry.server
3472 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3474 * text/screen-review-test.c:
3475 (guess_string_clip):
3476 New method which attempts a best-guess at clipping
3477 text from components (like Java labels) which don't
3478 actually implement AccessibleText. This inaccurate
3479 clip is based on the assumption that the label is
3480 justified left-and-right, and monospaced.
3481 (text_chunk_get_clipped_string):
3482 We now call guess_string_clip() for text-containing
3483 components that don't implement AccessibleText.
3485 * test/screen-review-test.c:
3486 (review_buffer_get_text_chunk):
3487 We now pull "name" from labels if they do not implement
3488 AccessibleText (i.e. for Java labels).
3489 (get_screen_review_line_at):
3490 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3493 Replaceded AC_OUTPUT target
3494 registryd/Accessibility_Registry.server with
3495 registryd/Accessibility_Registry.server.in.
3497 * registryd/Accessibility_Registry.server.in:
3498 Removed (this is now a Makefile target).
3500 * registryd/Accessibility_Registry.server.in.in:
3501 Added (source for target above). We now use $(libexecdir) as
3502 prefix for the executable at-spi-registryd.
3504 * registry/Makefile.am:
3505 Now install at-spi-registryd into $(libexecdir), and build .server
3506 file with path (see above).
3508 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3510 * test/screen-review-test.c:
3511 (text_chunk_get_clipped_string):
3512 We now check to see if words fall within clip bounds
3513 before resorting to character-by-character clip bounds testing.
3515 * TODO: Added a section for "2.2 Proposed API Additions".
3517 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3519 * test/screen-review-test.c:
3521 Added a screen review benchmarking and test program to test
3524 * cspi/spi_accessible.c:
3526 Made some of the debug strings passed to cspi_check_ev a
3527 little more specific.
3529 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3531 * test/screen-review-test.c: Fix crashes in debug statements
3533 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3535 * test/screen-review-test.c: Added this file.
3537 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3539 * atk-bridge/bridge.c: changed "object:state-change" to
3540 "object:state-changed" to match docs.
3542 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3544 * atk-bridge/bridge.c: Hooked up state-change event details.
3546 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3548 * registryd/registry.c:
3549 Fixed quarking bug in event string parsing; now events with
3550 detail parameters get matched correctly to listeners.
3553 * util/idl/Magnifier.idl: remove.
3555 * util/*.[ch]: Remove.
3556 Magnification utilities and IDL are now in module gnome-mag.
3558 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3560 * registryd/deviceeventcontroller.c:
3561 Fixed bug in grab key conversion which was causing keycode grabs
3562 to be converted to AnyKey grabs.
3565 updated NEWS file to reflect recent spin-off of gnome-mag.
3567 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3569 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3570 busted AccessibleStateSet_compare. Removed redundant casts.
3572 * cspi/spi-action.c: Removed redundant casts.
3574 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3576 * cspi/spi_component.c: Fixed typos and casting error.
3578 * cspi/spi_editabletext.c: Removed redundant casts.
3580 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3582 * cspi/spi_hypertext.c: Eliminated redundant casts.
3584 * cspi/spi_image.c: Eliminated redundant casts.
3586 * cspi/spi_registry.c: Eliminated redundant casts.
3587 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3588 * cspi/spi_selection.c: Removed redundant casts.
3589 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3590 handling. Screen geometry and text offsets were being returned as 0
3591 on error which is technically valid-- changed these to return -1.
3592 Added marshaller for text boundary types to fix bug with boundary
3593 types being passed incorrectly to atk.
3595 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3598 * cspi/spi_registry.c:
3599 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3600 which was uncovered by the recent key changes.
3602 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3604 * test/event-listener-test.c:
3606 Added new test, "event-listener-test";
3607 this code does two things; it benchmarks traversal time
3608 for the accessible hierarchy for the first running accessible
3609 app, and it connects listeners for all supported event types.
3610 It is thus useful as an example event listener and for
3611 diagnostics/debugging of event generation.
3613 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3616 Removed unnecessary dependency on libutil.
3619 Revved micro version: 0.13.1
3621 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3624 Removed util/Makefile from targets.
3627 Removed util subdir from SUBDIRS (temporarily,
3628 pending removal of magnifier-only code
3632 #ifdef-ed out magnifier dependencies, since
3633 magnifier IDL, headers, and binary now live in
3634 module gnome-mag and we don't want at-spi to depend
3635 on gnome-mag. A magnifier demo which can run alongside
3636 simple-at is forthcoming in the gnome-mag module.
3638 NOTE: Split magnifier binary, IDL, and magnification
3639 activation code from at-spi into module gnome-mag.
3641 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3643 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3644 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3646 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3649 Revved to version 0.13.0
3651 * idl/Accessibility_Registry.idl:
3652 Changed definition of KeySet from sequence of longs to sequence of
3653 KeyDefinitions, and added KeyDefinition struct.
3654 Required for fix to bug 80616.
3656 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3657 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3658 to use new definition (see above).
3660 * registryd/deviceeventcontroller.c: handle_keygrab(),
3661 spi_keyset_contains_key():
3662 Changed to make use of new struct; this allows matching based on
3663 string key-name, for instance "Tab". This also allows matching of
3664 composed characters, non-alphanumeric characters in a way that
3665 doesn't involve dependencies on X keysym codes directly, etc.
3667 * test/key-listener-test.c:
3668 Added test for Alt-Tab key using "string" specification of keyset,
3669 and modified one of the tests to use a keycode-based keyset.
3670 Thus this test both tests and demonstrates the creation and use of
3671 keysets of three forms: specified via keycode array,
3672 keysym array, and string array. (The string case only contains a
3673 single string, i.e. a string array of length 1).
3676 Turned on PRINT_TREE option by default. Also fixed a
3677 string-freeing bug in the PRINT_TREE code.
3678 Added a listener to window:minimize events.
3680 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3682 * atk-bridge/bridge.c:
3683 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3684 for window:activate and window:deactiveate
3685 (atk_bridge_property_event_listener atk_bridge_signal_listener
3686 atk_bridge_window_event_listener) Tidy debug code
3688 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3690 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3691 Fixed handling for NULL return value from ATK.
3693 * libspi/action.c libspi/component.c libspi/editabletext.
3694 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3695 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3696 Removed redundant casts.
3698 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3699 Fixed off by one bug.
3701 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3702 function not present in idl)
3704 2002-05-02 jacob berkman <jacob@ximian.com>
3706 * atk-bridge/Makefile.am: make atk-bridge a real module
3708 2002-04-26 Radek Doulik <rodo@ximian.com>
3710 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3711 atk_state_types table
3713 2002-04-22 jacob berkman <jacob@ximian.com>
3716 * libspi/Makefile.am: add deps on the built files to help
3717 automake, and don't version the ORBit typelib
3719 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3721 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3722 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3723 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3724 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3725 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3726 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3727 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3728 libspi/accessible.h libspi/accessible.h libspi/base.h
3729 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3730 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3731 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3732 libspi/spi-private.h libspi/statetset.h libspi/table.h
3733 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3734 util/mag_client.h util/mag_control.c util/mag_image.c
3735 util/mag_image.h util/magnifier.c util/magnifier.h:
3736 Add missing file headers; standardize existing ones
3738 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3740 * atk-bridge/bridge.c: Added window event support.
3742 2002-04-18 Michael Meeks <michael@ximian.com>
3744 * libspi/relation.c (impl_getNTargets): impl.
3745 (impl_getTarget): impl.
3747 * libspi/Makefile.am: fix stateset install.
3749 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3752 Started putting useful info in this file.
3754 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3756 * atk-bridge/bridge.c:
3757 Propagate state-changed notifications to ATs
3759 * cspi/spi_registry.c: update docs to reflect actual behavior of
3760 state-change events.
3762 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3765 Incremented version to 0.12.1
3767 * util/mag_client.h:
3768 Add missing declaration for magnifier_exit,
3769 used by mag_control.c - Forte compiler didn't like
3770 the implicit redeclaration of the function :-(
3773 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3776 Revved version to 0.12 due to API change (see below).
3778 * cspi/spi-roletypes.h:
3779 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3780 definition from the inline docs, and added docs
3781 for SPI_ROLE_LAST_DEFINED.
3784 * cspi/spi_streamablecontent.c:
3785 Added missing seek_type parameter to
3786 (so far unused) method,
3787 AccessibleStreamableContent_seek().
3788 [ RT approval JodyG. ]
3791 Fixed docs for SPI_createAccessibleKeystrokeListener.
3793 * cspi/spi_registry.c:
3794 Fixed docs for SPI_KEYSET_ALL_KEYS.
3796 * docs/reference/cspi/at-spi-cspi-sections.txt:
3797 Added a number of missing APIs to SECTIONS.
3799 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3801 * registryd/Makefile.am:
3803 * cspi/bonobo/Makefile.am:
3804 Add $(X_LIBS) to makefiles.
3806 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3809 Revved version to 0.11.
3811 * libspi/component.c:
3812 Added implementation for grabFocus.
3814 * idl/Accessibility_Component.idl
3815 (Accessibility_Component_grabFocus):
3816 Made this method return boolean to indicate success or failure, to
3817 be consistent with cspi and the corresponding ATK method.
3819 * idl/Accessibility_Selection.idl
3820 (Accessibility_Selection_selectAll) :
3821 Made these methods return boolean to indicate success or
3822 failure, to be consistent with cspi and the corresponding ATK methods.
3824 * idl/Accessibility_EditableText.idl
3825 (Accessibility_EditableText_setTextContents,
3826 Accessibility_EditableText_insertText,
3827 Accessibility_EditableText_cutText,
3828 Accessibility_EditableText_deleteText,
3829 Accessibility_EditableText_pasteText):
3830 Made these methods return boolean to indicate
3833 * cspi/spi_editabletext.c:
3834 Made these methods return booleans.
3836 * libspi/selection.c:
3837 * libspi/component.c:
3838 * libspi/editabletext.c:
3839 Connected the boolean returns from ATK
3840 to the server-side code referenced above.
3842 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3844 * idl/Accessibility_Table.idl: Added missing methods,
3845 Accessibility_Table_addRowSelection,
3846 Accessibility_Table_addColumnSelection,
3847 Accessibility_Table_removeRowSelection,
3848 Accessibility_Table_removeColumnSelection.
3851 Added C wrappers for above IDL:
3852 AccessibleTable_addRowSelection,
3853 AccessibleTable_addColumnSelection,
3854 AccessibleTable_removeRowSelection,
3855 AccessibleTable_removeColumnSelection.
3858 Added server-side implementation code for IDL above, connecting
3859 to pre-existing ATK api.
3861 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3863 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3865 * libspi/accessible.c: Added implementation fo
3866 Accessibility_Accessible_get_state.
3868 * libspi/libspi.h: Added stateset.h to the list of includes.
3870 * libspi/stateset.c: Fixed broken implementation.
3872 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3875 Added implementation code for Accessibility_Magnifier_exit ().
3877 * util/mag_control.c:
3878 Added test code for above method; you can
3879 now kill an existing magnifier via
3880 ./mag_control q, from the util directory.
3882 * test/key-listener-test.c:
3884 Added a new test, for our key listener API.
3886 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3888 * test/app.c, test/keysynth-demo.c:
3890 Replace use of snprintf with g_snprintf.
3891 (fix for bugzilla 78249)
3893 2002-03-27 Michael Meeks <michael@ximian.com>
3897 * util/Makefile.am (INCLUDES): fix.
3898 (DONT_DIST_SOURCE): don't distribute the
3901 * libspi/Makefile.am (dist-hook): ditto.
3903 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3905 * libspi/hypertext.c:
3906 Fix warnings when yelp is used with atk-bridge
3908 2002-03-21 Michael Meeks <michael@ximian.com>
3910 * libspi/application.c (spi_application_new):
3911 use spi_accessible_construct so we use the AtkObject
3914 2002-03-19 Michael Meeks <michael@ximian.com>
3916 * registryd/registry.c (desktop_remove_application),
3917 (desktop_add_application): clean coding style.
3919 * registryd/desktop.c (spi_desktop_remove_application),
3920 (spi_desktop_add_application): kill re-enterency hazards.
3921 (spi_desktop_dispose): remove bogus redundant cast
3922 obscuring bug; fix bug too.
3923 (spi_desktop_init): make the desktop object immortal.
3925 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3928 Added a #define-guarded tree-traversal step
3929 when enumerating the apps (diagnostic tool).
3931 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3933 * idl/Accessibility_Role.idl:
3934 Added ROLE_DRAWING_AREA which seemed to be missing from the
3937 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3939 * cspi/spi-roletypes.h cspi/spi_accessible.c
3940 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3943 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3944 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3945 AT when applications are added and removed from the desktop. This
3946 reverts the previous broken implementation using the backing
3947 AtkObject for the SpiDesktop.
3949 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3951 * registryd/desktop.c: emit the "children-changed::add" and
3952 "children-changed::remove" signals on the backing ATK object for
3953 the desktop so AT can tell when applications are started and shut
3956 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3958 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3960 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3962 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3964 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3966 * cspi/state-types.h: synched with IDL and ATK
3968 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3970 * libspi/accessible.c
3971 (impl_accessibility_accessible_get_child_at_index):
3972 Change return value for g_return_if_fail ()
3973 to CORBA_OBJECT_NIL instead of "0" (!)
3975 * registryd/Makefile.am:
3976 * registryd/Accessibility_Register.server.in:
3977 Changed name of executable, "registryd",
3978 to something more informative:
3981 2002-03-13 Michael Meeks <michael@ximian.com>
3983 * atk-bridge/bridge.c (atk_bridge_init): don't register
3984 if we're in a bonobo-component, rather than a bonobo app.
3986 2002-03-13 Michael Meeks <michael@ximian.com>
3988 * atk-bridge/bridge.c (gtk_module_init): split
3989 out body to (atk_bridge_init): here, since otherwise
3990 we get symbol conflicts and oddness when invoked
3991 from (gnome_accessibility_module_init): here (upd.)
3993 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3996 New file. Explicitly allow "build sheriff" putbacks provided
3997 they are tested on Solaris.
3999 * docs/reference/cspi/Makefile.am:
4000 Added '-' to the "cp" command for index.sgml.
4001 ("patch by thomasvs, soon coming to a GUADEC near you")
4004 Incremented version number (0.9.0) for new release.
4005 Changed macro that checks for popt, to better detect
4006 obsolete versions of popt.
4009 Added X_LIBS to AC_SUBST, for applications
4010 that call Xlib API directly.
4013 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4016 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4019 Fix regression caused by hard-coding major
4020 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4023 * test/test-simple.c (test_editable_text),
4024 (test_test): revert previous change (error was
4025 a regression in gail which is now fixed).
4027 2002-03-04 Michael Meeks <michael@ximian.com>
4029 * test/test-simple.c (test_editable_text),
4030 (test_text): pass G_MAXINT instead of '-1' for
4031 whole string - is this a good thing !?
4033 * cspi/spi_accessible.c
4034 (Accessible_getRelationSet): fix crasher bug
4035 overwriting the end of the array.
4037 * test/test-simple.c (validate_accessible): free,
4038 not g_free returned relation set.
4040 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4042 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4043 implemented stateset support
4045 * idl/Accessibility_State.idl: Made necessary changes to
4046 the IDL to support state sets.
4048 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4050 * registryd/deviceeventcontroller.c:
4051 Added implementation for generateMouseEvent.
4053 * cspi/spi_registry.c:
4054 Connected new implementation for generateMouseEvent
4057 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4060 Incremented revision (but no change in public API
4061 outside of 'utils', which are not installed public yet.)
4063 * libspi/component.c:
4064 Changed to use atk_component API for layers and
4065 mdi_zorder, instead of deprecated atk_object API.
4067 Magnification Utility Enhancements:
4070 Added implementation of createZoomRegion, clearAllZoomRegions,
4071 resizeZoomRegion. Added new commandline argument
4072 "--no-initial-region". Note that clearAllZoomRegions doesn't
4073 unmap the old '0' region as it should (yet), and the other
4074 methods only work when creating/resizing a single region,
4075 which is "region 0".
4076 (Code for multiple region support will be added later.)
4079 Now we raise the magnifier window each time it's refreshed;
4080 this will help keep it on top.
4082 * util/mag_client.h:
4083 Added simple wrappers for above, used by mag_control.
4084 For general use, it's recommended to use the bonobo magnifier
4085 control API directly instead of using these wrappers.
4088 Moved ZoomRegionData from magnifier.c to this file.
4090 * util/mag_control.c:
4091 Added some code to exercise new IDL implementations.
4093 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4095 * libspi/text.c: Provide implementation for getAttributes.
4097 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4100 Incremented revision.
4102 * test/test-simple.c:
4103 Replaced use of deprecated g_main_iteration with
4104 g_main_context_iteration.
4106 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4109 Incremented revision for desktop alpha 2.
4111 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4113 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4116 * test/simple-at.c: include netinet/in.h.
4118 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4120 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4121 use NULL, not CORBA_OBJECT_NIL.
4123 * libspi/accessible.c:
4124 (impl_accessibility_accessible_get_relation_set):
4125 allocate the sequence correctly.
4127 * libspi/remoteobject.h: kill spi_remote_object_new.
4129 * test/test-simple.c: (validate_accessible): add code
4130 to test relation sets, now all we need is to figure
4131 out how to excercise this code path :/
4133 2002-01-18 Michael Meeks <michael@ximian.com>
4135 * test/test-simple.c
4136 (key_listener_cb): consume the key.
4137 (test_keylisteners): update.
4138 (main): wait for any pending unrefs on events.
4140 * registryd/deviceeventcontroller.c
4141 (spi_controller_update_key_grabs): only re-issue the
4142 grab on a key release.
4143 (spi_device_event_controller_forward_key_event):
4144 refresh the keygrabs before we notify the listeners,
4145 to reduce the X ungrab / re-grab race.
4146 (spi_controller_register_with_devices): remove
4147 XSelectInput - we do that with the gdk_window_ call.
4148 (_spi_controller_device_error_handler): return a value.
4149 s/GDK_DISPLAY/spi_get_display/
4151 2002-01-17 Michael Meeks <michael@ximian.com>
4153 * registryd/deviceeventcontroller.c
4154 (_deregister_keygrab): don't blow out the later
4157 * test/test-simple.c (test_keylisteners): do a
4158 more intelligent validation.
4160 2002-01-14 Michael Meeks <michael@ximian.com>
4162 * atk-bridge/bridge.c
4163 (gnome_accessibility_module_init),
4164 (gnome_accessibility_module_shutdown): impl.
4165 (gtk_module_init): protect vs. double inits.
4166 (add_signal_listener): impl.
4167 (spi_atk_bridge_state_event_listener): kill
4168 (deregister_application): split out of
4169 (spi_atk_bridge_exit_func): here.
4171 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4174 Added caret tracking when using magnifier, and
4175 now use text bounds for focus tracking of text elements, rather than
4176 the component bounds - this is helpful for short text fields in long
4177 table cells, at high magnification.
4179 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4181 * registryd/deviceeventcontroller.c:
4182 Regression fix for keylistener de-registration; global keygrabs
4183 were not being released when deregisterKeystrokeListener was
4184 called in cspi, since
4185 Accessibility_DeviceEventController_deregisterKeystrokeListener
4186 was called with a zero-length keyset. That is because the cspi
4187 method, SPI_deregisterKeystrokeListener, does not take a keyset
4188 parameter but instead should remove all the key grabs held be a
4190 The code in impl_deregister_keystroke_listener was changed to copy
4191 the keylist from the listener instance previously registered with
4192 the DeviceEventController before releasing the grabs.
4194 * registryd/registry.c:
4195 * registryd/deviceeventcontroller.c:
4196 * libspi/spi-private.h:
4198 Changed spelling of "re-enterant" to "re-entrant" globally.
4200 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4202 * test/test-simple.c:
4203 Changed key listeners test - the test was slightly mis-using the
4204 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4205 It now uses '=' as the key event listened to and generated,
4206 relying on a keysym match rather than assuming that keycode 33
4207 is always equal to keysym '!'.
4209 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4212 Changed simple-at to use a specific keyset, rather than
4213 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4214 manager, desktop, etc.
4216 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4218 * registryd/deviceeventcontroller.c:
4219 Replaced standard X error handler with a special handler that
4220 is non-fatal for failed keygrabs. This works around
4221 problems with keygrab clashes sometimes observed on
4223 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4224 mouse handling code as yet).
4226 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4229 Incremented revision for desktop alpha release.
4232 Fixed a couple of the more glaring errors (still not
4235 2002-01-11 Michael Meeks <michael@ximian.com>
4237 * registryd/deviceeventcontroller.c
4238 (spi_device_event_controller_forward_key_event): kill
4239 XUngrabKey / XKeyGrab race.
4240 (spi_controller_grab_keyboard): rename to
4241 (spi_controller_update_key_grabs): this, and deal
4242 with incremental adding / removing grabs more
4244 (_register_keygrab): ensure we're not pending a remove.
4245 (spi_grab_mask_free): impl.
4246 (spi_controller_register_global_keygrabs): split out
4248 (handle_keygrab): impl.
4249 (_deregister_keygrab): impl.
4250 (spi_controller_deregister_global_keygrabs): impl.
4251 (spi_controller_update_key_grabs): re-issue the grab if
4252 we just recieved a notification.
4254 * test/test-simple.c (key_listener_cb): remove debug.
4256 * registryd/deviceeventcontroller.c
4257 (spi_controller_register_device_listener): after
4258 registering a global keygrab, actualy register it !
4259 don't wait for a timeout; doh !
4261 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4262 to make it more readable / manipulable.
4263 s/grabmask/grab_mask/ s/refcount/ref_count/
4264 s/keyval/key_val/ s/modmask/mod_mask
4266 2002-01-08 Michael Meeks <michael@ximian.com>
4268 * registryd/deviceeventcontroller.c
4269 (spi_controller_register_with_devices): use gdk calls to
4271 (global_filter_fn): implement the filter.
4272 (spi_device_event_controller_check_key_event): rename to
4273 (spi_device_event_controller_forward_key_event): this & upd.
4274 (spi_get_display): replace with GDK_DISPLAY.
4276 * registryd/deviceeventcontroller.c
4277 (spi_controller_deregister_device_listener): unroll into
4278 (impl_deregister_keystroke_listener): here to simplify.
4279 (spi_controller_register_global_keygrabs): split cut and
4280 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4281 (spi_controller_deregister_device_listener): remove.
4282 (impl_register_mouse_listener): remove, no mouse listener
4283 support in at-spi-1.0
4285 * registryd/registry.c
4286 (_device_event_controller_hook): kill.
4287 (spi_registry_init): upd.
4289 * registryd/deviceeventcontroller.c
4290 (spi_device_event_controller_class_init): upd.
4291 (spi_check_key_event): merge into.
4292 (spi_device_event_controller_check_key_event):
4293 here and kill strange static ev init, don't leak
4294 the x_event - nor dynamicaly allocate it.
4296 * registryd/registry-main.c (main): re-direct
4297 timeout to remove strange vtable mess.
4299 * registryd/deviceeventcontroller.c
4300 (remove_listener_cb): impl.
4301 (spi_controller_deregister_device_listener):
4302 fix re-enterancy hazard.
4304 2002-01-07 Michael Meeks <michael@ximian.com>
4306 * registryd/deviceeventcontroller.c
4307 (spi_device_event_controller_new): upd.
4308 (impl_notify_listeners_sync): upd. debug.
4309 (spi_notify_keylisteners): fix re-enterancy hazards,
4310 prettify, remove O(n*n) iteration.
4311 (spi_controller_grab_keyboard): fix iteration.
4312 (spi_check_key_event): re-format to suit coding style.
4313 Clean all the warnings - we're warning free.
4315 * registryd/deviceeventcontroller.h:
4316 * registryd/registry.h: make mutualy referential with
4317 typesafe forward references instead of (!) void pointer
4320 2002-01-11 Michael Meeks <michael@ximian.com>
4322 * cspi/spi_accessible.c (role_names): add a role name
4323 to sync this array with the enum; and make the regression
4326 2002-01-10 Michael Meeks <michael@ximian.com>
4328 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4329 allow expansion of enumeration & kill warning.
4331 * test/test-simple.c (key_listener_cb): impl.
4332 (test_keylisteners): impl.
4334 * cspi/spi-listener.h: make listener signatures const
4335 on the provided (const) events.
4337 * test/keysynth-demo.c: upd. to const events.
4339 * test/simple-at.c: ditto.
4341 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4344 Rev the version to 0.5 (the previous tarball was named 0.4,
4345 even though the micro number was 3), so we need to rev upwards
4346 again for beta2/"desktop-alpha"
4349 Checked in a demo script, which requires editing before use!
4350 Proceed with caution.
4353 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4355 * cspi/spi_accessible.c:
4356 Add a couple of missing enum initializations, and fix some enum
4359 * cspi/spi_registry.c:
4360 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4362 * docs/reference/cspi/at-spi-cspi-sections.txt:
4363 Remove/fix a couple of broken document references.
4366 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4367 as Alt-Control to listen for commands, since on some systems
4368 Control-Alt may already be grabbed.
4370 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4373 Update version number to 0.4 for Beta2.
4375 * libspi/accessible.c, libspi/accessible.h:
4376 Expose spi_accessible_construct, to enable libgail-gnome
4377 construction from spi_accessible subtype.
4379 * utils/magnifier.c:
4380 Workaround for bug in some non-gnome-compliant window managers
4381 which made magnifier resize improperly.
4383 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4385 * libspi/accessible.c: (spi_accessible_new) :
4386 Move the test for SPI_IS_REMOTE_OBJECT to
4387 spi_accessible_new_return, fixing a bug and compile time warning.
4389 2002-01-08 Michael Meeks <michael@ximian.com>
4391 * registryd/registry.c (parse_event_type): remove strndup.
4393 * libspi/Makefile.am (libspi_la_SOURCES): remove
4394 sources already included in the headers section.
4396 * libspi/util.c: add.
4398 * libspi/spi-private.h: add.
4400 * registryd/registry.c: update to moved list iterators.
4402 2002-01-05 Michael Meeks <michael@ximian.com>
4404 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4406 * test/test-simple.c (main): ditto.
4408 2002-01-04 Michael Meeks <michael@ximian.com>
4410 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4411 redundant construct.
4413 * registryd/registry.c
4414 (get_listener_list): impl.
4415 (impl_accessibility_registry_register_global_event_listener):
4416 re-impl. to simplify using ~, remove dodgy const cast off.
4417 (parse_event_type): constify.
4418 (impl_accessibility_registry_deregister_global_event_listener_all):
4419 re-write, more efficiency and simplicity, kill re-enterancy
4421 (compare_listener_corbaref, compare_corba_objects),
4422 (compare_listener_quarks): define out.
4423 (impl_accessibility_registry_deregister_global_event_listener):
4424 re-write for effiency, and nail re-enterancy hazard.
4425 (impl_accessibility_registry_get_desktop_list): impl.
4426 (re_enterant_list_delete_link): impl.
4427 (re_enterant_list_foreach): impl.
4428 (remove_listener_cb): impl.
4429 (_registry_notify_listeners): kill.
4430 (notify_listeners_cb): impl.
4432 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4433 (SPI_getDesktopList): impl.
4435 * test/test-simple.c (test_desktop): test the methods.
4437 2002-01-03 Michael Meeks <michael@ximian.com>
4439 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4440 keystrings since we free them
4441 (SPI_freeAccessibleKeySet): in here.
4443 * libspi/accessible.c (spi_accessible_new): kill warning,
4444 wonder what is going on with the constructor here.
4446 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4448 * libspi/accessible.c (spi_accessible_new ()) :
4449 Added check to see if AtkObject is an SpiRemoteObject before
4450 creating an SpiAccessible.
4452 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4454 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4455 Enable keygrabs using the Control modifier, now that they are
4456 working properly (they were previously disabled).
4459 Change the command keygrab for this demo to "Control+Alt", so as
4460 to conflict with fewer other key commands on the system; this
4461 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4463 Removed a pointlessly-chatty keylistener for unshifted keys
4464 (shifted keys are still reported).
4466 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4468 * libspi/remoteobject.h:
4469 * libspi/remoteobject.c:
4470 Added definitions for special AtkObject subtype, required for
4471 support of remote components (specifically, used by BonoboControl
4472 accessibility implementation).
4474 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4476 * cspi/spi.h: synched relation types with ATK
4478 * cspi/spi_accessible.c: Added implementations of
4479 AcccessibleRelation_* methods
4481 * idl/Accessibility_Relation.idl: added getRelationTypeName
4482 method. Synched known relation types with ATK. Allowed for
4483 relation type extension with the RELATION_EXTENDED type.
4485 * libspi/relation.c: Provided implementations for
4486 AccessibleRelation methods.
4488 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4490 API tweaks for today's API 'freeze'.
4493 Added placeholder functions to allow future compatible expansion
4494 of the IDL interfaces.
4496 * idl/Accessibility_Registry.idl:
4497 Changed generateKeyEvent to generateKeyboardEvent. Changed
4498 signature of this method to accept an optional keystring in
4499 parameter (for complex text input synthesis) and changed use of
4500 simple 'boolean' parameter in registerKeystrokeListener to a
4501 struct, EventListenerMode.
4503 * cspi/spi_accessible.c:
4505 * cspi/spi_streamablecontent.c:
4506 Added references to AccessibleStreamableContent interface, and
4507 definition and implementation of AccessibleStreamableContent
4510 * cspi/spi_registry.c:
4512 Changed generateKeyEvent API to generateKeyboardEvent,
4513 taking a new (optional) keystring parameter to support complex
4518 Renamed directory (to better reflect its actual purpose, bridging
4519 from at-spi to ATK). The .so module is also now named
4522 * idl/Accessibility_Hypertext.idl:
4523 * libspi/accessible.c:
4524 * libspi/hypertext.h:
4525 * libspi/hypertext.c:
4526 Changed Accessibility_Hypertext to *not* derive from
4529 * cspi/spi_registry.c:
4530 Added list of legal event type names for 'window' events, which
4531 completes the registry event API.
4533 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4535 * at-bridge/bridge.c: Added registration for separate
4536 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4537 signals. If either of the first two parameters to the generic
4538 bridge signal handler are ints, they are passed on as event
4539 details. This allows an AT to determine what text was inserted.
4541 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4543 * registryd/deviceeventcontroller.c:
4544 Fixed regressions in generateKeyEvent caused by the removal of
4545 gdk_init from registryd; we now use pure X calls to connect to the
4546 display, which makes sense because deviceeventcontroller already
4547 uses a fair bit of X API (should eventually be migrated to a
4548 'portability layer').
4550 * registryd/desktop.c:
4551 Fixed minor regression in spi_desktop_init, changed the way the
4552 desktop name is being set to work with new spi_base API
4553 (gobject-based, rather than AtkObject-based).
4555 * registryd/Makefile.am:
4556 Minor revision of makefile to use XTST_LIBS variable rather than
4557 hard-wiring the Xtst LD_ADD element.
4559 * test/keysynth-demo.c:
4560 Tweaked an output message; added initialization of the
4561 'keystrings' member of the "switch listener" key_set.
4563 * libspi/relation.c:
4564 Squashed compile-time warning.
4566 * libspi/accessible.c:
4567 Cosmetic and formatting fixes, renamed a static method.
4569 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4571 * libspi/accessible.c
4573 * libspi/application.c
4576 * libspi/component.c
4577 * libspi/editabletext.c
4578 * libspi/hyperlink.c
4579 * libspi/hypertext.c
4581 * libspi/selection.c
4585 * registryd/desktop.c:
4586 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4588 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4590 * idl/Accessibility_Registry.idl:
4591 Added boolean member 'is_text' to DeviceEvent. This is for the
4592 use of key events, and helps prevent ambiguity between composed
4593 key strings and keysym names, since both may potentially be
4594 returned in the 'event_string' member.
4596 * at-bridge/bridge.c:
4597 * registryd/deviceeventcontroller.c:
4598 Use the 'is_text' member when notifying device event listeners.
4599 Knon issue: composed characters are not dealt with correctly by
4600 the global key listener implementation yet.
4602 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4604 * at-bridge/bridge.c:
4605 Namespaced local static methods to spi_atk_bridge_* where
4606 previously named bridge_*, and spi_* elsewhere.
4608 * at-bridge/bridge.c:
4609 * cspi/bonobo/cspi-bonobo-listener.c:
4610 Added demarshalling/conversion for string member of
4611 Accessibility_DeviceEvent to AccessibleKeystroke.
4613 * registryd/deviceeventcontroller.c:
4614 Added code to fill the Accessibility_DeviceEvent key string value
4615 member for global key events (i.e. from XGrabKey), to match
4616 behavior of Accessibility_DeviceEvent from the toolkit key events
4617 from the bridge. Fixed timestamp in global key event notifications.
4620 Added printout of key event's string value to
4621 report_ordinary_key_event, for demo/debugging purposes.
4623 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4625 * idl/Accessibility_Registry.idl:
4626 Removed Accessibility_KeyStroke structure in favor of generic
4627 Accessibility_DeviceEvent structure.
4628 Changed Accessibility_ControllerEventMask from a struct to an
4631 * at-bridge/bridge.c:
4632 Changed APIs to use DeviceEvent structure as above, and removed
4633 bogus casting between these event structures.
4635 * cspi/spi-listener.h:
4636 Added keystring member of AccessibleKeystroke structure, to enable
4637 matching on event "names" rather than only hardware codes and
4641 Added keystrings member of AccessibleKeySet struct, to allow
4642 matching on event names (as above).
4643 Added declarations for SPI_createAccessibleKeySet and
4644 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4645 event modmasks directly as unsigned ints rather than structs with
4646 refcounts, in the DeviceEventController methods.
4648 * cspi/spi_registry.c:
4649 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4651 * cspi/spi-roletypes.h:
4652 Added documentation of newly added SPI Roles.
4654 * cspi/bonobo/cspi-bonobo-listener.c:
4655 Changes in support of API changes above.
4657 * libspi/accessible.c:
4658 Converted APIs to use DeviceEvent structure (see IDL changes
4661 * registryd/deviceeventcontroller.c:
4662 Added DEControllerGrabMask structure to track keygrabs not only by
4663 modmask but by keyset as well; this allows us to do "global"
4664 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4665 grabbing on AnyKey and then filtering after-the-fact.
4666 Bugfixes for event filtration mean that we don't get false matches
4667 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4669 * registryd/deviceeventcontroller.c:
4670 Namespaced a number of static methods to use spi_ prefix. Major
4671 revision to internals of global (i.e. X) key grabs.
4673 * registryd/deviceeventcontroller.h:
4674 Removed keymask_list and added keygrabs_list to
4675 SpiDeviceEventController struct.
4678 Added use of SPI_createAccessibleKeySet API when creating a
4679 listener for only one key. Attach a listener to "shift spacebar
4680 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4681 X key event names to SPI key event names, so that listeners are
4682 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4684 * test/keysynth-demo.c:
4685 Changed (incorrect) use of X key event names (KeyPressed,
4686 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4689 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4691 * libspi/accessible.c:
4692 Convert all AtkRole enumerations to Accessibility_Role enums when
4693 getting a role from an AtkObject.
4695 * cspi/spi_accessible.c:
4696 Complete the conversion of Accessibility_Role enums at runtime to
4697 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4698 role enums correctly match those given in spi-roletypes.h.
4699 Re-synchronize the local names list for AccessibleRole_getName ().
4700 AccessibleRole_getName is now deprecated, since it duplicates the
4701 more reliable Accessible_getRoleName.
4702 Added some role types from Accessibility_Role.idl.
4704 * idl/Accessibility_Role.idl:
4705 Added some role types used by AtkRole.
4707 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4710 * cspi/spi_registry.c:
4712 * cspi/cspi-bonobo-listener.c:
4713 Namespaced all methods that did not begin with an "SPI_" or
4714 "Accessible" prefix to "SPI_".
4717 Homogenized internal function namespace to "cspi_" for statics.
4720 Patched tests to use the new CSPI API.
4722 * docs/reference/cspi/at-spi-cspi-sections.txt:
4723 Updated docs to reflect namespace changes, and added a number of
4724 methods to the documentation.
4726 * registryd/registry.c:
4727 Changed use of strings and string hashes in listener event
4728 matching and parse_event_string to use GQuark, which is guaranteed
4731 * registryd/registry.h:
4732 Squashed annoying warning.
4734 * idl/Accessibility_Role.idl:
4735 Extended range of available Accessibility_Role values.
4737 * cspi/spi_accessible.c:
4738 Re-ordered role names.
4740 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4742 * idl/Accessibility_Value.idl:
4743 Revert use of union back to CORBA_double, since the double type is
4744 more efficient and can contain the other types without loss of
4747 * idl/Accessibility_Accessible.idl:
4748 Added method Accessibility:Accessible:getRoleName, to complement
4749 Accessibility:Accessible:getRole.
4751 * cspi/spi_accessible.c:
4753 Added C binding for above, Accessible_getRoleName (), and changed
4754 signature of Accessible_getRole () to return an AccessibleRole.
4756 * cspi/spi-roletypes.h:
4757 Changed AccessibleRole_getName to return a char * instead of a
4758 const char *. This method is now at least temporarily deprecated
4759 in favor of asking Accessibles for their RoleNames directly.
4762 Revert to match Accessibility_Value.idl;
4766 Change signature of AccessibleValue methods to use double rather
4770 * cspi/spi_accessible.c:
4771 Changed Accessible_getRole to return an AccessibleRole enum rather
4772 than a UTF-8 string. The UTF-8 string can still be obtained via
4773 AccessibleRole_getName ().
4775 * test/test-simple.c:
4776 Add test_action. Small fixup to match API change to Accessible_getRole.
4779 Bugfix for get_action_from_servant ().
4781 2001-12-11 Michael Meeks <michael@ximian.com>
4783 * libspi/libspi.h: remove registry.h and
4784 desktop.h, deviceeventcontroller.h
4786 * libspi/Makefile.am: remove registry.[ch],
4787 desktop.[ch], deviceeventcontroller.[ch]
4789 * registryd/Makefile.am: add registry.[ch],
4790 desktop.[ch], rename registryd.c to registry-main.c.
4791 add deviceeventcontroller.[ch]
4793 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4796 Replace setenv() call with putenv ().
4798 * libspi/component.c:
4799 Bugfix in AccessibleComponent_getExtents (),
4802 2001-12-11 Michael Meeks <michael@ximian.com>
4804 * libspi/image.c (impl_getImageExtents): impl.
4805 (spi_image_class_init): upd.
4808 (AccessibleImage_getImageDescription): fix daft bug
4811 * test/test-simple.c (global_listener_cb): update
4812 to only quit if not --poke
4813 (main): catch --poke.
4814 (validate_accessible): upd. dumping, call test_image
4817 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4820 * idl/Accessibility.idl: update all IDL includes.
4822 * idl/*.idl - rename to namespace - this sucks, blame
4823 mjs' bad decision for oafd.
4825 * test/test-simple.c (create_test_window): add more tests.
4826 (create_tree): split this out.
4827 (validate_accessible): bugfix.
4829 2001-12-11 Michael Meeks <michael@ximian.com>
4831 * cspi/bonobo/cspi-bonobo-listener.c:
4832 (cspi_kestroke_listener_unref),
4833 (cspi_event_listener_unref): impl. undoing previous
4834 homenous environment - for Bill.
4836 * cspi/spi_table.c (long_seq_to_array): use
4839 * cspi/spi_main.c: split out all bonoboish bits into
4842 * cspi/spi-impl.h: upd. typedefs.
4844 * cspi/spi_registry.c: update to lowlevel API,
4845 return booleans to indicate success in some places.
4847 * cspi/spi_event.c: update to lowlevel API.
4849 * cspi/bonobo/Makefile.am: add.
4851 * cspi/bonobo/cspi-lowlevel.h: add
4853 * cspi/bonobo/cspi-bonobo.c: add
4855 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4857 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4858 (SUBDIRS): add bonobo, link in the libs.
4860 * cspi/spi-util.c: kill this file.
4862 * TODO: merge in my bits.
4864 2001-12-11 Michael Meeks <michael@ximian.com>
4866 * test/test-simple.c (test_value, test_table, main):
4867 remove unused variables causing warnings.
4869 * configure.in: cleanup checks - require gail.
4871 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4874 Changed Value interface to use SValue (scalars) rather than
4875 assuming all values are floats. This allows floats, doubles,
4876 longs, shorts, and unsigned values to be manipulated.
4877 Introduced Accessibility:SValue union.
4880 Updated to use new API above, and to work correctly with GValues
4881 of different types in AtkValue.
4884 Updated to use new API above. cspi's API is as yet unchanged.
4887 Updated the Value revision action item.
4889 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4891 * test/test-simple.c:
4892 Added test_table (GtkTreeView widget in test window to follow).
4893 Un-commented test_value, added GtkRange widget.
4894 Added GtkTreeView widget with GtkListStore. It passes regression
4895 test but leaks one SPI object for some reason.
4898 Fixed bug in impl__set_currentValue.
4900 2001-12-10 Michael Meeks <michael@ximian.com>
4902 * cspi/spi_text.c: audit for exception handling,
4903 tolerating NULL object references safely etc.
4905 * cspi/spi_value.c: ditto.
4907 * cspi/spi_table.c (AccessibleTable_getSummary),
4908 (AccessibleTable_getAccessibleAt),
4909 (AccessibleTable_getRowHeader),
4910 (AccessibleTable_getColumnHeader),
4911 (AccessibleTable_getCaption): fix bugs hidden by
4913 (long_seq_to_array): impl.
4914 (AccessibleTable_getSelectedRows),
4915 (AccessibleTable_getSelectedColumns): use it.
4917 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4920 Added a TODO list (rough and short for now).
4922 * cspi/spi_hyperlink.c:
4923 * cspi/spi_hypertext.c:
4924 Fixed macro name typos, and remove use of obsolete macro in
4925 AccessibleHyperlink_getLink.
4927 * cspi/spi_action.c:
4928 * cspi/spi_accessible.c:
4929 * cspi/spi_application.c:
4930 * cspi/spi_component.c:
4931 * cspi/spi_selection.c:
4934 Documentation fixes (removed return values from ref/unref methods).
4936 2001-12-10 Michael Meeks <michael@ximian.com>
4938 * cspi/spi_action.c: audit for exception handling,
4939 tolerating NULL object references safely etc.
4941 * cspi/spi_accessible.c: ditto.
4943 * cspi/spi_component.c: ditto.
4945 * cspi/spi_editabletext.c: ditto.
4947 * cspi/spi_hyperlink.c: ditto.
4949 * cspi/spi_hypertext.c: ditto.
4951 * cspi/spi_image.c: ditto.
4953 * cspi/spi_selection.c: ditto.
4955 2001-12-10 Michael Meeks <michael@ximian.com>
4957 * configure.in: use cspi/libspi.pc.in instead.
4959 * Makefile.am (pkgconfig_DATA): upd. to match.
4961 * test/simple-at.c (report_focus_event): kill hacks around
4962 bad return values, use putenv not setenv
4964 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4965 fire ChildGone - I killed it.
4967 * libspi/component.c
4968 (impl_accessibility_component_get_extents): remove
4971 * idl/Accessible.idl: kill ChildGone exception.
4973 * cspi/*.[ch]: kill int return from ref / unref.
4975 * cspi/spi_main.c (cspi_object_add_check): fold into
4976 (cspi_object_add): here.
4978 * cspi/spi_component.c (AccessibleComponent_getExtents):
4979 handle exceptions elegantly.
4981 * cspi/spi-private.h (cspi_check_ev_return),
4982 (cspi_return_if_fail): impl.
4984 * cspi/spi_accessible.c: use extensively.
4985 (AccessibleStateSet_equals): add direct compare check.
4987 * cspi/spi_selection.c: tolerate NULL objs, and check
4988 exceptions before return.
4990 * cspi/spi-util.c (cspi_warn_ev): rename to
4991 (cspi_check_ev): this & don't pass ev in; no point.
4993 2001-12-10 Michael Meeks <michael@ximian.com>
4995 * test/test-simple.c: use putenv not setenv
4996 (get_environment_vars): more chatty if you're not using
4999 * test/simple-at.c: do the setenv so more people see the
5002 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5004 * libspi/registry.c:
5005 Changed check of CORBA_environment on notification to be a warning
5006 instead of an error for the moment, since we can recover from this
5007 error when caused by a queued notification from a dead app.
5010 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5011 used by all current implementors of AtkValue), and coerce to
5012 CORBA_float. (Proper general case fix may require change to Value.idl).
5014 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5018 * cspi/spi_accessible.c:
5019 Documentation fixes: added user_data params to documentation for
5020 listeners and callbacks.
5022 * cspi/spi_accessible.c:
5023 Changed AccessibleStateSet_compare to return a
5024 StateSet rather than return the difference set into a third parameter.
5027 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5030 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5031 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5035 Remove subdirectory po from SUBDIRS for now.
5037 * at-bridge/bridge.c:
5038 Beefed up a couple of debug printouts.
5039 One-line fix for signal notification name formatting.
5041 * libspi/accessible.c:
5042 Added assertion to spi_accessible_new ().
5044 * libspi/application.c:
5045 Put #ifdef qualifiers around a printf.
5048 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5050 * registryd/Makefile.am:
5052 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5053 INTLTOOL_SERVER_RULE macro.
5056 Added an event listener for several ATK signals, for
5057 testing and debugging. Removed a few g_warnings.
5058 Added test output if focussed item implements the Value interface.
5060 * test/test-simple.c:
5061 Added test_value () function (known not to pass at the moment, so
5062 not actually called yet.
5064 2001-12-08 Michael Meeks <michael@ximian.com>
5066 * at-bridge/bridge.c (bridge_focus_tracker),
5067 (emit_eventv): fix the same ref. leak.
5068 (register_atk_event_listeners): don't leak.
5070 * cspi/spi-listener-impl.c (cspi_event): more
5071 protection from client code.
5073 * test/test-simple.c (test_desktop): unref the app.
5075 * test/Makefile.am: upd. TESTS.
5077 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5079 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5081 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5083 * cspi/spi_registry.c: constify in strings.
5084 (deregisterGlobalEventListenerAll): don't release the ref.
5086 * cspi/spi.h: start removing redundant / conflicting
5087 gtkdoc comments, making the API readable at a glance :-)
5089 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5091 * test/keysynth-demo.c (keysynth_exit, main): upd.
5093 * test/simple-at.c (main, simple_at_exit): upd.
5095 * test/test-simple.c (unutterable_horror): kill.
5096 (utterable_normal_derefs): kill.
5097 (main): upd & do a setenv before gtk_init, so that we
5098 can use memprof - and to save the pain of remembering
5099 this, if we're running under memprof - don't exit.
5101 * cspi/spi_main.c (SPI_exit): return exit status
5103 (SPI_event_quit): impl.
5104 (SPI_event_main): simplify.
5105 (cspi_is_gnome_app): kill.
5106 (SPI_init): kill isGNOMEapp arg.
5108 * at-bridge/bridge.c (register_atk_event_listeners):
5109 re-instate the unref.
5110 (bridge_exit_func): don't re-activate the registry,
5111 protect vs. theoretical re-entry, use the
5112 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5113 assert a clean shutdown - for regression tests.
5115 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5117 * configure.in: Comment out dummy i18n support for now,
5118 otherwise it fails to build.
5119 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5120 EXTRA_DIST. They are missing in tarball.
5122 2001-12-07 Michael Meeks <michael@ximian.com>
5124 * util/magnifier.c: kill bonobo activation reg. race.
5126 * libspi/component.c
5127 (impl_accessibility_component_get_extents): make it match
5130 * libspi/registry.c (_registry_notify_listeners):
5131 re-remove X headers & reconcile conflicts.
5132 (spi_listener_struct_free): bad conflict resolve.
5133 (impl_accessibility_registry_register_application):
5134 more bad merging fixed.
5135 (impl_accessibility_registry_deregister_application): ditto.
5136 (spi_registry_new): ditto.
5137 (spi_registry_init): don't have an applications field.
5139 [ merge fixups2 branch to here ]
5140 2001-12-07 Michael Meeks <michael@ximian.com>
5142 * test/simple-at.c (report_focus_event),
5143 (report_focussed_accessible): remove g_warning debug.
5145 2001-12-07 Michael Meeks <michael@ximian.com>
5147 * test/test-simple.c (validate_tree): comment out some checks.
5148 (test_desktop): app now not registered idly - horay.
5150 2001-12-07 Michael Meeks <michael@ximian.com>
5152 * cspi/spi_registry.c
5153 (registerAccessibleKeystrokeListener): clean, stop it leaking
5154 great swathes of memory, and device event controller references.
5155 ensure we always pass valid sequences.
5156 (deregisterAccessibleKeystrokeListener): ditto.
5157 (generateKeyEvent): upd.
5159 * at-bridge/bridge.c (bridge_key_listener): handle
5160 registry dead exception gracefully.
5161 (bridge_focus_tracker, emit_eventv): free ev.
5163 * test/simple-at.c (report_focus_event): fix polarity.
5165 * libspi/application.c (notify_listeners): kill the ev
5166 argument, and make sure we init the ev we use.
5167 (spi_application_object_event_listener): split out a chunk
5168 (get_atk_object_ref): here & fixup.
5169 (reverse_lookup_name_for_toolkit_event): make const.
5170 (spi_application_toolkit_event_listener): fixup, kill leaks
5173 * at-bridge/bridge.c (register_atk_event_listeners):
5174 don't unref the noop object - causes grief.
5176 * libspi/registry.c: remove the X headers.
5177 turn off the debug churn.
5179 * libspi/accessible.c (spi_accessible_new_return): only
5180 release the ref if we are supposed to [doh]
5182 * test/simple-at.c (report_button_press, report_focus_event):
5183 guard vs. unexpected exit.
5185 * at-bridge/bridge.c (gtk_module_init): prune printf.
5186 (bridge_exit_func): fix app unref.
5188 * libspi/Makefile.am: don't install registry or desktop.h
5190 * libspi/*.h: update includes.
5192 * libspi/application.h: don't include ourself, or
5193 other redundant headers.
5195 2001-12-06 Michael Meeks <michael@ximian.com>
5197 * libspi/accessible.c
5198 (get_accessible_from_servant): impl.
5199 Upd. all CORBA impl.s to use it killing cut and paste.
5201 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5203 (SPI_init): register atexit cleanup handler here.
5205 2001-12-06 Michael Meeks <michael@ximian.com>
5207 * at-bridge/bridge.c (gtk_module_init): g_error on
5208 activation exception
5210 2001-12-06 Michael Meeks <michael@ximian.com>
5212 * at-bridge/bridge.c (gtk_module_init): some sort of
5213 confusing merge clash - reverted.
5214 (bridge_idle_init): ditto.
5216 * test/test-simple.c (main, utterable_normal_derefs):
5217 merge from Bill - somehow not committed.
5219 2001-12-06 Michael Meeks <michael@ximian.com>
5221 * libspi/value.c (spi_value_class_init): upd.
5222 (spi_value_finalize): kill.
5224 * libspi/table.c (spi_table_finalize): kill.
5225 (spi_table_interface_new): upd.
5226 (spi_table_class_init): upd.
5227 (get_table_from_servant): impl.
5228 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5230 * libspi/selection.c (spi_selection_finalize): kill.
5231 (spi_selection_interface_new): upd.
5232 (spi_selection_class_init): upd.
5233 (get_selection_from_servant): impl.
5234 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5236 * libspi/relation.c (spi_relation_finalize): kill.
5237 (spi_relation_class_init, spi_relation_new): upd
5239 * libspi/image.c (spi_image_finalize): kill.
5240 (spi_image_class_init): upd.
5241 (spi_image_interface_new): upd.
5242 (get_image_from_servant): impl.
5243 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5245 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5246 (spi_hyperlink_finalize): kill.
5247 (spi_hyperlink_new): upd.
5248 (get_hyperlink_from_servant): impl.
5249 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5251 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5252 (spi_hypertext_finalize): kill.
5253 (spi_hypertext_class_init): upd.
5254 (get_hypertext_from_servant): impl.
5255 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5257 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5258 (spi_editable_text_interface_new): upd.
5259 (get_editable_text_from_servant): impl.
5260 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5262 * libspi/text.c (get_text_from_servant): impl.
5263 All impls - update to use it killing more cut and paste,
5264 also fix bad string returns on duff args ( a somewhat
5265 impossible case to handle - but hey ).
5266 (spi_text_construct): impl.
5267 (spi_text_interface_new): upd.
5268 (spi_text_object_finalize): kill.
5270 * libspi/component.c
5271 (accessibility_component_object_finalize): kill.
5272 (spi_component_class_init): upd.
5273 (get_component_from_servant): impl. helper to kill cut & paste.
5274 (impl_accessibility_component_contains):
5275 (impl_accessibility_component_get_accessible_at_point):
5276 (impl_accessibility_component_get_position):
5277 (impl_accessibility_component_get_extents):
5278 (impl_accessibility_component_get_mdi_z_order):
5279 (impl_accessibility_component_get_layer):
5280 (spi_component_interface_new): upd.
5282 * libspi/action.c (spi_action_finalize): kill.
5283 (spi_action_class_init): upd. inherit from SpiObject.
5284 (spi_action_interface_new): upd.
5285 (get_action_from_servant): impl. helper to reduce cut & paste.
5286 (impl_getKeyBinding, impl_getName, impl_doAction),
5287 (impl_getDescription): Use it everywhere.
5289 * cspi/spi_main.c (get_live_refs): a pointer hash.
5290 (spi_object_hash, spi_object_equal): comment out.
5291 There are issues with CORBA object hashing that need
5294 * libspi/application.c (spi_application_init),
5295 (spi_application_new): upd.
5297 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5298 (spi_accessible_class_init): upd.
5299 s/accessible/object/ in epv methods.
5301 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5303 * at-bridge/bridge.c:
5304 Reorder the bridge initialization into the bridge gtk_module_init,
5305 an immediate call to bridge_register_app, and an idle_add for
5306 register_atk_event_listeners (the only code that *must* wait until
5307 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5308 the activation, creates the application's Accessible object, and
5309 queues the bridge_idle_init function. Restored call to
5310 Accessibility_Registry_deregisterApplication().
5311 Prior to making this call we obtain a new reference to the
5312 registry, which is a temporary hack that helps us handle apps that
5313 shut down the bonobo mainloop before we get there.
5315 * libspi/registry.c:
5316 Fix string leakage in debug block, and don't segv if a an app
5317 dies before its event notifications have been propagated.
5320 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5321 as stopgap measure until we get proper exception handling when
5322 objects die during or before interrogation.
5326 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5327 Also changed default value of is_gnome_app to TRUE.
5330 * test/keysynth-demo.c:
5331 Changed use of SPI_init and SPI_event_main to reflect API change above.
5334 Made report_focus_event check the warning value from getName
5335 before reporting on focussed accessible; simplifies handling of
5336 notifications from dead objects.
5338 * test/test-simple.c: (Changes not in this patch since source is
5341 2001-12-05 Michael Meeks <michael@ximian.com>
5343 * registryd/registryd.c (main): protect against
5344 bonobo-activation startup race condition.
5346 * cspi/spi_main.c (cspi_object_add_check): cope
5347 with the exception elegantly.
5349 * idl/Accessible.idl: decl. ChildGone
5351 * libspi/desktop.c (spi_desktop_dispose): impl.
5352 (spi_desktop_class_init): upd.
5353 (spi_desktop_add_application),
5354 (spi_desktop_remove_application),
5355 (abnormal_application_termination): impl.
5356 (impl_desktop_get_child_at_index): re-impl.
5359 (impl_accessibility_registry_deregister_application),
5360 (impl_accessibility_registry_register_application):
5361 kill excessive debug clutter.
5363 * test/test-simple.c (test_misc): test some NULL
5364 tolerance. (main): upd.
5366 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5367 implements no interfaces - so let's not crash.
5369 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5371 * libspi/accessible.c (spi_accessible_new_return): impl.
5372 helper to calm the cut and paste, to cope with
5373 NULL AtkObjects effectively and efficiently, and to kill
5374 the referencing bugs.
5376 * libspi/table.c (impl_getAccessibleAt),
5377 (impl_getRowHeader, impl_getColumnHeader): upd.
5379 * libspi/hyperlink.c (impl_getObject): upd.
5381 * libspi/accessible.c
5382 (impl_accessibility_accessible_get_child_at_index): upd.
5384 * libspi/component.c
5385 (impl_accessibility_component_get_accessible_at_point): upd.
5387 * test/test-simple.c (test_editable_text, test_text): impl.
5390 * cspi/spi_editabletext.c
5391 (AccessibleEditableText_insertText): constify.
5393 * test/test-simple.c (focus_me): make more robust.
5395 * libspi/accessible.c: remove some printfs in methods that
5396 we test and work fine, so we can get a clean tree dump.
5398 * test/test-simple.c (validate_accessible),
5399 (validate_tree): make tree dumping pretty too.
5401 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5402 it builds without debug on.
5404 * test/test-simple.c (validate_accessible): fix the most
5407 * cspi/spi_main.c (spi_object_release): leave the nicely
5408 blanked memory around if in debug mode.
5410 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5412 [committed to fixups2]
5413 2001-12-05 Michael Meeks <michael@ximian.com>
5415 * libspi/editabletext.c
5416 (spi_editable_text_class_init): g_type_class_peek_parent,
5417 not interface peek - so we finalize cleanly.
5419 * libspi/accessible.c (spi_accessible_new): kill debug.
5421 * test/test-simple.c (validate_accessible): fix ref.
5422 leak, print strings before freeing them; sigh, comment a
5423 chunk out due to strangeness.
5424 (validate_tree): unref the child after use.
5426 * cspi/spi_component.c (AccessibleComponent_getLayer):
5427 add missing break statement, switch on zlayer not the
5428 uninitialized retval.
5430 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5431 before (possibly re-entering) remote unref.
5433 * test/simple-at.c (main): unref the desktop.
5435 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5438 * cspi/spi_main.c (cspi_accessible_is_a): here to
5439 isolate bonobo API usage more.
5441 * libspi/registry.c (impl_accessibility_registry_register_application):
5442 prune bogus comment.
5444 2001-12-04 Michael Meeks <michael@ximian.com>
5446 * test/test-simple.c (validate_tree): upd.
5447 IndexInParent check to make it more lucid.
5448 (validate_accessible): dump the tree.
5450 * libspi/accessible.c (de_register_public_ref),
5451 (get_public_refs): impl.
5452 (spi_accessible_new): make more efficient & intuitive.
5453 Now IndexInParent check works.
5455 2001-12-04 Michael Meeks <michael@ximian.com>
5457 * cspi/spi-util.h: remove.
5459 * cspi/spi.h: move SPI_freeString here
5461 * libspi/component.c (impl_accessibility_component_get_layer):
5463 (impl_accessibility_component_get_mdi_z_order): ditto,
5464 return -1 on error - is this ok ?
5466 * test/test-simple.c (test_application): impl.
5468 * cspi/spi_accessible.c (Accessible_getApplication),
5469 (Accessible_isApplication): impl.
5471 * libspi/registry.c (spi_listener_struct_free): release
5472 the CORBA reference too.
5474 * libspi/accessible.c
5475 (impl_accessibility_accessible_get_parent): fix ref leak.
5477 * libspi/registry.c (spi_registry_new): make the registry
5478 immortal - we don't want it to go away ever.
5480 * libspi/application.c
5481 (spi_accessible_application_finalize): impl. cleanup.
5483 * cspi/spi_registry.c
5484 (deregisterGlobalEventListenerAll),
5485 (deregisterGlobalEventListener),
5486 (deregisterAccessibleKeystrokeListener): fix ref leak.
5488 * cspi/spi_main.c (SPI_init): remove redundant ref.
5490 * test/test-simple.c (unutterable_horror): impl. to force a
5495 (impl_accessibility_registry_deregister_application): release
5496 the application when we de-register it.
5498 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5499 until we have the infastructure to get it right.
5501 2001-12-03 Michael Meeks <michael@ximian.com>
5503 * libspi/Makefile.am: only build eventlistener.[ch]
5505 * libspi/accessible.c
5506 (impl_accessibility_accessible_get_child_at_index): don't leak.
5508 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5509 before we hit the idle handler.
5511 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5512 debugging than exit.
5514 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5516 * libspi/listener.c (impl_notify_event): check source
5517 not NIL before unref.
5519 * libspi/registry.c (impl_registry_notify_event): ditto.
5521 * libspi/eventlistener.c
5522 (impl_accessible_event_notify_event): unref the source.
5524 * libspi/accessibleeventlistener.c
5525 (impl_accessible_event_notify_event): unref the source.
5527 * idl/Event.idl: remove 'hash_id' attribute - of no
5530 * libspi/application.c (notify_listeners): upd list
5532 (spi_application_object_event_listener),
5533 (spi_application_toolkit_event_listener): upd to do correct
5537 (_registry_notify_listeners): update.
5538 (parse_event_type): this method also leaks like a sieve.
5539 (impl_accessibility_registry_deregister_global_event_listener):
5540 fix ETYPE_WINDOW case.
5542 * libspi/application.c
5543 (impl_accessibility_application_register_object_event_listener):
5546 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5548 * libspi/hypertext.c (impl_getLink): ditto.
5550 * cspi/spi_main.c (cspi_object_add): remove
5551 bogus CORBA_Object_duplicate.
5553 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5556 * cspi/spi_accessible.c
5557 (Accessible_getRelationSet): fix leak / referencing issue.
5559 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5560 (cspi_object_add, cspi_object_unref): upd.
5561 (spi_object_release, get_live_refs): impl.
5562 (cspi_cleanup): simplify.
5564 * *.[ch]: s/boolean/SpiBoolean/
5566 * cspi/spi_accessible.c (role_names): actualy order so it
5567 corresponds with the enum !
5569 * test/test-simple.c (test_roles): check some role strings
5570 vs. enums to detect offset errors.
5572 2001-12-01 Michael Meeks <michael@ximian.com>
5574 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5576 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5578 (Accessible_getChildAtIndex): use cspi_add_check so we
5579 check the ev before using a (possibly) invalid value.
5581 * libspi/accessible.c
5582 (impl_accessibility_accessible_get_parent): don't segv
5585 * at-bridge/bridge.c (gtk_module_init): upd.
5586 (bridge_property_event_listener): don't leak strings
5588 (bridge_state_event_listener),
5589 (bridge_property_event_listener): don't use a static
5590 buffer in case of recursive event emission &
5591 re-enterancy - split out the swathe of cut and paste
5593 (emit_eventv): and fix 2 ref leaks here & comply to the
5595 (bridge_register_app): rename to
5596 (bridge_idle_init): this and kill arg parsing, split
5597 various inits & bonobo-activation registration to module
5598 init time, kill referencing error.
5599 (bridge_exit_func): fix the same leak.
5600 (bridge_focus_tracker): don't leak event structures
5602 (bridge_signal_listener): more leakage and cut & paste
5604 (bridge_key_listener): return the result - FIXME is
5605 this polarity correct ?
5606 (accessibility_keystroke_from_atk_key_event): rename
5607 (accessibility_init_keystroke_from_atk_key_event): and stop
5609 (gtk_module_init): return a value - not that it is checked by
5611 (bridge_key_listener): register my horror at casting between
5612 IDL defined structs.
5613 (bridge_get_registry): kill - not used.
5615 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5617 * test/test-simple.c (test_roles): impl.
5618 (test_desktop, validate_accessible, validate_tree): impl.
5620 * cspi/spi_accessible.c (role_names): fixup bogus
5621 MAX_ROLES setup, make constants const for efficient linkage
5622 (AccessibleRole_getName): conform to coding style, make
5625 2001-11-30 Michael Meeks <michael@ximian.com>
5627 * cspi/spi.h: add missing prototype.
5629 * libspi/registry.c (spi_listener_struct_new): fix sig.
5631 * test/Makefile.am: add test-simple
5633 * test/test-simple.c: add
5635 * test/test.sh: add.
5637 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5639 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5640 do it straight - since otherwise we often get an activation race.
5642 [ work before Bill duplicated a chunk of it ... ]
5643 2001-11-30 Michael Meeks <michael@ximian.com>
5645 * libspi/keystrokelistener.c
5646 (spi_keystroke_listener_class_init): fixup arg
5649 * libspi/eventlistener.c
5650 (spi_event_listener_class_init): ditto.
5652 * tests/test.sh: add.
5654 * cspi/spi-listener-impl.h: update macros.
5656 * cspi/spi-listener-impl.c
5657 (cspi_event_listener_remove_callback): add
5658 correct pre-conditions.
5660 * cspi/spi_main.c (SPI_exit): guard vs. double
5661 exits, exit the mainloop nicely.
5662 (SPI_event_main): make more sense.
5663 (SPI_init): move the atexit evilness here so we
5664 always do it (yuck).
5665 (SPI_event_main): upd.
5667 * test/simple-at.c: update for listener changes.
5669 * registryd/registryd.c (main): prune kruft.
5671 * libspi/libspi.h: upd.
5673 * libspi/eventlistener.[ch]: rename broken macros.
5675 * libspi/accessibleeventlistener.[ch]: remove.
5677 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5679 * test/test-simple.c: Add - automated tests.
5681 * cspi/spi-listener-impl.c (cspi_event),
5682 (cspi_key_event): add user_data to invoke.
5683 (cspi_keystroke_listener_finalize): impl.
5684 (cspi_keystroke_listener_class_init): upd.
5687 (createAccessibleEventListener),
5688 (AccessibleEventListener_addCallback),
5689 (createAccessibleKeystrokeListener),
5690 (AccessibleKeystrokeListener_addCallback): upd.
5692 * libspi/deviceeventcontroller.c
5693 (spi_device_event_controller_check_key_event): add public proto.
5696 (impl_accessibility_registry_deregister_global_event_listener):
5697 always init listeners.
5698 (_registry_notify_listeners): yes it is.
5700 * cspi/spi-listener-impl.c (cspi_key_event):
5702 (cspi_event_listener_finalize): impl.
5703 (cspi_event_listener_class_init): hook up.
5704 (event_handler_new, event_handler_free),
5705 (event_list_remove_by_callback): impl.
5706 (cspi_event_listener_remove_callback),
5707 (cspi_keystroke_listener_remove_callback),
5708 (cspi_keystroke_listener_add_callback),
5709 (cspi_event_listener_add_callback): upd.
5711 * libspi/keystrokelistener.c
5712 (keystroke_listener_object_finalize): kill
5713 (spi_keystroke_listener_class_init): upd.
5714 (spi_keystroke_listener_add_callback),
5715 (spi_keystroke_listener_remove_callback): kill,
5717 (impl_key_event): prune drasticaly.
5719 * libspi/eventlistener.c
5720 (spi_event_listener_add_callback),
5721 (spi_event_listener_remove_callback): kill, use
5723 (impl_accessible_event_notify_event): upd.
5724 (spi_event_listener_object_finalize): remove.
5726 * libspi/Makefile.am: use eventlistener.[ch]
5728 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5730 * libspi/registry.c (_registry_notify_listeners):
5731 Changed listener loop iteration to use preferred convention.
5732 Got rid of string memory leaks caused be calling g_strconcat
5733 inside function calls.
5735 * libspi/registry.c (parse_event_type):
5736 Stopped g_strconcat memory leaks, free the g_strsplit return,
5737 g_strdup the split pieces when used, etc.
5739 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5742 Change method 'compare' to return a 'difference set' rather than
5743 taking a StateSet as an out parameter (more Java-friendly).
5745 * idl/Accessible.idl:
5746 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5748 * idl/Component.idl:
5750 Changed methods 'getExtents' and 'getImageExtents' in these
5751 interfaces to return a BoundingBox structure.
5752 (getPosition and getSize are redundant and possibly should be
5753 removed, rather than creating a corresponding Point struct.)
5755 * cspi/spi_component.c:
5756 Modify implementation of getExtents to reflect the above IDL
5761 Add (missing) AccessibleImage_getExtents () API.
5763 * docs/reference/cspi/at-spi-cspi-sections.txt:
5764 Added AccessibleImage_getImageExtents () to docs.
5766 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5768 * idl/Component.idl:
5769 Added two methods, getLayer () and getMDIZOrder (), to reflect
5770 the new ATK methods atk_object_get_layer and
5771 atk_object_get_mdi_z_order. (Which arguably should be part of the
5772 AtkComponent API and AtkObject). Also added an enum,
5773 ComponentLayer, for the first method's return value.
5775 * libspi/component.c:
5776 Added implementations for these methods.
5778 * cspi/spi_component.c:
5780 Added cspi binding methods for above,
5781 AccessibleComponent_getLayer() and
5782 AccessibleComponent_getMDIZOrder().
5783 Added cspi enum 'AccessibleComponentLayer'.
5785 * docs/reference/cspi/at-spi-cspi-sections.txt:
5786 Added above methods to docs.
5790 Changed typedef for 'boolean' type (and all references to it) to
5791 SPIBoolean, to avoid keyword clashes with C++.
5794 Changed usages of 'boolean' to SPIBoolean.
5796 * test/keysynth-demo.c:
5797 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5798 app), except where SPIBoolean is required by the callbacks API.
5800 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5802 * cspi/spi_registry.c:
5803 Removed obsolete X event loop for passive keygrabs (which now
5806 * registryd/registryd.c:
5807 Removed unnecessary call to gdk_init() [cruft]. This also allows
5808 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5811 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5813 * docs/reference/cspi:
5814 Included docs for SPI_freeString in generated documentation.
5817 Renamed spi_freeString to SPI_freeString, for consistency. Added
5818 documentation for this function.
5821 Renamed spi_freeString to SPI_freeString, for consistency.
5822 Removed obsolete method declaration string_from_corba_string.
5824 * test/keysynth-demo.c:
5825 Small tweak to comments.
5828 Stopped leaking the strings returned from CSPI.
5830 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5832 Merged Michael's branch (see his ChangeLog entries below).
5834 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5835 bridge is alive, release on exit.
5837 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5838 Fix type check macro.
5841 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5844 Added is_gnome_app static, and method cspi_is_gnome_app(),
5845 so we can call the appropriate shutdown routine at exit in SPI_exit.
5847 * cspi/spi_main.c (cspi_object_ref):
5848 Duplicate the corba object passed in, since we're keeping it around.
5850 * cspi/SPI_exit.c, cspi_cleanup:
5851 Moved the releasing of the live refs to its own function, so we
5852 can put it in g_atexit (). Call the appropriate shutdown API
5853 depending on whethe calling client is a gnome app or not
5854 (bonobo_main_quit or CORBA_ORB_shutdown).
5856 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5857 Unref the listener when this method is called, after
5858 deregistration. Updated the API docs to note this behavior.
5860 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5861 Bugfixes: Ref the bonobo object when returning a parent or child
5862 reference, or an AccessibleRelation. Generally made sure
5863 BonoboObject refcount is incremented whenever we return an
5866 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5867 Fixed typo/bug in signal declaration.
5869 * libspi/accessibleeventlistener.h:
5872 * libspi/application.c (spi_application_new):
5873 Fixed leak in initialization.
5876 Remembered to increment bonobo-object refcount when returning
5877 children (applications) from desktop object.
5878 Added (empty) finalize method.
5880 * libspi/deviceeventcontroller.c:
5881 Hold a ref to listeners inside DEControllerKeyListeners.
5882 Added dec_key_listener_free() method. Use prepend instead of
5883 append in key_listener list. Fixed some refcount madness and
5884 leaks in the listener registration/deregistration - deregistration
5885 now calls dec_key_listener_free() on listeners, and on the
5886 temporarily constructed dec_key_listener() used to perform the search/match.
5888 * libspi/hypertext.c (spi_hypertest_finalize):
5889 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5890 class. Also fixed spi_hypertext_interface_new() and
5891 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5893 * libspi/hypertext.h:
5894 Removed pointless and duplicate AtkObject pointer from
5897 * libspi/keystrokelistener.c:
5898 Fixed incorrect type of keystroke_listener_parent_class,
5899 renamed keystroke_listener_object_finalize to
5900 spi_keystroke_listener_object_finalize.
5901 Fixed typo in signal declaration
5902 (spi_keystroke_listener_class_init).
5904 * libspi/registry.c:
5905 Added funcsions spi_listener_struct_new() and
5906 spi_listener_struct_free() to help with memory management issues.
5907 We also now use these methods instead of gnew + poking stuff into
5908 the struct, and to decrement listener counts/free the listeners
5909 when deregistering them.
5910 Fix more refcount bugs in getDesktop() and
5911 getDeviceEventController().
5914 De-ref the desktop after enumerating the applications. Explicitly
5915 decrement the refcounts on the created listeners on exit (using
5916 _unref for keystroke listeners, and via the
5917 deregisterGlobalEventListenerAll command for other event
5920 2001-11-27 Michael Meeks <michael@ximian.com>
5922 * cspi/spi-listener.h: fixup enum.
5924 2001-11-27 Michael Meeks <michael@ximian.com>
5926 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5927 (cspi_keystroke_listener_new): Use the cspi variants.
5929 2001-11-26 Michael Meeks <michael@ximian.com>
5931 * test/keysynth-demo.c: fix 2 compile warnings, missing
5934 * test/simple-at.c (report_focussed_accessible),
5935 (report_focus_event, report_button_press),
5936 (check_property_change, is_command_key),
5937 (report_ordinary_key_event, report_command_key_event): upd.
5939 * util/mag_client.h: include pre-requisites.
5941 * libspi/accessibleeventlistener.c
5942 (spi_event_listener_object_finalize): free any lingering
5945 * libspi/keystrokelistener.c
5946 (keystroke_listener_object_finalize): ditto.
5948 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5949 callbacks, with cspi types.
5951 * cspi/spi_event.c (createAccessibleEventListener): chain to
5952 (AccessibleEventListener_addCallback): here.
5953 (createAccessibleKeystrokeListener): chain to
5954 (AccessibleKeystrokeListener_addCallback): here.
5956 * libspi/keystrokelistener.c
5957 (spi_keystroke_listener_class_init): add signal.
5958 (impl_key_event): emit the event.
5959 (boolean_handled_accumulator): impl.
5960 (marshal_BOOLEAN__POINTER): add, gack.
5962 * libspi/accessibleeventlistener.c
5963 (spi_event_listener_class_init): add signal.
5964 (impl_accessible_event_notify_event): emit the signal &
5965 make the loop efficient.
5966 (spi_event_listener_add_callback): prepend the callback.
5968 * libspi/accessibleeventlistener.h: add an 'event' signal,
5969 decl type on callback.
5971 * libspi/keystrokelistener.h: ditto.
5973 * cspi/spi-listener.h: make methods typesafe and
5974 make them use the new event typedefs.
5976 * test/simple-at.c (report_focussed_accessible):
5977 include mag_client.h
5978 Use *(void *)text_interface not the other thing.
5980 * configure.in: add gtk to registryd bits - since we use
5983 * util/magnifier.c: include libbonobo.h
5985 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5987 * test/keysynth-demo.c:
5988 Turned this into a simple scanning keyboard, to demonstrate the
5989 use of g_timeout_add () as a means of creating timers for
5990 scanning, and the use of GtkStyle for visually indicating when
5991 virtual keyboard elements are selected.
5993 keysynth-demo now listens to any keyboard keys with zero-valued
5994 keycodes (i.e. 'unused' keys) and interprets them as
5997 Reworked the shiftlatch code so that shift-down state isn't held
5998 for long periods (it's only synthesized immediately prior to
5999 the keysynth event it's modifying). Note that shiftlatch in this
6000 demo is a convenience, not intended to take the place of AccessX
6001 which is the better choice for getting 'sticky' modifier keys.
6003 * libspi/deviceeventcontroller.c:
6004 * at-bridge/bridge.c:
6005 * cspi/spi_registry.c:
6006 Removed some debug print stuff, and put other verbosity in #ifdef
6011 Implemented some more of the magnifier IDL for the simple
6012 magnifier: namely, getZoomRegionParams.
6013 Added mag_x and mag_y members to MagnifierData struct, aid of this
6015 Added GtkWindow::realize signal handler to magnifier, to keep it
6016 from receiving keyboard focus from the WM.
6018 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6020 * cspi/spi-private.h: my guess at what michael forgot
6021 before he ran off to NZ :-)
6023 2001-11-23 Michael Meeks <michael@ximian.com>
6025 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6026 comment out non existant method invoke so we link.
6028 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6029 use bonobo_exception_get_text for more friendly warnings.
6031 * cspi/spi.c (Obj_Add): move into spi_main & rename
6032 spi_object_add; kill spi.c
6034 * cspi/spi_registry.c
6035 (deregisterGlobalEventListener),
6036 (deregisterGlobalEventListenerAll),
6037 (registerGlobalEventListener): fix exception leaks.
6039 * cspi/spi_main.c (spi_exception): impl. helper, so we
6040 don't leak exceptions.
6042 * cspi/spi_selection.c
6043 (AccessibleSelection_deselectSelectedChild): return the
6046 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6047 (spi_registry): ditto.
6048 (SPI_init): guard against double inits.
6050 * cspi/*.c: use spi_ev (), and spi_registry () where
6051 appropriate - a temporary hack until we have something
6052 better. Use spi_object_add
6054 2001-11-22 Michael Meeks <michael@ximian.com>
6056 * cspi/Makefile.am: re organise, install the headers.
6058 * cspi/*.h: add G_BEGIN/END_DECLS
6060 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6063 Added non-preemptive keylistener for key events with no modifiers
6064 and shift-only modifier.
6066 * libspi/keystrokelistener.c:
6067 Removed some verbose diagnostics printout.
6069 * cspi/spi_registry.c:
6070 Fixed a bug that caused all key listeners to be registered as
6073 * libspi/deviceeventcontroller.c:
6074 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6075 for non-preemptive key masks.
6078 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6080 * docs/reference/idl/at-spi-idl-docs.sgml:
6081 * docs/reference/idl/at-spi-idl-sections.txt:
6082 * docs/reference/idl/at-spi-idl-overrides.txt:
6083 Added missing files.
6085 * docs/reference/Makefile.am:
6086 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6087 to scan the IDL files :-(
6092 Added .cvsignore files.
6094 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6096 * libspi/deviceeventcontroller.c:
6097 * libspi/keystrokelistener.c:
6099 * cspi/spi_registry.c:
6100 Added filters for KeySets, KeyEventSeq, and event types to key
6101 event dispatching, so listeners should only receive those events
6102 that they requested :-)
6104 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6109 * docs/reference:Makefile.am:
6110 * docs/reference/cspi:
6111 * docs/reference/cspi:Makefile.am:
6112 * docs/reference/cspi:tmpl:
6113 * docs/reference/cspi:tmpl:*.sgml:
6114 * docs/reference/idl:
6115 * docs/reference/idl:Makefile.am:
6116 * docs/reference/idl:at-spi-idl-sections.txt:
6117 * docs/reference/idl:at-spi-idl-docs.sgml:
6118 * docs/reference/idl:tmpl:
6119 * docs/reference/idl:tmpl:*.sgml:
6121 Restructured docs directory to allow separate 'reference' docs
6122 section, and forked idl and cspi docs. Added the sgml template
6123 files to CVS. Added the first sections/structural sgml for the
6126 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6128 * configure.in, libspi/Makefile.am: find libXtst.
6130 2001-11-21 Michael Meeks <michael@ximian.com>
6132 * test/accessx-gui.c: s/spi_value/value/ - doh.
6134 * libspi/base.[ch]: add.
6136 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6138 * idl/Accessible.idl:
6139 * idl/Application.idl:
6142 Started gtk-doc cleanup on IDL.
6144 * libspi/deviceeventcontroller.c:
6145 Added and connected non-preemptive key notification from the
6146 toolkits (in addition to the pre-emptive support from XServer
6147 which we had before, but which causes 'focus flashing'). Filters
6148 are presently limited to key modifiers and global/non-global,
6149 KeySets are presently ignored, as are KeyEvent masks.
6151 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6152 structs into the persistant structure rather than just storing
6153 pointers to things that might not persist across servant
6156 The XGrabKey call now does async keygrabs, because synchronous
6157 ones were deadlocking with GDK_event code in a very nasty way.
6159 Added boolean to internal method notify_keylisteners, to indicate
6160 whether the event came from the 'toolkit source' or the 'global
6161 (XServer) source' - this is used in the notification process to
6162 determine which listeners to send the event to.
6164 deviceeventcontroller.c is now warning-free.
6166 * libspi/registry.c:
6167 Fixed regression in application de-registration.
6168 Also fixed some really brain-dead weirdness having to do with
6169 event dispatching - event structs are now duplicated before being
6170 re-marshalled in the dispatch to listeners. This also fixes a
6171 Solaris build problem.
6174 2001-11-20 Michael Meeks <michael@ximian.com>
6177 (impl_accessibility_registry_deregister_global_event_listener):
6180 * libspi/deviceeventcontroller.c
6181 (spi_device_event_controller_check_key_event): return
6182 FALSE on no virtual method.
6184 * libspi/*..h: make includes work on a correctly pathed install.
6186 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6188 * libspi/application.h: kill unused ( and whacked out )
6189 gboolean *spi_application_set_id (AtkObject *app, long id);
6191 2001-11-20 Michael Meeks <michael@ximian.com>
6193 * libspi/*.[ch]: further convert to bonobo's type func
6194 macros, remove redundnant casts etc.
6196 * libspi/text.c s/accessibility_text/spi_text/g,
6197 re-order to de-cruft.
6199 * libspi/hypertext.c: re-order to kill a huge slew
6200 of redundant forward decls.
6202 * libspi/relation.c: ditto.
6204 * libspi/image.c: ditto.
6206 * */.cvsignore: update
6208 2001-11-20 Michael Meeks <michael@ximian.com>
6210 * libspi/deviceeventcontroller.c
6211 (_controller_register_with_devices): use g_getenv,
6212 kill stdlib.h include.
6214 * libspi/keystrokelistener.c
6215 (spi_keystroke_listener_get_type): kill
6216 (spi_keystroke_listener_class_init),
6217 (spi_keystroke_listener_init): rename to this.
6219 * libspi/text.c (impl_getAttributes): fix warning / bug.
6221 * libspi/*.[ch]: more headers, includes and over commenting.
6223 2001-11-20 Michael Meeks <michael@ximian.com>
6225 * libspi/*.[ch]: fixup headers, includes and over commenting.
6227 * libspi/image.c (impl__get_imageDescription): const
6228 correctness warning fix. remove redundant casting.
6230 * libspi/table.c (impl_getRowDescription): ditto.
6231 (impl_getColumnDescription): ditto.
6233 * libspi/libspi.h: add.
6235 2001-11-19 Michael Meeks <michael@ximian.com>
6237 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6239 * libspi/component.c (accessibility_component_get_type):
6240 rename to (spi_component_get_type): and macroify.
6241 (accessibility_component_init): rename to
6242 (spi_component_init): this
6243 (accessibility_component_class_init): rename to
6244 (spi_component_class_init): this
6246 * libspi/action.c (spi_action_get_type): kill, use the macro.
6248 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6251 * libspi/application.c (spi_application_object_event_listener),
6252 (impl_accessibility_application_register_object_event_listener):
6253 warning fixes / const understanding updates.
6255 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6258 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6260 * libspi/spi_accessible.c: Added docs and C bindings for
6261 AccessibleStateSet. (No implementations yet). Documentation
6262 coverage for C bindings now 100%. Made docs for event listeners
6267 boolean notifyListenersSync (in DeviceEventListener listener,
6268 in DeviceEvent event);
6270 oneway void notifyListenersAsync (in DeviceEventListener listener,
6271 in DeviceEvent event);
6273 Added DeviceEventListener and DeviceEvent structs (may deprecate
6274 KeyStroke and KeystrokeListener in favor of this generic
6275 event/listener framework for devices).
6277 * libspi/deviceeventcontroller.c:
6279 Changed some key listener code to take masks, etc., and paved the
6280 way for integration of toolkit/non-preemptive key events. Changed
6281 signatures of some internal methods.
6283 * at-bridge/bridge.c:
6284 Fixed regression connecting to interface signals, apparently
6285 caused by GTK+ changes.
6287 Added an internal bridge_state_listener to deal with
6288 property-change:accessible-state signals.
6290 Changed the key_listeners GList to store structs (including masks,
6291 etc.) instead of just CORBA_Objects (required for full
6292 implementation of key listener API).
6294 Connected the bridge to all currently supported Atk signals.
6295 Events now supported:
6296 object:property-change
6297 object:property-change:accessible-name
6298 object:property-change:accessible-state
6299 object:property-change:accessible-description
6300 object:property-change:accessible-parent
6301 object:property-change:accessible-value
6302 object:property-change:accessible-role
6303 object:property-change:accessible-table-caption
6304 object:property-change:accessible-table-column-description
6305 object:property-change:accessible-table-column-header
6306 object:property-change:accessible-table-row-description
6307 object:property-change:accessible-table-row-header
6308 object:property-change:accessible-table-summary
6309 object:children-changed
6310 object:visible-data-changed
6311 object:selection-changed
6312 object:text-selection-changed
6314 object:text-caret-moved
6316 object:row-reordered
6318 object:column-inserted
6319 object:column-reordered
6320 object:column-deleted
6321 object:model-changed
6323 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6325 * libspi/hyperlink.c,h:
6326 Fixed some broken stuff in hyperlink.
6328 * libspi/relation.h:
6329 * libspi/relation.c:
6330 * cspi/spi_accessible.c:
6331 Initial implementations of AccessibleRelation methods, and docs.
6333 * libspi/accessible.c:
6334 Fixed a bug that caused SEGV if an accessible
6335 object's description is NULL, and a client
6336 requests it. An empty string is now returned.
6338 * cspi/spi_editabletext.c:
6339 * cspi/spi_hypertext.c:
6341 * cspi/spi_hyperlink.c:
6345 Doc coverage now 95%.
6347 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6349 One last namespacing revision:
6350 * libspi/accessibleeventlistener.[ch]:
6351 Renamed SpiAccessibleEventListener to SpiEventListener,
6352 (no need for two namespaces ;-)
6354 And lots of documentation fixes:
6356 * docs/at-spi-docs.sgml:
6357 Fixed 'underscore vs. hyphen' bug that was preventing
6358 the gtk-doc API docs from being automatically generated.
6361 * cspi/spi-listener.h
6363 * cspi/spi_accessible.c
6365 * cspi/spi_application.c
6366 * cspi/spi_component.c
6367 * cspi/spi_editabletext.c
6369 * cspi/spi_hypertext.c
6371 * cspi/spi_registry.c
6372 * cspi/spi_selection.c
6376 * docs/at-spi-docs.sgml
6377 * docs/at-spi-sections.txt
6379 Added and fixed up gtk-doc documentation in cspi.
6381 Interfaces now (fully) documented (subject to revision and enhancement):
6383 Event Listener Support
6385 AccessibleApplication
6389 AccessibleEditableText
6396 AccessibleRelationSet
6401 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6403 * at-bridge/bridge.c:
6404 Initial work for toolkit-level key snooper connection by bridge.
6409 New typedefs and fixes to support new namespacing, and cleaner
6410 separation of cspi bindings from libspi bonobo implementation.
6411 Removed inconsistent and extraneous Spi* namespace prefix that
6412 had crept into cspi headers.
6413 Lots of comment fixes that sed had missed.
6415 * cspi/spi-roletypes.h:
6416 * cspi/spi-statetypes.h:
6417 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6418 to AccessibleRoleType.
6420 * libspi/accessibleeventlistener.h:
6421 Fixed minor namespacing weirdness.
6423 * libspi/deviceeventcontroller.c:
6424 Reordered some internal API for device listeners.
6425 Changed the key registry final boolean to 'is_system_global'
6426 rather than 'is_synchronous', which is more descriptive of its
6428 Added spi_device_event_controller_new().
6429 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6431 * libspi/keystrokelistener.[ch]:
6432 Namespaced KeystrokeListener to SpiKeystrokeListener.
6433 Changed uses of keymasks to use SPI_ prefix, and did other
6436 * libspi/keymasks.h:
6437 Namespaced keymask constants with SPI_ prefix.
6439 * libspi/registry.c:
6440 Some warning fixes, and knock-on fixes from namespace changes.
6443 Added rules for accessx-gui test program.
6445 * test/accessx-gui.c:
6446 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6447 utility. It doesn't actually use at-spi, but it's still cool and
6450 * test/keysynth-demo.c:
6454 Fixes so that these test clients work properly with the namespaced
6455 libraries. (Incompletely tested for technical reasons, fixes may follow)
6458 2001-11-13 Michael Meeks <michael@ximian.com>
6460 * libspi/application.c
6461 (impl_accessibility_application_get_version),
6462 (impl_accessibility_application_get_toolkit_name):
6464 (impl_accessibility_application_set_id),
6465 (impl_accessibility_application_get_id): remove
6466 redundant casting code.
6468 * libspi/action.c (impl_getDescription): fix warnings.
6470 * libspi/accessible.c
6471 (impl_accessibility_accessible_get_parent),
6472 (impl_accessibility_accessible_get_child_at_index),
6473 (impl_accessibility_accessible_get_state),
6474 (impl_accessibility_accessible_get_relation_set):
6475 warning fixes & include action.h
6477 2001-11-13 Michael Meeks <michael@ximian.com>
6479 * *.[ch] fix bits I screwed up:
6481 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6482 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6484 2001-11-13 Michael Meeks <michael@ximian.com>
6486 * *.[ch] Namespace libspi into spi_ and Spi.
6488 2001-13-11 Michael Meeks <michael@ximian.com>
6490 * Makefile.am: dist & install at-spi-1.0.pc
6492 * libspi/Makefile.am: install into at-spi-1.0
6494 * idl/Makefile.am (idldir): install into at-spi-1.0
6496 * at-spi-1.0.pc.in: add.
6498 * configure.in: build it.
6500 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6502 * test/keysynth-demo.c:
6503 Use a 'realize' signal-handler to set the WM properties for
6504 the virtual keyboard, rather than making it a "POPUP" type
6505 override-redirect window (thanks to anders carlsson for that
6508 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6511 * test/keysynth-demo.c:
6512 Added new test of key synthesis, which creates a simple
6513 (mouse-operated) onscreen keyboard. It inserts key events into
6514 the currently-focused window, thus it does not grab keyboard focus
6517 * cspi/spi_registry.c:
6518 Added C binding for AT-SPI generateKeyEvent.
6520 * libspi/deviceeventcontroller.c:
6521 Added call to XFilterEvent so that key listener works with XIM (we
6522 hope). Added event_synth_type to generateKeyEvent, so that we can
6523 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6524 synthesize a press/release pair for KeySyms.
6526 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6528 * libspi/Makefile.am:
6529 * registryd/Makefile.am:
6530 (temporary) hack to include libXtst in libspi and registryd.
6531 (Needed for keystroke synthesis, see below).
6534 Improved API for registerKeystrokeListener, in accordance with
6535 discussions with Gnopernicus team and X server research.
6537 * libspi/registry.c:
6538 * libspi/deviceeventcontroller.c:
6539 * libspi/accessible.c:
6540 * libspi/keystrokelistener.c:
6541 Changes and fixes to support keylisteners for potentially
6542 consumed key events (that is, 'passive grabs').
6543 Added implementation for generateKeyEvent() [untested].
6546 Changes to registerKeystrokeListener() API, as above.
6547 Added deregisterGlobalEventListenerAll(), and
6548 deregisterKeystrokeListener(), which are needed for clean exit of
6550 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6551 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6553 * cspi/spi_registry.c:
6554 Added implementations of function prototypes mentioned above.
6556 * registryd/registryd.c:
6557 Added the key listener event source as a g_timeout(), to allow
6558 receipt of key events that are not caught by GDK (since GDK
6559 doesn't support passive keygrabs, this was necessary).
6562 Changed to attach a keylistener to 'Alt' keys, and
6563 respond to the following keycommands: Alt-M (toggle magnifier);
6564 Alt-F (toggle speech); Alt-Q (quit).
6565 Added an exit routine to deregister the listeners, and a key
6566 listener that prints some key info to the console when a key
6567 matches the listener mask (and is thus received by the listener).
6569 * util/idl/Magnifier.idl:
6570 Changes to magnifier API to support multiple zoom regions,
6571 non-uniform scaling in x and y, markDirty, and a host of other
6572 features that would be useful to magnification.
6575 * util/mag_client.c:
6576 * util/mag_client.h:
6577 * util/mag_control.c:
6579 Source code changes to support the above IDL changes.
6582 As above, and also changes to use a (slower) generic conversion
6583 path for colormap conversions, since the fast RGB conversions have been
6584 reported to fail for 16-bit displays.
6586 2001-10-26 Michael Meeks <michael@ximian.com>
6588 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6590 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6592 * at-bridge/Makefile.am: fix LDFLAGS.
6594 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6596 * at-bridge/bridge.c:
6597 Re-worked listeners for toolkit events, now we have signal
6598 and property listeners. Added a private method
6599 register_atk_event_listeners(), which registers with the
6600 various atk and gtk signals we need to monitor in order to emit
6602 Added emission hook for AtkObject:property-change events, to
6603 support the 'property listeners'.
6604 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6607 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6608 which emit warnings and exit, respectively, if CORBA errors occur
6609 during remote calls, and we now use these methods to check most of
6610 our CORBA calls in the C bindings.
6612 * cspi/spi_accessible.c:
6613 Changed AccessibleSelection_refSelectedChild() to
6614 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6615 now increment refcounts.
6617 * cspi/spi_component.c:
6618 Fixed some long pointer casts (dangerous!) to pass pointers to
6619 CORBA_longs of the proper type to the CORBA stubs, and copy the
6620 data into the longs that were passed into the C bindings code.
6622 * at-bridge/bridge.c:
6624 * libspi/accessible.c:
6625 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6626 hyperlinks, AtkHyperlink is an object type.
6628 * libspi/application.c:
6629 Added various conversions to and from "generic" event types and
6630 atk-specific types; this is really part of the 'bridge'
6631 implementation but is valid for all AtkObject-based accessibility
6634 * libspi/editabletext.c:
6635 Fixed nasty bug wherein editable text's finalize method was
6636 unref'ing tha AtkObject reference that the text parent class was
6637 about to unref _again_. There was also a nasty inheritance bug
6638 that meant that the AccessibleEditableText class was corrupt.
6640 * libspi/selection.c:
6641 Provided implementations for some selection API that was broken.
6643 * idl/Application.idl:
6644 Added registerObjectEventListener () method.
6647 Fixed a number of return values that were Bonobo_Unknowns from
6648 bonobo_object_corba_objref(), which I
6649 forgot to dup before returning. Changed instances of
6650 bonobo_object_corba_objref (bonobo_object(o)) to
6651 BONOBO_OBJREF(o), for concision and clarity.
6653 2001-10-13 Louise Miller <louise.miller@sun.com>
6655 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6656 idl/Event.idl, idl/Registry.idl
6657 Changed these files to include Bonobo_Unknown.idl instead
6660 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6662 * libspi/component.c libspi/component.h:
6663 Fixed typo. Added assertions for object checks in
6664 AccessibleComponent code.
6666 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6668 * idl/Accessible.idl:
6669 Added 'isEqual (Accessible *object)'
6670 method for Accessible. (Not Yet Implemented).
6673 Changed signature of registerKeystrokeListener() to
6674 take a KeySet and KeyEventSeq so that specific keys and event
6675 types could be requested for monitoring, and added a flag
6676 is_synchronous so that either synchronous or asynchronous
6677 notification could be requested. (However this is not all
6678 implemented yet). This also meant adding two new typedefs,
6679 KeyEventSeq and KeySet.
6682 Added two new relations, RELATION_TOOLTIP_FOR and
6683 RELATION_LEAFNODE_OF.
6686 Added new state, STATE_HAS_TOOLTIP.
6688 * libspi/text.c, editabletext.c:
6689 Added new assertions to all casts of bonobo-objects from
6690 CORBA servants, to prevent Text API calls on non-text objects.
6691 Changed suspect casts of int-pointer types, so that we
6692 always send a valid CORBA_long pointer to the CORBA APIs that use
6693 in/out long parameters. We then have to copy from the CORBA_long
6694 into the regular long or int for return to the C bindings, or
6695 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6698 * libspi/deviceeventcontroller.c:
6699 Cleaned these sources up.
6701 Changed return type for getCharacterAtOffset to
6702 CORBA_unsigned_long, to allow for 32-bit characters.
6705 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6709 Fixed 'make dist' so that distro compiles...
6710 * libspi/keymasks.h:
6712 * cspi/spi-listener.c:
6713 KeystrokeListenerCB now returns a boolean.
6715 Added KeyEventType struct, and KeyStroke.
6716 Also added createKeystrokeListener(),
6717 KeystrokeListener_addCallback(),
6718 KeystrokeListener_removeCallback(), and added a keymask to
6719 registerKeystrokeListener().
6720 * cspi/spi_accessible.c:
6721 Changed numerous return types for interfaces from
6722 AccessibleComponent to Accessible<InterfaceName>; this was
6723 probably a cut-and-paste error.
6725 Implementations of new KeystrokeListener api (from spi.h,
6728 Changes to key modifier mapping.
6729 Created ControllerEventMask struct.
6730 Made DeviceEventController derive from Bonobo::Unknown.
6732 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6733 * libspi/deviceeventcontroller.c:
6734 Added a number of new internal (private) methods.
6735 * libspi/editabletext.c:
6736 * libspi/editabletext.h:
6737 Fixed a number of bugs related to the fact that
6738 editabletext inherits from text. Fixed the EditableText struct,
6739 the init() call, and use correct casts when calling Text methods
6740 from an EditableText object. Removed (duplicate) atko from the
6741 EditableText structure, we use the one in the parent Text
6742 structure via the casts mentioned above.
6743 * libspi/keystrokelistener.[ch]:
6744 * libspi/registry.c:
6745 Changes in support of keyboard handling (above).
6747 Keyboard handling, though partly functional, is still not
6748 recommended for at-spi client use as there is considerable
6749 work yet to be done.
6752 Changed some places where pointers to various int types
6753 are cast to be pointers to CORBA_long types and vice-versa:
6754 pointer casting is not safe so we pass pointers of the correct
6755 types and then cast the result before putting it into the target
6758 * libspi/text.h: minor typos corrected.
6760 We now speak not only the name of a Text element, but the
6761 first sentence of its content, when it receives focus.
6762 I also changed the text compression to 75% from 50%.
6763 * util/Accessibility_Util.server.in:
6764 Changed the default magnifier type to be a 3x vertical
6765 splitscreen magnifier (was previously a 2x horizontal one).
6767 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6769 * libspi/keystrokelistener.h:
6770 * libspi/keystrokelistener.c:
6771 Initial functional implementations of KeystrokeListener.
6774 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6776 Fixed string handling for NULL strings in libspi.
6777 Added spi_freeString to free strings returned by C bindings.
6779 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6781 * libspi/keystrokelistener.h:
6782 * libspi/keystrokelistener.c:
6783 Began (no-op) implementations of KeystrokeListener
6785 * libspi/deviceeventcontroller.c:
6786 * libspi/deviceeventcontroller.h:
6787 Began creating implementations of DeviceEventController,
6788 to handle keystroke and mouse event listening and
6790 * libspi/accessible.c:
6791 Stubbed-in the implementations for
6792 Accessibility_Accessible_getState and
6793 Accessibility_Accessible_getRelationSet.
6794 * libspi/registry.c:
6795 Improved de-registration process and fixed some bugs,
6796 deregistration now works correctly.
6798 Added initialization of applications list (to NULL).
6800 Reduced speech compression from 0.5 to 0.7, for demo.
6801 Changed call to gdk_window_set_decorations()
6802 to gtk_window_set_decorated().
6803 * at-bridge/bridge.c:
6804 Bridge now deregisters when app exits, via
6805 registration of a cleanup function
6806 with the g_atexit() call.
6807 Required making 'app' static, renamed 'this_app'.
6808 Fixed broken use of bonobo_init, passing argv wrongly.
6810 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6814 Created a new directory for
6815 accessibility-related utilities, primarily for
6816 testing and demo purposes, but with possible
6823 Onscreen magnifier utility that
6824 is implemented as a bonobo service.
6826 * util/mag_client.c:
6827 * util/mag_client.h:
6828 Client-side support (simple C bindings)
6829 for Magnification service
6831 * util/mag_control.c:
6832 Client program example for
6833 Magnification service
6835 * util/Accessibility_Magnifier.server.in:
6836 Bonobo-activation file for the
6837 Magnification service.
6840 * util/idl/Magnifier.idl:
6841 IDL defining the bonobo Magnification
6845 Modifications to use the bonobo-activated magnifier
6846 above, in place of trying to connect to an existing
6847 magnifier that uses socket-listening IPC.
6849 If env variable MAGNIFIER is set, a magnifier service
6850 will be started if one does not exist.
6852 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6854 * at-bridge/bridge.c:
6855 applied patch from Marc to build and run
6856 against new glib and gtk+ (seemed like a change
6857 to bonobo_init signature was made ?)
6859 made festival-server support turned off by default.
6860 Added support for a simple magnifier (off by default)
6861 which will be added to a 'util' directory later.
6862 * at-bridge/Makefile.am:
6863 Changed "application.h" header from a 'source'
6864 to a 'dependency' of libat-bridge.
6866 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6875 Added interface implementation c files to list of
6876 includes so they are included in libcspi.
6879 Changed prototype of AccessibleAction_doAction to return a
6881 Changed prototype of AccessibleTable_getCaption to
6882 return an Accessible.
6883 Changed prototype of AccessibleTable_getSelectedRows
6884 and AccessibleTable_getSelectedColumns to
6885 return a long (returns the number of selected rows
6886 or columns respectively).
6887 Changed name of AccessibleText_refRunAttributes to
6888 AccessibleText_getAttributes.
6889 Changed prototype of AccessibleText_getCharacterExtents to
6890 return a void rather than a boolean.
6891 Added support for a AccessibleCoordType parameter
6892 specifying what type of coordinates are desired.
6893 Added an AccessibleCordType parameter to
6894 AccessibleText_getPointAtOffset.
6896 * cspi/spi_accessible.c:
6897 Added code to return the outstanding interfaces from
6898 Accessible_queryInterface.
6900 * cspi/spi_action.c:
6902 Corrected call to getNActions to call the c binding
6905 * cspi/spi_editabletext.c:
6907 Changed name from setRunAttributes to setAttributes.
6909 * cspi/spi_hyperlink.c:
6911 Changed call to getNAnchors to correctly call the c
6912 binding for an attribute.
6914 * cspi/spi_hypertext.c:
6916 Changed getImageDescription to correctly call the
6917 binding for an attribute.
6919 * cspi/spi_selection.c:
6920 Changed getNSelectedChildren to correctly call the c
6921 binding for the attribute.
6922 Changed refSelectedChild to getSelectedChild.
6926 Changed getCaption to return an Accessible.
6927 Fixed calls which retrieve attributes.
6928 Changed refAt to getAccessibleAt.
6929 Changed getNSelectedRows and getNSelectedColumns to
6933 Changed getCharacterExtents and getPointAtOffset to accept an
6934 AccessibleCoordType.
6936 Changed calls which retrieve attributes.
6937 Changed refRunAttributes to getAttributes.
6942 * idl/Hyperlink.idl:
6943 Changed n_anchors attribute to nAnchors to keep naming
6944 convention consistent.
6947 Made Table inherit from Bonobo::Unknown.
6948 Added nSelectedColumns and nSelectedRows attributes.
6951 Made Value inherit from Bonobo::Unknown.
6953 * libspi/hyperlink.c:
6954 Change for nAnchors attributte name change.
6956 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6964 Added interface implementation c files to list of
6965 includes so they are included in libcspi.
6968 Changed prototype of AccessibleAction_doAction to return a
6970 Changed prototype of AccessibleTable_getCaption to
6971 return an Accessible.
6972 Changed prototype of AccessibleTable_getSelectedRows
6973 and AccessibleTable_getSelectedColumns to
6974 return a long (returns the number of selected rows
6975 or columns respectively).
6976 Changed name of AccessibleText_refRunAttributes to
6977 AccessibleText_getAttributes.
6978 Changed prototype of AccessibleText_getCharacterExtents to
6979 return a void rather than a boolean.
6980 Added support for a AccessibleCoordType parameter
6981 specifying what type of coordinates are desired.
6982 Added an AccessibleCordType parameter to
6983 AccessibleText_getPointAtOffset.
6985 * cspi/spi_accessible.c:
6986 Added code to return the outstanding interfaces from
6987 Accessible_queryInterface.
6989 * cspi/spi_action.c:
6991 Corrected call to getNActions to call the c binding
6994 * cspi/spi_editabletext.c:
6996 Changed name from setRunAttributes to setAttributes.
6998 * cspi/spi_hyperlink.c:
7000 Changed call to getNAnchors to correctly call the c
7001 binding for an attribute.
7003 * cspi/spi_hypertext.c:
7005 Changed getImageDescription to correctly call the
7006 binding for an attribute.
7008 * cspi/spi_selection.c:
7009 Changed getNSelectedChildren to correctly call the c
7010 binding for the attribute.
7011 Changed refSelectedChild to getSelectedChild.
7015 Changed getCaption to return an Accessible.
7016 Fixed calls which retrieve attributes.
7017 Changed refAt to getAccessibleAt.
7018 Changed getNSelectedRows and getNSelectedColumns to
7022 Changed getCharacterExtents and getPointAtOffset to accept an
7023 AccessibleCoordType.
7025 Changed calls which retrieve attributes.
7026 Changed refRunAttributes to getAttributes.
7031 * idl/Hyperlink.idl:
7032 Changed n_anchors attribute to nAnchors to keep naming
7033 convention consistent.
7036 Made Table inherit from Bonobo::Unknown.
7037 Added nSelectedColumns and nSelectedRows attributes.
7040 Made Value inherit from Bonobo::Unknown.
7042 * libspi/hyperlink.c:
7043 Change for nAnchors attributte name change.
7046 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7048 implementations-- made server implementations own AtkObject pointers
7049 rather than their respective AtkInterrface pointers to fix
7050 refcounting. AtkHyperlink is still broken.
7052 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7053 * cspi/spi_accessible.c:
7054 Added method Accessible_Role_getName(),
7055 and requisite string array (role_names).
7056 Added conversion string_from_corba_strin() call
7057 to Accessible_getName and _getDescription.
7058 * libspi/accessible.c:
7059 Added implementation for Accessible_getRole()
7061 Added festival support, used if environment variable
7064 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7066 * at-bridge/bridge.c:
7067 Now allocate Accessibility_Event using
7068 Accessibility_Event__alloc() instead of g_new0().
7069 * libspi/accessibleeventlistener.c:
7070 Initialize AccessibleEventListener->callbacks to NULL.
7071 Fixed accessible__event_listener_init() param, changed to
7072 "AccessibleEventListener *" type.
7073 Changed a bonobo_object_release_unref() call to
7074 Accessibility_Accessible_unref().
7075 * libspi/listener.c:
7076 Changed Bonobo_Unknown_unref to (equivalent)
7077 Accessibility_Accessible_unref.
7078 * libspi/registry.c:
7079 Changed bonobo_object_release_unref to
7080 Accessibility_Accessible_unref.
7082 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7085 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7086 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7087 spi-util.c spi-util.h
7088 Implementations for C bindings to remaining accessibility
7091 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7094 changed return value of Action from void to boolean to
7095 bring in line with ATK.
7098 Changed getText funcions to return "out" start and end offsets.
7099 Changed getAttributes to take and offset and return the start
7100 and end offset of the attribute run.
7101 Changed getOffsetAtPoint and getCharacterExtents to take an
7102 enum describing whether coordinates are window or screen.
7105 libspi/action.c libspi/action.h libspi/editabletext.c
7106 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7107 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7108 libspi/image.h libspi/selection.c libspi/selection.h
7109 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7110 libspi/value.c libspi/value.h
7111 Added server implementations for outstanding ATK interfaces
7112 not yet implemented.
7114 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7117 Added (missing) getName() method.
7118 Made nActions an attribute.
7119 * idl/EditableText.idl:
7120 Changed order of params in setAttributes.
7121 * idl/Hyperlink.idl:
7122 Removed getAnchor, added getURI.
7124 Changed attributes to methods, for efficiency
7125 (so that getting extents can be done in one call)
7126 * idl/Selection.idl:
7127 Changed nSelectedChildren to attribute, and re-indented.
7128 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7130 * idl/Text.idl: reformatted to match our coding style.
7131 (temporarily?) removed getRowColumnAtOffset().
7132 Changed text selection API to support multi-select and
7133 non-contiguous selections, as in ATK.
7134 * idl/Value.idl: changed some methods to attributes.
7136 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7138 * libspi/listener.c(impl_notify_event):
7139 BonoboUnkown_unref the source instead
7140 of bonobo_object_release_unref - the ORB
7141 handles the releasing.
7143 * configure.in: require ORBit-2.3.94 for
7146 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7148 Tagged CVS repository 'EA_1_0'.
7149 * README.EARLY_ACCESS:
7150 Alphabetized acknowledgements list, and
7152 Listed some known dependencies of at-spi.
7154 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7156 * docs/at-spi-docs.sgml:
7157 * docs/at-spi-sections.txt:
7158 * docs/at-spi-overrides.txt: (Added zero-length file)
7159 Documentation improvements - gtk-doc should build
7160 docs for all implemented C bindings now.
7163 * cspi/spi.c: (New file)
7164 * cspi/spi_event.c: (New file)
7165 * cspi/spi_registry.c: (New file)
7166 * cspi/spi_accessible.c: (New file)
7167 * cspi/spi_application.c: (New file)
7168 * cspi/spi_component.c: (New file)
7169 Split spi_main.c into six parts, and included them from
7170 "spi.c". This is a bit of a hack, probably temporary,
7171 but required by gtk-doc, apparently.
7173 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7176 * docs/at-spi-docs.sgml:
7177 * docs/at-spi-sections.txt:
7179 Initial checkins/modifications for gtk-doc generation.
7182 Added (missing) interface query methods to Accessible's C binding.
7184 Added GenericInterface type definition.
7186 Added query for AccessibleComponent interface to focus event handler.
7187 Added printout of bounding box for focussed component.
7188 * libspi/component.c:
7189 Added partial implementation for AccessibleComponent to C binding.
7190 * idl/Application.idl:
7191 * libspi/registry.c:
7192 * libspi/listener.c:
7193 * libspi/application.c:
7194 * libspi/application.h:
7195 Changed "ID" attribute type from string to long.
7197 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7201 Made method naming consistent: methods taking object args
7202 start with uppercase, other methods (except those using
7203 acronyms) start with lowercase. Underscores delimit between
7204 object names and method names:
7205 SPI_init() - uppercase since it starts with an acronym.
7206 getDesktopCount () - lowercase start since no object param0.
7207 Accessible_getName() - uppercase object type name, studlyCaps method
7211 Added gtk-doc documentation for all currently implemented
7212 methods in the C bindings API.
7214 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7216 * Makefile.am : changed build order to build test last.
7219 Changed "createEventListener" to "CreateEventListener".
7220 * libspi/accessibleeventlistener.c :
7221 Bugfix for addition of callbacks.
7222 * test/Makefile.am :
7223 * test/simple-at.c :
7224 Added new test that uses the C bindings API.
7226 * libspi/listener.c :
7227 * libspi/registry.c :
7228 * libspi/accessibleeventlistener.c :
7229 * at-bridge/bridge.c :
7230 Renamed member "target" of Accessibility_Event to "source",
7231 which is more descriptive.
7234 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7238 * cspi/Makefile.am :
7239 Added makefile support for at-spi/cspi directory.
7242 * cspi/spi-listener.h : (NEW FILE)
7243 Added support for/use of spi-listener.h.
7245 C bindings now build successfully, with no warnings.
7246 * libspi/accessibleeventlistener.h : (NEW FILE)
7247 * libspi/accessibleeventlistener.c : (NEW FILE)
7248 * libspi/Makefile.am :
7249 Added new object type "AccessibleEventListener"
7250 which inherits from Listener, and allows attachment
7251 of in-process callbacks (so that a client with a listening
7252 object instance can add functionality to the local
7253 implementation, dynamically).
7255 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7257 * libspi/accessible.c:
7258 Add implementation for get_index_in_parent().
7260 Added #include of "spi-roletypes.h", and
7261 added enumerated type AccessibleCoordType.
7262 Added definition for KeystrokeListener (function type).
7265 * cspi/spi-statetypes.h :
7266 * cspi/spi-roletypes.h :
7268 Added these headers, used by spi.h.
7270 Added code (NOTE: not yet built by make).
7272 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7274 * libspi/Makefile.am: generate imodule
7275 at the same time as other idl compiler
7278 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7279 * libspi/registry.c :
7280 * libspi/application.c :
7281 * idl/Application.idl :
7282 Made registration with toolkit an application method,
7283 which is required since each app has its own toolkit static
7284 environment. Thus the bridge must register for
7285 notification of toolkit events from each application in turn.
7286 Toolkit notifications are now successfully registered for, and
7287 sent to the listening at client.
7289 Changed toolkit event string to use hyphens rather than underscores.
7290 * libspi/listener.c :
7291 listner now gives more info in debug mode - it reports the
7292 name of the event received, as well as the name of the source.
7295 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7297 * libspi/registry.c :
7298 added more implementation for toolkit events.
7299 Fixed bug such that toolkit event registrations
7300 (via atk) use the whole event name string, not
7302 Removed a useless call to an ORBit_ method.
7303 * at-bridge/bridge.c :
7304 Removed unused local sbuf[] variable.
7306 We now register for Gtk:GtkWidget:button_press_event
7307 events as well as "focus:" events.
7309 Add some more API from Registry.idl that was missing,
7310 for keystroke listening, keystroke and mouse event
7311 synthesis, and enumeration of accessible desktops.
7313 2001-08-16 Michael Meeks <michael@ximian.com>
7315 * configure.in: use AM_GLIB_GNU_GETTEXT.
7317 * Makefile.am (SUBDIRS): kill intl.
7319 2001-08-15 Michael Meeks <michael@ximian.com>
7321 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7323 * configure.in: upd.
7325 * configure.in: depend on a recent bonobo-activation that
7326 will find our server files ...
7328 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7330 * libspi/accessible.c : accessible_new() :
7331 Now we add the Component interface via bonobo_object_add_interface,
7332 if the contained AtkObject implements AtkComponent.
7333 * libspi/accessible.h : now include "component.h"
7334 * libspi/component.h :
7335 * libspi/component.c : added files - implementation of
7336 bonobo wrapper object for Accessibility/Component
7337 * libspi/listener.c :
7338 Added test code to check for Accessibility/Component:1.0
7339 interface and report whether it is implemented by the
7341 * libspi/registry.c :
7342 Now we check for not only the hash of the whole event
7343 string before relaying the event, we also check the
7344 "minor" event string (without the detail string).
7345 This allows event listeners to be registered against
7346 all events of a certain major+minor type, or just
7347 against a specific major+minor+detail type.
7348 * libspi/accessible.c :
7349 Added implementations for Accessible:get_parent(),
7350 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7351 * libspi/registry.c :
7352 * libspi/listener.c :
7353 Replaced calls to Accessibility_Accessible_ref() and
7354 Accessibility_Accessible_unref() with
7355 calls to bonobo_object_dup_ref() and
7356 bonobo_object_release_unref(), so that the CORBA object
7357 is dup-ed and released when relayed, as well as the bonobo object.
7359 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7361 * libspi/Makefile.am,
7362 registryd/Makefile.am,
7363 at-bridge/Makefile.am.
7364 test/Makefile.am, configure.in:
7365 reverse previous changes.
7367 * /idl/Image.idl: fix typo.
7369 * test/Makefile.am: put DEBUG_FLAGS
7372 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7374 * test/app.c: use argv[0] instead of
7377 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7379 * libspi/Makefile.am,
7380 registryd/Makefile.am,
7381 at-bridge/Makefile.am.
7382 test/Makefile.am, configure.in:
7383 cleanup, replace individual LIBS/CFLAGS with
7384 AT_COMMON_{LIBS|CFLAGS}.
7388 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7390 * configure.in, libspi/Makefile.am:
7391 Change IDL path checking for bonobo-activation
7394 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7396 * registryd/registry.c : separated event listeners to use
7397 3 separate lists (focus, window, toolkit). Began testing
7398 event names against hashes before relaying events.
7399 * test/at.c : now register for events of type "focus:"
7400 * test/app.c : now generate events of type "focus:"
7401 * at-bridge/bridge.c : register with ATK for focus events,
7402 and we now relay those focus events to any "focus:" listeners.
7403 This now works with the bridge as a GTK_MODULE when running test/at.
7404 * libspi/registry.c :
7405 * libspi/listener.c :
7406 now we ref event sources before propagating, and unref on receipt.
7407 * libspi/registry.c :
7408 some changes to internal structs, to support event typestring hashes.
7409 * text/app.c : changed the way the appname is generated.
7410 * cspi : added directory that will hold the C bindings library for
7411 non-CORBA/bonobo-savvy clients.
7412 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7413 * idl/Component.idl : added in parameter to indicate coord system for
7414 geometry-related calls.
7415 * idl/Hyperlink.idl : added readonly n_links attribute
7416 * idl/Image.idl : changed methods to attributes.
7418 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7420 * at-bridge/Makefile.am: link against
7421 ../libspi/libspi.la instead of -lspi.
7423 * at-spi/test/app.c: include
7424 bonobo-activation.h. Use a default appname
7425 if one is not provided.
7427 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7429 * idl/Registry.idl : temporarily changed register_Application
7430 to oneway, to work around issue with initial registration
7432 * idl/Application.idl : changed attribute "id" from readonly
7433 to read-write, since it needs to be assigned by Registry.
7434 * registryd/registryd.c : added call to set application id
7436 * registryd/registry.c : changed de-registration procedure to
7437 use CORBA_Object_hash() to find matching object ref in application
7438 lists and listener lists.
7439 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7440 began distinguishing between event types (work in progress).
7442 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7445 * libspi/application.c:
7446 Added implementations for get/set id, get_toolkitName,
7448 * registryd/registryd.c :
7452 Converted from use of OAF to bonobo-activation.
7453 * libspi/desktop.h :
7454 * libspi/desktop.c :
7456 Removed references to atksimpleobject, since base atkobject
7457 implementation now provides functionality we need.
7458 * libspi/atksimpleobject.c :
7459 * libspi/atksimpleobject.h :
7464 * at-bridge/Makefile.am
7465 * at-bridge/bridge.c
7468 Added directory "bridge" and contents, and added dependencies
7469 in Makefile.am/configure.in.
7470 Initial checkin of "at-bridge".
7471 This code is a GTK_MODULE which automatically registers
7472 GTK+ apps with the accessibility registry, using an object
7473 reference to the root ATK object.
7475 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7477 * po/Makefile.in.in: Remove. Again. If this
7478 doesn't get autogenerated - you need to update
7481 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7483 * po/Makefile.in.in: Add. Again.
7485 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7487 * libspi/accessible.c : added support for 'description' property.
7488 * libspi/accessible.c
7490 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7491 (since the two are now equivalent in libbonobo)
7499 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7500 Bonobo::Unknown as does Accessibility::Accessible.
7501 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7502 interface with Bonobo::Stream, since it was redundant with it.
7503 (The Stream returned by a StreamableContext object is expected to
7504 implement only a subset of Bonobo::Stream)
7506 2001-07-28 Anders Carlsson <andersca@gnome.org>
7508 * libspi/accessible.c (accessible_object_finalize): Change
7509 g_free to g_object_unref since the AtkObject is a GObject.
7511 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7513 * idl/Accessibility.idl: add new IDL files
7516 * idl/Action.idl: Definitions of actionable UI object
7517 * idl/Component.idl: Definitions of UI component geometry, etc.
7518 * idl/Hyperlink.idl: Defs of hyperlink behavior
7519 * idl/Image.idl: Def of accessible image
7520 * idl/Selection.idl: Definition of UI object with selectable children
7521 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7522 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7523 * idl/Text.idl: Interface defs for UI elements with complex textual content
7524 * idl/Value.idl: Definition of UI element that is a value controller or display
7526 2001-07-27 Michael Meeks <michael@ximian.com>
7528 * po/Makefile.in.in: remove autogenerated file from CVS.
7530 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7533 * idl/Registry.idl: include guard.
7535 * idl/Accessibility.idl: Add, and include all the other IDL
7538 * idl/*.idl: remove mass of pragmas etc.
7540 2001-07-26 Michael Meeks <michael@ximian.com>
7542 * registryd/Makefile.am (registryd_SOURCES): remove
7545 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7547 * libspi/.cvsignore, registryd/.cvsignore,
7548 test/.cvsignore: updated.
7550 * po/Makefile.in.in: gettext update.
7552 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7554 * initial CVS checkin
7556 2001-06-29 Michael Meeks <michael@ximian.com>
7558 * configure.in: add AM_CONFIG_HEADER to gen config.h